Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "import"
-
I have a screenshot(!) of data I am supposed to import into a database... Visible in the screenshot is also A FUCKING BUTTON THAT SAYS "EXPORT TO EXCEL" !!! 👿8
-
(regarding a discussion with a female programmer about an event)
Me: ... But Id feel so out of place, I don't even have a date
Female: well you can always just import a date
Me: what do you mean? 😕
Female: import Java.util.Date;13 -
girlfriend: beb will you marry me in future?
me: let me find out
from __future__ import wife
Failed to get python-future
ImportError: No module named 'future'
me: beb, there is an error, it looks like i don't have a future. am sorry8 -
Today I discovered that we have a CSV export button for an order transaction system, on a page which is completely disconnected from the rest of the website.
It is only being called by an internal server, used by our Data department.
They run selenium to click the button.
Then they import the CSV into a database.
That database is accessed by an admin panel.
That admin panel has an excel export button.
Which is clicked by our CFO. But he got bored of clicking, so he uses IFTTT to schedule a download of the XLS and import it in Google Sheets.
That sheet uses a Salesforce data connector.
Marketing then sends email campaigns based on that Salesforce data...
😒11 -
Client: We need these book genres added to the website ASAP!
PM: Hey dev, its priority #1, please add these genres ASAP!
Dev: Okay, can I get a file which needs to be imported?
Client: Oh we will have that in couple of weeks.
Dev: Okay so write me in couple of weeks.
Client: What kind of company is this? Outrageous!!!5 -
Finally, fucking finally, after twenty fucking trillion tries, a huge ass import is going steady and fast.
I'm literally, out loud, encouraging the import process 😅
"Yesyesyes keeeep it going!"
"You can do this!!"
"You're doing very well!"
I feel like a fucking retard but I'm so happy its finally starting to work 😅9 -
Website A = Website B
Script to import CSV file on Website A = works
Script to import CSV file on Website B = !works
Clock = 4am
Me = null9 -
Actual quote from professor regarding homework that has us recreate the ArrayList: "If you import ArrayList I will punch you in the Goddamn mouth!"
This semester ought to be fun2 -
import java.util.Exception;
try {
public class A {
public static void main(String args[]) {
new Exception();
}
}
}
catch(Exception e) {
System.out.println("Got you BITCH");
}9 -
Whoever implemented the data import in Numbers on Mac needs to be lined up against a wall and shot with needles until they wish they were dead.
Why on all of gods unholy green and shitty earth would i want data i import (EVEN IN CSV FOR FUCK SAKE) to be delimited by an arbitrary text width? WHAT THE ACTUAL FUCK
WHY WHY why would I EVER want to delimit my carefully structured data by fucking text width instead of new line or comma? AAAAARRRHHH
And what fucking big brain genius made this the DEFAULT SETTING for imported text AND CSV FILES. IT STANDS FOR COMMA SEPARATED FILE YOU FUCK BOI MAYBE JUST MAYBE I WANT IT SEPARATED BY FUCKING COMMMMMMMAAAAASSSSSS9 -
An idea for a romantic gesture to my python loving girlfriend
ill make a library with poems I wrote for her and other nice stuff
upload it to pip and call it by her name
now you can pip install it
every time you do import "her name"
it will write out a poem about her
what do you think?13 -
I'm truly and deeply bothered by
import {Object} form "module"
instead of
import { Object } from "module"
What's worse is that I'm bothered by the fact that I'm bothered about this as I'm normally able to laugh away discussions about syntax A being better than syntax B.6 -
A. Java at work and on my android app
B. Python for machine learning
C. Shell scripting for work and personal projects
I am writing echo in python and import in bash. My brain is like a soup now.3 -
import datetime
age=19
while not dead:
today=datetime.datetime.today()
if today.day == 1 and today.month == 4:
age+=1
print("🎉")11 -
Application level developer: It's so simple just import that dependency and use that API.
Low level developer : That's cute.2 -
import do
import re
import mi
import fa
import sol
import la
import si
You know which one is the real module13 -
# main.py
# ok since we are removing master/slave
# terminology, let's refactor our code to this
# jesus.py formerly master_machine.py
# formerly slave-machine.py
from jesus import owned_hashtable as the_word
from follower import listener as you
# let's see if this still piss them off.4 -
Hah!
I just broke my record and generated (not exported or imported) the biggest SQL file!
A massive 15.7GB SQL file monster.
I hope the import will go well.6 -
from phone import Camera
from animals import Python
camera = Camera()
python = Python()
camera.take(python)
camera.showImage()4 -
Finishing code - 1 day
Waiting for Business to get you the files you need for an import - 3 decades2 -
Local IT company proposes to give talks about the basics of web development in our school for one and a half week.
>"And now we're going to learn more about JavaScript."
>"The first thing we need to do is to import jQuery in our webpage."
>Literally no mention of plain JS.
this is why jquery is still not dead...........5 -
Opens pycharm
import time;
print(time.
*hits Ctrl+space*
>Auto complete not working
>Searches SO no answer
>Realized file saved as time.py
> Proceeds to contemplate career choice3 -
Wasted 7 hours for this:
import moment from 'moment'
Should be:
var moment = require('moment')
What happened? When app running in debug mode all is working without issues! When generating release APK, it crashes when using moment
Fucking hybrid shit apps...13 -
R is the worst language.
* Indices start at 1, so you have to fix all your calculations by either +1 oder -1. It sucks
* Vectors and Lists are both neither vectors nor lists
* Data frames dont have a proper api. Simple operations like add or remove are a pain.
* The naming „conventions“ suck. Why on earth would add dots in your identifiers? You never know if its an object, a value, a function.
* The namespace is cluttered. If you import two libraries that deal with the same problem domain, it is likely that they define functions with clashing names that will overwrite each other defined on import.5 -
Mining-Noob-Exp. #1
Just received some ordered ASIC miner from Bitmain. I'm very excited wether I'll reach the ROI or just bought some expensive heaters.
Lesson learned: Don't forget about possible (high) import taxes and fees in your calculations. 😐
Time to piss of my landlord who is paying the electricity bill. 👺15 -
I just replaced 180 lines of Python with 5 lines. I want to smack the author but that would be workplace violence. Funny how if you import some built in libraries you don't have to basically write it's entire functionality and can just use it. I am so ready for this week to be over.3
-
*My friend texting me*
Friend: wtf
My brain: w tf
My brain again: tf
My brain again: import tensorflow as tf
😂😂am brain dead3 -
When i started ocaml. Now most languages use
import lib;
But not ocaml. No, it uses
open lib;
So i had the genius idea of writing my own lib and submitting my program as
open Bob;
let () =
show "vegana";;3 -
Customer: We need an app to replace the Excel ( bunch of forms with messy macros and script)
Also Customer: Can I export the form fill it in an excel and import again.
Me: Sure, Definitely
Inner me: Where's Thanos9 -
I’m privileged to work with hEaD oF eNginEeriNg.
If site == ISO:
from ISO import *
If site == ISO:
from ISO import *
If site == ISO:
from ISO import *
If site == ISO:
from ISO import *
If site == ISO:
from ISO import *
….
This repeats 11 times.12 -
Does any other front-end developer have the fear that we'll run out of handy words or phrases for JS frameworks and have to import massively long sentences to use what we need?6
-
Someone commented the import block with “This is the import section”
I really wanted to add a comment under it that said “no shit”4 -
Dear client, if you can't be bothered to check more than two data points during several test imports, why are you surprised your production import has errors in the other 10k+ data points? We told you to check thoroughly, and you swore it was fine. But great now I get to unfuck production while you're mad you can't go live yet.2
-
Working with client at different timezone (+3 hours difference). Client time: 5 P.M.
C: a blocker issue found
Step to reproduce:
Step 1: import the attached file
Step 2: blabla
Please get this fixed today.
Me: *where's the attached file?* Opens up ly*c, type his name and.... status offline.
Okay then, time to post my first rant. And get depressed until cob. 😔1 -
In the process of moving our web store to Shopify (yuck!) and we are first creating 150000 fake orders through the API so that as we import our real orders, the numbers match.
I'm disturbed by the fact there is no better way to achieve this and after speaking with support they said our best bet would be asking about it on the forums.1 -
I loved Python from when I wrote my first program up to I googled "how to import a module from a parent directory".
My love lasted 30 seconds16 -
almost ran into a potentially big problem.
with python's `pickle` library, nonetheless.
turns out all I had to do to get around it was change `import pickle` to `import dill as pickle`.
i love python sometimes.2 -
Go is fast they said, Go is lightweight they said.
package main
import "fmt"
func main() {
var nums []int
for i := 10; i > 0; i++ {
nums = append(nums, i)
i--
}
fmt.Println(nums)
}
# htop
| PID | USER | VIRT | %CPU | %MEM
| 12048 | root | 16.9g | 101.3 | 94.2
WTF is eating my resources to hell and.... oh... oh im a dickhead!9 -
The iconic moment in your degree when your lecturer finally let's you use Java's built in data structures.
Bye bye Linkedlist.java/Node.java3 -
import time
time.travel('now-10 years')
self.slap()
time.travel('now+10 years')
Does anyone know how to get the travel method working?3 -
*on phone*
Friend: I want to add 100 contacts to gmail how do I do that?
Me: Add those in excel sheet and import it in gmail
*after 10 mins another call*
Friend: I deleted something in excel. How do I get it back
Me: Ctrl Z
*after 10 mins another call*
Friend: I added contacts to excel and emailed to you. Can you email me contacts so that I'll add to my gmail?
Me; I don't have these powers. You have to import in gmail.
*after 5 mins another call*
Friend: I uploaded contacts but I want it in on my iPhone
Me: Add gmail account to your iPhone. It will sync contacts.
Friend: I know we can do it on Android but is it possible on iPhone bcz Gmail is of Google right?
*hang up*1 -
me: import express from 'express';
my IDE: quick fix: remove import express from 'express'; ('express' is declared but its value is never read.)
me: // you don't say, as I only just started typing!7 -
I've discovered that working with artists on a videogame is the equivalent of the chapter when Homer asks for a wish to a monkey arm on the Simpsons.
- I want a png image of the player on idle position. And I dont want a 30000 x 30000 image, neither an image which half of it are transparent pixels, neither the image not to be centered or any strange thing ok?
*They send the image*
- Normal resolution, well drawn, no visual artifacts centered on the image...
*Tries to import it on the game engine*
+ Can't import .jpg format images
- FFFFFFFF#@€&£$$}•{^÷|CK!
This happened after a year working on the same project on the same engine with the same image format specifications.undefined image speficication more than artistic team autistic team i hate artists game project art team1 -
I'm a big fan of 'as' keyword in Python. It makes importing packages in the beginning of the code so slick.
Instead of doing:
> import what
> what.does.the.fox.say()
You can neatly do:
> from what import does.the.fox as fox
> fox.say() -
HTTPS requests in most languages:
Import a couple of libraries, you may need to install a few as well. It's possible that you will need to initialize and set up the socket. Be sure to specify SSL settings. Create the connection, provide it a URL, and attempt the connection. Read the response, usually in chunks. You may need to manually create a buffer of fixed size, depending on if the language has buffer helper classes or not. You will probably need to convert the input stream response to a string to do anything with it. Close the connection and clean up any buffers used.
HTTPS requests in Python:
import urllib
urllib.YEET()6 -
>import ENi18n
>import ZHi18n
en = {…ENi18n, moreStuff}
zh = {…ZHi18n, moreStuffZH}
pt = {…ZHi18n, moreStuffPT}
“Hey man can you fix this? Seems like we are missing the Portuguese i18n. Check this file please (path)”
“I’m sorry I don’t understand, can you call me and explain?”
Why do I need to explain this? What is difficult to grasp here? How can it take more than 20 seconds to know what to do here? It’s not even a file I made, you made it and I just ran into it!
Fuck man, I’m going to blow my brains out.2 -
Not only Windows can show this "strange" error messages: Today I got this beauty while importing an SQL-dump.
(Translation: "Error on import: error on statement #1: not an error. Execution will be aborted and the db will be reset.") -
I just compiled a color palette for devRant-related drawings that anyone can import into GIMP and Inkscape. Already successfully using it for graphics promoting dR Community Matrix (more on that later), hence the name: "drcm-palette".
🎨 https://github.com/drcmatrix/...
For reference I used colors produced by "Tailwind CSS 10-color Palette Generator": https://tailwind.simeongriggs.dev/19 -
Damn, gitea is such a great piece of software, but yet it lacks so much of gitlab, which given are completely different sizes and all, but damn I would kill for the repos import feature of gitlab to be in gitea and maybe even automatic pipelines to fetch a remote automatically..
I could most likely hack together a solution that does the import and remote fetching automatically, but I doubt it would hold against any sort of update and be absolutely brutally murdered by any change.4 -
I dunno about coolest, but I did sort of cement my reputation as the "database guy" in my first job because of this.
My first job was with a group maintaining a series of websites. Because of the nature of the websites, every morning we had to pull the records from one database on one network, sneaker net the data to a database on another network, and import the data via custom data import function.
However, the live site would crash after 100 or so records were imported. The dba at the live site had to script out a custom data partitioning script to do his daily duties, but it definitely messed up his productivity.
Turns out, the custom mass import function had recycled the standard import function, which was only used to import 1 record at a time, and it never closed its database connections, because it never needed to. A one line fix to production code was delivered 6 months later (because that was our release cycle) and I came up with the temporary work around, which was basically removing the connection limit. It would still crash with the work around, but only with multiple days worth of data. So basically only on Monday. Also developed the test set for the import (15k+ records). -
It's faster to design a database, import data from Excel, and run queries than having to deal with these formula shit4
-
Some motherfucker pulled the entire fucking Lodash library off a CDN so he could use one fucking function.
Buddy, the library is open source, you can just copy the relevant code off Github
This is why websites are slow as fuck, devs import shit they don't need3 -
Always include import statements. Always. No excuses. I don't care if you can't be arsed to copy-n-paste an extra bit of code.
Nothing worse than trying to learn something new, copy-n-paste a sample code then your wonderfully helpful IDE asks you which of the 8 matching packages you wish to import.
When someone asks me, "where did you get that", I don't simply say, "a shop"!!
If you don't include your imports in answers then I hate you.6 -
!rant
Just discovered bulma.io! I've got to say I am completely in love with it! It's sooooo much faster than bootstrap and it's completely JavaScript free, you have full control over what parts of bulma you import and use, making it even faster.
I haven't had this much fun re-doing a front-end in years!
So what's your opinion on bulma.io (and/vs bootstrap) ? :)4 -
How deep does the rabbit hole go?
Problem: Convert numpy array containing an audio time series to a .wav file and save on disk
Error 1:
Me: pip install "stupid package"
Console: Can't pip, behind a proxy
Me: Finds workaround after several minutes
Error 2:
Conversion works, but audio file on disk doesn't work
Encoding Error only works with array of ints not floats
BUT I NEED IT TO BE FLOATS
Looks for another library
scikits.audiolab <- should work
Me: pip --proxy=myproxy:port install "this shit"
Command Line *spits back huge error*
Googles error <- You need to install this package with a .whl file
Me: Downloads .whl file <- pip install "filename".whl
Command Line: ERROR: scikits.audiolab-0.11.0-cp27-cp27m-win32.whl is not a supported wheel on this platform.
Googles Error <- Need to see supported file formats
Me: python -c "import pip; print(pip.pep425tags.get_supported())"
Console: AttributeError: module 'pip' has no attribute 'pep425tags'
Googles Error <- Use another command for pip v10
Me: python -c "import pip._internal; print(pip._internal.pep425tags.get_supported())"
Console: complies
Me: pip install "filename".whl
Console: complies
Me: *spends 30 minutes to find directory where I should paste .dll file*
Finds Directory (was hidden btw), pastes file
Me: Runs .py file
Console: from version import version as _version ModuleNotFoundError: No module named 'version'
Googles Error <- Fix is: "just comment out the import statement"
Me: HAHAHAHAHAHA
Console: HAHAHAHAHA
Unfortunately this shit still didn't work after two hours of debugging, lmao fuck this7 -
While in the banking world, I had a project where I had to automate an import into a shit system called CRAWiz. The data had to come from multiple archaic loan systems with no API and tons of shit data.
After implementing, the shit data came to light. Instead of fixing shit data (and using their loan systems correctly), they decided to go back to digging through physical files and manually importing. They blamed CRAWiz and decided to go with a new system to import their shit data into. I warned them repeatedly that a new system would not fix the shit data but they couldn't accept it. I left at that point. 😂 -
A few days ago PM started asking me once a day when we will have fixed an error he saw at customer site.
I always tell him that it is not a software error, just missing data. I try to explain the issue and that the root cause is the incomplete data given by the customer.
Then he says he will talk with the data import guys if they can fix something and I tell him that from my point of view the data import is fine, but the customer has to provide a full dataset and the "error" will vanish immediately.
He walks to the data import colleague anyway and gets told that everything is ok with the import.
Next day he appears at my desk to tell me that the import seems ok and asks me how we could fix the error and I tell him that it's not a software issue, try to explain it...
I wonder how long he will keep up on it.3 -
Python, where every 'import' feels like summoning an ancient deity, praying that it won't bring a parade of compatibility issues and version conflicts.9
-
SonarQube: You forgot to remove this one 'import' statement
Also SonarQube: This will take you at least 5 years to fix -
Well, I always say that if you going to make things a mess, do it a spectacular way. Today I kicked off a data import job that went bad, and in the process of canceling said job, I canceled myself, and the job went rogue, and became a zombie and ate ALL the system memory, bringing the server to a deathly crawl and throwing a dozen developers temporarily out of work for about an hour, before I was finally able to kill the zombie, and balance was restored to the Universe.
-
Pythons tkinter library has a module called "N". Just N. That's it.
So whenever you type "N" and want to autocomplete some local variable or class name, the IDE will instead import that module!
Who the fuck thought N would be a good name??? Some people have some serious issues...9 -
So I told my partner in not buying a Mac and that in buying a base model pixelbook instead, showed her the pricing and she nearly strangled me...
Why is it so hard to be a Google fan and have to import litteraly everything with an extra 400 AUD tacked on -,-12 -
So I ordered a blue yeti mic, mic arm and pop filter, to buy from Amazon Australia (the warehouse is a 2 hour drive from my home) it would have cost me $450 and arrived January 18th, I ordered it from Amazon US and paid 208 that includes shipping and import and it's arrives on the 10th.... Come on Amazon are you fucking serious?!6
-
fuck off with the “do x in y lines of python code” it’s getting so goddamn annoying. yes python is concise. yes libraries do everything. you don’t need to show off someone else’s work with clickbait.
everything is like
“make a web server in 2 lines of python code”
import http.server
server = http.server.serve()
“mine bitcoin in 2 lines of python code”
import bitcoinminer
bitcoinminer.mine()
“do crazy math with 4 lines of python code”
import complex
import numpy
num1 = 1
num2 = 1
num3 = complex.addVectorMagnitudes(num1, num2)9 -
ftw !!!! js sucks
importing js files giving errors 😐
used require(blah_blah) and
import { blah_blah as blah } from blah
How do I do it ?😶7 -
Bad: Delete your production database
Good: Have a backup
Bad: Can't reimport it because your backup procedure uses scheme that are no longer supported for import by your cloud provider
Good: Backup are plaintext and somehow easy to parse
Bad: Spending the rest of the day writing scripts to reinsert everything.
End of the story: everything is up and running, 8hours of efforts1 -
Hiii devRanters, I have a TypeScript question for you...
How do I dynamically import classes?
I have a class like this:
export default class Foo implements Bar {
...
....public getName(): string {
........return this.name;
....}
}
and then I have another file with this:
import(`./class-cmd/${file}`).then((command) => {
....winston.debug(command);
....winston.debug(command.getName());
});
the first command spits out something like this:
debug: default=class Foo {
....constructor() {
........this.name = "foo";
....}
....getName() {
........return this.name;
....}
}
and I would expect that the second command will work, however it throws this:
UnhandledPromiseRejectionWarning: TypeError: command.getName is not a function
Any idea what I might be doing wrong?18 -
CSV wouldn't import to database despite researching problem for the past hour. Fuck it I'm getting drunk9
-
Code katas are by far the most cringe thing I've ever seen in the dev world. Second place goes to dan abramov, third goes to python's “zen of python” naïveté being baked into the fucking language itself and printed out when you write “import this”.4
-
Me: I need some stickers
Devrant: Give some programming jokes
Me:
#Take as many as you want
import requests
# api-endpoint
URL = "http://devrant.com/jokes/"
# sending get request and saving the response as response object
r = requests.get(url = URL, params = "funnyprogrammingjoke")
# extracting data in json format
Joke = r.json()
# printing the output
print(Joke)5 -
Who the f*** came up with the idea to add `com.sun.xml.internal.bind.v2.TODO`
Thanks to a hasty ctrl-space #intellij added this … as import … dafuq2 -
I might be new to webdev , but wtf is wrong with imports in js ?
html seems to get the only decent way of dealing with js: all the files mentioned in subsequent <script> tags can access the functions of previous file
but when it comes to those generated html content(aka react projects) and servers, nobody seems to come to an agreement : react guys uses import while server people uses require. and both of these can't be used in the same file : import works in mjs files (or usual files too if type is defined as module) while require works in cjs file (or usual js files if type is NOT defined as module)
so i kind of like imports for its elegance and resembelence to java imports. and i might have got into some errors in unrelated areas , so my package.json has type=module . i want to use some cjs package (jsonwebtoken) and that shit for the love of god won't work with import, so i gotta use it with cjs file and then the whole project can't use that crappy cjs file.
WTAF ? has web world not got matured enough to not have this shitty import export situation?should i write caveman code and convert everything to require(..) ?
fuck me6 -
Fuck Wordpress, Fuck Wordpress's PHP
I'm so fucking tired of everything in this godforsaken CMS. Import a JS File? Sure, just add a *completely obvious* line into a very specific PHP File, where you'll have to specify a lot of "useful" parameters. No, I somehow DON'T want to specify that I don't wand jQuery in every import. And don't even get me started on Content Delivering. Embed CSS? Sure, just write the fucking whole path to the file, or use the broken get_stylesheet_uri() Function. Embed an Image? Sure, let me just go to the Backend and wait 6 Minutes for this bullshitty System to upload the image and then copy the hard-coded Link. Oh, you want to remove googleapi embeds? Sure, let me just fuck up your whole Website in return.
You want jQuery? Well instead of using the "$" Symbol, you have to use the jQuery() Function. Except when you don't have to, which is 100% random each time you reload the page. Oh, you actually did import a JS File? Sure, let me just not run it. Thank you fucking piece of shit thats calling itself "WordPress" and fuck you and everyone whos actively encouraging its usage1 -
Don't you just hate it when someone says import the library to use the pre defined functions and
Your coding under C -
Working for 5 months as a junior dev. I receive a request to check out a data issue at client, no one knows what is happening. I quickly find a data import issue and let everybody know. Few days later apparently issue is still not solved. A senior data consultant approaches me asking for help.
senior: 'So, any idea what's wrong with the data?'
me: 'Yeah, someone messed up the import. Just delete it and import it again.'
senior: 'How do you know?'
me: 'Because <insert valid arguments>'
senior: Wow, very clever. Amazing work. I wouldn't have thought about that. Great job'
A few moments later I receive an email from the senior with all the stakeholders in the cc: 'I found the problem and I have a solution <copy/paste my words>'4 -
Customer: "There are only 'X' values in COLUMN_D, your - report - import is wrong!"
Me: select count(*) from table_a where column_d is not in ('X') -> returns more than a thousand... Yeah please only scroll within a couple hundreds of records in your shitty sql client gui without making queries. Fuckhead. -
Dear client,
I'm trying to import your data into your new system with a one-off custom script. But the fact that you keep screwing around with the data and rules is like jamming a stick in the spokes of the bike you're riding. We're never gonna finish this project if you keep doing that.
Sincerely get a clue,
Me -
May be it is small thing to many people's but as a less experience Developer it is big thing for me.
I AM GOING TO LEAD PROJECT.😊
Ohk project is not so big..3 -
Fuck Android Studio and Gradle!
Especially Gradle, you fucking slow RAM consuming shit!
It consumed like all of my RAM and my computer is lagging like shit
It can't even import my SVG!
Because of frustration I accidentally hard reset my local git repo and lost 3 hours of work!8 -
import antigravity, random
bugs = 99
while True:
print(bugs, "bugs in the code today,")
print(bugs, "bugs in the code.")
print("Git pull the file,")
print("Fix and compile.")
if random.randint(1, 7) == 7:
bugs += random.randint(1,16)
else:
bugs -= 1
print(bugs, "bugs in the code.\n")1 -
Just sitting around waiting for a 220GB Database to import, if I had a spare PCI-E port I could have used a 240GB NVMe PCIe SSD but now I have to use an old Seagate 500gb HHD. Gonna be a while.5
-
- Ok so today you're going to install MS SQL Server 2014, import this database, and make it show up through a crossed dynamic table.
- Excuse me sir, can I commit suicide now or should I wait a little bit more? -
NodeJS:
*Put image in Folder*
</>Import Image from "./images/image"
Xamarin
*Create Folder ONLY FROM VISUAL STUDIO*
*place image into folder*
*Properties: Build action: Embedded Resource*
THE FUCKING RECOURSEID DOESNT EVEN APPEAR WHAT THE FUCK XAMARIN2 -
I just received this.
"I'm just saying that one should be proud to be able to import libraries and call themselves Data Scientist who can apply machine learning."
What the actual fuck.6 -
import answer from "./knowledge.js"
const topic = 'Vue'
const rant = false
const allowDumbAnswers
const q = 'Why to use only a single Vue instance?'
allowDumbAnswers ? return : answer(q);9 -
Vendor lock-in for cloud providers is really small, and you don't notice it until you need it. Route53 has an "import zone file" button, but they don't have an "export zone file" button. Yes, there are other tools and scripts to do it, but bit-by-bit AWS, GCP, and Azure make it difficult to leave.2
-
Getting a project from a client: It's quite easy. I'll finish it in a day.
Week 3: import express from 'express'2 -
Python: I heard you like importing stuff explicitly, so I made sure you had to import every mother-fucking thing you need. Even the things that you obviously need and couldn't possibly do anything without.
What's that? You want more import statements than actual code? Look no further than Python, my friend. At least it scales, amirite? -
22.30 PM: "Please ceheck all the points in (30 pages long extremely bad and scarce) documentation. Import doesn't work and customer is pretty unhapy."
me: "So do we have an error or am I searching for a needle in a haystack?"
PM: "Just general error."
FFS i'm sick of this. I can't even test the import because it's on a stupid retarded 3rd party software that expexts CRs on new lines and craps all over the place if it sees a Line Feed&#^$/!&@$&' -
Been here for quite a while now and eventually made an Account.
It cannot be said often enough:
DevRant is awesome!
following: mandatory "Hello World"
import System.Drawing
import System.Windows.Forms
f = Form()
f.Scale(.6,.45)
f.Controls.Add(Label(Text: "Hai wurld!", Location: Point(60,30)))
f.Controls.Add(Button(Text: "KTHXBYE", Location: Point(50,55), Click: {Applikation.Exit()}))
Applikation.Run(f)2 -
9000 internet cookie points to whoever figures out this shit:
I'm trying to import a secret gpg key into my keyring.
If I run "gpg2 --import secring.gpg" and manually type each possible password that I can think of, the import fails. So far, nothing unusual.
HOWEVER
If I type the same passwords into a file and run:
echo pwfile.txt | gpg2 --batch --import secring.gpg
IT ACTUALLY FUCKING WORKS
What the fuck??? How can it be that whenever I type the pw manually it fails, but when I import it from a file it works??
And no, it's not typos: I could type those passwords blindfolded from muscle memory alone, and still get them right 99% of the time. And I'm definitely not blindfolded right now.
BUT WAIT, THERE'S MORE!!
Suppose my pwfile.txt looks something like this:
password1
password2
password3
password4
password5
password6
Now, I'm trying to narrow it down and figure out which one is the right password, so I'm gonna split the file in two parts and see which one succeds. Easy, right?
$ cat pw1.txt
password1
password2
password3
$ cat pw2.txt
password4
password5
password6
$ echo pw1.txt | gpg2 --batch --import secring.gpg
gpg: key 149C7ED3: secret key imported
$ gpg2 --delete-secret-key "149C7ED3"
[confirm deletion]
$ echo pw2.txt | gpg2 --batch --import secring.gpg
gpg: key 149C7ED3: secret key imported
In other words, both files successfully managed to import the secret key, but there are no passwords in common between the two!!
Am I going retarded, or is there something really wrong here? WTF!4 -
I get it — it’s not fashionable to be part of the overly enthusiastic, hype-drunk crowd of deep learning evangelists, who think import keras is the leap for every hurdle.
-
I'm currently in France and after watching my first YouTube video here, I learnt to import lessons: 1. You can't escape from the udemy ads 2. The French seem to pronounce python (as in the language, obviously) like a French word...22
-
Just an advice:
Keep in mind that you can now have ES modules in nodejs with the esm package. And it's a zero config install.
For those that don't know, in js ES modules is the import/export syntax and is a huge upgrade from cjs (the require syntax) because you find out "pre runtime" when a specific import is non existent.1 -
So, while ago I was trying to import some coordinates from someone opendata. Just to find the location to be on the other part of the globe. Why? Because Finland has its own coordinate format... freaking hipsters >.>
Still wake up in the middle of the night in sweat because of that... -
DO NOT, i repeat, DO NOT USE "scapy.all" in python3.
I spend hours figuring this one out. In one commit i added tests and other tests not connected to my tests started failing. I ran the tests several times and also checked the rng-states, but everything was the same as on the commit before...
There was one additional error message i decided to check out, which was the result of "import scapy.all" (that's a module that contains all the scapy-exports). I removed that import and used the right packages and suddenly: all tests passed.
Fuck this inconsistent piece of crapware that has its python2-files in the pip3-repo and gave me that hell to debug.2 -
Yesterday and today combined I spent about 8 hours trying to get my PGP / GPG passphrase to work. Absolutely magically, somehow a newline character had gotten into the passphrase. Yes. That's possible. On macOS, that is.
On my Windows machine I have the same fucking private key protected with the same password. Now try and get a non-windows newline character into any Windows password field, be it a command line or some GUI input. WTF! You'll lose a year of your life with every passphrase error while you have the actual passphrase.
So after all these hours trying to hack my own GPG keystore without success, I remembered how the private key got on my Windows machine in the first place: see tags.4 -
Have 4 GB micro SD card for my filesystem project.
Every search I do on the hex dump takes 5 minutes (literally)
Exported hex dump to text
Now have 2 9GB text files
Gonna try to import it into mysql for faster querying, wish me luck3 -
Just happened 4 days ago.
I was writing a thesis and at the same time creating a tool which automates my measurements.
It was written in Python and everything worked very well.
Of course I left it to my advisor for further measurement, telling him that if he want to measure multiple times he just need to loop over the measure-function.
I left him an example-file which looked a little like this:
example.py:
"""
import measurement_class
# Parameters
if __name__ "__main__":
m_class = measurement_class.coordinator(#Parameters)
m_class.measure(#someotherparameters)
"""
So after a few weeks I came back to my advisor (four days ago) to see this:
loop_over.py:
"""
import os
for _ in range(0,100):
os.system("python3 example.py")
"""
I'm not sure how I should feel about it...2 -
"""Itty bitty frustration"""
# wannabe mode on
import sklearn
iris_dataset = sklearn.datasets.load_iris() -
Fuck DataGrip, and it's an unintuitive interface, which asshole came up with the idea to remove the import menu option in favour of a drag and drop bullshit, and while I am at it fuck your documentation that is never accurate. You are a tool to speed up my work not create more tasks dummy!2
-
When i have to take an hard decision, this python script always helps.
import random
print(random.choice(hardDecisionOfLife))2 -
Fuck FE development. Tweaking or adding some stuff is OK, but making the whole FE from zero is a pain for me. Vanilla JS is OK, but I need to use Angular, which I don't know how to use properly. Generally, right now I find FE as a big confusing mess... Why Angular? Because fuck React - it is even more confusing. I just can't keep all these things in my head... You want to add something? Fine, add a dependency, import, export it, import again, that shit does not work alone, so you import another shit... IDE says it's all good, look it's up and running! But you open the app and it's not even loading because of errors. Another module missed, ffs. IDE can't really save you here, sigh...
I am a BE dev, I am straight out bad at FE. I don't hate FE, but I hate that I am forced to do it and I need to do it fast, without having time for learning it.
Ughh... I feel somewhat better now :\ Now back to making there modules work...13 -
I failed to recognize that svn import does not download the repo to my laptop but "imports" the directory I'm currently in into the repo. That was my /home...2
-
I am trying to install eclipse for college
Windows defender blocked it because it found malware virus in it
Disabled windows defender
Waste my time to download again
Kaspersky blocked it because it found multiple trojans
Kaspersky saved my computer over 30 times from real damaging viruses
Disable kaspersky too
Waste my time squared download eclipse again
Open eclipse
Import tomcat v8
Eclipse crashes4 -
Best: ...😓...
Worst: having to deal with excel data import in C# in a server environment without drivers for working with excel files 🤐7 -
My friend complain to me Python tutorial on YouTube doesn't work. He can't import any packages. I looked at it and found that he installed package into one Python version while his IDE is using another version installed in his machine.
And then I even find third one in another location...2 -
So I just realized (while rewriting some code) Python can't import stuff from a sibling directory without voodoo tricks. Seriously. In 21st century.26
-
"DataSource.Factory<Integer, Rv1data>"
>>"Error, Factory doesn't existt"
>> checked every tutorial on internet: twice.
>> rebuild the whole project: thrice
>> checked the xmls,activities,views,gradle: 4 times
>> thoughts of throwing my laptop : 5 times
.
.
.
checked the import modules:
>>imported javax.sql.DataSource instead of androidx.paging.DataSource
FUUUUUUUUUUUUUUU😡😡😡😡 -
Whatever the f is wrong with numpy devs!!!!
Like seriously bro....
I can't import the effing sklearn.decomposition to do some basic PCA and the best solution out there is to downgrade it to version 1.16.1. Like hell!!!!
Issue has been known since last year, but guess who cares effukers8 -
The other day I wrote a bit of code using a new component. I spent three hours trying to find why it wasn't working - how was I using the component wrong? It was rendering its source html directly in the browser.
I had forgotten to import the file defining it. -
God dammit, I hate my bloody coworker sometimes. He's doing a huge refactor, and committing... which is fine, but he's clearly NEVER run the fucking test suite. I didn't write that much coverage so you could commit something that breaks the build and then fuck off to lunch.
Not only has he not run the test suite, I don't think he's run his changes AT ALL. The bloody modules don't even import the way he's written it now.2 -
Data scientists should be charged with animal trafficking and animal abuse because they import Pandas 🐼 and feed them to Python 🐍2
-
Just about to get ready to import all of the hair sprites for my game and calculated it to be 1260 sprite strips to import... Fan-Fucking-Tastic!
To anyone out there thinking about making a 2.5D RPG, don't managing sprites is the worst thing known to man -.-1 -
Why the fuck...!
Wrote code to import a spreadsheet... A "class code" field is in there to define the the product category... But when no products matching I find that the number is the result of a concatenation, one half of which is not in this file...
Just... Why... ?!?!?! -
I want to create a static JS class/file to hold shared functions but I can't seem to make it usable in other JS files.
import DbCommons from './commons' //Same folder
getCategories() {
return this.db.transaction((tx) => {
tx.executeSql('SELECT * FROM ' + DbCommons.CategoryTable, []) //Says not found
I forget how do I make things visible outisde of the actualy JS file11 -
import datetime as dt
while(True):
time_left = 24
work_hours = 8
trained_today = False
while(work_hours>0):
do_work()
listen_to_music()
browse_interesting_feeds()
work_hours -= 1
time_left -= 1
while(time_left>0):
if trained_today == False:
train()
trained_today = True
eat()
if dt.datetime.now().hour > 23:
time_left -= time_left -
Developed a microsite for a temporary campaign. Involves generating 1.5million promo codes on excel. Done... good luck importing it to mysql. Campaign launch is tonight while importing cant be successful unless importing 10K at a time -_-4
-
So mechanical keyboard suggestions under $120? Also I might need to import it so consider import duty of around $50 while suggesting2
-
from datetime import datetime
import devrant
while project_deadline > datetime.now():
devrant.rant()1 -
When you commit "removed unused imports" because you have no idea what you did.
and then you actually find a unused import... Better commit again!2 -
Its soo annoying when u have Anaconda installed with all the shit packages and when u IDLE run the python and import packages it gives errors and when u try to pip install them it says request all ready satisfied in anaconda!!!!😭
-
Thank you Cloudflare for replacing my MX records with A's, so that I now don't have a working mailserver, but also subdomains linked to my 404 page! Cloudflare you are great, where can I terminate the contract? When I import the confirguration in my friend's nameservers, it works. When I import it in my domain registrars nameservers, it works. When I import it in the cloudflare's nameservers, everything fucks up and it makes freaking subdomains. And that bullshit even displays MX records on their DNS dashboard! FUUUUCK
-
import classNames from "classnames";
imagine installing, importing, and using a package that is solved quite literally by built in parts of the language
yawn
i grow weary7 -
Fucking IntelliJ
It does not often die on me when I do a Maven import, but when it does, I hate it.
</endOfRant>
Otherwise I love IntelliJ <35 -
Wrote a 217 line script to import/export email templates.
Slightly less painful than hand crafting the 37,000 line SQL query. -
the industry we try to make for them their first inhouse app, is having a lot of data that we need to import to the app. (machines, workers, materials, products, etc). The problem is that they want to give them to us in excel files, instead of making data entry. So thats ok for start, but after some point of complexity and relations we figured out that it turns to be a deadend.
How do you manage situations like this, with huge old fashion companies??4 -
I was working in a voyager's project in my office, my CTO sent me an sql script to import a basic DB and when I run the project and I try to access to localhost/admin, ¡boom!, amazing exception.
I forgot type composer install in the project XD I felt very noob in that moment -
FUCK YOU DRUPAL 8, FUCK YOU. Why the fuck attaching libraries does not import them in specified order, but AT RANDOM ORDER, that changes on every cache clearing? Whoever implemented this needs to get their head out of their ass right the fuck now!3
-
Holy shit I don't understand Rust's module system. Package I have not a single clue what it is... It "can contain one library crate and multiple binary crates". What? Okay so a crate is a collection of modules. Great, now how do you define modules? `mod whatever {}` probably. Then what the hell does `mod whatever;` do?? Import a module from a file with the same name (ignoring the fact that modules and files don't seem to have anything to do with each other). But why `mod` to import? How does that differ from `use`-ing a module? What is any of this??3
-
Just purchased an import car from japan, what do you guys think, should i do a custom infotainment system on a raspberry pi maybe write some code so it'll show all my car info? Or do you think it'll be too much of a pain in the ass5
-
So burnt out. Zomg. The typos... the poorly constructed tests... the clients daily changes and the urgency of it all... my test created an unecessary object that had me looking at all the wrong things. My own dumbness. From overwhelmed import haste
-
Whyyy has to be the price in xml import in format impossible to parse. Please use a fucking dot next time, thanks!8
-
My phone was stolen so that's why I wasn't getting here to rant about this, but today I had to make a back up and remembered.
adminer's export function doesn't export the tables in the correct order for import. Doesn't take foreign keys into account.
Dude, that's the whole point of a relational database, relations between tables; if you don't take that into account then what's the point?
Is this the same for the rest of database managers or is it just adminer? Please tell me this isn't normal.4 -
I was so tired today that I actually tried to run a program in word before realising what I was doing... I bet you can imagine my surprise when nothing happened after typing 'import runs'... jeez... my brain really shut down...
-
Trying to figure out Material Custom Themes. Goddamn who ever came up with this was either a genius or a donkey. I cannot get a grasp of it. I need a custom palette import this in a custom theme and then make sure this theme is included in my Angular installation.
Why god why?2 -
So I started learning Java and there are lots of boilerplate code. To use some Date functions there is a requirement to import it first before you can use it lol. In PHP and JS no need to import anything so less code.20
-
Any good productivity ideas for Powershell profiles?
I currently have a couple of aliases for frequent commands, Posh-Git import and bash-like tab completion.4 -
I have a JS module in the main thread, which can only import regular JS files using dynamic import(). This means that imported functions can never be global.
I also have a web worker (which isn't a module because Mozilla) which can only import other JS files using importScripts(). This means that imported functions can only ever be global.
Effectively I can't use the same code on the main thread and in a worker if it relies on objects defined in other files, because references to these will never be the same. -
As a JS developer I wish that when I import a package, a list of all the Jquery methods comes shipped with it 🥺12
-
Salesforce translation import tool is absolutely useless regarding error messages, when something is wrong with the file. Even if you try to replicate an already correct file, salesforce just tells you that something went wrong and which file formats are accepted ... even when using said format. No hints, no further explanation ... I need more details, WHAT IS WRONG?😠2
-
So, I rarely ask questions, I usually find the answer myself, but, I'm just tired today and maybe my fellow dev ranters can help here.
Is there a way to write a bash script that automatically runs a pre-defined mysql query on local DB and throws that up into production DB?
it's just a simple select and then insert.
Been looking at select into out file, from infile etc
I could do it manually, but I'm going to have to do this more than a few times over the next few weeks and would love to just alias it and be done with it
doesn't seem possible without actually logging into mysql cli each time...on both sides, which sucks
this isn't export/import a table, it's export/import the result of a query
thanks5 -
There are mortals, then there are legends, and then there are people who import moment.js, and then manipulate dates with bare strings.
-
8:43pm
Should I use django rest or graphene?
8.52
*Creates serializers and views*
9.32
I think mutations will work just fine
10:54
I don't need access to all models from the client
11:12
Let me start a new app and import models from the existing app
00:23
I am a programmer, I have no life. -
Spent a whole day building custom OnDeserialize events for a complex import project... Find out Microsoft XmlDeserializer completely ignores all serialization callbacks.
Fucking cunt. -
Visual studio code has this feature where it will automatically add typescript import statements. It doesn't work properly for me on this angular project.
eg. I get this:
import { Output } from '@angular/core/src/metadata/directives';
instead of this:
import { Output } from '@angular/core';
After a few weeks of being annoyed at this I tried to search to see if there was a fix. Surely others must use vscode+angular? Anyway I found this issue and it is set to fixed in typescript 2.5:
https://github.com/Microsoft/...
So I check and I am using typescript 2.4. I read that angular has issues if you use an unsupported version of typescript but I cant find anywhere that actually says the versions that are supported. I try npm install typescript@latest anyway and sure enough angular-cli spits out some error. The error says to run npm install typescript@'>=2.1.0 <2.6.0'
That command doesnt work! maybe something about those quotes in windows command prompt but I manage to run it with double quotes npm install "typescript@>=2.1.0 <2.6.0" and now I have typescript 2.5.
I try out the auto import but it still doesn't work.1 -
When someone asks me to work on a project and I check if I've got the time to work on it
try:
import time
except ImportError:
print ("Time not available")
Result: "Time not available" -
I hate that I can't use python everywhere. My professor just told me that I can't just "import essay" 😒
-
What happens when programmers are drunk like shit in an office party, and you try to leave?
"import back that muthafucka and lets build his balls" -
After hours of hitting my head on the keyboard if finally realized why my contact form wasn't submitting properly... I forgot to import jquery.3
-
!rant
fucking hate all online programming exam because they're limiting the way of examineer answering the problem as they're not allowed to import any packages.8 -
Filthy Pollo: import {globalStore} from '../main.js'
Filthy Pollo: is that unstandard javascript?
Filthy Pollo: it makes me think it's from webpack
Filthy Pollo: unforgiving...
Ron Chi: i wont answer these questions again
Ron Chi: i already told u chrome supports imports its been a few months
Ron Chi: modules are evaled once, so if u have some state living in ur module if u reimport it ull just get that same state
Ron Chi: myModule.js - const myShit = { 'a': 'eh?' }; export { myShit };
Filthy Pollo: https://i.imgur.com/1X4Taik.png
Filthy Pollo: gg
Ron Chi: index.js - import { myShit } from './myModule.js'
Filthy Pollo: import and export are unexcepted token
Ron Chi: import needs to be used at the top of a file, before any other code
Filthy Pollo: https://i.imgur.com/myrrIMx.png
Filthy Pollo: Im going to assume import and export aren't supported in the browser
Ron Chi: because ur squigly line in ur editor?
Filthy Pollo: This feature is only implemented natively in Safari and Chrome at this time. It is implemented in many transpilers, such as the Traceur Compiler, Babel or Rollup.
Ron Chi: https://github.com/paulirish/...
Ron Chi: actually i dont think its handled properly by babel, webpack handles it
Filthy Pollo: what the fuck why use import and export that wont work in other browsers like firefox, edge, etc. ?
Ron Chi: because other browsers are slow
Ron Chi: its still standard
Filthy Pollo: your answer is not really professional
Ron Chi: ?
Ron Chi: why because its my fault that other browsers are still working on it
Ron Chi: they fought over implementation details forever, than it has to be implemented properly before shipping it
Filthy Pollo: Im blaming the people who are still using export and import in the browsers
Ron Chi: u wont be using modules without transpiling without some limited market for a couple years, otherwise ull still be using rollup / system.js / webpack
Filthy Pollo: obviously webpack
Ron Chi: thats up to you, it seems the google ppl use rollup
Ron Chi: but most of the community chose webpack
Ron Chi: angular 2 uses system.js internally i think
Filthy Pollo: Firefox 54 – behind the dom.moduleScripts.enabled setting in about:config.
Edge 15 – behind the Experimental JavaScript Features setting in about:flags.
Filthy Pollo: nobody wants to be bothered to change settings in flags
Filthy Pollo: the developers who use experimental features are weirdos as hell
Filthy Pollo: the joke is when they use experimental feature for production and force them to download chrome
Filthy Pollo: Monopoly as hell
Filthy Pollo: Corruption of User Experience -
Looking at jest errors and loads of GitHub and StackOverflow issues, it's no surprise that people claim they don't like testing.
Maybe they would if we got our tooling right.
import { foo } from 'bar';
Nah, that's an unexpected token, jest does not like this syntax.
Using require, like in jest's getting started tutorial isn't compatible with my existing JS libraries exports.
Adding type: "module" in package.json just makes another error message appear instead.
Fucking developer experience!
Why bother with unit tests at all?
How come PHP is 10 years superior to JS when it comes to code quality, unit tests, and static code analysis?
I don't even care about "ES modules". I don't want to "mock" anything either. All I want to do is import a handful of JavaScript functions into another file.
Overengineered web dev stack sucks!3 -
Now I have 6 projects on JIRA and I have lots of data collected from all projects (for example visitors on website, how many of them donated money in our project and etc.).
I am looking for some software/app where I could import lots of data from these reports and I want to be able to compare datasets or see some overview.
What should I use?3 -
I have no one to argue about this with, I'm the only developer in my place of work, but I can say that the arrangement of the import statements sucks my nuts no PR is accepted just because they want to see first inbuild imports, then third party, then imports from current projects, why why why!!! that doesn't harm anyone in the world!!!! but just my time!!!3
-
angular: the fucking one place on all Eco-Web-Dev that you need import basic core feature . twice !!
the module - and then get error of forgetting the class , they two almost with the same name -
GOD FUCKING DAMMIT I FUCKING HATE ES6 AND ITS GODDAMN IMPORT BULLSHIT
FUCK OFF AND LEMMIE REQUIRE MY FUCKING MODULES FOR FUCKS SAKE5 -
So today I learnt that babel/runtime-corejs2 is a lib which makes babel more optimised by refactoring most of its function calls. So I need to import a library..... to gain more performance out of an existing library.... I mean you could literally refactor babel instead of asking people to import another package in your project 🤦♂️6
-
When you import a project into a fresh install of Android Studio and the bitch has a gazillion things to install.
You might as well take a good nap if you've got shit internet 😒 -
Why the fuck is react so fucking verbose? Why the fuck in almost every single file i need to use dispatch=useDispatch(), why the fuck do i even need to import React from react, like, holy fuck, figure this shit yourself, you're digesting the files anyway.5
-
!Deno
Being now able to write import 'npm:<name>' and it just working is quite hilarious, not having to use nodejs but still using the projects built on it .. wwwwww25 -
there will be war they said
kind of playing with legacy code,
they didn't say
importing css from scss file. yep react is cool but this freakin import css from scss is kind of bloody weird for me. k let's just keep it small, can you just reply in 3 words e.g. use freaking vim or go eat bacon as an advice ty?!4 -
When you need to fill an array with a database that has over 10000 rows and took hours to import, and you remember you truncated the database.. I hate my life now.2
-
I felt pretty smart about replacing that huge php database import script with a bash script loading the XML dump via MySQL's LOAD XML INFILE feature directly.
Why then does the php script only take 35 minutes for all the tables to import, whereas my script takes almost 2 fucking hours for that one table? We are talking an import of the ridiculous size of 70 MB. I don't get it. It's supposed to be fast.2 -
Writing jest test cases for a MongoDB server app.
I noticed, inside the testEnvironment file, it uses ‘require’ instead of ‘import’.
I changed it to ‘import’...🤔
Somehow it pops out syntaxErrors.🤦♂️
In my actual .test.js file, I use import all the time, never had any issue.
The Babel transform and babel-jest are also in the right place.
Anyone know why?4 -
Hello, a question about Node project -
How to import node libraries only once and use them all over the project.
I have asked it on StackOverflow, link to it
https://stackoverflow.com/questions...
If you guys have any idea for it, please, share!15 -
Turns out the company product lacks the ability to import data from other ERPs, currently looking to do PoC. Any suggestions ??
(PS I work for the company that builds an Open Source ERP) -
Rect is heavy so if you gonna build lets say a website, it will be heavy.
But wouldnt be awesome if we could import like small packages that contain a few functions based on categories?
In this way you can have a light app or website and also use a framework
Just my 2 cents!5 -
Unfortunately, WordPress doesn't provide built-in functionality for exporting user data. The only way to do it is using an import and export user plugin.
But that's fine. Don't waste your time on essential functionality, just keep adding more features and gimmicks to your Gartenzwerg editor.
Always good if you got your priorities right.12 -
PHP 7.4
Anonymous functions in PHP can be quite verbose, even when they only perform a simple operation. Partly this is due to a large amount of syntactic boilerplate, and party due to the need to manually import used variables. This makes code using simple closures hard to read and understand.
https://wiki.php.net/rfc/...7 -
Why the fuck do I have to start an SSMS data import wizard all the way back to the beginning when it fails?1
-
Me to team: eslint-plugin-import is tripling the time it takes to lint our project (literally adding minutes to the linting process). Do we really need it?
Boss: what does it do?
Me: ensures import paths are correct; reorders imports; ...
Teammate: imports should NEVER be reordered!
*cue debate about reordering imports that is still raging - my question is never answered*5 -
SCSS for my personal website:
@charset "UTF-8";
@import "C:///xampp/htdocs/...";
They both use a customised MDL and this way I can maintain code much easier.5 -
Many people in this world are worthy of being hated, but few are as irritating as the mongrels pushing for import\export to be used in backend projects. Breaking compatibility and bothering developers just because you can. Worst thing, they'll also probably win.
-
This a hybrid rant/question - I'm just getting into golang/go and loving bits of it but feeling that I am needing to import a new cunting package to get basic stuff done that every other language has out of the box (that is the rant) - eg fmt package is needed to print. Is this the downside of go or am I missing something fundimental?3
-
I had to import some resources into infrastructure-as-code ( IaC ) for a new project. I found the right tool for the job and started working on it.
But I had a lot of resources to import. I decided to use the API of the source provider and transform them into the configuration format required for the IaC tool.
After spending a good half of a day scripting with a combination of `jq` and `yq` and another bunch of tools, I finally completed the import yesterday.
Today, I had to refer to the documentation of the IaC tool for something else and I found that there was a built-in command for pulling resources from the target to the source ( basically what I did with my script ). 🤦
( I hope my manager doesn't find out that I 'wasted' half a day when I could have completed the job within around an hour )
Lesson learnt the hard way ( again ) : READ THE F**KING MANUAL even if it may seem trivial.
*thought to self* : YTF won't you learn this simple thing after so many incidents? RTFM! -
I really want to know the thought process behind this PMA error simply saying "Failed to import file".
It's bad enough when user-facing software hides error details to seem less threatening, but PMA is literally designed exclusively to be used by technical people, who know how to handle an error message. -
Unicorn Themed day at code club ^_^
``` """ unicorn finder """
from random import randint
class UnicornFinder:
""" UnicornFinder class finds uncorns """
def __init__(self):
pass
def find_unicorn(self):
""" find a unicorn """
unicorn = True
for i in range(0, 31):
if randint(0, 7) != 7:
unicorn = False
break
if unicorn:
print("u200 unicorn found")
else:
print("u404:: unicorn not found")
if __name__ == '__main__':
UnicornFinder().find_unicorn()
```1 -
debugging escalated hard. started with neos, went over Apache and nginx. no more problems there after a clean db import. spent the whole day on this and endet up with the "result", that varnish, this fkn (most of the times helpful) bastard, is the problem. didn't get any results after that. meh.
-
Which Idea was it to combine C, C++ and Java in one big fucking Project. And who thought that it was a Good Idea to use Eclipse C++ for developing with Java. If the whole Project would have been in Java I could have used the auto Import feature from Eclipse, but if Eclipse doesn't Know that the Java Files are Java Files it doesn't fucking work. So I just had to spent a whole fucking Day compiling the Projects with Maven so that I can write around 100 Lines of Import...
And the best Thing is, a few Weeks ago the Imports existed so a fucking asshole just erased them when he tried to optimize these...
Sometimes I hate this company -
Every time you give me a CSV to import, why is it arranged differently to the last one, missing info that is required for the point of the thing I'm importing it into, and I have to spend 2 hours going through it with a text editor and even a hex editor? Your data entry is about as clean as my arse after a particularly spicy burrito.2
-
I imported my phpstorm settings into rider and it started syncing both the IDE's settings to my github settings repository, but it did successfully import all my plugins and theme settings
I know the mix of rider and phpstorm settings might cause issues, but I'm curious as hell as to what chaos it might bring :) -
import React, {Component} from 'react'
class App extends Component {
render() {
return (
<div>
<h1>Hello World!</h1>
</div>
)
}
}
React.render(<App />, document.querySelector("#app")10 -
As hard as I fucking try, my stumbling block, every fucking time is exports/imports. I can't wrap my head around them, at all.
What do you use in browser vs in node?
Whats the *most commonly used standard*?
Whats the difference between "modules.export = Foo;"
vs "exports.Foo = Foo;"
what about
export class Foo? Is that the same as modules.export or export.Foo?
Look at this shit...
import FooComponent from "./Foo";
export default Foo
const Foo = require("./foo")
const Foo = require("./foo.js").Foo
import { Foo } from "./Foo.js";
And probably a dozen others I don't know about.
Why does there have to be so many fucking ways to do a fucking import/export?
What the fuck is going on here?8 -
TFW when you are coding an import for a client and their source data is an inexcusable mess that should be killed with fire. At least thrice.
Seriously, someone should be held responsible for this kind of crap. -
This is my coding fuel of choice. Import carmelbrulle from tea
That tea shop is my coding zone, where is yours?16 -
I have a bunch of numbers and I need to draw a chart. How to do it....hey, I have Excel! So, I'll just select the lines from text file....and copy/paste that to excel...Clickety-click through the import wizard and viola!
"I imported the numbers and set them to dates!"
No. Just numbers. But ok, I'll select to format to "general".
"Ok! You numbers are now 0.33343, 0.939393 etc.!"
No no, I just want the original numbers. Let's delete everything and import again. I'll pre-set the cells to "text" just to be sure...
"Ok! I imported your dates and set the cell format to shit!"
WTF you dumb fuck. Just paste the numbers like I wanted! They are *not* dates...Click-click-click....
"Dates added and the format is your local format that you never set and never wanted!"
<tearing hair from my head> God damn holy fuck.
And every time you go through the same import "wizard" tabs. More like import retard. -
So many great features, that don't get adopted by the web. For example CSS4 "subject of a selector" or ES6 "import/export". What dead features do you miss most?
-
So this lockdown gave me time to think and strategize on how to run my software business more efficiently
Launch the model
3 days later remodel the structure
Launch it
3 days later review
Rectify
Redesign draft a new strategy
Review launch it -
You ever want to keep figuring out a nested loop solution so it executes beautifully, but a deadline forces you to use a cheap solution outside the loop (module import) instead?
-
The best explanation why we need Static Import Libraries to load a dll and wtf they contain
https://cnblogs.com/adylee/p/...
and many interesting stuff about PE file format3 -
I don't know if I'm too frustrated to find a simple solution or if I'm just plain stupid but WHY DOES MY IMAGE LOSE 90% QUALITY WHEN I IMPORT IT TO ANDROID STUDIO???1
-
Has anyone ever used Robolectric for testing their app?
I am unable to import Robolectric classes even after adding robopectric dependency.
Don't know what I'm missing.
Can someone help me out regarding this issue.2 -
Today i'm very happy becose i'v just see the devrant.com web ui is full finished !
And i'v see too the new plan of GitHub.. Soo i'v import 65 private project from BitBucket to GitHub haha2 -
I have a deadline on 16th September. But AmazonWS has decided its not to cooperate. How, seriously, how do I copy my python files onto the stupid ec2 server and import them in the jupyter notebook.......2
-
When you start a data import to a test database on Friday as it will take a few days only to forget later and turn off your PC. Just finished after restarting it Monday.
-
An accountant person is teaching me how to structure some info to import data to the database, I don't know how to tell him that I know how the process should be done, I'm new here I've to respect my partners tough2
-
Maven simplejavamail dependency import, build email, try send it: jakarta.mail.messageexception whatever, not class def found. After some googling: Depends on jakarta-mail. Find jakarta-mail dependency, include it in pom, start again: jakarta.mail.someotherclassexception, no class def found.
Yeah fuck you, too...2 -
First run of an import procedure in the production environment.
Spent all morning with an "Unsupported media type" error.
Finds out that the provided password was wrong and that the Webservice always return that message when there's an error.
Any type of error... -
REEEE why isnt pyautogui installling ??? )=<
i said import pyautuogui then imported time, from time import sleep right? )= it isnt working
the pyautogui is for the gold per second on this rpg game =)
Help pls12 -
When you code during an interview using a coding platform like HackerRank out even on a whiteboard, do you spend time memorizing the actual the import statements?
When I usually code, and I need to use like a Queue, when the IDE asks which to import, all I do is look for java.* rather than an external lib. Or for Date, util.* Not sql.*
After you expected to know the full paths?1 -
This is a TypeScript question, but that shouldn't matter.
Would you use dependency injection to get access to your controllers inside your router files, or would you just import them?2 -
Firebase is a fucking piece of dog shit.
Testing is so bad and complicated to set up, I've spent two days trying to write ONE fucking simple test with an auth middleware via expressjs. Why firebase doesn't mock my dung, you pieces of shit. Even the documentation is all spread out, it's difficult and terrible to follow. I would rather build my own backend because of all the workarounds I have to make because of your limited SHIT product. Even the type libraries are shit, import Timestamp? NOPE. YOU HAVE TO IMPORT FIREBASE TO IMPORT A TIMESTAMP. Learn to define types, shitty google devs. You all suck, thanks for making shitty clients sdk's.
I hope this piece of shit gets deprecated and my clients stops using it.4 -
Fuck JS. I want to import file and it just gives errors. In PHP for few years it never happens. You check if namespace is correct it always imports without problems. Fuck you JS creators. It asks to install a library, but I am not fucking importing a library. I am just importing my own created simple file. Fuck you.
import addCommas from 'formatter';
formatter.js
export default function addCommas(number)
{
console.log('aaa');
return number;
}
idiotism.13 -
Did a backup.
Did a bulk import to a service (netbox, great tool for network documentation by the way).
Fucked it up.
Back to backup.
Fixed bug.
Fucking gerbils on ecstasy (devs) annoying the fuck out of me.
Lobotomizing meetings.
Yuck coffee. Cold, stale and over extracted.
Gerbils planning a mutiny. Killed them with a big cheese wheel (lots of stupid boring tasks as they seem to be completely missing stuff to do).
Deleted backup.
Redid import.
Small typo.
Find the mistake...
I just love it when a small task becomes a huge fuckup due to too many disturbances.
Luckily SQL UPDATE went well....
Nothing's more fun than to patch a live database.
Yeah. I didn't wanna do a new backup. :)
The "I don't give a crap mood" is sometimes a great way to accelerate tasks... -
How do you import twitter sdk on android studio without fabric. It gives me error every time. I followed the official documentation of twitter nut couldn't resolve it
-
$ python
>>> from package import app, db
Traceback:
ImportError: cannot import name db
WHY THE FUCK NOT YOU FUCKING CRETIN. JUST IMPORT THE MOTHERTRUCKING DATABASE SO I CAN IMPORT THE SHITTING MODELS, CREATE A TEST ACCOUNT THEN TELL THE CLIENT THAT IM ALMOST THERE DESPITE BEING THREE DUCKING WEEKS BEHIND MOTHERCUKING SCHEDULE.
AAAAAAAAAAAAAARGHH.1 -
[Prestashop question / rant]
Yes, it's not StackOverflow here, neither is it prestashop support forum - but I trust u people most :)
Proper solution for working with big(?) import of products from XML (2,5MB, ~8600 items) to MySQL(InnoDB) within prestashop backoffice module (OR standalone cronjob)
"solutions" I read about so far:
- Up php's max execution time/max memory limit to infinity and hope it's enough
- Run import as a cronjob
- Use MySQL XML parsing procedure and just supply raw xml file to it
- Convert to CSV and use prestashop import functionality (most unreliable so far)
- Instead of using ObjectModel, assemble raw sql queries for chunks of items
- Buy a pre-made module to just handle import (meh)
Maybe an expert on the topic could recommend something?3 -
I know the video editing software LightWorks has its aficionados. I can see how it's powerful. I've been using it since at least version 12. But my gosh how it screws people over. In the latest version, when you import files into a project and then want to delete _just the reference_ to the files in the project, LightWorks says "Nope, imma delete the FILE, too!" So you can never just start over with an import. When you import a bunch of still photos in one shot, no matter how many, it imports them all as an unwatchably fast 1 second video sequence instead of as an individual file. Like...what? And they've dumbed down the interface so much that there's no toolbar. You have to right-click poke at everything to try to find where stuff is. And right clicking is NON-EXISTENT on a Mac. I had to use a pen tablet to achieve it. I'm too cheap to buy Adobe Premiere for the few times I have to edit video in a year, so I guess it's just ShotCut on Windows for the rest of my life.2
-
conversation wth a progrmmr
Bab : hey hun when is your Birthday?
Jerk_Guy : import datetime
now = datetime.datetime.now()
now + datetime.timedelta(days=88)1 -
I was told that there was going to be sleep.
import time
print("Sleeping for 8 hours straight")
time.sleep(8*3600)
print("Waking up") -
I just tried to import the 'requests' module without it being installed. I genuinely thought it was part of the standard library 🤦♂️3
-
I am trying to decompose a 3D matrix using python library scikit-tensor. I managed to decompose my Tensor (with dimensions 100x50x5) into three matrices. My question is how can I compose the initial matrix again using the decomposed matrix produced with Tensor factorization? I want to check if the decomposition has any meaning. My code is the following:
import logging
from scipy.io.matlab import loadmat
from sktensor import dtensor, cp_als
import numpy as np
//Set logging to DEBUG to see CP-ALS information
logging.basicConfig(level=logging.DEBUG)
T = np.ones((400, 50))
T = dtensor(T)
P, fit, itr, exectimes = cp_als(T, 10, init='random')
// how can I re-compose the Matrix T? TA = np.dot(P.U[0], P.U[1].T)
I am using the canonical decomposition as provided from the scikit-tensor library function cp_als. Also what is the expected dimensionality of the decomposed matrices.1 -
Hello chat, its been a long week with no progress, i have four problems right now.
1 node js repl cant recognize <> in js, and i cant find a fix for that anywhere on the internet, is there a way to convert html tags in js to smooth brackets code?
2 node js repl dosnt recognize codes like import react from react, and i have to do an async function load, and i dont know y or how to fix it.
3 i dont know how to write import exg.csv into an async function load, its usually something like “import react from react” to “async function load(){let react=await import (‘react’);}”, and i dont know how to do this.
4 i tried to install materials.ui using npm into a folder called materialsui in modules in node, it deleted all the other modules in module folder, installed, and then left the materialsui folder empty. I complained and i dont know how to get it to not do that.
5 how do i fix out of memory errors?8 -
Can anyone suggest a good opensource or free app for dependency mapping?
I have a large monolithic django application with lot of apps and I want to study each app's imports and dependency. This also can help me remove cyclic dependencies.8 -
Coming from a PHP, JS and Flutter developer:
I want to start building more websites entirely with Js frameworks. The less the better. Needs to import json data, perform ajax requests etc.
Can't decide, do I learn Vue or Svelte?6 -
Fuck you google. Fuck you and your "you can only use my shit everywhere and if you have another account you can suck it's cock, but I'm not gonna accomodate it" attitude.
I can't even import my outlook contacts into the "google" contacts app, which is the only contacts app on my phone.
You actually mean that I gotta export my outlook contacts physically and then import them into your ass-tarded contacts platform to see even see them, let alone call them up?
Fuck. You.
Can someone please suggest alternatives/work arounds?5 -
when i found out on how to import modules instantly being able to deploy bugfixes and changes to multiple macro-dependent documents without copy-pasting the code to every single file manually.
-
I have installed PyAudio but whenever i try to import it, it throws an error called "no module named PyAudio".
I have also googled abt it but didn't find any useful answers. Anybody have solution for this...4 -
Does anybody how to export Virtualbox Linked Clones and import them on a different machine withlut error?
With brute copy & paste, the linked clones can not be started on the ither machine.
I know that I can export the Appliance as an .ovf file, but this does not save snapshots of the machines. -
Sound off below - I need recs for a good cloud compute service that gives me VMDK (or similar) golden image import and complete control over network topology, other than AWS, Azure, GCP or DO. Linode is also preferably off the table unless someone has a good reason for them (they are very privacy invasive).
What do you recommend?2 -
since we have go mod I believe that if you are doing microservices or fracturing a monolith app into microservices for that matter, you rather have a monorepo. I'm finding really useful to do `import ("backend/monolith" "backend/notify")` and such than sharing protobuf files by copying with some Makefile target.
-
Help. Has Python changed in version 3.6.5, or is there something wrong with my code?!
The following doesn't work:
import os
def main():
console = input("...")
rom = input("...")
The following does work:
import os
console = input("...")
rom = input("...")
def main() :12 -
eel doesn't compile, kivy won't open a window and pydroid3 won't import pyzbar. so much for a nice coding night.
-
Can someone please help me with my code below
import socket
s = socket.socket(socket.AF_INET, socket SOCK_STREAM)
s.bind((socket.gethostname(), 6139))
s.listen(5)
while True:
clientsocket, address = s but if I enter . It crashes can someone please help me
Ps this is on Python3IDE1 -
I have been facing a weird error which is that I cannot import firebase, I tried compat, re-installing, etc.
If you know about it, please help me...
import firebase from 'firebase';
//import * as firebase from 'firebase/app';
//import firebase from 'firebase/app';
all of above does not work
the error is Module not found: Can't resolve 'firebase'
my firebase version is 9.1.26 -
Started using Brave browser coz my bf wouldn’t shut up about it. Consumes much less memory than both chrome and firefox which is cool. Still haven’t figured out the in-built vpn yet. Cool i can import data from my firefox like my bookmarks and shit and I understand why I can’t import my saved passwords but damn i wish i could. I don’t know my passwords to anything anymore thanks to browsers beautifully saving my passwords and i am just frustrated having to go and copy passwords. This relationship with brave is clearly not going to last coz wtf3
-
Any good recommendations on how to gather user metrics/instrumentation and visualize data?
The program is a WPF application with not internet connection so logging to file and get file is probably the only solution.
I've played a little with Serilog to file and trying to import the log into elastic search and visualize data with Kibana. -
To all Python devs: if you want to use curly braces like in C-like languages use this import statement:
from __future__ import braces
Thank me later :D1 -
After working with ReasonML/Bucklescript for nearly half a year, it is very hard to go back to plain js even with flowtype.
I feel paced by the language AND especially by untyped libraries which makes everything I import a fucking any type, gaaaaaah! -
Does someone know how to set up plugins for airflow?
In particular do you know how I set the PYTHONPATH env var for the docker container to Import my custom airflow plugin?