HNHacker News
TopNewBestAskShowJobs

geokon

1,843 karma · joined November 29, 2016

submissionscomments
geokon··on Ubuntu 26.10 completes transition to Rust-based coreutils
There's very little incentive to switch. When people release for Linux they almost always first/only test it works on Ubuntu - hence it's going to be the least buggy. (ex: GOG only seemingly tested games on Ubuntu)

So the switching cost is buggy software. You'd need something radically different that brings enough new features to the table to make it worth it the switch and dealing with bad/non-existant support.

I think something like Nix/Guix but with stable library versions that matches Ubuntu/Debian LTS ones 1-to-1 could get traction

geokon··on Ubuntu 26.10 completes transition to Rust-based coreutils
It's less about the specific issue and more indicative of bad/insufficient test coverage
geokon··on No Man's Sky Cosmos
Isn't Mincecraft basically that? I've never played it, so would be curious to hear from someone who's played both. From the outside both look very dull/soulless and yet people spend hours playing Minecraft building things - just engaging with their imaginations
geokon··on Ask HN: Would you read a statistics textbook?
I appreciate the sanity check :) I'm still enjoying studying the subject
geokon··on Janet Verison 1.42.0 Out
I only really know Janet by going through "Janet for Mortals" - so I'm by no means an expert

https://janet.guide/

But while it superficially has similar syntax to Clojure, it's fundamentally a very very different language. You don't have immutable data-structure. It's intended to be used in an imperative way. It's extremely minimal in a kind of Scheme-y way. It's sort of like Scheme with more creature comforts. It was a very interesting PEG system for building DSLs and an innovative "runtime" where the program state is also a Janet program in an of itself. It's very weird and has new paradigms.

In the end I wasn't sure where I'd ever really want to use it though. Maybe similar scenarios as Scheme? If I wanted a scripting language where the whole language is something I could keep in my head.

geokon··on Ask HN: Would you read a statistics textbook?
Maybe my expectations were too high given all the online praise, but I've been working through it for the past two weeks and I've been underwhelmed:

- The language is often very vague and imprecise, so it's more difficult than it feels it should be

- Concepts are sometimes introduced "at random" in ways that only really make sense in hindsight. So as you're reading you're left scratching your head as to why something was brought up.

- There are constant philosophical and historical digressions that seem to hold deeper meaning, but maybe once you know the topic already.

- Similarly, constantly talking about people that take issue with the method. People not liking the method is a constant theme (they seem really butthurt about this?). But the craziest part is this all done before you even really understand what the method is!!

- The editor must have placed some strict requirement of saying "Bayesian" at least five times per page.

- No index. Useless table of context. But lots of end-notes you feel compelled to flip to constantly

Overall it feels like a textbook written to impress other statistics professors - and as an outlet for the author to air some frustrations with how people do statistics (which may be completely valid!)

The overall structure and objectives seem solid for the most part. It's just a lot of the details aren't great. The problems (so far) have been good. The examples in the text are fun and compelling, but you have to do your own legwork to actually pick through all the prose and tie the pieces together - to figure how it fits together mathematically. Fortunately AI helps as a tutor

geokon··on A Small Telescope That Surprised Me
I really don't know much about this stuff, but I'm very curious!

How does one communicate with the device? Is it over the network or it's a device with a driver (and a C library?).

Fundamentally this seems like a very fancy gimbal+camera - of which there are opensource variants (like the reCamera from Seedstudio). I guess the cmaera stuff has standard interfaced (V4L), but I don't know about gimbals

geokon··on One corner of China’s internet is insisting that the Tang Dynasty never existed
I had no idea! Very interesting. Even though it's so central to people's regional identity and general culture, a lot of Chinese food also has surprisingly recent origins. It's especially surprising b/c people generally are quite orthodox about their cooking and are rarely "experimental" (as in the west) - like the high brow seriousness surrounding sushi with it's standards and traditions. So it gives it a sense of historical gravity that's not actually there
geokon··on Emacs 31: An unofficial guide to Markdown-ts-mode
Asciidoc is a nice middle ground between the full suit of tools you get in Orgmode and bare Markdown.

To me Orgmode (after years of using it) feels like .docx. A weird poorly specified format that is only fully editable from one editor. Granted you ran read it from anywhere, but you won't want to edit it from anywhere other than Emacs. That feels like it defeats the point of using markup - which is supposed to be editable/usable from anywhere, even Notepad.

.adoc is usually sufficient (the only part I miss is tangle). Lots of options to specify at the top of a document like the images directory, or the CSS file to use, line SVG on HTML export etc. (which Markdown lacks). But the asciidoc converter runs from the command line or from code ( I write .adocs and convert them in Clojure). So you're less married to your editor.

Ideally there'd be some markup that's specified with a regex of PEGs or something that you could easily make a parse for in any context. I thought djot would be that, but it looks like making a grammar is secondary for them. I hope some day one could navigate to markup file in the browser and they'd automatically render with your own specified CSS.

geokon··on One corner of China’s internet is insisting that the Tang Dynasty never existed
In my experience the Chinese very much think this as well. Though it can be framed in a more derogatory way as "derivative" or "they just copied us"

I'd argue its difficult to find major aspects of Japanese culture that don't trace back to ancient China (maybe the language, eating raw food and sumo)

geokon··on What's in a PowerPoint File?
At the end of the day it feels like you could do something similar with SVGs - though unfortunately SVGs renderers are very inconsistent.
geokon··on What's in a PowerPoint File?
Orgmode also does this on HTML export. Makes it impossible to get good diffs

Granted they started doing this several years ago and as a result I moved to asciidoc, so it might have made a fix by now..

geokon··on The coolest anti-surveillance tools at Defcon [video]
Ironic to share this using a Google property...
geokon··on Kobo can run apps now
I personally use a Moaan 7. Android and does everything i ask it (I just use FDroid apps though). But do bear in mind it doesnt seem to run apps in the background at all. Just whats onscreen. Battery life is extremely long (probably not unrelated)
geokon··on Google has stopped pushing Git tags for some Android source code
Maybe a naiive question, but couldn't you request the source code from phone companies? Say you request it from Xiaomi - sure they're not the original writers of the code, but they too "distributing GPL code" and therefore must release the code on request. They may be more amenable to your request since they have leverage with Google and are in an adversarial relationship
geokon··on Finger: the 1971 social network that never died
NAT makes this kind of stuff impractical now a days b/c you can't really host anything from your own machine (well you can set up port forwarding if you can access the router...)

The easiest modern solution would probably be git pulling from an Onion address (running git daemon so it's read only). Then, when your machine is on, people that want updates would just

    git pull git://abcdef1234567890.onion/fingerfood.git
Though tbh.. the single-file setup of finger is cuter than a whole repo directory
geokon··on Wiki for Pet Projects with Clojure and Polylith
I've never used Polylith, nor do I honestly quite grok it entirely. But it seems unnecessary in a personal project?

It adds a bunch of abstractions on top of Clojure which seem to be mostly useful for enforcing rules when working with a team

With bare Clojure you can just have a monorepo of different mini-libraries and use `:local/root` to hook things up. It seems much simpler that way. You can have a different "applications" point at each other through deps.edn.

Would love to be corrected though :)

geokon··on Rhombus 1.1 is now available
I really highly recommend cljfx if you haven't tried it. It's a Clojure GUI library that works through javaFX. It's an absolute pleasure to work with. It's also designed in an extremely extendable - so can integrate with whichever state management systems you prefer (I have it working with Pathom).

JavaFX itself is pretty much "done". Maybe there are corner cases where it's lacking.. like displaying complex Math equations, drawing the full SVG spec, or making complex charts with UI elements. That said, there are plenty of Java libraries for some of these situations.

The main downside I've found is that my final bundled GUI apps are rather large binaries and they consume a ton of RAM (though I think it's the JVM reserving it mostly). They take a few seconds to launch, but then they're extremely snappy.

Supposedly you can shave the yak further with GraalVM but I haven't gone down that rabbit hole

geokon··on Linear algebra done right
Oh wow! That review was incredibly useful. I had seen there was a second edition and was eager to buy it next I came to the US - but was hesitating on dropping so much money on it.

Looks like it may be a useful read after I've mastered the first edition more :)

The FFT and SVD chapters have actually ended up being the basis of a few research projects I've done. The writing really has a way of reframing concepts in very insightful ways.

geokon··on Linear algebra done right
I really recommend Matrix Analysis and Applied Linear Algebra by Carl Meyer. It's both concise and comprehensive. Strange is very good, but feels kinda vague and long winded in comparison (very good for a high level understanding of the tools you're dealing with)
geokon··on Low-Tech Ceramic Water Filter
I wonder if you could achieve the same effect more easily/consistently using cement. It's basically how aquifers "filter" water. Limestone is naturally permeable unlike fired clay.. were you need to control the porosity. I'd imagine cement mixtures are much easier to handle and you can make arbitrary shapes (higher surface area and higher hydraulic pressure to increase the flow rate)
geokon··on A spectre is haunting Unicode
> Either they are translated to Chinese so you should be able to search with Chinese, or they aren't and you should search with Japanese.

The point is that when they look identical most of the time, you have no idea which language "mode" the text is in.

Tokyo is 東京 in both languages. They're not visually distinguishable. Maybe in a long list some particular characters are written slightly differently, but you'd have to really inspect the list and hope that distinguishing characters show up.

From the outside this may look weird, but to people that are around Chinese characters having multiple ways to write a character is just a normal fact of life. They look different in classical writing, seal scripts and cursive scripts. Trades people will also use shorthands. You have analogous situations with Simplified and Traditional Character - where some characters are simplified to fewer strokes and others are not. But as a reader you don't really care if it's 吃/喫 or 臺灣/台灣/台湾. There is basically no situation where you want to find 吃 but not 喫.

I get the desire to preserve native Japanese forms of the Chinese characters. But that seems like something mostly resolved with a font

If you want to mix Chinese and Japanese characters, then you are left having to mix fonts - which is a bit ugly I guess. It's not the most ergonomic solution, but this is the edge case. Most of the time you want different forms to search the same. If you search 臺灣 and your word processor skipped 台灣, then you'd be rightfully annoyed.

geokon··on A spectre is haunting Unicode
Do you feel similarly about french and english? It could work but would be a little weird and annoyong to switch language modes

I think you underestimate the similarities. For instance Japanese names are not translated to Chinese. Theyre just read with Chinese pronunciations. So Chinese will regularly interact with Japanese content (im guess it happens the other way around too, but i dont have the personal experience)

geokon··on Grok 4.6
Out of curiosity why isn't this stuff handled by a secondary "monitor" agent that's specifically trained on what's okay and not okay? I'd think it'd be a pass-no-pass classifier and wouldn't degrade the performance of the main LLM.

Would the concern be that with sophisticated obfuscated input you could try to get ROT13 Klingon instructions on how to build a bomb - and that could fool the monitor?

geokon··on Jolt: Clojure compiler implemented with Chez Scheme
> I don't recall ever writing my own protocol, record, or struct.

I'm honestly extremely surprised. Protocols seem sort of essential if you want two different "things" to exhibit the same behavior.

The whole set of immutable datastructures are fundamentally backed by them (well they use Java Interfaces but its fundamentally the same). Not entirely sure how youd implement them without Protocols

Theyre also sort of essential if you want plug-in backends for any part of your codebase.

Im curious what your go-to is currently? Do you just write multimethods and dispatch on the inferred input type?

geokon··on Jolt: Clojure compiler implemented with Chez Scheme
I spent a couple of days digging in to Janet and what surprised me was how even though at a surface level it resembles Clojure, under the hood its actually quite radically different.

It has a lot of very interesting ideas going on, though ultimately i didnt end up using it (i need my persistent datastructures and seq col abstractions)

It feels very minimal and scheme-y and very different from anything ive used before. Definitely worth exploring

geokon··on Less Coffee, Better Sleep
I don't have any severe sleep problems, but I can relate to this issue. I find reading fiction helps. It's kind of difficult to dream about an interesting problem or a project, so the way I perceive the problem is that my brain doesn't slip into a narrative free-associative state. But if I can get myself to think about something "dreamable" then it's a different story. A book works b/c you already need to engage your imagination quite a bit as you read anyway
geokon··on EU Fines Google $1.02B for Favoring Its Own Services
I think this is a larger web-standards problem.

There is no standard clickable "link" for physical locations. There is no URL-equivalent you can send to someone, they click it, it open up their map viewer of choice. You can send Lat Lon coordinates and then have the recipient copy and paste them. It generally works though there isn't a standard format and no service will make it clickable like an email address, so the whole process remains clunky.

When you "Share" a location in Google Maps or OSMand, you get back a URL link to their service and not an service agnostic "link" to the geographic location.

geokon··on Incremental – A library for incremental computations
Where is it actually explained how it works..?

Usually these kinds of systems either don't scale dynamically or have caching issues. The first example, a spreadsheet, is "easy" because there are a fixed amount of cells to track. A GUI can be a lot harder (imagine sub windows and sub-sub windows dynamically popping up and tracking some redundant and some unique "computations". Entities can appear and then be removed at random). Though the wording carefully says "constructing views" so maybe it doesn't handle dynamism

geokon··on Sealed tomb filled with paintings and inscriptions discovered in Egypt
A cemetery that charges an entrance fee..
← PreviousPage 2 of 34Next →