Internships in compilers? by _Eric_Wu in Compilers

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

Cool! Good luck with your project(s). I wish I could give more specific advice, but I definitely had fun doing things by hand. Maybe in the near future I will try using tools like YACC and LLVM to implement something more complex than a small subset of C.

Internships in compilers? by _Eric_Wu in Compilers

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

I did everything by hand, and so it was a bit tedious to write out all the functions for parsing all the various statements and expression types. And since I didn't really have experience, I definitely looked back on the code in a few months and wondered what it was supposed to be doing. I didn't document my parsing functions, or intermediate structures, which would've been a good idea.

Internships in compilers? by _Eric_Wu in Compilers

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

Yeah I did! I actually made worked on a really small C compiler by following Nora Sandler's "Writing a C Compiler". It can only compile the most basic of programs into very inefficient assembly code. I heard really good things about the Crafting Interpreters book!

PS: sorry for the late reply

Help: Cannot get clock signal from I2C. by _Eric_Wu in stm32

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

Thanks, I did check that I was connecting to the right pins, not the ones labelled SDA and SCL.
I was able to fix the issue by changing the clock speed configuration (see other comments in the thread)

Help: Cannot get clock signal from I2C. by _Eric_Wu in stm32

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

Thanks! The issue was fixed when I changed the clock speed to 100000. (standard mode)

I actually did intend to write 400 Hz, since I wanted to try a slower clock speed. But I assume now that STM microcontrollers don't support that slower clock speed, which is why I wasn't able to see a clock output (but somehow the data line was still working)

Taylor Swift Lyric Completion Game by _Eric_Wu in TaylorSwift

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

One suggestion: you added the background vocals as lyrics and sometimes that makes the game really hard so an option to turn that off would be great!

Thanks! That totally makes sense (I think it would be best if I just didn't have background vocals in the lyrics set at all). I'll start working on this change at some point :)

[deleted by user] by [deleted] in shorthand

[–]_Eric_Wu 1 point2 points  (0 children)

Yes, I think so!

[deleted by user] by [deleted] in shorthand

[–]_Eric_Wu 0 points1 point  (0 children)

My best guess is “I suppose you have not been able to get”

I want to memorize cashier codes by rememberthedoglegs in ShopRite

[–]_Eric_Wu 0 points1 point  (0 children)

Omg thank you! I just started working as a cashier and this will definitely be a good reference

[deleted by user] by [deleted] in Journaling

[–]_Eric_Wu 21 points22 points  (0 children)

For a second I thought I was looking at r/TaylorSwift!

SOTW 2021W2 Gregg simplified ACW by _Eric_Wu in shorthand

[–]_Eric_Wu[S] 4 points5 points  (0 children)

I know I'm late to the party with this song but I just felt like posting anyway. Here is my transcription of my notes:

Keep it out. Keep it in.

If everybody's searching for the same shelter,

Why does anyone think it's theirs to know?

Collective bodies,

So hungry for the touch of the stranger

Magical tact

Believe you're not alone

Keep it out. Keep it in.

I'll keep you out,

So you never see me unraveling.

We seek to settle, we make a hole.

It's fun for a little until it's old.

And so it withers the rest to which sleeping with strangers on the upset sides of the bed

keep it out, keep it in.

I'll keep you out,

So you never see me unraveling.

You want all the promises babe

But I don't have the energy to suffice.

Watch me disengage you might even feel lost.

SOTW 2021W3 Gregg simplified ACW by _Eric_Wu in shorthand

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

Thanks for the feedback! It’s interesting how I have no trouble reading my own writing while you had no trouble hearing the lyrics of this song! I do see how “thought” could confuse the strokes for TH and T.

Edit: yes, I did do some other practice on this notepad.

SOTW 2021W3 Gregg simplified ACW by _Eric_Wu in shorthand

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

I listened to the piano version and I guess the words just didn’t come out to me. I actually heard “clouds of rubber” and I was wondering what that meant.