HNHacker News
TopNewBestAskShowJobs

somishere

570 karma · joined October 21, 2014

building tech for the reef @theprojectsomething. previously cto @citizensgbr, a reef and climate non-profit in cairns, australia.

meet.hn/city/-16.9206657,145.7721854/Cairns

submissionscomments
somishere··on Jazz – Apps with Distributed State
Hey, thanks for the response. This does make sense. The group roles do seem relatively powerful.

I guess what I'm probably getting at is how does it hold from a threat perspective? What is to stop an actor distributing something extra large or unscrupulous between nodes. TS is notoriously hard to use for validation within types (e.g. string of max length, number between), but clearly covalues go beyond this.

Anyway, I'm writing this having not yet tried the framework. So I'll do that first and then do some further reading, and then jump onto the discord if I have more questions. Cheers.

somishere··on Jazz – Apps with Distributed State
Not sure if this question belongs on this post but kinda interested in how validation and e.g data schema enforcement work in local first / distributed infrastructure.

Assume this is built into the way you think about the model (and my mental model definitely isn't there yet), but having read the permissions part of the jazz docs (on/off?) and thinking about how client-first platforms like firebase do it with private rules on a centralised server .. I don't get it. Is it possible to do complex validation against e.g writes? Is it a natural state of CRDTs, somehow handled in the PKC, or just a side effect of the data models demanded of the setup?

Any info or pointers to further reading would be ace!

somishere··on Going Buildless
100% .. Vue at least doesn't require a build step. That may also be the case with Svelte 5? But there are optimisations that a build brings.
somishere··on Going Buildless
I'll always start vanilla / build-less with best intentions. In fact, I often start sans JS too if I can get away with it.

But inevitably the complexity of my projects increase. My patience with focus, refresh, review cycle crashes. My first stop is usually vite, just for hot reload at first, but then for raw imports, and I do like nested CSS. When I find myself beginning to roll my own reactivity I tend to read up on the latest state of vue and svelte and drop whichever one feels right into the mix. It goes on.

All with the best intentions.

somishere··on Things to know about the Great Wave
I remember reading that many of the prints attributed to Hokusai are likely imitations of what was a fairly well known style at the time. Not sure how much truth there is to it? Can't find anything saying as much in a quick google.

As an aside, I have a large print of the great wave by my front door. It's such a powerful image. I was also surprised how easy it is to find quality, quite old woodblock prints in Japan at very reasonable prices (tho not by masters!).

somishere··on WebP: The WebPage Compression Format
Lots of nice tricks in here, definitely fun! Only minor nitpick is that it departs fairly rapidly from the lede ... which espouses the dual virtues of an accessible and js-optional reading experience ;)
somishere··on A Texas "moth man" photographed 550 species in his own yard
I've heard of these, they sound amazing!

We get the odd Hercules moth in our backyard. Doesn't look anything like a bird close up, but it's so massive that when they get stuck in the house your first thought is that it's a bird or bat.

Another cool thing we get is jumping spiders that imitate ants so they can hunt them - both green ants (an endemic weaver ant we get here) and another large metallic silver ant species I don't know a lot about. The spiders share the colouring of each species and walk backwards amongst them - their walking style changes and the abdomen looks like the head of the ant. They're rare, I've only observed them a couple of times over the years here, but it's wild to watch them do their thing.

somishere··on CSS Grid Areas
Solid article! Important point I didn't see covered / worth noting with grid & flex layouts is visual vs logical tab orders ... Looking forward to a solution in upcoming specs

https://developer.chrome.com/blog/reading-flow-display-conte...

somishere··on Why won't some people pay for news? (2022)
Personal biases abound in publicly funded news orgs, just as in private. But there are models where editorial independence is maintained .. including in Australia and the UK.
somishere··on Firefox Sidebar and Vertical tabs: try them out
I put together a simple TST hack / extension that puts recently active tabs in the horizontal space (with a "user-defined" timeout). Have been using it actively for the last few years.

https://gist.github.com/theprojectsomething/6813b2c27611be03...

It's nowhere near perfect (see comments in the gist), but I genuinely enjoy the paradigm of easy access active tabs alongside a full laundry list. I find myself reinstalling it on new machines as I go. It's also just a few lines of CSS.

That said, keen to try out the nightly version of vertical tabs. Tho I'm hoping my active tabs hack might work with it too.

somishere··on Enlightenmentware
Great article. For me it's creative use of tools by others - sometimes myself - in a non-standard way (sometimes that becomes standard!) that brings enlightenment. Be it language, source control, networking, you name it.

Aside: assuming the author is reading, minor typo in the first para: But once in a w̶h̶i̶t̶e̶ while

somishere··on HTML Attributes vs. DOM Properties
Tend to agree ... with the added reflection that to a stylesheet, the DOM is the only worldview. Attributes - and the currently limited set of pseudo classes - afford its agency.

If pseudos were extended to include all property state, DOM serialised or not, then we'd be onto something.

somishere··on Google Quantum AI
It works, that's true! It's just not designed or built to a very high standard (and I expect the arbitrators of the internet to build to a very high standard) ... So I'd say it's a quality issue.

Massive assumption that it was built by an external team. But I'd hope so :)

somishere··on Google Quantum AI
Just an aside but Google should really stop outsourcing their web builds. The quality is terrible
somishere··on Help us invent CSS Grid Level 3, a.k.a. "Masonry" layout
Try Firefox beta on mobile :)
somishere··on Show HN: Volume rendering 3D data in Three.js and GLSL
Nice Demo! Definitely agree with the lack of familiarity / tangential aspect comment. IMO your best bet is starting off with vanilla HTML + JS and then adding tooling as required / only if necessary.

E.g. Vite is handy for bootstrapping and hot reloading (don't really need it for build anymore given remote imports, etc). Do you really need typescript? If it saves you time in the long-term, sure add it in (it requires a build step). If you are building a big UI then OK - add a CSS / JS framework. But best bet is always to keep complexity down to a minimum. Last thing you want to be doing is debugging / working around peculiarities of other people's code.

I tend to demo in a single HTML file (you can even embed your shaders in the HTLML!), which can then be easily shared / hosted.

On the demo. Not sure if you referenced it, but I remember being wowed by a similar (official) demo back when Three was first rolling out WebGL2 support. The first commit I could find was 2018, but I'm sure it was actually earlier than that - might even have been a pre-release demo (I'm certain cross browser support wasn't there when I tried it).

https://threejs.org/examples/webgl2_materials_texture3d.html

They used the "NRRD" format, which I haven't heard of (but sounds pretty close to your 1x1x1 raw files ... x-array style thing). Did you look at this approach? Have things moved on since?

Edit: maybe the real tutorial here is around pre-processing of common volume data formats for use with e.g. three / webgl2

somishere··on The Bulma CSS framework reaches 1.0
Amazing, thanks for the link.
somishere··on Pure CSS Website
:D
somishere··on The Bulma CSS framework reaches 1.0
Always on the lookout for a quality (low/no js) CSS framework. One that uses sane structural paradigms and doesn't leave a build beholden to 3rd party documentation / questionable design decisions. One that is straightforward to pull back / strip out when the time comes. One with reasonable overheads (branding, download size, etc). And with all that in place - one that handles forms / browser chrome well. Yet to find it, but this looks like it comes pretty close. I'm willing to try it.

That said, I had performance issues on the site in Firefox. Very noticeable when switching between dark / light mode. Not sure if anyone else saw the same?

somishere··on Pure CSS Website
Epic. Tho where are the next level hover states?!
somishere··on Pure CSS Website
Pure CSS. Invalid HTML.

Nice job tho. Now just need to make it in 3D.

somishere··on The many flavors of edible ants
We have a lot of green ants around our house (otherwise known as a weaver ant, mentioned in the article). They're a little aggressive but fascinating creatures all round and great for a nibble, tho I tend to only eat the bum ... tart but satisfying.

https://en.m.wikipedia.org/wiki/Weaver_ant

somishere··on Uber to pay $272M to Australian taxi operators
You are 100% right. Though this problem isn't unique to India by any means. In fact you often hear of sexual assault cases re. taxis and ride share going through the courts in Australia.

That said I've personally witnessed things "nearly" happen, and heard some harrowing tales besides, to / from lone women travelers in a number of countries throughout Asia, the Middle East and Europe.

The world is not a safe place for women.

As an aside, Singapore seems to be one of the outliers here. We saw a woman exercising at about midnight one night coming from the airport. Taxi driver told us it wasn't unusual, ostensibly thanks to capital punishment. No way you'd feel comfortable doing that in Australia.

somishere··on Uber to pay $272M to Australian taxi operators
You've nailed it.

Uber went south in Cairns in exactly the same way about when Didi and the others came out.

Call a cab and it turns up. Reliability is everything.

somishere··on Uber to pay $272M to Australian taxi operators
I loved getting taxis in India for exactly these reasons, I used to get taken to random shops way out of the way of where I needed to go ... I'd just go along along with it, total adventure time! But I can see how it could grate after the novelty wore off. Or if you were maybe being a bit cautious as a traveller.
somishere··on Uber to pay $272M to Australian taxi operators
Meh. Last time I got an uber from Sydney airport the guy made us get in at the entry to the multi store car park across from the rideshare pickup. I just assumed because he didn't want to pay a fee. He then couldn't reverse out because someone turned up behind him and so did a run through the car park. Had a strange chat with him on the drive into town where he tried to tell me he was a student and had only been in Sydney for a couple of months, but it was totally suspicious, he kept getting carried away and relaxing into a undeniable western Sydney accent. My wife was in the car next to me texting me like crazy that something was up but I was just playing along. No idea what the go was in the end. Unsettling but otherwise uneventful trip. I didn't tip. I avoid uber from the airport now and just get a cab or a train. Price is about the same.

Edit: I should probably add that I don't avoid uber completely, still use it when travelling, esp. if I'm somewhere without a taxi rank. But I prefer a cab from the airport. It's genuinely less hassle.

somishere··on Seeding steel frames brings destroyed coral reefs back to life
These rubble stabilisers solve a legecy problem affecting coral reefs, namely how to produce a solid substrate for coral to grow on, at an infitessimilly small relative scale.

The problem is that they do little for the problem affecting coral reefs, namely warming waters and acidification.

They're equivalent to nail clippers for a person with cancer.

somishere··on Seeding steel frames brings destroyed coral reefs back to life
Minor omission, but you missed 2024 from your list of mass bleaching events. Though I guess it's too early for consensus as to the scale of the impact.
somishere··on Seeding steel frames brings destroyed coral reefs back to life
The company is using as a promotional tool for their cat food brand and named the Indonesian site after the brand. I would not say they are a particularly ecologically friendly brand.

While there is no doubt that stabilising rubble is an important factor in reef recovery (especially where this is the primary issue, such as in blast fishing sites), IMO this technology is milkdrop in the universe stuff once you pull heating oceans into the equation.

As an aside, the Great Barrier Reef is currently in the midst of an unprecedented fifth mass coral bleaching event since 2016.

somishere··on Show HN: Comma Separated Values (CSV) to Unicode Separated Values (USV)
I'm interested in this too. IMO there's actually a huge benefit to being able to concisely represent 3D / 4D data (i.e. xarrays, slices, datasets) in an easily digestible text format. Mainly thinking about this approach over e.g. the netCDF format or deeply nested JSON.
← PreviousPage 2 of 13Next →