HNHacker News
TopNewBestAskShowJobs

sarabande

489 karma · joined November 21, 2016

submissionscomments
sarabande··on Four Years After Declaring War on Pollution, China Is Winning
In cases of brainwashing and terrorism, it's important to acknowledge that is no longer what we commonly mean by democracy, because free consent of the people is impaired. Majorities who do not give their consent can and are being subjugated.

Here's a simple thought experiment:

Me to a group of five people: "Everyone, give me a dollar." Group: "No."

Then, I pull out a gun. Let's repeat the conversation:

Me to a group of five people: "Everyone, give me a dollar." Group: "OK."

I'd call that coercion, not a reasonable use of the word democracy just because they all technically gave their consent.

sarabande··on Python, Go or Haskell?
Yes, I think re:size, I've typically worked in (based on lines of code) larger Python codebases than Go ones, however, I'd still consider the Go codebases large.

In terms of legacy code, though, my metric is the following: When I haven't touched code in one year and need to go back to fix something, what language would I want that code to have been written in?

I prefer that code to be in a system that's easy and obvious to reason about, i.e. with a type system.

sarabande··on Python, Go or Haskell?
Agreed -- definitely possible. The issue is more than in organizations I've seen, the group of data scientists does not agree on using type hints, because a lot of them want to "move fast," and not be bothered with what they consider irrelevant, low-level details.

This, sadly, brings us back to the problem.

I'm of the opinion nowadays that these rules need to be mandatory at a group level (i.e. either enforced by the compiler or by convention at your workplace) to be useful.

sarabande··on Python, Go or Haskell?
I can't speak to Haskell because I've never used it in a work context. I have extensively used Python and Go in both small and large codebases, however.

1. Long-term supportability: I'd definitely favor Go here because of the type system. I work(ed) in large Python codebases that deteriorate because ensuring correctness requires enormous amounts of test coverage, and refactors are absolute nightmares. People tend to rewrite code instead of refactoring because it's too difficult to figure out what on earth is going on. Deployment and cross-compilation is also a breeze with Go binaries, which has been another historical painpoint with Python.

2. Bugginess of typical code generated in the language: Favor Go for the above reasons. When the code really has to work, I choose Go. If I had more Haskell experience (and if it were a nice language to deal with), I'd probably favor Haskell for its correctness, because I still run into annoying nil pointer exceptions and array out-of-bounds in Go relatively often. I use Elm (Haskell-influenced frontend language) and love it for its lack of runtime errors.

3. Availability of developers: I'm sure there are more Python developers than Go developers. I work with data scientists, and I don't know many who are comfortable in a Go ecosystem, so if you're hiring lots of scientific computing folks, I'd go with Python. In terms of software engineers, when I've hired folks, a lot have expressed particular interest in working in Go even with no prior experience, which is a good signal. Easy for Java/C-style programmers to pick up.

Note that: You can do both/all three. We extensively use Go for systems building, and Python for data science.

sarabande··on Doctor Gets 4 Years in Prison for Insys Opioid Kickbacks
Entrepreneurs' Organization (https://www.eonetwork.org/).
sarabande··on Ask HN: If you've used a graph database, would you use it again?
TAO = The Associations and Objects (from the linked paper)

SWE = Software engineer

DBMS = Database management system

DAU = Daily active users

sarabande··on The New Wave of Indian Type
Speaking of Asian fonts, does anyone know of CJK character sets that can be loaded via CDN à la Google Fonts -- for example, Google's Noto CJK Simplified Chinese fonts?
sarabande··on The New Wave of Indian Type
You could do it, it just took $185,000 per application (https://newgtlds.icann.org/en/applicants/agb) and a super involved process.

Edit: s/can/could (thanks to child commenter).

sarabande··on Bazel Fawlty
Thanks for the comments on Bazel -- I am evaluating a proper build system for us right now for a data science codebase almost entirely in Python, with a lot of scientific computing dependencies. Bazel doesn't yet seem to have first-class support for Python, so that's out, and I'm running into a lot of problems with Twitter Pants, although their Slack channel is really helpful.

Did you ever try using Pants or Buck, or a more barebones approach like Ninja?

P.S.: An explanation of the pun on "Basil Fawlty" (as a non-Brit, I thought, what on earth is that?) in the article might be helpful.

sarabande··on [dead]
Quick Google search for some information: https://en.wikipedia.org/wiki/Internet_censorship_in_the_Uni...

Disclaimer: I didn't read it

sarabande··on Chuck Feeney: a billionaire who gave it all away
His multiplier effect was higher by making tons of money and then giving it away, rather than working for charitable causes directly.

For example, take two simplified cases:

1. He makes a lot of money, and as a direct result of his fortune and generosity, he can effect [1000 employees * 10 years] = 10,000 man-years of charity work

2. He works directly at a charitable institution and performs 30 direct man-years of charity work, but makes no appreciable amount of money to multiply his efforts

If you're interested in a better explanation of this with regard to charity, I would check out Singer's book "The Most Good You Can Do", which is an exploration on the theory of effective altruism.

sarabande··on Building Cross-Lingual End-to-End Product Search with Tensorflow
Agreed, I really enjoyed the technical depth and graphics. A fantastic writeup.
sarabande··on How to Set Up a Company in Germany for English-Speaking People
I looked this up to make sure [0]; it's true, and the countries with a "very high" proficiency are:

    01 Netherlands
    02 Denmark
    03 Sweden
    04 Norway
    05 Finland
    06 Singapore
    07 Luxembourg
0: http://www.ef.com/epi/?mc=we
sarabande··on Firefox Send: Private, Encrypted File Sharing
Curious why in your FAQ at 0bin.net you say:

    But JavaScript encryption is not secure!
Is there something inherently insecure about the JS crypto library you're using (https://github.com/bitwiseshiftleft/sjcl)?
sarabande··on Firefox Send: Private, Encrypted File Sharing
Thanks. I was just looking at the screenshots and didn't seen any hashes, but when I tried it out and copied to the clipboard I saw the form "https://send.firefox.com/download/xxxxx/#yyyyy".
sarabande··on Firefox Send: Private, Encrypted File Sharing
I'm curious -- Mozilla says it can't decrypt the file on their side:

    Mozilla does not have the ability to access the content of your encrypted file [...] 
    https://testpilot.firefox.com/experiments/send
How is the receiver able to decrypt the file -- i.e. what is the decryption key if not the URL slug, which presumably Mozilla has as well?
sarabande··on Passing the torch
Seems like a tech news link aggregator like HN, except it's invite-only: https://lobste.rs/about
sarabande··on The rise of robots in the German labour market
It's admirable to me that unions protect low-skilled workers from losing their job, not by preventing them from getting fired at current wages, but by accepting wage decreases for their workers while getting them re-trained into jobs of higher cognitive skill.

That seems like the fair and humane thing to do for workers, while at the same time not screwing over capital owners or stifling automation.

sarabande··on YC’s Essential Startup Advice
I would check out the writings of 37Signals (now Basecamp)/RoR founder David Heinemeier Hansson, who advocates bootstrapping for not-necessarily small markets.

His talk "How to unlearn your MBA" in particular was fantastic in providing a counterpoint to Silicon-valley style Startups: https://www.youtube.com/watch?v=MlhAkNWC1qo.

He directly comments on the YCombinator model at 53'57" (https://youtu.be/MlhAkNWC1qo?t=53m57s), but the whole thing is worth watching.

sarabande··on AWS announces per-second billing for EC2 instances
Agreed. Right now you can set billing alarms, but not actually freeze billing. http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/...
sarabande··on DeepL Translator – AI Assistance for Language
Some background: DeepL is the new name of Linguee, a great online dictionary by German founder Gereon Frahling, who was an ex-Google employee. Here's an early interview with him that you can run through DeepL to translate: https://www.gruenderszene.de/allgemein/linguee-gereon-frahli...
sarabande··on DeepL Translator – AI Assistance for Language
Also worth pointing out that this is poetic language from Goethe, not "normal" speech. We would say 'Ruhe' these days, not 'Ruh'.
sarabande··on Deep Learning for Siri’s Voice
Also glad to see this. Still curious as to why they wouldn't post it as a research paper on arXiv -- what's the point in reinventing the wheel here? I suppose it's nice for publicity, but would be great if they also played nicely with the ecosystem.
sarabande··on On almost every indicator, Germany’s south is doing better than its north
The article is only incorrect by omission. I am not sure, but you may confusing the term "low form," that is, Low German / Plattdeutsch, with being geographically southern. It is geographically northern -- the "low" refers to elevation, not latitude.

Precisely people in Berlin/Brandenburg say "ik" _because it is Low German, which is spoken in the North of Germany, which is what the Uerdinge isogloss describes_.

The article did fail to mention the other big lines, the Benrather and the Speyer line (which is what you are referring to with Oberdeutsch dialect differentiating between "ich" and "i").

There are a lot of these lines drawn by linguists.

sarabande··on Let’s hear it for the four-hour working day
I agree with most of your post, although I think your last paragraph has orthogonal arguments, perhaps you can help me understand.

1. If you work at a company with great purpose for humanity, then you can be satisfied with working 40 hours a week.

2. If you work at a company without great purpose for humanity, your job can and should be done in 4 hours a day.

Presumably, you're also saying a humanity-saving job can be done in 4 hours a day, but it's okay to feel good about more hours because of the mission's importance. If that's your argument, I don't think it holds, because people can find the intrinsic motivation to work on writing gum commercials just as well as they can building rocket ships. And presumably an ad agency would like to hire those people, such that the writers are just as motivated as rocket ship builders at SpaceX.

Or perhaps you're saying the motivation should be extrinsic and measured by what society deems is a good thing?

sarabande··on Let’s hear it for the four-hour working day
I don't think the OPs statement is all that unrealistic, especially for a single male.

Perhaps an upper bound would be 50% plus his estimate, but even me, who I don't consider a ridiculous saver of time, shower within 5 minutes (from old clothes to new clothes), make breafkast and eat in in about 15m (egg omelettes are very easy), whip together and eat salads for dinner within 15m.

Time savings can be had without a huge reduction in life quality.

sarabande··on A Stroke of Genius: Striving for Greatness in All You Do (1993)
According to the PostScript file here: https://people.math.osu.edu/gerlach.1/laser/you_and_your_res..., October 1993.
sarabande··on Danish Submarine Inventor Says He Buried Swedish Journalist at Sea
I understand this is a juicy story -- but forgive me, how is this not considered off-topic given the HN guideline:

  Off-Topic: Most stories about politics, or crime, or sports, unless they're evidence of some interesting new phenomenon.
sarabande··on Ask HN: Is Georgia Tech's Online Master in CS Worth It?
Can you expand on this? Is it because of the opportunity cost of working during that time, or because you have to work so hard that the small positive amount of money you come away with is not worth your labor?
sarabande··on How I Used Deep Learning to Train a Chatbot to Talk Like Me
Also, although difficult, Gaussian blurs can be in certain cases reversed (even though this one is so obvious there was no point in blurring the names). I prefer a fat black box when censoring.
← PreviousPage 5 of 6Next →