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);
@Jillian Hoenig
We have now fixed the tutorial to use wp-env instead of wp-now - https://faustjs.org/docs/tutorial/learn-faust/
Thank you so much for letting us know about the issues you were having and hopefully this will fix any issues.
This is 100% a client-side state-reset issue, not a browser caching issue.
You MUST reset Redux store on logout funtionality.
Add like this inside clearAuthData():
dispatch(resetCourses());
dispatch(resetUserSlice());
dispatch(resetFriendsSlice());
have you tried the unpackDirName option mentioned here: https://www.electron.build/app-builder-lib.interface.portableoptions
According to the docs that would allow the app to use the same folder in temp for its files and hopefully that could let it find its files without unpacking everything on startup.
I have created a package django-superset-integration to embed an Apache Superset dashboard in a Django app : https://pypi.org/project/django-superset-integration/
(it can still be improved)
My Github Action steps for achieving the above an how I'm using it for my Supabase changes deployment:
\.txt(.*)\n
will match everything between .txt and the line break.
the . needs to be escaped with \ since its part of the regex syntax.
In fact the problem is not related to the library or the project. It is related to the fact that when doing npm install from local project, it will create a symlink from your node_modules to the local library. But it seems that Angular ng serve command doesn't work finely with this. If you do npm install PATH_TO_LOCAL_LIBRARY_DIST --install-links then it will works as expected.
Another way if you only care about the name and not the numeration part
public class SortOrder
{
public const string Newest = "newest";
public const string Rating = "rating";
public const string Relevance = "relevance";
}
SortOrder.Newest -> newest
nameof(SortOrder.Newest) -> Newest
Using Eclipse and Junit, I got a similar error message if the test function lacks parentheses.
Note that your example class lacks a closing bracket '}'.
Adding a closing bracket could help you solve this issue.
If you have still a similar error, I would advise to check:
is the testing library in modulepath or classpath ? Junit has to be in classpath
Are the imports correct according to the documentation ?
Is the unit test file in a package of the same name than the class tested ?
Is the package of the tested class imported ? Ex.: package myClass
alright here’s the thing — your ScrollTrigger isn’t broken, it’s just not dying when you leave the page.
on local dev everything constantly reloads so triggers get reset.
in production? nope. they survive. like cockroaches.
so the first time you load / it works.
you navigate away, come back, the old trigger is still pinned somewhere in gsap limbo, new trigger tries to run → boom, nothing happens.
kill the old trigger before making a new one
kill timeline + trigger properly on cleanup (return)
stop trusting revertOnUpdate to magically fix it — it won't
optionally turn off pinReparent, it causes visual chaos inside react
once you reset gsap manually, the animation works again every time you come back to home page — production included.
useGSAP(() => {
if (pathname !== '/') return;
const el = sectionRef.current;
if (!el) return;
ScrollTrigger.getById('process-section-pin')?.kill(); // kill ghosts
const q = gsap.utils.selector(el);
const isMobile = window.innerWidth < 768;
const scrollDistance = isMobile ? 1500 : 2000;
const tl = gsap.timeline()
.to({}, { duration: 0.4 })
.to(q('.slide-0'), { top: '100%', duration: 0.25, ease: 'power2.inOut' })
.to(q('.slide-1'), { top: '0%', duration: 0.25, ease: 'power2.inOut' }, '<')
.to({}, { duration: 0.4 })
.to(q('.slide-1'), { top: '100%', duration: 0.25, ease: 'power2.inOut' })
.to(q('.slide-2'), { top: '0%', duration: 0.25, ease: 'power2.inOut' }, '<')
.to({}, { duration: 0.4 });
const trigger = ScrollTrigger.create({
id: 'process-section-pin',
trigger: el,
start: 'top top',
end: `+=${scrollDistance}`,
scrub: 0.5,
pin: true,
pinSpacing: true,
animation: tl,
invalidateOnRefresh: true,
});
const onResize = () => trigger.refresh();
window.addEventListener('resize', onResize);
return () => {
window.removeEventListener('resize', onResize);
trigger.kill();
tl.kill();
};
}, { dependencies:[pathname], scope:sectionRef });
Adding "log4j-core-2.22.1.jar" to "Annotation Processing | Factory Path" is not enough:
Also "log4j-api-2.22.1.jar" must be added.
Is there a way I can use a date from a worksheet cell..example dat = cell("H2")? In order to get the date? I am not sure how else to explain it. Other than I receive the Sched workbook (Sched 11.30.25). I create a workbook for picks from that schedule to add to it (Shift Pickup 11.30.25). On 11/24 I receive another weeks schedule (Sched 12.07.25). Again I create another workbook (Shift Pickup 12.07.25). The date is the only thing that changes on the workbook titles. So like today WB Shift Pickup 11.30.25 was created with dat =Date - Weekday(Now(), 1) + 15, and today I had to go in and change it in that specific workbook to dat=Date-Weekday(Now(),1)+8 while the other workbook remains at +15. As we move into next week I will have to go into that specific workbook and change 15 to 8. Hopefully that explains it better. I am looking for a way to make it read and tell the difference between which workbook to look at. This is also used to open and close two other workbooks as I input names into the Shift Pick (Date).
Thanks to @kikon for the insight. The issue is indeed geometric: trying to center labels on the edge of the container (where `left: 0` and `right: 0`) will inevitably cause them to be cut off.
There are two ways to solve this, depending on your ECharts version.
### Solution 1: The Modern Way (ECharts v5.5.0+)
If you can upgrade to version 5.5.0 or later, ECharts introduced specific properties to handle exactly this scenario: `alignMinLabel` and `alignMaxLabel`.
This allows the first label to be left-aligned and the last label to be right-aligned automatically, keeping the middle ones centered.
xAxis: {
// ... other configs
axisLabel: {
// Force the first label to align left (inside the chart)
alignMinLabel: 'left',
// Force the last label to align right (inside the chart)
alignMaxLabel: 'right',
align: 'center', // All other labels remain centered
// ...
}
}
### Solution 2: The Manual Way (For older versions)
Since I am currently on **v5.4.2** and cannot upgrade immediately, the workaround is to manually set the `align` property using a callback function. This achieves a similar effect without using `padding` (which messes up the equidistant spacing).
xAxis: {
// ...
axisLabel: {
// ...
align: function(value, index) {
// Assuming you know the index or value of your start/end points
if (index === 0) return 'left';
if (index === data.length - 1) return 'right';
return 'center';
}
}
}
This ensures the labels are fully visible inside the container without distorting the visual spacing between ticks.
This issue is caused due to flutter version conflict with getx version,
Flutter (Channel stable, 3.38.2,
and get: ^4.7.3,,
before flutter 3.38.2 update getx snackbar was working properly,
when i downgrade the flutter version to flutter 3.35.6 it start working again
When you first time adding a workflow to a GitHub repo from a feature branch, if you want to test it before merge to main you must give it push trigger, without that - as you said - it won't appear in the UI.
How do you solve the empty values? when you call them you must provide a default with the value you want, for example: echo "${{ inputs.actions || 'create' }}".
After you finish your tests you can remove the push trigger and merge to main, only when the workflow is in main you can use the workflow_dispatch trigger, and now - even in side branches.
If you don't want to test with push and default values, you can merge it to main and then conitnue test in a feature branch.
Why is like this? I have no idea... but this is how GitHub Actions works...
crobe is an Indian unit btw, that people in other countries do not understand.
I've same issue in v18.0.2. But i'm using AppDelegate.
My issue is only user authorize open Facebook App, user authorize in WebView is fine.
I research and tried a lot but didn't found any solution. Function func application(... open url: URL, ...) -> Bool in AppDelegate recieved callback and i call return with this return ApplicationDelegate.shared.application(app, open: url, options: options), but the webview still there
I believe you're missing the playlist parameter, which needs to be set to the video id, as shown in @C3roe's answer.
Note the added &playlist=1u17pS4_tw0, I've just tested it and it should work! :)
<iframe width="560" height="315" src="https://www.youtube.com/embed/1u17pS4_tw0?si=V06Ss5eD89_PBShj&controls=1&autoplay=0&rel=0&modestbranding=1&mute=1&loop=1&playlist=1u17pS4_tw0" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
The most closest extension that I can find is Peek Imports that allows you to open a peek window with some key binding (default is Ctrl+I) showing import statements at the very top of the JavaScript/TypeScript file. I just installed it too hence not much comments to share yet.
Yes , ~1.2 minutes to read ~10M rows into Python is normal, and you’re already close to the practical limits. At that scale, the bottleneck isn’t the database but the combination of network transfer + Python needing to allocate millions of objects.
You can shave some time off with driver tweaks (server-side cursor, larger fetch sizes, binary protocol), but you won’t get a 5×–10× speedup unless you change the data handling model entirely (e.g., Arrow/Polars/NumPy to avoid Python object creation).
I think this is related to sharding the data into chunks and delegate it to process with CPU cores or Memory available. As you mentioned it would related with Multiprocessing and Batching strategy topic.
With Veo 3, you can produce professional-level videos even without technical skills. It is fast, easy to use, and perfect for social media content, marketing, and creative projects.
Did you able to do that please reply how to do if you found the solution I'm currently facing the same issue
Generate hash for each binary file, then one hash of all hashes. Plus PGP/GPG signature(s).
Thanks for your question. The chipset(s) you’re referring to are actually best supported through our support portal here. Please allow us to assist you better by raising the issue there.
You can also contact the Qualcomm Sales team or your local Distributor for additional help.
Any reason you are reading it into python and not executing in the DB?
Run from 32 bits:
Result:
1.8.0_201
8192
Yes it is possible to do this with CSS since 2023:
table:not(:has(tr))
See https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:has
This problem often arises in Universal Windows Platform (UWP) development when trying to use a CompositionEffectBrush directly as the fill for a CompositionSpriteShape.
To achieve an irregular-shaped blur:
CompositionSpriteShape can only be filled with a CompositionColorBrush or a CompositionSurfaceBrush (e.g., loaded from a file or created via CompositionDrawingSurface). It cannot directly use a CompositionEffectBrush.
You must bind the shape to a CompositionContainerShape that is parented by a CompositionVisual (like a SpriteVisual Bazoocam).
Apply the CompositionEffectBrush to the SpriteVisual.Brush property instead.
Use the CompositionSpriteShape (with an opaque fill like a CompositionColorBrush ) as the mask by applying the CompositionContainerShape to the SpriteVisual.Clip property or, more robustly, by using a CompositionGeometricClip.
Thank you very much for the answers. This PDF is offered for all those who will work with this type of application. It is not made by me, but only MANDATORY used by us. The manual version will probably work at some point, and I will only be able to use XDP to fill out the PDF as long as I do not have any electronic signature on it. Correct?
I've got an answer from Jasper support:
Cloud Software Group has directed Jaspersoft to cease all business with Russian-occupied territories in Ukraine. Due to the fact that CSG does not have the resources to differentiate regions in Ukraine, a business decision was made to cease providing software to all of Ukraine until further notice.
So, there is only way fro Ukrainians to set up JasperStudio 6.21.5+(alternative method will show up) and get password using alternative method throw VPN.
It is unfair enough but we must accept such situation
A 401 User not found error from OpenRouter usually doesn’t mean the API key is wrong — it often happens when the server’s IP is blocked or flagged.
Since:
The same key works on your local machine
The same key fails even with a raw curl from your production server
The env variable is correct
…the most likely cause is that OpenRouter has blocked or limited your Azure VM’s public IP (this is common with cloud provider IP ranges due to abuse protection).
Contact OpenRouter support and give them your server’s public IP.
They can check and unblock it.
If you want to confirm it’s IP-related:
Try calling the API from another server or via a different outbound IP.
If it works there, the IP is 100% the issue.
There’s no problem with your API key or your code — it’s almost certainly an IP reputation block.
The most standard workaround for passing a dynamic list to an IN clause in systems that don't support array-type bind parameters (which includes current versions of Doris) is string interpolation to construct the SQL.
While you noted it's not ideal for safety, you must ensure the list of IDs is fully sanitized and cast to the expected type (e.g., all integers) before being interpolated into the query string. Alternatively, you could use a Doris function like ARRAY_CONTAINS on a temporary string or array column that stores the ID list, Bazoocam, but this typically involves more complex logic and potential performance trade-offs compared to safe string building for the IN clause.
Needed the same, but could not find anything. Wrote my own:
https://github.com/bmshouse/metriclimiter
An alternative is to re-render the Trix content after saving. I built a simple package to solve this problem that can properly render YouTube videos, Tweets, code blocks, and images from Trix, here's the link in case it's useful for future travelers: https://github.com/Justintime50/trix-tools.
Adding a Vimeo plugin would be a great addition!
There isn't a feature like that for QCalendarWidget. There is an instruction video on how to develop that feature yourself here: https://www.youtube.com/watch?v=At0JMC0rVfg
i am not sure if you can help, the website connects to phantom and they can send me solana, i do get solana to my wallet, but the server fails to send the token to the recieved address.
i also have a game on the website when they play and earn token, they claim reward , the server send the reward fine.
// Source - https://stackoverflow.com/q/79831318
// Posted by Baangla Deshi, modified by community. See post 'Timeline' for change history
// Retrieved 2025-11-27, License - CC BY-SA 4.0
<div id="google_translate_element"></div>
<script type="text/javascript">
document.addEventListener('DOMContentLoaded', function() {
// Get a reference to the code element
const codeElement = document.getElementById('myCodeElement');
// Change the translate attribute to "yes"
if (codeElement) {
codeElement.setAttribute('translate', 'yes');
console.log("Translate attribute changed to 'yes'.");
} else {
console.log("Element with ID 'myCodeElement' not found.");
}
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
Do you have a good reason for continuing to use passwords, though? It might be possible for you to go passwordless by using AWS's Kerberos service to allow application/service/database mutual authentication without needing passwords - and therefore - without needing password rotation.
The answer is rather simple actually; when I was checking for intersections in triangle_triangle_partition, I was not filtering out duplicates. Now that I am, everything works as expected. The corrected function:
--- returns the partitio of the first triangle into three subtriangles,
--- if it intersects the second, otherwise produces nil
--- @param T1 table<table<number>> the first triangle
--- @param T2 table<table<number>> the second triangle
--- @return table<table<table<number>>,table<table<number>>,table<table<number>>> table of sub triangles
local function triangle_triangle_partition(T1, T2)
local I = triangle_triangle_intersections(T1, T2)
if I == nil then return nil end
if #I == 0 then return nil end
if #I == 1 then return nil end
-- if #I ~= 2 then assert(false, ("I is not 2, it is instead: %f"):format(#I)) end
local IO = I[1]
local IU = vector_subtraction(I[2], IO)
local I_basis = {IO[1], IU[1]}
local T1A = {T1[1], T1[2]}
local T1AU = vector_subtraction({T1A[2]}, {T1A[1]})
local T1A_basis = {T1A[1], T1AU[1]}
local T1B = {T1[2], T1[3]}
local T1BU = vector_subtraction({T1B[2]}, {T1B[1]})
local T1B_basis = {T1B[1], T1BU[1]}
local T1C = {T1[3], T1[1]}
local T1CU = vector_subtraction({T1C[2]}, {T1C[1]})
local T1C_basis = {T1C[1], T1CU[1]}
local T2A = {T2[1], T2[2]}
local T2AU = vector_subtraction({T2A[2]}, {T2A[1]})
local T2A_basis = {T2A[1], T2AU[1]}
local T2B = {T2[2], T2[3]}
local T2BU = vector_subtraction({T2B[2]}, {T2B[1]})
local T2B_basis = {T2B[1], T2BU[1]}
local T2C = {T2[3], T2[1]}
local T2CU = vector_subtraction({T2C[2]}, {T2C[1]})
local T2C_basis = {T2C[1], T2CU[1]}
local points = {}
local non_intersecting = nil
local function add_unique(points, pt, eps)
for _, p in ipairs(points) do
if distance(p, pt) < eps then
return false -- Not unique
end
end
table.insert(points, pt)
return true -- Unique
end
-- T1A
local int1 = line_line_intersection(I_basis, T1A_basis)
if int1 == nil then
int1 = {solution = {}}
end
if #int1.solution ~= 0 then
local t = int1.solution[1]
local intersect = vector_addition(IO, scalar_multiplication(t, IU))
if point_line_segment_intersecting(intersect, T1A) then
if not add_unique(points, intersect, eps) then
non_intersecting = "T1A"
end
else
non_intersecting = "T1A"
end
else
non_intersecting = "T1A"
end
-- T1B
local int2 = line_line_intersection(I_basis, T1B_basis)
if int2 == nil then
int2 = {solution = {}}
end
if #int2.solution ~= 0 then
local t = int2.solution[1]
local intersect = vector_addition(IO, scalar_multiplication(t, IU))
if point_line_segment_intersecting(intersect, T1B) then
if not add_unique(points, intersect, eps) then
non_intersecting = "T1B"
end
else
non_intersecting = "T1B"
end
else
non_intersecting = "T1B"
end
-- T1C
local int3 = line_line_intersection(I_basis, T1C_basis)
if int3 == nil then
int3 = {solution = {}}
end
if #int3.solution ~= 0 then
local t = int3.solution[1]
local intersect = vector_addition(IO, scalar_multiplication(t, IU))
if point_line_segment_intersecting(intersect, T1C) then
if not add_unique(points, intersect, eps) then
non_intersecting = "T1C"
end
else
non_intersecting = "T1C"
end
else
non_intersecting = "T1C"
end
if #points ~= 2 then
-- print("Partition failure: got", #points, "points")
-- print("Triangle 1:", T1)
-- print("Triangle 2:", T2)
-- return nil
end
local quad = {}
local tri1
local A, B = points[1], points[2]
table.insert(quad, A[1])
table.insert(quad, B[1])
if non_intersecting == "T1A" then
table.insert(quad, T1A[1])
table.insert(quad, T1A[2])
tri1 = {A[1], B[1], T1B[2]}
elseif non_intersecting == "T1B" then
table.insert(quad, T1B[1])
table.insert(quad, T1B[2])
tri1 = {A[1], B[1], T1C[2]}
elseif non_intersecting == "T1C" then
table.insert(quad, T1C[1])
table.insert(quad, T1C[2])
tri1 = {A[1], B[1], T1A[2]}
end
quad = centroid_sort(quad)
if distance({quad[1]},{quad[3]}) > distance({quad[2]},{quad[4]}) then
return {
tri1 = tri1,
tri2 = {quad[2], quad[1], quad[4]},
tri3 = {quad[2], quad[3], quad[4]}
}
else
return {
tri1 = tri1,
tri2 = {quad[1], quad[2], quad[3]},
tri3 = {quad[3], quad[4], quad[1]}
}
end
end
firefox is open with a blank page but do not goto target url, please help
Use dotenv package
import dotenv from "dotenv";
and its config
dotenv.config();
it will start reading .env file contents
Or you can use a glue job, which is similar to lambda function but it doesn't support node.js, if your script is in Python, glue job might be a good alternative.
Thanks to @Matt Gibson comment, I realized that contents in an ansible.cfg must follow the provided options listing in Ansible Configuration Settings, does not support self-defined key.
No specific day. The way it works is I get the schedule and it goes into another workbook similar to the schedule. This is the workbook I work in as people pick up extra shifts for the week. Once the new schedule comes out they are available to pick up shifts for that week, hence the second workbook. Sched 1 is the original, I just pull initial data from. Once data is in WB1 (runs the 8) I add people daily or so. Once another schedule posts then WB2 (runs on the (15)) is created, I now work with WB1 and WB2 as people pick up till said schedule ends. Hope that makes since. Once WB1 has gotten through most of the week, WB2 has to be changed to (dat (8)) I have to change it to.
I think what @Tim is asking is on which day during any week do you start being concerned about looking at "next week's" schedule? Is that a clearly defined rule? (ie. up until Thursday you're always concerned with looking at this week's workbook, then Friday onwards you're looking at next week's schedule?). Obviously, if you say that the workbooks are sometimes created on Monday, but sometimes not until Tuesday, that's not necessarily ideal in terms of coding set logic. Otherwise, if your code is being triggered in a "master" spreadsheet, then just have a cell where you set the "this week" / "next week" parameter, and use the value of that cell to determine your "8 / 15" switch
I am asking this question for a project that uses only C++20, with no previous versions of C++ or C.
Please edit your question to include what you've tried and what errors or behaviour you're seeing. See this article on how to ask a question so it's possible to answer.
So basically working 2 workbooks. One title Sched 11.30.25 and the other Sched 12.07.25. 8 would represent the week we are in Sched 11.30.25 and 15 would represent the following week.
I sell some Source code on my web site : https://payhip.com/Guard0n
The code source are not Copyrighted so you can sell a program with this base.
You can dowload on the buy page a PDF for editing the program and how to use it.
I'm a young french coder and i want to have a name in the cybersécurity
Please explain the exact logic behind what the expected value is for dat When is "this week" needed vs. "next week"?
I could solve it by adding the "origin" parameter and setting this to the URL of our website:
NSDictionary* YTParameter = @{
... ,
@"origin" : @"https://www.ourwebsite.xy",
};
[YTPlayer loadWithVideoId: "YouTubeVideoID"]
playerVars: YTParameter];
Had the same linker error as T.J.Evers, except I'm using Intel Fortran and my error referred only to the LOG10 intrinsic. The linker did work (Windows 11) without error up until at least June 2025. The exact same linker operation failed in November 2025. I tried “/NODEFAULTLIB:libucrt.lib libucrt.lib” but that DID NOT work. However “/NODEFAULTLIB:libmmt.lib libmmt.lib” DID work (no linker error using the latter). The only software updates applied since June were mandatory Windows ones; no optional/manual updates done for anything else by me. As T.J.Evers says, "the solution turned out to be very counterintuitive"!
The most significant risk in a unity build using standard include guards (#ifndef HEADER_H) is Macro Name Collision.
In a standard build, source files are compiled individually. If LibraryA/utils.h and LibraryB/utils.h both happen to use the include guard UTILS_H, it rarely causes issues because they are usually compiled in separate translation units.
However, in a Unity Build, dozens or hundreds of files are combined into a single translation unit.
The preprocessor reads LibraryA/utils.h, defines UTILS_H, and includes the content.
Later in the same file, the preprocessor reaches LibraryB/utils.h.
It sees that UTILS_H is already defined.
It silently skips the content of LibraryB/utils.h.
This results in confusing "incomplete type" or "undefined symbol" errors because the compiler literally ignored the second header file.
**#pragma once prevents this.** It relies on the file's unique identity (inode, file path) rather than a user-defined name. Even if two files are named utils.h, the compiler knows they are different files and will include both.
Thank you, that is quite helpful. I'll explore your solutions.
But one issue comes to mind immediately: isn't it true that running streamlit in a subprocess means that the app will no longer benefit from uv's features, particularly rapid installation of dependencies? Or should the subprocess call something like uvx streamlit run foobarbaz/__main__.py? Will that honor all requirements listed in pyproject.toml?
From your description, I didn't see any point overengineering to subtract array.
The logic is nothing but (in pseudo code)
ISNUMBER(SEARCH("1234",[Column2]))
AND
NOT(([Column1] or [Column3]) CONTAINS ("key phrase 1" or "key phrase 2"))
=FILTER(
Table1,
ISNUMBER(SEARCH("1234",Table1[Column2]))
*
(MMULT(--ISERROR(SEARCH({"key phrase 1","key phrase 2"},Table1[Column1]&Table1[Column3])),{1;1})=2)
)
From a pure performance standpoint, printing the time at each iteration is very bad, you might want to use another way to keep track of your iterations. Might I suggest tqdm ?
If you want to do a lot of algebra fast, numpy is your best bet, though jax could be better if you want to run on gpu. For instance, to compute the length of 1000000 (a million) vectors generated randomly from values between 0 and 1 (like you did here), you could do:
import numpy as np
import time
t0 = time.time()
vectors = np.random.random(size=(10_000_000, 4))
vectors[:, 0] = vectors[:, 3]
print(time.time() - t0)
This code snippet takes about 220ms on my own computer, which is not particularly fancy.
EDIT: I changed my code snippet to reflect what yours does, it's abetter example.
What you are asking for, in V17, and I believe all other versions, doesn't exist.
The model Siemens uses with Unified in Openness is to directly edit the HMI device in the project. While the Openness application is running, you can literally see tags appearing in lists, and items appearing on screen and moving around.
I originally had an application working with XML export for Comfort panels (e.g. TP700). When the Openness for Unified came along, I abstracted the hardware into a lower layer (more or less) and kept the interface the same, so that my application code didn't know the difference between the hardware.
"Exporting" a unified panel became simply getting a handle for the Unified device in Openness.
Previously, add/modify/delete screen attributes simply did so in the XML; now it does that only for Comfort panels (etc), but now for Unified, manipulates the associated children of the Unified device.
"Importing" a unified panel doesn't do anything, because this step is not required.
I can update this answer with specific examples if you like.
According to https://bugs.openjdk.org/browse/JDK-4953311 the default was changed in Java 5 (released in 2004 by Sun Microsystems) to 8192 bytes for both Buffered Input- and Outputstreams from previously 2048 (input) and 512 (output).
What about adding inline style for those elements you want protect ?
style="filter:hue-rotate(calc(0deg - var(--hueRotationDegree)));"
It works for me when I want exclude some LEDs from hue-rotate effect applied to <html> (entire webpage).
Example:
<div title="receiving UDP weight" class="_idReceivingUDPWeightLed led redLed" style="filter:hue-rotate(calc(0deg - var(--hueRotationDegree)));"></div>
Note:
for <html> tag I used
filter:hue-rotate(var(--hueRotationDegree));
I applied hue-rotate effect on the webpage changing CSS variable
document.documentElement.style.setProperty("--hueRotationDegree",<hueRotateDegreesVariable> + "deg");
thanks for the reply and sorry for not providing OS, it is Windows.
Got internet issues right now. I'll post the type / reponse later. But this my code around the error.
try:
req = requests.get(url, params=params, headers=self.headers)
req.raise_for_status() # print None
res = req.json()
except Exception:
logger.exception(f"Failed to fetch")
return None
if res is None: # aka NoneType
logger.warning(f"No data found")
return None
data = res.get("key", {}) # AttributeError
It is because if you compile using PyInstaller on Linux (In your case WSL) it will generate a Linux binary. PyInstaller is NOT a cross compiler.
I had the same problem. Turns out the VCAP decoupling caps were too small. Thanks for the hint @ChewToy
@Jeffin Rockey : no what you're actually looking for is someone else to do your homework.
After a while trying some stuff, this approach worked for me:
App\Models\DatosContacto.php:
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
use App\Models\Alquiler;class DatosContacto extends Model {
use HasFactory;protected $guarded = [];
public $timestamps = false;
protected $table = 'datos_contacto';
protected $hidden = ['tipo_usuario','alquiler_id'];
public function alquiler() {
return $this->belongsTo(Alquiler::class, 'alquiler_id');
}
}
App\Models\ContratadorContacto.php:
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use App\Models\Alquiler;
use App\Models\DatosContacto;class ContratadorContacto extends DatosContacto {
}
App\Models\PublicadorContacto.php:
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use App\Models\Alquiler;
use App\Models\DatosContacto;class PublicadorContacto extends DatosContacto {
}
App\Models\Alquiler.php:
<?php
namespace App\Models;
(...)
use App\Models\DatosContacto;
use App\Models\PublicadorContacto;
use App\Models\ContratadorContacto;(...)
class Alquiler extends Model {
protected $appends = ['reputacion', 'ambientes', 'datosContacto'];
(...)
public function datosContacto() {
return $this->hasMany(DatosContacto::class, 'alquiler_id');
}public function publicadorContacto() {
return $this->hasOne(PublicadorContacto::class, 'alquiler_id')
->where('tipo_usuario', 'publicador');
}public function contratadorContacto() {
return $this->hasOne(ContratadorContacto::class, 'alquiler_id')
->where('tipo_usuario', 'contratador');
}public function getDatosContactoAttribute() {
if ($this->disponible) return null;if (!$this-\>publicadorContacto() || !$this-\>contratadorContacto()) return null; return (object)\[ 'publicadorContacto' =\> $this-\>publicadorContacto, 'contratadorContacto' =\> $this-\>contratadorContacto, \];}
(...)
}
My tinker result, when I do Alquiler::find(37) is like this:
+datosContacto: {#6836
+"publicadorContacto": App\Models\PublicadorContacto {#6713
id: 55,
#tipo_usuario: "publicador",
email: "[email protected]",
horario_atencion: "24x7",
telefono: "11-3546-5888",
telefono_alt: "4701-1108",
celular: "11-3546-5888",
whatsapp: "(54) 11-3546-5888",
#alquiler_id: 37,
},
+"contratadorContacto": App\Models\ContratadorContacto {#6755
id: 54,
#tipo_usuario: "contratador",
email: "[email protected]",
horario_atencion: "24x7",
telefono: "11-3233-9668",
telefono_alt: "5325-1372",
celular: "11-3233-9668",
whatsapp: "(54) 11-3233-9668",
#alquiler_id: 37,
},
},
Thank a lot for your suggestions!
Best regards
Leandro
It returns a Dict. I get the items of the JSON object using get('key', {}).
https://docs.tradier.com/reference/brokerage-api-markets-get-options-chains
You're right. I'll inspect what is the type / response of the JSON when I get AttributeError.
Thanks.
because it is possible that response is a list or number or even an string.
in that scenario is is not null but also you can't call that with a get. you can first check it is a json or not.
isinstance(res, dict)
Can't explain but I kept getting the AttributeError. The middle conditional statement would not catch it.
Maybe because JSON is a complex object ?
The length 16 might be the usual header and an empty body. I didn't check the text. Only the length.
Can you explain how the middle options don't work? If res is None, I'd think either of the first two clauses of your or expression should catch it. If it's something other than None, I'd expect you to get a different exception. What is the contents of req.text when you say it's length 16?
It seems like you want an actual solution - as opposed to general advice. In which case you should delete this "advice" question and ask a regular question.
As an aside you don't appear to have accepted any answers from your recent questions, nor commented as to why the provided answers don't meet your needs. This is unusual from someone of your reputation.
And maybe you have some spelling mistakes in your question e.g.
DistributedHashJoon -> DistributedHashJoin?
spli hash join -> split hash join?
In that case, look into both what parameters were defined in the Report designer and what parameters were defined for the Commands.
I used Root Explorer! Open the app, then spam the [...] file directory (it means "go back a directory) until it dissapears, meaning you are in the root directory, then scroll down a bit and click the "system" file, then app, which is [ /system/app ] THIS REQUIRES ZERO ROOT ACCSESS, ONLY GRANTING READ ALL FILES TO ROOT EXPLORER. Sadly, this isn't a single command, but it's damn near close. ALSO IN ORDER TO DELETE THESE PLEASE DON'T BUT YOU ONLY NEED ROOT ACCSESS TO EDIT OR DELETE, BUT YOU CAN COPY THEM TO DOWNLOADS TO USE APKs ELSEWHERE.
Please read : Why should I provide a Minimal Reproducible Example, even for a very simple SQL query?
Set __warningregistry__ to None.
>>> import warnings
>>> __warningregistry__ = None
>>> for i in range(3):
... warnings.warn("oh noes!")
Warning (from warnings module):
File "<pyshell#3>", line 2
UserWarning: oh noes!
Warning (from warnings module):
File "<pyshell#3>", line 2
UserWarning: oh noes!
Warning (from warnings module):
File "<pyshell#3>", line 2
UserWarning: oh noes!
select {
pointer-events: none;
}
MDN docs for pointer-events .
I wrote a tool for that: https://github.com/adombeck/gotest-rerun-failed
It reads JSON output from go test -json on stdin, identifies failed tests, and reruns them:
go test -json ./... | gotest-rerun-failed
you can just use the multithreading lib in python
import multiprocessing
def get_cpu_threads():
threads = multiprocessing.cpu_count()
print(f"CPU can handle {threads} threads")
if __name__ == "__main__":
get_cpu_threads()
2025.2.4 Ultimate Edition Update for Mac.
Open Settings -> Advanced Settings. Search "modal" and find checkbox on the bottom. Enable it.