skysight-inc/HackerNews huggingface dataset:
stop reading here:

>In an ideal world most of what's mentioned should not be in the C++ layer, but in JS, except the hooks to provide that are simply never going to be exposed

Do you even know what you are talking about? the only thing that is reasonable to be written in javascript is webkit, specially the DOM.. and as far as i know, the chromium folks are already doing it.. (its called oilpan, i think)

There's no way the other parts could be working in javascript.. javascript is not that sort of language.. first you need a non-GC language: C, C++, Rust or ObjC (if you can stand it)

Than you need access to the native threads, and process, net, etc.. of each platform and provide native bindings for each platform.. and you need to do it fast(this probably means AOT compilation).. and again javascript is not that sort of language..

People need to stop being lazy and learn to use different tools for different needs..

I wont even comment on the cultist non-sense part.. but the source of chromium is there.. you can use it.. its open.. what could be bad about it?
It is pure ignorance on your side to say Scheme or CL never got adopted.
If you like. The policy levers are all on the supply side, though (unless you want to start kicking out major employers or something). So it's pointless to complain about demand side changes.
NYC VC funding reaches new peak
I'd read an article like that.
But not in comparison to what Amazon would be offering from a local fulfillment center.
Single data point: I had severe RSI problems a few years ago, but I am not completely recovered. For me, the biggest single part of the solution was to start using a break program. I also use a split keyboard and a pen mouse, but the break program is the key. I written up my story here: http://henrikwarne.com/2012/02/18/how-i-beat-rsi/
I found the IntelliJ docs[1] handy for discovering predetermined variables like $END$ and $SELECTION$.

[1]: http://www.jetbrains.com/idea/webhelp/live-templates.html
Not from what it would stock near you.
Which other OS is like ChromeOS but without Google?
It is absurd to even mention the New York Times in the same sentence as Cracked and BuzzFeed, suddenly if 100% of your articles aren't about "real" news then it is content "light." NY Times graphics, from an information design perspective are consistently the best of any major publication and this article was a good example of that.
An easy method would be a deposit...we did this at one f my jobs in the 80's...people would rent VCR (yeah I know how old this makes me)...we had a $125 charge that was released back to visa or MasterCard through the merchant account...check with your banks merchant division. If they're worth their salt they can easily help you with this...remember merchant accounts are not afforde the same protections as personal accounts.
Thanks for sharing your experience, very interesting.

I left the ecosystem around Delphi 1.0, when I started to be more focused on UNIX at the university and only had p2c available. :(

For me C++ has the way out as it provided many of the language capabilities that Object Pascal also had.

Like many C++ early adopters, I also created my own set of classes (vector, string, lists) that insulated me from the unsafe C world as most as possible.

Due to its ubiquity, C++ is my language to go for native coding, but I hope one day it gets replaced by Rust, D, Nimrod or any other safer systems programming language.
Nimrod does indeed look very much inspired by Object Pascal (it even uses the classic Borland "T" and "P" prefixes for types and pointers, respectively, something I honestly never liked).

Object Pascal was a fine language, but I don't see the point of using it today, not without removing a lot of the historical Pascal warts (begin/end, the weird semicolon rules, somewhat poor integration with C, etc.), and then you pretty much end up with Java.
Yeah I can't remember the last place I saw running any Borland/Embarcadero software with the exception of some really old stuff still compiled with C++Builder6. That place was also running Visual Studio 6 for some stuff too :) Ahh the memories.
Because aesthetics matter.
Perhaps Quora?
In an Italian TV show, SuperBrain - Rai1, I've recently seen this guy, Alessandro Gallippi, who is able to recognize a movie from a single frame embedded within another movie.
Pretty impressive!

Here's the TV show [1], an example is at 1:12:07. Of course I can't know if that's fake, but I have no reason to think so...
Just the place for a snark!
It's the best book about data structures in functional programming, as relevant today as when it was published almost fifteen (gasp) years ago.

You can get a flavor of the book by reading Okasaki's PhD thesis: http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf

The book is essentially a fleshed-out version of this thesis.
Website Design Learnings From Painting
Yes, setting up variables in the live templates is just...so BEAUTIFUL! You can create default values and tab through them, changing them as needed.

Don't know what I'd do without PyCharm.
Classes for all the things?
Opening files in node.js considered harmful
And your comment leaves the impression that you have an inferiority complex about being a web developer. I'm pretty sure the GP was just commenting on the narrowness of the topics covered. We web developers aren't the only ones who need cheat sheets! I hope?
Again, I wouldn't worry too much about getting hacked. Don't use bad or obvious passwords on your db or ssh account. Besides I would say much of the hacking surface is going to be in your site's code, if it's in any way dynamic.

You'll probably make mistakes. The biggest actual devops advice I can give is backup. Everything. Often enough so that if you lose everything since your last backup you can live with it. And again, it doesn't even have to be automated. Run mysqldump by hand and save the results away somewhere. Rsync your home directory away. If you have a dedicated server, rsync /etc, too.

Having a backup is the solution to almost any catastrophic event in the devops world. Disk crash? Get a new disk, restore from backup, continue on. Hacked? Figure out how, fix security hole in code (or wherever), wipe server, change passwords, restore from backup, continue. I'm sure there are more.

Having done devops work, most of the hard part is getting it to all run smoothly and automatically (big web sites have many many servers and slave dbs, and deploying to them all becomes complicated). But as a single person working on a small project, that's not the most important thing to optimize for, in my opinion. It's more important to get it done.
Not sure that's any less intuitive than getting a rational number from an infinite sum of integers, or a negative number from an infinite sum of positives. It is indeed a paradox until you rigorously define what you mean by "infinite sum", which is the whole point of the article :)
Sure, there are plenty of examples of zero revenue, hundred million dollar valuation. Fb, pinterest, snapchat, instagram come immediately to mind. These businesses though are all building networks and social graphs.

Everpix's business was reselling storage and bandwidth with value added software, but they resold at a marginal loss. There is no "if we get a billion users our value per user goes throug the roof" payoff like when you build a social graph.

I don't know of any high valuation zero revenue companies that are essentially resellers.
Convert Android DP to Pixel and vice versa
Uhm, Google doesn't do PageRank anymore. Now their algorithms are driven by people's choices. They know which links people click when they do a search, and they also have "focus groups" who provide ratings of how useful sites are. They use that info to derive algorithms, but at the root, there are people constantly providing feedback to Google, and link farms have no way to escape that.

And of course, lots of people provide favourable feedback for HN so it is not treated like a link farm.
Really depends on the sector and focus.

- Ruby

- Python (plus R if you are doing data stuff)

- Javascript
yes I saw that and its pretty great. I'm thinking of applying. have you done it, if so any tips?
Kafka...the Starvation Artist...had forgotten that one...powerful.
I'm in the process of putting together a social experiment that draws some similar conclusions to what people have addressed here. The idea is to create 365 link bait titles and then back fill them with content and publish one article per day for one year. My hypothesis is that you could effectively create a publishing company without great content, very well engineered titles, and social media for the marketing. If anyone is interested in helping, feel free to get in contact! I've already built some guidelines and have a list of titles ready to go.
(Phones and tablets don't count: they have no keyboard to begin with.)

I write custom software for a living. I use 2 desktop computers: one at home, one at work. I plug my typematrix to both. When I'm on vacation, I may use my laptop, to which I pug my typematrix as well. Some of my co-workers (10%) also use a laptop at work, because they have to move around. Others (1%) are sysadmins, and often have to go to the server room. Both could buy a keyboard, and plug it to the computers they use. The sysadmins would have to pay for an additional keyboard that stays on the server room.

By the way, I use a completely non-standar keyboard layout. Like Dvorak, only optimized for French (Bépo). Since I only rarely use systems that I don't control, this is okay. 90% of my co-workers are in the same situation.

What do you work on that requires you to use several different keyboards you don't choose on a daily basis? To me that doesn't sound rare. That sounds alien.
I thought that too when we started our company, but my co-founders convinced me we needed a space. They were right. The company (and certainly the culture) is better because we mostly all work near each other, and see each other, and can overhear problems other people are having. I suppose the math might be different if I were paying SF rents. YMMV.
Pretty clever. This appears to be in the same vein as that trick where you could use popups to spawn more popups, and by the time the user realized what was going on their computer was completely unresponsive. (fixed with popup blocking in any browser in the last decade.)

Also, Fill my Disk: http://www.filldisk.com/ (local storage bomb)

Implementing limits on the number of cookies would seem to be the natural solution to the problem in the OP, although I doubt this problem is "worth" solving in practice since most people seem to be using cookies to do what they were meant to do.
A Cray-1 does 80MFLOPS. 80GFLOPS is around what a current i7 CPU can do. You can't emulate a 80GFLOPS machine in javascript right now.

You switched units from mega to giga there.
Yes, that was my first thought too. Sounds pretty good to me.

I'm getting sick and tired of sites (and physical publications) crying "But how are we supposed to make money?!?" Boo fucking hoo. Just because you are running a business doesn't mean you are guaranteed riches and profits. Lots of businesses fail, and lots of seemingly good ideas turn out to not be economically viable (hence the persistent lack of jetpacks). Figure it out.
The Biology of Information Technology
How about the rocks that move in the death valley the size of 10 x donuts. Also vertical swirling column of air could move it. And we know those exist on Mars since those were responsible for cleaning Spirit's solar panels (rover).
It's a curious thing, technology exposure and ending up using — and being limited by — what you know exists.

I remember getting an Amiga in the early 1990s. I had programmed in assembly language on the C64, so on the Amiga I learned the Motorola 68000 assembly language, of course. I didn't know any other type of programming (other than BASIC). I had heard about C, but I didn't know people used it to write software on the Amiga. I remember buying a book about Intuition (the AmigaOS windowing system) and trying to figure out how to call the APIs from assembly language, which was of course fruitless, as I didn't even know how about the concept of linking, let alone how to look up library functions from assembly. Nobody had told me about C!

So I was a Windows person in the 1990s because that was the thing people used at home, and it was natural for me to use Delphi, not C++. I had looked at C++, but the possibility of using C++ for my projects never really struck me. Delphi was such a phenomenally productive tool. Windows seemed like the only viable platform. A lot of people are exposed to UNIX in university, but I didn't go there, so my first taste of UNIX was (aside from Amiga) Linux.

I agree with you about C++. I've had fun writing Go, but it feels like a stopgap solution until the real next-level language appears. Rust, maybe. Nimrod does look cool.
why in the world are POS systems connected to the internet on public ip addresses?

security considerations aside, this is also more expensive and harder to implement than a private net. so someone actually sat down, and made this decision deliberately.

pretty fucking amazing, if you ask me.
I would think the vast majority of AdBlock users have it set to try to block all ads by default, though I admit I have no data to prove that.
Terry Davis scares me.
The Heart wants what The Heart wants
Thank you. If you consider intrusive ads to be malicious code that websites are attempting to run on your machine, you should be free stop them. It's your machine.

We are essentially talking about the equivalent of tv advertisers being up in arms about viewers getting up and going to the bathroom or changing the channel during commercial breaks.
Maybe App Discovery Isn't Broken
not amount, but total Length of the Cookie header. Otherwise number of cookies will be ~5.

Yes I recall filldisk.com, but that one doesn't seem harmful to user (he knows where it comes from & exploit is quite slow).

Cookie bomb can "bomb" some exact path, so the trick has many uses. E.g. you can "block" /dont_like_this_post on blogspot entirely, while the rest of Blogger will work.
When I was 14, I used to hang around all these sketchy script kiddie forums. I learned assembly off some crapily written assembly.txt guide, with the ASCII art of the author at the top and all. Fast forward two years later.

A buddy of mine from IRC links me a webpage like he usually does, most of the time it's a static HTML file buried deep into the file structure of some large corporate site. This file was different, it was the CC database for a huge site.

Few weeks later police kick my door down, seize most of my personal electronics, and I have yet to hear from them or see my equipment.
Actualy C# I would say. ;)
I read an article about using core Chromium components as a cross-platform library that comes complete with a build system. What did you read about?
I'd like to see some science on RSI. All i can find now is anecdotal evidence, and often does not make much sense (e.g. vi is better than emacs because emacs uses the hardly reachable control key, but in vi mode changes are just as hard)

I think this is very hard to research because it need a long time and people often change habits in that time.

that said, I hate apple keyboards. If there was a macbook air with a thinkpad keyboard (including trackpoint), replaceable accu and better linux support i'd pay 3k€ for that.
Didn't Sendoid do this from YC W11?
> They weren't.... they just got their information about the bombings somewhere besides the NYT

Probably "other sources in addition to NYT", but yes.

Not just that, but the Boston Marathon bombings were an ongoing story - the NYT had a number of different stories that related to it.

NYT is actually not a great place to go for truly breaking news like that - except for pre-planned NYT-exclusive releases, they're almost never the first to post a story. On the other hand, they usually have more in-depth research, better analysis, and (most importantly) better fact-checking than other news sources; this is clearly a direct tradeoff.

I'm actually surprised that the Boston bombings was so high on the list. If anything, I think that speaks to the trustworthiness of the NYT as a news source, even in the online era.
I like this introduction. Often it helps to get used to doing symbol manipulations before trying to fully understand things, and I think tensors are a good example.

(By the way, the map "f hat" is at one point described as "multilinear". I think that it's actually linear. After all, it comes out of a tensor product whereas bilinear maps can only really come out of a direct product.)
Firefox OS gains Foxconn dev tablet
Didn't this use to have loads of options to change the colours / speed / source code used / etc? Or was that a different project?
Could also be a subtle hint that the language in question (Java, Maven/XML) are too verbose. I mean, for dependencies and the like there's alternatives (for Java & co) in Gradle and SBT, or the very simple NPM and Bower formats; for build tools, see the same (and Grunt). There's no real benefit (anymore) to use XML for that kind of configuration.

Same with Java. Functional programming makes for much more expressive iteration than the iterator / for-loop pattern does, and it's much less verbose (think list.map(doSomething)).
I feel you. I use my desktop 80% of the time, touchtyping on my Das Keyboard. When I switch to my T430s my typing speed definitely drops for that reason.
If I'm reading this correctly, the real "hack" was stupid passwords like admin:admin, pos:pos on the POS machines. In which case, we need to hold management more accountable for such lax password policies.
I think in the beginning they did think of it as a C++ replacement, but it has been a long time since anyone from the core team has used those terms (system language) to describe it. It is more of an alternative to Java or Python. Possibly the server described should have been written in Java in the first place.
The extra level of subdomain as proposed by Homakov, seems like a much more worthwhile fix.
Indeed! C# seems like the bastard child of Java and Delphi.

To be honest, I don't think I could ever go back to a language where method names started with an upper case letter. What were we thinking!
i think the capslock function should be disabled by default. let the key stay there, so people can bind it to what ever they want.

i'm a passionate programmer and im currently typing on a lenovo x121 keyboard and i have to say its one of the best laptop keyboard i've ever used. the only annoying thing is the "nearly useless" "Fn" key left of the left control key. i'm an emacs user and i can not understand why to place such a rarely used key at the place of such an often used key like the left control key!

but i learned to deal with it.

@lenovo: the x121 keyboard is good, but please put that useless fn key somewhere else! like replace the right control key with it! (who is using the right control key?)

all this is about the german x121 keyboard layout.
I think these are default passwords, like routers. That's on the developers and IT people for not putting stronger passwords on these devices.
This is exactly what paranoid conspiracy loons were saying way back in the 90s was going to happen: panopticon, total surveillance, militarization of police, massive concentration of wealth and power, detention of authors and critics, etc.
Here's an advice: browse for job posts you'd be interested in. Look at required/preferred qualifications. Start learning those. When ready, apply for those kinds of jobs.

Also, find out what other libraries/API they might use. For example, the company could be using some niche software that's nice to know, but it wasn't important enough to list in the job description. The HR people won't care if you say that you know X, but you might impress a fellow developer during the interview, and that's a plus.
It's really interesting. The problem is that i don't see any fix for it. The only way would be to update the browsers, or maybe use a plugin to block such attacks.
Because there's no 'National wants a 24" Asus 1ms thin-framed LED gaming monitor, Logitech gaming controller, 5.1 surround audio, and ATS Acoustic Foam Corner Base Traps Forecasting Service'. It's logical to pick out geographic major events from current services and ship batteries, tarpaulins, baby formula and bottled water to them. But for everything else, you need fancier machine learning and lots of training data, and not everyone has that. Walmart doesn't have my wish lists. Amazon does.

Edit: Before anyone mentions it, don't buy those bass traps. They're not big enough to do the job for low frequencies. For that you need a pallet of rockwool and a weekend carpentry project ;-)
How do you set a cookie on a domain you do not control? Won't the browser only send cookies to a server on the domain you are trying to browse to?

EDIT: found it - not any, arbitrary site can be DOS

"Who can be cookie-bombed?
Blogging/hosting/website/homepage platforms: Wordpress, Blogspot, Tumblr, Heroku, etc."
Kip Thorne and Roger Blandford have an excellent introduction to tensors in their lecture notes on the Applications of Classical Mechanics. See sections 1.3 and 1.5:

http://www.pma.caltech.edu/Courses/ph136/yr2012/1201.1.K.pdf

They emphasize the geometrical viewpoint in which tensors are just linear functions which map vectors onto vectors via the dot product. (Or more generally a rank-n tensor is a linear function which maps a vector onto a rank n-1 tensor via the dot product.) Throughout the entire course they eschew coordinate systems as much as possible since that tends to obscure the underlying math and physics.
I second "Ruby", but I'm deep in the web app development world. Despite the trend towards single page apps, there is still a large market for apps being developed with Ruby-based APIs.

Excellent Javascript skills are in high-demand, especially if you have a good understanding of one or more Javascript front-end frameworks.
I for one hate it when companies spend money to inform me of products I might like, especially when it potentially saves me dozens of hours searching and doing research. It's the absolute worst when they spend time and money informing me of the features and benefits of their product rapidly and in a fashion where I can tune it out easily it it isn't relevant. Ive never once used brands as a signal to help me decide, nor bought a brand I know and trust like coke when traveling in a foreign area.

Advertising is just the worst, helping get information into the market efficiently, ugh!
Delphi 3 was the first program that I pay for (second was visual foxpro). Obviously, at US99 a student like me could do it. I'm moderator in the http://www.clubdelphi.com and is sad to see all the same faces all the time. New blood is hard to get, specially in latin america, when .NET is affordable/free and all the open source stuff.

Is sad that the misguided strategy that start with the Borland has pass up to Embarcadero. Where they must look for broad appeal they decide to milk instead :(. Delphi was huge (Delphi 3 - 5) and if they have more critical mass now will be a powerful force. The worst? Delphi is SOOOO good that have survived despite all the problems so far.

Still, Delphi + Python are my favorites languages of all the time...
Ask HN: Everything already exists
I am so tired of this all , every other day i get a brilliant idea , i start working on , start learning stuff but then i do a web search to see if it already exists , and it always exists.
And then i have to trash it , it really demotivates me .
What should i do HN ?
Or serve the untrusted content from a sub-subdomain, e.g. "foo.bar.CDN_HOST.com", so that you could only bomb bar.CND_HOST.com and not the entire domain
This is for domains that serve user-provided Javascript, such a blog hosts and GitHub.
>Really depends on the sector and focus.

...And location. In Ohio you might have a harder time finding work knowing Ruby or Python compared to knowing Java or .Net.