Hacker Newsnew | past | comments | ask | show | jobs | submit | jlundberg's commentslogin

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.


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.


Me too, and it's quite a common technique.

https://en.wikipedia.org/wiki/JSON_streaming


jq allows to covert normal json document to jsonlines and back, though it does it much faster if it can slurp an original doc into memory (no --stream option)


Based on this thread that's called NDJSON

Newline Delimited JSON

TIL


It's also known as JSONL (JSON Lines).


I'm pretty sure jsonl was a bit earlier as a term, but ndjson is now the more prominent term used for this... been using this approach for years though, when I first started using Mongo/Elastic for denormalized data, I'd also backup that same data to S3 as .jsonl.gz Leaps and bounds better than XMl at least.


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.”


Definitely that, I read this on a mobile 5G connection and was able to access it just fine


Can confirm. It's up for me on mobile too.


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).


For people looking to self host email, the mox software is surprisingly refreshing.

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


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.


Yes, but we do hire more seniors.


I highly recommending anyone interested in high availability to read the Raft specification.


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 :)


For people interested in the ZX community, be sure to check out the ZX Spectrum Next (ks3 ending within a week):

https://www.kickstarter.com/projects/spectrumnext/zx-spectru...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: