Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drjeats
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
drjeats
1y ago
Ghostty is trying to be a speed demon terminal, so I'd expect it to use ReleaseFast. The current build system docs don't prioritize one build mode over another: https://ziglang.org/learn/build-system/ &g
2.
▲
by
drjeats
1y ago
> Then why do my data structures detect if I go out of bounds? Because you have iterator debugging and/or assertions turned on and are only using non-primitive data structures (e.g. std::vector, std::array). Zig does the thing that
3.
▲
by
drjeats
1y ago
Personally, I'd rather prefix with `\\` than have to postfix with `\n`. The `\\` is automatically prepended when I enter a newline in my editor after I start a multiline string, much like editors have done for C-style multiline comment
4.
▲
by
drjeats
2y ago
In the most common cases, Zig does exactly what D does here as well. Constant expressions are folded at compile time like any reasonable systems language. It's akin to writing C++ where you slap constexpr on everything. Zig agrees with
5.
▲
by
drjeats
6y ago
People with secure tech careers in hard-to-break-into-industries get those careers by being able to work for little-to-no-pay due to their privileged upbringing. This isn't sour grapes, I am one of those people. This program is exactly
6.
▲
by
drjeats
6y ago
If your company has the bandwidth to create, manage, and mentor not-real-client-work, surely you have the resources to pay interns.
7.
▲
by
drjeats
6y ago
This page did not automatically flip to dark mode on any of the browsers I use--which all are on dark mode--on my macbook, which is also using dark mode.
8.
▲
by
drjeats
7y ago
Nice article :) Might be worth touching on error callbacks/logging as an error handling strategy. Sometimes an error is not recoverable in the sense that the calling code can't really do anything about it, but the library should a
9.
▲
by
drjeats
10y ago
I like doing that too, but the Zig syntax doesn't prevent that kind of arrangement, just makes it a bit wider. return if (value >= radix) error.InvalidChar else if (comeCondition) error.OtherError else
10.
▲
by
drjeats
10y ago
C#'s new interpolation syntax is a counterexample to your point about easy formatting: https://msdn.microsoft.com/en-us/library/dn961160.aspx#Ancho... $"Name = {name}, hours = {hours:hh}"
11.
▲
by
drjeats
10y ago
Isn't edn a data/object format, rather than a markup format? It's like a better JSON.
12.
▲
by
drjeats
11y ago
If only the native package manager wasn't write-only for pkg installers. I use Homebrew for its `uninstall` command.
13.
▲
by
drjeats
11y ago
:) I have a little local deploy script that runs this if it fails a smoke test: say -v Bad "Deployment failed, server gave a bad response"
14.
▲
by
drjeats
11y ago
Is the Blender Game Engine workflow mostly like shown in this video? https://www.youtube.com/watch?v=K5HEyoDb-tw&index=64&list=PL... I don't understand the appeal of learning programming without the beginning p
15.
▲
by
drjeats
11y ago
Yes, the platform support and hot reloading are real nice. That's why so many teams have invested in Unity. The collision engine is what I was referring to when I said it's not that huge of a thing to do your own Box2D integration
16.
▲
by
drjeats
11y ago
Unity doesn't provide any sequencing for you (maybe you were thinking of Unreal's Matinee?). Also, most people who need input mapping don't use the builtin input mapper. Editor scripts are also painful to write. You're n
17.
▲
by
drjeats
11y ago
Can it do uninstalls well yet? I tried to make a package for a simple binary last year (I believe it was premake4 or something). It was annoying to use, and other software I installed with it didn't have an uninstall option. Package ma
18.
▲
by
drjeats
11y ago
I'm all about Watermelon Man. Kids are still learning jazz and other music history in schools that have good music programs.
19.
▲
by
drjeats
11y ago
It's similar, but not quite the same. The built-in components work like this (although I'm not deeply knowledgeable of Unity internals or anything, just have been working with it for a few years). But any game-specific logic writt
20.
▲
by
drjeats
11y ago
In magit-status-mode I'm able to stage files based on the region. I can also expand them and highlight multiple chunks to stage just those chunks. The are only two major things I don't know how to do with the current stable versio