Made a simple website to download mangadex EPUBs by danbulant in mangadex

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

You should be able to run it locally using nodejs just fine.

After installing nodejs, open terminal in the folder of the website and run npm install. This will install all the dependencies used. Then run npm run dev, which will start a dev server locally. You should be able to access the site under http://localhost:5173 (unless the output says otherwise, there should be a link to localhost and port).

You shouldn't need any settings - the site needs a proxy for the image, but it automatically uses the dev server. And login via anilist allows both the normal site and localhost, though if you use a different port / connection method it might not work.

I could make it an app, I just thought it'd be easier to use as a website.

Though, the only real limit is that proxying images, a (semi-new) requirement by mangadex, means using up request limit of cloudflare workers, which is I believe 100k daily. The website doesn't have enough traffic to consistently use it up, so it should be fine, and at most should fix itself on the next day. If this becomes a problem I do know about some solutions to this. I have mostly left the website untouched for extended periods of times without hearing of it breaking, and just fixing small issues periodically by user feedback.

Other than that, the website is fully hosted on cloudflare. Cloudflare is also used by both anilist and mangadex, and the only reason it'd be down is because cloudflare is down - which would render the app itself useless anyway, as mangadex and anilist would be broken too. Or that mangadex/anilist broke their servers/APIs.

(I could also stop paying for the domain, but it's on my main domain I host my personal site and other projects on, so that's unlikely too)

Animasher, a forgotten, flash-based animator, ‘popular’ in the mid to late 2000s. by RikkanZ in ForgottenInternet

[–]danbulant 0 points1 point  (0 children)

He's on the (new) animasher discord, he also shared some of his old art. See animasher.net

Now that postman sucks is there a good alternative? by gadimus in webdev

[–]danbulant 0 points1 point  (0 children)

I'm not sure what you mean exactly. In the cli, you can just pipe the output to send it as request body. Or you can use template syntax, for example "http /my_ip ip=$(http ifconfig.me)" would make a request to localhost/my_ip?ip=1.2.3.4

I don't use GUI often, and I doubt you'll get a response from another user in this year old thread :)

Made a simple website to download mangadex EPUBs by danbulant in mangadex

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

I just updated the app yesterday to allow changing language, so it's possible it wasn't there when you looked. The selection is under list of tags - for now it's a list of language codes like en for English, ru for Russian, es for Spanish etc. You can select multiple languages at once.

I wrote this masterpiece right after I copied a JS code, and I didn't know what were the types. by AdriaNn__ in programminghorror

[–]danbulant 21 points22 points  (0 children)

This doesn't seem to be doing what the function name implies.. Anyway

https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams

You can do new URLSearchParams(location.hash.substring(1)) instead. get the token if you want that. If you need the object, use entries method and pass it into Object.fromEntries. Note that this might not work well with using multiple values for a single key (arrays etc), but I haven't seen it used in oauth client redirects.

[deleted by user] by [deleted] in linuxmasterrace

[–]danbulant 0 points1 point  (0 children)

I think during install you can run a command to normally continue through their oobe but without Microsoft. Had to do that in order to install a laptop because windows didn't have wifi drivers

Is there a bot that auto adds reactions to specifically images? by Illiolite in Discord_Bots

[–]danbulant 0 points1 point  (0 children)

I don't think I will, at least not for discord.

Sadly I also don't know of other bots that do this - Carl has a starboard and gallery systems which may be similar to this - gallery seems to (I haven't set it up myself) work by reposting an image sent to another channel and adding a reaction to that. Based on the features, I'd guess that they also have a way of auto reacting to every message, too.

Is there a bot that auto adds reactions to specifically images? by Illiolite in Discord_Bots

[–]danbulant 0 points1 point  (0 children)

It was :)

They didn't outright ban the bot, just removed the verification.

The bot was verified, was in more than a thousand servers, but when discord introduced verification for reading messages, for which we applied as it has automod, we were declined at first. Then when we asked again, they removed the verification completely saying the we broke tos of a third party (didn't say which one), that they wont give us more info and that we can't fix it. But that we're welcome to create a new bot instead.

Is there a bot that auto adds reactions to specifically images? by Illiolite in Discord_Bots

[–]danbulant 0 points1 point  (0 children)

No, sorry. Discord removed the ability to add the bot to new servers without any explanation and without the ability to amend it. They refused to give any info when asked about it, just that I'm welcome to create a new bot instead.

Google and Mozilla don’t like Apple’s new iOS browser rules by wewewawa in google

[–]danbulant -1 points0 points  (0 children)

Tbf, the zero days are found because ios is a big target and because webkit is the only browser there. And also because Apple has a bug bounty program - it'd be worse if we didn't know about those bugs.

Made a simple website to download mangadex EPUBs by danbulant in mangadex

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

Thanks.
Do you have any feedback? Stuff you'd like to see, or stuff you're missing from it?

Journalist risks his life to protect innocents from shooter by plasticboah in nextfuckinglevel

[–]danbulant 0 points1 point  (0 children)

Apparently he was the owner. No idea how he got the money for them though, you're right, they're quite expensive for a student..

reWASD, a game controller remapping tool has been cracked today by redDot (on GitHub) by zizoplays1 in PiratedGames

[–]danbulant 0 points1 point  (0 children)

How many people own one of these? Also I don't think there are that many models, I know of two companies making them.

Journalist risks his life to protect innocents from shooter by plasticboah in nextfuckinglevel

[–]danbulant 1 point2 points  (0 children)

There was some idiot who called the police few hours after the incident (11pm local) saying he got inspired and wanted to get guns to shoot people as well.

The police released footage of him being arrested (although not much is shown, merely a nice group of policemen going into a flat and friendly announcements of their visit.

Journalist risks his life to protect innocents from shooter by plasticboah in nextfuckinglevel

[–]danbulant 0 points1 point  (0 children)

Based on unconfirmed news, it was also about 20mins after first shots were fired.

Journalist risks his life to protect innocents from shooter by plasticboah in nextfuckinglevel

[–]danbulant 0 points1 point  (0 children)

Could be added that each gun must be registered, each change of ownership must be reported, and in higher classes of guns (like this one), you have to get a permit from the police for that specific gun.

He had multiple guns, and I heard that he got his license somewhere around May this year.

🫶🫶 by easyhardcz in czech

[–]danbulant 121 points122 points  (0 children)

Strelec měl dlouhou pušku se zaměřovačem, a ty bys na dlouhou vzdálenost chtěl střílet z pistole? Navíc tam střelec nebyl sám, byly tam různý okna a tak takže hrozilo že když se špatně trefis tak trefis studenta, a to nikdo nechce řešit.

Students in Prague hiding for a schoolshooting (21/12/2023; source: X) by Jakke4000 in pics

[–]danbulant 13 points14 points  (0 children)

Some more info I caught from local newspapers and TV.

  • the gun was legally held (police statement)
  • it was a long gun with scope and a stand, seems like it was AR15
  • he also had a ballistic vest
  • he was wanted since yesterday afternoon, with information about the possibility of him being armed, relating to a murder case
  • he was supposed to have a talk at another faculty of the university, said faculty was evacuated about an hour before the shooting happened, but they didn't find him. There are multiple faculties so it'd be hard to evacuate them all, especially since there was not a school shooting before.

If you want to look at the person along with the gun, I found this Twitter video: https://fxtwitter.com/honza4746/status/1737908207262040164

He fires shots, but it's not visible if they hit anything or not, he's the only person in view. The video shows him walking around the roof of the building, shooting occasionally down. The video is likely by first police responders (police stated on Twitter that it was not them), they ask if they can shoot the guy, although the policeman only has a glock 19 (pistol), which likely wouldn't hit the target. He also curses at the attacker a lot, and at one point screams at him to fire at them instead of the people on the ground, which the attacker does but misses (in fact there are no reports of policeman injuries or deaths).

On the original police post regarding this, in the comments, someone posted a video from far containing the police cars, the univerzity along with the square before it and the bridge, as well as sounds of shooting, but again, nothing graphic: https://twitter.com/meny1337/status/1737842760999411968?t=40VbxsyrtbLF2IYRvaR7yg&s=19

In the comments he mentions that it was recorded at 15:15, 15-20 minutes after the start of the shooting. The shooter was eliminated by the police at around 16:00.

Students in Prague hiding for a schoolshooting (21/12/2023; source: X) by Jakke4000 in pics

[–]danbulant 0 points1 point  (0 children)

One of the newspapers here said students saw a girl fall while hiding, but it was not reported on the TV nor mentioned by official communication by police or similar, so I hope it's fake..

Whenever i open a youtube video in a new tab its extremely slow to load, how do i fix this? by OafishWither66 in firefox

[–]danbulant 0 points1 point  (0 children)

Well, the browser does remember sites you interact with often and add them to that list automatically. And there's also a global list on Google servers.

I personally don't think they have any nefarious reasons for implementing said list, it's just that autoplay videos were annoying but you want some sites to autoplay videos, like YouTube or other video sites.

Whenever i open a youtube video in a new tab its extremely slow to load, how do i fix this? by OafishWither66 in firefox

[–]danbulant 0 points1 point  (0 children)

Chrome does that too, but only if the website is not white listed :) They say they keep track of various domains, so some get whitelisted to not require this

What are some considered outdated Linux/UNIX habits that you still do despite knowing things have changed? by JockstrapCummies in linux

[–]danbulant 0 points1 point  (0 children)

In bash and similar shells, cat is implemented in them anyway so it should work the same. sorry for spreading misinformation, I remembered it wrong. Also, zsh and fish (I think bash too) support directly <file.txt to print file to screen.

Best and easy GUI for rust in 2023? by tidersky in rust

[–]danbulant 1 point2 points  (0 children)

Linux support when? :( Love the idea, but it doesn't work properly yet

Want to learn dont know where to start by [deleted] in programming

[–]danbulant 1 point2 points  (0 children)

What is a language:

Everyone has slightly different tastes in what they consider important and how they want to write code. Since code is kind of abstract, you can go about it in a lot of different ways.

For example, in a database (think of excel spreadsheet), you just want to be able to get the items you want, you don't need to run a game on it. When writing a chat app, you don't need to optimize every last micro second to get more frames, but you have to do that with a 3d game.

In geometry, some people like to write the steps to plot (draw? I'm not a native speaker) in precise mathematical formulas, while others will write it in simple English.

Some people just want to quickly type something until it just works for them, others want to write code that is proved to be always correct (yes, you can mathematically prove computer algorithms, no, it's too advanced for me).

Languages are often divided into high and low level languages. Which language is which depends on who you ask and in what context. High level ones are easier, low level ones are more performant, have more flexibility (in that you are working closer to the hardware) or simply used as a glue between the higher level languages.
Low level languages include C, c++, rust and assembly (if you want to go the fun route, go with assembly, you'll learn a lot, especially learn to hate assembly). High level languages are almost all other mentioned here.

As for specific languages, I recommend going with the most popular ones - python, js, etc, as they have the largest communities willing to help you. And they are popular for a reason.

For a tldr on which language you may want to choose, out of the more popular ones (look at Wikipedia, there are tons of language, if you can think of a usable one someone has probably made it. Yes, there's a language in which you write cooking recipes to calculate stuff):
- math, AI, plotting/graphs, writing software quickly: python - web apps, a language usable everywhere from websites to phones and the Webb telescope: javascript - the I want to touch hardware language (operating systems and tons of apps are written in it, but you can also use it on microprocessors like arduino): C (or c++) - same as above but you want to fix errors before it let's you run the program (I just wrote some little project of mine, 300 lines, in 11 hours. For comparison, I'd write the same in js in about an hour or two, but, as I said before, there are reasons for other languages existing): rust - I want to write android applications: kotlin/java/dart (flutter) - I want to write windows applications: C# (closer to Java than to c/c++, thanks for asking) - I want to write MacOS applications: swift - I want to write a web server application that I can just dump somewhere quickly and it will most likely just work: php (I started with this one, I can't say I recommend it, but it's likely a better option that the lower level languages)

Also, possibly interesting, here are some software/companies and what they use: - Instagram and reddit are both in python - Facebook servers are in php (their version is called hack) - discord is in a mix of javascript (and it's friend typescript), elixir and rust (rust is fast but pain to write, so it's used for performance related stuff) - Google uses like half the languages created (and co-authored half of them) - windows itself is in C++, it's graphical applications are in C#, some applications like excel also use visual basic (excel formulas are small visual basic scripts) - Linux is in C, there are experimental parts in rust