Today, the modern metric for comparing two colors in the CIELAB color space is the ΔE2000. The implementation of this formula, with helpers for handling RGB and hexadecimal colors, available for example here in 20+ programming languages, should help us move forward.
I see I'm not the only one building Npgsql for NetFramework
Add \
before every &
arguments in the deep link
Try below this:
adb shell am start -a android.intent.action.VIEW -c android.intent.category.BROWSABLE -d "https://example.com/play?id=1\&name=john\&[email protected]"
The URL (appium server endpoint) used in the code is incorrect.
Try using "http://127.0.0.1:4723/" instead of "http://127.0.0.1:4723/wd/hub".
The error message starts from the image_picker dependency, which has compatibility issues with web, as per documentation here: https://pub.dev/packages/image_picker
You can see in the same documentation that they recommend using https://pub.dev/packages/image_picker_for_web#limitations-on-the-web-platform and pay attention to the limitations. Have a look at it and see if it solves your problem
Fatal error: Uncaught Error: Call to undefined function CodeIgniter\locale_set_default() in D:\xampp\htdocs\sekolah\system\CodeIgniter.php:184 Stack trace: #0 D:\xampp\htdocs\sekolah\system\bootstrap.php(181): CodeIgniter\CodeIgniter->initialize() #1 D:\xampp\htdocs\sekolah\index.php(36): require('D:\\xampp\\htdocs...') #2 {main} thrown in D:\xampp\htdocs\sekolah\system\CodeIgniter.php on line 184
In my case, the error occurred due to the use of outdated Flutter plugins, specifically ones that rely on the old Android embedding (v1). Modern Flutter projects — especially those created using recent versions of Android Studio — are configured to use Android embedding v2, which is incompatible with v1-style plugins.
run this command:
flutter pub upgrade
If upgrading doesn't resolve the issue, check the plugin’s page on pub.dev. If the plugin is:
After upgrading or replacing the plugins, run the following commands:
flutter clean
flutter pub get
I think I found the answer after (a lot!) more searching here:
https://stackoverflow.com/a/64047575/3663863
Although the better option might be to move away from packages.config or find better nuget libraries that don't have so many old dependencies as suggested in comments, I suspect I'm like a lot of people - stuck with what I've got and just needing to fix it.
The original blog post that answer links to is worth a read, as well as the one it got the answer from found here:
Open the .condarc file under C:\Users\<username>\ directory or create it if it does not exist. Make sure that the .condac file contains only the following statements.
channels:
- defaults
- conda-forge
ssl_verify: false
Install Anaconda with the Just Me option.
Windows currently: .venv\Scripts\activate where "venv" is your environment name.
You can check this guide to resolve this.
https://misaas.info/digital-media/how-to-improve-seo-ranking-and-fix-structured-data-errors/
Just posting this in case anyone else has this issue.
For me the .net runtime is missing. I installed it using snap on ubuntu.
.net 8 runtime
sudo snap install dotnet-runtime-80
.net 9 runtime
sudo snap instlal dotnet-runtime-90
list of runtimes to install
https://learn.microsoft.com/en-us/dotnet/core/install/linux-snap-runtime
Solved this by activating the virtual environment
uninstalling moviepy,
updating pip with:
python -m pip install --upgrade pip
reinstalling moviepy
A very good and workable solution suggested here and I tested and found all working.
if you use python version below 3.9 , adk installed will be 0.0.1, which does not support adk run
or similar commands . so update both python and adk version
did you find a solution for your old problem?
With the -k*[keywordspec]* argument of xgettext you can add keywords. The default keyword specifications stay enabled, though. And for Java, these keywords include getString, no matter from which class:
GettextResource.gettext:2
, GettextResource.ngettext:2,3
, GettextResource.pgettext:2c,3
, GettextResource.npgettext:2c,3,4
, gettext
, ngettext:1,2
, pgettext:1c,2
, npgettext:1c,2,3
, getString
.To disable the default keyword specifications, the option ‘-k’ or ‘--keyword’ or ‘--keyword=’, without a keywordspec, can be used.
https://www.gnu.org/software/gettext/manual/gettext.html#Language-specific-options
So, just adding -k with an "empty" keywordspec removes the default keywords.
Considering this, the full command should be:
find src -iname "*.java" | xargs xgettext -k -ktrc -ktr -kmarktr -ktrn:1,2 -o po/keys.pot --from-code=utf-8
Outside of a for-loop, x in range(..)
mean something different. It's a test that returns a boolean
print(1 in range(1,11)) # prints True
So your while-loop actually means this:
def main():
x=1;
while True if x in range(1,11) else False:
print (str(x)+" cm");
if __name__=="__main__":
main();
We're seeing the exact same crash on our app over the last month or so, only affecting Transsion devices on Android 15 aswell. Did you manage to get a solution to this?
Try going to Wifi settings/ur wifi network/shiw qr code/save tge code and then scan it with other phone ir scan from image
It sounds like you want something that will return the list of provider ids:
Spring provides in memory repository that allows you to leverage this information, it's how Spring makes the default login page links:
// Inject with Lombok @RequiredArgsConstructor, or use Autowired.
private final InMemoryClientRegistrationRepository oauth2Providers;
@GetMapping("/oauth2Providers")
public ResponseEntity<List<String>> oauth2Providers() {
List<String> listOfAuth2Providers = new ArrayList<>();
oauth2Providers.iterator().forEachRemaining(provider -> {
listOfAuth2Providers.add(provider.getRegistrationId());
});
return ResponseEntity.ofNullable(listOfAuth2Providers);
}
I've encountered this couple of times, if you're running into dependency or runtime issues and everyone on your team isn't facing the same issue, here's a clean way to reset your local setup based on the latest branch that everyone has:
package.json
from your base branch on GitHubGo to the repo directory on the development
branch and copy the full content of the package.json
file.
package.json
On your local environment (the one facing issues), replace the contents of your current package.json
with the one you just copied from the repo.
pnpm-lock.yaml
Copy the full content of pnpm-lock.yaml
from the repo and replace your local copy with it.
✅ Tip: Make sure you fully overwrite both files, don’t merge manually.
In your local project directory, run a fresh install:
pnpm install
This will install the exact dependency versions as defined in the lock file and ensure consistency.
Doing this ensures that you're using the exact same dependencies and versions as defined in the development
branch, avoiding any mismatch errors caused by outdated or mismatched packages.
This has always work for my case.
Let me know if you hit any issues during the process!
The this.wrapper.(find(...))
part has a problem. Just grab the id directly from the <option>
like this:
var option = $('<div class="option" id="' + this.answers[i].getAttribute('id') + '">' + answers[i].text + "</div>")
One more thing, in your form, you have id"whatsapp"
which should be id="whatsapp"
.
Goto Trouble shoot option in here and it has three steps perform each one after another and try to connect over threw wifi. I have done direct the third step and it worked perfectly.
Problem solved.
My original code was:
m_Db.addDatabase("QMYSQL");
It have to be:
m_Db = QSqlDatabase::addDatabase("QMYSQL");
In the first case
bool ok = m_Db.open();
even if driver il correctly loaded.
Now I have a different proble, if I run directly the program, it is able to connect to the remote database. If I run it inside debugger, I receive this error:
"Open database failed: Can't create TCP/IP socket (10106) QMYSQL: Unable to connect"
Someone know how to configure debugger so to avoid this error?
Thank you.
Inside your tsconfig
:
"paths": {
"@/*": ["./src/*"]
},
and in vite.config
:
alias: {
'@': path.resolve(__dirname, './src'),
},
For session scoped fixtures, I've made this one (return_value
with object initialization allows iterate only once):
foo = AsyncMock(spec=FooClass)
bar = Mock(spec=BarClass)
async def _g(*_, **__):
yield bar
foo.__aiter__ = Mock(side_effect=_g)
Did you fix it? Can you tell me what its solution is? i am stuck !
In the end I created a CloudWatch Logs subscription filter.
You’re right in identifying that Xcode’s target settings for App Groups aren’t scheme- or build-configuration-specific—they’re project-wide and tied to the target. So, even though your code picks the correct App Group identifier based on the environment, Xcode’s signing and capabilities system only knows about the App Groups you check in the target settings.
Here’s what you need to know:
All App Groups must be enabled in target settings:
In your target’s “Signing & Capabilities” > App Groups section, check all the App Groups your various flavors use (Development, Staging, Production).
Selecting a group per scheme is not possible in Xcode UI:
The checkboxes in the target’s capabilities correspond to the entitlements applied to all configurations/schemes for that target. Schemes themselves cannot change entitlements (nor can build configurations directly).
Environment-specific access is controlled in code:
It’s fine (and quite common) to conditionally select which App Group identifier you use at runtime based on the environment. As long as all possible App Groups are listed in your entitlements, this is a safe and accepted practice.
Provisioning profiles:
In the Apple Developer portal, make sure all the App IDs (for each environment) have access to their appropriate App Groups, and that your provisioning profiles are up to date and include all App Groups required by the app and any extensions.
Potential pitfalls:
If you remove an App Group from the target’s capabilities, Xcode may also update your provisioning profile to drop it, which could break one or more flavors.
Xcode will never allow you to dynamically select an App Group at build time via schemes/configurations in the Xcode UI—it’s always a superset at the target level.
Summary / TL;DR:
Check all relevant App Groups in your target’s “Signing & Capabilities.”
Use runtime logic in your app and extension to select the correct App Group per environment.
Maintain correct mapping in the Developer portal and provisioning profiles.
It’s safe as long as you do not access App Groups not listed in entitlements, and all flavors’ App IDs are granted access to the App Groups.
Extra tip:
If you add or remove App Groups in the Developer portal, always update your provisioning profiles and regenerate them in Xcode to ensure all entitlements are synced.
My colleague gave me the answer
FROM tab t, UNPIVOT t.roles AS has_role AT role
WHERE role like 'foo%' AND has_role = true
With thanks to everyone who commented above, I found comments on Image flex item does not shrink height in a flexbox that suggested using min-width: 0
on the flex items (in my case, the <img>
elements), which seems to work. The images resize, smaller than their natural size if the container is narrower than they fit in, and larger when the container is larger.
See this on codepen: https://codepen.io/neekfenwick/pen/EajjJaq
.parent {
display: flex
flex-direction: column;
width: 30%; /* size according to window */
background-color: lightblue;
justify-content: stretch;
}
.parent.wider {
width: 60%; /* size according to window */
}
.icon-wrapper {
display: flex;
flex-wrap: nowrap;
/* Maybe unnecessary, but just to force them to stay on one row */
}
img {
flex: 1 1 auto;
min-width: 0; /* allows images to resize smaller than their natural size */
}
<p>See https://stackoverflow.com/a/79641492/141801</p>
<p>With `min-width: 0` on the flex items, the img elements will resize smaller than their natural size when required, and larger too. The container (with the light blue background) is set to a percentage of the window width, so resizing the window should show how they resize. See also codepen at <a href="https://codepen.io/neekfenwick/pen/EajjJaq">https://codepen.io/neekfenwick/pen/EajjJaq</a>.</p>
<div class="parent">
<div class="icon-wrapper">
<!-- I'm using a CDN image that ought to be online for a good while -->
<img src="https://cdn-icons-png.flaticon.com/128/1017/1017466.png">
<img src="https://cdn-icons-png.flaticon.com/128/1017/1017466.png">
<img src="https://cdn-icons-png.flaticon.com/128/1017/1017466.png">
</div>
</div>
<p>Here is a wider example</p>
<div class="parent wider">
<div class="icon-wrapper">
<!-- I'm using a CDN image that ought to be online for a good while -->
<img src="https://cdn-icons-png.flaticon.com/128/1017/1017466.png">
<img src="https://cdn-icons-png.flaticon.com/128/1017/1017466.png">
<img src="https://cdn-icons-png.flaticon.com/128/1017/1017466.png">
</div>
</div>
I have the same problem. Is there any new solution to this topic?
try adding LangVersion
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<LangVersion>12.0</LangVersion>
</PropertyGroup>
Did you find any solution for this issue?
In your playground there are 2 dialogs but only one has the v-model active so you are triggering by two sources BUT its the same dialog.
The declaration above has the "text" prop you want but no v-model to activate it.
My advice is to use only one dialog and one prop (plus v-model) and just change the prop value.
If you use the same component twice that's two components not a shared state one.
I have the same issue, have you found the answers?
You can send a test notification in here https://icloud.developer.apple.com/dashboard/notifications. Also, you can specify the apns-collapse-id but it is not added in the curl request or in the payload. So I'm not sure how they are adding apns-collapse-id.
According to the DeepFace [benchmarks](https://github.com/serengil/deepface/tree/master/benchmarks), FaceNet512 & RetinaFace pair is giving the highest accuracy score.
Also, my experiments make me feel that euclidean is overperforming than cosine.
Some models such as FaceNet, ArcFace are worth to try for your custom dataset because benchmark scores are retrieved on LFW dataset, but your custom dataset may overperform for any other configuration.
This error happened when opening a bottomsheet for me. I added this check to it and it fixed it:
if (!context.mounted || ModalRoute.of(context)?.isCurrent != true) return;
In Next.js 14, you can't set a 503 status after rendering a page — middleware must return early, which blocks content. To serve full pages and return a 503, handle it at the server or proxy level (e.g., with a custom Node.js server or edge function). And this method is good cus this preserves SEO and avoids hurting your link building efforts by keeping content crawlable while signaling temporary unavailability.
Because the spring-cloud-deployer-kubernetes:2.9.5 depends on kubernetes-model-core:5.12.4 the only solution is to fix deployer-kubernetes - there's more incompatibilities.
You should add that in
[CascadingParameter] MudDialogInstance MudDialog { get; set; }
TestDialog.razor.cs
Try checking that Headers.multipartFormDataContentType isn't null or it will send the request without options and the server may not be able to understand the request, and that may be what is causing the no response.
Try checking php.ini, path should be something like: C:\xampp\php\php.ini
Search for max_execution_time = 120 and increase it to 300, after that save it and restart Apache in Xampp, maybe this can help.
I was diagnosed 4 years ago at age 60. Symptoms were tremor in the right leg, loss of handwriting ability (my normally beautiful cursive writing was now small, cramped printing and a soft voice. I also had difficulty rising from a seated position and have balance issues. I started out taking only Azilect, then Mirapex, and then Sinemet. Several months ago, I started falling frequently, hence the reason for Sinemet. During the summer of 2021, I was introduced to Uinehealth Centre, and their effective PD-5 protocol. The treatment significantly alleviated my symptoms, outperforming the prescribed medications. My husband says it has done me a lot of good in terms of balance and ability to walk and get up from chairs. I can now write without my hands shaking; I can feel my strength again. I was fortunate to have the loving support of my husband and family. I make it a point to appreciate every day! Visit uinehealthcentre. net
In latest Android studio (2025), left side menu you can find the 3 dots menu.
click the menu -> App Inspection -> Database Inspector
I had this game as a kid in the early ‘70s. I can’t remember what it was called but not Tetris. It was flat plastic pieces we fitted into a rectangular box, and each time we made a new solution, my mother traced the pieces and kept all the solutions in the box with the puzzle pieces. I remember I bought it in the gift shop at the Lincoln birthplace or boyhood home in Kentucky.
Replace-> .Include() with .Select() it will not only optimize the query but improve the performance of the query for load necessary data
You can do this using pandas
import pandas as pd
df = pd.read_csv('data.csv')
df = df.drop_duplicates(subset=['serial_number'])
Thank-you! You just made my life a whole lot easier!
the issue you are facing is due to the framework incompatibility. .net framework can't be referenced from .net core
the cleaner way i see is to create a .net standard library and share between .net framework and .net core
In the first line you create variable box with type Box3. Variable also can be null.
In the second line you check that variable box is not null
In third line you use method .getCenter() for variable box. Typescript use method from type type Box3 because type was described in first line.
Add a line y= ax+b with both a and b > 0. You can set b=1 and adjust a in such a way that the initial trend you get is not inversed.
Method should work well due to the discontinuous derivative at the minimum
Just add one class to body like "prevent-scroll" while your loader is there and this style in class.
body.prevent-scroll{
height: 100vh;
overflow: hidden;
}
also do not forget to remove this class "prevent-scroll" from body after loading is done
I am also facing the same problem.
check any file named main.swift
double check @main used in any where in your project if there is @main add only in entry function
Thanks to comments above I finally tracked the issue down to the fact that some Guids were all uppercase and some were all lowercase. It seems the Entity Framework scaffolding process for SQLite is case sensitive when it comes to Guids.
So to answer my own question:
Make all Guids in the database uppercase and this will solve the issue.
I am assuming that you are using Snakeyaml.
Test fails because exception is thrown with message "Unable to load config". You will have to change how exception is thrown or change you test as :
assertTrue(ex.getCause().getMessage().contains("File not found"));
Run -> ng add @angular/material After -> ng serve
Consider using MLflow to help manage model saving and loading. https://mlflow.org/docs/latest/deep-learning/pytorch/guide
Saving the model
import mlflow.pytorch
with mlflow.start_run():
mlflow.pytorch.log_model(model, "model")
Loading the model later:
import mlflow.pytorch
model = mlflow.pytorch.load_model("runs:/<run_id>/model")
*ngFor="let plan of d?.data; let j = index; trackBy: trackByPlan"
trackByPlan(index: number, plan: any): any {
return plan?.id || index; // Use a unique identifier if available
}
this gonna prevent angular to rerender the Dom thus no scrool jump
Open the app settings. (You will see this list)
Go to Open by Default List item. (This screen will open)
Enable the Open supported links and add the links by tapping on (+ Add Link). (See image)
Now, you can tap on the links, it will open the app.
Here's a simple idea: By rephrasing the query, you obtain two questions. One is for cat-related content, and the other is to list animals other than cats. Then, perform a set difference on the retrieved results to get the content you want. Of course, I'm also very interested in how to further optimize this process! :)
If high precision is required, I would suggest introducing an LLM for filtering, rather than reranking (lol), because rerankers also have the embedding issues you mentioned.
Công ty Rồng Việt đang hoạt động trong lĩnh vực quảng cáo. Họ có nhiều nhân viên và được chia
nhiều phòng ban. Do tính chất công việc khác nhau nên việc tính lương cũng phải áp dụng các
công thức khác nhau.
Cụ thể thì nhân viên hành chính sẽ được trả lương tháng, trưởng phòng ngoài lương tháng còn có
lương trách nhiệm còn nhân viên tiếp thị thì một phần ít lương tháng cố định và huê hồng từ
doanh số bán hàng của mỗi nhân viên.
Công ty Rồng Việt muốn thuê bạn xây dựng phần mền quản lý nhân sự tiền lương bao gồm các
chức năng sau
Nhập và xuất danh sách nhân viên
Xóa nhân viên hoặc cập nhật thông tin nhân viên
Tìm kiếm nhân viên theo lương
Sắp xếp nhân viên theo họ tên và thu nhập
Xuất 5 nhân viên có thu nhập cao nhất công ty
Trong đó nhân viên được chia làm 3 loại: nhân viên hành chánh, nhân viên tiếp thị và trưởng
phòng.
Thông tin mỗi nhân viên hành chính gồm mã, họ tên, lương
Nhân viên tiếp thị cần thêm doanh số bán hàng và tỉ lệ huê hồng
Trưởng phòng sẽ lương trách nhiệm
Mỗi nhân viên cần được tính thu nhập và thuế thu nhập.
Thu nhập được tính bẳng tổng các khoản thu
Thuế thu nhập được tính theo phương pháp lũy tiến
o Dưới 9 triệu: không đóng thuế
o Từ 9-15 triệu: đóng 10%
o Trên 15 triệu: đóng 12%
Là một lập trình viên bạn hãy xây dựng ứng dụng quản lý nhân sự tiền lương theo yêu cầu của
công ty Rồng Việt cụ thể như sau:
YÊU CẦU:
Y1. Nhập danh sách nhân viên từ bàn phím.
Y2. Xuất danh sách nhân viên ra màn hình.
Y3. Tìm và hiển thị nhân viên theo mã nhập từ bàn phím.
Y4. Xóa nhân viên theo mã nhập từ bàn phím.
Y5. Cập nhật thông tin nhân viên theo mã nhập từ bàn phím
Y6. Tìm các nhân viên theo khoảng lương nhập từ bàn phím.
Y7. Sắp xếp nhân viên theo họ và tên.
Y8. Sắp xếp nhân viên theo thu nhập.
Y9. Xuất 5 nhân viên có thu nhập cao nhất.
Actually, Taylor answered this question recently during a stream: https://youtu.be/tyoiL-zG2dQ
Back when he was working on Laravel 4 “in secret,” he introduced the new Illuminate namespace to avoid users “freaking out” over the fact that the framework had been completely rewritten from scratch.
did you figure out a solution? I am also facing the same issue. Please let me know.
I appreciate any help you can provide.
You might want to checkout https://www.pictogps.com
It is free.
1. Upload image
2. Input location to Google Maps
3. Drag/resize image
4. Generate coordinates
Note: This might not work for you if your image sizes are too small. I am assuming it is of a reasonable size.
thanks
aka
Disclaimer: I built the tool
Please follow the below folder structure. I hope it will help you. Please comment if you need any additional help.
/usr/bin/chromium-browser --app="http://some.web." \
--incognito --kiosk --kiosk-printing \
--noerrdialogs --disable-session-crashed-bubble \
--disable-infobars --check-for-update-interval=604800 \
--disable-pinch
work for me, try.
You have to use v5 to support angular 16 https://github.com/valor-software/ng2-file-upload/issues/1255
#overlay { position: fixed; } - it`s a greate idea! It helped me!
Sorry not to give more info. The code I can come up with so far is:
function permutations(N) {
let c = 1;
loop: while (true) {
if (N > 2) permutations(N - 1);
if (c < N) {
swap(P, P[B[N, c]], P[N]);
c = c + 1;
continue loop;
}
break loop;
}
}
But I never was very comfortable with the old style of pseudocode. And yes, P
is the array to permute, and B
is an array which Sedgewick fills with magic indices.
Make sure the Activity Recognition code is initialized, called and stopped from the foreground service.
Use Wakelocks if you want activity recognition to be done even screen is off.
Ensure battery optimizations are "unrestricted" or disabled for your app.
https://dontkillmyapp.com will help if you have device specific issue.
If you altered a PDF document but it can still be opened normally by the software, here are a few possible reasons:
PDF files are designed to be resilient. They contain sections like:
Header
Body (objects)
Cross-reference table (xref)
Trailer
If your changes didn’t corrupt these core parts—or if the software can recover them—the file will still open.
PDFs support incremental saving, meaning:
Edits are added on top of the original file.
Old content might still exist in the file but is overridden when displayed.
Unless the xref table is corrupted or the trailer is broken, the PDF will remain readable.
Most modern PDF readers (like Adobe Acrobat, Foxit, etc.) can repair small errors in the file. So even if your edits introduced minor issues:
The software auto-recovers.
You won’t notice the corruption unless it's severe.
If you altered non-critical parts (like metadata, non-referenced objects, etc.), the PDF will function normally because:
If you used a hex editor or manual file modification but didn’t save it properly:
Your changes may not have affected the real structure.
The file loads as if nothing happened.
If you're trying to:
Corrupt a PDF to make it unreadable → you’d need to damage the xref table or trailer.
Edit a PDF without detection → you need to understand incremental updates and object references.
Protect a PDF from editing → consider password protection and digital signatures.
After reading the following answer from @SergeyBeryozkin https://github.com/quarkusio/quarkus/discussions/42550 I managed to solve the issue while staying on Quarkus version 3.11.1 as follows:
My properties (note mp not smallrye):
mp.jwt.verify.publickey=<base64EncodedSecret>
mp.jwt.verify.publickey.algorithm=HS512
where <base64EncodedSecret> is the encoding of the complete contents of my original secret.jwk file. Although slightly confusing, as it is not using public keys, it works if upgrading the Quarkus version is not an option.
I am using airflow 4.0,facing the same problem with you.
excute the command ‘airflow scheduler’ again can solve the problem temporarily.However, the problem may happen again in 24 hours.
Millstone cache writes are not synchronized across pods, causing race conditions on file rename during concurrent SVG fetches.
Use a shared persistent volume for /tmp/millstone/cache and implement a Redis-based distributed lock around the SVG download and rename logic in Millstone to prevent concurrent access.
Thousands of rows are not a problem in today's RDBMS systems, millions or even billions of rows respond quickly to the query result if the index is created properly, and you can make the necessary corrections by looking at the 1NF, 2NF, 3NF, Boyce Code NF features for your table.
Do you found any solution for this issue?
Yes, the hex color is the same for both elements, but the difference in appearance is due to the font weight. The title ("The making of magic") has a bold font weight, while the text below it likely uses a regular or lighter weight.
Bold text tends to appear darker or more saturated, even when the exact same color is used. This is a common visual perception caused by the increased density of the strokes in bold fonts.
So, it's not a color issue it's just how font weight affects our perception of the color.
EM/|Sin(19.08-.1)*n°T^i=iTFiM
Prost
I'm getting the same error. It looks like it's only available in the Teams app in the documentation.
ApplicationOnlineMeetingRecording.Read.All, OnlineMeetingRecording.Read.ChatNot available.
Note: The application permission
OnlineMeetingRecording.Read.Chat
uses resource-specific consent.
This is a pretty good discussion. Thank you all for sharing. Let me ask a followup question. I do understand the port
(80) --> to TargetPort
(8080) traffic flow. What I dont understand the connection between this ingress-gateway listening port 8080
and the port
section in the istio application gateway. Let me give you an example
apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
name: foo-bar-gateway
namespace: istio-system
spec:
selector:
istio: istio-ingressgateway
servers:
- hosts:
- foobar.com
port:
name: http
number: 80
protocol: HTTP
tls:
httpsRedirect: true
- hosts:
- foobar.com
port:
name: https
number: 443
protocol: HTTPS
tls:
credentialName: foobar-np-tls-credential
mode: SIMPLE
I know gateway is just a configuration and no additional pod/container is running for this configuration. So can anyone tells me what this does in terms of traffic flow? We all understand the ingress-pod/container is listening on port 8080
and port 8443
Then how this mapped to this gateway port section? Or is it like, the port 80
in the gateway should match the port 80
in the ingress-gateway? For example assume in my ingress gateway, I have added an additional port as 5000
and targetPort as 6000
, do we need to have the same 5000
here in the gateway as well under port section or I should put 6000
under port?
You are in right path in creating a message in specified folder in outlook. when you create a message, by default it will be drafted in Drafts folder. You can move the message to specified folder using /messages/message-Id/move
endpoint. However, isDraft
value will be in true
state until you send the message using /messages/message-Id/send
and this is expected.
In my case, I used sample python code to convert MIME message to Base64-Encoded MIME String.
import base64
from email.message import EmailMessage
msg = EmailMessage()
msg['From'] = '[email protected]'
msg['To'] = '[email protected]'
msg['Subject'] = 'Test Email via Microsoft Graph API'
msg.set_content('Hi...This is the body of the email in MIME format. \n \n Thanks')
raw_bytes = msg.as_bytes()
base64_encoded = base64.b64encode(raw_bytes).decode('utf-8')
print("Base64-Encoded MIME String:\n")
print(base64_encoded)
I called https://graph.microsoft.com/v1.0/users/[email protected]/messages
endpoint to create a message using base64 encoded MIME string from previous step.
Request Body: base64 encode string
Request Header: Content type = text/plain
Now I called https://graph.microsoft.com/v1.0/users/[email protected]/messages/{message-id}/move
to move to specified folder.
Request Body: { "destinationId": "< Destination folder Id>"}
Request Header: Content type = application/json
sent
endpoint to send the message and read the email content using https://graph.microsoft.com/v1.0/me/messages?$search="<Subject mail>"
Successfully created message and sent
public List<PredictedData> PredictBatch(List<ImageData> roiImages)
{
var dataView = mlContext.Data.LoadFromEnumerable(roiImages);
var predictions = model.Transform(dataView);
return mlContext.Data.CreateEnumerable<PredictedData>(predictions, reuseRowObject: false).ToList();
} my predection taking morethan 1200ms how can I reduce it ??
yes, you can generate a json file with the values.
This string_extractor_intl package extracts hardcoded strings from your Flutter project and generates ARB files (app_en.arb) for localization.
No need to manually extract strings for localization if you are already deep into your project.
Generate app_en.arb and use replace strings with AppLocalizations.of(context).something in your project manually. Then translate the en file to other languages. The --replace tag has some issues, which is supposed to replace all the strings with AppLocalizations.of(context).something for you.
I have a similar problem which I havent solved yet. I only want to input numbers from 0-9 and a "." if I want to input a float number. So far I have this:
def keylistener(event):
ACCEPTED = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "."]
if not event.char in ACCEPTED:
pass
# Dont let the character be inputed
#....
tk.bind('<KeyPress>', keylistener)
can anyone help me?
Wow, thanks a lot! It works like a charm!
Great to see we're not alone. ;-)
The CIE ΔE2000 reflects the actual geometric distance within the color space, which ranges from 0 to approximately 185.
Source : GitHub.
Image of implementation of anti address in use implementation
Try heading the intended URL+port before listening on it
verify the permissions, in the above logs noticed that key accepted though asking for password:
chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys
even though asking for password then pls check /var/log/auth. log: store all security-related events. Ubuntu and Debian use /var/log/auth. log, while Red Hat and CentOS use /var/log/secure
You're seeing different colors because of the visual perception—even with the same hex code, text can appear different due to font weight, size, and anti-aliasing. Bold or large text has denser pixels, making it look darker. Browsers also render fonts differently based on size and weight, affecting perceived color.
It's an optical illusion, not a code issue.
Mostly I found it is happen due to database to application connection issue. As per my observation it is a network issue.
Visual 'manipulation' of the DOM using display: contents
which plays nicely with grid/flex.
Taken from the following stackoverflow question/answer:
With Source:
span {
display: contents;
font-size-adjust: 0; /* or other adjustment method */
}
span:before {
display: inline-block; /* or as preferred */
font-size-adjust: initial; /* and reset other adjustment method */
}
Math.floor(Math.random() * (80-50+1)) + 50
How,
Considering, 50
as the min
and 80
as max
of the range.
The Math.random()
results in a floating point number between 0 and 1 (0 inclusive, 1 exclusive).
Multiply it by 31
(the difference of the range + 1) results in a number between 0 and 31 (not including 31).
Adding the minimum value (in here 50) shifts it to a number between min
and 81
(exclusive). So, the number is between min
and min + 31
.
Math.floor()
ensures we round down, so that all integer values from min
to max
are possible. (if we used Math.ceil()
, it skips minimum value, e.g. 50.6)
In step 2, the +1
ensures that the max
(in this example 80) is included after flooring. Without it, the max would be excluded (highest possible result from Math.floor()
would be max - 1
).
MONTH := jan feb mar
DATE := 01 03 05
run: SHELL := /bin/bash
run:
m=($(MONTH)) d=($(DATE)); \
for i in {0..2}; do \
echo Info : MONTH = $${m[i]}; \
echo Info : DATE = $${d[i]}; \
done
This string_extractor_intl package extracts hardcoded strings from your Flutter project and generates ARB files (app_en.arb) for internationalization and localization. It is really helpful if you are already deep in your project and need localization.
Generate app_en.arb and use replace strings with AppLocalizations.of(context).something in your project manually. Then translate the en file to other languages. The --replace tag has some issues, which is supposed to replace all the strings with AppLocalizations.of(context).something for you.
هُوَ الْإمَامُ أَحَمِدَ بْن مُحَمَّدُ بْن حَنْبَلِ بْن هَلَاَلِ بْن أَسَدِ بْن إدريس بْن عَبْدِ اللهِ اِبْنِ حَيَّانِ بْن عَبْدِ اللهِ بْن أُنْسِ بْن عَوْفِ بْن قَاسِطُ بْن مَازِنِ بْن شَيْبَانِ بْن ذَهْلِ بْن ثَعْلَبَةِ بْن عُكَابَةَ بْن صَعْبُ بْن عَلِيُّ بْن بِكْرِ بْن وَاِئْلَ الذَّهْلِيَّ، الشَّيْبَانِيَّ، الْمَرْوَزِيَّ، ثُمَّ
الْبَغْدَادِيُّ.
قَالَ الْبُخَارِيُّ: أَحَمِدَ بْن مُحَمَّدُ بْن حَنْبَلِ بْن هَلَاَلِ أَبُو عَبْدِ اللهِ الشَّيْبَانِيِّ- سَكَنَ بَغْدَادِ، مَاتَ سَنَةِ إحْدَى أَرْبَعِينَ وَمَائِتِينَ- الذَّهْلِيَّ مِنْ رَبِيعَةٍ.[1]
قَالَ صَالِحٌ: وَجَدَتْ فِي بَعْضِ كُتُبٍ أَبِي نَسَبُهُ: أَحَمِدَ بْن مُحَمَّدُ بْن حَنْبَلِ اِبْنِ هَلَاَلِ بْن أَسَدِ بْن إدريس بْن عَبْدِ اللهِ بْن حَيَّانِ بْن عَبْدِ اللهِ بْن أُنْسِ بْن عَوْفِ اِبْنِ قَاسِطِ بْن مَازِنِ بْن شَيْبَانِ بْن ذَهْلِ بْن ثَعْلَبَةِ بْن عُكَابَةَ بْن صَعْبُ بْن عَلِيُّ بْن بِكْرِ بْن وَاِئْلَ بْن قَاسِطُ بْن هَنِبَ بْن أَفَصَى بْن دُعُمِيِّ بْن جَدِيلَةِ بْن أَسَدِ بْن رَبِيعَةِ اِبْنِ نُزَارُ بْن مُعَدُّ بْن عَدْنَانِ بْن أَدِّ بْن أدْْد بْن الْهَمَيْسَعِ بْن
النَّبْتِ بْن قِيذَارَ بْن إسماعيل بْن إبراهيم الْخَلِيلَ عَلَيْهِ السُّلَّامَ.
قَالَ صَالِحٌ: رَأَى أَبِي هَذَا النَّسَبِ فِي كِتَابٍ لِي فَقَالٌ لِي: وَمَا تَصَنُّعٍ بِهَذَا ؟ ]وَلَمْ يُنْكِرِ النَّسَبُ[.[2]
قَالَ عَبْدُ اللهِ: ثَنَا أَبِي أَحَمِدَ بْن مُحَمَّدُ بْن حَنْبَلِ بْن هَلَاَلِ بْن أَسَدِ بْن إدريس اِبْنَ عَبْدِ اللهِ بْن حَيَّانِ بْن عَبْدِ اللهِ بْن أُنْسِ بْن عَوْفِ بْن قَاسِطُ بْن مَازِنِ اِبْنِ شَيْبَانِ اِبْنَ ذَهْلِ بْن ثَعْلَبَةِ بْن عُكَابَةَ بْن صَعْبُ بْن عَلِيُّ بْن بِكْرِ بْن وَاِئْلَ بْن قَاسِطُ بْن هَنِبَ بْن أَفَصَى بْن دُعُمِيِّ بْن جَدِيلَةِ بْن أَسَدِ بْن رَبِيعَةِ بْن نُزَارُ بْن مُعَدُّ بْن عَدْنَانِ اِبْنَ أَدِّ بْن أدْد بْن الْهَمَيْسَعِ بْن حَمْلِ بْن النَّبْتِ بْن قِيذَارَ بْن
إسماعيل بْن إبراهيم الْخَلِيلَ عَلَيْهِ السُّلَّامَ.[3]
قَالَ الْعَبَّاسُ بْن مُحَمَّدُ الدَّوْرِيِّ: كَانَ أَحَمِدَ رَجُلًا مِنَ الْعَرَبِ مِنْ بُنِّيِّ ذَهْلِ اِبْنِ شَيْبَانِ.[4]
قَالَ عَبْدُ اللهِ بْن أَبِي دَاوُدٍ: أَحَمِدَ بْن حَنْبَلٍ مِنْ بُنِّيِّ مَازِنِ بْن ذَهْلِ اِبْنِ شَيْبَانِ بْن ثَعْلَبَةِ بْن عُكَابَةَ بْن صَعْبُ بْن عَلِيُّ بْن بِكْرِ بْن وَاِئْلَ اِبْنَ قَاسِطِ بْن هَنِبَ بْن أَفَصَى بْن دُعُمِيِّ بْن جَدِيلَةِ بْن أَسَدِ بْن
رَبِيعَةِ بْن نُزَارُ أَخِي مُضِرُّ بْن نُزَارُ، وَكَانَ فِي رَبِيعَةٍ
رَجُلَانِ لَمْ يَكْنِ فِي زَمَانَهُمَا مِثْلُهُمَا، لَمْ يَكْنِ فِي زَمَنِ قَتَادَةِ مِثْلُ قَتَادَةٍ، وَلَمْ يَكْنِ فِي زَمَانِ أَحَمِدَ بْن حَنْبَلِ مِثْلُهُ.[5]
قَالَ حَنْبَلٌ: سَمِعَتْ أَبَا عَبْدِ اللهِ وَجَاءَهُ رَجُلٌ فَقَالٌ: يَا أَبَا عَبْدِ اللهِ أَمَلِ عَلِيِّ نَسَبِكَ ؟ قَالَ: قُمْ إِلَى
عَمِّيٍّ حَتَّى يُمْلِي عَلَيْكَ نِسْبِيُّ.
قَالَ عِصْمَةٌ: أَمْلَى عَلَيْنَا حَنْبَلٌ فَقَالٌ: أَحَمِدَ بْن مُحَمَّدُ بْن حَنْبَلِ بْن هَلَاَلِ اِبْنِ أَسَدِ بْن إدريس بْن
عَبْدِ اللهِ بْن حَيَّانِ بْن عَبْدِ اللهِ بْن أُنْسِ بْن عَوْفِ بْن قَاسِطُ اِبْنِ مَازِنِ بْن شَيْبَانِ بْن ذَهْلِ بْن ثَعْلَبَةِ
بْن عُكَابَةَ بْن صَعْبُ بْن عَلِيُّ بْن بِكْرِ بْن وَاِئْلَ بْن قَاسِطُ بْن
هَنِبَ بْن أَفَصَى بْن دُعُمِيِّ بْن جَدِيلَةِ بْن أَسَدِ بْن رَبِيعَةِ بْن نُزَارُ.
وَقَالَ الْفَضْلُ بْن زياد: ثَنَا أَحَمِدَ بْن مُحَمَّدُ بْن حَنْبَلٍ.، فَذَكَرَهُ إِلَى آخِرِهِ.
وَزَادٌ فَقَالٌ: نُزَارُ بْن مُعَدُّ بْن عَدْنَانِ بْن أَدِّ بْن أدْد بْن الْهَمَيْسَعِ بْن مَلِيحُ بْن النَّبْتِ اِبْنَ قِيذَارَ بْن
إسماعيل بْن إبراهيم عَلَيْهِ
السَّلَّامَ.[6]
قَالَ عَبْدُ اللهِ بْن عَطَاءٍ: قَدِ اِجْتَمَعَ أَحَمِدَ بْن حَنْبَلٍ وَالنَّبِيِّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ فِي نُزَارُ ؛ لِأَنَّ النَّبِيَّ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ
مُضِرِّيٌّ، مِنْ وَلَدِ مُضِرِّ بْن نُزَارُ، وَكُلُّ قُرَيْشٍ مِنْ مُضِرٍّ.
وَأَحْمَدُ بْن حَنْبَلِ رُبُعِي مِنْ وَلَدِ رَبِيعَةِ بْن نُزَارُ، وَهُوَ أَخُو مُضِرُّ بْن نُزَارُ، وَوَلَدٌ فَزَارَ أَرْبَعَةٌ: مَضَرَ بْن نُزَارُ، وَرَبِيعَةَ بْن
نُزَارُ، وَإِيَادٍ بْن نُزَارُ، وَأَنْمَارَ بْن نُزَارُ.
وَمِنْ هَؤُلَاءِ الْأَرْبَعَةِ تَشَعَّبَتْ بُطونُ الْعَرَبِ كُلَّهَا.[7]
[1] "التاريخ الكبير" 2/ 5
[2] "السيرة" لصالح ص 30
[3] "حلية الأولياء" 9/ 162، "تاريخ بغداد" 4/ 414، "طبقات الحنابلة" 1/ 8، "المناقب" لابن الجوزي ص 38، "تهذيب الكمال" 1/ 443، "السير"، 11/ 178، "المنهج الأحمد" 1/ 70
[4] "تاريخ بغداد" 4/ 413، "تاريخ دمشق" 5/ 254، "المناقب" لابن الجوزي ص 39، "تهذيب الكمال" 1/ 442
[5] "تاريخ بغداد" 4/ 413، "طبقات الحنابلة" 1/ 9، "تاريخ دمشق"، 5/ 254، 255، "المناقب" لابن الجوزي ص 40، "تهذيب الكمال" 1/ 442، "المقصد الأرشد" 1/ 65
[6] "المناقب" لابن الجوزي ص 38 - 39
[7] "المناقب" لابن الجوزي ص 42
You’ve already made great progress in parsing the Excel file and generating separate payloads for water, gas, and electricity. The next step—restructuring the payload so each month's data is nested under a mar-24, jan-24-style key—is just a matter of reshaping how you're pushing the objects.
Instead of pushing individual payloads into three arrays, consider creating a single object where each key represents the month-year (extracted from the first column of each row) and holds nested data for water, gas, and electricity.
Here's a real-world implementation that walks through exactly how to parse the table structure you've described—handling multiple utility types, nested subfields, and organizing everything cleanly under month-year keys using JavaScript and xlsx: Parsing Excel rows to nested JSON in JavaScript
It also covers how to convert Excel's date serial values, gracefully handle empty cells, and avoid hardcoded column indices. Definitely worth checking if you want to make your import more robust and future-proof.
If you want a on/off system, you could try something like this:
local running=true
local updaterate=.5 --flash rate
local parts={} --light parts
while running do
for i,p in pairs(parts) do
p.BrickColor=BrickColor.random()
end
task.wait(updaterate)
end