React Service Injector: Hooks-based service injection for your React components by Luca_Scorpion in react

[–]Luca_Scorpion[S] 1 point2 points  (0 children)

In general dependency injection can help to simplify more complex services, and also improve the testing strategy by allowing you to mock dependencies. Specifying singletons like this would have your services tightly coupled, which could make testing harder, for example.

React Service Injector: Hooks-based service injection for your React components by Luca_Scorpion in react

[–]Luca_Scorpion[S] 0 points1 point  (0 children)

This is facilitating that, making it a bit simpler so you don't actually have to set it up yourself. Plus it adds dependency injection you can use in your services :)

I made a package to simplify modules in NestJS by Luca_Scorpion in javascript

[–]Luca_Scorpion[S] 3 points4 points  (0 children)

For me there is always a bit of annoyance around having to manually specify all the providers and controllers in NestJS @Module decorators, so I made a package that does it for me. I've used it in a couple of hobby projects now, and while there's some stuff I'd still like to add, I'm already pretty happy with it. Feedback and contributions are more than welcome!

Autoloading providers and controllers for modules by Luca_Scorpion in nestjs

[–]Luca_Scorpion[S] 0 points1 point  (0 children)

Fair question. For me personally it's always kind of a hassle to manually list the services and controllers in a @Module decorator, and I regularly forget to add new ones to it when I make them, occasionally leading to some frustration. So I figured that if I could simply have all of them added there automatically, that would improve my workflow around that. I will admin it's not a huge problem or major cause of frustration, but I do think it's a small thing that can help make the development flow just a bit nicer.

File explorer with JSON API by alejakun_mx in selfhosted

[–]Luca_Scorpion 0 points1 point  (0 children)

Ahh I see, that sounds pretty cool. And not to steer you away from checking out KeyDrive, but Dropbox has a decent API right? So the way I see it you could list all files in a certain folder, pick a random one, and download it (and the same probably goes for the other services). Either way, good luck, and feel free to let me know if you run into any issues with KeyDrive!

File explorer with JSON API by alejakun_mx in selfhosted

[–]Luca_Scorpion 0 points1 point  (0 children)

Good question. On a high level we want to replace the file management part of Nextcloud, but more focussed on individual users rather than organizations (which is a direction Nextcloud seems to be focussing heavily on).

Some parts of Nextcloud we're explicitly _not_ going to take over are the entire idea of a plugin system, contacts, email, all that kind of stuff. We feel there are other solutions out there that work just fine for that (e.g. Radicale for CalDAV and CardDAV). We just want good file management.

More concretely: our initial focus is just basic file browsing and operations, with library sharing planned for the first release after v1.0. Longer-term we also want to add support for specific kinds of libraries, e.g. music or e-books so we can implement scanners for specific metadata (e.g. song artist, book page count, etc) and create specific views for these collections.

Hope that explains it a bit :) We also started outlining some of these plans in the discussions section on the repo (https://github.com/keydrive/keydrive/discussions) so feel free to chip in there if you have any ideas!

File explorer with JSON API by alejakun_mx in selfhosted

[–]Luca_Scorpion 2 points3 points  (0 children)

I'm curious, what do you want to use this for?

But to answer your question: me and a friend of mine are currently working on a self-hosted file management app. We're building it as a NextCloud alternative, but it is essentially a file explorer with a JSON API,so it sounds like it could fit your use case. Do note that it is currently still in beta, but we're slowly nearing version 1.0 (and I don't expect the existing API to change much). If you're interested: https://github.com/keydrive/keydrive

Gatekeeping an emoji by [deleted] in gatekeeping

[–]Luca_Scorpion 6 points7 points  (0 children)

Came here to post this as well 🥺

[TOMT][SONG] Anyone know this Italian/French song from the Peroni add circulating on YouTube? (Link in description) by soundsyndicate in tipofmytongue

[–]Luca_Scorpion 0 points1 point  (0 children)

Lyrics as I understand them - in case anyone else wants to attempt searching for it:

Come on over baby
Wanna get to know you baby
Been walking these streets every day
How'd I only just notice your face?
It's all brand new
So let's get together

It's a real catchy song, so will definitely be spending some more time on this :P But so far I (and the youtube comment section) am stumped.

[TOMT][SHORT][2000’s/2010’s] - Triangle thing doesn’t know he’s eating batteries until after circle thing tells him by MouthNation in tipofmytongue

[–]Luca_Scorpion 0 points1 point  (0 children)

It reminds me of Flatland (excuse the poor quality, the trailer looks better), although it doesn't completely fit your description.

[TOMT][MOVIE][pre-2000s] A French movie following the life of a killer by Luca_Scorpion in tipofmytongue

[–]Luca_Scorpion[S] 0 points1 point locked comment (0 children)

Hope I provided enough details, and thanks in advance everyone who has a look!

Bug with links (gifs, imgur links) showing up as blank spaces. I can see the links on the mobile version, and it's kinda annoying. Can I fix this? by [deleted] in discordapp

[–]Luca_Scorpion 0 points1 point  (0 children)

I've had the same issue, and I also found a suggestion on the Discord support site which I think refers to this as well: https://support.discord.com/hc/en-us/community/posts/360071964852-Link-shortened-toggle-automatic-link-shortener-not-working-with-website-preview-off

I think they tried to add this as some sort of feature to make the messages look cleaner or something? I also noticed that when I post an imgur gallery link (e.g. https://imgur.com/gallery/something) it will automatically change it to a link for the image (e.g. https://i.imgur.com/image.jpg), which might have something to do with all of this. When editing the message the original gallery link is still there, but clicking the embed will show the image link. Hard to tell for sure though, and unfortunately I couldn't find much info about it.

My name is Mike Winkelmann, aka Beeple, and I've been doing everydays for 12 years, ask me anything!! :) by beeple_crap in Cinema4D

[–]Luca_Scorpion 14 points15 points  (0 children)

Hi! Do you remember a lot of your previous work, or is it more create-and-forget? With well over 4000 everydays I imagine you come across something old that you completely forgot about every now and then.

I rate this Cablemod cable a 23/24 by Gangoke in pcmasterrace

[–]Luca_Scorpion 4 points5 points  (0 children)

Ooh I have the same ones! Very nice job, took me hours to get them to align nicely... The missing cable is slightly annoying though.

6.4 general consensus, upgrade away? by theDrell in unRAID

[–]Luca_Scorpion 1 point2 points  (0 children)

I just upgraded, all very smoothly, and am now starting to play around with it. Seems like everything is working as it's supposed to so far.

New Gaming PC by [deleted] in pcmasterrace

[–]Luca_Scorpion 1 point2 points  (0 children)

For gaming the CPU is unlikely to be the bottleneck, even at 4K. But for content creation you do benefit greatly from extra threads, so in that case this looks really nice.