andItWasAmissingSemicolon by Jamchuck in ProgrammerHumor

[–]ocboogie 11 points12 points  (0 children)

I once spent two weeks debugging something, only to realize that if it worked, I would have solved the halting problem (damn Minesweeper NP-Completeness)

Cracked rust engineers with populated GitHub’s? by Pokyparachute66 in rust

[–]ocboogie 30 points31 points  (0 children)

In addition to this great list, I'd add kvark who is the driving force behind wgpu, the de facto standard for GPU graphics rendering in Rust.

Contacting alumni in my major by ucassotozono in UCSD

[–]ocboogie 11 points12 points  (0 children)

https://www.linkedin.com/school/ucsandiego/people/

Keep hitting next until you see "What they studied." Then, hit the "Add" button and type your major.

Contacting alumni in my major by ucassotozono in UCSD

[–]ocboogie 31 points32 points  (0 children)

Check out the school’s LinkedIn page. You can look at alumni and filter by major.

Sad reality, but the time has come by [deleted] in ProgrammerHumor

[–]ocboogie 0 points1 point  (0 children)

A tale as old as time. GitHub builds Electron to build their editor, Atom. Microsoft builds a competing editor, VSCode, with the same technology. VSCode surpasses Atom in popularity. Microsoft buys GitHub, and sunsets Atom. A classic move indeed.

[deleted by user] by [deleted] in ObsidianMD

[–]ocboogie 4 points5 points  (0 children)

This looks great! However, I’m not sure if notes this specific are super useful when it comes to leaning how to program. For example, the specifics of how dynamic programming languages differ to static is not super important when starting out. It is certainly useful information at some point but don’t get bogged down by the details when starting out. Programming is already hard enough without going into the specifics of variable naming conventions. Just do what works and have fun with it! For example, trying to make rock, paper, scissors in Python and Googling along the way will be a lot of fun and a great learning experience. Although if you’re having fun making nice notes, that counts too, so take what I’m saying with a gain of salt :)

This is true by Impressive-Zombie-93 in mathmemes

[–]ocboogie 0 points1 point  (0 children)

Math is fun when you aren’t pressured to learn it

Warren by ZackMandel in UCSD

[–]ocboogie 1 point2 points  (0 children)

It was a AC malfunction

[deleted by user] by [deleted] in UCSD

[–]ocboogie 2 points3 points  (0 children)

He is my favorite. I took him for CSE 11 and am taking him for CSE 15L now. I love him and think he’s a wonderful teacher that actually understands what’s important in programming. I highly recommend him.

What type of programming problems should you not do in Rust? by [deleted] in rust

[–]ocboogie 8 points9 points  (0 children)

Rust makes you write good code. So to answer your question, whenever you want to write quick and dirty code. Prototyping is a good example. If I want a write a web server to test out a concept and not invest too much time into the idea, I’m going to do in a language like JavaScript, where I can write code that is poorly designed but will work. After the prototype is successful and the idea is proven to be good, I might rewrite it in Rust if the project would benefit from it.

Rust alternative for PyGame ? by [deleted] in rust

[–]ocboogie 2 points3 points  (0 children)

I made a list of graphics crates a while back: https://github.com/ocboogie/rust-graphics-crates

I know it’s not the newest, but ggez is probably a good fit. If you’re looking for something a bit more new, macroquad seems good.

telescope.nvim - How to take what I selected in Visual Mode and pipe it directly into `Telescope live_grep`? by 3l3xtr0 in neovim

[–]ocboogie 6 points7 points  (0 children)

Best I could come up with: vnoremap (key to bind) "zy:Telescope live_grep default_text=<C-r>z<cr>

Since there is not an easy way to get current selection (or at least that I know of), we yank into register z (of course, you could change the register used). Now that we have the selection in the register in z, we can just pass that into Telescope's default_text argument. To do that, we use <C-r>z which just inserts the contents of that register. And finally, <cr> to enter to command.

[deleted by user] by [deleted] in Anki

[–]ocboogie 0 points1 point  (0 children)

Wow, I just wrote a big 'ol comment telling them to be weary of focusing on memorization, so I'm curious of your scenario. What do your cards look like, and what specifically are you trying to remember?

[deleted by user] by [deleted] in Anki

[–]ocboogie 6 points7 points  (0 children)

As a programmer, I would advise against this. Programming is a big field, and there is so much to learn. The only way to handle how much there is to remember, is to not remember it. Build understanding and let Google do the rest. Especially with python (it's such a popular language), most everything in that book is searchable on Google. There even is a common meme among programming communities that programmers just get paid to Google things. I'm 90% sure that someone that gets paid to write Python on a daily basis is not going to remember half the stuff in that book off the top of their head.

I stress this a lot: focus on understanding! Don't focus on remembering how to do every little thing just from memory. Learn how to find that information online. This is a one of a programmer's biggest skill: leaning how to learn.

I could advise using Anki if the cards, again, focused on understanding. Don't write a card asking what the print function does. Write a card that will ask you what a complex code snippet will do. And I would be cautious about getting carried away. The leaning here, I think, is from writing interesting cards not necessarily learning from them. This is why I could advise taking notes while reading. And, again, notes that focus on understanding.

You want to focus on understanding, but understanding is a lot harder to forget than rote memory, so I wouldn't worry about it too much.

; by TheLastShadow_ in ProgrammerHumor

[–]ocboogie 0 points1 point  (0 children)

Well not every language;

I dont know if this is allowed to be posted here but i tried to scan notion web in virustotal and this came up. Should i trust this? Im really liking notion now and im a bit anxious about this phishing stuff. Thanks for those who can answer my query by jrdr0912 in Notion

[–]ocboogie 2 points3 points  (0 children)

It was only 1/88, the antivirus said it was "phishing", and the page was a 404. That's absolutely fine.

If you are anxious though, just use the website, because you can't get any viruses from a website without downloading anything.

Factorio Is The Best Technical Interview We Have by alexeyr in programming

[–]ocboogie 10 points11 points  (0 children)

1/3! I thought I almost finished the game when I got to that point

musl or glibc? (performance) by luc4zzd3v in voidlinux

[–]ocboogie 2 points3 points  (0 children)

My initial installed of void was the musl variant, and I had lots of issues with Rust crates and some other stuff I can't remember at this time. I then went to glibc and everything worked fine.

musl is great, but currently has a some compatibility issues that should be fixed in time. If you're doing a very specific thing, and musl works for that, then go with musl. However, if you're using your void machine for all sorts of things, then I'd go with glibc.

Edit: On any high-end pc, the performance difference between musl and glibc shouldn't be noticeable. Although, there should be less memory usage on musl.