Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abbeyj
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
abbeyj
3y ago
This isn't really about using Explorer for file management. It is about using Explorer as the shell. That's the default setup for everybody. Changing the default steel is difficult and some programs may not be compatible with w
32.
▲
by
abbeyj
3y ago
Since you're stuck using active FTP, maybe using nf_conntrack_ftp would help? I believe it is supposed to snoop the FTP connection, extract the port number from the PORT command, and then open only that port (from only that one IP) on
33.
▲
by
abbeyj
3y ago
The FTP connection seems to be using active mode (PORT command). Does using passive mode (PASV command) help at all? This is usually the easiest fix for problems with FTP and firewalls, without having to reconfigure or poke holes in the f
34.
▲
by
abbeyj
3y ago
This article claims that ketchup, like oobleck, is a shear-thickening fluid. Wikipedia says the opposite, that ketchup is a shear-thinning fluid. Any experts want to chime in?
35.
▲
by
abbeyj
3y ago
I think this is now fixed (or worked around) by https://github.com/easylist/easylist/issues/17937 ?
36.
▲
by
abbeyj
3y ago
Chef and Puppet are binary-only?
37.
▲
by
abbeyj
3y ago
> Each time the [std::deque] slides, every value in the queue has to change position in memory I don't think that this is true. `std::deque` has guaranteed O(1) complexity for insertions or deletions at the beginning or end of the
38.
▲
by
abbeyj
3y ago
I was sure this was going to link to this image: https://imgur.com/zh4F55R
39.
▲
Firefox Fullpage Translation
(support.mozilla.org)
2 points
by
abbeyj
3y ago
|
0 comments
40.
▲
by
abbeyj
3y ago
There are literals that create composite types, since C99: https://en.cppreference.com/w/c/language/compound_literal
41.
▲
by
abbeyj
3y ago
burntsushi, the code example after "we can also increase it by decreasing the size of our regex by disabling Unicode mode:" seems to be the same as the previous code example. Copy-paste mistake?
42.
▲
by
abbeyj
3y ago
I was coming to say almost the exact opposite. `ToBytes(0)` should be equal to the empty array. This seems like the more natural representation, at least to me. 1. The implementation of `FromBytes` works properly only if the base case ret
43.
▲
by
abbeyj
3y ago
This is shorthand pseudocode referring to a story that she has previously written up: https://rachelbythebay.com/w/2016/02/21/malloc/ . I suppose one could write `malloc(__builtin_bswap32(*(uint32_
44.
▲
by
abbeyj
3y ago
The FAQ disagrees with you: https://www.sqlite.org/faq.html#q5
45.
▲
by
abbeyj
3y ago
There are devices you can get to monitor each one of the circuits from the breaker panel like https://www.amazon.com/Emporia-Monitor-Circuit-Electricity-M... . This would let you narrow it down to a specific circuit. Figu
46.
▲
by
abbeyj
4y ago
Memory layout in gdb is consistent because gdb disables ASLR by default. This is usually what you want so that memory addresses don't change unnecessarily from one run to the next. But if you're debugging a problem that only show
47.
▲
by
abbeyj
4y ago
Yes, it is called "Uniform Initialization". https://isocpp.org/wiki/faq/cpp11-language#uniform-init
48.
▲
by
abbeyj
4y ago
Try https://liquipedia.net/counterstrike/File:Cs_cbble.jpg
49.
▲
by
abbeyj
4y ago
https://www.pagetable.com/?p=410 may go some way toward explaining this. The behavior is slightly different than in the video. I believe this is because the video is using a 65C02 instead of the original NMOS 6502 and the
50.
▲
by
abbeyj
4y ago
I'm not sure what issue you're seeing with getdelim(). It never releases the underlying memory, AFAICT. You always need to call free at the end of the loop, regardless of whether there was a read error, a realloc failure, you hi
51.
▲
by
abbeyj
4y ago
I think that would be safer. But then it would presumably disallow things like: void frob(std::string_view sv); std::string a = "a"; std::string b = "b"; frob(a + b); This is allowed today and does
52.
▲
by
abbeyj
4y ago
> realloc()? OK, I'll give you that one, but that's a rather unusual case. It has complicated semantics. It is unlikely to interoperate well with any smart pointer without careful, manual work. It doesn't take a `T**` so
53.
▲
by
abbeyj
4y ago
> It's the first time I'm hearing this Say that you have some `Person` class with a `get_name()` method that returns the person's name. Then maybe you write some code like this to use it: Person person; /&#
54.
▲
by
abbeyj
4y ago
Your C API here takes a `T*` but I think that the intended use for these new functions is with C APIs that take `T**`. Those are somewhat inconvenient to make interoperate with smart pointers. For example, in C you might have something li
55.
▲
by
abbeyj
4y ago
The image of "Ryan" in the footer seems to be taken from a photographer's portfolio page: https://headshotcrew.com/studiomcgrath
56.
▲
by
abbeyj
4y ago
Spreading https://nohello.net/ around your company may help. I have it set as my status message.
57.
▲
by
abbeyj
4y ago
You might like https://github.com/karlrupp/microprocessor-trend-data
58.
▲
by
abbeyj
4y ago
$ apropos search ... grep (1p) - search a file for a pattern ...
59.
▲
by
abbeyj
4y ago
How does this compare/relate to things like https://en.wikipedia.org/wiki/Source_Code_in_Database ?
60.
▲
by
abbeyj
4y ago
It appears to be the same newsletter, just renamed: https://thisistrue.com/trademarked_out_of_a_title/
More ›