Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yakubin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
661.
▲
by
yakubin
4y ago
Wow. That's competing with some C++ projects.
662.
▲
by
yakubin
4y ago
For me non-drinking month is a normal month, without any personal rule. I've heard about people drinking everyday, but that's hard to imagine for me. Recently, after a party where I drank alcohol, I concluded that I actually don&#
663.
▲
by
yakubin
4y ago
Lemonade/tea is great for the social aspect. Relaxation - I just go shooting photos. Activity is better than "relaxation substance" (soma).
664.
▲
by
yakubin
4y ago
How would that work? It would need to depend on the grammar of surrounding C code. This directive isn't limited to variable initialisers. You can use it anywhere. So e.g. you can use it inside structure declaration, or between "in
665.
▲
by
yakubin
4y ago
That's putting it mildly: < https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3017.htm#i... >
666.
▲
by
yakubin
4y ago
> told me this form was non-ideal and it was worth voting against (and that they’d want the pure, beautiful C++ version only[1]) I heard about #embed, but I didn't hear about std::embed before. After looking at the proposal, to me
667.
▲
by
yakubin
4y ago
Almost no voter has the expertise to accurately allocate resources in a country. Why would a popular vote, where expertise means nothing, result in anything better than we already have? There are plenty of issues people don't even know
668.
▲
by
yakubin
4y ago
With the difference that it's not a markup language, and it doesn't have those pesky namespaces.
669.
▲
by
yakubin
4y ago
Am I understanding it right that those plots are only generated in HTML form? I.e. I can't use it to generate an EPS file to be included in a LaTeX document?
670.
▲
Tell HN: You can't create a top folder named “Calendar” in Office365 Outlook
5 points
by
yakubin
4y ago
|
1 comments
671.
▲
by
yakubin
4y ago
I don't think the fact that you keep discovering features is a bad sign for a tool like git. It would be a bad sign if you kept discovering new footguns in the features you use (there is a fair bit of software like that). I'm 25 a
672.
▲
by
yakubin
4y ago
It doesn't change compared to DoT, but it does compared to raw DNS, since raw DNS is trivial for ISP to intercept, regardless of IPs involved.
673.
▲
by
yakubin
4y ago
In most countries, grandparents probably didn't even have an opportunity to get near a computer when they were young. They didn't have the opportunity to ruin anything, because there was nothing around to ruin. But they will still
674.
▲
by
yakubin
4y ago
What does ":" do in this? : "${BASH_LOADABLE_PATH:=/usr/lib/bash}"
675.
▲
by
yakubin
4y ago
The GUI is made with Electron.
676.
▲
by
yakubin
4y ago
Then you're using a definition of vector, not used in any mathematics course. > you can construct a vector space out of a set of non-vectors (such as matrices) A vector is by definition no more and no less than an element of a vec
677.
▲
by
yakubin
4y ago
Also, the unfortunate associative containers and std::regex.
678.
▲
by
yakubin
4y ago
Go authors put out a good post explaining the problem with C syntax and contrasting it with Pascal/Go/Rust syntax: < https://go.dev/blog/declaration-syntax >
679.
▲
by
yakubin
4y ago
2. I'm not sure I understand you here. A vector is defined by those operations. A set without those operations, even if it has the same elements, is not a set of vectors anymore. I don't understand your remark about sets here. The
680.
▲
by
yakubin
4y ago
It's not. Vectors can be added together and multiplied by scalars. That they are often represented as tuples of coefficients is just notation, doesn't matter for the notion of vectors, and vice versa: a tuple is not necessarily a
681.
▲
by
yakubin
4y ago
Actually, I've never known it existed. You're the one who reminded me now. :)
682.
▲
by
yakubin
4y ago
> FWIW, ArrayList is a List, backed by Arrays. You probably know that, but just to clarify: it's backed by a single array, reallocated repeatedly, just like std::vector in C++ (although growth factors are different, I think). Just
683.
▲
by
yakubin
4y ago
Java: ArrayList Zig: ArrayList GLib: GArray Objective-C: NSMutableArray
684.
▲
by
yakubin
4y ago
It's std::vector that was weirdly named. In plenty of codebases "Vector", particularly gamedev and scientific, will mean the mathematical object with that name. Other languages don't need to replicate this mistake.
685.
▲
by
yakubin
4y ago
There are some instances of it in the stdlib, e.g. < https://pkg.go.dev/html/template@go1.18.4#Must > I'd guess with generics we can expect a generic "Must" to replace them.
686.
▲
by
yakubin
4y ago
My favourite feature of mpv is small but neat: going frame-by-frame forwards and backwards with the keys "." and ",". VLC can step forwards, but not backwards, which frustrated me a fair bit, because I like first stepp
687.
▲
by
yakubin
4y ago
I don't remember where I got the number, but a quick look at Wikipedia finds some claims that Free Germania used to have 70% forest area. I think I've also heard similar numbers in some museums given for Poland in Middle Ages. Can
688.
▲
by
yakubin
4y ago
From the title, I expected they were sounding an alarm that they are losing forests. It appears the opposite is happening. Really bewildering, given how just a couple centuries ago for most European countries having less than 70%+ forest co
689.
▲
by
yakubin
4y ago
Oh, got it. I got confused, because the Haskell snippet is written in a point-free, not applicative style.
690.
▲
by
yakubin
4y ago
> The given Haskell example doesn't support their claim that >> This is shorter than the equivalent in an applicative language, because we have to name the input argument, that is only used once.* Are you saying that in your
More ›