skysight-inc/HackerNews huggingface dataset:
People default to documentation as the best way to write clear code but documentation is a no win task. It's never kept up to date, it's never clear enough and of course it's time consuming.

I favor the building house approach.

Generally, describe what you want to accomplish in a simple language outline. Create a blueprint in the same idea as a house builder would get to build a house and write code that self documents.

1) Descriptive names for whatever you need to name. Long names are ok.

2) No monolithic code. Break it up.

3) Choose clarity over brevity

4) No magic numbers, don't use hacks

5) No cute coding, coders want to show how smart they are by writing code that does a lot within a few lines. It might be fun for the coder but it's useless for long term production code.

6) Code as if a newbie will read your code. Rework if you need to speed up the code.

7) Always code as if you expect someone else will read your code. This will keep you from doing quick "temp" changes that will never get fixed.

8) Follow an established coding style. Don't reinvent the wheel

9) Sometimes there is no choice; use in-code comments as needed but don't over use them since you will need to update them later.

Most of all, talk to your other code partners and decide the best style that works for the group. Don't be a one man coding machine. Work with your team.

It might seem like you are doing a lot of work for some one else's benefit but I guarantee that you are not.

Something that happens a lot is that you'll need to rework your code a few months later and you will have no clue what you did. Writing clear code will help you immensely as you try to figure out what you did and what you need to do to fix the problems.
I tried to use the GDPR angle to close a bunch of old accounts I'd gathered over the last decade. One of them, an MMO, wanted me to provide proof of my EU citizenship by scanning and sending them my passport / national ID in order to proceed.
In tech yes, not so much elsewhere
Donation to free knowledge – Wikimedia Fördergesellschaft
> You'd essentially be creating a very ergonomical shortcut to fork-join multithreading which is infinitely more powerful and expressive than whatever this "async function" stuff is.

But that would require starting other threads, which requires everything to be `Send + Sync`, has the overhead of multithreading, and can't be managed with any sort of scheduler (without platform-specific hacks). Unless you use green threads, and that's discussed in the article.
You missed the point. You typically don't have to compile anything for your sound card, assuming you even have one anyone considering that motherboards have had integrated sound forever now.
> "My biggest gripe is that Leetcode is systematically favoring candidates who have months of free time to memorize arbitrary logic puzzles. It makes me sad for the less privileged candidates who might be working a job while also trying to break into the IT field."

I told google that this style of interviewing is discriminatory, especially towards people with families, or other commitments. Never got another call for an interview since ^_^
"How manual most of the processes were" - manual processes are more durable to turnover

"Documentation is very important at Amazon" - helps alleviate the impact of constant turnover

"Teams are fragile" - um, because of turnover?

"Everything is urgent" - indirectly because of turnover, because if you don't nag people to enable your deliverables, you get fired.

"Everything is built in house" - helps make you harder to fire, gives you bully power over other new hires since you know it top to bottom, protects you from the organization that is trying to constantly turn over people
The article says to use two-factor-auth (obviously a good idea) but says nothing about HOW you add 2FA to SSH. Does anybody have pointers? I'd love to add 2FA to my bastion hosts, but don't want to put a ton of effort into doing so.
Haha what they probably don’t mention is second year bonus is prorated.

So it’s a double fuck you, bc it gets paid out as quickly as salary but is in permanent to your TC as a bonus lol
When Google reader shut down, I moved to feedly for like a week. Then I started getting anxiety that feedly would shut down too. Because if google could kill off a product i relied on, anyone could. And that got me into self hosting and running my own services.

ttrss was basically my first self hosted thing almost a decade ago. It was great. And then it turned out the guy running it was a bit not pleasant, and I didn't want to support that. So I recently migrated to freshRSS. Both work great, are open source and self hostable.

And feedly hasn't shut down yet (probably just to spite me). So yeah, tons of options for RSS.
If you liked Sage or similar extensions in the XUL-based Firefox, check out Drop Feeds: https://addons.mozilla.org/en-US/firefox/addon/drop-feeds/
This is crazy. At some point they will have hired / let go virtually every employable person. What then?
Psychology of Money is a light read that might give you some foundation for finances as you enter adulthood.

China: A History by Keay is a pretty great overview of the last 5000 years of Chinese history. This was recommended to me on this very site!
Except, plenty of wannabe IT departments that want to “hire then best of breed” and start copycatting/aping these gestures. It’s a global Cargo Cult
On the flipside I have an older but functional scanner[1] that doesn't have a driver for modern Windows (Latest version is for Windows 7 32-bit) or Mac (Latest version 10.6), but still works perfectly fine in Linux.

[1] https://www.usa.canon.com/internet/portal/us/home/support/de...
Damage from Earthquakes is usually localised - how close you are to the fault really really matters (until you get up to the mega-quakes that can affect much of a small country).

Christchurch was hit by a 6.2, but most of the damage occurred on the suburban south-Eastern half of the city, and the commercial buildings in the city centre which were more vulnerable. 10’s of kilometres away and no significant damage to buildings.

The magnitude 7.8 Kaikoura earthquake in 2016 had an epicentre 100km away from Christchurch, and there was no damage here in Christchurch.

Italy is ~1000km long.
Dividing by R₁ + 2R₂ is not linear, and neither is multiplying C by R₁ + 2R₂, nor dividing by that product. But you could maybe formulate a linear objective function that solves this problem correctly, and then you could formulate the component selection problem as a MILP problem and solve it with GMPL/MathProg/GLPK or the COIN-OR tools. Glancing at it, though, it isn't obvious to me how to formulate it linearly. How would you do it?
It's a 10x multiplier to run mac on GitHub actions https://docs.github.com/en/billing/managing-billing-for-gith...
That's reasonable, but I've found that switching out my cotton (entirely) and synthetics (mostly) for wool (lasts longer without odor than both, dries faster than cotton) lets me pack 2 pairs of pants, 2 shirts, 3 pairs of socks, and enough underwear to last a week if my goal is to do laundry only once a week, and even then I could go longer if I absolutely needed to without doing a wash of everything. Underwear and socks wash easily in a sink and dry quickly, so I can get by with 1-2 pairs of packed socks and 2-4 pairs of packed underwear with only 5-10 minutes of time spent in the evening washing things every 2-3 days, and a bigger wash once a week for shirts and pants. All of that comfortably fits into most backpacks, I only take a larger backpack because I often pack a camera.

I would be annoyed if it took me an hour or more at a laundromat every few days, but I haven't experienced that since my clothes dry fast enough, I can just spend 30 minutes or so once a week in the hotel room (morning or evening, I don't normally sleep in when traveling so I have time to kill when I wake up). Admittedly, I don't travel to hot and humid climates, that would change things (especially the way I sweat).
My pet peeve is when people claim that heavy old cast iron radiators are "always better" than new flimsy steel ones.

Yes those are better for old houses with old insulation or no insulation because then you wanted radiator to keep warm so you can sit close to it and get yourself warm. Where with new thing ones you want to heat up the air so you don't want radiator to be warm but air in well insulated building.
So what then is async? If there is no scheduling/preemption in executing an "async" function, it's not really "async", but rather synchronous. Is async just a new way to say "instruction reordering"? Or is async really just "*defer* until the last possible moment: await"?

edit to match yours: not sure what a "green" thread is.

In any case, if threads are not an option, an async may always be ignorable, after all, a program may not rely on the order of the execution of its threads/its preemption; that would be a race condition. Textbook definition.

As I see it, the fork/join model is very useful for "shingling" code paths that don't have to happen in sequence, but _could_ happen in parallel.

Final edit: nothing is otherwise stopping the implementer of async to add a pre-started threadpool to the runtime, with whatever configurable parameters one would want.

Post final edit: I think fork/join vs send/sync are just implementation details. But I respect Rust for going with send/sync, just that it doesn't change all that much in terms of the programming interface.
Don't feed the trolls, and other hideous lies (2018)
> What's fairness got to do with it?

Fairness itself has nothing to do with it.

It has everything to do with avoiding employees getting mad when they here the new guy makes significantly more, which leads to conflict, which leads to unhappy employees, which leads to poor productivity.

Perhaps "fairness" is the wrong thing to call it. More like "do things to retain good employees". Usually "being fair" falls into the "do things to retain good employees" category.
That's a big "just", but yes in theory that's doable, however:

- The performance you are going to get will be terrible compared to the native implementation.

- Oniguruma, which I think is Ruby's engine, weighs half a megabyte on its own, that's comparable to the core bundle of the app I'm working on. That's a lot to my eyes.

- If you need to use this engine in dependencies that just assume that lookarounds are available then you are going to need to fork every single dependency just to wire it with the regex engine you compiled, super messy.
Oof that sounds super devious.
I had a revelation recently regarding commercial dry yeast and poolish. The sour part of sourdough comes from the lactobacillus bacteria making lactic acid. Commercial dry yeast makes for a fast rise, which isn't enough time for the minuscule amount of bacteria that's present in the flour to flourish (pun intended?). Letting the mixture ferment overnight lets the bacteria grow more, which creates the flavor. My guess is this technique can be used to stand up a sourdough starter from scratch faster than mixing raw flour with water over the course of a week or so.
Looking at my case, I wouldn't call this pointles, since it removed > 95% of login attempts.

Sure, IP address block fragmentation will remove some value, but you'd still kill a lot of juicy compromisable home IP addresses in those countries.

Regarding cloud providers - well, I hope they have some automated systems to clamp down, since it's against their own interest to serve as vectors.
This wasn't just snow, I-95 was covered in ice.
> Induced hemophilia is no joke.

Note that this is one of the possible side effect mentionned in Pfizer documentation of their covid vaccine, reported in article research articles like [1], and it doesn't seem to bother too much people.

[1] https://pubmed.ncbi.nlm.nih.gov/33783953/
GDPR applies to non-citizens too, so that requirement was bogus.
I’ve come to this post from an RSS feed of hacker news
Money and coaching are not mutually exclusive, I don't think OP is saying that you should give up money for coaching, but you should negotiate some coaching alongside the money as well
Interactive explanations of math & algorithms using examples from computer games
Based on the specs I'm expecting this to be out of my budget, but I really really want to replace my everyday-carry 12" tablet with this. It'd be so awesome to have a much bigger screen, of such brilliant specifications.

I have to hand it to Apple, they have been pushing the bounds of what we expect from consumer/pro-sumer displays. I expect this will be out of range, but decent screen specs are starting to become more available across more price points, and that's great. With really good computing hardware being the norm, competing to offer a good display on your laptop is a great feature. More and more companies, like Asus here, are being forced to respond, are having to up their game.

Tricks like this here that Asus is pulling- of making more screen real estate available in a more compact form- that's really really a nice trick. It's almost certainly- alas- going to come at that exotic price point, not be the across-the-board competition I just spoke of. But I'm still excited to see it.
Or how impressive their GitHub is.

Or another mostly (rightfully so IMO) choice you see here. Set a low bar to hiring but have a probationary period after which you fire a notable percentage.
> But I have to say, I understand why people asked to mask up in some cases flip out

I do not.

> Does it make sense to anybody that society has somehow decided that the way to be safe in restaurants is to put on a mask so a host can walk you 10-15 feet to your table for 10 seconds where you then proceed to take your mask off for over an hour

Maybe. If the tables are spaced far apart and preferably outside. Packed in an enclosed space? No.

However, eating out at a restaurant is not a right. Don't like the rules, go somewhere else. Similarly, businesses can refuse service.

We are not toddlers. Not supposed to be, anyway.
> In order to be efficient on a macro level, it requires being (very) inefficient at the micro level.

This is put succinctly.

Seeing Amazon from within was an absolute shock. It is hard to be hyperbolic about the company's technical achievements: Prime, AWS, 2-hour Delivery, Alexa, Prime Video, Amazon Go ... absolutely incredible, world-changing stuff.

But the experience of working there felt like the place was on fire. People transferring teams in droves, joining in droves from outside, entire teams doing duplicate or triplicate work, managers of managers of managers of managers. And yet the speed at which they launch successful products at global scale is unrivaled.

I'm glad I got to be a part of it but there's almost nothing that could entice me to go back.
I'm not worried about helmets or any of this: you're right, it's not my problem. I'm unlikely to injure a bicyclist.

I just find it interesting when I see someone choose not to wear a helmet. Reasonable people can disagree as to how dangerous it is to run a stop sign in a bicycle but the data is clear on helmets: it's far safer to wear one than not.
Oh, absolutely. This is why frequent fliers almost never check bags, or at least traditionally don't. I almost never did when I was flying all the time.
Silly question coming from someone not very experienced with DNS servers/resolvers, is there a way to download/cache/resolve all country specific domains (ccTLDs)? I know there are many sites that sell zone files, like https://zonefiles.io, but aren’t the DNS records supposed to be something freely available?
How long ago was this and what was the make and model? I haven't had Bluetooth driver problems for a while.
GitHub Availability December 2021
Pressure treated wood: I see this as an essential material in modern building. Our own house used non-pressure-treated, regular boards for the sill (the walls attach to these sill boards, which are directly on top of the poured foundation, which had moisture seeping in). We got ants and termites who loved this damp wood, and they turned it to shreds in just 40 years. Will pressure treated wood last for 1000 years? I have no idea, but regular ole' wood didn't last 50 in our case.
>But observations using the world’s largest radio telescope are casting doubt on this long gestational period. Researchers have zoomed in on a prestellar core in a giant gas cloud—a nursery for hundreds of baby stars—and found the tiny embryo may be forming 10 times faster than thought, thanks to weak magnetic fields.

I'm sure this has been taken into account already (by actual scientists much smarter than me) but, how do we know it isn't dark matter causing the collapse to happen faster than thought? Seems like a reasonable question to me. Lack of gravitational lensing?

(edit:) Also

>thanks to weak magnetic fields ... Zeeman effect etc

This is a bit questionable to me. I understand the Zeeman effect, or thought I did, but I don't understand how it can be thanks to a "weak" magnetic field.
Do you still have to go through a full interview loop?
Usually with authentication on linux, pam is a good starting point https://duo.com/docs/duounix
Judging from the old towns where I grew up in in Europe, the problem isn't building a house that won't collapse for a 1000 years (a classic half-timbered house [0] will get you through most of the earthquakes to expect here for centuries). The problem is getting it through town fires [1], floods [2], and wars [3, 4].

[0] https://upload.wikimedia.org/wikipedia/commons/thumb/8/8b/Ma...

[1] https://en.wikipedia.org/wiki/Great_Fire_of_London

[2] https://en.wikipedia.org/wiki/St._Mary_Magdalene%27s_flood

[3] https://en.wikipedia.org/wiki/Sack_of_Magdeburg

[4] https://upload.wikimedia.org/wikipedia/commons/thumb/e/ec/Lu...
Practical question? What do you do in the second year? The teacher can't start from a blank slate: they already know python at that point.
> In this article for Sierra you seem to be only able to pick integer factors

Maybe? But that's ancient history.

I don't know what the ratios are - the UI doesn't expose them.
I think the flamewar algo is preventing me from replying to your message xg15, but yes, it totally makes sense to have a global error handler on threads. I think that though the original article sounds like it is never okay, I don't imagine the author is against corner cases such as global error handlers in web frameworks, threads, browsers and so on. I just wish developers would refraign from writing try catch 80% of the time, because it pretty much always boils down to only a logging call and perhaps a generic error response that the framework would take care of anyway (at least in ASP.NET).
Late 2023? And GM being GM, it'll be mid-2024, and they won't make enough of them. Don't get me wrong, I'd like to buy one. But I'll bet a paycheck that I don't. Because some of us are still on our original first-ten Leafs, and boy howdy, is that car getting long in the tooth after 11 years. And I seriously doubt that we wait long enough for GM to produce one of these for our garage.

No biggie, that Hyundai Ioniq is looking good. Mustang is a strong possibility. Maybe VW isn't lying about that Buzz minivan. Point is, plenty of options that will go 300 miles and carry two dogs. GM best get their asses in gear.
Not really. It's just a human responding to the incentives they're given. When management creates poor incentive structures, they get poor behavior, which drives poor outcomes.

As they say - the problem with incentives is that they work.
Edge has added in browser support for RSS if I’m not mistaken
Thanks for following up! Looks like that setting was on from an old version of the site. Probably not a super common thing for people who are onboarding to CF Pages (previously my origin was on AWS) and I migrated to Pages.
I'll say again, Blogger is all we ever needed.
I set up something like this [1] in the past. It relies on pam letting in the user if and only if that user provides the generated number. Do note that messing up pam is easy and may lock you out, so have a backup/snapshot, rescue shell or an open session when you are configuring it.

[1]: https://ubuntu.com/tutorials/configure-ssh-2fa#1-overview
Some people use algorithms daily, or went to school for them, and don’t need to study for leetcode. Likewise, some people do architecture or frontend apps all day and don’t need to study for those. No matter what a company asks, some people will find it unreasonable, at the end of the day the charitable interpretation is that the company is choosing interview challenges that they feel are a proxy for the skills needed to succeed.
Err, no. Being able to sharpen one’s own knives is a basic skill that every professional chef learns early. Having a sharp knife isn’t an ego-driven showoff move, it’s critically important.
GDPR also applies to EU residents, so asking for a passport or national ID is not enough to avoid answering a request.
Yeah probationary period would be great for companies, maybe better for people trying to break into industry (unless they can't fired and can't get their old job back), and not so good for most people already in the industry.
"starting at game-changing $30k price"...

... or, more realistically, $65k after "dealer market adjustment."
I use RSS daily with Miniflux. Tiny Tiny RSS is another popular self hosted option and there are a number of freemium platforms like Feedly & Inoreader. I prefer to self host primarily for cost/no ads or tracking/private data. It's true that social media platforms don't support it but that's never been my personal use case - every news site or discussion group I like to keep up with has a feed and it's worked great for me.
Has anyone set up a Deep-learning system to train against this?

Andrew Ng was proud of training a system to fly a helicopter upside down, just curious.
The same phenomenon seems to happen in nearly every industry. Optimizing for profit at the expense of just about everything else.

Kinda seems to me like profit being at the center of everything is the problem
GUI will come eventually.

Some Dev commandline tools and compilers are starting to work, so these kind of environments will probably come first which will provide better performance than running under virtual machines.
What chemical would only be present in 10 per mL?

A mL of water has ~10^22 water molecules in it. Dilute substances are usually measured in ppm (parts per million). Even 1 ppm would have 10^16 molecules. I think your orders of magnitude are way off here.
The BLS report mentions: "These totals include workers who may have been
hired and separated more than once during the year."
Due to the pandemic I’ve often thought about what the ideal model for vaccines and other drugs would be. I understand that there’s enormous costs for pharma companies to bring a new drug to the market, and I guess a lot of new drug prospects end up not going anywhere, but it’s hard to swallow that there’s drugs out there that are cheap to manufacture and are life saving (or life changing) for people that need them yet some/many of them can’t afford them.

What’s the best way to fix this? Direct government funding? Indirect one via subsidising the drugs for those who need it? Im
For those interested this project has been built with longevity in mind.

The MiniCO2 Houses: The Maintenance-Free House
https://www.realdaniabyogbyg.org/projects/the-minico2-houses...
> But wouldn't it be exactly the hallmark of a self-taught programmer to be able to figure things out on their own?

Self-taught or not, no one is able to derive an optimal solution to algorithm problems on the fly. You must have previously learnt the technique, and probably practiced applying it a lot.
The 34L that I have fits under a plane seat even if its packed full. I prefer it in overhead obviously, but for a short flight with packed overhead, it's nice to have the option.