Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thegeekpirate
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
thegeekpirate
9mo ago
There's a fork which has been continually worked on https://repo.or.cz/w/tinycc.git Unofficial mirror https://github.com/TinyCC/tinycc
2.
▲
by
thegeekpirate
9mo ago
You can require allocations in Odin to be explicit using `#+vet explicit-allocators`
3.
▲
by
thegeekpirate
10mo ago
There's a GC library around somewhere, but I doubt anyone uses it. Manual memory management is generally quite simple, as long as you aren't using archaic languages. https://www.youtube.com/watch?v=xt1KNDmOYqA is
4.
▲
by
thegeekpirate
10mo ago
I replied to a poster who said the seven years of updates began with the Pixel 6 with "Pixel 8" and a link which showed when support expires on these devices, because... it began with the Pixel 8, not 6.
5.
▲
by
thegeekpirate
10mo ago
> Google for one updates their devices for 7 years since Pixel 6 Pixel 8 https://endoflife.date/pixel
6.
▲
by
thegeekpirate
10mo ago
My pleasure!
7.
▲
by
thegeekpirate
10mo ago
Completely replaced Go for me after using Go since inception. Wonderful language!
8.
▲
by
thegeekpirate
10mo ago
Press "y" before linking to a Github file/line to ensure it stays accurate https://github.com/ublue-os/bazzite/blob/5e8f61a56ca3da02778...
9.
▲
by
thegeekpirate
10mo ago
4,000 is perfect.
10.
▲
by
thegeekpirate
11mo ago
> exhaustive checks for sum types Linters such as https://golangci-lint.run will do this for you.
11.
▲
by
thegeekpirate
11mo ago
Odin's even better than that—you can only use `0..<5` and `0..=5`, so there's never any ambiguity whatsoever.
12.
▲
by
thegeekpirate
1y ago
Last question I'll answer, because you aren't doing any of this is good faith. You mean `curl.GLOBAL_ALL`, and it's for https://curl.se/libcurl/c/curl_global_init.html
13.
▲
by
thegeekpirate
1y ago
> Back to the CURL prefix, what is wrong with it? It prevents stuttering when using it `curl.CURL_*`. > What would the "CURL" distinct type be without the CURL prefix? `CURL` isn't a prefix there. Take more time to thin
14.
▲
by
thegeekpirate
1y ago
It does seem like they somewhat do now, as of the last several years https://wiki.lazarus.freepascal.org/management_operators From https://news.ycombinator.com/item?id=19100760 since I'm not a Pascal u
15.
▲
by
thegeekpirate
1y ago
Far too complex, Odin (my favorite language for writing apps in) would align more with minimalistic values. Lazarus always looked good, so there's probably value there if having a GC isn't an issue.
16.
▲
by
thegeekpirate
1y ago
Odin's language server calls it "fake methods". https://odin-lang.org https://github.com/DanielGavin/ols
17.
▲
by
thegeekpirate
1y ago
USDA 80/20 ground beef has 7.7g per 113g [0], 90/10 has 5g [1], Beyond Meat has 2g [2], and Impossible has 6g [3]. Impossible also has a "Lite" version (which doesn't seem to exist near me) with 1g [4], although app
18.
▲
by
thegeekpirate
1y ago
There's a bunch https://github.com/go-graphics/go-gui-projects My personal favourite is an ImGui wrapper https://github.com/AllenDang/giu The most featureful is probably unison, although I&#x
19.
▲
by
thegeekpirate
1y ago
I use Dear ImGui and love it https://gitlab.com/L-4/odin-imgui
20.
▲
by
thegeekpirate
1y ago
All good, I contribute for everyone reading ^_^
21.
▲
by
thegeekpirate
1y ago
Reread it =b
22.
▲
by
thegeekpirate
1y ago
You should be able to import everything, then use `when` to generate a unified constant name: @(require) import "x_a" @(require) import "x_b" when ODIN_OS == .Windows { x :: x_a } else when ODIN_OS == .Linux { x
23.
▲
by
thegeekpirate
1y ago
I took a good hard look at everywhere I may have stored it, but I believe I lost the original list after formatting. I remember believing these were important: - methods (turned out I mainly wanted working intellisense, which Odin does even
24.
▲
by
thegeekpirate
1y ago
I'd recommend going through https://odin-lang.org/docs/overview , as most of my points will be directly from there. Keep in mind it doesn't show _every_ feature (for instance, there are more built-in comptime
25.
▲
by
thegeekpirate
1y ago
When I first saw Odin, I wrote down a list of everything I didn't think I'd like. After several thousand lines, it proved all of my major worries incorrect, and has been an absolute pleasure. It has since replaced my usage of Go,
26.
▲
by
thegeekpirate
1y ago
Nope, my payment method was already entered.
27.
▲
by
thegeekpirate
1y ago
Can confirm (old comment of mine saying the same https://news.ycombinator.com/item?id=43215430 )
28.
▲
by
thegeekpirate
1y ago
https://tld-list.com is the the place to go when needing a domain (although it seems they're having some site issues at the moment).
29.
▲
by
thegeekpirate
1y ago
Desktop mode using Firefox v137.0.2 as well as Chrome v135.0.7049.100 on a Pixel 7a worked for me, in both portrait and landscape.
30.
▲
by
thegeekpirate
2y ago
Oracle Cloud was (and possibly still is) deleting random accounts (it was all over their subreddit at the time). I wouldn't have believed it, but while testing out a server for a business, they deleted my account, and didn't reply
More ›