skysight-inc/HackerNews huggingface dataset:
> I always feel sorry for people who make statements like, "my work isn't my life" or "I work to live, I don't live to work". [...] And if your mindset is always that all work is bad,

The first part is not inherently hateful towards working while the latter one is.

> Considering how much of your life you dedicate towards working, why the hell aren't you making damn well sure it's doing something that gives you at least a sense of fulfillment, if not outright joy.

Maybe they are. But people that say that they don't "live to work" seem to be more in opposition to the mindset of viewing everything through the lens of productivity and utility. They are against the idea that free time is chiefly about "recreation", ie about recharging your batteries/not burning out so that you can go back to being a fully productive worker bee at 9 am the next morning. In this "recreation" view, free time serves office time. In the view of "I don't live to work", work chiefly is about survival, and free time is about actually living.

Does that mean they are necessarily against finding fulfilling work? No: work can be life-affirming (though I realize that some people might have such a chip on their shoulder towards work that they will never see it that way). But it certainly means that they refuse to delude themselves into thinking that working 60 hours a week at a job they at best feel lukewarm about is their grand purpose in life.
Cool. This would be cool for web scraping, but probably limited in number of scenarios you would use.

Would have been nice for some Google Finance data I'm scraping in python.
It certainly has a strategy element seeing as the whole game is build upon the premise that particles act depending on a certain strategy.
I would expect C to be the hardest language to learn. Frankly, I think your choice of progression of teaching languages seems extremely odd to me. Why not start with the easiest language (Python, or even JavaScript)?
Additional water in the oceans will not distribute evenly. Sea level will rise at some places and actually lower at other places. The net effect will probably be an increased sea surface, but it's not so easy to estimate by how much.
There's a Ractive.extend() function for this exact use case, which allows you to incorporate all the functionality your Backbone View would have in a reusable constructor. Info on the wiki: https://github.com/Rich-Harris/Ractive/wiki/Ractive.extend()

There's also a concept of 'adaptors' which are ideal for Backbone.Model <-> Ractive binding, though it's a bit experimental and incomplete at the moment. You can bind to a model manually like

model = new MyBackboneModel( attrs );
ractive = new Ractive({ el: whatever, template: tpl, data: model.attributes });

model.on( 'change', function ( model ) {
ractive.set( model.changed );
});
The Musician, JJ Cale has Passed Away
IMHO you started him with boring languages. C and Forth? If he has an Android phone I would have started with Java. Otherwise I would have just started with Python. He would probably have found it much more engaging than C to begin with and wouldn't have required so much work on your part. Just my 2c from personal experience like yours.
There's a company called Mosis (https://www.mosi.ch/) that has been doing this since 1998 in Zurich, Switzerland. I just checked their history. The best thing, they were apparently inspired by American and Australian companies that had already been offering the same service for a number of years. So, this is really nothing new.
I'm delighted for them!
As internet filtering expands in the West, the only bright side of these types of notifications is that they will remind people that nothing they do online is really private and the internet is not really free. I know that I'd rather have filtering with notifications than silent filtering for my non-government-approved searches.

In the case of pedophiles, maybe some will seek help but I imagine most will quickly adapt by seeking abuse images via other channels like tor, hidden wikis, etc.
In what way is Matlab more feature-complete and polished? With respect to just the actual language Octave is nearly a 1:1 implementation of Matlab, which is an primary goal to stride for and maintain, any differences between the two is considered a bug even.
Ask HN: HN Meetup in Barcelona?
Hi all!

Me and my co-founder are working from Barcelona in a nice little office at Port Olimpic (https://www.google.com/maps/preview#!q=Carrer+Escullera+de+Poblenou%2C+Barcelona%2C+Spain&data=!4m10!1m9!4m8!1m3!1d23059125!2d-95.677068!3d37.0625!3m2!1i1280!2i679!4f13.1) and we would love to meet some HN folks from or currently residing in Barcelona

Is there interest for an HN Meetup in Barcelona? Also let me know if you're interested in giving a small talk or something similar. We could host a bunch of people in our office in the evenings!
Why they didn't choose adga or coq.
Quantum boost for AI
A word of warning guys, I've had a look through the code and unless I've missed the obvious, there's nothing in there to change user ID; which means this would either need to be run as root, or would need to listen on a port > 1024.

In the case of the former, that's a huge step backwards in terms of security.

In the case of the latter, that would mean you'd need another reverse proxy hooked up - which would negate the need for this web server to begin with.

This can easily be fixed within Go though:

import (
"log"
"syscall"
)

const (
user_id int = 1000
group_id int = 1000
)

func secureDaemon() {
// set group id first as you need to be root to change group
err := syscall.Setgid(group_id)
if err != nil {
log.Fatalln(err)
}

err = syscall.Setuid(user_id)
if err != nil {
log.Fatalln(err)
}
}

You can also add chroot to your code if you want to be ultra paranoid:

import (
"os"
)

const (
chroot_dir string = "/opt/go-webserver"
)

func chrootDaemon() {
err := os.Chdir(chroot_dir)
if err != nil {
log.Fatalln(err)
}

err = syscall.Chroot(chroot_dir)
if err != nil {
log.Fatalln(err)
}
}

This will need to be done before you change your user ID (as you need root permissions to chroot) and you may need to compile the Go without CGO because some of the standard Go libraries will have SO dependencies (I found this to be the case with domain name lookups).

(the above code is adapted from my own Go web framework that I'm in the processes of building)
Can China’s Leaders “Get Over” Their Growth Obsession?
Mathematica is a lot cheaper than Matlab, in the US anyways. Mathematica excels at symbolic computing, where as Matlab excels at numerical computing. Mathematica happens to be poor at numerical computing, and Matlab happens to be poor at symbolic computing, although Mathematica is becoming better at its current weakness at least.
Since "tldr" means "too long didn't read", maybe you need some of that humbleness yourself?
I like the idea of having a page listing all libraries regarding a certain topic. What's the advantage of a github + Rails solution has over a wiki page?
I live in the UK and the place I currently live in isn't great so i've been looking to change up.

Unfortunately, every decent house i find is only available for purchase but not for rent. Seems the houses available for rent are for people that don't care too much for having a nice home. At least that's how it feels to me at the moment.

What would you advise to someone in my position?
As I'm sure you well know, a mixing includes vendor specific prefixes. And the whole point of mixins is to make it easier to maintain. Once they're written, you don't need to worry.
Do you understand this explanation of the Vector Dot Product?
This would be "Slope of Enlightenment": http://en.wikipedia.org/wiki/Hype_cycle . I venture to doubt that NoSQL has reached this phase yet.
How do you work out what load Postgres can handle on what hardware? (Same question for anyone here who knows MSSQL)
Mathematica is also incredibly well documented both online and within the program itself. The program supplied documentation and help is actually useful, something which is unfortunately not common in computing.
Have you tried the ADO adapters for Postgres? How'd you like them?
Are the smartphone divisions of Motorola, LG and Sony still operating at a loss? I wonder how long these companies will continue to throw money at a market they seemingly can't compete in.
It still wouldn't have been an appropriate HN comment.
For reference, the murder rate in Belfast recently is around 3-4 per 100k. In comparably-sized cities like Newark, NJ or New Orleans, LA, it's 10-20 times higher.

The peak of violence in Northern Ireland was apparently 1972, when ~500 people were killed. At the time, the area had a population of 1.5 million people, so the rate was 333 per million. At least 18 U.S. states have rates above 50 per million, and crime is the lowest in the U.S. that it has been in decades.
I read it as sarcastic anyway. lol
That's pretty damn cool.

Have you looked at Miracast/WiDi?

WiDi at least seems to be RTSP with some uPNP trickery over an ad-hoc wifi connection.
Thanks Swanson, I haven't made a Gem before, and for an interview I was actually asked to make an app which used the twitter api and let you search for a user, so I implemented some of this already in Javascript.

That's an interesting idea. I'll give it a go when I have more time (swamped by school work this week).
Same here, and it jumps around as I scroll down a long page such as http://getbootstrap.com/css/
Hype-free principles for software development
To be honest, your comment comes across as more of a fanboy remark than the guy you were responding to.

And to be honest, I'm just sick to death of how every Apple discussion (and on every forum) ends up as a heated flamewar against brainwashed sheeple who value brand loyalty above their own sanity. And I'm not singling Apple customers out; I'm talking about Samsung / Android zealots in Apple threads as well.

It's as if we, the developed world, have nothing better to do with our time than start arguments on the internet about inconsequential bullshit because someone dared criticize our favorite brand.
There are more people with the Naggum syndrome out there http://en.m.wikipedia.org/wiki/Erik_Naggum

Naggum was such a nice guy in person, but communication via email etc was a horrible experience. He died unfortunately in 2009.
How is everyone having at least a bunch of friends, or even just people they know and who know them, beyond a very superficial level, "horrifying"? I didn't read that as "everybody needs to receive all the benefits of full integration into the borg matrix", myself. It's just a fact of life that nobody is an island, and to live off other people, but not with them, is not an ideal I'm ready to defend. I wouldn't call it evil but certainly "lacking". I'm all for those who actually provide everything for themselves to want to be left alone, but that doesn't apply to anyone posting on the web, sorry.. shoutouts to the Sentinelese (who I assume are rather tight knit btw)

How about "solitary like trees, together like a forest"?
50% pass is quite good compared to Learndirect in the early days. An overview with links to more detail[1]

[1] http://en.wikipedia.org/wiki/Learndirect
I kind of love the new form markup. It makes more sense to me than BS2.
The article also mentions that a lot of students in the class were students who had already failed the course before.
Anyone who follows The Guardian's tech coverage in the UK would not be surprised to learn that the reporter for this article is not a certain Apple fanboy..
Also buried (on the second page) was this nugget:

The school explains the courses' high failure rate by saying the students were "an atypical sample" — half were San Jose State students who had already failed the courses once.

The other half were students from an underprivileged Oakland high school. Many of the latter had no computer access, a fact the school only discovered three weeks into the online term.
Appreciate any feedback. We're only just getting started, there's a long way to go :)
The point is that it's written in language-du-jour and therefore fascinating and novel.

In fairness though, json will probably wind up being a common configuration format anyhow. And the idea of programmatically configurable system software is nice. I liked the Mongrel2 approach of having it in SQLite.
Edward Snowden better off in Russia than US, his father says
Since Motorola is now owned by Google, I can't see them pulling out any time soon.
You want a better example? Suppose the officer is covertly following a suspect of a serious crime to see where he goes. Turning on lights and sirens will obviously give the officer away. The suspect is violating various traffic laws as many people often do (speeding, ignoring "no turn on red" etc.) and the officer has to match the violations or lose the suspect.

The point is, zero tolerance is stupid. We need to have an appropriate balance between clear rules and discretion, so that the law actually means something rather than only being whatever the prosecutor says it is, without being so overly rigid that you have people being prosecuted for doing harmless or beneficial things.

The existing law is very, very far away from being overly rigid. Government officials have far too much discretion and get away with far too much. But it is theoretically possible to go too far the other way -- we just haven't, and never have to worry about doing so in practice, because of the politics of the situation. Politics making zero tolerance for police misconduct unachievable in practice doesn't mean it would be a good idea even if we could manage to implement it.
fast-ish.
Now on BootstrapCDN for reals
I taught programming to 10/11 years old kids using Turbo Pascal 5.5 in the 90s. The experience was very good and the teaching was oriented to doing video games like the classic snake, roulette, and others.

The main issue was their intrinsic interest/motivation/discipline. It is important to note that I am talking about average kids with curiosity.

Now I feel that is extremely easy to teach kids with the tools in hand but parents must start slowly. Programming languages like C have many concepts (i.e.: pointers) that must be added at a later stage. I think even Alice 3D or Scratch are complex. I feel the Logo approach is the right one (a graphic feedback and an immediate command line at the same time). Also, combining the manipulation of real objects like cars and robots with programming is an excellent approach.
Learning to code can be fun
Apple's prices are fine here (the US) but it's hard to compete when everyone else is selling competing products at a loss (Barnes and Noble is selling off its Nook HD+ inventory at $129, Google has spent billions on Android and more buying Motorola for little apparent income, Amazon's business model is to sell razor blade handles at a loss so it can sell blades at break even, and Microsoft is paying Nokia to make Windows phones almost no-one buys — how can anyone compete with that on price?)
You would probably use NumPy, which even has a page for people used to Matlab: http://wiki.scipy.org/NumPy_for_Matlab_Users
How hard do you think this would be to rewrite in node w/o jquery? As was noted I could see a lot of scrapping potential for this.
Doesn't Samsung produce a much vaster chain of models, which also contain very cheap versions which are obviously more affordable than Apple's? If that's the case, I think this statistic might be a little skewed, because it's pretty obvious that you'll end up with a bigger market share if you sell 10 different flavors of the same thing compared to a company which only sells one.
That's sort of correct. There's nothing inherently illegal about discrimination: it just means to recognize a distinction between. Most types of discrimination are legal. Work places always discriminate when they pick the best candidate.

There are many instances in which age discrimination is not illegal (I listed three examples in the post). Facebook is a massive age discriminator for example, and it's entirely legal; ditto porn sites. American drinking laws age discriminate against 20 year olds (so every liquor store is an age discriminator).

Sometimes age discrimination is considered illegal, and sometimes it is not.

My question was whether it's illegal to require users to be under the age of 30. I plan to age discriminate against people of certain ages (under 18, over 30).
A program run as a non-privileged user can access privileged ports using authbind:

http://en.wikipedia.org/wiki/Authbind
I don't think Microsoft, Google etc... keep IP addresses specifically with regard to filtered searches, but they do keep logs of all searches/IPs for analytic purposes.

We should all be conscious of the fact that any amount of "web usage" generates logs somewhere. How much of your details end up in these logs depend on what your system/browser leaks and how much detail your ISP has on you.
1 104 10.4% valac
2 98 9.8% cd
3 84 8.4% fg
4 83 8.3% emacs
5 59 5.9% ls
6 47 4.7% ssh
7 32 3.2% vala
8 31 3.1% cat
9 22 2.2% mkdir
10 22 2.2% ..
just think how great this technology would have worked back in the day when homosexuality was taboo. Think of how many people could have been cured or could have found help for their illness.
(I am being downvoted in my previous comment)

Yes, depends how it's done but one thing is to know programming and a very different one how to teach it. I expanded my approach in a new thread: https://news.ycombinator.com/item?id=6112737

I think Scratch and Alice 3D are complex for a 3 years old. For that age I would recommend to move something real/a-physical-object like a car or a robot instead of watching exclusively the computer screen.
#2 is easy, by using double negatives and asking the same question to each god (asking different questions does you no good):

"Is the other non-random god capable of lying?"

The truth telling god will always answer: "yes" (da || ja)

The false telling god will always answer: "yes" (da || ja) [the truthful answer is 'no', but this god tells only lies, therefore the answer is 'yes']

The random god will answer: "yes || no" ((da || ja) || (ja || da))

This means, you will always only get the following combination of answers, no matter what A,B,C order you ask:

da, da, da; ja, ja, ja;

da, da, ja; ja, ja, da;

ja, ja, da; da, da, ja;

da, ja, da; ja, da, ja;

ja, da, ja; da, ja, da;

'Yes' will always have 2 or 3 of the same values.
'No' can only have 1 or 0 values.
Now that you have the cipher, you can decode everything.

(edit: formatting)
Fast enough, for most of the tasks.
Speed shouldn't be the first concern if it's not explicit requirement.
Well, you said any so: if I cancel Twitter sign-in on the homepage I get "The page you were looking for doesn't exist.".

Considering the image on the homepage is just a sketch, is the app actually built or not?
Respect your opinion, but Storm is not exciting? Hadoop? Solr? GWT? Android? Saying Scala or Clojure (or java) are not used for exciting tasks is dismissing all these projects as non exciting, which I have to disagree
Consider changing the sign in button to a contrasting colour (green?) - I'd wager you'll get more people clicking on it :-)
I think this is such a news story, because for a long time it was touted that while Apple was rapidly losing market share, they still took home the radical majority of industry profit. That is no longer the case. And given Apple's growth has flat lined, they're losing market share in China, and their margins are under attack by good-enough cheap Android phones, it is very likely their profitability will continue to struggle against prior expectations.
Thanks, I'll sort that.

Yes, it is. I agree that we probably need to add some real screenshots too :)
I don't have any use for this personally, but it sounds like a very good idea, congrats!
Paraphrasing the Greenspun's tenth rule of programming:

"Any sufficiently complicated C or Fortran numerical program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of MATLAB/Octave/Scilab."

This could be called Gastón's corollary :-).

MATLAB, Octave and Scilab are like the UNIX shell but for matrices instead of text streams; this is they problem domain. If you can explain a problem with matrices and their operations, you can profit from MATLAB/Octave/Scilab. If you need more speed from your program, you should profile it and develop a mex-function in C or Fortran.

In academia and engineering most programs are developed to run at most thousands of times (<10,000), and this statement could be greatly exaggerated; the developing time must be reduced in order to work in other projects. The usual approach is brute force.

The greatest problem that I find with MATLAB is that doesn't allow multiprocessing. In my last project, I ended developing several interpreters in Bison/Flex/C that ran concurrently in order to control a robot, but the main program was developed in MATLAB because it was simpler that way.
That might be an unrealistic psychological profile. Jimmy Saville and Stuart Hall had abundant access to the views of non-sex-offenders. Both those figures could hardly be described as being isolated from society during the time when they were committing their crimes.

It seems to me that the types of people involved in those activities are well integrated into society, but abuse their positions of trust.
Well that's a fault of apple, not of samsung. Infact there are chance that in the near future apple releases a cheap iphone version (but how much cheap considering that the iphone is one of the phone with the higher price on the market?)
There is obviously influence by how the python code is written but there is tool to make it much faster.

Cython, PyPy, Numba
>because it's pretty obvious that you'll end up with a bigger market share if you sell 10 different flavors of the same thing compared to a company which only sells one.

So Blackberry needs to make 20 different models and they can beat Samsung? That doesn't make much sense.
Understanding Process Memory (top & pmap detailed)
Motorola are losing much money right now, they are rolling the dice on the Moto X launch that's coming up. Google will make a huge marketing push for that one.

LG, Sony and HTC are making modest amounts of money on phones. HTC has nosedived to that level and the other two have turned around losses to be there. They need to do better, but they have little reason to pack it in.
> It's as if we, the developed world, have nothing better to do with our time than start arguments on the internet about inconsequential bullshit because someone dared criticize our favorite brand.

It's almost as if it was human nature to pick inconsequential things to strongly identify with for the sake of creating arbitrary us-them divides to fight over. (http://lesswrong.com/lw/mg/the_twoparty_swindle/)
... And Oracle is going to change that any day now for varchar, which is why they've been hounding us to use "varchar2" from time immemorial. (They wouldn't have any other reason to encourage varchar2, would they?) :)
I've heard people say the opposite i.e. that e-cigarettes make it too easy for people to take up smoking especially the flavoured tobacco which was also banned here. Although such speculation is just paranoid ranting without proof.
How can you then distinguish between the two non-randomly-answering gods? They will answer the same, and the answer from the randomly-answering god appears to contain no useful information.
Indeed, but it would make more sense (in my opinion) to have the web server natively 'de-elevate' it's permissions than to expect the sysadmin to be competent enough to set up authbind manually. Particularly when setuid/setgid is so easy in Go and that every other webserver out there natively drops down to a designated webuser after the daemons been launched and ports binded.
Miracast is wireless HDMI replacement with DRM and all that stuff and as such is nogo from the beginning. From what I read, you need special hardware because it uses one or more wifi channels simultaneously. Anything under WIFI-Direct will probably never work with open-source hw/sw.
is it just me or it feels somewhat sluggish on mobile? (nexus 4)