skysight-inc/HackerNews huggingface dataset:
Background: this is a deck I made to explain to our investors why we killed Speakeasy, our event venue marketplace product. Now that our most recent product was acquired (Gymsurfing -> ClassPass) I am cleaning out our old assets and found this deck to share with HN
DIY diabetes tracking – Why build your own pancreas?
I was talking with folks at my work who raise bees and they pulled out a list of the stuff you could buy at Lowes or Home Depot with neonics and I was surprised how many brands and various types have them. People just don't realize how wide spread the stuff is.
Many public apis are REST based but do have some RPC actions with url-based HTTP APIs. Sometimes it isn't either or.

For example an API that allows you to get users might also have a job resource or action to perform RPC jobs on the server from a manage api path or similar.
The Ancient Greek Occult in Anthropology and Psychology
I didn't downvote and it's not gray now. But I want to chime in that you aren't the only one with this fear, and it doesn't help that I know a 2-year-old who died in a canoeing accident, wearing a life-vest and with responsible adults. The canoe capsized and she got stuck in some branches and they couldn't find her in time. Every day our own mortality lurks around the edges of our own lives, but we manage to ignore it most of the time. When we feel responsible for someone else's life, though, it feels different.
This functionality works on OSX, so it must be limited to the Ubuntu app.
POST is used to create a resource. PUT is used to update an entire resource. PATCH is to partially update a resource.
That looks to me like you both agree. Things==data and actions == "calls an operation"
Nope. Pointcloud is just depth data and potentially color data.

Photogrammetry is the technique of 3d scanning that correlates feature points within multiple pictures in order to back-project a 3d scene.

The more pictures you have of an area, the higher quality the overall scan. So if we have 3000 images of a building's exterior in NYC, we can recreate the building in 3d.

My idea was that, for X thousand images, a single image is a trivial datapoint, and could be easily removed with little loss in quality of scan. It may technically be in violation of copyright, but is used for a substantially different work.

I believe it could possibly qualify as fair use.
"Without a safety net"?

Bachelor's in physics, Bachelor's in Econ. at Warton, began PHd at Stanford, comes from a prominent family(usually meaning rich).

He had a safety net. Just wanted to keep it real Homies. (I think the guy is great. It's just he had a safety net. He wasn't going to be panhandling by risk. Plus, when he made his investments his resume was pretty impressive. My biggest hope is his battery factory, and he keeps Tesla afloat when the other car makers hit us with electrical automobiles.)
> (but note that RAII makes the definition of tail position subtler than it may seem at first glance)

Like http://www.nhplace.com/kent/PFAQ/unwind-protect-vs-continuat... this?
Yeah, REST is nice for some things, but for normal APIs, you're calling them from a programming language, so calling remote functions (RPC) is very similar conceptually to calling local functions. You might not be able to guess the paths as easily as REST(?) but then again trying to make things REST style doesn't always work out when the things don't allow all the REST verbs or don't fit into a hierarchy, etc.

For serving a filesystem over HTTP REST is great though. And all that caching stuff comes in handy.

From a practical API standpoint though, having two different encodings (GET in url with url parameter encoding, and POST with form encoded or JSON) is a pain and has caused a number of minor bugs and definitely extra work.

Using HTTP is basically a socket for JSON RPC style calls is I think the most straightforward route. In this you have one RPC per request, POST only, with a JSON request body and JSON response. If you use keep-alive it's similar to a socket but can go through some firewalls a bit easier, and has a built-in framing format and metadata thing. Also it works with existing log monitoring tools and frameworks.
Is it correct to say that POST is not idempotent? Sometimes it is, and sometimes it isn't. Maybe it would be more accurate to say there's no guarantee that it's always idempotent.
Why are railroads waiting to install safety technology?
> Life just isn't possible if you try to 'do no evil'.

Shouldn't that indicate something about the validity of one's view of morality?
I looked at this a while ago while seeking out a good language for my daughter to learn some simple programming with. While I liked it, I can't help feeling that all these "visual" substitutes for programming languages are counter productive. It is so tedious to create even simple loops and logical structures. Consider a simple for loop such as in python:

for thing in ["cat","dog","tree"]:
print thing

I can explain this to her and she can run it and see it do something, modify it in small ways, etc etc. The same thing in TouchDevelop actually looks more complicated and is harder to experiment with. I feel like we should teach computer languages as languages and not try to turn them into lego blocks.

I'm curious if others feel the same way or not? Have people had success starting with something like TouchDevelop and then transition to a non-visual language? Or do kids just get good at playing in the visual sandbox and never make the jump?
Out of curiosity how'd you get the credits?
I tend to prefer path parameters for actions. Eg:

POST /api/resource;action

As that doesn't pollute the idea that the path itself leads to a resource.
A lot of this sounds like transport layer instead of application layer. I'm curious why it ended up in HTTP instead of TCP.

For example, you could specify that ports 49152 to 50179 formed a block on a given host, and so on in groups of 1028. Ports in a block would have to connect to the same port on the other end, and would share a packet buffer. There could be some rules to let the network stack pass on data to a process in anticipation of a three way handshake completing, TLS could assume that new connections shared the same secrets as existing ones, and so on. That seems simpler, and it prevents the wheel from having to be reinvented for every new application protocol.

An obvious reason not to do that is that TCP is too widely used for the effects of changes to be predicted. Is that the only reason?
Exactly right. This is just the usual penny auction scam where the auctioneer's confederate places the final bid.
> If you're not talking about an immediate check (for example, you have a list of files in a sidebar), it's quite possible that it hasn't been refreshed for a long while; there's no particular reason to assume that the file is still there.

Exactly. It is probably still there, just someone could have deleted it in the few seconds or so that it took for the user to make an action. UIs are filled with a bunch of invariants that are probably true but not necessarily so. 99% of these programs will just exception out if say that file is deleted between the non-atomic time it takes to do verification and action. And there is nothing considered very wrong with that: you screw with the environment of an application while its running, bad things are expected to happen.

Now, a language like Rust expects that everything is atomic in the normal case. But since users aren't very batchy, that means re-verifying things over and over again. It is not the overhead that is the problem here, the fact that the check is redundant is not the issue. The fact that the programmer is pestered into handling these cases is a huge issue: Java/C# will just exception out and that's the end of it (you don't really want to bother trying to handle that file being deleted in the few seconds it took for the user to make a decision, or if you deal with it, deal with it at a very coarse granularity).

Rust is not designed for writing interactive programs, it is designed for batchy systems code where "files are opened without any user interaction." But let's not discount why existing languages that are designed for writing user facing code make the decisions that they made.
See also http://www.ietf.org/blog/2015/02/http2-approved/
You can also use localstorage these days. It's great not having to send data on every request.
I bet they could get a lot more money if the fee was $1.
> I assume this thing is just a web app rendered in their "browser"? So doesn't it need to do all the things you list? Needs css to layout the DOM, needs to parse and execute javascript.

From a users perspective, that is an implementation detail and doesn't matter. A users only cares if his music player feels slow or not.
Even if that's true, it may be such a good idea that they may want to consider changing it.
I like Virgin's https://www.virginamerica.com/ way more than even their beta one. I guess they're going for different demographics.
Why do you think so? I mean this as a serious question because that's not apparent to me.

If a numeric keyboard makes it easier to enter numbers, and a Japanese keyboard makes it easier to enter Japanese, why shouldn't an appointment keyboard make it easier to enter an appointment time?
ICANN sees privatization of Internet management soon
Do 80% of Americans not know there’s DNA in food?
Tic Tac Toe game with nice animations [react.js and flux]
Source code: https://github.com/hackhat/tic-tac-toe-flux
Not a Hero[NSFW]: Gratuitous(ly Funny) Meta-Violence and “Shitting Wonderbats”
Use it to build web scrapers hunting for AWS Keys on GitHub, to spin up more instances to scrape for AWS keys to..
If you have correlated feature points you essentially have a point cloud no? It's just that photogrammetry adds an additional step of back-projecting the 3d scene?
Apart from all the things you point out, I also can't help but wonder - for eg. the US "1 out of every 6 American women has been the victim of an attempted or completed rape in her lifetime (14.8% completed rape; 2.8% attempted rape)."[1, numbers from 1998]

So, how those that jive with "rape fantasies"? Are we to assume that many women that have been the victim of rape, still have rape fantasies? Without going into the deep topic of coping strategies for trauma, and what is considered "normal" sexual behaviour etc -- at the very least it would seem that the "rape" in one survey isn't quite the same term as the one in the other?

To reply to the sibling comment about "legal definition of rape" -- that kind of disregards the fact that these are fantasies. Isn't there something from Freud about us being everyone in our dreams? I don't think it's wrong to claim that when you fantasise about having control of someone else, you're also fantasising about being the one in control.

As for the low numbers for men (3%), I came across an article[2] on the prison system -- that doesn't really seem to change the overall picture that much: Men are less likely to be sexually assaulted in general, while inmates (of both sexes) are more likely to assaulted.

One depressing thing that can be gleaned from the second article, is that female correction officers apparently have a higher rate of abuse of juvenile inmates. Overall, I'm not sure the article adds much to the discussion of rape fantasies -- but I add it here as it might be of interest to those that are curious about rape statistics in general.

[1] https://www.rainn.org/get-information/statistics/sexual-assa...

[2] http://www.nybooks.com/articles/archives/2013/oct/24/shame-o...
You're explaining a student's response to the exam structure, but you're not explaining why the institution wants to fail some students every year.

If you care about student learning, you do a criterion-referenced assessment. If you want to compare students to each other, you do a norm-referenced assessment. Why is a grad institution more interested in comparing students to each other than in assessing whether people learned what they were supposed to learn?
WHOA. This is like google-scale computing power... AI for sure. Let me do some research, but here are some ideas:

disclaimer: these are a bit of a stretch to be sure, but hey

Never ending learner:
Part 1: Machine vision on video + language learning on web + pattern recognition => new semantic constructs
Part 2: semantic constructs + reinforcement learning + intrinsic exploration => action selection
Result: An agent that can take in real-world scenarios, including language, text, and vision, and learn to do tasks by itself, improving how it learns as it goes. EPIC.

Autonomous programmer:
code with comments (from github, community-based labeling, etc) + machine learning + knowledge representation => "understanding code"
machine + natural language => PROFIT
Result: you can say, "what's the sales this quarter?" and it'll deduce logical steps (parse, read from db, etc) and tell you the answer
The writing and the interactivity go beautifully hand-in-hand. I hope NYTimes continues doing this type of work.
> I wonder what SpaceX's long term goals are.

Mars, vis-a-vis making buttloads of money on Earth.

Elon is positioning to launch a 4k-strong comsat fleet, with which he hopes to commandeer a large fraction of Earth's internet backhaul traffic (in addition to securing millions+ of internet customers around the planet, otherwise too expensive and sparse to reach with cables).

My bet is that it will turn out to be SpaceX's biggest financial play, and that the private + NASA orbital launch contracts are functioning as a way to get someone to pay for rocket development and build the necessary capital for the telecom move.

Although once a reusable first stage has been demonstrated, I imagine launch costs will drop by a large fraction, and possibly open up a new rush of investment and innovation in low Earth orbit-- with Musk selling pickaxes and shovels.

It's possible if more people knew the price drop that's about to happen in rocket launches, they'd be scrambling to launch their own 4k-satellite constellations, and that Musk's inside knowledge and control gives him a huge head start into the business.
I think you're confusing the transport layer with the session and presentation layers. That being said, HTTP/2 is more than just a different way of opening connections and, yes, changing TCP in such fundamental ways would be impossible given the widespread adoption and burden a layer that is not expected to do all of that (when it should be flexible and enable more complex operations from the upper layers).
Encourage people to use a library that includes chacha20...
How to Turn a Stadium Full of People into Thousands of Pixels
Sitting for long periods may be bad for our health now, but guarantee in 2 years (or whatever) they tell us it actually has long-lasting benefits. At which point, gamers and office workers will be vindicated!
Very true. There are a few options in that space: Clementine (https://www.clementine-player.org/), Tomahawk (https://www.tomahawk-player.org/), Mopidy (https://www.mopidy.com/), Fidelify (http://fidelify.net/, not OSS), Soundbounce (http://soundbounce.org/). (Raise a glass to SOVND, my personal project that I killed when I got fed up with libspotify.)
My experiences during my first job at an investment bank were very similar to with what you described. I was surprised by how high the turnover was, but also by how easily it was to get re-hired. It seemed very common to switched to another firm for a few years and then decide to come back.

Upon reflection, I definitely felt that the first few years were a test to see how much of your time you were willing to let the job consume. There was overt pressure to work long hours and come in on weekends, but ultimately people who wanted to maintain better balance between work and personal time ended up leaving of their own volition rather than being forced out.

I don't think it's so surprising that personality and likability are valued so highly for entry-level hires. These institutions are so large and bureaucratic that there's a real limit to what one person can do, especially early in their career.
I hope they're not talking about bugs in their aircraft systems.
Yawn. More excuses for using a big old pile of spaghetti code with no testing or dependency management. Auto-updates? big deal, any decent framework can roll out updates on composer.
The writing is beautiful. The graphics are really well done, but just don't hold the same magic.
Not at all! This is a mobile game and getting 60 FPS on mobile in a browser is not trivial, even with graphics as simple as these. But natively? Ridiculously easy.
Nice!

As much as Wordpress gets bad pub, there is certainly the open ways in which security is handled and patches are distributed. Far better in most ways to commercial CMS (and even some open source) where systems seem to run unpatched until a system upgrade or a security incident.
As a lover of aviation, I got bit bored reading this.
Sure, just so long as you realize that is a convention and not a law.
A Room with the Lowest Magnetic Field in the Solar System
What's up with this nag? https://i.nyr.es/Captura-de-pantalla-2015-05-15-a-las-3.07.3...

Your site is a simple WordPress blog, I'm sure you can perfectly host it for $1/month.
All it does is save a screenshot so it can be shared, but unfortunately that needs to be saved to external storage (as I understand it).
I would argue REST wins on beauty, because it continues to follow the intent of a URL -- you can locate the resource based on the URL. In RPC, the query parameters break the URL concept a bit by including location data in the parameters rather than in the path.
Kids these days: http://i.imgur.com/gyn49gh.jpg

Kids back then: http://i.imgur.com/ZYDIKGK.png
My current client runs XP. My Java devs have to use it. Torture.
Thank you everyone for the comments. Whether you agreed with em or not, I do appreciate the feedback. :)
"...those systems are already spectacularly vulnerable..."

Absolutely untrue, unless you have physical access to them (at which point any system is vulnerable). In truth, the maintenance port on a 787, for example, (which is the only place you could feasibly get the kind of access you'd need to even attempt an exploit) is located in the avionics bay. At the point that an unauthorized party has gained access to the avionics bay, you've got a much bigger problem than software exploits.

If you're referring the Chris Roberts' dubious "Planes, Trains, and Automobiles" grrcon talk ... well, I'm sorry, but claiming that you've "made friends <giggle>" with an airplane doesn't seem very substantive to me.

Avionics code is some of the most extensively tested code in the world, with 100% statement and decision coverage, 100% requirements test coverage, extensive robustness testing, and somewhere between a handful and hundreds of eyes having reviewed every single line (depending on criticality level). Additionally, design constraints are followed for high criticality software that simply eliminate many types of attacks - no dynamic allocation, mathematically provable static stack analysis, etc. etc. etc. (get yourself a copy of DO-178B and read it if you really want to know all the details). I would bet a significant amount of money that the defect rate per N lines of code in avionics software is probably substantially lower than almost all other commercial software. There's also the fact that on modern aircraft using Ethernet based networks, message routing and authentication are implemented in both hardware and software at multiple layers by independent teams, which greatly reduces the chances of a common fault that allows a successful attack (even if you could gain physical access to the network).
Why not PATCH /api/customer/1 {"address_1": "...", "history": "moved", ...} (i.e. send your intent as a parameter that may not necessarily get saved in this resource)
American culture is not individualistic. It's conformist to the extreme.
Fans create Lego sets
A thing that people who have never run bug bounties before: Many of your submissions come from overseas. If your submitters can't profit, they won't submit.

UA needs to get their shit together.
For those who are new to this technology: If you have ever taken timelapses while moving (or long videos that you want to speed up), you would have seen how jittery and frustratingly bad they look. Usual remedy for this involved either using bulky stabilization hardware or half backed motion stabilization algorithms. This thing is completely different and takes whole stabilization game to next level.

In essence, it would remove frames that produces really big sudden movements or it would "re-shape" it to make it consistent or smoother and it does all that with some very deep algorithms. Ultimately your long timelapse or fast video shows up as if there was done with expensive stabilization and great care. My only complain is why iOS is being left out :(.

For much better demonstration of how cool this is: https://www.youtube.com/watch?v=SOpwHaQnRSY
> ban "journalists" from publishing

Maybe not.
Several 3D printers exist that can change materials mid-print. Resolution continues to increase every year.
React Native 0.4.3
"Code injection on live systems" is not allowed? what does this even mean?

If I put ?param=' and it crashes with an SQL error have I performed code injection on a live system?
I'm really interested if anyone knows how the Times is planning to keep this type of content available on long time scales. They can realistically assume that twenty, fifty, a hundred years out people will be reading these articles.

These articles are a bit different from maintaining a text archive.
> until the websites and services I use migrate to a different solution

Any public websites or services you can reference? I legitimately can't think of a single website or service I use that will be impacted. Or are you talking more about like ancient internal systems written as a java applet?

> companies and services relying on [NPAPI] this technology will simply fail since there is no alternative

Any company that bet their business on NPAPI deserves to fail. The signals where clear since 2012 that this was coming, and was explicitly and directly stated since 2013. They had a lot of time to transition off.

A full decade ago I was helping companies transition off NPAPI because it was "legacy", "slow" and "buggy". I couldn't fathom a company being silly enough to develop a modern product using it.

Most of the "major" things dependent on NPAPI have fairly clear migration paths. Java Applet -> Java Web Start. Silverlight is entirely dead (despite MS supporting it out till 2021) and there are tons of migration paths off of it.
Van Gogh's Night Cafe Rendered for Oculus Gear VR
Uses >400mb of RAM for me and constantly uses about 5-10% disk usage.

It may very well be the ads responsible for at least a memory leak in my case.
So your point is that it does not matter that WordPress is a huge mess as long as it updates automatically?
Is having rude stewardesses and planes that are never on time bugs? Is grouping two flights into one flight number to deceive people into buying 3 stop international flights a bug? If so please pay me in minimal airline miles which I can then use to waste more of my time on the shittiest airline in the world.
Sounds like a connection problem, it's happened me me once or twice - I'd recommend changing the update time