skysight-inc/HackerNews huggingface dataset:
The author really should look into rr, a debugger that records the complete execution of the program so you can literally travel backwards in time to see the root cause of a crash.

https://rr-project.org
I understand why a person would think like that…

It makes sense that someone would come to that conclusion given certain beliefs about the world.

I call it ridiculous cause I think it is narrow minded and not optimal to think of things like that.
I/O hardware is fact. The algorithms did not adapt, so I/O in software is slow. Exactly what the author complaints about.

BTW network is also fast; your typical server has at least a 10G interface, sometimes 40G or even 100G. Transfers within the same rack may be faster than your NVMe, and within the same DC, comparable.
I think it depends only on whether Aristotle, Galileo and Newton were all describing, or attempting to accurately describe, the identical phenomenon. And I believe it is self-evident that they were, what we all now call gravity. Saying Newton discovered gravity is like saying Edison discovered electricity. Obviously, at some point, Newton discovered, or technically, rediscovered gravity and worked out some properties of it with less error than anyone before him.
Apple also puts lidar in the iphone pro models
> I would choose to work on solving problems I found interesting

Maybe identify existing problems at work which impacts you.

Tried to do this myself but interest or suggestion soon becomes obligation and responsibility,
I wised up to it. Good deed always go unpunished and so on...
I urge anyone on the fence to give Plasma a try.

The effort the team is putting into new features and squashing bugs is incredible. Also, the dev community is very open to feedback and actively improving things based on it. Like after last year's Linus Tech Tips issues with Linux, they immediately pushed some updated to smoothen out some of the problems pointed out by Linus.

Ideally, I'd recommend OpenSUSE Tumbleweed to get the latest polished KDE experience rather than KDE Neon or Kubuntu.
I tried ZFS-on-linux with Ubuntu 21.10 and it ate my data (ZFS panics when accessing certain files). Sure, Ubuntu does have a habit of using unstable kernels, but I was still disappointed. It should be stable at this point.
MIT is the best for everyone and best for you because it gives you flexibility when you have contributors
Ask HN: What should I use instead of Heroku?
Recent events have made me realize I should at least consider switching away from Heroku.

I run a handful of small PHP apps with Redis and Postgres as add-ons. Max 5 Standard 1X dynos per app.

I want strong GitHub integration and would also like the replacement to be Docker-based.

I imagine there are tons of developers like me out there. And it seems like there are many options. Which ones would you recommend?
Yes!, that’s what keel-stapled means to me. (It might be an idiom from my mother tongue?)

Thank you for your understanding!! Sincerely. I honestly didn’t know I had so much to say about the process of reading or how much I had thought about it. It’s kind of after the fact that I realize it – my fiancee was very ill during 2020; Undiagnosed for uncomfortably long. Reading scientific papers kept us afloat. Her physically and me mentally. So it can all be described as a silly and charming little hobby part by part, and it’s also a centerpiece of a significant period in life. The little color laser and its whirring sounds and puffs of ozone, and the eccentric little stapler and myself the funny man downstairs folding and straightening PDF files.
Advising someone not to be fragile is a lot like telling them not to be so sick, or poor, or black, or gay, or male, or whatever.

It's blaming the victim. It denies the problem. And it only works to the point it doesn't.

Someday, someone you care about may wake up and discover that what was once possible is no longer. And that person might very well be you.
Ask HN: How do you relax after work?
Hey fellow HN,
How do you relax after the working hours so that you are in a good mood for sleep?
Especially in the Work From Home and start-up scenarios.
Any suggestions would be helpful.
Asking how you could “Monetize Open-Source Software” is essentially asking how you could monetize a useful but mainly social activity which produces no physical product. I’m not sure it’s possible, and if you find something, it’s not necessarily related to the social activity, or it may actually be harmful to it.

This is because free software is not a business model. Free software is an ethical stance, around which any number of business models may conceivably be constructed.
Show HN: Computer Vision Automated Fishing in Minecraft
The UI looks great but the UX is terrible
I have the same sorts of challenges you have. My way of solving it wasnt to do the complete opposite and go into the office. WFH 99-100% is a blessing. Regarding feeling sad/isolated - whatever - you need to find ways to combat this. The way I did this was starting a meetup group - so on time Im not working I can be running events with others primarily nights/weekends. This has helped me tremendously. I additionally will spend say friday afternoon at a local coffee shop. Hope this helps
Material Design 3
The other day I wanted to buy pickled cucumbers at the local Woolworths. They had a number of choices – but, interestingly, didn't matter what brand, almost every jar of them was made in India. They do normally stock one Australian-made brand (Westmont Pickles), but it was out of stock. Separate from the main section, they had a couple of other brands of pickles in the "international foods" section. Both were labelled as "Polish", and one was "Made in Poland", but the other one was made in India too.

They normally stock two different brands of Dolmades. I find it amusing that their cheap store brand is made in Greece, while the more expensive "named brand" is made in China.

I am going back tomorrow morning, to buy bacon. Now I feel the urge to check how true your "Most bacon is Canadian" statement is.
I don't think remembering rm is the issue. It's remembering all the options in all their variations. Take the ps command. I tend to use it as "ps aux" - but I have no idea what the a, the u, or the x stand for individually. I know other people who use "ps -ef". (Also note the difference : the aux doesn't require a dash, and if you accidentally put it in, it doesn't do what you want it to do.)

As another example : the -v option. In most tools this means "verbose". In some tools, but not all, you can pass it multiple times to increase the level of verbosity. But then there are a few tools, e.g. top, where -v seems to mean "version" [0]. Or take the -h option. On many tools it stands for "help". But on tools like ls or sort, it stands for "human-readable".

To me personally this is not an issue - I know by heart a few combinations of options that I use frequently, and I know where to find out the details of those, as well as other options I use less frequently. But I can see how it would be easier for people to pick it up if those things were just a little more standardised.

[0] https://linux.die.net/man/1/top
> His wealth isn’t made up of financial resources and opportunities that other people could have used

This is literally how profit works. You make sure your costs (salaries you pay your workers) are less than the value they produce. In other words, you keep some of the financial resources and opportunities that others could have had.
If you don't use atime, there's no need to keep it around. Daily or otherwise. Unless you have reason to believe an application uses atime, it probably doesn't.

I've used noatime by default, except for few cases where I know it is used, in professional settings for probably two decades. Hopefully you know what kind of appliciation you are running. There are many parameters in a system and this is just one of them.

The only times I've seen atime used has been for a two queues, and only in the case of "has this file changes since last it was read". And that is precisely what relatime is for, the daily update is just an optional extra.
apng is also an option for some cases, which has wide compatibility but it seems like people are generally not aware of it

webp can also do animation
Yes. The point is that software is not static. I work on mobile app that doesn't really have the scaling issue, but it's not that uncommon that a new OS update or phone model has new bugs that needs to be worked around or changes some undocumented behavior that the app accidentally depended on. It's not that difficult from mechanical wear.

In a previous job in early 2000s they did have some legacy software that was originally written for VAX/VMS and run on an emulator. Even that environment wasn't stable enough so they maintained some real VAX hardware just in case. And as far as I know, the hardware was physically breaking down.
> Monetization via Paid Premium Version / Open Core

This point is interesting, because it assumes the only way to do premium is with a closed-source version, losing the open-source benefits.

Personally I've had good success (i.e. comfortably enough income as a solo bootstrapped project that I can work on open source full time) doing a freemium approach that's 100% open-source for http://httptoolkit.tech

Yes, anybody can fork the project and remove the payment checks (here: https://github.com/httptoolkit/httptoolkit-ui/blob/5cf0b10c6...) but it's a non-trivial hassle to fork everything and hook it all up, and means ongoing maintenance work to manage a fork forever, so at the price it's not really worth any serious professional's time (and I give out free licenses for everybody who contributes to the code anyway).

Works well, lets you stay 100% open source, which is good for everybody and encourages contributions, and you can still make enough money to fund development (never going to make anybody a billionaire, but that's not the point).
In fairness, many of the features from PowerToys are built in to Windows 11.
Thanks for the detailed write-up, I find this stuff super interesting. If I wanted to read up and study the maths involved (CLP(Z)) what would be the best place to start (textbooks, courses etc)?
Yes, and none of those require tracking.
Eh, while his technique didn't look that good, consider that it was 40 years ago. No flexible skis with perfect steel edges for the ice that grips nicely like today, nor wide and bendy skis for the loose snow.

Also, the conditions are pure ice where he falls. As in, thick, clear ice, not comparable to what's icy in a downhill track.
I've wasted some time on trying to get multicast RTP working for various purposes and I don't recommend it. Software on the receiving end often isn't equipped to deal with it, so it falls flat. E.g. ffmpeg based software can connect to multicast RTP, but you need to explicitly state that you want multicast. A lot of software that uses ffmpeg doesn't even allow you to set those options.

About VNC, yes, it is slow and laggy... on a raspberry pi 3. ;)

It depends on the encoding and implementation, really. For example, I see that Mr. Wolf is using raw encoding for the RTP stream, so bandwidth is hardly a problem. Thus, I would be surprised if VNC with raw encoding would be any slower than that. In fact, it should be even faster because WayVNC will only send the parts of the image that actually changed, whereas wf-recorder will send the whole image every time. Of course, it also depends on the client. I recommend tigervnc.

I would also like to mention that VNC has, recently, gained support for H264 encoding and WayVNC can do zero-copy h264 encoding on the GPU/VPU using VAAPI. Clients that support h264 so far are: tigervnc and wlvncc. However, only wlvncc does it using hardware decoding and hardware rendering. It really falls short, when it needs to touch the CPU. When that happens, you're better off with Tight encoding.

Edit: I should mention that h264 does not work on Raspberry Pi yet. It needs hardware specific encoder and decoder.

Edit 2: Actually, I misremembered about RTP. My troubles were with multicast RTSP.
It reminds me of an old story - The Handyman’s Invoice

https://www.snopes.com/fact-check/know-where-man/
Yeah, but the point of having a TPM isn't just to have hardware capable of storing keys and doing some cryptography (so you can e.g. sign a challenge without exposing the private key) but also an hardware that makes extracting the keys from it hard. With an Arduino you can get the first part, but I don't think you can also make it tamper resistant or tamper evident. But still a device that could be interesting to play with, just be aware of the reduced grade of security that you get
I've tried a lot of multiple file, find and replace solutions, and spectre is the one that seems to make the most sense to me. There's not much to it but it's very effective. Regex works the way that I expect and it's easy to toggle options on and off.

https://github.com/nvim-pack/nvim-spectre
Assuming they live on countries where contracts are more relevant than pre-paid phones, and are fine paying the monthly iPhone contract subscription.
That book was a while ago, I think? I remember watching the film.

Here's one paragraph that I found particularly unpleasant from the article:

"After he was stripped naked, interrogators 'lined up' one-by-one to slam Baluchi's head into plywood - and, on occasion, concrete - walls over and over again, until they became 'fatigued,' whereupon another would take their place, in sessions lasting up to two hours. A CIA operative interviewed by the Inspector General claimed this method was 'meant more for 'sensation' than to hurt the detainee,' and 'simply made a big noise.'"

It troubles me for a few reasons:

- It seems unlikely that decision-makers approving 'enhanced' interrogation would be aware of the methods used -- because as illustrated here, they're a disgrace -- and so it implies that the site operated without accountability

- It's documented[1] that no useful intelligence was gathered as a result of these actions

- It's (presumably?) taxpayer funds that pay for this, so there should be transparency so that citizens can debate and decide whether they support it

- It seems to imply an organizational structure that allows -- or provides for -- some people without any moral or sympathetic core to be employed in the (largely senseless) hurt of other human beings

To me, those aren't behaviours that should be acceptable in a 21st century organization, regardless of location. So that's what I don't like about the article -- but I do appreciate the ability to read it.

(from reading more about the publisher, it may indeed have some problems - whether financial censorship makes sense probably depends on the weight of evidence and reasoning behind that)

[1] - https://www.theguardian.com/law/2022/mar/14/cia-black-site-d...
Prices cover costs of production. Which are ultimately costs of creation.

If extraction is drawing down a resource, then much as making a withdrawal from a bank, your cost isn't just the effort you put into the withdrawal --- say, Uber fare across town and the price of the slip on which you write the request, but the actual amount by which the account has been debited.

If 1 year's withdrawals from the Bank of Fossil Fuels represent 5 million years of accumulation, then the pricing should reflect this.

I've answered this in part in another comment (https://news.ycombinator.com/item?id=31291706), which gets into the fact that the economic theory governing natural resources largely formed when a large contingent of otherwise intelligent people thought the Earth was no more than about 8,000 years old, and even geologist's considered opinions ranged from 30--300 million years. It wasn't until early work with radiometric dating showed that the age was on the order of one billion years, in the first decade of the 20th century, that the truth started becoming apparent. The central organising principle of geology, plate tectonics, was not officially accepted until the late 1960s.

Economic theory, public policy, and models of financing had developed under utterly fallacious understandings of reality. And they still do not, and strongly reject, reflecting the truth.

Wishful thinking is comforting, until it's not.
> Governments across the globe that introduced biometrics in SIM cards
> as part of the on-boarding process, to clamp down on fraud, include
> China, Afghanistan, Mexico, Pakistan, Nigeria, Saudi Arabia, Jordan
> and Venezuela.

This list of countries should tell you everything you need to know
about the spread of techno-authoritarianism. I've spoken to Nigerians
who say they've had enough and want out due to overbearing and corrupt
government there. They tell me that corruption is both perpetrated by
the government and then used as an excuse to clamp down on personal
liberties and freedom of business that ultimately benefits corrupt
government officers. It's a vicious downward spiral fuelled by digital
technology.

We need much more stuff like Declaration for the Future of the
Internet [1]. Though I don't see how that can directly help people in
these kind of regimes when we allow our own companies like Bluecoat
[2] to export oppressive technologies.

[1] https://www.internetgovernance.org/2022/04/29/the-declaratio...

[2] https://slate.com/technology/2013/01/blue-coat-citizen-lab-r...
> "It's possible, but it is _a lot_ of work!"

How do you know it's _a lot_ of work? Correct me if I'm wrong, since you are implying you are familiar with this, but doesn't Windows 11 just want to verify that the device is available, likely with an echo facsimile along the lines of a version or self-test response? I don't believe any version of Windows requires full TPM functionality.
FWIW, I'm not sure cynicism per se is the problem, or the only problem. It's a certain belief system and acceptance of certain assumptions as true because those justify certain outcomes.

The target essay could have stopped in the first couple of paragraphs and there would still be plenty of societal problems to discuss.
I have come to believe that the algorithmically curated personal feed should be illegal. It’s too powerful and we can’t handle it.

Any social network should either have:
a) One feed for everyone (like news website)
b) A personalized feed that only contains things you’ve explicitly subscribed to in chronological order. No recommendations allowed or suggestions of “you might also like”

Yes we’d still waste a lot of time online because there’s an infinite amount to see in these glowing little boxes. But at least we’d be in control and we’d stop letting these big companies have complete control over our emotions
RSS Feed Best Practices
This only works if Google/Amazon actually find your software so useful that they are willing to pay. If all of your customers are small companies, then you won't receive any payments.
Anyone know of TPMs supporting Ed25519? I've yet to even find any such chips so far.
I couldn't get dragging to work in Android chrome :(
I disagree with getting rid of `--long x`. It's really common to build command argvs programmatically, where you have a string representing some option (such as a file path), and you need to pass that as a long option. With `--long x`, you can do like:

char *argv[] = {"my-program", "--config-file", config_file, NULL};
run_command(argv);

With only `--config-file=x`, you would have to allocate memory for the option:

char *config_file_opt = asprintf("--config-file=%s", config_file);
char *argv[] = {"my-program", config_file_opt, NULL};
run_command(argv);
free(config_file_opt);

And it becomes even more hairy if you A) want to avoid heap allocation in most cases or B) want to use standard functions rather than asprintf. You'd have to do something like this:

char config_file_opt_buf[1024];
char *config_file_opt;
size_t config_file_opt_len = snprintf(config_file_opt_buf, sizeof(config_file_opt_buf), "--config-file=%s", config_file);
if (config_file_opt_len >= sizeof(config_file_opt_buf)) {
config_file_opt = malloc(config_file_opt_len);
snprintf(config_file_opt, config_file_opt_len, "--config-file=%s", config_file);
} else {
config_file_opt = config_file_opt_buf;
}

char *argv[] = {"my-program", config_file_opt, NULL};
run_command(argv);
if (config_file_opt != config_file_opt_buf) {
free(config_file_opt);
}

And even that ignores any kind of error checking of snprintf or malloc which may fail. I also wouldn't even be comfortable assuming the code I just wrote is correct, without thinking long and hard about it and reading standards/documentation thoroughly. Whereas the first example is so simple it's obviously correct.

I think we should keep `--long x`. If anything, `--long=x` is the one which should go. There will always be ambiguity; the meaning of something like `-ab` also depends on whether `-a` takes an argument or not.

Really though, I think there are enough situations where `--long=x` is useful that I think keeping both versions makes sense.
I weaned myself off reddit by blocking everything except i.reddit.com in my hosts file. if i blocked everything, inevitably there would be some post that I'd need to read because i stumbled upon it on google or what have you.

Now, if I really want to read a reddit post, I can. but half of the links break unless you manually change the url to include the "i." subdomain again, the interface isn't so great, but I can access all the content if i really want to, it's just inconvenient enough that you're not going to mindlessly scroll for all eternity
> It's a vicious downward spiral fuelled by digital technology.

Aided more than fuelled ( fuel implies that if it's cut the fire will stop). The history of corruption and opression show no technology is required for that, but it certainly helps.
This is so cool!

Now if something similar was available for a monospace font that Emacs and Visual Studio Code could use, I'd be very happy. I like using a condensed-width monospace font for explorer side panels like Treemacs. I currently use "M+ 1m" in Emacs.
A Better CSV Import
Of course. If it's not lawful, sue them. But don't tell them how to run their business. If you think you could do better, do it.

I for one am very thankful for the cookies and tracking that brought us the modern web. It's made a humongous impact on my life.
What's worse than mathematical proofs on Wikipedia? A whole Wikipedia of mathematical proofs!
Sure, that is true. But given the wide-spread use of banners it is at least obvious that they care enough to ruin their own UX.

Which is also a huge cost. As you say, users want a "no and never ask me again". Well, you can have that today. Just don't do anything that requires anyone to say no.

And again, if a site chooses that path then the banner is a feature. It is disrespectful and although it is a royal pain it is very good for users to know up front what kind of entity they are dealing with. Remove that and people will become apathetic to it.
Glocalization – A Portmanteau of Globalization and Localism