skysight-inc/HackerNews huggingface dataset:
You are correct in that jQuery doesn't re-query the DOM for elements on each call, but what it does do is re-loop through it's internal cached collection to apply these CSS rules. The perf hit isn't noticeable when jQuery's selection (internal collection) is small. Imagine a webpage with lots of elements you want to select and then want to interact with... that is what I am trying to bring attention to.
Speed Read The Web
I still don't understand the appeal, which is obviously my problem, because there is certainly appeal. I've given the game some time, and I consider myself quite an avid gamer, but I just don't find it all that fun, interesting or entertaining.

Can someone explain why this thing exploded how it did?
SimCity has always been about recreating Bay area sprawl. I hope that changes. There actually are places where more people bike than drive.
Not really. Number two was not actually a crime so much as a systemic regulatory failure fueled by greed and stupidity (Iceland's banks perpetrating some of the more egregious stupidity).
Why I can Judge Your Design Work
I used to play Sim City years ago and I'm really looking forward to playing this new version!
My point was that the typical criteria for evaluating a market are the prices that it produces--but reasonable people can disagree about what the prices "should" be. (As evidenced by this sub-thread.)
>why are you putting a browser into 25% of the screen?

Because that's how he wants it? I do the same thing, my web browser exists to retrieve information from web sites. Having it take up my entire screen would be a hindrance. People who foolishly assume that because I have a high resolution display, that my browser must also be that resolution are, quite frankly, incompetent. This is web design 101 stuff, nobody should be working in a professional capacity that thinks a fixed resolution website is acceptable.
The amazing thing about this game is that I'm using it to teach my girls how to program with it. Its a great tool because it allows them to see the value in writing code by getting real results quickly.

The oldest one wanted to create pink wood to build herself a pink wood house. Why? Well duh, its pink (her words). We quickly dug the source code and had a pink wood block in a short time. She was so happy and learned about Java. A double win in my book.
Code execution while deserializating / parsing data is my first and uttermost concern. Nowadays I'm in Clojure land and it's still not entirely clear as to what I can and cannot do and what the language as to offer me so that data doesn't contain rogue code that is going to be executed.

In Common Lisp, for example, as far as I know you can set a flag so that the reader is set to "no evaluation ever" (if I understand things correctly) and, hence, if you're not using eval yourself specifically, nothing is ever going to be evaluated.

But how would that work in Clojure? And what about other languages? Ruby? Haskell? Java? C#?

I think the ability to execute code became the most important security issue (more than buffer overflow/overrun which can now be prevented --even sometimes provably impossible to happen thanks to theorem provers).

More thoughts should be put into explaining how/when a language / API can execute code and how it should/can be used to prevent such a thing from happening.
Couldn't have happened to a greater bunch of indie gamers.

Also from the article here: "Markus Persson gave away his part, about 27 million, to the employees."
me too!! this looks amazing!! I never could get into The Sims though. Sim City is where it's at!
> Chaum developed multiple systems, and was working towards a cryptographic system that could replace paper money.

Sounds cool, where can I download the source code and test this system?
Observations on meeting Bill Gates (by Tyler Cowen)
Out of curiosity do you like other sandbox games like simcity or dwarf fortress?
Aren't they just notes which have been explicitly publicly shared?

I've just shared one and I got a similar URL: https://www.evernote.com/shard/s56/sh/ca0c5904-5977-4a4a-a5c...

Google Search doesn't currently find that note. I'm guessing it will in a couple of days.
I can't believe this kind of promotional guff has made it onto the front page of Hacker News. The new SimCity looks pretty cool, but any decent publication would at least raise the issue of the game's draconian DRM. Though what should we expect from a site run by an energy drink brand?
Maybe I'm missing something.

Sim City has always seemed like choose-your-own objectives.. Why can't you make a quiet sidewalk city?

I've made several nice farm towns, and it's part of what makes SimCity fun for me.
I can image PayPal or some other payment services provider deciding to integrate it as a payment method.
It lets you build stuff using your own imagination. A fully destructable/reshapeable world.

I must admit after building my 3rd castle the novelty wore off, but I can understand why so many people love it.

It's lego for adults.
Stop running giveaways on social media. Start running them on your website.
Except this is not what has been happening. There have been many stories reported of FBI actively trying to make someone into a terrorist. Some of the supposed perpetrators even contacted the police while under pressure from FBI to commit acts they would not want to do. Forgive me but I do not have time currently to dig up more than one, but this one I have fresh in my memory: http://www.thisamericanlife.org/radio-archives/episode/471/t...

It's a story of a sting/long con op gone really bad. Have a listen and see that it is nothing like the hypothetical that you posted.

Edit: If anyone is interested, more similar stories can be found in democracynow.org and bestoftheleft.com podcast archives.
Geekybuddha - Bangalore, India
Intern - Hardware hacker

We are working on a very challenging consumer hardware product.

Technologies - C++, Python, PIC, Arduino and other related stuff. If you have anything to do with electronics tinkering, we would love to talk to you. Email in profile.
> the unicode block containing "fried shrimp" 0x1f364 -- why does this exist???

A softbank-based Emoji set was imported (in an extended form) into Unicode 6.0: http://en.wikipedia.org/wiki/Emoji#Emoji_in_the_Unicode_stan...

Because Emoji originated in japan messaging, a number of them relate to japanese culture: foodstuff (not just fried shrimp but rice balls, dango, oden, fugu), cultural practices (kadomatsu, hinamatsuri, koinobori, Fūrin wind chimes) and other such things which may be present in other cultures but usually not as prominently (e.g. Unicode Love Hotel)
Useful tools and knowledge when developing iOS applications
Show HN: School note taker in browser with localStorage
"The "everybody has bugs" response is intellectually dishonest."

Indeed. It's the "fallacy of gray". Nothing is black or white, hence everything is gray. Nothing is 100% secure, nothing is 100% insecure, hence everything is "semi-secure": it's bad, but not too bad, because every language / API / server can be attacked.

You've effectively substituted a black/white dichotomy with something even worse: instead of having only two options (black or white), you now only have one: gray.

It is probably one of the most intellectually dishonest logical fallacy of all times and we keep seeing it more and more.

It's really concerning.
"are giving their work away to journals for free"

You know, the funny thing is that this pretty much describes the business model for all websites with user-generated content.
Java on the Desktop... in a biiig way.

My son loves it, especially building complicated redstone devices -- kind of a form of in-game programming.
Capricious gods. No, the game is actually quite fun. Is really easy to create something new from scratch. The same way that as a kid one used to love playing with Legos.

On the other hand, what is the appeal of Facebook? Is just a glorified chat room.
Getting Organic Links from Your Offline Event
... the use of which drives attention, legitimacy, and revenue to a scumbag.
Thanks. I totally agree that personal meeting is the best way especially since I know them already. However, i have a list of about 15 potentials and really wanted to sort of break the ice about this project in a streamlined way. Personal meeting will definitely happen but i m thinking more about how to break the ice ?
Thanks for the correction -- i was completely wrong! I heard the story 2nd hand from my friend who heard her talk at Rock and Snow in New Paltz.

I oversimplified my knots explanation so i wouldn't bore anyone. Isn't the fisherman's knot supposed to jam up the knot if you missed a loop of the figure 8?
++ for linking to some actual research ;-)
Congratulations to the Minecraft team, well deserved. Hopefully this serves as inspiration to other indie devs working on their projects.
It would be cool if there was some way to see the diff of what lines were added or under construction since the last publication of this map.
Like many foreign founders in SF, I've become a bit of an expert on immigration, so I think I can answer all these for you. However, I would say that no matter what, you should talk to a good immigration lawyer. Contact me privately and I can intro you.

Firstly, to clarify the process. You can actually prepare the docs and apply anytime, its just that there is a quota of 65,000 (+ 20000 extra if you have a Masters degree), and its done on a first-come first-serve basis. For the past few years, the visas haven't run out until after October, so you can really apply anytime.

OK, so your questions:

1) Interviews are a crap shoot, so you should apply to lots of companies. More than 10 definitely. February is not too late. If they're going to bring you over on a visa, than its likely that you'll do a few phone interviews, then be flown over for a full day of interviews.

2) With a job offer, you'll almost certainly get a H1B, so long as you apply in time. You'll need to have a relevant degree and not have any criminal convictions, but otherwise it should all be fine. When these fail, its typically because the company or their lawyers made an error or got busy. I've heard of people who got screwed because the visa person at their company was incompetent or too busy, and didn't get the H1B in before they ran out, or made silly mistakes. If possible, be involved in the process (ask for ETAs, offer to help, get on conference calls with the lawyers, etc).

3) There is a lot of lore around this, with people saying that you have 10 days, or a month, or whatever to get out of the country. The thing you want to avoid is being "out of status". If you are out of status for 180 days, you might be kicked out of the country for 3 years. Other than that, there are no hard-and-fast rules, and everybody knows it takes time to get a job.

If you do leave the country, you'll still be on your H1B, and so won't be subject to the caps when you get your next job, which makes it all much easier.

FWIW, I misunderstood some rules when starting CircleCi, and had to get a job quickly: I was able to get one in 5 days. If you're an engineer, there's a massive need for you in SF/SV, so you won't have any problem finding a job on a short schedule like that.

A final thing to note is that H1Bs aren't the only option. There are tons of visas that might work for you depending on where you're from, your qualifications, the company you're applying to, etc. Look into the L1, O1 and J1, and to any visas that apply to your country of origin (eg Australians look at E3 visas).

Happy to answer any more questions, and feel free to reach out to me privately at paul@circleci.com.

And we are hiring, see: http://news.ycombinator.com/item?id=5151422. Please apply!
How to use your existing PEM/OpenSSL key and cerificate with Java keystore
Take a deep breath and handle this like a professional. There is no need to use 20+ exclamation points. Abusing the English language isn't going to help the situation.

My consumer side feels your frustration. My business side feels bad for Freelancer.com. It has been 3 hours since this thread went live. Are you going to provide any proof of your own?
Whenever I use my laptop not on a desk, I balance it on one knee (I don't like sitting with my legs pressed together), which seems hard to do with the Surface. I also balance it on a couch armrest or a pillow in bed. The rigid base let's me use my hands on the keyboard to steady the device even when it's balancing with only one point of contact at the bottom.
2 previous discussions.

http://www.hnsearch.com/search#request/submissions&q=Sha...

Maybe the author can write a post detector next.
Notch is one of my favorite people. The guy just feels so genuine. He loves games, and that's why he makes them. I'm glad he's done so well.
I don't see much value in the proof-of-work concept attached to BTC, no. I know that the PoW is somehow bound up with the security and counterfeit-protection side of the whole system, is PoW mathematically necessary to this? If so then how much of it? Because if not then it's really doing work for the sake of it, to fight (ever harder) for a slice of the pie. The work done is lost to heat, not somehow forever bound to the bitcoin.

And really I rather like the idea of a central bank that is able to help stabilise currency by taking various actions, but then I'm not someone that gets upset at inflation 'stealing' value from my savings. Governments and central banks can help keep money and food prices relatively stable.

The privacy, yeah, good I guess. Low-fee... don't really care. The lack of any sort of chargeback facility makes the entire system very unattractive for someone who is not an online seller.
"Bitcoins are implemented on a massive scale, then there is a heavy chance that the rich will no longer become richer and the poor will no longer become poorer"

This is how we know you are not being realistic. Bitcoin is not pixie dust.

Let's put it this way: rich people could just buy all the Bitcoin currency units out there with their other assets, and then you would see them become even wealthier just by holding on to those units as deflationary trends kick in, and that is assuming that we lived in a universe where currencies without any legal structure around them can really become big. Do you really think people are going to forget about US Dollars or Euros or Pounds Sterling overnight? People still need to pay taxes, they still have to use courts to settle disputes, and so forth -- and poor people are going to be in much greater need of the currencies used for those things than rich people, and will be much more willing to exchange Bitcoins for those currencies.
Small town usa is sort of doable. Small town rest-of-the-world is not. I think the main issue is no mixed use buildings.
But you can't upload that 1-line JS script to imgur.

Animated GIFs are getting very popular again because even with 5Mb-8Mb sizes GIFs are easier to handle today, comparing to downloading that 200Kb Dancing_Baby.gif in the 90s.
> As a sidenote, I think getting a PhD increases your likelihood of getting an otherwise unlikely outcome in the sense of career success/advancement, getting rich, etc. (unless you choose academia). I mean, over the course of your career, you could really leverage your PhD, or you could not. In theory (and probably in practice most of the time), it won't hurt to have one, career-wise.

To give you another counterpoint, as a person who dropped out of a C.S. PhD and went to industry. Sure, it won't hurt to get a PhD. Getting rich unfortunately is only weakly correlated with technical ability beyond a certain point. 1) You are not going to get rich purely as a salary (wo)man unless you are lucky enough to be an early stage employee (which I don't see how the PhD or otherwise helps you that much. ). 2) To found your own company and leverage your PhD skills seems tempting but rarely if ever do PhD's have research that can be converted into successful industry products. Boston Dynamics is one of those rare examples. However, these opportunities are not closed to off to people who while they may not have done research in the field and know every other implication of certain strategies but have great contacts and know how to get things done.
The article points out that gasoline has sioux times the energy density of current batteries, but doesn't also mention that internal combustion engines are only about half as energy efficient as electric motors. By the time batteries are five times more energy dense, they will outperform gasoline in cars.
Maybe I missed it in the article, but did it actually say what it does differently than Sim City 4?
Ah, yes. I was still thinking C++ as the discussion seemed to slip over to simple C.
OS-tan: Personification of several OSes by Japanese artists
A shame. I found Answers actually a great place to network virtually. In the old days, before it was hidden, I used to answer a couple of questions a week and made sure I did it well. Made some nice new connections and actually garnered some work that way.

In comparison, I find he Groups noisy and pointless.
I don't know about this part:

After executing this step you are connected to your instance. We will have to install new packages. Some of them require root credentials, so you will have to set a new root password: sudo passwd root. Then login as root: su root.

Wouldn't using the "sudo su" command be a better approach? Granted I am only a developer not a sysadmin, but I thought the whole point of Ubuntu's sudo setup was to not have a usable root login.
If the FBI supplied this guy with a fake bomb, what crime did the guy commit?

He obviously didn't commit an act of terrorism. I don't even think you can claim he /attempted/ to commit such an act since the FBI gave him a fake. So we're left with what, the desire to commit an act of terror?
SEEKING WORK - Triangle, NC or REMOTE

Full-stack developer + "business guy" with 10+ years of experience

Specialize in conversion rate optimization (making you more money).

Resume: http://bradjasper.com/resume/

Latest Mobile App: http://bradjasper.com/perfectpitchpiano/

Latest Web App: http://domaingroovy.com/

Latest Side Project: http://bradjasper.com/subtle-patterns-bookmarklet/

I love building cool stuff, e-mail me :)
"Why wouldn't he" is a weak argument in the absense of facts or references.

Note that we're talking about prevalence of enforcement, not the anecdotes of it.
Congrats. Halfway to the ultimate goal.
Same here. The Sims was too much about the, well, Sims. I prefer constructing the entire city and dipping into their lives, if I choose to.
Why Meditate (for the Hacker)
Announcing TechStars in Chicago - TechStars
New York City - full-time

Canvas Networks (USV Funded) is looking for an iOS tech lead to join a small, close team building the rich-media community platform of the future. We’re working on some new innovations in mobile, and we want someone to help us build it. This is a lead iOS engineer position for you to grow into as we grow our iOS efforts.

To help us iterate and continue momentum, we practice continuous deployment to the extent possible, which presents some unique challenges with native Objective-C / Cocoa apps. On our backend servers, we ship twenty times a day – Apple makes things more complex but it’s a spectrum we’re interested in improving.

Free lunch, flexible hours, one of the biggest arcades in Manhattan (3 cabinets!), competitive salary and full benefits (health, dental, vision), take-what-you-want vacation.

Our office is in Union Square, Manhattan. If you don’t live in New York City, we’ll pay to fix that.

Shoot an email to jobs@canv.as with your resume, portfolio, and github if you have one.
Hmm that would be sweet, this map shows the year the cable was commissioned: http://www.submarinecablemap.com/
This isn't germane to the discussion.

> FBI Agents are busy flying to Iceland working on Hollywood's vision for the future of who owns the internet, data, and computers

Wikileaks has very little to do with Hollywood. Whether you sympathize with Wikileaks or not, hopefully it makes sense that since they have publicly released federal secrets, the Federal Bureau of Investigation would be charged with investigating them, right?

I make no comment on whether the handling of the investigation has been appropriate.

As for the rest of the post, I think you're trying to make the point that our "national effort" (of which there is seemingly be a finite pool) is being expended on an overseas investigations, so we couldn't fix weapons legislation or prosecute white-collar criminals.

I disagree. There's nothing to suggest that either of those problems would be fixed if those FBI agents were doing anything else. Frankly, neither of those problems exist for lack of effort.

> I know the FBI has to be irreproachable enough to resist the collective action of Mafias and cults/sects, which would make it a tough system to get rid of, even if it devolves into the Ministry of life/Ministry of truth (http://en.wikipedia.org/wiki/Ministry_of_Truth)

Could you explain, specifically, how the FBI is becoming substantially similar to the Ministry of Truth? It would help if you could explain who, by name, and what initiatives are responsible for this.
On the other hand, as someone who is also a decision-maker and currently integrating with GoCardless, we have been far more interested in what our customers are going to experience than in what we see ourselves.

I’m going to give GC a free plug and say that so far what we’ve seen on the information and back-end pages has also been nicely done, and as the guy using it and juggling many other things as well I do appreciate that. But they’re also a relatively young business, and if they have limited resources and need to prioritise, I’d definitely prefer they prioritise improving the experience for my own paying customers than for me as the admin guy.
The game's online-only DRM is definitely a downside. I hope the new SimCity doesn't go the route of Ubisoft's original Assassin's Creed, where players who bought the game legitimately were denied playtime cause authentication servers were down, yet those in possession of a cracked copy could still play without a problem.
I'd got a bit tired of the vanilla game, but now I'm completely hooked on FTB, a modpack along the lines of Tekkit. The replayability through mods is one of the things driving the success of the game.
Off the top of my head, I think it was New Zealand that had that airline notification thing, and I think that got you a 90 day business visa. That was ten years ago, and I lived in Singapore at the time, so perhaps I'm misremembering or they've changed the policy since then.

I think in general the reciprocity policy you mention is a good rule of thumb, although I'm sure there are exceptions.
>> A backpacker will be backpacking in the country for 10 days. Rather than having the hassle/cost bringing over a tent/sleeping bag they would like to rent them

Maybe some but I suspect many climbers/hikers put a great deal of faith in their equipment. Rental equipment is often abused. Beyond that, they aren't comfortable with it which adds an element of risk.

>> A business person visiting Dublin for three nights. This person would like an ipad for this time.

A business person traveling internationally will have all the tech they need and then some.