skysight-inc/HackerNews huggingface dataset:
Except for the the fact that the author writes: "for bonus points, if x is 1 before 1e, what is x after that line?"
> considering implementing it correctly would require hiring talented engineers with expensive salaries

Perhaps this is a new business model, replacing the traditional model of hiring expensive engineers to achieve secure software development? If this is true, then we should all move to this new model and the existing "talented engineers with expensive salaries" are simply overpaid.

I don't actually think this is true, but if it were, what would be wrong with it?
Since he's Polish my guess is Poland.
Disclaimer: I'm involved in setting this up.

We've been working on this for months and I thought theres a lot of UK security people that would know about this, but perhaps not as many mobile developers or people who would go to HN London.

As well as having the guys behind the evasi0n jailbreak talk about the latest ios 6 jailbreak, we're also looking to run workshops on securing mobile applications. Ultimately we want more mobile developers to come as well as information security people, as helping people secure their mobile startups is just as important as a jailbreak.

What do you think we should do at SecureMobileCon?
This story reminds me of the story of Blender http://en.wikipedia.org/wiki/Blender_(software) now one of the best 3D software packages available.
You should always either ask to clarify or, if that is not possible, go with the literal statement of the question, and explicitly say so on your test paper. Any professor worth his/her salt will accept that and think even more highly of you, because they will recognize that you are able to think about the question on a higher level than most students.

If, on the other hand, you just silently "correct" the question in your mind, you will fail - especially in a course on programming, because the point is exactly that you have to learn to deal with computers that do not silently "correct" the program that you give them.
Any good developer would say they don't keep up with technologies: they just pick the ones that apply to their work. You don't need to study Hadoop 'just because', you study it because it would help you in your work dealing with 'BigData'. Stay away from hype and focus on work.

If you're trying to study concepts, it's a different case. You study the concepts, not specific technologies.

An example would be MVC. There's a lot of MVC frameworks that's out there. If you want to pickup on MVC, just choose among the MVC frameworks - Groovy/Grails, C#/ASP.MVC, PHP/CakePHP, Ruby/Rails, etc. etc. again, stay away from hype and language/framework vs. language/framework debates. If you pick one you're comfortable with, the concepts transcend language and time. If your career moves you on to another language, you'll find MVC is 'almost' the same save for minor differences that is brought upon by the languages themselves.

Especially applicable for the number of JS MVC Frameworks popping up every 3 or so months.
This entire thread started off about one of the many things that are broken.
It's not 'very powerful' at all. Have you used any other modern GUI templating engine?
Just wanted to comment that all the directives from http://angular-ui.github.com/bootstrap/ are native AngularJS directives. They don't require _any_ 3rd party JavaScript dependency (jQuery, bootstrap's JS etc.). Just take Angular, 5kB library (minified, gzipped) and you are ready to go!

On top of this all those directives are fully customizable as (almost) no DOM manipulation happens in directives, markup is extracted to separate templates: https://github.com/angular-ui/bootstrap/tree/master/template
Without drills, how would you suggest Facebook tests the response times and standards of their security teams? If you want to know how the team will react under pressure, you essentially have two options:

- make up a fake security alert

- wait until a real attack is underway

Perhaps I'm missing something, but I do not see a connection to Office Space.
The reason this sort of thing does not sit well with some people is that this does not work from an ethical standpoint in many fields. What if doctors, lawyers, or engineers all got to skip school because they bought the right person some lunch? Obviously things got so bad in the past that those fields are now heavily regulated. It's not a matter of just being a hard worker. If someone works relationships to get a job and then an airplane crashes it is bad news for everyone. Clearly, when flying at 35,000 feet you want the most skilled person to have designed your plane, not the guy who bought lunch for the right person.

People in the 'serious' professions already have to put up with dishonesty, battle daily with unethical coworkers and organizations, and have to work with someone's crappy family member hire. So to applaud ass kissers who get a job based on connections is very bad for society. If it's just about music or acting or some non-serious field, the no one cares and no one does care.
I can repro it. The lag is only of a few milliseconds, but enough to capture a screenshot, so it is jarring for sure.

This is on first page load - http://imgur.com/4kB93ZX

And this is on clicking through to a post - http://imgur.com/i7B3HOE

When I hit back, I get the first page's loading symbol again.

Here's another weird thing:

Sometimes, when I click from the list of posts page through to a post, scroll down, and then hit back, it takes me to the top of the post instead of back to the list of posts. This happens only sometimes, not always.

Also, it looks like you are tracking scroll position by chopping up the page into numbered sections which are tracked in the url. Going back and forth resets the scroll position to the top of the tracked section. This works mostly fine, but is off sometimes by a line or two.

Edited to add:

In an earlier post[1], Robin argues that using client-side frameworks like Ember increases speed because you can leverage CDNs. But, I think our examples suggest that there are still some speed issues in the client-side rendering, which I think is DHH's point.

Even if total times with Ember (request to server and final render) might be less than something like pure Rails, the perceived speed for the user might be lower.

Robin gives one anecdote of some people in Prague finding his Ember site faster than others. saurik and I have provided couple more anecdotes :-)

But, it might be good to collect some proper data using something like Torbit.

[1] http://eviltrout.com/2013/01/06/turbolinks-and-the-prague-ef...
Virtual Museum Exhibition in the Browser Full JS
In the context of an art project, I have written a full JS museum I would like to share.
Unfortunately, texts are in French, but nav in the museum is hopefully pretty international :
Goto "Entrer" > "Sommaire" > "Accéder directement à la visite" to start nav.
You get to move by clicking on the floor or on arts pieces on the walls.

Enjoy
Lotus Improv did this first. Excel has pivot table support that supports this use case too if people know how to use it.
1. There is no such a thing as C / C++. "Real" C++ is closer to other OO languages than it is from C.

2. It is not because a language is not a good option for teaching that it isn't worth using.

BTW After hours of debate, I still think that C is not a bad option for teaching purposes, mainly because it has a very simple syntax and almost NO api which generally introduce confusion.
this will be very useful when trying to reverse engineer something :).
In fairness, the author does recognize that he failed in giving a good test.

The thing is, those questions demonstrate a certain type of playfulness in dealing with the subject. It is not uncommon for good students to think of this type of questions when they design their first tests, precisely because those are the kinds of questions that they like to think about themselves. What they fail to recognize is that those questions are incredibly hard for others precisely because of their playfulness.

So those questions are useful for quickly recognizing really good students (students that are so good that they transcend the requirements of the course and can deal with the subject on this playful level), but they should only make up a very small portion of any test. And teachers should probably warn their students about this type of question...
not unless they accepted code from somebody else w/o a copyright assignment.

they accepted code from many persons. i don't think everyone works for them.
A collection of helpful Twitter Bootstrap tools and resources
The difficulty is to realize when you have something interesting to offer to a specific person, and when you have not.

Funding is hard, best of luck.
Questioning what the -Wall -Wextra -pedantic arguments mean would be better. This is how you find those typos in the real world.

Ask them about compiler errors. For example, what does "undefined reference to `vtable for Foo'" mean?

Then some style guide [0] might be helpful. Make them write the rvalue expression to the left of comparisons, because "if (3 = x)" is an error then. Or some "assert (this != NULL)" in methods.

Ask about semantics, like "What is the difference between a move and a copy constructor?" or "Write a program to demonstrate the difference between any two of static_cast,dynamic_cast,reinterpret_cast,const_cast,implicit cast" or "When should you use unique_ptr instead of shared_ptr?"

[0] http://google-styleguide.googlecode.com/svn/trunk/cppguide.x...
Eric, I think you need to find your other half. Not a wife or girlfriend but your "Non-Competing Non-Biological Brother". Jobs had Wozniak, Brin has Page, and the list goes on and on from YouTube to Yahoo to Microsoft to Valve. A lot of big things are built when one man finds his non-competing other half. Men need other men to serve as a balancing force for their weaknesses and strengths. Otherwise you're going to end up like Nicoli Tesla and all the other brilliant people who died penniless.
It's a foot in the door toward QA and detection of common mistakes.
> you need to make things that people want to buy.

How about putting it more positively as "things that people find so useful that they'll give you money for them"? Then you wouldn't need the extra paragraph to explain why money is not evil :)
Alternatives to Google Things
Not really. To be honest, if anything it's good training. How many times have you seen an assignment operator in an if statement where a comparison operator was meant to be used?

Actually, now I think of it... all the questions were related to operators, except the last one which was a trick question. If all the questions bar one were in regards to operators only, then this isn't a particularly good test.
I'd be much frustrated not to see startups cracking on this on elections to come, what with all the crowdfunding being carried over to many other domains (e.g. YC's first non-profit backing)
You could write bindings for libraries he's wrote and write higher level logic in CL. It also appears (from google searches) there are ways to tweak garbage collectors in some versions of Lisp as well as ways to manually manage some memory? I don't know if they can be applied to writing audio or graphics libraries though.

I've ran your script. Was surprised lower milliseconds I wasn't able to notice the stutter. I'd have thought even 1 ms would be noticeable.

>> Common Lisp runtime + compiler

Would like to hear more about this. Have you written about it in a blog post somewhere?

One more point: Common lisp isn't the only option. There are other powerful functional languages out there. e.g. Ocaml which uses an incremental GC.
"they model and assist in existing human processes"

Isn't that the point though - the "RP" in "ERP" is "Resource Planning" so they really are mainly focused on process oriented manufacturing or services.

If you don't need the "RP" bit of an ERP then aren't you really just left with a financials package?
A test about pointers is not stupid. A test about printf formatters is.
He didn't put it into parenthesis.
I have worked with some immensely powerful and complicated spreadsheets with entire worksheets nearly full of formulas and 10's of thousands of lines of VBA code. This includes spreadsheet driven systems trading 50-100 million dollars daily as black box systems.

Nearly always, these started as "prototype" systems that became so useful, so quickly that they end up as "production" systems.

This is the power of Excel. But...

When spreadsheets get this large and complicated they are incredibly fragile and become hugely difficult to maintain and bug fix. It is just too easy to make an accidental change and not know your spreadsheet is broken. The VaR example given in the OP is just typical. Sure, you can protect sheets but as a developer/maintainer you need access and then you can very easily break things, especially because version control with spreadsheets can be next to impossible.

The moment you start taking your spreadsheets seriously, as a business process, is the moment you need to consider very seriously recoding them as a bespoke system using conventional software development.
I added a contact email to my profile. I'd like to talk if you want to sub out work. I can provide links to my Stackoverflow and Github accounts (my open source contributions are sparse though)
Not only that, but you can set an assignment operator to x for 1e, then print the result to the screen.

Hardly the point of the test. Though not sure the point of the test...
You should post this in a "Show HN:" format. It would get more reception that way.

Is this a startup you're planning or just a free service?
H.265: high-quality mobile video or low-bandwidth video?
Not a single question about templates. Your test was not hard enough.
It also works if you add a space:

x+ +3;

I always thought the unary plus operator is a complete waste, and shouldn't be implemented. I can't imagine a situation when it's needed.

EDIT: technically, it's a bug in GCC. It sees "x++" and assumes it's a unary increment, followed by a hardcoded 3. It definitely should consider that it's an addition followed by a unary plus (which has higher precedence than addition). But I guess it's an ambiguous syntax, and GCC is just being strict.
I know that, I'm using parenthesis to explain what the compiler "might think"
1. I learned the two languages contemporaneously. They were commonly referred to as C / C++. I used C mostly for embedded/systems programming. I don't know what "real" C++ means... but to be fair, the last time I really used it was pre-STL.

2. OK. (I didn't make that claim, did I?) C / C++ has it's uses. I use it when I have to (embedded systems, systems programming, and performance). But I don't use it willingly.

I TA'd a course in C for EE's. It was fine. I think it probably helped them in many ways. Anecdote: My favorite course as an undergrad was building our own wire-wrapped 8086 computer. You quickly learn to appreciate assembly (versus manually loading registers), and then quickly learn to appreciate the C compiler.
Galaxy S3 and Nexus 7 experiences: Chrome on S3 is the fastest browser I've used on a mobile device. Works fine on Nexus 7 as a main browser I haven't noticed any lag (at least nothing that I could notice).

Regarding the bar in the middle of Techcrunch page are we certain is a problem with the particular browser and not the website?
> Louis Pasteur's famous saying "Luck favours the prepared mind" suggests that luck can be harnessed to make more discoveries ...

No, Pasteur's remark was meant to convey that there's no such thing as luck. Chance and luck aren't the same thing, and chance events are better exploited by someone intellectually prepared for them.

As to the linked article, I hadn't realized that Wikipedia was allowing personal-opinion essays to be posted as though they were encyclopedia entries.

> Kevin Dunbar and Jonathan Fugelsang say that somewhere between 33% and 50% of all scientific discoveries are unexpected.

Oh, great, psychologists offer a handwaving explanation of the scientific method, but without bothering to use the scientific method themselves.
I was expecting to see a comparison between stateful object and server and method calling as message passing and api call.

So I was surprised but also disappointed: to anyone who has worked with a REPL for instance it's not a big deal to hot swap piece of code. Many programmers use Emacs and do that almost daily in their text editor… And that's how the web was first designed (the first web browser, Mosaic, allowed to edit the page you were visiting, much like giant and distributed wikis or, with nowadays dynamism in web pages and services, much like giant and distributed Lisp machines or Smalltalk images).
Monday's Best Design Links featuring AirBnB
how? I am just asking them to track kindle which is registered with me. how is this a loophole?
No decent compiler would attempt to correct that by adding parenthesis!
Speeding up hyperlinks: topics
Then wouldn't an answer like "x could be anything because of undefined behavior" be correct?

This test is indeed quite evil, especially considering it was for freshman students. I have to admit, though, that the bonus question was great.
NSHipster: NSURLCache
Kudos on not understanding what open source means.
I happen to be in a position where the more important I've become the more free shit I've gotten. This "stuff" is technically never free, but rather it's part of the cost of doing business. It's directly related to the same cost you (not you specifically) spending the time to write content for a wide audience "for free". It's all about building trust.
See which changes proposed by lobbyists 
Your privacy is in danger

See which changes proposed by lobbyists went straight into amendments by EU Committee members on the General Data Protection Regulation (GDPR). Compare the lobbyists requests and the committee members proposals. Learn which impact the changes would have on the protection of your data.
It is all about who you know.

But even more than that, you need to have a goal, made out of concrete/steel in front of your inner eye. All major religions focus on an "ultimate goal", warfare, nationalism, professional life, "masterplans", "big pictures", the plots of the best movies and literature in human history, etc.

If you lack this goal, you will never know "who" you need to know. Randomly networking people will not help you in the long term.
Well, google possibly, but, yeah, FB being deemed "critical" is a bit of a mystery to me. I can more accept twitter being "critical".

I would have thought infrastructure is properly "critical", various websites not so.
Do you have a source to the a4 being Samsung designed?
You are one of the reasons why education sucks in general.
That really depends on the local climate. Many locations will see temperatures below 0F and above 100F in the same year, and hotter weather can result in much higher temperatures near the road surface than measured by weather stations.
I'm not sure if this a good recommendation. According to this talk: https://www.youtube.com/watch?v=zDZFcDGpL4U ADHD are normal symptoms that occur when a creative mind has to perform dull tasks. ADHD becomes bigger and bigger problem, because today, there are much more stimulants that cause things like traditional school or work to be boring.

According to the speaker, curing ADHD with pills solves the problem by reducing creative potential of a mind. A better approach would be to create an environment where people with ADHD can thrive.

(Note, that I don't have any real experience with ADHD, this comment is based only on the talk).
Suggested title: It's all who you know if you work in a field like music.

For some people, burning bridges and telling people what they can go do to themselves is a cherished past time that they have earned. In my opinion the hard-line approach to success is far more satisfying. Imagine making an opportunity for yourself that no one can take away because they had no part in giving it to you. That's exhilarating to know that no one has any power or influence over you. If that's not your goal, then what's the point? You might as well go work at a grocery store or something.
I'm trying really hard not to read your post in Ned Flanders' voice.

But in terms of 0-day exploits, I believe there is a ready market for them if you know where to look, and are willing to pay.
The Power Of iPhone
Funnily enough, my own angularjs project is slow - and often crashes the browser - on my android device...

I've never been able to work out why.
All very nice, but the article clearly says that they disclosed the backdoor to the developer after the drill.
I do not understand: why should I contribute to a project, fix bugs, implement new features and then pay for my own work? It's senseless...
P.S.: I don't know how pull request are managed in TM2 project. If the author uses github only as issue tracker, it's another story.
That's the hottest in air - inside a car in the sun it gets MUCH MUCH hotter.

Inside a car in direct sunlight it can reach 190 degrees.
"It was the late Steve Jobs' worst nightmare." Seriously? Did they find a medium and communicate past the veil? I've never once heard that applied to Jobs', he seemed to view the competition as crap and well, not competition.
It’s not just who you know, its who you know that knows that you know.
> 3. Those temps are a bit extreme... arguably small markets there.

Not really. The high temp is actually on the low side - a parked car in sunlight in the summer can reach 190 degrees!

-40 is a bit extreme for some parts of the world, but in other places it's not unusual. Perhaps not for the entire winter, but certainly as a daily low.
I dont. I think that is a post proof change in the stated criticism designed to save face having been proved wrong.

Not saying that applies to you as such, but I see that sort of argument creep way too often.
Vanilla and bbPress are both pretty typical PHP forum software (read: bad)
Ask HN: Is there an industry standard search algorithm for searching websites?
Hello! I was wondering if there is some kind of standard or best use case for searching algorithms for websites. Of course, Googles algorithm is highly secret, and that's absolutely not the scale I'm looking for. I'm talking about simple searches

I'm using Sphinxsearch with the BM25 ranker, but the nice part is that I can weight certain fields.
Does somebody have a best use case for indexing and searching websites?

For now, I'm indexing websites and save them into a database and set weights on the specific fields

100 url - host
90 url - path
80 url
50 title
30 keywords
30 description
20 headings (h1,h2,h3)
10 paragraphs
10 special (strong, blockquotes..)
1 body (text only body)

Maybe there is another aspect I didn't think about and maybe there are good resources on the internet that could help out that I missed. I know you can make algorithms insane, but the scale is not so big so I also don't want to overdo it.
I'd seriously consider giving that employee a small raise. Skipping a vacation for work is actually a pretty loyal thing to do.
Yes it's a free service, we launched the other day www.name2.me .
Domain giveaways and loans. We're trying to convince domain name holders to recycle their unused domains.
To some people the $10 for a new domain is a big deal.... so it gives them a chance to snap up a domain without any cost.