skysight-inc/HackerNews huggingface dataset:
So I did some research. I noticed some people speaking of DMIX in alsa for doing software mixing. One can install some plugin packages to enable a configurable resampler (libasound2-plugins on debian). You can then set /etc/asound.conf with some thing like:

defaults.pcm.rate_converter "samplerate"

But I couldn't really tell a difference in cpu usage when audacious was playing anything. I figured since "ALSA" was also synonymous with "kernel driver" that I would only see increased cpu usage in kernel land, which I wasn't. After getting a bite to eat and thinking about the problem, even though I don't really have a full understanding of the ALSA architecture, it dawned on me that I might be thinking about it wrong. The ALSA api is userland, so perhaps when sound is passed from an application to the alsa library, the CPU cycles would then happen within the application generating sound? I tried my test again, sure enough audacious used 10% cpu with speexrate versus 30% with samplerate_best. So I'd been complaining about CPU usage of pulseaudio daemon when it was actually offloading the load from the application (and not adding to it)

I went ahead and installed pulseaudio, (there was some good info here[0]), I set up ALSA to by default use PA through /etc/asound.conf[1]

Rebooted and everything seems to work fine so far (though I haven't tried suspending on the laptop which seems to be trouble for some). Ironically when I play stuff on soundcloud through firefox, the CPU usage for one of the FF process would always hang around 50%, now it is hovering between 20-30%, so perhaps it even lowered that usage as well. audacious uses about 6-7% CPU now as well.

The default resampling of pulseaudio works good too. You can try playing this dial tone file that has a hidden 19khz tone in it[2]. If the resampling is not done good enough, you'll end up with an audible interference pattern (it would show up on ALSA, but not with pulseaudio now)

[0] https://wiki.archlinux.org/index.php/PulseAudio

[1]https://git.archlinux.org/svntogit/packages.git/tree/trunk/a...

[2]https://hydrogenaud.io/index.php/topic,9772.0.html
A complete daily plan for studying to become a Google software engineer
it's a gcj comeback?
Absolutely. I'm a guitarist, and have been for over 30 years. I'm good, but not REALLY good, and I hit a wall in terms of technical ability / speed a long time ago - after about 5 years of playing. Nothing I did improved my speed and I didn't have the accuracy of a Malmsteen or MacAlpine, despite practicing religiously for hours at a time. I thought I had a speed limit and that was that - everyone I consulted felt the same.

It's only been in the last few months and via complete luck on YouTube that I appear to have discovered the missing piece of the jigsaw (two way pick slanting) - had I known this when I was 18 I would have been of a much higher level. Being 45, having old bad habits to overcome and the demands of a family with 4 kids and a chronic bad back means I don't have the time to devote to the improvements I'd love to make, but from my experience, I know that "practice" is not enough, it needs to be the right practice, and sometimes that means a subtle nuance which is not apparent to some, maybe for years. I've helped some of the kids I teach in a similar way, with them then "getting" an idea they've not understood for a long time, so there needs to be more analysis than simply "practice", in my opinion.
that's it I agree, but what does perfect mean also? perfect absolutely, compared to your potential, or relatively to others?
What happened to that guy that gave up his job to spend 10k hours practicing golf in order to test the "10k hour makes perfect" theory? I was reading the article expecting that to come up. A quick google doesn't find anything on what/how he's doing today (it wasn't this guy, was it?)
Lasan – Sweet Kella [Official Music Video]
No it's not, the unspoken assumption of the article is that it's specific to poor people.
Understanding jQuery Security
>If PA isn't doing it, your apps will be instead.

You were right about that, I tested it in another comment on here. I thought that resampling would happen within a kernel driver or something. But no, apparently when an app uses the alsa library, the functions that resample will happen within the app generating the sound (and thus in userland).
I read The Cambridge Handbook of Expertise and Expert Performance, co-edited by K. Anders Ericsson, the psychology professor mentioned in this article. His work inspired Malcolm Gladwell's popular work on deliberate practice.

I found Ericsson and co's ideas to be completely counter to their data. A lot of the articles were based on case studies. They studied wrestlers and wrestling coaches, for instance. The wrestling coaches were adamant that their selection process of weeding out less talented athletes and spending their effort grooming the ones who showed lots of promise was one of the keys to success. Somehow the authors completely ignored or glossed over lots of bits like that, strongly emphasized the obvious fact that successful wrestlers practiced a lot, and came to the ridiculous conclusion that practice is the only thing that matters.

On a related note, here is a quote from Ericsson that appears in the article:

“Differences between expert and less accomplished performers reflect acquired knowledge and skills or physiological adaptations effected by training, with the only confirmed exception being height.”

This is so disingenuous it's hard to know where to start. Consider powerlifting champion Andy Bolton. He deadlifted 600 lbs at 18 years old the first time he ever lifted weights. I have been lifting weights for 20 years and have never deadlifted 600 lbs. Bill Kazmaier is another one: he benched 300 lbs the first time he ever tried, and benched 400 a month later. These guys were in a position to win local and regional powerlifting competitions with basically no training at all. And here's Ericsson saying there's no such thing as talent.
> BMI has been raked over the coals (new and old methods) for being wildly inaccurate for anyone outside of a conditional range.

No it hasn't.

BMI doesn't work for three groups of people: it makes very tall or very athletic people think they're fatter than they are, and it makes very short people think they're thinner than they are. But, as GP says, that's less than 5% of the population.
Except nobody knows how that works.

And even perfect practice will not help a person who is actually tone deaf.
I agree hehe, JS may possibly move more and more in this direction
This is a very good example of psychopaths taking advantage of government's irrational response to hurt others.

Irrationality here is the War on Drugs. I think that should be talked about in more details in this case. Granted, if it was shorty after a terrorist attack they said she was making bombs in her basement, maybe sprinkle some fertilizer residue on her car.

This always happens, it is a common pattern. I remember being told how during Stalin's time it wasn't uncommon for neighbors to rat on each other and say "so and so is against Stalin and making jokes", and magically the whole family disappears after an early morning visit from NKVD. Well they shouldn't have been letting the cows graze that close to the fence, that'll teach them.

If War On Drugs wasn't there and cops and society wasn't twitchy and irrational about it, the criminals would have a harder time. This just made it all too easy (and the real reason this is news is because she got way and by strange coincidence the detective wanted to look deeper into the story).
The 911 call claimed his name was 'Chandraskhar' (I assume a vowel got dropped in there and they meant Chandrasekhar), which isn't a name I'd expect someone to produce at random. But it's a pretty notable one if you have a physics background; Subrahmanyan Chandrasekhar won the 1983 Nobel Prize for physics and the 'Chandrasekhar limit' is a well known number in astrophysics. So, I was wondering if someone in all of this would have some connection to astrophysics and lo and behold the crazy wife's dad is an astrophysicist. Makes me guess who wrote the script for the 911 call.
Ranking TV Shows That Got Canceled
I love Blender, and I also like the interface and like you I use it probably once a year. Unfortunately I do forget how it works each time and end up going back to my copy of the Blender book.
> But "duped" is not exactly the right word. Libya knew it was betting on bank stocks to go up, and those stocks went down. It's not claiming fraud. It's claiming "undue influence." The problem is not that Kabbaj was lying. It's that he was too charming. Libya isn't saying it was duped. It's saying it was seduced.

Interesting twist here. I guess it must be hard to discern for someone who has lived in this trade for so long, and used this mindset as the core of his trade for most of his career but there are simple things that technical people (or even just lawyers) will easily discern: omissions and hiding of a client's best interest.

If you know something is wrong in a company and you don't tell it to your employer, in many fields, that makes you at least negligent. If you know something is wrong and you don't tell it because it causes personal gain to you, it is actually illegal in most jobs and likely criminal.

If you are paid for giving advices in the interest of your consumer and you hid an honest assessment of risks because you profit in your client's risky behavior, yeah, that's fraud. A doctor prescribing an addictive medicine, an IT guy selling a faulty software because he got share in the selling company, etc...
One way to solve this particular problem of "number of unread rooms" is not to persist it in database at all. Send push notifications of new messages and have client app to compute it client-side.
Nim is a powerful statically typed language that allows the programmer expressiveness without compromising run-time performance. As a general purpose programming language, it gives the same sort of power and performance as C++, but in a nicer package and with even more powerful tools!

(Exasperated) nooo, nooo, nooooo, not YET ANOTHER language! How many do we need?!? Stop inventing new languages, this is getting to be ridiculous, where every Joe Blow with an ego wants to make his mark upon the world! STOP!

This is one of the reasons why computers suck.
> decades late for Java desktop apps

Commercial JDKs always offered AOT compilation, the problem is that people nowadays apparently don't buy compilers anymore unless forced to do so (e.g. embedded, consoles...).
They are planning it, and there were already several talks, but the roadmap was Java 10 or later.
Nothing to see here. In the age of hipsters, cosplay of intelligence and "social" role-governed behavior in general there is no surprise that we could read all that nonsense in the New Yorker, which is a hipster magazine.

No sane person, who have enough intelligence to realize that music, sports, arts and craftsmanship are 95% based on practice would doubt it. Any good music teacher or Olympic coach will tell you this. The 5% of talent determines where most likely would end up on the spectrum, but talent without practice is nothing, like knowledge unapplyed.

Even in programming actually writing code on the daily basis is what distinguish top performers from mere mediocrity and talking heads and bloggers at the bottom.

For the hipster narcissistic sub-culture it is perfectly OK to "challenge" (they think it is a challenge, not a display of stupidity and lack of even basic understanding) the nature of reality with sophisticated (which does not imply intelligent) nonsensical blah-blah-blah in order to gain public attention to their acting according to the role.

Hipsterism as a social phenomena is an insult to intelligence the way commercialized empty yoga of cosplay and asanas is an insult to spirituality (which is seeking for the truth).
تور هوایی مشهد ورود ۱۲ مهر ۹۵
In your car's situation you are sending digital to your car stereo and its decoding and sending to your speakers. I believe OP was referencing analog audio.
There's a few statistics about salary adjustments for work that is perceived as more or less socially responsible in Jeff Schmidt's book "disciplined minds".

What is the "moral reservation premium" in salary expected in return for selling out and working for an employer seen as less socially responsible?

* a typical student would rather work as an advertising copywriter for the american cancer society than an advertising copywriter for camel cigarettes, and would want a salary 50% higher to do it for the cigarette company

* a typical student would want +17% salary to work as an accountant for a petrochemical company instead of doing the same job for an art museum

* "men are more likely than women to sell out, and this accounts for at least part of the gap in average salaries between men and women"

more detail in: R H Frank, "Can Socially Responsible Firms Survive in a Competitive Environment?" 1996
Navya found a buyer! They've been showing off their technology since CES 2014. Here's their demo video.[1]

There are a lot of these little things available. There's Easymile.[2] Theirs is so slow they have to show double-speed video. There's Olli, from Local Motors.[3] It's 3D printed and has a hipster website, but there are no installations. Even Ycombinator has one, Auro.[4]

Most of these things underperform a golf cart. They're all in the "when in doubt, slam on the brakes" speed range for non-belted passengers. This is in some ways a harder problem than driverless cars, where the passengers are belted in and can survive at least a 35MPH collision.

Maybe the solution to this is to provide seat belts, and limit speed to 5-6MPH until everyone is belted in. This will encourage people to buckle up, especially with a bit of nagging.

[1] http://navya.tech/?lang=en
[2] https://vimeo.com/137217228
[3] http://meetolli.auto
[4] http://www.aurobots.com/
Not necessarily. Selective breeding and genetic manipulation might not be the best of things. It may be better to have a bunch of people who love to sweep floors rather than 100% super intelligent. Plus we need different perspectives. To an extent, their should be variance in many things.

Sometimes a janitor solved the problem, by turning the genius thinking around.
Other application? There is no other application, old man. What you talkin' 'bout?

... (2 years later) ... Oh, now I get it!
It said at one point in the article that Easter had made the name up based on his Indian neighbor's name.
The comments associated with that article are abysmal.
> The analog audio is the supposedly less common

Maybe in the future, but there is like billions of analog headphones already in the wild.

I can easily imagine appearance of semi-passive (only the negotiation logic) USB-C to jack adapters which would have exactly the kind of problem parent described.

And face it, even if the standard prohibits such devices, they will still be made because there is a need for them. See USB A-A extensions cables.
I wasn't trying to be an ass. I was just saying that poor people have it tough than people without money. As you point out, sometimes even people with money cannot get themselves out of bad choices. I refuse to believe people are born either good or bad. Its the environment people were exposed to and the will power to do the right thing even when its hard that make people good and bad. People do bad things because it takes some effort to do the right thing.

Also about amazon, I wasn't trying to judge you or anything. I was just pointing put how amazon treat their low level employees like shit. Yes there are real costs to running a business. Your amazon team being great workplace for you is a good thing. Your team and the low level employees in warehouses all work for the same person, Jeff Bezos. If you were Jeff, and this came to your notice, would you actually do something about the bad working conditions of low level employees? They are humans after all and they are trying to make a living. Just because this is the only job they can do, doesn't mean they can be treated lowly. If no one reacts to it, then it will continue to be status quo(not advocating violent/rude confrontation). Agree to disagree.
I think in a similar way, and one of the nice consequences of this is, as you mention, that there's hope: you can try to attack your problem in as many ways as possible from as many angles as possible and find the "tiny unspoken thing" in a context one might not normally expect it.
I somewhat disagree here. Have you seen the homeless problem in SF, or the massive drug problem?

Look, my point is that just because people have differing views on life doesn't mean that they aren't equally capable of being correct.

> Conservative states are more likely to disadvantage the poor, disabled and minorities.

I would argue that is not necessarily the case. I have seen WAY more homeless, poor, disabled, and generally disadvantaged in California (and heroin users) than any other state. Perhaps they are just more visible, but the breakdown of the stats seem to agree with me[1]. Generally, conservative states just deal with things differently than liberal states, they both end up with their own issues.

Disclosure: Personally I a libertarian at heart. I believe in the whole "socially liberal, fiscally conservative" thing, basically meaning I fall more in line with the "middle" than just about anyone. I find the bay area equally as appalling as most conservative regions, I think the only thing I find more appalling about conservative places are the whole anti-abortion thing. Honestly, racism and sexism is probably worse in the bay area than most places because everyone is trying to be so "equal" they end up being racist and sexist against the other parties. This leads to ridiculous conflicts that make no sense.

[1] http://www.huffingtonpost.com/2014/10/22/america-drug-use-ma...
This is true and small memory sizes and limited bandwidth were design assumptions valid in 1992.
Java has AOT compilation since ages, here is one example.

https://www.excelsiorjet.com/

Most commercial JDKs do support AOT compilation to native code, and alongside Java library and eco-system, it definitely makes it more than a solid competitor to Go.

The problem is that free AOT compilers never were a big match to the ones from commercial JDKs, and in this day and age, most developers don't pay for compilers unless forced to do so.

So Java AOT compilers are usually only used by enterprise companies.
Was it just luck, or are you actually not creative enough to figure out new and useful things in your own?

(say, extended guitar playing techniques)

An open question so far.
you're thinking of this guy: http://thedanplan.com/

basically he was going to reach his 10k hour goal next month (Oct 2016) but back in Nov 2015 he had to take a hiatus due to a back injury. Not sure what has happened since he hasn't posted since Nov 2015.
It's pretty obvious that practice isn't enough. There are so many examples all around us.

If someone is born with down syndrome, they are extremely unlikely to graduate from university.
If someone's eyesight isn't perfect, they will probably never become a commercial pilot.
If you're autistic, you probably won't become a professional negotiator...

There are so many cases, sometimes rooted in tiny genetic differences which can make a huge difference when it comes to winning and losing...

And when you take luck into account; you could argue that even the most genetically fit human for a specific field is unlikely to become the best in that field even if they practice non-stop. There is so much luck involved, a single tiny problem can ruin an entire career before it even starts.
I use gcloud compute instances create ... in a shell script.
This line stood out to me:

"It might be shocking if an erroneous program was discovered, but it could certainly happen."

Is anyone actually under the impression that the thousands or tens of thousands of components that interact with each other at any given time on a typical desktop computer would be "correct", even for generous definitions of that word (well, that are less generous than "most of the time generally do what the designers set out to, generally, accomplish")?

It seems to me that all components in computers of at least the last decade, not to mention their interactions, are so complex that they almost certainly are full of small and not so small errors; they are deployed as soon as the most obvious and obnoxious errors have been removed but there must be heaps of things going on that most people would agree on are "errors". I'm continually amazed that we manage to build (or rather, 'assemble') systems that most of the time work at all.
Might be that creativity is a heritable part of talent too. Generating multiple contexts, finding those tiny inspirations.

An interesting counterpart is that our current education systems are trying their best to suppress creativity and give fish instead of a fishing rod.
I think professional athletes make an interesting parallel with CEOs. The majority of athletes are unarguably the absolute best in the world at what they do.

Superstars have a far bigger impact on their team's performance than an average player in the league. Many commenters have argued that good CEOs have large impacts on company performance.

The average NFL career is 3.5 years; the average NBA career is 4.8 years. Several commenters have pointed out that CEOs of failing companies risk this being their last CEO job.

Athletes are derided if they cannot save enough to ensure their retirement when they are making millions of dollars a year. Why can't we expect CEOs to manage their own finances responsibly and plan for a future where they aren't earning millions?

After their playing careers, many athletes choose to work lower paying jobs as assistants, coaches, commentators, consultants, etc. Why can't a CEO take a step back after a failure and be a COO, CMO, VP of Sales, etc.?

During their careers, NFL and NBA players' earnings are limited by a salary cap. LeBron James can't earn more than ~$30MM from his playing contract, even though he generates far more revenue in TV contracts, jersey sales, gate receipts, etc. Why can't we impose salary caps on CEOs?
My understanding is that GCC has a more diverse arsenal of optimizations that it can apply to code while hotspot has the advantage that it can profile at runtime and apply speculative optimizations based on those profiles and bail out later if things change. In principle it can even optimize code that never reaches steady state as long as the transient states last long enough.

What costs java performance these days is not the quality of the JIT compilers or even the garbage collectors. It's the object layout that is not very cache-friendly. There is lots of pointer-chasing going on since there are no arrays-of-structs.

Valhalla[0] promises to improve the data layout issue at some point in the future while graal may allow compiler writers to cram some more optimizations into the jits.

[0] http://openjdk.java.net/projects/valhalla/
Yea, let's replace a 3.5mm diameter jack with an 8.4mm x 2.6mm jack. All that space saving!!!!

Note the supported formats are all DRM-encumbered? No Vorbis? no FLAC?

Gotta love that money grab.
No Technology Thrives Alone: Progress Is All About Convergence
"There's also more likely to be localized corruption" [Citation required]

If anything I've found corruption is much higher around more liberal states.
And?... if the end result is the same? :)
Thanks for this.

Too much work in verification has been done by people who wanted to publish math papers, not kill program bugs. This is about creating bug-free code. I think people will get this now,

This might be right, but when I go areading I still find all the maths-orriented stuff.
Your theory suggests all people are equivalent, but learn by happenstance. To further your theory, would people in a set of skills have random attributes? It would be interesting to see if all chess grandmasters share any common traits, or not.