Dataset Viewer
Auto-converted to Parquet Duplicate
prompt
stringlengths
107
668
chosen
stringlengths
6
2.5k
rejected
stringclasses
12 values
category
stringclasses
12 values
source_site
stringclasses
7 values
Error: Hundreds of failed ssh logins Details: Every night I get hundreds, sometimes thousands, of failed ssh logins on my RedHat 4 server. For firewall reasons from remote sites, I need to run on the standard port. Is there anything I should be doing to block this. I notice that many come from the same IP address. Sho...
You can use iptables to rate-limit new incoming connections to the SSH port. I'd have to see your entire iptables configuration in order to give you a turnkey solution, but you're basically talking about adding rules like: [CODE] These rules assume that you're accepting ESTABLISHED connections earlier in the table (so ...
There's an issue with your infrastructure. Try checking the logs and documentation.
infrastructure
serverfault.com
Error: Is DRY the enemy of software project management? Details: One of the most basic and widely accepted principles of software development is DRY (don't repeat yourself). It is also clear that most software projects require some kind of management. Now what are the tasks that are easy to manage (estimate, schedule,...
You seem to assume the primary objective of project management is to produce exact estimates. This is not the case. The primary objective of project management is the same as for developers: To deliver value for the product owner. A product using a lot of slow manual processes rather than automation might in theory be ...
There's an issue with your data quality. Try checking the logs and documentation.
data_quality
softwareengineering.stackexchange.com
Error: Hiding/disabling features for some users Details: Lets say I have a free and paid version of the app. Paid version is a superset of the free version regarding features available to users, meaning paid version will have all the features of the free app plus extra. Is there a pattern to toggle feature availabilit...
If you don't like [CODE] blocks, then you can refactor them to use inheritance (see Replace conditional with polymorphism from Marin Fowler's Refactoring book). This would: Make it slightly simpler to reason about your code. Make it possible to have two classes, one for the free version and the other one for paid versi...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
softwareengineering.stackexchange.com
Error: Adding 60TB Storage to an SLES 10 Server Details: I have to add some archive\staging storage to an SLES 10 Server. The requirement is to present fairly large volumes (9-20TB each approx, 60TB or so in total) that will be used to store archive data (literally, this is for a library) comprising large image files ...
At my previous job we had a similar problem. We were doing production for planetariums and each frame was 64 MegaPixels. Lots of large images. These would be processed for each theater in a very aggressive read operation over a cluster of computers. The server in this case had a similar storage setup. Multiple external...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
serverfault.com
Error: The trend of the "develop" branch going away Details: I've noticed something lately looking at some popular projects on GitHub, that there's no [CODE] branch. And in fact, the GitHub Flow guide doesn't mention it either. From my understanding, [CODE] should always be totally stable and reflect production. If de...
It comes from the CI mindset where there is integration several times a day. There are pros and cons of both. On our team we have abandoned the develop branch as well since we felt it provided no additional benefit but a few drawbacks. We have configured our CI software(Teamcity) to compensate for the drawbacks: Enable...
There's an issue with your api errors. Try checking the logs and documentation.
api_errors
softwareengineering.stackexchange.com
Error: swap partition vs file for performance? Details: What is better for performance? A partition closer to the inside of the disk will have slower access times, and we must wait for the drive to switch between the OS and swap partitions. On the other hand, a swap partition bypasses all of the filesystem allowing wr...
On hard disks, throughput and seeking is often faster towards the beginning of the disk, because that data is stored closer to the outer area of the disk, which has more sectors per cylinder. Thus, creating the swap at the beginning of the disk might improve performance. For a 2.6 Linux kernel, there is no performance ...
There's an issue with your infrastructure. Try checking the logs and documentation.
infrastructure
serverfault.com
Error: Simple issue tracker for 1-2 developers Details: I'm currently working mostly alone on a project (in Java). I'm mostly alone as I have an advisor that gives me high level instructions on what to do, and will seldom make any code contribution. She will code in a couple of acceptance tests from time to time, thou...
For small projects, I've become a big fan of Trello . It has such a low barrier to entry, and such high usability, I would use it for any smaller projects. If you want something a bit more complicated-looking and feature-complete, I'd second the suggestions of FogBugz or Bugzilla. Edit to provide more "explanation and ...
There's an issue with your data quality. Try checking the logs and documentation.
data_quality
softwareengineering.stackexchange.com
Error: Why is there no 'finally' construct in C++? Details: Exception handling in C++ is limited to try/throw/catch. Unlike Object Pascal, Java, C# and Python, even in C++ 11, the [CODE] construct has not been implemented. I have seen an awful lot of C++ literature discussing "exception safe code". Lippman writes that...
It's really just a matter of understanding the philosophy and idioms of C++. Take your example of an operation that opens a database connection on a persistent class and has to make sure that it closes that connection if an exception is thrown. This is a matter of exception safety and applies to any language with excep...
There's an issue with your database errors. Try checking the logs and documentation.
database_errors
softwareengineering.stackexchange.com
Error: Remove comments once they have been addressed by editing the question? Details: I sometimes leave a comment to point out a small mistake in a question. Should I delete my comment once the questioner has edited the question to fix the mistake? After all, my comment will not make sense to new readers.
Probably, yes, at least that's what I usually do (and has been what others generally do on the other stack sites)
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: What is a “transition table" in Postgres? Details: The page describing what's new in Postgres 10 mentions “Transition Tables for Triggers”. Transition Tables for Triggers This feature makes [CODE] triggers both useful and performant by exposing, as appropriate, the old and new rows to queries. Before this featu...
You know how there are [CODE] and [CODE] record-variables for [CODE] triggers? Transition tables are the [CODE] equivalents. They're tables with the old and new tuples, so your triggers can see what changed.
There's an issue with your warehouse errors. Try checking the logs and documentation.
warehouse_errors
dba.stackexchange.com
Error: What is the best Big-Data framework for stream processing? Details: I found that Apache-Storm, Apache-Spark, Apache-Flink and TIBCO StreamBase are some powerful frameworks for stream processing. but I don't know which one of them has the best performance and capabilities. I know Apache-Spark and Apache-Flink ar...
It really depends on what you are looking to do. I love Apache Spark, but Storm has some history. I am sure as the streaming capability in Spark is built out that it will become a competitive solution. However, until Spark has some heavy hitting users (for streaming) there will remain unknown bugs. You can also conside...
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
datascience.stackexchange.com
Error: Tricky logic puzzles - Are they really useful in assessing programming skills? Details: In the last interview I attended, I was asked to solve a puzzle where I was expected to measure exactly blah liters of water given two buckets with capacities - blah and blah liters respectively. I was unable to solve the pu...
Microsoft began using these questions in the early 1980s. As Microsoft became notably successful, other companies began to copy them, but a couple of key points got lost in translation. At the time, Microsoft was trying to fill a lot of technical but non-programming positions: technical writers, testers, phone support,...
There's an issue with your data quality. Try checking the logs and documentation.
data_quality
softwareengineering.stackexchange.com
Error: Using machine learning to aim mirrors in a solar array? Details: I've been thinking about solar collectors where several independent mirrors to focus the light on a solar collector, similar to the following design from Energy Innovations. Because there will be flaws in the assembly of this solar array, I am pro...
Sun paths can be predicted , so I imagine you can get the mirror aligned pretty closely already if you know the time of day, the day of the year, and the latitude and longitude. You don't need machine learning for this. If you have mirrors that don't know which way they're pointed (i.e. you can't correlate their positi...
There's an issue with your airflow errors. Try checking the logs and documentation.
airflow_errors
softwareengineering.stackexchange.com
Error: Stable public IP or IP range for outbound connections in GKE Details: I use Google Kubernetes Engine to run on demand pods. Each pod is publicly exposed to the internet using a nodeport service. I am looking for a way in GKE to get a single IP or an IP range for outbound connections, to give them to third party...
Google Cloud now provides a managed NAT Gateway service - Cloud NAT . This gateway can be used with a GKE cluster, which provides a stable public egress IP to all the pods inside it, which enables them to be whitelisted by third party service providers. The example implementation for using Cloud NAT with GKE is provide...
There's an issue with your pipeline ops. Try checking the logs and documentation.
pipeline_ops
serverfault.com
Error: Access (Jet) SQL: DateTime stamps in TableB flanking each DateTime stamp in TableA Details: First Words You can safely ignore the sections below (and including) JOINs: Starting Off if you just want to take a crack of the code. The background and results just serve as context. Please look at the edit history bef...
I must first compliment you on your courage to do something like this with an Access DB, which from my experience is very difficult to do anything SQL-like. Anyways, on to the review. First join Your [CODE] field selections might benefit from using a Switch statement instead. It seems to be sometimes the case, especial...
There's an issue with your warehouse errors. Try checking the logs and documentation.
warehouse_errors
dba.stackexchange.com
Error: What is the meaning of "deassert" in this context? Details: The English majors over at Dell provided me with this error message provided by a PowerEdge 2950. CPU2 Status: Processor sensors for CPU2, IERR was deasserted I've Googled it, random forum posts aren't providing me with a clear answer. It's also appare...
My best translation would be 'Stopped signaling'. Say I have an alarm button. I can push this button to send a signal. Then I release the button to stop sending that signal. Replace 'push' with 'assert' and 'release' with 'de-assert' and you get the meaning.
There's an issue with your airflow errors. Try checking the logs and documentation.
airflow_errors
serverfault.com
Error: How can I find a good open source project to join? Details: I just started working a year ago, and I want to join an open source project for the same reasons as anyone else: help create something useful and develop my skills further. My problem is, I don't know how to find a project where I'll fit in. How can I...
My first open source contribution was for a library that I had previously used (and would've suffered greatly without) on a previous paid project. During my initial use I had spotted a bug in the code so I created a patch, joined the project, and submitted it for review. About 8 months later when I had some free time I...
There's an issue with your api errors. Try checking the logs and documentation.
api_errors
softwareengineering.stackexchange.com
Error: Setting up Hosted Exchange, Where to install Unified Messaging? Details: I am working on setting up a hosted Exchange 2010 environment which will consist of: EdgeServer, Client Access Server/Hub Transport Server, Mail Server, and then our DAG. All of which will be added to/expanded as necessary according to gro...
Microsoft recommends installing Unified Messaging on its own server. This isn't required, but UM can suck up resources pretty well. It also isn't supported in a virtualized setup. This is exactly what they say about virtualizing UM: All Exchange 2010 server roles, except for the Unified Messaging server role, are suppo...
There's an issue with your airflow errors. Try checking the logs and documentation.
airflow_errors
serverfault.com
Error: PowerShell DSC copy from network share Details: I am trying to use PowerShell DSC to copy folder contents from a network share. Here is the code: [CODE] This doesn't work however - when I run it I get the following error message: [CODE] I get similar results when trying to install a package from a network share...
The DSC Local Configuration Manager runs as the local SYSTEM account, not your user account. It therefore won't be able to access network resources unless it is given explicit permissions. There are two possible situations. Either the share is on the same machine as the DSC configuration is being applied to (let's call...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
serverfault.com
Error: Best practice or design patterns for retrieval of data for reporting and dashboards in a domain-rich application Details: First, I want to say this seems to be a neglected question/area, so if this question needs improvement, help me make this a great question that can benefit others! I'm looking for advice and...
It's 4 years later and I just found this question again, and I have what is, to me, the answer. Depending on your application and it's specific needs, your domain/transaction database and your reporting can be separate "systems" or "engines", or they can be serviced by one system. They should, however, be logically sep...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
softwareengineering.stackexchange.com
Error: How to avoid triggering google captcha while browsing in a selenium-driven browser? Details: Preface: my goal is not to solve captcha using automation tools, but to attempt to understand why a browser that is being launched by selenium is being identified as a bot in the first place, and how selenium contribute...
By definition, resolving a CAPTCHA cannot be automated: Otherwise it could not tell computers and humans apart and hence fails being a CAPTCHA. How to handle a CAPTCHA in a test environment: Use a service like http://www.deathbycaptcha.com which has an API to return the text of the CAPTCHA for you. Average response is ...
There's an issue with your data quality. Try checking the logs and documentation.
data_quality
sqa.stackexchange.com
Error: Install openssl-dev on Ubuntu server Details: In order to compile NGinx in need to install [CODE] and [CODE] (I'am following a book guide). So i'am doing this : [CODE] But i get an error telling me that it's impossible to find [CODE] . Also after some googling, it seems that [CODE] is equal to [CODE] , is that ...
If the likelihood that the dependencies for the version of a package that is in the release of Ubuntu (or other Debian derived arrangements) is the same as the deps for the version you are trying to build, you could run [CODE] or [CODE] - this will not install the nginx package but will instead install all those listed...
There's an issue with your infrastructure. Try checking the logs and documentation.
infrastructure
serverfault.com
Error: Whats the difference between staging and UAT environments? Details: I know we should have at least 3 different environments while developing a solution: Development : The programmers are free to change and push changes any time in order to quickly test their code and integrate with other changes, without the fe...
The difference is the data. A UAT environment is set up for "user acceptance" of new functionality. In order to test that functionality, QA or stakeholders may set up user profiles a particular way in order to exercise particular features, or may set up mock products or configurations to check them all out. A staging e...
There's an issue with your pipeline ops. Try checking the logs and documentation.
pipeline_ops
softwareengineering.stackexchange.com
Error: Learning Django by example Details: When I first started learning Android, I found a fantastic series of YouTube videos by Marakana that stepped through building a Twitter clone. It walked me through all the steps and thus explained to me the basics, common libraries, best practices, resources, etc. Looking ove...
It is a good idea to work through the official Django tutorials at djangoproject.com. These are written by some of the core developers and raise important issues regarding Python/Django/DB versions and syntax evolution. But, yes, the Polls app created in the process is rudimentary, so here are my recommendations to use...
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
softwareengineering.stackexchange.com
Error: Database design of Room Booking system in a Hotel Details: Intro and System Description I am currently designing a Database for a Room Booking system in a Hotel. Client fills a Form / Request with following information about Room : amount of people in room rating of a room check in and check out date Administra...
Without knowing exact and whole requirements we cannot design a complete data model. Let us assume the following business rules, it is based on your question. Each Customer can request for one or more Room. Each Room can be requested by one Customer Each Admin can assign one or many Room. Each Room must be assigned by ...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
dba.stackexchange.com
Error: Is furniture assembly off topic? Details: We've seen a few furniture assembly questions lately that are in a gray area for me. I'm incline to close them, but want to be sure that the community agrees. Two examples: IKEA table problem Assembling the springs in a double-bed From the prior question about furniture...
Furniture assembly is not really DIY, so these questions are off topic.
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: Strategy for generating unique and secure identifiers for use in a "sometimes offline" web app Details: I have a web based project that allows users to work both online and offline and I'm looking for a way to generate unique ids for records on the client side. I'd like an approach that works while a user is of...
Your approach will work. A lot of document management systems use this type of approach. One thing to consider is that you don't need to use both the user uuid and the random item id as part of the string. You can instead hash the concatination of both. This will give you a shorter identifier, and possibly some other b...
There's an issue with your data quality. Try checking the logs and documentation.
data_quality
softwareengineering.stackexchange.com
Error: rm on a directory with millions of files Details: Background: physical server, about two years old, 7200-RPM SATA drives connected to a 3Ware RAID card, ext3 FS mounted noatime and data=ordered, not under crazy load, kernel 2.6.18-92.1.22.el5, uptime 545 days. Directory doesn't contain any subdirectories, just ...
The [CODE] mount option deserves to be tried, in order to prevent journaling of the file system. This should be done only during the deletion time, there is a risk however if the server is being shutdown or rebooted during the delete operation. According to this page , Some applications show very significant speed impr...
There's an issue with your infrastructure. Try checking the logs and documentation.
infrastructure
serverfault.com
Error: pg_restore into a new database Details: I'm using Heroku's Postgres option and have a backup I downloaded from it. I'd like to restore it into a fresh database so I can look at it. I've been trying different commands to little avail. My first try: [CODE] So I try: [CODE] I don't really understand the [CODE] opt...
So, the answer: Create a new database. [CODE] Connect to a different database and run this command. [CODE] Alter the name of the database from the one dumped to the one created above. [CODE] Run whatever scripts needed to set up users and the like.
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
dba.stackexchange.com
Error: Should one check for null if he does not expect null? Details: Last week, we had a heated argument about handling nulls in our application's service layer. The question is in the .NET context, but it will be the same in Java and many other technologies. The question was: should you always check for nulls and ma...
The question is not so much whether you should check for [CODE] or let the runtime throw an exception; it is how you should respond to such an unexpected situation. Your options, then, are: Throw a generic exception ( [CODE] ) and let it bubble up; if you don't do the [CODE] check yourself, this is what happens automat...
There's an issue with your api errors. Try checking the logs and documentation.
api_errors
softwareengineering.stackexchange.com
Error: How can I fully log all bash scripts actions? Details: From my script output I want to capture ALL the logs data with error messages and redirect them all to log file. I have script like below: [CODE] I want to see all actions in file [CODE] But I only see this what I put after [CODE] command. How to check in l...
I generally put something similar to the following at the beginning of every script (especially if it'll run as a daemon): [CODE] Explanation: [CODE] Saves file descriptors so they can be restored to whatever they were before redirection or used themselves to output to whatever they were before the following redirect. ...
There's an issue with your infrastructure. Try checking the logs and documentation.
infrastructure
serverfault.com
Error: Keycloak blank page behind nginx reverse proxy Details: After unpacking and starting keycloak to listen on 127.0.0.1, I configured nginx to work as a reverse proxy accessible from a publicly available domain via https. This is the nginx configuration: [CODE] Nothing has been changed at any file inside the keycl...
Your Nginx configuration looks fine. I recently had the same issue as you had and had more or less the same Nginx configuration. The only thing I still needed to do is to update the standalone configuration file in the KeyCloak folder. You can find this file at [CODE] . Here you will have to look for the following (+- ...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
serverfault.com
Error: How to disable AAAA lookups? Details: ... to compensate for broken DNS servers that are outside our control. Our problem: We deploy embedded devices that collect sensor data at various, mostly IPv4-only sites. Some sites have poorly maintained networks, e.g. misconfigured or otherwise broken DNS caches and/or f...
Stop using [CODE] . You should be using [CODE] instead, and should have been for years now. The man page even warns you of this. The gethostbyname*(), gethostbyaddr*(), herror(), and hstrerror() functions are obsolete. Applications should use getaddrinfo(3), getnameinfo(3), and gai_strerror(3) instead. Here is a quick ...
There's an issue with your airflow errors. Try checking the logs and documentation.
airflow_errors
serverfault.com
Error: What does * * * * * (five asterisks) in a cron file mean? Details: The first noncomment line in a legacy crontab file begins with five asterisks: [CODE] The authors are gone, so I do not know their intent . What does all-wildcards mean to (Solaris 8) cron? The betting here is either run once, run continuously, ...
Every minute of every day of every week of every month, that command runs. [CODE] has the documentation of this. If you just type [CODE] , you get the documentation for the crontab command . What you want is section 5 of the manual pages which covers system configuration files including the [CODE] file. For future refe...
There's an issue with your data quality. Try checking the logs and documentation.
data_quality
serverfault.com
Error: Trouble with Google Apps Custom Domain SSL Details: I'm currently inside the 30-day free trial for Google Apps for business (billing set up, so will start non-free trial soon). I'm attempting to set up SSL for a custom domain for a Google App Engine app, but am a bit of a noob at this stuff and the files I've a...
This was answered by a friendly member of the community and then immediately deleted (not sure why...) but not before I spotted his answer and used it, to great effect :) [CODE] The above two commands produce private.pem and public.pem, which are accepted fine by Google Apps dashboard. Thankyou!
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
serverfault.com
Error: How to deal with version control of large amounts of (binary) data Details: I am a PhD student of Geophysics and work with large amounts of image data (hundreds of GB, tens of thousands of files). I know [CODE] and [CODE] fairly well and come to value a project history, combined with the ability to easily work ...
What I am ending up using is a sort of hybrid solution: backup of the raw data git of the workflow manual snapshots of workflow + processed data, that are of relevance, e.g.: standard preprocessing really time-consuming for publication I believe it is seldom sensible to have a full revision history of large amount of b...
There's an issue with your database errors. Try checking the logs and documentation.
database_errors
datascience.stackexchange.com
Error: SSRS 2008 - How to Total values from an expression Details: I'm trying to figure out how to total values from a calculated field. In the example below, I have the following expression: [CODE] Now I want to provide a total, but it doesn't show up on the report. Is there something I'm missing?
You actually just put a SUM around the outside: [CODE] It will evaluate that row by row and will provide the correct sum.
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
dba.stackexchange.com
Error: Will kerberos work with CNAMEs if I have the SPN created for the A record as well? Details: We are currently setting up a SQL 2012 environment and it will be used for storing data that will be accessed by SSRS in sharepoint integrated mode. We will be using Kerberos for authentication. Something we would like t...
At first I wanted badly to say no you can't do that, but on second thought, go for it. "“You must register the Kerberos service principal names (SPNs), the host name, and the fully-qualified domain name (FQDN) for all the new DNS alias (CNAME) records. If you do not do this, a Kerberos ticket request for a DNS alias (C...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
serverfault.com
Error: Is there a reason to use extremely abbreviated table names? Details: We're using a database setup from a vendor's application that has horrifically hard to read database table names, and no documentation on what is stored where. I can see why one might want to obfuscate their table structure in a proprietary ap...
Oracle has had a long standing limit on table names of 30 characters. I suspect this is a legacy issue based off an original 16 bit environment. The length of a table name could have some minuscule effect on performance as all the names have to be stored in a data dictionary and also parsed for queries but I don't thin...
There's an issue with your warehouse errors. Try checking the logs and documentation.
warehouse_errors
dba.stackexchange.com
Error: Should I delete/close this question and re-post? Details: In the following question I ask how to wire a switch/outlet combo. This is the question: Switch/outlet combo with constant power in outlet? ? I guess the problem with the question was that it wasn't clear initially, and the answers that I received, even ...
Recreating a question to get attention is frowned upon, and often results in the new question getting down voted and closed as a duplicate. Instead, to get attention to an existing question, the suggested method is to open a bounty . If there are existing answers on the question that don't answer the question you've as...
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: Can no longer access my Azure subscription after client adds me as admin to their account Details: My client recently tried to add me as an Admin on their Azure account using the following steps: Go to portal.azure.com Search for subscriptions and select the subscription you want to give access to. On the left-...
There are two issues here. First, to access your old subs you need to switch the tenant you are looking at in the portal, currently you are looking at the clients tenant, which does not have your subs. Click on the "directory and subscriptions" menu in the top right and select your tenant. You should then see your subs...
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
serverfault.com
Error: Difference between `curl -I` and `curl -X HEAD` Details: I was watching the funny server type from http://www.reddit.com with [CODE] when I guessed that [CODE] would do the same. But, in fact, it doesn't. I'm curious about why. This is what I observe running the two commands: [CODE] : works as expected, outputs...
It seems the difference has to do with the [CODE] header and how it is treated by both commands. But before going into that, [CODE] does not give any output because, by default, [CODE] does not print headers if switch [CODE] is not provided (not needed on [CODE] though). In any case, [CODE] is the proper way to fetch t...
There's an issue with your infrastructure. Try checking the logs and documentation.
infrastructure
serverfault.com
Error: Select telemetry data based on relational data in PostgreSQL/TimescaleDB Details: I'm trying to solve a particularly difficult problem. I am storing some telemetry data from some sensors in an SQL table (PostgreSQL) and I want to know how I can I write a query that will group the telemetry data using relational...
Tested in dbfiddle.uk : [CODE] And a bit simpler answer if we only require the MIN/MAX of the readings, not the first/last (or as the OP says we know that they always coincide): https://dbfiddle.uk/hbIcLpNn
There's an issue with your airflow errors. Try checking the logs and documentation.
airflow_errors
dba.stackexchange.com
Error: How to let users share custom code content under the mobile app store restrictions? Details: Situation Mobile application store owners are known to explicitly forbid some application extensibility scenarios. Apple: 2.7 Apps that download code in any way or form will be rejected 2.8 Apps that install or launch o...
For iOS apps, in their Developer agreement, Apple states an exception to rule 2.7 for interpreting downloaded code, if that code is Javascript, executed using public UIWebView or WebKit APIs (which can be a sub-component of a native iOS app), and which does not change the basic functionality of the app as per the app's...
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
softwareengineering.stackexchange.com
Error: Justify NOT using (nolock) hint in every query Details: Have you ever had to justify NOT using a query hint? I am seeing [CODE] in every single query that hits a very busy server. It is to the point that the developers think it should just be on by default because they hate seeing it in their code thousands of ...
You pick your battles and battles like this can't be easily won. We have a system where every DML is hinted with the ROWLOCK hint (irrespective of modifying one row or several thousand rows). I showed several examples why it really hurts performance but as the system is already working, there is resistance to change. N...
There's an issue with your warehouse errors. Try checking the logs and documentation.
warehouse_errors
dba.stackexchange.com
Error: Improve UPDATE performance on big table Details: I'm using Postgres 9.5 on Amazon RDS (2vCPU, 8 GB RAM). I use pganalyze to monitor my performance. I have around 200K records in the database. In my Dashboard I see the following queries are taking 28 and 11 seconds in average to execute: [CODE] I already tried [...
Assuming the column [CODE] is supposed to be [CODE] , this table definition should save some space and help performance: [CODE] The most important feature here is the [CODE] constraint, which is implemented with a unique index , and an index is what you need more than anything else (like @ypercube already commented ). ...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
dba.stackexchange.com
Error: Does SQL Server read all of a COALESCE function even if the first argument is not NULL? Details: I'm using a T-SQL [CODE] function where the first argument will not be null on about 95% of the times it is ran. If the first argument is [CODE] , the second argument is quite a lengthy process: [CODE] If, for examp...
Nope . Here's a simple test: [CODE] If the second condition is evaluated, an exception is thrown for divide-by-zero. Per the MSDN Documentation this is related to how [CODE] is viewed by the interpreter - it's just an easy way to write a [CODE] statement. [CODE] is well known to be one of the only functions in SQL Serv...
There's an issue with your database errors. Try checking the logs and documentation.
database_errors
dba.stackexchange.com
Error: TSQL: Find Queries causing too many SQL Compilations and SQL ReCompilations seperately Details: I want to find out what is causing the high SQL Compilations (not re-compilations) I am seeing in performance monitor counters. Here is my take on it: If I am seeing a lot of SQl compilations, then it means that the ...
I don't think you can find this by an easy way but it is possible anyway to get through this. Profiler offers many event class types that can be used in analyzing the performance of a query. Start a new Profiler session and check following events: [CODE] Check to Show all columns and select each one of the columns unde...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
dba.stackexchange.com
Error: Vandalism of good answers due to migration from related SE Details: A user seems to object to their (sometimes highly rated and accepted) answers on questions that were migrated to DIY from EE years ago (2016-2018), and is vandalizing these answers (editing them to just read a statement). The user has already r...
If a user does not wish to have a post associated with them, they can request dissociation . If a user disagrees with migration, they can flag in the specific case for a moderator to reverse it, or begin a discussion on the local meta site to discuss it generally. However, they should realistically expect this to gener...
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: Should Latin-1 be used over UTF-8 when it comes to database configuration? Details: We are using MySQL at the company I work for, and we build both client-facing and internal applications using Ruby on Rails. When I started working here, I ran into a problem what I had never encountered before; the database on ...
Unicode is certainly difficult, and the UTF-8 encoding has a couple of inconvenient properties. However, UTF-8 has become the de-facto standard encoding on the web, surpassing ASCII, Latin-1, UCS-2 and UTF-16. Just use UTF-8 everywhere . The most important reason why you should support Unicode is that you shouldn't mak...
There's an issue with your database errors. Try checking the logs and documentation.
database_errors
softwareengineering.stackexchange.com
Error: Nearest neighbors search for very high dimensional data Details: I have a big sparse matrix of users and items they like (in the order of 1M users and 100K items, with a very low level of sparsity). I'm exploring ways in which I could perform kNN search on it. Given the size of my dataset and some initial tests...
I hope that the following resources might get you additional ideas toward solving the problem: 1) Research paper "Efficient K-Nearest Neighbor Join Algorithms for High Dimensional Sparse Data" : http://arxiv.org/abs/1011.2807 2) Class project paper "Recommendation System Based on Collaborative Filtering" (Stanford Univ...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
datascience.stackexchange.com
Error: Is there an issue with SE showing embedded pictures? Details: I've noticed today that several images are not being embedded in the post as they should, instead they're showing up only as links. For example this one . I tried to edit it to get it to embed the image, as that's much easier to see, but even copying...
It seems that it may be related to Couldflare nonsense. I clicked on a link and got this message: I clicked the checkbox, then clicked on random images (fortunately it seems that I don't have to click on the 'airplane' or 'car' pictures as requested, just any clicks will do), then it let me see the image on imgur. When...
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: IMAP connections from Microsoft IP addresses when using Outlook Details: I run a Linux based mail server and use Dovecot to provide IMAP over TLS access. This server has been up and running for a bit more than 8 years now and it serves my email address along with those of my clients. As this is one of my busine...
We've seen the same type of connections from users of the Outlook Mobile App. I can't see how this would be compliant if you are in an environment that requires you to control the flow of data. If you are just concerned about the security of Azure servers I would venture a guess that they are technically secure since i...
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
serverfault.com
Error: Spark-Cassandra-Connector Issue Exception in thread "main" java.lang.NoClassDefFoundError: com/datastax/spark/connector/rdd/reader/RowReaderFactory Details: What is going wrong with the Spark Cassandra Connector could you please help to solve this? Scala File: [CODE] SBT file looks like: [CODE] Commands to exec...
This question is more for StackOverflow, but I'll answer here. The main reason is that [CODE] just compiles your code, but don't put dependencies into resulting Jar file. either you need to start [CODE] with [CODE] , or you can do [CODE] , but in this case [CODE] needs to be declared as [CODE] . See documentation for S...
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
serverfault.com
Error: Index Seek vs Index Scan Details: Looking at an execution plan of a slow running query and I noticed that some of the nodes are index seek and some of them are index scan. What is the difference between and index seek and an index scan? Which performs better? How does SQL choose one over the other? I realise th...
Short version: seek is much better Less short version: seek is generally much better, but a great many seeks (caused by bad query design with nasty correlated sub-queries for instance, or because you are making many queries in a cursor operation or other loop) can be worse than a scan, especially if your query may end ...
There's an issue with your database errors. Try checking the logs and documentation.
database_errors
dba.stackexchange.com
Error: When to close for product recommendations Details: I do a lot of closures on the main Stack Overflow site so I've seen more than a few recommendation requests. While DIY is a different subject set, I've been increasingly baffled by people wanting to close questions for product recommendations for what is arguab...
Questions on the site should be of the form How do I solve this problem? with sufficient detail about the problem of course. Then the answer is how to solve that problem, be it Do this procedure or Buy this product etc. This should be the same across the network, the only problem being that on some sites people abuse t...
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: Project is nearly done, but procedural spaghetti code. Do I rewrite or just keep trying to ship it? Details: I'm a beginner web developer (one year of experience). A couple of weeks after graduating, I got offered a job to build a web application for a company whose owner is not much of a tech guy. He recruited...
You have stumbled on the achilles heel of most CS educations: they teach you the tools and techniques, but not the trade. Building software is a craft, one which you only acquire through years of practice and the experience of having your software used (users are much harsher critics than teachers). Building software i...
There's an issue with your api errors. Try checking the logs and documentation.
api_errors
softwareengineering.stackexchange.com
Error: Over the last few days, I've been seeing very old posts with 1,000s or more views suddenly show up on recent questions. Why? Bug in SE? Details: Recently I've seen questions that are quite old (1-5 years) suddenly appear on DIY recent questions. I don't seem to be able to close them as "late answers" , maybe I ...
The example you provided had a recently added answer that didn't wasn't actually an answer. Any new answer, or edit to an existing question or answer, will bump the question if you sort by active posts. People do that from time to time, particularly new users that don't read how the site works. Since the answer didn't ...
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: Table partitioning for archiving data Details: Scenario: two databases: DB_A and DB_Archive with one very big table called tableA. every day, records older than 60 days are deleted from DB_A and moved to DB_Archive mainly to leave thing "separated" because tableA is heavily queried on DB_A for records of the pa...
With partitioning you would have to do a partition per day, which puts the Pre-SQL 2012 limit of 1000 paritions in a new perspective as it would only allow for 3 years archive. With SQL Server 2012 you get 15000 partitions which is plenty for 1 partition per day. Every day you would add a new partition. If you want to ...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
dba.stackexchange.com
Error: Server and Network Dashboard Details: We have a Network Operations Center with a dozen large, widescreen displays showing us various performance graphs, server and network equipment alarms, and status pages. I lot of the pages were obviously not designed for viewing on a static display. Does anyone have a simil...
Computers are far better than I at analyzing data. I personally prefer systems like OpsView that digest situations and offer a multifaceted interface. Monitoring stats are filtered for abnormal conditions, and individual alerts are delivered to admins responsible for the system. There's an overall health dashboard that...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
serverfault.com
Error: Nagios: How to aggregate a large amount of notifications into one email notifcation? Details: I have a Nagios server which monitors many servers. There's a dashboard which has been coded in-house and it sends monitoring data using passive checks to the Nagios server. Whenever an issue occurs, the NOC team is be...
Flapjack is designed to help with this. I'm pretty sure that Etsy's Nagios Herald address this issue. I'm told that what you want instead is the check_check.rb within the ruby-nagios gem . (H/T Ryan Franz)
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
serverfault.com
Error: dpkg-reconfigure: unable to re-open stdin: No file or directory Details: I am building a provisioning script for a [CODE] , on a [CODE] , both [CODE] When installing the following packages: [CODE] I get the warning: [CODE] have tried searching but results are throwing up every other error with apt-get possible,...
The answer was to set the [CODE] 's as per this : [CODE] This solves the issue, but does add unwanted time to the [CODE] provisioning.
There's an issue with your infrastructure. Try checking the logs and documentation.
infrastructure
serverfault.com
Error: Why is rsync skipping the main directory? Details: I'm trying to use rync locally (on a windows machine) to a remote server (my osx box) in order to test a remote deploy build script. I've done rsync before just fine between 2 linux servers, but I'm having problems now. Here is the output: [CODE] or [CODE] remo...
[CODE] You didn't give it any options to put it into recursive mode like [CODE] or [CODE] . remote app1 directory is empty while local export directory has 4 sub directories and then a bunch of files in each of those Do you have the options backwards here? The command should be [CODE] . If the app1 directory is empty a...
There's an issue with your infrastructure. Try checking the logs and documentation.
infrastructure
serverfault.com
Error: Challenges of using AWS Lambda chain Details: Context: I have a pipeline of 6 lambda functions (chained together), triggered by an SNS notification which is generated whenever a file lands on S3. This pipeline essentially takes the file(few GBs), filters it (Spark cluster is created to run the job, then deleted...
I am using lambda in response to objects appearing on S3 buckets. For me in my particular use case, there are around 600 triggers a day. I have written our lambda functions to use their stdout as their log file, writing all key events to standard out in a semi-structured textual sentence mixed with key/value pairs for ...
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
devops.stackexchange.com
Error: Why should passwords be encrypted if they are being stored in a secure database? Details: I have a web service. Right now, I have passwords stored in plain text in a MySQL table on my server. I know this isn't the best practice, and that is why I am working on it. Why should passwords be encrypted if they are b...
First up, you should be more free with read-only access rights than read-write. It might be possible that a hacker has access to your data but isn't able to edit it. But, much more importantly, this is not about you. The fact that you might be screwed if someone has full access to your database is irrelevant. Much more...
There's an issue with your database errors. Try checking the logs and documentation.
database_errors
softwareengineering.stackexchange.com
Error: If I need to use a piece of memory throughout the lifespan of my program, is it really necessary to free it right before program termination? Details: In many books and tutorials, I've heard the practice of memory management stressed and felt that some mysterious and terrible things would happen if I didn't fre...
If I need to use a piece of memory throughout the lifespan of my program, is it really necessary to free it right before program termination? It is not mandatory, but it can have benefits (as well as some drawbacks). If the program allocates memory once during its execution time, and would otherwise never release it un...
There's an issue with your data quality. Try checking the logs and documentation.
data_quality
softwareengineering.stackexchange.com
Error: Help define Bill Of Materials blog contest rules Details: After posting this question Help define the bill of materials for a blog contest , it was apparent that the challenge needed to be further defined. So what should the challenge actually be? A free for all gizmo build, a MacGyver style hack-n-fix, or some...
Here's the problems we've hit on so far: If it's a build free-for-all then it's difficult to create a list of materials. Anything goes, but somehow include things to build something useful, without knowing what it is? Then once the contest starts, unless you had a project in mind, it may be difficult to get an inspirat...
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: Leaving intentional bugs in code for testers to find Details: We don't do this at our firm, but one of my friends says that his project manager asked every developer to add intentional bugs just before the product goes to QA. This is how it works: Just before the product goes to QA, the development team adds so...
This sounds absolutely ridiculous. It is expending a great deal of effort for very questionable benefit, and the practice seems based on some faulty premises: That QA won't work hard unless they know they are being tested every day (which cannot be good for morale) That there are not enough unintentionally introduced b...
There's an issue with your database errors. Try checking the logs and documentation.
database_errors
softwareengineering.stackexchange.com
Error: Apache's htcacheclean doesn't scale: How to tame a huge Apache disk_cache? Details: We have an Apache setup with a huge disk_cache (>500.000 entries, >50 GB disk space used). The cache grows by 16 GB every day. My problem is that the cache seems to be growing nearly as fast as it's possible to remove files and ...
through my recent investigations, triggered by similar travails with htcacheclean, i have concluded that the main problem with cleaning large or deep caches, especially those that involve Vary headers, is an issue with the design of the utility itself. based on poking around in the source code, and watching the output ...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
serverfault.com
Error: Do Convolution Layers in a CNN Treat the Previous Layer Outputs as Channels? Details: Lets say you have a max pooling layer that gives 10 downsampled feature maps. Do you stack those feature maps, treat them as channels and convolve that 'single image' of depth 10 with a 3d kernel of depth 10? That is how I hav...
Lets say you have a max pooling layer that gives 10 downsampled feature maps. Do you stack those feature maps, treat them as channels and convolve that 'single image' of depth 10 with a 3d kernel of depth 10? That is how I have generally thought about it. Is that correct? Yes. The usual convention in a CNN is that each...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
datascience.stackexchange.com
Error: Calculating Rank Ordering Error Metric for implicit recommendation Details: I'm reading Collaborative Filtering for Implicit Feedback Datasets . On page 6 they detail their evaluation strategy, which they define as mean Expected Percentile Ranking with the following formula: $$\overline{\text{rank}} = \frac{\su...
I found a video called "Evaluating Implicit Ratings Models" by Datacamp. It is an explanation of evaluation of recommendation engines that use Implicit Ratings. Although they refer to the metric differently by calling it Rank Ordering Error Metric, the formula they give is identical to the one defined in the paper I li...
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
datascience.stackexchange.com
Error: Should "how do I DIY electrical work" questions be banned from this site? Details: Put simply, whenever I see a question like "how do I DIY my home's electrical system", I always give the same answer: call a professional, licensed electrician. I say this because it is always the only correct answer, even if it'...
Your outlook is incorrect/misguided in a few ways: Millions of people around the world do their own electrical work, legally, every year. Just because you don't feel comfortable doing it, or it's illegal in your country, does not mean it is illegal everywhere or uncomfortable for everyone. In the US, for example (where...
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: When should a DIY question from a renter become a DIY question from the landlord? Details: I see a lot of questions from people who have problems in properties that they rent. When should a DIY question from a renter be answered with "Its not your problem call your landlord"? Non-permanent improvements, like ma...
Another thing to consider when answering, is that the answer should be helpful to more than just the OP. So you may be helping the renter directly, but you might also be helping a bunch of homeowners as well. In the end, it's really the responsibility of the person doing the project to determine the legality of the pro...
There's an issue with your other. Try checking the logs and documentation.
other
diy.meta.stackexchange.com
Error: Move live SQL Server database to a new server Details: I have a production server running SQL Server 2008 Web Edition, and it has to keep running 24x7 with almost no down time, and it's the time for us to move to a more advanced server hardware, also it's a good chance to move to SQL Server 2012 Enterprise. Now...
since you are using SQL Server 2008 Web edition, your best bet is to use [CODE] . Your database size is 100GB, so initializing the secondary from a backup should be considered. Dont use GUI to set up initial logshipping. SO your steps should be : Backup 2008 Web edition database and restore it on 2012 enterprise [CODE]...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
dba.stackexchange.com
Error: What is the default order of records for a SELECT statement in MySQL? Details: Suppose you have the following table and data: [CODE] When issuing [CODE] with no [CODE] clause, how does MySQL sort the records by default?
Reposting my answer to a similar question regarding SQL Server: In the SQL world, order is not an inherent property of a set of data. Thus, you get no guarantees from your RDBMS that your data will come back in a certain order -- or even in a consistent order -- unless you query your data with an ORDER BY clause. So, t...
There's an issue with your database errors. Try checking the logs and documentation.
database_errors
dba.stackexchange.com
Error: Issue with IPython/Jupyter on Spark (Unrecognized alias) Details: I am working on setting up a set of VMs to experiment with Spark before I spend go out and spend money on building up a cluster with some hardware. Quick note: I am an academic with a background in applied machine learning and work quit a bit in ...
IPython has now moved to version 4.0 , which means that if you are using it, it will be reading its configuration from [CODE] , not [CODE] . You have to create a new configuration file with [CODE] and then edit the resulting [CODE] file according to your needs. More installation instructions here .
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
datascience.stackexchange.com
Error: How is software used in critical life-or-death systems tested? Details: An airplane, as opposed to, for example, a website, is a system where any failure in certain systems is completely unacceptable, since errors in e.g. flight monitoring can cause the autopilot to malfunction and do a dive. Obviously, this do...
I've done a lot of work in industrial controls. It doesn't have to be in a glorious industry like aerospace. Almost every industrial machine has enough potential energy to cause serious injury or death. I have been around when people were injured. If you spend most of your time at a desk in an office, you'd probably be...
There's an issue with your pipeline ops. Try checking the logs and documentation.
pipeline_ops
softwareengineering.stackexchange.com
Error: What should be reported when a bug only happens 50% of the time? Details: So, let's say I'm running some tests and run across some odd behavior that is a deviation from expected results , however, I quickly run the test again and the bug is not reproduced. I begin to question what's going on and run, say, 20 it...
A bug that is only a bug 50% of the time is still a bug. I would still report/document it as a regular bug, but with an "intermittent" label - letting to know both developers and management about the bug, and that it is not reproduced all the time. This way the issue would get its priority by the management, and the me...
There's an issue with your data quality. Try checking the logs and documentation.
data_quality
sqa.stackexchange.com
Error: Object Oriented vs. Procedural Processes in Embeded System Details: I'm currently developing a controller for an industrial application which takes data inputs from various sensors and interfaces (ethernet, serial, etc.), does some minimal processing, and adjusts outputs to interfaces and mechanical systems as ...
C and C++ are closely related. Their main difference is not that one is procedural and the other object-oriented. The main difference is that C++ offers a much more expressive type system (incl. support for OOP, but you are never forced to use it). In fact, many programs do not need any kind of OOP at all. With OOP, I ...
There's an issue with your airflow errors. Try checking the logs and documentation.
airflow_errors
softwareengineering.stackexchange.com
Error: How to compress data in SQL Server? The data warehouse raw data is times bigger than the MySQL OLTP database for the same tables Details: For reporting purposes, we have a DWH (data warehouse) doing ETLs (extract-transform-load) to retrieve data from selected tables in a production OLTP (on-line transaction pro...
The sales_order table contains 7'100'000 rows with size 5.5GB. However, in the data warehouse, the same table sized 20GB SQL Server has several different table compression options. The one most commonly used for large data warehouse tables is Columnstore , which can produce 10x compression on tables with millions of ro...
There's an issue with your dbt errors. Try checking the logs and documentation.
dbt_errors
dba.stackexchange.com
Error: What limits the maximum number of connections on a Linux server? Details: What kernel parameter or other settings control the maximum number of TCP sockets that can be open on a Linux server? What are the tradeoffs of allowing more connections? I noticed while load testing an Apache server with ab that it's pre...
I finally found the setting that was really limiting the number of connections: [CODE] . This was set to 11,776 and whatever I set it to is the number of requests I can serve in my test before having to wait [CODE] seconds for more connections to become available. The [CODE] table is what the kernel uses to track the s...
There's an issue with your infrastructure. Try checking the logs and documentation.
infrastructure
serverfault.com
Error: Dependency injection: How to sell it Details: Let it be known that I am a big fan of dependency injection (DI) and automated testing. I could talk all day about it. Background Recently, our team just got this big project that is to built from scratch. It is a strategic application with complex business requirem...
Taking a couple of the counter arguments: "We want to keep it simple, if possible just stuff everything into one assembly. DI is an uneeded complexity with no benefit". "its not like we will be plugging in different implementations of components". What you want is for the system to be testable. To be easily testable yo...
There's an issue with your pipeline ops. Try checking the logs and documentation.
pipeline_ops
softwareengineering.stackexchange.com
Error: How to migrate all Cacti devices from 5 minute polls to 1 minute polls? Details: I have just taken over a Cacti server and am having a nightmare moving from 5 minute polls to 1 minute polls. So far, I have changed the data template along with the Step (from 300 down to 60) and Heartbeat (from 600 down to 120), ...
It's not that easy. But if you really want to do this, you need to touch every data-template you are using and set "Step" from 300 seconds (5 minute polling intervall) to 60 seconds. Also, you need to lower Heartbeat from 600 down to 120. After you made all your changes you need to rebuild Cacti's Poller Cache. I'm not...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
serverfault.com
Error: IBM GPFS : very slow to remove files recursively Details: To delete files recursively in our IBM GPFS cluster, we use simple unix command like : [CODE] However deletions are very long to be done. Problem is that our distributed apps (Spark-based) took like [CODE] to be done. But then, it also [CODE] to drop tem...
I don’t think you can speed up this process as “rm” triggers lots of the metadata updates for the distributed file systems, and they take quite some time to complete. What you can try is to issue “mv” to some temp folder within the same file system (!!!) and do an actual “rm” in the background.
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
serverfault.com
Error: Properly setting up a "default" nginx server for https Details: I have several servers running on the same machine, some with http only, some with both http and https. There are several server blocks defined in separate files which are included from the main config file. I have set up a "default" server for htt...
I managed to configure a shared dedicated hosting on a single IP with nginx. Default HTTP and HTTPS serving a 404 for unknown domains incoming. 1 - Create a default zone As nginx is loading vhosts in ascii order, you should create a [CODE] file/symbolic link into your [CODE] . 2 - Fill the default zone Fill your [CODE]...
There's an issue with your data quality. Try checking the logs and documentation.
data_quality
serverfault.com
Error: What date/time literal formats are LANGUAGE and DATEFORMAT safe? Details: It is easy to demonstrate that many date/time formats other than the following two are vulnerable to misinterpretation due to SET LANGUAGE, SET DATEFORMAT, or a login's default language: [CODE] Even this format, without the T, may look li...
In the documentation , it is very explicitly stated that the only safe formats are the ones I demonstrated at the very beginning of the question: [CODE] However, it was recently brought to my attention that there is a third format that is equally immune to any language or dateformat settings: [CODE] TL;DR: This is true...
There's an issue with your warehouse errors. Try checking the logs and documentation.
warehouse_errors
dba.stackexchange.com
Error: Module Requiring vs Dependency Injection in Javascript Details: These days a question popped out in my mind: Does the way we Javascript go against almost everything that is considered a good practice in traditional Software Development? I have a series of question/observations related to this statement, but in ...
I am mainly a PHP programmer, but have been in contact with 4 JavaScript teams for the past year or so. As an object-oriented programmer the dependency injection principle would seem the best way, however I have been told otherwise by few JS developers. JS is a whole different world. Because JavaScript allows you to mo...
There's an issue with your pipeline ops. Try checking the logs and documentation.
pipeline_ops
softwareengineering.stackexchange.com
Error: Why are the Java 8 java.time classes missing a getMillis() method? Details: Java 8 has a whole new library for dates and times in the package java.time which is very welcome thing to anyone who has had to use JodaTime before or hassle with making it's own date processing helper methods. Many classes in this pac...
JSR-310 is based on nanoseconds, not milliseconds. As such, the minimal set of sensible methods are based on hour, minutes, second and nanosecond. The decision to have a nanosecond base was one of the original decisions of the project, and one that I strongly believe to be correct. Adding a method for millis would over...
There's an issue with your database errors. Try checking the logs and documentation.
database_errors
softwareengineering.stackexchange.com
Error: Free application or script to monitor App pool memory usage Details: I want an application or script that displays the following: Worker process, App pool name, memory usage, and optionally cpu usage. I am familiar with using %windir%\system32\inetsrv\appcmd.exe list wp but this just gets me the workerproces id...
If you don't have IIS 7 and the provider, you can use WMI. The attached script works for most of your requirements, except CPU usage. Save the below script as get-webserverapppoolstats.ps1 (or whatever you want). You can run the script then with: ./Get-WebServerAppPoolStats.ps1 'Server1', 'Server2', 'Server3' -Integrat...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
serverfault.com
Error: How to pass multi-valued characters in SSRS Report? Details: I have a SSRS report that has 3 data sets feeding off one data source. The main dataset is a stored procedure that is aggregating some data based on a set of parameters powered by the other two datasets. The main stored procedure powering this report ...
I found a solution. I did not properly split the values in the stored procedure with a UDF. To pass multi-values correctly in this stored procedure, I would need to add the following code to the dataset parameter that I am using: [CODE] This is basically going to join multiple values into an array and pass it through t...
There's an issue with your bi errors. Try checking the logs and documentation.
bi_errors
dba.stackexchange.com
Error: What happens if two process try to REFRESH MATERIALIZED VIEW CONCURRENTLY at the same time? Details: According to the docs: CONCURRENTLY Refresh the materialized view without locking out concurrent selects on the materialized view. (...) ... OTHER CONTENTS ... Even with this option only one REFRESH at a time ma...
As mentioned in this answer , " [CODE] takes an [CODE] lock" on the table. Following the crumb trail to documentation we can read that an [CODE] lock on a table "allows only concurrent [CODE] locks, i.e., only reads from the table can proceed". In the same paragraph we can see that " [CODE] conflicts with ... [CODE] ",...
There's an issue with your warehouse errors. Try checking the logs and documentation.
warehouse_errors
dba.stackexchange.com
Error: Should I refactor the code that is marked as "don't change"? Details: I am dealing with a pretty big codebase and I was given a few months to refactor existing code. The refactor process is needed because soon we will need to add many new features to our product and as for now we are no longer able to add any f...
It seems you are refactoring "just in case", without knowing exactly which parts of the codebase in detail will be changed when the new feature development will take place. Otherwise, you would know if there is a real need to refactor the brittle modules, or if you can leave them as they are. To say this straight: I th...
There's an issue with your api errors. Try checking the logs and documentation.
api_errors
softwareengineering.stackexchange.com
Error: Export GFI MailArchiver e-mails for import into Exchange 2010 SP1 Personal Archiving Details: We have an existing installation of GFI MailArchiver 5 with several databases of archives (perhaps 100-150GB). The goal is to export each user's archived e-mail and then import it into Exchange 2010 SP1 Personal Archiv...
That will not be an easy task especially with such old version. I have seen a similar scenario in the past and the quickest path was to upgrade to the latest version of GFI MailArchiver and then use the export to PST tool that was very improved and works adequately. You could take a demo license for 30 days from the re...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
serverfault.com
Error: Server 2012 R2 - Hangs at shut down or restart Details: We have an odd situation with some of our servers where they don't appear to be able to shut down or restart without having to hard power them off manually. At first I assumed it was just a one-time issue where a server had failed to come up after an updat...
I resolved this issue by excluding dat extension in Windows Deduplication Configuration for the all volumes on which Windows Deduplication is enabled. Then deleted the file ArcVolTrc.dat from all the Volumes that have Windows Deduplication Enabled. Restarted the arcserve UDP agent to recreate the ArcVolTrc.dat file. Af...
There's an issue with your dbt errors. Try checking the logs and documentation.
dbt_errors
serverfault.com
Error: Is this compound index unnecessary? Details: I have a large table which contains sensor data, along with the fields: [CODE] I do queries against it using these fields almost exclusively. There are multiple sensors, and different sensors might have the same timestamp for a given set of data, so neither index can...
It might be worth posting the table definition from your other question for clarity. The composite index is doing a few things for you: As you know, enforcing uniqueness on (sensor_id, timestamp); I'm unsure whether this is an important data integrity constraint. Allowing queries that filter on both columns to look up ...
There's an issue with your airflow errors. Try checking the logs and documentation.
airflow_errors
dba.stackexchange.com
Error: SQL Server Distributed Availability Group databases not syncing after a server reboot Details: We're getting ready to perform a large upgrade on our SQL Servers and are noticing some unusual behavior with Distributed Availability Groups that I'm trying to resolve before moving forward. Last month, I upgraded a ...
Please note, this is not a definitive answer but it's the best answer after chatting with Taryn . However, the primary was showing a very different story. It was reporting that the separate AG was syncing without any issues but the DAGs were in a Not Synchronzing / Not Healthy state If the individual databases and AGs ...
There's an issue with your airflow errors. Try checking the logs and documentation.
airflow_errors
dba.stackexchange.com
Error: How exactly should unit tests be written without mocking extensively? Details: As I understand, the point of unit tests is to test units of code in isolation . This means, that: They should not break by any unrelated code change elsewhere in the codebase. Only one unit test should break by a bug in the tested u...
the point of unit tests is to test units of code in isolation. Martin Fowler on Unit Test Unit testing is often talked about in software development, and is a term that I've been familiar with during my whole time writing programs. Like most software development terminology, however, it's very ill-defined, and I see co...
There's an issue with your api errors. Try checking the logs and documentation.
api_errors
softwareengineering.stackexchange.com
Error: Archived and queued Windows Error Reporting Details: Just ran Disk Cleanup on a computer here (Windows Vista), and saw 3 items in the list I haven't seen before: Per user archived Windows Error Repo... | 402 MB System archived WIndows Error Repor... | 18,0 KB System queued Windows Error Reporti... | 533 MB What...
Yes it is safe to delete these files, they are files generated by Windows Error Reporting when an application error occurs. The per-user data is saved to: [CODE] the system data is saved to: [CODE] THose two folders are split into ReportArchive which is historical reports, and ReportQueue which are reports that have no...
There's an issue with your hadoop errors. Try checking the logs and documentation.
hadoop_errors
serverfault.com
Error: How can I deal with the cargo-cult programming attitude? Details: I have some computer science students in a compulsory introductory programming course who see a programming language as a set of magic spells, which must be cast in order to achieve some effect (instead of seeing it as a flexible medium for expre...
You could present them a series of exercises, each one building on the previous while adding some extra element or twist to the problem, or investigating the issue from a different perspective, which reveals a weakness of the previous solution, requiring a new, different approach. This forces them to think about, analy...
There's an issue with your api errors. Try checking the logs and documentation.
api_errors
softwareengineering.stackexchange.com
Error: PrefixSpan model input RDD format Details: I am trying to understand the input for the PrefixSpan model (pyspark). I thought in the input RDD, each row should be a list. However, as I looked into the source code, each row is actually a list of list. Why does it need a list of list instead of just list? Thanks! ...
You’ve asked your question a while ago, but maybe it helps someone anyway. In the mllib guide they say to refer to the PrefixSpan paper by Jian Pei and his team, there’s another version fully available here There, they explain that a sequence is composed of elements which are composed of items: For example “ a sequence...
There's an issue with your spark errors. Try checking the logs and documentation.
spark_errors
datascience.stackexchange.com
End of preview. Expand in Data Studio
README.md exists but content is empty.
Downloads last month
11