text
stringlengths
70
452k
dataset
stringclasses
2 values
Value won't assign to array after calling function Angular 9 I am getting an undefined value in an array I've set up when I console.log it. Below is my component.ts: export class OrderExceptionReportComponent implements OnInit { public sessionData: ExceptionReportSessionData[] = []; newData: any; reports = []; ...
common-pile/stackexchange_filtered
WPF: how to style a class like in css? Let's say I have a UserControl with 4 Borders: <Border /> <Border /> <Border /> <Border /> Now in my Resources I can go: <Style TargetType="{x:Type Border}"> ... change some properties here </Style> Now this is all good, but it will target all borders in my UserControl. But wh...
common-pile/stackexchange_filtered
Oracle JDBC flush shared pool is not working I have the following peace of java code that compares the performance of these two SQL queries. the getNamedStatistics()prints some columns from the v$session table, like consistent gets, execute count etc. Although i cant flush oracle's memory so I can compare the performan...
common-pile/stackexchange_filtered
Form won't submit properly on the front page I have placed a form on the front page of my Drupal 6 site using drupal_get_form('mymodule_form'). I have not done anything different than usual, and I have implemented a validation handler called mymodule_form_validate(). The form displays properly, and posts to '/', as it ...
common-pile/stackexchange_filtered
RNN Training Issue: Loss Not Decreasing with batch_first=False I'm currently working on training an RNN model using PyTorch, and I've encountered a persistent issue where the loss does not decrease when batch_first=False. Despite thorough debugging, the problem persists. Here are the specifics of my setup and the probl...
common-pile/stackexchange_filtered
How can we know whether an app is installed through playstore or other market? I have developed an android app.I want everyone to download it from playstore.I want to know whether there is any method to check whether my android app is installed from playstore or other market? I think by checking that i can make my app ...
common-pile/stackexchange_filtered
Smart Students in a Murder Madhouse Alright detectives, we got a good ol' who dunnit here. Notes given to you by the department before you begin your examination of the place: May. Unclear Reasoning. During Evening. Raining. Dreary. You approach the house, seems relatively new, your buddy motions over towards a...
common-pile/stackexchange_filtered
How to test angularjs application with a nonangular login page in protractor I am struggling with finding a way to test my angularjs application that has a non-angular login page. All of the app's pages are protected by a login, so whatever page I test, I will need to login first. I have looked through all kinds of id...
common-pile/stackexchange_filtered
How To Serialize A .net Class To Disk I'm trying to serialize an object cache to disk so it can be loaded the next time the program is loaded. One of the features of the class being saved is it contains references to other objects. For example: I have a list of an image class that stores remote url, local filepath, if ...
common-pile/stackexchange_filtered
Opting out of reputation [Disclaimer. I'm making this feature request not because I want it nor because I think it's a good idea, but because I heard it so often that there is need to discuss it. Please don't shoot the messenger!] Let users opt out of reputation Indeed, some users have resorted to various schemes to av...
common-pile/stackexchange_filtered
ember.js textfield and css (twitter bootstrap) I want to put some styling on an Ember.Textfield, namely: style="max-width: 100%;". I've tried to do this with attributeBinding but without much success. Does anybody have working solution? although you should better use CSS classNames, you can extend the Ember.TextField ...
common-pile/stackexchange_filtered
Redux-saga-test-plan expectSaga seems to retain state between independent tests I have the below two tests import {put, select, takeEvery} from 'redux-saga/effects'; import {combineReducers} from 'redux'; export default class SessionReducer { public static readonly _initialState: any = { disconnectCounts: ...
common-pile/stackexchange_filtered
Snake loader css animation keyframes doesn't work Im trying to make a snake loader spinner with css using keyframes animation but i don't know it doesn't work someone can help? here the fiddle: https://jsfiddle.net/fs6kafsn/ @keyframes rotate { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg...
common-pile/stackexchange_filtered
sql server : create indexes on foreign keys where necessary I have lots of tables with foreign keys and some have an index while others have not. All foreign keys are named FK_<name of the foreign key> with indexes named IX_<name of the foreign key>. Are there some good practices, given the column cardinality of the fo...
common-pile/stackexchange_filtered
JFrame duplicates drawings when resizing I wrote a code in Java (using swing) which draws few polygons on a panel. public MyClass extends JPanel The code is very simple (but long) and basically adds few Polygons, then adds few points to each polygon and then draw them on the screen (with drawPolygon). My problem is wh...
common-pile/stackexchange_filtered
Which command is used to convert wsdl to objective-c? Previously I have created studs in Objective-C for WSDL webservice using terminal. Now I forgot that command for generating Objective-C class for wsdl services. Currently I am using MOS Sierra the Wsdl2Obj is not working. I have download from here enter link descrip...
common-pile/stackexchange_filtered
JS function won't hide element I'm trying to hide or show a div when clicking on a link. This is the HTML part that I want to show or hide: <div id="product"> <div ng-repeat="producto in productos" > <figure class="floating"> <img ng-src="{{ producto.image }}" alt="image" class="rcor...
common-pile/stackexchange_filtered
Wlan roaming mesh assumptions and authorization to fake AP I have some questions and assumptions and I want to ask about them: Based on topology in my picture: Assuming situation 1: APs are configured just as APs with WPA3 Personal, they don't know about each other anything. Windows 10 client comes to the left AP for ...
common-pile/stackexchange_filtered
How to attach a scrollbar to the right of a datagrid inside a div? I am creating a scrollable div containing a Datagrid like so:- <div id="myDiv" style="overflow: auto; height: 300px; " onscroll="myFunction();"> <asp:DataGrid id="gradesGrid" . . . </asp:DataGrid> </div> and the scrol...
common-pile/stackexchange_filtered
Kayak like URL instead of query parameters I have a small app which reads parameters from the URL. Example: http://localhost:4200/flights?from=FRA&to=JFK I'd like to offer the user a Kayak like URL like: http://localhost:4200/flights/FRA-JFK Can this be done with Ember without doing the mapping in the webserver? app/c...
common-pile/stackexchange_filtered
CMake didn't find Qt5Widgets on Android Studio I'm using Android Studio 2.3.2 and I want to implement a Qt project into the app, but I have problems when I build the project. This is the CMakeLists.txt: # For more information about using CMake with Android Studio, read the # documentation: https://d.android.com/studi...
common-pile/stackexchange_filtered
Render from Comand line I am rendering a scene on some private HPC, they gave me putty to run render with command line: $ srun -N1 -pgpu blender -b test_gpu.blend -o //_###.png -P cuda.py -a everything works fine, but my renders are not on transparent background. How to set alpha in command line or how to use settings...
common-pile/stackexchange_filtered
Image size issue while taking a screenshot of the secondary monitor I am trying to save a screenshot of the second monitor which has a different resolution/DPI than the primary monitor (I am not totally familiar with these terminologies so I am not very sure), this is the code that I am using: public void SaveScreensh...
common-pile/stackexchange_filtered
(Android) Can't See Flurry Logs I'm trying to implement Flurry Analytics on my app and here's the log for the session. 04-17 07:31:10.292: D/FlurryAgent(5431): Initializing Flurry session 04-17 07:31:10.311: D/FlurryAgent(5431): New session 04-17 07:31:10.681: I/FlurryAgent(5431): loading persistent data: /data/data/co...
common-pile/stackexchange_filtered
AMONG US - Original problem using graph theory I'm coming to you because i have a problem to resolve which includes a graph theory problem on the famous game : Among Us. Here is the problem I've been thinking a lot about it, and i can't see which graph theory problem it refers to. I thought about a graph coloring probl...
common-pile/stackexchange_filtered
Test AWS lambda container image locally I am having an issue when I run a docker image locally.I've a simple AWS lambda as an image in the ECR repo.Basically what I did is downloaded this image using docker pull command and tried to run the image using docker run command. docker pull 35xxxxxx5770.dkr.ecr.us-east-1.amaz...
common-pile/stackexchange_filtered
Scale HTML content and add scroll bars If you've ever shrunk down your browser window, you'll notice that the webpage content shrinks down to some extent and then scroll bars start appearing. How is that done in CSS? You don't need CSS. That just happens in any browser if the content of an HTML document doesn't fit in...
common-pile/stackexchange_filtered
AutoMapper ignoring extension method I have 2 models: User.cs: Firstname Lastname Email Password Authentication.cs Email Password I would like the Email and Password from the Authentication model to map to the Email and Password within the User model so in my MappingProfile I have: public UserProfile() { ...
common-pile/stackexchange_filtered
How to use a Quantum input in a VQC in Qiskit? I am currently working on a project about Quantum Image Encoding, mainly with FRQI and NEQR algorithms. These codification methods use different circuit architectures (and not only parameters) depending on the image you are working with. My idea was to append an ansatz to ...
common-pile/stackexchange_filtered
Composite primary key with Eloquent We want to implement Composite primary key with Eloquent ORM and Laravel 5 for http://www.mbarendezvous.com/ I understand it is not currently supported by Eloquent . Please suggest what should be the best alternative for the same. Possible duplicate of How I can put composite keys i...
common-pile/stackexchange_filtered
Getting Information from Music App I'm building an app right now that needs to get the song name of the current song being played on an Android device as well as its current progress (i.e. 17 seconds in of a 2 minute 32 second song). I was wondering if retrieving this information is possible and if it is, I would like ...
common-pile/stackexchange_filtered
Javascript, change colour of element on-click with if-statement I have no idea how to change the colour of my element if the colour's crimson to white. It has me confused because I've tried many solutions such as turning them into variables. Would anyone be able to tell me what I'm doing wrong, or possibly point me in ...
common-pile/stackexchange_filtered
Custom validator not working correctly in Angular reactive form New to Angular and trying to add a custom email validator that will go to my server and check if the email address is already in use. But can't seem to get the error message displaying on form. Here is how I'm testing it before I attempt to hit the server....
common-pile/stackexchange_filtered
How mach trap become syscall? I'm new to XNU kernel and partially confused. I see that we a function in file vm_unix.c: kern_return_t task_for_pid(struct task_for_pid_args *args) with the comment: // This should be a BSD system call, not a Mach trap!!! then 2 declarations in osfmk\mach: /* * Obsolete interfaces. ...
common-pile/stackexchange_filtered
Does ArchiveIndexView inherit make_object_list? Django 1.8.0 This is an example from Django Unleashed by Andrew Pinkham: class PostList(ArchiveIndexView): allow_empty = True allow_future = True context_object_name = 'post_list' date_field = 'pub_date' make_object_list = True model = Post pag...
common-pile/stackexchange_filtered
Python, why Elasticsearch return records not according to the given query? I'm new in elasticsearch and I'm trying to get data by multi-match query. Example of data below: { ....... "_source": { "itemid": 40233, "value": "176016", } } { ....... "_source": { "itemid": 40...
common-pile/stackexchange_filtered
integrate mailchimp on checkbox in my php form I just want to integrate a mailchimp code to my php form which sends now a email but I have a checkbox which a user can check or uncheck if he wants to have news and updates <div class="checkbox"> <label> <input type="checkbox" id="emailUpdates" name=...
common-pile/stackexchange_filtered
Continuous versus differentiable A function is "differentiable" if it has a derivative. A function is "continuous" if it has no sudden jumps in it. Until today, I thought these were merely two equivalent definitions of the same concept. But I've read some stuff today which seems to be claiming that this is not the case...
common-pile/stackexchange_filtered
ASP.NET MVC - HttpRequestWrapper.Url is null? My application sends out some emails, and the image paths referenced in the e-mails need to vary depending on how the user accessed the page that is sending the email. I've used variations of the code before many times with no problem, but this is the first time I'm trying ...
common-pile/stackexchange_filtered
Execute Javascript method from browser address bar - GWT I'm trying to execute Javascript on my web application by executing this on the browser URL/address bar: javascript:window.alert('test');void(0); However, nothing happens and the alert box is not showing up? Could the reason be that the app is running in DevMode...
common-pile/stackexchange_filtered
Taking an ImmutableCollection as parameter versus creating a local copy When using Guava's a ImmutableCollection as a parameter for a function is it better to require an ImmutableCollection as parameter type: void <T> foo(ImmutableCollection<T> l) or should the function take a Collection<T> and create an immutable col...
common-pile/stackexchange_filtered
Silverlight 4 Asynchronous Issue I am creating an application in Silverlight 4. The first screen the user comes in contact with is the Login screen (Login.xaml). I have written the following code in Login.xaml.cs file. private void btnSubmit_Click(object sender, RoutedEventArgs e) { //first validate if the user is ...
common-pile/stackexchange_filtered
Logician: The expressive completeness result for pure-past linear temporal logic has been bothering me. If we restrict to only past operators like "Since" and "Historically," do we maintain equivalence with first-order logic over finite traces? Theorist: That's precisely where the model theory becomes intricate. Consi...
sci-datasets/scilogues
How to fix the dates of photos in Photos.app to match the EXIF data? My photo editing workflow uses Lightroom to develop the photos before exporting to disk and importing into Photos.app. The problem is that the photos in Photos.app have their date set to the import date (or maybe the export date from Lightroom), which...
common-pile/stackexchange_filtered
Computing the expected stock growth rate I need to compute the expected growth rate of a stock given the data: financial leverage 2.0 return on assets 16% dividend payout ratio 60% I don't know how to compute it nor where to start, could you please help me? Think about the firm paying 60% of its profit as dividend, it...
common-pile/stackexchange_filtered
Map bindings for google.longrunning.Operations/GetOperation to any Uri template I could not map bindings for google.longrunning.Operations/GetOperation to any Uri template. How do I solve this problem? Bindings: Array ( [name] => projects/project/operations/b1ffb4a5c0037742 ) UriTemplates: Array ( [0] => /v1/{n...
common-pile/stackexchange_filtered
Pygame Illegal Instruction 4? I am making a game in pygame and my friend came across following issue when trying to run the following code. import pygame pygame.init() screen = pygame.display.set_mode((640, 480)) pygame.display.set_caption('winter gam') pygame.display.update() running = True clock = pygame.time.Cl...
common-pile/stackexchange_filtered
Dynamically passing a model name to a CakePHP Plugin I'm having trouble wording my problem, so it's been tough to search for an answer. Hopefully you'll know how to help. I am creating a CakePHP 2.1 Plugin that will interact with a series of its own Models: - Friend - Group - User Friend and Group are models that are ...
common-pile/stackexchange_filtered
NetBeans GUI Builder from existing file I am new to NetBeans IDE and I am using NetBeans GUI builder for creating my GUIs. I am creating a new file by right-clicking the package and click new and then click the new JFrame Form. It is working fine. But I have a java file with a JFrame which I created manually by coding....
common-pile/stackexchange_filtered
Cannot call mkfs.hfs after installing hfsutils I am using Ubuntu 24.04 desktop. I have already install hfsutils via sudo apt install hfsutils But when I invoke it sudo mkfs.hfs /dev/sdb9 I still get "command not found" error. Why? You've not told us your release, but https://packages.ubuntu.com/noble/amd64/hfsutils/...
common-pile/stackexchange_filtered
JavaFX app integrated with Spring Boot and Gluon Ignite does not load FX runtime components I am trying to run a sample application that integrates JavaFX and Spring Boot, working with Intellij and Gradle. To achieve the integration I am testing Gluon Ignite using their Spring Boot Sample from the Wiki. I run the appli...
common-pile/stackexchange_filtered
Should it be ‘kennt’ or ‘kennen’ in the sentence below? In working through a wissen vs kennen exercise, I was asked to translate the following phrase: His son knows the people well. I put: Seinen Sohn kennt die Leute gut. I was then told I was wrong and that it should be Seinen Sohn kennen die Leute gut. Is ken...
common-pile/stackexchange_filtered
How to include in a style a new section? I want to define a "title" style in word 2013 which include a new page and new section. Actually, I want to set my title in a new page and centered on this page. I can change the style of the title in order to do a new section but I don't know how to include a new page before. B...
common-pile/stackexchange_filtered
AngularJs - How does a controller receive $state.go with parameters If this is my state change event: $state.go('MyState', { 'param1':'jimbob', 'param2':37}); How does the MyStateCtrl acquire these values? I tried: var param1 = $stateParams.param1 .... var param1 = $state.params.param1 .... each with no...
common-pile/stackexchange_filtered
Include Page-Break-Inside when Copying and Pasting from IE into Word I'm trying to copy and paste from Internet Explorer into Word using Excel VBA. The issue I have is that word is not applying the style correctly when it comes to Page-Break-Inside from the CSS file. Am I missing a trick with the copying and pasting si...
common-pile/stackexchange_filtered
Some SBT dependencies are ignored I use SBT to include dependencies in my project, but I couldn't find the reason why some dependencies are ignored randomly. Even if they exist in .ivy2/cache directory, I tried to delete the content of it and retry but I still have the same problem. The version of my SBT is 0.13.15 her...
common-pile/stackexchange_filtered
$.get not working in chrome but works fine in firefox I have a simple ajax get request to a page but it is not triggering in chrome though it works fine in firefox but when I check $.get in chrome developer tools it is recognised. function callMainOnUnload() { ajaxOnunload( 'myProject/index'); ); } function ajaxO...
common-pile/stackexchange_filtered
Spring Web Services 2.2.5 in Jboss 5.1.0 GA I'm having some problem while running a Spring WS quick start example in Jboss 5.1.GA. When I'm trying to deploy a jar, with my web service, I get this error: DEPLOYMENTS IN ERROR: Deployment "vfszip:/.../.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Serv...
common-pile/stackexchange_filtered
Only record audio from device itself in flutter I want to record audio from the device only, such as the music from the device. I had try package sound_stream, but it record all audio from microphone, it's not what I need. Is there any way I can record audio from device itself only? Try using this answer : https://sta...
common-pile/stackexchange_filtered
Does an anechoic chamber take mainly effect on the sound from inside or outside the chamber? per wiki, an acoustic anechoic chamber is a room designed to absorb as much sound as possible. The walls consist of a number of baffles with highly absorptive material arranged in such a way that the fraction of sound they do ...
common-pile/stackexchange_filtered
Why is the perfect tense used to describe clothing for Jesus and John? Quick question - I am learning Greek and trying to read the NT in the same. Why is the perfect tense used when describing Jesus’ (Rev 1) and John the Baptist’s clothes (Mark 1)? Specifically I am specifically using the UBS5 and looking the verb ἐνδύ...
common-pile/stackexchange_filtered
What's wrong with C#'s enum?! It's so UGLY Seriously. C#'s enum's just a plain Eyesore. (IMO). When you parse it from a string, you get a whole line of bloated legacy looking code: (EnumType)Enum.Parse(typeof(EnumType), value); Seriously? A parse method that takes in a type parameter, and spits out an object?! When re...
common-pile/stackexchange_filtered
A definite integration problem , need some help understanding the solution . $$\displaystyle \int_{0}^{1}\dfrac{1-t}{1-t^{n}}\,dt=\dfrac{1}{n}\displaystyle \int_{0}^{1} \dfrac{t^{\frac{1}{n}-1}}{1-t}- \dfrac{t^{\frac{2}{n}-1}}{1-t} \,dt$$ I don't know how in the solution the expression was broken in that way, after thi...
common-pile/stackexchange_filtered
How to hide grub menu in ubuntu 14.04 I have two operating systems: Windows 8.1 and Ubuntu 14.04. I want to hide grub menu. I'm using grub 2.02~beta2-9. I tried following combinations of /etc/default/grub: \#GRUB_HIDDEN_TIMEOUT=1 \#GRUB_HIDDEN_TIMEOUT_QUIET=true GRUB_TIMEOUT=0 grub menu is visible for 10 seconds ...
common-pile/stackexchange_filtered
Recursive Function for Coin Change algorithm returning an empty list I'm working on a recursive function which renders change in available combination of coins against a given quantity. The expected behavior is not achieved though in some cases. For example: when the available coins are {9,5,3} and total is 21 or 30 fo...
common-pile/stackexchange_filtered
Ruby - How to change an instance variable in various objects using map method Lets have a class like this: class Foo attr_accessor :var_1, :var_2, :var_3 def initialize(var_1, var_2, var_3) @var_1 = var_1 @var_2 = var_2 @var_3 = var_3 end end and now we create some objects: a = Foo.new("c", 1, "d") ...
common-pile/stackexchange_filtered
bds 2006 C hidden memory manager conflicts (class new / delete[] vs. AnsiString) I am using BDS 2006 Turbo C++ for a long time now and some of my bigger projects (CAD/CAM,3D gfx engines and Astronomic computations) occasionally throw an exception (for example once in 3-12 months of 24/7 heavy duty usage). After extens...
common-pile/stackexchange_filtered
Mysql query or Eloquent to calculate total based on items and discount on order and item level I have orders and Order_Items table. I need to calculate the total with inc and ex VAT after applying line discount and order discount. How to calculate the final price inc and ex vat? I am using Laravel and using relationshi...
common-pile/stackexchange_filtered
Serilog text formatting to contain valid json output I am logging with Serilog and have a (text) file sink with an output template and a console logger. The output template of the text file logger: "outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff}|{Level:u3}|{SourceContext}|{Message}{NewLine:1}{Exception:1}" The ...
common-pile/stackexchange_filtered
Why doesn't QProcess kill,close, terminate calls the deconstructor of the process? i have a watchdog stop function placed inside the deconstructor of the process that i executed from my C++ program. Everytime i close using the "X" button on that process QT GUI, it will run thru the codes that i placed in the deconstruc...
common-pile/stackexchange_filtered
RNN Biases & Weights I have not been able to find a concrete answer on the following questions yet. Any information that I come across online is either incomplete, ambiguous, or contradicts what another source says. Assuming you have a Recurrent Neural Network that uses biases on the input layer and all hidden layers: ...
common-pile/stackexchange_filtered
Typical Calculus BC Separation of Variables Question I was told that I have a cylindrical water tank $10$ ft tall that can store $5000 $ ft$^3$ of water, and that the water drains from the bottom of the tank at a rate proportional to the instantaneous water level. After $6$ hours, half of the tank has drained out from ...
common-pile/stackexchange_filtered
Text over image without absolute position I am trying to put some text over an image in the middle of a page. I saw an example like this: <img src="image.png" style="z-index: -1;" /> <p style="position: absolute; top: 1px; left: 1px;>text</p> but when i try to center it the text will not be in the center. <div> <c...
common-pile/stackexchange_filtered
Android - Bringing a background app to the front This code does not bring my app to the front when the user has pressed the home button and the app has receded to the background. There are no error messages: Log.d(TAG, "Bringing app to foreground"); Intent launchIntent = new Intent(Intent.ACTION_MAIN); launchIntent.add...
common-pile/stackexchange_filtered
Java: How to output user input (multiple Strings/Ints) from another method I'm brand new to Java, and also new to this site, so please go easy on me. :) I'm attempting to write a program which will ask the user for several pieces of information. After gathering the information from the user, I then need to call anot...
common-pile/stackexchange_filtered
Cash State vs Fungible token in Corda Both Cash State and Fungible Token can be used to represent money in Corda. Both can be issued , transferred(move) and redeemed (exit). What is a more appropriate type to use for representing money on ledger? Are there any pros , cons to useing either type ? We've talked on (slac...
common-pile/stackexchange_filtered
Extracting numbers Excel from string of texts I have the following information in excel. 1 PT: 1 AS 25PT: 1 AS 1.03PT: 1.02AS 1 PT: 14AS 73 PT: 1 AS 1 PT: 1 AS Each line is in a separate cell. I want to extract the numbers into different cells. So, for instance: For the first line, Column I = 1 and column J = 1 For...
common-pile/stackexchange_filtered
Conditionally Relate New Tables I run a store that sells cigarettes, which have certain promotions given to us by the manufacturer that effect their pricing. These promotions are organized into groups of products (like all menthol or all reds) and are subject to frequent change, making them a bear to manage. My end goa...
common-pile/stackexchange_filtered
Let $f: \mathbb{R} \to \mathbb{R} $ be a differentiable function satisfying $f'(x) = f(x)$ for all $x \in \mathbb{R} $ Show that $f(x) = ce^x.$ Hi guys I have been stuck on this question for while now, its a practice problem for my first year real analysis class and I have an exam coming up soon, so I really need your ...
common-pile/stackexchange_filtered
Is for_each a global function in GCC? Why does using for_each as a global function work with GCC? I would have thought if I did not include the std namespace in my namespace, e.g. using namespace std; then all std functions and classes would have to be prefixed with std::, but as you can see, for_each, begin, and end a...
common-pile/stackexchange_filtered
Avoiding the coding trap of using || to check for different conditions Usually when I want to check if one condition OR another condition is true, I would write code as follows: if (i == 5 || j == 3) { // Do whatever here. } Is there a neat/performant away to avoid the coding style trap of using the OR operator to che...
common-pile/stackexchange_filtered
How to fix query in mysql I'm creating a view table in mysql i am facing a problem in mysql query CREATE VIEW `vwStockin` AS SELECT id , refno , pcode , qty , sdate , stockinby FROM tbl_product JOIN tbl_stockin ON tbl_product.pcode = tbl_stockin.pcode It shows the following error: ...
common-pile/stackexchange_filtered
First letter Capitalize and other letters in lower case in css? <p>THIS IS SOMETEXT</p> I want to make it look like This is sometext which the first letter of the paragraph is uppercase. Is it possible in CSS? Edit: All my text is in capital letters. Portfolio this is working fine.. You could use text-transform in o...
common-pile/stackexchange_filtered
What is the word for the action of overriding something? Again this is a situation where you need to override an automatic camera and set the controls manually. This is an example for the use of Override. I had to use a word for the action of overriding something today, and couldn't think of a word. I imagined a poss...
common-pile/stackexchange_filtered
Why WAF blocks multiple spaces? In my project we are using WAF. Recently I found a bug that is, when we are adding multiple spaced words in a textbox for example Hello there, this is a multi spaced word collection . and trying to saving it, the WAF blocks the request, but when we try to save the text without sp...
common-pile/stackexchange_filtered
Convert array of bytes to hexadecimal string in plain old C I am looking into a method to convert a byte array to a hexadecimal string here is what i coded : unsigned char buffer[] = {0xAA,0xBB,0x01,0xAB,0x11,0x12,0x13,0x22,0x11,0x14}; int _tmain(int argc, _TCHAR* argv[]) { char * asta = (char*)mallo...
common-pile/stackexchange_filtered
When are x86 LFENCE, SFENCE and MFENCE instructions required? Ok, I have been reading the following Qs from SO regarding x86 CPU fences (LFENCE, SFENCE and MFENCE): Does it make any sense instruction LFENCE in processors x86/x86_64? What is the impact SFENCE and LFENCE to caches of neighboring cores? Is the MESI proto...
common-pile/stackexchange_filtered
Can I copy a kernel changes to a new machine? In order to install ORACLE database on Fedora, I had to make A LOT of changes in fedora... How can I copy all those changes and install them on my new fedora installation ? Or is it even possible to copy the whole partition (OS and software included) and install that partit...
common-pile/stackexchange_filtered
Adonisjs last update (v5) model create command Not working Adonisjs v5 Create a controller command work fine. node ace make:controller Posts But Create a new model Command not working node ace:make model Post Run the make model command show error Cannot find module 'C:\Users\abir2\Desktop\crm-backend\ace:make' adonis...
common-pile/stackexchange_filtered
Newlib: embedded vs desktop I'm compiling a Linux toolchain based on Newlib for a toy project. Newlib's official page reports: Newlib is a C library intended for use on embedded systems. but without providing any particular reason. What I'm trying to figure out is: Why newlib consider itself embedded "only"? What a...
common-pile/stackexchange_filtered
Python SSH Based Web-based Remote directory/File viewer Is there a Python & SSH based web-based remove directory/file viewer out there? Specifically, I want to be able to (over the web) browse directories, view, & download files (logs) from remote machines (authenticating via SSH). Python based and ssh based and web ...
common-pile/stackexchange_filtered
Needleman Algorithm for Optimal Alignment of two Amino Acid Sequences I want to compute the optimal alignment of two amino acid sequences as per the following definition from a patent: "The percentage of identity between two peptidic or nucleotidic sequences is a function of the number of amino acids or nucleotide ...
common-pile/stackexchange_filtered
Conversion between unknown map projections? So I have two maps One that divides regions into small provinces (represented with "ID"s) Another showing which country controlled each part (shown with colours) I want to overlay them to see which provinces would be controlled by each country. The issue is that the maps ha...
common-pile/stackexchange_filtered
Email not sending in unity android? I have looked many source and question but I am still not clear to how this code of sending email through unity is not working in android build. It works fine in windows build but doesn't work in android. Can someone help me. Here is the code - using System; using System.Collections...
common-pile/stackexchange_filtered
Getting errors while compiling Irrlicht for Android While compiling the android port of Irrlicht 3d engine: https://gitorious.org/irrlichtandroid I get the following errors: I:/Developments/irrlichtandroid/project/obj/local/armeabi/objs/irrlicht/COGLES2Driver.o:I:\Developments\irrlichtandroid\project\jni/./../inclu...
common-pile/stackexchange_filtered
Why Qiling doesn't recognize the right EntryPoint? I'm trying to emulate an EFI driver. Luckily, I found a nice emulator called Qiling and try to debug it with GDB but it doesn't recognize the right Entry-Point. Here is the Entry-Point in IDA and in GDB with Qiling. How to resolve this problem and why does it happen? ...
common-pile/stackexchange_filtered
Develop Snap-On Board For Easy Connections - Rabbit SBC At my Company, we are using the BL2600 (Seen here) to create a new automation controller to replace our older controller. Rather than have electricians have to terminate wires into a Molex connector and snap on the side, we'd rather have boards snap into the socke...
common-pile/stackexchange_filtered
Counting function for the number of zeros of the real part of $\zeta(s)$ The counting function for the number of complex zeros of the Riemann $\zeta$ function up to height $T$ is well known. I am looking for a reference that gives essentially analogous counting functions for the number of zeros of the real part of $\z...
common-pile/stackexchange_filtered
Cognito validation SAML - what is userName constraint? I'm calling the SAML authorization endpoint on my Cognito user pool and once I log in through my other provider, I get this error when redirecting back to my website: Error in SAML response processing: 1 validation error detected: Value ' ... ... ' at 'userName' f...
common-pile/stackexchange_filtered
Subcomponent - unable to uncheck the Add All Assets checkbox Can you please let me know what is wrong with my solution, because am unable to uncheck the "Add All Assets" checkbox on the Add Subcomponent. Each entity in a solution has two modes. The "All Assets" mode and the "Sub-component" mode. You can pick one mode...
common-pile/stackexchange_filtered