skysight-inc/HackerNews huggingface dataset:
I have been hit by cyclists not stopping at a red light or riding bikes dangerously fast on the pavement too many times to have much love for them. Also, the environmental cost of providing shower facilities and water to those who think that riding a bike to work is an extension of Tour de France makes me question the environmental benefits of cycling. (I am not questioning health benefits).
I'm not sure which metric GP is referring to, but by total value of food exports they're 7th in the world. Extremely impressive for a country of only 17 million people.

[0] https://wits.worldbank.org/CountryProfile/en/Country/WLD/Yea...
I would agree that connections should be steel - I like the thick gauge, heavy duty simpson connectors, plates and column caps, etc., which allow you to lock in beams and columns with 3/4 machine bolts, etc.:

https://www.strongtie.com/boltedcolumncaps_columncaps/cct_ca...
I'm not surprised to see three industries at the top of the list where interfacing with the general public is the main part of your job. I worked in retail as a full time job for five years on my way to becoming a programmer. The verbal abuse you can receive from people on a daily basis was rough. Nearly every interaction involves putting yourself in between a company's policy and the person in front of you. You're sort of being paid to be a sacrificial lamb for the company's policies. A decade or so later I imagine it's even worse given how emotionally charged people have become due to this era of politics and how everyone is coping with lack of leisure during COVID.

I remember how nearly all of my friendships were with people I immediately worked with or who also worked in retail/restaurants and in hindsight it's obvious we were bonding over something other people couldn't relate to. Getting together typically involved a lot of alcohol.
What did he mean garbage pickup is free at home? I've always paid for garbage pickup at home
I just lived in Taiwan for about a year, and it's pretty common feeling there that TSMC is struggling "to get Americans to work hard" in Arizona. I had several folks mention it to me when TSMC came up as a topic. They're worried they'll have to start sending full teams of Taiwanese engineers over to staff the factory (in addition to those required for training & supervision).

That doesn't mean it's necessarily true -- folks in any country, in aggregate, tend to talk about themselves as harder working than their neighbors. But I think this general idea/complaint is way more prevalent than a few Glassdoor comments, even if that's where they sourced the article.

I don't know anything about semiconductors or manufacturing in general, but I do know a friend at TSMC had to buy a second apartment to sleep in because he works such long hours and didn't want the additional commute back to Taipei at night. It's also worth mentioning that -- like the SF and NYC set who maintain "work" apartments -- this guy is compensated very, very well.
The ISO certification should tell there are standards that are in place; if they are just written on a piece of paper and never implemented ("nobody ever read"), the certification is worthless.

In US if you are a black female if you apply and you can read and write, you are automatically hired. If you are a white male, you will not be even interviewed and if you are already in the company you will never get a promotion.

In my (IT) department the past 10 year history is 10 to 1 promotions for female versus male. Over 40% of the organization is female (it was over 90% male 10 years ago, there are still some men left from old times) and in management it is over 60% with the target of 70% female. Unrealistic for a pure IT company, but very achievable for a very political non-IT company.
It is not necessary for the labor and environmental laws to be such that they "can't survive a cost benefit analysis" for them to create a force pushing manufacturing towards places without those laws. Any regulation will have this effect, and the details you speak of determine the degree.
> partial in ground houses have been a thing since the 70's and had their share of problems

Yes, and if you build one, you’re almost certain to have these problems, while at the same time, tornado is almost certain to not actually hit your house.
Parsing on newlines is probably not a great fit for Lisp-syntax languages. Does the availability of LSPs make a difference? Asking as I don't know your tool.
No, there is a way to know, just not the way you want to know.
That's more nuance than most readers will apply. Especially with the popular conception of "nobody wants to work."

If you're in the "nobody wants to work anymore" camp, this headline will confirm your belief as it is easily taken as "look at how many people don't want to work!"

It's negligent reporting.
https://tecadmin.net/run-shell-script-as-systemd-service/ this?
> Just because productivity has doubled in 40 years doesn't mean that people have been twice as productive.

???
I expected something much simpler : bricks, stones, and wood. It's not like we are running low on examples of 1000+ years buildings (https://en.wikipedia.org/wiki/11th_century_in_architecture). These castles, cathedrals, farms, were built to last, so it's appropriate to use them as examples.

We can, however, apply modern technics and materials when they make sense : insulation, windows, waterways... Prefer wood, wool and steel over plastics or composite materials and you're good to go.

On a side note, I'm currently buying a house (old farm) with over 200 years old plain oak carpentry. The thing is absolutely massive and would be unimaginably expensive to build today. With the proper care, it might last another 200 years without issue. Remember, Notre-Dame de Paris used 300 years old trees cut in ~1150 for its roof -before the 2019 fire-. With the proper care it would have still be standing today. I find that to be deeply humbling.
Life? Who likes their job? I mean if I don't have to work, I'd prefer to be at the beach with a long island ice tea and a bikini model.
There has been a movement to try something like this under the buzzword "projectional editing". The idea was to edit a representation of the code and not the code itself. People and companies experimented with it but didn't get much adoption. Not sure why.

Perhaps you need to allow the developers to reach invalid states, because the editors I tried just refused entries which would result in a syntax violation. This is harder to implement though. :)
Unsurprising. Crypto millionaires retire there too. It's a tax haven thanks to not being a state -- plenty of loopholes you can leverage.
What I am curious about is why couldn't they fix it?

At one point the change was made from 6 to 3 bytes, I expect this made the on disk structure incompatible with prior versions. why were they able to make this change but unable to make a later change say from 3 to 4 bytes.

I am not as familiar with mysql but note that postgres major versions are not disk compatible with each other(you have to dump and restore). I expect this is the exact reason. you want a system where it is possible to make changes.

see also: the drama around linux abi changes vs openbsd abi changes.

To meme off of raul julia: openbsd to linux: "For you, the day your abi changed was the most important day of your life. But for us, it was Tuesday."
While I all generally think of a database being a part of full-stack, I'm not so sure that it makes sense to be a prerequisite. A database is just a tool for storing data. If all you need is in-memory data, flat file, or even no long-term data at all, I see no reason the requirement of long-lasting data to be a requirement for full-stack.

That being said, the more I keep thinking about it, the less useful the term full-stack even feels. Why is front-end + back-end + database (+ other?) the full-stack? Why not also require third-party integrations? What about the hardware? Should the definition of full-stack expand as the options do, or should it stay static at whatever it's original usage was?
> We likely would have saved tens if not hundreds of thousands of lives had we come out with a unified message asking people to not participate in high density activities (subway, etc.) because this new virus spread quickly

This is not at all what Trump was trying to do behind closed doors. He’s on tape speaking to Bob Woodward at the time about his strategy. “Play it down” was what he wanted to do.

When the Democrats made even small suggestions about needing to make stronger action, he sent his chief of staff out to accuse them of wanting to shut down the country to destroy the economy and ruin his re-election.

This is all on tape.

Yes, Trump approved the relatively weak travel ban proposed by his staff like Fauci. He then spent a month saying everything was fine and attacking anyone who warned of danger.

When a CDC official went off message on Feb 24 to suggest that disruption to public life might happen, they were immediately removed from public communication by Trump who was still in denial. https://www.businessinsider.com/cdc-official-warned-us-coron...
It's probably better to report this as "reshuffling" than quitting.

People are quitting jobs for new ones. Better pay, less legacy, new opportunities, and more autonomy.

Everyone is taking advantage of the market conditions. In the end, I think this will be a good step for humanity. More people will find their passion/calling and take risks they normally wouldn't.
I have an unproven theory that the need for more workers stems from administrative bloat. There's not enough people doing actual work in companies anymore, everyone is a thinker/staff culture change agent/product|project manager/architect/"thought leader"/"I don't touch production, I'm researching new technology".

This causes the people actually doing work to search for these positions because they're gravy compared to dealing with the schizophrenic requests of the admins, and the cycle continues.
Kazakh president’s home ablaze as protests escalate
I'm a hardcore backpacker, but one baggers can stray into religious fervor on the subject of wheeled bags. My wife won't backpack, and it has never been an issue, including on fairly off the beaten path trips in Asia. Backpack is marginally better, but the main advantage is just having one bag, regardless of type. I vehemently disagree with this assertion, "few places worth visiting are conducive to rolling a bag behind you."
I was super tempted by the GR bags a while back, but I ultimately couldn't get past the "tactical" look. Where I live, at least, tactical stuff signals a political leaning I don't share.
2022 is going to be a huge year in space
And nowadays you make more getting hired at level N+1 at another company than staying and getting promoted.
Other way around. There's a lot of energy us on the planet that isn't electrical (good examples being gas cooking, petrol, and biomass in the developing world).
>You can remove the glass sealing by saying you didn’t expect communistic politics in balancing your productivity multiplier from a professional is highly effective. This is also called the Deutsche Bank recipe.

Can you explain this in a different way because I don't understand your point and want to
> The vast majority of people got a taste of the remote life and don't want to return.

Certainly this couldn't be the case for teachers teaching remotely – they probably enjoy their 10 hour workdays where they are standing most of the time and wearing a mask.
> There should just be separate lanes/carve out for bikes.

This is highly controversial, and at best, overly simplistic. See for instance

https://www.enotrans.org/article/cycling-philosophies-collid...

"the vehicular cycling principle" – "Cyclists fare best when they act and are treated as drivers of vehicles" -- https://en.wikipedia.org/wiki/John_Forester_(cyclist)
This is a computer you have to put together yourself (if you want to choose your hardware config). It comes with a screwdriver in the box. The logo is a gear. These are not-so-subtle hints that this machine is for tinkerers.
The file can be processed with jq [https://stedolan.github.io/jq/], I had to invoke it as "jq . 133957095_NewYorkPresbyterianHospital_standardcharges_12312020_Updated07232021.json". But it should work to look up a CPT and get the cost.
> I don't get why people get so theological about logging.

> If logs bring you some sort of value, then log away.

I have been on the other side of the problem for years now. Logging has a cost. And the cost benefit is also not great. It requires a human to read it(either that or a regepx hellscape awaits you). This can be fine if you are working with a small service, but it quickly gets out of hand once scale increases.

I've had to deal with double digits(approaching triple) terabytes of logs daily. Most of the information logged was, like the author suggests, completely irrelevant. It makes it much harder to see what's actually relevant. And, for whatever was actually relevant, generally not enough context was provided (something the author also argues).

What you really have to have in production systems are metrics. That's what's going to tell you if shit is on fire and which ass is burning.

Has your app has hit a catastrophic failure and cannot continue? OOM? Sure, by all means log away. Did it have an error while trying to talk to a service? Are you retrying? Then _do not log_ until your retries (or whatever recovery mechanism) fail. Networks have become very reliable, but failures are expected and normal. Spit out metrics instead.

If you don't do this, some schmuck will have to spend their days trying to keep the logging infrastructure from falling over (Cthulhu helps you if you are on an ELK stack) while management will be complaining why noone seems to notice failures before customers do.

If you find yourself parsing logs to alert on issues, please revisit your architecture.

METRICS FIRST. Logs are a safety net and a tool for troubleshooters.
That is interesting, thanks for the submission!
Steel beams buried in the ground, no matter what they're made of, are going to rot away quite rapidly if they contact any other metal, due to galvanic corrosion. I think you'd be better off with basalt fiber reinforced concrete for anything going in the ground. It's going to be strong, and it won't rot.
DNS names are public by nature. Split horizon, private roots, private CAs etc are a sign you are trying to bend things backwards. Just don't use sensitive DNS names.
What? Perhaps in some programming languages, but catching exceptions globally in C# works just fine.
this is a really shite position to take. sure, i'm still threatening you with injury because i'm just too important to slow down or even stop for you, but try messing with the other guy!
`tail -F` is what you're looking for. No need to implement it manually with `watch`.
This weekend i watched a podgy McDonalds shift manager shout at a teenage Wagie until he cried.

The conditions are poor and the compensation isn't adequate, no wonder people are leaving their roles and the younger generations don't fancy it.
Free Material UI and React Dashboard for web developers (open-source)
Sorry if I implied those were tightly coupled. I do think they are related but more loosely than perhaps I meant, and not exclusively.

Electron improves DX for all the usually stated reasons (build once for many platforms, etc) but I do think there is a connection to the fact that a lot of developers out there are learning web tooling, and if a company wants to put out a desktop app in 2022, it's an easier (and therefore better for DX) path to use something like Electron or Tauri - where devs can use the skills they already have - than try to either upskill or hire a team that can build native apps on all your desired platforms.
That's very different from the security processor doing anything if you're not using Windows, though.

If this processor can be disabled in the BIOS, like existing TPMs typically can be, then does this matter? If Microsoft's "hardware backdoor" is only powered on when using Microsoft's OS anyway then what's the problem?

If this can't be easily turned off, then yes that's absolutely a problem. But there's no evidence that's the case, and would be a divergence from existing TPMs in that regard.
Cyclists routinely go full speed downhill and blow through stop signs without caring about pedestrians at all. At least in Seattle.
I agree on the readability. There's a TC proposal floating around for a pipeline operator. I don't think it's moved but that would be a game changer.
Sure but the reasonings don’t support the opposing claim, and that’s all that matters for this purpose. I don’t need to prove that we don’t have a built in tendency, only, that there is no proof that we do.
Most definitely is happening at business that employ the lowest wage workers.
> o the driver was waiting in stopped traffic long enough to start using his phone, then the bike guy rode up on him, then over a minute later the driver noticed,

So the driver was waiting in stopped traffic long enough to use his phone, and was so unaware of his surroundings that it took a full minute for the driver to realize he was being recorded?

If the driver took that long to notice someone next to him, imagine what else gets missed. At the /very/ least, he's the inconsiderate lout making everyone behind him wait until he wakes up to the light having changed.
The fact remains that the bargain has changed over the last 40 years, with the bulk of the benefits of technological change not reaching workers. Now it is becoming common for even well-paid jobs to move to an assumption of no annual raise.

And employers currently whining about lack of employee loyalty just make me laugh.

Fact remains, here we are. Employers do not hesitate to take ground when they have the advantage, which is usually. Use yours while you have it.
Perl was my first language in 2001. I now know 10 different languages and perl is the worst one to read and my second least favorite language I know right after php. I would rather eat my own vomit than ever use perl again.
Might be retiring early this summer, a few years ahead of schedule. The math is looking good.

Two open jobs for all you who can't find one.
Who is doing the writing?
Well, you don't have this luxury if you're SOC-2 compliant - code reviews are mandatory.
For a lot of common cases (where the returned lists from the fn are short, but the complete list is long), a combined flatMap can be optimized to be much faster than doing the functions one by one.
Because they can. And people won't do anything about it.
Looks like a recycled IP (A record)? Is 174.129.240.167 your IP?
I don't know. I, for one, am happy the USA exist as a country and Americans exist as a people.

The attitude of independence and self reliance has to do obviously with low population density, history and ancient cultural roots, but is commendable.

Judging by the news there is also a lot to complain about, and these days more then in the past, unfortunately.

But it's a bit stupid to give up on the good things of your culture because of internal bashing
Right. And a fair amount of it is also pent-up demand for job switching that didn't happen during the pandemic.

The media is deliberately misrepresenting these stories for the click-bait. People want to read stories about quitting work because they dream of doing that themselves. But the reality is they're not quitting the work force, they're just changing jobs.
In my circle people are leaving eng jobs as seniors where they make 200k to offers of 400k-600k. People who remained got little to no raises and are looking around for other opportunities. It's crazy, to me it feels like a bubble waiting to burst.
On the other hand, I've almost been seriously injured by cyclists speeding down the sidewalk. Someone a few years ago actually was killed: https://www.delawareonline.com/story/news/local/2016/03/24/s...
I'm one of them. The remote grind was getting to me. I was doing very little actual work, but when I had to do something it was such a pain. The company was experiencing massive turnover with new employees being clueless oh how things got done. Everything started to be 10x as difficult as it used to be. Taking time off now to work on a startup. Already got my first two paying customers.
Saying that cycling is dangerous because you are putting your life in the hands of car drivers isn't saying cycling is bad, it's saying cars are.

This is a very American problem. I do hate driving on roads here, but when I ride on roads in the EU (even on roads without dedicated cycling infrastructure) it's a completely different experience.
> The hard part is, first and foremost, getting someone to pay for it.

Isn't that merely a matter of establishing a foundation/trust fund arrangement with the explicit purpose of maintaining the building? Of course you need enough capital so that it can sustain itself indefinitely through low-risk investments, but that is just the nature of the game.
Yes I know the law. The law is ideocratic, in mandating that people act in their private (in the true sense of private) capacity in accordance with a set of ideological values. It assumes that the moral good of a person acting out a particular value justifies using force to control a person's actions. This attitude towards others is sanctimonious and irreverent to people's rights.

It is not a legitimate use of the force of the state. Jim Crow laws were similarly ideocratic, in imposing pro-segregationist ideological values onto private citizens. We foolishly went from one form of sanctimonious/domineering ideocracy, to another.
> I would rather have one team developing a cross-platform application in a language that isn't Javascript.

So, use one of the many languages that compile to JS. Starting with TypeScript. Or (alphabetically) ClojureScript, Elm, PureScript, or Rescript.
Surely the spread operator is nicer here?

[1, 2, 3, 4, 5].reduce((acc, n) => n % 2 === 1 ? [ ...acc, 2 * n ] : acc, [])
How I took my SaaS from idea to sold in 14 months
This article, sadly, is rather shallow. That being said, the link within the article: https://www.bls.gov/news.release/jolts.nr0.htm is full of somewhat difficult to parse (not the best presentation) but overall interesting information.

Googling the name of some of the tables led me to this site, which appears to use the same terms but plots them to show trends.
ex:

https://ycharts.com/indicators/us_quits_rate_total_nonfarm
You’re right of course. When I’m at a full stop in a never ending traffic jam on I-80, I’m totally a danger for not paying attention to the brake lights of the car in front also not moving.
I read this as:

Step 1: Microsoft Pluton

Step 2: ...

Step 3: Eating Babies

You've taken a perfectly legitimate requirement in modern computing environments: The need to secure against attacks end to end, from the software you're running, through the entire ecosystem, even to the supply chain, and extending it to something nefarious.

Sure, it could be used to create a world where no one can run unapproved code. Or it could be used to create a world where you can OPT IN to running approved or unapproved code. e.g. iOS vs Android side-loading.

Consumers will likely retain the choice, on Windows, to override the system and run unsafe code. However enterprise / managed computer systems likely will prevent it. I mean what security team or sysadmin wants office workers to be able to install and run arbitrary code on corporate machines or networks?

Let's try to avoid catastrophizing everything.
It is not entirely about the syntax, for example, the code looks similar in Python (if I remember Perl correctly):

print(f"it turns out that {TV[family]['lead']} has ", end=‘’)
print(len(TV[family]['kids']), " kids named ", end='')
print(*[kid.name for kid in TV[family]['kids']], sep=', ')

For me, it was the culture “there is _one_ obvious (for a Dutch) way to do it” vs. “many” in Perl and most people lack discipline/good taste to handle the [too much] freedom provided by Perl.

Somehow Python took the niche of “executable pseudocode”, “glue language” for me.