skysight-inc/HackerNews huggingface dataset:
> Anything that is done at cost by the government is viewed by many as a lost potential profitable and taxable business; one that would drive up the GDP (Gross Domestic Product), a well used measure of an economy.

No, that's not how GDP works. The GDP measurement is independent of whether the action is performed by the private or public sector.

> Problem with using GDP, in my limited understanding, is that taxing things, even your breathing air, increases the GDP

No, that's not how GDP works either.
We listen to foreign music a lot and still find pleasure in the voices. Although I'm mostly speaking from my experience with English before I had learned it, which is yet rather close to German, so YMMV

>No True Scotsman thinks that subject matter is irrelevant

fixed that for you
Aviation engineers are in the same boat, so no the lessons are not transferable. EX: F-35, Space Shuttle and it's replacements etc.

Hell, look at Asbestos, reinforced concrete, or the big dig and the construction industry is clearly less competent than generally assumed,
Perhaps because this machine is basically a very big platform for professional input methods. If you have no need of a stylus and a large working space for media with flexible positioning factor...

Then you're not the target market.

What's more, when we're talking about the professional space it's like... it's quite normal to NOT have hyper-upgradable boxes with cutting edge hardware that isn't well supported by the current crop of editing tools. Cutting edge hardware is the product of Dentists and Software Engineers who fancy themselves a member of that space even though they're really not. Not unlike how professional photographers almost never ride the latest model release.

It seems like a lot of people here are thinking of this as a recreational gaming box for rich people. Surface machines in general perform poorly there.
Products Apple doesn't have: a big touch-screen desktop, a touch-screen laptop with detachable keyboard, that weird puck thing
It's possible that your recruiter quit and hopped to a different company. That is one common source for recruiter going dark. It's also possible you got a really bad recruiter... there's an enormous variance of recruiter quality.

Just guessing here, but auto generated emails are tricky because you don't want to send people incorrect messaging by accident (for example if your recruiter wants to swap you between application roles, it may involve a cancel and add, which could send an auto rejected notice - (hypothetical example, I have no idea)).
I respectfully disagree. You don't need constructors and certainly not destructors (really not sure what you mean by this in the context of React, can you elaborate) and these are not really the main OO concepts. Polymorphism, inheritance are, but you don't refer to these?

There is no inline XML, and I'm not aware of any other popular (or otherwise) React alternatives where you use long files which create, destroy, append and prepend DOM elements?

I'm also not sure what you mean by patch, or what the specific benefit you're highlighting here is - just modularity? You can do that with any framework, it doesn't seem unique to React - at all?
Brilliant use of Riot.im!!!
Multiple Kill Vehicle
WebGL Texture Compression Made Easy
1. "The algorithm" is the same in all cases here: a linear scan with a look-behind of 1. We're just talking about how the algorithm gets translated into code.

2. My point wasn't about the `for` loop: https://news.ycombinator.com/item?id=12798192

3. Yes, I don't do any error handling and neither does Linus. I wasn't trying to bring up the importance of error handling. I was trying to bring up the importance of avoiding undefined behavior. "Segfault" was shorthand for that. Dereferencing NULL is undefined behavior. I mostly don't care about "taste", but showing undefined behavior while talking about taste seems egregious.

4. Finally, I don't get nearly as hung up about "duplication" as most programmers: http://www.sandimetz.com/blog/2016/1/20/the-wrong-abstractio.... I realize this is still a minority opinion, but we own the future. (This comment has a bunch of duplicated 'e's, but we both agree that that's unimportant to "DRY" out. Your concerns strike me as similar. When you try to minimize the number of occurrences of "x != NULL" you're doing Hamming compression, not programming.)
>Either the luggage or the people would have to be ordered.

People come off the plane pretty close to ordered (singled door model. A machine that reads the tags could sort the luggage cause it could know what seat you're in.
Show HN: Kiflee – Social movie recommendation app
The video appears to imply that the app has operators that are transcribing police scanner activity into app reports, I don't believe there is any non-public info being accessed or govt partnership here or else I would think it would be advertised. Can someone confirm if this implication is correct?

I always had the idea that more and more NYC police radios are being trunked and encrypted in ways that the public can no longer access, does anyone know if this is the case?
You can use `as?`:

if let string = thing as? String
What's the problem with empty beer cans? Don't you Americans have breathalizers to know if a person was under the influence while driving that you need to fuck people over for being untidy?
The Stockholm municipal fiber company is wholly owned by the city, makes a profit, and reinvests every single krona into upgrades and expansion.

It took 20 years or so, but they started with the most lucrative routes in the inner city, serving companies and universities, and then slowly expanded their network over the years until they're now at a point where I think they've covered almost every home in the city.

No tax money used beyond the initial funding, since it's a profitable company, and no legislation required, since it's just a company. And the competition can't whine either, because this company isn't doing anything they couldn't do.
Thirty-three minutes in, he comments about how he would have handled the Donald Trump/Peter Thiel noise that's been going around HN.
> For example, I have 250/100 mbit/s for free.

This isn't "free" - your taxes pay for it.
I don't think they were idiots; but Google's whole operating model is built around taking Very Smart People and throwing them at Hard Problems. Sometimes, a problem may seem to be ripe for disruption because it is held back by what seems like a lot of legacy overhead. The assumption is that you can come in with a different approach, and change the operating model to the point you end up with a structural cost advantage over your competitors.

And sometimes that doesn't happen. What may have looked like a stodgy and ripe-for-disruption industry may actually be one with huge logistical challenges that force the industry to be stodgy and slow -- not the other way around. Still, it was a good bet for Google as part of a portfolio strategy: if you make 10 of these types of bets and only 2 of them pan out, you're still doing pretty well. It's not always obvious which industries are ripe for disruption and which ones are held back by market forces and product constraints.

I think they saw it as "Maybe we can find a new model that can disrupt the market, maybe not, but at the bare minimum we can force the ISPs to do better which benefits every other service we provide." They never provided Google Fiber with the kind of investment it would have taken to be successful on a large scale -- Verizon spends more money on its network in 3 days than Google Fiber spent in its entire existence -- so I don't think they seriously thought it would end up as a success. It's also a big CapEx investment in infrastructure, which has a pretty good salvage value if sold to other telecoms (so they'll likely get a good portion of their investment in GF back).

At the end of the day if they end up losing $20-30 million on the whole Fiber deal, they'd call it a success for raising the mindshare of what consumer Internet can and should be. It also won Google a lot of points in the court of public opinion against the major ISPs, so as a marketing / PR exercise it was likely a positive contribution to Google.
curious what you mean by 'complaint ideology' ?
The biggest issue I have had with their subsystem is that of the file system (NTFS). The fact that I can't have long paths and can't soft link seem ridiculous.
Which version of macOS are you on?
FkYourBloat. Vanilla JavaScript TodoMVC in 140 Lines
I'm not sure if this is insightful, sarcastic, crazy, or most likely a mixture, but I have occasionally thought that the mighty GOOG is trolling us with their traditional hiring process and if you actually want to work there its infinitely easier to found or join a startup they'd find tasty and get yourself bought. Which is an interesting way to finance and report hiring bonuses, and the ultimate form of portfolio building as an interview technique.

Personally I am not willing to jump the hoops to get in conventionally and I don't actually want to work there, I know I can't tolerate what I'd have to do to get hired there, but I am pretty sure I could stomach what I'd have to do to get acquired, if I made it my full time goal.

This also fits into the financial offer. I don't live in SV and some years ago a Google recruiter tracked me down and unfortunately the general terms of the job position meant a staggering hit to the standard of living of my entire family.... I just can't abuse my wife and kids like they wanted me to. What they proposed was pretty brutal compared to our current standard of living and budget. However... if they bought my startup, and I dumped the money into Mountain View real estate, essentially giving me a free house, well, that's different... with no multimillion dollar mortgage I could afford to work there for the original offer...

Its an interesting solution to hiring when you're located in housing bubble central.
And it's based off NTrig tech, too. Competition is good ;)
Yep I'm talking about leaving it detached - chilling out on the couch using the tablet, without the weight of the bottom part. I'd hoped the Surface Book would replace my iPad but it just replaced my Macbook.
Tech specs listed as Bluetooth 4 LE so I assume it will work cross platform
Are there any tech startups/companies which are already offering a full WFH?
It happens in trading fairly regularly.
Speaking of good "taste" you could apply your "taste" to what are worthy tests and what are not (ie adding just maintenance). The fact of the matter is you need some sort of testing to happen or some sort of proof that your code works on a continuous basis and if you don't have that to happen IMO I'm not going to say it is good code particularly when it is based solely on one persons opinion of what is good looking code. Aesthetics compared to performance, readability and automated testing are pretty low on my list. You may say aesthetics brings those characteristics and it might but lets have some tests to prove it.

As for maintenance and test code being invalid it doesn't have to be as buggy and in fact can be even in done in a data driven style or declaratively. Besides if it is a true unit test you should have written the test. If its your code and you have such good "taste" shouldn't it not "break down into a mess"?

There are plenty of projects like SQL Lite, and jQuery that have excellent "taste" not just because of the quality of code but because of the test coverage. Oh and I won't go downvote people who disagree (which my parent seems to be) because I hold that to be poor in "taste" IMO.
So it doesn't seem to be about the actual research documents:

had been approached by interested parties, including lawyers representing Monsanto [..] and asked to release private emails as well as draft scientific documents
You could cover 90% of the population of Sweden while only covering a small fraction of the roads. You could probably cover 98.5% of the population without covering much of the road network.
My wife works at a small bridal shop. They are currently using HP stream 10 netbooks* to take orders while setting at a table with the bride/groom and family. The orders are stored on a desktop PC's hard drive where they are aggregated and sent to the vendors. I think that there are a lot of edge cases where you don't need a lot of processing power that netbooks excel at.

* I don't think they call the netbooks anymore, but effectively that is what I consider the HP stream devices. 32GB of non-upgradable solid state storage is all they have, and near half that is the OS install.
Speaking as someone who wrote a JSON parser, this article and the accompanying test suite looks to be very valuable, and I will be adding this test suite to my parser's tests shortly.

That said, since my parser is a pure-Swift parser, I'm kind of bummed that the author didn't include it already, but instead chose to include an apparently buggy parser by Big Nerd Ranch instead. My parser is https://github.com/postmates/PMJSON
Windows 10 is a superset of ChromeOS and that makes it a great conservative choice for casual users.

They might need iTunes/Office/tax software/... in the future and Windows will have them covered, without buying another machine in the next 5-10 years. It's like a Swiss army knife for computing.
Ah yes, ad hominem, the tool of choice for reasonable people.
How I would Devops at Work
> I wonder what is the point to have artists in the future and how the artists can survive?

I feel like that's a bit like someone in the 1800's asking if artists will still exist once photography technology improves.

If art creation is completely monopolized by AI then I think it's likely most of the rest of our jobs will be too.
Show HN: Pastebin that can link to C/C++ symbols
https://paste.woboq.org/ZuoGr5wfLV.cpp

Have fun using, it should be able to link to all symbols that are present on https://code.woboq.org

Technically it's a fork of haste-server that does Ajax calls to the code.woboq.org API.
Climate change wars are coming and building walls won’t help, top general warns
The last time I had such an issue with my (fleet of) Windows machines goes back to XP days.
You forgot to RTFM.
The first version had a while loop and a condition. On the other hand, the optimized version only has a while loop.
Eventually you will realize Linus is a bad person to take advice from and stop idolizing him.
I had not seen that, thanks!
Aesthetics is a game of cat and mouse. Artists create some new things. Then critics and theorists observe the patterns of composition, color, proportion, etc., that are popular. These rules are canonized in books. Then artists challenge the rules.

The comparisons to music theory in this thread are apt. Music theory is always behind music production.

How can you understand aesthetics without understanding creativity?
IOT Enabled?
My further input was required because as demonstrated you, for the second time, deliberately made a false statement about what I wrote and then addressed your own straw man argument. Most rational human beings would not leave that unaddressed.
Computer Simulations also suggest reality is simulated in a computer.
Can you provide several examples of where this would help? I've lived in a high-crime city (Guatemala) for a while. I imagine like other places, you develop a sense of the more dangerous areas.

Outside of that, I'm not sure what intelligence can help. Real attacks are quick, sudden. One minute I'm in traffic, next minute guy's shooting the car in front of me. And a minute later, they're gone. There's basically no value in "yelling" about these things. At best, report them on Waze so people can avoid the possible traffic.

For more drawn-out situations like domestic abuse, what's your expectation? Nearby won't intervene, but someone a few floors away is going to get an alert and what, jump in? Sure, you can invent scenarios where this might help (or even save a life) but I'd be surprised if this doesn't backfire.

People responding to crime are going to be self-selecting to be vigilantes. A vigilante guy responding to a domestic abuse situation sounds like the start of a tragic story.

Which scenarios do you see with positive outcomes? What is your team doing to mitigate the downsides?
Oh good lord. That edge-initialization code made my jaw drop. Did he not think about the problem _at all_ before putting code down?
First, sensory overload is a real thing (to extend the analogy). Second, there's the presumption that "more information" = better but that's not clear in this case. 911 calls are often themselves reports of past events (recent past, but still past) so, again, I ask – what are you hoping people will do? What will they do? How do you bridge those or help people do what they want to/need to do? Awareness is rarely the real need (ala the idea that I'm not really buying a drill because I want a power tool – I'm buying a drill because I need a hole made here, here and here).

If you don't actually have a clear answer to that, then this is a half-baked idea because it's not clear what problem you're really solving – and it falls back to the idea of "ZOMG! AWARENESS!!!!1" which is really a sign of insufficient thinking, IMHO.

I'd challenge you all to step back, articulate a clear problem frame and goal and maybe then look at the way crime unfolds – map out before, during after and look at what awareness does at each of those points (and what signals you can meaningfully find). How, then, can you build an app to do those things/support those aims and activities that you've identified as your goals? If you've done that, then articulate that in your description/writing.
This misses the fact that much of that UK figure is FTTC (Fiber to the Cabinet). E.g. I live in the rural UK and have a 'Cable' line that is 200Mbps down/12Mbps up.

Given most consumers use wifi within the home, and at these speeds it becomes the gating factor, is there any advantage (excluding nerd edge-cases of the average HN reader!) of faster speeds than that?
Still is practical, OpenBoot/OpenFirmware is still what boots big IBM POWER servers. Not sure if Oracle still uses it but Sun did.

OpenBoot is basically like UEFI but less complex and written in a Forth dialect. It's quite cool.
> Breaking the behavior of my back button is one of the worst user experiences I get these days. Usually it makes me so angry that I just leave the site right away.

Obviously that is not the wanted user experience. Disregarding SPAs as a solution because of an unintended behaviour is kind of throwing the baby out with the bath water.

> Browsers can do that on their own since forever, given a carefully crafted HTML page.

How are you rendering parts of something from a server before receiving anything from the server using only HTML? I'm talking about the following flow:

1. User clicks link

2. Instantly the layout etc. is rendering using JS, with fancy loading elements (maybe ala how FB does their news feed) for the missing items

3. The data is loaded and put into the layout

Whereas for the non-SPA flow the user would have to wait for data to be received before anything is rendered. Of course pre-fetching alleviates this a bit, but it still requires the whole page to re-render.
Was your neck injured due to a crime? Maybe target this app as a public safety tool, not a vigilante crimestopper system.

Edit: A really great angle is allowing groups of people to get notified together. Works best with phone integration. At my last company I created a 9-1-1 product that does exactly that. A user could load neighbours or relatives to be alerted and listen in to their 9-1-1 calls. That way if, say, an elderly relative called 9-1-1, nearby family could perhaps intervene (for minor stuff or cases where the caller is suffering from a mental lapse) or at least know what's going on immediately.

This is also a great value add to businesses or campuses that want to know about emergencies in real time for coordinated response. Or just to know when paramedics come in the front door, who is having the incident so they can efficiently direct them.
Have you read him? If so, why not synthesize his arguments so we can all understand?
How to Hire Great People
There's a compromise enterprise developers should recognize from CS classes that's almost elegant enough for the kernel crowd: use a sentinel node for the element before the head. The edge case is eliminated, and no more &(*)->; ASCII Cthulhu.
Small Correlation between Breast/Uterine/Testicle cancer and vaxx coverage
Link comparing 4 graphs: http://i.imgur.com/hHLePbY.jpg

Vaxx coverage and Breast/Uterine/Testicle cancer

A quick check of graphs on google makes me think its even deeper when you add: deformity, abortion, miscarriage, retardation, autism, mental illness, some of which raised 400% when vaxx rates went up 400% at 1975 or 1980 (the number of shots was 4x'd or 2x'd every 5 years)

(vaccines are not little ufos. psych.)
So why is it a weird request? To me it seems logical that the industry wanted to know how the WHO came to its conclusion, exactly because those other bodies all came to a conclusion which was the opposite of the WHO's.
I suspect this computer took a while to develop and the 1080 wasn't available at that time.
A casino magnate is spending millions to fight legal marijuana in three states
"Wow! Another UI framework for the web," said no one, ever.
Do not worry, this one does not fly. It is not even fully tested. In fact, it is not even assembled. Not a single one. It could be a weapon of mass destruction, but everything military in Russia after 1991 is more like a weapon of mass amusement.