text stringlengths 70 452k | dataset stringclasses 2
values |
|---|---|
How can I support mods in my game made in Nim?
First I would like to apologize for my English.
I'm reviving an old project of mine originally made in the Lua language, where it was a Terraria-style sandbox game.
The game was designed from the beginning to support mods, where the original game itself was a mod based on ... | common-pile/stackexchange_filtered |
How can i add an if statement in my script?
I map a network drive, but after opening the application the network drive must be unmapped again.
I build my application in VS2015 c#.
private void button4_Click(object sender, EventArgs e)
{
IWshNetwork_Class network = new IWshNetwork_Class();
network.MapNetworkDri... | common-pile/stackexchange_filtered |
DX vs FX the final comparison
There are a lot of questions about using specific lenses from one format to the other, but I was hoping for a comprehensive overview of all combinations that is easily referenced. For the sake of math, lets choose a '100mm' lens. I know that that DX cameras, for example have a 1.5x drop ... | common-pile/stackexchange_filtered |
JNLP at runtime using jsp
I have created a java web application and I had one window application now I want to load window application using JNLP (java web start ) and it loads from jsp page at runtime.How can I do this.?
it's easy, just write your jsp in a way you'd write your jnlp, where the dynamic parts would be... | common-pile/stackexchange_filtered |
How to create a custom table and provide a Create,Read,Update,Delete interface
How will I create a new structure in the ABAP dictionary has the following attributes.
Name Type,MyNAME CHAR(25),FatherNAME CHAR(25),DEGREE CHAR(25),AGE INT4,BIRTHDAY DATS
and write a ABAP program that will use your created structure, fill ... | common-pile/stackexchange_filtered |
Handling multiple forms of different form tags in a function view in Django
HTML:
<form method="POST" enctype="multipart/form-data" id="p_formUpload">
{% csrf_token %}
<fieldset class="form-group">
<p>
{ p_form|crispy }}
</p>
</fieldset>
</form>
<form method="POST" enctype="multipart/form-data" id="c_formUpload">
{% cs... | common-pile/stackexchange_filtered |
how to open standard Google Map application from my application and after choose a location then redirect back to my application?
how to open standard Google Map application from my application and after choose a location then redirect back to my application?
The simple answer is (as much I know) - No you cannot do it... | common-pile/stackexchange_filtered |
MSchart label inside chart area
Can somebody please tell me how can i show the Total Collection on MSChart
I have got the answer in email which is incomplete , but i can't see it here, why ? help please.
The mail you received is about an answer that has been deleted by owner (I can see it because I have more than 10... | common-pile/stackexchange_filtered |
JPA query : select only some fields of my object and then create my object
I have a JPA repository custom query :
@Query("Select id, nom, code, codeComptable, typeClient from Client")
List<Object> findAllWithoutForeignKey();
This query returns a Java.Lang.Object :
[1, TEST X, GUHHR, 1566FR487, TypeClient{id=1, nom... | common-pile/stackexchange_filtered |
YQL: Return single field from yahoo.finance.quotes
I've just started working with YQL and I'm stuck with the following problem:
I cannot let YQL return a single value from the yahoo.finance.quotes table.
I would like to just select the "Open" tag in "quotes"
This is the query I am using:
http://query.yahooapis.com/v1/p... | common-pile/stackexchange_filtered |
spark context cannot reslove in MLUtils.loadLibSVMFile with Intellij
I try to run Multilayer perceptron classifier example here:https://spark.apache.org/docs/1.5.2/ml-ann.html, it seems works well at spark-shell, but not with IDE like Intellij and Eclipse. The problem comes from
val data = MLUtils.loadLibSVMFile(sc, "d... | common-pile/stackexchange_filtered |
mvc6: specify custom location for views of viewComponents
By default mvc6 searches for views of ViewComponents either in /Views/ControllerUsingVc/Components or it also looks in /views/shared folder.
Is it possible to add a custom location where it should look for them? E.g. /views/mySharedComponents
You can do that bu... | common-pile/stackexchange_filtered |
Why is my UITableView cut off in iOS 7?
In iOS 6, my login tableview that consisted of two rows (Username and Password) was completely shown correctly. In iOS 7, the bottom row is cut off, and I don't know why or how to correct the issue. Nothing changed except for upgrading to Xcode 5 and running on the iOS 7 simulato... | common-pile/stackexchange_filtered |
Plot bar graph using matplotlib with different dataframe shape
I have three different Data frame as below.first two has the shape as (4,) and the last has the shape as (2,). How to convert the shape of the data frame?
When I try to plot all the three in a bar graph, the last DF fails with "ValueError: shape mismatch: ... | common-pile/stackexchange_filtered |
How to use mobile app into whatsapp share link working?
How do you use an HTML link to open the whatsapp on a mobile app ? this link works on website Example link:<a href="whatsapp://send?text=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F51533526%2Fhow-to-use-html-link-into-whatsapp-mobile-app%2F51533716%3Fnoredirect%... | common-pile/stackexchange_filtered |
Paypal button won't appear in magento despite config being correct.
I followed the Magento configuration instructions to the T for how to set up PayPal in Magento, but despite all of that, PayPal still doesn't appear as a payment option to users. Is there something that needs to be configured on PayPal manager to make ... | common-pile/stackexchange_filtered |
How to get string after the last '/' character using a regular expression
I would like to fetch last part of the string after character / which in our example is 'PAYLINK STALE CHECK ENTRI'.
Also, please note that, 'PAYLINK STALE CHECK ENTRI' is not a static string.
Example:
:61:1511171116CR00,10NMSC566666666/151393333... | common-pile/stackexchange_filtered |
Can some components of metric be Finslerian while the others be Riemannian?
A Finsler metric reduces to a Riemann metric in case it loses its dependence on velocities. Now, my question is this: Can we have a Finsler metric in which some components of the metric have velocity dependency and some do not?
These are compo... | common-pile/stackexchange_filtered |
When should I start planning for the next version?
My company is setting dates for planning the version on the first day of the version.
To me it seems to be waaaay too late.. I think it should be at least a couple of weeks before that.
When should we start the planning process? Is there a standard for this process a... | common-pile/stackexchange_filtered |
Will JIRA clash with Plesk on Install
I have a dedicated hosting account that is managed using Plesk (i am not very comfortable with Linux command line - learning). Plesk is fine as its easy to use for managing different web spaces.
I want to know if i install JIRA on the same server will i run into
any issues with P... | common-pile/stackexchange_filtered |
How should we support multilingual answers?
We have long supported questions about claims made in other languages and answers referencing sources written in other languages, but the body of the question and answer needs to be in English to be widely understood by our users.
A recent question was about the authenticity ... | common-pile/stackexchange_filtered |
T-SQL code is extremely slow when saved as an Inline Table-valued Function
I can't seem to figure out why SQL Server is taking a completely different execution plan when wrapping my code in an ITVF. When running the code inside of the ITVF on its own, the query runs in 5 seconds. If I save it as an ITVF, it will run ... | common-pile/stackexchange_filtered |
Ubuntu DVD for Africa
I live in Tanzania Africa and have been promoting Ubuntu for use by NGOs, Schools, and Friends. So far I've got a lot of positive feedback, but do have one huge problem. Internet here is both slow and very costly (up to $1,200 per month) So what I am looking for is a current release of Ubuntu whic... | common-pile/stackexchange_filtered |
Is there a more or less automatic way to create this kind of 3D metallic text effect, or does it have to be digitally painted by hand?
I'm looking for a way to turn an ordinary flat font into a 3D metallic text, kind of like the Game of Thrones logo here, or the Skyrim text here? Or this logo here. And maybe even any h... | common-pile/stackexchange_filtered |
Android Log in with CheckBox
My first application in android studio and i want to do this:
Description:
username:username (TextBox)
password:password (TextBox)
Keep me logged in -->CheckBox
LOGIN -->BUTTON
The first time where the user enters your username and password and click to Keep me logged in the application mus... | common-pile/stackexchange_filtered |
glOrtho not working
I have a problem using glOrtho in a program that uses GLMDraw() function of GLM library to draw Google SketchUp 3D images. I wanted to see the image for only certain values of z in Projection mode and glOrtho() didn't seem to work so I made the following code to test it:
glOrtho(0.0f, 2.0f, 0.0f, 2.... | common-pile/stackexchange_filtered |
`zeroinfl` from the `pscl` and `countreg` packages give very different results. Why?
I am experimenting with the mdvis dataset from the COUNT package of R for a teaching purpose. I fitted a zero-inflated negative-binomial model using the zeroinfl function from the pscl and countreg packages. However, the results of zer... | common-pile/stackexchange_filtered |
What does this C Pointer Code Produce? [ulong pointer -> uint]
Hey Peeps,
Am currently working on porting some old C Library to C# but have a bit of trouble understanding a certain piece of Code containing Pointers.
Am not the best when it comes to C so i might be lacking some understanding.
Heres a simplified version ... | common-pile/stackexchange_filtered |
Any way to change specific data in a column e.g Mr to Dr which contains a name
I am trying to change the Titles of 'doctors' in a database and was just wondering was there a SQL query which I could run to change them.
The column im trying to change
What I am asking is that there is any way I can update the column to ad... | common-pile/stackexchange_filtered |
Is there a way to slice a Google doc into multiple PDFs?
I would like to replicate in Google Scripts VBA code that I wrote for Word docs. Basically, it "slices" a document into multiple PDF files by searching for tags that I insert into the document. The purpose is to allow choirs using forScore (an app that manages mu... | common-pile/stackexchange_filtered |
How to spawn nested loops in python
I've tried searching for an answer to this question and read a lot about decorators and global variables, but have not found anything that exactly makes sense with the problem at hand: I want to make every permutation of N-length using A-alphabet, fxn(A,N). I will pass the function 2... | common-pile/stackexchange_filtered |
Google Snap to Roads example output
I have been trying to use the example output of the Google Snap to Roads API as a test, but the only way it is recognized as a valid JSON file is if I remove all of the commas after placeid, ("placeId": "ChIJr_xl0GdNFmsRsUtUbW7qABM",).
Is this a mistake on my part? I would like to be... | common-pile/stackexchange_filtered |
Fix timeout for the "You may only open the close dialog every 3 seconds" notification
Several of the interactions with the site are rate-limited and will bring up a warning notice if you do them repeatedly. For example, you can only flag comments every 3 seconds.
Typically, these notices stay up for as long as you are ... | common-pile/stackexchange_filtered |
git merge --no-commit creates a merge commit when run in IntelliJ IDEA
I'm trying to merge master branch to my feature branch using IntelliJ IDEA's UI option. VCS -> Git -> Merge Changes....
I select the checkbox No commit and select the origin/master branch to merge.
However, after doing this and I run git log I see t... | common-pile/stackexchange_filtered |
jests __mocks__ folder won't work with typescript
I am using jest 27.0
I am using this mock in many tests:
jest.mock('@aws-sdk/client-sfn', () => {
return {
...jest.requireActual('@aws-sdk/client-sfn'),
SendTaskSuccessCommand: jest.fn(),
SendTaskFailureCommand: jest.fn(),
};
});
Therefore I wanted to u... | common-pile/stackexchange_filtered |
How to match column a and column b from same table in BigQuery on substring match
I'm using #standardSQL BigQuery. I tried to use LIKE but couldn't get the matching to occur.
I have the table below, I am trying to write a query in BigQuery where if column A is contained in Column B then I want an output column C with ... | common-pile/stackexchange_filtered |
Why does jQuery Mobile add in divs, classes etc
I've been working on a small site and now I want to add a switch using jQuery mobile since it needs to work well on mobile devices. But when I add the necessary files it messes up my whole mark up by adding divs around input files. Adding classes to the body and divs, and... | common-pile/stackexchange_filtered |
How can i conceal the content of a file that is constructed using a Java desktop application and used by an Android app?
I'm constructing a tool that enable teachers to create exercises by using a Java desktop application. The exercises consists of questions and their answers and are saved to a single file.
The student... | common-pile/stackexchange_filtered |
ubuntu 14 glassfish4 shutdown without log
I had install Glassfish 4 on ubuntu 14 server.
After some configurations everything seems to work fine,but sometimes it random shut down
I had install jdk 1.7 60 release but i don't understand why it die during the night.
I can't figure why jvm or glassfish crash.
A have same ... | common-pile/stackexchange_filtered |
How can I find the center of a region in a linear programming problem?
I have an optimization problem that in most respects can be very elegantly expressed via linear programming.
The twist is that I don't actually want to minimize or maximize any of my variables; I want to find the center of the feasible region.
The p... | common-pile/stackexchange_filtered |
Asking boss and co-workers to involve me more often
First, the context:
I work in a small company (~12 people) where almost everyone works together for more than 10 years (some for more almost 20 years) and I'm by far the youngest person. I work there almost 2 years.
Everyone is Dutch except for me and I don't speak t... | common-pile/stackexchange_filtered |
AttributeError when running unittest with coverage in Python 2.7 on WSL
I'm encountering an error while attempting to run unit tests with unittest and coverage in Python 2.7 on a Windows 11 system using WSL (Windows Subsystem for Linux). The error message suggests an issue with finding the test case test_admin_ruta_tot... | common-pile/stackexchange_filtered |
Export using Bcp
I am exporting data using bcp and using union all to combine the column data with column header,I have used orderby variable and set it to 0 for the header and then to 1 for the column data inorder to have the header at the top in the excel file but it seems to place the header in between the data on s... | common-pile/stackexchange_filtered |
Enable scalability in existing OpenShift application. It's possible?
I created a non-scalable OpenShift application with a Diy cartridge, Mysql 5.5 and phpMyAdmin. Now I could set everything I need, saw that I can use the port-forwarding to access my database through my Mysql Workbenck. So I do not take more phpMyAdmin... | common-pile/stackexchange_filtered |
How can I change one page to another without using Intent?
I want to implement quiz module in my application which consists 14 questions so how do i go from one question to another. If i use intent then this is not smart work because i have need to create 14 activities. is there any other ways to move to next page wit... | common-pile/stackexchange_filtered |
error: expected specifier-qualifier-list before ‘ObjectP’ in c - CIRCULAR DEPENDENCY
I've written a little header file, and I keep getting this error:
expected specifier-qualifier-list before ‘ObjectP’
I've been looking for an answer and I understand that it's because of the way the compiler parses the text. ObjectP i... | common-pile/stackexchange_filtered |
I would like to redirect my user to a specific question, from the first line of code, how do I do that?
print("Hello Welcome To The Essay Generating Code")
print("")
print("First things first, you need to give your essay characters")
print("")
print("")
print("How many main characters would you like your story to have?... | common-pile/stackexchange_filtered |
What can I do to fix questions that can't be improved without major changes?
I've run into a couple of questions in the past few days involving concepts that I'd love to see answered, but the questions themselves are written extremely badly. They tend to be littered with grammatical mistakes, ambiguous as to what the q... | common-pile/stackexchange_filtered |
Html5 attribute maxlength="5" gets useless after changing event.keyCode
I got an input field for captcha which prevents user from typing non Ascii code in it:
<input id="Captcha"<EMAIL_ADDRESS>type="text" class="noFarsi" maxlength="5" placeholder="ُHuman Code" autocomplete="off" />
and the related class to prevent fro... | common-pile/stackexchange_filtered |
Find the expected value of the observation at time T+1 in HMM
I have built a HMM model in R using depmixs4 package. I have the state projections and posterior probabilities till time T. I understand that to find the state projections for time T+1, I have to multiply the transition matrix with the posterior from time T.... | common-pile/stackexchange_filtered |
GuzzleHttp \ Exception \ ConnectException cURL error 7: Failed to connect to localhost port 8088: Connection refused
I'm using laradock and I can access the page in browser http://localhost:8088/api/getakicks/get without any problems.
But when I try to access it in controller I'm getting this error:
GuzzleHttp \ Excep... | common-pile/stackexchange_filtered |
Inspect Managed Timer Information Using WinDbg
I have a 32-bit memory dump from a .NET 2.0.50727.6421 process that has stopped working correctly. Some of its work is driven from a System.Threading.Timer. The timer is supposed to trigger some processing.
I am thinking the timer may be stopped, but I cannot figure out ... | common-pile/stackexchange_filtered |
Is it possible to change BackgroundColor of snackbar for ios?
My app uses a snackbar of material-components-ios. I want to change BackgroundColor to blue, but I can't.
So is it possible to change the background color of snackbar?
You have to hack it. :)
In your pods there is a file called.
MDCSnackbarMessageView.m
t... | common-pile/stackexchange_filtered |
Compare Unicode code point range in Python3
I would like to check if a character is in a certain Unicode range or not, but seems I cannot get the expected answer.
char = "?" # the unicode value is 0xff1f
print(hex(ord(char)))
if hex(ord(char)) in range(0xff01, 0xff60):
print("in range")
else:
print("not in rang... | common-pile/stackexchange_filtered |
How to display org-pomodoro timer in mode-line
I see a video on youtube which display pomodoro clock in mode line
I installed lolownia/org-pomodoro: pomodoro technique for org-mode but it's clock does not show on the mode line
Alternatively, tried the answer How to show org-clock (and org-pomodoro) timer in mode-line... | common-pile/stackexchange_filtered |
Why does the same query explain & perform so differently on a slave MySQL server than a master?
I have a master MySQL server and a slave server. The data is replicated between them.
When I run this query on the master it's taking a number of hours; on the slave it takes seconds. The EXPLAIN plans back this up -- the sl... | common-pile/stackexchange_filtered |
Problems assigning value with setState
New to using React and having some trouble trying to get changes to a Textfield to update state. Using a functional component where the initial state is set with useState.
I'm sure I'm just missing something simple... but finally giving up and asking for help.
Here's the full co... | common-pile/stackexchange_filtered |
Karbonn Titanium S1 suddenly switches off
My Karbonn Titanium S1 smartphone switches off when I open the gallery, play any game, listen to music or do anything with the phone without connecting the charger. The screen starts to shrink and the phone is switched off. After restarting the phone battery is empty.
How can I... | common-pile/stackexchange_filtered |
twitter bootstrap ajust label field properly in horizontal form
We have the following form:
<div class="form-horizontal">
<fieldset>
<legend>Reports</legend>
<div class="control-group">
<label class="control-label">Year</label>
<div class="controls">
<select id="ddlYear"... | common-pile/stackexchange_filtered |
What could be the problem in the following code snippet?
The following piece of code was giving a segmentation fault whenever i was trying to pass ./a.out www.yahoo.com at the shell...
main(int c,char *argv[])
{
struct hostent *ptr;
ptr = gethostbyname(argv[1]);
printf("%s\n", ptr->h_name);
}
@Thief... | common-pile/stackexchange_filtered |
How to update UITableviewcell label in other method in swift3?
I am trying to update a UITableviewcell's label in other method. I also saw many post on stackoverflow, non was work for me. i am using Swift 3 and I tried this one :
let indexPath = IndexPath.init(row: 0, section: 0)
let cell : CategoryRow = tableV... | common-pile/stackexchange_filtered |
How to determine the correct way to pass the struct parameters in arm64 assembly?
Suppose I have this function that has many struct parameters (example from Raylib):
void DrawTexturePro(Texture texture, Rectangle source, Rectangle dest, Vector2 origin, float rotation, Color tint) {
// do something with these
}
ful... | common-pile/stackexchange_filtered |
Extract some keywords like rent, deposit, liabilities etc. from unstructured document
Writing an algorithm to extract some keywords like rent, deposit, liabilities etc. from rent agreement document. I used "naive bayes classifier" but the output is not giving desired output:
my training data is like:
train = [
("refund... | common-pile/stackexchange_filtered |
WKWebView File upload isn't working from SwiftUI Package but it's working fine in a normal project
I am developing a SwiftUI package of which a part is for WebView. I am using WKWebview. Now, the issue is when I am using the same code for a typical project the image/file upload is working fine inside webview. But when ... | common-pile/stackexchange_filtered |
Defacto template application in Python
Is there a defacto template application for Python?
I am trying to auto generate C code for use in unit tests from python
My original approach using print statements is very clunky and error prone
It struck me that a template application such as those used in web app development m... | common-pile/stackexchange_filtered |
Hibernate Criteria Child Restriction
I have a criteria to review list of parent objects
Criteria criteria = session.createCriteria(Parent.class,"parent")
but i need to add a restriction on the list of the child objects , since
I dont need all the child objects
Please help
Not knowing the specifics of the restriction ... | common-pile/stackexchange_filtered |
asp, server-side populate textbox
Questions about this do exist on stack but the answers are either wrong or of little use.
Coming from older VB, and being familiar with Java (where the code runs fine on client), trying to populate a textbox server side asp is driving me up the wall. Microsoft's logic is simply inane ... | common-pile/stackexchange_filtered |
how to make bend modifier affecting from parent to child which has physics applied?
the question is in the title, please help!
The bend modifier is set to the DNA helix string. I want the two strings to split while the attached flags with physics are still on it.
First I tried with a simple parent set to an empty in wh... | common-pile/stackexchange_filtered |
Django/Daphne, got NotImplementedError calling asyncio.create_subprocess_exec( under WINDOWS
I am using Django 3.2 with Daphne 3.0.2, Python 3.8.9 under Windows 10.
Trying to call
proc = await asyncio.create_subprocess_exec(
python_exe,
bridge_script,
stdin=asyncio.subprocess.PIPE,
stdou... | common-pile/stackexchange_filtered |
Why can't this enable_if function template be specialized in VS2017?
The following compiled with VS2015, but fails in VS2017 with the below errors. Was the code doing something non standard that has been fixed in VS2017, or should VS2017 compile it?
#include "stdafx.h"
#include <type_traits>
template <typename E>
cons... | common-pile/stackexchange_filtered |
Give an error if I don't reference a label
I would like to have LaTeX compilation (I use pdflatex) give an error if there exists one label in my document that I do not reference. Is this possible? This is to ensure that I mention every table and figure for which I set a label. I would prefer to use the same label and r... | common-pile/stackexchange_filtered |
Copy state from one contract to another
I am experimenting with the zeppelin os upgradeable contracts but what I only need for my contract is to keep one specific state array when I deploy to another address. Avoiding proxy issues, upgrade frameworks and such, is there a way to do this manually somehow?
This is just a... | common-pile/stackexchange_filtered |
import RDS file stored online in the Open Science Framework
I am trying to open a .rds file that is stored on the Open Science Framework: https://osf.io/4z7mb
I'd like to open this file in R and I've tried a few different options, but neither have worked. Has anyone opened one of these files before?
Attempt #1: using f... | common-pile/stackexchange_filtered |
Is it safe to call controller action from JavaScript with parameters?
I was wondering if it is safe to call a controller action from a javascript file and pass (say sensitive) parameters to it.
Say that the end-user makes a bet on something, and then the value of the bet will be sent to a controller action.
The bet its... | common-pile/stackexchange_filtered |
Are there infinitely many real quadratic number fields with unique factorization?
Unique factorization is a commutative ring in which every non-zero non-unit element can be written as a product of prime elements (or irreducible elements), uniquely up to order and units.
I'm struggling with understanding and proving thi... | common-pile/stackexchange_filtered |
Must collections exposed by the view model implement ObservableCollection<T> with the MVVM pattern
Recently, I have been trying to implement the MVVM design pattern, but I encountered 2 problems which I can't solve:
As I see it, I must use ObservableCollection in my Model classes, in order to pass it in the ModelView ... | common-pile/stackexchange_filtered |
Does Maven have a way to get a dependency version as a property?
I'm using a BOM to import dependencies from another project to mine, and I need a way to reference a dependency's version that is already declared in said BOM. So far, I've attempted to list the dependency version as a property in the BOM, but this appro... | common-pile/stackexchange_filtered |
PyQt dynamically switch between QSpinBox to QTimeEdit widgets depending on QComboBox data
I have a combo box with 2 options 'time' or 'interval' when 'time' is selected I would like to show a QTimeEdit and When 'interval is selected I would like to show a QSpinBox.
I can hide the interval widget and show the time widge... | common-pile/stackexchange_filtered |
responsive issue jquery click slider
I have a click slide that goes back and forward through the images,
But it doesnt scale or act responsive when on smaller window because obviously the width is set absolutely with pixels in the CSS and as the variable in my function.
If i change this I'm not sure how it'll work thou... | common-pile/stackexchange_filtered |
How to use non valid identifiers as django form field names
I am not sure if I should post this question here or in serverfault since it involves both django and nginx configuration files.
I have a django view that receives POST data from a form that contains file fields.
The request goes through an nginx module (uploa... | common-pile/stackexchange_filtered |
Is this method valid to prove $\int_{a}^{b}f\left(x\right)g\left(x\right)dx=f\left(c\right)\int_{a}^{b}g\left(x\right)dx$?
I came across this question in a book:
Suppose $f(.)$ and $g(.)$ be two continuous functions in $\left[a,b\right]$. Assume that $g(.)$ does not change sign in
$\left[a,b\right]$. Show that $\exist... | common-pile/stackexchange_filtered |
Perl drop down menus and Unicode
I've been going around on this for some time now and can't quite get it. This is Perl 5 on Ubuntu. I have a drop down list on my web page:
$output .= start_form . "Student: " . popup_menu(-name=>'student', -values=>['', @students], -labels=>\%labels, -onChange=>'Javascript:submit()') . ... | common-pile/stackexchange_filtered |
CSS triangle changing display value with Javascript
I have got this html
<div id="slideMenu">
<div id="slideM1" onmouseover="colorM(1)">Something 1</div>
<div id="slideM2" onmouseover="colorM(2)">Something 2</div>
<div id="slideM3" onmouseover="colorM(3)">Something 3</div>
<div id="slideM4" onmouseover=... | common-pile/stackexchange_filtered |
What is the reason for colour in 2,4-Dinitrophenylhydrazine derivatives?
2,4-Dinitrophenylhydrazine is an important laboratory reagent for the detection of Carbonyl (C=O) group. It reacts with Carbonyl group by the typical Nucleophilic Addition-Elimination reaction and if positive the test results in the formation of b... | common-pile/stackexchange_filtered |
Memory allocation in Ubuntu
I have a Ubuntu operating system with 32 GB RAM. I am running a code that I expect it needs much memory (but less than 32GB). while running the code, I monitor the memory with "free -m" command. I see that my code just uses around 4GB memory, and after that it crashes and returns memory erro... | common-pile/stackexchange_filtered |
remote desktop overtaking someone else's disconnected session
We have one user account on the remote server. When computer A initiates a remote session, then disconnects from it, and computer B initiates a remote connection, computer B is being connected to the A's session.
How can I make sure that only the same device... | common-pile/stackexchange_filtered |
How to use Service Workers in Google Chrome extensions to modify an HTTP response body?
Now that Google Chrome extensions can register Service Workers, how can I use them in order to modify HTTP responses from all hosts, e.g. by replacing all occurrences of cat with dog?
Below is a sample code from Craig Russell, but h... | common-pile/stackexchange_filtered |
some pictures are not available on 'what is your best programmer joke'
like this post
Answer to What is your Best Programmer Joke
I can't edit the answer to show a previous archived version of the site or anything like that.
there is no flagging because of the status of the Question(thread)
no way to comment or bring i... | common-pile/stackexchange_filtered |
How fast do they spin astronauts these days? Maximum routine g-training for astronauts in the 21st century?
Comments got me thinking about NASA's 20 g centrifuge. Gemini astronauts pushed to 7 or perhaps 8 g's as discussed in this answer but these days with nicely throttleable engines astronauts going to space experien... | common-pile/stackexchange_filtered |
Using login for specified user that are able to delete their own table
This is my database lecturer table name persons
ID FirstName LastName Email
100 alex alex -
102 ali ali -
This is my table user_subject
ID Subject
100 AAA
100 BBB
102 AAA
102 CCC
This is my drop_subject.php
<html>
<hea... | common-pile/stackexchange_filtered |
2 Lines Causing thousands of Java Script Errors
On this page: https://www.airsyspro.com There is a script for a stick header that seems to have an infinite loop that is causing thousands of errors in the console. Any ideas on how to fix this issue?
You'll see in the console that it appears on lines 2216 and 2245. JS i... | common-pile/stackexchange_filtered |
ForkJoin, repeat a specific observable call until desired value is retrieved before proceed with subscription
I am using ngrx store selectors on start of my component to retrieve data from my storage, these data may change any time through store dispatches from web sockets.
I am using a forkJoin on start of my componen... | common-pile/stackexchange_filtered |
could not convert ‘0l’ from ‘long int’ to ‘MemoryManager’
MemoryManager openMemory() {
if (...) {
return memory_manager_instance;
}
else
return NULL;
}
MemoryManager is the name of a user defined C++ class. The function definition above gives me the error in the title.
Basically I don't want to return a... | common-pile/stackexchange_filtered |
Are These Weaknesses Too Great For The Void?
I came up with a class of mystical beings called Void. Void used to be human but were transformed into another species by the energies released by the Legendary Dark Dragon (Curse) when he died from a meteor. They look like people, sort of: they're mostly featureless (they h... | common-pile/stackexchange_filtered |
Office 365 Shared Calendar without invitations or reminders?
I'd like to create a calendar in Office 365 Outlook which can be added to by several users, but produces no invitations or reminders. Is this possible to achieve? The users check this particular calendar regularly and the invitations/reminder popups become ve... | common-pile/stackexchange_filtered |
Example of a bijective continuous self mapping whose inverse is not continuous on a complete subspace of $\mathbb{R}$
I gave an answer to the following question Finding an (easy) example of a bijective continuous self mapping whose inverse is not continuous. In this question the OP asked for a continuous mapping $f: (X... | common-pile/stackexchange_filtered |
Is Careers for system administrators, too?
As per subject: I can't understand from the FAQ is the Careers site is only programmer-related or if it can be used by/for sysadmins. I suppose it would make sense for (serious) employers to look for professionals on Server Fault other than Stack Overflow...
Well, there is ht... | common-pile/stackexchange_filtered |
Hook for when a page template is changed
I know that you can remove the editor section of the page editor page ( :/) depending on the template chosen using add_action( 'load-page.php', 'hide_editor_function' ); (with proper functionality of course). The problem with this though, as you should be able to tell, is that t... | common-pile/stackexchange_filtered |
reformat laptop using a different windows disc
My Dad's old laptop is pretty slow and old and he got a new one, so I thought I'd reformat it and reinstall Windows. However, he can't find the original disc it came with. The laptop is currently running Windows Vista, and he only has discs for Windows XP, or the Windows 8... | common-pile/stackexchange_filtered |
openmp: recursive task slower than sequential even with depth limit
I have a very big binary tree on which I want to do certain expensive calculations. I want to parallelize these methods using openmp and its task pragmas.
As a test, I have parallelized the freeTree function and I have created a big example test tree. ... | common-pile/stackexchange_filtered |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.