skysight-inc/HackerNews huggingface dataset:
Can you show an example to support your claim (of the invalidity of the asymptotic claims with lazy evaluation)? Given that the lazy term is evaluated (and thus the mutation happening) only once, how does that enable one to avoid the log(n) slowdown of updating mappings?
Woah, thanks! This was actually pretty useful.
There's a distinctly 21st century flavor to being able to store all the banal life mistakes indefinitely, to dig them up later if we ever need dirt on a particular person.

Before it was varying levels of unprovable (ie, not photographs or verifiable sources) and bandwidth limited (people could only store so much information; sources weren't interlinked for quick queries).

So it's actually quite likely that when we drafted our laws, this was an implicit right by the nature of technology, and considered a natural part of the bounds of specifically enumerated rights.

We should make sure, as technology removes traditional limits on what we can do, that we adequately adjust our laws to reflect that change.
Meh. I think this phrase has been repeated until it has lost any connection with the original intent and turned into a generic "INHERITANCE BAD! COMPOSITION GOOD!" without much meaning attached to either word.

I haven't found the original source, but I've always presumed the statement originally referred to some of the bizarro "inheritance-as-composition" stuff in the early C++ days: for instance, you might have a class 'Window' and a class 'Button', then combine them with multiple inheritance to get a 'WindowWithButton', then inherit from that and a 'Scrollbar' class to get 'WindowWithButtonAndScrollbar'.

I can't imagine anybody thinking of that as a "good" pattern today, but remember it was the '90s. :)

Nowadays, the basic statement has been dogmatized to the point where you get code like this:

https://github.com/elm-city-craftworks/broken_record/blob/ma...

This code re-implements Ruby's built-in method lookup algorithm, but with per-instance objects and none of the optimizations available to the real thing. It basically remakes inheritance, slowly and poorly, using composition.

The other one that makes me scratch my head: people who rail against inheritance, then suggest mixins as an alternative. At least in Ruby, the two are equivalent. Check the `ancestors` property on a class with mixins sometime if you don't believe me.

TL;DR (too late) - use your damn brain to make decisions, not just parrot slogans.
Programming in C which isn't "object oriented" is very similar to say, Java. You make the same architectural diagrams on a whiteboard for both. So I agree with the author.
Note people, these laws are not yet in effect and are still liable to change. Equity Crowdfunding for the public (non-accredited investors) is ILLEGAL, unless done through a intrastate crowdfunding exemption.
Why would the site need to be mirrored? If it's run by an American, hosted in the US, and doesn't do business in the EU then (not a lawyer) it's US law not EU law that applies. And (again, not a lawyer) under US law posting facts like this is completely legal.
Definitely interested! Can you follow a tumblr blog with RSS or something? Alternatively if I make a tumblr to follow you, anyone else you'd recommend following?

Edit: Feedly handles it great, tumblr question stands though if anyone has any ideas :)
"Object-oriented programming" in its basic form means that the data manipulated in a computer program is self-describing. We can ask a datum, "what are you? what type?". The functions of that program are organized around data. This is in contrast with the form of programming in which data is just some storage, which is given a meaning by the algorithm that operates on it; it is not self-describing.

Self-describing data lets us then have generic operations. For instance, if an object hold a sequence of other object, we can create an operation which extracts the N-th one. And we can make that same operation work for an object which is a character string, vector, list. This is because the function can inquire the object what it is, and then call the appropriate concrete implementation which does the right thing for that type.

This leads us to realize that type is connected to the operations which are applicable. Those objects are somehow of the same "kind". This gives rise to the concept of subtyping and substitutability: a string is a kind of sequence and so is a list and we can have operations on sequences.

The non-object-oriented concepts are all that cruft from various languages which tries to strangle OO: virtual base classes, protected members, methods within class scope, scope resolution, copy constructors, yadda yadda ad nauseum ...
We are led to believe that OO requires this or requires that. It's not OO if there is no encapsulation. It's not OO if there is no language-enforced "information hiding". It's not OO if there is no private/public access mechanism. It's not OO if method calls aren't represented as message passing. It's not OO if methods aren't in a compile-time class scope together with data members. ...
Cool. I've never heard of them, but they are just a few kilometers away from me.
I'd answer "no" to both of your questions with some caveats.

I'm not okay with the lack of transparency, but I acknowledge that some degree of secrecy needs to be kept to maintain the effectiveness of intelligence operation. As an example, I remember seeing a snippet from an interview once where General Alexander even said they should have been more open with the public about the 215 program (I can't seem to find the link right now). We haven't heard much about the similar e-mail program that was discontinued back in 2011. If Snowden had stopped there, I don't think there would be nearly as much debate.

As a counterexample, those dragnet concerns don't apply to PRISM/Section 702, which is targeted exclusively against foreigners. I don't think there was any reason to notify every adversary in the world that our government could get access to their Gmail/Hotmail/Yahoo accounts. Snowden didn't open up a debate there, he unilaterally made a decision on behalf of the American people to reduce the effectiveness of our intelligence services.

As for the second thought experiment, no I'm not okay with that, either. That said, espionage is mankind's second oldest profession - they're not going to stop and it's silly to think that shutting down the NSA will somehow cause them to stop. Having an effective intelligence service targeting them is going to do more to keep them in check than voicing my disapproval online.
I suggest you try it. Here is an example file [1]. Try adjusting the tab size: you'll find the arguments are always aligned. I like to set vim's listchars with the UTF-8 light shade and medium shade blocks to make tabs visible. Here are screenshots with ts=4 [2] and with ts=16 [3].

[1] http://sprunge.us/AOGg

[2] http://i5.minus.com/iu14dVi9QRTri.png
[3] http://i4.minus.com/itno9LlgJobQD.png
Go chose to have composition as a first class citizen rather than OO. It's called struct embedding. Embedding requires minimal boilerplate.
(Sorry for the late reply)

In OpenSolaris it just used cronjobs to create zfs snapshots.
If you're good, this is what good contract work is like.

Many times I got hired for a 3 month stint and got it all done in a couple of weeks with one eye shut. I tended to chip in and help with any other bits lying around that needed doing rather than sitting there playing solitaire. Builds a good reputation.

This is how I started my current permanent job. They decided they wanted to keep me so I'm getting paid a contractor's salary for a permanent job now and have a 25h week flexible time as a technical advisor and general devops guy.
Listening to the Long Tail, with Spotify and Polymer
There's also Ceylon's enumerated subtypes, which look similar: http://ceylon-lang.org/documentation/1.0/introduction/#enume...

However, Haxe's algebraic data types are really not the same thing. It takes a bit more code to achieve an identical effect. On the other hand, algebraic data types are much more general purpose, and allow techniques like pattern matching.

http://en.wikipedia.org/wiki/Algebraic_data_type
http://haxe.org/manual/lf-pattern-matching-introduction.html

In the case of Haxe, you can construct a pattern that uses guards and/or extractors (e.g., a pattern that matches cases where you have an empty Tree, or a tree that contains a specific Node. You could also do matches on structural subtypes, etc.)
Show HN: Gather opinions in 2-D with chart based surveys
So any tweet supporting gay marriage, like those from @rickygervais, are "less healthily", and a "maladaptive" way to express anger? I don't think so.
In American sports, the home team is always on the bottom. "New York playing at Dallas."

If what @surreal says in a sister comment is true, then they could do the same thing for FIFA.
Thanks for posting this! I've been looking for the same thing, but my most recent attempt failed.

I was asked to come back to a company that I used to work for, and I insisted that I would only come back if I could do a 3 day work week. I'm convinced my productivity would have been similar to when I used to work a 40 hour week with them, because rarely put in more than 3 hours of actual work per day. Unfortunately, they didn't hire me, because they said that absolutely needed someone full time to be able to complete the project on schedule.

I think they rejected the idea because everyone else there is on a 40-hour week, and they simply can't contemplate the idea of someone doing less work. They've been slogging away at the same never-ending project for 2 years now, and they aren't looking for someone to get work done efficiently. They want someone who will join in their suffering.

Going forward, I'm going to keep looking for a part time opportunity, but not waste time trying to convince people that it's good idea. I think I need to find people who already just get it.
Elazığ Oto Kiralama
Java is a deeply flawed object oriented language. You agree with the author because, correctly, you are experiencing that Java barely supports object oriented programming. Not that there is no such thing.

[edit: Why the downvotes? I'm not saying java is bad - just that it isn't a strong representation of object orientation. If you take Java as the examplar of object orientation, then you will reasonably conclude that Object Orientation is a weak concept.]
I like it, are you going to build any features on top of that? Top lists, average ratings, trending albums, anything to differentiate the results from a simple google search?

Right now it doesn't really offer anything over just typing "albumname + pitchfork review" in my browser bar which also has the advantage that Google is ignoring small typos ("kayne west" will result in "Your search yielded no results, try again!" while it'll ignore it if I'm using another search engine, now sure if it's the same thing with small errors like a missing accent).
http://iwfchecker.lightning-bolt.net/ has a crowd sourced list of stuff that is being filtered by cleanfeed. Some of it from IWF list and some from court orders (e.g. Pirate Bay)
See also "manufactured outrage", "attack poodle", and "outrage porn" [1]

[1] http://betabeat.com/2014/02/outrage-porn-how-the-need-for-pe...
The transcript: http://www.khoslaventures.com/fireside-chat-with-google-co-f...
As a citizen of EU, I very much doubt it.

Most of the technical revolutions in the past decade(s) was brought to us by the giants. Never by the governments.

The most that will happen is more variants of the demented "cookie law" and "Google deletion law".
> including crowdsourced project screening and fund-locking such raised funds are programmatically unlocked as founders achieve certain milestones.

Both great ideas to get something into production, but how does this provide equity?

Specifically, when I hear equity, I think two things: dividends and shareholder voting rights.

Both can be coded in on a bitcoin 2.0 DAO platform of your choice, but there's the (unsolved, afaik) question of physical-world enforcement. I've unlocked all my protocol-escrow'd milestone funds, shipped a product, but I now choose to ignore the dividend or voting feature of all the token holders. See you later!

One of the benefits of operating within the legal system rather than outside is the investors have a last-resort: they know who you are and can sue. If you operate outside the system in DAO-land, what recourse do I have when facebook buys my cryptoequity-funded CryptoRift Co. and says, "sorry, crypto-tokens aren't equity under US security laws, you get nothing"?

Trustless consensus-unlocking escrow for project milestones is a great game-theory trick to get to ship, but it stops short of true equity. To honestly call it equity (guarantee of dividends and shareholder voting rights under threat of legal action), you need to operate within the law, not find loopholes. Or at least have the law legally recognize the voting will of the cryptotokens, which I haven't seen mentioned either.
Ok, thanks for the insight. I have definitely been influenced by HN and in particular a blog post on the Huffington Post[1] where the author states 80% of employers do this. I thought in tech, the rate would therefore be even higher. But now I think that's probably not the case, because of the personality of a lot of devs, the 80% statistic could be totally made up (can't believe I fell for that), and that I probably shouldn't be reading an AOL property for career advice at this point.

Thanks for the tips... I keep hearing how devs are so hard to find and how so many people can't even FizzBuzz, and if I can just get through to a technical interview, I should be OK. So far, that hasn't worked out, but it seems like the best plan.

[1] http://www.huffingtonpost.com/susan-p-joyce/job-search-tips_...
You just described parametric polymorphism, which has nothing to do with objects or runtime type information.
Show HN: Virtual File System in PHP
The Ultimate Guide to Font Pairing Like a Pro
Programming is, or at least can be, rocket surgery. Programmers at SpaceX are building and modifying the (figurative) brains of self-stabilizing rockets...
What's the difference between carrying around free-floating rage and being completely insane?
But the sad thing is that the european alternatives to the sectors they mention like gmail is either bad or expensive euro hosted american software (hosted exchange) which is not priced to reach the average customer. I would prefer a EU alternative to gmail but none exist (by gmail I think of the whole suite with email, contact and calendar that all have a good webinterface and at the same time provide good sync to mobile devices).
I know PHP isn't the "coolest" of languages around, but I thought I'd just show my project I started a few years ago and never really got around to finishing.

It's been used before as part of a mustache template runtime evaluator and in test suites.

Current issues:

- Test coverage is okay but could definitely be improved (currently ~60%)

- Symlinks

- Proper support for perms/ACL

If anyone's got any feedback or wants to contribute, go ahead.
The mainstream programming language community has a pretty strong consensus on what OOP means, in terms of language features.

Some people out there seem to have some confused notions of what OOP is. That doesn't mean there isn't a well-understood and more-or-less accepted definition, at least in academia.

Edit for downvotes: dynamic dispatch + associating methods with classes, often times but not necessarily accompanied by an inheritance hierarchy. Of course there's lot of room for design decisions (and prototype-based languages are only awkwardly encapsulated in that group), but these features are basically unique to OOP languages.

The point is that you could put a language with these features in front of any random sample of PL researchers and they would probably more-or-less agree on whether the language has OO features. That's more or less the definition of scientific consensus.
Ask HN: How do you overcome laziness and lethargy?
I have big ambitious goals but procrastinate a lot. I need to hustle but I am slacking off a lot. Will doing cardio 2 hours a day help?
For those that would enjoy such a situation: what would you consider to be a fair renumeration arrangement? Not I. Raw numbers but in comparison to traditional 40 hour/week gigs.
Any chance you or them know of a similar service in France? I've just discovered Pact in the UK and am about to move :(
People are probably willing to pay you to do this, but not advertising it so much. Most tech companies (at least in the US) are desperate for work. Less than 40 hours is a week is a tough sell because many people feel the onboarding process eats up a lot of time. Primarily, since it's the norm to work 40+ hours (and believe me, it's not difficult to do this and be actually writing code more than 50% of the time) employers expect it.

> I sincerely think it is quite unrealistic to ask a knowledge worker consistently deliver at full throttle for 40 hours every week (never mind the enslaving 60+ hours on many companies)

I really disagree with this. Have you tried before?
I've worked 25 hours a week for the past ~6 years as a web developer, and I can't imagine a better work schedule. I've noticed that I'm just as productive on average, if not more so, than my 40-hour-per-week coworkers.

I do find it difficult to progress in my career, however. I've been trying desperately to transition into a full-stack, part-time position, but I feel pretty stuck as a senior level front-end dev. In my experience, this is because I need some weight to throw around when I request working only part-time.
You'll see this often on Twitter and any social network or message board: "If you're not [denouncing X] you're [against us/on X's side]"

It's interesting that even HN isn't immune to this: https://news.ycombinator.com/item?id=7971709

I wonder if it's human nature to try to shame those who are on the opposite side of an ideological line?
Thanks for mentioning this.

You can find the article for almost any combination of relevant search terms, so long as you do not include the name of one particular commenter.
It seems a business plan built atop loopholes is not, perhaps, the best long-term strategy. Particularly when then calling attention to this fact...
Disney film posters get the flat design treatment
I have been working as a high tier network engineer for the past few years for 40 hours per week (but always looks to go out on my own with a startup idea). I'm starting to really find that 40 hours per week make no sense and i'm actively going to try to find alternatives. Life slips by and there is little point in spending 1/3 of your working day dealing with monotonous bullshit.
Here it is, amendment 27:
http://www.europarl.europa.eu/sides/getDoc.do?pubRef=-//EP//...

"(53) Any person should have the right to have personal data concerning them rectified and a 'right to be forgotten ' where the retention of such data is not in compliance with this Regulation. In particular, data subjects should have the right that their personal data are erased and no longer processed, where the data are no longer necessary in relation to the purposes for which the data are collected or otherwise processed, where data subjects have withdrawn their consent for processing or where they object to the processing of personal data concerning them or where the processing of their personal data otherwise does not comply with this Regulation. This right is particularly relevant, when the data subject has given their consent as a child, when not being fully aware of the risks involved by the processing, and later wants to remove such personal data especially on the Internet. However, the further retention of the data should be allowed where it is necessary for historical, statistical and scientific research purposes, for reasons of public interest in the area of public health, for exercising the right of freedom of expression, when required by law or where there is a reason to restrict the processing of the data instead of erasing them."

The new directive updates the previous 1995 directive that states the same right in relation to traditional media:
http://europa.eu/legislation_summaries/information_society/d...

It's really nothing more than an update of a directive that has been in effect for almost 20 years, it's just that media like to spin every news to find something to talk about.
It's compounded when we realize people have strong emotional reactions to an issue not because of the issue itself but because of what the issue represents to them.

For example, even if I have a perfect record calling my parents when out late for almost a year, my parents may get irrationally angry when I forget for the first time. Upon agruing its revealed that they really are uncomfortable that I'm leaving for college and won't have to call as much anymore.

I often see this on the internet and in real life, people disliking others not because of their actions per se but because of what that person's actions represent to the disliker.

(edit: grammar)
It weakens the community. I was thinking of selection on a community (or higher) level, e.g. a community that has different practices will be stronger and either outlast or conquer the community with dangerous traditions.
Indeed. "We believe" is a shaky legal foundation. In the best case scenario they've found a loophole. Exploited loopholes have a nasty tendency to get closed.
To me this makes total sense, and I can't figure out why it isn't the norm for hired freelance developers.

For most people I know, myself included, you're at your best productivity before lunchtime. Afterwards you might get a few bits and pieces done, but generally it's a waste of time.
One issue I have with this and similar architectures is that it often sticks an HTTP stack where it is not needed. The HTTP request/response paradigm does add a useful process management architecture, but it seems like you could implement that without the HTTP component, although then you would also need to figure out the inter-operability side of things if you wanted that flexibility to plugin into stuff. Which may lead you to wanting a protocol for making things easier.

Okay, I guess I do understand why the HTTP stack is wanted, but with HTTP/2 around the corner, it might be time to think about whether it makes sense to create a more primitive version of HTTP focused on non-networked or locally-networked applications
I like to refer to the consumers of such content, outrage junkies
I've never seriously used anything except a real client for e-mail (ZIMACS, then Thunderbird, then Apple Mail, now mutt), and any time I have used a web-app for e-mail, the whole process is just frustrating. I'm especially surprised when I come across people who say they ``live in their Gmail'' and actually do live in the web-app.
[FeldThoughts] Power of Being Human in Biz Dev
"has nothing to do" ... says you! I didn't describe static parametric polymorphism. Some of the things I described are doable with static parametric polymorphism in some limited circumstances.
You can have a good reason to be angry and just not realise it consciously, or not be able to point it out. Not great but doesn't make you insane.
Being healthy will help. The exact mix of exercise/diet/supplements is for you to figure out.

Also, Adderall
Does Praying for Answers on a Test Equal Cheating?
Is it then possible to model 2nd order Markov chains with every two words containing their own file?
Filename: this_example
Contains: is, can, etc...