Comment on: Share your favorite programming cartoons.
1 11 Apr 2017 13:27 u/Codewow in v/programmingComment on: Share your favorite programming cartoons.
That's an entire site for comics not your favorite comic!
Share your favorite programming cartoons.
4 0 comments 11 Apr 2017 11:19 u/Codewow (self.programming) in v/programmingComment on: Are there any pentesting resources: books, videos, etc anywhere that anyone could recommend?
Should specify for web security.
Are there any pentesting resources: books, videos, etc anywhere that anyone could recommend?
11 5 comments 27 Mar 2017 11:20 u/Codewow (self.programming) in v/programmingComment on: HOW DO I DOWNLOAD A COMPUTER???
If you download enough you'll reach 64TB
Comment on: HOW DO I DOWNLOAD A COMPUTER???
You can start here: http://www.downloadmoreram.com/
Someone made the Windows 10 OS in MIT's Scratch.
2 0 comments 12 Mar 2017 22:08 u/Codewow (..) in v/programmingComment on: Why is it considered dumb to transfer plaintext username and password over HTTPS cookies?
That's true. I've just been taught it's better not to. Maybe things have changed since then.
Comment on: Why is it considered dumb to transfer plaintext username and password over HTTPS cookies?
The main reason not to is to avoid any possibility of a man in the middle attack.
Comment on: look at the name of this post. HE USED A BACKTICK INSTEAD OF AN APOSTROPHE.
Psh foreigners.
Comment on: Is it a bad idea to use AJAX to emulate a WebSocket?
real-time chat was just an example. Though I would love to work with Websocket over 'hacking' my way around AJAX to do the same thing I want to do. I just don't have the money to support a dedicated web host that allows websocket.
Comment on: Is it a bad idea to use AJAX to emulate a WebSocket?
That's where my question comes from. Could I possibly emulate 'realtime' efficiently using AJAX. I don't need it to be realtime, but a close second is acceptable for my current needs.
Comment on: Is it a bad idea to use AJAX to emulate a WebSocket?
Thanks for letting me know! {•_•}/
Is it a bad idea to use AJAX to emulate a WebSocket?
1 2 comments 27 Nov 2016 14:26 u/Codewow (self.programming) in v/programmingComment on: Are there any open source website vulnerability software packages out there?
I only intended local network testing. Was going to throw up my dedicated server with the website and spam it until it dies. I just don't know how haha.
Are there any open source website vulnerability software packages out there?
8 6 comments 20 Sep 2016 19:20 u/Codewow (self.programming) in v/programmingComment on: I just spent 12h in Delphi trying to fix fatal bug. At the end I had to check almost line per line until I removed a '\' character from a string.
Yup.. Happened to me not too long ago with PHP... No line number to go by.
Comment on: A space error: $370 million for an integer overflow
A fascinating read. I'm not usually one to read through this kind of stuff, but this one had me locked.
Comment on: What's the cheapest place to register a website?
I've swapped my domains around a few times through them. Sometimes I buy from domains.com and add them to godaddy or vice versa. I haven't had problems. If anything, it was my own lack of DNS knowledge that messed me up.
Comment on: What's the cheapest place to register a website?
They asked for the cheapest. I offered up the cheapest. $1 for Godaddy is probably the cheapest you'll find. Regardless of their policy/tactics.
Comment on: 400,000 GitHub repositories, 1 billion files, 14 terabytes of code: Spaces or Tabs?
A mix depending on what I need to do.
Comment on: Are there any mobile game-like ad tools for web development?
The ads are entirely optional. They don't pop up, they don't appear on a page. You literally have to click a link that specifies what it is and it is working wonders for the mobile devs as they make thousands of dollars a day using it. I thought it would be a nice way to give certain people an option. Because as of right now it's either paying your own money, or playing an ad in the background on mute for 30 seconds to spend the advertisers money while you get something for free.
Win-win in my view.
Comment on: Are there any mobile game-like ad tools for web development?
Sorry yeah I'm in a car right now.
If you have ever played a mobile game. I want to implement a way to have a user watch a video ad and then get a reward for watching the ad. Just like they do in a lot of phone games now.
Are there any mobile game-like ad tools for web development?
1 4 comments 21 Aug 2016 01:24 u/Codewow (self.programming) in v/programmingComment on: Tool to overlay web page to simulate user interaction?
Is the pain in the ass worth it in your opinion?
Comment on: What's the cheapest place to register a website?
Depending on what you want to do, Godaddy offers infinite websites on VPS for about $100 - $150 a year. Good for smaller sites. You could then migrate if you ever needed to expand into something more dedicated. Domains are usually like $12 a year, but Godaddy typically has an offer for $1 for the first year and such as well.
Haven't really looked into other hosts, except for domain registrars.
Comment on: I'm currently looking for a lower end 2 in 1 laptop/tablet good enough for web design/development. Any suggestions?
Aye, I'll look into it! The price has to be right though!
I'm currently looking for a lower end 2 in 1 laptop/tablet good enough for web design/development. Any suggestions?
2 3 comments 21 Jun 2016 08:22 u/Codewow (self.programming) in v/programmingComment on: TIL there is a linux distro with intentional vunerabilities designed to make users learn how to fix them
That Suicide Linux though... oh man.
Comment on: Please dont learn to code
I think we need basic understanding of programming and technology. Encryption isn't bad. Programs are easily manipulated in the hands of the wrong people. Etc.
Comment on: NY bill would provide tax credit for open source contributors
If you do your job on the internet, you actually can claim your internet bill on you taxes. You can claim computers parts and all of that as well.
Comment on: Extremely severe bug leaves dizzying number of software and devices vulnerable
Unfortunately there's no way to prevent human error entirely, but the devs are definitely at fault. If only they would put as much consideration and dedication into their work as NASA's Apollo Mission.
Comment on: Apollo 11 source code
I totally agree with you. But there are certain cases where that just doesn't apply. For example, a major overhaul of a government site should be intricately programmed with plenty of documentation to avoid mistakes as much as possible. You don't want security vulnerabilities and such. In a personal project, sure, go fast, break things, learn from it, you're not putting anyone at risk with it and you may just happen to find a vulnerability within the software itself that you have now assisted in securing.
Comment on: Apollo 11 source code
Human error is always a variable. You can't prevent everything. It's amazing that nothing slipped drastically. Though there were some issues they encountered. But, if every programmer treated it like you said, we may already have far greater tech than we do now.
Comment on: Apollo 11 source code
Imagine if every programmer would put as much intricacy and documentation into their work.
Full disclosure, I'm not that good at doing so myself yet.
Comment on: Learn to Code. It's a LOT Harder Than You Think
I don't remember things well, so unfortunately, it is difficult for me to learn, but I enjoy developing and improving upon myself as I go. Like everyone says, you need to do the things you love and it won't be work at all. It'll be a hobby you get paid for. That's why, if you are learning to program. Start a project that you want to see happen. If it's web development and you have an idea for a website, build that website. The best thing you can do is fail faster. We learn from our failures and improve from them.
Comment on: I wrote a program to automatically transcribe music.
This is awesome. What's the accuracy like? I'm gonna try it out even though I can't read sheet music. It would be awesome to see someone use this program with some kind of addon that could transcribe songs into playable tracks on games like RockSmith or Guitar Hero.
Comment on: Chrome To Block Sites With New SHA-1 Certificates Next Year
I still find it ridiculous that this standard for all websites still costs as much as it does. When is the free certificate thing going live for everyone? (Completely forgot the name of it, sorry)
Comment on: Offline copy of Stack Overflow
This is awesome! I may just have to put this on an external for use down the line.
Comment on: Linus Torvalds is tired indeed of "trivially obvious improvements" that are actually buggy
Wouldn't it be nice if more people actually had an interest in finding the issue and fixing it? It's unfortunate that in most cases it's, "Not in the budget." to debug code regularly. That's for company situations though.. Open source stuff you'd hope that competent dedicated people would have the drive and enthusiasm in what they were working on to not half-ass it and skim over things.
Comment on: [OC] I built this platform to help CrowdFund developers like us
You answered it in your reply, actually.
Comment on: [OC] I built this platform to help CrowdFund developers like us
What happens when a backer charges back or payment fails?
The website is essentially selling virtual stock.you added that it's the obligation of the campaign runner to provide what they owe. Do you plan on adding a section where it explains what the % of product owned actually is?
Comment on: [OC] I built this platform to help CrowdFund developers like us
Some questions, actually. I remember seeing an idea of something exactly like this pop up in some comments somewhere.
- Legality. how are you ensuring everything runs smoothly on the legal front? These types of things often times run into trouble somewhere.
- How is money sent, retrieved, and held? Do backers instantly send money through Stripe? How do campaigns receive the money?
Comment on: Dumb Beginner HTML Question
Haha. I used to do this all the time when I was working with NotePad++ I switched over to KomodoEdit 8 and it auto closes most elements for you. Super convenient and prevents some of these kinds of things from happening. Even the smallest things can get past us though! I had a few of these moments last week.
I made a sub for those that like to build personal projects and have a hard time getting feedback/etc. Come subscribe and help out! /v/DevDiary
33 0 comments 23 Aug 2015 21:47 u/Codewow (..) in v/programmingComment on: I'm sorry for asking this here: HTMLPurifier isn't purifying submitted data, but it purifies a test echo.
When I get home to fix this and this works I am going to cry... Such a stupid mistake that I couldn't notice...
Also I forgot to thank you. So thank you so much for pointing out my stupid mistake!
Comment on: I'm sorry for asking this here: HTMLPurifier isn't purifying submitted data, but it purifies a test echo.
Nah that's not how it looks. For the full page here's a pastebin: http://pastebin.com/Vqcn7QbF
What it's posting to database:
<p><img alt="" src="../images/article/rockband3.jpg" style="height:7px; width:12px" /></p>
Which shouldn't be the case. I removed the style attributes so they shouldn't be allowed and should automatically be removed. But they aren't... Which leads me to believe HTMLPurifier isn't actually purifying the data. And every time I try to echo to the same page it is completely broken and returns:
<img alt="\"\"" src="\"../images/article/image.jpg\"" style="" width:1222px\"="">
Completely different from what it submits to the database.
Comment on: I'm sorry for asking this here: HTMLPurifier isn't purifying submitted data, but it purifies a test echo.
So I ran the data through the purifier, then submit it to the database through this:
$clean_html = mysqli_real_escape_string($conn, $_POST['Story']);
$sql="INSERT INTO published (Title, pageTitle, Story, Date)
VALUES ('$Title', '$Title', '$clean_html', '$Date')";
if (!mysqli_query($conn,$sql))
I left out the other sections of the code for space and cleanliness. I'll attempt stackoverflow next. They usually direct me to an answer the doesn't work and close my question, so I have better luck on places like this.
I'm sorry for asking this here: HTMLPurifier isn't purifying submitted data, but it purifies a test echo.
4 7 comments 20 Aug 2015 01:50 u/Codewow (self.programming) in v/programmingComment on: How do blind computer programmers code?
I can barely program with eyesight.. >_>
Comment on: the big list of programming and computing subverses
D:
:D
Comment on: the big list of programming and computing subverses
/v/php isn't on the list.
No worries I'll take a look at these anyways. I've been on a binge of these comics :)