question_id int64 1 1.16M | title stringlengths 10 191 | question_body stringlengths 6 2k | answer_body stringlengths 0 2.5k | tags stringclasses 73
values | question_score int64 -15 1.65k | answer_score int64 0 2.91k | view_count int64 4 1.24M | creation_date stringdate 2008-08-01 18:45:00 2025-06-19 04:44:02 | category stringclasses 12
values | source_site stringclasses 8
values |
|---|---|---|---|---|---|---|---|---|---|---|
360,125 | Linux - Splitting a backup into two steps | I create a tarball using [CODE] and this works ok. Now I wanted to split this into two simple archives, one only for images, the other -- for everything else. It seems that there's not a trivial and clean way to do this. For [CODE] I can only exclude files, which is unreasonable to exclude every extension except gif, j... | use [CODE] these two options exist in order to deal with filenames with spaces. | 2 | 6 | 115 | 2012-02-14T20:37:42.327 | hadoop_errors | serverfault.com | |
530,391 | VPN to other domain cause local domain authentication stop to work | I have a local domain (let's call it [CODE] ). On one computer, I setup a VPN connexion to a remote domain (let's suppose it's DNS suffix is [CODE] ). As soon as I establish the remote connection, the local domain authentication stop to works. For example, I try to connect to a SQL server using integrated authenticatio... | I finally found an easy way to solve the issue. The solution is taken from this technet thread . Setting the [CODE] parameter to [CODE] in the VPN connection file ( [CODE] ) solved the issue. I deduct this parameter tells windows not to use the credentials of the VPN connection. I then have to input my login/password e... | 2 | 2 | 4,447 | 2013-08-12T12:50:28.580 | database_errors | serverfault.com | |
426,346 | Is checking dependencies into source control worth the cost? | For the last several years, I've been checking all dependencies of my team's nodejs project into source control. At first, we stored the archives of all dependencies using yarn v1's offline mirror, now we store [CODE] s using yarn v2's cache feature. The reason I felt like it was a good idea to do this is package secur... | It seems there are two problems: Tracking NPM dependencies in version control is clunky and slow. Unzipping all of these dependencies is a bit slow. These are all solvable problems without a major overhaul to your development ecosystem. Any dependency management solution with a public internet component suffers from th... | 3 | 6 | 608 | 2021-05-13T21:52:01.423 | hadoop_errors | softwareengineering.stackexchange.com | |
791,592 | phpmyadmin login on 8080 broken? | typical stack, Nginx, varnish, php 7. If I set the vhost in nginx to 80 I can login without difficulty. If I move it to 8080 I cant (verified varnish/nginx listening on correct port when troubleshooting. no issues with wordpress, also tried adminer which works fine, may just use that or another alternative at this poin... | critical pieces to the answer: As I have it behind varnish its on port 8080. the Nginx config needs to be edited to add the following after [CODE] [CODE] Also in Varnish4 vcl, return(pass) isn't good enough as the rest of the routines run a common wordpress vcl will strip the phpmyadmin cookie!, use return(pipe) instea... | -1 | 1 | 313 | 2016-07-23T17:39:22.377 | infrastructure | serverfault.com | |
30,185 | How do we as testers best approach API test cases without entering the realm of insanity? | I'm looking for some clarity on how to approach API testing holistically, I have a project to automate a Restful web service, containing 2 controllers(foo & bar) with a collective sum of around ~30 calls available. Some implications - There are no test cases written for this, so I'm not coming along and automating what... | Most of the question (and answer) isn't specific to API testing; combinatorial explosion is a problem whenever you have a function that takes multiple inputs. So, first, you'd need to understand how the API interacts with the backend service. Is it actually doing anything, or is it just passing a call on to some other ... | 6 | 8 | 1,751 | 2017-10-22T18:23:57.220 | data_quality | sqa.stackexchange.com | |
277,037 | In ssh, TCP connection before or after server authentication | I was studying the packets exchanged in ssh protocol using wireshark and i noticed that TCP connection is getting established and keys are exchanged, before i accept the server certificate. Isn't it that server has to be authenticated before establishing a connection? The capture shown below is before accepting or reje... | A TCP connection has to be established before any sort of conversation can take place between hosts, but it is purely for purposes of carrying higher layer traffic and does not do anything more than facilitate that conversation. If the certificate is rejected then the conversation is terminated. | 1 | 2 | 298 | 2011-06-04T21:09:03.260 | api_errors | serverfault.com | |
896,551 | What is this column in /proc/interrupts? | Can someone assist me in analyzing the data in this output from my [CODE] file? [CODE] What I have compiled so far... Column 1: IRQ number Column 2&3: # of interrupts per CPU (variable # of columns depends on how many CPUs your system has) Column 4: Type of interrupt Column 5: ??? Column 6: Name of device I'm intereste... | I am still poking around this area too. This points to the "edge" meaning the type of irq is an "edge falling" irq: https://www.raspberrypi.org/forums/viewtopic.php?t=20931 Looking at mine, I have "18 edge" and that ties in with the GPIO-18 I expect the interrupt to come in on in my case : [CODE] | 9 | 5 | 22,743 | 2018-02-09T16:35:30.850 | infrastructure | serverfault.com | |
597,912 | Need 32 Bit Apache on Red Hat 6.5 64bit | I have a Red Hat 6.5 Enterprise Server which is 64 bit. I have a 3rd party package that I use for Web Services that is an add-on to Apache Web Server. This package is 32 bit so I need to have a 32 bit Apache. Somehow I should be able to easily find a way to install such a server on a Red Hat server but I have not yet f... | what purpose are you trying to achieve?, IMHO if 3rd party app does not support 64 BIT apache, why not keep it simply on 32 bit apache on 32 OS as well. | 4 | 0 | 474 | 2014-05-22T20:26:34.347 | infrastructure | serverfault.com | |
344,827 | What difference is there between using a struct and a std::pair? | I am a C++ programmer with limited experience. Supposing I want to use an [CODE] to store and manipulate some data, I would like to know if there is any meaningful difference (also in performance) between those 2 data structure approaches: [CODE] Specifically, is there any overhead using a [CODE] instead of a simple [C... | Choice 1 is ok for small "used only once" things. Essentially [CODE] is still a struct. As stated by this comment choice 1 will lead to really ugly code somewhere down the rabbit hole like [CODE] and no one really wants to decipher that. Choice 2 is better for everything else, because it is easier to read what the mean... | 31 | 37 | 21,246 | 2017-03-24T11:18:38.547 | api_errors | softwareengineering.stackexchange.com | |
697,460 | Azure VM configuration with 2 public static IP | I have broken my head, trying to fulfill following configuration: 2 Azure VMs behind load balancer, with static public IP assigned to load balancer + one of those VMs shall have it's own static public IP. I was trying to fulfill this both with portal and Azure Resource Manager temaplates - but it is not working. When i... | You can't reserve the PIP (Instance Level IP) address, only the VIP (Public Virtual IP). You also can only have 1 reserved VIP per cloud service no matter how many NICs you have. To reserve a VIP you can either use Powershell or the Preview Portal that way they won't change next time you restart or shutdown. Reserved I... | 0 | 1 | 2,554 | 2015-06-08T17:30:52.223 | infrastructure | serverfault.com | |
84,092 | Active directory password change cannot find the file specified | I'm running Windows SBS 2003, everything appears to be fine except when i try to reset a user's password i get the message "Windows cannot complete the password change for [Username] because The system cannot find the file specified." The title of the message box says "Active Directory" I've looked in the logs and cann... | This error can sometimes be solved by clearing the active directory userParameters property. To edit this you will need adsiedit, which is available in the support tools package, which if its not installed is located at \support\tools\supptools.msi of SBS disk 2 Click on Start > Run and type adsiedit.msc Expand the Dom... | 1 | 2 | 11,705 | 2009-11-12T16:26:36.493 | infrastructure | serverfault.com | |
125,308 | How to stop/kill a virtual machine that hangs in "Stopping" state? | I have a virtual machine that constantly hangs in the “Stopping” state. I’ve red several posts suggesting killing the vmwp.exe process of the machine but I’ve never been able to kill this process neither from the Windows Task Manager nor from an administrative command prompt by using prockill /PID xxxx /F where xxxx wa... | The process VMWP.EXE can be killed like it's described here . Also, it could be an issue which can be resolved by installing the latest Windows updates. Additionally, remote access may not have been configured properly and RRAS should be turned off - source . | 10 | 2 | 23,548 | 2010-03-23T09:56:49.020 | infrastructure | serverfault.com | |
72,787 | Good layout of 3d point data for spatial queries in Postgres? | Like shown in another question, I deal with a lot (>10,000,000) entries of points in a 3D space. These points are defined like this: [CODE] If I am not mistaken 3*8 bytes + 8 bytes padding are needed ( [CODE] is 8) to store one of these points. Is there a better way to store this kind of data? In the afore mentioned qu... | The composite type is clean design, but it does not help performance at all . First of all, [CODE] translates to [CODE] a.k.a. [CODE] in Postgres. You are building on a misunderstanding. The [CODE] data type occupies 4 byte (not 8). It has to be aligned at multiples of 4 bytes. Measure actual sizes with [CODE] . SQL Fi... | 5 | 3 | 3,124 | 2014-07-30T19:13:15.497 | warehouse_errors | dba.stackexchange.com | |
201,623 | forward ssh using port 80 | I need to forward everything that comes to [CODE] to [CODE] it is for forwarding ssh connection cause some of my friends are sitting behind very restrictive firewall which allows only connections to port [CODE] is there any solution for that ? | ssh-http-tunneling is what you are looking for. Hope this helps you and your friend! | 1 | 4 | 2,522 | 2010-11-14T04:06:38.117 | infrastructure | serverfault.com | |
458,426 | On-premise VMware vSphere vs Amazon VPC for small business | Background I have been managing all the IT for a small business (owned by a family member) of ~5 users for about 10 years. Since about 2 years the infrastructure is 100% virtual running on VMware vSphere on a single physical server (local storage) located at their office. I would classify the users as light in terms of... | To be honest, i'm wondering why you don't just setup 1 server and make it everything. You could get a Small Business Server and make it AD/DNS/DHCP/Terminal/File-Print/Exchange/Fax...I mean you've only got 5 users. I think I have a similar setup for about 9 users. Don't think i'd ever setup a RDS for 5 users. If you're... | 0 | 2 | 461 | 2012-12-15T22:52:44.097 | pipeline_ops | serverfault.com | |
100,965 | Combining separate ranges into largest possible contiguous ranges | I'm trying to combine multiple date ranges (my load is about max 500, most cases 10) that may or may not overlap into the largest possible contiguous date ranges. For example: Data: [CODE] Table looks like: [CODE] Desired results: [CODE] Visual representation: [CODE] | Assumptions / Clarifications No need to differentiate between [CODE] and open upper bound ( [CODE] ). (You can have it either way, but it's simpler this way.) NULL vs. [CODE] in PostgreSQL range types Since [CODE] is a discrete type, all ranges have default [CODE] bounds. The manual: The built-in range types [CODE] , [... | 33 | 38 | 15,725 | 2015-05-08T13:59:08.780 | api_errors | dba.stackexchange.com | |
325,717 | PSExec "access is denied" on WS '03? | I'm trying to execute commands to a remote server offsite and PSExec for some reason is not working. [CODE] This won't even let me run command prompt. But when I RDP into \\LOC-Server with the AdminUser and AdminPW credentials I'm able to get on it. What am I doing wrong? EDIT: I have also tried [CODE] but that hasn't ... | Try doing it like this: [CODE] Or, it could be due to: [CODE] | 0 | 1 | 2,163 | 2011-10-28T14:01:44.597 | infrastructure | serverfault.com | |
72,980 | Execution Plan in Microsoft SQL Server | I have a stored procedure in my database. As per my knowledge it's pre-compiled subroutine. Question 1 : If I execute following queries from Hibernate, will database create a separate execution plan for each query? In which case SQL Server update/change stored procedure Execution Plan? [CODE] and [CODE] Question 2 : Th... | First of all: stored procedures in SQL Server are NOT "pre-compiled" or anything. Just like an ad-hoc SQL query, a stored procedure is analyzed when it's first used, an execution plan is determined and cached. When the stored procedure is executed again, then that pre-existing execution plan is reused. Same applies to ... | 2 | 4 | 591 | 2014-08-02T06:17:45.923 | database_errors | dba.stackexchange.com | |
761,939 | MySQL uses 100% CPU - Not sure to configure | I'm running a VPS on DigitalOcean on a 8GB ram 4 Core. We're on Ubuntu 32 bit. Recently been running into the issue where the mysql process is taking up 100% of the CPU load and slowing our server. I've tried all sorts of things from what I could find online, and would love some help in configuring our settings. It is ... | The first thing to do is to get yourselves moved to a 64bit OS. This will allow you to use more of your system resources. Until you do that there is little point in doing anything else. Fiddling whilst Rome burns springs to mind. | -1 | 3 | 742 | 2016-03-06T16:40:19.147 | api_errors | serverfault.com | |
132,409 | Galera Replication error: log block numbers mismatch | I am attempting to get Galera replication working between two nodes. I am finding these errors in my innobackup.backup.log file: xtrabackup: error: log block numbers mismatch: xtrabackup: error: expected log block no. 671400745, but got no. 679592737 from the log file. xtrabackup: error: it looks like InnoDB log has wr... | I finally have solved this problem. I found an article on launchpad that said to use this command to see if the problem was IO: [CODE] This failed to, so I started thinking IO was not at fault. I played around with this command and found this one to complete: [CODE] This also showed that my ulimit was not high enough, ... | 1 | 1 | 725 | 2016-03-16T15:45:34.873 | database_errors | dba.stackexchange.com | |
240,572 | T SQL Cte Previous record calcuation | I'm using SQL Server 2016. I have the below table: [CODE] This is the desired result: [CODE] I need to update the 'Open_Stk Calc' based on the previous row: [CODE] I am using a CTE to update a row based on a calculation of the previous rows. This is my SQL: [CODE] However, this produces the following result: [CODE] And... | Test something like: [CODE] Or divide to two [CODE] s to avoid [CODE] usage. Edit [CODE] expression if needed. - akina | 1 | 1 | 182 | 2019-06-14T10:29:01.010 | database_errors | dba.stackexchange.com | |
1,067,515 | Linux server not allowing more than 2048 concurrent connections | I tried to do load test on MQTT from my MACOS, and was able to successfully achieve more than 12k connections till my bandwidth got exhausted. I tried to do the same test on GCP machine and it gave me connection timed out exception once the opened ports reached 2048, and 2048 connections with MQTT broker. When connecti... | I was able to solve this problem, thanks to the comments above. I was hitting public LoadBalancer IP from my test VM. However, GCP has limit of max 2048 connections from a VM to public IP. Once I changed this to private IP, I was able to achieve close to 65k connections. | 1 | 1 | 413 | 2021-06-23T06:17:53.377 | infrastructure | serverfault.com | |
483,455 | Do SMB File Transfers use a persistent connection? | I am doing some speed tests with different types of file transfers in my network. I have noticed that windows file transfers (SMB) are slower than FTP, HTTP, and other types of protocols. I was thinking that is might have to do with a persistent connection. I have a few questions, not just one. Do SMB File Transfers us... | Some of these things depend on the version of SMB you're talking about. There are a number of different dialects and "flavors". There have been entire books written about SMB/CIFS -- you're talking about a fairly broad topic. The original SMB dialect, over TCP/IP, sends commands across a single TCP connection between t... | 2 | 4 | 1,876 | 2013-02-28T16:00:23.317 | infrastructure | serverfault.com | |
367,970 | virtual domain redirection working only partially with apache 2.2 | Apache 2.2.3 running with a lot of virtual hosts (boiled down to 3 Zope instances), configured in separate files. Works quite well, with one exception: The redirection of mydomain.net to www.mydomain.com works , while www.mydomain.net to www.mydomain.com doesn't work . Currently the configuration file for these two loo... | I just had a closer look, and I found the cause: the very ServerAlias www.mydomain.net was present in two virtual hosts (a right one, and the other). Removing the wrong entry solved the problem. Thus, Apache doesn't seem to care about such collisions; you can't rely on the virtual hosts dump running w/no abnormalities ... | 0 | 0 | 208 | 2012-03-09T09:40:11.537 | infrastructure | serverfault.com | |
14,874 | Contrasting logistic regression vs decision tree performance in specific example | I have a set of 10,000 integers, and another set of 100. The integers in the first set are mapped to integers in the second set according to some rules (not mathematical rules, think of these values as codes for naming certain items, it is some categorical mapping). The mapping is not necessarily 100 to 1, in some case... | A decision tree is designed to make many branches leading to any number of categorical outcomes. Logistic regression in it's simplest form, however, takes a continuous variable and decides where to apply a threshold in order to model a binary response. In your case, a decision tree makes sense because you are working w... | 0 | 0 | 642 | 2016-11-02T00:00:05.793 | data_quality | datascience.stackexchange.com | |
400,329 | CQRS - How can a command properly validate when queries are required? | I'm aware that this question has been asked several times, but I have some concerns regarding querying from the write side that I don't see addressed in the already existing questions, more especifically regarding eventual consistency in the command model. I have a simple CQRS + ES architecture for an application. Cust... | How can I avoid and protect the command from the concurrency case exposed before? The only way to "protect" yourself against concurrent changes is to hold a lock, which effectively means to have both of the changes be part of the same thing. Once you have decided to distribute the information, concurrency is unavoidabl... | 2 | 5 | 2,073 | 2019-10-30T09:07:03.127 | data_quality | softwareengineering.stackexchange.com | |
413,166 | What is a good strategy to determine the maximum number or items an api endpoint should handle? | I am developing a REST api endpoint that accepts a list of item IDs and will return some details for each item. Let's make the following assumptions Performance wise in the DB there is no significant difference whether the endpoint accepts 10/100/1000 etc IDs. The details that will be returned for each ID are a JSON wi... | Its really useful to be able to request all the things. But there are technical limitations the number you can send, even if its just the network bandwidth. This is super annoying because it means you have to have some way to indicate to the client that you haven't been able to send all the things they want in one go a... | -2 | 1 | 656 | 2020-07-27T09:21:57.453 | api_errors | softwareengineering.stackexchange.com | |
1,110,620 | Postfix (SASL) and OpenDMARC-Reports | I am after suggestions on how to implement email sending of OpenDMARC-Reports. The problem I am having, is that (for obvious reasons), I have implemented SASL authentication on the smtpd server for all accounts. I have had a look at the OpenDMARC-Reports source code, and from what I can tell, the only authentication to... | This is indeed a horrible shortcoming in the [CODE] script. Your solution for patching the script is brilliant, and I wish to see it as a pull request to The Trusted Domain Project, fixing the problem at its root. The man page should be updated accordingly, too. This answer contains an alternative solution compatible w... | 1 | 2 | 362 | 2022-09-13T14:35:04.857 | api_errors | serverfault.com | |
304,845 | Difference in endianness between operating systems | There is an assembler that I am writing that is located within the file [CODE] located in this repository . It uses the instruction set located in the [CODE] file to produce an output binary. (The program that would run this binary has not yet been made - the beginning is located in [CODE] .) Using the example program ... | Something else is going on, likely a bug in the code. It looks like an off-by-one error to me, not an endianness change. Check your type widths and your bit shifts. | 2 | 2 | 745 | 2015-12-11T17:51:31.990 | api_errors | softwareengineering.stackexchange.com | |
214,805 | What's the difference between the code inside a finally clause and the code located after catch clause? | My java code is just like below: [CODE] Then, my confusion is: what the difference if I put [CODE] in a finally code block or if I just remove finally code block and put [CODE] behind catch clause (which has been commented in the code). I know that in both ways, the [CODE] will be executed because I know that whether t... | The [CODE] block is always called (unless you call [CODE] before finally is reached - but you won't be doing that most of the time). The purpose of finally is to clean up any resources allocated in the [CODE] block, even if something was thrown and it hit the [CODE] block. Consider the code: [CODE] While there isn't an... | 3 | 9 | 3,685 | 2013-10-18T01:47:48.867 | api_errors | softwareengineering.stackexchange.com | |
145,723 | Considerations for performance comparison with a high fragmented heap? | I am planning to perform some performance comparisons for different structures of one and the same table. The table I want to investigate on is a heap having ~ 1Mio rows and 123 columns. Setup: I have copied the table from production to a test system. It is a heap table and I want to check options to improve it. Then I... | Since the three table copies are brandnew, so there is no fragmentation in place. For a fair comparison I also re-builded all indexes of the original table. A more realistic test would be to try recreate the fragmentation that would have resulted from the table being in each design from the start. This way you are comp... | 1 | 2 | 127 | 2016-08-03T09:42:23.537 | database_errors | dba.stackexchange.com | |
1,042,027 | Bind9 DNS configuration for a private sub-domain from a public domain name | We currently have a private DNS service that we wish to migrate to Bind9. So I have to migrate the current configuration to Bind9, but I'm having trouble setting it up. Here is the context. I have a public domain name " acme.com " managed by a registrar. At this registrar I manage public domain names, such as : [CODE] ... | Because the BIND server is authoritative for [CODE] , it won't perform recursion even in case of a [CODE] for a subdomain. You would either need to use another level of subdomains [CODE] or configure the individual exceptions with Response Policy Zones (RPZ) . | 0 | 1 | 1,569 | 2020-11-10T14:47:28.223 | infrastructure | serverfault.com | |
991,845 | Spamassasin rule to flag certain MX IPs | I've noticed a flood of spam that is related to the same range of IPs. All the spam email has different HTML text (which is english but meaningless) and a few embedded pictures (which I block) but actaully is clearly machine generated and the internal formatting is very similar. BTW all link and external pictures are b... | Vastly more important: Make sure you're using sender IP reputation e.g. via Spamhaus Zen and the SpamCop Blocking List . These are already included in SpamAssassin by default (see [CODE] and [CODE] ), just make sure you have Mail::SpamAssassin::Plugin::DNSEval properly loaded and that you're running with network tests ... | 1 | 1 | 710 | 2019-11-14T14:33:32.380 | infrastructure | serverfault.com | |
663,811 | Windows 802.1X WiFi First Login To Domain Laptop | So I have my Windows laptops using 802.1X for authentication to connect to my WPA2-Enterprise WiFi network. This works well except for one edge case. These laptops are Windows 7 Pro and Windows 8 Pro. As a background, I have only been able to get users to successfully log in to such a laptop if their profile already ex... | You say, your users have their creds, so the computer must be a domain member. So initially you must join this computer to domain or to configure computer to connect WIFI. In both situations you need helpdesk to do this, so, I think, you have to choose between USB dongle and Wi-Fi with PSK (which is told to helpdesk) a... | 1 | 1 | 11,207 | 2015-01-30T20:24:53.120 | api_errors | serverfault.com | |
115,778 | Active Directory security | Possible Duplicate: Can you help me with my software licensing question? I want to setup Active Directory on a network consisting of 2 sites. Site 1 has 16 Windows computers, a 2003 Server exclusively used for file sharing, and a 2000 Server for SQL Server only. Site 2 has 4 Windows computers plus a 2000 Server for SQL... | Depends how much you trust your users and what kind of file sharing you got going on. You don't want free "wild west" file sharing on your DCs, so I would lock that part of it down with NTFS perms/GPOs and make sure you know what is going on there. But that being said, Microsoft builds SBS to be all-in-one server, so b... | 1 | 4 | 99 | 2010-02-23T14:03:02.617 | data_quality | serverfault.com | |
298,447 | Problem regarding sub-netting and sub-net mask | Possible Duplicate: How does Subnetting Work? An organization is allocated the IP block of 172.16.0.0/16. It has a head office and three branches each of which can have 500 to 4000 hosts. You are required to subnet their IP block and suggest suitable subnets for each location. 1) How many subnet bits should be used? Fo... | This is my answer 1) we have to use 2 bits to represents the network 3) So three sub-nets will be 172.16.0.192/18 172.16.0.128/18 172.16.0.64/18 4) Subnet mask will be 172.16.0.192/18 -:255.255.255.192 172.16.0.128/18 -:255.255.255.128 172.16.0.64/18 -:255.255.255.64 | -4 | 0 | 142 | 2011-08-06T17:05:32.803 | data_quality | serverfault.com | |
13,867 | Where to install Prometheus for Kubernetes monitoring | I'm considering using Prometheus to monitor and analyze different metrics from my AWS EKS Kubernetes cluster running in Fargate, as it seems to be the standard tool during these times. However, something that really impressed me was that installing Prometheus itself in the very same k8s cluster (as another running set ... | This is more of an opinion based question but let me try to answer it. installing Prometheus itself in the very same k8s cluster (as another running set of pods) is a normal thing.Am I right or just got a wrong idea from my research? Considering good practices, shouldn't the monitoring tool be outside of the system tha... | 1 | 1 | 427 | 2021-05-10T21:59:00.220 | bi_errors | devops.stackexchange.com | |
23,382 | Text generation using Tensor Factorization | Text generation is well studied using Markov chains or NNs, but I am not aware of any works to word sequence prediction in terms of subspace learning. Treating phrases or sentences as temporal data such as time series, it is possible to represent word sequences as a tensor $T = WS \times W \times K$, where $WS$ is the ... | Tensor Factorization would not work for text generation as a stand-alone technique. There is no way for the decomposition to model long-term dependencies in language. Without modeling long-term language dependencies, its results would be similar to low-order Markov chains. Tensor Factorization could be used as another ... | 1 | 2 | 117 | 2017-09-28T10:25:11.403 | data_quality | datascience.stackexchange.com | |
705,883 | OpenVPN client on Amazon EC2 leading to SSH disconnect | I am running Ubuntu 14.04 on Amazon EC2. I'm trying to connect the EC2 instance to OpenVPN so the traffic routes through the VPN. When I run the following: [CODE] the SSH connection disconnects, and I'm unable to connect to it anymore. Below is the OpenVPN config file: [CODE] Below is the output of the OpenVPN connecti... | Wed Jul 15 10:23:15 2015 PUSH: Received control message: 'PUSH_REPLY,sndbuf 262144,rcvbuf 262144,redirect-gateway def1 redirect-gateway def1 means the tun dev that openvpn creates is set as the default gateway of your main routing table. So if 45.64.105.207 is not the address of the host that your ssh connection is com... | 5 | 5 | 2,441 | 2015-07-15T10:42:18.240 | infrastructure | serverfault.com | |
565,874 | Use Services Snap-in to Manage Remote Computer not Connected to Domain | I have remote machine that I would like to manage using [CODE] . The machine is not connected to the domain so I can't run the management tools as a user that the remote machine knows about. When I use [CODE] , I'm able to specify a user that exists on the remote machine: Event Viewer has "Connect as another user" opti... | You can use a command line prompt along with RunAs to handle this: [CODE] That should work for you.... | 6 | 4 | 15,342 | 2014-01-08T15:01:56.300 | infrastructure | serverfault.com | |
1,300 | Solving "SeleneseTestCase is deprecated" issue | I'm working through the "Selenium Simplified" book just to really gain a solid understanding of Selenium and Java. I know the basics of Java, but this one is frustrating me. I must be missing some important jar file, but I'm not sure what that is. I'm also wondering if this has to do with version issues. The book goes ... | [CODE] is deprecated and shouldn't be used any more, use [CODE] instead. | 7 | 9 | 7,647 | 2011-06-28T15:06:19.793 | data_quality | sqa.stackexchange.com | |
47,878 | Sub-query in update function | I have a really terrible set of data that I've inherited and part of my job is going through and cleaning it up to something that's actually usable. Currently, I'm trying to update a column in my table based on the name of entry. Table: (category is currently null for almost everything) [CODE] My query: [CODE] The prob... | SUGGESTION #1 Why use a subquery at all? Try it like this: [CODE] PROS AND CONS : Simpler query with no subquery, but a single-pass full table scan. SUGGESTION #2 Put the distinct names in a separate table and then do an [CODE] : [CODE] PROS AND CONS : Clean [CODE] , but requires creating the temp table manually. This ... | 1 | 2 | 307 | 2013-08-09T17:54:12.460 | warehouse_errors | dba.stackexchange.com | |
306,204 | What are typical NFS read/write rates | I have just installed a server that is sending HTTP video streaming files to a Web server over NFS and I want to make sure that I have the transfer speed optimized. But I don't know what sort of read/write rates are typical so I don't know if I have already achieved close to the maximum. I understand that [CODE] and [C... | Adam, in my opinion you ARE in the right ballpark. Blocksize is hugely important as the sourceforge article implies. It's unlikely that you can hit your network wire speed 110-120MB/s (1 Gb, that's bits not bytes). For the audience, here's the article which is great: http://nfs.sourceforge.net/nfs-howto/ar01s05.html Th... | 10 | 5 | 43,208 | 2011-08-29T21:25:54.130 | data_quality | serverfault.com | |
273,054 | Windows 10, SQLServer Express (2019), Excel 2016 import to SQLServer error Microsoft.ACE.OLEDB.12.0’ provider is not registered on the local machine | Environment: Workstation: 16GB RAM. 500MB SSD Windows 10 Pro (64-bit) Microsoft Office 2010? 2016? (Home/Student?) Not sure how to tell exactly. Office reports the version as 18.2005.1191.0 ; Excel 2016 SQL Server 2019 (Express Edition) Just installed 2 weeks ago. Not available on workstation (though some supporting li... | Microsoft SQL Server Management Studio launched the 32-bit version of the import wizard. I found the 64-bit version of the import wizard already installed as a standalone App. Launching that standalone App worked. | 0 | 1 | 932 | 2020-08-02T03:19:32.857 | api_errors | dba.stackexchange.com | |
93,767 | 501 Error using PUT with IIS | When I attempt to write a file to the server using the PUT verb with WinHTTP like this: http://msdn.microsoft.com/en-us/library/aa384105(VS.85).aspx My Windows 2003 server returns the header: HTTP/1.1 501 Not Implemented Content-Length: 0 Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET Date: Sat, 12 Dec 2009 11:31:14 G... | Yes, IIS6 does not have PUT support out of the box, you need to enable the WebDAV extension. There is a nice post explaining how to do that here . | 4 | 2 | 3,173 | 2009-12-12T21:50:20.603 | infrastructure | serverfault.com | |
210,745 | SQL Server - Any way to validate insert statements for mismatching column names? | I like to be verbose in my coding, so my typical insert statement looks like this: [CODE] If you didn't notice the problem with this statement, then you have been fooled just as I have been numerous times. And the really insidious part of this type of flaw is that it might work for ages before causing any issues, and w... | I don't think there's any good way to automate this. Especially since most people, in my experience, who use [CODE] have not written the [CODE] specifically for the [CODE] , but rather copied it from somewhere else. If they have written the [CODE] for the [CODE] , it's unlikely they went to the trouble of adding column... | 2 | 2 | 1,343 | 2018-06-27T15:42:08.977 | database_errors | dba.stackexchange.com | |
482,437 | Server with high consumption of physical memory; swap is not being used | Please, I need a help. I have a Linux that has the following scenario of RAM memory consumption: [CODE] But Swap is not being used and my server is too low! This is vmstat results: [CODE] Thanks everybody! | This is normal. The Linux kernel will use free memory to buffer disk access, thereby speeding up your system overall. Help! Linux ate my RAM! | -1 | 3 | 1,054 | 2013-02-25T23:37:58.357 | infrastructure | serverfault.com | |
263,249 | How to solicit new product recommendations from existing clients? | My company is working on developing a new product that is similar (but larger in scope) than our existing, primary application. It will incorporate most of the functionality of our current application (except where that functionality isn't currently being used) and eventually supplant it. Our initial thought was to sol... | You will probably get lots of more feedback as soon as your new product is on-line and people start using it. Especially, when you replace your existing application, so your clients are not able to use the old one any more. So work towards that goal - give your clients a version of the new product at hand with access t... | 1 | 1 | 186 | 2014-11-19T17:35:55.963 | api_errors | softwareengineering.stackexchange.com | |
163,843 | Can you set the output configuration at Query time? | Is there a TSQL statement to configure the output to be Text-Column aligned? I want to use SQL templates for my coworkers to run some templated UPDATE before/after statements. But when they run the query it needs to output to text and Column delimited So contrived example say I have this query: [CODE] Is there a some S... | No, there is no programmatic way (outside of what you suggested: writing a custom SSMS plug-in) to control SSMS (for the most part). Like most commands, [CODE] commands are executed by SQL Server. The only control you could have locally is a subset of the SQLCMD commands -- [CODE] , [CODE] , [CODE] , and so on -- but n... | 0 | 0 | 48 | 2017-02-10T05:19:10.647 | warehouse_errors | dba.stackexchange.com | |
252,482 | How to timeout in mod_perl? | I'm looking for a server-wide setting for timeout with mod_perl scripts under Apache 2.2, similar to [CODE] in php. Timeout can be done with [CODE] but it requires modification to every perl script and is incompatible with with [CODE] . Apache has a [CODE] configuration directive , however it has no effect on mod_perl.... | [CODE] does not, unfortunately, have a way of doing this. What does have a way of implementing timeouts its [CODE] (via the FcgidBusyTimeout directive ). This shouldn't require any significant modifications to your script, unless its making use of [CODE] specific functionality. A good comparison between [CODE] and [COD... | 1 | 1 | 1,953 | 2011-03-27T22:26:20.173 | infrastructure | serverfault.com | |
304,518 | Tips for working with badly designed software | Currently in my job im working with a lot of older php systems which don't follow normalised design patterns and are frankly, a mess. As an ethical developer and someone who always strives to better what Im working on, but also keep within the budget of my employer and their clients, what are my obligations here? Most ... | First, do no harm. You are faced with a system that works, at least to some extent. It may have huge problems, it may be unmaintainable, but it works, and it keeps the business running. Without a running business, the code has no meaning, so don't kill the business. Several practices can kill the business: A big rewrit... | 0 | 7 | 202 | 2015-12-08T02:09:31.253 | api_errors | softwareengineering.stackexchange.com | |
1,468 | Conflicting Kubernetes CPU usage & Docker Container Metrics | We recently switched over our production environment to Kubernetes. I'd like to enforce CPU limits on the containers. I'm getting conflicting CPU metrics that do not fit together. Here's my setup: DataDog agents running as a [CODE] Existing applications running without CPU Limits Containers in question are multi-thread... | Multiple things here: Youre on AWS ec2, hence whatever you are doing on your instance for measuring CPU is calculating CPU on hypervisor level and not instance level. To very this run any load test and check iostat -ct 1 and CPU usage in cloudwatch. CPU usage in cloudwatch is always 10-20% greater than what iostat will... | 9 | 4 | 1,388 | 2017-07-01T04:28:57.023 | pipeline_ops | devops.stackexchange.com | |
817,629 | Unable to Install Microsoft Azure Backup Server | I've been having a problem for the past two days trying install Microsoft Azure Backup Server... I'm very close. The installation always fails to install the SQL server as shown in the image. The error logs state: On a domain controller, you cannot use the built-in Windows service accounts (Local Service or Network Ser... | Installation of Azure Backup Server on a domain controller is not supported - see this article . I imagine this is primarily due to the reason you encountered, that installing SQL on a domain controller is also not supported. You will need to use another machine. | 0 | 1 | 662 | 2016-11-29T09:02:04.140 | database_errors | serverfault.com | |
10,315 | How to configure Windows 2008 Server firewall for an Enterprise Services (COM+) application? | We have an application that creates a COM+ application when it is installed. On Windows 2008 Servers with the firewall enabled, we have not been able to figure out how to poke a hole through the firewall so workstations can use the COM+ application through the application proxy. We have worked with Microsoft support on... | Remote access would use DCOM, so you'd need to open tcp/135 (there's a prebuilt rule, [CODE] ) for the initial RPC connection. The RPC Endpoint Mapper will hand out a dynamic port for the secondary connection. So, you also need a rule to allow [CODE] - which are the specific ports that RPC has handed out. If basically ... | 0 | 1 | 2,310 | 2009-05-20T12:22:08.890 | infrastructure | serverfault.com | |
1,087,687 | Apache directs https:b-site visitor to https:a-site (b-site don't have ssl) | I've got an issue with my apache system. it's brand new, and so are I. my problem now is that if somebody visit https://123.446.689.0 or https://b-site.com , (which don't have any ssl), then will a-site cut in on the https... How can a connection jump like that? (of course a warning comes up, since the ssl is for anoth... | You have only [CODE] [CODE] defined for port 443 (https) so Apache shows only the site it can find to show. You need to define a default [CODE] on port 443 [CODE] the same way as you have in [CODE] (or check if you have [CODE] and enable it). You still need a TLS/SSL certificate for the default host but you can create ... | 0 | 1 | 44 | 2021-12-18T16:06:50.013 | infrastructure | serverfault.com | |
446,896 | Separation of Concerns between test automation engineer and manual QA engineer? | I've been working as a test automation engineer for almost two years now. As expected, most of my job involves ensuring that the automation (primarily written in Python) is operational and reliable. However, I often find myself performing numerous tasks such as creating and maintaining test cases and test plans, debugg... | Each organization draws its responsibility lines differently, and a distribution of responsibilities which works in one organization does not necessarily work for another. So I don't think an outsider can give you meaningful advice if "separating QA engineers from automation engineers" will solve the issue that your cu... | 0 | 2 | 130 | 2023-08-03T20:49:11.220 | pipeline_ops | softwareengineering.stackexchange.com | |
769,991 | Script to unlock and lock monitoring screens remotely | We have several Windows 7 machines that are used for monitoring screens on the wall (one machine per monitor). We have to log these in every morning and lock them over night. This is a tedious process and I am looking to try and automate this. We currently use VNC to connect to the machines individually as RDP doesn't ... | PSSutdown might come in handy; something like [CODE] | 1 | 0 | 619 | 2016-04-13T10:03:59.510 | pipeline_ops | serverfault.com | |
684,365 | Write access on Apache WebDAV server | I have set up a WebDAV server running Arch Linux 3.19.3 and Apache 2.4, according to the Arch Wiki [ 1 ] [ 2 ] and the Apache Documentation [ 3 ]. The only changes I made to [CODE] : [CODE] Related folders and their owners and permissions [CODE] As I’m editing this I realize the following is where the problem is. [CODE... | The following is where the problem is. [CODE] The permissions should in stead be (and the same for the subdirectory) [CODE] since you can’t access the contents of a folder without being able to execute (open) it. | 3 | 1 | 5,618 | 2015-04-21T14:48:12.027 | infrastructure | serverfault.com | |
94,370 | How to fix a Windows installation to be bootable again? | I have a server that had Windows 2000 on the C drive and WIndows 2003 on the D drive with dual-boot. I then formatted C and installed Windows 2008 on that partition, and now when I boot up it boots right into 2008 and doesn't give me the option to boot into 2003. Is there any easy way to fix this so that I can boot fro... | http://technet.microsoft.com/en-us/library/cc721886%28WS.10%29.aspx I remember hearing that boot.ini was no longer used in Windows 2008. Above is the technet article for bcdedit.exe. I haven't used 2008 yet myself so I have no idea if this option is still around, but you might want to see if you can edit the boot setti... | 0 | 0 | 516 | 2009-12-14T23:47:47.887 | infrastructure | serverfault.com | |
25,382 | How to store formula method in the table | I am trying to figure out how to store formula method in the table (I could create [CODE] table). Each category will have different way of formula method to calculate the point and I need to assign formula method on each category. What the best way to do this? For example: CPU( [CODE] ), to calculate the point the form... | You could create a view to select from and return the value the calculated value. This is the SQL to create the view for the CPU formula: [CODE] This would be the one for the HDD: [CODE] To query them you would just do: [CODE] this would perform the formula for the specific cpu with id = 1. If you wanted to recombine t... | 4 | 4 | 11,164 | 2012-10-03T17:19:55.507 | warehouse_errors | dba.stackexchange.com | |
645,965 | How do I work out my certificate chain order manually? | Lets say I start with a certificate. Using openssl I can print it out like this: [CODE] And I'll get some output such as [CODE] , [CODE] and [CODE] along with [CODE] and [CODE] . How do I use these fields to work out the next certificate in the chain? And then once I obtain the next certificate, work out what that next... | The [CODE] in the [CODE] output for the child key will match the [CODE] for the signing key. For example, for this site's SSL cert and its parent certificate: [CODE] [CODE] is what establishes on the child cert what cert signed it, you should be able to use that to find the correct authority certificates. | 9 | 8 | 7,934 | 2014-11-20T23:03:08.320 | infrastructure | serverfault.com | |
208,881 | MySQL slave_open_temp_tables always shows 1 | I have a MySQL database set up for testing xtrabackup. The database is MySQL 5.5.52. It is configured as a slave, however, there is very little in the way of replication (1 query every 10 seconds). During the last test of xtrabackup (last night) it failed to complete due to: [CODE] Looking at the the database now, it i... | I found the way to do this. [CODE] write down [CODE] and [CODE] [CODE] And now it reports [CODE] AS 0. | 0 | 1 | 299 | 2018-06-06T10:00:34.927 | database_errors | dba.stackexchange.com | |
214,635 | PostgreSQL xmloption setting | How long does changing PostgreSQL's xmloption setting to DOCUMENT from its default CONTENT last? It seems to be DB wide, not Cluster wide (any way to set it on a column by column basis?) It seems to be connection specific, which is annoying cause I have a SQL script that needs to have it set to DOCUMENT to pass validat... | it is connection specific, All plain set commands are. (see the set command in sql refernce) You can make the setting persistent using. [CODE] [user|database] name [CODE] ; see the [CODE] command in sql reference Alternatively you can prepare the session or prepend to the stream being sent to psql, you don't need to ed... | 1 | 1 | 156 | 2018-08-10T20:32:03.953 | data_quality | dba.stackexchange.com | |
315,242 | Certain website is not accessible in my server | I cannot access a certain website in my Linux Server. [CODE] It's accessible from anywhere else but my server. I disabled ConfigServer Firewall but the problem still persist. I have no idea how I can investigate the issue and realize why this page is not accessible in my server? I would appreciate any comment. | Is this URL password protected, if so you'll need to pass that info. Does the server have a valid SSL certificate, if not you'll need to use the -k option. Use the -v option to get verbose output Try using wget with the same URL and see if that works. Can you ping that server? Can you traceroute that server? It's possi... | 1 | 2 | 638 | 2011-09-25T06:09:49.980 | infrastructure | serverfault.com | |
151,101 | Add job using tsql related | When using sp_add_jobstep, are there any limits on @command when I choose @subsystem to 'TSQL', say, maybe I can only set @command to some simple, single tsql like: [CODE] Or could it be complicated like this?: [CODE] If not, should I use another @subsystem instead? Or some other methods? I tried to google and stack fo... | It can be as complicated as you want, no issues with that. My own recommendation, for better manageability, if the tsql you are planning to use on the job step is too long, better create a stored procedure. This way you just call the sp from the job step and you do all your modifications there. And on the job itself ju... | 1 | 4 | 50 | 2016-09-30T08:16:46.090 | warehouse_errors | dba.stackexchange.com | |
991,950 | Monit state file version warning | I am running Monit version [CODE] on Ubuntu [CODE] . At times, I see that Monit has logged the following: [CODE] And after this, my services (that are monitored by Monit) restart. What can cause this to happen? Is this just file corruption ? (I have not upgraded or changed Monit version) Let's say that this occurred, i... | You should be able to just delete this file. It is used to store the current state of monit. Documentation states: ~/.monit.state Monit saves its state to this file and utilises information found in this file to recover from a crash. This is a binary file and its content is only of interest to monit. So you'll loose th... | 0 | 1 | 169 | 2019-11-15T07:19:06.770 | data_quality | serverfault.com | |
138,276 | Poor SELECT performance on recheck cond with data and large (millions of rows) partial index | Query: [CODE] Index: [CODE] Plan: [CODE] Schema: [CODE] Data: [CODE] for 99% or records Any posts older than 2 weeks can be ignored (from the count and the index) Database Details: [CODE] As you can see, the partial index is very large. Is there a way to better index so that the recheck condition is not so heavy? | Add the second predicate of your query to the partial index as well: [CODE] Your timestamp is probably a moving target, but I am going to assume you have lots of old rows that are excluded in most of your queries and only few "younger" rows are of interest. A typical use case. You can cut off old rows in your partial i... | 3 | 3 | 1,330 | 2016-05-11T22:02:40.527 | warehouse_errors | dba.stackexchange.com | |
287,767 | When do micro-benchmarks make sense? | I've been researching micro-benchmarks (e.g. using JMH or Caliper , though not necessarily limited to Java). Now, there are many articles which describe how to write a benchmark but I haven't found much on when to write a benchmark (and when not to). There were a few things that go in that direction, e.g. Continuous de... | Micro-Benchmarks can be used in addition to a profiler to find and fix problematic parts of your code. So, you can run a profiler to identify the problematic regions and then test those specific regions with micro-benchmarks. Generally speaking, micro-benchmark frameworks (such as Caliper and JMH) are designed to preve... | 1 | 4 | 577 | 2015-06-24T19:41:02.523 | api_errors | softwareengineering.stackexchange.com | |
525,813 | How to block Bad robots, spiders, crawlers and harvesters | I'm sick and tired of this bad robots, spiders, crawlers and harvesters. I have already configured my server to block IP connected for 5 minutes and with maxretry of 250 using fail2ban. But still some of them cannot be intercept with 250 maxretry as they are not accessing it more than 250 within 5 minutes. Here's my ja... | Maybe, as a first step, limiting the number of connections could help (IPTABLES): (from http://www.extrapepperoni.com/post/2013/03/iptables%3A-connlimit ): [CODE] This will mostly help against DDoS attacks, but might be part of your problem: The first rule allows internal users (from a specific network) to connect with... | 0 | 1 | 2,198 | 2013-07-24T03:29:32.807 | infrastructure | serverfault.com | |
474,565 | Apache2 : 2 VirtualHosts 1 ServerName 2 ServerPath | I'm installing a symfony project on [CODE] And I have a special landing page stored here [CODE] I want my visitors accessing [CODE] to land on my landingpage and the ones accessing [CODE] to land on my symfony project. I created 2 virtualhosts with different [CODE] and the landing page is working but not the symfony pr... | You cannot have two virtual host entries with the same hostname. That simply does not work. Here's what you can do: Change the second virtualhost to have [CODE] Leave everything else as it is in that second virtualhost. In your first virtualhost, you add the following lines: [CODE] Then, when anybody accesses www.mydom... | 0 | 0 | 501 | 2013-02-01T14:57:43.870 | infrastructure | serverfault.com | |
164,293 | SQL Server Express 2005 DB over size but data < 1GB | I have a SQL Express 2005 instance which is not working correctly due to it hitting the 4GB DB size limit. I have looked at the data in the DB and cannot see how this is possible - the data is less than 1GB. I checked with this query: [CODE] The output of this query shows the following table sizes: [CODE] There are mor... | First, check your database for indexed views , they would be missed by your original script (courtesy of Michael J Swart ): [CODE] If that list contains any rows, run the following to see how much space each uses: [CODE] Second, try this script to distinguish between data and index space in each table (a variation of a... | 1 | 2 | 105 | 2017-02-14T15:51:28.707 | database_errors | dba.stackexchange.com | |
160,102 | SSIS File System Task Editor closes unexpectedly | In a package I am developing, I am having an issue using a variable for the destination connection in the File System Task. I have done the following: I dragged a new File System Task to the design surface. I changed the IsDesinationPathVariable parameter to true When I use the drop down arrow to select a variable, the... | I've been having the same issue. I have managed to get around it by manually entering the variable I'm using in the "Destination" property on the Properties window for the File System Task. For instance, "User::DestFileName". | 1 | 1 | 394 | 2017-01-05T19:21:12.280 | database_errors | dba.stackexchange.com | |
922,522 | Using Apache's remoteip module with the HTTP Forwarded header | I'm running Apache behind an Nginx reverse proxy and want to show the original source IPs of the requests in Apache's logs using the [CODE] module. The official standard header for passing that information from Nginx to Apache is [CODE] . However, [CODE] contains additional information aside from the original IP itself... | The [CODE] header is currently not supported by [CODE] . See this ticket in Apache's issue tracker. | 0 | 0 | 757 | 2018-07-18T16:30:56.790 | infrastructure | serverfault.com | |
191,166 | upgrading to newer version of compiler | I had legacy code that was originally build for some quite old version of compiler. We are talking about native code, not managed. Now it is ported to almost newest version of the compiler. Every compile error was fixed and now the product is properly compiling and running. But: although it compiles and even runs... ho... | although it compiles and even runs... how can I be sure is is working as expected? The same way that you made sure the original code was working as expected. By extensively testing it. can I be sure that underlying runtime does not change in a way that it introduces new and unexpected runtime bugs? You can never be 100... | 2 | 9 | 152 | 2013-03-19T15:12:52.093 | api_errors | softwareengineering.stackexchange.com | |
216,617 | Azure Failover Clustering vs On Premise Failover Clustering | Azure AlwaysOn FCI Failover Clustering IaaS VMs seem to have a different diagram compared to On-Premise Failover Clustering. Azure has two storage for 2 Vms; Traditional On-Premise contains 1 Shared storage. (a) Does this mean Azure Failover Clustering not only provides server level protection, but also database level ... | Azure has two storage for 2 Vms; Traditional On-Premise contains 1 Shared storage. Did you read The link you shared in the question, BTW I cannot see the diagram you posted in the question when I referred the link. I will quote from the same link. This article explains how to create a SQL Server Failover Cluster Instan... | 1 | 0 | 853 | 2018-09-04T05:06:30.840 | database_errors | dba.stackexchange.com | |
248,958 | Apache access.log interpretation | In the log file of apache (access.log) I find log entries like the following: [CODE] Whose meaning is clear: The client with IP 10.20.30.40 applied a GET HTTP method on /index.php (that is to say http://mysite.org/index.php ) receiving a status code 404 using Opera as client/browser. What I don't understand is entries ... | Okay, well i can get that exact log message using the following python code [CODE] Which gives me the log entry 192.168.0.28 - - [18/Mar/2011:14:40:40 +0200] "GET http://www.siasatema.com HTTP/1.0" 200 453 "-" "Python-urllib/1.17" Incidently all i get back from this is the contents of my default web page, So, yes somet... | 6 | 6 | 5,703 | 2011-03-18T12:18:29.990 | api_errors | serverfault.com | |
525,370 | How to get rid of ebury malware / trojan on Centos / cpanel | I have a server with cPanel installed on Centos 5.9. Three days ago, my server provider told me I'm infected by "Ebury Trojan". I read a lot of things saying that the openSSH server coming with cPanel may be infeted and how to detect it. Some says that the package using "Yum" may be corrupted as well. So how to remove ... | Original (circa 2011) ebury was pretty lame...You could clear it by doing: yum update sshd. Pretty trivial. If you trust your repo's (and rpm), you can do rpm -vVa and it'll show you every installed rpm where the md5 doesn't match the one stored on the server. Problem is that the attacker can be assumed to have acquire... | 0 | 1 | 4,043 | 2013-07-22T17:38:03.883 | data_quality | serverfault.com | |
69,170 | Optimal hash technique to index large text | Erwin Brandstetter thankfully saved me from myself when I tried to create unique indexes on textual columns with large lengths. The upper limit for the insertion rate is tens of billions of rows per year. For my implementation, the hash never needs to leave the database, but the hashed data must be compared with extern... | [CODE] will be optimal for storing the hash. It'll be transferred in/out of the database as a hex string anyway, unless you use PostgreSQL's binary wire protocol (supported by libpq and partly by PgJDBC) to transfer them. For best results, store as bytea and have the client application use a [CODE] call that requests b... | 7 | 6 | 3,025 | 2014-06-27T01:44:41.620 | warehouse_errors | dba.stackexchange.com | |
304,576 | How to set adequate permissions to a scheduled task for a service controller query? | I'm a programmer, but the problem encountered has stepped beyond the code and into the system administrator realm, at least that is what I think at this time. I will only use one bit of code to show where exactly the problem is encountered and I will also provide the command line alternative to what the code is essenti... | You will need to configure the Task Scheduler to run as a specific user. From within the Task Scheduler click on the Action drop down menu, then select "AT Service Account Configuration". Change this from system account to "Another User Account" then change it to the account which you want the commands to run under. Yo... | 0 | 1 | 3,822 | 2011-08-24T16:12:38.853 | infrastructure | serverfault.com | |
656,261 | How to check if mail ports on leased server are blocked? | I recently switched companies on a dedicated web server and strongly believe that they are blocking ports 25 and 110 . Initially, I thought that it was my active Windows Firewall settings but reviewed them and even turned the firewall off . Next, I checked the open status on a few different online port testing sites an... | By leased server I presume you mean a dedicated server . It's rather odd for a dedicated server provider to block port 110. Some may block outgoing traffic to port 25 to avoid getting their IP ranges blacklisted for spam but blocking port 110 doesn't make much sense to me. If you are referring to incoming traffic I am ... | 0 | 1 | 1,746 | 2015-01-05T02:58:33.460 | infrastructure | serverfault.com | |
184,740 | Cannot delete proxy (7). It is used by at least one jobstep. Change this proxy for all jobsteps first | I have written a script to delete and create a proxy but getting the following error Cannot delete proxy (7). It is used by at least one jobstep. Change this proxy for all jobsteps first. [CODE] | Reference: https://learn.microsoft.com/en-us/sql/relational-databases/system-stored-procedures/sp-delete-proxy-transact-sql Your problem is: If a job step refers to the proxy specified, the proxy cannot be deleted and the stored procedure fails. You should be able to use this query to get the [CODE] . [CODE] Then run t... | 1 | 3 | 1,525 | 2017-08-30T17:37:06.237 | warehouse_errors | dba.stackexchange.com | |
362,886 | Is there evidence that the use of dependency injection improves outcomes in software engineering? | Notwithstanding its popularity, is there any empirical evidence that shows that Dependency Injection (and/or using a DI container) helps with, say, reducing bug counts, improving maintainability, or increasing development velocity on real-life software projects? | TLDR The empirical data is irrelevant. Tools and practices (like DI) solve particular problems. Understand your problems, learn how to use the tools, and it'll become obvious when a tool is valuable -- and you'll be able to explain the outcomes much more prophetically than any generalized, aggregated, empirical data. A... | 18 | 14 | 1,806 | 2017-12-22T23:28:57.807 | pipeline_ops | softwareengineering.stackexchange.com | |
316,865 | Why SQL Server scans all rows when updating bit column even for primary key via linked server | I am using simple update statement for specific primary key for SQL linked server as follow [CODE] The both servers are SQL Server 2019. The table definition is [CODE] The Processed column has bit type. The query is slow due to full table scan. Why is this happening? When I remove the bit column from the statement, eve... | Ideally, you would call a stored procedure on the remote server to make this modification, with the UUID as a parameter. Meantime, try using a variable for the [CODE] constant: [CODE] Or, if your linked server is configured for [CODE] , using [CODE] : [CODE] Plan captured at the remote server: If you need it in a singl... | 9 | 9 | 896 | 2022-09-13T22:04:19.010 | database_errors | dba.stackexchange.com | |
310,348 | In mysql I want to set lower_case_table_names=1 on existing databases to avoid cases-sensitivity issues accross multiple platforms | In mysql I want to set lower_case_table_names=1 on existing databases to avoid cases-sensitivity issues accross multiple platforms. A) [CODE] ( besides show table issue ) B) After setting lower_case_table_names=1, will I be in position to query databases across multiple platforms consistantly ? [CODE] ; C) How the trig... | Our servers were Mysql on Windows and we had to change them to Linux. On the new servers we set lower_case_table_names=1 in my.cnf and then copied the schemas with mysqldump old-server | mysql new-server (I don't remember if we copied the mysql and information_schema schemas too, or only the ones with our data, you sho... | 5 | 1 | 4,107 | 2011-08-16T08:35:27.050 | database_errors | serverfault.com | |
992,567 | New IIS 10 binding not working | I had my live site working with the name: [CODE] and I created a brand new server hosting my test site: [CODE] My new site is finally ready so I changed the DNS entry of mysite.domain.com to point at the new test site. I added a second binding in the new IIS [CODE] Unfortunately this bind doesn't work - the page just l... | Despite nslookup returning the correct IP, rebooting my pc worked. | 0 | 0 | 2,478 | 2019-11-20T11:59:06.687 | api_errors | serverfault.com | |
1,109,880 | How to make PowerShell read from a pipe? | I need to make PowerShell on Windows Server 2019 to read from a (not named) pipe and launch the commands it reads, so I'll be able to launch multiple commands on the same shell, even without knowing them ahead. Normal pipe makes it exit (probably on EOF, didn't see an error), I tried a way I thought would work, but it ... | You could put the logic into a function rather than a while loop. This way you could call the function as-needed to type in the command. You could even put the function into a script, dot source it, and then call the function when you are ready to type in the previously unknown command. PowerShell [CODE] If you put thi... | 1 | 0 | 383 | 2022-09-03T14:21:27.413 | infrastructure | serverfault.com | |
197,229 | OpenVZ file system | OpenVZ file system (simfs) has a limit of files per folder. We reached that limit and we are in trouble... Which is the best approach to this problem? Thank's in advance! | Put your files in sub folders. | 1 | 2 | 1,065 | 2010-11-02T11:07:16.970 | infrastructure | serverfault.com | |
752,247 | Mysql innodb_buffer_pool_size in relation to innodb_buffer_pool_instances | I run a virtual server with an Owncloud installation on it. Now Owncloud has the problem that the way it's developed at the moment, each file upload causes a little MySql overhead. So is very important to tweek the MySql database as good as possible. There many people out in the web who recommend a very large [CODE] up... | innodb_buffer_pool_instances: You cannot see its effect unless [CODE] is few gigs, dividing the buffer pool into separate instances can improve efficiency. This is also a tuning practice for [CODE] so that each buffer pool instance is at least 1GB. eg, If innodb_buffer_pool_size = 4GB then, innodb_buffer_pool_instances... | 3 | 4 | 10,808 | 2016-01-27T22:58:03.097 | database_errors | serverfault.com | |
636,368 | Active Directory Server how to be cautious | My company has provided us laptops. We used to use them normally but suddenly my company has announced they have installed Active directory server. We all have to shift to that server. The requirement is we have to install either Win 8 pro or Win 7 pro. Can anyone tell me what are the disadvantages of shifting to that ... | The domain controller owns that PC once it joins the domain. Admin has 100% full control of every aspect of that machine. He can launch scripts, install software or any form of remote administration. Yes, admin will have access to your nudey files. | -2 | 2 | 47 | 2014-10-12T07:10:16.127 | infrastructure | serverfault.com | |
230,810 | Duplicate results from query trying to find cross-indexed multiple tables | I working with a database of several hundred schemas with 250 tables and thousands of records. PGAdmin III 1.22 as my only tool. A GUI interface to the database is not robustly written and occasionally cross-indexes some entries. I am trying to write a query that shows a list of the cross-indexed items and display thei... | Never mind. I re-wrote it and this seems to work; [CODE] | 0 | 0 | 24 | 2019-02-26T22:08:49.313 | data_quality | dba.stackexchange.com | |
395,006 | How to write protect a directory? | I have some directories and files that looks like this one [CODE] Notice the [CODE] in the permissions. The user [CODE] can not delete this directory. Question How do I set such write protection and how do I undo it? | The [CODE] at the end of the permissions is probably not relevant here. It indicates ACLs and/or SElinux attributes apply. See this question for more details. If the user [CODE] cannot delete this directory it is probably because he does not have write permission on the parent dir of this backup dir. Add write permissi... | 2 | 8 | 3,407 | 2012-06-02T19:03:36.090 | infrastructure | serverfault.com | |
309,204 | Report test failures "all at once", or report them one by one | I am a sole developer working for an organisation that has no testing strategy. I am trying to integrate a crime system developed by a vendor with an external application I developed. The external application allows an end user to send an instruction to the crime system to delete the crime. The crime system was develop... | If company A develops a individual software component for company B, part of the contract is typically that B defines or develops a list of acceptance tests, and B will only pay A if the test do not show any issues. That is perfectly fine. However, if some of the tests fail, B must report them to A, and A gets a chance... | 5 | 8 | 262 | 2016-02-03T21:26:29.137 | database_errors | softwareengineering.stackexchange.com | |
340,670 | Multiple arguments vs a tuple argument | In functional languages without type checking, is there any substantial disadvantage (apart from readability) to limiting all functions to take exactly one argument - that is, replacing multi-argument functions with functions that take a tuple as an argument? (I saw some comments about it being somewhat more difficult ... | There is indeed a fundamental disadvantage to using a tuple, versus having multiple parameters: you lose the ability to use partial applications and currying. Partial function application and currying are central features to functional languages. The fact that all functions are represented as a series of one-parameter ... | 2 | 5 | 3,830 | 2017-01-21T22:35:10.647 | api_errors | softwareengineering.stackexchange.com | |
148,783 | What is the difference between Agile Modeling and the Agile Manifesto? | By searching for the different software development methods I found that there are two AM: Agile Modeling Agile Manifesto The problem is that I can't get the difference between them. If one is a part of another? or an update to the other? | Agile Modeling is : Agile Modeling (AM) is a practice-based methodology for effective modeling and documentation of software-based systems. Simply put, Agile Modeling (AM) is a collection of values, principles, and practices for modeling software that can be applied on a software development project in an effective and... | -2 | 2 | 1,323 | 2012-05-16T00:25:17.977 | api_errors | softwareengineering.stackexchange.com | |
149,014 | Synergy configuration with multiple X screens | I'm having a problem figuring out how to configure synergy to behave on a system with multiple X windows. On my desktop I am running Ubuntu 10.04 LTS. I have two monitors, setup as separate X screens by preference as well as to enable me to rotate the left-hand monitor. I also have a laptop, which I have on the desk in... | I had a similar issue. This worked for me. On Server: Create a synergy screen for each X screen (say L1 and L2). On Client: Run the client twice and each time use --display :0.0 and :0.1 respectively and --name to identify screen to server. For example: [CODE] | 0 | 1 | 3,003 | 2010-06-07T20:04:23.217 | infrastructure | serverfault.com | |
135,073 | Does MariaDB require aliases for subquery table locks? | MySQL suffers from a bug (which they claim is not a bug) that prevents a table lock from working on a sub-query unless you create a table alias for each mention of the table name. See: https://bugs.mysql.com/bug.php?id=31080 They say: "You cannot use a locked table multiple times in a single query. Use aliases instead,... | Really peculiar behaviour, unfortunate this limitation still exists atleast in my version of MariaDB: [CODE] Locking the aliases does not seem to help [CODE] Weird indeed. | 1 | 2 | 425 | 2016-04-12T14:46:32.510 | database_errors | dba.stackexchange.com | |
212,894 | Windows 2008, 2 NICS, routing problem | I've some questions regarding basic routing, can't seem to relate to other questions posted in this site. My architecture: Windows 2008 server with 2 nics in the server. NIC1: IP 10.198.6.xxx, submask 255.255.252.0, gateway 10.198.4.xxx NIC2: IP 192.168.168.xxx, submask 255.255.255, no gateway defined both NICS are jus... | I have nearly same setup on my windows machines, Windows routes it automaticly, did you encounter any kind of problem while reaching other machines ? And if you use "route print" you should see something like [CODE] again, this from my route config out, it should look like simillar, not the same. The 0.0.0.0 route is t... | 1 | 0 | 1,595 | 2010-12-15T15:23:15.757 | hadoop_errors | serverfault.com | |
13,581 | How to use ML to forecast sales of a brand new product | I am working on a forecasting problem and came across this issue. How do I forecast sales of a brand new product? For example, a product has been introduced in the store and the store would like to know how the sales will look like. I figured this would be similar to cold start problem in recommender systems. But still... | You could use Bass or Gamma/Shifted Gompertz method to do that. You could use [CODE] package in [CODE] . Here an example (it is form documentation of the package) : [CODE] The only disadvantage of the methods is that they do not take care of seasonality of the sales of the products. | 2 | 3 | 1,906 | 2016-08-20T20:24:15.910 | data_quality | datascience.stackexchange.com | |
266,049 | RMAN-03009: failure of backup command due to ORA-27038 and OSD-04010: | I'm running below script in a windows server, this is same script I run across all servers [CODE] Control file and SPfile are created successfully, and directory is empty prior backup. Thanks. | You must add unicity variable in the backup format name: backup incremental level 0 format 'F:\DATABASE_BACKUP\%d\%Y-%M-%D\FULL_%d_%T_%t_ %U ' database ; As your backupset is composed of multiple backup pieces, they must have different names. | 0 | 1 | 1,572 | 2020-04-29T03:32:09.843 | database_errors | dba.stackexchange.com | |
166,032 | Locking/transactions in MySQL Stored Procedure | Multiple upstream Kapacitor servers are sending notifications to a load-balanced django app. If all the upstream servers are working correctly, the app will always receive duplicates of these notifications (since all the upstream notifiers should send the same notifications; it's just for redundancy). I want to be able... | Do these with [CODE] , with [CODE] : [CODE] If the [CODE] fails, either there is an entry in the last 10 seconds, or someone else snuck in just now. If you need to know about success, check [CODE] , which is connection-specific and does not need to be in a transaction. No need for [CODE] . No need to pre-compute "now".... | 1 | 1 | 3,351 | 2017-03-02T22:40:07.140 | database_errors | dba.stackexchange.com |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.