here is an update on adding a new elide widget text box in-between the other 2.
import tkinter as tk
root = tk.Tk()
root.title("Testing widgets for Elide")
# create 'line number' text box
line_text = tk.Text(root, wrap="none", width=5, insertwidth=0) # don't want the cursor to appear here
line_text.pack(fill="y", side="left")
# added > create elide button text box
line_textR = tk.Text(root, wrap="none", width=2, insertwidth=0) # don't want the cursor to appear here
line_textR.pack(fill="y", side="left")
# create 'code' text box
text_box = tk.Text(root, wrap="none")
text_box.pack(fill="both", expand=True, side="left")
# add a tag to line number text box (need text to be at the right side)
line_text.tag_configure("right", justify="right")
# add some text into the text boxes
for i in range(13):
line_text.insert("end", "%s \n" % (i+1)) # add line numbers into line text box (now on the left side)
line_text.tag_add("right", "1.0", "end")
for i in range(13):
text_box.insert("end", "%s \n" % ("some text here at line number #" + str(i+1))) # add some text int the main text box (now on the right side)
for i in range(13):
line_textR.insert("end", " \n") # add blank space on each line for the elide widget text box _ this allows for widget placement by line number (now in the middle)
# add button to use as elide +/- (inside text boxes? _ not sure which widget is correct (button, label, image)?
elide_button = tk.Button(line_textR, text="-")
line_textR.window_create("11.0", window=elide_button) # *** test ***
root.mainloop()
To make the two series of samples independent and uncorrelated, I suggest you randomly select samples from the second series (mix their order up) to make the two series uncorrelated.
from pdf2image import convert_from_path
# Convertir el PDF a imágenes JPG
pages = convert_from_path(file_path, dpi=200)
jpg_paths = []
for i, page in enumerate(pages):
jpg_path = f"/mnt/data/linea_tiempo_fosa_mariana_page\_{i+1}.jpg"
page.save(jpg_path, "JPEG")
jpg_paths.append(jpg_path)
jpg_paths
I think you want the in operator, but I haven't tested the following:
for (let idx = 0; idx < collection.length; idx++) {
const localIdx = idx;
if (idx in collection) {
collection[localIdx] = collection[localIdx] * 2;
}
}
What resource group are you providing in the command to create the deployment?
az deployment group create --resource-group
This is the scope the deployment will be created it. You cannot create resources in 2 different resource groups in the same file just by using scope.
You should create a separate bicep file for creating the resources in the second RG and use that resource group name when running the command to create the deployment.
Although this is not exactly what you are asking for, Azure DevOps supports adding - retryCountOnTaskFailure to a task that allows you to configure retries if the task fails.
Microsoft doc reference - https://learn.microsoft.com/en-us/azure/devops/pipelines/process/tasks?view=azure-devops&tabs=yaml#number-of-retries-if-task-failed
No standards exist for direct matplotlib patch conversion - at least as far I'm aware. If you're just trying to create spherical ellipses, there may be a more robust approach using EllipseSkyRegion from astropy-regions package.
University Course Management
Entities & Attributes
Department (DeptName PK, DeptNo, HeadID, StartDate)
Course (CourseCode PK, Title, CreditValue)
Professor (ProfID PK, Name, ContactInfo, Address, Salary, Gender, DOB)
Student (StudentID PK, Name, ContactInfo, Address, Gender, DOB)
Relationships
Department offers Course (1–M)
Department headed_by Professor (1–1)
Professor teaches Course (M–M, attribute: HoursPerWeek)
Professor supervised_by Professor (recursive)
Student enrolled_in Course (M–M, attribute: Grade)
AutoCAD’s built-in DBCONNECT lets you link drawing objects to external database records, but it does not automatically update label text from SQL updates in real time. To achieve what you want, you’ll need to use dbConnect with database-linked attributes or fields, then run a data update inside AutoCAD using DATAUPDATE (or manually refresh the link) after making changes in SQL. For dynamic updates without manual refresh, you’d need custom automation using AutoLISP, .NET API, or VBA to query SQL and push the values into AutoCAD objects. Autodesk’s dbConnect documentation is a good starting point.
So, the pros do it with pure debug or assembly and "assembly coders do it with routines".
https://en.wikipedia.org/wiki/Debug_(command)
https://en.wikipedia.org/wiki/Assembly_language
http://google.com/search?q=assembly+coders+do+it+with+routine
http://ftp.lanet.lv/ftp/mirror/x2ftp/msdos/programming/demosrc/giantsrc.zip
http://youtu.be/j7_Cym4QYe8
MS-DOS 256 bytes, Memories by "HellMood"
http://youtu.be/Imquk_3oFf4
http://www.sizecoding.org/wiki/Memories
http://pferrie.epizy.com/misc/demos/demos.htm
Of course other compilers also exist for different programming languages which is your flavor. I don't anymore like today's Apps that are huge in both RAM and application memory usage and we re using interpreters again. No wonder that smart phones require recharging every now and then.
https://en.wikipedia.org/wiki/Interpreter_(computing)
So now both AI and Python are a very bad power consumption after all...
-Sigma
WSL uses the Windows Proxy Settings. Setting a manual proxy in a new enough version of Windows 11 will allow `wsl --update --web-download` to work.
You can optionally use the AutoProxy setting, but I believe this will also be applied to all distributions that you have running as well, so beware.
Scotty's comment about the WSL manual download location from the Microsoft WSL Github is helpful. Before being able to use wsl update, I would go there and download the latest "Release" not the pre-releases for use with Docker. The download script mentioned in the comments above is interesting, as well.
You are using the new Observation Framework (iOS 17 / Swift 5.9), and the problem is that @Environment gives you the LoginViewModel object itself, but it is not directly bound.
To use $loginVM.showApiAlert in .alert, you need a two-way binding, but you don't have it because $loginVM does not exist in this context. You can wrap a property in Binding directly in .alert.
In some more complex scenarios these VM Options may help:
-Djava.rmi.server.hostname=localhost
-Dcom.sun.management.jmxremote.port=6799
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.ssl=false
Any other free port can be used instead of 6799.
For anyone in 2025:
The only solution really working is to log out of the account, then press Option+Ctr+E (to delete the cache on safari) and then re-login.
After that you should be able to just download the .p8 file as normal.
There is a new package that allow you to do that
https://www.npmjs.com/package/msw-request-assertions
Try to switch off:
"Settings" / "Developer Options" / "Verify apps over USB"
If you only request for a subset of name, email, and user profile, the list of test users is not taken into account.
According to the documentation, it is an exception (check the part that says "The only exception to this behavior...").
This applies to applications in Publishing status as Testing.
Try to also have a look in these tools: 1. Watcom C/C++ (It features tools for developing and debugging code for DOS, NEC PC-98, OS/2, Windows, and Linux operating systems, which are based upon 16-bit x86, 32-bit IA-32, or 64-bit x86-64 compatible processors. It is a true cross compiler)
https://en.wikipedia.org/wiki/Watcom_C/C%2B%2B
https://en.wikipedia.org/wiki/PC-98`` (a Japanese system)
https://en.wikipedia.org/wiki/Cross_compiler
And how to break the 32-bit code limit in MS-DOS and 640 kB up to 64 MB aka DOS/4G which was made widely popular by computer games like Doom or Tomb Raider.
https://en.wikipedia.org/wiki/DOS/4G
https://en.wikipedia.org/wiki/Doom_(1993_video_game)
https://www.computerworld.com/article/1563853/the-640k-quote-won-t-go-away-but-did-gates-really-say-it.html
If you run your BDDs with gradle use this task config:
(Note "--tags" argument with "not @sandbox" as a value for tests I want to exclude)
task("uat") {
description = "Runs user acceptance tests."
group = "verification"
dependsOn("assemble", "testClasses")
doLast {
val featurePath = project.findProperty("feature") ?: "src/test/resources/features"
javaexec {
mainClass.set("io.cucumber.core.cli.Main")
classpath = configurations["cucumberRuntime"] + sourceSets["main"].output + sourceSets["test"].output
args(
"--plugin",
"pretty",
"--plugin",
"html:build/cucumber/cucumber.html",
"--plugin",
"junit:build/cucumber/cucumber-junit.xml",
"--plugin",
"json:build/cucumber/cucumber.json",
"--glue",
"com.my.cool.package.uat",
"--tags",
"not @sandbox",
featurePath.toString(),
)
}
}
}
metadataInstead of trying to disable validate_keys in the type, you define metadata as a hash that doesn’t declare its keys i.e., an “open” hash. In dry-validation DSL, that means just using .hash with no nested schema, or .hash(any: :any).
Here’s the clean approach:
class MyContract < Dry::Validation::Contract
config.validate_keys = true
params do
required(:allowed_param).filled(:string)
optional(:metadata).hash
end
end
That’s it.
No nested schema means dry-schema will only check “is this a hash?” and won’t validate keys inside it even with validate_keys = true.
class MyContract < Dry::Validation::Contract
config.validate_keys = true
params do
required(:allowed_param).filled(:string)
optional(:metadata).hash do
any(:any)
end
end
end
Both of these achieve your goal: metadata can have any keys and values, but the top-level still rejects unexpected keys.
Unfortunately, it seem that Microsoft, owning GitHub, is not willing to allow us to be free of the AI integrations. As best as I can tell, as long as you do not set up CoPilot in your environment, then it should not be able to run queries. However, it seems unlikely that you can remove it.
In VS Code 1.103.1, there is a "Finish Setup" icon in the bottom tray next to the Notifications bell that can serve as an indicator that you are not set up to use any AI models. However, it would be reasonable to guess that all other telemetry collected by the application is contributing to their AI development and integration.
If you are resolved to work with an editor that does not include any AI integrations, then you may need to change editors.
a quick fix, changing the domain name, incase your initial domain is known and you want to make the App inaccessible.
settings--> Domain --> edit
Another option is to create a supertype of Company and Customer, called something like Member. Then the relationship is from Membership to Member. The one common data element of Member is the ID#. The other data elements are specific to the subtypes: Company (name, contact name) or Customer (first name, last name).
I tried your code.
The walls were being created but they were falling through the bottom of the screen never to be seen.
To fix this:
I added a StaticBody2D to the bottom of the screen to serve as a floor.
Added a CollisionShape2D to the StaticBody2D as a child so it does collision detection
Added a RectangleShape2D to the CollisionShape2D in the inspector and dragged it out in 2D to form the collision area.
Did the same CollisionShape2D and RectangleShape2D adding to the wall this time. Then it stops it falling through the floor
Cupy was outputting the floats as a cupy.array in the tuple comprehension above whereas numpy outputted the floats as floats. Changing the code to this produced the desired output:
import cupy as cp
def sortBis(mat: np.ndarray):
colInds = cp.lexsort(mat[:, 1:]) mat[:, 1:] = mat[:, 1:][:, colInds]
return mat
newMat = cp.array([[ 0., 0., 0., 0., 0., 0., 0., 0., 0., 0., 1.], [ 0., 1., 0., 0., 0., 0., 0., 0., 0., 0., -1.]]
newMatSet.add(tuple(tuple(float(i) for i in row) for row in sortBis(newMat)))
I found another solution to this problem.
add:
{
"C_Cpp.codeAnalysis.clangTidy.args": [ "${default}", "-mlong-double-64" ],
}
to settings.json file. This will set the long-double size to 64 and so 128 won't be included.
I get a similar error when I compile from the command line manually without this option. But there it is about missing a stream << operator for the __float128 type. :-(
If you specifically want to keep the invalid `httpa://` protocol (perhaps for testing or a custom use case), you need to understand that **standard browsers and apps will reject it** since it’s not a recognized scheme like `http://` or `https://`.
---
### How to Use `httpa://` (Non-Standard Protocol)
#### Option 1: **For Development/Testing (Custom Protocol)**
If this is for a custom app or local environment (e.g., a mock API), you can:
1. **Register `httpa://` as a custom protocol** in your app (e.g., Electron, mobile app, or browser extension).
- Example (Electron.js):
```javascript
app.setAsDefaultProtocolClient('httpa');
```
- For **Android/iOS apps**, define it in the manifest/plist file.
2. **Use a URL handler** to intercept `httpa://` links and redirect/log them.
#### Option 2: **Replace with Standard Protocol**
If this was a typo, just correct it to `http://` or `https://` (recommended for production):
```text
https://tattoo.api/api-create?utm_source=APKPUREAds&...
If you need the literal text httpa:// for documentation/mockups (non-clickable):
httpa://tattoo.api/api-create?utm_...
httpa:// Won’t Work by Defaultrequests in Python) only support registered protocols (e.g., http, ftp, data).httpa://... will typically result in:
AQIL FAROOQ MUHAMMAD
I just ran these two commands and it worked:
cd android/
./gradlew clean
then build again
I just downloaded my dream league soccer classic game but it's not working,it says it needs to download additional contents from Google play
You can also get the same error (SecKeyCreate init(RSAPrivateKey) failed: -50) from a RSA key if you:
Have not stripped the headers -----[BEGIN/END] PRIVATE KEY----- from the .pem file contents
Loaded the file into string as a format other than ASCII (it's probably a common mistake to try to load it as UTF8)
Have not created a Data object with the string using the base64Encoded parameter (which will fail if you have loaded the file in a non-ASCII format)
So if you put all of this together, the full answer is this, which successfully creates the SecKey from a .key or .pem file (with .key, assuming you chose the correct options for public key):
let privateKeyData = try! Data(contentsOf: Bundle.main.url(forResource: "rsaPrivateKey", withExtension: "pem")!)
let privateKeyString = String(data: privateKeyData, encoding: .ascii)!
.replacingOccurrences(of: "-----BEGIN PRIVATE KEY-----", with: "")
.replacingOccurrences(of: "-----END PRIVATE KEY-----", with: "")
.replacingOccurrences(of: "\n", with: "")
let privateKeyStrippedData = Data(base64Encoded: publicKeyString, options: .ignoreUnknownCharacters)!
let options: [NSObject: NSObject] = [
kSecAttrKeyType: kSecAttrKeyTypeRSA,
kSecAttrKeyClass: kSecAttrKeyClassPrivate,
kSecAttrKeySizeInBits: NSNumber(value: 2048)
]
var error: Unmanaged<CFError>?
let privateKey = SecKeyCreateWithData(privateKeyStrippedData as CFData, options as CFDictionary, &error)
Simple ~1 liner to do this with Object.entries and Object.fromEntries as well.
const renameKey = (obj, oldKey, newKey) => Object.fromEntries(Object.entries(obj).map(([key, value]) => [
key === oldKey ? newKey : key, value
]));
To avoid making changes in system files you can download package from PyPI. Then you are able to comment lines that causes error, and build package from file.
[...]
PyModule_AddIntMacro(m, KEY_PICKUP_PHONE);
PyModule_AddIntMacro(m, KEY_HANGUP_PHONE);
//PyModule_AddIntMacro(m, KEY_LINK_PHONE);
PyModule_AddIntMacro(m, KEY_DEL_EOL);
PyModule_AddIntMacro(m, KEY_DEL_EOS);
[...]
pip install .
Now your package evdev should be installed without any errors.
I have found solution - I have installed
Xamarin.AndroidX.AppCompat version 1.7.0.7 (not last), with Xamarin.AndroidX.Lifecycle.Runtime (>= 2.8.7.4 && < 2.8.8). It is work, AppCompat is available.
See details here:
https://github.com/dotnet/maui/discussions/31002#discussioncomment-14082478
If you need more advanced handling—like automatic data validation, support for logos, color customization, and multiple export formats—you might want to check out HeroQR on Packagist, which has built-in handling for different data types including URLs.
I know it's an old post, but for reference, Devise will try to sign your user in if you call current_user before your controller action is called (for exemple in your application_controller).
There is an issue open on Github: https://github.com/heartcombo/devise/issues/5602
If someone have similar error, I found answer. First of all I add
skipHydration: true,
to the store. After thar I made Hydrations component. It looks like this:
'use client';
import { useAuthStore } from '@/store/auth.store';
import { useEffect } from 'react';
export default function Hydrations() {
useEffect(() => {
useAuthStore.persist.rehydrate();
}, []);
return null;
}
And I import it in layout.tsx
Also, ChatGPT give me that hook, maybe someone neet it. It check if hydration was by now (??). Idk, you can use it if you want.
'use client';
import { useState, useEffect } from 'react';
export function useIsMounted() {
const [isMounted, setIsMounted] = useState(false);
useEffect(() => {
setIsMounted(true);
}, []);
return isMounted;
}
with open(filepath, 'r') as file:
reader= csv.reader(file)
# print(reader)
header = next(reader) #if we place this outside of the open, then it will through a ValueError: I/O operation on closed file.
print(header)
I have been working on a similar issue to you and I was wondering if you found the solution?
if you import your router like this:
import {router} from "expo/router"
change it to
import {useRouter} from "expo/router"
const router = userRouter() --- this worked for me
Is there a way to suppress or disable this default Apple confirmation popup within a Flutter app?
No.
Can I fully replace it with a custom Flutter animation or UI instead?
No.
Or is this popup mandatory and unavoidable for compliance reasons?
I don't know what "for compliance reasons" means. You cannot prevent the confirmation alert. You cannot modify the confirmation alert. You cannot even detect the confirmation alert. It is all happening outside of your app.
For a long time, I did try, in my apps, to supplement the confirmation alert, that is, to wait until it had appeared and had been dismissed, and then to present my own alert. (See https://stackoverflow.com/a/55342219/341994.) But I no longer even do that, because it just isn't worth the trouble: the attempt relied almost entirely on guesswork, and that's no way to program.
Instead, you should do what Apple wants you to do — namely, when you are notified that the user has completed the purchase, you should modify the overall interface of your app in a way that reflects that the user can now experience the app in a different way. For instance, you might change the title of an already visible button, or the text of some already visible label, in accordance with the fact that this item is now purchased. Apple's purchase and confirmation interface will appear and vanish, leaving your altered interface visible — and that's that.
I had similar problem - so if this helps anyone:
My tests started to give me this error and I was quite confused since I thought that nothing changed in my tests.
If I'm not mistaken at some point the order of test execution changed and my test data (fixtures) got all messed up, some assuming that hard coded IDs exist in my database.
Then I checked if it is possible to reset postgres serials between test cases and it indeed is: How can I reset a Django test database id's after each test?
Have you found any workarounds?
I have the same issue in my application
Updated the .net version from web properties. Try build the application. Then you gotta resolve each files / modules seperately which includes breaking changes. As per my knowledge there are not alternatives or shortcut.
I have actually worked on a application where we migrated a .net 3 application to .net 4.8 written in vb, webforms. We actually had to resolve everything piece by piece.
Did you try by installing the pods?
cd ios && pod install --repo-update && cd ..
Did you try by installing the pods?
cd ios && pod install --repo-update && cd ..
I was getting this issue trying a build command in .NET 9 for a Blazor web application and then after trying a few unsuccessful things, for me using the rebuild command instead of build resolved it although there are the same number of files in the bin\Debug\net9.0` folder as there were before this but it fixed it at least for whatever reason so may be worth a try before amending the project or repairing VS.
Did you try by installing the Pods?
cd ios && pod install --repo-update && cd ..
You may need to connect your Vercel user to your github account:
https://vercel.com/account/settings/authentication
Even if you are able to push to the repo, Vercel won't deploy it unless it recognizes the github account
I'd recommend checking out a ThinkReview Gitlab AI Code review tool . Its a chrome extension that integrates within chrome and generates code reviews with Gitlab MR requests .
Currently it uses gemini's latest pro model at this time its 2.5 to analyze the code
| Splice | Slice | |
|---|---|---|
| Modifies Original array | Yes | No |
| Returns | Array of deleted items | Array of selected items |
| Can be used on Strings | No | Yes |
| Can be used on Arrays | Yes | Yes |
| Method Signature | (startIndex, ?deleteCount, ...newItemsToAdd) | (?startIndex,?endIndex) |
| Best way to remember | Splice splits. | Slice slips. |
On Mac Os Big Sur, I faced with the absence of libzstd while cmake tried to build pyarrow
brew install zstd
works for my case.
I don't understand how this is NOT a core feature of vscode. There are certain folders that I want and need to be highly visible so that I can easily and quickly find them. I would also like the ability to increase the font size for these folders in addition to changing the text color and the icon.
Try to use Service Callout functionality for a second call.
Here you can see how to do it - https://raviteja8.wordpress.com/2017/03/24/service-callout-in-osb/.
OSB doesn't have functionality to persist data, at least explicite capability.
I saw this issue too. We actually found a bug in Hasicorp's AzureRM code where they were not setting the source_server_id when importing the replica_server, even though it was being provided correctly from the Azure side. We currently have a ticket open to them to fix the bug, but until their fix, the workaround that we are using is to manually update state in order to set the source_server_id to the primary server correctly, and set the create_mode to "Replica."
<link rel="manifest" href="/manifest.webmanifest">
<meta name="theme-color" content="#000000">
<script>
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js');
}
</script>
from flask import Flask, request, jsonify
app = Flask(__name__)
@app.route('/my_endpoint', methods=['POST'])
def process_data():
data = request.form['key'] # Or request.json if sending JSON
result = do_something(data)
return jsonf(newData=result)
In this line
req, err := http.NewRequest("POST", "/", nil)
use httptest instead of http :
req, err := httptest.NewRequest("POST", "/", nil)
I figured it out. It turns out it isn't anything with my code or at least that part of my code. The problem is that I have each region listed twice so once I realized that if I turned them both to "hiding" then the color was removed as I expected.
Why do I get Import "llama_index.xxx" could not be resolved in VS Code even though I installed it?
I’m using Python 3.11.8 in a virtual environment.
I installed llama-index and llama-parse successfully via pip.
My code runs fine, but in VS Code I get warnings for every import:
Import "llama_index.llms.ollama" could not be resolved
Import "llama_parse" could not be resolved
...
Example:
from llama_index.llms.ollama import Ollama
from llama_parse import LlamaParse
from llama_index.core import VectorStoreIndex, SimpleDirectoryReader, PromptTemplate
How can I fix this?
This error is from VS Code’s Pylance, not Python.
It happens because VS Code is looking at a different Python environment than the one where you installed the packages.
Open a terminal inside VS Code, activate your venv, and run:
# Linux / Mac
which python
# Windows
where python
python -m pip show llama-index llama-parse
If they’re missing, install them in that environment:
python -m pip install llama-index llama-parse
Ctrl + Shift + P (or Cmd + Shift + P on Mac).venv or env folder.Ctrl + Shift + P → Developer: Reload Window
Or disable and re-enable the Python extension.
python -c "import llama_index; import llama_parse; print('All good!')"
If it prints “All good!”, your runtime is fine — the warning was just an IntelliSense environment mismatch.
💡 Summary:
Your imports are correct, but VS Code was using the wrong Python environment.
Once you install the packages in the correct interpreter and select it in VS Code, the warnings will go away.
IT is not a capability issue to run AD in a conatiner but a licensing issue. Microsoft will not let you run windows in a container to support Microsoft services.
https://learn.microsoft.com/en-us/virtualization/windowscontainers/images-eula
"Use Rights. The Container Image may be used to create an isolated virtualized Windows operating system environment to which primary and significant functionality is added (“Consolidated Image”). You may use the Container Image to create, build, and run your Consolidated Image on Host Software and distribute the Container Image only as part of your Consolidated Image. Updates to the Host Software may not update the Container Image so you may re-create any Windows containers based on an updated Container Image."
You asked this 1 year ago so hopefully this isn't too late - you can tell Nemo to ignore individual folder zoom settings by going to Edit -> Preferences -> Behavior -> and check "Ignore per-folder view preferences" (6th option). This is on Nemo 6.4.5. However, this will mean Nemo won't remember if you zoom folders, and will always show them as default zoom. I don't know a way to actually reset the cached zoom levels for all folders to default.
With GitHub pages Jekyll works. The way you have written the markdown but for VScode you would need an extension to enhance the existing markdown renderer. You can find one such extension at https://marketplace.visualstudio.com/items?itemName=shd101wyy.markdown-preview-enhanced
I'm assuming this is n8n error on http request call, to fix this you need to get Review your app before you make this call
your code is straightforward, so the issue isn’t in the Python logic itself.
When this exact script is frozen into an .exe with PyInstaller, there are a few gotchas that apply to psycopg2 and PostgreSQL connections on Windows.
I am looking to directly run my react native web inside VS code. I am able to first start the server(which by default launches in external browser) and then manually open the url in vs code simple browser. But doing it manually is annoying so is there any way that website directly launches in vs code simple browser rather than opening in external browser?
vmess://eyJ0eXBlIjoibm9uZSIsImhvc3QiOiJtZy1pbm5vY2VudC1hZGp1c3Qtc2hhcGUudHJ5Y2xvdWRmbGFyZS5jb20iLCJoZWFkZXJUeXBlIjoiIiwicG9ydCI6Ijg0NDMiLCJuZXQiOiJ3cyIsImlkIjoiM2RhNWQyN2YtMDhkMC00MDc4LWY4OTAtY2Y5NTBlY2IxNzA4IiwidiI6IjIiLCJzZXJ2aWNlTmFtZSI6Im5vbmUiLCJzZWVkIjoiIiwiZnJhZ21lbnQiOiIiLCJtb2RlIjoiIiwicGF0aCI6IlwvIiwidGxzIjoidGxzIiwiYWxwbiI6IiIsImFkZCI6IjEwNC4xNi4xMjUuMzIiLCJwcyI6IvCfjqxDQU1CT0RJQS1NRVRGT05FLfCfh7jwn4esIPCfpYAiLCJmcCI6ImNocm9tZSIsInNuaSI6Im1nLWlubm9jZW50LWFkanVzdC1zaGFwZS50cnljbG91ZGZsYXJlLmNvbSIsImRldmljZUlEIjoiIiwiYWlkIjoiMCIsImV4dHJhIjoiIn0=
I'm working in similar case, trying to set a color Red at Date field in PO Requisition (Form), Oracle R12.13, based in a Condition in one field at Requisition Line block, using When New Item Instance event. But what I get as result is "all the rows" of Block (Grid) are in Red, rows where the Condition is false or True.
My setup on field is in Action Tab using Property = FOREGROUND_COLOR = Red color code
At that point I Can't see the SET_ITEM_INSTANCE_PROPERTY in the list of Property how the thread comments.
Can you share how to solve this ?? Appreciate that.
The issue is solved it was due to a knesfile.js empty file in the root created by copiolet which was creating problem after deleting it problem was solved
Is there any solution for this use case ?
Download for Windows sdk 8.1 can be found here (just for anyone searching for an answer to this in 2025):
https://developer.microsoft.com/en-us/windows/downloads/sdk-archive/index-legacy
you can use a free squre image tool: squareimage
I found it much easier to assign a class to the input field (in my case they are created dynamically).
<input
class="d-inline texts"
matInput
formControlName="text"
>
Then I just applied the following pure javascript to autofocus on the last input field created:
setTimeout(() => {
const elementsByClassName: any = document.getElementsByClassName('texts');
elementsByClassName.item(elementsByClassName.length - 1).focus();
}, 0);
for me, my file was opened by another process, I close it and works
In jest setup:
const crypto = require('crypto');
Object.defineProperty(global, 'crypto', {
value: {
getRandomValues: (arr: any) => crypto.randomBytes(arr.length),
subtle: {
digest: jest.fn(),
importKey: jest.fn(),
sign: jest.fn(),
verify: jest.fn(),
},
},
});
If you use a ProgressView inside a List, it will probably disappear when you scroll away and then back. Using .id(UUID()) did not work for me, but @desudesudesu's answer was the only one that did.
I created a custom view for this, and when you use that inside a List the problem goes away:
// Fixes SwiftUI ProgressView bug in List: reset id on disappear to avoid frozen/hidden spinner
struct ListProgressView: View {
@State
private var progressViewID = UUID()
var body: some View {
ProgressView()
.id(self.progressViewID)
.onDisappear {
self.progressViewID = UUID()
}
}
}
#Preview {
List {
ListProgressView()
ForEach(0..<100, id: \.self) {
Text("Item \($0)")
}
}
}
So after spending lots of energy. Finally found the solution.
step 1: Go to the Toggle device toolbar
step 2: See to the top. Look for dimensions, make sure it is in Responsive.
step 3: Click the ellipsis (three dots) button within the Device Toolbar. >Select "Add device type.
step 4: A new "Device Type" dropdown will appear. Select "Desktop" from this dropdown
and voilà pain is gone.
I encountered the same problem. After the subscription in the sandbox ended, it was impossible to purchase a new one.
Solving the issue took some time… It turned out that the Grace Period feature was enabled in App Store Connect, and as stated in the documentation, during the grace period it’s not possible to purchase a subscription again.
https://developer.apple.com/documentation/storekit/reducing-involuntary-subscriber-churn
You can solve this by using protected routes. See the documentation examples here.
export default function TabLayout() {
return (
<Tabs>
<Tabs.Screen name="index" options={{ tabBarLabel: 'Home' }} />
<Tabs.Protected guard={user === "normal" }>
<Tabs.Screen name="normal" options={{ tabBarLabel: 'Normal Page' }} />
</Tabs.Protected>
<Tabs.Protected guard={user === "expert" }>
<Tabs.Screen name="expert" options={{ tabBarLabel: 'Expert' }} />
</Tabs.Protected>
</Tabs> );
}
I encountered the same issue. It turned out my script was using the Sybase version of BCP instead of Microsoft's, due to Sybase appearing earlier in the system's PATH variable. To resolve this, you can either adjust the PATH order to prioritize Microsoft tools or explicitly specify the full path to bcp.exe from the Microsoft SQL Server utilities.
Requires a module install from PSGallery, but this works well and is "native" powershell:
# one time...
Install-Module -Name PSTerminalServices
# and then...
Get-TSSession
# or
Get-TSSession -ComputerName hostname.fqdn.tld
The solution by BENY changes the data type of your column to strings.
I suggest you use instead: df.groupby("first_column").agg(list)
This will collect your values into a list without changing their type
What you are trying to achieve is similar to Geismar and his friends work:
https://onlinelibrary.wiley.com/doi/abs/10.1111/poms.12316
Found a solution thanks to the comment from jonrsharpe:
By adding a tab character directly before the +kubebuilder part, it is possible to prevent gofmt from replacing the quotes.
// +kubebuilder:...
=>
// +kubebuilder:...
Yo, SOAP not supported by spring saml
Here stackOverFlow comment: https://stackoverflow.com/a/37160227/31268465
Btw does anyone know why java in genaral then cant do backchannel logout if true?
All SMTP ports are blocked by default on DigitalOcean droplets and therefore
Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range)
' Column A is 1, B is 2, C is 3, etc.
Const PROJECT_NUMBER_COLUMN As Long = 1
' Verify the change was made in the correct column
If Not Target.Column = PROJECT_NUMBER_COLUMN Then
Exit Sub
End If
' Get the project number that was entered
Dim projectNumber As String
projectNumber = Target.Value2
' Loop through all subfolders, looking for the project number
Dim fso As New Scripting.FileSystemObject
Dim projectFolder As Folder, projectFolderNumber As String
For Each projectFolder In fso.GetFolder("your\root\file\path").SubFolders
projectFolderNumber = Split(projectFolder.Name, " ")(0)
' Do we have a match?
If projectFolderNumber = projectNumber Then
Dim projectName As String
projectName = Replace(projectFolder.Name, projectFolderNumber, "")
' Turn off events before we write to the screen
' Otherwise, this change will trigger Workbook_SheetChange to fire again
Application.EnableEvents = False
ThisWorkbook.Sheets("Sheet1").Cells(Target.Row, Target.Column + 1).Value = projectName
Application.EnableEvents = True
Exit For
End If
Next projectFolder
End Sub
A few notes on the code above:
PROJECT_NUMBER_COLUMN is a value that you'll need to change based on what column you're entering the numbers into. I'm assuming that there's only one column in your sheet that you're entering these numbers into.Scripting library is used rather than Late Binding.This is really an operating system question not a CPU question. The CPU clearly persists this value indefinitely but upon task switching all of the context is dumped and restored. So upon process creation this has some default values, and is often set on startup by the C library itself e.g. fastmath will turn on DAZ/FTZ. Upon thread creation, it is unlikely the OS would inherit the various processor state registers. So you must also set them if you want them there. Within your app they should persist indefinitely as on each context switch the state will be reloaded on a per thread basis.
Recognizing that this post is nine years old, I still feel compelled to answer since I don't think anyone answered the exact question, how do you compare the execution time of the two queries?
There are a bunch of ways, all free, all built in to SQL Server (2012 or greater for the majority, 2016 or greater for Query Store):
Include Client Statistics (only allows for 10 measures)
Connection Properties
SET STATISTICS TIME
QueryTimeStats in an actual execution plan
QueryStore
Dynamic Management Views
Trace Events (batch completed)
Extended Events (batch completed)
The last two actually include a whole slew of events that can capture query metrics, but these are all the ways to measure actual query performance. In this blog post, I compare all of them to attempt to assess their accuracy. Nightmare is, they're all a little different, but the principal exception is using "Include Client Statistics" It's just wildly inaccurate so I would not ever suggest using it.
For as much accuracy as possible, I will use Extended Events. I'll ensure that capturing the execution plan with runtime metrics (aka Actual Plan) is off (it negatively impacts performance measurement since it adds overhead). I execute each query 50 times (GO 50). I then use the Live Data Window in Extended Events to get an average of the execution times.
For other choices, and when to choose them, look to the blog post.
Updating to Expo SDK 53 and using the default plugin react-native-edge-to-edge the problem was solved.
Peer dependencies are necessary:
"react-native-safe-area-context": "5.4.0",
If you're looking to integrate Crystal Reports with React, I recently came across a solution that might help. There's a GitHub project called crystisReact https://github.com/siteknower/crystisReact that lets you display Crystal Reports right in your React application.
The cool part is you don't even need Crystal Reports installed to make it work!
If you must use createConnection, you’ll need to handle error events and reconnect on PROTOCOL_CONNECTION_LOST, but pooling is simpler and safer.
you should use connection pooling with mysql2.create.Pool() instead of a single connection.
That way, if one connection closes, the pool opens a new one automatically.
This YouTube video may help as it's only four months old:
How to Turn Off GitHub Copilot Code Completion in VSCode Quick & Easy Guide!
I haven't used VSCode in a while so I regret I'm not able to confirm its efficacy.
Did you ever solve this?
I need to implement a formula builder on a custom screen, and I'm not sure where to start. There's almost no information to be found.
Thanks!
No need for another import:
if wx.GetKeyState(wx.WXK_CAPITAL):
# We still render fully if CapsLock is set...
self.simplify_it = False
create a aspnetcore-https.js file inside wwroot folder, then copy the following instructions >
const fs = require('fs');
//...
const baseFolder =
//...
fs.mkdirSync(baseFolder, { recursive: true });
My new version including the USE_EXACT_ALARM permission has been approved, so I'm using Alarmmanger.setExact now.
I also had an error in the timezone calculation, so the alarms were scheduled for 2AM.
This snippet was sent to me from a developer at toon boom to help me get my templates importing properly.
def import_template(template_path):
paste_options = harmony.PasteOptions()
paste_options.color_palette_mode = "LINK_TO_ORIGINAL"
clipboard = project.scene.clipboard
clipboard.paste_template_into_group(str(template_path), 1, "Top", paste_options)
Here is a working solution that requires you to set heading.supplement and redefines the ref body for level 2 heading when it is an appendix:
#show ref: it => {
let el = it.element
if el == none or el.func() != heading or el.level != 2 or el.supplement != [Appendix] {
return it
}
let lvl = counter(heading).at(el.location()).at(1)
let body = el.supplement + numbering(" A", lvl)
link(el.location(), body)
}
#outline()
This is the body of my text. There is something cool I show in @first, but you
will have to read it to find out.
#heading("Appendices", numbering: none)
#set heading(
offset: 1,
numbering: (_, ..rest) => "Appendix " + numbering("A:", ..rest),
supplement: [Appendix] // <- Important
)
= First <first>
Text of the first appendix.
= Second <second>
Text of the second appendix.
Inspired from this forum post.
This is the basics of using 'AND' & 'OR':
Use 'AND' if you want products that match all selected taxonomies.
Use 'OR' if you want products matching any of the taxonomies (less strict).
Your original issue where 'AND' shows no results is likely because no products have terms matching all selected taxonomies simultaneously.
You need a white-label, multi-tenant eSign API with per-document pricing and full sender control.
Top picks:
Meon eSign API – Low-cost, per-doc, unlimited senders, SMS signing links, mobile hand-drawn signatures, full branding control.
eSign Genie – Affordable, hand-drawn signatures, SMS, embedded signing, webhooks.
SignRequest – White-label, mobile-friendly, SMS, PDF field mapping.
HelloSign (Dropbox Sign) – Polished UI, API control, SMS extra cost.
Recommendation: For cost + features, start with Meon or eSign Genie.