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 5y ago · link · parent

Melvin Capital lost Billions last week alone. They needed to get bailed. You have been sold the narrative by the same people who screwed you in 2008. The bubble is the consequence of Hedge Funds getting greedy and repeatedly screwing a "dead company", by overshorting the shares.

Don't take my word for it, take Louis Rossmann's, somebody known to stand for the little guy.

https://www.youtube.com/watch?v=4EUbJcGoYQ4

comment 5y ago · link · parent

Then you are not paying attention. The floating shares are fewer than the shorted shares. Even if all the floating shares were bought, there are not enough shares to cover the short's position.

comment 5y ago · link · parent

Programming is a craft. In the same way the pentagon and white house have structural proofs against certain kinds of attacks, programs have certain kinds of defences against certain kinds of attacks.

Defences are necessary when the program interacts with users or external inputs of any form. This can be inputs in the form of text or files, or even by interfacing with a program, e.g. the malicious code executes system code in a specific manner to cause certain side effects.

comment 5y ago · link · parent

Your analogy makes absolutely no sense.

There are operating systems written in rust. If that is possible, then anything else is possible too.

comment 5y ago · link · parent

It was indeed an enjoyable read in tandem with the followup post. Some years ago, I was in the 'Pure Land' and in a weird way I was happy that I never 'grew up', by that I meant that the educational system didn't kill my curiosity as it does to most kids, and that I found everything interesting in some way and I was never really bored of things.

I guess I lost that curiosity during the last parts of my thesis and covid lockdowns last year. The thesis and the internship after beat the curiosity out of me simply because doing *good* research was neigh impossible with my limited resources. I remember desperately trying to make progress but when everything takes ages to complete, it is easy to lose interest, and deadlines make everything harder.

I tried to get back to that state of mind, but it can be quite difficult at times.

comment 5y ago · link · parent

I lack the funds to do that.

I found that reading philosophy helps, even just a little bit. The absurdists figured it out I think. Absurdism also helps with coping with the belief in determinism I guess, but I am still in conflict.

comment 5y ago · link · parent

While climbing the middle ladder, something snapped in me, or perhaps covid accelerated the process.

A year or so ago, I was working on my undergraduate thesis project in deep RL, I had been working on the project for 8-9 months at the time. Due to covid, lack of support and computational resources from the university, I was behind, and making progress was difficult.

Shortly after I submitted the thesis, I felt an eerie disillusionment with the absurdity of the middle class, and whatever we are all doing, the pretentiousness, how we are all stuck in our own little bubbles where we find ways to feel special and 'serious' about things, how we focus and advertise the niche-ness of our field, and how we all advertise our lives in social media and so on.

Sam Esmail put it greatly in the first episode of Mr. Robot in Elliot's monologue on what in society disappoints him so much [1] and concludes that the reason is that we are all cowards, we are looking to be sedated. Which is absolutely true, capitalism feeds on that, bought something?, bam dopamine rush, got a promotion to the same shitty position but with more responsibilities ? congratulations, another dopamine rush. Buying overpriced sushi and eating it with that chopstick skill you have mastered, another rush. Sharing our lives on the internet bam rush, and you know what, of course we need to share pictures with our friends, it's the contract, we scratch each other's back here, and the funny thing is, it is never enough, and it will never be enough [2].

Deep down, we all know that the world is utter shit, but living in these bubbles allows us to pretend that it is not so bad, because that is easier, it allows us to live with the situation instead of taking the roads and demanding that things change, if anything, why should we demand a change if "it's working for us", if whatever we have gives us a dose big enough to forget but small enough to function? Heck, even if we start fixing the world, Machiavelli argues that given the opportunity, the middle class will bring it back [3], because the new state of affairs will not enable that kind of detachment.

The problem with this disillusionment is that you aren't willing to be sedated, not anymore, you realize how shit the world is, how everyone is pretending and is unwilling to accept it that we are not in control of anything.

But what the f do I know. All I can say is that I have seen and experienced the 'Michael Scott' behaviour from the people the author mentions, but again, I live in my own little bubble.

[1] https://soundcloud.com/flibber/mr-robot-101-elliots-monologu...

[2] https://en.wikipedia.org/wiki/Neural_adaptation

[3] In "il prince", when a new prince conquers a region with the help of aristocrats, if he changes the norm, he needs to squash any chance of future opposition as the previous norm worked for the aristocrats and they will try to revert back.

Edit:

I must have hit some nerves. Sorry for telling the silent part out loud, Michael.

comment 5y ago · link · parent

Occam's razor applies here as well.

comment 5y ago · link · parent

There is a paper that suggests we could, in theory, direct the sun itself towards something while we continued to live as we normally do with little to no change in our lives until we arrived at our destination. This does not effectively cost as much, but it will take a lot of time.

https://www.sciencedirect.com/science/article/abs/pii/S00945...

comment 5y ago · link · parent

To be fair to rocks, we also study them ...

comment 5y ago · link · parent

Thanks for going in detail as to why it is severely impractical and inefficient, all the items you listed are overlooked or outright ignored in the discussions I have read, as you probably guessed I am way out of my field.

In your opinion, what's the main bottleneck wrt to resources?

comment 5y ago · link · parent

Are you sure? Growing produce remotely has additional inherent costs that don't exist in vertical farms, such as wasted water, the need for very heavy machinery, the issue of transporting and transporting within certain timeframes. The last 2 problems include the cost of oil/gasoline, and the maintenance of a whole array of systems, from oil extraction pipelines to road maintenance.

This, to me, sounds like vertical farms in the grand scheme could be more efficient.

comment 5y ago · link · parent

What stops somebody from interacting with a foreign company that exchanges crypto and $LOCAL currency?

Sure, the entire ecosystem would take a hit, but also note that many US companies have actually bought Crypto, people recently bought crypto on margin, and, those who still own crypto, can exchange it outside $COUNTRY, and convert currencies.

comment 5y ago · link · parent

Why so? They have practically a monopoly as there is nobody that can actually compete, Samsung just isn't there, same for INTC's fabs, obviously.

In addition, more and more AI/ML accelerator startups show up with even more need for wafers and ASML has 2 year old orders on the backlog (half of their EUV's machines last year went just to TSMC).

comment 5y ago · link · parent

They'd have to also compete with Apple, NVDA and AMD for those wafers. TSM is looking like a great investing opportunity.

comment 5y ago · link · parent

There's also model based testing and property based testing. QuickTest in Haskell and Erlang can generate test cases for your code.

comment 5y ago · link · parent

I have an alternative to the xor trick that doesn't suffer from zeros.

    def swap(a,b):
        a=a-b
        b=a+b
        a=b-a
        return a,b

comment 5y ago · link · parent

They asked them to moderate their forum and suspended them until the situation changed.

comment 5y ago · link · parent

> Who said anything about micromanaging? I simply said the government both won't let Intel fail, and won't let their assets be sold off to foreign companies.

Internal information on stuff we don't know about, especially apropos of ring -1 (or even lower if that's even possible), will never leave US soil.

comment 5y ago · link · parent

What I meant was that if you wish to find the maximum flow, you'd use push-relabel or another max-flow algorithm instead of finding the min-cut first and then building the max-flow solution from there.

comment 5y ago · link · parent

The max flow is the prime to the min-cut. But you don't use min-cut to find the max flow.

comment 5y ago · link · parent

Take a look at Obsidian.md :)

comment 5y ago · link · parent

There's a video floating around where the police literary opened the barricades.

comment 5y ago · link · parent

I meant listened to. Sorry.

comment 5y ago · link · parent

I very much doubt so. You could always the podcast and listen to it while you commute.

comment 5y ago · link · parent

Thank you. This is definitely one of the best interviews I have read. The precision of the statements and the usage of analogies to explain the topics is astonishing.

comment 5y ago · link · parent

I am paying a 950 euro rent for a <24 sq meters in Copenhagen, not downtown Copenhagen, inc water/electricity/heat/washer/drier. The situation is absurd. Back home (still in Europe) I paid half for 35-40 sq meters. Yes, the salaries offset some of it, but still..

comment 5y ago · link · parent

I would like to bring up Gödel and his idea that you could construct theorems by multiplying equivalent numbers that represent theorems but I am sure you are well aware of it.

My argument is that it all happens through the application of operators and abstractions i.e. other numbers going through Gödel's approach.

In the same vein, we "should" in theory produce something similar. In RL, we have agents that learn to 'imagine' goals and then achieve them. Given the correct representation of such 'dreams' the models 'could' in theory learn to achieve such auxiliary theorems.

comment 5y ago · link · parent

But ML could in theory accelerate the process. For example, AlphaZero uses ML to highlight the correct paths in search algorithms. The same search algorithms exist for stockfish and both can reach the same conclusions, but, AlphaZero ends up looking up much shorter distance than stockfish, yet it wins. If anything, it is significantly more human-like than stockfish.
1
9394959697