Flight canceled

Austrian airlines canceled my 9pm flight Wien to Florence. Goes without saying, feeling pretty shitty about it. They are expecting bad weather at the arriving airport but looking at arrivals it shows that ours was the only fucking flight that was canceled. They want to reroute us through Munich tomorrow at 5pm with Munich Florence the next day at 7am, that's 2 additional nights. I found some alternatives that would get us there basically tomorrow morning that involve different landing airport + train, they cost like 2k - 3k, I'm traveling with my father and he doesn't want to "feel rushed" or take risks about spending so much and then get denied refund. This is mainly a complaint post, I have things to deal with back home, nothing urgent but still. Plus my father snores. First time in this situation anything I should know? Also if you want to share worse experiences so that I feel better please do

reddit.com
u/newflour — 14 hours ago

Flight canceled

Austrian airlines canceled my 9pm flight Wien to Florence. Goes without saying, feeling pretty shitty about it. They are expecting bad weather at the arriving airport but looking at arrivals it shows that ours was the only fucking flight that was canceled. They want to reroute us through Munich tomorrow at 5pm with Munich Florence the next day at 7am, that's 2 additional nights. I found some alternatives that would get us there basically tomorrow morning that involve different landing airport + train, they cost like 2k - 3k, I'm traveling with my father and he doesn't want to "feel rushed" or take risks about spending so much and then get denied refund. This is mainly a complaint post, I have things to deal with back home, nothing urgent but still. Plus my father snores. First time in this situation anything I should know? Also if you want to share worse experiences so that I feel better please do

reddit.com
u/newflour — 14 hours ago

Not an interview question but thought you guys might enjoy it

Alice thinks of a secret n degree polynomial p(x) that Bob has to guess correctly.

Bob knows that all the coefficients of the polynomial are non negative integers. He doesn't know the degree of the polynomial.

Bob is allowed 2 queries:

He gives Alice his first query, number a, then Alice tells Bob the value of p(a).

Bob then thinks of his second query, number b, Alice tells Bob the value of p(b).

Bob then has to calculate with 100% accuracy all the coefficients of the polynomial. It turns out that he is always able to! But how?

reddit.com
u/newflour — 18 days ago
▲ 110 r/sfoghi

Questa gente è libera di circolare tra noi

Ho appena avuto il dispiacere di incontrare questo individuo che evidentemente soffriva di parassita al cervello perché altrimenti la situazione non si spiega.

Stavo attraversando sulle strisce a passo di camminata normale, non ero fermo in mezzo alla strada, ma neanche stavo correndo. Questo subumano, a cui ho fatto perdere 10 secondi del suo tempo che comunque non ha alcun valore, rallenta fino ad arrivarmi a 20 centimetri (io non lo stavo guardando e avevo letteralmente già un piede sul marciapiede) e suona il clacson. Prontamente lo mando a fanculo e continuo per la mia strada.

Neanche il tempo di provare dispiacere per lui che apparentemente soffre di quache malattia degenerativa e per tutti i suoi cari che devono avere a che fare con individuo così penoso, che mi risbuca davanti (pensate a un quadrato, lui ha preso la prossima destra per tornarmi davanti) e mi urla: "Muoviti! Non si dorme tutta la vita! Vedi di svegliarti!" e robe del genere. Io gli chiedo "in che senso scusa?" e lui mi guarda con faccia e sorriso da ebete, non risponde e se ne va.

Non sapevo esseri umani potessero esibire il comportamento di insetti, se qualche entomologo vuole trarne un caso di studio ben venga

reddit.com
u/newflour — 1 month ago
▲ 2 r/desmos

guy moving around smoothly

(I know terrible image I'm sorry)

graph link: https://www.desmos.com/calculator/yj6dzoarax

The idea was to make a point move around randomly and smoothly, so it started with generating a random acceleration each tick then updating the velocity and position.

Then I thought that instead of generating the acceleration (2nd derivative) randomly I could generate the n-th derivative

So that's what it does, it generates a random 7-th derivative each tick (in a small interval to keep things from blowing up) and updates all the other values by multiplying them by a coefficient less than 1 (to make it so it likes hanging around the origin and doesn't basically shoot off in a straight line) and adding the previous derivative.

(also 3d graph link that I don't think it's as cool though: https://www.desmos.com/3d/evzh833dko )

Honestly pretty straightforward but really fun to look at!

also close the sidebar to make it less laggy

u/newflour — 1 month ago

I have an idea for an online business, but know nothing about web development

I need honest advice. I'm not entirely new to coding, I can code in python and cpp but only limited basically to algorithms and data structures, just a few math related projects with minimal UI, either straight up in the terminal or pygame lol.

I have no idea what to do or where to start, do I just vibe code it and go insane trying? I will need a database to track user progress (it's a learning site), a way for the user to log in... what is even the first thing to set up, the database? Would you advise to "learn as I go" or to go through a whole web dev course? I actually tried that twice on youtube but it's soo slow it feels like, (at least at the start) and it didn't seem to touch on a login method, a way to set up and process payment. It felt like I was going to waste time so I stopped.

I would not like to go through a whole course but I will if you guys deem it the best course of action and maybe you know the perfect one for my situation.

reddit.com
u/newflour — 2 months ago

Gemini started saying this at the start of each message, followed by a normal reply

u/newflour — 2 months ago
▲ 8 r/GoogleGeminiAI+1 crossposts

I took Gemini through the political compass test

It refused at first saying it doesn't have personal values or opinions, so I told it to answer as logically as possible. You can see the results in the picture, and here is the full chat for context: https://gemini.google.com/share/5cebd94abf09 . Is this what you would have expected?

u/newflour — 2 months ago
▲ 175 r/desmos

bouncing stick

https://www.desmos.com/calculator/wcsvyxvvbj
it's very crude, here's what all the lines are for (these comments are written in desmos as well):

  1. the function that acts as the pavement

4-6. position of the center of the stick

  1. angle of rotation

  2. half the length of the stick

  3. the graph of the stick

  4. regression to find the point of contact

  5. tells you if there is actual contact

18 - 19. components of normal vector perpendicular to the pavement

now the physics, don't ask me why it's like this I just found it online

22 - 23. vector from the point of contact to the center

25 - 27. speed of the center and angular speed

29 - 31. to calculate the speed of the point of contact relative to the pavement

  1. apparently that's the "force" (or impulse) that the pavement gives the stick

35-37. buffer variables, b is active buffer frames so that it doesn't glitch out each contact

39-46. update actions. the number at the end of line uvy is gravity. the 3 in line ub is how many buffer frames after each contact

last lines are just to center the graph on the stick

known bugs:

sometimes if the stick is rotating slowly and it hits a part of the graph where the slope doesn't change much then it phases through the pavement basically whole and glitches out, reducing the gravity and the height it's dropped at should make this less frequent

if it has to make different collisions within less frames than the buffer frames it can glitch out, reducing the buffer frames should make this less frequent

u/newflour — 2 months ago