HNHacker News
TopNewBestAskShowJobs

cetra3

646 karma · joined June 5, 2014

submissionscomments
cetra3··on Parcel v2
I moved from Parcel (v1) to ViteJS because it felt a bit faster. Is there a performance or other type comparison between Parcel and some of the newer bundlers? (I.e, vite, snowpack, etc..)
cetra3··on Hacker News RSS
What RSS Readers is everyone using? I have used tiny tiny rss before, but was wondering if there was another alternative
cetra3··on Show HN: Weather API for non-commercial use
Dive visibility is actually quite hard to forecast (at least in the areas I dive) and I don't know if there have been empirical studies on it.

Anecdotally I find it's best when the wind is offshore and there is low tidal movement. But there are other factors at play, such as rainfall, etc..

This is one source I found (for wave height): https://www.aviso.altimetry.fr/en/data/products.html, however it was not clear on the website whether it was paid or not.

Another one I had a poke around with: https://www.ecmwf.int/en/forecasts/datasets/wmo-essential (trying to read Grib2)

cetra3··on Show HN: Weather API for non-commercial use
This is great, I'd love to have dive visibility predictions for my webapp based on location: https://divedb.net/

The challenge I've had is the same, the data format that a lot of these sources provide is in "academic" formats like GRIB, NetCDF etc.. and I've spent a not-insignificant amount of time trying to work through all these formats and what they represent.

cetra3··on Preserving Worlds: a travelogue through aging but beloved virtual worlds
UO ruined other MMOs for me, it allowed too much freedom. In the early days, before trammel/felucca split you could attack anyone and take their gear. It really felt like actions had permanence, and you had an effect in the world.

I think most people look back fondly on UO who played it in its prime, but I don't know whether the state of things today would allow something even close to capturing that feeling.

When WoW came out it felt like the game was some sort of theme park rather than an actual secondary world. I couldn't bring myself to get invested in it like I was with UO.

cetra3··on Comparing the New Generation of Build Tools
I've been using vite for building a new web app and have enjoyed the experience so far.

One thing I'd love to be able to do is to do the classic thing of rendering things mostly as html templates on server side, but serving up JS for particular page components. I also don't want to use node for SSR if at all possible, but seems to be the only route available.

That way I can easily support non-js users of the app (bing struggles to index my site at all). It used to be a lot easier to do this, but I guess it's out of vogue now!

cetra3··on Rust for Windows
I think maybe the ZeroMQ rust crate as a case study is something that is non-trivial: https://github.com/erickt/rust-zmq
cetra3··on ØMQ – The Guide (2011)
ZeroMQ does allow you to register file descriptors on an event queue, which if you dig into the code you'll find tmq using mio to accomplish this.
cetra3··on ØMQ – The Guide (2011)
I've implemented bindings for ZeroMQ with Tokio in rust (https://github.com/cetra3/tmq). I found ZeroMQ great for interop with Python/Java if you just want some simple cross-process broadcast/task management.
cetra3··on Fawkes: Image “Cloaking” for Personal Privacy
I was using the pretrained LFW models, but an older version (128 instead of the 512). So roughly ~6000 faces
cetra3··on Fawkes: Image “Cloaking” for Personal Privacy
I've tried this with facenet and it still detects the correct faces I tried without much issue: https://github.com/davidsandberg/facenet/
cetra3··on Svelte and TypeScript
I've just tried this using the starter project they provide in the blog post, and it does catch the error:

The error returned is `Type '"1"' is not assignable to type 'number'.`

cetra3··on Show HN: Spaceboard – Pinterest for Markdown Notes
Looks great! I'm a big fan of using markdown for simple formatting of notes.

I've also used the layout library (react-grid-layout) with great success for my toy lorikeet alerting dashboard project: https://github.com/cetra3/lorikeet-dash

cetra3··on Software Entropy
I've found rust really helps out with this, enforcing some strict rules around types.

I had to implement a `Lowercase` type which is just a string that can only be lowercase (for case insensitive searches). After implementing standard traits like `Into` and `Deref`, it just acted as a standard string. That way I could guarantee at compile time that things are lowercase, but still have the flexibility of strings.

Another common idiom I have seen is to compose finite state machines using enums. You can only create a particular state from another state etc..

cetra3··on Writing a full-text search engine using Bloom filters (2013)
Yes, my personal blog is written with zola: https://cetra3.github.io/.

Source code to the blog is on github: https://github.com/cetra3/cetra3.github.io

I haven't had a need to customise zola itself, as the template language it uses (tera) is quite usable with macros etc...

cetra3··on Writing a full-text search engine using Bloom filters (2013)
I feel like using a straight bloom filter will get you some false positives and may not be a right fit, but it is an interesting take & might be good for a first-pass.

mdbook (https://github.com/rust-lang/mdBook) uses elasticlunr (http://elasticlunr.com/) as an inverted index and is generated statically.

The same is done for zola (https://www.getzola.org/documentation/content/search/).

cetra3··on Tiny websites are great
I've been yak shaving my website to try and get it to load as fast as possible: https://cetra3.github.io/

I did cheat a little bit and used SpectreCSS but have really tried to squeeze down the page size as much as possible.

cetra3··on Post Mortem on Salt Incident
If you look at their current `hardening` document it still has pretty unclear language about what is acceptable and what isn't.

> Use a hardened bastion server or a VPN to restrict direct access to the Salt master from the internet

Is this SSH access or is this access to the salt master from minions? Or just access in general?

cetra3··on Post Mortem on Salt Incident
This whole salt-stack incident could've been handled a lot better by salt themselves:

- the notification was a week ago to a small mailing list, which is tucked away on their site

- no notification to the registry to when you go to download salt (at least I never received an email, but still get plenty of marketing spam)

- no posts on social media as far as I can tell, I couldn't find a tweet, anything on reddit, or anything on hn.

- they only blogged about it on their official site yesterday, way after damage had been done

- one week's notice between the initial announcement and the patch coming out. The patch being released is basically a disclosure of the vulnerability

- the patch was released late Thursday early Friday depending on your timezone, giving attackers the weekend head start

- the official salt docker images were only patched yesterday

- You can't get a patch for older versions without filling out a form and supplying details

- Ubuntu and other repositories are still vulnerable

cetra3··on Falcon is a free, open-source SQL editor with inline data visualization
Also see metabase: https://www.metabase.com/

We use this to embed some nice dashboards & run queries to great effect. A very powerful tool!

cetra3··on Why Not WireGuard
WireGuard is very hard to manage with a pool of connected devices, especially if you don't know how many will connect ahead of time, it really needs Dynamic IPs, Routes & DNS to compete against OpenVPN. You should be able to add in hostname & credentials on the client end and let it do its magic.

I also feel like the language used in wg-dynamic is very dismissive and counter productive:

> WireGuard currently uses static addresses everywhere. This is because that is mostly a better way to design your network. But in some cases, insane people want dynamic IP addresses or other dynamic configuration.

https://github.com/WireGuard/wg-dynamic/blob/master/docs/ide...

So now I'm insane for not wanting to configure every connected client?

cetra3··on Web of Documents (2019)
This is a good example where I think JS adds substantially but is still document-y: https://www.redblobgames.com/grids/hexagons/
cetra3··on Show HN: An example GraphQL server written in Rust
Yes, the creator of actix-web has appointed a new maintainer after realising it was unfair to just up and delete it. The issue is here: https://github.com/actix/actix-web/issues/1289

The project future is obviously in flux with this transition, but I am hoping myself & other contributors will be able to carve a path forward.

cetra3··on Show HN: Nebula – a distributed graph database written in C++
It's not open source, as it is licensed under Commons Clause according to the README, which according to the FAQ is not open source.

I'd be interested in knowing whether the commons clause license has been challenged as the wording is rather simple

cetra3··on Algorithm Removes Water from Underwater Images
> Sea-thru is protected by a registered patent owned by Carmel Ltd the Economic Co. of the Haifa University and its subsidiary SeaErra

Looks like they are going to monetise this technology at some point given the disclaimer at the bottom of the page. This is not wrong. But it feels like a PR exercise dressed up as something academic which is a little creepy.

cetra3··on VR optics and why inter-pupillary distance (IPD) means too many things
I think it might be a bit like the hollow face illusion:

https://en.wikipedia.org/wiki/Hollow-Face_illusion

When I was playing an early version of HL2 VR if you walk right up to the wall, the crowbar you are holding goes through it but the wall stays at the same distance. A very weird feeling.

cetra3··on Solar farm has to switch off every second day due to negative prices
I wish these prices were reflected to the consumer. Electricity bills in South Australia are ridiculous, and as a renter you don't have the luxury of installing solar panels.
cetra3··on Neovim v0.4.0
I wouldn't even know where to begin to approach these mappings as they are highly context dependent. If it is possible with just normal vim mappings then that'd be excellent.
cetra3··on Neovim v0.4.0
Both neovim-gtk & gnvim are great but don't integrate nicely with standard ctrl + c, ctrl + v actions which is super frustrating.

VSCode with vim plugin handles this well with the Use Ctrl Keys option set. If you're in insert mode, ctrl + v will paste, otherwise ctrl + v will start visual mode. If you are selecting text, ctrl + c will copy.

cetra3··on Face Recognition Using Pytorch
I have used this before: https://github.com/blaueck/tf-mtcnn which uses tensorflow for all the xNets.

Example in rust: https://cetra3.github.io/blog/face-detection-with-tensorflow...

← PreviousPage 2 of 4Next →