skysight-inc/HackerNews huggingface dataset:
Interestingly (and obviously anecdotal) I've found the opposite has been happening in Philadelphia. And the main driving (no pun intended) factor, I think, was the introduction of our bike share program (Indego). Drivers were so much more hostile to bicyclists before these were introduced.

We now have more dedicated bike lanes, which helps immensely. We've introduced signs and indicators ("sharrows") that indicate to drivers that bicyclists have the right to use the lanes just as much as drivers. It's a noticeable difference from 10 years ago. I can't say for certain these other things would have happened without the introduction of the bike share program, but it seems to be what really changed things here.
> I think it will likely result in lazy UX that's "good enough" for multiple device types.

This is already the case: the Marzipan apps shipping with Mojave are _shockingly_ bad (Home, News, Voice Memos). Standard keyboard shortcuts don’t work, drag-and-drop is inconsistent, and it’s clear that they never considered standard Mac features like multiple windows while designing them.

I worry that people will look at these badly-ported, out-of-place apps and say “Apple are doing it, so why can’t we?” rather than “Even Apple could only come up with this, so let’s not.”
Lessons from Six Software Rewrite Stories
Is it free for citizens to study in KTH?
I'm intrigued as to how the DC-10 had enough fuel to take such a massive detour?
Tovala (YC W16) Looking for Android Dev in Bay Area
The safest infrastructure are ones that split pedestrian / bicyclist / motor traffic as much as possible, for obvious reasons. But that infrastructure has fallen out of favor as of late. "Complete streets" are the new fashion trend, and are significantly more dangerous, by combining these forms of traffic altogether and just sort of hoping it all works out.

But, "complete" streets are super cheap, and give the illusion of improved infrastructure, so the trend will likely continue for the near future -- further increasing accidents as it does.
> Why? Has anyone asked for this? [...] I don’t understand why.

There has probably been a decline in companies wanting to bother expending the effort to produce a separate AppKit version of their application solely to be able to target macOS.

If an AppKit version is off the table, then between:

- No app

- A web app

- An Electron app

- A Marzipan app

The Marzipan paradigm suddenly seems more appealing to Apple and Cocoa-faithful end users.
Yesterday there was an article on HN about audio glitches on Macs, https://news.ycombinator.com/item?id=19196354, with comments (including mine) about Apple products going down hill. I think this idea is a glaring example of how Apple has lost their way. They are exploiting a market - Apps - instead of adding value and building good products.

I seem to remember Microsoft do exactly this same kind of thing as they were on their downward trajectory?
dude, thanks so much!
By coincidence I started a new blog a few days ago and my first article is about the SIMD Instructions Considered Harmful post from a power efficiency perspective... maybe I should post it separately on HN? :)

https://massivebottleneck.com/2019/02/17/vector-vs-simd-dyna...

I think I'm kinda explaining how it's similar (and different) to what modern GPUs do but I'm not sure I understand what you mean by "wouldn't we be able to process 16 of them at the same time" - do you mean a throughput of 16/clock, or just that 16 are "in flight" through the pipeline with a throughput of 4/clock?

I'm not sure I'm clear enough about it for those without a GPU HW background. If it's not clear I'm happy to write down a more detailed explanation here!
well, miswak replaces toothbrush AND toothpaste
This is not just about desktop and phone though.

I ask my iPad apps to be as dense and powerful as my desktop apps. In particular, the screen sizes are mostly similar now, processing power is on the same ballpark, and if anything the iPad has more potential than the laptop from a design perspective.

So macOS <-> iPad parity.

Then there's no technical reason to not have iPhone <-> iPad parity.

You end up with the chain desktop <-> iPad <-> iPhone
Reminds me of the time that school issued laptops where the camera could be remotely turned on when the student was using it at home (including in their bedroom), and somehow no one realized the pervy implications.

https://en.wikipedia.org/wiki/Robbins_v._Lower_Merion_School...
I'm sorry to put it this way but I don't know how else to convey it but ... I feel like you might be living in a bubble and can't imagine a world outside the bubble in the following way.

In Japan if you go to a coffee shop like Starbucks which might be 3 stories tall (each floor rather small though), the norm is you go first see if there is a seat available. If there is you leave your stuff there. By stuff I mean your $1k-$3k notebook, or you phone, I've even seen people leave their wallet and just take $10 out (equiv). You then go to the floor where you can order and order your stuff, wait for your order, then go back to the place you reserved and your items are still there.

AFAICT you think that's wrong because you live in a world where that stuff would be stolen and it's therefore your responsibility to make sure it's not stolen.

I live in a world where I don't worry about it being stolen. This has lots of advantages. One I can reserve a seat. Another I can use the toilet without giving up my seat and without worrying about my stuff being stolen. I can leave stuff in my car from car stereos to cameras to whatever.

I'd prefer to live in my world. To put it in modern terms, in your world the terrorist have won. They've managed to remove your freedoms and you're so deep in you can't imagine it could be any other way.

I stepped out of that bubble. Now I see the places where I have to guard my stuff as 3rd world (in that particular area, Japan has plenty of other issues).

I don't know how to do it but I want to find a way to encourage people not to let the terrorists/thieves win. I don't want our daily lives where instead of just enjoying our lives with each other we have to be on constant guard for the bad guys and the things they might do. The problem is most places are so used to theft they can't imagine a society without so much of it that they always have to be on guard. So they don't press to make their place better. They just assume it's as good as it gets already. Well, it's not.
> No mention of increase in popularity of cycling for one's commute

It's right in the introduction:

> As cities strive to improve the quality of life for their residents, many are working to promote walking and biking

[...]

> More people are being killed because cities are encouraging residents to walk and bike
For those who are paranoid, but can't move away from SHA-1 for whatever reason, consider using SHA-1DC. It's compatible with SHA-1, but will barf on the known collision attack against SHA-1: https://github.com/cr-marcstevens/sha1collisiondetection

It's what Git uses by default, of course there's no guarantee that new SHA-1 attacks won't be discovered, but it's better than nothing.
Air New Zealand Flight 901
And then the Mac is losing what should be its primary audience through unwanted innovations and otherwise stagnant hardware,

While I agree with most of the post, the “Mac is losing people” narrative isn’t supported by the numbers. Apple just reported its highest revenue quarter for Macs in its entire history.

The industry has spoken, statistically, no one cares about PC software. Writing Mac software even less. I would rather live in a world with cross platform iPad/Mac apps using Apple’s SDKs than Electron apps.
A very nice library. The API seems to be simpler that comparable libraries like getopt-long (some features are missing I think?).

However, at this point of time I think it's a valid question to ask, have you considered writing it in rust? With so many vulnerabilities coming from C applications creating new code in C seems to be slightly unethical.
Mods,

Can you change the title to say "Nest Gaurd's", because this has nothing to do with the Nest Thermostat, which is called, "Nest".
projecting much? :)

I personally agree with the point being afraid of incompetence, not malice.
Well it would definitely be nice to have more serious applications for the iPad and perhaps some new mobile productivity apps crossing over to the Mac.

But the UX is so fundamentally different that I'm afraid the majority of the applications will be pretty awful on the Mac as mobile is less information and feature dense while having a smaller screen.

What could be really great is having feature dense UI's on the larger iPad Pro's since they do have the screen real-estate but often it's underused.
"It's seven am on a frosty Wednesday morning" Oh my God, not another one of these articles that starts with a goddamn novel before it gets to the point.
[...]it’s hard to take the widely quoted numbers from Sánchez-Bayo and Wyckhuys’s review as gospel.

They say that 41 percent of insect species are declining and that global numbers are falling by 2.5 percent a year, but “they’re trying to quantify things that we really can’t quantify at this point,” says Michelle Trautwein from the California Academy of Sciences.

“I understand the desire to put numbers to these things to facilitate the conversation, but I would say all of those are built on mountains of unknown facts.”
"Please, first tell me what shape is this <>, just to make sure you're not a chatbot. Thank you."
Designing Sound for Pathfinder: Kingmaker
California Has Gotten So Much Rain, but Most of It Has Been Wasted
AFAIK, you have to be in close physical proximity to the nest alarm to silence it.
I've been working on an IoT mobile app suite for about 4 years now for a client. While the app has evolved significantly over the years, one thing remains constant, Only one platform is getting top billing, the other is getting the leftovers. All the designs and workflows and copy are solved on the phone first, and tablet gets a cursory glance and some changes if things don't look right. In fact at this point many of our menu views are simply modal popups on tablet so that we don't have to put any mental effort into solving view layouts.

I'm sure management would love to know they could get a mac app for free as well, but I wouldn't imagine it would look like a native mac app.
Swift and React Native (and Similar Libraries/Frameworks) Survey
Hi all! I'm researching the current state of iOS app development. The big disclaimer is that I'm not in any way claiming that any of the approaches to it is the best in every case, but only would like to understand people's preferences and how they evolve and to see a thoughtful discussion of this. I'm planning to publish the results of this survey with my opinion a bit later if it gets enough responses.

I'd appreciate your answers and any possible discussion for a few (or all if possible) of these questions (or send me a private message if you'd like the answers to be private):

1. What's your opinion in general of React and React Native?

2. Have you heard of Elm and unidirectional data flow architectures? Have you previously used any of the libraries implementing that (including React)? How was it?

3. Do you currently use (or previously used) any of the similar libraries for Swift? For example, ReSwift, Katana, Render, any other? How was your experience?

4. Do you think that in the future any of the Apple's frameworks should support a similar architecture to React or any of these similar libraries? (staying compatible with and written in pure Swift of course)

5. Do you (or the company you work for) use React and/or React Native for any of the currently developed apps?

6. Would you consider using React and/or React Native for your next project? Would your answer change if the main requirement for the project is to be cross-platform and to share as much code as possible across supported platforms?

7. If the answer for the previous question is "yes", what's the biggest "killer feature" do you see in React? The architecture, the cross-platform support, ability to do "hot reload" of the app's code during development/production, anything else?

8. Have you heard of React Hooks? Have you used them already? What's your opinion of React's current transition from class-based components to Hooks?

Thanks!
If anyone reads this, it should be easy to verify if you are in contact on Linkedin with someone working at Cloudflare London, since the main claim is this:

> one insider who works in the industry with whom we are in contact noticed that the work addresses of his colleagues who work for both Akamai and Cloudflare in San Fransisco were now similar. It seems Cloudflare employees changed their work addresses and are now using Akamai Offices. This past week Cloudflare employees in London also changed their addresses to match Akamai’s Offices in London.

I didn't know you could see full offices addresses on LinkedIn, but it should be easy to verify.
Funny how we NEVER hear about 50/50 discriminating quotas for:-

* Garbo

* Sewage workers

* Mowing lawns

* Landscaping

* Plumbers

* Electricians

* Snake catchers

* Night Petrol station attendant

* Construction

* Mining

* road crews

* IT/PC repair

* Power pole repair

#equality
No. Amateurs bring this up _all the time_. Depending on exactly what's going on, it may be no harder to attack _both_ than just the hardest of the two component hashes, plus you just wasted a bunch of effort and maybe introduced extra security bugs with your extra complexity. So don't do this.

The compatibility argument makes sense, but the "maybe it's safer" argument doesn't have any traction at all.

And the politics always ends up being "We don't want to endorse this unsafe thing, let's just remove it".
Maybe he used a inaccurate analogy but if we had laws preventing inventing questionable technology we might not have a lot of things we take for granted. More like the wright brothers being banned from testing on the beach because they could hurt someone.
Mac is losing the HN audience?
My personal pet peeve with iPads as productivity devices is how walled-off apps are from each other and how hard it is to import content from one to the other. As an example, I have a huge (500MB ish) high-resolution video in the On My iPad section in Files. Because no option is given in the share dialog, I cannot play the video in Photos, even though both applications support the same file format.

I’m afraid that Apple will be making the Mac more like iOS with any new kind of convergence, not the other way around. We’ve seen this with the directly ported News app on macOS Mojave. Until iOS supports the beginning-to-end software development cycle (no, Swift Playgrounds doesn’t count), they’ll keep the Mac around, but it’s obvious that the “Pro” userbase is no longer of much significance to Apple. Content creators who use Macs produce much less revenue for Apple than the hordes of people who buy new iPhones every year or two.

Edit: they’re called Marzipan apps: https://news.ycombinator.com/item?id=19207757
The Beach Nobody Can Touch
In my case, one of my core use cases is music production. Linux is as good as useless for that - no major DAWs support it.

My other use case is writing. A LOT. I really need a good keyboard for it. The older MBPs had great keyboards. The newer ones, not so much. Outside of Apple, the only competent keyboards I've seen are on Thinkpads
Chinese Novelists Are Reimagining Science Fiction
This article fails to mention one of the biggest factors, which is the increased prevalence of SUVs and Trucks. These oversized vehicles have higher grilles and increased mass. The higher grille means injuries that on a car would have been a leg injury where the pedestrian ends up on the hood are abdominal injuries where the pedestrian can be pushed under the vehicle. The increased mass also means longer stopping distances.

Source: https://www.freep.com/story/money/cars/2018/06/28/suvs-killi...
Issue 1722: Microsoft Edge: Default Flash Click2play Whitelist Is Insecure
go and rust are for a different situation. While they both have good concurrency capabilities (from using go, from reading about rust), neither has OTP. Erlang isn't just a language, it's basically a distributed operating system (nodes on the same or different computers). It's been a while since I've used go, and I haven't used rust for anything beyond small toy stuffs to get a feel for it, but do either have, built-in, the distribution capability of erlang?
This is already sort of here, and badly. If you're on Mojave, open up the built-in News.app.

Resize the window (it's terribly slow). Mouse hover states aren't even there. Bouncing over-scroll is still present. The speed at which Apple can successfully make this not-awful is probably a good indicator of them trying to make it ship for all developers.
What a waste.

To quote: «You call throwing dynamite around martial arts?»
It doesn't feel right to imagine that 50,000 years ago, humans laboured hard in the natural environment.

Apart from walking to plants and water sources and running after animals, and play/fighting, what exercise-like work would have been done or needed on a daily or weekly basis?
I can speak specifically to the game development industry here which is very welcoming to expats. I get the same sense from the wider tech industry but have no direct experience outside of game development and attending more general tech meetups and conferences in Stockholm. The vast majority of people speak English and are happy to do so. Many people say that at least in this kind of industry there's almost no point learning Swedish as everyone speaks English around the studios, but I disagree with this and am starting to take Swedish lessons next week (took me long enough after >6 years...)

In general I find the majority of Swedes have been very welcoming (as a caveat I say this as a very white-European looking Ukrainian, so it is easy for me to blend in aside from my language and I can't speak for people of color). The things that tend to really hit people the most here are the feeling that Swedes are _cold_ and the actual cold winters. People here may not be as outgoing with strangers as they were in Alabama or Australia (both places I've lived before Sweden), but I find they are polite and there are plenty of opportunities to meet people with similar interests. I think not speaking the language also places an additional barrier that a Swedish speaker may not have when it comes to meeting Swedes - they say it doesn't matter, but in the end if you have to say "Sorry I only speak English" when a local _does_ approach you with a comment in Swedish you can see how it would immediately potentially put a break on the interaction. Another reason I'm finally going to start taking my Swedish learning seriously!
Show HN: Framework to Streamline Use of Neural Networks
I noticed they mentioned the speed reduction "Boston, for example, has reduced the city speed limit from 30 miles per hour to 25 mph." Cambridge across the river followed suit soon afterward, but having lived there for decades I can't say I've noticed one iota of difference in the speed cars travel. 25 mph is still ridiculously fast in most of the tight neighborhood streets. Really the speed limit should be reduced even further to 20 mph and even 15 in some areas accompanied by much stricter enforcement. It's not uncommon to see cars hitting 40+ going down some of the straighter roads that emanate out of the major squares.

I am a daily all-weather bike commuter and to be honest have not had a problem with cars. I don't really mind the concept of SOVs- we use one ourselves; it's just that they need to be much more tightly controlled at least in these neighborhoods.
Looks interesting. Can it auto-crop the whitespace from around comic panels like some readers do?
Yes they are bad - but they are also a technical preview. Apple said as much. Would you rather Apple come out with the framework in a year without getting real world feedback?
Flight from L.A. Reaches 801 MPH as a Jet Stream Packs Record-Breaking Speeds
My First Startup Is Live on Product Hunt
In summary: You assume that the target is stationary(ish) and you know, say, that it is to your front/left.

You fly straight and note when the other plane comes into radio range (i1), and when it goes out of radio range again (o1).

Now you turn 90 degrees left and note when it goes into range (i2) and out of range again (o2).

Now you connect i1 and o1 with a segment S1, and draw a perpendicular to it, P1, through its midpoint (the "Line segment bisector"). Similar, with 1 replaced by 2.

The intersection of P1 and P2 is where the target is.

This works because the edge of the radio range is (basically) a circle that you're intersecting with your segments, and the perpendicular bisectors go through the centre of the circle.

Cool technique. It doesn't even depend on your turn being exactly 90 degrees. It does depend on the pilot on the other radio jabbering on non-stop, and you knowing where you are - without GPS etc.

Frankly, the navigators of early last century, before GPS and inertial navigation system - respect. They knew how to reckon. (Here, the guys in the jet had INS, apparently, but still, hats off!)
Rust, at least doesn't use GC. But yeah. Introspection and distribution is something BEAM does super well. I don't know of a better platform for that.
Push Notification Plugins to Use on Your WordPress Site
EMarketer Predicts Digital Ads Will Overtake Traditional Spending in 2019
Ive never attended CircleCityCon before, but in my experience, hacker cons do record. The problem I find is the smaller cons end up hosting the videos on a private server.

You could certainly ask them over twitter. In my experience they return questions in an hour or 2.
Quantitative sales are not the only metric worth looking into.
The Google announcement page actually had a few companies listed who purchased/use it already.
While true, the upgrade situation for Android is way better than for most IoT devices, which is saying something. And this is the sort of thing you may well keep for a decade. While you may still have other Google microphones, I would be a lot more worried about this one specifically being vulnerable at some point.
Microsoft Replacing SHA-1 for Software Updates