skysight-inc/HackerNews huggingface dataset:
> And I didn't delete the zip file, I deleted the original file that I zipped.

OK, I think that's where a lot of the confusion comes from.

When you originally said "I zipped a file and deleted it, but the process which created it was still writing to it.", I thought the "it"s referred to the zip file, not the original file, and "the process that created it" was the zip process.

Going by your actual meaning - are you saying you zipped a file on disk that was still being written to? That's... weird.

Given that reading from disk is faster than writing to it, and the written data may well have been in the disk cache anyway, it's likely that the zip program could have "caught up" with the program that was writing the data, tried another read and been told "this is the end of the file", and then finished creating the zip file. That would have created an incomplete zip.

But also, as others have pointed out, just because you delete a file and it gets removed from the directory, the actual file and its contents stay around until all open handles to it are gone. So if one process has the file open and is writing to it, and a second process has the file open and is reading from it, if you delete the file then both processes should still be able to access it through their existing file handles, even though it doesn't have a directory entry any more. So you shouldn't have experienced any data loss from that series of events.

(And that's why having the "it"s refer to the zip file is a logical interpretation of what you said, and why a few repliers - including me! - seem confused)
I don't think the way you've phrased it can possibly be true. I would assume whether you have ADHD or not an amphetamine is going to raise your heart rate.
especially if you have kids.
With dashpass you don't pay any of those fees for the majority of orders. I use them all the time
HN doesn't seem to like to be told to stop taking heavy drugs.

I agree with you. These things seem to be handed out like candy to whoever says the right things to a shrink. I think every single one of my neighbors has an addy script from willy wonka internet docs.

When I was a kid, my parents were told to put me on meds as I didn't want to participate in school activities that I didn't find interesting. They smartly ignored that advice.

I played with pharmaceutical stimulants in college and they are absolutely amazing, which is why I don't touch them any more. It's not a thing I would ever want to become reliant on.

And I still have problems doing things I don't find interesting, which is also known as a normal state of existence.
The shortage of nurses in European countries is caused by the poor pay, long hours and high stress working conditions in the overburdened and underfunded public healthcare system, not by the lack of qualified personnel.

After Covid, thanks to remote work as well, many nurses switched careers to something that pays better or has more reasonable hours and flexibility.

We have enough qualified people that could do the nursing job but not enough of them are willing to do it, making it basically an artificial self inflicted shortage. Private healthcare facilities had no shortage of nurses as they can charge customers whatever the current market rate is, not what the government says it should be.

Increased pay and working conditions could cause nurses to return to the public sector, but then the question is "where money from?"
But this easy to answer. In a war -- as annoying as they are -- the idea generally is to kill precisely the enemy and avoid killing civilians. Once the military is eliminated, then the country surrenders and the war is over.

This is obviously NOT how it really works in practice.

But this is why carpet bombing, phosphor, mines and so on are not precise and deliberate but indiscriminate. Mines particularly persist long after wars, killing people who have presumably made peace or people who were not even involved in the war.

So immoral? Definitely if a mine kills you or someone you know while on a relaxing vacation 40 years after it was planted -- it feels immoral. So immoral? I think so.

Your example of the DMZ is not well chosen. Lots of innocent civilians try to defect across it to South Korea. Killing them with randomly planted mines seems immoral, unless you would like immediate execution of all defectors. Which I find immoral, personally.
The path separator should just be fixed. Almost all the APIs accept '/', it's just that the old "cmd" utilities don't because they use / as the option separator (from CP/M), not "-".

That would probably require killing CMD, which would be a big compatibility break. I suspect it could be turned into a shim layer for corporates who need to keep running BAT files.

Not accepting non-sockets in select() .. the native API (WaitForMultipleObjects) is much more flexible, but it doesn't look like select().

libc: require the user to install vcrt like everyone else. Microsoft have actually kind of fixed this with the "universal" runtime: https://learn.microsoft.com/en-us/cpp/windows/universal-crt-... but only recently.
Imagine putting up with this for more than a month.
There is a difference in that the trust is now distributed as opposed to centralized.

> you have to trust whoever initially put the information on the blockchain

In all of those cases, that trust is already inherent in the documents filed by the entities/institutions. But the thing is, they also become gatekeepers of those records (e.g. titles) which seems to be a great use case for a distributed system.

> and also that nothing happened later to the real world entity that wasn't captured on the blockchain

This is also the case with paper records; your car title isn't automatically tied to whether your car is totaled or sold. You update the record based on a change in the status of the material object it represents whether it is a paper or digital update or a blockchain update.

> they are horrible use cases for blockchain

I'd disagree; having an immutable record of ownership is valuable; especially so in countries where a centralized institution may not be trustworthy.

Especially with transactions around something like a car where there are multiple entities that are reliant on the record (your state DMV (and multiple sub-agencies), an electronic toll vendor, your insurance provider, your loan provider, maybe your landlord for an assigned parking space), having a distributed ledger to access and immutably modify the data would be a boon.

For titles on homes which are subject to liens, it would be a great consumer benefit to be able to access this information without paying several hundred dollars for a title search.
'They are pro law and order. They want to be able to use the law to order you around'
I had an NT4 machine at work until 2007 that only had a floppy drive for writable media. It had USB 1 ports but those were unusable in NT which was why $employer kept running it.
You do need to lay off the coffee for a bit though. At first I stopped altogether, then went back to some decaf, now I'm back to drinking some regular, but always careful about how much.

Also, decongestant medication, though Adder-all is a mild decongestant so I don't use separate decongestants very often.
Seems like you have a narrow view of what Positive Psychology is focusing on. While you're right that many authors focus on "happiness" as commonly understood, the concept of Eudaimonia (a life well lived) is also a focus for some researchers.

A great read for you may be The Good Life: Unifying the Philosophy and Psychology of Well-Being by Michael Bishop.

https://www.amazon.com/gp/product/B00YD26TIS/
Not all medicine, and especially not adhd meds, have the same effect on everyone.
At least in principal, with a service like Western Union, an actual human or other KYC’d entity needs to collect the money at the other end. If you run a $100M ransomware campaign, a very enthusiastic prosecutor is fairly likely to arrange to arrest people well before $100M gets cashed out, and without perfect opsec, you have a problem.

And Western Union respects sanctions.
Test Driven Development by Kent Beck. Split the process of development into small steps. One does not always have to design the complete solution beforehand. Periodic improvement/refactoring leads to better solutions than up-front/big design.
they weren’t “sent”, at least, not by the MP. The police were advised by the MP of the unusual email for security reasons, the police made their own decision, and later apologized
I'll stray from the others and mention Unison Lang.

It's a whole new everything but has yet to prove itself useful for production code.

Its promises, if they pan out, could change how we design data-intensive applications. Its idea about code and data as content-addressable can help simplify some distributed workflows.

https://www.unison-lang.org/

Great summary here: https://jaredforsyth.com/posts/whats-cool-about-unison/
500000+ OneTab
I’m US based but used to work with a lot of people in EU/UK and Eastern Europe. Almost all of the IT/Software Engineer staff from German and UK customers I worked with were contractors. I was a little shocked about how much was outsourced to avoid a full time employee. Almost all were talented but only a very small German IP phone company and a very high tech German lens maker had staff software engineers.
Intelligent people see the truth of the world, the universe. If the truth, if it were good, that we lived in a wonderful society with wonderful people in a universe that cared about us, smart people would be so happy.

But being smart is merely a conviction of your enlightenment to the awful reality of things. Bravo, you learned about all these awful things you can’t do much to fix, and the reward is to languish in existential dread. Congratulations, you have learned the history of humanity and how our society functions, and your reward is sullen remorse in the unending cacophony of injustice.
I consider people who aren’t honest with children about this to be bad people:

They’re helping the abuse by lying to those children in their role as a trusted adult.
> If you want to allow people to build curl using various different compilers (and old versions of them) on Windows, it needs to support all their libc’s.

That sounds like a problem that could be solved by not doing that and picking one.
There’s really nothing specific about Gen Z in this post.

I’m Gen X, and have spent most of my career in open office spaces. I’ve been WFH since March 2020 (in a small one bedroom apartment, with my girlfriend in the same room). I generally don’t miss the commute, and open offices can be distracting, but in my case it’s weird working on mechanical and industrial design of hardware without a dedicated space to collaborate. My current company doesn’t even have a real office.

In the past few years, I’ve moved to fully cloud based CAD, and Slack, so it’s a bit hard to compare to the before times (and I’ve also changed jobs). Those aspects help with WFH, but there’s still no substitute in my field for touching/seeing/using/testing real stuff together in person.
That's not the issue / impression. The issue is that well-formed UTF-16 is rarely used in practice. All of JavaScript, Java, C#, Dart, Kotlin etc. effectively use WTF-16 for compatibility and performance reasons, and that's what's semantically distinct from UTF-8. These have asymmetric value spaces, so that strings in "legacy" languages would sometimes throw or implicitly mutate synchronously. Mixed systems typically use WTF-8 as the common denominator for this reason, i.e. not UTF-8, but Wasm decided against.
Actually, Windows development has moved on since the Win32/.NET days.

A "modern" Windows app can use WinRT, which is a reasonably clean OOP API, from multiple languages including C++. The API is based around coroutines and async/await for concurrency and you can do a lot without ever touching Win32, e.g. there are HTTP clients, file APIs etc all of which are not Win32 and also don't require .NET. Under the hood it's all COM based stuff but you aren't really exposed to that.

Example of what it looks like:

https://github.com/microsoft/Windows-appsample-photo-editor/...
100% agree, however I do think we have to apply way more empathy cause losing weight is extremely hard and there are bigger factors that make it harder even if your fully educated and have good will power. Like time and money

I went from 250 to 200 then 200 to 170 pounds, first run I could afford the healthy alternative foods the second time I couldn't. It was 10x harder to lose the 30 pounds than the 50, not just cause higher body fat caused it to be easier to lose but cause the food filled me up. I couldn't afford to get the ideal ratio of protien or even really get about 90g of protein a day on my budget. I then had to be making all this food myself in order to have any filling meals, which took up the last bits of my free time as I was struggling to find contract work.

Of course you can make it yourself, but now you have to learn a bunch about nutrition and cooking, then also have the time to cook it. The super high calorie foods are exponentially cheaper, when you factor your time into it. Mcdoubles have a similar macro density if not better than a protein bar and are more filling. Before a price raise I could eat for 5 bucks in 10 minutes or eat for 1.5-2.5 be filled but lose 1-2hours research, gorceries, prep, and cooking. all of which is cheaper than giving up time you could be working or resting to work better.

I think the time and money to put to dieting is a luxury. I do agree we need to cut the BS excuses, but I do think that someone has a choice to be over weight if they only have a few hours to themselves opt to not spend those hours working but for their health and accept the consiquences. I think we need to focus on finding solutions for that person not the person with no drive to figure it out
I had the same experience. Recently got put on vyvanse and have been on it for 2 months now. My life has changed over night. I used to struggle to wake up to the extent I needed to keep the window open at night and set multiple alarms. All the coping strategies and social pressure I had when working from the office disappeared due to WFH and I could not get myself to do anything.

It's hard to describe to people what it's like to not be able to do something you actually want to do. Every night before bed I'd tell myself, "tomorrow, I'm going to get out of bed and get ready for the day in 30 minutes" and I would constantly fail at this simple thing. I would stay in bed for 2 hours awake wanting to go and do things but it was just so hard.
Ah yes, ISO 8061, Alpine ski-bindings — Selection of release torques values.

https://www.iso.org/standard/75609.html

Nice article btw.
Thanks for the additional background info, I stand corrected.
GameStop NFT. Legacy company and progressive structure meets the very future everyone except Wall Street and their bought media wants. I'm strongly advising you at least leave an on-ramp and off-ramp section for their blockchain integration in your long-term designs.
>Some trivia: Sergey Brin and Lawrence Page wrote about this in their 1998 paper "The Anatomy of a Large-Scale Hypertextual Web Search Engine". [...]

Doing a Google search for "cellular phone" now returns those poor-quality results.

Google's just... not good.
> git push origin

> Push my code to the remote; likely spinning up lots of machines in CI to check my work.

That's a good callout; something that I have noticed I frequently miss when iterating on my code is the cost of the CI/CD systems already set up. It's something to consider especially when iterating using a system like Sapling for Stacked PRs; each individual PR push may update a chain which causes a lot of wasted CI/CD time.
Vyvanse was life changing for me. For all psychoactive medications your mileage may vary.
A famous American college basketball coach once said "A basketball fight generally lasts two punches. Make sure you throw both of them."
I’m not sure if there’s data/studies on this, but I feel that bullying is a bigger problem in the US than in eg Europe and Asia. If so, would like to see more discussion on why that is and how we could improve things by comparing
I tried Vyvanse, Focalin, and Clonidine. Vyvanse seemed to work the best. I was offered the chance to try Methamphetamine but didn’t due to social stigma.
Yeah!

A few comments have mentioned being able to refresh the cards while upside down, or covered by another. Maybe my next prototype can put the contacts on the edges and have them wrap around or pass through, so they work on both sides.

That will be a bit more complexity for fabrication, but sounds like a fun project.
Rust and SQL.

Rust teaches you how to architect (memory management, async handling), SQL teaches you how to query (set theory, computational efficiency). Once you know those two things, everything else is just "translation".
I remember getting the "text file busy" message on various Unix systems in the 1990's

https://stackoverflow.com/questions/16764946/what-generates-...
Do you also get mad that Salvador Dalí paintings don't carry a disclaimer that they are not real?
Read this and see whether you think the same: https://astralcodexten.substack.com/p/know-your-amphetamines
I'm pretty happy. I do have problems, but they don't make me unhappy. I think I learned it from my parents, who have always been pretty happy, even though they certainly had problems of their own. I'm not sure what the secret to happiness is, but by process of elimination, I can rule out some sources: it's definitely not money, health, good looks, fame, influence, or success.
> I'd wish I knew golang.

You can start learning today. I picked up Go by porting my backend web projects written in different languages over, but my next task is to convert all my custom shell scripts into CLI tools using Go.
It can in moderation, but there's a phenomenon that people (often women) in communications overuse exclamation points, trying to come across as friendly and not assertive [1][2]. It's something I've noticed in my professional career, and not me trying to make a stereotype. You start to tip that usage too far, like 149 of them in a technical document, and it detracts from your content.

>A bunch of shader cores, which process triangles (vertex data) and pixels (fragment data) by running user-defined programs. These use different custom instruction sets for every GPU!

Why are different instruction sets exciting to the author? What does exclaiming that fact really mean for me as the reader? What I got out of it was the author was so surprised by this basic fact, that it was so out of this world unbelievable, that we also must be surprised by it. I'd rather read technical explanations with leadership/competence.

[1] https://www.linkedin.com/pulse/women-exclamation-points-emil...

[2] https://onlinelibrary.wiley.com/doi/full/10.1111/j.1083-6101...
I really wish Kagi had family plans. I would love to have my whole family using Kagi but with 7 people in the household, it makes it rather expensive.
I'd offer that the problem is compounded (and actually really the root) by anti-social parents who are unable or unwilling to parent appropriately, then raising hell when teachers attempt to cajole the student into being pro-social
Go has always embraced a philosophy of not being on the leading edge
So let's see. Back of the envelope math time. Let's round to 100 million containers to make the math simpler. 8 bytes for a synthetic primary key. 8 bytes each also for location and destination, referencing a separate table with information about "places" (e.g. loading docks, port terminals, holds of ships), that should be more than enough distinct IDs to give you as fine-grained location identification as you need. Description, let's say 512 bytes of free text. 8 + 8 + 8 + 512 = 536 bytes, let's say with padding and DB overhead of various kinds we round up to the next power of 2, an even 1kb. 1kb * 100 million is then roughly 100 Gb.

Now I am aware of the risk of "why don't they just"-ing, but seriously, nobody else did this math and noticed that the whole database could probably fit on a $15 SD card? No, most likely someone did, and kept their mouth shut, because why blow up a perfectly good grift?
I suggest: Do "Advent of Code" 2022 using Go as an enjoyable way to start learning the language.

https://adventofcode.com

It starts tomorrow, I believe (also previous years are available). A new puzzle is released each day (until Christmas I think). You can use any programming language you like to solve them. The puzzles start pretty simple but get very good as it goes along.

You can race other people but when you're doing it for the purpose of learning a language, I'd take time to explore the language.

Personally, I'd complete each puzzle without looking at anyone else's solution, and then compare to solutions from others, hopefully you can find solutions from some experienced Go programmers. Since you'll understand the problem really well, you'll be able to focus on the different language decisions they made. Well, you do need to be a little careful, because people will use shortcuts that are fine for this but would be horrible in code you don't throw away.

(You might be able to tell: I'm intending to do this myself, with rust.)
Resourceful, I like it.
I'll be honest and whatever brings me some level of personal joy

I'm experienced enough, I don't care a ton about the applicability. I don't need to stress financially if its going to be marketable. If its interesting and fun, I would be interested in learning it.
Do they have a path to profitiability by improving their software efficiency so it costs less to run their systems?
It was, but the POSIX subsystem was removed.

In any case, I have never seen any way to coerce POSIX unlink() behavior on Windows.

'Broad software compatibility was initially achieved with support for several API "personalities", including Windows API, POSIX, and OS/2 APIs – the latter two were phased out starting with Windows XP.'

https://en.wikipedia.org/wiki/Windows_NT
The original argument is
"If you can't be profitable without eliminating all the competition by first undercutting them, then jacking up prices on users, then you shouldn't exist"

Standard oil was profitable and they were able to afford undercutting the competition. That maneuver was too gain complete control over a diverse, vibrant market. Gig economy companies have never been profitable, and the only way they can be profitable is to increase prices to the point where consumers will stop using them.

Also, unlike Standard Oil, these unicorns are a Ponzi scheme. They provide a real service, sure. But the only way they were able to provide that service was to keep increasing their private-market valuation, with the next investor saying "I'm in, because next time they raise, it'll be at a higher price". What happens after every one of these gig companies went public? The private investors cash out, and the stock collapses.

In what way is this not a Ponzi?
You would recommend a language below Scratch and a language below COBOL (Kotlin) on the TIOBE index?
As (mostly) a web app developer writing Angular and Typescript (but having worked with ActionScript, python, a bit of Java and meddled around with c++)

definitely Rust! I already started a course on a MOOC / course site
The sad history of Unicode printf-style format specifiers in Visual C++ (2019)
Security isn’t an issue when everything is trusted