79429144

Date: 2025-02-11 07:14:55
Score: 1
Natty:
Report link

It makes sense the thumbnail generator in Windows crashes with 30 GB TIFF files since TIFF formally only supports up to 4 GB files.

If you want to improve this behaviour you have to add your own BigTIFF plugin. Maybe Irfanview can do this for you.

...But to create an thumbnail, you have to look inside the big file... Don't expect miracles, since reading 30GB still takes time.

Reasons:
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jeroen3

79429133

Date: 2025-02-11 07:09:52
Score: 4
Natty:
Report link

Delete "@page" in "view" for work.

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ANTPro

79429121

Date: 2025-02-11 07:01:51
Score: 4
Natty: 5
Report link

Thank you Jochen. Your Script is just great!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Claudiu Radulescu

79429118

Date: 2025-02-11 06:59:50
Score: 0.5
Natty:
Report link

Try this gcloud org-policies describe constraints/iam.disableCustomRoleCreation If TRUE, custom role creation is blocked.

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tim David

79429096

Date: 2025-02-11 06:51:48
Score: 2.5
Natty:
Report link

Aku adalah seorang yang mau Mabar ml

Bsjusjgwbs**

Uusjsujsnsbb*hdjshjsy6whwgwg

Gwhysjgw`hshtshts

**

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Vio Zaki

79429091

Date: 2025-02-11 06:49:48
Score: 0.5
Natty:
Report link

The ClientIpAddress is a property your application would set before connecting, but only if you wish to specify the IP address for binding.

It is the IP address to use for computers with multiple network interfaces or IP addresses. For computers with a single network interface (i.e. most computers), this property should not be set. For multihoming computers, the default IP address is automatically used if this property is not set.

Reasons:
  • No code block (0.5):
Posted by: Chilkat Software

79429078

Date: 2025-02-11 06:45:47
Score: 3
Natty:
Report link

Found an MIT licensed project that works for Alpine and Debian so forked it and added Public Key support in https://github.com/devdotnetorg/docker-openssh-server/pull/1

Pushing up to my Docker Hub now; if we're lucky they'll accept my PR (then I'll delete my mirror I guess?)

https://hub.docker.com/r/samuelmarks/openssh-server

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
Posted by: Samuel Marks

79429063

Date: 2025-02-11 06:36:45
Score: 3.5
Natty:
Report link

It looks like you encountered an internal error. Are you seeing this on your website, or is it an issue with something else? Let me know the context so I can help troubleshoot! 😊

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Qaisar Bilal

79429059

Date: 2025-02-11 06:35:45
Score: 1.5
Natty:
Report link
SELECT *
FROM (
    SELECT TOP (1) *
    FROM myTable
    ORDER BY name ASC
)

Or

SELECT t.*
FROM (
    SELECT *
    FROM myTable
) as t
ORDER BY t.name ASC
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: emad.b

79429048

Date: 2025-02-11 06:27:44
Score: 2
Natty:
Report link

I had this problem and the fix for me is to reload the entire window in vscode.

Step 1 Ctrl + shift + p

Step 2 Search for reload window and click on it.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Dijon

79429041

Date: 2025-02-11 06:23:43
Score: 4.5
Natty:
Report link

I DONT KNOW ASDASDASDADASDASDAD ASDASDADASDASDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Filler text (0.5): DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
  • Low entropy (1):
  • Low reputation (1):
Posted by: Jde Lucero

79429036

Date: 2025-02-11 06:21:42
Score: 2.5
Natty:
Report link

In Ubuntu 23.04+, pip install won't work anymore: see this article. You'll need to run this instead:

sudo apt install python3-git
Reasons:
  • Blacklisted phrase (1): this article
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Alex Tan

79429032

Date: 2025-02-11 06:16:41
Score: 3
Natty:
Report link

def ngrams(text, n): return [text[i:i+n] for i in range(len(text)-n+1)]

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Gadgik

79429027

Date: 2025-02-11 06:15:41
Score: 1.5
Natty:
Report link

What I found that resolved this issue for me is that I needed to enable inbound traffic on the VPC Network ACL. Although, all the docs say SSM does not initiate a TCP connection to your instances. The instances need to be able to get request responses from the requests it makes. I added inbound access for these port ranges that are ephemeral ports and SSM worked after that.

Screenshot of AWS console showing the inbound rules added to fix this issue.

You do not need to add inbound rules to the security group because they are stateful.

From the docs

Security groups are stateful. For example, if you send a request from an instance, the response traffic for that request is allowed to reach the instance regardless of the inbound security group rules. Responses to allowed inbound traffic are allowed to leave the instance, regardless of the outbound rules.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • No code block (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (0.5):
Posted by: Luke Muther

79429003

Date: 2025-02-11 06:02:38
Score: 1.5
Natty:
Report link

You can reinstall the app from adb by using this command

pm install-existing --user 0 [PACKAGE]

Output:Success

I have the exact problem an hour ago

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Elkay EZH2O LZS8WSLK

79429002

Date: 2025-02-11 06:02:38
Score: 1
Natty:
Report link

You will need to change repl.co of the URL to replit.dev to access the website. If that fails, your ISP or firewall is blocking the replit.dev domain. You will have to whitelist the domain.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: NateDhaliwal

79428999

Date: 2025-02-11 06:01:38
Score: 2
Natty:
Report link

enter image description here

use latest flutter sdk 3.27.4 and latest version of top_snackbar_flutter: ^3.2.0

then run command:

flutter clean
flutter pub cache clean
flutter pub get
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Sachin Kumawat

79428994

Date: 2025-02-11 05:59:37
Score: 2.5
Natty:
Report link
  1. create chart
  2. in Dimensions tab add 2 fields "month" and "Key"
  3. in Expressions tab add sum of your value field
  4. in Style tab select stacked
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Davoud

79428987

Date: 2025-02-11 05:55:36
Score: 3
Natty:
Report link

There are WordPress plugins that let you redirect users to an external url for payment. I know of Payment redirect for woocommerce plugin.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Web Test

79428986

Date: 2025-02-11 05:54:36
Score: 0.5
Natty:
Report link

Yes, there are biometric systems available that can send data directly to your server via an API, without relying on third-party data servers. Many modern biometric devices, such as RFID, fingerprint scanners, or facial recognition systems, support direct integration with your server through APIs.

If you are looking for a biometric system that doesn't require routing through a third-party server, you might want to explore devices that are built with API support for seamless integration.

For example, ScreenCheck Africa offers a variety of biometric solutions such as fingerprint recognition systems and access control devices that could potentially be configured to send data directly to your server. These devices often include features like modular design, security, and advanced integration capabilities, making them ideal for applications in sectors such as corporate, government, and healthcare.

While ScreenCheck Africa provides a range of biometric systems, it's always best to contact them directly to confirm the specific integration features of their products. You can find more information and contact them through their website:Screencheck Africa

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Fasil Rahman

79428985

Date: 2025-02-11 05:54:36
Score: 1
Natty:
Report link

You are on the right track with chunksize, but there are more efficient ways to handle large CSV files in Python. Here are some optimized approaches:

  1. Use Pandas with chunksize (Optimized) Your approach is valid, but you can speed it up by processing only necessary columns and using usecols and dtype to reduce memory usage: import pandas as pd

chunksize = 100000
dtype = {'column1': 'int32', 'column2': 'float32'} # Specify dtypes to save memory

for chunk in pd.read_csv('large_file.csv', chunksize=chunksize, usecols=['column1', 'column2'], dtype=dtype):
# Process chunk
print(chunk.head())
Which method should you choose?

Use chunksize if you prefer native Pandas. Use Dask if you need parallel processing. Use Modin if you want a drop-in replacement for Pandas with better speed. Use Vaex or PyArrow for low-memory operations. Hope this helps! 🚀

Reasons:
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bhavna Vaswani

79428983

Date: 2025-02-11 05:54:36
Score: 3
Natty:
Report link

When developing a chatbot that needs to transfer to a live agent in Microsoft Bot Framework, here are the solution.

At Deligence Technologies, our chatbot development services include seamless live agent integration using various approaches:

Direct integration with your existing customer service platform (Zendesk, LiveChat, etc.) Custom agent dashboard development Queue management for agent availability Conversation history preservation

Need help implementing live agent transfer in your chatbot? Let's discuss your requirements.

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Deligence technologies

79428981

Date: 2025-02-11 05:52:36
Score: 0.5
Natty:
Report link

To solve this, I excluded HttpClient 4 from HttpClient 5 dependency. See below

<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
<artifactId>httpclient5</artifactId>
<version>5.2.1</version>
<exclusions>
    <exclusion>
        <groupId>org.apache.httpcomponents</groupId>
        <artifactId>httpclient</artifactId>
    </exclusion>
</exclusions>
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Marcel

79428980

Date: 2025-02-11 05:52:36
Score: 1
Natty:
Report link

If there is any other approach, please suggest that as well.

In addition to the suggestion of using a Lua script, you could stick to your solution of using INCR and simulate the reset of the counter on the client side by taking the remainder of the returned value.

Something similar to:

int value = jedis.incr("counter") % 25000;
Reasons:
  • RegEx Blacklisted phrase (2.5): please suggest
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Efran Cobisi

79428973

Date: 2025-02-11 05:49:35
Score: 3.5
Natty:
Report link

An extension is all you need, try searching for "Font Changer, Font Switcher, Font Selector" etc. Install the one that can select global fonts like: https://marketplace.visualstudio.com/items?itemName=TalhaBalaj.actual-font-changer

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Abbas Elmas

79428956

Date: 2025-02-11 05:35:32
Score: 3.5
Natty:
Report link

I also have same kind of question why not i use worker for each API call

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: imran

79428952

Date: 2025-02-11 05:31:31
Score: 2
Natty:
Report link

Got this to work:

grep mailto /tmp -r --include \*.html --include \*.htm
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Barry

79428951

Date: 2025-02-11 05:30:30
Score: 5
Natty: 5
Report link

-Xms512m -Xmx2048m

can i keep it like this?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Dinesh Kumar Lalam

79428944

Date: 2025-02-11 05:26:29
Score: 2.5
Natty:
Report link

Which option did you choose? I also encountered this situation. I use a third-party API that I cannot control. And, for example, I request a list of available devices. The API sends me a list of devices, but does not indicate their status (online, offline). You can make a request to the API for each device (by id). In this case, I get the device state. I decided to make the second request only when the user performs some action with the device (for example, turns it on). As a result, I get a situation where I have a list of devices without a state, and one device with a state. Accordingly, I need to update the list and notify the Ui layer about the change (and, in a good way, block the ability to act on the device). If we implement the cache simply as a list, as is done in the documentation, then when replacing a device in the list, we will not receive the changed data until we explicitly request it from the data layer. At the moment, I keep all the data on the ViewModel layer. For this reason, I have one ViewModel instance for several screens.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Which
  • Low reputation (0.5):
Posted by: pie

79428937

Date: 2025-02-11 05:21:28
Score: 4
Natty:
Report link

use app\from\models\Taskreport; = > use app\models\form\Taskreport;

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Дмитрий Габдукаев

79428923

Date: 2025-02-11 05:11:26
Score: 1
Natty:
Report link

I upgrade numpy and it worked!

pip install --upgrade numpy

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Cloud blue

79428922

Date: 2025-02-11 05:10:26
Score: 3
Natty:
Report link

RewriteEngine on is such an easy miss sometimes; AllowOverride sometimes.. AllowAutonomy almostalways... Thanks for saving me twenty gregorian minutes without an epoc.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Aaron Henderson

79428921

Date: 2025-02-11 05:10:26
Score: 3.5
Natty:
Report link

I'm having the same type of issue as the poster, but I'm not sure where to post it, or if I should make it a separate post altogether, since it's in the same category, so I'm posting it as an answer, in hopes of getting more clarification on this issue. If I need to post it somewhere else, please let me know where, and I'll change it, but please don't delete it, so I can just copy/paste it instead of having to rewrite what has taken me more than an hour to put together.

I'm running Windows 11 Home, most recent update was January 31, 2025. I'm trying to make sure I have access to Windows PowerShell for a program I'm taking in online school.

I have tried both ideas, and still keep getting told I have errors in my coding. The first code I was working on was

PS C:\Users\squea> (New-Object Security.Principal.WindowsPrincipal([Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)

I tried this answer from above

if (!([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")) { Write-Warning "You do not have Administrator rights to run this script.`nPlease re-run this script as an Administrator." Break }

And, I tried this answer from above

If (-NOT ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole( [Security.Principal.WindowsBuiltInRole] "Administrator")) { Write-Warning "You do not have Administrator rights to run this script.nPlease re-run this script as an Administrator." Break }

*squea is what the computer calls me (short for SqueakeyCat)

When I run the first code, instead of it coming up TRUE, like it says in my "getting started" (see below) it comes up FALSE.

To validate your environment, open an elevated PowerShell session and do the following:

Enter winver.exe and press enter to see the version details for your Windows device.

Run $PSVersionTable.PSVersion. Verify your major version is at least 5, and your minor version at least 1. Learn more about

installing PowerShell on Windows.

Run the following command. The output shows True when you're a member of the built-in Administrators group.

So, I tried running it with the second part above added to it, and I get told the following

Unexpected token "if" in expression or statement.

  • CategoryInfo: Parser error: (:) [], ParentContainsErrorRecordException
  • FullyQualifiedErrorId: MissingEndParenthesisInMethodCall

(that's the shortened version of it. The rest is at the beginning of this with what I had typed as the code about the "if" statement.)

Then, I tried it with the main part that I've been using, and the second suggestion above, and got the following message

At line:1 char:111

  • ... Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole If(-Not (...
  • Unexpected token "If" in expression or statement.
  • CategoryInfo: ParserError: (:) [], ParentContainsErrorRecordException
  • FullyQualifiedErrorId: UnexpectedToken

Now, I have PowerShell on my computer, and it has been enabled, but according to what I need to do, I need it to say TRUE, when running the first script, but it's coming back as FALSE instead.

Reasons:
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): please let me know
  • RegEx Blacklisted phrase (1): I need to post it somewhere else, please
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CutiePengu

79428907

Date: 2025-02-11 04:56:23
Score: 3
Natty:
Report link

Here is some documentation as to why the % is used at the start and end of the LIKE clause: https://docs.particular.net/transports/azure-service-bus/topology#subscription-rule-matching

If you prefer to create your own subscription rules in general, you can:

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jo Palac

79428905

Date: 2025-02-11 04:52:23
Score: 1.5
Natty:
Report link

this also works:

<form action="https://www.google.com/search">
    <input type="text" name="q">
    <input type="submit" value="Google Search">
    <input type="submit" name="btnI" value="I'm feeling lucky">
</form>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: ramiro

79428889

Date: 2025-02-11 04:35:19
Score: 2
Natty:
Report link

You should put a list of strings in the Junja2Templates class just as I did and it solved my issue.

templates = Jinja2Templates(directory=['html_templates', 'app/html_templates'])

Oficial starlette docs: https://www.starlette.io/templates/

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Макс Чубаров

79428883

Date: 2025-02-11 04:32:19
Score: 0.5
Natty:
Report link

It seems like it is currently a known issue from Google. There is already a bug raised for the same.

As per the latest update on the Bug they are going to release the new version of Google Cloud CLI(v510) on (11/02/2025), which will resolve the warnings displayed during the installation step. Also they suggested that these warnings do not impact the installation process or gcloud functionality.

For further updates on the issue please track the Bug.

Reasons:
  • No code block (0.5):
Posted by: Sandeep Vokkareni

79428862

Date: 2025-02-11 04:05:13
Score: 1
Natty:
Report link

I was able to fix this issue by adding a '^' for my react-native version in package.json.

Previous (package.json): "react-native": "0.75.1"

Correct (package.json): "react-native": "^0.75.1"

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: CYRIL

79428855

Date: 2025-02-11 04:02:13
Score: 1
Natty:
Report link

My advise is to check carefully provided mysqli constructor data, maybe you have a custom MySQL port (not 3306) but it's not provided in a constructor.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Igor

79428853

Date: 2025-02-11 04:01:12
Score: 1
Natty:
Report link

I tried based on Sylvain's answer, but cache did not work. Here is a working version as of February 2025.

steps:
  - uses: actions/checkout@v4
  - name: Install poetry
    run: |
      pipx install poetry==1.8.*
      poetry config virtualenvs.create true --local
      poetry config virtualenvs.in-project true --local
  - uses: actions/setup-python@v5
    with:
      python-version: '3.12'
      cache: 'poetry'
  - run: poetry install
  - run: poetry run pytest
Reasons:
  • Blacklisted phrase (1): did not work
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Hiro

79428849

Date: 2025-02-11 03:59:12
Score: 2.5
Natty:
Report link

I'm exciting to migrate from pyenv to uv for python managing, it's very easy to use: https://docs.astral.sh/uv/guides/install-python/

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Waket Zheng

79428844

Date: 2025-02-11 03:52:11
Score: 3
Natty:
Report link

go to control panel.Then click program and then program and features.Then delete docker-desktop enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Manaphat Sutanpaisan

79428843

Date: 2025-02-11 03:52:11
Score: 2
Natty:
Report link

Just an FYI (a few years late. Just a tip for anyone else that may come and see this) the reason why the poster AND why it's the best setting for quality is 1 instead of 0 for the quality value is because 0 is LITERALLY lossless. And what that means when converting from a webm to say a mp4, is that re-econded mp4 file will end up being decently larger than the webm file. Now you may say it's supposed to do that...it's not. See there is additional data that is not needed for mp4's with 265 encoding. So in lamens/short terms' what happens is artifacts can appear and there can be issues with a/v and synchronization and lots of other little bugs. It's not like those bluetooth audio codecs where lossless is ideal for things like latency and audio quality. It works differently for video.

So setting you quality to 0 can in many instances create a video mp4 that is actually larger in size than the webm video and has the same quality or worse than the webm video.

Setting the quality to 1 instead indicates that total lossless conversion is NOT to be used but to set the quality to the highest possible outcome. And in some programs...you can even set it further to 0.5 (handbrake for windows for example) allows settings it by increments of .5. Anything above 0 works.

It's highly confusing. As most program simply state the scale is 51-0 ranking from worst-best...so most intelligent human beings would take that as 0 is the best quality possible. While in all reality it's not. 1 is. Or 0.5 (granted i have yet to see a noticable improvement when using 0.5 instead of 1 for handbrake) for handbrake.

Also note that if you are choosing h.265 for your encoding...your resulting file will almost 100% definitely be decently smaller is total file size than the webm video file. That's because h.265 is a newer standard codec that supposed to allow for smaller file sizes with minimal or no quality or performance loss. And in some cases that quality and performance is even better than h.264.

For example, last week I converted a 250MB video webm file. The webm video contained zero tracking or scroll info and was missing lots a meta data so I couldn't fast forward or rewind through it at all and there were no thumbnails. It was a lecture that I only needed like 2 minutes from and the video was like 25 min long. A major pain... so I needed to convert it to mp4.

The original webm video was 720p. However that was recorded from a laptop screen browser window. And this new mp4 I was creating would be displayed on a massive projector screen. So I decided to upscale it to 4k so try to minimize any massive pixels and pixelation. (Upsclaing a video won't really do anything for video quality tho, note. It's just simply adding more pixels or re-sizing the pixels already existing. It can't add in any new details or such unless you are using some sort of ai upscaling solution)

Anyways, I essentially more than quadrupled the resolution. And I added in lots of filters with decently heavy usage settings and also used medium denoising... that in theory SHOULD have meant a much larger mp4 file size than 250MB like the webm video file.

Nope. The end mp4 h.265 video ended up being 65MB total in size. And there was zero missing video segments and zero bugs or "glitches" and audio/visual was perfectly aligned and audio tracks were crisp and not missing any segments.

So that kinda shows you just how much h.265 encoding can shrink a file. To give examples I have often seen video files as large as 16GB using h.264 encoding shrink all the way down to 6GB using h.265 encoding. Same video quality and resolution. Only thing that changed was encoding method used.

H.265 is really big right now for things like VR media as even a Oculus Quest 2 from Yeats and Yeats ago.. a basic vr movie was like 12-26GB per file if you went uo towards 6k/8k resolutions. So using h.265 to cut that file size is half is really important as those headsets have limited storage space and streaming those massive files instead from a computer or Nas or whatever will almost certainly induce lots of buffering for those massive file sizes.

Cheers

Reasons:
  • Blacklisted phrase (1): Cheers
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Robert Jorgensen

79428830

Date: 2025-02-11 03:41:08
Score: 2.5
Natty:
Report link

Got the same error. You might need to check the iat in JWT should be in GMT.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Thao Ha

79428829

Date: 2025-02-11 03:40:08
Score: 1.5
Natty:
Report link

Using Vue-Router is already quite simple. While it may look like Vue-Router is unnecessary here, having your application single paged would really improve the UX.

To use or not to use Vue-Router is completely up to you, though nowadays most websites dynamically load content of the pages. So modern practices would prefer using some kind of routing for it's benefits and improval of UX.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Yermekov Aibar

79428825

Date: 2025-02-11 03:39:08
Score: 1.5
Natty:
Report link

Look, the issue seems to be directly related to the token, it's about the bot's token. You know, the error "401 Unauthorized" and the message "Improper token has been passed" indicate that the token you're using is either incorrect or invalid.

So, I suggest you check the token, and if possible, try renewing the token in the Discord Developer Portal. Also, verify the permissions you've given to the bot, both in the Discord Developer Portal and within the code.

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: http-pixelon

79428813

Date: 2025-02-11 03:33:06
Score: 4.5
Natty: 4
Report link

Banner-Dog - This may help you to generate a repo preview image.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: boybeak

79428808

Date: 2025-02-11 03:27:05
Score: 2.5
Natty:
Report link

.NET8* has this option: enter image description here

self.Property(i => i.Id).HasDatabaseGeneratedOption(DatabaseGeneratedOption.Identity);
Reasons:
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Edison C

79428800

Date: 2025-02-11 03:20:04
Score: 3
Natty:
Report link
  1. go to settings
  2. search "emmet"
  3. "Emmet Preferences"
  4. "Edit in settings.json"
Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andriansyah Arul

79428797

Date: 2025-02-11 03:18:03
Score: 4
Natty: 5.5
Report link

where is displayed total read/write bandwidth in xcode? i think the data of android is error, too small

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): where is
  • Low reputation (1):
Posted by: MAR

79428795

Date: 2025-02-11 03:15:02
Score: 1
Natty:
Report link

By using :has() pseudo-class in CSS you can have conditons.

It will select parent cat div with condtion :has() method.

.category-menu li.current-cat-parent:has(.current-cat),
.category-menu li.current-cat-parent:has(.current-cat-parent) {
    background-color: #954c4c !important; 
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Altaf Malik

79428787

Date: 2025-02-11 03:07:00
Score: 2.5
Natty:
Report link

You can't change the name and uri properties of the artifact.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: dbkoop

79428784

Date: 2025-02-11 03:06:00
Score: 3
Natty:
Report link

I added an addition Box Collider 2D to the player (HeroKnight) and wrote a script for that object specifically and it is working flawlessly, while still allowing me to manage the other colliders separately.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: adepolo12

79428783

Date: 2025-02-11 03:06:00
Score: 2
Natty:
Report link

Restarting the Co-Pilot extension solved for me.

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Awshaf Ishtiaque

79428778

Date: 2025-02-11 03:00:59
Score: 1.5
Natty:
Report link

So apparently this is all a red herring.

Apparently the problem was on the right side of my code and my example oversimplified the situation obscuring the real issue.

my ($x, $y) = foo(); works just fine.

my ($x, $y) = foo() || warn("things are wrong") && return undef

Does what you want if foo() goes wrong, but somehow forces foo() into scalar context despite the desire for a returned value in array context.

Reasons:
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Owen DeLong

79428777

Date: 2025-02-11 02:58:59
Score: 2
Natty:
Report link

In addition to Fff's answer, which reattaches the event handler after each plt.show(), I found two others that work:

It seems like toggling interactive mode off and on again confuses matplotlib such that it doesn't know where to draw stuff.

For now, I'm using plt.draw() since that seems like the least complicated solution; attaching the same event multiple times seems less intuitive. If anyone has an explanation or a better solution, please let me know!

Solution for now:

import matplotlib.pyplot as plt

def onclick(event):
    print(event.xdata, event.ydata)
    plt.gca().scatter(event.xdata, event.ydata)
    plt.draw()      # draw_idle() doesn't work, but this does!

for i in range(2):
    plt.plot([1, 2, 3, 4])
    plt.gca().figure.canvas.mpl_connect('button_press_event', onclick)
    with plt.ion():
        plt.show(block=True)
Reasons:
  • RegEx Blacklisted phrase (2.5): please let me know
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: dirtbirb

79428774

Date: 2025-02-11 02:58:59
Score: 0.5
Natty:
Report link

I don't know if this is the correct answer but when I comment out the **/.gitignore line in the .dockerignore file, I can build the docker image.

My .dockerignore file:

**/.classpath
**/.dockerignore
**/.env
**/.git
# **/.gitignore
**/.project
**/.settings
**/.toolstarget
**/.vs
**/.vscode
**/.next
**/.cache
**/*.*proj.user
**/*.dbmdl
**/*.jfm
**/charts
**/docker-compose*
**/compose*
**/Dockerfile*
**/node_modules
**/npm-debug.log
**/obj
**/secrets.dev.yaml
**/values.dev.yaml
**/build
**/dist
LICENSE
README.md
**/.angular
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nhut Truong

79428767

Date: 2025-02-11 02:52:57
Score: 2
Natty:
Report link

Try this

return np.vectorize(scalar_function)(x, y)

This should do the work.

Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: user2615660

79428753

Date: 2025-02-11 02:41:55
Score: 3
Natty:
Report link

Yes! You can implement long polling with Redis in a non-blocking way using FastAPI with async Redis (aioredis) or Django with Django Channels.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Qúy Việt Bùi

79428742

Date: 2025-02-11 02:35:54
Score: 1
Natty:
Report link

Based on your description, I could reproduce the issue when I installed nbgv after I setup the self-hosted pipeline agent.

Image As suggested in this document, we need to update environment variables after installing new software.

./env.sh
sudo ./svc.sh stop
sudo ./svc.sh start

Image

Image

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Alvin Zhao - MSFT

79428733

Date: 2025-02-11 02:26:52
Score: 1
Natty:
Report link

If you just need labels (no numeric summaries), create a dummy numeric summary, set the Display String property of the numeric summary to blank (""), suppress redundant totals, and hide redundant grid lines using the 'Format Grid Lines' dialog. enter image description here

Here is an example of the final result: enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: MilletSoftware

79428732

Date: 2025-02-11 02:25:51
Score: 9 🚩
Natty: 5
Report link

Well, I see most of that questions and responses are a few years old, but I'm in desperate need of help! I keep getting the deobfuscation file error as well I've tried everything that Google recommended or said to try and still getting same error. Also, I have couple more questions so if I lost or forgot my key and keystone passwords is there away to change them or get them? Thank you! Xoxo

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): ve tried everything
  • No code block (0.5):
  • Me too answer (2.5): getting same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Flirting Singles

79428728

Date: 2025-02-11 02:22:50
Score: 2.5
Natty:
Report link

Maybe, I think you are in python (Visual Studio Code)

you move from python to cmd!

I was in your shoes. and I entered about it, I met you. 😊

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Here_Kang

79428726

Date: 2025-02-11 02:18:49
Score: 4
Natty: 4
Report link

thank you for sharing,you can also look this,https://thinkingemoji.com/, https://januspro.dev/

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: hiked

79428724

Date: 2025-02-11 02:17:48
Score: 5
Natty:
Report link

thanks for the link! I need to implement a Service etc., but I think I should be god now. Thanks for the help :-)

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user3597837

79428723

Date: 2025-02-11 02:16:48
Score: 1.5
Natty:
Report link

I got it! just replace mm$learners[[1]] with mm$learners[[1]]$model

unified <- unify(mm$learners[[1]]$model, data)
treeshap1 <- treeshap(unified,  data[700:800, ], verbose = 0)
treeshap1$shaps[1:3, 1:6]
plot_contribution(treeshap1, obs = 1, min_max = c(0, 16000000))
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: gen linlin

79428720

Date: 2025-02-11 02:15:46
Score: 6.5 🚩
Natty: 6.5
Report link

I intended to make this a comment, but this account is new and I don't have enough reputation to comment.

Thank you so much for your answer, it worked for me! But do you know how to make this an inline formula? Right now it generates a new line for every formula I have, thank you so much!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): to comment
  • Whitelisted phrase (-1): it worked
  • Whitelisted phrase (-1): worked for me
  • RegEx Blacklisted phrase (1.5): I don't have enough reputation to comment
  • RegEx Blacklisted phrase (2.5): do you know how
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Junxi Song

79428718

Date: 2025-02-11 02:13:46
Score: 1
Natty:
Report link

Beyond handling nil data recording with timeouts, there are several additional considerations to optimize your system:

  1. Bloom Filter Implementation: You could apply a Bloom filter at the API endpoint for internal data queries. This would accelerate query processing while reducing unnecessary workload by efficiently identifying non-existent entries before executing expensive operations.

  2. Singleflight Pattern: Consider adopting the singleflight pattern (as implemented in Golang's https://pkg.go.dev/golang.org/x/sync/singleflight). This becomes particularly helpful when cached nil data expires and multiple concurrent requests arrive simultaneously. Without an existing cache entry, these parallel requests would bypass the cache layer and directly hit the upstream API endpoint, potentially causing request stampeding that could overwhelm backend systems (also known as cache penetration).

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: PatickM

79428716

Date: 2025-02-11 02:12:46
Score: 2
Natty:
Report link

When to use class-based React components vs. function components?

In React, function components are now the go-to choice in most cases thanks to React Hooks (introduced in React 16.8). However, there are still situations where class components are needed.

Use Class Components When:

1: Working with Old Code:

If you're working on an old project that already uses class components, it’s usually best to stick with them instead of refactoring everything. Example:

class MyComponent extends React.Component {
  constructor(props) {
    super(props);
    this.state = { count: 0 };
  }
  render() {
    return <h1>{this.state.count}</h1>;
  }
}

2: Using Lifecycle Methods (before React 16.8):

Class components are needed for using lifecycle methods like componentDidMount, componentDidUpdate, etc., which were essential before Hooks. Example:

class MyComponent extends React.Component {
  componentDidMount() {
    console.log('Component has mounted!');
  }
  render() {
    return <h1>Hello</h1>;
  }
}

3: Creating Error Boundaries:

Only class components can be used to create error boundaries (used for handling JavaScript errors in child components). Example:

class ErrorBoundary extends React.Component {
  constructor(props) {
    super(props);
    this.state = { hasError: false };
  }
  static getDerivedStateFromError(error) {
    return { hasError: true };
  }
  render() {
    if (this.state.hasError) {
      return <h1>Something went wrong.</h1>;
    }
    return this.props.children;
  }
}

Use Function Components When:

1: Building New React Apps:

Function components are simpler and cleaner, making your code easier to write and maintain. Example:

function MyComponent() {
  const [count, setCount] = useState(0);
  return <h1>{count}</h1>;
}

Using Hooks for State & Side Effects:

useState and useEffect hooks replace the need for class component lifecycle methods. Example: jsx Copy Edit

function MyComponent() {
  const [count, setCount] = useState(0);
  
  useEffect(() => {
    document.title = `Count: ${count}`;
  }, [count]);
  
  return <h1 onClick={() => setCount(count + 1)}>{count}</h1>;
}

3: Better Performance & Smaller Code:

Function components have less overhead compared to class components (no need for this and constructor), making them faster and easier to optimize. Better Compatibility with Modern Features (e.g., React 18):

4: enter image description hereFunction components work better with React Suspense, Concurrent Mode, and other new features in React.

Comparison Table below Class Component VS Function Component

When to Use Each: For new React projects → Use function components with hooks. They're easier, cleaner, and the way React is heading. For legacy projects → Stick to class components, unless you want to refactor. For error boundaries → Class components are necessary. React has evolved, and function components are the future. They make it easier to manage state, side effects, and more, all with less boilerplate code

Reasons:
  • Blacklisted phrase (0.5): thanks
  • Blacklisted phrase (1): enter image description here
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When to use
  • Low reputation (1):
Posted by: Altaf Malik

79428715

Date: 2025-02-11 02:06:45
Score: 2.5
Natty:
Report link

ReRe does exactly what you are asking for!

It can record almost all non-final java objects, including the throw behavior, and the modifications done to parameters.

Please check it out!

https://github.com/ryucc/ReRe

Reasons:
  • Blacklisted phrase (0.5): check it out
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Katie Liu

79428713

Date: 2025-02-11 02:05:44
Score: 3.5
Natty:
Report link

After adding additional argument to the class Profile(models.Model):

def save(self, ** kwargs):

https://github.com/CoreyMSchafer/code_snippets/issues/15

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Qúy Việt Bùi

79428712

Date: 2025-02-11 02:05:44
Score: 2.5
Natty:
Report link

I have discovered another cause/solution to this issue. I was using a cloud share (MS OneDrive) for my web files (this is small dev environment at home). I created a new web dev environment on a new laptop, and I hadn't yet set my web files to "always keep on this device." As a result, when the php engine went to fetch a file, the file really wasn't there, even though I could see it in File Explorer. Once I forced all my files to reside on the new device, it worked like a charm.

Reasons:
  • Blacklisted phrase (1): worked like a charm
  • Whitelisted phrase (-1): it worked
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lee Harbaugh

79428711

Date: 2025-02-11 02:04:44
Score: 1
Natty:
Report link

Thanks to @buran answer/link, I post here my entire code:

import subprocess, winreg
import pandas as pd

def remove_duplicates(data: list):
    # Create a set to store unique combinations of (name, version, architecture)
    seen = set()

    # Create a new list for unique elements
    unique_data = []

    # Iterate through the list of dictionaries
    for item in data:
        name = item["name"].strip()
        version = item["version"].strip()
        architecture = item["architecture"].strip()
        
        # Create a tuple of the values for name, version, and architecture
        identifier = (name, version, architecture)
        
        # If this combination hasn't been seen before, add it to the result list and mark it as seen
        if identifier not in seen:
            seen.add(identifier)
            unique_data.append({"name": name, "version": version, "architecture": architecture})

    return unique_data

def list_installed_apps(cmd: str):     
    # Run the PowerShell command and capture output
    result = subprocess.run(["powershell", "-Command", cmd], capture_output=True, text=True)
    
    # Split the result into lines and filter out unwanted lines
    all_apps = result.stdout.splitlines()
    
    # Find the index of the header line and column label boundaries
    header_index = [i for i, app in enumerate(all_apps) if app.find("Version") != -1][0]
    header = all_apps[header_index]
    bound_1 = header.find("Version")
    bound_2 = header.find("Architecture")
    #bound_3 = header.find("Publisher")

    # Remove the header and any empty lines
    all_apps = [app.strip() for app in all_apps if app.strip() and "Name" not in app]
    all_apps = all_apps[1:] #removes the line of -------

    all_apps_ordered = [
        {
            "name": app[:bound_1], 
            "version": app[bound_1:bound_2], 
            "architecture": app[bound_2:], 
            #"architecture": app[bound_2:bound_3], 
            #"publisher": app[bound_3:]
        }
        for app in all_apps
    ]
    
    return all_apps_ordered

def list_installed_apps_from_registry(cmd: str):     
    # Run the PowerShell command and capture output
    result = subprocess.run(["powershell", "-Command", cmd], capture_output=True, text=True)
    
    # Split the result into lines and filter out unwanted lines
    all_apps = result.stdout.splitlines()
    
    # Find the index of the header line and column label boundaries
    header_index = [i for i, app in enumerate(all_apps) if app.find("DisplayVersion") != -1][0]
    header = all_apps[header_index]
    bound_1 = header.find("DisplayVersion")
    bound_2 = header.find("Architecture")
    #bound_3 = header.find("Publisher")

    # Remove the header and any empty lines
    all_apps = [app.strip() for app in all_apps if app.strip() and "DisplayName" not in app]
    all_apps = all_apps[1:] #removes the line of -------

    all_apps_ordered = [
        {
            "name": app[:bound_1], 
            "version": app[bound_1:bound_2], 
            "architecture": app[bound_2:], 
            #"architecture": app[bound_2:bound_3], 
            #"publisher": app[bound_3:]
        }
        for app in all_apps
    ]
    
    return all_apps_ordered

def query_registry(hive, flag):
    """
    Queries the registry for a list of installed software.

    Args:
        hive: a winreg constant specifying the registry hive to query.
        flag: a winreg constant specifying the access mode.

    Returns:
        A list of dictionaries, each containing the name, version, publisher, and
        architecture of a piece of software installed on the machine.
    """
    aReg = winreg.ConnectRegistry(None, hive)
    aKey = winreg.OpenKey(key=aReg, sub_key=r"SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall",
                          reserved=0, access=winreg.KEY_READ | flag)

    count_subkey = winreg.QueryInfoKey(aKey)[0]

    software_list = []

    for i in range(count_subkey):
        software = {}
        try:
            asubkey_name = winreg.EnumKey(aKey, i)
            asubkey = winreg.OpenKey(key=aKey, sub_key=asubkey_name)
            software['name'] = winreg.QueryValueEx(asubkey, "DisplayName")[0]

            try:
                software['version'] = winreg.QueryValueEx(asubkey, "DisplayVersion")[0]
            except EnvironmentError:
                software['version'] = ""
            # try:
            #     software['publisher'] = winreg.QueryValueEx(asubkey, "Publisher")[0]
            # except EnvironmentError:
            #     software['publisher'] = ""
            try:
                software['architecture'] = winreg.QueryValueEx(asubkey, "Architecture")[0]
            except EnvironmentError:
                software['architecture'] = ""
            software_list.append(software)
        except EnvironmentError:
            continue

    return software_list


##############################
# CMD 1 
##############################
cmd = "Get-WmiObject -Class Win32_Product | Select-Object Name, Version, Architecture | Sort-Object Name"
apps_1 = list_installed_apps(cmd)


##############################
# CMD 2
##############################
cmd = "Get-AppxPackage | Select-Object Name, Version, Architecture | Sort-Object Name"
apps_2 = list_installed_apps(cmd)


##############################
# CMD 3
##############################
path = f"HKLM:\\Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\*"
cmd = f"Get-ItemProperty -Path {path} | Select-Object DisplayName, DisplayVersion, Architecture | Sort-Object Name"
apps_3 = list_installed_apps_from_registry(cmd)


##############################
# CMD 4
##############################
path = f"HKLM:\\Software\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\*"
cmd = f"Get-ItemProperty -Path {path} | Select-Object DisplayName, DisplayVersion, Architecture | Sort-Object Name"
apps_4 = list_installed_apps_from_registry(cmd)


##############################
# CMD5, CM6, CM7
##############################
apps_5 = query_registry(winreg.HKEY_LOCAL_MACHINE, winreg.KEY_WOW64_32KEY)
apps_6 = query_registry(winreg.HKEY_LOCAL_MACHINE, winreg.KEY_WOW64_64KEY)
apps_7 = query_registry(winreg.HKEY_CURRENT_USER, 0)


##############################
# SUM RESULTS OF ALL COMMANDS
##############################
all_apps = apps_1 + apps_2 + apps_3 + apps_4 + apps_5 + apps_6 + apps_7


##############################################
# ELIMINATE DUPLICATES AND SORT BY NAME KEY
##############################################
# Output the unique list
all_apps_no_duplicates = remove_duplicates(all_apps)
all_apps_no_duplicates_sorted = sorted(all_apps_no_duplicates, key=lambda x: x["name"])
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @buran
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: eljamba

79428695

Date: 2025-02-11 01:53:42
Score: 0.5
Natty:
Report link

The easier ways is probably to use FindSystemFontsFilename:

import os
import shutil
from pathlib import Path
from find_system_fonts_filename import install_font

filename_src = Path("PATH_TO_THE_FONT_TO_INSTALL.TTF")

# find_system_fonts_filename only support installing users fonts (see https://stackoverflow.com/a/77661799/15835974)
filename_dst = Path(os.environ["USERPROFILE"], "AppData", "Local", "Microsoft", "Windows", "Fonts", filename_src.name)

shutil.copyfile(filename_src, filename_dst)
install_font(filename_dst, True)

You can find FindSystemFontsFilename here.

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: jeremie bergeron

79428692

Date: 2025-02-11 01:51:41
Score: 3
Natty:
Report link

There is language mode option: raw .

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Minxin Yu - MSFT

79428680

Date: 2025-02-11 01:37:39
Score: 1.5
Natty:
Report link

Figured it out. Just didn't know how to ask it. For any other beginner struggling with this or even how to ask it, this is the high level:

  1. Create the 3D Model in Blender Model a pack of cards and individual cards inside the pack. Rig the model (if necessary) for smooth animation. Animate the pack opening and the cards revealing themselves.
  2. Set Up Image Texture Inputs Create three planes or card faces where the images will be applied. Use Blender’s material nodes to set up image textures that can be swapped dynamically.
  3. Export as GLTF Blender allows you to export your model as a .gltf or .glb file. Ensure textures are configured correctly to allow external image swapping.
  4. Load the GLTF in Three.js Use GLTFLoader in Three.js to load your exported model. Dynamically replace the textures of the cards with the image URLs you provide.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: michael_builds_apps

79428674

Date: 2025-02-11 01:32:38
Score: 1
Natty:
Report link

I had to install a few more libraries to get Ubuntu 24.04 to play nice with pyenv

sudo apt install libbz2-dev libffi-dev libssl-dev \
libreadline-dev libsqlite3-dev liblzma-dev
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: radarhead

79428671

Date: 2025-02-11 01:28:36
Score: 8 🚩
Natty: 4.5
Report link

In need to of full versions of softwares oriented for electronics engineering as i'm on job search

i'm electronics engineering graduate but have been working in a different sector for few years. i quit my job and am planning to work in my domain 1e. electronics engineering. so i need full versions of softwares to practice my skills and do projects.

kindly help me out withwebsite links where i can download and install full versions of softwares like matlab, python, C/C++, Embedded C/C++, altium, cadsoft, keil, xilinx and other electronics related softwares if anything new is running on trend now too.

if its cr@cked also, its better. because i saw for matlab they have basic features or as a trial pack for a month. so a full version will be better in this case.

Thank you, I'm counting on you guys.

i've no idea about softwares, as i'm not in the sector for sometime.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): help me
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (3): kindly help
  • RegEx Blacklisted phrase (2): help me out
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Aziz

79428668

Date: 2025-02-11 01:25:35
Score: 3.5
Natty:
Report link

I ended up using a simple timeout as @Burak suggested. This was simpler than circuit breaker and worked just fine for this use case. It can avoid spamming when data that is a minute old in not a concern.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Burak
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: hebeha

79428653

Date: 2025-02-11 01:13:33
Score: 0.5
Natty:
Report link

In my case I mistakenly had this at the top:

#!/usr/bin/sh

after changing to

#!/bin/bash

I'm good now. It is after all, a bash script as they say.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Tomachi

79428649

Date: 2025-02-11 01:10:33
Score: 1
Natty:
Report link

.container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, max-content));
flex-grow: 1
}
<div class="container">
  <div>One</div>
  <div>Two</div>
  <div>Three</div>
  <div>Four</div>
  <div>Five</div>
  <div>Six</div>
  <div>Seven</div>
</div>

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Altaf Malik

79428648

Date: 2025-02-11 01:10:33
Score: 3.5
Natty:
Report link

I have never tried but VS code debug console can help

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: swawge

79428633

Date: 2025-02-11 00:53:30
Score: 2
Natty:
Report link

Configurar Docker para que genere los archivos *.log en un volumen y que no se sobre-escriban al ejecutar el build y up de nuestra imagen:

En nuestro archivo docker-compose.yml es necesario agregar las siguientes lineas:

volumes:
  - ./laravel-logs:/var/www/storage/logs
user: www-data

Debemos de crear la carpeta laravel-logs en la raíz de nuestro proyecto e ignorar el contenido que se cree dentro de esta para no versionar los archivos *.log

Por ultimo ejecutaremos las siguientes para asignarle los permisos correctos:

sudo chown -R $(whoami):www-data ./laravel-logs/
sudo chmod -R 775 ./laravel-logs

Solo basta con ejecutar el build y up de nuestra imagen de Docker y realizar una prueba para garantizar que los logs se esta generando correctamente y no tener problemas de permisos.

Reasons:
  • Blacklisted phrase (2): crear
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: José Luis García Ortíz

79428632

Date: 2025-02-11 00:53:30
Score: 2
Natty:
Report link

Real-World Example Imagine you’re building a food delivery platform:

Azure Web App: You use this to host the customer-facing website where users can browse restaurants and place orders.

Azure App Service: You use this to host everything else, like:

The REST API (API App) for communication between the website and the backend.

The mobile app backend (Mobile App) for the delivery driver’s app.

A workflow automation (Logic App) to send order confirmation emails.

Reasons:
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Pinky

79428628

Date: 2025-02-11 00:47:28
Score: 0.5
Natty:
Report link

After spending lot of time realized issue was due to

applicationId

present in apps build.gradle

Framework was expecting application id to have tv in it something like this:

"com.android.tv.myapplication"

it cannot be just

"com.example.myapplication"

or something random. Needs to have some prefix like:

"com.android.tv"

Not sure but seems like there are some checks in system not to send D-Pad events to any random application.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Naveen Singh

79428620

Date: 2025-02-11 00:39:27
Score: 3
Natty:
Report link

Before closing chrome, close all your tabs. The next time you open it it should just be a new tab.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: NewCoder

79428614

Date: 2025-02-11 00:32:26
Score: 2.5
Natty:
Report link

We were running codeigniter just fine and someone turend on "zlib compression" in php8.3 and this started happening. We shut it off and it started working againg.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: TekOps

79428610

Date: 2025-02-11 00:30:25
Score: 3
Natty:
Report link

I've seen your issue and answers but didn't work for me...

I posted my solution here:

https://superuser.com/questions/1877990/use-burpsuite-within-a-wsl-gui-debian

Hope this'll help !

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jean-Baptiste Beck

79428600

Date: 2025-02-11 00:21:23
Score: 5.5
Natty: 4
Report link

su - {username}

maybe that'll work? idk

Reasons:
  • Low length (2):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: developer v2

79428595

Date: 2025-02-11 00:18:23
Score: 2.5
Natty:
Report link

The only difference I can see in your XAML compared to the MenuItem ControlTemplate currently used in .Net 9 framework is that your GlyphPanel has Fill="{TemplateBinding Foreground}" where as the framework GlyphPanel uses Fill="{TemplateBinding TextElement.Foreground}"

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Dragan Radovac

79428569

Date: 2025-02-10 23:59:19
Score: 1
Natty:
Report link
from turtle import Turtle, Screen

t = Turtle()
t.shape("turtle")
t.color("red")

def dash_line(number_of_times):
    t.pencolor("black")
    for move in range(number_of_times):
        t.forward(10)
        t.pu()
        t.forward(10)
        t.pd()

dash_line(10)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Emmanuel Chukwu

79428567

Date: 2025-02-10 23:58:19
Score: 3
Natty:
Report link

I've seen your issue and answers but didn't work for me...

I posted my solution here:

https://superuser.com/questions/1877990/use-burpsuite-within-a-wsl-gui-debian

Hope this'll help !

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jean-Baptiste Beck

79428561

Date: 2025-02-10 23:52:18
Score: 2
Natty:
Report link

Without any libs required, without any gross assembly (with questionable portability - the answer submitted gets the wrong answer on my system), and without any parsing of files:

https://man7.org/linux/man-pages/man3/get_nprocs_conf.3.html

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Nathan Wiebe

79428554

Date: 2025-02-10 23:49:17
Score: 2
Natty:
Report link

Just do telescope migration again. Maybe it will work fine! Sometimes we copy a table, or do something wrong before. I hope it helps someone!

Reasons:
  • Whitelisted phrase (-1): hope it helps
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Fabiano S. Figueiredo

79428548

Date: 2025-02-10 23:43:16
Score: 2
Natty:
Report link

Or consider other frameworks besides Tekton!

Just be careful when running Windows containers. Some bug fixing needed.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: jrbe228

79428546

Date: 2025-02-10 23:39:15
Score: 3.5
Natty:
Report link

delanada no me deja entrar a roblox pls quiero juagr roblox pipipi

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Lucy Torres

79428536

Date: 2025-02-10 23:33:14
Score: 1.5
Natty:
Report link

That is by design as the query parameter is set to be required, the Apim service will import it as a template Parmeter not a query parameter which is considered as part of the routing path.

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: mohaidar

79428521

Date: 2025-02-10 23:18:11
Score: 2
Natty:
Report link

I tried the "node-gyp": "10.0.1", "nan": "2.18.0" suggestion from another user but that didn't work for me. I ended up downgrading to 18.20.6 and it got passed the error.

So if you don't need to be on a newer version of node just change to an older version.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Christopher Emerfoll Toph

79428520

Date: 2025-02-10 23:18:11
Score: 1
Natty:
Report link

You were almost there:

=TOROW(SORT(UNIQUE(TOCOL(VSTACK(A1:E1,A2:E2)))))

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • High reputation (-1):
Posted by: Michal

79428512

Date: 2025-02-10 23:14:10
Score: 0.5
Natty:
Report link

This was a bug (#15759) and will be fixed in a coming release.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: starball