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 - "xsd"
-
Twice today I've spoken up in meetings and was totally ignored. I guess my idea wasn't even worth a reply? :-/
Five minutes later: oh, right, I forgot I'd muted myself.
- @bradfitz21 -
Replaced semi colons (;) with a greek question mark (;) in my colleague's c# code.. He's now scratching his head... :D27
-
5th June is World "Environment" Day..
Reaction of Software Engineer -
Which one? Dev, Test or Prod?
😂😂2 -
Stack Overflow: Search on Google before asking questions
Google: *Shows stack overflow in top results*3 -
*girl in office call IT guy*
Girl: my computer isn't working
Guy: what happened?
Girl: screen is blank.. nothing on it
Guy: ok... I'll replace the monitor (starts unplugging)
Girl: wait.. wait.... I didn't took backup yet..
Guy: *face plam*6 -
Apple Just Announced It's Selling a Mac Monitor Stand for $999
..and monitor does not come with a stand.11 -
You know the code is in bad shape when you see variables starting with "get":
Integer getDataBlockSize;4 -
[God creating manager]
God: Take a blood sucking Dracula
Angel: okay
God: Wrap in a human costume
Angel: wait, is that legal?
God: Now make it dumb
Angel: -_-
God: Throw it between intelligent people
Angel: Is everything alright at your home?8 -
Elon Musk: I'm putting people on Mars!
Developers: Fantastic, more timezones to support.
Credit: @iamdevloper4 -
SuperCell is hiring.. Here is their job description:
Description
We need a new Builder. Are you an independent and passionate maker? Do you love spending 24 hours a day turning wood and gold into walls and defensive buildings? Do you answer the call to build even if that call comes at 4:00 a.m. and you haven’t had a day off in literally five years? If the answer to these questions is “Yes! Yes! A million times yes!” then we have a hammer with your name on it!
The Role
The focus of the Builder is to, uh, build.
You will be responsible for taking instructions from the player and building whenever and wherever they see fit. They say build and you say...well, you don’t say anything, you just build.
The world of Clash of Clans can get intense. Our Builder is expected to build quickly and expertly at all times, even while under great amounts of stress and/or attacks from Barbarians, Archers, Goblins, Giants, Wall Breakers, Wizards, and P.E.K.K.A.s.
Equally as important as building is rebuilding. All of the things you build will inevitably be destroyed, if not immediately, then soon after you just finished building or rebuilding everything. You can’t let it get you down. You must maintain your resolve and rebuild. Fast!
Responsibilities
Must be willing to relocate to the World of Clash
Must build and maintain a wide-range of buildings, statues, and war machines.
Must be on call 24 hours a day, 7 days a week, 365 days a year
Must have up-to-date Level 9 Tesla Tower maintenance certification
Must have proficiency with building materials both common (wood, stone, etc.) and uncommon (lightning, lava, etc.)
Requirements
Must provide own leather helmet
Must possess a passion for building
Must be comfortable working hands-on with molten lava.
Must adhere to strict dress code (orange sleeveless shirt, brown canvas pants, and boots).
Must speak fluent Barbarian
How to Apply
Send us your qualifications via e-mail to bethebuilder@supercell.com or write out your qualifications and send them to us via Baby Dragon. Either format is accepted.3 -
*team worried about Slack conversations being tracked in the company*
Solution: Shared text file over network. Edit and save it for private communication. Best idea ever?28 -
I saw someone rant about XML earlier, but truly the thing that puts me on the edge is XSLT. Who invented that crap.7
-
*on phone*
Friend: I want to add 100 contacts to gmail how do I do that?
Me: Add those in excel sheet and import it in gmail
*after 10 mins another call*
Friend: I deleted something in excel. How do I get it back
Me: Ctrl Z
*after 10 mins another call*
Friend: I added contacts to excel and emailed to you. Can you email me contacts so that I'll add to my gmail?
Me; I don't have these powers. You have to import in gmail.
*after 5 mins another call*
Friend: I uploaded contacts but I want it in on my iPhone
Me: Add gmail account to your iPhone. It will sync contacts.
Friend: I know we can do it on Android but is it possible on iPhone bcz Gmail is of Google right?
*hang up*1 -
Scientist has send some message to another universe which are some light years away. Due to the distance the earliest reply we can get is after 25 years.
Thanks to Google Assistant!4 -
Earth keeps rotating
Seasons repeats
Life goes and come back
Machines in factories doing repetitive job
You sleep, you wakeup, you eat daily
... and y'all think loops are bad?2 -
Microsoft - Cortana
Apple - Siri
Samsung - BixBy
Google - Google Assistant
Amitabh Bachchan - Computer Ji1 -
If you don't know, there are 2 types of bug fixes:
Hot Fix - Patch files directly on the production
Quick Fix - Deploy fix on production and then test it4 -
My grandfather is at age 72 & don't know much about technology. He forward me this message on whatsapp bcz I'm a software engineer. He made my day...
What is the difference between http and https ?
Time to know this with 32 lakh debit cards compromised in India.
Many of you may be aware of this difference, but it is
worth sharing for any that are not.....
The main difference between http:// and https:// is all
about keeping you secure
HTTP stands for Hyper Text Transfer Protocol
The S (big surprise) stands for "Secure".. If you visit a
Website or web page, and look at the address in the web browser, it is likely begin with the following: http:///.
This means that the website is talking to your browser using
the regular unsecured language. In other words, it is possible for someone to "eavesdrop" on your computer's conversation with the Website. If you fill out a form on the website, someone might see the information you send to that site.
This is why you never ever enter your credit card number in an
Http website! But if the web address begins with https://, that means your computer is talking to the website in a
Secure code that no one can eavesdrop on.
You understand why this is so important, right?
If a website ever asks you to enter your Credit/Debit card
Information, you should automatically look to see if the web
address begins with https://.
If it doesn't, You should NEVER enter sensitive
Information....such as a credit/debit card number.
PASS IT ON (You may save someone a lot of grief).
GK:
While checking the name of any website, first look for the domain extension (.com or .org, .co.in, .net etc). The name just before this is the domain name of the website. Eg, in the above example, http://amazon.diwali-festivals.com, the word before .com is "diwali-festivals" (and NOT "amazon"). So, this webpage does not belong to amazon.com but belongs to "diwali-festivals.com", which we all haven't heard before.
You can similarly check for bank frauds.
Before your ebanking logins, make sure that the name just before ".com" is the name of your bank. "Something.icicibank.com" belongs to icici, but icicibank.some1else.com belongs to "some1else".
👆 *Simple but good knowledge to have at times like these* 👆3 -
Scenario A:
Your code is working. You run again, now it's not working.
Scenario B:
Works on production. Next day it doesn't.
It is nothing you just experienced alternate universe. You probably with your manager temporarily jumped into another timeline where your code is not working.
Next time it happens tell your manager it's not your fault.
Eureka!6 -
Dear API vendor,
Please get off your arse and learn about REST, OpenAPI, JSON Schema, XSD and basic documentation so that I don't have to guess how to use your shitty, inconsistent, RPC over HTTP service.
With Love,
Platypus2 -
Someone please tell Hollywood that you cannot hack systems by typing some random command in the terminal.13
-
I'm still wet behind the ears as developers go, and about a month ago I cobbled together a webservice. After many bug fixes I somehow got it working as intended, held together by tape and shoestring and creaking all the while.
This week, one of the consumers of the service wanted me to open it back up to change the name of the request .xsd. no functionality changes, just a name change.
I protested, worried my service would fall apart if I breathed on it. But he insisted so I made the change.
I just tested it and... it's working as intended.
But I still want to be mad about this!! -
Just wanted to code some better public transportation route calculator (better ux) and found out that the pt company offers an API.
EVERY FUCKING REQUEST HAS TO BE SENT AGAINST THE SAME FUCKING ENDPOINT IN A POST REQUEST WITH THE ORIGINAL REQUEST AS FUCKING XML IN THE FUCKING BODY. At least they offer xsd files... BUT THATS NO FUCKING HELP. At least not that much of a help. AND THE DOCUMENTATION DOES NOT STATE A SINGLE FUCKING EXAMPLE OF HOW TO USE THAT FUCKING ENDPOINT. I FOUND THIS OUT BY SENDING RANDOM REQUESTS TO THE ENDPOINT TRYING TO REVERSE ENGINEER THE EXISTING FUCKING FRONTEND AND NOW I NOTICED THAT 80% OF THE FUCKING DOCUMENTED FEATURES ARE DISABLED BECAUSE: NOT FUCKING SUPPORTED!!!
MAAAN WHY DO YOU DO THIS.
Alternatively I'd use the GTFS files they provide but THEY ARE FUCKING INCOMPLETE AND DONT STICK TO THE EXISTING STANDARD GOOGLE DEFINED... They also offer a different propietary format... BUT THATS FUCKING UNDOCUMENTED AND FUCKING INCOMPLETE... -
Deleted 5 databases out of which 3 of them contains important data. A team is working on a big feature from months on those databases. All of the data is gone.10
-
I received a few XSD schemas from service provider, this have literally: Table1, Table2, etc... Table21. and without any documentation.
Should I insult provider devs on email?10 -
Govt. of India banned Tiktok so well that it is not accessible with a VPN even when you have TikTok installed on your phone.26
-
Working with a SOAP endpoint. I know it is some .NET server due to the style of stacktrace on exceptions. Nice, a framework where I can expect some type safety granted by static types. I build some xsl to transform the SOAP wsdl files into classes and structs to interact with the endpoint. Works out perfectly.
Plottwist!
Elements which are defined in the xsd/wsdl with maxOccur=unbounded and minOccur=0 should represent a simple collection of this type. Therefore does my implementation expect a collection of this type. But no. The shipped SOAP client in my stack ignores the definition and simply deserializes the SOAP response into T and not a collection of T.
Where the duck are the types when they are defined all over the place?2 -
Perfect use of DI in .NET Core project.
> Passed logger object in UI project's controller class constructor.
> Then pass it to internal class.
> Then pass it to business project.
> Then pass it to another class and finally used logger in a method to log exceptions in try-catch1 -
Indians are misusing their power of population. With that much population we can do much better things but we are just down voting apps.
Every platform has good and bad content. TikTok has good content too if you follow right profiles.
PS: Earlier I liked when govt. ban TikTok in India but after using it, I realised it has good content too with some bad one and it is true for every platform.7 -
manager: we need timings on work
Me : what’s the business requirement
Manager: don’t know but the business want timings. We have an XSD.
Me: *thinks - cool story*. -
offending devs is easy -
String strName = " John";
String strGreet = Greet(strName.ToString());
return strGreet;11 -
Still as a scholar who has had his intership I decided that I was finally confident enough in my ability to apply for a small part-time programming job. I had an internship at a cool exhausting place with tons of expertise and I've proven myselve over there. So now I wanted a job on the side. Nothing special, just something that would make a little money with programming instead of washing dishes at the restaurant.
So I started at this small internet based startup (2 or 3 progammers) as a backend-oriented programmer. The working hours were amazingly compatible with my school schedule.
The lead dev also sounded like a smart guy. He had worked as a backend guy for years and had code running on verry critical public infrastructure that if it were to fail we'd be evacuated from our homes.
As a first asignment I got an isolated task to make an importer for some kind of file format that needed integration. So I asked for access to the code. I didn't get it since they were going to re-do the entire backend based on the code I wrote. I just needed to parse the file in a usable object structure. So I found out that the file format was horrible and made a quite nice set of objects that were nice. At the end of the first week or so I asked if I could get access to the code again, so I could integrate it. Answer was no. The lead dev would do that. I could however get access to my private repository.
Next week a new intern was taken to build a multiplatform responsive app. Only downside was that all the stuff he had ever done was php based websites. It wasn't going anywhere anytime soon, but I figured that that was where internships were for. So I ended up helping him a lot and taught him some concepts of OOP and S.O.L.I.D. and the occasional 30 minute rants of IndexOutOfRangeException, ArgumentException and such.
So one day he asked me how to parse a json string and retrieve a specific field out of it.
I gave him something like the following to start with:
"
JObject json;
if(!JObject.TryParse(jsonString, out json))
{
//handle error
}
string value;
if(!json.tryget("foo", out value).../// code continues
"
but then the main dev stepped in and proposed the following since it wouldn't crash on an API change:
"
dynamic json = new JObject(jsonString);
string value = json.myJsonValue;
"
After me trying to explain to him that this was a bad choise for about 15 minutes because of all kinds of reasons I just gave up. I was verry mad that this young boy was forced to use bad programming pracises while he was clearly still learning. I know I shouldn't pick up certain practises. But that boy didn't.
Almost everytime the main dev was at the office I had such a mindboggling experience.
After that I got a new assignment.
I had to write another xml file format parser.
Of course I couldn't have any access to our current code because... it was unnecesary. We were going to use my code as a total replacement for the backend again.
And for some reason classes generated from XSD weren't clear enough so after carefull research I literally wrapped xsd generated code in equivalent classes.
At that moment, I realized I made some code that was totally useless since it wasn't compatible with any form of their API or any of the other backend code. (I haven't seen their API. I didn't have access to the source.) And since I could've just pushed them generated XSD's that would've produced thesame datastructure I felt like I was a cheat. I also didn't like that I wasn't allowed to install even the most basic tooling. (git client or, Ide refactoring plugins, spelling checker etc...)
Now I was also told that I couldn't discuss issues with the new guy anymore since it was a waste of my valuable time, and they were afraid that I taught him wrong concepts.
This was the time that my first paycheck came in so I quitted my job.
I haven't seen any of the features that I've worked on. :) -
Okay, I'm learning XSD (I wish i didn't, but yeah)
Why the fuck does it require so much code to use the simplest regex?
<xsd:simpleType>
<xsd:restriction base="xsd:integer">
<xsd:pattern value="([0-9])*" />
</xsd:restriction>
</xsd:simpleType> -
Doing production release on Wednesday is kind of pointless. Someone is going to override the world a day after due to Last Thrusdayism - https://letmegooglethat.com//...1
-
Is this some fucking standard to provide a dump of your shitty xml api instead of just giving xsd file?3
-
I have been working on this whole day but is not able to find a way around this.
I want to create an xsd from a given Python class. I want to automate this process and we have a bunch of such classes.
What I have found numerous times today is "How to convert XSD to Python class " for which there are bunch of libraries such as PyXB and generateDS.
Asked a question on stack overflow but there is no response.
Can anyone help me with this2 -
I recently joined the team that is responsible for the maintenance and development of the ibis adapter framework (http://github.com/ibissource/iaf)
The IAF is an integration framework, with a set of pipes written in java one can compose a service written in xml by building a pipeline with the premade pipes. For data mapping and validation we use xsl and xsd files. The framework can communicate over different protocols such as HTTP(S), JMS, EMS, SMTP, FTP and more.
I will be responsible for the web interface where you can manage/debug/test your application.1 -
Does anyone know any good documentation tools for an asp.net core API. I've looked into swagger but it'd be good to have something that can produce an xsd4