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 - "that's long tag"
-
if you're gonna shitpost in devrant, make sure to tag as shitpost.
I like shitposts as long as they are acknowledged as such. The problem ones are unironical shitposts.
These lazy ass posts that seem to be written by someone bored in a commute are liquefying my shit.
I'm referring to 2 line posts like "it's hot in here" or "x broke today" with no development whatsoever.
Like people think this is Shitter or something and they can just spam shit about every mundane detail of their day to day.
That's chit chat, nothing wrong with that, but you don't chit chat in a forum, you dm your buddies.5 -
Sharing a first look at a prototype Web Components library I am working on for "fun"
TL;DR left side is pivot (grouped) table, right side is declarative code for it (Everything except the custom formatting is done declaratively, but has the option to be imperative as well).
====
TL;DR (Too long, did read):
I'm challenging myself to be creative with the cool new things that browsers offer us. Lani so far has a focus on extreme extensibility, abstraction from dependencies, and optional declarative style.
It's also going to be a micro CSS framework, but that's taking the back-seat.
I wanted to highlight my design here with this table, and the code that is written to produce this result.
First, you can see that the <lani-table> element is reading template, data, and layout information from its child elements. Besides the custom highlighting code (Yellow background in the "Tags" column, and green gradient in the "Score" column), everything can be done without opening even a single script tag.
The <lani-data-source> element is rather special. It's an abstraction of any data source, and you, as a developer can add custom data sources and hook up the handlers to your whim (the element itself uses the "type" attribute to choose a handler. In this case, the handler is "download" which simply sends a fetch request to the server once and downloads the result to memory).
Templates are stored in an html file, not string literals (Which I think really fucks the code) and loaded async, then cached into an object (so that the network tab doesn't get crowded, even if we can count on the HTTP cache). This also has the benefit of allowing me to parse the HTML templates once and then caching the parsed result in memory, so templates are never re-parsed from string no matter how many custom elements are created.
Everything is "compiled" into a single, minified .js file that you include on your page.
I know it's nothing extraordinary, but for something that doesn't need to be compiled, transpiled, packaged, shipped, and kissed goodnight, I think it's a really nice design and I hope to continue work on it and improve it over time
1 -
(Note: I got a bit carried away while writing this, so the end result is a lot longer than I expected. Apologies for the long post!)
The beginning of my programming journey started with a book.
This was back in 7th grade. I had some basic exposure to BASIC (pun maybe intended?) from our school curriculum, but it was nothing too interesting as our teachers never really treated it as anything important. They would stress a lot on those Microsoft Office chapters (yes, we actually studied Microsoft Office as part of our computer science course at school) and mostly ignore the programming chapters because I dare say many of them struggled with it themselves. So although I had been exposed to *some* programming, it was mostly memorizing the syntax without actually understanding what was going on.
Then one day there was this book fair thing going on at this local Carrefour (for those of you who've no idea, it's a pretty famous hypermarket chain) in this mall, and for some reason my mother and I were in that mall on that day. Now the interesting thing is that this usually never happens -- I usually visit malls with my dad or my friends, this is the only instance I remember where I had actually visited one with just my mom. This turned out to be fortuitous. My father is the kind of person who's generally not amenable to any kind of extraneous shopping requests. My mother, on the other hand, was and remains pliable.
So I basically saw this book -- Sams' Teach Yourself JavaScript in 24 Hours -- being sold at half price. I vaguely remembered having read somewhere that JavaScript is a good introductory programming language (and it helped that this was the time when I was getting into a Google-craze -- I basically saw some photos of Google Zurich and went all HOLY SHIT THAT'S WHERE I NEED TO WORK WHEN I GROW UP (for those of you who haven't seen it, I recommend googling it. That office is the bomb) -- and I'd also read that you need programming skills to join Google). So I begged and begged my mum to buy that book, and thankfully she did.
Back home I returned with my new prize under my arm. Dad took one look at it and scoffed that I'll never actually use it. Pretty much entirely out of spite (to prove him wrong), I attacked the book with a zeal. I still remember how I felt when I wrote my very first JavaScript program (printing the current system date in an h1 tag) and marveling at the output. I guess that was when something struck -- the realization that this was probably what I wanted to do in life.
Fast forward to today, and I've never looked back and wondered what it would be like to have done something else.
PS: for all you beginners out there, JavaScript is a horrible language. Please start with something like Python. Also there are better resources than Sams' Teach Yourself JavaScript in 24 Hours available, that I just didn't know of back then. I'd recommend Eloquent JavaScript any day. -
Does anyone have any tips on how to organize notes for story writing?
I have a dump.txt that's almost 1000 lines long with story ideas and rules of the world sort of mingled together since the stories are where the rules are explored.
I've been writing an application that I can put in topics and tag them so I can see what I've made notes about with a quick search. It seems like a good idea, but the tags are ultimately quite subjective, as is to be expected, so I'm not terribly confident I won't forget to tag it correctly.
As I write my story, I'm thinking I should remove the story notes from the dump, so eventually I'll only have the rules of the world. And maybe I should write story notes in a dedicated story ideas dump.
It's just so much to keep track of.8 -
Lo Lo's Mobile Detailing: Your Trusted Auto Detailing Service in Fayetteville, GA
When you need professional auto detailing in Fayetteville, GA, look no further than Lo Lo's Mobile Detailing. We specialize in mobile auto detailing, bringing our high-quality services directly to you, whether you’re at home, work, or anywhere else in Fayetteville. Our goal is to provide you with the best car care, convenience, and customer service, ensuring that your vehicle looks and feels as good as new.
Why Choose Lo Lo's Mobile Detailing for Auto Detailing in Fayetteville?
At Lo Lo's Mobile Detailing, we are passionate about delivering top-notch auto detailing services right to your doorstep. Here's why we’re the best choice for auto detailing in Fayetteville:
Mobile Convenience: No need to drive to a shop or wait in long lines. We bring our detailing services directly to you. Whether you're at home, at work, or even at a local park, we can handle all your auto detailing needs without you ever leaving your location. This convenience saves you time and ensures that you never have to sacrifice quality for convenience.
Comprehensive Auto Detailing Services: We offer a wide variety of auto detailing services, from basic exterior washes to full interior and exterior detailing. Our expert team uses high-quality products and professional equipment to provide a comprehensive clean that leaves your car looking and feeling brand new.
Affordable and Transparent Pricing: At Lo Lo's Mobile Detailing, we believe that exceptional auto detailing shouldn’t come with an outrageous price tag. We offer competitive and affordable pricing with no hidden fees, ensuring you receive the best value for your money.
Eco-Friendly Practices: We care about both your car and the environment. That's why we use eco-friendly cleaning products and water-efficient techniques, minimizing our environmental impact while still delivering outstanding results for your vehicle.
Expert Care and Attention to Detail: Our experienced detailers pay attention to every small detail, ensuring that every inch of your vehicle gets the care it deserves. From the exterior paint to the interior upholstery, we focus on restoring your car’s beauty with precision and care.
Our Auto Detailing Services
Lo Lo's Mobile Detailing provides a full range of services designed to keep your vehicle in top condition:
Exterior Auto Detailing: Hand washing, waxing, and paint protection to keep your car shining and safe from the elements.
Interior Detailing: Deep cleaning of your car’s interior, including vacuuming, upholstery shampooing, dashboard and console cleaning, and more.
Full Detailing Packages: A complete interior and exterior detail that will leave your car spotless from top to bottom.
Headlight Restoration: Clear up foggy headlights and restore their brightness and functionality.
Engine Bay Cleaning: Clean and detail the engine bay to keep it looking sharp and well-maintained.
Get in Touch with Lo Lo's Mobile Detailing
If you're in Fayetteville, GA, and looking for expert auto detailing, Lo Lo's Mobile Detailing is the answer. We make it easy for you to get the professional care your vehicle deserves, all while saving you time and effort.
Visit us at 225 Market Place Connector #1081, Peachtree City, GA 30269, or call us at +1 (844) 358-7214 to schedule your next auto detailing service. Let us bring the best detailing service right to you in Fayetteville, and experience the difference for yourself.
Trust Lo Lo's Mobile Detailing to keep your vehicle looking as good as new with the best auto detailing Fayetteville has to offer!2
