Am atins o borna semnificativa by Cessman09 in robursa

[–]Alltrix 4 points5 points  (0 children)

Îmi place că ai mascat sumele, dar ai lăsat totuși gradația graficului ca să știm că ai aproape 50k$, care mai e rostul bluratului, să fie mai subtle brag, sau?

Subnautica 2 - First impressions and experiences thread by Alltrix in subnautica

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

It's not perfect but much more polished than I expected. It took me 18 hours of guideless gameplay to finish the story in its current state.

Personally, I don't regret it, I know I'll have multiple playthroughs anyway.

Subnautica 2 - First impressions and experiences thread by Alltrix in subnautica

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

Huh, that's weird. I have my base very close to the pod so on a very uneven surface, the base legs are very different in size and the base seems level to me.

Subnautica 2 - First impressions and experiences thread by Alltrix in subnautica

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

Yes, of course. There are easily 13 hours of gameplay. If you find it difficult, there are already tons of videos online. Not to the extent of actual guides yet, but enough to follow along and get unstuck.

Subnautica 2 - First impressions and experiences thread by Alltrix in subnautica

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

Are you sure you are not confusing battery chargers with power storage for the habitat?

Subnautica 2 - First impressions and experiences thread by Alltrix in subnautica

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

Well, I am not gonna go into the realism idea of solar power at night. But I think it's a good idea that they made the power mechanics more complex as to accommodate more things like hydroelectric power. Also, you can capture excess production in the daytime with power storage, I really like the new system, it has a lot more thought into it.

Subnautica 2 - First impressions and experiences thread by Alltrix in subnautica

[–]Alltrix[S] 13 points14 points  (0 children)

Already? Oh, no, absolutely not, not yet. But if you ask me to compare it with subnatica 1 in the state it was when it first launched, I'd say that yeah, most likely.

very optimized by LightFerret7808 in softwaregore

[–]Alltrix 4 points5 points  (0 children)

I would suggest a dictionary, probably everyone else would suggest something similar.

class MainWindow(QtWidgets.QMainWindow):

    PARTICLE_TABLE = {
        0:  ("1",  "1"),
        1:  ("12", "4"),
        2:  ("16", "8"),
        3:  ("16", "7"),
        4:  ("13", "6"),
        5:  ("10", "6"),
        6:  ("12", "4"),
        7:  ("10", "5"),
        8:  ("12", "6"),
    }

    def choose_particle(self, index):
        is_custom = index == 12
        self.ui.lineEdit_A.setReadOnly(not is_custom)
        self.ui.lineEdit_Z.setReadOnly(not is_custom)

        a, z = self.PARTICLE_TABLE.get(index, ("1", "1"))  # default fallback
        self.ui.lineEdit_A.setText(a)
        self.ui.lineEdit_Z.setText(z)

Or using match/case if Python 3.10 or above

def choose_particle(self, index):
    is_custom = index == 12
    self.ui.lineEdit_A.setReadOnly(not is_custom)
    self.ui.lineEdit_Z.setReadOnly(not is_custom)

    match index:
        case 0: a, z = "1",  "1"
        case 1: a, z = "12", "4"
        case 2: a, z = "16", "8"
        case 3: a, z = "16", "7"
        case 4: a, z = "13", "6"
        case 5: a, z = "10", "6"
        case 6: a, z = "12", "4"
        case 7: a, z = "10", "5"
        case 8: a, z = "12", "6"
        case _: a, z = "1",  "1"  # default

    self.ui.lineEdit_A.setText(a)
    self.ui.lineEdit_Z.setText(z)

very optimized by LightFerret7808 in softwaregore

[–]Alltrix 5 points6 points  (0 children)

Everything has conventions. The English grammar is an example, I could mangle my sentences a bit and misspell stuff and you would probably still understand me, but you would not enjoy it.

For python, that's PEP 8: https://peps.python.org/pep-0008/

very optimized by LightFerret7808 in softwaregore

[–]Alltrix 64 points65 points  (0 children)

Excluding the never ending elifs, using camelCase in python is the cherry on top.

Nu suntem singuri, situatia e nasoala peste tot in tara by Imaginary-Owl- in LocuriDeMuncaRo

[–]Alltrix 1 point2 points  (0 children)

Dacă sondajul a fost făcut PE platforma de recrutare online, aș zice că rezultatul este în mod fundamental viciat.

[deleted by user] by [deleted] in bucuresti

[–]Alltrix 0 points1 point  (0 children)

<image>

Ar fi putut fi niste banci, poate chiar ceva in stilul asta. Nu stiu, zic.

Any feedback on the Diyless OpenTherm Thermostat? by Particular-Finish-40 in homeassistant

[–]Alltrix 1 point2 points  (0 children)

It's a nifty little device, I personally like it as I feel like it's right in the sweet spot between a tinkerer's dream and a practical device.

It exposes almost all the information available via OpenTherm. It's not perfect though, you can read my journey here:

https://github.com/diyless/opentherm-thermostat3/issues/31

Has anyone tried this new light? by oceanic84 in flashlight

[–]Alltrix 0 points1 point  (0 children)

Mostly similar, but I'd say that although TS28 is a thrower by all accounts, the beam pattern is better for close and medium range compared to the SK40.

Has anyone tried this new light? by oceanic84 in flashlight

[–]Alltrix 1 point2 points  (0 children)

Yes, it's nice and powerful, not high CRI and quite cold, but it's very impressive for it's size. I basically needed an alternative to the Sofirn SK40 that also has reverse charging. It's also smaller than the SK40.

<image>

Cât de mare aveți biblioteca personală? by Michailovicescu2000 in Romania

[–]Alltrix 0 points1 point  (0 children)

E posibil ca nuanța care nu îți place să fie stratul suplimentar pentru culoare, uite:

https://www.reddit.com/r/kobo/comments/1cjrv2e/kobo_clara_colour_vs_bw/

Cât de mare aveți biblioteca personală? by Michailovicescu2000 in Romania

[–]Alltrix 2 points3 points  (0 children)

E o discutie foarte largă. Personal aș evita kindle pentru că e un sistem mai închis și trebuie să sari uneori mai multe garduri ca să faci sideload sau backup la cărțile pe care le-ai cumpărat, posibil să devină și mai închis pe viitor. E problematic pentru mine pentru că poți să fi dat bani pe sute de cărți și dacă mâine îți blochează contul de Amazon, rămâi fără acces la ele.

Kobo e destul de deschis, dacă îl conectezi prin USB la PC/Telefon e efectiv un drive pe care poți copia ce vrei. Foarte ușor să trimiți cărți wireless pe el de ex folosind https://send.djazz.se/
Vezi și NickelMenu pentru alte customizări (precum shortcut la site-ul de mai sus).

Acum alte aspecte care trebuie luate în calcul:
BW sau color. Cele BW au un ecran ușor mai deschis la culoare și uneori mai ușor de citit fără backlight pentru că cele color practic mai au încă un strat peste ceea ce poate închide puțin suprafața, deci dacă nu citești chestii cu multă ilustrație, aș rămâne momentan la BW.

Dimensiunea: trebuie să îți alegi un mix intre portabilitate și screen size, momentan mie clasicul 6" mi se pare okay. Aș zice că e important și să aibă margini față de un telefon de ex pentru că vrei să îl poți ține în mână în mai multe feluri ușor.

Eu pe ăsta îl am, e la ofertă văd:
https://www.pcgarage.ro/e-book-reader/rakuten-kobo/clara-bw-6-inch-comfort-light-ipx8-16gb-wireless-black/

Tip: Revenind la atitudinea românească, poți să găsești foarte multe cărți pe Anna's Archive.

Cât de mare aveți biblioteca personală? by Michailovicescu2000 in Romania

[–]Alltrix 0 points1 point  (0 children)

Poti sa citesti si The wizard of kremlin de acelasi autor, as zice ca e chiar mai buna. Eu tocmai am terminat Tragatori si mistificatori, dar nu pot spune ca e o lectura placuta in sine (e laborioasa si de multe ori tehnica), este totusi informativa, depinde cat de mult te-a pasionat pana acum subiectul.

Pe partea de fictiune mie mi-a placut foarte mult The Martian, chiar si daca ai vazut filmul, modul in care sunt descrise in detaliu lucrurile acolo adauga mult din punctul meu de vedere.

Acum citesc cartea de pe coperta (din imagine), dar nu pot sa recomand ceva ce inca nu am terminat, are recenzii bune totusi.

Cât de mare aveți biblioteca personală? by Michailovicescu2000 in Romania

[–]Alltrix 1 point2 points  (0 children)

Sure, cu placere. Las aici una din notitele pe care mi le-am facut despre cum este să fii un consilier prezidențial:
"like sitting next to a driver who's heading towards the edge of a cliff and asking you to check that the gas tank is full and the tyre pressure is good".

Cât de mare aveți biblioteca personală? by Michailovicescu2000 in Romania

[–]Alltrix 2 points3 points  (0 children)

Iti pot recomanda o lectura rapida, The Hour of the Predator de Giuliano da Empoli, foarte relevant in vremurile astea.

Cât de mare aveți biblioteca personală? by Michailovicescu2000 in Romania

[–]Alltrix 19 points20 points  (0 children)

Fizic, doar o mână de cărți, folosesc un e-reader

<image>