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

Then why isn't it done there?

comment 3y ago · link · parent

They'd be empty.

God I hate Thursdays at the office, too many meetings, day broken in a bajillion pieces, and I can't get anything done.

comment 3y ago · link · parent

> P.s. fantastic news on the Polish economy front. Great to hear salaries are on the rise.

They are, but inflation (and shrinkflation) powered by corporate greed has screwed people over the last year; I could fill my tote back with equivalent of 20 euros in September when the local currency was much weaker, whereas now I need to spend more in local currency than I did back then.

comment 3y ago · link · parent

They are getting higher; Poland's economy is growing, there's no doubt about that, but you also need to understand that an economically weak country doesn't have a lot of bargaining power in the grand scheme of things and is easily influenced by other countries.

Let's take Cuba, US said don't trade with Cuba if you want to be okay with us, and the world complied. Similarly for all socialist countries, and every country in which the US intervened directly or otherwise.

Countries are not independent islands, and the American government, and the Russian and Chinese regimes sure know how to stick their fingers in every pie available.

comment 3y ago · link · parent

The world exists beyond the US.

Purchasing power is also a thing. Median gross salary in Poland is $18000, and about $14000 net. They earn less than 1200 per month, of which 300-400 is spent on rent excluding utilities, add another 50-100 utilities, 200 for food, then gas and transport and you quickly see that the savings are minuscule.

How can you buy stock on 200 (at best) after all expenses?

comment 3y ago · link · parent

What is wrong with this approach is that not everyone has disposable income to buy stock.

I suggest that you come and visit Poland and live on the median salary for a year or two.

How about we start building society for the 99.99% of us?

comment 3y ago · link · parent

The marginal returns on the individual then manifest as returns to the broader society, happier 99.99% outweighs the earnings of the billionaires in terms of societal impact and QoL improvements. But sadly, we don’t make the rules.

comment 3y ago · link · parent

Okay I went over the slides and good lord this would have made my life easier not too long ago.

comment 3y ago · link · parent

This deserves its own HN post imho.

comment 3y ago · link · parent

I don’t disagree; but that is just an example of MM. The gist is not that you can do block multiplication; but that you can define matrices over any non commutative ring, which includes other matrices - ie blocks.

comment 3y ago · link · parent

Adding, these operators are also "polymorphic"; for matrix multiplication the only operations you need are (non commutative) multiplication and addition; thus you can use elements of any non-commutative ring, i.e. a set of elements with those two operations :D

Matrices themselves form non-commutative rings too; and based on this, you can think of a 4N x 4N matrix as a 4x4 matrix whose elements are NxN matrices [1] :D

[1] https://youtu.be/FX4C-JpTFgY?list=PL49CF3715CB9EF31D&t=1107

You already know whose lecture it is :D

I love math.. I should have become a mathematician ...

comment 3y ago · link · parent

Noticeable with the naked eye.

comment 3y ago · link · parent

On a serious note, how heavy does an object have to be for gravitational lensing or bending to be noticeable with a naked eye?

s/visible/noticeable

s/noticeable/noticeable with a naked eye

s/lensing/gravitational lensing

comment 3y ago · link · parent

Hey, you might want to delete the link to https://mesapy.org/rpython-by-example in https://doc.pypy.org/en/latest/architecture.html as it is pointing to a resource that people are unable to access.

comment 3y ago · link · parent

That is exactly what I intended to say.

Everyone thought the 4 minute mile was impossible, until it was done, and then everyone started doing it. Had Roger Bannister had a cardiac arrest and evacuated on himself, people would have stopped trying for it.

https://www.youtube.com/watch?v=aFH0qcmw36Q

comment 3y ago · link · parent

Could this be the new 4 minute mile? Will [humanity] evacuate on ourselves?

Whatever this may be, it’s exciting.

comment 3y ago · link · parent

My computer is sitting mostly idle at home, thanks for this.

comment 3y ago · link · parent

I asked some developers to implement something with guidelines over how to do it.

Ultimately they tried to do more than asked which then caused problems because maintenance is now harder, and some types were removed while others were “enriched”, and much like uranium, became more dangerous to wield.

comment 3y ago · link · parent

Trickle down economics have been with us since Thatcher.

comment 3y ago · link · parent

The problem is the absence of democracy.

comment 3y ago · link · parent

These symmetries come up in lotteries. The lottery ticket hypothesis says that within an overparameterized ann exists a smaller sparser neural network that behaves at least as good as the original one and learns faster.

Re the example; yes that is correct; a permutation is simply a row-wise shuffled identity matrix, it doesn’t affect the gradients or performance.

comment 3y ago · link · parent

It is also the case that many of such local minima are locally identical in structure and you can jump between one another via permutations of the parameters.

comment 3y ago · link · parent

None really.

Gradient descent is great because it is first order, thus cheap to compute since you don’t need a Hessian, points to a descent direction, works with anything that is differentiable or piece-wise differentiable without caveats, and given the millions of parameters in today’s there is always a descent direction.

If you do population methods, you suffer in terms of memory because you need to keep all those candidates, evaluate them individually, and then update them. This bounds the memory you can use.

More memory means more parameters, means you enter the interpolation scheme means your model behaves well in real world.

If you try to go with second order optimisation methods then you need to go for Hessian free methods as computing the Hessian is computationally intractable for large NNs.

You can attempt to build a local model of the loss landscape but that is expensive and has many caveats.

Nocedal et al is a recommended read for numerical optimisation theory.

1
313233
97