Better HN
topnewbestaskshowjobs
Log inSign up

tmpfs

306 karma · joined Jan 26, 2016 (10y ago) · 111 submissions

[ my public key: https://keybase.io/muji_tmpfs; my proof: https://keybase.io/muji_tmpfs/sigs/_sKVH2K4C9t3e4F2lnSf5ocsdtndQaKupyyXtQxM7Xw ]
Submissions

comment 7y ago · link · parent

We really, really wanted to use and like Gitlab but after a few months trial found the UX very poor in comparison to the main competitor.

The icon heavy interface and general layout decisions made things hard/cumbersone to find, any plans to invest in an improved UX for the web UI?

comment 7y ago · link · parent

I found the article hyperbole and a better reference is scientific tuning [1]

[1] https://en.m.wikipedia.org/wiki/Scientific_pitch

comment 7y ago · link · parent

If you look closely enough you would see that the attainment of wealth and power definitely does not bring happiness. In order to know this an individual needs to experience both ends of the spectrum and have the ability to clearly introspect and compare both experiences.

comment 7y ago · link · parent

Not sure what the agenda is here but this reads like a piece sponsored by rich people intended to test the waters in terms of public opinion.

I think that geoengineering should only ever be done by consensus not unilaterally and only when we have a really good idea of the consequences after all our current situation has been brought about by myopic views on new technology.

Stopped reading when the article diverged into an imaginary future.

No, thank you.

comment 7y ago · link · parent

This is an enormous problem given climate change and biodiversity loss, weather forecasting will be essential to reduce the loss of life in the event of natural disasters.

Recent history has shown us the natural disasters are becoming stronger and more frequent (the very recent cyclones spring).

Any 5G engineers here who could comment on how this could be resolved?

comment 7y ago · link · parent

You are right i should have articulated better. I do think there is a problem with happiness in that:

1) Any measurement is only an approximation

2) It is quite possible that the "pursuit of happiness" is a damaging force in humanity (it is detrimental to the environment driven by rampant consumerism with the never-fulfilled goal of being "happy")

3) That there is the possibility that it is a side effect of something else amd therefore seeking it is a fools errand.

I mentioned Bhutan as they are the only country i know of that does currently use GNH and regardless of the problems i perceive with the concept of happiness i still think using it as basic measure would change the dynamics of society in a positive way

comment 7y ago · link · parent

Which is why i referenced the quote afterwards to illustrate that the pursuit of happiness is not necessarily the answer and of course happiness in itself is very hard to quantify but attempting to use it as measurement would create a better situation for humanity.

If we assume that Krishnamurti is correct and happiness is a byproduct the question naturally arises, a byproduct of what?

comment 7y ago · link · parent

I concur that we should follow Bhutan's example and switch to GNH as the most logical way to create a healthy society. Clearly GDP as a measurement is failing us badly given the many troubles in modern society/culture; primarily i am thinking about all the mental health issues associated with competition/money.

Having said that i would like to point out an insight i came across recently:

> Happiness is a byproduct - Krishnamurti

comment 7y ago · link · parent

You may want to try my markdown based CLI definition tool:

https://github.com/mkdoc/mkcli

Generates help files, man pages, shell autocomplete for bash etc

comment 7y ago · link · parent

I think the focus on money is misplaced, forget about GDP and start measuring GNH (Gross National Happiness); it is about time the rest of the world looked to Bhutan and realized there is much more to a pleasurable human existence than simply quantifying in terms of income/money/wealth. It is an over-simplification that degrades humanity and our potential.

comment 7y ago · link · parent

For what it is worth, I purchased an XPS13 and have had terrible problems with the touchpad and keyboard. The touchpad likes to jump around every once in a while and the keyboard sticks from time to time. I only found reports of this after the purchase and it is clear others have had the same problem.

I think it is a hardware problem and as such would not recommend buying into the XPS ecosystem. Bad quality control, will never buy a Dell again.

comment 7y ago · link · parent

The problem with .mjs is when you want to share code between the server and browser, handling a different file extension is a PITA.

103.

Show HN: Prism, idiomatic style manager for React Native(github.com ↗)

1 points · by tmpfs · 8y ago · discuss

comment 9y ago · link · parent

Fermented Marula fruit maybe? https://en.wikipedia.org/wiki/Sclerocarya_birrea

comment 9y ago · link · parent

No - not direct compatibility per se, because I don't think it's the responsibility of the argument parsing library to work with the definition. The nodejs runtime[1] uses a lightweight argparse[2] library which is implemented as a plugin. You can then enable additional plugins for argument validation or any other processing you require.

Effectively you end up with two objects, one describing the program and another describing the parsed arguments which should then be passed through a plugin pipeline. The existing runtime plugins[3] illustrate this.

> if there is an automated way to make use of these.

There is using the nodejs runtime, take a look at the source for the mkcli program[4] to get a feel for how it works.

> stepping stone towards a more language agnostic way of defining command-line interfaces

I couldn't agree more, ideally we would implement runtimes in most of the mainstream languages using the pattern described above :)

Hope that helps & thanks for the feedback!

[1]: https://github.com/mkdoc/mkcli-runtime [2]: https://github.com/cli-kit/cli-argparse [3]: https://github.com/mkdoc/mkcli-runtime/tree/master/plugin [4]: https://github.com/mkdoc/mkdoc/blob/master/cli/cli.js

comment 9y ago · link · parent

Thanks!

Only zsh support at the moment but would like to add bash support when I get some more time to spend on it. I find zsh completion far more powerful and easier to work with.

There is also a nodejs runtime library[1] for parsing arguments from the descriptor and some basic plugins. Later I would like to add runtime libraries for other languages :)

[1]: https://github.com/mkdoc/mkcli-runtime

107.

Show HN: Markdown command line interface definition(github.com ↗)

27 points · by tmpfs · 9y ago · 7 comments

comment 9y ago · link · parent

Designed initially for generating README files that can include other documents but powerful enough to be used for all sorts of markdown processing pipelines. Built on top of commonmark.js.

109.

Show HN: Fast, streaming markdown processor(github.com ↗)

2 points · by tmpfs · 9y ago · 1 comment

110.

Show HN: Rlx(1) – couchdb command line interface(github.com ↗)

4 points · by tmpfs · 9y ago · discuss

comment 10y ago · link · parent

I found https://github.com/cgiffard/node-simplecrawler to be good, I used it for https://github.com/tmpfs/linkdown - a cli for validating web pages etc.
1234