skysight-inc/HackerNews huggingface dataset:
> paying 21 million dollars for a clock design on your mobile OS seems to me like complete insanity

Well, they're not. They're paying 21 million dollars in exchange for not getting sued for more than that.
He's not apologizing for a comic -- he's apologizing for mischaracterzing people through his comic. He's not saying the point is wrong -- just that the labels are :)

I think it's a thoughtful, solidly nice and totally stand-up (and mature) thing for him to have done.
While I appreciate the effort to make some more simplistic APIs available alongside their more complex counterparts - libraries like urllib2 are not expendable in the process.

In the act of making an API simpler and abstracting the details - you loose a lot of the detailed control provided by these lower level libraries. Perhaps you won't miss the 10% as outlined in the slides, but someone out there will.

Do we really need both? I think no, but then again for most of what I do, urllib2 just works; I'm not really the target for requests. Just don't expect that requests will ever replace urllib2.
'the ballot is supposed to be secret'

I'd give up my secrecy for the convenience of casting my vote online. If I had friends that would judge me for my political beliefs...well, they wouldn't be my friends very long anyways. :)

This isn't the roaring 20's; Mobsters aren't going to come lean-on me to sway my vote. I will however, call the police on any who do.

But in all reality, give my IP Address/Identifiable information to the government to be able to cast my vote online? Yes. In a heartbeat yes. The NSA & CIA probably already have everything on me anyway. Young, home-owner, broke as shit just like the rest of the country, average job, average family, average affiliations, I'm a boring dude-nothing to worry about.

I do agree about security though, some big players would pay to have the election cracked...and the real stink is all it would take is a politician complaining about a suspected malfunction and the entire online process is review'd for WEEKS. Messy, but I'd still vote online if it was available.
I have the same question; since http://redis.io/topics/security mentions "it is not a good idea to expose the Redis instance directly to the internet", even with a strong password, are there specific measures to counter-balance this in the RedisToGo setup?

Edit: I've contacted RedisToGo to ask them directly.
Replacing it wouldn't protect them from infringement lawsuits, and a 30% stock downslide because of a 0.021% outlay on their $100B cash hoard is a little too insane even for a conspiracy theory.
If you use it as a template (as in: writing the same kind of things) it no longer comes from the heart, rendering it useless. It has to be genuine.

I liked the post as well, I might even consider being his technical co-founder, but I'm too busy building my own startup ;-)
BUYSTAND: Startup applies name your own price model to sporting goods
Collections are allowed to grow larger than size() can handle. The documentation for size() says:

> If this collection contains more than Integer.MAX_VALUE elements, returns Integer.MAX_VALUE.
This is actually an accessibility problem and as such it should just work by default (no extensions or anything). The difficulty is spending time to figure out the best way to do this as well as trying&developing the various solutions. I do hope it gets solved soon (GNOME 3.8 or 3.10).
What Makes for a Good Development Lead?
But no worries: the CIA, etc. would never devolve into something like this.

We are, after all, America.
I use a local authorized Apple repair shop for warranty work rather than use the Genius Bar, if it's at all possible (i.e. if it's for a Mac). I can show up at the shop at 9am with no "appointment" necessary. A friendly receptionist offers me a cup of coffee while they write up the repair ticket, and then I go on my way. I can then come back later and pick up the computer at my leisure.

Way easier for me than the mall store, and I support a local business. Good for everyone.
An App to create your own mobile website
Hmm. Saw a couple of likes in there.
Does anyone know which license MapDB is distributed under (GPL, BSD, etc.)? I couldn't find this information on the MapDB site.
I agree with everything but the last bit about Tesla. First, I don't know if Musk wants to sell. Two, I think Tesla has the potential to be a revolutionary company on the scale of Apple or Ford. I think being owned by Apple could stunt that potential.
Show HN: Re-vamped the Resume Magazine Style
Uncle Petros and Goldbach's Conjecture(http://www.amazon.co.uk/Petros-Goldbachs-Conjecture-Apostolo...)?
My GPU is from 2007 or so and doesn't have a fan. It runs GNOME 3 perfectly fine. At that time it wasn't the fastest; I went for the cheapest fanless GPU that would still be supported by Linux.

That compositing requires more resources, yes, but IMO you're exaggerating on the resource requirements.
Hi jwpeddle, thanks for all of the feedback! All of the changes I've made are on a branch called 'hn-fix' (https://github.com/peterldowns/lggr/tree/hn-fix) if you'd like to take a look.

> Why is your example logger named d? It might seem nitpicky but
> it's hard to read an example with a meaningless single character variable.

No particular reason -- you're right, I will change this now.

> "d.close() # stop logging" - what is this? What does it mean to "stop logging"
> and why do I want to?

This is a way to "close" the logger and clean up all of its associated coroutines. An example of when you might want to is upon catching a fatal error to your program, you might want to log the error and then safely clean up all open files or network sockets to which the logger is writing.

The method name is clearly confusing -- what do you think of using "shutdown" instead?

> "Add a coroutine" - I would wager the lay Python developer doesn't
> even know what this word means.

Maybe not, but they should! The readme now includes a link to dabeaz's coroutines page, and I'll add a quick overview in a couple of minutes.

> lggr.Lggr() - Why not just name the class Logger?

For consistency's sake. Maybe if I had to start again I would call the project `logger`, but I decided to be "hip" and use a vowel-less name instead :)

> The default format variables are inconsistent about when words are separated
> with an underscore.

The initial idea was to mimic the variable names from the default logging module (http://docs.python.org/2/library/logging.html#logrecord-attr...). You're right that it is confusing though! I think I will rename everything to be lower case, one word, instead of the default module's mix of camelCase and underscore_separated names. Thoughts?

> I can't make sense of the example logging calls. In one you pass a
> dictionary as the second argument, in another you pass three strings
> as separate arguments. Why would anyone pass a message like this
> instead of just using standard string formatting? Especially when
> there's other legit arguments like extra. It's not even really clear
> why you'd want to pass something in extra instead of in the message.

I should definitely clarify what formats are allowed and aren't. The log message format is using standard string formatting -- string.format(), to be exact. The 'extra' argument is a result of trying to imitate the default library (see http://docs.python.org/2/library/logging.html#logging.Logger... for a description of the 'extra' kwarg), and can be useful when you'd like to pass information to every single log message.
Was there today at PyCon Canada and not only was the presentation Kenneth gave very good, but he was very awesome to talk to afterwards. I randomly came across his 500px account, so we sent him a shirt, and he wore it on Friday just to say thanks :3 (I actually didn't get to see him on the Friday night party, probably because I know him best by his pixelated twitter pic, but it is super cool that he take the time to think of stuff like that).
Levenshtein distance and the Triangle Inequality
Is this code available on github?

Alternatively, you have the attention and the publicity, you could turn this into an a revenue producing product, sticking an ad somewhere on the page, and then providing it like a YTMND kind of "fill in the blank" system. At the very least, you could use the Romney thing as a springboard for a viral entry.

At the bottom, stick a "Make a graph for any project" link and commence.

At the very least, this could net you a decent handful of cash for minimal work, and, presumably, you already have the attention. Now take advantage of it before the spotlight moves off you.

Disclaimer: I say all this, not as a marketing type, but just as a geek who's run his own stuff for years, and I see a possibility to make a couple extra bucks with this well done implementation. Maybe it'd turn out to be a waste of time, maybe it'd score you some pizza and beer money every week, or maybe it'd serve as your entry as a "Social analytics" company or whatever. Either way, I think it's worth exploring.
> So as the square has four sides I'm going to say the answear is 4 multiplied by PI and accept I'm probably wrong but it is what we call a educated guess.

That might be somewhat funny: but we are looking for a probability.
Apple iPhone turns into invisible keyboard
A disk seek (e.g., if you have more data than RAM and are using virtual memory) might take ~10ms. A packet round trip within the same AZ in EC2 is <0.5ms.
It isn't cheaper ... yet.

Such visions are the stuff of startups.
> The first (shared with Unity) is that I have a dual monitor setup with large screens.

Unity supports large multiple-monitor set-ups without any issues! Each monitor is provided with a copy of the launcher. IMO this makes it far easier to interact with applications when using a mouse.

Personally, I have Unity running across 3 x 24" screens without any issues at all.
This shifting blame in a lazy fashion, I see this a lot with open source projects.

If you want to provide a good desktop experience, go the distance. Make sure I have a usable system, be accountable for everything that is installed by default and/or I need to actually use the system you are offering.

I don't care if Apple uses a subcontractor to make their Activity Monitor app. If it doesn't work, it's Apple's fault.
Luckily it's very easy to disable having the launcher on every screen because that's just about the most annoying possible default.

It really gets in the way of dragging windows across monitors. Let alone having windows placed "over the fold". Something I often do when things start getting crowded.
Neil Stephenson's Cryptonomicon (http://en.wikipedia.org/wiki/Cryptonomicon) is not only great science fiction, it'll also teach you a bit about math, integration properties, cryptography and even Perl!
it's just a bit of fun. seeing the tweets roll in is payment enough
Oh, you mean perform actions on the windows without leaving the overview? That would be nice.

EDIT: I seem to be have been a bit confused before.
Private Labelling Rights?
This would have been really neat during the debates if it included both candidates.
I think it's astonishingly cowardly, sheeplike, and maybe even un-American to curate your "likes" this way, just to disassociate yourself with a loser. If your convictions mean anything -- that is to say, if you have any -- then why would you change the public picture of them like this?
I believe that the only way that online or electronic voting could work would be as an freely distributed "open source" community built & tested solution. If open source is secure enough to run the Whitehouse website it is likely secure enough to manage recording a vote.

Maybe we could engineer a situation where we use thin virtual clients from a master server and the actual "complete operating system" of the voting device could be imaged or have a current snapshot stored on the same media as the vote reciept itself for possible later verification or even independent verification on the spot by interested code developers.
Its more like, a user interface that helps beginners, than a beginner's user interface. It's the first iteration of a UI that will improve and evolve. I really like it, particularly the emphasis on consistency in the metro app design guidelines. I like the search and share charms, the live tiles also work nicely. The emphasis on typography, space and no app chrome may not be new, but it certainly feels new and fresh on an O/S. The touch screen design guidelines are also well thought out, a simple example being the placement of common actions on the bottom right of this the screen when you swipe up, easy reach for the old right thumb!
Regarding the hybrid desktop/metro situation, I think that is much ado about nothing, things can still be pinned to the task bar, I am not crying at the loss of the start menu.
InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonPainter
or maybe they only paid the bots to stick around until the election...
Boss: We should include a clock face that looks like that Swiss one.

Minion: Aye aye.

Doesn't mean the boss intended for it to be an exact copy, or that anybody even realized it was protected. Swiss clocks are like 900 years old, surely it's public domain by now, right?
Regenerative Medicine Timelines from Anthony Atala
Awesome. After doing Dr Boneh's coursera course earlier in the year, which ought to be compulsory for crypto implementing devs, this looks interesting. Now can I justify a trip to california in january... Hmmm.
I can't express how depressing dealing with text encoding issues in any language is.
Photos of Cabins
While this is not intrinsically fascinating to me (or, I imagine, most people, regardless of their feelings toward Mr Romney), I find it an extremely good example of the new types of data historians will get to use in the future.

I keep imagining Ken Burns ominously reciting Facebook Like figures, or trending Twitter hashtags, in addition to statistics on how many bombs were dropped in Iraq: "As Romney exited the political arena, public awareness of how close he came to the presidency seemed to erode, at a rate of over 550 likes-per-hour, he soon faded into the sunset of the American political landscape ...".

Obviously this is an exceedingly simple example, akin to the first steps in distributed computing like a Wikipedia wordcount, but I would love to see more sophisticated historical analyses in the near future.
A Facebook “like” doesn’t just mean you like something; it means at least one of at least these options:

1. You like it.

2. You understand that “likes” are used by advertisers, distributors, etc., to track brand popularity, so you clicked like to support something that you might not personally like. (I’ve done this with, for example, friends’ projects that are of no actual interest to me.)

3. You want to see its updates. (I have a leftist friend who likes to keep an eye on the right wing and “liked” Romney on Facebook for exactly this reason, even though it’s essentially a “dislike”.)

There are probably a couple others. Peer pressure, for example? Besides which, I think it’s fair to withdraw a like from something if you believe it’s outlived its usefulness. If I’d “liked” a ballot measure that failed to pass, for example, I don’t think it would be in any way dishonorable to stop following it now, even if I still completely supported its aims.
Just released my new app: Lightning Utilities  Check it out
+1. Would love to know the name of that font.
We've put in place the best practices advised by Salvatore. http://redis.io/topics/security. `In general, Redis is not optimized for maximum security but for maximum performance and simplicity.`

There are few projects building SSL into Redis https://github.com/tritondigital/ssl-redis; but nothing has been fully adopted by the community yet.

We offer a VPN, SSH and IP restrictions to bolster security. We currently only offer these to our larger plans, but can offer a custom solution depending on your requirements.

- ben@redistogo.com
Proby: cron monitoring and reporting made simple
What? In java there are multiple GCs available: ConcMarkSwep, G1GC, ParallelGC, and I believe a couple more. All you have to do is set the right CLI flag.

From the concurrent mark and sweep docs: "The concurrent mark sweep collector, also known as the concurrent collector or CMS, is targeted at applications that are sensitive to garbage collection pauses. It performs most garbage collection activity concurrently, i.e., while the application threads are running, to keep garbage collection-induced pauses short. The key performance enhancements made to the CMS collector in JDK 6 are outlined below. See the documents referenced below for more detailed information on these changes, the CMS collector, and garbage collection in HotSpot."

It does have to stop the world sometimes but those times should be quite rare!
From Github:

"What you should know: MapDB relies on mapped memory heavily. NIO implementation in JDK6 seems to be failing randomly under heavy load. MapDB works best with JDK7"

The original JDBM2 apparently worked fine under Android; I wonder how the new implementation (JDBM4 renamed MapDB) fairs.

I do worry about Java as implemented on Android diverging from the official stuff in general. For example, Android does not have NIO.2, and Harmony NIO bugs would be different than OpenJDK NIO bugs.
Smuggled USB sticks are the 21st Century version of samizdat.[1]

[1] https://en.wikipedia.org/wiki/Samizdat
I am the developer of Pancake. I've found here after I got a mail saying that Pancake was mentioned here.

I have to admit that benchmarking on an OpenVZ VM probably isn't the best idea. However, at the time of benchmarking, my VM was the only one on the host node and I've made sure that no other service on my VM could create high load.

I believe that CodeCache is more efficient than APC and easier to use. In a future version I will also improve the CodeCache, allowing more code to be cached than now possible. I am also planning on having a feature for automatic configuration of the CodeCache.
Tiny datapoint as a former Apple retail employee: you quickly learn to adapt to the din and can filter out most of the chaos.

Customers walking in experience a punishing wall of noise and flesh, but most employees can socially read the room and communicate without trouble.
"I sent out a dozen or so emails to restaurants in my vicinity but didn't receive a single response."

You need to call them.
Thanks. I must be missing the movie ads recently.
The article is just mind-bogglingly silly: The author quotes a number of experts, explaining why it is a really bad idea and why it would compromise the integrity of the election. Then he goes and, around those quotes, puts some fluff where he suggests we should do it anyway, cause he'd find it convenient to vote on his smartphone.

Here's a basic check for the author of the article: If you want to demonstrate how online voting is the future, but you can't find any experts supporting your point of view, and don't have anything refuting their serious arguments against it, maybe it just isn't such a good idea after all.
I don't think these product categories can last forever, they've had 3 massively disruptive products since Jobs returned in my view (and many others) iPod, iPhone & iPad.

iPod sold really well, but it peaked in 2008, it's unlikely to explode again. [http://en.wikipedia.org/wiki/File:Ipod_sales_per_quarter.svg]

There is clearly strong competition for the iPhone with Android, with Nexus 4 (and others) coming at much cheaper price point it's not clear they can hold the margins they had.

The iPad seems to still be doing well and particularly the mini seems to be well received - but how long is that going to last with the Nexus 7 & Kindle Fire bringing the price expectations down.

Apple really needs another product category - something you can see that Steve Jobs with is background as a entrepreneur, particularly failing at NeXT while away from Apple - was a master of. It's not clear who will lead the new product category, neither Tim Cook or Johnathon Ive are entrepreneurs and it's not something they are likely to learn while at Apple.
It's trivial to format a bullet list on HN:

* Leave blank lines between bullet points,

* Start each line with <splat> <space>

* Bob's your parent's brother.

Hope that helps. See also:

http://news.ycombinator.com/formatdoc
I'm sure the average share holder cares more about a rounding error of a settlement than the departure of a major executive, iPhone 5 stock levels, or the uncertainty of legal battle fought on many fronts.
Failure as a default is how Erlang manages to keep systems up with 5+ 9's reliability. The difference is that, with Erlang, the entire system and the applications built on it are designed around that.
I wish someone would make a 3D sound simulation plug-in for blender. http://www.blender.org

You could add "speaker" objects that produce sound, just like "lamp" objects currently produce light, and allow a "microphone" object to receive the sound waves. Microphones could be tested in multiple places of the model space.

Useful environment spaces and materials could be provided, such as cathedral, studio room, creeks and outdoors, etc.

A smell simulator would be nice too.
Explore Shakespeare iPad Apps
Or now might be a good time to a short break from coding...
This stuff doesn't matter. I'll bet a lot of these are fake users that spammers want to keep under the radar and since they are no longer useful for this particular campaign, they are removing them. It's amazing the amount of developers out there that are not aware of how prevalent spam or fake likes are.
I don't actually want a choice! When I use Gnome 2 or Gnome 3 fallback mode, there is exactly one system monitor and it works. The extensions site lists 3 named system monitor and 3 pages of search results with similar descriptions. And my prior experience has been every extension breaks on Gnome version change. And usually they don't end updated so I have to go find another set of extensions.

I am one of those (apparently few) people who actually agree with the Gnome approach of less configurability and options. (Right up until one I use is removed of course!) As standard I do not need a large choice of system monitors, workspace managers, window switchers, volume menus etc. I need one good official one, that works out of the box and is still present as Gnome does its biannual update.
I think it is a fairly common requirement to use multiple IPs to avoid throttling or for APIs that restrict access to individual IPs.

The fact that he was confused by it does not help his credibility when he is trying to tell people how to design their libraries.
> Make sure I have a usable system, be accountable for everything that is installed by default and/or I need to actually use the system you are offering.

Agreed. But how does that apply here, really? The system monitor is not installed by default and is not needed to use the system GNOME is offering. The case here is more alike if Ubuntu bundled some vim plugin into their default installation and people throwed shit at vim because the plugin doesn't work.
Video Of The Week: Founder Liquidity
Maybe Nate Silver can incorporate this into his model in four years.
Yeah, the point is apparently just that unthinkingly accepting p = 0.05 as your cutoff for significance is moronic (this point is utterly uncontroversial among thinking humans), whereas the labels make it seem as if he's trying to say something about the controversy between frequentists and bayesians, which he didn't even know existed.
He's thanking someone for taking the time to correct a possible mistake he made; In turn he's pledging to attempt to avoid further similar mistakes.

All in all, I think this was a wonderful exchange.
Sci-fi thriller Tears in Rain takes replicants to a new level