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
Search - "reaching my limit"
-
TL;DR
Don't waste your time.
My generation, 00, Mid-Millennial, GEN-Z are going through a lot of large societal, social, sociological, political, industrial and technological changes; i.e. life changes.
We are turning 18 and starting our own lives;
Work life is crazier than ever;
And the bar seems to be really high.
You could call generation Z the generation of depression.
A lot of us are having mental (and neurological) issues or find ourselves having a lot of breakdowns;
We are passioned on what we do, although we might not exactly know what that is;
The world is in our hands as we are in hands of the world.
( Refer to my previous rants. )
This might seem really pressuring or even distressing to you. It is.
But remember that there's a lot of us. We can make this lump of dirt and water a better place just and only with our collective power, before reaching further.
We are the information surfers. We can access more information than ever before.
Please don't try to limit it too much. The scandals that users of social media and modern applications have been making can be crucial to how our information infrastructures are built.
We are addicted, and if you take that away from us, we will suffer the consequences.
* Drops the mic *9 -
1/2 dev and a fair warning: do not go into the comments.
You're going anyway? Good.
I began trying to figure out how to use stable diffusion out of boredom. Couldn't do shit at first, but after messing around for a few days I'm starting to get the hang of it.
Writing long prompts gets tiresome, though. Think I can build myself a tool to help with this. Nothing fancy. A local database to hold trees of tokens, associate each tree to an ID, like say <class 'path'> or some such. Essentially, you use this to save a description of any size.
The rest is textual substitution, which is trivial in devil-speak. Off the top of my head:
my $RE=qr{\< (?<class> [^\s]+) \s+ ' (?<path>) [^'] '\>}x;
And then? match |> fetch(validate) |> replace, recurse. Say:
while ($in =~ $RE) {
my $tree=db->fetch $+{class},$+{path};
$in=~ s[$RE][$tree];
};
Is that it? As far the substitution goes, then yeah, more or less. We have to check that a tree's definition does not recurse for this to work though, but I would do that __before__ dumping the tree to disk, not after.
There is most likely an upper limit to how much abstraction can be achieved this way, one can only get so specific before the algorithm starts tripping balls I reckon, the point here is just reaching that limit sooner.
So pasting lists of tokens, in a nutshell. Not a novel idea. I'd just be making it easier for myself. I'd rather reference things by name, and I'd rather not define what a name means more than once. So if I've already detailed what a Nazgul is, for instance, then I'd like to reuse it. Copy, paste, good times.
Do promise to slay me in combat should you ever catch me using the term "prompt engineering" unironically, what a stupid fucking joke.
Anyway, the other half, so !dev and I repeat the warning, just out of courtesy. I don't think it needs to be here, as this is all fairly mild imagery, but just in case.
I felt disappointed that a cursed image would scare me when I've seen far worse shit. So I began experimenting, seeing if I could replicate the result. No luck yet, but I think we're getting somewhere.
Our mission is clearly the bronwning of pants, that much is clear. But how do we come to understand fear? I don't know. "Scaring" seems fairly subjective.
But I fear what I know to be real,
And I believe my own two eyes.11 -
I took a hakerRank challenge for an interview, I failed miserably.
All challenges included subsequences and I just kept reaching memory limit... My algorithm gets the answer, if just takes forever if the input is too large.
So fuck stupid me.
I am now googling about it but can not find something that explains it clear (in my opinion)
Would appreciate if you guys can recommend some resources.2 -
I feel like I'm starting to hit my wall when it comes to my job. Plus, my mind is so fucking checked out.2
-
Tried to pull a Java solution, originally developed on linux, into my windows environment to test a Jenkins job. The build job wouldn't run on my box due to reaching the arbitrary max windows path limit in command prompt..why??7