skysight-inc/HackerNews huggingface dataset:
Alright, you're in a slump.

I pulled out of a failing startup that I was bootstrapping. I wrote tons of code, and built a product, that several people in the industry told me was great, and they would love using it. Unfortunately, it failed from a business standpoint. ... then I spent some time thinking about what I did wrong, and I think that we've made the same mistake.

I ignored people in my business. At the end of many days, I would rather sit in a room and write code rather than go out into the world, network with people that could collaborate with me, or even just be friends. Look at other business people - they can't code, but they have a problem to solve, they get organized, they motivate other people, they solve problems. But the world isn't about code. Programming is one profession, and there are many, many other ways to lead a successful and happy life.

Look at the pattern in your work: Money isn't a concern for you. It looks like you're setting out to create meaningful value, or to "be someone", at least in your own eyes .... tbh, there are many, many other ways to do that rather than start your own company. But you're doing it for its own sake, not because you have a problem you want to solve. You can be entrepreneurial within a system, working for a company. You can apply for grants to work on problems that are relevant to people. Given your opportunity costs, it's likely that it's not particularly lucrative for you. For most people, a job is just a way for them to sustain their family and personal life ... nothing wrong with that either. Based on your actions, the most important thing to you doesn't seem to be to create value, but to make a contribution while avoiding other people and institutions. Are you dating, do you have a family, are you in shape? There are many other ways to get value in your life.

You're living in the "hacker news" bubble. As a demographic, we are generally male, often single, highly skilled with computers, slightly introverted, and abhorrent of institutions. Because we're good with computers, we use this as are catch-all answer to life's questions. Pretend you were somebody else - somebody who is a non-nerd. What would you do?

tl;dr; My advice is to get out in the world, become part of communities (itrw), and make sure that you are getting fulfillment in other ways. Code is the solution you're familiar with, but no amount will not solve any of your problems, guaranteed.
How can you validate the MX record for their domain programmatically?
you're probably thinking about this (which now 404s):
http://cryptogasm.com/webcams/

Don't know why it was taken down. Here is the old thread :
https://news.ycombinator.com/item?id=5543465

which mentions the Content-Type "multipart/x-mixed-replace" technique used to constantly update jpegs in the browser.
A vast, right wing conspiracy that extends all the way to the Emmy awards committee (http://www.politico.com/story/2013/05/sharyl-attkisson-91871...):

"In February 2011, [CBS reporter Sharyl] Attkisson wrote a landmark report about the Fast and Furious gun-walking scandal, which earned her an Emmy award. Months later, she went on Ingraham’s radio show and said that officials from both the White House and the Justice Department had yelled and screamed at her because of her report."
If you have one server, that sounds great. If you have 60, it does not.
> I'm sorry, but

Are you? Are you really sorry?
If it is not a bad idea, then why don't I see them marketing cigarettes to teens and/or lobbing congress (to get X law passed).
I kinda expected him to say that the investor was his Dad or something.

I am pretty sure that if my company is not moving forward and the ROI is not looking good for investors - then they will not be first and foremost concerned with my happiness. They don't want me to feel miserable, but they certainly don't want to see me playing ping pong and drinking PBR all day if the company is not moving in a positive direction.

I think a better question an investor would ask would be "are you still feeling optimistic" or "are you happy with the direction we're going, our progress, etc" Not just am I personally feeling happiness
> In what world is not validating an email a good thing?

Validating an email address is important. The way you do that is send an email to that address. You can't do it with regex, and attempting to do so leaves you open to a variety of flaws.
actually, "they" didn't ask any question.

and peterkelley wasn't being "snarky" either. he was making a joke, based on the description of the subject-matter of the book.

oh, and i'm not being "snarky" either. but it's so very difficult to resist the temptation!, i don't know if i'm gonna be able to do it!, i can feel myself slipping even as i continue typing!...

-bowerbird
U.S. Energy Policy Should Take a Lesson From Germany’s Energiewende
Yeah, it's not just Bloomberg. Most technology companies whose users are employees of medium to large companies are not seen as relevant here.
Agency WordPress Theme
This is why I haven't bothered with smartcards. If you login from a compromised desktop, it's pretty much over, even with a smartcard.

There is no real way around the evil maid attack. If I login from a compromised computer, if that computer is compromised by a competent attacker, it's over.

The advantage of a smartcard, if and only if you've got a smartcard that requires some action to authenticate (like a physical pin pad) is that only the servers I've logged into while compromised are compromised (assuming you don't have some kind of jelly doughnut setup where all servers can login to all other servers) whereas if I have an encrypted private key, well, if I decrypt it while the attacker is on the box, the attacker has compromised /all/ servers I have a login on.
In some ways, C is more secure than Python because it doesn't support eval. Things like pickle can easily be abused.

Also, I notice you completely snipped the point about using process separation. Sigh. Mistakes of the past, doomed to repeat, and all that.
How about using this alternative form:

if((b != nil)
&&(b->qid.type==a->qid.type)
&&(b->qid.path==a->qid.path)
&&(b->qid.vers==a->qid.vers)
&&(b->dev==a->dev)
&&(b->type==a->type)){
fprint(2, "cp: %s and %s are the same file\n", an, bn);
ret = 1;
}

It keeps almost the same visual look and it uses the common convetion, except for the && at the beginning of each line.
I need to think about this, and how it applies to http://teamrelaychat.nl/ Basically the service is only appealing to heavy IRC users. Others probably prefer Hipchat or something similar.
What's that saying? "It's not you that owns your possessions, it's your possessions that owns you"

s/possessions/data/
> Yes! Great Comic Book Guy impression.

In that case, great junior engineer impression on your part.

Pedantry matters in complex interoperable systems, because otherwise they're not interoperable. This is why we have detailed standards documents on e-mail address formats.

> I would certainly agree with the idea that you not force people, but a nudge is probably going to save you money in increased user retention and fewer support hassles.

A 'nudge' isn't going to come from yet-another-broken-email-validation regexp. There's no need for an 80/20 solution; this just isn't that hard.

> † - I once had a person ask why their emails to http://somesite.com were failing.

That's not a valid e-mail address (as per RFC822).
Posts like yours always show up too. It's cyclic insanity on HN. Any Facebook thread devolves into: "I don't use Facebook." and "Why do people on HN hate Facebook?"

Any PHP post devolves into: "I hate PHP." and "Why do HNers hate PHP?"

Any Google post devolves into "I hate Google." and "Why do HNers hate Google?"

Any Apple post..

On and on and on.
I especially hate that behavior as occasionally I'm talking about a domain name (maybe one that is having a DNS issue), not a URL, and Teitter insists on making it a lengthened URL. I've seriously taken to putting zero-width space characters before the .com to break its detection.
I disagree that it's easy to leave like that. I have the email/phone number of maybe 5% of my Facebook friends. If I need to contact any of them, the quickest way is Facebook.
I was going to say that a compiler should issue a warning for this, as you'd almost never want a semicolon right after an if condition, but to my surprise Eclipse doesn't seem to flag it.

It does however indent the line after the semicolon to the same level as the if, which is at least a red flag that something is up, if you are used to how the auto-indenting normally works.
Why are we giving away the most valuable part of the human body?
The earliest RFC which I know of which spells it out is RFC 805, https://tools.ietf.org/html/rfc805

It was clear that the information
content of all these syntactic alternatives was the same, so that
the one causing least difficulty for existing systems should be
chosen. Hence it was decided to add all new information on the
right of the @ sign, leaving the "user" field to the left
completely to each system to determine (in particular to avoid the
problem that some systems already use dot (.) internally as part
of user names).

The conclusion in this area was that the current "user@host" mailbox
identifier should be extended to "user@host.domain" where "domain"
could be a hierarchy of domains.

In particular, the "host" field would become a "location" field
and the structure would read (left to right) from the most
specific to the most general.

It was chosen apparently because RFC 805 was standardizing to "mailbox@computer", and since 'mailbox' is more specific than 'computer' it became more and more specialized going left.

As for why 'mailbox' comes first, it's presumably because that's someone's username. The very first thing you want to see is, "I'm sending this to drostie," and only afterwards do you need to know where that server is located.
I can't believe there's not a pledge level like this:

"If you pledge $5, we'll send you a GI Joe to put inside your B"

Kickstart all the functioning GI Joe vehicles of my childhood.
It looks weird without tabbing. But if the code was tabbed, then it would take too much space, since they are using huge tabs. That's why I prefer 3-space tabs. Not too small, not too big.
I feel like someone should actually go through old threads that no one is updating anymore and just analyze frequency and timing.
>Should genetic screening be mandatory in certain cases?

You find a "bad" gene, you tell the subject about it and inform them that their children might/will have it too/will have a certain condition.

If at all required, mandatory screening and advisory would be the extreme limits of what should be allowed(But what conditions would require mandatory screening and how are you going to screen two people before they have sex? Think about the logistics and the invasion of privacy!). Even in those cases, the government shouldn't have the power to sterilize the subject.

You can run educational campaigns. Teach people this stuff with sex-education or have married couples take a course(you will still miss out on a lot of people).

Eugenics takes away a basic right of a life form.

Update:

I understand that you may be speaking about people who have been diagnosed as having a certain genetic condition. If a disease has the capacity to cause public harm, there are exceptions made to the professional secrecy that a doctor is supposed to maintain. This involves informing relatives/a potential spouse about a condition that the patient may transmit. In cases of infectious diseases, quarantine and isolation procedures are well established. But most are for infectious conditions which can harm the public. So if the off-springs of individuals with bad genes can infect large number of people with some contagious condition, isolation protocols may apply. But that is still hypothetical.

If we dream up an horrendously bad genetic condition which can disrupt the human race, someone is going to come with horrendous regulations to prevent that. But the truth is most people suffering from "bad" gene induced conditions do not lead a normal life(do not have kids). If the sufferer of a genetic condition can easily have kids, then that condition may not be that "bad". Carriers of such genes could do with some pre conceptional counseling.
Do you do testing by hand now?
I like the "don't regex emails" but don't like the "unnecessary email validation emails". If you're requiring email validation unnecessarily (ie, you're not PayPal), you're losing a lot of business.
Doesn't take long to do an "apt-get install unbound" and then modify your network settings to use 127.0.0.1 as your resolver.
I think it's interesting you mentioned a "Star Trek" society. I think that's what everyone one of us engineers who have any kind of altruism in them wants. If not, we're just automating jobs away, which is basically automating peoples lives away.

I don't know how to create that kind of society, but you're right, it's going to take a lot more than the current startup scene to do.
Teen here.

I'm firmly in the "hate it but can't stop using it" camp. I've tried G+, and for a brief period a few of my friends tried it as well, but we switched back when it failed to reach critical mass. That's all Facebook has going for it, really, is the people using it; I'm sure most of us would switch to a better network if given the chance, but we won't do it unless a significant majority of our friends come along with us.

I don't like Facebook's approach to privacy, I absolutely hate how many permissions the Facebook app requires on my Android phone, but if I cut myself off of Facebook I'm losing out on a huge, huge percentage of social interaction with people who I know but am not particularly close to (which for most people is at least 80% of their friends list). Plus all the history I've amassed on Facebook since grade 7.

For better or worse, teens are stuck on Facebook for the time being, and unlike the move from MySpace, I don't see switching off of it happening any time soon. Sure, there's Twitter, Instagram, etc. which are also heavily used by my age group, but only as secondary networks - Facebook remains the definition of online social interaction.

EDIT: A few more thoughts:

An important part of it mentioned elsewhere in the thread is the fact that Facebook basically acts as a glorified address book/communications hub - if I want Chris to come to my party or add him to a group conversation about something or share a picture with him, all I need is his name. Not an email, not a phone number, just a name. It's pretty incredible if you think about it. Nothing else comes close.
There's a bit more info from somebody on the inside over at http://www.reddit.com/r/unitedkingdom/comments/1eyrdo/bbc_ab...
PHP-related vulnerabilities on the National Vulnerability Database
Photos of Finland in World War II
You can spin up US cloud providers from inside China and tunnel to them in about 15 minutes. It's just that most people don't bother -- there'll always be the people on the edge, though.
This reminds me of another log shipping tool, http://logio.org/ which I think recently added support for encryption as well.
For one, a macro "and" would prevent you from using "and" as the name of a struct field, while a keyword will not. Error reporting will be better too. The differences don't seem all that big though.
I think the point is that they are using all capital W's which are the widest letter, but real strings of the same length are never that wide.
With visual studio V6.0 (AFAIR), I made a short program that crashed the compiler:

int a;::a::b();
Would you rather I play your game at all (I have an email address), or not (I don't have a Facebook account)?

Even if I still had a Facebook account, I would prefer email. Facebook doesn't need to know everything about me.

As incision points out, I'm more likely to try it if I don't have to sign in at all. If I want to save my state I can give you an email or a made up ID then.
> Zen like blog editor for your Jekyll blog, heavily inspired by Svbtle and Obvtse.

What is the problem ?

>> I want to look cool like Svbtle ?

Give the stylesheet away for free.

>> I want to use browser to edit files ?

One important idea of jekyll was to use $EDITOR for blogging.

What about version control ?

> niche problem

sigh
news.ycombinator.com/r/circlejerk?
With visual studio and c# you can put a break point at a certain point in many expressions and while in the debugger you can have it evaluate expressions individually when hovering with the mouse.

Stack traces, however, are still line based and thus if an exception occurs (like null reference) you only get the line, not the statement.
This is Cody here from scroll kit.

You misunderstand how much time the Times spent making "Snow Fall." They spent six months and of those tens of thousands of hours in those six months, hundreds of it was spent hand coding the layout.

The experience involved in hand-coding the layout is painful and awkward and can be improved dramatically. Getting those hundred hours down to an hour is something we think everyone can get behind.
"How will java's recent security vulnerabilities affect its popularity?"

This is the one question the infographic takes the time to ask. It's a poor question, but one many people seem to ask after the recent java plugin vulnerabilities.

Java hasn't been popular for in-browser development for many years now, and even at its height it was never that popular. These security vulnerabilities only affect Java use cases where untrusted java code is expected to be restricted to limited system access. This is not the environment mainstream java software will ever run in, so the mainstream use cases for java are entirely unaffected by these security issues.

The majority of Java software falls into two classes: desktop/native software and enterprise/server software.

Desktop/native software, like Minecraft or Android apps is either intended to have full system access (Minecraft) or is already restricted to making system calls through a rigid API that requires user permission to have access to (Android apps). In addition, Android uses its own Dalvik VM, so issues with Oracle's JVM are immaterial. Security of browser applets is a non-factor in both cases (android phones can't even run them).

Enterprise/server software are Java web applications, Java services, and other enterprise/web/server architecture pieces. These don't run on end user machines and are trusted applications, so JVM sandboxing is not really a concern.

There is absolutely nothing insecure about Java as a language. Occassionaly, there are issues with certain implementations of Java. These latest security flaws were in an implementation of Java that very few people use. Yes, everyone should remove Java from their browser, but if they were even using Java it almost certainly wasn't in the browser to begin with. The plugin has stuck around far long than it was useful, so good riddance.

Removing Java from a system altogether, as I have seen many people recommend, is in general too far and may break desktop apps users depend on that are not a security threat.

Sorry for the rant... I'm actually an ex-Java developer who has fallen for Ruby. There are plenty of legit problems with Java, but security generally isn't one of them.
Keeping Your Time in Check
Did you miss the entire point of the post? Scrollkit should have known well beforehand that the NY Times would be totally against the use of their content in this manner. That they didn't shows that they don't understand their target market at all.

P.S. It's not the lawyer's job to understand what the product is or does.
Postfix (and the other big receivers) will ignore it, but will send using the proper RFCs. It's still a good sign of a badly written bulk mail engine, and worth rejecting for.
I'm curious about the patent he mentions filing, for placing the quadrocopter blades inside of the wheel. I'm not familiar with this field - is that a novel contribution? If so, kudos to him for coming up with a simple invention I would have thought would be patented or in use already.
Same here. I also require a key file for KeePass. It's not encrypted, but it's just one more thing a bad guy would have to acquire to get in.
CommonKey Brings Password Management To Small Teams
I think pretty much everyone who uses Facebook is, at least partially, in this mindset. The network is so large that people feel as though they're missing out if they leave (whether or not that is actually true).
There's definitely more than a little heartlessness in it, though. Both the investor & the developer are/will be invested in the business, and yet it's the developer making all the sacrifices.

The investor could decide to invest more and spend it on improving working conditions, but they choose not to - after all, the suckers have confirmed that they are happy with the conditions!
I believe that the layout of code is done by humans for humans. An auto code formatter destroys all of that meaning.

I blogged about this more here: http://www.databasesandlife.com/do-not-use-automatic-code-re...
HP expands Mac-cloning design approach across all of its latest notebooks
Samesies. Sad but happy to see someone is further along than I was.
How not to write your marketing copy
T.js - a simple & powerful template engine for Javascript
TPP: The Biggest Threat to the Internet You've Probably Never Heard Of
A crypto puzzle: Is it safe to encrypt several keys with the same passphrase? Or is it possible to reveal the keys if the same passphrase was used to encrypt them?
Intel Clovertrail has been consistently getting ~10 hours on tiny 30Wh batteries.

http://reviews.cnet.com/tablets/dell-latitude-10-64gb/4505-3...

Dell Latitude 10 gets 9+ hours on a 30Wh battery.
Acer Iconia gets 10+ hours.

Mind you: the CNet battery test is rather rigorous. They play DivX video on a loop with the volume on the whole time. Real usage is likely longer than that.

Haswell is taking a whole bunch of improvements from Clovertrail, and putting it on the larger laptops. There is indeed a good chance for Haswell to hit 10+ hours, after all... Intel already released a chip that can do that.

----------------------

In fact, Intel _HAS_ to get 10+ hours of battery. AMD's newest Richland chips apparently reach 10+ hours of battery, and it'd be a shame to see Intel fall behind.

AMD Claims 13 hours of Battery on Richland on a 62Wh battery (footnote 33):
http://www.slideshare.net/AMD/amd-2013-mobility-apu-introduc...

Recently... Intel has been making chips with superior battery life over AMD. So if AMD is getting 13 hours with their latest chip... Intel surely will in their update.
For what it's worth, Vim handles it just fine.
3 tabs? is there a language, community or editor that encourages this convention? usually the default for tab is 4 or 2, and 4 is the PEP convention for Python, while 2 is very commonly used around Ruby as far as I have seen.

btw there are no tabs specifically because it's meant to be read as a single statement, not nested conditions.
The problem I have with any of these types of rankings is always the basis, which is so nebulous that it never holds up under scrutiny.

In this case, popularity is measured in terms of the number of programmers using a language, the number of training courses, and the number of third-party vendors.

I use about 5 different languages on this list, and another 3-4 that aren't. Which group am I counted in?

Training courses = popularity? Hmm, maybe. That also represents a sales angle, so it's skewed. As pointed out elsewhere, Javascript is incredibly popular but I don't find a lot of training courses available for it. It must not be popular!

Third-party vendors? Guess it depends on what you're selling (again, sales skews the line.) Some languages don't formulate well to products being sold (think dynamic languages that can't be compiled/obscured).

And lastly, what purpose does a popularity list not driven by job descriptions serve?