79635786

Date: 2025-05-23 15:24:34
Score: 5
Natty:
Report link

Invalidating IntelliJ caches helped. Wtf

What does it have to do with anything? Why would the IDE "uncache" that property from my property file?

enter image description here

Reasons:
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
Posted by: Sergey Zolotarev

79635777

Date: 2025-05-23 15:16:32
Score: 1.5
Natty:
Report link

The answer was to use a form subform, not a query subform. See MajP's answer here: https://www.access-programmers.co.uk/forums/threads/how-do-i-save-the-layout-of-a-subform-after-modifying-it-on-the-main-forms-on-open-event.334086/#post-1963627

You should not have to save or get this message. I do this all the time without any prompt. However it looks to me that your subform source object is a query object and not a form in datasheet. Make sure to use a datasheet form and your problem should go away. Also call the code in the on load event and not the on open event.

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

79635776

Date: 2025-05-23 15:16:32
Score: 2.5
Natty:
Report link

So the problems was I added Swift files in VSCode and it was not added in the scope of the project in ios. Open the project in xcode and added those files in scope fixed the issue

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
Posted by: Ali Yar Khan

79635775

Date: 2025-05-23 15:14:31
Score: 2.5
Natty:
Report link

My Google Chrome memory footprint for subframe is at 1,345,212K and I have no idea what to do about this, it is a 9 month old Lenovo Chromebook+ and I did not know it was a Chromebook when I bought it or I would have gone somewhere else. I am guessing it has to do with my ad blocker because Chrome REALLY does not like ads being blocked. But I have spent nearly the entire time I owned it in Google's misclick jail I am ready to recycle the piece of garbage.

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

79635772

Date: 2025-05-23 15:13:31
Score: 2.5
Natty:
Report link

The solution is to upload datas to the system

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jeff Steve

79635770

Date: 2025-05-23 15:12:31
Score: 1
Natty:
Report link

For everyone like me who had the same error because you are making the app cross-compatible with bun, node, and deno, the right answer is to make sure that you are passing .pem files contents as an utf8 text.

I had to add "utf8" as the second argument to the readFileSync function from the fs-extra

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

79635764

Date: 2025-05-23 15:08:29
Score: 0.5
Natty:
Report link

Found a solution that works recursively:

$ jq --sort-keys \. data.json

If also wish to sort the arrays use:

$ jq --sort-keys 'walk(if type == "array" then sort else . end)' data.json
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: I J

79635762

Date: 2025-05-23 15:06:29
Score: 1
Natty:
Report link

Maybe something like this:

block-beta
  block:s1
    columns 1
    t1["Stack 1"]
    n1("Node 1")
    n2("Node 2")
  end
  space
  block:s2
    columns 1
    t2["Stack 2"]
    n3("Node 3")
    n4("Node 4")
  end
  s1 --> s2
  style t1 fill:none,stroke-width:0px
  style t2 fill:none,stroke-width:0px

Two stacks

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

79635744

Date: 2025-05-23 14:54:25
Score: 1
Natty:
Report link

By default, sort_values puts the smallest y first. But in the doc (containing F), y=0 is at the bottom of the shape and y grows as you go up. So you ended up printing the bottom stroke of your “F” first, then the middle and then the top giving you an upside-down “F.”

To fix this you would need to define the sorting order of y-cordinates as descending in your getTableDataSorted function:

tableData[0].sort_values(by=["y-coordinate","x-coordinate"], ignore_index=True,ascending=[False, True])

As the doc with the lengthier message is already laid out with the highest y-values first, asking pandas to sort y descending doesn’t change its row order. In contrast, the “F” doc had y ascending (bottom→top), so flipping to descending is what corrects its orientation.

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

79635718

Date: 2025-05-23 14:35:20
Score: 2
Natty:
Report link

is it a must to execute the command of :

git submodule update --init --recursive

and where to put

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): is it a
  • Low reputation (1):
Posted by: Mohamed Osama

79635709

Date: 2025-05-23 14:33:19
Score: 3.5
Natty:
Report link

Thanks, this worked beautifully in a bash script called remotely (ssh hostname 'myscript.sh')

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

79635702

Date: 2025-05-23 14:28:18
Score: 1.5
Natty:
Report link

For a venerable approach to this, see the source code to the classic computer program "The Colossal Cave Adventure" which implemented a scheme to hide the text in the executable so as to prevent users from dumping the text as referenced in the Literate PDF:

http://literateprogramming.com/adventure.pdf

but you'll need the original source:

https://www.ifarchive.org/indexes/if-archive/games/source/

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

79635700

Date: 2025-05-23 14:26:17
Score: 2
Natty:
Report link

just use this in windows:

from serial.serialwin32 import Serial
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: mahdi_asdzd

79635698

Date: 2025-05-23 14:25:17
Score: 1
Natty:
Report link

When using Esm.sh the version number precedes any path information. So in your example, the correct URL will be:

https://esm.sh/[email protected]/jsx-runtime

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Starts with a question (0.5): When
Posted by: oravecz

79635697

Date: 2025-05-23 14:25:17
Score: 1
Natty:
Report link

This error appeared to me by adding a find_package(homemade_package) in my CmakeLists.txr
In my case, this "homemade_package" relied on gazebo and rviz.

I don't know if my comment will be helpfull but, eliminating the packages that depended on gazebo and rviz fixed the problem for me.

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

79635679

Date: 2025-05-23 14:14:14
Score: 5
Natty: 4.5
Report link

Is it correct that 15 years after this question was asked, there is still no acceptable alternative? Yes, it is.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Is it
  • Low reputation (0.5):
Posted by: Tom Jones

79635677

Date: 2025-05-23 14:13:13
Score: 1.5
Natty:
Report link

In Dart 3.8, to preserve trailing commas during formatting, update your analysis_options.yaml

formatter:
  trailing_commas: preserve
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Fawzi Gharib

79635673

Date: 2025-05-23 14:11:12
Score: 2.5
Natty:
Report link

In your Program.cs file, add

public partial class Program { }

that way your test project will have something to reference.

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

79635672

Date: 2025-05-23 14:11:12
Score: 1.5
Natty:
Report link

Finally Solved it by changing in .env file

SESSION_DRIVER=file
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: sanu

79635664

Date: 2025-05-23 14:05:11
Score: 1
Natty:
Report link

Just let Integer.intValue() fail with NullPointerException and catch it.

Integer result;
try {
    result = intList.stream().mapToInt(Integer::intValue).sum();
} catch (NullPointerException e) {
    result = null;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ds1

79635662

Date: 2025-05-23 14:03:10
Score: 3
Natty:
Report link

Is the DWR is compatible with CSRF (Cross-site Request Forgery) ? I tried by sending the csrf token both in dwr header and as a request parameter. But it doesn't give any impact

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is the
  • Low reputation (0.5):
Posted by: Linidu Praneeth Gunathilaka

79635660

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

Additionally, please try to avoid using too many subqueries, as they can negatively impact the performance of your query. Consider using SQL Server Common Table Expressions (CTEs) or table variables as alternatives for better efficiency and please avoid using function on your where clause.

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

79635654

Date: 2025-05-23 13:59:09
Score: 1.5
Natty:
Report link

Solution 1 from @rozsazoltan is very effective.

Actually to use dark:inline with Astro & Vite, you should just add to your CSS file:

@custom-variant dark (&:where(.dark, .dark *));

Good luck!

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @rozsazoltan
  • Low reputation (0.5):
Posted by: Guillaume Duhan

79635653

Date: 2025-05-23 13:58:08
Score: 2.5
Natty:
Report link

Just to corroborate Soroush Fathi's report:

For me it only worked when I changed the API_KEY to PROD. Even using Sandbox mode, it only worked with the Prod API Key.

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

79635647

Date: 2025-05-23 13:55:07
Score: 4
Natty:
Report link

Use pattern.

erp/functions/proj1/**

https://docs.aws.amazon.com/codepipeline/latest/userguide/syntax-glob.html

Reasons:
  • Probably link only (1):
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: Grzegorz

79635643

Date: 2025-05-23 13:53:06
Score: 5.5
Natty: 5.5
Report link

and how to set exacly current cursor position?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jakub Bober

79635611

Date: 2025-05-23 13:41:01
Score: 2
Natty:
Report link

What is the question asking for? Make sure your answer provides that – or at least a viable alternative. Your answer can say “don’t do that,” but it should also say “try this instead.” Any answer that fully addresses at least part of the question is helpful and can get the asker going in the right direction. State any limitations, assumptions or simplifications in your answer. Brevity is acceptable, but fuller explanations are better

Reasons:
  • Whitelisted phrase (-1): try this
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): What is the
  • Low reputation (1):
Posted by: GUSTAVO DE LIMA DA SILVA

79635608

Date: 2025-05-23 13:39:00
Score: 2
Natty:
Report link

My personal take on this is that don't go for a solution that is against a language's particular design or pattern. In a language like Elixir, it was designed from the beginning to easily support metaprogramming by making some features available to the developer.

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

79635587

Date: 2025-05-23 13:23:57
Score: 5
Natty:
Report link

This was fixed by the JetBrains team: https://youtrack.jetbrains.com/issue/RSRP-499790/False-Positive-Cannot-convert-null-to-type-parameter-T1-because-it-could-be-a-value-type.-Consider-using-defaultT-instead

Reasons:
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: FluidMechanics Potential Flows

79635586

Date: 2025-05-23 13:23:57
Score: 3
Natty:
Report link

Check the definition of Program type in your WebApplicationFactory, it may be not what you think it is.

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

79635579

Date: 2025-05-23 13:19:55
Score: 3.5
Natty:
Report link

Problem was at 'id={id}' in Box component. Somehow it's broke Tooltip placement logic

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: David Abramov

79635578

Date: 2025-05-23 13:19:55
Score: 1
Natty:
Report link

Feels a bit weird to find an answer after going through the trouble to document this question, but maybe someone can improve upon it. After finding out "Matchers" is already part of the Hamcrest library, I renamed it from my last post to "MatcherMethods". I found this question about child elements and stitched its answer together with the getText matcher from the answer here. The resulting renamed helper class looks like this:

public class MatcherMethods {

    public static String getText(final Matcher<View> matcher) {
        final String[] stringHolder = { null };
        onView(matcher).perform(new ViewAction() {
            @Override
            public Matcher<View> getConstraints() {
                return isAssignableFrom(TextView.class);
            }

            @Override
            public String getDescription() {
                return "getting text from a TextView";
            }

            @Override
            public void perform(UiController uiController, View view) {
                TextView tv = (TextView)view; //Save, because of check in getConstraints()
                stringHolder[0] = tv.getText().toString();
            }
        });
        return stringHolder[0];
    }

    public static int getChildCount(final Matcher<View> matcher, String className) {
        final int[] intHolder = { -1 };
        onView(matcher).perform(new ViewAction() {
            @Override
            public Matcher<View> getConstraints() {
                return isAssignableFrom(View.class);
            }

            @Override
            public String getDescription() {
                return "Getting count of child elements from a View for type " + className;
            }

            @Override
            public void perform(UiController uiController, View view) {
                ViewGroup group = (ViewGroup)view;
                int counter = 0;
                final int totalChildCount = group.getChildCount();
                for(int i = 0; i < totalChildCount; i++) {
                    //Count only if child element matches the desired type
                    if(group.getChildAt(i).getClass().getSimpleName().equals(className)) counter ++;
                }
                intHolder[0] = counter;
            }
        });
        return intHolder[0];
    }
}

The second matcher counts the child elements with the fitting className. Those matchers are used like this:

//Table interactions
        int tableId = context.getResources()
                .getIdentifier("randomInts","id",context.getPackageName());
        ViewInteraction table = onView(withId(tableId));

        table.check(matches(isDisplayed()));
        table.check(matches(hasMinimumChildCount(1)));
        Log.d("tag","Table is: " + table);

        int rowCount = MatcherMethods.getChildCount(withId(tableId),
                TableRow.class.getSimpleName());

        Log.d("tag","Rowcount is: " + rowCount);
        onView(allOf(
                withParent(withId(tableId)),
                withClassName(containsString("TableRow")),
                withParentIndex(rowCount - 1)
        )).perform(scrollTo(), click());

        //Extract table entry string
        String tableText = MatcherMethods.getText(allOf(
                withParent( allOf(
                        withParent(withId(tableId)),
                        withClassName(containsString("TableRow")),
                        withParentIndex(rowCount - 1)
                )),
                withClassName(containsString("TextView"))
        ));
        Log.d("tag", "Table entry is " + tableText);

My code has two issues now: First, if the table has children, but none of type TableRow. In that case, the withParentIndex(...) statements look for -1 and causes an error.Does Espresso have a matcher for that out of the box? Otherwise, I could use standard asserts. Second, I need to know the class name of the children. Looking simply for View.class finds 0 children. That can be resolved by creating a getChildCount method with only the first parameter and simply returning Viewgroup.getChildcount.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Levia

79635573

Date: 2025-05-23 13:17:54
Score: 1
Natty:
Report link

I'm addressing the second part of your question, and you won't get any guidance without providing code first. But I can provide some direction with respect to what you're trying to achieve.

Ultimately you need to gather the selected sub-components somehow, and based on the type of sub-components, provide different functionality for each scenario; a function for faces, a function for edges, and a function for points/verts.

One approach (and probably the simplest) is when the user presses a button or enters a shortcut, detect whether the user is in a mesh sub-component mode, and if so, collect the current sub-component selection and pass that to the corresponding function.

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

79635557

Date: 2025-05-23 13:06:51
Score: 14.5
Natty: 8
Report link

I have the same Problem, did you solve this ? Thx

Reasons:
  • Blacklisted phrase (1): Thx
  • Blacklisted phrase (1): I have the same Problem
  • RegEx Blacklisted phrase (3): did you solve this
  • RegEx Blacklisted phrase (1.5): solve this ?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same Problem
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Matevz Navodnik

79635556

Date: 2025-05-23 13:05:51
Score: 1
Natty:
Report link

In Github CI this solution seems not to work. I tried this

 - name: Skip SwiftPM plugin trust validation (system)
      run: |
        set -euo pipefail
        sudo defaults write /Library/Preferences/com.apple.dt.Xcode IDESkipPackagePluginFingerprintValidation -bool YES

However I still get the error:

Validate plug-in “OpenAPIGenerator” in package “swift-openapi-generator”
error: “OpenAPIGenerator” must be enabled before it can be used
** BUILD INTERRUPTED **


The following build commands failed:
    Validate plug-in “OpenAPIGenerator” in package “swift-openapi-generator”
Reasons:
  • RegEx Blacklisted phrase (1): I still get the error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Hagen Kaiser

79635554

Date: 2025-05-23 13:04:50
Score: 2
Natty:
Report link

Fatal error: Uncaught mysqli_sql_exception: Incorrect string value: '\xF0\x9F\xA5\xBA\xF0\x9F...' for column `smar_mobile`.`temp_orders`.`delivery_instructions` at row 10935 in /home/smartmobile.motofocus.in/public_html/delivery-details.php:106 Stack trace: #0 /home/smartmobile.motofocus.in/public_html/delivery-details.php(106): mysqli_query() #1 {main} thrown in /home/smartmobile.motofocus.in/public_html/delivery-details.php on line 106

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

79635552

Date: 2025-05-23 13:02:49
Score: 3
Natty:
Report link

I click a button at the footer of vscode from -- NORMAL -- to -- VIM: DISABLED -- and it fix it

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

79635544

Date: 2025-05-23 12:58:48
Score: 0.5
Natty:
Report link

Not sure why no one added the binary operators (leaving it here in case there is an LLM apocalypse)

a = np.array([True, False, True])
b = np.array([False, False, True])
c = np.array([True, True, True])

# logical or
lor = a | b | c

# logical and
land = a & b & c
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: JVGD

79635542

Date: 2025-05-23 12:57:48
Score: 2.5
Natty:
Report link

Its because they are being seperated from the actual body. Which later iherits the property from thier parent. i.e.. absolute element looks for its parent whose style is fixed as 'relative', based on that it adjusts its position.

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

79635541

Date: 2025-05-23 12:57:48
Score: 3.5
Natty:
Report link

https://pycqa.github.io/isort/docs/configuration/options.html#verbose

as @Bhargav said, to enable logs for isort, just run pre-commit run isort --verbose or -v

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @Bhargav
  • Low reputation (0.5):
Posted by: falcon

79635535

Date: 2025-05-23 12:54:46
Score: 2
Natty:
Report link

I guess you can try once by removing the

C:\Development\dart-sdk\bin\dart.exe

from env

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

79635523

Date: 2025-05-23 12:45:43
Score: 1.5
Natty:
Report link

WebSocket requires the connection:upgrade header, but your server is sending connection: close. This usually happens because Nginx or Passenger is not set up to support WebSockets. The .htaccess file only works with Apache and does not support WebSocket connections or upgrades. Try change the main server (like Nginx or Passenger) config to allow WebSockets. In shared hosting, you usually cannot do this yourself. Moving to a host that supports WebSockets, or use an external service for real-time communication.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Izaac Lederer Junior

79635519

Date: 2025-05-23 12:43:42
Score: 7.5
Natty: 7
Report link

Centellini, Have you by any chance done any tests using the WriteMemory method? Have you tried using the DownloadFile method? Can you tell me what microcontroller are you using? Regards

Reasons:
  • Blacklisted phrase (1): Regards
  • Whitelisted phrase (-1): Have you tried
  • RegEx Blacklisted phrase (2.5): Can you tell me what
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: maniglia

79635516

Date: 2025-05-23 12:42:42
Score: 2
Natty:
Report link

✅ Fix Chrome Preferences Error on macOS (SIP-safe method)

Step-by-step:

  1. Quit Chrome Completely

Make sure it’s not running in the background:

killall "Google Chrome"

  1. Back Up and Delete Chrome Data Folder

Run:

mv ~/Library/Application\ Support/Google/Chrome ~/Desktop/Chrome_Backup

This moves your current (possibly corrupt) Chrome profile to your Desktop.

  1. Delete Chrome Caches (Safe to Remove)

rm -rf ~/Library/Caches/Google/Chrome

  1. Relaunch Chrome

Now open Chrome again from Spotlight or Applications. This will start it with a fresh user profile.

✅ The “Preferences cannot be read” error should be gone now.

❓What if I want my old bookmarks and passwords back?

You can restore just the important files from your backup:

cd ~/Desktop/Chrome_Backup/Default

Copy only these files (one at a time if needed) into the new ~/Library/Application Support/Google/Chrome/Default: • Bookmarks (bookmarks) • Login Data (saved passwords) • History (browsing history) • Cookies (logins) • Extensions (in subfolder)

Use:

cp Bookmarks ~/Library/Application\ Support/Google/Chrome/Default/

…but don’t restore Preferences, as that’s what’s causing the error.

-Vishesh_Yadav

Reasons:
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: VisheshYadav

79635504

Date: 2025-05-23 12:31:39
Score: 1
Natty:
Report link

I was led here by google for a similar problem with connecting plot points. However, this had nothing to do with summary statistics.

My solution was to use geom_path() instead of geom_line().

Apparently it was decided to have the line connect everything "left to right", and the path follows your order of co-ordinates.

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

79635502

Date: 2025-05-23 12:31:39
Score: 0.5
Natty:
Report link

If you want all properties to have the same value:

@ConditionalOnProperty(value = {"random.property.one", "random.property.two"}, havingValue = "true", matchIfMissing = false)
@Bean
public ConditionalyCreatedBean conditionallyCreateadBean() {
    return new ConditionalyCreatedBean();
}

Maybe more flexible:

@ConditionalOnExpression("#{${random.property.one} and ${random.property.two}")

Note: Compile-time vs Runtime Evaluation

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @ConditionalOnProperty
  • User mentioned (0): @ConditionalOnExpression
  • Low reputation (0.5):
Posted by: Dimitrije Glisic

79635492

Date: 2025-05-23 12:28:37
Score: 0.5
Natty:
Report link
Thanks to the answer from the S. Nick I got an acceptable working version, using the .setStyleSheet() in the main (I don't know why it works exactly like that...)

New code:

    import sys
    from PyQt5.QtWidgets import QApplication, QMainWindow, QComboBox, QVBoxLayout, QWidget
    
    
    class MainWindow(QMainWindow):
        def __init__(self):
            super().__init__()
            self.setWindowTitle("QComboBox Demo")
            self.setGeometry(100, 100, 300, 200)
    
            central_widget = QWidget()
            self.setCentralWidget(central_widget)
            layout = QVBoxLayout(central_widget)
    
            formats = [
                "BMP", "Iris", "PNG", "JPEG", "JPEG 2000", "Targa", "Targa Raw"
            ]
    
            combo_box = QComboBox()
            combo_box.addItems(formats)
            combo_box.setCurrentIndex(-1)
    
            layout.addWidget(combo_box)
            layout.addStretch()
    
    
    if __name__ == "__main__":
        style_sheet = """
                        QWidget {
                            background-color: #404040;
                            color: #e6e6e6;
                            margin: 0px;
                        }
                        QComboBox {
                            background-color: #2c2c2c;
                            border: 1px solid #404040;
                            color: #d0d0d0;
                            padding: 4px 6px;
                            border-radius: 4px;
                            margin: 0px;
                        }
                        QComboBox:disabled {
                            background-color: #323232;
                            color: #8a8a8a;
                        }
                        QComboBox::down-arrow {
                            background-color: #2c2c2c;
                            image: url('images/QComboBox_down_arrow.png');
                        }
                        QComboBox::down-arrow:on {
                            background-color: #5680c2;
                        }
                        QComboBox::drop-down {
                            background-color: #202020;
                            border: none;
                            width: 20px;
                        }
                        QComboBox:on {
                            background-color: #5680c2;
                            color: #f8f9f9;
                        }
                        QComboBox QAbstractItemView {
                            background-color: #232323;
                            border: 1px solid #404040;
                            color: #d0d0d0;
                            border-radius: 4px;
                            margin: 0px;
                            padding: 2px;
                            min-width: 100px;
                            selection-background-color: #5680c2;
                        }
                        """
    
        app = QApplication(sys.argv + ['-platform', 'windows:darkmode=1'])
    
        app.setStyleSheet(style_sheet)
    
        app.setStyle('Fusion')
    
        window = MainWindow()
        window.show()
        sys.exit(app.exec_())
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: nekoshaurman

79635486

Date: 2025-05-23 12:22:35
Score: 1.5
Natty:
Report link

So, after some time of research it seems it depends on the kind of Entra license.
In our not so big company with a minimal Entra license I only get GroupIds and can call Graph to get the names.

At our customer, having an Entra license with more features, we can go to App registrations, open our App, goto Token configuration, open the groups claim and select sAMAccountName.

He then gets the group names instead of the group ids.

When I select this setting nothing changes, I still get the group ids.

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

79635477

Date: 2025-05-23 12:13:33
Score: 2
Natty:
Report link

NB folks, if adding via cfadmin don't miss the leading hyphen in Dave's answer like I did as then cf won't restart and you'll have to go to cfusion\bin\jvm.config and fix your typo.

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

79635474

Date: 2025-05-23 12:12:32
Score: 1.5
Natty:
Report link

how about this

using (Shim shim = Shim.Replace(() => DateTime.Today)
                       .With(() => new DateTime(2019, 07, 20)))
{
   
    var today = DateTime.Today; //  2019-07-20
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Starts with a question (0.5): how
  • Low reputation (1):
Posted by: stefan

79635473

Date: 2025-05-23 12:11:32
Score: 3
Natty:
Report link

Thanks Dave, that was a bit scary. I feel like this is going to catch a lot of people unawares!

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

79635471

Date: 2025-05-23 12:10:32
Score: 1
Natty:
Report link

A comment by @heiko-theißen made me realize my error. I have a cron job that tries to update my db every midnight. That is what must have resulted in the database locked error in my program.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @heiko-theißen
  • Self-answer (0.5):
  • Single line (0.5):
  • High reputation (-2):
Posted by: punkish

79635455

Date: 2025-05-23 11:57:28
Score: 3.5
Natty:
Report link

I tried the solution with the

chrome.scripting.executeScript

part to get some data - which works great, but is there also a solution to write to the local storage of a tab?

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: S. Kr.

79635453

Date: 2025-05-23 11:57:27
Score: 7.5 🚩
Natty: 5.5
Report link

do the production and test tables have the same data mass? Have the environment statistics been updated? Could you provide the production and test execution plan with the ddl of the created index and the number of rows in the table?

Reasons:
  • RegEx Blacklisted phrase (2.5): Could you provide
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cesar Carvalho

79635451

Date: 2025-05-23 11:54:26
Score: 2
Natty:
Report link

If I were trying to achieve this, I would've modified the "Legend" in the Query Options in my Time Series visualisation. As you can see, I have only selected 2 labels __name__ and env and put an at-sign in between.

In your case, the "legend should look like: Total {{currency}}

Is this helpful?

name @ env

Reasons:
  • Whitelisted phrase (-1): In your case
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
Posted by: a_girl

79635450

Date: 2025-05-23 11:53:25
Score: 2.5
Natty:
Report link

the ideal is that you create separate DDL and DML scripts, so that you can have control over the changes. Furthermore, I recommend that the entire pipeline be executed in a homologation and pre-production environment.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: César Carvalho

79635446

Date: 2025-05-23 11:50:25
Score: 5.5
Natty:
Report link

I'm trying a similar thing; I have added accounts.settings to the scopes, however I get an 'unauthorised' response. This is the response I get when sending the auth details to here: POST https://identity.xero.com/connect/token . I am able to access other enpoints, such as timesheets. Any help much appreciated.

  "scope": "openid profile email payroll.employees payroll.timesheets payroll.settings accounting.settings offline_access"
Reasons:
  • Blacklisted phrase (1): appreciated
  • Blacklisted phrase (1): Any help
  • RegEx Blacklisted phrase (3): Any help much appreciated
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Lee Baz

79635445

Date: 2025-05-23 11:49:24
Score: 4.5
Natty: 6
Report link

midori needs .xpi extension. doesnt accept chrome-based extensions

Reasons:
  • Blacklisted phrase (0.5): i need
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: user30616992

79635439

Date: 2025-05-23 11:45:23
Score: 2
Natty:
Report link

For some reason, using the channel ID that you obtain from sending the following get request:

curl -X GET "https://www.googleapis.com/youtube/v3/channels?part=id&forUsername={USERNAME}&key={API_KEY}" does not work when trying to find an active live broadcast for the channel.

Instead, I stumbled upon a roundabout way by using the "q=" parameter, which essentially searches for any YouTube video that contains the string in the "q=" parameter, to find the live stream via the name of the video live stream itself.

This is when I found out that the ChannelID that gets returned by this request is different from the ChannelID I got from the request above.

Using this channel ID I was able to get the video ID of a youtube live stream assuming that the channel was live.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: c0sx86

79635437

Date: 2025-05-23 11:41:22
Score: 3.5
Natty:
Report link

Here is a tutorial on how to serve 400M vectors with Qdrant on a 64GB machine. https://qdrant.tech/documentation/database-tutorials/large-scale-search/

For further questions, it is recommended to join Qdrant Discord https://qdrant.to/discord

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

79635434

Date: 2025-05-23 11:41:22
Score: 3
Natty:
Report link

Think of NiFi templates as any other templates, which can be used as building blocks or reusable components. You can build other NiFi flows on top of that and deploy them.

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

79635420

Date: 2025-05-23 11:30:18
Score: 4
Natty:
Report link

I overlooked that the DMA address must be passed "by reference", that is by pointer. Correcting this resolved the problem.

Thanks to @NateEldredge for pointing this out.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • No code block (0.5):
  • User mentioned (1): @NateEldredge
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andrey Pro

79635416

Date: 2025-05-23 11:28:18
Score: 2
Natty:
Report link

You can achieve 1) with a width setting like so:

style: {
        fontSize: "9px",
        width: '300px' // or any other value you thing will work
      },

Wrapping is not recommended here - you could achieve it with useHTML and label formatter, but this will cause problematic overlap - columns positions are not recalculated when you use useHTML for labels.

Btw: wouldn't it be easier to use a bar chart type instead of the inverted column?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Andrzej Bułeczka

79635404

Date: 2025-05-23 11:20:16
Score: 3.5
Natty:
Report link

Ideally, you should create a role with grant VIEW ANY DEFINITION and include all users who need to read SQL Server metadata.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Cesar Carvalho

79635402

Date: 2025-05-23 11:20:16
Score: 1
Natty:
Report link

I found the answer to the question:

static inline const char *pci_slot_name(const struct pci_slot *slot)

https://elixir.bootlin.com/linux/v6.12/source/include/linux/pci.h#L84

is the function that returns the physical slot number, same as lspci. It can be obtained from a struct pci_devpointer with:

const char *phys_slot_num=pci_slot_name(/*struct pci_dev*/ pdev->slot);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Andrey Pro

79635396

Date: 2025-05-23 11:16:14
Score: 3
Natty:
Report link

in the example I'm using, my linked server is called DSSQL.

SELECT * FROM [DSSQL].[master].[sys].[objects] WHERE TYPE='P';

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

79635392

Date: 2025-05-23 11:12:13
Score: 4.5
Natty:
Report link

There are several ways to delete this type of ghost folder, you can check this: https://youtu.be/VxY_iEqvlSQ

Reasons:
  • Blacklisted phrase (1): youtu.be
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Joynul Abadin Rasel

79635388

Date: 2025-05-23 11:11:12
Score: 0.5
Natty:
Report link

The assignment f=1 has to be moved inside loop:

n = int(input())
s = 0
ld = 0

while n != 0:
    ld = n % 10
    f = 1
    for i in range(1, ld + 1):
        f = f * i
    s = s + f
    n = n // 10

print(s)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: monblu

79635382

Date: 2025-05-23 11:06:11
Score: 1
Natty:
Report link

In my case (v 1.32.0 of ms-mssql.mssql) it helped to remove:

From C:\Users\{username}\.Azure

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

79635377

Date: 2025-05-23 11:04:09
Score: 8 🚩
Natty: 5.5
Report link

could you post the scripts for the partitioned table and the target table with their indexes so I can help you and understand the problem?

Reasons:
  • RegEx Blacklisted phrase (2.5): could you post
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: César Carvalho

79635369

Date: 2025-05-23 11:00:08
Score: 2.5
Natty:
Report link

I misunderstood the scope of the button in the UI.

It's indeed intended to be used to jump to the journal, as explained in https://github.com/codecentric/spring-boot-admin/issues/4286.

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

79635368

Date: 2025-05-23 11:00:08
Score: 1.5
Natty:
Report link

I got the same error when calling api from frontend. The workaround was to call the api (e.g. go to swagger) in the same window as the frontend - and accepting the warning. For me it had to be the same windows because when debugging frontend a separate browser instance is created

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
Posted by: PawZaw

79635367

Date: 2025-05-23 11:00:08
Score: 1.5
Natty:
Report link

I know, this is an old question, but perhaps this helps someone in a similar situation:

In my case, I wanted to revert an "older" commit, meaning it was already pushed to the repo and already had other commits following it, but still keep its changes to build upon them. The git revert -n <sha> suggested by @WimFeijen didn't really do that.

I basically ended up doing:

git revert <sha>
git cherry-pick --no-commit <sha>
git restore -- .

What does this do? This reverts the commit normally. The cherry-pick of the same commit adds and stages all the changes again without a commit. The following restore unstages all changes so I can stage everything I need myself.

Not as straight-forward as I hoped, but did the trick for me.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @WimFeijen
  • Low reputation (0.5):
Posted by: R. Cocinero

79635359

Date: 2025-05-23 10:53:05
Score: 3.5
Natty:
Report link

The Linux PTP community is working on IEEE802.1AS-2020 support.

The following stacks support IEEE802.1AS-2020 support:

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

79635350

Date: 2025-05-23 10:48:02
Score: 8.5 🚩
Natty: 6.5
Report link

Did you get an answer to this? My comboBox searches 365 users and displayfields and searchfields keep reverting to "City" which is rather unhelpful.

Reasons:
  • Blacklisted phrase (1): answer to this?
  • RegEx Blacklisted phrase (3): Did you get an answer to this
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Phil

79635336

Date: 2025-05-23 10:42:00
Score: 1.5
Natty:
Report link
class abc
{
   public static void main(String args[])
   {
       String y = "Hello";
       System.out.println(y);
   }
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Arpita Raj

79635334

Date: 2025-05-23 10:41:00
Score: 1.5
Natty:
Report link

I used a tag to remember the state "Loaded"

Loaded += (s, e) =>
 {
    if (this.Tag == null)
    {
       System.Console.WriteLine("Loaded");
       this.Tag = "Loaded";
    }
 };
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: toyota gercena

79635327

Date: 2025-05-23 10:37:59
Score: 2
Natty:
Report link

I believe you need to verify if the clientId is actually valid ( this.client_id ), and then you need to be sure to add the origin from which you are requesting the embed is included in the oAuth origins that you created in the Figma dashboard.

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

79635306

Date: 2025-05-23 10:16:54
Score: 4.5
Natty: 4.5
Report link

Check out the query-string npm package and react-native-url-polyfill.

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

79635302

Date: 2025-05-23 10:13:52
Score: 4
Natty:
Report link

I tried this approach and still all in vain. Any ideas??

Model.import(
  [:id, :status_id],
  model_objects.map { |model| [model.id, status_id] },
  callbacks: true,
  on_duplicate_key_update: { conflict_target: [:id], columns: [:status_id] }
)
Reasons:
  • Blacklisted phrase (1): Any ideas
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Umar Mahmood

79635291

Date: 2025-05-23 10:06:50
Score: 1
Natty:
Report link

The actual problem was just setting the memory limit too low. I wanted 1024MB, but it ended up being 1024KB, so correctly it was:

def main():        
    resource.setrlimit(resource.RLIMIT_AS, (1024*1024*1024, 1024*1024*1024))
    print(requests.get('https://api.github.com').json())
    print(subprocess.Popen(['which', 'wkhtmltopdf'], stdout=subprocess.PIPE).communicate()[0])
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bálint Balina

79635285

Date: 2025-05-23 09:59:48
Score: 2.5
Natty:
Report link

I totally agree. The errors are same to most. It's really shameful to see poor docs and resources to connect the Electron build app to Transporter to Apple Connect. Electron says do MAS build but then it gives .app folder but Transporter app asks .pkg file ipa files only

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

79635281

Date: 2025-05-23 09:57:48
Score: 0.5
Natty:
Report link

You can use the migration tool to perform the mdc migration (https://v15.material.angular.dev/guide/mdc-migration#2-run-the-migration-tool):

ng generate @angular/material:mdc-migration
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ben5

79635276

Date: 2025-05-23 09:53:47
Score: 4.5
Natty: 4
Report link

A possible implementation of this algorithm using O(m+n) space complexity but it's a bit easy to understand.

https://www.youtube.com/watch?v=hhhDrprn8MU

https://github.com/compilewithpriya/Leetcode-cpp-practice/blob/master/Set-Matrix-zeroes.cpp

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: spriya b

79635272

Date: 2025-05-23 09:49:45
Score: 0.5
Natty:
Report link

I hope this approach helps.

dynamic doSomething(dynamic str) {
  return str is String ? 'did something with $str' : null;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: DevQt

79635271

Date: 2025-05-23 09:49:45
Score: 2.5
Natty:
Report link

You can check Jujutsu—a version control system from the link: https://github.com/jj-vcs/jj
It's written in Rust. It started as a hobby project of one of the Google Devs and now is used within Google as well. And it's open source

Although I can't say it's an complete alternative to Git or Piper, still it has some improvements over some git features. You can also check this short youtube video which gives it's overview: https://www.youtube.com/watch?v=cZqFaMlufDY

Reasons:
  • Blacklisted phrase (1): youtube.com
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shrivatsa Shetty

79635268

Date: 2025-05-23 09:49:45
Score: 2
Natty:
Report link

when genererting CF_API_TOKEN you have to ensure cloudflare pages and workers permissions (Cloudflare Pages:Edit, Workers Scripts:Edit) are selected with Edit permissions.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Starts with a question (0.5): when
  • Low reputation (0.5):
Posted by: codex

79635260

Date: 2025-05-23 09:44:44
Score: 0.5
Natty:
Report link

Those classes are deprecated.

Use the following import:

from airflow.providers.standard.operators.bash import BashOperator
from airflow.providers.standard.operators.python import PythonOperator
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Tigran S.

79635256

Date: 2025-05-23 09:42:43
Score: 2
Natty:
Report link

If you're working with relationships and performance is a key concern (especially in high-volume environments), indexing strategies can help—but they do have limitations when it comes to relationships in Neo4j. If your use case involves vehicle data or auction listings, I suggest taking a look at https://auctionsapi.com — it provides ready-to-use APIs for structured vehicle and auction data, which might save you from having to build complex graph queries from scratch.

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

79635247

Date: 2025-05-23 09:38:42
Score: 0.5
Natty:
Report link
<?php ob_start();?>

<!doctype html>

<html lang="en">

<head>

  <meta charset="utf-8">

  <title>Nghe 18 Tầng Địa Ngục - mp3.truyenphatgiao.com - MP3 - Tipitaka - 乾隆大藏经 - Kinh Sách - Phật Pháp - Sutra </title>

   <link rel="stylesheet" type="text/css" href="https://truyenphatgiao.com/font/font-awesome-pro/css/site.min.css">
   <meta property="og:image" content="https://truyenphatgiao.com/images/banh-xe-phap-luan.jpg" />                
     <style>
            :root {
                --mp3-bg-image-nav: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
                --mp3-border-nav: rgba(255,255,255,.3);
                --mp3-color: #fff;
                --mp3-bg: #4c2806;
                --mp3-color-a: #fff;
                --mp3-color-a-hover: #ff9800;
                --mp3-color-btn: #fff;
                --mp3-bg-btn: #3f4143;
                --mp3-color-order: #ff0;
                --mp3-title: #ff9800;
                --mp3-color-pl: #fff;
                --mp3-bg-player: #002f4d;
                --mp3-bg-li-even: #111;
                --mp3-bg-li-hover: #006eb3;
                --mp3-bg-li-current: #00558b;
                --mp3-color-song-title: #b9e3ff;
                --mp3-color-time: #b9e3ff;
                --mp3-bg-vol-val: #00273f;
                --mp3-border-vol-val: #2170a6;
                --mp3-bg-vol: #000;
                --mp3-bg-vol-val-i: #00273f;
                --mp3-border-vol-val-i: #000
            }
        </style>
        <script defer src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/fontawesome.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css" />
        <link rel="stylesheet" href="https://truyenphatgiao.com/font/font-awesome-pro/css/site.min.css?v=lltlnLTqtx9i5xu0PM94qNpJiNEhSMNU8CLVcUdeanI" />
        <!--fontawesome-pro-5.14.0-web-->
          <script defer src="https://truyenphatgiao.com/font/font-awesome-pro/js/combine.min.js?v=mN1do8Wi9tVsXDfFRI2KE_nevalC7nsZAfGtYWWiErE"></script> 
          <script defer src="https://truyenphatgiao.com/font/font-awesome-pro/js/fontawesome.min.js"></script>
             <!--fontawesome-pro-5.14.0-web-->
           <script defer src="https://truyenphatgiao.com/font/font-awesome-pro/js/combine.min.js?v=ia_0Xvm2Hm8XB2LG5VgyrPMNh1_EkOeoU3Tb041B7Bo"></script>
    <link rel="stylesheet" href="https://truyenphatgiao.com/cleanaudioplayer/player.min.css?v=53RkBkHG8U8HZyUEveR6di2Z-2bFJI129nKjnJS27uc" />
    <script defer src="https://sp.zalo.me/plugins/sdk.js"></script>
       
     
 
 <!-- Google Tag Manager -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NCTG45T');</script>
<!-- End Google Tag Manager -->
<header> 
<body> 

    </header>


<div class="container">

        <main role="main" class="pb-3">
    
<div class="zalo-share-button" data-href="" data-oaid="579745863508352884" data-layout="2" data-color="blue" data-customize=false></div>

            <style>

    #stickThis.stick {

        margin-top: 0;

        position: fixed;

        top: 0;

        z-index: 9999;

        box-shadow: 0 0 3px rgba(0, 154, 255, 0.7) inset, 1px 2px 3px rgba(0, 154, 255,0.2);

    }



    .page-link:hover {

        /*background-color: hsla(55, 100%, 80%, 1);*/

        background-color: Black;

        color: red;

        box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);

        /* box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1); */

    }

</style>
 
<body>

   
      

<?php 
 

   $dirname = "../MP3 folder/";



   //read files in folder

   $files = scandir($dirname);

   //ignore hidden files

   $ignore = Array(".", "..");



   //if file selected

   if(isset($_GET['file'])){



    //get selected file

    $file = $_GET['file'];



    //player pass in the path to the file

     //echo '<div class="text-center my-2">

     //<object type="application/x-shockwave-flash" data="https://truyenphatgiao.com/cleanaudioplayer/dewplayer.swf" id="dewplayer" name="dewplayer" autoplay>

   // <param name="movie" value="https://truyenphatgiao.com/cleanaudioplayer/dewplayer.swf"/>

   //<param name="flashvars" value="mp3='.$dirname.$file.'"/>

   // <param name="wmode" value="transparent"/>

      // </object>';

      //  echo '<br></div>';

         echo '<div class="text-center my-2">

    <video width="450" height="100" controls autoplay>

  <source src="'.$dirname.$file.'" type="video/mp4">
 <source src="'.$dirname.$file.'" type="audio/mp3">

  Your browser does not support the video tag.

</video><== Download - Nhấp chuột vào dấu 3 chấm bên trái này chọn tải xuống để tải file mp3';

 echo '<br></div>';

  

    //create donload link

     // echo '<a href="?download='.$file.'"> Hoặc nhấp vào đây đổi đuôi file thành .mp3 ở phía cuối đối với file tiếng việt có dấu để nghe được trên pc hoặc điện thoại </a>

      //';



   }  



  //if download link pressed then download the file.

  if(isset($_GET['download'])){



       $file = $dirname.$_GET['download'];

       header ("Content-type: octet/stream");

       header ("Content-disposition: attachment; filename=".$file.";.mp3");

       header("Content-Length: ".filesize($file));

       readfile($file);

       exit; 

  }

   //loop through all files

   foreach($files as $curfile){



       //if not in ignore list create a link

       if(!in_array($curfile, $ignore)) {

           echo "<li><a href='?file=".$curfile."'>$curfile</a></li>\n ";

       }

   }

echo '<br>Chú ý: Các file .php, .rar, .7zip, .zip và tên thư mục không phải tên bài pháp có dạng tên file .mp3 người nghe không nhấp chuột vào đường dẫn này, nó sẽ không chạy được những link thư mục đó. Mong rằng mọi người hiểu được cách thức hoạt động của web media scan tự động file mp3 bên trong thư mục này nó chỉ chạy được file .mp3 thôi ạ để tránh mất thời gian cho việc chọn bài!';   

?>

  </main>

  <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-54706b201f2eede7"></script>
 
<!-- Go to www.addthis.com/dashboard to customize your tools --> <div class="addthis_native_toolbox"></div>

    </div>

   

        <script>

            function sticktothetop() {

                var window_top = $(window).scrollTop();

                var top = $('#stick-here').offset().top;

                if (window_top > top) {

                    $('#stickThis').addClass('stick');

                    $('#stick-here').height($('#stickThis').outerHeight());

                    $('#stickThis').width($('#stick-here').width());

                } else {

                    $('#stickThis').removeClass('stick');

                    $('#stick-here').height(0);

                }

            }



            $(function () {

                $(window).scroll(sticktothetop);

                sticktothetop();

            });

        </script>

    <script>window.onscroll = function () { scrollFunction() };</script>

    <button class="btn-circle" onclick="topFunction()" id="myBtn" title="Top"><i class="fas fa-arrow-alt-up"></i></button>



 
<footer class="border-top footer text-muted">
        <div class="container">
             <a href="https://www.youtube.com/channel/UC9XAmjnB4qxRtpDQJd_1CIQ?sub_confirmation=1"><i class="fab fa-youtube mr-1"></i> Diệu Âm Channel </a> <a href="https://truyenphatgiao.com"><i class="fal fa-home"></i> TruyenPhatGiao.Com</a></footer>
        </div>
     


 <button class="btn-circle" onclick="topFunction()" id="myBtn" title="Top"><i class="fas fa-arrow-alt-up"></i></button>  
 <button class="btn btn-circle bg-transparent" id="myBtn" onclick="topFunction()" title="Lên đầu trang"><i class="fal fa-chevron-up"></i></button>

 <!-- Google Tag Manager (noscript) -->

<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NCTG45T"

height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>

<!-- End Google Tag Manager (noscript) -->
<script>
    copyUrlToClipboard();
</script>
     

    <script>

        (function (i, s, o, g, r, a, m) {

            i['GoogleAnalyticsObject'] = r;

            i[r] = i[r] ||

                function () {

                    (i[r].q = i[r].q || []).push(arguments)

                }, i[r].l = 1 * new Date();

            a = s.createElement(o),

                m = s.getElementsByTagName(o)[0];

            a.async = 1;

            a.src = g;

            m.parentNode.insertBefore(a, m)

        })(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');

        ga('create', 'UA-139328345-1', 'auto'); //truyenphatgiao.com

        ga('send', 'pageview');

    </script>
    
    
    <div class="center">
    
<div class="ctv-footer-menu">
<button class="btn btn-circle bg-transparent" id="myBtn" onclick="topFunction()" title="Lên đầu trang"><svg class="svg-inline--fa fa-chevron-up fa-w-14" aria-hidden="true" focusable="false" data-prefix="fal" data-icon="chevron-up" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" data-fa-i2svg=""><path fill="currentColor" d="M4.465 366.475l7.07 7.071c4.686 4.686 12.284 4.686 16.971 0L224 178.053l195.494 195.493c4.686 4.686 12.284 4.686 16.971 0l7.07-7.071c4.686-4.686 4.686-12.284 0-16.97l-211.05-211.051c-4.686-4.686-12.284-4.686-16.971 0L4.465 349.505c-4.687 4.686-4.687 12.284 0 16.97z"></path></svg><!-- <i class="fal fa-chevron-up"></i> --></button>
 
<div class="container">
<iframe src="https://mp3.truyenphatgiao.com/footer.htm"  style="height:400px;width:650px;"  style="border:0;" title="Iframe footer"></iframe>
    <div class="center">  
<a href="https://info.flagcounter.com/mqJG"><img src="https://s01.flagcounter.com/count2/mqJG/bg_FFFFFF/txt_000000/border_CCCCCC/columns_8/maxflags_250/viewers_0/labels_1/pageviews_1/flags_0/percent_0/" alt="Flag Counter" border="0"></a>
</div>

</body>
</html> 

<?php ob_flush(); ?>
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Tùng Thanh

79635231

Date: 2025-05-23 09:31:39
Score: 0.5
Natty:
Report link

The following code can be used to implement the calculation of the Alpha 147 factor:

// 1. Simulate data  
tmp_table = table(  
    concatDateTime(take(2023.12.12, 4802000), (rand((09:30:00.000+0..2400*3*1000) join (13:00:00.000+0..2400*3*1000), 4802000).sort())) as dt,  
    rand(string(1001..1200), 4802000) as symbol,   
    rand(100.0, 4802000) as price,   
    rand(100, 4802000) as vol);  

// 2. Alpha 147 implementation  
defg olss(x) : ols(x, 1..12)[1]
def alpha147SQL(vector) : moving(olss, mavg(vector, 12), 12)
alpha147DDBSql = select alpha147SQL(price) 
    from loadTable("dfs://ohlc_test", "ohlc_test") 
    where date(ts) = 2023.12.12 
    context by symbol;  

Test Data: 4.3GB (4,802,000 rows)

Implementation Performance

Method Time
Single-threaded in-memory computation 6.8s
Distributed multi-threaded computation 2s
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Huang WeiFeng

79635227

Date: 2025-05-23 09:30:38
Score: 6 🚩
Natty:
Report link

Can you paste the html output of the card element ?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Clément DELORD

79635226

Date: 2025-05-23 09:29:38
Score: 2
Natty:
Report link
### Make the Bearer token available
< {%
    const token = execSync('cat /path/to/token.jwt', { encoding: 'utf8' }).trim();
    client.global.set('auth_token', token);
    client.log("token: " + client.global.get('auth_token'));
%}

GET https://my.server/api/info
Authorization: Bearer {{auth_token}}

see https://www.jetbrains.com/help/idea/javascript-api-supported-by-http-client.html#exec-methods

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ewknmf

79635224

Date: 2025-05-23 09:28:37
Score: 1
Natty:
Report link

Both approaches you mentioned for creating the model are valid, depending on your goals:

  1. Starting from the problem domain (conceptual schema) means you focus on the real-world concepts and design your Java classes to represent those directly. This approach keeps your model clean and focused on the business logic, which is great for maintainability and clarity.

  2. Starting from the restructured database schema means your Java model closely reflects the database tables and columns, ignoring any extra surrogate keys you added. This can make data handling more straightforward but might couple your model tightly to the database structure.

In many projects, a mix of both is used: design your model based on the problem domain for clarity, then map it to the database schema via DAO implementations for data access. This helps keep the code organized and flexible.

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

79635213

Date: 2025-05-23 09:24:36
Score: 1.5
Natty:
Report link

More trivial solution i used :

library(data.table)

your_df[, lapply(.SD, function(x){
  ifelse(is.na(x), 0, x)
}), .SDcols = is.numeric]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: DevDataLover

79635199

Date: 2025-05-23 09:15:33
Score: 1
Natty:
Report link

I found this SO question while debugging a similar issue in my own project. It was very useful but it did not provide the full solution for me. I would like to add the following Cypress documentation page explains how Cypress.on() and cy.on() work: https://docs.cypress.io/api/cypress-api/catalog-of-events. This page starts by listing names of events, information I did not need. When I read on however, I saw the heading: "Binding to Events". The difference between Cypress.on() and cy.on() is explained there. This difference has to do with the amount of test code for which exceptions have to be ignored.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Martijn Dirkse

79635193

Date: 2025-05-23 09:10:32
Score: 1.5
Natty:
Report link

You can use a std library extention function on String `uppercase()`

val foo = "foo"
val foo2 = foo.uppercase() // FOO

https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.text/uppercase.html

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: klenki

79635186

Date: 2025-05-23 09:04:30
Score: 2.5
Natty:
Report link

your description of a problem is pretty incoherent. what does it mean for a linear equation system to be 3d? can't you just reshape the arrays to be A (n, m), X (n, m), B (m,) where m = n*d? (eg A2d = A3d.reshape((n, n*d))) then the np.linalg.solve or np.linalg.lstsq will do the job.

also, what kind of process produces such a task?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Daniil Zuev

79635181

Date: 2025-05-23 09:01:29
Score: 0.5
Natty:
Report link

if (!text || text .length < 2 || !/^[a-zA-Z\s]+$/.test(text)) { }

This regex ensures:

The input consists only of letters (both uppercase and lowercase) and spaces.

The minimum length is 2 characters.

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

79635180

Date: 2025-05-23 09:01:29
Score: 3
Natty:
Report link

With VS 2022, in my case it was the project.csproj.user that contained a path that did not exist any more from which i debugged once.

For some unknown reasons, VS was not displaying that correctly in the project properties as in the screenshot of @Deano

Deleting the project.csproj.user file did the job.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @Deano
  • Low reputation (1):
Posted by: Michele