skysight-inc/HackerNews huggingface dataset:
Ask HN: CloudFront Not Loading in Canada?
I help consult for a news site (http://ryot.org) and I have a report coming in from Canada that leads me to believe they can not load CloudFront URL's. Has anyone noticed chatter around this or personally experiencing it? If you do live in Canada and wouldn't mind testing the following url, with a true/false report for load, I'd appreciate it greatly.

https://d3819ii77zvwic.cloudfront.net/wp-content/uploads/2013/10/Superstorm-Anniversar_Darg-630x440.jpg
curl -s foo.com/bar | sh

vs

curl -o install foo.com/bar && chmod a+x install && ./install

The script is an open source installer, the binary is hidden/closed. You and others at least have the option to inspect it.

The binary would also be coming over http (https is clearly preferred for binaries or scripts). A binary can always embed a script and do a 'system' call to execute any script-available privilege escalation.

I'm not sure what you mean by "as a .sh script, its self-selecting in terms of what system the binary executable has to be written for". I think you mean that a single .sh script can target multiple platforms. That doesn't mean a binary is any safer for you to download and execute on your system.
Javascript is shitty, though. I say this as someone who loves it, enjoys using it and understands it better than most. There are just some real undeniable fuck-ups in the design of the language. Don't get all defensive about it, be honest.
I agree it sounds like a non-trivial difference. An app could present new information over time, to fool the user into clicking on an external link in the app. The victim is now on the attacker's website, which suits the attacker more than trying to manipulate the app.
I'll give you generics. Statics, method visibility vs global/local/self. Interfaces, abstract classes, inner classes vs metatables. Data-structures apart from array are implemented on top of the language, array vs tables. Iterators are implemented on top of the language vs lua where they are part of the language. Checked exceptions can just be cast to Exception and ignored. Annotations are optional. Threads vs coroutines.

Yes, comparable to Lua. I'd probably not say it's smaller than Lua but I would say it's not greatly larger than it.
> In part, that’s because Srinivasan is not easy to dismiss.

Speak for yourself.
Eric Schmidt Webcast of Ocean - Technological Advances
So it was hard because hash table could resize between calls?

For HTreeMap I used expanding Hash Tree. There are 4 dir levels, each with 128 entries. If dir becomes full (or has too many collisions), it splits into another 128 dirs.

Iterations is done by increasing counter. If dir at level 2 is not found, it is increased by 128^2. Writing iterators took single day.
Haha yeah. User-Agent: ... (Webaudio, like Chrome) ...
Too many landing pages nowadays with too little information. Be nice to see a better list of features, screenshots, or a demo without having to sign-up.
Log Maths: Why You Don't Want to Play "Spot the Error"
Easily dozens and likely hundreds of books bought over the years.

A single book came up on matchbook. A cookbook.

Things that seem too good to be true usually are.
The joy of Ruby and small incremental improvements
There are different categories of corruption:

1. Bribes for government service

2. Government officials siphoning off resources

3. Government officials offering lucrative contracts/appointments to their friends or to people who bribed them.

I am no sociologist, but I can offer hypotheses for the first 2.

1. I think relative inequality might have a lot to do with this one. Although inequality is higher in the US than it is in India, people in the lower income bracket are able to afford a relatively decent standard of living. Also most government officials make middle class income. The marginal benefit of a bribe is very low and the marginal risk is very high. In India, some of the lower level civil servants/policemen make below-middle class wages (or maybe middle class by Indian standards.. I don't know). The marginal benefit of even a small bribe is very high. The marginal risk (due to factors I can't quantify... ie chance of getting caught, consequences, etc) is very low.

2. In the United States, a much higher portion of the population pays federal, state, and local taxes. In India only 2% of the population pays taxes. This is not quantified but I have a hypothesis: Countries where most people pay taxes have citizens who expect greater accountability from their elected/appointed officials because it is THEIR money. In India the average voter has no remote reason to demand his/her elected official to be accountable because its not HIS/HER money being wasted.

3. This might be the same reason as above. I don't really have a hypothesis for this one.

Once again, these are just hypotheses that I have. I am not an economist, sociologist, or an academic of any kind and I do not have any data to back it up. Just anecdotal evidence.
Thanks for the reassurance, Andy. We've chatted a couple of times in IRC and you've always been awesome in my complicated support requests.

Still, my concern isn't about the quality of the dotCloud PaaS going down -- it's pretty high already, and I don't have any plans to move immediately.

Instead, I'm more concerned about the shift in general. You know as well as anyone that software that doesn't get love and care eventually rots, and the blog post explicitly says that the focus is now on Docker and away from the PaaS.

From that, I infer that the PaaS is eventually going to have to go away as is the natural order of things. Since my company depends critically on that piece of infrastructure, I need to make sure I'm covering my bases with an exit strategy if you do decide to turn out the lights on the PaaS, or at least make sure I've thought about what to do as an alternative.

I also hope you guys make a bajillion dollars on Docker. It's really an excellent idea whose time has come.
> I'm okay with this request for citation.

The [citation needed] is needlessly irritating to a number of people.

When I'm trying to catch your attention I can clear my throat and say "oh, hey, specialist", or I can jab you in the ribs.

A few people see [citation needed] as a jab in the ribs.
JS might be a great language in isolation, but modern development or modern web development anyway.. in my experience wastes too many CPU cycles doing stuff that native applications were doing with higher performance years ago on some pentium 3..

Hopefully someone can solve the problem of distributing and updating native apps as smoothly as web apps (or websites, to be more accurate) with a minimal security impact and we can all go do some real 'modern' programming.
Better at being both a functional and object oriented language?
The examples listed at [1] seem to be mass-market fiction titles only. I didn't check through 100+ pages of listing though.

[1] http://www.amazon.com/b/?node=7792718011
Songs of Diridum: Pushing the Web Audio API to Its Limits
That was part of my original intention. The reason 'foreign' takes C as its first argument in the examples is so I could eventually add support for binding mangled C++ functions mangled through Clang/GCC (Which luckily use the same mangling scheme).
Still no h.264 on Mac :(
I don't hate Java/Python/C#/C++ because I know I can realistically choose between them when building server, desktop and mobile software. I hate JavaScript because I am forced to use it for web clients. And transpilers are useless because I can't really use my high-level GUI (QT, GWT, WPF etc.) libraries. I spend enough time debugging raw JavaScript, I struggle to see how putting something on top of it will ease the pain.
> I wonder if imprisoned gang members have access to cell phones, though. They probably do.

No, they don't. Most countries (including USA, AFAIK) restrict inmates phone communication with the external world.
I will admit to having been an anti-JavaScript elitist (without really knowing JS.)

This video changed my mind: http://youtu.be/hQVTIJBZook (google tech talk, "JavaScript: the good parts")

Two facts mentioned in the video that I didn't previously know and make me feel better about JavaScript:
1- JavaScript is lisp in disguise
2- The name JavaScript is an inside joke referencing the language's differences from Java, not its similarities.

That was enough to make me change my mind, and I'm currently enjoying learning JavaScript unashamedly. Browser differences and lack of standards are a PITA, but OTOH, they all have awesome debuggers - HTML+JavaScript may be the only UI toolkit + dev environment that comes packaged with ALL computers, and for that reason has the widest reach.

There's no question that the JS world is a bit wild west compared to other languages, but there's also no question that the situation is getting better over time, and that depending on what you're coding, there are huge advantages to using it.
I've done the last couple on "Middleman, SASS, Coffeescript, Bootstrap". This stack coupled with github for deploy/updates is the quickest to develop on for me. Good stuff there.
Why US Healthcare sucks and how I’m trying to change it
R cheat sheet for the burgeoning data scientist
I love my Mac Book Pro Retina, but I admit, it's grueling whenever I have to use Windows on it. Either really slow emulation or complete boot over to boot camp, which is a pain in the ass maintaining another OS. I could easily see someone wanting a native Windows options if they had to do the things I do in Windows more often. Many SDKs only work in Windows, like Intel Perceptual Computing, Samsung AllShare, etc. unfortunately. Right now I keep a spare Windows netbook around, but definitely considering upgrading to a Surface now that they are competitive.
I have many hundreds of books purchased from amazon, going back to 1996. It took about ten seconds for the site to identify five that were eligible. Four of the five eligible books were purchased between 1997-2002 and the eligible recent book was a work of fiction that doesn't appear to have aged well. Books published in the last decade appear to be a harder sell for the program.
i think its awesome, but it only makes androids fragmentation problem worse.
QuizBean launched today to help teachers instantly assess their students
Right, and I guess what I'm saying is that it's fine to do so at someone else's expense. But that's the moral argument and it's a simple one, I don't see government force as illegitimate and therefore I'm fine with taxation, regardless of who is being taxed. If you believe it is illegitimate, that's ultimately your problem and you live in a reality where most people do not agree with you. That's fine, we can disagree and move on.

But the problem comes in when unsubstantiated statements come into this. I don't see any evidence presented at all that what you go on to say in your last paragraph is true.

"The reason unemployment exists is not because there's not enough jobs." I'm sorry, but my country's unemployment rate is 22%[1], and we have no welfare state worth mentioning. The minimum wage is under $1/h, and there are no restrictions on hiring nor on firing. We've had this same rate of unemployment for decades with constant economic liberalization. Now, I suppose under oleganza's view, we can still blame the very fact that government (anywhere) exists on this problem, but at a certain point you cannot blame the government anymore.

[1]http://webrzs.stat.gov.rs/WebSite/Public/ReportResultView.as...
Indeed, this is a known terrible mistake, easily avoided.

The lack of the string "UUID" in the RFC is also cause for concern.
The ES6 bits makes me all smiley: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=717379%...

I wish Chrome would start adding them, then I could start using them for personal/particularly nerdy projects.
Can I just say how much I love the title of this service? Not only does it fit in with the theme of the idea of "Kindling", it also can be separated into Match and Book, which is what the service does. With so many absolutely awful names for services and products out there, it's nice to see one that (in my opinion) is well thought out.

As for the service, I really love the idea. This is the logical step, and pretty much exactly what I was looking for in both owning the book in a physical format and also having access to a digital version for different reasons. It is just really disappointing that a total of 0 of the books I have bought from them are available through this service, and I've used Amazon quite a bit. Hopefully, it's successful enough to take off and start to force more support from publishers, and it doesn't die out too early due to lack of publisher support.
>I didn't mean bigger in the sense that you need to know more to be able to use it

Ah ok, well I can see why we have differing opinions because that's exactly what I mean :)

I mean base language including corner-cases, not any of the libraries (even if they're included in the SDK). I think they'd both be huge if we included libraries, since I'd lump in DOM manipulation and something like JQuery into Javascript if Java gets the SDK libraries.
It actually is really important for people to point out how awful the current state of affairs is. If there isn't recognition of the problem, it will never be fixed. We need a standard browser bytecode, so multiple competing languages can exist and have the same access to the browser. As it stands now, people are using javascript as that bytecode, and writing decent language -> javascript compilers. Javascript is not well suited for this task.
How Do You Choose The Best Song For A Workout? | runnersong
Man buys $27 of bitcoin, finds they're now worth $886k
What is your experience with in-browser, project-based sites, like code academy, code school, and code avengers?
PR. Witness how everybody goes apeshit whenever Google closes a niche service.
I've yet to find a function, better, which can apply even a partial ordering on language designs.

A lot of the same arguments against Javascript are heaped on C as well. I think anyone has used these languages long enough and understand them deeply enough are more than aware of their short-comings. It hasn't stopped C programmers from writing the software that runs pretty much the entire world. Neither has it stopped Javascript programmers from making awesome things.

I think the argument that, X is a crappy language because it lets you do stupid things like Y, should be removed from the lexicon. I assume you've all seen the video of the wat talk and any Javascript programmer worth their salt has committed it to memory. If they haven't then they're either still new to the language or ignorant and could use some help. Maybe point them in Doug Crockford's direction.

There's no perfect defence against human error. It's why we write tests, static analyzers, linters and come up with practices like code review and prayer (hah!).
The latest versions of Photoshop do have a lot of new tools used by a lot of people. It is much like any other high-end program - 90% of the people use 10% of the product, it just that all use a different 10%.

> All the print/photo industry is locked in proprietary file formats (psd,pdf,...)

PDF is actually an ISO standard (32000-1:2008) and Adobe has granted a royalty free license to use all Adobe patents to implement the standard. They have also said that all future versions will be defined by the ISO committee.

PSD is proprietary but documented and implemented by a number of programs.
You realize that people buying iDevices have the power in this relationship, they decide whether or not to make their trades.

I know at least three people who were just fed up with not being able to find appropriate connectors when on the go, and left for non-Apple devices as a result.

I mean, iDevices are already losing in terms of market share and revenue, you'd think they would find new ways to cater to existing desires of returning customers.
One interesting thing to do is to scroll a Google Map world-view sideways, with your finger on European cities, and see where the correspond around the world. It's very surprising (and visual too).
A house is also an investment in the future. I'm sure these folk don't believe in the future either.
All your Facebook Access Tokens are belong to us
Because concepts from the bleeding edge of language research are slowly trickling down from Haskell & Co. to mainstream languages. Ten years after they emerge.
"Point is: you cannot generalize."

Why? You get what you optimize for. Sometimes it doesn't work, but usually it does. Also in the olden days a landlord might have gotten away with bait and switch, but it seems unlikely it'll happen now.

Also given crooks, why risk more financial assets than necessary; I don't get the desire to deal with a HOA over a landlord. I don't trust that homeless person with $5, so I'll hand my wallet to that panhandler instead; what could possibly go wrong?
In an experiment you not only measure, you also conduct an experiment. And in an economy every decision affects everyone to varying degree. Especially government's because only violent actors can reach those who would otherwise not be reachable. E.g. when I sell you my service, it does not greatly affect anyone except you. But when I start doing my service for you as a government agency, I suddenly affect everyone because I have to tax everyone and do that I have to create ten more agencies including IRS, police, SWAT etc.
Unfortunately those will come at the price that your Google account works slight differently (in regards to G+, YouTube, Maps, GTalk, Docs, ...). It's more than just removing ads. Unfortunately. I was very close to moving my personal Gmail Apps for Business with my domain but decided against because of all the side effects. I really wish Google would offer a clean "Pay for your personal Google account". Just no ads anywhere. That's all.
Yep, I've just corrected the typo …
Energy Star Air Conditioners
CSS3/JS 3D Gallery
>Two facts mentioned in the video that I didn't previously know and make me feel better about JavaScript: 1- JavaScript is lisp in disguise

That is unfortunate because it isn't really true: http://journal.stuffwithstuff.com/2013/07/18/javascript-isnt...
One of the main reasons is the existence of a developed Bureaucracy. While Bureaucratic institutions are inefficient and inflexible, the trade off is that they are generally fair. Bill Gates waits in line at the DMV just like the rest of us. There's no way around it.
Amen! How is this not an obvious step by this point?
You're thinking entirely from the business side; how a business perceives its profit model.

As a consumer, and thinking specifically to when I had less means: perhaps wrongly, but I have an acute perception of the value of anything I purchase in terms of the work that actually goes into its production. I'll pay for a service if I'm not being scammed, if some real human effort went into producing it. If it's just a copy of something that was already produced, then there's nothing for me to pay for.

Similarly, if it costs $x but "free if you tell 5 friends", suddenly the whole experience is cheapened. It's perfectly concievable that I could tell 5 "friends" and this has 0 effect on you. My mind starts to wander. Why should I pay more because I don't have 5 friends? Why should I pay more because I'm not willing to shill myself out and strain the relationships I have, to give you some cheap advertising? I consider the premise offensive, and I also see that maybe you don't need the $20 as much as I do.

It's not a great way of thinking, but I think the onus is on the salesperson to have some respect for their clients and not smugly write them off as "stealers" when their storefront provided what might be perceived by those clients as a sales trick. shrug
I don't think it's too far off.
"Who else can require corporations/individuals to release correct/non-fraudulent financial data"

People will figure this out. And if they don't, who is to come with a gun and tell them how to live?

In many cases it's not even needed. Who needs to know how much do you earn? Only those who confiscate from you.
How do such apps avoid to run into the usual Gmai-related IMAP issues? Is there an API for Gmail access?
"Ministry of Truth in 1984" I am so happy I am not the only one who sees this analogy!
> I'm really surprised Apple don't do this just for user friendliness.

I can't stand proprietary connectors as much as the next person, but there's no denying that their Lightning connector is much much better than any USB. It's reversible for one (size and robustness aside).
I guess you’ve seen kangax’s charts, but he does a good job of tracking progress: http://kangax.github.io/es5-compat-table/es6/

Firefox 26 will introduce Array.of, Math.fround, Generators and Structs.
Bad batteries, free of charge
It's not even just the Tea Party. If it were, we'd still see countless non-Tea Partiers taking to the streets everyday to protest NSA surveillance and government corruption. We don't. You can ask a typical American what they think and maybe half will say "Yeah, it's bad!", but they still don't do anything about it.

Americans just don't care enough to do anything. The few that do genuinely care are too afraid to do anything.
In Brazil there's a saying: "Poor people like luxury. The ones who like poverty are intellectuals."
"He who foresees calamities, suffers them twice over"
Does that mean I can't refer a family member?
It would be irresponsible to their paying customers to just kill dotCloud. I have no idea how much money they are making from it, but whether they have 100, or 10,000 customers, they owe it to them to provide them the best experience possible whether they are ending dotCloud or keeping it as a going concern.

Frankly, docker could be (and probably is) a great marketing tool for them to basically say, "Docker is great, and if you are looking for a cloud hosting, check out dotCloud." Even if docker related services don't make a lot of money right away, dotCloud is something that is making them money today.
Perhaps one workaround (for locals) to this whole "one week of vacation from existing job might be unfeasible" problem is to have they come in for two full work days on the weekend + another day or two if necessary (depending on the team's preferences). This way, they don't have to take off (as much) time from work, but can still put in the requisite time for you to get a good feel for their fit.
There's reason to think that we're maxed out on intelligence. Our heads are about as big as could fit through the birth canal. A brain as big as a planet couldn't possibly work, and if it had the energy of a star, it would be made of plasma at millions of degrees Kelvin.
Claiming that it means "I am a Jelly Donut" is not false, just claiming that it doesn't also mean "I am from Berlin". It has both meanings.
A very influential reference that proposes this idea:

"Leviathan", Thomas Hobbes, England, 1651.

http://en.wikipedia.org/wiki/Leviathan_(book)

From the Wikipedia summary:

"[The] natural state of man is not to be found in a political community that pursues the greatest good. But to be outside of a political community is to be in an anarchic condition. Given human nature, the variability of human desires, and need for scarce resources to fulfill those desires, the state of nature, as Hobbes calls this anarchic condition, must be a war of all against all. Even when two men are not fighting, there is no guarantee that the other will not try to kill him for his property or just out of an aggrieved sense of honour, and so they must constantly be on guard against one another. It is even reasonable to preemptively attack one's neighbour."

The truth of Hobbes' "State of Nature" is still debated, for example in this thread, almost 500 years later. It's a well known idea in philosophy and politics.