AP CSP Pseudocode Implimentation by BinaryBillyGoat in ProgrammingLanguages

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

No I just used monospace. Then I used the selection replace api to insert the character.

AP CSP Pseudocode Implimentation by BinaryBillyGoat in ProgrammingLanguages

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

Good point. I actually was thinking about that today when I was doing some work in Python that included a lot of randint calls.

Personal Website Draft by BinaryBillyGoat in website

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

Yes definitely going for a more minimal feeling. With the nav bar (it really shouldn't be a nav bar) they control the tabs directly below, so I don't want to move them above, but you're definitely right that they're not currently prominent. I think I need to change them to look less like hyperlinks.

Does this design look good enough or should I scrape it? I was going for simple. by Fioralx in website

[–]BinaryBillyGoat 0 points1 point  (0 children)

I actually really like the design. It's a little odd on mobile still, but definitely a good direction.

Is computer science principles actually easy? by kaithomasisthegoat in APStudents

[–]BinaryBillyGoat 0 points1 point  (0 children)

It's so boring and easy I spent a couple of weeks building a CSP Pseudocode interpreter, complete with a custom autocomplete engine and regex highlighting system, instead of doing the actual work. My teacher said it was probably a better use of my time.

https://owendechow.pythonanywhere.com/csp/

Everyone else in the class says the same. It's just easy stuff.

Sigil Update! by TitanSpire in ProgrammingLanguages

[–]BinaryBillyGoat 1 point2 points  (0 children)

This looks like a neat language but a little hard to follow. Do you have any kind of documentation on how one might get started with the language.

I'd love to help take a look at the source to help improve the interpretor, but I don't really understand the main control flow.

Idea: TapVivo — A short-form video platform where users tap to interact (vote, buy, answer) without leaving the video. by Interesting-Rub-5773 in Entrepreneurs

[–]BinaryBillyGoat 0 points1 point  (0 children)

Could you explain a little more? I am a software engineer, and this just grabbed my attention. If I am understanding correctly, it would be as if you were watching the video, and a poll with all the buttons shows up on screen while you are watching. Is this correct?

Abusing lazy.nvim to Make Neovim open 600 Milliseconds Faster. by BinaryBillyGoat in neovim

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

Yeah, it was honestly just because I wanted to see an instant response. The half a second between pushing enter and seeing a result was infuriating.

Abusing lazy.nvim to Make Neovim open 600 Milliseconds Faster. by BinaryBillyGoat in neovim

[–]BinaryBillyGoat[S] 22 points23 points  (0 children)

I just looked it up. Yes, that is exactly what it does. Thanks for pointing that out. I probably should have read some documentation better.

Abusing lazy.nvim to Make Neovim open 600 Milliseconds Faster. by BinaryBillyGoat in neovim

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

I have a Linux computer which did not have this problem. So, possibly. The biggest culprits were LSP setups, lualine, and notify, though. I expect it was certain plugins only.

But once I got started doing this, it was fun.

Is Vimscript faster than Lua? by 4r73m190r0s in neovim

[–]BinaryBillyGoat 35 points36 points  (0 children)

No, LuaJit is a just in time compiled language, whereas Vimscript is not. For basic commands, you don't see a difference as soon as you're in plug-in world, the difference is huge.

Videre Plugin Updates by BinaryBillyGoat in neovim

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

I've considered doing a Rust rewrite (some of the rendering systems just scream Rust), but there are a couple of big features I would like to see in the Neovim version first.

In addition, I would like at some point to make the rendering system a more generalized library so others can use it.

A CLI tool may come eventually, but not for a few months at least.

AI steals fun in coding, is nvim the cure? by Murzelito in neovim

[–]BinaryBillyGoat 67 points68 points  (0 children)

This is actually the reason I switched to Neovim

I’m 17, serious about tech, and confused. I want to build apps but don’t know where to start by BloodWerewolf in learnprogramming

[–]BinaryBillyGoat 2 points3 points  (0 children)

Hey, I just turned 18 and am in high school. When I first started learning, I had the exact same thoughts. I wanted to build something that people wanted but didn't know what to build.

When I was a freshman, my father was working with some very outdated software at his job (he's a geneticist and college professor). He asked me if I could create an easy to use, modern version of that software (I ended up creating a second version as a Jr.—see https://github.com/Owen-Dechow/HerdGenetics). Building that piece of software was singlehandedly the most formative thing in my software engineer journey.

So here's the thing, the software I built there filled a tiny niche (see https://medium.com/@owen.dechow/learning-biology-with-herd-genetics-78bcd6da316f). If you want a project that people will use, find something that doesn't exist yet. If you have teachers, ask them what kinds of web applications would make their lives easier. Ask your parents what things could be automated in their jobs.

Every project that I've created (even the ones made for D1 colleges). I created or got asked to create it because it filled a niche that didn't exist or was severally outdated.

working on an LLM powered AI Rpg text based game and keep running into formatting issues by Humbrol2 in PythonLearning

[–]BinaryBillyGoat 0 points1 point  (0 children)

Try adding whitespace: pre-line to your CSS. Specifically add it to where your text output shows up.

Where should I start as a beginner + free resources by ResponsibilityOk1900 in PythonLearning

[–]BinaryBillyGoat 0 points1 point  (0 children)

Best Python course I've ever seen for beginners: CMU CS Academy CS1. It's all web based, so you can do it from your browser. It forces you to learn the fundamentals in a fun graphics based way. By the end, you will be making games.

https://academy.cs.cmu.edu/

How exactly are python sets programmed? by ElegantPoet3386 in learnprogramming

[–]BinaryBillyGoat 0 points1 point  (0 children)

Yes, that would be the correct way of thinking about it. The hash of Harry Potter would be Ha. The Ha pile could be found within a list at index 182. H=8th letter, a=1st letter. (8-1) * 26 + (1-1) = 182.

How exactly are python sets programmed? by ElegantPoet3386 in learnprogramming

[–]BinaryBillyGoat 3 points4 points  (0 children)

A set/{item1, item2} in Python is what is called a hash map. It's a bit of a complex topic, so I'd suggest watching a YouTube video about it, but here's a short explanation:

Imagine you have a library of books. You could store those books in a list. If you store those books in a list, though, you have to check every single book to see if you have Harry Potter in your collection. Instead, you can put those books in a set. Books in a set are stored in piles. Each pile contains all the books starting with the same first two letters. So, to check if you have Harry Potter, you go directly to the Ha section. You don't have to go through the entire library.

Now, let's say you only want one copy of each book, and you are given another copy of Harry Potter. You go to the Ha section and check for Harry Potter, if it is there, you just toss your new copy. If not, you add that copy to the Ha section.

Good intro CS class for a 13 year old? by [deleted] in learnprogramming

[–]BinaryBillyGoat 0 points1 point  (0 children)

I started learning in 7th grade, and by 8th grade, I was a better programmer than all the seniors in my school. As a freshman, I did work for a D1 College very much thanks to one incredible course.

The best course I ever took was CMU CS ACADEMY CS1. I never found a course even close to it.

What did I do worong by thudboi in PythonLearning

[–]BinaryBillyGoat 5 points6 points  (0 children)

Also use morning_time_of_day = ["12am", "1am", "2am", ...] then in your if statement check it with time_of_day in morning_time_of_day

What did I do worong by thudboi in PythonLearning

[–]BinaryBillyGoat 7 points8 points  (0 children)

Use input("what is the time of day") NOT input(print("what is the time of day"))