skysight-inc/HackerNews huggingface dataset:
Your example isn't conclusive that what you're saying is true. Your example is just showing that the extended module only appears in the instance's singleton class, this has nothing to do with method cache. It's how the method cache is implemented that matters. The new method caching changes can't be seen from user code.

I'm curious as to whether the ruby-core team implemented method caches for every Object in the system (eg: every instance of User would then have its own method cache because they all would have their own singleton classes) or just objects that are instances of the Class class. I seem to doubt that the former happened because it seems like it would be expensive to maintain a cache for every object, that means a normal Rails request that generates 65,000 strings would all have their own method caches. Only instances of the Class class having their own method caches sounds more reasonable from a performance standpoint to me.

For what it's worth, I've been trying to get an answer about this from a ruby-core member, although my attempts have been quite lazy through Twitter.
If you type a wrong password in "su" on OpenBSD, the binary responds immediately telling me I'm wrong. On Linux, it does this stupid artificial 3 second penalty.

The Linux way sounds better, but the OpenBSD way is better. If you want people to use passwords, don't do petty nagging of them when they make a mistake.

On Linux when I mistype a password, I control-Z the "su" session and launch a new one instead of sitting around like a scolded schoolboy waiting for the binary to give me another chance.
(Now that I'm off my phone I can provide the link: https://github.com/anasazi/rust-redex )
Beer Locker: Building a RESTful API With Node
I wrote a comment pointing to 6901, but it's probably still in moderation.
Link should be http://eftm.com.au/2014/05/the-entrepreneur-startup-kit-to-h...

>The Entrepreneur Startup Kit is a complete gee up from our mates at Kogan - 5 out of 5 for fun
I would agree.

Giving away a good portion of your infrastructure in a public forum and asking for configuration help, IS just asking for trouble.

The "large and interesting" deployment line was stated and reiterated several times as being "important" to the level of help that you'll receive from them. I fail to understand HOW this will garner more users to your service.
I tend to prefer it, though not on my Kindle - The Kindle interface is optimized for linear reading.

On either an iPad or laptop, though? Having search is great. As is having the ability to have a whole stack of them with you at all times.
Has anyone found a review of how this app works in practice? It seems like it could work well for unopened perishable foods, but do the founders really expect that strangers are going to want to eat each others' half-eaten, saran-wrapped block of cheese? It sounds like a nice idea in theory, but in practice I think people are pretty turned off by eating strangers' food.

I think the founders would be better positioned for success if they marketed a social network component, which would facilitate friends and neighbors borrowing from each other.
I use Safari Books for all my programming ebook needs. The best thing about it is searching through all books on the service. If I want to know about a specific class, function or concept I just type it in and get every book that mentions it and every occurrence in that book.

The downside is the Apps, they're slow and prone to crashing which means that the web is the only viable interface.
In the worst possible way - it makes clear that they're vulnerable to it.
You could even say that more regulation makes more competition less probable. What good are more rules in a time of To Big to Fail? The entry to market is now more difficult for starting business owners.
First thing I said was "nooo they've moved it back over". I love(d) the centered results.

PLEASE bring them back!
class MyDict(object):
def __init__(self, d):
self.__dict__.extend(d)
def __repr__(self):
return repr(self.__dict__)

import json
r = json.loads('{"body": {"translations": [{"tr...', object_hook=MyDict)

>>> r.header.title
u'Hello World'

>>> r.body.translations[1]
{u'translation': u'guten tag', u'language': u'german'}

>>> map(attrgetter('language'), r.body.translations)
[u'french', u'german']
To give an opposing view, as an applicant, I personally didn't feel there was any privacy breach. Everyone that applied knew they were applying to the entire conglomerate of YC companies, so when one sends a nice email, thanking all the applicants, there really should be no privacy issue. If anything, sending a more official looking email, explaining what it was for instead of just a transaction could have preempted any concerns.
Where is "Try this search on:" box that used to be on the right hand side? I found it extremely useful.

Also the dropdown in search button that allowed to, say, sort the results by date. (I often forget query parameters)

Overall I like the esthetic direction ddg is taking, unfortunately I found two good features missing.
A Scala to JavaScript compiler
No they don't exactly follow semantic versioning, which is as useful as not following semantic versioning at all.

Specifically, I believe they're planning on breaking API compatibility within major version numbers.
Thumbnails and metadata for almost any kind of file
Very tangential but I used to skip songs a lot and make a lot of custom playlists but have moved towards listening to albums front-to-back and not skipping songs. I still have a couple small playlists that are a sort of "greatest hits" of my collection that I shuffle every once in a while.

It has greatly improved my listening experiences in general, and has made me discover songs I forgot I had/ I didn't listen to much before.
Not really, it's a fairly limited approach. You can only block entire hosts. Adblock Plus uses a combination of URL-based resource blocking and CSS-based element hiding.
Outlier Detection in Time Series Signals
As I currently understand it, any commit you push to the main branch (so not wip/feature branches) will count towards your activity graph being filled out. This includes projects in your own repo.

So I'm assuming you were referring to the possible difficulty of finding and selecting projects to contribute to. You can also contribute to ones of your own.
that's some fantastic leveling. thank you for that.
I think they should have a VIP program akin like WordPress. I think every serious Open Source project should have some kind of separated channel for Corporate/BigInstalls.

I would not entirely place the blame on PowerDNS here, it also points out that how our Corporate citizens can do better for the eco-system by being active partners with the Open Source projects they rely on, instead of hide and snipe mailing-listers.
As I understand it, there's a lot of places overhead creeps in that tends to make this sort of thing vastly more efficient than making multiple calls. Sure you'll maybe send data people don't want this time, but it will probably save processing and networking overhead that would be spent building and sending a long list of the fields they want. When designing an API I tend to lean to being a bit more verbose than I need to be, if only to save the HTTP overhead of another request. At least until HTTP2 helps us out there.
That actually sounds a lot like what CISPA was trying to do. And I remember Google supported CISPA.

And I don't know if we know enough details to conclude that it's only stuff NSA shared with Google and others, and not the other way around. Why would securing mobile devices be such a priority for NSA, unless they were the ones trying to get into them, and getting Google, Microsoft and Apple to help them with that?
They might have gotten permission, and /or gave Google a %.

I think in most companies, what you do in company time, belongs to them. That's very reasonable, since you are getting paid already
That's the exact reason that most pop music is marketed at teenagers. For them, it's the first time they've heard it (relatively speaking). As you get older, you've heard all the 4/4 C-major stuff you can stand. Even if you're not particularly musical, you will still subconciously recognise that pop songs are repetitive and fairly unoriginal after a while. But it's an easy sale for the record labels, so that why they do it.

That doesn't mean that there doesn't occasionally come along a good song or two. It's still perfectly possible to write a 4/4 song in C and have it be interesting/fun/good to listen to. Unfortunately you'll have to wade through a whole load of crap in the pop charts before you find it ;)
Find startups as soon as influential investors follow them
Orbitkey + 1Password + Hazel = ♥
Plaintext passwords used by Sublime's SFTP Plugin stored on GitHub
Don't you get myriad of posts with those the official feeds [1] [2]?

[1] https://news.ycombinator.com/rss

[2] http://www.reddit.com/r/systems/.rss
Thank you. I would say it's a buzz word from the recruiters. However, it's interesting to hear Ari said he built the app from hardware, OS, frontend, backend, etc as a full stack development in the episode.
i work better after i shower. so, showering is important.
No worries. dwolla.com I believe uses and existing relationship with a credit union/bank and hence restricts real-time transfers to account holders of that/those bank(s) - which is a small percentage.
Additionally it requires signups, SS# etc. so the experience is fundamentally different. The problem is not just being able to make a financial transaction but able to do it easily - when I'm transacting on the Internet the last thing I want todo is signup for yet another service
It'd be nice if there was a public API that could be used to make the data available to people that really need food but don't have an iPhone.
Also the chart backfills, so if you work in a feature branch and it gets merged into a main branch, github looks at the dates of your commits and uses that.
Hi i'm Luca, one of the Ratatouille Developer. Apple have some strict guidelines about communicating position of people or devices. After 3 rejected submissione we have decided for our MVP this was the quicker way to have the app in the app store.
I'm not sure his evidence given supports his statement of "no correlation" between a state's Business Tax Climate index. He says the most business-unfriendly state is showing the smallest decline, while the business-friendliest state is showing the smallest decline.

While the full data may actually show no correlation, his highlights show the correlation "business friendliness -> lower business creation."
>During the awake hours of Europe, since there is less traffic, it is harder for an article (even though it's buzzing, relatively to the traffic) to move around the front page.

My experience has been the polar opposite. I've had a number of posts sit on the front page for hours. One of my most recent posts drove massive traffic to our blog and sat on the front page for over 8 hours.
Bingo. I wonder what their brute force protection is like, but I'm not going to go pentesting the login of a company I'm in the same legal jurisdiction as.
I thought that too. The kind of people that could really benefit from this aren't likely to have the budget for an iPhone.
Some people are tired and not at their best after a full day of coding.

Especially if their day job sucks, which is one reason people look for new jobs.

Not too long ago I was at a job where management demanded 11½ days. Guess how well the team members could handle an interview at 8pm.
One of my pet theories when I developed intercooler.js (http://intercoolerjs.org/) was that, by targeting specific UI elements with only the data necessary, you might actually cut down on the amount of data transfer between the client and server when compared with some general JSON APIs, despite the fact that HTML is a less efficient data format.

I'd expect this to hold, in particular, in areas where JSON isn't particularly a particularly efficient encoding mechanism (e.g. tables)

It's an interesting thing to consider, at least.
This is terrible advice. While I understand the author's desire to encourage people to not give up, if you've been working on a problem for several hours without a solution, it's time to do something else and let your subconscious churn on it.
Regarding you technical points:

Yes, there is an issue with O!, it makes too much garbage, it should be corrected.

I guess your point is to store depth of a drawable instead of traversing the tree? I'm not sure how faster it can make the entire rendering process.

tick(fn) to register fn is only called during initializations (not every frame), it doesn't matter how it is implemented.

Instead of pin({}) you can use pin('name', value) or simply reuse your {} object. I don't see any problem with "_next = {}" where it is used for creating tweening.

Without type hinting it is still fast enough, but good idea.

Thanks for your point about "throw", however I'm not sure functions having "throw" really need to be optimized, but I will consider that.

absoluteMatrix is only for internal use, and I have not documented it yet, but it is what it is and is only updated on ticks for performance reasons.

Thanks for your point about drawImage try/catch.

I'm not sure how drawImage with source params is optimized across different platforms so for now I have let it be as it is. But I agree with your point.

There is obviously a lot to make it run faster but the point is to find bottlenecks which really matter. For example in most case the bottleneck is the physics engine not rendering engine at all.

Also if you notice you can see I have done a lot to make it fast, for example using lots of timestamps (ts) and monitors (mo) to avoid unnecessary calculations.

Anyway feel free to fork it and change anything to prove that I'm wrong! I will appreciate that!
So if not C++, then C? Exist a good library of lock-free?
Now, it would be fun to run predictions on the portofolio and investment data. Predict what companies will get investment next, what domains are hot, and so on. Who knows, you could even make money from this.
A finite blacklist? No, I don't think so. A regex blacklist? Yes; trivially if you can be radically overly cautious.
Complete bozos is what FizzBuzz is for, right?
I'm reading Big Nerd Ranch's Android guide, and it's been pretty solid so far.
There's a "flag" button, which has the same sort of effect. Don't be shy.
Hey HN, one of the developers of FilePreviews here, I can answer any questions you might have.
Disabling pasting requires disabling JavaScript in a real end-user browser with an end-user who doesn't know how to un-disable pasting.

Never trust the client['s computer]. Disabling pasting is trusting the client's computer. Security in depth ends where the Internet starts.
> Settlement-free peering assumes that bandwidth usage is roughly symmetric: when it's not symmetric, the side sending more bandwidth has to pay.

Does it assume that?

Since about the time of the web browser, we've had consumer-focused ISPs. Consumer traffic is mostly small requests for large replies. But as the article suggests, Level3 has a lot of settlement-free peering with consumer ISPs. My belief is that being settlement free isn't about equality of packets, but equality of demand. E.g., I have a lot of servers made to serve consumers; you have a lot of consumers wanting access to my servers; let's just split the costs.

In any case, given that those Comcast packets are mostly requesting all those Level3 packets, it seems much fairer to charge Comcast disproportionately, as its their customers who are creating the demand.
Ask HN: Systematic approach to learning design
I am a developer looking to get a but stronger with design. In particular, I'd like to improve my skills with mapping and data visualization, and strong design is key to creating a quality finished product.

I learn best with systematic, organized materials with exercises, much like a college course or MOOC. Are there any resources out there like this to learn aspects of design?
You can hook your Kindle to your O'Reilly account, so purchased books will be sent directly to it.

That being said, you'll still have to enter in your payment information whereas with Amazon is one or two clicks.
It's the typical use that we have thought about Ratatouille App
How El Niño temporarily slows the Earth’s rotation
This is immediately solved by Lenses

_Object . key "them" . key "public_keys" . key "primary" . key "bundle"

which you might complain saying that this is yet another idiosyncratic method of traversing data types. In fact this whole thread is full of examples of other idiosyncratic methods of traversing (JSON only) data types.

Except lenses aren't. Lenses are highly principled and compose and combine in ridiculous ways while maintaining their exact behavior. Half the features proposed in this thread exist naturally and "emergently" by the nature of lenses. Finally, they follow mathematical laws describing how everything should work together all to the T.

At the highest level a Lens is a getter plus a setter bound together. You can extract either component to get or set a subpart of a value.

At the next level, you can take note that lenses "compose" (as a category) by letting you reach deeper and deeper into a structure. This is what I took advantage of with the JSON example above: composing them with `(.)`.

At the next level, lenses generalize naturally to "traversals" which target multiple subparts all at once and "folds" which build exotic "getters" over multiple targeted subparts.

At the next level, lenses "dualize" to prisms which deal with branching types. This is hard to explain if you haven't used a language with a true sum type (Scala, Haskell, ML, and lets not get into lazy/strict sums) but I used one above to traverse into the "Object" indicating failure if my assumption of the structure of the JSON blob were wrong.

At the next level you generalize these into isomorphisms which have nice mathematical properties determining when two types are identical by giving you invertible mappings between the two. This is like a lens which focuses on the entire type as its "subpart".

(http://hackage.haskell.org/package/lens)

---

At the end of the day there are even more steps in that hierarchy. It sounds ridiculously complex, and it is a little bit to learn. The advantage is, however, that the intuition of "focusing on a subpart" applies over any data type and with pretty near any weird combination of "lens-like" operators you can dream up.

---

Usually when someone first hears about lenses they say "Oh, getters and setters. I have those already, no big deal". That's really far from the case, however... Lenses end up being the XPath of everything.
Amazon Prime contributes to this. Once a year I spend a pile of money, which by my calculations probably isn't actually worth it. The value I get is how I feel much better about Amazon purchases and don't have to worry about considering what kind of shipping to pay for.
Happy to see one of our Keybase API responses used as the example here. I can share our intentions with that API call in the long run, and how it'll end up smaller, which is especially important for mobile devices.

The dictionary describing the user you requested comes back with some high level sub-dictionaries in it: "profile", "basics", "public keys", "pictures", etc., and the API replies, currently, with all the data to which you're entitled. This is quite huge as Tim mentioned in his post.

Server-side we have a module for loading user information, which allows you to request which of these fields you want when loading a "user object". For example, on a certain page of the site we might load a dozen users but only need [user.BASICS, user.PICTURES], so that's the only data that will be loaded.

The API simply doesn't expose this filtering mechanism, yet, as calls the API hit [user.ALL] which is a combo of everything available about a user. So, in essence, all we need to do to trim these down is allow you to pass a filtering parameter.

Btw, going in the other direction, there'll be a way to query for multiple users at once, fattening things back up :-). So for example you could request just basics + pictures for an array of usernames or userids.
If you generate your JSON with Java using Jackson, it offers Jackson-Views, a very nifty way to define sets of JSON properties according to use case.

* http://wiki.fasterxml.com/JacksonJsonViews

* http://techtraits.com/programming/2011/08/12/implementing-ja...
I use mtr. But reading it takes experience, so for a month or so just fire it up everywhere you go, especially when things are working well.
http://www.liblfds.org/
I guess they try to pull it back and if it's not possible they eat the cost. I imagine any bank that tried to force people to use 2FA and/or get rid of the zero-liability policy would lose a lot of customers.
I think this may be a good thing. Kind of like a house cleaning for businesses. I can count on both hands how many companies I find out about each week and ask myself how are these people still in business.
I only buy technical books in ebook format nowadays.

The technology changes too quickly for us to keep killing trees and generating garbage piles of paper with last year's hot technology.
Why buy an ebook when they offer Safari Books Online?

I've been able to discard hundreds of pounds of dead trees and reclaimed the associated storage space.

I was easily spending over $50 a month buying books before I became a subscriber.
It is generic, but the graphs on arewefastyet.com suggest that it isn't actually making most regular benchmarks go faster, just some of the asm.js-style ones.
I've been working from home for about ten years now, and I agree with the author's points. I will also note something the younger readers here might not be thinking about yet: kids and pets. If you think your XBox is a distraction, you have an education coming on the what a real distraction is.
Another reason to do it as a web app not requiring anyone's permission.

I suppose if someone offers to share their homemade damson gin that would count as "alcohol references" ...
I tend to like ebooks for reference due to the searchability. I prefer physical copies when I want to learn a new concept/programming language/etc. I don't know why, but I just feel like I absorb the material better (probably all in my head, but still works out that way :) ).
They have been a strong voice for less regulation, especially less regulation of technology. We reined in AT&T through regulation, forcing them to share their last-mile plant with others. We could (and should) have done the same with monopoly cable providers, but the anti-regulation fever in the US prevented that.
I tried it with a new password today. The requirements were between 8 an 32 characters and some special characters allowed.

I just tried with all lower case letters and it rejected it. Prior to changing my password however, I experienced everything you described. They must have 2 systems and setting a new password must switch you to the new system. Can't fathom why they don't just mandate everyone changing their passwords.
I never heard of anyone in the US using "an herb" and I've lived my entire life there. Also never heard the 'h' not being pronounced. I mostly lived in the East/Midwest, so perhaps the pronunciation differs elsewhere by region.