skysight-inc/HackerNews huggingface dataset:
Focusing on semi-colons is a distraction.

There are two core problems w/ Java:

- It doesn't support local type inference. Supporting this would clean up a ton of java code with unnecessary type annotations while still keeping signatures explicit and making refactoring tools, code completion, etc. (a strength in the java world) working properly

- The culture of java library design is one where the entire domain of the problem is surfaced to the end user, typically in the form of a complex object model. This means to accomplish anything you often need to write some fairly complex code dealing with concepts you aren't particularly interested in.

My theory on the second problem is that java's type system and code completion allowed very complex libraries to work well enough, and the culture of java development (OO, highly technical) encouraged them. Meanwhile in the dynamic world, with no-or-shitty code completion and a focus on getting things done, darwinian selection weeded out libraries with verbose APIs.
how often do phones crash, and how bad is losing a small amount of data then?

Phones crash a lot. Losing data can be anything from a minor nuisance (lost a few seconds of work) to a massive headache (some important file was subtly corrupted).
* Some people will be hostile to you or your ideas. Maybe it will be personal, maybe not - but people can be ass-hats, so expect it. Don't waste a lot of energy on people who have no interest in exploring new ideas simply because they didn't come up with them.

* there's always something to learn. You know that, but you'll lose sight of it.

* look at the bigger picture, always

* don't be afraid to ask questions, as many as you need until you have the information you need.

* worry less about what you want, and more about doing the right thing for the customers you're building for. (In the end, there's a surprising amount of overlap...)

* 12 hour days might feel good, but they don't help in the longer term.

* you can't do it all yourself.

* you'll get paid more than you need to survive - so don't be an idiot with your money.

* talk to people. continue to talk to them after you are no longer required to interact with them regularly. Relationships are work, but they're important to your sanity and career.

* Those things you avoid because they're too hard? They're not really too hard, and that's not really what's stopping you. There's nothing wrong with failing.

* Those ideas you have? Do something with them. But one at a time, and make an active choice as to whether it's worth finishing.

* There will always be things that you want to do better. Don't let that stop you from shipping.

* Don't read comments. And for the love of FSM, don't reply to them.
It is basic functionality until it results in bad PR for Apple. :-D

Seriously though, it's pretty insulting to their users to think that removing a basic feature like this is somehow going to change the perceptions about the battery life of the 2016 MBP.
Interestingly it is based on Brillo, but instead of rewriting the frameworks in C++ as previously discussed, they brought the Java tooling into Brillo, while introducing frameworks for low level programming, including userspace drivers.
Well, you can still base it on the % indicator for the battery. It may not tell you a time, but those times have always been a guess at best.
I appreciate the reply, that's pretty sad to hear. Thanks for the links, they're really interesting.
Is there a easy way to make this my default search engine on Chrome?
Were you prescribed anything for pain before fentanyl? If so, what is different about fentanyl? What prompted the switch?
interesting, reading your comment, I would never guess that we are speaking about the same book. I found it to be more of a guidebook to precise communication with colleagues and management.
Does anyone make a USB-C battery pack that can put out enough power to sustain the new MBPs during use? IMO that's going to be the fix for Apple's thinness fetish, a return to the days of replaceable batteries except now they're external.

Carry as large / as many batteries as you need, and if you're going somewhere with an outlet you get the benefits of thin/light.
Can I ask why you've opted to compare Asians and Blacks (thus maximizing the gap, without noting that the plurality population of White people fall inside that gap) and why you've opted to make your comparison at 600, a point that again works to increase the gap, while the paper itself pointedly focuses on the 620 prime-rate cutoff at which the "Black" default rate change sharply changes while the "Asian" default rate starts leveling off?
The sensors are primarily radar based. Mud/snow won't really affect them.
I just got done staring at some code written by a prolific upper quadrant coder, that I'm going to have to noodle on and figure out how to disentangle some bad design decisions. I might be able to do a fairly short commit to refactor and extend, in which case my metrics will be crap. I might wind up looking at all the outstanding issues with this codebase and rewrite every class in this directory (in which case my LoC metrics will improve dramatically). Right now I'm probably one of those "stuck" coders that need "help". Kinda? But most software developers hit problems like this and run away in terror, and looking around me IDK who can really help me that much, I'll run my ideas by some colleagues, but the other ones who work on problems this gnarly are also neck deep in their own issues...
There's a really interesting result buried in this.

"about half of US counties saw increases in suicide and violence"

The separation of perceived and actual violent crime rates is a pretty infamous thing. Violent crime has been declining for decades, but at least since ~2000 perceived rates have failed to track that result. People toss around lots of theories, from "the media scares us" to "bigots are scared" to "perception can only go so low".

This implies that we might be missing a better answer: people give national answers using local assumptions. If your county and all of the ones nearby have steadily rising rates of assault and homicide, it looks an awful lot like violence is on the rise (and for you, it is). This is especially true since you'll hear about every murder in your town, but only a few from NYC regardless of how many happen there (or don't happen).

So violent crime rates have dropped steadily, largely because they're power-law effects and the deadliest regions have gotten much safer. But there are a lot of people looking around at rising violence where they and their families live, and that's getting buried by the data from a handful of cities.
Thomas Friedman on 'Thank You for Being Late'
The Internet Archive would take it, I'm sure. And they're just shoring up their backup in Canada. http://archive.org/donate ArchiveTeam has been working on publicly-available data from government websites as well. They don't seem to have a page on the wiki yet, but here's the list they're going from https://docs.google.com/spreadsheets/d/12-__RqTqQxuxHNOln3H5...

Edit: that's actually a list made up by meteorologist Eric Holthaus, however AT is grabbing it as well.
These cars will likely have many sensors of different types at overlapping locations, its not likely to keep going if all are completely unusable.

But I wonder about the snow though. How does the car know where to go when there are no identifying lane features? Maybe its not as hard of a problem as I believe it to be?
Waymo? They own Waze. Did they consider Wayzo or Wayzmo? Or are they going to rebrand Waze as Waym?
Though different terms are used, both SpatialOS and "Age of Ascent" specifically reference the notion of "Interest Management." That is, not only do the online servers have to simulate the world at the rate of game ticks, the online servers also have to calculate and generate timely updates to interested parties and compensate for lag while seamlessly distributing load across the cluster.

The hacks that Eve Online used to somewhat do interest management resulted in metagame "Grid Fu" -- https://www.youtube.com/watch?v=N8K18S_RNEQ

3D worlds are really good for interest management, since distance between objects generally means a drastic lowering of bandwidth required between the objects, even though the objects are still visible to each other. In 2D, such objects have zero bandwidth, but this means there are no "vistas" unless the view zooms out, which makes the player effectively "farther" from the avatar.
There's also Zoox, which is trying to build the car and taxi service from scratch.
Jeez, come on. I mean, maybe I think a lot of the griping about new MacBooks is a bit much, but this is just embarrassing. They really do need to figure out what the hell they're doing with Macs.
Sadly the project hadn't seen an update in a long while (entirely my fault but you know, time...) so if the current aging release doesn't suit then I strongly recommend trying vanilla Mopidy. It's harder for a very new user to get going but it's less buggy.
This is the guy that wrote Google Interview University, previously on HN: https://news.ycombinator.com/item?id=12649740
What's in your $PSVersionTable?

I'm doing this on windows 2008 server.
Why is it fraud? The primary account holder still has full responsibility for paying the bills.
https://news.ycombinator.com/item?id=13164534 is a related recent thread.
It's almost 2017, and HTML5 audio is still broken on iOS
24 days of Rust – zip and lzma compression
Load balancers and Active Directory
it became hard for Psychs to institutionalize people who need help.

The prospect of a society in which any psychologist can, on a whim, circumvent due process and imprison anyone against their will indefinitely, is terrifying.

It's much, much better this way.
Interesting concept. I am keeping a stack of a few million screenshots from the newscombinator, but I am not using it. Actually I thought about deleting them recently because I found the concept of having full-screen screenshots pretty bad. But now that I see it, I like it.

One question tough: How large is your index? I haven't seen any information on that, or did I miss anything?
> in 5yrs

bold prediction: They won't have fully autonomous cars.
great, i always wanted a write only data store
* Crush your enemies, see them driven before you, and hear the lamentations of their women
The hardest problem to solve will be the humans who bully the polite self-driving cars:

http://www.telegraph.co.uk/technology/2016/11/17/humans-will...
If you spread enough of it around the star, sure, it will do. But into the star won't help you.
I've noticed this quite a bit with Google stuff. There's blogger, for example, which is one of the rare sites that doesn't show me anything until I whitelist the entire site in uMatrix.
Try a lot of different technologies even if you will never use them. Read other peoples' code. Be open to using other libraries. Not invented here is a failing mindset.
Precisely. Even though I am not from India, I used to be on H1B myself till 6 months ago and was very afraid I would lose my job and worked very hard and did every order my boss gave me. Gosh, he was such a micromanager but I had to swallow it. Anyways, I got my Green Card 6 months ago and I changed to another team finally and can freely speak my mind now :)
Would it be possible to write the server part such that either all mutations succeed, or none of them do?
Then, per the article, Google had its first Level-5 fully-autonomous, no-backup-driver in public streets over a year ago.
Go to Settings -> Manage search engines -> Other search engines and it should be there.
I feel like they're really getting on the cute-sy theme, from the car's friendly design to the name "Waymo".

The lack of control is still kind of terrifying so I think they're trying to make it as non-threatening as possible.
>>>> It's an insult to the users.

Can you remember the last time this company did something to delight their users?
There are so many things, of course. But here are two things I wish I'd understood better a long time ago:

* Think in the problem space / avoid thinking in implementation details. Structure your solution along lines that make sense in the problem space, name variables for that, etc.

* Do the simplest thing that solves the problem at hand, but no simpler. Small, simple implementations are easier to change when (not if, when) unanticipated changes come up. If you anticipate additional functionality, leave the door open to those changes rather than writing code for them now.
The time estimates make an assumption that you can use a small sample of energy usage and project it linearly over the remaining battery capacity.

This assumption breaks down on modern processors that get much of their energy efficiency by non-linear usage techniques such as race to sleep, adjusting cpu clocks for workflow, coalescing interrupts, etc.

Additionally, modern OSes are doing more small random background tasks that are invisible to the user. A machine that is temporarily using a lot of CPU to perform a cloud sync or face detection on some new photos will report that at this level of energy usage you might not have much time left, when in reality the background operation is likely to end shortly and battery life estimates might spike up in 5 minutes.

A user seeing a 3 hour estimate (that is probably wrong per the reasons above) when they are doing nothing that seems energy intensive and concluding that their machine is broken is the problem that Apple is trying to solve here.

Might there be a better way of communicating the energy effect of background tasks on battery to users? Probably, but a single number time remaining is going to be a very hard way to do that (basically asking software to predict the future). The battery life graph over time found in activity monitor is much better.

Something else that would help, and would fit into Apple's MO of moving iOS features to macOS would be a method of allowing users to enter a low power mode that would forgo face detection and spotlight indexing temporarily in favor of more consistent battery life. If it could do this for network usage when I say I am on a slow or metered connection that would be super helpful too.
Exactly right. Skype used to do peer-to-peer connections with nobody in the middle. If you knew how to modify the port forwarding configuration of your router, you could get very high quality connections.

Now, everything goes through Microsoft servers where it can be conveniently wiretapped.
It's a full time job, with an extra helping of anxiety.
Ah, you mean transcode to something the browser actually handles? I think that transcoding might be many variants of terribly slow though.
I'm not sure drawing it to canvas frame by frame would be all that hard, VLC already does some kind of frame-by-frame drawing I'm guessing, on the output end. Canvas should be plenty fast enough as long as the decoder can keep up I imagine. I'm thinking this might be a good use of Web Workers to offload decoding to another core to avoid hanging the main thread (UI).

I'm mostly guessing.

I wonder how heavy different encodings/formats will be to decode in JS. Haven't worked with video on that level of detail, but I imagine that there a plenty of optimizations that can be done in low-level languages to get solid performance that JS might not deliver.
Do you have a sales channel?

I know a guy who continues to run a one-man software shop for some municipal government functions that are important, but too small for a more general software company.

Key factor for him is that his uncle had been a well-known person, which got him in the door early on.
How can you even say that?
Ask HN: What are the best resources for learning Maths and Physics?
I'm trying to teach myself the foundations of Maths and Physics, University year one stuff. What resources have helped you?
Taking advantage of the momentum of another platform by building a plugin, skin, or extension is a great way to slingshot a project. There's also some risk involved, because that platform usually has the power to cut you off, legally if not technically.
- Go out and have a little more fun on the weekends.

- Stop underestimating problems, assume they are hard until you can prove they are easy.

- The squeaky wheel gets the oil. Doing great work that no one knows about doesn't get you recognized, and doesn't help anyone.

- Trust your own intuition and insight more. They are often correct about other people and your own life direction, but get ignored too often.
You would be far better off pooling money to buy a foreclosed hotel, and offering it at cost to the homeless via donated rooms

One of the problems with the shelter system is that it is a horrifying concentration of poor, sick people. I am advocating that we treat homeless people like human beings and stop trying to simply warehouse them, as if having a physical roof over your head is the single most important thing, and never mind the horrifying social and health aspects that merely compound your existing problems, creating a downward spiral you cannot escape. So I strongly disagree with your idea and I hope no one acts on it.

This blog is thoroughly emblematic of an "edgy idea" that is inexplicably engaging otherwise intelligent and well meaning people.

I strongly suspect that my writing on the subject of homelessness engages many of the members of HN precisely because I have been a member here for a number of years, they knew me when I had a corporate job, and some people respect the fact that I am also the top ranked openly female member of this overwhelmingly male forum.

But that's, you know, just my opinion, man.
Comments moved to https://news.ycombinator.com/item?id=13168971.
I would like to respectfully disagree with you on most of your points (in the article).

1. While network boundaries are not necessary, and in general add a little more overhead (and more boilerplate), it's a necessary evil. It helps you to think of each bit of software separately and in a way, helps you to find errors when they occur. I have worked with monolithic projects and while finding bugs is not hard, if it were a serverless micro-service, it'd be a lot easier.

3. adding discipline as an abstract afterthought is a lot harder than just forcing discipline with micro-service projects.

4. A not my problem approach might not be something to desire, but in my opinion, it helps in 2 major ways:

i) people are a lot more responsible for their code

ii) they don't make assumptions and take things for granted (a lot of error handling for example)

5. Scaling micro-services (especially with AWS Lambda et al. is insanely easy and an afterthought). That is not the case for a monolith where you either have to keep worrying about scaling or re-write code.

I personally feel micro-services are the way to go. However, micro-services in general need a bit more guidance - best practices and so on and we have a lot more work to do before we get there.
SDC? Self-driving cars?
I didn't discuss queues because queues aren't intrinsically a part of a MS architecture.

You certainly can do it that way, and there are lots of benefits, but queues (and if you're doing this at scale, distributed queues) are an entirely distinct subject matter that I chose not to touch on for this.

Also, things can still get lost with queues. Network failures, partitions, bugs in your own publishers and consumers... nothing is fool-proof, and it takes a lot of work to reduce that loss rate to 0.
Are you testing the value or user demand for that feature? I agree with the GP. Screenshots reduce information density, increase bandwidth (load time), and for me take even longer to visually parse than a text result. That is, they interfere with what I consider to be the most important things I need from a search engine. Having screenshots populate over time as they load moves my eyes around the page and acts as a distraction--at least for me.

Google tested a similar "view a screenshot of the search result" feature a while back. You'd hover over a result and it'd show the screenshot in a column to the right. For whatever it's worth, they axed it, although I don't know the reasons why.
Outstanding Outbrain, Intriguing Innovation and Journaling January
so 1997 to 2001? MS was innovating. What about from 2001 to 2006? 5 years of zero development? Big difference between Chrome and IE6. IE7 (2006 - 2009) IE8 (2009 - 2011) You can't seriously tell me this is comparable progress to Chrome/Mozilla/Safari? My issue with anyone equating IE6 to recent browsers is they are not comparable. It was really bad during the IE6 days and we had no alternative. Today when new features land in Chromium they are opensource, available for the Mozilla, Webkit, and IE teams to study. IE is still closed source. Whether it calls itself Edge or IE it is still a closed source browser. A closed source browser is what allowed 5 years of zero. If you want to point out privacy concerns with Chrome please run Chromium - https://www.chromium.org/getting-involved/download-chromium or run Firefox. These are at least Open Source e.g. our internet is free. IE is the ultimate evil to the internet and any business that operates on the internet should remember IE is a threat because it is closed source.
Hey, I just made a deployment with SpatialOS. This is one of the starter projects.

Go to this google doc and click the links. Please leave a comment on the cell as the links are one-time use.

https://docs.google.com/spreadsheets/d/1Q185RKFhjspin4zo0PBH...

Come play!
I get the feeling the estimates were "correct" but the load for background tasks is so volatile (heavy indexing and syncing, then nothing after they complete) that Apple now considers them misleading. I guess technically that'd be an underestimate.
Does it really take four keystrokes to delete a line in Vim?
Uber said it protects you from spying. Security sources say otherwise
Just because it has happened doesn't mean it's always happening. Without any proof of intent, yeah, I'd consider it (plausible?) paranoia.
Am I the only one getting a 404 on this URL?
Reminds me of when they stopped calling the powerpc Macbooks 'Laptops' and started calling them 'portables' everywhere. To avoid customers placing the hot griddles into their laps.
>yet to ship any hardware

Except for the fleet of Ford Fusions and XC90's covered in very nicely implemented custom sensor rafts http://theincline.com/2016/12/12/three-months-of-self-drivin...
ACM A.M. Turing Award Lectures playlist [video]
a whole industry of workers will be out of the job. How will society react? Will we have a socialist revolt? Want to stay clear from politics... but seriously why isn't anyone talking about the socioeconomic impact this will have once drivers are put out of the job?

IMHO this is the reason Trump won the election, because there is no plan for these people.
Two sides of the same coin. If you can rent your neighbour's car, why own your own?

Heck, why have driveways? In cities, at least, I could fully imagine new townhouse developments operating more like apartment buildings: one central parking lot for the "pool" of (mostly) driverless cars. Your car drops you off at your door and then parks in the pool; then comes back out to get you in the morning.
Honestly, NOAA. It’s basically their raison d’etra. They can outsource platforms to boeing and launches to whoever, just as easily as NASA can.

I hate to sound like I’m agreeing with Trump on .. pretty much anything. But if we can hand NOAA’s tasks to NOAA, the airforce’s tasks to the airforce, commercialize “routine” orbital access - and free NASA up for actual exploration .. I don’t think I’d be opposed to that. Just as long as we’re actually enabling them (and funding them) to do so, and not actually downsizing any of the above.