Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pbaam
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
pbaam
1y ago
https://ziglang.org/documentation/master/#opaque > opaque {} declares a new type with an unknown (but non-zero) size and alignment. It can contain declarations the same as structs, unions, and enums So it can c
2.
▲
by
pbaam
2y ago
Well, if your compilations turn to be submilisecond it's not an implementation detail :) *. As of now it is only supported for x86_64 Linux (only ELF format) and it has some bugs; incremental compilation is in its very early stages. An
3.
▲
by
pbaam
2y ago
I guess he means that in order to achieve incremental compilation they need to write their own code generation and linker for every architecture and format. This is needed because incremental compilation here doesn't just mean storing
4.
▲
by
pbaam
2y ago
I know, it's intentionally unrelated. But if you read my first sentence, you can do what you are interested in without using cat. sudo tee somefile > /dev/null And you will be able to paste from your clipboard or wr
5.
▲
by
pbaam
2y ago
The cat command can be omitted there, as tee reads from standard input by default, even if stdin points to a terminal. I was going to comment an actually useful (and unavoidable in bash) use of cat and ssh, which is to do do nothing with st
6.
▲
by
pbaam
2y ago
It will still work. If you look at the type signature of @cImport in the language reference[1], it returns a type just as @import. So you can call @typeInfo on it. But instead of writing const win32 = @cImport({ @cInclude("wind
7.
▲
LDAP for Rocket Scientists (2004)
(zytrax.com)
2 points
by
pbaam
3y ago
|
0 comments
8.
▲
by
pbaam
3y ago
What a coincidence, some days ago I was reading some HN posts related to lighttpd and I found [1]. The link is dead and it has inappropriate content, so use arhive.org. The author doesn't go too much in detail of why nginx being purcha
9.
▲
by
pbaam
3y ago
> Sniffing the traffic from the device showed that it was connecting out to tcp.goodwe-power.com:200001 Is 200001 the right port number? Very good read anyways.
10.
▲
by
pbaam
3y ago
I remember this option was mentioned in a 3 hour video[1] where Daniel Stenberg himself went through most of the curl command line options. [1] https://www.youtube.com/watch?v=V5vZWHP-RqU
11.
▲
by
pbaam
3y ago
> but they surely can't hope to compete with LLVM in terms of opimisation, can they? This has been discussed more than once on Zig's discord server. Quoting Andrew and Matthew Lugg's discussion in #compiler-devel about pul
12.
▲
by
pbaam
3y ago
They want to replace LLVM with their own backends. Zig's master branch can now be compiled without LLVM (and without CMake, see bootstrap.c) in x86 Linux because they implemented their own ELF linker and x86 code generation. It's
13.
▲
Reverse engineering Coin Hunt binary protocol (2023)
(research.nccgroup.com)
2 points
by
pbaam
3y ago
|
0 comments
14.
▲
Why did I switch back to Arch from Artix Linux?
(castorisdead.xyz)
3 points
by
pbaam
3y ago
|
0 comments
15.
▲
PinWin: Pin any window to be always on top of the screen (2020)
(github.com)
1 points
by
pbaam
3y ago
|
0 comments
16.
▲
by
pbaam
3y ago
Lua's codebase is also great for getting started
17.
▲
The Problem with Nsswitch (2018)
(skarnet.org)
1 points
by
pbaam
3y ago
|
0 comments