skysight-inc/HackerNews huggingface dataset:
There is an entire world here beyond registering for a signal that comment seems unaware of. Even the simplest of preliminaries: registering for a signal is arguably non-trivial and incorrectly specified in many places since sigaction() supersedes signal().

> it's not rocket science to handle it in a sane fashion even in a multi-threaded application. Modern languages make this trivial. The author makes it sound like some dark art

Which language? I'll specify one so we can begin the process of picking each apart. Python? There is a sibling thread indicating Python issues. I don't know what the actual internal status is with Python signal handling but I am guessing the interpreter actually doesn't handle it correctly if I spent any time digging. Do you mean apps implemented in Python? They will almost certainly not be internally data-consistent. Exposing a signal handling wrapper means very little particularly when they frequently do this by ignoring all of the bad implications. I just checked Python's docs, and not surprisingly, Python guarantees you'll be stuck in tight loops: https://docs.python.org/3/library/signal.html That's just one gotcha of many that they probably aren't treating. This dialogue is going to play out the same way regardless of which language you choose.

Do you mean Postgres? I haven't used it recently but the last comment I read on HN seemed to indicate you needed to kill it in order to stop ongoing queries in at least some situations. If by a stroke of luck it does support SIGINT recovery (which would be great), what about the hundreds of other db applications that have appeared recently? You can't just call the signal handler wrapper and declare victory.
This is what bugs me about the stackexchange model. Most of the comments are guesses by people who really don't know. The "correct" answer doesn't explain anything, it just points to some sources. The highest ranked comment that comes closest, attempts to explain the nature of the numbers (the modulous is the period, and the primes stretch out the cycle) and fires off a link to wikipedia.

Then it appears on HN, and more people half guessing, but better content in general.

Based on yesterday's post, BYTE magazine would have actually given an answer with both why and how.

EDIT: Granted, the link DOES go to Wikipedia which has a great explanation, but in general, providing a link and not answer is a poor model because links decay so quickly.
This is a widely used method to map random integers to floating point numbers, but it has the disadvantage of wasting 1 bit of float mantissa precision.

On modern CPUs, its computational advantage over full-precision mapping methods, such as multiplication by a float, is not always clear [1].

[1] https://github.com/rust-random/rand/issues/416
That's awesome. I didn't know about rwildcard until now. Is it part of GMSL? I searched for rwildcard on gmsl.sourceforge.io but didn't find it.

I think my function is needlessly complicated compared to rwildcard. Here's my code:

https://github.com/matheusmoreira/liblinux/blob/modular-buil...

https://github.com/matheusmoreira/liblinux/blob/modular-buil...

The file? and directory? functions were inspired by GMSL. I think I learned how to check whether a path is a directory from one of your posts.

I wrote a general recursion function. It takes a function to apply to lists and a function to compute whether an element is a base case.

The recursive file system traversal function applies a directory globbing function to the list of paths and has file? as base case. It returns all files without filtering.

The find function recursively traverses the file system while filtering out all items not matching the given predicate function. It was my intention to provide predicates like c_file? and header_file? but I stopped developing that project before that happened. Users can easily write their own predicates too.

I think rwildcard is probably simpler and more efficient! If my code helps in any way though, feel free to use it.
I actually think we need to teach a different way of using and embrace client minimalism with streams.

Even though I suspect stadia is going to get shutdown, I believe in using the network as the computer with edge computing to turn the browser into a dumb terminal. This is the basis for the web framework that I am making.

I'm having lots of fun.
I strongly empathize with you, this and the fast-and-furious truck drivers at 5am. I need to check this out.
Anyone use netbsd? Any good use cases? Just wondering its place in the Linux/FreeBSD/OpenBSD world.
What is the proven in the article is that the minimum of the LHS is at most 4 and at least 0.
I agree with the sentiment, but I think it's implied in these discussions that they are looking for healthy longevity, not lying in bed unable to take care of oneself for an extra 10 years. It's even in OP's question that they started this research after noticing mental decline so one can reasonably conclude they are looking to halt or reverse the effects.
> trust the words

> pure, unfiltered truth

noone is forcing anyone to believe in anything, it's just some guy expressing his strong opinions about a subject, but no, you act like someone uttered a blasphemy against the lord's name
Or more precisely: cookies (1994) predate SQLite (2000).
It basically guarantees that most people won't know about it, won't interact with it, and won't be able to view the results.

That's good for now. It's early days and it's pretty busy already. I don't like Discord much but I'll admit it's a pretty good interface for something like MJ as you can see (and be inspired by) other people's prompts and discuss the process in a live way. The amount of realtime product feedback they are getting is amazing and it's fun watching it from the sidelines. The founder also does live calls on the voice channels where he talks about how things are going - it's a very interesting group experience for a product.

I'd argue Discord is great for attracting creative types. The number of HN comments complaining about how complicated Discord is (not yours so much, but the ones where people refuse to even countenance Discord at all) strikes me as odd given my assumption the typical HN user would be a high openness, hacker-ish type keen to try new things.
If you switch to RC there very reputable vendors in the EU
Dude. Have you ever typed or said total nonsense because your mind was already busy with the next, more interesting thing?
N+1 queries performance in GraphQL is solved problem with dataloaders [1]

[1]: https://sixfold.medium.com/reducing-database-queries-to-a-mi...
I add that if the request is reasonable, I always ask back for something. Usually for a specific use case with code example, or maybe a prototype implementation.

I only ever actually react if the issuer demonstrates that it is important enough to them to put in some work.

Because 95% don't.
"Thank you kindly for your suggestion as to how the project can be advanced in a prosperous manner. At present, the project contributors do not possess the bandwidth and time required to implement this feature. Although it is not a present priority for us, we would welcome a patch implementing this feature."
You use ETH in each trade but you can also onboard via credit card by using one of the crypto onboarding services that we included. You can find this under "Wallet".
I don't think Juniper used BSAFE in ScreenOS -- they seem to have put together their own Dual EC implementation on top of OpenSSL, sometime around 2008. (This doesn't change your point, of course.)
If you think his ratio of good to bad business decisions is even average then you haven't been paying attention. Tesla has nearly gone bankrupt repeatedly, and it's stock price has largely risen the most after Musk was removed from controlling the company as a result of a series of tweets that were considered illegal attempts at manipulating the stock market. In point of fact, Musk still controls SpaceX and internal memos leaked earlier this year indicate that SpaceX could very well go Bankrupt within the next 18 months. The Boring Company is generally solvent and under Musk's full control, but it is far smaller, and could be in danger of law suits for effectively failing to meet contractual obligations regarding the tunnel the agreed to provide Las Vegas. The Boring Company's future doesn't look great to me, their results don't meet public expectations which could easily lead to funding drying up.

Also, anybody who thinks accusing a rescue diver of pedophilia purely because he told them not to interfere with rescue efforts is pretty far from being a genius. Musk has been lucky his whole life, people just rarely see his failures.

Basically, his press is full of shit. The claim that he learned to program and wrote a video game at age 10 is quite ridiculous. Seriously, there are online websites where you can play his "game". It's Space Invaders, except theirs only one alien, you can't have multiple projectiles on the screen at the same time, the alien doesn't fire at you unless they get extremely close, if the alien fires at you it locks your controls making it virtually impossible to dodge and prevents you from firing back, and when you successfully hit the alien it immediately respawns at a random location which may be in range of you, resulting in you immediately dying. My own nephew programmed significantly more impressive games at age 10, will people start following him and assume he's never made any mistakes if someone who owns an emerald mine gives him hundreds of millions of dollars to invest into new technologies and the businesses don't ultimately fail?
That’s a security flaw. Backup codes are the fix if you get locked out. Sure, the attacker could find the backup codes, but that can be a challenging task.
That's sad. Time to drop the mask mandates, it's really annoying that here in Spain they're still mandatory in public transport.

I always dispose of my masks in the trash of course but it has happened once or twice that one flew out of my pocket in the wind. It happens..
This is the moral theory behind patent laws, and I’ve never seen definitive evidence that it actually helps, and a lot of examples where IP law completely hampers innovation or at least adds layers of bureaucracy.

I’m glad we don’t have to deal with this issue as much in software. I can’t imagine that a world where all the companies actually tried to enforce their software patents would be better for anyone but the lawyers.
Yeah, it's frustrating. :/

Direct link to the study: https://pubs.acs.org/doi/abs/10.1021/acs.est.2c02765

Cousins et al., Outside the Safe Operating Space of a New Planetary Boundary for Per- and Polyfluoroalkyl Substances (PFAS), Environmental Science & Technology, 2022
That is nice :)
True, and in a similar vein, we still have the floppy disk icon for "save to disk". In 20 years, most users will have never seen a floppy disk in their entire life. Still, the icon will remain.
I've heard these arguments before and they sound good in theory, however in real life I haven't seen it work that way.

Projects dying off depends on developing a revenue stream or being backed by some company with a real revenue stream. Never solely about being open source. I have another comment about this when I talk about Lazarus below.

Being cross-platform sounds great in theory. However, most users don't use multiple OSes. Also, being cross-platform is extremely hard... for early-stage software you're better off making it work well on one platform, then extending when you achieve some traction with users. Being cross-platform with one tech also removes the chances of benefitting of platform specific APIs that might make it work better.

Lazarus, while I find it easy to get enthusiastic about, I'm old enough to have gone through a couple of cycles. The reason Electron with all its issues (memory consumption, app size) is winning is because there's a mass of developers that know how to build apps with HTML/JS/CSS. Like Haskell or OCaml or other awesome languages, if there's no mass of people that can contribute, the ecosystem never takes off — and ecosystem is the main trait of languages taking off. This is why an OSS project written in Lazarus using some relatively unknown UI APIs is unlikely to survive — I hope it does though.
FFS nobody is saying that the general idea of being skeptical is unreasonable. And nobody is being ridiculed for doing such. This subthread is about the contents of tptacek’s comment, which doesn't do what you are saying. Saying DJB’s claims are inconceivable is the mischaracterization. People are very eager to paint a picture nobody intended so they can say something and be right.

I use djb’s crypto. Everybody knows his speculation. Everybody knows why he’s pursuing more information. Nobody disagrees more information would be a public good. Some people are more skeptical than others that he’ll find anything substantial.
Nuclear plants may or may not be reliable, but outages at multiple nuclear plants are usually not corellated.

Solar is corellated around time of day on a large scale and cloud cover on a more localized scale. Lack of wind sometimes happens to fairly large regions; interconnections to farther away wind farms helps though.

Weather extremes outside the design can result in outages for all kinds of plants though, so a relatively geographically small and isolated grid like Texas, that has many plants unprepared for cold will likely have outages at plants of all types during a bad cold snap; a particularly bad heat wave might cause issues as well.
But that's very different. "No source control" means they aren't following or don't understand the very basics of software process management. That's very different from "If you use SCM system X, Y or Z you're an idiot."
as the other poster noted, it’s not possible to hear each sample individually.

what is bassy reverb?
I would add a notice on the contact section of your website saying "if your email is not written in a proper manner, you are unlikely to receive a response from me" and then list a few examples of emails of the kind you describe that you've received. Then just don't reply.
That's even more of a problem with the uranium ore required to feed into fuel rod production, however. Battery materials like lithium-iron are also quite recyclable.

The United States today has close to 100 GW of nuclear power plants installed (almost all built decades ago). Most uranium ore bodies seem to hover around 1.0 - 0.1 % uranium by mass. Each GW appears to require about 200 tons of pure uranium (enriched somewhat from the natural 0.7% U235). Assuming we take an average, that's on the order of (200 tons of ore/ton of fuel) * (20,000 tons of fuel rods per year) = ~4 million tons of ore per year (non recyclable).

Batteries seem like the better option.
"eventually"

After some 400 years. Most currently existing countries, at least in their contemporary political form, haven't reached this mark yet.
There are a couple of text editors that add a BOM character at the start of files when you save.

I've spent so much time helping young programmers debug their code trying to read/parse those files. They get an error about an unexpected character at the start of the file but when they open it they only see normal text so they assume they're doing something wrong.
Data can't be called back when its users go rogue. It's out there forever.
I get a similar answer but through a wildly different path:

I think you have to detect the sound with a microphone, then come up with the canceling waveform before the sound hits your headphone drivers (as they will be generating the canceling waveform). Given the typical size of headphones, it would be something like

2cm/(34300cm/s) ~ 60us

Although, sound travels faster through solids, so might want to be a little quicker. And 2cm thick headphones would be pretty thick.
Hold the back button down until you get a list, then choose.
> We conclude that expectation underlies at least some of the anecdotal benefits attributed to microdosing with psilocybin mushrooms.

That’s the key point. This person expects it to work so it works. They’re not adding it to their Morning Productivity Hacks Routine because they think it doesn’t work.
I think the point of differentiating between the blinded and unblinded groups was to show that placebo alone does not account for the effects of microdosing.
Oh no, Jesus, please no. Nothing better then Excell file what behaves completely differently when moved to another computer, purely because of something like locale in system settings.
Brit engineer who tossed a HDD with 7.5K BTC has new idea to recover it
Not only is it in rain water, the level often exceeds the US guidelines for lifetime(!) intake. I wonder how cancer rates among tribes and off-grid homes will increase, as those dewllers aren't likely boiling their rainwater.

This is probably going to have to get a lot worse before it gets better, like the leaded gas problems of the 1960s.
https://www.nytimes.com/2022/08/06/business/economy/economy-...

Still the evidence is pointing to not a recession but in fact a boom.
> you may be wrong

You can't be wrong if you say that eating excessive amounts of X is dangerous, but eating the right amount of X is optimally beneficial. You can be completely vacuous, but not wrong.
Thank your for mentioning OmniEdge.
Founder here.
OmniEdge is founded by a single tweet from twitter. We are bringing everything into intranet. Computers, Cloud instances, MacBooks, Mobile Phones, Homelab servers, Docker containers, and Github action (https://github.com/marketplace/actions/omniedge-for-github-a...).

OmniEdge is built by a global remote team. OmniEdge uses the N2N as the protocol, and is backed by the N2N team. The founder of N2N Luca is technical advisor of OmniEdge.

We attended the ntopconf2022 in Italy, and gave a presentation.

Go and check: https://www.ntop.org/ntopconf2022/

Thanks.
Not a user, but it appears it has Bluetooth support - unlike OpenBSD.
I read a lot and every day. 90% of my reading has been on my iPad in the last several years because I agree it's just much more convenient. Despite that, I still love the ambiance of a good bookstore.
> There is no placebo effect here that's possible because, well, it is impossible for someone to believe they have taken a full dose of pscychodelic drugs and not feel anything.

From what I recall, a low dose of methylphenidate is used as a control in many studies because it has some of the same side effects without the trip. For psychedelic-naive people who don’t really know what to expect, I could see it being an ok control. Once you’ve experienced a single high-dose trip though… yeah… you’re never going to trick someone with it.
The article’s point is basically proven by how many people here don’t even understand he’s talking about this, and not killing the program with Ctrl-C.
At the risk of sounding rude, I don’t think you understand how modern 2FA works. No phone number is involved.

Your parent comment is based on misinformation and is the top comment; please consider editing or deleting it.
That’s weird, I didn’t think Redshirts was really that funny. Honestly, I though it was pretty bleak, although in the final third or so I thought it was really excellent.
It's never an "or" thing, it's an "and" thing, we need both. The more renewable we have, the better, but for a base-load it's hard to have this everywhere and batteries are far from an ideal solution. We don't need nuclear to replace wind/solar, we need it to replace the oil/coal/gas which we can't seem to get rid of for that base-load.

And Texas has a lot of sun during moments with peak usage (aircos) - so it you'd have to be an absolute moron not to see the advantages there, but for example in Germany they're going backwards here, they use coal and gas to replace nuclear - in a time where our primary focus should be on producing as little CO2 as possible - which is just another level of stupidity.
True, most people don't realize that Russia was, from the European point of view, a non-entity for much of its history. The country was big, but very poor and underdeveloped.

Only in the 1700s Russia starts to emerge as a serious contender in European power struggles.
I have not run into such issues, but as I understand Kindle/Kobo don't use capacitive touchscreens but instead Infrared ones. Whatever be the case they can be triggered by almost anything (say a piece of wooden pencil) or oils on your fingers. So I'm not surprised that high moisture does the trick.
For your renewable vs nuclear cost, is the cost advantage that obvious?

When price is comparison is done, does it account for lifespan difference, a nuclear reactor last 60 year vs 20 for wind and solar.
That can already triple price of the renewable.

Does it account, that you should build extra capacity of many time what you need because not all the same regions have the same wind and sun exposition at the same time?
You can look how oversize is the installed capacity of Germany [1] compared to France.

Also, I'm not sure for the US but the EU got its solar panel production wiped out by the heavily subsided Chinese industry.
So the rather lower apparent cost of solar by might be partially driven by the Chinese attempt to pump money in to gain market share.

[1] https://app.electricitymaps.com/zone/DE
You wrote a large number of comments on this so I am asking this here since it's fresh.

Can you comment on why you think djb thinks it is worth investigating if the NSA is attempting to destroy cryptography with weak pqc standards? I read through some of the entries NIST just announced and there are indeed attacks, grave attacks, that exist against Kyber and Falcon. I have no reason to believe the authors of those specs work with the NSA. Wouldn't a more reasonable conclusion be that we need to do more work on pqc? Maybe I have it wrong and he is just trying to rule out that possibility but his long rant which was 80% about NIST and their history with the dual EC backdoor really points at djb concluding the NSA is deliberately trying to weaken crypto by colluding with a bunch of people who probably don't care about money or the NSA's goals that much.
Yeah, and as others have pointed out already, many existing interactive terminal programs handle SIGINT in this way. E.g. programming language repls interrupt running code and return to the top level prompt. E.g. mutt (SIGINT will cause mutt to politely asks if you want to exit before doing so).

I think of it this way: we have both SIGINT and SIGTERM for a reason. One "interrupts" and the other "terminates" and there are often good reasons to handle "interrupt" differently from "terminate" -- at least in interactive programs.
Let's consider Visual Studio Code. It's OSS — still, I read the codebase a couple of times and I wouldn't venture into hacking into it — it's too large.

Being OSS enables hackability, it doesn't provide or guarantee it.
General Fusion is currently building their half scale test reactor. Won't produce power but will be a proof of concept.
"Only tangentially relevant"
Yeah, I think you're right; the Juniper revelation also happened months after the BULLRUN stuff --- I remember being upset about how Greenwald and his crew had hidden all the Snowden docs in a SCIF to "carefully review them", with the net result that we went many months without knowing that one of the most popular VPN appliances was backdoored.
I’m curious what you consider a legitimate moral conversation to look like. When I hear that I think “philosophy before 1800s” where you can appeal to moral absolutes via God (yet still end up in unsolved debates. It seems even harder today.
Car manufacturers might buy this for their EV's when they want their car make engine sounds.
I hope this Chin guy appreciated it.
some suggestions:

- "pull requests welcome" (This is the polite way to say 'fuck off')
- "thanks for sharing your feedback, I don't think this is a feature I'm willing to build or support"
- "in order to implement this I would need to be compensated"
- "no."