el_oni

Joined 6 years ago

Karma
386
Submissions
174
Member since
Jul 12
Easily distracted and hardly motivated
View on Hacker News

Recent submissions

Comment · 1 month ago
Ive only used reduce at work half a dozen times and it does raise an eyebrow each time.

But for unioning a bunch of spark dataframes together i think

    df = reduce(DataFrame.union, list_of_dfs) 
is much nicer than

    df, *rest = list_of_dfs

    for other in rest:
        df = df.union(other)
People just get a bit funny, especially now you have to import it from functools
Comment · 6 months ago
I wouldn't even say they make it fun, they make it "rewarding" they make it feel like you did something, but I feel worse after scrolling, like some vital essence has been drained from me.

I can't find the motivation to do anything at the moment. But if reddit or facebook get opened up i'll just scroll. It's almost like i've replace doing things with watching other people do things and that somehow makes me less likely to work on my hobbies because i'm not as good or far along.

AI has added to this, almost like, why bother bettering myself when I could probably shit out my idea in a handful of prompts? I need a dopamine fast or something. Might try staring at a wall

Comment · 8 months ago
We started doing sourdough in lockdown for 1 reason. The shops nearby were out of yeast. kinda limits your options
Comment · 11 months ago
Beautiful, I'm currently deep into getting our data into iceberg from firehose and I'm really curious what metadata is written, are bloomfilters being written for the columns i want? Has my compaction and sort jobs helped min-max statistics on those columns?

Will take a look when i get to my laptop!

Comment · 1 year ago
They also point south. If you changed which end of the needle was painted red it would be just as useful for orienting to the south as existing compasses are for facing north
Comment · 1 year ago
My partner and i used to harvest medlars from a community garden. We made medlar jelly from them when they had bletted. It kinda tasted like tea. Must be the tannins. We ended up making a sweet chilli sauce from it when we still hasnt eaten it when our chillis became ripe the following summer
Comment · 1 year ago
There is a difference between dark roasts from a specialty coffee roaster and a dark roast from Starbucks.

The specialty dark roast will have notes of cookies, chocolate, nuts. Lots of brown roasty flavour.

Starbucks tastes bitter. With very little nuance. (Unless you cold brew it, then you can leave most of the bitter behind)

Comment · 2 years ago
Rustler catches panics before they crash the VM and raises them on the elixir side as an exception. So your process might crash but the vm wont
Comment · 2 years ago
It's sufficiently well known that as a British 30 something I understood what was being alleged just from the headline
Comment · 2 years ago
Very cool, this should help me to be able to separate my different testing environments.

Thanks for sharing!

Comment · 2 years ago
Comment · 2 years ago
Comment · 2 years ago
Yeah, this would at least cause me to email my boss and say "Can you just confirm, you want me to transfer $25 million to this account? I'll hold off until you give me confirmation in writing"

hell i do this if our tester hasn't managed to go over some aspect of our release. That way i get in writing from the product owner that he has OKd it, and if he sends me a teams message i ask him to email me confirmation.

Comment · 2 years ago
I said python doesn't scale well and you say "it does if you use an escape hatch to a faster language"

Sure. Writing C++ that utilises your resources effectively then writing bindings so you can use that in python is great. But with elixir, if I've got 8 cores and 8 processes, those 8 processes run in parallel.

If I want raw cpu speed I can write something in rust, c, cpp or zig and then call it still using elixir semantics.

Not to mention that with Nx you can write elixir code that compiles to run on the GPU. Without writing any bindings.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton