79205629

Date: 2024-11-20 02:36:50
Score: 3
Natty:
Report link

The problem is that you're using the free version, and only by paying for their plans do you get full access to the API.

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

79205625

Date: 2024-11-20 02:32:49
Score: 1
Natty:
Report link

To disconnect from a MongoDB instance in Julia, you can use the Mongo package. This package allows you to manage MongoDB connections. When you're done working with the database, you should explicitly close the connection to free up resources.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Er. Abhishek Yadav

79205623

Date: 2024-11-20 02:32:49
Score: 4.5
Natty:
Report link

enter image description here

ISO-8859 is not the mots current version, but it should work anyway after v15 update

Reasons:
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mario Trento

79205622

Date: 2024-11-20 02:32:49
Score: 3.5
Natty:
Report link

Same problem perhaps more detail will help. Answer would really be appreciated. The W11 desktop on my LAN sender running scp command type dumpbk.bat scp -r E:\DATA\PROJECTS\rbook* [email protected]:rbook/ time

and 192.168.0.49 ping is Ping statistics for 192.168.0.49: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 0ms, Average = 0ms

All files correctly listed after asking for the password as required in copy process but NO files or directories arrive at /var/www/html/rbook

Used to work before I updated ubuntu from Monjavi to Ubuntu linux. Firefox on w11 reads the empty directory as detailed being apache2 which is active (running) and has all appropriate error messages to say that files are not available.

Reasons:
  • Blacklisted phrase (1): appreciated
  • RegEx Blacklisted phrase (1): Same problem
  • Contains signature (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: ianm

79205607

Date: 2024-11-20 02:21:46
Score: 13 🚩
Natty: 6
Report link

Did you figure this out? Ive been on it for some time now without any luck. Would be great if you could give some details on a solution.

I'm basically having the same issue. As I understand it its not connecting to the Firebase as it should. But how to fix that?

Reasons:
  • Blacklisted phrase (1.5): any luck
  • RegEx Blacklisted phrase (3): Did you figure this out
  • RegEx Blacklisted phrase (1.5): how to fix that?
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same issue
  • Ends in question mark (2):
  • Starts with a question (0.5): Did you
  • Low reputation (1):
Posted by: Micael Hellberg

79205600

Date: 2024-11-20 02:17:45
Score: 1
Natty:
Report link

What you implemented is good. You've achieved polymorphism for a single object of derived runtime types.

What you think you want is wrong. What looks redundant to you is absolutely essential and informative. In <Message i:type="Warning">, the tag Message indicates the abstract base type. The attribute value Warning indicates the instance runtime type derived from Message. If the XML did not contain the name of the base class Message, the Code Project mechanism would not even search for the set of known types. How the code would be supposed to “know” where to look for them?

However, the attempts to “improve” Data Contract XML by shortening the “obvious” (no, it is not obvious at all) is the entire phenomenon. Why any ad hoc approach here? Why do you think this kind of mess can improve anything? I cannot understand you guys.

You already have done a good job on your contract and produced right result, so I suggest you accept my answer and close the issue.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What you
  • Low reputation (0.5):
Posted by: Sergey A Kryukov

79205595

Date: 2024-11-20 02:14:44
Score: 1
Natty:
Report link

Just add the display:contents for <a> tag.

.my-alert {
    display: flex;
}
.my-alert a {
    display: contents;
}

..children of a flex container are forced to have a block-flavored display type.
Source: <span> element refuses to go inline in flexbox

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

79205580

Date: 2024-11-20 02:03:42
Score: 2
Natty:
Report link

Some things to check:

My guess-->

Did you started xcode by double clicking the "runner.xcworkspace" from your "project/ios" folder and not "runner.xcodeproj"?

-Did you have it in pubspec.yaml if you have dependecy there?

dependencies:
   awesome_notifications: ^0.10.0

-Did you imported the package?

import 'package:awesome_notifications/awesome_notifications.dart';
Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Alexandre B.

79205579

Date: 2024-11-20 02:02:41
Score: 10.5 🚩
Natty: 4
Report link

Have you solved it? I'm facing the same problem after upgrading to react native 0.72.5

Reasons:
  • Blacklisted phrase (1): m facing the same problem
  • Blacklisted phrase (2): Have you solved it
  • RegEx Blacklisted phrase (1.5): solved it?
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm facing the same problem
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: xp19870106

79205575

Date: 2024-11-20 02:01:41
Score: 3
Natty:
Report link

Create a tun interface,give it a static ip such as 10.0.0.1, setup system routing to import all packets into the tun interface.

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

79205571

Date: 2024-11-20 01:58:40
Score: 0.5
Natty:
Report link

I have just published version 1.0.0 of a micronaut-json-api library to Maven Central. implementation("io.github.baylorpaul:micronaut-json-api:1.0.0")

At this time, there are still some items to be supported, such as "links", but it's quite usable.

It supports:

  1. Entity mapping to JSON:API resource(s)
  2. A processor for an "include" query parameter. E.g. "?include=author.address,publishingCompany"
  3. Error response processor
  4. Page and Slice responses
  5. Deserializing "data" fields into corresponding JsonApiResource or JsonApiArray
  6. Transform JSON:API resource(s) into other Java classes, such as entities
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: paulp

79205570

Date: 2024-11-20 01:56:40
Score: 2
Natty:
Report link

Solution TLDR: Upgrade React version v18.3.1

After tinkering for a whole day, I tried to upgrade to react 18.3.1

react-app package.json file:

...
"dependencies": {
    "react": "^18.3.1",
    "react-dom": "^18.3.1",
    "single-spa-react": "^4.3.1"
  }
...

Changed the imports for react and react-dom in root-config index.ejs file:

...
    <script type="injector-importmap">
      {
        "imports": {
          "single-spa": "https://cdn.jsdelivr.net/npm/[email protected]/lib/es2015/esm/single-spa.min.js",
          "react": "https://ga.jspm.io/npm:[email protected]/dev.index.js",
          "react-dom": "https://ga.jspm.io/npm:[email protected]/dev.index.js"
        },
        "scopes": {
          "https://ga.jspm.io/": {
            "scheduler": "https://ga.jspm.io/npm:[email protected]/dev.index.js"
          }
        }
      }
    </script>
...

Initially I thought that it was still not working as the error message did not change. I then used the import map overrides tool to reset import map overrides and the react app immediately loaded up.

Steps to reset import map overrides:

  1. Go to the root-config page at localhost:9000
  2. In the browser console, run localStorage.setItem('devtools', true)
  3. Refresh the page.
  4. Click the small yellowish rectangle at the bottom right of the page.
  5. Click "Reset all overrides" button.
  6. Verify that react and react-dom is now coming from "ga.jspm.io"
Reasons:
  • Blacklisted phrase (2): still not working
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: jingjielim

79205566

Date: 2024-11-20 01:52:38
Score: 2.5
Natty:
Report link

Based on your log errors, i can see that is EACCES permissions errors

As the npm package documentation suggest, try to manually npm default directory, you can follow the steps mentioned in this document:

So even if you do not get your issue resolved after changing directory manually, taking a look at these source should help you out:

Hope these will help you fix installing the packages globally.

Reasons:
  • Blacklisted phrase (1): this document
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sardor

79205564

Date: 2024-11-20 01:52:38
Score: 4.5
Natty: 6
Report link

Does this work with Django ? I am trying to do Oauth based on tokens. I am getting code and state but no tokens are generated. Getting error, tokens expired.

Reasons:
  • Blacklisted phrase (1): I am trying to
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rushabh Kothari

79205556

Date: 2024-11-20 01:45:37
Score: 2.5
Natty:
Report link

color code

Source: https://webkit.org/web-inspector/timelines-tab/ near the bottom of the page. It doesn't explain what "Other" includes, though.

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

79205542

Date: 2024-11-20 01:35:35
Score: 2
Natty:
Report link

I use it for YouTube as bellow:

[![Overwatch 2’s 42nd Hero Trailer](https://img.youtube.com/vi/oTzQj8QHEZI/0.jpg)](https://www.youtube.com/watch?v=oTzQj8QHEZI)
Reasons:
  • Blacklisted phrase (1): youtube.com
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ferhat Mousavi

79205541

Date: 2024-11-20 01:34:34
Score: 2.5
Natty:
Report link

SwiftUI uses the @StateObject or @ObservedObject property wrapper to observe changes in the ViewModel. To enable this, conform your ViewModel to ObservableObject and use a @Published property to represent the state.

Since you already have a CurrentValueSubject in your ViewModel, you can connect it to a @Published property.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @StateObject
  • User mentioned (0): @ObservedObject
  • User mentioned (0): @Published
  • User mentioned (0): @Published
  • Low reputation (1):
Posted by: codepett.

79205538

Date: 2024-11-20 01:32:34
Score: 1.5
Natty:
Report link

This is now possible with sparse-checkout and symbolic links. For more details on how this works, please check out this gist

https://gist.github.com/ZhuoyunZhong/2c08c8549616e03b7f508fea64130558

The general idea is that you first add the submodule, then set up sparse-checkout in the submodule to track only the folders or files you need. Then you could use symbolic links to "place" the folder wherever you want.

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

79205533

Date: 2024-11-20 01:27:32
Score: 4
Natty:
Report link

While I can't comment due to reputation, it's worth noting that @Arsalan Mohseni's answer can have performance impacts.

import 'tailwindcss/tailwind.css'; is designed for development not production (https://tailwindcss.com/docs/installation/play-cdn). This includes all Tailwind classes, which can have performance impacts and Tailwind should only bundle the classes your project actually needs.

Reasons:
  • RegEx Blacklisted phrase (1): can't comment
  • RegEx Blacklisted phrase (1.5): reputation
  • Has code block (-0.5):
  • User mentioned (1): @Arsalan
  • Low reputation (1):
Posted by: EggsLeggs

79205531

Date: 2024-11-20 01:20:30
Score: 3.5
Natty:
Report link

I run this command It successfully run server

elasticsearch -E xpack.security.enabled=false enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Sandeep Bhardwaj

79205524

Date: 2024-11-20 01:13:29
Score: 1
Natty:
Report link

Running: corepack disable (try with sudo if you have permissions issues) and then again: corepack enable worked for me.

Regards!

Reasons:
  • Blacklisted phrase (1): Regards
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Quique García Cruz

79205521

Date: 2024-11-20 01:11:28
Score: 1
Natty:
Report link

I may be the most stupid one, but I was just placing

app.enableCors({
 allowedHeaders:"*",
 origin: "*"
});

before await app.init(); when it should precede await app.listen(process.env.PORT)

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Анастасія Трояновська

79205509

Date: 2024-11-20 01:02:26
Score: 0.5
Natty:
Report link

It might be impossible unless there is a proper backend-level support for this (what does not appear to be the case today in known libraries).

Basically the producer can do batches and in theory a batch sent before could fail while a next batch sent just after it would succeed (breaking your ordering). In Java you can control it via max in-flight request config.

So it'd be all-or-nothing, but on a batch level - and you'd submit another batch for production only after the previous one had succeeded.

This also means you'd need to pay careful attention that your producer is working with only one batch at a time - the API is not perfect (as it takes single message and then it decides to batch on its own), but you could for example fork and enhance it.

What you don't want to happen is a situation when you submit e.g. 5 (large) records, they get into batches of [1, 2, 3] and [4, 5], first batch fails, second succeeds. You might need to get some extra visibility into producer's internal batcher workings (and/or enhance it yourself).


Having said all of that, why not implement business-level sequence id and do handling on the consumer level?

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Adam Kotwasinski

79205503

Date: 2024-11-20 00:58:25
Score: 1.5
Natty:
Report link

This is now possible with sparse-checkout and symbolic links. For more details on how this works, please check out this gist

https://gist.github.com/ZhuoyunZhong/2c08c8549616e03b7f508fea64130558

The general idea is that you first add the submodule, then set up sparse-checkout in the submodule to track only the folders or files you need. Then you could use symbolic links to "place" the folder wherever you want.

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

79205488

Date: 2024-11-20 00:50:24
Score: 0.5
Natty:
Report link

Thanks musicamante!

This saved me reimplementing my Gtk plotter to Qt. But I had trouble running this with complains that:

QRectF/QRect(int, int, int, int): argument has unexpected type 'float'

After changing the QRectF/QRect lines to:

bar = QtCore.QRect(*[int(x), int(columnHeight - height), int(columnWidth), int(height)])

labelRect = QtCore.QRect(int(x), int(columnHeight), int(columnSpace), int(labelHeight))

The code worked perfectly.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: John

79205484

Date: 2024-11-20 00:47:23
Score: 1.5
Natty:
Report link

In power query, we don't use today() function to get current date you can try this below function to get current date

= Date.From(DateTime.LocalNow())

enter image description here

then replace the formula with your today() function in your M coding and have a try

enter link description here

Reasons:
  • Blacklisted phrase (0.5): enter link description here
  • Whitelisted phrase (-1): try this
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: Ryan

79205481

Date: 2024-11-20 00:45:22
Score: 2
Natty:
Report link

In my case, the problem was the java language level - aspectj version compatibility: https://eclipse.dev/aspectj/doc/latest/release/JavaVersionCompatibility.html I use IntellijIDEA and I had to set language level explicitly in Project Structure. (Java version in pom.xml and SDK default in Project Structure weren't enough)

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

79205475

Date: 2024-11-20 00:40:21
Score: 2.5
Natty:
Report link

In my opinion, the best way to deal with it is by using Power Query in Power BI and change it by using the option LOCALE. This will make all files have a standard format in the DATE column.

enter image description here

enter image description here

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

79205463

Date: 2024-11-20 00:31:19
Score: 4
Natty:
Report link

If it's an int, use 0 instead of ''.

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

79205458

Date: 2024-11-20 00:27:18
Score: 7
Natty: 9
Report link

Can I download the template on this site?

Reasons:
  • Blacklisted phrase (1): Can I do
  • 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 I
  • Low reputation (1):
Posted by: Shundaire Cantley

79205450

Date: 2024-11-20 00:24:17
Score: 1.5
Natty:
Report link

Backslash is an escape character in regex.

Heres's how I did it:

$backslashCount = $FilePath | Select-String -Pattern "\\" -AllMatches
$backslashCount.Matches.Length

Select-String documentation:
Select-String (Microsoft.PowerShell.Utility) - PowerShell | Microsoft Learn

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

79205448

Date: 2024-11-20 00:22:16
Score: 4
Natty:
Report link

Type powershell.exe in the address bar.

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

79205445

Date: 2024-11-20 00:20:16
Score: 1.5
Natty:
Report link

This is now possible with sparse-checkout and symbolic links. For more details on how this works, please check out this gist

https://gist.github.com/ZhuoyunZhong/2c08c8549616e03b7f508fea64130558

The general idea is that you first add the submodule, then set up sparse-checkout in the submodule to track only the folders or files you need. Then you could use symbolic links to "place" the folder wherever you want.

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

79205438

Date: 2024-11-20 00:14:15
Score: 3.5
Natty:
Report link

When you call qsort for integers, pass cmpint as the last argument. Now you are using cmpstr in both cases.

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): When you
  • Low reputation (1):
Posted by: vss

79205425

Date: 2024-11-20 00:05:13
Score: 1.5
Natty:
Report link

I think I need to read docs before, but propperly can be exported as:

df.to_csv('csvname.csv', index=False, sep=';', decimal=',')
Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: juan escorcia

79205423

Date: 2024-11-20 00:03:12
Score: 7 🚩
Natty: 5.5
Report link

பாதுகாப்பான முறையில் இரண்டு முகங்களை ஒப்பிடுவதற்கு உள்ளதா

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • No latin characters (3.5):
  • Low reputation (1):
Posted by: nallavairan rasikaran

79205413

Date: 2024-11-20 00:00:11
Score: 1
Natty:
Report link

Creating the below function worked great. Didn't think about this route when I posted the question.

Private Function CustomerFolder() As Folder
  Set CustomerFolder = Application.Session.Folders("Rings").Folders("Contacts").Folders("Customers")
End Function
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Nathan Guill

79205407

Date: 2024-11-19 23:55:10
Score: 5
Natty:
Report link

Thanks for suggestion on how to resolve the Movesense timestamp issue. Before I was pointed to this article, I have attempted to interpolate from the announcement timestamps.

There are fundamentally two approaches I have attempted here:

  1. Ignore the timestamps in the raw data. Such approach assumes you use only three parameters: sample_frequency, reference_time and sample_size

You can get reference_time from the json file name in Movesense Showcase app. It is straight forward to get the sample data size.

  1. Rely on the the announcement timestamps captured in the raw data and interpolate from these values.

This approach does not need you to remember what sample frequency you set at the time of recording.

However, you may come across another issue: the time delta is not always 20. You may get 19. This is the only way to prevent the timestamps from being out of step after interpolation. Root cause: The announcement timestamps captured in the json file are not evenly incremented to begin with.

Any suggestion on how we should address this?

def _get_timestamp_interval(sample_frequency: int = 104, output_time_unit: Literal['second', 'millisecond', 'nanosecond'] = 'millisecond') -> int:
    """
    Calculate the time interval between samples based on the sample frequency.
    
    :param sample_frequency: The frequency of sampling in Hertz (Hz). Default is 104 Hz.
    :param output_time_unit: The desired output time unit ('second', 'millisecond', 'nanosecond').
                            Default is 'millisecond'.
    :return: Time interval in the specified unit.
    """
    # Calculate the time interval in milliseconds
    time_interval_ms = 1000 / sample_frequency  # in milliseconds

    # Use match syntax to convert to the desired time unit
    match output_time_unit:
        case 'second':
            return int(time_interval_ms / 1000)  # Convert to seconds
        case 'millisecond':
            return int(time_interval_ms)  # Already in milliseconds
        case 'nanosecond':
            return int(time_interval_ms * 1_000_000)  # Convert to nanoseconds
        case _:
            raise ValueError("Invalid time unit. Choose from 'second', 'millisecond', or 'nanosecond'.")

def calculate_timestamps(reference_time: pd.Timestamp, time_interval: int, num_samples: int) -> List[pd.Timestamp]:
    """
    Generate a list of timestamps based on a starting datetime and a time interval.
    
    :param reference_time: The starting datetime for the timestamps.
    :param time_interval: The time interval in milliseconds between each timestamp.
    :param num_samples: The number of timestamps to generate.
    :return: A list of generated timestamps.
    """
    _delta = pd.Timedelta(milliseconds=time_interval)  # Convert time interval to Timedelta
    
    # Create an array of sample indices
    sample_indices = np.arange(num_samples)
    
    # Calculate timestamps using vectorized operations
    timestamps = reference_time + sample_indices * _delta
    
    return timestamps.tolist()  # Convert to list before returning

def verify_timestep_increment_distribution(self, df: pd.DataFrame) -> None:
    """
    Verify the distribution of timestep increments in a DataFrame.

    This function calculates the increment between consecutive timesteps,
    adds it as a new column to the DataFrame, and then prints a summary
    of the increment distribution.

    Args:
    df (pd.DataFrame): A DataFrame with a 'timestep' column.

    Returns:
    None: Prints the verification results.
    """
    # Ensure the DataFrame is sorted by timestep
    df = df.sort_values('timestep')

    # Calculate the increment between consecutive timesteps
    df['increment'] = df['timestep'].diff()

    # Count occurrences of each unique increment
    increment_counts: Dict[int, int] = df['increment'].value_counts().to_dict()

    # Print results
    print()
    print(f"Data File: {self.file_name}")
    print(f"Sensor ID: {self.device_id}")
    print(f"Reference Time: {self.start_time}")
    print(f"Raw Data Type: {self.raw_data_type.upper()}")
    
    print("Timestep Increment Distribution Results:")
    print("-----------------------------------------------------")
    print("Increment | Count")
    print("-----------------------------------------------------")
    for increment, count in sorted(increment_counts.items()):
        print(f"{increment:9.0f} | {count}")
    print("-----------------------------------------------------")
    print(f"Total timesteps: {len(df)}")
    print(f"Unique increments: {len(increment_counts)}")
    
    # Additional statistics
    print("\nAdditional Statistics:")
    print(f"Min increment: {df['increment'].min()}")
    print(f"Max increment: {df['increment'].max()}")
    print(f"Median increment: {df['increment'].median()}")
    print()
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): this article
  • RegEx Blacklisted phrase (2): Any suggestion
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Scott Ho

79205404

Date: 2024-11-19 23:54:09
Score: 1
Natty:
Report link

To avoid duplicates you should use epoch time as a unique field in your database. Most of the databases are allowed to enable that for one/many fields.

Check your database manual on how to enable that; then, you will have no duplicate records.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Sergey Kopanev

79205401

Date: 2024-11-19 23:53:09
Score: 3
Natty:
Report link

The button is at the very bottom of the VS Code window, in the status bar. It says "x Cancel Running Tests".

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

79205400

Date: 2024-11-19 23:53:09
Score: 2.5
Natty:
Report link

Even though all can be stored in Neo4J, you could store in memory the most demanded and small parts of your graph in Redis using the graph data structure Redis provides. In this sense, you will be able to "save" hits hitting Neo4J directly and give a quicker answer if the queries are exact queries to Redis.

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

79205397

Date: 2024-11-19 23:53:09
Score: 0.5
Natty:
Report link

In the case you are asking about, it's because the scripting support was considered an integral part of the Java platform, and thus the JSR was merged into the Java 9 JSR. See the CHANGELOG for a description of what was voted on in the Maintenance Review that led to the standalone JSR being withdrawn.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • High reputation (-1):
Posted by: David P. Caldwell

79205395

Date: 2024-11-19 23:52:09
Score: 1.5
Natty:
Report link

I do something similar to what @phd suggests which is to do a clean clone. The only difference is that I do it on my local machine.

This is how I do it:

set -euo pipefail

function publish() {
    local path="$PWD";
    local tmp;
    tmp="$(mktemp -d)";
    cd "$tmp";
    git init;
    git remote add origin "$path/.git";
    git fetch origin;
    git checkout "${1:-$BRANCH}"
    cd "$tmp";
    npm i;
    npm audit;
    npm t;
    [[ -z "$(git status -s)" ]] || {
        echo "aborting publish: contains uncommited files."
        exit 1
    };
    npm publish
}

You can see the full script over at https://github.com/bas080/git-npm/blob/master/lib/git-npm

Reasons:
  • Contains signature (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @phd
  • Low reputation (0.5):
Posted by: bas080

79205390

Date: 2024-11-19 23:50:08
Score: 4
Natty:
Report link

Rustia here! anybody have any questions

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

79205386

Date: 2024-11-19 23:49:07
Score: 4
Natty: 4
Report link

Try to conver your wav files to RIFF files i.e. use this: https://www.freeconvert.com/audio-converter/download

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

79205380

Date: 2024-11-19 23:46:07
Score: 1
Natty:
Report link

On macOS what helped me — was enabling back all items related to Docker in "Login items" in System Preferences. 🫢

After that I restarted Mac and everything is working fine.

And yes, on macOS, you have to have the Desktop Docker app (or install many brew tools).

Reasons:
  • Low length (0.5):
  • No code block (0.5):
Posted by: Sergey Kopanev

79205377

Date: 2024-11-19 23:45:06
Score: 1.5
Natty:
Report link

I guess what the documentation says is it cannot expand lua templates, but only 'normal' wikicode ones.

A solution could be tu use the pre-lua versions of templates, like the wikicode of the 2012 version of {{Date de naissance}}.

If it concerns wp.fr, you'll probably have better and quicker answers on Discussion Projet:Modèle.

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

79205374

Date: 2024-11-19 23:44:06
Score: 1
Natty:
Report link

Here's one way of doing it using an environment variable. It's not elegant - but it works. Near the top of your subtest - consider:

subtest test_someTestFunction => sub {
   my $testName = "test_someTestFunction";
   plan skip_all => 'FILTER' if( $ENV{TESTFILTER} && ($testName !~ /$ENV{TESTFILTER}/);

   # Remainder of your test code
};
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Gack

79205370

Date: 2024-11-19 23:42:06
Score: 2
Natty:
Report link

It depends on what your Airflow deployment looks like. Is your Airflow deployed on Kubernetes? Then the file system gets set on fire after each task completes. Pods are ephemeral or short lived. So there's nothing to access in the later task.

If you're running everything on a single EC2, then yes it might be feasible. But it's an antipattern in my opinion and according to Airflow's docs. The cross-task communication mechanism in Airflow is Xcoms.

Airflow's example xcoms DAG should be helpful for getting started with the feature.

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Carlos Caban

79205363

Date: 2024-11-19 23:39:05
Score: 4
Natty:
Report link

Lamdba@Edge is replicated in the many servers. if you try to delete one that is atached to cloudfront you will notice that it will take time. I recently have the same problem when i change the headers that i already add. But when i deploy the lamda@edge with cdk aparently it assures that all the version are updated. so in short answer yes it can take a while its replicated. But this a kind of guess based on behavior.

Reasons:
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Isaac Mejia

79205361

Date: 2024-11-19 23:38:04
Score: 1.5
Natty:
Report link

Hi please read my next comments:

Using OTM Web Services (Recommended) Oracle OTM provides a comprehensive set of web services (REST/SOAP) for data extraction. You can use these APIs to pull data into SQL Server via SSIS.

Steps: Configure OTM Web Services:

1.- Enable the required web services in OTM for the data you need.

2.- Obtain credentials and endpoint URLs from your OTM instance.

SSIS Integration:

1.- Use a Script Task or a third-party SSIS connector for REST/SOAP APIs.

2.- Make HTTP calls to OTM web services, fetching the required data.

Intermediate Staging:

1.- Save the fetched data into flat files or an intermediary database if needed.

Load into SQL Server:

1.- Use an SSIS Data Flow task to load the staged data into SQL Server.

Advantages:

1.- API-based access ensures you're not directly affecting the database performance.

2.- It aligns with Oracle’s best practices for integration.

Recommendations:

1.- If you need real-time integration, prefer the OTM Web Services approach.

2.- For batch processing, exporting data via FTI/OBIEE or direct database access can be more straightforward.

Ensure data security and compliance, especially when working with sensitive transportation data. Test your solution in a non-production environment to validate performance and accuracy.

Considerations:

Performance: Optimize queries on the Oracle side to fetch only required data. Use incremental data loading where possible.

Security: Ensure sensitive data is handled securely during transfer by using encrypted connections.

Testing: Thoroughly test the data flow for consistency and performance before production deployment.

I hope this can helps you if not, please contact me at [email protected] for more information without cost. Regards. Marco.

Reasons:
  • Blacklisted phrase (1): Regards
  • Blacklisted phrase (0.5): contact me
  • Blacklisted phrase (1): please contact me
  • Whitelisted phrase (-1): hope this can helps
  • Whitelisted phrase (-1.5): You can use
  • RegEx Blacklisted phrase (1): I hope this can helps you if not, please
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Marco Trejo

79205360

Date: 2024-11-19 23:37:04
Score: 0.5
Natty:
Report link

I just made a similar experience, with an important BUT: Emails are sent from localhost when I use Mail:: (and received on the other side), epsecially when triggered from a cronjob or php artisan command

Mail::to($portfolio->getUser()->email)->send(new DailyMailing($body));

BUT: when I use ->notify() as for example on the verify email which is triggered from the frontend,

Route::post('/email/verification-notification', function (Request $request) {
    $request->user()->sendEmailVerificationNotification();
    return back()->with('message', 'Verification link sent!');
})->middleware(['auth', 'throttle:6,1'])->name('verification.send');

I get no error but neither see no mail (it works with mailtrap). Next check would be if a different hosting gives the same issue. I am still not yet sure if it's a clear issue with the mailserver or something codebased like Inertia (because Mail:: triggered from PHP artisan works)

Reasons:
  • RegEx Blacklisted phrase (1): I get no error
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Canelo Digital

79205359

Date: 2024-11-19 23:37:04
Score: 1
Natty:
Report link

This will do the trick!

If you're using scss, you can easily add fontawesome by running this to your terminal

npm install @fortawesome/fontawesome-free

then importing this to your main .scss file

@import "@fortawesome/fontawesome-free/css/all.css";

Now, you can easily use it across your project

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

79205357

Date: 2024-11-19 23:36:04
Score: 0.5
Natty:
Report link

The following worked for me conda install conda-forge::pygraphviz with python version 3.9

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Youssof

79205356

Date: 2024-11-19 23:33:03
Score: 2.5
Natty:
Report link
  1. Provide a title for your application.
  2. Write a brief paragraph describing your application. Explain its purpose, the problem it solves, or the need it addresses
Reasons:
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: navvbumrah

79205350

Date: 2024-11-19 23:29:03
Score: 1
Natty:
Report link

I found and investigated a fairly serious issue with ARP on my Samsung Galaxy S23 Ultra (Android 14).

The ARP implementation ignores subnet masks and assumes /24 for all networks. Well to be clear, it's more absurd than that. ARP assumes the third number in a IPv4 address to be zero, as far as I can tell. It boggles the mind. This won't be noticed for the majority of users, but some of us prefer the luxury of the larger subnets, and it causes chaos.

I filed a bug with Google who has tagged it as Sev/Pri 2 which is rather severe.

https://issuetracker.google.com/issues/378932944

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

79205342

Date: 2024-11-19 23:27:02
Score: 1.5
Natty:
Report link

Why not use a template instead?

If you have a template, its content will be transcluded (embedded) on every page where it is used, and if you need to make any changes, all you have to do is edit the template, rather than dozens of pages. This is the recommended way of doing things on Wikipedia rather than using a bot.

If you really need to add the same content to different pages, I don't know about pywikibot, but I've already done it with the plug-in CSVLoader for AutoWikiBrowser.

You only need basic knowledge of regexes to use it, and you can append, prepend or replace text, and even create new pages with the desired content.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Why not use
  • Low reputation (0.5):
Posted by: oli_vi_er

79205326

Date: 2024-11-19 23:13:59
Score: 3
Natty:
Report link

Try using your phone as an emulator, such as with Expo Go. That might be a temporary solution.

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

79205295

Date: 2024-11-19 23:04:57
Score: 1.5
Natty:
Report link
Please read my next comments:
1.- I reviewed this xml and I found a tag missing to avoid the 
error you need to add the tag </Root> at the end to 
close properly the xml,(see xml below). 
2.- There are diferent ways to use the xmls, commonly using Postman as 
communication channel for testing transactions, but the question here is: 
What use you need to accomplish?.
For tracking events? For shipment updates?. 
3.- Other thing I noticed is that you xml says version 20C currently we 
are in the release 21C.

<Root xmlns:dbxml="http://xmlns.oracle.com/apps/otm/DBXML" Version="20C">
<dbxml:TRANSACTION_SET>
<MX_SHIPMENTS DESCRIPTION="XXX XXX XXX" 
ORDER_RELEASE_GID="XXX.XXX" 
LOCATION_GID="XXX.XXX" 
STOP_NUM="X" 
ACTIVITY="X" 
SHIPMENT_GID="XXX.XXX"/>
</db1xml:TRANSACTION_SET>
</Root>

I hope this can helps you if not, please contact me at [email protected] for more information without cost.

Reasons:
  • Blacklisted phrase (0.5): contact me
  • Blacklisted phrase (1): please contact me
  • Whitelisted phrase (-1): hope this can helps
  • RegEx Blacklisted phrase (1): I hope this can helps you if not, please
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Marco Trejo

79205286

Date: 2024-11-19 23:00:56
Score: 2.5
Natty:
Report link

Adding multiple lines in VS code: use the keys :

alt+shift+ up/down

Add space for multiple lines: use the keys:

tab

remove space for multiple lines: use the keys:

shift + tab

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

79205283

Date: 2024-11-19 22:58:56
Score: 1
Natty:
Report link

Try to add rootNavigator: true

  Navigator.of(context, rootNavigator: true).pushNamed("/HomePage");
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: omarezz332

79205270

Date: 2024-11-19 22:50:53
Score: 3.5
Natty:
Report link

Decided to go with Apache ACTIVEMQ, which has HTTP endpoints for Queuing and DeQueuing

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

79205266

Date: 2024-11-19 22:48:53
Score: 2
Natty:
Report link

I did it this way:

def toUnicodeEscape(text):
  oof = []
  for i in text:
    oof.append(f'u00{hex(ord(i))[-2:]}')
  result = '\\'
  result += '\\'.join(oof)
  return result
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Not Sure

79205264

Date: 2024-11-19 22:47:53
Score: 2.5
Natty:
Report link

Modify the linkedSignal type by making the previous parameter in computation optional (previous?: {...}) and removing cyclic dependencies.

Playground

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: cnsvnc

79205262

Date: 2024-11-19 22:46:52
Score: 1.5
Natty:
Report link

Currently this feature (dead letter queue topic filtering) is not yet available, see this discussion. As of this moment filtering dead letter queue topics has an ongoing feature request, you can comment on the request thread to follow up but be advised that it has no definite time when such request can be granted. Also, you can file your own feature request and be more specific for your own use case.

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

79205256

Date: 2024-11-19 22:42:51
Score: 4
Natty: 4
Report link

yield ("now i'm really confused"! anti-KISS-inated!)

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

79205251

Date: 2024-11-19 22:37:50
Score: 2
Natty:
Report link

I had this issue when I installed a JDK version 17, not knowing that the current project version is targeting JDK version 11.

Bumping the Lombok version to 1.18.22, which adds support for JDK v17, helped resolve my issue.

https://projectlombok.org/changelog

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

79205227

Date: 2024-11-19 22:27:47
Score: 13
Natty: 7.5
Report link

I am getting the same error for a lambda function. Did you manage to solve this? if so how?

Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • RegEx Blacklisted phrase (1): I am getting the same error
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am getting the same error
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: shyama

79205211

Date: 2024-11-19 22:19:45
Score: 0.5
Natty:
Report link

The error seems to be related to a compatibility issue with the path_provider_android library and the core-for-system-modules.jar. Based on common causes for such issues, here are steps that might help resolve it:

  1. Use Java 11: Ensure you’re using Java 11, as Flutter may not fully support newer versions like Java 17. You can check your version with: java -version If needed, install Java 11 and configure your environment.
  2. Update Gradle: Check and update the build.gradle and gradle-wrapper.properties files to use the recommended versions: • For build.gradle: classpath 'com.android.tools.build:gradle:7.3.0' • For gradle-wrapper.properties: distributionUrl=https://services.gradle.org/distributions/gradle-7.5-all.zip
  3. Clean and rebuild the project: flutter clean flutter pub get flutter run
  4. Update tools: Make sure your Flutter and Android SDK tools are up-to-date.
  5. Debug with stack trace: If the problem persists, run: flutter run --stacktrace This command will give more detailed error logs, which can help pinpoint the root cause. These steps address common issues with Flutter dependencies and Gradle compatibility. If this doesn’t resolve the issue, additional logs from the stack trace may be helpful to further investigate.
Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Raghad Ali

79205194

Date: 2024-11-19 22:10:42
Score: 3
Natty:
Report link

I know this is an old question, but another way to do this that works regardless of source branch is to use the exclude on the filter using "ref/pull/*" instead of the include. Both work. Your choice.

Release Trigger

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

79205189

Date: 2024-11-19 22:09:42
Score: 2.5
Natty:
Report link

As Florian Zwoch commented - this example only works with a local file, not a stream. The same file works fine if retrieved then played via a file:/// URI.

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

79205185

Date: 2024-11-19 22:07:42
Score: 0.5
Natty:
Report link

As I've learned more about pnpm, I believe it uses symlinks for local/monorepo references, which would mean it's simply a link to the folder within the monorepo.

I really wish pnpm's documentation would publicize this better. The main problem with it is that a developer could very easily import something as follows...

import {CustomError} from 'common/src/errors/custom.error';

...even if that file is not exposed in the public api for the module - really no better than relative pathing. If the module were then to be published as an actual npm package, all that code would break.

I would have liked it if pnpm would honor the public api of a module, even when used locally in a monorepo, or at least honor the "files" property in package.json. This would promote good, modular coding. Perhaps it's impossible. If anyone knows of a workaround to honor a library's public api in a pnpm monorepo, I'd love to hear about it.

Reasons:
  • Blacklisted phrase (1): anyone knows
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Tim Hardy

79205184

Date: 2024-11-19 22:06:41
Score: 5.5
Natty:
Report link

This sounds very complex indeed. I don't understand why you're trying to work against Gerrit?

This usually means sub-branches, and ALOT of commits. Many of them with commit messages like "WIP" or "tmp"

This sounds like a guide on how not to use Gerrit. Why have commits with pointless messages? Just amend the commit you're on?

The point of Gerrit is not to always be 1 commit away from main, but for each commit to be meaningful, "WIP" and "tmp" are not.

If you find youself multiple meaningful commits "away" from main, and you want each one to be reviewed individually, then Gerrit will create a chain of changes for the user to easily review.

I commonly get messages back from gerrit on things i need to change before it accepts the CL.

Unsure what you mean here? Like what?

As the review progress, I keep developing in my dev-branch to accomodate/modify the feature.

Why? Just keep amending the commit you're working on and uploading it? Why care so much of intermediary state of a commit?

Overall I feel like you're trying to work like you're using a PR workflow, when you're not.

I've created a blogpost here if you care to see how I use it.

Overall I think you're question is probably better answered on the Gerrit Mailing list, where it's easier to reply to the multiple points you raise. The Gerrit community doesn't really monitor stack overflow.

I want to thank you for your question as I feel like many new Gerrit users have the same problem and I hope this can be a place for people to learn.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (0.5): i need
  • Blacklisted phrase (0.5): Why?
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • Me too answer (2.5): have the same problem
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Daniele Sassoli

79205183

Date: 2024-11-19 22:06:41
Score: 4.5
Natty: 5
Report link

Lingoport has migrated former sisulizer customers to Localyzer successfully. Info at https://lingoport.com/software-localization-tools/localyzer-l10n/.

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

79205181

Date: 2024-11-19 22:05:40
Score: 1
Natty:
Report link

After a lot of seraching I finally found what I needed.

        $ItemID = $Listitem.Id
        $ListitemConnection = Get-MgSiteListItem -SiteId $siteId -ListId $listId -ListItemId $ItemId -ExpandProperty "fields" -Property *
        $ListitemDetails = $ListitemConnection.Fields.AdditionalProperties
        $BuyerID = $ListitemDetails.BuyerLookupId
        # Get the User Information List
        $UserList = Get-MgSiteList -SiteId $SiteID -Filter "DisplayName eq 'User Information List'" -Select Id
        # Get the user details using the LookupId
        $User = Get-MgSiteListItem -SiteId $SiteID -ListId $UserList.Id -ListItemId $BuyerID -Select "fields" -ExpandProperty "fields"
        # Extract the email address
        $BuyerEmail = $User.Fields.AdditionalProperties.UserName
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Mark D. MacLachlan

79205179

Date: 2024-11-19 22:04:40
Score: 2
Natty:
Report link

How about defining a function to fetch your user to always resolve to a User?

Something like:

interface User {
  name: string
}

export const fetchUser = async (): Promise<User> => {
  try {
    const response = await fetch('api.com/user')
    return (await reponse.json()) as User;
  } catch (error) {
    return { name: 'Anonymous' }
  }
}

Keep in mind that request failures can still be visible in the network tab of the developer console.

Reasons:
  • RegEx Blacklisted phrase (1.5): resolve to a User?
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): How
Posted by: moonstar-x

79205169

Date: 2024-11-19 22:00:39
Score: 1.5
Natty:
Report link

I tried using

text-align: middle

It should be text-align: center

See MDN

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

79205166

Date: 2024-11-19 22:00:39
Score: 3.5
Natty:
Report link

This small mod is working for me. Thanks @umläute

Instead of sed -e '/^\s*[*#]/d' text.txt

I used sed -e '/\s*[*#]/d' text.txt

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @umläute
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: khaos119

79205143

Date: 2024-11-19 21:47:36
Score: 1.5
Natty:
Report link
  1. Is the reason some widgets didn’t rebuild initially because they were marked as const?

No, marking widgets as const does not prevent them from rebuilding when inherited widgets they depend on (like Theme or MediaQuery) change. In Flutter, const widgets can still rebuild if they rely on inherited widgets that update.

  1. Or is it because BlocBuilder only rebuilds its immediate children, and deeper widgets are unaffected?

Not exactly. While BlocBuilder rebuilds its immediate child when the state changes, deeper widgets will only rebuild if they depend on the changing state or inherited widgets. If those widgets don't reference the updated state or inherited data, they won't reflect any changes. So, the key is ensuring your widgets are correctly linked to the state or inherited widgets to trigger a rebuild when needed.

  1. Is wrapping widgets in multiple BlocBuilders the best practice, or is there a better way to handle this?

Not necessarily the best practice. Instead of wrapping widgets in additional BlocBuilders, ensure your widgets properly depend on the Theme by using Theme.of(context) or theme-dependent styles. This way, they will automatically rebuild and reflect changes when the theme updates, without the need for extra BlocBuilders.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Is the
  • Low reputation (1):
Posted by: houssem

79205140

Date: 2024-11-19 21:45:36
Score: 1.5
Natty:
Report link

If I were you, I'd look through my requirements file and remove any system specific requirements and allow pip to decide which to install based on the current system. Sometimes when installing dependencies, they install system specific ones. Also, I'd try removing pydanctic from my requirements file completely since it is most likely being installed as a dependent dependency.

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

79205136

Date: 2024-11-19 21:44:36
Score: 1.5
Natty:
Report link

You can create override the build task to depend on createDists. And then do gradle clean build .

build.dependOn createDists
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Renal B

79205135

Date: 2024-11-19 21:44:36
Score: 1.5
Natty:
Report link

See the official Argo Workflows documentation for CronWorkflow - https://argo-workflows.readthedocs.io/en/latest/cron-workflows/#cronworkflow-options

The example given for the CronWorkflow Options timezone field:

IANA Timezone to run Workflows. Example: America/Los_Angeles

Use America/Los_Angeles instead of US/Pacific.

apiVersion: argoproj.io/v1alpha1
kind: CronWorkflow
metadata:
  name: testing-wf
spec:
  schedule: "59 22 * * *"
  timezone: "America/Los_Angeles"

References:

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

79205127

Date: 2024-11-19 21:41:35
Score: 1
Natty:
Report link

Unfortunately, there is no way. You use the platform for free, and the user agreement you accepted when creating an account there states that the platform has the right to place ads. The platform can exist either if you pay for its use directly (subscription) or if it receives financial benefits from advertising. However, there is still a way out. You can host video files on your own server and use a custom web player to display your videos on web pages without using YouTube. Also, you could transfer your library to Vimeo, but this is a paid service.

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

79205126

Date: 2024-11-19 21:40:34
Score: 1
Natty:
Report link

Without cd at all, seems not to work, What is needed is d: without cd, then it shown the path has changed. Otherwise, it might point to the path with the cd, but doesn't show it. (inside x64 native tools)

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

79205118

Date: 2024-11-19 21:35:34
Score: 0.5
Natty:
Report link

if your columns fill all screen just set table width=100% and finish.

but if columns is low, set table width=100% and two way:

  1. set with of one of columns=100%

    col1, col2, col3, col4=100%, col5, col6, col7

  2. add an empty column at end of header and detail, then set its width=100%

    col1, col2, col3, col4, col5, col6, col7, col8=100%

Reasons:
  • No code block (0.5):
Posted by: Zolfaghari

79205117

Date: 2024-11-19 21:35:34
Score: 1
Natty:
Report link

I was running into the same issue and my issue was using x:Bind.

I needed to use Binding and change the Mode:

<TextBlock Name="avgTimeDisplay" Text="{Binding AvgTime, Mode=TwoWay}" Visibility="{Binding LabelVisible, Mode=TwoWay}" ></TextBlock>

This along with setting my ViewModel:

public string AvgTime
{
    get => avgTime;
    set => SetProperty(ref avgTime, value);
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Queen Mochi

79205114

Date: 2024-11-19 21:34:33
Score: 1
Natty:
Report link

Objective-C version of UIMenuSystem.main.setNeedsRebuild() :

 [UIMenuSystem.mainSystem setNeedsRebuild];
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Lewis Edward Garrett

79205109

Date: 2024-11-19 21:33:33
Score: 3.5
Natty:
Report link

I figure it out. I just had to change the "Select" to text mode from "Key Value Mode" and specify the SharePoint field. This removed the column header and just gave me the values. enter image description here

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Doug Punchak

79205101

Date: 2024-11-19 21:31:33
Score: 3
Natty:
Report link

I can strongly recommend trying chatGPT. Quite sure it will help your cause.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Martijn Jan Jaap de Bruin

79205096

Date: 2024-11-19 21:28:32
Score: 0.5
Natty:
Report link

Using some cool binary operands, you could also do something like:

const capitalizeFirstLetter = (str) =>
  str ? String.fromCharCode(str.charCodeAt(0) & ~32) + str.slice(1) : '';

But this seems excessive.

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

79205092

Date: 2024-11-19 21:27:31
Score: 1
Natty:
Report link

Escape the underscore.

SELECT *
FROM Table_1
WHERE permitJSON LIKE '%contract[_]permitid%'  
   OR permitJSON LIKE '%contract[_]eid%'
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: keithwalsh

79205089

Date: 2024-11-19 21:26:31
Score: 2
Natty:
Report link

Ensure the inner loop increments correctly with j++. Keep the condition j <= i in the inner loop. Avoid accidental modifications to loop control variables (i or j) inside the loops.

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

79205077

Date: 2024-11-19 21:22:28
Score: 1
Natty:
Report link

Adding brackets in the condition statement will solve this error.

{(password !== "") && (
  <div className="col-start-2 col-span-3">
    <ValidationList rules={passwordRules} value={password} />
  </div>
)}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bakiiun

79205072

Date: 2024-11-19 21:21:28
Score: 1
Natty:
Report link

is there any better way to do ?

I believe there is - it is mixed reset.

Let's imagine your head is on commit_B. The commands to execute are the following:

  1. If commit_A is not the first commit in your repo, you need to reset
    your head to state preceding to it: git reset [--mixed] HEAD~~

    Now all the changes you made within the last two commits are in working tree, but not in stage area.

  2. Stage fileB: git add fileB and commit git commit -m 'fileB'

  3. Stage the rest: git add . and commit git commit -m 'A,C,D files'

  4. If your old commits are already on remote repo, you have to rewrite history there too:
    git push --force

Voila, it should work.
Usually git allows to do many things in different ways, so often it is just a matter of preference or how good you own the stuff (like in git checkout vs git switch).
The same is for rebase/merge, rebase/reset, et cetera.

For example, git rebase is often used for squashing commits, but it does not preserve dates (the result will have the date of the oldest commit), but git reset --soft doesn't have such problem.

Reasons:
  • Blacklisted phrase (1): is there any
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): is there any
  • Low reputation (0.5):
Posted by: Ryan

79205066

Date: 2024-11-19 21:18:27
Score: 1
Natty:
Report link

2024 Manual

Installation guide from scratch

In this manual I will describe the way to install ZipWriter from the first to the last step. It will include lua + luarocks download and screenshots. ZipWriter supports lzlib rock which doesn't require manual library compilation.

You will need Git Bash (installed with Git automatically).

This guide doesn't work on PowerShell.

Make sure you install 32bit version.

Preparations (skip if it is the first time you install Lua)

  1. Project directory clear up
    • Delete lua_modules if exists
    • Delete .luarocks if exists
    • Delete .luarocks in %UserProfile% dir if exists
    • Make sure that .gitignore file ends with new empty line
  2. Remove all related directories from PATH variable

Download

  1. Create path for lua and luarocks binaries: C:\lua (to suit this guide)
  2. Download lua-5.3.x_Win32_bin.zip and lua-5.3.x_Sources.zip where x is the latest patch version from https://luabinaries.sourceforge.net/download.html
  3. Download i686-14.2.0-release-win32-dwarf-msvcrt-rt_v12-rev0.7z for dependencies compilation from https://github.com/niXman/mingw-builds-binaries/releases (link source https://www.mingw-w64.org/downloads/)
  4. Unpack everything to see the following result

C:/lua directory structure

Configuration

  1. Add following directories to the PATH variable:
C:\lua
C:\lua\mingw32\bin
C:\lua\mingw32\i686-w64-mingw32\bin

PATH variable

  1. Open Git Bash in the project directory
  2. Execute following commands:
luarocks config lua_version 5.3
luarocks config variables.LUA_INCDIR "C:\lua\lua53\include"
luarocks init
luarocks install lzlib ZLIB_DIR="C:\lua\mingw32\i686-w64-mingw32"
luarocks install zipwriter

Execution results

Further usage:

./lua.bat your_script.lua
Reasons:
  • Blacklisted phrase (1): This guide
  • Blacklisted phrase (1): this guide
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Orachigami

79205065

Date: 2024-11-19 21:18:27
Score: 1.5
Natty:
Report link

Replace :id with the actual id can solve the problem.

I came across this question when I search for ID Photo API. If anyone else is looking for ID Photo API, idphoto.ai is a good choice.

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

79205062

Date: 2024-11-19 21:17:27
Score: 2.5
Natty:
Report link

I'm pretty new to HTML and CSS myself, but from what I know, the image has to be in the same folder and have the .html in the image's file name. It should be relatively simple to move the image's location, so no need to stress there. It will also help to shorten the image's link. Here's an example tag:

<(img src="cvpfp.html.jpeg" alt="Profile Picture">

(Please don't include the parentheses in the tag, that just helps it show up on stack overflow) In this case, I had emailed the image to myself from my phone and downloaded it. my source consists of the file name, the document type, and the image type.

I really hope this helps! Please let me know if I can clarify anything or answer any other questions.

Reasons:
  • Whitelisted phrase (-1): hope this helps
  • RegEx Blacklisted phrase (2.5): Please let me know
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Andie Childress

79205059

Date: 2024-11-19 21:16:26
Score: 1
Natty:
Report link

CheckedChanged is triggered when Checked state changes. Changing from Checked to Unchecked is a change, and changing from Unchecked to Checked is a change too. This is the reason why you see two notifications.

It looks like your code can already deal with that. But you could get read of "foreach" cycle if you use RadioButton control instead of Checkbox. If you select any RadioButton, all other RadioButtons in the same container will be uchecked automatically. If you have two separate groups of RadioButtons on the same form, you can put one of the groups (or both) inside GroupBox or Panel.

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

79205057

Date: 2024-11-19 21:15:26
Score: 2.5
Natty:
Report link

Exact same error for me, using eas build. Started when upgraded to expo 52

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

79205051

Date: 2024-11-19 21:13:26
Score: 1
Natty:
Report link

This might do the trick

SELECT
 DATE(rental_date) AS 'Rental date',
 COUNT(*) AS 'Count'
FROM rental
GROUP BY
 DATE(rental_date)
ORDER BY COUNT(*) DESC
LIMIT 1
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Anubhav Sharma