skysight-inc/HackerNews huggingface dataset:
> It's more of an anatomical restriction: the resolution of the human eye and the field of view.

The restriction on code length to 80 has absolutely nothing to do with the resolution of the human eye or your field of view.

> For example, if we had 10 meter-wide monitors we won't be able to see them entirely from a close distance. Increasing the distance will require to increase the font, so the number of characters per line we can use doesn't change much.

Again, this isn't relevant to the question of say, 80 cols vs 100 cols vs 120 cols. No one seems to be saying cols should be unbounded in length.

> Not so long ago I showed a piece of code on a mobile phone screen to a colleague, saying he should use shorter lines. He replied I need a larger display. When I opened the same code on my desktop display the lines were not fitting the editor window almost the same as on the mobile screen. (We keep phone closer to eyes so can use smaller characters).

I'm not sure how this is an argument for 80 cols other than the already addressed "I limit my development environment to 80 cols".
No, sorry, states that never locked down (WY, SD, AR, etc) have followed the same curve as those that did lock down. States that re-opened early (GA, FL, TX) have not seen a huge spike in cases. Vast majority of deaths were caused by nursing home incidents. Almost half the deaths are in three states (NY, NJ, and MA), which have had strict lockdown procedures. The curve was flattened back in April. There is no objective criteria being used to justify masks or lockdowns. There has been no threshold set where once hospital usage is below a certain amount, all restrictions are set. For this reason, I cannot support arbitrary lockdowns. They are violations of liberty and an abuse of state of emergency policy. In the meantime, 40 million people are unemployed, our economy is in tatters and it's going to take a decade to recover.
How do you propose to go back to "normal" because of your own "(in addition to anyone that feels more comfortable staying home)."

It would get worse, there, too, if people did return to normal and cases spiked. Versus cities that are now in "new normal" and still full of people being much more cautious.

If cases didn't spike - there are those who believe the flattening of case rates isn't a result of behavioral changes but was some hidden factor - then "the new normal" will continue, but you won't be back to the old one.

If cases do spike, "the new normal" will get even less close to the old normal, because more and more people will self-select back into staying home.

Otherwise you have to get a way more coherent government plan to get on top of the spread. Like tracking and finding and isolating cases fast. And doing more to protect the people in essential jobs which are conducive for big outbreaks.
Somehow withdrawing funding from the current only worldwide public health organization at the beginning of a pandemic seems ?? shortsighted.

Is trump admitting that he is incapable of negotiating his desired changes in WHO functionality, that his ability to communicate and work with international players is so deficient that his only option is to take his baseball bat and baseball and go home?

Or is this all a political move to attempt to shift the 'blame' for his/Trump's failings to some other boogeyman? My bet is on this option -- he failed to recognize the magnitude of the epidemic, he failed to take timely and early actions to mitigate the impact on the US economy and lives, he repeatedly minimized the size of the tsunami of death that was approaching our shores, he failed to motivate his FDA/CDC to get working PCR viral tests immediately and produce them in the amounts needed, he failed to coordinate obtaining necessary PPE supplies for the 50 states leading to a dysfunctional free-for-all where states were bidding against each other and FEMA confiscated all shipments they could find, he refused to take any responsibility for all of the above failures, he has recommended use of experimental medical treatments out of clinical trials (hydroxychloroquine), he has actively interfered with the public health necessity of transitioning the US to a "mask wearing culture" by making it a macho / political question instead of a life saving public health intervention, he has demanded that States not follow the 'reopening' metrics advanced by his own covid-19 group.... need I continue?
I believe AWS docs say that your function is loaded on a machine for 15 seconds after termination... so if a new request comes in during that time it goes to that function instead of starting a new one.
Another interesting proposal for ES4 was a Python-inspired array slice syntax.

I would quite to have seen this feature adopted, and am glad to see it looks like there is once again a proposal under consideration: https://github.com/tc39/proposal-slice-notation/blob/master/...
Soft power: Influence, prestige, money, persuasion.

Hard power: planes, tanks, ships, spacecraft.
Yes, and? It's not going to change the orbits of planets. Ecosystems will have to adapt to mosquitoes disappearing, like they did when countless other species disappeared.
I have a fairly simple solution for the scenario you’ve presented. grep, and return some context (maybe +5) and then grep on that again with the argument you’re looking for (give a negative context this time so you get the entire function call)

That being said, as unlikely that scenario is, having it all in 1 line does not work either. The problem is that its very likely/possible that the true argument will be passed in in the form of a variable. So you’re back to needing something that is more code aware anyways.
Is teaching to the SAT really so distorting, and so expensive to obtain? It’s a pretty general-knowledge test, and there are tons of people out there who will tutor for reasonable prices, I’d expect.
Why does Hacker News run in quirks mode and have no DOCTYPE?
Hacker News pages have no <!DOCTYPE html> tag, which means that these pages open in quirks mode. Why is this?
You're thinking too old fashion on this. A large amount of black market activity now happens entirely digitally, either via stolen credit card numbers, illicit deals on the dark web, or highly questionable cryptocurrency schemes. All those sources need a way to make their profit look legitimate and thus utilize tactics like this.
> WHO is not a reliable global partner

That's based off of what evidence? When I search for "WHO corruption" I only find conspiracy theory youTube videos and far-right leaning publications that have a leg in that race.

Besides, as was said earlier, this is the equivalent of pulling diplomats out of a country. If corruption is the issue (and I'm not convinced it is) then you'd cut funding. This is a political stunt which is trying to draw attention away from an administrations failed response to a pandemic.
Imagine treating a virus the same way as a terrorist attack. Stop pretending that governments can regulate viruses out of existence, or that armies and lockdowns are going to prevent microscopic, nanometer-sized viruses from traveling in the air. This is beyond asinine.

By the way, SK just kicked the can down the road, they are continuing to get spikes because they have no herd immunity:
"Coronavirus: South Korea closes schools again after biggest spike in weeks"
https://www.bbc.com/news/world-asia-52845015
Profit is what's left over after salaries. Break-even sports would still be paying plenty of people for their time and giving them jobs to feed their families.
It's readable, but not so good that people use it and stop fighting over line length and indentation rules.

Four years ago I wrote a stackoverflow question about this and included some pictures:

https://stackoverflow.com/questions/31414385/is-it-possible-...

I got a link to a dusty now-9-year-old issue in Jetbrains' tracker:

https://youtrack.jetbrains.com/issue/IDEABKL-6076
Curious as to why we haven't evolved tougher skin then. Mosquito resistant skin would appear to be a trait that would allow you to live longer.
unnamed intelligence sources have said..
I am really glad that I took the cyber security 101 course in college and the professor beat the idea of it being interesting or exciting right out of me. Steered me clear of a less engaging path (for me at least).
I always wonder why Democrats, while in power, don't something about this and other problems that African Americans face? It is okay to accuse Republicans for blocking some reforms. Why can't Democrats address systemic injustices when they had numbers? Leaving everything to the Supreme Court does not help, as it takes 100 years for SCOTUS to make a change, as Justices take baby steps. Politicians can take a faster route, yet they don't. For instance, the State of Minnesota can get rid of "qualified immunity", and that state is not in the hands of Republicans.
Long term pacifier use actually causes teeth problems.
I think this is a subject most editors fail to address.

A single line of code should be written to file as a single line - no matter how long. However, the editor you are using should be able to gracefully word wrap it depending on your settings.

Most editors word wrap based on window size or some other hard setting. They should be able to wrap gracefully at a logical point in the code e.g. at a comparison operator or a dot in a function chain. Wrapped lines could be tabbed or visually flagged to let you know.

In other words there should not be am ideal line length for code, but instead editors should be able to adapt to make life easier for developers.

Look at word processor documents, imagine how much of a nightmare it would be if such documents had a hard limit of characters per line.
The critical viewing scenario is two files displayed side by side. This is very useful, but having to side scroll makes it less useful. So when choosing an optimal maximum line width per file, pick an optimal display width and cut that in half.

And if I'm a coder on your team, please pick the optimal display width using a 12 inch 1080p laptop screen. Also, pretend that your vision isn't 20/20. Thank you.

Bottom line, 80 columns isn't unreasonable.
If you're using a private blockchain where only your systems have access, why not use postgres with restricted user permissions?
Whenever I talk to people that think it would be cool to have a pet tiger, I tell that to imagine what a pet cat can do to a person. Now imagine if it was 500 pounds. And this is with an animal that has been domesticated for thousands of years.
It’s important to remember that death isn’t the only price to pay here. A sizable University outbreak might still see an unacceptable number of serious illnesses, and in Covid’s case, those cases can take months to fully resolve. The idea that healthy people aren’t seeing serious complications is dangerously false.
> 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.

There is some truth to this, but it's largely irrelevant. When text is laid out for books, it's based on a fixed width and each sentence follows the next. Code isn't laid out that way, with code, each statement starts on a new line which naturally limits line width.

Good programmers gravitate towards shorter lines of code by nature. If your average line of code is wider than 80 characters, it's likely you have some other, bigger coding style problems which need to be addressed.

But having the option to use longer lines when it makes the code more readable is also valuable. Putting a fairly short, arbitrary limits on line length just makes other parts of coding less pleasant, variable names in particular suffer quickly when you can't make comparisons on a single line.

Where I work, we wrap lines at 120 characters but the overwhelming majority of the code is less than 80 characters wide. Longer lines are reserved for if statements with multiple conditions or ternary assignments.
But it’s okay for President Obama to call the Baltimore rioters “criminals and thugs”.

https://nypost.com/2015/04/28/obama-calls-baltimore-rioters-...
No... none of this is validated. Also orthodontists have tools to fix your palate while you are growing.
In the war that you foresee, who is fighting who?
Go is notoriously slow moving and very conservative feature-wise. Can you actually point to anything specific about Go and say "Go only has that because they have more contributors"? Anything more specific than "Google is richer, checkmate"?

Note that I didn't say that Rust was buggy or was too small or something like that, I said that Rust was too complex and it didn't allow integration into external build systems. Both are things that the Rust project is completely capable of addressing but has chosen not to prioritize in favor of other language features.

Correct me if I'm wrong, the earliest discussion I can find about meeting large org requirements took place in 2019 [1], 8 years after it first appeared, or 3 years after v1.0.

It's their choice what to do and when to do it, but I think it's misleading to perpetually point at Google and ignore the Rust project's priorities. I'm open to a better explanation as to how Rust is somehow production-ready and extremely well known but comparatively few professionals actually choose to use it.

[1] https://users.rust-lang.org/t/rust-in-large-organizations-me...
Next door in Washington, we also have a properly cautious phased re-opening plan, with per-county metrics to meet before applying to move to the next phase. My county is still in Phase 1, and even so I've seen a fair number of people in close proximity in public without masks.

The universe tends toward maximum irony. If I had a nickel for every time I heard some variant of "That won't happen here"...
Your aim isn't to kill anybody. A careless maintenance worker in a factory also doesn't intent to kill someone when he intentionally skips a job. Or a shopkeeper when he sells cigarettes to a customer. You would end up including nearly all deaths as caused by humans if you go down that road. The bus driver who gave an overweight person a ride instead of making them walk.
Which demonstrates my main peeve with Godot currently:

It was made for GDScript as much as GDScript was made for it.

Both the C# and Rust integrations work, but they feel so wrong because the whole engine was designed in this ultra-dynamic style. You end up writing different code than you would otherwise when using those languages, to an even greater degree than in other engines. You end up writing GDScript with a different syntax.

I'm not saying the GDScript way is fundamentally wrong, and besides this issue I think Godot is a great engine, but it is clear that in the current scheme, every other language is a second-class citizen.
> For example, the rise of militarized police is largely due to donated spare Iraq war equipment.

I think there's a lot more to it than that. There's also the matter of a lot of war vets becoming police officers, the approach to policing they learned in the military, and their lasting effect on police department culture.
And his email client hard-wraps at 80 chars, because that's the standard of both Linux and Git mailing lists, because they send patches in emails. I like the irony :)
I'd personally consider it more moral to work at a petrochemical company than an art museum.

Petrochemicals - Creating energy, necessary for modern life and society.

Museum - Playground for the rich and tourists.
If you are motivated, no. If you are purchasing motivation, yes.

I have done a bit of SAT tutoring. Most of it is just making the kid do the work.
See: https://en.wikipedia.org/wiki/Whataboutism
I've also been buying a larger monitor every few years, as the prices drop.

But I hated the 42" 4K I tried and returned it. The problem was the edges are just too far away. If I use them I end up with the same kind of neck strain I would get with a multi-monitor setup. So I only used kind of the middle section of the screen anyway. And at 42" 4K the physical pixels are just too big - everything is fuzzy.

32" 4K is the sweet spot for me. Maybe when there's a reasonably priced 42" 8K curved display I'll give it a go.
Get your own ebook without writing anything, Scrible does it all
To reduce cold-start latency in AWS Lambda,
use "Provisioned Concurrency": https://aws.amazon.com/blogs/aws/new-provisioned-concurrency...
No, setcc actually does depend on the previous value of the register, because it only comes in the low-byte variants (i.e. al, bl, cl, dl etc)--the top 7 bytes of the destination are left unmodified.

A one-instruction variant I've seen that gets you the negated value of the carry flag is sbb rax, rax. This doesn't depend on the previous value of rax in a mathematical sense, though I'm unsure if it depends in an out-of-order sense; that is, if it's recognized as a zeroing idiom (or rather, zeroing or all-one-ing in this case). Probably not.

EDIT: did a quick test, and sbb rax, rax etc are not recognized to be a zeroing idiom, at least on my old Haswell. So it's still one instruction, but has a dependency on the previous register value.
Eh I doubt it - I think people are just anxious cause we’re all cooped up but give it a year or two and people will settle back down. Coronavirus seems to have brought out the worst of the media and the internet but the real world isn’t so different than it was.
You absolutely can use just JSON with Kubernetes and not YAML. The K8s backend services store configuration in JSON and the API protocols use JSON. There's even a K8s configuration management tool called Ksonnet that uses an extended, JSON-like language with full program-ability, instead of the template mess of Helm charts.
Most people consider 40 ems the maximum readable line length, that’s half of 80 columns.

At least at work, I feel like my 80 column terminal is probably the only “reasonable” app as far as layout and readability go.
I've been completely perplexed by how I might repeatably and reliably setup a single DigitalOcean (or similar) server.

I can't just blow away the instance, make a new one with their API, and run a bash script to set it up because I need to persist some sqlite databases between deploys.

Nix looks promising, but also seems to be a lot to learn. I think I'd rather focus on my app than learn a whole new language and ecosystem and way of thinking about dependencies.

I don't think my needs are insane here, I'm surprised there seems to be no infrastructure as code project for tiny infrastructures.
In practice you get problems, because of the line length rule.

I.e. if your editor is configured with four-space tabs and a line with one leading tab shows up in your editor having 79 characters, it will show up as 83 characters for others assuming the normal 8-space tabs thus breaking the line length rule.

Not to mention that coding style may require that function calls broken to 2 lines must have the arguments aligned at the opening parenthesis.

For example, breaking up foobarbaz(1, 2); into two lines would require having the second line start with <TAB><SPACE><SPACE>2); which would no longer look correct with 4-space tabs.
> Imagine treating a virus the same way as a terrorist attack.

i didn't. i said imagine the situation. i'm saying that people would pay attention and treat it seriously.

> Stop pretending that governments can regulate viruses out of existence

isn't that exactly what south korea did?

the point is that there is no excusing the u.s. response to the virus.

> By the way, SK just kicked the can down the road, they are continuing to get spikes because they have no herd immunity

point me to scientific evidence of herd immunity. or any evidence they've kicked the can down the road. look at their graphs and compare them to the u.s. how in the world is their response kicking the can down the road but the u.s.' isn't? that quite literally makes no sense.
Nice retcon, but even in your peaceful retelling it's still lies.

the locals sat down and said "we know you've made treaties with the natives to not expand anymore, but we want that land! So if you could get gone and let us get to our genocide we'd appreciate it."

and the Brits responded" "sure..."

Just a little different... High school history doesn't like to mention it was a battle between new and old aristocrats, but the whole slavery and 3/5ths of a person business and initial land owners only sort of system kind of shows the truth.
Cars are obviously important for the economy which provides money for all life saving things. Stopping all driving would certainly cause many deaths.
Check out the paper "Ron was wrong, Whit is right" for a survey of keys found on the web and the surprising number of RSA keys that have weaknesses.
Line wrapping is an abomination.
Hey you’re the guy that figured out how to toggle the private data flag on MacOS logs. Rad work.
I have been trying to think of a systematic way of testing whether and the extent of which the US is in collapse. It can be hard to separate the histrionics of the current media environment from facts on the ground. I’d be curious what model or factors people would consider relevant to such an analysis.

- influence on the world stage?

- GDP

- wealth inequality

- quality of life

??
1. I did not mention Apple's own native apps as a perfect example. I have also noticed Activity Monitor as an imperfect sample. I'm not sure if it's a limitation of the APIs available, or if Apple engineers just fucked up. I 100% agree that Activity Monitor takes up far more resources than it should. Then again, monitoring every single process (plus thousands of threads!) running on an operating system is an intensive undertaking, so I'm not entirely sure who to blame, if anyone.

2. I will 100% defend Christian until the end of days. I respect the fact you at least know his name, assuming that you can in return understand that everything he does is amazing. Yes, some of what he does directly counteracts the weaknesses that are innate to the Apple platform (which should be called out against Apple). His most recent release, for example, offers a "Smart Rotation Lock", which swaps between portrait and landscape depending on whether a GIF or video is playing; something Apple should have built in from day one. Also, he had a volume bar in top-left corner on iPhone X and beyond before Apple even made that standard. IMO everything he does to break the "Apple philosophy" winds up getting adopted by Apple. Christian is that good.

3. Everything I said above, whether already existing at Apple or pushed towards the future, is already better than Windows or Linux. MacOS and iOS are positioned to take over the future of computing, minus one mother-fucking aspect (fuck you, Apple): gaming. Even if Metal is technically superior, vendor-lock at Apple makes Metal worthless vs. DirectX and OpenGL. This is the only thing I am willing to abdicate… Apple+MacOS+iOS needs to figure out how to play nice with cross-platform gaming.
“But the first time you see airplane software malfunction, that means you need to change the way the software is written and released so that the whole class of issues will not ever happen again. “

This sounds pretty good in theory but in practice you will just trade the current set of issues against new issues.

In reality, Systems and their interactions are so complex that there is no amount of software design that can avoid bugs and fixing them. We sure can improve but it would be naive to think you can design 100% reliability into something like an airplane.
Nearly every law is a violation of liberties, I don't think that's a good argument.
Similar skillset, but as a pentester you need to be an expert in both offense and defense.

So the cybercriminal side is much easier.