u/obvious-throwaway- - 20 Archived Voat Posts in v/programming
u/obvious-throwaway-
  • home
  • search

u/obvious-throwaway-

2 posts · 18 comments · 20 total

Active in: v/programming (20)

  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››
Anyone use Google Cloud Platform (aka App Engine)?
1 0 comments 29 Mar 2020 22:17 u/obvious-throwaway- (self.programming) in v/programming
Comment on: Any goats got a moment to help me out with Apache (.htaccess) url rewriting?

If you are just starting your website, you might consider going a completely different direction. It's been awhile, so I'm a little rusty on terms and the exact workings of it, so hopefully someone here can correct me on wrong terminology and workings without being a complete dick, but here goes,

JSON is great direction to go with websites. If you are unfamiliar with it, you could consider using jQuery to implement it. Hopefully this doesn't turn into a conversation of jQuery and it's bloat, but if you hate it for some reason, just use Javascript.

How it works is that you only have one URL, "https://mywebsite.com/" and every page of your website is accessed through that. It makes for a faster and less bloated website as you never have to change your Headers or meta tags, although you can.

How it works is that you only load the internal parts of the webpage instead of reloading the entire webpage every single time something changes. This is exactly how messaging works on Voat. When you post a comment, it doesn't reload the entire page, just adds the comment, this is JSON.

If you design properly from the start and can keep it all straight in your head, you can easily create an entire website based around JSON. Bookmarking can still be done, you can use hashtags (anchor links) to allow for carrying variables between pages if you want a page to be bookmarkable or sharable as a link. So, "https://mysite.com/#user1113-page3-section5". Just pick a format and use the explode function or whatever you like to break apart the hashtag data.

It's a really neat way to build a clean, fast and slim website. It also allows you complete control of how users interact with your website in code without the necessity of using an outside toolset like .htaccess or config.php

0 19 Mar 2020 20:48 u/obvious-throwaway- in v/programming
Comment on: Can we setup VOAT mirrors?

Not that I'm interested in hosting, but I live in an area with unlimited gigabit business fiber with static IP for about $100/month. They allow for web hosting. A reasonable server running Linux/Apache with 64 gigs of RAM would probably take some effort to thwart. Be a good opportunity to honeypot the attackers IP's and post some logs online to see if we can pinpoint where the attacks are coming from.

0 19 Sep 2019 00:12 u/obvious-throwaway- in v/programming
Comment on: ((((Lisp))) is the most (((Jewish))) programming language.)

PHP used to have a host of issues around security, which created a storm of hate 10-15 years ago. They cleared up most of those issues around 5 and even more now by 7. It's a way different language than it used to be. I can't speak as an expert in PHP, but I think people sometimes look at technology as a picture in time as opposed to something that constantly progresses.

0 15 Jul 2019 23:00 u/obvious-throwaway- in v/programming
Comment on: ((((Lisp))) is the most (((Jewish))) programming language.)

I was just making a joke, but what exactly is the problems with PHP vs whatever?

0 15 Jul 2019 22:40 u/obvious-throwaway- in v/programming
Comment on: ((((Lisp))) is the most (((Jewish))) programming language.)

Yeah, but PHP has html'en'tities.

0 14 Jul 2019 18:06 u/obvious-throwaway- in v/programming
Comment on: To young zoomers or millennials

Fuck Jewgle, manufacture your own chips, write your own operating system in your own programming language. You won't need anyone's help after that.

0 12 Jul 2019 21:44 u/obvious-throwaway- in v/programming
Comment on: Greatest threat facing IT? Not the latest tech giant cockwomblery - it's just tired engineers

An article about tired computer workers and it shows a 75 IQ dindu as the representative of that almost entirely white group (with the exclusion of diversity hire street shitters, of course).

0 18 Jun 2019 21:01 u/obvious-throwaway- in v/programming
Comment on: Linux Outreachy Program pays women $5000 to make trivial whitespace changes

What's your problem, it checks all the boxes on the Virtue Signaling Checklist,

☑ Wymon

☑ Colored

☑ Incompetent victims who need white knights to save them from their own incompetence

0 07 Mar 2019 16:18 u/obvious-throwaway- in v/programming
Comment on: Want to get back into programming

I like PHP, MySQL, Javascript and jQuery as a compliment.

0 23 Feb 2019 17:46 u/obvious-throwaway- in v/programming
Comment on: Want to get back into programming

Orange Man Bad

You wanted a better future for your children. You thought ending endless mass immigration would help. You thought a wall would help. When a man said he would build a wall, ending mass immigration and providing a better future for your children, you voted for him. But, did you even know at the time that he peed on a Russian hooker and colluded with Russia? No, so know that you know these absolute facts, you must realize that you no longer want a wall and no longer want a better future for your children and it was wrong of you to ever want these things, because Orange Man Bad. -All (((Journalists)))


Am I doing Journalist right?

0 23 Feb 2019 17:36 u/obvious-throwaway- in v/programming
Comment on: Who says girls can't code?

It works, it's just bad form, specially considering that this person went through all the trouble of creating a CSS section and then goes on to use inline styles. The same could be accomplished with far less.

<!DOCTYPE html>
<html lang="en">
<head>
 <meta charset="UTF-8">
 <style>
   div{border:1px solid black;}
   .t{clear:both;}
   .c{color:silver;float:left;text-align:center;width:24.65%;}
 </style>
 <title>Title</title>
</head>
<body>
 <div class="t">Title</div>
 <div class="c">Page 1</div>
 <div class="c">Page 1</div>
 <div class="c">Page 1</div>
 <div class="c">Page 1</div>
</body>
</html>
0 05 Feb 2019 05:04 u/obvious-throwaway- in v/programming
Comment on: Who says girls can't code?

There's plenty of online HTML editors, https://html-online.com/editor/ if you want to take the time to write it all in.

The code produced a jumbled mess.

0 04 Feb 2019 16:53 u/obvious-throwaway- in v/programming
Comment on: Who says girls can't code?

It seems technically correct

It's riddled with inaccuracies, I'll assume it's part of the joke. Tables wrapped in tables, "h1" instead of "th" for header row. Having CSS and then defining styles in HTML. Unnecessary tabs, no header, no title, referring to formatting/styling as coding and so on.

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <style>
    table { border-collapse:collapse; }
    table.main { border:1px solid black;text-align:center;width:100%; }
    table,td,th { border:3px solid #17375E; }
    p.sansserif { font-family:Calibri,sans-serif; }
    .left { text-align:left; }
    .silver { color:silver; }
  </style>
  <title>Title</title>
</head>
<body>
  <table class="main">
    <tr>    
      <th class="left" colspan="4"><p class="sansserif">Title</p></th>
    </tr>
    <tr>
      <td class="silver"><p class="sansserif">Page 1</td>
      <td class="silver"><p class="sansserif">Page 1</td>
      <td class="silver"><p class="sansserif">Page 1</td>
      <td class="silver"><p class="sansserif">Page 1</td>
    </tr>
  </table>
</body>
</html>
0 04 Feb 2019 16:40 u/obvious-throwaway- in v/programming
Comment on: Anyone here use Amazon WorkSpaces?

AWS sets up two Linux domain controllers for the workspaces. I'm using these domain controllers as my sole domain controllers. Amazon manages these controllers, so it's like having 2 completely managed domain controllers.

I want to use these managed domain controllers to manage my whole network, I just need help with getting the DNS to forward through when it can't resolve locally.

0 11 May 2018 01:32 u/obvious-throwaway- in v/programming
Anyone here use Amazon WorkSpaces?
1 0 comments 10 May 2018 23:56 u/obvious-throwaway- (self.programming) in v/programming
Comment on: How difficult is it to create a search engine?

Google search turned to shit, start using Bing. I was extremely skeptical at first but after a few months it's hard to go back. Google has apparently replaced all their programmers with purple haired dykes.

0 10 May 2018 23:42 u/obvious-throwaway- in v/programming
Comment on: How To Build A Horse With Programming (Comic) - Toggl Blog

People still think PHP is the same programming language it was 20 years ago. If you use the most modern functions/features, most of the old security flaws have been completely wiped away.

The Java thing made me laugh out loud.

0 09 May 2018 19:53 u/obvious-throwaway- in v/programming
Comment on: If you are putting in a 6 digit code, such as with Google 2-step Authentication, you should be allowed to have one of the numbers be off.

Then a warning to the VPN provider first telling them that one of their accounts is attempting to hack into Google accounts and if they don't put a stop to it, they will ban their IP. If they don't do something, Google bans them and they lose all their customers. I guess that or continue to let people hack into people's accounts and steal all their personal information.

0 02 Aug 2017 22:02 u/obvious-throwaway- in v/programming
Comment on: If you are putting in a 6 digit code, such as with Google 2-step Authentication, you should be allowed to have one of the numbers be off.

They don't have to ban the IP outright, they could just ban that IP from attempting to login to that email account. Even if the ban was removed after 24 hours, the owner of the account would have plenty of time to realize someone else is trying to access their account and has their password, someone using the same IP address as them, like their room mate. If the IP address is an actual hacker, then the hacker would get frustrated if he could only get 100 attempts before an IP is banned for 24 hours. This wouldn't effect the account holder. They would just get a message saying someone is trying to access your account, change your password.

As for @, the amount of times I have seen people use this as a replacement for an "a" is a lot common than 1 in 90,000. 90,000 is a lot of possibilities, they could probably get away with 4 digits and be just fine. Many bank account pins are 4 digits and they don't change every hour.

1 02 Aug 2017 05:58 u/obvious-throwaway- in v/programming
  • ‹‹‹
  • ‹‹
  • ‹
  • 1
  • ›
  • ››
  • ›››

archive has 9,592 posts and 65,719 comments. source code.