Post AiihPItaAsJKOCZOpU by neoluddite@aus.social
(DIR) More posts by neoluddite@aus.social
(DIR) Post #AihUu1NDsSWqSdn6Ia by foone@digipres.club
2024-06-08T00:12:50Z
1 likes, 0 repeats
I could go down the long rabbithole of figuring out how to call g*mp's image manipulation tools from a commandline or API, or getting imagemagick installed on this PC and figuring out how to port it over there...or I could be silly and take advantage of the fact that I'm applying gamma ramps to an 8-bit greyscale image. What's the difference between the "before" and "after" images? a different palette.
(DIR) Post #AihV78BHsX3HL3SY4G by foone@digipres.club
2024-06-08T00:13:28Z
0 likes, 0 repeats
why do calculations when instead you could just do... im.putpalette(gamma_ramps_applied_greyscale_palette)?
(DIR) Post #AihV7BfstEJEAonWfw by foone@digipres.club
2024-06-08T00:13:51Z
4 likes, 4 repeats
two of the best feelings when programming are:1. figuring out a really clever way to solve a problem2. figuring out a really stupid way to solve a problem
(DIR) Post #AihVUDVIFsKWVUpEQK by mherbert@jauntygoat.net
2024-06-08T00:15:53Z
0 likes, 0 repeats
@foone ... even better when these describe the same solution ...
(DIR) Post #AihVmXWIZe7pna24hs by eplotner@mas.to
2024-06-08T00:18:49Z
0 likes, 0 repeats
@foone It's also great when the clever thing turns out to be incredibly stupid and there's an actual clever way that takes half the code.
(DIR) Post #AihZ9gnKYZVv5QjH1c by dryak@mstdn.science
2024-06-08T01:00:28Z
0 likes, 0 repeats
@foone I am certain several early DOS 3D games did exactly that.(Doom and Quake, I think? )
(DIR) Post #AihaqdojbNyyG6Qm6y by foone@digipres.club
2024-06-08T01:19:29Z
0 likes, 0 repeats
@dryak yup. I'm mainly amused at being able to use 90s-ass palette tricks in 2024
(DIR) Post #AihcRXPwSXg54vzYno by sabik@rants.au
2024-06-08T01:37:24Z
0 likes, 0 repeats
@foone Last time I was messing around with palettes, I had accidentally created gif animations with more than 256 colours and needed to work further with themAmazing how things break if you have an animated gif with more than 256 colours
(DIR) Post #AihdWzybnwHN3UNIRc by lulu@hachyderm.io
2024-06-08T01:49:30Z
0 likes, 0 repeats
@foone I love finding out both and then implementing the stupid one out of spite.
(DIR) Post #Aihm1xSM1XbpqiYsBE by allwelikeworms@mastodon.social
2024-06-08T03:25:00Z
0 likes, 0 repeats
@foone Mine "just figuring out any way to solve the damn problem"
(DIR) Post #AihySS79rKLXuf2yv2 by sortius@mastodon.social
2024-06-08T05:44:19Z
0 likes, 0 repeats
@foone this is why I struggled with programming, and stuck to server/network admin; I could never tell which were the clever ways, and which were the stupid ways 😖
(DIR) Post #AihzVI8DX1o7m4Saga by weilawei@mastodon.online
2024-06-08T05:56:06Z
0 likes, 0 repeats
@foone Yep, although inevitably in the reverse of that order for me. Always find the complicated way and then I have to put on my thinking cap to turn it into something not-so-bad.
(DIR) Post #Aii8CUP6ZupxvDT7Fw by Toble_Miner@chaos.social
2024-06-08T07:33:15Z
0 likes, 0 repeats
@foone @whitequark Extra points if the solutions is also really cursed. God, I love it when every vtable, bitbanding region and DMA controller cowers in fear of what I will do to them x)
(DIR) Post #AiiAlDFoX5ksmBo9Y0 by efi@chitter.xyz
2024-06-08T08:02:05Z
0 likes, 0 repeats
@foone how about finding a solution without actually figuring it out?
(DIR) Post #AiiDPLvpt7lnBJjOpU by danderson@hachyderm.io
2024-06-08T08:31:34Z
0 likes, 0 repeats
@foone I'm currently debugging a CAD algorithm. I am every way of problem solving right now.
(DIR) Post #AiiDaLVVo5wh3Af0U4 by CliftonR@wandering.shop
2024-06-08T08:32:37Z
0 likes, 0 repeats
@foone I call the latter my "Brute Force and Massive Ignorance approach", after a Roger Zelazny line.
(DIR) Post #AiiH3LFo7xpuWbpgfo by raymierussell@mastodon.scot
2024-06-08T09:12:31Z
0 likes, 0 repeats
@foone Gotta love a Brute force solution that just works.
(DIR) Post #AiiMJfFK42wsvxCyp6 by dryak@mstdn.science
2024-06-08T10:11:22Z
0 likes, 0 repeats
@foone So your next logical step in "throwback 90s palette tricks" would be to get a timer interrupt in sync with horizontal retrace and do raster tricks, Ã la PC Lemmings VGA "AT-mode"? :-D
(DIR) Post #AiiSUbdgPnW2enCg0e by Zergling_man@sacred.harpy.faith
2024-06-08T11:21:26.815099Z
0 likes, 0 repeats
@foone >foone the troone
(DIR) Post #AiiTGCTRHXkoVa6fFA by brokenix@emacs.ch
2024-06-08T11:28:43Z
0 likes, 0 repeats
@foone 3 - figuring out a clever way, only to realise how stupid it was in retrospect
(DIR) Post #AiiYjiHYb7n7KSRPCC by dabeaz@mastodon.social
2024-06-08T12:29:45Z
0 likes, 0 repeats
@foone "There were two paths in the forest. I chose to take the stupid one and that made all the difference."
(DIR) Post #AiibWzkkd7Rjbziuhc by wolf480pl@mstdn.io
2024-06-08T13:01:11Z
0 likes, 0 repeats
@foone 3. figuring a way to do something that should't be possible4. figuring a way for something that should be impossible to stop happening
(DIR) Post #AiihPItaAsJKOCZOpU by neoluddite@aus.social
2024-06-08T14:07:30Z
0 likes, 0 repeats
@foone @dabeaz
(DIR) Post #Aiii49HuneFEStQaHo by edyoung@mastodon.online
2024-06-08T14:14:45Z
0 likes, 0 repeats
@foone as Johnny Mnemonic says, you can either go techical or go crude
(DIR) Post #AiiwvjH9801smiVlpY by drwells@mathstodon.xyz
2024-06-08T17:00:33Z
0 likes, 0 repeats
@foone the best solutions look like they were written by a simpleton and just so happen to correctly cover all corner cases.
(DIR) Post #AijWacE9jcChC4LPRw by mogul@hachyderm.io
2024-06-08T23:41:05Z
0 likes, 0 repeats
@foone I did something like this to implement a solid-edge toon-shading look to solid-color models on the PS2 in 2000! I gave the polygons a 1D texture where the color ramp was smooth except for a few discontinuities.
(DIR) Post #AikqwtZs6GDZcIMYMq by rye@ioc.exchange
2024-06-09T15:04:04Z
0 likes, 0 repeats
@foone do while
(DIR) Post #AilIBC3Auh7Jj16yR6 by TheMNWolf@furry.engineer
2024-06-09T20:09:14Z
0 likes, 0 repeats
@foone figuring out where the missing semi colon was supposed to go
(DIR) Post #Aj9vJAGxReckSdgTA0 by elrohir@mastodon.gal
2024-06-21T17:19:21Z
0 likes, 0 repeats
@foone quake inverse square root be both
(DIR) Post #AjA5VlQe7jo0iQrW08 by BoydStephenSmithJr@hachyderm.io
2024-06-21T19:13:18Z
0 likes, 0 repeats
@foone Best thing about programming is that you don't actually have to solve the problem(s) to have these feelings! ;)
(DIR) Post #AjAEgSlI0xogA2bkno by guardeddon@mas.to
2024-06-21T20:57:07Z
0 likes, 0 repeats
@foone Previously worked for a UK based company. Achieved #2 in Sweden then had to follow up about 6mths later with #1 in Australia. Same problem.
(DIR) Post #AjAtcmeKE8JKntiNDE by thaggie@cosocial.ca
2024-06-22T04:36:31Z
0 likes, 0 repeats
@foone
(DIR) Post #AjBTNIZzLBmHY8bMga by electranyx@graphics.social
2024-06-22T11:17:03Z
0 likes, 0 repeats
@foone the irony being that you always understand the stupid solution when you revisit them later while clever solutions are forever lost to time.
(DIR) Post #AjDtQqxww3IKBs5Jiq by stargazersmith@social.linux.pizza
2024-06-23T15:18:11Z
0 likes, 0 repeats
@foone I think that's why I slid over into computer science, that satisfaction that comes when you see a solution working before your eyes.
(DIR) Post #AjE6EuQXXXMYr15nlI by SkipHuffman@astrodon.social
2024-06-23T17:41:48Z
0 likes, 0 repeats
@foone wrong order