skysight-inc/HackerNews huggingface dataset:
The difference is that the Go style can provide a sane fallback, which the client code can IGNORE.

For instance, the built in map type returns a pair of values, the first is the actual matched value, the 2nd a boolean. If a key is not found the value is set to the type's zero-value, and the boolean as false. So for a map of string->integer, instead of throwing a NoSuchKey exception or something, just returns 0,false. So there's no mandatory ceremony when you don't care.
This is awesome -- you never know when a solution like this might come in handy.

Wayyyyy back in the day (NS4, IE4 day) I used the width / height of an image the browser polled every few seconds as a transport mechanism... the only other option (refreshing a hidden frame) caused an irritating "page refresh" clicking noise. This was before XMLHttpRequest obviously and was enough bandwidth for our needs. It worked so well that I believe its still being used in production systems.

I haven't looked at the javascript generated in this animated gif solution, but I assume that it does some stuff that wouldn't work in the pre-IE6 browsers. It would be extremely amazing if it did though.
I always found take-home exams to be the hardest exams I ever took, and I think they most accurately test a person's depth of knowledge about a subject. The problem with in-class exams is that they often reward test-taking and memorization skills rather than organization and analysis.
I'm probably being a simpleton here, but are you aware of cygwin? It's not the same as a terminal, but it's really useful.

http://www.cygwin.com/
If everything is typed, it seems they might be able to run that through http://turnitin.com. I think it is meant for mostly essay papers, but I would think with the influence of Harvard they could get a special deal to adapt it to traditional question/answer things and be done with it.

Academic dishonesty is a no win situation. It makes the students look bad - and then it makes the school look bad for having low quality students. maybe ethics needs to be a required first quarter class.
Your reply contains exactly the kind of nuance I should have used above. I'm constantly complaining (mostly on facebook) about how arguments devolve into one-dimensional two-sided affairs, and here I fell into the same trap. Thank you for providing that clarification.
I consider myself a self-taught developer even though I hold a CS degree. The reason is, what is taught in college is not always up the standard required by the industry.

The only thing I learnt from college was the list of topics that needed to be studied. I spent time learning those things practically on my own.

That was the thing that helped me land a job immediately after college.

So I would say that a college CS degree is really a subjective, It depends on the person and the college.

Any self-taught developer who has the interest to improve him/her self can and will learn the foundations eventually.
Just reviewed the first newsletter. Good cross-section of a very hot sector. Any chance you can include a section on 3D scanning? Also interested in copyright law.
I think many people are angry because it appeared that Apple would include the adapter at first, but later retracted the statement on the website. Had they not mentioned the "free adapter" in the first place, there may have been less angst. Its like telling a kid he will get free candy, then saying "oh, it was a mistake. No free candy."
Building an iPhone app - step-by-step guide from start to finish
Anything crucial we've missed?
An Imagined Timeline Of The Future
I don't think it's about his "innocence" or lack thereof.

The problem is that authorities are sending me, and thousand of other computer literate people like me across France, a very clear message:

It's okay to download music illegally as long as you don't do it from your own connection. Couple that with the fact that most home routers are still running on default WEP (?!) encrypted connections, and we're virtually outside the reach of this law.

This law is a terrible one, I really hope the government will do something about it. Thankfully, it looks like the victim is "only" going to be fined for 150euros. But what if the next scapegoat won't be as lucky? (In all honesty, the madness going on in US courts give me the creeps...)
The big complication in Go that makes exceptions tricky is, "Who is my real caller?"

If you're in a goroutine, is your caller the place your goroutine was launched from, or whoever is hooked up at the other end of the channel that is expecting you to respond? In some sense it is both. Where would you propagate an exception? How do you choose?

Returning exception values provides an answer - it is up to you.
Is this a first? Google voluntarily censors anti-Islam video in Libya, Egypt
Does that mean I can just remove the Firefox extension installed from https://addons.mozilla.org/en-US/firefox/addon/pdfjs/ and then turn on this setting will enable a built-in PDF viewer?
Technically OSX is an 'official UNIX,' and Linux is not so far as I know. I'm not sure of any of the BSDs are stamped with the 'official UNIX' label.
If you are careful enough to learn the basics good and practice what you have learned, there is not really anything that can get in your way. So it depends on the person, but definitely working with more advanced developer can improve your learning curve. ;)
Andrew Koenig : When Systematic Testing isn't Enough
Ask HN: Key Reforms in India today. How will this affect the Indian economy?
India made some key economic reforms today.
--Partially deregulate cooking gas and diesel prices
-- Allow FDI in retail and aviation
-- Some disinvestment in state run companies

These are some of the important ascpects. You can read about it here http://www.ndtv.com/article/india/government-approves-fdi-in-retail-and-other-big-bang-reforms-267499?pfrom=home-lateststories

Now, the opposition parties have already started crying foul, saying the government is not bothered about small merchants.

Raise of cooking gas prices(after removing subsidies) will directly tax the home budget.

Trucks have already announced 15% hike. This will ripple into essential commodities also.

Besides all these cons, how will it benefit India in the long run ?
No library in a language with exceptions as they're normally used would do that. Exceptions are for exceptional cases. You use the method that throws only if it is a programming error for it to throw; and you do not, as a general rule, catch exceptions. See eg Dictionary.TryGetValue in .net. Your argument is against a straw man, IMHO.
No, because the article essentially asks: does the new iPhone have enough bells and whistles to keep it's position, and compares it to other handsets like Nokia Lumia and Galaxy Note. It's putting up iPhone 5's hardware features against a few competing phones. It does not take platforms, operating system or any software into account.
I don't think Apple will do that: I think that Keychain is like the Reader mode and Reading List in Safari. It has some features that are like those of a third-party service, but because Apple isn't invested in the service for its own sake, the effect is that it raises the bar for third-party services, not that it replaces third-party services.
For #4, "Let’s say you fetched a record in one view of the app. Then you fetch and update that same record in a different view. In Spine.js, both records will update." This sounds like completely standard Backbone.js functionality to me. It just seems like the guy writing this post wasn't familiar enough with the framework to even begin making "why I switched" posts.
The ISO standard recommends using a small space instead.

Numbers consisting of long sequences of digits can be made more readable by separating them into groups, preferably groups of three, separated by a small space. For this reason, ISO 31-0 specifies that such groups of digits should never be separated by a comma or point, as these are reserved for use as the decimal sign.

http://en.wikipedia.org/wiki/ISO_31-0#Numbers
I'm genuinely impressed by this research and would have probably become a physicist myself if images like this were available when I was in high school. But I have a nit to pick...

"hexagonal bonds of carbon atoms"

No. Maybe I'm just having an issue with the terminology, but those hexagonal shapes are not the "bonds" like the ones we'd draw for a molecular shape in chemistry class. That's just where the orbiting electrons squeeze between the nuclei. You get these bright lines because electrons' orbital paths are concentrated in these areas.
I have used iText(sharp) for several years. It works very well.
See links and monitors in Erlang as another way to do it, tried and tested for decades in production code.
So are you saying python is not a sane language?

>>> a = {}
>>> a['foo']
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
KeyError: 'foo'
Hence why Japanese use kotoeri, which usually works perfectly well.
This doesn't use any javascript
Steam Linux client release looks imminent – games and beta spotted
Another day, another ban.

Let's just ban the lot...
(Explanation using financial theory)

If they don't get in now, it will be harder to do so later when profits in that market increase.

If they do get in now, but the market's profits do not increase, they can choose to back off.

The value of the option to stay in the market later may exceed the cost of entering the market now.
Using the suggested generator (http://www.xiconeditor.com/) it turned a 5kb .png into a 32kb .ico - Looks lovely but seems v.excessive..
Ah, I just realized that this simply prints text out in a gif... it doesn't encode text in the gif and then decode it in the browser into text that javascript could manipulate. Too bad. I wonder if that's possible...
On most problems, no, a reasonably free market is very efficient and quite practical.

The market often fails to sort out public-goods problems. In areas where the market is not free due to widespread deception and/or coercion, going full Somalia is not the answer. The freedom of the free market has to be bootstrapped somehow.

Also notice that it is quite ordinary INSIDE companies to have central planning and resource allocation. (And not-entirely-favorable comparisons to the Soviet Union are certainly possible for many of the largest companies - I do not refer to liberal politics).

If it were a universal law that planning were always wrong, then every family and every individual would be a fractal of pure capitalism. Instead, my dog and my daughter do not pay for the health care I provide and are coerced to go for walks and go to school, respectively. And each part of my body carries out its function in a more or less compulsory way, without bidding for glucose.
Code First - New approach by Web Designers
Nice try Startupbootcamp guy. Won't fell for it.
Two interesting news stories today related to this in the US:

A judge showing surprising common sense that, even in civil cases, you are not necessarily responsible for someone else using your connection.[1]

The RIAA continuing their campaign of ruining peoples lives over a few shared music files [2]

[1] http://gizmodo.com/5943025/you-are-officially-not-responsibl...

[2] http://www.theregister.co.uk/2012/09/11/thomas_rasset_loses_...
Parent's point is that he wants better documentation, and possibly better consistency, on things like breaking lines; breaking lines was just an example to illustrate the larger point.
There was a great thread in a previous discussion on HN about error handling that had a reply from lkrubner (currently, and likely forever, the top response on that thread) that went into some detail, causing more ensuing discussion. (edit: Ah, and then he links to that same article you linked to!)

http://news.ycombinator.com/item?id=4468849
Great analysis, I am indeed biased. But too lazy to describe my bias in details, so I just write with bias.
Why do people keep saying this? The x86 devices are required to allow loading other OS.
A Brain Implant that Thinks
I want to believe it's a joke or trolling.
Apple is holding off on wireless charging until wireless charging is more common. Phil Schiller has said as much. You still have to plug in the charger itself. Whereas with USB you can plug it directly into laptops and it's also offered in many other devices (monitors, car stereos, airplanes). And this avoids trying to engineer two different charging methods. Apple would still have to offer USB charging, they're not going to force all iPhone users to buy a wireless charging station, not yet.
Pretty small distrubted task manager we recently open sourced and have been using in production for a months processing million+ tasks a day.
Microsoft Office 2013 RT Final Versions Available Starting November 2012
I know Google famously censored political speech in China until Sergey Brin made his stand [a], and it continues to censor videos in e.g. India [b] (blocking content which could provoke Hindu-Muslim violence). But in those places, the courts of those countries force them to censor; here, the censorship is voluntary, seemingly of their own initiative. Is there a precedent for this?

[a] http://en.wikipedia.org/wiki/Sergey_Brin#Censorship_of_Googl...

[b] http://www.reuters.com/article/2012/08/21/net-us-india-viole...
LTE iPhone Will Be Unveiled This Week
I like them. The only annoyance is that you're forced to wrap your return value in a monad even if the function succeeds. That's type safety for you!
Pope Pranking and Other Passions of the Rich and Famous
Unfortunately Mozilla, Microsoft, and Apple are dragging their feet on SVG support: http://en.wikipedia.org/wiki/Favicon#File_format_support
This makes me want to cry. What happened to design and having a good-looking and creative interface?
You can also use image streams: http://minipenguin.com/?p=647
I should really consider using lighter scheme, because I have never done this and maybe it would be better for my eyes, so thanks for these. I like the solarized, ironman and AutumnLeaf most.
Damn I totally missed that, thank you very much. The Reading List in Safari may use 64x64 for the Retina display.
Sweet. Going to keep this in mind for when my site needs a pdf viewer. Awesome tool
Pogoapp - A Heroku alternative
Yeah we use the C# version as well, I've done some hacking on a Clojure wrapper around the java version. it's nontrivial :P
You should do a makeover of the shipping interface on the UPS website and blog about it.
Europe moves into the last /8 of IPv4 addresses
You have any evidence for that?
I really hope they pick WebOS back up. It is an awesome product, by far beats Android in overall quality and ease of use and development, it would be a much, much better competitor to iOS.
Which part, Sweden or Bangladesh?
Minecraft has shown that good games don't need the latest and greatest video to be fun and popular.
They censored the DNC speech and who knows how many thousands or hundreds of thousands other videos. It may have been "automatic censorship" because of their idiotic system, but that's not exactly a very good excuse for such important (political, no less) videos and on such a large scale, is it?
Yeah, nice.
Thank you for this story. I always wondered why ebay looks the way it does. And I always assumed it was because of greed (the reasoning being something like: "If we can charge for bold text, we will not matter how it looks"). This puts ebay's design, or the lack of design, in a much better light.
I'd choose to work with product developers than software developers anyday.
I think you're missing some context. In the case of that one feature if Apple HAD "copied from Android" it would probably have been better than what they actually did. What Apple did (in iOS 5) was integrate with ONE specific social network, Twitter, working directly with that company to accomplish this. What Android did if I understand correctly was make a general service available for sharing to things like social networks generally. I don't think Apple has (yet) copied that feature at all. (I could be wrong, because the parent poster's comment was vague, made in passing, and not since elaborated.)

I don't think it's questionable at all that Samsung copied its "trade dress" from Apple, just as it had earlier copied from Blackberry. Or that they explicitly copied lots of specific features from Apple.

(Though I agree that we might be better off with less protection against that sort of copying. The world would not be a better place if McDonald's had been able to patent the idea of a drive-through window (or buy the patent for it from someone else) and then charge all other fast-food restaurants an arbitrary fee to license the patent portfolio.)
I did not knew that there is an ISO standard for this, will use it the next time, thank you!
Sure, and you've got to check the boolean if you care. Which is almost the same as the (gasp) Java code:

// don't care
value = map.get(key);
do bleh

// care
if (map.containsKey(key)) {
do blah
} else {
value = map.get(key);
do bleh
}

To be clear, there are two kinds of errors:

1. The code is screwed up. Java runtime exception, log and hope someone is paying attention to the logs.

2. The world is screwed up. Java checked exception, catch and return a nice message to the user.
I've spent too many important years getting someone else rich while getting paid.

I'm not going to do it for free.
That second case has been going on for years. I don't think the RIAA has brought more people to court lately.
Someone once said the job of the government is to keep people one meal from revolting.

So this may be an indicator that the population that gets affected by the price of cooking gas was getting too well of to submit to certain jobs.
Am I the only one who is saying "What the heck is Go and where did it come from?!" All of a sudden, in the past month or two I am seeing a lot of talk about Go, out of thin air. What's the rage about? Is it really going to take over the world?!
I was JUST looking for something like this yesterday. Could become very useful if you keep at it, I'll definitely be checking back from time to time. One minor nitpick: perhaps normalize the height of your snippets in the main grid view?
I've been programming professionally for about 8 years, and I'm self-taught.

To be honest, I've found that my degree carrying co-workers fall way short in the basics. Perhaps it's just me, but my background in languages went something like this: GW-BASIC -> QBASIC -> ASM -> C -> C++ -> PHP -> JS --> Python -> Erlang -> Ruby -> C# -> Clojure. So for me, programming in C meant that I had to understand linked lists and sort algorithms.

I've sat in in interviews before and asked candidates (with degrees and experience) the difference between a dictionary, a hash-set and a list, and I just get blank stares.

So no, I think it's more about the desire to learn. If you have a true interest in Software Engineering, you'll teach these basics to yourself. If not, then not even college will help you.
Fab.com Drops Load of Cash on Facebook
I had a lot of take home mid-terms and in class final exams with the same "figure out 2 or 3 proofs" format. The professors were always more forgiving on the final exam since you only had 3 hours. But if you missed one step in the take home mid-term that you had 4 or 5 days to complete, BAM mark that baby way down.
Thanks for pointing that out and putting it kindly.

In case anyone is interested in spotting any further red flags with the idea, here is a similar paper by Ransom on craters and spherules: http://www.benthamscience.com/open/toaaj/articles/V004/SI016...
Curated Text introduces "web-books" - go ahead, learn something
You chose a great place to live. Kyoto is the Silicon Valley of Japan. I will be attending the event and can help you connect to the local community. Thank-you for setting this up.
Vexatious litigant ordered to pay X/Open over $5 million for his folly
I usually let out some man-tears on especially touching movie scenes, book passages, music verses and family occasions, but I'm pretty much sure this is the first time I couldn't hold it while reading an article. At least 5 times.

"The Promise" sounds like some utopian sci-fi plot, and the childrens' thank you notes for their unseen benefactors are more than heartwarming. These kind of investments that empower and multiply their effects are the farthest reaching long-term, and just brilliant.

Now I want to be a billionaire.
Ask HN: CS Grad with 6 months to kill, How do I level up?
I'm a recent CS grad from a top 5 University in my early 20s who has sold his soul and has 6 months free until joining full-time with an Investment Bank in London.

If you were me, how do you spend your 6 months? Money is not an issue.

I'd like to level up as a developer, fully understand the domain of the company I will be working for (finance), see some of the world, and focus on some self improvement.

As far as improving technical skills go, I'm just not sure where to start. I want to be highly proficient in Java, C++, Haskell, and Python. Maybe this means re-learning them ground up. Maybe this means re-learning CS level Math. Maybe this means learning about HFT and working on a prototype of some sort. I'm just not sure.

Where do you start?
Does Google/YouTube proactively restrict content based on notions of intellectual property or other US interests?
Yes, but in this case it's overtly political -- they are blocking videos on the basis of their speech content.
AnandTech: Why the iPhone 5 Lacks Support for Simultaneous Voice and LTE
Yelp Chair Max Levchin's Trek from Kiev to San Francisco
This makes me think of when Tumblr was still a nice, stripped down platform for blogging, instead of Livejournal 2.
I've been using it for a few weeks now, and have noticed that it:

- renders very well

- is extremely slow on large documents with images, but pretty good with text-only ones

- offers a more integrated experience than Adobe's plugin

I think it's very promising, and I look forward to seeing it become more polished.
21 Things You’ll Learn From Blogging for 10 Years
Can you give an example where such shuffle instructions are useful? I'm genuinely curious.
I didn't click on the link, but it looks like XSS to me; the tooltip looks like script injection that dumps document.cookie.

I don't care to confirm if this is real or not; but navigating to www.bobparsons.me/index.php sans the query params appears fine… I wouldn't call this a full "defacement" just yet.
Astrobotic Goes Spelunking
A friend of mine wrote a Citrix ICA client using this idea and a server-side image map, IIRC. It was actually usable.
Box plot in python
This post shows how to create a box polt with matplotlib.
To be fair, his recent posts don't look like spam, but have a low chance to be upvoted either.

I guess he overdid it with submissions, and pg banned him.

I haven't had much success with my submissions either, but most weren't of much interest here either (as shown by the lack of upvotes :) ).
there is no client side code or am I missing something?

how do I decode my data from animated gif in javascript?
I agree, Snow Leopard was my favorite. I'd like to go back to it but I have a retina display, so Lion and up it is for me.

As for remembering open windows, which is indeed very annoying, you can turn it off at System Preferences > General > Close windows when quitting an application
The only free work I'd do is working for myself.
Do you build websites using echo, Response.Write or whatever your language of choice is?

The reason people use templating languages client-side are exactly the same as they use them server-side, it's much easier to maintain a larger app.

Most template languages are extremely lightweight and blazingly fast, slow websites are 99% of the time due to sending too much content or slow server-side processing.