Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kaashif
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
751.
▲
by
kaashif
5y ago
> We’re talking cows in pastures and dark skies. Can you actually see the Milky Way anywhere in Oxford? I was never able to when I lived there.
752.
▲
by
kaashif
5y ago
This truly is one of the engineering questions of all time, in my opinion.
753.
▲
by
kaashif
5y ago
And if you use a specific enough dictionary for your problem, you can even just use cat! Just joking, I get what you're saying, the blog post is grepping a particular file, it's silly for people to grep a different file and use
754.
▲
by
kaashif
5y ago
Sure, but you see "financial terminal" you're already thinking Bloomberg. Then you see "OpenBB" and by that point what else could "BB" stand for? I mean that as a legitimate question, what are they even cl
755.
▲
by
kaashif
5y ago
Surely it's some kind of trademark infringement or something to call your Bloomberg competitor "OpenBB". That seems obviously designed to mislead people into thinking it's something to do with Bloomberg. If it were just
756.
▲
by
kaashif
5y ago
Just writing knowing that someone might read it inspires better writing. It's like when you think about a problem really hard, come up with nothing, then spend an hour formulating a perfect StackExchange question. More often than not
757.
▲
by
kaashif
5y ago
I wonder how it's possible for people to read a comment so differently. Like others have said, I read the comment as more of a "Why is this wrong?" than "Why are they idiots and didn't think of this?" which isn
758.
▲
by
kaashif
5y ago
Stimulating aggregate demand past output with monetary policy is one way inflation can happen, and central banks do have control over that. That can be considered a stealth tax by central banks. But sometimes output actually does decrease a
759.
▲
by
kaashif
5y ago
> author describes tensors as things behaving according to tensor transformation formula Yeah, the idea that there are pre-existing things that we're trying to describe is somewhat weird to me when we're trying to come up with
760.
▲
by
kaashif
5y ago
It's not clear to me what you're annoyed about exactly. The way I see it, there are a few options: You're getting annoyed that people are confusing the map with the territory [1]. Multidimensional arrays with certain properti
761.
▲
by
kaashif
5y ago
Nice website! Reminds me of some of those crusty, old-looking tools used in finance (e.g. Bloomberg) which are actually really functional. There is a typo on https://regatta.page/team : > Former Software Engineer at Fortu
762.
▲
by
kaashif
5y ago
I've been writing blog posts for 10 years and I don't even write with the intention of anyone reading it, it's just nice to get my thoughts into words or document a project I've been working on (e.g. how to get some weir
763.
▲
by
kaashif
5y ago
> I don't really understand why anyone who claims to be a proponent of a free market economy has an issue with a private corporation deciding what type of content they want to broadcast. You don't understand why someone would w
764.
▲
by
kaashif
5y ago
It blows my mind that this isn't a solved problem. Isn't there a substantial profit motive in investment banks to allow analysts to do more with their time? And I guess the other people with this motive are analysts themselves, bu
765.
▲
by
kaashif
5y ago
The saddest thing to me is that most people in the UK don't care about this. The only free speech that actually needs protection is offensive speech, and no group of people or political party would go near any of this stuff. The only c
766.
▲
by
kaashif
5y ago
That's surprising. I would've thought most C programmers have at least some experience writing C++, and C++ programmers (and C programmers too, but I don't know anyone who programs primarily in C so I can't comment) alre
767.
▲
by
kaashif
5y ago
> A good example of a cryptic rust error is the `expected type Foo, but found type Foo` error message which is very inscrutable, especially to a new users. Does Rust actually give an error like `expected type Foo, but found type Foo`, as
768.
▲
by
kaashif
5y ago
I was sure this was going to be some kind of joke about https://en.wikipedia.org/wiki/Ring_theory and Star Wars. If Lucas really did intend this ring theory stuff, that's kind of neat, but the dialogue and plot of
769.
▲
by
kaashif
5y ago
I am confused. It seems like there are two definitions of "user" here: someone that uses something, and someone that has an account. It's possible to use Twitter without an account (reading tweets seems like the primary use c
770.
▲
by
kaashif
5y ago
> So for example in Rust, you are absolutely welcome to move an immutable object. In Rust, your code won't even compile if you try to use a moved-from value. In C++ what happens depends on what the moved-from state looks like. In C+
771.
▲
by
kaashif
5y ago
Isn't it kind of confusing that RVO is mandatory, but it turns out RVO only refers to unnamed RVO and not NRVO? I would've thought that since NRVO is a type of RVO... Thanks for the clarification. Clang does do NRVO in that case b
772.
▲
by
kaashif
5y ago
Hmm, is it error, value or value, error? In this situation, I'd prefer something like std::optional or std::variant, which you can't get wrong as easily as swapping two variables in a structured bind. Those have their problems too
773.
▲
by
kaashif
5y ago
> for performance-oriented code, the original example, where the argument is stack-allocated in the caller, passed by reference, and used based on the return value, has benefits that can't be replicated in the std::optional<>
774.
▲
by
kaashif
5y ago
Since C++17, compilers are now required to elide copies and use RVO: https://en.cppreference.com/w/cpp/language/copy_elision There are probably exceptions and loopholes just like with literally everything i
775.
▲
by
kaashif
5y ago
If there are only two status codes (success/failure) then it seems like optional would be more appropriate than a tuple of bool and SomeType. const std::optional<SomeType> result = do_something(); if (!result.has_value(
776.
▲
by
kaashif
5y ago
> The liberals do this all the time saying that conservative bills are “anti voter rights” when in reality they just require ID to vote which is standard in many places that are more civilized than the US. This issue in particular is ver
777.
▲
by
kaashif
5y ago
> being late to college exams while having no pants on. The most intellectual nightmares my brain comes up with just involve demons chasing me. I've never had these intellectual dreams where there are exams, and deadlines, and being
778.
▲
by
kaashif
5y ago
> Well unless they pay no dividend, have dual-class share structure, and IPO without a profitable quarter. What’s a share of SNAP entitle you to exactly? Ah right, you think someone will buy it for more. I think the idea would be like wh
779.
▲
by
kaashif
5y ago
One of the Top Hacker News Posts Is a Hilarious Lie
780.
▲
by
kaashif
5y ago
> Why shouldn't businesses provide i.e. (K-12) education? Because, unless every single student goes to work for the company, then the value they create is lost to them. So you cannot align the interests of the business with providin
More ›