mac

joined 2 years ago
 

Stumbled onto this pack when browsing some new Godot stuff. Figured it might be useful to some people here

In godot you can give nodes custom icons that show up beside their name using @icon("path/to/png") with that pointing to a valid image. These are custom icons similar to the built-in ones you can use to make your custom nodes more visually distinct

[–] mac@programming.dev 4 points 2 years ago* (last edited 2 years ago) (1 children)

Letting you know, the download and github links on the git.rela.dev site navbar dont work

Its probably set as a private repository

[–] mac@programming.dev 23 points 2 years ago* (last edited 2 years ago) (7 children)

who needs modulo when you can get less characters out of

while (number > 1) {
  number -= 2;
}
return number;

very efficient

edit: or theres the trusty iseven api

[–] mac@programming.dev 2 points 2 years ago

I havent used nvchad before but im assuming theres a mapping set to make that behaviour happen

Would be in a core/mappings file if its from nvchad or a custom/mappings file if its not (inside where you cloned the repo to)

https://nvchad.com/docs/config/mappings

[–] mac@programming.dev 11 points 2 years ago* (last edited 2 years ago) (1 children)

Yeah active is currently the default sort in programming.dev until scaled sort comes out so commenting helps the most out of everything here

[–] mac@programming.dev 121 points 2 years ago (1 children)

Triggered due to incorrect handling of LaTeX. Original answer on the page was 10^80 which ended up getting the exponentiation ignored by google

[–] mac@programming.dev 3 points 2 years ago

nah not me, just like watching vids from this youtuber. Afaik this isnt part of any larger thing and is just a feature study. (Its the first video they've posted in 3 months, before that they had a bunch of videos for a series called godot fundamentals)

[–] mac@programming.dev 2 points 2 years ago

From one of the past intellij blog posts

  • Full support for Java 21 features
  • Run to Cursor inlay option in the debugger
  • Floating toolbar with code editing actions
  • Support for GitLab snippets
  • All-in-one diff viewer
  • Improvements for both Maven and Gradle import
  • Visual editing for OpenAPI specifications
  • Enhancements for Quarkus and Micronaut
  • Spring 6.1 feature support
  • Spring for GraphQL support
  • Kubernetes tooling available out of the box
  • Extended Dev Containers support
  • HTTP Client improvements
[–] mac@programming.dev 3 points 2 years ago

yeah with the example code on the page. With 2023 day 1 its one large block rather than broken up like it is there

[–] mac@programming.dev 17 points 2 years ago* (last edited 2 years ago) (4 children)

It doesn't let people solve it without logging in since everyone gets randomized inputs rather than the same ones. You can still technically do the challenge, just cant use your solution on the large block of input

That also looks like the day 1 of 2015

[–] mac@programming.dev 4 points 2 years ago* (last edited 2 years ago)

its relatively fine, just harder than past day 1s and has cases that trip people up

[–] mac@programming.dev 4 points 2 years ago

This should be just 35, you can ignore the words that are numbers

[–] mac@programming.dev 3 points 2 years ago (1 children)

now hit top 10 communities of the day due to the last 2 posts

view more: ‹ prev next ›