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

First order optimizers have trouble because they fall into local minima, however, in practice things are different.

When your parameter space is in the order of billions, for all practical purposes, there is always a direction of descent.

More over, local minima seem to be rather close to the global minima.

comment 3y ago · link · parent

Daily Active Users.

comment 3y ago · link · parent

There was this post yesterday or so ago about harbingers of failure. Given how odd of a crowd HN is compared to average population, i think your prediction checks out.

FWIW Manifold believes Threads will not have more dau than twitter by the end of the year (34%).

comment 3y ago · link · parent

It’s not wishful thinking, at least for public spaces it isn’t.

It is one of the best things that have happened in Poland imho.

https://www.thefirstnews.com/article/before-and-after-pics-r...

https://i.redd.it/landscape-law-in-gdańsk-v0-uo6ihqfs43ba1.j...

https://www.boredpanda.com/before-after-removing-ads/?utm_so...

comment 3y ago · link · parent

It seems that VR is the only reasonable application.

comment 3y ago · link · parent

Does anyone even need 9.6Gbps wireless?

comment 3y ago · link · parent

What’s a `type`? What is `t a`? How do I get `t a`? How does `t b` become `b` when I bind again? Where is `b` after I bind? What about the reader monad and the state monad? Those have different signatures, so what gives?

comment 3y ago · link · parent

I have been told that we need 2 people to do code review, in a team of 3 people, and we can just “ask a member from another team who works on the same product”. We were told that outsiders can act as external bar raisers who will comment on “overall flow and code quality”.

Sounds like glorified and highly opinionated linters whom will just gatekeep progress because they “don’t get it”.

comment 3y ago · link · parent

I haven’t experienced it first hand, but I had one as I read your comment :D

comment 3y ago · link · parent

The intention of the comment was just to give a good enough model so that devs can just get going :)

comment 3y ago · link · parent

Sure, a monad is a type constructor. The constructed type allows you to compose transformations.

Each monad constructs a type that behaves differently and expects different things, but in general; the monad is defined by a unit/point/return function which brings a value into the monadic context, and a flatMap function aka bind, which further breaks down to “flatten after map”.

So List[_] is a type constructor, given a type T, it produces a List[T], which defines some transformations. Return creates a single element list, and flatmap takes the A->[B] applies it everywhere and then concatenates.

The nice thing about the wrapper analogy is that even though it is technically wrong, it is easier for people to get it because it follows naturally from OOP and it is a sufficiently useful mental model imho.

comment 3y ago · link · parent

You can just say that a monad is a way to chain operations together by wrapping a value. The consumer usually doesn't need to know the gore-y details of how a monad is implemented, only the purpose of it and how to use it.

A Maybe monad just says the value may be Something(x) or Nothing. You won't know until you run the computation. If you use flatmap and give a function that takes an x and gives a Maybe[x], the monad will first map into Maybe[Maybe[x]] and then flatten into Maybe[x]. The computation has not happened until you execute it and internally all the functions have been composed together.

A List[A] just says, give me a function A->List[B], and I will flatmap (flatten `compose` map) it. So it maps each element into a possibly empty list of Bs, and then flattens it by concatenating them.

You can define your own monads, and as long as they obey the laws of monads, you get a bunch of stuff for free.

comment 3y ago · link · parent

The desire to survive is a fundamental instinct of all animals, and thus you'd do almost anything to survive. Effectively we are slaves of our own biology and wiring. Thus, due to resource allocation, most of us have to or had to work in order just to survive.

Our utility and thus QoL is measured in how the surrounding system values us. In a capitalist society that is visible through our salaries and our income as provided by other parties. In a marxist-leninist-like society, your value depends on your connections and how much you get done for the rest of the ruling party.

Thus, because we need to survive, we are forced into working for the system in any of the different ways it materializes.

When we are no longer useful to the system as productive members, we are forced into becoming useful for it.

Rooflessness is very much a solvable problem, but the roofless' purpose within the system to exist as examples for avoidance. "Stay in life or you will end up like them". "Be productive", "work hard in this rat race", "keep grinding", or you will end up like them.

When we are old and no longer productive, we are sent to hospice care, which costs a lot of money, it involves very expensive healthcare, and thus any money we have accumulated go to our care and back to the system, recycled to be used by consumers, and recycled all over again. Our kin and their love for us gets exploited, we become money sinks.

What for? We spend 40 years working to do what, live hopefully 20 years later, old frail and weak? To become a money pit? So that our loved ones and their love for us gets exploited?

---

I am laboring for others, but that doesn't mean I see myself as a slave. I am very lucky. I get paid a relatively excellent salary, and I get to work a nice and interesting job that satisfies my curiosity.

But very few people are as lucky as I am. Most people are not living and thriving, they are surviving, and I don't want that.

It's not the fact that they labor, it's the fact that they need to do that in the first place.

comment 3y ago · link · parent

I have never claimed nor implied that their lives are meaningless (point where). On the contrary, because everyone's life is meaningful and important, they shouldn't have to slave away or do scutwork just to survive. This is what I am advocating for.

I want people to live, to be free, to enjoy the same things I am. This is literally the opposite of paternalistic.

I am also not a tankie if that's what you concluded from my first remark.

comment 3y ago · link · parent

A class defines a set of people with some shared characteristic. In this case, this class contains about > 99.99% of the humans that have ever existed.

comment 3y ago · link · parent

What are the odds it will be bipartisan in House and Senate too?

comment 3y ago · link · parent

The sad thing is that if any hacker was to show to the politicians what their actions entail, the hacker would get branded a criminal, and the politician's ratings would go up.

comment 3y ago · link · parent

Do you mind pointing out where that was stated or implied?

Anything and everything I do is to satisfy my own curiosity and desires, but that's only because I got lucky. Everyone who didn't get lucky, well, they have to slave away in jobs that may not be fulfilling, or are menial, etc; and I wouldn't wish that on anyone.

comment 3y ago · link · parent

You don't need to follow everything to a T to grasp the fact that 99.99% of us exist to feed the capitalists, the ruling class, to keep them satisfied.

comment 3y ago · link · parent

I am all for this, the problem is that that behaviour on their end shuts down any discussion and mutual aid becomes harder.

comment 3y ago · link · parent

Unless you are born into generational wealth, you are by construction a Prole.

If you need to or had to work for a living until you could afford not to, then you are a Prole.

Whether you choose to "betray" this class - and fight in support of the people who make the rules, the slave owners, those who play god without permission - is a different thing.

comment 3y ago · link · parent

When you say those words people think you are a building-burning store-looting far left hooligan, they call you a commie and shove their head into the ground like an ostrich, as if the last N or so years have not been an endless class war.

comment 3y ago · link · parent

I have been on it for months. Perhaps it's a country problem?

comment 3y ago · link · parent

Mathematics has a lot more prestige because it is exotic for the average person. Most people associate computer science with computers, word, excel etc.

Imho, SWE and “Computation Science” should be separated.

You can treat the former as a computer oriented form of engineering, making it rigorous and produce SWEs that are actually good, and in the latter, you can put all the theoretical things and treat it as the branch of math it rightfully deserves to be.

comment 3y ago · link · parent

I believe that I am the kind of person who can find something interesting in [nearly] everything, chess is interesting in that it is [functionally] infinitely and thus can be infinitely creative.

This creativity doesn't exist in Sisyphean tasks. It's one thing to say one must imagine Sisyphus was happy, and another to be Sisyphus, and be happy, or rather, to be content.

comment 3y ago · link · parent

I don’t think making work a form of play is feasible (perhaps easy is a better word) for most people, simply because of the nature of their job. Without some creative and exploratory aspect, it’s just menial, boring, devoid of any stimulation.

I am lucky enough that my work is such, but I got extremely lucky and basically made it my reality.

comment 3y ago · link · parent

They are not. The article and title are for pointing specifically Greece.

Greece and the rest of Mediterranean have seen such temperatures before. There is no record to break because we have already exceeded it that much more.

The emphasis should be on averages and overall variance increasing and not on specific samples.

1
343536
97