skysight-inc/HackerNews huggingface dataset:
That may be true, but science is full of pompous, self-indulgent men who make brilliant discoveries. Of course, science is also littered with cranks who make grandiose claims of discovery - especially in physics.

Curious to hear what people who actually study this stuff think about this supposedly discovery.
Market failures are a rich literature: https://en.wikipedia.org/wiki/Market_failure

There is no single system that does better universally, but there are plenty of narrow fixes that do fine. As an example, scarce donor organs are not allocated based on ability to pay, but in other ways: https://optn.transplant.hrsa.gov/learn/about-transplantation...
You can very easily make a struct consisting of a pointer and length, is adding such a thing to the standard really a big deal? Personally, I don't see a problem with passing two arguments.
Theoretically, formal verification can only tell you as much as can be encoded in a formal spec@.The problem is that no such kind of specs are known to exist (yet, if ever). As a thought experiment, if the informal specs written in English/Chinese or trapped in our head were as incomplete as a formal spec, we wouldn’t even be able to reason about what to test in the first place.

@ Then there is the limitation of verification tech of course.
> 31% is a finite number, that means scarcity.

Scarity doesn't mean finite. It means shortage. Wasted food and vacant homes aren't shortages.
All Time Low- Wake Up Sunshine Review
Is dosemu maintained in any form or shape?
I've been doing the same! It certainly helps for strings. Pointer block diagrams (like K&R use) seem to help too. Mostly what melts their brains is the idea that an identifier can be "in two places at once" - for example, you can have a variable x declared in some scope and a function one of whose arguments is named x, and those are two different things.
Ask HN: Anything legitimate about keeping vitamin D levels up? with Coronavirus
You can do lots of things, e.g. stage an online protest, sign petitions, vote for different parties in the next elections (and it's not as if you don't have a choice; compared to the US with its two-party system, you can really pick your favourites in Germany), call your representatives, join a political party or create a new one, sue the government, ...

What you can't do is unilaterally decide that you don't like a law and ignore it. Asking other people to gather outside for a demonstration when this kind of action is currently disallowed is incitement and therefore illegal.

As others have said, debates around the current measures are allowed and happening. Several parties have already filed lawsuits. In all cases that I know of, the constitutional court has rejected the preliminary injunctions. This means that, while the constitutional court may still decide in the future that the laws were anti-constitutional, they have decided that the harm to the individual due to these laws does not outweigh the harm of these laws not being enforced _were_ they constitutional.

As to whether they needed to shut down the web site or whether that is actually legal: I don't know. But the police, especially local police, sometimes does things of questionable legality, as in every country. Of course, you can always sue the police and demand that your website be restored, and then the courts will examine your arguments. It's not a perfect system (no system is), but you do have legal options.
Well, major alphabets currently in wide use, excluding Korean, Japanese, and maybe a few others.

Hebrew: Aleph, Bet, Gimel, Dalet, ...

Greek: Alpha, Beta, Gamma, Delta, ...

Also, there's evidence that the Phoenician alphabet evolved from the Demotic alphabet, which was basically a late cursive script evolved from Egyptian hieroglyphs.
This is a major set back introduced with HTTP/2 and I'm not sure why this is not mentioned often.

Under firefox you can set "network.http.sdpy.enable" to false to switch back to HTTP/1.

The improvement I have with HTTP2 is hardly noticeable, but HOL blocking is very tangible as soon as you have occasional random packet loss.
Well, after the last war, many countries had conscription to bolster their armies and to have resources better prepared if there was one again.

So I would not be supprised and indeed would welcome countries doing Medical conscription and if you raise up whole generations who have done even a few weeks of medical training and with that, raise the basic level of health and first aid knowledge. That alone would make things better, would reduce those needing to go to the doctor and in the UK with a free access public health service, you cut down on people attending A&E and Doctors with silly issues that would be 101 first aid and basic knowledge treatable or preventable.

But that is just one whole area.

Food packaging, will change and maybe not in a good way. Early on we saw coffee outlets refuse to use reusable cups for fears of contamination. We have gone from the verge of lambasting individual fruits wrapped in plastic towards one that demands it almost.

Be so many ways things will change, directly and more so indirectly.

But not all bad, many people got to talk to neibours they never met, via windows a sense of community and shared issues and cohesion will be much better after this.

Though high-streets already suffering from online advantages, may well of seen the killer blow from this.

Also business wise, it will see many rethink business models and how they operate. Some will diversify, some change direction, some fold and new ones will spring out.

Back in the 70's in the UK we had milk delivered daily in glass bottles via electric vehicles. Over time that died out and plastic bottles from supermarkets being the main.

We may well see a return of such services and certainly for daily consumables like milk, fruit veg, bread. We will see an increase in companies offering that now as the demand and mentality for that demand after this all, will still be there.

Biggest one though, will be more companies open to flexible hours and working from home, which is great.
Make time for play time! Check out this book I'm currently going through to play with Crystal. The book itself is language agnostic. https://pragprog.com/book/jbtracer/the-ray-tracer-challenge It's really sparking joy in me.
>> The station should have shipped them all kits with high quality gear.

Have you seen how big a professional camera actually is? There are basic physics reasons why they need to be so big. They are complex machines backed by a team of experts.

https://petapixel.com/2019/12/03/this-video-explains-why-tv-...

A film/tv studio is a factory and, just like a steel mill, what it does cannot be replicated in the home. What we are all watching from these in-home shoots is sub-par footage more akin to 1980s soap operas than modern studio footage.

Watch the various Linux Tech Tips episodes about their storage woes. When you film/edit on 4 or 8k raw footage, just editing together a simple youtube segment requires racks of servers, another thing not practical in homes.
I showed this to my old father and he laughed for a long 1 minute. It was really an unexpected surprise.
I'm the creator of this simple game.

During my time as a founder I have made a ton of mistakes and I think a lot of them can be avoided (not easily).

Also I hope this game will show founders that everyone makes mistakes.

I plan on adding content and resources below the game so if you have any recommendations please let me know, I will read all comments or you can DM at https://twitter.com/volkandkaya
Not necessarily a code base, but _Generic is what makes <tgmath.h> implementable for the type-generic math functions.
https://en.m.wikipedia.org/wiki/Efficient-market_hypothesis
For me, I enjoy social interaction with people I actually choose to be with. That's family and friends. Colleagues are nice, but if the only reason I'm interacting with someone is because we are getting paid to be in the same place at the same time, its not something I'm particularly missing.
Funny Valentine&#39;S Day Love Song: I Love Ukuleles
I almost switched careers early on due to IE6. At the time - 2006 or so, it was every new junior developer's job to get up to speed with the codebase by tackling a few of those outstanding IE6 glitches.

So for months on end, it was just 8 hours a day of Googling, scouring blogs and mailing lists for obscure CSS and JS hacks to get something to work in IE, while not breaking it in every other browser.

Luckily the recession ended a few of those jobs for me, and once hiring picked up again, there was enough demand for real work, and IE6 was no longer considered (probably about the time that YouTube refused to cater to IE6 users), and it quickly died off.
So what will you do when you inevitably retire?

We’ve spent our lives making work the center (US probably more so than EU). What you are describing can read as “I can’t bare WFH” or it can be “the pandemic severed me from my social circle, that happened to be at work”.

For me, at some point I realized that work friends replaced most of my social circle, but when I changed companies, I lost touch with most of them. This felt disturbing when I realized that and I have since made the effort to cultivate the friendships and keep in touch better. This had the side-effect of no longer relying on the office for friendship/social contact outside of family/SO.

I really don’t think we are talking about adapting to WFH, as much as we are seeing the effects of social structures that have emerged from concentrating people in offices. These have some overlap with work (promotion politics in most places?), but are largely orthogonal to the actual work at hand.
The admin of tech.lgbt is working on a collection of resources. You might find something useful in this thread: https://tech.lgbt/@david/103986050103236381
Philosophy, Math maybe some mysticism as well? Beyond that you can't even have a productive discussion about the economy without framing the discussion in humanity and what purpose a society serves. For example if we push forward UBI are we doing that for productivity? human happiness?

With our current crisis trying to discern what worldview policy is trying to force the economy to serve helps me understand decisions, especially with regard to things like inflation, consumer confidence, greed/fear, etc.
Should YOU work remote full time?
This statement is absurd and counter to the entire basis of modern european union law.

For a country to be eligble for EU membership, it has to be a democracy and be a signatory of the Charter of Fundamental Rights and acknowledge the legitimacy of the european court of human rights and European Court of Justice.

While the ECHR is not a EU institution, it is a cornerstone of european diplomacy both inside and outside the union.

[1] https://europa.eu/european-union/topics/human-rights_en
I guess it depends on framing. (Spoilers ahead for anybody who hasn't read the book yet.) The mining did not have a direct impact upon the environment. But, the mining of course depended upon the presence of the spice melange and of the sandworm makers. This "natural" process which produced the spice was consuming and trapping the lion's share of the water on Arrakis, keeping the planet in an otherwise "dead" state. The terraforming of Arrakis into a more habitable planet would decimate the spice production - and thereby the spice harvest - and so had no support or interest from anybody except the Fremen. So, while it's not exactly accurate to say that the planet was being mined to death, it would be accurate to say that the planet was being kept in a dead state by mining interests, which is essentially the same thing in principle.
In an abstract philosophical vacuum, where manufacturers can instantaneously increase production of arbitrary goods to an arbitrary extent, such an argument makes sense.

In the real world, which recently has provided an ample sufficiency of evidence that manufacturers can do no such thing because the process depends on specialized machinery that takes considerable time to manufacture in its own right, such an argument can most kindly be described as struggling to achieve relevance.

Somewhat less kindly, one might note that such an argument equates to saying that, well, actually you can produce a baby in one month by getting nine women pregnant, as long as you pay all the women enough.
Clang and GCC's approach for these operations is even nicer FWIW (__builtin_[add/sub/mul]_overflow(a, b, &c)), which allow arbitrary heterogenous integer types for a, b, and c and do the right thing.

I know there's recently been some movement towards standardizing something in this direction, but I don't know what the status of that work is. Probably one of the folks doing the AUA can update.
> this is also different because there isn't an economic causal factor. we intentionally stopped everything.

Yes we intentionally stopped things, but that would have happened either way as the disease spread and people got sick.

Look at the meat packing plant in SD where 1 case turned into ~300 and they had to shut down [1]. If we had not shut down things, that would be the story at workplaces across the country. Think about schools and universities throughout the country. If they had not shut down as the pandemic was ramping up, they would have become breeding grounds for the disease and would have had to shut down anyway as students and teachers fell ill.

Yes we shut down things intentionally but our hand was forced. The flip side of this is we cannot re-open things just as intentionally because the result will be a flare-up of cases. So while it may seem like we have control over when we start/stop the economy here, really the virus is controlling the timeline.

[1] https://abc7news.com/smithfied-foods-coronavirus-meat-packin...
Wow, this is... the worst. This is the most egregious clickbait I've seen on HN in a long time.
Oh you don’t remember when Einstein published his papers how he vamped for almost all of it like a Mommy blogger or a recipe spamsite?
If you want a stable language that matches with lower stress jobs try Java and work for an established B2B company. Lots of established B2B companies have Java based products they built a few years ago and they need people to work on those products. Assuming they have a healthy revenue stream, they are going to be focused on keeping the system stable and keeping their customers happy. They aren't going to be chasing the latest fad or the updating their Java version as quickly as possible.

One benefit is that if you dislike your job, there are plenty of places looking for Java programmers. Compare that to COBOL, where the market is tiny.
Do you think involuntary psychiatric committment and forced drugging is a reasonable reaction by the government to a protester/activist who is paranoid about surveillance in an age of ubiquitous surveillance?
The legislation being enacted's main goal is to keep people employed. The PPP (payment protection plan) is directed at small businesses (< 500 employees) and can be forgiven if it's used toward payroll, rent, etc. In order for the loan to be forgiven, in the 8 weeks following taking the loan out, your employee headcount "cannot decline from average monthly levels during 2019 or during the past 12 months" [1]

Now, the larger company / industry bailouts -- those seem less well-defined. I haven't seen the latest on those but I'm sure the government would _like_ to tie them to employment as much as possible but we'll have to wait to see.

[1] https://smartasset.com/financial-advisor/paycheck-protection...
Looks like we're testing 10000 a day on weekdays, and over 5000 on weekends.

I find it difficult to believe with all that testing going on that no one is reserving 3% of the weekly tests to do proper estimation as you suggest.

https://www.cdc.gov/coronavirus/2019-ncov/cases-updates/test...
About time someone advocated for code in lower level styles of programming. Hope it goes well!

Anyway, here's some questions:

- What kind of programs would you say C is a good fit for?

- There is some catching up to do for C. Is there a roadmap for C improvement, or even a recommendation of C++ things that fit somewhat in the style/philosophy of C? For example, I'd recommend not using the C++ smart pointers stuff, while still using C++ threads and lambdas.

Also, you should include programmers from other fields in your committee. Game (engine) developers, HFT programmers are used to lower level styles of coding and align with your perspective.
Increasing the number of people using the dollar is at least a clear goal considering how often we inject it into countries and governments around the world. In 2020 you don’t conquer with guns, you conquer by economic dependence.
Idiocracy was oddly prescient. I really enjoyed that movie. Now that it's reality, not so much...
That is the reason we love Stephen Wolfram.
I have síntí fada in my name too but I also frequently write in languages that use other accents so I have my keyboard mapping set up in software to type them easily. For example AltGr-a-' for á.
Remote Work Masterclass: Management with Empathy Fostering a Value Based Culture
I wholeheartedly agree with you, but the fault lies with the Federal Reserve, which has been promoting reckless behavior for years now.

Artificially setting interest rates so low (say 1%) that by saving money, you are actually losing money to inflation (real inflation at least 5%, if you include healthcare, real estate and higher education) promotes over-leveraging and that's what we got.
Two mental frameworks to help your personal and professional lives
Building a reflow oven
I will always love and respect his direct parodies, but his talent as a style-mimic tickles some part of my brain in a deeper way.

I guess on some level it's because like many people I spent a good portion of my youth (and occasional moments of my adulthood) changing the lyrics of songs to silly (or vulgar) alternatives. I don't spend the amount of time Al does and I don't have his level of talent/dedication of course, but I get it.

But being able to write a song that sounds recognizably like another artist while being entirely original is a whole other level of talent. It requires both an understanding of what makes a song sound like The Police or Crosby, Stills, and Nash and the musical chops to sing/play/produce it.

Hearing those songs gives me a feeling like I know which one he's spoofing but not being able to put my finger on it--because it doesn't exist.
A "good and modular design" with a "strong type system" won't help you when one of your dependencies has an upgrade with a subtle bug that changes the behaviour of your system.
In Scala, you should test that the type system makes the guarantees you expect with compile time errors. Several frameworks provide tooling for this.
Probably covered in the terms of service. They decided to 'end' that service and start a 'new' service, which happens to be very similar to the old service, but isn't.

How anyone could give google a nickle at this point with their 0 customer support is beyond me.
I've asked our Operations Manager to look into this issue. Thanks for bringing this to our attention. We'll get it sorted out. Please email info@nostarch.com so that they can help troubleshoot.
Chelsea fans told possible £100M signing 'a beast' ahead of move
I'm a well established introvert, and I feel the same as OP. It doesn't have anything to do with extroversion/introversion. It has everything to do with simply feeling bad because we recognize that we're not nearly as productive at home. Some people just aren't, and likely never will be, and that's okay. I consider myself lucky to be able to (a) recognize it, (b) care about it, and (c) have the option to go back to work.
The ELF visibility attributes solve the part of the problem at the binary level (by hiding private library APIs from the application). The rest should be doable by structuring the project sources and headers in a suitable way.
Ignore all character support in the standard library and handle UTF-8 as opaque binary buffers. If you need complex string algorithms, decode into UCS-4 (UTF-32). You'll find short encoding and decoding functions on StackOverflow. For case-insensitive comparisons and sorting, use an external library that knows the latest Unicode standard.
I tried, but two spaces yielded what you saw.
It’s so you can’t throw the grenade back at the manufacturer.
When will C gain a mechanism for "do not leave this sensitive information laying around after this function returns"? We have memset_s but that doesn't help when the compiler copies data into registers or onto the stack.
Why won't you ever find time? It should only take a good 20 hours of reading and playing with code before you start to grok it.
Does it work on GPUs other than Nvidia?
We have a nice macro for acquiring locks that only applies to the scope:

https://github.com/libguestfs/nbdkit/blob/e58d28d65bfea3af36...

You end up with code like this:

https://github.com/libguestfs/nbdkit/blob/e58d28d65bfea3af36...

It's so useful to be able to be sure the lock is released on all return paths. Also because it's scope-level you can scope your locks tightly to where they are needed.
I am sorry I do not have an answer to your question. It's a very valid one and I would be interested in any pointer to an answer.

What I can say while we are on the subject, is that I have seen C code (most often C code that started its life in the 1990s, to be fair) that instead of showing an abstract struct in the public interface, showed a different struct definition.

Please don't do this. Yes, when compiling nowadays, eventually every compilation unit ends up as object files passed to a linker that doesn't know about types, but this is undefined behavior. It makes it difficult to find undefined behavior in the rest of the code because there is a big undefined behavior right in the middle of it.
The "ideology" video linked at the end of the article was also instructive for me, by framing the issue in other terms. Both tests and types are proof of correctness; tests are proof by example, types are proof by category. The architectural analogy in my head is that types are vertical and horizontal beams, while tests are diagonal bracing. The interlocking of the two is what makes the overall structure rigid.
Hi,

Do you think Annex K of C11 will be widely adopted by programmers or unused? Why aren't people adopting it?

Do you see the use of any analysis tools that are particularly effective for finding memory safety issues?

C++ added in smart pointers to its specification. Are there any plans to do something similar in future C specifications?

Thanks!
- In your example there's no guarantee that the length will be accurate, or that the data hasn't been modified independently elsewhere in the program.

- In other words you've created a fantastic shoe-gun. One update line missed (either length or data, or data re-used outside the struct) and your "simple" struct is a huge headache, including potential security vulnerabilities.

- Re-implementing a common error prone thing is exactly what language improvements should target.
NFX – Seed Funding in 9 Days
Have you given ada language a thought ? Also there are lot of competition your students can take part in https://www.makewithada.org/
that is exactly what those of us simply waiting for a Neuromancer movie have been saying to ourselves for years :(
I am agree 100% with you. But this looks like a bug.
The price is not limited right now, and yet production is barely ramping
Sort of like the lifetime guarantee that GCP claims to offer (until next year when it's shut down).

It's sort of nuts to think anything Google does is going to be around in 5 years.