skysight-inc/HackerNews huggingface dataset:
the place where REST over HTTP fails badly IMO is batch operations and deep operations. when creating multiple entities at once, you cannot get back multiple location headers. and even if you could get back several headers, you have to re-request each of them via http to get their contents. it obligates you to be needlessly chatty.

deep ops on multiple objects complicate things even further.

i feel like once you get outside the realm of basic document storage (which is what HTTP was designed for), REST via HTTP headers completely breaks down into custom hackery for which there are no standards.
Utter linkbait.
The Eye Jabs - Mushroom Man
I have a question, I consider myself a great software developer with a proven track record. I have open source code, lots of completed and shipped websites and software.

Do interviewers really care about this sort of interview knowledge outside of the San Fransisco start up bubble? I've been programming and making a great living for more than 8 years now, and not once did I have to implement a b-list tree or something CS-y like that.
If I want to copy content without authors permission, I won't copy and paste and will just wget the shit out of your web page and carry on. You prevented nothing.

But as a regular user, you just made me angry preventing me to copy and paste or adding obnoxious content (which I'm going to delete anyways).

So you traded a light barrier (if any) to unfair users for a huge annoyance to legitimate ones. Not very smart IMHO.
> Is the site you want one that is supportive of new ventures?

How does one say no to that?

But, step back and consider this. Is support for the heck of support really supportive?

Additionally, I believe the tech community, is the single largest group of evangelists that have benefited the world in the last decade or two. They are also the usual intended users for most of these ventures, and their adoption could make or break most new products. Often, posters of these alleged ventures do not want to listen to users, wherein the problem arises.

Quote for this discussion would be: "The day we stop criticizing, will be the day we stop caring."

Most criticism is intended to be positive, most people also don't know how to criticize, those who know how to criticize positively also falter in some situations.

There are of course trolls too, would you really sacrifice everyone else for them?

edit: spelling
It varies, the "national security Republicans" are all for the surveillance, e.g.

http://www.politico.com/blogs/politico-live/2013/12/mike-rog...

whereas the "libertarian Republicans" are just as strongly against it, e.g.

http://www.mlive.com/news/grand-rapids/index.ssf/2013/12/ama...
Thansk very much Amjad, it's still a bit early (the event will occur after two months). I'll contact you once he need your help, big appreciates :)
I'm still a huge fan I do apply the resource think to most stuff I build.
>TextSecure folks: instead of ranting that “our stuff exists already, but we got no money and we got no cross-platform support Y U NO USE our protocol?” and using political tricks, go make better protocol and market yourself better.

As DanBC posted[1] in the other thread:

>>You seem to be mistaken about why they do this. It's nothing to do with pushing their app or their approach. They'd welcome good well-formed apps to compete with them. But when they see an app that claims to be secure they have an ethical duty to let people know if it is obviously not secure.

>>Most people are not bashing just for the sake of bashing. Some people need good cryptography software to avoid imprisonment, or torture, or state-killing. This isn't about stopping someone's teen-angsty poetry from being discovered by a sibling, it's about protecting political dissidents from an oppressive regime. In that context pointing out that a software is broken is not mindless bashing, it is a crucial part of the cryptography process.

>Go make your own stuff and don’t listen to HN or any other skeptical community.

Unproven cryptographic systems masquerading as secure need to be criticized. It is very, very dangerous when non-crypto people pretend to be crypto people and call their systems secure.

[1] https://news.ycombinator.com/item?id=6949842
There are a few AMIs available: http://www.daemonology.net/freebsd-on-ec2/
Microsoft Project Siena (Beta)
I don't see Roberts embracing a reading of the state secrets privilege that essentially makes these sorts of constitutional claims unreviewable. What was on the line in both Reynolds and General Dynamics was money. The justices were quite pointed about this in General Dynamics, accusing the company in oral arguments of just being greedy, etc. The assertion of the privilege in at least some of the NSA cases raises countervailing issued that didn't exist in Reynolds and GD. If the Court does decide to take up the issue, I think the government will find the privilege less helpful than they might wish.

edit to my other comment: Reynolds wasn't a contract action, but a tort action, but what was essentially on the line was damages.
Wikipedia says the USS Ronald Regan has a total crew of 5,680.

How statistically significant is 70 people out of 5,680 suffering serious health problems over 2.5 years? I'm guessing that most people on board were fairly young and in good health.
that's the long game. the KGB basically became the Russian Mafia when the USSR went under. maybe the NSA's thinking ahead too.
Aside from obvious trolls, I can't see where this alleged negativity is on HN. People are critical, but criticism is necessary for debate, improvement, and freethought. Everybody should be free to express their thoughts, as long as they're well meant and not obvious, unreasonable attacks. When we start considering censoring people who disagree with us, we're only inflicting cognitive biases upon ourselves. We resort to groupthink, people thinking one thing but expressing another in order to prevent discord.

And I don't see how this environment is unfriendly to creators. If anything, people giving honest opinions about something without fear of reprisal from their peers gives the creator the tools to reflect upon their own judgements. Without it, they could be digging themselves into deeper holes with confirmation bias. If anything, it presents a creator with a good opportunity to retort misconceptions about their creation by replying to those critical comments.

There are of course, creators who use HN for marketing their products, and marketing is often dishonest or not completely honest. It should be expected that when pitching a product to a technically competent crowd, you should cut the bullshit and let the product speak for itself. It's my hope that marketers should only be welcome here if they're honest, and having freedom of expression in comments gives us the opportunity to make judgements without investigating everything ourselves. It's "Hacker News", not "Startup News". I'm glad it's not Techcrunch.

The main reason I visit and comment on here is because it's nice to see variety of opinion from mostly open-minded and intelligent people. I can ignore the comments I dislike or disagree with. I don't care whether or not people agree with what I say either, because they can make their own judgements. I'm sure creators can learn to do the same. Sieve through the bullshit, but don't succumb to reactance when their ideas are judged.
I believe these are the boxes you can install if you're an ISP to cache the most popular content - hence the talk of 100TB of hard drives etc.
Not the most credible publication, and plaintiff's attorneys are clearly the primary sources for the article.
My money is on RESTless, which in the form of RESTless web syndrome can cause sleepless nights.
Brock Pierce: "2014 is the Year of Bitcoin"
In the current architecture, electricity can't be shared out of your own neighborhood, so this wouldn't be the case for bedroom communities.
'Magnetophone' sculpture turns electromagnetism into beautiful noise
Anti-science activism & statistics-illiterate fear-mongering is killing millions
I've seen websites preventing you from selecting any text at all. I usually select the text I'm reading as a sort of mark, so that really annoyed me.
actually - the world would actually better off if everyone cleaned their own backyards before poking into their neighbours business!
Thanks very much DanI-S, I'll mostly ask you for help when the time comes, lots of thanks :)
(And BTW we have a Hackerspace in Damascus as well https://www.facebook.com/WikilogiaHackerspace, it belongs to Wikilogia - the community partner of SWDamascus, and I teach web programming there as well :D ).
Could you go as far as messing with the carrier bundles? I had a problem a while ago where Safari would reinstall the carrier's default bookmarks every time it reopened. To be fair it was irritating, not critical, but I was able to hack the carrier bundle and remove the bookmarks, plus change the carrier name out of spite.

Stuff like that, it doesn't change my life but it makes me mildly happier, all because I can get at the filesystem and have root on my own devices.
John Chen thinks he can make Blackberry profitable by 2016
Is iBeacon technology the future of retail?
While I'm not saying that Telegram "is RIP" (whatever it means in this thread), Linux, Chrome and Android don't have crypto as their main killer feature.
So, you don't think that just enough people down-voted this bullshit thread? Maybe you are the one wrong on that topic. Maybe you should do your homework.
They could have sidestepped the whole issue with a simple reverse-osmosis water filter. Somehow I get the impression that they did not think the ABC (edit: CBRN) thing through.
This is neat... but why not use the copy/paste event handlers where possible?
I was puzzled briefly as to what JavaScript was doing there but thinking about it I've been doing some stuff with google maps and the API for that is mostly done with JavaScript objects.
why are you so stunned that people can be inhumane? Have you looked into how all those clothes you rushed so madly to buy on black friday are so dirt cheap? Or that iphone? There are people in the west who are equally or even more inhumane - being distant from the inhumanity is just washing your hands off it. Make statements like those - if you're someone who only buys things produced fairly and the makers of which pay minimum wages to their employees - otherwise you're as inhumane as the next guy - but just have the luxury of being able to ignore it and feel good for yourself because you're not directly involved.
I like to start with REST, I feel it's a great canvas, and a great way to think about what I am delivering. And if I can get the design to work within it's confines, then that's what I'll go with. It almost never ends up fully RESTful, and that's usually because the complexity required in the code would impact the maintainability. And to me maintainability is usually more important.
At the TC Disrupt Europe hackathon, there was one team that build a hardware/software hack to crowdsource radioactivity data / warnings. Basically, a Geiger counter attached to your computer that sends readings to a server.

I think it was a really cool hack and one of my favorites, but it didn't go anywhere with the jury (I guess no business model and all :) ).

http://techcrunch.com/2013/10/26/open-radioactivity-warning-...

http://techcrunch.com/video/open-radioactivity-warning-syste... (Video)
JSON vs XML Some hard numbers about verbosity
Ruling classes have a lot of influence in society, and thus define the social norms. If the society was racist, sexist, and elitist, it is extremely likely that it's because the ruling class is such.

Thus they get to take responsibility for their views. Be it from ignorance or from spite, bigotry is still bigotry.
Amazing young singer
Talented young singer
I actually have those goggles, but find they don't fit well over my glasses. Know of any pair designed to work with glasses?

I know flux isn't perfect. But as I don't really use my phone much before bed, it seems to work well enough. The glasses could be useful for late night computer work though.
Radiation overdose is happy to cause you all kind of cancer 50 years down the road. Having been overexposed is really not something you want, even if you don't show symptoms so quickly. The psychological pressure on these people alone must be maddening.

Imagine waking up every day for the rest of your life and wondering if you have cancer today? Not good..

Edit: and let's not talk about the increased likelihood of disfigured offspring.
Check out J[1]. It's basically ASCII-APL though it lacks a toy modern implementation (in case you don't know, APL has one[2]).

What really annoyed me about array languages is that idiomatic code is nearly impossible to follow after a month, so I ended up aliasing many of the commands to more verbose alternatives and using longer traditional constructs like IF-THEN-ELSE.

That pretty much turned the language into weird-C-limited-to-binary-functions-with-an-array-stdlib, which kind of defeated the point.

[1] http://www.jsoftware.com/
[2] https://github.com/ngn/apl
Please, please don't do this. By doing it you break UI conventions I can rely on everywhere else, and introduce yet another thing that's not quite going to work right in some combination of platform and browser.

You probably don't have the budget to make sure this works properly as you intend it everywhere it's accessible, and by introducing it you're actively making your site, and by extension my experience, less reliable and less predictable.
>> Unlike Australia, some countries with unevenly distributed renewables do indeed also have to massively increase their overland capacity (central Europe).

Only in neighborhood circuits where residential PV is significant. Utilities don't want to. Government should force them.
Reduce your load, buy a generator and/or batteries and dump the grid.
XKCD has an undocumented feature
This URL http://xkcd.com/test/ directs you to the "Undocumented Feature" strip
Why say "can"?

Should just say "I will email you about it".

And actually to be even less annoying might even want to skip saying anything when you meet in person. (Unless of course you are somewhere where it's expected and appropriate).

Just send the email and say you saw him and didn't want to bother him. Or actually don't even say that. Why make it seem like you weren't motivated until you saw him either in person or on TV. [1]

[1] I did two deals with someone who is on a reality TV show. I didn't even mention that I watched the show. I just went right into the pitch (which worked). Everyone is different but that is what has worked for me (on several occasions) in the past.
I love that REST is popular and SOAP is not (bad memories of SOAP). These days web sockets make streams and the unix process model of command parameters, environment, input and output possible.

A good module that uses this philosophy is:

https://github.com/substack/shoe

As with everything - pick the right tool for the job. It helps to have more rather than less tools.
Probably talking about JSON and similar formats like JSON API.
When people will understand that the best of both worlds is what works for them?
I'm having trouble understanding the continual claiming that REST is not asynchronous - which I guess means that REST is synchronous. Saying it once would be a typo, but several times and I start to feel there is a distinct difference of opinion between myself and the author as to what constitutes a Restful architecture.
Thanks for your appreciation brianbreslin, we manage to help our community spark its innovation as well.

Surely I'll tell you if any help is needed from people in the U.S, thanks in advance for your willing to help.

Stay tuned for followup posts we'll post during and after the event :)
"In October, Bloomberg reported that a hedge fund,
Magnetar Capital LLC, had quietly bought 1 out of every 11
homes in the Ohio town of Huber Heights and then pushed
for property-tax cuts that would have blown a hole in the
school district’s budget."

That's quite a short-sighted move that makes a quick buck now, but lowers home value in the long term. In areas where there are a lot of single family residences, there is usually also demand for better schools. When the schools worsen, so do property values.

Furthermore, this is setting things up for changes in landlord-tenant laws. The level of lobbying power and expertise in tenancy laws they are going to accumulate is going to make them a formidable foe for tenants rights groups to fight against.

I fully expect this to get pretty ugly long term.
I hate how they make it super hard if not impossible to override the APNs yourself... I change carriers every month, and do all sorts of odd stuff with my SIMs, and my iPhone chokes on them because of it :(
Several years ago I started working from home more, and during the winter found myself really struggling to focus on screens and written text. It seemed to be 'vague' but my eye tests showed no deterioration.

I read online about daylight-spectrum bulbs assisting fine-work ( crafters use them extensively ) and on a hunch I bought a few bulbs. What a transformation! I found myself much more alert and better able to read.

I also like how they seamlessly transition from dusk to pure artificial light, particularly in the rooms we have painted white.
This is why I wouldn't let my kids EVER enlist. The government has no regard for its enlisted. Doesn't take a genius to think our navy would be in harm's way during a RADIOACTIVE DISASTER. Reminds me of when soldiers were being electrocuted in showers in Iraq because of totally incompetent contractors wiring electricity near the showers.
I think it's going to become more necessary to moderate through downvotes. I've almost never downvoted anybody on HN ever, especially not in comparison to reddit where downvoting is extremely rampant, but I think, sadly, the times might be changing.
Show HN: Learn Java and More Online (My 1st real Rails app)
I've been working for about 8 months on http://www.Learneroo.com, a site to teach programming and more through challenges. I created the site and all the content on it, and I'm looking for some feedback. Thanks!
Yeah. I've found a weird dichotomy in the general push to use "REST" for web APIs, but then certain aspects (true statelessness, for instance) are met with blank stares.
Sad story and and it pisses me off that so many countries denied the carrier to dock up.
That is not a reasonable stance. What you're saying is that the site owner is entitled to pre-judge any copy and paste as inherently unfair, and break everyone's experience as a result. That's not a judgement they should be able to make, and it's not a right they have.
Just to take the join definition, here it is :

@JoinTable(
name = "customer_order",
joinColumns = {
@JoinColumn(name = "customer_id", referencedColumnName = "id")
},
inverseJoinColumns = {
@JoinColumn(name = "order_id", referencedColumnName = "id")
}
)

In rails, this would be:

belongs_to :customer

and maybe has_many or belongs_to on customer for the inverse.

and the xml translation is pretty transparent too, under the hood it's not very different, but it's a lot simpler to write/read. It is possible to get rid of a lot of this sort of boilerplate by adopting conventions about naming etc and then specifying the exceptions where necessary. I do think these would be better moved to methods rather than being object attributes like this (which read like a translation of XML into text annotations on the object, rather than convention + code when convention isn't enough).
The async api bit is pretty off for a couple of reasons.

1. REST is not inherently uni-directional. This is especially going to be the case in the internet of things, where you're just as likely to have servers on both ends.
2. You can do server->client push with Server-Sent Events.
I think the reason most large corporations fail is because they turn into self-diluted echo chambers. So, what if the neg comments came from a high profile blogger, you going to close up shop? Most of the time when I post I get nothing, silence is way worst than "I don't get your idea". I'm not saying trolls are good, but if your doing some kind of market research you need more bad feedback than good. so you can fix things.
Is there a native organization that could profit from this?
Remember the US used to do multiple nuclear detonation tests off Pacific islands after WWII. The Pacific Ocean has a lot of water to dilute the effects.
I agree with that. Why they didn't go with this route is something I'd like to know as well - Telegram's FAQ is quite vague on this issue. But still, I prefer a reasonably secure service with great clients on all platforms, over a perfectly secure service with ugly clients that I can never 'sell' to decision makers.
You're being rational again. Stop!
"and was seemed pretty laid-back for a billionaire. "

Reminds me of what my mom said many years ago when she met Jay Leno. She remembered how nice he was to her and how she didn't expect that.

I think that when you are a public person like that you probably have to try to make extra sure that you aren't a "dick" or a "tool" lest word gets around that harms your image. Especially when you are on TV.

I'm not saying that he isn't (I don't know him from before he was famous) but I would imagine that you have to go to a conscious effort to be on your best behavior or suffer (as we might see from time to time with celebrities) the consequences of not treating people in a really nice way. And to not seem as if you are above them.

For example I was at a restaurant last night, didn't like something, and complained. I'm sure if I was famous or well known I would have thought twice about what I said and did. And if I did complain I would have done so in the most charming and deferential way.
> Better title: "Is using REST for everything a bad idea perhaps?" Turns out that yes, yes it is.

For the vast majority of these uses, "REST" is a worthless and meaningless buzzword, so that's not a better title as the rise and fall of "REST" has nothing to do with it.
"The levels were incredibly dangerous and at one point, the radiation in the air measured 300 times higher than what was considered safe, Sebourn told The Post."

This doesn't mean anything, its technobabble. How many REM or mSv total exposure?

"I said something complicated and science-y sounding, so you are supposed to be scared right now".

The biggest misfortune is they may even accidentally be correct, just completely incompetent about it.

A big epidemiology problem is identifying the actual cause by symptom, and avoiding the assumption that participation in something big and scary therefore means all problems must be caused by big n scary. Some goofball tipping over a barrel of solvent in the maint bay could cause many cancers later, and is marginally more likely.
Yeah but then you end up changing the info hash, and thus your magnet is changed.

What I'm trying to do is to basically embed the magnet link in my program and sort of having it self check itself for updates. It that makes sense :)
Where hello_hi might have gotten confused is that in usage, a pointer of array pointers looks the same as a 2D array. So if you only see x[a][b] it could actually be dereferencing an array of pointers to integers.

Since we have the declaration, it's unambiguously the 2D array that you described.

EDIT: I might be seeing things, but I think you have your order mixed up, x[a][b] is not x_1d[a + 83b], but rather x_1d[a83+b]
I hope I won't offend anyone by saying that some of the reported health problems after radioactive disaster are usually exaggerated to get reparations.