skysight-inc/HackerNews huggingface dataset:
It is not hard for me to understand that even though I am not a client-side engineer.

Web tech (HTML, JS & CSS) are widely understood with millions of tutorial reference. On top of that, you get a cross OS build that looks the same everywhere.

If all you are paying are just CPU and RAM, then that is a great tradeoff.
New ThinkPad X1 Carbon Has 20-Watt CPU
> Anyway, the most important skill for FAANG interviews is ability to write code on a whiteboard with a dried out marker.

This would be a good April Fools ecommerce site. "Dried out markers! Guaranteed to land you a job!"
I once visited Istanbul and sat in a bus during rush hour. Cars seemed to just go wherever they'd like, but only when a car wasn't using the turn signal everybody started honking.
That wouldn’t matter because it would always feel like the first time and no way to prove otherwise
Others are giving you answers from a moral perspective, but let me give one from a practical one, as I suspect you won't be amenable to the moral one.

The primary reason is because if you are not "in the know" so to speak, it won't be you who will take advantage of others, it will be you who will be taken advantage of. You think (and I mean you as in not just you personally but more broadly) you're the first one to think of minting NFTs by hiring artists on Upwork? No, that has been known since NFTs became popular. It takes quite a bit of money to mint, and the vast majority of creators won't ever see positive ROI. You think you're the only one who wants to cash in on coins to get rich quick? Well, that's what everyone wants to do, until the rug gets pulled.

People in crypto are not as stupid and gullible as you think. They are just as smart and have likely been pulling scams since before the crypto days. Take care not to fall victim to them yourself all the while thinking you'll be the one outscamming them.
One of the examples given wasn't a server name, it was leaking potentially confidential information via the domain olympics-campaign.staging.example.org - in many environments its fine if people know project names, but NDAs are a thing, and you could end up in hot water if you accidentally leak a partnership between two companies before it's been announced.
> I can appreciate the ideal of safe cycling on a road shared with cars, but it's not a reality.

It depends on where you bike. In some countries, pedestrians and cyclist are more considered. I cycled for ~200 km on a regular road around Geneva's lake some years ago, and I never felt endangered, as cars gave me plenty of space. In Norway, cars often slow down or stop if they think a pedestrian walking along the sidewalk could cross the road: sometimes I felt obliged to cross even if I didn't want to, just because the driver stopped.
Right-click, Inspect Element.

Web development tools have become fantastic UI debugging tools. You can inspect live running UI and tweak it in real time without a rebuild.

CSS is very powerful, and it's relatively easy to build complex layouts with animations. People joke how it's impossible to center things, but CSS has matured beyond that (IE is dead).
> Technological benefits make individual workers more productive, allowing them to be exploited for more profit.

It also makes harder jobs easier and in some cases allows someone unskilled to perform a job that a only a more highly skilled person could do. Thus someone is easier to replace and thus cheaper.

> If you don't understand the economics or incentive of the situation, there's no reasoning you out of a box you didn't reason yourself into.

I understand it fine. Technological advances is a double edged sword with regards to Labour. It may create whole new industries while destroying old ones.
I guess there needs to be another AirBnB that is actually specifically for renting out single rooms. As it stands, every one I've ever stayed at, I had the entire place to myself. I've never rented a single room from someone. Right now, I'm not sure there is a way for the law to apply when the same umbrella business offers both normal rentals and single-room rentals where you cohabitate with the owner. If an apartment building owner happens to also rent one room in the apartment they live in, it doesn't mean FHA no longer applies to the entire building.
“Metaclasses are deeper magic than 99% of users should ever worry about. If you wonder whether you need them, you don’t (the people who actually need them know with certainty that they need them, and don’t need an explanation about why).”

— Tim Peters
I believe the number to look at would be 10,000 BC. That's around the time humans settled down, and there have been various human settlements and pottery found since then. I believe the number of ~5,000 years ago is just based on the records we have-- that's when the Sumerians come into the archeological record with complex artifacts. And of course that's when we have records of large civilizations like Akkad.

But humans were certainly sophisticated long before then, even if they didn't have complex writing and government. One of the strangest pieces of archeology to me is the Löwenmensch figurine or Lion-Man, an ivory figure dating to 40,000 bc. So humans definitely had some complex culture for a long time. One theory I heard about why civilization developed so recently, is that it's in the past 10,000 years that the planet warmed up enough that farming became practical. I don't know enough about geological history to confirm that, but it seems like an appealing theory

https://en.m.wikipedia.org/wiki/Lion-man
Here's a good HN debate on that topic, with several current commuter cyclists participating. The result is a lot more nuanced than "clearly fails".

https://news.ycombinator.com/item?id=19634987&p=2

E.g.

ahoy: I don't know a single cyclist who agrees with that (Forrester) statement.

btrettel: I've been a transportation cyclist for roughly a decade and I agree with everything he said. Many cyclists do, particularly more experienced ones. Bike lanes can be helpful, but they are not the panacea many people make them out to be. I think the main benefit bike lanes have is increasing the number of cyclists which leads to the "safety in numbers" effect. I think far too many bike lanes are made poorly, however, and these ones seem to be less safe than if there was no bike lane.
Sorry, maybe my wording was too abstract. What I wanted to say: if you remove a catch statement in the middle of the function, then all the code after the catch statement will not be executed if an exception is thrown.
This is made by StackBlitz (not really, see reply to this comment https://news.ycombinator.com/item?id=29812650 ) who make a Cloud IDE that runs in the browser instead of a server. As for the why of that see https://blog.stackblitz.com/posts/introducing-webcontainers/ "What about Code Spaces/Sandbox/Repls/...?
Legacy online IDEs run your entire dev environment on a remote server and stream the results back across the internet to your browser. The problem with this approach is that it yields few security benefits and provides a worse experience than your local machine in nearly every way: it takes minutes to spin up containers, is prone to network latency, cannot work offline, often results in network timeouts, debugging frozen/broken containers is nearly impossible, and hitting refresh just reconnects you to the broken container again."
:) I was surprised touchpad did anything tbh - turns out it sends wheel events with different deltaY/deltaX values, so I just had to use the actual values instead of what it was doing before (checking if < or > 0 and scrolling by 3 rows/columns worth)
> Any suggestions?

Ability for keyboard-free editing, as in classical X: select to copy, click to paste.
When experimenting with new treatments, a control group is very important. Otherwise the study could be biased in favor or against the treatment. Even when a control group is present, a poorly-designed experiment could later turn out to be problematic, such as the Diethylstilbestrol (DES) medical tragedy (https://en.wikipedia.org/wiki/Diethylstilbestrol). In that case, studies that were in favor of the treatment were poorly-designed and used historical controls instead of contemporaneous ones.
The unrest is due to the Government reducing the subsidizing of LPG purchases. Seems reminiscent of some of the early unrest during the French Revolution where the Royal government did the same thing with grain prices. That too didn't work out too well for the French Government at the time...
And it affects more than travel. I'll never put even the smallest knife in a bag I use for airline carryon because I will forget it's there and probably end up losing it.
Duplicate of https://news.ycombinator.com/item?id=29812030
What's a useful threshold for "commonly"?
..and there was me thinking that it was only Java which suffered from that problem.

That kind of code is great if:

(a) you wrote it

(b) you knew what you were doing when you wrote it and

(c) you also wrote an extensive set of tests to cover the entire domain of whatever you were doing.
> Another major thing is the drop ceiling. It's designed to make access easy so that you can run cables and new plumbing anywhere you want.
> It's ugly so you'd want to find a way to have a modular ceiling that isn't a drop ceiling, but maybe that works for you.

If you build with trusses for floors instead of joists, you can get a lot of the same benefits as a drop ceiling without the ugliness. You can run plumbing/vents/whatever though the trusses without destroying the whole ceiling to get access. You might not need to cut into the ceiling at all depending on what you’re doing and what existing access you have (e.g. an unfinished utility space may allow access to supply new power cables).

Of course patching the ceiling is hardly a big concern if you’re talking about a structure surviving for 1000 years.
Have you tried RemNote?
Th people who complained the loudest about restaurant closures are the ones that get off the hardest on being served. They will most certainly NOT pay more for their meals.
In a jurisdiction where driving while intoxicated on MJ is illegal, no, that's not vigilantism. You definitely don't want people driving around stoned in London traffic conditions - very much need to keep your wits about you when driving here.
Yes, peoples' reaction to and tolerance of weed varies considerably, but there's just no need or reason to drive while high here.
Two things I know about bread: Roman soldiers baked bread, using beer as a raising agent instead of yeast, on account of the fast that beer was readily available.

A "baker's dozen" is the number 13. This is believed to stem from medieval England, where bakers gave an extra loaf in order to avoid penalties for being underweight.
I worked for Amazon in sustainability for some time. "Fitting" 'perfectly' requires literally billions of shape combinations, because multiple items ship in one box. I question whether it would save any holistic measure of energy/emissions/waste to solve that problem to any measure of 'perfectly'.

The work Amazon has done to change box types, switch to bags, etc., has reduced waste considerably per package, though I suspect the absolute amount of waste has continued to increase with business growth.
dd's reputation comes from someone calling it "disk destroyer" a long time ago. This is one in a long and storied line of such articles that predate the web: https://cloudnull.io/2011/12/dd-and-the-mighty-disk-destroye...
That article contains a "real income growth since 1967" table (about halfway down, on the right).

All quintiles show growth, with the 4th quintile (20-40th percentile) showing the lowest growth at +31.1% and the 5th quintile (lowest 20%) showing a similar +34.2% across that period of multiple decades.

That's indeed "essentially flat, but still slight growth".
Electric Capital Developer Report (2021)
Sorry in advance for shoehorning Rust into a separate conversation...

The new meta in Rust is to lift out loggers and replace the concept with tracing. There is a `tracing` package where you can setup spans like in OpenTelemetry but it also supports the logger macros so you can attach log messages to the spans.

To consume this you add a subscriber configured at server startup to send structured logging to a Json logger, or ship them to a Jaeger endpoint. Or sentry, as suggested in the article.

https://www.lpalmieri.com/posts/2020-09-27-zero-to-productio...
Yes. This is necessary, because US anti-trust law is grounded in consumer harm. It's not enough to say "hey, these two companies are colluding;" if a suit is to be brought, it has to be of the form "These two companies are colluding and as a result I'm getting screwed."
Women are commonly raped, particularly in some parts of the world. Now what?
Someone made a tool for that: https://github.com/MoserMichael/flagged-hn
> It's clear the author has little practical, real world experience with building.

Who gives a damn? Is anyone reading this and checking their $2 million bank account to start a build? It's a thought exercise and a fun one that has generated some cool ideas in my head and some good discussion.

It's one thing to comment on mistakes or corrections to be made, but it's frustrating to see someone go "this is silly and the author is stupid".
The company website the author works as CTO does not load... And it tells something...
Awesome! Surprised someone that far back has thought of it, but not surprised someone had a similar thought.
I check out OneBag stuff on the internet every so often. Sometimes I'll find good travelling tips or secondary uses for items. But so much of it is so wrapped in brands and buzzwords and precision it makes me laugh. It reminds me that even if I share some of the ideals with this community, I probably wouldn't travel well with a lot of them haha.

I'm with you: the more replaceable and maneuverable the better. My focus is on freeing myself from as many logistic problems as possible while remaining tolerably comfortable. I've travelled with one bag in a few different countries, doing a few different kinds of things. Every trip I get a little better and carry a little less.
> really curios if there is ANY overlap of your target audience and fedora users.

I believe it's the other way around: no other Linux distribution has a higher overlap with the target market of the Framework Laptop than Fedora.

Because unlike Ubuntu, Fedora Workstation has been specifically design for developers, hobbyists, and early adopters[1].

Personally, I only recommend and install Ubuntu for non-technical people, who don't need or care about always having the most modern OS features.

[1] https://getfedora.org/en/workstation/
But to continue the comparison, how would it work if it was a car speeding down the sidewalk?

And people bike on sidewalks because the roads are unsafe. The roads are unsafe because cars are intrinsically unsafe machines.
FTC warns of legal action against organizations that fail to patch Log4j flaw
CoffeeBoot
CoffeeBoot is a UEFI bootloader for x86_64 architecture. It looks for an executable elf (KERNEL.ELF) in the /KERNEL directory of a FAT partition. If the kernel is found, then the perks are copied to address 0x100000 and the code is passed to the kernel.
I like the separation of controls but I really miss the navball.
Use the comma operator: (acc.push(2*n), acc) will return acc. Or e.g.

[1, 2, 3, 4, 5].reduce((acc, n) => (n % 2 ? acc.push(2*n) : null, acc), [])
I mostly find childcare a burden with occasional bright spots. I wish it was restorative.

Still worth it though.
... thanks. not sure how my brain managed to turn "a bit over a year ago" into "2021"... fixed.
From elsewhere in this thread:

> I lost access to my Google account because I was away too long, and therefore all the accounts it was tied to.
Yes, agreed, we should not exaggerate. But guaranteed that more problems are caused by drivers who are looking at their phones while stopped than those that continue to pay attention to traffic. Because some amount of the distracted ones will suddenly start moving again when something has happened in the meantime to make that dangerous or inappropriate.
That should worry the hell out of you.

If you could install CAs only for a certain domain (default to the name constraints but actually set in the browser/Os) that would be fine, but installing a CA gives anyone with access to that CA the ability to make pretty much any valid cert, and your potential lack of security raises flags
> What is that message doing in shipping software? It cannot possibly help anyone.

Correct. Those low level messages should not be present in 'production' environments _unless requested_. The ability to log extra info for debugging is fine. Doing that by default isn't.

(User-visible) Warnings and errors only please. Can always dig more and turn up verbosity if needed.
Python is slowly going in the direction of C++. Sad to see, really.
Stupid question: Could it be that your hardware is faulty? Power supply, memory, or a defective Mainboard?
Painting it as a single company moving back and forth is an oversimplification but in a open market it's pretty close to "company located in US loses business to company located in less expensive country." Taiwan is hardly cheap but local labor-dependent stuff in Taipei seemed cheaper than the US when I visited - unlike Europe, say. Similarly, fewer workers seem to leave the US for better-paying jobs in Taiwan then vice versa. Googling salary estimates for EE jobs in Taiwan gives me ranges of up to 2.5M NT annual (90K USD) or 80K NT per month ($2900 USD).

TSMC was also founded in 1987, Taiwan has changed a lot over the decades and at a certain point inertia works for a lot even as costs may even out compared to in the past. What were those salaries in 2000?
Kind of reminds me of github Awesome pages. Here is a bash one https://github.com/joseluisq/awesome-bash-commands
It's probably because the Dutch diaspora has succeeded in getting their children hooked on stroopwafels (syrup waffles), salt licorice and those amazing dense raisin buns that seem to be approximately 50% raisins... I for one am happy to continue supporting their export economy!
I walk with a hiking pole. When not needed (mostly on sidewalks and paved paths) I tuck it under my arm so it pokes behind and to one side at cyclist eye level.

It really incentivises cyclists coming up behind to pass with a safe distance.
It's mainly mitigating exposure. Some possible vulnerabilities would be social engineering(i.e. it'd be easier to send a targeted phishing URL to gain recon on an employee of a company if you know an internal domain), or injection into a public facing service that has access to internal services.
We're two middle school teachers learning and teaching Python [audio]
Don't worry about the helmet, it's not your problem.

As for "stopping", what you think of it depends on how you perceive laws should be taken. Are laws something that should be enforced "to the letter" each and every time a violation is spotted? Or are they a matter of judgement for enforcement officers?

In the vast majority of cases, they're a matter of judgement. This is why there is virtually NO RISK for me as a cyclist to proceed through a red light literally in front of police cars.

There are good reasons for cyclists to NOT stop at every intersection. One big reason is, actually, safety. Car-bike accidents almost always happen at intersections. In many cases, it's best for cyclists to get through the intersection before the mass of cars starts moving again. This way they can get through the intersection, position themselves safely, and gain enough speed so as not be an annoyance on the other side of the intersection. Sure, the cyclist has to fully aware of cross-traffic and if they get smacked, it's their fault. But the sense of outrage that some motorists feel when cyclists proceed through an intersection before them is akin to a toddler-tantrum IMHO.
Will have to read more about Taylorism, thanks for putting this on my radar.

I can see how the post reviews could be toxic, but pre estimates could also be toxic especially if estimates suddenly become hard deadlines. I think it comes down to nuance in both cases.

Post estimates could tie into performance reviews and bonus allocation as well. Where your bonus and performance would be a tight feedback loop, and determined by multiple peers vs. a single manager.

It really depends on each individual org which way works best
Neighbor jaywalking on an empty street isn't dangerous.

People on their phones in traffic certainly is.

Whether it's dangerous while sitting still is arguable: certainly if the vehicle isn't in a parking lot and the driver isn't paying attention then they might not notice emergencies they're blocking.
Metrics? Distributed tracing? APM? Many production deployments have far better tools that don't involve grepping every service in the chain.
by finding a new job..
The environmental cost of providing water? Are we going to start charging for water fountains now?
> in Japan they often don't last past one owner

This has been brought up before on HN and I remember a comment mentioning that they thought it was due to the fact that earthquake proofing technology advances quickly in Japan so an old house might not be up to the most current standard. Curious if that's correct, and if not, why is this so common in Japan then.
I mean if they solve entropy and consciousness, they can calculate backwards and if it’s software, it’s a matter of scaling to trillions of people.
You can upload your designs in STL format to a number of injection moulding services for quotes.
Active Directory for windows, MDM for OSX and phones, custom package for linux.
>I'm sure many in that situation would prefer death.

I'm not sure anyone today can reasonably say what they thought. The desire for human survival, though, is incredibly strong.
The USA has a philosophy of having loose laws and occasional enforcement. This is partly cultural, and has a lot of negative side effects, particularly for minorites. It's pretty easy to do drugs or drive 5-10mph over the speed limit as a white person, but it's much more risky if not.

Contrast much of Europe, where speed enforcement is done by camera. I got a $20 mailed ticket for driving 5kph over the limit. Fair, easy, scales with the offence, and there's not an excuse to pull over people for racial profiling.

So yes, I would love to live in a world where people got tickets for jaywalking on an empty street. Because that would encourage us all to respect laws, and would also encourage reform of laws that aren't working.

Unfortunately, reform takes time, and there's a lot wrong with the system. Until then, I'm not judging the "regular person snitching," particularly if they're complaining about behavior that's dangerous to others.
This study (with more than a thousand citations) of 70,000 school children in the UK measured IQ at age 11 and compared with educational outcome (GCSE; standardized tests) at age 16. The correlation was 0.8.

Deary, I., Strand, S., Smith, P., Fernandes, C. (2007). Intelligence and Educational Achievement. Intelligence

https://www.sciencedirect.com/science/article/abs/pii/S01602...

I'd also argue that it's plain common knowledge. If you ask 100 people on the street, "Do clever kids have an easier time in school?", I think the answer would be a resounding yes.

Sure, there is a lot of "junk education" out there. Schools that will accept anyone, and give everyone good grades regardless of performance. That's why I wrote "at least it used to be". But Western educational systems hasn't yet regressed to a level where it's all trash.
During the Boeing 737 Max software fix, the FAA required Boeing engineers to make the system handle 5 simultaneous cosmic bit flips.

https://www.seattletimes.com/business/boeing-aerospace/newly...