Better HN
topnewbestaskshowjobs
Log inSign up

mVChr

296 karma · joined Oct 23, 2011 (15y ago) · 127 submissions

I prefer analog.
Submissions

comment 9y ago · link · parent

I've rifled through many a programming font, bought Pragmata Pro at one point (as you can see I also like taller fonts), tried many others over the years (Monoid was my previous favorite ligatured font). Iosevka is my current favorite. My customization args are part of my dotfiles repo so I can install it exactly how I like on any new system without effort.

comment 9y ago · link · parent

The screenplay will practically write itself.

This section seems to be a direct accusation of attempted obstruction of justice, even though it's unable to be corroborated:

> I had understood the President to be requesting that we drop any investigation of Flynn in connection with false statements about his conversations with the Russian ambassador in December. [...] Regardless, it was very concerning, given the FBI’s role as an independent investigative agency.

It will be interesting to see whether any extra information is provided or deviated from during the live testimony.

comment 9y ago · link · parent

I've never seen a language with such a variety of built-in data types (e.g. coordinates, tags, email, url, issues). There's support for IPv4 numbers as a base type (tuples) but I can't tell if there's support for IPv6, which shows the trouble with this approach for the language maintainers.

comment 9y ago · link · parent

Sweet! Thanks! https://www.dwitter.net/d/727

comment 9y ago · link · parent

I tried to register as "sfz-" and also got a 500. Is there a problem with a trailing dash? If so, can you fix my username as well to "sfz"? Thanks!

comment 9y ago · link · parent

Workrave[1] is good for this too. Just set short breaks to 20sec every 20min.

[1] http://www.workrave.org/

comment 9y ago · link · parent

FWIW I found a great vim colorscheme[1] for such purposes.

[1] https://github.com/AlessandroYorba/Despacio

comment 9y ago · link · parent

Is there a recommended way to sync this with a remote server or service? My interest is to share the info between devices. I suppose I could just use a git repo, but wondering if there's a less manual way.

comment 9y ago · link · parent

True, good clarification. I had visited the more general page also[1] but thought the other was more relevant to the email thread.

And definitely much better than my only other inkling for what that meant in relation to computer systems.[2]

[1] https://en.wikipedia.org/wiki/Hardware_abstraction

[2] https://en.wikipedia.org/wiki/HAL_9000

comment 9y ago · link · parent

Not quite as much activity as Scala either. I think the good thing is that functional languages as a whole aren't going anywhere, it's just that the jobs for them are spread very thin over several languages.

comment 9y ago · link · parent

> ...and that Google would very much like to hire senior people as well but they're much harder to find.

> I wonder how much of what he said is true vs ageism.

Of course they want to hire more senior engineers now, it would likely help win their court battle[1] over it.

[1] https://tech.slashdot.org/story/16/07/02/0438216/age-discrim...

comment 9y ago · link · parent

And not being able to play A-grade games is barely a rounding error in the pros and cons of why most people use Linux, especially in the workplace.

comment 9y ago · link · parent

For any other layer-7-only arm-chair mechanics who also weren't sure what a HAL[1] was, I'm here to help.

[1] https://en.wikipedia.org/wiki/HAL_(software)

comment 9y ago · link · parent

No, but the `-r` option makes it use extended regex[1]. Here's some PCRE:

    cat file | perl -ne 'print if s/(\w+) (\d+)/\1 is \2 years old/'
My only point is sometimes old school standard tools are plenty.

1: https://www.gnu.org/software/sed/manual/sed.html#Extended-re...

comment 9y ago · link · parent

    sed -rn 's/([a-zA-Z]+) ([0-9]+)/\1 is \2 years old/p' file

comment 9y ago · link · parent

I'm so glad I don't have to only rely on a journalism source across the globe and can count on my local paper to warn me about such things.

https://duckduckgo.com/?q=site%3Alatimes.com+tyler+technolog...

/s

comment 10y ago · link · parent

Do you have an up-to-date LinkedIn account? I spend so much time shooing away headhunters I'm sure several would jump at the chance to help me find work and make their commission if I asked. Many have premium accounts and alerts set up so that if you change your status to looking for work they'll pick up on it.

comment 10y ago · link · parent

Oops, the grep was just to filter the lines that actually have a uid while I worked on it, it's not needed or desired if you were to actually use this. You can remove that part. :P

comment 10y ago · link · parent

> (and there doesn't seem to be a way to resolve usernames, as `netstat -e` does)

Challenge accepted:

  ss -e | grep uid | gawk 'match($0,/uid:([0-9]+)/,u) {printf "%s user:",$0;system("getent passwd "u[1]" | cut -d: -f1");}'
Not your point, I know, but it was fun.

comment 10y ago · link · parent

I like the change of pace. So many of these types of guides seem like cookie cutters of whatever the latest writing and design trends are. I find it nice to see indie zine style (stuff I like to read on my off time) fused with a practical technical resource (stuff I like to read on my on time).

comment 10y ago · link · parent

I know this article says Unix specifically, but on Linux (Ubuntu) I just tried typing `ls^D` in bash and got a terminal beep. I tried in zsh and got an autocomplete as if I'd hit tab. In ksh and fish nothing happened. I'm curious as to why there are different behaviors here?

comment 10y ago · link · parent

Ugh, can't we just use the Unix epoch? Time's already too difficult to program.

comment 10y ago · link · parent

Indeed, and following their lead, I created SBFL (Simple Brainfuck Language) since most find the original specification too esoteric.

So instead of writing this Hello World program in Brainfuck:

  ++++++++[>++++[>++>+++>+++>+<<<<-]>+>+>->>+[<]<-]>>.>---.+++++++..+++.>>.<-.<.+++.------.--------.>>+.>++.
You can instead have this much more readable version:

  increment byte increment byte increment byte increment byte increment byte
  increment byte increment byte increment byte jump forward if zero
  increment pointer increment byte increment byte increment byte increment byte
  jump forward if zero increment pointer increment byte increment byte
  increment pointer increment byte increment byte increment byte increment pointer
  increment byte increment byte increment byte increment pointer increment byte
  decrement pointer decrement pointer decrement pointer decrement pointer
  decrement byte jump backward if zero increment pointer increment byte
  increment pointer increment byte increment pointer decrement byte
  increment pointer increment pointer increment byte jump forward if zero
  decrement pointer jump backward if zero decrement pointer decrement byte
  jump backward if zero increment pointer increment pointer output byte
  increment pointer decrement byte decrement byte decrement byte output byte
  increment byte increment byte increment byte increment byte increment byte
  increment byte increment byte output byte output byte increment byte
  increment byte increment byte output byte increment pointer increment pointer
  output byte decrement pointer decrement byte output byte decrement pointer
  output byte increment byte increment byte increment byte output byte
  decrement byte decrement byte decrement byte decrement byte decrement byte
  decrement byte output byte decrement byte decrement byte decrement byte
  decrement byte decrement byte decrement byte decrement byte decrement byte
  output byte increment pointer increment pointer increment byte output byte
  increment pointer increment byte increment byte output byte

comment 10y ago · link · parent

I think the interesting part that relates to this experiment is that it's not worth it to the brain to expend a considerable amount of energy in honing the precision of deciding which candy bar to eat, which even if there's a preference is not extremely significant. What I'd be interested in seeing is a similar study where the subjects are presented with potentially life altering choices whose outcomes are unclear and see if the brain kicks in with extra processing power since it knows that the extra precision could make or break the lasting repercussions of the decisions. Not sure not only how you'd measure this but also whether it's possible to do such a study in an ethical way, but it would be interesting!

comment 10y ago · link · parent

He gave a great live demo at CodeConf about using Kubernetes for 12-factor apps[1] that I highly recommend as well. The video for the talk isn't up yet, but the code he used is.[2]

[1] https://12factor.net/

[2] https://github.com/kelseyhightower/app

comment 10y ago · link · parent

This reminds me of the woman who was teaching her daughter to cook a pot roast the way she remembered her mom doing it. You take the meat, cut off four inches from one end and throw that away, put the rest in the pan in the oven at 350 for 3 hours. One holiday when the daughter was hosting grandma came over early to help and saw her cutting the end off the pot roast. She asked why and the daughter said that was how her mom said she did it. "Oh child, I only did that because our pan was too small!"

comment 10y ago · link · parent

I think there's even more value to it than this. Consider the whole pursuit of philosophy. You must be able to leverage your intellect to deeply contemplate things you don't believe are actually true in order to determine the root foundations for what you believe, if in fact you still do believe them after honest and critical analysis. If you close your ears to anything you disagree with then you may miss a small but important detail that in overlooking has lead you to a premature and incorrect conclusion. Or on the other hand be able to further whittle away to the true core of your beliefs. Whether for this cause or the one in the article the result is probably the same however, understanding and love.

comment 10y ago · link · parent

Neat to see the Rust source for something straight-forward like this as I've been teaching myself the language recently.

Also, seeing as I just made a PR to the simplenote.vim plugin, I feel the need to make a shoutout to it: https://github.com/mrtazz/simplenote.vim

The extra benefit here is that you additionally get external syncing to simplenote, so you can then edit or use the notes on a phone app, another computer, etc.

comment 10y ago · link · parent

FB is big enough I'm sure different teams vary pretty widely. Even at the ~300 person company I was at previously the difference between project team culture and manager interference was pretty huge.
12345