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.Chatuses 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
You're encountering this behavior because `setlocal` does **not** affect the current working directory or the directory stack managed by `pushd` and `popd`.
### What's happening in your script
In `start.bat`:
```bat
@echo off
pushd 111
call 1.bat
popd
echo CD is wrong:%cd%
pause
In 1.bat:
@echo off
setlocal
pushd 222
echo 1.bat says we are in %cd%
When you run start.bat, it prints:
1.bat says we are in C:\ex1\111\222
CD is wrong:C:\ex1\111
This happens because you're doing a pushd inside 1.bat, but you never do a matching popd, so the directory stack isn't fully reverted.
Also, setlocal only controls the environment variables (like %PATH%, %TEMP%, etc.) — it has no impact on the current directory or the directory stack.
I have problem like this: "Bad owner or permissions on _PROGRAMDATA_\\ssh/ssh_config".
My problem is my account is add new to PC, them old user can using ssh but new account can not.
I fix by these steps:
go to "C:\ProgramData\ssh"
do like image
@teylin Please read the Note also on Microsoft site XLOOKUP function. The fourth parameter is implicitely defined (default value), and the formula works in the data structure the OP posted. Otherwise I really like XLOOKUP because more flexible.
Fill the request: point appId to your app, set overrideStrategy to OVERRIDE and fill request body like this:
{
"id": "yourdomain.com"
}
Execute the request.
SSL certificates will be generated in several minutes.
Ok, I believe I have the solution. It appears that floating point operations for this particular processor is extremely expensive (at least compared to available memory) and any use will increase the binary significantly. For reasons that I really don't understand, if I comment out the *pBuf++ = 0 line, the optimizer is somehow able to optimize out some of the floating point operations in this function and hence the memory is saved.
The bottom line is that, for this processor, I need to avoid floating point at all costs.
Thanks to all who took a look at this.
I found W3Schools and geeksforgeeks pretty helpful when I was starting on C++. Once you are familiar with those, I would recommend doing some simple coding exercises on leetcode or any other platform. There are some good talks from cppcon freely available on youtube, but I would go there only when my fundamentals are clear.
My approach is to
// modify your function makeCall(target)
function makeCall(target) {
outgoingSession = userAgent.call(target, callOptions);
setupMedia(outgoingSession);
}
and then implement
session.connection.addEventListener('track', ({ track, streams: [stream] }) => {
// logic identical to your peerConnection.addEventListener("track", (event) => {});
});
within setupMedia.
The specific reason, I suspect, is that addEventListener only captures newly added tracks. In your method, during outgoing calls, the audio may not be considered newly added?
Anyone having this problem in 2025, the default username is "phpmyadmin". I installed it on a Debian based system with apache2 and it prompted me for password during installation so I knew my password. I accessed the necessary files and found it.
You may follow this guide. Hope it helps.
https://anurajapaksha.blogspot.com/2025/05/how-to-re-execute-failed-step-functions.html
heres the text string version...
select pg_get_function_identity_arguments(oid)
from pg_proc
where proname = 'name'
The tab_corr function takes in a correlation matrix as computed by the cor() function and formats it. The apa.cor.table() function takes in data, calculates the correlations and formats the output.
Pandas works for ASCII as well.
import pandas as pd
data=pd.read_fwf("/file/path.asc")
replace "res.Data.map" with "res.map".
That's what I'm seeing from your json anyway.
---------------------------
he procedure entry point OCIClientVersion could not be located in the dynamic link library C:\xampp\php\ext\php_oci8_11g.dll.
i am using PHP 7.3.2 I made all setting but above error shows
i want to connect to oracle 11g .. thanks
" - string (double quote)
var str string = "Hello world!" // valid
' - rune (equals to char in C/C++)
var str string = 'Hello world!' // invalid, error: more than one character in rune literal
var c rune = 'H' // valid
` - string (single quote)
var str string = `Hello world!` // valid
This is one of the 💩est common bugs out there
I had the exact same issue. This isn’t a bug - Chrome automatically injects inline CSS when displaying XML files to make them look prettier with syntax highlighting and collapsible elements. Your CSP blocks these styles.
Add these specific SHA256 hashes to your CSP policy:
Content-Security-Policy: style-src 'self'
'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='
'sha256-p08VBe6m5i8+qtXWjnH/AN3klt1l4uoOLsjNn8BjdQo=';
img-src 'self' data: https://www.w3.org/2000/svg;
Method 1: Check Chrome DevTools Chrome actually tells you the hash in the error message! Look at your console error - it says ('sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='). That’s one of the hashes you need.
Method 2: Use Online CSP Hash Generator
Open your sitemap.xml in Chrome
Right-click → View Page Source
Copy any <style> content you see
Use a CSP hash generator tool to convert it to SHA256
Add the hash to your policy
'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=' - Hash for Chrome’s base XML styling
'sha256-p08VBe6m5i8+qtXWjnH/AN3klt1l4uoOLsjNn8BjdQo=' - Hash for Chrome’s tree structure styles
These are the actual CSS content hashes that Chrome’s XML viewer uses.
// Bad - opens security holes
style-src 'self' 'unsafe-inline';
// Good - only allows Chrome's XML viewer styles
style-src 'self' 'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU=';
Using 'unsafe-inline' defeats the whole purpose of having CSP. The hash approach only allows the exact styles Chrome needs.
Firefox doesn’t inject inline styles for XML display, so it doesn’t trigger CSP violations.
After adding those hashes:
✅ Chrome displays your sitemap.xml with proper formatting
✅ No more CSP errors in console
✅ Your security policy stays strict
✅ Search engines can still crawl normally
Tested this on Chrome 136+ and it works perfectly. Your sitemap will look nice and formatted while keeping CSP protection active.
If you're ok with having a different user name in your RCS checkins, you can set the LOGNAME environment variable. You can put this in your .bashrc:
export LOGNAME="nameatexample.com"
The problem has been solved. Here are my personal insights. Please correct me if I'm wrong. This problem can be abstracted as: in all real-time planning problems, how to synchronously update the shadow variables when changing non-planned variables. In the changeProblemProperty() method of version 9.44.0, it automatically updates the shadow variables, but since I changed the non-planned variables, this modification did not trigger the modification of the listener. I was very troubled by this problem. It's impossible to set this non-planned variable as a planned variable, right? Later, after studying the shadow variables in the official Optaplanning manual, I noticed the description of Piggyback shadow variable, and understood that shadow variables can also influence each other. So, in the changeProblemProperty(), I manually updated the shadow variables, and as I expected, this update triggered the listener, and the subsequent shadow variables also changed, achieving the expected result.The problem has been solved. Here are my personal insights. Please correct me if I'm wrong. This problem can be abstracted as: in all real-time planning problems, how to synchronously update the shadow variables when changing non-planned variables. In the changeProblemProperty() method of version 9.44.0, it automatically updates the shadow variables, but since I changed the non-planned variables, this modification did not trigger the modification of the listener. I was very troubled by this problem. It's impossible to set this non-planned variable as a planned variable, right? Later, after studying the shadow variables in the official Optaplanning manual, I noticed the description of Piggyback shadow variable, and understood that shadow variables can also influence each other. So, in the changeProblemProperty(), I manually updated the shadow variables, and as I expected, this update triggered the listener, and the subsequent shadow variables also changed, achieving the expected result.
Here is the updated code.
private static void modifyTheOrderQuantityToProblem(SolverManager<ProductionSchedule, UUID> solverManager,
UUID problemId, Long sl1, Integer sl2) {
solverManager.addProblemChange(problemId, (workingSolution, problemChangeDirector) -> {
List<ProductionOrder> allOrder = workingSolution.getOrders();
allOrder.stream().filter(order -> order.getOrderId().equals(sl1)).findFirst().ifPresent(order -> {
problemChangeDirector.changeProblemProperty(order,orderOne->{
orderOne.setQuantity(sl2);
List<LocalDateTime> startTimeAndEndTime = orderOne.getStartTimeAndEndTime(workingSolution.getTimePeriodList());
orderOne.setEndTime(startTimeAndEndTime.get(1));
});
});
});
}
I've encountered this frustrating issue before! Often, it stems from inconsistent indentation where the space and tab sizes are set to the same value.
To fix it, try updating your tab size to 3 or 4 spaces. This usually resolves the problem.
You can easily visualize the indentation in your Makefile by using the command:
Bash
cat -A Makefile
This command will reveal how your indentation is represented. Specifically, if your commands are correctly indented with tabs, you'll see a ^I character at the beginning of those lines, like this:
^I@echo "Current WORKSPACE: $(WORKSPACE)"$
^I signifies a true tab character, which is crucial for Makefiles.First, let’s reiterate that unsafe multithreaded access to C++ standard library containers is undefined behavior. Simultaneous read operations are safe for multithreading, but simultaneous writes or a read and write occurring simultaneously are unsafe for multithreading.
Additionally, do not use operator[] on std::(unordered)map. It is the most convenient syntax, but is not often what you actually want.
The std::map subscript operator is a convenience, but a potentially dangerous one
The operations for reading and writing single elements for C++ standard library maps
A simplified overview of ways to add or update elements in a std::map
Okey here any one get number to location in bd
dm me in Session Messenger
my id : 058e8c7e8c1d0fa15773b77dfb4530c7e1ae0c192addf0b5597ba08bafecc79962
Managed to fix with retentions using loki helm 6.30. Below the reference.
runtimeConfig:
overrides:
tenant_1:
retention_stream:
- KEY: VALUE
- KEY: VALUE
tenant_2:
retention_stream:
- KEY: VALUE
https://community.grafana.com/t/loki-retention-overrides-in-helm-not-working/136728/8?u=heshand
Great capabilities, what about the headaches when you need to Implement Merge replication on temporal tables in an environment with 3 or more nodes? Almost impossible to accomplish. All the workarounds suggested out there simply don’t work. Any advice?
I had to add the user email from the Google Cloud service account to the credential, like this:
credential = GoogleCredential.FromStream(stream)
.CreateScoped(scopes)
.CreateWithUser("[email protected]");
were you able to implement Transbank OnePay in Chile? I managed to implement WebPay. OnePay is quite similar, and I should be implementing it soon. If you still need help, I can help. Best regards.
Did you solve this?
We are working with a partner organization that use AWS SES. Their emails to us get rejected by our server with that exact message.
The server hosting our email definitely supports STARTTLS; I confirmed this by forcing my Outlook client to specify STARTTLS when sending.
All the reading I've done thus far suggests the sender is the one that needs to change something.
If your storyboard is stuck in XML but View->Show Code Review isn't active, then Vivek Patel's advice will fix it.
My program is showing output but it for some reason it just skips the section "Please enter your User Name or your Official Name ". How can I fix this?
The reason your program skips is because it uses operator >> to extract the userid.
// From the OP:
char userid[100];
cin >> userid;
That operator only extracts one "word" at a time. By "word" I mean a non-empty sequence of charaters that does not contain a space or other whitespace character.
Extraction stops when a whitespace character is encountered, leaving the whitespace character in the stream. Note that the newline character ('\n') is a whitespace character. Extraction also stops if end-of-file file is encountered, but, in general, that is not an issue when using std::cin to get user input from the keyboard.
In your trial run, you entered two words for userid. Thus, "John Smith" was placed into the input stream. When you pressed Enter, that keystoke was also placed into the stream (as a newline). The stream contents at this point were "John Smith\n".
The statement cin >> userid; caused first word, "John", to be extracted, and stored in userid. The second word, "Smith", along with the space that precedes it, was left in the input stream.
The statement
cin.ignore();
extracts and discards a single character, in this case the space before "Smith."
The next input is read using std::getline.
string username;
getline(cin, username);
std::getline reads an entire line of characters, stopping either when a newline is encountered or when the stream hits end-of-file. If getline stops because it found a newline, it extracts, and discards, the newline.
Blank lines are okay, as are lines containing whitespace. getline happily extracts and stores whatever it finds.
In your program, getline extracted "Smith", and stored it in the string username. getline also extracted the the newline character that followed "Smith". It was discarded.
Note that all of this happens without any need for the console window to pause for user input. That's because keyboard input from cin is buffered. The only time cin causes the console window to pause, is when its buffer is empty. In this case, the buffer was not empty. It still contained "Smith\n". So getline read from the buffer, without pausing for keyboard input from the user.
From the outside, it may look like your program skipped username, but it did not. "Smith" was extracted from the buffer, and stored, in username.
After that, the buffer was empty. Thus, the program paused, as expected, to get keyboard input for passphrase.
char passphrase[300];
cin.getline(passphrase, 300);
I think all the answers are amazing and valid in case of me trying to register a set of options based on another set of options
but what I want to get an instance of IOptions<AppSettings> to do something like this:
var appSettings = sp.GetRequiredService<IOptions<AppSettings>>().Value;
if (appSettings.EnableDebugTools){
// some code here
}
this is during ConfigureServices()
Did you found the solution for this? I'm struggling with the same issue.
Found this solution but is not working for me: https://community.amazonquicksight.com/t/embedurl-not-working/15197/5
As Alexandru suggested,
The stack trace shows that another updateStep() method is used to enter WorkflowService, without @Transactional.
And @Transactional annotations have never been working for local, inner-service calls, thus we get no transaction.
Just need to add:
[assembly: Parallelize]
In the AssemblyInfo.cs
@MarzSocks not allowed to comment. I used the solution of @Vince
import { Directive, HostBinding, Input } from '@angular/core';
import { MatMenuPanel, MatMenuTrigger } from '@angular/material/menu';
@Directive({
selector: '[matMenuTriggerForContext]',
host: {
'class': 'mat-mdc-menu-trigger',
'[attr.aria-haspopup]': 'menu ? "menu" : null',
'[attr.aria-expanded]': 'menuOpen',
'[attr.aria-controls]': 'menuOpen ? menu.panelId : null',
'(contextmenu)': '_handleContextMenu($event)',
},
exportAs: 'matMenuTriggerContext'
})
export class MatMenuTriggerForContextDirective extends MatMenuTrigger {
@Input('matMenuTriggerForContext')
get _matMenuTriggerForContext(): MatMenuPanel | null {
return this.menu;
}
set _matMenuTriggerForContext(v: MatMenuPanel | null) {
this.menu = v;
}
_handleContextMenu($event: MouseEvent): boolean {
$event?.stopPropagation();
$event?.preventDefault();
$event?.stopImmediatePropagation();
this._handleClick($event);
return false;
}
}
and added
/** Handles click events on the trigger. */
override _handleClick(event: MouseEvent): void {
if (event.button !== 2) {
return;
}
if (this.triggersSubmenu()) {
// Stop event propagation to avoid closing the parent menu.
event.stopPropagation();
this.openMenu();
} else {
this.toggleMenu();
}
}
to filter for right click (event.button == 2) This works, maybe some more changes are needed for perfectly user experience
Linux buffers are implemented in memory to improve I/O performance by reducing direct disk access and the buffer cache stores block device data, while the page cache handles file data. Linux OS uses structures like "buffer_head" and "page" in the kernel to manage these buffers. Data in buffers is flushed to disk by background processes like "pdflush" or "flush-kthreads"
Understanding what data is shared is easier when you visualize your data using memory_graph, a simple example:
See how memory_graph integrates in Google Colab.
Visualization made using memory_graph, I'm the developer.
I have this step-by-step git repo to create the most maintainable Firebase Functions. [https://github.com/felipeosano/nestfire-example][1]
If you have a project created on console.firebase.google.com then just clone the repo and change the .firebaserc with your project id.
This repository uses NestJS and NestFire. NestFire is an npm library that allows you to deploy Nest modules to Firebase Functions. This npm library also allows you to create fast and maintainable triggers. I recommend reading the documentation in its repository.
i have been having the same problem. I want to use -pb_rad charmm and -pb_rad roux, . But the given patch does not work . could you please help me with this. Thank you. Also what does "I just had to remove the last eval from your answer " means ? what is the replacement that actually works.
set ar_args [list assign_radii $currmol $pb_rad]
if { $pb_rad eq "charmm" } {
# foreach p $parfile { lappend ar_args $p }
eval [linsert $parfile 0 lappend ar_args] ;# Avoid a loop
} elseif { $pb_rad eq "parm7" } {
lappend ar_args $topfile
}
eval $ar_args
You can apply the radius to the image using imageStyle:
<Image
source={{ uri }}
style={[StyleSheet.absoluteFill, { resizeMode }]}
imageStyle={{ borderRadius: radius }}
/>
Looks like the Agenda component is broken in Expo SDK 53. Here's a PR you can take a look at and patch: https://github.com/wix/react-native-calendars/pull/2664
does anyone know how to adjust the legend generated by the Kcross graph? Is it possible to include some commands to make this adjustment? I would like to organize the location of the legacy.
Please try below command and see if it is working. in fact, It worked for me.
$ zz -FF IBM_SFG_OLD.zip --out IBM_SFG_NEW.zip -fz
The answer is Yes!
You can get the contents from fetch, change the visible location with function history.pushState() and totally replace document.documentElement.innerHTML with fetched data.
The only thing that will be lost - some http headers which could affect the behavior of the page.
The answer is No!
In most cases once you received the response from server on your POST-request its state will never be the same. If you just walk to new location /someform server will not receive POST and the reply will differ from the reply you already consumed by fetch. Of course there are some servers that always reply the same ( something like 'OK'). But don't get your hopes up.
So, which answer do you prefer?
What archX are you using for your OS? 32 or 64 bit? I'm using Debian 64 on ARM64, and I think I'm running into a depreciation in regards to the "sizeof()" or "strlen()" functions to correctly allocate buffer space for the yolo object arguments. It looks like the original code was bound to a 32 bit environment.
The kicker is that this is my SECOND time going through this journey... accidentally deleted my live and backup images.. "DOH!"
This fellow was helpful... Segmentation fault (core dumped) when using YOLOv3 from pjreddie
The blastula package enables displaying an html string in the RStudio viewer. This avoids having to save an html object to a file.
my_html <- "<h1>Here's some HTML</h1>
<p>Here's a paragraph</p>
</br>
</br>"
blastula::compose_email(blastula::md(my_html))
ThisWorkbook.Path will provide the path of the current workbook.
EC2Launch is required to utilize user_data. You'll want to troubleshoot that before expecting this to run.
You should be able to achieve this using worklets: https://github.com/software-mansion/react-native-reanimated/discussions/7264
Here's an article you can read: https://dev.to/ajmal_hasan/worklets-and-threading-in-reanimated-for-smooth-animations-in-react-native-98
Changing self.__size = __first.__size to self.__size = first._First__size should correctly handle the name mangling and avoid giving you an error.
For others finding this question in the future, there is a step-by-step tutorial here: https://lopez-ibanez.eu/2024-redheur/
The only possibilities you have are:
- An incomplete recovery to a point in time before the command was executed, or
- Restore a cold backup of a timestamp prior to the time of the command
- Manually add a column (and insert the values).
but before do that you must drop the column first
Just as a test, try the file:// prefix, but with an absolute file path rather than a 'shared' folder.
I had the same problem and fixed it by making the enum Codable. I'm wondering if anyone knows why an enum has to conform to codable in SwiftData when it doesn't when using structs. Also, this error message was completely unhelpful in locating the issue, is this the kind of thing Apple wants feedback about?
Sterling File Gateway will maintain the file transfer statical information along with Event codes. These event codes are specifically designed for IBM Control Center. Each code will particular describe the status of the file at each phase during the file transmission process like File Arrived, Replayed, redelivered, completed/success or Failed. If we integrate SFG with IBM control center, by default all these events will be captured by ICC.
Solution#1: You can configure CDC in ICC database so that real-time events will be captured and make sure these captured into another database within the same database instance. Now, you can write a program in any programming language (python preferable) to get these events from new database. In python program, you can subscribe to pub/sub topic to push them to bigquery and the further we can project them to looker studio.
Solution#2: Once ICC captures events from SFG, have your SQL query get the required events from ICC database by using python program. Please make sure you python program should send events/messages in json format to the pub/sub topic which is already subscribed to. And then, create bigquery dataset to pull the pub/sub messages from topic subscription. And then finally , we can project these events to Google looker studio for user interface.
It happened to us today. Same message, the Whatsapp number is flagged but not blocked. The template was tested today and was fine. Now I´ve just tested it and it´s fine again. Can it be a massive temporary glitch in the system?..
Use the following code:
val view = ComposeView(this).apply {
setContent {
// content
}
// Trick The ComposeView into thinking we are tracking lifecycle
val lifecycleOwner = ComposeLifecycleOwner()
lifecycleOwner.performRestore(null)
lifecycleOwner.handleLifecycleEvent(Lifecycle.Event.ON_CREATE)
setViewTreeLifecycleOwner(lifecycleOwner)
setViewTreeSavedStateRegistryOwner(lifecycleOwner)
}
ComposeLifecycleOwner:
import android.os.Bundle
import androidx.lifecycle.Lifecycle
import androidx.lifecycle.LifecycleRegistry
import androidx.savedstate.SavedStateRegistry
import androidx.savedstate.SavedStateRegistryController
import androidx.savedstate.SavedStateRegistryOwner
class ComposeLifecycleOwner : SavedStateRegistryOwner {
private var mLifecycleRegistry: LifecycleRegistry = LifecycleRegistry(this)
private var mSavedStateRegistryController: SavedStateRegistryController = SavedStateRegistryController.create(this)
/**
* @return True if the Lifecycle has been initialized.
*/
val isInitialized: Boolean
get() = true
override val lifecycle = mLifecycleRegistry
fun setCurrentState(state: Lifecycle.State) {
mLifecycleRegistry.currentState = state
}
fun handleLifecycleEvent(event: Lifecycle.Event) {
mLifecycleRegistry.handleLifecycleEvent(event)
}
override val savedStateRegistry: SavedStateRegistry
get() = mSavedStateRegistryController.savedStateRegistry
fun performRestore(savedState: Bundle?) {
mSavedStateRegistryController.performRestore(savedState)
}
fun performSave(outBundle: Bundle) {
mSavedStateRegistryController.performSave(outBundle)
}
}
Source: https://gist.github.com/handstandsam/6ecff2f39da72c0b38c07aa80bbb5a2f
Thanks to @CommonsWare for giving me the idea!
you should check the apache log if there is no log for that problem could be related to your Client DNS Server. maybe your dns server respond faster than your local machine.
As Sam Nseir suggested you can use Dynamic M query parameters, you can check the following question that seems to be similar to yours:
How to change the power query parameter from the Power BI Interface?
A part from MS the reference given by Sam Nseir you can check this article that can be helpful:
I have resolved it by downgrading version of react-native-screen.
"react-native-screens": "^2.18.1",
I found the solution to this issue on Github;
https://github.com/coderforlife/mingw-unicode-main/
That short, simple code fragment solved the problem completely!!
So, going from here, I have to update my environment variable from
e TESTCONTAINERS_HOST_OVERRIDE=172.17.0.3
to
e TESTCONTAINERS_HOST_OVERRIDE=host.docker.internal
and it worked