skysight-inc/HackerNews huggingface dataset:
You don't need C++ with QML.

https://github.com/qmlnet/qmlnet

I used it at work on my embedded devices.

https://medxchange.com/4klear-all-in-one-camera-recorder/

I highly recommend it. PS: I'm the author.
> - Yeah, hate that Google walled garden. Much better to go with Apple.

For a lot of people, it is.
How do you know whom to vote for?

I understand the US doesn't have a lot of choice on the ballot, political news is highly polarized and latest/developing news is probably not worth following. But somewhat keeping up with what your government does so you can hold it accountable seems like a civic duty to me. And what better way to do this than news?
I am writing this from emacs experience (some if not all these features are in vi as well), there are features from emacs that make a real difference in writing programs especially:

* Unlimited yanking from kill rings: ie pasting text from history of the clipboard.(This is one thing I have most difficulty with when switching from emacs to modern editors)

* Macro recording and playback : recording an arbitrary set of edit operations and then replaying them any number of times.

* two or more code frames/windows side by side, even displaying the same file Surprisingly modern IDE guis seems not designed for it, eclipse can do it but clumsily.

* Remote file editing: use the IDE tools to edit file residing on another computer.

* Column edits or rectangle edits. Selecting a vertical column or rectangle of text and copying, moving it to another place.
Wouldn't knowingly sending false reports be a misdemeanour, or even felony?
Amazon workers listen to Alexa recordings: report
"Is there anything that I'm missing and/or that I should be worried about?"

- Does the company already have any assets (tangible or intangible) or any revenue? (This would help you to value what the existing founders have already done.)

- How will all founders' shares vest over time? (see https://avc.com/2018/03/founder-vesting/ for a sense of what can go wrong if founders' shares don't vest)

- Will any/all of you be drawing a salary? At a discount to market? (market salary + 20% equity is very different from zero salary + 20% equity).

- Are there different classes of shares, or just one class? (i.e. are the shares you will get on the same footing as the shares the existing founders have)

"This entrepreneur has previously built a company to nine figures in revenue and IPO"

Can you talk to any co-founders or very early employees of that company? Did they get rich together?
Here’s a rule of thumb I’ve come up with: whenever a politician or industry lobbyist says that some policy will create/destroy X jobs, divide X by 100 to get the real number. You’d be amazed how consistently accurate it is.
(author here)

It's not just conventions and limitations.

For example, you can't use an img tag on an AMP page. That's invalid AMP. You have to use an amp-img tag, which is rendered client side with js.

Another example is with forms. It forces you to include the amp-form js.

If it were just best practise, I'd be far happier to go along with it. Kind of the point here is that we were already using best practise, because the site was super fast.
However, any programmer that's been around the block a few times knows when they see a phrase like

"all of the problems on the Ethiopian flight could potentially have been avoided by changing....about 10 characters of code"

It's a sign that things are never as simple as they seem on the surface.
I was referring more to their motivation for doing things, not specific shitbag things they do now.
Hi, full disclosure I'm the founder of a company providing AMP services.

You can hate and have valid arguments against AMP, but... on this article, in particular, where is the data?

How can people comment and form an opinion based on basically nothing?

Am I missing the "before and after" links with the benchmarks?
vim for command line, pycharm for python, webstorm for web, geany for everything else that needs a GUI, works great!!

used vscode for 2 years on and off, finally decided to part away two months ago and bought webstorm instead, the time spent on vscode with all the configuration and plugins and settingsync(which is not reliable) is way more expensive than webstorm's license fee(same as pycharm)
Ehm, UK probably blocks more internet sites than most other EU countries. Never mind that UK libel laws are notorious; saying that homeopaths are quacks can get you in to serious problems.
These arguments don’t invalidate OP’s critique of Google’s positions though.

https://en.m.wikipedia.org/wiki/Two_wrongs_make_a_right
I could definitely see the applications when it comes to optics, even just considering the assembly of camera lenses could be improved or automated more with a process like this. Maybe it could be used for automated optical alignment to improve optical quality and consistency. Current methods for doing this are very manual.
I agree, good start.

But I think it will take decades, not years -- before western journalism, and major online news distribution sources will rid themselves of stigma of being 'propaganda arm of US coup orchestrators'.

So trusting the members of trust project will have to be earned, not assumed...

Recent revelations about Google

'The manual adjustment of search results by a Google-owned platform contradicts a key claim made under oath by Google CEO Sundar Pichai in his congressional testimony earlier this month: that his company does not “manually intervene on any search result.'

is not helping the trust rebuilding either.

[1] https://www.breitbart.com/tech/2019/01/16/google-youtube-sea...
China is not a communist country, it's a “communist with Chinese values” country. I don't know what it means, but every time the topic is brought on the table, this is the official stance from the Chinese Communist Party.

I guess it means you owe loyalty to whatever authority you get: father, teacher, employer, emperor. Respect them, or they will crush you.
>(SSH is the best-known example), where global PKI schemes have never once worked.

I’ve seen PKI work for SSH in $large-gov-branch. It works just fine but it requires a cert infra most orgs don’t want.
Also you can encrypt SNI in Firefox, just enable

network.security.esni.enabled

https://blog.cloudflare.com/encrypt-that-sni-firefox-edition...
Article spinner.
Millennials being squeezed out of middle class, says OECD
Yeah. It's really not too bad. It's certainly a little bit better if you take the ~4-10 lines to reconfigure a couple of keys. I map dhtn to hjkl and move d to j, n to l. It's pretty natural after that.
The term for this strategy is "collateral freedom":

https://en.wikipedia.org/wiki/Collateral_freedom
Google is in a position where they could have disallowed protocol downgrades, setting a standard without defining a standard.
>an array of relatively large sensors with very high exposure looking at information from something very far away, and combining that data with a 'brightness' scale, instead of a 'colour' scale
I like the sound of that far more than photograph, but I will relent, not worth getting into a slap fight over what constitutes a photograph...face palm
That happened to me too. Owner restructuring companies or moving from LLC to LLC and then starting the vesting schedule over again. It's fairly common it seems that owners play games with the people who actually build the company after the work is done.
(Author here)

You can run the test yourself on the AMP and non-AMP versions of an identical article to see yourself.

(Note: sometimes the numbers are off the first couple of times you run tests. If you run them multiple times, the AMP articles tend to score (sometimes significantly) lower.)

Non-AMP: https://unlikekinds.com/article/google-amp-page-speed (Results: https://imgur.com/OVpdwyh)

AMP: https://unlikekinds.com/amp/article/google-amp-page-speed (Results: https://imgur.com/I3ha7Gi)

Edit: More data here:
https://news.ycombinator.com/item?id=19630846
How many companies that use Google's ML engine have read the ToS?
"Customer will not ... use these Services to create, train, or improve ... a similar or competing product or service ... such as cars, TVs, appliances, or speakers without Google's prior written permission"
"..Customer will provide Google with any assistance Google requests to reasonably confirm compliance with these terms (including interviews with Customer employees and inspection of Customer source code, model training data, and engineering documentation"
IIRC they are doing some kind of tech study which got them a grant to build the place. There's an entire suite of things from "smart-solar" to the Alexas. The thing about the lease is not fact, it's just what the leasing office told me when I asked about it, I did not read an actual legal document.
Since I "grew up" with vi I mostly use vi when using vim, but I do appreciate syntax coloring. I find it easier to scan comments that way and pick out constants.
Many companies can offer double salary for 996, and many people would happily accept it.
AMP's license is technically Apache 2.0, but functionally, AMP's license is irrelevant. The only AMP code that matters is the code implemented on Google's servers for serving search results, as that is what everyone must comply with to be placed well on Google. Nothing about openness or transparency or governance of the project actually matters, because the issue is how AMP is used by Google on Google servers.
Places to Learn to Code Online
Which industry are you in? Would love to get your thoughts on the IBM platform.
JQuery should be taken out back and shot!
I don't know what you are intending to mean with your first point. Yes, you can change a word in my comment to a word with a different meaning and it will change the meaning of what I said. That doesn't mean what I said isn't true.

Healthcare is really too big and broad of an issue to really highlight what I am saying here. There is no way not to at least be aware of it if not interact with it and it has been one of the biggest political issues in this country for decades. However you can take a look at certain pieces of that to see my point.

For example, a tiny minority of people reading this have any reason to know the price of a month's supply of insulin is over $450 or that 1 in 4 people with diabetes are rationing themselves insulin in order to afford the drug. But more and more news stories are highlighting this issue which is leading to political pressure to address it. Just today there was a congressional hearing on the subject. I have no idea if something will be done to reduce the costs of insulin, but I know the price wouldn't go down if people just ignored every news story about it.
Probably a basic question, but if entropy is causally connected to time, why don't different locales have different rates of time based on how rapidly the local environment is moving toward greater entropy.

That is, in deep space almost nothing is happening while here on earth a lot is happening to increase entropy, so why does time go at the same speed in both places?
Good things the cops got there. Given enough time, the Roomba may have made a clean getaway.
One of the best things to do when people tell you they followed you for your interesting thoughts but had to stop because of one thing you constantly rant about, the best response is definitely snark. The only way you could have appeared more obvious and self-centered is if you had provided materials about why DNSSEC sucks.
Amazon employees put pressure on Jeff Bezos to release climate change plan
> This has negative implications for security.

Yeah, Erdoğan won't be able to block oppositions' web sites. That is a very big threat! /s
The AMP version gives me better results: https://www.dropbox.com/s/g4jchw76sh9x49k/Screenshot%202019-...

Non AMP version:https://www.dropbox.com/s/lclqqdbdliuofjf/Screenshot%202019-...

My email is on my profile if you want to talk about this. Maybe we can help.

Edit: If you compare against the cached version, the version that your mobile users are going to hit, the results are much much better: https://www.dropbox.com/s/c2y5akqclcim7tm/Screenshot%202019-...
Hmm, I've got syntax/compile checking, linting, automatic code formatting and generation, and code completion based on context in vim right now. I don't see how any of the problems you mention are vim specific.
> Give it another fifty years

I see you have not been following the CO2 news.
Don't the yuppies generally vote democrat and the democrats usually oppose these things while the very-not-yuppies tend to vote GOP and the GOP usually likes/is ambivalent about these things? Like, I get it, gotta grab a side in The Culture Wars, but we should at least be fair about it shouldn't we?
Are you guys quite embedded into the Google Cloud system?

We’re a startup that helps with AI deployment management (our only focus is production AI - embedded everywhere) and I wonder how many companies are who’d be interested in their end-to-end offering.
They are hardly the only aircraft manufacturer, though decades of neglect of antitrust has allowed them to become he only remaining US manufacturer of civilian aircraft. But if they are allowed to let them die we can still get large passenger aircraft from Airbus, smaller ones from Brazil or China. Not to mention from new entrants that will start up when the big gorilla goes away?
Pretty good synopsis, but a few things:

Gary Stern started Data East Pinball with the remains of Chicago Coin (and then ripped off the electronic design from Williams). DE did indeed become Sega and then became Stern in 1994.

Williams shut their pinball division down in 1999 and the assets have been licensed out to various entities in the 20 years since. The remaining slot machine company (WMS Industries) was purchased by Scientific Games in 2013. SGI also owns...wait for it... the remains of Bally Gaming.
> my reaction wouldn't be to speed the vehicle back up to avoid the warning...

In car you can see and feel what's going on. In a jet at night, with complex behaviour in 3D, you'll have much less sensory input, close to zero. Hence Instrument flying.
If you want an example of a tech company that actually decided to prioritize public good, I'd present Kickstarter, which has specifically registered itself as a public benefit corporation.
They are admittedly a lot smaller, and I'm sure there were a lot of situational details that made it possible, but they did it.
I'm in New Zealand, and finding the Christchurch shooter's manifesto was harder than you'd think.

The "it's not foolproof, so it's fruitless"-argument strikes me as missing the point. We can't prevent many things from happening (rape, thieving, excessive drug use, etc.) but that doesn't mean that efforts to contain this are useless.
I've got resurrect and continuum installed and all they ever seem to do is load up an empty vim window that is rendered improperly. What is your setup?
IIRC from a previous discussion on HN, those browsers are essentially a VPN with a MITM proxy, and obviously trust the company's own certificates.

I believe that proxy does have other more benevolent uses than censorship, which is why people use those browsers in the first place.
The whole of jQuery minified is 30kb. Why you would ever need 50kb for a single AMP page is beyond me.
Would truly love to know who's actually buying this publication on a regular basis.

I'm assuming 80% of sales are impulse purchases in the checkout line, but really, who is getting these delivered to their door (if that's a thing).
My comment you’re replying to already acknowledges that this isn’t a convincing argument by itself.

Whats up with the unnecessary hostility?
I trust Apple not to sell my data. And I'm willing to pay the hardware markup for that.
In a refactoring IDE, you never risk overmatching or under-scoping. You just rename the syntactic object and it's renamed exactly where it needs to be, including possibly on the filesystem and in git.
No, quite unlikely. You can't hide network traffic (or much of anything else) just by compiling your JavaScript with Closure Compiler and Google engineers know this.

Looks like there is a config setting for this: "cloudcode.enableTelemetry".
Step 1) Use boxes that are an appropriate size
DigitalOcean – Custom Subdomains for Spaces CDN
Does homophobic count as free speech?
I imagine there are probably IDEs out there with low-friction searching, highlighting, diffing, replacing, block operations, and convenient macros, but I never ran into those features in the IDEs that I've used. I also expect there are probably IDEs out there that don't crash on code bases larger than a GB and code bases which can't be compiled locally, but I haven't used those ones.

>> Here's just a few IntelliJ features I use daily that Vim doesn't have:
vim is intended to work with an operating system. The following assumes C or C++ since that's what I use. Maybe someone will find this list of equivalents useful?
1. Go to declaration: I use ctags which is built into vim. clangd can do better, but I've never bothered.
2. find usages: ctags also has support for this I think.
3. rename method/class: I haven't needed to rename something that wasn't exclusively in one file yet, but I expect clang-rename works well.
4. change method signature: not sure what this does. If it's just changing the declaration of the function, that seems pretty easy. ci(
5. auto-import: This one seems harder to get, but I never noticed it wasn't there. For in-project stuff, I just jump to definition. For standard library stuff, it's standard library.
6. shortcut to override method: I don't do much inheritance, so I never really noticed. This seems pretty easy to do a hack job with a macro and jump to definition.
7. easy-to-configure style rules: clang-format
8. really good code completion: basic autocomplete is built into vim. clangd is probably pretty good, but I don't usually need autocomplete.
9. quick access to javadoc: cppman is pretty good. https://stackoverflow.com/questions/2272759/looking-up-c-doc...

Maybe the state of tooling for Java isn't as openly accessible outside of an IDE and isn't as good for vim as C++? If using an IDE works well for you, great. I like using vim because it's lightweight, has good support for different file endings and large files, scales to any size code base I've encountered, and it gets out of my way. I feel like it's optimized enough that my brain is the limiter.
The Case for Selling Exceptions
It does, however, contradict Google's insistence that the AMP project is independent form Google.
I simply buy a weekly newspaper and read it. I’m always 1-1.5 weeks behind so I never feel as “emotional” or follow things that closely. I want a general feel for some of the things happening in the world and that is it
You don't need to record it, or at least you only need to record locally the part being spoken while you're doing the analysis; if they've consented you upload the recorded section and then realtime info; if they aren't one that consented you discard the cached snippet and stop recording that person.
I think this says more about those developers than it does about Vim. In my experience, people who are highly effective at programming in Vim typically have it configured in such a way that it offers language-specific functionality comparable to any IDE. You don't get that out of the box (unless you use a Vim distro), but you are able to personalize it to your workflow more exactly than you can with an IDE. A junior developer probably isn't going to be more effective in Vim than an IDE, but a very senior developer easily could be. And somebody who is committing code with lots of obvious errors is almost by definition not a senior developer in my book, regardless of whether they're programming in nano, Vim, or an IDE.
No, it was explicitly because Boeing wanted to be able to short circuit the normal safety analysis in order to get a poorly designed product to market to compete with the airbus a320neo.

The level of trust in the US aeronautic safety agencies can be summed up in other countries explicitly requiring non-US investigators.

That is the long term impact I'm talking about - it seems entirely plausible that this will become the norm rather than the exception it is now.
Ads aren't preloaded in AMP pages.

Also, I don't think you understood my comment. I mean safe as in not deanonymizing the user to pages they don't visit. If you preload a non-AMP page, you have deanonymized your user to a third party publisher and the ad servers on that page.
An open-source employee handbook built for inclusion
Domain name systems are designed to be hierarchical, so it makes sense for Amazon to register within this hierarchy, which they already have, i.e., amazon.com.

The nations of the Amazon basin have a more complex situation regarding fitting within the hierarchy. Perhaps amazon.int?
Purism (the makers of Librem hardware) are a "Social Purpose Corporation": https://en.wikipedia.org/wiki/Social_purpose_corporation

Which I believe both can be publicly held, and as stated in Florida, shareholders can actually go after them for failing to create a public benefit.

Perhaps in the future, we should be hesitant to ascribe positive social traits to corporations which don't have this in-built motivation.
How so? What’s the problem with selling TLDs to people willing to pay fuckloads of money for them?
Hey, you weren't kidding. Mine is

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1 Safari/605.1.15
I agree entirely, but we all use adblockers right? :D
> While fork() might be sub-optimal for launching different programs (fork() + exec() vs. posix_spawn())

I don't think it is suboptimal. As the paper acknowledges it primary use is to set up the environment of the program you are about to exec(). There are four points to be made about that:

1. If you don't need to set up the environment it imposes almost no coding overhead. It reduces to "if (!(pid = fork()) exec(...)". That's hardly a huge imposition.

2. It doesn't seem to impose much runtime overhead either. If it did Linux and BSD would have acquired a spawn() syscall's ages ago. As it is they all implement posix_spawn() using a vfork() / exec(). Given we are talking a 30 year history here any claims getting rid of the fork() would give a noticeable performance boost should not be taken seriously without evidence.

3. If you do need to setup the environment then yes there are traps with threads and other things. As the paper says it's terrible - but to paraphrase Churchill the one thing it has in it's favour is it's better than all the other ways of doing the same thing. They actually acknowledge how to replace flexibility allowed by fork()
is an open research question. "We think it's horrible, but we don't have an alternative" isn't a convincing argument.

4. For all it's faults fork() has one outstanding attribute - it's conceptually drop dead simple: "create an exact copy of the process, the sole difference being getpid() returns a different value". That translates to bugger all code needed to implement it, few bugs, small man pages and a simple interface. A replacement providing the same flexibility will be some hideously complex thing that tries to implement all the use cases people used fork() for. It will be big and hard to learn, hard to use correctly, take reams of code, still won't do all that fork() allowed you to do. We will be complaining about if for decades to come.

I stopped reading the paper when they claims O_CLOEXEC was an overhead imposed by fork(). It isn't. The telltale give away should be it doesn't take effect on a fork() - it happens on the exec(), and the spawn() or whatever does exec()'s job. If you remove fork() things like O_CLOEXEC is your only way to control what environment your child process gets. Therefore one outcome of removing fork() is the reverse of what they claim - you won't get less O_CLOEXEC's, you will get many, many more of them as programmers clamour for ways to do the things fork() allowed them to do.
See also: Bethesda.