text
stringlengths
70
452k
dataset
stringclasses
2 values
How to hide toolbar in some fragments or open some fragments in full screen mode I am able to hide the toolbar in a fragment using this code: ((AppCompatActivity)getActivity()).getSupportActionBar().hide(); But the problem is that when I press the back button to come from another fragment, the toolbar is also not show...
common-pile/stackexchange_filtered
ASP.NET webapi messed up when url contains @ character In our restful api some calls contains an email in the url, like this: <EMAIL_ADDRESS>In this case the call succeeds, but if I remove the end slash, the call answers with a 404, it seems like the routing mechanism is messed up when the latest parameter in the url c...
common-pile/stackexchange_filtered
How to detect if BT headset is connected in Android SDK? I made an app that plays back audio files, and has an option to switch the audio path between the headset, speaker, and a BT headset. However, I can't figure out a way to have the app detect if there is a BT headset connected. I can check if BT is enabled or disa...
common-pile/stackexchange_filtered
How to fix "We don't execute document.execCommand() this time, because it is called recursively" execCommand delete I'm making a form with html5 and I'm validating the fields with jquery, what happens is that if in a text field I enter a number this is deleted immediately through the document.execCommand('delete') but ...
common-pile/stackexchange_filtered
Docker could not find package.json files I am very new to docker and have been encountering this error consistently when trying to build a node container with angular as the framework. I have a simple Dockerfile FROM node:16-alpine AS build RUN mkdir -p /app WORKDIR /app EXPOSE 4200 ENV PATH /app/node_modules/.bin$PA...
common-pile/stackexchange_filtered
How to get current KoinApplication instance? I'm using loadKoinModules to load modules in a multi-module project with Koin and Jetpack Startup library. I'm trying this way, but it's an internal function getKoin().createEagerInstances() I have seen that KoinApplication has the createEagerInstances method as public, bu...
common-pile/stackexchange_filtered
Import framework for whole project at one place in Swift? I made an own Cocoa Touch Framework, and I want to import it only at one place in the code. In Xcode / earlier in Objective C there were a central location under Supporting Files. How does it work for Swift based project? have you found a solution for this? no...
common-pile/stackexchange_filtered
Fatal signal 11 (SIGSEGV) code=2 while using service In my application i am using a background service, Here is its basic code <application android:allowBackup="true" android:vmSafeMode="true" android:allowClearUserData="true" android:hardwareAccelerated="true" android:largeHeap...
common-pile/stackexchange_filtered
Apache directory permissions for a company intranet I have a company intranet that I have recently migrated from Novell to Linux. I am trying to set up user permissions and I am losing my mind. There are a couple dozen departments, each with a dedicated directory in the web root. There are also shared directories for ...
common-pile/stackexchange_filtered
Why is there no term for potential energy in the expression for total energy of a particle? In my physics class I studied that the total energy of any particle is given by, $E=K+m c^{2}=\frac{m c^{2}}{\sqrt{1-v^{2} / c^{2}}}=\gamma m c^{2}$ = $\left(m c^{2}\right)^{2}+(p c)^{2}$ Let us focus on the first expression : $...
common-pile/stackexchange_filtered
git-how to maintain multiple repositories inside one repository Probably this can be solved using submodules, but I don't know how in this case. I am thinking of this hierarchy: web-app-repo/ .git README.md fontend-repo/ .git README.md backend-repo/ .git README.md The web-app-repo i...
common-pile/stackexchange_filtered
The Organic Group membership Entries in the Registration form is showing all the translated entry My Organic Group is translatable In several languages. Right now, the problem is that If someone want to register on the website and this user is viewing the website in french, he seen all the organic group list in both la...
common-pile/stackexchange_filtered
UIrefreshcontrol doesn't reload new items with pagination I have imported a cocoa pod namely PaginatedTableView and it has built in UIRefreshControl and Pagination features. When I pull up the page, app crashes because of index out of range error which I think is happening because of Refreshcontrol. I have tried to fin...
common-pile/stackexchange_filtered
What was Sabine Schmitz saying when she introduced The Stig in German? In Series 23 Episode 3 of Top Gear when they hand the Audi R8 over to The Stig, there was the customary introduction / joke. On this occasion it was delivered by Sabine Schmitz, in German. Unfortunately my German is rustier than a 25 year old Alfa R...
common-pile/stackexchange_filtered
Subdirectly irreducible groups A group is subdirectly irreducible provided it has a least nontrivial normal subgroup. Subdirectly irreducible groups are also referred to as monolithic groups in the literature. Every simple group is sub-directly irreducible, but there are many subdirectly irreducible groups that are not...
common-pile/stackexchange_filtered
WebClient FTP upload creates bin and hqx files I am trying to upload a String to an FTP server. It works but it creates a bin and a hqx file additionally. Question is: How can I omit these files when using WebClient. The code is: using (WebClient client = new WebClient()) { client.Credentials = new NetworkCredentia...
common-pile/stackexchange_filtered
Exception thrown when adding new project into solution I'm trying to programatically add new project into solution via Roslyn. var msWorkspace = MSBuildWorkspace.Create(); var solution = msWorkspace.OpenSolutionAsync(Constants.pathToSolution).Result; var projectId = ProjectId.CreateNewId(); ...
common-pile/stackexchange_filtered
Using a cell reference inside a function I'm putting together a worksheet that uses a dropdown to choose a value from a predefined list. The list is a series of YYYYMM values. I'm trying to take the selected value in the dropdown cell and use it in a file name inside of a VLOOKUP, see below: =IFERROR(VLOOKUP($E$2,'/Mon...
common-pile/stackexchange_filtered
python 2.7 - reorder the output of lists with a new 'order' constraint I know some basics in c++, but I am a beginner in python. I have a piece of working code (see below) and I'd like to add a constraint for formatting its output, and I cannot figure out how to do it... Let me first explain what the program does: I ha...
common-pile/stackexchange_filtered
SingnalR IIS AngularJS Performance Issue I have an application running on IIS 7.5. It uses angularJS, HTML5, MVC4. I'm using SignalR for managing some push events from the IIS. When I start the application, signalR takes a lot of time to get going. Has any one faced such an issue before? Please help. Attaching the call...
common-pile/stackexchange_filtered
Importing geopackages (epsg:900913) into PostgreSQL/PostGIS shows up as 900914 I am having this weird issue that I am trying to wrap my head around to figure out what is wrong but have not yet figured out. Hopefully someone with more experience would be able to provide some input or feedback. Installed on my OS QGIS 3...
common-pile/stackexchange_filtered
When does the garbage collector free the 'request' object? var http = require('http'); function createRequest() { var options = {}; var request = http.request(options, function(response) {}); request.end(); } createRequest(); Above is a small Node.js snippet. The return value of http.request is an instance...
common-pile/stackexchange_filtered
Let's be nice to each other As a moderator, I'm often staring at a list of the most offensive content currently available on the site. I keep seeing certain patterns emerge, and I think these patterns are potentially dangerous. At least once a day, I see a comment chain that looks like: User1: (unconstructive critici...
common-pile/stackexchange_filtered
React, complex useState syntax confusion I have a function in useState that I'm having a hard time understanding, how it's working. In short, where's the body of the function setSelectedAccount. Following are the places in code: In app.jsx inside useState hook: const[selectedAccount, setSelectedAccount] = useState({})...
common-pile/stackexchange_filtered
compare two dictionaries key by key I have two python dictionaries like below : d1 ={'k1':{'a':100}, 'k2':{'b':200}, 'k3':{'b':300}, 'k4':{'c':400}} d2 ={'k1':{'a':101}, 'k2':{'b':200}, 'k3':{'b':302}, 'k4':{'c':399}} I want to compare same keys and find out the difference like below: {'k1':{'diff':1}, 'k2':{'diff':0}...
common-pile/stackexchange_filtered
Math Brain Teaser! Can't solve, please help! The sum of face values of two coins is twice the difference of the two. Find them. My math professor gave us a brain teaser, but I am extremely confused on how to solve it. I am aware that it might be a April Fool's joke, but he still wants a solution.. I know that one coi...
common-pile/stackexchange_filtered
Inrush current of high voltage power supply I have seen some solutions for inrush current, but my case I think it's a little different. The point is that I need to limit the inrush current of 1500 volts peak rectified. In my project I need to keep charging and discharging a 200uF capacitor with 1500V every 50ms. So I c...
common-pile/stackexchange_filtered
Review Queue badge list displays unrelated badge For some reason I'm unable to upload or add the screenshot as an image for this. I get a message about an error with imgur. Here's the screenshot link: In the review queue, you can hover over badge progress to see a list of some badges and the progress you have on them....
common-pile/stackexchange_filtered
Add Attachments After Filename Statement in SAS When sending emails outside of a data step, is it possible to update the attachment list after the filename statement? Within a Data step you can use the !EM_ATTACH! directive to change the attachments on the fly, but that doesn't appear to work outside of a data step. ...
common-pile/stackexchange_filtered
Laravel One to Many Relationship not working I am doing my assignment for a hotel booking system. I have a table named bookings and another table room. I did a one to many relations between them I want to return the room name to the home view but it is always showing Trying to get property of non-object. This is my cod...
common-pile/stackexchange_filtered
How to alter role from command line in postgresql? I'm trying to build a setup script to automate the development environments creation, but I'm having trouble both trying to pipe or using the -c modifier for psql. I've tried: sudo su postgres psql -c "ALTER ROLE postgres WITH password 'pass'" and sudo su postgres ps...
common-pile/stackexchange_filtered
how to open a folder by clicking a button in windows form application How to open a folder by clicking a button in windows form application I am developing a project in windows form application where I have created PDF file.By clicking a button, I want to open the folder of PDF file where I have saved it. so how can I...
common-pile/stackexchange_filtered
Height of the geoid in ECEF coordinates I know that the relationship of geoid height N and ellipsoid height h to orthometric height H is defined by H = h - N, but what if I have some position in Earth-Centered-Earth-Fixed (ECEF) coordinates? Specifically, I am looking to relate the height of the geoid (for some partic...
common-pile/stackexchange_filtered
How to ignore entire unit test project using NUnit and ReSharper I have a Visual Studio solution which contains a number of C# unit test projects based on NUnit. Our TeamCity environment selects the specific unit test DLLs to run. However, when running the unit tests in the solution locally using ReSharper, it runs eve...
common-pile/stackexchange_filtered
Use Ajax request on LinkPager rendered by renderAjax Basically, I use common AJAX techniques on action1 to send a request to action2 and then get the generated data and display on action1. In action2 accessed by simple JS AJAX request, I return a page rendered by renderAjax, and display that HTML returned into some div...
common-pile/stackexchange_filtered
Flutter custom animated dialog I'm trying to animate a custom dialog box in dart so that when it pops up it create some animations. There is a library in Android that is having animated dialog boxes, is there any similar library in Flutter Sweet Alert Dialog how can we achieve the same functionality in flutter? Flutte...
common-pile/stackexchange_filtered
How far is R to creating more fluent looking web maps? I was wondering how close is R is to creating web maps like this one, below. I'm particularly interested in with the sidebar appearance and functionality. I figured there has to be some sort of progress, given Leaflet functionality already exists in R. The best I'...
common-pile/stackexchange_filtered
MYSQL adding and multiplying from 2 tables I have 2 tables and here are the values. bom ---------------- bom_id | bom_quantity 1 | 1 2 | 4 material_mater ---------------- material_master_id | material_price 1 | 10 2 | 4 I would like to get the result o...
common-pile/stackexchange_filtered
Communication between synchronous and asynchronous points I have three elements in my scenario: A = browser B = J2EE server listening for Websockets and simple GET requests C = Java application connected to B with websockets A makes GET request to B (synchronously), B sends Websocket message which holds request informa...
common-pile/stackexchange_filtered
Debug Delphi multi-thread app - how to get the one consuming 100% CPU I'm debugging a multi-thread delphi app. We are having a trouble that, after connect to the server, the client app is getting 100% of the CPU. Is there a way for me to debug and know shich thread is dois that? Process Explorer will give you usage d...
common-pile/stackexchange_filtered
iOS 8 + interactive transition + nav bar shown = broken? We're trying to add an interactive transition in our app between two views. We can make it work fine on iOS 7, or on iOS 8 without the navigation bar being shown. But, we need to have a navbar shown. To demonstrate (some of) the problems we're having, I created a...
common-pile/stackexchange_filtered
Is it possible for $(900q^2+ap^2)/(3q^2+b^2p^2)$ to be an integer? The original problem is: "Find all possible pairs of positive integers $(a, b)$ $$k = \dfrac{a^3+300^2}{a^2b^2+300}\tag1$$ such that $k$ is an integer." I've tried so many different ways. Now this question comes up from one of them. Let, $$\left(\dfra...
common-pile/stackexchange_filtered
Use _TIME_BITS=64 to solve the y2038 problem I added the macro of _TIME_BITS=64 to Buildroot, and the system can set the time after 2038 after compilation, but if it exceeds 2038, my timestamp is -1, how to solve it date -s "2038-11-23 00:00:00" Tue Nov 23 00:00:00 UTC 2038 date +%s -1 Please provide more info about ...
common-pile/stackexchange_filtered
How to make html menu for JavaScript call? I made online drawing for electronics layout editing and used html form select tag to pick the component to draw. <label>Electronics component - <select id="chose"> <option value="resistor">Resistor</option> <option value="pot">Potentiomenter</option> <...
common-pile/stackexchange_filtered
How to do index based form validation in reactjs? I have an array, I am mapping that array into input fields(SelectInput), I can do form validation if the values are known, but in array input fields are dynamic, can any one help me or can give me an idea how to do form validation in array-based input form? state = { ...
common-pile/stackexchange_filtered
Days in UTC to days in local time zone I have an array of days eg : days_of_week: ["SUNDAY", "TUESDAY", "THURSDAY"] hours : 19 minute : 30 this array denotes the days in UTC timezone. I want to display the array of days in local timezone. So, the above example would look like (at IST (UTC+5:30)) days : Mon, Wed, Fri ...
common-pile/stackexchange_filtered
How to fix 'No such module SQLite' on Swift 3 I am working on Swift 3 in an application that works with a local database, the problem is that when I type "import SQLite", I get this error: "No such module SQLite" I already tried to solve this problem using command in the terminal using "pod init" but I can not find a s...
common-pile/stackexchange_filtered
Detect where the user came from using php I have this code on members.php <?php if (!isset($_SERVER['HTTP_REFERER'])){ header( 'Location: http://www.mywebsite.com/index.php' ) ; } else { echo "Ok"; } I am trying to avoid people access my members.php without being redirected by my domain but if a user clicks on a li...
common-pile/stackexchange_filtered
How to match email address that with repeat number How to find email address that below: repeat with 1 same number,like<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>increment or decrement numbers,like<EMAIL_ADDRESS><EMAIL_ADDRESS>repeat like<EMAIL_ADDRESS><EMAIL_ADDRESS> because these email is not allowed to register a...
common-pile/stackexchange_filtered
Specify which disk group a VM should use in VMWare VSAN I have a small, two-node setup, plus the virtual VSAN witness virtual appliance. The two physical nodes are directly connected, using two 10GbE nics. Each node has two disk groups containing: Disk Group 01 (All Flash) 1x 128GB SSD (Cache) 1x 1024GB SSD (Capacity)...
common-pile/stackexchange_filtered
How do I enable a clipboard manager? I've manually installed clipboard managers in Ubuntu before (both Klipper and Glipper, IIRC), and found them useful. Does 11.04 ship with a standard clipboard manager? If so, how do I enable it? If not, how do I install and enable one (I guess Glipper is the best best, given that Un...
common-pile/stackexchange_filtered
Heapsort:Heaps =~ Quicksort:BSTs =~ Mergesort:___? Please excuse the terseness of the title, I may have sacrificed clarity on the altar of conciseness. One can see that inserting elements of an array into a binary search tree and reading them back out requires (on insertion) the same comparisons as running Quicksort on...
common-pile/stackexchange_filtered
What is the best way to use imports while importing components Optimization in importing --I want to discuss about optimization. Here are 2 ways of importing components. first case import { Accordion, Button, Modal } from 'react-bootstrap'; second case import Accordion from 'react-bootstrap/Accordion'; import Button fr...
common-pile/stackexchange_filtered
How to check if a boxed value is a default value I've a piece of code that has currentValue of type object. object currentValue = 0; bool result = object.Equals(currentValue, default); I would expect the result to be true because 0 is a default value. This is also not true object.Equals(0, default); Even this is not...
common-pile/stackexchange_filtered
.Net Core app in docker container can't connect to SQL Server So I know there are a load of questions on SO related to this already, but I think at this point I've read them all, tried all the suggestions, and still haven't found a resolution. I've got a simple .Net core MVC app with a connection to a local MSSQL datab...
common-pile/stackexchange_filtered
Android: how to start the app intalled in the phone using the packagename and pass it a parameter? I HAVE REEDITED THE QUESTION I am getting the apps installed in the Android phone with the code below. I put the info of the app in an instance of PInfo (one of my customized class). Now I want to get one of them and open...
common-pile/stackexchange_filtered
is there any games which give the concept of data structures to player during playing ?? i have to implement the data structure concept in games so user can clear their concepts by playing it for example tower of Hanoi give the concept of stack during playing. is there anymore games which give the concepts tree,queue,l...
common-pile/stackexchange_filtered
Distinction between contraction and application of a tensor in abstract index notation A somewhat similar question is this one but it is not quite the same. I am getting used to the abstract index notation used for tensor algebra. So far so good, but the is one issue that concerns me, In General Relativity by Wald, it ...
common-pile/stackexchange_filtered
Enable WS-Addressing in Mulesoft Web service consumer How to enable WS-Addressing in Web service Consumer of Mulesoft. When I search for WS-Addressing in mulesoft. It points to CXF. However the docs point that it's recommended to use web service consumer rather than CXF. So is there any way to enable WS-Addressing. S...
common-pile/stackexchange_filtered
ZFS pool degraded on reboot I have a Ubuntu server set up with a 14-disk ZFS raidz2 pool. About 80% of the time, on reboot, I will end up with a degraded pool with two of the disks marked as faulted. The drives that are faulted aren't always the same, but it is always exactly two drives. For example: $ sudo zpool sta...
common-pile/stackexchange_filtered
Can I defend with a card from my hand and a defense reaction against an attack with "Dominate"? My opponent played an attack with Dominate against me. I defended with a card from my hand. Now, it's time to play defense reactions. Can I play one and add its defense stat to the chain? If yes, why? Dominate says "you can'...
common-pile/stackexchange_filtered
What is this font? On the website insomniac.com, the logo "insomniac" what font is that? I've tried taking a screen shot and using whatthefont.com but the choices it gives me aren't 100% spot on. Does anyone have an idea? Best Dupe: How can I identify fonts from an image? Also try http://www.whatfontis.com/ and http:...
common-pile/stackexchange_filtered
createBottomTabNavigator: how do I reload/refresh a tab screen on tab on the tab-icon? So I have a TabNavigator with 3 screens. import React from 'react'; import {TabNavigator,createBottomTabNavigator } from 'react-navigation'; import ActivateScannerPage from '../pages/ActivateScannerPage'; import ScanTicketPage fro...
common-pile/stackexchange_filtered
Can I export a GCloud drive image to store locally and restore later? Can I export a GCloud drive image to store locally and restore later ? I need to save money for drives that I most rarely use. Seems the SSD-Drives amass the bulk costs that I need to avoid without deleting the disks. Regards, Frank This document in...
common-pile/stackexchange_filtered
Should seperate Task Lists and History Lists be created for each workflow? When creating Workflows, you have the option of creating new Task List for the Workflow or using an existing Workflow task list. The same type of option is available for the History list of the workflow. My question is then, is it better to re-...
common-pile/stackexchange_filtered
Equal in distribution, linear combination of random variables I have a problem that I am working on, and I am trying to figure out if there is more information I can say about it. I have that $X, Y, Z$ are iid and that $\frac{X + Y+ Z}{\sqrt{3}} \overset{d}{=} X$, and $E(X^2) = 1$. I need to find the distribution of X...
common-pile/stackexchange_filtered
passing variables inside a regexp in tcl Possible Duplicate: How to use a variable in regexp expression (TCL/Expect) I want help in passing varibles to a regexp. Suppose my code is set line "MPID:22 condition:AIS" set id 22 if {[regexp {MPID:$id} $line]} { puts "inside if" } This regexp doesn't work. If I change r...
common-pile/stackexchange_filtered
How to write an image from byte[] into MS WORD using C# Windows application I have tried to write data from FileStream, StreamWriter to a word file. It's working fine when the data is text format(using StreamWriter). But when I tried the same with Binarywriter (for writing image to word doc) it's writing incorrectly t...
common-pile/stackexchange_filtered
Get sub folder from document library using SharePoint.Client.dll I need to get the folder named Arshad from SharePoint Document library folder. The path of the sub folder is : http://url/Shared Documents/Arshad I need to access the folder using SharePoint Client object model. When I try accessing, it shows me an erro...
common-pile/stackexchange_filtered
RestKit and XCode4 Error I'm trying to use RestKit in an XCode4 project, but it's giving me this warning: ld: warning: directory not found for option '-L/Users/kagi/Coding/iOS/Projects/testProject/RestKit/Build/Debug-iphonesimulator' I'm not seeing anything in my build settings that points to that directory... Any ins...
common-pile/stackexchange_filtered
Iphone code and android item = [[NSMutableDictionary alloc] init]; [[self item] setObject:self.currentDay forKey:@"day"]; This is the code for iphone wat is its equivalent in java Map<String, Object> item = new HashMap<String, Object>(); item.put( "day", currentDay ); wow.. tanks for the answer. its ver...
common-pile/stackexchange_filtered
recover original file system from raid6 iso's I started with 5 drives. 1 has failed (i.e. fails to communicate anything) and 2 more are returning read errors. My plan is to use ddrescue to store the 4 working drives to iso files. After this I can map the iso's to virtual devices, however, how do I force mdadm to scrub...
common-pile/stackexchange_filtered
Can I disable the animated text responses in ChatGPT? I understand that performing inference on a large language model takes time, which is why ChatGPT does not respond instantly. ChatGPT's responses appear on the screen at a few words per second using a typewriter effect. However, according to ChatGPT, the underlying ...
common-pile/stackexchange_filtered
@Scheduled method cannot use the repository I've added a method with @Scheduled(fixedDelay = 0) annotation, and within the method I'm using some repository, initialized in the class with: @Autowired private ContactRepository contactRepository; About the repository: public interface ContactRepository extends CrudReposit...
common-pile/stackexchange_filtered
Jet/Access DDL: How to create FOREIGN KEY constraints without data integrity check? When you create foreign key constraints with Access (through database schema editor), you have a choice to enable or disable the following options (actual captions may differ, I only have localized version of Access available): x Enforc...
common-pile/stackexchange_filtered
Python - Calculate image extent based on center coordinate, number of pixels and rotation angles I have images with a center geo-coordinate and rotation angles in x- and y-direction. Now I want to georeference them by setting up a GeoTransform object. For non-rotated images, this is easy, using ul_x = cent_x + ((cols /...
common-pile/stackexchange_filtered
"William's heart jumps at the sight of such small bodies . . ." (From A Terrible Kindness by Jo Browning Wroe, Part I, Aberfan, chapter 4) (In the vestry of the chapel where there are some facilities for the embalmers) In the chapel gloom, William can just make out cocooned shapes; on the pews, upstairs and downstai...
common-pile/stackexchange_filtered
Does the MVS algorithm in this case give a bad build list, that is, a build list with a redundant module? I am reading the MVS algorithm used for selecting build list in golang and I have one question for algorithm 1 from the paper. I am using the example from the paper. A rough build list is just made by following the...
common-pile/stackexchange_filtered
Array PHP to javascript? I am not sure whether I am asking a dumb question again or not but because I am really a newbie in javascript and php so do hope that someone can help me out on this. The problem I am facing now is I now have a PHP array named "$horse_info" which consists of all info of horses. Now I will like ...
common-pile/stackexchange_filtered
Pseudocode for SQL query Hi guys i have the following question, Assume tables foo(a int, b int) and bar(a int, b int) and assume you are given a stream ‘TableReader’ that reads rows from a table that has the following methods: tr.next() returns the next row of a type ‘row’ from the stream if there is a next row or null...
common-pile/stackexchange_filtered
jquery remove specific element from a specific id I have 2 div like this: <div id="container1"><input class="1"><input class="2"></div> <div id="container2"><input class="1"><input class="1"><input class="2"></div> Now how do I remove all class="1" but only from the container2. I've noticed that none of your input t...
common-pile/stackexchange_filtered
Connect AnyLogic to SQL Server database the new build-in database in AnyLogic 7.3 allows to connect to a SQL Server database. I am struggling to connect it to a local database that I set up using SQL Management Studio (using SQL Server 2008 R2). A few more facts to clarify: My dbase is called "myDBase" and has a db_ow...
common-pile/stackexchange_filtered
Drupal Studs help me with my form_alter hook ( I am almost there) So I think I am almost there conceptually but need some missing pointers. Objective is to add a few more fields to the normal user registration form, style it a little, then submit it with storing the extra fields in a table. This is what I have so far. ...
common-pile/stackexchange_filtered
can't receive values from spring cloud config server Using @Value(${fanout.exchange}) annotation failed to init while using a spring-cloud-config server with Github repo. I'm getting: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'queue' defined in class path resource [com/eloom...
common-pile/stackexchange_filtered
Adding and subtracting a set of numbers to reach a value From a vector of float numbers std::vector<float> v { 0.32, 0.0004, 12.78, -9.2, 1.1 }; I am trying to find out what series of "+" and "-" one can place in front of each float number to get a result that is as close as possible as the value GOAL. Note that no nu...
common-pile/stackexchange_filtered
Angularjs/Jquery data() How to attach arbitrary data to an html element declaratively, and retrieve it. Please see the code. http://plnkr.co/edit/sePv7Y?p=preview Angular has the jQuery data() support. So, I want to attach data to each li element (say _data = node ) in the template, and later on to retrieve it using v...
common-pile/stackexchange_filtered
How to set startup executable for a VC++ project? This is a pretty novice question, but I've been trying to build and run Ghostscript using Visual Studio 2012. When I try to do "Start Debugging" or "Start Without Debugging" the project builds fine, but then I get the error "Unable to start program 'C:...\ghostscript-9....
common-pile/stackexchange_filtered
Can't detect wireless access points on Kali Linux So I have Kali Linux installed on my Lenovo g500 laptop. Wired connections work just fine but I cannot connect to wireless access points or detect them. I am literally out of ideas, so here is the information that might help you help me : -When I start up the computer(...
common-pile/stackexchange_filtered
strategy to move funds between international accounts I need to transfer funds from my German funds portfolio to an international broker. Most of my assets are in the profitable zone now. Only two are negative currently. I wondered which strategy might be the best for moving them: sell all assets (and buy them or othe...
common-pile/stackexchange_filtered
React js : executing functions dependent on state change I want to execute a function only after a state has been set. My code is as below export function Details() { let params = useParams(); const certificateData = useContext(DataContext) //fetching data from the database on load const [individua...
common-pile/stackexchange_filtered
Trigger Angular 2 pipe after page refresh with data from promise In my application I have a table which is filled by an array and where I use a filter on it. In a OnInit, a promise is called to get the data. Now the problem is that after a refresh, the value of _projects (and the input parameter of transform) is undefi...
common-pile/stackexchange_filtered
in Java, best way to validate objects with properties annotated with @NonNull I'm implementing an API gateway in Java, where the request object has lots of fields and subobjects. There are numerous properties that are required (should not be null) and some that are optional. The code runs in Karaf and is using Blueprin...
common-pile/stackexchange_filtered
What's the ruling on a person who studies Islam sincerely, but ends up disbelieving? Suppose a person studies Islam with a sincere heart, but does not find the arguments in favor of Islam genuinely convincing, and dies as a non-Muslim. Does Islam differentiate between such an individual, and someone who denies Islam du...
common-pile/stackexchange_filtered
Decrepyt Password Field I want to Decrypt the password of Contact portal. But In my Code Unrecognized based 64 :* error occured. I did that things first timei.e didnt understand what is the main problem. maybe my code is wrong or somethings else. this is my code which i tried to decrypt the password field static v...
common-pile/stackexchange_filtered
Charged sales tax when removing deceased person from title I purchased a vehicle with my grandma on the title. It was listed as “my name & grandmas name, last name” on the title. My grandma passed away. I refinanced my car (for a lower interest rate) and used my signature and her death certificate. The new bank got the...
common-pile/stackexchange_filtered
Kali linux - Crontab @reboot is not executing I'm on Kali Linux with VERSION_ID="2019.3" uname -a Linux kali 4.19.0-kali5-amd64 #1 SMP Debian 4.19.37-6kali1 (2019-07-22) x86_64 GNU/LINUX Trying to execute adjust_timezone.sh placed in /usr/local/startup_scripts/ #!/bin/sh echo "Adjusting timezone..."; ntpdate in...
common-pile/stackexchange_filtered
Why is this generic class generating a compiler error? I have this class: public class Transform<PositionType, RotationType, ScaleType> where PositionType : Position where RotationType : Rotation where ScaleType : Scale { public Transform<PositionType, RotationType, ScaleType> Parent; public Positi...
common-pile/stackexchange_filtered
XSL-FO Region-Body background image I have to add a background image to a page and add some text/content on the page. I am new to XSL-FO so I did some research. It looks like I need to use Region-Body and add the image using background-image attribute. <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1....
common-pile/stackexchange_filtered
How to derive a template class that needs a template type of a nested class? I'm using OpenGL (C API) and encapsulating a few things in classes. Basically calls to glGenX generate GLuints that are handles to the actual thing created. When you're cleaning up you should call glDeleteX on these handles. What this means, i...
common-pile/stackexchange_filtered
Reproducible research and corporate identity My university is on a drive to unify its corporate identity (it makes me sick just typing that). This drive includes branding our lecture slides, research talks, and research posters. The branding templates are not released under an open license and utilize a copyrighted log...
common-pile/stackexchange_filtered