skysight-inc/HackerNews huggingface dataset:
The key point is that finalize() is not reliable, so you shouldn't depend on it. The correct idiom is more or less

myResource = foo();
try {
...
} finally {
myResource.release();
}

Some programmers (although I've never met one) try to avoid this boilerplate by writing a finalize() method on myResource that releases it. It's an anti-pattern. C# and Java have syntactic sugar now that makes the boilerplate shorter, which should help.
I would suggest a much more clever way to virility; Help me actually MAKE something I WANT to share...
How about a tutorial on how to build an utterly awesome [document] thaat I just must share!
An invite, a how-to, op-ed...something!!

This is actually pretty clever.

Bret and Team...not to be presumptuous to offer you guys advice, but I think this could be very useful.

Picture this....the way make/consume documents has changed drastically since Word was initially created.

There could be a VERY powerful viral loop in here somewhere, but I don't think it is on the surface.

If you guys built it into the document type being created, e.g. you made some nifty tools that allow me to make 'wedding/party invites' from scratch (with some sexy templates or features that add significant value to the creation of an invite) - then you add the address book/viral element built into that process, once it is done - it makes total sense.

Once they create an invite, they want to share it.

The same is likely true for other document types - e.g. Resumes, Basic Flyers (say for Yard Sales, etc.), article that needs to be proof-read before submitting (like an op-ed), a school paper, certain legal documents, etc.

So, I guess what I am saying is....if you take a step back and think about different document types that people might want to create. Then you build tools to make the creation of each of those documents easier, than say using Photoshop, Word or Google Docs - then you build in the viral loop into the appropriate document types that make sense for you to share it.

I think THAT would be revolutionary.
How Copyright Made Mid-Century Books Vanish
Free book today: App Marketing and How to Make Money with iPhone Apps
> Meanwhile, your doctor in the hospital is stuck using some 1980's software, which drains the very life-force out of him by the amount of pain it inflicts with every use

This isn't exactly true but the truth that it hints at is largely about mass standardisation, accountability and global purchasing rules for large organisations.

The same applies at telcos, banks etc. You can turn an oil tanker around quickly.
This is a good post but the original title is not clear. I found it when I tried to post it again. Can you edit the title afer it was posted?
While I can see why you would attack Google Docs, I think there may be an even bigger play here.

Abstracting Document types and building tools to make the creation of each type more rich.

See more details in my other comment here - https://news.ycombinator.com/item?id=6132528
The recording already exists, and someone decided to push out the transcript. The date is the date the recording is to be played on the radio.
Could you provide your ImageMagick command, so we don't have to navigate the flag-infested waters?
OT: "This page has insecure content."

Change this:

<script type="text/javascript" src="http://static.bufferapp.com/js/button.js">

to this:

<script type="text/javascript" src="//static.bufferapp.com/js/button.js">
What's New for Visual C++ in Visual Studio 2013 Preview
Well, you never have guarantees that this won't happen even if you free().

Reasonable resource consumption is an engineering decision based on context (target, expected problem size, etc).

Deliberate leaking is IMHO a totally viable engineering strategy. If anything, behaviour is actually more reliable and predictable than the alternatives apart from "upfront static allocation".

If you ran into problems and want the entire system to behave predictably, you could on Linux disable vm overcommit, set oom_adj (so leaker proc gets killed preferentially), set strict ulimits and ensure abort() on malloc failure. However if you have to go to these lengths, leaking might not be appropriate ;)
Working on a scripting interface to Linux designed so you can configure everything internally to your application (ie it can run as the init process) with no significant dependencies (you can statically link it)[1]. Its not finished yet, but you can configure network interfaces, routing etc. Needs some more examples, build scripts etc...

[1] https://github.com/justincormack/ljsyscall
Bill Gates interviewed by Playboy (1994)
Deep Dive: Vector pipelining in Renjin (R for JVM)
When a government couldn't be trusted by the general population in the past, you got revolution.

Or if it couldn't be trusted by a part of the population (e.g blacks) you got civil rights activism.

Only a very lazy and apolitical society would say that technology is the only recourse.
Fair enough, but the state is pursuing Snowden with similar fervor. Do you believe he will be afforded reasonable whistleblower protections for being more judicious in his revelations? I suspect the state will demonize him in the same way, and seek to send another message to whistleblowers that revealing state crimes will cost you your life.
Wasn't Google Maps an acquisition?
Quite a few Radio 4 shows are pre-recorded segments, usually available beforehand as a podcast download and afterwards on iPlayer.
Quote from OA

"If you want a private conversation at work, you're better off having it in a public place - the stairwell or coffee shop - than in the goldfish bowl in the office."

There is a coffee shop in the centre of Birmingham where I now avoid sitting downstairs in the cellar. Too many groups of managers sitting round talking in some detail about what are obviously personnel matters. They have paperwork on the tables as well for heavens sake...
Their marketing division might be shady, but they also make very solid devices. I've had my s3 for awhile and haven't felt the need to upgrade at all since it still performs super well.

As an Android developer I really appreciate what Samsung did in raising the bar for Android devices, and really bringing them to the mass market. High quality Android devices have been around for awhile, but it was far more common to see most people walking around with the low-mid tier Android phones. Samsung made it "cool" to own an S3, and now you can release and know that many of your users will actually own a solid Android device.
Options are the devil
For a lot of these simple command-line utilities, it wouldn't matter anyway. They often work by building up some data structure that's then used to process the rest of the input line-by-line, and then the program exits. If the data structure is never freed, so what? It's needed until the end of execution anyway.

Think of compiled regular expressions for grep, or total counts for wc, or a rotating line buffer for tail, or the previous line for uniq.

It's quite possible to get pathological behavior even with GC or careful RAII, as anyone who's ever leaked memory in a Java program could tell you. Simulating a computer with infinite memory breaks down when the working set you're touching exceeds the physical RAM of the machine. Actually, leaking memory is the least of your concerns in that case, as leaked memory just gets paged out and doesn't cause any problems unless it exceeds the computer's address space.
Good points. However, regarding performance, you can get a lot of mileage by moving over to JRuby + Torquebox (cluster) and further improve response times by adding a caching layer and maybe throwing in Angular.js / Backbone.js (templating moves to the client side). So the goodness of Rails dev speed and the performance of JRuby is a decent combo IMHO. But like you mentioned, if you need to scale beyond that Scala is a good option.
Reassigning some ipv4 IPs on a handful of corporations' internal networks would dwarf the cost of upgrading the entire internet infrastructure to ipv6?

I get assigned a new ipv4 IP by DHCP every time I reboot my computer. And you should hear the infrastructure people at my ISP and workplace and university squeal when you ask them about ipv6 - far too much work, they say, no plans on the horizon.
An interactive look at zombie makeup in the AMC hit show
Native Crash in Android 4.3 when calling Picture.writeToStream()
I imagine that ones metabolism factors in as well. I was sick once, couldn't eat anything for 14 days due to large wounds in my mouth. I felt fine if you factored out the pain.

Lost 8-10kg (I'm an athletic, not large person) and I could barely exit a car when I visited the doctors office. I remember being very tired, but not feverish, so I don't think that factored in.

Regained the weight extremely fast when I started eating again. I remember how that surprised me!
So, basically, it looks like as if I move my /usr/local directory between hosts to be run under chroot, using aufs instead of tar.gz, lxc instead of chroot and some wrapper around ssh and scp? but with all that hype and memes? It looks like implementation of FreeBSD's jails with impoverished ports and fancy command-line tool. OK.

Update: what is really interesting is the amount of hype the Docker project created, having no fundamentally new ideas or technological advances, just well-written (we must admit) web pages full of buzzwords.

As a person who ran FreeBSD jail-based virtual hosting in production, I would say that disk and network I/O will be a bottleneck, because either interface does not scale well enough.)
Orangevolt Ampere - create apps (in JS) like wizards based on a automata def
This is a great example of why open source is brilliant. Everybody wins. We get a PSD parser. LayerVault benefits from the world improving they're core product too.
In the study, Pearce and his team chose 20 common household items listed on Thingiverse, such as cellphone accessories, a garlic press, a showerhead, a spoon holder, and the like.

Then they used Google Shopping to determine the maximum and minimum cost of buying those 20 items online, shipping charges not included. Next, they calculated the cost of making them with 3D printers. The conclusion: it would cost the typical consumer from $312 to $1,944 to buy those 20 things compared to $18 to make them in a weekend.

Oh come on. Like all those items online were made out of the same low-melt-point plastic and the 3d-printed ones were of equivalent quality. I'm very much pro 3d-printing but there's some serious reaching here.

The last page of the study (http://www.academia.edu/4067796/Life-Cycle_Economic_Analysis...) offers examples such as a shower head with prices ranging from $7.87 to $437.22, jewelry organizers from $9 to $109, and orthotics ranging from $99 to $800. There's a little bit more going on with the expensive ones than just being a heap of plastic that you can duplicate at home, I think.
No, such a thing does not exist. At least not automatically. There are stories[1] about large corporations getting complaints from end customers in Asia about not being reachable - and it turns out the customers only have IPv6. IPv4 FAIL.

(Note: APNIC ran out of IPv4 addresses more than two years ago[2], and has had rapid internet expansion in the mean time. Asians are heavy IPv6 adopters.)

Such a thing you imagine could conceivably be implemented, but it would be an extra thing for the IPv6-only ISPs to implement, and they do not have the incentive to do so. The current companies with servers do have an incentive to be reachable by IPv6-only customers, and are the only parties who can reasonably solve the situation, by implementing IPv6.

1) https://www.iis.se/blogg/ipv6-nar-sent-inforande-kostar-peng... (Swedish)

2) https://www.apnic.net/publications/news/2011/final-8
Sass & CSS preprocessor support in Chrome DevTools is now documented
I've been switching from Eclipse to intellij/ android studio recently - the difference is amazing. It's so much faster (like way faster), and still far more powerful, and even looks nicer. A few things are a bit harder to find, but that's just because I've been using eclipse for longer.

Now they just need to add NDK support and I'll be able to switch to it full-time :)
DONATE to Torservers.net crowdfunding campaign to get more bandwidth
As VLM pointed out, our definitions of rich appear not match at all, hence my question earlier in the thread "do you really think this?" and your "are you just saying this to be contradictory?"

So, my definition: being rich is having enough assets that I can comfortably provide for myself and my family without needing to work ever again. To me, being rich is about freedom, not about having lots of expensive toys or habits.

In my definition, income level is entirely irrelevant, which is why we are talking past each other, because that appears to be the focus of your definition.

As to seniors: exactly – don't most people look forward to retirement? Except he's getting to do it with his children as well as grandchildren, with his youthful health, 30 years earlier and for 330%† more of his life (never mind that he also manages his money a lot better than the average person so it provides more than a simple life in Florida.)

† Life expectancy (LE): 78 years. Retirement age (RA): 65. MMM retirement age (MA): 35. (LE-MA) / (LE-RA) = 43 / 13 ≈ 3.3 = 330%
He says also in the comments:
"Manual testing, the ntrssurl parameter was present in an example in the documentation for adding custom news feeds to the plot :) ."
Another thing is I get to save $$ by not buying lunch and breakfast. Plus I've not been sick (cold or flu or anything really) since starting this and I kind of wonder if my body has more chance to fight infections because it's not constantly processing food. Just a thought as I used to get colds/flu at least 3 times a year.
Everyone is overlooking the fact that he was fed yeast, a source of protein, during most of the fast.

Without protein his muscles and body organs would have been consumed and he would have died.
This viewpoint became very popular recently and it strikes me as odd. Does the author always leave his house unlocked because there is a law against theft? "Your" nation state over which you presumably have some degree of political control is absolutely not the only adversary. There are foreign states, there are cybercrime gangs etc.

Also, while politics sometimes trumps cryptography, the opposite happens just as often. All the police force is useless if they don't know where to point their guns (see Silk Road)
These problems are largely due to the eclipse android build system being a bit of a hack.

This is changing though - android studio (and soon ADT in eclipse, IIRC) are using a totally new build system based on Gradle, which is awesome.
Proposal would let ride-sharing firms operate in California
I think it's about the culture. Many Java shops are simply assembly lines.

And really, it's logical - if you want to build an assembly line, you pick a popular language for which you've got not problem in finding cheaper developers.

This isn't representative of all Java shops btw. And if you've got a different perspective due to your involvement in a JUG, you do have to keep in mind that people (or companies) joining a JUG do so because they want to be a part of a community, or for the learning experience, which is why JUG members are not representative.
What Obama's Grand Tax 'Bargain' Would Mean for Your Business
Question to people who have used finalizers in GC languages: can you describe what you used them for?
>So MIT and the prosecution unfairly targeted Aaron to serve their personal motives. And now you're suggesting we unfairly pin his death on them to serve your personal motives.

No, I'm suggesting what you describe as "my personal motives" are actually the greater good.

And that it would not be "unfair" to pin his death on them, since they, as you say, " unfairly targeted Aaron to serve their personal motives".

(Also, you seem to conflate similar behaviour --e.g serving one's motives-- as being of the same moral value regarless of the causes and circumstances.

To give a vibrant example, a bully beating a nerd is serving his personal motives. The nerd fighting back will also be serving his personal motives. But it's clear where the moral superiority lies in this case).
A shameless plug: you can give https://github.com/kmike/psd-tools a try.

I've read PSD.rb docs and a bit of its code; the implementation is one of the best and complete I've seen (I've checked almost all PSD reader implementations some time ago).

But it seems that psd-tools is mostly on par with PSD.rb. It also have some features that PSD.rb doesn't have, e.g. full support for 'zip-with-prediction' compression, including 32bit layers. Such images are very common in practice, and parsing them is not easy because the compression format is not documented anywhere, and "zip-with-prediction" for 8 and 16bit layers is totally different from "zip-with-prediction" for 32bit layers (for 32bits it is really tricky).

If PSD.rb authors are reading this, I urge them to check the decompression code in psd-tools (https://github.com/kmike/psd-tools/blob/master/src/psd_tools...) or in Paint.NET PSD plugin (http://psdplugin.codeplex.com/) to not waste the time.

psd-tools also knows how to export individual layers, and there is an experimental support for exporting layer groups; it seems that this is not implemented in PSD.rb yet.

PSD.rb has some features that psd-tools doesn't have, e.g. it parses "Font data" which is really cool and hard because the format is not described anywhere.
轉檔切割DVD至WP8, 在諾基亞三星HTC 和 微軟WP8 上播放DVD影片
切割DVD至WP8, 切割DVD至微軟WP8, 轉檔DVD至微軟WP8, 在微軟WP8 上播放DVD, 在Windows 8上觀看DVD, DVD轉檔至Windows 8 phone, DVD轉檔至Windows

行動裝置, DVD轉檔至Windows 8, DVD轉檔至Lumia 920, DVD轉檔至HTC 8X
In addition to selling extra-high priced items to NSA/Military/Government, the Government could allow the company tax breaks it wouldn't get otherwise.

Tax rules for a company of the size of Microsoft are not simple. It's not impossible to hide stuff.
You would have Macbook Air, just not one with 512 GB SDD.

Of course, from the MBA with 512 GB SSD we can assume the OP has unlimited amount of money :)
>If you want to prevent the next gifted hacker from hanging themselves

No, I don't want to do that (not that I could).

What I want to do is to prevent the next gifted hacker from being prosecuted for BS and under overblown terms.
So you prefer to use a product that signs you up involuntarily? Interesting.
US Shows No Mercy: Bradley Manning Convicted
Just to clarify, if I want to run this as part of travis then I should have the screenshots under source control and when I intentionally change the UI I should run it locally and push the new screenshot as part of the commit but when I don't intend to change the UI it will fail the build if something changes.
spoiler for those not reading the article: the idea that every group can be worse than average relies on considering two entirely different groups to be identical with each other. Obviously, if the definitions of groups are consistent through time, this problem can't occur.
I thought this would look for words in your text that make for a good hashtag, e.g. converting "you only live once" to "#yolo", and make hashtags from nouns but not verbs and commonly used words. Unfortunately it seems to just put a "#" in front of every word, which (for me) isn't even worth it to go to that website, type my text, copy it over to twitter/instagram, paste it, then send it.
Is there a way to test responsive designs with this? Can you set the device metrics?
Someone else may have mentioned it, but it's really annoying not to be able to do a regular signup through gmail. I don't trust anyone to manage my contacts I'm afraid. Perhaps make those components optional, but just use them for auth?
In what way does this help people with hashtags? What problem is adressed? Just by looking at the use of hashtags by my non-technical acquaintances on Twitter or Facebook, nobody seems to have a problem with them. #confused

Idea for your next website: de-hashtagify a text. Implementation: something like s/#//g on the input text.
Not Really FF/Cr Only.

http://snag.gy/SzUHK.jpg
http://snag.gy/cTUOA.jpg

(Tested on IE11 preview on win7. I dont have earlier versions.)
If our communication tools were decentralized, encrypted and open source, then the NSA would have had a much harder job listening in.

It makes eavesdropping without a warrant harder. However, in some countries the refusal to turn over a private key to the police is already a crime [1]. I don't find it hard to imagine that governments would seek to require that private keys are handed to the government or that they would reintroduce a Clipper-like chip. Especially if it becomes harder to wiretap via Facebook et al.

I agree that a political solution is strongly preferable, but I'm not sure if that's ever going to happen.

I am not sure. I think that under sufficient political pressure, it could happen in Europe. Perhaps with the wrong motivation (weakening the position of US companies), but some influential politicians (e.g. Neelie Kroes) have been very critical of Prism. Of course, we don't know that much of the breadth of data collection of EU security agencies...

[1] http://www.schneier.com/blog/archives/2007/10/uk_police_can_...

[2] http://www.zdnet.com/prism-fallout-could-cost-us-cloud-indus...
This isn't mutually assured destruction unless they both put everything they have into the risked funds pot.

Say Alice is a squillionaire and Bob is pretty skint, then under this scheme Alice might deliberately screw the deal to burn the funds on purpose, as for Alice it is a small loss, but for Bob it is devastating.
The entire internet infrastructure (backbone routers, etc.) is already using IPv6, so the cost of implementing IPv6 is, by now, entirely on the end-site side.

You should also include a number of additional cost of reassignment, including growth of routing table size.

I'm sorry to inform you that apparently your ISP, your workplace and your university are all either lazy, lying, or both. Implementing IPv6 takes, maybe, a few weeks if you have many servers and a large internal network. If all you have is a webserver which you want to be reachable by IPv6-only customers, an interim solution (tunnel) can be implemented in a few minutes.
You're a marketers dream. So easily convinced by some "specs"
https://news.ycombinator.com/item?id=5136741
The only way being shown someones baby photos could get any more awkward and annoying
Putting a # in front of every word is not exactly what hashtags are meant to be for.
Satire requires a bit more groundwork than this really.
It was six years before I moved from a practical to a strategic technology role, now at board level I try to keep my hand in but I don't really touch anything that customers see, I just write documents, have meetings and direct people.
Since when has Apple relied on spec checklists to sell a product
Designing for Readability
If you want to draw a distinction between those two types of net non-neutrality, fine. But this is still a convenient distinction for Google to be drawing. In a competitive market, I don't think either type of non-neutrality would survive.
And with Bitcoin this could be a valid strategy, since Bitcoin's value deflates as Bitcoins in circulation are destroyed.
> No solution on Sun JVM will ever be able to replace Erlang for applications which require low-latency processing

http://martinfowler.com/articles/lmax.html

I've spent a great deal of time trying to make a very similar erlang system reach 1/100 of the throughput/latency that the LMAX guys managed in pure java. There are days when I cry out in my sleep for a shared mutable variable.
Yeah, can't imagine how you are supposed to have a 1-on-1 private convo with a student in an open environment like that either. Perhaps there always needs to be a bunch of break out rooms for use too.
> Interconnecting private networks belonging to different organizations that have overlapping 10.x addresses is a painful process

They could just use IPv6 for that