skysight-inc/HackerNews huggingface dataset:
You can get rid of most of the ui, but it's not very intuitive.

First click on the little upwards arrow on the person who's sharing in the bottom right corner.

Then the toolbar (the thing that appears in the top center of the screen when moving the mouse) gains an extra icon on the left which collapses everything.
> You can't tell what exceptions the piece of code you're calling will throw.

Which is why I actually like Java's Checked Exceptions, at least for public-API purposes.

It's really the exact same principle as having a contract for functions' return-values.
And that is why Signal needs to free itself from the phone number...
It's almost as if they named it all just for me.
I find it hard to reconcile this suggestion at the bottom of the article

> Always build your architecture in a way that will avoid becoming trapped into a specific service. Amazon’s AWS Lambda sitting between any services and your app is a strongly recommended path!

- Build without depending on external services

- You can do this by depending on this external service
exception shall occur in exceptional circumstances because they are costly in C++. A corrupted data file is a good case. exceptions in C++ shall not be used to handle and end_of_file.

This programming style is very specific to the language. In another language, exception may be used more widely.
> Always build your architecture in a way that will avoid becoming trapped into a specific service. Amazon’s AWS Lambda sitting between any services and your app is a strongly recommended path!

Isn't using AWS Lamba as your gateway, trapping you into using a specific service, just as much as firebase was?
Absolutely laughable.
First copy in Waybackmachine is Oct. 2. 2014. https://web.archive.org/web/20141101000000*/https://xkcd.com...
You may have no online privacy, then too bad for you.

If you refer to the recent cancellation of a US law before it came into effect that would have reverted ISP selling customer data. Well you got it backwards.
Anyways I'm not from the US and you'll be shocked to learn that I'm part of my own federated ISP[1] and that each subscriber has a say and is aware of what the ISP does, and privacy protection is a priority even when it is a governmental or police probe.

[1]: https://www.ffdn.org/
By the looks of http://explainxkcd.com/1425 it was September 2014.
Or, their phones are compromised either way. Or they are in panic and there is no backdoor. Or aliens took it over and need some privacy....
وظائف شاغرة للمهندسين 17/5/2017
Sounds so to me, all that takes is lambda changing how they charge and suddenly your hard-coded app is stuck again.
Check http://buyessay.co/ maybe they can contact you with the writer that will write everything for you.
Or check some online examples to make it look professional
24 Sep 2014 (hover over the title in https://xkcd.com/archive/). So, less than 5 years ago!
Indian startups emulate successful global ideas. That’s killing 90% of them
When I read Chinese or Russian hacker in the general media I tend to assume US backed false flag operations.
> exception shall occur in exceptional circumstances because they are costly in C++

The upside is that the happy path (without exceptions) can be branch-free (or at least contain fewer branches than equivalent code handling errors), which is beneficial to performance (hot path stays hot).
Lately, I have been noticing the "increasing automation, use of artificial intelligence " line being touted by Indian offshoring companies whenever they talk about laying off or reduced recruitment. What exactly is the automation or artificial intelligence being used? I never hear any details.

Are they doing something radically new involving machine learning which allows them to be much more productive?

Or have they refined or streamlined their scripting environments and automated build\deploy tools? Perhaps they have built a suitably large and mature framework of components from previous projects which allows greater code re-use? In these cases, using words like "Automation" and "AI" is just putting a new sticker on an old product.

Or are companies just using these buzzwords to give a positive spin to an event whose real reasons are actually more mundane and financial(weak market conditions, reducing bloat in workforce ). Maybe they are attempting to mask something more ominous like significant shift in the market away from offshoring?
It feels like a dig at how people do machine learning these days though. My impression is that people just take TensorFlow and a random neural net, and keep throwing gigabytes of data at it until they feel the results look like they should...
Spotify for all my music needs. Found so much new music over the years I'd have never of found without it.

Patreon - spend around £40 a month split between 2 creators at the moment, well worth it as their content is top notch.
Good post
To those downvoting the parent post out of disagreement: outside tech circles that is the mainstream opinion of Chelsea Manning's actions.

It's not my opinion, but I have several mil and ex-mil acquiantances and they were quite literally appalled when the sentence was commuted. Most of them are of the 'throw away the key' disposition, feeling that Ms Manning violated all her oaths and put lives at risk.
Converting a string to a number throws an exception because either you are sure it's a number and an exception is an elegant way for your program to die in case there's a bug or an exceptional condition; or you aren't sure and you need to validate the input and deal with bad inputs on your own before attempting the conversion.
Yeah exactly. I imagine it's a forced register thing so that they can build a userbase but I don't want to sign up without knowing what's there

I am aware my complaining has taken longer than just signing up but I'm already registered and logged in here :P
New MQTT Client on Product Hunt
It makes no difference if the water is naturally carbonated or not. Carbonation is caused by dissolved CO2 (in equilibrium with other carbonates) and there is no way for you body to distinguish between "natural" and "unnatural" CO2.
I don't feel that relying on an external service is always bad as long as there's no vendor lock-in with technologies that are open standards. Case in point the managed postgresql and mysql services that Amazon, MS, and Google all support. That said I'm extremely wary of Cloud Spanner and Azure Cosmos DB or any specialized service that the big 3 offer.
People are being registered as disseminators of online hatred in Sweden
Everyly – Airbnb for shopping
> We've logged countless UX regression issues on their issue tracker and each one has taken 9 - 12 months to fix

Another data point: I've reported quite a number of issues, all of them have been triaged real quick, and many have been swiftly handled (the last couple were dealt with within a week). The longer ones are mainly larger scope (or depend on one thereof), or - wait for it - adding features.

> I wish they'd just stop adding new features

Every release brings a couple of features that we really enjoy having though, there's a balance to be had. BTW we're self-hosting and performance as well as reliability has been excellent. (disclaimer: happy EE customers).
Reminds me of getting Bait-and-Switch'd by Google App Engine in 2011. From 10's of euros to 1000's.

> They have no phone number to contact, no way to dispute this other than email — which they have ignored us for over a month now without replying to our continued requests. Trapped. Doomed. We have no further options.

Sounds like Google did a great job with Firebase. Definitely gives you that Google-feel of unresponsive support and no hope when you have problems with any of their services. I bet they also have a "community" support forum or Google Group full of helpless people talking to a virtual wall. (Edit: Yep, they recommend Stack Overflow, Quora, and then their Google Group.. lol. Some things never change)
What software they were allowed to use before?
I don't think you are part of some conspiracy. The vagueness is because you seem to hold a strong opinion on this subject and I wanted to know if you were aware of the basics.

The 'sounds like you know' is because I incorrectly assumed you swearing about that pic meant you knew who that is. It's a totally reasonable reaction. That's Anthony Weiner (former congressman). Joe Biden knows him well. https://www.youtube.com/watch?v=bdCuDF4u5Yg
The detail that amazed me is the lack of visibility of the issue in reporting tools - it's all very well changing the terms, but not giving your customer any ability to see what is increasing the bill seems massively unfair.
4 Ways to make your blog mobile friendly
Sounds a lot like someone who can't get into the game distribution market because of customer reservations that (should) also apply to stream.

What all these companies have to accept is that valve was a decade earlier, and they have no right to demand they can get into the market as game distribution platform now, but must earn the customers favor to get in.
I use Firebase and find it easy, useful and constantly improving (cloud functions etc.). Their support, however, is a joke.

5 questions can be logged per year for one-on-one email support and then you're on your own. And this is for urgent requests.

I can understand not wanting to be inundated with wasteful questions but when Firebase is changing their API and pricing plans and you're trying to scale a product, and paying them lots of money in the process, support should be forthcoming.

They also don't respond on their Twitter handle, which is a further crime.
Then std::atoi() would be making the assumption that you want to handle the error as soon as the function call returns.

Furthermore, if you don't check the "success" flag, then your function would fail silently. The exception ensures that something reasonable happens (program termination) when the client does nothing to handle the error.

Exceptions are cleaner.
Depends on trust. I've had an experience where old tickets documenting important architectural problems (e.g. SQL injection) were mass-closed as "probably obsolete" by managerial types.

I was very happy I left a TODO in the actual code calling out the problem, because I could find and reopen the wrongly-closed ticket.
Yup, at that point I was doing 2 - 2.5 hrs walking a day, though some of it was adding extra steps during my usual day, eg walking a half-mile lap around the shopping mall before going to the cafe. I was able to do it because I'm freelance / flexible hours, and I was determined to complete my experiment.
superposition, you need to have as many qubits, because quantum magic can only do its exponential wizardry if you have the whole system in a coherent quantum superposition, and then you can do measurements (set up the problem), and then (let the system evolve, and then) measure the output(s).
For this model, this hormone is only an indirect effect on weight (through hunger); however, there is also a direct effect that is pretty strong: you are no longer drinking a ton of sugar, which has a noticeable number of calories in and of itself. They aren't saying the weight gain is equivalent, only the hormone release.
False dichotomy. There's a pretty big difference between dying after having a stroke that leaves you permanently disabled in your 70s vs. mandatory execution of healthy 40-year-olds.
I like them, too. You can easily opt out of the "checked-ness" by wrapping it in a non-checked exception, so the argument that it pollutes your application is just a non-issue for me.
> They said in most cases it doesn’t make a big difference… unless you use the REST API.

So in the end it was a coding problem, because you forgot to add Keep-Alive = true? If you use the provided SDK's it should be no problem then right?
My fear is that these laws will ultimately prove to be worse for conservation efforts. The same applies to zoos.

The vast majority of people in the developed nations, will never actually see these animals in their native habitat. I would say the majority of the HN readers have never seen a lion, tiger, rhinoceros, elephant, orca, or shark outside of a zoo, aquarium, or sanctuary.

The effect of these laws is that more and more people will not have a personal connection to these animals. Therefore, when it comes to cheaper goods versus animal extinction, people may say that they feel bad about it, but their behavior and voting patterns are unlikely to change to prevent the extinction.

For example, if I hear that the giraffe will go extinct, I think back to the excitement of when I first saw a giraffe, and feel sad that my kids may never get to experience that and am likely to be more motivated to prevent it. If, however it is some animal that I have only seen in a video, well, I'll make sure to download it so I can show it to my kids someday.

Out of sight, out of mind really is a true statement about human attention and motivation.
This times and again.
If you're hitting an API hosted on a domain you don't control, you're bound to get screwed.
Otherwise they would just be able to deploy a simple Firebase API proxy (for the single call that they use) that uses TLS tickets and keep alive, change the DNS records and call it a day.
Can a computer algorithm reach a human-level of skill in identifying birds in a photo in all situations? That sounds like a very hard problem indeed.

For instance could an algorithm conclusively identify the birds in all of these pictures without having too many false positives?

https://ak3.picdn.net/shutterstock/videos/6087611/thumb/1.jp...

http://www.hippoquotes.com/img/impact-of-nature-quotes-in-fr...

http://www.birdsasart.com/baacom/wp-content/gallery/cache/17...

https://vztravels.files.wordpress.com/2014/05/img_1390.jpg

http://www.zastavki.com/pictures/1920x1200/2011/Animals_Bird...

This is not a rhetorical question by the way, I genuinely don't know the state of the art in this field. If it's indeed possible to do that today I'll be extremely impressed.
Polymer used to have it's own way of declaring web components to get rid of lots of boilerplate. With v1 of webcomponents, the syntax is similar to React and other class based component frameworks and since v1 is already supported in multiple browsers, they removed the abstractions and are now using native webcomponents' syntax.
Amsterdam: Tiqets raises $17M for the global expansion of its ticketing platform
> the platform can already solve problems that were considered too complex for classical computer systems to handle

Uhm, quantum computers can be simulated by a classic computer with exponential slowdown. So the speedup can be no more than on the order of 2^17 = 131072. But I think it's fair to assume that a single operation on the quantum computer is much much slower than state of the art classic computers. So doesn't it seems doubtful that they can actually do anything faster with this than with a classic computer? I would think that we have to get in the high 20's to low 30's of qbits before it can actually beat a classic computer or a cluster of them.
Check out std::optional from C++17 (aka C++1z)
You could then switch to regular servers running an open source Lambda reimplementation e.g. https://github.com/siscia/effe https://github.com/atlassian/localstack etc. Just make sure you can change the URLs everywhere.
The Field Study Handbook
Spend the $65k on starting your own thing for a year. You learn similar things and if you're lucky you end up with a successful business or at least a positive ROI.
I've just finished my first read of GEB last night, and was delighted to see this thread pop up :)

Great book, essential reading for anyone involved in Programming and/or Comp Sci.
Sourcetrail 0.12 – instantly generate call and inheritance graphs
I've never had a Mega Drive before working on this, so I wasn't really familiar with a lot of its games.

I took a quick look at F1 just now though. The way it makes use of the nametable and patterns is very similar to what I do. There are precomputed fully solid patterns at a fixed location and the non-solid patterns seem to be bump allocated.

It makes use of both layers though, drawing the street on one and everything else on the other. I think it uses per scanline scrolling to apply correct perspective to the street.

I can't say anything about how it actually renders into the tile map for now. That would require a lot more than looking at the VDP (graphics chip) debugger in an emulator.
Partialconf 2017 focusing on the modern functional languages
We're excited to be launching the Sqreen API, which allows you to tap into our extensive database of malicious actors and activity to make your apps more secure and safer for your users.

The two endpoints we are releasing today allow you to tap into Sqreen's extensive database of bad actors and malicious behavior to discover whether an email or IP address poses a risk to your app. These endpoints can answer questions like:
• Does that email address originate with an email anonymizer?
• Is that IP address a Tor exit node?
• Where is this user on the map?
• Has this user ever been implicated in a known attack in the past?

Use this information to flag or screen signups to your service, to detect if unusual activity is originating from a suspicious address, and to generally arm yourself with additional risk assessment when you need it.

You can get started by creating an account if you don't have one, and either creating a new Developer Sandbox or using the API key assigned to your existing apps in Sqreen. https://my.sqreen.io/new-application

Once you've got an API key, head over to the documentation to see how to get started quickly.
https://doc.sqreen.io/reference

Of course, we'll be watching here for your feedback and comments!
Bệnh vảy nến á sừng có lây không?
I authored the post and yes you are correct about the AWS Lambda being another service. I have since modified it based on a users suggestion to reflect.

I guess the point was that by adding the middleman between it there was more control --- We are self-funded and small group of people. We can't afford to hire a bunch of people to know about containers and servers and every little detail.

Thanks for your comments! Didn't expect so many views so quickly on this...
Solution here is to make sure all api endpoints and URLs used in your code (eg into services such as lambda) get mapped through a domain that you can control / change via DNS. Then you can always cut off a service or redirect all requests to a different endpoint of your choosing (eg another serverless system or your own backend). This is better than hardcoding an unalterable endpoint / url / domain in your code that is beyond your own control, and it is doubly important if updating code on your product is difficult or impossible.
You may not have understood my "eureka" moment.

It's better to politely request that the "undesirable" (ie: illegal) clauses be removed from the contract, rather than using red ink on the contract you were sent and submitting it as an ultimatum. Either way, you wouldn't work for them unless the changes are made. The result is the same; it's all about how you approach the matter - namely, with diplomatic tact. You give the company a chance to amend the contract in your favour on their end, rather than attempting - and possibly failing - to force their hand with a revised contract on your end.

You might be in a region where such clauses are not enforceable, but if you say "hell no that's illegal!", they'll trash your résumé and hire someone else who doesn't make such a fuss. The person who winds up being hired was just a "better match" and the "position was filled". You could always sign a contract with "unenforceable" clauses without complaining, and hope the law ultimately agrees with you... but do you really want to take the risk of falling on the wrong side of the law?

Put it this way: if you strike out the contract with red ink, here is what the employer sees: "Fuck you, you can't fucking give me fucking clauses like that. It's fucking illegal, so I have fucking stricken out that fucking bullshit clause 2.1, and you had better fucking accept me as a fucking employee anyway, you fucking pieces of fucking shit! Accept the fucking contract I have sent you with fucking red ink, and fucking hire me already!".

Versus: "Section 2.1 would prevent me from seeking employment upon leaving your company. That clause is not legally enforceable, so it would be better for both of us that I not sign this. I will sign a contract with provisions that I will not poach your clients or work for a direct competitor in your field for a period of X time. If you could please revise the contract, I will sign it and you will have me as your newest employee!"

So what if you calmly request these changes be made, and the company refuses to make the amendments to your contract? Of course you refuse to work for them. Maybe even sue for their illegal practices if you can afford the legal fees. The idea is not to accept unacceptable contractual terms. The point is to allow the company to believe they are accommodating your polite requests, rather than you having made non-negotiable demands as an ultimatum. It's a mind game that gives the illusion that the company is is control, while you hold all the cards.

The end result is the same. Either you will accept the contract or you won't. You're just being diplomatic, attempting to elicit a reaction from the employer that is in your favour, rather than making the scenario a one-sided "my way or the highway". Let the company believe they are obliging you instead of crumbling under pressure.
How to find best chess game development company?
I think people are downvoting it because you are ranting.

A general heuristic that is useful in life is that if someone is foaming at the mouth and shouting, the things they say probably aren't that useful. (And you definitely come across like that. EG someone scanning the text would see "_PATHETIC_", and would assume that the emotional part of your brain has been engaged rather than the rational part).

The use very early on of "All soda is UNEQUIVOCALLY bad for one's health!", probably put a lot of people off. It is trivially hard to refute (any example of any soda providing any health benefit (eg rehydration) proves you wrong), and again makes it seem like you are making illogical, emotional arguments.

The use of "Anyone who reads the whole thing, and still downvotes, is someone with their head in the sand" is a cheap nasty trick that will turn people against you even if they agree with you.

Try waiting until you have calmed down and rewriting it in a better way.
Căn bệnh viêm da chữa trị như thế nào?
So that's where he went! Alpha Centauri is my favorite civ-type game, and it even kind of soured me on all Civilization games after the second one.

Even though it's not the same, and in my opinion still not as great as AC, if you liked that game I can highly recommend Stellaris.
That's a nice way to put it. My personal opinion is that Darwinian processes are certainly optimization algorithms, they are just not necessarily optimizing for the same thing as what we might think. As an example, survival is a long-term game. I'm sure there were more aggressive adaptation strategies that went for the local minima and succeeded in the short term, only to be surpassed by the more "patient" algorithms.

There's a huge difference between "exploit in the now" and "exploit, but still be viable in a billion+ years".