skysight-inc/HackerNews huggingface dataset:
SDL has three methods for detecting input devices [1]: udev, inotify, and, as a fallback, enumerating /dev/input.

It seems like Papers, Please uses a statically linked version of SDL, without udev or inotify support compiled in.

1: https://github.com/libsdl-org/SDL/blob/d0de4c625ad26ef540166...
I just had this discussion yesterday on Slack.

I think that your core test suite should be completely, 100% deterministic.

Property-based testing/random input testing/chaosmonkey/profiling/etc. are all a different type of testing to me. Still useful, but separate. Still should be run, but not every time.

You do not want non-deterministic tests. (And if you use random testing, ALWAYS record the seed so you can reproduce it!)

If the core functionality of your code is fundamentally random (I once tested a maze generator this way https://github.com/pmarreck/elixir-snippets/blob/master/maze...), use seeded random data.
Are people really that petty? Or is it like a mass-agenda, control-the-narrative type of thing? For some reason I didn't(don't?) think this would happen, especially on HN. Maybe I'm being obtuse or naive.
to me a brit their is only british english, and badly spelled / pronounced british english :)
Go! Dabbled a bit this year (https://github.com/Fizzadar/clash-prometheus-exporter) and looking forward to getting into it properly this year.
Yes, just as some cultures have very specific meanings for concepts (like the famous German compound words, or the variety of words the native Inuit language uses to describe types and formations of snow), we should probably develop more specific words than just the generic all-encompassing “information” or “data”.

Infotainment is a good one, but we will need many more!
They are fundamentally different types of people.
is there a karma limit that turns on ability to down-vote articles rather than comments?
I believe that also your internal chemistry is out of whack and needs to rejigger itself back to the normal equilibrium

edit: according to this page[1] there's a combination of things:

- an inflammatory response

- irritated stomach lining

- blood sugar crash

- blood vessels expand

- alcohol can prevent deeper stages of sleep so you aren't rested the next day

[1] https://www.mayoclinic.org/diseases-conditions/hangovers/sym...
You cannot down vote immediate replies to your comments, perhaps that is what you are experiencing?
Climate change is already politicized, because it costs money to take it seriously. Some people will loose money on taking it seriously, so they have to politicize it.

The response to it have to be political too.
> The older Blackberries relied on a centralized server for configuration and setup of both public and corporate settings.
The devices _should_ be able to make calls and text (baseline SMS), but they might error out in various things (browser dead, contacts gone, even some menus dead or stalling) and if they are reset you might not be able to get texting back (since it _might_ not rely on the SIM card to set the SMS message center, etc.)

I’m not a programmer , I deal with oily things, but why the hell would you rely on a central server for basics like SMS?
Surely it should have some basic SMS ability if only to background text the network for the proper SMS setup.

It feels like baked in obsolescence or supreme confidence that you’ll be around forever to send out the settings.
It’s not everything it’s cracked up to be. I hardly ever use it. In principle, downvotes are meant for messages that are irrelevant, off topic, insulting, belligerent (can you believe my phone turned that into beliebers?) etc. The effect stops at -1 or -2 points, I believe, so it’s quite likely that a really upsetting comment has already been downvoted maximally. And you can’t downvote replies to your own comments, nor submissions. Not worth losing any sleep over.
I super appreciate your willingness to share a small moment of intellectual humility - they are too rare and I hope that it will inspire at least one other person to approach at least one other issue with a similar spirit.

I know that my thinking and behavior has benefited from the small subset of people who have been willing to do so publicly in the past.
> I also wonder, why this type of file transfer isn't the industry standart.

I would assume because it's technically complicated, using multiple protocols under the hood. That's fine if you control all the hardware on every supported device, but not great for building interoperability.

Bluetooth file transfer is a standard that works, but it's slooooooooow!
It’s based on how much karma you have. The more you engage the more features are unlocked.

Personally, I think flagging should require 5000+ karma, not sure what it is.

I think up and downvotes are >500 karma
Very much this. I learned that life lesson a little late. Prior to moving I gave away 98+% of my things to neighbors and friends. I moved into a small home and forced myself to keep it free of clutter. I did not need all that stuff.
I can guess that, but I was wondering why ... Is there a distro without udev? The steam/whatever sandbox does not support udev?
> Dirty databases make the tests non-deterministic.

If this breaks your tests, you have a concurrency bug, pure and simple. Either in your code, or in your test assertions.

Your test assertions (like your code) should never assume that what you just put into the database is the only thing in there which will match, or the last thing that was put in there.

In my case (working in Elixir/Phoenix), it runs all the tests concurrently. This will cause any concurrency issue to crop up real quick, and that's exactly how I like it.
My favourite way to add numbers, in assembly, was this project:

https://github.com/skx/math-compiler

I had far too much fun writing it, even though it is completely pointless!
How much are you ready to bet that Macron won't run? Because he's currently polling at 25% with at least 15% of respondents who are certain to show up and cast a ballot for him. No chance he'll score close to 10%.
That's exactly my point: Changing the word that's used doesn't matter, what matters is getting people to think of others instead of themselves.
I don’t downvote very often and I don’t do it simply because I disagree with someone.

People downvoting for simple disagreements will create groupthink, and we loose the opportunity for having interesting discussions.
It is reasonable, if it’s true. It was reasonable initially. Unfortunately, that narrative isn’t very true or honest, and it’s getting less true over time. This vaccine’s method was developed for years before COVID hit, and specific mRNA vaccines can be developed faster than other kinds. It took the normal amount of time to get testing and FDA approval, and at this point, the vaccine has been both approved and more widely tested than almost all other vaccines in history. At this point, the doubt should by all historical markers be fading into the ether.

https://www.hopkinsmedicine.org/health/conditions-and-diseas...
Cyberjutsu: Cybersecurity for the Modern Ninja
I was thinking of running it bare metal, ESP32 and Raspberry Pi Pico aren't a keyboard computer like the 8 bit ones from the 1980's.
Maybe this is not a problem for calculating the size of a memory allocation, but that division operation is going to be several times slower than the multiplication it is guarding. Is there a faster way to check for overflow, perhaps using compiler builtins?
Probably going to be downvoted but n-gate cracked me up, shame it’s no longer being updated.

http://n-gate.com/hackernews/
With no down-voting, you'll inevitably end up with a different metric: engagement/popularity, where controversial opinions are featured as prominently as agreeable ones.
Do you have any high level suggestions?
Smart. Looking forward to this being an on device capability.
Yes - similar story… I had to use it at airport security in south east asia when I needed my hotel booking to get through… my colleague was able to airdrop it to me even though we had no cell or wifi connectivity
Stories can’t be downvoted.
Okay, if that’s what you want to see

To me it shows that the user experience for wallets doesn’t catch up

Or that the standard classes for tokens leaves more to be desired, there are competing standards

the VM never asked anyone to make token classes and it is phenomenal that people made those classes

Consumer protection can come in other parts of the stack
Honest question: If in over 10 years you've contributed to discussions so infrequently that you've barely accumulated 100 karma - including this post that accounts for a third or more of your karma now - and (as you said in another thread) you think you would only downvote a max of 3 times per year...

Why do you want it?
I've also recently discovered the joy of system level programming. I've gone through a few iterations of writing a (incomplete) kernel from scratch using different languages. I started with a 32-bit kernel in C and got as far as preemptive multitasking.

Then I decided to try Nim, I found it very ergonomic and lets you write compact code that expresses the main logic without too much syntax noise. But I got blocked by some issues making it work for a UEFI target.

Then I tried Zig and got as far as parsing ACPI tables and writing an AML bytecode parser. Zig is nice and I like its optionals support and error handling approach. But I was put off by its noisy syntax (e.g. !?*[*]u8 to represent an error union of an optional pointer to a many-pointer of uint8). Also having to prepare and weave allocoators throughout most of the code that needs to dynamically allocate (which is most of the code) gets in the way of the main logic. Even little things like string concatenation or formatting becomes a chore. In the end I realized that Zig is not for me.

So I got back to Nim and resolved the issues that were blocking me. I'm now on my journey to write a complete kernel in Nim (so far I have access to UEFI services and ACPI table parsing and on my way to get interrups working). The code is pleasant to write and read. Also the language and the stdlib documentation is great (Zig's stdlib documentation is almost non-existent.)

Overall, I found that systems programming is very satisfying, and you can depend on specs that rarely change (some are over 20 and 30 years old and still work the same way today) and is quite a welcome change from web dev where it depends on tech de jour.

Edit: Here are the github repo links:

- C kernel: https://github.com/khaledh/bitflow

- Zig "kernel": https://github.com/khaledh/axiom-zig

- Nim "kernel": https://github.com/khaledh/axiom
Delphi (expensive) or Lazarus (open source, true native and powerful for Windows, MacOS, Linux and so on)
My father is a retired airline pilot and instructor. Everything that can fail in the simulator is fair game. Pilots have recurrent trainings all the time during their career. They get tested every X months. They have medical exams.

And that is how it should be. Pilots must be able to handle every possible failure. They don’t need to know every single procedure by heart, they’ve got the manuals in the cockpit for non-urgent procedures.

My father loves _flying_. He’s from a generation that trained on airplanes with little automation. He often talked about younger pilots relying too much on instruments. He would get annoyed with pilots that didn’t appreciate manually flying a plane.
Why assume a chicken can't tell that it's suffering? I mean, I'll go on eating it either way, but don't you think you might be kidding yourself a little here?
> As a society, we have expected more and more people to learn how to read and write for basic literacy over hundreds of years. Those who know how to read and write code will have a leg up for that expanding literacy set for engaging with digital things and those who don't will be left behind esp as more aspects of life are governed/mediated through code and this goes beyond the whatever is being branded as "web3".

We have. We've also extended protections for people lagging behind, for example by putting restrictions on what kinds of contracts can legally be entered into and voiding contracts that one party could not have reasonably been expected to understand, or entered into under duress or undue influence.

None of these protections exist under "smart" contracts, which is exactly why we can't and won't allow code to govern or mediate life as web3 envisions. Your dystopian vision of "oops, you lost your retirement savings because you didn't decompile that contract before interacting with it, too bad", or "oops, you lost your retirement savings because someone beat your wife with a baseball bat until you handed over your private key, sucks to be you"--in short, the dystopia of "code is law"--flies in the face of thousands of years of jurisprudence and civilization. Once the goldrush hype wears off people will realize how heinous the fundamental idea is and dump it in the gutter of history where it belongs.
Maybe because that’s not the place where to ask that question. OP should open an issue on the project to ask them instead of the HN community (who probably don’t know better).
Did anyone else parse "cures" as a verb at first?
I hate to be that person but I must point out that there are studies that show that children less than 10 years old using VR can have impaired head-trunk coordination. See this study for more info: https://www.nature.com/articles/s41598-021-96866-8
Also you cannot downvote old comments
At that point I feel like they should recreate the track using photogrammetry instead of using wonky satellite images. [0] https://www.gtplanet.net/assetto-corsa-modder-photogrammetry...
The only value I see with crypto and web3 is when we finally leave the earth and transactions need to be reconciled over billions of kms. Before then, it really doesn’t have much value. IOW, each planet or system would have its own fork. A “Wild West” scenario is the only time this kind of tech really makes sense.
Italian hamlet without mobile phone coverage gives a glimpse of life before web
This is not a category of software that I'm familiar with, so I don't know how Nebulosity compares to its competitors, free or proprietary. My intuition says that 71,000 lines of C and C++ code is manageable for a person or group with the right motivation.

One thing that puts a clock on it in the intermediate to long term is camera support, which I gather from the README is a significant maintenance task. The project will bleed users if it doesn't support their new cameras.

Edit: it looks like Nebulosity sold for $95. Some other software in this space I see mentioned on the Cloudy Nights forum are Astro Pixel Processor (€ 165), PixInsight (€ 165), and Siril (free).
Same story. Having kid completely turns my life around.
To me it seems that in today's startup culture it's all about becoming another gigantic successtory. Every startup I visit (see more than 10 every month) people tell me that they envision the next new big thing with their product/company. Taking over the world, becoming multi billionaires. No wonder that there are so many failures.
And sad at the same time. waste of resources, just because people wan to much.
> has poor runtime performance

Are you referring to performance issues caused by lack of unsigned types? Do you have a specific example? Based on my observations, the conversions necessary for acting on signed types as if they were unsigned generates the correct machine instructions designed for unsigned types.
Metal fires (class D) are much harder to fight than petroleum fires (class B). They can burn way hotter, reignite after seemingly going out, and of course react to water to produce hydrogen.

Current fire fighter directives for putting out BEVs is either dump a loader bucket of sand on it (which most don't have yet), or drag it some place safe and let it burn out.

Also gasoline just sits there until ignited. Lithium battery packs can have various failure modes which send them into thermal runaway. Chevy Bolt EVs are being recalled en masse and owners told not to charge overnight or in a garage, least it go off unattended.

I'm very pro EV but lithium is spicy.
What the proposed patch does is delay a specific latent operation to an asynchronous context so that close() doesn’t block on that operation (which is freeing some memory).

The proposed patch isn’t a comprehensive fix, it admits there are still other sources of relatively high close() latency.

So that got me thinking, there is no way to fix this “bug” because there is no specification on how long close() should take to complete. As far as we are promised in user-land, close() is not an instantaneous operation. close() is a blocking operation! Even worse, it’s an IO operation.

So now I think the bug is in the application. If you want to avoid the latency of close() you should do it asynchronously in another thread. This is similar to the rule that you should not do blocking IO on the main thread in an event-loop based application.
About 10-15 years ago I have seen a presentation from Transas, a company that develops cabine simulators for training pilots and ship crew. They mentioned such unusual flight conditions as a challenge for developers. In their case it was an airfield in the mountains that was above the approach altitude.
Let’s also not forget the famous incident with F-22 Raptor software crash when crossing international date line.
We should be really careful with assumptions about the domain.
My first introduction to Canadian English being slightly different than American was a physics professor my sophomore year who in the first lecture kept saying zed. I thought it was a tic.

Later I moved to Germany, I finally figured out that zed was a Commonwealth English thing from my Canadian coworkers. None of my German coworkers could understand me when I said zee, because it sounds like "c", I guess. So I'd say tset (the German zed equivalent).
You might want to checkout Matthew Crawford’s writings. He talks a lot about the desire to work with your hands and the agency it brings us. An agency that is often missing from corporate knowledge work.
I have been a member 14 years and also can't downvote - I assumed it was to do with karma...
And there's as yet no academic/systemic consequence for them not declaring this blatant conflict of interest. That sends a big bold message to future scientists considering whether or not to declare them honestly.
This presupposed the "voluntary" part of capitalism, which I find objectionable, but I didn't want to go on a tangent for too long.

FWIW, I wouldn't want to prescribe a particular habit of eating healthy or not binging media, but I also don't consider the current status quo neutral. It is true that it is simply a product of profit incentives, but that doesn't mean the outcomes are good, desirable or natural.
I’ve got an MBP that doesn’t show up, and never has, but it sees the rest. Any other macbook or iphone I’ve tried AirDrop with just works, but not my MBP.
It's really just to make the point that you will need to write real code and answer technical questions in this process. And it provides an easy way to for them to drop out if they decide they don't want to do that.
Which is kinda crazy right?

A real hangover cure would be worth an unbelievable amount of money to the alcoholic beverage industry.
Which at least is good - be aware Prions are very hard to detect or categorize (and most
forms of infectious prions seem incredibly hard to destroy). We don’t have a generic ‘prion’ test, and there is a non-zero chance of a different type we haven’t categorized yet.

Until relatively recently they were considered some kind of ‘wake up sweating and dismiss the nightmare as just fantasy’ type cause that should be dismissed by rational people, though there were a number of serious known diseases that no virus or bacteria could be shown identified as causing.

Not actually knowing what causes a disease is a lot more common than people think though, including for a number of relatively common diseases.

The ones we’ve shown a prior cause for had a big question mark next to them despite concerted effort. They were also generally in either remote populations that were practicing some taboo things (human cannibalism), a few families, or in animals (scrapie), and clearly fatal.

In the mid 60’s it was becoming apparent these diseases were not likely caused by the most common theory of a ‘slow virus’ or any known bacteria, as even biological sterilizing agents, viral killing agents, hard UV, and high levels of ionizing radiation didn’t stop samples from being infectious, and searches to find the actual cause started looking for more novel sources, despite a lot of skepticism.

The term prion, after decades of research, was only coined in ‘82, and only generally accepted as the actual source of the disease (instead of a red herring for a disease caused by a not-yet-isolate virus) in the late 90’s to early 2000’s. One of the most prolific researchers on the topic got a Nobel prize for his work proving they exist - but only in 2017.

A brief history [https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4626585/]

So not likely, but until another cause can be isolated, best to not fully rule it out either, even if it is negative for all known prions.

With how good many of our tests actually are, it’s easy to overweight their accuracy in categorizing unknown phenomenon. Somewhat of a CSI type effect.
I'm looking forward to reading your book. As a former microbiologist / biochemist with a fair amount of knowledge about what is possible in terms of gain-of-function research, and with a fair amount of experience reading technical research papers and a long-standing interest in both environmental and infectious microbiology and virology, the discussion of origins of the virus in the literature really seemed shady during the first six months of the pandemic.

In particular, the early flood of 'data' about potential links to pangolins and a supposed bat-pangolin cross-breeding event, which was discredited pretty quickly, indicated that someone was trying to muddy the waters. Past natural outbreaks involving these kinds of cross-species jumps (MERS and camels for example) had a a long-term natural history, they didn't just appear wholly formed out of the blue, and the natural reservoirs were quickly identified[1, 2]

[1] https://www.who.int/news-room/fact-sheets/detail/middle-east...

[2] https://wwwnc.cdc.gov/eid/article/20/8/14-0596_article

The failure to identify any such natural source of the virus within six months despite intensive searches really put the Wuhan lab leak theory back on the front burner, and the fact that the Lancet and Nature op-eds proclaiming a 'natural source' were organized by those linked to providing U.S. funding to the Wuhan lab was another huge red flag. When it became clear that the funds sent to Wuhan were intended to continue a branch of research (gain-of-function with respiratory viral pathogens) that the U.S. government had severely restricted in 2014[3], well...

[3] https://www.science.org/content/article/us-halts-funding-new...

Clearly both some elements of the US government's academic funding wing and of the Chinese government have a deeply vested interest in not allowing an open and independent inquiry into the actual source of the pandemic. This only encourages future similar outbreaks - as it really seems that there may be literally hundreds of wild-type animal viruses that can be turned into human pathogens by selective modification of their cell-surface-protein binding capabilities via techniques such as CRISPR etc. International bans on this kind of research (including an inspection regime as with nuclear non-proliferation treaties) really make sense.
Sounds concerning that the famously good social safety net there is not protecting people from starving and freezing, is heating not covered by welfare programs?