skysight-inc/HackerNews huggingface dataset:
(author)

Thank you a lot! I'm humbled by the attention you took. Please bear in mind I never intended to see this project publicized so early on the HN stage. I'm still experimenting in C, and it shows...

That's a lot to chew on. For the moment :

> Free'ing OWN before all refs = leak

More like UAF ? Also, you can't. That was the idea. But it seems a bad one, according to you and user rom1v.

> Reference count is non-atomic = potential corruption

I'll try to make it so. This aspect is new to me. Anyway I hear it's quite hard, beyond that, to have a thread-safe lib, so I'll advertize it as non-TS.

> branches

Maybe that's the price for compacting str+str_view into a single type ?

> enough footguns to worry about with 3 states.

I agree the VUE should maybe drop.
No but it’s to say that for many in the us installing a heat pump heater is a major expense where the roi will take many years to break even from savings
I tried a few of these with different companies. Each one has failed due to technical difficulties of the platform (in my case prerecorded video interviews) and in every case I tried to file a ticket and never heard anything back. Black hole.

In one case I did a prerecorded interview and they later contacted everyone because something went wrong and they wanted everyone to do it again.

Done feeling like a number.
> a supposedly unrecognized genius

I think his floppy disk controller for the Apple II was pretty widely recognized as real stroke of genius.

>The Apple II disk controller, designed six months after the Apple II itself was complete, was Steve Wozniak's crowning achievement. His five chip disk controller card out-performed competitive controllers that were four times as expensive by shifting most of the responsibilities from hardware to software.

https://www.folklore.org/StoryView.py?project=Macintosh&stor...
> [W]e do a few easy coding exercises. ... The number of candidates who struggle with the Zoom interview coding exercise is surprising. It's a lot higher than expected and almost all of our candidates at that stage have 2+ years of professional development experience.

Indeed, this simple filter is the original purpose of FizzBuzz and other simple coding tests. Circa 2007: https://blog.codinghorror.com/why-cant-programmers-program/
To add, QuickJS is almost completely comparable in test coverage, except for internationalization (which makes sense it wasn't a priority, since it's not used in a browser).
Sounds very useful to check whatever the HPC is doing from a SSH session without having to move files around.
Grid solar is more efficient in general and much safer to install than rooftop solar, some people simply dislike connecting to the electric grid for various reasons.

Anyway, you don’t need to face south if you just want more energy on cloudy days. As to more panels, it’s a question of how much you want to be off grid and how much energy you need. Normal solar installs cover a small fraction of the roof.
From what I've read the removal of lead from gasoline is partially a factor in the sudden reduction of crime during the latter half of the 20th century, but it's not enough to explain the entire trend... which seems to be a preponderance of factors.
A lot of people have this reaction to aerial photographs of densely-populated places, but, crucially, people don't live in aerial photographs -- they live at ground level. And the experience of being on the ground in places like Barcelona is very nice, no matter how it looks from the air.
This feels a bit reductionary. Database indexes definitely have more to consider than just simple lookup tables. I’d say that mental model breaks down in practice.
In the past, we hired devs who could code well when given well defined problems, like you'd get in an interview process. But they struggled with the actual development work after we hired them. We put some effort into figuring out the disconnect. Turns out, one of the most important skills in our organization is being able to break down a business level description of the work to be done and turn it into discrete development steps. Also, need to have a good grasp of data modeling and how to change the model to support changes in the work requests.

So, those are the first two things we test. We give the candidate a description of the work to be done and ask them to interact with it. What questions would you ask the client and how would you break this down into stories/issues? Then, we give the schema of the existing database and ask them to modify it so the new schema supports the work requested.

Still very software development oriented, just not coding. We have more in-depth coding exercises later in the process.

I realize in some orgs, there would be a project manager or product owner of some type who would break that work down. And we have team leads who do the majority of that work. But for our org, devs who couldn't do this struggled to perform well in the development work too. So it became a skill that correlated to being able to succeed after hire.
right now you can accept SWIFT for non-sanctioned banks or UnionPay which is a Chinese payment system compatible with Russian cards
Ask HN: What happens after a company gets acquired?
Will they replace managing directors, CEOs etc ? What other things may happen?
How would Wise transfers even work with the sanctions? Not to mention the lack of liquidity in the market for Rubles...

Edit - really, I would like someone to explain exactly how Wise should accomplish RUB-USD/EUR transactions with the current sanctions and if they'd take that risk on themselves. Nothing like holding a falling knife...
It's like poker. You can play optimally and still lose. You're just maximizing the odds in your favour.
Ah, so wild speculation that maybe the NSA is somehow behind it after all. Gotcha.
> This is a telltale symptom of quacks and cranks. "My truth is being suppressed". The more normal explanation of superiors telling someone to shut up is either because it's top secret information about military tech or plain old bullshit. Only quacks come to the conclusion that "they want to shut me up". In fact, it's one of the items in the crackpot index.

Yes. This is a textbook example of the Conspiracy Fallacy. The problem is that the Conspiracy Fallacy doesn't actually disprove a conspiracy- it only says that you can't use a lack of evidence ("the clintons are hiding the bodies, of course, because they're guilty!") AS evidence. And when it comes to reporting UFO's, talk to anyone in the past 70 years who's reported them and ask them how it affected their reputation; this is a real risk to anyone who may be reporting a real thing.

> UFOlogy is the realm of woo

So is science, sometimes. Turns out that humans are flawed and bring judgment into everything, such as anyone who initially called out The Ether, Miasma theory or, eh, pretty much all of psychology into question.

> Who wants to be associated with some weirdo claiming he was sexually abused by space aliens?

No one. Which is why only the weirdos who don't have much to lose, report that. Survivorship fallacy... You don't know any of the reports non-weirdos would make if they could do it without harming their own reputations (disclaimer: I know of at least one, a CEO of a 100+ person firm, who only told me his story if I did not retell it... it's amazing what people will tell you when they feel you will not judge or shame them!). Which is why it's dangerous to bring shame and judgment into any such claim.

> instead of shaky footage and unreliable witnesses

The footage seems to be getting better and there's such a long list of reliable witnesses at this point that to claim otherwise is extremely willfully ignorant.
Cached version

http://webcache.googleusercontent.com/search?q=cache:https:/...
You'd also be changing the focus of your eyes nearly constantly as they saccade from one object to another. I agree that it's ridiculous using a study like that as a way to dismiss the conventional wisdom that staring at things close to you face for long periods of time is what causes nearsightedness since this study is proving the point that not spending a lot of time doing indoor activities is better for your eyesight.
I'm a fan of flat income tax with flat, per-person guaranteed income. Set the tax rate and base income so that the changeover is revenue neutral, zero income people are a bit better off than currently, and the 90th percentile pays about what they pay now. Billionaires will end up paying way more. (In this proposal, capital gains are treated as regular income.)

The beauty of this is that now you can add astronomical consumption taxes, and just plow the increased revenue into the guaranteed income pool. On average, the consumption tax is revenue neutral for the government, and (as a percentage of income) disproportionately goes to the poor.

Also, you can eliminate 99% of the US tax accounting industry, food stamp program administration, and all sorts of other bureaucracies.
You’re thinking like a programmer, which is fine, but it’s not how lawyers think and operate. The law is not read literally in most cases — even in traditional property crime cases — and never has been. (“Breaking and entering” is a perfect example.) It can’t be, because English is an imperfect language, and situations in which the law is applied are frequently complex and novel. And I don’t think society wants an overly complex and literal legal system: not only will it be even more difficult to understand, but it will encourage even more attempts to evade it and leave a trail of innocent victims until we patch the law to fix the bug. (And if you think it can take software companies a long time to address vulnerabilities, the legislature can take an eternity).

As I’ve said elsewhere, you’re not going to be punished for the mere act of accidentally downloading an open file. Courts look at the totality of the circumstances to determine whether a crime was committed, and the adversarial system makes it such that the prosecutor is going to have to prove beyond reasonable doubt that not only did the proscribed activity occurred, but that the defendant had scienter (required intent/state of mind) and that in a case like this, the circumstances suggested that the data was not intended to be public. And as a defendant you will have the equal opportunity to argue that you didn’t violate the law, or that it was a mere accident. But if you’re keeping a cache of these stolen files around or sharing them with others, then perhaps you’re not so innocent.

There’s an old axiom that “a liberal is a conservative who’s been arrested; a conservative is a liberal who’s been mugged.” If you ever become a victim of a crime, you might appreciate these protections in a way you seem not to today.
Pumped Hydro Not a Magic Bullet for Energy Storage (2011)
This seems like the worst of both worlds. If you're going to use the /* */ I don't see why you'd bother with // unless it's about recognizing a comment in a single line.
Well, I guess your options are:

* Trying to figure out a way to improve processes at your current job. (There might be a way that isn't or doesn't feel like "pushing hard". OR, your current job might just be completely uninterested and this is never going to happen).

* Finding a new job. (The job market is as good for software engineers right now as it ever has been for anyone ever, pretty much)

* Deciding to live with it
Empowering workers is not a selling point for the companies that want to use a service like this.
Investors want strong personalities so they can create a self-fulfilling prophecy, that's most of what's behind it.

A person that is likeable by investors (someone with big, crazy ideas/promises, temper, charisma, good self-advertising skills), and that investors can internally justify handing money.

This is also how someone like Musk can exist.
By causing mass starvation? That's a cynic view if there ever was one.
Sadly, it's considerably easier to rise to power in any organization if you have sociopathic tendencies. Jobs had a significant lack of empathy among other traits, and that gave him a huge advantage.

The only reason he's lauded as a leader is that he made a lot of money... which is also easier to do if you have a lack of empathy and ethics.
At this point, there are very few tools actually running on WebGPU, as it's too new. One to watch for sure is IREE, which has a WebGPU backend planned and in the works.
Some 15 years ago or so? I don't remember. I was working at Apple on the color and graphics team. I don't even to this day remember what the exact circumstance was, but for some reason me and another engineer were urgently called into a conference room just a week or so before some big Apple product reveal. I feel like it was when the "Aqua" UI was to be revealed — I feel like it was something about the seven label colors used in the Finder to label files.

Anyway, we went to a section of a building that I had never been to before and a conference room with no windows. When we were led in there were detailed notes all over the wraparound white boards — what features to be demoed, what order. All sorts of notes and annotations (and also sticky notes?) added to the items on the whiteboards. Something like a conspiracy theory nut's HQ, ha ha. There were machines lined up against a wall on long desks running the software to be demoed, people scurrying around (designers? marketing types?). (I believe that Phil Schiller was there — the only time I have been in a room with him.)

Jobs was not there when I was there, but this room/show was all about Job's keynote.

It amazed me the degree to which this was a major operation, not at all an after-thought (not that I think anyone would expect that of an Apple keynote presentation).

Yeah, we lowly engineers were brought in to look at a specific issue they were seeing with the OS in the demo. I don't think we were expected to fix it, maybe we offered a suggestion on how to work around it?

Related: I was told by my manager (so this could be bullshit) that Jobs never went off script. Never. Everything you saw on stage, every step of a demo, was exactly planned that way — was rehearsed precisely. A single "ad-lib" in a demo of course could have exposed a hitherto-not-seen bug that would be hugely embarrassing. But Jobs was very good at following a script he had helped create, make it look natural.

I had also heard (so this could also be bullshit) that a 2nd machine was set up behind the stage and someone was stepping through the demo at the same time Steve was. If something locked up Steve's machine, in an instant the displayed hardware could be switched to the 2nd demo machine with only a small skip of a beat. I am not aware that it was ever needed.

I guess my take away is that Steve Jobs worked very hard at being Steve Jobs. If he made it look easy then — it worked.
According to levels.fyi, the median salary in Google Munich is 147k USD [1] whereas the median for Warsaw is 82k USD [2]. Central Europe salaries are still quite a bit lower, even if you can be creative with taxes. Those B2B contracts are not quite as prevalent as one might think - larger corporations typically don't use them. And, from my experience, you can get to an even better take home pay with a little bit of time and career progression.

[1] - https://www.levels.fyi/comp.html?track=Software%20Engineer&s...

[2] - https://www.levels.fyi/comp.html?track=Software%20Engineer&s...
2.4 kWh isn't much, but 14 minutes is also an absurd time to shower. Get wet, turn water off while soaping & shampooing, and rinse after. I haven't timed but feels like a normal everyday shower shouldn't have more than two minutes of running water.
Imagine how expensive purchasing twice the battery from the manufacturer would be.
Its been a long while since I used EvilLyrics: http://www.evillabs.sk/evillyrics/
Today we have CSS custom properties which do similar things:

- Authors can define custom properties as long as they start with a double-dash, like --demo

- Authors can leave these values empty, or put any code that doesn't break CSS's syntax inside. This can be CSS values, it can be JSON, it can be other languages, even some JavaScript could be stored in CSS to be read later

- Using JavaScript you can read the values of CSS custom properties, and set them

So it's possible with a tiny bit of JS to re-create what the old IE expression() function used to do in any modern browser in a fully standards-compliant way
Next level: maintaining two separate github repos. One for the dystopian automated interviews and one for you.
I never understood the strong emotional reaction to gas flaring. I think there is likely some excess use on the fringes, but my understanding is that in most cases not-flaring would be more wasteful.
WebPPL – Probabilistic Programming for the Web
Google salaries in Poland are below market rate, actually. They probably think that people will come to work for them for free just because they want to have "Google" on their resume. Source: I was approached by a Google recruiter once, but did not even schedule an interview because of the lowball offer presented (total comp, including stock options, was way below what I make currently). $7k is not a market rate in Poland, unless you're talking $7k after all taxes.
The Federal Reserve keeps floating the idea of a state-issued crypto here as well....
I think technically inclined folks are so inclined to think about skills they miss that aspect sometimes (including me).

A local football coach was giving a talk and said "a lot of people want things, but very few people are willing to do what it takes".

The message was that the opportunities are out there, and it might be surprising how few people are reaching for it / doing what it takes to get it so quit worrying about imaginary "better" folks who likely aren't even trying.

The older I get the more I realize that's true.
> you're just going to ping-pong between two open bug reports.

I guess you don't have an automated test suite that would prevent you from committing code that causes a previously fixed bug to come back? (Ie, the real meaning of "regression")
That was in response to Ukraine's president seeking to join NATO.

You have the timing backwards.

> In April 2005, Viktor Yushchenko returned to Ukraine's military doctrine the mention of Ukraine's strategic goal - "full membership in NATO and the European Union." The new text read as follows: "Based on the fact that NATO and the EU are the guarantors of security and stability in Europe, Ukraine is preparing for full membership in these organizations."
> I'm only speaking for myself but there isn't a thing in the world I wouldn't do if I'd have to defend my own family even that means wiping out half of humanity. If I'd think very hard about I'd even wipe out part of my own blood to ensure survival of my own offspring.

The Russian army has no interest in harming your family. It wants to achieve a set of political aims using violence, and to achieve those aims they are perfectly willing to harm your family. So it's those aims you need to make up your mind about, while considering the possible harm to your family that you will likely be unable to stop.
Birthright implies you're entitled to something by being born. You aren't entitled to FAANG job by being born somewhere.
I live close to the site of the Marshall fire in Colorado which destroyed a thousand homes at the end of 2021. The amount of soot was surprisingly large. After post-fire snowfalls, snow pushed to the edges of parking lots was blacker than usual, probably from soot already on the ground that got scraped up with the snow. The other day I saw a couple of workers shovel soot off the Costco roof into a truck. In addition to more soot than I expected, it was more toxic (according to local reports) from all the plastics and chemicals that were burned.
Container Escape to Shadow Admin: Google Kubernetes Engine (GKE) Autopilot
A new genus of bamboo culm tarantula from Thailand
It’s a pedantic joke that decades start at “1” and end on “0”.
Senate sends bill to make lynching a federal hate crime to Biden
Perhaps past lead usage in fuels will indirectly lead to collapse of the civilisation:

Lead is known to decrease empathy and increase crime.

I don’t want to generalise an entire generation but boomer generation was heavily poisoned by lead and perhaps this made them more selfish and less emphatic. Maybe this is the primary cause of many current problems? I wonder if humans were supposed to be more emphatic in past before all lead poisoning happened.
Mr. Mackey booting Linux 2.0.35 in latest southpark episode
Honestly? The most likely scenario is that a very large asteroid is spotted heading for earth some decades or centuries in the future, and we have to use every warhead we have to blow it up or turn it away. Extremely unlikely, but still more likely than humanity voluntarily giving up all nuclear weapons. And some people will build more. Always. The knowledge is out there now, and people will build them for a power trip or even just shits and giggles.
The reason CSS will never have //-style single-line comments is that the entire CSS language is parsed as a single line, so if you ever entered a //-style single line comment there would be no return from it for the rest of the input stream.

(Kind of like the <plaintext> element in HTML, once you write the <plaintext> open tag all text after that is plain text, so you can't write a </plaintext> to get out of it - the whole rest of the file is in that mode with no return)
It's fictional, of course, but the movie By Dawn's Early Light covers a scenario where a limited nuclear strike could occur (essentially the two sides negotiate to nuke each other equally as much, but not to an all-out extent): https://en.wikipedia.org/wiki/By_Dawn%27s_Early_Light
A new gas furnace plus A/C with the required high efficiency ducts will also cost about the same in the Bay Area. The 20k heat pump makes sense if you have to replace your entire HVAC system anyway due to age.

Cheaper options that work in parallel with your existing furnace are ductless mini splits with one or two indoor units serving main living areas.
> Jobs got to where he was because he had a smart friend

You can dislike the man, but saying that is not fair, he was far from a one hit wonder.

Apple, NeXT, Pixar? those are the ones I recall. Luck won't get you there.
vcpkg is great.
It's worse now, because there's more formats. Unfortunately, MP3 and AAC are still popular enough that software needs to support it, so you now need to support mp3/ogg/flac/aac plus opus, which is usually ogg container, but has its own additional metadata, and also sometimes it's in matroska container instead.
My guess, based on little other than a gut feel, is that while a lot of explosives were dropped on Tokyo, the energy was not concentrated enough to lift the soot high enough to be a global problem. But also, 1.6Mt just isn't that big a blast if you're talking nukes. Yes, it's bigger than current individual service warheads, but not by all that much. The B83 goes up to 1.2Mt.

To put another bound on the question, Krakatoa was estimated at 200Mt in a single blast, and that definitely did affect the global climate. Again gut feel, but my suspicion would be that many distributed explosions around the globe totalling 200Mt would be worse in terms of direct effect just because there would be more physical mass available to be thrown into the air. Plus the soot would be radioactive.
I'm going to assume you want to make the best applications you can on each platform and are not willing to accept a lowest common denominator solution that is sub-optimal everywhere.

The only good option is to separate your UI and logic and write a new UI layer for each platform. It is hard work and there's no easy out. On a phone, the UI has to be touch only. On Windows you probably need to support touch and keyboard/mouse. Linux may lead you to develop a TUI and GUI. Your macOS version should probably be a GUI.

Then on each platform, there are significant differences for things like where the settings UI should be and where the settings should be persisted.