HNHacker News
TopNewBestAskShowJobs

schindlabua

419 karma · joined February 24, 2016

meet.hn/city/48.2083537,16.3725042/Vienna

https://t3.at

submissionscomments
schindlabua··on Conversations are better with four people
Yes thanks :p I used to be extremely uncomfortable in social situations so I have to reflect a lot.

I don't like having a lot of attention on me but that actually works great because people love talking about themselves. In group situations I try to identify super extroverted people and people with a high energy level that day and bounce random stuff off them to get the ball rolling, they will entertain the group. Then I'll single out a low-energy person and get them talking about their life.

But that's just what works for me. It also sounds weird and formulaic when I say it like that but it's not a premeditated thing, I just natually act that way.

Probably the most important thing when hosting is to project that you enjoy having these exact people around at this exact moment. If you can get yourself into that mood good things will follow. It's easier with people who fit into your dynamic.

schindlabua··on Conversations are better with four people
I find large groups exist in three states of matter:

1. crystalline / couple position: Couples sit around the table, there is about 15cm distance between each molecule. One person at the table holds the conch and speaks.

2. bipolar / sex-segregated: One end of the table holds all men, the other all women. The women talk about men and the men talk about poop and race cars.

3. gaseous: All people move freely around the room and bounce off each other, there is vigourous chatter everywhere. Often there is alcohol involved.

Your job as a host is to increase the temperature to where all molecules break apart and you reach gaseous forms of communication.

schindlabua··on Web Origami, for making websites where you can understand how they’re made
Don't hate it but it feels like the Origami language should just be a typescript library. I'm not a fan of DSLs in general though.
schindlabua··on Shell.how: Explain Shell Commands
`git blame -C -C -C` does not give a proper description
schindlabua··on Euphemisms are best changed frequently (2016)
skin color is determined by pigment (like crayons) so I'd say it's a subtractive color scheme, and black is all colors mixed together while white is a lack of color.
schindlabua··on Dyēus
How would you pronounce *Dyḗus? How do the symbols work?
schindlabua··on Safe Superintelligence Inc.
Deceiving a single human is pretty easy, but decieving the human super-organism is going to be hard.

Also, I don't believe in a singularity event where AI improves itself to godlike power. What's more likely is that the intelligence will plateau--I mean no software I have ever written effortlessly scaled from n=10 to n=10.000, and also humans understand how to improve themselves but they can't go beyond a certain threshold.

schindlabua··on Big data is dead (2023)
Used to work at a company that produced 20 gigs of analytics every day which is probably the biggest data I'll ever work on. My junior project was writing some data crunching jobs that did aggregations batched and in real time, and store the result in parquet blobs in azure.

My boss was smart enough to have stakeholder meetings where they regularly discussed what to keep and what to throw away, and with some smart algorithms we were able to compress all that data down into like 200MB per day.

We loaded the last 2 months into an sql server and the last 2 years further aggregated into another, and the whole company used the data in excel to do queries on it in reasonable time.

The big data is rotting away on tape storage in case they ever need it in the future.

My boss got a lot of stuff right and I learned a lot, though I only realized that in hindsight. Dude was a bad manager but he knew his data.

schindlabua··on Superfile – A fancy, pretty terminal file manager
The irony is not lost on me but you can get productive if you spend a weekend configuring stuff and then you upgrade as you go :)
schindlabua··on Superfile – A fancy, pretty terminal file manager
It's a slippery slope, once you've spent a year tailoring your setup it removes so much friction from those tasks you do 100 times a day. Sometimes I look at my macos coworkers and they have a single application on fullscreen and then they shake their mouse or whatever and 20 windows fly over the screen and then they scan them all to find the other window they are looking for, and I really wonder how they get work done.

I use i3 and have 5 credit-card sized terminals open at any given time without taking up much screen real estate, and it's so great.

Takes some getting used to though.

schindlabua··on The API database architecture – Stop writing HTTP-GET endpoints
I'm not a big boy architect and I write small software. To me it seems like "modifying microservices" usually want to read from the database aswell and when I have all my DTOs in place and everything I might aswell implement a GET endpoint?

Is this just for performance considerations? When you have lots of reads and maybe few writes so you need an extra service to handle the load?

Can someone give a practical example?

schindlabua··on Superfile – A fancy, pretty terminal file manager
Love all the terminal tooling that's come out in recent years. I'm this close to chrome and rofi being the only gui I'm using on my work machine. This looks great!
schindlabua··on UTC, Tai, and Unix Time (2001)
Are they really? I wonder why this wasn't bigger news. Anyway that's good to hear.
schindlabua··on HTML Attributes vs. DOM Properties
React for example has a solid mathematical foundation and that's why it provides really good, clean abstractions. Spring is just a bunch of annotations and if you haven't done it for half of your life it really isn't clear why I have to write an empty! class that has 6 annotations on it, just to get the plumbing right for configuration. Smells like what I'm doing there should just be a function instead but maybe that's also partly Java being Java.

Yes it's very mature etc but at the end of the day it's just a collection of stuff that evolved over time. It's a framework written by developers, not mathematicians; a BeanPropertyRowMapper is likely something that happened on accident, react's algebraic effects are not.

Maybe it's not a fair comparison because react is super slim and spring (boot) is huge but when using it you have to work your way through endless baeldung tutorials to figure out which annotations to put onto your methods with no clear design. I also found asp.net easier to work with.

Reason it reminds me of jQuery is because it's everywhere. A coworker of mine just wrote some websocket code that should be really great and reusable but it uses spring annotations extensively so you can never use his code without spring. But it doesn't really matter because if he wants to reuse the code in another java project, spring will likely be there. And that's a level of hodgepodge that jQuery achieved back in the day too.

Guess what I want to say is that not all of web is "badly thought out" like the above poster insinuated.

schindlabua··on [dead]
Fair. I for one enjoy all the technical expertise that's present in the HN hivemind and every time I visit the front page I learn something new. The "mostly software but sometimes a wikipedia article about geology" nature of the platform really strikes a chord with me and I just choose not to read discussions that are 10 layers deep.
schindlabua··on [dead]
I don't know. I feel like criticism on HN is usually at least well-founded and obvious dumb takes get downvoted immediately and then we just move on. In my limited experience, reddit and other platforms are much worse. I read HN on my way to work and not my local newspaper because the community is much less toxic.
schindlabua··on HTML Attributes vs. DOM Properties
I'm having to touch Spring occasionally nowadays and wow it is a hodgepodge. It really is the backend equivalent of jQuery.
schindlabua··on Htmx and the Rule of Least Power
Is "rule of least power" why I'm stuck writing yaml that generates yaml for my kunernetes deployments?

I think it's perfectly sensible to have a general-purpose programming language in the frontend.

schindlabua··on DuckDB as the New jq
Shoutout to jqp, an interactive jq explorer.

https://github.com/noahgorstein/jqp

schindlabua··on The hunt for the missing data type
I like thinking of this concept via free constructions.

As is somewhat commonly known the free Monoid is the List type; monoids are not commutative so we get a sense of "direction", like a list has a start and an end.

If we add commutativity and look at free groups, we find they are equivalent to multisets.

If we take associativity away from monoids and look at free semigroups, we get binary finger trees, I think?

In some sense removing constraints from the binary operator results in more general free types. Would be interesting to find what free construction makes digraphs but I have to bounce.

schindlabua··on You almost never see a clock at the mall
Might just be the city I'm in (Vienna). The city put up these huge pillars with big clocks all around town, but this weekend I was on the biggest shopping street in Vienna and the clock showed 12:00 at 3pm. There's a watch shop I drive by regularly that has a big clock next to their store sign and it just doesn't work.
schindlabua··on C++20 Idioms for Parameter Packs
My C++ is stuck in 2011 and it's crazy to see how it evolved. It's like an alien language.

And, I mean folds? How cool is that!

schindlabua··on You almost never see a clock at the mall
I was without a phone for a month last year and it made me realize that there aren't clocks anywhere anymore. And if they are, they're not working.
schindlabua··on Vim universe: fzf – command line fuzzy finder (2019) [video]
fzf is such an amazing tool. Like yes it can do fuzzy search but it's so hackable and you can do so many unrelated things with it.

Because it's also a tool that you can pipe an array of things into, select an element from it, and run a command on that element.

Just the other day I needed to scour the git history of a huge project, so I wrote a function that first selects a file by running fzf, and then lets me see the git history of any single line of that file by running fzf again.

gblame2 () {

    local file=$(fzf)

    cat "$file" | awk '{printf("%5d %s\n", NR, $0)}' | fzf --layout reverse --preview-window up --preview "echo {} | awk '{print \$1}' | xargs -I _ sh -c \"git log --color -L_,'+1:${file}'\""
}

chatgpt cooked that up for me in 5 minutes, saved me many many hours.

schindlabua··on Large amounts of carbon capture as a solution is an 'illusion'
2. Not only are we breathing out CO2, we're introducing additional carbon into the atmosphere by burning fossil fuels, upsetting the balance.
schindlabua··on Rotation with three shears
iirc it was called nerdhaven or something. I can't seem to find it. But the other commenter got it right :)

1. Enlarge image by 200% -- mspaint uses nearest neighbor interpolation so this turns every pixel into 4 with no smoothing.

2. Replace every second row with a gnarly pink color, or anything else that's not in your original picture. Kinda tedious but with copy paste you can do it pretty fast.

3. Set that pink as your background color, then use the "transparent select" or whatever, it will select all pixels in your rectangle that's not your current background color.

4. Enlarge the target image by 200% in another mspaint, copy the first image over, then shrink by 50%.

I loved doing that haha, showed it to all my nerd friends.

schindlabua··on Rotation with three shears
There used to be a website that showed off cool mspaint tricks like putting an image on top of another with 50% opacity, and rotating images using shear. Pretty funny.
schindlabua··on Analog Chess
I've known this as the "Empress", a fairy chess piece.
schindlabua··on Turns are better than radians
I think the point of high school is to make kids' brains do work, and what you are learning is secondary.

People love to hate on their school curriculum and all the useless knowledge they had to acquire but I'm positive it makes you a smarter person overall, and the body of high school knowledge makes learning more specialized knowledge easier (even if that's baking bread or whatever)

(People also love to talk about how little they remember from school, yes the brain is a muscle and you stopped working out, congratulations.)

schindlabua··on Compound pejoratives on Reddit
I read a comment the other day that referred to oversized american SUVs as wankpanzers. Love it.
← PreviousPage 2 of 4Next →