skysight-inc/HackerNews huggingface dataset:
Ask HN: What is your vision for the best high tech government experience?
I am occasionally pleasantly surprised at the occasional government experience (ease of renewing vehicle license), but generally dealing with the government is slow, requires old technology (like printed forms or a telephone), requires lots of repetitive actions (identification, sending contact info, tree traversal, separate payment processing per department, etc) and I am aware that lots of different departments have requirements/forms that could be unified for those who seek more benefits.

If there were no policy or budget/talent limitations, what is your vision for the best possible experience as a resident/citizen with national, state/provincial and locality governments?

I am looking for ideas around using things like QR codes, SMS, notifications, natural language processing, reviews and suggestions, one-click licensing/permitting, etc to make the experience of interacting with the government far more efficient and pleasant.
We've been experimenting with nice compromises for using pydata on-the-fly compute with caching. Basic tension is indiv requests get blocked by their blocking APIs, while caches (eg, IP-pinned) are best when same-python-app-thread.

Right now, we do hypercorn multiproc -> per-proc quart/asyncio/aiohttp IP-pinned event loop -> Apache arrow in-app cache -> on-gpu rapids.ai cache.

But not happy w event loop due to pandas/rapids blocking if heavy datasets by concurrent users. (Taking us back to celery, redis, etc, which we don't want due to extra data movement..) Maybe we can get immutable arrow buffs shared across python proc threads..

Ideas welcome!
This talk is an amusing aside. I think the other posters are bit harsh for a talk that's clearly meant to be taken in that way.

If you're interested in actual psychology of programming languages, there is a small but growing research community at the intersection of programming languages and software engineering. The focus is mostly on usability research a la human-computer interaction, but there's also work on community psychology, etc. applies to programming languages and software engineering. See, for example, https://ieeexplore.ieee.org/document/7503516
[ShowHN] Best Apps for Old iPhones
The author appears to have the honest intention of analysing this question as thoroughly as possible.

If there is some other website or paper that goes through this in more detail, it would be good if someone could post a link to that website.

It could be that next week someone discovers the intermediate host (like the civet cat was for SARS), and the whole discussion becomes moot. But for the moment I think we are still in "don't know either way" territory.

Also we may eventually come to a deeper understanding of the nature of zoonotic events, and whether it is at all possible that a scientific laboratory could accidentally become part of the chain of transfer.

For example, it might be that a coronavirus only rarely and temporarily exists in a state where it infects the source host and is capable of infecting the destination host. In which case such a transfer will only ever occur in a situation where large numbers of indidivuals from both source and destination species exist, ie in rural areas where wildlife mixes with people, or in farms, or some combination of those two.

Another thing I would note is that all the examples of laboratory accidents were of organisms already known to be dangerous human diseases. Those types of accidents can and do happen. Whether it is at all probable that such an accident could generate a _new_ dangerous human disease is not so obvious. This comes back to the question of what probabilities are involved in the events leading up to a typical zoonotic event.
Just tried that and it did autocomplete, for example 'dal' to 'django_admin_log'. It did not auto-suggest it while typing, but when I pressed control-space it expanded it.
A patient coming to a doctor, in the similar condition, is 4 times more likely to come out with a prescription in the United States when in Europe. Why? Because it is profitable. What is the result? Well, life expectancy in the United States had been going down. Ref. https://www.nature.com/articles/d41586-019-02686-2

This epidemic might be an opening to shift the current equilibrium of over-medication and over-use of expensive treatments with questionable efficacy.

The proper solution could be changing the incentives structure in the medical system. From profit and executive compensation aligned structures that over-sell services and drugs into something that is connected with long-term public health.
Yeah I do know there's a Rust impl that people are working on
Design is amazing.
What about an Explorer-like GUI SFTP client?
Possibly for driving in cities and highways on clear days, but we are nowhere close to having autonomous vehicles even match human drivers in 100% of possible/likely driving circumstances and road/weather conditions. That last few percent is the highest hurdle.
As I said to another commenter, there's a difference between artificially enriching the soil and virgin land that's never been farmed.
> From the linked posts, they were going via a shared downloads directory, so they could not have.

Do you mean the Stack Overflow answer? That looks like original research to me. Yes, Windows will by default try loading DLLs from the current working directory, but:

1. it has lower priority than the program's own directory, and Notepad++ ships with a copy of SciLexer.dll, and more importantly:

2. Notepad++ specifically only looks for SciLexer.dll in the same directory as the executable itself: https://github.com/notepad-plus-plus/notepad-plus-plus/commi...

> it wasn't that some bored attacker took the long way around for fun.

There are other conceivable reasons for putting the hijack inside a DLL, e.g. because you're more likely to inspect the executable. But permissions wise, it was no easier than modifying the executable.
So you would rather have someone who works 8h and timestamps their time, but performs worse than someone else who achieves the same or more in less time but doesn't document every minute they spend not working in a shift?
You should check out https://flux.market We have markets trading on different aspects relating to the impacts of the corona virus.
It can be both. To be smart is an advantage. To be born in a rich family is also an advantage. Life can be unfair in many ways simultaneously.

Ironically, if you deny the importance of IQ, it mostly hurts the smart kids from poor families. Because the rich parents will find ways for their kids to realize their full potential -- whether it is a full potential of an average child, or a full potential of a gifted child. It is the gifted child born in a poor family who won't have a private tutor because their parents can't afford it, but also will be denied by the system because "IQ doesn't mean anything".

Smart kids from poor families need even more help than smart kids from rich families, and we deny it to them in the name of fighting inequality. It's no child left behind the minimum requirements of the school system, but many children left miles behind their true potential; especially the poor ones.
> there is value in moderation

Of course. Everything in moderation, including moderation.
From the video...

Psychopath Languages: Javascript, PHP, VBA, and SQL

Masochist Languages: C, Assembly, Ada, Brainfuck, and Factor

Sadist Languages: Perl, Clojure, Erlang, and Regex

Fetishistic Languages: Erlang, Smalltalk, Elixir, and Factor

Obsessional Languages: Java, C++, Haskell, Scala, Go

Hysterical Languages: Python, Ruby, C#, Prolog, Elixir, and Matlib

Depression Languages: COBOL

Melancholy Languages: Lisp, Scheme, Smalltalk
I'm not trying to condescend or be a backseat programmer, I apologize if my tone suggested otherwise. I know that I have no idea what I'm talking about and I know that there are plenty of competent game developers in the industry.

The problem is that I don't know what I don't know, so I can't directly ask it. The best thing I can do is to present the flawed results of my current understanding so that somebody more knowledgeable (such as yourself) can tear them apart and show me what it is that I'm missing.

> False positives are generally to be avoided

This sounds like the biggest difference to me. Generally in my limited experience in handling abuse on web platforms, the value of a single user is so low that a false positive doesn't really matter too much.

I suppose when it comes to games, each user represents a ~$60 investment and potentially a lot of time and emotional investment, so a false positive can't be so easily tolerated and there's an incentive to go to extreme ends (like intense client-side validation) that wouldn't make sense for say Twitter likes.
I wish they also talked about symptomatic vs just testing positive. Are there cases where someone got discharged after going through the 2-3 week cycle of symptoms, became free of symptoms and then got sick again ?

That's the more interesting case for me than just testing positive which could be attributed to testing errors
I always wanted to be able to play a version of Red Dead Redemption where you just build a homestead, ride your horse and play through the story with no killing.
it's /r/roastme
Not interacting with it at all, except for receiving notifications about stuff I need to know (not do, there shouldn't be anything to do).
Two things:

1) You have no contact info in your profile.

2) As throwaway pointed out, this is an expensive task to undertake and, at least based on your post, it's not clear what you hope to gain from building another CA that's sufficiently trustworthy to be accepted into the Web PKI root stores. Beyond free certs (Let's Encrypt), your needs might also be satisfied by something like Digicert's Dedicated Intermediate program [1] where they will build and manage a "sub-CA" (subordinate CA) for you that chains up to their widely trusted roots. This allows you to control certificates issued under that sub-CA (as long your requests also fall within the baseline requirements) but saves you from the management and compliance overhead of a truly new CA.

[1] https://www.digicert.com/dedicated-intermediate/
> "Learn C The Hard Way" is probably the closest but it's very opinionated and has its critics.

I have similar feeling too. When I looked around, I had this feeling that majority of experienced C developers may not have experienced higher level language or work in app-level and went back to C to adjust their previous experience.

Either the developers decided to abandon C in favour of high-level languages or the developers didn't like what they tasted the high-level languages enough to learn the better practice to bring it back to C. The latter group tend to go back to where they came from and stick with C.

This could be the reason why "Learn C the Hard Way" and another commenter up there posted a link as to why "Build Your Own Lisp" considered harmful/bad. On the other hand, these two materials could fit for what I'm looking for.

I glanced over "Modern C" and while I can pick up a few things better than my previous learning C experience, my experience match to your statement that most of the books are covering minutia details of the language :(.

Thank you for clarifying and confirming what I felt so far.
I strongly agree with this recommendation. And though it isn’t meant to be related, I think of “Decoding Reality” by Vlatko Vedral as being a spiritual successor and deeper dive into information theory (from a theoretical physicist’s point of view).
Show HN: I made a multiplayer web game with Elm
Maybe the article is painting him in this light but what other choice did he have? If he dropped the suit then all the legitimate people wouldn't have any recourse. The people who messed up were the field agents.
GPU passthrough with qemu/kvm works spectacularly to 3D applications, I've been using it for years to play Windows only games from my linux desktop.
and why do you think so?
Ju. G
The video does a decent job of explaining the relevance of Lacanian-Zizekian theory. The approach isn't really aiming to be equivalent to experimental psychology. Rather, it's a view of strategy in personal interactions.
The article abstract states "We observed the highest viral load in throat swabs at the time of symptom onset, and inferred that infectiousness peaked on or before symptom onset." This finding is extremely significant, but I think it may be "very contagious" not "most contagious" before symptoms occur
I think it doesn’t, at least seems to support GitHub repos: https://about.gitlab.com/solutions/github/
Uruguay is a very secular place, should be further up on the graph.
All else being equal, I would bet on people migrating from places with less desirable weather to more desirable weather. More importantly, people with disposal income who can afford to migrate will migrate.
It’s Time to Build
I’m pretty sure I can’t meet that standard.
Hmm, this seems like a pretty big deal, and should give us caution to not have confidence we are not spreading covid-19 just because we feel fine. Makes masks seem more key.

"We estimated that 44% (95% confidence interval, 25–69%) of secondary cases were infected during the index cases’ presymptomatic stage"
"Disease control measures should be adjusted to account for probable substantial presymptomatic transmission."
There's an art to stand-up which is different from podcasting. Just like there's a difference between being a live vocalist and podcasting.

Look at Bill Burr's podcasts for example, they are far different from his stand-up. Part of a stand-up career is to travel the country and perform the same jokes to every crowd. They aren't exactly the same because you iterate on them every time. Once you have told the same joke X times, then it becomes robust like a method in a program which have gone multiple rewrites and bug fixes. That's a process of not only battle testing jokes, but of finding your voice (finding your voice is more for starting comics.)

You're not going to tell the same jokes repeatedly on a podcast. The medium doesn't suit stand-up. Podcast's are more like improv than stand-up. Stand-up comics are more like solo musical acts where you write your material once and then tour with that same material. That act wouldn't work so well otherwise.

Yes, radio plays the same popular music over and over. Yes, I'll listen to the same song over and over. Movies? Not so much. After watching a movie, rarely do I want to watch it again right away. Somewhat more commonly I'll watch it again after months or years. Most of the time, I don't ever feel the desire to watch that movie. Music can be enjoyed like a movie or it can be background noise. Comedy for me is more like a movie.
I strongly recommend you read up on "Likeness Rights" (as in celebrity likeness rights) - they are a big deal, particularly for any product that is available within the state of California (which has extremely strong laws around them). As your product stands today you will be sued and you will lose because you are absolutely using celebrity likenesses to sell your product in the Apple Store. It doesn't matter whether the images you generate are debatably non-celebrity or not because you're using the likeness of specific celebrities to sell the app.

For reference on Likeness Rights, one of Kevin Smith's Jay and Silent Bob movies has an entire sub-plot that revolves around the financial significance of likeness rights.
This is pretty bad advice: the more imp thing is figuring out pricing plans that increases consumption and scale. These are games you play after you figure that out. 10% boost is cool, expontential and magnitudes growth is your real business.

Ex: can you get a tier for light users that converts when they're ready, goes up as they get addicted and happier, and then again as they go pro? Are the numbers aligned with their constraints/need/journey? Playing with color order matters way less and wastes your time from figuring this kind of stuff out.

In contrast, for this hack stuff, the a/b testing people have realized for most co's, a lot of work to maintain for only limited benefits, so only do when you make enough money to layer on the maintenance $ for the limited lift.
Yeah but they need to be told the drives are SMR to be able to make that decision.
> I loved taking my laptop out on the train or to a coffee shop, and replying to threads and publishing a post to SSB while offline. Something about reading other peoples ideas while disconnected, and then writing my thoughts, and having them automatically sync to the network when I got back on my WiFi at home, gave me a different perspective on ways to use technology.

You can do this with Usenet and most BBS's. Most native IM apps will also do this for you, plus of course there's email.
I understand it's your right to control your own yard, but if someone trapped my own cat and dumped it off at the pound, I wouldn't be too happy.

If it were my cat who kept being dumped off at the pound, after being attracted to the cat food you purposefully left out to trap him, I'm guessing you'd start having some strange issues with your cable / fiber line constantly being cut.
> I'd like to see a demo like this on snow covered roads, with no lane markings visible.

But humans can't drive well in those situations either. Why are you asking for something better than humans can do?
These tests have a false negative rate of 30%
Study: Covid-19 Most Contagious Before Symptoms Appear
To expand on the 0.01% cases - atomic operations (be they used for lock-free algorithms, or to implement spinlocks) generally require alignment. If you're lucky, unaligned access will segfault. I have been so lucky, when unaligned global char[] buffers were recast to types containing pthread locks. Operations on said locks were kind enough to segfault when unit testing a port to ARM hardware.

If you're unlucky, your "atomic" x64 instructions will silently revert to non-atomic behavior when straddling cachelines but otherwise "succeed". This will introduce one of the absolute nastiest kinds of heisenbugs into your codebase, in one of the hardest to understand and debug parts of your program. Speaking frankly - my coworkers won't figure it out. I won't figure it out. Instead, we'll ship unstable software, and maybe blame the hardware and suggest memtest.

A movdqa segfault by comparison is a tame, easily understood, easily fixed, and may well help me catch and fix said accidentally unatomic behavior.
I know, right? It's definitely a quirky vibe
Isn't the answer some form of hysteresis? Whether you implement it in hardware or software it's up to you.
Hacked together USB-C charger for a cheap 12V Chromebook
Archaeoacoustics
https://media.ccc.de/v/36c3-10976-understanding_millions_of_...
I do have 7-zip installed here. I could also be mixing memories across a few Windows versions. I know I've caused files to be extracted without a dialog in the past, which irritated me a great deal, on a vanilla system. But it's entirely possible that's a vista-era memory at this point.
Just saw a video where Japan guys said the countryside was dirty.

Now it still doesn't tell the whole story about why cities are so taken care of in the first place.
For desktop across Windows/Mac/Linux without further context given: Qt would be my default answer
That isn't true, people pay a lot more to live in the denser part of towns even when they are at equal distance from the city center.
I'm sorry, can you explain how that's not relevant here? You're being incongruously combative, but I still think you're mostly agreeing with me.

The section on "simple" assignments doesn't say that the rvalue must be an lvalue expression syntactically . I think it applies very well to "*p = 1;", which is the statement in the linked code. What am I missing?

> There are no words in the standard that say that “basic types cannot overlap in memory”.

I don't believe I said there were. I said the standard expressly allowed the optimization in the linked article. And as far as I can see, absent a clearer explanation for why that section doesn't apply, it does.
You really think that if your numbers don't pan out, it will be because Ireland somehow suppressed this thing (put that "genie" back in the bottle as it were), and not simply because its IFR is (or became) lower than you assumed it would be?
I still remember when I discovered that Emacs-style editing shortcuts worked in Netscape Navigator for Windows, over 20 (sigh) years ago.

Do Windows browsers no longer support them?
It's up here: https://pascalw.me/blog/2020/04/19/webpack-django.html
"For a reproductive number of 2.5 (ref. 2), contact tracing and isolation alone are less likely to be successful if more than 30% of transmission occurred before symptom onset, unless >90% of the contacts can be traced. This is more likely achievable if the definition of contacts covers 2 to 3 days prior to symptom onset of the index case, as has been done in Hong Kong and mainland China since late February. Even when the control strategy is shifting away from containment to mitigation, contact tracing would still be an important measure, such as when there are super-spreading events that may occur in high-risk settings including nursing homes or hospitals. With a substantial proportion of presymptomatic transmission, measures such as enhanced personal hygiene and social distancing for all would likely be the key instruments for community disease control."

As I see it, it confirms the importance of enhanced hygiene and social distancing.
I am reading Colossus: The Secrets of Bletchley Park's Codebreaking Computers.
https://www.goodreads.com/book/show/98610.Colossus
Actually I'm sure you'd do just fine. Humans can just pretty effortlessly deduce required information out of numerous clues.
My iPhone 10 locked up hard a few days and I couldn’t get it to turn off using the standard method.

After some digging, I found a new trick that I guess is implemented at a lower level: press and release volume up, then volume volume down, then press and hold the main button until it powers off.
How to Secure iPhone and Mac
you can also use dramatiq
Someone on HN recently showed off their own mobile-app version of Exquisite Corpse: https://news.ycombinator.com/item?id=22777768
As a consumer I'm really not a fan of these techniques. I'm biased but our SaaS just has one price, no annual discount, no messing. It seems to be working out. I think people appreciate the straightforward approach when everything these days seems to have a pricing table.
A substitute to stand-up comedy isn't stand-up comedy. Call it something else. Don't do the same thing and expect that it will work.

Post this service in the stand-up subs in Reddit and to see the responses from actual comedians. IMO the person who built this service doesn't "get" stand-up and therefore the idea won't work.

What might work? A real substitute which isn't stand-up. I don't know what that is or I might build it myself. But there's a lot of ways to create with a comic mind.

Also, show me a stand-up comedian who is doing this? If it were a thing, then the majors would already be doing it. Even major comedy specials on HBO are done in front of a large audience. And they aren't repeated. It's like a movie, they work on these shows for months and then it's a one shot deal.