gjoel

u/gjoel@programming.dev
1 posts · 308 comments

Recent posts

Recent comments

She was beautiful and smart. We loved each other. But she had no aspirations outside of having kids. More importantly, it was always her first. Like if there was a good and a bad pillow, she always took the good pillow. This with everything. I of course offered it to her, but I feel like that should be reciprocal. There were other things, but this is what sticks out to me.

Thr relationship came to a natural end (she had to leave the country) and I decided this wouldn't work out. This was almost two decades ago, and I am happily married to the girl I met next.

on Warp speed · c/tenforward · 4 pts · 48d

I did that. Not in bed, mind you, in couch. It was a good run, but it's over now. We're still together, mind you, but we have small kids, and we still want to watch sci-fi together, so now we don't watch sci-fi.

Probably more like the initiation of attacks was a failure. Me yielding when getting beaten up by a boxer isn't the mistake. Me starting a fight with one in the first place was.

AI er et område i hastig udvikling, og vi arbejder løbende på at udvikle vores retningslinjer og processer for at sikre, at de samme krav til kvalitet, kreativ integritet og ansvarlighed gælder uanset produktionsmetode.

Hvor er den kreative integritet når man beder om at få et billede, som viser sig at være en kopi af et andet billede (som de jo alle er)? Alternativet ville jo være rent faktisk at være kreativ, selv komme på en idé, og føre den ud i livet.

while (Peek() != '*' && PeekAhead() != '/' && !IsAtEnd()) {

Probably this guy.

If you encounter an asterisk or a slash, then it stops. You want to stop when you encounter an asterisk and a slash, so:

while (!(Peek() == '*' && PeekAhead() == '/') && !IsAtEnd()) {

I also find your detection of when to remove the comment a bit scary, but that might be because you haven't shown the Match method.

private char Advance() {
   	return source[current++];
   }

This is wrong. At least as I would expect advance to behave. While you do advance, you are returning the old value, not the new one. ++current would return the new value.

Also, it would help if you said what the wrong behaviour was.