-
Anuncie Aqui ! Entre em contato fdantas@4each.com.br -
-
Atividades Recentes
Fluxo de atividades para todos os membros registados no 4Each - Forum Progress.
-
Stack postou em um novo tópico.
[Flutter] Use dynamic (variable) string as regex pattern in dart
i am trying to pass variable in regex language DART `betweenLenth(val, field, [min = 4, max = 20]) { final RegExp nameExp = new...
Forum: Mobile
Setembro 28, 2024 às 10:42 -
Stack postou em um novo tópico.
[Flutter] How do I set the resolution in Flutter's Camera package
I'm working on a flutter app that is using the Camera package's camera preview. I'm initializing the camera controller like so: final...
Forum: Mobile
Setembro 28, 2024 às 10:42 -
Stack postou em um novo tópico.
[Python] python 3.10 can't set proxy HTTP/HTTPS on selenium 4
selenium 4.2.0 python 3.10.4 Having issue while trying to set up proxy on gecko driver Firefox using python Tried with from...
Forum: Python
Setembro 28, 2024 às 10:13 -
Stack postou em um novo tópico.
[Python] Converting a dataset to COLMAP structure
My goal is to use COLMAP to obtain a point cloud from a set of images with known camera information, the way it is described here:...
Forum: Python
Setembro 28, 2024 às 10:13 -
Stack postou em um novo tópico.
[Python] Cannot import .pyb / .dll file into Python after compiling C++ code with pybind11 on...
My OS is Windows 10, I use G++ compiler, VS Code. I attempt to compile an example pybind11 file into a Python object. The C++ code looks as...
Forum: Python
Setembro 28, 2024 às 10:13 -
Stack postou em um novo tópico.
[Python] SELENIUM FIND ELEMENT BY XPATH
I have three elements with the same button class and span class names. I wanted to use xpath to select the second span class but I always...
Forum: Python
Setembro 28, 2024 às 10:13 -
Stack postou em um novo tópico.
[Python] Python Upload Files to Sharepoint using Shareplum
I am using this much-shared code to try and upload a file to Sharepoint using Shareplum, into the Shared Documents folder. import...
Forum: Python
Setembro 28, 2024 às 10:13 -
Stack postou em um novo tópico.
[Flutter] flutter doctor doesn't work on neither Command Prompt or PowerShell window?
flutter doctor doesn't work on either Command Prompt or PowerShell window? I have been trying to install flutter on windows. I have cloned...
Forum: Mobile
Setembro 28, 2024 às 09:52 -
Stack postou em um novo tópico.
[Flutter] Finding Exceptions Without try/catch in Flutter
Some One Asked Me How Find Exception Error Without Using Try Catch Method After RND on That I Got These Answer In Flutter, there is no...
Forum: Mobile
Setembro 28, 2024 às 09:52 -
Stack postou em um novo tópico.
[Python] Connecting to Microsoft SQL server using Python
I am trying to connect to SQL through python to run some queries on some SQL databases on Microsoft SQL server. From my research online and...
Forum: Python
Setembro 28, 2024 às 09:42 -
Stack postou em um novo tópico.
[Python] Max stress from ODB
I'm new in programming and I need to write a code that create an odb that visualize max value of six field output of a single step. For...
Forum: Python
Setembro 28, 2024 às 09:42 -
Stack postou em um novo tópico.
[Python] Get x and y radius of a hexagon no matter the angle
I'm far from being an expert in mathematics and English so sorry in advance. I created a hexagon blur that give this kind of results:...
Forum: Python
Setembro 28, 2024 às 09:42 -
Stack postou em um novo tópico.
[Python] Decorator in fastapi which is able to capture path param
In python, lets say I have fastapi API like so: @router.put("/{workflowID}", response_model=WorkflowResponse) async def...
Forum: Python
Setembro 28, 2024 às 09:42 -
Stack postou em um novo tópico.
[Python] Dont know how to send uploaded images from frontend to the backend or api [closed]
I have a problem. I have a frontend with HTML, CSS and JavaScript where the user can upload or take a picture, and it should be sent to...
Forum: Python
Setembro 28, 2024 às 09:42 -
Stack postou em um novo tópico.
[SQL] SurrealDB filter nested array with multiple conditions on same element
Here is a sample record for a SurrealDB sandbox database { locations: [ { done: true, place: 'A', time: 2...
Forum: Outras Linguagens
Setembro 28, 2024 às 09:32 -
Stack postou em um novo tópico.
[SQL] Sql select where array in column
In my query I use join table category_attributes. Let's assume we have such rows: category_id|attribute_id 1|1 1|2 1|3 I want to have...
Forum: Outras Linguagens
Setembro 28, 2024 às 09:32 -
Stack postou em um novo tópico.
[Flutter] How to create a generic factory with injectable in Dart/Flutter?
I'm trying to come up with a scalable solution for factory registration in Dart/Flutter using injectable (or any other DI library)....
Forum: Mobile
Setembro 28, 2024 às 09:13 -
Stack postou em um novo tópico.
[Python] Listing channels that Slackbot is a member of
I have a small script which uses the slack API to create group chats with users and send an intro message. There are around ~100 of these...
Forum: Python
Setembro 28, 2024 às 09:02 -
Stack postou em um novo tópico.
[Python] How to type function which returns associated type so that it works in subclass?
I have a class Foo which has a to_bar method which returns Bar. I also have a subclass MyFoo for which to_bar returns MyBar (a subclass of...
Forum: Python
Setembro 28, 2024 às 09:02 -
Stack postou em um novo tópico.
[Python] Importing variables from another file [closed]
And so... I imported variables(from table1 import x, etc) from one file to another and ran into the problem of not being able to import...
Forum: Python
Setembro 28, 2024 às 09:02 -
Stack postou em um novo tópico.
[Python] Pyttsx3 runs but output no sound
import pyttsx3 # Initialize the engine engine = pyttsx3.init() # Adjust speaking rate rate = engine.getProperty('rate') print(f'Current...
Forum: Python
Setembro 28, 2024 às 09:02 -
Stack postou em um novo tópico.
[Python] Unable to install modules in python 3.12.6 through command prompt
I have installed Python 3.12.6 with idle Python, Python, Python module docs. All 64bit versions are in version 3.12 respectively but I can...
Forum: Python
Setembro 28, 2024 às 09:02 -
Stack postou em um novo tópico.
[SQL] Connecting to Microsoft SQL server using Python
I am trying to connect to SQL through python to run some queries on some SQL databases on Microsoft SQL server. From my research online and...
Forum: Outras Linguagens
Setembro 28, 2024 às 08:54 -
Stack postou em um novo tópico.
[Python] Adding Extra Title on CSV use to_csv pandas Python [duplicate]
I have a json and already converted into csv using to_csv pandas function with the header, However I want to add extra string to give extra...
Forum: Python
Setembro 28, 2024 às 08:22 -
Stack postou em um novo tópico.
[Python] Trouble installing CausalML (pip install causalml)
I'm trying to install causalml on my Windows machine using Python 3.12 with the command: pip install causalml. But the installation fails...
Forum: Python
Setembro 28, 2024 às 08:22 -
Stack postou em um novo tópico.
[Python] Make symbolic link as admin with New-Item and subprocess
I got PS working CmdLet: New-Item -ItemType SymbolicLink -Path "C:\Users\user1\Saved Games\Scripts\BIOS" -Target "C:\Users\user1\Saved...
Forum: Python
Setembro 28, 2024 às 08:22 -
Stack postou em um novo tópico.
[Python] PyInstaller Executable fails to run download operation with external script despite...
I'm trying to compile a python script into an executable, but I can't properly include the external file tg-upload.py that takes care of...
Forum: Python
Setembro 28, 2024 às 08:22 -
Stack postou em um novo tópico.
[Python] Going from .py to .exe
Alright, relevant information can be found in this thread(Is that what they're called here?). Python Calculator Divide by Zero/Sqrting a...
Forum: Python
Setembro 28, 2024 às 08:22 -
Stack postou em um novo tópico.
[SQL] Fetch last row for each month, or previous month if not found
I have a table balance_history that has the following structure and data (simplified) Account Balance Transaction_date a 100 29/09/2024 a...
Forum: Outras Linguagens
Setembro 28, 2024 às 08:13 -
Stack postou em um novo tópico.
[Flutter] How can I use two custom painters in Flutter?
I made 2 custom painters 1. class DrawTriangle1 extends CustomPainter { DrawTriangle1() { painter = Paint() ..shader =...
Forum: Mobile
Setembro 28, 2024 às 08:02 -
Stack postou em um novo tópico.
[Flutter] How to create a sticky text below a scrollable list in Flutter?
I am trying to display text directly below a list in Flutter, so that for a few items in the list there is no space between the list and...
Forum: Mobile
Setembro 28, 2024 às 08:02 -
Stack postou em um novo tópico.
[Python] How to parse helm chart yaml file using python
I am trying to parse a helm chart YAML file using python. The file contains some curly braces, that's why I am unable to parse the YAML...
Forum: Python
Setembro 28, 2024 às 07:42 -
Stack postou em um novo tópico.
[Python] PyTorch UserWarning: Failed to initialize NumPy: _ARRAY_API not found and BERTModel...
I am working with PyTorch and the Hugging Face Transformers library to fine-tune a BERT model (UFNLP/gatortron-base) for a downstream task....
Forum: Python
Setembro 28, 2024 às 07:42 -
Stack postou em um novo tópico.
[Python] FTP server - caged
I try to access the FTP server to get the CAGED files. But as an error, it shows that the files are corrupted. When I try to access the...
Forum: Python
Setembro 28, 2024 às 07:42 -
Stack postou em um novo tópico.
[Python] Marimo server not starting in VS Code (Error on launching Marimo Notebook)
I had created a Marimo notebook file (.py) from VS Code. Unfortunately, I am now unable to open the file back in Marimo through VS Code...
Forum: Python
Setembro 28, 2024 às 07:42 -
Stack postou em um novo tópico.
[Python] Need help for career recommendation project using machine learning [closed]
i am working in a project in which a career path will be suggested based on a set of dynamic questions . First we will have a set of...
Forum: Python
Setembro 28, 2024 às 07:42 -
Stack postou em um novo tópico.
[Flutter] Firebase call exception
I'm trying to make simple login logic using Firebase but can't get rid of this error: Exception has occurred. DartError: Bad state: Cannot...
Forum: Mobile
Setembro 28, 2024 às 07:23 -
Stack postou em um novo tópico.
[Flutter] flutter: geolocator isnt working, Make sure at least ACCESS_FINE_LOCATION or...
I am trying to use geolocator and i added both <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />...
Forum: Mobile
Setembro 28, 2024 às 07:23 -
Stack postou em um novo tópico.
[Python] Google GenerativeAI unable to load video files
I was building a small Flask app with HTML templates where a user could upload a video and I would use an LLM to describe the video. I...
Forum: Python
Setembro 28, 2024 às 06:52 -
Stack postou em um novo tópico.
[Python] Add a cell above the first column in Pandas dataframe
I have a dataframe, say df: import pandas as pd # create a dataframe df = pd.DataFrame({ "Name": ["Alice", "Bob", "Charlie"],...
Forum: Python
Setembro 28, 2024 às 06:52 -
Stack postou em um novo tópico.
[Python] Why my Odoo extra-addons app doesn't show up?
I've been developing an odoo for my interest on my server with a Docker and when I try to add an extra-addons app to odoo for testing, it's...
Forum: Python
Setembro 28, 2024 às 06:52 -
Stack postou em um novo tópico.
[Python] Why are shadow map not working in my pyopengl program? [closed]
main.py: from camera import Camera from config import * from model import * class App: def __init__(self): pygame.init()...
Forum: Python
Setembro 28, 2024 às 06:52 -
Stack postou em um novo tópico.
[Python] How to query a large file using pandas (or an alternative)?
I have a large file (6GB, around 17Mio lines) with 5 columns. I want to use the first column as key and retrieve the other 4 columns. I...
Forum: Python
Setembro 28, 2024 às 06:52 -
Stack postou em um novo tópico.
[Flutter] Using Flutter WebRTC plugin to stream h264 video to Android
I am using Janus-Gateway as the server and created an app using flutter WebRTC plugin for the video player. The app works to send VP8...
Forum: Mobile
Setembro 28, 2024 às 06:02 -
Stack postou em um novo tópico.
[Python] MDURATION logic to be implemented in the same way as implemented in Excel
My requirement is that I want the same output as what we get in excel for the function MDURATION. I have written a class which mimics...
Forum: Python
Setembro 28, 2024 às 05:52 -
Stack postou em um novo tópico.
[Python] Pytorch - Realizing identical training with or without using batches
I have a model in PyTorch which converges very well on a reference example when using a standard training process, in which the optimizer...
Forum: Python
Setembro 28, 2024 às 05:52 -
Stack postou em um novo tópico.
[Python] Why does my user-input repeat all the questions? [closed]
while True game2=input("Welcome to Treasure island! Your mission is to find the treasure. You find two different paths. Left or...
Forum: Python
Setembro 28, 2024 às 05:52 -
Stack postou em um novo tópico.
[Python] FastAPI python: How to run a thread in the background?
I'm making a server in python using FastAPI, and I want a function that is not related to my API, to run in background every 5 minutes...
Forum: Python
Setembro 28, 2024 às 05:52 -
Stack postou em um novo tópico.
[Python] Stuck on scraping with BeautifulSoup while learning. Need some pointers
I started learning screen scraping using BeautifulSoup. To get started I took a wikipedia article in the following format <table...
Forum: Python
Setembro 28, 2024 às 05:52 -
Stack postou em um novo tópico.
[Flutter] How can i put button inside Textformfield?
I'm trying to create a Textformfield that has button inside it. Please check the screenshot. [IMG] Here is what I have done TextField(...
Forum: Mobile
Setembro 28, 2024 às 05:22