skysight-inc/HackerNews huggingface dataset:
You don't need a full scan or a giant CSV file. You can do it with a single small file in a single directory. The file contains the state of a pseudo random number generator. On each request, generate a number, save the new PRNG state into a new temp file in a subdirectory, and rename the temp file over top of the original file. If renaming fails, try the whole process a few more times. This allows multiple processes to serve requests concurrently.

Exercise for the reader: avoid re-reading the PRNG state file on retries.
https://archive.ph/1snYq
That is always the goal with unskilled immigration. It’s not a coincidence, for example, that in the US the Koch brothers and some conservative think tanks opposed closing the border as Trump was clamping down on it. They too like labor to be cheap - their wealth depends on it.
If money is your ONLY reason to work at a specific company as opposed to other companies, then your philosophy is wack.

There's plenty of companies where I like what they do, or the work is interesting and would thus be willing to accept less pay. There's companies I feel are making the world worse much more directly than most and I refuse to work for them at for any price.
I can't seem to understand how to use curl / post requests to get png from a website? Your curl example only responds with html
What sort of person is buying this? Do they give away the mattress for some really cheap price initially?
The question is specifically about the problem with licenses, if I understand correctly. AI is now a big license-laundering machine, so there are not "lots of license variations to consider": AI just removes the license, whatever it is.
WinForms is still actively developed (although it wasn't always).

I prefer XML to manually placing controls in a window and clicking around a designer GUI at all times. XML is trivially editable by hand, WinForms auto-generated C# isn't.
I agree that that is the gold standard. Having an immutable Linux that is well tested on your own hardware and upgraded like that.

At the time I inherited a system that had 30-50k units deployed and was updated via Debian/APT. Older units were running Ubuntu 10.04 (it was 2016) and were hopelessly outdated. We managed to pull every single device to Ubuntu 16.04 and designed a fully automated image based update mechanism for them (I've linked it in other posts). We tried for read only base systems, but it was too tricky, so images stayed read-write, with migration of configs across upgrades.

At the time, customers even had access via SSH (similar to NAS devices these days).

I think what you are describing works for well defined hardware with a medium complexity software stack, or at least something that is limited in terms of epipheral device usage.

The appliance I was managing was heavily using raided disk, ZFS, loops, dmsetup, and many other Linux tools that we have all seen fail in horrible ways.

Not having SSH access, and not being able to diagnose lockups or hanging progress (D state issues) in a live system would have severely crippled us in being able to fix these issues. Many of them I'm sure we would not have been able to. We had failing disks, slow disks, failing RAM, hanging loop devices, corrupt loop devices, hanging ZFS, hanging ZFS, hanging ZFS, many of its bugs we fixed upstream, and and and...

On top of that, we had a "bring your own device" product that literally allowed people to use whatever hardware they want. That makes the read only firmware thing ever trickier.

As said in the beginning, I agree with you in principle, but there are many cases in which it's not as black and white. And I can fully understand the rationale of providing remote access.

Side note: I would have never expected to be down voted on HN for expressing an opinion in a respectful manner about a subject that I have knowledge about, just because it is the "unpopular" opinion. On Reddit, I'd expect to be downvoted for something folks don't like, but on HN in thought the button is just for use against trolling and such.
Why is that more yuck than Option?
Isn’t it enough to be passionate about your own work, taking pride in your ability to do a great job without taking too long?
I very much agree with this line of thought. It seems for humans it is the default mode of operation to just think of what is possible within the foreseeable future, rather than thinking of a reality that includes the seemingly impossible (at the time of the thought).

In my opinion, this is easily noticeable when you try to discuss any system, be it political or economical, that spans multiple countries and interests. People will just revert to whatever is closest to them, rather than being able to foresee a larger cascading result from some random event.

Perhaps this is more of a rant than a comment, apologies, I suppose it would be interesting to have an online space to discuss where things are headed on a logical level, without emotion and ideals and the ridiculous idea that humanity must persevere. Just thinking out what could happen in the next 5, 10 and 99 years.
This was the first thing the title made me think of and I second the recommendation. Watched it for the first time last year and it's the most fun I've had watching a movie in a long time. Soundtrack was also notably excellent, both music and sound effects.
many of our users have asked for RSS feeds as output

If your users are asking for it then it's locally popular regardless of how much use it gets on the general internet, and therefore it should be important to you. Local popularity (eg the market for your app) is significantly more important to product design than general popularity.
If engineers cared about ethics, we would know it.
How would you QA something like this across all possible sports? Or test it? How was the feature even developed or requested though if the specification isn't written to explain what it is? Are the frontend designers developing the specification? The developers? What about the backend engineers who need to implement APIs?

What if there's a couple of different factions in a fandom for some particular sport that disagree on the ordering?

Imagine doing this for any other industry and expecting coherent results. An effective developer given a vague tasking will do a bit of quick research and come up with an idea, but they could also be entirely wrong compared to the business objectives. Or the task could relate solely to internal business processes, in which case there is no consensus it's whatever the internal culture of the business does.
This takes on extra meaning when you consider my internet-connected automatic cat litter box.
Yeah I'd say it should be true but there are plenty of modern protocols that still inexplicably use big endian.

For your own protocols there's no need to deal with big endian though.
About Passkey – the password-free tech Apple is betting on
Because of the scale? AI is orders of magnitude better at laundering open source licenses than anything that existed before.
thats so lame
surely money isn't the only thing you care about
In the Scratch language blocks connect to each other like jigsaw pieces for internal function logic.
It sounds like you want the candidates to answer a different question than the one you asked. You want them to demonstrate knowledge of the company, but instead you ask them to muster up something enthusiastic to say about working for a company which they can only have superficial knowledge of - not having ever worked there before.
> The reality is that there will come a day, sooner than you like

Were you one of those saying that Tesla's FSD would come "soon", too?
It sucks though, sounds horrible.
This is my project :) Nice to see this here again! If there are questions, I'm ready to answer (I have a rather young baby here though that wanted attention while writing this, but she sleeps now, so I think we are good).

Pipes saw some internal updates recently. It was fighting with some instability. My first measure was an internal re-architeture, on a small scale. Before, the data was transported as text from block to block. (Almost) Every block parsed the input, created an RSS feed object and then worked with that on the data, only to then output the created RSS feed as string. This was changed to just work with the RSS object directly and move that from block to block. That had some consequences for some existing pipes, mainly because it also changed when the input feeds gets normalized.

As that did not help, next step was a server upgrade. I'm not sure whether it was directly the additional processing capacity or the dependency upgrades, but that one helped so far. Knock on wood. Also reconfigured the amount of threads and puma workers, that might have solved a bottleneck somewhere. I sadly never pinpointed exactly what made the server process stop before.

I had played with a proper split between web frontend and pipes processing, but at least my approach was not viable. Worked nicely while developing it, immediately crashed with the production workload. And Pipes is not all that huge... I'll have to try again some time.
Except that those who use AI say that the license does not apply ("fair use" giving them the right to ignore the license).

It's not a question of humans vs machines: it's rather a question of whether those who train AI get to ignore copyright or not.
I use Midjourney for my work here and there. It let me done job faster, however it would be useless without my years of experience with visual production. It still require knowledge of postprocessing, drawing, imagination, photomanipulation, creating assets... And a taste which is subjective but it helps a lot.

Aesthetic is complex subject but cannot be generated if task is more precise.
The general reason for wanting a job is to get paid so you can have and do nice things. That's a given. Set that aside. Now that we've established that you need money, and have five companies in front of you that will give you money, surely there are some other reasons why you'd pick any one of those particular companies to work at, no? Reasons why you'd choose one over the others, or those five over the other 30 you looked at but decided not to apply to.

You seem incredulous that someone would turn away an expert because they're only in it for the money. Sure, fair. But it's not really about that. If they're so... one-dimensional?... that they can't think of anything they like about the company aside from "paycheck gets sent every two weeks", that feels like a red flag to me.
I'm of the opinion that all systems should at least have a static busybox, it's useful for more than just rootkit hunting, for example if you somehow break your installation because of glibc shenanigans (rare but happens)
Can't say we don't deserve it, after Gary Tan's tempur-tantrum and Sam Altman's pivot from cryptocurrency to AI empire. The sycophants that lap up anything VCs say are in dire need of a rude awakening.
Replying to: How would a model intelligently switch between listening or speaking modes? What data would you train on? (I'm the author of the parent article.)

It's a fair question, and I don't have all the answers. But for this question, there might be training data available from everyday human conversations. For example, we could use a speech-to-text model that's able to distinguish speakers, and look for points where one person decided to start speaking (that would be training data for when to switch modes). Ideally, the speech-to-text model would be able to include text even when both people spoke at once (this would provide more realistic and complete training data).

I've noticed that the audio mode in ChatGPT's app is good at noticing when I'm done speaking to it, and it reacts accurately enough that I suspect it's more sophisticated than "wait for silence." If there is a "notice the end of speaking" model - which is not a crazy assumption - then I can imagine a slightly more complicated model that notices a combination of "now is a good time to talk + I have something to say."
I would like to show my appreciation to the author of this blog, although a lot of comments here show otherwise, as the restrictions the author has involved here are considered as "unrealistic" or "unreasonable".

Whenever an article is trying to compare several options, it is very important to know beforehand what the author is trying to achieve, and what the restrictions are. And in this blog, the author has clearly stated that the restrictions are to develop a GUI within 40MB and should be easy styling. No one should judge the author for the restrictions, as it may be from the author's specific needs, or directly come from the client's requirements. The clear restrictions are also very helpful for readers like me to understand the trade-offs the author has made, which is not something that I have to do myself, but I can definitely learn from the author's experience. If I am in a similar situation, or even with different restrictions and need to make a different trade-off, the author's experience can still be very helpful for me.

Just want to call out that it is not a fair ask for a blog post to exhaustively compare all the options, as it is very time-consuming for even a paying job. We learnt the specific restrictions that the author is facing to, and we learnt the author's experience with the options that the author has tried. That is already a lot of value that the author has provided to us, and I would like to thank the author for that.
I'm a very honest person and I would say that it is _with_ a brown tounge that you will not survive. Dying a bit every day you keep playing along with the new direction that you genuinely don't believe in. Rather you should just switch job to one where you can be honest and contribute happily for some years.
Not sure if said in such generic ways. You need to define what "smarter" means. E.g. ChatGPT probably outperforms most people at math. Does it make it smarter than most people?
I think some people enjoy taking a classification nightmare like fasteners, and turning out a good product. Most people just see it as a quagmire.
Writing GUI apps for anything is painful, if we’re being honest. To this day I haven‘t seen a single good GUI framework for any of the platforms that I‘ve tried. Flutter feels nice though
> You can learn on the job why box scores have an order

What if you just don't care? I'd be one, since I'd rather watch paint dry than watching baseball. Would you want to work all day five days a week on something you don't care about? I couldn't do that.

> it doesn't matter as long as they follow the design provided

I know this it the end goal of scrum, but is this where we are now? Software engineers as replaceable cogs just doing the design provided?

I could never work such a job. Change careers, if you can't be making the decision about how it's going to work.
That's Atlantis
Fixing Low Storage on Mac as a Developer
The main thing the author gets wrong is that it's now much better understood amongst engineering leadership that development teams need at least one person with ops/infra skills. Development teams shouldn't wait for a centralized DBA team to pick up their schema change request, but neither does it make sense to ask frontend developers to learn all the ins and outs of running databases. Teams do need somebody to specialize in that skillset. This person with ops/infra skills is the modern Site Reliability Engineer (i.e. for most companies, a term that was inspired by Google's book, but distinct from Google's implementation of the concept).

As startups grow into enterprises, eventually there are benefits to be had from getting all the different SREs on the same page and working according to the same standard (e.g. compliance, security, FinOps...). Then, instead of each SRE building on top of the cloud provider directly, each SRE builds on top of the internal platform instead.
This sounds extremely inefficient and even Luddite like. Having a computer involved wouldn’t reduce interaction. It would allow you to drastically increase the game speed.
Kuo: Apple to begin mass production of AirPods with cameras by 2026
Scratch is Lisp, you're literally assembling the AST :).
I think passion for smart automation systems or optimisation/management algorithms, strategy etc.
Ask it to write a sitcom comedy screenplay about a software team asked to do exactly this same situation, but where it goes disastrously wrong. Give enough info to the prompt to make it parody your own company. Make sure it's not offensive.

Then use an AI image generator to generate cartoon pictures for the characters in the screenplay.

Then use an AI voice system to generate all the voices for it.

Then put it all together as a video, present it as a early storyboard concept pitching to them for funding to turn into a full TV series.
I am a simple guy, I would have just attached a usb-hub with velcro on my laptop.
Thanks for the reference! I've added this to my research list.
Keep in mind that A would be a highly regulated by the FDA, as is all health portals in the US.

B would be a classification quagmire.
Fortnite and Epic Game Store Submitted to Apple for Launch in the EU
> I thought maybe I was resistant because I drink so much water, haha.

I hope that was a joke.
Roasting Startups Like a Potential Customer
In case it wasn't intentional, you may be doxxing yourself.
In case you're interested, it's usually done via ptrace by attaching to every process and modifiying the syscall arguments every time it makes one. There are performance issues associated with that (ptracing is rather expensive) and IMO it's more complex than LD_PRELOAD. Furthermore, ptrace may be disabled altogether on some installations, even for root. See yama_ptrace_scope

I wouldn't say it's a practical approach. Works for a cool demo, sure, but as an adversary I would be hesitant to use this widely.
Sure, but why those 80? Hopefully there was at least one thing about each of those 80 jobs that made it worth applying to, vs. skipping it.

And if someone just mass-applied to literally every single job that was available, only got accepted to interview at one of them, and ended up across the interview table from me? Yeah, I'd think it would be a pretty basic expectation for them to do 20 minutes of research into the company or job description before the interview to find at least one or two things they like about it. Hell, those one or two things could even be learned during the interview process.

Doesn't have to be something earth-shattering. "I like working with $TECH_STACK that you use." "I like that I can take transit to your office and it's a short commute." "I enjoyed interacting with my interviewers and felt like we connected well and would work together well." It's not that hard!

Feels like a red flag if they can't even manage that.
DHH – Programmers should stop celebrating incompetence (2021)
If Feynman _were_ teaching today.
I have no idea what this analogy means but it made me laugh :-)
I think that often is driven more by competition than passion. If there is a line a mile long for your job, comp will suffer.
and yet lots of people go to school for a very long time to study accounting, or do graduate work in actuarial sciences, so I think you're wrong

I’ve talked to tons of people in school for those very things. NONE of them were passionate about tax prep, auditing, or mortality tables. All of them were in the game for one reason: they wanted a well-paying, steady job at an accounting firm or insurance company. In fact, all those I talked to who had actually worked in those industries found the job incredibly boring and either put up with it in the hopes of some day making partner or flat-out quit the industry.

A big clue to how little passion there is for this field is the sheer number of co-op students employed at these firms/companies. Heck, when it comes to tax time they basically hire an army of co-ops to get it all done (and feed them pizza to keep them working late into the evenings).

They don’t use regular employees for the work because no one wants to do that as a long term job. People just put up with it as a kind of hazing (or paying your dues), kind of like how residents are treated at a hospital.

Oh, and almost all graduate students these days (in fields with decent-paying industry jobs) are people who can’t or won’t work for whatever reason (including visa status) and so they go to grad school to delay entering industry, not because they’re passionate about the subject.
The docs says Twitter integration is discontinued.
> Once AB was built we still had time to think how to deploy it, or not.

It's in human hands, we can hardly trust the enemy or even ourselves. We already came close to extinction a couple of times.

I presume when ASI will emerge one of its top priorities will be to stop the crazies with big weapons from killing us all.
Yes, people work for money, but you still have interests after that. Do you want a person who wants money and has an interest in your company or do you want a person who wants money and has no interest in your company?
Speaking of, what’s the closest thing to the old 11” MacBook Air that’s currently available and runs Linux?
"Problem: It is extremely hard to stylize native Win32 controls."
No. Don't style them. Let the users settings dictate how your app looks. This is the correct way.
From the comments, lol:

"Sigh

It's like the universe keeps throwing them softballs lately and they are determined to only use the bat to hit themselves in the crotch"

Can't they just focus on producing a great standards-based browser?

Reminds me of Blaise Pascal: 'All of humanity's problems stem from man's inability to sit quietly in a room alone.'
Sweden has this too: https://www.postnord.se/en/private/sending/letters-and-parce...
>The hub communicates with the Sleep Number servers by opening an SSH tunnel and providing a reverse tunnel back to the hub that their developers can use to connect to the hub and do maintenance when needed.

Kinda interested just to see what the parameters of this are like. Is it using PubkeyAuth or just password? Is it tunnelling home via ip or dns?

If everything is just right, I can imagine the setup for the most hilarious DNS hijack in human history.

In the immortal words of Homer Simpson. Bed goes up. Bed goes down.
John E. Hopcroft, Jeffrey D. Ullman, Introduction to Automata Theory, Languages, and Computation.
The downside with kernel-level rootkits is you essentially have to compile it for many different kernel versions if you want it to work everywhere. I think I've read about some malware that literally contacted a server, sent the kernel version, and the server would compile the rootkit on demand.