skysight-inc/HackerNews huggingface dataset:
I feel this. I feel even less autonomy with the advent of slack and always on communication tools, and it has hurt my productivity. And then when I try to say I'm going heads down to get things done I'll get pinged anyway with claims of a manufactured "emergency". We don't write medical software and hell we haven't even released yet, there is no such thing as an emergency! I work in consulting so the usual excuse is always, "But a client demo" which in my head just means management setting poor expectations.
This reminds me of a 2004 weblog post by one of the co-creators of ZFS, Jeff Bonwick, on why 128 bits was chosen:

> Some customers already have datasets on the order of a petabyte, or 2^50 bytes. Thus the 64-bit capacity limit of 2^64 bytes is only 14 doublings away. Moore's Law for storage predicts that capacity will continue to double every 9-12 months, which means we'll start to hit the 64-bit limit in about a decade. Storage systems tend to live for several decades, so it would be foolish to create a new one without anticipating the needs that will surely arise within its projected lifetime.

> If 64 bits isn't enough, the next logical step is 128 bits. That's enough to survive Moore's Law until I'm dead, and after that, it's not my problem. But it does raise the question: what are the theoretical limits to storage capacity?

> Although we'd all like Moore's Law to continue forever, quantum mechanics imposes some fundamental limits on the computation rate and information capacity of any physical device. In particular, it has been shown that 1 kilogram of matter confined to 1 liter of space can perform at most 10^51 operations per second on at most 10^31 bits of information [see Seth Lloyd, "Ultimate physical limits to computation." Nature 406, 1047-1054 (2000)]. A fully-populated 128-bit storage pool would contain 2^128 blocks = 2^137 bytes = 2^140 bits; therefore the minimum mass required to hold the bits would be (2^140 bits) / (10^31 bits/kg) = 136 billion kg.

> That's a lot of gear.

> To operate at the 10^31 bits/kg limit, however, the entire mass of the computer must be in the form of pure energy. By E=mc^2, the rest energy of 136 billion kg is 1.2x10^28 J. The mass of the oceans is about 1.4x10^21 kg. It takes about 4,000 J to raise the temperature of 1 kg of water by 1 degree Celcius, and thus about 400,000 J to heat 1 kg of water from freezing to boiling. The latent heat of vaporization adds another 2 million J/kg. Thus the energy required to boil the oceans is about 2.4x10^6 J/kg * 1.4x10^21 kg =
3.4x10^27 J. Thus, fully populating a 128-bit storage pool would, literally, require more energy than boiling
the oceans.

* https://blogs.oracle.com/bonwick/128-bit-storage:-are-you-hi...
A web based code editor [1] that supported a small set of languages (C++, JS, Go, Python and Rust), it also supported Vim-key binding (thanks to CodeMirror), came with a localStorage based "file system", so you can save multiple file in your browser. You can get the source on GitHub [2]. To host it on your server, you'll need Docker for the runtime btw. It's pretty helpful to code when I only have access to the iPad during the weekend.

[1]: https://kodes.app
[2]: https://github.com/huytd/code-playground
Thanks for posting this! It is relevant to me right now and great example. Especially since I'm using a new to me database, Spanner.

Specifically I similarly pull rows into a 'queue' like that linked sql by WHERE primary key, primary key, and queue_status ORDER BY timestamp, uuid LIMIT 10. I was worried what would happen with many requests around the same time if it would accidentally pull duplicates into 'queue.'

I think hopefully I've implemented Spanner locking read write transaction correctly and that this won't cause problems at scale (we're not even close to google scale lol).
When the socket is closed as part of exit(2), it always lingers in the background

In other words, not closing the socket before exiting might actually be the easiest way to not have the connection aborted with pending data?

Note that Windows has slightly different, and perhaps the more expected, semantics for closing a socket with pending data:

https://docs.microsoft.com/en-us/windows/win32/api/winsock/n...

However, any data queued for transmission will be sent, if possible, before the underlying socket is closed. This is also called a graceful disconnect or close. In this case, the Windows Sockets provider cannot release the socket and other resources for an arbitrary period, thus affecting applications that expect to use all available sockets. This is the default behavior for a socket.
The Belgian Blueprint: How a small nation became a European football superpower
The threat of punishment has never been shown to be a deterrent to crime.

EDIT: I would have thought this was a well-known issue by now, but for those who are disagreeing, "punishments do not deter crime" is also the opinion of the National Institute of Justice: https://nij.ojp.gov/topics/articles/five-things-about-deterr...
There are six quarks: down, up, strange, charm, bottom, top.

There are six anti-quarks: down, up, strange, charm, bottom, top.

Using the strong force, a quark can annihilate only an antiquark of the same type, so the number of charm quark minus the number of charm antiquarks is "almost" conserved. If you start with a system with one charm quark like the particle here, you "allays" will have a system with one charm quark, or 2 charm quarks and on charm antiquark, or ... but "never" a system with no charm quarks like a few photons after annihilation.

It's more complicated, because the weak force can annihilate one quark with a different antiquark. (The rules are somewhat complicated, and some annihilations are more usual than others.) So after some time, you can be lucky and a weak interaction can destroy your charm quark and a up antiquark, so the number of charm quark minus the number of charm antiquarks changes "slowly".

Here "slowly" means that to see an effect of the weak interaction you must wait like 10E-12 seconds instead of the 10E-24 seconds you must wait until you see an effect of the strong interaction. The numbers change for each decay and are difficult to calculate and may be much longer. So everything in scare quotes means it's just an aproximation.

For example the neutron->proton+electron+antineutrino decay use the weak force and you must wait like 10 minutes that is a lot for an unstable particle. The particle discussed in this article has a life of almost a millisecond, that is very long for a particle but short for us.

(Electromagnetism can annihilate only an antiquark of the same type, so it's not important here and it's much fainter.)

---

On the other hand, you are right. This article is about the decay of a particle D0 into a Ks0 and pions. After some time (probably a few milliseconds after the experiment finalized) the Ks0 decays in more pions. And the new pions and the other pions after some time decay into photons and muons and neutrinos, and after some time the muons decay into electrons and neutrinos.

The number of electrons and antielectrons (positrons) are equal, so they annihilate each other and you get more photons. Also, the number of neutrinos is equal to the number of antineutrinos, so they theoretically can annihilate each other, but in practice they just escape.

So the global reaction is an annhihilation:

real: D0 ---long-story---> photons + neutrinos + antineutrinos

optimistic theoretical possibility: D0 ---longer-difficult-story---> photons
Yes we can easily Google "BP".
What state restrictions on scouring DNA databases would you like? The article points out how incoming state laws would make this investigation impossible, but it turns out it was just a few states being referenced.

I think this needs to be treated as property of the individual as well, or even of an individual's estate, and there must be consent granted for each use and compensation for it. Consent can be revokable and a record of the consent's state should be attached to every piece of data.

It leaves the avenue open for this same kind of investigation to occur.
Really? Distatnt galaxies move away from each other at insane speeds. That seems like a plenty of kinetic energy to me...

What if kinetic energy is the only thing responsible for galaxies moving away from each other? Or at least the bulk of it? Maybe the part that we interpret as a period of super fast inflation right after the big bang? Maybe this rapid inflation is just a way of interpreting matter having huge amount of kinetic energy relative to each other right from the beginning?
Elrise – Leave the web site, system software development to us
I have a lot of poorly engineered

curl | grep | tr | awk

pipes written into a loop in a bash script to scrape web pages and pull out text or data. I find if I'm just doing a one of, I can usually identify some feature of the html to pattern match one that lets me strip out the data in a very simple script and not have to use beautifulsoup etc.
I agree with everything you're saying save for this:

> I live in a high-crime city in the northeast and as big component of my job is spending time in high-crime parts of cities all over the US (most recently, Chicago South Side, including Altgeld-Murray projects). The only times in my life where I thought my life or safety was in serious jeopardy involved interactions with police.

I understand there's a meme that exists about Black people needing to fear being murdered by the police. The entire point of my post is that, from a statistical point of view, this is almost as irrational as being afraid of terrorism, a plane crash, a shark attack, or being struck by lightning.

I was also focusing very narrowly on the topic of police killings of Black people, as you noted. I want to be very clear that I understand that Black people are victims of racism and socioeconomic inequality in other ways.
I operate a long-form nonfiction website, and back in 2012 we wanted to introduce a podcast episode version for each of our articles. I started tinkering with making recordings, but I suffered from the cringe of hearing my own voice, which was amplified by hearing every mistake and retake.

I finally got past this problem by rolling my own audio recording software. I paste in the script, and the software highlights one sentence at a time. I tap a key to start recording that sentence. If I make a mistake or I'm not happy with how it sounded, one key press discards the audio and restarts the recording. When satisfied, one key press moves it to the next sentence.

When I'm done, I can download all of the recordings into one merged WAV, and I never have to hear any bad takes (it also trims 0.1 seconds from both ends of each sentence's audio so the key press noise is removed).

It's a little clunky, being home-grown and all, but it works great. Recording stuff is pretty easy now. I keep thinking about making it available to the public, but it's not yet polished enough for that.
Was about to say it. Get Falcon 4.0 then do the Massive! Free! update named Falcon BMS. They really coded the radar, emissions, warming detectors, etc.. Not just a if locked then give a pin/warning lock to the target type of logic. Super impressive stuff and we are not even talking about the dynamic campaign and how all ground radar and ground to air missile platforms work together for instance. There are so many things. And I play DCS a lot. But Falcon BMS is unbeaten for that.
So if the mass eigenstates aren't different then you don't get mixing between the flavor eigenstates, so this is expected? And by measuring the frequency of the FCNCs then that is what gives them the difference between the mass eigenstates? (bear with me, its been 25 years since I decided to become a programmer instead...)
Most adblockers rely on crowdsourced detection, there are ways you can report ads so the rest of the community can all block it. It's possible you ran into a new ad.

Also ABP allows some ads it deems not intrusive. Ublock origin is stricter and better in my experience.
> Everyone engaged is a willing participant.

Conscription is a thing in many countries. Not sure how many conscripts are flying, though.
As someone that has been unemployed for 6 months, dealing with burnout, I was tremendously grateful that a younger me saved and lived well below my means.

I was mocked for going to a state school, mocked for driving a 10 year old car, mocked for living in a cheaper home and now told I am lucky and privileged to be able to take time off to deal with burnout. Ok. Sure.

No matter how you live or what you think, half the internet hates you.

Months of meditation helped me realize I can be happyand avoid stress by not caring so much about other people's opinions of how my life is wrong.
The article starts by discussing SKIP LOCKED
There is no ‘long run’ in politics, especially for leaders with term limits.
Having played Risk on and off for almost 40 years, this article sounds...silly and wildly overthought.

Oh and, my favorite strategy: capture Australia first, then creep outward, deny others full countries, and create opportunities for other players to attack each other.
I love this thread! Here's my list of tools that I actually use(d). I guess I have quite some itches that need scratching :-P

Project-cmd [1] (current itch):

A cli tool to standardize working on projects in different technologies. Think of package.json but for declaring/starting/stopping containers, creating db dumps, declaring data files (archives) to back up and restore and pushing db dumps + archives to a server via ssh and pulling them. Also editing the hosts file and jumping to a project's directory with a single command.

TouchOsc Generator [2]:

If you have tried to create complex TouchOsc [3] files things get repetitive and ugly very quickly. Touchosc-generator is a templating engine for TouchOsc files. You can create and reuse components and repeat + place them in grids via simple json files.

Emailed invoices

A simple node script checking my inbox for emails containing invoices simply regexing the sender and subject and automatically uploads them to the correct month's folder on my nextcloud server. Highly useful for accounting.

Accounting

A terrible meteor spa I wrote in 2015 for creating invoices and giving a simple accounting overview for my consulting business. It's quite crappy in some respects, but I created every single invoice since 2015 with it, so who knows...

D39r

My last flat had 2 levels and opening the door for the mailman meant running as fast as I could to the other end of other level of the flat. After opening up the intercom and finding that pushing the door button simply closed a circuit between 2 cables which in turn opened the door of the apartment building.
An arduino relais, raspberry pi and a little bit of hacking later I could open the door via my smartphone. I used this as long as I lived there.

Mushrooms

I digitized a book about mushrooms with ~1200 pages by taking the book apart, scanning all the pages, writing a script to restore the pages order, using opencv to automatically detect blocks of text and images in the scans and mapping each image to the corresponding text blocks. Then used tesseract for ocr, manually corrected ~3000 paragraphs of texts with my girlfriend and developed several scripts to extract mushroom features for easily indexing/finding with a web app.
Wouldn't/couldn't publish due to obvious copyright issues. This was a lot of work and I loved it!

[1] https://github.com/martinwittmann/project-cmd

[2] https://github.com/martinwittmann/touchosc-generator

[3] https://hexler.net/touchosc
This is pretty trivial compared to some of the others, but I made a personal TV Guide for myself and my girlfriend using Trello and TVDB. (Screenshot below.) The purpose is to help keep track of what we're currently watching, since it's usually 5-10 things at once, and what we want to watch in the future, since that is almost infinite. Also, it helps keep track of shows that we set aside between seasons, but want to come back to (On Break).

The part I built (the part that isn't just Trello) is not strictly necessary, but it was fun to make and it makes the guide more fun to browse. When you drop a new title on the board, a script grabs the description and cover image from TVDB and adds them to the card. Searching by title isn't foolproof, so in case it gets it wrong, the script temporarily embeds the other search results in the description. Marking one with an asterisk will trigger a fix.

1. https://imgur.com/a/hZlg7Rl
Comparison of metformin and berberine based on Cochrane meta-analysis:

https://www.youtube.com/watch?v=OPsMMfSQKQ0
That’s so cool. Any chance you’d be okay sharing the script?
I thought 'no special place' was meant to say physics was the same everywhere; not the environment.

If you have a sparse gas with a random distribution of velocities and you let it sit for a while, you will find that the outliers on the upper end have have moved further away from cluster center. They have boiled off.
human life > fish life
Metformin likely blunts the impact of high intensity exercise. But for the 65% of people living sedentary or low activity lives, it’s a straight win. Even for those who are consistent with physical fitness, the downsides can likely be avoided by waiting a few hours after the morning exercise session to dose.
I remember when it was a big deal that I could play MOD files through my PC speaker (I forget the name of the tracker I used, but the interface was in German and was fast enough to run smoothly on my 386SX/25).

That mplayer now runs on DOS is amazing to me (even if it is on more powerful hardware) -- I could never back then have imagined computers playing full color video with audio.
Mostly boils down to Redis having a richer API, and memcached being faster / more efficient. The new EXT store stuff allows you to leverage fast ssd's to cache stupid huge datasets. Memcached is also one of the most battle tested things out there in open source. I've used them both plenty over the years, but tend to lean towards memcached now unless I really need some Redis API feature.
i love that Australia strategy, its my go-to
Yes. And keto, OMAD, etc... They all do the "same thing" in reducing serum glucose and therefore all the downstream bad things that happen.

Metformin forms the base plank of novel metabolic cancer regimens too.
The family agreed to help the police figure it out.

Maybe their reaction to learning the news was more like "yeah this makes sense - dad was an abusive asshole my whole life. At least I wasn't killed".
Sure, things become boring as they become popular, and therefore optimised.

Rather than lamenting the loss of baseball, you can go and find another sport that is more immature, scrappier, and so on. If pop music is predictable then find a music genre that is less well known.

The key is to look to where the money is, and then go elsewhere.
I am not very old, but I am old enough to remember we managed perfectly well before we had Internet on the car/plane/train. It's not clear to me that it provides any societal benefit that outweighs the cost in human lives.
I think you’re assuming that the cost of paying someone to continually track this and maintain everything is 0. It’s not and therefore the savings would have to justify this cost.
Isn’t that a valid description of both pair-creation and pair-annihilation events?

(Serious question; I’m not a professional physicist)
A couple of tools that may be useful:

Macs use a different UTF8 encoding for file names, that causes all sort of weirdness when sharing files with Linux / Windows machines, so I've made a tool to convert these:
https://github.com/wazoox/utfmacmv

I was constantly in need of cleaning my ssh known hosts list, so I've made a small script around "ssh-keygen -R" that removes both the lines for the hostname and its IP:
https://github.com/wazoox/khc/blob/master/khc

Also I've made a small CGI script running on my PC to scan the local network and identifying newly connected machines (because I'm building and testing servers):
https://github.com/wazoox/PingScan
Fosshost-Freenode Partnership Discontinued
Fosshost just announced that they have discontinued the previously announced partnership with freenode.

Previously:

Fosshost Enters Partnership with Freenode

https://news.ycombinator.com/item?id=27366364

Freenode and Fosshost Partner to Empower FOSS

https://news.ycombinator.com/item?id=27371829
cninja, to enforce better CMake defaults, manage various configurations for CMake buildsystems and easily generate toolchains with a set of configurations / linker options / etc.

=> https://github.com/jcelerier/cninja
Why would the commentators have a stake in the matter?
You don't need money to meditate for an hour a day, you need a conscious decision to do so.

Start small. Meditate for just a few minutes, as you currently do with the dishes, and slowly increase that, minute by minute. You'll might find that you have that hour in your day.
>Metformin forms the base plank of novel metabolic cancer regimens too.

For which you'll likely have to lie to or find an alternative oncologist who's willing to tolerate adjuvant therapies that aren't 'standard of care'.

There are organizations that are developing protocols that include metformin along with statins, anthelmintics and even some antibiotics that are showing promise across a variety of research and even some clinical trials to help fight cancer through a number of mechanisms. Independently they are not likely sufficient to beat cancer but may slow its roll through the body of the patient.
I hope all people start asking such questions. It will bring more accountability and will make it difficult for toxic companies to hide their issues.

Maybe candidates can start asking for a company's "resume"?
On average though, you'll find similar outliers in whatever direction you look.
Any examples? I haven't yet come across something like that yet, but I'm only a short way into the article.
There is something magical about the subconscious. I find this works best if you truly understand the problem, but can't quite reach the answer. For me this happens mostly when playing a musical instrument. If you understand what you want to play and how to play it, but can't quite make it all come together, that's a sign for me to go to bed. Next day, there is almost always a noticeable improvement. Brain seems to do it's linking over night.
Lisbon admits sharing Russian dissidents’ personal data with Moscow
In the long run, we are all dead.
> Decision-making isn't on the table

If one of the main examples is a decision making process, I don't think it's fair to say decision making isn't on the table. You might say it's about evaluating claims, not a decisions per se, and the example happens to be a decision that is also a claim ("I should (not) be vegan, because..."), but this is still decision making.
The benefit of a dashboard is real time status updates. My recommendation is don’t think about the JS at all. None.

Instead focus on services. Get the content you need. I recommend web sockets so that the updates come to the browser asynchronously without polling the server.

Once you have what you need you will figure out the most ideal user interactions.
The Covid Calculus of Herd Immunity
Nokia blew up. Spotify was funded by the Danish government. Wise I've never heard of and Airbus is a pan-EU jobs program sponsored primarily by the UK, French and German governments to make sure there's jobs for random people to make wings in Wales or welding in Toulouse or whatever.
Picture seems complicated

Our study, performed in C. elegans and human primary fibroblasts shows that there is an age-related decrease in metformin tolerance, which in later life leads to toxicity of all metformin doses tested. This shows possible safety risks of late life administration of metformin to individuals without diabetes,"

https://medicalxpress.com/news/2020-11-age-decisive-positive...