HNHacker News
TopNewBestAskShowJobs

felixschl

59 karma · joined August 12, 2016

https://github.com/felixSchl
submissionscomments
felixschl··on Ask HN: What's the best source code you've read?
I found the Blender codebase very intriguing. Overall just amazing piece of software and lots to learn from https://github.com/blender/blender.
felixschl··on YAML: Probably not so great after all
You should check out dhall-lang
felixschl··on Haskell Fan Site
I thought the first example in this blog post on TH was an interesting idea: https://www.parsonsmatt.org/2015/11/15/template_haskell.html
felixschl··on Should you be concerned about LastPass uploading your passwords to its server?
Yup, it's just git. Passwords are files in a git tree so you usually do not run into any conflicts unless you manage to change the same password on both ends, which also should be easy to resolve.
felixschl··on Should you be concerned about LastPass uploading your passwords to its server?
I found my perfect ux with password-store, xmonad, and xmonad-contrib's pass prompt module. It takes a bit of time setting up but it pays for itself. I don't store any passwords in my browser and filling in passwords is super quick with fuzzy completion.
felixschl··on Ask HN: Why and how functional programming?
1. If you managed to learn a paradigm as arbitrary and unprincipled as OOP, learning pure FP should be a walk in the park. I find it an odd argument to put in the way of progress. Anecdotally, I have not heard of anyone regretting to learn FP, let alone going back to OOP. I would love to hear from people learning FP first, how did you find learning OOP as a second paradigm?

2. I've never found a need for (automated/annotated) dependency injection in FP. In languages that support it you can use type-classes for the most part or just add another function argument / close over state, or user a `ReaderT`, or most likely a combination of the above.

I'd say the only way to understand how useful and applicable FP is, is to go learn and use it for a while to solve actual problems. I found most things you think you'll miss you won't ever end up missing, because you actually never needed them in the first place.

felixschl··on I wrote a script that wins the majority of HQ Trivia games
Then you would capture that and do OCR on it
felixschl··on Why we should learn German
The "real" Germany is back? The author must not have been there in a while.
felixschl··on Stop writing PHP like it's 2009
I hope not, purescript is a much more sensible option.
felixschl··on Ask HN: How can I get better at bash?
Read the manual front to back and install shellcheck. Doing both things has paid off for me a thousand times over. The rest is practice. Complete the bash exercises on Hackerrank. Bash is fantastic in it's domain but it does require serious study in my experience
felixschl··on The Case Against Python 3
Same. That's when I came back for the comments on HN
felixschl··on Show HN: Neodoc v1.0.0-rc.1
The changes are detailed in the changelog [0]. I am posting this pre v1 in order to hopefully get feedback or learn about any regressions. The full test suite passes (with some minor alterations), so my confidence is quite high there are none, but there's been a substantial amount of change to the codebase, so I want to play it safe. The online playground [1] is a good place to start which is running the pre-release atm.

[0] https://github.com/felixSchl/neodoc/blob/2cbdeaf2cba0da9a4bf... [1] https://felixschl.github.io/neodoc

felixschl··on Scientists Have Found Another Species of Crow That Uses Tools
I know it was not a pleasant system to live in if you did not subscribe to it or fell out of luck and I am personally not fond of the extreme emphasize of race. I feel I have to state this because talking favourably of any aspect of the system is frowned upon.

Anyway, the system overall appears consistent to me: glorifying nature and culture. They have made advances with respect to animal-wellfare and protection of nature that we still benefit from today in that (a) they the raised the bar at the time and (b) the laws introduced then are still in place (when slightly modified).

They also introduced the first of a kind wellfare system for Germans and put a strong emphasis on family.

If you can understand and read German, this is a great documentary: https://www.youtube.com/watch?v=3vtfdfILdAw. It's funny just how much less tainted that documentary is then what we get to see to today.

I think there's a lot of hearsay about Nazi Germany and virtually anything you read on it is tainted either with hatred (99% of us) or fanatism (1%). I used to absolutely hate on the system, because no wonder, we are brought up in school to hate it just based on emotion and bad imagery. If you've read 1984 by George Orwell, going to history class in a way felt like the two minutes of hate. For example, there's plenty of evidence that Hitler did not want a war and tried his best to avoid it, yet in school it was already clear without a doubt that Hitler wanted a war for "world domination" or some none sense like that. Again, if you understand German, this is fantastic: https://www.amazon.de/1939-Krieg-Anlauf-Zweiten-Weltkrieg/dp... and a talk here: https://www.youtube.com/watch?v=lJuvWn7TFdY.

felixschl··on Scientists Have Found Another Species of Crow That Uses Tools
Then again Hitler banned vivisection, introduced hunting restrictions, required animals to be under aneastetic for slaughter and there were plans to ban slaughter houses after the war altogether.
felixschl··on QuineDB – A quine that is also a key-value store
Love it, the Readme is hilarious. Looks like you could avoid some code duplication though with a little awk script run by the script on its own source.
felixschl··on Advancing in the Bash Shell
You should be able to use ctrl-p/n for arrow up/down. That keeps your hand on the homerow. Forget about arrow keys (especially on a typical mac keyboard).
felixschl··on Some bad Git situations and how I got myself out of them
Control C to cancel
felixschl··on Some bad Git situations and how I got myself out of them
I managed to "rm -rf .git" at one point. Took me about a minute to realize and -surprisingly after <c-c>-ing i lost nothing (as far as i was aware). Git is freaking hard to break. Also always remember git-reflog, it safes lives.
felixschl··on Show HN: Git–fiddle – Edit commit messages, author and timestamps during rebase
The README does not do a good job at conveying this, but you essentially get to see this in your editor buffer:

```

pick <sha> <timestamp> by: <author>

[<message>]

```

This tool will then apply any changes to <timestamp>, <author> and optionally <message> to the picked commit.