skysight-inc/HackerNews huggingface dataset:
I'm for device convergence, a small phone as powerful as a current pro laptop. We're still not there and the battery would be a problem too.

The interfaces for the phone mode and the laptop mode could be very different, no problem with that.

With that in mind I welcome this move from Canonical. Converging on the same stack as everybody else is going to be good for the Linux desktop. I'm not worried anymore about compatibility issues, Mir and Wayland.

When the phone form factor will be able to fit enough computing power to be also a laptop, we'll find a way to design the appropriate UI. However note that with a fast and responsive network connection we could use phones as dumb terminals to remote processing power, so maybe that will be the solution to convergence.
I didn't know about channels! It looks great
No, it's working as intended.
this is why some ISPs use a format that maps to two letter country code, then state or subdivision, then POP. where 01 is the first pop in the city, 02 is second, etc. The ISP's own internal documentation system will tell their NOC and neteng staff which pop number is which street address/datacenter (info that does not need to be available in rDNS). in a totally random example, nyc01 POP for an ISP might be 25 broadway, nyc02 would be 60 hudson, nyc03 would be 111 8th, and so on.

example agg router:

agg1.nyc01.ny.us.ASNUMBER.net

and then individual interfaces and subinterfaces would be defined under hierarchically under agg1.
And the judge even suggests as much - Uber could order him to testify (in the civil suit with Uber as defendant) or fire him if he refuses. But he continues working there today.

Though it is difficult to imagine what he is going to say to counteract the very strong impression of some cloak and dagger data theft. And even if against all odds he comes up with some believable story, it's not like Waymo need him to make their case. IIRC, the start of this whole case was some board manufacturing house sending Waymo an Uber design that looked very much like their own. So the moment they move into expert testimony on the similarity of the two product designs Uber is going to be royally screwed.
I'd just like to thank everyone who uses Insomnia for your support and feedback. This update includes features inspired by literally hundreds of email conversations over the past year. So, thank you!

~ Gregory
Surprising indeed, but not entirely. Udacity co-founder Sebastian Thrun competed in the DARPA Grand Challenge, and led the development of Google's self-driving car.
Regarding 8-bit numbers, here's a thread on why 8 bits are enough and an old product that used that to good effect:

https://news.ycombinator.com/item?id=10244398

http://www.eetimes.com/document.asp?doc_id=1140287

It's something that keeps getting rediscovered. I know embedded industry shoehorns all kinds of problems into 8- and 16-bitters. Some even use 4-bit MCU's. Might be worthwhile if someone does a survey of all the things you can handle easily or without too much work in 8-16-bit cores. This might help for people building systems out of existing parts or people trying to design heterogenous SOC's.
Original author here.

this post was never a "memorize this and you will know scala" statement, or that if you know those answers you will get a scala job. I simply found those questions a while ago and decided to provide answers by myself as an exercise. I do believe some answers may not be completely right (even completely wrong), and others may be a starter for a nice and productive discussion.

Also, knowing the answer to these questions doesn't make someone a good/better developer. These are just some small islands on the (scala) software developer knowledge!

In my opinion these are somehow basic concepts (that will only be valuable when applicable on 'real life' code), and there is a lot more to explore, specially about the type system. To know more about the type system have a look at this awesome article I found: http://ktoso.github.io/scala-types-of-types/

Unfortunately, these are questions often done in several scala-related job interviews (I had my share. Coincidence or not, I never accepted an offer from a company which did that kind of questions) :(

Feel free to provide feedback or discuss some topics.
Germany approves bill curbing online hate crime, fake news
For the most part I've become comfortable with the UI in Gnome 3, but I mostly avoid it. They've done a lot to fix the initial problems that the interface had, and I think they've got to a good place for the most part.

Try and switch to Gnome 2 / MATE for a little bit and see the drastic improvements in responsiveness, though. That's what kills gnome 3 for me. Even on a nice high spec machine I still end up conscious of the UI latency, and that's really not a good position to be in. The UI needs to get out of the way, and a key part of that is being fast.
Damn straight. Obfuscation only benefits the boss at your expense.
I didn't even remembered that detail. I read about it when scala 2.12 was out, but unfortunately I still couldn't migrate any app to scala 2.12...

Thanks!
That's an interesting question for which you'll get no answer for reasons of force majeure.
Well, I agree with that and all. But why type (and more importantly, look at) a bunch of semicolons if you don't have to, ya know?
I think it was more of a problem on the BerkeleyDB side than on the side of
data. BDB was giving an impression of quite fragile thing back then, but it
was (and AFAIK still is) the only source of data about installed packages.
Software Collections are honking great, I'm actually looking at moving one of my Python 3 apps from Fedora to CentOS purely because it requires a version of Firefox that supports the Java plugin (selenium script that has to use a page with a java applet...) - since RHEL/CentOS stick with ESR releases I'll at least have 18 months to hope the applet goes away.
You're right. PBS Digital Studios has a fantastic Youtube presence. One of my favorite YT channels is PBS Spacetime, which gives a somewhat mathmatically rigorous treatment on cosmology/astrophysics. It's so much better than anything on the Science or Discovery channel. I learned about the coolest phenomenon ever: a KugelBlitz (a hypothetical type of black hole formed from light), overtaking quasars as my fave astronomical curiosity.

They also have PBS Infinite which is a maths series. I learned what a random walk is today.

I urge any and every one to check out their various Youtube channels. It truly is a travesty that we have extra money to spend on the F-35 and other overpriced, unnecessary military expenditures, but the pittance we give to PBS is being cut.
Please describe which parts are "poor" in your opinion.
PBS is in a dying industry. Television. Perhaps another equally good public-private partnership will arrive. The Khan Academy and Wikipedia are something like that.
Caution on macOS 10.12.4: sudo is broken
The people PBS can best serve are often the ones with the least amount of money to donate.
You can just disable that rule and use the rest of the airbnb preset, which is what I'd recommend. I hate semicolons, and I do a couple of things that I like but airbnb apparently doesn't, so I override those settings on my .eslintrc and use the rest as a great foundation.
Ask HN: What's the best way to notify our customers of a vulnerability?
What's the best way to do this for downloadable software? I see a lot of companies do it wrong and receive harsh (but valid) criticism on this site. The issue is already fixed, but customers need to install the new version.

Also, what do we need to be aware of legally? Do we need to hire a lawyer to review the email we're planning to send?
You can plead the 5th in a civil case in the US, but depending on the jurisdiction the jury and judge may be allowed to hold that against you (which they are not supposed to do in a criminal case). This is even more interesting because Levandowski is pleading the 5th, and Uber is asking for it to not be held against Uber.
Personally, no semi colons is a deal breaker for me. It's like a period at the end of the sentence that means, "That's the entire statement".

So, it's neat in the config-less way, but I won't be using it. (there is a semicolon version by the way https://github.com/Flet/semistandard )
Basically torn between two streams - the one that paid for everything with AWS and ubuntu server doing well, driving juju and b2b stuff west coast, meanwhile open hostility and slow adoption of the marmite of DMs Unity, Ubuntu nOne (~dropbox) by the 'ingrates' and not helped by on-by-default Amazon (!) ads, BDFL RMS rants and various other missteps. It was unbelievably ambitious. I noted recently some Redmond 'embracing' going on (and we know what happens after 'embrace') wondering would 'Microsoft Linux' finally arrive - some partnership/deal. Ultimately the resource wasn't there for all of it, they aren't Google, and they are overtaken on all fronts now. I guess Mark wants to focus on what is bringing home the Bacon (if that pun is not too painful).
Before building animations learn how to implement them to work smooth. Hint: It is not possible anywhere except iOS native apps. Even google doesn't have all animations from their material guides on Android, web is a nightmare.

Also adding complex animations require pretty high budget. Create fancy counter takes 1 hour, make it with animation - couple of days of testing and adjusting timings.
I don't think privacy is the main motivation for most people installing ad block. I think HN is not representative of the market.
Dj's Heavy Equipment
Honestly, Prettier attempts to solve the same problem and does it better.
Visual Studio Code 1.11
Just look at the shitty state of affairs today.

History Channel: "Ghosts did it"
Discovery Channel: "Aliens did it"
Have you tried any of PBS Digital Studio Channels on Youtube?
It looks acceptable, but more important than how it looks is how it works. Ubuntu has by far the most usable desktop, in the default configuration, of any linux variant. UI isn't just about the shade of purple you choose.
Yeah, it definitely seems wrong to me. B2B2 has twice the probability of any other event listed in that table.

edit: I guess it's more nuanced than that. The explanation and interpretation sections on this blog post [1] and on wikipedia talk about the controversy.

[1]: https://jakubmarian.com/the-day-of-the-week-boy-or-girl-para...

[2]: https://en.wikipedia.org/wiki/Boy_or_Girl_paradox
You're missing out. Nix is a fantastic package manager with features that apt (and similar) simply do not have. NixOS is not perfect yet, but it's very usable, and quickly improving.
DOJ doesn't always go after trade secret cases, especially if there is adequate civil remedies. But even when they do, they often let the civil plaintiff do the heavy lifting and then come in with a criminal charge using the information obtained by the plaintiff.

Google probably can't wait until a long criminal trial happens.

Civil discovery is easier than criminal investigations.
Google "chemtrails" you get lots of hits too.
Embedded Google OAuth is going to break in 14 days
Yes, we should all get our under ten year old kids a computer and let them loose on Wikipedia. I'm sure they'll learn tons of stuff and never get into any trouble whatsoever.

There's a place for things like PBS. It's inexpensive, it's curated, and it's hard to mess around with.
Agreed. I signed up for recurring membership (in the past, I only donated intermittently or during drives). This is something worth keeping.
PSA: Safai WebSocket implementation broken in 10.1 update
> I wish the next generation of linux has a single package manager :(

Package management used to be my biggest frustration with computers. A couple years ago, I switched to nix [1][2] and now use it across all my unix-like systems (not sure how well it works on Windows, I haven't tried). Most under-rated piece of software I use, I'm surprised it hasn't blown up yet.

[1] http://nixos.org/nix/
[2] https://news.ycombinator.com/item?id=10714102
> Has anyone here ever USED Satellite (6.x) ?!

The supported, RHEL-released version? No. I have used Katello though, we ended up just going with Foreman+Ansible though since the lack of errata in the CentOS update feed made all of the extra features pretty useless.

What problems exactly have you seen? If I was running a proper RHEL shop I would pick it up in a heartbeat along with CloudForms.
We have a project that relies on sending large amounts of data via WebSockets and Safari is our primary supported browser. A recent update has broken Safari's WebSocket implementation and from what we can tell there's no immediate workaround.

Our first attempt was to write code check the `bufferedAmount` property to manage how much data is sent to Safari but it is always reporting 0 as of this recent release. I'm hoping this will catch someone in on the Webkit team or that someone on HN will have an alternative idea for a workaround in the meantime.
Are you thinking of http://commoncrawl.org or is/was there actually an Internet Archive program like that? Because that would be amazing
Because they signal a complete thought. Like a period.
Plus, their shows are made for a 3rd grade level of understanding. None of their science shows have even a hint of math
Sweden testing for drugs everywhere citizens go (pun intended)
Replace "ridiculing" with "criticizing" in your third sentence. The statement is also equally true - criticism of a world leader from within their own country certainly doesn't add strength to the public perception of a nation.

But do you see how dangerous that would be to make illegal, and how it applies to "ridiculing" as well?
Very good work, the Grid Garden.

As a side note, I find the grid API confusing as well.
There's a lot of FUD around Automatic Semicolon Insertion for some reason. Basically, the parser inserts a semicolon anywhere where the program is otherwise unparseable but a semicolon would make it syntactically valid. Importantly, this will occur even if you are otherwise using semicolons, so simply saying that you need to manually put the semicolons in doesn't help the situation since the parser may add them for you in places you didn't expect anyway. Leaving them out forces you to know the rules, but you should have known them anyway since otherwise they will bite you at some point.

ESLint provides--and StandardJS uses--the `no-unexpected-multiline` rule, which will insist that you insert semicolons in places where the meaning would otherwise be unexpected. In practice, with `semi` set to never and `no-unexpected-multiline` enabled, I find that I have never had a problem with semicolons that was not caught by the linter. By contrast, when I was afraid of ASI (since "omitting semicolons actually has an effect", eek!) I would find that I'd occasionally have mysterious issues where arrays were interpreted as indexes and so on. (I switched to semicolonless-style at the same time as I started using a linter, so I can't compare the two independently.)
Still with semicolons, many core problems remain: it's too permissive, and it's designed that way to maximize adoption.

If StandardJS was a standard for dating, its only filter would be that your potential date is alive and is a mammal. Use that Standard and you will have a lot of potential dates! such a great standard.
Its a good question readers of the English language can also infer punctuation where needed it's not considered good style to make readers infer this there can be some oddness if you are not used to putting punctuation where it belongs naturally garden path sentences can result and some tools can detect ambiguity automatically but why learn some custom rules for that when its straightforward to consistently put periods at the end of sentences
It's not normal or appropriate for a judge to include that in his judgment. I don't think he brings up the lawyers to show that he seems guilty, but to show that he definitely is taking this seriously. Plaintiff has really good evidence, suspect has lawyered up in a BIG way, and the defendant is just kind of doing nothing. Whether he's guilty or not, I think the judge is trying to point out to them that this is a major case and they're the only ones not acting like it.
my favorite data science paradox is the "curse of dimensionality"

https://en.wikipedia.org/wiki/Curse_of_dimensionality
Yeah once you learnt to use alt-backtick to switch window apps this is a much better experience IMO. Doesn't work without that though.
> we are on the cusp of the next generation - nix and guix.

Fixed that for you.
When you take the set of "criminals", and then further drill in to "criminals that actually get accused", you rapidly change the ratio of "clever" to "think-they-are-clever".

There's a DOJ investigator for white-collar crimes who has a sign in his office/interrogation room: "If you're here, you're not as smart as you thought you were."
BTW Scott Hanselman just posted how to write native Linux C++ apps using Dev Studio on Windows with linux subsystem, which I never ever thought would be possible but is awesome.

https://www.hanselman.com/blog/WritingAndDebuggingLinuxCAppl...
Milk has ~26g sugar per 16oz serving. It is about 33% less sugar than an equivalent coke, but that doesn't mean it is non-sugary or anywhere close (unless you meant non-sugary in terms of it doesn't taste very sweet, regardless of actual sugar content)
Challenges in Container Monitoring Simplified
Making somebody? How should he have reacted? What exactly is the point of pleading the fifth if by doing so you incriminate yourself?

I plead the fifth when I get pulled over, am I a criminal? I don't understand. It seems to me the absolute smartest course of action - place the burden of proof entirely on the opposition, give them nothing to work with you don't have to.
To add to this statement: Input latency is a much broader issue than collision latency - a large scale of collision latency is produced simply by being an online game, regardless of how you're trying to represent the events. So the collision being subject to a tickrate is hardly a dealbreaker. Variable timesteps can be a little bit better at performance or responsiveness, but it comes at the expense of flooding additional concerns about consistency throughout the main loop. The modern fixed timestep treats a tick rate as delta times being partitioned into quantities of ticks, but also passes the time each tick represents into each update as a way to ensure that timers and time-centric physics can exhibit perceptually similar behaviors if the tickrate, and thus the duration of each tick, changes.

Input latency, OTOH, is something that has challenged developers from the earliest days since it has to do with how fast you propagate new input through the main loop to the output device, and the timestep's interaction with input is not straightforward. Arcade games could drastically improve their feel just by capturing and debouncing input multiple times a frame, even with the simple screen-refresh timesteps that were the common practice.
And Wayland.. Wasn't it all because of phones and tablets?
This is my biggest gripe with debian packaging. Also, the use of make files and the magic that goes on behind the scenes with debhelper (which you probably want to use) makes packaging much less transparent.

It took me days to grok how to make a proper debian package nearly a decade ago when I first did it - writing my first .spec file took an hour or so and now I can hammer most of them out in 15 minutes or less.
> One of the things that interests me about this paradox is that when you're left with just two doors, the odds of either of them being the one with the car is 50%.

Well, no, that's the point of this, it's not 50%.
Before you pick there is a 1/3 chance of the car being behind any of the doors, so there is a 2/3 chance of it cumulatively being behind the other two. But there is only one car, so the set of doors you didn't pick must include at least one non-car.
The host knows the location of the car so can always open a non-car door from this set. But still as a set they have a 2/3 chance of containing the car. By swapping you can effectively think of it as choosing both other doors.
An easy way to get your head around this is increase the number of doors, say to 100.
You pick 1 of those 100, the host opens 98 other doors, do you swap?
From what I've read on quanta, they write remarkably clear articles for their target audience. And I've even read the referenced paper by Bender et al. I think the author has done a good job in describing what the heck the paper was about.
>I think he means that they were not able to sell the idea to device vendors sufficiently.

And the implication from that is that if vendors aren't looking to make a ubuntu phone, it's because their customers aren't asking for a ubuntu phone. Regardless of how many layers there are between Canonical and the end user, there weren't a lot of end-users asking for a Ubuntu phone.
But how can I get a phone that can actually run the code first?
I used Standard for a while, because it matched my personal preferences almost 100%. Some day, however, I decided to do a small modification. Now I'm alone with my own eslintrc and my own dotfiles management.
ad·ver·tise·ment

ˈadvərˌtīzmənt,ədˈvərdizmənt/

noun

a notice or announcement in a public medium promoting a product, service, or event or publicizing a job vacancy.

---

As long as said 10-second intervals don't promote a product, service or event, and they simply mention that Company X supports PBS, they aren't advertisements.

https://www.google.com/search?&rls=en&q=define:advertisement...
..."And if you don't do that, you're fired."

I am guessing they do have the ability to fire on those grounds.
That's a straw man of a budget hawk. Real budget hawks are more reasonable.
Levandowski isn't a defendant in this case, Uber is. By all accounts he could tell them to fuck off, and he pretty much does that if you read the transcript.
The customers were device manufacturers, and they didn't want it.
In the Bay Area, at least, shows will have multiple supporter mentions which are basically brand endorsements, a la, "Brought to you by ADM, Supermarket to the World! And GE, bringing good things to life."
Because it's civil it would need to be presented or entered with relevance.
Bury your head in the sand, man. We're not looking at reasonable folks. It's just one side trying to piss on the other.
I know a handful of attack that work, and a few more vectors that won't be fixed as well. So why bother, exactly? It's neither a big concern nor fixable in current web design.
You can take pictures of your physical meter's indicators and see if that matches up with your billed usage.

You could also test how accurate the meter is by measuring current on the main feed and doing some math.
You can do it, the problems start coming when you then try to automatically go back to the failed master. PostgreSQL 9.6 makes this easier, and we should see some more automated tooling around it - but in general I have learned that unless you are using shared storage automatic fail-over clusters can be hairy and generally avoided.
Flow doesn't run on my home computer nor in my personal VPS I use for development. It also doesn't run in my Linux girlfriend's computer which I use sometimes, or the computer I sometimes use at work.
All of the first part of the things you said is a part of the accusation.

>Waymo says he took 14,000 documents, while Kshirsagar and Radu Raduta took only a few. Waymo is now asking for Uber to turn over those stolen documents as part of the discovery process

My understanding is that part of the case is deciding if it is true that 14,000 documents were taken.

So again, the only known truth is that a single document was found on a guy's device.

What I am concerned with is that we all fall into the "Uber BAD, Waymo GOOD" trap simply because Waymo is kicking up a big shitstorm. Let the process of law happen, let the facts of the case arise, before we pass judgement.
How to Budget for Healthcare