The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
It isn't as bad as you think.
You have been eating facon and this is facon news.
During my life I have seen food quality being rapidly degraded.
Mostly this has happened via;
1. Genetics. Breeding animals that grow faster and put on the most bulk. No attention to quality or flavour.
2. Developing Cheap production methods and growing factory's like feed lots and battery hen systems.
3. Using food technology to process foods for consumption.
In general the better life that an animal has then the better it tastes.
It is a simple if clause really.
Compare pasture bred Chicken, Beef or Lamb with battery or feed lot produced product.
Let alone the health risks with feed lot and battery, the pasture bred product is so superior in taste.
Like wise the best bacon comes from the happiest pigs, with regards to the actual baconator.
I had a job a few years ago which was to plan and organise software driven systems to protect the assets of a large chicken farm that was really many chicken farms. They had issues with their battery hens where disease could wipe out generations. So when the laws changed to allow what was called free range as well as battery production they became really interested. Of course they always had a genetic pool of chooks ( Chickens) who lived a long distance away from the farms. This was the genetic bank of insurance.
When I went to look at their free range facilitys I was shocked.
It complied to the laws.
But it was just a really large shed. Really bloody large.
With thousands of them in there.
It got so hot with all of them in there that they had to have an enormous evaporation cooling system else they would all perish in minutes.
If the power failed then that was it.
Also these free range chickens were neurotic and if there was a huge clap of thunder, then hundreds would drop dead at the shock.
This is not normal chicken behaviour.
Pasture bred chickens lay eggs that are heaps better than the "Ruled" free range ones or the battery ones.
They taste like a game fowl and the stock that you can make is amazing.
So don't despair.
With these small changes, the bacon should taste better.
.....and if they did it all better than those new laws, then it will taste even more amazing.
Have you ever had bacon from a slow growing Pig that was prepared by an old fashioned bacon smoker?
It costs more but OMG.
Also that Company also had piggeries.
They were like Covid-19 wards.
If you wanted to go inside every one in had to wash up and dip their feet into disinfectant and put on the little booties.
The good bacon porkers in the past never required such rules.
And their bacon was the best.
I do love my bacon.
I am often disappointed with what is on offer now.
But if you look, there is superior product available now.
So It probably less sh*t bacon.
But there are still a lot of people that can't afford less sh*t bacon and that is an issue.
It will even out though.
"Rock journalism is people who can't write interviewing people who can't talk for people who can't read." Frank Zappa 1980
I'm here for lab grown/3d printed bacon. I'd eat that if they could make it not taste like band aids (*sideeyes* "turkey bacon")
I don't mind eating meat - I didn't claw my way to the top of the food chain to be a vegetarian, but...
1. I do understand in the face of 8+ billion people that this is a very real problem.
2. I don't like eating things that aren't stupid. Stupid is food with legs. Chickens. Pigs on the other hand, are smart - I think they can contemplate future suffering, for example. I wonder what ever possessed an animal so intelligent to be so tasty. It's a tragedy.
3. As long as I can get bacon I probably will as my lack of impulse control where bacon is concerned is legendary.
Presumably it's to make it absolutely obvious that you wanted the app to crash when it was null!
"Nope, this wasn't no accident. I hate my users."
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
Avoid using the !! assertion in Kotlin - it is generally not recommended because you are bypassing the compiler safety rules.
From the compiler's point of view, if something is nullable - even if you know it currently is not null - you need to cover for the possibility that it may be null when it is referenced.
What is recommended is something like this:
do something with foo
This tells the compiler that when foo(which is nullable) is not null you want to "do something with foo".
...and there's lots in Kotlin that I found and still at times find difficult having come from a C# .NET background.
“That which can be asserted without evidence, can be dismissed without evidence.”
I have a header file that is just tables of possible/must/must-not break actions depending on character combinations.
This is due to Unicode Standard Annex 14 and Unicode Standard Annex 29. Presumably because the committee hadn't made things difficult enough already, they decided to turn line breaking into a Rube Goldberg contraption.
I'm sure they have reasons for all of this, and if they could corner me in a dark alley they'd explain them to me at length, but at the end of the day coding against the Unicode standards is like flossing a cat - everybody ends up unhappy and someone might be going to the emergency room.
Worse than Vogons: Humans trying to defined rules for the royal mess other humans managed to create over many years.
You can choose only supporting English. Or do Chinese - even simpler.
Once you want to support multiple languages you end up in the mess. And don't expect you can do proper line-breaks without knowing the language of the UI. A Chinese text with an English word in it (for example a company name) should use Chinese line-break rules inside the English word. I would expect you can put western languages into the same rule set (as long as you respect non-breakable space etc) without too many problems.
So you want to do a Dutch accent. I get it, it's a funny accent to make fun of. But there is one feature that Dutch doesn't have: sh everywhere. That's a rare sound in Dutch. It mainly exists English loan words, that's right, you are the ones saying sh. In actual Dutch words, there are some rare cases where an s-j combo can assimilate into the sh sound (such as the name Sjaak) but that's not a phoneme.
"But I hear you guys saying that sh sound" you might say. You're not hearing it. What you're hearing is a retracted s, which has a lower pitch, but it doesn't really have that "shushing" sound of an sh. It's not produced by blowing air between the tongue and the roof of the mouth, so it's not an sh. Only the tip of the tongue should go up, near the alveolar ridge. Go practice, or use a regular plain old English s, but sh sounds extremely non-Dutch.