News for hackers. Stuff that matters.

ptrik

Re:Shell.how: Explain Shell Commands on Sunday August 25, 2024 @09:59AM (#41347364)
Sounds like explainshell's approach is more robust, no?
Re:Shell.how: Explain Shell Commands on Saturday August 24, 2024 @08:53PM (#41343356)
How’s this different from explainshell?
Re:Tracking supermarket prices with Playwright on Wednesday August 07, 2024 @09:46AM (#41181441)
> While the supermarket that I was using to test things every step of the way worked fine, one of them didn't. The reason? It was behind Akamai and they had enabled a firewall rule which was blocking requests originating from non-residential IP addresses.

Why did you pick Tailscale as the solution for proxy vs scraping with something like AWS Lambda?

Re:Tracking supermarket prices with Playwright on Wednesday August 07, 2024 @09:45AM (#41181416)
> My CI of choice is [Concourse](https://concourse-ci.org/) which describes itself as "a continuous thing-doer". While it has a bit of a learning curve, I appreciate its declarative model for the pipelines and how it versions every single input to ensure reproducible builds as much as it can.

What's the thought process behind using a CI server - which I thought is mainly for builds - for what essentially is a data pipeline?

Re:Tracking supermarket prices with Playwright on Wednesday August 07, 2024 @09:44AM (#41181410)
> The data from the scraping are saved in Cloudflare's R2 where they have a pretty generous 10GB free tier which I have not hit yet, so that's another €0.00 there.

Wonder how's the data from R2 fed into frontend?

Re:Tracking supermarket prices with Playwright on Wednesday August 07, 2024 @09:43AM (#41181407)
> I went from 4vCPUs and 16GB of RAM to 8vCPUs and 16GB of RAM, which reduced the duration by about ~20%, making it comparable to the performance I get on my MBP. Also, because I'm only using the scraping server for ~2h the difference in price is negligible.

Good lesson on cloud economics. Below certain threshold we get linear performance gain with more expensive instance type. It is essentially the same amount of spending but you would save time running the same workload with more expensive machine but for shorter period of time.

Re:"We ran out of columns" – The best, worst codebase on Sunday August 04, 2024 @05:12AM (#41152134)
This is the main takeaway for me. The decentralized way of software development in a large scale. It does echoes with microservices a lot, but this can be done with a more traditional stack as well. It's ultimately about how you empower teams to develop features in parallel, and only coordinate when patterns emerge.
Re:MondayDB: A new in-house data engine from monday.com on Monday October 09, 2023 @06:29AM (#37818895)
Curious to see how this stacks up against a more specialised HTAP database like SingleStore / TiDB
Re:For Want of a JOIN on Thursday December 22, 2022 @10:45AM (#34094496)
This depends on use case. SQL is the king for batching process - queries are declarative, decades of effort put into optimization.

For real-time / streaming use cases, however, there is yet a mature solution in SQL yet. Flink SQL / Materialize is getting there, but the state-of-the-art approach is still Flink / Kafka Streams approach - put your state in memory / on local disk, and mutate it as you consume messages.

This actually echoes the "Operate on data where it resides" principle in the article.

Re:SQLite or PostgreSQL? It's Complicated on Wednesday June 29, 2022 @12:47AM (#31916593)
Ditto on DuckDB point. This looks like OLAP workloads to me and a columnar database would work wonders. DuckDB if you going embedded, Clickhouse if you going with a server.
Re:Maud: A Rust macro for writing HTML on Tuesday June 07, 2022 @09:34AM (#31654067)
We've got https://github.com/SnellerInc/sneller which is a query engine for JSON based on AVX-512 assembly
Re:How PostgreSQL stores rows on Thursday February 10, 2022 @06:53AM (#30284948)
Would also recommend reading "Designing Data-Intensive Applications" https://www.oreilly.com/library/view/designing-data-intensiv...

The chapter "Data Structures That Power Your Database" offers a great overview of various storage mechanisms of databases

Re:Rejuvenating WordPress Through GraphQL on Sunday March 07, 2021 @03:57AM (#26374343)
Interesting narrative from a database schema to GraphQL schema.

1 typo noted: but nevertheless thay are a distinct entity.

Older »