Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cturtle
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
cturtle
9mo ago
One of the new features I found interesting, declarations for global variables, is buried in the reference manual. Here's a link to the section that discusses it: https://www.lua.org/manual/5.5/manual.html#2.2
2.
▲
by
cturtle
3y ago
I love Organic Maps! I don't use it for driving, but I do use it regularly for hiking. It is reassuring to know that even if I don't have service I can open the app and can check to see if I'm still on the trail. Highly recom
3.
▲
by
cturtle
3y ago
It’s not often I come across someone familiar with Islington. I also highly recommend his books, The Will of the Many is my favorite read this year. I keep hearing good things about Cradle, I’ll have to give that a read.
4.
▲
by
cturtle
3y ago
Maybe you compiled in Debug rather than a Release mode? There is also definitely enough time before Zig reaches 1.0 to improve things.
5.
▲
by
cturtle
3y ago
In addition to the other answers, this is the most logical way to handle most errors in this specific type of code. The http code in the Zig standard library doesn’t know how the programmer wants to handle all the errors, so it uses try to
6.
▲
by
cturtle
3y ago
No I hadn't considered that. I wouldn't be against my "zf algorithm" being ported to other tools though. But when I first had the idea for zf I had just learned Zig and it seemed like the perfect way to practice with my
7.
▲
by
cturtle
4y ago
> Kakoune does the same Great! I’m glad I’m not the only one to have thought of this simple idea :)
8.
▲
by
cturtle
4y ago
Author here! I’m aware of the FZF search syntaxes. They are very useful! I designed zf to be a small tool that worked a bit better for me by default without special syntaxes.
9.
▲
by
cturtle
4y ago
I value simplicity and control. Zig is a very consistent language in syntax and semantics, so there are a small number of features I need to be concerned with. My understanding is that once Zig reaches a stable 1.0 the language will not cha
10.
▲
by
cturtle
4y ago
I’ve absolutely had satisfaction with my several personal projects written in Zig. And based on an imperfect measurement (GitHub stars) I have also had moderate success in making something useful. It’s a terminal fuzzy finder [0]. I also ma
11.
▲
by
cturtle
4y ago
GSoC was a great experience. It was my first time planning a major contribution to an open source project. It would have been much more challenging for me without the help of my mentor and the other core contributors, so it is important to
12.
▲
by
cturtle
4y ago
I did! I did the Google Summer of Code twice with Blender and ever since I find myself preferring the patch workflow of Phabricator over the merge/pull request found elsewhere. I am comfortable with both, but phabricator just clicked w
13.
▲
by
cturtle
4y ago
It’s fitting that this is on the homepage because the Qualtrics CEO is named Zig /s
14.
▲
by
cturtle
4y ago
Firenvim may be a partial solution: https://github.com/glacambre/firenvim
15.
▲
by
cturtle
4y ago
The linked post mentioned that the compiler itself does compile faster, but not by much. Memory usage is the greatest impact of stage2. The speed will come when the native backends are finished. Right now the compile time is mostly llvm. Th
16.
▲
by
cturtle
4y ago
Thanks for reaching out! At the moment I can't think of anything specific. It was just some small papercuts that added up enough to prevent me from using it regularly, not a lack of features. But lite-xl did show me that building a tex
17.
▲
by
cturtle
4y ago
The other replies are correct, but there is a bit more to it. Lua is a very small language with a tiny standard library. To extend it you write modules in C (or another language with bindings). This allows connecting the Lua code to various
18.
▲
by
cturtle
4y ago
Lite (and lite-xl) is an amazing little editor. I especially love how fast the program opens. There’s just a few small things that bother me enough to keep me from using it, but I remain impressed by the code and how lightweight it is.
19.
▲
by
cturtle
4y ago
That’s because “proper” macOS apps close windows not apps when you click the little red dot in the upper left. See some of the answers here https://unix.stackexchange.com/questions/4618/why-mac-applic... And I agr
20.
▲
Python Path Objects
(hillelwayne.com)
2 points
by
cturtle
4y ago
|
0 comments
21.
▲
by
cturtle
4y ago
Maybe the runtime safety in debug builds? Like for out of bounds, int overflows, etc. In my zig projects those checks have saved me from using a debugger or valgrind in many cases.
22.
▲
by
cturtle
4y ago
As others mentioned, yes! If you’re curious on how it works I write a sort of deep-dive on the git internals of how this works: https://nathancraddock.com/blog/2022/custom-git-commands/
23.
▲
by
cturtle
4y ago
I clicked the link expecting that song, but the performance was entirely unexpected. Very strange!
24.
▲
A Tour of the 19 Largest Natural Arches
(naturalarches.org)
2 points
by
cturtle
4y ago
|
3 comments
25.
▲
by
cturtle
4y ago
Yes not everything can be imported perfectly. With my project making a Lua wrapper library in Zig I had to fix a few poorly translated macros. Overall though most translated just fine. I think with some work on Zig’s end a few more cases co
26.
▲
by
cturtle
4y ago
Thanks for sharing this! I have a project on the todo list that this will be perfect for!
27.
▲
by
cturtle
4y ago
Among all the other suggestions, I appreciate the refinement to the type system that zig has over c. Like bools and ints are distinct types, built in slice types to associate a pointer and length, arrays have a length, well-defined integer
28.
▲
by
cturtle
4y ago
Just finished reading the daily Calvin and Hobbes comic before coming here. Here’s an RSS feed [0] if anyone is interested. [0]: https://www.comicsrss.com/rss/calvinandhobbes.rss
29.
▲
by
cturtle
4y ago
Yes I do find it painful. Because rust’s memory safety restricts the number of valid programs, it is (to me) more difficult to write code. That’s not a bad thing though! It’s just not a trade off I’m willing to make most of the time. If my
30.
▲
by
cturtle
4y ago
This is great. There are so many nuances in UI design and I hadn’t considered this before. Does anyone know of other resources like this that explain easily missed UI best practices?
More ›