skysight-inc/HackerNews huggingface dataset:
"Since functions and data structures are completely different types of animal it is fundamentally incorrect to lock them up in the same cage."

The conclusion doesn't follow.

"In an OOPL data type definitions belong to objects. So I can't find all the data type definition in one place. In Erlang or C I can define all my data types in a single include file or data dictionary. In an OOPL I can't - the data type definitions are spread out all over the place."

That's not true, you can create a file which contains all the types as interfaces.

"In an OOPL I have to choose some base object in which I will define the ubiquitous data structure, all other objects that want to use this data structure must inherit this object."

You can implement an interface instead of inheriting a class.
These kind of posts rather grate on me. OOP is a useful tool a lot of the time and sometimes it isn't, in this way it is identical to FP.

The whole problem is that people really like absolute statements, X bad, Y good. But the real world is no where near as simple as that.
The notes can be shared via email, social networks or added to OneNote.

http://blogs.windows.com/bloggingwindows/2015/03/30/introduc...

"Inking and sharing so you can capture and communicate your thoughts: Everyone uses the Web routinely to share questions, thoughts, info and comments with friends and colleagues. Now with new inking capabilities, Project Spartan enables you to write or type directly on the page, comment on what’s interesting or clip what you want – then easily share this “Web Note” via mail, or a social network. Researching and collecting information from the Web is just as easy, as you can save your notes directly to OneNote."
Why didn't you telecommute? I've often considered taking a high salary job in a high cost of living area ie san francisco, boston, or new york. And maintaining a residence somewhere cheaper. If one could arrange a schedule of four ten hour days it might be doable.

The obvious problems are part time housing and travel ie air fare. How did you handle this? Has anyone done this?
Something is wrong with the site. I'm fairly certain that when I first viewed the US and UK it said 174 (only fairly certain because I am prone to flipping digits and the second time it said 147). Now it doesn't show any number for the US.

Edit: and now it does show 147 again. If I remember correctly, other entries also lost ~30 from their totals.
How is that more meaningful, unless you value every square kilometer of Siberia, for instance?

Or you could argue that having access to all of the seas without a passport means that the per-km2 value of a passport is actually relatively small? :)
I once worked 2nd and 3rd shift for a project that encouraged such hours because there weren't enough servers to handle the load for everybody during the day. A few mornings around 5:00 AM I heard a weird high pitched noise but it went away before I could figure out what it was. The next time it happened, I immediately hunted it down. I narrowed it down to the men's restroom and opened the door to find a man standing in the nude using a blow dryer. He was a contractor who had moved from another state. He had been sleeping in his truck and using the shower in the employee restroom every morning.

I became less enthusiastic about hunting down the source of weird noises after that.
These come up from time to time...I'm not saying they don't have some merit, but there isn't some "tyranny" of object orientation out there.

By OO I usually think of hierarchical taxonomy as an organizing principle and I find it very useful in lots of scenarios.

One thing that I loved about SICP was the way that they were able to explore all of these methodologies in a way where you could see them as variations of solutions over problems.
AIA: A new approach in the field of artificial intelligence
It\'s Official: 50% of YouTube Traffic Now Comes from Mobile
Too bad. I'd rather see him writing Erlang code than dealing with that mess. It seems he's already suffered quite a bit personally and professionally.
Meh, this list changes every year and based on subtle ranking parameters. It was only a year or two ago that my own alma mater (Dartmouth College) ranked top on "highest mid-career salary". The whole thing has gotten rather silly.
Browser competition on OS X? Apple refuses. Only Safari is allowed to do the notifications. And, of course, their own shitty websites break constantly on non-Apple browsers.

I develop iOS apps for a living so I cannot just avoid their shameful behavior, either. I would love to be able to do a boycott right now without ending my career.
This is why I have no moral qualms about using adblockers or anything like that. I'm thankful that I grew up in a family where the tradition was to always mute commercials on the TV. I can't help but think that if we didn't already have a tradition of mute buttons, modern media systems wouldn't have them. "You can't choose not to listen to these obnoxious ads, that's like stealing!"

My main issue with ads is the power disparity that can result. Those in charge of advertising and marketing have powerful tools at their disposal -- a wealth of data about how people respond, real-time analytics and A/B testing down to the pixel level to optimize that last percentage point of audience capture, and training in the nature of cognitive biases and how to exploit them. It's a hacking war in people's minds, and against such attackers, what defenses does the average person have? To what degree are untrained people able to resist these influences but by adblocking?
This raises an interesting additional issue. Studying a subject that you don't like, for 4 years, because you think it will be lucrative, must be a really tough slog. I can only imagine it being possible for someone with incredible self discipline and drive.

I can also imagine that process turning out some really dull scientists and engineers.

One occasionally reads the lamentations of people who feel that they were duped into studying a subject by promises of lucrative jobs, but who struggle to establish a career after school. Here's a possible paradox: The people who make the degree seem lucrative are the ones who were not originally motivated by money.

My own situation was that I had little choice but to study science and math, because I was a terrible student, and needed the love of those subjects to supply me with the motivation I needed to get through college at all.
Some years ago I worked at a large aerospace firm in the L.A. area. 20,000 people worked there and with that many people there are bound to be a few odd ones. Several lived in their cars in the parking lot. But the weirdest one was the guy who was living in the ceiling above his office. The story goes that one night a security guard noticed some movement in a hallway and went to investigate. He saw some wet footprints that led from the bathroom into an office and right up the wall. He pushed up the ceiling panel and found a room outfitted with lights, seat cushions and a sleeping bag. The guy had apparently been living up there for several months.
No, seriously, what's the point in annotating a web page? Even years ago with pure static html webs made little sense.
This makes no sense unless the distribution between rural vs. urban populations changes. If most of the projected population growth (to 10bb people by 2083 [1]) happens in areas where there is mass transit, then great - this seems plausible. If the % of the population growth continues to be what it is today (close to 50/50 [2]), then this just cannot be plausible. 5bb people in 2083 is unlikely to be result in fewer than the number of drivers that there are on the roads right now (roughly 1bb) [3].

[1] http://en.wikipedia.org/wiki/Population_growth
[2] http://www.un.org/en/development/desa/news/population/world-...
[3] http://en.wikipedia.org/wiki/Motor_vehicle
I find it strange how you can know ahead of time the intentions and potentials of home invaders. What I call "strong Castle Doctrine" laws, in effect in many states, allow residents to use lethal force without warning, let along divining the intent of an intruder, because it can be presupposed in the US that someone invading an occupied dwelling is willing to kill anyone he come across, which happens all too often.
Google Yuri Besmenov. You can find some of his old lectures in YouTube.
I will tell you exactly how the world works. You have poor people in poor countries working crazy hours in slave-like conditions. Then the rich countries and businesses come out and say "oh, but they are better off because at least thanks to our money they have jobs". And western consumers get cheap products and then get to bitch about minimum wage and equality.

If you really cared for equality, you'd open borders for the poor people to come and compete in a truly open and free market. Otherwise it's all just hypocrisy and exploitation.
Latest technology? What latest technology?

If you mean C and C++ features, Microsoft standard conformance has slowly improved over the years from not giving a fuck to reasonable, but the only bleeding edge tools they've ever created are experimental research projects. They are completely out of clang and GCC's race to implement C and C++ standards and future standard changes.

If you mean some new API, they are libraries and all compilers have equal access to them.
I understood peak car to mean total number of cars, not cars per capita. (wikipedia seems inconsistent on this point but does indicate per capita, so I apologise)

Obviously this doesn't apply as far back, then, but it still applies. I'll leave the calculation as an exercise.
What does the "right for us to choose our own identities, without coercion or persuasion" look like? Isn't this fundamentally also an attempt to curate what influences people experience, just via guerrilla tactics instead of money?
yes of course :)
> The big idea is "messaging" - that is what the kernal of Smalltalk/Squeak is all about (and it's something that was never quite completed in our Xerox PARC phase). The Japanese have a small word - ma - for "that which is in between" - perhaps the nearest English equivalent is "interstitial". The key in making great and growable systems is much more to design how its modules communicate rather than what their internal properties and behaviors should be. Think of the internet - to live, it (a) has to allow many different kinds of ideas and realizations that are beyond any single standard and (b) to allow varying degrees of safe interoperability between these ideas.

What is the difference between "messaging" and "function call"?

"messaging" data into a module = call a function with the data as arguments.

"messaging" data out of a module = package the data as the return of the function.
China, Russia, India, Indonesia (With VOA) also require visas for Americans, often with retaliatory fees for the visa (they charge us what we charge them). I was surprised that I need a visa to go to austrailia, out of all places, though at least we can do it online...
Is there a way to get any information beyond the magic numbers on that site? e.g. a US passport allows entry to 147 countries, but can I list which ones? Or which ones it doesn't allow access to? Or what the difference is between two passports?

Another possible index would be a reverse lookup per-country, showing how many other countries can visit it without a visa. Something like a 'country freedom index' or somesuch.
laws exist to cover for the majority of use cases, not individual, well reasoned exceptions. start with hammurabi and read on, the worl of bureaucracy has a lot more background and sense than you imagine.
So I'm not sure I fully understand why you would target Rust as a web development language in the first place except pure curiosity of working in the language, but it appears there's more to the story. You're excited about Rust's possibilities -- in web development or just in general? And you gripe it's "demanding for web devs who work with a garbage collector." This makes me pause and think, why are we talking about web devs in the first place? From what I understood, Rust is a systems language and by systems language, it means stuff a lot lower level than `route '/me' => controller.toMe!`

Thing is about web dev is that (1) it's a get-things-done playing field and (2) primarily just data delivery. The idea that you would want a language that doesn't have garbage collection is just silly. Why? What complex operations are you doing in each request/response cycle that demands this sort of computational horsepower? And if you are doing said complex operations, maybe you should rethink how you're delivering that data and creating it? GitHub is huge and runs on Ruby. Surely, you can't be wanting to use Rust to improve your performance are you?

> Mutating state across threads is hard

Yep, so maybe you should target a language / framework that abstracts this away from you? I wouldn't say anything usually but you say it's "surprisingly difficult to figure out." Come on really.. programming languages are not created just for web devs...

I don't know. If you're trying to be productive AND change your toolset, it sounds like you just want a typed language. I wouldn't put bet too much of your time-and-focus-chips on Rust becoming a language for web developers. Do you see many people using C++ to write their servers? Nope. And don't take my message the wrong way. It really just bewilders me because I see a comment like "Yea I want to help people like you!" and I'm like Huh??
> Automatic translators are quite decent at the hundreds of English<->Rare-Languages combinations

This is not true. They're not even good at most English<->Common-language pairs.
Compare that to this table:

http://en.wikipedia.org/wiki/Visa_%28document%29#Visa_polici...

States that get the most give the least.
Website SEO Check – SEO Beratung|Suchmaschinenoptimierung|Region Stuttgart
Matt Yglesias's recent article on how car commuting is actually on the rise in the US:
http://www.vox.com/2015/4/29/8505097/car-commuting

Was surprised when I read that. He also ascribed some of the misperception to a young urban journalist echo chamber effect.
We live in the age of shills and sheeple now. A few smart people controlling the narrative over large groups. Don't think the people trying to manipulate you aren't evolving and honing their strategies. Psy-ops and thought manipulation are widely documented practices. In the age we live in we must be vigilant and accept that we are probably being subtly manipulated by corporate interests, unfortunately. Is the poster claiming golang to be a fetish language of HN to distract from the fact that swift is the real fetish language? Am I a shill? No way. No way to know.

The good news is that the corporations who do it have to keep a lot of it secret so it's hard for all of them to align their interests and they end up competing with each other.
This would only be truely anti-establishment, if multiple companies were doing it using the same brand without any brand protection.

Lack of branding is still a brand...
Yeah, I've read some good arguments against OO and this really isn't one.
This is why there is a nominating procedure. I don't think this is a great forum for hashing this all out without a white board, but I would be happy to do it with a whiteboard. I think I could persuade you that there is no case where this can happen in an equilibrium of any model, including with uncertainty about preferences, risk-aversion, etc. to a significant extent and over a reasonable range of cases more than happens in 1p1v. One has to average over a reasonable range of cases to compare different systems. 1p1v can extremely easily lead to a nazi equilibrium as we have seen in practice: http://en.wikipedia.org/wiki/First_they_came_...
Thanks! I think that makes sense. I should definitely check this out.
Once you factor in the Foreign Earned Income Exclusion and Foreign Tax Credit, it is the filing requirement that is onerous, not the taxation.

The first $100,000 of income can be excluded. On income above that, the US demands the difference if the taxes in the foreign country are less than US taxes. I think you acknowledge all this quite well when you call it inconvenient, but I think people don't need to be horribly outraged about it (I think the policy likely does close a path of tax avoidance that would be well used, but I'm pretty ambivalent about whether it is reasonable).
These kind of things turn on all my bullshit/cult flags - does anybody here have any experience with this particular course or better yet scientific evidence that it works?
BitGo bug reveals patterns in Bitstamp transactions
I could be missing something but this seems like a strawman rant. Objects are not cages. In C, headers can declare structs and procedures next to each other because they in practice work together, so at least naming conventions should change simultaneously. OOP just took a design pattern and added it to language syntax. You can argue about the extremes to which this has been taken, but I don't see why the organizational pattern doesn't make sense.
No. But thanks for asking, always happy to help!

Other things not taken into account:

* Passport weight index (how hefty is your passport? is it any good as a baton? Page count and binding are important here)

* Passport prettiness index (how dull or interesting are the blank pages in your passport)?

* Passport value index (what's the black market price for each country's passport?)

* etc etc

1/10 site woefully incomplete.
I do not approve of collectivism, not even in law and order. When you say "laws exist" who are you to decide why they exist? I for one think they exist (in the current, monopolized form) to control the general population while elites are practically exempt. Prove me wrong and please use logic and evidence, not some theory that justifies bureaucracy.
> Point is, a lot of what Kay says is obvious now

It's obvious because he's not saying much, besides trying to redefine "function call" with "message passing" so that it makes Smalltalk look better.
1791: Haitian slaves ask very nicely to be freed and are immediately liberated by all those reasonable white people.

https://thenib.com/great-moments-in-peaceful-protest-history...
CodeNow (YC W14) Non-Profit, Hiring Operations Manager for #NYC
In regards to the first quote, I find it helpful having both the data structures and algorithms in one "cage." I like having all relevant data in one easy to find location.
"Your medical care would be paid for by others. And therefore you would gratefully accept, on bended knee, what was offered to you as a privilege. Your role being responsible for your own care would be diminished."
You made me realize why Edge may be a better name than Spartan, as they now can partially reuse the logo.
Mindfulness for your work: https://chrome.google.com/webstore/detail/focusr/fgdcnfgmneb...

Instead of focusing on your (i.e.) your breath, you can practice bringing your focus back to your current task. Whenever you open a new tab, it shows your current task in huge letters to prevent you from going on a downward spiral (coughhackernewscough :) before it starts.
Rational ... way more oxygen than a person can consume costs a couple of bucks ... you need a valve and a drinking straw ...
Whilst I am not an OO fan per se, I found a lot of these objections quite weak.

-- Objection 1 --

Nobody claimed that functions and data structures are the same thing. However, I still keep my toothpaste with my toothbrush. You have not explained why keeping them together is bad, except for the suggestion that different things should not be put together.

As an example of different things that should be kept together, I suggest functions and their type specification.

-- Objection 2 --

You have not stated what's better about the Erlang approach, just that it is different. As it stands I can reverse the wording and it means largely the same thing:

"""
Consider "time". In a non OO language "time" hat to be an instance of a data type. But in an OO language "time" is an object. For example, in <OO Language> there are lots of different varieties of time, these can be clearly and unambiguously specified using class declarations, as follows:

<code>

Note that these definitions do not belong to any particular data type. they are ubiquitous and objects representing times can be manipulated by any function in the system.

There are associated methods.
"""

-- Objection 3 --

"In an OOPL data type definitions belong to objects. So I can't find all the data type definition in one place."

Although I agree with you, there is the converse that in a non OO language the reverse is true. Why is one better than the other?

"As lisp programmers have know for a long time"

That's an argument to authority. Why do they belive that?

"A ubiquitous data structure is something like a linked list"

A good number of OO fans would criticize you for saying that.

"In an OOPL I have to choose some base object in which I will define the ubiquitous data structure, all other objects that want to use this data structure must inherit this object."

This is false. Although inheritance is a decidedly OO tool, it is not the be-all and end-all of OO. Have you really never seen a Java List as a member or local variable?

-- Objection 4 --

"Pure declarative languages say that there is no state."

This isn't true. What would you say a datatype is, if not state? All these languages do is separate state, not remove it.

"The "hide the state from the programmer" option chosen by OOPLs is the worse possible choice."

Why? Again, you have asserted something to be true that an OO advocate would disagree on. This makes for a weak argument.
http://en.wikipedia.org/wiki/Fermi_paradox
Improved, thanks! :)
the best part is that you can search for a particular string.
I never realized this went as far as distributing phones (with custom firmware to boot!) - way cool. That must have taken forever to set up.

The followup article on the wirelessly-accessed cola machine is also cool: http://robotskirts.com/2012/08/03/ninja-cola-a-wirelessly-ac...
I've heard people who live with their parents proclaim how great it is. They don't have to pay rent or do their own laundry or anything us terrible materialistic people do. It's great for saving money. For reasons that I hope would be obvious I'm not interested in that sort of "lifestyle choice".

This guy is worse because at least people who are mooching off their parents aren't literally stealing from them.
OO is still a useful way to organize programs. Even if you use, lets say, templates in C++ for inheritance instead of method table dispatch...it's still a useful way to mentally/physically organize your code.
What if other people come up with their own bier and they use the same no-brand branding?
They probably will do so with Swift in the future, but at present it is much more difficult.

I did a quick summary of the talk, which had a bit more detail, here: https://news.ycombinator.com/item?id=9471204

In short, they used one of the available open-source frontends (clang, the other being gcc). In addition, Objective-C is almost completely trivial to implement if you have a C compiler. Heck, a 17 year old kid with nothing but a C compiler, access to the Brad Cox book and no formal training in CompSci in general or compilers in particular managed to pull it off back in 1986 or so.

Swift is closed-source, so unless or until that changes, it is a reverse-engineering effort. It is also a vastly more complicated language to implement. It is hard to even begin to describe the difference. It leans on the compiler and optimizer by what I consider to be an insane amount, just the rules for initializers and named keyword arguments are bigger than the entire Smalltalk language spec (which is the part Objective-C adds to C). The optimizer is required if you want performance greater than Ruby interpreting a Python program. etc.

On the other hand, it is in many ways similar to C#, so probably not that hard a feat for MS to pull off.