skysight-inc/HackerNews huggingface dataset:
This is how I understand the two approaches to concurrency:

1) Use preemptive system threads that can execute in parallel. A task requiring simultaneous waiting is given an operating system thread of its own so it can block without stopping the entire program. But threads require significant memory and other resources per thread. Also, the operating system can arbitrarily interleave the execution of system threads, requiring the programmer to carefully protect shared resources with locks and condition variables, which is exceedingly error-prone.

2) Have a single-threaded program, where that single thread runs an event loop whose job is to react to external events by invoking a callback function that has been registered. While it doesn't require the same kind of complex synchronization that preemptive threads do, the inverted control structure of this approach requires your own control flow to thread awkwardly through the system's event loop, leading to a maze of event callbacks.

Coroutines work with the latter style in an attempt to tame its complexity. They are themselves complex, however, and, in my opinion, that complexity doesn't pull its weight when you consider in the end you only have one thread.

Can anyone tell me what I'm missing or how these problems with these approaches have been solved in places?
Cool thanks for the link to the blog post.
Thanks for commenting!

Adding digital handwriting support is a great idea. I actually think other companies do it pretty well, which is why we didn't go down that route. The reason is that they use a different type of algorithm that learns, in part, from the handwriting velocity, and gives you edit access on the go, which is not possible if you've taken the notes in a normal notebook.

We decided to start with plain notebook text mainly because it seemed like no one else had solved this problem to our satisfaction yet.
https://capnproto.org/
I heard somewhere that over half of developers are new to the field.

What disheartens me is that the majority of developers care very little about programming. They care about things going out the door fast, quality be damned!

I never thought of Clojure as a language that would catch on to the 90% of shops out there. That's what ruby and python are for (and of course Java, but that's for historical marketing reasons.)

What I have thought the niche of Clojure and other languages like it are larger scale projects and established places that care about robustness and correctness. Where the wishy washy ways of the pythons and rubies of the world can can a real issue when not done correctly.
In Portland Oregon many ADUs are converted unattached garages, finished attics, finished basements and more rarely converted garden sheds. Particularly, in the areas where much of the closer to city center housing stock is pre-World War 2 and near good public transit.

ADUs have to meet current building and fire codes. Though there is a loophole where an on-site resident owner may do their own construction without permits.

ADU construction along with rental housing starts is also slowing due to recent city legislation and the threat of rent control which has been illegal in the entire state of Oregon since the 1980s. And the city of Portland via new regulation has already added friction and increased costs in their rental market exacerbating their "rental housing crisis" except for those renters already in existing rentals.

ADUs were popular additions on family occupied and/or owned Portland properties until the recent regulatory changes and rent control threat. Now there is added known risk and uncertainty.
And, while I try to hide my embarrassment---while Transatomic is BS, the concept of nuclear fuel cycles using waste is not, and many IV Generation designs are specifically working toward that. My main point was we likely won't need to wait millennia, or even centuries, for a lot of that waste to become useful.
Both, really. Check out this small sample from MNIST

https://www.researchgate.net/profile/Amaury_Lendasse/publica...
But now for a mostly different reason: web standards. Chrome is usually leading the pack with implementing new Javascript features, CSS features, performance optimizations, etc. Browsers with weird quirks or that aren't properly written to spec (eg: older IE versions of Flexbox) won't work as well. Some developers, such as myself, think users should be updating their software if they really care that much about some things being broken.

If my Javascript uses .map() and your browser doesn't support it, too bad. I'm not including the polyfill for everyone just because some small minority of users need the polyfill. Those users can update their browser. Resources spent trying to support people who refuse to update could be better spent on providing more benefit to everyone else.

With rare exceptions, anything that "works best in Chrome" works just fine in Edge/FF. Usually Safari is the new IE6 with everything being broken.

In the 'What's Next' section:

*>Browser Compatibility

Currently the database UI works fine on Chrome, but has issues with Firefox and Safari;
we’re working towards supporting all major browsers.*
The keyword here is that GP never said "if you do fire junior people", but "if you are firing junior people". The later implies a recurrent pattern of behavior and, unless you want to argue that an unknown factor beyond your control has been sending a disproportionate amount of bad apples your way, it is ultimately your problem.

Most common causes I can think for this problem are: an indiscriminate hiring process that fails to keep out poor candidates, either defective operations or hostile work environment that results in excesive burn out rates for employees, irrational expectations from management teams (specially founders who struggle to make the transition to later stage startups).
Do we have that long?
You'd rather change editor twice than pay for one?
yup, basically kept getting increases in pay (but not promotions or authority to change the situation I was in for the better) to stay.

Don't take the bait.

it's an admission that they know you are more valuable than you are being treated, and an acknowledgement that your misery in the situation is not going to change, which is exactly why they are hoping you will be ok with continued frustration in lieu of more money.
>1) Russia is not a "European" country. Though it does exert influence in that sphere and has a 'European Russia'.

As previously mentioned, Russia is by far the world's largest state. Though their land area extends across Asia, Russian culture, customs, religion, and heritage are undoubtedly Euro-centric. Almost 80% of Russian citizens live in "European Russia" [0]. By every calculation except raw geography, Russia is rightly classified European.

Moscow is about 1000 miles east of Berlin. It's 3000 miles west of Beijing.

>2) If Manafort, Flynn, Sessions, etc had non-shady dealings with Russia you would think they wouldn't have to be so shady about how they present those dealings. Sessions wouldn't have to explicitly commit perjury in front of the Senate to try and hide his interactions with Russian officials if they were normal interactions.

I really don't want descend into this unending pit of politically-motivated "nuh-uh", "yuh-huh" accusations about imaginary events and anonymous sources, but I'd at least suggest that you soften your tone re: Sessions. He has not been charged with, let alone convicted of, perjury. You state it as if it's an irrefutable reality.

I think that your bias is leaking through a little bit.

[0] https://en.wikipedia.org/wiki/European_Russia
Cygnal: simple alternative to MinGW
I've been experimenting with Kotlin for a few weeks now and have been deeply impressed by how easy it is to get started with. This stems from three things: The Intellij tooling is excellent, as noted in the article, and the adoption curve is beautifully mild as you can easily integrate as much or as little Kotlin as you like with any Java project.

That of course doesn't say _why_ you would want to use it. The third thing that makes it easy to adopt is that it feels very familiar to most devs who come from a C# or Java background. It is really just a modern Java where nearly every aspect of the language has been upgraded. Writing code in Kotlin feels elegant.
>Fix multi-cursor pasting when clipboard contains one or more full lines

This is great. Didn't feel right at all to see <NUL> in the code after doing multi line pasting.
The worst of PC nonsense. Our local falafel joint is owned/operated by two Israeli guys. The Japanese place by a couple from Taiwan. Heck, the Italian supper club by some Lutheran Germans.

This whole 'appropriation' farce hurts everybody involved.
Lokheed had a 50% size demonstrator of these in 2006, so I think they have been doing it longer than Brin.
"The world's first commercial nuclear power station, Calder Hall at Windscale, England, was opened in 1956"

https://en.wikipedia.org/wiki/Nuclear_power
How to secure an online password manager
Well, then Photorec (which is in itself an excellent tool) is not the only one, personally I am particularly fond of a lesser known tool, DMDE, JFYI:

http://dmde.com/

which is provided - besides the licensed/commercial version - also in a free version with only minor limitations (and it exists for DOS, Linux and Windows).

Maybe the object of a next article?
What is not mentioned in the article is the reason big animals exist: efficiency. The physics are simple: assume animals are ball-shaped (true to within a factor 2 for mammals). That means the amount of filling grows with the third power of the radius. The "skin", or outer boundary only grows with the second power.

"Skin" is how an animal loses power (by far the biggest power draw inside mammals is keeping the body warm. Obviously in water this is an even bigger problem). "Filling" is how an animal generates power.

That means that smaller animals cannot hope to match the whales in efficiency: for sustaining the same biomass, they need to keep a bigger "skin" warm (add all the skin of all individuals together).

Now when does this matter ? Obviously this would matter a lot in terms of scarcity, at which point it would be much easier for whales to survive than smaller fish. When there is richness of food, smaller is better, as you can move faster and "eat" the available energy faster. However if smaller animals do this to the point that food becomes scarce, they've just screwed themselves.

So you see what happens : the longer the biosphere goes without a major disaster, the bigger animals get (and plants, for that matter). The advantage of being the first mover, where you can be small and still win, disappears, and the advantage of efficiency grows and grows. So when food became scarce, whales, the biggest animals that had the easiest time surviving at that point, became even bigger. That made the difference between different whale species.

This framework allows answering your question: no, if whales went extinct fish would increase in numbers (slightly, in the sense that it'd be less than the biomass of the whales that disappeared). There isn't enough predation to replace the whales at the moment, but that would be very quickly rectified if something happened to them.

The real reason krill is increasing is the slight increase of co2 caused by humans (krill eat plankton, as do most whales). It's tiny when measured compared to total volume, but if you look at it in relative terms co2 has increased quite a bit (amount now vs amount 100 years ago). In reality the plant growth in the world is hampered significantly by the amount of available co2, and the fact that plants use it to store energy, a part of which gets buried and is lost to the depths (literally in the case of krill).
But it has a new flavour! Planned economy is cool again! (apparently).
Virtually all near-luxury to luxury manufacturers do exactly this.

For these two Tesla models in particular, the headlights and trunk line are key differences between the 3 and S, and are clearly identified by enthusiasts. But the majority of the design is part of the brand's consistent motif, making them look very similar to laypeople.

To laypeople, the BMW 3 looks nearly identical to the 5; the A3 looks nearly identical to the A6; the C-class looks nearly identical to the E-class; the ATS looks nearly identical to the CTS; the XE looks nearly identical to the XF; and so on.
Pix2Code – generate UI code from an image
Although there are lots of these career "advices" that are perceived as "universal truth", I hardly believe they are the only truth. Life is more complicated than that sometimes, so are your workplace. Use your best judgement(s), rather than follow the dogma. Long enough you will have your own believes, perhaps from a different angle to the same dilima.
There are a bunch of services that do this and return OCR'd documents and images, perhaps it could be interesting to partner with one of them? I assume they're already paying for OCR licenses.
Geez, that documentary clip is really interesting. Given that lots and lots of incidiary and explosive rounds couldn't take down a Zeppelin, it really seems like the Hindenberg was really just an unfortunate one-off.
But Python 2.7 has this problem:

def f():
x = 0

def add(amount):
x += amount # UnboundLocalError: local variable 'x' referenced before assignment

add(10)
add(20)
add(30)

return x

print f()

In C++, this problem doesn't exist.
> Do you have a build-time option? Check at runtime at every call? Use templates to check at startup and run a different code path?

With glibc there's also the IFUNC option:

https://sourceware.org/glibc/wiki/GNU_IFUNC
Chrome being faster and less bloated was their sales pitch. Keep in mind that Chrome came out as a counterpoint to IE and Firefox in what was then still a very desktop centered market. No one was talking about battery life back then. The solution to battery life on laptops was to create better power profiles, lower powered hardware, and shove in bigger batteries.

Chrome is still a huge improvement compared to the browsers it was competing against. Chrome changed the market and now the other browsers are competing in the world Chrome created. So while Chrome might fall behind in some areas now, it's naive to say that it's become what they made fun of.
> How do you differentiate between individuals like you describe and people like me who like to experiment for education's sake

I wouldn't, that person would - I don't imagine many people put their experiment/education projects in their portfolio
That's exactly what it is. They have more than enough reservations for the Model 3 at this point, and have no reason to try for more until they work through most of the backlog. For someone looking at a Tesla, they would much rather get $70,000+ from them now than $35,000+ from them in a year or two. Add to this the fact that a lot of people have apparently managed to interpret Model 3 as an upgrade to Model S and you get a page like this.
From the article:

> [...] the NTFS driver takes out a lock on the file and never releases it. Every subsequent operation sits around waiting for the lock to be released.Forever. This blocks any and all other attempts to access the file system, and so every program will start to hang, rendering the machine unusable until it is rebooted.

That delay will likely be how long it takes for the deadlocks to crash the system.
I don't see how net neutrality regulations will stop trademark and copyright abuses, which is the case here. Now if Comcast were found to be hijacking or blocking the site in question, that's a net neutrality issue (as well as a likely civil issue in a US court).
>> I couldn't stop feeling like this page is nothing else but a promotion for "Model S" which is "superior and now"

Yep, the first thing I noticed was the pictures with the number of inches being compared.
Tu-144 flew before Concord. Try to explain to some people that it's hard to get a pure copy running before the original :) - I'm not surprised anymore, they'd still insist Tu-144 is merely a copy.

When Project Apollo uses Yu. Kondratyuk's (A. Shargey) staging calculations of course that's not a copying of a critical part.
Maybe try a staycation next time. Hang out in the office, let people do your job, watch over their shoulders and instruct them, but leave your own PC turned off for the duration. (And definitely don't do 8+ hour days).

In fact, maybe make that into a company policy where you do that one week per quarter such that the company doesn't fold if you get hit by a bus. Employees may actually like the idea.
I think at this point monoculture is inevitable.

There are no new engines that aren't forks of existing engines aside from Servo which is still experimental.

Aside from EdgeHTML​ all the major browser engines are open source. It takes several years and lots of money to create a from scratch engine compatible with the majority of websites people visit.

There is no money made directly from the browser itself. All of the money is made from products or services around the browser. Which is not a viable model for anyone but the biggest companies.

Not enough people care about how unwise monocultures are. Network effects push people to the thing everyone else uses.
Google’s AlphaGo AI defeats team of five leading Go players
https://news.ycombinator.com/item?id=14416530
Thanks.

I found pg internals guide [0] very useful by the same author.

[0] http://h50146.www5.hpe.com/products/software/oe/linux/mainst...
> Let's not forget the enormous in-built demand for fiat currencies via taxation.

I understand that the whole libertarian-hipster-goldbug thing is in vogue right now, but what does this even mean?
The relevant info will be on the center screen. Center instrument clusters aren't that uncommon. Priuses have them, for example, and they're pretty popular.
> If you are hiring and then firing junior people fast, you are the problem.

Yeah? How so? What is fast?

If I hire a junior dev, and I say "Hey, I do expect you to know how to program. Not well, I'll teach you, but you need to know how to code. Do you know how to code?"

And they have problems for the first 1-2 months, it's not my job to teach them something I expected them to know.

They shouldn't get through the interview, but they do, sometimes.
Don't generalize - it really depends on the country.
No.
I'm working for a company that offers DMS and OCR services.

A big business atm are cheques. I .. don't understand what they're for, consider them weird. But there is a huuge number of places that use them, the US is a part of that for some reason.

A lot of those are filled in by hand.

Say, you're doing a census project. You send out forms that WILL be filled in by hand.

That said, I don't believe in silver bullets here...
I've read this research before. It's really very interesting, but I have to wonder where the line is.

At what point is using this kind of method just clever, and at what point is it highly manipulative and antisocial?
LASIK derived from RK - the Soviets were trying to save on having to grind prescription glasses for people - the cornea would be removed, frozen in nitrogen to be stiffer, then placed on a machine that had 1-micron accuracy which then modified the cornea by essentially machining it; then the cornea would be re-attached.
For me the biggest advantage of Visual Studio Code is support for Language Server Protocol [0] that makes the editor a lightweight IDE. If I'm using statically typed languages the level of support from the editor easily outweighs longer startup time.

Sublime is better when working with structureless files (plain text logs etc.).

[0]: http://langserver.org/
Top Ten Static Site Generators of 2017
The Autobahn sure sounds fun. Around here, if you do more than 145km/h they'll put you in jail.
If it gains any meaningful traction, I'm kinda expecting WebAssembly will make Rust a useful additional language for web devs currently working with stuff like C#, Python or JS.

It's definitely put it firmly on my radar as something to pick up recently, and since I don't already know C or C++ it feels like a good starting point.
We like to call them "the provinces".
Techdirt also has this story: https://tdrt.io/gej

Re: "have to sue you defend a trademark"

The bully will simply state the oft-repeated excuse that they must bully according to trademark law, which isn't remotely the case.

https://tdrt.io/g8w

It's the same excuse we see time and time again and it's almost always false.

https://tdrt.io/fZ5
Awesome work, I've been interested in opentimestamps.org for a while but doing this for the internet archive makes it very easy to get people excited about it.
To me that looks more like a mistake from Porsche than an idea to replicate
SpaceX? Blue Orion? ULA + Ball Aerospace?
So you could have spent time doing your own stuff and get paid. Sounds awesome
Yes, but the Hindenburg was basically already on the ground (coming in for a landing) when it went up. Also, I remember reading that the airframe itself was pretty flammable.

Additional safety at terminals seems prudent, but would a non-flammable airframe still be burning on the ground if it caught fire at 10,000 feet? I don't know.
Hehe, someone in landscaping saying the grass is greener on the other side.
Thank you for the question!

Currently, it's a combination of the two, mainly because people often take notes hastily so word-based recognition coupled with spell check allow you to fix things on the fly. However, this also results in bizarre outputs sometimes so we're still figuring out what an optimal output looks like.
1) Overall, yes.
2) Citation needed.
3) Correct, they react to stimuli.

I agree with you on the blank slate theory and that Fresco was not up to date on this. Genetics has an impact on skull formation, brain tissue, etc.
You still have to defend against MitM attacks, that could steal your data. A recent example is Samsung smart TV that could be controlled with voice. If someone can route TV connection to his server posing as Samsung's server, she can eavesdrop you in your living room.

Another problem is that during the lifespan of product, several critical exploits could be found that would compromise the security if not patched. There already efforts to defeat SSL and we may need to upgrade to more advanced protocol in near future.

One last problem is that in your case the device needs to have server address hardcoded. The company could go out of business and you would have no way to redirect it to alternate unofficial server. Therefore, firmware upgrades are pretty nice to have in IoT.
> A new, standardised lockfile feature meant for cross-package-manager compatibility (package-lock.json)

Surely it would be much better to follow standard lock file naming conventions and name the file package.lock
Future Y crossover makes it "S3XY". I love a billionaire with a cheeky sense of humor.
Yes and no. If a car is approved in one EU country, it’s approved in all. If a car is denied in one EU country, it is denied in all.

So Germany could very much block the Tesla Model 3 from EU roads.
Since dynamic typing and static typing are not the same thing.

"Dynamic" doesnt mean hidden. It means types are features of
objects at run time.

"Static" doest mean explicit. It means types are rules the compiler applies to the program text.
Test your apps on Windows for free
"Average" is a colloquial term referring to any measure of central tendency. The arithmetic mean is just the most common kind of average, not the only kind.
Pay your taxes and stop the filter bubbles, then build plane.
Simply do not use gnome 3 and problem solved.

It's a mystery to me that people still associate linux desktop with gnome. The gnome project has a long history of not caring about users or developers and prioritizing their view and their brand.
How does such an insignificant release (new themes, some bugfixes) of a product become the top story on HN?
This is exactly my point. Thanks for the clarification.