Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "apis"
Developed a Cordova apk for a guy.
When i sent him he ran away without paying me.
I stopped the server and blocked the apis used inside.
Lol and within 30 minutes i got the payment.24
Why do APIs return an error with HTTP 200 (success) as the response type?!
It's like saying:
"Hey, congrats! You've successfully failed."26
Me: Wanna see this website I built this weekend?
Friend: Yeah, sure.
Me: I connected a bunch of APIs so you can snap a photo of yourself and get a recommended song based on your facial expression. Pretty cool, right?
Friend: *thinking* ... I think you should change the size of that button, and the colors are pretty bad, dude.
Every time I show my non-tech friends anything I get this kind of feedback :/19
Shared screen with a client over Skype. Showed them in Postman that their API wasn't working as expected. It was expecting a json. Instead it was giving error code 400 instead of 200.
"Error: No error. All OK"
I'll never forget the words of the client:
"Don't use all this fancy software, you don't know how to call APIs, open Internet Explorer or chrome and paste it in the bar. You'll see All OK, means all is okay."
*insert you dense mf meme here*15
SERIOUSLY: FUCK YOU PAYPAL...
🖕For your 500 Apis that seemingly do the same fucking thing
🖕For your fucking Webhooks that get dispatched every fucking century
🖕For needing a fucking degree in PayPal sciences to understand which fees apply and when
🖕For doc links that seemingly lead to nowhere
🖕For having to plow through 500 pages on your fucking retarded website to be able to execute or receive a fucking payment
🖕For your casual internal server errors
🖕For your fucking ancient sandbox account design and dysfunctional features therein
Making payments is not fucking rocket science you fucking cunts.
*me, coding at a pub*
*random dude walks up to me*
He: "what are you doing? Programming? What?"
Me: "yup. That's a horizontally and vertically scalable webservice, that's using amqp, rest APIs and encryption to schedule starting, stopping and autoscaling of a total of 90 heroku applications. This webinterface *showing* allows you to trigger starts and stops manually and monitor all processes."
He: "oh, so you are programming a Website? In HTML?"
Me: "euhm........ Yes."
I understand this dude had probably no clue what I was talking about.. Yet I am angry at him. Reducing more than 12k loc to HTML... Go fuck yourself.22
The best APIs are the ones which aren't versioned and completely change key features overnight.
Woke up this morning to three broken client apps. Yay.2
It happened to one of my friend at work place.
So my friend is a UI developer and was working on a super critical project with very tight deadline. He was waiting for design team to give him mocks and web api team for giving Apis, so he can start his work. Now there are 4 days left for deadline and none of the parties are ready with their work, and my friend is sitting idle. Management is getting anxious day by day. So one program management lady called him the weak link in the standup meeting and started putting blame on him for the delay in the project. Guy tried to explain that it's not his fault and he is stuck. But that lady was not in a mood to listen.
Now come the next day, in morning he got the design ready and complete Apis from other teams. That day he missed the standup meeting, worked whole night and completed the work with two days remaining for deadline. He went to standup meeting after completing the work, and when the turn came for him to give his status, he started with "the weak link has finished the work". There was a pin drop silent in the room. He continued to give his update like this for next couple of days. And finally that lady was forced to apologize in meeting room by him.7
You know what's funny?
Being called Jason.
Developers when talking about APIs and similar stuff: "So if you connect to our API you can get XML or JSON-" <pause>
<looks at me with a smirk like "haha! JSON/JASON LOL!">
<I gently smile like saying "yes. yes. I know. Thank you">
Since everybody is posting a picture of their hardware and DE here's mine!
Xiaomi notebook air 13 with Elementary OS
i5-6200U @2.8 GHz
NVIDIA GeForce 940MX
8 GB DDR4 Ram
256 PCIe SSD
1) get an idea for a cool app
2) evaluate feasibility and execution
3) ensure accessible data streams and APIs
4) get excited and realize the idea is doable
5) see someone has done that exact thing and it's already published on the Appstore :/11
First rant here. Long, but please bear with me:
So after slogging my ass off in various early stage startups for over 4 years and keeping up with the almost non-existent development process, I joined an organisation which has some of the brightest and smartest minds I have had the pleasure to work with.
Mind you, this company is the market leader in it's field and has a 50+ people in it's tech team and the quality of work is pretty impressive.
Now for this week's sprint, I was asked to develop a feature which already exists on the Android app and they want to introduce in the iOS app too. The backend APIs are all in place and all I need to do is build it with virtually no dependency. My PM asks me to start with the UI and ask the backend dev for the API list whenever I need them.This is where the story turns.
For my first API, I go to the backend dev and ask him to share the API documentation and he looks at me as if I have asked him to dance the fucking cha cha. With a straight face he tells me that, 'The organisation doesn't maintain any kind of documentation for it's APIs.' Now this really shocks me. Even in a 5 men tech teams I have worked on, we have always maintained a spec doc for the APIs and this is a company which is known for it's tech practices.
Being the new guy I compose myself and ask if they have anything for me here: Postman collection, a workflowy doc, a goddamn txt file; anything which might help me, and he laughs at my dilusion and says no.
Dejected, I ask for a way to get the APIs and I am told that there are only two ways: either I keep bothering the Android dev for the APIs(No, I don't have the access to the android repo and nor am I gonna get it) which he had worked on 4 months back or I install the prod app on my phone, and use Charles to get every fucking API which is really, really annoying.
I thought writing out this rant would make me feel better, turns out it just made me angrier. Why the fuck can't they document such an important thing!?12
No, not as e-mail or for privacy reasons. Sure, that too, but it comes with "free" stuff.
It sucks because it's breaking every possible record in the worst, shittiest, most insanely stupid APIs and integrations out there on the entire fucking planet!
It is comically stupid!
Aside from their LOVE of hard-deprecating APIs every few months, requiring constant, time consuming maintenance of every tool that integrates deeply with Google services, some of their APIs, for expensive stuff, look like they've been written by Bobby McFartface from 7th grade.
Take a look at DoubleClick Search (their ad performance reporting tool, that sure does sound like one). To upload custom, additional data, you must pass in a ton of parameter, and they REQUIRE some of them to have a specific, hardcoded value. What's the point in passing that parameter then you dickheads?!
But fine, so you uploaded some stuff using the API. Now you want to delete everything and try again after you fixed a bug - well you fucking CAN'T! You can't delete stuff, you can only mark them as "deleted" using an update call.
Bulk operations? Fuck no!
Can I just add on top? Well of course not! That will raise a ton of exceptions. Same message should be transmitted using the PUT, not POST request, in order to edit.
Can I send everything to PUT? Of course not! You can't edit something that's not there, dummy!
Can I see what's there so that I can update it, and add what's missing?
Well of course not! Why on Earth would you need to see what information is in there after you uploaded it? Who needs that anyway?
Simply send, pray, and hope that everything will be fine (it will not).
Like holy fucking crap, it can't get any more stupid!
Google is a huge pile of idiots who feed on only a single cow - the search engine.
It's times like these when I think that Google right now is the worst thing that exists for everyone in tech. It's dragging everyone down with their monopolies everywhere and complete idiocy in managing them.6
So Twitter apparently used http status code "420 - Enhance your calm" to notify the client that it was sending too many requests (basically chill the **** out). Note the status code number as well 😁
Image from wikipedia.4
A programmer once explained Nietzsche like this:
A long time ago, god created the world, but forgot to leave a developer documentation, thus the whole world was like legacy code...
And humans are like the end user of this world, and some among them spent time studying it, using the Moral API, hoping to get a result of "http 200 ok" from our world for the peace of mind. But the true operation of this world is still yet unknown...
As time passes, humans begin to find that in Moral API, good and evil are two base classes, and all the other moral properties (like ethic, justice and stuff) are just other classes based on those two classes through multiple inheritance.
One day, when programmer Nietzsche was observing the world's runtime behavior, he came up with a question:
"Did god really use good and evil as base classes? Could it be that they are actually derived classes?"
Most of the world is currently in the favor of mankind, and god must've wrote individual user cases for it's end users, he thought.
This made Nietzsche thinking: if end users are considered into two cases: the strong and the weak, how would the world be designed base on its user story?
Let's think about the strong, they can bully the weak as they please, and there's nothing the weak can do to stop them. In this case whether the Moral API exists or not doesn't fulfill the need of the strong.
But when it comes to the weak, Nietzsche thinks that because the weak cannot fight the strong, they need to belittle bullying and praise the strong for being nice. When the weak does this, it covers their powerless state to some extent, making them look somehow equal to the strong by being capable of commenting.
God might have coded the Moral API to fit the weak's requirement, also adding some public methods for the weak to comment on the strong. If the strong takes care of the weak, they call him nice and good, if the strong bullies people, they call him bad and evil.
That's when Nietzsche realized, that good and evil are both derived classes from the weak, and the base class should be the strong and the weak.
Then he started a series of studies about the Moral API, and got some thesis that persuaded lots of other end users...7
Do you know what annoys the living fuck out of me?
Me: may I tell?
Me: yes, please do!
Me: okay here we go:
Sites which use Google fonts or apis or ajax or other Google-hosted libraries.
It takes fucking ages to load those sites (if they lost et-all) since I block as much as possible from that cocksucking mass surveillance network.
Google, feel free to die in a fucking corner while getting an acid shower and being stripped of your skin layer by layer, as slow as possible to increase the pain and suffering.19
Long story short, I'm unofficially the hacker at our office... Story time!
So I was hired three months ago to work for my current company, and after the three weeks of training I got assigned a project with an architect (who only works on the project very occasionally). I was tasked with revamping and implementing new features for an existing API, some of the code dated back to 2013. (important, keep this in mind)
So at one point I was testing the existing endpoints, because part of the project was automating tests using postman, and I saw something sketchy. So very sketchy. The method I was looking at took a POJO as an argument, extracted the ID of the user from it, looked the user up, and then updated the info of the looked up user with the POJO. So I tried sending a JSON with the info of my user, but the ID of another user. And voila, I overwrote his data.
Once I reported this (which took a while to be taken seriously because I was so new) I found out that this might be useful for sysadmins to have, so it wasn't completely horrible. However, the endpoint required no Auth to use. An anonymous curl request could overwrite any users data.
As this mess unfolded and we notified the higher ups, another architect jumped in to fix the mess and we found that you could also fetch the data of any user by knowing his ID, and overwrite his credit/debit cards. And well, the ID of the users were alphanumerical strings, which I thought would make it harder to abuse, but then realized all the IDs were sequentially generated... Again, these endpoints required no authentication.
So anyways. Panic ensued, systems people at HQ had to work that weekend, two hot fixes had to be delivered, and now they think I'm a hacker... I did go on to discover some other vulnerabilities, but nothing major.
It still amsues me they think I'm a hacker 😂😂 when I know about as much about hacking as the next guy at the office, but anyways, makes for a good story and I laugh every time I hear them call me a hacker. The whole thing was pretty amusing, they supposedly have security audits and QA, but for five years, these massive security holes went undetected... And our client is a massive company in my country... So, let's hope no one found it before I did.6
Susan, where are the fucking API docs?
There ar no FUCKING documentations for all our APIs????15
I noticed at our company we have 4 kind of developers:
1. Developer who can do psd>html, write some custom js code, put templates on cms... He usually doesnt care about the code. We call them just frontend developers.
2. Developer who work with frontend frameworks, can create SPA, knows a little backend, can code APIs... - Superstar frontend developer.
3. Developer who knows both frontend and backend and can create websites without anyones help. Full stack developer.
4. Full stack developer who does everything above + does mobile app development, IOT dev, cybersecurity, servers setup and gets paid like the first one. Hello, its me.4
On the job 😊. Told them I could code in the interview... and they believed me.
Now I'm our Director of Technology, and spend at least 8 hours a day building everything from GraphQL APIs to Electron apps. It's been an awesome journey!2
“We want to make a marketplace”
“We need an ordering system”
“We need the system so that our partners (company that sells the products) can easily plug and play into our system”
Soo, have you any idea on how the flow should be?
[our current app]
[the thing you will build]
[partner’s web app]
Eehh, what’s the [...] ?
“Dunno, whatever it is, people obviously, to monitor and manage the orders”
Aand why do we need people in there?
“Because our partners doesn’t have any APIs that we can use”
I’ll try to get this straight,
You guys want to make a marketplace, but the partners’ system doesn’t support what you want and doesn’t have any APIs we can use, so we make some kind of admin system, that “someone” will use and manage it,
So when a user put an order from our app, it will show in the admin interface, then “someone” will manually direct the order to the partners’ system, and manually update it including tracking the whole transaction?
I can’t explain it better, but basically the last paragraph sums it up, am I an idiot for assuming that these guys are idiots?11
There is this service that I want to use (wont name it for privacy/legal reasons) and I have created a trial account which gives me a limited access to their apis. However the usage is where things are interesting.
The api access is restricted to some 1000 calls per trial account. But also they have a explorer option which lets to have the functionality as a web app like a dashboard and the explorer usage has unlimited access.
Now since I didnt want to exhaust my api limit, I let my service call the explorer apis instead. Is this ethically wrong or it is the fault of the service providers that they have such a big gaping hole in their licensing?8
FUCKING TELEGRAM FUCK YOU STAY IN YOUR FUCKING API DOCUMENTATION AND STOP FUCKING TESTING YOUR SHIT ON A PRODUCTION SYSTEM WHY WOULD YOU DO THAT FUCK OFF WHY AM I EVEN DEVELOPING SHIT FOR YOUR PLATFORM ANYMORE WHEN FOLLOWING YOUR DOCUMENTATION LEADS TO FUCKING ERRORS AND WE HAVE TO DECOMPILE AND REVERSE ENGINEER YOUR FUCKING "OPEN SOURCE" APPS BECAUSE YOU DONT EVEN BOTHER TO FUCKING UPDATE THE SOURCE CODE ONCE A YEAR WHAT THE FUCK
Thank you for your attention7
Best: My first app for Windows 10, "devRant unofficial".
Worst: A website for a client using Facebook APIs which don't want to work properly.4
What about the REST?5
I recently interviewed for a job at company where I had 20 minutes to code a solution in python (whose standard library I know nothing about) to a question, which also included googling certain finance-related APIs, with not one but two technical interviewers looking over my shoulder THE ENTIRE TIME.9
FUCK DEVS WHO DO NOT ACTUALLY LIKE CODING AND JUST DO IT FOR THE MONEY. YOU IDIOTS(or at least 17 of you) ARE RESPONSIBLE FOR THE UTTER GARBAGE SPAGHETTI I'M DEALING WITH!
GO DIE IN HELL YOU MOTHERFUCKERS, CODE FROM PASSION NOT JUST FOR MONEY OR YOU'LL GET DUCKTAPED FLAMING PILES OF JENGA GARBAGE YOU CALL APIs!
COME TO ME RIGHT NOW, WHERE YOU'LL SUCK MY DICK, BEFORE I'LL KILL YOU WITH A CACTUS AND BLEACH.
OH, AND DON'T BEG FOR ANYONE FOR MERCY, YOU'LL GET NOTHING!16
I kinda wish they called programming lanuages programming dialects
I feel like im still writing in English, the message I am trying to convey to the computer is the same. To me they all just have different accents and ways about doing things4
Just saw an advert with the tag line similar to "An API built by developers, for developers"
Which makes me wonder. Do non-devs build APIs? How does that work?
The same to using APIs. Surely some dev knowledge/experience is required?5
Friend: Hey, so what do you do?
Me: I build backend systems and apis. I work with java/mongodb. I dable into some elixir and kotlin on my free time.
Friend: Cool, can you build me an Android app?11
1. Pre-sales to Client: We can develop 200 APIs with 10 developers in 9 months.
2. Client: Ok! Cool, its a deal.
-- Sprint starts --
3. Actual: We are 6 developers, commited (or sold out) to make 200 APIs in 9 months.
TPM decide to upgrade all our servers at once Friday night and didn’t bother with any smoke checks. This is what our APIs looked like Monday morning.4
"You've been working on this for 6 weeks, and I don't see any changes. What have you done?"
"I completely overhauled the backend, now everything makes more sense and we're using more modern APIs"
"But nothing's changed at all! The front-end looks exactly the same!!"
"*sigh* The new backend is also more secure.. "
"Oh, so it's a security upgrade, that's good, but why did it take six weeks?"
Since I am feeling a bit better but I still don't have to go to school I've decided to spend my free time with learning something new. I thought it would be a good idea to make my own devrant apis while learning gui programming. I literally just managed to add one button which is positioned like a retard. Also I couldn't figure out why my grid positioning wasn't working. After 1 hour I somehow managed to solve it and this little label which i forgot exists appeared.15
Fucking IT and their self signed corporate proxy SSL bullshit getting in the way of anything that needs to verify SSL requests,
Fuck you for making my day a slow and miserable day and having to resort to forcing rest apis and SDKs to work over HTTP instead, all in the name of “Security”.2
BE FUCKING PRODUCTIVE! A simple project to keep you from using social media and other timewasters while you should be working on something12
Dear Google, please notify devs before you overhaul apis in Android, I hate updating my api level and then my code won't build, this ia extremely shitty, where I have to now update random Android code because of deprecated apis, Shit Google.3
I did my first internship at a small start-up.
It was a part time internship, sort of mixture of work from home and office visits.
During the interview, they just saw my projects on GitHub ( not even a small discussion ) and hired me.
On the very first day, I found out that most of the company was powered by interns only, there were only 2 full time employees.
On the very first day they showed me their website which was live and asked me to develop an Android app for that all by myself.
Then they showed me their API documentation which was barely a documentation, also told me that if I had any documentation related doubts I can just check the request URL and params from my web browser.
The APIs were so bad that even the response code wasn't standard (sometimes it was int, sometimes a string).
Later on I found out that even those APIs were developed by some interns.
I some how managed to finish the app in 3 months and left that internship.
There were no coding standards followed, nothing you just had to somehow get stuff done and working.
It was not a good expirience, I just wonder how such start-ups earn profits, are all small start-ups like this only where no one is writing maintainable code, no future aims, no further planning on how the company will grow etc.
I think this is the only reason why most start-ups fail.12
Great. Just FUCKING great. When I was looking at devrant, suddenly some add-ons crashed (correction: ALL add-ons crashed!). All other tabs flooded with ads. I go to the add-ons manager, and what is their SHITTY excuse?
"Starting in Firefox version 57, only extensions built using WebExtensions APIs will work. Not sure if your add-ons are affected? See Firefox add-on technology is modernizing and these Frequently Asked Questions for details."
Anyone of you fuckwits ever heard of LEGACY SUPPORT? Leaving some time so the other devs can adapt to your new brainfart technology?! Even fucking C++ has that. FUCK!
Thank god devrant doesn't have ads.10
Android docs suck so hard 😇
Google sucks so hard at making APIs 😄
Wraps everything in libraries, whose only purpose is to hide their incompetence 😛21
So my CTO comes to me and asks me to checkout the APIs provided by a particular service and see if we can use them.
After two days of research I go to him and tell him that it cannot be done and it doesn’t fit our use case. He tells me research more although I have researched everything required.
So I take two days doing absolutely nothing, send a mail to the developer of the apis and they tell me that it can’t be done.
Now imagine this kind of scenario occurring every three months. RESEARCH MORE.
Why do super senior members of our company don’t trust me. It’s just so random and anger evoking7
Css was developed by monkeys. I fucking hate how there is no organisation, laying out stuff requires too much work, there are billions of ways to do something. Aligning things in css actually has a web page dedicated to that, seriously, what the fuck????? I love doing backend and creating rest apis but for the love of god i cant stand css and front end in general🤦🤦🤦9
Bless the service APIs that don't charge you for failed requests, that fucking on-site team almost cost my client 7k$, just because of a typo and an endless loop, that they pushed to production, while bypassing the rate and resource limit I set in place, because it "wasn't working" - it was working, you fucking cunts, it was preventing your system running wild for a reason.
This happened today
My Manager: How is the progress so far on the search module?
Me(After implementing some crazy shit requirements): It's all set. APIs are working well against the mock in-memory database. I need an actual database to run my unit tests. Where do we have it?
My manager: Let's pretend that there is no database at this moment. Go-ahead with rest of your activities.
Me(IN MY MIND): F*CK you a** hole. You don't know the first thing of software development! Which a** hole promoted you as a manager!!!
Me(TO HIS FACE): Ah.. okay!! As you wish!3
I don't know why, but each time I have the chance to create a caching system with redis to e.g. cache requests to APIs I get all excited about it.5
Client: "Let's code a prototype to show our intents to the customer. We have 96 screens to implement as a native app in 6 weeks"
~Prototype delivered in 6 weeks, despite some changes in the design on-the-go. Few months later~
Client: "The customer likes the prototype a lot. They would like to see some changes (another set of > 40 screens). It's still a prototype and the changes should be implemented in a month, but this time it has to use real data from external apis. We don't know which APIs yet, but it should also go live on the app store"
Somebody just donated to me through Venmo for one of my FOSS projects, but I dont have a donate button on my project page, and I didn't have a Venmo account. How did the service enamble do this? Im impressed lol4
1. Understand APIs without reading documentation.
2. Write correct code from first try.
3. Know to program in every language.
4. Create the perfect fully functional AI system.
5. Center objects vertically with one line CSS at target object.3
A free, open source, modular (plugin based) home automation control center.
Ultimate goal is to support the core / apis and other devs code the drivers for the 'IoT' devices.
Also integratable with all the speech assistants like Amazon Echo, Google Assistant, Cortana etc.
Not that money dependent but very time consuming project.
Im starting in a week tho!5
Why do so shitty "API"s exist that are even harder to write than proper ones? D:
Trying to hack my venilation at home.
This API is so horrible D:
The API is only based on POST requests no matter if you want to write values or get values and the response only contains XML with cryptic values like:
<?xml version="1.0" encoding="UTF-8"?>
Also there are multiple API routes like
And actually the real API route is only given in the request body and not in the path.
Why is this so shitty? D:<
Btw in terms of security this is also top notch. It just globally saves if one computer sends the login password.
I mean why even ask for a password then? D:
That made me end up with a cronjob to send a login request so I don't have to login on any device.
You see, great piece of German engineering.3
If we had a devRant vote on the most annoying word of 2018, I'd vote for "token".
Token here, token there, token yourself in the rear!
Some project I'm currently working on has to fetch 4 different tokens for these syphillis-ridden external CUNTful APIs.
Your mother inhales dicks at the trainstation toilet for one token!3
When the 3rd party library you're using is raising compile time warnings about using APIs that have been deprecated since iOS 6.
It was last updated in Sept 2015. President says they're working on iOS 10 compatibility.
If it still has that warning next release...
From today on I'll have two roommates. Two girls, who always listen. And the best part, if I don't like their response I'll just use their APIs to make them say what I want. Too bad both of them are unemotional boxes.7
So google maps APIs will now basically be a pay to play, like many other services of google, is there any actually good alternative for getting long+lat and distance matrix for free?22
When I think how big companies like Google, Amazon, Netflix manage all their services so well (all those load balancings, caching, etc. ), I feel so bad I don't know anything about it. I don't even know how people decide which technology to use. E.g., for a scalable Web app, one can use Node.js or maybe Django (but not definitely Flask, I suppose). Also, which DBMS to use, how to write flawless APIs. You see, I am just beginning my career. Any recommendations (books, videos, etc.) that teach these things? Please help.4
I wrote my app so nicely, I just finished adding a 2 new features without any major rewriting... even after not touching it for many months...3
While working on generic enterprise code: querying databases, calling third-party APIs and just passing data around, I'm thinking: "PLEASE LET ME DO SOME THINKING, LET ME WORK ON SOME HARD ALGORITHM OR SOMETHING!"
When finally working on 'some hard algorithm or something', I'm thinking: "ARGH! MY HEAD ACHES! GIVE ME RELEASE! LET ME WORK ON SOME MINDLESS ENTERPRISE CODE!"1
I just want to say,
wow the Cloudflare API is awesome.
In less then an hour (from a blank file - to automation and tested) I was able to setup a DDNS task that basically just pulls my public ip (see https://devrant.com/rants/2050450/... for details) comparing it to the current DNS records for and update them if anything has changed in the past 30 minutes.
So kudos to these guys letting me in next to no time having a simple yet elegant way of dealing with my missing static ip.
Why can’t all APis be this simple?3
I like obj c more than I like Swift. I don't know why and even tho it is the same API I find obj c more intuitive and useful since it is a strict superset of C and C is very useful.
Not to say I don't like Swift. I like it. I just have something against mobile OS APIs really6
So I had this internship in highschool for some marketing company creating simple databases for them to help out with their business.
When I came back from college for I think winter break they had asked if I would come in to help with a task that was going to take all day so they wanted me to come early. I agree and show up the next morning.
They had an Excel spreadsheet with about 5000 records in it and one of the fields was the name of the customer. They told me that the records came in as lastName, firstName or as lastName,firstName.
They wanted the field to look like firstName lastName. For a minute or two they had someone show me how they have been doing this which was just by hand. I don't really work with Excel so im not too keen with the macros. But it took me about 1 Google and 30 seconds to find someone with a similar macro to achieve this, I altered it a bit and let it go through all the records.
It was an awesome feeling when I went to the boss to let them know I was done (it had only been 10 mins), they almost didnt believe me.
Funny how one line of code can turn a day's work into a matter of minutes.2
Unintuitive APIs, with poor documentation and terrible parameter names. It's like they don't want me to use it3
I'm writing a blog series about GoLang and REST interfaces, if your interested in golang but don't know where to start give it a read https://blog.mescrocker.co.uk/golan...6
Stages of being a self-taught developer.
first: you think you have taught yourself enough to apply for a job.
second: A Company actually believes you. Evidence? They hire you.
Third: You realize you don't know anything.Evidence?
Me in my head
I thought I was good at this. I don't know anything. I should probably switch back to nutrition(my previous job).Why am I struggling with this? Who even struggles this much with APIs??8
The worst thing I have seen a dev do?
- Have all the APIs work without an access token for our main product which handles ~10k requests a day.
- Calling our architecture secure in the crucial investor meeting and being 'confident' that our database can not be compromised. No wonder we did not get funded.3
Coding is like cooking.
But only if
the heat source is lava. //Language
And the pot is lava. //IDE
And the food is lava. //Program
And the dishes are lava. //Classes
And the floor is lava. //APIs
And the tools are lava. //Compilers3
People are so obsessed with apis nowadays that I was thinking about writing a rest api to get the amount of fucks that i want to give to the client whenever they ask for some change requests or improvements..2
i want to get my own social network up and running.
so far ive got -
login 100% securely
register (1000% securely)
view someone’s profile (10^7% securely)
to add -
scrypt (maybe bcrypt, however scrypt looks like the better option)
friend a user
track their every move (ill use facebooks and googles apis for that)
to describe my product -
call me when im a gazillionaire
but seriously, im making a social network and i hope its done by wk105 tbh3
Yesterday, when I was discussing my project with my Java professor, he told me to build an online quiz system in which the user can't view anything other than the quiz (to prevent cheating).
I tried telling him it's not easy and it definitely can't be just made into a website.
He told me to make it using APIs.
Now I'm wondering if he even knows that an API is...10
Just spent an entire night eaning up my codebase...
I optimized some of the functions got rid of unnecessary global variables and changed up the whole file hirearchy so it would be easier to read. After spending all night doing this I went to run the program and for once it seemed everything worked right the first time! However a portion of my application that is supposed to happen at a certain date and time never would run. After spending all night comparing each and every line for what I changed versus my last commit I couldn't find the fallacy in my logic. Everything should still work like it did before. After spending more time looking for bugs I finally realized I didn't break anything when I switched over to this new structure it was the old code that was broken. I went through the old code and after some debugging eventually found the culprit an extra continue statement that prevented my loop from fully executing. Lesson learned sometimes the biggest bugs can spawn from one line of code.4
So.. Someone proposed replacing all huge functions with apis and then using them internally in our own code.
Accessible over http..1
Quitting nicotine starting tomorrow.
Anyone have any tips or advice to expedite the withdrawal process?
I have already decided I'm going to start going for morning runs and take probably 3 hot showers a day.
My biggest fear is that I'll get insomnia and I will not be able to keep up with my school work due to fatigue18
And today in Laravel-land, how to take fluent APIs to the utmost consequences.
Better...? Seriously? All your lines got longer and you know have closures to run.9
The whole office thinks I'm working on a serious dev. I'm just running dev rant APIs on cmd and scroling.Happy Friday!2
Companies that create APIs and then update them but fail to update the documentation, to a point where the syntax doesn't even remotely resemble how it originally was, or even give the location of where the new endpoint is.
WHY MUST YOU MAKE MY LIFE HELL2
Fuck you Twitter for making your widgets createTweet-method only work with the tweet-id as string. Fuck you especially for don't returning nor throwing any error for giving an integer value to it.
This took some time...
That moment when you browse github repos to contribute but then you realize the APIs are way more advanced than you're coding skills. #fml2
I find it hilarious the total misconception of hacking that the general public has. I tell people I know cyber security (Not as much as a lot of people around here) but it is a hobby of mine and I find it very useful/interesting.
But I can't stop but laugh when someone is like, can you get all the text messages my bf receives?
Can you hack this for me can you back that?
C'mon even if I knew how to do that without being caught you think I would even admit that to you. Do hackers just walk around with an index card pasted to their forehead of their skill? It's not even slightly reasonable to think this lol even for someone who doesn't know about the field
Yup, sure our team of three devs will build you a fully functioning e-commerce site from scratch that grabs data from several APIs and uploads it to several more.
You need it in two weeks? No problem.
Me: Wait...what the...?!
One week in and I only have access to test one of the four necessary APIs as the client hasn't signed the necessary paperwork with other providers.7
Finally learning vim after a few years of absolute refusal.
echo export EDITOR="vim" >> ~/.bashrc21
@dfox Would you make it possible to cluster push notifications that occur on the same post? When I receive a lot of notifs at once it clogs up my notification center.
Additionally would it be possible so that I can completely turn off seeing certain types of notifs even in the app not just for push notifications (from what I gather that is the only thing I have control over)2
You know it is gonna be "fun" integrating client APIs, when all of them respond with
"Thanks for submitting the request"
And no error or status code whatsoever, no matter what you send.
Also, the client likes to test/call this API in Internet explorer address bar, and doesn't trust Postman. Amazing shit dude.3
Cross platform mobile with Xamarin, an internship asked me to learn Xamarin for them, I found that the docs Xamarin had were surprisingly helpful compared to other places
After continuing to pursue mobile with Xamarin I now feel I know multiple native apis very well (iOS and Android) and have found my favorite language (C#) so I've also learned a ton about how code and compilers work and all sorts of other things
Xamarin has been an incredible learning tool9
!Rant #motivation #hugeProject
Yesterday i started a new app and i designed some of it but classes i coded will speed up the whole coding of other parts .
Anyways today i needed to work on the server side of the project and when i was working on setting up the databases structures i realized how big is this project (it uses like 3 APIs) so i was unmotivated because its a side project and it takes alot of time and overall it dont worth it and even app may fail or may be successful.
So i said i dont care about how it will turn out
Im gonna do it , and im gonna do it right now
So i did now its 6 am and the server part is almost finished ! 75% done .
It was a secure login system and signup with verifications and more security stuff and the codes that provide the server status and most of the user parts . And some of the features of the app .
The most hard thing remaining is to setup the in app purchases and the APIs .
So if you see a project that is huge .
Dont give up . Just do it as long as you can
And you will see how much you progress !
And the huge project will be a big project ;)
Then a normal project , then a tiny project :P
all documentation points to an Invalid auth token being code 400 (ignore the fact that this is a code in the JSON response and not HTTP)
Me: here iz credential. Plz send datas
API: haha fock off and die mate, then credentials you got there aren’t workin’
API: code 998 invalid auth token
Me: *speechless* so that’s why it took me longer than it did to find that error, because YOUR CODE WAS MISSING ALL MY CHECKS FOR CODE 400.
Why can’t people design apis properly.2
I sometimes cry a lil bit when I see php sql code without pdo. Specially when someone mentions a cool example online or a tutorial or whatever. Guys please, get good with sql as well as pdo....please pretty please with cherries on top. While we are at it, it might not be the solution to aaaall problems....but mvc can do wonders for you, it really can. That pattern has been on for a while...learn it and use it well. Also, restful apis are good mmkay? They fit nice with the glory of Node.js and its amazing front end powers and utilities mmmmmmkay?3
There's this Senior Developer here at the company I work for, and every single project he works on (usually APIs), the return status codes are always 400 when there is an error.
How do I tell him there are over 60 status codes?2
Can't get over how many big companies get away with poor/no documentation for their own APIs. The past week i have been working with a large insurance company that only via email threads explained what endpoint to send files to and what username I could use to get this to work.
I also worked with a major courier service last month that only had a two page document for all their methods and one of the pages was explaining the transportation of data via imagery haha.1
So...what do you guys think of this fight between Oracle and Google?
Am I the only one that thinks that APIs shouldn't be copyrightable? Any programmer would come to the same conclusion that API design almost always converges in similar function names, strategies and architecture. So am I nuts? Am I the only one that thinks this?1
So lately I am learning about APIs and REST/ful architecture (I'm a plain beginner). I must say it's very interesting.
I find this website very very helpful as a practical implementation of the theory I've been consuming. I'd truly appreciate any recommendation on the subject.
Upgrading Unity with petrifying dread, contemplating the shit loads of work I have to do in order to fix my project as it used depricated APIs.4
Need to have APIs ready, worked weekends of my own time still not done, why won't my boss get bums on seats to help -.-6
FredBoat, largest open source discord bot.
Making all the things work + making it scale when demand kept climbing was a challenge where we had to learn simple stuff like postgres, working with 3rd party apis, generally good coding patterns and maintainable code, but also rather advanced stuff like making the garbage collector play nice, profiling memory leaks and optimizing the hot path, as well as high level topics like cutting the codebase into scalable domains and services.
Clients assume that because they can't see it, means no real work was done. Or even worse, you show them code that was written for the server, even demo the apis but without a pretty front-end it's pretty much meaningless. Even if ITS NOT YOUR JOB TO DO THE FRONT-END!!!1
I wanted to have a way of checking if a site is down, but I didn't want to have my browser always open on http://isup.me and keep refreshing it. And that's why I'm learning hot to use UWP and C# http APIs at 1am instead of sleeping.2
Feature to spam people everywhere. A frigging set of apis where you can spam sms to people based on their habits. I am sorry for this shit. Even I'm not safe from this.3
CORRECT ME IF I'M WRONG.
Didn't server industry and technology get a little.. stale?
I mean, just look at similar industries
For example - mobile phones, they are everywhere now and each year we get new technology, the new big thing and whatnot.
Other example - gaming, VR came up moderately recently to a usable state, we got a great influx of flexible languages like C#, Java etc.
New engines to build games on top of, new graphical apis like Vulkan and whatnot.
..and Servers? It feels like the last big thing (and makes me feel like the only one) was Cloud Storage.
I have a pretty successful project on github
Which I don't think is necessarily my best achievement but all the stuff I do at work is not open
I used the project as a way to learn bash scripting and it kinda caught on.
Sadly I'm not a sys admin or anything I'm more of hardware/embedded engineer but it's still cool to have one of my projects being so used. And I got to learn a little of bash along the way 😁 I now feel super comfortable in a terminal and reading man pages to figure things our which was a skill i lacked previously. I definitely learn better by doing and fixing mistakes along the way1
After over two days of debugging, lesson learnt don't assume your table's prefix nor depend on other APIs for SQL injections1
Seeing the phrases and language and different APIs and platforms and various versions of everything everybody talks about makes me feel even less prepared to enter the industry properly when I leave University.
I'm going being a WordPress specialist.6
Worst thing I’ve seen other Dev do?
Asking someone else to do the documentation for APIs he/she wrote...3
My 2 cents on IDEs: they are wonderful and make development speed outrageously quick but for junior developers, I think some of them can be too large of a handicap. I have been using php storm with my symfony framework projects for two years now. I've recently started using vs code and I can't believe how much more I'm actually having to understand the structure of my program to get things done. I've been so use to the highest degree of auto completion that I have not even bothered truly learning the inner structure of the apis I'm using (google, fullcontact, office 365) cause I'm so use to putting something like $calendarevent-> and getting a list of everything I could ever want. It might just be me but actually looking over my apis structure and my projects structure to decide my next approach has made me think more and learn so much more about what I'm actually working on. Also I think ide git tools are a major crutch and junior developers should learn to utilize gits command line and all the options it offers.3
It drives me Insane that AWS still doesn't support Swift 3 for iOS. We're almost to the point where Apple is going to drop Swift 2 support in XCode and Amazon STILL has not gotten it.
I've started deploying Gateway APIs in Objective-C and linking them to the bridging header just so we can finally move foreword in our company and quit relying on legacy Swift support. Which is something I was really trying to avoid because we don't like mixing languages unless absolutely necessary. It's not a problem, but it's incredibly annoying to me. What IS a problem is having to start new projects already using legacy code from the very beginning.
What is amazon going to do when the next release of XCode comes out? Tell all new customers to downgrade?
Why even offer native Swift APIs if you're going to go this long and still not migrate, Amazon?!
I recently came to the realization that my knowledge of APIs is very basic. The idea I have right now is based on the "waiter" analogy. I want to dive deeper into the topic. Does anyone know any sites with decent information on them, other than Wikipedia?2
Heya. Now I feel like a fool for asking and it has been bothering me for a while.
I want to get into native application development, but I simply cannot wrap my head around how to connect a backend to the frontend.
I have been doing web development, I understand the concept of endpoints and I am able to do http requests for web apis etc. But when it comes to creating it in some native application, I have no clue what to do.
Does anyone have a good post or video that describes these connections, as for some reason I cannot seem to find any.
Hope it's understandable,
Can we all start using error codes for apis? I'm so sick of doing a reg exp check to see if the word "failed" is in your return message and having to change it every time you feel like updating the language.2
Being a full stack developer has been an amazing journey. Looking at a project and understanding how the entire stack work starting from the mobile apps, APIs and DB is a total bless.
Nevertheless, lately switching context between modern languages has been extremely frustrating.
Swift looks like kotlin, elixir looks like ruby. Hell even swift and ruby are very similar.
Writing ruby in Xcode and wondering why the fuck Xcode complaining. Well no shit, swift is not ruby. Took me 5 mins of head scratching to notice it 😢
Hell I am now writing down the latest language I am working with on my hand to keep track 😂5
So ya its almost mid April, deadline is end of April and 20% of APIs are not yet ready and mobile app has barely 50% of pages done.
This is going to be a fun project to work on, I was asked to join the team couple of weeks ago
What is even more funny I still have no clue what this project does, I'm just creating UI based on what the designer (that started a month ago) delivered just a week ago -- Three weeks before final deadline
Pls share your wisdom. Bye.5
My laptop charger is dead and my laptop can't work without it. So, basically I can't even look at code.
Colleague calls, says there is a problem with package.json and it requires my immediate attention as the APIs need to be deployed.
Me enters Sherlock mode, and remembers that I have a git hook which took a backup of my code every time I pushed and saved it on my headless tiny CHIP.
I get excited, and do an SSH from my phone, hoping to see the faulty code/file. But all I see is an outdated repository because I am an idiot who forgot to turn the fucking CHIP on after I shut it down for cleaning.
This is the most anti climatic ending I have been ever part of.3
Why would anyone ever choose Oracle proprietary APIs for building web applications? I'm pulling my hair out trying to fix, yet, another Oracle ADF project... Why? Why?
The project is about keeping track of APIs of libraries, frameworks, language, and notify subscriber when some API is changed, added or deprecated13
My GitHub repo has a little over 1,000 downloads but only 433 stars does that seem off to anyone? For an employer does GitHub stars on a project even matter?9
My teacher joked in class about trying to get #octothorpe trending. Two days later he's wearing a t-shirt that says it, turns out someone already thought of it and it's on a t-shirt on Amazon with prime shipping lol 2018 is crazy
Just had a class where we had to write a heap adding algorithm in Java to reduce rounding error for x amount of floats being added together
After an hour of writing code with no testing anything I finished. Ran the JUnit tests provided by the teacher and it passed all the tests!
Who says it can't work the first time?2
Have you worked with GraphQL? Saw it for the first time and it looks like a pretty good tool for working with APIs, to me. I am excited to read your opinions about GraphQL.23
Seriously fuck your horrible compression APIs. What if I want to make a normal stream a tarball stream?
Hi all! I am an iOS developer and I've been using Firebase as my 'online storage'. I want to be a more full stack dev and creating my own APIs. I want to start to learn Java or .NET APIs (uuh an iOS dev speaking about .NET :P). Anyone that can recommend good courses or tutorials and best practices? I have been learning Java and .NET in college, but that is about 4 years sgo.. Thanks in advance!11
The principal developer who wrote one of our APIs is on annual leave, there's no documentation.
It's in another language.
Add some points into scrumwise for 'Deciphering hieroglyphics'!4
To me, writing authorization code for securing APIs is like having to fold an enormous pile of laundry and actually putting it all away afterward. It needs to be done but I'm not going to enjoy it.3
Me: “I think I’ll check linkedin today”
Clicks on video: “... good perspective on growth and blockchain micro service apis that leverage ML models for understanding interfaces that welcome scalability within a agile environment...”
Me: *jumps out window*2
Reading about micro services and they sort of sound like mini APIs wrapped by individual HTTP servers.
But if all the APIs need to send requests to each other wouldn't the overhead from just making the connections for each request add up and be huge?2
REST apis. More than you think it is.
Just because you can access a resource by a uri, doesn't mean you have a good api.
Hypermedia that shit and let websites reuse your links from api responses, then we are getting somewhere.
Also, Fucking api versioning.. Learned the hard way that /v1/ doesn't mean Shit in most cases
*rewrites updater to use .NET's built-in unzipping APIs*
*winds up breaking everyone's game*
My current project: PHP microframework that makes building REST API kinda 'easy'
But I've read some articles online that building APIs using PHP is a really bad idea. I guess I just wasted my time. Lol. I hate myself.7
I’ve been coding for over 25 years, for the last 10 years my primary languages are C#, C++, Xaml. Prior to that I used to develop web applications.
Just recently, I’ve totally lost my motivation to code, I used to come home at nights and do stuff for myself, at work i used to develop utilities and apis to help everyone, some of which have been made production ready and released.
Now I just cannot be arsed......
I need to get out of this rut.
Puts three months of work into this project; cronjob to ping 3 APIs at regular intervals, cleans, massive features extraction, dumps into PostgreSQL db. Got Django on top of that with a small neural net and interesting viz - absolutely gorgeous!
Can’t fuckin wait to showcase that.
Feedback: “is that the right blue? I think you have the old company logo! etc”
I just got an some ESP32 so I started playing with idf by espressif that it's released under apache 2.0.
So i thought "it's open source"
I spent 10 minutes searching for low level WiFi and BLE APIs on github.
Then I found an old issue
where an espressif dev says:
"The low level Bluetooth & WiFi implementations are proprietary"
they distribute Binary files in another repo also under apache 2.0.
-- (obviuosly) except reverse engineering.2
A hackathon sponsored by two brands, the topic was to create smth cool with their APIs (either of them, they were to pick a winner each). We got a little too ambitious and tried to use both, ended up messing everything up and nothing to show. They loved our idea though :|
PS: Somehow the winner was a crappy flappy bird clone ¯\_(ツ)_/¯2
Does anyone know why websockets aren't used far and wide for APIs? I mean not like chat applications, but the typical webapp, say an online shop. For me it seems kinda wasteful to fire separate requests with tiny payloads all the time. I currently use moleculer and socketio for a quite big project with multiple websites and backend containers, and so far, i haven't found a disadvantage.
So what have i missed?13
I need to link two APIs such that data sent on one API gets processed and it hits a second API with the processed data.
The first API needs to format the data and decide according to data format which second API needs to be used. I checked Zapier and it's working but it is not exactly what i need to do. So are there any options other than setting up my own server?4
Good friend, Jay. Helped level up my understanding over the years, JS patterns, using APIs, best practices, etc.
Also helped kill off anxiety about the community by proving we work together and share knowledge.
Many thanks and I hope everyone has a Jay in their life.
Working on an app to sync data between our ticketing system and an API a vendor made for us to interact with their ticketing system. I put off working on it for months, mostly because I had mountains of other "urgent" things that jumped in my face, but also because I needed to design the whole thing, and I really have to get into the right frame of mind for that kind of creative organization.
Today I dove into it. I built the JSON to submit, given whatever variables are necessary, and figured out after a while that the smartest way to handle this is not to search for an existing internal ticket, but to have the creation of the internal ticket set a flag for an automated sync process to check when it runs.
It's going to be much easier when I get that built, but now, knowing that, I'm daunted enough that I'm procrastinating. Think of something, chart it out with notes in a text editor, procrastinate.That is probably like 95% of the time I spend in "development."
I was just getting frustrated how hard it can be to search on google for very specific subjects when it comes to development. So I thought, why hasn't anyone made a search engine just for developers so you don't get any bullshit in between.
I found apis.io but they only have 1076 documented apis in their db... lets collectively make this better!6
I loved you Xamarin.Forms I really did.
I defended you everywhere... Released 5 apps.
You FUCKING SUCK, no svg support (no none of the apis work), startup time is FUCKING insane, i could go on for hours......
Please any Android Developer out there is there any smooth transition to native? (Dont tell me about Js bullshit)
Help me fell the Native Power of Android.
Show me that apps don't need 20 seconds to start.8
Being blamed for and written up by your manager for a late deliverable on a ui component that the same manager failed to provide the APIs for in a timely manor.
WHO CAN SPOT THIS STUPID PHP ERROR!
$string = "something.com"
echo " yep, there's a period";
echo "nope, fuck you there isn't";
output: "nope, fuck you there isn't"
me: wtf ??? fucking wasting my time on this fucking stupid tiny fucking error, goddamnit and each refresh takes 15 seconds because it involves calling all these apis from localhost, gmail, etc. arggg...
...for an hour, until I smacked my head so hard I'm in the hospital for a concussion
I hate when that happens.
Time to take a break.18
Wanted to test out random number generation in different distributions. So did it using HTML/JS using google charts APIs, just to find out after sometime that R does what i did by default..2
How do you manage switching between different languages and the tools and frameworks that are used for each?
Or frontend server and APIs are in JS and use mocha for testing.
But backend is in Java which uses Mockito.
Every time I need writes tests and well anything that is language specifics, I basically have to relearn rather than just getting it done.2
So Im taking over an project from an colleague. And it involves a lot of things from an external API. I cool with that, I enjoy working with APIs in general.
Let me explain it a bit more. I enjoy consuming APIs with frontend frameworks like reactjs and angularjs.
But my colleague had allready started some with consuming one of the endpoints.
He did it with ajax....for god sake. Are you serious?!?!?!!
Ajax calls??? Why ????
So I pointed out that we could use vuejs, we don't have to compile anything like with react or angular.
Things that we need to do are not that interesting nor big. Mostly getting items and maybe filter these items.
But he insisted on using Ajax because there wasn't that must time to use fancy frontend frameworks.5
That moment you underestimated a local company site from using APIs. So you manually collect the data by scraping the HTML. But months later learn that they DO in fact use APIs.
The Amazon MWS API is so utterly shite! Offers error messages sometimes then others tells you to upload your file to their file checker. Their file checker doesn’t accept XML so why say that?
Who on earth develops and documents their shit APIs?
Fuck you Amazon
Yo, i have a course where i have to build an android app, and we can make what the fuckever we want. Can you give me some interesting APIs, that are publicly available? It doesnt have to make sense, everything is better than using the anidb api, and thats the only thing that comes to mind.2
Service I was needed to integrate to our system had such poor documentation and a separate pricing tier to access their APIs...
... Not having it. Used Guzzle to perform both the authentication and their search page, then made wrote a function to web scrape the result.
Job done. 😎 And yes, I have no shame to say I love PHP.2
You know what sucks?
APIs with the latest data, but without the latest endpoints.
What the fuck? You did the data, why not the endpoint??1
I am currently playing around with hosting an API on Heruko but I also hear a lot of buzz around serverless APIs...
What do you guys recommend? Or do you recommend another host for playing around and maybe getting more serious in the future?1
Does anybody have an good video chat alternatives to Skype? Preferably open source but doesn't have to be8
This week has been a good week, work wise at least.
My projects are coming along, I’m getting a CI-CD server spun up so we can start making use of Gitlab runners for builds and testing (deployment is next on my list)
The boss gave good feed back in the gitlab issues I raised after a demo yesterday (new features, nothing major but it’s nice to have positive feed back)
My focus has very much been on the technical side of things, testing and de-bugging web services,
The boss is very keen for me to start implementing apis, starting with one of the apps I’m working on, so we can start writing apis for other systems which integrate with third parties.
I’m actually excited about my work again, and I think it shows, which is why they’re steering me this way.
I’m going to give it 6 months and then ask for a pay review, as I think my responsibilities have increased enough to warrant at least asking about a pay rise
Currently we have to make a new REST API at work. I want to have a clear and functional API (with HAL JSON, that is given). But my colleagues don’t like this, because they don’t like the design (the look and feel) of the HAL JSON responses. They just want an easy API with a nice design, so they want to ignore half of the HAL JSON specification. But a REST API don’t has to be easy and don’t need a fancy design, REST APIs are not for humans but for computers! How can I explain this to them?3
When you code sth. From ground up and it works everything without any errors as you wanted, even though you’re using 2 APIs in about 20 lines. This feels so good :)
A: our WordPress website that use heavily Facebook APIs is not working anymore because of the privacy changes
B (thinking): seems something easy, check the settings and do an invoice of the job for a portal that we didn't done and get a new customer
B: we can do it in blablabla for blablabla
Silence from the A side
1 month later...
A: I didn't found your bank account for the payment but we are ready to do that fix. And we have also a new feature request.
Creating a simple application to keep track of changes in api and inform the subscribers about changes.
Stack - Vue.js (quasar), nodejs, mongoDb3
Was going to work on learning more about creating APIs in ASP. Net core today. Instead playing video games with my son. Much more fun!
Was hiring a front-end dev once. Job ad was for basic html/css and graphic design skills. Perfect part-time job for intern or high school kid to get their feet wet. Boss sits in on interview and after I asked all the necessary questions related to position, boss starts asking him programming related questions similar to my position. (php, Mysql, apis, managing vps, custom shopping cart code )
Way to drop a bomb on a kid who is potentially interested in working here.
Imagine a "development" environment with no vcs, no APIs, no general hierarchy for db admin or software development, no test environment. Well this was my first job.
Quite literally a dumpster fire.
I know I'm not a world class developer but I still think this was beyond unacceptable for a software startup.2
I'm thinking of designing a programming language.
I want it to have easy to read syntax like python. Inheritance and interfaces like java. More advanced concepts like pointers and memory management like c++.
I was originally going to write my own compiler but I figured it's not worth reinventing the wheel. So the current plan is to basically just create a parser that turns a source file into c++ code and then that is compiled with g++. The only problem I can think of with that is catching runtime errors.
How does this language sound?
My purpose is to have a language that is as easy to read as python but with the speed of a compiled program and the ability to use it for embedded projects. I feel like reading larger C++ projects can be quite time consuming. So I figure the trade off of taking a little longer to write the code to make it more obvious what is going on is better than having a lot of syntax that can be tough to walk though the logic of (I find this often with c and c++, not like I don't figure it out but It definitely takes longer than it does to read and understand python)4
When recruiters put json and rest APIs on higher priority than frameworks and stacks.
Do they even know how simple are those APIs comparing to frameworks!?2
The world must truly hate me.
I refactored my code a lot in order to easily integrate different APIs endpoints but then I can't use the one I specifically did this for, because of TLS errors.
My browsers all agree that it's fine, but curl and the 2 http libraries I tested can't fetxh any data.
APIs this have unnecessary global state (static config properties) as if you're writing a monolithic single threaded app.
Im trying to land my first internship for Software Engineering anybody have some useful tips or places to look?1
As I will have a new job soon and it seems likely that it will be in network api design I wonder if you have good book recommendations on the topic.
I already have "clean code", "clean architecture" and "design patterns" in my pipeline, so I need something more specific on designing network (restful) service apis.
(This is a follow up to https://devrant.com/rants/1828903/...)3
I really dislike conflicting support. Tell me what I need to do to fix your service, don't offer maybes...3
For those of you .Net people out there (".Net sucks" Stallman fellators need not apply), what would a few practice .net core web apis and MVC projects cost to host on Azure? They wouldn't be touched except by me and any people who want to see my portfolio projects directly, so I think that doesn't count as time for cost, but I'll be honest and say I don't entirely get their pricing.1
Today is one of those days where I realize there are hundreds of free APIs and tools to make something amazing and revolutionary, but you can't think of anything that isn't already done or is too advanced for an indie developer. Seriously, I watched Microsoft's Connect event keynotes and demos for these easy and amazing structures, but not a single app idea comes to mind. 😐
If I'm going to make a profit and a good resume, somethings needs to happen.
Learning golang to replace Java in my arsenal, I just wish they had a nice framework for creating guis similar to JavaFX
I know bindings exist to things like qt and GTK but why cant they have a nice native ui library.1
I fucking hate OTA's.
Their API's are bullshit. Their willingness to work for the mutual benefit of their clients is non-existent. They are just big fat fucking leeches.
They are collectively the Donald Trumps of hospitality.12
Just wondering, so many people are building extensions for devRant but I didn't find any APIs anywhere. Can someone help me with a link where I can find these? Thanks :)4
I wanted to add a lot of features basing their work on WordReference APIs, but they are no longer available. And the worst thing it's that your no-geek friends don't understand your frustration
I am currently lost in translation.
Damn, standardization are important.
I am working on integration of biggest payment company in Japan. Their technical guys doesnt know much Emglish.
Their documention of APIs were literally translated into english without any standardization by their dev guys.
And now I am trying to map what they mean in standard terms.
Psst I no english speaker.1
Microsoft Foundation Classes - MFC. Spent 1 month to make a fixed column on a grid. Counter intuitive APIs.
You've developed APIs. And they're working locally.
What's the issue in giving that to the front-end team to consume them ?? ( Said in angry raised pitch )
Somebody please let that dumbfu manager know that the codebase needs to be DEPLOYED on a server somewhere. Without that, you just can't magically build code from codebase and give it to people like code fairy !2
token auth woes
I am fed up of doing shitty token authentications that don't refresh and are database dependent. what's the good way to do token auth for rest APIs? json-web-token?3
When your team can't change from the oracle database because the dba team will be out jobs and database links will be lost (people havent heard of apis)... :feelsoracleman:
To ensure everything goes well on prod, the chief QA set an env called 'stable' after prod deployment to stimulate true prod situation. Then we found that some apis on 'stable' crashed more often then those on prod.
Currently working on a API project. First time dealing with this kind of projects. Any good recomendations on migration frameworks for .NET APIs?5
Project/Middleware/APIs website about section- Writes a lot of things which is hard to get for many, than explaining exactly what it does
When you have made too many APIs
Friend : Jay Sean has released an awesome new mix.
You: JSON released what???!!!
I got tired of the tedium of navigating dropdowns and required fields to open and close user stories, so I wrote a script with the following syntax:
./ticket open TICKET TITLE GOES HERE
./ticket close <TICKET #>3
Need some help finding a free weather api please.
I need to be able to search the api based on temperature or humidity. Alternatively I could locally store the next 2 weeks of data for every country in a database and update it every night with a cron.
Has anyone used weather APIs before? Could you suggest me some?6
What are webhooks anyway? From what I read, they are just a fancy way of talking about APIs and HTTP requests.6
Focus? Everything.. Downside? Not enough time to get good at everything. It depresses me. I see a language and framework and I Wana learn it and use it but I don't have the time cause I'm too busy coding on another platform. This makes me sad. I wish it were the matrix and I could download all languages syntax and apis into my brain so I could spend less time learning and more time making something significant. Okay okay, my focus is Java/Android with a dash of web
Web API: "Oh, I see that you're trying to update to our new design with a category and sub-category dropdown layout. Here's one api endpoint that provides you the whole table without fucking input parameters to filter per category and sub-category. Goodluck! And Have fun filtering through the json and sub-json response!
And btw, don't even bother asking me to update the endpoint. Cause admin already said that the UI SHOULD ADJUST TO THE API AND NOT THE OTHER WAY AROUND. AS THE APIs ARE HARDER TO REVISE"
It's not our fault your api design is crap. You piece of shits.
So, I started fiddling around APIs which returned data in JSON and parse that data in PHP and it feels so good.... Past 3 days I've been in deep learning PHP and practically $this is the best thing....
I need recommendations for such APIs, so far I've used
1. Chuck Norris Jokes (http://api.icndb.com/jokes/random/)
2. User's IP Address and details (http://ip-api.com/php/)
What would you recommend, let me know..1
Hey guys, I'm planning to rewrite multiple asp.net applications in my company using Angular 4 & WebAPI/Node APIs. Do you have any suggestions?
We have around 20+ small to medium size applications which I'm planning to rewrite. Since these applications can be run in different machines I'm thinking of integrating them in a electron app and sharing the desktop app to the users.
What do you guys think?
Do you think it's a good idea? How do I proceed with this ? Any inputs are welcome.4
eBay's APIs make me want to cry.
Take the sandbox for example:
- Every time you log into a session, it logs you out.
- When you create an order (eventually!) and want to retrieve it, tough shit it doesn't feel like doing that today.
- Functionality both exists and doesn't exist at the same time on both the LIVE and Sandbox APIs. I don't know how they've managed to get quantum computers in their server room, but their GOD DAMN API LIBRARIES ARE NOT THE BEST USE CASE FOR QUANTUM COMPUTING!!
I don't know if I despise eBay or Magento more...
Does anyone actually compete in online hackathons? Honestly it defeats the whole networking and socializing aspect and just seems like a way to fool developers into creating free products using company apis...3
I need advice!
I have a project idea that involves creating a cross platform gui but I cannot decide on a framework.
I have been toying with the idea of electron(ugh please no), c++ with either gtk+ or qt, Java with JavaFx.
I really want to be be able to create binaries for Mac windows and Linux while keeping bundlesize low and efficiency high. With this in mind I am leaning towards a c++ implementation but qt (which seems to be the best option for this route) has an insane learning curve. Is there something I am not thinking of that would satisfy these requirements?10
Quietish team member sits quietly and creates the mother of all APIs, doesn't say much about it, doesn't document what he's done, falls out with the boss, leaves with 2 weeks to go before a beta release.
Already overworked dev/backend support team are plunged into manic bug fixing/business rule implementing/call standardising/chaos.
This is not how one devs.
Not one bit.
Funny ... When they add a feature for web and expect it to also be in the app with the snap of a finger, and the app uses different apis compared to the web ...
Ah and also translations, the translation fairy will add them overnight I guess...
Good thing weekend just started ... Run you FOOLS!!!2
bad APIs lead me to leaving comments like this
// we do not know how many pages their may be.
// im thinking of space invaders here, reverse direction and increase speed!
// only we are just adding one and creating an infinite loop that is only infinite until it isn't```1
Anyone have books or blogs about microservices and APIs they like?
I spent so much time focusing on front end frameworks and technologies and now I'm having to teach myself RESTful API structures and micro service stuff. I should have spent more time on this earlier on...6
I worked as an backend dev the last 2 years and was maintaining and connecting external APIs to our system. If one of these did not work properly or their test system went down I needed half a fucking day closing all JIRA issues named "EXTERNAL system not reachable" . Who needs speaking error messages anyways...
did you already know about this?
i think this will be impressive!
A full programmable bank account for developers!!!
Getting pissed off with eBay and Amazon APIs! eBay’s is completely screwed and the sandbox site doesn’t even work.
Amazon have great API’s but getting accounts to link and have the right permissions is a complete joke!
Can I pls receive some constructive criticism on my side project an app that shows APIs demos and their resp. source codes
I started to write an API for our application and asked everybody to use it.
Everybody liked the idea, but nobody liked the API.
So now we have api/v1, api/dev1, api/dev2, api/dev3 to do the same fucking operations.
When I complained about them not respecting the guidelines, dev1,2,3 told me it's my fault because I'm the director.
I thought for a while about how to get rid of these apis and I finally agreed with their view.
I removed developer 1,2 and 3 and finally now there is only api/v13
We need to capture ips on our internal Network in order to figure out who is actually calling our apis because we will be meeting a breaking change so need to melee sure they support.
But in order to have IP capturing, we need a be Production Issue ticket...
So to prevent crashing downstream system, we need to crash their systems... 🤔🤔🤔🤔1
Why im this type of person which don't want to use apis from websites(for example Instagram and Twitter) I use the normal HTTP request to use it automated. Are here more people like me :)?2
So I recently learned that there are "Shopping Cart APIs" that e-commerce sites use for their carts. Like Zen Cart or Open Cart. (I don't work in e-commerce.)
But that got me thinking, what are the most common shopping cart APIs used in India? And in general? Anyone out here who knows about this?2
Mod_wsgi for apache is like scratching your freshly cut nails on a chalkboard while eating oysters covered in ketchup.
Why does WAMP have to be a pain for everything? I'm going to just use some premade thing for this because getting stuck on setup is not my idea of fun when I have python APIs to debug.4
I'm working on a project using certain APIs to access some web services. I spent almost an entire day trying to make it work, but I always get an error message. When I try to contact the customer support they tell me something like:"Yeah we're gonna look into it. Meanwhile try this other endpoint". I didn't ask for that(besides this alternative endpoint doesn't do the same thing). I just want to know why my code doesn't work, even though I thoroughly followed the docs!
Any thoughts on using react with a state management framework other than redux? Been using react/redux for a couple of months now and I have to say its one of the best combos I've used in a long time (as long as you have some decent APIs to work with)... however, I'm wondering how other redux alternatives compare...1
I created a custom interface for an LMS that allows students to see their marks even if they haven't been 'shared' yet by their teachers. This is all done without accessing any unauthorized apis, as the LMS always returns all student marks and then hides the ones with a False 'shared' key. School administration caught me, so I've now shut it down. I have a meeting with the deans tomorrow. Any advice? (Again, this is all done using existing methods found within this LMS)5
!rant more advice needed for weather API
I am making a spur of the moment travel app built around a weather API. The problem is I need to feed in temperature and humidity for a date and get a list of countries and all the APIs I'm looking at work on location requests.
Would it be better to use a script external to my API or keep the business logic internal?
Best answer receives my warm thanks.
P.S. @dfox there should be a non rant section?6
it's going to be a 'headphones on and don't disturb me' kinda day, fucking bugs and not stable apis and a lot of stories to finish...
I need a new job. anyone need a mid level PHP dev? LAMP symfony nosql APIs bash and so much more, after 4 years and they keep me at a Jr PHP dev title so it's harder for me to find anything else....5
Spent a week struggling with native win32 APIs, only to find out that there was a built-in support for that in .Net Framework.
So I've just finished my prerequisite computer science classes (up to advanced Java OOP) and I have 7 months off until I can transfer to university. What should I do to maintain & get ahead with my engineering skills? I've started a class on git online already, but what else? Build on my Java skills with spring and rest APIs, or a different stack. I am really interested in mobile development and have made simple android apps before.
Thanks in advance!
Man, I fucking hate browsers. Some of them move at a snails pace when it comes to APIs, and polyfills and bloated frameworks pop up to work around it.
I know it's pretty much impossible, but get together and actually implement the features you're missing from each other, fuck.
Spent the best part of a day getting Google maps to offset the center of its bounds to account for divs displaying the marker info, which are floated on top - why does this shit take so long??
Do apis and libraries or any kind of abstraction makes developers less aware about what's going on in the inside. I think it makes freshers ignorant about inside workings.
I think that every one who's trying to learn should start from core stuff only. But that also leads to them getting away from coding coz its too difficult.
What's your view?2
That's LESS power than your cellphone with more than twice the output of Node.js.
Think it's worth reading.
Does anyone know of any open source personal assistants that aren't storing data? Im looking for a replacement for Googles pa on Android but am also curious if one exists for desktop. If one of those don't exist let's get on thaat2
Well, My firm has a CRM which is built on JSP and Java. They want to upgrade the frontend by using a modern technology. Which one is a great choice React or Angular?
For the backend, APIs need to be integrated and I need to select from PHP and NodeJS. The traffic right now is 100 hits/second and is expected to increase upto 1k/sec in 6months.
What is the best choice for the frontend, backend and I need to select a HTTP request client too.22
Any suggestions for good reading regarding the boundaries of Microservices? By this I mean a domain driven design approach.
I have a pretty good idea of what I “think” is right for my project. But something is telling me to challenge my idea.
For a little bit of background... I am using separate DBs for each Microservices, and building APIs to access the information across the system.2
Oracle is being D bag about APIs. I will actively make sure I do nothing to support them in the future with any projects.1
Do you just dive into a project without learning all of the language and APIs or you first learn the language, APIs before you start the project?
I opted for former approach whilst doing android and it was painful. Later, I tried later approach, Iearned more but couldn't produce anywhere near first project.2
Timecalculations and Datetime manipulation from UTC to locale where locale can be anything are by itself annoying but Javas Date and Calendar APIs always make me feel like "Seriously?! Fuck you! What do you want from me?! "
Wasting so much time right now to get a fairly easy app built as showcase for new customers and continue with my life!2
Wrote my first Medium article, on JS Proxies and some other stuff as well.
Totally not doing this to get an API token or anything 👀
To the Backend Ninjas out here.
Ive written rest APIs before but know I'm asking myself how I would implement user messaging for my app.?
Use Rest and poll the server?
Use websockets and keep the connection to the server?
Or is there something that I don't know?
Man I'm getting old Everyday there are thousands of new things....7
How do I go about JWT based authentication in Spring Security for rest APIs?
I work in nodejs environment, and I'd like to switch to Java/Spring in the next year or so.
My strategy was to implement, whatever I have learned in the professional field as a nodejs developer, in Spring's environment.
Currently I am stuck with JWT based authentication. In Spring's environment can't we use JWT as a standalone utility? Based on the documentation and tutorials, I have to use it with AuthorisationServer and ResourceServer which I need to implement using Spring oAuth2.1
After how much dev experience you wrote your firs API ?
what are essential steps to write a small good api?12
So, I've been working on a few Django projects at my company & we've been handling it quite well up until now. For those who don't have an idea of Django, it uses templating format as it's frontend & the data is served using APIs or context'.
Now the problem is, we're been told to use React js at the fronted with the current working projects.I've even gone to the 5th page of google & still haven't found a useful blog/answer on how to use react with django (i know that django rest framework will serve the apis).
There's no clear documentation for this. Even if there is, it's only basics which isn't quite helpful in my case.
So anybody can please guide me through or even provide a syntactical way to get this done, I'd be really grateful.
Your fellow devRanter1
Does anybody know about to text from an iPhone on a Windows 10 PC? I doubt I'll ever get a Mac... and would like to write a texting client if there is not already one available. Apple's bullshit lack of compatibility and accessibility to developers off of their platform probably means cutting corners, but I figured if there was a way this community is the fastest way to find out..3
When I have to update my APIs and Libraries with my poor internet connection; Hence, cannot google for solutions for my problems while the download is going on because opening websites takes a shit load of time.
I outsourced front end to india, no time for tedious shit, will still stay awake for my APIs. Shhhh..1
Hi, guys. I'm looking to get into Android development (Xamarin) and to build some simple apps first.
What I have in mind is something trivia-like, with a hosted database (can't find any free & reliable public APIs).
Do you know of any free downloadable databases on the topics of:
http://www.usabledatabases.com/ seemed promising, but it's not free (or I couldn't find any free DBs, as they don't have a price filter).
Thanks in advance!
Minecraft modding, in general, is badly documented. The documentation for the major modding APIs, for instance, is probably SOMEWHERE, but it's hard to find and often outdated. I only found one decent-looking updated tutorial, and that didn't contain most of the information I wanted. I really don't understand how the major mod makers actually manage it.5
Java and scala development:Intellij+gradle
Git: Gitlab + gitkracken
APIs: postman, insomnia
Scripted languages (most favourite to least ): Brackets(#1), Sublime, vscode, Atom
Others: Docker + Portainer, Visual studio (when playing with C#), geany for light works
Is it a good idea to code my Android app keeping sqlite in mind before actually migrating to a noSQL version?
The primary reason for doing this is not having to deal with APIs or server side coding and also faster testing and prototype development.
Any ideas or suggestions?7
Had to come here and rant about some devs not structuring and centralize their APIs so that they're testable. /Facepalm1
Please Google update your draft for manifest v3 to either have new APIs replacing the slow ones, or show a warning that the extension might slow down your browsing, don’t delete APIs used by several extensions:|
Anyone who has worked with OpenBazaar REST APIs. I cannot seem to get any response from the endpoints even though I think I've set the server correct. Any sort of help would be highly appreciated.
P.S. (Rant) the docs and the "helpful slack community" are total shit.
I NEED HELP with Kafka
I'm working a thesis. I developed 4 different microservices (REST APIs). I would like to use Kafka to support large number of users. I may also place the microservices behind a HAPI Proxy. How can I use Kafka to stream requests and respond accordingly. I'm using Node.js. I think I haven't grasped Kafka. My Prof, suggested I try it to act as a broker but I'm blank right now. How do I tell Kafka I want it do a POST or GET etc?2
*not a rant*
I'm building a dashboard/control panel that checks on the status of a couple of dbs/apis/websites and need a cool name for it. Let's see how creative devrant can be?13
Started with VB.Net, moved to websites with WordPress. Shortly after I wanted more control over the output and started using CodeIgniter, then FuelPHP.
In the meantime, I learned Java to try making Android apps (and quickly gave up because both regular Java and Android APIs are a mess).
A robotics club started in school which made me go back to BASIC for programming Picaxe microcontrollers, then C++ for Arduinos.
Currently, I focus on progressive web apps and sometimes native libraries/programs with C++ when performance is critical.
All the learning was mostly done on YouTube (thenewboston channel)
I recently joined a good MNC as a .net fullstack dev and right now contributing mostly to the frontend part to one of our projects. I have another team member writing the APIs and when i look at how the middletier is written and how APIs are structured, its just plain shit nothing else. It hardly follows any restful principles, returns weird response code, no design patterns at all, in short its a 10 year experienced dev writing code like a fresher.
I tried to communicate my concerns in a nice way but they were not taken very well. And when later I am asked to work on that codebase it will be like jumping in a pile of shit.
Now my question to you wonderfull people out there is, how do you handle situations like this? Do you have any suggestions for me please?6
Looking to get a good understanding of the fundamental ideology and math behind neural networks and support vector machines. I am well versed with math so I can deal with heavier stuff if needed, I would like to see formulas but an explanation to their conception would be nice. Does anyone have any resources like this? Practical hands on practice exercises would be a plus2
Would anyone know of a hackerrank type of api, where users can hold language agnostic challenges? I want to add that to my project but they stopped their api.
Anybody know of any other apis?
CodeEarth & CodeWars don't provide what I need.
I normally would create what I need and don't find but I assume that making something as sophisticated would be very very time consuming
I’m a mobile app developer, I want to learn something so that I can develop backends.... databases, rest apis, admin panels etc. I know basics of php, meanstack and django. What should I choose...4
If someone tries using "multipart/form-data" as only content type for their PUBLIC API ENDPOINTS again I am going to find them and choke them to death.
And if your documentation says you are using something else (application/x-www-form-urlencoded) I am doing it twice.
JSON apis should be standard.
EDIT: I had to fire up BurpSuite proxy, after almost an hour I accidentally switched the body type - voilà3
Has anyone around here installed the Developer Preview of Android P on their Pixel (any model)?
I'm trying to figure out which models would have access to the android.net.wifi.rtt APIs.
If one of you Pixel with Android P owners could send me the result of `context.packageManager.hasSystemFeature(PackageManager.FEATURE_WIFI_RTT)`, that would be a ton of help to me :)
PS: to run this, you'd probably need to install the Android P Preview SDK platform, there's a tutorial to do just there: https://developer.android.com/previ...1
Once upon a time I was working with an engineer who loved sed and awk a bit too much. We had data stored in SharePoint that was retrievable via an RSS feed. Said engineer insisted on using curl to grab the feed and sed/awk to parse the HTML ...
I on the other hand suggested using libcurl (primarily for NTLM auth support) and parsing the RSS feed using libxml.
Which engineer do you think management decided supporting?
Hint: Reusability and maintainability were big requirements in this project.1
I really like devRant's community. I just don't feel very well using the closed-source app, which is very well done and works nice, but I'd feel more comfortable using an open source app with a public repository that everyone can look at instead of a closed-source app with storage and location permissions access. Indeed I would be fine enough with a mobile version of the web app too, but it doesn't seem to be in devRant's developers plan. I've once seen someone creating its own devRant app. Is there any public APIs? Is someone already thinking about this?2
I am doing an API for our training center to store the workouts of the athletes in relationship with the mental & physical load, as well as sleep and health.
How do you document your APIs?
BTW I am using laravel.1
working on simple crud is hell of boring thing now, gimme more challenges SoS, apis, payment gateways stuff...I need them like narcos
Hey people, I've been developing Rest APIs for ten years, and I want to know what has been your experience with it and what has been the worst you've had to deal with!