HNHacker News
TopNewBestAskShowJobs

raluk

129 karma · joined October 24, 2022

submissionscomments
raluk··on Transformers Explained Visually
One thing that was not intuitive for me is that attention is per token generator and in theory unbounded for context size. Per token approach does not generate attention matrix as presented here but attention vector. It could provide different view and I find that aproach easier to reason about.
raluk··on Felony charges for citizen deleting phone data at US Border
What would be non-arbitrary case where border patrol would need to check your telephone to be sure about safety it provides?
raluk··on Felony charges for citizen deleting phone data at US Border
From Universal Declaration of Human Rights (UDHR) accepted by the United Nations General Assembly on 10 December 1948

-------- Article 12

No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and reputation. Everyone has the right to the protection of the law against such interference or attacks.

https://www.un.org/en/about-us/universal-declaration-of-huma...

raluk··on DMARC has been public since 2012 but most company domains still don't enforce it
I am running email server for my private domain using https://github.com/docker-mailserver/docker-mailserver . One day in 2023 i decided that beside of dkim i maybe should also enable dmarc. Because ... well, why not. What happened was that i started reciving regular reports over email from ms and google containing compressed xml containing no info other that empty report was generated. What should I do with that? At that time i could not find any tool that would be able to extract valuable info from that, so I disabled dmarc. Havent looked back since.
raluk··on Solod: Go can be a better C
At first glance looks like stipped C++ with minor differences. For example go have row polimorphism compared to OOP in C++. What else is there that C++ does not have?
raluk··on Sony Deletes 551 Movies PlayStation Owners Paid For
In similar fashon in year 2009 Amazon deleted books from Kindle. One of them was 1984 from George Orwell.
raluk··on Parallel Parentheses Matching
This algebra is also called bicyclic semigroup https://en.wikipedia.org/wiki/Bicyclic_semigroup
raluk··on Everything in C is undefined behavior
In C / C++ there are two kinds of undefined behaviour. One is where there is written in standard what UB is. Another one is everthing else that is not in standard.
raluk··on Understanding the Kalman filter with a simple radar example
Spending few weeks trying to understand Kalman filterm, I figured out that I need to understand all if the following:

1. Model of system

2. Internal state

3. How is optimal estimation defined

4. Covariance (statistics)

Kalman filter is optimal estimation of internal state and covariance of system based on measurements so far.

Kalman process/filter is mathematical solution to this problem as the system is evolving based on input and observable measurements. Turns out that internal state that includes both estimated value and covariance is all that is needed to fully capture internal state for such model.

It is important to undrstand, that having different model for what is optimum, uncertenty or system model, compared to what Rudolf Kalman presented, gives just different mathematical solution for this problem. Examples of different optimal solutions for different estimation models are nonlinear Kalman filters and Wiener filter.

---

I think that book on this topic from author Alex Becker is great and possibly best introduction into this topic. It has lot of examples and builds requred intuition really well. All I was missing is little more emphasis into mathematical rigor and chapter about LQG regulator, but you can find both of this in original paper by Rudolf Kalman.

raluk··on Ask HN: What are you proud of about doing for you health and wellness regularly?
It improves immune system and geneal wellbeing. It is pain that you can get used to and I kind of enyoj it now in some weird way. It is hard, requires some dedication and brings some benefits, but does not requre extra time or planning. Great morale booster.
raluk··on Ask HN: What are you working on? (January 2026)
Over the hollidays I was working on Steve Balmers interview puzzle. https://rahne.si/optimisation/2026/01/07/steve-ballmer-inter...

What I am most proud of is that I got the solution in the corse of apporx 1 week working on this!

raluk··on Ask HN: What are you proud of about doing for you health and wellness regularly?
Using only cold water for showers.
raluk··on Rust--: Rust without the borrow checker
What are protental issues with compiler, by just disabling borrow checker? If I recall correctly some compiler optimisations for rust can not be done in C/C++ because of restrictions implied by borrow checker.
raluk··on Hacker News front page now, but the titles are honest
"Math nerd explains how to spend 3 days proving 1+1=2" -> Original "From Zero to QED: An informal introduction to formality with Lean 4" https://news.ycombinator.com/item?id=46259343
raluk··on You can't fool the optimizer
Years ago I wrote c++ library for stream compostion. Something like C++20 ranges. It turns out that as long as you compose everything with lambdas, compiled code is same as it would be with naive loops. Everything gets optimised.

For example, you can write sum of numbers less than n as:

  count(uint64_t(0)) 
   | take(n) 
   | sum<uint64_t>();
Clang converted this into n*(n-1)/2.
raluk··on Discrete Fourier Transform
How much is fft used for AI? Seems that attention and convolution could benefit from this.
raluk··on Go is still not good
Having lexicial scope it is same as -> defer fn{if(some condition) x() }() within scope.
raluk··on Scientists just found a protein that reverses brain aging in mice
Given that you die, when one vital organ dies it will eventaully hapen in this way or another. I read somwhere and that stuck in my brain, that maxmimal logevity for humans is estimated to be approximetly 125 years.
raluk··on Asynchrony is not concurrency
This is what i hand in mind whit "manually handing of futures". In this case you have to write

   Promise1 = f1(); Promise2 = f2();
   v1,v2 = await Join(Promise1, Promise2);
   return v1 + v2
I think this is just too much of synthactic noise.

On the other hand, it is necessary becase some of underlying async calls can be order dependend.

for example

    await sock.rec(1) == 'A' && await sock.rec(1) == 'B'
checks that first received socket byte is A and second is B. This is clearly order dependant that can't be executed concurrently out of order.
raluk··on Asynchrony is not concurrency
In there is also ApplicativeDo that works nicely with this.

    do 
      x <- f1
      y <- f2
      return $ x + y
this is evaluated as applicative in same way.
raluk··on Asynchrony is not concurrency
One thing that most languages are lacking is expressing lazy return values. -> await f1() + await f2() and to express this concurently requres manually handing of futures.
raluk··on Lens: Lenses, Folds and Traversals
Great exercise driven course is: https://github.com/system-f/lets-lens
raluk··on Lens: Lenses, Folds and Traversals
https://blog.jle.im/entry/lenses-products-prisms-sums.html
raluk··on OpenAI charges by the minute, so speed up your audio
Our team is working with soniox.com They are the most acurate model that works real time.
raluk··on Japan's IC cards are weird and wonderful
One problem with fast writing is that it requres more energy to transmit from reader to a card in order for a card that has no internal source of power, to toggle bits. It is harder compared to just reading a bit from a card. Additonaly it is tricky to implement trasaction with single write, given that data transfer can be interrupted (for example user removes card from RF field). I am not sure if single write is enough for making this robust/transactional. It also helps a lot if RFID antenna is well tuned. Proximity of metal and way it is mounted has a big impact, so it is important that RF antenna for reader is tuned for exact environment it is mounted in.
raluk··on Spade Hardware Description Language
How one writes circular circuit, for example stream of fibonnachi numbers or IIR filter? For IIR filter it would be nice if it has protoype like iir(sig : T, a : vec<T, N>, b : vec<T,M>) -> T
raluk··on Performance optimization is hard because it's fundamentally a brute-force task
For low level benchmarking papi https://icl.utk.edu/papi/ is great tool. It provides access for counters like cache misses, branch misses and number of cycles.
raluk··on mIRC 7.81
I learned programming using mIRC scripting. There used to be bunch of quiz chaneles about trivia. I logged channel to collect questions and then wrote script that provided response after some time based on linear function k + n*len(response). That was my fist piece of software I wrote. mirc scrpting based on event system was super nice system to work with. Later I also wrote chat bot and i collected have some funny conversations with strangers.
raluk··on You might not need WebSockets
Websocket is not ment to be sent as streams (TCP equvalent), but as datagrams aka packets (UDP equivalents). Correct me if I am wrong, but websockets api in Javascript libraray for browsers is pretty poor and does not have ability to handle backpressure and I am sure it can not handle all possible errors (assertions about delivery). If you want to use websockets as TCP streams including seasson handling, great care should be taken as this is not natively availabe in neither rfc6455 and in browser.
raluk··on The correct amount of ads is zero
Paying subscribers are the best customers to advertise to.
Page 1 of 2Next →