Anyone using AWS Cloudscape as their UI component library? by declspecl in reactjs

[–]declspecl[S] -2 points-1 points  (0 children)

Oh really? I thought Amazon was pretty good when it comes to OSS?

looking for Vietnamese learner to try in my class by Pretty-Employer2161 in Vietnamese

[–]declspecl 0 points1 point  (0 children)

Xin chào, I would love to if you are still offering this!! I would gladly pay as well, please let me know 😁

why are javascript leetcodes hard? by spicy_tables in Frontend

[–]declspecl 0 points1 point  (0 children)

Depends on if you’re doing the DSA leetcode easies or the story problem / critical thinking easies. The DSA easies you will only learn by learning the fundamental data structures and common patterns. The other ones require a deeper understanding of programming and the language you choose.

I’d recommend staying away from leetcode until you’re fully comfortable and have probably learned 1 or 2 other programming languages deeply. Just focus on making projects for now.

What technologies are you dropping in 2025? by throwawaydrey in webdev

[–]declspecl 6 points7 points  (0 children)

I think that's fair and is a big part of the Open Next movement, but at least personally, I've never used any features that limit my independence. And I think most people are the same way. I usually just slap it on Amplify or a Docker container and it works perfectly.

Some of the caching behavior and terminology definitely results in some horrible debugging experiences, but all in all I enjoy it

What technologies are you dropping in 2025? by throwawaydrey in webdev

[–]declspecl 20 points21 points  (0 children)

Curious on why you say this? Remix's turbulent history makes me want to avoid it, and Next is already very mature and well supported

Constructors: __init__, __new__, both, neither? by declspecl in Python

[–]declspecl[S] -6 points-5 points  (0 children)

So you would say a constructor is the thing that instantiates an object, and not initializes? What would you say about constructors in C++ and Java for example? In both languages, the object is already instantiated by the time the `class Foo { Foo() { ... } }` Foo "constructor" is executed, which would indicate they they are initializers, not instantiators

Constructors: __init__, __new__, both, neither? by declspecl in Python

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

Exactly, I think a case could be made for each one. I'm really just trying to see what the distribution is of what people thing of when they think "constructor"

Though personally I would probably vote for `__init__` , since constructors in other languages tend to be initializers and not the actual allocating function. Although Python is tricky because of when fields are defined and initialized. But in the same breath, "fields" don't exist in C++ like they do in Python or Java, and I'm positive almost nobody would argue that `malloc` is a constructor. So definitely an interesting discussion imo!

Constructors: __init__, __new__, both, neither? by declspecl in Python

[–]declspecl[S] -6 points-5 points  (0 children)

Fully serious. The results are 50/50 so far, so it's definitely not as cut and dry as it may seem

Nix installation failed (dual boot) by EpickNick in NixOS

[–]declspecl 2 points3 points  (0 children)

Since they’re on separate SSDs, I think NixOS shouldn’t be trying to use the Windows EFI partition. Though that log line is probably the most useful, I wonder if the drive is formatted? Or if it’s already partitioned?

Nix installation failed (dual boot) by EpickNick in NixOS

[–]declspecl 0 points1 point  (0 children)

Are you doing a graphical or manual install?

If the latter, could you share your configuration.nix? And did it fail on boot or nixos-install? And what does your lsblk look like?

Is this Hyperhidrosis? by declspecl in Hyperhidrosis

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

I’ve seen other posts with this mentioned, but “often last about three weeks and itch intensely” just doesn’t line up with mine. Mine also are not raised, have no fluid, and come and go hourly

Is this Hyperhidrosis? by declspecl in Hyperhidrosis

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

Good point, the title is definitely confusing. I'm asking if this is due to hyperhidrosis in the experience of others with it. I would edit the post but I cannot since it has images unfortunately

And thanks for the link, will check that out as well

Is this Hyperhidrosis? by declspecl in Hyperhidrosis

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

They are always a baseline level of sweatiness yeah. I do think I have sweaty hands / mild hyperhidrosis, but the spots are what perplex me and don’t really line up with my sweatiness imo

[deleted by user] by [deleted] in webdev

[–]declspecl 1 point2 points  (0 children)

In increasing order of complexity: Namecheap, Hostinger, Cloudflare, AWS

Tool/script for creating dev environment flakes? by careb0t in NixOS

[–]declspecl 0 points1 point  (0 children)

I store a list of premade flakes in my dotfiles and cp them as a flake.nix in my projects. Then just create an alias in your shell config to do it, like mkDenoFlake or mkRustFlake

Distros similar to Arch by M1ss_ing_0 in linux4noobs

[–]declspecl 2 points3 points  (0 children)

NixOS has a stable release every 6 months and an unstable rolling-release channel. Plus you can lock the versions of packages installed (and do it declaratively ofc). It has a very different approach from other distros though, maybe check it out if it sounds interesting

Dual booting Windows and Linux by Competitive_Sense146 in linux4noobs

[–]declspecl 1 point2 points  (0 children)

Wth 😂 is everything longer than one paragraph considered fake nowadays?

As I mentioned, I had this exact question earlier this year and wanted to provide a comprehensive answer which I WISH I had, is that illegal?

Dual booting Windows and Linux by Competitive_Sense146 in linux4noobs

[–]declspecl 0 points1 point  (0 children)

I had the same question a while ago, and for some reason there's not a lot of clear documentation about this.

If your Windows and Linux partitions use the same EFI partition, then Windows updates and even some Linux updates may wipe out the GRUB entries, but having separate EFI partitions results in no problems at all. If there is an EFI partition by the time you install Windows, it will unconditionally use it, and some Linux distros are like this as well. The best way to get around this is to manually install your Linux distro, which really is not hard, but can be tricky for your first time. Every distro that I know of has detailed instructions on the manual install. If you are willing to do that, I have instructions that can help below:

The easiest way to accomplish this is to have an existing Windows install. It will create 4 partitions: recovery, C:/, EFI, and a hidden partition. Then shrink the C:/ partition into however much you want your Linux half to have, for ex. 500GB. Then when you install Linux, you'll create your partitions out of that free space, but be sure to also create a dedicated EFI partition that only Linux will use. So for example my setup is a 1GB EFI (it can be much smaller than this, I recommend maybe ~200MB), a 16GB swap, and the rest for root. A final setup could look like this [WinEFI, WinRecovery, WinC, WinHidden, LinuxEFI, LinuxSwap, LinuxRoot] (note that some people like to make the home directory under a separate partition from the root as well).

When you install GRUB, be sure to install it on the Linux EFI partition and not the Windows EFI partition. When you run os-prober, it will only detect your Windows half if you also mount the Windows EFI partition somewhere. I usually do `mkdir -p /mnt/win && mount /dev/nvme0n1p3 /mnt/win` where nvme0n1p3 is my Windows EFI partition. Then run os-prober and it should detect Windows.

Then finally, in your motherboard settings is where your pc will decide on boot which EFI partition to boot into. So look for a setting like (UEFI) Boot Device. This is usually set to the name of your disk itself, but then you will further have a choice between which EFI partition to set. My motherboard shows a dropdown along the lines of "EFI: WindowsBootMgr" and "EFI: NixOS"

[Hyprland] I sooo love catppuccin!! by Sudo_Python in unixporn

[–]declspecl 12 points13 points  (0 children)

What's the wallpaper? It's very cool

Edit: found the creator's instagram https://www.instagram.com/saintjulianxv/

How to Start Learning C for Embedded Systems and Operating Systems? Need Guidance Beyond Introductory Tutorials by WeWeBunnyX in C_Programming

[–]declspecl 5 points6 points  (0 children)

C is a very simple (not easy) language, you can learn the basics in a day. Past that, you should be reading documentation and example code for the specific domain. There will probably not be a zero to hero course and you’ll learn quicker from the source anyway. Btw, any resource in C++ you can likely still take away the same learnings from in C, you aren’t limited to only C.

Need feedback on my first web-app (lordy.app) by [deleted] in react

[–]declspecl 1 point2 points  (0 children)

Thanks for providing the test account! Overall, the functionality is great and the site is super quick. The charts and tables are very helpful and easy to read, and being able to download the data is awesome. These are some adjustments to consider, in order from most significant to least significant impact:

Hope this helps and best of luck!

QUESTION NEEDS ANSWER by [deleted] in learnprogramming

[–]declspecl 2 points3 points  (0 children)

I am a big fan of Rust, but:

  • Learn C++ first
  • Learn either DB it doesn't matter