Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
palotasb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
31.
▲
by
palotasb
4y ago
I'm an ordinary human and I disagree. I would not expect a blank line to end the [hosts] table. I find it nice that you can visually separate different categories of entries under a table. I also find it nice that global entries must b
32.
▲
by
palotasb
4y ago
https://www.fast.ai/
33.
▲
by
palotasb
4y ago
Don't pass the -m argument to git commit. It will open you $EDITOR an you can edit the commit message there.
34.
▲
by
palotasb
4y ago
To be fair, this was using Darktable 3.6 (I had to open /Applications/darktable.app/Contents/info.plist to check as there is no About menu). Updating to the current latest 4.0.1.1_arm64 at least the metadata popup issue
35.
▲
by
palotasb
4y ago
I'll substantiate regarding UI: On a Mac it has no items in the menu bar. The default cursor is changed to a low-resolution raster image instead of the default OS cursor. The image metadata pop-ups keep appearing even though darktable
36.
▲
by
palotasb
4y ago
Is there a "latest draft" standard available legally and for free for wider audiences? C++, also ISO standardized, does this and I believe it has contributed greatly to its adoption and post-C++11 renaissance. See https:/&#x
37.
▲
by
palotasb
4y ago
For mapping out the hard parts, there's a separate "plugin" that you can enable to turn on contour lines and hill shading or slope map an overlay on the main map https://osmand.net/docs/user/plugins&
38.
▲
by
palotasb
4y ago
I would also recommend checking out OsmAnd Maps in this space. I use it both for hiking and cycling. I love the UI customizability, for example being able to overlay a satellite map on top of a trail map and having a slider to adjust opacit
39.
▲
by
palotasb
4y ago
I'm not sure about the problem of brittleness caused by buggy scripts you must rely on -- you'd get that in any language. But if the brittleness is caused by slightly different dependencies being installed for each developer or CI
40.
▲
by
palotasb
4y ago
> If you use a language that can produce binaries the job of ensuring you have all the dependencies in all the right versions is a one-time job: it happens at build time. This is not true for most language toolchains by default as far as
41.
▲
by
palotasb
4y ago
No, it's not. Previously discussed on HN here: https://news.ycombinator.com/item?id=28758106 ( https://arxiv.org/abs/2110.01111 )
42.
▲
by
palotasb
4y ago
> grug not like big complex front end libraries everyone use > grug make htmx and hyperscript to avoid https://twitter.com/htmx_org/status/1539713592794169346 https://github.com/bigskysoftwar
43.
▲
by
palotasb
4y ago
> Window snapping Not built-in, but the open source https://rectangleapp.com/ supports window snapping by mouse and via shortcuts.
44.
▲
by
palotasb
5y ago
Undefined behavior entails "there are no restrictions on the behavior of the program", meaning anything can happen, including executing the opposite of the program text. Implementation defined behavior is saner in the sense that
45.
▲
by
palotasb
5y ago
Any time the spiral rule comes up, I like to point out that it's wrong. It is instructive in a way because one learns more about C declaration syntax, but it is even more instructive to recognize why it is wrong. The spiral rule works
46.
▲
by
palotasb
5y ago
NamedTuple or namedtuple instances are tuple instances that have the same properties that regular tuples have. They are immutable (you cannot reassign their fields), you can index into them (a[0], a[1] instead of a.x and a.y), you can unpac
47.
▲
by
palotasb
6y ago
Any time this comes up I like to point out that the spiral rule is wrong. It is instructive in a way because one learns more about C declaration syntax, but it is even more instructive to recognize why it is wrong. The spiral rule works o
48.
▲
by
palotasb
6y ago
I recommend the LLVM source code. I've worked a bit with it implementing toy compilers and using LLVM as a backend for generating x86/SPARC object code. Just compiling it is a nice exercise if you're new to C++ and CMake (as
49.
▲
by
palotasb
6y ago
I've been experimenting on a personal project with https://www.pulumi.com/ where you can do the configuration and deployment in Python or JavasScript and I think I can recommend it.
50.
▲
by
palotasb
6y ago
The page doesn't list my favorite operator, !ducky <search term> that will navigate to first result. It's named after the "I'm Feeling Lucky" button that used to exist on Google. It's useful with F
51.
▲
by
palotasb
6y ago
For future reference, this is what the page says as of this HN post: http://web.archive.org/web/20200729083406/http://del.icio.us... > July 15, 2020 > Hi, my name is Maciej Ceglowski, the latest (a
52.
▲
by
palotasb
6y ago
Well thought-out article with good points and deductions! I have a few counterpoints and I think the example is not the best way to argue against unit testing as there are better ways to implement the same features and write better unit tes
53.
▲
by
palotasb
7y ago
https://github.com/p-org/P/wiki/PingPong-program for anyone else wondering
54.
▲
by
palotasb
7y ago
The spiral rule works if "pointer to" and "function returning"/"array of" alternate but it breaks if they don't, i.e., if you have arrays of arrays or pointers to pointers. int** arr1_of_arr2_of
55.
▲
If They Come, How Will They Build It?
(hacknot.info)
2 points
by
palotasb
7y ago
|
0 comments
56.
▲
by
palotasb
7y ago
You can use the memvfs module to load in-memory databases if you're using the C API. I'm not sure how many higher-level APIs support it though. [1] https://stackoverflow.com/a/53453338/3063 [2] https:
57.
▲
by
palotasb
8y ago
This seems like a stolen article. The URL should be changed to the original blog post: https://www.viva64.com/en/b/0615/
58.
▲
by
palotasb
8y ago
In Rust, or any statically typed language such as C++ or Java, the idiomatic way to handle untrusted input is to treat it as a "bag of bytes" before you access it. Then either parse it into a strongly typed object or bail out of p
59.
▲
by
palotasb
8y ago
That's why I never use $HOME for personal files. All of my files are in the Dropbox folder or another custom folder on my work PC. It's nonstandard, so no one litters in it besides me.
60.
▲
by
palotasb
8y ago
You're assuming that if it's fake, the spray is still real.
More ›