Readit News logoReadit News
jlundberg commented on Show HN: Fresh – A new terminal editor built in Rust   sinelaw.github.io/fresh/... · Posted by u/_sinelaw_
jlundberg · 19 days ago
Looking forward to giving this a try, especially on my first gen Raspberry Pi! :)

What are the reasons behind going with GPL-2 instead of a more permissive license like MIT or 0BSD?

You will probably at minimum build some neat helper functions and maximum code reuse is IMHO the best thing for the world.

I would for instance be curious on the ANSI routines but hesitate to invest mental energy when the code has limitations on usage.

Lastly cool to see new open source programs being built with heavy help from a code generation model. Inspiring!

jlundberg commented on Cloudflare Global Network experiencing issues   cloudflarestatus.com/inci... · Posted by u/imdsm
abelanger · a month ago
If anyone needs commands for turning off the CF proxy for their domains and happens to have a Cloudflare API token.

First you can grab the zone ID via:

    curl -X GET "https://api.cloudflare.com/client/v4/zones" -H "Authorization: Bearer $API_TOKEN" -H "Content-Type: application/json" | jq -r '.result[] | "\(.id) \(.name)"'
And a list of DNS records using:

    curl -X GET "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records" -H "Authorization: Bearer $API_TOKEN" -H "Content-Type: application/json"
Each DNS record will have an ID associated. Finally patch the relevant records:

    curl -X PATCH "https://api.cloudflare.com/client/v4/zones/$ZONE_ID/dns_records/$RECORD_ID" -H "Authorization: Bearer $API_TOKEN" -H "Content-Type: application/json" --data '{"proxied":false}'
Copying from a sibling comment - some warnings:

- SSL/TLS: You will likely lose your Cloudflare-provided SSL certificate. Your site will only work if your origin server has its own valid certificate.

- Security & Performance: You will lose the performance benefits (caching, minification, global edge network) and security protections (DDoS mitigation, WAF) that Cloudflare provides.

- This will also reveal your backend internal IP addresses. Anyone can find permanent logs of public IP addresses used by even obscure domain names, so potential adversaries don't necessarily have to be paying attention at the exact right time to find it.

jlundberg · a month ago
Good advice!

And no need for -X GET to make a GET request with curl, it is the default HTTP method if you don’t send any content.

If you do send content with say -d curl will do a POST request, so no need for -X then either.

For PATCH though, it is the right curl option.

jlundberg commented on JSON River – Parse JSON incrementally as it streams in   github.com/rictic/jsonriv... · Posted by u/rickcarlino
jlundberg · 2 months ago
I really like just encoding each object as JSON and then concatinating them with a new line between.

Allows parsing and streaming without any special libraries and allow for an unlimited amount of data (with objects being reasonably sized).

Usually gives these files the .jsonlines suffix when stored on disk.

Allows for batch process without requiring huge amounts of memory.

jlundberg commented on After nine years of grinding, Replit found its market. Can it keep it?   techcrunch.com/2025/10/02... · Posted by u/toomanyrichies
hu3 · 2 months ago
Sad to see https://riju.codes offline. Cant resolve DNS.

Last push to main was 2 months ago so there's hope: https://github.com/radian-software/riju

jlundberg · 2 months ago
Seeing it as offline could be related to this:

”Please note that Riju is only available on IPv6-enabled networks due to the higher financial cost of supporting legacy protocols.”

jlundberg commented on Solar panels + cold = A potential problem   linspyre.com/ecoholics/te... · Posted by u/behnamoh
jlundberg · 3 months ago
Our installation from 2017 of 40 panels work great here in the middle of Sweden.

Covered in snow over the winter and generate little power November-February but rest of the year we have fine power output, with peaks May-July (obviously).

jlundberg commented on Cloudflare Email Service: private beta   blog.cloudflare.com/email... · Posted by u/tosh
jlundberg · 3 months ago
For people looking to self host email, the mox software is surprisingly refreshing.

Open source and available here: https://xmox.nl/

jlundberg commented on Read to forget   mo42.bearblog.dev/read-to... · Posted by u/diymaker
treetalker · 3 months ago
The corollary is to write to forget (or at least to get thoughts off your mind).
jlundberg · 3 months ago
This is actually good advice.

Writing down things makes it much easier to move forward to the next project of the day.

Probably various a bit from person to person.

jlundberg commented on Ask HN: Is your company still hiring junior engineers?    · Posted by u/wafflemaker
jlundberg · 4 months ago
Yes, but we do hire more seniors.
jlundberg commented on The Raft Consensus Algorithm (2015)   raft.github.io/... · Posted by u/nromiun
jlundberg · 4 months ago
I highly recommending anyone interested in high availability to read the Raft specification.
jlundberg commented on Do Things That Don't Scale (2013)   paulgraham.com/ds.html... · Posted by u/bschne
jlundberg · 4 months ago
A recommended read for all early stage founders and for employees too if you are one of the earlier team members.

One thing we do and still do even at 15+ people is we call each and every new signup on the phone.

We do it for these reasons:

1) How did you find us?

2) Do you need help starting?

3) (Implicit: we care)

It probably works because what we have it’s a B2B platform.

However, our target group is software developers and maybe surprisngly these phone calls are really really nice.. once you get over the ”no, I am noy calling you to sell anything”-phase :)

u/jlundberg

KarmaCake day404October 19, 2012
About
Swedish developer. 46elks founder. Strongly believe it is possible to combine powerful features with ease of use.

@johannesl on twitter and the same @46elks.com for email.

meet.hn/city/61.7281607,17.105575/Hudiksvall

View Original