instruction_seed
stringlengths
71
95.1k
_source
stringclasses
1 value
If you work with a database that you only have access through a web interface, this one is for you. You probably don't have access to any programming languages other than VBA through MS Office, which I 95% guarantee you do have. Since we will be controlling an external instance of Internet Explorer, you will need to r...
stackexchange/codereview
This is a multiple choice game. It has a web page where you enter a question, which can have multiple answers along with multiple options. Can anyone recommend any improvements for my code? //correct & options are both arrays. These arrays are being passed through an AJAX call function addQuestion($topicID, $difficulty...
stackexchange/codereview
Please help me improving this existing, working code. I am not asking you to change what it does, as it handles connections already perfectly as designed by my own specs. I just want the code to be reviewed to be sure. #!/usr/bin/env python3 # -*- coding: utf-8 -*- import os, ssl from socketserver import ThreadingMixIn...
stackexchange/codereview
I'm trying to implement the Wu-Manber algorithm (http://webglimpse.net/pubs/TR94-17.pdf). From my understanding, the algorithm basically does string matching using a hash table-based approach with chaining to resolve collision. I have not used C++ for quite a while. I'm looking for help with coding convention for bette...
stackexchange/codereview
I've written a script in Python using the multiprocessing module to scrape values from web pages (one page per subprocess). As I'm very new to multiprocessing, I'm not sure whether I did everything in the right way. It works without error, though. Here goes the full script: import requests from lxml.html import froms...
stackexchange/codereview
I dont think this will work anywhere besides in minecraft with computercraft but it's all correct syntax. I just feel like it has some lines of code I could eliminated somehow and made it a cleaner script. I appreciate any constructive criticism to help me further understand what I'm misunderstanding. function placef(...
stackexchange/codereview
Below comes a Value Object to represent UserId in ASP.NET application. It implements Value Identity, so equality is defined by matching of the state calculated at the moment of comparison. It depends on public interface IAuthenticator { int CurrentUserId { get; } // may be impersonated int Intera...
stackexchange/codereview