79280655

Date: 2024-12-14 12:55:07
Score: 6 🚩
Natty:
Report link

Please share solution if you are able to resolve this issue.

Reasons:
  • RegEx Blacklisted phrase (2.5): Please share solution
  • Low length (1.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Akshay

79280653

Date: 2024-12-14 12:52:06
Score: 3.5
Natty:
Report link

Variables that can be defined through the gitlab UI are CI/CD variables. Any variables that can be changed/created during job execution are other variables that are not related to CI/CD variables, they exist only within one job and can only be passed to subsequent tasks via dotenv. https://docs.gitlab.com/ee/ci/variables/#:~:text=These%20variables%20cannot%20be%20used%20as%20CI/CD%20variables%20to%20configure%20a%20pipeline

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

79280648

Date: 2024-12-14 12:46:04
Score: 1
Natty:
Report link

I am using Colima to run docker engine on my mac. I was facing similar issue when pulling an image. I added nameserver 8.8.8.8 and nameserver 8.8.4.4. in /etc/resolv.conf file and restarted colima with command -> colima restart. After that, I was able to pull the image.

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

79280640

Date: 2024-12-14 12:40:03
Score: 0.5
Natty:
Report link

The reason is from Iran you can not download packages directly;

with using VPN, your problem will be fixed. worked for me ;))

Reasons:
  • Whitelisted phrase (-1): worked for me
  • Low length (1):
  • No code block (0.5):
Posted by: kian

79280639

Date: 2024-12-14 12:40:03
Score: 1
Natty:
Report link

Well you can use this scope:- https://www.googleapis.com/auth/user.birthday.read


See and download your exact date of birth. But still dont know how to access inside the supabase.

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Mohd Aadil

79280638

Date: 2024-12-14 12:40:03
Score: 3
Natty:
Report link

The responsability of high cpu usage for PyCharm is "numpy". Try to disinstall numpy to believe. Only workaround is to set safe power mode on from the file menu in Pycharm

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

79280613

Date: 2024-12-14 12:24:00
Score: 1
Natty:
Report link

Doing the same configure, make, and make install for all dependencies (ThirdParty-ASL, ThirdParty-HSL or ThirdParty-Mumps) and then for Ipopt should suffice. Ipopt should pick up the installed dependencies automatically. make test should report that tests were successful and make install should report no error. There are examples included with Ipopt, which one should be able to compile and run after Ipopt has been installed.

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

79280612

Date: 2024-12-14 12:23:00
Score: 0.5
Natty:
Report link

A very slight simplification on the existing answer - move the for loop into a list comprehension to avoid redefining / overwriting the gt variable and style.text(weight="bold")

Also used df.drop("id") as a simpler alternative to df.select(cs.exclude("id"))

import polars as pl
import polars.selectors as cs
from great_tables import GT, loc, style

df = pl.DataFrame({
    "id": [1, 2, 3, 4, 5],
    "variable1": [15, 25, 5, 10, 20],
    "variable2": [40, 30, 50, 10, 20],
    "variable3": [400, 100, 300, 200, 500]
})

(
    GT(df)
    # `df.style` works too
    .tab_style(
        style.text(weight="bold"),
        locations=[
            loc.body(col, pl.col(col).is_in(pl.col(col).top_k(3)))
            for col in df.drop("id").columns
        ],
    )
)

great tables table

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

79280611

Date: 2024-12-14 12:22:00
Score: 1
Natty:
Report link

In my case a package I previously installed was missing somehow... so I had to re-install it using npm

npm install expo-secure-store

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

79280597

Date: 2024-12-14 12:13:57
Score: 0.5
Natty:
Report link

Thanks to gthanop's answer I was able to figure out a solution to the issue. Here is the updated code

// Add a mouse listener
c.addMouseMotionListener(new MouseAdapter() {
    // If the mouse is moved
    public void mouseMoved(MouseEvent e) {
        // Get the current X
        int currentX = e.getX();
        // Get the current Y
        int currentY = e.getY();
                
        // Get the current X on screen
        int currentXOnScreen = f.getX() + currentX;
        // Get the current Y on screen
        int currentYOnScreen = f.getY() + currentY;
                
        // Get the mouse X position delta
        infiniteMouse.x += (currentXOnScreen - infiniteMouse.centerX) + 8;
        // Get the mouse Y position delta
        infiniteMouse.y += (currentYOnScreen - infiniteMouse.centerY) + 8;
                
        // Move the mouse to the center
        robot.mouseMove(infiniteMouse.centerX, infiniteMouse.centerY);
    }
});

I believe that Robot.moveMouse infact does not move the pointer to the specified location but sets the center of the pointer to the specified location. That is why I add 8 to the difference. However I am not sure as to what the reason could be but since it works I will just leave it like that.

This answer provides a solution to the problem in the question. However gthanop's answer provides a lot more detail I highly recommend reading that

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Bob the Builder

79280593

Date: 2024-12-14 12:10:57
Score: 1.5
Natty:
Report link

did this also added MAX steps as i think older versions of gym are done after certain amount of steps MAX_STEPS = 200 for episode in range(1,EPISODES):

if episode%2000 == 0:
    render_mode = "human"
    print(episode)
else:
    render_mode = None

env = gym.make("MountainCar-v0", render_mode=render_mode)
env.reset()
steps = 0
discrete_state = get_discrete_state(initial_observation)
done = False


while not done and steps < MAX_STEPS:
Reasons:
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Starts with a question (0.5): did this also add
  • Low reputation (1):
Posted by: Cosmic

79280591

Date: 2024-12-14 12:09:56
Score: 4
Natty:
Report link

Datamodel app.config

add name="dentnedEntities" connectionString="metadata=res://*/Entity.Model_dentned.csdl|res://*/Entity.Model_dentned.ssdl|res://*/Entity.Model_dentned.msl;provider=System.Data.SqlClient;provider connection string=&quot;data source=DESKTOP-G8O66SS;initial catalog=dentned;integrated security=True;MultipleActiveResultSets=True;&quot;" providerName="System.Data.EntityClient"

application app.config

add name="dentnedEntities" connectionString="metadata=res:///DG.DentneD.Model.Entity.Model_dentned.csdl|res:///DG.DentneD.Model.Entity.Model_dentned.ssdl|res://*/DG.DentneD.Model.Entity.Model_dentned.msl;provider=System.Data.SqlClient;provider connection string="data source=DESKTOP-G8O66SS;initial catalog=dentned;integrated security=True;MultipleActiveResultSets=True;"" providerName="System.Data.EntityClient"

PAth is different. Please help me

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Please help me
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: user3843604

79280587

Date: 2024-12-14 12:06:55
Score: 3.5
Natty:
Report link

chirayu you use via url for payment and check navigation state with return url

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

79280584

Date: 2024-12-14 12:04:55
Score: 3
Natty:
Report link

Implementation of the Hessian is missing.

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

79280583

Date: 2024-12-14 12:04:55
Score: 3.5
Natty:
Report link

Add the dependency in POM

https://mvnrepository.com/artifact/io.github.ilankumarani/naming-strategy-resolver

refer the readMe file for for more information

https://github.com/ilankumarani/naming-strategy-resolver

Note: Minimum java 11 is required

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

79280582

Date: 2024-12-14 12:03:53
Score: 5.5
Natty: 5.5
Report link

Anyway we can avoid huge WAL generation during this time?

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

79280555

Date: 2024-12-14 11:38:47
Score: 0.5
Natty:
Report link

I found a solution by referring to this GitHub issue: https://github.com/encode/uvicorn/issues/369.

To be more specific, I changed the way I was starting my FastAPI web app. Previously, I used:

fastapi run --workers 4 app/main.py

I switched to using directly Uvicorn with the following command:

uvicorn your_app:app --host 0.0.0.0 --port 8000 --proxy-headers --forwarded-allow-ips "*"

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

79280553

Date: 2024-12-14 11:38:47
Score: 3
Natty:
Report link

In My case, I forget to write .Provider with my createdContext.

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

79280550

Date: 2024-12-14 11:36:46
Score: 1
Natty:
Report link

using openstack dalmatian even after following the exact steps provided in the official install guide and neutron install guide or a selfservice network i have a bridged ens38 interface with no ip assigned to it i create the br-provider and linked it to the interface create two networks selfservice and privoder and their related subnet and a router i still can ping the defailt gateaway of the provider network from my controller cli and even using the router namespace this is the output root@Controller-PiCloud:/home/zormatihend# sudo ip netns exec qrouter-127d580b-954a-44a2-a10b-d9268babfba2 arp -a ? (203.0.113.1) at b8:d4:bc:28:1e:03 [ether] on qg-f6d40002-d7 root@Controller-PiCloud:/home/zormatihend# sudo ip netns exec qrouter-127d580b-954a-44a2-a10b-d9268babfba2 netstat -rn Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 203.0.113.1 0.0.0.0 UG 0 0 0 qg-f6d40002-d7 172.16.1.0 0.0.0.0 255.255.255.0 U 0 0 0 qr-abece065-bf 203.0.113.0 0.0.0.0 255.255.255.0 U 0 0 0 qg-f6d40002-d7 root@Controller-PiCloud:/home/zormatihend# sudo ip netns exec qrouter-127d580b-954a-44a2-a10b-d9268babfba2 arp -a ? (203.0.113.1) at b8:d4:bc:28:1e:03 [ether] on qg-f6d40002-d7 root@Controller-PiCloud:/home/zormatihend# sudo ip netns exec qrouter-127d580b-954a-44a2-a10b-d9268babfba2 ping -c 1 203.0.113.1 PING 203.0.113.1 (203.0.113.1) 56(84) bytes of data.

--- 203.0.113.1 ping statistics --- 1 packets transmitted, 0 received, 100% packet loss, time 0ms

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

79280548

Date: 2024-12-14 11:36:46
Score: 1
Natty:
Report link
Model.validators.select { |v| v }.flat_map(&:attributes).uniq

This will return list of all attributes which has at least one validation applied on it.

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

79280528

Date: 2024-12-14 11:26:43
Score: 5
Natty:
Report link

This worked:

public T GetScript<T>() where T : Script

Thanks @shingo. Link to solution

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Low length (1.5):
  • Has code block (-0.5):
  • User mentioned (1): @shingo
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Waarnov

79280524

Date: 2024-12-14 11:21:43
Score: 0.5
Natty:
Report link

You were pretty close in your last snippet! For the locations argument to accept a list, it needs to be done in a list comprehension, or ahead of time, outside the tab_style method call.

import polars as pl
from great_tables import GT, style, loc

# define `gt_sample_df` as per example snippet

required_columns = gt_sample_df.drop("Test",'Lower Range','Upper Range').columns

(
    GT(gt_sample_df)
    .tab_style(
        style=[style.text(color="Navy"), style.fill(color="PaleTurquoise")],
        locations=[
            loc.body(columns=col_name, rows=pl.col(col_name) > pl.col("Upper Range"))
            for col_name in required_columns
        ]
    )
)

great table output

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

79280522

Date: 2024-12-14 11:19:42
Score: 5
Natty:
Report link

finally i got the solution's form Flutter GitHub issue part: https://github.com/flutter/flutter/issues/156304

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

79280521

Date: 2024-12-14 11:19:41
Score: 4
Natty:
Report link

Thank you both, this worked completly fine and was an easy approach both of them worked ps: I cant cast vote but i will make sure to caste an upvote after i am eligible. Thanks again

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): upvote
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Khan

79280517

Date: 2024-12-14 11:15:40
Score: 0.5
Natty:
Report link

make sure your device doesn't have an app already installed ... sometimes it's not visible on the main screen...

To make sure go to

settings => Apps => See all apps => click on top right corner and search your app => uninstall

... (if the uninstall button is disabled then click on the right-top corner and uninstall it for all users)

Reasons:
  • No code block (0.5):
Posted by: Wahab Khan Jadon

79280513

Date: 2024-12-14 11:12:39
Score: 5.5
Natty:
Report link

Check with this link to upload your githup code and integrate with Azure AI .

USEFULL link: https://youtube.com/playlist?list=PLJoEt7pdSz_2g8-S0okMJkh0apGRcRu29&si=8vMFnmIxOYYd6Ro1

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

79280502

Date: 2024-12-14 11:01:37
Score: 3
Natty:
Report link

Found the answer if you want to set decimal number in reality composer pro use comma separator (,)

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Jais Anasrulloh Ja'fari

79280488

Date: 2024-12-14 10:51:33
Score: 6.5 🚩
Natty:
Report link

Can you please provide the Spring Boot Version of your application. Additionally Please refer this documents. https://springdoc.org/

Reasons:
  • Blacklisted phrase (1): this document
  • RegEx Blacklisted phrase (2.5): Can you please provide
  • Low length (1):
  • No code block (0.5):
  • Starts with a question (0.5): Can you please
  • Low reputation (1):
Posted by: Girish G

79280487

Date: 2024-12-14 10:50:32
Score: 1
Natty:
Report link

Solution #1:

Expression<String>("id")

For this line just simply add SQLite. As a result we should have:

SQLite.Expression<String>("id")

Solution #2, global fix:

typealias Expression = SQLite.Expression

or

import SQLite.Expression

Just put this at the beginning. I searched a lot but didn't find any similar titles or solutions for this error at first, therefore maybe it would be useful for someone. Any other interesting solutions?

Reasons:
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • High reputation (-1):
Posted by: J A S K I E R

79280471

Date: 2024-12-14 10:40:28
Score: 6 🚩
Natty:
Report link

I have the same problem. I believe it does not come from the character ^ or ¨ itself, but the fact that, on the French keyboard, they appear in an intermediate state so that you can type a letter that can be accentuated (i.e. typing "¨ + e" gives out the "ë" letter. This intermediate state may not be supported by the app, which makes the program crash. Try copy-pasting the character and see if that works. Otherwise, maybe try another python editor.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: NaN2024

79280453

Date: 2024-12-14 10:26:25
Score: 6.5
Natty: 7.5
Report link

How can I apply that to a sphere (geosphere, or regular)?

Reasons:
  • Blacklisted phrase (0.5): How can I
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): How can I
  • Low reputation (1):
Posted by: Leith

79280439

Date: 2024-12-14 10:13:23
Score: 1
Natty:
Report link

The weight() modifier distributes the available space between elements in a given ratio. By removing this modifier, you let the UI elements set their own size (which is most likely fillMaxWidth()), so the second elements in the Row are not displayed

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

79280432

Date: 2024-12-14 10:10:22
Score: 3
Natty:
Report link

iOS Safari requires the playsinline attribute for videos to play inline (especially for muted, autoplay videos).

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

79280418

Date: 2024-12-14 09:59:20
Score: 2
Natty:
Report link
(metric{id="$id"} default 0) == 0
Legend: "Not Connected"

Returns 0 only if query is null. else returns null if the metrics is always 1 or null.

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

79280413

Date: 2024-12-14 09:56:19
Score: 2.5
Natty:
Report link

Enabling S3 versioning does not affect existing files directly. When versioning is enabled, new versions of objects are created when changes are made, but the existing files will still remain in their original state, accessible via their version ID.

If you want to see a demonstration on how to enable versioning and manage object versions, I’ve created a brief video tutorial that walks through the entire process. You can check it out here: https://www.youtube.com/watch?v=NEf3fd6CVSw&t=47s

Let me know if you have any further questions!

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (0.5): check it out
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abhishek

79280403

Date: 2024-12-14 09:51:17
Score: 5.5
Natty:
Report link

please try to use fine-tune N-shot

https://www.youtube.com/watch?v=4wtrl4hnPT8&t=1731s&ab_channel=codebasics https://github.com/codebasics/langchain/blob/main/4_sqldb_tshirts/few_shots.py

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

79280389

Date: 2024-12-14 09:32:13
Score: 1.5
Natty:
Report link

If you replace your add_colorbar function calls by this:

plt.colorbar(kde.collections[0], shrink=0.8, orientation='horizontal', location='bottom', pad=0.05, anchor=(0.0, 0.5))
plt.colorbar(scatter, shrink=1.0, orientation='vertical', location='right', pad=0.05, anchor=(0.0, 0.5))

You will get:

res

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

79280385

Date: 2024-12-14 09:30:13
Score: 0.5
Natty:
Report link

The issue you're encountering stems from the fact that Hibernate (and JPA in general) doesn't fully support nested Java records, particularly when trying to map nested relationships like the Set in your RoomRecord. Hibernate is likely struggling to construct the query for the nested structure Room_.beds, which is represented as a Set.

Try and Fetch the Collection Separately, the easiest approach is to handle the Set separately. You can fetch Room and Bed entities separately, then map them manually to RoomRecord in your Java code.

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

79280382

Date: 2024-12-14 09:28:12
Score: 1.5
Natty:
Report link

I solved my question. My error was to calculate altezzaCella and larghezzaCella in proportion to the dimensions of the screen.

Reasons:
  • Whitelisted phrase (-2): I solved
  • Low length (1):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Daniele Tamiozzo

79280380

Date: 2024-12-14 09:27:12
Score: 2.5
Natty:
Report link

I delete build folder and restart IDE. fix the problem.

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Maysam R

79280378

Date: 2024-12-14 09:27:12
Score: 2.5
Natty:
Report link

In addition to what you did, you may try also this Modify android>settings.gradle file with this

id "com.android.application" version "8.3.2" apply false

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

79280361

Date: 2024-12-14 09:14:10
Score: 1
Natty:
Report link

Unfortunately, Excel does not natively offer a feature to automatically refresh all the detail views (drill-through sheets) generated from a PivotTable. However, you can automate this process using VBA. Below is an approach to refresh all detail views using VBA:

Steps to Refresh All Drill-Through Detail Views with VBA

  1. Clear Old Detail Sheets: Write VBA code to identify and delete existing drill-through sheets.

  2. Regenerate Detail Views: Automate double-clicking on the appropriate cells to regenerate the drill-through sheets.

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

79280357

Date: 2024-12-14 09:11:09
Score: 2.5
Natty:
Report link

If you are searching to switch between old and new UI in Ladybug, then it is not possible, it only supports new UI.

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

79280353

Date: 2024-12-14 09:07:07
Score: 7 🚩
Natty: 6.5
Report link

I`m so sorry, but what about .net 8.0? I have the same problem with creating my controller for ASP Core (MVC) and all my packages are 8.0 version (only Web.CodeGenerator.Design with 8.0.7)...

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (0.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Vader

79280345

Date: 2024-12-14 09:03:05
Score: 1
Natty:
Report link

Fixed for me after

npm install @mui/icons-material

See relevant documentation section.

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

79280341

Date: 2024-12-14 08:56:03
Score: 9 🚩
Natty: 5
Report link

did you manage to find the solution to this. I am having the same issue. When I create a new table in dataverse I am unable to see this table in dataflow for some reason.

Reasons:
  • RegEx Blacklisted phrase (3): did you manage to find the solution to this
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I am having the same issue
  • Single line (0.5):
  • Starts with a question (0.5): did you
  • Low reputation (1):
Posted by: user1395968

79280340

Date: 2024-12-14 08:54:02
Score: 2
Natty:
Report link

Firstly, the esp32 module only supports the ip4 protocol and WPA2 encryption. You can check if your WIFI is set up correctly. In addition, ESP32 moudle is also only can use 4G wifi whose frequency is 2.4GHz. If it still not work, make sure that there is no special characters in your WIFI name and password, or try to make WIFI without password. Check these and have a try again. Good luck to you!

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

79280336

Date: 2024-12-14 08:53:02
Score: 2
Natty:
Report link

Read more on this one is the first time I think it would be a good time for a good time and money by buying a good time and consideration in advance for your time and consideration in this one is the first time in the morning to you soon and consideration in this one and consideration I look at the first time in this one is the best way for me to the best way to the best way to be in the first time to get a chance to get to the first to the uy to be

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

79280335

Date: 2024-12-14 08:52:01
Score: 2
Natty:
Report link

If you don't need to short-circuit, you can multiply 0 or 1 times each alternative using boolean operators (or sign). (x>0)*1+(~x)0+(x<0)-1

Octave has the ifelse / merge command, which is exactly what you want. merge(x>0,1,merge(x<0,-1,0))

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

79280327

Date: 2024-12-14 08:45:00
Score: 0.5
Natty:
Report link

Configuring a VPC and subnets in AWS can seem a bit daunting at first, but once you understand the core components, it gets easier. Here’s a quick rundown of the process:

Create a VPC:

You start by creating a Virtual Private Cloud (VPC), which essentially acts as your network in the AWS cloud. During the VPC creation, you’ll define the CIDR block (e.g., 10.0.0.0/16), which will allocate a range of IP addresses for your VPC. Set up Subnets:

Subnets allow you to organize your resources within the VPC. You can create public subnets (for resources that need internet access) and private subnets (for backend resources). When creating subnets, you’ll specify which Availability Zone (AZ) they will reside in, which can help with high availability. Internet Gateway & Routing:

Attach an Internet Gateway to your VPC to enable communication with the internet. Then, set up routing rules, ensuring that the public subnets have a route to the Internet Gateway for internet access. Security Groups:

Security Groups act as virtual firewalls for your resources. You’ll want to configure them to allow the necessary inbound and outbound traffic. If you’re new to AWS, it can help to see a hands-on demonstration of how to set this up. I’ve created a video tutorial where I walk through the entire process of setting up a VPC with subnets, security groups, and routing, which could be helpful if you want a step-by-step visual guide.

You can check it out https://www.youtube.com/watch?v=_EbmmV74xng&t=149s if you're interested!

Hope this helps, and feel free to ask if you run into any specific issues while working through your VPC setup. Happy to assist further!

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Blacklisted phrase (0.5): check it out
  • Whitelisted phrase (-1): Hope this helps
  • Long answer (-1):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Abhishek

79280316

Date: 2024-12-14 08:33:58
Score: 0.5
Natty:
Report link

I think the best way would be to parallelize the following part of your code with Jax (it can help you even if function1 is not a pure function)

constant_value * (array1[j,k] * function1(i - j))

Pseudo code if it is a pure function:

> Pre-calculate each value for all i and j combinations
> use Jax for parallel multiplication of the above part of the code 
> generate the value of array2[i,k] in the similar way with these precomputed values

If it is not a pure function then you can refer the following link to see how to you can parallelize it. Refer this link

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

79280315

Date: 2024-12-14 08:33:58
Score: 1
Natty:
Report link

To automate this, I suggest you following these steps.

  1. Check the Slack bolt Api and create a bot which would listen to certain triggers such as slash commands. (Example: typing /create-sheet would trigger a UI element on slack which would be a form with necessary fields to add a google sheet)

  2. Use N8N. Create a workflow (Webhook -> google sheets create node). When you submit the form through slack. You trigger a webhook with necessary data to create a google sheet. Rest would be handled by n8n.

Please check Creating a slack bot Please check n8n google sheets automation.

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

79280313

Date: 2024-12-14 08:32:58
Score: 3.5
Natty:
Report link

I had the same challenge and finally here is a full PS solution for this: How to Toggle Airplane Mode in Windows Using PowerShell?

Reasons:
  • Whitelisted phrase (-1): I had the same
  • Probably link only (1):
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • High reputation (-1):
Posted by: Carsten

79280303

Date: 2024-12-14 08:24:56
Score: 2.5
Natty:
Report link

You can removed the ^ to retain the at 7.1.2 version. React Native: ^0.72.15 React: 18.2.0

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

79280302

Date: 2024-12-14 08:24:56
Score: 1
Natty:
Report link

Following code will solve the problem in Kotlin :

binding.tagColorsRecyclerVw.scrollToPosition(position)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Mudit Goel

79280282

Date: 2024-12-14 08:04:52
Score: 2
Natty:
Report link
#[derive(Clone, serde::Serialize, serde::Deserialize)]
pub struct Person {
    pub firstname: String,
    pub lastname: String,
    pub age: u8
}

It works, thank you very much!

For those who are also struggle like me.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: codeWcay

79280281

Date: 2024-12-14 08:03:52
Score: 2.5
Natty:
Report link

try find if

.git/refs/remotes/origin/upload.lock
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Low reputation (1):
Posted by: chen haojun

79280273

Date: 2024-12-14 07:52:50
Score: 1.5
Natty:
Report link

I think you should also check the Resume/CV Parsing API from SharpAPI.com - it ingest wide variety of files like PDF, DOC, DOCX, TXT, RTF More info +output data formats here: https://sharpapi.com/en/catalog/ai/hr-tech/resume-cv-parsing

There is also a full set of SDK Clients available for all most popular platforms like Node/JS, Python, .NET, PHP, Laravel or Flutter. https://github.com/sharpapi/

It uses LLM and some NLP techniques to parse the CV so I don't think you will get better results than this one.

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

79280269

Date: 2024-12-14 07:49:49
Score: 0.5
Natty:
Report link

If you're working on a collaborative project, it's best to add the settings to the project folder so this fixes the issue for everyone.

  1. Create a .vscode/settings.json file
  2. Paste the files.association config:
{
  "files.associations": {
     "*.css": "tailwindcss"
  }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Victor Eke

79280267

Date: 2024-12-14 07:48:49
Score: 3
Natty:
Report link

I wrote this post in my blog 5 years ago. Hope it can help

Reasons:
  • Whitelisted phrase (-1): Hope it can help
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: SergeGirard

79280261

Date: 2024-12-14 07:44:47
Score: 6 🚩
Natty: 5
Report link

May I ask if the user executing this program is a SYS or similar system user? Would it be possible for a regular DBA user to avoid this error?

Reasons:
  • Blacklisted phrase (1): May I ask
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: 仰望星空

79280259

Date: 2024-12-14 07:43:46
Score: 3.5
Natty:
Report link

try auth()->guard()->attempt()

Reasons:
  • Low length (2):
  • Has code block (-0.5):
  • Has no white space (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Mihir Manoj Lakhamje

79280258

Date: 2024-12-14 07:42:46
Score: 1
Natty:
Report link

This is a known open issue.

The most basic solution is to uncheck the Break when this exception type is user-unhadled in the Exception Settings:

Exception of type 'Microsoft.AspNetCore.Components.NavigationException' was thrown

Reasons:
  • Whitelisted phrase (-1): solution is
  • Probably link only (1):
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Farzad M.

79280251

Date: 2024-12-14 07:38:44
Score: 6 🚩
Natty:
Report link

Ios build failed issue with latest xcode version, same error like above people got.

Reasons:
  • RegEx Blacklisted phrase (1): same error
  • Probably link only (1):
  • Low length (2):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: swamy digitalraiz

79280241

Date: 2024-12-14 07:30:42
Score: 0.5
Natty:
Report link

I would like to add a Powerquery approach. Translating 100k to the actual numeric value, algebraically, then, 100k is 100(k). So, now I can have logic applied intuitively which is to say 100k is two values, one hundred and k. In powerquery I split 100k using split columns:

= Table.SplitColumn(#"Changed Type", "Column1", Splitter.SplitTextByDelimiter("k", QuoteStyle.Csv), {"Column1.1", "Column1.2"}) = Table.TransformColumnTypes(#"Split Column by Delimiter",{{"Column1.1", Int64.Type}, {"Column1.2", type text}}) Note by using the split function, a transformation followed. The 100k which was read in as text becomes two columns, the 100 now reads as integer and the second column is the one after the k which is a text. Part one done. Now we need to take one hundred and times it by 1,000:

Use the following powerquery (step):

[add column, custom fx] = Table.AddColumn(#"Changed Type1", "Column1New", each [Column1.1]*1000)

Colunn1New now holds 100000.

Analysis: note that these power query steps reflect common programming logic such as that found in python:

for k in string:
k = (k) return string out: 100(k) [note we would save the function as 'afunc(string)' and call it afunc(100k)] .. we would use the transform 100(k) idea by using the split function on '(' that gives two values, a number 100 and the string 'k)'. And we would then only use the one hundred value, save it to a variable and times it by 1,000 in another function or class.

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

79280237

Date: 2024-12-14 07:26:41
Score: 1
Natty:
Report link

Sub LoadBoth(ByVal R1C0 As Integer) Dim newbox As TextBox, ThisIndex As Integer Panel1.Controls.Clear() itswidth = Val(Textwidth.Text) ItsHeigt = Val(TextHeigt.Text) gapLeft = Val(TextLeftGap.Text) GapTop = Val(TextTopGap.Text) GapCol = Val(TextGapX.Text) GapRow = Val(TextGapY.Text) NumCols = Val(TextCols.Text) NumRows = Val(TextRow.Text) ' BTRVER() As Button, BTNHOR() As Button BTNAll = New Button BTNAll.Location = New Point(13, 119) BTNAll.Size = New Drawing.Size(itswidth * 2, ItsHeigt * 2) AddHandler BTNAll.MouseMove, AddressOf AllSumHere AddHandler BTNAll.Click, AddressOf AllSumHere BTNAll.Text = "SUM" BTNAll.Visible = True BTNAll.BackColor = Color.Brown Me.Controls.Add(BTNAll) ReDim BTRVER(NumRows) Panelver.Controls.Clear() Dim newBTN As Button Dim VarRow As Integer = 0 For VarRows = 1 To NumRows newBTN = New Button newBTN.Size = New Drawing.Size(itswidth, ItsHeigt) newBTN.Location = New Point(gapLeft, GapTop + (ItsHeigt + GapRow) * (VarRows - 1)) newBTN.Name = "B" & VarRows newBTN.Text = VarRows ' newbox.Name AddHandler newBTN.MouseMove, AddressOf BTNRowCLICK '2 AddHandler newBTN.Click, AddressOf BTNRowCLICK '2 BTRVER(VarRows) = newBTN Panelver.Controls.Add(newBTN) Next Panelver.Height = (GapRow + ItsHeigt) * Val(TextRow.Text) + 10 '''''''''''''''''''''''''''''' Dim VarCol As Integer Dim newHor As Button ReDim BTNHOR(NumCols) Panelhori.Controls.Clear() For VarCol = 1 To NumCols newHor = New Button newHor.Size = New Drawing.Size(itswidth, ItsHeigt) newHor.Location = New Point(gapLeft + (itswidth + Val(TextGapX.Text)) * (VarCol - 1), GapTop) newHor.Name = "B" & VarCol newHor.Text = VarCol ' newbox.Name AddHandler newHor.MouseHover, AddressOf BTNColCLICK '2 AddHandler newHor.Click, AddressOf BTNColCLICK '1 BTNHOR(VarCol) = newHor Panelhori.Controls.Add(newHor) Next Panelhori.Width = (GapCol + itswidth) * Val(TextCols.Text) + 10 ''''''''''''''''''''''''''''''' ReDim runtext(NumRows * NumCols) For VarRows As Integer = 1 To NumRows For VarCol = 1 To NumCols newbox = New TextBox newbox.Size = New Drawing.Size(itswidth, ItsHeigt) If R1C0 = 1 Then ThisIndex = (VarCol - 1) * NumRows + VarRows ' For VarRows ElseIf R1C0 = 0 Then ThisIndex = (VarRows - 1) * NumCols + VarCol 'For VarCol End If newbox.Location = New Point(gapLeft + (itswidth + Val(TextGapX.Text)) * (VarCol - 1), GapTop + (ItsHeigt + GapRow) * (VarRows - 1)) newbox.Name = "T" & ThisIndex 'VarRows & "_" & VarCol newbox.Text = ThisIndex ' newbox.Name AddHandler newbox.TextChanged, AddressOf TextBox_TextChanged runtext(ThisIndex) = newbox runtext(ThisIndex).Multiline = True Panel1.Controls.Add(newbox) Next Next Panel1.Width = (GapCol + itswidth) * Val(TextCols.Text) + 10 Panel1.Height = (GapRow + ItsHeigt) * Val(TextRow.Text) + 10 Me.Height = Panel1.Height + Panel1.Top + 100 Me.Width = Panel1.Width + Panel1.Left + 100 'Me.AutoScroll = True Me.Location = New Point(10, 10) End Sub

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Filler text (0.5): ''''''''''''''''''''''''''''''
  • Filler text (0): '''''''''''''''''''''''''''''''
  • Low reputation (1):
Posted by: gs singh

79280235

Date: 2024-12-14 07:26:41
Score: 1.5
Natty:
Report link

You are using react v17 in your project and v18 in your ui library. and that's why you are getting this error.

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

79280232

Date: 2024-12-14 07:24:41
Score: 1.5
Natty:
Report link

According to me, this line sets the web application name. This is mostly useful to fetch application configurations in case you have a remote cloud config in place, meaning that you have a separate remote repository where you store all of your configurations in a remote git repository. It is a fairly known concept of springboot.

You can read more about it here: https://docs.spring.io/spring-cloud-config/docs/current/reference/html/

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

79280228

Date: 2024-12-14 07:21:40
Score: 3
Natty:
Report link

After going through the w3schools documentation and taking @AHaworth, @Yogi, and @alvinalvord's solutions, I have ended up with an answer myself. I would like to thank you all for your involvement.

The typewriter effect is a bit challenging when it comes to multiple elements with the conditions set by me:

By combining CSS properties like visibility, nth-child(n), animation-fill-mode I was able to achieve what I desired:

:root {
  --typing-effect: typing 2s steps(24, end);
  --blink-effect: blink 1s step-end; 
}

.typewriter {
  font-family: monospace;
  display: flex;
  justify-content: center;
  font-size: 1.5rem;
}

.typewriter p {
  overflow: hidden;
  /* Ensures text doesn't overflow */
  white-space: nowrap;
  /* Prevents text from wrapping */
  border-right: 2px solid black;
  /* Simulates a typing cursor */
  visibility: hidden;
  width: fit-content;
}

/* Typing animation */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink { 50% { border-color: transparent; }}

/* Hide the cursor at the end. */
@keyframes hide { to { border-color: transparent; }}

/* Shows only after the previous animation is complete */
@keyframes show {
  from { visibility: hidden; }

  to { visibility: visible; }
}

/* Applying the animation */
p:nth-child(1) {
  visibility: visible;
  animation: var(--typing-effect), var(--blink-effect), hide 2s step-end;
  /* Adjust based on text length */
  animation-fill-mode: forwards;
}

p:nth-child(2) {
  animation: show 0s 2s, var(--typing-effect) 2s, var(--blink-effect), hide 4s step-end;
  /* Adjust based on text length */
  animation-fill-mode: forwards;
}

p:nth-child(3) {
  animation: show 0s 4.2s forwards, var(--typing-effect) 4.2s, var(--blink-effect) infinite;
}
<div class="typewriter">
  <div>
    <p>Hello, Welcome to stack overflow!</p>
    <p>Let's get started!</p>
    <p>Good Morning Peers!</p>
  </div>
</div>

  1. The visibility:hidden property ensures subsequent lines remain hidden until their animations start.

  2. The nth-child(n) selector synchronizes the animations for each line.

  3. The animation-fill-mode:forwards keeps the lines visible after typing.

Even though I have achieved what I wanted, there are still some issues with the spacing. If you run the snippet you can see that the cursor extends to the full-width of the element even though I have set width: fit-content to all <p> elements.

If anyone can solve this problem, it would be a great help.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Blacklisted phrase (1): Good Morning
  • RegEx Blacklisted phrase (0.5): anyone can solve
  • Long answer (-1):
  • Has code block (-0.5):
  • User mentioned (1): @AHaworth
  • User mentioned (0): @Yogi
  • User mentioned (0): @alvinalvord's
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nayan Anand

79280227

Date: 2024-12-14 07:19:40
Score: 1
Natty:
Report link

OK, so the solution is extremely complicated and advanced. Only the wisest and most intelligent programmers are able to execute these highly precise instructions. If you are a newbie, look away now, I don't want your eyes to explode, with how complex this is. Are you ready? So, what you must do is:

  1. restart you phone

I know it sounds complicated, but its what must be done.

(p.s. this is me answering my own question, I am not a rude person)

Reasons:
  • Whitelisted phrase (-1): solution is
  • No code block (0.5):
  • Contains question mark (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: oosh

79280219

Date: 2024-12-14 07:11:38
Score: 2.5
Natty:
Report link

I just saw this

Android linker errors

Could you try the suggestions and report back here if you get it to work?

Reasons:
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Paul Floyd

79280214

Date: 2024-12-14 07:08:38
Score: 1
Natty:
Report link

Create new flutter app and observe new versions and structure of AGP and gradle from files gradle-wrapper.properties settings.gradle build.gradle app/build.gradle More over, we don't know how old your project, take a look at AndroidManifest file

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

79280211

Date: 2024-12-14 07:06:37
Score: 2
Natty:
Report link

Use TLS Requests:

pip install wrapper-tls-requests

Unlocking Cloudflare Bot Fight Mode

import tls_requests
r = tls_requests.get('https://www.coingecko.com/')
print(r)
<Response [200]>

Github repo: https://github.com/thewebscraping/tls-requests

Read the documentation: thewebscraping.github.io/tls-requests/

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

79280210

Date: 2024-12-14 07:05:37
Score: 2
Natty:
Report link

You can use Wisernotify to create social proof on wordpress.

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: Kappu Parmar

79280206

Date: 2024-12-14 07:02:36
Score: 2
Natty:
Report link

There are two more things that you may check.

  1. Check if the iOS Simulator Images are downloaded. enter image description here

  2. Base SDK, in the Build Settings, should be set to iOS. enter image description here

You may refer this youtube video, for a step by step guide.

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

79280198

Date: 2024-12-14 06:57:35
Score: 3
Natty:
Report link

So basically, apple has their own weird version. Can't run on other platorms, only apple :/

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

79280192

Date: 2024-12-14 06:51:34
Score: 1.5
Natty:
Report link

Not possible as much as i know. There is a nice Package to customize swipe actions: "https://github.com/aheze/SwipeActions". Enjoy and Thanks to Package distributer.

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

79280191

Date: 2024-12-14 06:51:34
Score: 1.5
Natty:
Report link

You no longer need to use fetchSignInMethodsForEmail as Firebase automatically returns an error if the user has already signed up or signed in with the same email. Instead, you simply need to handle the error message when trying to sign up or sign in the user, as Firebase will notify you if the email is already in use.

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

79280189

Date: 2024-12-14 06:47:33
Score: 1
Natty:
Report link

Yes, it's possible to save an image as a PDF using PHP, but you'll need a library like FPDF, TCPDF, or DomPDF since GD doesn’t have built-in support for PDF export.

For a simple solution, FPDF is a great choice as it allows you to insert an image into a PDF and save it. TCPDF is more advanced and supports additional features like compression and text formatting.

If you're not keen on coding or need quick conversions, you can also use online tools like Letsconvert.io, which are user-friendly and reliable for tasks like this.

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

79280187

Date: 2024-12-14 06:46:33
Score: 1.5
Natty:
Report link

I don't know why, but I've solved it now. go compiled dynamic library “libtest1.so”, from compile time with -ltest1 command, to run in load_so_main() function through dlopen() to open libtest1.so, and then through dlsym() to find Test1() function, it worked properly.

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

79280179

Date: 2024-12-14 06:38:31
Score: 2
Natty:
Report link

For me works:

logging:
  config: file:logback.xml
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: RobertC

79280174

Date: 2024-12-14 06:27:29
Score: 0.5
Natty:
Report link

Yes, this can be done by setting a time unit on the x encoding and sorting by the fiscal year month. Here's an example with stock data:

enter image description here

import altair as alt
import polars as pl
from vega_datasets import data

source = data.stocks()

df = pl.DataFrame(source).filter(
    pl.col("symbol") == "AAPL", 
).with_columns(
    fy=pl.col("date").dt.year() - pl.when(pl.col("date").dt.month() <= 3).then(1).otherwise(0),
    fy_month=pl.col("date").dt.month() - 3 + pl.when(pl.col("date").dt.month() <= 3).then(12).otherwise(0)
).filter(
    pl.col("fy").is_in([2004, 2005, 2006])
)

alt.Chart(df).mark_bar().encode(
    x=alt.X("date:O", timeUnit="month", sort=alt.EncodingSortField("fy_month")),
    xOffset=alt.XOffset("fy:N"),
    y="mean(price)",
    color=alt.Color("fy:N")
).properties(width=400)
Reasons:
  • Probably link only (1):
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kgoodrick

79280171

Date: 2024-12-14 06:25:29
Score: 2
Natty:
Report link

You can try changing the awesome_notifications version in pubspec.yaml

try :

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

79280159

Date: 2024-12-14 06:16:27
Score: 1
Natty:
Report link

Open the destination with x mode, which fails if the file already exists.

def safe_copy(srcfile, destfile):
    with open(srcfile, "rb") as src, open(destfile, "wxb") as dest:
        dest.write(src.read())

Opening destfile will raise FileExistsError. See What does python3 open "x" mode do?

Reasons:
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-2):
Posted by: Barmar

79280157

Date: 2024-12-14 06:15:27
Score: 1
Natty:
Report link

check your cors origin ip are corrects or wrong any spell mistake app.use(cors({

origin: [process.env.ORIGIN,process.env.LAN,process.env.WIFI],
methods: ['GET', 'POST', 'PUT', 'DELETE'],
credentials: true,

})); your frontend ip and cookie domain are same or not

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

79280147

Date: 2024-12-14 06:04:25
Score: 2.5
Natty:
Report link

I have tried several extensions, but none of them work for SOCKS5 authentication. Some third-party browsers, such as Easy Browser (EasyBR), have integrated SOCKS5 username and password authentication functionality and support HTTP, HTTPS authentication

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

79280139

Date: 2024-12-14 05:58:24
Score: 0.5
Natty:
Report link

Basically, just like css, tailwind css is classes/wrappers or sugar on top of css.
So whatever css code works for you, it will work inside a custom tailwind css class. For ex. inside the index.css file:

@tailwind utilities;

@layer utilities {
  header {
    clip-path: polygon(
      0 0,
      100% 0,
      100% 100%,
      0 calc(100% - 6vw)
    );
  }
}

or in a different case if you want to use and name your own class(please correct me, for the 'class' part if it isnt a class) just like @Taiseen said:

@tailwind utilities;

@layer utilities {
  .clip-your-needful-style {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 6vw));
  }
}

So, in Taiseen's case, if you want to use clip-your-needful-style in <header>, just like he said you use it like: <header className="clip-your-needful-style"> instead of just <header>.

Also the link with the code you showed, you can add the css code inside the @layer utilities{ put_them_here } code block (in .css file) and they will work.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • User mentioned (1): @Taiseen
  • Low reputation (0.5):
Posted by: John Xenakis

79280138

Date: 2024-12-14 05:57:24
Score: 2
Natty:
Report link
try reset all networking setting for iphone, this is work for me
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Rohit Chahal

79280121

Date: 2024-12-14 05:37:20
Score: 1
Natty:
Report link

I learned a lot from the answers, and they are correct. Thanks to those contributing.

The code as shown in question above is not well defined, because void* is "not compatible" with square*, specifically because pointers to struct and non struct types may have different size and representations, as quoted here.

https://stackoverflow.com/a/1241314/1087626

However, as stated in above quote, and confirmed below, all struct types are guaranteed by the standard to have the same size and representation. So all I need to do, is to change void* to obj_* where obj_ is a dummy struct, and the code is supported by the standard.

This falls into the "alternative solutions" category. It's just one line extra for the dummy struct and 2 lines changed for void* => obj_* and in IMO, this is much preferable to my previous solution, which was also discussed in comments above, of having 10x10 wrapper functions to cast the pointers.

Full code shown below:


#include <stdio.h>

// types
typedef struct {
  int a;
  double d;
} circle;

typedef struct {
  int b;
  float f;
} square;

// ... 10 types,.. different sizeof()

// concrete API
int open_circle(circle* c) {
  printf("opening circle: %d: %f\n", c->a, c->d);
  return c->a;
}

int open_square(square* s) {
  printf("opening square: %d: %f\n", s->b, s->f);
  return s->b;
}

int send_circle(circle* c, const char* msg) {
  printf("sending circle: %d: %f: %s\n", c->a, c->d, msg);
  return -c->a;
}

int send_square(square* s, const char* msg) {
  printf("sending square: %d: %f: %s\n", s->b, s->f, msg);
  return -s->b;
}

// ten more operations for each type

typedef struct { int dummy_; } obj_;

// "genericised" function pointer types (note the void* params!!)
typedef int (*open_fpt)(obj_* o);
typedef int (*send_fpt)(obj_* o, const char*);

typedef void (*gfp)(void); // generic function pointer

int generic_processor(void* obj, gfp open, gfp send) {
  int sum = 0;
  sum += ((open_fpt)open)(obj);
  sum += ((send_fpt)send)(obj, "generically sent");
  return sum;
}

int main() {
  circle c = {2, 22.2};
  square s = {3, 33.3F};

  int net = 0;
  net += generic_processor(&c, (gfp)open_circle, (gfp)send_circle);
  net += generic_processor(&s, (gfp)open_square, (gfp)send_square);
  printf("net %d\n", net);
  return 0;
}
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (0.5): I need
  • Blacklisted phrase (1): stackoverflow
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
Posted by: Oliver Schönrock

79280117

Date: 2024-12-14 05:31:19
Score: 1
Natty:
Report link
#include<stdio.h>
#incldue<stdlib.h>
struct node{
 int data;
 struct node*next;
};
int main()
{
  struct node*start=NULL;
  start=(struct node*)malloc(sizeof(struct node));
  start->data=10;
  start->next=NULL;
  return 0;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Khushi Devi

79280109

Date: 2024-12-14 05:25:18
Score: 0.5
Natty:
Report link

I used lambda because I think the argument of a function had the property of holding a value.

I do not understand the details of the detailed grammatical evaluation with difficulty, but I was able to successfully prepare a generator that generates a generator by doing the following.

root_gen = ((lambda t: ((t,y) for y in range(3)))(x) for x in range(5))

To evaluate, please use below:

tuple(map(tuple, root_gen)) 

The original idea is as follows:

# generate a sub generator
def sub_gen(x):
    return ((x,y) for y in range(3))

# test 
tuple(gen(1))
tuple(gen(2))

# make generator
root_gen = (gen(n) for n in range(5)) 

# evaluate
tuple(map(tuple(root_gen)))
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: KLc3088

79280104

Date: 2024-12-14 05:21:17
Score: 0.5
Natty:
Report link

There is no official solution for now yet..but there is a work around.. you just have to add this to your pubspec.yaml

dependency_overrides:
  algolia_client_core: 1.27.1
  algolia_client_insights: 1.27.1
  algolia_client_search: 1.27.1
  algoliasearch: 1.27.1

Please see the original post on Github

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Saw Tha Wah

79280102

Date: 2024-12-14 05:19:17
Score: 2.5
Natty:
Report link

I think this is due to the directory name -myproject and your name in the setup.py file not aligning. When importing I believe the <import 'name'> should match the directory of which the package is named.

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

79280090

Date: 2024-12-14 05:11:14
Score: 9.5 🚩
Natty: 5.5
Report link

hey can anyone tell how to fix these error?

Reasons:
  • RegEx Blacklisted phrase (2.5): can anyone tell how
  • RegEx Blacklisted phrase (1.5): how to fix these error?
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: ABHISHEK RAJ

79280089

Date: 2024-12-14 05:08:13
Score: 2.5
Natty:
Report link

select cast(lat_n as decimal(9,4)) from station where lat_n < 137.2345 order by lat_n desc limit 1

This works for hackerrank.

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

79280079

Date: 2024-12-14 04:54:11
Score: 1.5
Natty:
Report link

const rs = {
  previousPageCursor: null
}
try {
  console.log(JSON.parse(rs))
} catch (error) {
  console.log(error.message)
}

10000000

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

79280076

Date: 2024-12-14 04:51:10
Score: 6
Natty: 7
Report link

can we remove currency icon from this amount?

Reasons:
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Starts with a question (0.5): can we
  • Low reputation (1):
Posted by: Rajendra Dhakal

79280068

Date: 2024-12-14 04:42:08
Score: 6.5 🚩
Natty:
Report link

Have you seen https://github.com/CATIA-Systems/FMPy?tab=readme-ov-file#advanced-usage ?

In particular, https://github.com/CATIA-Systems/FMPy/blob/main/fmpy/examples/custom_input.py

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

79280066

Date: 2024-12-14 04:40:07
Score: 1.5
Natty:
Report link

Modern website development file structure organizes the project into clear, manageable folders. Key directories include the root for essential files like index.html and README.md, /assets for images and fonts, /styles for CSS, and /js for JavaScript. Reusable components are placed in /components, while HTML templates go into /views. Backend code, if any, resides in a /server folder. For testing, files are kept in /tests, and production-ready files are output in a /build folder. This structure ensures scalability, maintainability, and efficient collaboration throughout the project. Read more...

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

79280062

Date: 2024-12-14 04:35:06
Score: 3.5
Natty:
Report link

Thanks to @zett42, this works:

<Custom Action='LaunchInstallQuiet' After='InstallFiles'><![CDATA[NONADMIN<>"1" AND NOT REMOVE="ALL"]]></Custom>
Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Low length (1):
  • Has code block (-0.5):
  • User mentioned (1): @zett42
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: byq