skysight-inc/HackerNews huggingface dataset:
You might find it useful to spend some time looking into the hypermedia constraint of REST itself (i.e. hypermedia as the engine of application state). The point of REST is to represent state machines by including hypermedia links in the responses of the API. Those links describe the state transitions a client may invoke in a given state.

Instead then of mapping CRUD operations to HTTP, you would map your application semantics to HTTP methods via link relations. Link relations let you go as far past CRUD as you would like to go depending on your domain and allow you to describe your states and state machine.

I always think a good way to think about a hypermedia state machine is in the context of HTML. Consider a todo app example. You might enter the application and get an empty list of todo items. If you have permissions to add a todo, you might have a "create todo" HTML form. Once you use that form, that todo has a new form called "mark complete." Once invoked, that todo has new transitions called "mark incomplete" or "archive." Once archived, you might see a new form for "unarchive." All of this captures the state machine and transitions in the REST API itself using domain-specific semantics.

Of course, there are other ways of solving this problem, but REST with hypermedia is a great way to work with state machines. There are lots of hypermedia JSON formats out there if you're interested in exploring (e.g. HAL, Siren, Collection+JSON, etc.).
"...feature we needed...".

That is the point. You needed those features which means that it was solving your problem of needing that functionality/feature. When people say "sell solutions and not features", it just means that whatever you sell, has to solve a problem for the client otherwise it is just a "Feature". A feature that solves a problem becomes a "solution".

If the feature was something you didn't need, you would not buy them even though the feature may be nice and shiny. So it still has to solve your problem.
This is the most interesting comment. I work professionally in sales and am getting ready to launch what could be classified as SaaS/PaaS product.

As to the need of a specific feature, that's an interesting position. I know people whom show you the work around, and ones that offer to build the feature after they have a signed contract. If you were given the two options and like the person/company which would you prefer?

I completely understand your frustration about sales people not being able to answer any question, but if they actually get back to you with a real answer does this not make the wait worth it?

The other three are completely valid and they should be ashamed of themselves...
> I cannot mentally manage that many different pins.

Pick 4 digits on the card, multiply/add them by some constant number you know. You're now done 'memorizing'.
Most people would learn fine on the job. For things like higher maths and physics, I think apprenticeship and autodidacticism would be a good form of this. The trades have a much better model than most.

Apprenticeship would work particularly well in computer science.
Nothing that the official Spotify client is capable of requires it to be anywhere near as inefficient as it is. This is something I've looked into quite deeply, having wanted to write true native alternative clients for all three major platforms.

The biggest roadblock at this point is the way Spotify has been handling the deprecation of libspotify. They haven't made a replacement public yet, and the public web endpoints don't support playback like libspotify does.
How to Change Any Habit and Make It Stick (Free 10-Day Email Course)
If Telegram claims to be secure but relies on unsecure technologies that makes it easy to circumvent its security isn't that still Telegram's fault?

Just because others are also vulnerable to the same failings doesn't absolve Telegram of responsibility. Don't claim to be a secure platform if your security is easily circumvented.
Ask HN: What's your process for learning?
I'm interested in seeing if anyone has a process they use to help with learning.

- Do you focus on one topic/book/course/project/article at a time, or split your time between multiple things?

- Do you use any tools to track your resources, todos, notes, or goals?

- Are there any pain points you have while learning, or are there any tools you wish existed?
We can appreciate that Google encouraged developers to get rid of bloat AND to opt-in for AMP, but that doesn't make AMP technically superior.

Depends what you mean by technically superior. In terms of benchmarks, AMP pages are lightning fast. Isn't that the only metric that matters?
I want to believe this. Evidence shows that people tend to grow their problem so that they are attempting to solve the problem of writing software with every other developer. Hence the rise of frameworks.

Sometimes, people get a knock out and do a good job. Bootstrap was seen that way for a while. (I've not heard much of it lately, so assuming it has waned in popularity?) By and large though, we all have different requirements for development. And none of them are shared by the customers/users of our software.
Yes, the problem of regulatory capture is enormous, and once captured, can actually provide entities with concentrated wealth/power (really the same thing) with extra leverage to control it.

One partial solution that has been shown to be somewhat durable is the divided government, multiple co-equal branches with different duties and capabilities. I think the American experiment has shown that we could probably do better with 4 or 5 branches, but three is a decent start.

But it seems like we agree on the overall problem, which is how to prevent excessive concentrations of wealth/power, and do so in a society that has not grown the cultural wisdom and strength to do it intrinsically (Norway/Sweden being partial examples, where excessive wealth is shunned and prevented at many levels).

I used to think that few/no laws/govt was the way to go, but every example I've seen, small differences simply accelerate into incredible concentrations of wealth/power at surprising speed.

You keep arguing against my solution (limited/divided govt, with each component structurally defined to minimize concentrations of power and/or balance the concentrated power). What's yours?
Show HN: A React Native app to help millennials learn new career skills
Stencil implements GoImports formatting which is basically GoFmt with a slightly different import ordering. And yes, it would be useful to standardize this somehow, the way go generate is standardized.
I'm a millennial and wanted to help myself (and others) learn new career skills. So I built an app using React Native and Redux, pulling from the Udemy API. Backend is Firebase.

iOS: https://itunes.apple.com/us/app/fed-career-re-training-for-m...

Android: https://play.google.com/store/apps/details?id=com.millennial...

Feedback welcome!

React Native was awesome to use, btw
Debian reveals Intel Skylake and Kaby Lake processors have broken hyper-threading
https://www.google.com/search?q=whizbangwoohoo
Yet now, in the card dominated era, we routinely split checks into 10 parts when dining in a group because people don't carry enough cash..
Elaborate please. Those not educated in sales may benefit.
Does your college not offer integration with google scholar? Go into the settings and check 'Library Links.' Scholar then gives me a link directly through the library proxy if the University has access to the Journal. It is amazing, but I have always wondered how many people have access, or even know it exists.
Yes but Telegram continues to avoid fixing flaws that have been pointed out by cryptographers.

It's one thing to get some security wrong because its "hard." It's another to not fix those problems when people explain how and why you did something wrong.
Ask HN: Any free alternative to Slack with screen sharing?
I use skype with my small team right now and even though I could buy a slack account (with screen sharing), just wondering if there are any free alternatives ?
A ‘very credible’ new study on Seattle’s $15 minimum wage has bad news
Also in Dallas, my cost for nonrenewable was about $0.075/KwH, my new contract which is 100% renewable is $0.08/KwH. The added money goes to further renewable energy in the state. Easy decision. Only costs be about $5.00 more per month, I won't miss the money.
There will always be some who slip between the fingers of education lifting us up.
I've worked with both a partially remote team and now currently with an entirely remote company (~50 employees).

I find it best to assume that everyone is remote at all times. My experience with the partially remote team was that people in-office would talk face-to-face more often and then would not relay effectively to the rest of the team.

There's still the problem of phone calls having the same effect but we use Slack and Google Docs often enough that most of our conversations are there for everyone to see/search.

Be sure to ask the team what is working for them and if they have any preferences. I find it best for everyone to be up front about these kinds of initiatives. Something that's a minor annoyance can grow into a real problem down the road. Best to lay everything out early and discuss as a unit.

Best of luck! Working remotely is extremely liberating.
Maybe, like, wanting to make something good and be proud of it.
I think the secret is slightly different. Most think they can fully solve a problem. Such that their solution is the one everyone should use.

This manifests in assuming everyone can afford the abstraction boundaries chosen. Or that everyone needs the same tradeoffs. Or, ultimately, that everyone would come to the same conclusion.

I think of it as the desire of most people to boil software down to formulaic choices. Imagine if you came up with something as elegant as "F = ma" for software.

I feel this is somewhat related to the rise in functional programming. It is not that either of those things are bad goals to chase. But they are not ends to themselves.
Autodesk Generative Design takes in constraints and makes its own 3D models
Could be a problem with a shared database though as the entire thing is one blob, changes can't be merged.
ISDN circuit level connections occur almost instantly because it is a digital connection..
The best I can really recommend is practice. A lot of "bash" skill comes not from bash itself, but rather from the tools around it.

If you're not already comfortable with input/output redirection (including pipes, as well as reading from / writing to files via <file / >file, respectively), then that's where I'd start.
Stop using the greengrocer's apostrophe. The plural of Nazi is Nazis, with no apostrophe.

Acceptable uses of the apostrophe:

possessives
contractions
abbreviations
glottal stops
disambiguation in transliterations

Yes, I am aware of the moniker applied to those that nitpick grammatical errors.
Just two days ago I wondered how Costco was so blazing fast. I have the same hardware on my desk for development, but whatever they are doing is very different than what our partner is doing. I was only guessing - but they only have one bank to deal with?
Why are some retailers so much faster than others? At Walgreens, for example, I get to "remove card" in around 1/3rd the time it takes at Safeway.

Have they decided to accept the risk of offline processing to speed up their checkout process?
You can actually sync local files to your mobile devices with Spotify. Might require premium.
Flash haters might not be aware, but Flash compiles to native code just like C does.

Support was added to workaround Steve Jobs hate for it on iOS.
Being Busy Is Not the Same as Having Purpose
Nobody is acting like it's a new discovery. They're acting like it's newly possible in the Javascript eco-system..which is true.
Microsoft’s New Surface Pro Tablet Is Stellar Hardware Weighed Down by Windows
If you play it like a strategy game with not much feeling, you will not get depressed.

If you get read the text, feel the emotions and really get inside the story, you will probably feel depressed.

I know I did feel depressed a bit after playing it. That's actually one of the reasons I stopped after 2 playthroughs.

That's still a good game, and I recommend playing it.
it doesn't for some reason. If I go into the settings for google scholar my university is greyed out. The college I did my phd at had it though and that was nice.
>You seem to be under the impression that writing efficient code is at odds with writing reliable or robust code.

For a given amount of resources invested it is. From a business perspective this includes not just the time a developer spends on a given piece of code, but how good a developer one is willing to pay to work on the code. Perhaps those making the business decisions overestimate the cost of writing more efficient code and underestimate the costs of not writing more efficient code, but they there is a cost that will be taken into account.
I had that problem, and fixed it by doing these four things:

* Train the built in Bayesian filter fully
* Setup SPF
* Setup DKIM
* Point MX records at Fastmail directly (rather than forwarding via some other service)

More of a pain than GMail which often "just works", but still relatively simple to setup. I suspect ultimately more robust than using mail forwarding on consumer GMail (the rules of which constantly change and it gets less powerful, if you don't buy GSuite and point your whole domain at it).
This is amazing - impressed by your persistence to source the training data yourself, that must have been tedious!

Did you try quantizing the parameters to shrink the model size some more? If so, how did it affect the results? It also runs slightly faster on mobile from my experience.
What happened when you called your credit card company, as that would be my first action to prevent any unauthorized charges since regaining access to an account can take a lot of time potentially.
just reach out to me. the better way is "not caring about the price and if it drops you get money back".
Is something wrong with tox? It is a p2p messenger that works on smartphones.
Anyone experience with demoing an API :) ?

Currently we have more or less simplistic demos, which also do not look shiny. And we have to highlight everytime that these demos are using just a tiny subset of the full API and much more stuff is possible. When we got more customers we were also able to point to some nice looking apps but this is also not always optimal.
Common Economics proofs techniques
Interesting, thanks for the reply.
I was interested in using HLL for a project where I had ~20 million objects and each had a "status" with about 6 possibilities. I wanted to get fast counts of how many objects were in each status. But their status can change over time, so I needed a way to also remove items from the count. HLL doesn't support this. Does anyone know of an algorithm that does? (Keeping a separate HLL for "removed" doesn't help because objects can revisit the same status they had before.)
Alphabet partners with Avis to manage self-driving car fleet
i could totally see these. it's also easy to hack up some stuff to make it work, and then forgetting about it.

thanks for sharing.
Thanks for raising this issue.

HackerOne will NEVER threaten you or do anything to reduce your security. You can safely ignore our sales emails if that's what you want to do. We are just trying to be helpful.

But we do have the absolutely best set of programs for companies of all stripes. To start with, you can open a vulnerability disclosure program that costs you nothing. It will allow hackers to submit vulnerability reports to you. We run numerous programs of this type for startups and other companies.

Our mission is to empower the world to build a safer internet. That's it.

Marten
HackerOne CEO
There are tons of 3rd party games for the 3DS. If you can't find games you want to play on it, then you're not looking.
Evolution has been running ~10^19 experiments in parallel for billions of years: http://reducing-suffering.org/how-many-wild-animals-are-ther...

Evolution is a slow algorithm, but it had access to an absurd amount of compute (all neuronal organic matter on Earth) and environment simulation (all of physical reality on Earth) when discovering us; so the discovery of the algorithms/architectures/principles in our heads shouldn't be viewed as trivial.
I've been using linux since 1992 and if there's one thing I can't stress enough is to use full directories and not anything abbreviated. After 25 years, I still find myself slipping up, overlooking some minute detail, causing data loss.
Here Come the US Space Corps
The Making of a Great Sales Narrative
I have used the AWS machine learning API and would recommend it. The time savings using that vs running it on my hacked together ubuntu-chromebook-mashup is worth more than what I had to pay.
I have also used Paperspace. My only issue was that whatever they use for streaming the virtual desktop to the browser didn't work over sub 4MB/s network connection.
> I think AMP pages are 10x better than the ad-filled, slow as molasses, jump-around-as-JavaSript-loads,

Firefox on mobile supports extensions, so you can use UBlock Origin / UMatrix. Also the built-in reader mode makes most sites a much better experience.
Super NES Classic - includes never released Star Fox 2
Yeah - my EU cards can use a PIN in some machines in the US now.
https://github.com/seiflotfy/cuckoofilter but this will require you to know how many max unique values per status your will have.
On that same metric good old plain HTML is faster.
Ultimately state is a function of time. Events are thus temporal effects from the outside world that can, depending on their values, cause a transition from a state to another state within the machine. If you model the machine as a graph where vertices are states and edges are events then a transition can be seen as a function from a (state, event) pair to a state, ie. (CurrState, Event) -> NewState. I've posted a simple explanation below, check it out if you like.
And if you say the star's name three times, you can judge the age of respondents on message boards by their response to the non-sequitir.
Actually by "we", I meant you and me.
I don't think Reason is like Elm in this way. Whereas Elm requires you to wholly buy in to the Elm world, Reason can easily be brought into a large existing codebase.

Large chunks of messenger.com are written in Reason. I'm pretty sure that qualifies as a 'web app'.
Came across this article which talks about what goes on in the background: https://tech.affirm.com/deep-dive-payments-60f5d17f6c71
For so small strings, the overhead will dominate. In particular the time to CALL and RETurn from the function. Haskell actually has an advantage there because it can use tail call optimization, obviating the need for CALL/RET, which a C function compiled in isolation can't.

Which is why you should always use the C99 "inline" keyword for performance sensitive functions.
Speaking as someone who uses React: wut?

My companies entire site JS, React and many other modules included, is 220kb over the wire (gzipped).

Site bloat is a thing but it's due to bad developer practice not frameworks or libraries

The single worst offender though for bloat are 3rd party ad networks - Google included/especially. The site often has minimal control over what is put in ad slots.

Start pushing against google to improve their standards for ad payloads and you'll see a massive improvement.

Railing against ads themselves however is, sadly, not too helpful
A not unreasonable one though: a large part of why minority shareholdings have actual potential value is because of a dense network of regulation that ensures company executives act in shareholders' interests, respect their property rights and make accurate representations about how the company is performing. So shareholders have an interest in the state enforcing securities law, including how shares may or may not be marketed.

On the other hand, provided wishing wells and ICOs don't claim to be a genuine investment and aren't considered to be equivalent to securities by anyone with any common sense, it's arguably state overreach to stop people chucking their money into them.
Plug-And-play SNES Classic Coming Sept. 29
While we’re here and chatting about this, I should say most of the credit for this app should really go towards the following people:

Mike Judge, Alec Berg, Clay Tarver, and all the awesome writers that actually came up with the concept: Meghan Pleticha (who wrote the episode), Adam Countee, Carrie Kemper, Dan O’Keefe (of Festivus fame), Chris Provenzano (who wrote the amazing “Hooli-con” episode this season), Graham Wagner, Shawn Boxee, Rachele Lynn & Andrew Law…

Todd Silverstein, Jonathan Dotan, Amy Solomon, Jim Klever-Weis and our awesome Transmedia Producer Lisa Schomas for shepherding it through and making it real!

Our kick-ass production designers Dorothy Street & Rich Toyon.

Meaghan, Dana, David, Jay, Jonathan and the entire crew at HBO that worked hard to get the app published (yay! we did it!)
Regarding point 4: piracy has provided the ability to masses to a wealth of obscure, hard to find cultural gems. I for example am into animation. There is no way I would have been able to access, legal or otherwise, half of the films I have seen, many of which are cultural milestones in the history of animation.

Also, in wealth terms, if you start with the reasonable assumption that a pirated copy doesn't directly translate to a sales loss, then piracy can be argued to be a net plus, since vastly more people "profit" from it (the people who download) than there are people who suffer from it (the people being pirated).

Just wanted to mention those arguments, since I rarely hear them in these discussions.
Despite its immense size, Betelgeuse can be described as a "red hot vacuum." The density of its outer atmosphere / corona is very thin compared to our sun, so it's readily distorted into irregular shapes by the star shedding gas/material.
Tcl lacks the piping syntax by default, but there are various ways to implement it: http://wiki.tcl.tk/17419
I'm sure you thought of this, but what are the drawbacks to simply INCR/DECR some counters when an object changes state?
Wavlet tutorial
> I think that content that can't exist in a non-ad-supported way can stop existing, we'll all be better off.

I'm not sure what is stopping you from doing that now. You can blacklist domains that serve ads and stop visiting them. Or even better yet, hire someone to write a browser plugin that blocks websites with ads, should be fairly trivial to do. And release the source code so others can benefit.
As long as they keep making games they'll always have a back catalog to sell.
NAL, but (in the US) almost certainly not. After all stating the following is/was legal:

They always holler at us to get an education. And now I have already received my draft classification as 1-A and I have got to report for my physical this Monday coming. I am not going. If they ever make me carry a rifle the first man I want to get in my sights is L. B. J.
Nintendo Is Releasing the Super NES Classic Edition on September 29th
AMD Ryzen Users Reap Huge Performance Benefits with ROTR and ZBrush Updates
If you're thinking of supplementing nootropics and haven't taken the time to seriously address sleep (quality and quantity), diet, and exercise, you're wasting your time and missing the biggest ROI variables. (After those three factors, I'd include regular meditation before even bothering with nootropics.)

That said, there are plenty of other well-documented benefits to creatine supplementation as documented on sites like examine.com (linked elsewhere in this thread).
Nintendo announced mini SNES Classic
If the radius of Betelgeuse is 1400 times that of our sun, it would accommodate 1400^3, or 2,744,000,000, spheres of that size. Humongous doesn't begin to describe just how big it is.
Do you think it's possible to generalize the way you handled the cross-platform complexity into a shared component?