Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
feffe
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
feffe
4d ago
Also, 20 years ago SW was tested by QA department and approved before shipping. Don't want to go back to that, but there were testing, just differently.
2.
▲
by
feffe
25d ago
I think this passes. In general "why" over "what". Give context to why something is made like it is (when seeming convoluted or strange). Sometimes I think one can give historical facts for really hairy hard to fix issue
3.
▲
by
feffe
3mo ago
I've never been able to fix the tool calling issues. Running unsloth versions with llama.cpp, constant issues. Have tried many forum fixes, including lots of fixed chat templates, to no avail. It's mostly the edit call that breaks
4.
▲
by
feffe
5mo ago
All ALU operations are also more expensive with 32 bit operands. So 16 bit data bus, 24 bit address bus. Slower arithmetic with 32 bit operands. I never though of it as a 32 bit CPU.
5.
▲
by
feffe
9mo ago
I'm a believer in restricting the scope of definitions as much as possible, and like programming languages that allows creating local bindings for creating another. For example: local val backupIntervalHours = 24
6.
▲
by
feffe
10mo ago
Steam on Linux works really well now. I sort of built my own steam machine a few months back with a framework desktop that now sits in my TV rack. Gaming on it is a really good experience. Had to buy a PS5 controller though because I could
7.
▲
by
feffe
1y ago
CMake has become the defacto standard in many ways, but I don't think it's that easy to deal with. There's often some custom support code in a project (just as with make files) that you need to learn the intricacies of, and a
8.
▲
by
feffe
2y ago
I don't see the point of passing the size to a "free" function. I don't see how it could be used to speed up de-allocation. Additionally most usage would probably not want to keep the size around. But I concur that reall
9.
▲
by
feffe
2y ago
I actually did at one time, and it was fantastic. Then Agile was rolled out in that organization and ruined everything. Oh, the irony.
10.
▲
by
feffe
3y ago
Hmm, I was a hang around back in the day. Not one of the big boys. But I got to say some of the young kids that I hung around with then had more skills than many I've worked with in the industry since. Going on my 25th year as a "
11.
▲
by
feffe
3y ago
- Multiple out file dependencies are also difficult to describe in make (GNU Make). There's a dedicated section for how to solve it in the manual[^1] but it's a crutch. - Taking environment variables into account as a dependency (
12.
▲
by
feffe
4y ago
Perhaps this is similar to how they work in go? "var x []int; fmt.Printf(`%p %d`, x, len(x))" outputs "0x0 0" Indexing "x[0]" results in: "panic: runtime error: index out of range [0] with length 0" T
13.
▲
by
feffe
4y ago
I think most applications don't have any dependency towards a specific page size. They use malloc (C) or new (C++) to allocate memory which does not expose this constraint. You need to care if using mmap directly to map files or other
14.
▲
by
feffe
4y ago
Can the CPU cores in a CCD access the L3 cache of another CCD with higher latency? If so the CCD without extra cache may still get a performance boost. I know there has been such designs in the past but I don't know how it works in the
15.
▲
by
feffe
4y ago
There are many contradicting examples: The original JPEG standard is an ISO standard (ISO/IEC 10918) with payed access. MP3 is also an ISO standard (ISO/IEC 13818-3). Perhaps not as relevant today but was once used by basically ev
16.
▲
by
feffe
4y ago
Nitpicking on terminology. Portable used to mean that software can run on another platform with minimal modifications. Typically by relying on abstraction layers that then has multiple implementations. It's cool that a single executabl
17.
▲
by
feffe
4y ago
I think a mindset that could work is to accept software as done. This is hard but for foundational stuff it could work well. Only fix bugs in such software. Try to set a scope what the software should do, build it, then do maintenance on it
18.
▲
by
feffe
4y ago
So Go has two GC knobs now. I think it still plays to the ethos of minimalism and restraint.
19.
▲
by
feffe
4y ago
ASAN is pretty great with these cases as well. Spent much time looking for the needle in the haystack before ASAN came along.
20.
▲
by
feffe
4y ago
Go 1.0 was released in 2012, it spent 3 years in alpha/beta phase. https://go.dev/blog/go1
21.
▲
by
feffe
4y ago
In my experience debuggers handles this fine. Some archs also has a link register (jump and link) which may help finding back. This test is from x86-64 Linux. /* gcc -g -Wall -o x x.c gdb ./x (gdb) r (gdb) bt #0 0x0
22.
▲
by
feffe
4y ago
Yes, you are correct. I had not thought about it deeply. There are restrictions for what can be used as a map keys according to some built-in equality rules. And of course the types used as map keys and values are concrete types so you can&
23.
▲
by
feffe
4y ago
Built-in map and vector types are generic. E.g. map[int]*MyType Using interface{} is quite common in the absence of sum types (or inheritance with base class). I guess interface{} is like Object in Java. It's not worse than Python or o
24.
▲
by
feffe
4y ago
RISC-V really is the heir of MIPS as it had those TLB tags as well.
25.
▲
by
feffe
5y ago
The compiler is fast in that is compiles code quickly, just as Go and the execution speed of produced programs are similar to Go (depending on what abstractions you use). It seems there are a bunch of languages in the fast but not quite as
26.
▲
by
feffe
5y ago
Not weird but I can share what has worked for me so far. I'm pretty skinny but like to eat junk food and candy. My target weight is 80-82 kg. When I hit 90 kg I don't feel good about myself. Pants too tight etc. First time I hit
27.
▲
by
feffe
5y ago
Well yes, I was one of the haters back then because it was too verbose (for me). IMHO Go is less verbose than early Java. It could be less verbose without loosing readability. My two top picks would be to add a ternary expression and a real
28.
▲
by
feffe
5y ago
You do have more precise control over the memory layout of your data in Go. Because of the value types and support for using interior pointers to arrays. In that respect it's like C which is lowish level.
29.
▲
by
feffe
5y ago
Everyone will have different gripes based on previous experience. I once religiously wrote Doxygen (aka javadoc) comments for all my C code. Eventually I realized it was just very verbose red tape that added little value. In C no-one bother
30.
▲
by
feffe
5y ago
I've written a lot of C code and to me Go is like a high level C with some sharp corners removed and a GC. Maybe I don't see the limitations in Go as a problem because of this. Have done quite a bit of C++ as well. I prefer simple
More ›