skysight-inc/HackerNews huggingface dataset:
In what universe creating additional demand for jobs is a bad thing? (Rhetolical, don't bother answering)
That's a lot of sour grapes. People doing great things and getting rewarded - means they are 'ivory tower' I guess. They have to be taken down a notch by a blistering cynical blogger. Blowhard.
Not to pick on the Guardian specifically, but I've noticed an annoying habit of British journalists to make a long, rambling, accusatory statement, and then at the end turn it into a question by adding, "Isn't it?"
Baidu uses data to track world’s largest human movement during Chinese New Year
I will. Forever. And other than bitch about it until you drain the last drop of life out of yourself, YOU CAN'T DO SHIT ABOUT IT!
> It's fine to punish people for coding in the wrong
way, but here I have to accomplish a task (sorting the
array) and so the punishment serves no purpose at
all except for making my experience worse.

Then Rust way is fine. It's merely 'punishing' you for not thinking things through at compile time (that floats are sortable), instead of at run time (dependent on input). Maybe you prefer to have fail dynamically, and that's fine, but that's preference, and the goals of Rust do not align with it.

If you find relying on it often, why not write a macro? So:

xs.sort_by(|a, b| a.partial_cmp(b).unwrap_or(Less))

becomes:

sort!(xs)

Also honestly, if this is a very common use case bring it up on Rust forums maybe people will add a macro. They added macro for generating N elements for a vector.
Just take a look at Google's initial page when they started.
Cool. I have no idea what that means but, yeah
- "In a few years, I wouldn't be surprised if 'smart TVs' were the only ones available. "

To your point: when I purchased a new TV last year, the only available "non-Smart" models were of generally inferior quality to the Smart models, from picture quality to physical design. I ended up purchasing one simply because it was the best TV at its price point—I had no interest in the "Smart" features.
One thing people never seem to mention is how dead simple it is to cross-compile Go code. For me to consider Nim or Rust, I need to know that I can do something as simple as GOARCH=arm GOOS=linux go build.
Most vulnerable operating systems and applications in 2014
Even worse, the same sort of problems apply to SCADA systems, which are typically controlling much more dangerous or critical equipment than home appliances, e.g. http://www.computerworld.com/article/2475789/cybercrime-hack...
Who cares? They can just take your cookies and throw you aside, you yourself are not unique. There's always going to be a bunch of gullible saps willing to work hard that you can tax and take from -- it doesn't matter that they get your cookie machine, just that there's always a cookies to take.
There's another side to this issue. Someone could create an account with your name (claiming to be you) and write horrible/offensive/illegal things from that account.

Anyone can write anything on Internet forums and can claim to be whoever they like. Sites will store this data forever. Something needs to be done to limit or prevent that sort of abuse.

Attribution can be difficult. https://keybase.io/ is a nice way to establish identity on social sites.
Is there a copyright angle here?

Do we own the copyright of our comments, and in theory could we legally be able to demand sites that have our comments to remove them?
I don't understand it. Am I supposed to be able to create standalone executables with this? How?
Okay, so I'm having one problem with nim. Disabling all unsigned arithmetic by-default. The logic is actually fairly sound (it's probably, generally, harder to overflow a signed than an unsigned), but nim doesn't compile to object code; it transpiles to C and then C compiles to object/machine code.

Edit: it's obviously much harder to overflow an unsigned than a signed; in the sentence above, I was thinking particularly of underflow (which is what the nim devs reference as their logic for disabling unsigned arithmetic by-default).

The problem here is that unsigned arithmetic, though much easier to hit underflow, is fully defined in C where signed {under,over}flow is UB. As a result, if you manage to hit this case in nim, you're now going to hit UB by-default. This seems crazy to me. Am I missing something?
> Although I must admit I'm not (yet) sure why you need to explicitly state the output and define it for the function. But I have only just started with Rust.

I generally assume it's because it can't infer the associated type from function signature, for now.
I work in the foodservice equipment sector at the moment and there's a huge demand from the manufacturers to add upstream monitoring to their devices.

This is mostly motivated by the HACCP (Hazard Analysis and Critical Control Points) guidelines that the US FDA has set in place. Someday that designation will change from "suggested" to "mandatory".

The equipment requirements are pretty large. Restaurants need devices to track refrigeration temperatures, cooking/holding/production temperatures and times, equipment status, check probes, and lots more. Eventually most of the devices in a kitchen will be IoT connected in some form or another. Many of the larger chains will also want this data pushed upstream to their servers for overall safety monitoring and, eventually, other "big data" benefits from seeing store production in near real-time.
Smallpdf.com, the most beautiful of all freebie utils on the internet
It is very promising but sadly the alignment of the column mode looks very buggy at the moment.
True, which is why it is hard to keep up with multiple UNIX implementations and to know what is supported on a given box without having to reach for man first.
Indeed... the government can't even audit their own code, let alone someone else's!...
Please email hn@ycombinator.com with questions or requests related to HN.
GCHQ will never make this data available to researchers. Partly this is because of the way it's stored, a big FIFO cache not permanent stores; and partly because of (weirdly enough) English data protection law; and partly because they just keep stuff secret.

It took them seventy years to release a couple of Turing papers. http://m.bbc.co.uk/news/technology-17771962
That could work as well... Perhaps a better method than the certification approach. My point is just: we probably need the government to help somehow.
When I want to know what a product does or how I might find it useful, I prefer text. I don't have to wait for a video to get to the point.

However, when I've decided to actually try it out, I find the video extremely useful as I expect it to demonstrate the onboarding process for me (ie how do I get started quickly).
No, you see sheep, thinking they have a say in what piece of the pie they will get, when the answer, of course, is invariably: NONE

You see stupid lazy bums pretending to be victims of the system, thinking someone owes them something and acting all righteous about it.

You see scum.

That's what you see.

And they are right where they're supposed to be.
It's also not an interesting idea because it will never get off the ground. It's like one of those businesses that go on that TV show with the billionaires who bid on their ideas (forget the title). You pretty much never really hear about them again. Like some kind of American Idol of the start-up world. I'm sure these guys will make a little bit of money, but how hard would it be to get current AIs to do this crap for you for practically nothing?

"order me pepperoni pizza"

>ok all I need now is ur credit card # pls

4024 0071 5223 8456

>expiration date?

12/16

>security code?

845

>Name on the card

>?

Jorg H. Jorgensen

>ok thanks jorg ur sausage pizza is on the way!

MAGIC
Thank you! Sorry about that.
Trans-fats? Interesting case where factory-based food engineering based on waste products was sold as a healthier alternative to "natural" products (butter, lard).

And while it's easy to blame P&G in retrospect, trans-fats had the support of the US government food administration, reputable scientists and academics.

As for lead in gasoline, that was a case where the US government was warned of the health hazards (and workers died of lead poisoning) but still allowed it.

http://www.todayifoundout.com/index.php/2011/11/why-lead-use...
That's why sites always put "perpetual license" in their TOS, they don't want to deal with copyright claims from their users.
Java Makes Programmers Want to Do Absolutely Anything Else with Their Time
Better ideas with Dr NakaMats
That is why you need to make sure you do not give them your decryption password for your file container. And hope they were not able to compromise your encrypted container in such a way.
Rust is for writing fast, secure, cross platform code. There's nothing else out there that offers the same.

That's a weird way to put it. There are a lot of languages that offer the same (weak) security protections Rust does, and a lot of cross-platform languages, and a lot of fast languages, and lots of combinations of those attributes.

What I think you mean to say is that there aren't a lot of combinations that don't have a GC runtime.
Dear Soul,

Above all else, please remember that this will always be true: No matter what "IT" is that shattered your dreams or caused your run-in with the law or brought about your recent upset, IT IS TEMPORARY AND WILL PASS. Everything passes...time, sadness, and yes, even the good times. But please know that you will only experience happiness from within when you understand that these things are temporary.

YOU AND YOU ALONE are the master of your world because only you can change your perception of what goes on around you. Once you accept that these negative experiences are temporary AND you have the ability to DECIDE whether these TEMPORARY things are going to cost you the most Precious gift you've been given (life), then you'll have no more thoughts of suicide. You'll understand how your life is worth living AND you'll begin to see how your absence would impact the lives of those you love.

Think back to when you were a child and got hurt. Did that physical pain last forever? This won't either...

Take care of you. YOU are PRECIOUS and you are LOVED.
Yes I wonder too. They're storing the card in Stripe. But then they're paying the Pizza joint for the Pizza (who probably doesn't have a Stripe account) So they're charging your card against their Stripe account and then I assume using their own cards to charge for the Pizza manually. It seems like that'll have some scale challenges.

(Disclaimer: I work at Spreedly where we see a lot of these cross merchant/PCI compliant services launching.
The formal verification subject is tricky. For a lot of software (especially in the web startup world) it is often not possible to hire someone trained in formal methods to perform extensive checks/proofs on software which undergoes rapid change as the company pivots every couple of months.

Functional programming alone doesn't give you any guarantees about safer or more correct software than any object oriented language unless you ruthlessly exploit its type-system. Even if you do, the specs have to exist upfront and they have to be correct and stable.
One can make the case that isolating side effects and capsuling them in a controlled structure is "the right thing" to do, but that alone does not give you any formal verification of your program.

From personal experience I can only say that whenever I brought up formal verification because of security/correctness concerns, I was immediately shut down by business, because it's simply too expensive for software that doesn't control life-critical systems.
Do you have the authority/credentials to make customer service calls on my behalf? Like if I wanted a refund on my flight or wanted to reduce the cost of my ISP payments?
I've said this elsewhere in the thread, but this is not better than "no sandboxing". "No sandboxing" doesn't run applications as PID 0 in the host kernel.

Please stop repeating this. Docker is not a security tool, apparently by their own decision. It hurts people to have that be part of the common knowledge.
Also there is the issue of recidivism; permanently branding someone drastically reduces the chances of rehabilitation. For many crimes a life sentence of shame is not appropriate; criminals should be given the chance to change for the better, especially as no one is perfect.
Would be great if they'd also fix Python's dreadful non-threadsafe C API. The GIL and all the global variables impede multiple independent interpreter instance performance.
Yeah, it's the "when" in "when no one needs to work one of these jobs" that I take issue with, I think that a lot of things that we might think of as being easily automated with some domain-specific AI, are actually fraught with corner cases that we probably dismiss as trivial because we're all walking around inside the equivalent of a super super powerful general purpose AI machine, and we didn't have to invent it. I selected my examples to be things that sound entirely menial and undemanding, but that contain a fair degree of subtlety and individual interpretation.

Driving cars is probably chief among these examples. I contend that we are not approaching a world where self-driving cars are going to be a super common thing in general purpose use. They make for a really impressive tech demo, and it's very cool that we've been able to solve as much of the problem space as we have, but any driver should be able to rattle off a list of dozens of odd little situations were you have to make a very fast decision that you're going to do something a little bit strange, to avoid doing something really really dumb (like, crashing, or causing a huge jam through inaction). A non-general purpose AI will always have to err on the side of caution - throwing up its hands and falling back to just avoiding any impacts and otherwise not moving - when it doesn't understand what is happening around it. My belief is that it will find itself in that situation a lot more than you might expect.

A lot of driving is just obeying some rules that are nearly almost true, which is where a dumb AI can shine, but the devil is in the details where the rules don't apply, or where the best courses of action are to temporarily disobey the rules, or where (I would argue most commonly), the rules have to be interpreted in combination with communication with other humans (which typically involves some kind of shared, but uncodified gestural or behavioural convention).

The only way these wide problem spaces can be handled by the AIs we are capable of creating (now and certainly in the near future) is to dramatically simplify them. If we rebuilt all the roads to be much more strictly defined, isolated and controlled, and replaced 100% of the human drivers with the a uniform driving AI, we could have self-driving cars next week.

I think the same principle applies to many of the manual jobs we have in society. Certainly not all, but enough that the idea that we're going to literally decimate the labour market in the next decade, seems silly to me.
My children, and possibility of not having to work for the man one day...
@tootie didn't say anything about the certificates being self-signed. Later this year, the new Let's Encrypt CA will make it free and easy to get certificates.[1]

Moreover, it's my understanding that the default with HTTP/2 is for connections to be secure.

[1] https://www.eff.org/deeplinks/2014/11/certificate-authority-...
It comes off as a parable about the fact that we write for our peers and our employers. We may aspire to be academics, but unless our peers and employers are academics, a highly technical, academic approach to problems will fail.
My vote goes for the short 1-minute video with understandable presentation of how the product works and solves my problem rather than reading paragraphs of text.
It's sometimes used to supress an incorrect version of history being aggressively pushed by a single person with a fixation.

Protection from stalkers is a good thing and that part of RTBF needs to be upheld.
How to Get the First 1,000 Users for Your Startup
Being and staying productive (free email course)
I think "extra" means wrong things though.

Perhaps it should be something along the lines of "final price exactly as quoted including tip, nothing more" the key being that they aren't one of those services (like so many others) that advertise one price and charge you another.

"no hidden fees" is a recognizable meme though, and being pedantically correct is perhaps – and this is a pedantic concern – not as valuable as the phycological grab of that phrase.
My child. He really puts things in perspective for me.
12 Tips for Picking the Best Domain Name
Imagine that there's a middle ground between "forced to delete" and "forced to preserve". Let's call it "not forced to do anything".
People now use GitHub not only to host codes, but also host legal documents, write blogs, write wiki books, as a discussion forum (issues). I also use GitHub to host SVG images.

It seems a bit hackish though, as though GitHub is not designed for these unorthodox usages.
It's similar to Facebook's HipHop PHP to C++ transpiler (HPHPc). It was deprecated in favor of HHVM JIT technology.
Any idea on who is responsible for this micro-site?

I find it strange that there's no information on the author, sources, references, attribution, or credits on the page at all (other than the WordPress theme attribution).
"The right to be forgotten" is nothing more or less than the right to have some control over your identity, and over the ability of third parties to leverage that identity for their own ends.

It's the power to dictate what others can't say about you. Regardless of whether what's being said is true.
You need to read about what you can and can't do in the US, given your current immigration status.

The central hub for that information is http://www.uscis.gov/
From ‘Rocket Girl’ to Karaoke Superstar
The government is something of a blunt instrument. The difficulty in the proposal as described is how you can precisely define the terms such that you can reliably measure 'compliance' -- cue: lots of legalese and paperwork (cf medical device regs where you really do want stringent controls and considered processes). Sanctions for data breaches and poor security might work but then they simply become costs of doing business and don't necessarily lead to improvments (just passing the buck).

In my view (see my other comment [1]), we need to reconsider how we build, deploy and manage software for this 'connected-age'. If developers are not willing to try to solve this with better tools/infrastructure, then no amount of legislation is going to fix it. If anything, the poorly-secured incumbents will simply misappropriate existing laws to go after those who uncover faults.

(NB: I'm not suggesting that government doesn't have a role to play, but solely relying on them is doomed to fail -- eg who d'you think would be advising them on such legislation? Not the people you'd likely want.)

[1] https://news.ycombinator.com/item?id=9089160
The Quantum Mechanics of Fate (2014)
I'm not sure about ls. As for this tool all it seems to add is git status, but it's not working for me for some reason (not sure why) so I can't comment on the usefulness of this.

I do think some other coreutils could be replaced. cp for example, doesn't give you a progress bar so if you are copying a very large file it could take 2 minutes or 2 hours. I suppose you could create a wrapper for cp that repeatedly ls-es the destination directory to give you a progress of the copy.
Cars for example do have a negative impact on hour health. They are unnatural prosthesis. We do not use our natural foot anymore. Therefore we are getting fat and immobile.
Yes. You can compile to .exe files.

>The resulting binary still depends on CPython and used C
>extension modules being installed.

> If you want to be able to copy it to another machine,
> use --standalone and copy the created program.dist directory
> and execute the program.exe put inside.

http://nuitka.net/doc/user-manual.html#use-case-1-program-co...
I expected something completely different from the title and was pleasantly surprised. Joel seems to always have a very reasonable and effective stance on things. I hope that this model is adopted more widely.
You can get JavaScript jobs where you only work on the front end (I have one) so it should be the same for ClojureScript. Maybe eventually it will be, but currently it doesn't seem like there are very many ClojureScript specific jobs.
Nice idea. But a blind implementation of the grammar set out in the RFC is not performant. It's better to drop the obsolete syntax rules and folding white space. I have yet to see a user legitimately try to input an email with a comment mid-domain.

I implemented this in Ruby a while back, but I also went the next step and added a DNS check for a MX record. That way you can ensure there's a mail server to receive an email. Heck, I even wrote a blog post about it.

http://stevenkaras.github.io/blog/verifying-email-addresses

We've had pretty good feedback so far, but I've also spotted a few emails that people enter that are clearly fake (e.g. asdf at test.com).
Show HN: Strict SSL3 Configuration, request better encryption
The Common Cure for Heroin Addiction Is Also a Magnet for Police Harassment
It would make a lot more sense - and probably be easier - to fix social norms to recognize that people change, and that old comments from the person you used to be aren't from the person you are now.

I would assume that this will happen on it's own, as people grow up with exposure to their own permanent record and notice that they don't recognize their old selves.
Honestly, "get magic" on the internet sounds like a trap. What is this? I don't trust the URL :)
fab - I'm really glad you like it!
I thoroughly agree that this is something we developers have to fix instead of adding yet more hoops to jump through. Like you I am also working on the problem of tools/infrastructure to solve this problem though probably a different aspect of the problem, with my startup resin.io
Pointless? Methinks you've never worked with Mandrill or another service that penalizes you for hard/soft bounces.

If you validate emails as complying to the email format used by those services, you can reduce your hard bounces to a bare minimum. If you check for a valid mail server at that domain, you can reduce that to 0. If you connect to their server and check for an error for that mailbox, you can reduce your soft bounces to 0 too, but that requires a lot of legwork to set up.
Which are the reasonably popular, fast ("like C") memory safe languages?
My first thought was that if your time and effort really is so valuable that it economically makes sense to use a service like this one, then you probably can afford and should have a real concierge/personal assistant. It seems to me this hinges on an emotional (i.e. economically irrational) need of (upper?) middle class people to feel rich and too “important”. Which is actually not a bad business model at all, tapping into people's feelings. It's actually one of the best things to base a business on.

But I could be wrong. Maybe there's a sweet spot in the price-utility ratio where this makes sense for people who are not technically rich and busy maintaining the wealth. It's interesting.