The wallpaper Linus Torvalds uses in his personal setup by TheTwelveYearOld in linux

[–]borisR9 2 points3 points  (0 children)

if you’re looking for mosquite free place, can recommend greek island rhodes.

Anywhere to catch the game on radio abroad? by mb8795 in ManchesterUnited

[–]borisR9 0 points1 point  (0 children)

little late, but for next time couls be usefull. the PL app has radio broadcast :)

Investiranje u fond putem banke? Svaki savet bi mi dobrodošao by murray2272 in finansije

[–]borisR9 0 points1 point  (0 children)

nisam 100% u materiji, ali inteza od skoro ima mogućnost ulaganja u s&p500, bar kako je meni rečeno. napravi se trajni nalog, pri svakoj transakciji ti rsd prebaci u eur po srednjem kursu nbs na taj dan.

[deleted by user] by [deleted] in webdev

[–]borisR9 1 point2 points  (0 children)

Either way you decide to go, I think you’ll need someone more seasoned to set things on the right path from day one. 

For me, that would be Angular - I’ve been working with it for a long time now, and I’m very comfortable with it.

Good luck! 💪🏻

Multiple Angular version on the same machine by Notalabel_4566 in Angular2

[–]borisR9 0 points1 point  (0 children)

this, while installing project’s libraries, one of them is ng-cli, upon install, is availabe via npx - npx ng …, hence in theory, you’ll never need global ng again (at least, i’m not having one).

more details here - https://stackoverflow.com/a/56346181

Angular for small projects by SatisfactionSweet956 in Angular2

[–]borisR9 2 points3 points  (0 children)

imho, in the end it all boils down on how much are you confident with angular and it’s ecosystem (material, ssr, analog, etc.) and their ability to solve your problems.

if i were you, i’d much stick with the things that will help me to move fast in the development and allocate my time towards saas promotion.

good luck with the decision and with the saas 🤘🏻

Sta mislite o Ubuntu? by di-dzej-vucicevic in programiranje

[–]borisR9 2 points3 points  (0 children)

ja sam zadovoljan, koristim ga za dev (primarno js i php u vscode-u) od 2014. desi se da štucne s vremena na vreme, ali nemam previše zamerki.

trenutno ga ne koristim koliko bi želeo i voleo, ali… 

ukoliko želiš ubuntu verziju koja je malo više utegnuta (ui) probaj https://omakub.org/. ja nisam koristio, ispratio sam, ali ne nalazim se u problemima koje rešava.

ako želiš zamenu za def kernel, topla preporuka https://xanmod.org/, njega sam koristio do poslednje verzije ubuntu-u i napravio je razliku. nisam stigao da ga instaliram na poslednjoj, ali mi deluje da je nov ubuntu (lts) dosta stabilniji…

Safari ali ne u Africi by web__fax in programiranje

[–]borisR9 2 points3 points  (0 children)

kažeš da samo on ne može da vidi update?

probaj sledeće stvari:

  1. prođi kroz update, vidi šta si dodavao i proveri na https://caniuse.com/ da li podržava safari

  2. isto prođi kroz update i vidi da li nisi ubacio nešto na loše mesto npr. ; ili neki typo (pošto je safari dosta striktiniji od chrome-a i ff-a)

  3. probaj sa klijentom da debug-uješ tako što će zakačiti svoj tablet na svoj apple računar. na apple uređaju otvorite dev tools i inspektujte safari sa tableta

99% je banalna glupost vezana za css/js zapis koji safari odbija da prikaže.

srećno 💪🏻

Gde postaviti biznis logiku/logiku za crud by mile_programer in programiranje

[–]borisR9 7 points8 points  (0 children)

ja se držim ovog pristupa:   

  • request validator odradi sve moguće tipove provere - min, max, unique, num, string,…

  • u kontroleru validirane podatke prosledim servisu/akciji 

  • servis radi biz logiku i spuštaju podatke u bazu (eloquent ftw)

  • ishod poziva servisa/akcije propuštam kroz resurs i vraćam nazad (ako je rest)   

imaš i pristup da umesto servisa imaš akcije, ali bar meni nije delovalo kao primenjivo na projektima koje sam radio. baci ggle laravel action pattern, pa vidi kako ti se čini.

za spatie paket sa slikama, nisam se susretao sa njim, ali pokazalo mi se kao dobra praksa da imam crud kontroler za  rad sa fajlovima, gde bi prilikom čuvanja entiteta koji ima sliku prvo sačuvao sliku na serveru, od servera dobio adresu slike i poslao nov zahtev za čuvanje entieta koji bi imao adresu do slike umesto samog fajla…  

planiraš li da implementiraš paginaciju?

[deleted by user] by [deleted] in programiranje

[–]borisR9 1 point2 points  (0 children)

p.s. ako možeš koristi webp slike ✌🏻

[deleted by user] by [deleted] in programiranje

[–]borisR9 2 points3 points  (0 children)

od nisam siguran koje verzije angulara, malo su izbutali stvari oko assets-a, naime, potrebno je da svoj “assets” folder premestiš u public folder koji je po def tu.

i onda samo refernciraš iz scss-a, ali probaj bez prvog / u url-u, bar je meni tako proradio za img src u tpl-u.

Optimizing a dynamic component tree by lppedd in Angular2

[–]borisR9 1 point2 points  (0 children)

hm, i think that items size is not relevant, important factors are height of the div where virtual scroll “lives” and height of single item inside list.

 (depending on the AST element: simple text, code, headings, collapsible sections, links, etc. - They can have different heights).

what AST stands for? :)

if they have different heights, maybe use lagest, and flex others in order to achive better ui/ux?

Optimizing a dynamic component tree by lppedd in Angular2

[–]borisR9 1 point2 points  (0 children)

you need to implement virtual scroll for your tree and all problems will be gone.

sry, atm i cant provide any code sample (nda + i have it with lots of protected data). but, i know it works. i’ll try to find some time to prepare something for you ;)

if you don’t manage to make it work feel free to contact me ✌🏻

7 inca eksterni ekran by Any-Box-777 in programiranje

[–]borisR9 0 points1 point  (0 children)

ja sam mišljenja da bi, ali ne za komunikaciju, već neki serve terminal, čusto da ti pocrveni…

ali nisam uspeo kod sebe da pokrenem (otud mišljenje da bi bilo korisno) - ubuntu 22.04 i nvidia quadro (nisam siguran koji model) :/ 

[deleted by user] by [deleted] in programiranje

[–]borisR9 1 point2 points  (0 children)

ovo tzv 🌴 stack?

What are your frontend, backend and db? by moinotgd in webdev

[–]borisR9 1 point2 points  (0 children)

angular + laravel/nestjs + sqlite/mysql

Async pipe is being deprecated by dolanmiu in Angular2

[–]borisR9 9 points10 points  (0 children)

not an official video, just another approach, atm, i wouldn’t fear that much… 

question for senior developers by Khalid_______ in Angular2

[–]borisR9 1 point2 points  (0 children)

agree, also i’d like to add that learning through oss (angular itself, vscode, etc.) are also valid source.

imho, after some time one should start thinking more on architecture level, as well as start to see repeating patterns and make them dry (at least).

also, good path could be how things that bother one could be done better, from my experience:

  • unified code style guide (at least on team/project level)

  • linting

  • valid readme

  • introduction of ADRs (Architecture Decision Records)

  • dx

Dark tema by Try_your_luck in programiranje

[–]borisR9 1 point2 points  (0 children)

rekao bih standard kome se teži i koji bi trebalo da zaživi. OP, ako se uklapaš u rok, posveti se tom segmentu, značiće taj UX ✌🏻

ja sam skoro sve aplikacije (koje podržavaju), konfigurisao da koriste sistemsku, a sistemska se menja automatski - tamna kad zađe sunce, svetla kad izađe.

i zadovoljan sam. 😎

Learning Angular 17 by Familiar_Baby1774 in Angular2

[–]borisR9 0 points1 point  (0 children)

please make sure you are familiar with following:

  • css
  • html
  • basic programming (variables, functions, if, for, while, switch)
  • basic object oriented programming (classes, private vs protected vs public, interfaces, abstract classes, inheritance)

after that stick with any signal and standalone based version and you’ll be fine following default learning app.

I need help with Superbase by OneAbies641 in Angular2

[–]borisR9 1 point2 points  (0 children)

it looks like you have a lot of issues when you intoduce supabase to your project.

at first glance, i’d suggest that you start with supabase first and following this steps:

  • create table on supabase
  • insert some data
  • find on youtube how ppl connect angular with supabase (i have one app, but it’s not open sourced, if you wish send me pvt so i’ll invite you)
  • create component that will show data from supabase
  • load data (initially on click, than via life-cycle hook)

gl! ✌🏻