skysight-inc/HackerNews huggingface dataset:
> You can also get more specific with commands in order to limit where the music plays, what music service is polled, etc.

How do you have this set up? Does it integrate with some other home audio control system you have, or do you have an Echo plugged into each space and the music plays directly off them? Is there a way to play your own mp3 collection instead of streaming services?
Illegal vs private is a different discussion. Some companies like transparency, some don't, and that's fine.

Proper security protocols are probably a better model for that since everyone is naturally curious and info tends to spread at even the most secret of companies.
That's the only way I can see it working, and I'd be interested in something like that, but I am dreading the technical support system needed to handle all the issues like CEC not working, IR codes (if you go that direction), shitty TV firmwares, passthroughs, various amounts of audio delay (if you plan to switch between on-device audio and TV's audio), and all kinds of other stuff.

But I would be interested in a device that could pull it off. Doubly so if they were cheap enough to get one for each TV.
You can upload your own mp3s to Amazon Music and play them from the Echo. No cost until you go past 250 songs. http://www.voicedesigned.com/content/how-play-your-mp3s-echo...
>Also the note input process and experimentation is extremely time consuming and the DAW never helps

What is so arduous about plugging a midi keyboard in?
No worries, don't think I said "system" in my original comment, enough blame to go around :)
Another perspective on Value Objects
If you're passing sensitive data to the client (the cookie) it's a hazard to encrypt only without a signature. _Always_ sign and verify, sometimes encrypt before signing / decrypt after verifying signature.
The moment you tell people "for this to work you have to go buy something else separately," you lose a huge chunk of potential sales. People don't want to do the work of figuring out what specific model of something else they need, where they have to go to get it, etc. Even if you put the something else on the shelf right next to your thing, the added cognitive load will turn lots of people off.

Build the other thing in to your thing, and all those problems go away.
A study of branch prediction strategies (1981) [pdf]
Neural Networks Learns to Reproduce What Your Brain Sees
Aside from training the ear, you need a pretty sophisticated understanding of how soundwaves translate into sound.
Network performance across national borders within China has been abysmal since the censorship got much more serious. BBR seems promising, so more and more people (that includes me) who bypass GFW with their own VPS has been deploying BBR, and seen marvelous results.
Typical HN poison?

Please refer to my comment history and also please rebut specific things I said. I rarely say negative things and I am a user of this product all the time. I am genuinely frustrated by the lack of progress in recent years, since I use the product literally every day. This is not poison, it is legitimate criticism.
JCP Executive Committee Votes Against the Java Platform Module System
If it's not a multiple of beats, would it generally sound good in any musical kind of way?
5 secrets to quality software delivery
Have you looked at the Nvidia shield TV? It seems to do more or less what you're asking for.
Not impressed, particularly with the basic-auth description. Basic auth is purely a well understood vehicle for sending a tuple (aka the credentials) for authenticating a HTTP request, most of the concerns highlighted are with regards to how the credentials are acquired and potentially reused across requests - that has nothing to do with the HTTP protocol.
For example, my API product scanii.com has used basic auth for 7+ years and I firmly believe it strikes the right balance between security and easy of use. Besides fairly complex key/secret tuples for server side usage, we also provide one-time auth tokens for when you want to make API calls directly from a web browser (or another insecure device).
I can think a lot more complicated music than I can play. I don't always have access to a keyboard. Piano is a good instrument but sometimes I want to write drums. Also sometimes I want to express relationships between the single notes, not just have the notes themselves. To record 10000 notes from a piano, you need to hit 10000 keys possibly more than once to record them. My thing will let you achieve the same thing with less than 10000 actions.
From what I can tell, stability directly correlates with product-market fit. Thrashing on features and depending on the latest technologies, in my experience, has always been driven by either developer impracticality or stakeholders' lack of market understanding.

Sorry for the self-promotion, but I wrote this article after being frustrated with the "iPhone mindset for application development": it’ll be obsolete in 6 months anyway, so who cares?

http://www.programmerfu.com/2017/03/17/the-everlasting-app.h...

Right now I'm working on ways to extract the meat of my applications into plain, sustainable code. Then I can still use the new hotness when it's appropriate, but in a way that doesn't lock me in.
The problem is that healthcare is more concentrated which always helps with lobbying efforts.

Pharmaceuticals are 5 large companies. The rest of the economy is 500. So let's imagine there is a bill that would reduce the cost of drugs by 50 billion dollars. Each non drug company would stand to save 100 million but each pharmaceutical company stands to lose 10 billion. This is a classic coordination problem, and free riding dictates the pharmaceuticals win everytime.
Correct me if I'm wrong on my understanding of how the module system works, but I noticed a glaring flaw at a Java One presentation last year: all modules only have access, at _runtime_ to the modules they explicitly list as dependencies.

This means if you have an abstract module of just interfaces, and others that implement them, client modules can't only list the abstract module as a dependency and get the implentations injected at runtime. That's a core use case to me, it follows Effective Java's advice to program against abstractions, and I've used it in the past, to e.g. inject different file store clients depending on environment.

I can see why they would do it that way, since it prevents dependency creep.
I'm not sure that you can call this an "alternative" to Electron if it only supports macOS. I think the main selling point of Electron is the ability to build cross-platform GUI apps, which Shrinkray doesn't provide.
Video calling and instant messaging have both been around for ages at this point, and remain stubbornly walled off. Both should qualify as "basics" by now.

Sure, you can still SMS worldwide, as long as they have a cell phone. But non-phone devices are becoming very common. What if you want to send or receive messages on your tablet or computer. (This works OK in the Apple world, but only because they hack it by routing SMS through your phone.)

Video calls don't even have that.

E-mail, for example, was different. I started using online services when you had AOL, CompuServe, Prodigy, etc. all in their own little worlds. That didn't last very long before they all bridged their internal e-mail systems to the internet and everyone could talk to each other.
This is something I struggle as a weekend hobbyist musician: There is some kind of black art involved in making music, in how to get that sound you enjoy on the music you like (which is probably the music that inspires you to make music, at least in my case).

What I found was that as your music making experience unfolds, you start amassing these little tricks here and there and they're only yours, usually tied to your stack of tools and the way you think. That is extremely hard to replicate and also very personal, imho that's why it's so difficult to actually pass that sound-sculpting knowledge to others, and that's why (besides the odd youtube tutorial on how to make a specific sound -- usually targeted at a specific vst, explaining which knobs to turn), we won't find many general sound sculpting learning material online. Even tho it is available if you gather around from forums and etc, it is still pretty much a personal experience.

Answering your question: As the time passed, the endless experimenting diminished and I got a proper sense of what does what, and after 5 years making music I'm more able to pinpoint what I need to fiddle to transform the sound the way I want/imagine in my head.

I'm still not quite there yet but if I can offer one piece of advice, that is: Don't shun the 'endlessly experimenting to find a sound'-thingy, because that's the best way you can grasp the tools. Over time you'll be able to get there faster but it's a necessity..

This is how much I evolved, without even noticing, only making tracks after tracks:

Sep 07 / 2012 http://codegrub.org/flipbit/musicmaking/equal02.mp3 cringe

Mar 25 / 2017 http://codegrub.org/flipbit/tracks/flipbit03%20-%20Twothousa...

cya o/
I'm not sure I want to open this can of worm here, but this is one of the appealing properties of differential privacy: there is a quantitative bound you can invoke ("we will mine at most eps-dp from your emails, in exchange for this tasty cookie") and then you don't have to have a complicated discussion about which types of PII they ripped from your email, metadata vs non-, and other increasingly meaningless distinctions.

Differential privacy also has the nice property that it works like a fungible currency: it is additive, so even if you hand out x, y, and z units to different folks, they collectively can't spend more than x + y + z units, no matter how clever they are. In principle this could help folks determine a value for their sensitive data, and perhaps set up decent standards for people to value their own privacy (e.g. "selling 0.1 units of differential privacy from your email could shift your health insurance premiums by 10%").
This is the worst kind of security requirement, in that it's not only a disgusting abuse of power, it would also be completely useless in stopping someone who really had something to hide.

Just like the recent reports of people being required to hand over their phone passcodes to US border control.
Hi Lenny from MyOnlineParty here.

Wanted to submit our platform and see if the hacker news community had any feedback on the look and messaging we are employing.

All feedback is welcome!
I will have to disagree. In general by paying it means that you have to have some sort of account and that means that they can track you easier.
To be frank I believe that the actual solution is to avoid any cloud-based services.
That is true. Also, if you are paying for the product, you may still be the product.
China is winning when it comes to renewable energy
Show HN: Passly.io – A REST API for Access Control
There can be circumstances in which the substituted operator is just as valid as the operator being substituted for, resulting in false positives.
Amazon Echo was $199 when it was first introduced, which was still fairly competitively priced against premium bluetooth speakers.
I tend to recommend ... Ableton! I think the strengths outweigh the weaknesses, especially for beginners.

But they are trapped in a sort of convention that makes my life hell when I want to leave it.
So I'm working on this mostly to scratch my personal itch. I'm aware of those but to be honest I never found them to be more than toys. When I listen to music made in these, I feel like they generally lack some structure. My thing is all about helping you structure things.
I use the Echo Dot a lot in the kitchen, and I could see having recipes and other video-based stuff up being very useful. Kitchen is also a hub for activity and kids and could be useful for video chatting or a second-screen to stream [insert must-watch event here] while cooking / socializing.

Getting the screen and speakers subsidized by the lock-in is a pretty intriguing model. Not sure I could get the hardware at that price point elsewhere. Will be interesting to see if there's a modding community that develops.
You don't need to test that. ... The code is obvious. There are no conditionals, no loops, no transformations, nothing. The code is just a little bit of plain old glue code.

Here's the code:

@Override
public void initialize(WatchlistDao watchlistDao) {
watchlistDao.loadAll(watchListRow -> watchlists.add(watchListRow));
}

Maybe I'm dense, but this code raises at least one question that I would prefer to see answered by tests.

The parameter watchlists appears to be defined in a scope above the one under test. What happens if watchlists is null for some reason? What should be the behavior?

Then there's the tricky question of what to do as this method evolves. Next month, a watchListRow might need to be updated with a value before being added to watchlists. Later, a check might be added to ensure some property exists on watchListRow. At what point will a test be written for this method?
Keep net neutrality!!!
Have a look at extempore, a lispy live music/notation language and environment. Only emacs bindings, no vim, but impressive preformance nevertheless...

[0]: http://extempore.moso.com.au/

[1]: https://github.com/digego/extempore
Would really like to find something similar but that teaches how to implement the layers and the network too. I feel like I'm not going to become familiar with NN's until I understand how it's built underneath too.

Does anybody have any good resources for that?
Why AI is ushering in a golden age for the world's largest banks
Keep net neutrality !!!
Hi I'm the founder at distelli and we just launched a new service to manage access control and policies.
This creates a big problem though... the hospitals are incentivized to prescribe antibiotics when they are not needed (which they can charge for, the "doctor visit fee" is not remotely enough to cover the hospitals costs) leading to rampant over-prescription of antibiotics (leading to antibiotic-resistant bacteria).
Open-Source Frictionless Signup
Cheers for the recommendations! And it's cool context too, regarding why you are into GR. As a physicist myself, in the atomic physics area, but not working within there at the moment, I was wondering: what brought you back, whether you are doing with in on the side, or something even more substantial?
> But your email is something personal

Tell that to your email provider..
Great American Eclipse (2017)
Yes, but only one from a vendor with a well-demonstrated commitment to privacy and with no 'always listening' features enabled. Believe it or not this is not some sort of extremist stance!
The timing of this post is funny, as just this week I launched a little ear training game built with React an Tone.js: https://www.notetuning.com/
I agree. A lot of the other UIs are insane. One of them boasts about its full physics package to accurately render the cables connecting one "device" to another. I thought it was so gimmicky but a lot of them do the same stuff and people buy it so what do I know. Ableton just makes sense.

But maybe because I'm not an artist. I just like learning these tools. I will say that with a few hundred bucks of equipment (a Launchpad and a Kaossilator2) I've had hours of fun just "jamming".

Also for more technical fun, there are 3rd party MIDI loopback interfaces available on Windows, so it's easy to write your own instruments. Took about an hour to hook up an Xbox360 controller so I got a few x-y inputs. Ableton makes it super easy to map them.
In capitalism, profits go to zero over time. That doesn't seem to be what's happening.
Can you have loyal customers with just marketing? Certainly you can get them to buy a product, but marketing doesn't create satisfied customers post purchase. Being first is similar. You can certainly get some nice industry buzz (marketing) by being first. People will buy the product, but will they be satisfied? Only if it is well designed.
Matrix is capable of many advanced features, and can be used as the framework for others, while being an open standard.
you just cover them with a CSRF token embedded in page like ye olde days :)
That's a very interesting question. The answer is that it depends on the K8s distribution in question.

One of the challenges of K8s security is that there are a wide variety of distributions, each with their own defaults and configuration, so it's hard to make blanket statements about their security.

I've definitely seen some with this issue out of the box.
The problem isn't necessarily that it's a semi-private market, it's that for the vast majority of people it's tied to their employer.

The only for most Americans to have a choice in their health insurance is when they get to pick between the plans from either husband's or the wife's employers.

The biggest disappointment of the Republican alternative to Obamacare was not coming up with a way to sever that tie.
Better question is what do they do understand about music?
Oh man I've had mine for I think a bit over a year now and I love it so much. It really builds off the fundamentals mentioned on the first page of this shared post: you jam out little riffs and then mix and match them till you get something you like. There have been many days/nights where I've needed to do some programming on my game and instead burn 3-4 hours without realizing it because I hit a groove. It's so conducive to jamming it's unbelievable. Not to mention Ableton is a really powerful piece of software that doesn't get in your way when you're experimenting. The pairing makes it one of my absolute favorite pieces of hardware (that and my OP-1).
I don't own an Apple Watch, but I know lots of people who do and love them.

But in any case, I think the last ten years of iPhone and iPad releases do somewhat agree with me.
Anecdotal: there's a few different approaches to learning songwriting that seem to click for beginners. The "build up" approach is the most common and is what this link offers: It first teaches beats, then chords, then melodies and then, in theory, vocals etc. These lessons in this order make sense to many people, but not everyone.

If you're interested in learning to make music and the lessons in the link are confusing or overwhelming or boring, some students find a "peel back" approach to learning songwriting easier to grasp at first. A peel back approach just involves finding a song then teaching by stripping away each layer: start with stripping away vocals, then learn melodies, then chords, then finally learn about the drum beat underneath it all. A benefit of the peel back approach to learning is melodies and vocals are the memorable parts of a song and easiest to pick out when listening to the radio so a student can learn using songs they know and like. Either way, songwriting is hard and fun. Best of luck.

P.S. I think Ableton makes good software and I use it along with FL and Logic. They did a solid job with these intro lessons. But worth mentioning, there is free software out there (this includes Apple's Garageband) that offers key features a beginner just learning songwriting can practice on and mess around on before purchasing a more powerful DAW software like Ableton.
I don't understand, it's easy to get arbitrary length loops, that's the reason there is a "fixed length" button on the Push 2 which you can enable if you want.

The arrangement view is not meant to be Protools.

Ableton is actually quite nice for doing experimental and unusual music, it just is built around doing it LIVE. If you want to paint outside the lines, you can with it. "clicking boxes on and off" is simply a way of perceiving layering.
Ask HN: Remote Employees Double-Dipping?
Confession time, has anyone ever done this? Given the number of bored developers in this thread[1], it seems like a given that this happens. Have any of you maintained more than one remote job at at time? If so what obstacles did you encounter? Would you do it again? Any tips or techniques to go unnoticed?

[1] https://news.ycombinator.com/item?id=14290518
Why would anyone ever outsource something like this?
Why certificate based authentication wasn't included?

The server stores the public cert from all clients and uses it to authenticate at the transport layer. No shared secrets either.
So once again, they have not said this was applied to this particular case, why?

Try to read between the lines. It's a handy tool to have. This article is decietful. The above paragraph is OT to what I was saying. But you'll notice they use words like 'may' and they don't say it was relevant in this case. They are playing games with the truth. And that's something I particularly don't agree with.
Hmmm, Google Home already turns Android TVs on and off on the fly. (or TVs with Chromecasts plugged into a modern HDMI-CEC slot). Or push info to the discovery tab of the Home app. I suppose there is some value in putting an ugly (IMO) 7" screen in specific locations where you don't have or want a TV, like a kitchen, but it seems rather niche.
Personally, I have a sticker on all cameras (front-facing phone camera, monitor, laptop). I can't do anything against having hot mics everywhere, but I'll be damned if I have internet connected cameras pointed at me, I don't trust IoT security one bit.
A good example of this is polyrhythm.
Arrays and the .NET CLR
Kneejerk Orwell quote referencing minor advance to existing technology: check.
I kinda wish it would but audio on Linux is such a pain. I think that porting it won't be too bad once it's done but I'm not promising anything.
Global Tablet Market Continues to Slump
Yes, but they weren't closing and re-locating entire manufacturing plants because women were entering the workforce.
mz (https://www.npmjs.com/package/mz) is my go-to. You just prefix the core lib ("fs") with "mz/" ("mz/fs") and you get the promised version.

const fs = require("fs");
fs.exists(`${ __dirname }/1`, (exists1) => {
fs.exists(`${ __dirname }/2`, (exists2) => {
console.log(JSON.stringify([exists1, exists2]));
});
});

vs

const fs = require("mz/fs");
Promise.all([
fs.exists(`${ __dirname }/1`),
fs.exists(`${ __dirname }/2`),
])
.then((existers) => {
console.log(JSON.stringify(existers));
});

Or

const fs = require("mz/fs");
(async () => {
console.log(JSON.stringify(await Promise.all([
fs.exists(`${ __dirname }/1`),
fs.exists(`${ __dirname }/2`),
])));
})();
"And but so why the abrupt consumer retreat back to good old voice-only telephoning?

The answer, in a kind of trivalent nutshell, is: (1) emotional stress, (2) physical vanity, (3) a certain queer kind of self- obliterating logic in the microeconomics of consumer high-tech."

David Foster Wallace, Infinite Jest

http://declineofscarcity.com/?page_id=2527
Yes, unit tests have their place, but you have to understand why they are needed.

To me, it's secondary and has tones of bike shedding in it. Writing tests is easy, mentally. Getting a good, simple, YAGNI/DRY architecture is more challenging and requires several iterations, something that is resisted if you have to rewrite all your unit tests. Let me put it this way, if you write an architecture that you later don't like, you would be more hesitant to scrap it and start over because all the additional work of the unit tests (especially if you're on a deadline). That's bad. To write a good architecture, a developer must be willing to realize he could have done it better and be willing to tear it down instead of build around the bad architecture. That's how you write 20 year code, which should be almost everyone's goal.
Why we killed the Slack chatbot we built for small businesses
Interesting, thanks. That's a pretty good decrease in rounds.