instruction
stringlengths
0
30k
|android|flutter|
null
ill try to get my first laravel Project running and im using an SQL Server . Ill have just installed sqlsrv and my normal connections do work. But in Laravel ill get a error message "could not find driver" when i i run the enviroment server with "artisan serve" my php.ini shows me that sqlsrv is enabled sql...
PHP Laravel SQLSRV could not find driver
|php|laravel|
A quick aside, we can cast to-and-fro from one table type to another, with restrictions: /** create a TYPE **/ CREATE TYPE tyNewNames AS ( a int, b int , c int ) ; SELECT /** note: order, type & # of columns must match exactly**/ ROW((rec).*)::tyNewNames ...
The answer above is correct. Since Angular 17, by default you don't need to import anything into the module. All the necessary modules and components are imported directly into the components, but there is the `standalone: true` option by default. But if you want it to be like in the old versions, you can always turn i...
Android Studio Using recently added resources in compose preview in multi-module project
The matrix you've posted is symmetric, and real-valued. (In other words, `A = A.T`, and it has no complex numbers.) This matters because all matrices which are symmetric and real-valued are [normal matrices](https://en.wikipedia.org/wiki/Normal_matrix). [Source](https://en.wikipedia.org/wiki/Symmetric_matrix#Symmetry_i...
I have a problem that showing Lifetime amount by using *ALL() or REMOVEFILTERS()* functions on my report. I have created a new date table as slicer that implies **Yesterday, Last 7 Days, Same Day Last Month, All, Custom** etc., and it works perfect. But when I selected any slicer rather than **"All"**, Lifetime ...
To achieve what you're looking for, you need to listen for a few different events. I'll give you this code snippet I wrote based on your codepen. It detects the events you'll need to look for. 1. Window Resize 2. Image Scaling up/down 3. Extra check: checking if the image itself was resized (if you add the ...
I try to debug after successfully compiled dll to use ini Godot engine. I configured my launch.vs.json { "version": "0.2.1", "defaults": {}, "configurations": [ { "type": "default", "project": "C:\\dev\\my\\godot\\Godot_v4.2.1-stable_win64.exe", "name": "Godot Gam...
I have a opencart 2.3 store and I have downloaded a extension that shows all products on one page, it creates a category called All and displays all products in that category. It's working all ok but I would like to have the product filter displayed in the left column so it's the same as the other categories. For examp...
Display filter on all products category like the other category pages in opencart 2.3
|php|opencart|opencart2.3|
when click matlab Registration(use the NFRI function),occur matlab has encountered an internal problem needs to close. this is the error detail. ``` ------------------------------------------------------------------------ Access violation detected at Sun Mar 31 11:08:39 2024 -----------------------...
ALL() and REMOVEFILTER() Don't Work Correctly on My Report
|powerbi|dax|
I use hibernate for a desktop application and the database server is in another country. Unfortunately, connection problems are very common at the moment. **These are excerpts from the log file on the database server:** 1. 2024-03-19 14:08:42 2378 [Warning] Aborted connection 2378 to db: 'CMS_DB' user: 'JOHN' ho...
I have this data the id here (lr_01HT89SX627dFDPCAXBS4H2T9d) is dynamic. https://www.example.com/api/pub/v2/verifications/lr_01HT89SX627dFDPCAXBS4H2T9d I need to extract the id- lr_01HT89SX627dFDPCAXBS4H2T9d from https://www.example.com/api/pub/v2/verifications/ the id will be different for every response. ...
I have three emails one of them it seems has been deleted and I don't know why but the other two which all three were connected but the other two I can't get into because I don't have my old phone and I don't have the two step codes that I need to get into one of them so what application can I use to access my Gmail ac...
How to access a Gmail account
|gmail|
null
Flextable or dplyr R - change order of rows
|r|dplyr|row|flextable|
There is more to this answer. In the specific use case of 1999.99, the 2 functions will give the same results numerically. However, as others have noted, intval return as int and floor returns it as a float. I am not clear why floor returns as float as it is not necessary. Also, as others have noted, intval simply ...
[See the image for how it is getting](https://i.stack.imgur.com/222LJ.png) [My installed plugins in WP](https://i.stack.imgur.com/qbClG.png) I wanted to remove the "span" element from the add to cart product title. I provided the both images one with problem and the other are my installed plugins. I think its in t...
I found "Span" element in the product title after adding in the cart. Solve this
|wordpress|woocommerce|
null
I'm asking how are labels managed by C. EX: int a = atoi(argv[1][0]); if(a>3) lbl: printf("A"); printf("B"); goto lbl; is "equivalent" to if(a>3) { // label handeled as an istruction lbl: } printf("A"); printf("B"); goto l...
Visual Studio C++ Access to path is denied
Here is an example to break a string into multiple lines in a @dataclass for use with QT style sheets. Note the inclusion of indentation and the slashes.`@dataclass class button_a: i: str = "QPushButton:hover {background: qradialgradient(cx:0, cy:0, radius:1,fx:0.5,fy:0.5,stop:0 white, stop:1 green);"\ "colo...
Running this should work: gphoto2 --set-config eosremoterelease="2" --wait-event=1s --set-config eosremoterelease="4"
I am trying to run an ionic/angular app locally using an Android emulator. I receive the error below when using "ionic capacitor run android". Any ideas? Thanks [![enter image description here][1]][1] [1]: https://i.stack.imgur.com/2IvZj.png
Unable to run ionic app on Android emulator - [error] ADBs is unresponsive after 5000ms
|android|angular|ionic-framework|
After drop_na it shows 0 obs. of 68 variables: [![enter image description here][1]][1] [![enter image description here][2]][2] [![enter image description here][3]][3] After drop_na I don't see any results in the Table except dates. This was not the case when I tried it before, I could see the values ​​in ...
null
I'm trying to use javascript to place an image overlay over an existing HTML image when the user clicks on it. I have that part working, but am wondering if it is possible to reposition the superimposed images when the window resizes so they maintain their position relative to the base image. I'd also like to scale t...
matlab has encountered an internal problem needs to close
|matlab|
null
null
null
null
null
null
The problem you're running into is like trying to fit a square peg in a round hole because of the way Livewire handles scripts in its component files. Basically, Livewire gets a bit confused when it sees standard JavaScript mixed in with its own system directly in the blade files. When you put your script tag direct...
I had a similar issue. I was trying to publish .NET core API to Azure from visual studio community edition in Mac, but my webapp was not appearing in my visual studio. Eventually I figure out I created my azure webapp in Linux OS, when I create new app in Windows OS it started appearing in my visual studio. I am su...
|visual-studio|network-security|
> However, it seems that some line will still be skipped. I find that the default compile optimization is -O2. This is normal, kernel code is not written to be compiled with optimizations turned off. In fact, it heavily relies on compiler optimizations, and from [my own experience][1] I know for a fact that it won't...
I have an application in C# that needs to share some binary data with Python, and I'm planning to use shared memory (memory mapped file). Thus, I need to have the same binary structure on both sides. I create a struct in C# (`ST_Layer`) that has an array of items of another struct (`ST_Point`). To access those items...
|c#|pointers|struct|pinvoke|shared-memory|
Good morning! I've attached my code for your reference. I hope you find it helpful. ``` public function changeCategoryId(Request $request) { $selectedCategory = $request->input('category_id'); $filteredContent = // Logic to filter content based on $selectedCategory return view('conte...
null
The top rated answer does not work with the new Reflection implementation of [JEP416](https://openjdk.org/jeps/416) in e.g. Java 21 that uses MethodHandles and ignores the flags value on the Field abstraction object. One solution is to use Unsafe, however with [this JEP](https://openjdk.org/jeps/8323072) Unsafe and ...
I'm putting this answer here for future me: I was able to use MongoDbBuilder to get a single node replica set working with the following which allows me to use transactions: var cancellationTokenSource = new CancellationTokenSource(); cancellationTokenSource.CancelAfter(TimeSpan.FromSecon...
{"OriginalQuestionIds":[75638898],"Voters":[{"Id":807126,"DisplayName":"Doug Stevenson","BindingReason":{"GoldTagBadge":"google-cloud-firestore"}}]}
Is there any difference between using map and using function if everything is known at compile time. (I'm new to Kotlin/Java and i couldn't find answer to this) Maximal number of items will never be higher than 200 and for the most of the time it would be below 10 Example: ```kt val mappings = mapOf( "PL" t...
I have in my java application some data that I want to send them to PHP using JSON to insert them later in database. the problem is with the JSON string. Main.java String args = "{\"nom\":\""+hostName+"\",\"host_name\":\""+hostName+"\", \"os_name\":\""+nameOS+"\",\"os_type\":\""+osType+"\",\"os_version\":\"...
sending data from java to PHP with JSON string doesn't work
Using Interfaces vs Lambda Functions in Jetpack Compose Composables
|android|kotlin|android-jetpack-compose|
I am attempting to create a powershell script to allow the above however keep coming unstuck with most of the threads only showing servers. Any help would be massively appreciated. As above - hoping to output this xls/csv
Powershell Script to collate all users within a number of local PC 'Remote Desktop Users'
|powershell|
null
{"Voters":[{"Id":213269,"DisplayName":"Jonas"},{"Id":3890632,"DisplayName":"khelwood"},{"Id":2756409,"DisplayName":"TylerH"}],"SiteSpecificCloseReasonIds":[18]}
My query ``` select custname, case when date < '11/26/2023' then -1 else datepart(wk,date) end 'week#', sum(amount) sales, count(salesid) orders from SalesTable inner join CustomerTable c on salestable.CustID=c.CustID where date < '1/27/2024' and c.CustID = 10285 or c.CustID = -2 group by c.custid,custname, [a...
The function responsible is [here in dask/utils](https://github.com/dask/dask/blob/main/dask/utils.py#L1777) ([permalink](https://github.com/dask/dask/blob/1b711beb3985efd7b895db2709c7b7cd869216f0/dask/utils.py#L1777)) and it only supports powers of 2, not 10. This in contrast to the time units immediately below. You c...
When I run `./waf configure -v` locally, I get ``` Checking for 'gcc' (C compiler) : 13:52:02 runner ['/usr/bin/gcc', '-dM', '-E', '-'] /usr/bin/gcc Checking for 'gcc' (C compiler) : 13:52:02 runner ['clang', '-dM', '-E', '-'] not found Checking for 'clang' (C compiler) : 13:52:02 runne...
Encountering `Fatal error: Uncaught mysqli_sql_exception: Table 'kopsis.setting_email' doesn't exist in /www/wwwroot/kopsis/config.php:66 Stack trace: #0 /www/wwwroot/kopsis/config.php(66): mysqli->query() #1 /www/wwwroot/kopsis/index.php(2): include('...') #2 {main} thrown in /www/wwwroot/kopsis/config.php on line ...
Encountering 'Fatal error: Uncaught mysqli_sql_exception
|mysql|panel|vps|
null
It depends on what you are trying to do. It looks like you are trying to do something from within a Monobehavior. class MyClass { // Drag sprite sheet from assets to this inspector slot. public Sprite[] sprites; void Awake() { foreach(Sprite sprite in sprites) ...
I came across a workaround that was suggested in an unofficial capacity by someone at AppDynamics during their local lab explorations. While this solution isn't officially supported by AppDynamics, it has proven to be effective for adjusting the log levels for both the Proxy and the Watchdog components within my AppDyn...
Not sure this is really an answer but it took me some time to figure out so I'm going to share this anyway. I wanted to change Array ( [0] => email= joeri@bespired.nl [1] => name = Joeri [2] => token= AB2240824== ) into Array ( [email] => joeri@...
I missed the `content-type` part in headers, and language. The final codes example: conn = http.client.HTTPSConnection("partner.steam-api.com") headers = {'Content-Type': 'application/x-www-form-urlencoded'} orderid = uuid.uuid4().int & (1<<64)-1 print("orderid = ", orderid) key = "xxxxxxx...
Contrary to what romainl writes in [his answer](https://stackoverflow.com/a/78250848/796259), Vim's own [`:help :!`](https://vimhelp.org/various.txt.html#%3A%21) suggests the following: >On Unix the command normally runs in a non-interactive >shell. If you want an interactive shell to be used >(to use aliases) se...
|docker|apache-kafka|docker-compose|spring-kafka|
In both C and C++, pointers of *unrelated* types are NOT implicitly convertible to each other (however, in C but not C++, converting from a `void*` pointer to any other pointer type is allowed implicitly). In this example, since `fte_t` is a different type than `uint8_t`, a type-cast is required.
So I have a scientific data Excel file validation form in django that works well. It works iteratively. Users can upload files as they accumulate new data that they add to their study. The `DataValidationView` inspects the files each time and presents the user with an error report that lists issues in their data tha...
Method this.aQueue.add(*args) which returns an job instance is endlessly awaited. After receiving and deserializing data i try to get a job instance in the method RequestService.sendData of app.service.ts module, but can't do it and the rest of code is not running app.service.ts ``` import { Injectable } fro...
Method "add a job" is never awaited
|nestjs|
null
I have view pager in the main activity, and loading another view pager with two fragments .but that fragment getting loaded while the acrtivty getting loaded.It should called when the user taps on it. class HomeActivity : BaseActivity(), DialogUtils.DialogManager { companion object { var cu...
view pager life cycle
|android|kotlin|
The top rated answer does not work with the new Reflection implementation of [JEP416](https://openjdk.org/jeps/416) in e.g. Java 21 that uses MethodHandles and ignores the flags value on the Field abstraction object. One solution is to use Unsafe, however with [this JEP](https://openjdk.org/jeps/8323072) Unsafe and ...
I'm trying to change my database MySQL to oracle. But when I try to change oracle table not create and below mention error is appear. however all the required sequence will create on oracle but not create table. Error : Caused by: java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist...
How to give JPA create table privileges on oracle
|spring|oracle-database|jpa|oracle-sqldeveloper|oracle19c|
From the comments, it appears the real question is not how to `UPDATE` an `ALWAYS GENERATED` column, but how to migrate data from a temporal table into a *new* temporal table. If you need to copy data from a different (temporal) table to a new one, and retain the history dates, then create the new table(s) *not* as a t...
I wrote an [ansible-role for openwisp2][1] to ease its deployment, it's a series of django apps. To ease the deployment as much as possible, I wrote a simple (probably trivial) [SECRET_KEY generator script][2]: ```python #!/usr/bin/env python """ Pseudo-random django secret key generator """ from __future__ impor...
null
I have a flink job with overall parallelism of 4. There are two component which are memory and CPU intensive, for which I have created slotsharing group (H). Currently I have 2 task manager with 2CPU core each having 4 slot. When i deploy my job most of time the slotsharing components are not evenly distributed among t...