skysight-inc/HackerNews huggingface dataset:
> You do need to announce your political ideology to whoever you're buying services from when you're buying services for a website for a politically charged website.

Actually, you don't - at least not here in the United States. That said, if the company finds out about your political ideology before they sell the service to you, or after the service has been sold to you, they don't need to sell it to you or continue to sell it to you.

They do need to give you back your money, though, if you have paid for service already (minus whatever you have used).
Hint: Over the same time period, womens own reported "happiness" has gradually and steadily declined.

Well done ladies! You made yourselves miserable
to be fair when meth was ravaging poor/rural white people nobody really seemed to care much either. in fact it was something of a joke i.e. the "not even once" memes etc.

i think the real issue is opiates seem to be heavily affecting affluent suburban and urban people, who are predominantly white, and make up a huge amount of the tax base.
Web audio can be used with this: https://wavesurfer-js.org/
Eh. Still kind of shitty to have had access and then have it removed, and then say 'nothing has really changed, guys!'.

If they rephrased it to admit they're moving to a Red Hat model of "pay for binary", the news would have fared better. More straightforward, with a direct comparison to a current, successful brand.

Let's face it: They realized their product was popular, took advantage of tons of interest and documentation/blogs/hype in the community, then decided to charge for binary distribution. It's a bit of a burn.
Are there any good audio APIs out there?

Video AND audio? They good you all covered with nice APIs!

Just audio? You're screwed!
I didn't like the idea of public utilities either in my idealistically naive youth. Then later I realized that natural monopoly public utilities work amazingly well, so well in fact you almost don't even realize they're there anymore and take them completely for granted - sewer, water, electricity, garbage. All the complexity and effort of making them work is hidden from the end user, it's the ultimate UI/UX accomplishment.

Then you look at what happens when the private sector gets a hold of them, be it Enron in energy or for-profit banks in the money management business (which is already a partial utility thanks to central banking), and it calls into question the libertarian dogma that everything should be privatized.
Not to argue that there wasn't and still is racial inequality when it comes to drug enforcement, but how advanced was our understanding on how to treat opiate abuse even by the 1980s? To make things clear, I'm curious about the history of treatment methods involved with addiction. Not about excusing bad policy.

I don't know much about the subject but when I try to do a bunch of cursory searches, most of what I find are histories on alcoholism and the variety of treatment methods. As far as I know, before the crack cocaine epidemic, I don't think people really understood just how pernicious the problem of opiate addiction was. Doesn't excuse mass incarceration of black people, but I'm not sure people had any idea on how to actually approach the problem back then. I'm not sure we have a good approach even now.

It's also worth noting how small the problem with cocaine and other opiates was in the past. The crack cocaine epidemic was probably the first time the nation as a whole had to learn what this stuff actually was.
*Second most effective.
CD Now beat Amazon by a few months: https://en.wikipedia.org/wiki/CDNow

But you're right, Amazon was basically there at the beginning of online retail. A better example is YouTube. Many online video sharing sites had started and died years before YouTube was a gleam in Janet Jackson's pasty http://usatoday30.usatoday.com/tech/news/2006-10-11-youtube-...
you are 'not willing to pay' money or time?

why not?
This article focuses on emscripten examples and for good reason! The effort to resolve the differences between OpenAL and Web Audio has been on-going and exacerbated by Web Audio's API churn, deprecations and poor support.

That said, this current pull request on emscripten is a fantastic step forward and I'm very excited to see it's completion: https://github.com/kripken/emscripten/pull/5367
I know this is probably secondary to the overall point of the article, but since I saw this bit:

> "...the most significant consequence of YouTube’s revenue sharing has been the democratization of the job of internet content creator. Every month, we deposit money into the accounts of millions of creators around the world. That money is what helps a streampunk get his or her start."

I put ads on a few goofy videos I made years ago and shared. Figured it was worth a try, even if only for some beer money. To date, I've made...just under $40.

Now, granted, I haven't even tried to do any sort of promotion or followups or any of the things you need to do in order to build and grow a channel, so that's fine. The part that sucks is that I can't even cash it out unless I've made at least $100.

I'd even be happy if they only paid cash out over $100 but let me transfer lower amounts to Google Play credit. At least it would give me some "play money" to buy apps or fund subscriptions.
Everlast MMA Gloves Review
What science says nothing about because of the DEA's inane scheduling: hallucinogens.
500+ comments and no mention of the touch bar support?

Not really surprised, after 6 mos I don't think I've used the touch bar for anything other than mute / volume.
Also interesting and related: https://news.ycombinator.com/item?id=15241874

"Psychedelics Help Reduce Opioid Addiction, According to New Study"
A 13.6x growth. Pretty good. But not as good as the stock market which would have given you 22.1x over the same period.
I'm not saying you're wrong. But turning this into a platform for calling out racial inequality is probably just asking for backlash. Yes, in the future we can apply science more equally to all regardless of race. Yes, we failed in this area in the past. But does that somehow invalidate science, or this research? No.
AXA goes blockchain with fizzy
I'm physically dependent on caffeine. Why bother fixing that when it is cheap legal and available?
Just wanted to add that we've experimented with Caddy awhile back and, while it didn't suit our needs at the time, the first impression was a good one and I've since kept the project in the back of my mind.

However, the responses from the Caddy folks here and at https://github.com/WedgeServer/wedge/issues/2 have been abysmal and without a clear change in course I'd feel embarrassed to recommend it to colleagues.

It's not even about the licenses, as others have said, this is just bad form.
many of the comments here conflate the MBA degree with their perception of the degree holder. that's understandable, but i'll repeat that the educational content of the MBA degree is quite valuable (e.g., yc's startup school present a condensed version of that content).

on the other hand, being overconfident, out of your depth, mistake-riddled, ambitious, and all of those other perceptions are just part of the general human condition. engineers and executives and artisans and small business owners and more all have those failings (if you want to see them as failings--there are multiple perspectives). i'd say it's our duty as humans to do our best to understand the person in front of us rather than rely on these short-circuited, imagined archetypes sitting in our heads.
"Plus the facebook guys are avoiding VScode like the plague"
Not true.
The work seems to expand to fill the time. You'll notice people struggle to raise their 2-3 kids, when people previously had over a dozen. They're now putting in more effort per-child.

Having cleaning be easier similarly seems to raise cleaning standards.
Apple might be right to undersell augmented reality
Doesn't the fact that the "not even once" ads existed in the public consciousness saliently enough to have a meme show that people did really seem to care?
A bunch also happened in the 1980s. It would be interesting to figure out the causes in each of these decades.
Whether the API could be used to play MOD files is a good litmus test of its suitability for a variety of purposes. Covers repeatedly playing samples at differing volumes and pitches, simultaneously.

I'd rather have a comprehensive API that someone can dumb down than one that's so crippled as to be unusable beyond very basic functionality.
Thank you so much for this. Because of you I'm laughing uncontrollably in my cube at work now.
iOS 11 and Android Spearhead Universal Support for Opus Audio Codec
I believe a "different alphabet" causes a delay for majority of the population accessing services from an English-language based services and gives local startups time to excel before the US ones start the worldwide expansion. In latin and other countries within the US sphere of influence, the general population is more inclined since a long time to consume US products even if they aren't localized.
> Let's be real though. This is a result of Russia being completely isolated from most major internet services due to the overwhelming amount of malicious traffic originating from there, not any inherent superiority of Russian tech companies.

Can you please clarify something for me: Are you saying people in Russia can't use Facebook or Google because those companies block them ?
you are a student and you are using something for FREE and you are also at the same time worried about extra stuff in the headers?

what is your startup going to do to generate money if you perpetuate the belief that no one should pay for anything?
The very definition of Free Will is up for debate.
well you could say the same thing about 'this is your brain on drugs' when crack was going around. that was also a PSA that entered into the public consciousness and then turned into a joke.
'World Without Mind': How Tech Companies Pose an Existential Threat
Plus one for sure.

I put some weekends into trying to build a higher-level abstraction framework of sorts for my own sound art projects on top of Web Audio, and it was full of headaches for similar reasons to those mentioned.

The thing that I put the most work into is mentioned here, the lack of proper native support for tightly (but prospectively dynamically) scripted events, with sample accuracy to prevent glitching.

Through digging and prior work I came to a de facto standard solution using two layers of timers, one in WebAudio (which support sample accuracy but gives you hook to e.g. cancel or reschedule events), and one using coarse but flexible JS timers. Fugly, but it worked. But why is this necessary...!?

There's a ton of potential here, and someone like myself looking to implement interactive "art" or play spaces is desperate for a robust cross-platform web solution, it'd truly be a game-changer...

...so far Web Audio isn't there. :/

Other areas I wrestled with:
• buffer management, especially with CORS issues and having to write my own stream support (preloading then freeing buffers in series, to get seamless playback of large resources...)
• lack of direction on memory management, particularly, what the application is obligated to do, to release resources and prevent memory leaks
• the "disposable buffer" model makes perfect sense from an implementation view but could have easily been made a non-issue for clients. This isn't GL; do us some solids yo.

Will keep watching, and likely, wrestling...
I was very explicitly speaking of "legal". With acts like the CAN-SPAM Act, a lot of spam is, in fact, illegal, and it isn't by any stretch a restriction of free speech for an infrastructure provider to shut down someone sending illegal spam.
It sounds goofy, but this strikes me as really clever.

Didn't the Top Gear / Grand Tour guys jokingly propose to do this?
Oral Tradition in Software Engineering
New Apple iPhone X Features, Specifications, Highlights, Hardware, Color Options
First to market is a tactic and potentially an advantage, but it isn't the end all be all of whether or not you'll be successful.
If I have to guess I would say that some intelligence agency is monitoring software updates from Kaspersky and they found something unusual, but probably their evidence is circumstantial so they can't go public with it. I don't know how's their update model, but for instance they could skip or delay updates for ongoing operations for specific targets (and this could actually be done even without the consent of Kaspersky). Of course they also can deploy rootkits, but then there is no way to deny wrongdoing...
That's excellent. Most people don't seem to use plugins so a default build is enough for them. Those who need it have a business need now and can either setup their own build system or pay Caddy for that. Value is generated as opposed to being subtracted (from the current status quo).
fwiw, you can still download older versions of iTunes for macOS and Windows:

https://support.apple.com/downloads/itunes

It's kind of a relief given the App Store orientated nature of the Apple ecosystem.
OP here.

An interesting takeaway I had was the importance of community. Does anyone know any non-profits or startups working to increase people's sense of community at a mass scale? It seems this is missing from large parts of the western world and has many consequences.
Imho i would guess it is more a markets thing than a racial thing. There probably wasn't a whole lot of money to be made in curing an epidemic to a poor minority in the 80s whereas the opioid crisis is hitting a larger middle class population
Sometimes, one can be too helpful.
Show HN: Responsive Lego
Nope. Web Audio was designed almost entirely by a single person, Chris Rogers, an engineer with a long history of working on audio for Google, Apple and Macromedia[1]. Whatever Web Audio's problems, design-by-committee is not their cause.

[1] https://www.linkedin.com/in/diagonal/
We've been through this multiple times. WASAPI, MME, DirectSound on Windows. CoreAudio on Mac. Libraries like SDL_mixer, FMOD, Wwise. We know how to construct a sound API. There's 20 years of prior art.

If you provide a low-level "play" API, others can build stuff on top because it's just numbers. Sure, sometimes there's "expensive numbers" like MP3 decoders, FFTs, etc., but these can be added as needed.
One word: w3c.

I've said it before, I'll say it again: it exists in a vacuum, and is run by people who have never done any significant work on the web, with titles like "Senior Specifications Specialist". Huge chunks of their work is hugely theoretical (note: not academical, just theoretical) and have no bearing on the real world.
* Under my Foo API you are able to combine Bars just like adding numbers.

But seriously, the use of Bar/Baz etc. in this example makes it more convoluted, rather than less, precisely because the names offer no hint for how to understand the nature of each thingy.
Sony Smartwatch 3, and I use Google music to save a playlist offline. Subscription based streaming music is practical until it's not, and for some reason Spotify doesn't allow you to save music offline on Android wear. MP3 was so much easier when it came to portability.

I wouldn't recommend the Smartwatch 3 though. It's a pretty good watch, one of the first with GPS, WiFi and NFC (still unused), but it won't get Wear 2.0 and the GPS ranges from pretty bad to unusable. The GPS antenna can't handle when your arm gets wet, like when you sweat, so after about 20 minutes of running the GPS connection deteriorates significantly unless you have a sweatband under it.

Hopefully Garmin will launch a watch with Spotify support in the future.
Looking at the list of people represented, I'm lead to believe there is a large chance of racial profiling being involved.
I would agree with this perspective. Over the last few decades there has definitely been a change in how people view addiction and more importantly how to address it. Harm reduction has much more traction then 20 years ago.
TBF, I wrote this article 5 years ago. Monad Comprehensions were in fashion at the time.

Now every dang person wants to write an arrow with a tilde in it and exclaim, 'Naturality!' ;)

Gotta love the use of guard in this. Maybe I should revisit.

I suspect there is also a clever way to do this applicatively, but haven't really noodled with it to see if it lines up. Any chance to use applicativeDo!
“Did they actually ask you for an account to use? Did they ask when it would go live so they could pay you?”

No, they haven’t. They all missed some features before they’d be willing to commit. We realise most of these people were probably just trying to be nice :)

“The only group I could reasonably see paying for this are the lawyers, and I don’t see it happening
(they’re not know for being cutting-edge in tech adoption). But I’ve been wrong before :)”

Exactly, you’re not wrong, we’ve reached the same conclusion. Lawyers really suffer from this problem and see us as a potentially great solution but as one of them put it: “It took us 10 years to learn MS Word, we are not changing to something new.”

Thanks for the honest feedback!
Sure, but one of these was paired with mass incarceration of a certain group of people, associated with laws that were struck down because of their disparity in sentencing. The other, not.
Hyphens, En Dashes, Em Dashes
Speed was never a real concern of ours. Node is more than quick enough. The big issues for us are code clarity, runtime errors and memory usage.

We like to run our sites inside docker containers so they're easy to reproduce from dev to live environments. A compiled language like crystal, with it's own standard library and tiny memory footprint means we can, with low traffic sites host more together on a server and keep our clients hosting costs low. With higher traffic sites we can use that saved memory for in-memory caches for high use resources.

As mentioned in the article the cms typically uses < 5mb of Ram. In our development environment that really helps. Running lots of sites locally isn't a problem. Node_modules folder for the node version of our cms is 430mb, vs our crystal shards of 773kb. So disk space isn't an issue either.

Type checking has helped reduce runtime errors, it's hard to compare with the node version as the number of errors is often related to code complexity. But anyone who uses typescript will know that moving from a dynamic to a statically typed language is a real eye opener for how many errors we make as programmers. Unlike Typescript, crystal isn't just pretending to have types so there is no `:any` to cheat the system.

If there are any specific metrics you'd like I'll see what I can come up with. But hopefully that gives you an idea of our motivation and the benefits we get.
But does the people-mover have to be a nurse? Can't you just hire a cheap, uneducated muscle-man to move your people?
Yeah, I think my initial comment missed that part of the equation. It isn't straight racism that's driving the differential response as it is indirect racism by way of inequality. The net effect ends up amounting to the same thing though, and ultimately that's what bothers me so much about it.
the cynical amongst us would respond that this need is being "filled" by FB and social media ... I for one hope that doesn't turn out to be true in the long term.
The book Blindsight by Peter Watts explores the idea that consciousness might not be necessary for intelligence, and that it may be a temporary stepping stone in the evolution of an intelligent species if it isn't specifically safe-guarded. The book posits a superintelligent alien race^Wsomething without consciousness that views Earth's many broadcasts (which are only valuable to people with consciousness) as a malicious attack or pollution that only serves to waste the processing time of intelligences like itself. It's a great book exploring consciousness and the vast possibility space of intelligence.
fizzbuzzbazz = mconcat
[ 3 ~> "Fizz"
, 5 ~> "Buzz"
, 7 ~> "Bazz"
]

Also, I believe you should have something like

main = mapM_ putStrLn $ map (fromMaybe . show <*> fizzbuzz) [1..100]

to print out the number when it isn't matched by any of the rules.
I'll assume this a genuine question and give a genuine answer.

> Why not groups?

Because many things you would want to combine don't have inverses. Does the list [1,2,3] have an inverse? No. That's why lists form a monoid and not a group.

> Why not vector spaces?

Because all finite dimensional real vector spaces are isomorphic to R^n so we tend just to use the concrete instances of tuples of floating point numbers.
> TLS termination at the Ingress Controller and by default unencrypted from there to the service endpoint?

We are doing TLS termination at the ELB (we're running on AWS).

> Interesting discussion here: https://github.com/kubernetes/ingress/issues/257

Great, thanks!

Regarding ways of updating of the NGINX upstreams without requiring a reload, I was just made aware of modules like ngx_dynamic_upstream[1]. I'm sure there are other ways to address this in a less disruptive way than reloading everything, so this is probably something that could be improved in the future.

[1] https://github.com/cubicdaiya/ngx_dynamic_upstream
>Contrast to the crack cocaine epidemic in the 80s: fuck'em, throw them all in prison.

That's overly reductive to the point of being wrong. There was never a particularly strong feeling that crack addicts should be thrown in prison any more than other types of addicts. People were strongly in favor of throwing crack dealers in prison because they were turning neighborhoods into war zones as they fought for lucrative turf.

And it wasn't just white people, either. The strongest advocates you'll find of drug criminalization are black people who lived through the crack epidemic in the '80s.
Ask HN: Advice on stock incentives
I've been awarded options to buy stock but the accompanying legal documents make my head spin. Are there any common caveats or other things to look for in an employee options contract?

Would you advise seeking professional counsel to review them? If so, would this be in the realm of a CPA or a lawyer, and what would the process look like for them? Is this something people generally negotiate on, or is it more along the lines of take-what-is-offered?
To perhaps back my point up even further, look at the link that the EFF posted showing CBP's data:

https://www.cbp.gov/newsroom/national-media-release/cbp-rele...

189,594,422 people processed at the US border between October 2016 and March 2017 with 14,993 electronics searches.

0.008% of people processed had electronics searched.
An addiction tries to replace a void in someone's life. Chances are big the environment of the addicted played a role in cerating the void.
Given the intelligence alliances that we know exist and the likely many that we aren't aware of, it's not only possible but probable.
Emotional labor
I mean, this is like saying "I can draw a lighted 3D cube with these 10 lines of OpenGL immediate mode, what do I need this 500 line Vulkan example for". And that's true!

It also misses the point, because, as with Vulkan, you just want a stable, sane, fast low-level API to access the hardware because OpenGL immediate mode doesn't get you beyond kindergarten in todays computer graphics. In audio, that is a sample-level API. Everything else should be handled by the application!

You can still make a source/sink directed graph system with components like "oscillators". In a fricking library!
How often do you document an API in such a way? Does the frequency with which this occurs justify introducing new terminology? Plus, you artificially inflated the wording to make "x is associative and has a neutral element y" look more complicated than it actually is, while not even naming in your "short" case what the operation and neutral element are.