None

https://i.rdrama.net/images/16841362068127098.webp :#!marseytranspearlclutch:

None
42
day 17 aoc thread: rocks fall everyone dies

bottom text

None

"oops"

None
75
IM GONNA SAY IT :marseyraging:

>be me, day 16 of AOC

>write a solution to part one that only considers nodes with values > 0

>runs pretty quickly, could be better

>get to part two, considering two players

>:marseyclueless: obviously it is equivalent to a single player playing the game twice and not visiting previously visited nodes, right?

>try solution on test input, doesn't work

>shit, forgot about the case where the players run out of time before reaching the end

>rewrite algorithim for two players (tedious af)

>press run

one eternity later

>shit, guess I need to improve the algorithim

>rewrite the algorithm to use a matrix of distances instead of recomputing the distance each time

>part 1 runs 21x faster :marseywholesome:

>:marseyclueless: surely this is the correct implementation

one eternity later

>what the frick do they want from me

>how could i possibly do this any faster

>wonder if there is a linear time solution i'm missing

>scrawl a page of nonsense with matrices, realize that none of it matters because it would be running slower than my interpretation

:#marseygiveup:

>fine, i'll check the solution thread on rdrama

>see a comment from @ihsoy

I solve part two simply by dfs through the part once, and then if time gets to zero, i restart the dfs.

>wtf, that doesn't work, i already tried that on the test input

>try it on the actual input

>mfw it works

>mfw i wasted hours because the test input was nothing like the actual input

I'M GOING TO KILL YOU SANTA CLAUS!!!!!!!!!!!

None

Archive Link

None
6
A fast AoC day 15 part 2 solution without cheating*

[*] with blatant cheating that would make @Snakes blush

pip install z3-solver

    import z3
    x, y = z3.Ints('x y')
    zs = z3.Solver()
    zs.add(0 <= x, x <= size_limit)
    zs.add(0 <= y, y <= size_limit)
    for it in data:
        zs.add(z3.Abs(x - it.sx) + z3.Abs(y - it.sy) > it.r)
    assert zs.check() == z3.sat
    return zs.model().eval(x * 4000_000 + y).as_long()

15_1 took 0.212 seconds

None
None

Orange Site:

https://news.ycombinator.com/item?id=34011470

:marseysnoo:

https://old.reddit.com/r/hardware/comments/zmtn2k/ibm_to_create_24core_power_cpu_chiefly_for_oracle/

None

https://arstechnica.com/information-technology/2022/12/meet-ghostwriter-a-haunted-ai-powered-typewriter-that-talks-to-you/

None
None
11
Keyboard appreciation thread

Bonus points if you put your keyboard on your head and understand why you're being asked to do that.

None
14
day 16 aoc thread: the np is complete

this is travelling salesmen, eh? i'm pretty sure at least.

None
26
Rocket Daddy looks at the crowd, his thumb quivering horizontally and alternating between pointing slightly up and slightly down
None

Elmo is afraid :marseylaugh:

@RPD discuss

None
Reported by:

Orange Site:

https://news.ycombinator.com/item?id=34002526

None

https://x.com/paulg/status/1603575480271216647

Bonus Twittercel pulling up pg's history of defending :chadmusk::

https://x.com/thethinkoor/status/1603574825792028673

None
None

Darn, this sounds bad, really bad. Imagine if Twitter was a monopoly.

Yea right like that'll stop them from growing, Elmo.

None
None
100
Riffdiffusion, using stable diffusion to generate spectrograms of music

The site keeps going down because they have a music generator and the guys working on it are just doing it for fun and they weren't ready for for the news to spread yet

This has some cool samples you can play and explains how it works:

https://www.riffusion.com/about

Here's people talking about how bad and compressed it sounds and why, but there are also people amazed at how good it sounds

https://news.ycombinator.com/item?id=34001908


Edit:

Can I run it locally?

https://github.com/hmartiro/riffusion-app

https://huggingface.co/riffusion/riffusion-model-v1/tree/main

The model is 15GB :marseyworried:


Here's one of the authors talking about it on orange site:

https://news.ycombinator.com/item?id=33999162

Other author here! This got a posted a little earlier than we intended so we didn't have our GPUs scaled up yet. Please hang on and try throughout the day!

Meanwhile, please read our about page http://riffusion.com/about

It’s all open source and the code lives at https://github.com/hmartiro/riffusion-app --> if you have a GPU you can run it yourself

This has been our hobby project for the past few months. Seeing the incredible results of stable diffusion, we were curious if we could fine tune the model to output spectrograms and then convert to audio clips. The answer to that was a resounding yes, and we became addicted to generating music from text prompts. There are existing works for generating audio or MIDI from text, but none as simple or general as fine tuning the image-based model. Taking it a step further, we made an interactive experience for generating looping audio from text prompts in real time. To do this we built a web app where you type in prompts like a jukebox, and audio clips are generated on the fly. To make the audio loop and transition smoothly, we implemented a pipeline that does img2img conditioning combined with latent space interpolation.

>if you have a GPU you can run it yourself

:#marseyparty: :#marseyrave: :#!marseyparty:

None

Just simply check using this website lmao. Or use it to confirm a lolcow's identity if you're a kiwicel.

I do not condone doxxing.

None

see leaderboard on geeses post

None

Orange site

https://news.ycombinator.com/item?id=33982347

Reddit

https://old.reddit.com/r/programming/comments/zlp2hm/rewriting_typescript_in_rust_youd_have_to_be/

https://old.reddit.com/r/webdev/comments/zlp5sm/rewriting_typescript_in_rust_youd_have_to_be/

https://old.reddit.com/r/rust/comments/zlvyic/an_interview_with_the_author_of_stc_a_typescript/

https://old.reddit.com/r/typescript/comments/zlz0ad/rewriting_typescript_in_rust_youd_have_to_be/

None
8
How fast should one strive to be?

I’m reading this book on programming in python, and I’m wondering how fast the average developer is versus the average novice? I know it’s likely different depending on project, language and such, but it’s like, is it normal to take a week to hack together a telegram chat bot for a intermediately experienced dev? Are project lengths measured in weeks or days?

None
14
I really like rust.

:marseyrave: It's a cool language. :marseyrave:

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.