skysight-inc/HackerNews huggingface dataset:
trying out discourse, pretty cool. but how do you get to the admin? and what are the default credentials?
> The point of that stuff is, if the product does not conform substantially to those specifications, the person coding it is (usually) liable.

Can you point out a single case where a programmer was held personally liable for losses incurred by their code? Just one?

Libility is usually limited to willful wrongdoing and negligence, and when it involves work done by an employee, it's the employer not the employee that's held liable.
Domain Name Loans
Simple tool to monitor server/ports
Hi,

I've developed a tool to monitor sever/ports. The main differences with existing tools are:

1. Doesn't require software installation in the server or client.
2. Only offers basic monitoring options.
3. It's simple to use.

Please I expect your feedback, thanks.
Come on, don't post comments like this. Even if you don't agree with the content it doesn't mean you need to be an ass.
> You might not need to program per se, but you do need to know how to DEBUG and TEST your programs as well. This is something that most people are loathe to do. It requires a great deal of discipline

It requires first and foremost the realizations that bugs in code are frequent, normal and to be expected, no matter how smart and well-prepared you are.

And that's one thing you learn when you learn to code. The first programmers were quite shocked when they found out.
The idea does have merit. On the average case it should be able to work.

A few things may be an issue with implementation, one of which would be excel macros. As it stands excel undo cannot regress past the last use of a macro. I suspect a state list may encounter a similar roadblock.

As it stands excel can be very very slow on large sets of data.
On a sufficiently complex and clean model, I've seen load times and computer slow downs which begin to make Tokyo traffic seem mild, if it doesn't just hang.
Facebook is giving a $500 minimum reward. https://www.facebook.com/whitehat/bounty/
then stop using those
Rembrandt IP, Files Suit Against Facebook & AddThis for Patent Infringement
Question 1 asks about syntax. The behavior of the code is irrelevant.
Nonsense test.
There were several things that broke with the London Whale. And spreadsheets are not to blame for things like LIBOR fixing, or late trading on mutual funds or any of the other fraudulent practices of big banking.

But still, spreadsheets are full of normal human errors, and based on flawed assumptions, with little oversight, and they control huge amounts of money in novel instruments.

From EuSpRIG:

> "This market grew very quickly due to the ease with which it was possible to design and promulgate opaque financial instruments based on large spreadsheets with critical flaws in their key assumptions." Grenville J. Croll, 2009 [http://arxiv.org/abs/0908.4420]*

> "Complex financial instruments such as CDO’s are implemented within, and valued by, large and complex spreadsheets. CDO’s and other credit derivatives played a leading role in collapse of the global financial system”. Grenville Croll [http://arxiv.org/abs/0908.4420]*

> “Spreadsheets have been shown to be fallible, yet they underpin the operation of the financial system. If the uncontrolled use of spreadsheets continues to occur in highly leveraged markets and companies, it is only a matter of time before another ‘Black Swan’ event occurs [Taleb, 2001], causing catastrophic loss. It is completely within the realms of possibility that a single, large, complex but erroneous spreadsheet could directly cause the accidental loss of a corporation or institution, significantly damaging the City of London’s reputation”. Grenville J. Croll, 2009 [http://arxiv.org/abs/0709.4063]*

etc etc.
Clearly I didn't mean Rep. Amash just sits around and votes "no" on everything. But his only "yes" votes are on symbolic bills like repealing Obamacare. If it involves spending money without offsets, he votes no, with no exceptions. Seeing as the bulk of Congressional governing involves how to tax Americans and then spend those taxes, his voting record involves a lot of saying "no."

I appreciate his reasoning for a lot of his votes, and in isolation, his arguments sound very valid to me. But you can take a principled principled stand and make the best compromise you can to move things towards your principles, or you can just try and prevent anything from happening that doesn't align 100% with your principles to begin with. If you're just going to vote against everything except the occasional symbolic vote to on bills that ensure ovums have the right to carry assault weapons, then this doesn't strike me as actually governing.
If you've got a dev account you've been able to build MAME via Xcode for ages http://code.google.com/p/imame4all/
Or you see it as a finishing off the implementation of the hypermedia model's original idea of transclusion.
Graduates from universities. They apply in droves. (guilty as charged). I suspect this applies to US and UK, although I'm based in the UK myself.
Interview With Lars Lofgren Marketing Aanalyst at KISSmetrics
Great and insightful interview on the area of Saas makreting
Ask HN: How do you keep up?
It looks like new technologies, especially around web, have been popping up faster than ever. I'm overwhelmed by all the new names I've started hearing. How do you keep up with them and how do you decide which ones to learn?
A drill? This is so cheesy. Makes working at Facebook sound like Office Space. Only thing missing is TPS reports.
My wife was analyst in a company that was took over by international corporation. It was hell of two mismatched systems (SAP and internal oracle based system).

They "solved" it so: each morning one person imported the data from both systems into huge excel spreadsheet (file had almost 100 MB), then she send the file to person that know how to correct all the duplicated and missing data in a few columns (it wasn't turing-complete process, it was heuristic, cause systems used different subdivisions and codes for same things, some data required to be sure how to integrate them was missing, and some data was changing without reflection in the systems - like the ingredients used to make one unit of product could change every day, and NOBODY KEPT RECORD of when and how it changed, only some people in production knew how they make the product today).

Then that person send the file to the next person, that knew how to fill the next few details. And so on, close to 15:00 file was supposed to be ready to send to the management. Sometimes it took till 20:00 (hours after 16:00 wasn't paid). When somebody important was on leave, nobody knew how to fill the details.

That spreadsheets had almost no formulas in them, cause people "cut and pasted as values" all data after calculating it (my wife was told it's to "protect the data from accidential changes"). I think it was to prevent people from seeing the errors.

Everybody knew that the data is all wrong. Nobody knew how to even get the correct input for most fields, it was all fuzzy (for example - one person in production knew which labels are bought in 100s, 500s, 1000s, etc. He was sent the file to fill that details, nobody could check that, and there was always some contradictions in the last pages of the spreadsheet. Most of the work went into massaging it untill it seemed OK. The file also crashed half the time, even on computers with 4GB of ram and 64bit windows.

I wonder, how they managed to stay in business (they are still around, and have quite big marketshare).
Without a compiler, or google, haven't touched C++ in years:

1a) will give an error

2a) 2

2b) -10

2c) 4

2d) This is clever, haha. Answer: 5

2e) true (or 1)

5) "This is the answer." because of

if (y = z)

Bonus) jk
I'm curious to know which new names you have been hearing?
Perfect reminder of why I don't use C / C++ anymore. I had a teacher (highschool, IIRC) who made similar exams... He had the gall to call his course "computer science." I called it a waste of time, effort, and brainpower. I hate to think about how many computer-loving students he ruined.

OP, you did your students a disservice. You should've just assigned a "practicum" exam instead.
I wonder if any Apple story on the internet has ever managed to avoid the Android trollers. Seems you guys need to constantly validate your purchase with silly comments.
fizx asked for a PAC to encourage candidates to publicly comment on their votes, and you recommend a PAC that is focused on gun control?
Are you joking?

Citation?
If you set aside the fact that the deeper issue is probably that C++ in general is a bad intro language to begin with, then its not completely unreasonable to test on this syntactic stuff, especially as you go farther back when compilers/checkers were less friendly. For better or worse, one of the lessons of programming is the unforgiving nature of the computer to do exactly what you typed in, and not what you meant. I remember having a similar test or quiz to this when I was in high school (~12 years ago or so). Its not that big of a deal, the whole class is not just that, its just to kind of drill this into your head. We were using pretty terrible Borland compilers with rubbish error messages. At that particular point, being able to stare at code and determine what minor thing you mistyped was unfortunately a crucial skill. Again, this is arguably less important today (and arguably all written tests are bad for CS).

Later in college, I remember hating the assembly tests where you had to keep track of what numbers were in what address, and whether you were adding what was on the stack or in some register or the address or what was in the address and making a mistake in the very beginning could ruin the whole problem. Not fun, not sure how useful, but certainly gave you an appreciation of what was going on.
It's not an assumption, it's a fact. Our stats show that 84% of the pirated copies of our apps in the last 30 days users have been on 5.x.
I would probably have assumed that "question #5" and "Bonus Question #1" had typos and failed those questions.

if (y = z)

and

cout << 'j' << 'k';
where do i say his attempt at transparency is what makes him crazy? I actually think, distortion and all, it's a start. That said, you look through his voting history and talk w/ people on capitol hill, this guy is off his rocker...
CloudSigma Launches a Strategic Partnership with the ICCLab at ZHAW
One limitation of the spreadsheet approach to rapid application development is that, in typical use* your code and data tend to be tied together. This creates a testing problem where you tend to confirm results in just one scenerio. I prefer to think of spreadhseets as electronic squared paper.

*while you can structure things to pull data in from other sources, in my experience people evolve a spreadsheet around existing data.
I can't speak for the OP, but I imagine he wants some of the traits traditionally associated with an appliance (extremely low maintenance primarily) combined with some of those associated with general purpose computers (running software not provided by the manufacturer, customisability).

The reality is there is a tension between these two, and we are lucky enough to have two high quality platforms where the line is drawn in different places.

It is incorrect to assume you can have more of one without compromising the other though.
I'm absolutely in love with the calendar component. Whoah.

There's a large (but a bit messy) example here:
http://plnkr.co/edit/7FhBFN?p=preview

I love big examples like this for making choices about what the next big framework should be. It gives a real feel for how the framework behaves in real life. I must say, even with the custom tags and ng-parameters, this still looks very very readable and organized.
Next Gen iPhone photographed in Foxconn factory
http://todomvc.com can give you an answer to this question. It implements the same Todo app in a variety of different frameworks and has a jQuery implementation to compare against. The differences become very obvious in this case.
Some of those rises look impossible to build from an engineering point of view.

Some of the footage doesn't follow the usual rules of physics. The spherothon around 1:20 looks physically impossible - the people near the top of the sphere would not be held out at right angles to the surface of the sphere.

I mean, 14 hour-long, mile-high rides are funny. But can I imagine them actually being built? Well, no.
XKCD "Workflow" on backwards compatibility
Signing Outgoing Messages for SOAP virtual service
Google docs spreadsheets _almost_ have that - it keeps a history but its hard to do a diff with previous versions
Very interested in this also. I'd be willing to help organize too (via Facebook or other websites).
If you're using the default db seed, then you should log in as eviltrout with the password "password"...

Otherwise, I think you need to create a new user and edit the user manually in the DB.
These are great tests... for a compiler.
I would have told myself not to study so much and to meet more girls.
> That the source is open should be considered a feature analogous to DRM-free music: It allows you to do more with the product!
The phrase "if you have to ask the price, you can't afford it" comes to mind....

If you don't know where to aquire (buy) 0-days, then you probably shouldn't know.
I believe hsmyers was jokingly trying to say that it would suck if everybody ("riff-raff") started using that template going forward, rendering it "normal", hence not special anymore.
the tea party was started by a bunch of people who were just mad, disconnected and a little dumb... the govt, even tho a lot of them depend on it for the programs they rail against, seemed like a good target. out of control spending is a well tested phrase and 'tea party' has some good symbolism attached. you look at the cross tabs dissecting demographics and against their opinions and you really start to question what exactly they're thinking. would love to see multiple political parties emerge, and i know these people mean well, but their 'movement' is a hypocritical mess.
Can I ask what the point of this comment is? Obviously one can use a compiler to find the solutions. OP was most likely asking because he didn't want to do that.
(a = b) inside an if (inside a test) is never a typo!!

That get me to think "this is the evillest thing I can imagine" =)
They could have planned out a drill and then waited for the first vulnerability they could exploit.

Edit: mkjones says they bought the 0-day: https://news.ycombinator.com/item?id=5199757
Can you give specific examples of what is broken and how you would fix it?
Guy says he made an audio engine, graphics engine, game engine, and so on.

In order for these to be useful for a serious, high-quality product, there must be no perceptible pauses induced by garbage collection.

An audio engine in particular seems to need to run extremely quickly--on Mac OS X, at any rate. Perform this experiment: Pick your favorite music player, such as iTunes, play your favorite song, and run this:

$ for ((;;)); do killall -STOP iTunes; sleep .008; killall -CONT iTunes; sleep .050; done

This simulates 8-millisecond GC pauses. On my fairly fast, modern laptop, this is too much--I hear a bunch of stuttering in the audio. (It's kind of surreal.) I have to cut the pauses down to 5 milliseconds to completely avoid stuttering. This goes for every program that produces audio output that I've tested. It is possible that audio output under other operating systems is handled differently, and that you could install a buffer of sound output for the next 50 or 100 milliseconds or whatever [it may even be possible to do that on OS X--I don't know], but I'm not betting on it. ... Besides audio, usually games want to maintain a certain refresh rate, such as 30 or 60 frames per second. 30 fps is 33 milliseconds per frame. If a pause lasts any longer (in fact, if the pause lasts [33 msec - <time to compute and draw the next frame>]), the drawing will stutter. Maybe you might think, "Eh, who cares? It's just a little stutter from time to time." If I've read this guy right, this is exactly the sort of thing he would not tolerate.

In order for such an audio library to be writable in Common Lisp, Common Lisp compilers/runtime systems will have to get their act together and ensure that the maximum GC pause time is less than 5 milliseconds on my machine, no matter how many objects are allocated by the program using the library.

In the absence of Common Lisp compilers/runtimes that can do this, there are two choices: write it in a different language, such as C or C++ with manual memory management; or write your own Common Lisp runtime + compiler that can.

I have gone down the latter rabbit hole. You may hear if I come out at some point.
"A giant hack" is your name for evolved technology, as opposed to designed technology.

Of course, there's nothing truly "evolved" in software and nothing designed that didn't evolve, it's just two ends of an axis measuring a weird think like "control and unitary vision". An extreme of "evolved" technology are things like the browsers and PHP - the templating language that was never intended to be a programming language and somehow mutated into one (and I assign most of its success to being attuned to the "evolvability spirit" of our web). Most "well designed" or "well engineered" software that could have powered the web either failed miserably or never reached the point of being usable or just wasn't there at the right time.

I think there's a third path somewhere in this chaos, a path of software "designed/engineered to evolve", as opposed to "evolved" and "designed" software, a "nirvana" we should look for in this darkness. But in the meantime we can either embrace the "twisted creatures of webvolution"... or choose a different line of work :)
Indeed. This headline is entirely misleading. TM2 is being developed under the GPLv3, that means it is not only Open Source, but it is fully Free Software.

The author (or indeed anyone else) may choose to sell binaries, but they cannot include any of the code supplied by other developers under the GPL, unless they also distribute the source.

As the original copyright holders they are entitled to do whatever they like with their code, including releasing derived versions that are not licensed under the GPL v3.

You could make an argument that whatever the final TextMate2 product is, it won't truly be Free Software because there will be differences (however slight) from the code that is available under GPL v3, but as with the Internet, Free Software routes around damage - they can't ever take away the code we have, if they decide to do things we don't like, we can just carry on without them :)
That is the Thinking Man's way. This is the Commoner's way: http://www.liveleak.com/view?i=549_1360247939

Security theater is all over the place.
House Music Might Make You Code Faster
Open source != Free (as in beer) Software.
When will people shove that in their head ??
Exactly my thoughts! Very well written guides (tutorials?). Thanks a lot again for the link.
What, he was too lazy to copypaste those into codepad and click a button? Okay, I guess.
The Browser — A Lament

*Binstock:* Still, you can't argue with the Web's success.

*Kay:* I think you can.

*Binstock:* Well, look at Wikipedia — it's a tremendous collaboration.

*Kay:* It is, but go to the article on Logo, can you write and execute Logo programs?
Are there examples? No. The Wikipedia people didn't even imagine that, in spite of the
fact that they're on a computer. That's why I never use PowerPoint. PowerPoint is just
simulated acetate overhead slides, and to me, that is a kind of a moral crime. That's
why I always do, not just dynamic stuff when I give a talk, but I do stuff that I'm
interacting with on-the-fly. Because that is what the computer is for. People who
don't do that either don't understand that or don't respect it.

The marketing people are not there to teach people, so probably one of the most
disastrous interactions with computing was the fact that you could make money selling
simulations of old, familiar media, and these apps just swamped most of the ideas of
Doug Engelbart, for example. The Web browser, for many, many years, and still, even
though it's running on a computer that can do X, Y, and Z, it's now up to about X and
1/2 of Y.

ref: http://www.drdobbs.com/article/print?articleId=240003442&...
...what would be so wrong with something like Word installing even a few updated a day, if it would do it "stealthly" and without disrupting my workflow? It can be done. People writing autoupgradeable software should learn a thing or two from good spyware writers...
I don't see any reason why you can't have the agility of Excel with a few of the nice tools that modern IDEs have to make it easier to debug or secure a spreadsheet "app". Excel actually has a lot of features for preventing issues such as formula debugging, input validation and named ranges that make formulas more readable, but the UI is terrible and it's not very discoverable. The problem with Excel seems to be primarily that the MS desktop monopoly made it very hard for people to market better UIs for the "quick financial model" use case. The only way around that was either in B2B sales (where the economics forced you into building big ERP systems where management locked down the processes) or over the web, where we've had to wait for browser technology to reach a sufficient level of power before such a system could be built. I think since IE9, we're now at that point. It wouldn't surprise me if we now start to see a multitude of apps chip away at Excel's dominance in each of its use cases (like trello is doing for the 'lists of stuff' use case).
OK, I take it back. He paid out, not that he would have ever read my original comment (or even this one), but I owe Kim an apology.
This comic makes a very good point about backwards compatibility:

You have to be always clear about how far you're willing to take it.

As far as I know, there aren't yet any standards on this. It is quite simple for libraries, at least if they have an API spec: expect the documented behaviour to stay, and the undocumented behaviour to change. However, for GUI programs it's much harder, unless the manual covers description of the complete visible behaviour. Such manuals might have been existing for software in the past, and may exist for very common and widely used software in the present (such as Emacs or PostgreSQL).

But most modern GUI software lacks this kind of documentation. Oh, and lots of libraries lack a good documentation, too. So what to do about this? You can't really change such software in a backward compatible way, because there is no measure on how much of the current behaviour you have to conserve.
I've often wondered if Samsung was offended that Apple passed off the "A4" chip that they designed and built as their own work. I mean Samsung knew that Apple was asking them to put an Apple logo on this, and other, Samsung chips, so I assume they knew what was going on. Still, there must have been someone going "thermonuclear" inside Samsung, to see his credit stolen so brazenly.
1c is cruel. One can hardly expect freshmen to understand the difference between a syntax error and a semantic error. Depending on the context, the line may be perfectly valid, or it may not.
http://xkcd.com/138/
The fact is that they called the trade 'financial engineering' but as a matter of fact, it is a lot of finance but very very little engineering....
can you please expand on this? not following
With your amount of passion you can still work on your ideas after marriage and kids.
London Mobile Security Conference from WWJC and 44Con Creators
1a) not so sure, because it could be x+(+3)

But yeah, gcc throws an error

If you put the parenthesis it works
I guess my main issue is with OP's attitude regardless of the test's content. His sense of "lol, I sure showed the freshmen that I can put together a test that they would fail" is just plain dumb.
The publicity wouldn't be as effective. However, I can't see them doing this.