Quantcast
Channel: Recent Questions - Stack Overflow
Browsing all 12111 articles
Browse latest View live

Connect Azure-hosted Ruby on Rails app to on-premise SQL Server through...

What I've learned: 1. activerecord-sqlserver-adapter can be used to connect a RoR app to an SQL Server by simply changing the database.yml file. Much respect to Ken Collins...

View Article


how does the server know that the client is still connected?

a client establishes a connection to a server process. how does the server knows that the client is still connected? For example the server is a web server and a client is a browser. Let's assume that...

View Article


What's the maximum connects can IOCP accept and hold

I do some IOCP Server and Client test.The IOCP Server accept the clients' connects and do nothing but recv datapackets from clients.The clients connect the server and send datapackets to server in an...

View Article

Socket.BeginConnect vs Socket.Connect

I want to connect to a Socket but I found 2 different connection methods: BeginConnect and Connect. Does anybody knows the difference between the 2? Does BeginConnect require you to call EndConnect as...

View Article

TCP client server : blocking connect call

I am building a distributed application that needs TCP for communication. The final experiments will involve thousands of servers with about 10-100 fold as many clients communicating with them. The...

View Article


Android BluetoothSocket.connect() throws IOExceptions "Connection Refused"...

My goal is to write an app that allows me to control my Motorola Xoom with a Playstation 3 Bluetooth Remote Control. The device is able to be discovered by the native bluetooth app & classified as...

View Article

Show alert onChange of dropdown with Dojo

I'm trying to show an alert when I change the value of a dropdown. Using Dojo. Here's my code:This event gets attached when the page loads...dojo.query('#inquiry_type select').connect('onchange',...

View Article

Specify assembly version number as a command line argument in MSBuild

I would like to be able to specify the version number for all assemblies to be generated during a build as a MSBuild command argument like this:MSBuild.exe /p:version=5.4.3.0 I have looked over...

View Article


Image may be NSFW.
Clik here to view.

How would I approach representing a "Thin-Walled" maze?

is representative of the type of maze I want to make. The walls don't occupy spaces, they just prevent you from moving between them. Since the walls aren't 2d tiles I don't think I'd use a 2d boolean...

View Article


Can I setup an async operation to happen automatically after another async...

I have a bit of a weird case. I have a list that looks something like:var myStuff = [A:1, A:2, A:3, B:1, B:2, C:1, C:2, C:3, C:4];For all letters, I want to start Tasks for each version except for the...

View Article

Pulumi not using service account even though I set it as in official tutorial

I have set my GCP service account keys as instructed in this tutorial:pulumi --config-file stacks/Pulumi.dev-core.yaml \ -s dev-core config \ set gcp:credentials ./stacks/dec.sa-pulumi-dev-keys.json...

View Article

react-big-calendar selection offset

I have a calendar component that uses react-big-calendar.When I select a range of hours, it is not taking the selection from where the click started, but a little bit behind the selection.Shown in this...

View Article

Conditionally update fields in Update query mongoose

I have the following query which pulls an id from two arrays (requests and followers) in the document: User.updateOne( { _id: otherUserId }, { $pull: { requests: userId, followers: userId } } )I want...

View Article


Remove lines when specific colums have the same value

I have this 16 columns file (tab separator) :0/0;20,20 0/1;20,20 0/0;20,20 0/1;20,20 0/0;20,20 0/1;20,20 0/1;20,20 0/1;20,20 0/1;20,20 0/1;20,20 0/1;20,20 0/1;20,20 0/1;20,20 0/1;20,20 0/1;20,20...

View Article

Image may be NSFW.
Clik here to view.

How to display a dynamic List of JButtons in a JPanel

I have a panel that has a button above it to add a new category to a list and then I want to display that list below that button.public class ConfigCategories extends JPanel {public final...

View Article


Is there a way to create vertical fixed sections like this in CSS/JS? [closed]

I'm trying to create a similar layout where each section shows up with scroll. Is there a way to create this with CSS/JS?https://www.youtube.com/watch?v=LF7K2zuh-H8I tried using position fixed and...

View Article

how to get input and then add in our table in html

hello every body i want write a code to get input and then add that info in table under input<!DOCTYPE html><html><head><style> th, td { border:1px solid black;...

View Article


Curtain is not going up after x button is clicked

I was told this:In your showContainer function, you are trying to add the slide classto the container element when the animation of the spinner ends.However, the slide class is supposed to transition...

View Article

Image may be NSFW.
Clik here to view.

My button is not moving with my Icon | Flutter | Dart

leading: Padding( padding: const EdgeInsets.only(left: 45.0), // устанавливаемотступслева child: IconButton( icon: const Icon( Icons.menu, color: Colors.white, ), onPressed: () {}, ), ), actions: [...

View Article

ESP8266 umqtt OSError -1

So, I have an ESP8266. On this board I'm running the newest Version of the MicroPython firmware (1Mib).I have a Java Vaadin Web Application with 2 Buttons. One Button is for publishing, that the LED...

View Article
Browsing all 12111 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>