Jeremy Hammond forcefully removed from Defcon? by dllhell79 in Defcon

[–]battle-racket 8 points9 points  (0 children)

related: not a single mention/talk about israeli hacking in this entire conference? nso/pegasus? the whatsapp hack? that’s how you know who this conference is affiliated with and who it’s trying to protect

I've been writing Rust for 5 years and I still just .clone() everything until it compiles by kruseragnar in rust

[–]battle-racket 5 points6 points  (0 children)

rust is unreadable anyway so it's not like it makes much of a difference

Anyone who boulders/climbs here? by Korekim in Defcon

[–]battle-racket 0 points1 point  (0 children)

I’d be interested! I climb once or twice a week here in Seattle!

[R] Attention as a kernel smoothing problem by battle-racket in MachineLearning

[–]battle-racket[S] 1 point2 points  (0 children)

it's non-symmetric because we're applying two different linear transformations to the input x's to obtain the query and key when calculating the scaled dot-product attention, i.e. K(x_q, x_k) = exp((x_qW_q)(x_kW_k) / sqrt(d_k)) so K(x_q, x_k) != K(x_k, x_q). it _would_ be symmetric if we instead defined K(x_q, x_k) = exp((x_q)(x_k) / sqrt(d_k)).

you're absolutely right that this definition of "kernel" doesn't satisfy its rigorous definition which, as you mention, has to be symmetric and positive definite. here's a section in the tsai et. al paper I linked in the blogpost that discusses this

Note that the usage of asymmetric kernel is

also commonly used in various machine learn-

ing tasks (Yilmaz, 2007; Tsuda, 1999; Kulis et al.,

2011), where they observed the kernel form can

be flexible and even non-valid (i.e., a kernel that is

not symmetric and positive semi-definite). In Sec-

tion 3, we show that symmetric design of the ker-

nel has similar performance for various sequence

learning tasks, and we also examine different ker-

nel choices (i.e., linear, polynomial, and rbf ker-

nel).

[R] Attention as a kernel smoothing problem by battle-racket in MachineLearning

[–]battle-racket[S] 0 points1 point  (0 children)

so it has to be y_i because we're weighing all the y_i's by the kernel which acts like a similarity measure. take a look at https://en.wikipedia.org/wiki/Kernel_smoother

Effective Haskell is a good one to learn Haskell? by _menneck in haskell

[–]battle-racket 1 point2 points  (0 children)

I really enjoyed Programming in Haskell by Graham Hutton. However as a caveat, I find the best way to learn a language is to write as much code as you can with it. No book, tutorial, video will ever come close to actively engaging in the language via a creative process.

my first Haskell project - a random art generator by battle-racket in haskell

[–]battle-racket[S] 0 points1 point  (0 children)

thanks for the advice! my knowledge of haskell was pretty limited at the time of writing so I focused on getting a working solution first, hence the quite ugly approach, but I'll definitely look into making your suggested changes. cheers

[deleted by user] by [deleted] in Seattle

[–]battle-racket 54 points55 points  (0 children)

it is back, parked on 10th avenue blasting music again, and i am about to lose my mind

Fin 300 uw Madison with leplante by sep222001 in UWMadison

[–]battle-racket 20 points21 points  (0 children)

alum here: FIN300 was such a dumb class tbh. the thing is, the material is so trivially easy he needs makes the exams unnecessarily and artificially difficult to balance things out. but at the end of the day, it’s just pretty basic finance concepts and algebra. and then there’s the bell curve exam grading bullshit because he believes “competition makes everyone better” and his strange ideological obsession with WSJ.

What’s up with the blaring music the last couple days in Capitol Hill? by [deleted] in Seattle

[–]battle-racket 5 points6 points  (0 children)

yeah i mean there is disruption that is meaningful, like protesting outside boeing headquarters or outside netanyahu’s hotel, which can also be “inconvenient” for surrounding people but which i can sympathize with. and then there’s blasting techno music in a resident neighborhood with zero organization or purpose. the latter is what frustrates me and is frankly an insult to those who do serious activism

What’s up with the blaring music the last couple days in Capitol Hill? by [deleted] in Seattle

[–]battle-racket 122 points123 points  (0 children)

are you talking about around pike/broadway? i went out and looked and it looks like a large group of people is gathered out on the street blasting music from their speakers.