[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: 193
Thread images: 17

File: uudg.png (810KB, 821x550px)
uudg.png
810KB, 821x550px
>Old thread
>>58319171

>2017
https://www.youtube.com/watch?v=9hDKfBKuXjI

>This season's Advent of Code:
https://adventofcode.com/2016/

>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/

>Useful Youtube channels
derekbanas
thenewboston
learncodeacademy
funfunfunction
computerphile
codingrainbow

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

>Backend development
https://en.wikipedia.org/wiki/Comparison_of_web_application_frameworks
https://gist.github.com/dypsilon/5819528

>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
http://pastebin.com/pDT82mQS
http://pastebin.com/AL6j7GEE

>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
>>
>>58361783
First for Go
>>
js is powerful
>>
Been tasked with making a website for a driving school. I can't think of what kind of design to go for, looking at what's already out there, they're quite cheap cheerful and image/colour heavy.

Anyone have any suggested designs?
>>
>>58362806
do a good logo and just make some simple, clean and slick design
>>
>>58363756
with big picture that i like
nice font too
>>
>>58363839
IDK what to tell you, its not like a driving school needs some special design. Make a generic good looking webpage (considering youre getting paid you are able to do that) and slap a logo on it that doesnt look like its made from clipart, bam you have a website which is better than 99% of other driving schools
>>
>>58363857
im not the dude being paid im just meeming desu
>>
>>58363756
Alright thanks
>>
I'm making a responsive website.

Using any browsers on my phone doesn't show backgrounds as fixed. Should I worry about maintaining an appropriate background size ratio for vertical scrolling on phones then?
>>
>58357186

I'm an Ng-Fag myself but if its anything like Angular or any other MVC just use REST endpoints with sprinkles of xss and session Id to prevent yourself from getting rekt lad
>>
>>58364660
FUCK, I meant

>>58357186
>>
Making a poker game, just started on my deck/card "class", whaddya think? Is this even how I should code JS?
function CardDeck(){
this.cards = [];
return this;
}

CardDeck.prototype.addCard = function(card){
this.cards.push(card);
}

function Card(color, value){
return {
color: color,
value: value
};
}

var cardDeck = new CardDeck();

//Generate cards
for(var i = 0; i < 4; i++){
for(var j = 1; j <=13; j++){
cardDeck.addCard(new Card(i, j));
}
}
>>
i just bought a meme-y domain name (i wanna do some messing around with react) but I'm not sure about email hosting, $5 a user a month seems like a fucking ripoff when i just want to have basic mail host and i think my i already have SPF records, can I host this shit myself on EC2 or something?
>>
File: 1399339118260.jpg (13KB, 425x329px) Image search: [Google]
1399339118260.jpg
13KB, 425x329px
best language for deep web dev?
>>
>>58362806
WordPress. Just do some shitty pre-canned theme. Driving schools are too uninformed to notice.
>>
>>58365818
PHP. No JS
>>
>>58365818
If you mean Tor then language is the least of your worries you want to read The Web Application Hacker's Handbook in order to not have your application get zerg'd by agencies or the vast amount of 'deep' web criminals which will try and get in to steal.

Also this advice by nacash http://pastebin.com/index/GrV3uYh5
>>
>>58364824
>not using the new class syntactic sugar

>>58365435
Look into something like sendgrid or mailchimp. Usually they have some sort of free tier. You really don't want the massive asspain that is running your own email server (just ask Hilary).
>>
>>58365435
You can run your own mailserver only problem is blacklist domains from spamhaus and shit. They routinely blacklist all kinds of hosts like Digitalocean or AWS so you're kind of forced to use existing services.

Fastmail is good as a gmail alternative though you can use countless other free email w/your domain too like Yahoo or just install openbsd default system and use OpenSMTPD as a mail server.
>>
>>58365951
>>58365987
cheers guys
>>
I got vroomjs to compile on Linux, if anyone seriously needs the binary (64 bit) I'll upload it somewhere sooner than later rather than sitting on it. In case you don't know, it's probably the only v8 binding that works as well on Linux as on Windows.

The next issue is I think it's possible react.net isn't actually loading the library. Considering react.net is probably what you want to use it with.

>>58364660
More or less my style.

Literally any backend framework that returns strings easy and can manipulate the headers is enough up to until you start wondering if your site needs seo.

>>58365818
Everything JS, make it difficult to tell what's backend and frontend code. Your co workers will love it.
>>
I'm having a massive problem with hiding a form after it does an initial POST to submit data to MailChimp, and then subsequent GET to confirm the data that has been sent and check's if the person was already signed up or not.

I've tried doing at least a handful of things with jQuery and I'm not getting anywhere. Anyone have some resources I could look at to help me out? Google is rendering me anything useful.
>>
>>58367364
You have been complaining about forms for like 3 days straight.
>>
Why does nobody post their websites here?
>>
>>58368269
We do. All the fucking time.
www.tfwnogf.com is one of mine.
>>
>>58368269
mine is pretty sparse
just a minimal blog about tech stuff and my info, also a gogs server and pomf clone
>>
>>58365435
>i just bought a meme-y domain name
I'm in the same position, but I need content ideas. What should I put on my extremely meme-y site?
>>
So I'm making a simple site that uses ffmpeg to google image search frames of uploaded or linked videos.

It's written in django and will really only need bandwidth, but a fair bit of it.

What's a recommended hoster for this sort of thing?
I'm probably currently deciding between AWS, Heroku and pythonanywhere..
>>
>>58370288

Additional question before I go to sleep:

Is it possible to send url parameters like '&time=100&redirect' in a POST html form?
>>
>>58370288
>AWS
Enjoy $5000 bills

>Heroku and pythonanywhere
Memes

Try online.net dedicated servers, or scaleway if you want to cheap out.

>>58370361
action="?time=100&redirect"
>>
How did they do this? The madmans. http://falter.madebywild.com/#en
>>
>tfw my first web app to control a piece of hardware
granted it only turns LEDs on and off...
>>
>>58370650
https://threejs.org/
>>
>>58367364
RTFM

https://api.jquery.com/hide/
>>
>>58369711
What's it called?
Actually it doesn't matter, everyone here is going to tell you to put weeb shit on it

>>58370288
>uses ffmpeg to google image search frames of uploaded or linked videos
That's going to put some load on everything, not just bandwidth. You need to actually download the video, but also ffmpeg is also going to take some cpu and mem to do its thing, especially with multiple concurrent videos.

Might be out of bounds for what you can do with the heroku free tier. And >>58370378 is right, AWS can get expensive quick. You might want to look into a VPS. DO is $5/month and you can find some cheaper ones if you want to hunt around a bit.

Also, iirc the google search api is pretty heavily rate limited in the free tier. You may end up needing to pay for that as well.

Cool idea though, good luck
>>
>>58361783
Wanting to learn to web dev, just started using free code camp is that any good ?
>>
>>58371685
The claims of getting you from neet to a job at a non-profit are mostly bullshit. It's a good place to start, but the only way to learn once you get the basics down is to actually make stuff, not just little code exercises. So be prepared for that.
>>
Can anyone recommend some kind of JS client and server side web app framework that specifically comes with bindings to (or is built around) Amazon DynamoDB and other Amazon services such as S3?

something that abstracts away the database and API stuff as much as possible
>>
>>58371561
>What's it called?

meme.army
Best fucken url ever. Now I need to know what to put on it.
>>
>>58373332
Literal meme army. A community of meme creators (image + text tool). Attack specific targets on Twitter etc with memes. Voting on targets. Memester with the most likes (or replies) on Twitter wins the round, gets to influence next target.
>>
File: aut5299266366_baed1893c4_n.jpg (40KB, 320x246px) Image search: [Google]
aut5299266366_baed1893c4_n.jpg
40KB, 320x246px
Tell me /wdg/, Jquery or AngularJS ?
>>
>>58373332
>>58374066
That's cringy as fuck. What a waste of money.
>>
>>58374157
Really depends on what you need.

If it's for way simple ajax request and a few flashy things, jQuery. If it's for data-binding and actually taking advantage of having a back-end or close API work, AngularJS.

AngularJS is built on top of jQuery, personally I try to avoid using frameworks like React, Ember, etc. until I really have to. I prefer using jQuery as much as possible until the job in question is no longer feasible or is substantially harder for what I would have to build on top of it.
>>
>>58374238
Thanks for the reply anon! You just give me everything that I want to know!
>>
File: buzz911.jpg (74KB, 680x660px) Image search: [Google]
buzz911.jpg
74KB, 680x660px
>mfw no one in here knows competent html/css and yet is talking about jquery and angularjs

Lel, just make a few fucking boiler templates you dolts. Make some cash.
>>
>>58375401
Wow anon, great contribution! I'm glad you came into this thread with your fountain of knowledge and contributed to increasing the quality of the board with just a single post. What would we do without your sacred wisdom?
>>
>>58376196
Make money with my wisdom, idiot.
>>
Guys, what's the optimal amount of content in a layout?

On the one end of the spectrum, you have NY Times home page, on the other end, you have Medium.

How much does it affect users and clicks?
>>
>>58376714
Depends
>>
>>58376714
Take a UI/UX course, then make that decision.
>>
https://collinoswalt.com/bbs/

html based console
>>
>>58376787
>>58376813
I did take a course. I read lots of books and read blogs. I'm asking you, because I got some analytics results of the most popular news portal in my country and it seems that people don't scroll that much and it's better if you cram a shitton of content above the fold.

It's the exact opposite of what each UI book and blog thought me about. Why did I even learn anything, then??
>>
>take dev test
>think I do really good.
>hear nothing back
>>
>>58376714
>>58376813
>>58376911
"""""UI/UX""""" is mostly horse shit. The "optimal" amount of content in a layout depends on the overall design of the page, but ultimately it comes down to personal taste and really just doesn't matter all that much. Don't cram in so much that it's annoying to read or leave so much whitespace that you have to scroll a lot. Use your browser dev tools to tweak the css until you get something that looks readable.
>>
>>58376834
not sure what it's supposed to do but it's not working for me.
>>
File: cv.png (19KB, 833x881px) Image search: [Google]
cv.png
19KB, 833x881px
any resume critique?
I know it's really underwhelming, but can it be enough for some positions? Aiming for full-stack or some back-end work.
money is getting low and have to start working soon.

all the white space at the top and bottom is some erased personal info.
>>
>>58377262
It kinda hurts to hear that when you spent so much time on learning it, but I agree with it, at least partly.

I can't explain to you that there IS a lot more to it that isn't just "tweaking CSS until it looks good" in a single post, but it really DOES require a good amount of knowledge and practice.

But on the other hand, there probably are a lot of stuff which are pure pseudoscience, or which just doesn't work anymore.

Anyway, I feel betrayed. I had 3 courses on web design and UI/UX and spent a few full months on learning it (I'm not in the business, though). I feel like I just lost my time now and nothing actually works in a real world.
>>
>do nothing but read about and occaisonlly fiddle wiht a couple different thigsn Im suposed to learn but never acutally make anything

gee i will be ready to get that job soon
tried making a portfolio but apparently it looked really bad

Any tips ona cutally consistently doing things and making stuff and getting practice?

I'm at the level of knowing js/html/css all pretty well and have read a good amount and tried doing a bit with php, and started reading into react (lots of job offers here)

I just never know what to actually try and make
(have made 2 decent js app things though)
>>
>>58374157
>jquery still valid for a lot of routine UX work
>Angular organizing data binds
>mfw people don't know the difference.
>>
>>58364824
>not putting suit in your Card Constructor

youre gonna have a bad time senpai
>>
>>58364824
>es5
>>
Ok I am using bootstrap if this changes anything, I want to have a carousel that has thumbnails at the bottom, the difference is, the carousel is not of images, but tables, and the user can highlight certain cells. I want the thumbnail to show (even if its small) the highlighted cells.

This hard to do?
>>
>>58377639
Carousels suck, man. Don't use them.
>>
>>58377361
Not everyone will be able to see clickable links (i.e if HR prints them out to hand them to someone) Have the actual, complete URL available.
>>
>>58377346
It doesn't do anything rn, I'm just getting rendering to work
>>
>>58377688

I'm not using it in a conventional way (3-5 banner images at the top of a website), but am open to a better solution, the app is using javascript and jquery. and is made up of anywhere from 1-10 grids of 10x10.

I need a way to be able to change between the tables, while retaining which cells the user chose to highlight.
>>
>>58377791
Should I just add a link part at the bottom or have them right next to the hyper link?
i know it's a silly question
>>
>>58375401
>Lel, just make a few fucking boiler templates you dolts. Make some cash.
Templates for what, how much will I make? can you give an example and the amount you made?
>>
>>58377365
Honestly there are a few good nuggets, but it really is almost entirely common sense stuff and meaningless bullshit. It's hipster artfags, non-stem people, and marketers trying to inject themselves into the IT industry for them juicy tech bux without learning how to write code or run cable or admin sys'.

>I feel like I just lost my time now and nothing actually works in a real world.
Your feelings are accurate, then.

Really the main worthwhile thing from those kinds of courses is that you should consider how people are going to use your product. Figure out the 1 to ~4 most likely actions users are likely to take, and focus on making it really easy to do those things.

>>58377392
>Any tips ona cutally consistently doing things and making stuff and getting practice?
Yes: constantly do things and make stuff and get practice. Set aside time every day and just work on it. There's no shortcut.

>I just never know what to actually try and make
$popularWebsite clone
Game
Data Visualization
CRUD app related to viewing/purchasing/creating content related to some media e.g. games, movies, books, hentai, pokemon, recipes, whatever.
>>
>>58378187
The only thing I can't understand is why are UI/UX positions so well paid and why are people with those skills needed right now.

And all those big YT channels, blogs, websites like A List Apart and Smashing Magazine, psychology doctors etc. - what are they? Why are they so big and popular, why does so many content exist out there? Is it all bullshit or is it just what people outside of the industry think?

I've seen Google also talking a lot about their UI/UX processes, it seems important, but a lot of people also say it's a pure horseshit and common sense.

I don't know who to believe in anymore, but I certainly don't believe my professors.
>>
>>58377639

Put the table in each slide instead of an image, give the table the class 'slide-table' (can be anything).

The code you then want is along this lines (can't be bothered to test this so it may not be 100%)
$('.slide-table td').on('click', function()
{
$('#thumbnai-div').html($(this).html());
}
);


May be trickier if the slideshow element you're doing has it's own click event but you can still use that code and just have the slideshow's event handler do nothing.
>>
Any of those udemy courses worth a shit wdg? Or any good must have web dev books?
>>
>>58378642
Shit like ng-book, react, eloquent JS, are good. Udemy courses vary in quality. I often find they're useful after you know what you're doing with the framework and trying to learn nook and cranny shit, otherwise most of the time they microscope in on a lot of useless shit that doesn't really benefit you're overall learning.
>>
Any opinions on this book?

http://shop.oreilly.com/product/0636920000556.do

"Designing Interfaces, 2nd Edition
Patterns for Effective Interaction Design"
>>
>>58378372
"UI/UX" is a meme, and I mean that in the Richard Dawkins sense of the word, not the 4chan one. (but also the 4chan one.)
There used to be a job called "designer" (web designer, print designer, etc) but at some point someone started to try upselling the "designer" role by being a "designer that uses psychology to influence user behavior and increase sales or conversions or something, probably" (aka the /UX part) and therefore justify a higher salary. The programmers say "Whatever, sounds like bull, but I don't know enough about this stuff to dispute it, and if it means I don't have to deal with CSS, I"m in". The money people say "This will make me more money? And/or I can convince other people that it will make them more money? I'm in. Then everyone started drinking the kool-aid and memeing it into job descriptions and the rest is history.

>And all those big YT channels, blogs, websites like A List Apart and Smashing Magazine, psychology doctors etc. - what are they? Why are they so big and popular, why does so many content exist out there?
It exists because people watch/read it. Same as everything else. Just because something is popular on youtube and magazines doesn't mean it's not buzzwords and bullshit. If anything, the more popular something is, the more saturated with bullshit it gets.

>Is it all bullshit or is it just what people outside of the industry think?
It's not *all* bullshit, it's a few good insights mixed with common sense mixed with bullshit mixed with stuff that's not bullshit exactly, but so ineffectual in the real world as to effectively be bullshit.

>I've seen Google also talking a lot about their UI/UX processes
Because google never peddles bullshit, right?
>>
>>58378642
>udemy courses
Some of them are good. Protip: if you see one you like (and it isn't free) put it on your wishlist and after a couple weeks you'll usually get a substantial discount on the course. Like with steam, you should almost never pay full price.

>web dev books
You can learn everything online for free and usually it's more up to date and better quality if you want to hunt a bit for it. There are some good books around though. I'd recommend Eloquent JS, Clean Code, The Pragmatic Programmer, The Design of Everyday Things, Code Complete, SICP. Most of those are general programming books, not web dev specific, but there's certainly a lot of overlap.
>>
>>58378982
Glad I'm learning about this early. Oh well, 2-3 months spent reading many UI books was probably useless, but I hope I got some experience from it anyway.

Honestly, this thought hit me recently when I realized that despite my great will to help people with their design decisions, not everyone seemed to give a fuck, some even thought I was trying to get them mad (???) with my explanations (which I read from books).

I like design and enjoy designing things, but now I think I'll completely stop going down this path and focus on something else. Maybe continue developing my frontend or backend skills or something else.
>>
I have a table, I want to overlay it with a transparent wrapper, and over the transparent wrapper have a textbox with a solid background.

How do I do this
>>
>>58378748
Cool thanks for the suggestions anon.

>>58378998
Awesome, thanks to you too.

I got some gift cards to get rid of so I was wanting some good books. I was asking about udemy because apparently they got some shit on sale right now and I didn't want to get fucked over by some garbage instructionals. I use to have access to a Lynda account and some of their instructioals are just garbage. I was wanting to know if any of these were any good.
>>
>>58379195

Make the transparent div full height and width of the container, with position:absolute. Position the text box in the transparent div like you would any other.

Seem to remember this sort of thing being a pain though so you're just going to have to play with position, display, overflow, top,left, height, width properties until you get it right.
>>
File: Unbenannt.png (64KB, 800x1200px)
Unbenannt.png
64KB, 800x1200px
I've currently learning and working on my first PHP/Symfony3 project and i have an... interesting problem, the login view get's rendered twice while not logged in, see pic related.
Everything else functions as it should and i have no other problems, but idk how to solve this and it infuriates me because i'm an autistic OCD fag.
The problem can be solved by editing the security.yml and removing the access control, but that's no option for obvious reasons, here's a part of my security config:

firewalls:
default:
pattern: ^/
anonymous: ~
form_login:
require_previous_session: false
check_path: login
login_path: login
csrf_token_generator: security.csrf.token_manager
#failure_path: /road_to_nowhere
logout:
path: /logout
target: /

access_control:
- { path: ^/login, role: IS_AUTHENTICATED_ANONYMOUSLY }
- { path: ^/, role: ROLE_USER }
>>
Is being just a frontend dev shtity?
What about frontend + design?
If I need to go fullstack, how much frontend knowledge is enough before I can focus on learning backend.
>>
>>58379857
>Is being just a frontend dev shtity?
No
>What about frontend + design?
Pretty much mandatory
>how much frontend knowledge is enough before I can focus on learning backend
Basically none. You need to know about http and whatnot obviously.
>>
Would it be a bad idea to host my wannabe designer portfolio on GitHub for free and make it visible under the hood?
>>
>>58379983
Why would it be?
>>
File: maxresdefault.jpg (99KB, 1920x1080px) Image search: [Google]
maxresdefault.jpg
99KB, 1920x1080px
>>58379981
>Is being just a frontend dev shtity?
>No
Ah, welcome, mister. How may I help you today? What's that? A website? Sure thing, that'll be 5$. Namaste.
>>
>>58380068
Wordpress monkeys aren't devs
>>
>>58380094
I'm sorry sir but I'm a certified Wordpress Developer
>>
>>58380094
Well, frontend guy wouldn't do a backend anyway, right? So what if he uses wordpress and makes a completely custom template on top of it?
>>
>>58378982
They would be the equivalent of a copywriter. Check out what a copywriter is and they share a similar parralel.
>>
https://www.bleepingcomputer.com/news/security/mongodb-apocalypse-is-here-as-ransom-attacks-hit-10-000-servers/

MEANfags btfo yet again
>>
Let's say I wanted to make a BBS type site that you access entirely through a command line application. I don't even want the site to be accessible from a web browser. Would it still make sense to leverage http tooling and build a traditional backend on an http server? It should be possible to embed a key or something in the command line client that wouldn't be present on a web browser which could be included in the request to make sure there's no response unless you access it from the intended client, right?
>>
File: 1362960884713.png (28KB, 499x322px) Image search: [Google]
1362960884713.png
28KB, 499x322px
>>58380492
>running a legitimate website
>not having multiple backups of your db
>>
>>58380151
Guess I'm right, since no replies. I'll say it again. I don't see anything really bad about using a wordpress for some sites (where it is a good choice!) and coding a frontend by yourself.
>>
>>58380509
Probably easiest to just use a REST framework as the backend.
>>
so I have a variable in js set with a default value that later changes after clicking a button

the problem is every time a change is triggered with a slider the variable resets back to default value why is doing this?
>>
>>58380525
Well if they had any sense at all they wouldn't be using fucking mango dee bee now would they?

>>58380151
>>58380539
>Well, frontend guy wouldn't do a backend anyway, right?
Depends on the job. Sometimes you're expected to do a little bit of everything, sometimes you're strictly one or the other. You should at least have a general knowledge of what's happening on the other side though. A frontend dev that gets intimidated by the thought of doing backend stuff is probably pretty shitty, and vice versa.

>So what if he uses wordpress and makes a completely custom template on top of it?
>I don't see anything really bad about using a wordpress for some sites (where it is a good choice!) and coding a frontend by yourself.

There's (arguably) nothing _wrong_ with using wordpress in some situations, it's good at what it does, which is let normies manage content-based websites without having to touch any of that scary code. And of course some people (most of them in south asian countries) only make wordpress themes as their entire job. It's just that making actual web applications and making wordpress themes aren't even in the same ballpark of complexity (and payscale), generally. In other words, yes it's fine, but if you go bragging about it to "real" devs, they're not going to respect you.
>>
>>58380705
Post code, baka.
>>
>>58380705
Wordpress lacks scalability.

It's the same reason why people don't use Meteor, Ionic, or React Native, because there's a diminishing point where wordpress runs out of viability in becoming a focus for a front-end product and can be easily scaled by companies who spent the proper time in resources in investing in their own applications using frameworks that have proven exponential results.
>>
>>58380818
I have something like this

var num = 0;

$('.button').on('click', function() {var click = $(this).data('clicks');if (click) {
var num =1;
}else{
var num=2;
};$(this).data('clicks', !click);});


$(".slider").slider({range:true,values: [0, 1000],min: 0,max: 1000,step: 1,
slide: function( event, ui ) {
if (num==1){////};
}});



everytime the slide function is triggered the num goes back to 0 even if its not
>>
Probably the wrong place to ask this, but I figure you guys would know best.

Is there a way to find URLs without a sitemap?

I need to find pictures from a car I bought because a dealer is being a fucking douche canoe about some shit. The images exist, but I've only found a thumbnail, and the urls are length 32 hex strings.... so brute forcing it is pretty much impossible.
>>
>>58380509
>I don't even want the site to be accessible from a web browser.
Sounds like a good way to make sure no one uses it, but okay.

>Would it still make sense to leverage http tooling and build a traditional backend on an http server?
Of course. Your other option is to reinvent the wheel and make up your own protocol that will probably end up being a much shittier, less secure version of something that already exists.

>It should be possible to embed a key or something in the command line client that wouldn't be present on a web browser which could be included in the request to make sure there's no response unless you access it from the intended client, right?
Yes, but you'd be making a lot more work for yourself because you'd have to compile it and distribute the bins instead of just having someone clone the repo. Also (if anyone even bothered) they could still probably reverse engineer it.
>>
>>58381088
I'm not sure if this is a good answer, but I would start searching through the cache of the website. If it's something you've visited recently, you can actually go inside your temporary files folder and track it down in there.
>>
>>58381146
I'd do that if I had visited the website prior to purchasing the car.

The one I bought wasn't one that I looked at before going in.
>>
>>58377958
Put the links right next to it, because HR generally hates resumes longer than a page or two.
>>
>>58381088
Try to do some detective-work on the thumbnail. Maybe there is some kind of naming scheme you can exploit. Might help if you can find a full size and thumbnail of the same image to compare. Also it's a long shot, but possibly worth trying the root image directory if you haven't already. Sometimes servers are configured to automatically generate an index.html of the directory.
>>
>>58378372
They are the online equivalent of copywriters. Learn how to copywrite then you can do the UI/UX job titles.
>>
>>58381271
UI is about design, though. UX, yes.

Why are you guys even mixing UI with UX?
>>
>>58381213
They're using cdn-ds, so it's got access to pretty much everything but the images restricted.

The naming scheme seems completely random.

Here's an example of a few images from the same car.


eaef885db10024c8f96fa9cb6b5a76ba.jpg

64154e1909ac5771c875aec8e2c1f79a.jpg

well 4chan thinks it's spam, so there's two?
>>
>>58381310
They go hand in hand a lot of the time. If the UI ain't getting a good UX then change the UI. UI is great but bad UX people aint staying on your website.
>>
>>58381311
You're probably fucked then, sorry
>>
>>58381403
I figured, but I thought I'd ask.
>>
>>58381376
Fair enough, they do have connections. I just think that the UI is a bit less of a meme than UX is.

UI design is almost a web design, basically. It's about the visuals.
>>
>>58381428

UI is about "how", UX is about "what".

Get five people to browse your new website. If none of them finds the (shiny and beautiful) logout button, because it's buried in a sub-sub-sub-menu, your UI might be god tier, but your UX is shit.

On the other hand you can have a site that has "everything you need", but the buttons are too small and the colors are kinda 1995. Then you would have a great UX, but a bad UI.
>>
File: pleasekillme.jpg (314KB, 1600x1200px) Image search: [Google]
pleasekillme.jpg
314KB, 1600x1200px
>>58379593
Anyone.. please?
>>
How do I learn PHP?
>>
>>58374066
>>58374169

By allah I will make it.
>>
>>58381985
>3 hours 20 minutes old post
Fuck off, /wdg/ isn't your personal tech support hotline. If someone sees it and knows how to fix it and feels like it they'll answer. Otherwise take it to stack overflow or figure it out yourself.
>>
>>58382200
Calm down, autist.
>>
I'm never getting a fucking job.
>>
>>58382648
that's the dream anon
>>
When working with PHP + React.js:

Where should I place my server side APIs, and where should I put the bundle.js file?
>>
>455 page views
>estimated earnings $0.01

So I make a penny a day.
>>
>>58382957
kek
better than nothing at all.
what sort of site do you have set up?
>>
Why are ads only viable if you have 5 trillion of them?
>>
>>58382994
tfwnogf.com I just put up the ad. 4 donations over 3 years for a total of 13 dollars! I just started a youtube that has made 80x more in one month.
>>
>fall for the js MEAN/MERN stack meme
>build up portfolio of projects
>finally time to start job hunting
>literally all jobs around me are ".net"
>only things even involving node are all SR positions

So lads, are their any learning resources for .net or c# that aren't in Hindi?
>>
File: python2.jpg (92KB, 480x640px) Image search: [Google]
python2.jpg
92KB, 480x640px
Do any of you motherfuckers actually enjoy webdev, or is it just something you have to do because normies fucked everything?

I love Common Lisp. I love Emacs Lisp. I love Python. I don't do anything overly complex with them but they all are powerful without feeling like crude hacks.

Every moment I've spent with web-related shit made me want to shovel my eyes out with a fork.
>>
If I want to learn how to make Rainmeter skins where do I start
>>
File: 1483272497284.jpg (43KB, 638x688px) Image search: [Google]
1483272497284.jpg
43KB, 638x688px
>>58383344
no sane person enjoys webdev in the traditional sense because 99% of the technology the web works on is a steaming pile of shit, we have browser vendors that refuse to implement any new standards after 1999 so the industry is in a constant flux of cheap hacks and poor compatibility because every time a RFC is actually implemented somewhere a new RFC is created that partially covers the last and everyone jumps on that as the next best thing. obviously it's not entirely the vendors fault, but you have the W3C who haven't done ANYTHING besides consume donations for the past 20 years and are some how held as the authority on what the web should look like.

honestly if you're a web dev, suicide is a good option, an even better one is mobile. at least you only have to deal with two vendors, that have a level of competition between them that is effecting change that improves the user and developer experience.
>>
>>58383344
I really like doing CSS stuff and sometimes writing back-end can be a lot of fun.

Honestly, I'll sit around for a few days at a time and just make a bunch of really sexy CSS buttons with really nice animations and not do anything with them. Got a whole repo full of 100s of buttons that are just sitting around. Maybe I'll do something like hover.css.
>>
>>58383047
c# is easy, i picked it up in 2 hours and had made a console tool that scans websites and looks for admin pages ect via a wordlist.
>>
>>58383047
>literally all jobs are .net
Just learn Postgres and React and you'll be fine finding a Jr JavaScript cuck job.

Or just learn how to test using Mocha/Chai and get a NEET job, you didn't waste your time building the portfolio at all.
>>
>>58383512
Thats the impression I've gotten, that its decades of hacks piled on top of each other. I haven't gone too in depth, but considering there are actually people out there who enjoy JS (although probably not most), I figured maybe I just hadn't seen some of its more redeeming qualities. In any case, its sad that so much of the world is hinged on JS. =/

>>58383659
CSS is great. I think HTML, and by extension CSS, is a great way to make documents. HTML is finnicky but I've mostly enjoyed writing it. Dealing with the nuances of each browser is another story though...

But HTML is for documents. *PAGES*. This 'web app' shit has to stop or find a new standard to leech off of.
>>
File: 1481652571496.jpg (7KB, 272x207px) Image search: [Google]
1481652571496.jpg
7KB, 272x207px
>>58383024
You need marketing
>>
>>58384407
It's pretty niche. Most visitors are new. Only 13% traffic remains.
>>
File: 148165251364.jpg (26KB, 435x435px) Image search: [Google]
148165251364.jpg
26KB, 435x435px
>>58384573
Why is it so hard to make money with web?
>>
>>58378590
>($(this).html());
You don't ($(this)) it like that.

use vanilla everytime when possible:

$('#thumbnai-div').html = this.innerHTML;
>>
File: qt0vh.jpg (23KB, 700x359px) Image search: [Google]
qt0vh.jpg
23KB, 700x359px
Hey /g/uys

Im trying to run apache and nginx together.

I run my frontend with apache and my api with nginx (express)

I already changed apache port from 80 to 8080 and my only server file of nginx its on 80.

server {
listen 80 default_server;
listen [::]:80;

server_name myalias.com;

location / {
proxy_pass http://127.0.1.1:8080;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /admin {
proxy_pass http://127.0.1.1:8080/admin;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location /api {
proxy_pass http://127.0.1.1:3000/api;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
}


when i run to my localhost i see nothing, i get an error, do you guys know what could it be?
>>
>>58384904
you set server_name to a domain, it's only going to route when the host == myalias.com
>>
>tfw I'm just now getting good at noob tier web dev
>like handing user sessions, login, logout, email verify, registration

Gonna be a long ways until I get anything decent.
>>
>>58385043
That's not really noob tier, that's novice+. Noob tier would be like your first get and delete request.

Tbh, if you get can get a good handle on literally everything you just mentioned, you can get a job as a back-end developer
>>
>>58384699
I dunno. All the money is in retarded stuff like recording yourself cutting soap with a red hot knife. 23 thousand dollars in 1 week.
>>
>>58385111
>>58385111
Nice, that's awesome to hear. My main background is in CS not webev. So that's helping and Flask is really easy to pick up.
I've been wanting to do it for a while because I've always had a few ideas I actually want to make happen. Finally have gotten enough fire under my ass to start.
>>
>>58385111
That's not enough for a junior dev position unless you were recommended.
>>
>>58385166
Depends. I've seen people get Jr Dev positions by using jQuery on like 2 websites, and I've seen people get QA Engineer who have never tested before.
>>
>>58385125
Isn't youtube money also going down these days?
>>
>>58385222
Depends what content you make. YouTube recommendations lean dangerously towards viral content like nickle ball and hot knife. Good money it now. Also advertisers pay more in the Winter months.
>>
>>58361783
>Depends. I've seen people get Jr Dev positions by using jQuery on like 2 websites, and I've seen people get QA Engineer who have never tested before.

Do you live in the middle of nowhere? A test wouldn't be that easy unless there was zero competition. Competition is very low here, like 2 applicants a week, and our junior tests are harder than that.
>>
>>58383695
writing a simple for loop doesnt mean you can go and work with asp.net
>>
>>58381088

If worst comes to worst, you could just wget -r the whole site..
>>
Are there any good guides to quickly learn non-shit css?
>>
>>58386574
like what?
>>
>>58386615

Just a nice guide to create a clean, simple modern page I guess.
>>
>>58386640
bootstrap + some theme

no css
>>
>>58386734

But that's the problem right there - bootstrap and its ilk add bloat that I'd rather not have.
>>
>>58386762
just use a bootstrap CDN and make changes in a separate css file, most people have bootstrap cached in their browsers so the overhead is minimal.
>>
>>58386640
Do you mind if it is generic or not?
>>
Anyone here using svelte (https://github.com/sveltejs/svelte)?

At one hand, I like the idea since I wouldn't have to endure yourshit.js slowdowns in my browser and uMatrix blocking would get a lot easier.

On the other hand, I fear people might use it as an excuse to use even more js...
>>
after running
laravel new blog

i get
Could not parse version constraint blog: Invalid version s  
tring "blog"

Anyone know what is problem?
>>
>>58362806
>Been tasked with making a website for a driving school
dude I imagine a black and yellow color theme with diamond -shaped street signs on the side menu yo use your imagination yo let's trade jobs if you cant handle it yo
>>
What libraries is ideal for a custom image generator website (i.e. Hearthcards.net or meme generator dot net)?
>>
>>58389482
builtin canvas
>>
WAMP or XAMPP?
>>
>>58389763
LAMPP anon!
>>
>>58389547
Thank you for the answer. Since I'll put a lot of image elements in the canvas and accept user images I wonder if it's possible to handle the image generation/export entirely client-side (as in, user loads the web app and can use their own images without uploading to the server)? I'm not exactly sure whether toDataURL permits this.
>>
I have no idea about web development, but trying to do a personal project and don't really have time to spend learning for the webapp part.

How can I periodically get a query from a MariaDB database from javascript on the client side?

I have implemented a php program that query the data I need and return it, but I don't know how can I call it from the javascript to retrieve the data periodically.

What is the simplest way to do that, I suppose it is very obvious, but don't know how to web.
>>
>>58390934
Use this to call server
http://www.w3schools.com/xml/ajax_intro.asp
Use this to call previous function periodically
http://www.w3schools.com/js/js_timing.asp
>>
>>58391114
Thanks! that worked.
>>
>>58390372
Yes, you should be able to completely do everything client-side

load an image file into the canvas:
http://stackoverflow.com/questions/13938686/can-i-load-a-local-file-into-an-html-canvas-element#13939150

save an image file to disk:
stackoverflow.com/questions/18480474/how-to-save-an-image-from-canvas

And of course, while you have the image loaded into a canvas you should be able to add text to it and whatever else you might want to do.
>>
How can i learn angular 2?
I tried the tour of heroes shit but it was really badly explained.
>>
>>58392628

Ok, I am really new to JS, my site has a slider from 1 to 10, when the user moves the slider I want it to duplicate a certain div (the page starts with 1 div, the lowest the slider can go) so that if the user picks 10 on the slider, there are 10 divs.

This is the current code I have, what do I do next? I have commented out a clone command, but how do I tell it to do this when the slider number is different from the number of divs currently?

$('#pos1').on('slide', function (ev) {   
console.log($('#pos1').val());
console.log($('.carousel-inner div').length);
//$(".table-slide").clone().appendTo("carousel-inner");


});
>>
>>58393225
>>58392628

Didn't mean to quote sorry
>>
>>58393225

Nevermind I sorted it.
>>
>>58392628
Angular 2 is meh right now. All the companies either use angular 1 or react or vue js so if you want jobs learn one of those.
>>
>>58395154
How come?
The wallmart company of my country( Auchan, France), which owns nearly 60% of IT firms, runs everything with angular2.
>>
are there any boards (forums) you can recommend about webdev?
>>
>>58395371
/dpt/
>>
Serious competitors to node.js for being a modern day web application?
>>
>>58395696
framework *
>>
>>58395696
see
>>58361822
>>
>>58395201
Well of course there are companies that use it but right now the codebase and updates are a mess so you might want to wait a while.
>>
can anyone help me fix this? I change a variable with a button but every time a slide is triggered the variable resets to default value. here is fiddle

https://jsfiddle.net/103z8ja3/
>>
File: 9akJeaD.jpg (249KB, 1920x1029px) Image search: [Google]
9akJeaD.jpg
249KB, 1920x1029px
Beginner here

Wrote this page for my icecast stream. it automatically fetches and displays the album art from the id3 tags within the .ogg stream.

How can i improve this?

Any other suggestions?
>>
File: 1435545294078.jpg (16KB, 229x399px) Image search: [Google]
1435545294078.jpg
16KB, 229x399px
>>58384983
I fixed it!

I just put a "_" (underscore) on server_name.

But my main problem was that when i ran netstat -tulpn i saw nothing running on port :80 (which is my nginx default port), so i checked my symlink from sites-available to sites-enabled and it was red, so i deleted it and did it again but with full path and now its working.
>>
I'm building an ecommerce app with Flask. The data model has a a Users model for regular customers and a Client model for store owners. I need to implement roles so that regular users who are logged in can't access the client area.

I tried to use flask-user but it needs to be initialized with a single User model. Since my User model and Clients are very different they're divided into two models so that's not an option.

Does anyone have any ideas or know what the fuck I should be doing?
>>
>>58397575
Make clients a subset of users?
>>
>>58397674

is that even possible? I'm using flask sqlalchemy, I've never heard of table subsets? They're declared as objects (classes) so I'm assuming its possible I've just never seen it done and I cant find anything online
>>
>>58370361

for django:

<form action="{%url 'someapp:someview' time=100,redirect=True%}" method="POST">
#You could also use the forms file in your app to include the above action as hidden attributes of your form, which is probably easier.
</form>
>>
Can I get some resources to learn how to write better structured, MVC, OO code? I just write spaghetti code to make it werk but then when they keep asking for new features and it gets bigger, I have to refactor something really specific into something more general, when I could have just written proper code in the first place.
>>
>>58397755
as in everyone is a user, and there's a client column with a foreign key pointing to some additional client data. If the column is Null, they're a regular user
>>
File: clean_code.jpg (21KB, 386x370px) Image search: [Google]
clean_code.jpg
21KB, 386x370px
>>58397809
Thread posts: 193
Thread images: 17


[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.