Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
AlgoRythm5006613d@whimsical any drug can have bad effects when abused, some are more dangerous than others. That's why amphetamines get their bad rap.
Most recreational drugs today are misunderstood due to stigma. It's a tragedy, but the times will change and are slowly.
Due to my anxiety, I avoid uppers and instead prefer downers. -
AlgoRythm5006613d@whimsical Understandable, anxiety manifests itself in many different ways. At it's base, it's an uneasy feeling.
Different types of anxiety influence the symptoms. How uneasy do you feel? On a range from are you uncomfortable, or do you literally believe you are going to die?
Physical symptoms for me are like when you realize you messed up really bad - sweating, inability to sit still or sit at all, overwhelming sense that something terrible has or will happened.
People with anxiety also have their OWN symptoms on a spectrum. My general day-to-day anxiety is not as severe as I have described. -
stackodev1347813dI don’t understand how coding on drugs is supposed to improve the code. I think of it the same way I think of driving impaired. Nobody thinks doing that improves driving. Except maybe the impaired person. Help me understand (I’ve never done any drugs and I don’t drink).
-
Liebranca116613d@stackodev just let crack do the talking qr{(?<blk>(?<rec>\{([^\{\}]+|(?&rec))+\};?)+){1}}s;
you see that? _that_ is your brain on drugs. it's genius, but only if you're high on the good shit. a sober brain can hardly grasp, much less produce things like these.
also first to understand what devilspeak regex does gets special prize maybe. -
AlgoRythm5006613d@stackodev I've never had any sort of improvement of coding while intoxicated. Well, not to the code. Quite the opposite in fact. Only to my mood.
-
AlgoRythm5006613d@whimsical yeah once I start smoking for the night I either stop coding, or wait until I sober up. It's usually hopeless otherwise, unless I have a very lucid high and am able to concentrate. That's pretty rare with THC alone, and I don't mix any drugs.
-
Lensflare1982612dCoffee, coffee, coffee! Not as strong as amphetamine but at least you can keep your teeth!
- Freeman’s Mind -
@whimsical I hate it. It feels like I'm becoming a robot. I'd rather be high and lazy
-
BordedDev186912d@Liebranca I never understood why people see regex as complex, a bit of memorisation sure but not complex (as the user). Either way I've written more complex regex than that sober, heck I even parsed html using regex and that code still works perfectly to this day even though the site page has changed. Why/are you trying to make a lisp-like parser?
Any for those who want to learn regex, here you go: https://regex101.com/ -
Liebranca116612d@BordedDev why would you parse solely with regexes are you on crack.
im parsing C files solely with regexes.
reason why is im embedding perl subroutines in C files to use perl as a C preprocessor. yes.
nothing out of this world actually, i just wanted to concatenate `typeof` and then remembered that doesnt work. thats just so stupid. fixed with black magic:
```C
macro typename(expr) {
· · my $have=(exists $CSCOPE->{local}->{$expr}) \
· · · · ? $CSCOPE->{local}->{$expr} \
· · · · : $CSCOPE->{global}->{$expr} \
· · · · ;
· · throw "Undefined symbol $expr" \
· · if ! defined $have;
· · return $have->{name};
};
macro ref(args) {
· · my $cpy=$args->[0];
· · my $type=derefof typename $args->[0];
· · return $type->{name}_deref($cpy);
};
```
wee now i can call variation of function based on type of first argument. can invoke ref macro as ref var or ref(var) because fuck the police.
anyway i lost my train of thought halfway through. -
Wisecrack936511dI wish you some god damned luck bro.
Stick with it. You quit trying, and you'll have to reinvest all the time you already invested into quitting, just to start over. -
BordedDev186911d@Liebranca
> why would you parse solely with regexes are you on crack.
No, just didn't want to add libraries to my java project (didn't understand maven at the time) - like I said sober ;P
> reason why is im embedding perl subroutines in C files to use perl as a C preprocessor. yes
Seems reasonable, a type of templating engine. If/when I make my language I'll make it so the language it's self can modify the code at runtime - similar to templates in C++ but more intuitive/full featured (e.g. you can do something stupid like run a http server during compilation)
> anyway i lost my train of thought halfway through.
Doesn't matter still cool
Happy Monday fellas. I'm gonna be pretty grumpy tomorrow morning because:
- Tonight's TO-DO list is writing unit tests and getting past a blocker to my project which I have been avoiding. Unit tests cause depression.
- After a recent bout of depression, I started smoking more weed than I was comfortable with and tonight starts my temporary sobriety. Withdrawal from THC causes more depression.
Wish me some God damned luck bros.
rant