instruction
stringlengths
0
30k
|postgresql|java-time|
|material-ui|
I currently have a Power Automate flow that inserts a record in the Contacts table of our Dynamics CRM when a Microsoft Form is filled out. The fields in this form consists mainly of the first / last name, organization and company. It was created a couple of years ago, but started failing when the owner of the flow lef...
Dynamics 365: Where does the "Party Number" field in the Contacts table come from?
|dynamics-crm|microsoft-dynamics|power-automate|
I'm using wp-now for 2 weeks and I'm loving it! It's quite handy! Buuuuuttttt today I got this weird crash. I already tried to reinstall and rollback and still the same issue. Starting the server...... directory: /home/abc/sandbox/wp-content/plugins/team-members-block mode: plugin php: 8.0 ...
After updating to version 5.10.2 as suggested by Filip I was getting an `PackageReferenceId` error which later on was addressed by creating new protected containers first then adding the data instead of just passing arrays to them. The code below is a little more detailed than what is available in github: ```php re...
null
With a plugin, on the order preview (by clicking on the little eye ^^), I would like to add "the line number" or "order item" for each of the products in the invoice. [order-preview](https://i.stack.imgur.com/dlkA1.png) After several hook attempts, I couldn't get anything :( I ty without result I would like...
This can be handled in Angular on the component side instead of the html by using this routine. - The reference to the collection is made - A subscription to that reference is created. - we then check each document to see if the field we are looking for is empty - Once the empty field is found, we store that docum...
# Im trying to make a web browser but i cant find a good tutorial for bookmarks and tabs in my web browser called **RadonNet** im using PySide6 because i want my software to be open source # i also use QWebEngineView which makes it harder to find tutorials for my browser # Sure. Theres Bookmarks and Tabs Tutorials bu...
Populate a multidimensional array while looping
|php|loops|multidimensional-array|
null
So, i wanted to make a website to change the font of the text that you enter in, basically like lingojam.com. I did make it but for some reason only some fonts are working and i have no idea why, can anyone help? sorry for the bad code, i am new to javascript, svelte, html etc ```javascript let fonts = { 1: { ...
I got it to work! Go to https://build.docker.com/accounts/YourAccountName/builders Define a new builder there. Then try the create again with the name of the builder you just defined! If you have problems, https://build.docker.com might be a better starting point. You just need to define a builder on the...
We are looking at building a solution where multiple users are viewing rows in a database in different ways and some of those users are updating columns in those rows so that another group of users see their updates. The solution we used to use is Excel on a MS Sharepoint website. Each row in the Excel document repr...
How could i add a bookmark and tabs function in PySide6?
|python|browser|pyside6|qwebengineview|
null
I was looking into this today and the answer from @gajam is correct. You can double check the database you are using and verify that the authentication type you are using (ie. MySQL server) for <user/root> is not set to "sha256_password” or “caching_sha2_password”. You can check via MySQL WorkBench > Users and Priv...
xy = Score(list(cox_ph), formula=Surv(time,status)~1,data=cox.train, metrics=c("brier","auc"), null.model=FALSE,times=time.int,debug = TRUE) Extracted test set and prepared output object Trained the model(s) and extracted the predictions merged the weights with input for performance metrics added weights to pre...
I am trying to find brier score of survival data using risk regression pacakge, but its giving an error
|r|auc|cox-regression|survival|
null
Here's one approach: * Use [`pd.json_normalize`](https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.json_normalize.html) with 'type' as metadata (include the same levels expect 'prices'). ```python df = pd.json_normalize(red, record_path=['data', 'events', 'markets', 'outcom...
At startup it gives error 500: Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. You probably forgot to export your component from the file it's defined in, or you might have mixed up default and named imports. Git of the proj...
Error: Element type is invalid: expected a string or a class/function but got: object. Error 500 in React
|reactjs|webpack|server-side-rendering|
null
Any recommendation on the best way to change the partition schema location in PostgresSQL. The statement to change is alter table tablename Set schema schemaname Is there any pre work before running the schema change script Thanks
Update partition schema name
|postgresql|
Using the idea in [What do the flags in /proc/cpuinfo mean?](https://unix.stackexchange.com/q/43539/44425). Unfortunately there's no source code available in Linux commenting the ARM64 feature names like in x86 so I had to use the version in [golang][1]'s [cpu][2] [package][3] ```bash ARM64_FEATURES="$(wget -qO- http...
After installing and adding dotnet ef to vs code I entered this command in the terminal. > dotnet ef migrations add Initial Then I got this output: > Could not execute because the specified command or file was not found. Possible reasons for this include: \* You misspelled a built-in dotnet command. \* You...
wp-now can't find SQLite
|wordpress|
I had a similar issue and am now using this Python package to solve it. https://github.com/emileindik/slosh ```bash $ pip install slosh $ slosh ubuntu@1.1.1.1 --save-as myserver ``` This will perform the desired ssh connection and also create an entry in your SSH config file that looks like ``` Host=myserver...
I'm deleting your post because this seems like a programming-specific question, rather than a conversation starter. With more detail added, this may be better as a Question rather than a Discussions post. Please see [this page](https://stackoverflow.com/help/how-to-ask) for help on asking a question on Stack Overflow. ...
null
I'm trying to create a Homebrew formula for a Python project. Here's the Homebrew formula: ```ruby class Scanman < Formula include Language::Python::Virtualenv desc "Using LLMs to interact with man pages" url "https://github.com/nikhilkmr300/scanman/archive/refs/tags/1.0.1.tar.gz" sha256 "93658e020...
Homebrew formula for Python project
|python|homebrew|
null
I have a react native app with an android native java module that accesses my local Google Fit healthstore using the Java Google Fit API: DataReadRequest readRequest = new DataReadRequest.Builder() .enableServerQueries() .aggregate(DataType.AGGREGATE_STEP_COUNT_DELTA) ...
{"OriginalQuestionIds":[30720665],"Voters":[{"Id":5577765,"DisplayName":"Rabbid76","BindingReason":{"GoldTagBadge":"pygame"}}]}
I've been working on a project where I need to access data from api's. In these api's are values named 'decimal' which I need to access. I have no problem accessing and displaying the decimal value itself, but when I try to only display decimal value based on another value within the json I seem to struggle. My cod...
```ts import { A } from "https://example.com/type.d.ts"; type B = A | A ``` [Playground](https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgQTgXzgMyhEcBEAFjDGAM4BcA9FQKYAeAhuADa0B0AxrlTAJ5gOAE3Ywy+ANwAofoLgAhOAF4UcAD4ogA) I understand that `A` may not be cached already, but shouldn't `B` have type `A` i...
Why does type union return any?
|typescript|
It shows the available space where the element can be expanded. **Example:** This is an example with just one character. It is possible to see the dashed area after the text. It means that it is the area where the text can possibly be expanded. [![enter image description here][1]][1] Now let's add more ...
Is there a solution to accomodate multiple users making updates to the same database`
|database|concurrency|
``` class A; function int foo(); int a; return ++a; endfunction endclass program tb; A a =new; int b, c; initial begin for (int i = 0; i < 10; i++) begin b = a.foo(); c = foo(); // Calls a different foo() outside of the class A ...
What would right value of B and C from this code?
|verilog|system-verilog|
## Dependency unavailable for Python 3.11 or later Although the `pyocd` package is technically `noarch` (i.e., independent of Python version), it depends on `cmsis-pack-manager`, which has [failed to be rebuilt for Python 3.11+](https://github.com/conda-forge/cmsis-pack-manager-feedstock/pull/3). It would be encouragi...
I have the following code exported as CommonService.tsx and called as **COMMON.redirect('/');** import { useNavigate} from "react-router-dom"; export function Redirect(route: string) { const navigate = useNavigate(); return navigate(route); }; const COMMON = { ...
React Invalid hook call on the useNavigate in exported Service
|reactjs|react-hooks|react-router|
This is an alternative version that i prefer to use, which uses less window functions, the downside is a bit more complicated code: ```sql DECLARE @YourTable TABLE ([Split_Name_In_Heading] varchar(50),[ID] int) INSERT INTO @YourTable VALUES ('Central Scheduling (cont''d)',171081) ,(NULL,171083) ,(NULL,171088) ...
This should be work. Your `FIELDS` `SIZE` `TYPE` AND `COUNT` are not matchmaking. header = """# .PCD v.7 - Point Cloud Data file format VERSION .7 FIELDS x y z data SIZE 4 4 4 4 TYPE F F F U COUNT 1 1 1 1 WIDTH 0 HEIGHT 1 VIEWPOINT 0 0 0 1 0 0 0 POINTS 0 DATA bin...
In EF terms it seems like it could just be: var d = db.Users .OrderByDescending(u => u.Xp) .AsEnumerable() .Select((u, i) => new { Rank=i+1, User = u }) .ToDictionary(at => at.Rank, at=>at.User) You list all your users out of the DB in order of XP, and you use the overload of `Sele...
I am using Java Spring Boot for my project and I have the following controller: @AllArgsConstructor @RestController @RequestMapping("/api/subject") public class SubjectController { private SubjectService subjectService; @PostMapping public void createSubject(@Reque...
Jackson Library for controllers in Java Spring
|java|spring|spring-mvc|controller|jackson|
|algorithm|
Why is Entity FrameworkCore not being recognised when it has been added to the executable Path
|.net|visual-studio|entity-framework|
null
I am trying to retrieve data from Oracle Sequence using JPA as below: ```java @Repository public interface SequenceRepository extends JpaRepository<MyEntity, Long> { @Query(value = "SELECT %s.NEXTVAL FROM dual", nativeQuery = true) Long getSequenceValue(String sequenceName); } ``` Calling abov...
null
I use Vue3, Nuxt3 and bootstrap5. I need to render iframe dynamically. But iframe does not shown, there is not src attribute at all. //template ``` <div> <iframe :src="currentDoc.src" allowfullscreen="true" frameborder="0" scrolling="no" width="560" height="400" :title="currentDoc.title"> </...
How to implement dynamic src for iFrame in Nuxt 3
|iframe|vuejs3|nuxt3|
You can install any application/packages with brew on mac. If you want to know the exact command just search your package on [https://brewinstall.org][1] and you will get the set of commands needed to install that package. First open terminal and install brew /bin/bash -c "$(curl -fsSL raw.githubusercontent....
```ts const MyComponent = (): JSX.Element => { const handleRef = (ref: HTMLDivElement | null) => { console.log('success'); }; return ( <div ref={handleRef} /> ); }; ``` guess like this it should work the `ref` is just a callback function try like this: ```ts import { MutableRef...
I am attempting to make a depth-distribution chart of abundance and biomass. The chart is centered around zero with abundance essentially acting as the 'negative' values and biomass essentially acting as the 'positive' values. Similar to what is happening [here](https://i.stack.imgur.com/98NYE.png). I have this for two...
How to keep original x-axis after utilizing a custom scaling for the geom_rect in ggplot?
|r|ggplot2|rstudio|scale|x-axis|
null
I’m deleting this post because Discussions should not be used to draw more attention to existing Questions on Stack Overflow. This Discussions space is intended for more general conversations about technical concepts, including subjective opinions (see the [Discussions guidelines]([https://stackoverflow.com/help/discus...
null
{"OriginalQuestionIds":[13606075],"Voters":[{"Id":3440745,"DisplayName":"Tsyvarev"},{"Id":2511795,"DisplayName":"0andriy"},{"Id":839601,"DisplayName":"gnat"}]}
``` $('.select2-select').select2({ maximumSelectionSize: 1 }).on('select2-opening', function(e) { if ($(this).select2('val').length > 0) { e.preventDefault(); } }); ``` Above code works well with old versions of select2. It only allow users to select at most 1 item and if an item selected, ...
I went back to the old project - Windows Forms app in .NET Framework which compiled version works fine. I've been trying to run this project but I got error: `System.MissingMethodException: No parameterless constructor defined for this object.` I'm using Microsoft.Extensions.DependencyInjection. Obviously all nee...
I’m deleting this post because Discussions should not be used to draw more attention to existing Questions on Stack Overflow. This Discussions space is intended for more general conversations about technical concepts, including subjective opinions (see the [Discussions guidelines](https://stackoverflow.com/help/discuss...
***The Problem is that the Key "4255" always refreshes when i type it in the console and it never expires, and how can i set the expiration date for many keys and not only one. I want the Key to expire in the 1 minute and store that information somewhere so it doesnt refresh everytime i reuse the key.*** ``` im...
Set Expiration Date in python for specific keys
|python|arrays|store|
null
This can be handled in Angular on the component side instead of the html by using this routine. - The reference to the collection is made - A subscription to that reference is created. - we then check each document to see if the field we are looking for is empty - Once the empty field is found, we store that docum...
{"Voters":[{"Id":1631193,"DisplayName":"Gabe Sechan"},{"Id":7867822,"DisplayName":"Anurag Srivastava"},{"Id":2851937,"DisplayName":"Jay"}]}
use `Cross Join` and `Subquery` to get your desired result ``` select AgeGroup,NumberOfFans/CONVERT(decimal(4,7), NumberOfFans2) from (Select Date, AgeGroup, SUM(NumberOfFans) From FansPerGenderAge WHERE date = (SELECT max(date) from FansPerGenderAge) GROUP BY AgeGroup) a join ( Select SUM(NumberOfF...
You need to move tooltip initialization in [ngAfterViewInit()](https://angular.io/api/core/AfterViewInit) hook instead, when the view is initialized: ngAfterViewInit() { var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]')) var tooltipList = tooltip...
I installed: npm install @visurel/iconify-angular npm i iconify then in shared folder i creatd an icon component and then pasted in icon.component.ts from the docs: https://www.npmjs.com/package/@visurel/iconify-angular import { Component } from '@angular/core'; import home from '@iconify/...
Cant install Iconify in Angular17
|javascript|angular|