skysight-inc/HackerNews huggingface dataset:
I often do multi-destination optimization manually on Google Maps desktop. It's practical to solve the small-n travelling salesman problem through manual brute force, it should be doable automatically.
The GitHub CLI Beta
For 02022020, tweeting parallel versions of a novel about parallel realities
Ask HN: Any minimalist cross-platform low-level C graphic library?
I often find myself needing a canvas to experiment things. In the Javascript world it's pretty easy: open a tab, open the dev console, append a <canvas> to your DOM and that's it.

What could be the equivalent in C ?

My requirements are:
1. Can create a window and push pixel to it.
2. No dependencies, especially not OpenGL.
3. Some drawing capabilities (lines, shapes, 2d transformation).
4. Can wait for user inputs (in a blocking way ideally).
5. Appreciated: Single header.
6. Optional: Some text drawing capability.

Note that I am not looking for a GUI/widget library like Nuklear. I just need to push pixels into a window. The obvious closest would be SDL (or something like raylib) but it depends on OpenGL and offer way more than I need (3d capabilities, sound, etc).

Although minimalist, I still want that library to handle the underlying window system (X11 on linux, Windows shell, Quartz) so I don't worry about portability.
I still think there’s too much chatter, but it seems to have calmed down.

Where I work we turned on the ability for people to upgrade now. Before it was dodgy with all the pop up requests that were overwhelming. It seems to be a non issue in 10.15.2 and later.

I haven’t really come across anything that impedes our workflow at work.
Have you considered taking some driving lessons to become more assertive in traffic? You don't need to feel this way for a left-hand turn.
>If you reply to any one of my other posts I definitely will request his aid to moderate. BACK OFF.

Wow.
Since we are in early days and it probably takes longer to recover than to die of it, and the reporting of infections and recoveries and deaths coming out of China is likely undercounting all three due to different systematic factors, I think it's too early for the results of that formula to be taken at face value.

In the end, when everything is tallied up, sure. But in the meantime, in the presence of so much uncertainty, "common sense" is only going to lead you astray.
If your OpenWRT router has a bash shell, then you optionally installed it from packages. The default shell is Busybox, which is a minimal shell that supports few if any "bashisms." In other words, you certainly do have to be wary about what shell features you use.
And heres a free chapter from mine that does the Deutsch-Josza algorithm using only a very simple graphical (really string rewriting) set of rules:
http://qisforquantum.org/wp-content/uploads/2018/11/PART-I-d...
It seems to me that China can only make wrong in your eyes.

It's a semi-communist dictatorship. They do have a terrible, oppressive system. This is not some questionable assumption. And naturally, free people's opinion of China is much lower than of Denmark or Australia.
Single lane of pcie 2.0 is over 14x faster than usb 2.0 (realistic 35 MB/s in optimal circumstances), pcie 1.0 is still >7x faster.
An army of Terminators can't keep you safe from retaliation. Anyone who tries to take over the world with killer robots will be fought by other people. You might be able to provoke World War III by unleashing killer robots against all the world's governments and their militaries, but you won't be able to prosper or even (probably) survive.
It has a name. Do your homework.

It is called coronavirus (a familynof virii) because of the shape of the organism.
Employees are welcome to use a portion of their salary to purchase a stake in the companies they work for already. Mandating that their employer do that on their behalf (thus decreasing their cash salaries) probably wouldn't go over too well.

If fact, its generally considered a poor idea to own shares in the company you work for - if the company takes a downturn, not only do your shares lose value, you're probably also out of a job.
All I can think is:

Good luck to any short sellers who decide to fight that.

It will be interesting to watch -- from a safe distance.
Progress lies in the fact that everyone has access to these ideas. It isn't surprising that the best ideas are old. Any idea that has survived for thousands of years has to be good.
Do you have any recommended config for speeding up tests that hit Postgres? We currently use these settings:

fsync = off
synchronous_commit = off
full_page_writes = off

And truncate all tables between each test
Microsoft does this. They are reimplementing a lot of internet protocols using Fstar. So not only bounds checking, but also verified. But it’s a huge undertaking!
One of the points of the article is that the environment is a huge factor to productivity. In the environment you talk about (startup program), you have zero code review, full comprehension across the entire system (because you've written everything) and zero debates about the proper way to proceed.

It's the environment that every programmer yearns for, and the environment that every programmer is 10x their normal proficiency (certainly I am).

This is how most programmers can make massive contributions to a 2h/day side project in the evenings compared to their normal 9-5 output at work.

The insidious problem is that people not in the trenches look at the output of programmers in these isolated environments and deduce that this output is constant for all environments.

If you want to reduce output, add more programmers to help.
The C code that applies a patch can do so using just a couple 100 bytes of RAM, depending on the chosen compression algorithm. Heatshrink is probably a good choice for an MCU.

There are two kind of patches; normal and in-place. The normal patch requires the old firmware to be readable until the patching procedure is completed. The in-place patch is designed to write the new firmware to the same memory area as the old is read from.

You can read more about in-place patches here: https://detools.readthedocs.io/en/latest/#id2
In case anyone doesn't know, the Who Is Hiring threads on HN include a monthly thread for freelancers:

https://news.ycombinator.com/submitted?id=whoishiring

It doesn't spend as much time on the front page as the main "Who Is Hiring?", but you can always find it at that link. The next Who Is Hiring day is tomorrow!
Thanks, that made my day :).
The Video Game You Play at Work
Why would that panic be limited to China? They are the world’s second largest economy, there’s no way to isolate the economic impact. Can’t quarantine dollars.
https://news.ycombinator.com/item?id=22217374
> I find turn by turn directions are incredibly annoying while driving in areas I'm intimately familiar with and there's no way to say "I know what I'm doing when I'm in this area" or "pause giving me voice directions for 10 minutes".

I've turned off voice navigation altogether. It's just not necessary in most cases. Just take a minute or two before departure to actually read the map and the route, if you are not pressed for time. It also gives you much better spatial awareness of where you are going and how you are going there.
I used to work for a map company, and phone traces were immediately broken into smaller chunks to anonymize them. Using location history isn’t viable when all you have a collection of short traces.
By that note, Uber is a taxi company and Netflix is a TV broadcaster. Which is pretty much true.
Shameless plug, you can download a high quality ebook of his dialogues, including "On the Shortness of Life," for free at Standard Ebooks: https://standardebooks.org/ebooks/seneca/dialogues/aubrey-st...
This has nothing to do with the parent post which is comparing programmers of different skill levels. You want th compare programmers to non programmers. That's meaningless. Of course programmers can program and non programmers cannot. If a company hires non programmers and expects then to program without any training, then yes the skill of the non programmers is not the issue. The sanity and competence of the hiring manager is and is the only thing that would show up in the postmortem. You're going to blame the non programmers for not programming? What do you expect them to do?

Are you going to hire someone who is 4'11" and never played basketball before in the NBA? Are you going to hire a janitor to lead your space program? All so you can say that your qualified employees are infinitely better? That's ludicrous but exactly what you're suggesting.
There's a Chinese saying that's apt here; "山高皇帝远" which literally translates into "mountains are high, the emperor is far away."

However, I disagree that this is solely unique to China. You see it in the west too. The water crisis in Flint, MI springs to mind.
IIRC, minimizing left turns was a massive cost-saving measure for UPS (or was it FedEx?) back when consumer-facing GPS systems were becoming commonplace.
Coronavirus: Drone hovering over China to scold people without masks
A lot of them already are. And they pay $3 and sit there all day.
> Then I pointed out how it happens to a vast extent every day and it’s part of modern markets and you have nothing in response to defend your stance on price discrimination.

Back this up. None of your statements have any backing.

Edit: From your comment style and prior history, you have a history of utilizing red herring and slippery slope style comments to get your way without backing a single thing you say. Please, cut the bullshit.
There should be less specialized languages. The web should work more on mediums like WASM so all supported languages share the same functionality. Everything CSS can define can be done in full programming languages.
We have a collaboration function: you can create a team, add your teammates to the team and get notifications together.
You can press the X on the bottom left of the navigation page, which halts the navigation. To start back up, just press Start again.
I think it's meaningless to make stats on unknown things. We have no idea how many of the infected people will die.

The only thing we can say is : as of now the survival rate is 98%. It will probably go down, nobody knows how much.
A friend of mine new to CSS was rebuilding the Google homepage using Flexbox. He asked me why Google uses <center> in their HTML, to which I told him it's most likely due to compatibility. Google is accessed by every web capable device and browser ever made. Yet, seeing <center> feels unacceptable.
Murdoch's News Corp launches 'Knewz' platform as alternative to Google, Facebook
Yeah, I have three thinkpads t450s, w540, and a P50. They are amazing, I put 64gb of ram in the P50, 32gb into the w540. Put 3 ssds into the w540 and 2 into the t450s. I bought them all on ebay used. Never been happier.
why would you want to do this - other than just because you can?
Oops dust? I meant dist!

Unless you are using Rust I guess
I agree with you that the correct answer is "we have to wait more".
Thank you for your honest comment :) We thought about it and decided to make StaySecure totally free.
Use Em Media Queries (2016)
Traffic could have started after you began your journey, making another route without traffic faster.
I just get some social anxiety when people back up behind me, or anytime I feel like my driving is "imposing" on others. I know it's somewhat irrational. But I doubt a driving lesson would help with my more general problem of social anxiety.

Anyway, I'd rather be this type of driver than an overly dense person who doesn't mind backing up traffic. The type of people that will go sideways blocking four lanes coming out of a gas station to get to the turn lane...

I learned to drive in a "defensive" manner. Yes, sometimes non-action can be more dangerous in a specific situation; but feeling bad about backing up traffic doesn't make me a bad driver. Just an socially anxious one.

I agree though, in the original comment, I probably made it sound worse than it actually is for me. I just wish google maps had this option. I would find driving more pleasant.

Edit: I made some edits, to clear up my response
Create an Android Payload Using Metasploit
As New Coronavirus Spread, China’s Old Habits Delayed Fight
Anti-vaccination advocacy exists because some kids do get problems from vaccines. I'm not an anti-vaxxer but it's an inherent feature of how vaccines work that a very small percentage of kids will have some serious things happen as a result of being vaccinated. When you have a big population and the Internet, this small percentage of parents will logically come together to cope with their problems. The fact that those people exist and they can talk about it is evidence that our system is working, not that it isn't.
This is really just an example of the impressive security policies of macOS, if I'm not mistaken as long as you have admin permissions you can trivially create a keylogger on Windows 10 without any such special permissions.
That would make sense as far as the area's I'm thinking of are along the burgs outer ring roads so I don't think there is nearly as much outer ring Uber action.
It would also be helpful in letting users figure out conflicting shortcuts.
Then does the fact that they're responding much more quickly and much more heavily this time mean nothing at all?

You say "didn't act swiftly". What is swift to you? A month went by since the first case before they started getting their act together, true, but how quickly do you think other nations could have acted? Compared to SARS, where it took them months, 1 month is a major improvement. It's still not good enough because the virus is that ruthless, but Rome isn't built in one day. I have reason to believe that they've learned a great deal from how SARS was handled, and that they'll respond even better in a future outbreak event.
As one of the other replies to this comment mentioned, this is one of the pain points that the company System76 has spent some time working on. I think it's because it addresses a core part of their target market: professional developers or other users who might need access to the GPU for programming, but don't have the time or motivation to learn how to play around with a CUDA installation from scratch (I'm making the assumption that's probably a large part of your problem, as it has been mine).

Their Ubuntu-based distro, Pop!_OS, does a lot of good in this regard, and is really pretty plug and play for an Intel/NVIDIA combo set-up. The driver that they use to manage their CUDA install is also available for plain Ubuntu[1], and I've had good experience with using that to manage my own set-up running an Intel Xeon/NVIDIA P-series (if I'm remembering correctly). I haven't given it a shot on Debian, and if you're using something like Arch, there's a decent chance you'll be out of luck.

Note: I'm not affiliated with System76 in any way, just have slammed my head into this problem on multiple occasions and found this to be my go-to way of managing it.

[1] https://support.system76.com/articles/cuda/
This is a somewhat different argument than the parent comment. The parent comment, as I read it, says that news of the virus is sensationalized. This says it's below your current threshold to act.

When you should take actions to mitigate risks depends on where you are and what resources you have available and what else you are dealing with. Where I am, we have had one case of the virus and I expect we have an above average amount of people recently in China.

I find it quite comforting to read about the virus so I can understand it and take steps to mitigate what I think are the likely risks. Reading the advice of medical experts has helped me take what I hope are sensible precautions and develop a good strategy for what to do if something bad happens with my family.

I have gathered enough food for my household to eat for a month, some water, stocked our medicine cabinet with things that are useful for dealing with the symptoms of the virus, a couple boxes of N95 surgical masks, and, maybe a bit more out there - I've got a pulse oximeter and a stethoscope and I've practiced listening to normal lung sounds and made sure I can use the oximeter.

If the virus sets in where I am, my household will shelter in place and stay inside. If we get sick we will stay home, since I know hospitals can't do more than treat the symptoms and going to hospitals will expose you to other pathogens including pneumonia which seems to kill many people with the virus. I will use the oximeter to detect a drop in blood oxygen of any sick person which is an indicator of pneumonia as a signal that home care is insufficient and then we'll strap on our masks and safety goggles and go to the hospital.

If the viruses doesn't materialize then we'll eat the food in the stockpile and I'll have spent only a small sum on things that aren't likely to be useful.
I'm pretty sure you die faster than you can recover from this thing. So we should see a better deaths / recoveries ratio in the coming weeks.
Subletting is a pretty well proven business model. IWG, formerly Regus, has been offering office space in a substantially similar manner since 1989.

The model works, if the short term leases balance out the long term leases and other costs.
> In the 3 years prior to the ACA

I will admit I didn't look at the study. Does this mean the 3 years prior to the law passing or the 3 years prior to the law going into effect?

I would expect insurance companies to start adjusting rates in anticipation of the new law, even if it hasn't taken effect yet.
This is the intent behind a representative democracy. An enlightened elite, informed but not bound by the needs of the common man.
JavaScript got better while I wasn't looking (2017)
> And what about robots? There is a danger that automation will further exacerbate income inequality, so redistribution is a natural response, because it would increase the effective wages of low income jobs

Why does it make more sense to redistribute the outputs of the robots rather than redistributing the ownership of the robots so that everyone gets and equal share of the output?

The latter approach addresses the root cause of inequality (unequal access to resources) rather than trying to put a bandaid over the wound by constantly having to siphon the money back.
Compare my username with that of the author of that library ;).

For special functions, LoopVectorization relies on SLEEFPirates.jl, which is a fork of SLEEF.jl, a Julia port of version 2 of SLEEF. Most of the changes in SLEEFPirates are so that it works when you use llvm-vectors as arguments, but I also switched to using Estrin's rather than Horner's method of evaluating polynomials for a few functions (which more recent SLEEF versions did as well).

The code is pure Julia (or Julia + LLVM call; either way it does not need any external dependencies aside from Julia itself). It does need performance work, but I have many higher priorities at the moment.
Not OP. I do not have issues with WireGuard's cryptography.

I do have issues with wireguard's security - things like silently accepting invalid configuration, changing one peer can silently affect another (only avoided via external means), roaming is default enabled and can't be disabled nor can you bind the tunnel to an interface or an ip, nor does it pad packets even the slightest to reduce "meta"data leakage.

Just because the cryptography is (probably) sane, doesn't mean wireguard as a whole is good for all or most use-cases.
It does exist. Download offline maps for the region you are in. Then turn off the Internet connection. Ask Google Maps to do the routing while offline.
One could instead think of social programs, such as UBI, as insurance. People gladly pay >1% of income for insurance. I believe that nearly everyone has the potential to end up in the financial dumps (no one is above drug addiction, serious health problems, mental disorders, lawsuits etc). If a worker ends up there, they'll be glad to have the "insurance coverage" of UBI.
Now, it's too early to say if survivability rate is as high, but here's an observation:

In the rest of China, D/C count is 40/10000, however, in Wuhan, it is 240/4000. Which essentially means Wuhan patients are 12 times as likely to die. A simpler explanation would be Wuhan hospitals has been overwhelmed and there are actually ~12 times as many patients there.
But your rent will increase, probably a lot.
Thanks, I'm familiar with the concept of a straw man argument. I obviously don't think my argument is a straw man. Linking the Wikipedia page is the same kind of dismissiveness that I noted earlier. In any case I'm glad you expanded on your argument, and I'll take the time to reply.

I'm skeptical that the specificity of events in the story matters much. For example, if I were to write a fictionalized novel about the 2016 US presidential election involving killer robot dinosaurs, would the specificity of the events involving killer robot dinosaurs mean that none of the people described in the book "exist" in the sense of corresponding to real-world people?

If I were to misgender a minor character named Caitlyn Jenner would that be ok because it's all fictional? There isn't anybody named Caitlyn Jenner who actually exists in a world with killer robot dinosaurs, after all.

This is obviously a contrived example, but we run into the problem in historical fiction all the time. A historical fiction novel might describe the main character visiting a friend and interacting with a servant, say. The main character and their friend might both clearly correspond to known historical figures, and the visit might be a real event recorded in the history books, but the servant is probably a construction of the author's mind, since servants generally don't get much space in recorded histories. If the servant is not described in too much detail, there is a high probability that the description corresponds to a real person. Is it inappropriate to gender the servant? Does it matter how closely the novel hews to what really happened?

-----

Just to be clear, if the author of the joke decides not to gender the subject of his joke that's perfectly fine, quite possibly preferable. But I think your position--that gendering the subject of the joke is inappropriate and should be corrected--is untenable when you start interrogating what the principled basis for that position might be and what implications there are for other situations (for example, characters in novels).

Doing that interrogation is not a straw man argument. It's the principled way to investigate ethical questions.

-----

I see you've already decided not to continue the discussion, so I guess we'll leave it there.
RAS (Redundant Acronym Syndrome) syndrome:
https://en.m.wikipedia.org/wiki/RAS_syndrome
Check out the rest of this artist’s portfolio, some of them are quite good.

http://www.simonweckert.com/work.html
This new CEO looks like another Softbank shill and will be a blow for culture at WeWork.