skysight-inc/HackerNews huggingface dataset:
Why do you think you suck? Are you curt, derogatory, pessimistic or judgmental?
Do you mumble instead of talking whole sentences?

In face-to-face interaction, a smile, even a superficial one is a good thing.
In general, showing curiosity, interest in what the other person is doing puts you in their good books. Joke if you can, it lightens the weather.

Listen before you talk. Be kind, even to an asshole. Don't judge someone too harshly, you are not in their shoes. And people can see that through if you do that.

I don't know what else to say unless you tell us more about yourself.
This is sort of a test/development only feature -- so making use of annotations makes sense. Running annotated code on a vanilla PHP install (without this extension) will work perfectly fine. You only get the extra checks with the extension enabled.
Does the employee agreement for Rackspace claim code ownership on code written on employee's own time and equipment?
Golang has great JSON support that I think could translate to Dart. Any overhead could be minimized through compiler support so we don't have to rely on the current mirror functionality. I think that would be a nice balance between what the author of this article is asking for and dart2js performance.
I understand you guys are working on it, and it's a tough problem, but for a flagship javascript drop in replacement isn't releasing something that griefs developers really bad?

Surely releasing a top quality library that works well is far more important than getting in early and releasing something that alienates developers and makes them try dart and them give up on it?

It's obviously your prerogative to do what you feel is best, but it's certainly not the choice I would have endorsed.

(I supposed the horse has bolted to a certain degree now, it's good to know that a lot of effort is being directed at dart2js I suppose, although from a developers persepective I don't really feel that it's particularly visible...)
Hi dragonwriter,

The scope of employment has historically been interpreted very broadly, usually in terms of any present or possible future business opportunity. You will see how that leads to a broad right of assignment.

You may say, that is ridiculous! I can't believe such a thing! Well, I agree that it is ridiculous, but it is still generally true (modulo some exceptions applicable in a couple of states due to specific employment laws).

At Rackspace, we believe in doing the right thing. We already were doing the right thing, but only when asked. We changed our policy to instead do the right thing by default.
It is funny, but I doubt is resolves the main issue with NDAs: they tend to be enforced by people who put too much value on ideas, will over-associate future successes to the extended memories of their ideas, and who underestimate how unoriginal they ideas actually are.

Even being an hermit in the middle of the Lapland forest, I have seen too many unrelated people suggest to me similar ideas within weeks far too many times not to see any NDA on anything not fully developed as too high a liability to sign.
That is the typical corporate America policy, and yes it does stifle contribution.

We decided to be different and do better.
> if you use PDO to select a row from MySQL where the 'id' field is an integer, and you write something like ($row->id === 42), you get false because all the fields are returned as strings.

this is not universally true. if you're using the mysqlnd drivers and disable prepares emulation, you get the correct types back.

// Turn OFF emulated prepared statements
$dbh->setAttribute(PDO::ATTR_EMULATE_PREPARES, false);
Taking about constants, the scad format (for 3D design) allows for defining and redefining constants, but they always have the last defined values...

That is, unless you import a module within redeclariations, in what case the module will inherit the values of the last declarations above the line it's imported on (not the last one of the file). And yep, that'll replace any declarations within that module.

The biggest surprise is that this is useful.
Its all been lies all along. What a shock.

Our government does so much propaganda in collusion with the media. Every time anything happens, we are treated to news stories about how security is being beefed up. The reality is that there reality isn't much they can do except show more security on TV and hope you'll conclude "ah, they are on top of things."
All these points are correct. We are just trying to make it so that the trip to the lawyer is not necessary. The fewer lawyers the better. ;)
This kind of problem was solved almost two decades ago:

1 - use the correct dialog button layout: cancel on the left, confirm on the right. always.

2 - default to the cancel button - highlight / color it & attach to the enter key

3. show an alert icon - something obvious, don't just show plain text

4. if it's really serious, allow undo / history
You can basically reverse those terms for me. I'm a mech engineer who wished he knew more/was better at the web-dev / big data stuff.
If you've read past your limit and want to read this article anyway, delete your cookies.
That's how my countries new network is set up. Makes sense to me, tbh.
From my point of view the refactoring should be completely managed by the IDE.

About the other stuff that can be DRY-ed I think could be managed by the IDE too. But don't forget the right tool for the right job. If you need class hierarchy don't use the 'instance' option in the IDE, use proper class hierarchy.

The 'instance' for code should be for stuff that cannot be or is not worth to encapsulate within a single method.

Thanks for the comment, pedalpete.
It is amazing that MUMPS will be 50 years old in 2 years -- and it still alive and kicking.

An emergency MUMPS project is still my highest billing project (per hour) ever.
You're making the mistake of applying ethical reasoning to soulless greed-heads. It's much simpler: "how much money can we make by doing this" vs. "how much would settling a class action suit cost, times the probability of having to settle."
living costs are much lower though, at least in the parts of the US where 100k are common. besides, what do you count as 'salary'? companies pay into the 401k and the social security, doesn't show up in the salary though. and they pay quite a bit depending on the actual salary.
Been there, was cool indeed! If you aren't planning to already, you should come to the 31c3 :)
Can you explain your array[i] / i[array] reference? I can't find it on Google.
If they went all the way with optimization it would have rolled over back to 0.
And here I always consider myself paranoid when wondering whether odd patterns in anything mean anything. Guess I'm just too noob and inpersistent to find anything.
Dart should be JavaScript. Seriously, what's the point of Dart again?
You wouldn't happen to be a patent lawyer, would you?
I got it now, thanks for the clarification. And I agree.
What was the rate?
> competition tends to benefit the consumer

In regulated markets. After all, things like anti-cartel laws are regulations, and we absolutely do need those.
Doesn't matter. He has created Tesla and SpaceX.
They oversimplified the patent, but surely you don't believe that the functionality to skip episodes of Internet audio content with a user command should be patentable.
Hate to be blunt, but you wouldn't have posted your site here without wanting to know what is wrong I guess. Anyway, forcing someone to share a product they haven't even tried yet just to try it themselves, and also forcing potential paying customers to enter their credit card details on an unsecured connection are both great ways to turn away 100% of your visitors instantly! That would be the first thing that HAS to change if you want customers :)
The Yellowstone region has fairly considerable water resources. More useful for generation than just boiling steam, IMO. And some for the animals, of course.
>> It sounds like what you're implying is that Rackspace's employment agreements assign all code written by an employee, regardless of when/where/why it was created, is owned by Rackspace. This is not universally true.

> That is the typical corporate America policy

I've worked for several massive companies, and none have insinuated that code written by an employee at home is owned by the company. If that's what you were referring to, then no, it's not typical corporate America policy. It does exist, but it's not typical.
I've removed sections from contracts I've signed that do just that. Always made me laugh. Somewhat unenforcable here in Australia, but I'd rather be sure and strike it out.
I also did one in javascript (i've requested it be ammended to the accepted response but we'll see how it reviews) anyway here it is:

function validateCC(ccNumber) {
var ccNumber = ccNumber.replace(/ /g, '');

console.log(
/^3[4|7]\d{13}/.test(ccNumber) ? 'AMEX' :
/^6011\d{12}/.test(ccNumber) ? 'Discover' :
/^5[1-5]\d{14}/.test(ccNumber) ? 'MasterCard' :
/^4[\d{12}|\d{15}]/.test(ccNumber) ? 'Visa' : 'Unknown',
ccNumber,
ccNumber.split('').reverse()
.map(function (v, i) { return v * (1 + i % 2) })
.reduce(function (agg, v) { return agg + v; }, '').split('')
.reduce(function (agg, v) { return agg + +v; }, 0) % 10 === 0 ? '(valid)' : '(invalid)');
}

btw to markup simply append 2 spaces to the front of the newline
Judge convicts man who thought about shooting up store
I don't understand the dislike of "for profit" schools. Its a tax designation. The president of "non-profit" schools is still pulling in a fortune in salary.
There are better examples one could use. After all encouraging competition isn't really the point of cartels.
Beauty of keeping it simple
He has a gift of explaining things. 15:40, rips apart the whole valuation game played here in the valley :)
Here is the text of the patent:

http://www.google.com/patents/US8112504

Here is a summary of the patent and a discussion of prior art:

http://patents.stackexchange.com/questions/3884/disseminatin...
First you get the nerds, then you get the nerds friends, then you get the friends of friends, then you get the parents? :P
Grammar nits: "A NDA" should say "an NDA." The ellipsis should be three dots, and there shouldn't be a space before it.
There's an answer [1] on the linked SO thread (flip to the first page) but basically, the following two lines are equivalent in C:

a[10]
10[a]

This is because a[10] is equivalent to (a + 10), and 10[a] is equivalent to (10 + a), as the first comment on this answer explains.

[1] http://stackoverflow.com/questions/1995113/strangest-languag...
If that is his argument, then I think it's wrong. Small and medium business will never do that for sure. They don't have the knowledge, resources or anything. The ROI is nonexistent for them.

Even for big corporation, what would be a good number of servers for them to reach a critical mass where it is worth keeping all those HW engineers and increased support staff? They want to sign a contract, get regular supported servers, with warranty, etc, and focus on their core business. They get it from the regular folks of HP, Dell, IBM, etc.

Of course there are exceptions but are they numerous enough to say Dell and HP are doomed? I hardly think so. Corporations in HPC market might take a stab at creating something like this. The folks running app/DB/web/whatnot servers for ERP, financial, etc applications?

Anyway, I feel like the OP is exaggerating a bit.
HTML Is Too Complex
Amazing!!! I would have just dismissed it as static interference, and not even think twice.

Hmmm, makes me think twice about the beeping sounds I hear when my phone is right next to my radio. I know it's data being transmitted/received, but I wonder if it can be deciphered in this manner.
It's not a very good dodge. Signing anything, even something done in jest, creates more risk than if you hadn't.
Love it, UX is beautifully elegant (only thing that ruins it is the Adobe Flash permission popup which looks like it is from Windows 3.1)

This is something I feel as though I will actually use, and is easy enough for my own mother to use.
wow.. this girl is superhuman...
In a funny way I find this reassuring.

After all the worries, posting from various places, TOR, and in the end from home, no one went after him even though he clearly ridiculed the TSA. It's kind of sad that we even have to consider that, but in these days of NSA abuses it's nice to see democracy at work.
It is required for dropdowns and the responsive navbar.

Also, I didn't mean to be talking down on your framework. I have personally never made a front end framework or released any sort of open source project, so it is cool that you have done that. All I am really trying to say is there is a tradeoff between file size and what a framework can offer.

You have chosen to go the smallest possible file size route, which is cool, but I would never use it in it's current state. The page advertises support for IE5.5 and it shows. It looks like something that was developed when IE5.5 was around. It is easy to support a single text input in IE5, but try building out a complex form in CSS and see what happens in old IE. Also, nothing looks finely polished. I just see a bunch of colored rectangles filled with text. There are no examples of typography beside the header tags. The padding\margins on buttons and alerts look funny. The forms are completely lacking. There is an issue with the navbar where the entire thing slides up a pixel or two when the dropdowns appear. The icons are just standard unicode characters that really have little use on the web and look dated. Again, I don't mean to knock your framework, I just think it needs a bit of polish and it is unfair to say it offers most of what bootstrap does. I'd also highly recommend you put normalize in there.

I'll defiantly keep an eye out for version 2! Good luck!
Merchants are now seeing a lot of payments by debit card which are not loans (direclty out of bank account). And there are still a lot of Amex cards out there that require full payment each month which is not really a loan.
No, it's the other way around; i, j, ... have a long history in mathematics as indices for matrices, summations, etc., with m, n likewise being traditional for the dimensions of a matrix.

In early FORTRAN, integers were present primarily to be used as array subscripts. The INteger mnemonic doesn't appear in any of the early papers or manuals.

As a side note, on the topic of features that would currently seem ‘strange’, some early languages that were intended to be programmed using teletypewriters rather than FORTRAN's Hollerith cards used half-line motions to write array subscripts as actual subscripts.
From the c standard[0]:

> The definition of the subscript operator [] is that E1[E2] is identical to (* ((E1)+(E2))).

Since * (E1 + E2) is commutative, E1[E2] == E2[E1].

[0] http://c0x.coding-guidelines.com/6.5.2.1.html
A pressurized water reactor relies on the pressure vessel not being breached in order for the passive decay cooling to work, if that happens we're right back to Fukushima/Chernobyl style problems.

AFAIK the pressure vessel was never breached at Fukushima. They had plenty of problems whose primary cause was the absence of cooling water (including a hydrogen gas explosion), but there was never an uncontrolled criticality because of it. (Also see further comments below on criticality.)

I am talking about short-term "everyone evacuate the building" types of disaster scenarios. You can do precisely that with a LFTR because of the passive decay heat cooling combined with the loss of criticality that happens when the freeze plug melts.

Ok, this makes it clearer where you are coming from. I certainly agree that the LFTR is a big improvement over the standard PWR design.

We don't really even know how bad the damage can get.

It's true that Chernobyl could have been worse, so we can't really judge the worst case from what happened there. However, these worst-case scenarios have been simulated in great detail; the physics is actually pretty simple.

With any design that isn't Soviet-built, a loss of coolant will not cause an uncontrolled criticality; losing coolant decreases the reaction rate, causing loss of criticality. The problem with the Chernobyl design was that it had a "positive void coefficient of reactivity", meaning that the reaction rate increased on loss of coolant. That feature, as I said, is not present in any non-Soviet design, which means it's not present in any commercial design currently operating (since all the old Soviet reactors have been shut down).

I just REALLY don't like the idea of the balancing act that has to be performed in 1 and far prefer the kind of intrinsic safety that you get from 2.

So do I. Now that we have such designs, we should certainly be building them, and should not be building the old designs that lack those passive safety features.
http://friendda.org/

"WHEREAS I possess a bright idea that I am choosing to disclose to you, The Advisor, with the mutual understanding that you are my friend and that you will not screw me."
once you lose the ability to pump coolant, the reactor starts to heat up. Then as it heats up, it starts to melt itself. As it melts, it re-attains criticality

If it's the Chernobyl design, yes. Not otherwise. See my comments upthread in response to another of your posts. The Chernobyl design had particular features that are not present in any currently operating commercial reactor.
Scientists Condemn Retraction of GMO Rat Tumor Study
Can't resist a shout out for a friend's new company that makes a lot of sense: http://chargeback.com (outsourced chargeback handling).
Is there any organization encouraging Texas' secession from the Union? If there is, maybe we should just make donations to them.
How about you do it like the rest of the developed world does and just not have a whole load of useless security theatre? Everyone's happier and you don't become the laughing stock of the 'free' world.
You're not giving us much to go on.

Do you say "like" a lot? That can do it. Try to avoid saying "like."
I think the trick is that array[i] and i[array] will always be the same value in C.

It's confusing because array[i] makes sense but i[array] doesn't (how the hell can you use an array as an index on an integer?)

It works because array is a pointer to a memory address and i (or index) is an offset. array[i] will add the index to the memory address and return the value there, where as i[array] will add the memory address to the index. Since array+index == index+array, they point to the same memory and return the same value.
CVV is unnecessary for offline payments because the physical card is being presented.
is there an alternative interpretation? you appear to be saying that a library can make javascript into a new or superset language.

Are you saying something different?
This has been the default policy (inventions / work on your free time == the companies) at just about every job I've ever had in my career. They slip it into employment agreements as a method to ensure they can claim ownership over any "Intellectual Property and Inventions" you might make.

I've known several people (and OSS developers) who have been on the blunt end of this pretty nasty clause. They've been sued, or startups they started on the side sued by their now-ex company.

I've done the startup thing to the big company thing and somehow these clauses have always been there.

Disclosure: I work with Van @Rackspace - this updated policy is one step on a grand master open source plan :)
Help build the best web publishing platform at Webflow (YC S13)
When I used to work for Motorola (pre-breakup), they had a clause in their standard contract (that you only saw on your first day orientation) that stated something along the lines of "Any idea, invention, or innovation conceived solely by employee or jointly with others, at any time during your duration of employment, that pertains to any current, future, or planned activities of the company, are owned by the company."

I'm sure I got a couple of words wrong in there, but I recall that at around the same time there was a large chunk of some open source project that had to be removed due to contributions by an employee of another company with similar wording. And when I asked about it with higher-ups, they basically said that even if you are working at home at midnight, on your own equipment, what you do may have been influenced by something like a hallway conversation with a co-worker.
I was referring to when merchants ask for the name on your credit card. I can't recall that ever being accompanied by email or phone. Here's Amazon's form: http://imgur.com/Azd1VKZ
I heart what should be called a "truth injection attack" in Python: http://stackoverflow.com/a/2021553/109618
This type of policy is very frequently known as the Assignment Of Inventions or Invention Assignments. Sadly - they are very enforceable depending on the state you're in. For example, non-competes are still in force across the US, but in some places if they go to court they fall over.

IP clauses like this are slightly more enforceable - all the employer has to do is prove you were employed at the employer when you started a company/made some code/wrote a book. See also: http://theemplawyerologist.com/2013/01/17/works-for-hire-and...
This is a great step by Rackspace, to be clear. All I'm saying is that it's mistaken to believe that most big companies will force you to sign an agreement stating that your code written on your own free time is theirs.

Actually, I was slightly mistaken originally. One time an employer tried to pull that, but when I pointed it out, they were willing to cross out the clause, because I was willing to walk away.

Perhaps I was just lucky three times in a row?
Finally! A video game for women.
We are developing a smooth voxel tech demo and are looking for alpha testers.
If you are interested, you can register here: https://upvoid.com/miner/about/

Alpha registrations are free and open for anybody.
Nice job. What are the inbound policies :)?
By definition, the subscript operator [] is interpreted in such a
way that ‘‘E1[E2]’’ is identical to ‘‘*((E1) + (E2))’’. Because
of the conversion rules which apply to +, if E1 is an array and
E2 an integer, then E1[E2] refers to the E2th member of E1.
Therefore, despite its asymmetric appearance, subscripting is a
commutative operation.¹

¹ Dennis M Ritchie, C Reference Manual, 1975 http://cm.bell-labs.com/cm/cs/who/dmr/cman.pdf (A revised version of this became Appendix A to K&R.)
If you get pushback on trying to strike out one of these clauses, just tell them that you do volunteer charity work that sometimes involves computers -- and that the organizations you work with want to protect themselves from lawsuits. That way, if they balk, they come across as being anti-charity. And don't forget, organizations suchs as the FSF are registered non-profit charities.
If you're also sending an invoice, I don't think it counts as "in jest."
Cool! I hadn't seen that project before, although I'd seen a few other telemetry-over-audio solutions.

They usually use simple FSK just like the "real life" helicopter in the article.

Here's an example of a common simple protocol:

http://www.flytron.com/pdf/audio_modem.pdf
You mean using OSS at work? Or something else? I can confirm we use a LOT of OSS. Like OpenStack. :)
Easygit 0.0.2 (Sublime Text Plugin)
This is your weekend to shine. Clean off the keyboard and prepare to tell everyone all the other things you're doing this Sunday.