Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wkz
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
wkz
2y ago
Technically, sure. What is the moral distinction though?
2.
▲
by
wkz
3y ago
> Yes. I will watch it for free as intended, nobody posted the content to be YouTube premium only, so I won't pay for it, I will watch the sponsor segments though. Fair enough, but the grandparent's point was specifically about
3.
▲
by
wkz
3y ago
> I won't pay YouTube though, [in that case I will unilaterally decide that I can consume your content free of charge], sorry not sorry. For clarity, I just added the quiet part.
4.
▲
by
wkz
3y ago
And once you've used that API to download and tag everything, what tools do you use to interactively view the results, run search queries, apply patches to local trees etc? If your on-disk format is an Mbox or a Maildir, you can use to
5.
▲
by
wkz
3y ago
It's easy to forget the maintainers' side of this. Yes, most contributors will prefer opening a PR on GitHub as apposed to mailinglists. But imagine instead that you are David Miller, and it's your job to consume the absolute
6.
▲
by
wkz
3y ago
IIRC, I believe that the difference traditionally was whether to pass the input through the preprocessor (.S), or not (.s). Not sure if it makes a difference on modern toolchains.
7.
▲
by
wkz
3y ago
Great writeup! Especially liked this nugget: > (NOTE: This grammar is 704 bytes in ascii, 38% larger than it's implementation!)
8.
▲
by
wkz
4y ago
If they really don't think that they need to comply with any license, then why not include all private repos in the training set? Could it be that they're worried about legal repercussions, whereas OSS is easier to (ab)use for thi
9.
▲
/dev/kmem and GDB Stub = kmemd
(wkz.github.io)
2 points
by
wkz
4y ago
|
0 comments
10.
▲
by
wkz
4y ago
https://refspecs.linuxfoundation.org/FHS_3.0/fhs-3.0.pdf
11.
▲
by
wkz
6y ago
While it might not be a special case exactly, you most likely won’t see /bin/[ being executed either. Typically your shell will implement it as a built in command. Because as you say, spawning processes is expensive.
12.
▲
by
wkz
6y ago
A clear case of Rob Pike’s 3rd rule of programming: https://users.ece.utexas.edu/~adnan/pike.html
13.
▲
by
wkz
6y ago
Xenomai uses this model, I believe. It is written in C, but I don’t see why you couldn’t do something similar with Rust.
14.
▲
by
wkz
6y ago
Not sure if it qualifies as a GUI, but I’ve found magit increases my productivity with git.
15.
▲
by
wkz
7y ago
For one, I think this would be cumbersome from a debugging perspective. All of the address-to-source-mappings in your DWARF section would point to things like "lib.c:237652" instead of "lib-module.c:347". It also means t
16.
▲
by
wkz
7y ago
I feel like one alternative is missing from the list: fp = fmemopen(buf, sizeof(buf), "w"); fputs("one", fp); fputs("two", fp); fputs("three", fp); fclose(fp); Not sure how it perform
17.
▲
by
wkz
8y ago
I never argued that it was. Though, "embedded" covers a wide spectrum of systems. For microcontroller-based projects, then no. For bigger SoCs paired with hundreds of MBs of FLASH/RAM it can be very useful. My original point
18.
▲
by
wkz
8y ago
I disagree. Sure, it is a monolith as apposed to a micro-kernel, i.e. everything in the kernel shares the same address space. But it is highly modular in that most drivers and filesystems can be dynamically loaded/unloaded.
19.
▲
by
wkz
8y ago
TIL about protothreads. Thank you. That does indeed look hair-raising!
20.
▲
by
wkz
8y ago
The OS comparison table leaves me somewhat puzzled. Contiki's "C Support" is listed as "partial" without any explanation. What does this even mean? It seems to me that this should be between you and your compiler. L
21.
▲
by
wkz
8y ago
IHMO, threads are mostly useful for scaling a workload beyond the capacity of a single core. For all other types of concurrency problems, a single thread of execution using some kind of event loop is usually a better fit.
22.
▲
by
wkz
8y ago
I think you have to put his principles in a historical perspective. Sure it sounds somewhat extreme today when OSS dominates many layers of our business stacks. But assuming that the industry would have naturally seen the OSS light is far f
23.
▲
by
wkz
8y ago
Thanks for the plug! :) Please allow me to follow up with one of my own https://wkz.github.io/ply/ , where you can see some examples and read through the manual. I'm currently working on a new version which will be
24.
▲
by
wkz
8y ago
Yes, I agree with it being that way. I just think my brain parses the origin as being the corner that is closest to the "0" label. Therefore, if the labels where below the plot, there would be no parse error :)
25.
▲
by
wkz
8y ago
Sure thing: https://github.com/Netflix/flamescope/issues/1
26.
▲
by
wkz
8y ago
Wow, great visualization! Thanks for sharing the source. A minor suggestion: For the first part of the demo i was thrown of by the fact that each second as laid out bottom->top. Maybe moving the time labels below the plot would provide a
27.
▲
by
wkz
8y ago
How would this be different from &? It is also a unary operator and && is a different binary operator. '||' and '&&' are distinct tokens in C as far as i know, i.e. not handled as two consecutive 
28.
▲
by
wkz
9y ago
The argument was not that freedom of speech follows from democracy. You could theoretically have an authoritarian rule that allowed unfiltered criticism against it. The argument was: not allowing freedom of speech is always wrong, independe
29.
▲
by
wkz
9y ago
The same argument could have been made about Europe not so long ago. I think one difference is that back then the playing field was more equal. Military power was roughly equal to the number of people you had fighting on your side. Fighter
30.
▲
by
wkz
9y ago
The one online tool that I use for this kind of work is Woboq Code Browser. It's only C/C++ projects and not many are freely available. The Linux kernel is though and I spend a lot of time in that code base. glibc, gcc and llvm ar
More ›