xinau
Re:Ask HN: Great programming language features, other languages should...
on Thursday July 16, 2020 @03:45PM (#23863061)
Golang's level of boringness. It's just boring enough to still be useful. Often it's easy to understand random code and write "reasonable" code.
Re:Ask HN: I've been promoted to Architect. What do I need to learn/do...
on Tuesday May 12, 2020 @09:03AM (#23153493)
I had/have the same problem, what helped me a lot was to write down what I've learned (roughly bi-weekly). Another booster was to stick to the same document structure for example NABC for proposals and ideas.
NABC: https://nielschrist.wordpress.com/2012/07/13/the-nabc-method...
Re:Cue – A language for defining, generating, and validating data
on Sunday September 01, 2019 @05:43AM (#20851387)
Some of the reasons I like the tool can't be found in the language spec. CUE (the tool) provides import facilities for existing configurations like yaml, json, openapi, protobuf or even go code into cue. this helps with adoption and time spent porting existing configs. Another feature of the CUE tool is the ability to create small tools that are able to operate on cue definition files. https://github.com/cuelang/cue/blob/master/doc/tutorial/kube...
Re:Cue – A language for defining, generating, and validating data
on Sunday September 01, 2019 @05:05AM (#20851270)
The website is under active development at the moment and their are incomplete parts. For the code links please take a look at the following tutorial on GitHub at the moment.
* https://github.com/cuelang/cue/blob/master/doc/tutorial/basi...
* https://github.com/cuelang/cue/blob/master/doc/tutorial/kube...
Re:Google Home (in)Security
on Wednesday October 31, 2018 @03:52AM (#18343967)
As a friend of mine once said. "There are only two difficult things in IT, no. 1 is printer's and no. 2 is WiFi.
Re:Toml: Tom's Obvious, Minimal Language
on Friday July 13, 2018 @04:49PM (#17526577)
I don't know if this is the intend of Tom, but I was also stumbling on this issue and the only reasonable explanation I can come up with is that:
One key can't have multiple values with different types. For example in json:
{ "name" :
{ "first" : "Bob",
"last" : "Smith"
}
}
How would you add a "alternative" key to the "first" value type. The only way i can think of is something like this. { "name" :
{ "first" : "Bob",
"first.alternative": "Robert",
"last" : "Smith"
}
}
or as @latk suggested, let "first" be an array, with it's first entry being the non alternatives. { "name" :
{ "first" : ["Bob", "Robert"],
"last" : "Smith"
}
}
I think this is by design. To quote @mojombo "simple configuration file that maps unambiguously to a hash table".But this is only a guess.
Re:Ask HN: What are your favorite cli/unix tool?
on Thursday July 12, 2018 @01:26AM (#17512362)
Going to take a look, at tldr and watchman. Thanks
Ask HN: What are your favorite cli/unix tool?
I use some cli/unix tools in my day to day business and by looking into various awesome list, i know there are a ton of probably useful tools. I've used: * fzf -- fuzzy finding anything * tmux -- when working over ssh* * fasd -- to get into my last used directories * ag -- for searching through files * dmenu -- for various selection tasks and starting of small scripts * jq -- json...