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

Thank looks cool. Do you guys have plan to add interactivity to these charts? Will it be possible to inject JS in these charts?

re: interactivity

We already have variables and links (which work with variables)[1]. Variables create interactive menus that update urls, queries and charts. If you have a variable `region` and you set it the url will add a get param ?region=<value>

Each chart also has a basic `link:` property can use to link to the existing or other urls with the variables set. For example

type: bar x: revenue y: region link: '?region={{ region }}'

The result is a big range of flexibility, for example [2] here's an example of Conways Game of Life inside of dbt Charts.

[1] variables example - https://play.dbtcharts.com/?example=variables%2Fall-input-ty.... [2] Conways game of life - https://play.dbtcharts.com/?example=variables%2Fgame-of-life...


Nice.

I wish these engines could explain why it is recommending certain move, or certain sequence of moves, using natural language - it would be very useful for learning.


Interesting read.

> you see that the reverse proxying rules you would need are more complicated than usual. you can’t Simply forward /api to your application and the rest to the frontend due to various reasons outside your control.

If the author is reading: Can you elaborate on what reason you are referring to that are outside my control?


I built compiler that compiles to 16bit x86 via MASM. This books feel like a natural next step, but I was wondering if there is a linux equivalent book I can choose instead?


Interesting read. Is docker sandbox a solution in this situation?


Not always. The safest way is to use a throwaway remote VM when dealing with untrusted content. Sandbox escaping is unlikely but still a risk on your laptop.


Thanks for the write up. So the first version was synchronous, second version was using epoll and third one will be use io_uring?


Interesting. I have just started reading about Kubernetes. Is there an reading material that goes over this process you just described?


Don't. Get a chatgpt subscription and spin up a minikube cluster and launch some stuff and play around.

K8s is incredibly deep and complex but with AI it's finally easy to just hello world it.


This is absolutely terrible advice. You should never ever use LLMs to work on something you don't understand already, because you have no way to catch the machine when it screws up (and it will screw up). Just like with every other form of automation before LLMs, a smart person only automates things he already knows how to do himself.


"Only a Sith deals in absolutes" ;-)

I mostly agree it's an area that's risky to wander into mindlessly but it is much more easier to validate knowledge than to practice it.

E.g. I can't write Chinese but can validate if piece of Chinese is a valid one (by feeding to N translators, other LLMs or asking a friend who knows Chinese).

Under assumption of "LLM output is false until proven otherwise" it's not a bad approach and worked for me in various scenarios. (E.g. I asked for implementation of algorithm in Rust and then validated it against base definition).


LLMs allow for play. Play means learning. Then that knowledge can be utilized for a second project or to chat with someone more experienced.

We all have different learning styles. I learn through play when it comes to LLMs.


Yeah no. Getting the first hello world up is more important than anything else.

Until you physically see it running learning is slow.

I learned k8s through many months of study and pain pre AI. Once I actually got it up learning was FAR easier.

This is like using a jupyter notebook to learn python and is always the first thing I point to for someone just starting to learn. Only after should you learn venv, pip install, classes ect.

100% use AI to get started on something you don't understand. I will literally never start to learn about a technical system again without first doing a hello world with AI.


If you wanted to learn how to setup your own Kuberbetes cluster I found EasyK3S https://easyk3s.dev/ to be a good place to learn the basics.

It is not perfect, but a good place to start to get a hang of how to setup your own K8S setup if you are new to Kubernetes.


Might watch to start out with docker-cónaíse firat,


> Most Linux package managers cannot separate user-installed packages from system packages.

What is the use case when someone would want to differentiate system/user installed package? Isn't it good things that they are the same - meaning once something is install - it is there regardless of how it got here.


Two reasons come to mind for me:

1. It's very common, especially in certain ecosystems like Python, for the system to depend on old versions of things in such a way that updating to modern versions will break your entire system, while at the same time you want to run something at the user level that depends on a newer version. The solutions to this are usually ecosystem specific and often annoying to use for someone who just wants to run a program (again a great example being Python venvs, which at this point have decades of tooling built up around trying to make it less annoying to deal with).

2. For "cattle" systems having everything installed at the system level is generally not too much of an issue, but for "pet" systems where the user might be experimenting with things it's really nice to be able to install stuff in a way that doesn't affect anything outside of your user account even if it's also available at the system level. The computers that I personally operate from on a daily basis tend to build up a lot of crap I used once over time and removing it without just backing up my stuff and nuking it all can be a major pain.


The last-millennium solution to me-only installs is to put stuff in $HOME/bin, $HOME/lib, and $HOME/etc, and put those in the appropriate paths. Build the package with e.g. CMAKE_INSTALL_PREFIX=$HOME. At some point I switched to putting those dirs all in $HOME/opt for tidiness.

It's worked for me since workstations were shaped like pizza boxes.

I'm sure there are some things it can't do, but it goes a long way. When you're installing distributed binary packages you have less ability to control the baked-in install dirs, but if the package honors the conventional $(env) it can work.


I had this exact situation with Citrix workspace refusing to install after my upgrading to the latest Fedora. I had to force install and things did work but I would have preferred to not having to do that. I don't know enough about Homebrew to know if it would have helped (Citrix distributes .deb and .rpm files).


Honestly for python just using uv is enough, not only does it handle virtualenv for you, it will also install the necessary python version you need locally.


That’s entirely a user package manager though and is GPs point: what uv does cannot be done in a package manager like apt which sees itself as only doing system package management.


Devs shouldn't need root access to install tooling or dependencies for a project.

Mixing user and system software is like having Photoshop and all of your games install their files directly into the Windows directory.


In my current use case I'm setting up a new Ubuntu server for hosting LLMs. I didn't take notes when setting it up last time around but want to document exactly what was required to pass on to coworkers trying something similar. I don't know what packages I installed to get the minimalist setup working vs what is installed by default. I'm tempted to nuke and redo with notes but I'm sure there is a better method of tracking down what I deployed to get to the current state.

...or not, and this is why HomeBrew exists and I need to learn it or ansible/etc.


You can try this command. But I doubt it will work as intended if you have ever upgraded Ubuntu versions.

  comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)
https://askubuntu.com/a/492343/1056703


NixOS seems ideal for this.


Does anyone know any applied functional analysis book? I have strong linear algebra foundation, but no real analysis.


I love this one

https://ia801706.us.archive.org/7/items/in.ernet.dli.2015.14...

Luenberger, Optimization By Vector Space Methods.

Although it is about a specific application, optimization, it is a good book to get a sense of infinite dimensional vector spaces. I would also recommend Halmos. His book surreptitiously introduces you to that subset of linear algebraic notions that survive inti infinite dimensional spaces.


if you take the spectral theorem, for example, there is a direct connection between linear algebra and functional analysis, basically it's linear algebra in infinite dimensions


Very cool! What would a 10,000 feet solution look like for MySQL to Iceberg on S3?


Should be fairly doable using binlog-based producer https://github.com/go-mysql-org/go-mysql.


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

Search: