News for hackers. Stuff that matters.

mVChr

Re:Monospaced Programming Fonts with Ligatures on Friday July 21, 2017 @01:47PM (#14822425)
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.
Re:Comey's opening remarks [pdf] on Wednesday June 07, 2017 @02:45PM (#14508849)
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.

Re:Red programming language 0.6.2: LibRed and Macros on Monday March 27, 2017 @04:23PM (#13971396)
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.
Re:Dwitter – A social network for short JavaScript demos on Tuesday February 21, 2017 @08:43PM (#13702155)
Re:Dwitter – A social network for short JavaScript demos on Tuesday February 21, 2017 @07:51PM (#13701844)
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!
Workrave[1] is good for this too. Just set short breaks to 20sec every 20min.

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

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

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

Re:VimWiki – A personal wiki for Vim on Monday December 12, 2016 @12:44PM (#13159978)
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.
Re:Linux kernel maintainer says no to AMDGPU patch on Friday December 09, 2016 @04:22AM (#13137647)
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

Re:On Getting Older in Tech on Friday December 09, 2016 @04:00AM (#13137578)
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.
Re:On Getting Older in Tech on Friday December 09, 2016 @03:56AM (#13137563)
> ...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...

Re:Linux kernel maintainer says no to AMDGPU patch on Friday December 09, 2016 @12:04AM (#13136797)
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.
Re:Linux kernel maintainer says no to AMDGPU patch on Thursday December 08, 2016 @11:38PM (#13136712)
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)

Re:Jq – Work with JSON on the command line on Friday December 02, 2016 @03:58PM (#13092232)
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...

Re:Jq – Work with JSON on the command line on Friday December 02, 2016 @03:34PM (#13092051)

    sed -rn 's/([a-zA-Z]+) ([0-9]+)/\1 is \2 years old/p' file
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

Re:Ask HN: Where do you go to get recruiters to find you a job? on Sunday September 18, 2016 @08:26PM (#12527962)
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.
Re:Linux debugging tools you'll love on Thursday September 08, 2016 @12:34PM (#12454564)
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
Re:Linux debugging tools you'll love on Wednesday September 07, 2016 @03:30PM (#12446539)
> (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.
Re:Linux debugging tools you'll love on Wednesday September 07, 2016 @02:14PM (#12445678)
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).
Re:What typing ^D does on Unix (2009) on Tuesday September 06, 2016 @02:56PM (#12438354)
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?
Ugh, can't we just use the Unix epoch? Time's already too difficult to program.
Re:SRL – Simple Regex Language on Monday August 29, 2016 @07:38PM (#12386288)
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
Re:The Neuroscience Behind Bad Decisions on Wednesday August 24, 2016 @01:23PM (#12353621)
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!
Re:Kubernetes the Hard Way on Friday August 19, 2016 @05:20PM (#12323546)
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

Re:The traits of a proficient programmer on Tuesday August 16, 2016 @02:28PM (#12299475)
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!"
Re:How to listen when you disagree on Thursday August 04, 2016 @06:11PM (#12228832)
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.
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.

Re:How Facebook Tries to Prevent Office Politics on Friday July 01, 2016 @05:38PM (#12019877)
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.
Re:Riemann – A network monitoring system on Tuesday January 19, 2016 @07:01PM (#10935078)
We evaluated both Bosun and Riemann for our use case and chose Riemann. Use case is over 10,000 servers with over 2 million metrics incoming every XX seconds. Riemann simply performs better, probably because it uses streams instead of a poller. The other part of our use case is to use it primarily for alerting, and it's fantastically responsive and robust for that, including simple integration with other systems (email, Slack, nagios, PagerDuty, etc). Bosun seems like a good tool for other uses however.

Older »