skysight-inc/HackerNews huggingface dataset:
There's no such thing as "principal component" to a human. To quote Walt Whitman - I am large, I contain multitudes.

There's only the particular behaviour that's getting in your way within a given context.

The bug you have to patch to make me line up with your expectations.

What the author describes as "procrastination" (focusing on less important tasks while ignoring the critical ones.) in one context is "attention to detail" in another.
Yes, and it's getting worse.
The recognition of the phrase as a logical fallacy comes after the phrase starts to be widely used, not the other way around. If everyone starts saying "snowball out of control", then eventually the fallacy will be known as "snowball out of control" fallacy instead.
Perhaps in isolation, but the relationships and family formation which result from it are immensely important for most people's life satisfaction.
Naked Lunch by William S. Burroughs

I'm sure you've heard of it. It's smutty and insane. Oddly reminds me of 1000 Plateaus by Gilles Deleuze and Felix Guattari with its "rhizomatic" style.

After reading it I find myself in a state of mind that only a couple other works have achieved in me, one of free poetic openness to human experience, particularly when in society. It's a strange experience bordering on solipsism or paranoid schizoprenia but feels very liberating from the demands of stuffy "rational" existence.
I can turn them on/off remotely, plus I've got some lights automatically tied to sunrise/sunset. And I've got a whole bunch of lights which I can turn off all together when going to bed.
You can't engage in historical revisionism when the history is still unfolding, that doesn't work. No, this doesn't go back to Obama, this goes back as far as the "groomer" scare which started last year, yes exclusively within the Republican Party, and yes entirely based on QANon. You could even draw a line directly from this to Pizzagate, since the groomer scare is just the more successful iteration on the theme.

And mentioning "abolishing rent, abolishing the police, or abolishing the electoral college" only tipped your hand. You tried to frame your comment as impartial but you couldn't resist the impulse to add the anti-leftist culture war spin.
XDG is a freedesktop standard that's been adopted by systemd, Wayland, and other important projects. It's absolutely no skin off your nose to adopt it, and beneficial to you and your users if you do.
I wonder if small patches of e-paper could be a viable alternative to status LEDs: They have the novelty and "rule of cool" effect of blue LEDs but no brightness at all.

Or, if its property of keeping the last image on poweroff is a downside here, how about bringing back good old monochrome LCDs?
FWIW I really enjoy using _Modern for Hacker News,_ [1] a free extension that enables dark mode. available for Chrome, Firefox, Edge... and soon, Safari (according to its maker).

[1] https://news.ycombinator.com/item?id=32768590
This is n = 1. What is usual hiring process followed at apple ?

If everyone start practicing leetcode and similar questions used in interview, then whole filtering talent process seems moot.
But by business we mean an organization of people.
Police have to make calls in the moment all the time, and they don't always make the best ones.

In this case, occupancy was 99% of the perceived law. One person was clearly established as resident in the property, the other one had just jumped a fence.

(Also, keep in mind that we're hearing the "drugs and prostitutes" claim from the property owner. This is the New York Post... They aren't going to fact check that claim).
To be honest, I don’t hate the smell but it is very pungent and dominates. Having been in several cities where marijuana is legalized, you can often only smell there smoke rather than getting to enjoy the smells of restaurants, food stands, and even just fresh laundry.
In this case “an irrational attraction”. Note it is a Japanese word so you hear the o and the e, so unfortunately “I moe for Tamamo” doesn’t rhyme.
Ah, memory lane, I love you. The S100 was a great architecture, so incredibly versatile, every component was designed around a standard so solid that it lived for 20 years and likely there are still systems in industrial control in service today (though those would be pretty hard to keep running).

Is anybody on HN aware of S100 systems used in production today?
Finished "When McKinsey Comes to Town" recently. A nice easy read, haunting and funny.

It really goes to town on how the McKinsey consultants working in government and private sector will work both angles to get a favourable outcome to ensure they become indispensable. Also the way McKinsey try to balances a "fair and honest" culture with the real dirty work they do. The section on the UK Public Health Service (NHS) was shocking.
There’s a great movie version of it from the 80s by David Lynch. Not so good if you haven’t read the book but I found it oddly, perhaps uniquely, sublime representation of the book after having read Dune. I don’t think I’ve ever experienced art like that where it changed so much after experiencing the source material or some other piece.

It was like a private key/ public key where you need both pieces to match in order to work. (Although I think the book is excellent by itself)
Damn. That's awfully close to the warzone.
Agreed. That’s why I’m trying to get out of it. Problem is I have no other skills.
AB testing is mostly a waste of time
20+ years ago, that was the final project assignment in the VB6 class I took in college

...Though we manually had to manage the seating arrangement - each of us (to a better or worser extent (mine looked not-so-great, but was one of the few that worked)) had to build a theater booking tool backended by Access
Breville Infuser or Bambino Plus for people who don’t want to DIY nor break the bank.
Follow along with Guile Hoot (Scheme -> WASM compiler and general WASM toolchain) here: https://gitlab.com/spritely/guile-hoot
Every website has become reddit since the recent reddit controversies. Hell, even 4chan is flooded by reddit style comments...

I'm rooting for the fediverse, hopefully it (and youtube) can contain the effect.
This is sounding great to me. Probably going to go for the robot one :)
I don’t think you got my point. I didn’t say their science was well done. I said science worked the way it’s supposed to work. Science can’t depend on everyone being flawless or above board, being unbiased, etc. the entire process - end to end - is built around the idea that we are all flawed, but through collaboration and rigor, we can see past the flaws to some deeper truth. That’s a collective effort. It’s perhaps easier when everything is done really really well. But it’s more impressive when everything is off the rails.
Pretty soon, I am afraid you will have to pay a premium to have non-IoT TVs, refrigerators etc.
I feel like this is mostly a straw man argument or maybe it comes from a lack of experience in functional programming. Functional programming to me is more of a process to problem solving and less organizational. (Though it can be a part of it) Indeed you can combine OOP and functional styles very easily. Scala is a great language that did just that to great success.
> Procrastinators [...] may have poor time management skills, often underestimating the time required to complete tasks.

> Make them accountable for those deadlines.

I've seen this advice a lot, and it's a terrible approach. You've got a team member you already know has bad time management or bad prioritization skills, and/or busted estimates. You've already stuck them in the bucket so it's not your first rodeo.

You already know they're not just unmotivated, because you'd take a completely different approach otherwise.

That's were comes the interesting part: you're either punishing them for something they're motivated to do but aren't good at, and you couldn't find a way to help them the first few times (they still got late despite all the micro management you did).

Or you're punishing them for deadlines that you knew were busted but didn't adjust on your part, even as the whole project is affected by that decision. You should be the one accountable for that.
QT makes more sense with languages like C++ or languages that don't have their own UI frameworks. The whole point of running something like C# and Kotlin is using the frameworks common for those languages.
There are 49M personal vehicles in Germany out of 83M people.

You really think it’s that rare for a German to drive?
I'm interested! I haven't failed in anything interesting, but would definitely love to hear stories to learn from.

I actually share the same feeling as you do, for example here in Sweden it is very common that many salary or career discussions ends up in someone bragging about being a freelancer and making tons of money- but how many failed that and how?
I love this. Super old school sci-fi-tech madness. Reminded me of an Outer Limits TV show episode.

It's also very similar to what happens in the movie Predestination.
Saying that an entire team is unfamiliar with an IC's tech stack is indeed weird in most cases. But it can make sense, and largely depends on the relationship between the team and the person involved.

A good example from a recent gig: one of our scientists had a HUGE pile very complicated MATLAB, based on several dissertations worth of novel work on both numerical analysis and highly domain-specific mathematical modeling.

Our software engineers needed to either call into or directly use the MATLAB code. Sometimes changes were necessary. This caused a ton of friction for two reasons. First, our SWEs didn't know much MATLAB. Second, you'd have to read two or three papers of complicated mathematics to even understand what the code was doing prior to changing it, and most of our software engineers topped out with Calculus or maybe a Linear Algebra course. So our engineers were unfamiliar with both the tech stack and also the "knowledge" stack.

In that case, I think it's more accurate to say that the software engineers were unfamiliar with the scientist's tech stack than the other way around. There's no way in hell them or anyone else was going to come anywhere close to correctly rewriting the MATLAB code in any reasonable amount of time. And even if you could, the knowledge stack problem still exists.

You can think of hiring those types of scientists as one-man startups that are bringing in their own tech stack and debt that your existing org has no idea how to integrate. You need to plan that reality into both compensation amount and vesting/earning scheduling.

For compensation, err on the side of "way over asking", since this is going to suck harder than the scientist thinks. They are probably going to want to leave, and you need to be able to get them to stick around. (The dynamics here are similar to a startup founder or exec after a merger, but with slight difference: the scientist's "FU money" is a pretty much guaranteed cushy professor of practice gig.)

For vesting, err on the side of paying out bonuses or RSUs early but with a big vesting cliff 2-4 years out. So they get the cash before it vests. Get 'em hooked and don't let 'em leave until the work is caught.

And definitely bank on them leaving once the first cliff is hit.
Regina Dugan: ‘Odds are irrelevant, if what you’re trying to do is important’
Why would LuaJIT be the best? I’m fairly sure that V8 and HotSpot that had million times more dev time spent on are way better on every front.

And autovectorization is definitely done by HotSpot (I would guess also by V8, though not sure), but autovectorization in itself is very finicky both AOT and JIT, so there is now a stronger move towards user-exposed controls, e.g. Java’s new Vector API, but C# also had something like that for years.
Funnily enough, C doesn’t have any standard way to control vectorization, only compiler-specific extensions.

Also, memory layout is a completely different problem space, don’t judge JIT compilers on that. On numerical code they are very competitive with AOT compiled, low-level languages, both JavaScript and Java. Of course if a given object could not be escape analyzed than the semantics doesn’t allow further inlining and somewhere that pointer indirection have to be paid, but don’t forget that besides benchmarks, most real life code in C/C++/Rust whatever will also happily chase pointers, so the difference is again, not as stark as some benchmark may tell you. Also, this is more related to GC+JITted languages, but are not necessary for JIT alone. With that said, I just realized that there is Julia in this exact niche, that also demonstrates my point very well.

> On top of that, JIT optimizations don't always trigger and you fall back to interpreted levels, which are orders of magnitude more expensive.

An optimization “triggering” is exactly similar to what an AOT compiler would do, only with a smaller time/resource budget. What you are getting at - speculative optimizations - are a different story, and are not a necessity in case of a JIT. And they get deoptimized when the assumptions they made for the optimization are proven incorrect (e.g. in java’s case virtual calls may have been replaced by static ones as only a single class implementing the given interface were loaded at the time - but upon loading a new implementation this will have to be deoptimized). You are right that deoptimizations can be expensive, when they go wrong, or in the worst case go into some cycles, but in practice with V8/HotSpot, these work well enough. The initial warmup is more likely to cause some jitter if any.
Important Optimizations to Apply in Your C++ Programs (2022) [video]
It also includes transportation. I couldn’t find the video, but I remember reading how one special needs student in a rural area would get a flight to school every day, as there was no special education program in their local area.
I don’t know if anything will save us. I don’t know that’s the job of science regardless. But I believe when science works, it’s amazing and starkly so in a world of so much broken.
All generations of the MSX home computer were based on the Z80. Until the last one, the MSX Turbo-R, when ASCII Corporation designed the R800, a CPU derived from the Z800.

https://en.wikipedia.org/wiki/R800
I'm nearing the 0.1 release of Burro, a new typesetting language intended specifically for text-heavy documents. (If you've used the mom macro set for groff, it will seem very familiar to you. I like to describe Burro as a spiritual successor to mom.) The goal is to eventually have all the power of TeX with a much more pleasant syntax (after all, a typesetting language should be easy to type!).

The goal of the 0.1 release is to have a strong engine for setting English text, and I'm pretty much there. The main focus of 0.2 will be the macro system and beginning work on internationalization.

I started Burro in October 2018 and took a four year break (yay side projects!). I came back to it early this year and have been working on it pretty consistently ever since. It's exciting to have gotten this far!

Website: https://burro.sh

Source: https://git.sr.ht/~reesmichael1/burro
Plenty of apps which use .config use it for everything, caches included. The percentage of apps which fully respect the XDG spec is much lower than the percentage that use the XDG config dir. And this is to be expected - changing the default config dir is one thing, changing your code to put different kinds of files in different places is much more work.
It's a lot more likely that you will get tired of The Wandering Inn before you catch up to present than that you will run out of source material, I think
Which is easy if you have a good manager, and a great way to get fired if you have a bad one, which I think was the original question posed here, how do you "manage up" a bad manager.

The general answer is: quit. That's where the saying "people don't leave bad jobs, they leave bad managers" comes from, there aren't a lot of great solutions for dealing with that power dynamic.
There are many cars and many car owners and many car drivers in Germany, I think the stat is something like >3/4s Germans own cars. There happens to be public transport and bicycle infrastructure proportionate to the density of a region (ie more in cities), but lots of Germany is still rural, sparsely populated, and dominated by cars for getting around. If you aren't from/in Germany and visit it, you'll see how popular cars are here and that is unlikely to change soon.
First step in any hotel room is find the nightstand light and unplug it to plug in your phone charger. Second step is unplug the tv to kill the status lights… I’m shocked that hotels haven’t started changing things just to save the cost of plugging it back in.

Airbnbs, on the other hand, usually come with the nightstand lights pre-unplugged in my experience, sometimes with the cables all coiled up neatly because everyone knows they’re only there for the listing photos and nobody will ever use them.
Certainly, in year 2060 when it's too late

So when will this hydrogen thingy will be ready and economically viable?

Don't look now but you might have just as big (if not bigger) case of religion.
Last time I read about exorcism in the media here was in the end of 90s when people were crazy about end of the world due to end of 20th century and approaching new millennium. Those were times when such fringe things were all around us on a daily basis, next to skinheads, sects and circles in the crop.

Exorcisms aren't blooming here nor are popular, or gained any widespread attention in last years.
It's not what the police do. The police keep the peace and questions of property ownership are figured out later.

In this case, working backwards from the arrest (and discounting most of the presented information as coming from the source of the arrestee and unfiltered by a known yellow journalism rag), I can hypothesize that the officer was presented with a situation where one individual was clearly resident in the property, and the other individual had attempted to force entry, was arguing with the cops about owning the property inhabited by the other individual, and refused to leave. Easiest solution to that problem for the cop is to take the individual who was invading the property and give him some time in the cool-off tank overnight until everything can get resolved.

On average that's the better solution. Imagine if the police were ripping you out of your home just because some lunatic showed up on your doorstep and started ranting that they owned your house. Playing the odds of perceived circumstance is likely to arrive at the best outcome here; the scenario where the angry invader is the legitimate property owner and the person resident in the building is the squatter is the rare scenario.
The F-16 back when I started my career at General Dynamics was slated to use implementations of Mil Std 1750A, with the Z8002 as an interim processor for the fighter's next generation computers (F-16C/D in the early/mid 80s). I wrote some of the Jovial runtime that was intended to be used for both processors. No idea what happened to that code since I left in 1984. The 1750A had a math coprocessor which made things a little easier than the Z8002.
You covered the most important detail that I think most people skip and that is that hydrogen is just a very inefficient battery if you are utilizing green hydrogen. With the intrinsic inefficiencies of generating green hydrogen and the of fuel cells you will always end up using 3-4x the amount of energy versus just charging an EV directly. That is even before you deal with transportation, storage, and pressurization of the hydrogen.

Now cheap hydrogen can be useful for industrial processes and aerospace so seeing the cost come down is still very good.
Shipped a new version of a live trading system that was still pointing to non live permissions. Head of trading couldn't use the system - lots of swearing and name calling entailed, but all was forgiven/forgotten a few days later.

I took the blame for a junior member of my team not understanding the issues of the different dev/staging/live environments.
Show HN: How to use LLMs to generate accurate SQL for real-world data
Hey HN,

We are Zain and Ashish, founders of Vanna AI. We recently embarked on an experiment to see if large language models (specifically LLMs) could help in generating SQL queries for real-world datasets. We initially started this project as a web app but realized that it was most useful and had broadest applicability as a Python package since you can then incorporate it into an existing workflow (Jupyter notebook, Slackbot, etc).

We've had some good success with customer datasets but we've generally heard a lot of skepticism so we decided to write a paper about the methodology we're using and how various LLMs compare.

Let us know if you have any questions or requests. The underlying Python package is open source. There is a server component to store and retrieve metadata but by next week there will be a fully open-source and locally runnable version.

Cheers!
But XDG specifically decides what can go in my $HOME for me too -- .config etc. If I want .chromium, .0ad, etc. instead of .config, I'm SOL.
aurora...
Didnt dildos get there first?
Yes indeed! is this enforced DRM everywhere or you can't browse? is this a forced french MITM certificate chain you can't remove, is this something else? how does using Tor with a non-french exit node get impacted? If I ssh over port 80 or any other to a french-located box does something change?
Here's the context: the fr gov's been acting against national interest for more than 20 years in a row. The people know it. The gov knows the people know. The gov wants to pretend it's not doing anything wrong.
It could keep pretending credibly, if only people would keep their trap shut on the web.
So now gov wants to control what people can see and say on the web.
I try to explain to my U.S. colleagues that the fundamental difference is in the approach to funding. In the States there is a ‘gambling’ approach to funding: I fund 100 initiatives 1 coin and I expect one if them will give me back 10000 coins in a number of years and all the others are a loss. In Italy - were I have had direct experience - the approach is more of a short term investement: I give you 1 coin and expect 1.05 in two years.
I thoroughly enjoyed "the chip war". From the history perspective, the technology perspective, the politics and even the human side of it. How people growing up in the misery of ww2 went on build something that ended up shaping the world we live in.
I read that after reading Gladstone's scifi book[1]. I liked the poetic and emotional nature of it, but I thought it tried too hard to be both that and a science fiction story. When I tried to grasp at the scifi aspect, it felt like I was grasping at air.

[1] _Empress of Forever_, while not poetic, I thought had interesting ideas that were more fleshed out. A lack of focus kept it out of top-tier scifi like Simmons' Hyperion for me, but it's worth a read if you like high-concept scifi like that.
Isn't that like saying EVs aren't green because the electricity isn't.

I'd say in this situation that the hydrogen is green, but the cement isn't. It's still capturing Co2 that would otherwise be in the atmosphere.

Although I'm sure the cement manufacturers will let you know about the CC and imply its green.

The cement company can still do its own thing to become carbon neutral.
Not really - since XDG decided to go for non-hidden files inside the XDG dirs. So you can't just set your XDG config dir to be your home dir, since all the app config folders will be non-hidden folders in your home dir. And setting up multiple XDG dirs to point to the same dir will probably cause even more havoc, if apps use the same file name with different meanings in different XDG dirs.
Whats the point of copyright laws if you can bypass them at will?
You can get a delonghi dedica ec685 for around 150 euro, 100 on sale, which can be modded to make very good espresso. Cool project though.