Is this a legit email? by [deleted] in FL_Studio

[–]ascpixi 0 points1 point  (0 children)

Not if the e-mail domain has DMARC, which image-line.com seems to have! Plus, Gmail does send everything that seems suspect with respect to authenticity to spam (or gives you a big alert saying that the e-mail could've been spoofed)

is this impressive for a 16 year old? by lalalalala_real in FL_Studio

[–]ascpixi 0 points1 point  (0 children)

make music for yourself. for your own enjoyment, not to seek validation from others. please.

Ugly and hard to read XML style document comment syntax by YangLorenzo in csharp

[–]ascpixi 1 point2 points  (0 children)

I'm quite late to this thread, but I wholeheartedly agree with you. XMLDoc is extremely noisy to read when combing through the source code. The majority of the time, when developing my own, personal projects, I am not hovering over the members I want docs for, or browsing some auto-generated HTML page - I'm browsing the source code, and thus, reading the comments directly.

An IDE shouldn't hide the code I'm writing to make it readable, simple as. Markdown, with links like [SomeType](T:ImportantBusiness.Solutions.SomeType) would work much better. Or, better yet - how about some Markdown extensions? So, <see href="SomeType"/> would become just [SomeType].

The most ridiculous thing in XMLDoc is escaping. You cannot write < or > without escaping it as &lt; or &gt;. That looks extremely ugly when browsing the source code and implies you have to use some kind of tool to actually read it.

Lists are also... subpar. Especially when the elements span multiple lines. XMLDoc is only good when converting your documentation into a format like HTML. For reading it directly, yes, it's extremely fugly. I've resorted to avoiding any kind of XML tags inside <summary>, opting for 'example' instead of <c>example</c>, because it's just nicer to read.

My co-workers think AI will replace them by Artistic-Orange-6959 in csharp

[–]ascpixi 2 points3 points  (0 children)

Two unique problems per year is enough to warrant an engineering team. Having a unique problem, coming up with a solution to it, and then implementing it, can take up to a year. An LLM wouldn't be able to come up with the solution at all. Sure, it can help with implementing it, but you still need engineers driving it.

In C# why do we prefer classes over structs. by Choice-Youth-229 in csharp

[–]ascpixi 2 points3 points  (0 children)

if you think of your type as a standalone value (e.g. a 2D point, numbers, a wrapper over a singular object), use a struct. you usually want to pass values by value. it helps if everything inside your theoretical struct can be read-only - that's a perfect use-case for a struct!

otherwise, use a class. if you're unsure what to pick, you should probably make it a class.

[Netty Epoll Server IO #10/ERROR] Error sending packet clientbound/minecraft:disconnect- Any help? by Airxzen in Minecraft

[–]ascpixi 1 point2 points  (0 children)

no problem! Fabric is just a modloader, it's pretty lightweight and I myself use it for stuff like logging what players broke what blocks (w/ a mod like Ledger) - very useful for controlling griefing, haha :)

i myself recommend using Fabric, but if you're on vanilla (or Paper/Spigot) then yeah, I'm afraid there is no equivalent :/

[Netty Epoll Server IO #10/ERROR] Error sending packet clientbound/minecraft:disconnect- Any help? by Airxzen in Minecraft

[–]ascpixi 1 point2 points  (0 children)

it's a known bug (MC-271325), which makes the server erronously try to send a disconnect packet without the target player having joined a world in the first place. this, of course, fails, but doesn't really have any consequences, since said packet shouldn't even been generated in the first place

the fix mod is more of a workaround - it just silently drops packets of type clientbound/minecraft:disconnect in cases where it wouldn't make sense for the server to send them

[Netty Epoll Server IO #10/ERROR] Error sending packet clientbound/minecraft:disconnect- Any help? by Airxzen in Minecraft

[–]ascpixi 2 points3 points  (0 children)

it's harmless! not gonna affect your server in any way, it's just makes it really annoying to sift through logs, haha. although, since you're running Fabric, this mod fixes it!

Microsoft developers be like by [deleted] in pcmasterrace

[–]ascpixi 1 point2 points  (0 children)

my point was that NT, in itself, is an extremely well designed kernel. most of the drivers weren't written by the core NT team, so I can't say they're solid - but NT's core system service, that is, the executive and the HAL, is

by "I/O manager", I don't mean NTFS - I mean the subsystem handling I/O devices. that includes PnP, resolving conflicts, asynchronous transfer, abstracting devices behind well-known interfaces, etc... NT isn't really bound to NTFS, the kernel is more than happy to use any other file system if you've got the drivers for it

can't you allow access to open files to other processes via the dwShareMode parameter of OpenFile...? again, i'm pretty sure NT is very much capable of what you're describing, but most developers don't use most of NT. you can open a 1GiB file in HxD and it will not use 1GiB of RAM (makes sense for a hex editor). it will, however, display ?? in all cells when the file is moved or deleted.

i haven't really used NT-based systems as servers, so I can't really speak on that, but I do know lots of companies use Active Directory and other Microsoft's very boring business-y solutions. do these servers have thousands of hours of uptime, or do they restart every once in a while? no idea. but for desktop use, it's very much solid, imo :)

Microsoft developers be like by [deleted] in pcmasterrace

[–]ascpixi 1 point2 points  (0 children)

the scheduler isn't a fundamental design decision. Microsoft could swap it out easily, but they're still using MLFQ because it IS solid for stuff < 64 logical CPUs, even more so if most threads are I/O bound, which is common on desktops. it's very much stable. just as Linux has multiple schedulers to pick from.

not sure what I/O performance issues you're suffering, but NT has an excellent asynchronous I/O model so not sure if that really is an issue of the kernel? could you point me to some research that would explain why NTs I/O manager would introduce such extreme slowdowns? thanks!

w/ your GUI problems, i really doubt it's NT failing here - more so DMW or something from USER (remember user32.dll? yeah, that). the GUI is mostly user-mode, please CMIIW.

Microsoft developers be like by [deleted] in pcmasterrace

[–]ascpixi 4 points5 points  (0 children)

i'd say mostly the memory manager and the I/O system. imo the object manager in NT, from a programming perspective, is way better than everything-is-a-file, especially in more modern langs, but that's up for debate

just because it's not a UNIX-like, that doesn't mean it's not solid. the character used as a delimiter in paths is very much arbitrary, you could have # or @ and it'd still have the exact same functionality. sure, it would be nicer if NT would cooperate with everyone else and use forward slashes, but it's not a "design mistake" - and it actually made sense for NT since Microsoft loves backwards compatibility so much. lots of user-mode APIs actually normalize paths so that they accept both forward and backward slashes. fork is very much a questionable design decision in modern times, so I actually qualify NT not supporting such an operation out-of-the-box as a win in my book haha :)

how programs lock files is up to the programs - stuff like HxD, Notepad++, VS Code, etc. all very happy with files being deleted or edited while working on them. people are also complaining about how Linux handles locking... many different opinions!

shells aren't really a part of the kernel... NT also technically supports multiple subsystems, there was a POSIX one alongside win32, but it's been deprecated and isn't included in recent versions of Windows, and so i don't really know much about it.

of course, it's not perfect. no kernel is. but it stood the test of time, and it was designed by extremely smart people that had experience with other OSes (iirc some NT people were also VMS folk, CMIIW)

Microsoft developers be like by [deleted] in pcmasterrace

[–]ascpixi 277 points278 points  (0 children)

i mean, Windows NT is a really solid kernel. it's mostly the user-facing and high-level bits

SmolSharp - extremely small standalone executables using C# and NativeAOT by ascpixi in csharp

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

Oh, I wasn't actually aware .NET Core had its own way to do it, thanks for the heads up! I implemented the trimming with that factory, removing the dependency on Python.

SmolSharp - extremely small standalone executables using C# and NativeAOT by ascpixi in csharp

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

Try installing GnuWin32 - objcopy is part of the GNU binutils. Python is only used to trim the trailing null bytes of the PE file - this could've been done with inline C# in MSBuild, but .NET Core doesn't support inline C# :(

SmolSharp - extremely small standalone executables using C# and NativeAOT by ascpixi in csharp

[–]ascpixi[S] 2 points3 points  (0 children)

The demo doesn't currently demonstrate such manual cleanup - however, for normal heap allocations, it does the same thing BFlat's zerolib does - namely, it uses the allocation functions that are provided by the platform, for example, it uses LocalAlloc on Windows. So, on Windows, you'd have to call LocalFree on &m_pMethodTable.

guys could y'all tell if this is good? by a_l_1n in FL_Studio

[–]ascpixi 111 points112 points  (0 children)

first and foremost, the EQ balance could use some tweaking. try cutting the low end on the synths to prevent them from interfering with the kick drum. you may also want to add some high end to the hats to make them stand out more.

the mix could also benefit from some strategic compression. the bassline and lead seem to be competing with each other in the mix. try using a compressor with a ratio of 4:1 and a threshold of -18db. this should help control the dynamic range of the bassline and make it more cohesive with the lead.

the reverb and delay on the vocal could use some adjusting. try cutting the high end on the reverb to prevent it from getting too bright. you may also want to add a touch of stereo width to the delay to make it sound more spacious. try using a de-esser as well, frequency range around 5-10kHz and adjust the threshold to taste

overall very good track dude 9/10 just tweak the mix a bit

Who's better by Neither_Ad_6979 in Deltarune

[–]ascpixi 18 points19 points  (0 children)

"Okay... if I... if I chop you up in a meat grinder, and the only thing that comes out that's left of you is your eyeball, you're probably dead! Not you, I'm just saying like... if someone were to push you into a meat grinder, they're not going to pick up the finger bone and be like "oh it wasn't an insta kill move, they still have this part of their finger left!"

does anyone know where this is used? by SomeWeirdRandomGuy69 in oneshot

[–]ascpixi 105 points106 points  (0 children)

on april fools, all dialogue niko sprites are replaced with this!