skysight-inc/HackerNews huggingface dataset:
I concede that for people who don't understand what unit testing does, 100% might provide a false sense of security. But I don't think that's a problem with the goal... that would be like saying the problem with staying fit is that it provides a false sense of longevity, whereas you could still get brain cancer or be hit by a car.

If you know what's going on -- and hopefully you do if you're making decisions like whether to pursue a 100% coverage goal -- then your point is (I hope) self-evident.

It's also why code review is necessary and not just the coverage metric. 100% coverage is not "100% of all things that could happen," it's "100% of all code execution paths" and (hopefully) a sample of all known types of valid and invalid inputs.

Anyway, so far I've found that most developers respond pretty well to the 100% idea if you explain its utility and what it does and doesn't get you. From a ridiculously small sample, granted.

The utopian risk, I think, is much more around the hope that people high up the food chain in your organization actually understand this stuff. Consider how many VPs of Engineering did a year or two of engineering work (before unit testing was in vogue) then got that MBA and have been busy taking meetings ever since.
In the wake of controversy they saw mass redemptions, fees obviously collapsed, and the company became essentially insolvent. There is nothing criminal about that, and it happens to funds as a regular event, and it came much later than the events around this purported whistleblowing.
Because this way the screen can turn on and off dynamically.

Also, it doesn't tie you to having to have a TV in a location you want one.
Alexa, open my blinds
https://github.com/hobby-kube/guide#installing-kubernetes

> There are plenty of ways to set up a Kubernetes cluster from scratch. At this point however, we settle on kubeadm. This dramatically simplifies the setup process by automating the creation of certificates, services and configuration files.
having banked with simple.com (now backed by BBVA Compass Bank) I cant imagine how a prepaid Visa card can be better, with all the fees associated.
I agree with you that an assistant with the ability to show you things is more useful, but if I wanted to see a radar image I would just pull out my phone and ask it in the first place.

The selling point of this genre of devices seems to rest on the utility of voice control, but this products only innovation is a built in display.
> I'm just wondering if the extra emphasis on stack allocation has created issues; this article doesn't cover the allocation of Strings or Vecs

As in C++, these are small stack structures (a few words, IIRC it's 3 for Vec, and String is backed by a Vec) pointing to a heap-allocated buffer.
A good grasp of rhetoric is also needed

ethos: The speaker is perceived by the audience as credible (or not).

•pathos: The speaker attempts to persuade the audience by making them feel certain emotions.

•logos: The speaker attempts to persuade the audience by the use of arguments that they will perceive as logical.

I found the best way a speaking in front of a big audience is practice and also write out your speech or main talking points before hand.
> 1) The linearly-probed robin hood variant is just a sorted array. That's it. It's just a sorted array.

Right. I stumbled on linear probing robin hood hashing as a simplification of Bender, Demaine and Farach-Colton's Packed memory array (http://erikdemaine.org/papers/FOCS2000b/paper.pdf) when inserts are randomised.

> 2) The linearly-probed robin hood variant is only faster than regular linear probing for searches that fail.

The sortedness means Robin Hood should not only be faster in the worst case (that's what reducing variance is all about), even for successful searches, but can also be faster on average, at high enough loads: make sure empty cells compare as greater than any legitimate value, track the maximum displacement, and use binary search (or just use exponential search).
And most of the people in the Army don't have a rifle in their hands, and most of the people at Google don't write software. By itself those ratios don't tell you anything.
Even if you hate the idea, Windows users should want Windows 10 S to succeed
Making Chips Smarter
Can you share some more details? I'm interested, but hesitant about putting my email into some random Google form.
Same here on all accounts, I'd just add that before I buy more Echoes Amazon needs to make the Multi-Room Integration better so it's better to furnish out a larger apartment or house. I mean there's probably no difference between a single NSA listening device and a suite of them.
I don't think there's a difference in how willing people are to do it (e.g. I've definitely seen people who haven't touched Rust have strong opinions about it). However with security it's very easy to accidentally say something someone can show is clearly and unequivocally wrong, with decades of research in tow. A lot of other technical opinions on HN are ultimately up for debate.

You see the same thing with physics and mathematics here fairly often: every time quantum computing comes up some people ask some good questions, and then a bunch of people give them confident and embarrassingly wrong answers. Finally others (including me sometimes) shout them down. It's just less noticeable because those subjects are rare here compared to information security; tptacek and others are constantly fighting the good fight.
the math behind it is completely different. it doesn't even use GF(2^n) fields at all :)

as mentioned in RS.md, the encoding sheme is known since 2003 and even became a part of RFC
Deep learning has already "worked" on many tasked and has also pushed the state of the art in a large range of fields. It's not going to solve every problem but I don't really understand what you mean by not being sure whether it "works".
> but it wasn't long ago someone tweeted an incredibly stupid joke about AIDS in Africa, and by the time their plane landed they'd lost their job and had been publicly disgraced so thoroughly they were unemployed for something like 9 months.

The mistake in my opinion rather lies in doing such a strong reaction on a bad joke.
Garbage collection and variable lifetime tracking
There's an analogy here vis-a-vis tradition/progress. In order to be reasonably sure that a change is an improvement, you must understand what you're changing and how. To borrow a Chestertonian example, if you encounter a fence and you don't know why it's there, find out why before you remove it. Maintainers are in the best position to understand the impact of making changes, and because of that, they're able to function as either advisers or as "innovators" by knowing where improvements can be made and having the knowledge to understand why they're improvements.
Are we ever going to see unity between these services, or are we doomed to have little walled-off fiefdoms forever?

A phone number works anywhere in the world, to anywhere in the world, with anyone who has a phone. All e-mail providers work with each other. I don't care who you're with, and I wouldn't even have to know except it's usually part of the address. SMS works no matter which provider we both have.

It feels like we're taking huge steps backwards. Instead of sending a message to a phone number or e-mail address, I'll use iMessage or Google Hangouts or Skype or Slack or.... Video call? We can do FaceTime or Hangouts or Skype or....

Will these things start interoperating with each other eventually, or are we just doomed forever?
Digital Audio Workstation. Think Ableton Live, Apple Logic Pro, Avid's Pro Tools, FL Studio, Cakewalk Sonar, Propellerheads Reason... tools to record/arrange/produce/master music.
as other replies allude it's also highly genre/goal dependant.

if you're trying to make your rock band sound more like led zeppelin there is a fairly fixed set of tools and instructions (albeit futile, ultimately)

if you are imagining a pure sound in your head that is not straightforwardly produced by an instrument, then it gets a lot more complicated, and there are countless routes to the same goal. the experimenting is the fun part though!
too many products which over promise and under deliver.

Either that or people are just buying and re-branding stuff from Alibaba.
HDMI-CEC allows similar on most modern TVs.

As for not being tied to where you have a TV, for $200 you can buy a 40"+ 1080p TV, for $100 you can have a really nice IPS 22" 1080p monitor. Probably better than this tiny thing.
Sounds intriging. Any chance it would work under linux?
I use solely for weather, music & to control my room's lights. It basically sucks at recognizing my voice commands 50% of the time, sometimes i just pull out my phone to do that.

On the other hand, Google Assistant is unsurprisingly better at recognizing voice, give more information about everything. I am going to soon dump my echo for a home, just waiting for the Google IO to see if there will be a home-2.
Show HN: Pingy CLI – The Simple Front End Build Tool
Myself and two friends have tried to make music production easier (and more robust) on the phone in our spare time, and came up with our iPhone app, Tize (https://itunes.apple.com/us/app/tize-make-music-beats-easy/i...), to that end.

If it sounds like something you're interested in please give it a go! We're always working to improve it and open to feedback.
(Android is coming soon)
Good to see this happening. I wonder how Steve Ballmer's USA Facts [1] initiative will fit in to a world where this exists. USA Facts covers state and local governments which Treasury obviously does not. I think just exposing the lack of consolidated & easy access to basic data is worth the effort that Steve put into it. Its clearly working.

[1] https://usafacts.org/
Agreed. I think all organized religion should be disbanded. Too much violence results when people believe in fairy tales.
> C# and Java allocate objects to the heap and primitive types to the stack by default (...)

Note that it only applies to local variables. If you have a primitive inside an object then it's allocated on the heap as part of the outer object.
Have you toyed with live music programming ? just curious

Also nice endeavour
> nobody wanted to throw away all the hours of work that had gone into making them

This is a REALLY common developer attribute that drives me nuts - people don't want to throw away stuff that they put a lot of effort into.
Did they only fix the type confusion or did they do something about the unsandboxed JavaScript interpreter running as SYSTEM ?
I agree. Therefore, I am donating at least $25,000/yr for basic medical and scientific research that is essentially otherwise unfunded. It broke my heart seeing my PI waste every waking moment writing grant proposals, most of which I doubt were even read. I was crushed when my best friend was driven to suicide by the pressures of this hyper-competitive, ultra-PC environment where funding is scarce and new $100,000,000 building construction is outpaced only by the unchecked growth of administrative overhead.

If you want politics and PC agendas out of research and scholarship, you have to fund it yourself.
Its also under the assumption that a socioeconomic class that never amounted to more than 1% of a population historically, after temporarily booming in population, somehow isn't going to go away or back to historical norms. Sure the middle class can't disappear, just 75% of the population in manual labor factory jobs can't just disappear. Something can't happen because it would disturb my carefully crafted worldview. Sure.
“The telescreen received and transmitted simultaneously. Any sound Winston made, above the level of a very low whisper, would be picked up by it; moreover, so long as he remained within the field of vision which the metal plaque commanded, he could be seen as well as heard. There was of course no way of knowing whether you were being watched at any given moment. How often, or on what system, the Thought Police plugged in on any individual wire was guesswork. It was even conceivable that they watched everybody all the time. But at any rate they could plug into your wire whenever they wanted to.”

-Orwell, 1984
> Free means you are trading your privacy for the service.

Exactly. It should be well-known that "If you are not paying for the product, you are the product.".
Did you ever take a look at the location tracking info google keeps on you? They know everywhere I've been for the last several years or so.

I just checked, they list location data back to 2009.

https://www.google.com/maps/timeline
Yes. It's a lot harder to do this for web stuff because stacks tend to churn so fast that you end up forced to rewrite perfectly good code because the framework it's built on decided to introduce breaking changes in a new version.

Pick your tech well, and you can pull it off though. S3stat has major bits of heavy lifting in place that I wrote in 2006. There are even older infrastructure pieces such as an ActiveRecord-style data layer that I pulled across from another project I built in the early 2000s.

A lot of that stuff was written in C# to target .NET 1.1. And it still works today because Microsoft understands the value of backward compatibility.

I feel your pain though. I just watched Amazon shut off one of my Lambda projects because it was running an old, deprecated, version of Node.js. Old, meaning, I kid you not, One Year Old.
This has been a huge issue for me lately. Several times in the last year my family has been in the position of trying to decide whether to have a procedure done, and literally nobody can tell us how much it costs. Not the providers, not the insurance companies, not the hospital. "Probably less than $50k" is not a helpful answer. The best answers we were able to find came from other people who had already had similar procedures done at the same hospital, by the same providers. But even so, one quirk in the procedure, one extra diagnostic, one extra drug, can cost thousands of dollars. Once you've signed up for the procedure, it's very hard to say no to the extras. You might not even know they've been ordered until it's too late.
This is a good point. If we could avoid massive expansion of arbitrary and innovation-killing biotech regulations, then the market will eventually correct the current shortcomings and will catch up and work within the current framework. This will lower costs and drive up quality of care. Silicon Valley potentially has an important role to play here.
I think either my phrasing was terrible (likely) or people aren't seriously considering what I am saying.

Try just looping a sample that is of arbitrary length, not some multiple of beats. This is something that we could do fairly easily since the 1980s, and with moderate effort before that. Ableton made this in to an unusual technique.

The entire arrangement view only superficially resembles protools, the automation, the time stretching, everything really, is completely different.
Love that Amazon is throwing a lot of options out there.

Only wish the outer shell on this one looked a bit nicer / slicker.

Really want an "Alexa" type replacement for smoke detectors. Location seems perfect for speakers / music in a house.

Scary to think that privacy for average consumer is basically dead.
This is more like an iPad with a better Siri. I guess talking to parents, watching child cams are the target audience for this. A device which sits in living room or bed room need not show me CNN in there.
I think my idea of a perfect music program is closer to vim than an IDE, but you're on the right track.
Would it be a worthwhile idea to open up health care internationally? Maybe insurance companies could create global standards for medical procedures, so that clients could choose in which countries they want to perform a procedure and then receive or pay the difference with regards to the cost of a national procedure. This could introduce some level of competition without jeopardizing quality - or am I missing something?
The second edition of the book goes into it in great detail https://doc.rust-lang.org/nightly/book/second-edition/ch04-0...
You hit the nail on the head. Back in 90s we could connect any audio/video device to any other device, because manufacturers agreed on basic analog signals. Now, everything is "smart" and isolated. Is it too much to ask to be able to route audio/video/other signals from sources to sinks regardless device boundaries?

It's not helping that big companies like Amazon want to establish themselves as _the_ hub for IoT.
Don't you have to be exciting and likeable in the video?
The beauty of LaTeX
Yes - though it's not listening and you need the voice remote to be in your hand and/or you need to spin up the app on your phone. While that doesn't sound like a barrier to much, it definitely has been for me asking for simple things especially from across the room. Voice interfaces are good for hands-free action, which FireTV doesn't really allow.
We need laws to set standards at whatever the floor of "what a reasonable person would expect you can do" is. Safe, non-paranoid market participation isn't gonna happen otherwise.

Outlaw all the spying. Let non-tracking advertising, community efforts, and regular ol' paying for stuff fill the gap. We'll lose little but regain our privacy, which is gone unless we all do this (see: shadow accounts tracking people because their friends posted about them, Google mining your messages because you sent them to someone who uses Gmail)
This isn't that complicated or sad. You can still call anyone in the world and still text anyone in the world. Its that the remaining spaces to compete in are feature based, and features don't move forward quickly on open standards.

There are plenty of working open standards to do the basics, its if you want to do anything beyond the basics that you end up in a walled garden.
How can we use it today! Is it in Linux code already and easy to enable ?
There's nothing to reconcile. "Spot the hypocrite" is just a form of ad-hominem attack and has no place here. Arguments stand on their own merits. If it's true that YouTube creators are undervalued, then it's still true even if the person who said it doesn't pay at all.
>my standard echo has been "what's the weather".

A 7 day forecast is probably better with the screen.

>Even when I want visual controls for music, I'd rather

Clearly it's for the Karaoke capability :)
Hey Dave here, I built Pingy CLI. :)

I decided to extract the build tool stuff from the Pingy Desktop App [1] and make it open source and available as a stand-alone CLI.

It's not designed for complicated web apps (use gulp/grunt/webpack instead), but for less complicated stuff it's a good fit. Hope you all like it. I'm happy to answer any questions and take feedback. :)

[1] https://pin.gy/
What don't current DAWS understand about music?
FANG = Facebook, Amazon, Netflix, Google
Would you put that TV on your kitchen counter? Sometimes you don't need a 22” screen.
Who’s Hiring? (Software Companies) Who’s Firing? (Hardware)
Because then it would be an entirely different product.
Locate remote, Turn on TV, select EXT3 input....
Thanks for making and sharing this document. I need to choose an authentication method for our distributed application.

I'm confused by the type of usage covered. Are these for web sites accessed by browsers (users), or clients (e.g. swagger) accessing micro service REST API servers ?

Support of cookies is built in browsers, but what about authentication with clients ? It looks like JWT is the most versatile and supported in many languages. But it's still unclear how I'm supposed to use them.

Where could I find more about this ?
MM the Alex Replicator :-)
Is soda bad for your brain? (And is diet soda worse?)
You know that Amazon has testified in court that this isn't the case right?

https://www.documentcloud.org/documents/3473799-Alexa.html

So if you have any evidence to back up your claim you should post it and claim your 5 minutes of celebrity.
It is not lightweight, it just takes less disk space.
Spectra ­ – The Best Electric Skateboard from Walnut Tech
They are all different beast that once you learn one you don't want to relearn another.

The only difference is that Abelton Live and Bitwig (Runs on Linux) are designed for live performance.

I like Reaper (Cost is 1/5 but equally capable) and it also runs reasonably well under Linux. https://linuxmusicians.com/viewtopic.php?t=15280

Actually many people never pay for a license it has a similar model as Sublime Text.
Announcing the new webpack CLI
According to another comment on this thread: Unfortunately IPFS wasn't designed to hide and would be easy to block for a nation state.
It's gonna be the fastest piano roll. It will have semi live performance kinda like Ableton live but live is sample based, mine is music based. I don't want to reveal too much, but I've talked to professional composers and kind of described the work flow I envision and they all were like "i need to this asap".

Idk if this will appease some of your concerns but I've been around hn for a while (I'm in the top 30 karma wise), I won't spam you.
Tell us more about your job search
PTSD, certain prescriptions for PTSD may raise risk for dementia
Kinda merging tablet/webcam + alarm clock usage. Not bad.
Same thing that pencils don't understand about writing, and paintbrushes don't understand about art.
Scrum makes you dumb
I literally asked my Google home this morning: "Hey Google, play some Peruvian psychedelic cumbia" and it found exactly what I wanted (using Spotify). For me, these home assistants are the best thing I have bought since my first smartphone.
It's really not. Some of the most beautiful songs are just artfully arranged samples.

https://www.youtube.com/watch?v=_h5WJ6J6IlE
How is the algorithm supposed to know what the right thing to return is

Some times I have, for example, matlab code that I 'know' is right and want to verify that my C/Python/Julia... code does the same thing. So then I just call the matlab code, call the new code and check if they're the same.

Or I have a slow exact method and want to see if my faster approximation always gives an answer 'close enough' to the correct answer.
I purchased the Ableton Push 2 a month or so ago and it has to be one of the most beautifully engineered pieces of equipment I have ever used. Look up the teardown video. Extremely simple, yet elegant. The Push 1 was created by Akai, and apparently Ableton wasn't satisfied, so they designed and built their own.

https://www.youtube.com/watch?v=YItWQdJgXLs
> how is the plan to slowly rewrite it viable?

Last time this topic came up on HN, someone linked to a thread on tb-planning where the post-XUL future was discussed. IIRC the "slow rewrite" was considered unworkable, and the proposed plan was to restart from scratch using "web technologies" while continuing doing basically security updates for the classic XUL TB until the replacement is ready.

As an aside, what "web technologies" exactly meant wasn't discussed. Is it electron? Or something mozilla-based like the servo + browser.html experiment? Or running a separate server process and connect to it using a normal browser (like e.g. mailpile does)?
There's a lot of vim too :-).
They used the same picture of Dad seeing his grandchild like 3 times, they need to push out different pics.
Code simplicity through common patterns
I think the design of this is really interesting.

It's designed in a way to make the user (e.g. anyone who likes music) just want to play with it in a way that's very intuitive via its simple, visual layout. And it provides instant feedback that makes you want to continually tinker with it to make something that you like more and more.

Web development/programming training tool makers should really take note of this.
Messaging platforms transform our smartphones into magic wands – BotXperts asked
Fearless concurrency in your microcontroller