skysight-inc/HackerNews huggingface dataset:
Editor ergonomics seem to be very personal, like furniture so I’m glad we have so many options.

A long time ago I read some piece by Groucho, about how it's impossible to find a beef (or ham, or turkey, not sure which it was) sandwich any more. He goes to some sandwich shop and ask for a beef sandwich and they offer him a beef + hard boiled eggs + lettuce sandwich with mayo, cherry tomatos and oregano, or a beef + cheese + spinachs + nutmeg sandwich or whatever. But he can't just buy a simple roastbeef sandwich, maybe with a pinch of mustard.

I used Notepad in Windows for simple text, that used to work OK. Then I changed to some free editor created by a guy as a programming exercise with some interesting extras. Now both have the same problem: if I need to open big text files for some reason, it takes forever.

Edit: big as in ~ 1 MB, sometimes smaller.
It’s also the only tool that private torrent trackers will accept. It’s been rigorously tested and accepted to be pretty much perfect, complete software.
Unexploded grenade removed from Ukrainian soldier's chest
Do people contact you?
My family fled russian aggression in the turn of (last) century. I'm not sure what you mean by "becoming". This IS the history of russia. It is how they have always viewed the rest of the world. Violence is the russian way.
Why would that be bad? A submarine salesman convincing you that his submarine "swims" doesn't change the set of missions a submarine might be suitable for. It makes no practical difference. There's no point where you get the submarine and it meets all the advertised specs, does everything you needed a submarine for, but you're unsatisfied with it anyway because you now realize that the word "swim" is reserved for living creatures.

And more to the point, nobody believes that "it thinks" is sufficient qualification for a job when hiring a human, so why would it be different when buying a machine? Whether or not the machine "thinks" doesn't address the question of whether or not the machine is capable of doing the jobs you want it to do. Anybody who neglects to evaluate the functional capability of the machine is simply a fool.
The vast majority of evolutionary complexity has evolved in the past 500 million years. That's what I meant by "interesting". Things like flowering plants. It has absolutely nothing to do with our branch of the tree of life. So I'm not sure where your accusation of narcissism is coming from.

For all I know a flowering plant will develop a brain and become sentient in the next 200 million years.
Plausible, but not realistic or actually happening, because there's nothing at the protocol level that prevents the long tail of small compositors, toolkits or applications from implementing a Wayland backend.
I suspect it’s that the tips of the shell are intended to be pressure sensitive and trigger an explosion that then detonated the main payload. The explosive in the tip was so sensitive that tearing through paper was enough to detonate it.
I would say that you don't want a bad product owner between you and the customer. Having a great one can build an amazing experience for both the customer and the devs. But you are correct that a bad one will traumatize you.
>IBM, GE

Are we living in the same dimension?

That is to say, IBM and GE are still world-defining and -leading behemoths.
We do that too but notionalizing for us is usually creating data that looks and behaves realistically but is actually fake. (A side benefit to this is that we can then use it for demos!)
This is really fun, and it definitely tickles that same part of the brain as sudoku.

One UI suggestion is to use a diverging color palette for the larger numbers so there are different hues for too many versus too few attackers.
If the ammunition touches paper when shot, it detonated
Depends a lot on your application and how big the changes are. IF you're an online store and you're pushing out incremental changes to a subset of users its a good strategy. If its aircraft auto-pilot not so much.
Isn't this what companies like Adobe or JetBrains are already doing?
An under-appreciated side to buying the more expensive option is that the daily experience of use is that much better. Not only are you saving money in the long run but you’re also enjoying it.
So you mock data and then flag it as fake.
I've had btrfs lose data several years ago from download-> quickly reboot without manual sync, as well as an ext4 system partition corrupted by unintended power loss (only once that I know of, many other times I had no issues).
Stories like these are a prime example of grossly irresponsible historical revisionism born out of either ignorance and/or unethical expedience, unilaterally redefining “key punch operator” to be what we now call a “programmer”.
Yeah I mostly agree with this. I hope we don’t repeat these mistakes but I suspect we will.
Mystery of rubber bales that washed up on Palm Beach may be solved (2021)
I wish companies would put as much effort into enforcing the sanctions against Russia as the MAFIAA puts into keeping you from using one country's streaming services from another country.
An X11 window manager is more akin to a gnome extension than a proper window manager. Just because writing such a plugin is easy shouldn’t make our expectations all that different.

And frankly, for putting together a window manager the proper choice of action is extending an already existing compositor.
Lol no. Don't equate avoiding ads online with stealing.
So there's a word for this! Maybe I'm a bit OCD. I tend to knoll everything on my desk but I deliberately put something at a diagonal if I want to remind myself to take it with me when I leave. It might be my pen or my reading glasses or the box with my ear buds. When I glance at the desk after standing up from it, anything that's not knolled stands out.
Youtube is an outlier but Google generally doesn't mess with success (IME) of substantial acquisitions. Youtube has their own culture (so much so that they call themselves "Youtubers" not "Googlers" and have (had?) their own campus). Android too were deliberately kept separate. Not that it was an acquisition but Chrome too had its own culture and codebase.

Buying things and killing them only seems to happen with smaller talent acquisitions (eg Sparrow, Urchin).
In the late 1990s, MIT's East Campus dorm organized an annual Sodium Drop from the Longfellow Bridge. (Later discontinued after a chunk of sodium survived, oxidized to concentrated lye, and chemically burned an unfortunate clean-up worker who mistook it for styrofoam.) As I remember, the MC of the event would first throw 500g of some foodstuff (I forget which) into the river for comparison, and then throw 500g of metallic Sodium into the river.

At least one year, I remember them following up the Sodium with a salute made with a few hundred grams of TATP (apparently called "Mother of Satan" by Hamas, due to its tendency to detonate during manufacture). A friend of mine described the assembly line process they used for making the TATP. It sounded like they had several kg of TATP out drying on baking sheets at one time. My understanding that around that time, TATP was the most common filler for Hamas suicide vests. I don't think it took very many kg to blow up a whole bus. Batshit insane.
Open Circuits is a beautiful book that also explains how things work.

One picture I really enjoyed was the cutaway of a barrel jack power plug. The author explained how plugging in a power cable would physically change the power source from an internal battery to something external. For a CS person, this physical elegance blew my mind.
No, because your entire sense of what's "beautiful" or "right" has died along with you and the rest of the human race.
The 30% (or whatever it is) cut in the app store?
Thanks, that was an interesting letter. I was unaware of it. In any case, there are things to learn from Chomsky, without agreeing on everything with him.
I see you just don't want to see the problem. Look at this document: https://www.open-std.org/jtc1/sc22/WG21/docs/papers/2014/n41...
Show HN: Robyn – A fast, extensible async Python web server with a Rust runtime
Me too.

I noticed this one night when I spent something like 2 hrs scrolling youtube on my TV adding "gotta watch" stuff to watch later list. My eye lids were heavy. I wasn't even watching the videos, just adding them to later.

I was addicted to the find of a video that promised to make my life better. Though the obvious fact that 1) probably not and 2) even if so I'd have to watch it, not just queue it for later. It really hit me i had a problem when youtube failed to add to watch later. apparently 5k videos is the limit for that list. (And they dont give you any rapid way to clean it up either, lol).

Books is my answer. Yes we can waste time with books, but the stimulation package is just so below the threshold that I'm not worried about. It's like yes you can get fat eating just fresh/roasted vegetables. But I dare ya to try.
Everyone tests in production. Some people also test before production!

Some people try to NOT test in production, but everyone does test in prod in a very real sense because dependencies and environments are different in prod.

I think the question was "Do you INTENTIONALLY test in production"
The websites and apps mentioned aren't the sort that people would be addicted to anyway. (this should be blindingly obvious) In fact their very purpose is addressing the problem of web site addiction. Are you suggesting that people might be spending hours and hours on the "screentimeaccountability" web site, as part of their addiction?

Anyway, we're on a web site right now. Isn't any comment on this thread similarly "misguided" (including your own), since that is one more bit of content for the addicted person to consume?
Less than a year ago I made this exact statement in a thread on hn where a bunch of people were talking about how humans are like a virus on the planet.

I pointed out that the only thing in the history of the earth that can stop the inevitable coming mass extinction from the occasional asteroid are the hairless fire apes that have learned how to harness chemicals to create rockets.

The responses were essentially calling me crazy and saying it was fantasy.

The repayment is simply not dulled at all. Virtually every medium sized or larger species on the planet gets wiped out on the occasional large asteroid hit. A percentage of them going extinct is a small price to pay for the majority staying alive when the asteroid doesn't hit because we redirected it. For the first time in its history the earth now has hairless fire apes to act as an immune system against asteroids.
ZSWatch – Open-source Zephyr-based smartwatch
You accuse me of an assertion I have not made, while ignoring the assertion I have made, and go on name-calling as your only ad-hominem argument. It's clear who's having an irrational behaviour here. Good night.
I see a lot of suggestions in the comments for feature flags -- we've been using these from the beginning, to very good effect.

However flags turn on/off code, not data, and my main area of interest here is how to deal with the test data problem in prod.
You aren’t pathetic.

Unfortunately many apps aren’t that good and just resort to trying to be the most important app in your device.

Too much ux practice has been perverted to have the user work for their app instead of working for the user.

The really nice thing is we are not alone and rarely the first. The goal is to create and not consume. Write lots like this comment and revisit and review it. Add to it mindfully.

You might like this books called Stolen Focus: https://www.amazon.ca/Stolen-Focus-Attention-Think-Deeply/dp...

To help break the distraction cycles to finish a book, there are more and more resources out there for disrupting the novelty seeking attention dopamine loops.

Some things that help:

- make your phone screen black and white

- turn off all notifications of all apps. This means alerts, notifications , counters and dots.

- the notification thet is on is your calendar. Setup notifications to remind you to check your device or messages at a set time. Your brain the knows you can enjoy it with full focus.

- a tablet is handy for moving your consumption to. When you put it down it’s put down.

- The mode of iOS is really decent.

- Use airplane mode liberally

- social media and digital detoxes help

- On your laptop manually edit your hosts files. Put all the sites you refresh many times a day. Make it a bit hard to edit and you’ll discover you won’t do it much.

- block Hn too on main decides. Dedicate a device to read and consume it and leave it there. Nothing you’ll miss out on.

- turn on all digital health tracking so you see your daily app and website usage. Rescuetime is a great little app.

There is a link that I’m trying to remember which explains this and more very well.
Essentially creating fake data that looks very realistic and creates narratives that would span real use cases. Some of this is simple (fake names with faker), some of it is a bit more manually guided (customer-specific terminology and specific business logic).

The goal here is for the data to both be useful for testing and provide coverage not just at a software level, but at a user story level. This helps test things like cross-application interactions; is also doubly helpful since we can use it for demos without screwing up production data.
Sick of smelling her neighbor’s legal pot, this woman sued
Think about the request from air crew to switch phones to the flight mode. Many people assume it’s for safety reasons. In fact would it be dangerous for the airplane systems there will be a real measures in place which are enforcing the rule - like a kill switch for all phones, scanners for not turned off devices, collecting devices before boarding a plane; but nothing like that in place. It’s because this particular request is to reinforce that passengers must comply with air crew orders, regardless of what they request (to some reasonable boundaries of course)
And that's a great model. Ask for support, enough people offer it. Don't add paywall, the extra exposure will attract more people and statistically more payments. The whole ad driven model only works for the 'growth at all costs', VC financed platforms. To buy into their narrative whole sale is just naive. It's arguably quite detrimental because it incentivizes a race to the bottom with dark patterns fostering addiction (the very subject of this whole discussion). There are entire networks of content producers making millions by creating purposefully stupid and misleading videos on TikTok and YouTube, infuriating people driving engagement.
Ask HN: How do I go about this startup idea?
Virtual Receipts - you get a digital receipt wherever you use your credit card.

Basically I find it annoying having to get a physical receipt and keep it around for 10 or so days in case I'd need it.

But If I could go somewhere and set my default preference (Print|Digital). Then it'd be in my mobile phone.

It'd use CC'd to keep track of receipts.

State of this idea:
------------------

> need of product (pretty sure yes)

> improve customer experience and speed of checkout (yes)

> technology complexity (easy)

> integration (Impossible)

How can I get all top companies to sign up for it...

Basically it'd go like this:

Walmart: does 1234 exist?

New_APP: yes

Walmart: 1234 bought 1xA@3.33, 1x33@1.59, ....

New APP: confirmed, great.

===========================

I dont want an app that gives me full overview of my spending habits, or sells my data, or shows me offers for credit cards, give me points, offer memberships or prompts me every time i buy something.

Basically i don't want to use the app, i just want my receipts to be there when I need the said reciept.
You have a typo in your first date. Should be obvious to any readers but figured I'd mention anyway.

Unfortunately, It's doubtful invoking Sweden will be persuasive to those who firmly believe they had worse outcomes during the pandemic due to their policies.
In a multi tennant system one of the accounts can be a test account. Within that you can run integration tests. You might need special cases: test payment accounts and credit cards, test pricing plans and so on.

Some basic ping tests and other checks before swapping (as in preparing, initiating, and pointing the load balancer) to a new version into production would be smart.
> How many Linux technologies have not been able to surpass their counterpart technologies after years of iterating? Two are top of mind: epoll and btrfs.

Apples and oranges. No one is required to use btrfs, it is one of many options for filesystems. In my opinion, btrfs is dangerously close to a failed filesystem design for a variety of reasons, but no one needs to use it. That is a good thing - some designs succeed and some not so much, and the successful ones survive and prosper, no need to change operating systems or anything like that.
Why is complexity interesting if there are no humans to observe it?
I only partially agree... Intel, DEC, DG, and other CPU manufacturers were nibbling away from the bottom.

Microsoft did it but Digital Research or Sun could have equally delivered a killing blow if Microsoft had never existed.
Essentially yes! We usually try to follow some sort of theoretical user story/paint some sort of narrative but at the end of the day it’s just adjusting the mocking.

Just now realizing notionalizing isn’t a widely accepted term for this
Probably not if he knew humans could launch rockets into space.
It seems odd to me that we still require .o files at all.

Given the final program needs to be storable in RAM + Virtual Memory it surprises me that we still need the intermediate step of pushing to the file system only to then immediately reopen and merge those files.

Does someone have more info on this? Or is the reason just legacy? Or is the reason just some ideological “single responsibility” thing?
> this type of policy changes on a whim

Ehh...

"I want to share another idea in this post to keep it open-source [..] Let me know what you guys think" is not a "policy change on a whim". It's an idea. It was not "walked back" on, because it was ... just an idea.

Your comment is a horrible misrepresentation of what's actually in the post.
Good testing is an exercise in pushing I/O to the fringes, as that's what has stateful side-effects. (Some might even argue that anything that tests I/O is an integration test. The term "integration test" is not well defined and not worth getting hung up over IME.)

Once you're into testing I/O, which is ultimately unavoidable no matter how hard you try not to, you either need cooperative third parties who can give you truly representative test systems (rare) or a certain amount of test-in-prod.

Testing database stuff remains hard. You either wrap things in a some kind of layer you can mock out, or dupe prod or some subset of it into a staging environment with a daily snapshot or similar and hope any differences (scale, normally) aren't too bad.

Copy-on-write systems or those with time-travel and/or immutability help immensely with test-in-prod, especially if you can effectively branch your data. If it's your own systems you are testing against, things like lakefs.io look pretty useful in this regard.

And yes, feature flags, good metrics, and load balancers that you can send a small percentage of traffic through a new version (if your traffic/system allows such things) all help.
You don't say that he 'should' do anything. But you're providing a purely hypothetical example of what someone might do with their money if they were allowed to continue making money beyond the amount of money that they would need to buy a nice house and feed themselves well.

You're providing a justification for why someone would need more money. Why would you do that, if you don't believe that they should be able to do that? This is such an obnoxious level of not sticking to a reasonable interpretation of what you said.

I know you didn't say the word 'should', but if you don't see that you providing a defense (in the form of a case for why they should need more money than what the original commenter stated) of billionaires reads as you cosigning why they should be allowed to make billions, then maybe, legitimately, you should take an English literature class? Like, this reads as pretty Gas-Lighting behavior to me. I'm not responding to things you didn't write.
Please find a mentor. An actual person. Courses and tutorials will only get you so far.

Ideally, look for a job that does pair programming. Or a team that is willing to teach you.

No one is competent after 3 months. It takes 2 years, to be a mediocre developer at best.
Ads on the internet are going to get significantly worse, for everyone
Insurance companies don't sell policies to repeat offenders and known frauds... Neither do boards.
Stab in the dark, but can't this be used as a weapon? Covertly redirect an adequately small asteroid near to the capital city of your enemy, act horrified at the unlucky "natural disaster" that happened, maybe even send help in a gesture of distension...
https://en.wikipedia.org/wiki/AeroVironment_Nano_Hummingbird
This looks pretty cool.

But I regularly watch Red-Tailed hawks, around these parts, and they not only change the way they flap their wings, they drastically alter the surface area of their wings; dependent upon the type of flying they are doing. Sort of like ailerons, on airplanes.

For example, when they are "on a mission," going from "here," to "there," they trim their wings, so they are narrow and smooth. They almost look like gulls, in flight.

However, when they are hunting, which involves slow, flapless, soaring, they spread out all their feathers, so their wings have a great deal of surface area.
Your uneasiness is understandable, but often it is far simpler to check the correctness of a result than to find it in the first place. Then property-based testing really shines.

Even outside that special case it is always possible to generate just some input data and check for the absence of runtime errors or exceptions. That approach can be improved by adding assertions, pre- and postconditions to your code under test.

Additionally, there a different ways to come up with good properties, see: https://www.youtube.com/watch?v=zvRAyq5wj38
I think the argument is not that mankind preventing a mass extinction event is unnatural, but rather that mass extinction events seem both natural and necessary for the rise of new life forms, and as such are "neutral" rather than bad events (except from the perspective of mankind, which would be rendered extinct). So it can be argued that you are not necessarily making a "favor" to Earth's ecosystem.
I did an abx test on reasonable caliber headphones. Try it! It surprised me.
This was a very exciting book to get my hands on as a teenager. Now I think this is the best take on it:

https://thehardtimes.net/blog/recipes-anarchist-cookbook-tas...
>I'm not sure there’s solid argument for why one is more deserving of existence than the other.

I think an existence bias is defensible. Take it as an axiom that suffering is bad and flourishing is good. I think its clear that the suffering of something that exists is worse than the lack of flourishing of something that doesn't exist but could. Value is something that conscious creatures do, and so value depends on existence. The states of something that can prefer its own states should be valued over the states of something that can't. Existing fish matter more than rocks and potential fish. So the organisms that exist, at least the sentient ones, should take preference.
Much of the Go code posted here could be simplified into a more idiomatic, easier-to-read form. I'd honestly recommend the Ardan Labs training for Go as a refresher - then come back to rework the example code.
Being an expert in anything is demanding.
Yeah... Me too.

95% if your company takes federal funding.
Builds can be much faster if you don't need to recompile all the modules into .o files.