skysight-inc/HackerNews huggingface dataset:
> Can you hoist the `if (result)` into the `try` part of the statement?

And now you wrap the function call to doSomething() in the try/catch too. Often (usually?) the try/catch specifically is for the asynchronous function. Usually that's because the async. stuff might fail due to expectable (even if undesirable) runtime conditions (e.g. "file not found"), while synchronous code should work for the most part (external condition errors vs. coding errors - and your catch is about the former, because, for example, you might want coding errors to just crash the app and be caught during testing).

Sure, you can claim that you check for specific errors that could only happen in that function, so that any errors occurring in doSomething() don't matter/don't change the outcome, or that doSomething never throws because you are sure of the code (the async. function may throw based on runtime conditions, but you may have development-time control over any issues in doSomethign() - but if you start going down that path, having to rely on the developer doing there job perfectly for each such construct, later maintainability and readability goes down the drain. You would have to make sure such a claim is valid when you later come across the construct. That is why you really don't want anything inside the try/catch from which you don't want to see any errors in the catch block. So my policy is to never ever do that even if in the given context it would work - it places additional work on whoever is going to read that section later (or they are ignorant of the problem and won't see this potential problem, which is not any better).
QEMU Vga Passthrough
Yup, exactly through this. Was on mobile at the time, would've linked the video otherwise. Thanks!
Same in Sweden. Sweden basically was like how Switzerland is described here. But that ended when the end of History occurred. (1990-ish, and there would be peace forever.)
Well, the original artificial neuron by Pitts and McCulloch was a propositional logic circuit- but that strain of research, too, has fallen by the wayside in favour of neural nets that can be trained with backpropagation of error.
Would you fly with a 787 now?
>> How can it be that Facebook with all their engineering prowess can't even tell who accessed what, let alone put adequate permission controls on their APIs?

> Probably laziness

Facebook is a lot of things, but they're not lazy. As far as can be seen, their decisions are largely intentional. If they didn't do something, it's because they didn't want to or it would hurt their bottom line, not cause they're lazy.
I've spotted a new trend: dog beds. There's an e-com brand which is banking on it, doing ~$10k+/day selling specifically orthopedic dog beds.

Hope it can be helpful!
If that's the market they (both Airbnb and the "hosts" on their platform) want to serve, fine.

That business is usually called "hotels", and is subject to a bunch of regulations around zoning, taxes, inspections, health & safety....
There's a service called IDNotify that I have through TurboTax somehow - I believe they gave it away with the tier I needed to file my business expenses and income.

It does send me alerts every time my email shows up in a dump from some hacked service, which is a nice bonus, over and above what the likes of CreditKarma do.
Currently:

Through a Camel's Eye by Dorothy Johnston although admit I'm having trouble getting into it. Will give it another 50 pages before I decide.

And today started listening to Dune Messiah on audiobook. I loved the first book which I've reread many times, but didn't enjoy the following books at all when I read them years and years ago. Decided to give them another try.

Recommend:

The First Fifteen Lives of Harry August by Claire North for beautiful prose, charming writing and an inventive story. Her first and best book under that pseudonym.

Barsk: The Elephants' Graveyard and The Moons of Barsk by Lawrence M. Schoen for making me care about anthropomorphic elephants.

Children of Time and Children of Ruin by Adrian Tchaikovsky for almost making me care about non-anthropomorphic spiders.

I Am Not a Serial Killer and sequels by Dan Wells for tricking me into reading a horror novel when I at first thought it was a thriller, but really enjoying it anyway.

The Lost Man by Jane Harper for being similar but so far a lot better than Through a Camel's Eye.
If you ask an American "How are you?", they will respond "Fine, how are you?".

If you ask a German "How are you?", they will tell you they caught a flu and they bumped their toe on the way to the bathroom.

As a German, it's hard work for me to respond appropriately to the American question. But I understand that I don't blame the American for being dishonest.

It's even harder for me to work with the Indian "yes", but I understand they don't mean to be dishonest.
You can't keep army issued ammunition. You can still buy your own ammo.
I think this is like Asian cat cafes, not what you'd expect.

It's not a fake funeral. It seems to borrow some elements.

Jim Jefferies looked at this a while back as well -

https://www.facebook.com/JefferiesShow/videos/20694391597713...

Meh, it's just the same as all novel therapies, something fun, might have some underling science, but more about you want to improve, so you do.

The sucide bit is just a MacGuffin.

And it's not free. Maybe the first one is or maybe on special days? But it's 'big business' depending who you read.
For soft targets (e.g. cities) an air burst would be used - but for hard targets a ground burst (or even penetration) would be used:

https://en.wikipedia.org/wiki/Ground_burst

Some weapons even allowed for "laydown delivery" where weapons would be on the ground for a bit before detonating:

https://en.wikipedia.org/wiki/Laydown_delivery

From what I recall, the really large weapons (10MT-25MT) were mainly intended, at least in the latter stages of the Cold War, to be used against hard targets.
> Correct, but they aren't enforcing their copyright, they're claiming a breach of GPL.

Which is the same thing. The only way to "claim breach of GPL" is to enforce copyright. These companies have no right to use the respective copyrighted software without a license, and as they are not using it under the terms of the GPL, they have no right to use it at all, which is why their use of the software is a violation of copyright.

> GPL doesn't force you to upstream your changes, and so, within the context of GPL v2, where would they be forced to hand over source code on request to sfconservancy?

They wouldn't be. But they are still in violation of copyright, so they better do what the copyright holder demands to rectify that situation if they don't want to be sued over that copyright violation.

They are distributing software that they don't own the copyright to, and as they are violating the GPL by not providing the source or a valid offer to provide the source on request with the software, they have voided their rigfhts under the GPL as well, so they are illegaly distributing that software. The copyright owners therefore probably could get their products pulled from the shelves to stop that copyright violation. Instead of doing that, the copyright owners are offering them the option to reinstate their rights under the GPL if they provide them with a copy of the source code they would have to provide their customers under the GPL and get compliant with the terms of the GPL.
Military exercises which result in such amusing news happen quite often. Like the regular invasions of Liechtenstein by "accident".

But usually, the invading forces are color coded and not named with real life names. I remember doing one where from the west blue forces, from the north brown forces and from the east red forces were the enemies.

It's hard to come up with realistic military scenarios that involve invasions of foreign forces if you are a small landlocked country which is completely surrounded by friendly, democratic countries. :-)
Friendly North Korean Network Observer
Well, for detailed knowledge it is not enough.

But for Internet ramblings about anything (politics, religion, capitalism vs socialism), I bet it is well beyond the average human level. (If you want to protest, go to some random Facebook, YouTube, Reddit or Twitter thread. No, not HN, or specialized groups of interests, or anything dominated by academics or IT specialist.)

Also, somewhat related: https://news.ycombinator.com/item?id=21438318 "Undercover reporter reveals life in a Polish troll farm"

A few friends of mine became parents and started participating in some parenting FB groups. It was from them a shocking contact with getting outside of the intellectual bubble.

I would be really interested in judging the quality of GPT-2-generated tests against human texts. Questions like "does the person know what they talk about?", "are they smart?" with control on the knowledge of a particular subject (e.g. do they know Rust?) would give some insight into the effective level of AI for text generation.
It doesn't seem so revolutionary from what I've read.
But other partners may have hundreds of users.
"The characters within both subfamilies, Sans & Mono, maintain the exact same width across all font styles, independently of the values set on the Weight, Casual, Slant, and Italic axes. You can therefore use Recursive to create animated font transitions without breaking the layout of UI elements like menus and buttons."

This is a useful feature - is it common in other fonts?

I certainly have run into problems in HTML with bold text causing button widths to change.
So many controversies with facebook lately. It seems like there is something wrong with facebook.
How is this valuable to hackers?
It's a NUMA though. You'll have to write software specifically for NUMA to get anywhere close to that number. To make matters worse, EPYC also doubles the number of cores. To be fair, though, it also has a substantial amount of cache, but cache is not a panacea if you need something in the main RAM. And if you're churning through gigabytes of stuff per second, you'll be needing that very, very often.
All Jazeera is garbage. If it's legitimate find a real source for it. I don't need the government of Qatar's propaganda and you shouldn't trust some of it because it co firms your biases. Treat bar actors as bad actors even if what they're saying this moment is something that interests you.
That is your problem: You have not taken the time to understand other cultures.

You believe they are not being honest but they ARE!!

If they can not do the work, they tell you, but in their own language, not directly but in subtle ways.

They are expressing it, and in their mind you understand them, because they are actually saying it. It is just that you are deaf to their language, you are not looking to the nuances, and just ignore those signals they are emitting.

Then comes the blaming and the pointing fingers.
> We have a lot of code paths, there isn't an integration test for everything.

This is just saying that writing "tests is hard". I agree, it is.

I always wonder about the value of static analysis. I've used it myself and have found bugs with it, but they are mostly easy bugs to find, and there's a lot of noise. The hard bugs are often only found with serious integration tests. I'll feel much more confident with a codebase that's 90% covered by tests than one that's statically analyzed.
Show HN: Video Subtitle Adder
Preserving work in a time of vanishing archives
Ah, but which English? I rather suspect it was the American variety that did the most of that. Because, you know, American tradition of rendering unconscious and emptying pockets, and all. It's a thing, here.

On the topic of "words" "found in" pockets, they didn't harvest every single password I'd created for a handful of years because they didn't care about the USB drive-- just the bit of cash. I also had someone's CC# on a sticky note in my wallet, and they left it all on the ground. Amateurs.
Higher minimum wages to solve imbalances in the Euro-zone would probably result in a disaster.

In areas where countries like Germany directly compete with poorer countries, they do so by having more and better automation. Productivity is not that people work harder, is it that there are more machines to do the work.

The net effect of raising wages is that there will be more automation, largely negating the increase in wages. By it self this is not a problem.

Where is goes wrong is that within a country, there are many jobs that cannot be automated easily. In particular, with an aging population, you need lots of nurses and other care takers.

Increasing minimum wages with sole goal of reducing export imbalance can make those cost go through the roof, and generally lower the standard of living for a large part of the population.

Reducing the cost of 'care' and other jobs that dependent on personal service, is already very important to improve the standard of living.
Google Kubeflow Pipelines for Machine Learning Emerges (Airflow, Mlflow,)
How Kubeflow Pipelines compares to other frameworks like Airflow, Mlflow, etc
How can I tell when I’m booking a flight if that plane will be boeing? I would like to avoid them (for the time being at least).
How to Estimate Product Development
WarpScript with vs. Code: Pro Tips
You are suggesting that pedestrian to be allowed to cross and walk anywhere ? Who is the entitled now ?
>the sharp metal pieces — produced when fasteners were fitted into nuts

does it sound like too powerful (i.e. fast which translates to assembly speed) tools are applied to too cheap (like in manufactured to loose tolerances from cheap metal) fasteners and nuts?
Easy Topic Classifier on iOS with Apple’s Natural Language Framework
> Well, for detailed knowledge it is not enough. .. But for Internet ramblings about anything (politics, religion, capitalism vs socialism), I bet it is well beyond the average human level.

The real question is, how far apart are these? It certainly seems that there is a wide gulf, but the technology is moving incredibly rapidly, unclear if it's 3 years, 5 years, or 100 years away.
There is quite a difference between a passive house and zero/plus energy buildings:

The focus of a passive house is on energy efficiency while Zero/Plus energy buildings try to have a positive net value.

While it certainly helps, energy efficiency is not required for a zero/plus energy building: You just have to produce more energy than you consume.

Regarding the building cost: As far as I know, the building cost is not greater compared to that of a normal building.
4chan is more than just /pol.
The article is an excellent example of how something that seems easy and common-place ("show tabular data in a table") requires a lot of work to make it really good.

I'd say this is common to a lot of our work as developers. On the face of it a task seems easy - but it typically involves adding lot of fine detail to make it excellent.
One can train binary NN via backprop by using qbits. Samples are taken, and backprop can be done as if the result was X% 1 and (1-X)% 0. It can be noisy and slow but it is a way to do it.
> You are suggesting that pedestrian to be allowed to cross and walk anywhere?

Pedestrians should not be allowed to walk anywhere they want, but the penalty for an infraction should not be death.
> Microsoft hasn’t failed in the cloud - Windows has.

as a server, maybe.

as a client not really.

> Android has only made Google about $33 billion its entire existence

Yeah, they are good at hiding profits

and they are an ADV company which dominated the mobile market because it was strategic, they don't need to profit from selling (and manufacturing) the HW, they just need your screen time.

There are between 2.5 and 3 billion android devices around the world.

And it's almost impossible to own an android devices without Google SW on it.

> Less than the amount that Apple makes in two quarters on iPhones.

That's not really true, and iPhone revenues are declining every year.

In 2018 thy made $33.36 billions, down of 9.2% from the previous year.

If Apple loses the mobile market, it's finished.

But people would still watch YouTube advs on iPhone replacements.
Also, some clients concerned with the negative association will decide to move to another firm.
Why can't you use lookup tables?
Just google "Liechtenstein invaded" and be surprised.
To play with data: check Excel filters. It is really hard to beat.
Guy who spent 1000h undeciding what to watch on netflix publishes a site
> I strongly believe anyone should be able to buy medicine without a prescription.

While I can’t disagree that doing so is mightily convenient, it’s a really terrible idea, due to antibiotic resistance.

Now, if people could be trusted to only purchase antibiotics when they actually need them, and to complete their courses of them, this would be fine - but you can’t trust people.

I’ve spent a fair bit of time in Russia over the years. Hangover? Antibiotics. Head cold? Antibiotics. Tired? Antibiotics. The myriad incredibly inappropriate things people use antibiotics for is phenomenal.

And you’re talking about how a witch doctor told you you had quantum demon breath and so you need antibiotics. I’m sorry, but this is absolutely part of the problem, and underscores why antibiotics must be regulated.
The mechanical ventilation with heat recovery deals with the humidity problem.
This is a pretty good article that shows some good design ideas for data tables. That said, it is a puff piece for hiring at a company and not a recommendation for something to use.

There is exactly zero open source and/or free component data tables for React that do everything in this article.

Not only that, but many are so full of bugs or so difficult to implement that they might as well not exist at all.

Serious opportunity to create a top leading project that would have a huge impact on the usability of the web if everyone adopted it.

Edit: Yes, I'd contribute to working on a project like this under a permissive MIT license, but I don't want to do it alone.
I agree until the in-view presentation. When there are few rows, the inside modal or sliding panel will feel awkward. So basically https://datatables.net/
This jquery tool meets most of the requirements.

I recently had to implement a js/jquery web application & datatables is golden : so many features, so many possibilities. Used for so long by so many => so few bugs left.
Hybrid Smartwatch HR Collider Black Silicone
> The article is an excellent example of how something that seems easy and common-place ("show tabular data in a table") requires a lot of work to make it really good.

One thing they don't mention, is exporting. Anytime you're dealing with tabular data, you really need an "export to excel" button. You'll never be able to do all the slicing, filtering, and sorting that excel can do. By all means, add it into your app and hopefully over time your users won't need it, but at the start, it's vital.
You won’t, and airlines have no obligation to transport you on a specific plane. The airlines’ website most times lists what aircraft they are scheduled to use, but they can be swapped anytime if the need arises.
> Let those 11,000 scientists kill themselves

<sarcasm>
Yeah, at this problematic moment, what we need is less scientists telling us bad news and more politicians distroying nature actively while telling us fake news. That would solve all.
</sarcasm>
Short-selling doesn't take away money from the company. Except for startups looking to fund their current growth by issuing new stock, a dip in the stock price shouldn't affect their operations at all.
What if I don't want to live in a plastic box?
It's a good addition to the UI World with lot of advantages, but...

- It's not revolutionary just different (with pros/cons)

- Lot of 3rd party libraries are not available

- Google Analytics is by default enabled (which spreads the Google Data claw)

Maybe I'm getting old, but for me it's not worth the time learning a new framework when the current market offers a lot of good, well documented and community supported options.
If base64 decoding speed makes a difference in your application, you should be considering why you are transmitting data in base64, a neat hack from the 1970's, which is non-human-readable, wastes 30% of the network bandwidth, kills compression, wastes RAM, is typically hard to random-access, and is generally a bad idea all round.
Al Jazeera is in general completely biased against Israel and YES, I MENTIONED that I have issues with a lot of their reporting.

At the same time watch the report and get your own conclusions before shooting it down based on YOUR biases and prejudices, that reporting is solid, it has video evidence from an employee walking inside the Charleston factory and chatting with co-workers regarding the safety of the planes and the assembly line.

So please, be more sensible about your sourcing, this is solid even though biased, just take it with a grain of salt and critical thinking about what parts you should consider and what to disconsider... It's a real source.

Also: be more civil, I expect better from Hacker News, your comment read like something out of Reddit.
A more than decade ago I was tasked to implement a table view in web application (it was time when jQuery was not yet popular, all the hype were DHTML and AJAX). The task was: "do something resembling windows file explorer".

When I gave the first version to our testers, each and every one of them came with non-overlapping set of features. Some of these features are listed in this article and even more.

If you look into details, you will be amazed how many features there are in such common and simply-looking interface element. It took me (and the testing team) more than a couple of weeks to "kind-a finish" this work.
> There is exactly zero open source and/or free component data tables for React that do everything in this article.

Pretty sad no? Spreadsheets have been around for 30 years and there is still no excellent solution for web apps?
Withdrawing cash is the easy part. Moving the stocks to another brokerage seems like a pain. and I fed don’t want to liquidate my positions for tax purposes
Flow hive is a cool idea, but its expensive, and a lot of people bought it because they thought it automated beekeeping whilst in reality the majority of the work in keeping a hive is maintenance, inspections, etc.
K2 is not in China ;-)
Grep from First Principles, in Golang
Hashnode IRL – Developer Meetups Powered by Hashnode
I understand that CRISPR can change the genome in a specific chromosome, but how do you change the genome in all cells of a body? Or you don't need to change all cells in order to cure genetic disease?
Do you like Intercom filtering system? Now you have that with your content
What plastic box would that be?
Satellites track Real-Time damage of ocean blob menacing Hawaii
DIY Effective SEO for Software Businesses
And introduces its own mold problem.
Show HN: An easy way to compare GitHub repos side by side
> My whole argument is that in the long term, MS’s focus on the Enterprise and backwards compatibility caused them to miss out on all of the next waves of tech industry - including the web and mobile.

They missed out on mobile for sure, but it's not because of their focus on the enterprise or backwards compatibility, and you'll have a very hard time proving so. Also they haven't missed out on the web either, and neither can you prove that they did. Just because there is a bigger cloud provider doesn't mean that they 'missed out'. And there will be bigger fish to fry, new technologies are coming out every year.

Apple and Microsoft are in vastly different spaces. Apple focuses on consumer products, Microsoft makes its money from the enterprise. An Apples to orange comparison is not meaningful.
Wojciech Muła really groks SIMD. It's well worth exploring his other work in that area: http://0x80.pl/articles/index.html
It's ok and good until "Quick view". Click on the left of the screen, sheet slides out from the right, and you have to move the mouse all the way to the right to close it.
NTSB: Uber Self-Driving Car in Crash Saw Victim; Wasn't Programmed to Handle