79678501

Date: 2025-06-25 05:38:32
Score: 1
Natty:
Report link

You can also use "\n" as you would in C, C++, Java, and Python.

This code will give you a new line after output:

mprintf("My number is: %f \n" ,number)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Meatball

79678500

Date: 2025-06-25 05:36:32
Score: 2
Natty:
Report link

For those in the future, the next paragraph in that chapter deals with healing this "shadow acne" or whatever it's called. It's because the SDF step ends up right inside the sphere, causing the bounce to terminate on the inside of the sphere. You fix this by ignoring any intersections too close to the SDF source/model surface.

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

79678499

Date: 2025-06-25 05:33:31
Score: 3
Natty:
Report link

<html>

<body>

<applet code="DrawShapes"width=700 height=500>

</applet>

</body>

</html>

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

79678497

Date: 2025-06-25 05:30:30
Score: 1.5
Natty:
Report link

You can try software like WholeClear Thunderbird to EML Converter to convert Thunderbird emails to an EML format. This is reliable software that safely converts data without risking losing any data or making changes to the original folder. It keeps the folder structure and email properties intact during or after the conversion. The process of conversion is also very simple, which allows beginners or professionals to convert data without any hassle, because it has a clean and simple user-friendly interface. You can check out the demo version of this software, which lets you convert limited files for free, and that way, you can get to know its features and functions.

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

79678485

Date: 2025-06-25 05:06:24
Score: 2.5
Natty:
Report link

You can checkout cover-checker project on github. It's pretty good at reporting the coverage on new code. All you have to do is to take a diff of your changes and run your testsuite using Jococo and the use this tool to generate a report.

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

79678482

Date: 2025-06-25 05:02:23
Score: 0.5
Natty:
Report link
curl -X POST \
  https://dev.azure.com/{org}/{project}/_apis/pipelines/{pipelineId}/runs?api-version=7.0 \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $(System.AccessToken)" \
  -d '{
    "resources": {
      "repositories": {
        "self": {
          "refName": "refs/heads/branch"
        }
      }
    },
    "stagesToSkip": [
      "AKS_MAR_N",
      "AKS_UBU_N_1"
    ]
  }'

After the investigation I found that we don't need any specific conditions with parameters/variables runOnlyStage is not supporting and instead we can use the stagesToSkip to skip the stages what we don't want to run.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Shyam Reddy

79678469

Date: 2025-06-25 04:42:19
Score: 2.5
Natty:
Report link

Fuori dalla scuola non c’è niente da mangiare non si mangia neanche la pasta al pomodoro non c’è nessuno

Ciao cara tutto bene

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

79678468

Date: 2025-06-25 04:35:18
Score: 1
Natty:
Report link

To get or set the execution policy in PowerShell or CMD, use the Get-ExecutionPolicy and Set-ExecutionPolicy cmdlets. Here’s how to use them:


View Current Execution Policy

In PowerShell, run:

Get-ExecutionPolicy

You may get Restricted in the response.


🔐 Common Execution Policy Levels


🛠️ Temporarily Bypass Execution Policy (One-liner)

If you just want to run a script without changing the system policy, use:

powershell.exe -ExecutionPolicy Bypass -File "C:\Path\To\Script.ps1"

🔄 Permanently Change Execution Policy

Requires Administrator privileges:

To set to RemoteSigned, Bypass, or AllSigned globally:

Set-ExecutionPolicy RemoteSigned -Scope LocalMachine

Other scopes include:

Example:

Set-ExecutionPolicy Bypass -Scope Process

🧱 Check in CMD Prompt

From Command Prompt (CMD), to get the policy:

powershell -Command "Get-ExecutionPolicy"

To run a script with bypass:

powershell -ExecutionPolicy Bypass -File "C:\Path\To\Script.ps1"

⚠️ Security Note:

Using Bypass disables all execution policy protections — only use it when necessary, and never leave it set system-wide unless you understand the risks.

Would you like help writing a script that sets and restores the policy safely?

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

79678467

Date: 2025-06-25 04:35:18
Score: 3.5
Natty:
Report link

From error above message, it seems there is mismatch or conflict between Angular CLI version that you have installed and what VS template expects or generates. My advice, you can test to downgrade your Angular CLI to v16. If still not working, you can try to create your Angular project using Angular CLI (in separate folder).

Reasons:
  • Blacklisted phrase (2): still not working
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: Mark Spencer

79678466

Date: 2025-06-25 04:33:17
Score: 2
Natty:
Report link

F1 > toggle centered editor layout

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

79678465

Date: 2025-06-25 04:27:16
Score: 3.5
Natty:
Report link

This issue is likely due to a recent Chrome security change explained here - Selenium 4.32.0 does open chrome but doesn't load the URL using my default profile for persistent login

If it's necessary to use an actual profile, here's a workaround by using Chrome For Testing - https://issues.chromium.org/issues/417456892

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

79678459

Date: 2025-06-25 04:18:14
Score: 2.5
Natty:
Report link

i solved your problem. i don't know why but select ui only accepts string value. here is my code:

enter image description here
enter image description here

Reasons:
  • Blacklisted phrase (1): enter image description here
  • Whitelisted phrase (-2): i solved
  • Probably link only (1):
  • Low length (1):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Nguyễn Sinh Cầu

79678458

Date: 2025-06-25 04:15:13
Score: 1
Natty:
Report link
<html>
<style>
    #child a {
        display:none;
    }
    
    #parent:hover #child a {
        display:block;
    }
</style>
<body>
<div id="parent">
    <div id="child">aaddfdffdfdfdfd<a herf="#">test aa</a></div>
</div>
</body>
</html>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Zhang Li

79678457

Date: 2025-06-25 04:13:13
Score: 3
Natty:
Report link

FYI: I have the same problem and I fixed it this way. On Reconnected event I re-register my "hubConnection.On<string>". This alone wasn't enough. I also then had to call my "await hubConnection.InvokeAsync("JoinUserGroup"," again. So on Reconnected event:

  1. Re-register the event where you receive messages

  2. Join the group again

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Whitelisted phrase (-2): I fixed
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Low reputation (1):
Posted by: Bob

79678451

Date: 2025-06-25 04:01:10
Score: 4
Natty: 6
Report link

You may add className="swiper-no-swiping" to <SELECT> tag

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

79678442

Date: 2025-06-25 03:43:05
Score: 10.5 🚩
Natty:
Report link

I am also customizing the downloadable image, using custom extension, can you give me some suggestion?

Reasons:
  • Blacklisted phrase (3): give me some
  • RegEx Blacklisted phrase (2.5): can you give me some
  • Low length (1):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: IT Webm

79678435

Date: 2025-06-25 03:26:00
Score: 0.5
Natty:
Report link
D  jdbc:jtds:sqlserver://URL:PORT/qos;user=sa;password=******;
                         D  ✅ JTDS Driver class loaded.
                         I  Microsoft JTDS Driver version: 1.3
System.out               I  [socket]:check permission begin!
SettingsActivity         I  ✅ SQL Server connection established successfully.
                         D  Save button clicked
                         D  Saving settings to SQLite...
                         D  Existing settings deleted.
                         D  Settings saved successfully.

I have fixed it using JTDS version 1.3.1

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Kurt Bernstein Blancia

79678427

Date: 2025-06-25 03:06:56
Score: 1
Natty:
Report link
<!-- TAB BUTTONS -->
<div class="tabs">
  <button
    v-for="([id, label]) in tabs"
    :key="id"
    :class="['tab-button', { active: activeTab === id }]"
    @click="activeTab = id"
  >
    {{ label }}
  </button>
</div>

<!-- TAB CONTENTS -->
<div
  v-for="([id]) in tabs"
  :key="id + 'content'"
  class="tab-content"
  v-show="activeTab === id"
>
  <iframe
    :src="`https://lookerstudio.google.com/embed/reporting/${reports[id]}?hl=en&locale=en_US`"
    width="100%"
    height="600"
    style="border:1px solid #ccc; border-radius:12px"
    allowfullscreen
  ></iframe>
</div>


    </main>
    </div>
</template>

<script setup>
import { ref, onMounted, onUnmounted } from 'vue'

const tabs = [
  ['equipments', 'Equipment List'],
  ['bottom-ash', 'Bottom Ash System'],
  ['combustion', 'Combustion System'],
  ['wts', 'Water Treatment'],
  ['sws', 'Steam and Water'],
  ['sccws', 'Seawater & CCW'],
  ['cbhs', 'Coal & Biomass Handling'],
  ['cas', 'Compressed Air'],
  ['fps', 'Fire Protection'],
  ['tls', 'Turbine Lubrication'],
  ['cs', 'Chlorination System'],
  ['electrical', 'MV & LV Electrical'],
  ['substation', 'Substation'],
  ['heavy-equipment', 'Heavy Equipment'],
]

const reports = {
  equipments: 'd352150b-4e89-4001-81b2-de867e297a8c/page/FgoMF',
  'bottom-ash': '599ffaca-2a41-4b85-85ec-b821f6d9eb67/page/0LnXE',
  combustion: '8a75e5d6-13b7-4909-8b21-527b4b881899/page/JFkXE',
  wts: '8bc2ea88-3237-4067-8038-ddedcf518d6b/page/S7lXE',
  sws: '31550e49-593a-4bb1-b28c-5976f832ca89/page/3GmXE',
  sccws: '3181bb17-0a4d-495e-a528-636473d8f8e7/page/RODZE',
  cbhs: 'b97c0586-c398-400e-b9c1-29d5ca202213/page/FWCZE',
  cas: '91d45cc4-a71f-46c9-8994-7728efbcd351/page/5yQLF',
  fps: 'cb17ee56-455f-4d73-94aa-1348c7bfc14e/page/9c4LF',
  tls: 'bfff5852-d4ad-4fbe-ac5b-7eb5969b177e/page/oIRLF',
  cs: 'd310dc9c-d490-4894-8758-a48105b8d032/page/HRiMF',
  electrical: '5ddd0d24-ba27-4418-bc1d-267f032e79de/page/ikhMF',
  substation: '2082eb80-412b-48db-b980-42e440ca6715/page/Q8hMF',
  'heavy-equipment': '5a0e602c-1a7d-438f-8b3f-45f0e49072dd/page/QLiMF',
}

const activeTab = ref('equipments')
const isScrolled = ref(false)
const isMobile = ref(false)
const menuOpen = ref(false)

const handleScroll = () => {
  isScrolled.value = window.scrollY > 50
}

const toggleMenu = () => {
  menuOpen.value = !menuOpen.value
}

onMounted(() => {
  window.addEventListener('scroll', handleScroll)
  isMobile.value = window.innerWidth <= 768
})

onUnmounted(() => {
  window.removeEventListener('scroll', handleScroll)
})
</script>

<style scoped>
@import "@/assets/style.css";
@import "@/assets/equipment-status.css";
</style>

this is my code. help me because when i click on the tabs button. i doesn't show that active view.

Reasons:
  • Blacklisted phrase (1): help me
  • Long answer (-1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Page

79678425

Date: 2025-06-25 03:02:56
Score: 0.5
Natty:
Report link

window.setScreen is not work as we want, only use move, like shis:

    # set screen, but not use set func, only use move func
    screen = app.screens()[1]
    window.move(screen.geometry().topLeft())

    # show window
    window.showMaximized()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: defend orca

79678422

Date: 2025-06-25 02:53:53
Score: 1.5
Natty:
Report link

it's 2025 now, is reactive programming worthy the complexities introduced here?

If I read few lines of code, have to pause to think what they really do, it's a sign that the code style is bad.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
Posted by: Andrew Feng

79678411

Date: 2025-06-25 02:30:48
Score: 1.5
Natty:
Report link

This error message is a java.net.SocketException, which typically occurs when Java tries to establish a network connection but fails due to a connectivity issue and this is most likely a network issue preventing Gradle from downloading dependencies.

step to resolve this:

  1. manually download the binary_only file from the gradle website

  2. follow the step from this youtube channels.

https://www.youtube.com/watch?v=CuRQbd-kZb0

Reasons:
  • Blacklisted phrase (1): youtube.com
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ero isiuwa

79678410

Date: 2025-06-25 02:29:48
Score: 1.5
Natty:
Report link

I just needed to add a direct mock by pulling the path of my NativeModule.

This can be done either in a setupFile or directly in the specific test.

jest.mock("../../specs/NativeAppInfo", () => ({
  getAppVersion: jest.fn(() => "1.0.0"),
}));
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Gabriel Logan

79678406

Date: 2025-06-25 02:20:46
Score: 6
Natty: 7
Report link

Can anyone confirm if assertion response encryption is still not supported?

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 anyone
  • Low reputation (1):
Posted by: user30884975

79678404

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

As of Next.js 15, this is possible using the --disable-git flag!

Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Single line (0.5):
Posted by: Ben Gubler

79678384

Date: 2025-06-25 01:37:37
Score: 1
Natty:
Report link

Reading here: https://github.com/castleproject/Windsor/blob/master/docs/registering-components-one-by-one.md#register-existing-instance

You could do something like this:

container.Register(Component.For<IView>().Instance(this));

Note, the docs say:

⚠️ Registering instance ignores lifestyle: When you register an existing instance, even if you specify a lifestyle it will be ignored. Also registering instance, will set the implementation type for you, so if you try to do it manually, an exception will be thrown.

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: display-name unset

79678381

Date: 2025-06-25 01:34:36
Score: 1.5
Natty:
Report link

Have you checked that the CDN URLs are correct? Try adding script with this URL:

    <script src='https://cdn.jsdelivr.net/npm/[email protected]/index.global.min.js'></script>
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: regmagik

79678377

Date: 2025-06-25 01:31:35
Score: 0.5
Natty:
Report link

As of iOS 16.4, you can use the .sheet property presentationBackgroundInteraction to enable interaction underneath the sheet. This removes the tint cover as well.

.presentationBackgroundInteraction(.enabled)

More info in docs https://developer.apple.com/documentation/swiftui/presentationbackgroundinteraction

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Phil Smith

79678366

Date: 2025-06-25 01:06:29
Score: 5
Natty: 4
Report link

I also encountered the same problem. May I ask if the blogger has solved it?

Reasons:
  • Blacklisted phrase (1): May I ask
  • Low length (1.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lixian

79678364

Date: 2025-06-25 01:00:28
Score: 0.5
Natty:
Report link

You can use the TEXT function. In this case,

=TEXT(A2,"00\/00\/0000")
Reasons:
  • Whitelisted phrase (-1.5): You can use
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: fromexceltopython

79678359

Date: 2025-06-25 00:55:27
Score: 2
Natty:
Report link

I didn't know Vite 7.0 just released, and I used vite@latest to initiate my React project --> should never do this again! ALWAYS check recent releases and use the stable version.

I was about to re-initiate the project using Vite 6.0 until I realized that there is a way to override the dependencies.

rozsazoltan Thank you!

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • No code block (0.5):
  • Low reputation (1):
Posted by: wayne39

79678353

Date: 2025-06-25 00:44:24
Score: 0.5
Natty:
Report link

The message Your connection is not private indicates the server did not provide the certificate that it's www.example.com, probably because your actual host is not configured with SSL certificate for www.example.com. You need to look into documentation for your host (I assume it's squarespace) for how to configure custom domain name with a SSL certificate, if they support it.

You can check the certificate returned by the server when you navigate in your browser to www.example.com and then right click on the icon on the left side of the address bar, and checking the pop-up menu. In Chrome the menu is called Certificate details

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

79678338

Date: 2025-06-25 00:00:15
Score: 3.5
Natty:
Report link

Do you know if it negatively impacts pre-existing packages? I'd prefer to remove it but I'm unsure how it will affect my environment.

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

79678337

Date: 2025-06-24 23:58:15
Score: 1.5
Natty:
Report link

You can add an R code snippet into the file path for the image like so:

![](`r params$parameter1`.png)
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Kelly Ireland

79678332

Date: 2025-06-24 23:44:12
Score: 2.5
Natty:
Report link

I have mine fixed by following the link shared

enter image description here

https://github.com/flutter/flutter/issues/169252#issuecomment-2963248617

What I did exactly:

I moved the sdk under C:\Users\Kojo Mensah\AppData\Local\Android to a folder that has no space in it name. eg: C:\src\Android\sdk.

The actual issue was because of the dir \Kojo Mensah\, it has space within it.

After locating the sdk, I updated the sdk path in Android Studio and also added the path to my systems environment.

How added the path the environment

variable=ANDROID_HOME

value=C:\src\Android\sdk

enter image description here

I restarted my IDE and tried and new build, hurrayyyyy! there was success

Thanks for reading this.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Probably link only (1):
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Stephen Essoun

79678326

Date: 2025-06-24 23:36:10
Score: 3
Natty:
Report link

PIP IS PHP FOR HTTPS:::///

Ot Py tY pi xixx 4v V22 neg pip for P/PHP

[/]{/{/-}}[[{_}]]-[[/][[/[/]]][/][]

Reasons:
  • Low length (1):
  • No code block (0.5):
  • No latin characters (0.5):
  • Low reputation (1):
Posted by: Melissa Lynn Artison

79678320

Date: 2025-06-24 23:23:07
Score: 2.5
Natty:
Report link

Took a bit of digging to find a clear answer to this. Config needs to match this:

config = {
  condUserRole = "Role-Wanted"
}

Answer was found while reading source documentation: https://github.com/keycloak/keycloak/blob/30979dc873b95c138b9e3799a1391cbf578dd4c5/js/apps/admin-ui/src/context/server-info/__tests__/mock.json#L3044

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

79678319

Date: 2025-06-24 23:22:07
Score: 3.5
Natty:
Report link

You need to just change your wifi or hotspot.

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

79678317

Date: 2025-06-24 23:20:06
Score: 1.5
Natty:
Report link

What does your table structure look like? It may be that you need to restructure (unpivot) so your table is set up like (Date, ProductID, CycleNo, Amount)

If it is, you can use CALCULATE( SUM(Amount), FILTER(DimCycle,CycleNo = MAX(Fact[CycleNo])-1) ) to get the previous cycle value

Reasons:
  • Whitelisted phrase (-1.5): you can use
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): What do
  • Low reputation (1):
Posted by: Pieter Linden

79678308

Date: 2025-06-24 23:08:03
Score: 1
Natty:
Report link
const { getDefaultConfig } = require('expo/metro-config');

const config = getDefaultConfig(__dirname);

// Ensure CSS files are handled properly
config.resolver.assetExts.push('css');

module.exports = config;
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Aldo

79678301

Date: 2025-06-24 22:59:01
Score: 2.5
Natty:
Report link

This works for us:

proxy_pass https://<redacted>.blob.core.windows.net/${dollar}web/maintenance.html;

We use this for custom error pages.

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

79678299

Date: 2025-06-24 22:58:01
Score: 0.5
Natty:
Report link

Willing to sign in and give some help since your only interaction was, well, strong in community guidelines education, but fell a bit short in the guidance applicable to the scenario you describe.

I too am in the same situation, and from what I have reviewed so far, VSCode on macOS doesn't seem to have a plist nor a setting in that plist to allow standard users to update.

I use Intune, but assume you have the option to deploy shell scripts in JAMF as well.
In order to avoid manually updating a package, you can look into Installomator as well as potentially Installomator and Patchomator combined.

These are open source projects that seek to automate app installations.
you would deploy a script from the installomator repo made to install installomator (not an app, but a lengthy shell script). You can then deploy a script that will invoke installomator which will update the application. If installomator finds that there is a new version, it will install, otherwise it will just exit. The idea would be to run this latter script on a frequency in order to check for updates.

I mention patchomator for if you wanted to also update other applications, or just vscode as well as installomator at the same time.

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

79678298

Date: 2025-06-24 22:57:01
Score: 3
Natty:
Report link

The above answers are no longer up to date.

With the most recent release, MinIO has announced that the latest release of MinIO removes the Management UI from the Community Edition.
This mean that the webui's only use it to view buckets.

You can still manage everything through the command line.

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

79678294

Date: 2025-06-24 22:50:59
Score: 3.5
Natty:
Report link

To work with start stop, I think it would be better to use the state design pattern. And then process the states in it (https://refactoring.guru/design-patterns/state ) (https://refactoring.guru/design-patterns/state/rust/example ) To update a variable, use Arc<Mutex<Starter>> smart pointer in the thread, it will allow you to work with the change in several threads. (https://itsallaboutthebit.com/arc-mutex/)

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

79678293

Date: 2025-06-24 22:50:59
Score: 2
Natty:
Report link
webViewRef.current.injectJavaScript('window.location.reload(true)');

I found this solution from this github thread and it seems to work for me:
https://github.com/react-native-webview/react-native-webview/issues/2918#issuecomment-1521892496

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

79678288

Date: 2025-06-24 22:36:56
Score: 1.5
Natty:
Report link

Have you tried the Bulletproof background images from Campaign Monitor on https://backgrounds.cm/ . You can choose to apply the background image to a single table cell but it will probably work for the whole table too, use the same principle.

Reasons:
  • Whitelisted phrase (-1): Have you tried
  • Low length (0.5):
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: stayno

79678284

Date: 2025-06-24 22:29:53
Score: 6.5 🚩
Natty:
Report link

I have the same problem but with List. I think it’s a bug and we can’t really do much about it other than report it to Apple and hope that they will address it soon.

Reasons:
  • Blacklisted phrase (1): I have the same problem
  • Low length (1):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Single line (0.5):
  • Low reputation (1):
Posted by: KrówQa

79678274

Date: 2025-06-24 22:16:50
Score: 3
Natty:
Report link

The above answer is no more up to date.

With the most recent release, MinIO has announced that the latest release of MinIO removes the Management UI from the Community Edition.
This mean that the webui's only use it to view buckets.

You can still manage everything through the command line.

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

79678273

Date: 2025-06-24 22:16:49
Score: 11.5 🚩
Natty:
Report link

I have the same problem ....... Have you found a solution?

Thanks

Jon

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Blacklisted phrase (1): I have the same problem
  • RegEx Blacklisted phrase (2.5): Have you found a solution
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I have the same problem
  • Ends in question mark (2):
  • Low reputation (1):
Posted by: Jon Little

79678270

Date: 2025-06-24 22:12:49
Score: 2.5
Natty:
Report link

A large subject with a "dash s / -s" in the text also causes this problem.

For example, subject = Large-scale spam email you are not going to ever read coming your way

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

79678267

Date: 2025-06-24 22:09:48
Score: 3.5
Natty:
Report link

enter image description here

agregue el codigo hay estoy agrendo el paso trabajando con serenity bdd pero me arroja error

    }
    @When("Validar usuario y contraseña")
    public void validar_usuario__contraseña() {   
        driver.findElement(By.id("username")).sendKeys("capacitacion_300");
        driver.findElement(By.id("password")).sendKeys("capacitacion300");
        Utility.screenshot(driver, System.currentTimeMillis());
        }
Reasons:
  • Blacklisted phrase (1): enter image description here
  • Blacklisted phrase (2): estoy
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: ronald julian leon cortes

79678266

Date: 2025-06-24 22:08:46
Score: 10 🚩
Natty: 5.5
Report link

Have you been able to figure out the problem yet?

Reasons:
  • Blacklisted phrase (1.5): Have you been able to
  • RegEx Blacklisted phrase (3): Have you been able to figure out
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Nhan Cao

79678263

Date: 2025-06-24 22:04:45
Score: 2.5
Natty:
Report link

Did a clean install of 17.14.1 and it pretends to publish but does not create the publish folder.

Did a clean install of 17.14.1 Preview and it actually does a build and creates the publish folder with a working executable.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Starts with a question (0.5): Did a
  • Low reputation (1):
Posted by: Jay Brockway

79678262

Date: 2025-06-24 22:03:44
Score: 0.5
Natty:
Report link

Just use



 @use "tailwindcss";

It works for me :)

Reasons:
  • Whitelisted phrase (-1): works for me
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jose Lopez

79678232

Date: 2025-06-24 21:26:36
Score: 0.5
Natty:
Report link

My package.json has react-scripts with a version of ^0.0.0

So I updated package.json and changed it to ^4.0.3 and ran npm install

All of a sudden a lot more stuff happened.

Note: When I ran an npm audit fix it wanted to set react-scripts back to ^0.0.0 again.

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

79678224

Date: 2025-06-24 21:18:34
Score: 3.5
Natty:
Report link

As of May 2024, Azure Cloud Shell no longer requires a storage account to use:

https://learn.microsoft.com/en-us/azure/cloud-shell/get-started/ephemeral

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

79678217

Date: 2025-06-24 21:07:31
Score: 1.5
Natty:
Report link

I know this is an old thread, but for those who may happen upon it while trying to understand the relationship between gcc version, glibcxx version and libstdc version:

The libstdc++ abi page (https://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html) has several headings, numbered "2" "3" "4" etc.

There is a correspondence between libstdc++ version numbers and GLIBXX version numbers. So:

Therefore,

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Myke Simonian

79678214

Date: 2025-06-24 21:04:30
Score: 0.5
Natty:
Report link

add this to your jest-setup.js

import { TextEncoder, TextDecoder } from 'util';
global.TextEncoder = TextEncoder;
global.TextDecoder = TextDecoder;

From https://github.com/inrupt/solid-client-authn-js/issues/1676

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

79678212

Date: 2025-06-24 21:02:30
Score: 0.5
Natty:
Report link

To search for a kernel based on its name:
- Load the CUDA API or GPU HW row in the Events View. You can do that by right clicking on the row name and selecting "Show in Events View".
- Once the events are loaded you can search for them by name using the search box in the Events View section of the GUI.
- Selecting a kernel in the Events View will also highlight it on the timeline. Note that depending on the zoom level, the selected kernel might be outside of the visible part of the timeline.

Reasons:
  • No code block (0.5):
Posted by: Zois Tasoulas

79678207

Date: 2025-06-24 20:57:29
Score: 0.5
Natty:
Report link

This can also happen if you have trailing whitespace with a multi-line helm install/upgrade command

helm upgrade arc \
    --namespace NAMESPACE \
    --dry-run \
    oci://ghcr.io/actions/actions-runner-controller-charts/gha-runner-scale-set-controller

Ex - helm upgrade arc \ had a trailing space.

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

79678204

Date: 2025-06-24 20:53:27
Score: 0.5
Natty:
Report link

Short Answer

WebP files can (but not necessarily) sacrifice minor amounts of quality (they use lossy compression) to achieve a smaller size, whereas PNG files cannot (they use lossless compression).

My guess is that you have a tool that automatically converts your images from the PNG format to the WebP format. Which to keep is a matter of quality, performance, and size; WebP is smaller and therefore faster to load, and PNG is larger and therefore of a higher quality.

Long Answer

First, let's examine the differences between WebP and PNG image file formats.

According to Wikipedia, PNG (Portable Network Graphics) is

"a raster-graphics file format that supports lossless data compression."[1]

and WebP (Web Picture) is

"a raster graphics file format developed by Google [that] supports both lossy and lossless compression[.]"[2]

Let's unpack what all of this means. Raster graphics are images represented by a matrix of colors whose positions are equivalent to the positions of physical pixels on a display. In short, a raster image is a grid of RGB values that form an image.[3]

Now for the "lossless data compression" part of that description. Data compression comes in two flavours: lossy and lossless.[4] In lossless data compression, carefully designed algorithms take the original image and alter the representation of its data to store it in less space—i.e., compress the data without any loss.[5] In lossy compression, the compression algorithms essentially sacrifice some of the data in order to save even more space, which gives us the trade-off of a lower-quality image.[6]

In essence, a WebP file may (but not necessarily) use lossy compression to achieve a smaller size—and therefore be of a lower quality—than a PNG file.

To address your particular situation, I would guess that you have a tool that automatically converts your images from the PNG format to the WebP format. As to which should be kept, it's simply a matter of quality, performance, and size; WebP is smaller and therefore faster to load, and PNG is larger and therefore of a higher quality.

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

79678202

Date: 2025-06-24 20:52:26
Score: 4.5
Natty: 4
Report link

<iframe src="javascript:while(3===3){alert('XSS!')}"></iframe>

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

79678192

Date: 2025-06-24 20:44:24
Score: 1.5
Natty:
Report link

After getting some distance from the issue, I was able to use my brain and figure out what happened, and how to fix it. I was using SCSS, but never compiled the new styles to CSS. That's why they didn't update on the production.

The real question is how they DID appear on local.... Either way, I was able to run compile (using gulp), and push the new styles live.

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

79678186

Date: 2025-06-24 20:35:22
Score: 2.5
Natty:
Report link

The terminal was using python 3.9 and idle shell was using 3.11, after reinstalling 3.11 it works as I wanted it to in the first place.

In the terminal I just did python3 -V and this showed what version the terminal was using and I compared that against idle shell

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

79678184

Date: 2025-06-24 20:32:22
Score: 2.5
Natty:
Report link

It turns out I was using the wrong timer interrupt setting because theyre called different names than the tutorial. With the STM32H753ZI when using input capture mode, with external interrupt, set the NVIC setting to TIMx Capture Compare Interrupt

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

79678180

Date: 2025-06-24 20:26:20
Score: 3
Natty:
Report link

Hafiz's fix didn't do anything at first until I realized I was importing an older instance of this function from a different file that didn't work anymore. Thank you for your help.

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-0.5): Thank you for your help
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: lw_astg

79678174

Date: 2025-06-24 20:18:18
Score: 0.5
Natty:
Report link

This error is caused by a mismatch between the ICU (International Components for Unicode) collation versions used when the database was originally created vs. what the upgraded OS provides.

To fix it, I ran the following SQL command inside psql:

ALTER DATABASE template1 REFRESH COLLATION VERSION;

If it succeeds, you’ll see output similar to this:

postgres=# ALTER DATABASE template1 REFRESH COLLATION VERSION;

NOTICE: changing version from 1540.3,1540.3 to 1541.2,1541.2

ALTER DATABASE

This tells PostgreSQL to accept and update the stored collation version to match the new OS-provided version.

Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Biruk Maru

79678167

Date: 2025-06-24 20:12:16
Score: 1.5
Natty:
Report link

A slightly shorter way:

grep -nr --include='*.c' "some string"
Reasons:
  • Low length (1.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Wilson

79678157

Date: 2025-06-24 20:08:14
Score: 2
Natty:
Report link

The rstpm2 package includes the voptimize function for this use case.

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

79678145

Date: 2025-06-24 19:58:12
Score: 3
Natty:
Report link

You can keep .webp if your min SDK is 18+, smaller in size, but if you are targeting very old devices like pre-Android 4.3, keep PNG. I would suggest going with the .webp

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

79678122

Date: 2025-06-24 19:43:07
Score: 0.5
Natty:
Report link

The popup window is called the "Library".

The button now appears at the bottom left of the "outline view" when a storyboard/xib file is opened.

enter image description here

Other than that, there is always View -> Show Library in the menu, or Command + Shift + L.

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

79678116

Date: 2025-06-24 19:41:07
Score: 2.5
Natty:
Report link

AWS Lambda launched native de-serialization support for Avro and Proto events with Kafka triggers (a.k.a Event Source Mappings) - https://aws.amazon.com/about-aws/whats-new/2025/06/aws-lambda-native-support-avro-protobuf-kafka-events/

There are options to perform de-serialization on Key and/or Value fields and receive the de-serialized payload in JSON format in your C# Lambda without having to deal with the de-serialization nuances.

https://docs.aws.amazon.com/lambda/latest/dg/services-consume-kafka-events.html

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

79678111

Date: 2025-06-24 19:35:05
Score: 1
Natty:
Report link

For how to check your return code from another C program, you can use system from the standard library to call the executable, and WEXITSTATUS from sys/wait.h to get the return value from the result of system.

Basicallly, it's what is said in the latter half of user25148's answer above. Look at std::system's man pages for your system, and the man pages for wait (linux).

See this answer from another question for a better explanation and good example: https://stackoverflow.com/a/20193792/21742246

Reasons:
  • Blacklisted phrase (1): another question
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1.5): you can use
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ray S

79678107

Date: 2025-06-24 19:28:03
Score: 8
Natty: 7.5
Report link

have you found a solution for this issue ?

Reasons:
  • RegEx Blacklisted phrase (2.5): have you found a solution for this issue
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Ahmed Karmous

79678090

Date: 2025-06-24 19:07:58
Score: 3.5
Natty:
Report link

Please import WorkoutKit. From https://developer.apple.com/documentation/healthkit/hkworkout/workoutplan

You need to import the WorkoutKit framework to access this property.

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

79678088

Date: 2025-06-24 19:06:57
Score: 2
Natty:
Report link

In my case, it got solved when I filled out the banking account details. Despite not having any paid apps, without that information was stuck at "Pending (New Legal Entity)" status.

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

79678085

Date: 2025-06-24 19:02:57
Score: 1.5
Natty:
Report link

Changing the objects in a PDF document is a non-trivial task. In this particular case, the references you can get via the dictionary access are suitable for reading, but not for assignment. Instead of page[NameObject("/Contents")] = contents, you may use page.replace_contents(contents) . I ran into the same problem when I first wrote https://github.com/hoehermann/pypdf_strreplace/.

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

79678071

Date: 2025-06-24 18:46:53
Score: 2
Natty:
Report link

Use git-credential-manager

brew install --cask git-credential-manager

When you use git next time, it will automatically ask to open as to open in a web browser and authenticate you. You dont have to worry about configuring permissions yourself.

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

79678066

Date: 2025-06-24 18:39:51
Score: 2
Natty:
Report link

It looks like the root cause is below

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

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

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

None of them fixed by google (API-35)

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

79678060

Date: 2025-06-24 18:33:49
Score: 1
Natty:
Report link

Natknąłem się na ten sam problem w mojej aplikacji po podbiciu springa.

W wersji tomcat 10.1.42 udało mi się rozwiązać ten problem za pomocą zmiennej w application.properties:

server.tomcat.max-part-count=30
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Adam Jędrzejko

79678046

Date: 2025-06-24 18:23:46
Score: 10 🚩
Natty: 5.5
Report link

I am facing the same issue while pushing my node project, what should i do?

Reasons:
  • Blacklisted phrase (2): what should i do
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): I am facing the same issue
  • Ends in question mark (2):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Rupal Porwal

79678044

Date: 2025-06-24 18:22:45
Score: 4
Natty:
Report link

A few things that might help others (including me) assist you better:

1. What Node.js library are you using for NFC communication? (e.g., `nfc-pcsc`)

2. Can you share the APDU commands you’re using to write `PWD`, `PACK`, and `AUTH0`?

3. Is the tag already locked when you try to write?

4. Are you getting any specific error codes or responses from the reader?

Also, have you checked the NTAG213 datasheet? The protection config pages are usually between E3 to E6, and AUTH0 sets the page where protection begins.

If you share some code, I can try to debug or help further.

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you share
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (1):
Posted by: d. Praveen

79678043

Date: 2025-06-24 18:20:45
Score: 0.5
Natty:
Report link

if you are using emulator, try to run your code on a physical device. I solved my issue in this way.

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

79678037

Date: 2025-06-24 18:19:44
Score: 2.5
Natty:
Report link

Add /a/* to the .gitignore I'd assume. You can ex do /a/*.txt for just text files.

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

79678035

Date: 2025-06-24 18:18:44
Score: 0.5
Natty:
Report link

I had a similar issue that was caused by including shell completions in my .zprofile. I specifically had:

if command -v ngrok &>/dev/null; then
  eval "$(ngrok completion)"
fi

This is an issue because .zprofile runs prior to Zsh setting up completions. Moving this logic to .zshrc solved this for me.

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

79678029

Date: 2025-06-24 18:10:42
Score: 1
Natty:
Report link

It looks like the edited version was overwritten or misnamed, so let's rename the correct existing file

source_path = "/mnt/data/A_digital_illustration_in_retro-futurism_and_anime.png"

dest_path = "/mnt/data/Crash_to_rewind_final.png"

copyfile(source_path, dest_path)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Daniela Miniano

79678019

Date: 2025-06-24 18:01:40
Score: 1.5
Natty:
Report link

This seems like it would be a simple thing to do, but unfortunately it’s something we don’t support and have a Defect on our backlog to fix this.

While there is not a way to add a Note and have the checkbox appear checked, you can send <ActExpDt>2300-12-30</ActExpDt> to make it not expire, but the checkbox still won’t show as checked.

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

79678009

Date: 2025-06-24 17:55:38
Score: 2
Natty:
Report link

Everyone -

Here's what I've done, and it seems to have worked.

Took the "meat" of the script (i.e. that which was posted), created a brand new file, then ran the script. Success. I don't know why, other than somehow/maybe, non-visible characters were included in original, and now are no longer exist.

Appreciate everyone who tried. Thanks!

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Solaris_Guy

79678007

Date: 2025-06-24 17:52:37
Score: 4
Natty: 4.5
Report link

What to do when such a mistake occurs?

MissingPackageManifestError: Could not find one of 'package.json' manifest files in the package
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Starts with a question (0.5): What to
  • Low reputation (1):
Posted by: Red

79677997

Date: 2025-06-24 17:44:35
Score: 1
Natty:
Report link

For the inner-box class add the position styles

.inner-box {
    flex: 1;
    background-color: transparent;
    border-radius: 8px;
    border: 2px solid white;
    position: relative;
    top: -8px;
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Ravi Chand

79677996

Date: 2025-06-24 17:42:34
Score: 1.5
Natty:
Report link

This can be achieved by adding the css property break-inside to the child items.

Adding the following to the css in your codepen achieves the desired effect:

.sub-menu{
  break-inside: avoid;
}
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Solomino

79677989

Date: 2025-06-24 17:32:31
Score: 0.5
Natty:
Report link

Most of the issues come from trying to model the 3d situation with a 1d potential well.

Some notes

You may need to reconsider the 1d approach. Or introduce something to account for deviations from spherical symmetry.

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

79677987

Date: 2025-06-24 17:31:31
Score: 2
Natty:
Report link

// login_screen.dart import 'package:flutter/material.dart'; import 'package:firebase_auth/firebase_auth.dart';

class LoginScreen extends StatefulWidget { @override _LoginScreenState createState() => _LoginScreenState(); }

class _LoginScreenState extends State<LoginScreen> { final _phoneController = TextEditingController(); final _otpController = TextEditingController(); final FirebaseAuth _auth = FirebaseAuth.instance;

String _verificationId = ''; bool _otpSent = false;

void _sendOTP() async { await _auth.verifyPhoneNumber( phoneNumber: '+91' + _phoneController.text.trim(), verificationCompleted: (PhoneAuthCredential credential) async { await _auth.signInWithCredential(credential); }, verificationFailed: (FirebaseAuthException e) { ScaffoldMessenger.of(context).showSnackBar(SnackBar(content: Text('Verification failed: ${e.message}'))); }, codeSent: (String verificationId, int? resendToken) { setState(() { _verificationId = verificationId; _otpSent = true; }); }, codeAutoRetrievalTimeout: (String verificationId) { _verificationId = verificationId; }, ); }

void _verifyOTP() async { PhoneAuthCredential credential = PhoneAuthProvider.credential( verificationId: _verificationId, smsCode: _otpController.text.trim(), ); await _auth.signInWithCredential(credential); }

@override Widget build(BuildContext context) { return Scaffold( appBar: AppBar(title: Text('Login via OTP')), body: Padding( padding: const EdgeInsets.all(16.0), child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ TextField( controller: _phone

Controller,

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Contains question mark (0.5):
  • User mentioned (1): @override
  • User mentioned (0): @override
  • Low reputation (1):
Posted by: Niharika Kaladev

79677985

Date: 2025-06-24 17:26:30
Score: 1
Natty:
Report link

Does this help you?

import unittest
from unittest.mock import MagicMock, patch
class TestGatttoolInteraction(unittest.TestCase):
    """
    Test suite for the gatttool interaction functions.
    Mocks pexpect.spawn to avoid actual external process calls.
    """

    @patch('pexpect.spawn') # Patch pexpect.spawn globally for all tests in this class
    def test_connect_success(self, mock_spawn):
        """
        Tests that the connect function correctly spawns gatttool,
        sends the connect command, and expects success.
        """
        # Configure the mock pexpect.spawn object.
        # When mock_spawn() is called, it returns a mock object (mock_gatt).
        mock_gatt = MagicMock()
        mock_spawn.return_value = mock_gatt

        # Simulate gatttool's response to the connect command.
        # When mock_gatt.expect is called, we want it to succeed without error.
        # We don't need to specify return value for expect if it just needs to not raise.
        mock_gatt.expect.return_value = 0 # A common return for success in pexpect

        # Call the function under test
        connect()

        # Assertions to verify correct behavior:

        # 1. Verify pexpect.spawn was called with the correct command
        mock_spawn.assert_called_once_with("sudo gatttool -I")

        # 2. Verify the correct connect command was sent
        mock_gatt.sendline.assert_any_call("connect " + MAC)

        # 3. Verify 'Connection successful' was expected
        mock_gatt.expect.assert_called_once_with("Connection successful")

        # 4. Verify the global 'gatt' variable was set to the mock object
        self.assertIs(gatt, mock_gatt)


    @patch('pexpect.spawn')
    def test_connect_failure(self, mock_spawn):
        """
        Tests that connect raises an exception if 'Connection successful'
        is not found, simulating a connection failure.
        """
        mock_gatt = MagicMock()
        mock_spawn.return_value = mock_gatt

        # Configure expect to raise an exception, simulating failure to find expected text
        mock_gatt.expect.side_effect = pexpect.exceptions.TIMEOUT('Timeout waiting for "Connection successful"')

        # Assert that the function raises the expected pexpect exception
        with self.assertRaises(pexpect.exceptions.TIMEOUT):
            connect()

        mock_spawn.assert_called_once_with("sudo gatttool -I")
        mock_gatt.sendline.assert_called_once_with("connect " + MAC)
        mock_gatt.expect.assert_called_once_with("Connection successful")


    @patch('pexpect.spawn') # Patch pexpect.spawn for this test
    def test_send_success(self, mock_spawn):
        """
        Tests that the send function correctly calls connect(),
        sends the char-write-req command, and expects success.
        """
        mock_gatt_instance = MagicMock()
        # Ensure that each call to pexpect.spawn() (e.g., from connect())
        # returns the same mock object in this test context.
        mock_spawn.return_value = mock_gatt_instance

        # Simulate successful responses for both connect() and send() operations
        # expect() should not raise an error
        mock_gatt_instance.expect.return_value = 0

        test_value = "ab"
        send(test_value)

        # Assertions:

        # 1. Verify pexpect.spawn was called twice (once by connect() inside send(), then again by connect() in the second call)
        # However, because send() calls connect() which *re-spawns* and overwrites 'gatt',
        # we only care about the state after the final connect().
        # The important thing is that gatt.sendline and gatt.expect are called correctly on the *final* gatt object.
        # Since connect() is called, pexpect.spawn will be called once.
        mock_spawn.assert_called_once_with("sudo gatttool -I")

        # 2. Verify the connect command was sent by connect()
        mock_gatt_instance.sendline.assert_any_call("connect " + MAC)

        # 3. Verify 'Connection successful' was expected by connect()
        mock_gatt_instance.expect.assert_any_call("Connection successful")

        # 4. Verify the characteristic write command was sent
        expected_write_command = f"char-write-req 0x000c {test_value}0"
        mock_gatt_instance.sendline.assert_any_call(expected_write_command)

        # 5. Verify 'Characteristic value was written successfully' was expected
        mock_gatt_instance.expect.assert_any_call("Characteristic value was written successfully")

        # Ensure gatt.sendline and gatt.expect were called for both operations
        # We use call_count to ensure both connect and send operations occurred on the mock
        self.assertEqual(mock_gatt_instance.sendline.call_count, 2)
        self.assertEqual(mock_gatt_instance.expect.call_count, 2)

    @patch('pexpect.spawn')
    def test_send_write_failure(self, mock_spawn):
        """
        Tests that send raises an exception if 'Characteristic value was written successfully'
        is not found, simulating a write failure.
        """
        mock_gatt_instance = MagicMock()
        mock_spawn.return_value = mock_gatt_instance

        # Set up expect to succeed for the 'connect' call
        mock_gatt_instance.expect.side_effect = [
            0, # Success for "Connection successful"
            pexpect.exceptions.TIMEOUT('Timeout waiting for "Characteristic value was written successfully"') # Failure for the write
        ]

        test_value = "1a"
        with self.assertRaises(pexpect.exceptions.TIMEOUT):
            send(test_value)

        mock_spawn.assert_called_once_with("sudo gatttool -I")
        mock_gatt_instance.sendline.assert_any_call("connect " + MAC)
        mock_gatt_instance.expect.assert_any_call("Connection successful")
        mock_gatt_instance.sendline.assert_any_call(f"char-write-req 0x000c {test_value}0")
        mock_gatt_instance.expect.assert_any_call("Characteristic value was written successfully")
        self.assertEqual(mock_gatt_instance.sendline.call_count, 2)
        self.assertEqual(mock_gatt_instance.expect.call_count, 2)


if __name__ == '__main__':
    unittest.main(argv=['first-arg-is-ignored'], exit=False) # exit=False prevents sys.exit()
Reasons:
  • Long answer (-1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Mickle-The-Pickle

79677978

Date: 2025-06-24 17:23:29
Score: 2
Natty:
Report link

If only you are working on the branch you can do:

See commit history,reflog : git reflog

Reset to old commit : git reset --hard <old-sha>

Force push to remote: git push --force origin <branch-name>

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

79677968

Date: 2025-06-24 17:16:27
Score: 0.5
Natty:
Report link

Something like =MAX(FILTER(B:B,A:A="apples")) should work.

(Note that, unless the cell with this formula is formatted for Dates, this will show as a number, instead of a date, that can then be formatted as a date by right-clicking->Format Cells...->Date.)

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

79677964

Date: 2025-06-24 17:12:26
Score: 3
Natty:
Report link

Something was wrong with virtual environment, I deleted it and created once again, installed just Flask, and debug modes works fine. Problem solved.

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

79677954

Date: 2025-06-24 17:03:22
Score: 10 🚩
Natty: 4.5
Report link

Did you find the alternative?, cause im having the same problem

Reasons:
  • RegEx Blacklisted phrase (3): Did you find the
  • Low length (1.5):
  • No code block (0.5):
  • Me too answer (2.5): having the same problem
  • Contains question mark (0.5):
  • Single line (0.5):
  • Starts with a question (0.5): Did you find the
  • Low reputation (1):
Posted by: jhonny gonzalez

79677951

Date: 2025-06-24 17:00:22
Score: 3
Natty:
Report link

I faced a vague rejection message from Play Store too. https://playtrust.pulsecode.in gave a clear checklist of what to fix. Fixed them and resubmitted — got accepted!

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

79677944

Date: 2025-06-24 16:55:20
Score: 1
Natty:
Report link

I always use the IDE that I'm currently working with. For instance, if I'm using VSCode to write Vue code, I prefer to keep everything within that environment.

Using an IDE like VSCode can enhance the way you write code due to features like autocompletion, tips, and more. I enjoy using VSCode for frontend development, and I believe it's more of a personal preference than the "right way to do things."

If you're undecided about which IDE to choose, I recommend sticking with VSCode; it's excellent for beginners.

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

79677940

Date: 2025-06-24 16:52:19
Score: 2
Natty:
Report link

Note that the accepted answer seems to be bullshit AI slop. django_cgroup does not exist and a Google search only links to this post.

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