skysight-inc/HackerNews huggingface dataset:
Greed is not good. Productive behaviour is good. Market economies encourage people to be productive in order to satisfy their self-interest.

Defining pursuit of self-interest as greed is the type of ideologically motivated moralizing that leads to people ignoring rational arguments and the evidence on what types of laws work and what don't.

>>As proof observe many European nations that are almost as productive wherein the wealth of most practitioners of most professions tops out much lower than their US counterparts and yet they produce similarly to our citizens.

1. The U.S. is significantly more productive than Europe on a per capita basis.

2. Even if 1 weren't true, your argument would prove nothing, as there are a vast array of differences between the EU and the US that could explain your observation. Your 'proof' is nothing of the sort. It's lazy confirmation bias. The empirical evidence, in the form of analysis on large datasets, strongly suggests being more market-based is associated with more rapid economic development. For example see this study: https://web.archive.org/web/20170821004405/http://ime.bg/upl... There's no evidence of any threshold where that benefit diminishes. These empirical observations are strongly supported by the basic economic theory.
I don't think you understand how representative democracy works. It very well may be that the majority of the people rejects the Rundfunkbeitrag. But it clearly isn't very important to those people, otherwise they would create a single-issue party and vote that party in. In a representative democracy, people decide what party or candidate represents them best and vote for them. Nobody expects to be asked about every issue.

If you want to change that, you could move to Switzerland, where voters actually do regularly vote on issues, but be warned, that that system comes with its own set of disadvantages. Also noteworthy: the Swiss people recently voted on whether to keep the equivalent of the Rundfunkgebühr, and they overwhelmingly said yes, as soon as they realised how much they would otherwise lose; you see, it's one thing to claim you're against something when asked randomly during some survey, it's another to actually go and vote against it once you know your opinion matters and you've had some time reviewing the pros and cons.

By the way, I don't own a car and I still have to pay money for streets; I don't have children and have to pay for school; and I've never received unemployment benefits, yet have to pay for it. I don't complain about any of that because I think having public goods is a good thing.

You've asked me what I think you should do. I've outlined a lot of things in my previous post. That none of these is an "actual option" for you or that you think people won't care about your cause is not a failure of democracy. Nobody ever said that change is easy.
US State Dep Warned of Potential SARS-Like Pandemic After Visiting Wuhan Lab
>Spending an hour plus commuting every day is probably more of a problem.

Hate to break it to you but a huge portion of Europeans also commute for one hour plus every day since they do it by public transport.

Not everyone lives in a quaint Dutch city 5 minutes bike ride away from work.
Hoarders aren’t selling theirs, he is. If he didn’t exist, more hoarders would have critical supplies.
I originally read right over that as 900V. I think I'm so used to reading articles with energy/voltage/power mixed up I just gloss over it now.
Obama didn't set up killer FEMA camps, Trump is actively encouraging killer climate change. That's the difference. The example you're looking for is something something Heinlein/Card, where awareness of the very real role politics plays in shaping human history is compellingly cast through a conservative prism and not, like... utter nonsense.
Ask HN: What's your WFH set up like?
After months of cramping over my laptop on a sofa, I've finally sorted out a proper desk, vertical monitor, ergonomic keyboard and mouse - and I'm loving it!

I've put photos and details on https://shkspr.mobi/blog/2020/04/my-wfh-set-up/ - but I'd really like to see your WFH rigs.
OpenAI Microscope
We use it extensively in our proprietary codebases as well, FWIW. Not real open data for me to point to, but: a few million lines of C, and a handful of billion USD in revenue. If that helps weigh in on "yes, please standardize this common practice."
Historically, yes, exactly. Modern conventions now favor the left-to-right numeric readings for interoperability.
Re VR workspaces: I’d love to try that. I can’t imagine it accounts for body language and facial expressions though, and those are core to meatspace.
Roberta King speaks about Employee relation metrics
I've seen a lot of people, both professionally and personally, say that this pandemic is going to change so many things. I don't buy it. The in-office culture is not only more beneficial to many aspects of many types of work (absurd cost-saving "open office" plans notwithstanding), but more importantly, middle management has a vested interest in it.

There's no way this is ever going to be seriously disrupted in my lifetime; middle management has too much information gating ability and justification making ability to ever let the power of being in control of the working class by using offices/on-location work places wane.
Open up WG14 mailing list for non-members?

It's hard to appreciate what's going on at WG14 (or take part) when you can see the results only from afar, with none of the surrounding discussion.

I recently read Jens Gustedt's blog on C2x where he casually recommended this as a way to get involved: "The best is to get involved in the standard’s process by adhering to your national standards body, come to the WG14 meetings and/or subscribing to the committee’s mailing list."

Afaict (from browsing the wg14 site), the mailing list and its archives are not open to access.

https://webcache.googleusercontent.com/search?q=cache:TnEGL4...

EDIT: In general, how is one supposed to approach wg14 with ideas or need for clarification on the standard's wording / interpretation?
Locally (upstate NY) per our pediatrician they're only testing people with symptoms bad enough to put them at risk of hospitalization. We're still very short.
Icelandic Forest Service Recommends Hugging Trees Since You Can’t Hug People
For US economy I like to track the FRED metrics. They have good visualization charts

https://fred.stlouisfed.org/categories
Coronavirus wasn’t created by cheap Chinese manufacturing.
I didn't realize that either, but it's described in formatdoc as such. So if you changed that behavior, probably should change the docs too.
Ha-Joon Chang's works

Bad Samaritans: The Myth of Free Trade and the Secret History of Capitalism
https://en.wikipedia.org/wiki/Bad_Samaritans:_The_Myth_of_Fr...
https://www.youtube.com/watch?v=WU9DgfOMpmo

Economics: The User's Guide
https://www.theguardian.com/books/2014/may/29/economics-the-...

Jane Jacobs

Cities and the Wealth of Nations
https://www.eyrie.org/~eagle/reviews/books/0-394-72911-0.htm...
Hacklang at Slack: A Better PHP
This can be heavy and I need to talk about it but feel it runs people off, but I had a recent suicide attempt resulting from years of chronic pain and increasing isolation. I am not getting enough help or support. The relevance is how you mentioned you miss face to face and as I sit here alone trying to recover I see how terrible an effect the increasing isolation has had on me. But I live rural with no support network and no options. Looking back it's why I was far better mentally in a city. People need people...even the introverts. I don't fit in politically locally, cannot find support online. Even healthy and wealthy people get down when all alone.
The sad part is that this is after the spelling reforms of revolutionary America that did improve the mapping.
I would say that the committee does pay attention to hardware variations, even when there are no examples of existing hardware that implement a feature (for example, a trap representation for integers other than _Bool). Some of the thinking is that "if it was ever implemented in hardware, it could be again). I'm not crazy about this thinking, and I largely think that language features for which there are no existing hardware implementations should be eliminated and then brought back if needed. However, the C Committee is much smaller than the C++ committee so there is a labor shortage. More people getting involved would certainly help.

We have dropped support for sign and magnitude and one's complement architectures from C2x (a decision Doug Gwyn does not agree with). There was some concern that Unisys may still use a one's complement architecture, but that this may only be in emulation nowadays.
WTF Is Deep Reinforcement Learning?
What? <Typography> elements are not intuitive to you with variants? All text is Typography after all ...

I always say Material is such an aesthetically good looking UI, that developers forfeit their common sense to leverage it.
I made a mistake while trying to check it, and I got two static irregular things (a vertical beehive and a loaf). (The error was that the body in my copy was a pixel too long.) My guess is that it's not so easy.
At least from what I've heard that's because stdint values are optional.

6.2.5p17
The three types char, signed char, and unsigned char are collectively called the character types.
The implementation shall define char to have the same range, representation, and behavior as either
signed char or unsigned char.
48)

and

5.2.4.2.1 says that width of char, signed char and unsigned char are the same (8).
SKT’s Wavve, NBC Universal Partner to Export Korean Content Worldwide
> There is no evidence that insignificant doses of radiation do any damage.

A single high energy photon causes DNA damage which is easy to replicate. The theory you are supporting refers to rates of cancer, but has zero direct evidence from cancer rates to support it. And that’s the problem, science defaults to the older theory which in this case is the linear model.
I really think that cross-domain concepts are almost the only way to make huge leaps, so that's a precondition in my mind for any advancement. Check.

In terms of "humility on both sides", it's such a common theme that this oft-cited assumption is taken as truth. Some of the greatest minds who had the most impact in our history were also insufferable assholes, who were stubborn and would not yield until people were forced to reckon with their ideas. Is this me defending Wolfram's ideas? No. But it's me defending the idea that "humility and civility" as a prerequisite for scientific advancement seems false, and in fact, in stagnant fields, the need for a disruptive personality who happens to be right may be perhaps the only real way out of the rut.
I've personally found that saying critical things about the Chinese Communist Party on this website results in people quickly conflating said attacks on a government with a non-existent ethnic group (ignoring the fact that China has multiple ethnic groups instead of just the dominant Han majority) and suddenly you are flagged for being a bigot. It's pretty obnoxious behavior that is very dominant in Silicon Valley.
I view it as primarily driven at the bottom by people who see all bigotry through a purely Western lens (and are therefore blind to the fact that "white" privilege is actually "dominant ethnic group" privilege and changes depending on where you are), don't know anything about China other than it being an Asian country, and equate criticizing the country as being Western imperialism.

From the top, it's money money money, because hey, who cares about Uighurs anyway, I just got a billion from some dude whose dad fought for Mao and is now a high-ranking member of the Chinese Communist Party. Now I'll go talk about how much I value diversity while my company is funded by a country which imprisons people because they are Muslim, or criticize the government, or, you know, tell the truth.
I'm not sure what your requirement is. Usually things work out if you're careful not to assume any specific value for alignment etc. It may mean a few unused bytes here and there, but keeping things simple and portable often pays off.
> It's entirely possible that this will be bad for WFH in general, as many people will mentally conflate working from home with an unpleasant and scary time.

People are also experiencing unusually slow internet connections due to everyone being online all the time, which makes working from home a less pleasant experience than it was before.
Originally thought it was an investigation about a killing, made the second half of the title all the more sinister.
I remember trying out Delve about a year ago while it was still in its infancy and don't remember there being commands like `goroutines`; I may be wrong. The overall experience wasn't all that good to be honest.

My initial impressions of delve was "Oh it's basically GDB for Go". But seems like the debugger has become more stable and more mature over the years by shipping language specific commands; like `goroutines`.
Just drop a line on twitter saying you've discovered a vulnerability in $popularSoftware and mention $company. Say you'll be disclosing in 90 days if $company doesn't issue a reply publicly.

Make sure to deal with an actual human and that everything is done according to best practice. You may even get publicity this way and even if it's unethical it can be sold or used to your advantage.

If they care, trust me when I say they will make an effort. Most places (like Google) have effective systems in place for dealing with such queries.
I use the basic HTML version, which is much faster. You can change your default here:

https://support.google.com/mail/answer/15049
> Arabic numerals originated in right-to-left languages,

This is incorrect. They originated in the LTR writing systems of India, which is why the full name is Hindu-Arabic Numeral System.

https://en.m.wikipedia.org/wiki/Arabic_numerals

If you read Arabic, this is clear because the numbers are written in the opposite direction as the words.

> they were written and read starting from the least significant digit on the right.

Only the ones and tens place are read from the right - which many languages do, including English in the 'teens' words:

thir-teen == three and ten

four-teen == four and ten

fif-teen == five and ten

In modern Arabic, the hundreds and above are read left to right.

For example:

42: ithnaan (2) wa (and) 'arba3an (40)

142: maa'a (100) wa (and) ithnaan (2) wa (and) 'arba3an (40)
>Anyone who claims to know for certain what the impact will be, is a fool or a liar.

Why do you need to know for certain?

If you're trying to make money, or even just "get by", you look at probabilities of possible outcomes and make your best guess on how to approach the problem. A mentality of "no one knows for sure, so it's pointless" is oddly unscientific. You only need to be "right" some of the time.
> The anti-intellectual cohort has got their preferred elected leaders.

I think the anti-intellectual cohort have been helped in that by the super rich who had their preferred elected leaders as well.
> Does the committee have any plans to document the rationale for each kind of Undefined Behavior?

In the C99 timeframe, we had a rationale document that was separately maintained. My understanding (this predates my joining the committee) is that this was prohibitively labor-intensive and so we stopped doing it for C11. I don't know of any plans to start doing this again, even in a limited sense for justifying UB. That said, we do spend time considering whether an aspect of a proposal requires UB or not, so the rationale exists in the proposals and committee minutes.

> Does the committee have any plans to make NULL pointer arguments to memcpy non-UB when the size argument is 0?

I have not seen such a proposal, and suspect that implementations may be concerned about losing their optimization opportunities from such a change. (Personally, I'd be okay losing those optimization opportunities as this does not seem like a situation where UB is necessary.)
This service has been designed to try out small self-contained C examples online (in a manner reminiscent of Compiler Explorer):

https://taas.trust-in-soft.com/tsnippet/

One advantage is that it identifies a LOT of undefined behaviors during execution for which traditional compilation and execution only give puzzling results.

One drawback is that some of the undefined behaviors it identifies are obscure, and for others the message may be unusual. For instance, using a standard function without including the appropriate header may result in a warning about the mismatch between the type in the header and the type of the arguments the standard function was applied to after arguments promotions.

Overall, you may still find it useful for teaching.
> shortcuts seem to bind to some hardware codes of keys instead of what your layout says

You don't say what platform you use, but this can be true of Windows and Windows-derived systems (which includes a lot of web stuff on all platforms because Netscape foolishly exposed Windows internal key codes 25 years ago). The non-alpha VK (virtual key) codes migrate all over the place¹ or worse disappear (e.g. Turkish doesn't have the VK corresponding to US +/= at all).

I used to work on Chrome OS which currently does this (trying very hard to emulate the Windows rearrangements due to the Netscape web legacy) but will shortly try the “what they say they are” method behind an experimental flag; that is, for example, the shortcut Ctrl+[ would be typed by Ctrl plus whatever you type to get ‘[’.

¹ http://kbdlayout.info/
Stop Losing Customers: How a Business Can Survive the Covid-19 Crisis
>If that was true, we'd all be speaking latin. Thank god for language preservation, otherwise, we wouldn't have shakespeare, mark twain and the world's most productive language.

I'm not sure this is a compelling argument.

We have contemporary musicians who have written and performed songs in different languages, not just their own. Indeed, we have many examples of non-native English speakers doing very well in US charts that have album sales in the millions. Therefore I am pretty confident that Shakespeare and Mark Twain would have been fine if they had to write in Latin.

Even if not these two specifically, who would have the temerity to assert that we would not have had different but equally talented people writing in Latin in their place?
The writing on the wall
>The notion that 120+ years in the future the world will have changed so little that its still follows the same MSNBC vs Fox News script of today borders on hubris.

I'm been watching "The Plot Against America" miniseries and realised that a similar scenario played out in the early 1800's. Imagine a SciFi writer of the time (If such a thing existed) publishing a novel where a time traveller travels back from 2020 to stop the Federalist Hamiltonian conspiracy to bring the U.S back under British rule/Democratic-Republican Jeffersonian conspiracy to enter the war on the side of France and bring the Reign of Terror to America.

It would be 100% political shoehorning of course but people would lap it up all the same.
How is that vulnerability? If the ISP DNS gets hacked people can intercept traffic. Seriously this is the best attack scenario he could come with with?

From what I understand. It seems the steam app is connecting to plain http http://store.steampowered.com/ so it could be man in the middled.

Unless I am missing something, it's way overblown. Valve please fix the URL to https and send that guy a $50 Amazon voucher.
I'll be interviewing one of the core dev of Pulumi tonight if you're interested, he'll be doing a demo too and taking questions https://youtu.be/Sy_4KueoTUA
Yeah but by using public transit they still walk to the train/bus/trolley stations. In suburban America, people walk outside of their garage into their car and drive 1+ hour to their office.

That little bit of walking to public transit definitely helps with sedentary lifestyle.
Can't upvote enough. I think these changes could also be made in a way that can be mechanically-translatable.

For example: removing the register keyword, always requiring a return statement, etc etc.

A lot of changes can me made that will make static analysis easier.

There will always be people with 50 year old code bases that will never change (and some c89 compiler will always be there for them), but the language is pervasive enough that it deserves progressive changes to make it (even) simpler and safer and slightly more high level.
Thoughts on Gnome glib, gobject, vala etc?

I tend to use glib for my (academic) code for pretending C is a high-level language. It also seems to make up for implementation-dependent functions in C and many portability issues. Also, IMO, vala > C++.

My question is, really, are there any other tools for high-level C programming and do you know of any disadvantages of the Gnome stack?
Mutual intelligibility for the sake of information exchange is good, but we can have both. Most Europeans already have both. In the EU (the organization) it's Euro English.

The person above you has not said that mutual intelligibility is bad.

You want people to share their culture with you, yet you are fine with them throwing away something which acts as one of the backbones of their cultural history for the sake of an imagined increase in cooperation.

And also, why does everything have to be useful? The useless things in life are often the best. Like ice cream, poetry, wasting an afternoon away, or hacking. In fact that's why I work, to enjoy the useless things in life.
Valve is notorious for ignoring any vulnerability reports
This might be an unpopular opinion, but I think we generally expect too much from media outlets. Readers also have a responsibility to understand the context of what they're reading, and that's been true for as long as newspapers have existed.

Take everything you read with a grain of salt, know that a story might later be retracted or edited, and follow different outlets with different perspectives. I think the homogenization of media consumption is far more dangerous than the fake and false stories that get out.
> de-colonializing their culture

Decolonizing from who? From Russia? Mongolia was never colonized by Russia, it was the other way around https://en.wikipedia.org/wiki/Mongol_invasion_of_Kievan_Rus%...
I assume you mean something like that:

struct obj_impl {
// real members
...
};

In public API header:

struct obj {
unsigned char _private[N]; // -- where N is the size of obj_impl
};

I have seen such code too. It is also potentially error-prone. Certainly not advocating for it.
Using a 1930's-era 5-bit Teletype as a Linux Terminal
It really brings home the importance of freedom ... elsewhere.

It seems like a very real likelihood that China would choose to track people's sentiments about China elsewhere ... and at will pressure outside companies to remove or simply not hire people who they wish to punish / discourage.

Post a winnie the pooh pic / are on the list? Good luck...
The reduction in pay comes with a reduction in workload. Which means that for most companies adopting the 20% paycut, they are also transitioning into a 4-day work week. Its hardly a related to some corporate greed trying to squeeze their workers, but a sign of desperate measures for desperate times.
A startup launches Covid-19 workplace distance tracker