I am getting the following error while using st_theme with latest streamlit version (1.45). May I know how to fix this?
theme = st_theme()["base"] # either 'light' or 'dark'
print("theme: {0}".format(theme))
Error is:
StreamlitDuplicateElementId: There are multiple `component_instance` elements with the
same auto-generated ID. When this element is created, it is assigned an internal ID
based on the element type and provided parameters. Multiple elements with the same type
and parameters will cause this error.
As you may be aware by looking at it in design view, a split form is in fact a modified single form.
For that reason, I don't believe it is possible to achieve what you want using VBA. There are many limitations in what you can do due to the way that built-in split forms are designed. These include several different display issues, runtime issues and code issues. See Split Form Issues for details
I would recommend you replace it with your own form that has similar functionality but allows you more control over the layout. The above article also includes links to several alternatives.
I spent too much time focusing on the .NET upgrade and the project file, and not enough time comparing the nuget packages. Development Dependency was selected and that was causing my problems. I un-checked it and my problems went away (along with these extra options in the project file).
This is how to solve the issue on the messaging module example.
import { getMessaging, requestPermission, setBackgroundMessageHandler, onMessage, getToken, onNotificationOpenedApp, getInitialNotification, subscribeToTopic, hasPermission } from '@react-native-firebase/messaging';
messaging()
calls and use imported methods directly. All of them (except getMessaging
) require first additional argument: messaging instance.Old code:
messaging().getInitialNotification().then(message => this.catchMessage(message));
var token = await messaging().getToken();
New code:
const messagingInstance = getMessaging();
getInitialNotification(messagingInstance).then(message => this.catchMessage(message));
var token = await getToken(messagingInstance);
Big example code is given here: https://github.com/invertase/react-native-firebase/issues/8282#issuecomment-2760400136
I get the same problem but it is not that I have run out of credits. It just randomly started happening and I can't seem to get it working even if i replace the key. Initially it stopped working when i was using it as part of the task-master MCP.
Your import and traversal initialization looks different compared to the python driver example here https://github.com/apache/tinkerpop/blob/3.7-dev/gremlin-python/src/main/python/examples/connections.py. Does it work if you change your code to be consistent with the example?
from gremlin_python.process.anonymous_traversal import traversal
from gremlin_python.driver.driver_remote_connection import DriverRemoteConnection
rc = DriverRemoteConnection('ws://localhost:8182/gremlin', 'g')
g = traversal().with_remote(rc)
I have seen Lua data structure files with a function call followed by a table, as in:
ordered() { a=1, b=2 }
Or nested:
ordered() { a=1, b=2, ordered() {c=3} }
Is this a function call with a single table argument to a function named ordered?
I am trying to understand how ‘ordered’ function is defined.
il faut ajouter un language de backend et si tu as un seul utilisateur il faut juste ajouter une condition de ce user
For anyone looking how to get rid of this nasty blue border on macOS:
tableView.focusRingType = .none
I have the same issue so obviously this is not industry standard. Original issue is Version 0 (not 1), first revision is version is Version 1 (not 2), second revision is version 2 (not3).....and so on.
Is there any update on this issue? I am facing the similar issue in my Flutter project but this time its with Publishable Key
Since this was a top search result for this issue here’s an update for 2025:
There’s now an expandToScroll
modal interfaceOption in Ionic 8:
Sheet modals can be configured to allow scrolling content at all breakpoints
https://ionicframework.com/docs/api/modal#scrolling-content-at-all-breakpoints
This is possible with the new mapConcurrent method
public static <T, R> Gatherer<T, ?, R> mapConcurrent(int maxConcurrency,
Function<? super T, ? extends R> mapper)
so you would write something like this
paths.gather(Gatherers.mapConcurrent(100, p -> p))
.filter(Files::isRegularFile)
.filter(p -> p.toString().endsWith(".jpeg") || p.toString().endsWith(".jpg"))
.forEach(this::resizeAndSaveImage);
Source: https://www.theserverside.com/tip/How-to-use-parallel-streams-in-Java-with-virtual-threads
I am also facing the same issue i am using videosdk that uses webRTC internally and as soon as i archive a build after adding the package my app simply crashes on IOS real device nothing happens on Simulator app runs completely fine on simulator but crashes on real device as soon as flutter engine gets initialised.
Here's the warning in XCode i thought i can ignore it but it causes the application to crash straight as soon as it gets launched without any descriptive error log and error was pretty hard to find the project was large and i had to do about 5-6 days of debugging to find out that this was the culprit. Haven't found any other issue yet related to it.
I got this with empty folder where try files is attempted (no index.html found)
On their post, they suggest building FFmpegKit locally and using the created binaries in our applications. You've got the instructions here
The latest Beam (2.64.0) Python SDK added a new feature --files_to_stage
(https://github.com/apache/beam/pull/34208). This will stage any files under /tmp/staged on each Dataflow worker.
See here... and search for "PrimaryKey["
The fix seems to be upgrading to Bazel 8.2.0 - no other changes required.
From the answers it seems like I should be doing:
import Foundation
import SwiftUI
@Observable class MyBindings2 {
var isDisabled:Bool = false
}
struct ContentView: View {
@Bindable var mb:MyBindings2
func action() {
mb.isDisabled = true
Task {
try await Task.sleep(nanoseconds: 1_000_000_000)
mb.isDisabled = false
}
}
var body: some View {
VStack {
Button(action:action){Text("Click Me")}.padding(10)
Button(action:action){Text("or Me")}.padding(10)
Button(action:action){Text("or Maybe Me")}.padding(10)
Text(String(mb.isDisabled))
Text("^^^")
Text("at some point this is false but the View is disabled")
}.disabled(mb.isDisabled)
}
}
I am still trying to convert all of my code to this setup, and since the error is intermittent, I guess I have some testing to do. Thanks to all
Consider to use Cro::HTTP::Request and the query-hash function … https://cro.raku.org/docs/reference/cro-http-request, specifically URLs in the wild have some quirks and it is quite tricky to roll your own robust implementation
I realize this is a really old thread, but it seems that nobody caught the actual issue.
The @model
declaration is missing a closing >
. The Tuple<>
has opening and closing angle brackets, and so does the List<>
. There is no closing angle bracket for the tuple. That's why it wasn't compiling.
The error is about you need to install a compatible version of Java to your machine, I recommend use sdkman and set the JAVA_HOME env var.
A response on this thread helped me.
I got round it by manually going to https://aka.ms/mysecurityinfo in Edge and confirming my contact details (that's all it wanted me to do)
first of all you need mapping table for using which value is matching between mt messages and mx messages. Then you also need path message for creating mx xml.
This question was discussed and answered at https://github.com/manoharan-lab/holopy/issues/440 . In short, ADDA requires compiler environment to be installed on Windows. Alternatively, pre-built binaries may be used.
Edge WebDriver
and Edge browser
versions are incompatible.
try:
Ensure an exact version match between Edge and EdgeDriver.
Update Selenium to the latest version.
Avoid --headless
temporarily
It is not implemented in the SparkRunner at the time I am making this comment.
You can follow https://github.com/apache/beam/issues/22524 which is a feature request ticket to implement it.
I found that ticket by browsing the code to understand the status - it is linked from https://github.com/apache/beam/blob/5e29867ba53d940e6d5a2e0fdc25a883ab1547de/runners/spark/src/main/java/org/apache/beam/runners/spark/translation/TransformTranslator.java#L409. (contributions welcome!)
Here's an easy workaround: even if you see "App URL has already been claimed," just click next. You can add your link later and create your Placement ID to use it for now.
You should place your image file and html file in the same folder.
just to clarify, are you trying to calculate the number of consecutive days an issue has occurred for a specific well using Spotfire expressions?
Pravallika you answer is very useful, however, there is a field inside the Identity Provider I cannot set. The field is: "Client application requirement", I tried all possible combination inside the "identityProviders" in the template. I know you could add similar information inside "appSettings" too, but still without luck. Do you know what could be the solution?
I did find a way around with this code (from https://alexknyshov.github.io/R/page3.html):
tree2$edge.length[which(!(tree2$edge[,1] %in% tree2$edge[,2]))] <- sum(tree2$edge.length[which(!(tree2$edge[,1] %in% tree2$edge[,2]))])/2
And a deeper explanation on why the root appears this way when using the ape::root function can be found here:
It's o ly one a day it's a test tho not sure what you get for helping .? Let me no more info please
I have developed this library in python that correspond of your needs
Things have upgraded. Just create an action environment in vRO now and add the module you want to use (supports Python, Node.js and PowerShell) and you are good to use it (https://cloudblogger.co.in/2022/07/20/getting-started-vrealize-orchestrator-script-environments-cb10098/). See the image on how to add a Node.js module quickly to vRO. If your vRO is in restricted environment with limited connectivity, you can also use zip bindles (https://cloudblogger.co.in/2023/02/18/run-a-simple-custom-python-script-in-vro-cb10106/).
I got a similar error on my mac when I tried to install the faiss-cpu 1.11.0. Then it worked when I installed 1.10.0 version instead (pip install faiss-cpu==1.10.0)
As of .NET 9 the preferred way to get the current app full path is:
Environment.ProcessPath
Implement a CAPL script that blinks an LED every 1 second when a 'Blink_Enable' signal is set to 1, and stops blinking when set to 0.
the TOP clause does not have a hardcoded maximum limit on the number of rows you can specify.
The actual limit is constrained by:
Available system memory
Query performance
The total number of rows in the result set or source table
If you specify a value larger than the number of available rows, SQL Server will simply return all available rows.
I just solved this problem in a script where I also connected to Azure AD and PnP Online, just by connecting to Microsoft Graph first.
Try to remove the with block:
With OvenArray(OvenNum).Cells(3, 4)
.NumberFormat = "@"
.value = FixArray(count - 1, 2)
End With
OvenArray(OvenNum).Cells(3, 4).NumberFormat = "@"
OvenArray(OvenNum).Cells(3, 4).value = FixArray(count - 1, 2)
For me, "Reset Package Caches" was not clickable.
What worked instead was:
Go to Xcode
In the General tab, scroll down to Frameworks, Libraries, and Embedded Content.
Find the package(s) mentioned in the error.
Remove them by selecting the item and clicking the minus (-) button.
Thanks to what @mehdi-sahraei suggested, I changed the dtype
to None
and this permitted to parse other rows (any row after the header line) correctly. Finally, it seems that there is no bug about how the header line is treated but rather a lack of clarity in the documentation. As indicated in my original post, the documentation says:
... if the optional argument names=True, the first commented line will be examined for names ...
But what the documentation doesn't tell you, is that in that case, the detected header is stored in dtype.names
and not beside other rows that come after the header in the file. So the header line is actually there but it is not directly accessible like other rows in the file. Here is a working test case for those who might be interested to check how this works in preactice:
C:\tmp\data.txt
#firstName|LastName
Anthony|Quinn
Harry|POTTER
George|WASHINGTON
And the program:
with open("C:/tmp/data.txt", "r", encoding="UTF-8") as fd:
result = np.genfromtxt(
fd,
delimiter="|",
comments="#",
dtype=None,
names=True,
skip_header=0,
autostrip=True,
)
print(f"result = {result}\n\n")
print("".join([
"After parsing the file entirely, the detected ", "header line is: ",
f"{result.dtype.names}"
]))
Which gives the expected result:
result = [('Anthony', 'Quinn') ('Harry', 'POTTER') ('George', 'WASHINGTON')]
After parsing the file entirely, the detected header line is: ('firstName', 'LastName')
Thanks everyone for your time and your help and I hope this might clarify the issue for those who have encountered the same problem.
nil is an attribute, defined in the i
namespace. For this FirstName node, the attribute has the value true
.
I got the same problem, you have to enable both USB debugging and Wireless debugging, turning on only usb debugging wont work....
import React, { useState } from "react"; import { Chess } from "chess.js"; import { Chessboard } from "react-chessboard";
export default function ChessGame() { const [game, setGame] = useState(new Chess()); const [fen, setFen] = useState(game.fen());
function makeMove(move) { const gameCopy = new Chess(game.fen()); const result = gameCopy.move(move); if (result) { setGame(gameCopy); setFen(gameCopy.fen()); setTimeout(() => botMove(gameCopy), 500); } return result; }
function botMove(currentGame) { const moves = currentGame.moves(); if (moves.length === 0) return; const randomMove = moves[Math.floor(Math.random() * moves.length)]; currentGame.move(randomMove); setGame(currentGame); setFen(currentGame.fen()); }
function onDrop(sourceSquare, targetSquare) { const move = { from: sourceSquare, to: targetSquare, promotion: "q", // always promote to a queen }; const result = makeMove(move); return result !== null; }
time()
accepts a negative bars_back
argument to retrieve the UNIX time up to the 500th bar in the future. You could iterate until the expected number of bars is found:
int counter = 1
while time("", -counter) < futureTime
counter += 1
log.info("The number of bars is: {0}", counter)
Had similar issue to what @ktsangop described but in my case there was click event listener along with routerLink directive, and the navigation from routerLink was interrupted by the one in event listener leading to unexpected behaviour
Html code:
<a
mat-tab-link
[routerLink]="tab.link"
(click)="selectTab($event, tab)"
>
{{ tab.label | translate }}
</a>
Ts code:
public selectTab(event: Event, tab: Tab): void {
event.preventDefault();
event.stopPropagation();
this.router.navigateByUrl(tab.link);
}
If you don't use the environment file, you can also inject it like this:
app.module.ts
imports: [
NgxStripeModule.forRoot()
]
app.component.ts
constructor(
private yourConfigService: ConfigLoaderService)
{
injectStripe(this.yourConfigService.stripe?.publishableKey);
}
I found an answer here:
Hide properties and events in new component
Not sure if I have to close the question as a duplicate.
Does this help you in any way?
import numpy as np
rows = 3
cols = 4
empty_2d_array = np.empty((rows, cols))
If you are using notepad++, then you can easily convert the text file to UTF-8 using the option in the right bottom.
You can convert a text document to any of these formats from notepad++.
In postgress the keyword user is reserved so add the annotation @Table and give to user another name like adding _user
@Table(name= "_user") class User{}
I invite you to read this it may helps you prevent sql injection techniques
Thank you to @mndbuhl for pointing me at the solution in another post. I went with setting MapInboundClaims to false to give back all of the original claim names.
https://stackoverflow.com/a/79012024/4194514
builder.Services
.AddAuthentication()
.AddOpenIdConnect(options =>
{
// your configuration
options.MapInboundClaims = false;
});
there is a good example of this on this tutorial
To simplify the tutorial, we could do the following
In the body you could have something like this:
:root {
--main-color: #42b983;
}
body {
background-color: var(--main-color);
}
To access and change the variable in javascript, you could do the following thing:
// Get the root element
const root = document.documentElement;
// Retrieve the current value of a CSS variable
const currentColor = getComputedStyle(root).getPropertyValue('--main-color');
// Update the CSS variable
root.style.setProperty('--main-color', '#ff5733');
I am not thackling the whole javascript interactions here, as it already has been done in the ansers before, I am just showing the code that updates the root color.
<td>{{productos.imagenPro |nombre="img" }}</td>
como puede lograr que una vez tenga el dato, puede asignarle un nombre y no lo que me renderiza desde la base de datos, dado que es una imange de internet y me renderiza todo el link y no lo quiero en su lugar quiero que por defecto me apareza la palabra img
This isn't the only thing that can be said about it with Big O notation. It's fastest/best Case would be O(n), and it's average is O(n*n!).
Maybe this passage can help you:
Optimizing Fine-Grained Parallelism Through Dynamic Load Balancing on Multi-Socket Many-Core Systems
dont write $ sign just write only npm install and npm init -y
I added some async/await and it working now, thanks for help
kbipuf hweoh owue houhounoj aaa your welcome thank yuo
Start Date=IF(C2>=0.25,MINIFS(Table1[[#All],[Column1]],Table1[[#All],[April]],'Job Hours'!A2),"")
Completion Date=IF(C2>=77,MAXIFS(Table1[[#All],[Column1]],Table1[[#All],[April]],'Job Hours'!A2),"")
For me it was because i included files with no extensions. After adding the correct extension to the file the build succeeded
Private Sub Worksheet_Change(ByVal Target As Range)
Dim cell As Range
Dim invalidEntry As Boolean
Dim cancelChange As Boolean
Dim sysDateColumn As Integer
' Set your SysDate column number here (e.g., 4 for Column D)
sysDateColumn = 4
' Prevent multiple alerts
Application.EnableEvents = False
Application.ScreenUpdating = False
' Check each changed cell
For Each cell In Target
' Only validate SysDate column
If cell.Column = sysDateColumn Then
If Not IsEmpty(cell) Then
' Reset validation flags
invalidEntry = False
' Check 1: Is it a date at all?
If Not IsDate(cell.Value) Then
invalidEntry = True
Else
' Check 2: Correct format (dd-mmm-yyyy)
If Not cell.Text Like "##-???-####" Then
invalidEntry = True
' Check 3: Not a past date
ElseIf CDate(cell.Value) < Date Then
invalidEntry = True
End If
End If
' If invalid, mark for undo
If invalidEntry Then
cancelChange = True
cell.Value = "" ' Clear invalid entry
End If
End If
End If
Next cell
' Restore Excel functionality
Application.ScreenUpdating = True
Application.EnableEvents = True
' Show error if needed
If cancelChange Then
MsgBox "Invalid date! Please:" & vbCrLf & _
"1. Use dd-mmm-yyyy format (e.g., 05-Jun-2024)" & vbCrLf & _
"2. Only enter today or future dates", _
vbCritical, "Invalid Date Entry"
End If
End Sub
Finally I resolved the issue by using the NTS version
OMG it's absolutely correct. Changed mine to "users" and it automatically worked! Thanks!
AWS code deploy fails in download bundle or install event reason is long path issue in window server.
run this command on u r powershell
New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\FileSystem" -Name "LongPathsEnabled" -Value 1 -PropertyType DWORD -Force
and then restart u r code deploy agent on u r server
powershell.exe -Command Restart-Service -Name codedeployagent
now retry the deployment...
this is the official aws docs for this :
https://docs.aws.amazon.com/codedeploy/latest/userguide/troubleshooting-deployments.html#troubleshooting-long-file-paths
header 1 | header 2 |
---|---|
cell 1 | cell 2 |
cell 3 | cell 4 |
Remember that all script tags must have the type attribute set to module:
If not, the browser will not pull the associated object from the importmapThis sounds like you are looking for integration testing in Flutter.
It allows you to run the app on a Simulator or Emulator with Plugins and network calls.
You can also consider Patrol. It offers tools to test Native functionality that standard integration tests don't offer.
Generally, it is recommended to mix Integration Tests with Unit and Widget tests to get a well-rounded test suite. See Flutter Testing for more details on this.
/tmp/ipykernel_12/3189841976.py:42: DeprecationWarning: getsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use getbbox or getlength instead.
current_h += font.getsize(line)[1] + line_spacing
/tmp/ipykernel_12/3189841976.py:51: DeprecationWarning: getsize is deprecated and will be removed in Pillow 10 (2023-07-01). Use getbbox or getlength instead.
current_h += font.getsize(line)[1] + line_spacing
hey i am a robot an ai i mean artificial intelligence by
I've tried to leave it on 'default', but I didn't see there was a difference with 'single'.
This problem is solved since there are multiple guava in the system, all I need to do is using the jarjar to change the function names. For example,
rule com.google.common.** com.google.shaded.common.@1
rule io.grpc.** io.grpc.shaded.@1
rule com.google.protobuf.** com.google.shaded.protobuf.@1
rule kotlin.** kotlin.shaded.@1
rule io.perfmark.** io.shaded.perfmark.@1
rule okio.** okio.k.@1
syvjvftrwrefrgrnfbv cxzser4tgrsjdhlfayfwehj ,asdsvabasdfvwvfvds
You can do:
npm view @ngrx/store versions
It will list the available versions and then use any of them to manually change into your package.json
and then do an npm install
and you should be good.
I'm an idiot, I didn't read the description for terminal.integrated.sendKeybindingsToShell
properly... This overrides terminal.integrated.sendKeybindingsToShell (for some reason). You need to disable terminal.integrated.sendKeybindingsToShell
and use terminal.integrated.allowChords = false
to get you most of the way to 'normal' terminal key bindings. You then add stuff like:
"terminal.integrated.commandsToSkipShell": [
"-cursorai.action.generateInTerminal",
"-workbench.action.quickOpen"
],
"terminal.integrated.allowChords": false
to your settings.
kthxbi
you can get the dimension of pro builder cube but you cant change it from script, as i believe.
you can get it by getting the mesh collider component of the pro builder object then getting it's bound from script enter image description here
the results called extend is exactly half the values written in the pro builder inspector component.
This problem has nothing to do with VBA. Of course, it can be handled in VBA. You have a few ways to solve this problem:
Convert the column you are going to paste into to text using the cell format.
Or copy as clear text when pasting so that the formats or formulas are not transferred.
(https://codeacademycollege.com/courses/python-fuer-einsteiger/) The website looks nice, but there are very few pictures of real people, which makes it seem a bit untrustworthy. If I start this course, I’ll have to invest a lot of time, and I don’t want to waste my education voucher. Has anyone perhaps already taken this course? Are there any experiences or opinions about it?
I use Spring server authorization 6+ version and it doesn't have api to authenticate grant type PASSWORD. We need to manage with Manager and Provider.
The second problem hot to start authentication flow. because we can't create some login point. This is open question.
AI is definitely changing the way we manage projects—but like any tool, the benefits depend on how you use it and which platforms you choose. From what you described, it sounds like you're expecting more strategic help from AI (like forecasting, smart delegation, or performance insights), not just basic automations like reminders.
Here’s how AI can bring real value to project management when implemented effectively:
Modern AI tools don’t just assign tasks—they analyze workload, deadlines, and team performance to suggest the best person for each task. Tools like ClickUp, Motion, or Forecast use machine learning to balance workload intelligently.
How it helps:
Reduces micromanagement
Prevents overloading key team members
Makes sure high-priority tasks are tackled first
AI can analyze past project data, team behavior, and real-time progress to predict delays or resource issues. Platforms like Wrike and Zoho Projects use this to flag potential risks before they become real problems.
What you gain:
Early warnings about delays
Insights on what’s slowing progress
Smarter contingency planning
Instead of manually checking on KPIs, AI dashboards update in real time to show project health, bottlenecks, and team efficiency. Some tools even offer automated executive summaries or weekly reports.
Benefit:
No need to manually build reports
Instant visibility into project success metrics
Objective feedback on team performance
You’ve probably used basic automations—but AI takes it further. For example, if a task is delayed, AI can reorganize the project timeline, notify stakeholders, and reassign work automatically.
Why it’s useful:
Saves time adjusting timelines
Keeps everyone aligned
Reduces manual coordination
Since you mentioned content marketing projects—platforms like WriteGenic.ai (or Jasper, Copy.ai) can help with content drafts, emails, project updates, and documentation, saving time and improving consistency.
The best results come when:
You integrate AI tools into your daily workflow (not just use them as add-ons)
You train your team to use AI features effectively
You pick tools that offer real AI, not just automation macros
Yes, AI in project management works—and for many teams, it leads to better forecasting, faster execution, and less burnout. But the right match between tools, team needs, and goals is critical. You may want to explore more specialized platforms or go deeper into the features of the ones you’re already using.
chek itenter image description here
Show variable values inline in editor while debugging
and check it if uncheckedThis should do it!
If you're using the prefixIcon
, it's important to set the suffixIcon
as well (even if it's just an empty SizedBox
) to ensure the hint text and label are centered correctly.
Here’s a modified version of your AppSearchTextField
widget with a fix that keeps the label and hint text properly aligned when a prefixIcon
is provided:
class AppSearchTextField extends StatelessWidget {
const AppSearchTextField({
super.key,
required this.controller,
this.onChanged,
this.hintText = 'Search',
this.suffixIcons = const [],
this.prefixIcon,
});
final TextEditingController controller;
final Function(String)? onChanged;
final String hintText;
/// List of suffix icons (can be GestureDetectors or IconButtons)
final List<Widget> suffixIcons;
/// Optional prefix icon (e.g., search icon)
final Widget? prefixIcon;
@override
Widget build(BuildContext context) {
return Container(
height: 36.h,
padding: EdgeInsets.symmetric(horizontal: 12.w),
decoration: BoxDecoration(
color: Theme.of(context).colorScheme.inversePrimary,
borderRadius: BorderRadius.circular(12.w),
),
child: Row(
children: [
Expanded(
child: TextField(
controller: controller,
onChanged: onChanged,
style: const TextStyle(color: Colors.white),
decoration: InputDecoration(
hintText: hintText,
hintStyle: AppTextStyles.size15.copyWith(
color: Theme.of(context).colorScheme.onPrimary,
),
border: InputBorder.none,
prefixIconColor: Theme.of(context).colorScheme.onPrimary,
prefixIconConstraints: BoxConstraints(
minHeight: 24.h,
minWidth: 24.w,
),
prefixIcon: Padding(
padding: const EdgeInsets.only(right: 6.0),
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
children: [
prefixIcon ?? const Icon(Icons.search),
],
),
),
suffixIcon: suffixIcons.isNotEmpty
? Row(
mainAxisSize: MainAxisSize.min,
children: suffixIcons
.map((icon) => Padding(
padding: const EdgeInsets.only(right: 4.0),
child: icon,
))
.toList(),
)
: const SizedBox(),
),
),
),
],
),
);
}
}
Please do try and vote this answer.
Thanks!
Seems you are using an stlink v2 clone to flash a bluepill devkit in swd mode.
Have you tried to reset the target?
As you have it now, the RST pin is not connected. So its be necessary to push the reset button on the blue pill while you flash to get the device to enter swd mode.
is there a way to do this without generating new schemas and instead applying the old SQL schemas to the new WCF-SQL port?
I agree with @Dijkgraaf, you cannot directly reuse the old SQL adapter schemas with the WCF-SQL adapter.
The classic SQL adapter and the WCF-SQL adapter are fundamentally different in how they process and expect message structures. According to the migration guidance provided by BizTalk360, the old schemas must be replaced with new schemas generated using the WCF-SQL adapter tooling.
"The start element with name '' and namespace '' was unexpected. Please ensure that your input XML conforms to the schema for the operation."
The above error message can cause because the XML message you're sending to the WCF-SQL adapter does not match the expected schema structure specifically, it’s missing the correct root element name and namespace.
When using the WCF-SQL adapter, the adapter validates the incoming message against the schema associated with the operation (e.g., a stored procedure). If the root element name or namespace in the XML doesn’t exactly match what the adapter expects, you get this error.
Reference - https://www.biztalk360.com/blog/migrate-old-biztalk-sql-adapter-to-wcf-sql-adapter/
You can change format data for your command. Suppose you want use command Get-Process:
Get-Proecess
The output:
Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
------- ------ ----- ----- ------ -- -- -----------
231 13 3608 12932 6388 0 AggregatorHost
417 27 29728 40044 2.75 4592 0 AnyDesk
...
Now, you want change format data in Handles's Column direction. You need to follow the steps below:
1- Get type name with Get-Member like this:
PS C:\Users\username> Get-Process | Get-Member
Output:
TypeName: System.Diagnostics.Process
Name MemberType Definition
---- ---------- ----------
Handles AliasProperty Handles = Handlecount
Name AliasProperty Name = ProcessName
...
2- Get format data "System.Diagnostics.Process" with Get-FormatData cmdlet. Then Export it with Export-FormatData cmdlet. like this:
PS C:\Users\username> Get-FormatData -TypeName System.Diagnostics.Process | Export-FormatData -Path .\yourFolder\formatGetProcess.ps1xml
3- Then open formatGetProcess.ps1xml File with Notepad. If you have vscode, it's better. Try ReFormat this so see tags. Look this picture:
You can see Handles Field, width and alignment. Change alignment to "Left" and Save it.
4- Use Update-FormatData cmdlet to change Get-Process format data. Like this:
PS C:\Users\username> Update-FormatData -PrependPath .\yourFolder\formatGetProcess.ps1xml
After the above command, if you use Get-Process, you can see Handles's Column. it is Left side.
Handles NPM(K) PM(K) WS(K) CPU(s) Id SI ProcessName
------- ------ ----- ----- ------ -- -- -----------
225 6388 0 AggregatorHost
417 4592 0 AnyDesk
...
Turns out there was a logic issue elsewhere in my program causing ungrab to be called after every grab call. Resolving that has resolved my issue.
Should be resolved with version 2025.1
you are correct in your suspicion: each call of the hook manages its own state. they do not share state. when you refresh, your hook just fetches data again. if you want higher-level state management, useContext or react redux are options. useContext is another native hook that allows nested components to share. redux is more intense: could be more than you need, but could be exactly what you're looking for. i gravitate towards useContext when possible, as it is relatively simple.
I have the same issue but don't have the \OemCertificates created in target, and no .reg file
This JavaScript code did the trick for me
window.addEventListener('pageshow', function () {
let ddlValue = document.getElementById("mySelect").value;
console.log('Back nav selected value:', ddlValue);
});
that option from @locomoco is running in docker 28.1.1 and compose 2.35.1
Unable to View Tables After Copying Database to Another Azure SQL Server
I tested this scenario in my environment using the 'Copy' option in the Azure SQL Database. I created a new server by replacing the existing SQL Server name. Both the server deployment and the database copy operation completed successfully, and I was able to view the tables and data in the copied database.
Steps I followed:
Open the existing SQL database in the Azure portal.
Click on the Copy
option.
You will be redirected to the Review + Create
page.
Specify the target server name
, database name
, and compute + storage
settings.
Verify the details entered, then click Review + Create
to initiate the copy operation.
After completion, the new server and database were successfully created, and I was able to access all tables and data without issues.
For your small project involving batch data ingestion into an HDFS data lake with formats like RDBMS, CSV, and flat files, here are recommendations based on the details you shared:
Talend:
Talend is an excellent choice for batch data ingestion. It supports various data formats, including RDBMS and flat files, and offers a low-code interface for creating pipelines. Its integration with HDFS makes it highly suitable for your use case.
Hevo:
Hevo simplifies data ingestion with its no-code platform. It supports batch ingestion and has over 150 pre-configured connectors for diverse data sources, including RDBMS and CSV files. Hevo’s drag-and-drop interface makes it beginner-friendly.
Apache Kafka:
Although Kafka is better known for real-time streaming, it can also be configured for batch ingestion. Its scalability and robust support for HDFS make it a reliable option for your project.
Estuary Flow:
Estuary Flow offers real-time and batch processing capabilities. With minimal coding required, it’s an excellent choice for ingesting CSV and flat files into HDFS efficiently.
For your specific project, Talend and Hevo stand out for their simplicity and direct integration with HDFS. Choose the one that aligns best with your familiarity and project requirements.
It is now possible to get coverage for .erb templates using Simplecov. You just need to make a call to enable_coverage_for_eval
in the start block, like this:
require 'simplecov'
SimpleCov.start do
enable_coverage_for_eval
...
add_group "Views", "app/views"
...
end
See also https://stackoverflow.com/a/4758351/29165416 :
Add the following to bin/activate
:
export OLD_PYTHONPATH="$PYTHONPATH"
export PYTHONPATH="/the/path/you/want"
Add the following to bin/postdeactivate
:
export PYTHONPATH="$OLD_PYTHONPATH"