News for hackers. Stuff that matters.

ellimilial

If it fits on a single machine - jq, flat files, JSON lines / avro if relatively flat. Change to a tabular format if when nesting not required.

Postgres JSONB works, but it requires maintaining a heavy server process. So does Lucene/elasticsearch.

I have been yearning for embeddable store (in line with SQLite the support that both works and also keeps the data compressed like JSONB). I know there were some attempts, tried some of it those, mostly monstrosities).

Re:Dual use of artificial-intelligence-powered drug discovery on Wednesday March 16, 2022 @11:02AM (#30699665)
Try a nociception, drug design or pharmacy group at your local university. Chances are they’ve been doing this for years.
Re:Who Founded Venice? (2021) on Sunday January 23, 2022 @06:05PM (#30051539)
Great content, but incredibly difficult to trawl through.
Re:DynamoDB 10 years later on Thursday January 20, 2022 @08:25AM (#30008539)
It's always great fun compounding new, manual 'indexes' when you discover you need another query.
Re:“Coding is basically just ifs and for loops.” on Saturday December 04, 2021 @05:51PM (#29445044)
With a lot of fuzziness, some state and temporal stuff.
Re:Show HN: A generator of Fake Italian Coffee names on Wednesday November 03, 2021 @08:47AM (#29093823)
Yes please, it took me over 5 secs to figure out what to click, felt like ages.
Re:Show HN: A generator of Fake Italian Coffee names on Wednesday November 03, 2021 @08:45AM (#29093813)
Diffusione Urino

Sure it's delish, very appealing.

Re:Designing Low Upkeep Software on Sunday September 26, 2021 @10:44AM (#28661260)
For https://biokeanos.com (biomedical data catalog and discovery tool), keeping things on disk and versioning by pushing to repo saved me months already on dubugging and maintenance only.
Re:Why I Use Nim instead of Python for Data Processing on Saturday September 25, 2021 @04:22AM (#28651476)
Isn’t this counting the lines with any G/C in them vs the total number of G/C literals?
Re:Why I Use Nim instead of Python for Data Processing on Saturday September 25, 2021 @04:08AM (#28651416)
A context might be useful.

From what I gather, the author is a researcher in bioinformatics related field. This may indicate that they tend to work either alone or in a relatively small group. The domain is small scope data processing/manipulation, research/exploratory code, ,likely short-lived or even one-off.

The progress in this context will possibly be governed by sheer processing speed (e.g. it’s unlikely anyone will delve deep into the code, a lot of iterations to ‘just get it done’ instead of testing etc.).

If this is more or less correct, the point that Nim might be more useful than Python for the author sounds very sensible to me. It’s a nice spot between command line tools and more functionality-loaded languages.

Re:Turing Oversold? on Wednesday September 15, 2021 @08:37AM (#28538295)
The team being 'all-British' for obvious security reasons. Which I imagine might have felt like and insult to an injury to the 'little people', who, despite cracking the code, were not permitted to continue working on it. Making them, you know, 'little people'.
Re:A dubious writing style emerging in science on Wednesday August 11, 2021 @04:13AM (#28139352)
The wording of the abstract indicates that this article itself has been auto-generated, right? :)
Re:CRISPR Editing in Primates on Thursday May 20, 2021 @02:52PM (#27225460)
A fair amount of drugs inhibiting it had to be recalled after https://pubmed.ncbi.nlm.nih.gov/16554806 and subsequent regulators actions.
Re:CRISPR Editing in Primates on Thursday May 20, 2021 @02:18PM (#27224993)
Quite possible. Nobody wants another hERG fiasco.
Re:The data model behind Notion's flexibility on Tuesday May 18, 2021 @06:20PM (#27202037)
@setr explained it really well. A side note, NoSQL also includes graph databases, dedicated to this type of node/relationship traversal.
Re:Flat Data on Tuesday May 18, 2021 @03:29PM (#27199821)
Hi Jason, thank you very much for the background and the explanation. It is fascinating to see the progress in this direction.

I started raising my eyebrow (in the best possible sense) upon seeing parts of tooling very similar to ours but simpler and more importantly - without moving parts. We operate in biomedical data space and deal with flat/static data a lot, for example we power https://biokeanos.com with data-in-repo, so Flat Data was immediately interesting.

It is really inspiring to see GitHub actions to having a foray in this direction, definitely something to keep an eye on.

Re:Flat Data on Tuesday May 18, 2021 @02:53PM (#27199312)
Thank you for the response and clearing up the 'billion rows' / surly bonds confusion I had from reading project's Why Flat Data? section. I think I understand the target use case slightly better now.

One of the strong arguments for object-like storage (S3 etc) in the context of plain / flat data is scalability and availability for large scale processing frameworks. Databases are only occasionally relevant.

Re:Flat Data on Tuesday May 18, 2021 @02:32PM (#27199011)
Very interesting how Github comes with more and more interesting 'actions' to turn repos into 'platforms' and moves us closer to serverless future.

@idan how does it scale with the size (including storage)? Is 'a billion rows' a goal or an actual tested use case?

Re:Try This One Weird Trick Russian Hackers Hate on Monday May 17, 2021 @12:05PM (#27185015)
[...] all currently have favorable relations with the Kremlin, including [...] Georgia, [...] Ukraine.

One might wonder how unfavourable relations with Kremlin look like then.

This really stuck a cord, thank you for sharing.
Re:User tracking inspection result for about.gitlab.com on Tuesday April 27, 2021 @08:46AM (#26955128)
And they point that out: "There are other reasons for key logging, such as providing autocomplete functionality"
Re:User tracking inspection result for about.gitlab.com on Tuesday April 27, 2021 @08:45AM (#26955114)
"There are other reasons for key logging, such as providing autocomplete functionality" - I don't think they're stretching anything.
Re:Job descriptions should show a salary or salary range on Sunday April 25, 2021 @12:42PM (#26934097)
A Polish job board https://nofluffjobs.com took over the market in several years simply by forcing employers to include the range when posting the offer. So there is a supply/demand argument here - at least for some markets.
Re:Job descriptions should show a salary or salary range on Sunday April 25, 2021 @12:35PM (#26934042)
The minority and underrepresented perspective is really important here.

But it takes a while to learn how to evaluate your skills against a particular company's needs, market at large and learn to negotiate. I know few people who were 'brought up [...] to stir the pot'. Talking to people, putting yourself out there, doing research and then finding a workable deal is not something that just comes as a given. But yes, privilege exists.

Having said that, in a competitive market a salary range simply makes a potential employer more trustworthy, and avoids wasting time for both parties.

Re:Mars sucks on Friday April 23, 2021 @02:44AM (#26911699)
You misspelt 'work in an office with a bad atmosphere', you're welcome.
Re:SQLite the only database you will ever need in most cases on Thursday April 15, 2021 @04:19PM (#26825625)
The other way around. For most problems you don't need a DB. Only for the subset of those that do you need a dedicated process/container/machine.

We have learnt to use full-fledged RDBMSs as a default because they proved really flexible and powerful over the last 30+ years. But they do have limitations and cost.

Re:SQLite the only database you will ever need in most cases on Thursday April 15, 2021 @03:27AM (#26817186)
It can’t run embedded. Having no live parts is a real paradigm shift for so many scenarios.

Older »