skysight-inc/HackerNews huggingface dataset:
I enjoy using Hiccup more than any template engine I've used previously. Before I met (Clojure and) Hiccup[1], I would have said the same regarding Coffeekup[2].

But what's really amazing is when you combine Hiccup with Enlive[3]. Enlive can give you a headache when you first start working with it, but then there's an almost magical "aha!" moment, and not long after that you'll never want to look back. By "combine" I mean using Hiccup and metadata from your db (or whatever) to generate empty, logic-less views and then using Enlive to bind in your data.

Combine those steps with your own macros and HOFs, look for some choice places to memoize function calls, and now you're cooking with gas.

[1] https://github.com/weavejester/hiccup

[2] https://github.com/mauricemach/coffeekup

[3] https://github.com/cgrand/enlive
Yeah, paginating articles and paginating archives are two totally different things. Paginating articles (as the article linked describes) is not a good user experience. But not paginating archives, otherwise known as endless scrolling, in my opinion, is not good.
Ask HN: How much coffee do you drink?
Do you drink it explicitly to help you work harder? Is it an essential part of your life and work? Do you ever wish you drank less? And do you or would you consider using any other stimulants to boost your productivity?
It's not just Korea, there're similar cases in prices Chinese walnuts recently or 17-century Dutch tulips. Invstors are also people that have some behaivoral biases :) sometimes guys just get bored with their usual investment tools
Sign a non disclosure agreement with him.Or work with a company instead of working with freelancer.Usually companies won't do those sort of things as they value the customer. you need any help write to me pubudu{at}bloggerschronicle{dot}com I've been getting apps done by companies and i can introduce you to them.
"Bing won 0 rounds"
Yeah, I can't stand infinite scroll pages. It becomes impossible to pass a link to someone to a specific section of entries. It generally breaks the back button -- when I click a link and then go back to an infinite scroll page, it has dropped all the dynamic content and has to reload it, and then I have to scroll back to where I was (which may have involved several minutes of scrolling and loading content).

Perhaps it's irrational, but it also frustrates me that such pages have no bottom. I think people got used to a model of a page where it has a top and a bottom, and now it's a bit weird to interact with. One of my favorite examples is Facebook's implementation, which leaves several useful navigation links in the page footer. These links taunt you as you tried to scroll to reach them, only to have more news content appear in your view and push the footer off screen again. (I think they've since duplicated those footer links in other locations so you can reach them, but it doesn't change the fact that this broken UI model presents options and then sucks them away before you can click on them.)
Örnsköldsvik podría pagar el blindaje para los afectados por Electrosensibilidad
Endless scrolling can work if you use it in conjunction with replaceState to make sure that the URL reflects that the user is looking at. Outside of that, though, definitely annoying.
When I saw that this thing fits over my existing deadbolt two things came to mind and in this order:

1. Wow, that device must have a lot of torque as many deadbolts, mine for example, actually requires some effort to turn, either to lock or unlock. This resistance is caused mainly by the springiness of the weather stripping which pushes back against the door when it is closed.

2. Sometimes, when sunlight falls upon—and heats—the door I need to push or pull slightly on the door in order to turn the deadbolt at all. The door is not dimensionally stable and deadbolt alignment changes. This makes me think that the system would not be reliable. I know my door and deadbolt are not unique in this regard.
1. Site adoption rates, especially in the enterprise space. You're absolutely right, the developer community isn't growing, and I think the blame for that lies squarely with the core codebase's deathmarch towards becoming Sharepoint. There was a point in time (circa D5, early D6) when coding with Drupal was still kinda fun. Core architecture didn't get in the way as much.

2. There are user groups, I've organized two of them. They are frequently full of people who have basic problems and a few exasperated and grizzly veterans who offer arcane solutions to non-arcane problems. Best outcomes typically occur when one or more local dev shops get involved with the group and use community support as a way to build their brand. Anecdotally this describes most tech user groups.

3. Yes, this is a feature. It's objectively better because you are not writing code.
In addition to the obvious benefits (no fucking code) this puts the task at hand (at least theoretically) within the reach of non-technical or semi-technical individuals.

4. I dislike Drupal's internals for diverse and varied reasons I will not go into here. I dislike Wordpress's internals for many of the same reasons, and Wordpress is substantially more limited in it's capabilities than Drupal. Same general set of problems, many fewer features.

Also, I agree Drupal's documentation sucks hard. Unfortunately there's nothing to be done about it. It would take close to 10,000 man-hours to write shitty, blatantly misinformed documentation for the current body of contributed modules, assuming you budgeted 30 minutes to examine the module and 30 minutes to write about it.
2 to 5 cups a day, I'd say. I drink it because I like it, more than to help me focus - the addiction and tolerance more or less balance out explicit benefits I think. I'd like to cut it down just a little, I think.
uhh, baffled? "founder loses control, leaves, or is pushed"
Well, these items are placed in various locations - not on my person, so its not a projection/telegraphing situation like that.

I have kids - so I need to have things protected in multiple ways.

Not like the days of being single and you can just have [dangerous item] in the bedside table.
good selling points, but those things never made it a good language, it was just convenient.
Most websites that are adding social login buttons also keep their own registration/authentication setup. I think by adding social login buttons you also increase attack surface on your website, no matter how good third party security is.
Well, least PSY's dad can say he sold a chip of the old block.

Either way at least some good has come out of a pop song.
After a spectacular crash, Bitcoin makes a surprising comeback
I had the same result. The last page would never load for me. I know picked mostly Google results (because I recognized some links). But I tried again and purposely picked the Bing results and the last page still did not load. (I'm using Firefox 18.)
Maybe it's actually a secret brilliant plan implemented by super geniuses- the first few people to start buying up the walnuts/tulips/DI make a killing!

How else would you explain the existence and popularity of this crazy video? Maybe it was all engineered by DI or some hedge fund. We're playing right into their hands.
I am not an expert in SVMs, but I consider myself fairly experienced in machine learning. In my professional experience the answer to your question is 'not quite'. SVMs have solved some problems very well, but I've had issues with them:

1. They are only for classification, not every problem is classification. The other big category is regression, for example predicting the sale price of a home rather than predicting a binary "will it sell"

2. They don't have a natural probabilistic interpretation for classification. Neural networks for classification (with a logistic activation function) are trained to predict a probability, not make a simple binary decision. In practice this probability is usually very useful, although I believe SVMs have been modified to give some kind of probability.

3. I have had a tough time getting them to run quickly. Linear kernel SVMs are fast, but aren't powerful. More complex kernels are more powerful but can be very slow on moderately large datasets.
No, it's not QML. It's similar in the concept, but that's all :) Look at our examples, you'll see how is it.
This thread is hilarious - awesome work.
Cookie Cadger: Taking Cookie Hijacking to a New Level [Derbycon 2012]
As AMD struggles, Intel CPU prices stagnate
We've crunched the numbers on three years of CPU pricing data to reveal an alarming trend. While AMD chips tend to get cheaper in the months following their release, Intel has been able to hold firm on pricing, particularly for chips that cost $200 and up. This trend is a byproduct of the unhealthy competitive landscape in the x86 processor market.
also offtopic: 'voracious vocabulary' probably doesn't mean what you think ;-) (you're probably thinking 'voracious reader')

I like to use HL Mencken as inspiration.
I hope someone works out who is obliged to provide GPL Linux source code (CW network? Entertainment Weekly?), so they can run their own OS on their throwaway adphone.

Has to be something they can be made into that's more useful than scrap.
Agreed. As a user, cc often deters me from signing up bc 1) I hate filling out forms, and 2) I know there's >30% chance I'm going to be too lazy/busy to cancel eom. From the company's perspective, maybe 2) is an argument in favor of cc signup so they can tax my carelessness.
Any ideas how to make money out of it? I thought of a similar idea after developing an addiction to reading every article on HN in fear I'm missing something that will change the way I do things (sadly, every other day, I find something that justifies it, this one could be an example if it works out)

But my thought was that I will gladly pay someone 10$ a month, to scan through HN instead of me, and send me summaries of things that I'm interested in (e.g. web frameworks, JavaScript, Scala, CSS3/HTML5 etc)

Here is a feature that Wikipedia can't have for ethical reasons, and you might be able to get away with:

- user clicks on bookmarklet (hopefully a chrome / ff extension soon)

- no tl;dr

- user has a button saying "ask someone to summarize it"

- now you either hire some good shorthand writer, or crowd source it and cut a percentage of the transaction

another way is to say - the first 3 hours of an article's peek (e.g. you do it actively for each front page article in HN for a start) you charge 1$ to see the tl;dr version of it , after 3 hours, it's free for all.

I think a lot of people here would love not having to read everything just to find the point or understand if this is really relevant

I think you have a huge market here, saving time is a very important service nowadays, especially when there is so much good content wrapped with a lot of needless, but mandatory decorative language.
PHP was never good, but it abstracted away some basic web specifics -- as opposed to CGI/Perl that required you to care about protocol details such as starting output with two newlines -- and hit a sweet spot infrastructurewise -- dead easy to get started with, dead easy to get hosted for next to nothing -- that gave it enough traction to grow very quickly.
I use #define to do things that plain C just can't do, and I wind up wanting to do these things pretty often. Two of the most important strengths of macro functions, for me, are VA_ARGS and the related ability to write a macro that counts the number of arguments which it has been passed. Oh, and using container_of() to write generic data structures.

Given that Kernigham and Ritchie were using C to write an OS, it's not surprising that they'd be wary of dynamic allocations.
Charlie is online still - he gets on IM all the time. No need to torment him with speculation - let him move on.
Yep. We all did. Hence the "[sic]" used by some commenters in here when quoting the author -> "Competant [sic] developers, even those..."

On the other hand. What would be the difference between a script-kiddie and an "actual hacker"? The years of experience? Or the purpose for what the code will be used for?
"A touch, a touch I do confess." (Hamlet) LOL. Yes, "mapping" is a better term than "operation" for reasons you put forward. :-)
Like 99% of news reported computere glitch's it is some human mess up that caused it, either by design or error or a homer moment were somebody pressed the wrong button. Could even be somebody overloading the electrical phases in the datacentre and tripped the UPS into action for it to barth at the imbalance (seen that one).

This is why they say computer glitch and count on the majority of non technical people to not question it.
this is example of Halo effect when our judgments of a person’s character can be influenced by our overall impression of him or her.
Investors think that father's company will work well because of son's popularity
I'm not taking any side, by my own personal habit for a follow on twitter is to look at who followed me's stream before following back. I'd hope others would do the same rather than automatically following back.
The “Lost” Steve Jobs Speech from 1983: Foreshadowing Wireless Networking & iPad
For me, modern C means modern C features more than modern C style. I use the following "new" features all the time: compound literals, designated initializers, variadic macros, and anonymous arrays.

Dr. Dobbs did a nice series on C99 features, so I'd recommend that as a supplement to K&R.

http://www.drdobbs.com/the-new-c-compound-literals/184401404
3 cups a day. I enjoy coffee. It is not essential.
Only if you're nimble enough to dodge all the cars trying to run you down.
So services in the education market (like Blackboard and others)seem to depend heavily on WebDAV for integration school systems. That's one fo the reasons why we chose WebDAV.
Would someone have the power to oust Charlie unwillingly? I dont know much about how the company was split up so am wondering.

The drama of these tech companies bores me except insofar as it relates to my personal account. Don't founders leave companies all the time, especially when theyve already made a lot of money? Also I feel like at some point all these decisions are mutual.
If you're learning Python and are using locals() and globals() as anything more than a debugging tool... I'd venture to say you are doing something wrong ;)

In seriousness, any programmer will need to know that functions don't just magically appear... if they don't work, they'll need to know how to pull in some sort of library, or realize why those functions just don't make sense for the current environment (one could explain to a complete novice why it would be a security breach to allow I/O functions, for instance). Python is a language, not a standard library, just as C is C even if you don't #include <stdlib.h>.
http://ec2-107-21-160-68.compute-1.amazonaws.com/crs-ltp/tut...
I think the tool of the course in coursera.org is the same.
Forget about the sidebar. I thought it was a good idea , but it isn't.

Regarding the community, It wasn't in the line of "building a community as a key to success" but rather give profiles some more strength, use something karma-like to reward users who work, the ability to score TL;DRs and allow multiple per page, etc.
Poor guy couldn't even get through the first sentence before he felt the urge to try to impress us all with his keen observation.
They could even use it to eavesdrop on customers...
According to a post on the citylink twitter account, "the Burnley & Domain tunnels will begin the re-opening process @ 4pm"

https://twitter.com/774melbourne/status/253371401212403712
Interesting. So we have a clear-cut case of having to choose between (a) more security; or (b) a simpler sign-up process which means more revenue.

It seems to me that choice (a) will not always be the right one - it depends on how much security would improve and how much revenue will be lost. If you find the previous HN article on this topic that you mentioned I'd be curious to read it.
Comparison of image scaling tools
I've worked with State Transit in NSW (buses & ferries) and they were awful. The most embarrassing part was the UNIX team and Windows team refusing to talk to each other even though they were only one cubicle partition away from each other so any communication had to go up through two levels of management and back down.

The scariest part was every single database of user information was transformed from another database of user information; there was no source of truth, just a great big never ending circle of import & convert that had reached equilibrium and was now stable, provided nothing changed.
The amount of organic I get from Bing is pathetic. Their webmaster tools are subpar. Bing still has a long way to go.
I've checked about 10 stores (~60 copies) ... haven't found a special magazine yet ... I'm going to continue to check throughout the night at various drug stores and grocery stores. I'll respond back here with my findings. (Nothing on ebay yet ... just generic copies)
Tldr. Where's the version of this that jacks straight into my brain matrix-style?
Not all cameras are static in europe, this is were these type of systems fall down. Having a subscription to some service that lists were they are and warns you and is updated by you or somebody else who pays a subscription is ok if you like to speed about on dynamic routes. Though anybody who travels the sameish journey a few times will soon know were and when to be mindful of traffic camera's.

I often see policemen with handheld speed kit and mobile camera units, most councils in even have cars with a periscope camera ontop that drive around automaticly processing so many driving violations its just to stressful to drive. But welcome to the UK/Europe and do have a nice stay as we are watching you.
IKnode comes out of Beta at Demo Fall 2012
I'd say that it's bad to put #pragma once in your minimal set, since it's nonstandard. Why not use plain old include guards?

For me, container_of() is also indispensable. Although maybe it's on the level of 'errno' as being "not really a dirty macro".
1. True, but irrelevant.

2. It is very easy. SQL injection etc. isn't something you magically get rid of because you use a facebook login...

The reason so many get this wrong is because they don't even try. And if you don't even try you won't get any other aspect of security right and outsourcing your logins isn't going to solve any of that. If you have to outsource this to facebook, the moment you get big you will, guaranteed, have issues with DoS, rate-limiting, SQL injection etc. for everything but the login. Which honestly isn't much of an advantage (sure, leaking your password database is bad press - but if you have the slightest bit of salting it might even turn out to be somewhat good - after all, your little startup apparently had way better security than sony and 99% of everyone elses leaked databases). If salted passwords is the only thing valuable in your database you are in serious trouble anyway.

3. Since building your own login is so easy and hardly even a fraction of anything worth doing with your startup, outsourcing it completely is just ludicrous.

If you can't even salt your passwords right maybe this web-thing isn't your thing after all, or maybe you should outsource everything...

Point is that exclusively relying on facebook (or whatever) login is that it is downright fraudulent and also signals that you are lazy and don't care the slightest about your users. It is that easy, you can't get away from that.

Offer a facebook login alongside your own solution (if you think it's worth the hassle implementing facebook connect/whatever), even if 99% of the users choose facebook the fact that there is an alternative is guaranteed to make them feel better about using facebook in the first place. If you don't think that is worth it, your site most likely isn't worth even trying either...

As from the user point of view, if you really think it is worth it (probably isn't): Just create fake facebook account(s).
I work on a legacy code base with pretty much everything in SMARTY templates (including CSS and JS files!) and it's really aweful. It may not be SMARTY's fault, but most of what's going on could be just as easily done with PHP code than with SMARTY tags, include variable insertion (<?=$var?>) and control logic (if ($var) : // endif;).

Now we've actually moved everything to the client side using Ember and Handlebars templates. JS doesn't have any built-in templating like PHP (which is basically just a template engine), so Handlebars makes it really useful to write up HTML code blocks that get variable insertion and data-binding on the client side.
No. JSDoc is just hints. TypeScript offers a fuzzy type unification system.
My point is that you shouldn't bother spending any time rolling your own registration / authentication step.

Do you think that using 3rd party auth in lieu of your own auth decreases security?
3 cups a day before. Not really using to boost but i just like coffee. Now i am more on green/chinese tea than coffee.
I'm too embarrassed to say the amount...it's measured in pots.

I know I need to cut down but whenever I do the withdrawal effects (physical and habitual) distract me from working.
I do the same, run dovecot, for essentially the same reasons.

It's not Rube Goldberg, it's separation of concerns: dovecot/imap for message serving and storage, and $CLIENT for mail access and processing.

Every so often I get pissed off at my mail client, run up the black flag and start slitting mail client throats[1]. In fact this article started me off on my biannual "doesn't anything not suck" tour, this time looking at claws, alpine and mutt. Anymore though, I just don't give a meh for intricate configuration.

One thing would make me want to spend a day in feverish configuration: if mh ("ah, mh") would do imap. I loved mh back in the day, when there was virtually no interface, just a collection of command line programs. Unfortunately it's pop-only and plain text only, far as I can tell. I have this fantasy of finding the source and ...

[1] http://www.quotationspage.com/quote/34585.html
Motorola surprises by withdrawing entire ITC complaint against Apple
Maybe, there was similar cases few years ago - when shares prices go up when people started political campaigns or just made photo with President.
This is what VC-guys called 'create momentum' - every investor starts to believe that smth is extremely valuable!
Even now, after almost 10 years of programming, I still wish my debuggers had arrows pointing to data structures in a nice GUI. Sometimes, you don't want to interrupt your train of thought to recall the gdb or pdb command you need, or to remember "was 0xAE32F542 the first node in the list or the second node?" And consider the WebKit debugger for Javascript: just by looking at the Scope Variables tag, it's not obvious to catch a bug where you did `x = y` rather than `x = deepClone(y)`.

TL;DR I wish this was the same as a debugger, because then debuggers would be awesome.
I don't know enough to deeply critique the various web languages, but if PHP is the Model T, wouldn't it sound odd and backwards facing to talk about reviving and improving it?
Because there is no type. It's dynamic. You can't figure out what the type is unless you run the code.

def do_something(thing_a, thing_b):
...

What's the type of thing_a or thing_b?

There is none. There isn't even a type globally. thing_a and thing_b acquire new types at every call instance. This basically screws you for all useful auto-complete information.

You can't even do proper go-to-definition because of things like getattr.