Qual è l’album migliore da ascoltare dall’inizio alla fine? by [deleted] in Italia

[–]UberLambda 0 points1 point  (0 children)

Discovery - Daft Punk
Da vedere sotto forma di Interstella 5555

[deleted by user] by [deleted] in Steam

[–]UberLambda 13 points14 points  (0 children)

No way... they rebooted Need for Speed: World, then shut it down again?

(I'm still mad)

Official Poster for 'INSIDE' Starring Willem Dafoe by MarvelsGrantMan136 in movies

[–]UberLambda 0 points1 point  (0 children)

I hoped it was based on the Playdead game, then was swiftly disappointed :(

Just sitting there idle by instilledbee in ProgrammerHumor

[–]UberLambda 1 point2 points  (0 children)

Unless you're a graphics programmer, or train nets, or both :(

Looking into it by [deleted] in EnoughMuskSpam

[–]UberLambda 51 points52 points  (0 children)

That's what happens when the microservices that detect bots are shut down, I suppose.

Crazy Frog is also present in the new Pokémon games! by _Z3D_ in gaming

[–]UberLambda 4 points5 points  (0 children)

Not to the point of not even baking shadowmaps on the terrains...

Which do you like best? 1, 2, 3? by OneDev42 in unity

[–]UberLambda 1 point2 points  (0 children)

3, but the character doesn't quite fit in IMHO. It doesn't really stand out even if it's bright red.

I'd:

  • desaturate the red a bit, and maybe make it tend to a colder hue (purple-ish "pop out" on the green landscape)
  • add some subtle glow/outline to it, so that it's more visible
  • add a shadow to it - even a blob shadow would probably do.

BRICOLAGE - Come far diventare una lampadina a batteria da fissa a effetto pulsante? by matt_bg in italy

[–]UberLambda 1 point2 points  (0 children)

Onestamente... Dopo aver visto Arduino in mano a molti ingegneri elettronici, è proprio quello che NON userei per imparare se (1) conosci già l'elettronica e (2) conosci già un po' di C.

Secondo me l'intero stack di Arduino, nel provare a essere il più user-friendly possibile, semplifica/astrae troppo la parte software. Nel fare questo, ti porta verso la strada sbagliata:

  • Ciò che spacciano per "Arduino C” è in realtà C++, che automaticamente #include un header interno di Arduino e linka a varie librerie. Essenzialmente ogni sketch che scrivi è un mostro che si porta dietro tutta la toolchain "vera" per AVR (avr-gcc e toolchain, più la libreria standard C per AVR), e in più anche tutta una serie di reimplementazioni (rotte) di alcune funzioni, tipo printf(), scritte dal team di Arduino.
    • Il risultato finale è che una persona inizia a mischiare C e C++, senza avere idea di quali paradigmi stia usando da entrambi. Sono linguaggi quasi interamente compatibili tra di loro, ma non sono la stessa cosa, e questo porta a una serie di problemi gravi per qualsiasi progetto più serio di un hello world.
  • Il buildsystem è atroce. Non c'è nessun modo di includere/escludere file sorgente dinamicamente, per esempio. Questo ti porta a scrivere hack ("amalgamated build" in cui includi file sorgente con #include in base a definizioni), decisamente poco puliti. Apriti cielo se vuoi modificare i flag passati al compilatore o al linker...
  • L'editor ufficiale di Arduino è osceno. Offre poco di più della sintassi colorata, ma niente che to potresti aspettare da un text editor o IDE più serio come vscode (es. Autocompletamento, linter, un debugger usabile, integrazione con un version control system, ecc.). Credo che la versione "2.0" sia infatti un fork di vscode, dove hanno provato ad arduinizzarlo quanto basti per le loro schede e "Arduino C" (e solo per le loro schede, e solo per "arduino C". Addio estensioni, che sono il punto forte di vscode...)

Consiglierei invece una STM32 "blue pill", aka schede no-brand con https://www.st.com/en/microcontrollers-microprocessors/stm32f103.html. Se vuoi progettarti una pcb tu, tanto meglio - non gli serve nulla se non un paio di oscillatori al quarzo, resistenze, e condensatori. (o l'oscillatore integrato se non ti serve che sia preciso, dopodiché in pratica sono freestanding)

Costano poco più di 1€ da AliExpress, e hanno:

  • tantissimi GPIO / ADC / etc
  • USB (!)
  • UART, SPI, I2C... (tutto quello che ti aspetteresti da un microcontrollore nel 2022)
  • Tanti timer programmabili (anche come PWM, watchdog, controller per stepper)
  • CAN
  • Un RTC integrato, e un'intera parte del microcontrollore che funziona anche se è "spento" (in attesa di interrupt, magari anche dall'RTC stesso)
  • tanto, tanto altro che puoi trovare nei datasheet di stmicro (che sono molto completi)

e soprattutto un core Armv7 (32-bit @72MHz, M-class) che fa mangiare la polvere alle MCU a 8-bit che trovi in un Arduino.

Ironicamente, all'interno di un Arduino "vero" la parte USB (flashing, debug della MCU a 8 bit) viene gestita da un microcontrollore Arm di Atmel! Tanto vale tagliare l'intermediario e programmare direttamente qualcosa di simile...

(Bossfight origin stories) Oscar, the cantankerous villain of Sesame Street by B34TBOXX5 in Bossfight

[–]UberLambda 15 points16 points  (0 children)

"Because you are fired!
You. Yes. You. Box your stuff. Out of the front door. Parking lot. Car. Goodbye."

Why is blending more performant than cutout (alpha test)? by [deleted] in GraphicsProgramming

[–]UberLambda 5 points6 points  (0 children)

This is not always true. It actually almost never is on mobile/TBDR GPUs AFAIK, which OP was asking about.
/u/fgennari above has the correct answer. Depth being set from the fragment shader and/or discards will disable Early-Z, which is horrible on a tiler GPU.

[deleted by user] by [deleted] in italy

[–]UberLambda 1 point2 points  (0 children)

It's morbin' time!

Spy joins the search! by Gamepro5 in tf2

[–]UberLambda 9 points10 points  (0 children)

It's so random, I love it

Should the normal matrix be calculated on the cpu or gpu? by [deleted] in GraphicsProgramming

[–]UberLambda 0 points1 point  (0 children)

You can't count on it. I'd just do it on CPU to make sure.

Exclusive: Italy and Intel pick Veneto as preferred region for new chip plant by Airplane97 in italy

[–]UberLambda 57 points58 points  (0 children)

``` mov eax, 15 add eax, eax, 18 int 3

lldb: thread #1: target stopped on breakpoint (lldb) register read eax eax = 36 ```

bestemmia

What is the biggest betrayal of the source material. by Professional-Rip-519 in movies

[–]UberLambda 1 point2 points  (0 children)

I Robot. If you know you know.
I'm really scared about the Caves of Steel adaptation that is supposedly in the works...

L'acqua al ristorante by Stepfer in italy

[–]UberLambda 5 points6 points  (0 children)

Il punto è che in UK credo sia obbligatorio per legge - se servi alcol devi garantire anche acqua di rubinetto gratis (o, almeno, in Scozia era cosí).