Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PeCaN
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
101 ms
·
871.
▲
by
PeCaN
11y ago
I feel the same way. I don't actually like iOS that much, and historically I haven't liked Apple for their human rights issues, but seeing that they relatively consistently take a stand on privacy is making me consider switching.
872.
▲
by
PeCaN
11y ago
A lot of scientific programming still uses Python 2, so that's not particularly surprising.
873.
▲
by
PeCaN
11y ago
It does characters pretty well too. For most popular series that I tried, with the weird exception of Gintama, searching any of the main characters would pull up the rest of the main cast as highly related. It seems to have learned the rela
874.
▲
by
PeCaN
11y ago
Interesting side effect: it has learned to give somewhat decent anime recommendations. At the very least it recognizes some basic genres to an extent (for example, TTGL is close to Code Geass and Kill la Kill, while Kokoro Connect is close
875.
▲
by
PeCaN
11y ago
XSLT is actually insanely cool, it's just poorly executed. For example, XSLT lets you decouple the content structure of your document from the presentation structure. XSLT makes nested <div> obsolete. It lets you have responsive
876.
▲
by
PeCaN
11y ago
Seeing as Google partially sponsored RISC-V[1], it wouldn't really surprise me. 1. Indirectly, via ASPIRE Lab.
877.
▲
by
PeCaN
11y ago
I didn't realize statement expressions were a GCC extension. How do you do the safe min/max in MSVC? e.g. #define min(a,b) ({ \ __typeof__(a) _a = (a); \ __typeof__(b) _b = (b); \ _a > _b ? _b : _a; \
878.
▲
by
PeCaN
11y ago
HTC Sense 6 browser still implements it pretty well. I still use it despite it being somewhat slow and annoying in other ways, because at least I can read with it.
879.
▲
by
PeCaN
11y ago
I know, but why isn't something like this in core? * did function composition a while ago, but it was removed (beats me why) and hasn't been replaced. Enough Perl6 has left me with <compose>(.) to get ∘ :-)
880.
▲
by
PeCaN
11y ago
No, x |> f is equivalent to f(x) while (f ∘ g)(x) is equivalent to g(f(x)). Specifically, x |> f results in a value (of the type of the return value of f) while f ∘ g results always results in a function.
881.
▲
by
PeCaN
11y ago
If the C preprocessor counts, I do that every day. :-) Otherwise, it's one of those things that you don't realize how useful it is until you can't do it. But not often, and ideally a Sufficiently Expressive Language wouldn&#x
882.
▲
by
PeCaN
11y ago
Correct me if I'm wrong: Does this mean something like (pseudo-C): struct weird_bit_field { uint8_t x : 32; }; i.e. an 8-bit int that takes 4 bytes of space? Or am I misunderstanding something?
883.
▲
by
PeCaN
11y ago
There's a subtle but important difference. They're not necessarily tied to each other anyway. For example in Python you frequently have lots of named functions that capture some variables in an outer scope, and are closures but no
884.
▲
by
PeCaN
11y ago
foldr usually gets deforested in GHC , so the intermediate list probably doesn't exist. GHC rewrites most of the common built-in functions to eliminate intermediate trees and lists. You can see a list https://downloads.hask
885.
▲
by
PeCaN
11y ago
I assume Microsoft couldn't push their own solution because of the anti-trust restrictions. Now that those have expired, perhaps they could unless they're afraid they'll get lawsuits against them again.
886.
▲
by
PeCaN
11y ago
And that libreboot has no hardware support.
887.
▲
by
PeCaN
11y ago
That's a very common C idiom.
888.
▲
by
PeCaN
11y ago
So we are closer to 2ch than TechCrunch.
889.
▲
by
PeCaN
11y ago
I used to think symbolic debuggers were tricky until I actually bothered to pick up GDB. It seems hard and complicated at first, but it's really not. You can get very far with just "break", "next", and "print&q
890.
▲
by
PeCaN
11y ago
Yes! TempleOS seems a lot like a quirkier Oberon System actually—though sadly I've never used Oberon. Man OberonStation looks tempting.
891.
▲
by
PeCaN
11y ago
Say what you will about TempleOS, but HolyC is actually brilliant. The same language is used for the OS, programs, and shell, the entire OS is JIT-compiled (modify the source and reboot to make changes), and it's just generally a reall
892.
▲
by
PeCaN
11y ago
Electron is cool and all, but every application with it bundles its own entire web browser stack and uses ~200MB+ of RAM (and that's the low end—VS Code with 2 small files open). It's my opinion that Electron is a terrible idea.
893.
▲
by
PeCaN
11y ago
Perhaps it's because Atom sort of bills itself as a hackable, JS/HTML version of Sublime. It's a very apples-to-apples comparison, while Brackets targets a particular niche and isn't as directly comparable.
894.
▲
by
PeCaN
11y ago
Blender's UI is like Vim. If you don't put the time in to learn it, it makes no sense, but if you do it's the most efficient thing ever.
895.
▲
by
PeCaN
11y ago
I've noticed the EFF has a tendency to exaggerate slightly, so it wouldn't surprise me if it's partly sensationalized. Even so, it's rather disconcerting.
896.
▲
by
PeCaN
11y ago
It's like Total War but with big dudes, a ball, and a time control.
897.
▲
by
PeCaN
11y ago
I think this is a common sentiment everywhere .
898.
▲
by
PeCaN
11y ago
I was going to say LuaJIT also. JIT compilers have a habit of looking rather like chicken scratch, but LuaJIT is pretty readable (for a JIT). Specifically, the way it manages traces (lj_trace.c, lj_record.c) is really elegant. It's not
899.
▲
by
PeCaN
11y ago
On the contrary, my opinion of it is very boring but very useful. It's the sort of thing one inevitably ends up with after enough C development, but this looks much more complete than average.
900.
▲
by
PeCaN
11y ago
The English section of the readme looks like it's a more-or-less literal translation of the Chinese section, so I think we can forgive a little spelling when it's clear his native language isn't English.
More ›