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 - "property"
-
Google is full of assholes!
Just paid $25 dollars to list my app on google play store. Within 15 minutes of submitting the app, it got de-listed.
Reason:
Impersonation
Who am I impersonating?
The logo is impersonating the logo shown on MY OWN website!!!
How dafuq can you impersonate your own intellectual property?????
Contacted them back using their form. Didn't even call them "cunts". Asked to have it reviewed.
After waiting 7 business days, started sending them 1 email a day. On day 11 I sent 100 identical email asking them to review it.
Today (day 12), they cleared the app. I got this reply back.
"We found that your app was not in violation of our policies"
-Google40 -
Tonight I was getting ready to pay my monthly apartment maintenance bill so I Googled my property management company's name because I always forget the url. It's always the first result, but I noticed Google placed a little "This site may be hacked." line of text on their listing.
Seeing that before and knowing what it means, I went into the source for their index page, and to my suspicion, their WordPress installation was hacked with the standard invisible spam links.
I realize this happens to a lot of WordPress blogs, but this is an NYC property management company that is responsible for a lot of buildings and has millions of dollars in contracts. Normally I would inform them, but having dealt with them in the past I don't like them very much, but more importantly, I don't think they'd understand what I was saying because they are so technically inept. They might even think that because I found this, that I had something to do with it.
So devRant, it is up to you. What should I do?22 -
My resolution for this year is to stop hating javascript.
Error: cannot read property "year" from undefined.2 -
Just who the fuck from apple thought its a good idea to make the FUCKING SCROLL BAR overlap, the FUCKING PROPERTY ARROWS, everytime i accidentaly hover over it? I cant change shit! I have to wait few seconds every time i accidentaly hover over the scrollbar so i can be able to FUCKING CHANGE the value!
Dear Apple Inc,
Fix your shit! We're paying 100$ a year for what? More bugs and toruture? I didnt sign up for this bullshit! Give us back some real quality products, or just buy the company Jetbrains and let them build the IDE for you instead.12 -
Just learned that my employer withhold part of my salary every month the past 5 months! I did not notice it as it was overtime compensation.
I first thought maybe it was a mistake so I asked, the reply I got was: Oh you know that compensation we agreed upon? I wasn't having it anymore so I decided to half it and been since then editing the hours you billed every week to reflect that and accedently forget to tell you.
Accedently?! My ass! One week is believable but not 20 weeks. The only reason I found out is that they tried to lower the compensation even further which caused these hours to show up differently in the hour declaration software we use.
So currently on my way to return company's property and quit.17 -
!dev
Dear Airbnb Hosts,
The extra cleaning fee isn't just extra profit for you. I will gladly pick up after myself, before I leave. That said, if you expect me to deep clean your flat, consider leaving equipment to do so. If you send me a shitty email because I didn't buy a broom, mop, bucket and kitchen rags to stock your investment property, I'll tell you about where you can stick that noise.
Sincerely,
Fuck you7 -
So I tried to start learning Spring 5
How the fuck do you guys do it? Holy shit.
30 seconds in:
"Spring really isn't hard, you start with this request handler interacting with a view parser..."
Alright, sounds good
2 minutes in:
"So in order to use SpringResponseDriverActionHandlerServiceRequesterService you'll need to import com.org.java.spring.util.driver.comagain.request.response.request.drivers and include this 37 level deep nested XML property and finally extend this abstract class and implement it over an iterable list with this specific annotation aaaaaaand.... Done"
> Hello, world!
"See, spring is easy!"11 -
So today I learned i can pay my property taxes online. The way you pay is:
1. Enter address (street #, I live in an apt)
2. It will show all matches **including the owners full name**
3. If you click view, it shows the full account history...6 -
Windows: "You put in a USB I can't read property cuz it's not NTFS/FAT, want me to delete everything??!"1
-
The single cuntiest error I ever had in one sentence:
Cannot read property 'undefined' of undefined.4 -
- Find an old js project in your computer
- Try to start it
"Uncaught TypeError: Cannot read property 'undefined' of undefined"
- Delete it -
I was today years old when I discovered the CSS property column-count.
Do you have any fucking idea how many times I’ve used CSS grid or flex box or BOTH when all I wanted was to make a layout with a set number of columns?
Why the fuck didn’t I know about this thing?
Did you know about this thing?17 -
Here's a thought...
If AI get human rights, and someone destroys the machine, will it be considered destruction of property OR murder...9 -
Omg so I've been stuck on this function I'm writing that checks if a certain array value is so many characters long and well, it just wasnt returning false when outside the conditions..
I tried taking it step by step, echoing out every line and it all made sense to me and there were no syntax errors.
Time goes by and inside the configuration file I was testing.. I was changing the value of a DIFFERENT array property than what I was using in my condition. They looked really similar.. fml xD2 -
I just realised that I've been experiencing a lot of stress and frustration over the last couple of months. I also realised that these feelings of dread and existential anxiety stem from my heavy use of Ubuntu. So I ended another agonizing 3 hours of trying-to-get-internet-access-again-so-I-can-get-some-fucking-work-done and managed to blow off some steam without causing too much property damage. Then I sat down and thought about it. And you know what? I hate Ubuntu.
With Window$ I can at least get some work done without having to write my own network drivers because the current ones do not function when the day of month is a prime number or some shit.15 -
I am using this SDK and I came across a property "Orientation" of type int.
Why int? Is it an enum or something? Let's have a look into the online documentation...
"Gets or sets the orientation."
😣
Yeah, thanks. Very useful.
It's again that kind of documentation which simply restates the property name or method name. Who needs this?
So I tried to set the Orientation property to 1 to see what happens.
A runtime exception then told me that the only valid values are 0, 90, 180 and 270.
Well, this is kind of stupid but ok, I can live with that.
But ffs, put that info into the documentation, where it belongs!4 -
Fuck you BT, charge me £80 for phone and internet, then only give me 50% of your advertised speeds that cuts out at random points then when I complain tell me you'll look into it but if you find any issues within my property I have to pay for the fixing of all issues with my line inside and outside the property not to mention the over £100 call out fucking cost!!! Plus you were fucking charging me £6.99 a month for BT fucking Sport that I don't watch and that I was told on 3 occasions was fucking free for the last 3 years!!! Again I will reiterate FUCK YOU BRITISH TELECOMS10
-
First story (not rant) :3
So I was asked to set problems for an online programming contest for my college (I'm a sophomore)
The participants were students from my college.
Teacher told me "make as hard as you can"
I gave it my all.
:|
1 person solved the first question. Nobody solved the other four. :|
Not sure if I should be proud or sad.
And if you're wondering - here was my first question -
Sam wants to invest in real estate. He's got X dollars to spend. He knows the expected value per square meter of a given property. He knows the coordinates of the vertices of the polygon shaped properties he's interested in.
(both the values and coordinates for each property are given in input)
Find the maximum return on investment he can get.
(answer is, basically you calculate the area of each polygonal house using half the vector cross product, multiply it with their expected value per square meter, and then apply a dynamic programming - knapsack approach)
;-; I really thought it was a nice question man. ;-; I put so much thought into others too. ;-;
Got ignored. ;-;6 -
Stupid HTML checkboxes! It's always annoyed me that you can't just set checked to true or false, but have to remove the property altogether to uncheck a checkbox. Better still would be if you'd only need to set the value to 1 or 0, and the checked or not would sort out automatically. Yes, there are frameworks to handle it, I know. But if checkboxes had been designed right from start, a framework or any sort of special cases would not be needed. You've got love HTML, but things like this make it ugly.6
-
One of the most infuriating ideas in software development culture is that you can build maintainable applications without a strictly enforced type system and structured data.
Sure, it's more fun to wack around a dynamically typed system until it works or to write a major application with mutable datastructures... It's a least fun until a few years in and you have to debug an unexpected overwrite or a inconsistent use of an object property or whatever.
Anyone who writes maintainable code eventually figures out that you need rules and procedures, the issue with JavaScript, python, ruby, lisp, etc developers is that they think it's us developers that needs to enforce these rules instead of the compiler (which is infinitely better at it).60 -
css quick maffs
so you did this:
.foo:hover {
transform: scale(1.1);
}
and now ugly scrollbar is there when the element is scaled.
No, don't do overflow: hidden. There's a better way. Instead, do this:
.container {
padding: 1rem;
box-sizing: border-box;
}
the element total width is calculated based on the width of its content. That's true unless you specified width and height explicitly (if you did so, you're a doofus, I'm sorry).
Scaling makes content somewhat larger. With border-box, paddings work differently with the total width.
By default, if you set width to say 100px, and paddings are 20px, total width will be 140px — it's your 100px of content plus two paddings of 20px. width property set the width of the content, not the total width.
With border-box, width property sets the total width. So if you set width to 100px and paddings to 20px, total width would be 100px, just like you set it, and content will be 60px wide — it's 100px minus 20px times two.
The key part is it doesn't end with explicit width. The algorithm remains. When some node is rendered, its total width is calculated. When you use border-box, the total width will stay the same even if your content grows by some value that is less than your paddings. So, your content was 100px, you scaled it, and it became 110px. Well, then that extra 10px will be subtracted from your paddings, and they will be 15px each instead of 20px.
No more ugly scroll bar. Yaaay!
aight bye8 -
An ex-colleague got accused stealing company property (soda) that he bought with his own money.
He had put his own soda near the other soda of the company (a different brand they never bought). He went home one day and took 1 bottle with him. During that time period, the company offered free drinks (non-alcoholic of course).
WHY WERE THEY EVEN WATCHING THE CAMERAS15 -
So this guy is asking for help but his ego is too high. What happened was his code raised a ""Trying to get property 'result' of non-object"" error so I told him that the data type is not declared. He still not get it. Like in personal message he asked me wether I know php because he is the founder of some cloud service in php, and I know all about php.
I was like if you know php so well, why cant you realise that $result is not declared?4 -
I was working for a client on a simple landing page. After struggling for days with the text-flow of one paragraph and trying one CSS property after another I finally realized it.
He sent me the texts in PDF format and I just copied them. What I did not know is that all the spaces in the text were non breaking spaces wich of course did not wrap like I expected.
Heureka. You bloody bitch. Never imagined having such a fucking issue in web development...2 -
Started development on a Firefox addon again:
Adding an onclick HTML tag/property (however you call that) - doesn't fire at all.
Adding an event listener - says no elements with the class I'm using (checked, it's correct) exist, doesn't fire.
Well, fucking great 😐4 -
Bored waiting for a long running test cycle to complete, so...
Monopoly: Software Dev edition.
All properties are companies with apple and alphabet being the most expensive ones, course the online version plugs into stock tickers to accurately reflect the current share price.
All railroads are broadband providers.
You don't build houses or hotels, but patent portfolios and 'landing on another property' becomes 'infringing on a patent'.
Cards:
- Kickstarter refund, collect £200
- Hit by ransomware, pay 1bitcoin.
- You are sued in East Texas, go straight to jail, do not pass go, do not collect dividends.
- Get out of court free card.
Yeah, I'm that bored that I'm rewriting bloody monopoly...5 -
Unemployment week 2
I finalized buying ~1000 square feet ( ~95 square meters ) apartment. Still renting 100 square feet room ( ~10 m2 ) so change will be tremendous. It’s first property I will own. With that amount of free space I think I can start constructing small spaceship or time travel machine.
Typed on linkedin that I’m offline.
Phone is still ringing. Time to turn it off for a while and rethink my life and world around from scratch.
Rest is good for my soul.
Peace ✌🏽2 -
Of all the fuckups I love the ones with all the wrongs the most.
Like one junior: restarted a wrong app component in a wrong environment on a wrong agreed time after updating a wrong property in the config file.
Like today one of my teammates: updated a wrong script to add a wrong step in a wrong spot in the sequence... At least got the environment right I guess..4 -
You know you've been wired in for a long time and need some sleep when you typed in wrong css property.
#careless #whatissleep4 -
i always go out of my way to help people learning to code. as a self-thought coder myself, i remember the struggles of starting out and not knowing the basic shit. but it seems that in todays environment, when there are a lot more resources, gamified platforms, tutorials, online courses, paid and free, their motivation to actually learn stuff, is non existing.
learn what the css property actually is before torrenting the fucking useless 40 hours video tutorial on how to use the shitty bootstrap.1 -
Ah fucking hell.
I hate it when my boss goes the path of least resistance to implement something.
Of course declaring a class property with the "any" type (TypeScript) is a fucking lot easier than to properly write an interface for it and declare the property with that type.
Thank god I have holidays, otherwise I would hatepunch his fucking monitor. Twice.2 -
This god damn unknown company reported my websites' Facebook page is violating some intellectual property. Facebook report says I must contact the reporting party to get this resolved but there were no contact details specified!! I searched on Google and Facebook om how to contact Facebook but no luck.
How the fuck can I get this resolved if I don't know who reported this? Does anybody here know how the fuck I can contact Facebook?? If you do then please let me know!3 -
"Ok, so if you want this thing to show up here you need to set this property, ok?"
Client: "Ok, but how about I just don't and complain that it doesn't work?"3 -
Poor Mr. Squishy working as a window stopper, since some clever folks at the property management department, after months of nagging to get blinds so that the light reflected doesn’t interfere with my (light in general, not direct sunlight).
They installed the blinds in front of the window, so it can only be opened a few centimetres… Well done! Well done! I have to choose, either slightly warmer air than I prefer, or bothersome light reflection in all of my monitors.17 -
I was looking up for a bug in my code that caused a fail in one of the test.
Hours later I found that negative integer division in python is just stupid and -1 / 10 = -1.
The sad part is that -1/10 != -(1/10) contradicting the associative property of multiplication over the real numbers.
FUCK YOU PYTHON.12 -
I just wasted 2 hours trying to figure out why the properties of a destructured object returned undefined, even though everything was fine in JSON format. Tried to request data on the frontend from my server with a database attached. Tried accessing each object of my array separately, it worked. In a loop: dataArray[index].propertyX ... undefined??
Turns out I used the wrong property names to access the info inside each object.
🤦1 -
What a fucking shit show. You buy an original DVD but cannot watch it because of a stupid copy protection system.
"Injects purposely damaged sectors into the DVD in places not read by most DVD players."
Well tough luck, VLC reads all sectors and chokes on the corrupted ones.
Here I am, sitting with a legally bought laptop, a legally bought DVD and a legally owned playback software, yet unable to enjoy my property.
THANK YOU HOLLYWOOD! >:(15 -
Riddle me this
Client wants solution based on open source software.
Any additional software that I write (let's say, an offline store plugin for Feast feature store) to add missing functionality has to be closed source.
Fuck you. Intellectual property my ass. You and me wouldn't even have projects if it werent for OSS.
Good luck maintaining the plugin after I am gone.
I'm doing a lot of work and will have close to nothing to show to future employers.
(BTW, if it were for the old Microsoft model of code source, I would have never become a programmer of any sort. God bless OSS)3 -
Steps to becoming one with your code:
1.Get red lamps and make em trippy asf.
2.Syntax color the shit out of your editor.
3.Install activate-power-mode
4.Get high or tipsy
5.Listen to surround psytrance
6.Code
Congratulations you are now in a higher level of existence. You are one with your code and your will is root.
*Disclaimer: Marnsghol is not responsible for any: Injury, death, damage to personal or company property, losing job, getting arrested and/or efficiency problems in work environment. Discretion is advised*3 -
My boss keeps touching and poking my colleague's and my laptop screens. Our laptops are both Mac and are not company property. My colleague once told him to stop. He said sorry, but after 5 minutes, he did it again. It's so annoying. Why can't people understand that if it's not a touchscreen, they should keep their manners and not touch it?12
-
Story about my old boss:
I was doing a lot of work in an area that had a data property and a method to build an object. I noticed a reset method that iterated all that objects properties, found the matching data from the data object, passed that data through some logic to format it and then assigned that value to the object property.
As part of my PR I removed that method, since data wasn't changing, and simply called the create method again with data.
The result of tidying the code base and putting it up for review before a merge? I get told I have no respect for my boss's code, that I am undermining him, that I need to be more considerate and respectful of other people's work and that I am no longer allowed to change any code he has written in the code base (half the code base) without talking to him about it first, before it goes up for review. Also if he is working on an area I cannot change anything - not even 1 character (he is working on the core of the app).
Every day there I was so confused :D5 -
Question: is it a red flag if I'm "not supposed to" blog about tips and tricks I've found at work (not even code level, just organization and general design patterns)? Reason given to me: "we need to be careful about due diligence and intellectual property for our investors to be satisfied". Am I working with idiots?9
-
Part two of: a day off an iOS developer life:
1. App crashed and stack trace gives no info in which file it happened, I have a generic table view cell that is used in so many places and Xcode just wrote: xcell does not support key value.
2. Mac freezing when Xcode is creating IPA file thanks to a new feature in Xcode 9 (Mac freezing is the new feature, even mouse pointer doesn't move -.-)
3. Let's check the value of this class property, Xcode: fuck off and either print it in console (after hitting a break point) or expand that shitty tree at the bottom to reach your class property!
An advice: never click jump to definition when Xcode is indexing, it will either freezing Xcode or crash it.
Part 1 link: https://devrant.com/rants/1137208/...1 -
I had to use XSS (cross site scripting) and tag injection to change one tiny CSS property on a bug tracker site where I have no actual file access and can only add custom footer text. Why not just give me file access, or at least some way to customise the CSS, you stupid thing!2
-
When reading the documentation could have saved you hours of debugging.
"How nice, there's actually a property for that..." -
So I had been developing a real estate website and developing a MLS feed parser. I had only 1 year experience at that time and parsing a XML feed was already complex enough. On top of it, the client wanted to automate feed download from the MLS provider through HTTP authentication. Managed to do it. Everything worked for 15 days and on 16th day the property location markers stopped appearing on Google maps. Turned out that address to lat-long reverse geocoding was failing because API limit exhausted. My bad, I coded it on view instead of caching the lat-long in database. Fixed it in a day and viola!
-
Important rule of programming: don't swallow exception and provide details for troubleshooting.
Visual Studio: The project file contains a property value that is not valid.8 -
That moment when you change a color property in the interface builder and Xcode decides to go batshit crazy then crash.1
-
senior: we have no reason to change/mutate this property, we don't need a setter method, just set it once in the constructor
also senior: there's no reason to change/mutate this value, but i want you to write a setter method for it3 -
My boss has told me he now doesn’t think we can afford the new property management system we desperately need to do most of the projects this year.
He has now suggested that I build a new one for the company to use from scratch. Oh and in the same timeline as buying an off the shelf product.
😒 -
So, I just swatted a huge bug out of the air using my work iPad. Because it was the closest thing handy. I'm pretty sure that's not why they bought me the thing...2
-
I don't understand some developer's thought processes when they fix a bug/issue.
Let's say the error is -> "Cannot read property id of undefined".
My first thought is to add a check for undefined and null and figure out if further code should be executed if a null or undefined is encountered, depending on what the code is supposed to do.
But some devs are like, "Yesterday the sunrise was at 5:30 AM, Earth's rotational axis is titled at 15 degrees to the left, My aunt asked me about how I am doing today, so therefore the bug fix is required at line 65,456 of this particular kernel file".
And they implement it, and it WORKS.
Weird.5 -
If my girlfriend was a prefixed browser-incompatible CSS level 4 property I would still use her in production.2
-
Started a new job this week, picking up the front end development of a property management system, since they're old developer just left.
Oh my god was his code bad, inconsistent use of js versions e.g only sometimes using lambda for anonymous functions, variable names that were a single letter, no comments, no documentation, and over 30000 lines split into almost 30 js files, following the logic of it is as fun as a hedge maze with no exit.2 -
!Rant
Dear fellow front end developer, why?, just why would you use "!important" on every property value inside your @media query?2 -
We accepted a property listing project for a client.
I have been looking online for references and inspiration regarding design, features, plugins etc.
And this is what I just found. I shit you not. $20 and you get everything. WTF.
May be I will just buy it and give it to my client. $20 and you have like 40 lines of features, if not lied, which are more than enough to meet my client's requirements.
Why the heck am I working?
Am I the one who is charging too high to my client?11 -
class name for section named "liability" is "liab"
class name for section named "dedcutible" is "deduct"
class name for section named "personal property" is "personal-prop"
class name for section named "personal liability" is "personal-liab"
I don't know who you are, but you are a twisted evil teammate and I wish you fired.
You've ruined my day, hope you're happy.2 -
My exact reaction when ,I was researching on legacy programming language and their copyrights for my intellectual property rights subject.
Found that
Python was released before Java did.
But the popularity Java claimed was faster than python
Python first release date 20 Feb 1991
Java first release date 23 Jan 1996
Could anyone explain y python gained is momentum later!?2 -
Is it possible to have a midlife crisis at 27?
The "software biz" swallowed me up and except for money and a career I don't have anything.
Turned down multiple management positions because I dont wanna deal with other people, I just wanna be challenged while being let alone
I know I said this before but once again I'm thinking about buying a small house with lots of land.. get some cows, maybe chickens, work remotely and make my own life on my little property.6 -
My son used an ASUS Live L1 for about 3 years, and then we bought a new smartphone 1 year ago. Cool, except that the e-mail address he registered with Live L1, no longer exists, has been permanently deleted. His newest phone was stolen, and we took the L1 to set it up again. Only... Google wants him to log in to the original email (FRP Lock) that no longer exists.
How absurd, the L1 cell phone was never marked as stolen, and now we are unable to use our property. Is there a way for my son to convince google that the phone is his?
Microsoft, Google, Apple... They give the impression that people give money and use devices as if they were a "favor".12 -
I'm staring at the setter portion of a legacy VB property I came across.
This is crazy... right?
Set(value As String)
_firstName = value.Substring(0, value.Length)
End Set4 -
So I've been dealing with one hell of a shit bag filled property management company since the numbnuts that lived next door to us set the building on fire (and didn't wake us up). The fire was pretty brutal, but it seems like this company wouldn't be satisfied without amplifying the misery. So I was wondering if anyone had created any kind of bot to auto post things to someone's social media accounts? I figured if they were going to be total dicks about things, the least I could do was try to help out with any of their search engine optimization efforts.5
-
I have an issue with my Laravel routing. Can you help me out, @bittersweet?
I have a custom "/home" route called "/admin" and I set the protected property in the LoginController:
$redirectTo = "/admin";
And it works fine, if I log in from guest. But when I navigate to "/login" as auth-user it still redirects me to "/home".
What the fuck is this? What do I have to change to make this work? Who has to be fucked? Is it possible to solve this without sacrificing a virgin at bloodmoon? And why are Platypus so fucking ugly?14 -
Nice! no fucking communication from the backend devs to the frontend devs
Got 400+ type issues because backend Capitalized property names!
Well there goes half an hour.4 -
So, if I was to emigrate, should I come to your country?
I'll finish my bachelors in Comp Sci next May and Ireland isn't really livable right now with property rental prices. Time to look elsewhere I think.18 -
Usually, when I programme for myself or in a German-only team and they agree, I/we do it in German because it makes naming things much simpler (no naming conflicts, never, and a strict visible separation between your code and libraries).
This time, I thought: "Nooo, let's do it in English, because, you know, reasons and it fits into the situation"...
Booom, stack overflow!
"How in the hell did that happen?" I never had a stack overflow before outside of recursive programming.
And what was it? I had made a class to encapsulate an API, added a property with getter and setter, naming in English and similar to the said API... very similar... in fact, the property had the same name as the API function, resulting in a getter calling itself over and over again.
This was a harmless mistake, and found very quickly, but it's interesting so see how a habit (or working method) probably prevented similar or worse sources of error in the past.3 -
Let me guess, using regexes in the mousemove event handler isn't a great idea.
How fast are simple regexes, anyway?
I have /^(\d+)(.*)$/, because I want to animate a css property that might have some unit.15 -
border-bottom property of a page title div worked perfectly in chrome on windows.. Didn't show up on chrome on Mac for some reason.. Spent three hours... Cleared cache.. Held a ritual to summon satan.. Still didn't show up on Mac. Turns out border color was set as #c7c7c757
-
I found a budget salary for dev with 4-5 YOE in 2011 in my company, digging through internal old docs.
Assuming 2% increase per year, the 2023 budget salary is now EUR 15k more than what average dev get in my company.
I remember that someone mentioned similar thing in other socmed where he found through internal docs, salary for his position 10 years ago and now are the same, totally neglecting inflation.
On the other hand house/property values has doubled within 10 years.
How can we pressure companies to give us appropriate salary?
When I ask for increase, they will just say no because it's the market rate, but the market rate sucks.5 -
For a long time I wanted to have the possibility in Swift to copy instances of value types by just changing the value of one property (member variable).
Something like Kotlin's copy function.
And now that Swift has macros (like Rust), I made a macro for that! 😄
https://github.com/WilhelmOks/...4 -
Hello guys, I need your help.
Recently we purchased new property for our company. And we are about to start working there in few days.
And now we are searching quotes to stick on wall there.
Can you guys help me with this?
Please suggest me some quotes.16 -
TIL CSS has a counter-increment property and it really gave off some powerful "HTML is a programming language" vibes.9
-
Had to work with a SOAP API that was described by its WSDL to have a property called "ShoppingCart". Wasted two days trying to figure out what's wrong. The customer sent a screenshot of their backends input mask. It was then that I noticed that the corresponding label read "ShopppingCart". Yes, that's what the property was actually named.1
-
The worst is on an ATM Card,
"This ATM card is property of the bank if found please return it"
No place to explain how to use it2 -
I worked on a project that used an archaic homegrown library written by a consultant that had zero documentation, tons of reflection and here is the kicker... the consultant refused to give us the source code as it was "his intellectual property" so we couldn't make any sense of how to actually use it. Moreover, he worked remotely so the timezone difference between us meant that any questions we had took ages to get answered. Glad to be away from that project now.4
-
I don't know what to think of Vue 3 Composition API anymore. At first I hated it because it's nothing but one big ole rip off of React, and I hate React so much; its hook system is the most disgusting anti-pattern I've ever seen in the entire JS ecosystem. This gave me the incentive to try out Svelte instead, but after doing so, I look back at Vue 3 and noticed that they're kinda similar... why are so many JS devs allergic to classes? You can have much better written code that way. Idk, I'm waiting for vue-class-component and vue-property-decorator to fully migrate. In the mean time, if I'm gonna be forced to write composition based code, I might as well use Svelte.3
-
The ruling government coalition of my country officially prohibited ANY pay raises in 2024 and is likely to limit them until 2026, obliterated running tax exemption agreements on Intellectual Property specifically targeting software developers, raised tobacco taxes by 25%, killed fossil fuel-powered company cars while barely investing ANYTHING in electric infrastructure, and severely cut public transport funding.
AM I SUPPOSED TO JUST SIT BACK AND TAKE A YEARLY 5000 EURO LOSS WHILE MY MARKET VALUE INCREASES?? WTF man.
Good job centrists, greens, socialists and liberals. The only thing I can do to punish them is by voting for extreme left or right. Way to go to turn a law-abiding, moderate citizen into a riled-up, disillusioned mofo.12 -
I feel with @gipsydanger
I had to work with snake case columns with a maximum name length of 16 characters. Abbreviations, acronyms and undocumented adfixes. The ORM models were generated with resolved pendants of the column names. There are typos in name resolving and some adfixes were used with different understandings which result in completely wrong field/property names for the ORM. As this ORM class generating process is separated from migrations some people did not care or check on the ORM.
Previous rant https://devrant.com/rants/1461563/1 -
This regular expression documentation thing is coming along. Added capture groups and backreferences. Think I just need to tackle Unicode property escapes and control characters.
But now I feel like I should have implemented it differently. Like, maybe instead of “‘a’ followed by ‘b’ followed by ‘c’, I should have just done ‘abc’.
*sigh*1 -
i know that i want to be a developer because of these two things:
1) You can make money (intellectual property&
2) System.out.println("Hello Handsome!");3 -
Another weird property of the devRant API:
For every POST request the url parameters need to be passed in the http body instead of in the URL, like this:
app=3&user_id=42
Wtf why?22 -
Today i faced a "bug" which caused an element not to trigger a Bootstrap 3 accordion by klicking on it. Only on iOS/iPhone - Desktop and Android worked fine.
The actual problem was that almost the same structure worked fine on another website...
took me about 3 hours to figure out that the element which was supposed to trigger the accordion needs the css property 'cursor: pointer;'.
why the hell does a touch device, which got no coursor, need this property?!3 -
I am now going to attempt the problem solving ritual.
Requirements:
-have a problem or piece of unoptimized code and you don't know how tk fix/improve it
-be able to sleep/take a nap
Now before I fall asleep the ritual should provide me with an epiphany to solve my problem
Plan b:
I have a class ninja (model), with an observablecollection<property> properties and an observablecollection<gearslot> gearslots;
,a class gear with an observablecollection<property> properties and an Category category:
And a class gearslot with a Gear gear and a Category category;
Via entity framework this results in several property entries per ninja
And several property entries per gear item
All good so far.
I now actually want the ninja property values, to be the sum of the gear property values
So a ninja has int, agi and str of 0.
Gear has 0 or more stats.
If the ninja has two pieces of gear on with agi +1, then the ninja agi should be 2
If possible i would like the logic in the model.
Else i have to put it in the viewmodel.
That i can figure out, its just so inelegant.... -
Hello, world!
Okay, guys and gals... I need your creative minds. I need a concept for sort of a property manager for my game.. I have an idea of my own, feel free to tear it apart or throw it out the window.
So basically.. You'll no longer have one Computer System (and you wont instantly hit the login screen for that System on startup) Instead, you'll have a lot of things. They will probably only be represented using text and menu's (likely no 3D or 2D environments or anything.. Though, a setup like News Tycoon would be epic, but I think that would be too much for this game.) You'll basically start off with a small space (probably a basement) with x amount of free space. In that space, you'll need to add things like a desk, chair, and a laptop, or tower + monitor. You can also buy things like server rigs with a ton of space, but those are pricy and bulky. Each item costs X amount and takes up X amount of space. Also, you'll need a desk for a monitor (or multiples..) and other things.. (Like your rubber duck collection ;P JK) You can also rent and manage servers. (renting is more exspensive in the long run, but things on your server are not on your property. But, if you own a server on your property you can rent space to to NPCs) As well as manage your devices, properties, stocks, etc..
Also, there will be in-game time. Depending on how "comfortable" you are will determine how long you can stay up in a day. In-game events will take place later on at specific times so staying up (or not..) will need to be managed well. Especially if you're being targeted by a rival (NPC) hacker.5 -
So... I’ve recently started a new role, and luckily I’ve established myself as someone that knows his shit (more or less) TM.
I’m leading the charge on tech debt, and raising issues about it, first on my radar is the monstrosity of their approach to app config.
It’s a web app, and they store config in a key-value table in the database.
Get this. The key is the {type}.{property} path and this is fetched from the database and injected *at construction* via reflection.
Some of these objects get instantiated dozens of times per-request. Eurgh. -
This is a bit offtopic .
So Today I found that my family except my mother goes against me .
And that too just because of my grandfather's elder brother who is a bustard and once in the past he tried to attack on my father because of property issues and my father was one of the property holder .
What a family I got . Feels like sick . I don't wanna live with them anymore neither my mother . They ( my so called family ) literally said so many disturbing things that can kill a mentally weak person instantly . And me ?
Well , being just a boy in the home had to listen and defend .
One more lession I got from this incident that
Being aged doesn't mean someone has the proper matured knowledge .
How could a grandfather protect his bustard brother when he knows his brother Tried attack on his son .
This is so toxic .
I'll leave the rest for you guys's opinion .
I've decided to rent a flat somewhere else and live their with my parents .
Yeah Parents , because I can't just ignore my father . He alsl took care of me from the childhood like a gentleman but family pressure and other things couldn't let him decide the right move .
I don't know if I ever be able to look for this so called family .3 -
Is there anyone who actually likes using Angular?
I decided to learn it (im backend only for many years) to be less clueless in the frontend world.. and so far i find it horrible.
Is it just a "culture shock" or do frontent angular devs also find it.. not so fun to use?
What i dont like so far is the inconsistency of syntax.. i feel like similar things done differently and not following rules that can be learned, i can't remember/guess anything, everything needs to be googled
i.e- `*ngIf` vs `[ngSwitch]`
Not to mention 3 different syntaxes to simply bind a property..
I tried vueJs about 3 years ago and it was so fun and EASY20 -
Ok, I'm actually raging at vuejs right now, and this is coming from my second year using it.
the fucking shit is weird.
functional components cannot use v-model.
functional components also cannot reference other components via components property, that child component needs either to be global or be injected (an ugly hack).
v-model behaves differently on checkboxes. checkboxes are fucking shit on vue. things update or do not update.
functional components with checkboxes? hahahahahaha.
vue 3 is taking an ungodly shitload of fucking amount of time.
fuck react, but im actually considering giving vue the middle finger as well.
started this product migration 2 months ago and regretting it, looking at svelte with curious eyes.12 -
Why didn't I learn about property overloading before. So much copy and pasting I could have saved.
Well the drawback of selflearning :)
(yes I know about the perfomance but it doesn't matter on this project ) -
Outside for the first time after about 48 hours of straight coding in React.
Why can't I change the property of people by supplying props to them?!1 -
!rant;
A senior front end developer with 8 years of experience asked me today what does 'this' refer to in a function() inside of a property in an object, and why it doesn't work outside of the function!
I wanted to shout FUCK MY LIFE! But I held myself and explained it to her.
Worst part is I still don't qualify for 'senior' in my job title (less than 3 years of experience), hence my lower pay.5 -
!dev
Please enjoy this customer review I intercepted. Guess the company type and name that requested the feedback.
"______ drivers liberally show how bad it is to work for these companies.
Three quarters of all packages arrive damaged.
They park wherever they want.
No regard for traffic, people, property nor parcels.
Redefining rock bottom.
Not this delivery. Always. Everywhere. For a strong decade now."10 -
I was pissed off beyond all reason yesterday when I realised that the reason my code didnt work for 2 days was because i spelled eForm with an uppercase F in my data model, and a lowercase f in my object classes. There was no way for the compiler to warn me so everything compiled fine but crashed at runtime when I tried to access that property. When I saw it, my head hit the desk....
-
It sucks when you’re also poor cause you need to go out to ex. empty trash can. If you’re living in small apartment it will get claustrophobic sooner or later. If you live with family you’re hero if you won’t kill them.
Now if I can’t travel around I see no gain at all and only pain points.
So if you can’t afford big house with swimming pool, gardener, maid, bar and bartender, private lake and car racing track you still need to go outside of your property.
So if you’re poor and you’re working remotely during pandemic you will most likely gain depression, claustrophobia and other mental illness that will sooner or later ruin your and other people’s life except psychologists if only you can afford one.2 -
Dafuq is wrong with Android Studio, build error report is useless every time I have error in one of my files I need to run gradle assemble debug manually to know where the fuck is my error
Like now I changed type of a property and as usual build report showed error in Databinding auto generated class instead of pointing to my fragment where the error should be3 -
I'm slowly realizing how much goofy code I put in my branch and overlooked. This code review is going to be interesting...
Some examples:
import plots as lel
<h4 id="title">Crunchatize Me, Captain! </h4>
go.Scattergeo(name="cheese", ...)
webster = { ... }
The commit messages are even worse.
- 'horizontalize' link list
- very messily hack in <feature>
- partially refactor some of the awful code from previous
- Remove one annoying space
- make background color less annoying
- remove seemingly useless property
- minor fix
- Apparently it's possible to center a DIV. Who knew?
- Made some cool bar graphs
And then there's just a bunch of reverts.2 -
My team was asked to point to a mock service in our QA env. Standard procedure is to copy the line in our QA property file that has the service URL, comment one out, and change the other to the mock service. Then, push the code and deploy to QA.
What did someone do? He didn't touch the property file. He found where we were defining the configuration for our http requester, removed the property reference, and HARD CODED the mock URL.
Wait, it gets better. The mock service does not function the same way the real service does. We need to send an additional query param to the mock service (that has a value already being sent in a header) so they modified ANOTHER file where the actual request is being made.
He made the changes, deployed to QA, and didn't check in any code.
What is going to happen next time when we deploy to QA with the latest code? Oh look, we'll be pointing to the real service again.
I explained this to my architect, and included that this messed up mock service they were calling is our 2nd mock service (no idea why they made a new one) and he simply deleted the stupid 2nd mock service. Screw that!
And...now requests to QA don't work 😂 -
Hacky code post:
property var value: if(editing || !editing) function(othervalue)
I am coding in a property system that only updates an expression if a variable involved emits a signal. Well the function won't get called unless I change a value. I also want to "value" to be updated when editing changes. I also want it to update even if editing doesn't change. So the or-ing of the state of editing.
The result is the function gets called when object is initialized. Then when the editing flag changes it gets updated again. The workaround of doing this is much worse and requires more hacky code. So I am resigned myself to just or-negating the editing value.10 -
Google enslaved me to conduct their experiments on me, and now when I use a -webkit prefixed css property, I feel excruciating pain. They made me have intercourses with horses and bite my wife to death.1
-
WTF?
Just found this code:
"It is assumed that all 'static final String'-Attributes of this class are a key in the property file (which is validated by reflection)."
SO REFACTORING YOUR FUCKING MAGIC NUMBERS WITH A MEANINGFUL CONSTANT MADE THE APP CRASH. ASSHOLE. -
Was so angry... Was all the day wondering why my rest method wasnt outputting a certain property (in null to be more precise)... When almost 5 hours has passed, I realized it was due the @JsonIgnore annotation... soooo angryyyyy jaja
-
It's been a while since I first noticed that web development is becoming way too complicated. I'm not sure why people decided to overcomplicate everything. Is it to look smarter?
I just spent a few hours trying to understand why a unit test was failing. I decided to debug every statement of that unit test until I realized what was going on.
This project uses a library called ImmutableJS. I was calling for the "length" property of an array, like a regular human being would do, but that returned undefined because the correct property within this library is "size."
Good Monday, everyone.15 -
Hmmm, so you’ve used the DAO pattern everywhere so you’re not coupled to a particular database, but you don’t mind having 8 lines of Hibernate annotations at the start of an entity class, and 2-3 annotations on every property.
I see... -
Currently implementing a Swift devRant SDK and encountered something very stupid:
The json value for attached image is an object (dictionary) when there is an image but it‘s an empty string "" when there is no image.
So two different types for the same property.
I hate this kind of crap.
Why not make it null or omit that property when there is no image?
Now I need to add ugly as fuck custom decoding code for this object.25 -
I just found out how to make Websphere suck less. You just go into Application Servers -> (server name) -> Web Container -> Custom Properties and add this property:
com.ibm.ws.webcontainer.stopSucking
And then set it to "true". -
That moment you find out that python is very sloppy when it comes to scopes. It seems that variables declared in loops are callable in function scopes. So this code actually does not give any errors:
for i in range(6):
print i
print(“out of loop scope”, i)
Now I’m just like: WTF! That can cause some serious errors when you’re not aware of this thing. I don’t know any other language that has this property...4 -
Stitching old frameworks / libraries together...
What a lovely joy.
An override here... Testing if it runs.
Oh lovely, shitty shaded jars.
Creating other project for shitty shaded jar.
An override here, an override there...
Oh we need some system property to unfuck JVM upgrade...
Since it's shaded, need to add overrides for the non shaded and shaded variant...
Done...
Back to framework / library....
Another override, another system property...
Its seemingly endless.
Stitching together old shit with new shit to get JDK 20 plus running.
I hate everything. -
So I had this JSON thingy, where I named the property containing a datetime string "timestamp".
For some reason, JS decided to convert that into a unix timestamp int on parse. Thx for nothing.6 -
I really wanna use sublime because it's super snappy but I can't use it without having a shit tonne of inconvenience. It has no property package Implementing something like intellisense. Vscode has that but it makes me feel really slow3
-
Sorry I'm a bit late to the party, what's up with reddit right now?
People are mad because they want money if you use their platform? Like wtf? Of course they do so.
One comment I read had me screaming internally. "I'm deleting all my stuff, I don't want them to make money with my intellectual property!" Thefuck. They make money with the fact they give you a platform for your irrelevant opinion you asshat.
Tbh, I'm just afraid of all the porn I might be unable to access in the future. Does someone archive all and everything tagged with NSFW please?23 -
"object doesnt support this property or method"
THANKS EXCEL VBA!
VERY USEFUL
Who wants information about the line, the object name, type, or any other useful information? Yeah sure, i will track that object by placing Debug.Print till i find the line that causes this.
(its a bit my own fault, i found out how to solve the problem (or thought so) and wrote like the entire code without testing it inbetween)4 -
We just finished a small discussion or debate about why we should use uuid instead of other field or property like name.
Gets funnier when you know the guy who started the debate proposed uuids few weeks ago.
My vp engineer and junior frontend (that's the team) both said "having not strong feeling about one or the other"
While they were finishing that sentence I started this rant.1 -
I love Typescript's challenges. Today I had to make a generic interface that replaces every property in its parameter with either itself, a promise of itself or a different property keyed `obtain${key}` which is a function returning either the value or a promise of it. Not a very difficult challenge, but it was very satisfying to solve.
If anyone has the patience to attempt it I'm very curious what more experienced type theorists than myself come up with.1 -
!rant Spent days reading Unicode docs, trying to make sense of what codepoints were included in every Unicode property escape in JavaScript and awk’ing the heck out of the different text files associated with them.
Then at around midnight the other night, it came to me. I was an idiot.
I could literally just create an array including every Unicode codepoint and write a program to iterate through the array and test if it matched against a Unicode property escape.
Unicode array: https://gist.github.com/AmyShackles...
Program to compare against Unicode property escape: https://gist.github.com/AmyShackles...
So. Much. Easier.
Happy 2024, friends. -
I am really being tested with my creativity in naming conventions with these two sites rn.
Site 1 is a blog for a place called "The Post", so literally everything is called .post
Site 2 is a development built out of shipping containers, where each container is a different features of the property... just like a container would wrap features in their app🤦♂️3 -
!rant
I think I'm at the final stage of grief where I want to destroy the entire human population . Economy , money and other factors like alcohol ... we as humans don't deserve to live . Controlling population growth with addiction is just messed up .
Even though the alcohol killed my dad , he was a really good person who was under such amounts of pressure that no-one deserves . Actually strike that everyone deserves much more . A tenant who occupied our property just as we needed to sell it for cash problems . His father stole his inheritance left behind by his mother . And relatives who didn't give a shot about him until he makes a trip to the hospital . An economy that's responsible for all this .
I want to rewrite this disgraceful race .9 -
Program-
Uncaught TypeError: Cannot read property 'addEventListener' of null !
Me: 🤔🤔
Modification
Program-
Uncaught TypeError: Cannot read property 'addEventListener' of null !
Me- Wtf!!! Again...🥺🥺
.
.
.
After 6 hrs!!
Realized didn't Linked my main.js🧐🧐 -
You know you want to quit life when: You spent a whole 4 hour journey looking for a missing property in css that you never added expecting other elements to behave a certain way and you sit there neanderthal looking figuring it out.
-
>selects function to see output in console on chrome
>oh yes obj1 very good
>selects another function that does minor validation (return obj if it exists)
>ok alright
>what was that property from obj1 again?
>selects same function, breakpoint didnt move an inch
>obj2
>whatthefuck.jpg -
!rant
Interview prep question. My understanding now is, at least in theory is: always use SOLID. I've never really understood it explicitly though I think I follow it a lot in practice, just naturally...
But when I usually program I'm kinda of in between... I don't automatically default to it.
Particularly, I don't always create interfaces, at least not in the first pass unless I know or expect many different implementations of a certain component... Or just because I need some class that does X but haven't quite thought of the implementation.
But I have never created an interface with like only 1 property or method... Kinda feel that's overkill...
I tend to follow DRY more I guess...
What's everyone thoughts on this stuff? -
Angular2: Error: Unhandled exception, cannot read property "classList" of null
Me: element = doucment.getElementById("nameOfObject")
Angular2: Error: Unhandled exception, cannot read property "classList" of null
Me: DoWhatIWant();
Angular2: Success!1 -
I need to write the maintenance document in case I die.
Any idea what to include?
I have written a lot of software which include family business and other business depend on by myself.
I have an idea of adding my git user name and password. Email and social media user name and password.Configuration file/Configuration property. Troubleshooting information.Program overview.5 -
A question on the CSS position property. I have a hard time understanding position, so I thought I would finally conquer it so that website development it easier.
Q.) Absolute removes the content from the flow and bases its position on the body, unless a container in the body has absolute, meaning the lowest level element finds the highest element that has absolute and bases its position from that and relative keeps it flow as if it was still there and moves relative to is current position in the documents as just a visual, as it does not move the other elements. Am I getting that correct?3 -
I have uploaded lots of books on a GitHub repository to help fellow programmers and comrades get access to resources. I downloaded them from Z-library and Imperial Library of Trantor (some kind of anarchist sites on the deep web). Am I going to get a DMCA takedown request?4
-
Does anyone know any good object-object property mapping library for JavaScript / Typescript? Similar to AutoMapper in C#?2
-
Question for iOS Swift guys:
Since Implicitly Unwrapped Optionals are now dropped for a while, and everything is an optional, hiw can I now declare property that has no value and intializer will not make fuss?
I used to do this:
class Bullet {
var calibre: Double!
}
This way I can avoid initializer which gets useful when there are properties which hold complex types, which get useful when writing tests.
If I remove ! Then compiler complains.
If I put ? Then My code becomes crap of guards and ifs to check for optionals.
Really hate this Optional thing in Swift. Half my time when I jave an issue is related to optionals.
Btw,
let x: Int! = 10
let y = x, yields y: Int? -
All i wanted was a toolbaritem which i can hide depending on a propery in my viewmodel (xamarin forms). that shithead does not have a damn IsVisible property so i had to make some custom shit for this. Result is that my page does not load anymore. no fucking error visible in output window.
could not resolve a bug in time as i have to pick up my girlfriend and do some social shit.
now i am on the road. all i can think of is getting back to my pc and fix this. -
This morning I found out that the code I wrote to convert json data to a new format in our DB was giving errors and a bunch of questions got saved with the wrong property. It was assumed when it was triaged with my boss that we would only see one key property so the code written by me so the code was aimed at that. Well some questions have multiple keys for no reason. They are mostly floating data that hasn't been wiped clean because the develop who wrote this use json data in psql with no validation or data cleaning. This edge case was also never caught on PR reviews and we got a pretty heavy review process. I'm not being blamed for it. Most of it I think all the devs feel bad we didn't catch this because it affected us greatly. I've been working all morning trying to resolve it with my boss and just now in the evening we stopped. I just feel like I'm not a good dev at all and just want advice on how to deal with situations like this. I'm a new dev and this is my first job I have held for almost a year2
-
Hi! I've Been Watching a Tutorial series on How to make Amazon clone by nodejs,mongodb. He used Faker Api to insert Product but I tried to make a seperate Layout to insert product but using Async but it keeps saying "Cannot read Property '_id' of undefined.12
-
Do it's been about 19 days since my last update on my shitty internet and the upgrade that's meant to be in the pipeline for the current month.
Despite seeing people laying cable around my neighbourhood there's been no update on their website or in my letterbox.
It's halfway through the month and news outlets are reporting that the NBN has said that they:
Have 99% coverage
100,000 suburbs that aren't fully catered to
But, can't cater to a property that is in a relatively dense area less than 20km from a major city. -
Does anyone know the reason behind why JavaScript Arrays start with an index of 0 instead of 1? Or why the .length property starts at 1 instead of 0.11
-
Spent half a day trying to figure out why a package wasn't working, was telling me the properties provided weren't known (typically meaning I forgot to include it at a module level).
Nope. The package owners just updated the property names and didn't update their documentation 🙃
how's your day going? -
Skein: noun - a type of access modifier, allowing a property to be read internally or externally, but only written to *externally*. See "orwell" for opposite access modifier.
hermit (noun) - an access modifier specifying a property may only be written or read internally.
Gopher (noun) - an access modifier not to be confused with a groundhog.
Blackhole (noun) - can be written to, can never be read. See dev/null for details.
In other news I wrote the basis for a cms in lua.
Because I hate the cloud. -
The new owner info for my laptop:
"Don't dare to touch it's a private property if found will be shot dead and survivors would be shot again" -
Thinking about a new annotation:
@JavaCondom
on function: it puts "... throws Exception " at the end
on class: reflection puts "... throws Exception" on every goddamn function
It could have global app property which makes appends every exception with a reassuring message like: "There is so much java code out there already, that this shit will never ever end"2 -
Getters and setters vs property accessors?
The instructor of my Android development class is manually and purposefully using setters and getters when the Kotlin language and Android Studio is strongly pushing for this property accessor way of handling private data fields. He says that it goes against the philosophy of hiding the data and keeping data fields private.
I’m all for property accessors, but I’m struggling to come up with a response for what he says. Modern programming languages like Kotlin and Swift have been strongly encouraging the use of property accessors.8 -
Duuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuck off you bloody infamous basterds flattening their fat asses at Microsoft.
I wasted half of my dev day to configure my wcf rest-api to return an enumeration property as string instead of enum index as integer.
There is actually no out-of-the-box attribute option to trigger the unholy built-in json serializer to shit out the currently set enum value as a pile of characters clenched together into a string.
I could vomit of pure happiness.
And yes.
I know about that StringEnumConverter that can be used in the JsonConvert Attribute.
Problem is, that this shit isn't triggered, no matter what I do, since the package from Newtonsoft isn't used by my wcf service as a standard serializer.
And there is no simple and stable way to replace the standard json serializer.
Christ, almighty!
:/ -
obj &&
obj.property1 &&
obj.property1.property2 &&
obj.property1.property2.property3
OR
(((obj || {}).property1 || {}).property 2 || {}).property3
It's mostly for projects that don't support Webpack 5 optional chaining (like Vue 2).
I prefer the second one since it's shorter12 -
So a friend of mine paid someone to develop a website for his business (holiday lets, property management and cleaning) and the developer has started up a competing business taking all the content from his site and other local info sites, holiday let sites ect and putting up them up on his site. Sounds like the guys a bit of a cunt to me giving us a bad name, thoughts?4
-
I had to contact technical support for an API. I’m pretty sure I was emailing with a bot because I was getting all sorts of stupid replies.
Me: I’m using your SDK for language X. It’s returned null for some properties. In the user portal, I can see there are values for those properties for the transaction. I don’t know why I’m not receiving them on my end.
Tech Support: Hi! I see the following was sent in the API response. [Sends api response to me.] You can also go the the portal to see those values.
Me: Yeah, I know. You just repeated everything I wrote to you. I don’t want to go to the portal. I told you I want to figure out why your SDK doesn’t seem to map those properties correctly when I receive the api response.
TS: Let me look at the docs. I think you need to send the properties you want in your request in order to get them back in the reply from the api. Such as <property>value<property> in the xml message.
🤨 The docs do not say that. They don’t even imply that.
Me: What the fuck?! That makes absolutely no sense. We have already established that the api **is** returning values for those properties. I want to troubleshoot why your SDK is mapping them as NULL. -
So. Wow I have a question. Ok for real... I am in need of advice. I have a concept for a platform based on a specific interest which almost all of us have, based on a peer-to-peer principle with multiple services and user types/needs/agendas/reasons. The platform is intellectually straight forward and users will all participate on the platform as they see fit which will benefit other users as well as motivate more to join. The platform will serve it's own purpose and meet the users needs in a way that you may have seen before but the intellectual property and how the platform is used, is so unique that I can't risk too much information.
The question is. How do I protect my idea / intellectual property so I can recruit help and market without someone coming along and stealing it out from underneath me?
This isn't uncle Vinnys Cologne idea...
Everyone thinks they have the million dollar winner. I'm not sure if this puts gold toilet paper in my bathroom just yet but... I have something that an existing platform with money will absolutely steal and try to push as their own idea... They will probably succeed too.
So how do I protect this from happening so only I get to fail or ruin this good idea?1 -
I swear to god as I see the copies and it same people running around if I have to hear one more person describe a trauma buried time period when everyone else was destitute and being a whore as COVID that they updated far and away towards their own freakish mutated purposes imma shoot someone
Seriously why can’t you people just life normal lives ? Why make existence into a drama filled prison sentence targeting everyone who just tries to retain sentiment and turn the world into a scrapyard of glitching human robots ? I want to know
Case in point record and gradually amassing property defends against this you people traded your futures to the very kind of people most of you are51 -
@supports in css - helps to check whether the browser supports the given css property before it applies
-
Visual Studio with C# :
list.Count
"The property Count cannot be used because the get accessor is inaccessible"
list.Count()
"You can use the Count property"
why9 -
"Validation failed for one or more entities. See 'EntityValidationErrors' property for more details."
That really helps in my error log Entity Framework ❤ -
Use Linear gradient ...
No use rgba
Arghhhh...okay rgba looks OK...wait linear gradient is better...no wait
Hallelujah!!!!!2 -
So I am participating in a Hackathon hosted by Microsoft. And I had to waive my IP rights for whatever submission I make. Is this something I should worry about ?1
-
Today, on "Trying to get property of non-object" we'll talk about Laravel and what happens when you did not enough research...
-
So my government is proposing a new National ID scheme. This will be used to identify s citizen as well as keep track of property, taxes etc.
Parliament just started the debate on how it would work today. It’s set to be implemented by December 2019. My government tends not think things through so as to prevent s disaster like what’s happening in the Netherlands as per @linuxxx musings, I’m trying to gather insight from the industry to compose a document of considerations then getting a law firm to draft the laws it would need to compliment it9 -
Wish the Objective-C compiler had better type checking. There's no reason for it to not error out when I'm migration a property from one type to another.
-
Ugh, fuck the SSRS web service. Spent all week trying to consume the service with PowerShell, doesn't make it any easier when there are undocumented behaviours. TypeName property has to be Type, for instance, when creating a search condition, TOTALLY contrary to the documentation.
Want to change the data source for a report you uploaded? Gl;hf! Back to it next week, think I'm close to having a working deployment script...so close. -
Remove a property from an array to spend an hour trying to work out why something isn't running to notice that there was a count later on the array that required a specific number of elements so the bit I was expecting to execute never executed.
Was looking for ages as to why.
Friday afternoon code brain. -
I just love when an API returns a set of results, some have property X as a string and some as a JSON array. Wtf? Good people had put great API wrappers and it works if X is string as per service specification, but breaks otherwise, unsurprisingly.
I had to do a pull request to the wrapper repository to account for this inconsistency 😶3 -
Sums up my life. And my property.
I'm bored! Mail me to email ID in https://pgp.mit.edu/pks/lookup/... I may or may not reply. Cuz I may not remember the password for that email ID.5 -
Forced to work with ASP.NET for a project. Not minding it though, even found it nice, kinda excited about .NET Core now.
HOWEVER, spent over 3 hours figuring out why can't I make a virtual property (Entity Framework actually provides proxy classes to be able to override behaviors of navigational properties, but I digress).
Says I don't have a type named 'virtual'. 3 hours in, no changes (git confirms), and IT SUDDENLY WORKS.
Fuck Visual Studio.2 -
God people undoing good work that made a property function correctly drives me fucking nuts
Wtf is wrong with you stupid fucking people ! Do you all want to live in fucking trash heaps ???76 -
So here the function that does same thing as new operator in javascript:
// we define our function Person that assigns properties to THIS that points to some object
const Person = function(name, lastName) {
this.name = name;
this.lastName = lastName;
}
// in Person prototype property we define our functions
Person.prototype.getName = function() {
return this.name;
}
Person.prototype.getLastName = function() {
return this.lastName;
}
// function that simulates new operator
// first argument is a function that would act as constructor
// second argument is an arguments that would be passed to constructor
function New(func, ...args) {
// with Object.create() we create a new object and assign [[__proto__]] from "func" prototype property
let object = Object.create(func.prototype);
// here we're calling "func" with THIS pointing to object
func.apply(object, args);
// then we return it
return object;
}
let person = New(Person, "Name", "LastName");
console.dir(person);
// so this is how prototype OOP works in javascript6 -
The slow typer who just discovered #define
#define Property AudioUnitPropertyID
#define Parameter AudioUnitParameterID
#define ParameterValue AudioUnitParameterValue
#define Format AudioFormat
#define FormatDescription AudioStreamBasicDescription
#define PacketDescription AudioStreamPacketDescription
#define ActionFlags AudioUnitRenderActionFlags
#define TimeStamp const AudioTimeStamp
#define IO ABufferList
#define PD APacketDescription
#define Count UInt32
#define DataSize UInt321 -
I'm trying to set value of a kendo js property using value from dB. I would like to do something similar to
template : "#= dataItem.Item1 #"
But I can't use template for what I'm trying to set -
Employees of companies that are so protective of their intellectual property that they don't allow any to be transfered outside of the workplace, how do you work from home?4
-
Using ReSharper is like becoming enlightened, or de-brainwashing oneself to see true reality. Of my entire dev team, I'm the only one who can see the fnords!
Unused identifiers, badly sorted modifiers, unused property setters, redundant `this`/namespace, redundant casts... Surely if they could see them too, such code would not survive! -
So let's say I kinda came up with a pattern/architecture for Unity scripting which I find really useful and elegant.
It uses some features which are quite new, and I can't find anything similar on Google. So I suspect I might actually have invented something new.
What should I do?6 -
Oh look, the code points each script_extension matches when using Unicode property escapes in JavaScript regular expressions.
https://gist.github.com/AmyShackles...
Annnnnd apropos of nothing, I’m trying to learn Hungarian on the side for fun because I made a Hungarian friend. Forgot how hard language learning was!1 -
font-family expects a comma-separated list. Fonts haven't been displaying on my blog for months because of this issue.
Why could NONE of the browsers I tested this on give me a real syntax error instead of "invalid property value" which could mean literally anything.
Edit: Actually, why can't the CSS plugin for VSCode tell me that I'm making a syntax error in the value of a well-known property?10 -
i'm new to coding, and today my boss (i'm a scholar btw, not getting paid shit), asked me to review his VB net app... it was a total mess that i wish i could show, but intellectual property exists...xD
is it just the language or should i quit? i want to do it already.4 -
when you can clearly see an object property you want to access and check against in web browser debugger but you're too stupid to figure out how to get typescript let you access it in code
fuck you SyntheticElement< >
i hate front end and it hates me back
just let me look at target.nodeName1 -
In Kotlin or Java, I have a list of items that have an ID property. This list is generated based on another list. Now I get a List of mentioned list items and I want to select all items in the parent list, selecting by ID equality.
Is there a more elegant way than just iterating the parent lost for each derived item? Thank you :)5 -
It seems like this is a major topic of debate lately, so I'd like to make the official Torrent vs. Buy rant post.
With torrent hosting sites being pulled down left and right, some say it's for the best of the economy, while others stand for the internet freedom of sharing intellectual property.
How do you stand?9 -
Chromium has royally fucked their own devtools.
You wanna add a style property? No. You're only allowed to update styles already that are there unless you click on some arbitrary space between brackets and properties.
You wanna click on a property's value to edit it? No. You get a dropdown to edit the unit value OR you can slide the mouse to update the value, nothing else.
You want to update CSS in the inspector, or switch them on or off? No. You get CSS that breaks as soon as you apply it and turns into garbage.
You want to copy CSS from the inspector after changing it? No. You get a line break in between each word for NO FUCKING REASON.
I hate web development sometimes. -
visual basic dotnet
ComboBox and ListBox both have Items property, and also both are descendants from ListControls
but ListControls have no Items property
do those developers understand object oriented programming correctly?1 -
I have a readonly object property foo on a typescript class. When I create an instance bar by calling the constructor, bar.foo doesn't compare equal to this.foo as seen from within bar several async calls later. What could I have possibly fucked up?4
-
So I thought I'd ask this in a different space. What do I have to do to ? Suck someones dick or something to get away from the chomos and their twisted whorelings ? Being around this is worse than being aware of how fucked up people can be.
Do I have to murder people ? I mean explain what I have to do to get away from you bastards.
Because I look shortly ahead and see theft of property once more and I'm trying to move on not see time end around a bunch of animatronic dummies who's unnatural appearance makes me act like a dummy and btw if your idea of 'good' is 'yeah turn a blind eye to us being robots and let us rape our kids in peace' fuck you people.2 -
As I understood the Adapter pattern, you start with two given (!) interfaces that are incompatible, create a class that implements one interface, and has the second interface as a property. Then the methods of the implemented interface wrap the calls to the interface referred to from the property.
Everything is fine with that.
Now I wonder, why every other class in our code base is suffixed with "Adapter". There is some external thing to be used, like a file storage, a message queue, an email service or just something outside of the system. But the class that makes use of that external interface is made up on our own, no interface given.
So I think Adapter is a misnomer, because we do not adapt thing A to thing B, we just use thing B and call it from some class.
What are your thoughts on that?5 -
Okay, so I need a Twitter client library for my Python app. Surely there's a decent one out there, right?
> Goes to Twitter's developer site
There are links to nine different Github repos.
> Takes a look at the one with the most stars
Every method of the API class is @property decorated and returns the result of a function that creates an entirely new class, and then returns a new function that creates an instance of the new class and calls one of its methods that happens to actually make the damn API call.
Alright then...
> Takes a look at the one with the second most stars
All method names are PascalCased.
Please help😭 -
It's all about asking the right question...
Original question that has had me stuck for years: "How do you load landscape images as landscape and not portrait? (some sort of default, always loads it with the longer dimension vertically).
A new insight that I got today while using one of these apps: "How can I rotate an image after it's loaded?"
Very easy apparently...
As long as you keep track of the current angle, just reload and set a Rotation property to (current + 90) % 360...1 -
Tool question, I can't find any after some googling. But are there any tools out there for dotnet that help you find class, method, and property references outside a solution.
Say I have a bunch of solutions and I need to know where a class is referenced to determine whether or not I can deprecate it. Is there anything out there that would scan other solutions for references to that class?8 -
!dev
I hate when people walk on your charger's cable like it is public property, something acceptable. What the actual fuck; public decency is slowly fading away from the public?3 -
Project manager pissing for a ticket with a vendor that provides no dev credentials, a new json property is added to an analytics script causing no harm at all, been chasing the PM for a week to do a deploy and merged the changes to a branch that has 6 different requirements, gotta do it early hours so I can enjoy my holidays with no issues...
... Project manager decides not to go live because he even told the stockholders of the existence of the requirement -
After rewriting a piece of code to simulate a process subject to human error I previously stepped back and looked at it and realized the test data I was generating which I would have just let run of it wasn’t so long was subject to a simple distributive property and could be normalized considerably which then could be subjected to error introduction and used as training data at random and over time and error really only being ones of efficiency or last moment mistakes of a manual process
-
JS: adding new dom nodes by adding html markup to the innerHTML property as string...
It's either dumb or a genius move.9 -
“Just a quick fix” Classic start to a reported ticket. Ticket states that a form field was not doing anything.
Think to myself ok this sounds like a nice easy one for the morning. A few hours later I find something like the following written by a senior member of the dev team.
SearchClass {
//...list of getter and setters
Private $snakeCaseName;
SearchFunction() {
Foreach($this as $property => $value){
//... if property keys = string for each object property then do code
If($property == “snakecaseProperty”){
//...do stuff
}
}
}
}
Why does this loop exist!!!!! All it does is remove any error checking if a getter method is misspelt...
To make matters worse the entire search method was over 300 lines building a MySQL query string.... even though there was an ORM and entity classes available!!!2 -
We have an internal nuget package that wraps up the IConfiguration+ConfigurationBuilder for various .net core console/service apps (TL;DR, because people got creative), and it has a dictionary property for the common sections we use. AppSettings (for backward compatibility), ConnectionStrings, and ServiceEndpoints. If the need arises, I can add methods to return any type of object (no one has requested yet, we try to keep configs dead simple)
ex. var myDatabaseConnectionString = ConfigurationManager.ConnectionStrings["MyDatabase"];
Code review for someone who updated a .net framework app to .net core and they wrote their own IConfiguration wrapper for accessing the appsettings.json file, so I pointed out that we already had a library for that.
In the reply, he said he couldn't use our library because it had an 'AppSettings' property and since his appsettings.json file didn't have that section, he didn't want to cause a runtime exception.
OK, WTF...I even sent him a link to the documentation (includes explaining the backward compatibility part)...why the frack would you think because a property exists and you don't use it, that would cause some kind of runtime exception?
We have dozens of .net framework apps migrated to .net core with zero code changes and no one ever brought this up as a concern (because, why would they?)
Deep breath...ahhh...I respond that not having an AppSettings section in the appsettings.json file won't cause an exception, if you don't have one, don't need it, you don't have to use it.
He went ahead merged+committed his code anyway with his own IConfiguration+ConfigurationBuilder plumbing.
Code addiction is real kids...it's real.2 -
VMware 6.5 web GUI programmer fail. Probably forgot to access a specific name property of the object.2
-
I fucking hate Lodash. You don't need a fucking library to access an object property you moron. It's a native ability in JavaScript. Not my fault you can't figure out how dot notation works.1
-
Denver Retaining Wall Experts provides crucial services for maintaining both the functionality and beauty of your property in Denver, CO. Our offerings, which include decorative retaining walls, natural stone retaining walls, and concrete retaining walls, are designed to address various landscaping and structural needs. Retaining walls play a vital role in stabilizing slopes, preventing erosion, and managing water flow, which can otherwise lead to costly damage and maintenance issues.
Our expertise ensures that your retaining wall not only serves its practical purpose but also enhances the aesthetic value of your space. By choosing from a variety of materials and designs, you can customize your retaining wall to fit seamlessly into your landscape. Whether you prefer the timeless appeal of natural stone or the durability of concrete, Denver Retaining Wall Experts delivers high-quality craftsmanship that ensures long-lasting performance and visual appeal. Trust us to provide solutions that protect and beautify your property with precision and care.
Denver Retaining Wall Experts
305 W 5th Ave Denver CO 80204
Phone: 720-408-34201 -
At El Paso Concrete Contractors, we believe that quality concrete services are the cornerstone of any successful construction project. Our extensive range of offerings—including masonry, commercial concrete, driveways, and foundations—caters to the diverse needs of our clients in El Paso. Durable and well-crafted concrete not only provides essential structural support but also improves the aesthetic appeal of your property, making it a worthwhile investment.
Our skilled team is dedicated to delivering exceptional results tailored to your specific requirements. Whether you need a solid foundation for a new building or a decorative patio for outdoor gatherings, we ensure that every aspect of our work meets the highest standards of quality. In a region where weather conditions can be tough, choosing reliable concrete solutions is crucial for long-term performance. Trust El Paso Concrete Contractors to provide you with durable and beautiful surfaces that enhance the value and functionality of your property for years to come.
El Paso Concrete Contractors
El Paso, TX 79902
Phone: 915-529-4322 -
Breaking Geographic Barriers: The NexusVerse Real Estate Metaverse transcends geographical limitations, enabling individuals around the world to connect and collaborate without physical boundaries. Virtual property owners can interact, share ideas, and form partnerships with like-minded individuals regardless of their location. The Nexusverse becomes a melting pot of diverse perspectives, cultures, and talents, fostering a global community where creativity flourishes and innovation thrives.1
-
let target: any = e.target;
if (target.nodeName) //other code
Results in a typescript? error wherein it says that Property 'nodeName' does not exist on type 'EventTarget'. but if I refactor the variable name to something that isn't target it works
i don't understand2 -
God want the owed money and records and to leavvvee and live
Oh btw thanks so much for occupying some inhuman assholes time who taunted me with my own property and videos and then stole them again
But could have just shot him too.
As with most of these inhuman pieces of robot garbage who randomly decided it was time to live like crazy pieces of whore shit long past where anyone or anything would ever want to put something into their pedo private parts12 -
https://symfony.com/doc/3.4/...
Look at how they write docs:
"->atPath('foo')"
how can I fucking know what to pass instead of foo? I cannot make show fucking error message near the field.
Are they writing such doc so that we would spend more time searching how to make show fucking simple error message?
"The atPath() method defines the property which the validation error is associated to. Use any valid PropertyAccess syntax to define that property."
Property on my entity is collection of $values . Tried passing 'values' - no effect.2 -
How can I contact a crypto / bitcoin recovery company || Hire a Hacker to Recover Lost Bitcoin / crypto
iFORCE HACKER RECOVERY offers customers customized and efficient services for recovering cryptocurrency assets that have been stolen. Because they have a high success record in recovering lost valuables, you should Make contact with iFORCE immediately.
Because of its experience, security protocols, and dedication to safeguarding client property, iFORCE HACKER RECOVERY is well-known. For help if you have been duped by a bitcoin fraud, contact iFORCE HACKER RECOVERY.
Visit Homepage; iforcehackersrecovery.c o m1 -
At Lafayette LA Tree Service Pros, we understand that maintaining the health and aesthetics of your trees is crucial for both safety and curb appeal. Our tree trimming services help to promote healthy growth by removing dead or overgrown branches, which can prevent disease and pests from spreading. Proper trimming also enhances the visual appeal of your property, making it look well-maintained and inviting. When it comes to tree removal, we ensure that hazardous or diseased trees are safely and efficiently removed to prevent potential damage to your home or landscape.
Stump removal is another essential service we provide to improve the functionality and aesthetics of your outdoor space. Leftover stumps from previous tree removals can be unsightly and potentially dangerous, as they pose tripping hazards and can attract pests. Our team is skilled in both tree pruning and stump removal, ensuring that your yard remains both safe and beautiful. By choosing Lafayette LA Tree Service Pros, you're investing in the long-term health of your trees and the overall value of your property.
Lafayette LA Tree Service Pros
305 Beverly Dr, Lafayette, LA 70503
Phone: 337-242-3260 -
TypeScript is bullshit. Change My Mind:
I am a student and I started learning typescript as an advanced project at the recommendation of my teachers because I am a bit ahead of where my software development course is.
I started by testing the logic of types, and then I encountered type: unknown.
According to the TS handbook:
"If you have a variable with an unknown type, you can narrow it to something more specific by doing typeof checks, comparison checks, or more advanced type guards that will be discussed in a later chapter:"
So according to what this says, if you check a variable of type unknown, to equal a certain object type, typescript will allow you to assign that unknown value a I tested this out with a data type - objects and typescript freaks out.
Also, if create object with a property assigned to a function, it won't even show you that property when you console.log the object
ALSO, you can't post urls in this website, so this website is also pretty trash.12 -
Learn more about networking, revisit computer science fundamentals, memorise agile frameworks, practice DDD properly, learn about basic property and conveyancing law for my new job, get through 1 tech book every 2 weeks, revisit Linux as it's been a long time, learn the basics of developing and deploying with azure, learn terraform and docker, finally finish building my own product that has been going for 3 years now, continue learning about mobile development and build a mobile app for my new product.
Should be fine xD5 -
Learning C# coming from Java...
What's the fuss about properties? As i see it, theyre only usefull for binding, as else they just work as syntetic sugar instead of getter/setter methods.
But properties are also limited to give response back, like a successfull set, unless you start throwing exceptions..
And if a set property has if(age>5){this.age=age} then if i pass the property a 4, you will never know as a user that it failed (again, unless you start throwing exceptions)
Im kinda feeling like i want to use get/set methods until i need to bind, then of course use property ?? Am i all off here?25 -
People nowadays are always on the search for reliable real estate companies that can provide them with homes or flats that meet their individual needs. If you're having problems while selecting a good real estate agent, contact Soho Property Pte. Ltd. Please have a look at our stunning apartments for sale in Melbourne.