text
stringlengths
70
452k
dataset
stringclasses
2 values
What is DMIPS/MHz? As I was reading the datasheet of STM32F103C8T6, I saw that it had 1.25 DMIPS/MHz (Dhrystone). What is DMIPS/MHz? I am adding the link to the datasheet here https://en.wikipedia.org/wiki/Dhrystone#Results Dhrystone is a standardized speed test with a specific workload mix. Different CPU architectur...
common-pile/stackexchange_filtered
Shiny dynamic buttons quite a tricky situation here. I am trying to generate a UI to manage projects in an App. What I do is that each user has his list of projects stored somewhere, and from this list of project I generate, for each project, a div containing four buttons (later buttonTitle, continueProj, deleteProj an...
common-pile/stackexchange_filtered
check if data cache and presentation cache are enabled How to check if data cache and presentation cache are enabled or not in Sitecore? I have received the feedback to enable Sitecore OOTB data and presentation cache. How to check above settings? On https://XXXXXXX/sitecore/admin/cache.aspx page, you can find all the...
common-pile/stackexchange_filtered
Relation between metrics Let $$\eqalign{ & d\left( {x,y} \right) = \mathop {\max }\limits_{1 \leqslant i \leqslant n} \left\{ {\left| {{x_i} - {y_i}} \right|} \right\} \cr & d'\left( {x,y} \right) = \sqrt {\sum\limits_{i = 1}^n {{{\left( {{x_i} - {y_i}} \right)}^2}} } \cr & d''\left( {x,y} \right) = \sum\lim...
common-pile/stackexchange_filtered
cpan problems with 02packages.details.txt.gz I'm getting complaints about 02packages.details.txt.gz when I'm trying to install a package with cpan. The error is "Warning: Your /root/.cpan/sources/modules/02packages.details.txt.gz does not contain a Line-Count header. " Apparently, according to cpan, this is not a valid...
common-pile/stackexchange_filtered
why is iPhone launch image not lining up with main screen background image at transistion? Background: I have an iPhone application for which I want the launch image to be exactly the same as the background image for the main screen - so that upon loading the "launch image" is shown, then when the apps loads the main ...
common-pile/stackexchange_filtered
How do I install SQL Full-text Search onto another instance? I have installed TFS onto another server, and restored the TFS databases to a new instance. I keep running into the error: TF255149: The following server that is running SQL Server does not have the full-text search feature installed: [instance name]. This f...
common-pile/stackexchange_filtered
How is this character on Clairvoyant's side? In the last episode S01E16 of Marvel's Agents of S.H.I.E.L.D., it is revealed that Agent Victoria Hand is a villain. She is either Clairvoyant herself or she is working for him. She is a high-level S.H.I.E.L.D. agent to order Melinda May for secret reports. Mike Peterson ...
common-pile/stackexchange_filtered
Spark (pyspark) how to reduceByKey on only 2 element of a tuple of 3 element I have the result of map that looks like this [ ('success', '', 1), ('success', '', 1), ('error', 'something_random', 1), ('error','something_random', 1), ('error', 'something_random', 1) ] Is there a way with a reduce by key to endup as...
common-pile/stackexchange_filtered
Is there a definitive list for ALL of KITT's capabilities? In a practical sense, we know many different cars were used to do different stunts and driving for specific scenes in Knight Rider. In-story, it is also explained that KITT had a lot of standard capabilities: his A.I., the turbo booster, enhanced communication ...
common-pile/stackexchange_filtered
VBA pass parent class to child class I found a great post on SO that seems to be exactly what I want: Is it possible to access a parent property from a child that is in a collection? However my adaptation of it is giving me Object doesn't support this property or method. My code which now works thanks to Mat's Mug and ...
common-pile/stackexchange_filtered
ThreeJS- Ensuring objects placed on sphere are resting on the surface I have a globe with the data of country borders. I have spheres placed at the center of the bounding box of each country- unfortunately for large countries such as the US, Russia and China or countries like France with islands in the atlantic, the ce...
common-pile/stackexchange_filtered
Is there a process through which I can figure out the correct types for my Diesel functions? I'm using Diesel and would like to pass parts of my queries into functions and return parts of queries from functions. I'm struggling with working out my function signatures. I want to load a blog post by ID, but first I want t...
common-pile/stackexchange_filtered
Customizing a bibliography style I am working on a project that requires the bibliography style to appear like that (in each reference, the 2nd and further lines must appear indented): I am using a .bib file that is included on the abntex2 document package. Is there a way to create this specific style of bibliography?...
common-pile/stackexchange_filtered
Get property from mapped click event I want to be able to access a mapped items ID. so inside the map, I have a link button that has an onClick event. How can I access that specific items ID when it is clicked? idTest(){ console.log('id:', item.id); } this.dataTest = this.state.data.map((item, key) => <div ...
common-pile/stackexchange_filtered
How do I make a custom Flash component work with any font? So we have a component we have written ourselves that deals with text display and translation between languages, reading translations from a file. Ideally what we would like to do is have this component be compatible with any font we can embed in the main .swf'...
common-pile/stackexchange_filtered
Button Click insert with infusion portection I have button click event where items from a textbox is placed in the sql table. my problem is that i can not resolved an error that i am getting. the code is as follows var cntstring = ConfigurationManager.ConnectionStrings["DefaultConnection"].ConnectionString; var...
common-pile/stackexchange_filtered
Does the Devi Bhagavatam say that Lakshmi and Saraswati are daughters of Parvati? While reading what ISKCON has to say over the authenticity of the Devi Bhagavatam, I found some people saying that the controversial Purana saying that Lakshmi and Saraswati to be the daughters of Maa Durga when other scriptures say that ...
common-pile/stackexchange_filtered
Is docker swarm manager part of the swarm cluster? I don't quite understand why the official documents are using so many machines to create a swarm cluster. Is it possible to hv consul and swarm manager in the same machine ? Also, is swarm manager part of the cluster ? If, say, I create an overlay network, is swarm man...
common-pile/stackexchange_filtered
Video Errors when using VLC or cv2.VideoCapture to view webcam but not cheese Recently I have been trying to set up WSL2 to run Ubuntu 22.04 and OpenCV. I have successfully installed everything and have used usbipd and a WSL2 Kernel that enables usb webcam support to allow wsl access to my webcam. This was verified by ...
common-pile/stackexchange_filtered
403 Forbidden Magento Imagies My Media url is giving me a 403 I don't understand why I can see the product images but i can see other images like me slides. Any ideas i set the folder to 755. I've tried other methods that were posted here on stackoverflow but they don't seem to work. Have you set the contents of the f...
common-pile/stackexchange_filtered
Enabling/Disabling RequiredFieldValidator I have 2 combo box drop downs. On page load the 2nd drop down with validator are disabled. If the user selects any value from the first drop down I enable it. The 2nd drop down enables but the validator does not. page load Protected Sub Page_Load(sender As Object, e As EventArg...
common-pile/stackexchange_filtered
How to measure the energy required to pedal an exercise bike I have hacked a FitDesk exercise bike to output the RPM of the pedals and the position of the resistance control within its range of travel. I want to characterize the energy that is required to pedal the bike at different RPMs and resistance settings. My app...
common-pile/stackexchange_filtered
node.js program hangs on Amazon linux server I have an ubuntu server on Amazon and I'm trying to run a node.js program on it. The program has only one line: console.log('Here I am.'); Nothing gets output and program does not exit. when I run ps x, I can see one [node] process in STAT D state: 751 ? D 0:0...
common-pile/stackexchange_filtered
MYSQL DELETE row if duplicate key exists in same table with specified value This may be tagged as a duplicate, but I wasn't able to find this example in my search. I have a product-to-category table that allows duplicate keys, therefore allowing products to be placed in multiple categories by ID. I have a situation w...
common-pile/stackexchange_filtered
LINQ group a list and exclude groups that contain a record with a field value Having trouble setting up my lamda to exlude groups with a record that has a field with a value. My data example: CTY ProcId ProcTyp ProcDate ZZZ 23-015 INIT 2023-01-26T20:04:30 ZZZ 23-015 UPDATE 2023-01-26T20:04:45 ZZZ 23-015 UPLOAD 202...
common-pile/stackexchange_filtered
gulp Task is not in your gulpfile new to node.js, trying to use gulp. I got this error: Task 'styles' is not in your gulpfile I see it is a very common error, what can cause it? This is my code. Both auto-prefixer and gulp are in my package.json file the file name is autoprefixer.js var gulp = require('gulp'); var a...
common-pile/stackexchange_filtered
Python, PyQt5, and MySql on Windows 10, is there a solution? I have Python v3.9, PyQt5 v5.15, and MySql 8.1 installed on a Windows 10 64-Bit system and like many (many) others have been struggling with the well documented "QMYSQL driver not loaded" problem. Over the past week I have read more than 30 articles on how t...
common-pile/stackexchange_filtered
dark theme for mendeley I am trying to use dark theme for mendeley, so that it matches rest of my gnome desktop. From this, I have done: Themes dir: /opt/mendeleydesktop-1.18-linux-x86_64/share/themes link Adwaita dark: # ll total 0 lrwxrwxrwx. 1 root root 31 Apr 18 10:22 Adwaita-dark -> /usr/share/themes/Adwaita-da...
common-pile/stackexchange_filtered
NoMethodError: undefined method `created_at' for nil:NilClass So I am playing around scopes in rails model. These queries works perfectly in development environment but not production. Here is my Fee model from where I am triggering active-record query to get specific invoices from StudentFeeInvoice Model. app/models/f...
common-pile/stackexchange_filtered
Getting very low reply rate with relatively good resume I've been working as an expat for more than 4 years. Recently for family reasons we had to move to Europe, to a pretty conservative country. Since moving here, I've been told that with my profile I wouldn't have any problems finding a "well paid" job. I updated m...
common-pile/stackexchange_filtered
JSONP post request I'd like to use ProCSSor API (example query) but only if the query will happen as JSONP POST, to assure it will work in the front-end, but I'm not sure how. I'd appreciate any help. Thanks. Unfortunately, it looks like the procssor api only responds with json. It doesn't give the option to return wi...
common-pile/stackexchange_filtered
Where is Java 6u65-apple installed? I see that Java 6u65-apple is one of the available Java versions. Where does this JDK get installed on macOS? Will this JDK coexist with the newer (newest) Oracle Java JRE and JDK? Well past the end of its support life. Why would you want a JVM older than JDK 8? Yes, you and I kno...
common-pile/stackexchange_filtered
SQL How to Select * into temp table output from stored procedure with paramaters I've looked through many questions before asking the following: I don't have permissions to edit this Stored Procedure, only to run it and define the parameters. I need to aggregate the data from the output. For that, I am trying to store ...
common-pile/stackexchange_filtered
Ubuntu resolves only hostname, but not the FQDN I have a strange issue with my Ubuntu box. The hostname git resolves to the proper IP address (according to ping it resolves to git.example.local). If I try to resolve git.example.local itself, then it doesn't work. The ping utility is used to determine if the host can be...
common-pile/stackexchange_filtered
Best practice re running bash for attaching to Docker running instance Here is another question from a Docker newbie. I currently run my Docker image in "debugging mode" with bash so that I can docker attach to the running instance to enter a shell where I can inspect the application’s OS environment, etc., at runtime....
common-pile/stackexchange_filtered
Did Bill Weasley create a plot hole? I was reading through questions related to one of my others, and came across a gem by Slytherincess about the Fidelius charm and saw something interesting. She mentions that Harry can see Bill Weasley's house, and that he's the Secret Keeper for the house, but I noticed something el...
common-pile/stackexchange_filtered
Return rows with differents sum values I have this table above. If I sum the balance value I'll have 23.47. Date num (pk) document supplier debit credit balance 2016-12-06 4302458 26933 SUPPLIER_1 4,35 4,35 2016-12-06 4302456 26933 SUPPLIE...
common-pile/stackexchange_filtered
NSSet: return an NSArray of objects sorted by a list of strings on certain property of each object? I have an NSSet of objects. Each object in the set is an instance of MyObject with a property called name. I have another NSArray called nameIndexes which contains name values. I would like to have a function that takes ...
common-pile/stackexchange_filtered
How can I sort a string of characters in python? I cannot find an answer elsewhere on this site, which is why I am asking. My answer is different as it contains alpha-numeric values and will not work with any integer based solution here is a sample of my string: 01768 01785 01799 01804 01818 01821 01835 01849 01852 018...
common-pile/stackexchange_filtered
Seam conversation I am trying to create a form with 3 drop downs and a text area. I am using conversation as scope. I end the conversation when user click on submit button. The problem that I am facing is back button issue. When back button is clicked, previous data is remembered. If I try to select from a drop down, I...
common-pile/stackexchange_filtered
Why such a huge difference in time creating a table via script vs INSERT SELECT? I created a small Perl script to insert a large number of entries to a table. Sample snippet: $query = "insert into big_table (first_name, last_name) values (?, ?) "; # prepare your statement for connecting to the database $statement = ...
common-pile/stackexchange_filtered
Gensim not installing - Windows 8.1 - Python I am trying to install Gensim but I am getting the errors displayed below. I am running Anaconda 2.1.0 with Python 2.7.8 and NumPy 1.9.0 on a Windows 8.1 machine. I already have the Windows SDK 8.1. It says something about a deprecated NumPy version 1.7, which seems odd beca...
common-pile/stackexchange_filtered
Python socket server can't decode redirect from OAUTH I'm not sure how much of the code I can show, but the concept is simple. I am writing a python script that works with the TD Ameritrade API. I am getting a url for the portal from the API, and opening it in the browser. Next, I'm setting up a socket server to handle...
common-pile/stackexchange_filtered
How do i make an pdf that contains image(from img.src) with nodejs I'm making a scraper downloader Project With Node Js Cheerio and axios What I've done : Loading the web I've Get all of the image source links from the website What I need: make it as a pdf I'm figuring what best to make a pdf with and how to do it If y...
common-pile/stackexchange_filtered
Matrices problem: $AB=B$ and $BA=A$, what is $A^2+B^2$? If $A$ and $B$ are two matrices such that $AB=B$ and $BA=A$, then $A^2+B^2$ would be equal to? It's not. Please check again. @noam I had figured that out myself before but I'm not getting how the answer is A+B.. $$\begin{align}A^2+B^2&=(BA)(BA)+(AB)(AB)\\ &=B(A...
common-pile/stackexchange_filtered
export products from admin panel not working we are trying to export products from the Magento 2 admin panel. However, the file is not exporting as expected. Occasionally, we notice that the files export automatically at midnight. We have also configured RabbitMQ, but it has not resolved the issue. When we run the SSH ...
common-pile/stackexchange_filtered
Get td by src of th , Simple HTML DOM Parser I have table like this <table> <tr><th>test</th><td>mydata</td></tr> <tr><th>test2</th><td>mydata2</td></tr> </table> Now I want to get the td where th = test2 $html = str_get_html('table.html)' $table = $html->find('table',0); $table->find('td[where th src = test2')->src #...
common-pile/stackexchange_filtered
How to add row automatically in between filled row like google form in google spreadsheet? So, right now I'm working on adding data to my spreadsheet using google form. I would like to add my second google form response below my first google form response automatically by adding row automatically (im doing this process...
common-pile/stackexchange_filtered
Cannot run simple program using std::filesystem When I compile exiv2 using the compilation chain aarch64-linux-gnu-g++, I get the following error, -- Looking for C++ include filesystem -- Looking for C++ include filesystem - found -- Performing Test CXX_FILESYSTEM_NO_LINK_NEEDED -- Performing Test CXX_FILESYSTEM_NO_LIN...
common-pile/stackexchange_filtered
Is Django has something like "database middleware"? Django has middleware to achieve do somthing when request and response. Is Django has "database middleware" to achieve do somthing when write data and read data. For example,some old database does not support to utf8mb4 , so it can't support all of emoji. If Django h...
common-pile/stackexchange_filtered
Testing multiple classes with 1 test Say I have an interface with 2 classes that both implement it. So we have interface I, with classes A and B. For these 2 classes, we need to test the same implemented function, doSomething() with JUnit4. There's some dependencies, so we're using Mockito. An example test looks like: ...
common-pile/stackexchange_filtered
Is there a way to see statistics on this site's usage? After a recent question about Reddit, I was wondering whether we have current data to site statistics such as the one linked to in this answer from Joseph Weissman to an old question about promoting this SE: https://philosophy.meta.stackexchange.com/a/118/29944 Her...
common-pile/stackexchange_filtered
In file B find patterns from file A and replace with patterns from file C, line by line I have a file of patterns (fileA.txt) which need to be searched in a large file (fileB.txt) and they need to be replaced with patterns in another file (fileC.txt) Example: fileB.txt 4472534 8BC4232 3533221 333553D 8645141 2412AAA I...
common-pile/stackexchange_filtered
Why only part of ports on my machine can be reached from external ip? I'm trying to achieve my remote service with port 5601. But unfortunately i can't open the website. Here is something i tried to find out why it's not working: I logged in remote server and tried "telnet localhost 5601" and "telnet 192.168.x.x 5601"...
common-pile/stackexchange_filtered
Creating an empty hash table I'm trying to create an empty hash table of structure: struct htab { size_t capacity; size_t size; struct pair *data; }; The data is an array of linked-lists to struct pair values. These linked-lists contain sentinels (dummy value) as first element. struct pair { uint32_t hkey;...
common-pile/stackexchange_filtered
Capture RowVersion on Insert My tables have a RowVersion column called LastChanged. ID | LastChanged | Foo | I am developing some sync related functionality. I will be selecting all records from the table between a min and max RowVersion. The initial sync won't have a Min Row Version so I will be including all rows upt...
common-pile/stackexchange_filtered
Switch To Linux Containers and 'DockerDesktopVM' failed to start Windows Server 2019 version 1809. When I click switch to Linux Containers, I am getting, System.InvalidOperationException: job failed with message: 'DockerDesktopVM' failed to start. (Virtual machine ID 1456B986-2FAE-42E4-B86E-17AE68743A52) The Virtual M...
common-pile/stackexchange_filtered
spl autoload ignore class that don't exist I have a simple MVC application in php that maps the first query string to a controller name, second to action and any more as parameters. When autoloading classes it looks for naming conventions with regex which is fine, but it wont load classes that clearly exist. spl_autolo...
common-pile/stackexchange_filtered
Character encoding for use within ItemTemplate I'm creating a menu from a ListBox. I'm using FontAwesome to create some font-icons. This is part of the ListBox ItemTemplate. <TextBlock FontFamily="FontAwesome" VerticalAlignment="Center" HorizontalAlignment="Center" FontSize="32" Text="{...
common-pile/stackexchange_filtered
mysqld: unrecognized service OVH Debian 32 bit - OVH When i put this: service apache2 stop && service nginx restart && service mysqld restart i show: mysqld: unrecognized service "Try this command: service mysql restart:" stopping mysql database server: mysqld starting mysql database server: mysqld checking for corr...
common-pile/stackexchange_filtered
How to update a related CRM entity reference with ODataLib? I'm using the ODataLib (http://odata.github.io) and the Client Generated Library to access Microsoft CRM's OData API (v9.0). I'm trying to update the entity navigation property value (the GUID), but the update doesn't seem to do anything (no calls are made). I...
common-pile/stackexchange_filtered
Default construction for default parameters Premise: I'm lazy. And I don't like long lines. Suppose you have a function that takes one parameter, and you want to give a default value for that parameter. Let's say that parameter is a std::map, and the default is just an empty map. The way to do it would be void foo (std...
common-pile/stackexchange_filtered
Grails spring security defaultTargetUrl going wrong path Grails 2.4 with Spring security 2 3RC I have this on my Config.groovy grails.plugin.springsecurity.controllerAnnotations.staticRules = [ '/': ['permitAll'], '/index': ['permitAll'], '/index.gsp': ...
common-pile/stackexchange_filtered
Visual Studio Code remote target on Raspberry it is advertised that Visual Studio Code is able to compile and debug on a remote machine. I've installed VSCode on Ubuntu and I want to compile and debug on the remote Raspberry. I've setup GDB server on the remote Raspberry but on the Microsoft site it is not detailed how...
common-pile/stackexchange_filtered
Querying on multiple Hive stores using Apache Spark I have a spark application which will successfully connect to hive and query on hive tables using spark engine. To build this, I just added hive-site.xml to classpath of the application and spark will read the hive-site.xml to connect to its metastore. This method wa...
common-pile/stackexchange_filtered
How does weak cartesian morphisms in the arrow category coincides with pullbacks in the original? Background: for a functor $p:E\to C$, a weak cartesian morphism $f\in E(a, b)$ is a morphism that $\forall f'\in E(a', b)$ such that $p(f')=p(f)$, there exists a unique morphism $g\in E(a', a)$ such that $f'=fg$ and $p(g)=...
common-pile/stackexchange_filtered
Control of queued connections of a python socket I'm beginner in python sockets. I'm programming a TCP socket that receives data from the same client. The problem is that I don't have control of the client and it sends data constantly, but I want to receive the first connection and ignore the queued connections that my...
common-pile/stackexchange_filtered
Enable push notifications on instant app Im trying to integrate fcm in my instant app but it dosnt works. I have 4 manifest files : /app /base /module1 /module2 The APP manifest only contains this code: <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.example.stackoverflow.app"/> ...
common-pile/stackexchange_filtered
Plasma Simulation Software Advice? I’m looking for software that can simulate “hot” plasmas of multiple ion species...so some sort of simulation software that could calculate ion temperature and density distributions taking into account ion-ion, ion-electron, neutral-ion collisions. Preferably open-source, though a rea...
common-pile/stackexchange_filtered
robot_localization posting datum messages and never starting map localization I ma trying to use the robot_localization package to fuse odometry, imu, and gps data according to link. As such I have two ekf nodes and a navsat transform node. In the documentation it says that the navsat transform node can work by using ...
common-pile/stackexchange_filtered
Using a CASE to create an IN statement variable With the following case statement I need the last When to be stored as 5,6 because I need this variable to be used in a where clause. Case Statement DECLARE @l_RepAccess as nvarchar(8),@l_RepGroup as varchar(8) SET @l_RepAccess = 6 SET @l_RepGroup = '' SELECT @l_RepGrou...
common-pile/stackexchange_filtered
zipfile.extract throwing CrcError for .7z files the following code I wrote to extract the files from .7z zip file. Code is throwing "Exception has occurred: CrcError". if I am specifying files one by one code works fine.In for loop it throws CrcError. selective_files = 'folder\abc[1].txt,folder\abc[2].txt' with...
common-pile/stackexchange_filtered
How do put two operating systems on one DVD-R? How would I go about installing Ubuntu 32 and 64 bit 12.10 on the same disk? I would really like to do this if you could help. I'm on Ubuntu 12.10 64bit ATM if that helps. Edit: What I meant was installing the install cd for both 32 and 64bit on the same disk not the OS i...
common-pile/stackexchange_filtered
How to disable/enable MIUI optimization in Redmi devices Our client requirement is they don't want to navigate the developer page and turn on the MIUI Optimization. How do I achieve to turn on MIUI Optimization Programmatically in Redmi note 10 pro. Is it possible then let me. Thanks in Advance. I'm also very curious...
common-pile/stackexchange_filtered
macOS High Sierra 10.13.6 windows getting focus on mouseover As of about a week ago (no corresponding system upgrade) all windows in every app gain focus automatically on mouseover. So if I have two visible windows (in the same or different apps) and one has focus, then I mouse over the one in the background, it gets f...
common-pile/stackexchange_filtered
How to redraw DataTables by destroying and drawing again in jQuery I'm trying to redraw a datatable component with the following lines: $('#table').DataTable().destroy(); $('#table').DataTable(); The problem is that when I execute the lines above the table is being drawed twice like if .destroy() is never executed. Th...
common-pile/stackexchange_filtered
python what's a good way to assign multiple variables from CSV file? My code has to read values from a CSV file and assign them to variables. Each line SHOULD contain 7 values, although sometimes data may not be present, in which case I need to use a placeholder. Lines from the CSV could look like this: Alice White,htt...
common-pile/stackexchange_filtered
Souls in Terraria I was playing Terraria in hard mode, then a slime attacked me. I killed it, and it dropped a "Soul of Night." What kind of souls are are there, and what creatures can you get them from? There are 7 souls, according to the Official Terraria Wiki. Soul of Flight - Wyvern, Arch Wyvern Soul of Light - Un...
common-pile/stackexchange_filtered
How to set a background picture in JPanel hello i am using JPanel as my container of my frame then i really want to used a background picture in my Panel i really need help this is my code so far . this is the updates please check here is my code now import java.awt.*; import javax.swing.*; import java.awt.event.*; ...
common-pile/stackexchange_filtered
c# DataTable, deleting added row have some problem with DataSets in c#, which represents structure and data of DB in sdf-file. I'm making some automatic test with DB, so I should add some rows in table, perform test and delete added rows from table. Table schema: Num - ID, autoincrementing, primary key Name - string Ph...
common-pile/stackexchange_filtered
clone and copy vuex store state moment date Having a state like: this.$store.state.fromDate I would like to define a variable like this: var newFrom = this.$store.state.fromDate.subtract(1, 'days'); Without modifying the value of this.$store.state.fromDate Is it possible? its a moment.js date mm I am watching thi...
common-pile/stackexchange_filtered
What's the trick to have my EventListeners trigger for my @ElementCollection properties? I've got working my JPA events (postUpdate) and they are triggering correctly when I update a property on my entity except for the ones that are mapped as @ElementCollection. Is this a restriction? A configuration option? Here is p...
common-pile/stackexchange_filtered
Add text to fixed preloader I'm trying to add a loader (spinner gif + text) that is fixed in the middle of the browser window while waiting for an AJAX response. So far I managed to position my gif correctly, but I have a bit of a trouble when it comes to anchoring the text to the loader. CSS: .preloader-bg { back...
common-pile/stackexchange_filtered
Google Analytics on Kartra Google analytics doesn't seem to send through accurate data from my Kartra website. I know it's successfully embedded but something doesn't seem right based on knowing who visited my site. Please clarify your specific problem or provide additional details to highlight exactly what you need. ...
common-pile/stackexchange_filtered
Hadoop pseudo-distributed mode error I have set-up Hadoop on a OpenSuse 11.2 VM using Virtualbox.I have made the prerequisite configs. I ran this example in the Standalone mode successfully. But in psuedo-distributed mode I get the following error: $./bin/hadoop fs -put conf input 10/04/13 15:56:25 INFO hdfs.DFSClien...
common-pile/stackexchange_filtered
Smooth audio waveform I get audio file's gain with librosa : clip, sample_rate = librosa.load(self.file_path) And then, I get the outline of the graph. Now I need a way to smooth the 'staircases'. Raw data So far scipy.signal savgol_filter was the best, but on my second file, it isn't smooth : savgol_filter Here is...
common-pile/stackexchange_filtered
Imaplib syntax error in Terminal but not in IDLE I'm starting out learning Python 3 on Linux and am attempting to write a script to notify me when I receive emails from certain people. The following code works fine in IDLE3 but I am encountering an invalid syntax error when I try to run it from Terminal: tcd = imap...
common-pile/stackexchange_filtered
Setting Focus from within the OnLostFocus event c# silverlight component one masked textbox I am trying to perform some custom validation inside the c1 masked textbox and the validation has to occur OnLostFocus(). The problem is, when im calling Focus() from within OnLostFocus(), its causing the control to lose/gain fo...
common-pile/stackexchange_filtered
wpf - Dynamically Moving TextBlock I have a TextBlock that I create during run-time: TextBlock firstBlock = new TextBlock(); firstBlock.Text = "Mary Joe"; firstBlock.Margin = new Thickness(0, 0, -1500, 0); firstBlock.FontSize = 72; firstBlock.TextAlignment = TextAlignment.Center; firstBlock.Foreground = Brushes.Red; my...
common-pile/stackexchange_filtered
How to refresh dropdown when user back and previous button When select data in dropdown list and click submit or save (Redirect to another page) Then click back or previous every browser like IE , Chrome , Firefox , Data in dropdown list have remember the latest information did you select .... The question is how t...
common-pile/stackexchange_filtered
Minimize button loses window Linux Mint 19.1 Mate I've installed Linux Mint 19.1 with the Mate desktop. When I click on the minimize button on any window, the window disappears and I can't find how to return it to the screen. Any running process, such as copy, will continue to run. It seems you are asking people to di...
common-pile/stackexchange_filtered
How to use fgets() and store every line of a file using an array of char pointers? I wrote the program below in order to read every line of the file and then store each line in a array of char pointers for later use (like sorting only the pointers not the real strings). But the problem is that it keeps storing the same...
common-pile/stackexchange_filtered
Deserializing Metaplex Metadata I'm currently attempting to retrieve the collection field from the Metaplex metadata of a NFT in python. My results are half correct but the collection key deserialized is entirely different than what is show on-chain. Below is an example of my code: import asyncio import base64 from rp...
common-pile/stackexchange_filtered
console.log/warn/error - native, vanilla JavaScript more performant alternative? I have done a bit of research and most of what I find is a good few years old. I’m new to JS and I’m building up my knowledge gradually. Console.log() is an incredibly helpful tool, however I’m incredibly wary of its generally poor perform...
common-pile/stackexchange_filtered
libav video encoding ratecontrol.cpp:766 I'm having a bit of trouble trying to encode a video using libav. I get an assert error from ratecontrol.c : 766 saying that q>0.0 I have no clue what is going on, I know that the letter q usually stands for quality, where 0 is lossless. But in this case, I just can not grasp wh...
common-pile/stackexchange_filtered
PHP PDO Warning: mysql_real_escape_string() : Access denied for user I am using PHP and PDO with prepared statements in a class file. I keep getting the error: Warning: mysql_real_escape_string() : Access denied for user. When the method is called. I really do not know how to get around this problem. Here is the meth...
common-pile/stackexchange_filtered
Hiding Vampires In Plain Sight In a world where vampires are relatively common, composing 5-25% of the population, one of two things needs to happen: Knowing Acceptance-People know there are bloodsuckers with superhuman attributes (strength, speed, senses, and the like) and are totally okay with it. Okay, maybe some p...
common-pile/stackexchange_filtered
How to create Alphabetic pagination with range? Currently, I am trying to create an alphabetic pagination with ranges for a custom post type on a custom field using this code from kathy is awesome. I have gotten everything working except for the range aspect of it. Such as A-E, F-H and so on. Any help would be great. T...
common-pile/stackexchange_filtered
Keyboard Maestro. How to select a file in an "Open file" dialog? I want to automate search by an image using Google's image search. I was able to automate saving screenshot to a file and opening a page with Google image search. And now I want to select the saved file in the "Choose file" dialog. How can I automate this...
common-pile/stackexchange_filtered