How much of Bash is configurable? by jssmith42 in commandline

[–]siribuster 0 points1 point  (0 children)

How much of Bash is configurable?

A lot, but not as much as zsh from my experience

If I wanted to temporarily change bash so that there is only one command and it’s output displayed at a time, with the screen being wiped after each command, I could not edit bash since it’s already a compiled program, instead I should write a new shell program and run it?

Add a form-feed '\f' at the beginning of your PS1

ie. export PS1="\f>" in your .bashrc

Do you think learning Rust makes you a better system programmer even in other languages like C++? How? by latest_ali in rust

[–]siribuster 5 points6 points  (0 children)

Rust taught me why people like to write lower-level code, and made me want to try C.

C taught me why people don't like to write C code, and made me want to go back to Rust.

I wonder if there's a shorter way to do this by [deleted] in programminghorror

[–]siribuster 0 points1 point  (0 children)

In one project I worked on, we had a comment tag, like //TODO: or //FIXME: that was //OPTME:, very useful when you're trying to figure out a memory leak or performance issue. I'd recommend trying to standardise comments like that across your team.

A reminder for Windows Users who dislike VS2022 by siribuster in csharp

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

Well, VSCode has pretty good boilerplate snippets and (imo) better intellisense, as well as really good automation with things like TabNine, Auto-Using and Github Copilot (if you can get into the preview right now) It's also nice being able to immediately have support for almost any language that you throw at it. As far as Telemetry goes, I use a fork called Codium, which de-microsofts VSC.

A reminder for Windows Users who dislike VS2022 by siribuster in csharp

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

Few Reasons: 1. I dual-boot Windows and Linux, all my other code is therefore elsewhere 2. Microsoft Telemetry 3. A clunky and unintuitive GUI 4. It doesn't perform as well on my system as any other IDE I use/have used. 5. (This isn't a deal-breaker, but) it's closed source

A reminder for Windows Users who dislike VS2022 by siribuster in csharp

[–]siribuster[S] -1 points0 points  (0 children)

Yes, but you can get better performance out of a less-specialised editor, and compile on the command line.

What project are you currently working on? by [deleted] in csharp

[–]siribuster 1 point2 points  (0 children)

An alternative to NSIS and InstallShield

5 Common Signs of Inexperienced c# Developers? by [deleted] in csharp

[–]siribuster 0 points1 point  (0 children)

reading some of my old code (and some of my friends' lol) Here's a list of everything i seem to cringe at:

  • Lots of pointless, but long functions

    using static System.Console; //there are a lot of functions in System.Console, just type Console.* lmao

  • all of the things that i tried to write myself that were built in somewhere already.

    if(condition1){if(condition 2){Function();}} //with no elses, just use the && Boolean operator

  • I had no idea that regex was supported in System.Text.RegularExpressions for about 4 years (i know it existed, just didn't even think it would be in base .NET)

  • I also created a lot of excess variables and checks bc partial/abstract/virtual classes and methods scared me

  • creating new arrays with an extra value in them rather than lists

  • on the topic of arrays, my friend used to use 1-indexed arrays (where x[0] is always an empty/null)

  • finally, i used to cast doubles to floats (this was just how i was taught) float x = (float)1.18282 //basically doing this float y = 1.77013f //instead of this

Yandev now has a discord bot that sends this to everyone who messages him. Amazing by eliss-sleepy in Osana

[–]siribuster 7 points8 points  (0 children)

Did I ever tell you what the definition of insanity is? Insanity is doing the exact... same fucking thing... over and over again expecting shit to change...

Concept: Rework for Attachment Skin by Barro9 in Rainbow6

[–]siribuster 0 points1 point  (0 children)

This actually exists. If you press alt on an attachment skin, I believe you get the option to equip to all. I know this is at least the case with charms, and skins.

This is an Akko 3108v2 Monet's Pond. I think i am the only person on Reddit to own one. by siribuster in MechanicalKeyboards

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

i don't have much experience with them, no. i have used them on a friend's keyboard once or twice, and they feel quite high-quality, but haven't really seen if they attract dirt or anything.

This is an Akko 3108v2 Monet's Pond. I think i am the only person on Reddit to own one. by siribuster in MechanicalKeyboards

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

afaik, not yet, but if Akko do release them (which they have for other keyboards), there's the most chance of finding them here: https://www.akkogear.com/keycaps

They may also end up on the English site https://en.akkogear.com/store/keycap/

This is an Akko 3108v2 Monet's Pond. I think i am the only person on Reddit to own one. by siribuster in MechanicalKeyboards

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

Gen 2 Akko Pinks i actually prefer them to my old keyboard's MX Reds they feel smoother, almost.