skysight-inc/HackerNews huggingface dataset:
> 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.

No, it's not saying that. It's not a statement about blame, it's a statement about risk. If a motor vehicle hits a cyclist, the cyclist may die. The motor vehicle may get scratched. This asymmetry is a physical fact, not a moral judgement. As a cyclist on a mixed road you rely on drivers to keep you safe.

I don't know about the EU (I imagine there's a wide range of behaviours) but I sure as hell wouldn't cycle on most of the major mixed roads in London because it just takes one bad driver, and I'd like to see my kids grow up.
I realize this quote isn't meant to be taken literally, and it's a nice one-liner encapsulation of metaclasses, but it always bothered me. The people who "actually need metaclasses" were, at some point, learning about metaclasses for the first time and were "wondering whether they need them".

This quote ignores the middle ground of users who have a valid use case, but don't yet understand metaclasses. Not great advice for people who are trying to learn metaclasses.
Solved problem:

https://www.nps.gov/meve/index.htm
There was a now deleted insightful comment, by another author which I will paste below and then reply to.

----

No. That would be a pat objection. He is saying the value of IQ as a measure of intelligence-explained performance for anything that isn’t isomorphic to an IQ test is low. The reason IQ looks like a good measure or produces any correlation with anything outside of itself is because it is predictive on the low-side of the distribution. When you include the low-side data you get correlations on the high-side because of the correlation on the low-side. However, its predictive power on the high-side is mostly noise (a stick in the mud gets its support from the mud, not the wind). He demonstrates this by clipping the low-side data and comparing to salary (which he argues is a ‘real-world’ set not isomorphic to an IQ test).

In other words, a low IQ (very low) suggests lack of intelligence but, above some fuzzy point, a higher IQ does not suggest more intelligence (and could even be anti-correlated).

He is not saying some people aren’t smarter than other people or that dimension reduction is always bogus. He is saying that IQ is a bogus way to measure intelligence because intelligence is supposed to explain performance and when the clip the low tail it simply does not.

----

reply inline since I am out of post karma.

Thanks for that explanation.

Let me paraphrase from down here, to put it bluntly, the supposedly predictive value of this continuous variable (IQ) should really be replaced with a high, medium and low or a binary value. That the predictive power of IQ is much more coarse grained, and it doesn't do what it is commonly used for.

Slight defense, I wasn't trying to say dimensionality reduction was bogus either, nor was I advocating for pat objection. I was trying to reduce the argument down to something manageable so it could be pulled back into a discussion.

I do think we should always focus on the predictive power of any theory, value or mathematics. It is easy for one to intentionally or unintentionally go off into the weeds. How quickly does the measure become the goal? :)
>You are trying to claim that psychological addiction isn’t as real as physiological addiction, not just for alcohol.

I never said such a thing and this is just a malevolent and calculated lie.

>What isn’t clear is why you want to deny the difficulties of people who have psychological addictions to any kind of drug.

It's not clear because no such denial exists, and it's only alleged as part of a malevolent and calculated lie.

My original comment said they were both real. I'm saying regarding being straight up executed, the numbers game is that psychological addiction doesn't look nearly as likely to straight up execute you. I've said nothing to say psychologist addiction isn't a difficult for some people.

I don't know about you, but I think it's extremely important, ESPECIALLY FOR PEOPLE WITH EXPERIENCE IN PSYCHOLOGICALLY ADDICTIVE SUBSTANCES who have perhaps had insanely hard struggles with things like opiates to understand that no amount of willpower will spare them from the very real chance of involuntary death from benzo or alcohol withdrawal.

You've built a straw man as tall as the wall of china is wide.
I once lost a very nice wine corkscrew to the TSA that I forgot was in a backpack due the little foil cutter blade.

The guy in charge acted all jubilant, like they successfully thwarted a hijacking.
Nice, yes of course. I always forget that format though :)
This seems to be saying "don't log useless info". Yes, that makes sense. It doesn't hurt if you do, but sure I'll take that.

But then says anything that is important enough to log should notify you.

You don't want to be notified for every spurious network connection, login failure, etc or you will be drowning in notifications. So you realize you want to queue up those notifications so you can filter them. Congratulations you have now just recreated logging :-/
Am I the only person who sees this guy as a menace, safety risk, and generally an A-hole?

And I say this as a cyclist.
A friend gave me his Dad's old 386 to use as a word processor. This inspired me to buy a second-hand 486 (a big purchase for the family). I decided to put a CD-ROM in the 486 myself. I was smitten. 25 years later I have advertised fixing computers in the newspaper, photocopy guy, IT Technician, IT Manager, Infrastructure Team Leader, owner of small Saas business, now teach IT to grads.
I mean at the end of the day, you’re buying a laptop from framework, if the laptops work does work that’s on them for choosing to use an intel chip with known issues.

Laptops are sold as an appliance for the most part, they have to own it’s quality.

Actually more than that, this should first be an excellent laptop and then the repairability and customisable it should be layered on top of that without compromising it (too much), as opposed to the other way around.
A house is a private place - you own (or rent) the land and the dwelling, and with that comes the right and expectation of privacy.

A car is a way of moving through public space. There's no automatic expectation or legal right of privacy there, any more so than in public buildings, parks, on transit etc where people are walking around.
“The wrong circumstances” would be, for example, a steep rise in costs across the board, and they are faced with the choice of eating at least some of it, or losing a lot of customers. I spend a lot more time thinking about edge cases since, well, all this. Anyway, if you look at their gross margin on benefits, it varies between 4.8% to 5.9% in the periods they report, so it’s not a constant margin to begin with.

Gas isn’t a great analogy because gas is an inelastic product in a very liquid market where everyone on the retail level locally has the same cost structure. That is not the case with benefits
Why not? What's the fundamental difference between this and a CCTV camera in a gas station?
>the code looks similar in Python

Minus the sigils and crazy wrapping, like: @{ $TV{$family}{kids} } to refer to the array, but a different sigil/form if you're talking about one element, etc.

Which may not look intimidating on its own, but it's leaving out % and the backslash \$reference syntax, $object->method and other things that get confusing.

You can't, for example really make a "list of hashes/dicts". Try it, and it just turns the keys/values into array elements. You have to specifically make a "list of references to hashes/dicts". So you do something like:

push(@list,\%hash);

Then, fun things like a double sigil:

foreach my $hashref ( @list ) {
print keys %$hashref;
}

Note there are several ways to do all this, and I am highlighting some of the more visually confusing ones.
Interesting, I never realized that there can be such a huge difference in quality, thank you.
You reminded me about a situation with my father: basically he uses signals for overtaking/turning, not before it to signal the intent. There are many people who do it this way. He would look around forever in the mirrors etc. trying to start the manoeuvre but won't let anyone know his intent until it's already happening.

Incidentally, last week we were installing a fridge, and while cutting the packaging with a sharp knife, he told me, without looking, "be careful!" (without saying "yo, I'm cutting stuff with the sharp knife"), around 0.1s before cutting my hand ¯\_(ツ)_/¯

This made me realize how prevalent and dangerous are poor communication skills.
It’s been done
Please send a film crew there.

Everything about this screams utopia-turned-dystopia horror story.
I'm sure a ton of people do both or neither, since "people" is a pretty vague category. But based on those I've talked to myself, and the popularity of reddit's antiwork sub, along with the rumblings in social discourse for the past, I dunno, 30 years or more, there are a lot of PEOPLE out there who really just want to not work at all. There's some argument about the definition of "work", since many of them might wish to do something that would be defined as work if they were paid for it by an employer. Still, others would be perfectly content becoming characters from WALL-E. I don't know how to feel about those types yet.
Note that this doesn't appear to have been submitted by the post's author, and HN may not have been the intended audience.
FTC settles with analytics firm after millions of Americans’ mortgages exposed
Does it really matter? We're all inconvenienced by stop signs when we have places to go but that doesn't give us the excuse to run them.
It's hard to take Americans seriously when they say they're for women's and children's rights, when they proceed to kill and rape innocent women and children in the middle east. See how easy that is to do?
> The other downside is you're going to be tempted to go down the rabbit hole and do everything in Rust.

Downside? :)
> Many (not all) cyclists seem to think that they are exempt from traffic laws just because they're not in a car.

But, at the same time, many (not all) motorists seem to think that they are exempt from traffic laws just because they're in a car.

I could walk to the nearest junction (~5 minutes from here) and find 20 cars jumping red lights, blocking a junction without a clear exit, randomly changing lanes, blocking a pedestrian crossing when it's green, etc. in 5 minutes of watching. And that's one junction on a semi-major road which is probably 10 miles of solid traffic in peak time.
How to build a house that lasts 1000 years: tunnel into stable hard rock.
I would not be surprised to see Moscow coordinating/assisting a response to the unrest under the guise of protecting Russians/Russian speakers in the country. These countries that border Russia are all impoverish and ruled buy dictators/old guard just like Russia is ruled by Putin today. It would be wonderful for the people of Kazakhstan to finally be able to enjoy their culture, language, customs without Russian interference and basically a Russian stooge in charge of their country.
I think the abstract stuff you're talking about is caught exceptions. I'm talking about catching exceptions where the only purpose is logging:

> Just log all uncaught exceptions in something like Sentry, or a file for that matter, via a global exception handler.
you mean the literal "let them eat cake" thing?
On a related tangent, I found the book Against the Grain, by James C Scott, to be very interesting. In it he discusses how farming existed long before cities, and how certain grain crops contributed to (and were leveraged for) the emergence of city states.

https://www.goodreads.com/book/show/34324534-against-the-gra...
They're still active participants in traffic. Someone who is waiting for the signal without the distraction of a smartphone will have seen the flows of traffic commence and stop in the other lanes and the roads that meet at the crossing, and will go into the crossing more relaxed and with better situational awareness than the person who just got jarred from chatting with someone about whether to get take out, and “oh, could you drive past the supermarket to get some wine?” into moving because of the honking behind them. They are also much more likely to notice irregular or otherwise unsafe behaviour by others around them (like a kid on a BMX dashing across at the pedestrian crossing too late to beat the lights).

Collectively, these moments of reduced attention cause way more harm than they should, all because so many people can't leave their damn phone alone while operating a vehicle in traffic.
I wonder when he is going to make that call to Putin to save his behind - read reports of police and soldiers joining the protestors in some towns.
My method is platform agnostic.

You set up all your vaults under the same folder. You 2-way sync that folder to a cloud folder- Dropbox, MEGA, sync, box- whatever. You then create a folder with the same name on another device, and then use the client for your cloud service for that platform, and then set up two way sync with that folder on the cloud.

Works great with my Android-PopOS system.

Also tried it with Android-macOS, and iOS-Windows.
Rolling Square's AirCard fits in your wallet, works just like an AirTag
I was wondering that too. If I wanted to design a wood-burning apparatus that would be efficient and last 1000 years, I'd use a design that was more like a masonry stove (centrally located on the inside of the house). In any future (I think), a backup source of heat in a cold climate is a necessary redundancy? I would use the most efficient tech now for the burn chamber (rocket?), but also design the burn chamber in such a way to allow for it to be replaced with better tech in the future (perhaps the masonry stove outer structure and thermal bank would support itself - steel exoskeleton? - etc.).
Elizabeth Holmes learned all the wrong lessons from Silicon Valley
> Housing is not calculated in inflation rates

False. https://www.bls.gov/cpi/factsheets/owners-equivalent-rent-an...

Shelter (the service that a house provides) is included as a consumption item in the CPI figures (and, as any adult would expect, has the largest weight of any of the 211 items that constitute the CPI basket).

You can see the significant changes to the calculation methods detailed here: https://www.bls.gov/cpi/research-series/r-cpi-u-rs-changes.h... The rent equivalent method for owned property has been in use since 1983. (Prior to that, housing was included in CPI, just with a different method.)
I have traveled with checked in luggage three times in my life: once when moving to the other side of the world, another time when going on a trip from Greece and bringing back presents, and again when going on a two-week business trip on another continent (traveled there with carry-on only, came back with a couple of gifts checked in). Most of the time whether it's business or pleasure, I hate having more than one bag with me and just take carry-on.
I think that laws are at a certain degree "elastic" and texting while completely stuck in a jam is not the same as texting while you are moving. So, snitching on that it's closer to being a "vigilante" than filming drivers who are actually being dangerous to cyclists, which it's something I would totally justify and even do (the filming, I mean).
Salary info I'm finding on google suggest that electrical engineers still get paid less in Taiwan than in the US. I'd also be very curious what those numbers looked like over the decades when offshoring really ramped up.

Not "10x less" or anything incredibly dramatic, but for a business, money saved is money saved.

It's silly to have a whole thread of back and forth responses on "is it racist to say cost of labor is cheaper somewhere else" without looking at the numbers to see if it actually is. GDP per capita is very much not the same as salary.

Personally I'm waiting for engineering salaries in the non-US to catch up to the US because it'll make it easier for me to leave the US if I choose to do so but it doesn't look like it's happened yet.
As you get to know yourself, you give yourself more permission to do good things for yourself. As you grow, you might realize that the present moment is most important. This is the range of experience where you are conscious. Learning how to take advantage of this will help you make better decisions. Another tool is that if you find yourself in an uncomfortable situation, deflect your attention elsewhere. In this way, your perception of an uncomfortable experience will not process into long-term memory. Keep your adrenalin levels low if you don't want to be haunted by an uncomfortable memory.
cf. https://news.ycombinator.com/item?id=29812030

The author had already said over a year ago he wouldn't work on it anymore, could equally be him just wiping it now.
I assume many people also looked around at friends and family with computer friendly jobs and saw them be able to work from the comfort of their own home in the event of a public health emergency, while they had to still go out and deal with the public face to face.

If I was in their position, I would be demanding a hefty premium for having to leave my house to earn money.
Centuries-old wooden buildings have the advantage of being made from old-growth wood, which isn't available to modern builders.

My current house is made out of logs. We'll see how long it lasts, though I suppose I won't be around to see it in 1000 years.
I bought an extra domain for our internal network.

$COMPANY_SHORT_FORM.network

Works really well and wie no longer have the issue of deploying root certs in devices.
Stainless steel needs oxygen[1], otherwise it will eventually corrode with pitting and "crevice corrosion"[2]. I wonder what the ingredients are in stainless rebar, and what the oxygen environment is like.

[1] https://www.thermofisher.com/blog/metals/is-stainless-steel-...

[2] https://www.cruisingworld.com/how/beware-stainless-steel-cor...
What do you mean by Islamic state? Something like in Iran, or something like in Turkey? I'm not sure what your sources are but if you mean something like in Iran it's extremely unlikely to happen in Kazakhstan. Russia taking some land is more likely but Russia would likely prefer better relations with Kazakhstan due to their gas and economic ties, and annexing that land isn't really that important compared to Ukraine.
I hope everything turns OK for them.

In these old muslin Soviet republics there are always religious nutheads waiting for a chance to make a move. Kazakhstan is probably the most secular of them but they could very well create a lot of trouble.
Well Putin did say the dissolution of the USSR was a "genuine tragedy".
Nice! One thing I thought ASTs weren't that good at was the initial writing of code - did you find that?
I think things like this are very boring. Functional, frugal, practical, efficient but boring. Which is a good thing. But people like to romantecise over the most mundane things that it soon becomes a fad or a statement and a community. Soon, the sellers swoop in and turn it into a brand and a lifestyle to get you to buy the expensive stuff.
As a conspiracy, as Kazakhstan crisis happens just before Russia/NATO summit, it may not be as simple as a "price protest".
They also dry very quickly when you do wash them. Very convenient for hotel/hostel sink laundry days. My first longer-than-a-weekend trip was 2 weeks and I took cotton undershirts (mistakes were made). Since they tend to pick up odor quickly (at least the way I sweat) I had several days worth and they took a while to dry. Switching to wool shirts, I could pack 3 and do laundry once on the trip and no one would notice, and the faster drying time meant that if I did have a particularly sweaty and malodorous day, I could quickly wash that shirt and it would be dry in a couple hours.
Sort of? I've been sideswiped by a car stopped in bumper-to-bumper traffic. Driver yanked the wheel and hit the gas without looking or signaling. I was immediately adjacent to him in a green bike lane and got hit with no warning.

No ticket or warning was issued. I had a camera rolling.
> With you for the most part, but can’t get behind your analogy.

I think the analogy works. No single engineer whether out of university or not can build a 747.

However a single person built a search engine. Duckduckgo. The person didn't even have a degree in software engineering. He had a physics degree.

I see your point. Let me put it this way. Somewhere in building the F-16 or the boeing 747 there is a form of theoretical modelling that must be done as a fundamental thing in order to build it. You need to calculate the flight dynamics and mathematically model the control system using math skills that cannot be obtained by attending a bootcamp.

Most of these skills can only be obtained through several years of practice, and a bootcamp doesn't offer that. Granted there are many parts of engineering a 747 that don't need these deep design skills so you can get away with not knowing what an ODE is while being an engineer.
There is one difference: Singer et al paper excludes all patients with previous cardiac incidents.
Anecdote about log4net, a popular .Net logging library:

Once, when working on a shipping desktop application, we got to the point where we had to care about performance. When we turned on a CPU usage trace, the highest CPU consumer by a few orders of magnitude was the logger.

That surprised everyone, so we dug in a little deeper. Turns on log4net's default behavior is to calculate a complete stack trace for every logging statement, even if the stack trace isn't being logged.

Now, there may be good reasons to log a stack trace now and then, especially if you're trying to diagnose a difficult-to-reproduce bug. But, it's trivial to calculate the stack trace yourself.

When we reconfigured log4net to not calculate stack traces, our CPU usage lowered dramatically.

Lesson learned: Don't ship code with obscure features enabled that are performance pigs. There's no reason to calculate stack traces on each logging statement when the stack trace isn't being logged.
There are a few ways to deal with that. One is to declare the properties directly in the subclass:

class Inject:
def __init_subclass__(cls):
cls.injected = 42

class Child(Inject):
injected: int

print(Child().injected) # 42

This technique isn't too useful in practice, though it has its place (e.g. when creating ctypes.Structures). But there's a clever way to simplify this. Remember that the subclass is a subclass -- it inherits from Inject:

import typing as t

class Inject:
injected: t.ClassVar[int]

def __init_subclass__(cls):
cls.injected = 42

class Child(Inject):
pass

print(Child().injected) # 42

(ClassVar[int] ensures that type checkers know it's a variable attached to the class, not each instance.)
That's a good summary.

I do carry a second small bag but that's in part because I want the bag anyway for walking around once I arrive at my destination. So why not compartmentalize?

I also don't pare my electronics and just in case stuff to the absolute minimum but that's partly because I like to have standard "grab kits" that I can just grab and throw in my bag most of the time. (With some exceptions, e.g. plug converters which I don't carry everywhere.) But it's all mostly small repair, medical, and other stuff that has been useful from time to time. I periodically revisit as otherwise it grows over time.

Fully agree on the large headphones. Never got the over the ear Bose noice canceling for that reason. I do mostly travel with a laptop. Never been able to get into working on a tablet. But I do have a strict rule of no more than one laptop-type device and one tablet-like device (iPad or Kindle).
The original statement assumes that someone does not know nothing and has to start from scratch.

In any way I am all in for the type of developers that know how to screw size 8 bolt into size 8 nut and the rest be damned. It keeps some healthy niche and remuneration for little more versatile types.