For those looking for this in the future using neovim. Pasting with shift+p will preserve the original copied text when pasting in visual mode.
May have not been a thing at the time of this post, but it works now.
version: NVIM v0.11.3
@Arshad What happens if the URL never contains "example"? The Assert is never reached... so why even have it? Also, you have .assertTrue() but your assert comment is negative which makes no sense... it contradicts the assert.
I've been facing the same issue ;
In my case, the target SDK was 21, while stderr has been introduce in Android NDK from SDK 23.
Setting to SDK 23 or above fixed the issue.
I'm running windows 10. I have the following extensions added to VSC.
Code Runner
HTML CSS SUPPORT
JavaScript(ES6)
Live Preview
Live Server
PHP Server (brapifra)
PHP Intelephense
After using Redux in React, I wasn't a fan - it quickly got out of hand - centralized state management can become cumbersome very quickly in my experience.
I came across your question while searching for state management options for Blazor. I found one that I'm going to test out, it looks to have a React Context kind of feel to it.
After some more messing around it seems like the C# by Microsoft extension was causing the issue.
Reading the extension i saw this:
How to use OmniSharp?
If you don’t want to take advantage of the great Language Server features, you can revert back to using OmniSharp by going to the Extension settings and setting dotnet.server.useOmnisharp to true. Next, uninstall or disable C# Dev Kit. Finally, restart VS Code for this to take effect.
After I did that it no longer caused the vars to be replaced.
Can you explain why these automated tests are sending your program SIGQUIT in the first place, please? Normally, automated requests for a process to shut down cleanly as soon as possible should use SIGTERM, not SIGQUIT.
Just wanted to say 12 years later, I am now dealing with this issue.
# Instale antes (se ainda não tiver):
# pip install wordcloud matplotlib pillow numpy requests
from wordcloud import WordCloud
import matplotlib.pyplot as plt
from matplotlib import font_manager
import numpy as np
from PIL import Image
import requests
from io import BytesIO
# Dicionário de palavras com pesos
palavras = {
"EDUCAÇÃO
Installer Process Explorer
Lancer Process Explorer en administration
Chercher le process bloquée
. Kill Process Tree.
Find Handle → chercher le DLL bloqué → Close Handle.
Désactiver Hot Reload dans Rider.
Dans Rider: Settings → Debugger → activer “Detach instead of Kill”.
. Stopper le debug avec “Detach”, pas le carré rouge.
Exécuter taskkill /PID <id> /F /T si nécessaire.
. Si encore blo
qué: utiliser pskill <pid>.
Found these links as well:
https://mongodb.com/docs/drivers/csharp/current/crud/bulk-write?tck=mongodb_ai_chatbot
https://mongodb.com/docs/drivers/csharp/current/crud/transactions?tck=mongodb_ai_chatbot
I just encountered this one, running a project that sit almost a year, I'm running 8.3 and having this:
zsh: segmentation fault php artisan migrate:fresh --seed. Fixed by changing my php version from 8.3 to 8.4.
I'm also using laravel herd, so it's much easier to switch.
I found the following JAR files in the <Eclipse_folder>/plugin directory:
com.ibm.icu_58.2.0.v20170418-1837.jar
com.ibm.icu_77.1.0.jar
I deleted com.ibm.icu_77.1.0.jar, and Eclipse started working fine for me.
The problem is that I did not have permission to write to the cmi directory. So first I had to be given write permission for the cmi directory.
You are using the expo sdk 52 which the targetSdkVersion will be the 34.
https://docs.expo.dev/versions/v53.0.0#support-for-android-and-ios-versions
make sure that your app is using expo sdk 53 at least.
and you are configuring in the wrong way the targetSDKversion, now is in app.json
https://docs.expo.dev/versions/latest/sdk/build-properties/#example-appjson-with-config-plugin
Is the goal to prevent the generation of dumps or to prevent the premature termination of the program? Are you saying that automated tests report failure because they see a dump generated, not because the program terminated prematurely?
Ok, the fixer is back under a different name in Visual Studio version: Insiders [11201.2].
The name of the fixer is now "Add required braces for single line-control statements"
It might be that you also need the --no-kill=off option. From the man page:
Do not automatically terminate a job if one of the nodes it has been allocated fails.
Tasks launched using this option will not be considered terminated (e.g. -K, --kill-on-bad-exit and -W, --wait options will have no effect upon the job step).
toHaveTextContaining() is deprecated in WDIO v9. Instead use toHaveText(). Full document reference is: https://webdriver.io/docs/api/expect-webdriverio#tohavetext
disableNativeAutomation: true, if using testcafe
=SUMPRODUCT(range_of_Names="A";MONTH(range_of_dates)=MONTH(Date_Cell))
or
=SUM((range_of_Names="A")*(MONTH(range_of_dates)=MONTH(Date_Cell)))
@Mayukh, isn't it?
$GLOBALS['TYPO3_CONF_VARS']['FE']['addRootLineFields'] .= ',description,keywords';
$TYPO3_CONF_VARS['FE']['addRootLineFields'] .= ',description,keywords';
Thank you Estus you make a fair point. In this application it is possible for the user to change the BackendContext value, and for example switch betwen looking at dev and production. Yes, I could set it as a global variable, but that does not feel to me the "React way".
You can try to solve this using the split() function to tokenize both AttributeMask (by commas) and ChangeData (by tildes). Then, apply regexp functions to extract only the elements where AttributeMask contains '10049', and match them with the corresponding value from ChangeData based on position.
I leave you here some useful documentation:
Hope this helps!
Thanks for the suggestion! I get that SPAs aren’t the best for SEO, so using an SSG framework like Next.js, Gatsby, or Remix makes sense. Since my app already uses react-router-dom, I’ll check out the nasa-gcn/remix-seo package; it seems like an easy way to handle SEO. Really appreciate the tip about automatic sitemap generation too!
I've encountered a provisioning profile error and tried multiple times to create and install certificates manually, but the issue remain as same.
What worked for me was:
same issue here. Any hints how to fix it on MacOS and GitHub CI?
Unfortunately I don't think this is possible as the compiler will find a common supertype such as "Any" and use it. You could have concrete functions to do this for common types that you use but the generic version will always allow type widening due to how Kotlin's type inference works.
Thank you for the comment. Adding +0 to have the regression through the origin works for the deming package but the deming package relies on the maximum likelihood estimation and not on least squares.
Generally it should look like this:
services:
name:
image:
volumes:
- <source_path_in_pc>:<destination_path_in_container>
volumes also overrides the existing path in the container if it exist
why do you think it's a problem with the volumes?
can you send your docker-compose.yaml?
I finally found the problem...
The trigger had no problem at all. The issue came from our UPDATE script which was badly written and was updating all rows even if no modifications were done...
The trigger was then updating the "ModifiedTimeStamp" for all rows, which was perfectly right.
You are supposed to use langchain_mcp_adapters.client.MultiServerMCPClient:
from asyncio import new_event_loop # for turning async code into sync one
from langchain_mcp_adapters.client import MultiServerMCPClient
class MyAgent:
def __init__(self):
self.event_loop = new_event_loop()
client = MultiServerMCPClient({
"my_service": {
"transport":"streamable_http",
"url":"http://localhost:3000/mcp"
},
# other services ...
})
self.agent = create_react_agent(
model=...,
system_prompt=...,
tools=self.event_loop.run_until_complete(client.get_tools()) = [],
checkpointer=...
)
This keeps a persistent reference to the resources and will open a new connection for each tool call.
@JonasH: the idea is to have a complete set of controls on a tabpage and hide certain ones, if needed. The resulting gaps should be closed by moving the remaining (visible) controls up. A solution found on the internet proposed to remove the controls instead of hiding them.
However, adding and removing them dynamically seems no problem. I imagine this to be the same like hide/unhide, but you need a reference. The approach with the tag was an alternative because reading the control's name/type that was removed recently didn't work well.
I would do it like this:
library(ggplot2)
library(nlme)
data(Orthodont)
model <- lm(distance ~ age * Sex, data = Orthodont)
Orthodont$resid <- resid(model)
ggplot(Orthodont, aes(x = as.factor(age), y = resid, fill = Sex)) +
geom_boxplot(alpha = 0.6) +
coord_flip() +
labs(
x = "Age",
y = "Residuals",
title = "Residuals by Age",
subtitle = "Colored by Sex (Equivalent to lattice::bwplot)"
) +
theme_minimal() +
scale_fill_manual(values = c("steelblue", "tomato"))
Search Shortcut in Figma :
| Platform | Shortcut |
|---|---|
| Mac | ⌘ + / |
| Windows / Linux | Ctrl + / |
for me work solution with adding define symbol USE_STDPERIPH_DRIVER in project properties (MCU/MPU GCC Compiler->Preprocessor ->define symbols)
I had this issue after updating WAMP server to 3.3.8. No error anywhere, not even in windows events, checked valid libcrypto-3-x64.dll and libssl-3-x64.dll libs - all fine. After upgrading to latest apache 2.4.65 from older 2.4.51, curl loaded properly. See related issue.
The function WindowInspector.getGlobalWindowViews() is publicly available as of SDK Q (v29).
You can skip this sentence because my answer must be 30 characters long; and the answer is:
"Shift + I"
were you able to find a way????
This is it, only disable the hint I don't want! thank you!
You may find that MongoDB Search (via Atlas, Community, and Enterprise) can help with regex queries. Here's an article that details the various techniques and best practices: MongoDB Text Search: Substring Pattern Matching Including Regex and Wildcard, Use Search Instead (Part 3)
One idea could be to use index-time analysis to index the date patterns of interest and then be able to find those quickly (match all docs that contain such a value).
try maxHeight, it worked for me. both in style and itemStyle
The correct answer is to use [nzDropdownMatchSelectWidth] as per the documentation. Check it out here:
https://ng.ant.design/components/select/en
My code now looks like this:
<nz-form-item>
<nz-form-label [nzSpan]="6">{{ 'common.client' | translate }}</nz-form-label>
<nz-form-control [nzSpan]="18">
<nz-select formControlName="clientId" nzPlaceHolder="{{ 'common.show-everything' | translate }}" nzShowSearch nzAllowClear [nzDropdownMatchSelectWidth]="false">
@for(client of this.entityListsService.clients(); track client.value ) {
<nz-option [nzValue]="client.value" [nzLabel]="client.text ?? ''"></nz-option>
}
</nz-select>
</nz-form-control>
</nz-form-item>
This changes my dropdown from this (dependent on the title attribute you see to the right):
To this (width is now changed to whatever the widest option is):
Here's an answer from the same problem (although it's 10 years ago).
Instead of downgrading Scipy, I did a find/replace in called .py files and changed the line:
from scipy import interp
to:
from numpy import interp
It seems that everything is working now, but with every version upgrade of libraries calling scipy.interp, additional edits will be necessary.
If your environment (.env) isn’t loading, check the file path, ensure it’s in the project root, and restart your server.
@Posix, one thing you probably would like to avoid in any case, is the increase assignment operator (+=) for building strings as it is ineffective.
I found the answer by updating the ttkbootstrap version.
pip install -U ttkbootstrap
I accept it is not possible as there is no way to get a reference to the unconstrained generic class.
@sirtao, good question, you might formally post that one. I did some quick testing from a scalar, type casting, performance view and from a first sight, it looks like there isn't a practical difference but maybe someone might come up with one considering PowerShell has some specific quirks...
i tried a sample .riv file it's look good to me. it's working for me. can you check with your animation?
here is my code and animation.
animation link: https://rive.app/community/files/24532-45875-posture-animation/
import SwiftUI
import RiveRuntime
struct ContentView: View {
// Initialize the Rive view model with the file name and optionally the artboard
@StateObject var riveModel = RiveViewModel(fileName: "1animation", artboardName: "soldier selection")
var body: some View {
// Display the animation
riveModel.view()
.frame(width: 300, height: 300)
}
}
#Preview {
ContentView()
}
i seen some difference in your animation can you please check with you animation.
The comment suggested by @TasoP - was on the right track i.e. windows anti virus is getting in the way. Btw- tried anti virus exclusion on folder but did not work.
My solution was to move (or clone etc.,) my code repo into WSL linux directory itself, instead of mounting it as windows folder.
Late answer (seven years after the initial question), but I think it can be useful.
The rationale for changing the name from convert to magick was, I think, that Microsoft Windows already provides a "convert" command. The Windows convert command is used for converting a file system type (e.g. FAT) into another (e.g. NTFS).
Of course, one wants to avoid the confusion. Before that, one was probably reduced to specify the full path of the imagemagick command on Windows systems, or to run the command in a console prompt with a special path for imagemagick.
The js-undefined is not under my control.
Therefore the question is on How to handle it best.
The script kas-container is essentially a wrapper that runs kas inside a container on your local machine. This is useful if you want to reproduce the build on different hosts. It provides isolation, a deterministic build environment, and prevents contamination of the host system. At the end of the day, it runs kas just like you would on your host.
On the other hand, kas runs directly on your machine. In this case, you need to ensure that all required tools and configurations are installed correctly, and there is a risk of affecting your host system if something goes wrong.
It might seem that kas-container is always the better option, but that is not necessarily true. For example, in a CI/CD environment where the runner itself is already inside a container (like Docker), using kas-container introduces the “Docker-in-Docker” problem. In such cases, it is better to use plain kas.
still not working showing this error
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
/tmp/ipython-input-3913369503.py in <cell line: 0>()
3 # Retrieved 2025-11-10, License - CC BY-SA 4.0
4
----> 5 from paddleocr import PaddleOCR, draw_ocr
6 from PIL import Image
7 from IPython import display
ImportError: cannot import name 'draw_ocr' from 'paddleocr' (/usr/local/lib/python3.12/dist-packages/paddleocr/__init__.py)
---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.
To view examples of installing some common dependencies, click the
"Open Examples" button below.
---------------------------------------------------------------------------
Open Examples
For the RabbitMQ server, you can find out this file with follow path C:\Windows\System32\config\systemprofile\AppData\Roaming\RabbitMQ.erlang.cookie
In my case, the content of file is HQYDPYUYZQFES******
For your user account (CLI client), you can find out this file with follow path C:\Users<your_username>.erlang.cookie
In my case, the content of file is OGIHLSSKESAFW******
After that, you need synchronize content of these files. You run Windows PowerShell by Administrator with follow script
$serverCookiePaths = @(
"$env:APPDATA\RabbitMQ\.erlang.cookie",
"$env:WINDIR\system32\config\systemprofile\AppData\Roaming\RabbitMQ\.erlang.cookie"
)
$userCookiePath = "$env:USERPROFILE\.erlang.cookie"
foreach ($path in $serverCookiePaths) {
if (Test-Path $path) {
Copy-Item $path $userCookiePath -Force
Write-Host "content of these files .erlang.cookie synchronized."
break
}
}
rabbitmq-service.bat stop
rabbitmq-service.bat start
rabbitmqctl.bat status
rabbitmq-plugins.bat enable rabbitmq_management
What is a "syslog" in Windows context?
To achieve persistent anchoring of 3D models in Vuforia after the image target is recognised, you need to transition from image-based tracking to world-based tracking. The key is to use Vuforia's Anchor system. When your image target is first detected, you can create a new `AnchorBehaviour` at the target's position in the world.
This anchor becomes a fixed point in the real world, calculated by Vuforia's internal understanding of the environment. Your 3D models should then be made children of this anchor object. Once this parent-child relationship is established, the models will remain fixed in the virtual world space, independent of the original image target's visibility. The models will now stay in place as the user moves the device, allowing for free exploration of the environment around the anchored content. This approach effectively decouples the models from the image tracker, using the device's spatial awareness to maintain their position.
I know the interface doesn't make it clear but "General Advice/Other" is for questions that seek opinionated advice, not for factual questions like yours. You should probably delete this post and post it with the correct question type as changing the type is currently not supported.
Maybe this is helpful: How to plot normal vectors in each point of the curve with a given length?
sequelize.literal(`'black' = ANY("tag")`)
Wat worked for me was uninstalling Spyder, and then re-installing via the cmd in the Official Anaconda docs
conda install anaconda::spyder
It now works like a charm
def fibonacci_cache(n, cache = {0 : 0, 1 : 1}):
if n in cache:
return cache[n]
else:
cache[n] = fibonacci_cache(n - 1, cache) + fibonacci_cache(n - 2, cache)
return cache[n]
I think you might want to repost this as a normal question, not an open-ended discussion. UI of stackoverflow is confusing right now, you have to select "debugging" as a question type when submitting a question, otherwise it is this weird new type of question.
If you’re encountering Error 153 when trying to load a YouTube iframe or embedded player, it’s because YouTube now requires a valid Referer header to identify the embedding client.
According to YouTube’s updated policy, you must include a Referer parameter when making requests to the embedded player.
See the official documentation here:
🔗 YouTube Embedded Player API Client Identity
To fix this, you can explicitly set the Referer header in your request, like so:
..loadRequest(
Uri.parse("https://www.youtube.com/embed/videoID"),
headers: {
// 🔑 These two lines allow YouTube's referer verification to pass
"Referer": "strict-origin-when-cross-origin",
// "Origin": "https://www.youtube-nocookie.com",
},
)
I would highly recommend if you’re using the ElevenLabs Agent SDK, try combining it with Twilio’s Stream API and a lightweight VAD module (e.g. py-webrtcvad or DeepFilterNet). This allows you to preprocess the incoming audio stream, detect actual user intent, and prevent the Agent from falsely triggering when background noise or other voices are detected. Another option is to use ElevenLabs’ “continuous listening mode” (if available) with a minimum interruption threshold set to a higher level — this ensures the Agent doesn’t stop mid-sentence unless it’s confident that the user is actually responding.
When using a ref, don't forget to add the style property and the unit. (px, %, em). it should look like this :
refToMove.current.style.transform = `translateY(${-x}px)`;
is there any practical difference in using $Collection -notcontains $Item instead of $Item -notin $Collection?
(and relative positive variants, of course)
Since you need the sitemap, I guess SEO matters to you. So, in this case, I think the SPA is not a good solution. If you don't want to the server side, you can try the SSG(static site generation) solution such as Next.js, Gatsby, and Remix. Since you are using the react-router-dom, Remix may be easier for you. Most of the React SSG solutions can automatically generate a sitemap during the build process.
The issue is caused b/c bull automatically attempt to handle you job multiple times and sometimes it might exceed the limit
FIX: update your code like this
const connection = new IORedis({maxRetriesPerRequest:null})
As per the official Pylint extension (version 2025.2) for VS Code 1.105, you will need to add an argument to Pylint's Args list. You can do so in the UI preferences or their corresponding JSON setting as in the following examples (where I have other arguments already):
Likewise to add more modules, append to the same argument:
--generated-members=torch.* cv2.* etc.
I have it downloaded for me before you're going to install it you need to install one more tool that is Dynamics 365 SDK
downloaded and I have the ex here downloads all right so here I have Dynamic 365 sdk when I'm trying to install it it might show you some error about the protected mode so go to more info it will show you the information and click run anyway all right click yes so that installation of this package.
start installing the SDK first after that we will navigate to install option of your developer tool kit all right so we got both this files downloaded.
Then click OK to accept the Microsoft software license teams click continue select one folder where you need to extract this application like okay so it will take a few minutes to extract it once it is extracted then you can install it.
Why not jump to B directly and remove fragment C, then when you remove B it will back to fragment A.
Use android studio's profiler to profile your app
If by "does not work here" you mean Stackoverflow's snippets, then that is due to the restrictions SO has on cross origin and frame based actions. If the code works, it will be runnable from your own server.
@Rani: Oh, how stupid of me! I'm more of a beginner, but this shouldn't have happened, to init lastcontrol every time. I only focused the IF/ELSE, not the event itself.
During my everyday work with Jakarta Server Faces I test as much as possible just below the UI (Subcutaneous Test) - meaning without Arqillian Graphene/Drone/Selenium - by simply calling the backing bean's method in a usual Arquillian Integration Test.
In this case the scope doesn't matter for the test. Hence simply override it via @Specializes or @Alternative. I rather recommend the latter one because a specialized bean's parent needs to be part of the Arquillian @Deployment, leading to unnessecary more code.
Via this way you use official Jakarta and Arquillian Framework tooling.
@David: it's a toggle switch, a binary button. IF runs if the button is true and ELSE runs if the button is false again. But since this handles the same button, I need the last used control's name in both, IF and ELSE.
You can use the command : omz update
Open apps/accounts/apps.py (similar for your other apps like ads).
You need to update the name attribute in the AccountsConfig class to match the full dotted path:
from django.apps import AppConfig
class AccountsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'apps.accounts' # Change here
Do the same for apps/ads/apps.py:
from django.apps import AppConfig
class AdsConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'apps.ads' # Change here
After making these changes, run python manage.py makemigrations again.
It should work, if not then please let me know.
WinForms.
I suppose, for the others the code would look different. I couldn't find a decent example on the internet yet. I'm wondering how VS is going to interpret enum code as a combobox.
I am trying to register my app through SoundCloud for developers and got redirected to a google form. Is it safe ?
$query
->groupBy('c.id')
->having('COUNT(DISTINCT f.feature_id) = :featuresCount')
->andHaving('SUM(CASE WHEN f.feature_id IN (:features) THEN 1 ELSE 0 END) = :featuresCount')
->setParameter('featuresCount', count($features), ParameterType::INTEGER);
;
| header 1 | header 2 |
|---|---|
| cell 1 | cell 2 |
| cell 3 | cell 4 |
If you want precise cutting without re-encoding, try using -ss and -to with -c copy like this: ffmpeg -ss 00:01:00 -to 00:02:00 -i input.mp4 -c copy output.mp4. For a step-by-step guide and other FFmpeg tricks, check out my site: vedoapk.com
.
i've not worked on or seen datastage, but would it be possible to reverse engineer the transformations by comparing the source & result? pyspark does not have any such built-in methods afaik.
I try this one on the testcaferc.cjs, then it does not show the message "Look for and connect to any device on your local network" anymore
disableNativeAutomation: true,
I previously created a tool to enable the use of .ani files on the web. It's extremely easy to use and basically achieves an effect similar to using .ani files locally in web environments. Although there might be bugs or limitations caused by the rendering strategies of some browsers, you can give it a try: https://github.com/qingzhengQB/ani-cursor.js
After upgrading our application environment to Oracle WebLogic Server 12.2.1.4.0, we started encountering JSP compilation errors that were not present in the previous WebLogic version. The issue occurs during JSP compilation or at runtime when the server attempts to load a JSP page.
weblogic.servlet.jsp.CompilationException: Failed to compile JSP /xyz.jsp
[jspService() method exceeds 65535 bytes limit]
Environment Details:
WebLogic Server Version: 12.2.1.4.0
JDK Version: 1.8.0 (64-bit)
Operating System: Linux
Java VM: HotSpot 64-Bit Server VM
JSP Compiler: Eclipse JDT
Post-upgrade, the JSP compiler is throwing a jspService() method size limit error. The same JSPs compiled successfully on the previous WebLogic version. This issue typically occurs when the generated servlet code for a JSP exceeds the Java method size limit (64 KB). It may also be influenced by differences in JSP compilation behavior between WebLogic’s built-in JSP compiler and the Eclipse JDT compiler introduced in newer versions.
Verified that the JDK and WebLogic versions are compatible.
Enabled the Eclipse JDT compiler by setting the following system property in the startup script:
-Dorg.apache.jasper.compiler.useEclipseCompiler=true
Ensured all required JSP-related JARs (e.g., com.oracle.weblogic.jsp.jar) are present in the classpath.
Despite these configurations, the issue persists with large JSPs containing complex scriptlets or embedded Java code.
Has anyone encountered a similar issue after upgrading to WebLogic 12.2.1.4.0?
After trying to fix this for two nights, I tried checking the service accounts of the project through Firebase's Users and Permissions section.
It took me to a different Cloud Project. It seems the cloud project I was given access to by the owner of the projects wasn't the one being used by the Firebase project..
create a new field one to record the date and time so date and time changed.
up to the user field so we can see who changed it now a tip for you here is when you do a lookup field put ID on the end so that when developers uh can see the field they'll know that the ID basically means this is a lookup and in code terms this is an entity reference which usually means it has the guid and the entity name entity type and so putting ID means it just is kind of lets you know that that is a a lookup field that's good practice so we've got those so the custom fields and put it there so we're going to save and publish so they now should be on the account form so what's going to happen when we're going to create a workflow that's going to be triggered when the primary contract primary contact is assigned or set a value not not assigned when the primary contact is has a value set to it we're going to record the time this happened and the user who did it so you go to.
Pyxl was the main culprit slowing down the process alot , replacing it with fastexcel was very effective, ditching pandas was absolutely worth it .
I'm late to the game. I recently came across this issue where my Laravel app, when it was initially built, used increments() method. However, Laravel is now using the id() method.
None of the answers provided here pointed out the main difference between the two.
increments() uses INTEGER column type and id() uses BIGINT column type in database . INTEGER and BIGINT are different in terms of how much they can store but the other key thing is when you create other tables and foreign keys to id columns, column types have to match.
The idea is to have a text only interface. I'm using ncurses to display info, etc.
Thanks a lot dean and Ollie, I am able to achieve 3-4 secs for 700k records. wouldn't be able to do it without your guidance. I will work on optimising it more. Thanks, a tonne once again
I just did some more debugging and apparently making a FileWriter wiped the text file. I took it away and now my code works.
The issue for me waas png format , It had a transparent layer ,
I converted simply to jpg format and it was sent to reviews