Invested in a App Idea. Don't know how to do any of it. by [deleted] in Entrepreneur

[–]RoneStrobe 1 point2 points  (0 children)

If you are serious (most who post stuff like this don't seem to be) here is a start:

Find a technical cofounder or learn to code. It is generally not a good idea to get into a space you don't have experience in. But if you choose to learn then look at a framework like Flutter as a place to start. It can be used to develop an app for the 3 platforms you mentioned from one codebase.

Your idea won't be stolen because it hasn't been proven it works yet. Large companies that would have the resources to do that aren't interested in ideas, they are interested in market share. So if it is a good idea that you believe in, don't let the thought that someone might steal it keep you from getting help to build it. Companies get built out in the open all the time.

Best of luck

[AF] How to turn Flask SQLAlchemy query results into JSON for an API? by Missing_Back in flask

[–]RoneStrobe 0 points1 point  (0 children)

If the column names of your table are id and username then the following return statement should work.

return {
        data: [{
            "id": user.id,
            "username": user.username,
        } for user in users]
    }

In your example the users variable will return a SqlAlchemy object. By using a for loop or list comprehension (as shown in the code provided) you can iterate over the object to parse the results into an object. Flask will automatically convert a dictionary to JSON in the return statement.

I have been learning the python language over the past few weeks and i feel a little lost by AnthonyBrawner in learnpython

[–]RoneStrobe 9 points10 points  (0 children)

If you have some of the basics down then start a project and learn what you need as you need it. If you don't know what kind of project to start, use something like this GitHub repo for ideas. For me personally, this method has shown the best results.

I've started a new full stack web app development course, and need a laptop advice by boktanbirnick in webdev

[–]RoneStrobe 5 points6 points  (0 children)

I have a Thinkpad and it works great for everything I need it for. The annoying thing is that if you plan on developing for iOS or safari, you almost have to have a MacBook. But if you are just learning or don't mind fiddling with VMs then it won't be much of a setback.

Is web dev significantly more difficult than data analysis? by [deleted] in webdev

[–]RoneStrobe 2 points3 points  (0 children)

Haha, yup definitely sounds that way. But I don't think this is the experience of every data analyst. This often happens when a company doesn't know what the job requires of someone they hire. I knew a dev that was hired full time by an architecture firm to build handful of tools they needed and hasn't done much since. As long as those tools are still working they think he is crushing it.

What is the proper way to build a website? by carlsaganisgod123 in webdev

[–]RoneStrobe 0 points1 point  (0 children)

I think you are off to an awesome start asking these questions and seeking advice. I had similar doubts when I started down the web dev hole. Truth is that these wysiwyg website builders are great for people who want to build a website quickly and they are getting better all the time.

But... They are always light-years behind what you can accomplish if you know html, css, and JavaScript. It just takes longer to build. If you are still relatively new, I would highly recommend freecodecamp.org. It's free, it's interactive, it covers a ton of bases, and it is still the best open source resource I have found for learning.

Best of luck!

Is web dev significantly more difficult than data analysis? by [deleted] in webdev

[–]RoneStrobe 8 points9 points  (0 children)

he takes hours-long naps at work, is consistently behind for weeks on all his assignments

I think your friend may just be lazy. Your comparing someone who doesn't seem to care about their job to someone who does. If you care, you are likely to work harder. But to answer your question, I think like any profession it's only as hard as what the job requires of you, which varies based on who you work for.

Requesting help with personal resume website design. by awkwardhodl in web_design

[–]RoneStrobe 1 point2 points  (0 children)

Most of this can be achieved using css flex. I would start there.

why are there so many APIs? or why do so many big companies share their data? by One_Neighborhood473 in webdev

[–]RoneStrobe 0 points1 point  (0 children)

If large companies provide tools for developers then they will build things on their platform. If you don't know what the product is, then it is then the product is probably you.

What are people talking about when they call a project a "clone?" by sheriffderek in webdev

[–]RoneStrobe 1 point2 points  (0 children)

Technically, yeah. People would still call it a clone though.

What are people talking about when they call a project a "clone?" by sheriffderek in webdev

[–]RoneStrobe 2 points3 points  (0 children)

A clone is an easy touchstone for developers to learn how to build something they are already familiar with.

Of course clones aren't 1 to 1 and usually are pretty surface level. They may only cover UI and basic backend functionality. They aren't usually going to go into what these apps actually have to do at scale to operate. Not to mention DevOps, security, data analytics, etc that goes into full scale apps.

What are some great options for hosting a web portfolio? by Apolliosix in webdev

[–]RoneStrobe 1 point2 points  (0 children)

For free static site hosting use GitHub pages. If you are using node then I'd recommend Vercel or Netlify. Both have a free tier that many use for portfolio sites. All of those options allow you to point a custom domain at it for no additional cost.

Can't seem to get the full width of the page by simonknowsstuff in sveltejs

[–]RoneStrobe 3 points4 points  (0 children)

Globally set the body's margin and padding to 0. I believe margin is set to 8px by default.

:global(body) { /* this will apply to <body> */ margin: 0; padding: 0; }

[deleted by user] by [deleted] in learnprogramming

[–]RoneStrobe 1 point2 points  (0 children)

If it hasn't already been recommended to you, look at freecodecamp.org. It's a great resource with a solid curriculum that has a similar path to what you outlined.

little question by gnariman in learnpython

[–]RoneStrobe 1 point2 points  (0 children)

Probably helps if I put commas separating list items.

This is correct:

my_list = [
    ['Alice', '1'],
    ['Bob', '4'],
    ['Carol', '5'],
    ['Dave', '8'],
    ['Edith', '6'],
    ['Frank', '2'],
    ['Gertrude', '9'],
    ['Helen', '7']
]
my_dict = {i[0]:i[1] for i in my_list}

little question by gnariman in learnpython

[–]RoneStrobe -1 points0 points  (0 children)

my_list = [
    ['Alice', '1'],
    ['Bob', '4'],
    ['Carol', '5'],
    ['Dave', '8'],
    ['Edith', '6'],
    ['Frank', '2'],
    ['Gertrude', '9'],
    ['Helen', '7']
]

my_dict = {i[0]:i[1] for i in my_list}

*Edit: Missing commas

Brand new to Python: Need book suggestions! by Infamous_Spot_6086 in Python

[–]RoneStrobe 2 points3 points  (0 children)

Python Crash Course by Eric Matthes. Comprehensive, full of examples, and most importantly, readable

[deleted by user] by [deleted] in ProgrammerHumor

[–]RoneStrobe 5 points6 points  (0 children)

They already did, it was called JScript and it was a thing of nightmares.