skysight-inc/HackerNews huggingface dataset:
Your requests, when they're valid, are embarrassingly simple one-liners.

you've omitted code to control the output content-type and the associated response headers (xhtml vs html)

Add this single line to your WITH-HTML macro.

(setf (html-mode) :xml) ; for XML or :sgml for HTML.

http://weitz.de/cl-who/#html-mode

you've removed text, formatting from the form page

Add one line for a CSS file inclusion and style it to your heart's content. In real web apps I use html-template to template the code, and do not sloppily generate html like I did with the example; but I had to do what the clojure code did, in the same manner.

you've discarded the results page altogether

I am printing the results on the same page. Yeah, that's a better usability.

you aren't properly distinguishing between GET and POST

Says who? the DEFINE-EASY-HANDLER takes arguments, which correspond to the submitted form elements, via GET or POST. In fact, that macro also does some type conversion for you as well; since you declared your parameters to be integers they will be converted to integers when you get them, and not remain strings. This stuff is built into the web server.

http://weitz.de/hunchentoot/#define-easy-handler

If you're gonna implement a full REST then you have no business generating your display html from within your container.

What else do you think I omitted?
my experience (and my experience in this is a few years old, so take that for what it is) has been that commercial SAN/NAS products have a significant reliability or performance edge over their open-source competitors. Note, I said reliability /or/ performance; the key bit you get from netapp or emc that I can't do with a linux box is cache coherency across multiple heads.

If you fire the money cannon at NetApp, they'll give you two heads, each with write-back cache in it. when you make a write, it will write to each head before returning, so either head can crash or lose power at any time without interrupting anything, and you get the speed of write-back cache, which is pretty great.

Now, the problem is that NetApp and friends charge a /ridiculous/ premium for this. I'm not saying it's a good deal. I'm just saying that /right now/ as far as I can tell, there are things you get from paying netapp and the like that you can't get from freenas.

Personally, I'm cheap, so I use local storage, and end up paying a whole lot less for disk. But if I was successful at selling a product that was not tied to my costs? then maybe my decision would be different.
Hi timmfin,
you are right. We don’t have a working link example yet. This is because of the concept we’d like to follow editing content. We don’t want to handle link’s as special elements. A link is A tag but the rest is like any other tag in a HTML document with the need to edit the SRC attribute. It also makes sense to enable Users to edit other elements like ABBR, CITE, etc. and a lot more specially when it comes to semantic annotation of content. Therefore we want to put a special attention to the editing of attributes like the SRC attribute of the A tag. I hope we can come up with that soon.

The same thing when it comes to insert any image or even other resources like automatic list from databases, slideshows, flash videos and the more. We are experimenting with a “block” concept which enables the user to insert non editable blocks like the above and handle their content. Still you will need to write an plugin to the resource source of your choice.

Thank you.
Thank you. We had the feedback several times. Deleting all rows or cols deletes a table. I admit - not the best solution. Will try to improve that.
> (I have a nearly impossible time ever considering something 100% "done".)

I'd say you have a hard time being a programmer then. At the end of the day your code needs to get into production, and this should be after the point your job is "100% done" so the people having to do work after yours (qa, release etc.) can do their job.
Bug fixing etc. aside it all depends on finding a satisfactory "definition of done". We call it exactly like this and it is an important part of our project management early on in every project.
That's just absurd. Are we really that dense to compare interconnected x86s to shared memory parallel mainframes? Not even Myrinet or SCI (and the various other contenders of the throne) could be half as effective as point-to-point processor interconnects, and that's an overstatement.

To make such a comparison without understanding the workloads these mainframes are "crunching" is not very wise.

edit: Wow. Must've hit a nerve, I guess. Downmod me to oblivion, sir!
Awesome swedish built 8-bit synthesizer inside an old electronic organ
To counter what some folks are saying here. JavaScript is a fine introductory programming language. I highly suggest getting the latest version of Node.js which comes with a REPL. Other than that, Python comes with an interactive shell that's available on all platforms. It's definitely a good learner language.
HOAs are even more local and yet they can have some of the most restrictive regulations around. I don't think your thesis holds.
Stress testing is vital to account for the harsh conditions in which most deployments, both hardware and software, operate.
How to hack your motivation function and stay motivated
grumble grumble I would never have expected legions of twentysomethings who want to work for noncommercial causes using expensive degrees which impart no skills more advanced than a GED to have so much difficulty finding great jobs right after college.
I think javascript is a good language to start with b/c she can make fun web pages.

Check out the Sammy framework:

http://github.com/quirkey/sammy
I think you should introduce her to Raphaeljs (http://www.raphaeljs.com) and let her explore javascript by making things that she can see and interact with and show off to her friends.

Bonus: A perfect IDE for her would probably be jsFiddle (http://jsfiddle.net/). Including a library is as easy as selecting it from a combo-box (yes, Raphael is one of them). When she wants, and/or is ready, she can try jQuery/Mootools and others in the same place too.

Good luck!

PS: Squeak isn't exactly horrible but I must that its it's looks is a big turn off, especially for people used to the generally slick interfaces of popular apps these days.
Those sound interesting. Can't wait til September :)
Check out Alice (http://www.alice.org) or Kodu (http://research.microsoft.com/en-us/projects/kodu/). They're both very visually-oriented languages; great to teach the basics of coding, without having to introduce someone to technical terms right off the bat.
I disagree with the doctrine of laches being applied to this case. It doesn't make any sense for Ceglia to risk time and money to sue for a company that has just recently become "cash flow positive" let alone break even.

Investors in Facebook should have the concept of "due diligence" applied to them. Trading in pre-IPO stock is not and should not be safeguarded like regular equities or FDIC insured bank deposits.

Ultimately this is Zuckerberg's fault, and any settlements from this case should be paid from his assets.

I think it all rests on whether or not the statute of limitations started ticking before July 2004. According to New York Civil Practice Law & Rules - § 213, which I believe is pertinent to the case, it mentions "two years from the time the plaintiff...could with reasonable diligence have discovered it".
Or so they say...(Nice Html5 canvas demo)
What the OP is doing is similar to a fatal flaw that messes up many companies. If everyone is your customer/market, then nobody is your customer/market.
You can't market to everyone, and you can't focus on everything at the same time. You must say 'yes' to some and 'no' to others, working a niche in order to have a successful business. Similarly, in programming and pretty much all of life, you must say 'no' to most things and be selective about the domains for which you say 'yes'. I have more degrees and certifications than any human being should ever have, but I know what I can do and stay away from what is just plain beyond me - kernel dev, embedded s/w, and the like. Those guys are rocket scientists to me, and I respect them for it. But I would be deluding myself and them if I tried to hang with them as one of their ilk. There are different clans. You have to figure out what yours is/are and say 'no' to the rest. And that 'no' should not be a completely exclusory 'no' but rather a moving of that topic to the fringe of your focus. Like a dart board, you pick what you're about and focus on that as the middle. The priority of everything else should be relative to that.
DIY: Cheap, ultra low-power radios that communicate over thousands of miles
Ask HN: What license can I provide for my own hacked gadgets?
Do we have anything similar to software open source licenses for open source hardware too? Can I use the same license of creative commons? Please help and clarify me..
For years—all my life, really—parents, teachers, and guidance counselors had told me that if I went to a good college and did well, I would be able to find a job after graduation that would, with a little ladder-climbing, keep me comfortable and financially secure.

The amount of Schadenfreude I'm experiencing right now is awesome.
Eh, yeah. The end of semester exams were always on paper. Policy or something. Can't say I much enjoyed drawing UML or writing Java and C++ on paper. The worst was the digital image processing, where we did get to do it in the computer labs (basically, transforming images in matlab, usually fft -> masking, multiplication or some other simple operations -> ifft), but had to sketch the results on paper...

This was only couple of years ago! Ugh.
The ideal of the far right, however, is that if you're born poor, you're screwed. You have no right or reason to expect any help at all.

Neither extreme sounds terribly pleasant.
Well there are ways in which a bigger collection of small shops can be stronger than the sum of its parts.

* It's a hit driven business, and this distributes risk.

* Especially in social gaming, it seems important to have a userbase to market to. Playdom can do this across its properties in a very arbitrary and low friction way.

* Playdom can do promotions with big brands across multiple properties at once. Larger brands might not give the time of day to individual game studios.

Obviously there are disadvantages, too. The drive to make a great game just isn't the same when you're part of a larger company. This might not be an issue if you're developing the kind of games you would want to play. But if you're designing a game for children or one that cynically targets user psychology, you may really lose your drive.
I'm really curious if this fellow approached Zuckerburg and tried to settle this via less public avenues.
Such is the internet. In its raw uncensored format it can be informative, funny, sad, gross, disgusting, erotic and probably dozens more emotions I cant think of right at the moment. Sure Coke screwed up, and the ad company are obviously idiots to even think of associating with with a food brand, but seriously when are parents going to realise that if a child has access to the internet, at some stage they are going to be exposed to something of an unpleasant nature.
2 girls 1 cup, while pretty disgusting, is only on the inner edge of gross when it comes to the net, so the parents need to be aware that they are probably lucky that the weird and misguided intentions of the ad agency didn't dig deeper into the hideous, sickening bowels of what can be found on the internet.
I don't really get the "couldn't find a job" part. I moved to a new city 4 months ago on a whim, and I had several companies bidding on me. I'm good, but I doubt I'm that good.
This is off tangent, but I fell in love with computing through Lego Mindstorms. It is the most amazing gift you can give to a child. Just imagine how it feels to be 12 and to put these blocks together and then you see them move! After that you can teach it to do stuff! I can make whatever I want!

It's an understatement that Lego Mindstorms changed my life. The best thing about it is that it teaches things in ways that I could easily grasp be it concepts of computing like decision trees or torque. Before I even knew what those words were I knew, somehow, what they meant. Torque meant that if I tried to make a prosthetic hand then I couldn't place a motor at the end of the forearm as it would kill the motor lifting it no matter how much I would gear it up. Why? Because it was like a door which I could push and it got easier to push the farther away I was from the hinge. Hence, it is easier for the weight to push the arm down at that end!

Moreover, you can teach her programming through languages for the NXT. There are derivatives of C/C++, ASM, Python, Java, Ruby, MATLAB, Ada and other projects lying around on the internet (see: http://en.wikipedia.org/wiki/Lego_Mindstorms_NXT#Programming).

I've tried to repeat this with all types of kids in my neighborhood and it works. Even for the most impatient kids it is a hook that gets them interested in how the world works. It's just magic.

[edit: I made some horrible dyslexic errors. Sorry about that. If there are any more left then please forgive me.]
"Should someone really be allowed to get children if they cannot afford them?"

Probably not, but there's the rub. How do we prevent this? Perhaps if we refuse to bail them out... but are you willing to watch a child starve to death? Will you be the one to pull the plug?
Do your queries SELECT, only to use subset of columns? Or do you extract many rows, only to use a subset?

All the database optimization in the world won't help you if your developers only know how to do

SELECT * FROM MYTABLE;
I really sympathize with your points, but I feel like line-based text entry based programming is not something today's kids can relate to at all. For them web programming is much more relatable and accessible. Their "hello world" is in HTML, and their first programs should be in JavaScript. You don't want the kid to face the horrors of the browser DOM APIs directly, so using jQuery or the like makes a lot of sense. But overall this will hold the kid's interest a lot more than text line-input based programming, since she's probably never seen a text-based program before and can't relate to it at all.

That said, if the OP's neice is willing to "put up with" text-based programming, Python is a great environment.
Truth is often stranger than fiction, isn't it?
> If the point is to make the men work, then pay them a fair wage.

I agree they should be paid a fair wage. They should be given a bill for their housing and their debt to society and their victims which they can pay off with their wage. The vast majority of prisoners owe society (and their victims) more than they could ever hope to earn in a lifetime.

The whole idea of being a prisoner is to take away rights of someone who have done harm to others. This is done by taking away his freedom (i.e. by locking him up in a prison cell), taking away his right to vote (in many countries) and removing his right to freedom of association.

Locking a prisoner up is not the same as kidnapping (since you make false equivalences). Since a prisoner’s time is already wasted (by locking up in a cell), that time could just as well be used for something productive.

---

You know what is slavery though? Forcing the taxpayer to pay for the housing and maintenance of a criminal. The taxpayer doesn’t have any say in the matter and doesn’t have a choice. Each person in jail had a choice.
Name one college degree which fails to impart useful skills...
Use a Fictional Tony to Maintain Customer Relationships, and Get Money Faster
I guess he doesn't have student loans.
Man.. if only all this was true.
Anyone know the ratio of public/private repos?
Mit Scratch is amazing. The related google app creator for android should also be huge.
It's very clever.

That's why I always use the non-clever version for my code, except with foreach instead of for, just so that it reads like English.

Clever is fun, though. I do understand the temptation. I admit to having done crazy stuff like turning a JAPH into a vulnerability scanner (in retrospect, the "fork until there are 256 of you and scan an entire subnet at the same time" thing wasn't that great). But I usually find myself wanting to come back to the code and know what I was thinking.

Being too clever makes that difficult.
Echoing a lot of comments here, a following facility would be excellent. I haven't needed to follow specific people much, but I'd really like to be able to follow specific threads. Some threads interest me a lot and I'd like to keep track of the comments, but as the threads get longer it becomes a lot harder to tell which comments were recently added.
I don't know about your niece, but if I'd be 12 again I think Scheme would have been ideal because the syntax is actually very easy and the language is very explicit (that's important for someone without programming experience).
She, of course, does not need to learn about continuations, macros etc. only the basics.

Although python (2.6) looks easy it has its ambiguities (for newcomers to programming); list.sort() <-> sorted(), default arguments issues, scoping issues, if a statement doesn't fit a line you have to enclose it in parantheses... the list goes on. Lua and especially Javascript aren't better either.

I can only say, although I had some experience in functional programming, that scheme was really an eye opening experience when I learned it in university. Plus, it made things clearer about things I did with Javascript/Python in the past.

DrScheme is a great environment for learning Scheme and programming in general and there is tons of learning material about scheme. Maybe that http://world.cs.brown.edu/ is something for your niece (I haven't read it).

Going from Scheme to Lua/Python/Javascript is then a small step and you have a saner picture about what happens in those languages.

Also going from Scheme to Lua won't be such a cultural shock. Just like the list is the primary data structure in Scheme the table is the primary data structure in Lua. And with Lua under her belt she can try LÖVE.

BTW, I think pygame is too low level. One can argue it is better for learning the concepts but I don't know. When I was younger I wanted to have results fast. In that respect I think LÖVE is better. And although I would not recommend Java for your niece there is a nice game framework called Pulpcore which let's you quickly get something done.
Meta-question: at what point does link-baiting go from being a fun way to catch your attention, to being annoying and dishonest?
You really think all these people are going to add this to their taxes? As self-employment? And deal with the additional paper-work required?

Let me guess, you think people pay the required state tax at the end of the year for all the tax-free purchases they made on the internet as well?
As a developer in the industry, you will rarely be without a job

This is true for any competent software developer with half reasonable contacts or experience (at least here in Ireland - a week ago I had a conversation with a recruitment company and they confirmed that there are more jobs than good programmers here).
It's amusing that there are about 20 votes for the options, but only one person upvoted the actual post.
Computer Science, I'm a hack as a programmer. But a real Systems Analyst
2011 Anneler Günü ne zaman?
How can India build a $35 tablet? More details emerge
I have a degree in East Asian Studies. I speak Japanese fairly well, which makes me employable, but nine out of ten people with this degree have no useful proficiency in any Asian language (heritage speakers excepted).
what about this makes you happy?
Hi, I'm Vincent : the web designer who created this framework. I wasn't aware that the linkback could be such a problem and your feedback make me think to one solution :

• The idea of the backlink is to be granted for the work I've done : it make the framework more known and make my SEO better. It will help me to have better freelance missions.

• Due to your feedback and others (jeffrey Zeldman pointed the same problem for example), I'm now thinking to propose a special license that you can use the framework for multiple projects without making a backlink. If you don't want to make a backlink, you can pay for it, something betwwen 50 to 100$
I think that in this case, those will pay will have a more complete version with more stuff, more variations (using all the new features of CS5).
This extra money could help me spending more time on this framework.

What do you think ?
I think many people would identify as a hacker before a programmer.
Precious metal ETFs seem to track spot much better due to, as has been said, the cheap cost of storing gold/silver. Plus the stated goal of a precious metal ETF is to buy and hold precious metals as a hedge against inflation, their aim is to make each share worth exactly 1 ounce of whatever metal they are buying, so there is no contract turnover on futures. I know Peter Schiff, who some people say is a scam artist, prefers to buy physical gold, gold ETFs, and mining companies. Probably the only way to buy and hold and invest in oil is to buy oil company stocks.
I'm currently maintaining a large project, and I find these sorts of comments frustrating, because "jeo", "jrm" and "msl" resigned years ago, and their initials are meaningless, since nobody remembers who they are. The names of the users who requested changes should be in version control commit messages, or better yet, in the bug tracker. Using programmers to deal with change requests from Sales, Ops and "Rick Smith" also seems very inefficient - you need some sort of analyst role to control changes and reduce this sort of thrashing.
The first thing would be to refuse child grants so to prevent adults from getting children, in order to get welfare. Awarding people for getting children is wrong and stupid.

The second thing is to force mothers to reveal the father of their children. Many do not inform the state who the father is, therefore forcing the taxpayer to pay for raising the child instead of the father.

And probably the best option would be to implement policies similar to China’s one child policy. A good example would be forced sterilization after 3 children if the person receives any form government welfare (or already have kids and is imprisoned).

But in any case, well before this point, the state can spent money on voluntary sterilisation campaigns (i.e. paying the poor and drug addicts to be sterilised).
From what I can tell, her approach to education (and life, really) is diametrically opposed to mine. For her to think that having a high GPA within a political science major would translate into any real-world success is insane. I'm happy that the market is rewarding her decisions in a way that IMO is logical and consistent with my world view.
Why is multitasking considered an admirable talent? We could just as easily think of it as a neurotic inability to concentrate for more than three seconds.

This.
WPA2 vulnerability found
I doubt language skills were the only thing you learned. There are plenty of companies that could benefit from employing someone with such a background, to prevent the many faux pas that can be dealbreakers when doing business with Asians.
This is a very inspirational story!
Chair Lift for Stairs
Presently, you'll find so several brands of <a href="http://chairliftforstairs.co.cc">Chair Lift for Stairs</a> inside marketplace. This has created quite a few selections offered for an individual when going to by a chair lift. It can be also a source of top quality items since competition is higher. In easy chair lifts stores, you could possibly get confused on which chair you want go get. This need to not worry you due to the fact I have a very fantastic solution for you.