

Call the function from the if block.
Now your tests can more easily call it.
I think at my last job we did argument parsing in the if block, and passed stuff into the main function.
Call the function from the if block.
Now your tests can more easily call it.
I think at my last job we did argument parsing in the if block, and passed stuff into the main function.
no different than taking a bunch of books you bought second-hand and throwing them into a blender.
They didn’t buy the books. They took them without permission.
I just tried “Language Drops” and it was… interesting. It didn’t place me at the right level, so I got a very beginner lesson when I’m closer to intermediate (but definitely not fluent). I’m not sure I liked matching the pictures- the picture for “thank you” could mean different things depending on how you interpret the person’s face and body language- and then I hit the end of the free content for the day. It didn’t get to different tenses or even whole sentences- just basic vocabulary and no verbs. Maybe it ramps up quickly?
I guess it’s like the difference between a parasite that doesn’t kill the host, and one that does. The current breed looks like it’s going to kill the host.
I canceled my subscription. In part because fuck using AI to hurt labor, but also unemployment. Capitalists want us to spend spend spend, but they don’t want to give us any money to spend.
Anyone entering through web development. If you’re self taught or did a “coding boot camp”, it might be the only language you’ve used. A lot of places use it for backend stuff now, too
I saw that one too and thought similarly!
I don’t know about “fine”. It has a lot of weird stuff baked in. Hoisting. Unexpected type coercion. Too many ways to loop over something and I always forget which one is which. “There’s more than one way to do it” is kind of a recurring problem, come to think of it. Several function declaration syntaxes. Dot notation AND bracket notation for objects.
Also it will forever bother me that object keys aren’t quoted.
const foo = "hello";
const bar = { foo: "world" }
That should be, in my mind, { "hello": "world" }
. It’s not. It’s { "foo": "world" }
But if you want to do that, you need to do const bar = { [foo]: world }
. Which looks like your key is an array with one entry, a string with a value of “foo”
You also end up learning a whole framework, with its syntax and idioms, every couple years. Angular. React. Redux. Whatever.
There’s also a lot of people who have never used anything else, and want to use javascript for everything.
Javascript is basically D&D. Wildly popular. Full of legacy jank. People try to use it for anything even though there are better or more specialized tools.
Well, if you want to have a conversation go ahead and read the rest of the post. Otherwise you’re just kind of jerking yourself off
At the very least form unions. That will help with stuff like wage theft, some people getting underpaid, BS firings, etc.
More aggressively, maybe some sort of collective ownership. Not this “options” bullshit where they never even vest for most people. The whole thing where management pays you $100 and sells what you made for $3000 needs to go. That $3000 needs to be more fairly shared among the people that made it happen.
But I don’t really know. I’m just some guy with entry level knowledge and a sense that the current system is wrong.
They could live more modest lives in more rural areas
Living in a rural area for many people is literal hell, on top of having an array of less obvious costs. The big one is going from not needing a car to needing one. Your rent might drop $500 but you need to spend a lot on gas, insurance, maintenance, etc.
Also the social options might fall off a cliff. Humans are social creatures. I live in a city and I can walk to dozens of social activities, many of them free. Board game meetups, free music in the park, free museums with tours, free sport leagues, etc. Out in the countryside there just aren’t as many options.
If you’re queer or another minority, you might also have a worse time in the countryside. Maybe even fatally. A city is going to have a queer scene.
Also, there are likely more jobs in the city. Remote work and economic upheaval have changed things, but even so, most of those offices in Manhattan are full of jobs. There’s just more stuff where there’s more people.
Now, to your point, some people are certainly living in a $5900/mo apartment with a doorman and in-building gym that they can’t afford. They could move to a less “nice” place in south Brooklyn or Queens for less than half that, likely at the cost of a longer commute, and losing easy access to a neighborhood they feel a part of. There is a housing crisis though, and people are getting priced further away. That’s probably not going to be solved any time soon because capitalism doesn’t care and will happily eat itself.
Anyway. Long tangent but I’m extremely pro city so I spoke up.
I keep hoping this will spark some sort of anti-capitalist zeitgeist. But labor might be too scattered and individualistic.
Like, why are we all scrambling for a handful of jobs when the rich have so many resources?
Reminds me of my first big success at work. There was a weekly report that people wanted generated - it showed how much like each operator had done, how much each warehouse had shipped, how many orders we lost from stock issues, etc. it was a low tech company, so they had someone going through the limited UI, looking up each thing one at a time, copying it into excel, and making the report that way. It took hours, and was error prone from stuff like mis-pasting or accidentally skipping a user.
Took a look at it and was like you could definitely automate this. Used some very primitive scripting to pull all the info out of the system’s UI and dump it into a TSV. Took like a couple minutes to run it, import into excel, and add the colors. But it was super janky because it was manipulating the UI like a user instead of, like, directly querying whatever underlying data store it was running on.
Still, management was impressed. I later learned no one actually looked at the report most weeks, so that took some of the wind out of my sails.
This is an ancient joke but they replaced the original pigeon with a blue thing instead. :confused:
Another reason I feel good about buying albums.
There are a small subset of people who legitimately just don’t understand game development fundamentals though, and they actually believe that things would just be fully interchangeable. As in, you buy a skin in Fortnite, and you can then open up Roblox and set it as your player model.
Those ones are especially not the brightest.
The people who are like “you can just take your skin from Skyrim and put it in gta5 and it’ll just work!!” people really are baffling. The hubris and ignorance is so much
I really want people to roll up on the factory, shoot the management, and then shut it down.
This shit is a crime against the environment and humanity.
On the one hand: Good. Google is a monopoly and they suck, too.
On the other, I don’t trust the trump administration to do anything correctly. They’ll probably try to give google to Musk or something.
Maybe the design is bad, then.
Ed Zitron wrote an article about how leadership is business idiots. They don’t know the products or users but they make decisions and get paid. Long, like everything he writes, but interesting
https://www.wheresyoured.at/the-era-of-the-business-idiot/