skysight-inc/HackerNews huggingface dataset:
Ask HN: What kind of programming do you do and what tools do you use every day?
Just curious to see what some typical workflows look like.
"How do you discover new music?"

I ask my friends, I ask the people at my local record store, I read blogs and listen to podcasts. What I don't do is rely on the terrible Amazon style "if you bought this, you might buy that" style of nonsense.

Pandora has the technology, but their catalog is way too limited. I've said this before, but music discovery is a problem that is not obviously amenable to a market-oriented solution.
macbook air 11 inch.
Not having a free market (because of gender inequality) was actually very beneficial for education. Until the mid 20th century, one of the only available professions to half of world's brilliant minds was teaching.

Privileged kids often had live-in tutors, called governesses. Governesses would teach children foreign languages, musical instruments, and poetry, and other subjects. For a time, being a governess was one of the only ways a middle class single woman could support herself, no matter how brilliant she was. One such governess was named Marie Curie.

In the U.S there was a "brain drain" to other professions. The U.S does not recruit top students to become teachers in the same way that other European countries do, nor does it pay them as well or provide as many benefits. This is one of the reasons that the U.S has fallen in the international rankings.
Ugh, why? You're just discouraging people from contributing by forcing them to accept that their code might be used in a matter they don't approve of in the future.
I live on the planet not defined only by your personal experiences.
So? I don't see how anything useful can be concluded from what you say without invoking one or more fallacies.
Once, just once - I want to read an article like this and in the conclusion read "It doesn't rock. This framework just really sucks."

Anyway, I've been using Angular for a couple of weeks now, and happen to really enjoy it.
Thanks. Yes, for a demo or contributing doing it locally is a good idea. :) Nice set of instructions, it's a bit of a complex beast to install.
Chrome uses the Pepper Flash player now which gives more fine-tuned control over audio. This functionality is likely possible to build now.
I love cycling and I love tech but when I go out for a ride, I do not want to take my phone. I like being out on my own for a few hours.
I'm 95% sure the comment you replied to was completely sarcastic.
How was it at near-platform-universality and secure HTTP transmission?
Feds proposed Apple e-book remedies include antitrust monitor
I can't wait to see links to iTunes on the Amazon web site one day.
Been programming with a Windows box for a few years now with virtual box. It's quite good. Recent versions have solid dual monitor support too. It's still not flawless but it's good enough to not be disruptive or annoying enough to warrant dual booting.
When Alienware were rebranded clevos, they sucked and they cost an astronomical amount of money. Dell's XPS series, when it was their top of the line gaming series, were amazing. Now, Alienware computers are built to the same standard that the XPS gaming laptops were, and it's a high standard.

My M17x had the fastest video card available and it was only 1800. That's not really that expensive for what it was.
This is one thing I like about Safari. When you open a new tab it won't start playing the video until you select it.
"Discovering new music" is a massively overblown concept. I discover plenty of new music without going out of my way to do it but if I was trapped on a desert island with my current 40 some gb of music I'd probably be more than content with that for a few decades.
The New MA Tax on Software, Computer and Web Development Services
I wish there was a way to track who is making noise INSIDE a page.

I have two issues, one is some news websites that autoplay videos on random parts of the page.

The other, more annoying, is video websites (for example to watch fansubbed anime) that have ads that the ad author (not the side) somehow hidden it... Once I even found it, opening the inspector and looking around, but sometimes a page is ridicously complex that it is easy to just close it, and find another site.
Regardless. Apple's genius isn't patentable anyway.
"What's even more shocking is that the Globe has been doing great journalism—winning Pulitzers, etc."

Wow! That buggy whip company is DOING GREAT! Some of their buggy whip makers just got awards from the Buggy Whip Makers Guild for their high quality buggy whips!
In this case it was also a way of wrapping it up quickly and not dragging GS any deeper into it.
Well, "al" just means "the" in Arabic, so it would be analogous to eg. referring to The New York Times in a headline like "New York Times reports..." So no, I don't think it's particularly odd.
Reinvent the Movie Theater: wifi, outlets, low lights, second screen experience
Obama overrules Apple import ban
I cycle everyday, and as great as it is to be without distractions, in the back of my mind I fear being unprepared if in an emergency or situation where I need a phone. (e.g. a bad wreck)
I'm using the Graphite skin from the Insubstantial project:

http://insubstantial.github.io/insubstantial/substance/docs/...

https://github.com/Insubstantial/insubstantial
First, you're expectation that Google will drop Dart is based on what
exactly? A few SaaS product cancelations? The never rely on Google meme is
getting so old, mainly because it's overly applied to Google when all SaaS
providers have this issue, and it's been a known downside for years: when
product support ends for an installed app, you still have the old installed
app to use, when support is ended for SaaS users have a problem. I hope this
can be mitigated one day, but that's a whole other topic. The differences
with Google is that we have a ton of users even for our small products, and
there's a single name to attach attention to, rather than the numerous
shutdowns that have happened in other companies, or the startups that have
bee bought and killed.

No, the difference with google is they use their billions of dollars and monopoly/near monopoly status in neighboring markets to come in, underprice competitors for years to not only win users for a saas product but also to poison the market and drive all competitors out of business, and then close up shop and wonder why people are pissed.

As for traction, if Dart doesn't get any traction (after it's actually
released, and had a good chance to succeed of course), inside Google or
outside, then it probably _should_ be abandoned, right? In that case, who
exactly is there to care that it's not developed anymore?

any suckers that built products on top of it?

The FUD around Dart is just incredible.

and it's apparently too much to introspect and figure out why people, quite rationally, are declining to trust google.
Thank you. Corrupt Network is a personal project website, dedicated to "Social Media Distortion". Contact: http://corrupt.ch/about
How does this not have more upvotes?
Having done some hacking with those little TP-Link devices (well, on a TL-MR3020, which is almost identical), I will say that Debian on a Raspberry Pi is much easier to work with than OpenWRT on a TL-.

With the TL- devices, you have very limited writeable storage, and as it's an append-only file system, the only way to reclaim the space is to reflash the system. A Pi, by comparison, feels like a normal computer system.

Twice the price isn't necessarily a bad deal, unless you're working in such volume that development time is an insignificant part of the overall project cost. Given the choice, I'd go for a Raspberry Pi next time.
What medicine is that pray tell?

I mean, if you're comparing bans in Europe with bans in the U.S., they're not comparable. I don't think Korea is going to ban Samsung phones in its own country either.
Maybe it depends where you live. Here in the San Francisco Bay Area, teachers do not make a middle-class wage, by any reasonable definition of "middle class." Is that what we want?

Your second paragraph seems to make some kind of fairness or economic efficiency argument about teachers. Why not ask a question about society? If the best people (for the most part) weigh the pros and cons and decide they want to own a home and have two kids, and therefore choose a non-teaching career, is that best for society?
Hooray for Apple!
(Copy-pasting my answer from the same Stackoverflow thread)

I actually built a Chrome extension - https://chrome.google.com/webstore/search/copy%20link%20addr... that does exactly this, and for all web pages. GitHub source https://github.com/dhruvvemula/copylinkaddress/blob/master/c...

I find three bugs with Trello's approach, which I know because I've faced them myself :)

The copy doesn't work in these scenarios:

1. If you already have Ctrl pressed and then hover a link and hit C, the copy doesn't work.

2. If your cursor is in some other text field in the page, the copy doesn't work.

3. If your cursor is in the address bar, the copy doesn't work.

I solved #1 by always having a hidden span, rather than creating one when user hits Ctrl/Cmd.

I solved #2 by temporarily clearing the zero-length selection, saving caret position, doing the copy and restoring caret position.

I haven't found a fix for #3 yet :) (For info, check the open issue in my Github project - https://github.com/dhruvvemula/copylinkaddress/issues/1).
That's important but add in increased pay, litigation, and huge medical billing overhead.

Just think every time a company negotiates prices both sides spend time which is why stores list prices and don't let you negotiate but car dealerships do.
I'll be damned.

http://i.imgur.com/kD1XAxm.gif
Right now, because I'm spending a lot of time flying across the continent, my dev laptop is a maxed out 11" MBA. It's a little light on RAM (only 8GB) and the screen, while a decent PPI, is too small. But I plug it into a Thunderbolt display and bam, it's plenty enough for day to day work.

Of course, it was a lot more than $1000.
Ok then go research how many companies in silicon valley give their employees Gmail. All the companies I've been worked provided Gmail only because there is really not a good open source option. And Google accounts is a huge monopoly that obviously sounds bad enough to hurt your feelings. But this is the reality. Google is a valley of shit and most of us want to move on from it.
snapchat for links.
They are not slipping a DRM delivery MECHANISM into the HTML standard. They are slipping an INTERFACE into the standard, not a MECHANISM. The interface can be used to access a DRM mechanism if one is provided on a given platform, but it can also be used for other things, such as providing secure access to private documents.
A kids past performance and out of school issues dramaticly impact learning independent of the teacher

A VAM score is (actual score of their students - expected score of statistically similar students). If a kid has low past performance, his expected score will be low, and thus the bar is lowered for his teacher.

VAM tends to hurt teachers in top schools far more than those in the bottom schools due to the ceiling effect - if your students expected score is 97%, there is no room for them to improve.

As for teacher pay, this is a non-problem. Teachers are overpaid when you account for pension, job security and summer vacation - as a result, there is a glut of people attempting to work as teachers, rather than a shortage.
A subset is still included in the larger set. So thank you for agreeing with me.

PS: I don't think the "good relationships with government" have been established to be causal to the result, beyond vague innuendo.
why don't they just change the red and white play-icon to a pause icon?
Great job! Just a devil's advocate question.. why do you guys think that these locations matter anyways, besides for mere curiosity of seeing them on a map?

[I'm thinking of doing some research about this, that's why I'm asking]
I agree. I scrobble to last.fm and usually just dig around the similar artists area whenever I find new music. Finding IDs of tracks I enjoy on mixes are also another source for my library.
This is pretty cool. I think I'm going to build a RepRap though as it will be a few hundred £ cheaper.
A record 21.6 million millennials live with parents
Yeah, I've considered a macbook air. It's definitely in my top choices. It's been so long since I've looked at laptops, but surely there are cheaper options with similar hardware right?
The first at a large retailer perhaps, but small 3d printer companies have been around for years in the UK. Adrian Bowyer, who started the RepRap project at the University of Bath in the UK launched a printer company over a year ago: http://reprappro.com/
I wonder what they jettisoned in terms of other liabilities though.
The Civic Accelerator
My issue as it relates to compensation in general has less to do with whether any group of people is underpaid or overpaid as a whole and more to do with how entire job categories tend to have their salaries defined in fairly tight ranges (that do alternate based on regional cost of living, but not so much based on individual value) that are virtually impossible to break out of (unless you play the lottery ticket of starting your own company).

Sports athletes are one of the few areas in which people can do basically the same "job" and one guy is paid $20 million a year and another guy is paid $200k a year. You don't have that sort of variability based on actual value produced in many traditional jobs, which I think is a shame.

Are some teachers in the US actually overpaid relative to the long-term value they produce in their role? Surely, even if their base pay is bad I'm sure some of them don't even actually earn what they make. But are some teachers incredibly underpaid? Surely, as well. However, for the vast majority of "traditional" jobs we've created these compensation structures where you can nudge people up or down relative to their peers, but not by nearly enough to adjust for their true value.
A macbook air sounds great, but I am concerned with the screen-size as well. I would definitely need more than 11" as I wouldn't be using an LCD monitor 95% of the time.

It definitely seems like the macbook air is the go-to lightweight development machine these days.
The average teacher works 38.5 hours/week during weeks when they work full time. They do, however, spend about 40% of their working hours at a location other than work.

http://www.bls.gov/opub/mlr/2008/03/art4full.pdf
I love mine, but once I get settled I'm going to switch to a desktop. That said, I don't know how well the Haswell MBAs work in Windows; I would assume that it'd be fine, but check with someone who actually knows?
Nope. I was replying to the idea that Apple is a 'lobbying juggernaut' and 'government favorite' which is demonstrably false.
They can't have dividends, any profit must be reinvested or given to another non profit.
Your Python Regular Expression's Best Buddy
In that case Apple has still 'lobbied' far less than its US competitors by holding out against prism.
Why don't they do that, then? There must be some reason. I'm guessing it's that they want to override the content of what gets sent to the clipboard--is that correct?
What's amusing is that being a swiss company, what they are doing is illegal, as IP address are considered part of the private sphere and they cannot be harvested ( http://arstechnica.com/tech-policy/2010/09/switzerland-gathe... )
If you can't hold yourself to an extremely high standard and others to an even higher one than you'll only have moderate success as an entrepreneur.
A high school teacher in SF can expect to make 58k a year(1). Median household income in SF 71k a year(2).

Now that's 13k lower but that's only one salary when many household's have two and, as the top commenter says, 9 months instead of 12. Plenty of teachers pick up some extra cash over the summer.

Sounds pretty middle class to me.

1. http://www.indeed.com/salary/q-High-School-Teacher-l-San-Fra...

2. http://www.bayareacensus.ca.gov/counties/SanFranciscoCounty....
China blocked another US site: Wall Street Journal
Thanks. I wrote a simple Ruby script that will "replay" data as if the event were happening live. It's great for a demo because you can leave it up while your talking and known data is streaming in. And for me it's even better since I was demo-ing a monitoring tool and could have known alert occurring live. :)
Is that a point?
The 13.3" is 1440x900 which gives you a little bit extra screen space. Asus Zenbook and Sony's VAIO ultrabook both look really nice, also in the 13.3" range.

I work primarily from my 13.3" screen in a wide variety of IDEs, you get used to it.
Logging to MongoDB in Python
Yeah I know, but that's not my burden, that's theirs.
Random TV and Movies news
Ask HN: How can I make a lot of money?
I'm going to be a high school senior. I have great grades and SATs. I can go to a lot of different universities. What should I do and why?
This is test prep but the tests are not in the same category of the college entrance exams we have in the states (all our standardized tests are jokes).

The East Asian countries' entrance exams are orders of magnitude more difficult than US exams and actually cover real subjects in a critical manner. Think of it as AP exams on many many doses of Horse Steroids, where the exams last for hours for multiple subjects over the course of one day. I also believe that the exams are not multiple choice unlike the US.

The exams tend to be a bit on the "cram" style of things from what I've heard, but they are far more rigorous than the SATs ever have or ever will b.
[citation needed], when you take into account the technology being used.
Medium & large utilities frequently do run their own fiber and/or microwave links. These places also tend to have some level of infosec awareness.

Small municipal utilities (primarily water/wastewater treatment) frequently do very bad things* for convenience and because they don't know better or they take view that nobody would want to attack them. If a security audit was required along with the water quality testing they'd learn pretty quickly...

* Things like not separating control and office networks, open wifi that is "secure" because DHCP is disabled, plain open wifi on the control network, etc.
>The US legal system is pretty explicitly biased towards defendants in gray areas

I'm sure Twitter, its users and the legal system are just dying to have marginal cases decided by the courts.

What you've described is the problem I was referring to. One person says one thing, another says something else. A third party has to make the decision on whether it's acceptable or not. That's cumbersome, not very clear cut, and leads to one disgruntled party or at least some controversy.
How does this compare to Slate, https://github.com/jigish/slate ?
Edit (inner city) Poor children don't have consistently poor performance it gets much worse 8-12th grade than 1-4th. Which is not accounted for by VAM.

Students are not predicted to score 97% school wide due to reversion to the mean.

As to a teacher glut it's not a question of body's it's a question of quality. Plenty of people would be CEO of Ford for far less money that does not mean there over paid.
My friend is a high school teacher and her husband is a civil engineer in Albany. They make about $150K total. ($65K+$85K) They have two kids and I'd say they are pretty middle class. They seem to have a lot more feeling of security than most of the software engineers in the area, even though the engineers have higher wages. Their house is a lot smaller than it would be if they lived somewhere like Minnesota, though.
Precisely. I worked a little bit for a large pharma company (in a finance capacity) and I saw first hand how incredibly profitable it is for the US government to not have negotiating power on drug prices.

Pharma companies make a wildly disproportionate share of their global profits in the US simply because they don't have to negotiate with a large 'super-buyer" (e.g. medicare).

Now if pharma R&D were productive I wouldn't have a problem with this, but it's notoriously unproductive (and not just because of the admittedly overly burdensome FDA regulations).

I would support a grand compromise:
1) for pharma companies: reduce FDA hurdles for drug approval, but add more aggressive post-approval tracking (to reduce the risks associated with a lower regulatory hurdle)
2) for the rest of us: allow medicare to negotiate aggressively on price, this will have a ripple effect and lead to lower drug prices for all.
Show HN: Crowdfunding Stupidity
I'd probably be content as well, but I think about some of my all-time favourite songs, and how a lot of them were discovered by chance or through some obscure means. And I wonder just how many more "all-time favourites" are out there waiting to be discovered. That's what keeps me actively listening to new music, and indeed, I have found some truly excellent music through music-recommendation services (last.fm mostly).
everything in moderation :) good thread btw
Twice that? Easily? Color me skeptical...
Almost a year mostly interested in actual hack threads and python threads. and pro keeping HN, HN, despise reddit style posts as there is a place for that and its called Reddit !
for me it's actually just interesting to know where these startups are based. (i'm not based in US).
in case I visit SF I'd probably have a street view look at these offices and plan some kind of trip or something
The quality is better than it was before.
Hiding salary information is usually because it can often create awkward tension in your social groups. Like if your poor friends or family know you make a lot more money than you let show.

I know it's not the only reason for privacy, but it's a common and significant one.
Game Closure SDK switches to the Mozilla Public License
> ongoing support, patching, commitment from the vendor
is ab-so-lute-ly necessary. This is why Rails succeeded,
for example.

This doesn't make any sense -- there is no "the vendor" providing those things for Rails. If anything, this illustrates the parent's point that the Dart community (like the Rails community) can support the Dart compiler and other tools if Google ever pulls back from it.
I've lived in Scandinavia, with largely similar systems (they vary a bit, I've seen Sweden and a bit of Finland). The health care systems are centrally planned and administered, and hence have the typical problems doing the work in an efficient manner.

For instance, it is acknowledged in international comparisons as really hard to get diagnosed because doctors just don't have the time, largely because of administration. Me and others I know have had years and decades of lowered life quality from easily cured problems like bacteria infections, simple knee problems, allergies and iron/vitamin deficiencies.

I've heard good things about the German health care system.

Notes: I have also lived a few years outside of the Nordic countries, so I have some perspective. And I agree that the US system seems the craziest one on the Western world.

Edit: The government has recently decided that all illegal immigrants in Sweden will get free health care, without any paperwork. If you need an expensive and can fake an Ukrainian accent in English, or something similar, there is a cheap solution for millions of Americans with a ticket to Sweden...
Also.. This is a shameful display of a wealthy person using their wealth to simply disregard the laws.