skysight-inc/HackerNews huggingface dataset:
> For example, if I use a language that doesn't allow buffer overflows to happen, I've eliminated an entire class of security bugs being caused by programmer error.

There are several assumptions behind "if I use a language that doesn't allow buffer overflows to happen" which you aren't taking into account. For instance, are you entirely sure that the implementation of that language's compiler will not allow buffer overflows to happen? We have a good example of a possible failure of that model in Heartbleed: when it came up, a bunch of people in the OpenBSD community raised their eyebrows, thinking hmm, that shouldn't happen for us, we have mitigation techniques for that. Turns out -- for performance reasons -- OpenSSL was implementing its own wrappers over native malloc() and free(), doing some caching of its own. This, in turn, rendered OpenBSD's own prevention mechanisms (e.g. overwriting malloc()-ed areas before using them) useless. The language specifications may not allow such behaviour, but that doesn't mean the implementation won't, too.

You're also underestimating a programmer's ability to shoot himself in the foot. Since I already mentioned OpenBSD and Heartbleed, here's a good example of a Heartbleed-like bug in Rust: http://www.tedunangst.com/flak/post/heartbleed-in-rust . The sad truth is that most vulnerabilities like this one don't stem from accidental mistakes that languages could have prevented; they stem from fundamental misunderstanding of the mode of operation which are otherwise safe constructs in their respective languages.

Granted, this isn't a buffer overflow, which, in a language that doesn't allow arbitrary writes, would be an incorrect construct and would barf at runtime, if not at compile time; but then my remark about bugs above still stands (and I'm not talking out of my ass, I've seen buggy code produced by an Ada compiler allowing this to happen), buffer overflows can be increasingly well mitigated with ASLR, and the increased complexity in the language runtime is, in and by itself, an increased attack surface.

Edit: just to be clear, I do think writing software in a language like Go or Rust would do away with the most trivial security issues (like blatant buffer overflows) -- and that is, in itself, a gain. However, those are also the kind of security issues that are typically resolved within months of the first release. Most of the crap that shows up five, ten, fifteen years after the first release is in perfectly innocent-looking code, which the compiler could infer to be a mistake only if it "knew" what the programmer actually wanted to achieve.
Even assuming a perfect computer with zero input latency and zero display latency the network part still matters when it comes to knitting an area like "North America" into a game region. It feeds into longer causal chains.

For example, consider two players in LA both using an NY server over the dedicated zero-overhead fiber-optic network mentioned above, with a relatively modern game-networking stack.

(1) Player A raises an energy-shield t=0 ms. (Client-prediction.)

(2) The server agrees as of t=20.

(3) Player B shot an instant-travel hitscan weapon at t=39, while the victim was still exposed on his screen.

(4) The server gets the shot-message at t=59, and honors it (Latency Compensation), sending a damage/death message out to Player A.

(5) Player A receives the news of his damage/death at t=79.

Even in that world of unattainably-good equipment, that's 80ms of "wait, that doesn't look right".
Everybody is using kickass nowadays ... so good job.
wrote this in response to a snarky comment that the omnibox should be implementable with zero allocations

https://gist.github.com/greggman/18953af231c9bf79cb12
Exceptional Female now have their own social media site
What's that law of headlines?
I watched Prof. Strang's Linear Algebra courseware, great stuff. He is a wonderful teacher.

http://ocw.mit.edu/courses/mathematics/18-06-linear-algebra-...

As someone who hadn't studied it for 20 years, it was invaluable to revisit the subject as an adult with the ability to reflect "ah, I can use that for... " instead of "Ok but when am I ever going to use this"
Well, it's their job to make those numbers go up. Which, yes, is in direct conflict with the best interest of their users. But when metrics are set and their livelihood depends on making people click ads more... there you go. The reality distortion field allows them to remain relevant in the eyes of management, as well as feeling a sense of purpose in their role.
http://www.dreamfemale.com
Developing 3D Games for Windows 8 with C++ and Microsoft DirectX
To some extent those valuations are based on expectations for the future, where the companies don't even need to employ human drivers. Whoever owns the "Johnnycab" concept twenty or thirty years from now is going to be very profitable.
Possibly understated... not only is there the three course sequence + diff eq, there's usually also a two-sequence real analysis course (more or less "careful calculus") and probably either PDEs or complex analysis to boot.

I took the discrete emphasis when I studied and I think I actually ended up with fewer discrete classes (5, IIRC) than calculus classes (6).
Car Loan for Bad Credit Instant Approval Without Any Hassle
Simplifying code and achieving exception safety using unique_ptr
Free WMV Player – Best Solution to Play WMV Files on Mac and Windows OS
I think that's only because they don't see CoreOS as "minimal" in the same sense as Rancher and boot2docker.
gethostbyname uses /etc/nsswitch.conf to determine how host names should be resolved. The document describes /etc/hosts and DNS, but there can be more.

On modern systems, it is likely that multicast DNS is performed to resolve local names before going to DNS.

I actually pointed this out in my Google interview and the interviewer instructed me to skip Name Service Switch part.
Okay, cool. Now that I've finished being uninformed enough to get questions out of the way, I'm guessing you chose Sails because it has some kind of JS DB for prototyping. I would spend time asking if Sails is the desired output format because, although I've only used it during a Startup Weekend fling, it feels like a framework, and don't forget that it's said that while you can plug your code into a library, in Soviet framework, code plugs into you -- I imagine that although a backend dev might be thinking, "Great, Node, kill me softly with 'undefined'" they would still kill if the implementation was really minimal with nothing in their way; if they like another JS framework or want to write a common backend for web and mobile apps, not having Sails' distractions in the way could be big for legitimately doing some of their work for them.

Another big feature would be doing the work to plug persistence into other DB's to make the output DB agnostic to some extent. Migrations would be the next step, but too much of a chore. All you need are to define data models for XYZ ORM/DB adapter to make the machine-generated step hit the right starting point for hand-off. If the ideal use case is in prototyping, I don't think migrations is in the right vein.

Armchair-CTO, signing off.
I would argue that an increase in ride-sharing usage reduces traffic congestion.
Jason Worilds is retiring so he can devote more time to his religion, the Jehova's Witnesses.

I don't necessarily disagree with the author, but another reasonable explanation is that successful people like their jobs, and in the absence of larger pursuits, like religion, they see no reason to move on. Retirement in and of itself isn't the "prize" for every single person.
I kind of agree on the overall tone... feels like the guy is afraid of coming out Western-sided. However I would need more fact-checking to conclude.
This article is just badly written. It doesn't provide or make reference to a precise documentation of the issue. It's not clear whenever it applies to `delete x` or also `delete obj[x]`. It doesn't provide a reproductible use case or list of browsers that are affected. It mentions issues with scope but doesn't go in detail of which ones are triggering the issue. For what it's worth it might apply only to IE6.

`delete obj[x]` removes not only the reference to the value but also the key which prevents other forms of memory leak.
So it's cool, and a lot of people might see it as a bad thing that if this took off could potentially bring Linux users back to Windows. I personally think it could do the reverse though and encourage people to try Linux. If they enjoy using some small selection of tools that work on Windows (presumably all CLI tools) then they might be convinced to give a full distro a go. Interesting concept though and I really hope it works out.
To each their own. I find the new bay bridge ugly. I much preferred the old one and would have preferred it had been replaced with something more classic. I also find the Sutro Tower beautiful.
> Well, that's possible with compile-to-JavaScript languages.

I have tried to read code that was translated to Javascript using some source-to-source compilers and they are very hard to understand. On the other hand for a language like C, it is very easy to understand the output ( assembly ). Don't get me wrong, understanding the intricacies of assembly for each processor architecture is a difficult process, but the rules that define assembly language itself are not so, there is an opcode and some operands and each instruction performs an action on the operands or stored state in various registers. Javascript ( at least for me ) is too high-level to attempt to read a machine translated output. Programmers need to know at least one level below the abstraction to which they are programming to.
From the article: "(This was in addition to the canine companions that flew with Ivan, in the proud tradition of the Soviet space program: Chernushka ("Blackie") for his first flight, and Zvezdochka ("Little Star") for his second.)"
And then? Who cares about what language the OS is written in? Customers surely don't.
The best reason to have new-less constructors is because it's now possible to use them as higher-order functions.

[1,2,3].map(User)
Secrets of the Brooklyn basement domino league
That's a good spot.

I suppose it's a lot easier to declare one's intention to create a backwards-compatible subset than to actually create one.

Hope the V8 people are open to revisions on the details at least.
I use the same passwords across almost all my accounts. I realise it's not secure but nearly everything that asks for a password doesn't need to be secured.

The few I use a different password for are gmail, steam, my bank and my work domain. Muscle memory kicks in quite quickly because they're all typed so often, so while I can't actually remember what my password is to say it, I can remember enough to start typing and the muscles take over.

I find when faced with a new password that just saying each character in my head as I type them helps memorize them.
I hope you're right. It definitely helps with parking.
Europe's Solar Power Industry Braces for Solar Eclipse
I assume your last sentence is facetious, but in case it isn't: Do Not Do This. Bad idea. People suggest it will light a fire under you and be a motivator - but it can also paralyze you with anxiety so that you end up getting nothing done, like the deer frozen with fear in the headlights. It's a horrible place to be, and there's many business problems that can be rapidly solved with cash. (eg Don't waste hours and hours of labour if you can just buy an off-the-shelf software package to do the job faster & more cost-effectively.) Don't take risks, manage risk.
The deal? What deal? What side of what bargain?

Sorry, this point of view is delusional at best.
...and too few of the posts complaining about it mention strict mode or ES6 fat arrow syntax.
Author here, I'm sure there are lot of errors in the article and I'm really humbled that this landed on Hacker News. Let's keep this discussion open :)
The article is split on 5 pages and due to the ads not easy to navigate through. The current situation of Harlan Stenn (59), who maintains NTP alone is on the fourth page:

"With the Linux Foundation's $7,000 in monthly cash flow, Stenn finances his movement between his home lab, in Talent, Ore., and the NTP servers located in San Jose, Calif. In Oregon, Stenn lives with his wife and does most of his patch inspection, code writing, and release building three weeks a month. The fourth week, he stays in San Jose, close to two co-location data center providers that host NTP computers. He rents a room there to work on server and network administration, maintain the email list, and check on server backups.

Much of the travel, room, replacement hardware such as disk drives, or needed commercial software such as the Coverity system for security checking on code, must come out of the $7,000 monthly stipend or be charged to his consulting business.

Most of his 17-20 servers came out of a one-time, $10,000 grant in 2010 from the Internet Society, a policy and technology infrastructure advisory body for the Internet founded in 1991. Those servers are running at ISC.org in Redwood City, Calif., which hosts BIND and several other open source pieces of Internet infrastructure. For 15 years, it has provided space, electricity and some management "smart hands" to host NTP operations, without charging, said Stenn. "They would love for us to pay them," he said, and he once totaled the monthly bill at $1,400. But ISC.org also knows the NTP project can't pay and continues to host it, Stenn added."

And on the first page:

"Its ongoing development and maintenance now rest mostly on the shoulders of Stenn, and that's why NTP faces a turning point. Stenn, who also works sporadically on his own consulting business, has given himself a deadline: Garner more financial support by April, "or look for regular work.”"

Now although he has a donate link on http://www.ntp.org to:

http://networktimefoundation.org/donate/

he doesn't have a clear goal set like GnuPG had. GnuPG doesn't state the goal because it reached it. But until then you were able to actually see how your support moves the bar. Maybe setting the goal would help here?
I recommend to anyone who wants to familiarize with the mechanics of competitive coding, the preparation to participate, or the kind of problems you are supposed to tackle, to get a copy of Steven and Felix Halim's "Competitive Programming" [1].

Even though I'm an outsider myself to these competitions, I found the book fascinating. Someone posted an article here at HN about someone reading Greek Classics a hundred or so times and what he got from that... this is the kind of book I feel like I'll have to read that many times in order to get the most of it!

"[...] the book contains a collection of relevant data structures, algorithms, and programming tips written for University students who want to be more competitive in [...] competitions, those who love problem solving using computer programs, and those who go for interviews in big IT-companies [...] The possible long term effect is future Computer Science researchers who are well versed in problem solving skills."

P.S.: nobody asked me but, what the hell. The other algorithms book I'm really itching to recommend is Sedgewick and Wayne's [2] :-). I like it more than other commonly recommended books, like Skienna's "Algorithms Design Manual" and Cormen's "Introduction to Algorithms".

1: https://sites.google.com/site/stevenhalim/

2: http://algs4.cs.princeton.edu/home/
tl;dr: Timelord needs financial support.
> * Most professionals feel like they're on a work treadmill same as everyone else, except they're doing it to support a more expensive house, more expensive cars, more expensive clothes, more expensive food, more expensive education for their kids, more expensive frills than people who make less money.*

I'm confused as to why you think this is not about status.
Sandboxing Dropbox
Panda Cloud AV just took a shit on us
Or the alternative :

[1,2,3].map( function(i) { return new User(i); } );

might seem more reasonable in the JS world.
it's a beautiful branch of mathematics though.
Every time?

I mean, very many times (for example) you're pulling in some JSON from a server app, which will have types properly enforced at the database and/or application level. There are still gotchas around defaulting to true, whether or not an empty string is a valid value and so on, but there are many cases where foo || bar is safe enough.
When I knock on someone's door, and then hand them a hot box of pizza, they smile and often hand me money: $5's, $10's, sometimes a $100. I'm just doing my job, just like this Harlan "Father Time" Stenn. I suppose we take for granted, that which we can't see.
I think it would mainly be used by Linux users forced to use Windows for some reason (at work, for example).
we are are arguably more isolated than ever on the whole, and yet we live longer than ever, on the whole. how does that work?
Expect More from Product Managers [2013]
There is another one from "Smashing Magazine" [1], I think it's written better :

> In quite a few discussions online about reclaiming memory in JavaScript, the delete keyword is brought up, as although it was supposed to be used for just removing keys from a map, some developers think you can force de-referencing using it. Avoid using delete if you can. In the below example, delete o.x does a lot more harm than good behind the scenes, as it changes o‘s hidden class and makes it a generic slow object.

Although it's from 3 years ago it looks decent. The comments below are even more interesting than the article.

[1] : http://www.smashingmagazine.com/2012/11/05/writing-fast-memo...
Perhaps amusingly, the Computer Science education at the University of Copenhagen includes no mandatory Calculus course, but it does include a Linear Algebra course. Even so, students have a hard time seeing what they'll use Linear Algebra for, before later on in their education.
Not working for me. I still get redirected to google.co.th
"Linux services for Windows NT"
True, and a malfunctioning sandbox is worse than useless.

People tend to base security on them. Google did in their AppEngine cloud, but they put a lot of engineering resources and defence-in-depth behind it.
YouTube Downloader Pro 4.8.9.0.6 Crack Free Download
Show HN: Aniways-SDK for social networks and chat apps to monetize their traffic
I myself use they as a neutral pronoun, but I'd suggest that Shakespeare and Austen aren't great examples, especially the former, as the poster was looking for widespread adoption and those authors[1] both use language in ways that are very uncommon.

[1]: this right here is why 'they' as neutral is problematic, as I would have been able to use 'they' unambiguously (instead of 'those authors') had 'they' not grown a singular meaning. It's the point made above about two dimensions rather than one of uncertainty.
You start using a non-open source search algorithm?
Debian project leader election: platform for Mehdi Dogguy
Julian Barbour on Does Time Exist?
Cool. CoLinux does something similar
Debian project leader election: platform for Gergely Nagy
I don't like to keep all my passwords in any one place. and some I refuse to put in writing at all.

Basic passwords I keep in lastpass.
Important ones are in multiple keepass files - if an account requires two passwords I keep them in seperate files
Super important ones I have written down in various places
This is brilliant! Much more light weight than a VM. I hope they can iron out the remaining kinks.

I used coLinux many moons ago, but it hasn't been updated in any significant way lately, and still doesn't work on 64-bit Windows.
Rape is actually not common at all. 26-27 per 100,000 population. So one in 3700 - 3840 people get raped. 91% of them are women.

And it's steadily declining.

http://en.wikipedia.org/wiki/Rape_statistics

Again, how does complaining about rape stop a rapist?
Debian project leader election: platform for Neil McGovern
True. Although I think it would be much better for durability if Apple used the same wire/power brick layout as everyone else: have the power brick in the middle of the wire, accepting 120/240 V from a standard "figure-eight" cord. Then that cord would be the one that breaks, and they cost $1 to replace. Of course this conflicts with Apple's business model...
"Many" and "even more". That's not the point.

The internet has added hosts, users and services every year since 1980. It didn't cross a threshold to need priority blah in 1981, not in 1982 either, not in any of the 33 following years. What's so special about the 36th year? Or the 40th?
Stop Guessing, Start Measuring Database Tests in Rails
Debian is now welcoming applicants for Outreachy and GSoC Summer 2015
KDE President Lydia Pintscher on the Role of a Nonprofit in Open Source
Can Shakespeare Improve Your Mental Health?
I just don't like the symbolism of wearing a noose around my neck. Suits are OK, choking hazards not so much (and yes, the normal necktie knot can choke you).
If this can bring me a working * nix shell under Windows, I'd be extremely happy. Windows is great for everything except I have never learned PS as well as I know the * nix shells -- with this, I could enjoy the hardware and proper multi-monitor support, speed and stability (seriously) of Windows and use the * nix command line.
Upvoted for sheer cynical accuracy ;-)
Model-Oriented Programming and Meta-Programming orchestration tool
Note: The following is speculation best I know. I'm recalling from memory what I've read on the internet written by someone who did not have a direct source.

Glacier uses low-speed (5400 RPM) consumer drives, which they then clock down lower to save energy. Any given 'rack' only has enough power to power a few drives on that rack, the rest is powered down.

To prevent multiple customers from all trying to pull their data out they needed to introduce a rate limiting system, which they did with this exorbitant pricing.
After all of the issues I have run into with Chrome the last year or so, after switching back to Firefox about 1.5 months ago it would take a lot to "win" we back. Chrome has become too bloated, too sluggish and resource intensive. After using Firefox again for the first time in like 2 years, it felt like using a whole new browser again.
I totally agree with you. Some of us who really like Linux are forced to use Windows at work. This project is really going to help a lot of people :)
As long as the constructor doesn't take multiple arguments [1], otherwise:

[1, 2, 3].map(id => User(id))

[1] http://speakingjs.com/es5/ch15.html#_pitfall_unexpected_opti...
Dunaj – Protocols First
My only issue with the xps13 is that it is limited to 8GB of ram.
I haven't looked into the available techniques for a few months. JSON HAL works fine for me for now. ;)
Some do. Some people list on Airbnb and competing services simultaneously too. But once that tipping point is reached then the competing networks collapse and it's not even worth bothering with them.

Case in point: Airbnb's direct competition (listing services) are totally ineffective at this point. "105bookings with Airbnb, 1 with Roomorama, 0 with with the others"[1]

[1] http://www.quora.com/Who-is-Airbnbs-biggest-competition
Related discussion: https://news.ycombinator.com/item?id=3115951
I think that's a lot of money for low-end storage and Intel 5000 graphics.
So this guy gets $7000/mo from the Linux foundation for maintaining NTPd and... that's not enough?
Dell uses targeted discount links. People post on 'deal' forums. The lower prices available on Google search results are special offers that people posted. They won't be accessible through the standard menu.

It's Dells model: coupons, discounts, offers, combo offers and all.
It's not like pizza, it's like dirt. You can shape it many ways but it tends to fall apart.
The PowerTub – Energy Source of Future
Facebook mines user data to become a market consultant