r/stackoverflow • • Sep 23 '24

Python Help my Tensorflow.keras wont work

2 Upvotes

Bros, I have been trying to get my tensor flow to work. I have the same warning (below 2) for these two lines (below 1).

from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import LSTM, Dense

Import "tensorflow.keras.models" could not be resolvedPylancereportMissingImports View Problem (Alt+F8)Quick Fix... (Ctrl+.)

Import "tensorflow.keras.models" could not be resolvedPylance
reportMissingImports

r/stackoverflow • • Sep 21 '24

Question how can I concentrate when I am coding

2 Upvotes

any tips


r/stackoverflow • • Sep 19 '24

Question Advice

2 Upvotes

I am 54 years old and would like to get into cybersecurity. Can I please let of it’s something possible as I heard it will take at least 4 years to learn it. What did I need to learn first. I like challenges


r/stackoverflow • • Sep 16 '24

Question CircleCI Host Identification Issue

2 Upvotes

I am trying to run a build job on CircleCI (one that has been successfully run in the past). The build job is for an Elixir project. During the "fetch dependencies" step, I get:

Updating ex_opcua ([email protected]:verypossible/ex_opcua.git - origin/master) @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by the remote host is SHA256:efguwygfafhauiwehafawufafiuhfa. Please contact your system administrator. Add correct host key in /root/.ssh/known_hosts to get rid of this message. Offending RSA key in /root/.ssh/known_hosts:1 remove with: ssh-keygen -f "/root/.ssh/known_hosts" -R "github.com" Host key for github.com has changed and you have requested strict checking. Host key verification failed. fatal: Could not read from remote repository.

I have tried adding the following steps to my CircleCI yaml with no success:

remove_existing_key: &remove_existing_key run: name: Remove existing GitHub host key command: ssh-keygen -f "root/.ssh/known_hosts" -R "github.com"

add_correct_host_key: &add_correct_host_key run: name: Add GitHub host key command: ssh-keyscan github.com >> root/.ssh/known_hosts

However, it doesn't seem like these steps get run so I may not have done this correctly. I also tried generating a new rsa.pub file in my project with:

ssh-keygen -t rsa -b 4096 -f ./helios_id_rsa


r/stackoverflow • • Sep 16 '24

Question I am 14 and I want to learn coding

2 Upvotes

How can I start


r/stackoverflow • • Sep 09 '24

Question Retryable write with txnNumber 4 is prohibited on session | Django and MongoDB

2 Upvotes

I have been assigned to do atomic update in below code.

I am not sure how to do for following line of code:

self._large_results.replace(json_result, encoding='utf-8', content_type='application/json')

Application Code

class MyWrapper(EmbeddedDocument):

# Set the maximum size to 12 MB

MAXIMUM_MONGO_DOCUMENT_SIZE = 12582912

# Lock object to lock while updating the _large_result

lock = threading.Lock()

# The default location to save results

results = DictField()

# When the results are very large (> 16M mongo will not save it in

# a single document. We will use a file field to store these)

_large_results = FileField(required=True)

def large_results(self):

try:

self._large_results.seek(0)

return json.load(self._large_results)

except:

return {}

# Whether we are using the _large_results field

using_large_results = BooleanField(default=False)

def __get_true_result(self):

if self.using_large_results:

self._large_results.seek(0)

try:

return json.loads(self._large_results.read() or '{}')

except:

logger.exception("Error while json converting from _large_result")

raise InvalidResultError

else:

return self.results

def __set_true_result(self, result, result_class, update=False):

class_name = result_class.__name__

valid_result = self.__get_true_result()

with self.lock:

try:

current = valid_result[class_name] if update else {}

except:

current = {}

if update:

current.update(result)

else:

current = result

valid_result.update({class_name: current})

json_result = json.dumps(valid_result)

self.using_large_results = len(json_result) >= self.MAXIMUM_MONGO_DOCUMENT_SIZE

if self.using_large_results:

self._large_results.replace(json_result, encoding='utf-8', content_type='application/json')

self.results = {}

self._large_results.seek(0)

else:

self.results = valid_result

self._large_results.replace('{}', encoding='utf-8', content_type='application/json')

We are using django with mongo deployed in cluster.We are using celery for running these statements. Currently, I am getting this error -

mongoengine.errors.OperationError: Could not save document (Retryable write with txnNumber 4 is prohibited on session e6d643cc-8f77-4589-b754-3fddb332b1b9 - 47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU= - - because a newer retryable write with txnNumber 6 has already started on this session.).

Any leads/help appreciated


r/stackoverflow • • Sep 08 '24

Javascript Global extensions in VS Code?

2 Upvotes

I had to download a bunch of stuff for my HTML Software Development Bootcamp for JavaScript, CSS, and HTML.

I have a local JavaScript environment and "Open in browser" set up perfectly on my Windows 10... but ONLY in the virtual network file that Linux created for me. When I try to open another set of HTML/JS/CSS files in a folder elsewhere, JavaScript doesn't work. Nor does Open in Browser.

I had the same issue with Python which is why I switched to Pycharm, but seeing how I can't use Java in Pycharm for free or split files properly in Pycharm, I'm forced to switch. How do I make all extenstions automatically apply regardless of where and how I want to open files?


r/stackoverflow • • Sep 03 '24

HTML Easier way to surround tag in HTML?

2 Upvotes

I've been using Pycharm to write HTML for personal ease as I learn.

I had to look up ctrl+alt+t to wrap a tag around highlighted text. Is there a method that requires less clicks? The class im taking for this doesn't offer a smarter, auto formatting web environment


r/stackoverflow • • Sep 03 '24

C# Save dynamic RDLC report as PDF with the correct page size

2 Upvotes

o far Im printing a RDLC report in a POS printer which is dynamic. The problem is when I try to save it as a PDF because I get a huge white space in it. Thats because the report size is the whole roll of paper

width 3.14961in Height 128.9764in

the body size is 3.14961in, 11.74421in but it will grow and shrink depending on the data

This is the function that converts to PDF

    public void PrintReportToPDF(LocalReport report, string fileNameXML)
    {
        Console.WriteLine("Exporting report to PDF...");

        int paperWidthHundredthsOfInch = report.GetDefaultPageSettings().PaperSize.Width;
        int paperHeightHundredthsOfInch = report.GetDefaultPageSettings().PaperSize.Height;

        double paperWidthInches = paperWidthHundredthsOfInch / 100.0;
        double paperHeightInches = paperHeightHundredthsOfInch / 100.0;

        string deviceInfo = $@"
<DeviceInfo>
    <OutputFormat>PDF</OutputFormat>
    <PageWidth>{paperWidthInches}in</PageWidth>
    <PageHeight>{paperHeightInches}in</PageHeight>
    <MarginTop>0.0in</MarginTop>
    <MarginLeft>0.0in</MarginLeft>
    <MarginRight>0.0in</MarginRight>
    <MarginBottom>0.0in</MarginBottom>
</DeviceInfo>";

        Warning[] warnings;
        string[] streams;
        string mimeType;
        string encoding;
        string fileNameExtension;

        // Render the report to PDF format
        byte[] renderedBytes = report.Render(
            "PDF", // Render format
            deviceInfo,
            out mimeType,
            out encoding,
            out fileNameExtension,
            out streams,
            out warnings);

        //   string pdfPath = @"C:\Users\juanm\Desktop\2024\report.pdf";
        string pdfPath = Path.ChangeExtension(fileNameXML, ".pdf");
        Console.WriteLine("PDF Path "+ pdfPath);


        // Save the rendered report as a PDF file
        using (FileStream fs = new FileStream(pdfPath, FileMode.Create))
        {
            fs.Write(renderedBytes, 0, renderedBytes.Length);
        }

        Console.WriteLine("Report saved as PDF successfully!");
    }

And I know Im using the whole report size as the page size for the PDF but if I dont know the height how can I achieve it?

Thanks for the help

Save the pdf with the correct height


r/stackoverflow • • Sep 02 '24

Question ReactJS Testing (Help Needed): "display styling is not getting updated"

2 Upvotes

display styling is not getting updated

const [isHoveringSignedInJobs, setisHoveringSignedInJobs] = useState(false);


useEffect(() => {
      console.log("isHoveringSignedInJobs updated:", isHoveringSignedInJobs);
      console.log("Signed in jobsNormalButton should be", isHoveringSignedInJobs ? "hidden" : "visible");
      console.log("Signed in jobsHoverButton should be", isHoveringSignedInJobs ? "visible" : "hidden");
  }, [isHoveringSignedInJobs]);


 const handleSignedInJobsMouseEnter = () => {
      console.log("Mouse entered Jobs Button");
      setisHoveringSignedInJobs(true);
  };
  const handleSignedInJobsMouseLeave = () => {
      console.log("Mouse left Jobs Button");
      setisHoveringSignedInJobs(false);
  };


return (
    <div> 
      {userId === null ? (
        <>
        {console.log('userId is null / not logged in', userId)}
        <nav>
          <svg 
            data-testid="not-signed-in-jobs-button-normal" 
            style={{ display: isHoveringSignedInJobs ? 'none' : 'block' }} 
            onMouseEnter={handleSignedInJobsMouseEnter} 
            onMouseLeave={handleSignedInJobsMouseLeave}>
            <NotSignedInJobDescriptionPageJobsButtonNormalSVG />
          </svg>

          <svg 
            data-testid="not-signed-in-jobs-button-hover" 
            style={{ display: isHoveringSignedInJobs ? 'block' : 'none' }} 
            onClick={handleSignedInJobsClick}>
            <NotSignedInJobDescriptionPageJobsButtonHoverSVG />
          </svg>


test('shows normal buttons on mouse leave and hides hover button jobs, for signed in', () => {
    console.log('shows normal buttons on mouse leave and hides hover button jobs, for signed in: Starting test: shows normal buttons on mouse leave for signed in user'); // Log start of test
  
    // Arrange: Get the normal and hover buttons
    console.log('shows normal buttons on mouse leave and hides hover button jobs, for signed in: Rendering component with userId 123 to simulate signed in state'); // Log rendering with userId
    render(
      <UserProvider value={{ userId: 123, setUserId: setUserIdMock }}>
        <JobDescriptionNavigationMenu />
      </UserProvider>
    );
    
    const signedInJobsNormalButton = screen.getByTestId('signed-in-jobs-button-normal');
    const signedInJobsHoverButton = screen.getByTestId('signed-in-jobs-button-hover');

    fireEvent.mouseEnter(signedInJobsNormalButton);

      expect(screen.queryByTestId('signed-in-jobs-button-normal')).toHaveStyle('display: none'); // Hover button should be hidden initially
 
      expect(screen.queryByTestId('signed-in-jobs-button-hover')).toHaveStyle('display: block'); // Normal button should be visible initially
    

    fireEvent.mouseLeave(signedInJobsHoverButton);

 
      expect(screen.queryByTestId('signed-in-jobs-button-hover')).toHaveStyle('display: none'); // Normal button should be visible initially 
  
      expect(screen.queryByTestId('signed-in-jobs-button-normal')).toHaveStyle('display: block'); // Hover button should be hidden initially
    

    console.log('shows normal buttons on mouse leave and hides hover button jobs, for signed in: Test completed: shows normal buttons on mouse leave for signed in user'); // Log end of test
  
  });

The below error is generating, not suuure why

● JobDescriptionNavigationMenu Component › shows normal buttons on mouse leave and hides hover button jobs, for signed in

expect(element).toHaveStyle()

  • Expected

  • display: none;

  • display: block;

840 |

841 |

| ^

843 |

844 | expect(screen.getByTestId('signed-in-jobs-button-normal')).toHaveStyle('display: block'); // Hover button should be hidden initially

845 |

at Object.toHaveStyle (src/jesttests/NavigationTests/jobDescription.test.js:842:65)

So I did through an await around the expect in case the assertation was checking the display before it could turn to none and set it to 5000 (5 seconds) and it never came through, the request to change the state.

Thoughts?

Sandbox: https://codesandbox.io/p/sandbox/clever-water-ks87kg


r/stackoverflow • • Aug 31 '24

Python Access APIs protected by Ping

2 Upvotes

Hi,

I want to access an API that is protected by Pingidentity authorization_code flow from a python script.

Now, the problem is with generating the access token to access the API from python without any manual intervention. From postman I can generate a token by using Oauth2 template with manual credentials input.

To achieve the same from python, I tried to call the Ping auth url to generate a auth code which can be swapped for an access token. But I'm getting 'Runtime Authn Adapter Integration Problem' error while calling the auth url with client id, redirect url and scope. Not sure how I can proceed from here.

Any help would be appreciated.


r/stackoverflow • • Aug 18 '24

C# Displaying custom data in ComboBox from a XML

2 Upvotes

Im trying to load some data from a XML but I want to display it to the user the data in a specific format

I was trying this method but all I get is a "-" shown to the user

private void PopulateActividadEconomicaComboBox()
 {
     var actividad_economica = _xmlData.Descendants("ActividadEconomica")
                              .Select(x => new
                              {
                                  Name = (string)x.Element("Nombre"),
                                  ID = (string)x.Element("Codigo"),
                                  DisplayUser = $"{(string)x.Attribute("Codigo")} - {(string)x.Attribute("Nombre")}"
                              })
                              .OrderBy(x => x.ID)
                              .ToList();

     // Insert an empty item at the start if needed
     actividad_economica.Insert(0, new { Name = "", ID = "", DisplayUser = "" });

     ACTIVIDADECONOMICA_EMPRESA.DataSource = actividad_economica;
     ACTIVIDADECONOMICA_EMPRESA.DisplayMember = "DisplayUser";
     ACTIVIDADECONOMICA_EMPRESA.ValueMember = "ID";
 }

I dont know what Im missing here...

Any help is appreciated


r/stackoverflow • • Aug 13 '24

Backend auth and secure route NodeJS

Thumbnail reddit.com
2 Upvotes

r/stackoverflow • • Aug 12 '24

Error while reading email Api with python

2 Upvotes

Hi guys, I am getting this error

line 612, in login

raise self.error(dat[-1])

imaplib.IMAP4.error: b'[AUTHENTICATIONFAILED] Invalid credentials (Failure)'

when I am using imaplib to read inboxes from gmail and outlook. I checked the stackoverflow and other sources for help but I cant find any good information,


r/stackoverflow • • Aug 09 '24

The OAuth state was missing or invalid

Thumbnail reddit.com
2 Upvotes

r/stackoverflow • • Aug 09 '24

Getting 404 error with React + Flask on EC2 using prod URL

2 Upvotes

I am running a Flask + React app on EC2 using Vite. Everything is running fine on when I run 'npm run dev' as you can see here . Its also running fine from the flask end as you can see here . The issue is when I try to run it using my prod server with my ec2 url or even when I run 'npm run build' and 'npm run preview'. I get the following when i run these commands. Also, when I type in my ec2 url, i get this. (i know I probably shouldnt show my ec2 ip but i can change it another time i think). also, when I type in 'my-ec2-url/api/hello', i get the same console error but my page shows the classic 404 message: 'Not Found

The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again. ' Also, my security group in aws allows all incoming traffic from http and https as well as all outbound traffic .

Anyways, this is what my app.py looks:

from flask import Flask, jsonify
from flask_cors import CORS
import logging
from logging.handlers import RotatingFileHandler
import os

app = Flask(__name__)
CORS(app)

# Set up logging
if not os.path.exists('logs'):
    os.mkdir('logs')
file_handler = RotatingFileHandler('logs/myapp.log', maxBytes=10240, backupCount=10)
file_handler.setFormatter(logging.Formatter(
    '%(asctime)s %(levelname)s: %(message)s [in %(pathname)s:%(lineno)d]'
))
file_handler.setLevel(logging.INFO)
app.logger.addHandler(file_handler)
app.logger.setLevel(logging.INFO)
app.logger.info('MyApp startup')

u/app.route('/')
def hellodefault():
    app.logger.info('Hello endpoint was accessed')
    return jsonify(message="Hello from default Flask Route!")

@app.route('/api/hello')
def hello():
    app.logger.info('Hello endpoint was accessed')
    return jsonify(message="Hello from Flask!")

if __name__ == '__main__':
    app.run(debug=True)

This is what my App.jsx looks like:

import { useState, useEffect } from 'react'
import axios from 'axios'
import './App.css'

function App() {
  const [message, setMessage] = useState('')

  useEffect(() => {
    const apiUrl = `${import.meta.env.VITE_API_URL}/api/hello`;
    console.log('VITE_API_URL:', import.meta.env.VITE_API_URL);
    axios.get(apiUrl)
      .then(response => setMessage(response.data.message))
      .catch(error => console.error('Error:', error))
  }, [])

  return (
    <div className="App">
      <h1>{message}</h1>
    </div>
  )
}

export default App

I have two .env files in my frontend directory where my react project is. one is called .env.development and contains: 'VITE_API_URL=http://127.0.0.1:5000' my .env.production currently contains 'VITE_API_URL=http://ec2-xxx-amazon.com'. my vite.config.js is:

import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [react()],
})

my apache config file:

<VirtualHost *:80>
ServerName http://ec2-xxx-xxx.us-west-1.compute.amazonaws.com:80/api/hello

ProxyPass /api http://127.0.0.1:5000
ProxyPassReverse /api http://127.0.0.1:5000

DocumentRoot /var/www/Shake-Stir/frontend/dist

<Directory /var/www/Shake-Stir/frontend/dist>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted

This is for the SPA routing

RewriteEngine On
RewriteBase /
RewriteRule ^index\.html$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.html [L]
</Directory>

<Location /api>
Header set Access-Control-Allow-Origin "*"
Header set Access-Control-Allow-Methods "GET, POST,     OPTIONS, PUT, DELETE"
Header set Access-Control-Allow-Headers "Origin, X-Requested-With, Content-Type, Accept, Authorization"
</Location>

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>

Ive tried different servernames' such as : http://ec2-xxx-xxx.us-west-1.compute.amazonaws.com, ec2-xxx-xxx.us-west-1.compute.amazonaws.com:80/api/hello, ec2-xxx-xxx.us-west-1.compute.amazonaws.com, none have worked


r/stackoverflow • • Aug 07 '24

Javascript Redirect not working in Production build. NextJs14

2 Upvotes

[HEADS UP]: Thanks in advance.

Hello everyone. I'm triying to authenticate through the production build of my project. However, I found out that there's an issue with redirect().

I initially though it was a server error on my ExpressJS backend but I checked the logs and the POST request is succesful, however, the front end is not setting up cookies as it should and thus redirect fails.

The login page was made on the "server side" and is not using any React client hook.

import {
  fetchurl,
  setAuthTokenOnServer,
  setUserOnServer,
} from '@/helpers/setTokenOnServer'
import { redirect } from 'next/navigation'
import FormButtons from '@/components/global/formbuttons'

const Login = async ({ params, searchParams }) => {

  const loginAccount = async (formData) => {
    'use server'
    const rawFormData = {
      email: formData.get('email'),
      password: formData.get('password')
    }

    const res = await fetchurl(`/auth/login`, 'POST', 'no-cache', rawFormData);

    if (res?.data) {
      redirect(`/auth/validatetwofactorauth/${res?.data?._id}`)
    }

    // If not success, stop
    if (!res?.success) return;
    
    await setAuthTokenOnServer(res?.token); // Sets auth cookies on server
    const loadUser = await fetchurl(`/auth/me`, 'GET', 'no-cache'); // loads user based on auth
    await setUserOnServer(loadUser?.data); // then sets some user's values into cookies
    searchParams?.returnpage ? redirect(searchParams.returnpage) : redirect(`/auth/profile`);
  }

  return (
    <form action={loginAccount}>
      <label htmlFor="email" className="form-label">
        Email
      </label>
      <input
        id="email"
        name="email"
        type="email"
        className="form-control mb-3"
        placeholder="[email protected]"
      />
      <label htmlFor="password" className="form-label">
        Password
      </label>
      <input
        id="password"
        name="password"
        type="password"
        className="form-control mb-3"
        placeholder="******"
      />
      <br />
      <FormButtons />
    </form>
  )
}

export default Login

Has anyone dealt with something like this before?


r/stackoverflow • • Apr 15 '20

Thoughts on a paid version of stack overflow?

2 Upvotes

Simply, I use stack overflow for 1 line (or function) debugging.

Is their a way I can post on stack overflow and offer a paid incentive for someone to answer my question? If their isn’t, how would you feel if their was such a way for uses to offer a monetary reward for answering their questions?


r/stackoverflow • • Apr 08 '20

Intellipaat stealing StackOverflow's questions and answers

2 Upvotes

Intellipaat is an online tutoring site which provides paid degrees/certifications for CS subfields.

Whenever I search a question on google related to programming, results both from intellipaat and StackOverflow come up on top, sometimes the former comes up other times the latter.

However, I have noticed almost all the questions that I've seen on both sites is copied i.e the questions and the respective answers on both the sites are exactly the same, like only the names of OP and responder are changed.

See for yourself:

https://stackoverflow.com/questions/20054243/np-mean-vs-np-average-in-python-numpy

https://intellipaat.com/community/32787/np-mean-vs-np-average-in-python-numpy

other example:

https://intellipaat.com/community/34075/numpy-version-of-exponential-weighted-moving-average-equivalent-to-pandas-ewm-mean

https://stackoverflow.com/questions/42869495/numpy-version-of-exponential-weighted-moving-average-equivalent-to-pandas-ewm

another one:

https://stackoverflow.com/questions/55655646/replacing-nan-values-in-a-pands-dataframe-with-different-random-uniform-variable

https://intellipaat.com/community/17774/replacing-nan-values-in-a-pands-dataframe-with-different-random-uniform-variables

In fact if you make a google search for any question on intellipaat, the same question will pop up on StackOverflow.


r/stackoverflow • • Mar 21 '20

How to Download blob videos

2 Upvotes

Anyone knows how to download blob videos. Sinece there is no link to download those type videos, i have tried to record those videos with camtesia studio software. But the website won't allow for it. appears a black screen around the video.

Thanks


r/stackoverflow • • Feb 14 '20

I often have small questions about stack overflow answers that I would like to add as a comment, but I can't leave comments because I only have 43 rep when I need 50. Would anyone be willing to upvote one of my questions/answers so that I can get enough rep to ask a dang clarification question?

2 Upvotes

...or explain to me an easy way I could get a little bit more rep? I know I could write a question or answer, but I don't really have the time to be doing that unless I have a problem that I'm really stumped on.

My account:

https://stackoverflow.com/users/6095238/canderson156


r/stackoverflow • • Jan 22 '20

Scripting the Future of Stack Overflow - Stack Overflow Blog

Thumbnail
stackoverflow.blog
2 Upvotes

r/stackoverflow • • Dec 26 '19

I haven't gotten any answers on my question so far, if you could answer it would be greatly appreciated. (What is the most efficient way to provide relatively accurate collision detection between images in JavaScript? )

Thumbnail
stackoverflow.com
2 Upvotes

r/stackoverflow • • Dec 25 '19

(Bug?) via email, , or .

Post image
2 Upvotes

r/stackoverflow • • Dec 17 '19

The hate of men will pass, and dictators die, and the power they took from the people will return to the people (StackOverFlow)

2 Upvotes

Hi,

I really like this quote from "Charli Chaplin", it is like a universal law which holds in every situation. For example, look at Reddit and StackOverflow.com, while StackOverflow.com was nothing except a website to ask questions and share problems with others. When you look at it now, it is a completely strange place, it is not open source anymore the community is like a jail that everyone is controlling what you are asking. The approach is to make more money, while StackOverFlow was nothing without the help of programmers and now the same website is governing programmers to the extent to which in many articles I see they are citing to StackOverflow to prove what language is more powerful or better. In the last three months, I asked 4 questions which were really okay because I asked it here in Reddit and it took the attention of many people, but in StackOverFlow.com it got removed in 2 hours. I think wherever people help tp shape a democracy then that democracy will govern people, except in a few cases and that is why I still donate to reddit.com every month because reddit.com is one of those exceptions.

Thanks Reddit