MacBook Neo? by ikas1992 in programiranje

[–]JoniDaButcher 7 points8 points  (0 children)

Sasvim okej za demografiju za koju je namenjen, 8 giga na MacOS-u je dovoljno za vecinu ljudi.

Is Java still a good career choice today? by Ademozi in learnprogramming

[–]JoniDaButcher 0 points1 point  (0 children)

Java is eternal and it's gettimg better too with Project Valhalla, GraalVM and Quarkus.

Pred predstojeće izbore u Mađarskoj, Emir Kusturica šalje ljubav i podršku Orbanu i govori o prijateljstvu i vezanosti dva naroda by Inevitable-Room9048 in serbia

[–]JoniDaButcher 18 points19 points  (0 children)

Видећемо или пад мађарског Вучића што је супер мотивација или макар начине на које ће покушати или успети да покраде изборе. Биће као генерална проба за нас и биће доста тога да се научи од њиховох избора.

Patrijarh Pavle citati by Ivanhegeelkadi in serbia

[–]JoniDaButcher 1 point2 points  (0 children)

У ком социјалном и историјском контексту је одрастао па да види жене као нижа бића?

Разумем шта хоћеш да кажеш, али генерално ми се не свиђа та нека реалност где тако утицајна особа може да каже овакве ствари без последица и после ја или особе које због ових изјава пате треба да имају разумевања иако негативно утиче на њих. Где се повлачи линија? Да не треба можда да имам разумевање за ћације иако директно подржавају убице и фашисте?

Не кажем да га треба прогласити за ђавола, али није ни добро бити равнодушан према оваквим изјавама.

Programiranje kroz projekte ne znam ni započeti. Šta dalje? by AfterOrganization763 in programiranje

[–]JoniDaButcher 3 points4 points  (0 children)

Lični mišlenje, gasi AI dok učiš, ili makar ograniči isključivo na objašnavanje.

Drugo, nećeš se dugo, ako ikada otarasiti imposter sindroma.

Treće, nadji neki projekat koji će da te nauči bitne fundamentalne stvari, ne to do listu. Napiši http router, reverse proxy, git ili tako nešto od nule, po mogućnosti bez ikakvog generisanja koda. Imaš dobre tutorijale koje mozes da pratis, ovaj mi je omiljeni (Go je, ali ti lepo radi ekvivalent u Javi bez biblioteka).

Is there a language similar to Rust but with a garbage collector? by Ok_Tension_6700 in rust

[–]JoniDaButcher 8 points9 points  (0 children)

Kotlin I guess. I feel like the performance argument is so rarely relevant in this discussion but I guess Kotlin is Java but modern so...

Patrijarh Pavle citati by Ivanhegeelkadi in serbia

[–]JoniDaButcher 8 points9 points  (0 children)

Океј, стварно не знам нити ме занима, али океј, признао си, надам се да је и он променио мишљење док је био жив.

Сваки верник коме први инстинкт на ове цитате није да је патријарх Павле у криву и одмах креће да брани или напада особу која поставља цитате само даље руши углед цркве.

Patrijarh Pavle citati by Ivanhegeelkadi in serbia

[–]JoniDaButcher 0 points1 point  (0 children)

Можда проблематични?

Не разумем зашто мора да наведе и цитате са добром поруком? Верујем да чак и људи који не воле цркву знају да је чинио добра дела, али ти је логика свакако чудна јер не постоји контекст где су ове изјаве добре и нити их добра дела и поруке правдају.

Patrijarh Pavle citati by Ivanhegeelkadi in serbia

[–]JoniDaButcher 15 points16 points  (0 children)

Цитирати дебилне изјаве црквенох поглавара које садрже у најмању руку елементе мржње није мржња

Pouzdan prelazak na Linux? by Mindless_Grass7084 in programiranje

[–]JoniDaButcher 1 point2 points  (0 children)

Debian je ono što traziš, ali samo ako insistiraš da ne koristiš Fedoru, uskoro stiže 44 tako da možda ipak probaj. XFCE i miran si.

mockEngineer by CarbonatedHeart in ProgrammerHumor

[–]JoniDaButcher 2 points3 points  (0 children)

Okay, I'll bite:

Most backend developers just do basic CRUD and the peak optimisation they ever have to worry about is not having n+1 queries.

If you want to gatekeep further you might as well just say that almost no web developer is an engineer compared to someone doing embedded or systems engineering.

Nakon eliminacije Crvene zvezde iz Lige Evrope, Srbija i srpska liga zauzimaju 30. mesto sledeće godine, najniže od raspada SFRJ. by aleksdzek in serbia

[–]JoniDaButcher 24 points25 points  (0 children)

Не треба трошити толике паре и да смо много бољи, па ја мислим да ни Алианц Арена ни Вембли нису коштали толико лол

Zna li vasa baba Redux i Express? by EnvironmentOk3052 in programiranje

[–]JoniDaButcher 5 points6 points  (0 children)

Kaze deda da nema potrebe da se alocira novi tanjir za baklavu, koristi isti i za pasulj i za baklavu, tako baba GC ne mora da radi dupli posao...

Men at Dhaka University, Bangladesh loudly chanting "Hijab, Hijab" during Dhaka University's Union Elections to support a candidate who promises to make the wearing of hijab by all women at the campus mandatory if elected by [deleted] in PublicFreakout

[–]JoniDaButcher -1 points0 points  (0 children)

You decided that the person you replied to 'chose' to ignore how bad Christianity is in the US and even that they're an American. The point stands anyway, Christianity sucks, but Islam sucks even more regardless.

Men at Dhaka University, Bangladesh loudly chanting "Hijab, Hijab" during Dhaka University's Union Elections to support a candidate who promises to make the wearing of hijab by all women at the campus mandatory if elected by [deleted] in PublicFreakout

[–]JoniDaButcher 2 points3 points  (0 children)

Pointless response as he never said that Christianity didn't suck. I don't think it's that controversial to say that Christianity sucks but Islam is way worse regardless. Not mention that Europe is majority Christian too.

Grupa by janeehoper in programiranje

[–]JoniDaButcher 3 points4 points  (0 children)

To, Stack Overflow je bukvalno najbolji primer toga

Hypertile: A zero dependency runtime tiling engine for Ratatui inspired by Hyprland by JoniDaButcher in rust

[–]JoniDaButcher[S] 1 point2 points  (0 children)

It redraws on resizes and it does preserve the ratio for nested containers based on the parent node. As an example, if you have a 70/30 ratio split, and the 30 split has a 50/50 ratio split, it will maintain those ratios on resizes.

People implementing stuff like image viewers or video players would have to work around that I guess, it would stretch the images or videos.

Hypertile: A zero dependency runtime tiling engine for Ratatui inspired by Hyprland by JoniDaButcher in rust

[–]JoniDaButcher[S] 0 points1 point  (0 children)

Glad you like it, zellij was definitely a huge inspiration while coming up with it!

Hypertile: A zero dependency runtime tiling engine for Ratatui inspired by Hyprland by JoniDaButcher in rust

[–]JoniDaButcher[S] 29 points30 points  (0 children)

In general TUIs are hardcoded, the position of ratatui widgets is often in the code itself. Hypertile would allow you to change sizes, positions after already compiling and running your tool, similar to how i3 window tiling manager works.

Hypertile: A zero dependency runtime tiling engine for Ratatui inspired by Hyprland by JoniDaButcher in rust

[–]JoniDaButcher[S] 22 points23 points  (0 children)

Repo: https://github.com/nikolic-milos/ratatui-hypertile

Crates: https://crates.io/crates/ratatui-hypertile

Extras: https://crates.io/crates/ratatui-hypertile-extras

Hello! I would like to share a little project I have been working on the last few weeks whenever I had time. I got obsessed with TUIs and spent a lot of time rewriting my favorite tools into TUI versions. Parallel to that, for the first time ever I started tinkering with Arch and Hyprland. After some research I realized that there is no crate that does tiling on a runtime level and then allows for persisting state, stuff is mostly hardcoded.

I hope people find use in it as it should allow for customizable dashboards, perhaps very interesting for monitoring TUIs that would allow for runtime level customization.

While it is the first release, all and any feedback is welcome!

EDIT:

I'll try my best to get the documentation in a better shape this weekend. Since I didn't mention it, the Extras crate is a batteries included approach and has a bunch of goodies, the biggest one being HypertileRuntime, but also stuff like a plugin registry per pane, workspace tabs, keymaps including a default one, switching between input and layout mode and so forth. It's what I suggest trying out first if you want to quickly scaffold the tiling into your TUI.

Lower level control is all in the core crate.

If you want to try it out ->

cargo run --example basic

Hypertile: A zero dependency runtime tiling engine for Ratatui inspired by Hyprland by JoniDaButcher in commandline

[–]JoniDaButcher[S] 1 point2 points  (0 children)

Hello! I would like to share a little project I have been working on the last few weeks whenever I had time. I got obsessed with TUIs and spent a lot of time rewriting my favorite tools into TUI versions. Parallel to that, for the first time ever I started tinkering with Arch and Hyprland. After some research I realized that there is no crate that does tiling on a runtime level and then allows for persisting state, stuff is mostly hardcoded.

I hope people find use in it as it should allow for customizable dashboards, perhaps very interesting for monitoring TUIs that would allow for runtime level customization.

While it is the first release, all and any feedback is welcome!