Search found 38 matches

by jacques01
Wed Nov 23, 2016 3:29 pm UTC
Forum: The Help Desk
Topic: How to have an RDP session with a machine on VPN?
Replies: 3
Views: 3850

Re: How to have an RDP session with a machine on VPN?

I solved the problem.

There is a way to run a "route" command that allows opening the computer to IPs that ignore the VPN. This allows for RDP while the VPN is on.
by jacques01
Tue Oct 25, 2016 10:39 pm UTC
Forum: The Help Desk
Topic: How to have an RDP session with a machine on VPN?
Replies: 3
Views: 3850

Re: How to have an RDP session with a machine on VPN?

What kind of VPN are you using? If you want to access a machine from outside the VPN, you'd at least need a gateway inside the VPN that tunnels to the public internet and allows you to open ports (3389 for RDP) and redirect them to the machine within the VPN. I am using a VPN using these instructio...
by jacques01
Mon Oct 24, 2016 1:20 am UTC
Forum: The Help Desk
Topic: How to have an RDP session with a machine on VPN?
Replies: 3
Views: 3850

How to have an RDP session with a machine on VPN?

RDP = Remote Desktop Protocol I've tried googling this, but Google thinks I'm asking this question: "I have turned my VPN on. How can I remote desktop into another machine?" My question is the opposite. "I have a remote Windows machine which needs to run on a VPN. -When the VPN is off...
by jacques01
Wed Sep 28, 2016 9:55 pm UTC
Forum: The Help Desk
Topic: How to enable samba file shares for Windows 7?
Replies: 0
Views: 5102

How to enable samba file shares for Windows 7?

I have a Windows 7 remote machine that runs on a network not connected to mine (e.g. on a cloud service). I have no problem Remote Desktop into it from my Mac machine using the remote machine's IP address. However, I cannot do any samba shares (i..e CMD+K to smb://ipaddress) does not work, even afte...
by jacques01
Fri Sep 23, 2016 10:47 pm UTC
Forum: Coding
Topic: How to control a long running object in Python?
Replies: 0
Views: 4474

How to control a long running object in Python?

Update: It looks like the answer was simply to run the object's method in a thread. Then I can edit the object outside the thread and get the behavior I desired. However I'd appreciate any perls of wisdom when using Python's threading for this kind of purpose. I have an custom object which has a lo...
by jacques01
Fri Sep 09, 2016 1:49 pm UTC
Forum: School
Topic: Structuring a bi-disciplinary major for math and linguistics
Replies: 2
Views: 4751

Re: Structuring a bi-disciplinary major for math and linguistics

Hi, I see you've only got 1 post, but hope this can be of any help. I majored in Linguistics in undergrad. I will tell you frankly that a Linguistics degree is only nice to have if you treat it as a complement to a math / computer science / chemistry / biology major. Why? Theoretical Linguistics pla...
by jacques01
Mon Aug 29, 2016 12:34 am UTC
Forum: Computer Science
Topic: How to decode a code when I have pairs of (coded, decoded)?
Replies: 7
Views: 3686

Re: How to decode a code when I have pairs of (coded, decoded)?

Your original question is too ambiguous to have a precise answer, so it cannot be turned into an algorithm. Your first attempt at a precise formulation turned out to provide useless answers. I am not asking for an exact "yes" or "no." I'm looking for an approximate/probabilistic...
by jacques01
Sat Aug 27, 2016 7:29 pm UTC
Forum: Computer Science
Topic: How to decode a code when I have pairs of (coded, decoded)?
Replies: 7
Views: 3686

Re: How to decode a code when I have pairs of (coded, decoded)?

Thank you. That seems very relevant, except my case seems to be a lot easier. I can keep getting pairs (coded, decoded) without limit. That is, I can know the "ground truth." But I need to know if there's actually a mapping between the two, or it's just random (e.g. the "coded" i...
by jacques01
Sat Aug 27, 2016 4:34 pm UTC
Forum: Computer Science
Topic: How to decode a code when I have pairs of (coded, decoded)?
Replies: 7
Views: 3686

How to decode a code when I have pairs of (coded, decoded)?

Hi, I have some Strings which I'd like to know if they are actually code for another String, e.g. the code is just a base 64 encoding of the actual String. I am fortunate that I have pairs which I know the coded String and what it looks like decoded. However, I don't know if the code is actually a c...
by jacques01
Thu Aug 25, 2016 3:19 am UTC
Forum: Coding
Topic: Why does .NET seem so ugly?
Replies: 5
Views: 3472

Why does .NET seem so ugly?

My background is in Java and Python, and I converted to a "native" Mac user several years ago. I use Windows every day and I don't mind the GUI / the utils it provides. In some ways I like the Windows GUIS versus writing init.d scripts, etc. However, whenever I have to spin up a Visual Stu...
by jacques01
Wed Aug 24, 2016 12:43 am UTC
Forum: Coding
Topic: Is Scrapy overkill for this kind of task?
Replies: 4
Views: 3120

Re: Is Scrapy overkill for this kind of task?

Could you explain why Scrapy is the right tool for this task? My understanding is that Scrapy is good if you're doing actual crawling, i.e.: 1. Start from a predetermined group of seed urls 2. Put these into your URL pool. 3. For each url in your URL pool: a. Get the page HTML b. Do something with t...
by jacques01
Sun Aug 21, 2016 5:46 pm UTC
Forum: Coding
Topic: Is Scrapy overkill for this kind of task?
Replies: 4
Views: 3120

Is Scrapy overkill for this kind of task?

Suppose there is a stream of incoming URLs. The task is to get the HTML of each of these URLs and store it in a database. There is no need for traditional crawling, as each URL is the end of the line. What I'm thinking for my technology stack: 1) Flask for web container 2) Celery to manage tasks / q...
by jacques01
Sun Aug 14, 2016 7:22 pm UTC
Forum: Coding
Topic: Python - Is this an anti-pattern for yield keyword?
Replies: 5
Views: 3045

Python - Is this an anti-pattern for yield keyword?

I am running a function that I need to enclose in a try-except block. The function creates an object that I need to get a pointer to if an exception is thrown, so I can do some clean up. Because if I return the pointer immediately, the function won't execute. I could create the object, then pass it ...
by jacques01
Thu Aug 11, 2016 3:01 am UTC
Forum: General
Topic: Why aren't many violent crimes committed via Uber drivers?
Replies: 21
Views: 3894

Re: Why aren't many violent crimes committed via Uber drivers?

If my premise is false, then why do people continue to use these ride sharing apps at an alarming rate? Why hasn't there been million dollar lawsuits against Uber and the like for endangering people's lives? Surely they would be out of business by now.
by jacques01
Thu Aug 11, 2016 12:41 am UTC
Forum: General
Topic: Why aren't many violent crimes committed via Uber drivers?
Replies: 21
Views: 3894

Why aren't many violent crimes committed via Uber drivers?

Uber potentially allows for strangers to easily kidnap and abduct would-be victims. Why hasn't there been a surge of violent offenders, e.g. serial murderers, serial rapists, etc. taking advantage of these ride sharing apps? I figure if it were the case, they would be shutdown (except of course they...
by jacques01
Mon Aug 08, 2016 3:22 am UTC
Forum: Coding
Topic: How do I learn to make website as a programmer?
Replies: 5
Views: 2860

How do I learn to make website as a programmer?

I've programmed a lot in Python and Java. I've used Flask, Gunicorn, Apache Httpd, Tomcat, Glassfish, and other technologies to run Python and Java web applications. I've also done a lot of Javascript, HTML, and CSS. I have developed "websites" for my employer, but these are just prototype...
by jacques01
Sun Jul 31, 2016 7:31 pm UTC
Forum: Coding
Topic: Python - Is this an anti-pattern?
Replies: 1
Views: 2693

Python - Is this an anti-pattern?

A lot of my coding deals with talking to resources outside my control. These means a lot of network I/O. A lot can go wrong, and while I cannot control that, I have to decide how to handle errors when they occur, as it's important to log this and see any trends, etc. It can get more complicated if I...
by jacques01
Sat Jul 23, 2016 2:09 pm UTC
Forum: Coding
Topic: How to train a robot to mimic how I browse the web?
Replies: 1
Views: 2543

How to train a robot to mimic how I browse the web?

I would like to train a browser robot to work like me, or at least human-like, in its interactions with various websites. The robot would interact with a website like a human (or like I do). What it can't really be taught is what its payload is, e.g. does the robot check "read" on all my u...
by jacques01
Thu Jul 21, 2016 3:21 am UTC
Forum: Coding
Topic: Managing Gunicorn with Flask on Linux
Replies: 0
Views: 4609

Managing Gunicorn with Flask on Linux

I am running a Python Flask Restful web service. For the web container, I am using Gunicorn. I want to be able to push updates to it by simply doing a "git pull origin master". The problem is that my web service has parts in separate places. 1) I have a virtualenv / directory for the web a...
by jacques01
Tue Jul 19, 2016 12:21 am UTC
Forum: Coding
Topic: How do you manage Python dependencies?
Replies: 8
Views: 3552

Re: How do you manage Python dependencies?

Thank you. I'll try to do that.

Wait, why not to use BeautifulSoup?
by jacques01
Mon Jul 18, 2016 3:31 am UTC
Forum: Coding
Topic: How do you manage Python dependencies?
Replies: 8
Views: 3552

How do you manage Python dependencies?

I have a project that has several dependencies that can be installed using pip. I am not looking for a build tool. I am just looking for a way that another programmer could look at some configuration file, and understand each of the dependencies + how to get them. e.g. in my made up notation { "...
by jacques01
Sun Jul 17, 2016 2:12 pm UTC
Forum: Coding
Topic: How can I prove this website is a scam?
Replies: 1
Views: 2655

How can I prove this website is a scam?

There's a website that claims to offer users in-game currency for a popular game. The amount would normally cost a user $100.00 real dollars to purchase that in game currency (it's a valid micro transaction). The site asks users to invite five people. Then they will give the user the in-game currenc...
by jacques01
Sun Jul 17, 2016 1:17 am UTC
Forum: Gaming
Topic: What will Niantic and Google use Pokemon Go data for?
Replies: 8
Views: 1579

What will Niantic and Google use Pokemon Go data for?

Pokemon Go is perhaps one of the most clever forms of using a (free) game to crowd source data. I am not even referring to the possibility of accessing one's Google account, but just the sheer amount of photos and location data being collected. What will this data be used for? Does anyone else think...
by jacques01
Fri Jul 01, 2016 1:10 am UTC
Forum: Coding
Topic: What kind of role is this?
Replies: 5
Views: 3415

What kind of role is this?

What is the typical name of a job role with these responsibilities: -Manage a team of developers / engineers -Also write code and help project development -Determine best technology stacks and practices to use -Research and continually monitor upcoming or existing technologies, both in the academic ...
by jacques01
Thu Jun 23, 2016 11:53 pm UTC
Forum: Coding
Topic: Good books for learning to create proxy servers?
Replies: 18
Views: 6053

Re: Good books for learning to create proxy servers?

Yeah, you're being incredibly cagey with what you're actually trying to do... I'm trying to avoid specifics in order to get a general (theoretical) explanation of what technology or techniques I'm referring to. That way I can begin researching on my own. We're not going to just sit here and help yo...
by jacques01
Thu Jun 23, 2016 11:40 pm UTC
Forum: Computer Science
Topic: [Machine Learning] Finding fast and slow speech automatically
Replies: 0
Views: 5212

[Machine Learning] Finding fast and slow speech automatically

I am trying to develop a machine learning classifier that can automatically find fast or slow speech given the output of a speech to text engine. I have a dataset I've created that consists of automatic speech to text transcription (ASR) where each word contains the following data: {"word"...
by jacques01
Thu Jun 23, 2016 12:12 am UTC
Forum: Coding
Topic: Good books for learning to create proxy servers?
Replies: 18
Views: 6053

Re: Good books for learning to create proxy servers?

Only if the proxy is correctly configured. Some will still leak information about A to B. Privacy is not enhanced by proxy servers, as most forms of user tracking (cookies, browser fingerprinting etc) are not affected. a proxy alone is not enough to be truly anonymous. What should I be researching ...
by jacques01
Wed Jun 22, 2016 1:54 am UTC
Forum: Coding
Topic: Good books for learning to create proxy servers?
Replies: 18
Views: 6053

Re: Good books for learning to create proxy servers?

However, you cannot just run a piece of software on your computer and it'll suddenly appear as if you were in wyoming. You actually need to own a computer in wyoming and route all your data through it. Why is this the case? From a theoretical standpoint, all you need is a unique address in order to...
by jacques01
Tue Jun 21, 2016 3:38 am UTC
Forum: School
Topic: Is there a monopoly on federal student loan management?
Replies: 1
Views: 2273

Is there a monopoly on federal student loan management?

I'm only aware of 3 major federal student loan managers who manage student debt for the federal government. These are Navient, Sallie Mae, and mycampus loan. Wikipedia reports that the U.S. has about $1.2 trillion dollars in student debt. That may be including all type of loans, including private. N...
by jacques01
Tue Jun 21, 2016 2:32 am UTC
Forum: Coding
Topic: Good books for learning to create proxy servers?
Replies: 18
Views: 6053

Good books for learning to create proxy servers?

How can I learn to create proxy server code? I can't seem to find any books dedicated to this specifically. My purpose is the ability to hide or manipulate where a request is coming from, e.g. I want to make it look like I'm surfing the web in Wyoming when I'm actually in Florida. I know it's possib...
by jacques01
Sun Jun 12, 2016 3:04 pm UTC
Forum: Coding
Topic: Why is my PDF scroll and search so slow?
Replies: 5
Views: 4173

Why is my PDF scroll and search so slow?

I'm looking over an approximately 600 page PDF file, stored on my local machine. I'm using OS X Preview app to view it. There is significant delay when scrolling the page, and also doing text searches. I'm surprised because I didn't think the code involved with scrolling a PDF document and performin...
by jacques01
Thu Jun 09, 2016 11:54 pm UTC
Forum: Coding
Topic: What do you use Apache Thrift for?
Replies: 1
Views: 2987

What do you use Apache Thrift for?

I've read a little bit about Apache Thrift. However, all the articles I've read talk about what it is, and how to use it. What they don't mention is, WHEN do you use it. For example, if I have an embarrassingly parallel problem and access to a cluster of computers, I can get my job done faster by us...
by jacques01
Sat May 28, 2016 7:59 pm UTC
Forum: Coding
Topic: Entry level tech career--what should I be learning?
Replies: 3
Views: 3468

Entry level tech career--what should I be learning?

I've been in my entry level tech job (Software Developer / Researcher) for about a year and a half. I want to eventually start my own company and / or become a Chief Technical Officer, or some other Tech Executive / Officer position. I've learned and done a variety of things like web development (fr...
by jacques01
Tue Apr 12, 2016 9:53 pm UTC
Forum: Coding
Topic: How do I become a hardcore/professional software engineer?
Replies: 6
Views: 5707

How do I become a hardcore/professional software engineer?

A large part of what I do for a living is program and write code. These include command line scripts for researchers/developers, web services, APIs, frontends / web apps, developing algorithms, etc. A co-worker of mine noted to me today that while I'm smart, I'm not a true software engineer. He said...
by jacques01
Fri Mar 11, 2016 10:50 pm UTC
Forum: General
Topic: Is there a "counter culture" to AI/CS progress?
Replies: 20
Views: 5254

Is there a "counter culture" to AI/CS progress?

The advancements made in algorithms, hardware, data management and collection, autonomous machines (drones, cars, etc.), provide great benefits to society, automating many tasks and freeing up people to do other kinds of work. This is not an exhaustive list. I'm a programmer and AI engineer myself, ...
by jacques01
Sun Feb 28, 2016 6:00 pm UTC
Forum: Computer Science
Topic: Machine Learning Algorithm with Oracle
Replies: 1
Views: 3477

Machine Learning Algorithm with Oracle

Hi, Can someone suggest/name some algorithms that would be ideal for an unsupervised online binary classifier? Links to packages, etc. are also very helpful. I'm not looking to implement by own, but rather find one that fits my use case. I'm presented with a stream of 2 documents at a time, live. Th...
by jacques01
Mon Jan 25, 2016 10:10 pm UTC
Forum: Coding
Topic: Are there therapists for programming / software dev.?
Replies: 1
Views: 2675

Are there therapists for programming / software dev.?

Say one is having doubts about the quality of their code, whether they are behind the times on technology / thinking, or just wants a very frank but helpful assessment of their career and what they should pursue. This kind of resource is not just a career professional, but someone who also knows wha...
by jacques01
Thu Nov 19, 2015 5:18 pm UTC
Forum: Computer Science
Topic: Could a machine optimize language source code?
Replies: 10
Views: 6474

Could a machine optimize language source code?

Let's suppose I write a program that sorts an list of integers. I'm using a bubble sort, which has polynomial time. However, I want to speed up my sorting program. We know that there are logarithmic time sorting algorithms, such as merge or quick sort. Knowing this, I could write a computer program ...

Go to advanced search