Saubhagya Srivastava

Jun 13, 2018 20:33
Will this be a good place to ask about iptables?
Nov 8, 2017 19:10
Oh thanks but fixed it :D
Nov 8, 2017 19:07
Hey guys! I am trying to run zip -e -r /path /path from inside a shell script not sure why it keeps on failing anyone?
Nov 8, 2017 10:35
@tripleee i figured it out exp6 was having a sleep command for like (50 second) fixed it had to remove that code
Nov 8, 2017 06:53
i have the gcc (Executables) i am trying to open them and pipe the output to text file it does what i want for "6" and after that it gets stuck @tripleee
Nov 8, 2017 06:48
why does this get stuck at 6?
Nov 8, 2017 06:48
#!/bin/bash
for i in `seq 6 10`;
do
./exp$i > exp$i.txt
echo $i

done
Oct 25, 2017 21:16
can't understand the functionality of fork () ; wait () ; waitpid () in context to system can someone help me out and further educate me on exec () vs system() vs passthru ()?
 

HTML / CSS / WebDesign

This room is now defunct. RIP.
Jun 11, 2018 19:33
I am not sure what I can edit and how I can make the content load without refreshing (or loading another page) @ZachSaucier
Jun 11, 2018 19:32
I meant after deleting that line the page behavior isn't changed.. and the expected output (CSV) display isn't there..
Jun 11, 2018 19:30
I tried removing that line but it didn't work
Jun 11, 2018 19:30
@ZachSaucier Doesn't work
Jun 11, 2018 19:27
Hey I am working with AJAX to display live CSV data on my webpage, Currently my AJAX script on button click. But I want it to show the data without refreshing or clicking the button in grid view but I am unable to figure it out.

Here's my attempt :-

https://gist.github.com/Coding-Karma/21e81717eb1685aad6c2768ab5ee849f
 

Python

Room rules: sopython.com/chatroom Code formatting guide: tinyu...
Mar 28, 2018 19:43
anyone got any better alternatives ?
Mar 28, 2018 19:43
I figured it out!
Mar 28, 2018 17:59
@Aran-Fey any other rooms that can help me with image processing?
Mar 28, 2018 17:53
anyone got any clue on that code?
Mar 28, 2018 17:38
better?
Mar 28, 2018 17:38
Code in CV :-
https://gist.githubusercontent.com/Coding-Karma/72af552c372810f40311a389274378ff/raw/293bdb02d5c3706f0a43c0d6c537d3df13f60a50/gistfile1.txt

My Attempt :-

https://gist.githubusercontent.com/Coding-Karma/2e268b67dbfcf2699472deb2e20bdc4a/raw/0fe11bf54f10f94366566d1b1b89f46de6188121/gistfile1.txt
Mar 28, 2018 17:34
Great I'll put them up on git gist
Mar 28, 2018 17:33
My bad still new here
Mar 28, 2018 17:29
Hey can someone help me a little with python + open CV image processing?
 

 Python Ouroboros - The Rotating Knives

Messages from the Python room that didn't meet our standards o...
Mar 28, 2018 17:32
but how to link that with ardiuno?
Mar 28, 2018 17:32
i can detect the faces
Mar 28, 2018 17:31
But i am really not sure how
Mar 28, 2018 17:31
This is the code I am trying to make in cv2
Mar 28, 2018 17:31
import serial
import cv

loop = True
cap = cv.CreateCameraCapture(0)
ser = serial.Serial('/dev/ttyACM1', 9600)

while loop:

    # Read image
    temp = cv.QueryFrame(cap)

    # Create another image to hold Black&White version of image
    image = cv.CreateImage((temp.width, temp.height), cv.IPL_DEPTH_8U, 1)

    # Convert original image to B/W - Only because calculations are apparently better
    cv.CvtColor(temp, image, cv.CV_BGR2GRAY)

    # Use Haar Classifier for face detection (Magic Black Box)
 

C++ Questions and Answers

Solve problems and approach solutions. Just ask and lurkers wi...
Nov 19, 2017 20:12
#include<iostream>
using namespace std;
int main ()
{
int arr[10];
int input,res=0;
cout<<"size of array\n";
cin>>input;
for(int j=0;j<input;j++)
{
cin>>arr[j];
}
int sizeofarray=0;
sizeofarray = sizeof(arr)/sizeof(arr[0]);
for (int i=0;i<sizeofarray;i++)
{
 res = res ^ arr[i];
 cout<<"number is \n"<<res;
}
//cout<<"number odd times\n"<<res;
return 0;
}
Nov 19, 2017 20:12
not sure why it gives me garbage value
Nov 19, 2017 20:12
Hey Fellas I am trying to find Odd occurrences in an array say
{3,3,3,1,2}
3 -> odd number of time so
3 should be the output

I have implemented this by using XOR (on bits)
Oct 26, 2017 19:14
Thank you @Mysticial
Oct 26, 2017 19:13
anyone please?
Oct 26, 2017 19:13
0
Q: Execution Flow of Child and Parent

Saubhagya SrivastavaAfter reading on the web that i can't really determine which process runs before i.e child or parent I planned to disable the ASLR on my PC and run debugger to see if i can generate the pattern of execution, the observations I made are below with a GitGist to the GDB disas (full) along with the s...

Sep 22, 2017 07:42
How would you device the tree for this set? am i headed in right direction?
Sep 22, 2017 07:41
Probability Table i.sstatic.net/9tg9T.jpg
Sep 22, 2017 07:41
0
down vote
favorite
To generate the Huffman code for given set of frequencies. {1, 1, 2, 3, 4, 8, 12, 21}

According to my understanding we generate the huffmann code for a given problem according to the frequency (times a symbol occurs) and thus calculating the freqency so the table for the above set would be this :-
Sep 22, 2017 07:40
Hello guys I have a question on the data compression technique called "Huffman Code" today can someone assist me?
Aug 26, 2017 18:50
Is it a good field to invest time in as compared to Web Dev?
Aug 26, 2017 18:49
@nwp @milleniumbug
Aug 26, 2017 18:49
Honestly, I can either learn Web Development or Kernel what would you advice? I really want something which is fun to learn (My subject being CSE with cyber security and digital forensics)
Aug 26, 2017 18:45
Actually my faculty advised me to start with Kernel Programming as it's really rewarding for "Placements" and REALLY A LOT to learn in it, I want to ask about the future scope and market that's around it
 

Halt and Catch Fire - Assembly

ASM & Machine Language coders. The Father of all langauges
Oct 23, 2017 16:14
if i am wrong i'll greatly appreciate the correction thank you for your input in advance :)
Oct 23, 2017 16:13
according to my understanding it's checking for stack manipulation (just like canary)
Oct 23, 2017 16:02
mov eax, dword gs:[0x14] can someone explain me what this command is means to do i understand operation <destination> <source> it's moving dword gs to eax however i am unsure about gs:[0x14] and what's it meant to do ?
Oct 23, 2017 16:00
@JennaSloan Thanks a lot for the input i was indeed talking about passing "28 A's" to the input
Oct 19, 2017 11:59
0xffffd610 + 28 A + 4 = 0xFFFFD630
Oct 19, 2017 11:59
hey how
 

Security / Privacy

General chatroom for information security offensive and defens...
Oct 3, 2017 14:47
how would you decode this?
Oct 3, 2017 14:47
FL101110_10:111101011101
1r101010q10svdfsxk1001i1
11ry100f10srtr1100010h10