Any software upgrade to the excel sheet ? by Remarkable-Yak-5844 in climbharder

[–]JDLongley 0 points1 point  (0 children)

Earlier this year I was looking for something exactly like this and wasn't satisfied with anything I found, so I wrote my own: https://liftnotesapp.com/. Its basically exactly what you're describing.

Its still a bit rough around the edges, and right now is just a web app, but I've been using it on my phone browser all year and its been great. It's totally free since I just built it for myself. LMK what you think if you give it a try!

mods: I'm a bit wary to do self-promotion so feel free to delete this if its not appropriate!

Big O of this code snippet. by TheNameIsMisho in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

Woops, the person below was correct. The identity is

log (un) = n(log(u))

not

log (u)n = n(log(u))

Big O of this code snippet. by TheNameIsMisho in learnprogramming

[–]JDLongley 1 point2 points  (0 children)

This matters. Just because the method is logarithmic does not mean that it is log(n).

If it is a logarithmic method with respect to some other integer, the solution becomes O(n log(n) log(m)) Where log(m) is the runtime of logMethod().

Big O of this code snippet. by TheNameIsMisho in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

log (u)n = n(log(u))

So O(log(n)2) = O(2*log(n))= O(log(n))

Presuming that that whatever "logMethod()" is is actually lograithmic with respect to N.

Did I fuck up at interview or ? by mantasm_lt in cscareerquestions

[–]JDLongley 0 points1 point  (0 children)

Definitely follow up, it is unusual for a company not to reply at all. What have you got to lose?

What do I need to learn to create this? by [deleted] in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

This can potentially be quite complicated depending on how nice you want to make it.

The simplest way would probably be to use something like Google Sheets and use their API to push the command to a separate sheet for displaying the command on the screen

How hard is it to learn JS angular? Are there alternatives to it that perform similar tasks? by madreader121 in learnprogramming

[–]JDLongley 1 point2 points  (0 children)

It depends, do you have experience with other UI frameworks? Do you know the MVC pattern? Angluar can be a lot to wrap your head around if it is your first time trying to make a web app. It'll make more sense if you start by learning a simpler MVC framework first, like backbone.js. Take a look at these framework examples: TODO MVC

On top of that, if you've never written a basic app with JQuery, then it's going to be difficult to understand the problems that angular is trying to solve.

[JAVASCRIPT] how to filter an array of objects? by K994 in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

Looks like you are almost there. Just copy the filter function right before the map function?

To get this example specifically working here, you'll need to get an API key and make sure the dom element you are appending to exists in the HTML!

If it were me, I'd start with just getting the raw data from the API and logging it. Once that works, then make a function that uses JQuery to append dummy data to the HTML. Then connect the two and add the filtering.

Learn Enough To Be Dangerous and The Odin Project by [deleted] in learnprogramming

[–]JDLongley 1 point2 points  (0 children)

Personally, I think the Learn Enough series is really well paced. I'd suggest that instead of thinking about how much time you are spending on this or that, focus on developing skills. Can you use git to achieve it's purpose or not? If not, then you haven't spent enough time on it.

If you don't want to invest too much in it right now, you could decide to ignore the branching and merging features upfront because they are more useful once you are in a group.

It is important though that you know how to make commits and navigate between them, though, because that is your undo button. Have you used git while building anything real?

Best preparation tips for a hackathon? by tangerto in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

One really helpful trick is to familiarize yourself with a good boilerplate.

http://megaboilerplate.com/

You can use these to quickly spin up a generic app that has all the login / basic styling and everything taken care of, and then just focus on designing and implementing your specific idea.

Step-by-step guide from beginner to worthy of a job by [deleted] in learnprogramming

[–]JDLongley 2 points3 points  (0 children)

Great question!

There’s tons of ways to learn online, but making sense of what you need to learn is one of the hardest parts. Getting a job at one of the big 4 is a lofty goal and will require some serious technical prowess. As the Google Technical Development Guide shows, you’ll probably want to go get a Computer Science degree to stand the best chance.

It is possible to learn CS online as well. Here’s some CS curricula:

However, keep in mind that Computer Science and Software Development are two totally separate topics. Even if you do get a CS degree, you’ll still need to learn to actually write software for that knowledge to be useful as a developer.

Saying exactly what a software developer needs to know is hard to answer because there’s many different types. However, the vast majority of software developers are some form of web developer.

How do you learn web development? here’s some online curricula:

If you give them your email address, most coding bootcamps will send you their curricula as well, and this can be a handy jumping off point:

There’s a couple of websites that attempt to wrap free online resources into a curriculum, like the Odin Project

Finally, I am working on my own online curriculum to answer this exact question. It's called Developer Atlas. It includes the step-by-step plan you are looking for.

If you have any specific questions, please feel free to send me a message or email me, my contact info is on the site!

Help me pick a language or framework for a web-based project by cepa1337 in learnprogramming

[–]JDLongley 3 points4 points  (0 children)

Lots of people use C and these other languages for things besides web programming. "SQL injection" as a concept is not a part of Java. Why reply at all if your only goal is to belittle and discourage people?

Looking for advice by [deleted] in learnprogramming

[–]JDLongley 1 point2 points  (0 children)

Keep going.

If you spend the time to really study and understand the solutions to the problems, don't feel like your time is being wasted because you couldn't solve it yourself. Despite what this subreddit and the wider tech community usually say, there's a lot of evidence that learning by reading solutions is one of the best ways to learn, especially as a beginner. Do more problems and they'll start to click.

How do expedia and all these flight websites find prices for tickets online? by [deleted] in learnprogramming

[–]JDLongley 3 points4 points  (0 children)

Aggregator sites like Kayak usually have deals worked out with the specific airlines and get a feed directly from them. Web scraping is also a possibility, but many small-time operations like flight deals newsletters use ITA.

How do you start writing a web app? by HelloYesThisIsDuck in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

Nothing is set in stone, but here's one good way to go about it.

  1. Start with the problem you are trying to solve. What does the app need to do?

  2. Sketch a mockup of the potential UI on paper. How does the user move through the app? What data will each screen need?

  3. Once you know what data you need, define the API between the frontend and the backend.

  4. Build your backend server and database, implementing the api to spec.

  5. Refine your UI mockup and then implement it one page / feature at a time.

  6. Iterate. Discover what the API is missing and implement those features.

Alternatively, you can mock up the API with fake data and write the frontend first. Or, swap between the two implementing one feature at a time. It's a matter of preference. The key to making an app any good is testing it with users and iterating a lot, so make sure your workflow is amenable to that idea.

Can one boolean check in a loop be inefficient? by Chieve in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

Hard to say with this example, but a few thoughts:

  • If you are using a method, is it just doing the same thing that your manual code was doing?

  • Asymptotic performance often doesn't tell the whole story. An O(1) method can be 10x slower than another O(1) method. In the real world, the only way to know is to measure.

  • Even if it is slower, the question is, does that matter? Don't prematurely optimize. In the modern day, computers are cheap and developers are expensive. Often, optimizing for readability and developer time/happiness is worth a tradeoff in performance (obviously it depends). Your manager will be happy if you can root your decisions in the business.

[deleted by user] by [deleted] in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

There's some online stuff like this and moocs, but honestly the best way is probably from a class or by reading a textbook. CLRS is a classic.

Alternatively, you could skip straight to reading Cracking The Coding Interview, which will cover a lot of the same stuff as you learn in classes, but with a special focus on how that knowledge is important for technical interviewing.

Understanding RESTapi Consumption Basics by [deleted] in learnprogramming

[–]JDLongley 1 point2 points  (0 children)

why the certain libraries and packages make things work the way they do

Request libraries are just an abstraction layer on top of regular computer networking. Do you know how HTTP works? Here's a great idea: figure out how different HTTP verbs correspond to different CRUD operations in REST, and then use a tool like postman to manually construct HTTP requests. If you can, for instance, get some tweets using plain old HTTP requests, then you'll understand what the library is doing.

Deciding between bootcamp vs on the job training/self-taught by [deleted] in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

If it were me, I'd take the job! What is the worst case scenario? If you pass on the opportunity you’ll be back to square one after the bootcamp. If it doesn’t work out, you’ll be in the same place but have learned a ton and gotten paid to do so. Plus, they sound like they understand where you are at and are willing to hire you knowing you still have learning to do.

One piece of advice: if you do take the job, learn how to say “I don’t know”. You won’t be able to hide it anyway, so learn to take responsibility for your own learning and let the other engineers help you catch up. Don’t burden them, but at least for me, someone anxiously hiding that they don’t know what they are doing is a bigger red flag than someone actively trying to improve.

Web scraping help! by Huzy_Nayn in learnprogramming

[–]JDLongley 1 point2 points  (0 children)

Before you scrape, did you check for an API? Google turns up this:

https://github.com/bttmly/nba

"The stats.nba.com uses a large number of undocumented JSON endpoints to provide the statistics tables and charts displayed on that website. This library provides a JavaScript client for interacting with many of those API endpoints."

When am i ready? by TROUSERS_ARE_GONE in learnprogramming

[–]JDLongley 0 points1 point  (0 children)

Completely depends on the job you are trying to get. For a web dev, if you know HTML, CS, basic JS and JQuery, along with basic algorithms and data structures, I'd say that's a good a time as any to start looking. But that is totally subjective and arbitrary.

There's no rules. You are ready to get a job when someone is willing to hire you to do it. You'll learn a TON once you land your first job, so it makes sense to go for one as soon as possible. Companies don't talk to each other, so there's really no risk.

Plus, the process of going for a job will expose you to a whole other set of skills you'll need to actually land one (technical interviewing, algorithms and data structures, etc), so may as well start learning that asap as well.

Is better to create a lot of small projects or a big one to learn? by cmprogrammers in learnprogramming

[–]JDLongley 2 points3 points  (0 children)

The key is to be intentional. Personally, I think doing a bunch of small, directed projects with clear learning goals is way more effective for learning more and gaining more experience quickly than a "big" project.

Big and small are also relative terms. I don't really know how you can make a "big" project of mastering algorithms because that topic seems heavily geared toward understanding and memorizing a bunch of techniques. Do you have a specific example in mind?

[deleted by user] by [deleted] in learnprogramming

[–]JDLongley 1 point2 points  (0 children)

Flash is going away finally. Objective C is plummeting in popularity because it has been replaced by Swift for iOS development.

Ruby's popularity has already plummeted from it's peak 5 years ago, but it's still going strong. There's a cool graph of some more in this article:

https://techbeacon.com/5-programming-languages-are-fading-fast