HN user

leventov

177 karma
Posts24
Comments41
View on HN
engineeringideas.substack.com 1y ago

Trace LLM workflows at your app's semantic level, not at the OpenAI API boundary

leventov
1pts0
engineeringideas.substack.com 1y ago

Trace LLM workflows at your app's semantic level, not at the OpenAI API boundary

leventov
1pts0
engineeringideas.substack.com 1y ago

Table transfer protocols for universal access to OLAP databases

leventov
1pts0
engineeringideas.substack.com 1y ago

The future of OLAP table storage is not Iceberg

leventov
2pts0
medium.com 5y ago

Information inequality might become a bigger issue than wealth inequality

leventov
6pts2
medium.com 5y ago

Capitalistic corporations don't like diversity

leventov
2pts0
medium.com 5y ago

Design systems to bring about the best in humans

leventov
1pts0
leventov.medium.com 5y ago

Blockchain Is Not Decentralised

leventov
50pts108
leventov.medium.com 5y ago

How can software engineers help to build climate solutions?

leventov
1pts0
leventov.medium.com 5y ago

How can software engineers help to build climate solutions?

leventov
4pts0
engineeringideas.substack.com 5y ago

Should you become a full-stack programmer?

leventov
1pts0
climatescape.org 6y ago

Climatescape.org – Mapping the global landscape of climate-saving organizations

leventov
128pts37
medium.com 6y ago

SmoothieMap 2: the lowest memory hash table ever

leventov
2pts0
medium.com 6y ago

How to find a job in a tech company helping to combat climate change?

leventov
20pts4
medium.com 6y ago

How to find a job to help to combat climate change? Practical guide

leventov
1pts0
medium.com 6y ago

Hash table tradeoffs: CPU, memory, and variability

leventov
3pts0
medium.com 7y ago

Code Review Checklist: Java Concurrency

leventov
1pts0
medium.com 8y ago

Comparison of the Open Source OLAP Big Data Systems: ClickHouse, Druid and Pinot

leventov
6pts0
medium.com 8y ago

Show HN: Design of a Cost Efficient Time Series Store for Big Data

leventov
2pts0
medium.com 8y ago

The problems with Druid at large scale

leventov
1pts0
koloboke.com 10y ago

Show HN: Koloboke Compile: all-new way to specialize collections in Java

leventov
8pts0
github.com 10y ago

Chronicle Map 3: in-memory key-value store for low-latency Java

leventov
1pts0
key-value-stories.blogspot.com 11y ago

Memcached design and comparison with Redis

leventov
36pts9
github.com 11y ago

Show HN: OpenHFT Collections – the fastest Java hash sets and maps ever

leventov
4pts2

I'm working on Pocketdata - a personal, private AI data plane.

The idea is to take boring components: PostgreSQL, Bifrost (LLM gateway), Open WebUI, LanceDB, Agentgateway (MCP and OpenAPI gateway) and deploy them in Fly.io. One Fly.io "org" per user. The closest equivalent is blaxel.ai, but it caters for AI SaaS startups, not individual customers.

The combination of the fact that Fly secrets are visible only from within the apps, distroless containers, and transparent data encryption for PostgreSQL assures that the service (Pocketdata) provider cannot access their data, only the infrastructure provider (Fly.io) theoretically can, but practically speaking, this gives an extremely high degree of privacy assurance.

The latest update on the project: https://engineeringideas.substack.com/p/tasklet-is-the-o1-mo...

It seems like a web version of claude code + skills + marketplace, but with an encrypted database, and permissions that let you feel safe using yolo mode. I’m going to try it.

I'm building infra for exactly this thing :) Here I posted about it today: https://engineeringideas.substack.com/p/tasklet-is-the-o1-mo...

Architecture TLDR: In Fly.io, org-per user, manage keys in Fly secrets. A Postgres db with transparent data encryption (TDE), the master key is stored on user's computer in the keychain or in the password manager. Thus the nobody can read the data at rest. All containers are distroless so nobody can ssh onto them. Postgres is backed up via pgBackRest to Wasabi object storage with customer-provided encryption keys that are injected into the containers via Fly secrets.

Apart from the database for record-like things (chats, emails, tables), vectors for larger things (such as web pages) are stored in serverless LanceDB on Wasabi, too.

Also Bifrost (https://github.com/maximhq/bifrost) as LLM gateway and Agentgateway (https://github.com/agentgateway/agentgateway) as MCP and OpenAPI/REST API gateway.

Agents/apps themselves (Open WebUI, Zero Mail, etc.) are separate Fly apps, and have their separate schemas and users in Postgres. They also cannot go to public internet directly (prohibited via https://community.fly.io/t/new-feature-network-policies/1917...), only to Postgres, Bifrost, and Agentgateway.

Postgres, pgBackRest, pgBouncer and another Go sidecar for pg (a la Pocketbase, but with Postgres backend), live in a single container managed by Horust. Bifrost and Agentgateway live in separate containers, but the same Fly machine. This machine might be 1.5gb, 4 vCPUs. LanceDB is on a separate machine because it needs burstable memory and may be infrequently used.

All machines (core, lance, and all individual app/agent machines) are suspendable, so they almost don't cost anything when not in use.

It's not super easy to port a library with domain-specific ML/DS algorithms built around Pandas, such as accepting Pandas dataframes as arguments to its functions and class constructors.

BigQuery Storage Read API claims to support filters and simple projections pushed down to the storage: https://cloud.google.com/bigquery/docs/reference/storage. See also this recent paper: https://research.google/pubs/biglake-bigquerys-evolution-tow...

I've also recently proposed a Table Read protocol that should be a "non-vendor-controlled" equivalent of BigQuery Storage APIs: https://engineeringideas.substack.com/p/table-transfer-proto...

I don't buy this "object storage + Iceberg is all you need for OLAP" hype. If the application has sustained query load, it makes sense to provision servers rather than go pure serverless. If there are already provisioned servers, it makes sense to cache data on them (either in their memory or SSDs) to avoid round-trips to object storage. This is the architecture of the latest breed of OLAP databases such as Databend and Firebolt, as well as the latest iterations of Redshift's and Snowflake's architecture. Also, this is the approach of the newest breed of vector databases, such as Turbopuffer.

For OLAP use cases with real-time data ingestion requirements, object-storage-only approach also leads to write amplification. Therefore, I don't think that architectures like Apache Pinot, Apache Paimon, and Apache Druid are going anywhere.

Another problem with "open table formats" like Iceberg, Hudi, and Delta Lake is their slow innovation speed.

I've recently argued about this at greater length here: https://engineeringideas.substack.com/p/the-future-of-olap-t...

Every once in a while, before falling asleep I enter a "mellow" state in which I can conjure mental images dramatically more vividly than normally. I would say that normally it varies between 10-50% of vividness (also depends on the state of mind, the day, whether I'm under the influence of different chemicals), and in this state of mind it's 90%+ vivid.

And I don't confuse this state of mind with lucid dreaming: I had spontaneous lucid dreams a few times. They were not very vivid, just as my normal dreams (I dream in images, and they are maybe around 50% vivid).

So, there is definitely a way to experience variation of vividness of mental imagery, by a single observer.

What are the other four frameworks?

For one, who wants to do stuff in tensorflow anymore let alone tensorflow-probability.

AutoBNN is a JAX library and has nothing to do technically with TF Probability. It was developed by the TF Probability team.

DL community prefers pytorch and stats community prefers Stan.

It looks like the JAX ecosystem for stats is growing: NumPyro is based on JAX, PyMC has a JAX backend, https://github.com/blackjax-devs/blackjax has effective samplers, there is https://github.com/jax-ml/bayeux, and now AutoBNN.

This one seems theoretically more interesting than some others but practically less useful.

Are there other factors why you think AutoBNN is not practically useful, apart from being based on the wrong foundation (which was a mistaken belief of yours)?

The big question is whether we really want more centralised cloud applications of this sort in the AI future, with its potentially exacerbated risks of data breaches, identity theft, spam, etc.

Having a "Rama" for local-first, truly distributed (Solid Project style), self-sovereign-identity based apps would be differentially better probably.

Bad analogy. Get in good shape to feel better, have more energy, be more attractive to other people, etc.

There is no point of getting good at arithmetic today, indeed.

I agree people need to continue study to understand the world (if they are to survive at all), but the current school curriculum is a joke.

GPT-4 3 years ago

Ok, then what's the point of defining 'intelligence' out of existence, if neither LMs nor humans are 'intelligent'?

GPT-4 3 years ago

It might be that humanity becoming non-chauvinistic about their value is the necessary thing for survival.

GPT-4 3 years ago

You can't do it in your basement as of 2023. Very important qualification. It's entirely plausible that continuous evolution of ML architectures will lead to general AI which anyone can start on their phone and computer and learn online from there.

Bingo. That's why working at all these companies is morally problematic.

Unless software engineers "vote" by going to work elsewhere, this won't change.

Looks for companies with solid ethics, and with founders who have background working at or starting other similar companies.

But not coincidentally, the pay at these companies will be at least multiple times less than at Big Tech.

You have excellently described the job of business analysts and system architects, but this is not the job of 90% of programmers today, including senior-level. Part of this is already done by other people and doesn't require specific programming skills, hence, at the very least, programmers will lose their privileged position. Another part of it is actually too hard for most people who are currently employed as programmers to do on a decent level (such as meaningfully hacking on Linux kernel).

Perhaps people on HN start sensing that successors of Github Copilot will take their programming job. Rightly so.

Personally, I think that in the age of AI programming any notions of code licensing should be abolished. There is no copyright for genes in nature or memes in culture; similarly, these shouldn't be copyright for code.

GitHub Copilot 5 years ago

This is really the same argument as it used to be: help intelligences (used to be only human, now artificial) to find bugs by matching text with code.

Of course miners would not oppose (usually) what developers propose because they have highly aligned and interlocked incentives.

This is an open system, but it's also very undemocratic, and it's design and direction are determined by the financial incentives of the beneficiaries and the developers.

Northvolt | Stockholm, Sweden | Multiple positions | Full-time | ONSITE, VISA

Northvolt aims to become the largest manufacturer of green and smart Li-ion batteries in Europe, which is the key to the transition to carbon-neutral economic future.

From the software perspective, we are "Big Data IoT" and "factory automation". Examples of the software, data, and systems engineering challenges here:

- Developing a digital framework that would help to design and start new manufacturing lines quicker - Collect as much data as possible from batteries and send it to the cloud, given limited data transfer capacity - Leveraging data collected on the previous step to detect regressions and improve battery (cell) design (analytics, data science) - Building a secure software update system for a large fleet of batteries - And many more!

We are looking for embedded (Battery Management System) software engineers (development in C), Backend, DevOps engineers (the cornerstones of the backend/cloud stack are AWS and Go), Mobile developers (React Native), Robotics engineers, Computer Vision engineers, software product managers, and InfoSec engineers, and other roles. Please check all the available positions here: https://northvolt.com/career?d=Software+%26+IT&l=Stockholm

Northvolt | Stockholm, Sweden | Multiple positions | Full-time | ONSITE, VISA

Northvolt aims to become the largest manufacturer of green and smart Li-ion batteries in Europe, which is the key to the transition to carbon-neutral economic future.

From the software perspective, we are "Big Data IoT". Examples of the software, data, and systems engineering challenges here:

- Developing a digital framework that would help to design and start new manufacturing lines quicker - Collect as much data as possible from batteries and send it to the cloud, given limited data transfer capacity - Leveraging data collected on the previous step to detect regressions and improve battery (cell) design (analytics, data science) - Building a secure software update system for a large fleet of batteries - And many more!

We are looking for embedded (Battery Management System) software engineers (development in C), Backend, DevOps engineers (the cornerstones of the backend/cloud stack are AWS and Go), Mobile developers (React Native), Robotics engineers, Computer Vision engineers, software product managers, and other roles. Please check all the available positions here: https://northvolt.com/career?d=Software+%26+IT