skysight-inc/HackerNews huggingface dataset:
people write better c than c++ because they are less tempted to over-architect. We've all come across terrible meta-templated c++ code with abuse of OOP all in the name of "information hiding". The main problem against c is the puny standard library. It would be nice to have a few more built-ins.

I think c++ without inheritance would be a very nice language.
Accelerated depreciation schedules often have tax benefits compared to linear depreciation schedules.

See here for more info: http://www.investopedia.com/walkthrough/corporate-finance/2/...
Jon Crabclaw born 1987
The writer "meant it to mean" that, given a static REST-backend codebase, there will essentially be a static set of message schemas that will flow over the wire. (In "really dedicated to HTTP principles" REST, these are each indicated with their own application/vnd.org.example.barapp.v1.foo-message+json media type.) You could write C client with a `struct` definition for a given message type, and said code would never break, because a message of a given type always has that schema.

GraphQL, meanwhile, allows the user to specify the "shape" of the result they want, by specifying what fields or associations they want to be included in the result—but these can also be parameterized, and the accessor-function that receives the arguments is free to do anything it likes with them, instead of just using them to select an association or field to pass back. It's effectively equivalent to the ability, in SQL, to do "SELECT arbitrary_function(field) AS column".

There's no way to create a compile-time static type, especially on the backend, which could hold the response to an arbitrary GraphQL query. (Or, equivalently, you can think of a GraphQL response as being a tree of widely-product-typed fields, similar to modelling a decoded JSON object in a statically-typed language.)
Show HN: Self-hosted bookmarks app with delicious/chrome import support
DHS Plans Face Scanning Drones at Border
There wouldn't be 8 million paying users without a free tier.
Mailbox.org does E-Mail for over 20 years [0]. ProtonMail only exists for 3 years [1]. Thus, I give Mailbox.org a higher chance to be still around in 10 years.

ProtonMail does PGP via Javascript in the browser, which is ridiculed by security people. Mailbox.org tried that in 2015 and it did not survive their internal pentesting [2]. Maybe ProtonMail has better coders. Maybe not.

Mailbox.org smallest offer is 1€/month. ProtonMail lets you choose between nothing and 5€/month. I like the mailbox.org price point.

If you believe in secure communication via email, you should support ProtonMail. They try to make it hip and easy. In my opinion this is a lost cause. Even if we could educate the masses about PGP, this is still behind the Double Ratchet Algorithm [3].

[0] https://mailbox.org/en/history/
[1] https://en.wikipedia.org/wiki/ProtonMail
[2] https://www.reddit.com/r/de/comments/3z0ymc/mailboxorg_oder_... (german)
[3] https://en.wikipedia.org/wiki/Double_Ratchet_Algorithm
Ooh! Those are neat! They look Lego Minstorm-ish. Cool!
Huh, hadn't seen it around. Interesting. (And missed that line)
Sounds a lot like Rammstein
OneDrive is great too. I started as a OneDrive free user, then decided to upgrade once I hit the limit. I didn't have a need for the Office 365 stuff as I have a license from my university, so I opted to migrate Drive.

That's interesting. So I can only have one Drive account signed in on my Android phone?
I looked at Backblaze, but they haven't sold themselves as a sync platform. If I just needed backup I'd use them immediately!

My main machine has 32GB of RAM, and I bet this helps alleviate the burden of large sync tasks, but here is a link to the issue Google Drive has:

https://productforums.google.com/forum/#!topic/drive/mo298Ko...

> If you happen to have a Mac available to do these uploads, this limitation should not exist in the Mac version of the client.

Those are the words of a Google employee. Offering a product that is fundamentally flawed is unacceptable -- Google or otherwise.

> We've released a new version

Didn't work for me. Then I started getting other errors, so I gave up.

Pasting below for reference:

-------------

Ken Watford said:

Error D41D on Windows is a memory error. The Windows version of the product currently has difficulty syncing large numbers of files at once due to the memory constraints on 32-bit applications, even if your machine has a lot of memory. The number of files it can handle at once varies a bit, but it can't reliably do a million at once. The actual size of the files isn't much of a factor.

I would recommend moving those files back out of your local Drive folder and starting the app. Once it has settled, move them in a little at a time, preferably fewer than 100k at once, waiting for the sync to complete before the next batch. The limitation is not on the number of files synced, but the number of files actively syncing.

If you later need to sync all these files down to another Windows machine, you will probably need to use the Selective Sync option to only sync down a few folders at a time, adding more later.

If you happen to have a Mac available to do these uploads, this limitation should not exist in the Mac version of the client.
The answer to this question depends quite a lot on what is being developed. It's not like an engineer at Google could have their own local copy of google.com.

Most of my career I've been in mobile development, so the code basis are typically smaller. I've always had the full code on my local development machine. But you have to connect to web services and back end databases, so there's usually development, test, and production environments.
> It was eye-opening how simple the concepts of git are.

Exactly! Sometimes I'm bewildered how complex git porcelain (CLI interface) is compared to the basic building blocks.

Usually when I want to do something complex in git I think of how I want the structure to look like and then figure out which command does that ("was it git reset --soft or git stash --keep-index that did X?"). Now when I'm thinking about it I usually imagine states (like DOM trees). I see current state and the state I want to have the repo in (commits, working directly, index). What I'm missing here is a React-like reconciler that will transform one into other.
1. Even if your testimonials are not fake they do not come across as genuine but instead like the text from a 419 scam.

2. What is w/ the text "Care your family" in the top carousel?
This sounds familiar, reminds me of when Amazon acquired Kiva, they too had rivals as customers. Amazon decided to slowly stop supporting existing customers, and focus only on its internal operations.

I think the lesson here, for something as crucial as automation, you're taking a risk when purchasing robots from vendors.
I don't care for the gossip, but I do appreciate the discussions it often spurs in the HN comments. There are already a few good comments here, and without this post we wouldn't have those comments.
As the article briefly mentioned: I don't think doggo originated in memes, I've been using doggo for about 20 years. It's kind of like a Welsh "hey boyo" for dogs.
These are both very cool. Congratulations for doing something so out of the ordinary. As soon as I have some free time I will play with composer sketchpad.
The other comment answers your question. PATH trains going along 6th ave share stations with NYCT, but run in their own tunnels.

The effects political dysfunction are really starting to materialize now. Penn Station, North River Tunnels, PATH tunnels are all in really critical states now.
Can anyone recommend a good book to get started on concurrency, with discussions of models, and a few implementations such as golang and python 3.5+?

While I can write this kind of code, I don't feel like I completely understand some of the concepts.
Barry, Dave, Bob? More startups ‘humanize’ their offerings
The most likely leaker to Wikileaks? The CIA itself. Its tools already compromised, perhaps by Russia or by someone internal, the sensible thing to do is to leak the exploits in such a way that: (a) they can be patched and rendered largely harmless; (b) the oversight focus is primarily on Wikileaks and not the CIA for losing its jewels. Why would Russia (or any state actor) wikileak these compromises instead of using them against unpatched targets globally? No upside & makes no sense.
Do you think this may have an impact on Tesla's ability to ramp up their production? I think that's likely what interests many on HN.
Some may be interested in Von Neumann's algorithm for getting fair results even from a biased coin: Toss it twice. If the results are the same, ignore. If they are different, use the first coin's result.
In my case: MacOS has python 2.7 pre-installed, and python3's lack of backward compatibility is mildly annoying while giving very little actual improvements in return.
Uber pleads with judge to move Waymo case into arbitration
Great explanation. I was confused about all the financial terms in the article.

Maybe you can further explain the difference between cashflow positive and EBITDA?
You don't think the Cold War in the 1950s was overwhelmingly supported by the American public?
Here's another related one: vibrant.js [1]

[1] https://jariz.github.io/vibrant.js/
Google Assistant SDK Released – Make Your Own DIY Google Home
I'd enjoy the discussion more if it didn't always for some reason beeline to Tesla's stock price.
Pg_tsdtm – Distributed transaction management tools for PostgreSQL
FCC Chairman Dives into McCarthyism Over Net Neutrality
C has so many design flaws, from the lack of reasonable iterators to null pointers to the preprocessor to bizarre type syntax to switch fall through to terrible error handling to no generics, etc. The attempts to patch the more broken parts of its design (e.g. ergonomics favoring signed induction variables in for loops) have resulted in more problems (e.g. signed overflow being undefined behavior). As a language from 1978, it was good in its day, but it's not worth saving anymore. It should become a respected piece of history.
Hey thanks, just looked this up and it seems like a very highly regarded book. Ordered and on the way!
If Tesla was smart and gave these aquihired employees adequate golden handcuffs and noncompete clauses then I agree. But if they didn't and key employees just leave and use their expertise to start another company that helps out the competitors again then Tesla will have played themselves.
Quote Investigator has basically trained me to reflexively assume that if a quote is pithy and timeless, then it probably didn't originate from someone famous.

One of my favorite quote investigations: whether Stalin said, "A single death is a tragedy; a million deaths is a statistic."

http://quoteinvestigator.com/2010/05/21/death-statistic/
If "_key2" is an public key embedded within Windows, then presumably there exists one or more holders of the private key somewhere - what exactly are they able to do with this key?

I've seen a lot of concern about "_key2" and "_NSAKEY" being expressed over the years, but scant technical detail.
You're saying ACID databases are eventually consistent?
San Francisco could definitely take a page out of New York's book here. Lets build some infrastructure!
The 2017 Civic Type R – Hot Lap
Show HN: Isblankup – a fast and minimal website to check whether a website is up
Why aren't Americans happier than they were in the '70s?
They probably have plenty of the same zero-days and using them would be a waste: once someone knows you're using an exploit it'll get patched.

It makes perfect sense for an adversarial nation's intelligence agency to undermine the CIA and Americans' trust in their own government.

America is too far away from its rivals and enemies for a conventional war to be fought on its own shores. It makes more sense to use fear (9/11) and propaganda (your CIA is spying on you!!) to get Americans at each other's throats and distracted from the real threats to their wellbeing.

After all, our political parties have been doing that for my whole life, so the groundwork laid is practically an invitation.
People usually implements web API by defining in advance a REST architecture with all the queries you can do when they expose their list of endpoints. Basically, it's a schema that doesn't say it's name, it's scatered and the user is stuck with it.

With graphql, you have a smaller number of endpoints, but you have one big schema definition. You can then choose who to query it the way you want.

This means not only that a graphql API is more flexible and easier have a entire view of, but also that GRAPHQL is a nicer generic data interface. You can use it not just for HTTP requests, but also between components. You can use it as a source of truth. You can allow joins without having to design them, and even easily implement several data sources for them, including caching.

Graphql kinda have the benefit of SQL and a Web API.
And the public is against hacking the FSB? Or the Russian public against hacking the CIA?
Show HN: Melondream: Erotica Clustering by Neural Network (NSFW)
I agree, but would be remiss if I didn't say that Ricky Jay is the greatest living historian of magic.
I haven't used Flow much, but having used TypeScript at work for only a few weeks we've already found several instances where the type system isn't flexible/complete enough to describe several perfectly valid JavaScript idioms. Workarounds often mean lots of `any` types or tons of boilerplate/repeated code. Not fun. On the whole, though, compared to un-typed JavaScript, still totally worth it. I'd just be interested to see how Flow handles some of these situations.
You only mentioned Foursquare as one of the companies you've applied to, so without more info from you I'm going to take a shot in the dark here: are you only applying for those types of companies that are very well known? It's pretty rare for your first job out of education (whether it's a degree, or a bootcamp) to be "SWE at <Company Your Friends Know>". There's a whole world of companies out there that aren't as sexy but can be amazing stepping stones to the job you want.

To add personal experience to this comment, I've worked at two places before landing such a "dream" job - a < 50 person startup, and a company with businesses around its satellites that employs ~5000 people but I guarantee your average citizen hasn't heard of it. Some former coworkers at that startup were there as their first job, and went on to work for Google/Palantir/themselves. These less sexy companies and startups are waiting for great applicants.
Which languages are your point of comparison? Its a different conversation to have to talk about C, C++, D, Swift, Nim, Crystal, or Julia?

Which ergonomic issues are your main concerns?

Some things I can think of

- Libraries focusing on optimal performance over ergonomics

- Lifetimes

- Results not being quite as ergonomic as exceptions

While it has rough spots now, I'm hopeful for the future.

The impression I've had watching Rust's evolution is they want to push the language to its limits, find the weak points, find ways of fixing it, and repeat. They don't want to speculatively throw in features. For example, we started off with try!() and later got .?.

Improving the documentation would also improve people's perceptions. I've gone through waves of feeling like Rust's error handling is close enough to the ergonomics of exceptions. When I had surface knowledge, it seemed great. I then started using it and running into problems. I then came across random blog posts and it became easy again.

For a further discussion on documentation, see https://www.reddit.com/r/rust/comments/67fb8e/rust_tribal_kn...

The next step is creating ergonomic libraries. ezstring is an example of people experimenting with this.

ezstring: https://github.com/Storyyeller/easy_strings
Melondream is an Android app that uses a neural network to cluster erotica. It enables the user to search for variations on a concept he enjoys, by pressing the corresponding part of an image.

The network is trained in a totally unsupervised way-- there are no labels and no transfer learning. Clustering happens naturally because (1) the network is purely convolutional, and (2) the network is forced to produce short encodings of image content.

To reduce the training loss, the network must recognize and encode recurring patterns: girl on the beach, girl in the forest, girl with legs spread, girl on knees, girl wearing panties, etc.

Free for all, enjoy.
For even greater strength you pre-tension the concrete by externally stretching steel cables inside the concrete, and letting it cure.

When you release the external load the concrete is under tremendous compression, and is able to easily resist tension.
See how to code any App easy with this IDE
Gah! Maybe it's just me and my lack of understanding of large corporate financing, but my past job history means that just seeing "EBITDA" or having it spelled out makes me twitch.

Probably because both companies where "positive EBITDA" was a relevant phrase no longer exist.
A simple chat architecture for your MVP
With this site, my goal was to make it as fast as a free Heroku dyno can get. I'm not incredibly experienced in development, as I'm still studying for my undergrad, so any feedback is appreciated.

You can find the source code here: https://github.com/Meegul/isup
Concurrency and parallelism is such a huge landscape of difficult problems and complexity that I doubt any such introduction exists. I never found one, anyway.
We created some really ridiculous programs on TI-84's ca. 2003-2007 for the exact opposite reason. We had computers we could program on almost anywhere except in class. So we'd write programs on our calculators.

I wrote a program that could solve almost any formulaic problem in Chemistry, Algebra or Geometry. I shared it with a bunch of people, but ended up losing it because my link port broke. I had made a ton of money in High School charging $10 to fix broken link ports, but at that point I hadn't developed a method to fix a link port without disconnecting all of the batteries. And so I lost all my programs when the ram was cleared for a standardized test.

Programming on Ti-84's is one of the most fun I've ever had, and I'm sure I learned more writing those programs than I did in class. Even the non-CS nerds were programming stuff.
Uber Rival Gett Looking to Raise $700M at a Valuation of $2B
Giving away money: a guide
My work laptop with an i5, 8GB memory, and typed characters lagged 5-10 seconds behind. I did an "asdf" check and though the browser had completely frozen it took so long to appear. The video is killing this site for me.
Why Criminals Target Patient Data
An angle this article is kind of vague on that could potentially be of interest to HN readers would be how many of these people's relationship to BuzzFeed was through a new-ish L.A.-based video unit of theirs, BuzzFeed Motion Pictures.

BuzzFeed Motion Pictures was launched in 2014 with a big splash and a $50 million investment from Andreessen Horowitz (http://www.hollywoodreporter.com/news/buzzfeed-raises-50-mil...). It's led by viral content pioneer Ze Frank (http://allthingsd.com/20120914/buzzfeed-hires-web-video-pion...).

Frank has characterized the unit's approach to content creation as "cheap and fast" (http://www.latimes.com/business/la-fi-buzzfeed-studios-20150...), and they got in a fair bit of hot water last year after firing two on-camera personalities for appearing in a non-BuzzFeed video (http://www.politico.com/media/story/2016/06/non-compete-agre...), with Frank then warning remaining staff that "you cannot work on personal projects outside of BuzzFeed that impact your ability to work for us" (http://adage.com/article/media/ze-frank-buzzfeed-motion-pict..., https://www.buzzfeed.com/zefrank/being-a-part-of-buzzfeed-mo...).

All of which makes the place sound a bit like a video sweatshop that makes its money by grinding up talented young people and then spitting them out, so it would be interesting to know how many of the complaints in this article are from people who worked at BuzzFeed in general versus how many are from people who worked at BuzzFeed Motion Pictures.
The Russians had this figured out centuries ago with a robust grammar for diminutives [1] that can be applied to almost any noun. Meanwhile us poor english speakers are forced to create new words instead :(

[1] https://en.wikipedia.org/wiki/Diminutive
> There are corgos and clouds, fluffers and floofs, woofers and boofers.

Objection, floof and fluffers are not limited to doggos as amply demonstrated by e.g. https://twitter.com/AnneWHilborn/status/842444796824305665 or https://twitter.com/AnneWHilborn/status/834432563452211201 (#teamfloof has plenty of non-doggo floof)
I haven't read it yet, but this seems like it might be a good follow-up to the original paper from NVidia - thanks for posting it!
Thanks for explaining! So basically it comes down to "make this easier for non ops people to self-serve?
One word - Cost! Advances in Post-tensioning methods and technologies make cable stayed bridges the most economical type to span such long distances.

So unless it is a very long gap that needs to be spanned like Golden Gate Strait or the Strait of Messina, which would require a suspension bridge , the cable stayed type will be the "go to bridge"

Source: personal experience. I have built 2 such bridges before. Led the planning and installation of the actual stay cables. I know all about it :-).

Had to make a lot of the jigs ourselves. Lots of room for innovation and automation ;-)
Linux Journey has a few short lessons on networking that I thought were well done:

https://linuxjourney.com/
Infographic: US ecommerce market 2017 in 9 charts
More like NSA and Amazon want to Put a Camera and Microphone in Your Bedroom
A Critique of Typeclasses
"I bet you could tune the designs so the cables could be played like the strings of a harp."

This exists:

http://www.popularmechanics.com/technology/infrastructure/a2...

There are a few of them:

https://en.wikipedia.org/wiki/Musical_road
For the uninformed...

https://en.wikipedia.org/wiki/Blitter
Basically, it's Australian
I shared the link, since it was hosting webm based videos like a champ. I figured Fro wouldn't mind :)

The old solution we had been trying was weblite, and that needs all the user-content data to be manually added to weblite. Now I get to be lazy, cross platform, and have stand alone binaries ;)
How to deploy easy any App with this New IDE
Would the plugin system allow for things like conditional compilation or closure-like optimizations?
What else do you think influences rents?
This company pivoted from blockchain to "Distributed Ledger Technology". Now it's pivoting to identity? Blockchain companies are snakeoil.
I'm aware of the challenges, having worked in the GPU-on-client space for years. But they can all be overcome. There's no good reason for the status quo other than plain inertia.

Apps barely even use SIMD, even when it would clearly be beneficial.

> The other killer is launch overhead. Marshalling data into an appropriate structure, copying it over to the GPU, and copying it back takes a significant amount of time in many cases, independent of computation. This is really only viable when there is a significant amount of computation to be done, which inherently limits the number of applicable tasks.

This isn't that much of a problem in practice, because apps get slow precisely when there's a lot of computation to be done. Accelerating apps that are already fast isn't that interesting.

Do apps get slow enough for users to complain about? You bet they do…

> Let's say you accelerated something like browser DOM processing... imagine a malicious application being able to sniff that even after the fact.

This is bogus. Apps that can read framebuffer memory of the browser have already owned up the browser for all intents and purposes. Taking screenshots of the browser is game over for privacy to begin with. And because all major browsers on popular OS's composite using the GPU already, there's no more attack surface than there already was.