Readit News logoReadit News
muffa commented on Ask HN: How to regain the ability to read with focus and learn    · Posted by u/albert_e
muffa · 2 months ago
What fixed it for me was to stop consuming caffeine. One month after removing caffeine I noticed my sleep got waaay better and my ability to focus got way better. I feel like caffeine gives you a false sense of being alert and focused when in reality you are exhausted.
muffa commented on ArkFlow: High-performance Rust stream processing engine   github.com/arkflow-rs/ark... · Posted by u/klaussilveira
muffa · 4 months ago
Looks very similar to redpanda-connect/benthos
muffa commented on Ask HN: To those making 200k+ how did you get there?    · Posted by u/hellohihello135
paulcole · a year ago
Are you saying that you’re using consulting to supplement your main job so that your total yearly earnings are $200,000+? Or are you saying that when you consult for $100/hour you’re technically at 200k TC “short term” because if you did it full time then you’d make $200,000 a year?
muffa · a year ago
Not OP, but if you charge $100 per hour: $100 * 40h/week * 52 weeks/year = $208k
muffa commented on Meta Sees ~5% Performance Gains to Optimizing the Linux Kernel with Bolt   phoronix.com/news/Linux-B... · Posted by u/newman314
pizlonator · a year ago
No. The key observation of BOLT is that by collecting profiling on an optimized binary and then mapping the profiling onto a compiler's decompilation of that optimized binary, you get better profiling fidelity.

My intuition for why BOLT works is that:

- If you try to profile an unoptimized (or even insufficiently optimized) binary, you don't get accurate profiling because the timings are different.

- If you try to profile an optimized binary and then rerun the compiler from source using that profiling data, then you'll have a bad time mapping the profiler's observations back to what the source looked like. This is because the compiler pipeline will have done many transforms - totally changing control flow layout in some cases - that make some of the profiling meaningless when you try to inject it before those optimizations happened.

But BOLT injects the profiling data into the code exactly as it was at time of profiling, i.e. the binary itself.

It's totally insane, wacky, and super fucking cool - these folks should be hella proud of themselves.

muffa · a year ago
I know very little about compilers or bolt.

But what you just described sounds awesome!(and crazy)

muffa commented on Ask HN: Do You Use a Debugger?    · Posted by u/shortrounddev2
muffa · a year ago
Yes all the time for Python, JavaScript and golang
muffa commented on Do People Like Medium?    · Posted by u/romafirst3
muffa · 2 years ago
I hate it, it annoys me that content behind a paywall gets good page-rank.
muffa commented on Ask HN: Who are your most treasured live coders?    · Posted by u/nomilk
karimf · 2 years ago
ThePrimeagen.

Sometimes I lost my spark with programming. Watching him reminds me to enjoy programming more.

muffa · 2 years ago
+1, he is entertaining :)
muffa commented on The Thundering Herd Problem   encore.dev/blog/thunderin... · Posted by u/ingve
muffa · 2 years ago
Props to encore to writing interesting blogs, also I just want to say I tried the encore product and it's awesome(I only used it for a hobby project but still)
muffa commented on Bored Ape conference attendees wake up with eye pain, vision loss   404media.co/bored-ape-yac... · Posted by u/anigbrowl
muffa · 2 years ago
They should rename their site to 403media, the article is behind a paywall.
muffa commented on Ask HN: If GraphQL Is So Great, Why Doesn't Everyone Use It Already?    · Posted by u/nullxone
praveenweb · 2 years ago
On the performance side, there is definitely the N+1 problem which is solved (partially) by the data loader pattern. But curious if the benefits vs tradeoffs is in favour of GraphQL? And have you considered tools like Hasura/Postgraphile that take care of boilerplate CRUD APIs for databases? Then you actually just focus on writing business logic.
muffa · 2 years ago
I actually don't use GraphQL in my current position, so I don't think to much about it any more. Intresting tools which I might consider in the future(If I have to write GraphQL).

u/muffa

KarmaCake day66April 3, 2019View Original