79422566

Date: 2025-02-08 02:52:33
Score: 1
Natty:
Report link

A Quick fix : If you are using visual studio code, Please check what terminal u use.. In my case I have been using powershell and when I changed that to CMD it worked like a magic.. Happy coding..

Reasons:
  • Whitelisted phrase (-1): it worked
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nadun Udana

79422558

Date: 2025-02-08 02:48:32
Score: 4
Natty:
Report link

You can try =SUM(COUNTIF(B2:B24,J2:J24))

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mehran Hojati

79422555

Date: 2025-02-08 02:45:31
Score: 3
Natty:
Report link

Ended up figuring it out, I was using the system pyspark which was 4.0.0-preview and the proto was different so it wasn't parsing right.

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

79422554

Date: 2025-02-08 02:45:31
Score: 1
Natty:
Report link


#Putting value of list in variable "name"
for name in list1:             

    #Check value in variable "name" starts with "S"
    if(name.startswith("S")):
         
         # print current value of "name"  
         print(f"Hello  {name}") ```
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gaurav Suniara

79422551

Date: 2025-02-08 02:43:31
Score: 0.5
Natty:
Report link

I'm still seeing this bug in 2025. (Leave it to MSFT to violate the law of non-contradiction.)

It seems the Subproject.IsLoaded "property" misbehaves. More than a mere property, it seems to actually load the subproject in order to query it. Which means it always returns True.

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

79422548

Date: 2025-02-08 02:39:30
Score: 1
Natty:
Report link

Could be related to this: https://docs.python.org/3.12/library/logging.handlers.html#logging.handlers.QueueListener

class logging.handlers.QueueListener(queue, *handlers, respect_handler_level=False) By default, respect_handler_level is set to False.

"If respect_handler_level is True, a handler’s level is respected (compared with the level for the message) when deciding whether to pass messages to that handler; otherwise, the behaviour is as in previous Python versions - to always pass each message to each handler."

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

79422546

Date: 2025-02-08 02:36:29
Score: 3
Natty:
Report link

Potential causes could be hardware, drivers, environment, etc., so the first step is to diagnose the issue. Try running the following scripts and review their outputs to locate the problem.

https://gist.github.com/link89/273a4708971a3a780eb1b2b5eb2ba968

For more detail you may check this answer: https://stackoverflow.com/a/79422541/3099733

Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
Posted by: link89

79422545

Date: 2025-02-08 02:36:27
Score: 6 🚩
Natty:
Report link

Currently I'm trying to change thingsboard ce logo how to do it?

Im sucessfuly built thingsboard from source and run thingsboard service but logo not changed yet.. pls help

Reasons:
  • RegEx Blacklisted phrase (3): pls help
  • Low length (1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Wibit Innovations

79422537

Date: 2025-02-08 02:27:25
Score: 3
Natty:
Report link

type of whoami is int. You should casting whoami to string.

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

79422531

Date: 2025-02-08 02:16:23
Score: 1
Natty:
Report link

This work perfectly on a Macbook Air(m1)

Debug.Print String(65536, vbNewLine)

As SendKeys doesn't seem to support ctrl+command

I tried ^%(g) but the keys are sent to where I call SendKeys... Anyway, last experiences just made me gave up to use it.

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

79422529

Date: 2025-02-08 02:13:23
Score: 0.5
Natty:
Report link

Without plugins like ten years ago the only way to view a RTSP stream if browser does not direcly support it is to proxy/re-stream it in any other format that is supported. Different options are in this How to stream RTSP live video in Firefox and Chrome now that the VLC plugin is not supported anymore?

There are things like websockets and so that js can use to connect to a server and stream on but they all need to proxify as well (js cannot access a raw tcp or udp ports/connectors directly).

And as long it is and "old" protocol don't expect to be reimplemented.

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

79422519

Date: 2025-02-08 02:05:21
Score: 1
Natty:
Report link

I prefer to use Assert.Catch() in that case:

var exception = Assert.Catch(() => It.Throws()).InnerException;
Assert.That(exception, Is.TypeOf<CustomException>());
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Gucu112

79422518

Date: 2025-02-08 02:04:21
Score: 3
Natty:
Report link

Looks like you're on Node.js v18.7.0 which is out of date. Similar issue solved by updating node js: https://github.com/vuejs/vuepress/issues/3218

Since you appear to be on Windows, reinstall node from the .msi in Windows from the node website.

Reasons:
  • RegEx Blacklisted phrase (1): Similar issue
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ben Feldman

79422513

Date: 2025-02-08 01:58:19
Score: 4.5
Natty:
Report link

It is solved here in this issue https://github.com/rabbitmq/amqp091-go/issues/296#issue-2825813767

Reasons:
  • Whitelisted phrase (-1): It is solved
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Anish

79422512

Date: 2025-02-08 01:57:18
Score: 5
Natty: 5.5
Report link

why not use python feature importlib.reload?

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): why not use
  • Low reputation (1):
Posted by: 黄大胆

79422508

Date: 2025-02-08 01:55:18
Score: 1.5
Natty:
Report link

use strip() to remove leading and trailing whitespace including \n, spaces and single quote '.

x = "int_32\n' "
new_x = x.strip("\n' ")
print(new_x)

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

79422504

Date: 2025-02-08 01:51:17
Score: 1
Natty:
Report link

I tried this way:

// TODO: This is a list of pending items:
//       - Adaptive navigation setup
//       - Add theme switch
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Samuel Wakoli

79422489

Date: 2025-02-08 01:33:14
Score: 1.5
Natty:
Report link

O problema ocorre porque a sua função handleResetFilters está redefinindo o estado dos filtros e depois chamando fetchBusinesses() imediatamente. Garanta que fetchBusinesses() seja chamado após os filtros serem atualizados. Para isso, utilize o useEffect para monitorar mudanças no estado dos filtros. codigo corrigido:

import { useState, useEffect } from 'react';
import { getBusinesses } from '../api/DBRequests';
import categories from '../constants/categories';

const BusinessListPage = () => {
  const [businesses, setBusinesses] = useState([]);
  const [filters, setFilters] = useState({
    category: '',
    state: '',
    minPrice: '',
    maxPrice: '',
    minRevenue: '',
    maxRevenue: '',
  });
  const [sortBy, setSortBy] = useState('');
  const [loading, setLoading] = useState(false);

  useEffect(() => {
    fetchBusinesses();
  }, [filters, sortBy]); // Chama fetchBusinesses sempre que filtros ou sortBy mudarem

  const fetchBusinesses = async () => {
    setLoading(true);
    try {
      const adjustedSortBy =
        sortBy === 'asc' ? 'asc' : sortBy === 'desc' ? 'desc' : '';
      const businesses = await getBusinesses(adjustedSortBy, filters);
      setBusinesses(businesses);
    } catch (error) {
      console.error('Error fetching businesses:', error.message);
    } finally {
      setLoading(false);
    }
  };

  const handleInputChange = (e) => {
    const { name, value } = e.target;
    setFilters((prevFilters) => ({ ...prevFilters, [name]: value }));
  };

  const handleResetFilters = () => {
    setFilters({
      category: '',
      state: '',
      minPrice: '',
      maxPrice: '',
      minRevenue: '',
      maxRevenue: '',
    });
    setSortBy('');
  };

  return (
    <div className="container-fluid mt-4">
      <div className="row">
        <div className="col-md-3">
          <div className="bg-light border p-3">
            <h5>Filters</h5>
            <div className="mb-3">
              <label htmlFor="category" className="form-label">
                Category
              </label>
              <select
                id="category"
                name="category"
                className="form-control"
                value={filters.category}
                onChange={handleInputChange}
              >
                <option value="">All Categories</option>
                {categories.map((category, index) => (
                  <option key={index} value={category}>
                    {category}
                  </option>
                ))}
              </select>
            </div>
            <button
              className="btn btn-primary btn-block"
              onClick={() => fetchBusinesses()}
            >
              Apply Filters
            </button>
            <button
              className="btn btn-secondary btn-block mt-2"
              onClick={handleResetFilters}
            >
              Reset Filters
            </button>
          </div>
        </div>

        <div className="col-md-9">
          {loading && <p className="d-block mx-auto">Loading</p>}
          <div className="row">
            {businesses.length === 0 && !loading && (
              <div className="col-12">
                <p className="mt-4 text-center">No businesses found.</p>
              </div>
            )}
            {businesses.map((business) => (
              <div className="col-md-4 mb-4" key={business._id}>
                <div className="card h-100">
                  <div className="card-body">
                    <h5 className="card-title">{business.name}</h5>
                  </div>
                  <div className="card-footer">
                    <a
                      href={`/business/${business._id}`}
                      className="btn btn-primary btn-sm btn-block"
                    >
                      View Details
                    </a>
                  </div>
                </div>
              </div>
            ))}
          </div>
        </div>
      </div>
    </div>
  );
};

export default BusinessListPage;
Reasons:
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): porque
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Geovane Araujo

79422486

Date: 2025-02-08 01:31:13
Score: 7.5 🚩
Natty: 6.5
Report link

I'm having the same problem, just sharing solution; I tried and its working for me;

https://support.hashicorp.com/hc/en-us/articles/4547786359571-Reading-and-using-environment-variables-in-Terraform-runs

Reasons:
  • Blacklisted phrase (1): I'm having the same problem
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I'm having the same problem
  • Low reputation (1):
Posted by: wawm

79422483

Date: 2025-02-08 01:28:12
Score: 3
Natty:
Report link

I was able to solve it by adding a refresh for the Teachers table in the OnStart of the app. The issue was the table wasn't loaded, so it couldn't get the value.

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

79422480

Date: 2025-02-08 01:24:11
Score: 0.5
Natty:
Report link

I tried a lot of approaches besides the ones mentioned above but nothing seem to work. Also considering I did not want the reactjs components to intrude with the grails javascript I did below workaround - hope this might help someone else stuck with similar situation.

I moved the compiled bundle.js into src/main/resources/ and created this ContentController to serve the file as raw javascript file:

@Controller
class ContentController extends RestfulController{
    def bundle(){
        def myBundleFileContents = getClass().getResource('/bundle.js').text
        response.setHeader("Content-disposition", "filename=bundle.js")
        response.contentType = 'text/javascript'
        response.outputStream << myBundleFileContents
        response.outputStream.flush()
    }
//more actions
}

Then I included the bundle file in my gsp page as below:

<script type="text/javascript" src="../content/bundle">
</script>
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Amit Thakur

79422479

Date: 2025-02-08 01:20:11
Score: 3.5
Natty:
Report link

This is what shows up on my phone and all of my input but it shows that I'm not the one using or connected to it but it does show what Google app is so what all input am I missing

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

79422475

Date: 2025-02-08 01:19:10
Score: 4
Natty:
Report link

In general, for each shard: General time More detailed: general time

Meaning - You won't be going to have read downtime at all if you have read from a replica.
You will write downtime for single shard each time of few seconds. Generally, the downtime is when the new and old masters replace the DNS, so it's the time it takes to replace the DNS.

Migrating to Valkey 8?
Resource: https://docs.aws.amazon.com/AmazonElastiCache/latest/dg/VersionManagement.html

Reasons:
  • Probably link only (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: avifen

79422474

Date: 2025-02-08 01:18:10
Score: 1
Natty:
Report link

Not sure if there is a more eloquent way but this works... It is a combination of modifying the padding options in gt and the margins in styles.css:

# r code
tab1 <- dat |> select(car,2:3) |> gt() |> tab_options(container.padding.y = px(0))
tab2 <- dat |> select(car,4:7) |> gt() |> tab_options(container.padding.y = px(0))
tab3 <- dat |> select(car,8:11) |> gt() |> tab_options(container.padding.y = px(0))
/* CSS */
.gt_table {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
  }

Result:

three table final

Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: seansteele

79422461

Date: 2025-02-08 01:06:08
Score: 3
Natty:
Report link

This is a common behavior in cases where inbound files burst unexpectedly. It may catch up with time.

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

79422453

Date: 2025-02-08 01:02:07
Score: 2.5
Natty:
Report link

Raspberry pi500: PiOS (Bookworm) Confirm that changing the setting Terminal>Integrated: GPU Acceleration from auto to off has resolved the issue with v1.97 It's now fully usable - not hanging, not going to 100% processor usage

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

79422447

Date: 2025-02-08 01:00:07
Score: 2
Natty:
Report link

To Convert bigint to bitmap: Use bitwise operations → bitmap = bin(bigint)[2:] or bitset in C++. Count 1s in bitmap: Use popcount() in C++ (__builtin_popcountll(bigint)) or Python’s bin(bigint).count('1')

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

79422441

Date: 2025-02-08 00:51:05
Score: 4
Natty: 5
Report link

pleases Dealte. The orator. From the same sung. Phone Jeanna spigener 42. G mail com. I need to call Erica Hawkins in the next hour at 7:00 pm. Pleases get. The orator off the phone right now go way. Jeanna spigener 42 @ g mail com.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Contains signature (1):
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jeanna Spigener

79422435

Date: 2025-02-08 00:47:04
Score: 1
Natty:
Report link

Here is the steps:

  1. save the docker image app_image:456 to a file

    docker save -o app_image456.tar app_image:456

  2. Take checksum of the image file

    md5sum app_image456.tar This will produce the checksum of the image

Now, create a docker image using docker file (FROM curated_image:123, the one used to create app_image:456), but give different tag. Then do step 1 and 2 again using this docker image & compare the checksum. If the checksum the same then you have same content.

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

79422433

Date: 2025-02-08 00:43:03
Score: 0.5
Natty:
Report link

I fixed the error by restoring the WooCommerce database tables. During the migration, I accidentally deleted tables that stored user session information. After that, all I had to do was go to WooCommerce in the WordPress dashboard -> Status -> Tools -> Verify the base database tables.

Reasons:
  • Whitelisted phrase (-2): I fixed
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: K1ltr0

79422424

Date: 2025-02-08 00:36:01
Score: 5.5
Natty: 5
Report link

when run npm install --save @types/react-datepicker i get dependecy errors because i have [email protected]

how is the import DatePicker now ?

Sorry Im totally newbie on this, just need a hand, even openai cant give me an answer.

Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • RegEx Blacklisted phrase (1): i get dependecy error
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): when
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Cristo Jaraba

79422419

Date: 2025-02-08 00:24:59
Score: 2.5
Natty:
Report link

This is what something referred to as, "Gemini" said in response to your first post/question:

https://g.co/gemini/share/f17f76c6f904

It seems to have a fix, to be sure.

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

79422414

Date: 2025-02-08 00:20:59
Score: 1.5
Natty:
Report link

For anyone still struggling (like I was) with deleting folders in a synced SharePoint directory, add force=TRUE.

unlink("dir", recursive = TRUE, force = TRUE)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: T. Austring

79422379

Date: 2025-02-07 23:41:51
Score: 1.5
Natty:
Report link

I fix the issue by setting the Auth Platform using the "old experience".

I have been using the "new experiencie" (new UI) but couldn't make it work.

Once I followed all the steps in the old experiencie, I was instantly able to create the Clients for Android and iOS.

Don't know if it is a Google issue or what, but as I said, I set up all the required information (following the documentation) which was correctly verified by Google.

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

79422371

Date: 2025-02-07 23:33:50
Score: 1
Natty:
Report link

For anyone coming across this in 2025, there's no solution to this problem as terraform simply doesn't support it. See https://github.com/hashicorp/terraform/issues/26697

The only solution to this I can come up with is to use an "external" data resource (data "external" "generator") that points to a script you write, consumes your configuration data, and generates a terraform file you can then consume in your TF modules.

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

79422369

Date: 2025-02-07 23:32:49
Score: 2
Natty:
Report link

com.roblox.client.vnggames_2.645.665-1682_2arch_bf293ca463c50df95d9a7ae74dfda331_apkmirror.com.apkm 1 INSTALL_FAILED_VERSION_DOWNGRADE: Downgrade detected: Update version code 1682 is older than current 1750 2 Ứng dụng chưa được cài đặt k

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

79422348

Date: 2025-02-07 23:18:46
Score: 0.5
Natty:
Report link

The issue may occur when trying to mock a final class. Which class is actually the culprit may become clear only when you limit your test suite to a single test method in a single test class.

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

79422335

Date: 2025-02-07 23:11:45
Score: 1.5
Natty:
Report link

I think if you are using conda then you should do something like this conda install numpy==1.16.0 according to [Conda offical webpage][1]

Hope this help. [1]: https://docs.conda.io/projects/conda/en/stable/user-guide/concepts/installing-with-conda.html

Reasons:
  • Whitelisted phrase (-1): Hope this help
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: đạt tạ

79422319

Date: 2025-02-07 22:58:42
Score: 2.5
Natty:
Report link

That last answer (by user4533473) helped me. I copied the file into Notepad++ and told it to show all characters (looking for Windows CR LF). That wasn't it, but in my case, the "setenv" was preceded by ENSP characters (en space) rather than a tab. So the output wasn't "setenv: Command not found.", it was actually "ENSPENSPENSPENSPsetenv: Command not found." Of course the csh shell didn't know what "ENSPENSPENSPENSPsetenv" meant.

Reasons:
  • No code block (0.5):
  • User mentioned (1): user4533473
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Kevin J. Black

79422313

Date: 2025-02-07 22:50:41
Score: 0.5
Natty:
Report link

Windows ez version:

  1. create Workbench shortcut > right-click properties
  2. add this to the end of the target/path:

--query your_database_name

e.g. mine is: "C:\Program Files\MySQL\MySQL Workbench 8.0 CE\MySQLWorkbench.exe" --query CCSF_MySQL_Class_server

worked for me w/ Win 11 & latest Workbench. Hattip MikeLischke for the --query syntax

Reasons:
  • Whitelisted phrase (-1): worked for me
  • No code block (0.5):
  • Low reputation (1):
Posted by: Jonathan Chong

79422304

Date: 2025-02-07 22:39:39
Score: 3
Natty:
Report link

I think the remote command works for one time only so you should use remote inside the loop

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

79422303

Date: 2025-02-07 22:37:39
Score: 0.5
Natty:
Report link

for me, the problem was a stuck ESLint after I created several new libraries in the monorepo.

Cmd+Shift+P: > Restart ESLint Server

is what helped me.

screenshot of vscode command interface

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

79422301

Date: 2025-02-07 22:37:39
Score: 0.5
Natty:
Report link

Another web app to add to the list of ones that will render formatted Markdown, which can be copy/pasted:

https://markdown-it.github.io/

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

79422294

Date: 2025-02-07 22:31:38
Score: 4.5
Natty:
Report link

import pandas as pd import numpy as np

Crear los datos como un diccionario

data = { 2015: [90, 100, 85, 100, 100, 100, 100, 0, 0, 0], 2016: [80, 75, 75, 0, 80, 80, 70, 0, 0, 0], 2017: [80, 0, 70, 70, 80, 75, 80, 80, 80, 80], 2018: [0, 0, 65, 70, 70, 75, 80, 0, 0, 0], 2019: [100, 95, 100, 0, 80, 55, 80, 65, 90, 80], 2020: [0, 70, 80, 0, 80, 100, 100, 0, 0, 0], 2021: [80, 100, 100, 95, 100, 100, 0, 0, 0, 0], 2022: [80, 100, 95, 0, 100, 100, 0, 0, 0, 100], 2023: [80, 95, 90, 0, 90, 90, 100, 95, 95, 95], 2024: [80, 95, 90, 95, 95, 90, 90, 95, 95, 95] } # Crear el DataFrame df = pd.DataFrame(data) # Reemplazar los 0 por NaN (considerándolos como valores faltantes) df.replace(0, np.nan, inplace=True) # Calcular la media, mediana y desviación estándar media = df.mean().round(2) mediana = df.median().round(2) desviacion_estandar = df.std().round(2) # Mostrar los resultados print(f"Media por año:\n{media}") print(f"\nMediana por año:\n{mediana}") print(f"\nDesviación Estándar por año:\n{desviacion_estandar}")

Reasons:
  • Blacklisted phrase (1): está
  • Blacklisted phrase (1): Está
  • Blacklisted phrase (2): Crear
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: S.G.C. ESPIRA SGC-Espira

79422293

Date: 2025-02-07 22:29:37
Score: 1.5
Natty:
Report link

Tienes un problema de conceptos, primero, el json esta en el servidor, si quieres puedes bloquear el acceso a ciertos archivos con htacess, sin embargo javascript se ejecuta desde el lado del cliente, por ende tambien perdera el acceso,

que haria yo

con un php recuperaria la info, y leeria los datos del json, para luego enviarlos de retorno y puedan llegar a tu javascript

Reasons:
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ismael de posicionArte

79422290

Date: 2025-02-07 22:28:36
Score: 4
Natty:
Report link

Linking to the Issue in the repo where we have talked about possible solutions to this. https://github.com/microsoft/ApplicationInsights-JS/issues/2477

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

79422289

Date: 2025-02-07 22:28:36
Score: 0.5
Natty:
Report link

A constructive method is expected to be faster than an exponential search.

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

79422269

Date: 2025-02-07 22:18:34
Score: 4.5
Natty: 5
Report link

Good solutions with different versions: https://github.com/AlbertKarapetyan/api-gateway

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

79422263

Date: 2025-02-07 22:12:32
Score: 2.5
Natty:
Report link

Have you heard about how there are direct Minecraft copies that are allowed on the Google Play Store? It's because of the fact that there are slight differences inside the app, like a different look. If you post the same app but with minor changes then you'll probably be fine.

I'm eleven years late but here's my answer lol

Reasons:
  • No code block (0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: technology_gaming

79422251

Date: 2025-02-07 22:06:30
Score: 9 🚩
Natty: 5
Report link

I have the same issue, tried this trick and it does work.

However, still not really sure how and why it works, can someone explain? Thank you.

I assume now the hidden should stay for the production as well.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (1): I have the same issue
  • RegEx Blacklisted phrase (2.5): can someone explain
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same issue
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: tplletscode

79422235

Date: 2025-02-07 21:57:29
Score: 1
Natty:
Report link

call switchHiddenAttribute function for selected element

const  switchHiddenAttribute = (element) => {
  element.hidden = !element.hidden;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Andrzej Więcławski

79422229

Date: 2025-02-07 21:54:27
Score: 1.5
Natty:
Report link
<div class="row">
    <div class="col" style="width:100px;max-width:100px">100px</div>
    <div class="col">auto</div>
</div>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Sinan Tekmil

79422225

Date: 2025-02-07 21:52:27
Score: 0.5
Natty:
Report link

If you want a connection flow akin to machine-to-machine where there is no human intervention required to authorize the connection every time, I suggest looking into the PKCE flow.

You will authorize your app once (step 1) and then retain the access token, refresh token and access token expiry time. Store those somewhere that can be accessed upon your invoice generation automation running (I personally use a very simple DynamoDB instance) to determine if the current access token is valid or if it's expired. If the current access token is expired then use the refresh token to get a new access token.

You can then use the access token in the Authorization header for all API requests for that session.

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

79422221

Date: 2025-02-07 21:49:26
Score: 2
Natty:
Report link

Consider using ->live(onBlur: true) in this case. This is a common issue in Livewire, where the request is slower than the user's typing speed. Using onBlur: true can help resolve this."

https://filamentphp.com/docs/3.x/forms/advanced#reactive-fields-on-blur

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

79422217

Date: 2025-02-07 21:47:26
Score: 1
Natty:
Report link

awk -F';' '{ tot += $2; row++ } END { print tot/row }' file.csv

awk -F';' '{ tot=0; for (c=1; c<=NF; c++) tot+=$c; aver=tot/NF; print $0 ";" aver}' file.csv

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

79422213

Date: 2025-02-07 21:43:25
Score: 3.5
Natty:
Report link

Open file example Readme.md

Ctrl + Shift + P

type and select:

Markdown:Open Preview

enter image description here

enter image description here

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

79422209

Date: 2025-02-07 21:41:24
Score: 1.5
Natty:
Report link
  1. gear
  2. keyboard shortcuts
  3. press record keys (on the right of the form)
  4. press ctrl+v (it will find all ctrl+v key bindings)
  5. remove editor.action.clipboardPasteAction (I thought it was the only required binding, but removing it helped)
Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Rostislav Teryaev

79422203

Date: 2025-02-07 21:36:23
Score: 1
Natty:
Report link

You need to add the kafka-server dependency in your build.gradle as it contains the AbstractKafkaConfig class on Kafka version 3.9

dependencies {
    implementation('org.apache.kafka:kafka-server:3.9.0')
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Gege

79422183

Date: 2025-02-07 21:23:21
Score: 0.5
Natty:
Report link

What said by @RoryMcCrossan was correct: You need to reset the width to 100% at your current slide.

Here it is the snippet with the line slide.style.width = '100%'; added to your js

let currentIndex = 0;
const slides = document.querySelectorAll('.slide');
const totalSlides = slides.length;

function updateSlides() {
  slides.forEach((slide, index) => {
    if (index < currentIndex) {
      slide.style.width = '0%';
      slide.style.left = '0%';
      slide.style.opacity = '0';
      slide.style.visibility = 'hidden';
      slide.style.transition = 'all 0.5s ease-out';
    } else if (index === currentIndex) {
    // Here
      slide.style.width = '100%';
      slide.style.right = '100%';
      slide.style.opacity = '1';
      slide.style.visibility = 'visible';
      slide.style.transition = 'all 1s ease-out';
    } else {
      slide.style.opacity = '1';
      slide.style.visibility = 'visible';
      slide.style.transition = 'all 1s ease-out';

    }
  });
}

// Function for next slide (move forward)
function nextSlide() {
  if (currentIndex < totalSlides - 1) {
    currentIndex++;
    updateSlides();
  }
}

// Function for previous slide (move backward)
function prevSlide() {
  if (currentIndex > 0) {
    currentIndex--;
    updateSlides();
  }
}

// Event listeners for the navigation buttons
document.querySelector('.next-button').addEventListener('click', nextSlide);
document.querySelector('.prev-button').addEventListener('click', prevSlide);

// Optionally, use the automatic slider function (if you want both auto and manual navigation)
//setInterval(() => {
//  nextSlide(); // This will trigger auto-sliding
//}, 3000);
.prev-button, .next-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  font-size: 1.5em;
  z-index: 10;
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  height: 280px;
}

.slider {
  position: relative;
  height: 100%;
  width: 100%; /* Enough space for all 4 slides */
  display: flex;
  transition: transform 3s ease-in-out;
}

.slide {
  position: absolute;
  height: 100%;
  transition: width 3s ease-in-out, left 3s ease-in-out;
}

.slide.yellow {
  z-index: 4;
  left: 0%;
   width: calc(100% - 60px);
}

.slide.pink {
  z-index: 3;
  left: 0%; 
    width: calc(100% - 40px);
}

.slide.blue {
  z-index: 2;
  left: 0%; 
  width: calc(100% - 20px);
}

/* The background slide */
.slide.green {
  z-index: 1;
  left: 0%; 
  width: 100%;
}
<!-- Navigation buttons -->
  <button class="prev-button">Previous</button>
  <button class="next-button">Next</button>

<div class="slider-container">
    <div class="slider">
      <div class="slide yellow" style="background-color: #ffea92"><div class="content">yellow</div></div> <!-- 1. Slide -->
      <div class="slide pink" style="background-color: #e2c6e0"><div class="content">pink</div></div> <!-- 2. Slide -->
      <div class="slide blue" style="background-color: #b9d7f3"><div class="content">blau</div></div> <!-- 3. Slide -->
      <div class="slide green" style="background-color: #8ebf1e"><div class="content">green</div></div> <!-- 4. Slide -->
     
    </div>
  </div>

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @RoryMcCrossan
  • Starts with a question (0.5): What
  • Low reputation (0.5):
Posted by: CcmU

79422171

Date: 2025-02-07 21:18:17
Score: 7 🚩
Natty:
Report link

I don't have a complete answer. Through testing I can confirm that "mode" does need to be set to "All", even though MS documentation shows "all". Azure's Policy policy editor will require an uppercase 'A'. Policy editor yellow squiggly underline with view problem: "Value is not accepted. Valid values: "All", "Indexed", "Microsoft.KeyVault.Data", "Microsoft.ContainerService.Data", "Microsoft.CustomerLockbox.Data", "Microsoft.Kubernetes.Data", "Microsoft.Network.Data"." When setting my policy to "Indexed" the policy did not work during resource group creation. I needed to use "All". MS statements about what each mode does is confusing; since, resource groups support tags and location.

  • all: evaluate resource groups, subscriptions, and all resource types
  • indexed: only evaluate resource types that support tags and location

You may want to exclude resources and/or resource groups that might get created by automation, as they might not be able to handle the new tag requirement. While not answering this array question, SoMundayn on Reddit created a policy that should excluded the most common resource groups to avoid enforcing a "deny" on. I tried to include code but stackoverflow was breaking on the last curly brace.

Currently @Naveen Sharma answer is not working for me. I suspect that the "field": "tags[*]", is returning a string. This is based on combining his solution with my own. When I require "Environment" and "DepartmentResponsibility" tags and add those tags to the group with values I get the following error message:

Policy enforcement. Value does not meet requirements on resource: ForTestingDeleteMe-250217_6 : Microsoft.Resources/subscriptions/resourceGroups The field 'Tag *' with the value '(Environment, DepartmentResponsibility)' is required

I suspect I might be able to use the "field count" or "value count" as described in MS doc Azure Policy definition structure policy rule. I have thus far failed to find a working solution, but still feel these are key points to finding an answer.

Reasons:
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): did not work
  • Blacklisted phrase (1): stackoverflow
  • RegEx Blacklisted phrase (1): I get the following error
  • RegEx Blacklisted phrase (3): not working for me
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Naveen
  • Low reputation (1):
Posted by: Michael Fisher

79422170

Date: 2025-02-07 21:17:17
Score: 1
Natty:
Report link

I have been battling this same issue for a year. I can confirm the following from my own tests and crashlytics reports:

  1. It happens after an app update. After every new release there is a spike in these crashes for a short time on the new version, then they go away after a while.
  2. it is only happening (at least on my reports) on Samsung devices running Android 14. No issues with 15 or anything pre-14

My app relies heavily on foreground notifications that are likely present while the app is updated. Guessing that in some scenario the device is keeping a reference to the old remote views and then trying to update them after the layout IDs have changed with the new version.

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

79422165

Date: 2025-02-07 21:13:16
Score: 2
Natty:
Report link

You can use the recaptcha_enterprise_flutter package to integrate reCAPTCHA v3 in Flutter.

Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Jayadev Panthaplavil

79422147

Date: 2025-02-07 21:00:14
Score: 1
Natty:
Report link

Grateful thanks to @Fravadone for illuminating the root of the problem. I mistakenly remembered that I had to use the " symbol when specifying ssh options.That is why I wrote e.g.:o1='"NumberOfPasswordPrompts=0"' So this is the good syntax:

o1=NumberOfPasswordPrompts=0
o2=NumberOfPasswordPrompts=1
o3=ConnectTimeout=100

x=`sshpass -p "$psw" ssh -q -o $o2 -o $o3 2>/dev/null $usr@$srv <<ZZZ
 ### some command e.g.:
 sudo -u oracle -i
 export LANG=en_US.UTF-8
 ORACLE_HOME=$home
 export ORACLE_HOME   # export ORACLE_BASE ORACLE_HOME
 PATH=\\$ORACLE_HOME/bin:\\$PATH
 \\$ORACLE_HOME/OPatch/opatch lsinv
ZZZ`

And also good without the '=' sign. (But it isn't documented.) In this case, of course I have to use the " sign.

o1="NumberOfPasswordPrompts 0"
o2="NumberOfPasswordPrompts 1"
o3="ConnectTimeout 100"

x=`sshpass -p "$psw" ssh -q -o "$o2" -o "$o3" 2>/dev/null $usr@$srv <<ZZZ
 ### some command e.g.:
 sudo -u oracle -i
 export LANG=en_US.UTF-8
 ORACLE_HOME=$home
 export ORACLE_HOME   # export ORACLE_BASE ORACLE_HOME
 PATH=\\$ORACLE_HOME/bin:\\$PATH
 \\$ORACLE_HOME/OPatch/opatch lsinv
ZZZ`
Reasons:
  • Blacklisted phrase (0.5): thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @Fravadone
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: László Szilágyi

79422138

Date: 2025-02-07 20:53:12
Score: 1
Natty:
Report link

I think that when you're in an async function, returning a Promise.reject() ensures that the error isn't caught by a catch block within the same function, which could happen if you’re using multiple try/catch blocks. By early returning a promise reject you are sure that the error can be handled only by the calling function (or higher).

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

79422131

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

on RHEL/AlmaLinux/CentOS 9.0+ to solve issue of mail: command not found. Use the renamed package name:

sudo dnf install s-nail

From Repository: @System / appstream

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @System
  • Low reputation (1):
Posted by: Iain4D

79422126

Date: 2025-02-07 20:44:10
Score: 3.5
Natty:
Report link

Hi I dicide to use python 3.12.7 version and all work good. I think the last version that I had doesn't support tensorflow for now.

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

79422121

Date: 2025-02-07 20:41:09
Score: 1
Natty:
Report link

Was getting the same thing. I somehow had Homebrew for x64 installed on my M3.

This this …

import platform
platform.machine()

If you get "x86", you need to brew uninstall and install pkg file from https://github.com/Homebrew/brew/releases/tag/4.4.20

Reasons:
  • Blacklisted phrase (2): getting the same thing
  • Low length (0.5):
  • Has code block (-0.5):
  • High reputation (-1):
Posted by: Timothy Aaron

79422111

Date: 2025-02-07 20:36:08
Score: 0.5
Natty:
Report link

I was constantly encountering the error Fatal signal 11 (SIGSEGV), and after extensive debugging, I narrowed it down to my WebView. When I commented it out, the error disappeared.

After further research and trial and error, I discovered that adding .alpha(0.99f) to the modifier resolved the issue.

Here’s how you can apply it:

AndroidView(
    modifier = modifier
        .fillMaxSize()
        .alpha(0.99f), // This fixed the SIGSEGV crash for me
    factory = { context ->
        // Initialize WebView here
    }
)

I’m not entirely sure why this works, but after months of searching, this simple tweak resolved my issue. If you're facing a similar problem, give this a try!

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing a similar problem
  • High reputation (-1):
Posted by: F.Mysir

79422109

Date: 2025-02-07 20:34:08
Score: 2
Natty:
Report link

The data must be aligned correctly to avoid potential issues with undefined behaviour.

That is not true, generally. You should be able to write safe programs, without undefined behaviour, without dealing at all with alignment. If you have any specific case against this idea, or any specific compiler/architecture that does not hold to this, please post it.

On some platforms (for example x86) rather than undefined behaviour, there is a performance penalty.

Yes, some datatypes are faster to be loaded into registers if they are properly aligned

I understand that in many cases, the required alignment is the same width as the datatype

Yes, and the reason is the same than above. If that helps, you can imagine that somehow, registers are also "aligned", and so moving several bytes to some register is faster if the alignments match.

I want to write some data serialization and deserialization code to read and write data into a buffer. This data will be sent via a network socket between multiple machines. In this case, it would be reasonable to assume that the machines will all have the same endianness to avoid the overhead of needing to discuss converting between host and network byte order.

There are entire books dedicated to binary serialization formats, and yes, alignment, endianness, and precission are key factors to them. My actual answer, if you are in fact presented with the challenge to send data over the network, is to stick with any already established cross-language binary protocol.

Examples:

  1. protobuf https://protobuf.dev/
  2. thrift https://thrift.apache.org/
  3. Binary JSON https://bsonspec.org/
Reasons:
  • RegEx Blacklisted phrase (2.5): please post
  • RegEx Blacklisted phrase (1): I want
  • Long answer (-1):
  • No code block (0.5):
  • High reputation (-1):
Posted by: robermorales

79422103

Date: 2025-02-07 20:32:07
Score: 2.5
Natty:
Report link

I am too late at this but the issue is that the build folder in nest has the following path /app/dist/src/main so in your package.json use this path and then you will be able to execute the code.

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

79422096

Date: 2025-02-07 20:29:06
Score: 8.5 🚩
Natty: 5.5
Report link

I got the exact same issue, did you ever figure it out?

Reasons:
  • RegEx Blacklisted phrase (3): did you ever figure it out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Tom Monnier

79422086

Date: 2025-02-07 20:24:05
Score: 0.5
Natty:
Report link

The short answer is no, but the longer answer is "it depends". If you setup an environment manually, such as by following something like Kubernetes the Hard Way, you will install and configure the Kubelet manually on each Node. It will run as a Daemon. Then, it will register the Node with the API server, and then the Kubelet will be utilized to schedule pods/containers to run on the Node. In this way, Kubelet cannot be a Kubernetes DaemonSet because it is needed to bootstrap the Node to begin with (you can't use Kubelet to schedule itself to the Node so that it can then schedule Pods).

However, cloud providers may do all kinds of interesting things to provision clusters in different ways, so I would not go as far as to say that kubelets are never DaemonSets.

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

79422081

Date: 2025-02-07 20:22:04
Score: 11.5
Natty: 7
Report link

Thank you for posting this, as it has helped. It is doing what I need it to, however, I can't get a trigger to work with it because I keep getting the following error:

"TypeError: input.reduce is not a function"

Can anyone advise? Thanks in advance!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • RegEx Blacklisted phrase (2.5): Can anyone advise
  • RegEx Blacklisted phrase (3): Thanks in advance
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: James

79422078

Date: 2025-02-07 20:21:03
Score: 3
Natty:
Report link

The X-ProxyMesh-IP header will come through for http requests, but now that most websites are https, you need to use a something like scrapy-proxy-headers to get headers from the proxy tunnel.

Reasons:
  • Contains signature (1):
  • Low length (1):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ProxyMesh

79422073

Date: 2025-02-07 20:16:02
Score: 3.5
Natty:
Report link

Man You are a life savor. I would neve ever thought about this small silly problem. Thanks

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

79422051

Date: 2025-02-07 20:06:00
Score: 3.5
Natty:
Report link

Try the above code mentioned by Mohammad if the array is not empty but you are still facing the same issue as in the issue of it not scheduling you should define the type of the notification - In my application Im using a date that is calculated from an API and so i use type: Notifications.SchedulableTriggerInputTypes.DATE in my schedule notifications async then trigger then type now there are multiple types of notification schedulable triggers so you should experiment to see which one best fits your needs - Thanks for taking the time to read this =)

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): facing the same issue
  • Single line (0.5):
  • Low reputation (1):
Posted by: MHK

79422050

Date: 2025-02-07 20:06:00
Score: 1
Natty:
Report link

You could use the location identifier in the month column using the FORMAT statement:

MonthYear = FORMAT([Date], "mmm yyyy", "ru-RU")

Details of the optional argument that specifies the locale identifier for the FORMAT statement taken from here: https://dax.guide/format/

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

79422049

Date: 2025-02-07 20:06:00
Score: 2
Natty:
Report link

To sign a BAA for Google Cloud you must contact the Google Cloud sales department (not billing).

https://cloud.google.com/contact

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

79422041

Date: 2025-02-07 20:02:59
Score: 3.5
Natty:
Report link

With Esqueleto's update function, no. Esqueleto does not support joins in updates.

How can you tell?

Consider the type of update:

update :: (MonadIO m, PersistEntity val, BackendCompatible SqlBackend (PersistEntityBackend val), SqlBackendCanWrite backend) => (SqlExpr (Entity val) -> SqlQuery ()) -> ReaderT backend m ()

The function supplied to update accepts a SqlExpr (Entity val) and returns a SqlQuery.

Can you use InnerJoin to define this function? No. InnerJoin is the constructor for the InnerJoin type. InnerJoin and SqlExpr ... do not unify because SqlExpr is a different type entirely.

What about other ways to do joins? Is there a way to construct a SqlQuery that involves a join against an existing SqlExpr (Entity val)?

Not via direct construction. SqlQuery has no public constructors.

How about via some other function? There is apparently one function of the form a -> SqlQuery b: from. It's actual type is From a a' => a -> SqlQuery a'.

What ToFrom (do not fail to appreciate this delightful name) instances do we have available? We would especially like one with SqlExpr (Entity val) as the first type parameter.

Alas, while there are a number of interesting instances, none of them apparently relate to this case. In some sense this is satisfying as the SQL UPDATE statement does not use a FROM clause. If the Esqueleto from function had been the solution it would have been a strange (though not inconceivable) mismatch in the modeling of the underlying SQL.

I cannot empirically prove a negative but the above avenues are quite suggestive of that answer.

Reasons:
  • Blacklisted phrase (1): Is there a way
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (2.5): can you tell
  • RegEx Blacklisted phrase (2.5): do we have a
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • High reputation (-2):
Posted by: Jean-Paul Calderone

79422033

Date: 2025-02-07 20:00:58
Score: 1
Natty:
Report link

I think you would need to pass the union call as an argument to a subselect which Guidewire says is not allowed:

Note: You cannot use the union method on query objects passed as arguments to the subselect method.

https://docs.guidewire.com/cloud/pc/202411/integration/integration/topics/querybuilderapi/c_ba3266101.html

This might be one of those fun instances that does not have a way to accomplish strictly using a query API call. It certainly would not be as efficient, but you could do both queries and then determine if 2 or more results were returned in gosu code since you are coding it in gosu anyway.

What do you use the results for? Is this a query that you run, get the results, and then take some other action outside of PC? If optimal performance is not important, I would just write this with a combination of query API calls and gosu code and not worry about recreating this SQL query exactly using a query API call.

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

79422029

Date: 2025-02-07 19:59:58
Score: 1
Natty:
Report link

So, I've used two methods for two different applications/use-cases:

1. You can create a .npmrc file in your project and add:

     ignore-scripts=true

When to Use This?

2. Use overrides in package.json:

The best way to block scripts for only one package is by using the overrides field in package.json:

Step 1: Install the Package (Without Running Scripts Initially)

npm install some-package --ignore-scripts

Step 2: Add the following in your package.json:

{
  "overrides": {
    "some-package": {
      "scripts": {}
    }
  }
}

How This Works?

When to Use This?

Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: Priyanka Bangarwa

79422018

Date: 2025-02-07 19:54:56
Score: 7 🚩
Natty: 6.5
Report link

Got this error today, was building fine until i upgrade my eas-cli because the credentials were somehow bugged. Now credentials are not bugged anymore but i am stuck in compressing files.

Any thoughts?

Reasons:
  • Blacklisted phrase (1.5): Any thoughts
  • RegEx Blacklisted phrase (1.5): i am stuck
  • Low length (0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: joaodev

79422013

Date: 2025-02-07 19:51:55
Score: 1
Natty:
Report link

When you open http://localhost:9090 in your browser, you're accessing your local machine on port 9090, where Prometheus is running. Since the browser runs on your host machine, it works as expected.

However, when Grafana, running inside a Docker container, tries to access http://localhost:9090, it does not refer to your local machine. Instead, localhost inside a Docker container refers to the container itself, meaning Grafana is looking for Prometheus inside its own container. Since Prometheus is running in a separate container, Grafana cannot find it this way.

The correct approach is to use the Docker service name instead of localhost. In Docker Compose, each service is assigned a hostname that matches its service name from docker-compose.yml. So, replacing http://localhost:9090 with http://prometheus:9090 works because Grafana can now find Prometheus within the Docker network.

Summary: http://localhost:9090 works in your browser because the browser runs on your local machine. http://localhost:9090 does not work inside Grafana’s container because localhost refers to the Grafana container, not the host machine. http://prometheus:9090 works because Docker provides internal DNS resolution, allowing containers to communicate using service names.
✅✅✅✅✅✅✅✅✅
Pro tip: When connecting services within Docker, always use service names instead of localhost.

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When you
  • Filler text (0.5): ✅✅✅✅✅✅✅✅✅
  • Low reputation (0.5):
Posted by: Qudrat Ullah

79422001

Date: 2025-02-07 19:44:53
Score: 4.5
Natty:
Report link

I cannot reproduce this issue either. Code looks fine on the most part. Could you share more?

Text on my case, was being cut with the height manually set to 56.dp. Removing .height(56.dp) fixed it for me.

Reasons:
  • Blacklisted phrase (0.5): I cannot
  • RegEx Blacklisted phrase (2.5): Could you share
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: Mario

79421999

Date: 2025-02-07 19:42:52
Score: 1
Natty:
Report link

A more general answer to download all models during Docker build:

# Install tiktoken models
RUN python -c "import tiktoken; list(map(tiktoken.get_encoding, set(tiktoken.model.MODEL_TO_ENCODING.values())))"
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: bruno.do.amaral

79421997

Date: 2025-02-07 19:40:51
Score: 4
Natty:
Report link

recently created this project to solve that problem: scrapy-proxy-headers. It will let you correctly send and receive custom headers to proxies (such as proxymesh) when making https requests.

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

79421993

Date: 2025-02-07 19:39:51
Score: 1
Natty:
Report link

Supabase provides a built-in way to handle password reset token validation using the verifyOtp method.

Validate the Reset Token

const { data, error } = await supabase.auth.verifyOtp({
  token: token,
  type: 'recovery'
});

Reference:

Supabase Docs: https://supabase.com/docs/reference/javascript/auth-verifyotp

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

79421983

Date: 2025-02-07 19:35:50
Score: 0.5
Natty:
Report link

For example:

if you have a String "Fri Feb 28 00:00:00 UYT 2025".

You can do:

Date date = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", new Locale("en", "en_US")).parse("Fri Feb 28 00:00:00 UYT 2025");

"Locale" depends of "language" of string value, in this case is "en".

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

79421979

Date: 2025-02-07 19:32:49
Score: 5
Natty: 6.5
Report link

thank you The plugin that I want to put in the WordPress repository has this problem, the problem was solved with your code. But I want to know if there is any problem in the plugin approval process in the WordPress repository? // phpcs:ignore WordPress.DB.DirectDatabaseQuery

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): I want to know
  • RegEx Blacklisted phrase (1): I want
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: amir

79421967

Date: 2025-02-07 19:26:47
Score: 3
Natty:
Report link

new conterion and new building remember snakes real ones outside we have other thing that showed up posing my clr. viral thing in the river of tukwila like black snake and the thing poison allager like frog. in renton last time seen in renton by dollar store

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nikki lynn Hess

79421966

Date: 2025-02-07 19:26:47
Score: 3.5
Natty:
Report link

I found a solution based on this post:

64 bit function returns 32 bit pointer

turns out I needed to define the function which calls the mock().actualCall in my header file of the c function

Reasons:
  • Blacklisted phrase (0.5): I need
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Vivian

79421964

Date: 2025-02-07 19:26:47
Score: 3
Natty:
Report link

As @browsermator said in the comments, you'll have to use websockets since no matter what change you make in your service, the Watcher's view won't be updated as the code runs in a different environment than the Admin.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • User mentioned (1): @browsermator
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Damian

79421953

Date: 2025-02-07 19:22:46
Score: 3
Natty:
Report link

Is your file a flash? If not, leave it outside the flash folder (the flash folder is inside element and can definitely end up creating this mess).

image here!

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

79421949

Date: 2025-02-07 19:20:46
Score: 0.5
Natty:
Report link

I’d suggest automating the process using a Cloud Run function that is triggered whenever a new CSV file is dropped into the GCS bucket. You can use a Python or Node.js script to read the files and transform them. Afterwards, load the data using the appropriate driver or connector. You can read into this article regarding connecting to AlloyDB for PostgreSQL.

If you want to focus more on scheduling the process, consider using Cloud Scheduler. Here’s the documentation for scheduling a cloud run function.

Reasons:
  • Blacklisted phrase (1): this article
  • Whitelisted phrase (-1.5): You can use
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: yannco

79421945

Date: 2025-02-07 19:18:45
Score: 0.5
Natty:
Report link

According to this document, “When you use direct filter mode and no data is available that satisfies the filter, an error is shown. Common error messages include Chart definition invalid and No data is available for the selected timeframe.”

Here are my thoughts to fix this:

  1. Verify the labels and resources types match exactly.

  2. If cross-project aggregation isn't necessary, filter by a single project when querying.

  3. Verify that your account has Monitoring Viewer or higher permissions on all relevant projects.

Reasons:
  • Blacklisted phrase (1): this document
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: KikoZam

79421941

Date: 2025-02-07 19:16:45
Score: 2.5
Natty:
Report link

C uses octal (\nnn) as a default for escape sequences for characters with values beyond the basic ASCII range. This is part of the C standard. If you want a hexadecimal representation, you have to explicitly format it.

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

79421940

Date: 2025-02-07 19:16:45
Score: 1
Natty:
Report link

I let this issue aside for a while, and looking it with new eyes, I found the issue was on my AppDelegate file.

I renamed it to AppDelegate.mm, and removed some options I had there.

In case anyone stumbles upon the same issue, post here and I can try to help y'all

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

79421939

Date: 2025-02-07 19:16:45
Score: 0.5
Natty:
Report link

Use lib commons-crypto from org.apache.commons

import org.apache.commons.codec.digest.Crypt;

String crypt = Crypt.crypt("secret", "$1$xxxx");
System.out.println(crypt);

will return

$1$xxxx$aMkevjfEIpa35Bh3G4bAc.
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Dmitry1405

79421934

Date: 2025-02-07 19:15:44
Score: 1
Natty:
Report link

the problem occurs in all templates of the extension. as written there is nothing special, simply a list of fields that are output. even if I insert this

<f:link.typolink parameter="1" additionalAttributes="{onclick: 'history.back()'}">Back</f:link.typolink>

only a link without onclick comes out

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

79421932

Date: 2025-02-07 19:11:43
Score: 2.5
Natty:
Report link

According to this documentation, HIP_VISIBLE_DEVICES environment variable should have the same effect. So:

os.environ["HIP_VISIBLE_DEVICES"]="0"
Reasons:
  • Blacklisted phrase (1): this document
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: mmcmp