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 - "rotation"
-
Bittersweet moment today, the interns last day was today, the improvements they made over the last 4 months, putting up with my “Gordon Ramsey” style attitude... definitely goes down in the books as one of best groups of freshman interns. They all truly thanked me for what they learned I sat them down and did a code review with them... but fooled them and showed them code they wrote 4 months ago.. they totally forgot about.. and couldn’t believe it was their own code.. that’s the level professionalism and improvement they made writing embedded software in 4 months.. they can’t wait to for next summer, neither can I.
Even had some of the electrical interns asking our department manager if they could switch to more software focused during their next rotation. Just so they can be under me.
I may be hard and a dick at time... but they learn! And it says a lot when you have college students impacted enough and see other students benefit so much that the “outsiders” wanna switch majors or focuses.!2 -
Quick recap of my last two weeks: 15 year old production server is basically dead, boss has taken over calls and claims credit for "resolving" outages (even though my coworker and I did the work, but ultimately the traffic died down enough to where it wasn't an issue anymore).
I go to a meeting to plan migration to a better server, boss bitches about not getting invited, I tell him I invited myself, and then he lectures about how that's not our job.
Different boss says we're migrating a schema for an application that should have been decommissioned 5+ years ago to use as a baseline. I explain what's going on, he says he understands, and proceeds to tell higher bosses it's perfect because there will be no user impact. OF COURSE THERE'S NO FRICKING IMPACT, YA DUNCE! there are no users!!!!
I merge two email threads together, since they discuss the same thing, but with different insight, and get yelled at, even though they requested it.
The two bosses I like are OOO for the next week, too, so I'm just sitting here hoping I don't say something that'll get me fired or sent to sensitivity training.
I'm just starting my on call rotation and don't know that I can do this. I cry when my phone rings, now, because I experience physical pain with how hard I cringe.
I got yelled at today by a guy because SOMEONE I DON'T KNOW assigned a ticket to him directly, rather than to the proper team (not his team). So I had to look into that, which at least had the benefit of preventing a catastrophic outage to our customers world wide, but no one will know because I don't brag at work; I'm too busy doing my job as well as most of my division/section/larger team, whatever the hell it's called. I saved us probably 25+ hours of continuous troubleshooting call from noticing something tiny that the people "smarter" than me missed.
**edit: sorry for typos; got my nails done yesterday but they feel like they're a mile long and I have to relearn how to type**7 -
Ohhhhh boy,
So today we had a robot having an issue with one of its movement phases due to some mechanical crap blah blah blah. Anyway instead of Fixing the mechanical issues, they want me to re-program the motions to compensate for it....... *sigh* anyway I got over it. My supervisor tried to tell me that some of the movements on the axis were straight no rotation involved. I look at the program and it sure as heck mentions a 178.9 degree rotation. I told him but He insisted that I’m wrong to the point of going and talking crap to another supervisor about me..... he came and apologized after I did it his way and he got his ass chewed out because he couldn’t accept a subordinate was right. As for me I got a little tingle from proving his stubborn ass wrong haha2 -
*Shakes phone in frustration*
WHY DON'T YOU GO INTO FUCKING LABDSCAPE...
Oh, I locked the rotation4 -
On the screen: four text boxes cycling through rainbow color backgrounds and spinning wildly in circles.
Manager walks in.
Here's the context.
We were pair programming and working on a simple form. We were just finishing up the style, and I suggested we use a CSS3 animation to make the invalid fields pulsate a light red once.
I'm the young guy in the office, so I am most familiar with the "new" front end stuff like flex and CSS3.
My colleague was unfamiliar with CSS3 animations, so I implemented the red flash quickly and showed him.
He was curious what else you could do with CSS3 animations, so I changed my "to/ from" to a "0%/ 25%/ 75%/ 100%" style animation to show how keyframes worked. Then I made the animation iterations infinite so it went on forever. Of course, I didn't have any normal colors on hand so I just went with my debug colors: red, green, blue, yellow, etc.
We submitted the form with invalid inputs and sure enough, they flashed rainbow colors. It looked pretty funny so I thought "haha, lets quickly add rotation while we're at it"
That's the point where the education turned to a little fun but it wasn't going to take more than a second.
So we did it and it looked pretty funny and it actually made me laugh. Then we started discussing next steps on the form (back-end). Discussion lasted maybe five minutes before our manager visited to update us.
As we were discussing, the invalid controls were still spinning and rainbow colored in the background. Whoops.
The words we managed to say were just "It's invalid" and then we broke out laughing.3 -
I was part of a on-call rotation. We had ~800 microsites with decent traffic on this one box, because that's a good idea...
One day the box was experiencing kernel panics and causing core dumps. After exhausting every possiblity I decided it was time to restart the box:
sudo shutdown now
Missed the -r and the box was not accessible remotely. Had to wait for someone at the data center to terminal in.
Downtime was ~2 hours.
This was caused by a crontab that automatically ran apt-get update & apt-get upgrade... Also made by me... None of this should have worked or allowed to be done! -
On call just started at 2100 last night. Phone rang at 0230. Going to be a long rotation.
Similar call from a few weeks ago that took 13 hours to resolve. Oh boy.16 -
Client: “I’ve attached a screenshot of the issue.”
The “screenshot” is a printout of the website, with no annotations detailing what the issue is, scanned back in at a 90° rotation and saved as a PDF 😄2 -
Just did my first JobIntentService on Android. Hoo, boy.
The problem: I need to send a network request.
The issue: Android.
Of course, you can't do network on the main thread. That's silly in any application. Android really does try to punish you, though. The Android lifecycle can really fuck you over here. Imagine a long-running network operation, like 15 seconds. Plenty of time for the user to do something silly, like rotate the screen.
If you opened up a good old new Thread from Java, you'd get a crash because of a screen rotation. Same thing with Android's AsyncTask, which is the top answer on StackOverflow. AsyncTask is made for things that will take no longer than a few seconds (less than 5!). Network, especially cell network, can take longer.
So the solution? Create a JobIntentService class. It's a service, it will run in the background. You need to register it in your Android Manifest and ask for a new permission (wake lock). You need to implement another class for the receiver, and then you need to go to your activity and implement the receiver interface you just wrote.
Just. For. A. Network. Request!
And as far as I'm aware, this isn't even that bad considering the rest of Android's bullshit.
What a headache!8 -
Finished my on call rotation. Coworker is still on a call for 10 hours. She's not on call. I might be getting on this call. For the sake of the idiots who didn't listen and broke it worse, I really hope I don't have to take over for her. I might get fired tonight...5
-
!rant
Arduino CNC
Hey guys.
Since I mostly see frameworks to use with G-Code in Arduino CNCs I'm gonna make my own framework, where you don't need to know G-Code and the code is executed by Arduino code.
The code would include a template to define steppers steps and such.
Would include a library to work with different stepper shields.
Would this interest to anyone?
I'll provide a full example with stuff to learn for any amateur working with CNCs or that want to work with one. If you're not interested, thank you for reading, you can stop here.
Ex:
X(10);
Y(-5.5);
XY(6,7.5);
Z(-10);
This framework would only use incremental coordinates and will work for basic forms, drilling and such.
<Tutorial>
Coordinates.
Coordinates can be relative/incremental or absolute.
Lets say you have a square with 10mm, (top coordinates: (X=0,Y=0) to (X=10,Y=10).
think your drawing this square.
First line:
X0, Y0
Absolute: x10,y0
Relative: X+10
Second line:
A: x10,y10
R: Y+10
Third Line (...)
Absolute is a fixed point (coordinate)
Relative is a distance to move (not a coordinate but the distance and direction)
</Tutorial>
So, to cut a square with a TR10 (end mill with radius=5, diameter=10)
<code>
// You don't place + in positive values
// The tool always cut in the direction of the tool rotation, meaning on the left of the material.
Z(10); // Security Distance
XY(-5,0); //Compensate the diameter of the tool in radius
Z(-1); // Z=0 is the top of the block to mill, in this case. Z=0 can also be in the bottom
Y(15); //Second Point
X(15); // Third Point
Y(-15); // Forth point
X-15; // Fifth Point
(repeat)
</code>
Now we have a block with 1mm depth. If you use a while or for you can repeat the sequence for x=n passages, change the value to Z for the depth and your done.31 -
YOU. If you can't be arsed to change the default wallpaper, the terminal/gtk theme on a fucking laptop you use everyday, turn off Intel graphics screen rotation shortcuts, move the taskbar somewhere, install a Vue.js/Augury (Angular tool) Chrome plugin so you can actually debug stuff, Git for Windows or even this fucking trash of a player that is VLC, comb your hair the other way for once in your fucking lifetime if you have it, buy a different shirt than the same one you already have, fucking anything at all - fuck you!
BTW Don't be surprised when I don't take your fucking advice about the layout of the site I'm working on.
Also I secretly FUCKING HATE YOU just because.
Nothing personal kiddo. Except it is.
Fucking go out there and make the world around more suited to your tastes, every fucking human has them! Just change the fucking wallpaper, so I'll know you have at least a little bit of fucking personality in you! Slap a pic of some hi-rez tits on that screen! ANYTHING AT ALL.
Whew. That's been brewing in me for a long time.
A motivational doggo for you lads.3 -
Heey, it's me, D3add3d! As you might remember there was a crypto riddle posted by @Kimmax approx. a month ago. Now I'm here with another crypto riddle, it should be fairly easy one. The previous riddle was based on PGP so no rotation of alphabet was involved.
Here is the riddle:
SnJ5eSBxYmFyLCBndXIgZmJ5aGd2YmEgenZ0dWcgYWJnIG55am5sZiBvciBib2l2YmhmIG9oZyBndXZheHZhdCBiaGcgYnMgZ3VyIG9iayB2ZiBwcmVnbnZheWwgdXJ5Y3NoeSwgeHJyYyBndXIgbmFmanJlIGdiIGxiaGVmcnlzIGhhZ3Z5IHJhYmh0dSBjcmJjeXIgdW5pciBmYnlpcnEgdmcsIGdiIGNlYmlyIGxiaCBmYnlpcnEgdmcgcGJ6enJhZyBuYSByemJ3diAiY25weG50ciI=
(image irrelevant to the riddle)26 -
That moment when you realize your team-mate pushes code to PROD on Friday evening
but you are the one on pager rotation over the weekend...2 -
i hate how android handle the device rotation, killing the current activity and opening a new one with different layout2
-
!rant real talk though.
I am frustrated. Lately i have been having a slow time on the job, and it somehow dulled me down a lot.
In games you often have to think about transforms and rotations and offsets and hell knows what else.
I am usually pretty good at 3d object manipulation, it's one of those IQ test skills i generally score well on.
However lately i have not been able to come up with jack shit, i am simply unable to coherently think through a set of positioning and rotation changes to aquire the correct outcome for a mechanic and it pisses me off.
I have to fall back to slow as all hell trial and error and i don't even know what to do otherwise. It's been months now, do i have brain cancer or some shit? Arrrrrrg!4 -
I drew the on-call rotation for Christmas this year. I really hope I get that job offer so I can throw a wrench into the entire rotation.3
-
I had a random thought yesterday.
I was thinking about a computer virus that's been influenced by AI (machine learning).
If we would train a model specifically for such a purpose, how massive would its impact be on the Internet and how effectively could it change the world's direction (not the physical rotation lmao)?2 -
So, you have some coffee, make up your mind, and sit down to begin the project you need to submit the next day.
You fire up the machine and bam! Windows takes it's April update - "Do not turn off your PC", and a fucking rotation of evil dots on the screen for eternity.
And it goes on and on, on and on, till you have lost all mood for work.3 -
One day I had a thought. (Dangerous, I know.) What if I could build a machine that took me up into the air and decoupled my inertia from the rotation of the Earth. So I would cease to move in sync with the Earth's rotation. Then I thought this could be a way to travel around the Earth. I wanted to know how long it would take to go around the Earth. So I got the circumference of the Earth and divided it by the surface speed of the Earth. I was really excited at this point.
40075 km ÷ 1670 km/hr = 23.997 hours
Oh ... yeah ... 24 hours. I guess the math checks out.
And this is why we need dev ducks.4 -
Going on vacation for a couple of days next week. So, apparently, the people scheduling the on-call rotation think it's a great idea to assign me on-call duty next week.
ME: ...you know I'm going on vacation, right?
THEM: Oh don't worry, nothing ever happens, and 95% of the time it's just this easy stuff that can be dealt with quickly.
ME (internally): ...I was taking this vacation time to get *away* from having to think about work. Now I'm going to have to keep this in the back of my mind the entire time I'm away, checking for alerts, and potentially interrupt my flow to deal with work, defeating the point of why I'm taking the down time.
Fuck this. If I'd known earlier I'd have tried to get the time rescheduled, but of course this happens on the weekend, the day before.4 -
Working on a project needing to integrate java, jquery, SQL, various aspects of Android unix manipulation i.e. rotation, gps, music players, etc..needs to successfully build and after getting finally getting all needed repository files, work in android studio then be converted into an apk, compressed sent to instuctor's device for seemless use...this group project included 6 individuals teamed up like avengers to complete...my team mates either dropped the class or with drew.fml with a hammer sideways.2
-
So I made a car configurator for a big car manufacturer.
it's working awesome on all devices except motherfucking chrome on ios.
The canvas does not resize completely after device rotation . and I can't even remote debug the shit.
So right now at 12 AM, alone in the office and deploying vorlonjs on Azure to remote debug the shit out of it.
Let's hope I can fix it.6 -
How about this..
So a few months ago there's this guy
He coughed.
He did nothing else.
He did not cover his mouth.
He did not even do it in his elbow.
He just did it.
He did it at a fish market in china..
...
And now today as the world is grinding to a hault I just hope he is satisfied.
ARE YOU HAPPY NOW??!
So anyway trapped at home. Nothing to do. Its cold today. Got to reduce the fan speeds on that rigs and bump the power a bit. There not so cold now :)
Ok on a serious note that coughing idiot is to blame for this cold.
One ICE AGE coming up. Global warming fans hold on to your chai. This one is a shocker..
So it turns out shutting down the world have caused CO2 levels to drop as cars dont drive and factories dont work and all the powerplants suddenly find people no longer want more power.
Thing is plantd are addaptive and they enlage the pores on the underside of thier leaves depending on the CO2 levels.
So the plants been running at 100% eat CO2 for a while now.
Then CO2 supply drop to lowest in 100 years.
Plants still eating CO2 at 100% so they did not get memmo yet. CO2 now getting used up faster than being made. Greenhouse no more.
Polar ice caps nows your turn.
First up south pole winter is coming your way.
It will freeze ice cap bigger than past 100 years. The ice will sit there making earth lobsided with all the ice on one end and none on the other .
Lobsided earth is a spinning ball
Lobsided balls change how they spin
The rotation of earh now affected by a cough.
In 6-8 months winter goes north.
CO2 all but eaten up by then. World still rather dead as the afternath is felt.
Northen poler cap freeze all the way to london again. First time in 5000 years.
All because of a bloody cough.
Its the end of the world as we know it and here i am waiting for unreal to complie just like usual..
So remember dont cough near others if someone cough near you then tel them to
Far cough24 -
I installed this app called Android P rotation. Link below -
https://play.google.com/store/apps/...
This is how devrant behaves when turned to landscape mode -
Hate it when some apps disregard the "auto screen rotation lock". Yes OnePlus's Oxygen OS I'm talking about your calculator app.1
-
In a real-time multiplayer competitive game where you control a vehicle, is it feasible to simulate the whole thing on server side, such that the client only sends controls and receives sensor results? I mean like the client doesn't even know its own precise rotation, just the readings of a gyroscope and an accelerometer which are both susceptible to errors, and deduces the "down" direction from those two and approximate control forces. This would both solve hacking (writing a good robot is just as challenging) and lead to fun results like an attitude indicator going crazy from a gust of wind.14
-
Oh boyyy, I just had to work with Asterisk again. And holy shit it is still the clusterfuck it was many years ago.
We got:
- Inconsequent documentation that is mixed through all versions.
- The config sprinkled over what feels like 20 gazillion files.
- AEL being a half assed attempt at a "pRoGRamMinG LanGuAgE"
- The fuck you mean with extensions, endpoints and AOR's?
- Inconsistent config parameter naming. Some are snake case, some camel case some are just everything smushed into a single word.
- queue_log determines wheter to write a log to a file. queue_log_to_file Says to do so independent of you having a realtime backend. Whatever the fuck that is.
- Log compression is done by executing a gzip command after a rotation??!!?!! -
Just finished my ticket i've been struggling on for 2 weeks. Extracting the rotation as a 3d Vector out of a composed 4x4 transformation matrix .
I barely knew that matrix format , barely knew how 3d transforms work anyway, without reference data to compare.
So proud on myself 💪🏻 -
trying to rotate the character in Unreal Engine based on player input. It rotates around some sort of super weird point, so it looks like it's driving "backwards" while rotating, instead of rotating around the center of the mesh... sigh..
...
...
Solution: pass down the rotation value to the animation blueprint, rotate rootbone.
SUCK IT <.< See? it's not that hard, nor awkward. ffs.2 -
Hey there everyone!,
Not really coding related however i'm curious to know what books are people reading here on DevRant? My current book rotation is:
1) The man who solved the market
2) Mindf*ck (just got this today!)
3) Sapiens
4) Dark pools
Curious to see what others are reading :D related or not related to technology :D or even keen to hear suggestions!
Cheers!14 -
tl;dr: crop-rotating projects
I have 3 concurrent projects because I can only remember how I felt about two of them, so this way when I've had enough of pygame's bullshit I can happily continue working on php without my hatred towards asp.net stopping me in any way. By the time I start hating php I will have forgotten why I hate asp and be ready to continue on that. -
Just tasted the power of py. !!! Thought rotating each sprite would be pain. fckk!!!! I feel like ditching c++ and java and go change the earth's rotation !!!!!1
-
I fucking hate sleep destroying on-call. I'd rather you just euthanize me and put me out of my fucking misery.
This idiocy of comparing most dev. on calls it to doctors to on call is fucking stupid unless maybe you're in health care and lives actually might be on the line. Pretty sure a fair number of doctors wouldn't wanna be on call and would rather sleep.
It also doesn't helps that it's not in my contract, I'm not getting paid for it, and I stupidly believed HR when they said I wouldn't need to. Should've trusted the dev.s when interviewing said there is. No way I'm getting out of on call without being fired when we're all on rotation.2 -
spending 2 hours to split LookAt rotation between two nested transforms where parent was supposed to only recieve the vertical axis rotation and the child the horizontal axis rotation. (unity3d)
still haven't solved it btw, because my nerves and the deadline of the project i needed it for both ran out and i'm still sick to my stomach at the thought of going back to it to solve it because of how trivial it should be and how insanely was i battling with it.4 -
Broke: adding a pipe character ( | ) to your text
Woke: adding a slash, then adding rotation until it's straight.1 -
i have no idea what im doing been here barely 2 months but am being put onto the support rotation, fml, why4
-
advantages of bionic systems:
- energy efficiency
- flexibility
- low friction
- compact size
- water resistance
advantages of mechanical systems:
- precision
- rotation is available
- scalability
- can change parts6 -
Person from a company I am contractor for tried to fuck me up and put me to the project with high money penalties without my will and behind my back.
I don’t understand those people.
You run a project do everything for them except delivering invoice to client and they try to fuck you anyway behind your or their client back.
You literally fight with people to give them money.
This all happened after me keeping their client project for almost 4 years.
Bell rings again to leave them this year after end of contract and don’t look back but I’m sad I need to leave nice client and application I was making for 4 years straight. I am oldest person in project probably only one that understands business behind it from ground up.
There was big rotation in project and knowing the company they will put some junior on my place that will break everything.
Well I still have some time to think ( maybe even couple of months) about what to do next besides taking some time off during this summer.
I am afraid that I rejected so many interesting offers during those 4 years nobody wants me and I got rusty with my stack I am no longer competitive.
I was unable to make anything during weekend and on Monday again cause of this shit.
Fucking people.4 -
Thats top notch design.
All actions happening on the page go to one endpoint. Removing old trusted computers, changing the password, changing 2FA, you name it.
Now if you want to remove all old trusted devices, you cannot remove all at once, there is no button for it. So you click one after the other. And then it stops working. Ok, then do the normal password rotation. Hmm, button has a loading spinner and then nothing happens.
Looking into the browser console:
- All requests go to /myaccount/security/graphql
- All requests get a 429 Too many requests
- Even if you just click a panel, it tracks the action to the graphql endpoint. Or at least tries to because even that gets shot down with a 429
Pretty dumb, eh? Must be some small shitty website. It's not. It's fucking paypal. -
I’ve watched the Vsauce episode about rotation again the other day.
The one where Michael explains how gyroscopes were used to measure the rate of rotation of the earth.
And I realized that this is another nice proof against the flat earth crap.
And it should be easy to test, too.
Somewhat related, the cloud formations due to the coriolis effect can be seen as a proof (for the globe) as well.2 -
So I graduated last year learned everything I would need to succeed in the job world. I got to my first rotation, I solved a total of 6-7 jiras in the past 6 months. I got to my second rotation, my new team is pretty much all remote and it’s been 2 weeks that i have been sitting idle. Their code base is not on git they’re not organized as my first one and I’m confused as to what they do, there’s not really any confluence and the deployment of code is done via uploading a jar. I really want them to adopt a structure like my last team or something similar because but I don’t know enough how to implement a new deployment process. I feel like sitting idle is the worst so I’m gonna start to see if I can implement a proper structure for them but who knows if they’ll even use it.3
-
Usually it's customer support.
We are a small team, so developers handle support, on a rotation basis though. But this is a hell lot of distraction because of the context switch. :(
Sometimes there are really disturbing tickets like how do I call this API using HTML? (*cries in spanish) -
In the morning to afternoon i do coding, debugging and sometimes deploying. In the night i just already start to play PUBG. I dont know why i am interested to play this game at the time.
But what i’ve learned while playing it is like looting the weapon and amno, find the easiest enemiest first (bot is still existed in the real game) , make some rotation, call the teammate if i am being knockdown and unluckly we landed then dead without weapon (too-soon) and fight for getting Winner Winner Chicken Dinner !!
Its like what i am doing every single day tobe better as developer, find some literature or articel, try to solve an easiest task, deploy it and boom its getting error and suddenly need to hotfix after it’s work with return 200 expected and no error logs on my APM😅
If you guys play too, share me your pubg id on the comment below.
Lets make some fun party ✌️👍 -
Some Back Story
Hey, so i was hired as a graduate developer in a company recently, its a rotation kinda thing so we get to work in different roles. At the moment i am in performance testing (which i like), here i am learning a lot of new things and like the working environment as well. After sometime i will have the freedom to choose a different role to move to but it is restricted to back-end mostly (that's what i went for during the interview) so i will have a choice between software engineering and QA automation, i can try both for sometime and then i will have to decide which part suits me more. Of course they will take my word but also take into account where i suit more according to my performance and factors like some others preferring the same thing.
Problem
Problem is that i have very limited knowledge of performance testing as a career simply because i think most people would prefer Development over testing, but this is a different kind of testing which i actually like. I just want to know if i have this choice then which career path makes more sense as i applied as a developer only but being a newbie i didn't know there were these many categories. A senior developer i know advised me to get all the knowledge i can take from performance but still go with software engineering and didn't explain his rational.
just want some advice for a newbie, i love the workplace.2 -
Ok just wanna share things that got me stuck for hours on my recent project and their solution. I hope it’s gonna help someone.
To start with, when I was implementing svg to png, i set an image object’s source with a data url. Normally this is going to trigger the onload hook. However for some fucked up reason it never triggered. The solution is to use setAttribute function and then the hook will be triggered.
Second, you can get rounded triangle by setting stroke width and set stroke linejoin and line cap as round. But remember, if stroke width is 6, then it’s 3 inside and 3 outside.
Third, if you have a rotation of svg element, and later on you want to manually compute the rotated point’s position, it’s most likely some vanilla code is not going to work. You see, when you rotate for x degree, it is actually rotating -x degree. I’m not sure if it’s a bug of my code, but it’s there.
And now the worst thing: if you look up how transform on svg is performed, stackoverflow is going to tell you it’s by order. But that’s somehow not true for my project. If I do set transform to do translation then rotation, the order it was applied is actually reversed. It’s rotation first then translation, like ffs why? Who the fuck said it was in order? It’s clearly in reverse fucking order.
Ok last thing, you can scale svg around it’s center, but absolutely don’t do that because it’s gonna fuck up tanslation and rotation applied to this svg. If you need to scale, translate it first then scale it will be better.
Anyway just some things i encountered. I’m gonna stay away from svg for at least two months now1 -
Question. I ran my code and found one of my images rotation out of wack. I had to delete the img file and upload again and then reinsert the file path and ran again. No issues. Any reason why that happen especially since the file path was correct before5
-
if rotation is enabled and you open a rant keeping your phone in landscape position, app goes landscape for no reason and comes back to portrait.1
-
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 -
I fucking hate math. Today tried to make 2 unequal rectangles align along 1 axis. This isn't that hard when they aren't rotated but it fucking when they are rotated. I know I have to use geometry to get them aligned and I got it somewat working but as the gap is bigger so is the drift in which it over compensates to the other side and I have no fucking clue how to fix this 😩.
The worst thing is tomorrow I have to be at this again1 -
More senior team member: If you would like to get in on call rotation. Do this
Me: Why the heck would I *want to* be on call?
Going on on call in two days lol6 -
What are your top choices of music to listen to while coding? I'm kind of getting tired of my current rotation which consists of: Celeste OST, General Classical Music (Piano), sometimes drum and bass, old school rap instrumentals.... just looking for some inspiration12
-
Worked on an iOS app that had horrendous rotation animation. Instruments to the rescue and worked at a colleague was using a resizable image with insets greater than the size of the image. Meaning when iOS tried to render the image it was doing a bunch of division by zero which was grinding the device to a halt.
-
DevRant gets very confused about orientation. Exactly upside down for some screens (landscape), and portrait only for others. To the devs: I feel you. Sincerely—a veteran of the rotation trenches.2