That's not what the linked article is saying. The point made in the article is that the 'uniq' utility couples together two unrelated concepts--sorting and frequency counting--and this coupling forces you to write more…
> There's no native Unix equivalent to frequencies, this sort | uniq -c is the closest we can get. Not only is it less performant (it has to collect the full input into memory before continuing), but it ties aggregation…
The oldest defer-like feature I can find reference to is the ON_BLOCK_EXIT macro from this article in the December 2000 issue of the C/C++ Users Journal: https://jacobfilipp.com/DrDobbs/articles/CUJ/2000/cexp1812/a... A…
I thought the "free" in "free web" was supposed to mean "free as in freedom," not "free as in beer." Have we really reached the point where the CEO of Mozilla no longer understands or cares about that distinction?
Several things: 1) Em-dashes 2) "It's not X, it's Y" sentence structure 3) Comma-separated list that's exactly 3 items long
It's possible that without the medication, you wouldn't have gotten burned out like this. But it's also possible that you'd have missed out on all of the benefits of being medicated and still gotten burned out anyway.
import std.meta: AliasSeq; enum E { a, b, c } void handle(E e) { // Need label to break out of 'static foreach' Lswitch: final switch (e) { static foreach (ab; AliasSeq!(E.a, E.b)) { case ab: handleAB(); // No comptime…
> ChatGPT is succeeding because they created a better search experience Or perhaps because Google created a worse search experience.
You can still write the extension in C++ and expose an extern "C" interface.
It looks like bans for odd/even license plates were used in Paris in 2014 [1] and 1997 [2], but not before then. However, a similar scheme was used to ration gasoline in the US during the 70s [3]. The only source I can…
It looks like this is what git merge-base --fork-point is supposed to do, although according to the docs it is not 100% reliable.
Page is completely unreadable in Firefox for Android.
I'd say C is actually a pretty good choice for an educational project like this. Having to write out all of your data structures by hand and manage your memory manually is a good learning experience, and since you're…
Most likely the intended audience is the press. Now that this letter has been published, journalists can write stories like "Online Safety Bill Under Fire From Security Experts", which make the issue digestible to a lay…
> Case in point at 9:30[0] he talks about localised memory patterns as though he's the first to come up with it This seems like an uncharitable interpretation to me. When he says "I'm not sure if anyone else has ever…
A number of command-line programs are actually just wrappers around a more strongly-typed library API. For example, curl and libcurl, or ffmpeg and a whole collection of audio/video libraries. [1] Of course, in the…
Maybe "decode"? As in "decode a Unicode string", or "decode a JPEG image", or "decode an MP3 audio file."
MuseScore doesn't use MIDI to store sheet music; it only uses it for playback.
And the use of the LAMBDA keyword goes all the way back to John McCarthy's original paper on Lisp from 1960: https://archive.org/details/recursive-functions-symbolic-exp...
If you want to play an RPG that will get you used to moving around with hjkl, you can also try a traditional roguelike like nethack [1] or dcss [2]. [1] https://www.nethack.org/ [2] https://crawl.develz.org/
IANAL but it looks like the default is 30 days: https://www.law.cornell.edu/rules/frcp/rule_34
Someone has uploaded a PDF to github, here: https://github.com/VernonGrant/gnu-c-language-manual
The problem with this approach is that, when a panic actually happens at runtime, there is no way to tell whether it was caused by an isolated mistake like forgetting to check for zero, or by memory corruption writing…
Here's a version with D included: https://gist.github.com/pbackus/0e9c9d0c83cd7d3a46365c054129... The only difference in BetterC is that you lose access to the GC, so you have to use RC if you want safe heap allocation.
vim-sexp-mappings-for-regular-people [1] uses really easy-to-remember shortcuts for these: - "backward slurp" is "<(" (move opening paren to the left) - "forward slurp" is ">)" (move closing paren to the right) -…
That's not what the linked article is saying. The point made in the article is that the 'uniq' utility couples together two unrelated concepts--sorting and frequency counting--and this coupling forces you to write more…
> There's no native Unix equivalent to frequencies, this sort | uniq -c is the closest we can get. Not only is it less performant (it has to collect the full input into memory before continuing), but it ties aggregation…
The oldest defer-like feature I can find reference to is the ON_BLOCK_EXIT macro from this article in the December 2000 issue of the C/C++ Users Journal: https://jacobfilipp.com/DrDobbs/articles/CUJ/2000/cexp1812/a... A…
I thought the "free" in "free web" was supposed to mean "free as in freedom," not "free as in beer." Have we really reached the point where the CEO of Mozilla no longer understands or cares about that distinction?
Several things: 1) Em-dashes 2) "It's not X, it's Y" sentence structure 3) Comma-separated list that's exactly 3 items long
It's possible that without the medication, you wouldn't have gotten burned out like this. But it's also possible that you'd have missed out on all of the benefits of being medicated and still gotten burned out anyway.
import std.meta: AliasSeq; enum E { a, b, c } void handle(E e) { // Need label to break out of 'static foreach' Lswitch: final switch (e) { static foreach (ab; AliasSeq!(E.a, E.b)) { case ab: handleAB(); // No comptime…
> ChatGPT is succeeding because they created a better search experience Or perhaps because Google created a worse search experience.
You can still write the extension in C++ and expose an extern "C" interface.
It looks like bans for odd/even license plates were used in Paris in 2014 [1] and 1997 [2], but not before then. However, a similar scheme was used to ration gasoline in the US during the 70s [3]. The only source I can…
It looks like this is what git merge-base --fork-point is supposed to do, although according to the docs it is not 100% reliable.
Page is completely unreadable in Firefox for Android.
I'd say C is actually a pretty good choice for an educational project like this. Having to write out all of your data structures by hand and manage your memory manually is a good learning experience, and since you're…
Most likely the intended audience is the press. Now that this letter has been published, journalists can write stories like "Online Safety Bill Under Fire From Security Experts", which make the issue digestible to a lay…
> Case in point at 9:30[0] he talks about localised memory patterns as though he's the first to come up with it This seems like an uncharitable interpretation to me. When he says "I'm not sure if anyone else has ever…
A number of command-line programs are actually just wrappers around a more strongly-typed library API. For example, curl and libcurl, or ffmpeg and a whole collection of audio/video libraries. [1] Of course, in the…
Maybe "decode"? As in "decode a Unicode string", or "decode a JPEG image", or "decode an MP3 audio file."
MuseScore doesn't use MIDI to store sheet music; it only uses it for playback.
And the use of the LAMBDA keyword goes all the way back to John McCarthy's original paper on Lisp from 1960: https://archive.org/details/recursive-functions-symbolic-exp...
If you want to play an RPG that will get you used to moving around with hjkl, you can also try a traditional roguelike like nethack [1] or dcss [2]. [1] https://www.nethack.org/ [2] https://crawl.develz.org/
IANAL but it looks like the default is 30 days: https://www.law.cornell.edu/rules/frcp/rule_34
Someone has uploaded a PDF to github, here: https://github.com/VernonGrant/gnu-c-language-manual
The problem with this approach is that, when a panic actually happens at runtime, there is no way to tell whether it was caused by an isolated mistake like forgetting to check for zero, or by memory corruption writing…
Here's a version with D included: https://gist.github.com/pbackus/0e9c9d0c83cd7d3a46365c054129... The only difference in BetterC is that you lose access to the GC, so you have to use RC if you want safe heap allocation.
vim-sexp-mappings-for-regular-people [1] uses really easy-to-remember shortcuts for these: - "backward slurp" is "<(" (move opening paren to the left) - "forward slurp" is ">)" (move closing paren to the right) -…