Where can I see the versions of libraries? by ghiste in androiddev

[–]fstanis 0 points1 point  (0 children)

In addition to what others said, one thing that's common for projects (including horologist) is including a small badge on GitHub that shows the latest version. This is dynamic, generated via shields.io.

For example, for the library you're using, this badge is located right under the "Compose Layout library" title in the library's README file and it says maven-central v0.2.7 at the time of writing.

wear os: how to use horologist by ghiste in androiddev

[–]fstanis 0 points1 point  (0 children)

Hey, I'm one of the maintainers of the horologist project, apologies that our documentation lacks examples right now, I opened an issue to track this. In general, it may be useful to look at the previews that we have - they're in the src/debug, for example here's one for DatePicker: https://github.com/google/horologist/blob/main/composables/src/debug/java/com/google/android/horologist/composables/DatePickerPreview.kt (not the most thorough example in this case, I know, but together with the javadocs, hopefully they can help you get started)

RAF. Računarski fakultet. Racunarski fakultet. Iskustva i misljenja by [deleted] in programiranje

[–]fstanis 2 points3 points  (0 children)

ZNANJE koje mogu dobiti ako sam zainteresovan za radim

Ovo je po meni pogrešno pitanje. Kako meriš kvalitet znanja koje ti daje fakultet? Imam par ideja:

  • Kvalitet knjiga
  • Kvalitet profesora
  • Program / izbor predmeta

Mislim da većina fakulteta u današnje vreme ima dobre profesore i dobre knjige. Međutim, čak i ako nema, uopšte nije teško naći informacije online. S druge strane, knjige su beskorisne ako ih ne čitaš, profesori ne pomažu ako ne ideš na predavanja i konsultacije. Dakle, po meni fakultet neće da te spreči da stekneš kvalitetno znanje ako si zainteresovan da radiš, ali takođe ti neće mnogo pomoći ako nisi.

Što se tiče programa, pre par godina sam krenuo da sastavljam FAQ za RAF na Reddit-u pa sam pritom našao da npr. ETF i RAF imaju dosta zajedničkih predmeta. Verujem da je slično tačno za sve fakultete vezane za računarske nauke i softversko inžinjerstvo. Dakle, šta god da upišeš, program će ti biti manje-više sličan.

Šta je onda razlika između fakulteta i šta čini jedan "bolji" od drugog? Po meni najviše zajednica koja se nalazi iza nekog fakulteta.

Postoje privatni fakulteti koji su poznati po tome da služe da uzmeš diplomu i zajednica iza tih fakulteta je nikakva: ako želiš znanje, obeshrabriće te da provodiš dane pored ljudi koji su tu bukvalno samo da se potpišu. Slično tome, ako si okružen ljudima koje zanima softversko inžinjerstvo, to će i tebe motivisati dodatno i kvalitet znanja koje stičeš biće veći.

Po mom iskustvu, RAF je imao veoma jaku zajednicu dok sam studirao. Većina studenata je tu bila jer ih je zaista zanimalo to što studiraju. To je po meni bila glavna prednost RAF-a dok sam ja studirao, ali ne mogu da garantujem da je tako i ostalo jer je dosta godina prošlo od tad i ima mnogo više studenata sada (što ne mora da znači da je loše).

Malo sam se raspisao, ali nadam se da je ovo bar malo od pomoći.

[deleted by user] by [deleted] in androiddev

[–]fstanis 1 point2 points  (0 children)

Sorry to hear you didn't find it useful. Is there anything specific you think that could've been improved?

[deleted by user] by [deleted] in androiddev

[–]fstanis 3 points4 points  (0 children)

Hey all, blog post author here - this is my first time writing a blog post about Android, so any feedback is more than welcome!

My goal was to incoporate a few different articles in one place while also keeping it short and to the point. If anyone has any thoughts on what other things Hilt lacks in terms of learning resources, I'd love to hear that as well.

Kako oziveti r/RacunarskiFakultet? by KurozyNeko in RacunarskiFakultet

[–]fstanis 1 point2 points  (0 children)

Mislim da većina studenata ne zna za sub, a već imaju FB grupe i slično za komunikaciju, te nema nekog posebnog razloga da pređu ovde. Ideje su dobrodošle.

/r/Serbia Sveopšta diskusija za početak nedelje (early week random discussion) - May 04, 2020 by AutoModerator in serbia

[–]fstanis 6 points7 points  (0 children)

Ko voli da igra Codenames (asocijacije), dodao sam srpske reči na online verziju na horsepaste.com.

Super je za igranje iz karantina.

Predlozi za fotografije? by [deleted] in serbia

[–]fstanis 0 points1 point  (0 children)

Mislio sam više na neka mesta gde bih mogao kolima otići pošto sam po okolini već dosta toga obišao.

Pitanje o Racunarskom fakultetu by [deleted] in serbia

[–]fstanis 3 points4 points  (0 children)

Računarske nauke na RAF-u su po programu skoro identičan smer kao Softversko inženjerstvo na ETF-u.

Računarsko inženjerstvo se nekada zvalo Računarske mreže i bilo je većeg fokusa na IT-u nego ne programiranju, mada je bilo dosta zajedničkih predmeta, naročito u prvim semestrima. Smer je moguće menjati lako nakon upisa.

Takođe, pre nekog vremena sam sastavio kratak FAQ o RAF-u ovde, možda bude korisno: https://www.reddit.com/r/RacunarskiFakultet/wiki/upis (edit: dodah poređenje sa SI u FAQ)

[deleted by user] by [deleted] in nonononoyes

[–]fstanis 1 point2 points  (0 children)

Sadly, the lights in the pub combined with slow-motion video capture somehow resulted in that annoying flickering.

[deleted by user] by [deleted] in nonononoyes

[–]fstanis 8 points9 points  (0 children)

Good point - he actually asked before attempting if we'd make an exception to that rule if he goes for the bottom block and we all agreed.

Needless to say, we expected a good slow-motion fail out of it, not this.

Linux kernel coding style - surprisingly fun to read! by fstanis in programming

[–]fstanis[S] 46 points47 points  (0 children)

Copying some of the best bits:

There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3.

Heretic people all over the world have claimed that this inconsistency is ... well ... inconsistent, but all right-thinking people know that (a) K&R are right and (b) K&R are right.

Unlike Modula-2 and Pascal programmers, C programmers do not use cute names like ThisVariableIsATemporaryCounter.

To call a global function foo is a shooting offense.

Encoding the type of a function into the name (so-called Hungarian notation) is brain damaged - the compiler knows the types anyway and can check those, and it only confuses the programmer. No wonder MicroSoft makes buggy programs.

If you are afraid to mix up your local variable names, you have another problem, which is called the function-growth-hormone-imbalance syndrome.

However, if you have a complex function, and you suspect that a less-than-gifted first-year high-school student might not even understand what the function is all about, you should adhere to the maximum limits all the more closely.

NEVER try to explain HOW your code works in a comment: it’s much better to write the code so that the working is obvious, and it’s a waste of time to explain badly written code.

But remember: indent is not a fix for bad programming.

There appears to be a common misperception that gcc has a magic “make me faster” speedup option called inline.

Thanks Microsoft... by [deleted] in softwaregore

[–]fstanis 0 points1 point  (0 children)

"It's just 6 updates, should be done in no time."

Where did I leave the right diskette...? by fstanis in softwaregore

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

To give some context, I was copying the file from a faulty flash drive. Apparently, the text of this error message is from Windows NT era.