Why this format? You will not get any answers
You can fix this err while you set min-sol-out value is 0.
Please take a look this image.
enter image description here
TooLittleSolReceived err is from when you will get smaller sol than you expect by calculated.
You can set min sol output value is 0.
Can also use GitHub cli it's super handy for tasks like this, also use it to create repositories.
gh repo edit --default-branch <branch-name>The answer given by @Sound Conception solved my issue....Thanks!. I knew the problem was the camera controller because I have 2 options in my interface: pick QR from gallery or Scan...and the issue only happens with the camera. I'm using the flutter camera plugin: camera: ^0.10.5+9 ...I wonder if this bug is still open in the latest versions...could someone confirm please if the issue was solved using the latest versions of the camera plugin? Happy coding y'all
This question should really be under the normal QA as it has objective answers.
I believe your issue is that the Require user dev must come before the Require ip statements. If you use LogLevel debug you should see that once the IP is denied it will stop checking further rules (hence not requesting the authentication. On the other hand, the user clause would give denied (no authenticated user) in your logs, check further rules, and upon no grant/deny would ask for authentication; after which it would grant the user clause and stop checking further rules.
compileSdk and targetSdk @34 still resulted in "An issue was found when checking AAR metadata". N.B. "An issue ..."
Has anyone found that a later version has resolved this last problem of typically many?
Thanks to Pointy I have found a good solution.
function isSigned(TypedArray) {
const sample = TypedArray.BYTES_PER_ELEMENT === 8 ? [-1n] : [-1];
const array = new TypedArray(sample);
return ArrayBuffer.isView(array) && array[0] < 0;
}
Various suggestions and solutions from users/programmers all point to a likely folder corruption due to the sudden PC reboot. However, I've never been entirely convinced by two things:
1: Because the classes weren't recognized when building a project in another directory.
2: because of the following error:
Error while loading [...]: Exception thrown: System.TimeoutException: The operation has timed out.
And it was precisely this last error that prompted me to investigate further within VS Code. In fact, the compiler was trying to establish a connection with the "LSP" (I assume the acronym for Language Service Protocol), but was unsuccessful.
Searching for "Omnisharp" in the VS Code settings search engine, I came across the following option:
Which was disabled (perhaps because of the sudden PC reboot?). By enabling it, VS Code finally recognized the Unity classes.
VS Code now recognizes classes
I hope this helps other users, please make changes with caution!
Could you share the image you want to search for?
An idea I have is to extract the storyboard of YouTube videos and then compare the results with your image.
An alternative would be to use Google Images to search for similar results and add in the search parameter: site:youtube.com for limit the search engine to get results only from YouTube.
Why do the values have to be sequential? Usually being unique is sufficient, especially for surrogate keys.
"big delays"? Are you immediately updating the table and releasing the lock? The other options mentioned above, but your approach should only have minor delays.
Thank you @Limey. I am not very familiar with this "new" (for me) format of Q&A in SO.... Anyway, here is a reproducible example, where I try to get what I need. However, as you can see, "Hello World!" is printed any time any input is updated (not only the ones with the suffix I want). If I put an isolate in my input.sel definition, nothing is triggered except when the object is initialized.
if (interactive()) {
shinyApp(
ui = fluidPage(
numericInput("a", "Value", 5),
numericInput("b", "Value", 5),
numericInput("a-filter", "Value", 5),
numericInput("b-filter", "Value", 5),
),
server = function(input, output) {
input.sel <- reactive({
my_inputs <- reactiveValuesToList(input)
my_inputs[endsWith(names(my_inputs),"-filter")]
})
observeEvent(input.sel(), {
print("Hello World!")
input.sel()
})
}
)
}
Had the same issue, I wrote a xquery program to generate an .csv for opening in Excel.
The german Umlauts öäü are ok in CSV but Excel uses the wrong encoding.
The following declaration in the xquery file for adding a BOM https://de.wikipedia.org/wiki/Byte_Order_Mark fixes the problem:
declare option saxon:output "method=text";
declare option saxon:output "byte-order-mark=1";
I use saxon, but the declaration should work for different systems also, as they are defined in the W3C Serialization specification http://www.w3.org/TR/xslt-xquery-serialization/
Try checking whether your Windows system is closing processes when RAM usage gets high
this can cause the emulator to disconnect unexpectedly. Also, try using a different physical device or emulator image; ADB is known to glitch frequently, and switching devices can often resolve this
Happy code :)
Have you already tried to create a repository locally with a remote on GitHub? If so, did you encounter issues?
It would help if you asked a specific question: see this for guidance .
When running Android Studio apk analyzer, not one of the files in my .apk are being flagged re "Does not support 16kb" or anything like that on any contained file.
Yet, after completing Open Testing and promoting the app to Production, I still get the "Does not support 16kb" or similar...
Any advice on further checking on this?
This cannot work the way you expect, because std::format and std::formatter<T> do not participate in SFINAE/constraints the way normal expressions do.
The formatting machinery is specified to hard-error when the type is not formattable — and those errors are not constraint-friendly.
Only the first item works because you reuse the same id (fav) for every element.
In HTML, ids must be unique. The CSS selector #fav + label only matches the first occurrence.
The fix -> Use classes instead of ids, and scope the styling to each pair using a wrapper.
Only defining fileUploadReference.current.clear() wasn't working here, I had to do the following in the onUpload method:
setTimeout(() => {
fileUploadRef.current?.clear();
fileUploadRef.current?.setUploadedFiles([]);
}, 0);
"primereact": "^10.9.7",
You can use a layout route for Footer. That way you can include it in every route and also include it in your routes.
https://reactrouter.com/start/declarative/routing#layout-routes
For me the error was happening because the device was not null but still the camera was not opening. I restarted my phone and the error was gone.
I found descriptions of some compiler-dependent intrinsics, but they don't quite help me understand how they work. For example, this one seems to solve my problem: __memory_changed().
I have found a different solution myself in between:
SELECT s.*
FROM set_ids s
JOIN set_ids oth
ON s.set_id <> oth.set_id
WHERE NOT EXISTS
(SELECT element_id
FROM sets
WHERE set_id = oth.set_id
EXCEPT
SELECT element_id
FROM sets
WHERE set_id = s.set_id)
VS Code doesn’t have a built-in equivalent to IntelliJ’s Copy Reference for Java methods. The Java Language Server exposes symbol locations, but it does not provide a command that returns a fully-qualified method signature. You should use Command Palette to show the symbol's container. Use this getUserById — UserService
Which @Tool annotation are you using? For internal AI agent services you need the one from
dev.langchain4j.agent.tool.Tool;
and not the one from io.quarkiverse.mcp.server
Your autotools scripts are outdated. You need to update config.guess and config.sub before rebuilding configure script with autoconf command. You can find new version in local share directory (for example /usr/share/misc)
In case anyone is wondering this in 2025, adding a new line would not work with \n or \r or \n\r .
Purely by accident I figure out that \f works for adding new lines.
I asked AI for it's meaning and got this:
\f = form feed
What does form feed do?
Historically, it was used in printers to advance to the next page. In modern text processing, it usually means:
• a page break
• or a “vertical tab” / new page control character
• sometimes treated similar to whitespace or ignored depending on the system
I just facing the same issue. Is there meanwhile a solution for this case?
Thanks,
Bettina
-----BEGIN PGP PUBLIC KEY BLOCK-----
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
23pRnPKc+41cwL3oq8yb/Fhj+biohgIp
=grbk
-----END PGP PUBLIC KEY BLOCK-----
Running Unity Hub as an administrator solved my issue..
Yes, the compiler sees all the source code for all translation units. And through all the intermediate operations on the original pointer to the 'buffer' object (passing it between functions, algorithms for adding/removing the pointer from software queues, etc.), ultimately, this address... is simply written to one of the DMA controller registers. What the DMA does next is, of course, unknown to the compiler.
This seems to be specific to your target platform, and not generally useful to the rest of us (mostly, if I want to know the build prerequisites, I inspect the Debian packaging and follow what it does, starting with apt-get build-dep $package - is there a deficiency in Windows's packaging that stops you doing the same for that platform?)
You need to resolve your dependencies conflict defined composer.json.
First, read carefully what error stack trace says. The issue is not only with clickandmortar/import-bundle but with doctrine/orm as well, require (^3.3), - what is your current definition for that package in composer.json ?
Second, follow what composer advices itself run your command with argument -W php require league/csv --with-all-dependencies , - it will try to resolve conflicts automatically.
Third, you will possibly need to delete composer.lock file (don't forget to backup) as it can have issues.
XCode 15 can generate assets automatically:
Text("Hello, world!")
.bold()
.font(.title)
// The word "color" is automatically removed from the auto-generated name
.foregroundStyle(.customText)
original article here
@Henrik's anser helped me find the solution, in my case I wanted to have a specified max-width and only apply it when the screen is bigger than a certain value so I did the following:
import {useWindowDimensions, ...} from "react-native";
const BOTTOM_SHEET_MAX_WIDTH = 800;
.....
...
..
const { width: screenWidth } = useWindowDimensions(); // use useWindowDimensions to update the screen-width when the view is changed between landscape and portrait view
// set the maxWidth using the marginHorizontal
const marginHorizontal = screenWidth > BOTTOM_SHEET_MAX_WIDTH ? (screenWidth - BOTTOM_SHEET_MAX_WIDTH) / 2 : 0;
...
<BottomSheet
snapPoints={ snapPoints }
style={{ marginHorizontal }}
>
...
</BottomSheet>
There's an issue about it on Flutter's GitHub: https://github.com/flutter/flutter/issues/179156
when scaling vertically the application will always have little downtime because it is being literally spawned on another stronger or weaker host.
Does anyone know what happens when we scale in horizontally (remove the count of instances)?
You can swap two integers in C++ without using a third variable in several ways, but each method has caveats. Here are the common approaches:
a = a + b;
b = a - b;
a = a - b;
Pros:
Cons:
a + b exceeds the integer limit.a = a ^ b;
b = a ^ b;
a = a ^ b;
Pros:
No overflow issues.
Does not require extra space.
Cons:
Does not work if a and b refer to the same memory location (e.g., swapping the same variable).
Less readable than normal swap.
std::swap (recommended)std::swap(a, b);
Pros:
Most readable and safest method.
Modern compilers optimize it very well.
Cons:
How often do you need to read all those rows?
If using azure container apps, you have to setup postgrest separately as a side car container.
If you are using docker setup, try adding this env in your .env file if not present.
PGRST_DB_PRE_CONFIG=postgrest.pre_config
v3.20.45-lts
This issue is fixed in this version. So try using it or above.
If you are below this version try adding the above env that would work, If not working try upgrading to the version(or above) mentioned. If still not working put a message in the slack community.
Hope this helps.
SO is not a device support website. Ask your device manufacturer instead.
Thank you for the comments.
My solution to get rid of localstorage:
I use websockets changed the message to json which now transports the initial message and the status.
I changed the websocket server so it now allows for communication between clients and also broadcasts everything that is sent to the server to all clients.
For the clients js i keep the variables that i dont want to change (message) and just send them again with the json structure. the big benefit is now that i could reduce functions to clean the message and i have more control and flexability
As of Now, there are still some issues with lottiefiles Animations on expo , instead of using the jsonapproach just download it is as a GIF and render it via Image the file size is relatively low and won't cause any bottleneck in performance.
I ran into an issue where MariaDB in XAMPP refused to start and showed this error:
Table '.\mysql\proxies_priv' is marked as crashed and last (automatic?) repair failed
Fatal error: Can't open and lock privilege tables
Repairing with mysql_upgrade didn’t work, and trying to run aria_chk directly gave:
aria_chk.exe: Got error 'Can't find file' when trying to use aria_log_control
You don't have permission to use '*.MAI'
**Steps that fixed it:**
1. Open a command prompt in C:\xampp\mysql
2. Repair crashed Aria tables using aria_chk.exe. For example:
3. If a table fails due to small sort buffer (e.g., columns_priv.MAI), run safe recover with a larger buffer:
bin\aria_chk.exe -r -o --sort_buffer_size=256M data\mysql\columns_priv.MAI
If needed, stronger version:
bin\aria_chk.exe -r -o -f --sort_buffer_size=512M data\mysql\columns_priv.MAI
4. Delete old Aria log files to reset the engine:
C:\xampp\mysql\data\aria_log.*
C:\xampp\mysql\data\aria_log_control
5. Start MySQL via XAMPP. MariaDB should start normally.
*Why this happens:*
XAMPP sometimes crashes while MariaDB updates privilege tables. The .MAI files (Aria storage engine) get corrupted, preventing the server from starting. Since MariaDB cannot open mysql.* system tables, it shuts down.
**Summary:**
If MariaDB won’t start because proxies_priv, columns_priv, or other .MAI system tables are corrupted:
- Use aria_chk.exe from XAMPP’s mysql\bin
- Repair the specific .MAI files in mysql\data\mysql
- Use -o or a larger --sort_buffer_size if default repair fails
This restores system tables and allows MariaDB to start normally.
Sometimes LibreOffice or Word ignore standard width settings. In some cases a better approach is to edit the XML directly
width = Inches(1.0)
grid_cols = table._tbl.tblGrid.findall(qn("w:gridCol"))
grid_cols[0].set(qn('w:w'), str(int(width.twips))) # twips are the internal unit
I'm having the same issue on macOS with DBeaver version 25.2.5 — multi-line selection technically works, but visually it only highlights a single line, so you can’t actually see what you’ve selected while dragging. I tried everything: restarting DBeaver and the Mac, resetting settings, even removing every DBeaver file with the .sh script and doing a clean reinstall. Nothing fixed it, so it really looks like a visual bug introduced in the latest update. If anyone has a workaround or knows whether this is already a reported issue in 25.2.5, any help would be greatly appreciated.
idk and i'd love a more senior answer to this, but currently i'm keeping both lists mounted and just style/hiding them.
I was also thinking on stacking two flashlist, have a 'father' one and the inner ones would not have scrollEnabled.
Using Portainer, first install in linux docker portainer tool:
docker volume create portainer_data
docker run -d -p 9000:9000 \
--name=portainer \
--restart=always \
-v /var/run/docker.sock:/var/run/docker.sock \
-v portainer_data:/data \
portainer/portainer-ce:latest
Then you can access server web-page at localhost:9000. Go under images:

Then as you can see, explore contents of it visually.
Yes, you are right: it sounds crazy, but IT RUNS !
Update November 2025:
Seems now it's implemented much simpler way:
fname = "fasttext.model"
model.save(fname)
model = FastText.load(fname)
docs page https://radimrehurek.com/gensim/models/fasttext.html
This question can be answered from two standpoints in my opinion. The first one would be an operating system question. Which is what the other users half-heartedly pressured this question to be, by removing the C++ tag. The second would be minizip-specific.
I'll start to answer the first one, then proceed with the second one.
It completely depends on which system you use and what it understands as a file.
Generally speaking, yes a FILE* can be a memory-mapped file.
Therefore you should be able to compress/decompress it.
You will have to look into the manuals for your operating system to find out, how to create a memory-mapped file.
For UNIX-like systems, this is usually fmemopen(3). But other solutions like mapping /dev/zero could work, although I haven't personally tried that. [1][2]
For Windows, an approach exists, by creating a file descriptor, with O_SHORTLIVED and O_TEMPORARY, then using that with fdopen to obtain a FILE*.[3]
In the minizip-specific case, the library accepts a struct "zlib_file_func_def" in it's unzOpen function, where you can specify your implementations of the fopen, fread, fwrite, etc.... file functions.
You could easily create a class, that implements these functions. I'm assuming the OP's interest in in C++.
There, a class could be created to wrap these functions. Let's call it "MemoryFile". "fopen" would then create a new instance of this class, while "fclose" would call it's destructor.
To implement this class, either simple tracking could be implemented oneself. Or probably better yet, an existing class like std::ispanstream could be used. [4]
[1] What is the purpose of MAP_ANONYMOUS flag in mmap system call?
[2] Is it possible to create a C FILE object to read/write in memory
[3] https://github.com/Arryboom/fmemopen_windows/blob/master/libfmemopen.c
@Lundin Love the way you refactored the code but wonder if that's always practical or even advisable. Can you say more about why you believe "creating function-like macros to replace chunks of code or program flow control is almost always bad practice"?
@Diego I had checked some possibilities by piping various subcommands of xsv, xan, csvkit etc. Then got a long awk snippet which was technically one line and it did work. However it took more 10-15 seconds on a large dataset.
On oneliner need, this is not for a one time use or a script. I want to set an alias to the solution and want to use it like less -S or cat or so on many files on a daily basis. Also I wanted to really reach a more efficient solution.
Many thanks to @Barmar, @Shawn, @jhnc and @dawg for the suggested solutions.
The perl based solution from @jhnc do meet the requirements I wanted help with. It is way quicker than the awk snippet I had (and shorter also).
@RARE, I can agree that the in/out example do look like a homework. Getting it done without getting into a R/python/shell script was the difficult part.
Включить на столбце/строке/ячейке перенос
$sheet->getStyle('K')->getAlignment()->setWrapText(true);
Добавить в верстку шаблона тег <p><p>
Что бы в ячейке получилось что-то подобное:
<td>
@foreach($someArray as $itemVal)
<p> {{ $itemVal }} </p>
@endforeach
</td>
Depends on if you want to rely on containerization techniques vs. VM scaling - also your ability to manage one or the other:
1. Elastic Beanstalk - provisions EC2 instances, auto scales, load balances automatically, minimal DevOps overhead. Each "application" in this scenario creates its own resources.
2.ECS / Fargate - requires you to setup services/tasks and to pick if you want to manage EC2 or go serverless. This option requires some kind of Load Balancer (either your own or ALB). Needs a bit more DevOps knowledge to containerize and create task definitions.
3.Scale Manually - What you described.
Consider trade-offs: do you want to optimize for cost, simplicity, ownership, cloud lock, etc.
when you cannot find Windows menu in Eclipse:
edit eclipse.ini and add -clean to the first line. Restart and all menu entries will be recreated.
Dont forget to delete -clean after your restart
I'm having the same issue, can anyone please check this? I'm stuck after trying with multiple versions of eclipse and jdks
Gimby I think that would have worked too, I'm going to bookmark that page for future reference.
I think I would still have needed to use a PowerShell script to avoid having to manually update all of the projects, but you're idea would certainly be a more elegant way to do it.
here is the thing,
when u hv a new dir/ in ur public/, u need to relink it,
so just php artisan storage:unlink then php artisan storage:link
I read over that section but obviously I did not give it the deserved respect. argh!
Is
<some-component color="red" />
not slower because Angular has to access DOM attribute?
This is exactly what Bart (maintainer of the GPIO subsystem) wants to push upstream for v6.19-rc1. If successfully done, you will be able to achieve that.
Disable NuGet auditing temporarily?
https://learn.microsoft.com/en-us/nuget/concepts/auditing-packages#configuring-nuget-audit
I'm just spitballing here, the warnings as errors deal seemed like a consequence, not a root cause. You want NuGet to temporarily shut up while you do your upgrades in peace.
Answer was quite simple in the end. I had CoPilot write me a PowerShell script to update all the TreatWarningsAsErrors tags. I would have preferred a way to do this from withing Visual Studio, but this worked.
Get-ChildItem -Path "path to solution" -Recurse -Filter *.csproj |
ForEach-Object {
(Get-Content $_.FullName) -replace '<TreatWarningsAsErrors>true</TreatWarningsAsErrors>', '<TreatWarningsAsErrors>false</TreatWarningsAsErrors>' |
Set-Content $_.FullName
}
The problem can be it scans for wrong .xjb file which is designed for another shema.
Plugin scans all .xjb files by default. I had to put this one for plugin org.jvnet.jaxb:jaxb-maven-plugin:4.0.9:
<configuration>
...
<bindingIncludes>
<!-- DO NOT REMOVE: we skip all *.xjb -->
</bindingIncludes>
That's not an XCom limit. There's a configuration limiting the maximum number of mapped tasks: https://airflow.apache.org/docs/apache-airflow/stable/configurations-ref.html#max-map-length. The default value is 1024, you can configure this higher/lower as you prefer.
XComs are limited by their size in your database of choice: https://www.astronomer.io/docs/learn/2.x/airflow-passing-data-between-tasks#when-to-use-xcoms.
"@react-native/gradle-plugin": "^0.81.1",
some times you have to match the above gradle-plugin with the react-native version if you don't want to change the gradle-wrapper.properties file
There are two possible reasons
Check the target framework mentioned in project Properties -> Application -> Target Framework. Download it from the VS Installer -> Modify -> Individual Components
Check compilation Target Framework version in web.config. If it is different to the in the properties download it from the VS Installer -> Modify -> Individual Components
if you are using the gh cli https://cli.github.com/
gh repo sync your-user-name/your-repo
suppose your username is baz, you forked foo/bar into baz/bar
gh repo sync baz/bar
This issue usually happens when upgrading from WSO2 IS 7.1.0 → 7.2.0 without applying the full permission-migration steps.
WSO2 IS 7.2.0 introduces new internal role-management permissions, and existing users (including the admin user) won’t receive them automatically. As a result, SCIM operations like assigning roles return 403.
A fresh installation works because the new default roles are created with the correct permissions.
An upgraded setup needs the migration steps that update internal permissions and system roles.
These permission-migration steps are included in WSO2’s official upgrade process, but the automation/scripts required for this are only available through WSO2 subscription support. If you’re a subscriber, open a support ticket. Otherwise, you’ll need to contact WSO2 to obtain the migration utilities.
Official reference: WSO2 IS Upgrade Guide.
Update for Xcode 26.1.1 Swift 6.2.1
Now Swift has added in the @frozen keyword for some definitions in the standard library. To get the same updated information, type "Swift" in Xcode's Editor and right click on the Swift, select "Jump to Definition" as before. Select all and copy.
Open a Terminal and run the command
pbpaste | grep -E '(^@frozen public|^public)' | grep -E '(struct|protocol|class|enum)' > swiftTypes.txt
you get:
public protocol AdditiveArithmetic : Equatable {
@frozen public struct AnyBidirectionalCollection<Element> {
@frozen public struct AnyCollection<Element> {
@frozen public struct AnyHashable {
@frozen public struct AnyIndex {
@frozen public struct AnyIterator<Element> {
public class AnyKeyPath : _AppendKeyPath {
@frozen public struct AnyRandomAccessCollection<Element> {
@frozen public struct AnySequence<Element> {
@frozen public struct Array<Element> {
@frozen public struct ArraySlice<Element> {
@frozen public struct AutoreleasingUnsafeMutablePointer<Pointee> {
public protocol BidirectionalCollection<Element> : Collection where Self.Indices : BidirectionalCollection, Self.SubSequence : BidirectionalCollection {
public protocol BinaryFloatingPoint : ExpressibleByFloatLiteral, FloatingPoint {
public protocol BinaryInteger : CustomStringConvertible, Hashable, Numeric, Strideable where Self.Magnitude : BinaryInteger, Self.Magnitude == Self.Magnitude.Magnitude {
public protocol BitwiseCopyable : ~Escapable {
@frozen public struct Bool : Sendable {
@frozen public struct CVaListPointer {
public protocol CVarArg {
public protocol CaseIterable {
@frozen public struct Character : Sendable {
@frozen public struct ClosedRange<Bound> where Bound : Comparable {
public protocol CodingKey : CustomDebugStringConvertible, CustomStringConvertible, Sendable {
public protocol CodingKeyRepresentable {
public struct CodingUserInfoKey : RawRepresentable, Equatable, Hashable, Sendable {
public protocol Collection<Element> : Sequence {
public struct CollectionDifference<ChangeElement> {
@frozen public struct CollectionOfOne<Element> {
@frozen public enum CommandLine : ~BitwiseCopyable {
public protocol Comparable : Equatable {
@frozen public struct ContiguousArray<Element> {
public protocol Copyable {
public protocol CustomDebugStringConvertible {
public protocol CustomLeafReflectable : CustomReflectable {
public protocol CustomPlaygroundDisplayConvertible {
public protocol CustomReflectable {
public protocol CustomStringConvertible {
public protocol Decodable {
public protocol Decoder {
public enum DecodingError : Error {
@frozen public struct DefaultIndices<Elements> where Elements : Collection {
@frozen public struct DefaultStringInterpolation : StringInterpolationProtocol, Sendable {
@frozen public struct Dictionary<Key, Value> where Key : Hashable {
public struct DiscontiguousSlice<Base> where Base : Collection {
@frozen public struct Double {
@frozen public struct DropFirstSequence<Base> where Base : Sequence {
@frozen public struct DropWhileSequence<Base> where Base : Sequence {
@frozen public struct Duration : Sendable {
public protocol DurationProtocol : AdditiveArithmetic, Comparable, Sendable {
@frozen public struct EmptyCollection<Element> {
public protocol Encodable {
public protocol Encoder {
public enum EncodingError : Error {
@frozen public struct EnumeratedSequence<Base> where Base : Sequence {
public protocol Equatable {
public protocol Error : Sendable {
public protocol Escapable {
public protocol ExpressibleByArrayLiteral {
public protocol ExpressibleByBooleanLiteral {
public protocol ExpressibleByDictionaryLiteral {
public protocol ExpressibleByExtendedGraphemeClusterLiteral : ExpressibleByUnicodeScalarLiteral {
public protocol ExpressibleByFloatLiteral {
public protocol ExpressibleByIntegerLiteral {
public protocol ExpressibleByNilLiteral : ~Copyable, ~Escapable {
public protocol ExpressibleByStringInterpolation : ExpressibleByStringLiteral {
public protocol ExpressibleByStringLiteral : ExpressibleByExtendedGraphemeClusterLiteral {
public protocol ExpressibleByUnicodeScalarLiteral {
public protocol FixedWidthInteger : BinaryInteger, LosslessStringConvertible where Self.Magnitude : FixedWidthInteger, Self.Magnitude : UnsignedInteger, Self.Stride : FixedWidthInteger, Self.Stride : SignedInteger {
@frozen public struct FlattenSequence<Base> where Base : Sequence, Base.Element : Sequence {
@frozen public struct Float {
@frozen public struct Float16 {
public protocol FloatingPoint : Hashable, SignedNumeric, Strideable where Self == Self.Magnitude {
@frozen public enum FloatingPointClassification : Sendable {
public enum FloatingPointRoundingRule : Sendable {
@frozen public enum FloatingPointSign : Int, Sendable {
public protocol Hashable : Equatable {
@frozen public struct Hasher {
public protocol Identifiable<ID> {
@frozen public struct IndexingIterator<Elements> where Elements : Collection {
@frozen public struct InlineArray<let count : Int, Element> : ~Copyable where Element : ~Copyable {
public protocol InstantProtocol<Duration> : Comparable, Hashable, Sendable {
@frozen public struct Int : FixedWidthInteger, SignedInteger {
@frozen public struct Int128 : Sendable {
@frozen public struct Int16 : FixedWidthInteger, SignedInteger {
@frozen public struct Int32 : FixedWidthInteger, SignedInteger {
@frozen public struct Int64 : FixedWidthInteger, SignedInteger {
@frozen public struct Int8 : FixedWidthInteger, SignedInteger {
public protocol IteratorProtocol<Element> {
@frozen public struct IteratorSequence<Base> where Base : IteratorProtocol {
@frozen public struct JoinedSequence<Base> where Base : Sequence, Base.Element : Sequence {
public class KeyPath<Root, Value> : PartialKeyPath<Root> {
@frozen public struct KeyValuePairs<Key, Value> : ExpressibleByDictionaryLiteral {
public struct KeyedDecodingContainer<K> : KeyedDecodingContainerProtocol where K : CodingKey {
public protocol KeyedDecodingContainerProtocol {
public struct KeyedEncodingContainer<K> : KeyedEncodingContainerProtocol where K : CodingKey {
public protocol KeyedEncodingContainerProtocol {
public protocol LazyCollectionProtocol : Collection, LazySequenceProtocol where Self.Elements : Collection {
@frozen public struct LazyDropWhileSequence<Base> where Base : Sequence {
@frozen public struct LazyFilterSequence<Base> where Base : Sequence {
@frozen public struct LazyMapSequence<Base, Element> where Base : Sequence {
@frozen public struct LazyPrefixWhileSequence<Base> where Base : Sequence {
@frozen public struct LazySequence<Base> where Base : Sequence {
public protocol LazySequenceProtocol : Sequence {
public protocol LosslessStringConvertible : CustomStringConvertible {
@frozen public struct ManagedBufferPointer<Header, Element> : Copyable where Element : ~Copyable {
@frozen public enum MemoryLayout<T> : ~BitwiseCopyable, Copyable, Escapable where T : ~Copyable, T : ~Escapable {
public struct Mirror {
public protocol MirrorPath {
public protocol MutableCollection<Element> : Collection where Self.SubSequence : MutableCollection {
@frozen public struct MutableRawSpan : ~Copyable & ~Escapable {
@frozen public struct MutableSpan<Element> : ~Copyable, ~Escapable where Element : ~Copyable {
@frozen public enum Never {
public protocol Numeric : AdditiveArithmetic, ExpressibleByIntegerLiteral {
@frozen public struct ObjectIdentifier : Sendable {
@frozen public struct OpaquePointer {
public protocol OptionSet : RawRepresentable, SetAlgebra {
@frozen public enum Optional<Wrapped> : ~Copyable, ~Escapable where Wrapped : ~Copyable, Wrapped : ~Escapable {
@frozen public struct OutputRawSpan : ~Copyable, ~Escapable {
@frozen public struct OutputSpan<Element> : ~Copyable, ~Escapable where Element : ~Copyable {
public class PartialKeyPath<Root> : AnyKeyPath {
@frozen public struct PartialRangeFrom<Bound> where Bound : Comparable {
@frozen public struct PartialRangeThrough<Bound> where Bound : Comparable {
@frozen public struct PartialRangeUpTo<Bound> where Bound : Comparable {
@frozen public struct PrefixSequence<Base> where Base : Sequence {
public protocol RandomAccessCollection<Element> : BidirectionalCollection where Self.Indices : RandomAccessCollection, Self.SubSequence : RandomAccessCollection {
public protocol RandomNumberGenerator {
@frozen public struct Range<Bound> where Bound : Comparable {
public protocol RangeExpression<Bound> {
public protocol RangeReplaceableCollection<Element> : Collection where Self.SubSequence : RangeReplaceableCollection {
public struct RangeSet<Bound> where Bound : Comparable {
public protocol RawRepresentable<RawValue> {
@frozen public struct RawSpan : ~Escapable, Copyable, BitwiseCopyable {
public class ReferenceWritableKeyPath<Root, Value> : WritableKeyPath<Root, Value> {
@frozen public struct Repeated<Element> {
@frozen public enum Result<Success, Failure> where Failure : Error, Success : ~Copyable, Success : ~Escapable {
@frozen public struct ReversedCollection<Base> where Base : BidirectionalCollection {
public protocol SIMD<Scalar> : CustomStringConvertible, Decodable, Encodable, ExpressibleByArrayLiteral, Hashable, SIMDStorage {
@frozen public struct SIMD16<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD2<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD3<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD32<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD4<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD64<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMD8<Scalar> : SIMD where Scalar : SIMDScalar {
@frozen public struct SIMDMask<Storage> : SIMD where Storage : SIMD, Storage.Scalar : FixedWidthInteger, Storage.Scalar : SignedInteger {
public protocol SIMDScalar : BitwiseCopyable {
public protocol SIMDStorage {
public protocol Sendable : SendableMetatype {
public protocol SendableMetatype : ~Copyable, ~Escapable {
public protocol Sequence<Element> {
@frozen public struct Set<Element> where Element : Hashable {
public protocol SetAlgebra<Element> : Equatable, ExpressibleByArrayLiteral {
public protocol SignedInteger : BinaryInteger, SignedNumeric {
public protocol SignedNumeric : Numeric {
public protocol SingleValueDecodingContainer {
public protocol SingleValueEncodingContainer {
@frozen public struct Slice<Base> where Base : Collection {
@frozen public struct Span<Element> : ~Escapable, Copyable, BitwiseCopyable where Element : ~Copyable {
@frozen public struct StaticBigInt : ExpressibleByIntegerLiteral, Sendable {
@frozen public struct StaticString : Sendable {
@frozen public struct StrideThrough<Element> where Element : Strideable {
@frozen public struct StrideThroughIterator<Element> where Element : Strideable {
@frozen public struct StrideTo<Element> where Element : Strideable {
@frozen public struct StrideToIterator<Element> where Element : Strideable {
public protocol Strideable<Stride> : Comparable {
@frozen public struct String {
public protocol StringInterpolationProtocol {
public protocol StringProtocol : BidirectionalCollection, Comparable, ExpressibleByStringInterpolation, Hashable, LosslessStringConvertible, TextOutputStream, TextOutputStreamable where Self.Element == Character, Self.Index == String.Index, Self.StringInterpolation == DefaultStringInterpolation, Self.SubSequence : StringProtocol {
@frozen public struct Substring : Sendable {
@frozen public struct SystemRandomNumberGenerator : RandomNumberGenerator, Sendable {
public protocol TextOutputStream {
public protocol TextOutputStreamable {
@frozen public struct UInt : FixedWidthInteger, UnsignedInteger {
@frozen public struct UInt128 : Sendable {
@frozen public struct UInt16 : FixedWidthInteger, UnsignedInteger {
@frozen public struct UInt32 : FixedWidthInteger, UnsignedInteger {
@frozen public struct UInt64 : FixedWidthInteger, UnsignedInteger {
@frozen public struct UInt8 : FixedWidthInteger, UnsignedInteger {
@frozen public struct UTF8Span : Copyable, ~Escapable, BitwiseCopyable {
@frozen public enum UnboundedRange_ {
@frozen public struct UnfoldSequence<Element, State> : Sequence, IteratorProtocol {
@frozen public enum Unicode : ~BitwiseCopyable {
public protocol UnicodeCodec : _UnicodeEncoding {
@frozen public enum UnicodeDecodingResult : Equatable, Sendable {
public protocol UnkeyedDecodingContainer {
public protocol UnkeyedEncodingContainer {
@frozen public struct Unmanaged<Instance> where Instance : AnyObject {
@frozen public struct UnsafeBufferPointer<Element> : Copyable where Element : ~Copyable {
@frozen public struct UnsafeMutableBufferPointer<Element> : Copyable where Element : ~Copyable {
@frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
@frozen public struct UnsafeMutableRawBufferPointer {
@frozen public struct UnsafeMutableRawPointer {
@frozen public struct UnsafePointer<Pointee> : Copyable where Pointee : ~Copyable {
@frozen public struct UnsafeRawBufferPointer {
@frozen public struct UnsafeRawPointer {
public protocol UnsafeSendable : Sendable {
public protocol UnsignedInteger : BinaryInteger {
public class WritableKeyPath<Root, Value> : KeyPath<Root, Value> {
@frozen public struct Zip2Sequence<Sequence1, Sequence2> where Sequence1 : Sequence, Sequence2 : Sequence {
public protocol _AppendKeyPath {
you’re basically fighting 2 separate things here:
how do i save multiple models at once? (backend)
how do i not end up with a monster react component? (frontend)
1) backend – multiple models “in one go”
inertia vs livewire doesn’t matter here. once the request hits laravel it’s just:
“i got some nested data, i need to create/update a few models safely”.
the usual pattern:
send one payload that contains everything (invoice + client + provider + items)
validate it with nested rules (or a form request)
in the controller, wrap the whole thing in a DB::transaction()
so either all models are saved, or nothing is saved if something blows up
create/update: client, provider, invoice, then invoice items
so from laravel’s point of view it’s still just one form submit, just writing to 3–4 tables instead of 1. nothing inertia-specific about it.
2) frontend – avoid the god-component
this is where inertia + react shines if you structure it right.
core idea:
keep one single form state (invoice + client + provider + items) in your page or main form component
break the UI into small “dumb” sections:
<ClientSection />
<ProviderSection />
<InvoiceMetaSection />
<ItemsSection />
those sections don’t own state, they just receive value + onChange props
the “page” (or main form) is the only one that knows the full shape of the data and is the only place that submits
practically: you still have one form, one submit, one inertia post(), but visually and in code it feels like 3–4 smaller, focused components instead of one giant soup.
mental model that keeps things simple
treat the invoice + client + provider as one logical resource in the UI
(one screen, one save button, one request)
treat them as separate models only in the database layer
front: composition + one global state
back: validation + transaction
doesn’t matter if you’re saving 1 model or 5 — same flow, just slightly more fields.
This turned out to be a bug in drools, and will be addressed in version 10.2.0.
https://kie.zulipchat.com/#narrow/channel/232677-drools/topic/Strange.20behaviour.20with.20traditional.20syntax.20in.20RuleUnit/with/558621566
i think the problem is way more Conceptual
Consider this case from leetcode ( naive solution fails on this one)
# Source - https://stackoverflow.com/q/72233959
# Diagram Copies for the post above
2
/ \
NULL 3
/ \
NULL 4
/ \
NULL 5
/ \
NULL 6
we misunderstood the Meaning of actual depth in this case according to problem statement on leetcode
"The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node."
Note: A leaf is a node with no children.
Now understand the explicit meaning leaf node its is a node which has 0 children and since our root node( see diagram) has one children ( right children node with value 3 so it is not a leaf node) and that is where confussion kickin in our naive code we usually do Base case like this
if not node : return 0;
we consider it as leaf node but it does not guartantee its a leaf node it just means if any childern left or right is NULL but actual parent node may have other children ( right or vice versa)
while doing this we are unaware of that fact that we call a node if both its parent.left && parent.right are null
so in order to correctly identify a node as leaf we must check both of it left and right pointer only then we say its a leaf node
if( ! root) return 0; // it check whether root node even exists
// then we check if its LEAF NODE
if( root->left== NULL && root->right==NULL) return 1; // LEAF NODE no children
// other wise we have a may case i whicj one child may be null but now its not a leaf node and we do not //stop recursion( DFS)
inr left_height = depth(root->left);
int right_height = depth(root->right);
// now we have depth of both
if( root->left==NULL) return 1+ right;
if(root->right == NULL) return 1+ left;
// if both children of root nodes exists take min
return min(left_height,right_height) +1;
It takes 24h+ before you'll see the 403s turn into 200s. This is because Google only adds your service account to the bucket read permissions at the next report generation moment.
Simply reinstall git worked for me
The error means the server is returning an invalid or malformed Access-Control-Allow-Headers value in the OPTIONS (preflight) response.
Even a small issue like a trailing comma, duplicate header, or empty value will cause the browser to reject it.
What to check:
Inspect the failing OPTIONS response in DevTools and compare with Dev.
Look for:
✔ trailing commas
✔ blank header values
✔ duplicated Access-Control-Allow-Headers
✔ different headers added by WSO2 / Okta / Apache
It’s almost always a formatting issue in the CORS headers on that environment.
Oops, apologies I did post this incorrectly. Thank you for your response. I will give it a try.
I found
SELECT * FROM vector_store WHERE metadata->>'service' = ?
to be working in Spring. Metadata, however, will never be an array, but may be nested.
Add following snippet in the cloudhub2Deployment element in the pom.xml. This will enable the Object Store V2 on cloudhub for the application.
<integrations>
<services>
<objectStoreV2>
<enabled>true</enabled>
</objectStoreV2>
</services>
</integrations>
I noticed that tsconfig.json not includes the "../server/**/*" at ./.nuxt/tsconfig.json file
{
// https://nuxt.com/docs/guide/concepts/typescript
"extends": "./.nuxt/tsconfig.json"
}
and this problem is fix at 4.2.1 or we can handle it by myself to change tsconfig.json.And this is also the solution for version 4.2.1.
{
"references": [
{
"path": "./.nuxt/tsconfig.app.json"
},
{
"path": "./.nuxt/tsconfig.server.json"
},
{
"path": "./.nuxt/tsconfig.shared.json"
},
{
"path": "./.nuxt/tsconfig.node.json"
}
],
"files": []
}
I ended up dreaming big and going a step further, instead of just pointing browsers at my remote dnscrypt-proxy DoH endpoint, i ended up wanting system level DNS redirection back like i did with local dnscrypt-proxy instances on Android (ads mostly) and Windows (ads and telemetry). So i navigated the world of creating a DNS stamp for my remote dnscrypt-proxy, which took a lot of fumbling as each stamp i generated would error out, until finally i got it right.
Only thing i have now is install a smaller/simpler dnscrypt-proxy magisk module on Android, and simpler dnscrypt-proxy setup on Windows that both upstream to my remote instance. System level blocking with centralised management of block lists is a wonderful thing....
I hope to wipe and recreate the server from scratch and provide an updated script to the one posted earlier soon
Thanks for such a brief answer appreciated !
FastAPI expects the body of a POST request to follow a structure.
If you send just a plain string like:
"hello world"
FastAPI cannot parse it unless you tell it exactly how to treat that string.
So it returns something like:
{"detail":"There was an error parsing the body"}
or:
{"detail":[{"type":"string_type","msg":"str type expected"}]}
from fastapi import FastAPI
from pydantic import BaseModel
app = FastAPI()
class TextIn(BaseModel):
text: str
@app.post("/predict")
def predict(data: TextIn):
input_text = data.text
# your ML model prediction here
result = my_model.predict([input_text])
return {"prediction": result}
{
"text": "This is my input sentence"
}
Great solution! 👏 This approach with GitHub Actions and Sideloadly is a clever workaround for developers without a Mac or a paid Apple Developer account. Using a free Apple ID certificate allows you to sideload apps to an iPhone without needing the full developer program.
For those who want more information on the details of using GitHub Actions with macOS runners, you can check out the GitHub Actions documentation for further configuration.
If you're also looking for web development or custom app solutions, feel free to visit Idea Maker for more info on services offered.
This is a great method to get your app running on iOS during development without the need for a Mac or a paid account!
You are missing one edge case (the statement is not true for n = 0, which probably you don't care). This my attempt at proving the theorem using Nat.mod.inductionOn.
In my case (Flutter 3.35 on macOS), it was not a Firebase outage. It was a combination of package version and macOS network permissions / entitlements.
First, make sure you’re on a recent Flutter and Firebase version:
flutter upgrade
flutter pub upgrade
And in pubspec.yaml use the latest versions of:
firebase_core: ^latest
cloud_firestore: ^latest
Then:
flutter pub get
macos/Runner/Info.plistIn macos/Runner/Info.plist, add:
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
Both of these files need network client permission:
macos/Runner/Release.entitlements
macos/Runner/DebugProfile.entitlements
Add:
<key>com.apple.security.network.client</key>
<true/>
Finally, clean and rebuild:
flutter clean
rm -rf macos/Pods macos/Podfile.lock
pod install
flutter run
Hope this helps someone facing the same issue Thanks
Key is storing the video frames from the past couple of seconds, i.e. in a ring buffer. Once you have detected a distinct playing card, apply block motion detection backwards. You should get a lot of redundant motion vectors (one is sufficient to tell the origin), so filter them and you are able to retrieve the original direction of the card.
Thanks @MTO
Below part of your answer itself work for converting the date into the expected format without using insert command
i tried this way
~~~
create table basetable as
with test_table as (select * from basetable)
SELECT t.*, date_str,
TO_DATE(date_str DEFAULT NULL ON CONVERSION ERROR, 'DD/MM/RR') as formatted_date
from test_table t
~~~
this worked as expected
import React, { useState, useEffect, useRef } from 'react'; import { Crosshair, Heart, Zap, Target } from 'lucide-react';
const FreeFireBattleGame = () => {
const canvasRef = useRef(null);
const [gameState, setGameState] = useState('menu'); // menu, playing, gameover
const [player, setPlayer] = useState({ x: 400, y: 300, health: 100, ammo: 30 });
const [enemies, setEnemies] = useState([]);
const [bullets, setBullets] = useState([]);
const [score, setScore] = useState(0);
const [keys, setKeys] = useState({});
In addition to the solution of @AHaworth and the explanation of the sizing behavior in the answer of @JohnBollinger, I've found in the meantime a different solution by using
grid-template-rows: repeat(2, minmax(min-content, 0px)) repeat(2, min-content)
instead of
grid-template-rows: repeat(4, min-content)
On MDN it says "If max < min, then max is ignored and minmax(min,max) is treated as min." Thus minmax(min-content, 0px) should be equal to min-content, but it seems that for the track-sizing algorithm it is now treated as fixed size instead of intrinsic size. In any case, it works, as one can see in the following snippet:
html, body {
height: 100vh;
max-height: 100vh;
margin: 0px;
}
/* Grid-Container */
#container {
display:grid;
grid-template-areas:
"v p"
"v o"
"v t"
"m t";
grid-template-columns: 1fr min-content;
grid-template-rows: repeat(2, minmax(min-content, 0px)) repeat(2, min-content);
gap: 4px;
width:100%;
}
/* Grid-Items */
div.grid-item {
border-color: black;
border-width: 2px;
border-style: solid;
position: relative;
}
#video {
background-color: green;
height: 180px;
grid-area: v;
}
#metadata {
background-color: yellow;
height: 30px;
grid-area: m;
}
#previewSelect {
background-color: red;
height:30px;
grid-area: p;
}
#transcript {
background-color: blue;
align-self: stretch;
grid-area: t;
}
#optional {
height: 30px;
grid-area: o;
}
<html>
<body>
<div id="container" class="l1">
<div id="video" class="grid-item">Video</div>
<div id="metadata" class="grid-item">Metadata</div>
<div id="previewSelect" class="grid-item">Preview-Select</div>
<div id="transcript" class="grid-item">Transcript</div>
<div id="optional" class="grid-item">Optional</div>
</div>
</body>
</html>
The problem was not running the entire script with DBeaver. You have to click the "Execute SQL Script" (The third form the top) button. The "Execute SQL Query" (top button) is not sufficient enough.

Do you want to expose the fact that the string ends with \0?
My solution was to add this to application.yaml
kafka:
producer:
value-serializer: io.confluent.kafka.serializers.KafkaAvroSerializer
properties:
avro.remove.java.properties: true
This makes KafkaAvroSerializer properly strip the type object down to just "string"
like 32/64 bit problem. From launcher.library I see you are using 32 bit eclipse. From the Java path it looks like 64-bit. You can confirm Java version by running Java -version.
Try with 32-bit Java or get a 64-bit Eclipse.
My assumption here is your OS is 64-bit.
You have to store the cart details locally in app data and publish
Remove cart details if order paid success
So it will be realtime
If you exit the app
And reopen it get the cart details
I'm using this plugin, and I was facing the same issue.
After some trial and error I just ran :Dotnet _server update and dotnet tool install -g EasyDotnet and the issue was fixed.
To be fair, I don't know exactly what is happening but maybe you could give that plugin a try and use the built-in roslyn and maybe run those comments, you can check its doc as well.
I was faced with the task of sorting data by one of two dates depending on the unit's status.
var date = DateTime.UtcNow;
items = items.OrderBy(x => x.StatusId != 1)
.ThenBy(x => x.StatusId == 1 ? x.Date : date)
.ThenByDescending(x => x.Created);