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 - "cognitive function"
-
I can't help but be disappointed in the direction that technology has directed us into, especially social media.
While I love my girlfriend, she more often than not spends her time scrolling away at the dumbest shit on Instagram, Facebook, .. reels. Reels everywhere. And she's not dumb, mind you. She's an engineer just as much as you (presumably) and I are. Just in a different field.
When looking into it online and stumbling upon more than one study, I learned about the term it had been coined.. technoference. That's the constant interruption of social media into our day-to-day lives, and the dopamine kick it gives -- more so than IRL peers do. Why that is, being the digital equivalent to McDonald's, that's beyond me. But somehow it seems to be better, all while the content isn't even useful. It doesn't allow you to learn anything, to gain insights, or to explore things that could serve you in the real world. Cat videos and random shit that's somehow.. funny? Having pretty much completely disconnected from social media years ago, I seriously fail to see how.
Maybe us nerds in the 90's and early 2000's telling everyone else how we'd change the world and prove everyone who called us freaks wrong, disenchanted as we were (and probably still are), were the catalyst for this social disaster. We had the cognitive skills to do it, but not the social equivalent. I feel guilty... Even though I've always been part of a big tech resistance in some capacity, I still feel guilty. Because I'm one of those people with the skills of those who created this trash fire of a societal status quo. Everyone glued to their screens, 95% of the time not for work. Not even to aid one's ability to function in the real world. Just to combat boredom. All day, for many hours on end.
Where is it going to end? When will people realize the dystopia we got ourselves into? Will anyone but a few fight it? Would those who don't fight it even care?11 -
I'm working with a nice piece of code written 6 years ago by somebody who isn't in the company anymore and only the fact that they live on the other side of the continent prevents me from physically strangling them.
They must have thought that they were very smart trying to use JavaScript as a functional language. A shitload of library-specific decorators that ultimately don't do shit except for raising the cognitive load of anybody who hasn't worked with it before. Why the fuck did you use 'curry' in a function that then is never called in a functional manner? Because fuck me, go check the documentation of ramda because you obviously have too much time at work if you ask questions, just to learn fuck all.
It fascinates me how people take this steaming pile of shit that is JavaScript and then try to work against all its design assumptions to create something that is even more slimy, disgusting and smelly. It shows a radical misunderstanding of what you're even working with.
Take shit, add straw and you might have a docent construction material. Take shit, sprinkle it with chilli and try to eat it and it's just hot shit. But at least you will make everyone else try to find out why the fuck is that chilli in there because why would you expect it there. I'm a coprologist, not a cook.1 -
Rubber ducking your ass in a way, I figure things out as I rant and have to explain my reasoning or lack thereof every other sentence.
So lettuce harvest some more: I did not finish the linker as I initially planned, because I found a dumber way to solve the problem. I'm storing programs as bytecode chunks broken up into segment trees, and this is how we get namespaces, as each segment and value is labeled -- you can very well think of it as a file structure.
Each file proper, that is, every path you pass to the compiler, has it's own segment tree that results from breaking down the code within. We call this a clan, because it's a family of data, structures and procedures. It's a bit stupid not to call it "class", but that would imply each file can have only one class, which is generally good style but still technically not the case, hence the deliberate use of another word.
Anyway, because every clan is already represented as a tree, we can easily have two or more coexist by just parenting them as-is to a common root, enabling the fetching of symbols from one clan to another. We then perform a cannonical walk of the unified tree, push instructions to an assembly queue, and flatten the segmented memory into a single pool onto which we write the assembler's output.
I didn't think this would work, but it does. So how?
The assembly queue uses a highly sophisticated crackhead abstraction of the CVYC clan, or said plainly, clairvoyant code of the "fucked if I thought this would be simple" family. Fundamentally, every element in the queue is -- recursively -- either a fixed value or a function pointer plus arguments. So every instruction takes the form (ins (arg[0],arg[N])) where the instruction and the arguments may themselves be either fixed or indirect fetches that must be solved but in the ~ F U T U R E ~
Thusly, the assembler must be made aware of the fact that it's wearing sunglasses indoors and high on cocaine, so that these pointers -- and the accompanying arguments -- can be solved. However, your hemorroids are great, and sitting may be painful for long, hard times to come, because to even try and do this kind of John Connor solving pinky promises that loop on themselves is slowly reducing my sanity.
But minor time travel paradoxes aside, this allows for all existing symbols to be fetched at the time of assembly no matter where exactly in memory they reside; even if the namespace is mutated, and so the symbol duplicated, we can still modify the original symbol at the time of duplication to re-route fetchers to it's new location. And so the madness begins.
Effectively, our code can see the future, and it is not pleased with your test results. But enough about you being a disappointment to an equally misconstructed institution -- we are vermin of science, now stand still while I smack you with this Bible.
But seriously now, what I'm trying to say is that linking is not required as a separate step as a result of all this unintelligible fuckery; all the information required to access a file is the segment tree itself, so linking is appending trees to a new root, and a tree written to disk is essentially a linkable object file.
Mission accomplished... ? Perhaps.
This very much closes the chapter on *virtual* programs, that is, anything running on the VM. We're still lacking translation to native code, and that's an entirely different topic. Luckily, the language is pretty fucking close to assembler, so the translation may actually not be all that complicated.
But that is a story for another day, kids.
And now, a word from our sponsor:
<ad> Whoa, hold on there, crystal ball. It's clear to any tzaddiq that only prophets can prophecise, but if you are but a lowly goblinoid emperor of rectal pleasure, the simple truths can become very hard to grasp. How can one manage non-intertwining affairs in their professional and private lives while ALSO compulsively juggling nuts?
Enter: Testament, the gapp that will take your gonad-swallowing virtue to the next level. Ever felt like sucking on a hairy ballsack during office hours? We got you covered. With our state of the art cognitive implants, tracking devices and macumbeiras, you will be able to RIP your way into ultimate scrotolingual pleasure in no time!
Utilizing a highly elaborated process that combines illegal substances with the most forbidden schools of blood magic, we are able to [EXTREMELY CENSORED HERETICAL CONTENT] inside of your MATER with pinpoint accuracy! You shall be reformed in a parallel plane of existence, void of all that was your very being, just to suck on nads!
Just insert the ritual blade into your own testicles and let the spectral dance begin. Try Testament TODAY and use my promo code FIRSTBORNSFIRSTNUT for 20% OFF in your purchase of eternal damnation. Big ups to Testament for sponsoring DEEZ rant.2 -
Does anyone here use any nootropics, either at work or on personal projects? About to have an extra busy few months and I'm looking for some recommendations.3
-
Dr. Iospa Psychiatry Consulting PC: Specialized Psychiatric Care in New York City
At Dr. Iospa Psychiatry Consulting PC, we are committed to providing compassionate and personalized mental health care to individuals dealing with a wide range of concerns. Whether you’re struggling with sleep disorders, memory issues, or seeking expert cognitive evaluations, we offer specialized services designed to meet your needs. Located conveniently at 28 W 44th St #714, New York, NY 10036, we provide effective treatment for sleep disorders, cognitive testing, memory treatment, and more. Our team, led by Dr. Iospa, is here to guide you toward better mental health and well-being.
Why Choose Dr. Iospa Psychiatry Consulting PC?
Sleep Disorder Treatment Near Me
Sleep disorders can have a significant impact on your physical health, emotional well-being, and overall quality of life. If you're searching for sleep disorder treatment near me, Dr. Iospa Psychiatry Consulting PC offers personalized evaluations and treatment plans to help you achieve restful and restorative sleep. Whether you’re dealing with insomnia, sleep apnea, or other sleep-related issues, we work with you to identify the root causes and offer tailored therapies that improve your sleep patterns, leading to better overall health and energy levels.
Cognitive Testing Near Me
If you're experiencing memory difficulties, concentration problems, or other cognitive challenges, cognitive testing can help identify underlying issues and guide the treatment process. At Dr. Iospa Psychiatry Consulting PC, we offer comprehensive cognitive testing near me to assess various cognitive functions, including attention, memory, problem-solving, and more. This testing is essential for diagnosing conditions such as ADHD, brain injuries, learning disabilities, or cognitive decline. Once the evaluation is complete, we work with you to develop a personalized treatment plan to address your cognitive concerns and improve mental clarity.
Memory Treatment Near Me
Memory problems can range from minor lapses to more serious impairments, and they can significantly impact your daily life. If you're searching for memory treatment near me, Dr. Iospa offers expert services to help improve memory function. Our personalized memory treatment plans include cognitive rehabilitation, therapeutic exercises, and lifestyle strategies designed to enhance memory, focus, and overall cognitive health. Whether you’re dealing with stress-related memory issues or neurological conditions, we provide the support and care needed to help you regain confidence in your memory and cognitive abilities.
Adult Psychiatrist Near Me
Seeking professional help for mental health concerns is an important step toward better well-being. If you’re searching for an adult psychiatrist near me, Dr. Iospa is here to provide the expert care you need. With years of experience treating adults with a wide range of psychiatric conditions, Dr. Iospa offers individualized treatment plans tailored to address your specific symptoms and challenges. From anxiety and depression to mood disorders and cognitive issues, we are committed to supporting your mental health with a personalized, compassionate approach.
Contact Us
If you are looking for sleep disorder treatment near me, cognitive testing near me, memory treatment near me, or an adult psychiatrist near me, Dr. Iospa Psychiatry Consulting PC is here to provide the expert care and support you need. Our office is conveniently located at 28 W 44th St #714, New York, NY 10036, and we are ready to help you take the next step toward improved mental and emotional well-being.
For more information or to schedule an appointment, please contact us at +1 (646) 383-7575. We are here to offer personalized, compassionate care to guide you toward a healthier and more fulfilling life.
Let us help you achieve better mental health through expert care tailored to your needs!2 -
What's the minimal feature set that can make a language as ornamented as JS into a comfortable REPL?
Should I write a full parser or should I try to patch my way around with regex?
It will have to interface a lot with JS so it has to be able to manage JS datastructures in some fashion, which means that I can't just make a whole new command line with its own programs.
My current plan:
Some delimiter (probably a semicolon) will take the output of a command and inject it in the next in case you decide halfway through a line to do some more processing, It also awaits promises and does some other nice stuff to make controlling such pipelines easy. I have an elaborate system in mind to decide where a value must be injected to make the line valid so in most cases you don't even have to indicate it. JS has beautifully simple syntax rules so I have a lot of technical balance to burn before I start building technical debt.
I have some ideas for automatic parentheses and commas in function calls. I realize while using a command line you do not want to tap shift often. My main idea here is that two names or values in js are always joined by an operator so the first missing operator is a call and following missing operators are commas until the end of line. This has lots of nasty edge cases though, like that no argument expression can begin with a unary operator or a bracket of any shape. You can always prepend a comma but it's cognitive load.
Anyway, do you have any suggestion or warning besides "js bad" which I know but it's the most popular sandboxable language and has a massive existing set of libraries which I kinda need.3 -
BONJOUR Senior Elder Home Care: Compassionate 24/7 Senior Care in New Jersey
Caring for an aging loved one, especially one with dementia or Alzheimer’s, can be challenging. At BONJOUR Senior Elder Home Care, we specialize in providing professional and compassionate dementia and Alzheimer’s care at home to ensure seniors remain safe, comfortable, and engaged in their familiar environment.
Serving Union County, NJ, and Somerset County, NJ, our agency offers round-the-clock caregivers to provide continuous support, companionship, and assistance with daily activities. Whether your loved one requires full-time care or occasional support, our team is here to help.
Expert Dementia and Alzheimer’s Care at Home
Seniors living with dementia or Alzheimer’s need specialized care to manage memory loss, confusion, and changes in behavior. Our trained caregivers provide:
✔️ Memory care support – Engaging activities to stimulate cognitive function
✔️ Medication reminders – Ensuring proper medication management
✔️ Wandering prevention – Keeping seniors safe at home
✔️ Emotional support – Patient, compassionate caregivers who understand the unique challenges of dementia
With BONJOUR Senior Elder Home Care, families can have peace of mind knowing their loved ones receive expert care from professionals who truly understand their needs.
Round-The-Clock Caregivers for 24/7 Support
If your loved one requires constant supervision and assistance, our round-the-clock caregivers are here to provide full-time care. Our 24-hour home care services ensure:
✅ A caregiver is always available, day and night
✅ Assistance with personal care, mobility, and daily activities
✅ Regular monitoring to prevent falls and accidents
✅ Companionship to prevent loneliness and isolation
Whether it’s help with bathing, dressing, meal preparation, or simply offering a comforting presence, our round-the-clock caregivers provide the attention and care seniors deserve.
Trusted Home Care in Union County, NJ
As a leading provider of home care in Union County, NJ, BONJOUR Senior Elder Home Care is committed to delivering high-quality, personalized care. We proudly serve seniors throughout Union County, helping them maintain their independence while receiving the support they need.
Our caregivers are carefully selected, trained, and matched to each senior’s specific needs. We believe in treating every client like family, ensuring they receive the best possible care.
Senior Care Services in Somerset County, NJ
We also extend our senior care services in Somerset County, NJ, offering personalized in-home care plans that cater to each senior’s health and lifestyle needs. Whether your loved one requires assistance for a few hours a day or full-time live-in care, we have flexible options to suit every family’s needs.
Why Choose BONJOUR Senior Elder Home Care?
✅ Specialized dementia and Alzheimer’s care tailored to individual needs
✅ Round-the-clock caregivers for 24/7 supervision and support
✅ Reliable home care services in Union County and Somerset County, NJ
✅ Personalized care plans designed for comfort and independence
Contact Us Today!
📍 Address: 210 Haven Ave, Scotch Plains, NJ 07076
📞 Phone: +1 (908) 447-4896
If you're looking for dementia and Alzheimer’s care at home, round-the-clock caregivers, or trusted home care in Union County, NJ, and senior care services in Somerset County, NJ, BONJOUR Senior Elder Home Care is here for you.1 -
The Nutrition Store – Your Local Destination for Supplements, Herbal Remedies & Fitness Gear in Barcelona
Looking for the best place to buy sports supplements, herbal remedies, and gym accessories in Barcelona? Visit The Nutrition Store – Tienda de Suplementos Deportivos, your one-stop shop located at Carrer de la Marina, 300, L'Eixample, 08025 Barcelona, Spain. We serve health-focused individuals and fitness enthusiasts from L’Eixample, Gràcia, and the entire city with top-quality products, expert guidance, and personalized service.
Fitness Clothing & Accessories – Right Where You Need Them
Whether you're searching to buy workout clothes near me or trying to find a gym clothes store near me, The Nutrition Store has you covered. We carry a wide selection of gymnasium clothes near me, including top-quality apparel from Great I Am Wear Barcelona and Great I Am Wear near me – known for high-performance and stylish activewear.
Looking for well-known brands? We’re also your Gorilla Wear store near me, offering premium fitness wear for serious athletes.
Complete your gym kit with:
Gym gloves near me
Gym belt near me
Gym straps near me
Grip straps near me
Gym shaker near me
Gym towel near me
Knee pads for gym near me
Jump rope near me
From functional clothing to essential gear, everything is available locally so you don’t have to wait for shipping.
Natural Health & Herbal Products – Close to You
As a herbal store in Barcelona, we offer a wide range of plant-based remedies and superfoods to support immunity, energy, focus, and general wellness. Whether you're looking for a herbal store near me, browsing multiple herbal stores near me, or searching for a trusted herbalist near me, we’re here to help.
We stock premium wellness products including:
Buy triple ginseng – for stamina and stress support
Echinacea near me – immune system support
Fenugreek near me – natural support for metabolism and hormones
Glucosamine near me – joint care and mobility
Lions mane near me – for brain and cognitive function
Herbalists in Barcelona – expert guidance and trusted sourcing
We also carry hard-to-find essential oils and wellness products:
Lavender oil near me – soothing and calming
Lemongrass oil near me – energizing and purifying
Eucalyptus oil near me – natural relief for respiratory support
Essential oils near me – wide selection of therapeutic options
Yoga & Wellness Essentials
Looking to buy a yoga mat near me or expand your wellness routine? Visit us to find:
Buy yoga mat near me – for yoga, stretching, or home workouts
Energy drink near me – clean, focused energy to fuel your training
A full range of gym products near me – from nutrition to recovery
Why Choose The Nutrition Store?
Full-Range Offering: Whether you need supplements, herbal remedies, or gym gear—we’ve got it all in one store.
Top Fitness Brands: Shop popular labels like Gorilla Wear, Great I Am, and more.
Expert Advice: Our staff includes knowledgeable professionals ready to assist with your health goals.
Local Convenience: Easily accessible to those living in or visiting L’Eixample, Gràcia, and central Barcelona.
Premium Quality: All our products are authentic, trusted, and sourced with care.
Contact Us
The Nutrition Store – Tienda de Suplementos Deportivos en Barcelona
Address: Carrer de la Marina, 300, L'Eixample, 08025 Barcelona, Spain
Phone: +34 933 480 740
Whether you’re looking to buy triple ginseng, find a herbal store near me, or stock up on gym accessories in Barcelona, The Nutrition Store offers everything you need to support your health, fitness, and wellness goals. Visit us today or give us a call—we’re here to help you perform your best.2
