HNHacker News
TopNewBestAskShowJobs

chocolateboy

705 karma · joined July 26, 2009

submissionscomments
chocolateboy··on Archive Team: A Smattering of Tweets
> You can’t say anything of substance in 280 characters

Your preceding comment is 247 characters.

chocolateboy··on Tell HN: Google should drop Quora from search results
If you're using Firefox: https://addons.mozilla.org/firefox/addon/hide-w3schools/
chocolateboy··on Introducing nushell
There's a streaming format which is used for this: JSON Lines [1] AKA newline-delimited JSON [2].

[1] http://jsonlines.org/

[2] http://ndjson.org/

chocolateboy··on Use perfect hashing, instead of binary search, for keyword lookup
Yes, a better Perl script [1] :-)

In C, re2c [2] provides something similar, and there are similar tools available in other languages.

[1] https://metacpan.org/pod/Devel::Tokenizer::C

[2] http://re2c.org/

chocolateboy··on Visual Cheatsheet for CSS Grid Layout
https://css-tricks.com/css-grid-in-ie-debunking-common-ie-gr...
chocolateboy··on Like an AI Could Ever Spot Sarcasm
(The Groucho Marx joke isn't sarcasm.)
chocolateboy··on Perspective: Google API that detects toxic comments
> They're not stupid and understand very well what the current climate is, but decided to announce this peculiar tool anyway.

It's not new: https://news.ycombinator.com/item?id=13713443

chocolateboy··on The Full 10-Page Anti-Diversity Screed Circulating Internally at Google
Several more are listed here: https://handleshaus.wordpress.com/2013/12/26/bullied-and-bad...
chocolateboy··on Sweet.js – Hygienic Macros for JavaScript
> My dreams of having the safe navigation operator from Coffeescript (a?.b?.c) must yet remain unfulfilled...

Not for long: https://github.com/babel/babel/pull/5813

chocolateboy··on CIA Targeting Linux Users With OutlawCountry Network Traffic Re-Routing Tool
Depends on the system. The default on Arch Linux is local gem installs:

    $ cat /etc/gemrc
    # --user-install is used to install to $HOME/.gem/ by default since we want to separate
    #                pacman installed gems and gem installed gems
    gem: --user-install
chocolateboy··on CIA Targeting Linux Users With OutlawCountry Network Traffic Re-Routing Tool
Neither requires root:

* https://github.com/creationix/nvm

* http://kazhack.org/?post/2014/12/11/npm-install-g-without-su...

* http://kazhack.org/?post/2014/12/12/pip-gem-install-without-...

chocolateboy··on Kotlin 1.1 Released with JavaScript Support, Coroutines and more
http://rigaux.org/language-study/syntax-across-languages.htm...
chocolateboy··on Show HN: FSSB – A filesystem sandbox for Linux
See also: Firejail

* https://firejail.wordpress.com/

* https://news.ycombinator.com/item?id=12239840

chocolateboy··on UnGoogled Chromium: Chromium with enhanced privacy, control and transparency
> it's entirely possible to install local untrusted addons. You just have to poke some settings that are intentionally hidden from most end users

It's possible to install unsigned addons in ESR, developer and unbranded builds of Firefox. It's no longer possible to install them in the regular release or beta versions. The hidden setting was disabled in Firefox 48.

chocolateboy··on Show HN: Min – web browser with better search and built-in ad blocking
https://addons.mozilla.org/en-US/firefox/addon/bartab-lite/

https://addons.mozilla.org/en-US/firefox/addon/auto-unload-t...

chocolateboy··on Why Pi Matters (2015)
s/Storgatz/Strogatz/
chocolateboy··on Babel 6.0 Released
> Can anyone point me to any resources which address and discuss this issue?

https://github.com/babel/babel/issues/631

chocolateboy··on Show HN: Streaks, a todo list that helps you form good habits
The UI looks slick. I prefer the look of it to the one I've used. [1]

A good keyword for finding these "Don't break the chain" [2] apps on Android is "Seinfeld". [3]

[1] https://play.google.com/store/apps/details?id=se.lixi.mychai...

[2] http://lifehacker.com/281626/jerry-seinfelds-productivity-se...

[3] https://play.google.com/store/search?q=seinfeld%20chain|habi...

chocolateboy··on Order – a functional programming language implemented in the C preprocessor
Comments by the author here. [1] See also: Esoteric Language Implemented in Preprocessor. [2]

[1] http://c2.com/cgi/wiki?CeePreprocessor

[2] https://esolangs.org/wiki/ELIP

chocolateboy··on Mastering Git submodules
The metadata in the commit message isn't used in any way, so you can always:

  git commit --amend
I personally find it a useful default, though, i.e. there's not usually much more I want to say than "added a subrepo: [metadata...]", and, for something like this, I'd rather err on the side of too much information than too little.
chocolateboy··on Mastering Git submodules
> It generates pretty verbose (and ugly) commit messages made of json.

This was fixed recently. [1]

> I haven't tried subtree yet, will do that next :-)

The git-subrepo intro has a pretty good overview of the issues with git-subtree. [2]

[1] https://github.com/ingydotnet/git-subrepo/issues/40

[2] https://github.com/ingydotnet/git-subrepo/blob/master/Intro....

chocolateboy··on Mastering Git submodules
For a less painful [1] solution, see git-subrepo. [2]

[1] https://github.com/ingydotnet/git-subrepo/blob/master/Intro....

[2] https://github.com/ingydotnet/git-subrepo

chocolateboy··on Mathematician's anger over his unread 500-page proof
s/anger/frustration/
chocolateboy··on Monoids, Functors, Applicatives, and Monads: Main Ideas
... and failed:

> Once you understand what monads are, and why they exist, you lose the ability to explain them to anybody. -- Douglas Crockford [1]

[1] http://www.youtube.com/watch?v=dkZFtimgAcM

chocolateboy··on Tab Snooze – Snooze tabs for later
I've been using this for the past week or so without any issues: https://addons.mozilla.org/en-US/firefox/addon/auto-unload-t...
chocolateboy··on Metasepi Report: Writing NetBSD Sound Drivers in Haskell [pdf]
> Writing NetBSD Sound Drivers in Haskell

http://www.blarworld.net/hackernewsgen.html

chocolateboy··on Node.js in Flame Graphs
> "Learnings" is at best a pointless affectation

No, at best it's a deliberately wonky usage for comic effect [1], like "Internets". It's quite possible the author is being gamesome. [2]

[1] https://simple.wikipedia.org/wiki/Borat:_Cultural_Learnings_...

[2] http://youtu.be/Wc1pxO_-5S8?t=6m43s

chocolateboy··on Show HN: A database for browsing and discovering movies
http://www.moreflicks.com/
chocolateboy··on Accidentally Turing-Complete
Also:

* Little Big Planet [1]

* Scala's type system [2]

[1] http://forums.xkcd.com/viewtopic.php?f=12&t=57034#p2029587

[2] http://michid.wordpress.com/2010/01/29/scala-type-level-enco...

chocolateboy··on Most detailed Github issue ever
The Bootstrap 3 ticket/discussion is also pretty epic. [1]

[1] https://github.com/twbs/bootstrap/pull/6342

Page 1 of 2Next →