Better HN
topnewbestaskshowjobs
Log inSign up

PartiallyTyped

2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions

me [at] [$handle].dev

----------------------------------------------------

Submissions

comment 3y ago · link · parent

> vocal trance

I find this comment offensive.

comment 3y ago · link · parent

I found that it is better to ask for forgiveness than permission.

comment 3y ago · link · parent

I support abandoning dynamic typing.

comment 3y ago · link · parent

It’s about as close as one can get to an acquisition, no?

comment 3y ago · link · parent

Rust compiler enables trivial parallelism by enforcing multiple readers ^ writer; and it’s beautiful.

See Rayon.

comment 3y ago · link · parent

I took a different route to Goku (other commenter), I used to write a lot of C and C++ in university, did everything there, up until 2018-ish, I got a bit into rust and things just clicked, my understanding of memory was just not that good enough, and then my C skills skyrocketed as a consequence of learning proper memory management.

Then I got into Haskell, and functional programming, that made thinking about traits, immutability, and all functional aspects a breeze.

Then finally, I got into rust again, use it at work and personal projects. Somehow I managed to rewrite a project that took me 4 months in Python in about 4 days. It was faster, more robust, cleaner, and I could sleep at night.

comment 3y ago · link · parent

I'd add that if you have some understanding of how memory ownership should be such that you don't end up with memory leaks, you are fine. The borrow checker just verifies that your mental model is correct, and removes some of the cognitive load from you.

comment 3y ago · link · parent

I am referring to userspace / userland drivers.

https://www.kernel.org/doc/html/v4.18/driver-api/uio-howto.h...

comment 3y ago · link · parent

Linux kernel has support for rust userland drivers, and rust interops with python with pyo3.

comment 3y ago · link · parent

Surprisingly, I am faster in Rust than any other language. Something about my prior experiences just made it click just the right way.

I don't want to program in anything else anymore. I don't want to deal with obscure C++ error messages, C footguns and lack of ergonomics, I don't want to deal with abstraction hell of Java, or the poor person's typing that python has.

I have been programming in Python for the past 6 years, I know all sorts of obscure details, and with rust, I just don't need to think about all of those issues.

comment 3y ago · link · parent

… or another stuxnet even.

comment 3y ago · link · parent

Same! Fun times in the labs!

comment 3y ago · link · parent

And going the other way, the consumer 7900x3d has 57% as much L3 cache (128MB)...

comment 3y ago · link · parent

Well, had you read about anal feeding, and the rapes, and everything else, you'd be equally appalled. I am not saying that these have not happened in the holocaust or other such events, but I am appalled that this was done recently, and that there exist people willing to commit those acts.

comment 3y ago · link · parent

https://m.jpost.com/international/article-732806

> Mr. Nashiri claimed that in 2013, he was subjected to 'rectal feeding' and sodomized with a broom handle by prison staff.

> In 2014, the Obama administration released a 500-page document that detailed some of the CIA’s ‘black site’ program. The document confirms that rectal feeding is a method of torture used by prison staff.

I don’t consider rape, anal feeding, and everything else to be “force feeding prisoners who are hunger striking”.

comment 3y ago · link · parent

Let us not forget the hospital drone strikes during his presidency.

comment 3y ago · link · parent

I don't see how I am "pearl-clutching".

> Pearl-clutching is a deliberate bad-faith reaction to a comment and a form of civil POV-pushing. It is done in order to exaggerate the effects and impacts said comment had.

I merely spoke about the atrocities I read about, and expressed my disbelief in how a person could even commit something like that.

comment 3y ago · link · parent

I read about some of the torturing that has been done to those prisoners... I don't think there are words that can capture the sheer insanity of it all. I .. can't imagine how anyone could do something like that to a living being.

comment 3y ago · link · parent

You could consider it as applied science in that we are dealing with CPUs, we do benchmarks, we build models of things ... but this isn't work that everyone does.

I wouldn't call most SWE work close to applied math or logic. Very few people get to deal with things that are math-adjacent or do applied math in general. Many things are just .. plumbing data.

comment 3y ago · link · parent

Seems very similar to "Language Models Implicitly Perform Gradient Descent as Meta-Optimizers"

https://arxiv.org/abs/2212.10559

comment 3y ago · link · parent

I mean ... if you think about it, attention changes the effective weights of a model.

I am fairly certain that if you try, you can show that for any particular sequence of tokens of length N, the N-1 tokens induce a residual FFNN that results in exactly the same distribution over the next tokens given just the Nth.

comment 3y ago · link · parent

Seems related to “infinite context” by adding attention sinks. This seems to be the same mechanism at play.

https://arxiv.org/abs/2309.17453.pdf

comment 3y ago · link · parent

I fail to see why apple should be split.

Nobody forces people to buy macs, very few do, and as for iPhones, there are alternatives and apple doesn’t have a monopoly over the phone industry.

You can very well use icloud on other OSes too.

comment 3y ago · link · parent

> Raytheon has called in retired engineers to teach its employees how to build the Stinger missiles heavily used by Ukraine’s military—using blueprints drawn up during the Carter administration.

https://www.defenseone.com/business/2023/06/raytheon-calls-r...

And of course, lots of resources have been depleted.

comment 3y ago · link · parent

It's not just oil, it's also coal and other integral resources that are now difficult to extract because we are at the upper level of the S-curve and efficiency has dropped.

comment 3y ago · link · parent

The major difference is that in the event that there's a catastrophic event, we won't be able to build the tech we need because the intermediate steps will be lost.

It is also how we know there hasn't been a civilization more advanced than us that left without a trace. All the oil that was easy to extract has been extracted.

comment 3y ago · link · parent

> The study found that murder rates in the 25 states Trump carried in 2020 are 40% higher overall than in the states Biden won. (The report used 2020 data because 2021 data is not yet fully available.) The five states with the highest per capita murder rate — Mississippi, Louisiana, Kentucky, Alabama and Missouri — all lean Republican and voted for Trump.

> 8 of the 10 states with the highest murder rates in 2020 voted for the Republican presidential nominee in every election this century.

https://www.thirdway.org/report/the-red-state-murder-problem

And, of course, people live in cities ...

1
212223
97