skysight-inc/HackerNews huggingface dataset:
Minimal CSS Devices
Minimal Devices is a set of HTML & CSS components to let you simply and elegantly show off your work in context.
Subbable (Kickstarter for YouTubers)
The same way you spot other cargo cults: look at the team's processes critically. Start from the basics, with the Agile Manfiesto. It's well summarized on the Wikipedia page here: http://en.wikipedia.org/wiki/Agile_software_development#Agil....

I believe that manifesto is the only important part of Agile. Everything else is just suggestions about how to accomplish that goal. If a particular practice does not make sense for you, in your particular situation, then it's garbage. So, look at your team's processes and ask yourself this:

If you were to reverse engineer a process that would accomplish the goals of the Agile Manifesto (e.g. the developers know what needs to be built, and there's short feedback loops between developers and stakeholders), would you end up with something that looks like what they're doing? Could you drop any part of your process and have things still work?

If you discover too many red flags -- things that serve no purpose except to "look Agile" -- then you may be in a cargo cult.
Jail in the US.
Microsoft CEO Steve Ballmer Admits He Made A Huge Mistake
This would probably be a more valuable reassurance if the US didn't have a very well-known recent history of:
1. Committing acts widely accepted as being torture within the definition of international agreements to which the US while denying that they are "torture", and
2. Farming out torture/murder of persons under control of the US to third party states, and
3. Being caught red-handed misrepresenting everything it thinks it can get away with about the Snowden case.

All of which makes it so that, taken together, no reasonable party could trust:
1. Any statement made by the US regarding Snowden that comes without external confirmation or securities.
2. Any commitment of the US not to torture to have any substantive meaning, insofar the US has demonstrated that it has no problem redefining torture to exclude whatever it does.
3. Any commitment of the US not to torture or kill someone delivered into its power to mean that the US will not cause them to be tortured or killed, insofar as the US has demonstrated that it has no reluctance to render persons under its control for torturing and killing.

That's not to say that I think the US government would torture or kill Snowden, because I don't think that that is likely (for reasons unrelated to any guarantees provided by the US government.) But I do think that the US government's word on that matter, given recent history, is absolutely worthless.
Usually a release would be marked for a stable release after a decent amount of testing... so, it should be relatively bug free. Having a new release just a few hours after this one doesn't instill a lot of confidence in their testing.
Who leaves their phone sitting around at parties?
If you like hammers you can make them do anything. Or is the analogy nails? I forget.

The real question is why use Haskell instead of something else that most people generally consider targeted at the web?
He's not biased at all.

Didn't you see his coverage about how apple needs to get its shit together after the security breach?

"Sounds like it’s bad, but not super bad. <link to apple talking points>"

oh.
Now that is actually in the immediate pipeline :) Expect to see squidlist events appear on the map soon!
Although even in that case it's important to know both pieces of information. Past some level of safety, intersections likely hit a floor where no amount of further investment will actually make them safer.
On the other hand, Apple might be rethinking that policy right now.

I hope they are, anyway.
MyOpenID no longer supported; add alternative login method to your account
> This kind of sounds like referring to SF startups like Americans refer to baseball championships--'world's' startups ... 'world' series

Startups in SV are a subset of startups in the world, and my argument applies to most of them (perspective: I don't live anywhere near SF/SV). Targeting a demo with a need and means makes sense no matter where the company is founded. If Prim had started in NYC or London or Hong Kong, would that change any of the logic here? Or do you think the commenter above would say, "oh, targeting the 20-something tech crowd with too much disposable income is OK, as long as you're not in Silicon Valley"? My point is that it makes perfect sense for Prim to target the demo it does-- nothing to do with SF. That the commenter thinks this is a problem specific to a certain region doesn't affect the argument that it's not a problem at all.

> I don't think the commenter was remarking on the lack of personal catering he experiences from SV startup land.

He's certainly complaining that a certain demographics (which I'm guessing includes him, though I am not sure, and it's not really relevant) don't get catered to by SV startup land. My point is that this isn't a good reason for bitterness.
Subbable is a new venture by Hank and John Green (collectively, the Vlogbrothers) functioning as an answer to the problem that advertisers seemingly only care about the quantity, not quality of views.

Here's Hank Green's intro video about it: http://www.youtube.com/watch?v=-dYlbz77uzI

And John Green's original problem statement video: http://www.youtube.com/watch?v=CHSX2-pTw3Q
Let's Learn Ember
Digitally-signed spreadsheets are a thing. If concern about altered versions was the real issue, there are mitigations that don't remove the utility of having a consumable data format. Its not merely "reasonable to suspect" that refusal to give usable formats is motivated by desire to make it more difficult to use the data rather than concern about alterations, it is almost unreasonable to believe anything else.
I've been meaning to ask this for a while now: what's the appeal of Haskell? It doesn't come off as a pleasure to program in. Could someone who knows the language share their thoughts?
>The real question is why use Haskell instead of something else that most people generally consider targeted at the web?

That applies to any language. Why use perl? Why use PHP? Why use ruby? Why use java? Web development isn't magical, it is just ordinary, general purpose programming. So people use ordinary, general purpose programming languages. Like perl, PHP, ruby, java, and haskell.
Thanks for sharing, very interesting! I'm a var_dump(); die(); type of coder. I'm still going through the sliders but this got me very excited to find solutions, or better ones at least. Though I'm a Linux user and codebug and macGDBp are not supported - hope to find more tools, or other solutions while reading the slides. Nice post!
That's per hospital, and for a non-surgeon, a doctor on average works on 3 or 4 hospitals, so he would make about 140k per year (among the highest paid in my country).

Surgeons and anesthetists are on a class of their own, they make upwards of 60k per hospital.
New web series highlights innovative retail tech
Ask HN: Best way to host a video file?
Hi HN,

I'm working on a video project. Obviously it will go on Youtube, but I also want to make available a high-quality version for downloading. What's the best way to do that? I don't mind spending a bit to host it, but it's just for entertainment and not a business venture, so not much. I would prefer not to resort to one of those scummy ad-strewn media hosting sites. I'm not worried about download speed or latency or streaming.

Are there any good hosting providers for a static file that offer truly unlimited or at least really cheap download transfer capacity? Linode's smallest instance says 2 TB transfer which isn't much, only 10k downloads of a 200 MB video file. Amazon S3 says $0.12 per GB for data transfer out which also adds up quickly, 10k downloads would cost $240. Is there anything better suited out there for a hobby video project? Or scrap the idea and just use Youtube?

Thanks!
I m a developer in New York. I have a few good engineer friends I met while living in Vietnam. If any of you here happens to have a product that qualifies as a passive income product and need a tech partner let me know.
I completely agree with you. I'm in my lower 20s and you have no idea how annoying that phrase is to me. I hear it way too much and used with reckless abandon that it's lost all meaning to me.
Don't quit.
Thank you for the information. What you have explained is not as clearly stated in the three bullets in the reasons for passport revocations on the site I linked to.
Prosecutors work for the government in criminal cases.

Most of these are civil cases; Chevron is the plaintiff in some and the defendant in others.
I'm afraid it didn't quite read as satire to me. If the ending was trying to be over-the-top, it undershot the target. Oh, if only the idea of an SG writing something so obnoxious on his personal blog were obviously satire.

The effect isn't bad, though, so rather than destroy the tone with an even more over-the-top ending (characters stabbing each other with forks?) I'd probably try a different "literary" signal. Consider, for example, a one-sentence intro to establish the narrator slightly more explicitly as a third character: "While I was dining at Madera, I overheard a conversation:"

Or, maybe you have the Andy Kaufman nature and you just don't care what people think so long as the art is working. ;)
The appeal for me is that it is an expressive, high level language with a useful type system and high performance. It is a pleasure to program in.
Seriously, shit or get off the pot.

Its speculation and posturing until there is evidence.

It sounds more like someone is not happy they're not in control of the hardware.
There is 100% chance we will all die, whether invited to talk at BH or not.
About this time there occurred a strange incident which hardly anyone was able to understand. One night at about twelve o'clock there was a loud crash in the yard, and the animals rushed out of their stalls. It was a moonlit night. At the foot of the end wall of the big barn, where the Seven Commandments were written, there lay a ladder broken in two pieces. Squealer, temporarily stunned, was sprawling beside it, and near at hand there lay a lantern, a paint-brush, and an overturned pot of white paint. The dogs immediately made a ring round Squealer, and escorted him back to the farmhouse as soon as he was able to walk. None of the animals could form any idea as to what this meant, except old Benjamin, who nodded his muzzle with a knowing air, and seemed to understand, but would say nothing.

-- George Orwell, Animal Farm
Go Package Management
They is technically plural. There is no good singular gender neutral pronoun. So, "he/she", "s/he", "he" or "they" are fine by me; we know what the author means.
This sounds, to me, similar to Mao's Anti-rightist Movement [1]. Basically, Mao encouraged all of the concerned citizens to come forward with their concerns, putatively so that any problems could be corrected. But in fact, Mao used this as an opportunity to identify those that could be viewed as political problems, imprisoning all of those who foolishly believed his rhetoric and who genuinely wanted to help the country. (My wife's uncle spent two decades in prison for this, and his wife was forced to denounce him.)

[1] https://en.wikipedia.org/wiki/Anti-Rightist_Movement
Yes, I did. Probably a bit too trusting and gullible. But the bootstrapping/office comments pushed my buttons.

I started two companies. The first failed (1). During the year or so that I was involved, I spent a lot of time doing startupy things - networking sessions, hanging out at a coworking space in Cambridge, pitching, applying to accelerators, etc. The local startup community, event organizers, angel investors, the media, and some people affiliated with the local higher education establishment encouraged this startup behavior (or startup theater). I feel they looked down on any startup that didn't fit the mold.

Here's one small example: When you meet someone else in the local community, one of the first questions they have is "Where are you based?" In my mind, this is a test of legitimacy. "Real" startups say something like:

- Kendall

- Seaport

- Cambridge Innovation Center

- Dogpatch

- The accelerator gives me a desk and WiFi.

I feel that founders who answer "Starbucks" "The Library" "Home" or "Virtual Team" aren't taken seriously. That's how I feel now, at least, sitting in my living room. Even though my 2nd company has products, profit, and growth (2), it's not taken seriously as the first, which never had a dime in revenue but was based in the CIC, applied to accelerators, etc.

1. http://www.ilamont.com/2012/10/failing-hard.html

2. https://news.ycombinator.com/item?id=6053105
3D-Printed Rocket Parts Excel in NASA Tests
A Killer Go Development Environment
But those assurances are not binding unless it's state -> us government -> foreign entity.[0]

[0] http://en.wikipedia.org/wiki/Extradition_law_in_the_United_S...
> The real question is why use Haskell instead of something else that most people generally consider targeted at the web?

An equally "real" question is why people think "the web" is special in such a way that it requires a different programming language for back-end applications than other server applications use.
To clarify, it looks like "postgres_escape" is the way to do escaping.

Unfortunately, it seems a bit awkward to differentiate between empty and NULL strings. That's something to be careful of.

Also, I really think this should be included in the blog post, even if it's simple. Protecting against SQL injection is not optional, so leaving it out only muddies the comparison with more traditional frameworks. Also, there's always going to be someone that copies and pastes it without thinking much about it.

That being said, this is very cool and I hope to see more development and exploration in this area.
Show HN: Get an SMS when the Apple Developer Center comes back
If you created stored procedures in postgresql that accepted a json/hstore argument, you'd have a pretty flexible/fast system here.

i.e. PUT to "/api/blah" with {"id": 1, "name": "Joe"} could call the update_blah stored proc passing in that json.
Not much to see here. Why is this JS? Usually JS requires some interaction. Even lightbox flew around and did something. This would be even easier as a chessboard PNG rendering REST service.
Recent threads here announced in OVH: 500G disk, Atom servers, very cheap, connected at 100mbps, with unlimited transfer (after some TB it slows down to 10mbps).

But I think it's availability was limited to location.

Maybe you can store the high resolution versions in dropbox or something similar? Maybe you can automate your publishing workflow using both apis (youtube/dropbox).
Spot on.

The tendency of any cost center is to be replaced by cheaper consultancy or automated away. And in companies with entrenched managers, hackers never move up.
Interesting. I'd like to see how you implement role based access control and sql injection safeguards. How would you define complex validation schemes? In stored procedures?
what is the range of matrix sizes that would enjoy a speedup over ScaLAPACK? let's assume a 8 or 16-core cluster with N nodes, so, a function of N.
I beat it! I beat it!
Single Artifact Deployments [Python]
I read the most sinister part of this letter to be:

“We believe these assurances eliminate these asserted grounds for Mr. Snowden’s claim that he should be treated as a refugee or granted asylum, temporary or otherwise,”

This seems to be the US setting themselves up to challenge Snowden's standing under international law. Not that we recognize international law, but still.

It seems very sinister to me. "We won't hurt him too bad, therefor his fears aren't legitimate, therefor all you other nations should just send him on home now."
Is there any evidence the "via" affects SPAM flagging?
The bar for discovery in a civil litigation is far lower than the bar for initiating a prosecution. And that's how it should be. If you are convinced that Enron dumped toxic waste in your town on purpose, should you have to prove your case to a point sufficient to initiate a prosecution before you're allowed access to their e-mails? That wouldn't make any sense--the point of discovery is to get all the potentially relevant facts on the table so they can be sorted through.

Also, setting the bar that high for discovery wouldn't make any sense. To initiate an arrest and criminal prosecution, you essentially have to have a "more likely than not he did it" belief in the suspect's guilt. But the "more likely than not" standard is all it takes to win a civil case. So by the time you get enough evidence to initiate a criminal case, you have enough to win a civil case.
That actually sounds like a fun little practice project.
Revocations
DOS revokes passports that were:
- obtained illegally or through fraud
- Altered or misused
- Issued to individuals whose Certificate of Citizenship
or Certificate of Naturalization was canceled

How is this misinformation?
Good point. I will update the examples in the blog post as soon as possible.
Summary: Intel's HRC (Haskell Research Compiler) is an optimizing compiler for GHC's (Glasgow Haskell Compiler) "Core" intermediate language.* On six common benchmarks, it improves the performance of Haskell dramatically. But Haskell is still 4 times slower than the best C implementations of these benchmarks, on average.

* Core is just desugared Haskell and should not be confused with GHC's other intermediate languages, STG and C--. And there is no relation to Intel's "Core" microarchitecture.
If you're from the south it doesn't have the same meaning.

related joke: http://www.cartalk.com/content/tips-northerners-moving-south
Why would installing them on only new devices make a lot of sense? It doesn't achieve the stated goal of "protecting the children" if they are using any one of the millions of devices currently in use.

Moreso, why default to blocked and not unblocked, allowing people to opt-in?

Ah but then we'd be back in the rational and current position of giving people the ability to install blocking software or filters if they so desire...
Unless you're in transit between countries, it doesn't affect you as much as you might think. I lived in Japan for a year and pretty much only used my passport when I entered and left the country. Same goes with my sisters who moved overseas. They take out their US passport about once every 4 years, when they come back to the USA to visit.
How does one do user authentication and resource authorization?
The last line I suspect is out of utter jealous.
The part that's left out of the story is what the fisherman does when suddenly the fish aren't biting. Part of becoming wealthy is being financial secure and comfortable in any situation, not just when times are plentiful.
It's not the "via" that affects it, it's not having DKIM and SPF. Those definitely do affect it.
Unexpected WAN ports open on linksys routers after update
>no-holds-barred sharing of intelligence and spying

Citation needed, except that by definition there can't be one, because if there were such a public claim, and an un-shared piece of intel existed (that in theory would refute it), then that intel could not be used publicly to refute the claim. Since the claim is irrefutable, it is also invalid.

So it's probably more accurate to say 'extensive sharing...'
Online Marketing Don’ts: The Best Ways Of Not Getting Rich Online
U.S. assures Russia no death penalty for Snowden
Also, it's the difference between people who are hungry for power on their own and people who seek to limit personal freedom and devolve power to the state for everyone's "own good". The Mussolini/Stalin route isn't the only way to destroy freedom, it can just as easily happen at the hands of less flamboyant folks believing their acting in everyone's best interests.

It's not the risk of Voldemort taking over, it's the risk of Dolores Umbridge doing so.
You might not need a deep understanding of category theory to write useful programs in Haskell, but the downsides of relying on those explicit monads to control state and interactions still show through in practical code.

Here’s an early example from the article:

import Control.Monad.State

type Interact a = StateT Int IO a

repl :: Interact ()
repl = forever $ do
val <- liftIO readLn
state <- get
liftIO $ putStr "Total: "
liftIO $ print (val + state)
put val

main = runStateT repl 0

Here’s something with similar behaviour written in Python, an imperative language with a reputation for being easy to read:

total = 0
while True:
total += input()
print "Total:", total

The difference is striking. The latter is obviously much more concise. Ironically, it also seems clearer about how the state is used, having the initialization, reading and writing of that state all kept together. It’s worth considering that the stateful logic is relatively kind here, too, because there’s only a single value that needs to be maintained via StateT in the Haskell version.

The Python code has the added advantage of actually being correct, assuming that the intended behaviour really is to add up the total of all entered numbers over time as the output suggests.

I think this example is instructive in terms of advancing industrial practice rather than the theoretical state of the art. Haskell demonstrates a lot of nice features that mainstream industrial languages lack today, but as soon as any sort of state or effects enter the picture, it becomes absurdly complicated to describe even simple systems. I would love to have future languages incorporate some of the safety that Haskell offers, but I think to catch on with working programmers they will have to hide away a lot of the state/effect details where they aren’t needed, just as tools like type inference have hidden away their own form of boilerplate. It’s not just about not needing to be an expert on category theory, it’s about not having to be aware of it at all.
Wait, so they'll still buy a Dell or HP that is manufactured in China, by a Chinese company, but has the nameplate of an American company slapped on the front, but they won't buy a Lenovo? I'm so confused.
Yay, now I have a label for what I am. A passive income hacker. I don't make a lot (maybe $3K / month), but I work only ~half hour a day on my main money spinner, answering support emails. (Plus, maybe a few months solid every year or so on updating the tech.) I designed it so it doesn't have a DB or user account system, to reduce the complexity and make it easier to scale by one person with only certain skills. Users regularly ask for an account system. I don't add it; I have competitors who do have an account system, and there's no way I could compete with them by myself. A certain subset of users appreciate the simplicity of my service.

When users email me support questions, they get a personal response from the guy who made the thing. They probably don't realise either, since most contacts start with "hey X team" or "hey X guys".

Having said that, I do work a full day, on attempting to start other passive incomes, and on more fun things that have less chance of earning. So I'm not quite living a pure passive income dream yet.
Reminds me of "Step 2: Draw the rest of the fucking owl." It does not follow that because Hello, World is easy, therefore IO in general is easy.
IMO, this was a non-story from day one. Not sure why so many people fell in love with the conspiracy theories or Netflix-bashing. Netflix shows what they get.
Finally. Given how Huawei routers are riddled with "Security 101" vulnerabilities [1], I doubt that Lenovo is any better.

[1] http://news.cnet.com/8301-1009_3-57482813-83/expert-huawei-r...
Ask HN: '2 weeks ago' vs 'July 12, 2013 1:46pm'
When you see postings or comments with a timestamp, would you prefer to see xx seconds/minutes/days/weeks/etc ago or the exact time stamp? Why?
http://www.joachim-breitner.de/blog/archives/606-Real-World-...

https://www.fpcomplete.com/page/case-studies
I suspect you missed the sarcasm. (The author is PIH)