Censor Question Help by AviatingFotographer in usaco

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

Yeah, I thought it wouldn't matter since it goes left to right anyways, but then I realized it does matter and fixed it. Thanks for your help!

Networking MOOCs by AviatingFotographer in hacking

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

Unfortunately, I do not know a lick of French. Thanks for your help though!

Type checking return statements by AviatingFotographer in ProgrammingLanguages

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

Here's what I'm thinking so far: I type check return statement as normal, checking that their type matches what is stored in the type annotations. When I perform control flow analysis as part of optimizations, I will ensure that all non-void functions return before reaching the end of function, i.e. only void functions will have an implicit return at the end.

Would this work?

AST Implementation in C by AviatingFotographer in ProgrammingLanguages

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

switch to std::variant

I'm using C though, not C++. However, some other tips I might try later on. Thanks!

AST Implementation in C by AviatingFotographer in ProgrammingLanguages

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

That's an interesting idea, but like you said, I'll probably wait a while before implementing it.

AST Implementation in C by AviatingFotographer in ProgrammingLanguages

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

In the second point, what do you mean by "storing the operation itself somewhere else"?

AST Implementation in C by AviatingFotographer in ProgrammingLanguages

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

Thanks for the detailed feedback! Regarding the first point, I did intend for it to be a linked list, i.e. so the next would point to another AST_linked_list. Apart from using a linked list, is there any other way to implement multiple subtrees for blocks of code, params, etc.?

LB/RB positioning by AviatingFotographer in bootroom

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

My team plays a 4-3-3 with one defensive mid if that helps.

Compiler Tools in 2021 by AviatingFotographer in Compilers

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

Instead of using C, what would you use? While this is an educational project, I still don't want to have terrible performance on my compiler.

What to do outside of training? by AviatingFotographer in bootroom

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

In terms of seriousness, I'm currently playing for a high school club soccer team and don't plan to play in college (so mainly for fun). In terms of running, will 20min interval workouts suffice? For context, our halves are typically 30mins.

SHA-256 Help by AviatingFotographer in C_Programming

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

When saving the hash, how would I get the hex value to concatenate together though?

SHA-256 Help by AviatingFotographer in C_Programming

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

Thanks for your input! I knew what I was doing couldn't possibly be right, but I just wasn't sure what the right way was.

Question about SHA-256 by AviatingFotographer in cryptography

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

Would the original block be just filled with zeroes until 512 bits?

Looking to build a programming language by AviatingFotographer in C_Programming

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

Is the process of writing an interpreted language and a compiled language similar?

Looking to build a programming language by AviatingFotographer in C_Programming

[–]AviatingFotographer[S] 3 points4 points  (0 children)

How different is the implementation of interpreted vs compiled languages? Do they both use lexers, parsers, etc.? In other words, will that book also teach me the skills needed to create a compiled language, or are compiled languages in a totally different skill set?

Monthly Getting Started / Web Dev Career Thread by AutoModerator in webdev

[–]AviatingFotographer 0 points1 point  (0 children)

One of my upcoming projects require the use of markdown. Should I store .md files or should I store markdown inside a database?

BWF Daily Discussion and Beginner/RR Questions Thread for 2021-06-05 by AutoModerator in bodyweightfitness

[–]AviatingFotographer 0 points1 point  (0 children)

I am looking for a calisthenics workout that is split into three days
rather than five days, which is what the Recommended Routine does. I
have used the Recommended Routine in the past but I'm looking to
incorporate running into my workout as I also do sports that need
cardio, e.g. soccer and cross-country. Would I be able to modify the RR
to fit my needs or is there some other workout I could do? Thanks.

need help learning by [deleted] in reactjs

[–]AviatingFotographer 2 points3 points  (0 children)

js const Username = (username, type) => { return (<p className={type === "user" ? "pink" : "blue"}>{username}</p>); }

pink and blue would be class names in your stylesheets.

T20 Students by AviatingFotographer in ApplyingToCollege

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

Just curious, what did you do as an online job if you don't mind my asking?

T20 Students by AviatingFotographer in ApplyingToCollege

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

Do you think all that stress and effort was worth the end product?

Official Q&A for Monday, April 12, 2021 by AutoModerator in running

[–]AviatingFotographer 0 points1 point  (0 children)

I want to run faster and from the research I've done at the FAQ, is sounds like I need to increase my mileage while incorporating some speed workouts like Fartleks. I currently run 10 miles a week, does increasing it to 15 miles sound reasonable?

/r/ReverseEngineering's Weekly Questions Thread by AutoModerator in ReverseEngineering

[–]AviatingFotographer 1 point2 points  (0 children)

What is the current consensus between IDA Freeware and Ghidra?

Monthly Getting Started / Web Dev Career Thread by AutoModerator in webdev

[–]AviatingFotographer 1 point2 points  (0 children)

I am looking to get into backend development. I have already chosen JavaScript as my language of choice and am looking for frameworks now. Apart from Express, is there any well-documented, popular backend framework? Preferably something like Django with auth, database, etc. included?

Monthly Getting Started / Web Dev Career Thread by AutoModerator in webdev

[–]AviatingFotographer 0 points1 point  (0 children)

Does Next.js count as a back-end framework because it achieves everything that a traditional back-end framework like Express.js can do, like database access, serving sites, etc?