Better HN
topnewbestaskshowjobs
Log inSign up

iamthemalto

144 karma · joined May 21, 2020 (6y ago) · 29 submissions

Submissions

comment 1y ago · link · parent

Helpful comment, but it's also mildly amusing you picked one of the few agricultural underlyings you can't trade futures on (Onion Futures Act). Not sure if that was intentional or not!

comment 1y ago · link · parent

Really appreciate the "How it works" section in the README. In general I think it's great when projects give a high-level overview of the architecture and techniques involved, it provides an easy way for a newcomer to quickly grasp the fundamental workings of the project.

comment 1y ago · link · parent

Obligatory link to infamous dropbox comment: https://news.ycombinator.com/item?id=9224

comment 2y ago · link · parent

I understand this perspective if considering CMake in the past (i.e. pre 3.0 or so), but in my experience CMake today is much nicer (albeit definitely still not without its flaws). Specially for the points you mention:

* “Weird bugs”: I suspect CMake wasn’t finding the version of Python you wanted because your find_package command was just finding a different version first. This is much easier to debug today by using —-debug-find-pkg=Python, which will print all the places it searches Python for and what it finds. You can then modify your find_package invocation as appropriate to find the Python you really want to use.

* Messy structure: yes, unfortunately I’ve also seen my fair share of nightmare-inducing CMake files.

* Opaque process: here I actually quite disagree. In my experience I’ve found it super easy to modify things like compiler flags (just use target_compile_options, or add_compile_options for directory wide options). And what made a big difference was using Ninja as the generator (I also use Ninja on Windows), which makes it super easy to view the final compiler commands that will actually be invoked. CMake is essentially a compiler that emits Ninja on the backend, and several times it’s been invaluable to confirm in the generated Ninja code what is actually being invoked.

CMake is definitely not perfect, but it’s much better than what it used to be! It’s ultimately a perfect match for C++ (both extremely powerful, configurable, hamstrung with decades of backwards compatibility, terrible ergonomics, etc.).

comment 2y ago · link · parent

I understand what you’re trying to say with this analogy, but even gold bars have related costs, known as the cost of carry.

comment 3y ago · link · parent

Interesting, have your recommendations changed?

comment 4y ago · link · parent

Glad you seemed to have learned that you were playing with fire, since that could have easily left you with 65k in the red.

comment 4y ago · link · parent

Interesting idea, but honestly that seems too far in the other direction. A midpoint between the two ends that optimizes both brevity and readability is probably ideal.

comment 4y ago · link · parent

I understand the ethical concerns when choosing to join a company, but I'm not quite sure I follow your reasoning regarding some of the specific companies you listed. Skeptical about Google and Meta, but not Microsoft, which also doesn't exactly have a clean name when it comes to questionable operating practices? Suspicious about Netflix, but JP Morgan seemingly flies under the radar?

10.

The Dumbing-Down of Programming(salon.com ↗)

18 points · by iamthemalto · 4y ago · 2 comments

comment 4y ago · link · parent

How about a compromise: theoretical computer science

comment 4y ago · link · parent

Sure, if you're a full time youtuber already with years of experience knowing how to script, film, light, edit, do post production, etc. etc. etc.

A lot of these youtubers who put out fantastic videos do essentially all the same things as the Masterclass production crew, but just on a smaller scale. Countless hours are poured into producing these youtube videos that are maybe just as short as 10 minutes.

And even if Terrance Tao wants to make some infotainment, what's wrong with that?

comment 4y ago · link · parent

Well the gas feeling slower to bringing things to a boil is to be expected; induction is much much much quicker at boiling things (~10 mins on gas vs ~2-3 mins using induction).

14.

Why Do Harvard Kids Head to Wall Street?(baselinescenario.com ↗)

5 points · by iamthemalto · 4y ago · discuss

15.

Google's “Director of Engineering” Hiring Test(gwan.com ↗)

144 points · by iamthemalto · 4y ago · 68 comments

comment 4y ago · link · parent

Hahaha I wish these numbers were quoted post-tax... unfortunately UK numbers are in my experience all quoted pre-tax, just like in the US. So yes, that £74,000 really is before ~22% tax (income tax + national insurance).

comment 5y ago · link · parent

I'm a CS student as well, curious what course taught you about ECC? Would be interested in such a course as well, the only course I can imagine teaching this is an information theory course (which my university doesn't offer).

18.

Welcome to the Jungle Or, a Heterogeneous Supercomputer in Every Pocket(herbsutter.com ↗)

1 points · by iamthemalto · 5y ago · discuss

comment 5y ago · link · parent

Wow this really works, thank you. What actually is the reason for it being much faster in a private window? Is there so much tracking going on in a normal window?

comment 5y ago · link · parent

Interesting that seems to be an exclusively American problem (as far as I know). I’ve experienced exactly 0 robocalls in all the other countries I’ve lived. My friends and I are constantly astounded when our American friends complain about spam calls, it’s just unheard of here and everywhere else I’ve ever lived.

21.

Computer Science Illustrated(csillustrated.berkeley.edu ↗)

3 points · by iamthemalto · 5y ago · 1 comment

comment 5y ago · link · parent

Not sure if I'm missing a joke, but the part commented out is in Rust (not C++) from the original post?

23.

Joint Strike Fighter Air Vehicle C++ Coding Standards [pdf](stroustrup.com ↗)

27 points · by iamthemalto · 5y ago · 6 comments

comment 5y ago · link · parent

I think if you compare rents to a place like Munich, then Vienna is indeed quite low

25.

The STL is more than std:accumulate(quuxplusone.github.io ↗)

1 points · by iamthemalto · 5y ago · discuss

comment 6y ago · link · parent

What's the program being used to go through the machine code in the gif?

comment 6y ago · link · parent

From what the guide at JPL said when I went on a tour there and got to see the Perseverance rover in the cleanroom, was that they simply had enough spare parts from building the Curiosity that it was easy/worth building this second one.

comment 6y ago · link · parent

Am I missing something, or is the arrow operator (mathematical implication) not quite right in the example code they give? What happens when a statement is vacuously true?