If I had the willpower or time to go through a multi-thousand line (not including the html templates) legacy Angular 6 codebase where almost every property is typed ‘any’ then I assure you I would have, it’s driving me insane 🙃, also why I prefer backend
The boy scout technique: fix your types when you're working on a bug or a feature, one file at a time. Also try to use unknown instead of any for more sensitive parts, it will force you to typecheck.
The fuck the lemons technique: resign and seek an employer that didn’t fail at the most basic level of engineering management and development culture for years and years — because life is short and we’re all running out of time… always.
When life hands you lemons, just say fuck the lemons and bail
I kinda feel your pain. A project that I helped launch is written in Typescript technically, but the actual on-the-ground developers were averse to using type safety, so any is used everywhere. So, it becomes worst of both worlds, and the code is a mess (I don’t have authority in the project anymore, and wouldn’t touch it even if I could).
I’m also annoyed at some level because some of the devs are pretty junior, and I fear they are going to go forward thinking Typescript or type safety in general is bad, which hurts my type-safety-loving-soul
In theory I’m a fan of the inferred but static typing systems that most modern languages use (kotlin, rust, TS, etc.) where most local variable types can be inferred and only return types/object fields/parameters need explicit types.
I just despise typescript because it feels more like someone put a bandaid over JavaScript and all of its oddities instead of making a properly fleshed out language, and allowing the option for an ‘any’ type to be used freely by default emphasizes that.
Based on your description it sounds like you haven’t given it a fair shake. I’ll take TS over JS any day, at least there is room for improvement. I will say however I personally haven’t been unlucky enough to run into projects that abuse the any type. The worst I’ve run into is a JS library with no typings I have to manually type.
I imagine what they mean is e.g. that TypeScript can tell you something is a Date, but it doesn’t attempt to fix some of the confusing, quirky behaviour with that: developer.mozilla.org/en-US/docs/Web/…/Date#inter…
So, yes, it’s generally better than JS, but it doesn’t actually make it good/attractive, if you’re used to the sanity of backend languages. It very much feels like lipstick on a pig.
Exactly this. I’d rather use TypeScript than regular JS, but I enjoy using almost any other statically-typed language more (except maybe C++) because TS has the potential to be just as bad as JS for codebases where it isn’t being used correctly (this is true for other languages as well but it’s usually a lot more obvious).
Not that it isn’t possible to have good typescript code, but rather that code becomes a lot harder to maintain because of problems that could’ve been prevented at a language level (truthy/falsey logic, ‘any’ type being allowed by default rather than ‘unknown,’ etc)
Not familiar with the laws of California but I think the spirit of the post is that the cops will be on your ass immediately and you will be put in jail if you walk with $100.
If your boss steals $100 from you it then becomes a matter for the courts before anyone in the company faces even the slightest threat of jail.
I’d add Wilhoit’s Law: “Conservatism consists of exactly one proposition, to wit: There must be in-groups whom the law protects but does not bind, alongside out-groups whom the law binds but does not protect”
But I’d adjust: “North American Democracy consists of exactly one proposition, to wit: There must be in-groups (the rich) whom the law protects but does not bind, alongside out-groups (workers) whom the law binds but does not protect
It’s not perfectly fine, but they’re weighing it against Wage Theft, which outweighs
No, it’s not okay to just steal from the till, but the point is the business owner can call the cops on us if we do that, which results in our immediate arrest, yet conversely if they steal from our paychecks we have to take them to small claims court and we better have the receipts to prove it, and usually (except maybe places like California) all the business has to do is… pay back what they owe you. Nothing for damages or lost opportunities due to having less money. Nope, just pay back what they already owed you to begin with. What a joke of a slap on the wrist.
Theft is theft, should be the same penalties for either side and business owners shouldn’t get such free range to fuck over people with no consequences. Some of us would just like to see an equal playing field where wage theft meant I could call the fucking cops and have the asshat who stole my fucking legally owed money arrested.
Crime is ABSOLUTELY a social construct. Why was it legal several months ago to have an abortion across the US but now several states are criminalizing the same? Have abortions changed? No - politics did, I would argue spurred on by the desire for capitalists to keep a steady supply of low wage uneducated exploitable desperate workers.
Why is it suddenly criminal in the state of Georgia to give food and water to people lining up at polling stations? Because one class wants to make it uncomfortable and inconvenient for another class, and I would argue race, of people to vote.
At the time, I was writing a book about the politics of drug prohibition. I started to ask Ehrlichman a series of earnest, wonky questions that he impatiently waved away. “You want to know what this was really all about?” he asked with the bluntness of a man who, after public disgrace and a stretch in federal prison, had little left to protect. “The Nixon campaign in 1968, and the Nixon White House after that, had two enemies: the antiwar left and black people. You understand what I’m saying? We knew we couldn’t make it illegal to be either against the war or black, but by getting the public to associate the hippies with marijuana and blacks with heroin, and then criminalizing both heavily, we could disrupt those communities. We could arrest their leaders, raid their homes, break up their meetings, and vilify them night after night on the evening news. Did we know we were lying about the drugs? Of course we did.”
Same as it ever was - criminalizing social classes to disempower them is the name of the game. If you aren’t wise to this you haven’t been paying attention.
Adding - it’s illegal in Japan for me to possess and consume cannabis but perfectly legal in Canada for me to do the same.
It would be illegal for me to walk around in certain countries without a headscarf, how is that not a social law?
It’s illegal in Russia to speak against the war, and people have been imprisoned for the softest infractions of this. In North America I have free speech in this regard.
No no no! Let me continue to be obtuse, a felony against an LLC ( like, ohhhhh, I dunno this little mom and pop startup) is a damning life ending thing that will forever alter the trajectory of the poor business owner’s life and livelihood. They could’ve had a bright future, free to do anything, go anywhere, hell even go to the stars all of that jeapordized by one measly little honest mistake of an accounting error that was multiplied thousands of times across the workforce spanning years summing entire lifetimes of earnings . Surely you can’t mean that they would be held to no recourse while the overly empowered and emboldened working class holds it’s jack boot stranglehold on poor honest golden parachute equipped hedge fund daddies who raised money from their well to do friends and family to buy a house outright for the optics of starting out of a garage with nothing…
Not familiar with the laws of California but I think the spirit of the post is that the cops will be on your ass immediately and you will be put in jail if you walk with $100.
If your boss steals $100 from you it then becomes a matter for the courts before anyone in the company faces even the slightest threat of jail.
Because one of these things is stealing a possession, and one of these things is failing to pay a debt. And.we generally don’t jail people for failing to pay debts, at least not immediately. And that’s a good thing to, otherwise the poor would be getting jailed all the time.
Does anyone really go to jail for wage theft though? Especially at the same severity that walking out with $100 till bucks would?
From my perspective, it seems like the boss gets a slap on the wrist the first time, while the worker gets fired and carted off to jail the first time.
I think that’s the point of this meme, but there are some nuances involved (aka why does the law treat these people differently? I think there may be a reason having to do with intent here, but that is discussion outside of the scope of what this meme is getting at.)
The harm from wage theft is generally worse, as the employee is much more likely to be negatively impacted from missing that $100 than the employer is.
To call something a social construct doesn’t diminish the impact of that thing. Race is a social construct as well, and that too has very real impacts on people. Much of what humans interact with on a daily basis are social constructs. That doesn’t make those things meaningless or trivial.
Marriage is a social construct, but that doesn’t mean I can go around acting like I’m single without consequence.
THEN TAKE THE UNIVERSE AND GRIND IT DOWN TO THE FINEST POWDER AND SIEVE IT THROUGH THE FINEST SIEVE AND THEN SHOW ME ONE ATOM OF [LAW], ONE MOLECULE OF [CRIME]…
If I steal the equivalent of $100 from a store, they will call the police, the police will apprehend me, take back the $100, and give me a fine. If the robbery seems to be professional, then it could also result in jail time up to 1 year and 6 months.
If my employer shorts my paycheck by the equivalent of $100, then I contact my union. The union contacts the company and tells the company to pay me within a week or two. If the company doesn’t pay me within the deadline, the union will declare the company bankrupt, and the bankruptcy proceedings start by liquidating the company and paying me my missing wages along with the guaranteed pay that relates to being fired, which depends on how long I have been employed. (1 month pay if I have been employed less than 6 months, 3 months pay if employed 6 months to 3 years, 4 months pay if employed for 3 to 6 years, 5 months pay if employed 6 to 9 years, and 6 months pay if employed more than 9 years.)
Even in this situation it’s uneven. If the company pays you the right amount within a couple weeks, nothing happens. It’s as if they never shorted you.
If you take the money from the company, you - at least - pay an additional fine. And/or go to prison. The company doesn’t have either consequence for attempting to steal from you.
I’m not entirely sure… At the very least you would be able to immediately collect unemployment (~12.000 DKK if you don’t have kids, ~16.000 DKK if you have kids), and if you’re in an “a-kasse” you would be able to collect up to 90% of your old salary.
I’m pretty sure thought, that anyone who ran away with the bank account would pretty much have to leave the country, as otherwise they would be apprehended by police, personal belongings would be repossessed, and they would not be allowed to start a new business.
currently, storage space is significantly cheaper than all the cpu power needed to generate the images from a text description. also, what if you actually wanted to view the backgroud of the object? and where’s the advantage besides an at best 40 % increased storage space edficiency? after all, people are taking pictures to actually capture the moment. else they would do voice memos all the time.
As a way to store information it’s really overly complicated and comes with all the downsides of human memory.
As a way to explain how imperfect human memory is or as a way to add deliberate “memory” decay to an artificial intelligence however it could be useful.
Imo video sizes will eventually plateau, there is only so much resolution people actually need. There is so little difference from a distance. From 5m I can’t really tell much difference between 4K and 1080p content on a 50 inch tv. Not to mention resolutions above that
That makes even less sense, the CPU/GPU usage would be insane, and if used in large scale, would quickly get up there with crypto mining in terms of energy use, and that is already a big problem for the environment.
Storage of large files on the other hand needs relatively little energy to keep on a harddrive.
Video file sizes are actually getting smaller all the time, but when filming we don’t save a neatly compressed video file. On-the-fly compression and encoding would help a ton in reducing camera video files, but is very expensive at the moment CPU-wise.
Are they? Video compresses really well these days. How does replacing real footage with generated content that cannot be accurate better than accurate video?
after all, people are taking pictures to actually capture the moment
Depending on what you mean by “the moment”, I don’t think that’s really true. Modern cell phone photography doesn’t really give you what the sensors have picked up. You take a picture of your friend with his eyes closed and the phone will change the picture to have his eyes open. You take a blurry picture of the moon and your phone will enhance it to make a better picture of the moon. I mean some people hate it but a lot people do actually like it.
And they like it because they don’t really take pictures for the purpose of posterity. They don’t take a picture of their friend because they need to look back 20 years from now and remember exactly how that one plastic bag 30m in the distance was crumpled. They take the picture because they want to post to Instagram, get some likes from their friends, and maybe look back 20 years from now to remember the general vibe, and if their phone can “enhance” that for them.
If people could record a voice memo and have their phone actually make a really decent Instagram post out of it for them, I 1000% believe people would do it instead of taking an actual picture. Posting pictures is more about socializing than it is about posterity.
People who complain that Lemmy is full of tankies have never seen the comment section of a meme making fun of landlords. I’m convinced Lemmy is actually full of landlords.
If not, try searching for “Landlord Party In Berkeley Ends In Fights” and then scroll to the negative comments. In my search, it seems like the landlord supporters have gotten quiet recently. Probably because they were downvoted so much lol
There aren’t any. The ones they linked below have maybe 2 out of 70+ comments defending them. I can’t tell if ImplyingImplicatior and ObviouslyNotBananas are dumb as bricks or being sarcastic.
Now many many years ago when I was 23 I was renting from a landlady who was pretty as can be This landlady had a grown up daughter, had hair of red My roommate fell in love with her and soon the two rented This made my roommate my landlord-in-law and changed my very life … I’m my own landchad
Most instance admins ban porn for legal reasons. You need to find an instance that allows porn. Lemmynsfw.com is a porn instance (and the home instance of the person I replied to). Note that you also need to be logged into a lemmy account that has the “view nsfw” option enabled in the lemmy user settings. If you’re not logged in, or that setting is set to hide nsfw, no posts will show. I find it easier to just create a separate account on a porn instance rather than try and join from your home instance, which might have settings making it difficult to see anything.
Where tho? Everyone is clearly taking the piss out of the meme and pretending to agree with it. Nobody is actually out there tipping their landlord(well, I sure fucking hope not at least…).
Both tankies and landlords find that being a part time dog walker is an acceptable day job. The difference is that the tankies live in their parent’s basement instead of working and the landlord lets other people live in his basement instead of working.
It happens to me on voyager. OP didn’t mention but I think they’re specifically referring to videos with vertical height larger than the screen. The video starts playing as you scroll and when the video is playing, I assume any touch gesture on the video is interpreted as video controls so you’re essentially stuck there without being able to scroll. Only way out is to kill the app and relaunch. Maybe it’s specific to iOS. It’s happening to me on iPhone 13 mini.
Basically, they just raised their prices by 18% and blamed it on the greedy, useless employees. I don’t know why businesses bother selflessly “creating jobs” if they are so much trouble. Shouldn’t those be the first things to cut to make their business more efficient under capitalism? Stop doing charity work and run the business yourself.
Basically, they just raised their prices by 18% and blamed it on the greedy, useless employees.
No, it’s worse than that.
Look at how the tips are calculated. They use the base bill of 95.60, not the bill after the service charge has been applied.
If they rolled an 18% increase into their prices, the calculated tip would also rise 18%. But it didn’t.
So in addition to effectively raising their prices and blaming their employees for it, they are also stiffing their employees by low-balling their tip calculations.
Actually, what I’m saying was that there shouldn’t be a need for a tip at all. That 18% service charge is for services rendered outside of the production of the product, meaning the server, cashier, etc. In most countries that’s rolled into the cost of the product, not a separate charge. In the US, that’s paid for through tips instead. What they’re doing is trying to double dip. They want to keep the money that normally would go to paying the service staff a wage without raising advertised prices and also have a separate tip to actually pay them.
This is a classic bait and switch where advertised price is not what you actually pay. Doesn’t matter if they put a little sign to cover their legal obligations, it’s still disingenuous to advertise one price and charge another. Tipping and taxes are common knowledge in the US as being added on after, but a service charge in addition to tipping is not and most people will assume that the service charge is a tip and won’t also tip whereas it doesn’t go directly to the service staff like a tip does. So likely in this place, the service staff just gets their $2.13/hr or whatever the tipped minimum is there, and a few dollars here and there in actual tips but doesn’t get any of that 18% unless tips don’t cover the required hourly $5.12 tip credit.
So they need to choose. Raise your prices for more profit and keep tipping, raise your prices to pay your service staff and do away with tipping, or keep your prices lower and risk tipping not covering the minimum wage tip credit.
I would simply not go to that restaurant anymore and very plainly let them know why. This is greed and I will not reward it.
Much like when I place a to go order and go pick up the order and the POS (point of sale not piece of shit if you’re wondering) system pops up that tip screen. You didn’t do anything worthy of a tip so I will not be tipping you. Now if for example when I get there they apply some discount I wasn’t aware of that makes my bill cheaper, I’ll tip for that. Throw in some extra cheese sauce, tip. Anything above and beyond, tip. Just ring me up and hand me my food, yeah no tip.
You realize that giving you 5% off so you will tip 15% is still greed though right? The greed is always there, it’s just your perception of how it’s delivered. We expect a little foreplay with our greed.
It’s this (the service charge) or they raise prices across the menu. Some people prefer this, some people prefer the added cost baked in.
Personally I think the service charge is a little deceptive because you are hit with an unexpected expense at the end of your meal. Even if they’re very up front about the charge most people won’t be automatically calculating the 18% extra on whatever they’re spending, they’re just going to look at the price on the menu.
They have raise prices across the menu, by 18% to be more specific.
Segregating the price increase as “service fee” is only so that they can deceitfully advertise their prices a lower than they really are, a form of Consumer Fraud (I believe this one is a form of Bait & Switch)
Not quite. A $100 meal would have a routine 15%, $15 tip. Increase the price 18%, and a $118 meal would have an expected 15%, $17.70 tip.
Look at the tip calculations on this receipt: they are based on the price of the meal before the service fee. If this restaurant sold a $118 meal, it’s expected 15% tip would be $15, not $17.70.
They are stealing $2.70 from staff on every $100 check.
There’s always that one hole where you have to hit the ball hard enough so it goes around the vertical loop ramp but not too hard so that it then bounces at the right angle to get anywhere near the area of the hole that’s blocked by a whole bunch of strategically placed pieces of wood.
Most of the times I played it, my group is enjoying themselves on holes 1-5, is getting tired of being held up by the group in front of us for holes 6-12, and is getting noticeably bored by hole 13, but feel like we have to finish it. It’s a game that starts fun and becomes obligation.
What it does is eliminate and prevent most causes of human unhappiness, and practically all unhappiness based in meeting basic human needs.
And I’m sorry, but daddy not being proud of you or mommy dying young when you have means doesn’t equate to the misery of rooting through a dumpster out of hunger or having a pig kick you out of an underpass into the rain to die of exposure.
I think this assumes there is some universal scale for suffering though – Like, if you aren’t physically tortured (or whatever you think worse suffering than you’ve had would be) does that mean you suffer internally less than those that have?
I feel it’s more some internal scale created on your experiences. I wonder if there’s any studies on people suffering objectively vs subjectively.
Yes it does. I would be extremely happy if I owned 100 acres of land, owned an indoor pool, hot tub, insert whatever thing you want. Seems to me like money would LITERALLY buy me happiness.
I own a nice house with a big garden and a decent car. And whilst I’m happy that I don’t have to spend money on subsidising a landlord or have to rely on public transport it’s not the owning of the assets that bring me joy within itself.
I’m at the point where a bigger house or a better car would absolutely not make me happier, they might be nice, but that’s it.
Money only brings happiness as much as it can reduce the causes of stress in your life. Thinking “when I can buy that, I’ll finally be happy” is a dangerous mindset, because unless you’re Elon Musk or Jeff Bezos, there’s always going to be someone that has bigger and better things than you.
Having what you want is nice, but it doesn’t replace connection.
I say, this as someone who can’t afford what they want and sometimes even need. Having enough money is the hardest checkbox to happiness, but material possession alone isn’t the only ingredient unless you’re truly a clinical sociopath.
You know your life has gone to shit when you have to finance a pizza.
But most importantly, whichever corporate honchos thought preying on the ultra-poor was a decent thing to do and authorized this scheme should know they’re worthless human beings.
Probably related to the high prices of delivery services. Maybe people wouldn’t think about financing a pizza if the cost wasn’t tripled by delivery.
I don’t use any delivery service, and I can drive 5 minutes over to Little Caesar’s and get a pizza for about $6, or I can go to Pizza Hut and pick up a better pizza for about $10. But I hear that other people pay vastly higher prices for their unhealthy fast food when they use delivery services.
My wife and I were talking about this earlier. Boomers who managed to save cash were able to put that money into fixed income assets at incredibly high interest rates during the eighties. A 5 year CD in 1984 paid 12%, at renewal in 1989 it was, 9%, then 6.5% at the next renewal in 1994. In 1999 rates started their race to the bottom but stocks skyrocketed. So if you amassed cash in the eighties and nineties through fixed income, you had a great position to capitalize on the dot com boom, buy cheap during its crash, buy cheap real estate after the 2008 financial crash, capitalize on the market rebound, etc. All mostly for free because of timing.
All easy decisions, in hindsight. In reality quite a few missed out completely on all of those or lost significantly. It’s all just some sort of gambling in a casino. I’m sure in hindsight it will be clear which opportunities you missed out on in your time. The big difference is being able to save to start off with, because wages were relatively a lot higher for simple jobs than they are now.
That’s why I started by highlighting the fixed income stuff like five year CDs. I remember my mother and grandmother putting their money in those and bonds and how well it served them into retirement. Those weren’t hindsight. Back then, working families put their money in savings. Sure there were Wall Street cocaine yuppies making insane money but, at least in my household, that was just the stuff of movies.
I’m not fully disagreeing with you. I just think both aspects made a difference. Higher wages and a feasible way to save your money without having to partake in the casino was key. I look at millennials and zoomers and I see none of that. Low wages, higher cost, and the only way to save for retirement is by betting everything you’ve got on a system that’s heavily rigged against you as a retail investor. As Gen-X at least we had the chance to make our own wealth by creating an entire new industry. My younger siblings and my children would have had none of that, if I had siblings or children. /Rant
covid crash happened only a few years ago and looking back it was the opportunity of a lifetime. Of course at the time there was a very real possibility that society was collapsing and there wouldn’t be a stock market in a year or so.
Oh noes some people died! Way more people have died through covid, the ukraine&russia war, the new gaza massacre, of hunger on africa every year… It might have affected you because it happened nearby, but you are not special for having things like that happen to you.
lemmy.world
Top