[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

/wdg/ - Web Development General

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 321
Thread images: 34

File: 1471635621770.jpg (41KB, 675x320px) Image search: [Google]
1471635621770.jpg
41KB, 675x320px
> Discord
https://discord.gg/wdg
OR
https://discord.gg/0qLTzz5potDFXfdT
(they're the same)

>IRC Channel
#/g/wdg @ irc.rizon.net
Web client: https://www.rizon.net/chat

>Learning material
https://www.codecademy.com/
https://www.bento.io/
https://programming-motherfucker.com/
https://github.com/vhf/free-programming-books/blob/master/free-programming-books.md
https://www.theodinproject.com/
https://www.freecodecamp.com/
http://www.w3schools.com/
https://developer.mozilla.org/
http://www.codewars.com/
>Crockford on Javascript
https://www.youtube.com/playlist?list=PL7664379246A246CB

>Frontend development
https://github.com/dypsilon/frontend-dev-bookmarks

>Backend development
https://en.m.wikipedia.org/wiki/Comparison_of_web_application_frameworks
backendDevelopmentBookmarks.md

>Useful tools
https://pastebin.com/q5nB1Npt/
https://libraries.io/ - Discover new open source libraries, modules and frameworks and keep track of ones you depend upon.
https://developer.mozilla.org/en-US/docs/Web - Guides for HTML, CSS, JS, Web APIs & more.
http://www.programmableweb.com/ - List of public APIs

>NEET guide to web dev employment
https://pastebin.com/4YeJAUbT/
>How to get started
> [YouTube] 2016/2017 MUST-KNOW WEB DEVELOPMENT TECH - Watch this if you want to be a web developer
https://www.youtube.com/watch?v=sBzRwzY7G-k [Embed] [Embed]
> [YouTube] Javascript is Easy - "JavaScript is Easy" - If you can't into programming, you probably won't find a simpler introduction to JavaScript than this.
https://www.youtube.com/watch?v=zf_cb_Nw5zY [Embed] [Embed]

>cheap vps hosting in most western locations
https://lowendbox.com
https://www.digitalocean.com/
https://www.linode.com/
https://www.heroku.com/
https://www.leaseweb.com
https://www.openshift.com
>>
collaborative mosaic website

http://alissa.ninja/paint
>>
>Unemployed General
>>
>>56217217
>[Embed] [Embed] [Embed]
just give up op, the next one will be yours
>>
When I set up a domain, a VPS and nodejs + nginx, how do I actually make a good looking website? CSS, php and HTML? I don't want autistic flash shit, just a good design.
>>
>>56218227
bootstrap
>>
>>56218227
Yes.
>>
>>56218227
nodejs and PHP have nothing to do with the design of your page. Find a free HTML template in the meantime.
>>
Honestly feels like a lot of trolls have been posting in these threads asking dumbass questions lately.
>>
>>56218249
Thought you meant bootstrapping as the process in an OS as a troll answer, but shit looks actually nice. Thanks!
>>
I asked this in the old thread but I Dell asleep and thread died so I didn't get the chance to read any answers: is ASP.NET worth learning or is it a waste of my time?
>>
File: despair.jpg (33KB, 512x384px) Image search: [Google]
despair.jpg
33KB, 512x384px
I'm about to launch my website (and am super terrified to do so).

www.imagehex.com

Are there any obvious issues you can see? Is this in a state where I can try to get some beta users?
>>
File: Girl_wall.jpg (982KB, 3840x2160px) Image search: [Google]
Girl_wall.jpg
982KB, 3840x2160px
I made this post on the Laravel forum but they are kinda useless.

Link to my post:
http://laravel.io/forum/02-13-2014-how-to-install-laravel-on-a-hostgator-shared-server

I'm having a problem. I get through everything all well and good but when i get to the part where i have to change the PATHS.php file in the bootstraps DIR I cant because it seems that it was taken out of laravel.

this is the error Im getting when i try and run index.php on the server.

Warning: require_once(/home2/edwingm/public_html/../laravel/bootstrap/start.php): failed to open stream: No such file or directory in /home2/edwingm/public_html/index.php on line 36

Fatal error: require_once(): Failed opening required '/home2/edwingm/public_html/../laravel/bootstrap/start.php' (include_path='.:/opt/php55/lib/php') in /home2/edwingm/public_html/index.php on line 36
>>
Does anyone ITT actually make income independently?
>>
>>56219034
My problem was that i as trying to install laravel on host gator shared hosting. I get things working but some changes in different visions makes the guide outdated.

The paths.php file in the bootstraps DIR is missing and I don't have a Starts.php
>>
>>56219059
interested in this too. I just can't grasp the idea that you can develop webapps (for you or someone else) and make enough money to have a decent living... I mean, how much do you have to charge for that?
>>
>>56219059
$800 every 2 weeks administrating Wordpress sites for the family business
>>
>>56218876
Idk man, have you tried watching the video in OP? I can't remember if he even mentioned ASP.NET but check it out anyway.

I've been looking for jobs for a while now and I rarely see open positions for it.
>>
>>56219064
That's probably the most fucky thing about using frameworks. When things change shit tends to break.
>>
>>56219746
dang I know. I feel like every Update something is changed or the file structure is totally different and i have to relearn it.
>>
File: imagehex.png (33KB, 756x512px) Image search: [Google]
imagehex.png
33KB, 756x512px
>>56218963
>I'm about to launch my website (and am super terrified to do so).
>I'm about to launch my website
>about to

You know you already did that, right? It's launched from the moment it's searchable. Your first launch?
>>
>>56218963
>www.imagehex.com

how tf did you get sitelinks ? I want to know .
>weebmaster
>>
>>56218963
I launched my first site 6 months ago. I get about 4 users per day. 86% bounce rate. Why even dev ;_;
>>
>>56220359
at least you get some users... I get almost none for a site that took me 2 months to make (as a learning project, though, but still...)
fucking waste of time
>>
I'm using a Mac and i'm starting Instrumental Multimedia classes this semester on uni (I'm on arts and design) and since the class is basically HTML5/CSS/JS and i never was into web development i need a tip here:
What programs should i be using to write that stuff down on OS X? I was looking into Brackets and it seems pretty good, anyone suggests another alternative?
>>
>>56220359
Post?

You have to shitpost it around.
>>
>>56220359
>>56220392

At least you have something that's live on the net as opposed to rotting away in a Github repository like mine.

The new one I'm working on will go live though. I was planning on hosting it on a sub-directory on my personal site but fuck it, might as well buy a domain and hosting and go all out.
>>
Sublime 3
>>
>>56220521
to >>56220414
>>
>>56220521
>>56220627
thanks, gonna check it out
>>
File: laravel.png (16KB, 1919x1009px) Image search: [Google]
laravel.png
16KB, 1919x1009px
>>56219746
thanks. I decided from your comment to just go back to laravel 4.2 and give up with 5.2. now to build a website :D
>>
>>56218963
Why is it so god damn ugly on mobile
>>
Why is this broken?

UPDATE comments SET comment = '<iframe width="560" height="315" src="https://www.youtube.com/embed/2w_D8-2?rel=0&amp;controls=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>' WHERE comment_id=2065 LIMIT 1;


SQL breaks the URL in like a dozen places.
>>
>>56220250
Launch in the sense of "market and try to get people on it"

>>56220279
I have no idea what you mean by sitelinks.

If you mean the thing that happens when you google it, I have no idea how we have those.

>>56220359
Sorry man.

>>56220949
I'm not a designer and my former designer had issues (apparently)?

>>56221087
Use params instead of raw strings.
>>
File: Screenshot_1.png (79KB, 1340x720px) Image search: [Google]
Screenshot_1.png
79KB, 1340x720px
>>56221188
>>
>>56221188
It's raw SQL through the terminal.

I got it working. I had a function to auto-break input that was wrecking it when being echo'd.
>>
>going through first PHP page
>see these variables

//RUN COMMENT COUNT//
$my_id = $row['id'];
$comc = "SELECT COUNT(comment_id) FROM comments WHERE original_id = $my_id";
$com_r = @mysqli_query ($dbc, $comc);

$c_row = @mysqli_fetch_array ($com_r, MYSQLI_NUM);
$am_com = $c_row[0];
//END COMMENT COUNT//


This whole document is a joke. I should open-source it for laff.
>>
.Net developer here, I want to learn something new. What would be worthwhile? PHP? Python? Ruby on Rails? Nodejs?
>>
>>56221298
Angular.

Also PHP because it's fun.
>>
>>56221298
It depends on what you want to make and the kind of webapps that you like.

I'd recommend Python + Django.
It's pretty easy to learn while being fun throughout the learning process.

Also the guide makes learning the model template view pattern simple, if you don't know MVC already.
https://docs.djangoproject.com/en/1.10/
>>
>>56218963
>2016 noided media
:^)
>>
>>56218876
MVC is nice, C# is good language, core is finally opensource and multiplatform and very fast. Should also have good employability but this you can confirm yourself.
>>
>>56219034
Laravel 5 doesn't support overriding basepath meaning you must do some hacky overwriting.
>>
>>56221298
For .NET dev all of those are downgrades. But maybe python.
>>
>>56219205
You can sell freelance web development
>>
File: pepes.jpg (207KB, 861x806px) Image search: [Google]
pepes.jpg
207KB, 861x806px
I was giggling like a retard the entire time I was making this.
>>
anyone knows how ad placement works? there is just a script in the code and it supposedly positions itself. I tried it on a local page for testing and nothing shows does it have to be on the server to work?
>>
Hey guys I'm a newfag web developer.

So far, I've made my site look perfect to how I want it to look, but now I'm having trouble with doing SQL shit.

I'm using Flask for my backend, so I figured I'd try to use SQLAlchemy, but it's alot harder to understand than I thought. I've tried to find a good tutorial on it but I can't find shit. Does anyone know any good resources for learning how to do database shit?
>>
>>56222840
1. Learn set theory.
2. Learn relational set theory.
3. Learn ODBC
>>
This ain't setting the title. Why ?

((a,b,c,d,e,f) => {
a = 'Everybody';
return (b,c,d,e,f) => {
b = 'is';
return (c,d,e,f) => {
c = 'a';
return (d,e,f) => {
d = 'full-stack';
return (e,f) => {
e = 'developer';
return (f) => {
f = 'now';
return () => {
console.log('hello');
console.log(this);
this.title = [a,b,c,d,e,f].join(' ');
}
}
}
}
}
}
})(1,2,3,4,5,6);
console.log('stuff');
>>
>>56221263
>supresses errors
>doesn't escape the variables
And you complain about the variables
>>
Posting from the newer thread since this one is still alive.

Does anyone know of a project I can use as an example to implement SignIn with Linkedin in ASP.NET? I saw one a few days ago, but the link was dead.
>>
>>56222865
You're making it too complicated nigger.

>>56222840
You have tables A and B. Suppose you Joined them. You'd have something like a Venn Diagram. The area where they both intersect would be the Inner Join of the 2. The area A that does not intersect with B would be a left outer join, the other side of course would be the right outer join. That's probably all you really need to know.

Also don't use ORMs. They are fucking stupid. Don't be a pussy just do raw queries.
>>
>>56217702
Jesus, Colin. WaddaFugginMess.com
>>
>>56223155
you need to call the outer function in 'document', i.e: ( ... ).call(document,1,2,3,4,5,6)

weird code though
>>
>>56218249
I made my customer orgasm over bootstrap datepicker and 10 lines of css.
Go figure.
>>
>>56218963
>Is this in a state where I can try to get some beta users?
All 3 of your users will be betas
>>
>>56220359
>current year
>not blasting out 9001 clickbate sites
common, man
>>
function userInfo($userId){

require 'includes/connection.php';

$query = $handle->prepare("SELECT * FROM users WHERE id = ?");
$query->execute(array($userId));
$result = $query->fetchAll();

foreach($result as $row){
$username = $row['username'];
$email = $row['email'];
}

return array('username' => $username, 'email' => $email);
}

echo userInfo(7)['username'];


Does anything here seem off to anyone? I originally wrote this as a class but realized I don't really need OOP functionality.
>>
Do you guys write individual commit messages for each of your files on Git?

Every coding session I'll end up modifying up to 10 files, instead of writing individual commit messages after adding them I just use the date.
>>
>>56225191
Should have stayed on OOP. It's stupid to include file just to create connection. Also write shortcut function to handle actual querying.
>>
>>56225546
>It's stupid to include file just to create connection
The only other way to do this is to define the connection there. Instead of defining it multiple times I do it once then include it where it is needed. The connection isn't optional either, it's necessary.

>Also write shortcut function to handle actual querying
How? Never heard of that before.
>>
>>56225620
Class YourDbStuff
{

private $handle;

function __construct()
{
$this->handle = //create your connection;
}

function fetch($sql, $params)
{
$query = $this->handle->prepare($sql);
$query->execute($params);
return $query->fetch();
}

function userInfo($userId)
{
return $this->fetch('SELECT blabla', [$userId]);
}
}

Keep one instance of this class around.
>>
>>56221848
I don't get it.

>>56221221
No idea how we got those, sorry.

>>56224169
Fight me mate
>>
>>56225770
Thanks for the help, this actually seems way better.

Having a bit of trouble getting the values though.

$db = new DB;
$db->userInfo(7);


I renamed the class DB and added the connection, trying to access it like above but I get this error

>Fatal error: Uncaught Error: Call to a member function prepare() on null in...
>>
>>56226286
My code was incomplete example. Did you created connection?
>>
>>56226316
Yeah I did, I don't think that's the issue. The query is returning null for some reason, as if it isn't getting the ID I'm trying to pass to it.
>>
>>56221087
don't store html in your db if you can avoid it. it would be better to have a 'video' comment type and store just the video id in your db, then reconstruct the video embedding html from that id in your views.

So your 'comment' table would be something like:
CREATE TABLE comment (
id int unsigned not null auto_increment,
type enum('text', 'youtube'),
body varchar(255)
);

where the 'body' will be a youtube video id (if comment is of 'video' type, or the text itself, if of 'text' type.
>>
>>56221298
F#
>>
>>56225191
i don't use php these days, but that doesn't look right. your require should not be in the function body. neither should the query preparer. and you're looping through the result when you expect only one row at max? why not just return the first row? also you need to handle the case where the userId might not be found. regardless of whether it is OOP or not, there are a lot of fundamentals to fix here. sorry if that is harsh.
>>
I have to use typescript at jobbu.

Encountered a typings issue today with feature being unavailable through typescript.

Is there any way to make typescript compiler not give a shit about some section of code, or should I perhaps modify the typings myself?
>>
>>56226610
>neither should the query preparer
Where else should I put it?

>why not just return the first row?
Good point, will keep this in mind from now on.

>handle the case where the userId might not be found
Fixed this also, thanks for the input.
>>
>>56217217
I built a small web app in PHP and SQL. Now I want to host it for use in a future portfolio. I don't know a goddamn thing about security. I need to prevent access to several "include" PHP files that contain database login info.

Can somebody please point me to a good tutorial or article?
>>
>>56226424
Show your code.
>>
>>56227173
>I need to prevent access to several "include" PHP files
Why? It's not like I can go there and see the login info. It's PHP.

It's more important to secure your server. Disable remote login as root is the most important as is taking away password login and just using SSH.

I left open remote root login and password login on my first droplet and it was hacked within a day and sending out ddos attacks for the chinese.
>>
>>56227736
Class DB
{

private $handle;

function __construct()
{
try{
$handle = new PDO('mysql:host=localhost;dbname=quiz_db', 'root', '');
$handle->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
} catch(PDOException $e) {
echo "A Fatal Error Has Occured: ", $e->getMessage();
die();
}
}

function fetch($sql, $params)
{
$query = $this->handle->prepare($sql);
$query->execute($params);
return $query->fetch();
}

function userInfo($userId)
{
return $this->fetch('SELECT * FROM users WHERE id = ?', [$userId]);
}
}

$db = new DB;
$db->userInfo(7);
>>
About to start working on a new REST api. Currently all my other apis were build using nodejs but thinking about something else this time.

Anybody here already built an api with go? How does it compare to building one in node and what are the benefits/drawbacks?
>>
>>56227996
$this->handle and $handle are different.
>>
Hello /g/ i have a few problems..if you would be that good and answer me guys.

>I know html, css what next should i learn?
>If it's going to be Javascript which libary? or just pure js?
>How do i make my first money from this?
>Should i learn first js or php?
>Go full stack or only front end? (i like design more than server things)
>Also any tips for learning? I understand to code pretty good what is doing and i can change some things but...i just cannot write my own code..i dont know where should i start or how that code should looks like.
>>
I have a bootstrap data table.
Is it possible to show 2 results per row?
Or having the result flow horizontally instead of vertically and just wrap when they reach horizontal limit.
>>
I want to create a website to put on my list with skills. What language and libraries should i use? I already have a bit of experience with html and css from a few static pages i did in the past.

For the backend i figured python might be a good idea, since i wanted to learn it sooner or later anyway. What libraries should i use? Any suggestions for the database?

Thanks.
>>
>>56229160
What are you attempting to accomplish? What data will the site serve up?
>>
>>56228703
Check the row-toggle example of the FooTable plugin
https://fooplugins.github.io/FooTable/docs/examples/basic/row-toggle.html
>>
What would qualify as advanced knowledge in HTML and CSS?
>>
>>56229663

you're ability to bullshit / fluff up your current knowledge
>>
File: 1470504848463.jpg (8KB, 250x244px) Image search: [Google]
1470504848463.jpg
8KB, 250x244px
>>56219059

apparently not
>>
File: hitbytrain.gif (1MB, 400x308px) Image search: [Google]
hitbytrain.gif
1MB, 400x308px
I've come across something I've never noticed with tables before, and I'm wondering what I'm missing.
First off: yes, yes, I shouldn't be using tables for layout, but I'm revamping an old legacy system, and it LOOKED like it was easier to use them instead of re-building the site from scratch.

At any rate, I'm using "vertical-align: text-top;" on the cells, but I can't seem to assign padding-top independently.
Here's my code:

<table style='border: 1px solid black;'>
<tr>
<td style='padding-top: 100px; vertical-align: text-top;'>Hello World!</td>
<td style='padding-top: 0px; vertical-align: text-top;'>Hello World!</td>
</tr>
</table>

Each cell acts like padding-top is 100px.
If I fiddle with the numbers, both cells always get padded with the higher number of pixels, and the lower number is ignored.

I'm almost certainly going to switch to divs, even though it means re-doing a lot more code than I wanted to, but I'd still like to know what's going on,
>>
>>56217702
>http://alissa.ninja/paint
What did you use?
>>
File: 1444802009153.jpg (22KB, 500x322px) Image search: [Google]
1444802009153.jpg
22KB, 500x322px
>>56230302
Me again.
I'm still confused, but I tried switching "vertical-align: text-top;" to "vertical-align: top;" and it works as expected.
>>
File: z2Z8WCO.png (3MB, 892x1826px) Image search: [Google]
z2Z8WCO.png
3MB, 892x1826px
>>56230433
Still me.
I guess it makes sense, never mind that I asked.
>>
>>56230427
Jquery is the only library I used, and very little of it.Everything else was from scratch (javascript, mysql, php)
>>
>>56230515
Wow I didn't expect that, it's nice, did you use some other site as inspiration?
>>
>>56229353
The idea was to download earnings reports from various companies from the sec site and make nice looking charts showing earnings growth etc.

So mainly showing charts for now.
>>
>>56230643
ms paint, basically. I used some similar principles in its design in a map maker for an unnamed game engine I'm working on:

http://alissa.ninja/MapMaker/MapMaker.html
>>
Does NodeJS count as a framework or a language?
>>
>>56230836
Framework
>>
>>56230771
Looks nice, is there anywhere I can get more info on your projects? If you made a fp thread can you link it? Btw you probably know this but your projects page is not working.
>>
>>56218963
Only that there are plenty of sites like this around. What gives your site competitive advantage?
>>
I want to give people XP for sharing content to social media.

I want to stop people from being able to share a post, then delete it over and over again.

Any ideas?
>>
>>56230996
Unfortunately I don't really finish a lot of stuff or upload most of my things to github. You can check my website periodically, and I'll finish the "projects" page soon. facepunch has "what are you working on" threads that I post in sometimes
>>
>>56231009
Commissions feature is actually built-in as opposed to a stupid afterthought.

Searching system is (IMO) better.

Many artists dissatisfied with competitors.
>>
What's your favorite template engine?
>>
File: no.jpg (92KB, 750x1125px) Image search: [Google]
no.jpg
92KB, 750x1125px
>>56231328
>2016
>templating engines
>>
>>56231356
Do you create your own?
>>
>>56231366
i dont use one
>>
>>56231389
How do you serve dynamic content?
>>
React with ES6. Yay or Nay?
>>
>>56231414
i use react
>>
>>56231389
That's painful
>>
>>56231434
React is a glorified templating system, you technically you use it.
>>
>>56231432
If you're going to use React, use ES6.
>>
>>56231474
Do you know if there's any particular reason on why almost all the code that I see written in React is without the ES6 standard?
>>
>>56220921

Laravel: Symfony, now even slower!
>>
>>56221263

That code gave me cancer.
>>
>>56228207
I don't know how to get around this. I've been trying for a while now.
>>
http://brutalistwebsites.com/
design like this
>>
>>56221298

PHP with phalcon. I think you'd enjoy the flexibility that particular framework brings to the code, and the performance can't be beat.
>>
Complete new here.
Looking for a go to book for python?

Learn python the hard way any good?
>>
>>56230931

>framework

Nigga, you high? NodeJS is a javascript interpreter on the server. Express and HAPI are frameworks.
>>
>>56231763
Is that a question or an order?
>>
>>56217702
>http://alissa.ninja/paint
>puts real name on project
>posts it on 4chan
>gets filled with swastikas and dicks
Colin, what were you thinking?
>>
>>56232065
Yes.
>>
>>56232493
I'd love to see him put that on a resume and have potential employers look at it.

I wouldn't even post my Git here, I know how degenerate you people are.
>>
>>56232493
Reminds me of the milliondollarhomepage except free.
>>
>>56232628
>>56232493
>>56217702
Fun fact guys: OP goes to VCU, the same school that Moot went to. I have proof, too
>>
>>56231724
You are assigning connection to local variable $handle and then later you are trying to use unassigned class property $this->handle.
>>
>>56232891
OP new KING of /wdg/ confirmed
>>
>>56228501

Javascript. jQuery/regular JS. Freelancing/Get a Job. JS then PHP(Ruby and Python are viable too). Full stack makes you more valuable since you can actually build the whole thing and unless your legit artistically talented most people don't want your front end alone.

For the final answer, type that shit out and test it regularly, especially if it's a concept you don't understand. Don't copy and paste from examples/StackOverflow, and don't write 300+ lines of code at first, then ask yourself "Gee how did I fuck that up?". Do small things and integrate them piecemeal until you have a good understanding on how and why they work. You'll make mistakes and you'll fuck everything up, but just laugh (No really, some fuckups are amusing as hell.) and keep on trucking.
>>
When you wish to talk about online enterpreneurship and making websites /wdg/ is a thousand times better than the entire /biz/ board, which doesn't get any further than buying trumpcoins, scraping content and reuploading youtube videos. Holy shit that board is terrible.
>>
File: 158902623.png (4KB, 128x128px) Image search: [Google]
158902623.png
4KB, 128x128px
Hi guys. What should I add to the mosaic website to make it more fun and interesting.
>>
>>56233156
Yep. The robinhood general is pretty cool though
>>
>>56233156
>trumpcoins

Is this actually a thing now?
>>
Can you guys tell what this is trying to convey?
>>
>>56233226
guess the idea is to offer products/services and the system will automaticall put a price on your offers
took me a while to understand that from the message in the header, but the list makes it clear, I guess
>>
>>56233214
Stock trading is for preserving wealth. Not for creating wealth. The poor pajeets on /biz/ would be better off spending their time and money on other things.
>>
>>56233305
Yes and no.

I've doubled my money several times over by diversifying pharma stock in my first two months.

Hell, I quintupled my money on lisk coin even for that guy talking shit about altcoins. I wasnt even in the ICO.
>>
>>56233176
Make it work on mobile.
>>
>>56233226
Who's the payment processor and how are you splitting the money afterwards?

This is one of the few important things I don't have a firm grasp on yet.
>>
File: textbox and what.png (59KB, 754x474px) Image search: [Google]
textbox and what.png
59KB, 754x474px
I'm using virtual basic to do a bot right now

The problem is that I don't know what is the name of the "???" thing
>>
>>56233589
It's a list box you fucking idiot.

kys.
>>
If I don't get a job by the next time next semester starts, then I'm going to school.

Stupid shitty baby boomer companies and their degree requirements.
>>
>>56233589
It's a combo box
This isn't 2003 by the way, you also need the CCV number and expirty date(at least) for verification.
>>
>>56233589
If you're the guy doing the auto-buy bot then you're doing it wrong.
>>
File: exp date, cvv.png (51KB, 451x116px) Image search: [Google]
exp date, cvv.png
51KB, 451x116px
>>56233631
stfu it's not even that
English ain't my native-language and I hesitated between the different "box" things

>>56233704
Thanks !
And yeah I know, it was just for the example

>>56233749
Really ? I'm doing it on microsoft vb basic, left part of the first picture I post was from the website I'm trying to buy from, not my program btw
>>
Ruby is the biggest fucking crock of shit, man.

The syntax is ugly and inconsistent as fuck. There's so much syntactic sugar I feel like I'm going to get diabetes. I thought Ruby was supposed to be comfy, ffs.

Rubyfags, explain yourselves.
>>
File: 1412888287459.jpg (356KB, 841x1110px) Image search: [Google]
1412888287459.jpg
356KB, 841x1110px
>>56217702
Playing with fire here, but you can now make your images link to outside websites when clicked. Just supply a link in the paint editor (remember to include http:// part because I haven't figured out how to force that). I'm afraid of what you people will do.
>>
>>56234416
>You are about to visit an outside website submitted by a user. The people who use this website are extremely immature and the website you are about to visit may reflect that. I am not responsible for whatever website you are about to visit. If you don't want to go to this website, just click "NO". If you do, click "YES"

Kek
>>
>>56233557
Stripe is the payment processor.

ImageHex takes 10% + $0.30 off the top of listing prices. This includes all credit card fees.

>>56233267
You actually set the price point, and it calculates the price on orders for you. So if you say "Each character is $10, but the first 2 are free", it automatically figures out how much each order should cost the user.

I need to change something so that's more clear. Thanks!
>>
>>56234416
Is javascript:alert("haxx0red"); a valid url?
>>
>>56234416
You ruined the fun. I finally fixed my injection to do something cool.
>>
How similar is TypeScript to C#?
>>
ASP.NET MVC is a framework of ASP.NET which is a framework of .NET which is a framework of C#?
>>
anyone know any visually pleasing tables to use? my current table looks like this
>>
>>56237742
Pretty much yeah except .NET is language independent meaning that you can use other other languages.
>>
>>56234713
What's this font called?
>>
Someone teach me how to use react as templating engine for express
>>
Can JS do two different ajax calls at the same time? I have a long polling ajax call every 15 seconds. What happens if another ajax call is done by the user (clicking something etc) when the other call triggers at the same time? Will one cancel the other? Or can JS handle several ajax calls doing their thing at the same time?
>>
>>56238236
That is actually quite nice. Im going to steal it now, thx.
>>
>>56239103
yes with setTimeout and XMLHttpRequests

setTimeout(() => { /* XMLHttpRequest */}, 0) // asyc
setTimeout(() => { /* another XMLHttpRequest */}, 0) // asyc too
>>
I have repeated HTML component on my webpage. It's repeated on every page. I started wondering is there any way to just have that component in one HTML file and load it inside the other pages in the right place?
>>
>>56239786
T E M P L A T E S
>>
>>56239792
Uh okay, I'm total newbie so could you maybe expand a bit on that?
>>
>>56239815
google templating engines.
>>
How do i handle user inputs in a VPS?

Let's say i give the user a textbox and a button via PHP. He inputs something and clicks the button.

Now i want to input the user input in a script on my VPS as a parameter. The script returns something and I return it to the user.

How do I get this done?
>>
File: 2016-08-24_21-23-57.png (16KB, 698x315px) Image search: [Google]
2016-08-24_21-23-57.png
16KB, 698x315px
Is it fine to use flexbox in 2016?

I can't fucking stand doing CSS hacks over and over and having to worry about clearing floats or making sure inline-blocks are working properly.

How bad are the flexbox bugs for IE10 and IE11?
>>
I'm new to web development.
I'm running a simple python HTTP server, to host webpages locally.
Is there a web-based chat service that can be used to communicate with people on the same network?
like LAN IM but in browser?
>>
File: 1420465406867.jpg (159KB, 700x1033px) Image search: [Google]
1420465406867.jpg
159KB, 700x1033px
Is there a site to see how web pages are coming along?
Not just HTML but CSS and JS and another thing as well.
>>
>>56240304
So you want to create security hole. You take your script, execute it with script interpreter, take output and return it to user. Details depend on script type.
>>
Can python web server run a PHP script?
>>
>>56240304
Assuming you mean PHP script and not a .sh or something:

In the form's action attribute, put in the uri of the script you want to run. In the script you pointed it to, you can get the form data with
$_GET["name"];
where name is the name of the form input you want. If you used POST instead of GET, it's the same, but with $_POST. Then you can do whatever you want to it and redirect the user to a page with your output. Make sure you sanitize it so your users can't get up to any shenanigans.

If you do mean a .sh script or something, that's also possible but really stupid.

>>56240445
Most IE users are used to everything looking like shit. It's fine unless you're making a site for a conservative political candidate, in which case you probably want to be IE8-compatible.

>>56240697
There is if you make one. If you have a chat server running on LAN, it'll work pretty much identically to WAN. There are tons of browser-based chat things around, check github or something. Also there's things like slack, discord, rocketchat, skype, etc if you actually want to use it professionally instead of just dicking around for fun.

>>56240748
No idea what you're talking about, buddy.

>>56241010
No.
>>
>>56241014
>browser-based chat
Yeah, I found some but most seemed to rely on XAMP or Node.JS.
Is there something uses simple HTTP?
>>
>>56241014
>No idea what you're talking about, buddy.
Just like jsfiddle, but for everything.
including php scripts.
>>
>>56241303
jsfiddle, phpfiddle, sqlfiddle, etc. those are for snippets really. If you want to see how an entire website is coming along then either create a local server on your machine (varies based on language you're using), or host it on a web server or VPS.
>>
>>56241010
uh, theoretically yes, should it, no.
>>
>>56241423
>create a local server on your machine
I tried that but for some reason some stuff doesn't work.
HTML/CSS/JS loads fine, but stuff in PHP,Ruby and perl doesn't work.
>>
>>56241478
For PHP use XAMPP/WAMP, its incredibly easy to set up.
I remember know how to set up a Ruby server desu, but it can't be anything difficult.

>perl
kill yourself.
>>
>>56241478
Are you using Apache? Are you visiting the web page served through your losthost domain /server and not just double-clicking the html file on the desktop?
>>
>>56241514
>perl
>kill yourself
It's not mine.
It's some perl script to create a copy of logs.
>>56241525
>Apache
No, HTTP.server
>>56241525
>Are you visiting the web page served through your losthost
Yeah, the site is only served through localhost only.
It's intended to be used for people on the same network only.
>>
>>56241014
>>56240867

OK i think i have a completely wrong understanding of how a server handles user input.

Let's say I want to create a site via a VPS server that plots functions as a PNG.

I assume php cant do that by itself.

So if there is a php page and the user inputs x2, the page, which for example runs on a nodejs server, passes the input to a script which generates the PNG file. Node js returns the PNG file.

Of course the user can now input something like
x2 && rm -rf /


Which fucks up the complete server.

How does something like this actually work? I dont assume everyone is running nodejs with stdin or something like that
>>
>>56241290
>Is there something uses simple HTTP?
HTTP is a communication protocol. You can certainly use that to send chat messages, but they need to go somewhere:

>I found some but most seemed to rely on XAMP or Node.JS

You need a server program running to intercept the HTTP messages from clients, and make them available in a centralized location for other clients to see.

Consider a simple hypothetical browser-based chat service: When a client sends a message, they use HTTP to send a POST request to the server containing the chat message. The server takes that post request, converts it into whatever format, and then saves it to a database. (In this example, let's just say it appends it to a text file.) Then, when a client issues a GET request to let's say /messages, the server grabs all the text in the "database" file, formats it, and puts it into an HTML file, and sends that back to the client that requested it.

(In practice, that makes for a very awkward chat server, since clients can't see any new messages that have appeared since they last requested the page. Modern chat services usually use something like websockets, which is a communication protocol like HTTP, except instead of a request/response cycle, it's in real time and bidirectional. Before websockets, browser-based chat applications would typically do something like 'polling', which basically means the client's browser would have some javascript code that refreshed the page every n-seconds, or long-polling, which is the same except that the browser would just not respond to the request until it gets a new message.)

Your python HTTP server isn't equipped for that because all it can do is serve up the static pages inside its folder when someone requests them. There's nothing in place to save and collate the messages into one cohesive stream for clients to receive.
>>
>>56241761
I see.
Thanks for the long explanation.
A little background.
I live in a big complex, with all the users connected to the same network.
If you need someone, you had to go to that place.
I though since all the users are on the same network a LAN chat would help, since all of them are on the PC most of the time.
But talking to eveyone to install some program is a little bit difficult.
So I though if I hosted a browser-based chat would solve the issue.
Especially since I have a few routers/RPi around.
>>
>>56238798
Helvetica Neue
>>
>>56241648
You don't need Node. NodeJS is a completely different thing. It's equivalent to Apache + PHP interpreter and is programmed in JavaScript instead of PHP.

>Let's say I want to create a site via a VPS server that plots functions as a PNG.
>I assume php cant do that by itself.

I'm not a PHP guy so I can't point to any specific libs you might use, but surely it can.

>How does something like this actually work?

1. User navigates to www.yoursite.xxx/plotMyMotherFuckingFunction.html

2. User types in the function they want plotted in an html form input and hits
submit. The action attribute in the form points to where to send it, in this case /drawThatBitch.php

3. User's browser does a GET request to /drawThatBitch.php?func=x2

4. In drawThatBitch.php, you use $_GET["func"] to get the function param from the url. Pass that into the function exposed by your graph-drawing lib's API, probably along with some height and width parameters, file type, file save location, etc (read the docs). Let's say $image = someImageLib($func, 800, 600, 'png', './graphs'); That image lib (which I just made up) will generate a png file that is 800px x 600px and save it to ./images returning the file name. The script then redirects to "www.yoursite.xxx/graphs/" . $image . ".png"

5. User yanks it to the graph or whatever.

>>56241913
Just find some chat app you like and run it on a Pi. The other people in your hippie sex cult "complex" or whatever can see it by typing in the Pi's private IP address. If you put some custom firmware on your router like dd-wrt / tomato / open-wrt you can set a custom hostname and they can use that instead of the IP.
>>
So i kinda want to try out a frontend framework like angular, but im not sure i understand the use case. I already have a very large project im working on but it has no frontend framework. Its just pure JS and Jquery. So far i have over 6000 lines of JS code.

Could i just implement angular and start using it with my project for some features here and there, or do i have to redo everything? Or am i missunderstanding what angular is? Just want to try it out to see if i can do some clever things when needed.
>>
File: firefox_2016-08-24_10-44-02.png (41KB, 1012x511px) Image search: [Google]
firefox_2016-08-24_10-44-02.png
41KB, 1012x511px
Anyone have any reccomendations on how to style this so it isn't just plain text? Right now I am just using css columns to make it responsive. It still looks shit cause it's just text.
>>
File: kxglKG0.png (118KB, 709x903px) Image search: [Google]
kxglKG0.png
118KB, 709x903px
>>56242652
I think angular will have its own scope, so it won't mess with your JavaScript.

If your project is already working, I'm not sure you need it. But if you start from scratch, angular will make things easier and it's more powerful than jQuery alone.
>>
>>56242652
Angular is for making single page apps. Meaning that instead of requesting another web page from the server every time the user clicks a link, you just change what content is displayed on the page with javascript, and communicate with the server by shitting json documents back and fourth.

Pros of SPAs include:
- Less work for the server since you can cache the static assets for the SPA and don't have to dynamically render new html pages. Json isn't as verbose as html so you save bandwidth.
- Web, iOS, Android, and desktop apps can all use the same API so your server doesn't need to do anything special to handle them.
- Frontend and backend teams can be totally separate and don't need to talk to each other as long as the API doesn't change.
- Anything the user does after the initial page load happens almost instantly since all the files are already there instead of serverside.

Pros of Angular in particular: (ng1. ng2 is still a clusterfuck last I checked)
- Standardized way of doing things, so (ideally) if you hire a new frontend person, they can jump right in as long as they know angular. No need for them to get acquainted with your codebase for a lengthy period of time. Your frontend team can be a bunch of interchangeable, easily-replaceable code monkeys, just like Java devs.
- Heavy use of dependency injection so you can swap out modules and mock stuff for testing easily.
- Includes a limited subset of jQuery by default and can use the full version if provided.

Cons of SPAs:
- Large initial page load fucks over users in the middle of nowhere on shitty internet. (Can be mitigated with localized CDNs and optimizing the app better)
- The addition of a large amount of complexity means it isn't really worth it for small projects.
- Some /g/entoomen don't like the 'mobile-friendly' look of modern websites and would rather everyone go back to the days of #FF0000 marquee text on a shitty low-res marble-pattern background.
>>
>>56242663
Looks fine to me. Maybe increase the padding/line-height a bit overall and change the font if you want, but IMHO you don't really need to change anything.
>>
>>56241648
>>56242137

Ok, here is what I want to do:
>Have VPS Server
>Install truecrypt 7.1a
>Allow user to upload files and set a password

Now after the user selected the files to upload and set the password, the VPS server should pass the input to the truecrypt command line to encrypt the files in a container.

If the user wants access to it, he has to type in the password. Truecrypt will open the container and just return the directory listing of the open container.

If the user does an input like
pass123


It will be passed as
./createcontainer.sh -p pass123


The problems are inputs like these
pass123 && rm -rf /


Which will be run as
./createcontainer.sh -p pass123 && rm -rf /


Will i be fine if i just check the input for code injection?
>>
>>56243689
Can you not encrypt/decrypt in browser?
>>
>>56243689
I'm not the guy you're replying to.
But why TrueCrypt? Since the service is dead, it can be dangerous in the long term to use it. Why not VeraCrypt or GhostCrypt?
>>
>>56243689
well, you'll want some proper encoding to ensure you aren't passing shitty data to the terminal.

base64 comes to mind.
>>
>>56243722
No problem, I'm looking from help from anyone! It's rather about the question if my attempt is useful, will check for the crypt options afterwards. I used truecrypt as an example.

>>56243715
I could just allow the user to have access after the right password so that I return the directory. The problem is that the files have to be encrypted on the server itself!
Truecrypt would mount the crypted container and return it to the user. If I use a php crypt library it would take shitloads of time to return a directory of 50gb of decrypted data.
>>
Do the certifications from freecodecamp actually help people find jobs? I've looked around and saw that people claim to get jobs based on that, at I think they are. It could just a coincidence and they get jobs WHILE taking the courses.

Any one had luck with the site? Is it any good?
>>
>>56243924
I think it depends on who's hiring.
Non-tech companies could be impressed by your freecodecamp and other online courses certificates but I think actual tech companies will smirk.
>>
>>56243921
What is the point of encrypting on the server? If the server get hijacked then they can get passwords when users input them. Do what mega does
>>
File: 1461680554235.gif (545KB, 256x199px) Image search: [Google]
1461680554235.gif
545KB, 256x199px
>>56218963

site will rise, sites will fall

bretty gud though on the quick glance
>>
>>56243956
What does mega do?
>>
>>56243924
The site itself It's probably the best free option to learn IMO, the certificate has little/nothing to do with people getting jobs what is really important is that they show with some kind of proof what they know, so a good portfolio and actually having the knowledge to solve problems is way more important.
>>
>>56243689
It's called escaping.
>>
>>56243689
escapeshellarg() is your friend
>>
>>56244005
mega.nz

>End-to-End Encryption
>Unlike with other cloud storage providers, your data is encrypted & decrypted during transfer by your client devices only and never by us.
>>
>>56244048
>>56244086
That's what I looked for.
Tanx anons!
>>
>>56244086
You mean escapeshellarg_v2_actuallyworksthistime_v3()
>>
>>56243689
That sounds really insecure and overcomplicated.

Personally I would rather just encrypt the file myself and store it on dropbox or my own VPS running ownCloud if I wanted to do something like that, but whatever.

If you insist on doing that yourself and especially doing the .sh thing instead of just using a PHP crypto lib, at least salt and hash the password instead of dumping it straight into the shell. If a user wants to use
pass123 && rm -rf /
as a password, they're more than welcome to since it will just be a random base64 string when it goes to the shell.
>>
>>56243939
>>56244013
Cool thanks guys I wasn't sure if it was a shilled site or if it was worth putting on a portfolio or what. I dont really have any projects on my portfolio, is it considered bad taste to put a project from a site like that on my portfolio?
>>
>>56244163
You mean mysqli_real_escapeshellarg_v2_actuallyworksthistime_v3()
>>
Does anyone have any experience with SASS or css shit like that? Is there a good reason to use it over normal css?
>>
Can I include a site in my portfolio if it has porn on it?
>>
>>56244988
you have to repeat your shitty css less often.
>>
Hey /wdg/, quick question.

I've a navigation side bar that can be opened, but when you click a link to a new page it instantly closes. Is there any way to persistently keep it open until the user closes it, even through navigation?
>>
>>56245172
Store the state in window.sessionStorage
>>
>>56245210
Cheers :)
>>
>>56224117
This is bad advice. Do not listen to this person. Inexperienced people writing raw SQL is a major security vulnerability.
>>
I'm making a React app at the moment, using webpack as my bundler.

In one of the React components is an <img /> element which has an src attribute that points to a local image. However, if I want that image to load correctly, I have to write the path for src relative to the output directory (i.e. where my js ends up being bundled), rather than relative to the current location of this unbundled file.

What kind of loader do I have to use to get an img src path to be correctly processed by Webpack, rather than manually doing it myself?
>>
>>56245609
Just put your images in /images and use an absolute path instead of a relative one.
>>
Best nodejs hosting?
>>
>>56245929
VPS, heroku, openshift
>>
>>56246009
Do people use heroku in production? It seems really exponsive
>>
>>56246033
$7 a month is expensive?
>>
>>56246033
>Do people use heroku in production?
Obviously, seeing as how they haven't gone out of business.
>>
>>56246205
$25 for 512mb ram
Hobby $7 has no scaling
>>
>>56217702 >>56234416
You're gonna have to add more checks than that, mate.
>>
>>56245700
Kys
>>
>>56245929
Not really a seasoned 'deployer' but I found digitalocean to be super easy for node deployment
>>
>>56242819

Don't Listen to >>56243140

I have written several applications in AngularJS, and while yes, it can't be used for SPA's that is not its only use case. More often than not, I use it in a sort of hybrid mode where the angular route, let's say /#/home/dashboard maps directly to an MVC route, i.e. /home/dashboard/index. I get 90% of the benefits of a single page app, with none of the drawbacks. Sure, I may send a few more bytes of html per request, but I also don't have to send monstrous JSON objects containing all the information about the page as that can be handled by the back end language.

For that sort of hybrid model, I would definitely use Angular 1.x and not 2.0. Don't bother with controllers as they're pointless, just wrap reusable bits of functionality into directives and set up services for your server calls. I'll typically write a single service that all of my other services inherit from and can extend than handles basic crud operations on a URL.
>>
>>56244988
Don't nest too many rules.
>>
what's the general consensus on iframes?
should they be avoided like wildfire?
>>
>>56247203
yes, for the love of god
>>
>>56247203
iframes are useful but you should never design your site around them
>>
>tfw above average web dev, but autistic as fuck and can't work in a team
Am I doomed to remote freelance jobs?
>>
>>56247281
Short answer: relax
Long answer: I feel just like you, but I have another causes for my social anxiety.
Try to decrease the amount of stress hormones in your body, because they might be messing with your brain, and they harm the body in the long run. It will take some time, but thankfully you want to get rid of all that shit once and for all.
>>
>>56247281
I used to aspire to be a freelance dev because I am scared of talking to people. But then I realized that you have to sell yourself to clients. Now I just dev as a hobby while I waste away.
>>
>>56247281
>>56247367
>>56247371
We're all gonna make it, my autismo brethren.

We're all gonna make it...

;_;
>>
>>56247398
i dunno man. sudoku looks better every day
>>
>>56247430
That's your cortisol levels speaking. Just open your eyes.
>>
Mosaic paint guy; use a framework that handles throttling requests for you if you can't do it yourself.
>>
If I've got a game running in the main javascript thread, is that going to interrupt keyboard events? Should I run the game in a web worker if I don't want it to interfere? I really really don't want to have to do that.
>>
>>56217217
>> Discord
>https://discord.gg/wdg
>need to sign up with email

LOL
>>
>>56247371
>you have to sell yourself to clients.
Yep. Freelancing sounds like the real deal for neets, but if you can't walk into a store and try to sell them a webpage then you're stuck competing with pajeet @ $3/hour
>>
>>56247464
>Forbidden

You don't have permission to access /paint/ on this server.

Apache/2.4.7 (Ubuntu) Server at alissa.ninja Port 80
>>
I have an <input> in HTML with a value already defined but it doesn't let me edit the input now, how do I make an input with a value defined that the user can edit?
>>
File: 84439708.jpg (72KB, 477x358px) Image search: [Google]
84439708.jpg
72KB, 477x358px
>>56247725
>He took it down
>>
>>56247753
I have no problem editing a predefined value input on my end.
What's your code?
>>
>>56247753
<input value="test"/>

should be editable. So something else might be affecting it.
>>
>>56247891
>>56247897
Maybe is that I'm using React? it's just the component with an input on it and I know that JSX in not entirely equal to HTML.
Still don't know how to fix it...
>>
>>56248002
Check this
https://facebook.github.io/react/docs/forms.html#default-value
>>
>>56248062
Solved, thanks!
>>
>>56248002
Look in your js console. It should say that you cant change the value because you dont have any event listeners

<input ref={node => {
this.input = node;
}} type="text" placeholder="Add a subreddit" onKeyPress ={(e) => {
if (!e)
e = window.event;
var keyCode = e.keyCode || e.which;
if (keyCode == '13') {
if (this.input.value !== '')
this.context.store.dispatch(addSubreddit(this.input.value));
this.input.value = '';
return false;
}
}}/>
>>
>>56248002
I wondered if you were using react. Check out this page, specifically controller components.

https://facebook.github.io/react/docs/forms.html

Basically, don't forget that what you're seeing isn't ~actually~ a normal HTML component. React will only re-render it if its STATE changes. So, to get a form to update you need to register the events, and apply them to the state. Then react goes "oh, ok!" and updates the DOM.
>>
How do I structure my resume? How do I list the languages and frameworks i know? Or the designs patterns I'm used to.
>>
>>56248100
Thanks

>>56248097
+1
>>
File: image.jpg (11KB, 249x203px) Image search: [Google]
image.jpg
11KB, 249x203px
>>56217217
Hey guys, I want to get into Web Development to have fun and make some money during college. CS is one of my majors so I'll learn stuff there, but where do you think I should start?

All I know is what I got out of a high school comp sci course where I learned HTML, CSS and also some basic C++ stuff. From there, where would you guys recommend I go? I was thinking about learning Java next.
>>
>>56248296
>Java
I think you javascript friendo
>>
I'm on php7 and am trying to run a laravel server but Terry A Davis was right and CIA Niggers are getting me with there core dumps. anyone know what i'm doing wrong?

Pic related.
>>
>>56248315
Yeah I know, I just mean everything about Java in general. I'm pretty much tech illiterate even though I've wanted to learn this stuff for awhile
>>
>>56248322
Use the deb.sury.org ppa (php 7.0.10).
>>
>>56248380
Java and Javascript are completely unrelated, as strange as it may seem.
>>
Do you want to work in a company (1) or making websites for clients (2)?

1) Java, C++, Python
2) JavaScript, PHP, Python

Either choose one and specialize in it. Less jobs but probably better pay in the end. Or try to be polyvalent, more jobs, but more rejection too as you're not an expert in what you use.

It's probably early, but once you are intermediate, you should jump on frameworks.

Old companies already have their application set up and they want people with good experience to maintain it.

And if you are freelance with clients, frameworks will help you build web apps faster and they will be more reliable.

>sorry for terrible engrish
>>
>>56248427
This was for >>56248296
>>
>>56248387
so do i just add the 3 Ubuntu repos and update/upgrade them?
>>
>>56248427
Java, .NET and PHP are languages that companies want for the back end

Freelancers use meme languages like Javascript Phyton and Go
>>
>>56248450
Just this one, in order to have the latest version of PHP
https://launchpad.net/~ondrej/+archive/ubuntu/php/
>>
>>56234157
Stop being an autist.
Ruby is for cute girls only
>>
Why do mailers take so long to mail?


Even on big company websites it can take 5-10 minutes for an email to send.
>>
File: mywebsite.webm (782KB, 974x853px) Image search: [Google]
mywebsite.webm
782KB, 974x853px
I've been making a kinda toy portfolio website just to get used to flask. How does it look /g/? Any suggestions?
>>
>>56248634
On hover, what will the "1", "2", etc be? The website title?

I think it would be good to have a short description on the project. What tech did you use, etc.
>>
>>56248807
Oh, sorry I should've made that more clear. Those numbers are the titles of the project, and the image would likely be a working screenshot of it (or something similar). The numbers were there just for debugging.

The description of the project would then be on the page when you click it under the image.
>>
>>56248634
I think it's not necessary to have the navbar hidden in a burger menu. Especially if there's nothing where it was.

If you really want to hide it, maybe make that whole side of the screen hoverable? And hovering over it exposes the menu.

But apart from that, I really like it. It's super clear and there's no extraneous detail.
>>
>>56248618
server -> server -> server -> server -> server -> server -> server -> server -> server -> server -> server -> server
>>
r8, h8, masturb8

https://galrus.com/
https://galrus.com/r/SkyPorn+EarthPorn

(please give feedback)
>>
>>56248427
Thanks for the advice, and the English was fine, I didn't notice.

I'm probably going to do freelance work part time in college.
>>
>>56248392
Would you mind explaining the difference in retard terms
>>
>>56249256
They're not the same programming language.
>>
File: 1449129823367.jpg (340KB, 1200x900px) Image search: [Google]
1449129823367.jpg
340KB, 1200x900px
I don't have anything keeping me in my current city. The problem with finding work is you don't know a company even exists unless you have someone tell you about it.

So what are some good resources to use to try and find some entry level jobs? I see that in the sticky there are some options for the neets unwilling to leave the house. I'm fast approaching neet status and I want to get off this ride. Help me /wdg/ you're my only hope.
>>
I'm trying to build Conway's Game of Life in react.js.

I'm stumped on how to even start this. How should I create the grid?
>>
>>56249011
The images load slow as fuck senpai.
>>
>>56249314
fuck that chick, thats like a 10 minuet to clean mess. Like bitch you think just sitting there is going to clean it up?
>>
>>56249011
can you move the header to the right, and/or have the options at the same height, to reduce space in the upper part?

>>56249408
that depends on your connection
>>
>>56249314
there are websites that list job offers for webdevs that use specific langs, lije python, golang, etc...
also, you can find jobs and links to websites in many subreddits
>>
>>56249408
What browser are you using? Do you have decent internet?

>>56249452
>can you move the header to the right, and/or have the options at the same height, to reduce space in the upper part?

I thought about that before. The header is just plain html but the options and everything else is done with react.

Thanks for feedback
>>
>>56249256
The history is actually sort of interesting (IMHO). A short and highly inaccurate version:

Java is a strongly-typed object-oriented general-purpose programming language that is particularly notable because it runs inside something called the Java Virtual Machine. If you can get the JVM to install on a device, you can run any piece of Java code in it. (Pretty common now, but it was a big deal at the time. Java is like 30 years old.)

Some time in the mid 90's, a guy named Brendon Eich was tasked by a tech company called Netscape with making a new weakly-typed, prototype-based, multi-paradigm programming language called LiveScript that would be run inside a browser and manipulate web pages. It was included in the Netscape Navigator browser (an ancestor of Firefox). Shortly before it was released, some marketing guy thought that since it was a very portable language that could run on any machine with a browser, it would be a good idea to rename it JavaScript, to leech some of the hype from Java, which was mega hot shit at the time. The name stuck, and there you go.

Also, it's worth noting that JavaScript can now be run outside of a browser with NodeJS. Pretty neat.
>>
Are controllers from the MVC pattern and routes basically the same thing in Express?
>>
>>56249433
Obviously you've never spilled spaghetti

>>56249485
So reddit is a good spot? Thanks anon
>>
>>56217217
I'm trying to get clean of amphetamines. Again.

I wrote a quick little something to motivate me to stay clean. A sort of "X days since last accident"-inspired thing.

I'm always writing up tiny little apps, it seems.
>>
File: ShareX_2016-08-24_10-43-44.png (962B, 104x32px) Image search: [Google]
ShareX_2016-08-24_10-43-44.png
962B, 104x32px
>>56250214
Motivation is bullshit. What you need is discipline.
>>
>>56249946
Technically no since Express in an unopinionated microframework that doesn't necessarily need to follow the MVC pattern. You could set up your routes in in a way that resembles MVC controllers, or you could just dump everything into one file. They more or less serve the same purpose though.

>>56250214
Good luck anon. You can do it.
>>
File: 0192830921.jpg (21KB, 314x322px) Image search: [Google]
0192830921.jpg
21KB, 314x322px
>javascript is required for a DELETE request
>>
>>56218963
>didn't keep the hexagon layout
>still called imagehex
> -> trash
>>
>>56250833
I wanted to get hexagons, but implementing it was fucking impossible.
>>
>>56250862
Canvas.
>>
File: Screenshot_122.png (731KB, 1902x1079px) Image search: [Google]
Screenshot_122.png
731KB, 1902x1079px
Improving marks design functionality for the upcoming torrent project. (backend is being worked on seperately). Opinions? Also, if you want to improve on something please reply. Logo is placeholder.
>>
>>56218963
Hey. User profile page, got a feature request.

Allow users to click the profile image to get a zoomed in version.

Ex: https://www.imagehex.com/@umemotojiro3

I should be able to hover/click the sword guy, and see a bigger version of the picture.

Other than that, seems like a generally pretty good website. Good design. Good UI.

Good work.
>>
>>56250989
Keep purple logo. Make background white, text black
>>
>>56251065
So pirate bay? Not making major design changes right now, as I'm focusing more on functionality and minor things, but will write it down in my doc.
>>
>>56231983
>interpreter
It's a runtime. And there is not even an interpreter inside it. Only 2 compilers.
>>
>>56251065
No
>>
>>56242652
https://courses.toddmotto.com/
>>
>>56251119
>So pirate bay?
No so it doesn't give me a headache
>>
>>56231328
<template> and template strings.
>>56237613
Half of TS is literally JS#.
>>
>>56233822
Guys who answer the first time can you answer please ?
>>
>>56251182
I can just implement a theme option in the final version for people who hate colors.
>>
>>56251306
Answer what?
>>
>>56249433
Maybe she's crying because she's a broke college student who is out of food, out of money, and that was her last crock-pot of sauce.

Now she has to starve until the next paycheck from her shitty minimum-wage job.

All because puss just couldn't leave shit alone.
>>
>>56251360
How do I get girls to like me?
>>
>>56249362
probably screenx and screeny. Divide into however many units you need. Monitor for resize event to recalculate cell sizes.

>>56250214
Strange. I'm counting down the days until I'm prescribed amphetamines. ADD is dicks. I tried ethylphenidate from online and it fragments my concentration so hard I can't focus on a single thing. Sucks.
>>
>Chat app
>Cart
>Blog/Forum
>Small Canvas game

What else should I have in my portfolio?
>>
>>56250989
Why would you play this dangerous game?

That's the kind of website where you would have to find a host to accept money orders under fake names.
>>
>>56220392
How do you learn this shit?
I've just recently got back into programming, and figured I'd give HTML a shot. It's fun, and so far seems pretty easy, but when I think about the big picture(Making a website) I don't even know where to go from here.
>>
File: bg.png (59KB, 800x300px) Image search: [Google]
bg.png
59KB, 800x300px
Any place you can get pictures in this style for free use?

I only need them as placeholders, but I want to be on the safe side in case some retard merges the branch.
>>
>>56233822
>Really ? I'm doing it on microsoft vb basic, left part of the first picture I post was from the website I'm trying to buy from, not my program btw

What did he mean by this?
What I was saying is that..I had an Amazon bot that bought shit as soon as it became available.
What I did was user the browser object. I refreshed the page every 5 seconds until the element ID for the one-click buy button became available. I would auto-click and confirm the second it was.
I had the user login to their account through the browser object.
People really objected to putting in their personal details into the browser object because they thought I was stealing it. I even had the whole project open-source.
You're collecting all their info for what purpose?
>>
>>56220518
>might as well buy a domain and hosting and go all out.
Damn straight. Go all out. Running a website is cheap. I launch everything I make and it only costs like 30 dollars a year.
>>
>>56217217
Sup /wdg/,
here's my problem: I am 90% done with this website I've been working on, but I'm stuck on finishing up the last page.

Basically, I have a database with the following information:
id, film_title, film_summary, film_director

What I want to do is generate a column of rows in HTML for each of the rows in the database, but I am lost.

Any ideas? I'm using Python.
>>
Hey /wdg/, been a while because programming as a NEET is depressing.

static WebClient client;
static void Main(string[] args)
{
client = new WebClient();
var server = new Server(null, "127.0.0.1", 3637);
var reactivePage = new ReactivePage("frontpage", "FrontPage", JsonConvert.DeserializeObject<object>(client.DownloadString("http://mywebsite.com/api/frontpage")));
reactivePage.get = (a, b) => client.DownloadString("http://mywebsite.com/api/frontpage");
reactivePage.IsSPA = false;
reactivePage.IncludeScript("main.jsx");
server.AddPage(reactivePage);
Thread.Sleep(-1);
}

And I'm currently hacking through JSX to rebuild my frontpage with ReactJS.NET, which ideally should get me SEO since I'm no longer building it from the front end. The url "http://mywebsite.com/api/frontpage" returns a JSON string which contains all the posts and comments for my front page. What's really neat is the above is all the C# code I need.

Also, turns out ReactJS can parse the BBCode library I'm using so it's just at the end of my main.jsx script. It'll be touchy to see if I can call it from JSX.

>>56251568
Have you tried simply append statements? HTML is view oriented code, so it's not uncommon for people to handle it from the front end with javascript. Building HTML from the backend (with python) is a job something like ReactJS does.
>>
>>56250750
You can fake it, and some frameworks encourage it.
<input type="hidden" name="_method" value="_DELETE" />
>>56251399
How much do you love yourself? (I'm not suggesting that you should become a douchebag btw. Oh, and I realize you might be trolling).
>>
>>56251447
I've "learned" through many years... and I still don't know much. the frontend sucks, and I barely know what meme tech people use in the backend. in short, don't ask me, I suck at webdev, and probably dev in general.
>>
>>56251509
>30 dollars a year.
$30 isn't cheap for everyone, even if it's $30/year
>>
>>56249525
Latest version of Chrome, 20 MB/s internet. Might be my shitty laptop though, so ignore my previous.
>>
>>56251796
>meme tech
For backend, it's literally whatever the fuck you want to do. I use C# because I think it's the best trade off between how many lines of code I need to do for shit and speed. I'm >>56251743 and the "meme tech" I'm using is the stuff I made myself.

>>56220359
Honestly, I only have a website and I'm only putting SEO on it so I can get a job.

>>56251809
Ironically, 30$ is cheap as shit here, but getting jobs is hard. I'd bet if I lived somewhere where 30$ was expensive, I'd get a job more easily.
>>
>>56251809
Really? I'm from a third world country, never had a paying job nor rich parents to give me money all the time yet I have a domain + hosting for my personal site and looking to setup at least 2 more for projects soon.
>>
>>56251978
>>56251978
>>56251978
New thread
Thread posts: 321
Thread images: 34


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.