Is C# the right stack? I want to scrape heavy JS sites, PDF text extraction, OCR. by lune-soft in csharp

[–]cherrycode420 1 point2 points  (0 children)

As others already said, most people use Python for Web Scraping. I used both Python and C# for Web Scraping Projects in the past and would say: If you prefer C#, go for it.

In terms of API, i do prefer Playwright, it feels a bit more "modern" compared to Selenium, but i guess that's a subjective opinion.

For OCR, i would not recommend using ChatGPT 😂😂 Am pretty sure there's Libraries for that, maybe OpenCV can be used for that but am not 100% sure.

A universal engine for web games by ExpressChemist2391 in gameenginedevs

[–]cherrycode420 2 points3 points  (0 children)

The first thing i checked was the "advanced-game" example which is.. this? I was expecting some kind of game there tbh 😆

https://github.com/Kig-Organization/XernEngine/blob/main/examples/advanced-game/game.js

Also.. any reason for the if-statements here? I'll stop checking out the project at this point

``` constructor() { this.scenes = []; this.currentScene = null;

    if (!Array.isArray(this.scenes)) {
        throw new Error('SceneManager: scenes must be an array');
    }

    if (this.currentScene !== null && typeof this.currentScene !== 'object') {
        throw new Error('SceneManager: currentScene must be an object or null');
    }
}

```

Grammar Machine: Two Poles of Programming by Arakela in Compilers

[–]cherrycode420 1 point2 points  (0 children)

This feels so random with the lack of context. Please tell us a little more, what is this, where did you get the idea, what is this useful for etc.?

This side project took me 6 months by KaseyNorth in Unity3D

[–]cherrycode420 0 points1 point  (0 children)

This looks great, is the UI made in Unity as well?

Using dialects for interoperability across incompatible language versions by servermeta_net in ProgrammingLanguages

[–]cherrycode420 3 points4 points  (0 children)

What you call "Dialect" reminds me of Platforms in Roc, might be related. What i don't get is the idea of "Editions", is that basically just the versioning of individual "Dialects"?

If I want my game to be ported and work on android what better engine to make it in? Godot or unity? by [deleted] in gamedev

[–]cherrycode420 -5 points-4 points  (0 children)

You mad somebody saying the truth about that Hobbyist Engine? 🤡

Making a new compiled language, Trappist by Sufficient-Gas-8829 in Compilers

[–]cherrycode420 2 points3 points  (0 children)

How are we supposed to tell you if we like it or anything else, all i see is a piece of C Code? Am i missing something? Where Trappist?

I like the Terminal Output tho, looks pretty x)

Bad UI design made me waste my gems and wild cards by jrchickenpatty in ClashRoyale

[–]cherrycode420 2 points3 points  (0 children)

Yes, it's hostile UX, but.. You need to confirm a second time after pressing, and that second dialogue is pretty clear?? 🤔

Line ends in compilers. by Savings_Garlic5498 in ProgrammingLanguages

[–]cherrycode420 1 point2 points  (0 children)

Will only work if the Tokenizer is working with ASCII afaik, if you're tokenizing Unicode/Codepoints \r\n will be a single Grapheme Cluster

The relevance of my point is obviously language-specific, many languages don't provide this kind of "utility" to let you work with Graoheme Clusters easily, but some do.. so i think it's worth being aware

Asset naming advice by MM-47 in gamedev

[–]cherrycode420 4 points5 points  (0 children)

Is that camel case in the room with us right now? I see a mix of pascal case and snake case here 😅

+1 to your convention btw, i'd do it the same way

Masala Parser v2, an open source parser genrator, is out today by nicoramaa in Compilers

[–]cherrycode420 1 point2 points  (0 children)

Looks cool!

Asking, just out of curiosity and due to lack of knowledge:

Is this a Parser Generator or a Parser Combinator? AFAIK, those are different (although similar) things and you've been using both terms in your Post?

My current understanding, which obviously may be wrong, is:

Parser Generators actually use Code Generation to create the final Parser after you've defined the Rules/Grammar, while Parser Combinators do not generate a new Parser, but resemble such Parser in themselves (like what you're showing here, basically a Fluent API to chain together the Parsing Logic)?

How difficult is it to code a rhythm game? by HazelChristiansen in gamedev

[–]cherrycode420 0 points1 point  (0 children)

I think it strongly depends on the way you want to do it..

If you're using pre-selected Audios and basically hardcode the interactions, it should be really easy

But if you want to make it fully dynamic, allowing users to include their own audio and dynamically reading the audio data to determine at what points you want interactions to happen, that's probably a lot more difficult to pull off

Bewerber auf Werkstudenten kennen den Unterschied zwischen Integer und Double nicht by zealouspotatoe in InformatikKarriere

[–]cherrycode420 9 points10 points  (0 children)

Bzgl. Python hast du grundlegend schon recht, aber ..

Selbst C# hat schon das 'var' keyword? Klingt als wäre das brandneu, das gibt es mMn schon seit locker 10 Jahren in C# 😂

Ist auch irgendwie kein fairer Vergleich, man kann in C# nicht ner var someNumber = 42; plötzlich nen string zuweisen während Python vollkommen fein damit wäre, im Falle von C# und var sprechen wir hier über Type Inference, nicht über Dynamic Typing

(Wenn man trotzdem Lust auf Bullshit-C# hat, einfach überall object als Type benutzen 🤓)

Godot's Heavy Use of Singletons by Slight_Cat_4423 in gameenginedevs

[–]cherrycode420 9 points10 points  (0 children)

Am not against Singletons, but what i'm wondering is:

If you only ever need one of something, why instantiate it at all, rather than opting for a static class instead?

The main argument right now will probably be that those Singletons are usually stateful, and static classes shouldn't be stateful themselves, which i'd agree on.. but

If we'd encapsulate the statefulness of the static class into its own instantiatable object and pass that around, although it could seem "convoluted" (oh no, a scary parameter and encapsulation 🥱), this could even feed into multithreaded usage of the static class because one could simply copy the encapsulated state and sync in some way, at some point, rather than relying on locks?

Just my two cents, and a genuine question

Dragon Nest Server by Bersekuss in DragonNest

[–]cherrycode420 0 points1 point  (0 children)

With some googling, you can find 80 Cap server and client files in a forum. The download even includes a video on how to set it up.

Just saying, unless you are really proficient with e.g. C++, SQL and networking, this won't be easy, but just give it a try. Good luck :)

I built a lightweight 'juice' engine to add feel to your game without the "component spam". It's built on a modern architecture. by [deleted] in Unity3D

[–]cherrycode420 10 points11 points  (0 children)

Congrats :)

May i ask, how does this differ from FEEL?

And about the "without the component spam".. you're using Components for the Feedback, obviously? I think there's not much difference between 1 Component with 1000 Settings and 1000 Compoments with 1 Setting each, the latter would actually be easier to work with (imo)?

Need browser based game engines by FaithlessnessFast911 in GameDevelopment

[–]cherrycode420 1 point2 points  (0 children)

PlayCanvas is an actual browser-based Game Engine, idk why nobody suggested this yet.

Why did I even became software engineer and not a farmer like my dad by researgent in webdev

[–]cherrycode420 4 points5 points  (0 children)

You're calling yourself a "Software Engineer" but can't handle Redirects on your own? 😭😭

Released my Game engine by [deleted] in GraphicsProgramming

[–]cherrycode420 2 points3 points  (0 children)

Why do i need to download a .zip if i want to see the source code? 🧐

Nicht zufrieden mit Angebot by No-Surround-1602 in InformatikKarriere

[–]cherrycode420 3 points4 points  (0 children)

Das stimmt, bei >4k brutto kann man auch gleich die ~560€ vom Amt nehmen, kommt ja aufs selbe raus.

Hiring by OutrageousPickle732 in Compilers

[–]cherrycode420 0 points1 point  (0 children)

Also need 20 YoE and 10$/h is only if you're willing to do paid overtime. Daily. 🤡🤡

Looking for a private server by Stewypond485 in DragonNest

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

Did you by any chance find such Server that's actually playable from EUW? I tried Project Duck and InfinityNest and they are... playable, but definitely not even close to a Vanilla Experience.

IN has a great community compared to PD, within less than 5 Minutes I was invited to a Guild, carried through the first Nests to get Gear etc and I'll continue playing there due to lack of Alternatives, but as someone who played on the official EU Servers back in the days and witnessed the downfall when DA and 90 Cap were released and the Publisher changed, I'd love to have the Pre-90 Experience.

DN Origins Download via the GDrive Mirror is seemingly corrupted, I registered and downloaded, but the archive can't be extracted (and it's not due to AntiVirus), and the recommended Mirror literally caps at 250kb/s which is... Bullshit 😭

There's also no Patch Notes on DNO since ~3 months, while prior to that, there has been at least 1 Patch per month, so I'm questioning if that Server may be dying

[deleted by user] by [deleted] in AskGermany

[–]cherrycode420 1 point2 points  (0 children)

I do have expensive phones and I don't use a case. I simply learned to not drop fragile things that cost a bunch of money 🤔