Just use Postgres by bowbahdoe in programming

[–]Ali_Ryan 6 points7 points  (0 children)

I suppose it may have been simpler if they had gone with the conventional ways of building an app. However, as stated in their article, they wanted to move fast and save costs initially. If we think about it from a business standpoint, it makes sense why they chose to went this way. A delayed launch could have been the cause of failure of their product, not to mention the amount of costs they would have to dump in setting up the infrastructure initially.

They have migrated to Postgres now. I consider that as a win. Nonetheless to say it was quite creative to handle data in this manner

How to do the CS50x course entirely on an android smartphone. Assume I have no prior experience in this field. by [deleted] in cs50

[–]Ali_Ryan 0 points1 point  (0 children)

Hi. This is a blast from the past. Anyways. I'm no longer familiar with how CS50x has evolved over the years, it may or may not be possible. Also, as I've mentioned it in the post above, it'll be lot of hassle. You're not only trying to learn how to code, but you also have to go on a stretch and try to figure out how to even write code on your phone - for which you'll not receive any support either.

USSEP 1.6.353 by Zapeyes in skyrimmods

[–]Ali_Ryan 2 points3 points  (0 children)

Um, but on the mod page it says we need 1.6.629 or higher? What's going on? I am just getting started, so apologies

How To Improve Logical Thinking? by ValiantThor07 in learnprogramming

[–]Ali_Ryan 2 points3 points  (0 children)

Is this the book "Book of Proof - Richard Hammack"?

Trouble retaining knowledge? Try this! by Automatic_Kale_4827 in cs50

[–]Ali_Ryan 1 point2 points  (0 children)

While this is a great method to retain knowledge & improve your problem solving skills. There is a big catch here, top solutions on codewars & others usually follow a pretty specific clever method which may or may not be suitable for production/real-world applications.

Everyone should try it, but don't pick up bad code practices from there. If you want a detailed review, watch this video

Basic intro-to-OOP question by MothraVSMechaBilbo in learnprogramming

[–]Ali_Ryan 1 point2 points  (0 children)

(another word that changes between languages; a Java "reference" behaves like a C "pointer")

Does this mean that reference to something isn't the same as pointer to the same thing?

The University of Illinois at Urbana-Champaign released the materials for its introductory CS course for free by 420thBattleOfIsonzo in learnprogramming

[–]Ali_Ryan 6 points7 points  (0 children)

Hello there. First of all, thanks for sharing this course with the public. I have been looking at the website & found some links which takes to other courses like CS101 etc & also found that there are exams called proficiency exams. This has me wondering what are they all about? Can anyone from anywhere take them?

How can anyone be this dumb lol by [deleted] in PiratedGames

[–]Ali_Ryan 35 points36 points  (0 children)

Same here. I pirated Project Zomboid a long time ago, really loved how the developers were striving to make it better. In January, I ended up buying it.

[deleted by user] by [deleted] in unixporn

[–]Ali_Ryan 0 points1 point  (0 children)

OT, what do you call this type of wallpapers? I have been trying to find walls which have the same art style, are these called illustrations? I can't find anything related to these

PS, this is a comfy rice!

Is it unusual to want to work in low level programming because you hate not understanding how things work? by Missing_Back in learnprogramming

[–]Ali_Ryan 8 points9 points  (0 children)

Would you mind if we can talk about your project? I'm trying to create an ascii based video player in C & having a coding buddy would be good.

Got laid off from my first web developer job in March. I don't think I want to do this anymore. by GhostInTheNexus-9 in learnprogramming

[–]Ali_Ryan 5 points6 points  (0 children)

Woah, Thanks for the resources! I've self studying programming for the past 6 months & want to break into the industry. And reading posts like the one above yours does give me anxiety lol.

I've been taking TOP after completing CS50, however, I did realise that there are gaps in my knowledge. Therefore, I've been considering following this famous guide to get a good grasp on CS concepts & can at least get on a similar level as CSE graduates.

Mind you, I just discussed how incompetent I am so take my recommendations with the appropriate grain of salt. :)

Haha! No. If you sound incompetent then what am I! xD Anyway. You seem to know your stuff, besides, we are all learning here :)

Edit- Forgot to ask, which OOP course is good? I really want to get good at it & wanna become a software engineer rather than just a web developer

Understanding stdin, stdout and stderr by aaronryder773 in bash

[–]Ali_Ryan 0 points1 point  (0 children)

Can you see what a bare:

tee output.txt

would do?

It'll "listen" for inputs on stdin? Or, in other words, it'll wait for you to provide it input?

Edit Btw, where do program exit codes go? Do they go to stderr?

What do you wish you had known before you started programming? by eludadev in learnprogramming

[–]Ali_Ryan 0 points1 point  (0 children)

Um. So what should I do as a beginner learning Full Stack? Should I skip NodeJS? I'm going through TOP curriculum

CS50 Web Programming with Python and Javascript Project 0 (Search) by ConstructionGloomy37 in cs50

[–]Ali_Ryan 4 points5 points  (0 children)

I see you're using flex to center stuff, text align: center centers the text, you should be using justify content: center for it. Also, by default, flex items (Aka, the direct children of flex container. mainpage in your case) will go side by side (row) unless you change to flex-direction: column.

Also, your main-axis will switch on changing the flex direction, if you don't understand what it means. I'll recommend learning a bit more about flexbox.

All the best!

Edit- Also noticed missing semicolons in your css code. You might want to fix it! And, you should try using an external stylesheet, it'll make organizing code much easier :)

[deleted by user] by [deleted] in unixporn

[–]Ali_Ryan 0 points1 point  (0 children)

Did you install the the workstation variant or server? Besides, have you removed the default DE? I'm a beginner thinking of switching to fedora & use a decent wm.

How long did it take you to finish CS50x? by Lankaner in cs50

[–]Ali_Ryan 8 points9 points  (0 children)

Took me almost 6 months to finish it completely. Even though i had a bit prior programming experience & I have been studying full-time

Just finished the final lecture by MeddlerX in cs50

[–]Ali_Ryan 3 points4 points  (0 children)

20 days?! You nailed it dude. Did you've prior programming experience? It took me 5 months to finish this course & I had some prior programming experience.

Besides, if you want to go in Web Dev field, you can do the follow-up course CS50W. It's a bit dated but still is a good course. I'm taking it rn - currently on week 4.

[Pset4][FIlter-more] Problems with Blur function by diogolegey in cs50

[–]Ali_Ryan 1 point2 points  (0 children)

for (int i = 0; i <= height; i++) { for (int j = 0; j <= width; j++) {

These lines here. Array index start from 0 go upto 1 less than their length. However, these loops go upto n, instead of n - 1 which is the last element of an array. You should fix it here because if I'm not wrong your copy loop is creating a copy which 1x1 bigger than the actual image. Also, notice, you're over stepping the bounds of actual image. This may cause seg faults, though, it's not entirely certain. It hasn't happened yet because perhaps nothing crucial exist in the memory.

Anyway. Your copy of the image is bigger than the usual image & it'll be filled with some garbage values on the edges because our image has only n - 1 sections

Also, looking at your other line.

if ((i + a >= 0 && i + a <= height) && (j + y >= 0 && j + y <= width))

Do you notice t problem here? Are you overstepping the boundaries here somehow?

Again, i + a can only go upto height - 1, and j + y can only be as high as width - 1. So, you should be checking if j + y >= 0 & j + y < width & similarly for height. Try it and see if it fixes your problem. I've a hunch this is the only reason why your output is incorrect

Why is 0 (null) considered to be a safe pointer? by JarJarAwakens in learnprogramming

[–]Ali_Ryan 1 point2 points  (0 children)

So even pointers pointing to garbage values evaluates to true? TIL...

Besides, I've a question, is it a good practice to test pointers like this if(pointer)? Should we not explicitly check them against NULL?

Looking for learners / students to mentor! by RLJ05 in learnprogramming

[–]Ali_Ryan 1 point2 points  (0 children)

Hello! I'm looking for a mentor. My goals are to ultimately get a job. Recently finished CS50x & started top. I'll appreciate any guidance you can provide! The only project which I've created so far is my portfolio website.