HNHacker News
TopNewBestAskShowJobs

jonawesomegreen

819 karma · joined August 1, 2014

Computer Engineer. Tinkerer.

Web: http://jonathangreen.ca Email: me[at]jonathangreen[dot]ca

submissionscomments
jonawesomegreen··on On the death of my family's dairy farm
I think that it is interesting to consider this in relation to the renegotiations of NAFTA where Canada's dairy supply management [1] was put in the spotlight.

For those that don't know some details about Canada dairy supply management [2]:

> The model, which matches domestic demand with domestic supply through a quota system, is particularly well-suited to a commodity like milk, where 40 percent is consumed locally. Supply management is designed to even out the peaks and valleys of producer income, and in this endeavour, it has been successful. It also allows farmers to plan for the longer term, which is particularly important when producing a commodity subject to the whims of the cow’s natural production.

Despite supply management going against free trade ideals most of the farmers I know do like it. It lets them keep the lights on and maintain family farms that have been running for generations, but on the other hand it costs consumers both in their pocketbooks and variety of choice.

[1] https://www.cbc.ca/news/politics/canada-supply-management-ex...

[2] https://www.cigionline.org/sites/default/files/cigi_paper_30...

jonawesomegreen··on UK has banned all Boeing 737 Max 8 aircraft from British airspace
I believe this will affect Air Canada, which flies 737 Max 8 on several Canada -> UK routes.
jonawesomegreen··on Ask HN: What open source project, in your opinion, has the highest code quality?
The test suite for SQLite is very impressive.

> The reliability and robustness of SQLite is achieved in part by thorough and careful testing. As of version 3.23.0 (2018-04-02), the SQLite library consists of approximately 128.9 KSLOC of C code. (KSLOC means thousands of "Source Lines Of Code" or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 711 times as much test code and test scripts - 91772.0 KSLOC.

Plus they have a whole page on their site about testing [1]. Which is more then you can say about a lot of open source projects.

[1] https://www.sqlite.org/testing.html

jonawesomegreen··on Why I Quit Tech and Became a Therapist
Here is data from Stascan (official government source) about teacher salaries for 2016/2017 broken down by province, which is important. Much like states in the US each province is different.

https://www150.statcan.gc.ca/n1/pub/81-604-x/2018001/t/tblc....

One of the stronger public teachers unions is in Ontario. For Ontario the pay starts out at $51,904 and tops out at $95,794, which is some distance from $140,000.

The best for teachers is Northwest Territories, likely teaching in remote fly in/out communities. Teachers in NWT start at $78,600 and top out at $111,883.

Weighted averages for all of Canada based on the number of educators getting the salary gives a pay scale from: $53,163 - $88,746

jonawesomegreen··on Why American Construction Costs Are So High
News that the Transbay Terminal is something like $300 million over budget should not come as a shock to anyone. We always knew the initial estimate was way under the real cost. Just like we never had a real cost for the Central Subway or the Bay Bridge or any other massive construction project. So get off it. In the world of civic projects, the first budget is really just a down payment. If people knew the real cost from the start, nothing would ever be approved. The idea is to get going. Start digging a hole and make it so big, there’s no alternative to coming up with the money to fill it in. - Willie Brown (former SF mayor)

I think the inability of politicians to have a real conversation about costs is a big part of high construction costs. Without this sort of difficult conversation it's hard to plan and try to mitigate things that might cause ballooning costs because you need to pretend that don't exist in the first case.

jonawesomegreen··on Ruby CVE-2018-8778 Arbitrary Memory Disclosure Vulnerability
https://nvd.nist.gov/vuln/detail/CVE-2018-8778

Seems like the vulnerability is somewhat old with a published date of 04/03/2018. Any reason this is coming up again today?

jonawesomegreen··on SleepyHead Project Is Shutting Down
Open source is hard. Being a maintainer is hard. I've seen a lot of good people burn themselves out trying to maintain / contribute to open source software.

I think this is a great blog post / talk (not mine) about the topic: https://snarky.ca/setting-expectations-for-open-source-parti...

"Here's a bit of real talk for people: I think working in OSS has made me more bitter and short-temperated".

Best wishes to the maintainer, hopefully time gives some perspective on the problems in the community and perhaps some ways forward.

jonawesomegreen··on A Love Letter to the People Who Build the Internet Archive
This seems like a bit of a cop out. You could borrow a normal book from a library and photocopy it as well. It seems like IA is doing everything they can to try not to exceed the 1:1 loan ratio.

I've been recently working on a project in digital book distribution for libraries, and the terms that publishers want to force on libraries for digital distribution are pretty harsh and enforced by DRM by the publisher. Things like you can only loan this book 50 times before renewing its license.

IMO thats what this is really about, trying to undermine the clever work around of digitizing physical works and loaning them like a normal library would so that is can be replaced with a more revenue friendly model where publishers can dictate terms using DRM.

jonawesomegreen··on TSA acknowledges financial stress of shutdown is forcing officers to stay home
Non-paywall link: http://archive.is/RPAmu
jonawesomegreen··on Boom Supersonic raises $100M, aims for 2019 test flights
I think the value proposition is much clearer for 12+ hour flights, mostly on Asia Pacific routes, rather than something like NY - London. Saving 7+ hours flying LA - Sydney or LA - Singapore would be a huge win and I think appeal to people flying business on those routes. It certainly would have for me when I was flying Toronto - Seoul regularly.
jonawesomegreen··on What did Jesus really look like? (2015)
I really enjoyed this book on the topic:

“Zealot: The Life and Times of Jesus of Nazareth is a book by Iranian-American writer and scholar Reza Aslan. It is a historical account of the life of Jesus and analyzes the various religious perspectives on Jesus as well as the creation of Christianity.”

https://en.m.wikipedia.org/wiki/Zealot:_The_Life_and_Times_o...

jonawesomegreen··on Ask HN: Which abandoned proprietary software would you resurrect?
Not mine, but here is a js clone. https://basicallydan.github.io/skifree.js/
jonawesomegreen··on What if the Placebo Effect Isn’t a Trick?
I listened to an episode about the placebo effect on the "Only Human" Podcast awhile back. Its truly fascinating, and has made me question the power of the mind in a way I hadn't before. It also has some really interesting ethical problems, is it okay for doctors to lie about placebo treatments if it actually helps?

> Kallmes performs vertebroplasty, a surgery he has helped to develop and standardize, that involves injecting medical cement into the fractured bone to stabilize the fractured area and relieve pain. He says he gets great results from his patients, and teaches the method to other doctors at conferences.

> But here’s the thing: he has no idea why vertebroplasty works. So a few years ago, he decided to test it against a placebo. Kallmes found that pretending to perform vertebroplasty – making it seem like he was injecting a needle into the spine but without the cement – had similar effects. About 40 percent of both groups experienced immediate relief from pain after the surgery. He published his results in the New England Journal of Medicine.

https://www.wnycstudios.org/story/real-doctors-fake-medicine...

jonawesomegreen··on CDC director warns that Congo's Ebola outbreak may not be containable
Some interesting data about the efficacy of the experimental vaccine that is being used to try to control the outbreak.

> Merck's Jakub Simon, MD, MS, addressing a session at the American Society of Tropical Medicine's (ASTMH) annual meeting here, showed two charts tracking Ebola during this past spring's outbreak in the DRC's Equateur province and the subsequent one now raging in the North Kivu and Ituri provinces. In both, health workers on the ground have been using the Merck vaccine in a so-called ring vaccination strategy to contain the epidemic. Although not yet formally approved for marketing, the vaccine has been cleared for emergency use.

> In Equateur, immediately after vaccination began with the Merck product, the outbreak petered out.

> But the experience in North Kivu and Ituri has been quite different. Although new cases dropped significantly after vaccination began in early August, they never approached zero, and 2 months later they rocketed back to the level seen before vaccinations began.

https://www.medpagetoday.com/meetingcoverage/astmh/76018

jonawesomegreen··on Tesla Autopilot retrofit on a classic P85 (2016)
The ban hammer would be my concern posting this blog. He would probably get away with it if he didn't publicize it, but my understanding is Tesla has no problem banning cars that it deems unauthorized from receiving updates, using supercharging, etc.
jonawesomegreen··on Even bad estimates are valuable if you use them right
So much this. Whenever I'm trying to pull an estimate out of someone that is reluctant I always try to reassure them that I know its an estimate, I know it might be wrong, I know conditions can change but its still helpful to have a guess.
jonawesomegreen··on For $450, a Japanese Company Will Quit Your Job for You
I disagree. Using a shit sandwich is a way to show empathy in a conversation and have your words heard by the other party.

Contrast: I think the functionality of the application is very useful. The UI is really lacking, especially when doing X, Y and Z. I really like the Q feature it would save me some time.

With: The UI sucks.

jonawesomegreen··on For $450, a Japanese Company Will Quit Your Job for You
> Second, you give the compliment sandwich.

I've heard this called the shit sandwich. Good news, bad news, good news. Helps to break unpleasant news in all kinds of situations.

jonawesomegreen··on Declassified videos of atmospheric nuclear tests (2017)
Typically the preservation copies are very large and unwieldy, as they are just a high resolution scan of every frame of the video. Whats on youtube is just a prevention copy. There are interesting software problems around how to store safely, work with, and preserve economically the many petabytes of data the preservation digitization projects like this create.
jonawesomegreen··on Publishing JSON-LD for Developers
I'd also be interested in the article if you publish one, but I don't see any email in your profile. I believe only the `about` section is displayed publicly.
jonawesomegreen··on Drupal 7 and 8 core critical release on April 25th, 2018 PSA-2018-003
CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-7602

Nothing interesting there yet.

jonawesomegreen··on Tesla owner almost crashes on video trying to recreate fatal Autopilot accident
Shouldn't autopilot at least stop the car because of the barrier in front of it? Even if it can't figure out the lane configuration?
jonawesomegreen··on Uber will not re-apply for self-driving car permit in California
Some statistics [1] for travel in the US:

  Cars & trucks 5.75 deaths per billion miles
  Commercial airlines 0.06 deaths per billion miles
So airlines are a couple orders of magnitude safer by miles traveled.

In my own personal case I put about 10,000 miles on my car each year, and I travel about 50,000 - 80,000 miles on an airplane. So airlines are still safer as I don't travel 2 orders of magnitude farther on them.

[1] http://money.cnn.com/2015/05/13/news/economy/train-plane-car...

jonawesomegreen··on CEO of Bulletproof Coffee shares why he left Silicon Valley and moved to Canada
Taxes in California are very comparable to taxes in Canada, and like the US it does depend on the province one lives in.
jonawesomegreen··on The US Army’s costly quest for the perfect radio
Strict quoting procedures that don't allow incremental learning while building new things, warring factions continually changing requirements on the client side and unlimited money mean that the projects almost can't be delivered, they are doomed to be overpriced and underdelivered before the development even starts.
jonawesomegreen··on Why Johnny Can't Code Good [video]
> Nobody fails CS101 because they can't remember the syntax of function definition, they fail because they can't figure out which functions they need to write to make a ball dance across the screen.

In my experience that isn't that case. I TAed CS101 while I was in grad school and there were a lot of folks that had a really hard time with the concept that a missing semicolon or comma would make the program not work. I heard: "why doesn't it just know what I mean" more then I would have thought possible.

I think learning the strictness and structure of programming is actually harder then you think when people have never done it before.

jonawesomegreen··on Instagram is ruining food
I would love to see some tagging for paywalled articles. It feels like I've been seeing more of them lately.
jonawesomegreen··on IPv10
In case folks haven't been involved in the IETF RFC process before, even though this is hosted on IETF.org this is just a ID (Internet Draft). They can be submitted by literally anyone. The tool to do so is here: https://datatracker.ietf.org/submit/

Lots of crazy things get submitted, and never looked at again. In order for drafts to stay alive they need to be updated with comments every 6 months. Sometimes they lead to things, and sometimes they don't. Usually some IETF working group has to be interested for a draft to go from a draft to an actual RFC.

You can see the status of this draft here: https://datatracker.ietf.org/submit/status/89166/

You can find a list of current drafts here: https://www.ietf.org/download/id-abstract.txt

Given the lack of comments on the draft, and the fact its not actually attached to an IETF working group, its fairly safe to say that this isn't actually going to become a real protocol anytime soon.

jonawesomegreen··on Why the German elections matter to the rest of the world
In Canada we don't have limits to consecutive terms in office for the Prime Minister either, voters usually take care of that :)

I think the norm is not to have term limits, but I could be wrong.

jonawesomegreen··on I hate almost all software (2011)
I get that the point of this rant is that its only user experience that matters, and I agree with that, but I take issue with the idea of burning things to the ground and starting again.

Thats not how these things work. Grand re-writes rarely work out in massively complicated systems. We make incremental improvements as we move towards the ever shifting goalposts. I think its naive to look at a massively successful system and think I can rewrite that, make it better and do it in a weekend. Which is a sentiment I hear all the time. If its that easy then just do it!

Thats not to say things should't be made better, and that user experience isn't important, it is. But to realistically accomplish those goals working within the system, and understanding the complexity is necessary.

← PreviousPage 2 of 4Next →