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 - "convert"
-
*In a team meeting*
Me: *happily jotting down notes in markdown*
Other guy: "Dude what are you doing? Pay attention."
Me: "Umm... I'm taking notes?"
Other guy: "But why does your MS Word have black background?"
Me (a bit lost): "Umm... That's not Word. That's my text editor."
Other guy: "Alright... But how do you convert your notes into Word then?"
Me: "... I don't."
Other guy: *stares at me*
Me: * stare back*
It was a nice conversation.12 -
Yo mama's so fat that if she sat on a binary tree she will convert it into a linked list in O(1) time5
-
Linux is awesome. In runs on my fridge (Tizen), my TV (Tizen), my phone (Android), my watch (Android Wear), My PC (Ubuntu) and my laptop (Kali). I'm now trying to force my parents to convert to Linux.24
-
Spent two goddamn hours writing a Python script to convert exported JSON from Trello to an Excel sheet, only to find a Chrome extension that already does it, and better. 😧3
-
And finally its setup... Working well with four.. hopefully would convert it to 1x4 instead of 2x2....22
-
Someone: how do I convert cute girls to .gf format ?
Me : Sorry, this feature is not available in the beta version7 -
manager: "you wrote all your code in java, but i really prefer reading scala 😔"
me: *uses intellij to convert all my java to scala in two seconds*6 -
I just had to completely uninstall and reinstall Visual Studio enterprise because I wanted to convert from trial user to subscribed user.2
-
My dad came with a windows laptop and asked me to convert a lot of jpg files to pdf on a usb stick (wtf?) he showed to me a tool on the laptop that convert files one by one ... and there is 58 jpg file.
Soooo I unpluged the usb key and pluged it into my linux laptop and ...
for f in *.JPG; do convert "$f" "pdf/$(basename "$f" .JPG).pdf"; done
My dad could not believe I had finished in 5 minutes
Linux Powaaaa !17 -
Boss:(pastes a bunch of Python code in Slack)
Boss: Need to convert a long list of ints to a comma separated string. Can you finish it for me? Need it now, I'm in a hurry!!
Me : (Delete all boss's code)
Me : input=[1,2,3,4,5,6,....] output=",".join(str(e) for e in input)
Boss: Damn you! Thanks. Brunch on me today.5 -
"Programmers are persons that convert caffeine into code". Every time i see this quote, i ask myself: Am i the only one? (non-coffee drinking programmer)30
-
My new phone will probs arrive tomorrow and me and mates are going on a vacation to Germany next week.
Currently using nearly all bandwidth/ram of one of my dedicated servers to download maps for offline use (OpenStreetMaps) and convert them to formats OsmAnd can use.
No need for google maps ❤️59 -
After ten months of unemployment, got a call from someone who had taken a class I had taught, and he asked if I was available for a position. I said yes, and got the job without an interview on a one year contract. Three months in, I got an offer to convert to permanent. I've been there 14 years now.3
-
If I had a dollar every time a non software engineer used the word "just" in a sentence...
"Just" convert this Matlab code to C++
"Just" make it faster
"Just" have it done in a week8 -
Drop ur file here to convert it to another file type
10 mins later after conversion
99%
"Sorry but u can't convert ur file cause u got an adblocker enabled pls disable it and try again"
Have u guys ever whipped ur dick out and smacked the monitor with ur dick with hope that ur dick smack will transmit the smack into the website across their face9 -
Wtf Microsoft...
Found out the hard way that copying a line of code from Teams chat will sometimes convert the spaces into unrecognized ASCII char.
Spent a few hours yesterday to fix the bad chars.
🤡👍16 -
Halfway through a timed midterm (no computers or calculators):
Convert this 5-digit decimal number to binary
Convert this 10-digit decimal number to binary
Convert this 20-digit decimal number to binary
Convert this even longer decimal number to binary11 -
"Type mismatch : cannot convert from Root<MyClassType> to Root<MyClassType>"
Ok Eclipse, I'm gonna make some coffee for you too.4 -
A guy wanted me to convert his Unity project from Android to ios.
He was offering less than 50$....
It dosent end here....
He sent me the files in a zip on Google Drive.....
Also the project size was around 3 gb......
😢😢2 -
In a programming contest, I forgot how to round numbers in Java, an I needed a 3 number rounding, so I multiplied the number by 1000, then sum 0.5 and convert it to integer so the decimal part would be gone, finally, just print the number except the 3 last digits as a string, put a period and print the other 3 digits.
I must say I'm not proud of that.5 -
Loading bar day.
100GB project.
- Get the project from source control
- Open project in unity3D and convert assets.
- Switch target platform.
- Press Compile button.
- Install on target hardware.
Going home.12 -
Me: I have an input stream!
Library: I want a file.
Me: I can see your code, you will convert it to an input stream! Don't any of your constructors take an input stream?
Library: No. I want a file. Okay, you can also include an encoding.
Me: I don't care about encoding.
Library: Fine, just give me the file then.
Me: You mean I have to somehow convert my input stream into an actual file so I can give it to you?
Library: You're gradually catching on, yes.
Me: Can I add a new constructor myself that takes an input stream?
Library: Sure! Good luck in getting it approved by the maintainers and the new jar distributed everywhere, including Maven Central before your deadline.
Me: Fine, I'll just rearchitect everything so I can give you an actual file.
Library: And then everything will be fine.
Me:3 -
My brother made a PC game for his game dev class.
You are a hamster with a hammer
- acorns drop and u crack them for points
- you have to avoid rolling logs and eagles that swoop down
- the game gets faster
Dad: I just played the game, I think it has potential like Angry Birds, can you convert it to Android?
Me: no and no
Dad: why and why?
Me: **facepalm and takes a deep breath**
Explains why very simply and that I'm not a game dev... And if he thinks it's that good, go pay for a freelancer...6 -
When half your team uses spaces and the other half tabs... Thank god IDE can convert tabs automatically now but now we are arguing if we should use 2 or 4 spaces. It never ends...34
-
So my local job center had me convert my LaTeX CV into Word format, as apparently PDF is to techy for them.5
-
My devGoals for 2018:
- Build a RESTful API with NodeJS just for learning.
- Finish my first product (electronics sideproject).
- Convert more people to use CraftCMS or at least not use Joomla or WP.
- Get a raise.
- Add Continuous Integration to more projects.
- Add more unit testing where appropriate.
- Create and release a mobile app.
To be continued...
*playing to be continued meme sound*9 -
Fucking hell, that's now the fourth time in a row that I see my clients getting ripped a second asshole by previous developers, this one charged 1500$ for a "python script" that only calls ffmpeg with couple args, claiming tons of shit like the video being e.g. better quality after conversion - even though all it does, is a straight convert from one format to another. (no filters, anything, just a convert) I feel always so terribly bad discovering that shit and them proudly telling me about the "solution" they invested in..4
-
How do i save a Word document?
How do i convert it to a pdf?
What is a pdf at all?
How to put all those things on a usb?
Why is this Pc not working?
I should start to charge by Minute...8 -
Real story at a screening interview:
Me(interviewer): how do you convert a string into a number in Javascript?
Candidate: what do you mean?
Me: (writes "123" -> 123 on paper) How do you convert "123" to 123 in JS?
Candidate: (starts writing program on paper)
str.replace(/\"/g, '"")
mind==blown!!12 -
Boss:"Build templates that convert our 1000+ pages built for desktop, into responsive ones that work on large screen and phones. "
Finished...Run the company's code scanner and it reports violations of development rules (which was expected)
I go to request exemptions....
"Oh, no you can't use JavaScript or CSS that uses position." -
Are there any other developers out there who find that people judge their skills based on the color scheme they use in an editor?
I started programming with software that only offered one color scheme and have never felt the need to move away from it since I'm used to it.
While I'm sitting in the office, co-workers often come up to me, take one look at the fact I'm using a light color scheme and feel the need to try and convert me to the dark side as if that will make me a better developer.
Does anybody else experience this?26 -
The new figma plugins are actually insane lol, some examples:
- font scale, always struggled with having to apply the formula myself or finding the right one so it scales nicely
- image tracer, that plugin replaces adobe illustrator for me, since I only used it to convert pixels to vector images
- removebg, 99% of what I pulled photoshop up for
still have to test them some more, but so far it literally replaces all that adobe crap for me.
https://figma.com/c/plugin/...
https://figma.com/c/plugin/...
https://figma.com/c/plugin/...6 -
Today I made like the dirtiest hack I ever made. I needed to convert people's birthdate into days (starting from 0), and then had to find out the oldest person. It didn't work, because the output was the youngest person... So instead fixing the mistakes in my code, I simply made the value be negative ¯\_(ツ)_/¯2
-
"We're going to need to migrate our database and reformat it so it works with the new app."
Translation: we've been using Excel up until this point and need you to convert it to SQL. Oh god, people.2 -
Pro tip: never try to convert the date (formatted as "yyMMddHHmm") in an int32.
It will stop working in 2022. 😉
I just found out I accidentally invented the "2022 bug" two years ago.11 -
Currently trying to convert a python application to PHP because the learning curve of python is a little too high right now for me.
It's especially a challenge to find PHP functions/libraries which can do the same as some python ones.
I've never written a single thing in python, this is a very weird experience!17 -
So this is my homework, I have to convert Hexadecimal to Text! And I can also convert the Hexadecimal to Binary!! I LOVE THIS STUFF6
-
I replaced a python/mysql daily process that takes 25 minutes to run with a perl/redis process that takes 1 minute to run, so it runs multiple times a day. Mgmt asks me to convert it to python/mysql, "...but keep the run time at one minute. That's great!"
No.4 -
Web Developer with no common sense: “I’m going to query the currency calculator API for each of the 1000 records to convert.”.
Web Developer with common sense: “I’m going to query the currency rates API and use the calculation to convert each of the 1000 records.”6 -
PM: Oh, i got news about project xyz.
Me: Oh good, are we finally dropping support for that shity legacy system?
PM: No you gotta make a copy of it and convert all the currency symbols and add a bunch of new features, we selling it to a new client.2 -
Worst job I had as a developer:
Convert all Python2.7 code the team wrote for the last 5 years to Python3 alone.9 -
I’m doing my friend website css, not only it’s hard but I spend like 1 hour trying to figure out why I could use png image but jpg image couldn’t show up. Then I just convert the jpg to png. Not sure if this gonna affect the site on the future
I hope not6 -
Hey are you atheist? Looking for answers? Say no more I got the religion for you. Convert to stackoverFlow and you will always have an answer in your dark times.3
-
Working with a delivery ordering API. Response:
Shipping label type: PDF
Label: base64encoded string
I was like, that's easy, literally two lines of code. Proceeds to convert and save the file. Then on open, bam! Format ubreadable. What the actual fuck?! Found an online converter, and tried to convert it to pdf, to see if I was missing something, but the results was the same.
Then checked the decoded string. First 3 characters: GIF
Well fuck you too! This carrier uses GIF's for it's shipping labels for 2years at least, how hard is it to change that in your fucking api response, you pice of shitbag.2 -
dammit. I fucking hate it when I get stuck because of low level computing concepts and there is no explanation on Google.
like.. I understand the difference between an int and a float, but no one ever explains how you convert 32bit signed vectors to floats. or how bgra and rgba differ. or how to composite two images on a GPU. etc. the internet is great and all, but fuck, sometimes it seems as everyone is just as dumb as I am.4 -
In C++ we don't say "Missing asterisk" we say "error C2664: 'void std::vector<block,std::alocator<_Ty> >::push_back(const block &)': cannot convert argument 1 from 'std::_Vector_iterator<std::_Vector_val<std::_Simple_types<block> > >' to 'block &&'" and i think that's beautiful
(not mine, source: https://goo.gl/Akxjih)4 -
Do you ever spend an hour editing an email reply to a client before you send it? Trying something akin to alchemy when you attempt to convert snark, veiled contempt, and shock at how stupid the client is into something professional and polite? It’s like trying to bottle farts as fancy perfume.
Like the first draft is:
“Dear idiot,
Please disconnect your computer from the wall and return it to where you bought it from and then never use a computer again you dopey fuck.”
To
“Dear Client,
Yes sir. I’ll have it done for you by tomorrow.”
God it hurts.4 -
While working on my one of the first project in java i ended up using deprecated Calendar API for the date. Since deadline was near i thought it would be a good idea to use the JCalendar API for as date picker (which is a third party API).BAD IDEA. It was the night before the submission round about 11pm when i realized that there is no way to convert JCal object into Calendar and it turned out it is not working as expected you have to subtract a particular number from the year to get date right.
To convert JCal into Calendar i used the toString function to get the date in string sliced it using substring into year,month,day then had to assign date to Calendar object via constructor.
Had to write 70 lines of code just to convert JCal into Calendar...
And then there were other complications related to this problem. Had tu pull an all nighter just to solve date related problems
LESSONS LEARNED :
NEVER USE A DEPRECATED API
NEVER USE THIRD PARTY APIs WITHOUT RESEARCH7 -
Someone wrote a website that will convert cm^3 to mL for you. How useful!
Their JavaScript is, unfortunately, less than optimal for such a task however.4 -
Teacher to student: convert this active voice into passive voice: “I made a mistake”.
Student: “I was made by mistake”1 -
I asked a junior dev to convert y axis value to dollars and render the same on a chart. This is what he does.9
-
Countries in UTC region have a relative advantage in debugging, as they don't have to add offset to datetime in logs,database etc to convert to localtime😂6
-
Java: Cannot convert int to Boolean.
Me: Wait what?.. Ohhh *cries*
I've had too much Vitamin C / C++..
Not used to computer liking me and not letting me shot my head of.. I love you too, Java ..3 -
So.. years of experience. Dozens of projects. Been through several companies, budiness trips.
Googling: how to convert JSON string to a dictionary16 -
Client have this amazing idea about a website that they wanted to convert into reality by using our service. Me and my friend started working on it.
After a month later when it's almost ready, they informed they are not investing into the idea anymore. They would like to discard the project and will pay half of it.
I am eventually realising why signing a contract is really important4 -
Needed to convert a collection of .avi videos to .mp4. Online converters only allow 1-2 videos at a time, with slow uploads, so no option.
Can't find a program that quickly fulfills my needs. Interesting ... 🤔
Look for python and a quick and dirty solution, ffmpeg and subprocess it shall be then.
Install ffmpeg, run subprocess with ffmpeg, put it inside a for loop, iterate over all videos with their respective number. Done.
3 lines of code, saved some time.
It's great to be a developer (sometimes).😏16 -
Uggg..... I'm trying to encode a binary file in Python which may be an image or may be an executable, and then decode it back into a file (I plan on editing it in the middle, but baby steps for now..) but nothing is working!!
My plan is to:
Open binary file.
Decode as base64, or something else that could easily handle binary.
Convert byte data to string (for editory perpousos - I won't be editing bytes, I'll be doing custom encoding but that's irrelevant for this test)
Convert back to a byte string/array (with .encode(), probably)
Write to file.
I do this, yet the output has been altered... Though I haven't touched anything..
It's so enfuriating.. x.x18 -
I was working on a project lately where I needed to convert an array of bits (1s and 0s) to floating numbers.
It is quite straightforward how to convert an array of bits to the simple integer (i.e. [101] = 5). But what about the numbers like `3.1415` (𝝿) or `9.109 × 10⁻³¹` (the mass of the electron in kg)?
I've explored this question a bit and came up with a diagram that explains how the float numbers are actually stored.
There is also an interactive version of this diagram available here https://trekhleb.dev/blog/2021/....
Feel free to experiment with it and play around with setting the bits on and off and see how it influences the final result.13 -
[Typical dump Client]
After finishing an Android app, the app was amazing and the client is happy.
Client: I think we should write iOS version.
Me: ok, but this will take a time to code in different language with those native features..
Client: Can we just "convert" it to iOS, it should be easy no?4 -
I used to prefer, think, and code in loops rather recursion.
Now though somehow it's the other way around...
And I have to assure myself why a piece of code I wrote won't cause a Stack overflow... and that if I really had to I could convert it back to a loop.
Haven't done it though for a awhile tho...7 -
Hi android devs!
How can I record a double[] or byte[] into a pcm in order to convert it to a wav file?
My life depends on this one 😬13 -
!$rant
So I'm getting closer to finishing my devrant-widget project but ran into an issue because some people use emojis in their about, skills, website, etc *cough @alice.. cough* and well.. it creates internal server errors because emojis dont magically convert themselves xD But I think I found a fix. On to the next bug.8 -
Teaching new devs, hired straight from India.
This is today.
Bug1: We have four lists, each item in these lists has a variable called "Charge". This var is a double and we need to convert it to currency.
Dev creates fifth list called "All lists" and converted it's charge to currency then questioned why it didn't work.
I explained, his solution? Convert each list into currency.
I explained that's wrong and told him what he needed to do. He did List1:Charge into currency, but left his other conversion in place just in case.
I walked him through fixing it which took 10 times as long as necessary, only to find out he randomly converted four booleans into currency for no reason.
Bug2: we take integer, convert to string and concat "Months" on the end.
Doesn't work for him, tells me he doesn't know why.
I told him that he's not outputting the variable that we did it to, he is instead outputting a custom variable he made and didn't do anything to.
Bug 3: followup to #2, he fixed it as I instructed, but then added months as static text to the output so now it reads "Months months".
Bug 4: to make his code cleaner, he presses enter in the text box. Unfortunately he did that IN A STRING so his output is full of random /r/n
How do you guys deal with coworkers like this? He isn't new, this is supposed to be an experienced developer. Im only in my 2nd year23 -
The fact that I have to convert a 90s-ish design into a WordPress theme despite the boss trying to convince our client that WP's shit and we should do it in something else doesn't tilt me as much as it should.
But what DOES tilt me and piss me off is the fact that the shitheads told us to 'make the design better', and so I tried; I made one of their graphics responsive by only designing it with CSS (and for once, I even made it work right) because they wanted a mobile-friendly version but failed to supply a mobile-version PSD so I had to improvise and they had the balls to tell my boss that they're 'disappointed that we failed to follow the guidelines'.
Did you bitchsicles even bother to hire a proper fucking designer who would know how to fucking design a PSD to convert into HTML? There's no fucking grid, the design's all over the fucking place like your mother after a Viagra-fueled Friday night bukakke party at an old home and the colors are an eyesore like your own fucking selves if you ever bothered looking in the fucking mirror. Fuck you all to hell.1 -
I Googled "png to svg converter", this is the output of the first online tool I tried.
This dev literally just a base64 encoded copy of my origin image wrapped in an svg... the most infuriating thing about it is that technically it did 'convert' it to svg - just not in the way I had anticipated.
Whoever wrote this is a lazy genius (and a dickhead).8 -
"/path/to/my/file.swift:143:34: error: cannot convert return expression of type 'String.SubSequence' (aka 'Substring') to return type 'String'"
Ah yes, I love it when Substring isn't String5 -
Short one, but it really gets me every time:
PLEASE tell me that I am not the only one typing hex-numbers in all caps!!!
I literally can't stand to see them in lowercase!!!
Every code I use with hex numbers in it (primarily ASM and C) I HAVE TO convert them into uppercase!!!
Is it just me and my stupid OCD or are there other ones like me????10 -
This.
Not the worst but almost all of us (including me) handle strings like fucking morons.
If the input doesn't need to be an exact match we use a explicit comparison operator, when the input should explicitly match we do a loose comparison operator.
I'll format the crap out of a number, convert it, validate decimal places, check for float rounding hell, give it a absolute value and return it correctly formatted for the users locale but half the time I forget to trim their input. 🤦♂
Like I said - just a tad fucking moronic isn't it?3 -
Hi devs!
I've seeked the world but found no answer to this:
I want an android code to convert double[] to a sound file and be able to get that double[] from the file.
And yes I've tried stdAudio library but it did not work as I expected.
Give a replay, save my life 😁5 -
Why does MySql least and greatest functions return null if any of the arguments are null? Who was the genius behind the idea that it's the best way to implement it, and to change this behavior in a minor version?
Why does MySql return bigint when i convert a value to integer?
Why does MySql exist?17 -
The senior dev in my team wants me to convert all the lambda expressions I have written to anonymous inner classes. He says it will increase the code readability.
IT IS NOT MY FAULT THAT YOU CAN'T READ LAMDA EXPRESSIONS!!!!
It's like the dev has something against the new features of Java87 -
Person: I am a developer. Give me coffee and I will convert it to code.
Me: What have you ever developed?
Preson: 😮. Well I can print hello world in 6 languages!
Me: 😕,You can show yourself out. -
Don't you just hate filling a sign-up form which is validated to such an extent that it even requires everything to be entered in capitals. UGH! JUST CONVERT TO CAPS IN YOUR BACKEND FOR GODS SAKE!!!1
-
I hate stupid DirectX .x files!!!!
I can't even find a simple camera mesh and I can't use other formats for this shitty project. No forking 3d model editor/converter works properly to convert other formats to it either, and those programs look like gray dogshit too. 😠2 -
So today I saw someone using that retard units and I get a little bit frustrated. Then a side project idea popped out; a website called something like retard units to non-retarded units. It would simply convert between units and have a clear message that suggests stop using any retard units. Then I hit google to check if similar website exists and boom! I found this:
https://tononretard.com/
ITS SO FUCKING BEAUTIFUL. Also it has a feature that blocks you from converting metric units to retard units. A wonderful masterpiece!6 -
FUCK! The fucking previous dev on this project who set up the fucking web service that he knew would be shared among multiple platforms set it up to use an audio format that's only supported on one platform. Now I'm faced with either doing some fucking JS black magic to decode the fucking base64 audio, convert it to another audio format, and then possibly re-encode it or attempting to re-write the fucking web service and already in production app! Fucking hell!1
-
How many times do I need to tell you, markdown does not convert a single linebreak to a new paragraph.
STOP WRITING LINES THAT ARE MORE THAN 300 CHARACTERS LONG IN A MARKDOWN FILE HOW THE FUCK AM I SUPPOSED TO REVIEW THAT.9 -
Working on a compiler which Convert JavaScript Code to Purescript Code Which Complie back to JavaScript.
I don't understand this decision of my Manager8 -
My goal in life as an android man: convert every single person I can from Samsung or iPhone to either pixel or Nexus
Converted 3 so far and they all say they won't go back to modifed Android or iOS :-D14 -
A friend just asked me if I can convert a pdf to an image file.
Me: yes sure (easier to do than to ask why)
Me: What format do you want it in JPG or PNG?
Friend: yes
Me: ...
Sometimes it's easier to just do it than to start asking and teaching people how to use computers...3 -
When I first started my current job, 2.5 years ago, I helped write the class that told the machine how to dispense and deposit money.
When the other programmer left, I decided to refactor that section. I wrote a new class that told the machine how to dispense and deposit money.
We are integrating new hardware that has a very different protocol of communication. I am making a library that will convert universal commands into vendor specific function calls. I am writing a new library that tells the machine how to dispense and deposit money.3 -
!rant
I'm a Windows slowly trying to convert to Linux (except for stuff that you need Windows for, obviously).
Being relatively new to desktop Linux, which distribution do you recommend with which desktop environment?*
Any tips for newbies? :)
*I'm aware that this could end up in a fight that divides devRant :P19 -
Asking Android Studio to convert your layouts to ConstraintLayout is the equivalent of asking a two legged horse to do your laundry.2
-
So in my class the teacher wanted us to write a little program (not going into further details) and therefore we needed to convert chars from a string to integers.
My classmates are starting like:
if (c = '0')
return 0;
else if (.....
And so on. I was just like duuuuuh wtf are u doing? I was actually screaming when I had a look at my neighbours screen.
I personally am like "return c - 48;"15 -
That awkward moment when you convert JS functionality into pure HTML CSS just to find out it's not working on IE.1
-
Not being able to directly read in inputs as any data type rather than string and thus having to convert it and check for Exceptions if users enter bullshit4
-
This was last year. "Guys, guys, we need to convert everything to ES6." Our mainly users were elderly people with old devices. So we did. Many resigned shortly.6
-
Convert images to ASCII pictures in PowerShell
https://github.com/off-world/...
sharing my latest side project here as I thought some of you guys maybe will like it.1 -
Additional information: Cannot implicitly convert type 'void' to 'object' <- when you've been playing Ascension so much, you are asking yourself what kind of hero you need to convert it to 'object'... FML, my brain has farts..4
-
Not fun, exactly, but trying to convert a Wordpress site into GatsbyJS to speed up the godawful site of an organization I just joined.2
-
Currently working on thesis:
Me:(Using iText to convert PDF Files to String)
Groupmate: I think the conversion makes our program slower.
M: Fine, I'll search for other libraries
M:(Finds Apache PDF Box and another open source PDF Util)
M:(Tests using nanotime then converted to seconds)
PDFBox: 24.3464 seconds
PDFUtil : 20.8365 seconds
iText : 7.937 seconds
://///// -
Get a DateTime. Convert to a string. Convert back to a DateTime. Use that DateTime to build a string.
WHY.
(it's red because I refactored it; snipped copied from our version control)3 -
FUCKING SANGOMA WTF???????
You buy FreePBX and then convert great modules from OPEN SOURCE to Commercial.... I get it. Developers need to eat. But I've reviewed the new features and you aren't adding value. Just hiding precious standards behind a pay wall.
FUCK IT. I'LL CODE THIS SHIT MYSELF.1 -
I once wrote a php function to convert newline in a textarea to br, never knew of the pre-built nl2br function!!
-
Fuck c++
Everytime I have to use this fucking language it spits up some other bullshit error
`cannot convert std::vector<int>() to std::vector<int>&`
WHY THE FUCK ARE STACK ALLOCATED VALUES EVEN THEIR OWN TYPES
AND WHY CANT I TAKE A GOD DAMN REFERENCE TO IT
JUST WHYYYYY29 -
Our team had a brilliant engineer, he made a tool that would convert IBM Assembler code to C, comments included. the comments are the assembler code. bleh
-
I propose the brand new, AI-powered debugger.
When your program returns an error, like this one:
“x is undefined”,
…you convert it to SpongeBob case and add a clown emoji, like this:
“x iS uNdEfInEd 🤡”
and the program fixes itself and apologizes.1 -
here i go again, trying to convert my entire backend infrastructure to docker images on a sunday
FML
🤡11 -
Very important lesson I learned while working with Xcode:
Always have multiple major versions installed and ready to be used.
Xcode 9 can't convert old Swift 2.2 project to Swift 4 and can't open the "old" project? Xcode 7 can help you.
Xcode 9 crashes randomly while moving top level packages? Xcode 8 can help you.
Yeah, always funny to find new bugs in Xcode...4 -
I get this compliment when I just started to learn C# and wrote a class to convert DB time zone on azure windows and Linux app services.
“Wow, didn’t know you can convert nullable datetimeoffset this way, I’m going to use this class in rest of our Projects. “
It really boost my mood for weeks.1 -
Number of lines on ONE of the javascript files in the project I'm tasked to convert to a modern, modular, component-based web app: 3022.
There are 6 of these.11 -
A programme I have to maintain (and not allowed to optimise or change):
1) read input from serial connection
2) store data in MySQL database
3) every day convert to CSV
4) store on Windows file share
5) process CSV in access 2000
6) store in MsSQL database
When it was first developed, I said to te developer to store it straight from serial to MsSQL but out boss wanted it to follow the above spec.
He has now left and I have to maintain it1 -
So I kinda started a project just a week or two ago, essentially a CSV to spreadsheet converter that could also do formatting, so you wouldn't have to do all the formatting after you convert it to a spreadsheet. But now I just kinda think that it's not a very good idea and I'd just be wasting my time with it.
I was in the middle of looking through some of the source for LibreOffice to kinda understand how the files are converted and everything. But now I think I would be using my time better doing something else. Oh well.2 -
Simple but useful..
Wrote a greasemonkey script to convert url text to hyperlinks..
Reduced lots of time in finding the log url from the error response..
Helping me in debugging faster.. -
"Hey I know we're doing Agile but, just real fast for some paperwork, I just need a quick estimate, nothing complicated, of the LOC to convert our decades-old millions-of-LOC project from 32-bit to 64-bit, just real fast like whatever you can come up with in 30 minutes"2
-
Rust ahahaah hhaahah ahah
the trait bound `std::result::Result<std::string::String, std::io::Error>: std::convert::AsRef<[u8]>` is not satisfied
the trait `std::convert::AsRef<[u8]>` is not implemented for `std::result::Result<std::string::String, std::io::Error>`16 -
Senior argue with me that Java can’t do serial programming, I prove to him by read the hardware protocol in HEX , and convert to ASCII using Java. He said the F word to me , I was like “他是什麼意思啊?”8
-
When you’re trying to write a function to convert a base 10 integer to a base 2 integer in Javascript without using parseInt() and it takes you a while to realize that you’re used to integer division being integer division and have forgotten that JavaScript stores numbers as double precision floating point. *facepalm*1
-
I hate this line with my soul.
The fact that I need to convert a dict to a string and then invoke the python parser to read it, feels so wrong!8 -
Unicode's biggest problem is that it isn't a streamable format. Given a section of a Unicode string, it's impossible to assert that the next character won't be an accent or zwj or other modifier. This means that it's impossible to convert stdin into an iterator over canonicalized Unicode graphemes.12
-
When I forgot how everything works in c#.
Example:
var animalKey = 1;
Then I realize I needed it to be string.. and I couldn't figure out how to convert an int to a string... But all I needed was
var animalKey = "1";
I kicked myself pretty hard2 -
I said to myself, that I'll make an easy tool to convert Imperial units to Metric...
It'll be more confusing for the end user than I thought.1 -
I spent hours trying to support \n, \r and \r\n in my algorithms to convert between utf16 line/col and utf8 absolute indices to comply with the LSP, before realizing that
- Orchid itself doesn't support \r
- There is no established user base
so I'm in the best position to reject all files that contain \r and offer to convert them instead.10 -
So I installed a new Linux distro, and since the DE is Gnome, I wanted to spice things up with a Conky file.
I download my conky theme, extract it, and try to run it.
And it's broken.
Apparently, the Conky development team decided it would be a great idea to switch over to an ENTIRELY FUCKING NEW SYNTAX, LEAVING EVERY CONKY THEME WRITTEN BEFORE AUTUMN THIS YEAR USELESS
Oh, no biggie, I think. After all, the development did very graciously publish a Lua file to convert old conky configs to the new syntax.
Except no.
The file used to convert conky configs uses the old loadstring function, for which support was dropped in Lua 5.4
So not only did Conky make every config written earlier than this Autumn obsolete, the FUCKING TOOL THEY DEVELOPED TO HELP WITH THAT IS ALSO FUCKING BROKEN
Fuck Conky. I wasted 2 hours screwing with this broken-ass piece of shit3 -
Client: We need to support uploading doc, docx, all image formats and PDF to convert and combine everything into a PDF.
Me: lol. No.
No way in hell am I going to try to convert docx to PDF in Java.4 -
Converting server time to any given local timezone is a pain in the ass.. at least in JS.
Here's what I've got:
convertNowToTimezone = (localOffset) => {
let d = new Date();
let millis = d.getTime() + (d.getTimezoneOffset() * 60000); //convert server local time to UTC millisec
d.setTime(millis - (localOffset * 60000)); //convert UTC millisec to required local time
return d;
}
where I pass localOffset as -330 (IST offset).
Works in chrome console but gives a diff of 4min in the server side nodejs I'm running it in..
🤬🤬😡😡😡😡😡9 -
When I was in seventh grade, I learned to solve quadratic equations and how to convert from standard form to vertex form
Today, when I had to convert a quadratic equation, I completely blanked on how to do it
I can’t remember how to do math seventh graders know
Fml3 -
Moved all my configuration to json files from normal JS last night. It took me 10 mins to convert. Everything worked perfectly.
This morning I woke up with angry messages from everyone in the team. No one could run their code anymore. It took me whole day to find out that those jsons were the issue. I still don't know how though. 😥1 -
!rant
Hey Everyone, I am trying to create a Font from the couple of SVG files that I rendered from processing.
Here is the announcement rant, and you can find the code repos there too.
https://devrant.io/rants/602414/...
But I have ran into a problem.
https://graphicdesign.stackexchange.com/...
Any Ways to solve it. It's going to be free and open Source too.3 -
Attempting a huge undertaking. I'm trying to convert a large JavaScript library, written in standard ES5 syntax, to Typescript with ES6 syntax. Turns out it's extremely difficult, but if I can finish this it will be 100% worth it3
-
I don't know if our QA is good enough. We were developing an app for both ios and android. I, an ios developer, told the QA guy that it will take long before uploading the app in the testflight (convert swift2 to swift3). After a week the app is now uploaded in the test flight and at the same time my partner, an android developer, uploaded the android version of the app in the play store beta. The QA guy started to raise bug issues about the android version. He wanted to fix the bugs immediately since our boss needed to upload it in the play store and appstore. The QA guy kept on complaining to my partner why the android version is buggy. Then he said something we, me and my partner, facepalm.
The QA guy said " You shouldn't convert the app to swift 3. The ios version is fine when converted why the android version is buggy. You need to revert it back to swift 2"
We sit there in silence, thinking if we pity the QA guy or laugh at him. -
Only one day to convert my website design to wordpress template. Have no idea how to make animated submenus. Have never worked with wordpress. Fuck everything!5
-
When you take your fast but plain cgi scripts and convert them to fastcgi...
"no way the page parsed and analyzed 325 XML trees this fast" 😇 -
I have to convert a very complex algorithm form matlab to C , and push to prod in next 7 days 😭
[FYI can’t use matlab to c coverter]5 -
When your boss ask to convert the system to the new framework version, but still ask the other team add new module. Then said why your work never done hmmm.2
-
Love it when you have a SQL query that takes 6.3 seconds (which includes processing time) to execute, and you managed to convert to a process that takes just 0.072 to complete1
-
pandas can suck my balls.
N
I
H
I'd rather roll my own.
edit: but also xgboost can suck my balls.
Treating every OBVIOUSLY continuous-valued entry as a 'category'.
All searches for this problem turn up tutorials and documentation on how to CONVERT continuous and numeric values into classes or categories.
Not a single fucking document addresses the problem of when pandas or xgboost refuses to treat numeric inputs as numerics and insists on pushing an error that your data is categorical when every fucking inspection shows the type as numeric.9 -
I saw multiple attempts to convert an int to a String by concatenating it with an empty String...
String s = someInt +"";
(I'm guessing the compiler uses a StringBuilder here which still ends up calling Integer.toString())2 -
"this file is indented with tabs instead of 4 spaces. would you like to convert to 4 spaces?"
what??? no? fuck you android studio2 -
Am I the only one missing ``` // some code ``` backticks/tags (the ones that convert wrapped text to monospace code) here? @trogus -- Since this is a dev-oriented community.. could this be an area to improve devRant?2
-
Somehow I wrote some code that ended up comparing a string type object against a pointer of an unrelated class. There are NO functions to convert that class to any kind of string representation. Let alone ones that would allow that to happen in C++.
WhyTF did the compiler not pick up on this?5 -
Hi friends and others. There is a task I want to automate. I want to convert .docx files to .pdf and then minify those. Are there JavaScript libraries or npm- packages which can do that? Because I would like to use Gulp or Webpack for this task. I would not mind if external APIs are involved, but I would rather not use those if not required.
Pls share your wisdom. Bye.2 -
Is there any extension for visual studio code that allows markdown to be exported as proper linked TOC PDF? I have tried now atleast 5 different combinations, pandoc, convert markdown etc. and they all produce either really non matching content (pandoc) or don't link the table of contents right. (but atleast show the content 1:1 of what the preview is..)2
-
Sooo as someone that just started using photoshop (got it for free at work) i can see the benefits of it for actual design. But are there any ways to convert to an actual web page other than by just sucking it up and going through the code by design? I see no much difference than looking at a shit of paper with a drawing of something and coding it. Am I missing something? Mind you I do know how to code, sure I am lacking in the design dpmnt ( more of a backend / mobile dev)7
-
So, the other day, I was working in Unity, and trying to find the complement of a byte number. That is, 255 - myByte. So, I write this :
Byte newByte = 255 - myByte;
And it says that it can't convert from a byte to an int. Okay... So, I do this:
Byte newByte = byte.MaxValue - myByte;
And still, it errors the same thing. So, a quick google search proves that no matter what, the subtraction operator returns an int. WHAT IS WRONG WITH C#? That is the dumbest thing ever!4 -
Don't people learn the basics of how things work anymore ?!
I am cleaning this project, where some juniors have implemente a lot of the code.
Apparently, the way of deleting an entity from the database is:
1) SELECT the entire row and cast it to a model class
2) CONVERT that model class to a DTO class
3) READ the Id property from the DTO class
4) SELECT the entire row, again, and this time cast it to a DTO class
5) CONVERT that DTO class to a model class
6) Use you pancy-pants ORM delete method using the entire model class as input argument..
FUCK YOU !
inb4 what about reference checks ?
- Nope. That is done separately using only the Id
inb4 what about checking if someone else has altered it before deleting
- Nope, the entire entity is not used for that either.3 -
Converting javascript/ typescript Map to json
or python date to json
or anything complicated to json is mostly ending with implementing serialization patterns
With date it’s so annoying cause we have iso standards that every language implemented or have libraries
so typescript doesn’t recognize Map<string, string> so you have to convert it to array and then to object
with python you need to make your own serializer / deserializer
So much waste of power usage that if only Greta know it she would say ‘how dare you!’
It can stop global warming.5 -
When friends ask me to do some coding...
Them: I want/need this and that and... [trillions of features and "cool" stuffs]
Me: ...okay
Them: Oh and this and that and [more "cool" stuff]
Me: Alright.. when do you need it?
Them: something around a week?
Is it just me or does everyone -not- accustomed to coding think that projects are usually done in a few days...?
Maybe the common opinion about coders is something like: They aren't humans, they are machines which convert caffeine during night time to source code3 -
Took over a project where a dev created a table with no primary key and enforce a unique constraint in code. Wtf? He also always selected top 1 so if you added a record directly in the table it completely fucked the expected data.
So, when I took this piece of shit over I didn't realize what the table was and when I tried to convert it to EF it barfed since there was no PK. Was a complete PITA and had to create all new tables.
Some people shouldn't develop software!!!!!!!!! -
Is it just me or is everyone thinking the binary ++ counter is a good idea?
I think it’s really cool because it sort of hides the number of ++ you have behind a wall of laziness. Like people probably aren’t going to convert every score and I personally just look at the length of it as a rough estimate of how upvoted a user is.
I think this really helps eliminate the “likes contest” that can come with other social media. (And as a result reduces spam that is posted/reposted just to get likes)
Anyone agree? Disagree?5 -
Time to get going properly with ansible, consul and docker swarm.
Idea is first to convert tinc to a container, which automatically sets itself up based on previous consul announced tinc nodes.
Consul to keep track of all the nodes with prometheus too and hopefully auto attach to grafana.
Ansible to set up new nodes right with DO API, announce to consul, pull docker images and join the docker swarm master.2 -
Internships just kinda suck.
Like sure I'm probably not as good as the other Devs but knowing I'm getting over 5x less pay than anyone else in the room hurts.
Salaried and it works out at less than minimum wage if you convert it to hourly. Honestly what the fuck.
The experience im getting has been good but having to continue being on a student loan while working 38.5 hours a week is outrageous. Living in an already expensive city and I'm probably spending 10% of my pay on lunch in the office's canteen.10 -
!dev
I bought a bidet at the start of the summer and I'm a convert.
I've been on vacation for over a week, and my brown star is raw and inflamed from wiping. I must have lost my callous... -
I just saw this:
"can someone convert a PHP code to VB code ? i want to make a small application , *.exe file which can do stuff"1 -
Best part about being a dev? - Finding little gems of humour in comments and docs.
Why convert HTML to Markdown?
-You have an existing HTML document that needs to be edited by people with good taste.
-You want to store new content in HTML format but edit it as Markdown.
-You want to convert HTML email to plain text email.
-You know a guy who's been converting HTML to Markdown for years, and now he can speak Elvish. You'd quite like to be able to speak Elvish.
-You just really like Markdown.
from https://github.com/thephpleague/... -
Would it be plagiarism to convert a video tutorial to a text version write-up for others like myself who prefer not interpreting my music to learn
Or would the resulting documents be something to keep to myself for when I inevitably search the same things3 -
If you're using random in python, and need arbitrary precision, use mpmath.
If you're using it with the decimal module, it doesn't automatically convert just so you know.
Instead convert the output of arb_uniform to a string before passing to the decimal module.3 -
Found this in our Python codebase:
my_dict[key] = "%s" % str(my_dict[key])
Best way to convert a value to string xX -
I give up! Been trying to solve this shit for a week and still failed:
Using Android Data Binding, two-way binding and when I compile I receive this error:
Unknown class: java.lang.String
It was working without issues before upgrading Android Studio.
Anyone has a clue how to solve this shit?
By the way I'm using Kotlin, on Java it doesn't produce errors, and I'm not going to convert my project to Java ...8 -
Today I had a co-worker ask how we can set a value in the registry since this other program we are working with encrypts it. My response was, "It isn't encrypted, it is little-endian." Then I went into the whole endianness topic. After finally telling him how to convert the hex values in the registry back to the original decimal value that the program is storing, he said, "I'll just take your word for it."1
-
Question: Anyone has any idea about localisation of applications ( Desktop, mobile )? Like how to convert the user interface text elements into local languages... etc..
Any other suggestion for localization events also welcome 😊7 -
How many of you want to live in a world where there's no a standard way to convert numbers to strings among systems?1
-
When you’re eager to convert Joomla websites into WordPress websites because Joomla is that bad. I mean, it’s just awful.8
-
I once had to convert a VB6 app to .Net and came across a function with 46 optional params. Has anybody else had a similar stroke of luck?1
-
GitHub Actions. That is all.
Well, not really. Trying to convert a grunt script which we have packaging our WordPress plugins to be done as a GitHub action instead and I'm about to throw my machine out of the window.5 -
What is this format? Spaces are separated by + sign and columns are separated by & sign and it’s value is followed by = sign. Can I directly convert it to Spark dataframe?8
-
I had this idea
convert my application icons into base64 and save everything in one big js object
one month after this bizarre moment now I'm here trying to develop a even worst approach.
any suggestions?4 -
Spent quite some time debugging an odd problem.
A null check failed to trigger correctly, and when checking in eclipse I saw the null value.
Much digging later I finally noticed that the value wasn't null, it was "null", but eclipse doesn't quote strings...
The problem was that somebody at one time decided to convert an Integer to String by prepending an empty string...
Integer val=getInt()
return "" + val; -
Which movie or TV show do you think has caused the most damage and confusion about how programming actually works?
For me it's Silicon Valley with their "Tabs VS Spaces" scene where the dev who advocates spaces actually hits the spacebar key 4 times manually.
(In reality no does that - everyone just hits the tab key and most Editors convert the tab into 2 or 4 spaces bars on your setting. In fact a vast majority of github repos use spaces - despite some of their devs now thinking "I use tabs")1 -
The artifical character limit in google notes is so damn annoying
They put actual effort into an anti feature with a "convert into google doc" button. Like they clearly understand one might want to type more than 50k characters, they just dont allow you to do that in notes for no reason besides fuck you
Hey google if i wanted to use google docs, i would have used google docs. Now I just have to split my notes into two because clearly im doing it wrong and google knows better >.>12 -
So I had this JSON thingy, where I named the property containing a datetime string "timestamp".
For some reason, JS decided to convert that into a unix timestamp int on parse. Thx for nothing.6 -
I thought I found a way to compute PI, but I actually just found a super shitty way to print a variable..
const precision = 1000000
// convert degree to radians
function rad(degree){
return degree * (Math.PI/180);
}
function calculatePI(){
// [x, y]
// take first point on start of unic circle
const point1 = [Math.cos(0) , Math.sin(0)];
// take second point at 0.001 degree
const point2 = [Math.cos(rad(1/precision)), Math.sin(rad(1/precision))];
// Estimate 0.001 degree of circle
const dist = Math.sqrt((point2[0] - point1[0] ) ** 2 + (point2[1] - point1[1]) ** 2);
// Calculate full circle
const perimeter = dist * precision * 180;
return perimeter;
}
console.log(calculatePI());4 -
Budding Developer here...
I've tried to teach myself Web Dev over the past 10 yrs on/off... Sad. But now I'm actually in a developer role moved up from IT helpdesk a year ago.
In the past year I've learned SQL, SSRS, SSIS, database concepts, and.... VB6. I am a master at none due to having to cram so much in a year while taking on various projects, issues, and learning the organizations software infrastructure and processes. I also taught myself current HTML, CSS, and basic Javascript. Learning the different basic concepts with each.
Over the past couple months I've been given a new project and now learning ASP.NET and C#. Actually trying really hard to get adept at these as I'm finally doing Web Developing in my role...
I am also dealing with multiple major family issues and a near 2 yr old that we cosleep with that still doesn't sleep through the night.
Why the crap is it so easy to convert an enum to a string but takes 50 functions to convert a string to an enum???
Cast, convert, parse... Why so much logic???
When the online teacher says type why do I have to rifle through 7 different meanings in my head before I know what kind of type he's referring to??4 -
Maybe someone can help me there.
I have to make a DDD project and I can't figure out in which layer I should put classes that - for example - convert objects from DAO to DTO or the Serializing functions.
Does someone who already made some. DDD help me?2 -
Anybody know about a good open source speech to text engine?
I googled but there are tons of them and I don't have much time right now to try each them of out
What I actually want is just to convert the audio (in English) to text and would also want to note the time those sentences were spoke in the audio like a subtitle file.7 -
Uploading an xslx file to office365 to download it as an ods file only to be able to convert it to a csv file via libre office.
Direct conversion attempts with other tools would either fail converting the xslx file or break cells' values (ssconvert, soffice --headless -c, gnumeric).
One of those things where I fail to understand why it has to be so complicated.4 -
!rant
Ooooh. devRantron looks really fancy. Thanks for the AUR package :)
Really liking the themes "coming soon" - We must convert them all over to the dark side! Muhahahahah!
Erm I mean... *whistles*4 -
I once used try/catch the other way around. I tried to convert a string to an integer, and if it failed, I new that the string weren't a number (success)
-
About the ongoing battle of tabs vs spaces, there is an option in most text editors to convert tabs to spaces ( if you press tab it insert a certain number of spaces ). Use that and you will be fine.
Also if you are contributing to other projects which could be using tabs, there are plugins that will detect if the indentation is spaces or tabs and when you press tab automatically inserts spaces or tabs accordingly1 -
Today i realized that i can convert MB and GB to the top of my head and generate a very good estimate.
Cant say that same when converting miligrams to grams.6 -
Jesus fuck generic number adding in rust is pissing me off
why did I decide to do this
I literally don't have to
let's just add 12 traits and then find out it doesn't know how to divide by usize. well how the hell am I supposed to convert it then. there's no trait for "f64 as f32" so now my shit looks like spaghetti cuz of that, now this...
so let's see I could call into() on usize to get it to be unknown T number... but there's no way for it to know what to convert to and I can't determine if there's any way for me to tell it that
THESE STRAITJACKETS
I might just need a padded room at this rate
*goes to sleep* later
.... required for usize to implement Into<T> wat
😩
I suspect that's gonna be another dead end
GOod ErrOrS16 -
When I was 13 and made a Visual Basic application to convert the weight in other unity. I used Microsoft Visual Basic 2008 Express Edition 😀
-
Using API to get todays weather.
The value i get is 293.some other decimals.
Well, i guess i have to manipulate that float.
Converting it to string, moving the dot and convert it again to float so i can have the number in a form i need it, which is 29.decimals.
Hm...
Re reading the docs, and i find out the value is in Kelvin.
FUCKIN KELVIN
WHO THE FUCK USES KELVIN3 -
When the designer uses a react component in the design and we have to convert to vanilla or redo..2
-
Follow up on my internship:
>The recruiter told me to use whichever stack i prefer for the full stack development of their e-commerce website.
>I chose MERN stack.
>After completing the project 90% in 2 weeks, he wanted to host it on his shared hosting platform of godaddy.
> It doesnt have shell access nor allows node.js to install on it.
>Now he wants me to convert my node.js code to PHP using Dreamweaver software.... Shut up already. Give me my money and certificate and leave me the fuck alone.5 -
Thanks to one of my colleagues, I have learned that there is a git command that convert HEADless piece of tree into a branch. Thank you git switch. Also, thank you colleague.1
-
Today I was meeting with a researcher in my department so that I could show him how the software I developed works. He graduated from a really good university in electronic engineering, with 100/100 I think, and he can manage to copy&paste some python code. So I didn't expect what happened today.
Guy: 'So I have to give to your program as input this python file which contains a function you need to call, right?'
Me: 'Yep, I mean, that is a jupyter notebook, I need a text file containing only the function which is in that notebook'
Guy: *Downloads the notebook, tries to feed the notebook file into my program*
Me: 'Wait, don't, there probably is a lot of junk related to jupyter notebook, try opening it in notepad++'
Guy: *Opens file, sees a lot of junk text*
Me: 'Yeah, I thought so, you need to save it as plain text or .py'
Guy: *Renames the notebook as .txt*
Me: *Shakes my head without him noticing*
'That won't work, the content of the file won't change like that...' -
Had to call an API with SOAP, convert an Access Database to MySQL, Coded some classic ASP and used Campaign Monitor for the first time in god knows when. That's a royal flush of retro right there!
-
I've just exported my flutter app using the magic codemagic and they sent me the versions, but the question is how can convert the .app format from the IOS version to .ipa cuz it's not working by directly rename it.
-
39 hours. Finished building an Excel tool to help me convert rows of data into Magento custom products in seconds instead of minutes. Then I used said tool on a huge load of data and worked my ass off to get it done by some deadline. I honestly forgot what for.
-
Never used Emacs in batch mode, did it today to transform some code generated by struct2ts (convert Golang structs to Typescript classes/interfaces).
I won't rely on sed/awk for complex stuff ever again, is much pain in the ass for me tbh.4 -
"hey, so we want to put our app inside another app, but don't give them the source code. so can you make an apk that they can just put inside theirs, by EOD?"
Took me > 2 weeks to convert it into a library project ( :゚皿゚) -
Can someone suggest me a quick way to create some svg files or convert some basic flat shapes like image of a redcircle or a blue heart into .SVGs?
I don't have any experience in graphics development, so online/offline tools or converstion engines would be also nice.13 -
markdown4documentation is a tool that can either convert a single markdown file, a complete directory or a complex structure to HTML or PDF. You can choose between several build-in themes (called templates) or define a custom theme.1
-
Developed this project "Audio Book Generator"
Implementing speech synthesis(📖 to 🗣) on eBooks
Bored with writing notes in a lecture? How about we convert the notes dictated by the lecturer into text? Use the speechtotext.py script to get the text format of spoken notes, which saves the text in a .txt file.
Too lazy to read a novel? Get an Ebook version of the novel and run the finalAudioBookGenerator.py script. It will generate an mp3(audio) format of the book. Enjoy book listening :)
You can also convert your single images using the singleImageReader.py script.
Demonstration:
https://youtu.be/xhMvGg1dAsg
Project:
https://github.com/globefire/...
Star If you liked it. :)rant project python github audio books speech synthesis youtube text to speech speech to text tesseract3 -
WHO’S IDEA WAS IT TO CONVERT HTML DATA ATTRIBUTES TO LOWERCASE! I spent SO MUCH TIME on a bug because of this!!! Fuck it’s all about knowing the nuances and tricks of the little web devil who lives in every browser6
-
Any ReactJS developer here? Just wanted to ask, how do you handle SEO with ReactJS SPA? Do you follow any tutorial to convert it to SSR? Or do you just use NextJS instead?
Thanks3 -
Okay so if a company decides to use md5 for hashing passwords after a million users already registered how the hell will they transition to any other way of storing passwords. As they don't have plaintext to convert them into the new hashing function.12
-
Implement a rest API for elasticsearch.
Follow the client's index's mapping.
Generate json document from Java pojos, given by the client.
Jsons don't match the schema mapping, one (at least) field, for geographic coordinates, is in another format.
Ask the client for explanation.
Client response, after 6 hours:
"We build it in this shape so you have to convert them to another format before posting into ES".
What the hell is wrong with you?!1 -
I would like to supercharge my workflow this year. I want to setup a slack team for our clients in order to help track task progress better. I would like to integrate slack with Trello in order to use boards. I would also like to integrate an email bot that clients can forward todo emails to and then convert these to Trello Todos. I know how to integrate bots but how can I convert emails from the email bot to Trello todos? Do I need to create a bot of my own for that?1
-
Once I wrote a tool to help convert alarm messages from an excel sheet into an xml file with other specific things included.
My colleague (who is very proficient at coding in his chosen system) while I was writing said tool asked why I was commenting code as it was basic!
I asked him to work out what my code was doing (it wasn't mega complex) he spent a long time googling! -
i am currently learning react and i find it easier to convert vanilla html css websites into react than writing a website in react from scratch. while writing a website, i am now accustomed to writing mobile first flex based css that looks nice , and handles most of the animation, show hide based stuff by classes. whereas in react if i start thinking about how states and context are going to work with it, i end up going bacl to the imported css to get it to look nice at first1
-
What are my odds that V8 will recognize my efforts and convert my for loop to use SIMD? It literally just adds the elements of a Float32Array to another, it's the single best chance for compiler optimizations to shine.4
-
is there any way to convert python straight to C yet? i just barely can't get PyInstaller working on PythonD because no os.fork() (because DOS. no, not cmd.exe, actual fucking DOS.)
one broken function between me and victory
"just use C" DJGPP is kicking my ass all the same, random unknown segfaults are a bitch and also i can't get quite what i want in the memory layout restrictions i have to work under
"just use Assembly/BASIC" their file handling makes me wanna die and BASIC is fucking massive as well18 -
I do not like it but I am forced to ask a tech question because my friend google has no idea how to solve this problem...
So, I have a pdf with a bunch of points with a number inside. I have to produce a list of numbers with X and Y coordinate of the point.
What I have tried: convert pdf to HTML and extract the position of divs / completely failed because a lot of points were distorted, mixed up, contained more numbers, etc, it's just not precise enough after conversion.11 -
It all started when I was 15, I was a general geek and started reading about html and CSS, as I needed it for my GCSE, enjoyed it so In time found ampache and decided that I wanted to convert a phpnuke theme to it...
-
Hey guys,
I'm trying to convert a SVN repository to Git and I want to keep the history. So far everything has been going more or less good but when I push the history (of commits etc.) doesn't get commited too. Is there a way to change that? What do I need to do to get my subversion changes/commits in git?16 -
I used alot of if checks to convert category name to category ids for sql query. For eg.
/Index.php?cat=venue
And I handled it like
If($cat=='venue')
{
$cat =1;
}
And so on.1 -
Okay I always found these js weirdnesses that you see in memes more or less logical if you think about it, but so far I could not find any logic behind this:
true&&undefined
>undefined
false&&undefined
>false
can anyone explain wtf they thought about there? undefined is falsy so why not just convert it to boolean implicitly!4 -
a MEAN stack developer, got a work in cakePhp..convinced my bosses to convert the cakephp project into a mean stack..and after 1 week, I have decided to learn cakephp myself :/1
-
My company is trying to convert all dev to become ts/js fullstack for all product and future projects. Which to me make sense because we don't have hire php/ruby/java/pyhon dev and no backend js dev have excuses not to help to fix frontend bugs now. So much productivity boost and cost saving for the entire org!6
-
I have a custom strategy done in trading view. How do I even convert this strategy to a trading bot on Binance ? This seems so overwhelming. I have no experience in writing a trading bot, it seems very complicated. Most of the tutorials are on python, do u think learning python will make it easier to learn all of this ?3
-
VB.Net
The biggest problem about vb.net is that people don't consider it as a language anymore. With more people interested in c#, all examples and tutorials are available only in c#. I can't even copy a simple example as it is. I have to convert it on my own to vb.net or use any one of the online converters.5 -
Hi everyone well we quit gg scripting cause we figured out lua can be converted to cpp for memory searches! we all know lua and know how to convert it to cpp but for the gui
How do i learn java?8 -
So, yesterday I finally understood the "it's compiling madness"...
I'm working as a web developer and I needed some c executable to run from the back end to convert files.
Unfortunately, you have to compile this library on your own, there's no way to just download the executable...
It took 45 minutes, and that's without counting the download of visual Studio, cloning multiple gits etc...
I'm so happy to just be able to press F5, sometime not even that is necessary....
So yeah, I guess I'll just watch another episode of hell's kitchen every time I need to compile this piece of crap....1 -
I like docker. I think the technology is cool and I have a few ideas on how I can use it. But I sometimes think I'm too stupid to use it.
I'm currently trying to convert parts of my dev environment to use containers. But following tutorials on it confuses me and I get lost with it really quickly and get discouraged for a few days until I give it another try and fail again
Like fuck I already know I'm mediocre but this makes me feel like i should go into a manual labor field instead of software development6 -
is there a Go module for editing Flat Open Document Text? I'll like to edit placeholder text from a fodt file and send the results to thecodingmachine/gotenberg to convert the file to a PDF
-
/*too lazy to convert times to Millis...*/
Private void day() {
try {
Do {
meeting();
while (currentTime < 5pm);
readAndRespond(email);
readAndRespond(slack);
readAndRespond(skype);
}
finally {
realWork();
}
}
private void meeting() {
Thread.sleep(30s); //I wish.
}2 -
I just got my new task to convert an existing project (ASP) to JSP with Spring Framework , but the problem is I don't have any experience on creating web app on both side , so I was thinking if is it advisable to enroll on an online courses just to catch up the knowledge that I need ?3
-
someone just tried to convert me on the bus ... threw a "Cannot perform reduce with flexible type" error
-
In python, is there a way to make this work?
----------
# list of people
people = ["Nick", "Sue", "Bob"]
# class instance
Bob.pockets = ["gum", "paperclip", "coins"]
# convert string to prefix of a class instance
Print(people[2].pockets())
----------
This is the simplest way to show what I'm needing to figure out.
I need to convert a string into the prefix of a class instance.
I'm having trouble figuring it out.7 -
!rant
Help a future Linux convert out!
So far over the past year I've gone through Mint, Fedora, Ubuntu and REHL and all have had their issues or just didn't agree with me. Currently I've been using OpenSuSE Leap I haven't had much an issue with... But I'm looking to try out Arch, though I'm not a fan of the whole CLI install. Doing some more research I saw Antergos which is just Arch but more n00b friendly and more elegant to me. Has anyone had experience with Antergos? Is it as it seems? Any pros and cons with Arch Linux based things? Running it in a VM first doesn't do it justice for me.5 -
Dear Mongodb, I created the clusters in your service because you created Mongodb. I also subscribed to the "Premium" to get better service.
I get it, my card didn't have enough balance for the last 3 months but you could just convert my account to "Free".
How could you delete the cluster? You morons deleted all the data of my app of 1.5 years. You even deleted all the backups! WTF!
What's the point of buying premium service if that makes you lose the data? Fuck you!6 -
To convert to Resume
I am an asp.net dev who started working march - 2022.
I am the only dev in the team (CSD) from September - 2022(colleague gone on maternity leave).
Starting from January I have been training 2 freshers/intern.
Any ideas on how to convert this into resume points?3 -
Whenever I see an ORM that supports creating and transforming objects in bulk, I can't help but think about the poor misdirected users who forced it to do that. It's an Object-Relational Mapper. It maps objects. The whole concept isn't designed for bulk operations, the point is that you add logic to each and every record and convert your operations to SQL so that you never have to keep a lot of them in memory.4
-
What is the easiest way to convert a PHP/MYSQL app into android app?
My client needs it urgently and I'm not getting paid. So I don't intend to put much effort into it. It's just a gesture of goodwill.12 -
Why does it take so much effort to do a very simple thing in angular?
Here I am trying to create an observable that listens to two observables from parent and child. I have to subscribe to observable in parent and then convert @input value back to observable. Fuck angular
https://stackblitz.com/edit/...4 -
Not really an impressive one, but I think it's blasphemous enough to be mentioned:
Creating an embedded application, it was not supported to print a float using optimized libraries (understandable since they're not really supposed to be used anyways), but I was too lazy to convert clocks to a time unit by hand while running benchmarks. So I just printed the float as two integers, splitting it to one for the whole and one for the thousands. -
I have Windows 10. I wish to convert a png image to rtf. I've looked online and it's a messy mess of messianic messy proportions.
Is there a converter that's free to download that works?
Thank you kindly.14 -
A lot of graph theory libraries create a HTML/svg elements for nodes. Is it possible to convert the existing svg elements to graph nodes?2
-
Scrum con religion is after me, I either convert or burn at the stake with scrum masters holding hands and dancing around while chanting the scram commandments.
Scrum will kill every decent developer on the planet and replace them with frauds...
Scrum's stupidity is toxic it's like being exposed to radiation - it makes you mutate into a brainless freak! -
wasting time trying to write good code and minimize duplication , but it probably won't work and there are no working examples
duplicate code and do the stupid thing, which will work, with extra dumbass boilerplate code to convert between swagger2 & 3 schema
fuck you swagger code gen -
What's the best tool to convert vid to HTML5 (Mp4 + WebM + Ogv) and keep good ratio between Size & Quality ?
I have a 1min lenght vid in FullHD. This is a demo reel that loop in fullscreen at the first website launch.
I tried Miro converter, Freemake and can't reduce files under 15Mb without obtain poor vid quality. It's seems too heavy for a website.
Do you have any tips ? A tool to convert vids, an online service to upload the vid and use it instead of using HTML5 video tag.
Thanks20 -
I could really do with HKT support in Rust right now. I need to somehow convert a
Marc<Task<Output = T>> into a
Task<Output = Marc<T>> where Marc is a Mappable Atomic Reference Counter from the mappable_rc crate. Nothing technically challenging in the whole operation, it's just not supported by the type system without those two types knowing about each other. -
I should check out the latest videos at egghead.io, I should convert to Angular 2, I should start using es2016, I should learn c, I should continue on the cryptopals challenges, I should fully understand floats, I should learn how java works under the hood, I should learn the details of how the drammer exploit were done, I should make a dinner planner, I should continue the Golang tutorial, I should check out the game of my colleague's game attempt, I should engage in an open source project...
Playing cs:go with a nagging bad conscience... Again! -
Thinking of developing sublime plugin that would convert font-awesome 4 icons to 5. The plugin will search for all files with configured extensions and replace the icon classnames. Eg <i class="fa fa-cab"></i> will become <i class="fas fa-taxi"></i>. It wont work for inproper spacing and dynamic icons.
Is there anything already developed?6 -
What’s hot in theory and new developments in computer science ? I feel ai and vision appear to have stagnated a long time ago
Maybe it’s just because I got stuck with you people for no valid reason other than you people took over large sections of the USA to convert them into hamster wheels
Only for humans not the kind you shove up your own asses -
Help, please.
I have an only HTML(CSS and JS) app. I want to put it in Play Store. How?
I saw somewhere Phonegap can convert HTML to apk, but if I do it, will it work well?
I mean, if I want to put google ads or any other ads can I choose where to put them?9 -
Why shall I convert my utility functions into arrow functions?? I really don't see the point.
I think it is way more descriptive to read a line going
"export function buildEntity(){"
Instead of
"export const buildEntity = () => {"
When are you using arrow functions? Do you see any benefits there?12 -
Convert any SlideShare slide into PDF format in one click. Time pass project
https://slidesharepdfdownloader.herokuapp.com/... -
I got an idea for a fun api which can convert the style of input text, for example “hey I am a chatbot, please ask your query” if converted to the style of yoda from Star Wars will be “chatbot am I, queries you must ask”. There can be different styles like archaic English, sports commentary etc.
I’ve got the ai part ready, just need to write an api (I’m learning django for that). Has anyone got any experience with api marketplaces, I’m not sure what to use?1 -
Who wants a simple bash script for those screen recordings you wanna convert into a gif to upload to your JIRA or github or whatever?
https://gist.github.com/christhomas... -
Pick up a course, or like in my case a book and start. Try to understand as much as you can, try to write some easy programs that will maybe calculate, convert or display something. Anything, basically. You can always start a course that teaches you straight from the beginning for eg. boe to build a game, website or anything you're interested in. Just one thing to remember. Never make breaks that will last longer than 2 days. Keep on pushing and follow the course. Then you'll definitely achieve something worth your time.
-
Just finished my final assignment in my intro to programming class (req to take others) a week early. Had to read in 2 files: car model's mpg city & highway,
convert both lists to float,
find the average mpg for both files,
Count the number of 'gas guzzlers',
Then print out the data from the 4 functions.
Feels so good! Not turning it in yet. Gonna make it fancy with all this extra time.2 -
I have been working on this whole day but is not able to find a way around this.
I want to create an xsd from a given Python class. I want to automate this process and we have a bunch of such classes.
What I have found numerous times today is "How to convert XSD to Python class " for which there are bunch of libraries such as PyXB and generateDS.
Asked a question on stack overflow but there is no response.
Can anyone help me with this2 -
So basically it started with my internship at a very reputed and big company. I was one of three guys selected for same from my college out of 750 possible candidates and also there was a possibility of conversion of internship to the full time employment. I was super excited about it but I was also aware of drawbacks if I wasn't able to convert my internship to FTE. And the same thing happened. I couldnt get the job as there wasnt no vacancies there and I couldnt do well in campus placements as I was busy writing code for the company and didnt have enough time to prepare for campus placements. However, one very reputed campany offered me internship which I accepted as I didnt have better options at that point of time. Today was my first day at company and I got to know that they wont convert internships to FTE as their company dont have enough vacancies. Now, because I cracked some of most difficult interviews, I am left with internship with worse stipend and no possiblity of getting job in the same. This has been a real good year really.
-
Maybe it's a dumb question, I don't know…
Why "Math.Truncate()" (trunc() in C++) returns a double?
Its only purpose is to return the integer part of a double, which is a fucking integer…
Same for floor() and ceil().
My point is that you can put an int in a double without any problem (so they could have return an int), not the other way around, so you have to convert it if you need it in an int.3 -
How do case insensitive searches work?
Usually if I needed case insensitivity, I'd probably just store all the keys in lowercase and for searches convert whatever is typed to lowercase.
But what about Google. Can't convert everything to lower.
And if need to check the lower and upper case of each letter, like in a Tree, you would need to go down 2^N paths?20 -
What the Fun Javascript Part 2
With reference to my old rant : https://devrant.com/rants/1445754/...
An explanation to this...
In JS whenever it sees '==' it has a set of rules that it follows before comparing quantities...
One such rule is...
When we compare a number with a boolean using '==' it first converts boolean into number then compares the two quantities...
So in this case..
When we convert true to number we get 1 and when we compare 1 and 2 they are obviously unequal hence we get false...1 -
Hi everyone
Please tell me how i can convert a mediaStream Element to an actual file in JavaScript (Browser side)
In fact i want to capture a screen or a tab and save it as a file
Thanks7 -
Unity Controller Support:
Why are controllers awful, it seems like I have to custom each different controller manually to the game. Why can't the the A button on one controller be A on all controllers.
Why can't there be a universal built in controller script that would convert all of the different types controller inputs into a generic controller input that can be translated by just one script instead of writing a script for every common controller... 😠3 -
Pigment 0.2
🎨 A lightweight utility for color manipulation and conversion.
Features
Color Conversion: Convert colors between HEX, RGB, HSL, HSLA, RGBA and Tailwind CSS formats.
Lightness Control: Lighten or darken a color by a specified percentage.
Random Color Generation: Generate random colors in HEX, RGB, HSL, HSLA, RGBA or Tailwind CSS format.
Opacity Control: Set the opacity of color in any format.
Blend Colors: Blend two colors in any format together in a specified ratio.1 -
So I have this gulp task to minify javascript but it doesn't actually do that, It minifies in a single line which is actually correct, but it doesn't convert if/else into ternary and true/false to !0/!1?
> Gulp Task: https://pastebin.com/1d8k8juX -
Does anybody knows a command line tool that convert C file (sample.c) to hex file (sample.hex).
I don't need any GUI tool only command line tool.9 -
How does one convert an .img system image for Android to the format readable by Heimdall on Linux... Only thing I found so far requires Windows... Why make Heimdall if you need Windows anyway to make the image... Just use Odin on Windows then... Any ideas? Don't have Windows... And all I need is to read a bloody logfile (btsnoop_hci.log). Thanks, "secure" Android Oreo!!!4
-
Hi guys,
i have a question, i have an external drive in exfat, is is possible to convert it to ext4 filesystem without damaging the data?11 -
After watching this project based on GPT-3 where software is directly able to convert simple English sentences into React components:-
https://twitter.com/sharifshameem/...
I first felt awestruck and then realised that it was a right decision to start learning data science while still having a successful career as a front-end developer🤓 -
https://i.imgur.com/Y1Z7Ohk.png
I've never used Python much, but my network class had an assignment to make a program that would convert a physical MAC address to an EUI-64 address (as well as some other, easier functions). It's not the most elegant solution, I'm sure, but I'm proud of what I created.
(Reposted due to needing to rehost image)1