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 5y ago · link · parent

I think the word for this is "equanimity" and it is certainly a desirable state.

But it should not be "grey" like the sibling comment indicates but full of joy, bliss and wonder.

I think experiencing equanimity is a sign of releasing the ego which is natural as we age and become less attached to our ideas of who we are and closer to the reality of our impending death

comment 5y ago · link · parent

Thanks, i will take a closer look at nix!

comment 5y ago · link · parent

Client implementations typically need to be deeply integrated with the host PL/OS but I think we can create a shared package registry with a protocol that sits on top of IPFS.

A single tool for publishing to the registry would push the package to IPFS, get the returned CID (hash of the package) and store the hash with some package meta data in a blockchain. Storing the hash in a blockchain would provide confidence the package has not been tampered with assuming no 51% attack and that client implementations always verify the hash against the package bytes. By making the hash immutable and linked to the content address of the package we have more confidence in the integrity of our packages.

Then we add an HTTPS bridge so that client implementations can easily migrate to consuming packages via this new distributed registry.

I am exploring this now so if anyone is interested in this kind of distributed language-agnostic package registry drop me a line at muji [at] tmpfs.org.

comment 5y ago · link · parent

You want me to include a Javascript file to style my website and you use the non standard `x-style` attribute. I think i will pass and write vanilla CSS or something that compiles down to it.

comment 5y ago · link · parent

I for one am happy that the EFF are making noise about the broken patent system applying to software inventions and I hope they are able to change the patent system. A real uphill struggle no doubt, but important work. Thanks EFF.

comment 5y ago · link · parent

Pragmatic polyglot generalist with 22 years experience in applications (web/desktop/mobile), systems and networks.

Seeking work with Rust but also willing to write Go, Java/Kotlin and Typescript.

Remote only, not willing to relocate.

https://tmpfs.org/

comment 5y ago · link · parent

This look great, thanks for the post and open-sourcing the project.

I played around with Wireguard directly and having better ergonomics without vendor lock-in is great, i look forward to taking it for a spin.

comment 5y ago · link · parent

I had a crack at this here:

https://github.com/mkdoc/mkcli

One of these days i would like to rewrite it in Go or Rust.

I even got around to generating bash/zsh completion scripts from the generated program descriptor.

comment 5y ago · link · parent

I have been following and using this for a while and it works great for small to medium sites.

I built from source and self-host.

Congratulations on gettiing it launched James!

comment 5y ago · link · parent

This comment is misleading. They may appear to be the same but they are not because in certain languages (like Rust) you are forced to handle the `Option` case when a value is `None` which guides a programmer's thinking in the direction of what to do in that situation.

Without these higher level types runtime null pointer exceptions are very common, using `Option` or `Maybe` creates a situation where these sorts of errors are a lot less likely.

comment 6y ago · link · parent

I agree, the `data-` variant should be enforced so that the markup is always valid.

comment 6y ago · link · parent

Congratulations on the release, i have been following htmx for a while and whilst have yet to use it, conceptually i think the ideas are solid.

I think the trend towards SPAs and everything is Javascript/JSX has created a situation where people build SPAs then add SSR as an afterthought.

This is anathema to the ideas of document driven web pages and i think htmx could be a good middle ground. Of course for some applications SPAs are the correct choice but I see many people reaching for them as the default rather than creating pages and enhancing when necessary.

I am working on some tooling in this space and hope to see how htmx could fit into progressively enhanced websites.

comment 6y ago · link · parent

I highly recommend this series of podcasts. I think i have listened to nearly all of them now. Melvyn Bragg is an acquired taste, at first i didn't like the way he interjects very much but now i am used to his style it's fine.

The main attraction is the calibre of his guests who tend to be excellent. Some people have had problems with the direct downloads in the UK, i think maybe only streamed in the UK. I find it odd (ironic?) that it can be easier to get BBC content abroad!

I particularly like the physics podcasts. The Paleocene-Eocene thermal maximal[1] is one of my favourites.

[1] https://www.bbc.co.uk/programmes/topics/Paleocene%E2%80%93Eo...

comment 6y ago · link · parent

I think it is important that this (or something similar) lands in modern browsers. The hard requirement on Javascript to use custom elements has been a big deterrent for me to get too heavily invested in web components. This is the missing piece of the puzzle that was going to be <link rel="import">. We should look to Javascript as a tool to progressively enhance web content rather than leaning on it so heavily.

comment 6y ago · link · parent

Rust's error handling really made me fall for the language but there are a couple of pain points for me. As others have pointed out the inability to use the `?` operator when a function does not return `Result`, it looks like solutions are in the works for this. But the one i have not been able to figure out is handling errors neatly at async boundaries, ie, when calling sync code that returns `Result` inside a `TryFuture` - is there a pattern for this?

comment 6y ago · link · parent

I did this intentionally for a few years about five years ago and thoroughly enjoyed the experience. The only reason i ended up getting a phone afterwards was to develop mobile software.

As i notice myself get too attached to my device i miss those peaceful years. At the very least leave it behind when you go on holiday if possible.

comment 6y ago · link · parent

Hi rich_sasha, i am working on a tool that does all that. Hoping to have an alpha ready soon, drop me a line on muji [at] tmpfs.org if you want to give it a try, cheers!

comment 6y ago · link · parent

This is really smart, good job. I look forward to taking this for a spin, the point of not adding a build step is critical for some of my current work. I think the time for using CSS preprocessors is over, they add very little value now we can use variables and combined with tricks like these we can speed up our builds!

comment 6y ago · link · parent

Both the link and github comments are down for me too; I am unsure whether it has been down more since the acquisition but this is unacceptable to me. I have been trying to post a comment to an issue i made for the last few hours and every time it says "You can't comment at this time" which I find very misleading. It should say "Sorry, our system has a problem, please try again later". The implication of the current message is that my permissions are wrong or something else has happened.

This has bumped self-hosting all my repositories much higher up my list.

comment 6y ago · link · parent

I wrote some tooling around this for creating man pages from markdown for CLI apps:

https://github.com/mkdoc/mkcli

And a generic man page output is here:

https://github.com/mkdoc/mkout/blob/master/README.md#mkman

It does make the experience much nicer than writing TROFF!

comment 6y ago · link · parent

This is interesting, thanks for sharing. I wonder if a remediation for the moment would be for local websocket servers to check the Host header before sending the 101 switch protocol response. Also would a CORS "Access-Control-Allow-Origin: localhost" prevent the connections being established?

comment 6y ago · link · parent

Check out commonmark for something less fickle than your average flavor. It adds a specification so users and developers know what to expect.

comment 6y ago · link · parent

Getting a PHP OOM error on that page.

comment 6y ago · link · parent

I have hardware problems with jumping mouse and trackpad issues and no chance of getting it resolved as i do not live in a country with support and had to buy the machine in another country.

I now have serious reservations about Dell build quality and QA process. Sadly, for linux users there are not that many choices.

comment 7y ago · link · parent

It should be pointed out that mindfulness is one of many practices in various esoteric belief systems (typically with a view to complete self-realization) and when taken out of context and practiced alone it can have benefits (depending upon the individual) but is much more powerful when combined with all the practices of a belief system (Buddhism, Taoism, Bon etc).

comment 7y ago · link · parent

Oops, and number of channels too!

comment 7y ago · link · parent

A frame is a function of the encoding frequency and bit depth, these both determine how many raw PCM samples consititute a "frame".

comment 7y ago · link · parent

This is due to the image being inline by default, just needs inline-block. There are other hacks too.

89.

US could ban 'addictive' autoplay videos and infinite scrolling online(theguardian.com ↗)

57 points · by tmpfs · 7y ago · 63 comments

1234