Better HN
topnewbestaskshowjobs
Log inSign up

neeeeees

167 karma · joined Nov 17, 2019 (7y ago) · 61 submissions

Submissions

comment 2w ago · link · parent

The initial buyers of the shares sold by Anthropic are institutional investors (mostly). That matching process is done by an investment bank they hire.

The trading price you see on the screen is - shortly afterwards the shares become publicly tradable on the exchange (or on all US equities exchanges, for US stocks). So in effect, the price shooting up on the public markets is actually bad for the company in that they might have left money on the table.

comment 2mo ago · link · parent

To repurpose a famous quote - all benchmarks are wrong, but some are useful

comment 1y ago · link · parent

I think so but it doesn’t really matter. It’s far faster to apply at the border anyway.

comment 1y ago · link · parent

This is not remotely true. The gap between them as players far exceeds the gap elsewhere, combined, many times over.

People forget Kerr was a bad GM

comment 1y ago · link · parent

On one of these less forgiving architectures, how does one write programs that read some bytes off the network, bitcast them into a struct, and do something based on that?

On x86 you would use a packed struct that matches the wire protocol.

Wouldn’t this require extra copying if member reads were forced to be aligned?

comment 2y ago · link · parent

Quite the opposite actually. Simons and similar practitioners eschewed fundamental valuation techniques. Buffett is possibly a better example.

comment 2y ago · link · parent

To add, the set of observable mutations (beneficial or not) that occur as a result of a single point mutation is in all likelihood an extremely tiny subset of the set of all observable mutations - even after “deduping” for the observed effect.

comment 2y ago · link · parent

It’s an intentionally misleading tweet.

To simplify, It’s saying, if the genome were a string of some length, for any possible byte b and byte position i, there exists a person whose genome has b at position i. Unlike normal character strings, there are only 20 or so valid characters (proteins) encoded by 3 “bytes” (nucleotides) each. So you’re looking at O(10 billion) values of (i, b) that would still keep the string well-formed in its 3-bytes-per-character encoding.

Most importantly, it’s not saying anything about having some bytes b1 and b2 at the ith and jth positions or any generalization thereof.

comment 2y ago · link · parent

Ah okay that makes sense to me

comment 2y ago · link · parent

Interesting - is there a type safe way to do this? vector<variant<>>? and/or a custom “vector allocator” to hide the details?

comment 3y ago · link · parent

> CMake doesn't fetch your dependencies for you and ensure they're the version that your code is compatible with.

That’s a little too harsh. You can certainly make it do that via a combination of git tags (to build from source) and CMake modules/Find*, but yes, it’s much more cumbersome than cargo/npm/go

comment 3y ago · link · parent

Very cool! What tool did you use to simulate this? What does the code/query (if any) look like?

comment 3y ago · link · parent

(Author here) Thanks for explaining this more succinctly than I can :)

Just one nitpick:

> decent amount of stuff that has to be done in main before you run _start

should read

> decent amount of stuff that has to be done in _start before you run main

Analogously, cleanup code like running global destructors usually happens in _start/CRT after main returns, but I skipped that in the post for the sake of brevity.

comment 3y ago · link · parent

Interesting! I liked the configurability, but it was horribly slow with SSL. Possibly due to uncached DNS lookups but I didn’t dig too deep.

comment 4y ago · link · parent

Good answer. OP didn’t specify “blew your mind in a good way”.

comment 4y ago · link · parent

Out of curiosity, what field do you work in that a couple of cycles matters/is measurable?

comment 4y ago · link · parent

How do you turn this on?

comment 5y ago · link · parent

“s '1,$ s/foo/bar/' file.txt”. should be replacement from 1 to end, not 5 to end (#4 on your list)

19.

The climate disaster is here(theguardian.com ↗)

19 points · by neeeeees · 5y ago · 4 comments

20.

Anti-Vaxxers as Viewed Through a Psychology Lens [video](youtube.com ↗)

1 points · by neeeeees · 5y ago · discuss

comment 5y ago · link · parent

Typo in the first code snippet:

> model.get('get')

did you instead mean:

> model.get('age')

comment 5y ago · link · parent

Neat! Forgive my ignorance, but what does a perfect hash table (which I came across by skimming your project) buy the user? Even with distinct hashes, is there a way to enable random access to the element without an arbitrarily large array?

comment 5y ago · link · parent

> they are slow when not thrown

I thought the not-thrown case was pretty much zero-cost, at least in newer versions of Clang... How much of a slow down are we talking here?

comment 5y ago · link · parent

Looking forward to grabbing a physical copy of this book. As a beginner, CI and Alex Aiken’s course at Stanford were a great place to start.

Bob also gave me a lot of insight on what it’s like working on programming languages in the industry when I reached out to him as an undergrad.

comment 5y ago · link · parent

This is very [very] similar to https://opslevel.com

comment 5y ago · link · parent

Hey everyone, I wanted to build a tool like this to clearly illustrate how 'code is just data' - something a lot of students in a class I TA'd struggled to grasp. Everything in CUTE centers around a memory array with disassembly overlay, and each word being editable. It's still a little rough around the edges (e.g - the assembler doesn't catch many syntactic errors which aren't hard to detect), but I wanted to get some early feedback!

27.

Show HN: Cute – Didactic VM, Assembler and Debugger in the Browser(github.com ↗)

2 points · by neeeeees · 5y ago · 1 comment

comment 5y ago · link · parent

Looks pretty cool! Couple of questions:

- Is there a story behind the name?

- Out of curiosity, does “Encore Cloud” also run on AWS?

- I think a lot of developers have a mentality of “rather write boilerplate than be tied to a platform not endorsed by $bigCompany”. Do you have a strategy to mitigate this?

comment 5y ago · link · parent

Congrats on the milestone!

I hope it’s okay to ask a technical question:

How did you build push notifications (especially on mobile) with a single codebase? Do you use something like OneSignal?

Also, is your iOS app still using Cordova? It looks and feels so nice, which is a marked difference from the last time I tried that framework.

comment 5y ago · link · parent

So you’re telling me... To understand recursion you should first understand ecursion ? :)
123