HNHacker News
TopNewBestAskShowJobs

yunruse

740 karma · joined October 14, 2016

drink more water. let your computer have a little too, as a treat
submissionscomments
yunruse··on Nullboard: Kanban board in a single HTML file
This is very neat! I'd be interested to see something like this with a saving mechanism reminiscent of TiddlyWiki [0], which is saved as a portable HTML file. Documents that contain their own editors like this are really neat for offline use and long-term storage.

[0] https://tiddlywiki.com/#SavingMechanism

yunruse··on Forensic linguists use grammar, syntax and vocabulary to help crack cold cases
I wonder if this has some sort of preference for ablaut reduplication [0]? I don't have the vowel phonics off by hand, but "have your cake and eat it" seems to flow a little more smoothly than "eat your cake and have it".

[0] https://en.wikipedia.org/wiki/Reduplication#English

yunruse··on Curl -v HTTPS://Google.com
This is fun! Log-rock is an untapped market; I look forward to the similar genres of code-jazz and commit message-techno :)

(Based on the "vocalist has a seizure" line which I've seen before in similar situations, can it be assumed this is AI-generated?)

yunruse··on RSS and why I believe most people should come back using them
Reeder¹ is my go-to. It's not free but it's gorgeous, functional and feels very much like a native app.

¹ https://www.reederapp.com

yunruse··on Libyear
Anecdotally the Python tool seemed to indicate for me a 0 for a dependency which was up to date (but hadn't been updated in a good year at the very least).

A more accurate (but more unwieldy to measure) metric would be to count the lines of code that have been changed since the version used and the most recent stable version. (I think this is what commenter amelius implied?) It wouldn't quite capture the nature changes made, but it would very much uncouple from the quite unwieldy assumption that libraries are all developed at the exact same pace.

yunruse··on Illustration of the reason galaxies form spirals
This is the Lin-Shu density wave theory [0]; since the 1960s it has been proposed by some that both this and the mechanism described in the Stochastic Self-propagating Star Formation model [1] work together to maintain the distinctive shape.

[0] https://en.wikipedia.org/wiki/Density_wave_theory [1] https://en.wikipedia.org/wiki/SSPSF_model

yunruse··on Show HN: Lightsaber Battle – May the Fourth Be with You
Toying with #name-input and setName() was quite fun; I wish I was there to see this part happen! What `onerror` did you end up using to make it recursive?
yunruse··on Show HN: I made a daily puzzle game about mixing colors
Having to hover each time is a little unwieldy. Patterns [0] could be helpful? In this instance it might be neat to have stripes in the cardinal/diagonal directions which can combine into crosshatch, though after 4 colours it would get crowded to represent.

[0] Something similar to https://images.wsj.net/im-194691 for lighter-shade-on-darker shade.

yunruse··on Show HN: ADHD STASH. A curated collection of ADHD friendly products and services
Love this, love this! The attention to detail is pretty damn professional, and this is quite clearly by someone who knows the kind of stuff that works well for ADHD peeps.

Nitpicky feedback: the layout needs a little tweakery for wide layout; as it stands 3 boxes on a wide screen is quite Large. A `max-width` on the categories and products (they look like the same CSS?) works well.

I especially appreciate the portable desk whiteboard; it seems perfect when I inevitably figure out how to not have an omnidesk (food and work included, which is an utter cardinal sin I know…)

I don't use Amazon so apologise in advance that these might not have affiliate, but I might also recommend the Ikea NILSERIK as a cheaper alternative for an ergonomic stool. A blue light alarm is absolutely useful: the Lumie Zest seems to have been discontinued (good! it was SUPER expensive) but I can't comment on if the newer ones have more gimmick faff. Either way the slow 30minute 'sunrise' is pretty good so I would absolutely recommend it.

If nothing else I can wholeheartedly recommend the youtube channel (and now book!) How To ADHD; Jessica's vids are real thorough, engaging, useful and with brains in mind! It might be super useful to sprinkle them into various articles, though be aware there are a WHOOOLE bunch of vids lol...

Anyhow a fellow ADHD haver you have my thanks and kudos for concept and follow-through! Keep going; you have my bookmark :>

yunruse··on Tell HN: YouTube RSS feeds are gone
Can confirm, feeds are back up.

For posterity, if it ever breaks I made a rough proxy script:

https://gist.github.com/yunruse/93dd40719568dccccebcca26d9ed...

yunruse··on Tell HN: YouTube RSS feeds are gone
Extra anecdata: I've been fetching with Feedly and, having looked into it, it has all my subscriptions right up to a video released just around the same time as this NewPipe issue was raised [0]. I'd wager it's just caching; the YouTube RSS has been down for at least 4 hours (though as another commenter says, Invidious feeds[1] seems to work!)

[0] https://github.com/TeamNewPipe/NewPipe/issues/10801#issuecom...

[1] https://invidious.io, e.g. https://yewtu.be

yunruse··on A copy-and-patch JIT compiler for CPython
The linked paper [0] by Xu and Kjolstad on copy-and-patch JIT is delightfully intriguing! For its original "C-like language" implementation it promises:

> We have implemented an SQL database query compiler on top of this metaprogramming system and show that on TPC-H database benchmarks, copy-and-patch generates code two orders of magnitude faster than LLVM -O0 and three orders of magnitude faster than higher optimization levels. The generated code runs an order of magnitude faster than interpretation and 14% faster than LLVM -O0.

Unless I misunderstand, its mechanism is a caching system on top of clang+llvm: it recognises AST patterns and their corresponding bytecode – copying the "stencils" and patching in variables.

I'd be very eager to see the CPython benchmarks!

[0] https://dl.acm.org/doi/10.1145/3485513

yunruse··on Where did the QWERTY keyboard come from?
I’ve always set up a custom keyboard for exactly that! () on their own keys, [] on shift and {} above 0 and 9. It always struck me as the most natural alignment for prose and programming.

Thankfully between Ukelele [0] and MSKLC [1] it’s pleasantly simple to do

[0] for macOS: https://software.sil.org/ukelele/ [1] for Windows: https://www.microsoft.com/en-us/download/details.aspx?id=102...

yunruse··on Reddark: Website to watch subreddits going dark
I've also been using PowerDeleteSuite[0] to delete all submissions and comments, as deleting your account will not delete posts, just change the user to [deleted].

[0] https://github.com/j0be/PowerDeleteSuite/

yunruse··on Null Island is one of the most visited places on Earth, and it doesn’t exist
I remember this! A company, MaxMind, provided GeoIP mapping, but the default unknown for the US was right on someone's property, which lead to severe distress and (quite reasonably) a lawsuit [0]. A horrifying example of peculiar glitches causing real harm :(

[0] https://www.theguardian.com/technology/2016/aug/09/maxmind-m...

yunruse··on P < 0.05 Considered Harmful
2σ is fine, but the benefit of modern technology is that we can tell exactly what standard deviation would be needed for the null hypothesis to randomly generate our results. Particle physics holds itself to an "industry standard" of 5 sigma, for example.

The real conversation to be had is -- what standard deviation will we tolerate? Is this something we'll keep doing, and thus A/B test ourselves into a (perhaps quite horrifying) local minimum based on random noise? Is this a single great experiment? Are lives on the line? Will these results be taken Quite Seriously? Is this a test to say "look, this is worth further investigation"?

I'm no statistician but in my opinion this is the first conversation that needs to be had when doing an experiment: what p / σ levels are satisfactory to claim confidence? p<0.05 is a decent heuristic for some experiments, but not all.

yunruse··on The first game ‘Easter eggs’ were an act of corporate rebellion
When I was a teen my hometown's government fired me for "security concerns" because if you looked at the JS console on their website you'd see an innocent but goofy easter egg.

It's still there, which continues to tickle me.

yunruse··on Codeberg – Fast open source alternative to GitHub
It seems to be it would help to have some sort of communication pattern, a la Mastodon and ActivityPub, such that these are all both interoperable, and as a bonus interchangeable when it comes to tooling.
yunruse··on ‘Alien calculus’ could save particle physics from infinities
Of course! But the R&D for those tools are very peculiar, at least as I understand it from a friend who works directly on this domain.

Essentially there are a whole variety of different interactions, some of them which interact with themselves. You wind up with a tiny zoo of bizarre diagrammatic creatures that you have to figure out herding patterns for - and only then can you get the tool to do the herding for you. I seem to remember involved a whole deal of abstract group theory.

It's way easier to draw the diagrams on paper to solve all cases of an interaction, anyhow; after all that nightmare you wind up with some result. And from what I recall, the number of cases also grows exponentially too D:

yunruse··on The Diversity of Arabic Scripts
My favourite script has to be Square Kufic [0]. The pixel-like design is abstract and utterly gorgeous on architecture.

[0] https://en.wikipedia.org/wiki/Kufic#Square_Kufic

yunruse··on Show HN: Side-Project: FlowChartGPT – Turn Text into FlowCharts
Is this a pipe to mermaid.js [0]? The syntax is pretty easy and there is also a live editor [1]; what's the value-add to justify $20?

[0] https://mermaid.js.org/intro/ [1] https://mermaid.live

yunruse··on Punctuation Matters: How to use the en dash, em dash and hyphen
I seem to have taken a weird personal style of using dashes in the context that an en dash is used for a splitting clause – like this – whereas an em dash is used only before a finishing clause — like this.

Curious to see if there are any uses for steganography with this (or just identifying people by writing style).

yunruse··on The most boring number in the world is...
As far as I'm aware, most OEIS sequences have a variety of different algorithms (Maple, Mathematica) to generate them. It would be nice to be able to extend these sequences out and see if this has any change to "Sloane's gap".
yunruse··on Use GNU Emacs
VS Code has this built in.

I personally have a set of ⌘N and ⌘W chords [0] for various creations and deletions. ⌘W S to close all saved files is a particular favourite; I don't really pay particular attention to my tabs anymore (just open on the filespace), which is one less thing to think about when coding.

[0] https://github.com/yunruse/.config/blob/zsh/vscode/keybindin...

yunruse··on Bifurcate the Problem Space
The principle reminds me of a “bifurcation algorithm” I found to bifurcate and explore parameter space in a sort of novel way. It has its drawbacks! But it was fun to tinker with, too.

Effectively, we define some function to map N -> B, where N is the natural integers and B is in [0, 1]. (We can then apply some arbitrary function on B for our actual parameter value). We find the initial values as 0, 1, 0.5, 0.25, 0.75; that is: the extrema, all halves (1), all missed quarters (2), missed eighths (4), missed sixteenths (8), and so on. I used some binary representation of N to get B; there are probably other ways to do it.

I found this pretty useful at bifurcating a highly dimensional parameter space – it meant that made sure at all times I could get a decently equal view of all points (with bias towards B=0) in expanding detail. It also meant I didn’t have to think about allocation time, which was useful on a somewhat packed (but use-as-needed) compute cluster.

yunruse··on Named Booleans prevent C++ bugs and save you time
I was curious about the concept of inverting this – requiring that all variables lazily evaluate, and in the case that evaluation is needed now, some keyword obtains it. But when I think about it, that's sort of just `await`.

I'm curious as to if it's feasible to syncretise these two aspects of variable evaluation into a shared feature that makes async and sync code feel alike.

yunruse··on 27 Genetic Variants Linked to ADHD
The Nature paper in question: https://doi.org/10.1038/s41588-022-01285-8

Tad frustrating that the SNPs aren't listed; I'd very much like to see how many in question I have.

yunruse··on Do we live in a society without a counterculture?
Art today is definitely and absolutely still made with love and passion. Films like Everything Everywhere All At Once (or the recent episode of The Last Of Us) take a popular concept or franchise and make it their own. Fanfiction is still at crazy levels, thanks to websites like AO3. The book industry still has outstanding popular modern works which stand on their own and refuse to let genre define them. (Becky Chambers is my favourite for this, with her hygge scifi). There's also a whole host of internet culture - lots of tumblr tags and subreddits - that are actively filled with sharing, passion and community, not for good art that sells, but something that lifts the spirit in its own weird way.

Anecdotes aside, at least for independent artists it may be economical effects that constrain passion and make projects feel so for-profit. Which have always been a thing, unfortunately. Given technology, maybe there is so much art to consume that making art requires forgoing distraction and the general worry that the art will be bad (which is nonsense, because some art simply has a limited audience).

In today's era, stuff like EU art grants [0] can do some good, although I have the feeling that patronage-per-capita is considerably lower than it was in the past; it would be an interesting metric to look at and try best to increase.

[0]: https://culture.ec.europa.eu/funding/cultureu-funding-guide

yunruse··on Tell HN: GitHub now blocks aliased email addresses
I do this too, but with the domain name instead (eg github.com@lastna.me). That way anything that doesn’t pass the simple glob (.) gets filtered off to the admin account for later checking-over.
yunruse··on Hello, PNG
It’s just stenography – each pixel stores a byte in the least significant 2 bits of ARGB.

https://pico-8.fandom.com/wiki/P8PNGFileFormat

← PreviousPage 2 of 6Next →