News for hackers. Stuff that matters.

seletz

Re:Type-safe HTML templating in Zig on Tuesday October 13, 2026 @07:15AM (#50069865)
Liililk scwlewsusiusk leaa as slf e e.
Re:Type-safe HTML templating in Zig on Tuesday October 13, 2026 @07:13AM (#50069851)
C rrverevrrl I’ll colorectalrooo vötvötlbtvllttbp pvpbtp
Re:Ask HN: Best self-hosted wiki for local communities? on Friday January 03, 2025 @11:16AM (#42586875)
And I went on and posted a comment doing the same. Getting started fast weighs sometimes more.
Re:Ask HN: Best self-hosted wiki for local communities? on Friday January 03, 2025 @11:15AM (#42586863)
If you're a developer, you might start by using a static site generator and GitHub Pages. Stick to Markdown and start collecting and writing stuff. Sooner or later you'll get comments and regular readers. Then you might start to add editing or simply give other people access to GitHub. The editing experience of Markdown files in GitHub is not too bad and you get started in no time.

From my experience it's more often not the tools but the content.

For comments you could use https://giscus.app which integrates very nicely with GitHub.

Doing so you have *no* setup costs.

I'm aware that this is not exactly *self hosted* -- but it has the advantage that you have no upfront cost. And most of the static site generators are just that, you could host the output on any 5$ web server.

Re:Ask HN: Best self-hosted wiki for local communities? on Friday January 03, 2025 @11:08AM (#42586798)
Hmm -- the OP asked for a self-hosted WIKI. Looking at the link you posted it seems to be a hosting service for WIKIs or am I missing something?
That's not at all our experience. We use KC for all our auth/auth needs and it basically "just works".

The UI might look a little outdated, but that's a admin ui anyhow. Lately even that got better.

Cannot recommend KC enough. Even kenning locally on our dev boxen, it never failed on us.

We use KC with PostgreSQL as backend data store. Backup is done by backing up the PostgreSQL database.

If you actually want to transport configuration across environments (DEV, QA, PROD), then you want to export realms and have it load by KC on startup or import it using the UI.

I‘m turning 50 this week. I wish I’d noticed sooner that life is always „now“, not some distant future. All that productivity talk is good, but don’t forget about yourself now.
Re:Thoughts on Markdown on Monday February 21, 2022 @06:49AM (#30414729)
Well, that really seems to be a very hard problem to me.

Tables for instance get quite complex pretty fast -- joined cells, text alignment, etc.

As for a format which -- not plain text, though -- that handles this is rich text. It's been around for quite some time.

IMHO the problem is in the difference between presentation and data. One group of consumers want the "data" and parse it, the other group of consumers want to basically have it "look the same in this app as in the other app, and don't make my think."

Re:Show HN: High performance X11 animated wallpapers on Monday August 03, 2020 @08:09AM (#24036662)
Looking at the video, I guess the author uses I3.
Re:Apple Faceshield on Tuesday April 07, 2020 @07:14PM (#22808486)
Stop spreading FUD.
Re:Ask HN: Are you ok? on Thursday September 12, 2019 @02:06PM (#20954443)
Right now -- OK-ish. Had a good day. Buried myself in work, feeling "productive". Making, producing things. That's what I came for, that's what I long time ago called my "hobby". Making. Tinkering. Doing.

Most of the time nowadays I feel overwhelmed, insufficient, unable. Fighting windmills. Meetings. Pointless meetings. Again, again and again. The same stories. The same questions, the same -- wrong -- conclusions. Me, predicting the -- to me -- obvious outcome.

Communicating to other humans sometimes feels so hard.

Most of the stuff I do is completely bogus and pointless. We're -- I'm in -- consulting hell in the enterprise world. Company too small to get at least "rich". Time-thief customers, can't fire them -- they pay employees. Can't fire them -- that would be the downward spiral again (been there, done that).

Thought about quitting -- my "job", I'm a founder-owner CTO, 46 years -- but imposter syndrome struck hard. Reading job postings, compared skills to things I did. I've been developing software for over 20 years now -- but can I compete? Daily HN does not help.

Change-it, leave-it or like-it -- chose to choose "change-it". Again picking fights, hopefully the right ones.

Trying to stick to principles I've seemingly forgotten -- and fight for them. Changing, trying to morph my "job" such that I like it again.

But I strongly feel that I'm running out of time. Brain does work differently -- slower, but deeper -- now it seems. Need to adopt, slow down. Keep thinking, not rushing.

Maybe I should get a therapist. Sometimes I feel I'm borderline on the manic-depressive spectrum. Should get that app idea going I have -- two buttons "OK" "BAD". See if I see cycles. But then again, reading other stories here I feel I'm unthankful, and I'm maybe OK off after all.

At least I have a very loving wife and two wonderful children. And -- compared to the world population -- I'm pretty sure I'm financially better off than 99% of all people.

Re:Build me a Lisp on Saturday February 09, 2019 @10:27AM (#19122712)
If you enjoy reading code and want to know a bit more about lisp, maybe this is interesting:

"Scheme 9 from empty space" -- https://t3x.org/s9fes/

It's a scheme built in c using literate programming. You can even buy a printed version.

Also, there's "Lisp in small pieces" if you want to go deeper -- https://books.google.de/books/about/Lisp_in_Small_Pieces.htm...

Re:Show HN: Send encrypted secrets from the command line on Thursday January 10, 2019 @02:56PM (#18877448)
Look here:

https://magic-wormhole.readthedocs.io/en/latest/welcome.html...

tl,dr:

- Rendezvous server is a public one - You can run your own - Code is in the `wormhole` library.

Just tried it out. Used ngrok to tunnel port 22 of my laptop and ssh'd into it from jslinux (my laptop has no public DNS entry and my home network is not on IPv6 yet).

It does work.

Re:Audiophiles in Japan Are Installing Their Own Power Poles on Saturday December 29, 2018 @05:12AM (#18782941)
DC i could understand. But AC ...
Re:Scheme 9 from Empty Space, Reimagined on Wednesday October 24, 2018 @01:52AM (#18290024)
Clicked too fast.

From the website: "The book might eventually get an update, if circumstances permit."

Re:Scheme 9 from Empty Space, Reimagined on Wednesday October 24, 2018 @01:50AM (#18290011)
I wonder if the book will be updated?
Re:Inspector – A drop-anywhere C++ REPL on Monday February 12, 2018 @02:33PM (#16361312)
Just reading up on xeus (nice name!) -- very exciting! Do you know it xeus happens to build on Windows 10?

I'm thinking about to try to use SWIG to create a JNI wrapper for it.

Re:Inspector – A drop-anywhere C++ REPL on Monday February 12, 2018 @02:24PM (#16361207)
Oh wow! Even a backend for Jupyter's interactive widgets!
Re:Inspector – A drop-anywhere C++ REPL on Monday February 12, 2018 @02:02PM (#16361016)
Thanks -- I wasn't aware that something like cling exists.

How does Inspector differentiate itself from embedding cling to an application? It's very interesting to me because I've been trying to get something like an IPython console / IPdb prompt inside Java using Jython for a long time, and I'd very much like to read more about some design decisions in that area.

Re:Inspector – A drop-anywhere C++ REPL on Monday February 12, 2018 @01:52PM (#16360904)
Just noticed that Inspector seems to be related to cling, and cling has a built-in Jupyter kernel IIUC.
Re:Inspector – A drop-anywhere C++ REPL on Monday February 12, 2018 @01:50PM (#16360887)
Hmm -- I wonder why they chose to not use Jupyter as an REPL "backend" (Jupyter calls them "kernels").
Re:LMARV-1: A RISC-V processor you can see [video] on Wednesday February 07, 2018 @02:09PM (#16327118)
OTOH, if you go for a lattice ICE40 based board, you can use a fully open source toolchain.

I have a icoboard connected to a raspberry Pi 3 -- it's my little self-contained FOSS FPGA development station. Quite convenient :)

Re:SpaceX’s Falcon Heavy successfully launches on Tuesday February 06, 2018 @04:31PM (#16319995)
Hmm, I think it's still in parking orbit around earth, no?

Older »