Having a rough morning fellas. The lil’one has been up since 6 and to be frank, won’t stop. The eldest is finally at school but even that was a nightmare....
For me it was GoT, I just thought the miniature landscapes looked way too cool. Also I am watching Kimmy Unbreakable which has a theme song that I think is pretty catchy.
Hey everyone! I talked a bit in the January Newsletter about us expanding the admin team but figured I would do a post specifically about the development team so I can go more into depth about it....
Haha yeah it’s weird how NOT drinking is weird. I couldn’t care less what other people do, nor what they think of me; drinking is just no longer appealing to me
No idea why you got downvoted so bad, I guess I did have the benefit of your edit when I read your reply.
Edit: There is maybe one that’s semi-ok (reversing a linked list) but it’s not a red flag if an engineer can’t do it on the spot.
In my decade+ career, I’ve used a linked list in production code…… maybe twice? Thats not to say they aren’t useful, but I don’t make a habit of committing stuff to my memory unless I’m going to use it.
Could I do it? Absolutely. Could I do it without searching it up? Yea. Would I search it up anyway? 100%
Lens manufacturers say that anything other than a microfiber cloth will damage the coatings on a lens. But microfiber cloths eventually pick up crap and they look like they’re a pain to wash....
Hello adn welcome to my plea for help! I’ve been PC gaming for a very long time, and in the beginning I used a split dome keyboard, it was fine for what it was. I switched back to standard keyboards though and have been using them for years. I’ve been a fan of corsair mechanical keyboards for the last 15 years, the last 4...
My dog absolutely loathes fireworks. She gets incredibly stressed.
Unfortunately nothing we’ve tried has worked to calm her down. She has several beds, we’ve tried calming sprays you plug into the wall, white noise, the lot.
The funny thing, we tried to desensitise her by playing firework noises on the TV. Even with the TV up full volume, sound bar with full bass, she walks around like nothing is happening - doesn’t care in the slightest.
But the faint sound of a firework (or a wheelie bin moving sometimes) and she’s shit scared.
I had always seen requests for it on various Swift posts. Someone will post a long lyric acronym, and someone else who isn’t in the know will be frustrated and lament a site like this not existing....
I have no skin in the game for the app itself, I just saw your post on the “front page” while scrolling and shitting….
there are 30,000 files
I’m more intrigued why you appear to be managing this with files. Why not use a database?
Edit: you’re also not handling misses very well. I just tried a random string and got the below error. That doesn’t tell me if it was my fault or a server error.
An error occurred while processing your request. Please try again later.
Yeah, that error message is left over from an earlier version where I sharded by acronym length instead. At that time, there would always be a file. The problem was the files were getting to be huge at the 50 character length (20MB) and performance went to shit on poor mobile connections. So I refactored to shard by first 4, and files dropped down to a few K each and became a lot snappier.
I don’t think that’s necessarily true. I just tried a random string, and I got the correct 404 response back, but it doesn’t look like the app handles that case and it just prints that error on any error.
<span style="color:#323232;"> .catch(error </span><span style="font-weight:bold;color:#a71d5d;">=> </span><span style="color:#323232;">{
</span><span style="color:#323232;"> </span><span style="color:#795da3;">console</span><span style="color:#323232;">.</span><span style="color:#0086b3;">error</span><span style="color:#323232;">(</span><span style="color:#183691;">"Error fetching or processing the JSON file:"</span><span style="color:#323232;">, error);
</span><span style="color:#323232;"> displayError(</span><span style="color:#183691;">"An error occurred while processing your request. Please try again later."</span><span style="color:#323232;">, tableBody);
</span><span style="color:#323232;"> });
</span>
Anyway, I wasn’t trying to shit on it. Good job :)
The 404 should just say the same message as “acronym not found”. It just means the first 4 letters didn’t match a file on the backend; I didn’t enumerate all the blank json for A-Z*4.
Yeah, but it doesn’t translate to the site. That’s what I’m trying to say :) Your catch above doesn’t distinguish between 404 or anything else (5xxx) and displays An error occurred while processing your request. Please try again later for all eventualities. So, regardless whether the acronym wasn’t found or there was a genuine server error, the same error message is displayed.
It was a really challenging project to process all the data. As with most large datasets, there are tons of pain points. Like 60% of the time spent was parsing out the song name from the janky first line of metadata. Some pain I dealt with over the project off the top of my head:
I honestly have no idea what you had to drag it all out from, but it looks well implemented from the small amount I played around with it. I’ve never used Firebase, but it looks like you got it working so that’s a good job too.
It’s probably just my old man brain that saw you were doing this all with files and it felt odd. That’s not to say it’s wrong, it’s just different to what I would have done.
There’s a bunch of advantages to databases, like indexes and partial/fuzzy text matching - but I can certainly understand why you went this route if you needed to keep costs down and didn’t want to bother with any DB maintenance.
If you’re talking about a SimpleLogin, you CAN email from it. I forget the exact terminology (I can check if you need) but you can generate a forward address that you email and the receiver (Spotify) will see it as If you have emailed from your forwarding address.
Right. I personally struggle with a lot of the “terms” these days - not because I think they are wrong, only because I don’t always understand what they mean.
On Reddit, when I saw them used, I would ask for clarification and I’d learn something.
Being dismissive to people trying to learn isn’t going to bring them into the ally space.
Finish the sentence: I love my kids but.....
Having a rough morning fellas. The lil’one has been up since 6 and to be frank, won’t stop. The eldest is finally at school but even that was a nightmare....
Which TV series intros do you not skip by choice?
For me it was GoT, I just thought the miniature landscapes looked way too cool. Also I am watching Kimmy Unbreakable which has a theme song that I think is pretty catchy.
Expanding the P.D Development Team!
Hey everyone! I talked a bit in the January Newsletter about us expanding the admin team but figured I would do a post specifically about the development team so I can go more into depth about it....
what if I want to solo (lemmy.world)
Google is so bad these days, nothing but shitty SEO results (lemmy.world)
This search should obviously return the official Docker Hub Redis image, hub.docker.com/_/redis, but it’s just a bunch of blogs....
It's almost impossible to deny being an alcoholic without sounding like an alcoholic
Red flags in software engineers
How do you clean your glasses?
Lens manufacturers say that anything other than a microfiber cloth will damage the coatings on a lens. But microfiber cloths eventually pick up crap and they look like they’re a pain to wash....
the future is now, old man (lemmy.world)
Any good alternative for Google Photos?
I’m looking for a solution that satisfies:...
Looks like the elon dickriders have arrived on lemmy (sh.itjust.works)
Question for the Ergo Mechanical Keyboard community
Hello adn welcome to my plea for help! I’ve been PC gaming for a very long time, and in the beginning I used a split dome keyboard, it was fine for what it was. I switched back to standard keyboards though and have been using them for years. I’ve been a fan of corsair mechanical keyboards for the last 15 years, the last 4...
Female surgeons sexually assaulted while operating (www.bbc.com)
Sexual harassment, sexual assault and rape have been referred to as surgery’s open secret....
How to manage your dog's anxiety during fireworks (www.makeyourselfknowledgeable.com)
How do you calm a dog down during fireworks? Or how to manage your dog's anxiety during fireworks at home? Many dog owners have to deal with screams,
Happy Labor Day! I labored over a Taylor Swift Acronym Lookup app, and I'd love some feedback (taylorswiftacronyms.web.app)
I had always seen requests for it on various Swift posts. Someone will post a long lyric acronym, and someone else who isn’t in the know will be frustrated and lament a site like this not existing....
Woman named Barbie Oppenheimer encounters difficulties amid Barbenheimer craze (www.independent.co.uk)
cross-posted from: feddit.uk/post/1847272...
Firefox Adds Masking to Better Help With Email Spam and Tracking (www.lifewire.com)
My 2tb jellyfin server with a disney collection go brrrrrrrrrrrrrrrrrrrrrr (lemmy.dbzer0.com)
Inhale…Exhale…Reset Timer! (i.imgur.com)
Wayne Brady Comes Out as Pansexual: 'I'm Doing This for Me' (people.com)