skysight-inc/HackerNews huggingface dataset:
Honestly, I understand; I am really bothered too when I see people applying techniques without even thinking about performance implications (and btw, this is also true for security, correctness, portability ... implications).

C++ is viewed as the ultimate language when it comes to performance, for good reasons; of course, if I ever need a fast program, I will consider it.

But as an exercise, why not try to optimize the CL code, first?

By using type declarations and avoiding allocating memory, here is an optimized CL version that runs under 0.01s, beating the C++ code (note that the original C++ code could be optimized too; e.g. why check the command-line argument every time?).

(defpackage :test (:use :cl))
(in-package :test)

(defconstant +vector+
(map '(simple-array fixnum (10000))
(lambda (x) (declare (ignorable x)) (random 32767))
(make-array 10000 :element-type 'fixnum)))

(let ((result (make-array 10000 :element-type 'fixnum)))
(declare (type (simple-array fixnum (10000)) result))
(flet ((square (x)
(declare (optimize (speed 3) (safety 0) (debug 0))
(fixnum x))
(the fixnum (* x x))))
(defun square-vect ()
(declare (optimize (speed 3) (safety 0) (debug 0))
(type (simple-array fixnum (10000)) +vector+))
(loop for i from 0 to 9999
do (setf (aref result i) (square (aref +vector+ i))))
result)))

(time
(dotimes (i 1000)
(square-vect)))

Evaluation took:
0.009 seconds of real time
0.008000 seconds of total run time (0.008000 user, 0.000000 system)
88.89% CPU
22,650,364 processor cycles
0 bytes consed

Evaluation took:
0.009 seconds of real time
0.008000 seconds of total run time (0.008000 user, 0.000000 system)
88.89% CPU
22,789,708 processor cycles
0 bytes consed

Evaluation took:
0.009 seconds of real time
0.008001 seconds of total run time (0.008001 user, 0.000000 system)
88.89% CPU
22,418,566 processor cycles
0 bytes consed

Evaluation took:
0.009 seconds of real time
0.012001 seconds of total run time (0.012001 user, 0.000000 system)
133.33% CPU
22,498,018 processor cycles
0 bytes consed

EDIT: of course, now, you can say that the programs is unsafe under certain conditions; you may have an issue with the "defconstant" declaration (replacing it with a variable leads to 0.012s results).

But after all, there is no specification.
In practice, one must deal with actual requirements and sensible measurments.
As someone who actually worked at Amazon for a few long years, I'm always skeptical of such seemingly positive news, and often think "hmm, could this be another marketing trick to influence people's perception of Amazon rather than actually changing anything", and %90 of the time I'm right :)

Here's how their typical financial offer is structured for new software engineers:

1st year: signing bonus + relocation bonus + 5% of stock grant

2nd year: signing bonus + 15% stock grant

3rd year: 40% stock grant

4th year: 40% stock grant

If you quit within the first year, you have to give the relocation and signing bonus back. That's much much more than $1k. So there's a strong financial incentive / golden handcuffs to keep you there for at least 1-2 years, even if you are unhappy!

After the 2nd year, the financial incentive of staying is still there in form of the large stock grant (which has grown due to their stock price rising) that you've been promised and waiting on for a long time.

I can see someone rationally and happily taking the incentive after the third or fourth years and quit (i.e. after they've done damage to the work environment as an unhappy/unmotivated employee, and no longer have to give a fortune back to the company)... but before then, I doubt it'll change the behavior of any currently employed, overworked, over-paged, under-paid, under-appreciated software engineers.

Who this policy might affect though is future hires, and their perception of Amazon. People who have a choice between offers from MS and Amazon for example. They might consider this an interesting policy and assume that it would have improved employee morale at Amazon even though it's common knowledge that Amazon has terrible work life balance, etc.

I should also note that the Zappos policy makes a lot of sense to me, but this is very different from that, as is the employee culture of Zappos from Amazon.
i don't do the same. i'll take the test because its just another opportunity to prove myself.
Anyone know what the comodoca cert are all about?
How does NASA use Machine Learning? (A Detailed Quora Response)
Heartbleed developer explains OpenSSL mistake that put Web at risk
I grew up in Greer (about 20 minutes down Wade Hampton Blvd from BJU), and my mother, even in 2005, still believed that D&D was satanic. She had converted to Judaism, never went to BJU, and still she held that belief because of the moral panic in the 80s. It's amazing to me how easily some people will accept a moral position on something they know nothing about simply because someone else told them they should.

I actually got her to play D&D with me. It was interesting. We sat down and set up the game, had little tokens for our characters (it was the starter set), and dice and all of that. We selected our characters, entered the dungeon, and were promptly killed by the first orcs we came across. We stopped playing after that, but I think it opened her eyes to the misconceptions she had of the game.

BJU would go into K-Mart and demand they stop playing certain radio stations because the students couldn't shop there if they played rock music. They also caused a shitstorm when they tried to expel some students for holding hands when walking across campus because one was black and the other white, and this was in 2001. I even had a guy in my high school get into their weird religious beliefs trying to tell us in Biology class that the world was 3000 years old and the devil put dinosaur bones there to test us.

This is similar to the moral panic that happened around pokemon and harry potter in the 90s, and the daycare rape panic that happened in the 80s. It seems like moral outrage is a way that some people band together and identify.

It's still happening now, my university I went to is being attacked for giving a summer reading book that is about a lesbian. People are viciously attacking faculty and alumni from the university, and the state legislators have even taken to fining the schools for it.
64k is the max value of a 2-byte unsigned int, as 2^16 - 1 = 65535; is that the size of the length prefix?
I'm aware of cognitive biases, and know they get me, I just find this use really feeble. Individuals and all that. When I make bad decisions I don't reconcile anything, I swear and grumble and cut my losses and tell myself to forget about it and move on, and sooner or later I usually do forget about it. New day, new situation, new factors, new decisions. New opportunities to make new bad decisions! I'll take a look at that book, thanks.
That could have been accomplished with a fixed-length payload and variable-length padding, though.
> Tweeting feels like writing in a diary.

This is actually one of the 2 reasons why I use Twitter:

- following interesting people (like John Carmack)

- keeping a "diary" of interesting links on a variety of subjects
if i wanted to be dumbed down i'd use google chorme :)

now really, those options are not useless and just for confusion, and i will argue anyone who says otherwise. most options there are for usability. Yeah, for you being able to run add-ons is just a convenient way to download movies from streaming porn sites... but for me it may be a way to run stylish and use a high contrast theme so i can actually read the sites! ...and just the fact that i have to use add-ons+stylish instead of a simple user style file like most old browsers allowed is already absurd enough.
Yet they're getting the cracks from you .. which suggests you're good enough to be able to hide yourself away. Use anonymising proxies to connect to a machine that you Tor off to a BTC wallet that only takes in washed coins, or something. Even being able to spend 100k on [potential?] server cracks doesn't seem enough resources to be able to take down Tor?

If they try and trace you just send a spike!!1111one
Back in the iOS 1.0 days, the iPhone development platform was web apps. These were pushed by Apple as the "right way", which negated the need for an App Store. As the browser engine on iOS is basically identical to the desktop WebKit, I always assumed Safari for Windows was a push to enable iOS development on Windows.

With the release and success of the App Store, that became unnecessary. I guess killing it was a function of its relative lack of popularity; Apple in the Jobs 2.0+ era justifiably don't like keeping dead-weight projects around.
For the former, you're evidently not familiar with the role naval gunfire support played; if not those instances, e.g. I remember the Royal Australian Navy(RAN) Anzac using its 5 inch gun in support of the combined US and British Royal Marine push into the Al-Faw Peninsula right flank, read up on e.g. the WWII invasion of Sicily or D-Day, when Omaha beach had two old US battleships dedicated to it (would have hated to be a German on the other side when e.g. the Texas used it's 10 14 inch guns to "clear" a beach exit).

For the latter, the misattributed Trotsky quote "You may not be interested in war, but war is interested in you." applies. As does the principle of deterrence.
Indiegogo CEO Slava Rubin and The Future of Open Crowdfunding
While maximizing their profits, they are also matching the highest number of consumers to the highest number of producers (service providers), thus making the process more efficient.

And there are plenty of substitute goods (services) for the service they are providing, so I'm really not sure about their ability to set prices as you suggest.
To spin this positively, Twitter should be happy their platform is considered a "medium" and not just "one-thing" to all users.

The idea that your Twitter feed is an unfiltered firehose, and that you can use Twitter how you want (follow, tweet, or not) makes it all the more powerful and redundant to shifting consumer trends.

As long as Twitter doesn't hork the various tools/services used to access the service, no one should "get sick" or be fatigued by Twitter as there is not one standard experience.

A family member of mine just signed up for Twitter but didn't want anyone to know for various reasons (they are not interested in gaining a "following"). They just wanted to follow a few folks/entities they're interested in and that's it. This is a good thing ... Twitter remains "useful" without dictating how my family member and others has to use it.

The "hands-off" approach should also appeal to businesses looking to partner with, or provide tie-ins to the Twitter service.

I would argue the more lightweight and open-ended Twitter is in regards to how it works, the better.
How to have an out of body experience
Look at any academic institution in the US in the life sciences. If you would take away the Europeans and Asians, what would be left?
Obviously someone noticed a problem. It was confirmed by looking directly at the silicon.
The article is about Cloudfare saying their keys are safe.
We were discussing implications of someone winning the Cloudfare challenge. You suggested the fall of the challenge would confirm Neel being wrong? I was alluding to Neel's position that that any key leaking is "unlikely" - a much more tenuous position than Cloudfare's.

But maybe you meant that he's alrady been proven wrong, and the nsa would be another? Then I did misinterpret that bit.
GitHub for Poets
I don't understand this part:

As more people use Uber, there will be fewer people trying to hail cabs, and fewer cabs picking up people, which will lead to reduced expectations cabs will be available, and so on and so forth. Gradually the ‘open cab market’ will be displaced by a closed Uber service. I’ve already noticed it’s harder to hail cabs where I live, capacity is often taken up by Uber riders.

Supposedly traditional cabs are ridiculously profitable, so even if Uber reduces their demand somewhat they should still be profitable enough to stay on the road.
Legislation a Top Priority in Cybersecurity Fight Says RSA’s Coviello
Was he in NJ at the time? The state that you are in when you commit an alleged offense is a proper venue.
A common method to avoid interfering with the statement you're trying to make is to mash as many hashtags in as possible after the fact.
No... CF sent the IP directly to LeaseWeb. Not me.

They refuse to send it to me, but LeaseWeb refuses to take any manual action with it.
You're right; the anger was mostly behind the scenes. It turns out it's also /incredibly/ hard to disclose a vulnerability to most companies. Companies like Google or that have bug bounty / disclosure programs are to be lauded. :)
Don't forget that this offer is for employees in the fulfillment centers, most of which are in areas with very low cost of living.
why does it amaze you? my experience of 'self taught' individuals in the general case is that they have a rich understanding of the subject by necessity.

conversely my experience of education is that it trains you to solve education style problems - which are essentially absent from the real world - where being able to invent and implement a slightly broken solution in an hour with 30 seconds notice is much more valuable than being able to solve a problem you know about far in advance and are given loads of information and guidance to help in preparation for it.

on the other hand if i wanted someone to do research then a CS major might be a better choice. :)
I have got this header:

OpenSSL/0.9.8o zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6
Host: www.cloudflarechallenge.com
Accept: /
PrivateKey: EiS3mdBFanVEaeRkk4otJRRHFTGi6tVZUJKl5v7rGpjJnY0gTn4PWSlOJqA2l32o
Content-Length: 1721
Content-Type: application/x-www-form-urlencoded
Expect: 100-continue

http://pastebin.com/FLcsYDfE
I don't think that can be it. I'm pretty sure they could apply the relevant New Jersey law even if the trial did not physically occur in NJ. For the purposes of that analysis, it would be enough that some "victims" resided in NJ.
I always have people asking me if I can do X or Y, and I have to say no, and that I also don't know anyone who can do those things. This could be a good place to connect those dots.
Someone POSTs the "BEGIN SECRET KEY" strings and such to server. Funny thing is, key is probably stored as binary and without file header/footer.
Well, like I said, I get the GIJoe bit. And I agree for the most part, I just don't necessarily agree with the government propaganda part. Using nationalism and patriotism as a means to sell toys? Sure.

I can't agree with the Transformers as much. I don't recall anything specifically stating they were in America other than suggestions in the dialogue. With redubbing the show could have been placed just about anywhere only limited because of the appearance of the main human characters. I believe there was a British version as well. I could agree that maybe the Reagan administration co-opted Transformers for their own use (much like they did with the Star Wars name but I doubt Lucas was a government propagandist) but you seem to be suggesting that the Transformers exists for the benefit of Reagan's Star Wars program. That's the bit I'm curious about because I just don't see that. It seems too conspiracy theory to me. My reasoning is that Transformers was a part Japanese effort and originally based off existing Japanese toys. It was essentially a Japanese company entering the US market. To say they were propaganda for the benefit of the US government is a stretch to me.

I agree with the stereotypes, but I would say they were more of the typical good vs evil stereotypes. Just because they matched the good vs evil actors of the day doesn't necessarily mean they were created with that in mind. That seems some form of bias to me.

The reason the Autobots didn't have energy issues like the Decepticons was because they weren't attempting to conquer. They only required what was needed to survive. The Decepticons were gathering resources to destroy the Autobots on the planet, conquer said planet, and then return to Cybertron to finish the war. Works for me. I think it was the major plot point in several episodes.

I disagree with your final statement. There are many modern examples of more-or-less the same themes of good vs evil with similar stereotypes, archetypes, and plots. It's just a lack of interest or failure in connecting them to modern events.

I just don't buy the propaganda for government benefit in the Saturday morning cartoons from my childhood. Now, propaganda for me to want the toys they were selling? Sure enough, and it works.
Dupe of https://news.ycombinator.com/item?id=7568059 and still flag button fodder.
I consider myself a devout Christian, and I find nothing inherently un-Christian in D&D. If one wants to indulge fantasies of evil, well, sure, there's the Book of Vile Darkness. But the nice thing about D&D is that it's like Lisp---so free-form that it can be whatever you want it to be. It is much more archetypal to play a band of shiny heroes---which is a good thing to aspire to.

If any particular Christian finds something that would lead them to sin in D&D, then they should avoid it. But all things God has made are good in their proper place, and that includes imagination.
I appreciate the HN desire to link to the source, but as I reader I'd really appreciate submitters link to a good summary/analysis for dense subject matter such as court documents or scientific papers. Ideally they'd chose a summary that itself links to the source.
Automated Regression UI Testing – SiteEffect.io
Yeah, agreed, this is for their warehouse employees, not their software developers.
No. Their rationale is that residents of NJ could possibly be harmed.
Couldn't Twitter track how many times you "request" your feed? Although not perfect, I'm sure they could get an approximation of those users who are just "lurking". They could also track logins from the web side, and probably app usage.

This data wouldn't show on outside measurements (like in the article) but would help Twitter know who is active and not.
Privacy scandals opening up cloud market to Europe's startups
Note that this offer is for fulfillment center employees, not software engineers.
Maybe its the best we can expect of a corporation.

Corporations don't make decisions; they don't do anything at all. The people who control them do. "A corporation" isn't even a single abstraction; there are so many different kinds and even the same kind can be set up and run so many different ways that having any expectation (or lack thereof) of "a corporation" is meaningless.

A good result from bad intentions isn't admirable. A war economy can create jobs, among other things, but that result doesn't make going to war an admirable decision.
In China, pulling a fast one is de rigueur.

So it might be just a typical business "f u, because we can."
That wouldn't stop them from banning CloudFlare's IPs.
Applicants from any single 'country of chargeability' cannot exceed 7% of the total number of available employment-based green cards in a year [1].

In practice, someone from Iceland or Tuvalu can get an EB (category 2) visa in about a year, whereas the average for someone from India or China is more like 5-6 years [2].

[1] http://www.uscis.gov/tools/glossary/country-limit

[2] These rough numbers are from observations on http://www.trackitt.com, where applicants self-report application statistics
In the meantime: paging the new, open, friendly Microsoft! Paging nice Mr. Nadella! Ring, ring, ring.
H1-B Visa Lottery has been drawn. 172,500 applications; 65,000 visas.
I'm fairly certain that this would be a clear application of Double Jeopardy clause of the 5th Amendment for at least the majority of charges; in short, this is true because whether or not the case had merit, the prosecution definitely screwed up the proceeding.

There may have been a case for CFAA violation (right or wrong), but the prosecutors improperly chose New Jersey as the venue of proceedings. This was a calculated move that had the effect of producing additional state charges, which then resulted in an increased Federal charge for CFAA + State Law violations. That sort of willful "venue shopping" cuts both ways, then; as soon as they try for additional charges, prosecutors now had to conclusively prove that the location of venue was material to the crime at hand, as well as the actions committed.

Since Weev &co were not in NJ at the time the act occurred, and neither were the machines they accessed, and there's no conclusive proof of NJ residents being harmed, then the venue of crime committed was incorrect and thus so were the additional charges hung on it. And that is the prosecutorial misstep which was overturned on this appeal, which is subject to jeopardy limitations.

http://criminal.findlaw.com/criminal-rights/when-double-jeop...
Yeah you'd rather want to be the aggressive inpertinent kind.
Like the who is hiring threads, may be we could post 'Help HN' thread once a month, at the beginning of the month
I thought Apple were king of the patent trolls these days.
It is a feature that they set the price, because like a store with a ton of inventory, it is complicated to sort through all your options if every cab sets it's own price. It makes complete sense that surge pricing occurs when there is a supply demand imbalance and it makes complete sense that it evens out the imbalance.
The opinion came out very recently (within the past hour), so there is not likely a good summary or analysis available yet. Seems reasonable for OP to want to spread the news without waiting for a news story.
Well, a minority in this case. Also I don't think anyone seriously believes 400 million actual people are using twitter in that way.
Patatap-sequencer: A 26-track step sequencer to trigger Neuronal-Synchrony
How to protect yourself in Heartbleed's aftershocks
The Dragon Economy: How Smaug's death doomed Middle-earth
I think Brecht is hilarious - and I really like that they are constantly swearing on the podcast. Plus kids in the background keep it real.
Apparently responsible disclosure == no credit

https://gist.github.com/chapmajs/607e9532e8d92472dfff
Shouldn't job postings be limited to the 'Who's Hiring?' posts?
Sorry I agree it was rather incoherent - I was distracted half way through posting.

I'm not suggesting they are sounder but I'm suggesting that async designs are simpler and simplicity rules when it comes to safety. sync designs tend to evolve into complexity over time to maintain performance (IIS for example which is a behemoth of threaded privsep pain).

And in my experience (so totally an anecdote and I accept that), it's not easier to privsep a synchronous program. On top of the IPC concerns of isolation, you still have all the problems associated with threading. It's just pain.

(I've written a fair number of both types of systems - none open source unfortunately)