skysight-inc/HackerNews huggingface dataset:
The main problem with this analysis is that the time on the /newest is not useful without knowing how many users saw it. Maybe staying up for 5 minutes on a Tuesday afternoon is better than an hour on Saturday night.
Facebook session Exploit Priv8
A better comparison would be required non-competes, puzzles aren't nearly as harmful as either.
I agree that DST is just madness but timezones are less insane in theory, they would make sense if they were determined by the longitude normalizing time so that sunrise and sunset happen at roughly similar times. Currently they're pretty screwy sure but the idea actually has some merit.

One thing to consider though is that switching everyone over to UTC you'd still have to consider local business hours. However, instead of just looking at their time zone and figuring 9-5 or standard hours you'd have to have a listing of each business's UTC hours. It might fracture more than timezones do currently.
Targeting the DPC provides absolutely no help -- how will you as a driver know what core to target to? It's typical design-by-MSDN: provide a feature that looks useful and people will quote, but actually provides no benefits. Drivers targeting their own DPCs are actually one of the leading causes of horrible DPC perf.

As for Threaded DPCs, not only does nobody use them in real life, but they MAY run at PASSIVE. The system still reserves the right to run them at DPC level.

Really the only way out of the mess is Passive Level Interrupts in Win8... Which likely nobody outside of ARM ecosystem partners will use.
What return? The interest rates available these days are appalling. At this URL (after being prompted for a zip code) I was able to see a 120 month CD that yields 0.9% with anything less than 42 months being 0.15% yield.

During the last meltdown we saw that the FDIC made everyone whole. Did you even hear about the NCUA bailing people out? I didn't. I tend to think that's because credit unions did OK during the crisis as most of them tend to keep their loans on their books and as a result, didn't get swept up in the diciest loans in the bubble.

As a result I would suggest that perhaps the parent is correct and that credit unions are the way to go.

Or is there some other kind of proverbial shit hitting the fan that you're referring to? In my mind if TSHTF, any money you have in the bank is gone; worthless or irretrievable. What's the scenario where it's bad enough you want/need the clout of a mega-bank but where the banking system and our government aren't both totally effed but a credit union is?
Yes, write programs.
And go on reading books, eg. SICP http://mitpress.mit.edu/sicp/
or The Art of Computer Programming (Knuth).
That won't solve anything. Let's say that you leave London and 10:00 UTC, and land in another city at 15:00 UTC. Do you go to dinner? Breakfast? Can you schedule the business meeting at 17:30 UTC or this is just after midnight?

Just get an extra clock and keep it in UTC.
Well, yeah, he mentions that.

The point is that you typically need to use " and ' in text strings incredibly more often than you need to use | in them. It would be interesting to run some stats on github to determine how many person-years would be saved by not having \' and \" all over the place (not to mention the improved readability).
Realizing too many good things gone in HN newest, I created this after 2 hours
I got the same thing.
Wow, alot of start ups are in SOMA. Nice!
I suspect it is mostly whatever you grew up with first. (BTW my thumb is 5cm or longer depending on where you measure.) If metric was difficult or less relatable then wouldn't people have noticed in the 190 or so countries that use it pervasively?
Rule of law authoritarians can not be ethical.
Square is not trying to handle every use case for payments. They said "Hey, it is a pain in the ass to pay people with credit cards in person." So they solved that. And they solved every part of it – the merchant relations, the design and functionality of their app, the pricing, the backend architecture, the card reader, security – extremely well.

They are not trying to handle "all the use cases of payment", and I'm saying that they should not move into any other type of payments until their product is as good as they can make it. And they don't, on purpose, because they don't want to solve 90% of 10 different aspects of payment. They solve 1, 100%.
Dammit Heroky
Wealth != purchasing power.

The 1% might have 80% of the nation's wealth tied up but the middle class and the poor have all the purchasing power.

So long as they're intent on saving a buck whatever the cost, corporations will pander to them just as hard as they possibly can. No matter the human toll. Walmart treats their employees poorly because that's what has to happen for Walmart to work like it does, and just wow does everyone love it. Walmart could go bankrupt in a year if everyone just started shopping at Target. But nobody does because it's not their problem.
A commenter on the post just suggested auditing all the apps/sites with which you've used FB auth. This hadn't occurred to me, and frankly is even more scary IMHO. In theory, anyone who sufficiently compromises one of those apps would be able to access any of the permissions you've given the app.
> > True, but C++ does not and you still have the performance penalty of reference counting.

> Not very relevant. For UI code, responsive resource allocation and de-allocation is much more important than saving a few % CPU cycles.

I beg to differ. I consider missile control radar systems of military applications a bit more important than UIs.

There are military applications using real time GC systems, which I can list here if you want.

I also have a German magazine here (Making Games Magazin 1/13) that explains how Witcher2 for the Xbox 360 makes use of a GC.

Anyway one thing I do agree, automatic memory management, regardless of the form, should be the any of any programming language.

Pure manual memory management should be treated like Assembly. It will never go away and should only be used for the very few cases where there is no other way around the problem at hand.
COBOL++, hey it still has a C in it.
I wonder how effective background check + credit check is versus background check on its own. Finding a known felon is easy enough, but discovering that someone may become a felon? That's tough.
I use markdown in a gist because I just want the text, without frills. Markdown is a good example for this article because all it does is simple text formatting (though I understand it is a shitshow to work with behind the scenes.)

That said, I appreciate the advice and will build a better version to host future articles. Now that you say it, the text bothers me :)
I submitted my side project last Tuesday @6am and it drowned within 10 min. I found a better exposure when I submitted to ASK HN instead. It would be great if we get the same analysis on the "ask" page.
Thanks mayank for sharing your work.
const int * - pointer to const int

I see this is as

(const int)* foo;

which is the same as

(int const)* foo;

And people prefer

const int foo;

over

int const foo;

So it all makes sense in terms of the grammar. Admittedly, it can be difficult to remember, but pointers and const correctness are complicated and combining them is going to be complicated to write out no matter what grammar you use. Even if the grammar was restricted, it's difficult to remember this type of thing and if you encountered such code in the wild and had any doubts about its semantics then you would look it up on Google before modifying it (right?)
I just tried fish, way too slow. I held down the backspace key, and instead of deleting 10 characters, the entire line was gone. zsh is also too slow. bash may not have the bells and whistles, but it's at least super fast and doesn't get in your way.
I'm sorry but I cannot take this article seriously. Memcached is trivial to install and to set up on all the Linux distributions that I know of. On Ubuntu, it's actually as simple as apt-get install -y memcached. I have set up memcached servers that handle tens of thousands of queries per second and it has never been a concern.

In any event, you're much better off doing full-page caching using tools designed for this task, such as Varnish. As a bonus, you get tools such as varnishtop, varnishlog and varnishstat to monitor your cache.
I also get a FB OAuth Invalid API key error when I try to "play" the app.
BGPlay video of Syrian reconnecting to the world
For people who already visit this site maybe notice that it's not well updated as https://news.ycombinator.com/newest.

Why? Because I put update only for every one hour (respect HN rule)

Nothing much fancy stuff there yet, since I only want to archives. Soon, I will make "save" button works to collect which posts that may related with my works and interest.
What does it even mean to "game the system"? The whole Klout nonsense is a game.
> “5. Same number of Hiragana symbols in first and last names of the two identities.”

Kill me now.
It was announced in a different way at a Meltdown or PDC conference, around 2008 if I am not mistaken.

Sadly those videos seem to no longer be online after MSDN was redone.

Maybe someone can correct me if I am wrong.
You're pulling all of this out of your ass, right?
You just use other things to relate to - one meter is a (somewhat larger than normal) step, your pinky is probably about one centimeter width and so on. There are as many things around you having simple sizes in the metric system as in the imperial system.
Ask HN: How to ignore guilt while using open source code?
Whenever I want to use an open source code(marginally non-trivial functionality, properly licensed), I have this irresistible feeling of guilt and shame. There is something in my head which says, "This code is easy. You are a cheat for using such a simple code. You should write your own". But then I remember the advice of more experienced programmer's about code reuse and focusing on unsolved problems. Even right now, I am in an internal strife between writing my own or using an existing solution. Why do I feet guilt? And how do I completely ignore it?And should I ignore it?
Clojure inside out
Simple event registration powered by Stripe
This doesn't seem like very meaningful data. So you want to stay on /newest for the longest amount of time? Submit Sunday night. Well I would venture not a lot of people read HN on Sunday nights, so what is the purpose of hanging around their?

The best trick I've seen to staying on the homepage is writing about interesting things, making novel points, or providing insight to currently relevant material.
One of the top Ruby User Groups in the world has a large number of Dvorak users. I mimicked them and posted about it on Slashdot years ago: http://ask.slashdot.org/story/07/04/15/0043237/is-dvorak-gai...
Concise bash programming skills
Good stuff Lance - thanks for putting that online.
Isn't it one of the core Python values that functions don't contract to accept, or return, particular types at all?
Warning | The Red Edge
seems they have hit their limits and entries are closed
Do you have an example of a good software patent?

Someone mentioned that having one syscall that sends multiple udp messages is patented. That is ridiculous IMO. It meets the guideline you lay out: you can define the abstract process of calling a method of an API then that itself sends out UDP messages. However, it's blatantly obvious to all programmers. But probably not to lawyers. Pretty much all software is blatantly obvious and trivial to implement. Microsoft's patent on long filenames is another example. Software is trivial to implement. Want long filenames? A high school student can do it.

However, with chemistry, it is nontrivial. It is not a matter of writing code that a CPU runs instantaneously. You have to devise a method on paper, try it(sorry, a cpu won't mix chemicals), go back to the drawing board. Vs software, where it's trivial so millions of people have probably already coded what you thought was novel.

That happens often with software: I come up with an imaginative awesome new algorithm, only to learn, it has been done before. that's because I work in a line of work that is trivial. We're glorified code monkeys, and we don't deserve to be awarded patents by any means.
Memorizing things to become a better programmer
It makes sense to keep the titles of the original articles. Otherwise you would be open for complete rewording of the title, and passing of comments by poster. Let the content linked to speak for itself.

As for how this happens, I don't know?
Is this a from moderators import title_checking ...
But then Arc is more functional so maybe it is done in code?
Hey SF? What took you so long?
This will only work if cd is your last command, whereas the zsh version always works.
http://aa.com/klout
HTTP/1.1 404 Not Found
Will be interesting to integrate scheme with rack enabled servers.
To this day I still don't remember the exact number of feet in a mile. I know between 4-5 thousand, but the exact number is just absurd.
Nice! I was thinking about doing something similar to show all the 'Show HN....' that never make the front page. There's a lot of good stuff that barely gets any views for better or worse.
Yes, but... It's not so much about what I buy (though this is important), it is about how to incentivize politicians to be dependent on the people alone, not the .000042% that give 60% of the Super Pac funds.

http://www.ted.com/talks/lawrence_lessig_we_the_people_and_t...
We've set out to do just this. Our web app analyzes your spending records from Mint, lets you set issue priorities, and recommends changes. We are in private beta. Our landing page is at switchuponline.com.
I don't feel guilty using open source code. I have more confidence in using code that has been battle-hardened and there is more time saved. And since it's open sourced, if something doesn't work right, I can go in and fix it. I'm a results driven guy. I care about getting quality results. Perhaps you are more into coding for the sake of coding?
php-to-s3: Upload a source directory recursively to Amazon S3 from a PHP CLI
DEC advertised with a custom Matchbox bus
Well, for one thing, there's specifically http://en.wikipedia.org/wiki/HTML5_Shiv
sed is just a cut down version of ed. Natural evolution of UNIX syntax came mainly from the 'one true' editor.

I use awk more as a anonymous function at the end of a pipeline nowadays and mainly for small stuff where I'm too lazy to use cut or when grep sed and tr may not be sufficient for complex filtering.

Surprised there isn't more of a response here on this site. Even users that don't use awk directly use a language which has been directly influenced by it like ruby and of course the original chainsaw perl.
That's C, not C++
Ask HN: My local congressman is deleting my Facebook posts
Recently I have been posting comments on the Facebook page of my local state ca representative and he just deleted all of my critical comments and banned the ability for me to comment on his Facebook page.

Other than obviously me being peeved and pissed off about my view of the first amendment, what can I do to get his attention? None of my constiuent e-mails have been answered so far also.
Clojure inside out. Introductory chapter video.
What's the relevance to Stroustrup being concise?
Is your identity wrapped up in being a super-competent programmer who can do everything by himself?

http://www.paulgraham.com/identity.html

I can suggest three approaches to not feeling guilt over using other people's code:

1) Get "writing difficult programs" out of your system by writing some really difficult programs. Don't let it contaminate your more practical work. Optimize separately.[1]

2) Notice inconsistencies related to the guilt - can you do more good in the world with the time and money saved by reusing existing code? Know the concrete thing you're trying to achieve, and remind yourself of it when you feel guilt over trivial things. Another inconsistency: you probably don't feel guilt over using Intel processors or Linux or all the amenities of civilization.

3) The nuclear option - hundreds of hours of meditation. If you can notice the guilt over and over again, or repeatedly ask yourself who is feeling the guilt, you are almost certain to attain mastery over these unwanted thought patterns. See [2]

[1] http://lesswrong.com/lw/6z/purchase_fuzzies_and_utilons_sepa...

[2] http://sharanam.tumblr.com/post/865951869/kenneth-folk-a-sys...
I too often see better results when my submissions are in /new/ longer, but when you do get a "hit" article during the day to hit the front page it gets a lot more eyes.

As far the delete-resubmit thing, I don't see that a lot, and I highly doubt it works on a site as technically centered as this one is. Sounds like a great way to get banned.
Exploiting C++ VTABLES: Instance Replacement
I'd be hard pressed to name a popular dynamically typed language that does not offer duck typing. Technically there may be a distinction, but it is not one that matters.

The thing that I find creates the most boilerplate for me with static typing is useless helper classes that only exist to get around the fact that class A owns object of type B, so you don't want to allow an object of type B have a method that requires its parent A. Instead you create a class C owned by A which everything that B needs for that call can move into, and then let B know about C. (It does not much matter whether you make A inherit from C, or make C owned by A. Though I stylistically strongly prefer the second.)

Yes, you can set up mutual recursion between two classes in C++, but this involves some gymnastics and is frowned on.

In a dynamically typed language you'd just pass objects of type A into a method for type B.

Refactoring out a whole new class out of an existing one is not "a minor amount of boiler plate" in my books. But that is what C++ pushes you to do.
They're both interesting and worth knowing something about but it's important not to conflate C and C++ - these are two languages that are probably more different than Python and Ruby are. Nor does merely writing in C or C++ guarantee performance - JRuby, for instance, often outperforms the standard ruby interpreter written in C.
Look the best time to submit a article or idea is when you are ready to share the thought.

If you are relying on extra time on HN front page as your marketing strategy you have other problems.

If evenings in California is over-represented that's pg's problem as he tries to grow HN.

Reading this I was tempted for a micro-second to write some script that will submit when I am asleep - but then I realised if I did that, so would everyone else and I would have nothing interesting to read when awake.

Now that really would be a tragedy.
Because it requires too much typing, especially for something you use all the time. Seriously, the syntax is not that difficult to understand and remember.
Sound advice. If you used someone's side project on Hn 3 years ago, and they e.g. didn't patch Rails in January, they're rooted now, so your Facebook account is effectively rooted to the limit of all privileges you've granted. (That assumes you trust the Facebook security model for app permissions.)
Here's my argument for why DST is a good idea: http://messymatters.com/dst/
Yes, moving by a few characters is indeed best done with hjkl if you touch type.

But the vast majority of movements we do doesn't belong to that category. In a day, I'll do a hundred or a thousand more long range movements and I argue that these long range movements are those that deserve optimization the most. Going back a few words is better done with bbb and (probably) a couple of l than 20 or so h and IMO insisting on new users to disable the arrow keys to learn hjkl is way beside the mark and horribly myopic.

Using hjkl instead of the arrows is better but the gain is ridiculous compared to what you get with motions: if you replace a thousand of arrows with a thousand of hjkl you get a small benefit; if you replace a thousand of hjkl or arrows with a hundred of bw and co. you get a huge benefit. Learning hjkl gets so much emphasis for so little usefulness…

So yeah, hjkl are almost worthless compared to other means of navigation. For a huge percentage of the actual movements we do all day long.
We have same thought here. Glad if that help you.
Add `www` and it works
Yes, that'd be lovely. No more talking about lbs and such. (I'm British but we were not taught imperial measures.)

But they'd still be saying things like

* "Where's Chechnya?" (if under 15 in 1995 you have an excuse)

* "I love being in England", when they're standing in "Glassgau" (Glasgow=Glazgo) - try it. Brave!

* "different than", "gotten", "color"...
Go <what I want> C++ D
If he's interested in overall architectural structure, there isn't all that much difference.
Although with most JVMs being written in C, JRuby is still running on something that was built in C.
Reminds me of this: https://news.ycombinator.com/item?id=1266444
Regarding D, that's good! I always thought D was very cool, but the two libraries thing kept me away till now. Maybe I'll have to check it out again.

It seems like Rust never ceases to impress.
That's like feeling guilt when hammering a nail because you didn't forge the hammer or cast the nail.

Sometimes I also feel that way. But then I remember that I'm not writing a data-structures library or ORM framework, I'm trying to build a product.
As someone who's worked in Illustrator for many years, it was rather fascinating to learn about the lines I've been abusing for so long.
Not really. The FAQ only provides a high level overview of the new features, and it isn't complete.
It is designed to put you in control

Clearly their marketing crew aren't talking to their development crew.

My favourite failure is that one of the few options left to the user is setting a default viewer for videos. A setting which it subsequently ignores.
A rant about some of the nice things in the NT kernel
People already game the system for twitter followers, search for "follow back" to see a ton of examples
https://mobile.twitter.com/search?q=follow%20back&s=typd
The US is on the metric system[0]. The people, however, are not. The children use the United States customary units, because their parents use it. The parents use it, because their parents used it. The companies use it, because the people use it.

I also happen to like the orderly ISO 216 paper sizes, but US people don't use that either.

[0] http://en.wikipedia.org/wiki/Mendenhall_Order
He seems to be specifically interested in that, done in C++, while learning C++. The code of the various id games is definitely worth looking at - starting with Fabien Sanglard's code reviews is probably more informative than the raw github dump

http://fabiensanglard.net/quake3/index.php

Still, it's not C++. If the goal is C++ sending someone there is akin to suggesting someone interested in studying classic English novels ought to read Les Misérables in French instead of David Copperfield.
Ebayauction - A collection of ebay auction on Collected
Sure but that's true for almost all software. It's turtles/C[++] nearly all the way down, if you pick a particular way of looking at it. Besides, a modern JVM JIT does not emit C.
If there's anything that will cause the US to change to metric, it's the inefficiencies in manufacturing. Nothing we make to a non-metric spec can be exported. We have to duplicate production lines and tooling to build a metric version of anything. That is inefficient.
I agree with this 100%. I share stuff from my website and stuff from a lot of other websites, and I notice when something does well or flops, but since I have no real vested interest in it, I don't care and don't want to let upvotes dictate what I share. If I think the HN crowd will like it, and they don't that's fine, move on. I'm sure those trying to sell something see it quite differently.