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 - "library"
-
*yesterday*
Client: "Perfect! How did you do this so quickly?"
Me: "I used a library"
*today*
Me: "I'm still debugging. It will take some time"
Client: "Well, it has already taken too long...I can hear Mozart in the background. Maybe you need to go to a library to get some quiet and get it done fast. Visit the one you used yesterday."
Me: "Library?...Ah, I meant plugin...like, code...a library is a bunch of packaged code"5 -
Tutorial title: "build this app with this API from scratch!"
Tutorial content: "let's installthis library that does all for you"3 -
After work I wanted to come home and work on a project. I have a few ideas for a few things I want to do, so I started a Trello board with the ideas to start mapping things out. But there were guys redoing the kitchen tile and it was noisy as fuck. So I packed up and headed to the library.
So I get all set up, and start plugging away. Currently working on a database design for a project that is a form for some user data collection for my dad, for an internal company thing. I am not contracted for this - I just know the details so I am using it as a learning exercise. Anyway...
I'm fucking about in a VM in MySQL and I feel someone behind me. So I turn and it's this girl looking over my shoulder. She asks what I am doing, and it turned into a 2 hour conversation. She is only a few years older than me (21) but she was brilliant. She (unintentionally) made me feel SO stupid with her scope of knowledge and giant brain. I learned quite a bit from talking to her and she offered to help me further, if I liked.
And she was really cute. We exchanged phone numbers...16 -
Boy: I want to draw a door for my house drawing...
Teacher: Google it..
Boy: I found it. house-door.jpg. It seems popular. A lot of stars.
Teacher: download it, cut and paste to your paper.
Boy:Can I draw it myself?
Teacher: yes.. but this is easier, isn't it? Don't reinvent the wheel.
Boy: but, this door does not match with my french window.
Teacher: oh, integrate french windows with door? Try to search house-door-french-window.jpg. maybe someone already did something like that?8 -
Holy fuck, the state of npm
Question: "How do I make a GET request in NodeJS"
Accepted answer: "Use the http library it has built in get functions, its quite simple"
I FUCKING KID YOU NOT, THE NEXT 10 ANSWERS: Use this npm library, it's super great ;)22 -
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 -
Laziest thing!!!??? You better ask me when I was not lazy. Framework here framework there, library here library there.
npm install 29282818 packages
Bye -
That damn moment when you find out ... that ticket you spend a lot of time doing, well, there is a library for that.1
-
Studying in the library and just walked by a guy working on something in assembly. I want to be nosey, but he has a final this week (using a school library and they have extended finals hours). :(5
-
Red: Says the example does not use client library.
Blue: Uses client library.
Oh Google, what are you doing?4 -
Alright, so my previous rant got a way better response than I expected! (https://devrant.io/rants/832897)
Hereby the first project that I cannot seem to get started on too badly :/.
DISCLAIMER: I AM NOT PROMOTING PIRACY, I JUST CAN'T FIND A SUITABLE SERVICE WHICH HAS ALL THE MUSIC I WANT. I REGULARLY BUY ALBUMS. before everyone starts to go batshit crazy regarding piracy, this is legal in The Netherlands for personal use. I think that supporting the artists you love is very good and I actually regularly pay for albums and so on but:
- I want all the music from about every artist in my scene. Either on Deezer or on Spotify this is not available and I'm not gonna get them both (they both have about half of the music I want). Their services are awesome but I'm not going to pay for something if I can't listen to all the music I like, hell even some artists (on deezer mostly) only have half their music on there and it's mostly not better on Spotify.
- I'd happily buy all albums because I love supporting the artists I love but buying everything is just way too fucking much."Get a premium music streaming subscription!" - see the first point.
You can either agree or disagree with me but that's not what this rant is about so here we go:
The idea is to create a commandline program (basically only needs to be called by a cron job every day or so) which will check your favourite youtube (sorry, haven't found a suitable non-google youtube replacement yet) channels every day through a cronjob and look for new uploads. If there are, it will download them, convert them to MP3 or whatever music format you'd like and place them in the right folder. Example with a favourite artist of mine:
1. Script checks if there are any new uploads from Gearbox Digital (underground raw hardstyle label).
2. Script detects two new uploads.
3. Script downloads the files (I managed to get that done through the (linux only or also mac?) youtube-dl software) and converts them to mp3 in my case (through FFMPEG maybe?).
4. Script copies them to the music library folder but then the specific sub-folder for Gearbox Digital in this case.
You should be able to put as many channels in there as you want, I've tried this with the official YouTube Data API which worked pretty fine tbh (the data gathering through that API). The ideal case would be to work without API as youtube-dl and youtube-dlg do. This is just too complicated for me :).
So, thoughts?43 -
writing library code is hard.
there are sooo many details that go into writing good libraries:
designing intuitive and powerful apis
deciding good api option defaults, disallowing or warning for illegal operations
knowing when to throw, knowing when to warn/log
handling edge cases
having good code coverage with tests that doesn't suck shit, while ensuring thry don't take a hundred years to run
making the code easy to read, to maintain, robust
and also not vulnerable, which is probably the most overlooked quality.
"too many classes, too little classes"
the functions do too much it's hard to follow them
or the functions are so well abstracted, that every function has 1 line of code, resulting in code that is even harder to understand or debug (have fun drowning in those immense stack traces)
don't forget to be disciplined about the documentation.
most of these things are
deeply affected by the ecosystem, the tools of the language you're writing this in:
like 5 years ago I hated coding in nodejs, because I didn't know about linters, and now we have tools like eslint or babel, so it's more passable now
but now dealing with webpack/babel configs and plugins can literally obliterate your asshole.
some languages don't even have a stable line by line debugger (hard pass for me)
then there's also the several phases of the project:
you first conceive the idea, the api, and try to implement it, write some md's of usage examples.
as you do that, you iterate on the api, you notice that it could better, so you redesign it. once, twice, thrice.
so at that point you're spending days, weeks on this side project, and your boss is like "what the fuck are you doing right now?"
then, you reach fuckinnnnng 0.1.0, with a "frozen" api, put it on github with a shitton of badges like the badge whore you are.
then you drop it on forums, and slack communities and irc, and what do you get?
half of the community wants to ban you for doing self promotion
the other half thinks either
a) your library api is shitty
b) has no real need for it
c) "why reinvent the wheel bruh"
that's one scenario,
the other scenario is the project starts to get traction.
people start to star it and shit.
but now you have one peoblem you didn't have before: humans.
all sorts of shit:
people treating you like shit as if they were premium users.
people posting majestically written issues with titles like "people help, me no work, here" with bodies like "HAAAAAAAAAALP".
and if you have the blessing to work in the current js ecosystem, issues like "this doesn't work with esm, unpkg, cdnjs, babel, webpack, parcel, buble, A BROWSER".
with some occasional lunatic complaining about IE 4 having a very weird, obscure bug.
not the best prospect either.3 -
Rappers: "Yo dawg check out my mixtape!"
Programmers: "Hey have written this super cool JSON library..." -
Stop reading articles on which framework/library is better, pick one and start actually writing code.
... Only to then discover that this library is utterly broken and/or undocumented and you have to start over again.
GODDAMNIT JS I HATE YOUR ASS7 -
Once I was frustrated by a Javascript bug
So I Googled "Retarded JS'"
And holy fuckkk
I found a npm module 😁
Then I Googled "Asshole JS"
Holy mother of all fuckkks
I FOUND THE COOLEST JS LIBRARY EVER 😁😂9 -
Reactdev, what kind of ui library that usually you guys use and really easy to understand? Something like material ui, react-table or anything like that. I just need a really easy components library that I can use for small projects22
-
I'm not a windows fan or windows user but imagine if an user ran your java app in windows , your app could use special windows features like taskbar progress !
Now it's possible (on other OS's your app will run normally without these features). JTaskbarLib is my first java open source library. it can also change the window opacity in a decorated JFrame !
This is my project in github:
https://github.com/alireza6677/...2 -
you fucking idiots
why do you always base your library components on some dumbass clown fixed width / height system?
everything should be flex by default, anything else is absolute amateur clown town pile of dumbass horseshit...
...i'll brawl and take down anyone who says otherwise
you waste my time, you waste other's time, when everyone has to go hunting around for your stupid library's unorthodox way of styling
thanks again for wasting and making my evening a living hell7 -
When you spend 10 minutes searching for that library, and the default path is /usr/library instead of /usr/lib
-
I've been neglecting my 150 stars github library for the past month because I don't have time... Feel bad about it (9 open issues 1 nice pull request and one behind example library)2
-
1) Create UI library for iOS and Android with 5000+ stars on GitHub
2) Get noticed by Apple for library and interview and work there
3) Get married to my lovely girlfriend
4) Have kids
5) Fuck all yo truck stops and yo biznatch lisbetan asses1 -
HOW
FUCKING
HARD
IS
IT
TO
DOCUMENT
HOW
YOUR
LIBRARY
WORKS
ONE
EXAMPLE
FOR
A
FUCKING
POSTGRES
CLIENT
LIBRARY
IS
NOT
SUFFICIENT7 -
So a Developer not using a React-native component library because it is backed by Microsoft
This is next level shit
PS:- the library is actually pretty decent23 -
Using a library with a terrible API.
Manage to convince management to purchase new library.
Using new library.
Slowly creeps in that new library has a terrible API.1 -
Published my first Android library today!! It's not something big but I guess I reached a new milestone in my devlife today!!6
-
CMS: Library not detected
Me: Argh!
Check permissions
CMS: Library not detected
Me: Everytime, you F***er!
Download different version
CMS: Library not detect
Me: WTF!!!
20 minutes later....
...
wrong server😒3 -
Software Engineering in future is just "Framework of frameworks" or one could say.. "Library of Libraries"...2
-
>School librarian asks me about library pass design
" Hmm, i think we can put the course name below the student's name and such and putting the barcode where the course name was previously"
>SA who designed it agrees.
today was a good day -
*Me studying at the library*
*dead silence*
*A guy sits across the table with his laptop*
*starts typing*
KLICK KLACK KLICK KLACK KLICK KLACK KLACK KLICKITY KLACK
Inner Me: :-| *wth*
You couldn't type any more louder tha..
KLICK KLACK KLICK KLACK KLICK KLACK KLACK KLACK KLICKITY KLACK KLACK KLACK...
Maybe the big "Silence Please" sign doesn't count keyboard noises
His laptop had one of those soft touch keyboards, that no one would hear anything if you type on them.
I guess he was trying to be a pretentious hax0r or something lol
He left soon enough, so, that was fortunate.. 😅3 -
Wanted to use particles.js in my project aaaaaand I just learned the whole library O.O Time flies when you're having fun.
-
I just wrote a small tool to organize command line arguments in C++. Thouhgt that i'd share
https://github.com/Wittmaxi/...4 -
Not really a rant, but:
Me, programming in unity using C#: well if I add that library, My life will get a little bit easier, but the final APK will be 2MB heavier because of it.
WebDev who never used compiled programming languages: can't you just minify it?
Me:7 -
"Yesterday "
Client: ''Perfect! How did you do this do quickly? "
Me: "I used a library"
"Today "
Me: "I'm still debugging. It will take some time"
Client: "well, It has already taking too long.... I can hear Mozart in the background. Maybe you need to go to a library to get some quite and get it done fast. Visit the one you used yesterday. "
Me: "library?Ahh... I meant plug in like.... Code, a library is a bunch of packed code. "4 -
So apparently they're thinking of adding a lightweight graphics library to the c++ spec - opinions?5
-
Everytime I want to use a well recommended library which last commit was two years ago or longer i get suspicious2
-
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 -
Was fixing a bug and suddenly got an error that the lodash library could not be loaded. Funny, didn't even know the project used that lib. Looked for the reference and the previous dev used _.times instead of a for loop. Ha okay, interesting. Wonder where else this library is used.
Searched the whole project for references, dependencies, whatever, any sign of it. Fucking. Nothing.
Rewrote the _.times part as a simple for loop, then removed the library. The rest of the project still worked perfectly. Took me about a minute and a half.
Who the fuck uses an entire damn library to... Not write a for loop I guess?!7 -
I’m most proud of my first website. Just plain html and css. It was the first time I was introduced to GitHub too. I was taking a class at the library. The teacher was the best because she showed the students how to find resources for web development and told us to don’t bother looking at the out of date workbooks. The students were cool too. It was great to be in a small class and see people of different ages learning how to code.
-
I'm reinventing the wheel by making yet another neural network library. It's not any good yet but I learn as I go along.
The only documentation that exists now is the admittedly quite comprehensive code comments. I'm it because Keras (using TensorFlow) requires a 3.5 compute ability rating for CUDA acceleration (which I don't have) and it doesn't support OpenCL. Eventually, I will make my implementation support both with varying levels of acceleration for different compute capabilities with the oldest supported being my hardware. If I ever get around to it.
I'd say wish me luck but determination would be infinitely more useful.2 -
Never ever directly edit the source code of libraries.
Not to the smallest bit.
I just did that and forgot about it, then I wondered how a decent library like I used can produce such gobshite as it did. Several hours (!) later I discover my little "debug output" line in the library's source.
Goddammit I must have a well built table. And a well built head.2 -
I found this weird line in a library while debugging, though I really don't know php that well but wouldn't this condition return a boolean anyway?9
-
All the jQuery... in one single repository / website.
There is a good reason why we should use fucking CDNs.
Edit: Yes, these are different files in different folders.
Edit2: I've already deleted 2 other jQuery files (the library itself).4 -
When you work with other developers who would, for any feature, small or large, plop in a new library or framework of which they will utilize 1% of... I'm talking about things that we could develop in house in less than a day and have significantly less code bloat... and when you tell them this they smile, nod, and say yeah gotchu, and continue on... AND YOU HAVE TO MAINTAIN THE DAMN THING.1
-
Today, I made an event-based gamepad library.
Although, I was lazy. I am planning on only supporting one controller so the library only supports one controller at a time. Plus, it uses some global variables.
But still, kinda fun2 -
I can't for the life of me believe how anybody and fuck up a library so bad.
It's easily over a decade old and one of the core groups of libraries we use.
The abstractions suck so bad it's a pain trying to get anything to work.
What's worse is there's no future for it. Nobody dares to refactor this or some shit in a 20yo system might break. Fml1 -
Debugging your JavaScript Code for 2 hours and trying out every imaginable solution because it works on the demo page but not your site... and then you find out the fking library had a bug and the Readme.md contained a cdn link to an old version and the demo page was up to date... arrgghh2
-
That moment when you are using a third-party library and when you update the library it has breaking changes...2
-
So I just published my first npm library
Anyway couldn't think of any other people that would know the feelings.
https://github.com/pichardoJ/...
I'd love to get your feedback4 -
Someone found a shiny GPU library and asked us to support said library. We now support said library. Now they're finding out their hardware isn't supported by said library. And this is apparently now our problem...2
-
Well so after some fiddeling around, I managed to release a first preversion of my versatile Machine learning library for C++: https://github.com/Wittmaxi/...
I'd be more than happy to see people start using my Lib lol
In case you have ANY feedback, just open an issue ;) (feedback includes code review lol)2 -
Lead: I want you to make this library we wrote mockable, so that we can write better tests.
Coworker: Ok
...
Lead at the end of the day: How's it going with the library?
CO: Good, I have made all calls to the library mockable.
Lead: you mean inside the library, right?
CO: No, all calls to the library
Lead:3 -
I made test library a bit happier. Rainbows, fires and happy faces. Before the happy faces i had traditional dots. This is more cancer. I like it. My applications looks much more modern now.
The emoticon list is made by gpt but i've added a simple search function that finds an emoticon if you put a part of the description. It doesn't have to be exact. printf("%s",remo_get("books")) for example.
I need a life10 -
dependency injection is for pussies, real programmer downloads only required library files into tidy folders.2
-
I have started doing one hour coding challenges... I try to make small projects in that time.. I have felt improvement in my programming and thinking skills but I wanna know your opinions if I am doing the right thing for the long run?
language: python, arcade library.8 -
When your library trends on reddit, within 13 hours of launch
link: https://github.com/BobbleKeyboard/...2 -
That feeling when you find a library in GitHub that does everything you need but you see it hasn't been updated in more than two years... Just in case I answered a few issues, I hope I helped someone2
-
I fucking hate when people think they can do a better job not using a well tested library.
And then try justify why their code is better and quicker than using a library.1 -
PHP "str_pad" because it doesn't require a library, that would cause chaos when such a library is removed.2
-
Days since last issue from 3rd party library: 0
It doesn't get any better than this folks!
It just makes me even more joyful to know that said companies library earns them 1000x figures of what my company earns! Yay software! -
Recently I discovered p5.js library and I can't believe that I was writing hundred lines before to make a fcking interactive GUI. The best part: it's based on Processing.7
-
Hating on {LIBRARY} and telling people they are not real developers because they use {LIBRARY} = never cool10
-
Dont you just love spending like 2 hours playing around with a library and doing some math, on real pen and paper, only to find out the library had a function for what you need already there and available
:)3 -
I'm sick of a toxic soup of ways to test frontend.
Throw in vitest, jest,jsdom, testing library, @testing-library/jest-dom, together and you are left with n^2 ways things can be configured.
Why on earth do I need to import anything to do with Jest when I am working with a vitest project.
I think such tools are made to get invite opportunities to speak at conferences.8 -
Trying to install library on Windows
Won't work
Restart, boot into Linux
Try to install same library
Won't work
....
Restart, boot back into Windows -
Just created a tiny (not yet stable) selector library that allows you to change properties on multiple elements just like you would do on a single one. It also has some more useful features. https://github.com/kosimst/kazel
Still in development, but prototype should work. What do you think?6 -
If there's one thing I'd gladly kill with fire, then pass it over a steamy steamroller, then burn it a tank of hot fluoroantimonic acid, is every fucking Java library that returns null instead of throwing a meaningful exception.
Is it really that difficult for you to throw an exception anyway, then let ME figure out if I can ignore it or not?
Thanks to you, now I have to do super messy reflection things just to figure why did you return a null.
I'm not your fucking psychologist trying to pull your inner secrets. But I have to be, for the sake of stability of my app. Which already has its own mess of problems on its own.7 -
Which JavaScript library guys are using? React or Vue? Or any other?
Writing React + Redux needs lot of boiler plate code :(13 -
By far, the worst docs I've read was for a library I used to use for almost every project. I didn't really have to look at the docs because I knew the ins and outs of it. Time went by and I stopped using the library. I came back to a project that used that library, and I had the hardest time figuring out what was going on.
It was a library I wrote :/
I got much better at documentation after that. I started doing DDD (Document Driven Development) because many developer's first experiences with libraries are with the documentation. It allowed me to interact with my library before I even started development. -
One thing I have truly learned from software development is DON'T REINVENT THE WHEEL. Someone out there may have already implemented such functionalities and if the library is missing something a PR is always welcomed! (Obviously taking about open source libraries)6
-
My companys custom logging library is not thread safe and has problems with multiple instances of the endproduct as well.1
-
Am I alone in writing libraries in my time off work with the intent to use that library at work to avoid my company owning that library?3
-
Started an open source css library, consisting of class based animations
Check it out and please suggest some points to make it more better.
VOV.CSS
https://github.com/vaibhav111tandon...4 -
Ok people told me to make a collision library...um really stupid question but I’ve never tried that or thought of it. Thank you in advance but does anyone want to point me toward some nice resources... THANKS also I did ye classic aliases sudo to fucking6
-
The creator of this library logs error which makes me feel like a Shaolin Monk reading a scroll...
I shall now head towards that direction. Thank you master Shiva 🙏1 -
Ok so one of the advantages of Java is that it has a huge ecosystem of libraries.
Then why is there no fucking decent graph library?! I just need to display this planar graph. I'm so fucking close to learning c++ and using boost to layout the graph.
I'm seriously stuck with this since like a week.
FUUUUUCK10 -
* talking with coworker about how to use a certain library *
* other coworker comes in *
"Oh I have experience in that library. Perhaps I could help"
* we explain our problem *
"Hmmm yeah, you should probably refer to the docs."
Helpful 1000!3 -
What is your Favorite library that you always try to include in your code?
1)Logger
2)Sockets
3)Error Hanlders
4)Other if so mention what is that Library
The above question is for any programming language9 -
when the pm chooses a js library but says can you just change this... either accept the library as you chose it or give a proper spec to write it from scratch
-
Hey, I want to name a library of mine something like "San'stools" So it's like "the tools from San" but it can also be "San's stools".
I looked up if stools meant what I thought it meant, little seat stuff, but apparently it's also dump...
Would it be too disgusting? Should I use another name?
How often is the word stool used to refer to... you know...?6 -
!rant
So, I've been working on a new project, it's basically a java library/package/jar with a lotta nice gadgets and stuff in.
The current functionality is limited, but will expand more as time goes on.
Right now it's able to:
apply ARGB filters to images (changing ARGB values), save objects in files on disk(Serializer/Deserializer), send emails with working create/load/unload configuration-system which saves a user-config to a file, loads and works with it, but the most coolest thing...
random char generation MY GOOOODDD
yea just wanted to post this cuz im rly proud2 -
I don't know if I should feel raged about the fact that the author of a library has rewritten the library from the scratch and it's totally different from the previous version.
I mean I get it, it's nicer to work with right now, but I used the previous version of the lib and there's almost no way I can upgrade right now without spending months after this. This is so fraustrating!1 -
Any good async (if possible, also pipeline based) Networking libraries for C++ on Linux? I want to create a small Server which should be able to handle a big amount of TCP connections (~500) at the same time, using threadpools maybe, something like Netty for Java would be the best.9
-
Finally my android library is up on Android-arsenal, feel free to use it like you please :P
https://android-arsenal.com/details...5 -
MFW I worked longer than 8 hours because of a weird bug that turned out to be caused by lack of typing in a third-party library. Was supposed to be a number but I was giving it a string 🤦♀️Need more sleep.
The funniest part is the library was written in Typescript. HmmMMMMmm...
Throw a `parseInt` or warning for wrong type in there for me, fellow devs! Save consumers of your library a headache!! -
Hey guys, quick one.
Frontend guys,
I need some CSS library that I can use for project I need do ASAP.
I have +- 1h to learn it, I need frontend and I need it NOW. It can be ugly. Prefered flex grid or sth along these lines. But please, if it has more than 15 minutes of reading through doc's its disqualified.
Any suggestions?
Im backend guy and know no shit about frontend.
NoJs. No Jquery. No JS. Nope. Im not having time for any line of shenanigans of JS.
Thx; peace.26 -
Just finished my neural network library.
The library is written in C# and easy to use. This is my first publicly available library, so constructive criticism is need :)
https://github.com/BitPhinix/...2 -
Found this interesting JS library, JSONPath. Seems great except that the examples are pretty useleless.7
-
what is the weirdest thing (library, framework, code snippet) in your opinion which you've used in production?
we are using a library that on every exception prints for us URL to StackOverflow related problem in the logs2 -
Only upgraded a library by one MINOR version (0.24.0 to 0.25.0) then my tests going all RED! And it's google.
Yea so I just pin my requirements.txt to previous version.
Non backward-compatible library is so annoying.2 -
This is stupid, how am I supposed to show my work projects in my portfolio if my boss insists on using a fucking non responsive css library.1
-
hey guys I am planning to make my first open source project(more like a library) but I am afraid that my library won't even get attention so what you guys say is it worth a time . You know it would be great if you can say something about how was it like when you released an open source library .Thanks for the help community. 😄11
-
I helped my friend today with debugging his code (he was using some obscure library and had troubles with it). After few hours, I asked him for the Github link to the lib's repo and when he went to grab it, he said:
Wait, there is an user manual!
Well, fuck you too... -
The c++ 'Eigen' library. It is by far the best library if you're in need of maths constructs, speed wise. And the only maths library that has an API that isn't a pain to use.6
-
When you want to use an industry proven open source library like Quartz for a task, but your company insists you use the broken, unreliable, proprietary library that they had a bunch of barely computer literate off shore resources create.
Fuck my life. -
Question:
Should I make my own JS library/framework to make my work go faster, I would put the most used code in this library2 -
Dear colleagues, could you please recommend your preferred HTML to DOCX conversion library for PHP?
I really don't have 200$+ to spare for a library.3 -
What's your most liked and most disliked language feature (not standard library feature) and why?12
-
!rant
This might seem like a déjà vue but is there any tools/services or even infographics that helps in choosing a library/framework depending on the requirements/goals of a project ? (This is mainly for JS but, I'm open to any computer languages)2 -
❤ Deno's importmaps and wanted
to write a template for the standard
library to not have to copy the
urls all the time, so here it is:
https://github.com/DenoAndFriends/...8 -
So when writing golang code, you can put alias into the imported library
And one of interns in my office include include our company's library called "helper/session", and alias it with 'hSession'
Now all the code which use that library has to look like "hSession.ErrUnexpected", "hSession.NewSession"
Well, i think i've played too much VN and anime, but still i'm having a good laugh when doing the code review -
Ok, I'm starting with C++, I want to do a couple of things without reinventing the wheel
I want to parse flags passed to my soft… — Use Boost
Ok, now I want to do some checks about filepa… — Use Boost
What about getting a file size without having to pull my hair out ? BOOST
Alright, Boost is actually the jQuery of C++, right ?8 -
I wanted to continue working on my project at my grandparents house, using my laptop.
I've pushed the most recent code, but what I didn't push was the recent commits I made in my helper library...
I was updating and using the library locally and now I have a dependency on ../library name. Great job me3 -
TypeScript types are fun. Problem is: the check is compile-time only.
I just wasted an hour not understanding that an integer passed from command line was actually getting transmitted as a string. The library, where that value landed as parameter, happily ignored the non-matching type and worked as if the value has not been set at all!
Dear library maintainer, please enforce your parameter types! Throw an error right into my face saying I shall not pass anything but an integer! Don't just continue to work to produce false output correctly. Thank you!
Dear TypeScript, I really want type checks on runtime.
Dear JavaScript: Why did you ever think loose types were a good idea? (And I say that as a PHP developer as well.)2 -
So... I need to implement something from a spec based on a set of standards that use another set of standards based on IETF RFC.
Decide to use a library that implements the original specs. Nothing works.
Read through all of the specs, researched the standards they used, read the RFCs.
Turns out the library doesn't implement the specs properly. Looks like I'll still have to implement my own.
🙄 -
Why in gods name does compiling for windows change the name of a function?? this is a function in *my* library and it doesn't have the text `erom_text` anywhere in the library???2
-
Framework Style Guide:
"When extending this library, please refrain from exposing too many arguments for the stages in your pipeline. Everything that could be fixed or inferred should not require additional configuration. "
Real life:
"Adjust every fucking knob and screw to stupidly specific settings for each and every use case or gravity itself will stop working. Heed this warning for you will not have another chance. "
That's it. More a vent than a rant. -
After working 48 hours with d3.js library and withing hundred times :
g.append("g")
a question arise:
Is this library developed by woman?
Is there a relation between G-spot and d3.js?2 -
A JS framework and a library that combines all the respective JS frameworks and libraries into one single framework and library.
-
When I implemented a supplier's library, I noticed my app froze every time I called that library. I then asked the suppliers if they were doing any heavy stuff on the main thread and they told me they weren't.
Luckily, they were "right", StrictMode told me they were only dumping a whole log file... -
What do you name a library that just expands upon an existing library?
As in, it has the same functionality, but just goes about it in a different way to make it nicer to work with
Don't want to just prefix it with "better-" or something since a) that's probably subjective and b) it's a bit on the arrogant side9 -
Rust noob Q:
Given x a variable on the heap, e.g.
let x = String::from("Hello, devRant!");
Then, given some function that I didn't write (from a library) that takes ownership of its argument:
fn some_function(y: String) -> bool { ... }
How would you handle this situation:
if some_function(x) {
another_function(x); // not ok, because x has gone out of scope in the line before
}
Is it idiomatic to just clone() x in the first call? That seems bad practice, because it's the second (or some other additional) call that needs x. What should I be doing instead?8 -
We are using a camera in a practical course of image processing on the college. That camera has it's own library to communicate with it so i tried to download the library so i can prepare for the course
It took like 10 minutes to find out that the library is only given to buyers.
In the package with the camera is a password which you need to download the library. Even the documentation is behind that stupid "pay"-wall.
Yeah, your library can only talk to your cameras so i need one of the cameras to use it so why is the library and the complete documentation of it not public?!
Eventually i copied all of it from the college computers.
Maybe i'm just too spoiled with the broad availability of OSS ... -
Any cool buttons and inputs CSS library?
I just need cool / elegant / nice buttons and inputs. If it has some image niceties or something else it's ok.
I did little Googling, ngl; I'll look a bit more later in the day, but I figured maybe someone here may have something interesting to comment.8 -
Suppose you wrote a library for some purpose in a language. How do you get other devs to use it? How does it become known among the devs, assuming it follows proper language guidelines and fulfills it's purpose?2
-
If I create a library in Java, that is cache but auto-refreshes your data on regular intervals, totally configurable in terms of frequency of auto refresh and number of background threads used so as to reduce latency when you actually need data; will it be useful?
So currently, Guava cache has the feature to refresh only after you actually try to read data, which can actually be troublesome for a high QPS system.
I personally had this use-case, and wondered if there's anything existing (couldn't find, so wrote for my personal use case) and if it is an actual use case worth a library.10 -
I was going to say Adminer, but apparently VirtualBox too. I don't know which one I use more.
Also, my own library for DOM manipulation. -
My first writeup on medium.
hope it helps you to build npm ready angular library components
“How to built npm ready component library with Angular” https://medium.com/@mohanramphp/...
Please give claps for visibility1 -
Bold of me to assume that a project that solely exists as an example on how to use a library would include said library in the download.
(In the project file structure already exists a folder for libraries and in it was a folder with the name of the library. And I of course didn't check if the [library name] folder contained any files)1 -
Can anybody recommed a simple UI-Library for React? Can't evaluate them because I've never used one.
And please no Bootstrap-stuff, I have seen too much of it.12 -
Hope you guys dont mind me asking this here. Does anyone know what library this datetimepicker is using?2
-
Ok fuck everything, I will not work today nothing is fucking working, the feature that I implemented easily in the last app, is harder to implement now because of the new version of the library. Even the old and same version of the library I used in the previous app is not compatible with the new version of the framework. What a freaking horrible development experience we are getting into. Developing should become easier not harder mother fucking library developers, should I write my own library now? fuck you, and fml too.
-
Currently dealing with a very bad and limited Library for scheduling taking into consideration that the CEO insists on using it for no reason.
instead, he could use an open source library for free and could provide more features. -
I swear to god dio and dart's http client is so fucking stupid. I can barely do something in 90 lines to get a web resource when I can do it in 10 with python's requests library. The support for storing cookies is nonexistent, and even with CookieJar/Dio I still need some stupid long hack like this:
https://stackoverflow.com/a/...
The worst thing is that this has happened twice now, the first time I resolved after a long fucking time trying to solve it, and now I have the same exact problem again, but I can't just simply copy my solution from last time to use in the latest problem.
Even curl is more useful than whatever the hell the http client for dart is1 -
A Retrofit 2 converter library for GraphQL. Now we can simply do graphql queries over rest by writing less lines of code.
Checkout the git repo https://t.co/8cGsD3gM6T and my medium article. https://medium.com/@ramkishorevit/....1 -
First chart library:
Perfect, but when you hide it, change tabs, come back and show them they freaking explode. Stupid bug, not ideal, I don't have time for this, move on.
Second chart library:
Cool, cute, but why doesn't it update? Wait, why did this one disappear? Why doesn't it ever appear again? Wtf? It's just like the others...
Do I really have to make my own chart library?1 -
Hi dev!, how do you deal with the dilemma of choosing between using a library (gem, package, plugins...) to implement a solution or building from scratch...
Use case: you are working on project x, you need to implement a feature, but stuck between importing a library ( however you will need to customize the library to fit in requirement) and building feature from scratch ( this may take you more time but you have more control).
I have been in both scenarios, whereby I use a library but spent 2 days on customizing, only for me to discard it and implement feature within 2 hours.
I had been in a situation where I build the feature from scratch, only to discover, a one-liner from a library could have saved me hours and whole stress.
I NEED YOUR EXPERIENCE.
THANKS IN ADVANCE4 -
Made a tiny library to ease ViewModel (from Architecture Components) instantiation through the help of annotation processing. https://github.com/MrHadiSatrio/.... Please have a look and tell me how do you like/hate it! :D
-
the worst thing it can happen to something starting is to test everything that come, every new libraries, every new software, it end by knowing many things without sufficient knowledge in any of them, to able you to achieve your project,
-
Okay say I'm compiling a windows binary but I need to call a function from a linux library when running on cygwin. How would one go about doing this? Does it even make sense?
My idea is compiling a dll with one function that links against the linux lib and calls the function. Then just load the dll when needed.
Kinda new to linking stuff so any input is appreciated2 -
Alright lads and lasses, I need a charting library!
I've narrowed it down to the following popular libraries:
- victory
- recharts
- nivo
- react-vis
I think I'm leaning towards victory and recharts since they are d3 based... because <3 SVG
Even more so victory since they have a near identical React Native package...
Would love to hear any battle stories from the front lines and experience using any of these libraries, or even a completely different one I may have missed!
inb4 "mAkE iT fRoM sCrAtCh"
inb4 "hAhA rEaCt SuCkS"
Such comments will be downvoted with impunity!4 -
Hi guys, i have been addicted in linux and play around it these few days.
There is an issue, for system call and library call, which one can process faster? For example, fread() and read()
I know the different between them, but in term of processed speed, i cant find the answer from google -
I need an open source library /package or any addons to implement the given functionality. Its consist of tinder like swiping for clicks. Sadly i coudlnt get any. I thought about angular animations. But didnt implement any. Each card has each questions for clients. Let me know your findings3
-
What's a good place to telecommute from besides home? Starbuck's? McDonald's? Library? Beach? Park?4
-
There is no perfect library for you
Recently I tried to update a very old hobby project by adding new features, but sadly in my case these features depended big on an external library, and because of how this library handle their things I just can't make it work for my use case cuz again how the library works, at the end I removed the library and installed anther one that solved my case
Now I will make clear that I'm not blaming anyone here, not even me, devs that creates free libraries created the library for their use case in the first place and then thanks also to contributors (library users) that library became good for the common use cases, it just time that will tell if the library will keep with the updates and not breaking things
So we should be very thankful for the devs that creates free open source projects that tries to make the devs life easier -
-----------------------------------------------
Which is your favourite open source library?
-----------------------------------------------8 -
Does anyone know how to create a command on a npm library that download the files in root folder?
Like 'create-react-app'.2 -
Sometime I want to name a library "ABC" or "XYZ" just to make a heck out of it.And make it popular enough just for confusion. So they will be like the "ABC" here , is that a placeholder or a library name?6
-
Hey Folks,
Does anyone use React Testing Library for Unit testing React components?
If yes, how do you imitate the user event "CTRL + B"? -
Rant.
I hate premade code/libraries fucking fuck some library decisions should be a question criteria for any interview. I would like to know the thought process you involved on why you chose a particular library. Fuuuuuuuuuuccccccckk the frustrations.
Thanks have a good day. :)2 -
Kernel Simulator has its own Forecast library (implemented by me) and stole it! Anybody should be able to use this particular library without having to deal with the rest of the "master app."
DIVORCE!!!1 -
I have a Java project at work that now has some library that's using some other library that has a security issue. We have a scan during the TeamCity build that detects it but error message contains the exact library with the issue. But not the one that defined in the pom. So I can't tell from the error which pom dependency needs to be replaced.
Is there a way to get the full dependency tree?