We're on gitter now. Great progress! Send mail at mauser91 protonmail.com for invite + more info
Brody Harris
>my email wont be sold to chinese spam bots Kek.
Owen Price
please, i just want the TL;DR answer to this:
can i use a normal website as the backend of a simple mobile app? users can make accounts and upload small files. the users and their files are visible to other users. there is simple server-side logic to verify the integrity of the files and for administration.
can i use a normal web host (intended for websites), with php and a mysql database to accomplish this, instead of paying extra for a cloud service?
Zachary Cooper
Are you retarded? Yes.
Zachary Gonzalez
thanks for the answer. it seems obvious but when i try to google it they just talk about google app engine and amazon aws and other cloud services (or even hosting your own server) and all kinds of stacks that won't run on a normal web host
Daniel Anderson
What Linux dist is the best for webdev? Is it still Ubuntu? I've also heard of Linux Mint, but I'm an absolute noob in Linux topic so I have no idea what I'm talking about.
For this reason I'd like it to have the most newbie-friendly and windows-like interface, while not sacrificing any development capabilities.
Levi Cox
Yes.
Noah Jackson
Kubuntu.
Brandon Kelly
wat do with domain name wavs.io?
Adrian Powell
Input/Output WAVs.
Ayden Cox
war apes versus interstellar orchids
Joseph Wright
Is it safe to allow users to upload anything they want to the server as long as the files don't have execution permissions on them? even scripts or executable?
Blake Morales
No. You can't handle files as if they had some special meaning on your HTTP server. So it means no .php or other interpreted files, if you handle it. You need to send them with Content-Type: application/octet-stream (so they will be downloaded by client) or with text/plain MIME (to be displayed as text). Same applies to HTML files, unless you want to really serve them and risk running any JS on the client receiving it (which means the running script gets access to all cookies for your domain and local storage). SVG files can have embedded scripts, too.
Daniel Russell
>Kubuntu instead of KDE Neon
Noah Thomas
what textbooks should I read? I already have Javascript the goodparts, what others are good?
Any help here pls. It doesn't remove _over when mouse leave, just keep adding _over when hover (function ($) { $(document).ready(function(){ $(".test").hover(function() { var img = $(this).find("img"); var src = img.attr("src").match(/[^\.]+/) + "_over.png"; img.attr("src", src); });
$(".test").mouseleave(function() { var img = $(this).find("img"); var src = img.attr("src").replace("_over.png", ".png"); img.attr("src", src); }); }); }(jQuery));
Liam Clark
Ow shit, found the problem (function ($) { $(document).ready(function(){ $(".test").hover(function() { var img = $(this).find("img"); var src = img.attr("src").match(/[^\.]+/) + "_over.png"; img.attr("src", src); }, function() { var img = $(this).find("img"); var src = img.attr("src").replace("_over.png", ".png"); img.attr("src", src); }); }); }(jQuery));
Julian Butler
react or angular? i'm newbie, 20 years old
Ryan Phillips
hey same here famalam
Eli Roberts
kys and kys
Christian Perry
already tried
Gabriel Martin
if you just want a view layer and write the rest yourself react. if you want the whole package angular
both are not easy to learn though. prepare to get your shit fucked up
Charles Nelson
This. Loke some strange sound social media or a better version of vocaroo.
Gavin Scott
I'm new to backend development and I want to make an imageboard. Is Django a good place to start?
Cameron Moore
Why not make something people would want to use instead?
James Bennett
Like what? I'm not very creative
Jaxson Torres
Friendly reminder that mobile phones perform like dogshit, none of your fancy meme Javascript frameworks will work on them properly, and you're basically a retard if you aren't designing around mobile constraints because it's the largest web browsing platform in the world.
If you care about and are able to make web pages that perform well on mobiles you're automatically better than 99% of the web developers in the world.
this would be pretty simple to recreate with canvas. Someone less lazy than me do it.
Austin King
I created a table with SQLite and gave it a primary key, however i want that primary key to start at a higher number than 1. Is this possible? I have a csv file im trying to import into this table, and it's primary key starts at 4000 something, not 1.
Leo Baker
You can set the value you want. I hope you didn't use auto increment for your key?
Ethan Howard
Are you saying this primary key is auto incrementing?
Nathaniel Reed
I think getElementById would be faster since jQuery wouldn't have to analyze the string and then look for the element. I don't think that it really makes a difference though
Anthony Flores
I'm stuck to jQuery anyway, but I wondered if I could make it depend less on jQuery.
The file probably grows two times in size though, so I'm not sure it's worth.
You can start your key wherever you want..just use default 1500 or whatever.
You're supposed to use auto_increment.
Luis Walker
yes i just want it to start at a higher number
Juan Nelson
what's a good way to quote the price of devving a webpage for a local business?
Kayden Hughes
im getting a datatype mismatch error (for every row). I created a blank table with the primary key set to auto increment, and its when i try to import the data into it is when i get the errors. The table im importing from i left the primary key cells blank. Im just trying to get the primary key to start at 1 for now, i'll worry about starting it at another number later i just want to get the PK to actually work. First time using SQLite.
Wyatt Russell
Yes, Ubuntu is still the most complete for webdev nowadays. You can literally apt-get everything in one command.
Michael Sanchez
mint is great as long as youre not worried about the hipness factor/trends.
Jace Smith
Mint is fine. Just download the OS and create a live CD from it then boot from CD and you install it just like Windows
Carson Anderson
Hey, sorry for the basic question. Is there a best way/book to learn HTML?
Coming from an OOP C++/Java background with no web dev experience. I'm reading the sticky but there is a lot of info.
Nolan Mitchell
If you're coming from an actual programming background with ACTUAL experience you'd NEVER ask this question.
Christopher Martin
insert 4000 blank records, then insert the first record of the csv. Then delete the first 4000
Lincoln Foster
First link in the learning section.
Nicholas Taylor
You don't realize how stupid you sound do you.
Logan King
Or don't be a retard and just set the key's default to 4000.
Colton Sanchez
>It needs to be a jQuery object, but is letting jQuery find it faster than calling getElementById and then making a jQuery object from that?
I think if you're using jQuery you don't really care about performance, so why does it matter?
Ryder Martin
Retrieving data from Yahoo takes a while anyway, but I don't need it to take long finding the damn thing to put it in.
I figured this would be the best place to ask but whenever I try to access a website it only downloads a file called download or viewtopic. Any idea what's causing this?
Liam Bailey
kys.js
Brandon Lee
I love the White Pages mobile website.
Lucas Wright
Broken apache server.
Thomas Wilson
...
Adam Adams
javascript
memeObject[undefined]
what am i accessing? because assigning stuff to it doesn't seem to do anything
Tyler Ortiz
ok i got the primary key to start at 4000 and the table looks fine. However after I imported I got one "data mismatch" error on row 1. I have no idea what it is though and if it even matters. All the field are text fields besides the primary key. There are some empty cells from the csv (in other columns besides the primary key) but that shouldnt matter should it?
Christian Gonzalez
anyone have some horror stories about their job? >working on site made in 1990's >guy who set it up didn't do any code just used Dreamweaver's design section >whole server is a mess of folders within folders and files >spent 2 hours today redoing one page because its such a pain to find the right pictures for the page this would suck if I wasn't getting paid well
Ryan Hall
then use vanilla js.
Ethan Jackson
You can assign stuff to it just fine senpai.
Nicholas Flores
Gimp is fucking shit.
I cant even select anything.
Why isnt there a paint clone and why the fuck isnt this a photoshop clone? Ctrl+D should be deselect you fucking autistic dev.
Colton Nelson
Row 1 are headers in csvs. You need to offset. unset ($
Lucas Thompson
Thanks dumbfucking Sup Forums for posting when I didnt tell you to.
unset ($yourarraymap [0]);
Owen Miller
Consider Vuejs, I know it's not as big and trendy as those 2 but it's actually quite nice to learn and you don't have to learn shit like JSX.
Carson Russell
When I pad a div with borders why the fuck is it padding the inside of the div instead of the div itself.
Kevin Thompson
This subreddit is for programmers who make websites that actually work. Design monkeys have no place here. Off to with you
Kevin Sanders
Are you setting any kind of box sizing?
Easton Young
No shit, I'm 6 months the OP here. Trying to make boxes to show my div issues here but gimp sucks.
Nathaniel Gonzalez
Enjoy your fucked eyes
Andrew Brooks
I already have glasses
Chase Clark
>not knowing the box model margin - border - padding - content
Cameron Young
Maybe write the code again from scratch instead of doing retarded shit like that?
Aiden Turner
Yes, but no height.
I didn't need it on a previous page where I had a div that gave children divs padding instead of itself for some reason.
Noah Turner
>jus rewrite the entire thing :^) How to spot someone who doesn't do any form of development for a living.
Christopher Mitchell
'the entire thing' being a site from the 90's made with Dreamweaver? Guess you'd rather spend 2 hours redoing one page, pajeet.
Bentley Harris
>implying 2 hours on one page is a long time.
Jaxon Turner
So you'd spend those 2 hours doing a whole new site instead of doing what they asked you to do?
Stay NEET, kiddo. And stop calling people Pajeet when its clear you have zero real-world experience or understanding of technical debt.
Thanks Microsoft This is why people just use JSON.
Liam Wright
I got a test from an employer asking me to use SOAP. I couldn't find any documentation that made sense.
Henry Sanders
That's because it doesn't. You just use a 3rd party library written by someone more autistic than you which turns it into something usable, like JSON.
Carson Nguyen
Part of the test was that you can not turn it into json.
I'm being completely serious.
Sebastian Evans
Rupert
Colton Reyes
Wait wait, you HAVE to turn it into JSON CSV and XML but you can't use something like json_encode
Easton Clark
Is it an "API" if I have like 5 of them that specialize in different tasks?
Like 1 for finding something, 1 for posting something etc etc.
Christopher Young
Seems that way The goal of this mini-project is to develop some PHP classes * that allow Magento product information to be displayed in several * different formats (CSV, XML, and JSON). Each record should ONLY include * the sku, product name, price, and short description. * * The CSV format must have a header row sku,name,price,short_description * * You are not allowed to use any of the built-in PHP encoding functions (i.e. json_encode, SimpleXML, etc)
Benjamin Kelly
If I study about 4 hours a day, how long do you think it will take me until I become ready for an entry-level Webdev job?
Blake Collins
Once you have a degree or launched full-functional professional project that looks pretty.