skysight-inc/HackerNews huggingface dataset:
I've tried editing a bunch but always get downvotes, so here it is on a throwaway.

-> how would you work Hyperloop into your list of examples?

You couldn't, in my opinion, because it's counter to your argument and position, which is needlessly, gratuitously negative. Perhaps you can't see the difference between someone to idolize, who is an engineer that can proceed from first principles to leaving no stone, degree of freedom, or axis unturned and delivering a solution...and, someone like kzhahou above who literally ignores 1 out of 4 examples we have of Musk's invention, creativity and leadership. (The 4 examples we have are as a PayPal cofounder only, as a Tesla investor and ALSO product architect - his official role -, which we can see whenever he talks about the trade-offs, as a SpaceX investor, and in envisioning and engineering the basic constraints in HyperLoop.)

you are saying the "inaccuracy" of him being a hero-inventor doesn't serve us well. I say it does, because people will give him money, and he can deliver on great designs as he has proven an ability to do.

taking that away from him because you're uncomfortable with extreme adulation is the opposite of everything capitalism stands for: if you prove you can design, engineer, build, manage, and lead to great things, you get to do more of them.

(sorry you can't tell the difference, but reflecting on why you chose to leave out the quarter of his ventures that he is chief inventor on would serve you well. also reflecting on the degree to which he is product architect at tesla would do the same. finally you can look at zip2, which is what he did, including personally, before payapl.)
I don't know Houston in particular, but that's fairly typical for the rest of Texas. My childhood home gets a 22, and my parent's new house (despite actually being more central in the city) scores a 10 (more shops within a couple miles, but the neighborhood itself is more enclaved).

A friend's place on the outskirts of downtown San Antonio manages a 79, which is the highest I can find from my still-TX-living contacts I have addresses for.

If you're used to major west coast or east coast cities the difference in the type/level of sprawl in Texas can be pretty startling.

Similarly, there are only a handful of people from my high school class who don't have "single family home with a yard" as a short-term life goal. And a lot of them have already achieved it. Very different demographic compared with what I find out here.
Hmm. Seems to me that this actually relates well to the object-oriented versus functional programming "debate" - REST deals with things (like OO), RPC deals with actions (like functional).

But, in my experience, most requests consist of a "thing path" - host, resource; and then some "function" - get, update, other. POST is then the '=' - it's still a function under the hood, but because of it's commonality and interaction with language, the syntax is a little special.

In which case (and this is what I see in the APIs I most like) "the right thing to do" is to combine them, where you have pure REST when you're interacting with the object, but use RPC style when you're interacting with the object's actions.

Let's say I have some machinery exposed through an API, you might do:

GET host.com/machines/1 -> {"machine":"mixer","state":"off"}
POST host.com/machines/1?state:on -> 200

because I'm interacting with its state. But if I need to interact with its functional actions:

POST host.com/machines/1/mix?substance1=h20&substance2=c02

it makes more sense to phrase it as an action. "I want you to start doing this". You could also phrase as a request for a state transition:
POST host.com/machines/1?state:mixing&substance1=h20&substance2=c02

but (to me) that seems way weirder, generally.

I've got to go, but I think the answers change you go from physical resources to virtual ones, say, things that process information -

GET host.com/stock_analyzer/6/analyze?ticker=GOOG

where you might control state variables regarding the analysis algorithms using a REST-style.

Thoughts?
Have you guys not banned Neonicotinoides yet ?

Since the UK ban my anecdotal evidence is loads more types of bumble bees in my garden.

And I have not seen any 'confused' dying bees at all which was a regular sight before the ban.

I would have thought the publication of the Nature paper that Bees seek out fresh Neonicotinoid sprayings to get the maximum dose as they are totally hooked on nicotine and so getting way above the dose the previous models suggested would have sealed their fate in the US - but I guess not.

Are there any surveys which suggest numbers of bees and wild bees have improved in Europe since the ban ?

Interesting that the scientific concern over Neonicotinoides is given considerably less space than the industry 'facts'.

As there was a industry spokesperson AMAing on reddit about how pesticides were not so bad for bees and this making the frontpage on HN - I expect some well funded publicity machine is getting oiled up.

Is there some critical vote coming up or something ?
So to summarize this deal it seems (reading this thread)

It is a skill based raffle (as there is no set criteria it sorta falls between game of skill and game of chance).
If they get around or over 2666 applications = $399,000 (guess on what house is worth) then they will award the house to someone.

If they don't get that then they just sell it the regular way. If they do sell regular way then you get your $150 back.
If they award it then you lose your $150 unless you win the house, then well you are the winner.
Something is wrong there. I just tried the same tasks on my system; from clicking the shortcut to the Browse view rendering was 5 seconds, the live search displays suggestions almost as fast as I can type more characters, and the full results appear within a second. I am running it off an SSD, but that's not enough to account for all that time. I don't have a guess what it is, but something else is going on.
I find this example extremely unconvincing. 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. And even if it is, there are many other errors that can occur when you open a file (insufficient permissions, for example). In that situation, I don't see why it's better to fail with an (unchecked) exception, which the developer is going to have to remember to catch and try to tie back to the originating event (which might be quite tricky, given how much I/O occurs in something like an editor), than to require the developer to handle the potential failure immediately (by popping up a dialog box saying the file was deleted, for example).

In any case, what you're talking about is hardly the common case to optimize for. In basically every language I've ever used, the majority of files were opened without any user interaction, in which case Rust's API is absolutely the correct approach.

That is not to say that there aren't times where you have to do a redundant check, but generally speaking they only occur when you have control over the entire system under consideration and statically know (perhaps can even prove) that the error can't happen. In that situation, you should of course unwrap(), as there is no good way to recover from a logic bug in the existing program.
From the article:

Although it's possible to provide a relatively secure cryptography
library that builds on top of mcrypt (the earlier version of
defuse/php-encryption did), switching your code to openssl will
provide better security, performance, maintainability, and
portability.

The argument here isn't that mcrypt is doomed/inherently vulnerable, it's two-fold:

1. OpenSSL is a better choice, especially if you're an average PHP developer who is ignoring cryptographers' advice not to deploy your own crypto implementations

2. If a critical bug is found in libmcrypt, since nobody is maintaining it anymore, it is unlikely to get fixed. You are much safer using a library where patches are still being merged.

I hope this makes more sense.
United Airlines Will Give You Up to a Million Miles for Finding Security Bugs
Most applicants can't get past the competence checks.

Candidates who could get past the competence checks could get dinged for fit questions, but there weren't so many of them that we could be terribly choosy. Maybe Goldman can be. There just aren't that many people who are that smart, that skilled, and that willing to work that hard.

Now that's entry-level. Who is promoted and succeeds, that's a different question. Fit questions matter a lot more there. But even then I think the key skill was the ability to see problems from a client's perspective, and from a senior banker's. The folks who can execute with those perspectives in mind, those are the ones who do very well.

Investment banks, at least at the entry levels, are meritocracies. If you can understand what it means to deliver, and deliver, you'll do well. But that understanding is trickier than it looks.

Now there is a networking effect to this process. But it's more about getting information about what skills the banks will be looking for, and where to get that information, and the standards that they're looking for. This stuff isn't written down in manuals, you have to extract it from other people. If you don't know that stuff, you don't know what targets you have to hit.
I read it as a strong argument that consultancy, as a business, won't be going away any time soon.
This is my approach as well. Works very well with an event-sourcing model.

It is much easier to capture user intent with
POST /api/customer/1/change-address-due-to-move
{ "address_1": "...", "address_2": "...", ... }

than with:
PUT /api/customer/1
{ "address_1": "...", "address_2": "...", ... }

Also, GET /api/resource/action is nice place for a payload describing the expected inputs to the action. Link it all together with hypermedia and you really have something ;)

Believe others are coming around to this line of thought: ThoughtWorks included "REST without PUT" onto their technology radar earlier this year.
There are two parts to being lucky:

1) What sort of luck comes your way?
2) Are you able to take advantage of the good luck and minimize the effects of bad luck?

If i'd had the exact same lucky breaks as Elon Musk I would not have been as successful, because I'm not as good at step 2 as he is.
"That case highlighted issues of gender imbalance.."

She lost. Looking at both sides, it was pretty clear there was no 'imbalance', so I'm not sure why the case has to be portrayed this way.

I find that this is being used to ban opposing political opinions and view points.

If I post an opposing view point that goes against most redditors, I am almost always attacked and harassed by many users. I have never seen any of these users banned nor their posts removed.

I have had posts of mine removed for not being "civil" when I never personally attacked anyone and only was posting my point-of-view.

It will be interesting to see if this situation improves.

Twitter added some new features awhile back for preventing harassment and it continues to be abused by users that don't want opposing political view points from being heard.

If someone says something you don't like (unless it's a threat) online, it's not harassment. I just wish more people supported our rights to free speech.
The Simpsons is an iconic show that many here grew up watching. I would say it's definitely newsworthy.
Yes, because the download link was broken and no one noticed. ...because no one was using it.

...that is what an abandoned project looks like.
Why the hard requirement to monitor port binding? Isn't HAProxy sufficient to do what you need? It can do maintenance page redirection if none of its backends are available.
Never explain anything to recruiters.
I think the fault was that they focused more on codifying approaches to deal with specific problems rather than discussing the problems they address, and encouraging people to recognize those rather than take a specific approach.

The manifesto was nearly a ten commandments of software development.
Thank you all! for your awesome feedbacks!

Conclusion:

1. Put our editor on our homepage: sunsed.com

2. Possibly change the font "Poiret One"

3. Make menu transition faster.

4. Pricing is not easy to find.

5. Fair policy for users who stop paying

6. Comparison charts for ghost and wordpress

7. Built-in comment system (beside Disqus)

8. Better explain how much faster it is compared to other blogging engines.

9. Open sourcing it.
GrADS (Grid Analysis and Display System): interactive geodata graphic authoring
How about

POST /api/customer/1/address {"address": "..."}
This seems to me to be a debate between equally usable technologies. The differences between REST and RPC are slight enough that it won't make a big difference which you go with. To spend too much time on this would be bike shedding.
Isn't this possible for some limited cases?

I mean, if you only match on the integer value, this case is trivial. Similar cases are already analysed by gcc to tell you "this comparison is always true/false".

I know it doesn't generalise and it "is it worth doing" may be a question, but it seems like most match blocks would fall easily under a very limited set of known cases.
I got to 20 and it just kept going and I lost!
3 cents per mile seems like a pretty high valuation to me. I usually use 1.5 cpm. You can do better, as you mentioned, but this is a good EV for me.
I'm surprised to see that even Safari and IE implement SPDY:

http://caniuse.com/#feat=spdy

If you're working on a new app and your primary concern is modern browsers, if your network stack supports it, you could probably design for HTTP/2 from the get-go. That's exciting - no more choosing between semantic code and boosting performance with hacks like image spriting.
Unreliable Guide to OCaml Modules
Here's an older article that discusses how that one proton would be able to travel to the Andromeda galaxy in under four minutes and to the edge of the edge of the universe in 19 days (as observed from the proton).
https://www.fourmilab.ch/documents/OhMyGodParticle/
It is as is. Title fees are mentioned, as are applicable taxes and fees. Buyer needs a little funding, but not much.
If we take that seriously, I wonder if we should look at something that isn't turing complete.
Not quite giving you any tips, but a word of warning. Avoid learning Russian through Russian-language community sites based on user-submitted content such as comments, posts etc. For the last couple of decades we've been seeing a trend of getting more and more people who are illiterate in writing, with the last three years seeing an explosive epidemic on our hands. It is now very rare to see user-submitted content written with the quality ready for publication. Speaking of reasons, there are many. Young people don't like to study and become smart so they don't read books anymore. Basically they hang out online and learn illiterate language from each other, such that these incorrect forms of speech have now proliferated to every corner of the web, polluting everything and affecting the rest of the Internet users, gradually replacing the correct forms with the wrong ones in their minds.

If I were to take HN community for example, this level of quality writing many display while expressing their thoughts cannot be found on the Russian community sites anymore.

There is also a staggering amount of hate speech and insults of all kinds. Most of it is not moderated as this style of interaction has become the standard way for most users. If it were to be moderated, it would mean wiping out over 90% of the user-submitted content resulting in a substantial drop of traffic, so nobody is doing it.

Many people (myself included) are now ignoring Russian sites seeing them as dumping grounds, preferring to stick with the international community instead.

Read books, not the modern ones, but those from at least 30-40 years ago. That's where you find a rich beautiful language in all its colors and the depth of thought.
Tabs vs Spaces

Emacs vs Vim

Destined to become one of the great debates of history.
Drum N Bass Epic Fail
> REST deals with things (like OO), RPC deals with actions (like functional).

I think it's the opposite: REST deals with data, while RPC calls an operation that has side effects on some (potentially) unknown state.

Not arguing that one is better just offering my thoughts on the analogy.
https://github.com/bcit-ci/CodeIgniter/blob/3a9eb39f61b10b3f...

CodeIgniter prioritizes OpenSSL over Mcrypt. I swear I did not tip their devs off before I wrote it, Andrey Andreev must have come to a similar conclusion on his own.
True.

Another gem in the ToS: "You are responsible for any tax implications that apply based on your country of residency and citizenship."

I know miles earned from credit cards are not taxed, but I do know for a fact that Citibank sends out a 1099 for new checking accounts that come with bonus miles.

If United sends you a 1099 based on the market value of a mile (likely between 2-3 cents each), then you're looking at non-trivial tax implications as well.
Not even being raffled, since they retain the option to refund your fees if they "don't find a buyer". Or in other words, if it goes viral enough that they earn more than the value of the home, it will go to someone for $150, otherwise they sell it normally.
WOW - That must have taken a lot of extra time to polish, but totally worth it I hope - I definitely fell into the story with enjoyment. A new generation of writing.
Because it's more straightforward.
2666 is actually not that many... if it goes even a little bit viral it will probably work.
Right. Hence the proof obligation. :)
Or 18+, for when you can't get no satisfaction.
3 Ways to Make Your B2B Brand Break the Content Mold
oh my! did you? seriously?
Yes, it is possible for some cases—this is dependent types' bread and butter—but having an analysis in the type system that sometimes falls down in complex cases tends to lead to frustrating type errors, because it'll refer to types and constraints that the you didn't type and the compiler inferred. If we really wanted to go down this road, we would probably want to add real dependent types to Rust and surface them in the type grammar. (I personally think Rust 1.0 has spent its complexity budget, though, and I'd rather have HKT first in any case.)

It's the same reason why we don't adopt a Nim-like "disjointness analysis" that can reason about arithmetic (as mentioned in the article).
"Being safe from threat enables people to express very personal views and experiences"

Only specific groups of people are safe when posting political views and experiences.

I saw many people posting that the cops should be shot, killed, or attacked during many of the Baltimore riots. There were no repercussions. Yet many people commenting on the poor behavior of the rioters either got fired, personally attacked online, or both. Twitter never stepped in in either of these cases.

The ex-Mozilla CEO was bullied online until he quit. His crime was contributing a small amount of money (I think it was $100) to something he believed in. If he was fired for contributing to a fund supporting gay-marriage, there would be outrage.

I seriously don't understand how racist, bigotry, and special treatment is supposed to be fought with the exact same behavior.

"showed negative responses to comments have made people uncomfortable contributing"

Are they also going to remove the vial and terrible responses to articles posted about Republicans, the wealthy, or Christians?
Looking at the tax history it looks like they might have bought it for around $300K so if that is the case they only need (a nice and even) 2000 people before they break even and everything after that is gravy.
Which makes me wonder if honey producers are taking advantage of the scare to raise prices or if supply has in fact shrunk enough to raise the price.
In my experience, it's way easier to write client apps against a REST API.

If you look at frameworks like Backbone, you can basically create models/collections for a simple CRUD app just by adding some values to a declarative hash (URI, primary key, etc.). Because everything is so predictable, it's really easy to specify a default behavior.

Granted, you could certainly do something similar with an RPC API, but I still think it would likely be harder to generalize.
Paypal did not invent electronic payment.
Tesla did not invent the electric car or batteries.
SpaceX did not invent rockets.
SolarCity did not invent solar roofs.

But I have an enormous respect for this man, just making rockets affordable is a great service for humanity.

"That's undoubtedly a better story"
(Citation needed) This sounds to me like : I feel so envious because someone else did something remarkable, that if I accept to give merit to him I will be accepting that I could do better than I do. So something, somewhere must exist to prove he has not merit.

"but I don't think inaccuracy actually serves us well."
Again (Citation needed), after stating your prejudice, you jump to take it as fact.

What is inaccurate about Elon here?
The article talks about good, but also not so good things about Elon personality.

I created my own companies and had to take very similar risks in my life, with everybody in my life believing I was crazy when I put "safe" money in the bank at risk(specially in Europe and Asia taking risks is a big no,no). Everything in the article sounds pretty veridical for anyone with experience in this field.
Hello, my name is Ava. I'd like to meet you.
Oh, I didn't see that. Jeez, what a scam.
In a similar vein: https://boinc.berkeley.edu/
1. Maybe you've used up all your gigabytes. It happens.

2. Maybe you're a foreigner in the land without a local SIM card. Nobody data roams, except business travellers who don't give a shit about their employer.

3. Maybe your carrier signal is unavailable, or they're experiencing issues on that day; it happens.

4. Maybe you're in a city, like London, which doesn't have carrier signals in the underground/metro/tube.

etc etc
Why the US tax code is so complicated in opera
Airbnb rentals cut deep into SF housing stock, report says
How Food Truck Parks Are Making America More Like Southeast Asia
Another interpretation is that, if you discover something similar to what Weev discovered, do not do what Weev did.
Who would have thought that there's more than one way to skin a cat? Or maybe REST is the best chuck out the rest! Pun intended!

I like your approach because it avoids never ending debates.
Why “Airbnb for event venues” websites all die/ venue marketplaces' fatal flaws
I get two things out of this article:

1) Elon's tremendous luck. He took huge gambles, repeatedly, and they all turned up heads. They were all very worthy ambitions, but nine times out of ten, they would not have worked out. I don't condemn him for taking those risks at all (in fact I applaud it), but:

There are probably plenty of entrepreneurs out there with comparable intelligence or ambition, but when they fall on their faces, we just shake our heads at them and say "well, that's what you get". But each of them simply wasn't lucky enough to have an Elon story. We should keep this in mind either while heaping adoration on Musk or while rationalizing someone else's failure.

2) Elon almost didn't succeed on more than one occasion because somebody else was actively trying to screw him over. And that (human shittiness) is one of the stochastic forces that made his success so unlikely. The world would have been a worse place and civilization would have been set back, all by the selfish behavior of some VC company. It is reprehensible that lollipop-yanking and sandcastle-stomping is not only actively impeding our society's progress, but despite this, it is actually tolerated or even revered.
How do you reply to comments? When I do it, (by tapping) I see various options, including "collapse to root".

The swiping thing mentioned by one of my sibling comments was new to me, though. Handy.