79686001

Date: 2025-07-01 11:49:38
Score: 3.5
Natty:
Report link

just update VS to the latest build or use the workaround mentioned in the issue

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

79685999

Date: 2025-07-01 11:45:37
Score: 0.5
Natty:
Report link

Try to update node-abi:

npm install node-abi@latest

The newer version of node-abi includes support for Electron 37.1.0.

Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Khaled Ayed

79685998

Date: 2025-07-01 11:44:36
Score: 3.5
Natty:
Report link

I have found that in Solution Nuget packages

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

79685996

Date: 2025-07-01 11:41:35
Score: 1.5
Natty:
Report link

I managed to find to solve the issue by knowing exactly the number of differences in the first few lines and counting onwards from there.

diff a.txt b.txt &> log.log
wc -l <"log.log") != <known number of differences>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Omar Khouly

79685994

Date: 2025-07-01 11:40:34
Score: 3
Natty:
Report link

Delete python path from enviroment variables. And then install python again. It will work.

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

79685985

Date: 2025-07-01 11:36:33
Score: 1.5
Natty:
Report link

Experience a Smarter Way to Manage Your Fleet

Fleetblox

AI-POWERED FLEET MANAGEMENT

Fleetblox Cloud Garage is compatible with 43 car makes, seamlessly connecting to over 177 million vehicles through a single platform.  With global coverage across North America and Europe, our advanced AI-driven solution  optimizes fleet management, ensuring maximum operational efficiency  and streamlined performance—all in ...see more in  https://www.fleetblox.com

Click Here

https://www.fleetblox.com

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

79685981

Date: 2025-07-01 11:34:33
Score: 1.5
Natty:
Report link

On Ubuntu this is enough:
sudo apt-get install libxml2-dev libxslt-dev
Also note, that python-dev in documentation refers to Python 2 and not needed for Python 3 installations.

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

79685978

Date: 2025-07-01 11:29:31
Score: 1
Natty:
Report link

I suggest to use Langgraph Studio https://langchain-ai.github.io/langgraph/concepts/langgraph_studio/.

It can show you the graph as you work on it and you can run live tests in graph mode and in chat mode, it's also integrated with LangSmith. Pretty useful for agent development.

Here is a sample graph with two expanded subgraphs.enter image description here

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

79685976

Date: 2025-07-01 11:26:30
Score: 2
Natty:
Report link

Make you Dto a value class and it won't be part of the serialized object.

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

79685973

Date: 2025-07-01 11:22:29
Score: 1.5
Natty:
Report link

It seems this was user error (kindof). In figma I have a layer that is used as a mask (to clip the svg). Every other program doesnt have an issue with it having a color, but Godot 4.4 seems to apply it anyway.

Here is my figma file:enter image description here

as you can see, the Mask has a color and a blend mode, and that gets applied in Godot, making it darker. If I set the "Fill" to white, everything looks ok.

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

79685968

Date: 2025-07-01 11:16:28
Score: 3
Natty:
Report link

According to the information here with Vuforia 11.3 you need Unity 6 (6.0.23f1+)

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

79685962

Date: 2025-07-01 11:14:27
Score: 2.5
Natty:
Report link

Use a CTE to evaluate the case, then the main query can filter -

with x as (select ... case this, case that ... from tbls)
select <whatever> from x where <your-filters>;

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

79685961

Date: 2025-07-01 11:14:27
Score: 1
Natty:
Report link

for this purpose, using a custom dataset is the recommended approach. You can follow this guide:
https://docs.kedro.org/en/0.19.14/data/how_to_create_a_custom_dataset.html#advanced-tutorial-to-create-a-custom-dataset

The implementation should be straightforward - you mainly need to define the _save method like this:

class YourModelDataset(AbstractDataset):
    def __init__(self, filepath: str):
        self._filepath = filepath

    def _save(self, model: PipelineModel) -> None:
        model.save(self._filepath)

Once defined, just register the dataset in your catalog.yml with the appropriate type and filepath.

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

79685955

Date: 2025-07-01 11:11:26
Score: 1.5
Natty:
Report link

Deleting my simulator device in Android Studio and then installing a new one worked for me.

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

79685948

Date: 2025-07-01 11:05:25
Score: 1.5
Natty:
Report link

Upgrade to - it should work

<dependency>
            <groupId>io.appium</groupId>
            <artifactId>java-client</artifactId>
            <version>9.5.0</version>
        </dependency>
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user30938248

79685941

Date: 2025-07-01 11:00:23
Score: 0.5
Natty:
Report link

Google TV apps were build on Android TV SDK, which is Java/Kotlin-based. Whereas, Samsung uses Tizen (HTML5/JS) and LG runs on webOS (also HTML5/JS). So, you have to build the separate codebases for each platform. Unfortunately, the Google TV guidelines and UI components won't directly translate to Tizen or webOS due to different runtime environments, design standards, and APIs.

However the good news is:

If you're looking for scale and faster deployment, many businesses go with white-label solutions like VPlayed**, Zapp, or Accedo**, which offer multi-platform Smart TV apps with a unified backend and consistent UX. For more details on accessing a while label cloud tv platform checkout: https://www.vplayed.com/cloud-tv-platform.php

In short yes, separate codebases are required but the strategy you use can save you a lot of time in the long run.

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

79685940

Date: 2025-07-01 10:59:23
Score: 2
Natty:
Report link

There is option in Postmant now that allows reverting changes in any collection, thus in fork collection as well.

Just click on the collection and in the right side panel click history. Choose where you want to restore changes from.

Done!

It is a bit slow so give it some time to reflect changes.

Image of right hand panel

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

79685939

Date: 2025-07-01 10:59:23
Score: 0.5
Natty:
Report link

Ultimately this looks like an opinion based question, I will give you my two cents:

Option 1:

The server application will have to create a framework to remember the values written for each "command" if that is necessary. "Command" implies that writing on a particular command will end up performing certain procedure, and nothing too complicated, in that case Option 1 is a good option. If however, you need to remember the values written for each command (which is implied since you want to support read), then you will have to write code that is already written by whichever BLE stack you are using.

Option 2:

This looks good if you already know the number of commands you will support, hence the number of characteristics you will have, there is an overhead of discovery involved. The client will have to discover all characteristics at the beginning and remember which handle belongs to which UUID and hence which command. This, while involving some extra complication, will provide more flexibility to specify permissions for each command. You could have a command require encryption/authentication/authorization to write to, while keeping other commands with different permissions. You could also have different write properties, commands that only accept read or write, notifications/indications independently for each characteristic, size control for commands that will always have a particular size, better error code responses, etc.

If the requirements are only and exactly as you specified, then both options are fine, you could probably toss a coin and let fate decide, note that my recommendation is the second option.

If there is a possibility to extend functionalities in the future, I will only recommend the second option.

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

79685932

Date: 2025-07-01 10:56:22
Score: 5
Natty:
Report link

Did you manage to solve this? I had to the do the following which forced the connection to be Microsoft.Data.SqlClient by creating it myself. I also pass in true to the base constructor to let the context dispose the connection after.

using System;
using System.Data.Common;
using System.Data.Entity;
using Microsoft.AspNet.Identity.EntityFramework;
using Microsoft.Data.SqlClient;
using Mintsoft.LaunchDarkly;
using Mintsoft.UserManagement.Membership;

namespace Mintsoft.UserManagement
{
    public class UserDbContext : IdentityDbContext<ApplicationUser>
    {
        private static DbConnection GetBaseDbConnection()
        {
            var connectionString = System.Configuration.ConfigurationManager.ConnectionStrings["BaseContext"].ConnectionString;
            return new SqlConnection(connectionString);
        }

        public UserDbContext()
            : base(GetBaseDbConnection(), true)
        {
        }
Reasons:
  • RegEx Blacklisted phrase (3): Did you manage to solve this
  • RegEx Blacklisted phrase (1.5): solve this?
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Did you
  • Low reputation (0.5):
Posted by: Max Power

79685921

Date: 2025-07-01 10:46:19
Score: 2
Natty:
Report link

Yes, there is a way. Described here.

But...what utilizes ForkJoinPool?
ForkJoinPool is designed to split task into smaller tasks and reduce the results of computations in the end (e.g. collections parallel stream)
So If it's not suitable for your case, it would be advisable to use another executorservice.

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

79685920

Date: 2025-07-01 10:45:18
Score: 2
Natty:
Report link

The view point i can add in solving the problem above is that The key insight from this case is that Flask-Alembic migration errors often mask the real problem: code that accesses the database during module import, before the database is properly initialized. This works locally because tables exist, but fails on fresh deployments.

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

79685912

Date: 2025-07-01 10:42:17
Score: 0.5
Natty:
Report link

It's strange that this error happens when you do full reload 🤔.
I believe the problem you are having is due to partial page navigation. This is when SharePoint refreshes just part of the page not the whole website and it means many parts like oninit on useEffect on first run will not rerun and due to that the sp.web may still be relying on an outdated or uninitialized context.

This may happen when you initialize sp.setup({...}) only once, say in onInit, and it’s not updated on subsequent navigations.

You may find more context in this article.
https://www.blimped.nl/spfx-and-the-potential-pitfall-of-partial-page-navigation/

Hope what I suspect is correct and my comment will help you get unblocked 🤞🤞
Happy Coding!

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

79685911

Date: 2025-07-01 10:41:17
Score: 1
Natty:
Report link

Personally i developed and use Evernox to manage my databases visually.

In Evernox you can create revisions for each version of your database/diagram.

From these revisions you can automatically generate migrations for different DBMS like postgres, MySql, BigQuery.

It's really convenient to manage your database in a visual diagram editor and then just create revisions for each version, where you can visually inspect the differences

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

79685909

Date: 2025-07-01 10:37:16
Score: 2
Natty:
Report link

Here is an example. will work on any platform
https://www.bleuio.com/blog/ble-usb-dongle-throughput-measurement/

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

79685906

Date: 2025-07-01 10:36:16
Score: 2
Natty:
Report link

I had the same issue in production, just added this line to my `.env' file:

ASSET_URL=https://example.com

set your asset address with https at the value.

like what this article in stackoverflow

Reasons:
  • Blacklisted phrase (1): this article
  • Blacklisted phrase (1): stackoverflow
  • Whitelisted phrase (-1): I had the same
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Ali H

79685891

Date: 2025-07-01 10:23:13
Score: 1
Natty:
Report link

What I needed to do was:

SwaggerConfiguration oasConfig = new SwaggerConfiguration()
    .openApi(baseModel)
    .readerClass(MyCustomReader.class.getName()) // <- HERE
    .prettyPrint(true)
    .resourcePackages(Set.of("my.api.package"));
public class MyCustomReader extends Reader {

  @Override
  public OpenAPI read(Class<?> cls,
                      String parentPath, 
                      String parentMethod, 
                      boolean isSubresource,
                      RequestBody parentRequestBody, 
                      ApiResponses apiResponses,
                      Set<String> parentTags,
                      List<Parameter> parentParameters,
                      Set<Class<?>> scannedResources)
 {
    OpenAPI openAPI = super.read(cls, parentPath, parentMethod, isSubresource,                parentRequestBody, apiResponses,
      parentTags, parentParameters, scannedResources);
    return populateMissingDescriptions(openAPI);
  }

  public static OpenAPI populateMissingDescriptions(OpenAPI openAPI) {
    if (openAPI.getPaths() != null) {
      for (Entry<String, PathItem> entry : openAPI.getPaths().entrySet()) {
        String path = entry.getKey();
        PathItem pathItem = entry.getValue();
        for (Operation operation : pathItem.readOperations()) {
          if (operation.getResponses() != null) {
            for (Entry<String, ApiResponse> e : operation.getResponses().entrySet()) {
              String status = e.getKey();
              ApiResponse response = e.getValue();
              if (response.getDescription() == null) {
                response.setDescription("");
              }
            }
          }
        }
      }
    }
    return openAPI;
  }
}
Reasons:
  • Blacklisted phrase (0.5): I need
  • Long answer (-1):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Starts with a question (0.5): What I
  • Low reputation (1):
Posted by: dmn28

79685888

Date: 2025-07-01 10:20:12
Score: 2.5
Natty:
Report link

For logback, add %ms for microseconds.

%d{yyyy-MM-dd'T'HH:mm:ss.SSS}%ms

Source: https://logback.qos.ch/manual/layouts.html#micros

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

79685881

Date: 2025-07-01 10:11:10
Score: 3.5
Natty:
Report link

ngrok-skip-browser-warning: true using ModHeaders extension

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

79685877

Date: 2025-07-01 10:07:08
Score: 10
Natty: 4.5
Report link

I still can't figure it out. Can anyone help me?

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (3): Can anyone help me
  • Low length (1.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Hakan Hakan

79685870

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

i find your method very interesting , however in a case where you don't know anything about your data, meaning you don't know the optimal distance threshold , how would you encounter the problem ( also you can't choose it based on intuition with no profound study , since you can have a lot of clusters/sets of points with big variety of deviations , very dense ones vs very sparse ones ) ? My goal is: given a numerical variable ( 1 dimension only ) , do an agglomerative clustering and get the optimal number of clusters to do a binning just after that and transform it to a categorical one , I'm thinking about using some indicators of information purity in order to measure the impact of each merge, but i haven't figured it out yet.

Reasons:
  • Blacklisted phrase (1): how would you
  • Long answer (-0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: Zakaria El Kazdam

79685866

Date: 2025-07-01 09:59:05
Score: 0.5
Natty:
Report link
**11*
Name="flex items-center space-x-4 mb-4">
                <Badge className={`${currentLevel.color} font-semibold`}>
                  {currentLevel.name}
                </Badge>
                <div className="flex items-center space-x-1">
                  <Star className="w-4 h-4" />
                  <span>{profile?.points || 0} Points</span>
                </div>
              </div>
              <div className="space-y-2">
                <div className="flex justify-between text-sm">
                  <span>Progress to {currentLevel.name === "Master" ? "Max Level" : "Next Level"}</span>
                  <span>{profile?.points || 0} / {nextLevelPoints}</span>
                </div>
                <Progress value={progressPercent} className="bg-white/20" />
              </div>
            </div>
          </div>
        </CardContent>
      </Card>

      {/* Stats Grid */}
      <div className="grid md:grid-cols-4 gap-6">
        <Card>
          <CardContent className="p-6 text-center">
            <Award className="w-8 h-8 text-blue-500 mx-auto mb-2" />
            <p className="text-2xl font-bold text-blue-600">{profile?.points || 0}</p>
            <p className="text-gray-600 text-sm">Total Points</p>
          </CardContent>
        </Card>

        <Card>
          <CardContent className="p-6 text-center">
            <Calendar className="w-8 h-8 text-green-500 mx-auto mb-2" />
            <p className="text-2xl font-bold text-green-600">{profile?.events_attended || 0}</p>
            <p className="text-gray-600 text-sm">Events Attended</p>
          </CardContent>
        </Card>

        <Card>
          <CardContent className="p-6 text-center">
            <TrendingUp className="w-8 h-8 text-purple-500 mx-auto mb-2" />
            <p className="text-2xl font-bold text-purple-600">{profile?.impact_score || 0}</p>
            <p className="text-gray-600 text-sm">Impact Score</p>
          </CardContent>
        </Card>

        <Card>
          <CardContent className="p-6 text-center">
            <Trophy className="w-8 h-8 text-orange-500 mx-auto mb-2" />
            <p className="text-2xl font-bold text-orange-600">{profile?.badges?.length || 0}</p>
            <p className="text-gray-600 text-sm">Badges Earned</p>
          </CardContent>
        </Card>
      </div>

      {/* Badges Section */}
      <Card>
        <CardHeader>
          <CardTitle className="flex items-center space-x-2">
            <Star className="w-5 h-5" />
            <span>Badges & Achievements</span>
          </CardTitle>
          <CardDescription>Recognition for your environmental impact</CardDescription>
        </CardHeader>
        <CardContent>
          {profile?.badges && profile.badges.length > 0 ? (
            <div className="grid grid-cols-2 md:grid-cols-4 gap-4">
              {profile.badges.map((badge, index) => (
                <div key={index} className="text-center p-4 bg-gradient-to-br from-yellow-50 to-orange-50 rounded-lg border">
                  <Award className="w-8 h-8 text-yellow-500 mx-auto mb-2" />
                  <p className="font-semibold text-sm">{badge}</p>
                </div>
              ))}
            </div>
          ) : (
            <div className="text-center py-8">
              <Target className="w-16 h-16 text-gray-400 mx-auto mb-4" />
              <p className="text-gray-600">No badges earned yet</p>
              <p className="text-sm text-gray-500">Participate in events to earn your first badge!</p>
            </div>
          )}
        </CardContent>
      </Card>

      {/* Recent Activities */}
      <Card>
        <CardHeader>
          <CardTitle className="flex items-center space-x-2">
            <Calendar className="w-5 h-5" />
            <span>Recent Activities</span>
          </CardTitle>
          <CardDescription>Your latest environmental contributions</CardDescription>
        </CardHeader>
        <CardContent>
          {loading ? (
            <div className="text-center py-4">
              <div className="animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600 mx-auto"></div>
            </div>
          ) : recentActivities.length > 0 ? (
            <div className="space-y-4">
              {recentActivities.map((activity, index) => (
                <div key={index} className="flex items-center justify-between p-4 bg-gray-50 rounded-lg">
                  <div className="flex items-center space-x-3">
                    <div className="w-2 h-2 bg-green-500 rounded-full"></div>
                    <div>
                      <h4 className="font-semibold">{activity.events?.title}</h4>
                      <p className="text-sm text-gray-600">
                        {activity.events?.location} • {new Date(activity.events?.date).toLocaleDateString()}
                      </p>
                    </div>
                  </div>
                  <Badge className="bg-green-100 text-green-800">
                    +{activity.points_awarded} pts
                  </Badge>
                </div>
              ))}
            </div>
          ) : (
            <div className="text-center py-8">
              <Calendar className="w-16 h-16 text-gray-400 mx-auto mb-4" />
              <p className="text-gray-600">No recent activities</p>
              <p className="text-sm text-gray-500">Join events to see your activities here!</p>
            </div>
          )}
        </CardContent>
      </Card>
    </div>
  );
};

export default ProfileStats;



========== C:\Users\satya\Downloads\sarthi-beach-brigade-main\sarthi-beach-brigade-main\src\components\volunteer\SarthiBot.tsx ==========

import { useState, useRef, useEffect } from 'react';
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from '@/components/ui/card';
import { Button } from '@/components/ui/button';
import { Input } from '@/components/ui/input';
import { Badge } from '@/components/ui/badge';
import { MessageSquare, Send, Mic, MicOff, Volume2 } from 'lucide-react';

interface Message {
  id: string;
  text: string;
  sender: 'user' | 'bot';
  timestamp: Date;
}

const SarthiBot = () => {
  const [messages, setMessages] = useState<Message[]>([
    {
      id: '1',
      text: "Hi! I'm SarthiBot, your beach cleanup assistant. Ask me about events, eco-tips, or anything related to ocean conservation!",
      sender: 'bot',
      timestamp: new Date(),
    }
  ]);
  const [inputText, setInputText] = useState('');
  const [isListening, setIsListening] = useState(false);
  const [isLoading, setIsLoading] = useState(false);
  const messagesEndRef = useRef<HTMLDivElement>(null);

  const scrollToBottom = () => {
    messagesEndRef.current?.scrollIntoView({ behavior: 'smooth' });
  };

  useEffect(() => {
    scrollToBottom();
  }, [messages]);

  const sendMessage = async (text: string) => {
    if (!text.trim()) return;

    const userMessage: Message = {
      id: Date.now().toString(),
      text: text.trim(),
      sender: 'user',
      timestamp: new Date(),
    };

    setMessages(prev => [...prev, userMessage]);
    setInputText('');
    setIsLoading(true);

    // Simulate AI response
    setTimeout(() => {
      const botResponse: Message = {
        id: (Date.now() + 1).toString(),
        text: getBotResponse(text),
        sender: 'bot',
        timestamp: new Date(),
      };
      setMessages(prev => [...prev, botResponse]);
      setIsLoading(false);
    }, 1000);
  };

  const getBotResponse = (userText: string): string => {
    const lowerText = userText.toLowerCase();
    
    if (lowerText.includes('event') || lowerText.includes('cleanup')) {
      return "Great question! There are several beach cleanup events happening in Mumbai this week. Check the 'Discover' tab to see events near Juhu Beach, Marine Drive, and Versova Beach. Would you like me to help you register for one?";
    }
    
    if (lowerText.includes('point') || lowerText.includes('badge')) {
      return "You earn points by participating in events! Beach cleanups give 50-100 points, educational modules give 25 points, and referring friends gives 30 points. You can unlock badges like 'Ocean Guardian' and 'Cleanup Champion'!";
    }
    
    if (lowerText.includes('plastic') || lowerText.includes('waste')) {
      return "Here's an eco-tip: Microplastics are one of the biggest threats to marine life. Always sort waste during cleanups - plastics, glass, and organic matter should be separated. Every piece you collect makes a difference!";
    }
    
    if (lowerText.includes('mumbai') || lowerText.includes('beach')) {
      return "Mumbai has amazing beaches perfect for cleanup activities! Juhu Beach is great for beginners, Marine Drive for urban cleanup, and Versova Beach has shown incredible transformation through community efforts. Which one interests you most?";
    }
    
    return "That's an interesting question! I'm here to help with beach cleanup activities, event information, and eco-tips. You can also ask me about points, badges, or conservation techniques. What would you like to know more about?";
  };

  const handleVoiceToggle = () => {
    setIsListening(!isListening);
    // Voice recognition would be implemented here
    if (!isListening) {
      // Start listening
      setTimeout(() => {
        setIsListening(false);
        sendMessage("I heard you say something about beach cleanup events!");
      }, 3000);
    }
  };

  const speakText = (text: string) => {
    if ('speechSynthesis' in window) {
      const utterance = new SpeechSynthesisUtterance(text);
      speechSynthesis.speak(utterance);
    }
  };

  return (
    <Card className="h-[600px] flex flex-col">
      <CardHeader className="bg-gradient-to-r from-blue-500 to-cyan-500 text-white rounded-t-lg">
        <CardTitle className="flex items-center space-x-2">
          <MessageSquare className="w-5 h-5" />
          <span>SarthiBot - AI Assistant</span>
        </CardTitle>
        <CardDescription className="text-blue-100">
          Your friendly beach cleanup companion
        </CardDescription>
      </CardHeader>
      
      <CardContent className="flex-1 flex flex-col p-0">
        {/* Messages */}
        <div className="flex-1 overflow-y-auto p-4 space-y-4">
          {messages.map((message) => (
            <div
              key={message.id}
              className={`flex ${message.sender === 'user' ? 'justify-end' : 'justify-start'}`}
            >
              <div
                className={`max-w-[80%] p-3 rounded-lg ${
                  message.sender === 'user'
                    ? 'bg-blue-500 text-white'
                    : 'bg-gray-100 text-gray-800'
                }`}
              >
                <p className="text-sm">{message.text}</p>
                {message.sender === 'bot' && (
                  <Button
                    size="sm"
                    variant="ghost"
                    className="mt-2 h-6 px-2 text-xs"
                    onClick={() => speakText(message.text)}
                  >
                    <Volume2 className="w-3 h-3" />
                  </Button>
                )}
              </div>
            </div>
          ))}
          
          {isLoading && (
            <div className="flex justify-start">
              <div className="bg-gray-100 p-3 rounded-lg">
                <div className="flex space-x-1">
                  <div className="w-2 h-2 bg-gray-400 rounded-full animate-bounce"></div>
                  <div className="w-2 h-2 bg-gray-400 rounded-full animate-bounce" style={{ animationDelay: '0.1s' }}></div>
                  <div className="w-2 h-2 bg-gray-400 rounded-full animate-bounce" style={{ animationDelay: '0.2s' }}></div>
                </div>
              </div>
            </div>
          )}
          
          <div ref={messagesEndRef} />
        </div>
        
        {/* Input */}
        <div className="border-t p-4">
          <div className="flex space-x-2">
            <Input
              value={inputText}
              onChange={(e) => setInputText(e.target.value)}
              placeholder="Ask me anything about beach cleanup..."
              onKeyPress={(e) => e.key === 'Enter' && sendMessage(inputText)}
              className="flex-1"
            />
            <Button
              onClick={handleVoiceToggle}
              variant={isListening ? "default" : "outline"}
              size="sm"
              className={isListening ? "bg-red-500 hover:bg-red-600" : ""}
            >
              {isListening ? <MicOff className="w-4 h-4" /> : <Mic className="w-4 h-4" />}
            </Button>
            <Button onClick={() => sendMessage(inputText)} size="sm">
              <Send className="w-4 h-4" />
            </Button>
          </div>
          
          {/* Quick Actions */}
          <div className="flex flex-wrap gap-2 mt-3">
            <Badge
              variant="outline"
              className="cursor-pointer hover:bg-blue-50"
              onClick={() => sendMessage("Show me upcoming events")}
            >
              Upcoming Events
            </Badge>
            <Badge
              variant="outline"
              className="cursor-pointer hover:bg-blue-50"
              onClick={() => sendMessage("How do I earn more points?")}
            >
              Earning Points
            </Badge>
            <Badge
              variant="outline"
              className="cursor-pointer hover:bg-blue-50"
              onClick={() => sendMessage("Tell me about Mumbai beaches")}
            >
              Mumbai Beaches
            </Badge>
          </div>
        </div>
      </CardContent>
    </Card>
  );
};

export default SarthiBot;



========== C:\Users\satya\Downloads\sarthi-beach-brigade-main\sarthi-beach-brigade-main\src\hooks\use-mobile.tsx ==========
import * as React from "react"

const MOBILE_BREAKPOINT = 768

export function useIsMobile() {
  const [isMobile, setIsMobile] = React.useState<boolean | undefined>(undefined)

  React.useEffect(() => {
    const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`)
    const onChange = () => {
      setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)
    }
    mql.addEventListener("change", onChange)
    setIsMobile(window.innerWidth < MOBILE_BREAKPOINT)
    return () => mql.removeEventListener("change", onChange)
  }, [])

  return !!isMobile
}



========== C:\Users\satya\Downloads\sarthi-beach-brigade-main\sarthi-beach-brigade-main\src\hooks\use-toast.ts ==========
import * as React from "react"

import type {
  ToastActionElement,
  ToastProps,
} from "@/components/ui/toast"

const TOAST_LIMIT = 1
const TOAST_REMOVE_DELAY = 1000000

type ToasterToast = ToastProps & {
  id: string
  title?: React.ReactNode
  description?: React.ReactNode
  action?: ToastActionElement
}

const actionTypes = {
  ADD_TOAST: "ADD_TOAST",
  UPDATE_TOAST: "UPDATE_TOAST",
  DISMISS_TOAST: "DISMISS_TOAST",
  REMOVE_TOAST: "REMOVE_TOAST",
} as const

let count = 0

function genId() {
  count = (count + 1) % Number.MAX_SAFE_INTEGER
  return count.toString()
}

type ActionType = typeof actionTypes

type Action =
  | {
      type: ActionType["ADD_TOAST"]
      toast: ToasterToast
    }
  | {
      type: ActionType["UPDATE_TOAST"]
      toast: Partial<ToasterToast>
    }
  | {
      type: ActionType["DISMISS_TOAST"]
      toastId?: ToasterToast["id"]
    }
  | {
      type: ActionType["REMOVE_TOAST"]
      toastId?: ToasterToast["id"]
    }

interface State {
  toasts: ToasterToast[]
}

const toastTimeouts = new Map<string, ReturnType<typeof setTimeout>>()

const addToRemoveQueue = (toastId: string) => {
  if (toastTimeouts.has(toastId)) {
    return
  }

  const timeout = setTimeout(() => {
    toastTimeouts.delete(toastId)
    dispatch({
      type: "REMOVE_TOAST",
      toastId: toastId,
    })
  }, TOAST_REMOVE_DELAY)

  toastTimeouts.set(toastId, timeout)
}

export const reducer = (state: State, action: Action): State => {
  switch (action.type) {
    case "ADD_TOAST":
      return {
        ...state,
        toasts: [action.toast, ...state.toasts].slice(0, TOAST_LIMIT),
      }

    case "UPDATE_TOAST":
      return {
        ...state,
        toasts: state.toasts.map((t) =>
          t.id === action.toast.id ? { ...t, ...action.toast } : t
        ),
      }

    case "DISMISS_TOAST": {
      const { toastId } = action

      // ! Side effects ! - This could be extracted into a dismissToast() action,
      // but I'll keep it here for simplicity
      if (toastId) {
        addToRemoveQueue(toastId)
      } else {
        state.toasts.forEach((toast) => {
          addToRemoveQueue(toast.id)
        })
      }

      return {
        ...state,
        toasts: state.toasts.map((t) =>
          t.id === toastId || toastId === undefined
            ? {
                ...t,
                open: false,
              }
            : t
        ),
      }
    }
    case "REMOVE_TOAST":
      if (action.toastId === undefined) {
        return {
          ...state,
          toasts: [],
        }
      }
      return {
        ...state,
        toasts: state.toasts.filter((t) => t.id !== action.toastId),
      }
  }
}

const listeners: Array<(state: State) => void> = []

let memoryState: State = { toasts: [] }

function dispatch(action: Action) {
  memoryState = reducer(memoryState, action)
  listeners.forEach((listener) => {
    listener(memoryState)
  })
}

type Toast = Omit<ToasterToast, "id">

function toast({ ...props }: Toast) {
  const id = genId()

  const update = (props: ToasterToast) =>
    dispatch({
      type: "UPDATE_TOAST",
      toast: { ...props, id },
    })
  const dismiss = () => dispatch({ type: "DISMISS_TOAST", toastId: id })

  dispatch({
    type: "ADD_TOAST",
    toast: {
      ...props,
      id,
      open: true,
      onOpenChange: (open) => {
        if (!open) dismiss()
      },
    },
  })

  return {
    id: id,
    dismiss,
    update,
  }
}

function useToast() {
  const [state, setState] = React.useState<State>(memoryState)

  React.useEffect(() => {
    listeners.push(setState)
    return () => {
      const index = listeners.indexOf(setState)
      if (index > -1) {
        listeners.splice(index, 1)
      }
    }
  }, [state])

  return {
    ...state,
    toast,
    dismiss: (toastId?: string) => dispatch({ type: "DISMISS_TOAST", toastId }),
  }
}

export { useToast, toast }



========== C:\Users\satya\Downloads\sarthi-beach-brigade-main\sarthi-beach-brigade-main\src\hooks\useAuth.tsx ==========

import { createContext, useContext, useState, useEffect, ReactNode } from 'react';
import { User, Session } from '@supabase/supabase-js';
import { supabase } from '@/integrations/supabase/client';

interface Profile {
  id: string;
  name: string;
  role: 'volunteer' | 'organizer';
  points: number;
  badges: string[];
  events_attended: number;
  impact_score: number;
}

interface AuthContextType {
  user: User | null;
  profile: Profile | null;
  session: Session | null;
  isAuthenticated: boolean;
  isLoading: boolean;
  signIn: (email: string, password: string) => Promise<{ error: any }>;
  signUp: (email: string, password: string, name: string, role: 'volunteer' | 'organizer') => Promise<{ error: any }>;
  signOut: () => Promise<void>;
}

const AuthContext = createContext<AuthContextType | null>(null);

export const useAuth = () => {
  const context = useContext(AuthContext);
  if (!context) {
    throw new Error('useAuth must be used within an AuthProvider');
  }
  return context;
};

interface AuthProviderProps {
  children: ReactNode;
}

export const AuthProvider = ({ children }: AuthProviderProps) => {
  const [user, setUser] = useState<User | null>(null);
  const [profile, setProfile] = useState<Profile | null>(null);
  const [session, setSession] = useState<Session | null>(null);
  const [isLoading, setIsLoading] = useState(true);

  const fetchProfile = async (userId: string) => {
    try {
      console.log('Fetching profile for user:', userId);
      const { data, error } = await supabase
        .from('profiles')
        .select('*')
        .eq('id', userId)
        .single();

      if (error) {
        console.error('Error fetching profile:', error);
        return null;
      }

      console.log('Profile data fetched:', data);
      // Cast the role to the correct type
      return {
        ...data,
        role: data.role as 'volunteer' | 'organizer'
      } as Profile;
    } catch (error) {
      console.error('Error fetching profile:', error);
      return null;
    }
  };

  useEffect(() => {
    console.log('Setting up auth state listener');
    // Set up auth state listener
    const { data: { subscription } } = supabase.auth.onAuthStateChange(
      async (event, session) => {
        console.log('Auth state changed:', event, session?.user?.email);
        setSession(session);
        setUser(session?.user ?? null);
        
        if (session?.user) {
          // Fetch user profile data
          setTimeout(async () => {
            const profileData = await fetchProfile(session.user.id);
            console.log('Setting profile data:', profileData);
            setProfile(profileData);
            setIsLoading(false);
          }, 0);
        } else {
          setProfile(null);
          setIsLoading(false);
        }
      }
    );

    // Check for existing session
    supabase.auth.getSession().then(({ data: { session } }) => {
      console.log('Initial session check:', session?.user?.email);
      setSession(session);
      setUser(session?.user ?? null);
      
      if (session?.user) {
        fetchProfile(session.user.id).then((profileData) => {
          console.log('Initial profile data:', profileData);
          setProfile(profileData);
          setIsLoading(false);
        });
      } else {
        setIsLoading(false);
      }
    });

    return () => subscription.unsubscribe();
  }, []);

  const signIn = async (email: string, password: string) => {
    setIsLoading(true);
    
    const { error } = await supabase.auth.signInWithPassword({
      email,
      password,
    });

    if (error) {
      setIsLoading(false);
    }
    return { error };
  };

  const signUp = async (email: string, password: string, name: string, role: 'volunteer' | 'organizer') => {
    setIsLoading(true);
    
    const redirectUrl = `${window.location.origin}/`;
    
    const { error } = await supabase.auth.signUp({
      email,
      password,
      options: {
        emailRedirectTo: redirectUrl,
        data: {
          name,
          role,
        }
      }
    });

    if (error) {
      setIsLoading(false);
    }
    return { error };
  };

  const signOut = async () => {
    console.log('Starting sign out process...');
    setIsLoading(true);
    
    try {
      const { error } = await supabase.auth.signOut();
      if (error) {
        console.error('Error during sign out:', error);
        throw error;
      }
      
      // Clear local state immediately
      setUser(null);
      setProfile(null);
      setSession(null);
      
      console.log('Sign out completed successfully');
    } catch (error) {
      console.error('Sign out failed:', error);
      throw error;
    } finally {
      setIsLoading(false);
    }
  };

  const value: AuthContextType = {
    user,
    profile,
    session,
    isAuthenticated: !!session,
    isLoading,
    signIn,
    signUp,
    signOut,
  };

  console.log('Auth context value:', { isAuthenticated: !!session, profile, isLoading });

  return (
    <AuthContext.Provider value={value}>
      {children}
    </AuthContext.Provider>
  );
};



========== C:\Users\satya\Downloads\sarthi-beach-brigade-main\sarthi-beach-brigade-main\src\hooks\useCreateEventForm.ts ==========

import { useState } from 'react';
import { useAuth } from '@/hooks/useAuth';
import { supabase } from '@/integrations/supabase/client';
import { useToast } from '@/hooks/use-toast';

export interface EventFormData {
  title: string;
  description: string;
  location: string;
  date: string;
  time: string;
  maxVolunteers: string;
  category: string;
}

export const useCreateEventForm = (onEventCreated: (event: any) => void, onClose: () => void) => {
  const { user } = useAuth();
  const { toast } = useToast();
  
  const [formData, setFormData] = useState<EventFormData>({
    title: '',
    description: '',
    location: '',
    date: '',
    time: '',
    maxVolunteers: '',
    category: 'beach-cleanup'
  });
  
  const [loading, setLoading] = useState(false);
  const [errors, setErrors] = useState<Record<string, string>>({});

  const validateForm = () => {
    const newErrors: Record<string, string> = {};

    if (!formData.title.trim()) newErrors.title = 'Event title is required';
    if (!formData.description.trim()) newErrors.description = 'Description is required';
    if (!formData.location.trim()) newErrors.location = 'Location is required';
    if (!formData.date) newErrors.date = 'Date is required';
    if (!formData.time) newErrors.time = 'Time is required';
    if (!formData.maxVolunteers || parseInt(formData.maxVolunteers) < 1) {
      newErrors.maxVolunteers = 'Valid number of volunteers is required';
    }

    setErrors(newErrors);
    return Object.keys(newErrors).length === 0;
  };

  const handleSubmit = async (e: React.FormEvent) => {
    e.preventDefault();
    
    if (!validateForm() || !user) return;

    setLoading(true);

    try {
      console.log('Creating event with data:', formData);

      const { data: newEvent, error } = await supabase
        .from('events')
        .insert({
          title: formData.title,
          description: formData.description,
          location: formData.location,
          date: formData.date,
          time: formData.time,
          max_volunteers: parseInt(formData.maxVolunteers),
          organizer_id: user.id,
          status: 'Open',
          difficulty: 'Easy',
          points_reward: 50,
          equipment: []
        })
        .select()
        .single();

      if (error) {
        console.error('Error creating event:', error);
        toast({
          title: "Error",
          description: "Failed to create event. Please try again.",
          variant: "destructive",
        });
        return;
      }

      console.log('Event created successfully:', newEvent);
      
      toast({
        title: "Success!",
        description: "Event created successfully!",
      });

      onEventCreated(newEvent);
      
      // Reset form
      setFormData({
        title: '',
        description: '',
        location: '',
        date: '',
        time: '',
        maxVolunteers: '',
        category: 'beach-cleanup'
      });
      setErrors({});
      onClose();
    } catch (error) {
      console.error('Error in handleSubmit:', error);
      toast({
        title: "Error",
        description: "An unexpected error occurred.",
        variant: "destructive",
      });
    } finally {
      setLoading(false);
    }
  };

  const handleChange = (field: string, value: string) => {
    setFormData(prev => ({ ...prev, [field]: value }));
    if (errors[field]) {
      setErrors(prev => ({ ...prev, [field]: '' }));
    }
  };

  return {
    formData,
    errors,
    loading,
    handleSubmit,
    handleChange
  };
};



========== C:\Users\satya\Downloads\sarthi-beach-brigade-main\sarthi-beach-brigade-main\src\integrations\supabase\client.ts ==========
// This file is automatically generated. Do not edit it directly.
import { createClient } from '@supabase/supabase-js';
import type { Database } from './types';

const SUPABASE_URL = "https://mbofnsqwfjmgmjlxjcxw.supabase.co";
const SUPABASE_PUBLISHABLE_KEY = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Im1ib2Zuc3F3ZmptZ21qbHhqY3h3Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NTA3ODM2ODEsImV4cCI6MjA2NjM1OTY4MX0.DKFASdj-5udhXz8wX_ztIeBtvgrfjsyCzHpHHuro60U";

// Import the supabase client like this:
// import { supabase } from "@/integrations/supabase/client";

export const supabase = createClient<Database>(SUPABASE_URL, SUPABASE_PUBLISHABLE_KEY);



========== C:\Users\satya\Downloads\sarthi-beach-brigade-main\sarthi-beach-brigade-main\src\integrations\supabase\types.ts ==========
export type Json =
  | string
  | number
  | boolean
  | null
  | { [key: string]: Json | undefined }
  | Json[]

export type Database = {
  public: {
    Tables: {
      event_attendance: {
        Row: {
          attended: boolean | null
          event_id: string
          id: string
          marked_at: string | null
          marked_by: string | null
          points_awarded: number | null
          volunteer_id: string
        }
        Insert: {
          attended?: boolean | null
          event_id: string
          id?: string
          marked_at?: string | null
          marked_by?: string | null
          points_awarded?: number | null
          volunteer_id: string
      
Reasons:
  • Blacklisted phrase (1): How do I
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: sa ga

79685864

Date: 2025-07-01 09:59:05
Score: 1.5
Natty:
Report link

It's not LiveKitClient (upper case 'K'), it's LivekitClient (lower case 'k')

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

79685859

Date: 2025-07-01 09:55:04
Score: 0.5
Natty:
Report link

I guess you accidentally put ':' into your path.

Also make sure that HADOOP_HOME is set correctly, because one will get ClassNotFound exception with the same libs your mentioned, when trying to run hive CLI.
According to documentation HADOOP_HOME is the requirement.

Although it's written that hive 4.0.1 works with Hadoop 3.3.6, I've just checked it with Hadoop 3.4.1 and It works (despite some warns of multiple SLF4J bindings, which should be fixed by devops or devs)

PS: I don't quite get what does 'query data on apache spark with hive' means. Usually, spark utilizes hive metastore to query Hive's tables.

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

79685849

Date: 2025-07-01 09:49:01
Score: 1
Natty:
Report link

Follow below steps.

  1. Open Visual Studio 2022.

  2. Click Create a new project.

  3. Search for ASP.NET Core Empty.

  4. Select the ASP.NET Core Empty template and click Next.

  5. Choose .NET 8.0 as the target framework.

  6. Click Create.

This template will give you the setup with just the Program.cs and Startup.cs , and no Razor Pages or MVC.

enter image description here

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

79685845

Date: 2025-07-01 09:47:00
Score: 2
Natty:
Report link

This error occurs because node-abi (which electron-builder uses internally) doesn't recognize Electron version 37.1.0.

Try with a node-abi version released here:

https://github.com/electron/node-abi/releases

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

79685842

Date: 2025-07-01 09:46:00
Score: 2
Natty:
Report link

Sadly it is not possible to change the default behaviour of the SnackbarHost. Therefore it will always stretch the full width of the screen.

Thus if you want it to just wrap the content you would have to make a custom snackbar like you mentioned.

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

79685834

Date: 2025-07-01 09:36:57
Score: 3
Natty:
Report link

@xdurch0 answered this question in a comment. The solution is to set axis=1. The numbers aren't actually garbage. I was expecting stuff like 0.123 or 0.543, so I thought they were garbage. They actually do sum up to 1.0.

Reasons:
  • Whitelisted phrase (-1): solution is
  • Low length (0.5):
  • Has code block (-0.5):
  • User mentioned (1): @answered
  • Self-answer (0.5):
  • Single line (0.5):
  • Looks like a comment (1):
  • Low reputation (1):
Posted by: buzzbuzz20xx

79685825

Date: 2025-07-01 09:32:55
Score: 1
Natty:
Report link

I am taking example of Java as I am comfortable with it. In a single JVM, locks like synchronized or ReentrantLock work well.

But in a clustered environment (e.g. multiple Spring Boot apps behind a load balancer), each node has its own memory, so:

Locking in memory doesn’t prevent another node from performing the same action.

You need a shared coordination mechanism — like Redis, Zookeeper etc...

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

79685816

Date: 2025-07-01 09:27:54
Score: 1
Natty:
Report link

After trying everything and a good night sleep I got enlightend....

The error was not in the service but in the keycloak settings for the api user. There was 2 things in place that hide the real error.

  1. While also wrongly configured the first service used a cached version of the call and therefore worked.
  2. In keycloak the web origin parameter for the client needs to be set correctly
  3. Double check if you reload the page without cache. Regardles of settings I was only able to get an uncached page if I hit shift+F5 in the browser. The "do not use cache" checkbox in Browser DevTools did have no effect.
Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: Iaman Swtrse

79685811

Date: 2025-07-01 09:24:53
Score: 4
Natty: 6
Report link

Same issue I found my ppt is generating according to my requirements but getting repair issues I have tried many way to resolve it but unable to remove it.

Please any one who can help me.. I have Used OpenXML and HtmlAgilityPack

Reasons:
  • Blacklisted phrase (1): help me
  • RegEx Blacklisted phrase (1): Same issue
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Shailendra Shukla

79685810

Date: 2025-07-01 09:24:52
Score: 0.5
Natty:
Report link

You’ve already sniffed out the right ROUTER–DEALER pattern. But there is a nuance here: the broker must keep track of which client request is handled by which backend, so the response goes back to the right client.

You can try Router-Dealer-Router pattern. This is why this will work:

So, the chain is:

CLIENT <---> ROUTER (broker frontend) <---> DEALER (broker backend) <---> ROUTER (per backend)

This lets you:

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

79685800

Date: 2025-07-01 09:17:51
Score: 1
Natty:
Report link

To avoid using

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Try this plugin it will use device download manager to download file and also show progress notification

https://pub.dev/packages/eia_flutter_download_manager

Reasons:
  • Blacklisted phrase (1): this plugin
  • Whitelisted phrase (-1): Try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eia Tech

79685799

Date: 2025-07-01 09:16:50
Score: 0.5
Natty:
Report link

You write that it works with scan_csv. Looking at the documentation scan_csv seems to be the only option to support glob patterns.

read_csv: Read a CSV file into a DataFrame.

scan_csv: Lazily read from a CSV file or multiple files via glob patterns.

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

79685796

Date: 2025-07-01 09:14:50
Score: 2
Natty:
Report link

I have found a simple workaround in cases where you cannot use subqueries...

SELECT AVG(COALESCE([Ship Cost], 0)) * COUNT(DISTINCT [Tracking #]) ... GROUP BY [ORDER #]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Nick E

79685792

Date: 2025-07-01 09:13:49
Score: 1.5
Natty:
Report link

Perhaps not the answer to the OP's situation, but I experienced the same issue recently and after digging around for ages, the problem was that Firefox needed to be granted Local Network permissions in macOS Settings > Privacy & Security. Sigh.

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

79685791

Date: 2025-07-01 09:13:49
Score: 3.5
Natty:
Report link

It seems to be an issue of the pytest-html package. An issue has been raised.

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

79685789

Date: 2025-07-01 09:12:48
Score: 0.5
Natty:
Report link

This is a very specific problem with some libraries in kotlin-dsl
Replace

implementation ("com.github.gbenroscience:parserng-android:0.1.1")

with

implementation (platform("com.github.gbenroscience:parserng-android:0.1.1"))

& you are good to go.

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

79685788

Date: 2025-07-01 09:11:48
Score: 1.5
Natty:
Report link

To compute new features from existing inputs within a neural network, use a Lambda layer. This layer allows you to apply any custom function to an input tensor, creating new, derived features. This lets your model learn from more meaningful, calculated values instead of just raw inputs. I have tried with dummy dataset and able to implement an input layer as a weight to a second input layer. I am attaching gist file for your reference.

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

79685787

Date: 2025-07-01 09:11:48
Score: 2.5
Natty:
Report link

Working with a single back-end + database will always be the better solution. Not only does it reduce errors but also creates a better structure in general. This way you only have to code something once and it makes you think about it twice.

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

79685783

Date: 2025-07-01 09:09:47
Score: 2
Natty:
Report link
<ul style = {{ scrollbarWidth : "none" }} >
</ul>

You could use something like this

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

79685776

Date: 2025-07-01 09:00:45
Score: 3
Natty:
Report link

In companies, the majority still use rs fec for fixed loss-rate

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

79685765

Date: 2025-07-01 08:54:43
Score: 0.5
Natty:
Report link

HTML Native (partial) solution

As a partial answer, but I hope a useful one, details elements can be 'grouped' by giving them the same name attribute value. When we do that, only one of the grouped elements is allowed to be open. So opening a new one will close the previously opened one.

MDN docs.

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

79685759

Date: 2025-07-01 08:47:40
Score: 1
Natty:
Report link

I think you should open a dat file in an editor first to understand the structure first then check the delimiter. Make sure you use the appropriate MATLAB functions.

For numeric data make sure you use load. data = load('filename.dat');

This will directly load the data into matrix.

For custom delimiter use textscan fid = fopen('filename.dat', 'r');

data = textscan(fid, '%f %f %f', 'Delimiter', ','); % Adjust format specifiers as needed

fclose(fid);

For matrix data use separate columns col1 = data(:, 1); % First column

col2 = data(:, 2); % Second column

% Continue as needed

For data in the cell array use textscan col1 = data{1}; % First column

col2 = data{2}; % Second column

For tables col1 = tableData.Var1; % Access first variable/column

col2 = tableData.Var2; % Access second variable/column

After all this you can save your data as mat file for easier use. save('filename.mat', 'data');

You can also export as a new writematrix(data, 'newfile.dat');

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

79685754

Date: 2025-07-01 08:43:39
Score: 2
Natty:
Report link

Capture your request with burp suite and then write a program that dynamically communicates with the server and retrieves the changed parts (for example, access or cookie tokens). Finally, all you need to do is to send the current version of the raw request you created in burp at the beginning, using the programming language you wrote the program in.

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

79685746

Date: 2025-07-01 08:36:37
Score: 0.5
Natty:
Report link

change

MudButton @onclick="LoadFlights"

to

MudButton OnClick="LoadFlights"

or to

MudButton OnClick="@(async () => await LoadFlights())"
Reasons:
  • Low length (1):
  • Has code block (-0.5):
Posted by: Dorian

79685737

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

I faced the same issue, and you can resolve it by making the chat treatment (e.g., OpenAI calls) asynchronous, so the 200 response is returned instantly.

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

79685736

Date: 2025-07-01 08:28:35
Score: 3
Natty:
Report link

When I search for a company or a person's LinkedIn profile in incognito mode, I can still see their profile image, name, and some basic details. Since this data appears to be publicly accessible, what is the correct or recommended way to programmatically access this public information (e.g., name, profile image) from LinkedIn?

I'm trying to understand whether there's an API or another legal/public method for retrieving this kind of publicly visible data. Any guidance would be appreciated.

Reasons:
  • Blacklisted phrase (1): appreciated
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): When I
  • Low reputation (0.5):
Posted by: I_am_prince

79685725

Date: 2025-07-01 08:16:32
Score: 4
Natty:
Report link

You can press ctrl+[ to remove tabulation

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

79685692

Date: 2025-07-01 07:52:25
Score: 1
Natty:
Report link

When using Visual Studio Code (VSCode) port forwarding, especially in GitHub Codespaces, Remote SSH, Dev Containers, or WSL setups, there are some practical limitations around bandwidth and HTTP request rate, though most of these are not explicitly documented. Below is a summary of what is known and inferred based on Microsoft documentation, community experiences, and technical behavior of the underlying systems:


🔒 1. HTTP Request Rate Limits


🚀 2. Bandwidth Limitations

Rough estimates (from community tests in Codespaces):


⚠️ 3. Not Suitable for High-Frequency APIs

VSCode port forwarding is not designed for production-like API workloads. If you need to test an application with:

Consider setting up a local reverse proxy (e.g., NGINX) and using a direct network path (such as a public test server or local VM/container), rather than relying on VSCode’s forwarding.


✅ Recommendations

Reasons:
  • Long answer (-1):
  • No code block (0.5):
  • Starts with a question (0.5): When
  • Low reputation (1):
Posted by: Joinindianarmy

79685681

Date: 2025-07-01 07:43:22
Score: 3
Natty:
Report link

<Link href="/">

<Text style={styles.button}>Go back to Home screen!</Text>

</Link>

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

79685679

Date: 2025-07-01 07:42:22
Score: 1
Natty:
Report link

To avoid using

<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

Try this plugin it will use device download manager to download file and also show progress notification

https://pub.dev/packages/eia_flutter_download_manager

Reasons:
  • Blacklisted phrase (1): this plugin
  • Whitelisted phrase (-1): Try this
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Eia Tech

79685676

Date: 2025-07-01 07:37:21
Score: 0.5
Natty:
Report link

Thanks for the help. Adrian's answer is probably the best, most secure way to fix the problem, but I found another solution that avoids explicitly citing a schema (one reason I wanted this is that I wanted code that would install the functions in the current user's schema without explicitly stating who that user is):

CREATE OR REPLACE FUNCTION nest_myfunc(
       ts_array TIMESTAMP WITHOUT TIME ZONE[],tz text)
       RETURNS float[] AS
$BODY$
SELECT myfunc($1,$2);
$BODY$ LANGUAGE 'sql' IMMUTABLE
SET search_path FROM CURRENT;

This explicitly sets the search_path to be the same as the one at the time of function creation when running the function.

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: David M. Kaplan

79685675

Date: 2025-07-01 07:37:21
Score: 2.5
Natty:
Report link

Use Docker
create a docker container for PostgreSQL and pre-load the data, Bundle Django + PostgreSQL in docker-compose.yam file**.**

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

79685674

Date: 2025-07-01 07:37:20
Score: 4
Natty:
Report link

ok, i understand the information

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

79685673

Date: 2025-07-01 07:37:20
Score: 0.5
Natty:
Report link

This is possible since EF Core 6:

Context.topics.Where(//some logic).OrderBy(e => EF.Functions.Random()).Take(6); 

it's in the package

Microsoft.EntityFrameworkCore

Source: https://learn.microsoft.com/en-us/ef/core/what-is-new/ef-core-6.0/whatsnew#effunctionsrandom

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

79685672

Date: 2025-07-01 07:36:19
Score: 1.5
Natty:
Report link

I use PS v5.1. Few comments:

This option is not necessary if the input CSV file already has a header

-Header IpAddress

The syntax of option "-LeafBase" has changed to "-Leaf"

This option is deprecated or so it seems:

-UseQuotes AsNeeded
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: Franck

79685669

Date: 2025-07-01 07:36:19
Score: 1.5
Natty:
Report link

I encountered this question about a year ago, and Daniel Lee Alessandrini's answer helped me a lot. I improved his function by casting it as a double for millisecond precision(xxxxxxx.yyy) in my use cases, and it works fine in my environment (PySpark 3.4.1 and Pandas 2.1.3).

However, I haven't tried using nanosecond precision because my environment is still using Iceberg 1.3.1. For reference, see: Iceberg Specification - Primitive Types.

import pandas as pd
from pyspark.sql import functions as F

def convert_to_pandas(Spark_df):
    """
    This function will safely convert a spark DataFrame to pandas.

    Ref: https://stackoverflow.com/questions/76072664
    """
    # Iterate over columns and convert each timestamp column to a string
    timestamp_cols = []
    for column in Spark_df.schema:
        if (column.dataType == T.TimestampType()) | (column.dataType == T.TimestampNTZType()):
            # Append column header to list
            timestamp_cols.append(column.name)
            # Set column to string using date_format function
            Spark_df = Spark_df.withColumn(column.name, F.col(column.name).cast("double"))
    # Convert to a pandas DataFrame and reset timestamp columns
    pandas_df = Spark_df.toPandas()
    for column_header in timestamp_cols:
        pandas_df[column_header] = pd.to_datetime(pandas_df[column_header],unit = 's')

    return pandas_df
Reasons:
  • Blacklisted phrase (1): stackoverflow
  • Blacklisted phrase (1): helped me a lot
  • Long answer (-1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Mocha Mochii

79685664

Date: 2025-07-01 07:33:18
Score: 3
Natty:
Report link

It's also important to put an existing e-mail address in the sender field. I had trouble with the noreply addresses I used because they simply did not exist. When I changed to real address in the From: field, everything started to work with gmail recipients, too.

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

79685663

Date: 2025-07-01 07:32:18
Score: 0.5
Natty:
Report link

This Steps Solve My Error:-

1. Access the Debug Console: First, I went to the Kudu Debug Console. You can access it by appending /DebugConsole to your app service URL. For example: https://<your-app-name>.scm.azurewebsites.net/DebugConsole

2. Navigate to the Site Folder: Once inside the Debug Console, I navigated to the directory: /home/site/wwwroot

3. Clean the Folder: I deleted all existing files and folders inside wwwroot. You can do this either through the file explorer in the console or by running: rm -rf /home/site/wwwroot/*

4. Redeploy the App: After clearing the contents, I triggered the deployment again (using my CI/CD pipeline or deployment method), and this time it worked successfully without any errors.

Note: This issue usually happens due to leftover or corrupted deployment files. Clearing the directory ensures that your deployment starts fresh.

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

79685660

Date: 2025-07-01 07:29:17
Score: 1.5
Natty:
Report link

In your function getBodyType I would add the subType to the set before calling the db. If you add to the set in the then clause it will be deferred and processing of the next row may indeed attempt to add the same subType again. You already know that the subTypeis not in the set, so why not add it right away before any other row is processed?

export async function getBodyType(body, conn, map) {
    let subType = body.subType || "Other";

    if (subType && !map.has(subType)) {
        // Insert into the DB as we go, adding it to a set to ensure we don't duplicate
        map.add(subType);
        db.insertBodyType(subType, conn);
    }

    return subType;
}
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Martin Lisowski

79685652

Date: 2025-07-01 07:24:16
Score: 1.5
Natty:
Report link

My case had nothing to do with a stored procedure, but the "unexpected end of stream" message instantly disappeared, when I killed an "htop"-Session running through another SSH-connection to a server I used for tunneling my DB connection. So also look out for these kinds of connection issues when you see that error message.

Reasons:
  • No code block (0.5):
  • Single line (0.5):
  • Low reputation (0.5):
Posted by: S. Parton

79685642

Date: 2025-07-01 07:13:13
Score: 0.5
Natty:
Report link

Consider adding a file named: copilot-instructions.md
https://code.visualstudio.com/docs/copilot/copilot-customization

Inside there, you can write down some instructions to suggest that it should use the tool. For example:

Follow these steps for each interaction:
- Use MCP tool named XYZ and call specific methods when it is appropriate. (You can specify it here)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Slawomir Wozniak

79685640

Date: 2025-07-01 07:09:12
Score: 1.5
Natty:
Report link

There’s a free WordPress plugin that automatically assigns guest orders to a user account if the same email is used during account creation. If a user account already exists and an order is placed without signing in, the plugin still links the order to the user based on the email address.

Plugin link:

Guest Order Assigner: https://wordpress.org/plugins/guest-order-assigner/

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

79685639

Date: 2025-07-01 07:07:12
Score: 3
Natty:
Report link

In our case retr0's reply save us, but in detail GET method can have json body, but this body can't be empty, if it is empty, just dont give bady

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

79685635

Date: 2025-07-01 07:04:10
Score: 3
Natty:
Report link

Updating qpageview to version 1.0.0 solved the problem. Since this is not the first time this issue has occurred when switching from pyqt5 to pyqt6, it can be assumed that it is often resolved by updating the modules.

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

79685632

Date: 2025-07-01 07:01:09
Score: 4
Natty:
Report link

just turn off toggle session isolation, in website conf

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

79685619

Date: 2025-07-01 06:51:07
Score: 3.5
Natty:
Report link

thanks so much @jxstanford , I looked everywhere for that as it said its not installed but there were no buttons or links to do it!

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

79685613

Date: 2025-07-01 06:41:04
Score: 5.5
Natty:
Report link

Can you tell me which version of revenue cat and superwall you used in both the projects ?

The store product error is because the purchases_flutter and superwall both contain a class named StoreProduct. You will need to hide one of them

Reasons:
  • RegEx Blacklisted phrase (2.5): Can you tell me
  • Low length (0.5):
  • No code block (0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (1):
Posted by: Tushar Agrawal

79685606

Date: 2025-07-01 06:33:02
Score: 0.5
Natty:
Report link

If I understood correctly, you are trying to inject dependencies into objects created in runtime, to achieve that, you need a factory.

https://vcontainer.hadashikick.jp/registering/register-factory

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

79685605

Date: 2025-07-01 06:33:02
Score: 1
Natty:
Report link

The problem was in client certificate, that was signed by wrong intermediate certificate.

To find a problem I used flag

-Djava.security.debug=certpath,verbose

so in logs I found that authority key identifier of client certificate is not equal to Subject Key Identifier of intermediate certificate

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

79685600

Date: 2025-07-01 06:30:01
Score: 2.5
Natty:
Report link

JavaScript or conditional logic can be used to depend on more than one field when selecting a field. Based on the combination of values in the other fields, the options are updated.

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

79685599

Date: 2025-07-01 06:30:01
Score: 5
Natty:
Report link

Are you using a non-unique ID user store?
Also, could you let us know the version of the IWA Kerberos authenticator you are currently using?

There is a known issue(https://github.com/wso2/product-is/issues/21053) related to non-unique ID user stores when used with the IWA Kerberos authenticator. However, this issue has been resolved in the latest version.

Providing the above information will help us identify the exact cause of the issue.

Reasons:
  • RegEx Blacklisted phrase (2.5): could you let us know
  • RegEx Blacklisted phrase (1): help us
  • No code block (0.5):
  • Contains question mark (0.5):
  • Low reputation (0.5):
Posted by: Udesh Athukorala

79685587

Date: 2025-07-01 06:12:55
Score: 2.5
Natty:
Report link

Could you please follow the steps outlined in the official WSO2 Identity Server documentation for configuring ELK Analytics SSO?
You can refer to the guide available at:
https://is.docs.wso2.com/en/7.0.0/deploy/elk-analytics-sso-guide/

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

79685586

Date: 2025-07-01 06:09:54
Score: 2.5
Natty:
Report link

I would simply use:

<meta charset="utf-8"> 

Which passes the validation.

Here is a similar question to yours: <meta charset="utf-8"> vs <meta http-equiv="Content-Type">

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

79685585

Date: 2025-07-01 06:09:54
Score: 1
Natty:
Report link

Try this once:

<meta charset="UTF-8">
Reasons:
  • Whitelisted phrase (-1): Try this
  • Low length (2):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Optidev

79685575

Date: 2025-07-01 05:58:51
Score: 1
Natty:
Report link

Impossible. Athena can only READ a bucket from a different AWS account and region, not WRITE.

Sources:

Create a query output location - Amazon Athena

Using the same AWS Region and account that you are using for Athena, follow the steps to create a bucket in Amazon S3 to hold your Athena query results

The results bucket must be in the same region AND the same account as Athena.

Troubleshoot "Invalid S3 location" error when saving query results in Athena

Verify that the S3 location where the query results are saved is in the same Region where you run the queries.

...

The S3 query result location that you specified is in a different Region.

Listed as one of the error causes.

In conclusion: AWS explicitly requires that the output location be in the same region AND the same account.

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

79685569

Date: 2025-07-01 05:52:50
Score: 2.5
Natty:
Report link

If the Expo camera does not rotate the recorded images automatically, try checking the camera settings on your phone, Expo camera or update your phone software to the latest version. If that doesn't work, reset your phone or Expo camera settings.

thank you.

Reasons:
  • Blacklisted phrase (0.5): thank you
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: readbookslearnonline

79685568

Date: 2025-07-01 05:50:49
Score: 2
Natty:
Report link

I can vouch that this fixed my issue. I was stuck in a week with same error of codesigning. I thought it's because the devices changed to new keys because the device ID were new. The reason for the error because the project is inside a cloud folder. I moved it to a local folder in downloads and it finally fixed the problem. I've been in a loop of flutter clean, flutter pub get, pod install for a week yet the fix was so simple.

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

79685567

Date: 2025-07-01 05:49:49
Score: 2
Natty:
Report link

Another possible case for this: DB named in uppercase. For some reason I had this issue with MYDB. After renaming it to mydb everything begin to work fine.

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

79685566

Date: 2025-07-01 05:49:49
Score: 0.5
Natty:
Report link

Can you try with using IdentityEventClientException instead of the IdentityEventException Similar to the below example[1]?

if (citizen == null) {
            throw new IdentityEventClientException(
                "17002", // errorCode
                "Bad credentials example"
            );
        }

[1] https://github.com/wso2-extensions/identity-governance/blob/master/components/org.wso2.carbon.identity.recovery/src/main/java/org/wso2/carbon/identity/recovery/handler/UserEmailVerificationHandler.java#L749-L751

Reasons:
  • Whitelisted phrase (-2): Can you try
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Starts with a question (0.5): Can you
  • Low reputation (0.5):
Posted by: Udesh Athukorala

79685564

Date: 2025-07-01 05:44:48
Score: 1
Natty:
Report link
Use SSHOperator to run an rm command if your server supports SSH:

delete_task = SSHOperator(
    task_id='delete_file',
    ssh_conn_id='nseix',
    command='rm /remote/path/{{ ti.xcom_pull(key="del_td") }}.i01_1.spn',
    dag=dag
)
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Nikhil Mohod

79685547

Date: 2025-07-01 05:13:41
Score: 3
Natty:
Report link

Use CloudFront behaviors to route paths like /apps/app-one/* and /apps/app-two/* to different origins (separate Amplify apps or S3 + Lambda apps).

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

79685534

Date: 2025-07-01 04:47:35
Score: 3
Natty:
Report link

Moment.js now recommends using an alternative like Date-fns, who have the function formatDistanceToNow, which can achieve the desired results.

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

79685531

Date: 2025-07-01 04:39:33
Score: 2
Natty:
Report link

You're calling do_auth() with just the access token (a string), but it expects the full request, with session and other context.

move your login_vk code into the pipeline, or use a pas-decorated view properly

update your pipeline so the login_vk process user data not just login

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

79685524

Date: 2025-07-01 04:34:32
Score: 1.5
Natty:
Report link

[Bream Prefs]

TextArea Strategy=1

[User Prefs]

Language File=p*?:lang_en-us.lng

Home URL=reksio:homepage

HomePage History Count=3

HomePage Bookmarks Count=-1

[Splash]

Time=5000

PngFile=p*?:splash.png

[General]

Clock24=TRUE

DirectDownload=TRUE

SavedPages Count=-1

SavedPagesSize Count=-1

Current SavedPagesSize=0

Landscape=1

FullscreenMode=FALSE

MaxResWithHiddenNumbers=200

[Network]

DefaultSimCard=0

ApnOfSim0=0

[MiniServer]

DefaultServerType=Socket

[Channel]

0=0

1=0

2=0

3=0

4=0

5=0

6=0

7=0

8=0

9=0

:=0

;=0

<=0

==0

\>=0

?=0

@=0

A=0

B=0

C=0

D=0

E=0

F=0

G=0

H=0

I=0

J=0

K=0

L=0

M=0

N=0

O=0

P=0

Q=0

R=0

S=0

T=0

U=0

V=0

W=0

X=0

Y=0

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

79685519

Date: 2025-07-01 04:26:30
Score: 3
Natty:
Report link

Is possible but needs oauth2 access token obtained using service account key and jwt. Normal client id oauth2 access token won't work

https://developers.google.com/instance-id/reference/server

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

79685517

Date: 2025-07-01 04:22:28
Score: 2
Natty:
Report link

you can use ck editor, my company use this text editor

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: Levi Peng

79685516

Date: 2025-07-01 04:22:28
Score: 3.5
Natty:
Report link

I know its a long shot but did you end up salving this?
i couldnt comment sorry

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

79685511

Date: 2025-07-01 04:09:25
Score: 0.5
Natty:
Report link

I came here looking for answers and thought I'd share for the next person. No quotes needed on a 2023 Macbook Pro.

docker compose exec -it user-portal wget --post-data "xxx" http://backend:4000 Connecting to backend:4000 (192.168.64.4:4000) wget: server returned error: HTTP/1.1 401 Unauthorized

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: D.Fitz

79685508

Date: 2025-07-01 04:02:24
Score: 1.5
Natty:
Report link

Nice starting point! You've built a solid base using OpenCV. For better accuracy, definitely try cv2.fitEllipse() for shape validation and consider filtering by circularity. Also, adaptive thresholds or watershed segmentation might help separate dividing cells. Keep experimenting—you're on the right track!

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