skysight-inc/HackerNews huggingface dataset:
I'm at a point in my career where I see "magic" and wince hard.

This is so hard to reason about and fix at scale. If you let other engineers run wild with this and build features with it, the time will eventually come to decom your service and move functionality elsewhere. Having to chase down these rabbits, duplicate magic, and search large code bases without the help of an AST assisted search is slow, painful, and error prone.

I spent several years undoing magic method dispatch in Ruby codebases. Tracing through nearly a thousand endpoints to detect blast radiuses of making schema changes impacted by CRUD ops on lazily dispatched "clever code".

I'm sure there are valid use cases for this, but be exceedingly careful. Boring code is often all you need. It doesn't leave a mess for your maintainers you'll never meet.

Python users tend not to behave this way, but seeing posts like this requires me to urge caution.
This would usually be a tangent, but it's quite apropos to the main topic. My workstation is the last amd64 hardware without ME/PSP. It's a few generations old - dual Opteron 6380's with 112G of RAM. I couldn't get it to train with 8 sticks of RAM, but it's solid and reliable with 7. Last time I stuck a Kill-a-watt on it, I think it draws around 140W at idle. An alternative to it would be something like the Raptor Talos.

https://libreboot.org/docs/hardware/kgpe-d16.html

https://www.coreboot.org/Board:asus/kgpe-d16

It's got 5 usable PCIe slots (including the physically-flipped "PIKE" one), I think a total of 40 PCIe lanes from both sockets that I believe you could theoretically split out with the maximum amount of bifurcation, since the BIOS is Free Software.

My new Ryzen build is for a personal server that resides at a lower trust level, and targets around 30W draw. B550 motherboards generally have around 28 PCIe lanes going to expansion slots (20 from the proc, 8 from the chipset). The best you can do for number of slots is to bifurcate the main "graphics" x16 into 3 x4 slots (maybe 4 with a non-APU) using a "VROC" card, but the BIOS has to support that (Gigabyte and Asus seem to generally, but check manual). I believe X570 motherboards have a few more PCIe lanes coming from the chipset.

If you really need more PCIe lanes, I hear Threadripper/EPYC is the way to go. But I don't have any personal experience. If you just need more PCIe slots, you can find PCIe x1 -> four slot switch-based splitters inexpensively on ebay/aliexpress.
Dive into Machine Learning
iCloud Keychain just works with macOS Safari, macOS Chrome, Windows Chrome, and iOS.
I switched jobs in November for a ginormous pay raise. I think this is the case for a lot of these people.
Get while the gettin' is good, people!

You now have power over that caviling, micromanaging boss of yours. Or the job that doesn't pay you enough. Or the gig that makes you come in the office when you can work perfectly fine from home.

Remember that productivity in America has doubled in the last 40 years, but wages have only risen by half. So sit on your ass a bit, get paid, then get a gig that respects your worth.
Wikipedia is not a source. It's a list of reliable sources. Feel free to read the carefully provided links.
I'm curious if you cycle a lot. I think those of us that do (much like the guy) are fed up with too many close calls (or actual collisions) and want to try and at least do something about it.
But that's exactly the distinction that matters. Treating the services one has received as a debt implies that one must pay back that debt and is free of any other obligation. In reality, as you're pointing out, we're all contributing to the current and future wellbeing of each other, and we all benefited from others' contributions in the past.

Pay-it-back vs. invest/pay-it-forward have quite different political implications, and the fact that society does and always has been in pay-it-forward mode gives lie to the earlier commenter's claim that subsidies are slow but fatal.
I do not see how Russia benefits from the fall of Kazakhstan regime.
Yeah using them as is and haven't had any issues so far. I think they are at a slightly lower level of abstraction than an AST, e.g. an async method in JS is a method_definition with an "async" node followed by a property_identifier, whereas an AST might wrap all this into an AsyncMethod node - but all the info you need is there.
Well, the title was not "A record 4.5 million workers stopped working" but instead "quit their jobs". That most people get new jobs after quitting is fairly obvious I think, while if they wrote "stopped/refuses to work", the other point would have been obvious.
I think the line becomes blurred when you actively gather the evidence, rather than happen upon it, and post the videos online to publicly shame the people in question.
Sparking Curiosity at Work
> Naturally far more efficient

What? No it isn't

.

> how come Perl lags far behind

Because nobody wants to use it, same reason it lags far behind in literally every other field in programming, too

If you actually want to understand this, learn why CGI doesn't point at Perl anymore. That was its last real stronghold.
Bitcoin is not the only cryptocurrency
A framework for building GitHub Apps to automate your workflow
Founders looking to raise capital in 2022 have the market on their side
>The use of 'iwconfig'. iwconfig has been deprecated for 8 years now and isn't even included in RHEL anymore

well the github repository's last commit was 10 years ago so...
There is also the book Deep Learning from Scratch.
I’m a cyclist and a pedestrian. I have been nearly killed by drivers using their phones several times. I have never had my life endangered by a cyclist rolling through a stop sign. They are not the same.
Am I just bad at OOP hackery or does anyone else look at this and think it'd be extremely hard to debug?
That's a strained interpretation both of the GP comment and of the HN guidelines. I'm pretty sure the bulk of the community here doesn't want to argue about whether the creation story of Genesis is "factual" or not. There's zero intellectual interest in that; it is, in fact, an absurd thing to argue about, unless you feel charged up about religion somehow.

> fact is not provocative at all.

There are infinitely many facts. They don't select themselves—humans do that—and often they do it in a highly provocative way. That's why "I'm just stating facts" is one of the classic troll tropes.

For example, if one middle schooler points out the acne on another kid's face, that's both factual and provocative. I've used that analogy before. Recently I ran across an old comment by pg where he made a similar point: https://news.ycombinator.com/item?id=6539403.

https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...

https://news.ycombinator.com/newsguidelines.html
Unlikely that it's related. For example, here's a report about the September quit rate: https://www.cnbc.com/2021/11/12/a-record-4point4-million-peo...

That was 4.4 million people, even before the vaccine mandate was around.
Or maybe people just like working with it? Trend and hype bring people to it, sure, but that doesn’t take away from the fact that it’s an incredibly economic language that’s also fast.
The most likely government to be installed will be an islamic state, so I would not be very hopeful.

Also, Russia might intervene militarily and annex the norther half of the country - as they have recently made comments that the Soviets gave them too much land.

It is far more likely this will end badly for the average Kazakh citizen.
The way to address it is not making racial discrimination illegal. Private discrimination is still ultimately within a person's legitimate moral rights. Using the force of the state to ban it, is unjustifiable, and deeply misguided.
What are hypothetical benefits of using this versus Webstorm/Intellij with Vim mode?
I think RSS might be your only option.

Have you tried https://diff.blog ? It's basically just RSS, but might be interesting to you.
> block essentially any progress or legislation

A lot of legislation is blocked in the EU, yes. The modus operandi of the EU is to compromise until every state is satisfied.

And the US is far from being blocked out of any progress. The gay rights is more advanced than in Europe, infrastructure bills are passing with bipartisan support, COVID relief bills are passing with flying colors and with a much more consistent amount than in Europe. EU struggled to get 700 billions out after a year and a half! And it's still not distributed.

I would say the US now is more diverse than in the 1700s. More diverse states, more diverse ethnicity (80% were white people in 1776, mostly English) and a HUGE population compared to 3 million back then.
The colour of the light is a moot point. If a driver is in charge of a vehicle that is on the road, then the laws apply. The UK government's guidance on this is clear on that and after years of media & press about phone usage whilst driving, nobody in the UK can claim ignorance of the law. https://www.gov.uk/using-mobile-phones-when-driving-the-law
In science doing things in a different way is good, not bad. If everybody uses the same tool you kill the cross-pollination between people with different skills and innovation often comes from that.

Exploring Bioperl for genetics leads to several big rewards, but you need to want to take the extra-mile and doing it. And is not easy. In the same way as exploring R in the past where none used it, was definitely benefical to me. R is awesome.

All is readable if you find the correct people able to read it. People at the university just keep using the same as their boss so you really can't always choose. Maybe Perl wizards were highly sough and didn't remained in the university. Maybe is just a question of different generations of programmers and Perl is a little older. Dunno.
In addition to being essentially a combined "filter" and "map", it's also a "better" filter than filter itself in TypeScript in such that it narrows types much more ergonomically[0].

In TypeScript, you might have an array of multiple types (e.g. `Array<A | B>`), and use a `filter` call to only keep the `A`s. However, in many situations TypeScript can't figure this out and the resulting array type is still `Array<A | B>`. However, when you just use `flatMap` to do nothing more than filtering in the same way, TypeScript can determine that the resulting type is just `Array<A>`. It's a bit unfortunate really - `filter` is faster and more readable, but the ergonomics of `flatMap` type-wise are so much nicer! Just some interesting trivia.

[0]: https://github.com/microsoft/TypeScript/issues/16069#issueco...
Please build it somewhere else. We have enough eyesores in London, don't need another one. Also, based on evidence, houses that last ~1000 years are typically built from stone (see Italy, South of France, Spain, Greece, Portugal) with easily replaceable wooden roof, ceilings.
I have created a script, that mimics most of the modern CA and intermediate CA infrastructure for testing HTTPS/ Content Security Policy and more at OrgPad, where I work. TLS Mastery by Michael W Lucas https://mwl.io/nonfiction/networking#tls helped me a lot.

Having an internal CA is a lot of work, if you want to do it properly and not just for some testing. It is still rather hard to setup HTTPS properly without resorting to running a lot of infrastructure (DNS/ VPN or some kind of public server), that you wouldn't need otherwise.
I am only perplexed by this in regards to how workers are surviving without jobs? Usually many brackets of workers live check to check to the degree they have no choice but to continue working despite all other concerns.

Is it the gig economy setting a bottom line ‘might as well do Uber’ level? I am not so sure but it’s the only major change in the last couple years ago I can think of?

From a straight economic perspective REAL compensation of lower skill workers has been sliding for decades so not really surprising it eventually reached a’might as well quit’ point.
The FAANGs did obviously illegal collision on hiring before. Don't see why they wouldn't do so on other stuff. Probably have learned their lesson to not E-mail about it too.
Python and Java are two that come to mind. It is idiomatic in both to return null/None on error, but it is not idiomatic to use a result type. Hell, Python even uses exceptions to terminate iterators.

This isn't to say the idioms are never broken or that they shouldn't be broken. I agree that if you are doing something like parsing a string to an integer, that should probably be a result type and not just throw an exception.
I've been using Svelte as my main framework for the past two years. I'm still very happy with it and will continue to use it.

It has many advantages but the main reason for me is that it simplifies your front end code. It's not perfect by any means, but overall its cons are worth it IMO.
Yes, this is a good thing.

Better headline: “Record number of workers switch to jobs with better working conditions, pay, and benefits.” We might also add “Employers forced to raise wages for others who remain.”
You and your grandchildren are only so relevant.

I for one adore walking around built up areas where the original builders thought further than that. There is beauty in solid houses. They carry history. An old part of town tells so many stories. They embed culture and provide some degree of continuity.

The initial cost is higher. But your grandchildren can sell it. Many generations can profit from an existing building. Floor plans can be adjusted to some degree and modern comforts added at any time.

A flimsy plywood house built to be replaced in 15 years is an expensive tent. It is nothing.
> You now have power over that caviling, micromanaging boss of yours. Or the job that doesn't pay you enough. Or the gig that makes you come in the office when you can work perfectly fine from home.

What about when I have all those things and still hate my job?
I Used to cycle 150km a week for 10 years from one end of Cambridge to the other in rush hour. I agree with everything you said. The biggest danger to me was usually other cyclists going either too slow or generally being unpredictable.
Google has a certification process to allow play services to be installed:
https://www.xda-developers.com/how-to-fix-device-not-certifi...
Google forces phone manufacturers to install some google apps to get certification:
https://www.kamilfranek.com/how-google-makes-money-from-andr...

And in the EU, companies actually need to pay, if they do not install some google apps: https://www.theverge.com/2018/10/19/17999366/google-eu-andro...
My clipboard manager does not store things copied from KeepassX. Based on what the window is called. I had to configure it. CopyQ.
Shouldn't you post the direct link to the article instead of make a text post?
> Is there a tool that solves (some of) this that I just don't know about?

There's a company called Venafi that makes a product that lives in this space. It tries to auto-inventory certs in your environment and facilitates automatic certificate creation and provisioning.

From what I hear, it's not perfect (or at least, it wasn't as of a few years ago); yeah, some apps do wonky things with cert stores, so auto-provisioning doesn't always work, but it was pretty reliable for most major flavors of web server. And discovery was hard to tune properly to get good results. But once you have a working inventory, lifecycle management gets easier.

I think it's just one of those things where, if you're at the point where you're doing this, you have to accept that it will be at least one person's full-time job, and if you can't accept that... well, I hope you can accept random outages due to cert expiration.
It's funny - I grew up in a country with the same mentality as in the UK. But I've now come around a bit more toward the American approach: I still see the merit in preserving history but besides that, what is a good argument for constructing a house to last for a very long time? See, whenever you buy an older house and start renovating it, more often than not you start running into unexpected things that need to be updated. Partly because the original construction may have been especially shoddy (think post-war years), but even for houses that are younger than that, changes in the building code often require updates to the building.

But then, why did the code change in the first place? Some cynics will say "so that they can keep making money" but most of the times it is to synchronize with changes that have happened all around is, including the development of new materials, gained knowledge about the impact of natural factors (not only in earth quake regions), and - in our generation - increased expectations regarding energy consumption (insulation).

All the old houses that do not undergo renovation are way out of sync with modern considerations that manifest themselves in any current building code. So why not tear down a house after 100 years and build a new one from scratch? That process is, of course, quite a bit simpler for the more light-weight wooden houses in North America.

A lot of the construction snobism in Europe against American construction standards is unfounded. As far as residential homes are concerned, I don't believe that there are many advantages of brick constructions over wooden framing besides better soundproofing for most intents and purposes.

Of course, one important thing to consider in this discussion is the availability of land: in North America, outside of the big cities, there is still plenty of land available for building new building while Old Europe is already pretty tightly built up. A lot of the land is in private hands and often unlikely to be turned into lots. Plus, for North America with its car-centric developments, it's easier to find usable unoccupied land that will not force you into crazy long commutes. This is more difficult in some parts of Europe, where the ratio of people to square foot of land is much higher.
On a side note I have never comprehended the intention the FAA was pushing with RID. It doesn't integrate with existing ADS-B and explicitly isn't permitted to do so. Add to this RID emits 1 watt of power. This would mean all aircraft would need new equipment and even then they are not going to detect the location of the drone until they are about to slam right into it given the speeds of some aircraft. Did the FAA publish any technical peer reviewed papers on RID? Did AOPA have any say in it?
The site made $13m. I stated in my comment above that I was only making about $150,000. Which I frittered away on bullshit toys. I had no savings at all.
nit: in order for something to be read-only it's got to be a mask ROM or otherwise burnt-in (rather than merely undocumented flash), which implies being small. So the read only part really just needs to be a well-documented bootloader rather than a whole BIOS partition.

Also whenever you hear "security" you need to think "who's security?". Like when you go to the airport they're all on about "security" but it's not your security - you yourself are being made less secure by having to disassemble your person at the checkpoint for their security.

Similarly a "security processor", as defined by Big Tech [0], has the goal of making them more secure at the expense of your own security. They can't have you running whatever pesky user-empowering software you want and all that. You might end up believing some of those radical ideas from the 90's!

[0] which includes Big Hardware, which we're unfortunately reliant upon due to economies of scale.
A public CA is for having a third-party entity so two different parties do not need to trust each other. So, the answer is no. Why would you even consider this for internal communication?
There's a proxy polyfill. And if you really wanted there's at least one pcre2 wasm build you could wrap to make a polyfill, lol. Barely anyone uses lookahead/lookbehind even in pcre, though.
Genocide is not the only crime against humanity, yet it is still illegal. Go figure.
It's the hottest feature nowadays
> They don't ask everyone to record every time two bits of metal touch, every switch switched, every use of electricity, every flammable material entering the building, just in case there's a fire one day.

It's industry specific. In my line of work, yes, they do ask you to make extensive records like that and it is why we log nearly everything. Though I've mostly been in safety-critical and aerospace work (space now, previously just aero). I imagine medical, pharmaceutical manufacturing, and others have similar requirements. If you're making systems that don't matter (in the sense of, if they fail no one cares except a few possibly angry users), then don't bother logging anything.
You should just declare your bot as a user-agent. Most publishers won't even bother to do it, but leaving a publisher an option is the correct etiquette for any bot. Random user agents is cloaked scraping.
Numerous Russian politicians have recently said that the Soviets gave Kazakhstan too much land, and that the northern portion of the country which holds the 25% ethnic Russian population, should return to Russia.

This seems like a possible opportunity for Putin to annex more territory.
> As far as I'm concerned, it's black magic and truly an incredible achievement for humanity.

Fabs seem to be the far edge of tools-to-make-the-tools dependency stack, with some of the necessary sorcerous gadgets (like EUV lithography) themselves only having a single supplier with the necessary secret incantations on the other side of the planet.

Does the knowledge even exist to bootstrap things back up again should the present infrastructure and supply chains be sufficiently disrupted?

I've long admired David J. Gingery's 'Build Your Own Metal Working Shop from Scrap' and wondered whether anything like it is even possible for integrated circuits.
Yes - basically, high quantities of volcanic ash act as a much stronger binder than is currently used/available now, and the chemistry of the cement they used meant that as it aged it got stronger.

Tangentially - it's not that we can't make concrete that way, it's that for many structures we're building of concrete, building to last 100+ years is over kill, and would increase costs drastically for a building or structure that will most likely be torn down before it reaches its life expectancy.
I hate medium and hard LC questions in interviews, it's very hard for me to not get panicky, so I'm surprised i'm going to argue against what you're saying:

If you want to test raw coding ability, asking someone to implement some very basic graph or tree traversals is a pretty good way to see if they know the basics of conditionals, loops, recursions, maybe hashmaps.

If you want to see someone debug something, and you make them run their code it will inevitably fail or not compile the first time...so they'll have to debug.
Yes. But a mistake implies a likelihood of some damage. Better to do it earlier if practical. I'm not sure if it is though. (practical)
Both of the examples that you provided are generally way less dangerous. Distracted driving is a common cause of deadly accidents. So I’d argue your examples are hardy equivalent. Using your phone in a stationary queue likely correlates with use while moving, which is significantly harder to capture.
I'm a year-round bike commuter so see my share of bad behavior. However, this guy just seems like a vigilante, in aggregate not helpful.
Fisker Reveals World’s First “Digital Radar” in a Production Vehicle
Here are the reasons, bad as they might be:

(1) Branding. Businesses want their app to be thoroughly branded, so they'd rather have a canvas where they can invent their own buttons than use something cross-platform native like Qt.

(2) Hiring. Existing developer base trained on webtech. Qt is a C++ thing - there's a far greater hiring pool for webdevs than C++ devs.

(3) Ignorance. Some developers don't really know that Qt exists, or want to go through the trouble of learning it.

None of these reasons benefit the user - but Electron isn't chosen by those who want to benefit the user in the first place.