skysight-inc/HackerNews huggingface dataset:
I think we're saying the same thing. If f(T) can return U or throw A or B or C, there needs to be a way to declare that Stream<T>#map takes a Function<T, U, A|B|C> and returns a Stream<U> or throws A or B or C. But that sum type A|B|C doesn't exist in Java if there's no common base class.
HN wisdom FTW
Well it's not too crazy when you think about it. The web is just encoding location and size data for them. Any medium that generated the same results every time would do the same thing. I think because of their smaller intelligence it just seems more profound than it actually is because it represents a significant portion of their capabilities.

We see this in some types of machine learning. Echo state networks and reservoir computing essential just encode the data with their random connections.

So I think it's cool, but not that surprising. The spider is just learning the world through its web just like a musician learns music through a specific instrument. The difference is its not a significant portion of our intelligence and we have extra space/power to learn the world through different tools. Language, writing,reading, computing, mathematics, etc.
Now it's 9980 lines less bad though :)
With IDA, HexRays, Hopper and a couple of Python scripts.
When you refactor code you do not deliver value to customers..

You do though, by reducing the future cost of delivering features. That has tremendous value. Find a company that sees good engineering as a long term investment rather than a short term way of extracting money from customers and you'll enjoy software development a lot more.
This is either Nobel Prize material or total bullshit. Which is it?

This could be a huge breakthrough in quantum computing. Or it could just be a capacitor with delusions of grandeur. Don't know.
I would not be quick to make assumptions like this. He could have experienced the issue like 1/20 times, and intended to remind himself to watch out when he gets to that spot. And maybe he forgot this time. It’s easy to get into a trance on long repetitive drives. It isn’t like he immediately did back to back drives and changed nothing the second time.

And that’s the problem with an “autopilot 99.9% of the time, but still pay attention just in case” feature.
It's a long o-umlaut. Pronounced like "err" (thinking) or a stretched out version of "ea" from earth.

Incidentally, Erdős in Hungarian means Forester.
The Universal Law of Turbulence Isn't So Unruly After All
Thanks, I hadn't thought of that. I'm from New Zealand where the work atmosphere is I guess less litigious.
Ditto for Australia too where there was a hard swing towards the right.
For me the time often goes on 4chan
Many countries have state funded news organisations, BBC, A(ustralia)BC, DW, etc. It's a tried and proven model but many will here will be ideologically opposed to it.
Something like this: https://ds04.infourok.ru/uploads/ex/07fb/00195c5a-00265f89/6...

But general idea is that you have to do simple exercises with a kid before school so that a kid won't be just clenching a pen like they usually do with a spoon when they a small.

We even have a short poem for breaks during such exercises. :D

Something like this:

We were writting, we were writting,

Our fingers got all tired.

Gonna get a little rest

Then we'll pick from where we left.
There are different autopilots for planes. They differ in capabilities. Mostly the pilot sets a heading, altitude and speed and the airplane will maintain that. The main collision avoidance system is Air Traffic Control telling the pilot where to fly when. Then there are other warning systems that only alert the pilot (terrain and other planes).

The real autopilot in planes is called Auto Flight System and is very recent and needs to be monitored closely.
It can lift off, fly and land on it's own, but basically only in good weather condition.
AdGuard offers a simpler interface than uBlock Origin for users who prefer one. It's also free and open source, and includes most of the same filter lists.

https://addons.mozilla.org/en-US/firefox/addon/adguard-adblo...

https://github.com/AdguardTeam/AdguardBrowserExtension
Oneplus incidentally maintains a whitelist of apps which are allowed to run in the background and only apps in that list can run for extended periods. While it is possible for users to add apps to that list, it comes with a set of apps already whitelisted ( like whatsapp). I found it out the hard way while working on Android.

You can read more about it here in case you are curious: https://hackernoon.com/notifications-in-android-are-horribly...
This kind of papers always lose value to me when the authors don't bother to do spend a couple of hours researching previous attempts in the field.
A more precise narrative, as shown in the evidence submitted by Uber to NTSB (as opposed to the PR video), is "AI saw something for 6 seconds, but because it couldn't decide what it is, it drove through. Turned out to be a human."
Refactoring by Martin Fowler.

He takes you through a piece of code and refactors it all into smaller and more usable parts explaining what he's doing along the way. He does this with two difference pieces of code, if I recall correctly, then the third part is an index of all possible refactors.

I read it cover to cover in less than a week and has totally changed the way I program.
How many accidents did you have per 10k miles in your last car? I've never had an accident in the last 200k miles, across three cars; none of which had anything more advanced than regular cruise control.
>> Third, just the possibility of throwing an exception has a cost as the program has to have the code to unwind the stack.

> Incorrect. The exception handling code does not execute in the normal path.

But it does need to undo all allocations and such that were made between the exception and the nearest exception handler, doesn't it? Isn't this "unwinding the stack"?
Emacs is a pretty capable Operative System. If only it had a decent text editor... Well, yeah there's Evil mode,but now that I think of it, you could probably run Vim using EAF!!!
The LaTeX algorithm isn't general enough to use automatically. It will often return an error for you to manually fix if the spacing required creates ugly results such as the ones complained about in this page.
Many young post-grad people in today's economy are living with their parents while repaying their humongous student loans, yeah. Ironically, programming from the bedroom instead of going to a physical college may be a better way to obtain a place of your own sooner, heh.
If you're a remote worker and sharing a house you really should think about moving somewhere more affordable
> Needless to say, they are not the most efficient and are even less prone for innovation.

I think the main problem is that both co-ops and Sparkassen are very decentralized, you're looking at literally thousands of tiny and not-so-tiny-but-hardly-big banks that are all completely independant. That makes innovation very slow - of course they have pooled resources to have a somewhat centralized IT infrastructure, but the power to decide on innovations is ultimately still with the thousands of member banks.
does anyone know a foss audio/screensharing solution that works on linux and windows?
maybe the military, but a typical fire department is orders of magnitude smaller than current health workers force. At least where I live however, flu outbreaks are tipically worked by making the extra workers double their turns an paying them extra hours, as they have the effect of increasing pacients, but also making workers ill. A bit more of capacity would be appreciated, but tell people that you are going to increase taxes and you are going to loose the elections no matter what.
I think you're saying that "creating home made tooling is a waste of time, and you should just use professional tools"?

In which case I agree, for almost all cases. A carpenter trying to build their own saw or chisel would be laughed out of the workshop, and rightly so.

However, the mark of a master craftsman is one who can identify when custom tooling are necessary and knows something about how to build them.
Good writeup. A couple points.

`zope.interface` is more explicit and scalable than `typing.Protocol`s, and more flexible than `abc.ABC`. There's a mypy plugin for it: https://github.com/Shoobx/mypy-zope

> The drawback is that code that changes the representation of its data a lot tends not to be fast code.

That's not a very convincing reason to avoid dataclasses except in the most performance-constrained environments -- and even then I'm doubtful it'd help. Especially with `slots=True`, dataclasses can take less resources.
I forgot about Mozilla's release of Readability. It took them a while after they initially promised to release it. What's your experience been like with their parser? Took a look at your code - very practical.
Am I mad? Did anybody actually read the article? Why is everybody piling on LoC/day when the article is about average LoC over a period of time and how it correlates to the work you're doing and what a realistic average LoC might look like for a sane project. From this point of view, it doesn't matter at all if you deleted 20k lines and have a negative LoC for the day. That's missing the forest for the trees.
I hear you about pedestrian deaths, but the numbers aren't actually that bad (accepting some level of accidental deaths will occur no matter what we do).

Cyclists coming in at 857 in 2019 and people on foot coming in at 6,283[1].

That's not too trivialize those deaths... but from what we've seen so far, I'm not convinced self-driving cars are going to do any better.

[1] https://www.usnews.com/news/us/articles/2019-10-22/pedestria...
Nice, we need more Web RAD tooling.
You are woefully underestimating the size of healthcare compares to emergency services. Neither emergency services nor the military are slack. They are both scaled for sustained operations; peak utilization is made up by volunteers or allied forces/departments.

BLS says there are 334K at firefighters at $49k/yr.

There are 240k NPs at $113k/ye, 3M RNs at $71k/yr, 728K licensed nurses at $46k/yr, 300K lab techs at $52k/yr, and 1.5M NAs at $28k/yr. Go ahead and double that coat when you include MDs and Admin.
If I had to guess, they are just a JS-library-following nerd :) the extent of which they have been following this topic might resonate with more people here through this fun comparison.

It goes without saying, that this is meant without any offense whatsoever
this is fine, but it's expensive to subscribe to all major news sites in the world.
Credit card = Débit différé in France (aka. you pay for everything at the end of the month), it's even written Credit on the card.

And most online banks (e.g., Boursorama, Hello Bank, Fortuneo, etc) do not charge you a monthly fee for a card.
Data center re-using heat for district heating network
Haha you're putting me on the spot here, I guess I haven't really thought too deeply about the specifics!

Maybe flatMap would return true only if all chained booleans are true?

Bimap would allow you to provide functions for what to do in true and false case?

Fold would allow you to turn true or false into a single type?

I'm sure someone more experienced in FP can weigh in with something more correct! :p
Will you be able to sell more software or increase the price of your software because you refactored some code? No, your customers don't care two hoots about that.

Refactoring is an internal activity. It's part of the cost of development.
Debugging C++ in Visual Studio Code Using GCC/Gdb and Bazel
Some people have unfortunate brain chemistry/homeostasis, and are keen to adjust it.

It's a real thing.

Hard to separate from desiring the pleasure/illness, to be fair.
> At this point, we were questioning our decision-making process more thoroughly, and immediately tried reproducing with the same version on a Linux build. I think you, the reader, can imagine how we felt when the issue also reproduced locally with an ASAN Linux build…

This was my very first thought when I read that it occurred on Android, so I know it had to be someone’s first thought working on this. Very unfortunate, but I’m pretty sure we’ve all been there, with a gut feeling we either ignored or outright doubted that could’ve potentially saved months at minimal risk.
What kills me is that literally nothing (inc Photoshop) will import a .fw.png file and keep it editable. I know it's using some kind of proprietary extension to the PNG format, and that some gradients and textures would inevitably be Fireworks specific, but it'd still be useful to be able to open an old mockup and tinker with it.
Humans have an average of 1 fatality per 100 million miles driven. No one is anywhere close to 100 million miles without intervention.
Distributed cognition is a really powerful idea that breaks a lot of our assumptions about individuality and agency. When applied to something like AI, I think it promotes much better thinking about how to get productive work done -- since it isn't so much about the algorithm as the system as a whole.

I recommend Ed Hutchins book "Cognition in the Wild" or Don Norman's "the design of everyday things"

Other related ideas are "the extended mind" and "actor-network theory". It is hard not to come to the conclusion that personal identity is useful for drivers licenses but ultimately a very elaborate social illusion/myth.

I really like the implications for reincarnation, though!
> There exist languages with arbitrary precision arithmetic, e.g. Python

Floating point numbers are implemented using double in C.
All bets on their precision are off unless you happen to
know the machine you are working with.

https://docs.python.org/2.4/lib/typesnumeric.html
This is amazing. Best resource dump I’ve seen in years.
It's the internet of shit: behind-the-scenes edition. Tech media fawn over developer darlings who trot out their systemd's, K8s', OpenStack's and whichever flavor of the moment just happens to make their names in the blogosphere while leaving the technical debt externalities, bugs and added grand unified over-complexity to others to suffer under. Popularity, newness and media don't make anything inherently useful, necessary or better.. they just bring hype until proven otherwise.

I wouldn't be so against particular projects like OpenStack, k8s, OpenSSL, PHP and systemd if they weren't so awful in philosophy and execution. IMO, stacks, and projects too, need simplification, clear documentation and resilience before adding zillions of features that don't work, don't belong or don't add net value for the complexity/risks they bring.
Papers code is probably optimized for "first to publish". Also overfit in a non-traditional sense since ppl wanta to beat SOTA by as much as possible. Also the heuristic tips an tricks and autotuning you'd want in a production models would exceed paper lenth 10x. Also the author is motivated to NOT provide a bug free easy to put in production version of the code since that would lower the $ value of their expertise. A cocktail of all the wrong incentives!

Probably the production versions of those models are suboptimal in different ways but work better in practice...
This is part of the introduction to a language he's been designing since forever. I attended the International Lisp Conference in Boston around 2005 and he did a presentation there of what seems like a precursor to this.

Some of his views might be controversial, but he has plenty of Lisp implementation experience and clearly knows his stuff.

And from what I've read so far, he writes excellent documentation. I'd recommend anyone to at least skim the whole thing [0].

[0] http://users.rcn.com/david-moon/Lunar/index.html
Hm, after reading and re-reading the post half a dozen times, I realized it can indeed be interpreted that way. Now I'm confused. :)
I understand this sentiment, I really do... but this layout/design is so simple to make I think a framework would be overkill and unnecessary bloat. This is coming from someone who does css for a living daily so your mileage may vary.
The initial death rates were shocking. The reproduction R0 number seemed high. This was a very contagious virus. The world went into a panic. And rumors, conspiracy theories, and bad science didn’t help (the German and Indian papers).

But what was really behind the numbers. Was it old people that were dying? Was it middle aged and young people? Was this some kind of stealthy virus that creeps up on you, and then just kills you?

It’s possible that it was a lack of medical facilities and equipment, that contributed to the crisis, and thus, contributed to the high initial death rates.

For example, when people started getting sick. The first batch went to the ICU, and took up available beds and medical facilities. These people had the highest chance of surviving. But then, the next wave came in and created the beginning of the crisis, and swamped the system. Then, the third wave came in and totally overwhelmed the system, that the hospitals couldn’t help them at all. They were turned away, and left to fend for themselves. These people started dying in their homes.

The system suffered such a massive denial of service attack, that it was impossible to help and provide service to everyone. Thus this created the shockingly high mortality rate during the initial days of the crisis.

If we are lucky, then this might remain true. So in other parts of the world with more medical facilities, knowing this might save people, and give them a higher chance of surviving this virus.

Stay strong, Wuhan!

Wuhan, Jaiyou!
Humans have 1 fatality per 100 million miles, self driving is nowhere close to this.
It had lidar and ignored an unknown object it was tracking. If that's not damning for the whole field, I don't know what is.
Sorry but you won't get much done only writing 10 lines of code per day.
Interesting to think of how this relates with the Extended Mind theory (https://en.wikipedia.org/wiki/The_Extended_Mind) and how our environment and setup is effectively part of our cognition. In a way, maybe we should consider intelligence to not just be about our ability to connect A to B in complex ways (or equivalent views) but rather as the ability to create frameworks both in an internal and and internal process. In that sense, you could think of intelligence as a stack. Would love to hear thoughts on this.
Capital in the Water War: Germany removes water from human rights list (2013)
Here's another angle - not saying it's correct, just different.
Why would you want to perfect working from your bedroom?
It's ok to WFH for a while, but i would not recommend perfecting it long term.
As a human being you should be looking to interact and socialize with other humans, in person, as well - this makes us better humans, more empathetic, more understanding to the needs and pains of others.
And it'll fly happily into a mountain or other plane, if unmonitored. Now the problem is streets are a little more crowded.
CVE-2020-0683
This will probably be used for apps that distribute through, e.g., F-Droid. Apps that also distribute on Google Play could use FCM for the version distributed through Google Play, and OpenPush for the version distributed elsewhere.
Based on the evidence you have put forth your conclusion is logical and reasonable. You have convinced me that my statement was in error.
Can we? I'm sure it's possible.

Will we? Probably not.

FYI: F12 > application > clear all site data works like 80% of time.
You should post your conspiracy theories on reddit. They’ll happily entertain your nonsense over there.
I think the point was "trivial issues". What if a Java programmer kept asking their teammates if the statement terminator in Java is colon or semicolon?
Then there's Gitlab and a few others.
But some are wronger than others. (I'm looking at you, Brainf*ck.)
> Hosting videos with short response time in any region

Clouds are indeed selling that, but I think that's false advertisement. At least from here (western Balkans) it looks this way.
More connections probably does mean more wakeups, in general, though. FCM will coalesce notifications that happen close together in time, for example. Even if OpenPush does that (I haven't read all the details yet), it still means two coalesced batches of notifications rather than one if you have some apps using FCM and some using OpenPush. The situation obviously gets even worse if every app implements push itself.

I still think it's worth it, to be clear, and for people who want a fully de-Googled device, hopefully eventually all their apps will use OpenPush and the battery life situation is the same as a device where all the apps use FCM. (Assuming OpenPush implements similar coalescing.)
The gross human fatal accident rate is ~7 accidents per billion miles in the US, including fatalities caused by incompetent or irresponsible drivers, and substantially lower in Europe. But humans drive a lot of miles

Based on Tesla's safety report, 'more than 1 billion' miles have been driven using autopilot. Given the small data sample and the fatalities already attributed to autopilot, I think we're some way from proving it's safer than letting drivers drive alone, never mind close to being a driver substitute.
that's exactly my point, morality has nothing to do with it
Show HN: I built ProductHunt for .. well, products
Will you be able to sell more software or increase the price of your software because you refactored some code?

Yes I will, because the cost of development will be lower. That makes my customers happy so they give me more work. I'll also have fewer defects which improves my reputation which means I can charge more.

No, your customers don't care two hoots about that.

I mostly write software for SaaS companies. Their customers (the end users of the software) don't care about it much besides seeing fewer problems and getting to use better software, but my customers (the people who own the software) really do.
1. Exceptions are necessary for correctness. This alone solves the question of whether they should be used. Error codes just don't cut it because they only handle expected errors (which is never enough in the real world).

2. Arguing about C++ exception performance is pretty pointless anyway since C++ performance is its (only) strong side. Until Java/C# matches C++ in e.g. cutting edge 3D engines, this question won't even become interesting.
I too still use pencil and paper
I grew up poor with some bouts of homelessness, and this isn't my experience at all.
Independent product research is a huge pain these days and it's tremendously hard to find unbiased reviews.

That's why I built an ad-free, independent and crowdsourced database with brands that manufacture durable products that are made to last.

I think it can be useful on our way from a throwaway culture towards a more frugal lifestyle. We should spend our money on selected high-quality products instead of short-living garbage.
Very difficult, because those companies are literally taking no fees, most of the fee is actually cashed in by the banks when they decide to approve a transaction. To compete with Visa and Mastercard you need to be the bank, lower the fees, and propose the same level of transaction performance. And that's a challenge.

There is some space in the cross-country payment market though, and some (a lot, actually) in the B2B payment market too.
I had no idea that erasable ink (for fountain pens) is a thing. That’s awesome!
I mean, it depends, CGAL for example, which I'd consider a high quality software library, uses exceptions for their exact number type to redo the calculation using more precision when needed https://www.cgal.org/FAQ.html#uncertain_exception
With the exception of extremes like California on the high end and rural Appalachia on the low end cheap housing costs about the same (differing by ~ a few hundred a month) in most American cities.

I would recommend moving to a different country before I’d recommend moving to the rural US, that’s a dead end especially if you need the internet for work.
My point is that we probably should value simplicity itself. And as a bonus things like this wouldn't happen.