>Getting started Get a good understanding of HTML, CSS and JavaScript. Everything you learn will have these as their base. The Mozilla Developer Network offers a good intro (no matter your browser choice) developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web
> code console utils for an years > have no idea for React/Angular/Vue app Can you help me, user?
Benjamin Bennett
Need pretty urgent PHP help for this problem I'm having. I'm getting a bunch of data from a json rest API and I'm using json_decode to print the results. Now, the issue is there are multiple results with the same name but different keys.
Right now I'm using the following to get the first result, how can I repeat this for all of the keys with the same name and print them below each other sperately?
print ''.$json['result'][0]['name'].'';
Luis Jones
install Vue.js
Christian Morgan
Vue is love, Vue is life
Parker Ortiz
lol that sucks. I just took the pic above me, rotated and saved. Why did I lose the transparency? How do I keep it?
Liam Thompson
Use a foreach loop
Camden Evans
bump
Luis Anderson
how do i manipulate individual pixel using javascript?
Landon Thompson
fillRect on your canvas context with width and height both being 1.
What are you using to edit it? Just tried it in MacOS preview and GIMP, and they both seem to preserve transparency by default, provided you export to a format that supports transparency, which you seem to have.
There might be a setting in whatever program you're using, probably under export settings or something similar.
Caleb Wilson
I see all of the resources but as a total beginner I just downloaded >notepad ++
Which site should I check out first? I only have basic HTML understanding.
>user upload a picture >i manipulate picture >spit picture back out
i know there's jimp, but i want to edit the picture myself, without using libraries.
Levi Morales
>Getting started >Online courses in the OP
teamtreehouse and other paid sites have like 1 week trials you can also use alternatively
Austin Diaz
DELETE FROM table;
Table has 400k rows.
Been executing for 3 minutes 50 seconds so far.
Owen Foster
>without using libraries okay start by loading the image data developer.mozilla.org/en-US/docs/Web/API/FileReader then you need to decode the file. start by reading format specifications. here's one for png: libpng.org/pub/png/spec/1.2/PNG-Contents.html after decoding you should have a 2d array of pixels you could maniputale as you want after you're done encode it back, the format specification will apply here as well
after you've decided that you actually don't want to do this without external libraries, get some existing decoders like github.com/niegowski/node-pngjs and delegate the encoding/decoding part to them
Grayson Peterson
When you say "in javascript", do you mean on the frontend, in the browser, or do you mean in Node?
Because JavaScript actually has builtin support for painting the common image formats in a canvas, and then you can just edit the pixels you want. After that, users can just right-click > save image as on the canvas (I believe as a png). Or I think there are ways of converting to other formats.
If it's in Node, I think the canvas api is still available, but I'm not sure if that's the most efficient way to do it. You might want to look in to libraries as suggested.
Brandon Jenkins
i'll use that library
when i said no libraries i meant i dont want to do decompression, manipulation, grayscaling, yadda yadda myself
thats why i mentioned jimp
Benjamin Perez
STOP BEING GAY
Ethan Bennett
i dont want to do --> i WANT to do
fuck im retarded
Brayden Perez
>setInterval(function(){ otherFunction()}, 3000);
Isaac Moore
>if (myVariable == true)
Jack Allen
dumb frogposter
Cooper Baker
FindAll on mongodb Collection has 3M documents Manipulate it to make a datastructure in memory. Store results in xml file (500MB) Took 8minutes. Golang isn't THAT bad...
Nicholas Thompson
meant for
Jose Brown
>Xe doesn't own a GitHub shirt
Do something you would find useful yourself. Otherwise you won't have motivation and won't finish it anyway.
Zachary Wilson
how about TRUNCATE
Joshua Peterson
Does anyone have experiences with captive portals/spash pages?
I want either: • all requests to be forwarded to one address (an html page on my local network) • all users to be sent to a certain page as soon as they connect to the wifi
What I have: • DDWRT enabled router • No internet • Cat5e connection between router and a PC running windows (my 'web'server using apache)
I just have an open wifi I want people to connect through to see a web page through my apache PC, I don't need them to do anything else on the network. I wouldn't mind an 'agree' page as long as it dumps you on a specified site but that's not really what i'm looking for, it just seems like a lot of the programs/services are associated with that.
Camden Taylor
>if (isTrue == String("yes"))
Jaxon Cox
Anyone else a PHPajeet here? I don't like PHP that much but ''''''node'''''' and its tooling is downright awful imo.
Noah Gutierrez
just regular Windows' Paint
Thomas Richardson
>using paint in year > 1995
Isaiah Fisher
Anyone else a McDonald here? I don't like McDonalds that much but '''''''''''' and its service is downright awful imo. This is what you sound like.
Austin Martin
I'm not gonna download fucking gimp when all I do with my pic editor is crop pics
Alexander Hughes
Yes, it's fine for most things.
Isaac Reed
You mean strictly backend? If so then I don't use either. I only use node for frontend dev tools and for my electron game. I have no complaints.
Elijah Peterson
Where the hell do I put the Maps API key in Wordpress so the map can actually show up?
Jace Clark
RTFM
Isaac Diaz
Might be foreign key checks.
Ian Martinez
How do you beat impostor syndrome?
Christopher Howard
Agree on node being shit but there are other choices.
Colton Russell
>see this angel.co/boomtv >basically lets you zoom around and watch things from different views >3.5 million in funding
What the fuck, man
Grayson Lewis
quit whoring out your website to all those 3rd parties
Caleb Sullivan
brb off to get a patent on spectator mode
Jackson Gray
I don't get how they do it.
I'm in the same field and everyone around me is getting seed funding or bought out.
I guess I just suck ass. I get 4k uniques per day and it's like I don't even exist anywhere. Nothing on google, no social media postings, nothing.
Eli Garcia
Either: 1. Your product is shit 2. You're not trying to market your product 2. You're not sociable enough to sell your product
Charles Morgan
or I've only been around for 2 months and people are actively ripping off my stuff.
John Ward
Making a twitter clone with Bulma as the framework. This framework is perfect for this shit. I don't have to do anything.
Kayden Thomas
how do I limit the number of rows in tags. just like in ?
James Richardson
You could probably do it in CSS, by setting the height in 'lh' (line height) units.
Gavin Morris
Is laracasts worth getting a subscription for? I have access to Lynda but its pretty lacking desu.
I don't know any php and it kind of looks like laracasts is more for laravel? Maybe?
Anyone have experience with this site? Could you recommend?
Landon Ramirez
Laracasts is pretty good. I've been a sub for about a year now.
Just keep in mind that most of the stuff uses a Mac, but I like his teaching style. For some reason I absorb it very fast the way he does it.
>namecheap auto-buying and offering domains for 1000 times the price
Fuck you, namecheap. You used to be cool.
Carson White
I want to get into coding, good luck to me.
Elijah Diaz
So it comes down to the guys teaching style and whether or not it clicks? When I was looking through his library (assuming I can see it all as a non-member) it looked pretty small, is that a fair assessment user?
Always a damn mac.
Yeah I honestly may pirate a video first just to see what he's all about.
Thanks guys.
Dominic Hughes
Anyone know about a good book/resource for make more beautiful page with CSS?
Hunter Ramirez
send help, just need the name of a program or service that isn't garbage or $$
Brandon Evans
There's enough content there if it has the things you want to learn about.
You can go to the smallest library in your state and still not finish all of the books.
Liam Ortiz
Keep trying, Pajeet.
Hunter Young
Guys I just bought a thinkpad.
webdev or programming?
Which skill should I focus on first.
Landon Diaz
That's true. Maybe I need to take another look around there. I got no problem paying money I just want to make sure I like his style is all.
Anything else worth subscribing to user?
Christopher Brooks
Laracasts is all I've subscribed to so far.
Something about his style is very comfy. It's a relaxing place to learn. It's like a mix between story-time in kindergarten and CS class but explained friendlier and more thoroughly.
Maybe some other anons can pipe in about other places to learn from.
Liam Kelly
Is vue actually worth learning or is it just disguised nigger shit?
Alexander Scott
i want to achieve the right side with backface visibility thingy
Landon Russell
>webdev or programming but webdev involves programming
no niggers in china
Isaac Hall
Odds - Use PHP for backend Even - Use Go for backend 0 - Use Node
Oliver Bell
Does anyone here have experience with GraphQL?
Trying to figure out how the fuck to make a schema created with the makeExecutableSchema function from graphql-tools to work with the SubscriptionManager class
Chase Collins
Pls help, in python3 and scrapy (a FOSS webscraper)
so in this program, after getting html of the page, if I want to extract the contents of
...
“The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.”
by Albert Einstein (about)
Tags: change deep-thoughts thinking world
...
...
with the program (in python3):
>>> response.css("div.quote") >>> title = quote.css("span.text::text").extract_first() >>> title '“The world as we have created it is a process of our thinking. It cannot be changed without changing our thinking.”'
question is, what would I type if the html was:
?
I tried
>>> response.css("div.")
but got an error
Ian Martinez
im not what the difference between backend and front end is, is this consdered backend or front end?
im using java to generate the webpage, so its a front end right? But since im producing the final webpage, but it also takes in data from the database, so like it can't go back further than that can it?
Nathan Anderson
I'm making it, fellas.
Compete with bigger services, show them you have some power users, they buy you out. bingo.
Ryder Reed
Remove the dot
Oliver Gutierrez
wouldn't I get a bunch of other unwanted tags that use ? I just thought there was a shorter way, eh, I just go another layer tru enough
Jace Price
/src/main/java is backend images, css and velocity templates are frontend
try div[class], pic related
Joshua Carter
okay, I just realized that I dun goofed. div[class=""] to match only the divs with empty class. I don't even know if scrapy supports all this, but it should
Matthew Powell
nice! thank you
Connor Davis
is it possible to even have dual language running on a website? one for showing shit and one for doing stuff at the back? im not talking html and node but node and java
>but from what i see its just a pseudo-java implementation inside node? it's not. here you go
Jeremiah Bell
Is there a way to automatically delete unused images from my folder? Something that scans html/css for images
Gavin Cruz
If you're using Gulp, there's a few gulp tasks you can use that'll do it.
Gavin Baker
Hey,
Can I have nested git repos where I can commit once and it creates the same commit in both repos?
The structure of the project is like this: >docker-compose-project/ >docker-compose-project/heroku-web-project/
Both are Git repos, one goes to BitBucket the other one to Heroku. I just want to keep the commits for the Heroku project synchronized with the parent project.