skysight-inc/HackerNews huggingface dataset:
Did blocking cafe counters work? Look outside: did it work??

My racism. Hahah. I love this tactic - no YOU'RE the racist cause uhh, oh, I know, low expectations!

What low expectations? I AGREE that it's great that people are burning down police stations and looting massive capitalist businesses. You're the one coming here with a twisted ethical system that somehow places property over people. And you call me racist, lol.
I did this a while ago for myself; it looks like the setting can be found here[1], labelled as a checkbox "Keep my email addresses private". Note that (I think, not sure if it gets overridden if you check the box), you also need to set your "user.email" git config to use the noreply email they provide. Personally, I'd never committed to an external 3rd-party repository, and I crushed/re-imported (erasing history) my own repositories using the new noreply email. This is because I know no external users were depending on my old repositories. I suspect that if you've already pushed commits to a 3rd-party repo, it's too late (the email address is part of the commit and cannot be revoked without a history-changing rebase). In my case, I deleted my repos and re-imported, history be damned.

[1] https://help.github.com/en/github/setting-up-and-managing-yo...
I use keyboard shortcuts for that: Win+left and Win+right will maximize a window on that half of the screen. That makes it easy to quickly have a terminal or editor on one half and something else (like a browser or PDF) on the other half, using only the keyboard.
It doesn't look like this requires you to send raw HTML back and forth. Also, jQuery did not have this kind of data-in-html syntax...
I think you're basically making an "it can't happen here" argument, and I wholly disagree. I worry this kind of thinking effectively guarantees it will happen here eventually, because it relies on dynamics that govern legitimacy remaining the same as they have been in the past. The way it would happen is specifically if the dynamics of loyalty and who has legitimate authority change, and we've seen over the last four years that that's 100% happening. The only question is how deep the distrust of institution goes and how far the people in key positions will go to defend a President they are loyal to. If you can convince enough people to distrust the process of picking the President, you can create enough chaos to break apart the forces that would normally counter that kind of thing.

Look at any nation that underwent major coups; factions form, and it tears the organizations you've listed apart at the seams. Because a conflict of legitimacy exposes those seams, and those seams are absolutely present today. A Secret Service agent, an army colonel, armed militia, border patrol agents—if they can be made to believe the results of the election are illegitimate, they may consider the best way to fulfill their oaths to be stopping the "illegitimate" president from taking office. They will think of themselves as the ones stopping the coup.

I'd love to believe that all of those dynamics you're describing are the same as they were 20 years ago. I'd also make your argument then. But they aren't anymore. It can happen here.
Cloud functions are not a good option for low traffic services where you'd like to have good latency.

Cloudflare Workers are probably the best option in terms of cold starts and latency but are much more limited than other services.
Progress Report April 2020 – yuzu
The #3 productivity app on the Mac App Store is a $2 app that enables this on Apples: https://apps.apple.com/us/app/magnet/id441258766?mt=12
Good riddance. If we pick a new suggested width, maybe it shouldn't be based on a 1928 punch card standard.
I think most editors these days do a pretty decent job? It's not perfect, of course, but 99% of the time it's fairly readable.
> Don't believe me? Check out gas rationing in the US in WW2.

Need to read up on that. I'd assume you'd get your allotment in form of a token, which you could trade for something else if you didn't need it. While this wouldn't solve the problem of the price gougers, it would at least ensure a baseline minimum for everyone.

> Speculators don't profit if they don't make it available.

Speculators profit best when they make it available at the point when they can command the highest price, not at the point where it could do most good to mitigate the crisis that's driving the prices up.
Well, the C64 had a 40 column display width for the BASIC interpreter, but I think it was possible to have statements that wrapped and could go up to 80 characters (I may be wrong about that though).
I think so, but it's still inconvenient when a length limit applies to something reasonable.

Applying a short limit to solve the problem of any single line becoming overly-complex will have other consequences. Most obviously, it's going to push some developers into bad habits re: naming things, where variable names that have more meaning than a counter become single letters.
In the post he refers to "wide tabs" which means hard tabs displayed 8 chars long. This has been the standard kernel style since the beginning.
Anyone used compiled languages with cloud functions?

I've only used JavaScript but I'm guessing a compiled binary (eg: Go) would have better cold starts, no?
Do you need reading glasses? I found I did (I'm 47) and it made a massive difference in looking at code- I can use a smaller font and experience much less eye strain.
I don't even know where to start with this.

When you have 2 parties that nominate oligarchs, your vote is already wasted.

The only influence that the average citizen has is to get involved at the city council level and help the right people climb into influence.

But when you have to choose between Trump and a Clinton, it's too late to make a difference.
North American and Western European audiences don't realise that while 1 dog can only sometimes hurt you, a pack of 8-10 non-rabid dogs can hunt an adult human down and kill them easily.

In countries around the world, it's more about packs of wild dogs and rabies, instead of just rabies alone.

Countries/Regions that have wild dog pack problems: India, Some Eastern European countries, South East Asia (almost all people who grew up in South Eastern Asia would have a childhood story of being followed home by a pack of dogs. They are quiet at the beginning, they follow you, and if no one else is home when you get there, LOCK THE DOOR and God protect you), some parts of Australia.
Regular market forces don't hold for college tuition for a number of reasons. Chief among these being that many students are paying with loans. Secondly, some students and their families view education as a veblen good, whereby higher price implies even higher value.
So basically employees outside the valley subsidize the rents of those that decide to stay. Who's gonna fall for this?
Routine CLI UI for Easy Project Management
A group of apes choose between the two biggest idiots from their group to lead them every four years

FTFY
Buy a bigger monitor. Or get glasses. I'm 38, rocking a 43" 4k monitor. There's so much room. Scale things up or down to your comfort level. It's a pleasure if you use an editor like atom.
Mark Zuckerberg defends leaving up Trump posts
80 columns on a C64 is a real reach. You need special hardware (or horribly slow & fuzzy text) for that.
I guess most of us, pragmatic people, agree that 80 columns is not a sane standard anymore.

The more interesting question is "what would be a good default line length in 2020?"

I vote for 120 columns.
link to evidence please
What would it even mean to break up twitter? How would that work?
While Kahan summation is more accurate than naive summation, it still does not produce the precise result (the true sum rounded to the final precision).

It is not too costly to do the summation exactly. Several algorithms for this have been developed. You can read about mine at https://arxiv.org/abs/1505.05571 and get the code for them at https://gitlab.com/radfordneal/xsum
The local forces failed (rather told to stand down) in Minneapolis. You really think they'd let the city just burn to the ground before bringing federal agencies?
I agree that 80 is too small in 2020, and hasn't been since around 80x25=2000, but LLVM is stuck at 80 columns [1]. I'd be interested to see a canvas of other big projects.

[1] https://llvm.org/docs/CodingStandards.html#source-code-width
I appreciate your point but do you see an actual path for him to do so here? It’s a different form of government, in a different era, with a much more informed populace aware of those consequences.

Maduro did it in Venezuela recently, that’s actually a more apt comparison as he packed their Supreme Court to do so.
I'm a bit fan of usually wrapping at 80, but not requiring it in a linter.

Do what makes the most sense for readability, but often lines significantly over 80 characters are more readable as two lines.

I typically work with multiple horizontal splits open. That's part of why I prefer 80 characters. However, I really do feel that a soft break at about 80 is good for readability, and certainly easier with larger fonts.
Perhaps this could be a new feature for the language server protocol? Or is it already in the works...?
I disagree. Drugs (given the number being tested, perhaps one or two candidates can emerge) can make the disease manageable and buy enough time for a vaccine without causing any more lockdowns.

Besides, closing schools in light of available evidence is... questionable, or moved not by science, but by the precautionary principle.
Most of the tools we have use less than 100mb of ram - and a good number under 50mb. Point is, Node is pretty light for how fast you can build tools with it.

All my co-workers have the same version of Node, since we code in Node, so that argument is mute. My point was it depends on your environment! :)
I am unsure if the XNU you can build from public sources can support the userspace the extent necessary to run all those tools. Honestly, I would probably suggest using a Hackintosh as it'd be significantly less work for a higher-fidelity result…
> Good engineers are pushed into becoming managers, because that's the only way they can get rewarded.

And there's a second-order casualty of that: the people who are assigned to report to such an engineer-become-manager.

This happened to me on my previous job. The most brilliant programmer I've ever worked with got promoted to a manager, for the dumb reason that the company's programmer salary bands didn't go high enough for what he was (way more than) worth. As a manager he had to have headcount reporting to him, and I got assigned to be one of that headcount. He had no interest in people-managing. I didn't begrudge him for that at all - but it was clear my own career would go nowhere reporting to someone with no interest in managing, so I left that job shortly after.
Hammerspoon can do this (and way more!) for free :)

https://www.hammerspoon.org/go/#winresize
It’s an artistic choice because for most victims the cybercriminals are faceless, anonymous strangers who set out to con them.
Yep, you're right, I'm looking at the compressed archive for both. Go must be huge then if the compressed package is 100MB.
Subjectively, I feel that at some width, I lose the ability to take in lines at a single glance, and spend more time in horizontal head movement. I rarely test this in code, but in web pages that use the entire width of the window, it's pretty evident to me that my reading speed goes down when the text gets too wide.

Like Linus, I find 80 columns too narrow a limitation (and I got started on a 40x25 system, not even 80x25), but it would seem useful to me to standardize on some sensible maximum width, e.g. 100 or 120 columns.
I agree that it's probably a smaller impact, but on the other hand the result is a bunch of teenagers and young adults with way too much time on their hands and no clear prospects for the future. It seems like it could turn into motivation for either a very good or very bad outcome.
Not false but this is not a justification for the ministry of truth. If anything it is an argument against it.
That's only a problem if you're using a line-wrap method which doesn't account for indentation and just blindly wraps (which yes, is awful). If you want to have nice indentation aware plain text line wrapping, your text editor almost certainly supports it.

If you use vim, look into the "breakindent" option.

If you use Emacs, you can use the "adaptive-wrap" package with a configuration like this:

;; Indentation of softwraped code
(use-package adaptive-wrap
:ensure t
:init (defun my-activate-adaptive-wrap-prefix-mode ()
"Toggle `visual-line-mode' and `adaptive-wrap-prefix-mode' simultaneously."
(adaptive-wrap-prefix-mode (if visual-line-mode 1 -1)))
(add-hook 'visual-line-mode-hook 'my-activate-adaptive-wrap-prefix-mode))
> I'm barely in my mid 30s and the average font size has been steadily creeping, maybe 1.5 pts per 5 years

I'm a similar age, and my font size has been decreasing steadily. As monitors get better pixel density, text is readable at smaller size. The ereader app I use on my 5.6" phone screen shows 38 lines of text (and approx 45 characters wide) plus blank margins.
Well Linus is 50 years old. So I expect he also suffers from age related vision problems. So I don't think he is unaware of it being more difficult to read text as you get older.
Fwiw, we use 120 columns for Riot/Matrix stuff (https://github.com/matrix-org/matrix-react-sdk/blob/develop/...) - 80 is incredibly constraining for JS and JSX. The key metric is to ensure that a typical laptop can show two screens side by side, without any ugly line-wrapping. Also, any wider and you either end up having to scan a wide distance left to right (the same reasons that newspapers use columns to be more legible) - and it also helps discourage lots of nesting and cyclomatic complexity.
The problem with overly wide lines is that it hurts readability because it's harder to find the next line when scanning your eyes from right back to left. Take it from the world of books:

This study may be helpful:

> This study examined the effects of line length on reading performance. Reading rates were found to be fastest at 95 cpl. Readers reported either liking or disliking the extreme line lengths (35 cpl, 95 cpl). Those that liked the 35 cpl indicated that the short line length facilitated "faster" reading and was easier because it required less eye movement. Those that liked the 95 cpl stated that they liked having more information on a page at one time. Although some participants reported that they felt like they were reading faster at 35 cpl, this condition actually resulted in the slowest reading speed.

The Effects of Line Length on Reading Online News[1]

1. http://psychology.wichita.edu/surl/usabilitynews/72/LineLeng...

For slabs of body copy, I like about 70 characters per line, but anything in the 50-80 range seems good. I also think justified text is harder to read, due to the lack of unique shapes to track on the right side of text — it's far easier to lose your place.

https://graphicdesign.stackexchange.com/questions/13724/reco...

I still often code on a 13" Macbook where I can open a pair of side-by-side windows in my editor with the dock on the side and get about 95 characters into each window. I typically code in Python and use a 4 space tab and a font legible to my 48 year-old eyes w/o reading glasses. On my external monitor, I take advantage of the extra width to open additional windows.

So I dunno, still prefer 80-88 characters for coding, 100 max.

The grep thing seems like a red-herring. Use grep's -A, -B, and -C options to get more context.
Show HN: pion/stun-nat-behaviour. Do you know your NAT rules?
Yes this. I have 20/20 vision but as I got older getting some mild reading glasses dramatically improved my development experience.
I think there's some merit to this, but it's a bit strict.

Suppose I'm at 80 characters, and everyone agrees this is a reasonable line. Then suppose I refactor a variable that was 3 characters and its now 12 characters, and everyone agrees this is a better variable name. Now my 80 character line is 89, and it's suddenly unreadable?

No, that's still readable, it's just longer.

Personally if I see a long line, I try to shorten it, but I'm okay to leave it long if I think longer is better.
On the defending side? I hear it's pretty boring there, too.
It's ironic that he's wrapping the text of this email at 80 columns rather than letting the email reader do the wrapping based on the width.
Really depends on the state. I think here in Oregon we have a pretty solid and (properly) cautious phased re-opening plan. Counties have to meet certain well-specified criteria before entering these phases.
So how will we ever find out? We can’t run controlled randomized tests that can kill people because that’s unethical.
If you can't avoid reflexively jumping on phrases long enough to see the parallels to a common sci-fi theme, then there's no conversation to be had. All I can say is that if you want conservative thought to remain relevant, try applying it where it can be useful. Hint: the breakdown in law and order here started with the police department itself.
Not in original packaging?? Worthless!
A vt-100 could do 132 columns and I've always set my terminal windows to that width.
Thank you. It is quite a labor to even skim through the 50+ page paper. Your poignant reply was quite helpful to draw my attention to the issue of contamination. After reading the section carefully, I think my understanding of over fitting is very much improved at least in so far as models like GPT-3 are concerned.

Clearly, the authors have given careful considerations to the issue of contamination and have provided reasonable analysis and a careful argument regarding over fitting the existing benchmarks.

On the other I was wondering if the authors would like to consider purposefully creating a type of "out of sample data" for "creative evaluation"? Of course, GPT is no stranger to creativity, so it would be a fascinating challenge to come up with methods to create such datasets that are truly creative and challenge GPT-{N} to prove its mettle.

For example, would it be possible to engage a really good creative writer* along with a highly experienced school teacher to take on the Reading Comprehension task and create few "tricky" evaluation samples that not only go above and beyond the contamination objections but also challenge the human intelligence to be careful not to fall into common traps?

This way lies a different evaluation metric - a subjective one perhaps, but it's a start. Just a thought experiment - that's all.

* so that they can come up with new ways to trick GPT/humans
a teacher knows the common mistakes the average student makes

Edit: Duh, my head immediately screamed GANs the moment I pressed submit, lol. But I am not sure if GANs make sense for NLP tasks. Like do they make sense if humans/domain experts try to solve them?
If you're in the USA, you're in luck-- We have data to demonstrate whether or not that occupation, this, that, or the other... is a good choice--

Behold: The Bureau of Labor Statistics!!!

10 Fastest Growing jobs in the USA--

https://www.bls.gov/ooh/fastest-growing.htm

IT Security & App Developer occupations have approximately 30% growth rates over the next 10 years.

Wages and projected openings by occupation--

https://www.bls.gov/careeroutlook/2019/article/wages-and-ope...

IT & Computer related occupations, in aggregate, have 250k-300k openings each year in the USA.

(Note: You can find those other occupations in the 2nd link-- it shows wages vs. job openings for many types of occupations)
I'm hoping that one day I'll be programming in AR or VR, unbound from the limits that come with a statically positioned (and sized) screen.

There's still a lot of issues that need to be solved, but I'm hopeful all the pieces will come together in a relatively short amount of time.
Is this true? I was under the impression that webassembly was capable of faster performance than JS, and thinking about learning a compiled languages to make my web applications faster. Would that be a waste of time?
Sadly I didn't learn any strategies or tactics from this article.
He's wrong. I can barely fit 80 characters on each panel when I split my code window into two on my Macbook Pro. Any more and I wouldn't be able to see the whole line, or would have to grow eyes that can see tiny fonts.
This is what Linus has said in the past regarding soft-wrapping: https://github.com/torvalds/linux/pull/17#issuecomment-56611...
I think that's reasonable. I strongly recommend Kendi's booked "Stamped from the Beginning", which is basically a history of racist ideas. One of the things that's really striking about it is the extent to which the ideas commonly in circulation are ones useful to the powerful.

One clear example from the book is the various theories of natural inferiority. During long periods when white slavery of Africans was common, Europeans claimed that Africans were naturally inferior because of the much hotter climate. But earlier, Greeks thought that northern peoples like the Slavs (from whom we get the term "slave") were inferior because they were from a cold climate.

The US had a lot of that going on, with different ideas about religion, culture, biology, and society shifting to be what was convenient for the rich. Given how much US wealth came from chattel slavery and after that labor exploitation, it's not a stretch to suspect that police, whose basic job is using violence to enforce the status quo, would have a lot of ideas and habits that match.
I get a black screen and the JS error "Atomics is not defined." Did we overload it?
I think 80 columns is a bit narrow for modern monitors, but still lines shouldn't be excessively long either, so you don't waste screen real estate on vast expanses of white space. Something in the neighborhood of 100 to 120 columns is probably about right these days.
The more you know! Thanks.
I remember there being an issue not long ago with the Safari browser and recaptcha. It would do as you described.
I agree with you to a degree, but one of my pet peeves about certain linters and code formatting tools is when they take something that could easily be a very understandable single line, and break it up into three or more lines because that's what the normal rules look like. As a result, sometimes a 15-20 line function ends up being over 50 lines, and I end up not being able to see the entire thing without scrolling.
This is a cool utility that someone contributed to Pion! I get lots of questions around why certain calls need TURN, or how P2P works in general. When you run it you will get output like

sean@siobud:~/stun$ ./stun-nat-behaviour
2020/05/29 23:18:31 Connecting to STUN server:
stun.voip.blackberry.com:3478
2020/05/29 23:18:32 Local address: 0.0.0.0:56304
2020/05/29 23:18:32 Received xormapped address: 165.227.221.230:56304
2020/05/29 23:18:32 Received xormapped address: 165.227.221.230:56304
2020/05/29 23:18:32 NAT mapping behavior: endpoint-independent
2020/05/29 23:18:32 Local address: 0.0.0.0:41265
2020/05/29 23:18:32 Received xormapped address: 165.227.221.230:41265
2020/05/29 23:18:32 NAT filtering behavior: endpoint-independent

If you aren't familiar with Pion it is a collection of libraries to solve WebRTC/VoIP/IoT problems. It is by a diverse set of contributors, and we are always looking for me! I personally want to get this space to be more like the web, owned by individuals instead of companies.

Check out our other popular libraries

* https://github.com/pion/webrtc
* https://github.com/pion/ion
* https://github.com/pion/dtls
To a large extent, anyone can already get access to the top university lectures in the world for a range of subjects already. Since top universities, chiefly MIT, have been recording and publicly sharing full-course classroom lectures for years. I think this shows that students care about more than just the lectures.