skysight-inc/HackerNews huggingface dataset:
I'm not talking about abundance versus scarcity. I believe that resources are abundant enough (we're a long way from "overpopulation"). I'm merely talking about how the resources are used: ie, who earns their keep and who expects to be kept through other people's hard work.

Ultimately, if you want food on the plate, you either need to grow the food, or you need to trade some of your time or other commodities with somebody who has already grown it. The food won't grow itself. (Well, some will naturally, but in very limited quantities compared to the harvests that can be made through deliberate labour).

Similarly, houses won't build themselves. Somebody needs to labour to take the raw materials gathered from the earth and turn them into shelter. If this isn't you, why would you think you "deserve" to be sheltered?

Nobody is entitled to other people's labour. If you consider the case where one person takes 100% of the proceeds of another person's labour, we can safely say that this relationship is one of a master and a slave. If this is the case, what percentage of another person's labour can be taken where they are no longer a slave? Is it 60%? 50%? 40%? Who knows - some arbitrary figure. Of course the correct answer is 0%. Only if you own the full reward of your own labour are you a free person.
People really ought to put the number on their post (like you did; thank you) so we know where they're coming from.

I was in the Bay Area, and one of the big reasons I left was the 3-4 hour commute. For a while, it was manageable, as the train provides some ability to work, but towards the end CalTrain was just falling over from lack of capacity. Packed to the gills trains, trains breaking down, hell, even derailments.

Moved, and cut the commute in half; it's only two hours now, and it feels wonderful. Somewhat hilariously, biking is the same speed as public transit. Sadly, my public transit still no longer really supports a working; too packed.

I'd love to have a 20 minute low stress commute. But I also don't equate "low stress" with driving, regardless of podcasts.

(Unless you have a 20 minute commute on public transit. I must spend ~30-40 minutes of my commute simply getting to public transit.)
Plain text version:

https://text.npr.org/s.php?sId=828565428
How much UB does your own code contain, folks (and what practices do you follow to avoid it)?

Cheers from the shadowland :)
How Greece is beating coronavirus despite a decade of debt
The Berkshire Hathaway Site is a master class in human-centered design
>but I have yet to meet an economist who doesn't have very strong ideas about the types of policies or interventions that are good for bad for the economy

I have yet to met a person on the street who doesn't have strong opinions about what economic principles should be implemented.

>it often feels like you get 10 economists in a room and you get 10 different diverging opinions.

I don't understand why this is a bad thing. Progress is made by exploring diverging theories.
A clearer statement is that writing was only invented/discovered in isolation three times that we know of--by the Mayans, the Chinese, and somewhere in the middle east.
I'll just say it, I love Stephen Wolfram. The fact he gets under so many peoples' skins, and yet keeps leading teams producing amazing stuff (Wolfram Alpha, Wolfram Language, etc) gets an A+ in my book. Anyone who puts so much energy into this stuff, which such ego, obviously wants to contribute in a real and meaningful way to ensure his own understanding and his legacy. A personality flaw? Sure. But we've seen bigger assholes make huge dents in the universe - physics is long overdue for someone to shake things up. From my vantage point, as a laymen, theoretical physics is dead, and its a shame. It may take someone like Wolfram to do it - it probably takes flipping the bird to peer review at this point to get widespread dissemination of radical takes on theoretical physics. And it certainly seems like a lot of radical takes will be necessary for us to actually make progress.

So, hats off. Even if this isn't the Big Idea, maybe it'll end up sparking an idea in someone else's head down the road that gets us there.
Important life lesson: drop 0days on twitter, you wont get bounties, but at least you will get recognition and job offers.
why not start a side project but doing freelance / consulting? Contract work can take up a lot of time and energy.
This is also why I cringe when people suggest to alias `rm` to `rm -i`. That will bite you, believe me.
Esperanto, no, but there were several attempts at an alphabet. They all foundered because "Chinese" is actually a language family as diverse as the Romance languages, but that use Mandarin in ideograms as their writing system.
This is a bit of a self-promotional piece, but I put together a simple website that extracts sentences related to COVID-19 and economics/finance news: https://chimerais.com/covid19

I try to write a blog post once or twice a week as well, but this is more for myself -- just to actually force myself to synthesize everything going on. Happy to share if anyone is interested.
Does having a popular mobile app make people scientists? This elitist shit is annoying. I would much rather see him write up something about how he is distributing his wealth to help with the coronavirus rather than this stuff.
> Do you think Annex K of C11 will be widely adopted by programmers or unused? Why aren't people adopting it?

So far, it's not been widely adopted. Part of the issue is that there are specification issues relating to threads and the constraint handlers, and part of the issue is that popular libc implementations have actively resisted implementing the annex.

That said, I field questions about Annex K on a regular basis and there are a few implementations in the wild, so there is user interest in the functionality.

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

<biased opinion>I think CodeSonar does a great job at finding memory safety issues, but I work for the company that makes this tool.</biased opinion>

I've also had good luck with the memory and address sanitizers (https://github.com/google/sanitizers) and tools like valgrind.

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

We currently don't have any proposals for adding smart pointers to C. Given that C does not have constructors or destructors, we would have to devise some new mechanism to implement or replace RAII in C, which would be one major hurdle to overcome for smart pointers.
Ctrl-A, Alt-F, Ctrl-F, Ctrl-K, Ctrl-Y, Ctrl-Y

:D
I was working full time on a side project a week and a half ago, when a former boss approached with a client he couldn’t service who urgently needed a developer with my skill set. I negotiated a higher rate and now am working full time for them.

I don’t have any accountant, no contract. They will either pay me or it’s back to my side project.
Existing code would be using normal pointers, not fat pointers, so there would be no ABI break. New code using fat pointers would know that they fit into a pair of uintptr_t, so the size of uintptr_t would not need to change either.
Goliath

The Curse Of Bigness
I just wanted—anonymously, sadly, because mental health issues are still stigmatized—to let you know that you’re not alone on this one.

I also had a combination of a vasovagal episode and a panic attack, and it has taken years to mostly get over the resulting panic disorder. (It wasn’t helped by the fact that, during one trip to the ER for panic, a nurse performed an EKG incorrectly and I was misdiagnosed with a heart condition and admitted to the cardiac ward for the night. I still can’t believe that one.)

Being sick makes me panicky too. I have a host of coping techniques and it seems to get easier each year, but it still sucks. Having to mentally navigate the current pandemic seems to be adding some resilience, at least.

Anyway, thanks for sharing your story. It helped to read it. Best of luck.
The theory was bitcoin would have low overhead as the only limit was machine time which should be cheap. However, an artificial transaction limit was created which creates artificial scarcity and thus high transaction fees.

In theory a miner wants to have the highest number of profitable transactions possible, but we ended up with collusion to drive up prices and thus miner proffits.
Dumb question. But, Why can't there be a universal language that all other languages could be transpiled to and from?

Wouldn't that eliminate a lot of the re-work that goes in maintaining all of these libraries in different languages?
Show HN: Covid-Meter, a free tool by Userguiding, is featured on Product Hunt
Swimming WITH SHARKS Too many for my comfort
For a longer term read I'd recommend Hill & Myatt, the Economics Anti Textbook. It's a fair introduction to Economics 101 but at the same time provides more in depth critique than an introductory book usually would, of where Economics 101 fails, and how it tends to get over-applied in policy.

Ha Joon Chang, Economics: the Users Guide and 23 Things They Don't Tell You About Capitalism (don't dismiss it as an anti-capitalist treatise, it's not) are also good, lighter weight (unlike Hill & Myatt no maths) but give an overview of the different schools of economics and what can be drawn from each.
And if the claims of HackerOne/Valve trying to get out of paying a bounty, that's just terrible, because a lot of these exploits can be sold to nefarious actors for much much more.

Not paying out the promised bounty, to me, basically spits in the face of independent (and ethical) security researchers.
There’s also Multipath TCP that intends to solve that problem.
The biggest ray-traced game yet: Minecraft RTX
What’s the current committee thinking on providing locale-independent conversions from potentially-invalid UTF-8 to valid UTF-8, from potentially-invalid UTF-8 to valid UTF-16, and from potentially-invalid UTF-16 to valid UTF-8 (i.e. replacing ill-formed sequences with yhe REPLACEMENT CHARACTER)?
Do you have a credit card, a car payment, a mortgage, rent or lease, or a student loan? Can you make payments for several months without a salary? Several years? Literally everything for the last 50+ years is financed with debt, labor doesn't own anything anymore, and it's not possible to opt out of debt and simultaneously compete, which is how we got in this Chinese finger trap in the first place.
Or the crosswords section?
I certainly wouldn't go for quantity there, but if you really want to learn Rust you should. It brings some groundbreaking new ideas to programming and is more than "just another language".
Monet disagrees.

https://www.cmonetgallery.com/en-plein-air-painting.aspx
Interesting concept, a few questions right off the bat, though. Where does the data come from? Premarket data can mean very different things with modern buzzwords. What's your ToC and privacy policy? I'm not going to give up my email just because.
You can't trust "the news" anymore. Everything is just clickbait doomsday nonsense every day. It's incredibly hard to separate fact from fiction, opinion from fact, and reality from fantasy.
> There are regulatory bodies overseeing generic prescription drugs

This is also sadly wrong. There are regulatory bodies overseeing only a very tiny fraction of generic prescription drug production (ask how often they inspect and test batches) because of a systemic drive to dismantle and defund regulatory oversight exactly as championed by the person I was replying to.

Oversight in the face of rampant fraud requires testing continuously, not once every few years, not sometimes after something goes wrong, and it requires funding to hire overseers.
How does it handle idempotence?
Google Caja Compiler: making third party HTML, CSS and JavaScript safe to embed
I'm not. Why would someone's conlang project be given status alongside something with millions of speakers and centuries of literature?
I witness the same mentality in sbt users, Turing computable > declarative. I don't get it though.

In both the build system and the deploy system, I want to know the config terminates, and I want it to be easy to understand. The application's specialization is Turing computability. I prefer that footgun to stay isolated there. But maybe there is a use case I don't get.

Imagine accidentally provisioning infinite VMs...
> This is the trap I always fall into when I try TDD. In order to add or change a feature, you now have to write the code twice: Once to implement the change, and once to re-implement the change to assert that it does what it's supposed to.

I think you have that backwards.

In TDD, the test is basically an assertive statement: when this test passes, the functionality is working as intended. You then write the implementation code, and when the tests pass, you're done.

This gives you two things: one, a sense of certainty that your code is meeting the requirements, and two, it bounds your work, preventing you from writing code that you don't need to make the test pass.

Now let's say we're changing a feature. Maybe if a user tried to add an out-of-stock item to their cart, the UI currently displays an error message, but now we want to add a note indicating when the item is expected back in stock.

We'd just go into the test for that error message, and add statements that look for this new `div`. We would probably have to add a few cases (for example, when we have an estimated data, when we don't have an estimate, and when we've been told the product won't be restocked), but we aren't fundamentally altering the test code.

These tests will initially fail, because there's no `div` with an `id` of `restock-message` or whatever. But one by one we can knock them out, adding messages for known or estimated restock dates, unknown restock dates, and permanently out-of-stock items.

> And no safety has been added, because the logic itself can still be flawed.

That's true, but that would also be true if you were hand-testing. You can't verify functionality you don't understand, but you can't write functionality you don't understand, either.

TDD, and testing in general, isn't a magic bullet that solves all of your problems; at some point, you still have to be smart enough to write the code. But testing is still a necessary tool in the developer's toolbox, because without it, you simply cannot know that your code is doing what you think it's doing. And since you're going to be testing anyway, why not have the machine do as much of the heavy lifting for you as possible?
I wonder, can somebody turn it into an XSL stylesheet?
Doesn't matter if he bought all or some. If he is attempting to profit off of a disaster, he will be seeing a fine or jail time in plenty of states.
Theoretically, augmenting the blurred image with some sort of random, changing offset for the HSV values on each frame would prevent supersampling attacks, right?
In some ways one part of the solution is simple: Pass laws that deliver consequences for lying and disseminating false information or fabricating narratives.

Note I am NOT identifying any one political party as the culprit. They are all at fault here.

These laws should apply to everyone, from traditional news networks to politicians and individuals. I know the situation is a bit different with social media. If the argument is that all they do is provide a means for interpersonal communication with minimal or no supervision, then, OK, the laws apply to individual users and perhaps only apply to social networks if users are allowed to post and exist anonymously.

This isn't a new concept. Human life is about reacting to consequences. From learning how to walk to learning not to touch hot pots or when to cross the street. The most basic of human behaviors are self regulated due to very clear undesirable consequences we learn about along the way.

Politics and the media are absolutely rotten. They both hide behind the abject lack of consequences. Both politicians and media outlets can lie and fabricate with absolute impunity. I won't list examples here, suffice it to say we could easily fill thousands of hours of videos with examples of both media and politics (on all sides of political thought) lying or misguiding the public with impunity.

This is a forcing function these people do not have. And, because of that, they can say and do almost as they please without consequences. Taking things out of context, fabricating "facts" and threading ridiculous conclusions are every-day realities. Sadly, the Internet and Social media has expanded this exponentially through massively greater access to all of it and the ability for people to interconnect and interact like never before.

If we implement consequences for this most insidious problem we will be treated to a very different kind of politics and politicians as well as media that actually does the homework necessary to report well researched facts rather than distortions and politically aligned falsehoods hour after hour, day after day, year after year.

This would be a refreshing start. Not perfect, but it would address one of the most serious issues pulling people apart: The dissemination of lies that, when repeated enough times, are taken to be true by a population seemingly uninterested or incapable of research and critical thinking (factors that are openly exploited by political actors).
In Idiocracy , the president recognized his limitations and looked for the smartest person to put in charge of solving the problem.
The point I was trying to make though is that people that almost certainly didn't have it are assuming that they did, which is dangerous because now they'll be much less cautious
Good post discussing Rt (rarely brought up), but a few points are lacking:

* in the face of increasing (and volatile) testing capacity, Rt is being significantly over-estimated by looking at case counts. It's improbable CA still had an Rt above 1 the first week of April with covid deaths linear by the second week. More likely Rt was 1 about a week after the SIP (late march).

* Ignoring "herd immunity" effects of Rt. Some of the "under control" states (NY, Louisiana) have had very high infection rates which in their own end has dropped Rt down. NYC is a strong example of this - with > 20% of the city having been infected, well, Rt will drop dramatically just by so many contacts already having immunity.

* Implying this argues for states locking down now. I agree there is heavy evidence favoring lockdowns weeks ago to have avoided many deaths, but at this point, any lockdown is going to take a week to have an impact on even confirmed cases. The most susceptible populations (essential workers) are the very ones exempted from lockdowns (and less susceptible ones have already voluntarily socially distanced), so there's likely not much gain to be had. Sweden is conveniently our low density control group using mostly voluntary measures (WA State is similar through March 23) and its peak passing a week ago is a sign that Rt drops under 1 faster than you think.
An object of any type, initialized or not, can be read by an lvalue of unsigned char (or any character type). That lets functions like memcpy (either the standard one or a hand-rolled loop) copy arbitrary chunks of memory.

There's some debate about the effects of reading an uninitialized local variable of unsigned char (like whether the same value must be read each time, or whether it's okay for each read to yield a different value).

This special exemption doesn't extend to any other types, regardless of whether or not they have padding bits or trap representations that could cause the read to trap. Few types do, yet the behavior of uninitialized reads in existing implementations is demonstrably undefined (inconsistent or contradictory to invariants expressed in the code of a test case), so any subtleties one might derive from the text of the standard must be viewed in that light.
1) Yep. Universe is built on few very simple principles, which can be used to implement emulation: dimensions, energy/force, inertia/mass, time. (And infinity).

2) Yep, it will happen in future, but infinity is not possible in simulation.
Your analysis again skips the cheap family plans (1) cannibalizing the full-price SMB plans; and (2) the families that are already on the normal plans that immediately demand a discount. And implicitly assert Fastmail's cfo hasn't modeled these scenarios and is just leaving money on the table because they don't like money.
This. F responsible disclosure.
>That was a lesson to me: conventional wisdom about the economy, even "wisdom" from "experts" in a segment of the economy, can be wildly inaccurate.

Conventional wisdom is wrong about all kinds of things, all the time. "Forecasts have been wrong, therefore forecasting is pointless" is the wrong lesson to take.
CSS columns?
French Fighter Jet Joy Ride Goes Très, Très Wrong
While they saw the value of the worm in economic and spiritual (maybe even political) aspects, they wanted to achieve a balance where the ecosystem would support both species. They trapped water underground because that was effective storage against evaporation, and to keep it secret from the ruling Houses.

Spoilers below:

Down the line, Arrakis does get terraformed and a vast planetary desert preserved for the continued existence of the spice cycle.
Have you considered adding intrinsic functions for arithmetic operations that _do_ have defined behavior on overflow. Such as the overflowing_* functions in rust?
ActivityPub is as decentralized as email and RSS feeds.

Unfortunately nothing in such protocols prevents the gmail problem.
Maybe. I doubt it, though. There has always been substantial cross-talk between CS/information theory and Physics. Even through the 1990s it was difficult to be a computer scientist without eventually coming into contact with a non-trivial number of physicists. Especially in industrial research labs. Bell Labs, PARC, and IBM Research were full of physicists. Bell Labs and PARC are dead, but AFAIK IBM Research still has a bunch of physicists and the newer kids on the block (Google Research, FAIR, Deepmind, Microsoft Research, Intel, AMD) also have a share of physicists.

Besides, Stephen's approach here is to ignore 15-20 years of research from various CS sub-communities; his best case scenario is spending a decade reinventing that wheel. The problem with cross-talk that isn't "humble on both sides" is that it's either a) a waste of time because one side's ideas aren't that important, or else b) a waste of time because one side has to reinvent the other wise.
Economies moving up the value chain and becoming more productive is not a special circumstance. It's the most fundamental force of economic progress and prosperity.

That's why acting in a way that weakens this force should be a rare exception rather than the rule.
You can’t step through declarative code in a debugger. That’s a problem for discoverability, which also means more friction for new learners.
There's nothing stopping an implementation from encrypting and locking things down, but so far every popular AP platform is focused on public content.
The problem is that we're not dealing with "occasional" sacrifices to "some sort" of central authority. Since 9/11 we've been asked to surrender our rights by the truck load, and each new disaster seems to require ever more submission to an ever more powerful central state.

The pendulum has swung too far the other way.
Three things:

1. Economics in one Lessons. One of the most powerful books I've read on the economy. Will help you rethink and see deeper
2. Dao of Capital. Book by Mark Spitznagel -- goes into tail risk hedging, and his counter-intuitive investment thesis. He made 4000% over Covid
3. Dalio's essays -- from "The changing world order" to "Debt Crises"
What does 'work' mean?

If work means to live a happy and meaningful life- absolutely.

If work means to gain the prestige of a man like Conway- probably not. But I can rest assured that I likely wouldnt achieve that with other attitudes either