skysight-inc/HackerNews huggingface dataset:
That's a far cry from being unsafe cities :)

Sure, there are isolated anecdotes like the ones you quote - but there is not a single area of either Geneva or Nyon where I wouldn't walk around with an iPhone at night (I grew up in the Nyon region, then moved to Geneva's as a teenager FWIW). The worst that you can expect is someone trying to sell you drugs, or begging, or getting into a drunken argument (like basically anywhere in the world where humans live)

Not to mention, that's probably the "worst" region of the country - I live in Bern now and you'd be hard pressed to find someone who would not bring your iPhone back to you should you leave it on the sidewalk at night.
"Has Apple's research focus changed?"

If it has, honestly, it's because they don't know where to put their money or they've put it all in one thing.

You more or less say the same thing.

"hey've loosened their research focus and now have a lot of people doing whatever the hell they want, much like MS, just because something useful might someday emerge." (This is we have no idea what to spend our money on).

"Perhaps we're not seeing some monumental project in the works, although an autonomous car would be pretty big." (This is we are betting big on this one thing we think has huge potential).

The other option apple has not been fond of is large investments in a small set of things, each of which may be a potential big future.

The first would be quite concerning. If you have companies with large research budgets, and they have no idea what they should spend money on in order to make the next big thing happen, that does not bode well.
SpaceX has problems?
I'm old enough to remember gopher, then mosaic, then netscape navigator, and a web that had only a few dozen sites. Then there was altavista and metacrawler, and of course yahoo. In our (physics) department of 20 people back in the 90s and 00s, no-one ever used yahoo: its 'directory' listing of websites never sat well with any of us, and we never used it: it just felt wrong and cumbersome. In fact the longer yahoo stayed around the more we joked about it. I am still astonished yahoo is still around now, I always felt it was doomed to failure back in the 90s.
The issue with AF447 wasn't really the disengagement of the autopilot; the crew knew the autopilot was off.

What they didn't know was:

1. Exactly why the autopilot was having trouble, and

2. That the fly-by-wire/flight envelope protection system had switched to "alternate law" mode which disabled stall protection.
Larval isn't the only group leaving; Guzzle, Propane, SabreDAV and Doctrine have left too.

Reading the mailing list and some other threads on /r/php there seems to be an opinion that the FIG did excellent work creating the autoloader, code style, logging and HTTP Message standards however other recommendations such as caching massively expanded in scope with little community input.

Also the signal to noise ratio on the mailing list was very high resulting in a laborious and off-putting read trying to catch up.
"Google Maps' advantage has a lot more to do with data than algorithms."

Given literally everyone else collected the data well before google, and maps was still better, this seems wrong.

Google developed better ways to get the data and automate it, not just got better data.
For years, literally everyone else had better data.
Which is akward to install for the average user.
If you have an Ops team that is fine, but I doubt even at gitlab.com they don't have too many folks that automate that stuff, so either they spend time developing or they spent time automating / splitting.

Actually the biggest problem is actually RoR which Gitlab is based on, it offers a very limited performance compared against others. Even if you split, you still need more servers on ruby than you would've needed for C#, Java, C++ or whatever is closer to the metal.
Angular 2 TypeScript Snippets for NetBeans
This extension for NetBeans adds snippets for Angular 2 for TypeScript and HTML.

It is based on the Visual Studio Code implementation: https://github.com/johnpapa/vscode-angular2-snippets

Link to plugin: https://github.com/Chris2011/netbeans-angular2-code-templates
> I also doubt that just because BPD stopped sending notices that they agree the ticket was bogus and have deleted it. Far more likely is they just stopped sending notices and the ticket is still active.

I attempted to pay the ticket, it was no longer in the system.
Why mobile app is crucial to the success of Indian fashion business
Build a Wi-Fi Drone Disabler with Raspberry Pi
One more reason to endorse https://en.wikipedia.org/wiki/Basic_income_around_the_world
Frontend builds sometimes destroy the dist folder and rebuild all assets. Hash will result in the same name if it is unchanged.
Can you give some examples of horribly clumsy prepared statement APIs?

Every DB API I've ever used has looked like

query("INSERT INTO table VALUES (?1, ?2, ?3)", "a", "b", "c")

or something more like

insert_into("table").values("a", "b", "c")

neither if which seem horrible or clumsy to me.
I love session buddy on the desktop, though with javascript off on most pages and 32gb of system memory I have yet to crash chrome from tabs there.
The dog filter was a nice touch

P.S. followed you on snapchat because of this thread. Your stories are endearing, and agree with you getting the message out through whatever medium. HN and snapchat may be orthogonal though
Yes, but the regulatory and development hurdles involved in developing an operating system are significantly different to those of developing an autonomous vehicle.
1. I have a background in c/c++ so found Go quite interesting and easy to learn.
2. I like its packaging system.and many good packages are available now for things like authentication,caching.
3.it just creates one binary.easy to deploy.
4.the inbuilt net/http package is awesome. No need of any external server.
what do you say?
That is so dark I can only hope for Mrs. Holmes sake that the suicide was unrelated.

I couldn't live with myself if somebody else committed suicide because of my lies.
> I'd consider it a self-evident bad thing for the media source to lie to them and give them information that isn't representative of reality.

And I would agree. Nonetheless, in a free country, the owners of a media source are not bound by what you and I think (and that's a good thing).

> up to a limit, remember that!

Huh? What's the limit?
Yahoo was a gateway to doing more or less everything you could do on the Internet. With a single account and familiar user experience. You could play games, email, read the news, buy and sell things (stores, auctions, shopping), chat, search, plan travel, share files, have a home page, send money, have a pet (do you remember Yahoo! Mash? neither does anyone else) or find a pet, find somewhere to live, get internet service, listen to music / watch music videos, call your mom, etc, etc, etc.

In 2004 when I went through employee orientation, the company had a clear goal: be a the top 3 online site in as many categories as possible. When I left in 2011, nobody knew what they wanted to do. Now they don't even know how to put a ! after their name!
apt, considering their HQs are on adjacent blocks.
Hmmm.

Sorry. :-)

I do this sometimes when in a conversational tone say on Slack or IRC to show I'm actually thinking/confused by the direction the conversation has taken. I think this is better than the person I'm interacting with thinking I've just bailed.

This is not the same as, uhhh, me, uhhh, like, uhhhh, putting filler words into, uhhh, my writing.

It is used to enhance the communication by making it more representative of a good conversation, as opposed to using filler words.
Apple snatched a few Tesla employees and a few people has said that Apple are working on a car. Seems obvious.

Has anybody considered that it might be other form of transportation? Maybe an electric motorcycle or some other cart? All their devices is very personal, could be a personal transportation device?

Apple's mission seems to be to create the best products they know how to build. But environmentalism is pretty highly valued at Apple, so it seems likely that they will move towards things that they think will benefit not only their costumers but also the environment.

But Tesla's mission seems to be about accelerating the adoption of electric cars. They need "everybody" to produce electric cars, so it is in Tesla's best interrest that they build a car. It will be interesting to see if Apple picks up on Tesla's R&D, with the opensource patents and maybe even a Tesla Gigafactory.

But very interesting to follow, hope they make a car and hope they make it great. But I am afraid they lost their cocky edge a few years ago, so it will probably just be a nice new car.
She and her investors are family friends. Given that context I find strong and harsh maneuvers unlikely.
off topic, but FYI HARC in hungarian means fight :)
Ah, so since Scala Native is not built on the JVM you can't just take a pre-existing Java library and make it interop. You need it to be real Scala. The only options then are to use a convertor or manually port the library from Java to Scala?
At least now whenever people question why I hoard all my old electronics for as long as possible, and try to eke out as much value as humanly possible, I'll have an answer non techy people can relate with.
If I don't do that, it will end up in Hong Kong giving people cancer.
It disables most other shortcuts too. No fullscreen (F11), no "new tab" (Ctrl+T), no tab-jumping between links and input elements. I usually browse without using a mouse and suddenly got trapped inside this article, since they also disabled "close tab" (Ctrl+W)
Your correct that it probably doesn't use scala.reflect, but it still uses reflection.

Jackson works using reflection. Play JSON therefore at least depends on reflection transatively.
Love your rhetoric. You're ignoring the fact that non-wheelchair users can ahem, walk around those obstructions.
> the guys with guns can seize the land next regime change.

Sure, violence trumps everything. But if civilization is sufficiently intact that the concept of "settlement of a financial transaction" is a meaningful concept, the crypto + a trusted third party can provide it. (Actually, the third party doesn't even have to be trusted, just agreed upon by all parties.)

> bearer bond type instruments

No, people with guns can steal those too. Violence trumps everything.
Impressive personality. But horrendous choice of colors for the web page. To the point of pain for the eyes just to look at it. Not to mention reading.
It reminded me that project of mine to inject some CSS into Hacker News because how useful this website is, it is truly ugly. My eyes are killed after one hour of reading.
What is good mathematics? by TERENCE TAO [pdf]
Of course, the chances of such a clear-cut moral dilemma are likely worse than the chances of winning the lottery. Besides, if the ice is so slippery that you can't stop, it's likely too slippery to steer off the road.

There are very few legitimate reasons for someone to purposely steer off the road at highway speeds, but many reasons for the car to prevent it.
Pennsylvania Police license plate reader SUV camouflaged as Google vehicle
The article mentions that regulations recently changed to allow this, maybe the cops are just using common sense?
It's actually worse than that. She'll probably be appointed CEO of Yahoo! or run for elected office on the basis of her business acumen. (Looking at Carly Fiorina.)

It's depressing how much wealth and notoriety alone are valid qualifications in America now, regardless of how they've been obtained. It feels like the one true key to success is abject shamelessness after so many years of misplaced incentives.
Upcoming features of Subresource Integrity 2.x
What benefit does it provide in comparison to Scrapy?
I believe that works against jvm bytecode, which you don't get for scalajs. Instead the compiler has a JS specific intermediate representation which the optimizations occur on.
Not really. Google collect more, like wifi info :/ and images (street view). Google really did revolutionise mapping.
Free static aplication security testing tool for open-source code
Adjustable 15w high power 3g 4g lte 4g wimax cell phone jammer
> The first would be quite concerning. If you have companies with large research budgets, and they have no idea what they should spend money on in order to make the next big thing happen, that does not bode well.

Why doesn't it bode well? The transistor, the laser, Unix, information theory, and a giant number of other things which form the underpinnings of modern technology came out of Bell Labs, which is the epitome of a place with a large research budget and no specific "next thing to monetize" that the spending was directed towards.

From what I understand of Apple's culture, it's unlikely that it will ever transform towards this, but that's a separate point.
everyone you meet is "one of the smartest people I've ever met"
You mean, like Atlas?
https://stripe.com/atlas
That's a bit of a strawman of their thinking. It's closer to, "we don't know enough, so we need to be very careful about creating policies that are economically destructive to entire industries (and subsequently industries that depend on those) that depend on cheap energy. It's not common for me to hear people claim that they are certain that the climate research is completely wrong, it's usually that the feel the evidence isn't strong enough to make such broad changes to how the world's economy functions.

It's a much easier perspective to understand when you realize how many of these peoples' lives are directly tied to oil/gas/aviation/etc. Assuming complete stupidity or malice on their part does very little to advance the argument or accomplish anything in general other than feeling good about yourself.
> <...> it is in general impossible to know runtime size of string at compile-time <...>

You are stepping on the same rake as beginners: generalizing from a specific case instead of applying the general case to specific circumstances. I have stressed the word "in general". You may treat it like a cop-out or you can say that there are no special-case semantics here. Not sure if it was intentional, but your example is rather tricky. Until you step out of the box and see that we are no longer dealing with strings/arrays/pointers here, but structs, that have a bit different semantics.

> Since there are no strings

Yes, there is no explicit string type in a language, but somehow we do use strings in C. Semantics. We can semantically treat a particular block of memory as a string, time-series, binary tree, etc.. There is simply no special case (explicit language support) for strings.

> it cannot be true that strings are pointers. They can be arrays, and array sizes are known at compile time.

What about `malloc`? What about passing arrays between compilation units? I have covered this in SO[1]. Note that I never explicitly pass pointers, yet `sizeof()` thinks I do. Array sizes can, in some circumstances, be known at compile time in a specific program block, but not in general.

I'd say there are +/- 3 types of languages (core, no stdlib, etc) in this context: 1) provide common-special-case exceptions 2) wrap all cases in an easy-to-use interface 3) provide general case syntax. 1) languages with `=` and `eq` (Perl?) 2) languages with object-identity (Python?) 3) C

[1]: http://stackoverflow.com/questions/19589193/2d-array-and-fun...
posted behind a paywall on wired...
This is exactly what I do, I disable EME in all browsers I use first thing after installing. Anything that is DRMed is not worth my time.
>analyzing the thousands of different parking spots where tickets were issued for their legality is an expensive process

With data about exact location of where each ticket was issued, it wouldn't have to be expensive.
From the perspective of a denialist, that's how they will essentially view the field. So you need to understand that and realize that arguments from authority are very weak in that regard.
Instead of the advertisers collecting information on me and targeting ads to me, I'd rather block all ads except a few. I'd collect my own profile data and only allow to pass a few ads related to my interests. If there were no more than one ad per hour, on a topic I want to see, then I wouldn't mind so much.
How Opening a Web-Based Business Is a Better Idea Than an Offline Business?
For a bit of perspective, just in 2014:

- 7 million vehicles by multiple brands were equipped with Takata airbags that could blast out metal shards (2 deaths and 30 injuries reported).

- 30 million GM vehicles were recalled for faulty ignition switches that could shut down the engine while driving, plus prevent the airbag from deploying (at least 124 deaths in accidents where that happened).

"Stericycle, a recall consultant and service firm for automakers, said there have been 544 separate recalls announced [in 2014]"
Most event ticketing systems are 100% scams so I don't expect much.
I'm not sure if the biggest challenge is sensors or software. I don't know what Tesla is running, but I have a strong feeling that software in the large is not up to the task of autonomous driving. Most software (including automotive) has only very limited realtime behavior due to memory allocations, OS preemption, interrupts, ..., error-prone programming languages like are used and resource (memory) usage is often unbounded. I can't imagine that Tesla or anybody else that produces self-driving features at the moment is using something like Ada Ravenscar or advanced static validation techniques through all components that are involved in the self-driving features - and which are often quite complicated (image recognition, etc.) and therefore hard to run in such an environment.
Contractpedia is a cloud-based software solution for contract management
I was testing without people involved, so only machinery would have been damaged. I am very skeptical of any wireless safety systems. I know they exist and are used.

It's the same reason I usually put in some kind of mechanical stop in the event of an errant bit-flip in a running program or piece of hardware. I put in steel flag that when struck turned 90 degrees locking the other piece of machinery, so it could not move until the other device returned. This was only as a redundancy to the software, and I slept better at night for it. Equipment ran for almost 10 years, 24 times a day, 355 days a year without incident.
Hmm, I can see why I'd want to use this library over piecing together requests and BS4 myself for every project. I love how simple the examples look.

I have a project I'm working on that will involve scraping many different websites on a daily basis. My only scraping experience so far is using cheerio[0] to scrape a single page with a 1,000 row HTML table. Should I start with something BS-based like this or should I jump straight into Scrapy? Or are there any other alternatives I should try?

[0]: https://github.com/cheeriojs/cheerio
When did you try it out? What didn't you like?

I ported a site written in vanilla Javascript. I decided to faithfully port it without any changes before introducing scala specific libraries. That was pretty painful. A bunch of manual casting for UndefOr and js.Function.

Since then I've started using some of the scalajs libraries/frameworks straight away on projects. It has been a much more pleasant experience!
Wow! I didn't know he was alive until recently. I used his books in high school extensively when preparing for my IIT entrance exam back in India. May he rest in peace.
Note to future me: I checked the C++98 standard. a[i] is defined as *(a+i), the size of the array is not mentioned. So if a points somewhere where a+i is a legal access, this should be fine.

Edit: But casting the allocated memory around to a struct type might violate aliasing rules...
Whenever I have done that they have offered very little (or even the same) salary as I am on.

One time I was contacted about a role in London offering between 65k and 90k (can't remember exactly, but a range along those lines). I said I would only consider moving for the 90K end. He asked what I was on. I refused to tell him then eventually got wore down and told him my relatively small Spanish salary. He refused to put me through for that saying that it was not usual to get more than 10% more than what I am on.

The company was willing to pay more for "the right candidate", but my salary at the time meant I wasn't that candidate.

Don't disclose your salary to recruiters.
Most of the population can't afford to live in high density cities - at least not at the cost in the US to build high density. Compare the cost of a 2/3 bedroom apartment in NYC (to house the average family size) to the average income in the US.
Best industrial heat gun
Read the linked content in the post about undefined behavior. Signed overflow is undefined, not implementation defined. Clang and GCC treat it as undefined such without -fwrapv. That means they assume it cannot happen and feed information into optimization passes and code generation based on that assumption. It's worse than the result potentially being different: a program with signed overflow may crash, corrupt data or worse and it happens in practice. One common example is overflow checks often being optimized out if they do it by trying the operation and then checking for overflow. As the compilers get smarter, the problems will grow. They barely do any integer range analysis right now...
Having line-height: 1.6 on HN would go a long way in terms of readability.
I agree with you, but cal could be formatting the date as %04d to make it clearer.
The point about finance is interesting and probably the one I thought about the least. I think I'll think about it like NFL contracts in the future (front or back loading contracts might be good for their "salary cap" aka budget).
I'd say the watch is similar to the iPod; there was competition out there but the general public didn't really care. Then the iPod was released and commentators complained it was less capable and more expensive than its rivals (insert famous slashdot quote here). But the people who bought it loved it and Apple iterated on the design. (With the watch there are a number of studies that say that tech people don't like it but non-tech people love it - personally I sold mine and won't get another till the screen is on constantly and its thinner).

The question is whether the watch repeats the iPod trick of dominating and expanding the market two iterations on. With the iPod this happened when it was no longer tied to the Mac, maybe with the watch that will happen when it's no longer tied to the iPhone?
Get Ready for High-Frequency Lawyers
no paywall for me - is it geotargetted?
Reasons behind Instagram's new UI
Facebook make it black & white, before killing it like Parse
I don't understand how someone could call Hacker News "ugly". Maybe it doesn't evoke the positive emotions you get when you view something beautiful, but surely at worst you'd just get a neutral emotional response, not a negative one? It's like calling a blank piece of paper ugly.
Romania: set of basic tests for equivalent of $20. In Britain it's free if your doctor orders it else it seems to be much pricier.

Incidentally I noticed that https://www.medichecks.com/ offer " Finger-prick - comprehensive entry-level health screen" analysis for $142. Someone should investigate!
Assuming its a car..

Cars are not phones and I don't see the massive factory/production line being prepared to build the cars nor the investment in battery production that would be required (assuming an EV not an ICE) so unless they buy BMW (LOL!) or another car manufacturer then it will be 3 years minimum from them showing a car to us being able to buy it.
Are you thinking of MacBooks? Because the grandparent talked about the Mac Pro who has two normal RJ45 ports: http://www.apple.com/mac-pro/specs/