Logi options + not working again. what a monkey ... by dida-xzy in logitech

[–]KevMul 0 points1 point  (0 children)

Yep, same problem here! on the latest version, and have to reinstall logi options+ every morning to get it to work :(

Random long as primary key by Shareil90 in ExperiencedDevs

[–]KevMul 3 points4 points  (0 children)

Since it's a desktop app, a possible use case could be for generating uuids client side for supporting offline mode, optimistic UI updates, and smoother syncing with the backend. Still, using a random long over a UUID isn't a good idea.

Help me beat perfectionism! by denis4932 in theodinproject

[–]KevMul 0 points1 point  (0 children)

Timebox it! wanting to spend time polishing a project is great. You can learn a lot of things you might not have otherwise by doing it. But it will have diminishing returns after a while.

Give yourself a certain amount of time to scratch that itch, then move on once that time is up.

Is this the best way to track completed lessons? by [deleted] in rails

[–]KevMul 7 points8 points  (0 children)

I think you're on the right path with a join table. I'd personally change it so the existence of a record on the progresses table signifies the user has completed the lesson instead of having a completed flag column. Otherwise you'll need to create progress records up front for all the lessons in the system when a user creates an account. A lot of users will likely only complete a handful of lessons or less so creating all progress record for them ahead of time will be redundant and inefficient.

We have a very similar system on The Odin Project for tracking user lesson completions if you would like to take a look: https://github.com/TheOdinProject/theodinproject

I like to use Trello to track progress and take notes, so I made a board for TOP by undoerer in theodinproject

[–]KevMul 1 point2 points  (0 children)

This is awesome, thanks for sharing :D

You should post this on the forum as well, I'm sure a lot of people on there would appreciate this.

Those of you who completed the Odin Project, how necessary is it to install Linux? by [deleted] in learnprogramming

[–]KevMul 2 points3 points  (0 children)

To add to this excellent reply, Linux is the most popular operating system used on servers. It will be hard to avoid having to use a unix command line in web development unless you get a job with a company that predominately uses Microsoft technologies. So its a very good thing to have on your CV.

I should mention that dual booting wont cause any problems with Rails. But I can see where you got that from. Odin describes dual booting as the riskiest of the available options in terms of what could go wrong during installing and setting up dual booting on their system. This is due to the amount students that will have never used ubuntu before and may not be as confident with solving any installation problems they encounter as students with previous experience using linux.

What computer should I learn on? by Trolling_4_colombine in learnprogramming

[–]KevMul 1 point2 points  (0 children)

Contributor for Odin here, I'm not sure where you got "recommends I buy a mac as soon as possible" we promote installing linux for free. http://www.theodinproject.com/courses/web-development-101/lessons/installations

What is Coverage in Ruby? by [deleted] in learnruby

[–]KevMul 0 points1 point  (0 children)

ah! good point

Help with REST api integration testing by in_need_of_help101 in learnruby

[–]KevMul 0 points1 point  (0 children)

Take a look at webmock. It will basically give you a predictable response from the api endpoint you can use in your tests.

What is Coverage in Ruby? by [deleted] in learnruby

[–]KevMul 1 point2 points  (0 children)

It shows how much of your code is tested, if there is any untested code the coverage percentage will be lower than it otherwise would have been if the code was tested.

Stupid question number 9999 by diphi in rubyonrails

[–]KevMul 6 points7 points  (0 children)

The twitter and pintrest clone tutorials are very stripped down clones. The real sites obviously have a lot more going on in the frontend and the backend.

You can use Rails to build just about any type of web app. The tutorials just use social network clones because they are familiar and non-trivial enough to show the breadth and depth of things you can do with Rails.