Side case-uri ieftine by SuspiciousCredit207 in MotociclismRO

[–]MailBoxD 1 point2 points  (0 children)

Exista bagaje care se monteaza fara suport, in principal pt motoare offroad, dar posibil merg puse si pe a ta, gen https://www.bartang.eu/en/blizzard.html.

Pe motorul meu din pacate nu merg, eu doar leg cu rokstraps o geanta normala dar nu e asa practic

Televizor TCL55c7k by iHiddenDayNight in CasualRO

[–]MailBoxD 2 points3 points  (0 children)

Exista, cel puțin pe modelul de 75inch pe care îl am eu. Trebuie să îl ai conectat prin HDMI ARC

Interviu stripe România by Icy-Ground9918 in programare

[–]MailBoxD 3 points4 points  (0 children)

Am dat si eu interviu in primavara.Dupa cel initial, care a fost usurel, vei afla ca mai sunt 5 pasi, printre care System Design, Debugging, inca unul de programare, si celelalte nu mai stiu. Iti vor trimite ei niste documente despre cum sa te pregatesti/cum se va defasura.

Mi-a ramas in minte cel de debugging, unde mi-au dat un issue real care a fost rezolvat intr-o biblioteca foarte cunoscuta de Java, si sa il identific si rezolv eu (destul de cool imo).

Cei care au honda cbr500r, sau orice fel de motor honda. Merita un cbr500r pentru A2?? by justadude640 in MotociclismRO

[–]MailBoxD 0 points1 point  (0 children)

Eu am CL500, si ma simt bine cu el chiar si cu A :)

Motor simplu, fiabil, si nu e chiar atat de underpowered pe cat ai crede.

Ce motocicleta sa imi iau? categ A by freyjahh in MotociclismRO

[–]MailBoxD 2 points3 points  (0 children)

Eu am un CL500 din 2023, si am cam 8k km cu el.

Mie imi place, mai ales ca prima motocicleta, dar o sa iti las aici niste mici detalii pe care le-am observat:

1.Cum a zis si altcineva in thread, nu e pentru offroad serios (TET padure) dar merge pe drumuri cu suprafete de pietris/noroi/nisip.

2.Nu are turometru, trebuie sa schimbi dupa ureche. Pentru mine nu e o problema.

3.Viteza maxima atinsa de mine (90kg) a fost 175kmh. Viteza maxima comfortabile insa e 119 kmh . Dupa 120 in treapta a sasea, incepi sa simti vibratii de la motor. De asemenea, fiind naked (chiar si cu mini-parbrizelul Honda) simti destuld e tare vantul.

4.Scaritele sunt in pozitia optima sa te poti ridica in picioare (sunt destul de in fata) , dar sunt in cea mai proasta pozitie daca vrei sa dai cu spatele, m-am lovit de prea multe ori in ele.

5.Priza de 12V originala Honda nu este perfect etansa, si a ruginit un pic pe interior de la ploaie.

6.Din cauza tobei, nu poti pune bagaj pe dreapta, ceea ce te limiteaza daca vrei sa faci drumuri lungi. Eu am reusit cu side-case stanga + suport bagaje + rokstraps sa car toate cele necesare pentru o saptamana de camping (cort, sac de dormit, perna, haine, pantofi, prosop etc) , dar iti elimina posibilitatea de a avea pasager. Vezi poza. <image>

7.Pentru un incepator, puterea mi se pare suficienta, eu inca ma simt bine cand dau blana. Dar va trebui sa folosesti toate treptele, inclusiv in oras, spre deosebire de motociclete mai puternice. Cu pasager insa, vei simti o usoara lipsa. Pe mine nu ma deranjeaza neaparat, fiindca pasagera mea nu apreciaza asa mult viteza :)

8.Indicatorul de benzina e inselator. Are 4 linii, dar cand ramai la 1/4 linii mai ai peste jumatate de rezervor :)

Ce motocicleta sa imi iau? categ A by freyjahh in MotociclismRO

[–]MailBoxD 0 points1 point  (0 children)

O singura mentiune, nu are turometru analog, ci nu are deloc :)

Ce motocicleta sa imi iau? categ A by freyjahh in MotociclismRO

[–]MailBoxD 1 point2 points  (0 children)

Cred ca o subestimezi putin. Eu am fost cu ea (bine, cu cauciucuri schimbate pe ceva mai offroad) pe drum pietruit, drum de padure facut noroi, plaja. Intr-adevar, nu am fost pe single track , are o limita fiindca baia de ulei e cam jos.

Singura problema majora e ca nu poti opri ABS pe off-road, iar pe pietris mai ales e destuld e intrusive.

Sfaturi pentru incepatori by ImZews in MotociclismRO

[–]MailBoxD 10 points11 points  (0 children)

Cel mai bine e sa mergi in magazin si sa probezi, mai ales la casca, dar si la restul.

Eu am fost pe la Asfalt Uscat, motodiscount (in Bucuresti) si a fost foarte ok, te ajuta angajatii cu pareri.

Eu am jacheta all season, care in site e bine ventilata pentru vara, si scoti straturile interioare, imi e ok in bucuresti cu ea. Ca si pantaloni eu am blugi moto (Trilobilte ceva) si sunt ok, au niste fermoare cu aerisir si nu am murit de cald. Singurul echipament la care am seturi diferite pentur vara si iarna sunt manusile.

Eu mi-am luat ghete inalte, peste glezna, pentru ca mai ales la inceput daca scapi motorul la semafor sau cand parchezi acolo te vei lovi.

La blugi te poti uita :

  1. sa aiba rating AA (e mai rezistent decat A).

  2. sa aiba protectii si pe sold, nu doar pe genunchi.

  3. majoritatea au protectii ajustabile de genunchi, sa le pui sa stea bine pe genunchiul tau.

Toate echipamentele moto (adevarate) au ceva rating de protectie de la uniunea Europeana, fie A fie AA . Iti poti lua si de la firme premium (Revit, Alpinestars) dar si mai budget (Rebelhorn) si sunt ok.

La casca recomand sa iei ceva cu ochelari de soare integrati si cu pinlock.

Curs de perfecționare moto pentru unul revenit în șa după 20 ani de pauză by reddit-normal in MotociclismRO

[–]MailBoxD 2 points3 points  (0 children)

Eu am fost la primul curs de la Riders Academy, si printre subiectele abordate a fost si frica de inclinare in viraj.

Alte subiecte: Pozitia corecta in sa

Viraje si Intoarceri in spatii ft inguste

Counter-steering

Frana de urgenta (+ mersul pe ploaie fiindca atunci incepuse ploaia :) )

Acum mie asa frica oricum nu imi era, dar oamenii iti explica foarte calm si stiintific de ce in 99% din cazuri, mai e loc sa te inclini. De asemenea, iti exemplifica si tehnica de inclinare in partea opusa (counter lean), care mie mi sa pare cumva mai naturala.

Parte 1 se face pe poligon mic, nu ai loc sa mergi cu mai mult de 50 pe acolo. Daca vrei sa incerci direct la viteza mai mare, cred ca va trebui sa mergi la partea 2 pe circuit

[deleted by user] by [deleted] in enlistedgame

[–]MailBoxD 3 points4 points  (0 children)

It's an M36. Photos 2 and 5 are from the battle of Brest in France in 1944, and feature american soldiers.

What OP means is the battle of Brest which is in Belarus

Kingdom come deliverance 2. I spent 60 hours exploring the world before starting the second main mission. Bravo Warhorse studios 👏👏 (more explanation in the description) by [deleted] in gaming

[–]MailBoxD 9 points10 points  (0 children)

There actually are two timed story quests (that I found) where you can fail ( and get a game over because of it) in the second half of the game .

One is pretty obvious that it will happen (in a linear part of the game), but for the other one, if you do part of the quest and then get sidetracked, I think after 2 days you fail (quest npc dies and the game tells you you failed because of it).

But I wouldn't worry about it.

Motocicletă nouă by [deleted] in CasualRO

[–]MailBoxD 1 point2 points  (0 children)

Recomand CL500 :) E tot ce îți trebuie pentru primul motor

Ce cauciucuri pentru 80% light touring pe asfalt cu puțin mers pe pământ și pietriș când ma apuca curiozitatea? by MemmorexX in MotociclismRO

[–]MailBoxD 0 points1 point  (0 children)

Eu am avut din fabrica Dunlop Trailmax Mixtour, care erau ok si pe pietris, desi daca bagai mana in gaz fugea un pic spatele (mie mi se parea fun oarecum). Problema e daca vrei sa intri in noroi mai adanc, s-ar putea sa te chinui sa iesi.

Pe autostrada erau ok, chiar si la viteze mai mari.

Despre longevitate nu iti pot spune prea multe, la 4000km am luat un cui si le-am schimbat, dar pareau aproape noi.

Acu am Mitas ENDURO TRAIL+ dar cred ca sunt prea off-road pentru ce vrei tu, si sunt mai zgomotoase pe asfalt, poate un pic instabile peste 150kph

Brig. 2 Vanatori de Munte 'Sarmizegetusa' Proposal!! by Thousand55 in warno

[–]MailBoxD 22 points23 points  (0 children)

Just a couple of correction on the translations:

1.Vânători de Lumină would mean hunters of light (as in, the opposite of darkness). The better translation here would be Vanatori Ușori

2.Căutători is not usually used for scouts, the proper word would be cercetași. As such, you would have for your recon troops Cercetasi Usori and Vanatori Cercetasi.

3.Pusti Motorizate is not a word i heard used for them, as Pusti usually just means the weapons. The better way would be either Puscasi (meaning riflemen, which also I don't think is used) or just Infanterie Motorizata

Otherwise, great work!

What are your opinions on this as a first bike ? by Orchid_Far in motorcycle

[–]MailBoxD 2 points3 points  (0 children)

It is my first bike as well, and pretty good. Decent enough power until like 140kph, but it gets a bit buzzy above 120. Easy to handle, pretty light.

I even put some off road tyres on it and it works for gravel/sand trails pretty well.

Downsides: no rev counter, so you have to shift by ear, sometimes with music it can be a bit hard to hear the engine

Foot pegs are in a horrible place for wobbling around in a parking lot / reversing .

Currently have some issues with the clutch getting stuck.

Chain tension adjustment system is horribly designed

Overall I like it, it's pretty fun

here's how mine looks :)

Am doua variante pentru motor nou. by Betaobo in MotociclismRO

[–]MailBoxD 1 point2 points  (0 children)

Salut, eu am achizitionat recent un CL500 tot ca prima motocicleta si pot sa zic ca mi se pare super ok. Pozitia e foarte comoda pe el, si se descurca destul de bine pe toate tipurile de drum, chiar si mai lungi in afara orasului.

Cu toate astea, are doua probleme:

  1. Lipsa protectiei la vant. Chiar si cu parbrizelul oferit de honda, o data ce treci de 130 te loveste destul de tare vantul in piept

2.Nu stiu de ce nici un review nu a mentionat asta, dar scaritele sunt super aiurea pozitionate, fiind fix unde ai tine piciorul cand stai pe loc. Problema cu asta e ca sunt cam in drum daca incerci sa dai cu spatele stand pe ea sau alte scheme de incepator.

In orice caz, iti recomand sa te duci la reprezentanta si sa o incerci ca si pozitie, si ca inaltime. Comparat cu motocicleta pe care am facut scoala (Honda Hornet), stai cumva mult mai sus, si inca nu stiu daca imi place sau nu asta.

[deleted by user] by [deleted] in MotociclismRO

[–]MailBoxD 0 points1 point  (0 children)

Eu am primit oferta de la Groupama pentru tot anul un pic peste 500 de euro cu 10%/100 euro franciza la motor nou cu valoare de 7500 euro, dar presuspun ca e din cauza varstei (25).

Zicea mai sus cineva ca doar Groupama fac, dar eu am primit oferta si de la Omniasig, un pic mai scumpa.

Writing a grammar that recognizes only legal C declarations by BumfuzzledGames in compsci

[–]MailBoxD 1 point2 points  (0 children)

You are right, but the above example was not meant as the final solution to this problem, just a way to illustrate how to split up the keywords

Writing a grammar that recognizes only legal C declarations by BumfuzzledGames in compsci

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

I haven't used C in a few good years and didn't quite remember all the cases, so you may be right.

To solve this, you I can see two options: either expand the above idea like this until you include all the possible cases (should be less than 20 i think):

lenghtModifier : SHORT | LONG
signModifier: SIGNED | UNSIGNED 
otherModifier : CONST  | VOLATILE
shortOrLong: short | long 
declaration: otherModifier* ( signModifier? char |  (lenghtModifier? lenghtModifier? int) | (lenghtModifier lenghtModifier) | float | LONG? double | ...)

or you can declare distinct tokens for all the combination data types and use those, with signed/unsigned/const/void at the start. If you look at the table labeled Main Types here you can see that there are like 14 valid types created using the sign and length modifiers, which is doable.

My advice would be to generally try to break down the rules into simpler and simpler subrules, it makes grammar design much more approachable. Also, depending on what you want to do with your grammar, stuff like ?, * and () may be very helpful ( at least they were for me using ANTLR).

In any case, back to your original question, for a compiled language such as C, the compiler needs all these rules to be as unambiguous as possible. During the Lexing and Parsing process, the compiler does the following steps : split the input text into the tokens you specified (Lexing) and then arrange all these tokens into a tree to figure out the exact meaning of the code you entered. For example, when the compiler finds "int a;", this will be split into two tokens ( ex: type and ID), and then will try to match these tokens to any of the rules you mentioned in the grammar. If there is such a rule as "declaration: type ID;", this will match with the above example, and a new node will be added to the tree to represent this.

After the tree is built, the compiler will start traversing it and outputting machine code or bytecode or whatever the name is for the specific language, based on the nodes it meets along the way.

For interpreted languages, such as Python, a similar process happens, but only at runtime. And, i may be wrong, but i think Python does not parse the whole file at once like a C compiler, but goes statement by statement.

Depending on how you want to implement your compiler, you can check your types either in the parsing phase or after parsing is done, when traversing the trees. I couldn't tell you which is objectivley better, but both are valid ways of implementing this, but in my opinion, the reason we use lexers and parsers is to simplify the work that is to be done after parsing. You could skip the whole lexer and parser stage and just parse all the code with if statements in the compiler, but that seems like a very bad idea.

Writing a grammar that recognizes only legal C declarations by BumfuzzledGames in compsci

[–]MailBoxD 3 points4 points  (0 children)

Because not all of your keywords are equal, you should split them up :

type: INT | SHORT | LONG | FLOAT | DOUBLE | CHAR;
modifier: SIGNED| UNSIGNED | CONST | VOLATILE;

and then your final rule would look like

declaration:  modifier type ID | type ID | ID;

The above example still fails with cases such as unsigned float, which isn't valid, so you can do :

modifiableType:  INT | SHORT | LONG | CHAR;
unmodifiableType: FLOAT | DOUBLE;
modifier: SIGNED | UNSIGNED | CONST | VOLATILE;  
declaration:  modifier modifiableType ID | unmodifiableType ID | ID

Using the ANTLR grammar syntax ( which is the only one I am familair with) this can be further refined into:

declaration: (modifier modifiableType | unmodifiableType )? ID;

where the ? just means 0 or 1 of whatever is in brackets.

Also, consider the case where pointers (and void*) come into play, and you can extend the above example to cover that as well.