Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Sphax
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
Sphax
2y ago
Setting the GOTOOLCHAIN environment variable to local disables this. I don't use nix so I'm not sure if they set it by default but you can with set it with `go env`
32.
▲
by
Sphax
2y ago
I like this feature, I used this to be able to use iterators before Go was updated in Homebrew. And yes you need to make sure GOTOOLCHAIN=auto, my colleague had to explicitly set it because it defaults to local on Gentoo.
33.
▲
by
Sphax
3y ago
We use VictoriaMetrics at work since I think 2019 or something. The tl;dr is that it works great. When we migrated to it we replaced 6 prometheus servers with only 1 victoria metrics server, it was crazy efficient. We ran with a single node
34.
▲
by
Sphax
3y ago
I use neovim, the tree-sitter support is great especially with nvim-treesitter which means I can just run `TSInstall <parser name>` and I'm done. Writing a tree-sitter parser is not that easy though. I wrote tree-sitter-templ to
35.
▲
by
Sphax
3y ago
> Charges applied by a PSP in respect to instant credit transfer transactions in euro cannot be higher than the charges applied to “non- instant” credit transfer transactions in euro. does this mean instant SEPA transfers must now be fre
36.
▲
Waking up my NAS remotely using Tailscale (2023)
(rischmann.fr)
14 points
by
Sphax
3y ago
|
8 comments
37.
▲
Finding Unreachable Functions with Deadcode
(go.dev)
5 points
by
Sphax
3y ago
|
0 comments
38.
▲
by
Sphax
3y ago
I don’t know them but it’s too bad Propnight might disappear too, some streamers I follow play it sometimes and it’s fun to watch.
39.
▲
by
Sphax
3y ago
That's what I did for my website. Combined with goldmark for writing my pages in markdown, I really like it. It did require a fair amount of code though.
40.
▲
by
Sphax
3y ago
Exactly. I have no problem with open source developers shifting to an open core model so they can get paid, even if it means I as a user don't get these new features for free.
41.
▲
Waking up my NAS remotely using Tailscale (2023)
(rischmann.fr)
3 points
by
Sphax
3y ago
|
0 comments
42.
▲
by
Sphax
3y ago
Just fyi, tiered storage is coming at some point in Kafka: https://cwiki.apache.org/confluence/plugins/servlet/mobile?c...
43.
▲
by
Sphax
3y ago
I still have my old 11th gen mainboard and thought about doing this but I don't really have a use case for it sadly.
44.
▲
by
Sphax
3y ago
For quite some time I used plain HTML and CSS to build both my website and blog, served directly by Caddy on a cheap VPS. I wrote the articles on Notion and exported them to HTML, then made some tweaks before publishing them. A couple of w
45.
▲
Setting Up PostgreSQL with Ansible
(rischmann.fr)
1 points
by
Sphax
3y ago
|
0 comments
46.
▲
by
Sphax
3y ago
I had no idea you could do that, super cool.
47.
▲
by
Sphax
3y ago
This is cool, even though I haven’t managed to use the monthly 1k searches from the early adopter plan yet. I have used Kagi for the last 4 months and I’m happy with the experience. The results are good enough that I rarely fallback to Goog
48.
▲
by
Sphax
4y ago
Thanks for the information. If both are now maintained I'll probably just try both crate and see which one I prefer.
49.
▲
by
Sphax
4y ago
I'm still not sure what crate I should use for time between time and chrono, and searching the internet gives me conflicting information: This site says about the time crate: "The original datetime crate which was split out of std
50.
▲
by
Sphax
4y ago
Yeah I'm using 3.10. I'm not sure it's overheating, I just think the CPU always gets hot even when not doing much.
51.
▲
by
Sphax
4y ago
I've been using a Framework 11th gen for work since I think May with Fedora (currently using Fedora 37 beta). For context, half of the time I use my laptop for meetings and video calls, the other half it sits on a stand plugged via USB
52.
▲
by
Sphax
4y ago
I booted both of my Framework laptops on 5.19.12 and it didn’t break anything. I could type my LUKS password and still get into gdm fine. I still reverted back to 5.19.11 though.
53.
▲
by
Sphax
4y ago
I'm not familiar with pandas but looking at the website it's a data analytics tool? While virtual tables can help for that use case they can do a lot more, especially if writes are available.
54.
▲
by
Sphax
4y ago
Hi, I am the author :) no affiliation with the french government, I just thought this particular API would be a cool example to use (IMHO this API is well done).
55.
▲
Virtual Tables with Zig-SQLite
(rischmann.fr)
93 points
by
Sphax
4y ago
|
4 comments
56.
▲
by
Sphax
4y ago
I don't use gcc, curious to know what gcc 11 adds.
57.
▲
by
Sphax
4y ago
I didn't really intend to write a tutorial but glad you liked the post !
58.
▲
by
Sphax
4y ago
Only the metadata of the statement is comptime, that is the type annotation for each bind parameters. So if you have this query SELECT * FROM user WHERE age = $age{u16} You _must_ provide a u16 bind parameter. However the value its
59.
▲
by
Sphax
4y ago
zls doesn't support this unfortunately. I don't know what the plans are for comptime support.
60.
▲
How I Built Zig-SQLite
(rischmann.fr)
225 points
by
Sphax
4y ago
|
97 comments
More ›