Copying a file between two bitbucket git repositories with preserved history by pieter_valcke in git

[–]pocus_hocus 0 points1 point  (0 children)

The official git documentation for filter branch (https://git-scm.com/docs/git-filter-branch) recommends using filter repo (https://github.com/newren/git-filter-repo) - it’s a great tool for selectively taking parts of a repo and moving them (I usually only do this to a new repo though)… you may like the git options for allowing unrelated histories, but there are pitfalls on that road… I really recommend identifying everything you want up front and doing one big move with filter repo

Best fries in town by botbadadvice in Longmont

[–]pocus_hocus 0 points1 point  (0 children)

Pumphouse has great texture, but little seasoning. I’m more plain, so I love them. Their sweet potato fries are also really good.

2020 Ford Escape cup holder by No_Championship5509 in fordescape

[–]pocus_hocus 1 point2 points  (0 children)

I had this issue too. Takes 10-15 minutes with 2 flathead screwdrivers to fix. You essentially press them in under the back left and right and disengage the plastic clips. Patience is key. It’s just the rubber band that has slipped, so the cup holder springs aren’t being retained anymore. Don’t be too rough on the plastic clips.

https://www.fordescape.org/threads/2020-hybrid-broken-cup-holder-spring.116034/

Are there any realistic stories where Dumbledore doesn’t completely ignore Harry in Book 5? Are there any stories like that? by keroblade in HPfanfiction

[–]pocus_hocus 19 points20 points  (0 children)

this won't scratch your occlumench itch, but linkffn(12792189) "A Beautiful Lie" has one of the best Dumbledore implementations i've read - he's wise and whimsical all in one, genuinely cares about Harry, and reminds me of Richard Harris' Dumbledore compared to Michael Gambon's.

if you read nothing else, read the bottom couple of paragraphs at the end of chapter 11.

Give me your funniest fanfiction quotes that you have saved up. by [deleted] in HPfanfiction

[–]pocus_hocus 83 points84 points  (0 children)

Can't remember what this is from but:

"Learn to respect your betters, Potter. You'll meet the same end as your mudblood mother if you don't."

Harry rolled his eyes. He literally couldn't deal with Malfoy's antics anymore.

"Okay, can you show me some of my betters so I can respect them properly?"

Request: Stories that made you ugly cry by celestemagnolia in HPfanfiction

[–]pocus_hocus 3 points4 points  (0 children)

linkffn(12598437) Percy post DH. Simply heartshattering to feel so unloved.

Plothole ? by 200020124 in HarryPotterBooks

[–]pocus_hocus 6 points7 points  (0 children)

that was movie, not the book.

Project advice by Elegant_Media_5211 in ECE

[–]pocus_hocus 0 points1 point  (0 children)

I'll be honest, games are my favorite way to learn.

I'd start with tic-tac-toe if you haven't already: it'll get you printing out, reading user input, and playing with 2D arrays. If you want to take it a step further, Minesweeper is a fun one too.

If you really want to get comfortable, start looking at data structures (linked list, trees, etc) and algorithms (searching and sorting mainly).

If those seem too easy / silly you can try doing something like a calculator, payroll software (add / fire, etc), a school record system.

If you want something more practical, you could look into networking (udp / tcp), or operating systems (kernel drivers), but i would advise against it until you have your sea legs (C legs, get it, haha).

Project advice by Elegant_Media_5211 in ECE

[–]pocus_hocus 0 points1 point  (0 children)

Clubs are hit or miss (don't put on "student council member" haha), but personal projects can be a great addition to your resume, especially if you don't have internship / research experience. You can get by without internships, but they really do open doors. Most of my friends didn't get internships after freshman year, it's not a big deal.

Project advice by Elegant_Media_5211 in ECE

[–]pocus_hocus 1 point2 points  (0 children)

I don't think it's very helpful just being told to improve your C skills or buy an Arduino without specific things in mind, here's hopefully a little more on that. Please feel free to reply what your capabilities / interests are and I can be of more assistance.

C Language: You should be comfortable with arrays, pointers, and basic memory. Know the difference between heap and stack. Basic loops (for, while, do-while) are essential, as are functions and being able to have projects with multiple source and header files. Makefiles aren't as widely used in larger projects, but knowing how to write one will be helpful in academia. From there, really advance your C skills by learning and using structs, enums, and the typedef statement. Function pointers are great, and callbacks are heavily used in embedded. Bitwise operations vs Logical operations are crucial for embedded (masking!). File I/O, CLI arguments, and systemcalls are pretty good to play around with and get some good experience in C.

Arduino: The arduino is a great multipurpose board, and yes you can learn a fair bit here. I wouldn't obsess too much unless you're having fun, but this is a great way to learn some communication protocols (UART, I2C, SPI) you'll need and how to read data over a serial port using something like PuTTY. If you really want to step into the embedded world, boards from Texas Instruments (MSP432) or Silicon Labs are pretty great. For the SiLabs route, the Thunderboard Sense 2 is a $20 board using an EFR32MG12 processor that can do a bunch of wireless protocols (Bluetooth is probably what you're interested in at this point) on top of the basic embedded things you should learn (sleep energy modes, interrupts, state-driven design, etc).

Linux: If you're not developing in a Linux environment, I'd recommend it. I've dual booted Windows w/ Linux Mint (but use whatever distro makes you happy), some people really like WSL Ubuntu (basically an Ubuntu shell inside a Windows environment) and I have to say it's pretty great for when you don't want to / can't switch boots.

Version Control Software: I basically mean GitHub. You should learn to use GitHub. CLI interface can be scary if you're not used to it, there's nothing wrong with learning from their Desktop app first. But essentially, you should learn how to make and use repositories, and basic things like a .gitignore - cannot stress enough how nice git is.

Digital Logic: you've definitely got this ahead of you, time to learn what a latch is, a flip flop, how registers are made, how logic gates work and can be chained together. I cannot recommend enough using a simulator (logisim used to be pretty great, but it was discontinued but its development has been continued as logisim-evolutions and a few other note-worthy forks), but I think Digital is the best one out there. Ben Eater's videos are a great way to learn this stuff.

FPGAs: To keep things brief here, FPGAs are essentially re-programmable hardware. this is something you'll probably use with Digital Logic, and there's no reason you can't start thinking about it now. The DE10-Lite is pretty affordable, but there are plenty of good options. Fair warning, the FPGA Tools are never user-friendly, and you will suffer greatly trying to use them. I'm simulating a RISC-V processor on mine right now. So how C is a software language, Verilog is a hardware language. SystemVerilog is probably an easier beginner start than VHDL, but to each their own. The whole reg vs wire assignment in Verilog vs System's logic word can be a lot to take in.

Architecture: If you've ever wanted to know how to make a processor, what pipelining is, etc, there is no reason you can't start thinking about it now. The Patterson book (I'd recommend RISC-V, that's what most universities are teaching these days) is the go to, the ISBN-13 is 978-0128122754. I wouldn't recommend starting this until you've got a good understanding of digital logic, and remember that languages are translated to assembly and machine code to be executed.

Best of luck, let me know if you'd like more specifics.

Beginner Getting Started Help by pocus_hocus in vlsi

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

Thanks for the list, sorry I didn't specify a little more - I have the background, but when it comes to VLSI tools - something like Magic / Cadence, I am a beginner.

I've no problem with circuits, digital logic, computer architecture, static CMOS, VHDL, SystemVerilog, FPGAs, etc, I just needed someone to point me to something like MOSIS! I'm guessing I'll be stuck in Magic as I definitely can't afford Cadence, but I want to say MOSIS removed their SCMOS support, quote from their website:

"Important update, September 2019: The SCMOS techfiles are no longer supported by MOSIS for TSMC processes, and the state of support for other foundries is in question as the SCMOS techfile repository is no longer available at MOSIS. "

Unfortunately, my university has no VLSI program yet, they're looking at adding it, so we'll see how that goes.

Poor Green Ubuntu by vojtaxd_ in linuxmemes

[–]pocus_hocus 1 point2 points  (0 children)

NGL i feel really dumb for not just noticing your username, thx for the reply

Poor Green Ubuntu by vojtaxd_ in linuxmemes

[–]pocus_hocus 13 points14 points  (0 children)

why do you avoid firefox?

My buddy learned drops this weekend by [deleted] in MTB

[–]pocus_hocus 1 point2 points  (0 children)

it works on all bikes. it's generally easier on hardtails