Top Stories

The stories and information posted here are taken from HackerNews API. This project is intended to be not a real thing, just as fun project.
ananas-dev02/09/26(Mon)02:07:36No.4694534832

UEFI Bindings for JavaScript

https://codeberg.org/smnx/promethee
12 reply omitted.Click here to view.
>>
madduci02/09/26(Mon)02:26:53No.46945552
>>
monax02/09/26(Mon)02:28:17No.46945568

It's just a silly experiment; the real endgame is to make a bootloader that is customisable using HTML/CSS/JS

>>
g05105102/09/26(Mon)02:29:46No.46945585
>>46945348 (OP)

"Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should."

Pretty neat, though.

ingve02/09/26(Mon)01:54:48No.4694523534
adrianhon02/09/26(Mon)02:16:46No.4694544816
25 reply omitted.Click here to view.
>>
>>

This feels like piracy to me and an unintended usecase of archives.

>>
Handprint446902/09/26(Mon)02:42:44No.46945727

> Are paywalls ok? [0]

>> It's ok to post stories from sites with paywalls that have workarounds.

>> In comments, it's ok to ask how to read an article and to help other users do so.

[0] https://news.ycombinator.com/newsfaq.html#:~:text=Are%20payw...

tombh02/09/26(Mon)10:05:55No.46943568183

Show HN: Algorithmically Finding the Longest Line of Sight on Earth

https://alltheviews.world

We're Tom and Ryan and we teamed up to build an algorithm with Rust and SIMD to exhaustively search for the longest line of sight on the planet. We can confirm that a previously speculated view between Pik Dankova in Kyrgyzstan and the Hindu Kush in China is indeed the longest, at 530km.

We go into all the details at https://alltheviews.world

And there's an interactive map with over 1 billion longest lines, covering the whole world at https://map.alltheviews.world Just click on any point and it'll load its longest line of sight.

Some of you may remember Tom's post[1] from a few months ago about how to efficiently pack visibility tiles for computing the entire planet. Well now it's done. The compute run itself took 100s of AMD Turin cores, 100s of GBs of RAM, a few TBs of disk and 2 days of constant runtime on multiple machines.

If you are interested in the technical details, Ryan and I have written extensively about the algorithm and pipeline that got us here:

* Tom's blog post: https://tombh.co.uk/longest-line-of-sight

* Ryan's technical breakdown: https://ryan.berge.rs/posts/total-viewshed-algorithm

This was a labor of love and we hope it inspires you both technically and naturally, to get you out seeing some of these vast views for yourselves!

1. https://news.ycombinator.com/item?id=45485227

68 reply omitted.Click here to view.
>>
umpriel02/09/26(Mon)10:11:25No.46943595
>>
pestatije02/09/26(Mon)12:11:31No.46944387
>>46943568 (OP)

It be nice to get the 3 or 5 longest distances from a specific point, not just the longestest

>>
drcongo02/09/26(Mon)12:39:47No.46944585
>>46943568 (OP)

This is my favourite kind of HN post, and I absolutely love this one. Would love to see photos from each of these views.

pul02/09/26(Mon)12:35:19No.4694455571

Show HN: Browse Internet Infrastructure

https://www.wirewiki.com

I'm launching Wirewiki.com today!

Wirewiki makes the internet’s hidden infrastructure browsable.

I quit my job 5 years ago to scale Nslookup.io. But after reaching 600k monthly users, I hit a ceiling. I couldn't naturally expand beyond DNS because of the domain name.

So I went back to the drawing board: how would I make it today? Not as a collection of tools, but as a browsable graph.

I've spent hundreds of hours and commits building that. It's not even at 10% of what I want it to be, but more than enough to be useful, and (in my biased opinion) much better than what's out there.

Wirewiki launches with DNS lookup, propagation, zone transfer and SPF checking. It also scans the entire IPv4 space for DNS servers and indexes them. I'm working on adding more data and tools.

I feel like I've developed tunnel vision, so if you see anything that feels off, let me know!

I'll keep Wirewiki open and free. Once it has a substantial amount of users, I'll open it up to sponsorship / brand integration from hosting providers, registrars and CDNs, as users will likely be in the market for those. But my goal is to keep Wirewiki free from display ads. I'm confident that's viable.

15 reply omitted.Click here to view.
>>
pul02/09/26(Mon)01:08:43No.46944829
>>46944555 (OP)

Also: ask me anything.

>>
tushgaurav02/09/26(Mon)01:23:18No.46944938

i remember watching your DNS course, it was very good! Do you have any other resources that you like? where i can learn internet infra, dns or anything. Thanks!!

>>
pul02/09/26(Mon)01:31:08No.46945005

Oh thanks!

Depends on how you prefer to learn, but here are a few suggestions.

I've heard good things about the Computer Networks book by Tanenbaum and Wetherall, but I haven't read it myself. Very broad and comprehensive. The most hardcore way would be to make reading RFCs your hobby. It can be tough to get through, but if you regularly take half an hour to do it, you'll learn so much. I've recently started a course at https://classes.pracnet.net/, which is good too.

ibobev02/09/26(Mon)02:36:14No.469456413

Long-Sought Proof Tames Some of Math's Unruliest Equations

https://www.quantamagazine.org/long-sought-proof-tames-some-of-m...
x0102/09/26(Mon)02:37:38No.4694566340

Discord will require a face scan or ID for full access next month

https://www.theverge.com/tech/875309/discord-age-verification-gl...
28 reply omitted.Click here to view.
>>
onetokeoverthe02/09/26(Mon)02:41:43No.46945718
>>46945663 (OP)

another one bites the dust.

>>
nananana902/09/26(Mon)02:45:28No.46945767
>>46945663 (OP)

Honestly they're probably big enough to get away with it.

If it was only friend groups it would kill them for sure, we've seen that many times, but given the absurd amount many large online communities on Discord, I'd wager they can force it down and be relatively unscathed.

They played the long game - they provided a good service for 10 years, and got REALLY big before they started the enshittification process.

>>
kmeisthax02/09/26(Mon)02:46:01No.46945777
>>46945663 (OP)

Any age verification process that does not consider the age of the account as a verification option is a data trap, plain and simple.

linolevan02/08/26(Sun)09:05:24No.46938511463
148 reply omitted.Click here to view.
>>
>>46938511 (OP)

I love SimCity 2000 and these roads look really cool but I'd really like to see a city-builder go in a different direction.

One of the biggest problems with North American cities is their endless, car-centric suburban sprawl. SimCity games may be really fun to play but they seem to reinforce this problem and anyone who grows up playing them will not learn about alternatives for more livable cities.

New Urbanism, traditional neighbourhood design, streetcar suburbs, one-way streets, bike paths, walking paths, mixed-zone walkable villages (light commercial with residential), smaller single-family houses and duplexes, triplexes, houses behind houses. Many of these are older and more traditional techniques to yield higher density neighbourhoods without building up to large apartment buildings.

It would be really cool to see a game that focused more on creating these kinds of realistic and aspirational living spaces instead of the usual cookie-cutter suburbs linked up by huge roads and a large downtown core.

>>
mh226602/09/26(Mon)03:06:40No.46941133

this is definitely doable in CS (+mods), search YouTube for "cities skylines European" or something like that.

you need "plop the growables" and "move it" mods at minimum to nudge all the buildings close together.

>>
nonethewiser02/09/26(Mon)03:56:12No.46941408
>>46941316

[flagged]

rbanffy02/09/26(Mon)11:53:13No.46944245109

Matrix messaging gaining ground in government IT

https://www.theregister.com/2026/02/09/matrix_element_secure_cha...
73 reply omitted.Click here to view.
>>
Buxato02/09/26(Mon)12:45:38No.46944642
>>46944245 (OP)

I deleted my matrix account after I receive some very nasty spam in form of Element Android notification. I think it wasn't Matrix direct fault, but as I used some Matrix chat groups and the list of member was public .. But I got really alarmed and angry when I receive so disgusting spam.

>>
ticulatedspline02/09/26(Mon)01:44:23No.46945113
>>46944245 (OP)

Never heard of Matrix before (as a protocol) what's it's advantage over XMPP?

>>
jimmydoe02/09/26(Mon)01:58:27No.46945264
>>46944245 (OP)

Why govt needs e2ee? Transparency is all we need.

chwtutha02/08/26(Sun)03:09:28No.46930961951
420 reply omitted.Click here to view.
>>
archagon02/08/26(Sun)05:32:41No.46936514
>>46930961 (OP)

However good (or bad) this idea may be, you are shooting yourself in the foot by announcing it on Twitter. Half the devs I know won’t touch that site with a ten foot pole.

>>
rcakebread02/08/26(Sun)07:16:55No.46937497
>>46930961 (OP)

Who trusts people who still use X?

>>
jimmaswell02/08/26(Sun)07:19:19No.46937529

I still prefer it to Wayland for various reasons, and I don't think Wayland would work properly on my mid 2010 Macbook anyway.

vhsdev02/09/26(Mon)11:30:06No.4694408420

Show HN: Minimal NIST/OWASP-compliant auth implementation for Cloudflare Workers

https://github.com/vhscom/private-landing

This is an educational reference implementation showing how to build reasonably secure, standards-compliant authentication from first principles on Cloudflare Workers.

Stack: Hono, Turso (libSQL), PBKDF2-SHA384 + normalization + common-password checks, JWT access + refresh tokens with revocation support, HTTP-only SameSite cookies, device tracking.

It's deliberately minimal — no OAuth, no passkeys, no magic links, no rate limiting — because the goal is clarity and auditability.

I wrote it mainly to deeply understand edge-runtime auth constraints and to have a clean Apache-2.0 example that follows NIST SP 800-63B / SP 800-132 and OWASP guidance.

For production I'd almost always reach for Better Auth instead (https://www.better-auth.com) — this repo is not trying to compete with it.

Live demo: https://private-landing.vhsdev.workers.dev/

Repo: https://github.com/vhscom/private-landing

Happy to answer questions about the crypto choices, the refresh token revocation pattern, Turso schema, constant-time comparison, unicode pitfalls, etc.

8 reply omitted.Click here to view.
>>
TheTaytay02/09/26(Mon)01:01:15No.46944778
>>46944084 (OP)

Thank you for writing/publishing this. I especially appreciate the prominent warning at the top not to mistake it for a production library and to suggest an alternative. (It’s surprising to me how often people forget to add disclaimers like that to their code.)

>>
vhsdev02/09/26(Mon)01:03:41No.46944794

Appreciate it, TheTaytay!

>>
usefulposter02/09/26(Mon)01:05:18No.46944804
>>46944084 (OP)

Oy.

Who specifically is this intended for? It's a wonder that the model didn't spice things up with some tangential compliance catnip like FIPS or PCI DSS.

I would be curious to see the prompts used to create this.

Recently, I don't think there could be a better example of applicability of Brandolini's law.

todsacerdoti02/09/26(Mon)10:37:20No.4694375296
20 reply omitted.Click here to view.
>>
j4cobgarby02/09/26(Mon)11:51:50No.46944239
>>46943752 (OP)

This looks interesting! I wanted to find more info about the Gemini protocol, and it's annoying how un-searchable it is now due to Google Gemini.

>>
kkfx02/09/26(Mon)12:26:02No.46944493
>>46943752 (OP)

I wonder when contemporary developers will (re)invent Emacs/Gnus: the unified inbox for email, feeds, and news, because what really matters are text messages + eventual multimedia content, personal and private scoring to manage them, and a consistent local UI that allows for personal archiving and resharing.

I've looked at the Fediverse, objectively with little hope and many design issues, I'm watching Nostr with interest even though it seems more like a rough sketch lacking the ideas to move forward, but that concept of Gnus and Usenet, so simple in itself, still hasn't managed to resurface.

>>
anthk02/09/26(Mon)12:30:10No.46944522
>>46943752 (OP)

There should ve a variable to choose your inline image reader, between chafa, timg, some wrapper around w3mimgdisplay...

Harcoding it it's bad.

azhenley02/09/26(Mon)05:28:15No.46941882102
82 reply omitted.Click here to view.
>>
bsder02/09/26(Mon)08:21:32No.46942907
>>46941882 (OP)

Sure, we have complex systems that we don't know how everything works (car, computer, cellphone, etc.) . However, we do expect that those systems behave deterministically in their interface to us. And when they don't, we consider them broken.

For example, why is the HP-12C still the dominant business calculator? Because using other calculators for certain financial calculations were non-deterministically wrong. The HP-12C may not have even been strictly "correct", but it was deterministic in the ways in wasn't.

Financial people didn't know or care about guard digits or numerical instability. They very much did care that their financial calculations were consistent and predictable.

The question is: Who will build the HP-12C of AI?

>>
anon29102/09/26(Mon)08:27:50No.46942952
>>46941882 (OP)

I don't like this thing where we dislike 'magic'

The issue with frameworks is not the magic. We feel like it's magic because the interfaces are not stable. If the interfaces were stable we'd consider them just a real component of building whatever

You don't need to know anything about hardware to properly use a CPU isa.

The difference is the cpu isa is documented, well tested and stable. We can build systems that offer stability and are formally verified as an industry. We just choose not to.

redman2502/09/26(Mon)02:22:12No.4694549712

AT&T, Verizon blocking release of Salt Typhoon security assessment reports

https://www.reuters.com/business/media-telecom/senator-says-att-...
PaulHoule02/04/26(Wed)06:34:29No.4688971077

LispE: Lisp Interpreter with Pattern Programming and Lazy Evaluation

https://github.com/naver/lispe
15 reply omitted.Click here to view.
>>
>>46889710 (OP)

> LispE provides an alternative to parentheses with the composition operator: "."

That is a... Choice.

Breaking the pair operator in favour of something new.

>>
ilikestarcraft02/09/26(Mon)09:05:00No.46943208
>>46889710 (OP)

Whoa I never expected to see a lisp repository from Naver

>>
sph02/09/26(Mon)09:42:27No.46943438

Yeah, that's pretty unclean on two aspects: breaks pairs, and breaks the orthogonality of s-expressions

A simple macro would've sufficed, say:

  (compose
    sum
    (numbers 1 2 3))

andsoitis02/05/26(Thu)02:20:38No.4689990029

Roman industrial hub discovered on banks of River Wear

https://www.durham.ac.uk/news-events/latest-news/2026/01/roman-i...
>>
jstanley02/09/26(Mon)01:35:29No.46945042
>>46899900 (OP)

For some reason I was expecting a large wheel hub.

>>
b11202/09/26(Mon)01:53:06No.46945211
>>46899900 (OP)

Being it's the Romans, and there are a lot of years of Romans, wouldn't one expect such a hub...

Every Wear?

>>
mitthrowaway202/09/26(Mon)01:54:52No.46945237
>>46899900 (OP)

> OSL measures when minerals such as quartz were last exposed to sunlight. Over time, these minerals build up a tiny store of energy while buried. When stimulated with light or heat in the laboratory, the minerals release this energy as a faint glow, which tells experts how long they have been underground.

Now that's just magic, plain and simple.

surprisetalk02/04/26(Wed)01:17:05No.4688546924
>>
user____name02/09/26(Mon)11:08:58No.46943967
>>46885469 (OP)

Hippies would have been all over this.

>>
cpt_sobel02/09/26(Mon)02:44:01No.46945743
>>46885469 (OP)

I was pointed to this by the Dealgorithmed mailing list, pretty nice (I'm not affiliated!)

znah02/08/26(Sun)01:18:37No.4693395512

Like Game-of-Life, but on Growing Graphs, with WASM and WebGL

https://znah.net/graphs/
>>
n0um3n402/09/26(Mon)11:21:28No.46944041
>>46933955 (OP)

mesmerizing...

bobbiechen02/08/26(Sun)10:39:46No.46939312133

Show HN: A custom font that displays Cistercian numerals using ligatures

https://bobbiec.github.io/cistercian-font.html
27 reply omitted.Click here to view.
>>
readthenotes102/09/26(Mon)02:25:44No.46940902
>>46939312 (OP)

In a high trust environment, I suppose easy addition is helpful. Probably not best used in loan agreements.

>>
crazygringo02/09/26(Mon)02:43:15No.46941005

Fun fact: Chinese has separate "financial numerals" precisely to prevent one digit being changed to another, the way that could be easily done with regular numerals like turning 一 (1) into 三 (3) or 十 (10). A lot harder when they look like 壹, 叁, and 拾 instead.

https://en.wikipedia.org/wiki/Chinese_numerals#Financial_num...

>>
lovich02/09/26(Mon)06:06:15No.46942053

Neat, you made me one of the 10 thousand today.

muggermuch02/08/26(Sun)11:27:59No.46939685134

Every book recommended on the Odd Lots Discord

https://odd-lots-books.netlify.app/
56 reply omitted.Click here to view.
>>
dash202/09/26(Mon)03:18:55No.46941202
>>46939685 (OP)

Who wrote the blurbs?

>>
glaucon02/09/26(Mon)03:57:30No.46941414

The book that I looked at had the same blurb on odd-lots-books.netlify.app as was used in my local library catalogue, so I assume it's the standard publisher's blurb?

>>
PaulRobinson02/09/26(Mon)09:12:33No.46943262
>>46939685 (OP)

PSA: 99.999% of people should ignore most of the entries on lists like this.

I devour reading material. I love books - fiction, non-fiction, audio books, trade paperbacks, newly minted hardbacks, old musty stuff in a basement, all of it - and subscribe to Literary Review and Granta, and check in on London Review of Books and The Times Literary Supplement when I can. I subscribe to quality newspapers and periodicals, and I'd rather spend an evening in a bookshop with late opening hours than a nightclub. Reading is great. Everyone should do a lot more of it - it's food for the soul.

But reading lists put together by other people aren't good for you. If anything, they get in the way of you figuring out what you want to read.

Here's some simple maths: life expectancy in my home country is 83 years for females, 79 years for males. I am male, have multiple (not imminently life-threatening), health conditions, and so with a little maths I can expect to live perhaps 25 more years. Sobering. But it is reality.

If I read a book a week (which is way higher a rate than the average reading rate, and slow for a fan of reading - but I like to absorb books a little more slowly), I am going to max out at 1,300 books in the rest of my life.

Most people read a few books a year. At that rate I'd have just 75-100 books to read in the rest of my time alive. If that were my number, I should probably make each one of those books count in some way.

You should do this maths yourself, and across a few dimensions. You only have so many books, films, music gigs, vacations/holidays, restaurant visits, whatever left in your life.

As an aside, you only have so many side projects, business ideas you'll get a chance to build and test in the market, and opportunities to invest in somebody else's ideas. You should do those maths too: figure out what your error bars could look like. They're probably not as optimistic as you'd hope for.

At first, this might feel terrifying. I prefer to see it as "focusing".

Do you really want to read all 842 of the books on that list? Is this the oeuvre you want to invest a sizeable chunk of your remaining life in? Are you confident this will make you feel whole, that you will get to the end and have no regrets about making this your mission? If you yes to all these questions, and are sure: brilliant, you have found a purpose in life few others ever will. Godspeed and good luck!

For most people though, lists like this are just another todo list that create a sense of inadequacy, FOMO or regret.

In 1880, the designer William Morris said "Have nothing in your houses that you do not know to be useful, or believe to be beautiful".

Apply this to your reading lists[0]. Curate. Edit. Find what makes your heart sing or your brain grow, and dive in.

Do not worry about what other people think you "should" read. Do not read "the great classics" if they do not interest you. Safely ignore award winning writers - from Nobel laureates, to Pulitzer Prize winners, to Booker short-listed authors - unless something about that book speaks to you and you almost yearn for it.

Because when you do that, you'll realise a) most books are junk to you (but might be great for someone else), and b) that as you start to develop the habit of reading the things that you genuinely want to, it becomes a healthy, mind-nourishing obsession.

Come on in, the pages are lovely.

[0] Actually, apply this rule to everything you can in your life. It can be hard to start, but worthwhile.

walterbell02/04/26(Wed)10:54:55No.4689306986
79 reply omitted.Click here to view.
>>
fancymcpoopoo02/09/26(Mon)01:27:40No.46944972
>>46893069 (OP)

Should the use of cliches be made a criminal offense?

>>
mhb02/09/26(Mon)01:29:43No.46944994

If you want the prisons to be full of American sports commentators.

>>
guerrilla02/09/26(Mon)01:35:54No.46945046

Sounds good.

ariaalam02/08/26(Sun)05:08:30No.46936237258

Show HN: I created a Mars colony RPG based on Kim Stanley Robinson’s Mars books

https://underhillgame.com/

I built a desktop Mars colony survival game called Underhill, in homage to Kim Stanley Robinson's Mars trilogy. Land on Mars, build solar panels and greenhouses, and try not to pass out during dust storms. Eventually your colonists split into factions: Greens who want to terraform and Reds who want to preserve Mars.

There’s Chill Mode for players that just want to build & hang, and Conflict Mode that introduces the Red v. Green factions. Reds sabotage, the terrain slowly turns green as the world gets more terraformed.

Feedback welcome, especially on performance and gameplay!

85 reply omitted.Click here to view.
>>
>>
UltraSane02/08/26(Sun)10:13:48No.46939105
>>46936237 (OP)

When the mars space elevator was brought down and wrapped around mars TWICE was one of the most memorable moments of any book I've ever read.

>>
Aeolun02/08/26(Sun)10:21:00No.46939158

Spoilers! But yeah, that was a memorable scene.

david92702/08/26(Sun)07:35:55No.46937696191

Ask HN: What are you working on? (February 2026)

What are you working on? Any new ideas that you're thinking about?

676 reply omitted.Click here to view.
>>
>>46937696 (OP)

Microplastics are bad. People are concerned that there are microplastics in your balls! And that this could epigenetically affect downstream generations. I want to test that theory with a real human, not an animal model.

My plan: collect my own sperm samples over time and do whole DNA preps + basic body metrics. Sperm regenerates approximately every 10w, so planning time series over 10w. Next, inject myself to ~10x the average amount of microplastics, directly into the bloodstream. Continue with the sperm collection, DNA preps, and basic body metrics. Nanopore sequence, and see if there actually ARE any epigenetic changes. Eventually I'll go back down to baseline - are there any lasting changes?

Of course, this is an N=1 experiment, but rather than a metastudy I'm directly changing one variable, so I think it is valuable. We should have more people doing controlled experiments on themselves for the sake of all of society - and as a biologist, I actually have the capacity to design the experiments and scientifically interpret the results. In a way, it's part of civic duty :)

>>
jackblemming02/08/26(Sun)11:36:49No.46939742

Godspeed you legend.

>>
claysmithr02/09/26(Mon)12:14:29No.46939991

ok, but I don't think people are injecting them directly into their bloodsteam...

gtsnexp02/08/26(Sun)08:26:36No.46932444107
32 reply omitted.Click here to view.
>>
zeofig02/09/26(Mon)02:33:12No.46940941
>>46932444 (OP)

The account of the youtube video linked in the article has been terminated apparently. Anyone know why or if there's an alternate link?

>>
>>
Simboo02/09/26(Mon)02:56:01No.46941065
>>46932444 (OP)

Now that was nice. I liked that a lot thank you for sharing.

tosh02/08/26(Sun)08:38:55No.46938280157
Loading...
Loading Replies...
aaronng9102/08/26(Sun)06:13:48No.46936920152

Experts Have World Models. LLMs Have Word Models

https://www.latent.space/p/adversarial-reasoning
151 reply omitted.Click here to view.
>>
>>
Xmd5a02/08/26(Sun)08:58:07No.46938435

another "noahpinion"

>>
swyx02/08/26(Sun)09:22:28No.46938639

you realize ankit is from india and i'm from singapore right lol

bookman1002/09/26(Mon)12:09:04No.469443656

Show HN: Printable Classics – Free printable classic books for hobby bookbinders

https://printableclassics.com

I created a site (https://printableclassics.com) that allows you to download classic books and customize things like the font size, page size, and the cover.

As part of this, I wrote a software pipeline that takes epubs, html files, or pdfs and converts them into formatted books with custom covers, page numbers, chapter formatting, etc.

I used an LLM for categorizing the books. There's a nice way to filter such that you could easily find "Young Adult, Ancient, Fantasy" for example.

When downloading from the site, the PDFS are rendered in a work queue. Hopefully the server I'm using won't get overwhelmed. It takes around 10-15 seconds to generate for most books.

Most of the books currently on the site are from Standard Ebooks. I plan to add more books from Archive.org and Project Gutenberg over time.

I also created a little guide on how you can print and bind books at home with around $200 in equipment. (https://printableclassics.com/print-guide)

Printable versions of the Harvard Classics are available here: https://printableclassics.com/harvard_classics This is an example of direct PDF conversion.

Hopefully this is useful to some people. I plan to use the books here for home education myself so it will at least be useful to me. I'd like to add a guide with top suggestions by age level and some educational theory on how I made the selections. I'm happy to take any feedback on the site or answer any questions.

There is also the option to have the books professionally printed through a print on demand provider. I'm hoping that could be a way to pay for the site hosting.

Thanks for checking it out!

kristianp02/08/26(Sun)08:52:55No.46938398242
166 reply omitted.Click here to view.
>>
jeffbee02/08/26(Sun)10:38:54No.46939305
>>46938398 (OP)

This sucks because the web should be the perfect, safe platform for this kind of application, but it isn't. Technically all the features exist in the browser such that you could write a homedir cleaner, space analyzer, etc purely in a browser tab, but because of the misguided (in my opinion) way that browsers refuse to do open a homedir, it's impossible.

>>
digiown02/08/26(Sun)10:47:13No.46939377

I'm not sure letting a webapp access your home is a good idea. You're basically YOLOing random remote code to run on your machine. Maybe we can have it access some specific folder for its own data.

And then there's also Apple which won't allow functional web apps, lest it affects their app store 30% cut.

>>
jeffbee02/08/26(Sun)10:55:08No.46939440

The web already has these APIs, it can be granted read-only permissions to designated directories. But the browsers will refuse to allow you to delegate even read-only access to, for example, the macos ~/Applications folder, on the pretty shaky basis of it being "system files". Because of that policy the API is not useful for the application of a space analyzer.

jimbauwens02/04/26(Wed)01:57:39No.4688584172

Custom Firmware for the MZ-RH1 – Ready for Testing

https://sir68k.re/posts/rh1-firmware-available/
18 reply omitted.Click here to view.
>>
busterarm02/09/26(Mon)04:36:47No.46941634
>>46885841 (OP)

I have an MZ-RH10 lying around somewhere that would be neat to try working on.

Some folks have recently done screen replacements on those and that might be worth doing first.

>>
joecool102902/09/26(Mon)05:12:38No.46941799
>>46885841 (OP)

always wanted one of these models then prices skyrocketed. now there’s not much of a point as the primary novel feature, uploading, was reverse engineered for all other NetMD models (ones that take standard batteries and have screens that don’t burn-in), just need a WebUSB browser and go here: https://web.minidisc.wiki/

>>
vr4602/09/26(Mon)06:38:38No.46942238

Asivery screen replacement is great. Need some soldering skills but it's wonderful.

andrewjf02/04/26(Wed)04:16:06No.4688766531
54 reply omitted.Click here to view.
>>
lstodd02/09/26(Mon)11:06:07No.46943944
>>46887665 (OP)

I was rewriting a mod for Rimworld recently. As Rimworld is built on Unity, it's all some sort of C#. I heard people say it's a wrong kind of C#, but since a) I had no choice and b) I never wrote any C# before I cannot tell.

First, C# proudly declares itself strongly-typed. After writing some code in Zig (a project just before this one, also undertaken as a learning opportunity, and not yet finished), I was confused. This is what is called strong-typed? C# felt more like Python to me after Zig (and Rust). Yes there are types. No, they are not very useful in limiting expression of absurdity or helping expression of intent.

Second, test. How do you write tests for a mod that depends on an undocumented 12 year old codebase plus of half a dozen of other mods? Short answer - it's infeasible. You can maybe extract some kind of core code from your mod and test that, but that doesn't help the glue code which is easily 50-80% in any given mod.

So what's left? I have great temptation to extract that core part and rewrite it in Zig. If Unity's C#-flavor FFI would work between linux and windows, if marshalling data would not kill performance outright, if it won't scare off potential contributors (and it will of course), if, if...

I guess I wanted to say that the tests are frequently overrated and not always possible. If language itself lends a hand, even as small and wimpy as C#'s, don't reject it as some sort of abomination.

>>
mrkeen02/09/26(Mon)11:16:08No.46944009
>>46887665 (OP)

> For example, in Swift, if you declare a function to throw an exception, then by God every call to that function, all the way up the stack, must be adorned with a do-try block, or a try!, or a try?.

Funnily enough, Uncle Bob himself evangelised and popularised the solution to this. Dependency Inversion. (Not to be confused with dependency injection or IOC containers or Spring or Guice!) Your call chains must flow from concrete to abstract. Concrete is: machinery, IO, DBs, other organisation's code. Abstract is what your product owners can talk about: users, taxes, business logic.

When you get DI wrong, you end up with long, stupid call-chains where each developer tries to be helpful and 'abstract' the underlying machinery:

  UserController -> UserService -> UserRepository -> PostgresConnectionPoolFactory -> PostgresConnectionPool -> PostgresConnection
(Don't forget to double each of those up with file-names prefixed with I - for 'testing'* /s )

Now when you simply want to call userService.isUserSubscriptionActive(user), of course anything below it can throw upward. Your business logic to check a user subscription now contains rules on what to do if a pooled connection is feeling a little flakey today. It's at this point that Uncle Bob 2017 says "I'm the developer, just let me ignore this error case".

What would Uncle Bob 2014 have said?

Pull the concrete/IO/dependency stuff up and out, and make it call the business logic:

  UserController:
      
      user? <- (UserRepository -> PostgresConnectionPoolFactory -> PostgresConnectionPool -> PostgresConnection)
      // Can't find a user for whatever reason? return 404, or whatever your coding style dictates

      result <- UserService.isUserSubscriptionActive(user)

      return result
The first call should be highly-decorated with !? or whatever variant of checked-exception you're using. You should absolutely anticipate that a DB call or REST call can fail. It shouldn't be particularly much extra code, especially if you've generalised the code to 'get thing from the database', rather than writing it out anew for each new concern.

The second call should not permit failure. You are running pure business logic on a business entity. Trivially covered by unit tests. If isUserSubscriptionActive does 'go wrong', fix the damn code, rather than decorating your coding mistake as a checked Exception. And if it really can't be fixed, you're in 'let it crash' territory anyway.

* I took a jab at testing, and now at least one of you's thinking: "Well how do I test UserService.isUserSubscriptionActive if I don't make an IUserRepository so I can mock it?" Look at the code above: UserService is passed a User directly - no dependency on UserRepository means no need for an IUserRepository.

>>
nitnelave02/09/26(Mon)01:00:48No.46944773
>>46887665 (OP)

Isn't that the classic argument "Real C programmers don't write defaults!" ?

The one that companies have spent billions of dollars fixing, including creating new restrictive languages?

I mean, I get the point of tests, but if your language obviates the need for some tests, it's a win for everyone. And as for the "how much code will I need to change to propagate this null?", the type system will tell you all the places where it might have an impact; once it compiles again, you can be fairly sure that you handled it in every place.