Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "titanium"
I AM A FUCKING IDIOT!!!!!!
I have a setDelta(float newdelta) function that set newdelta to the old delta!
I even made a fool of myself on stack overflow! Kill me now please!14
I have to explain how the Apple app and the Google play store are the same thing for different platforms to 2 Apple fanboys.9
* Got an epileptic seizure
* fell down
* broke my left humerus top to 3 pieces
* bone pieces will be held together with titanium plates/screws tomorrow with surgery
* need some good wishes although I am hardcore materialist
* thanks in advance.18
My set up in March, 2003.
On the desk: Titanium PowerBook G4 1Gz
On the floor: custom-built PC running my email and web server on SUSE Linux7
FUCK THE INSERT KEY!!!!!
Every fucking time I start programming, I always end up hitting it and have to retype a line again :-:
Does anyone even use it?8
Just a personal request to @dfox
Can you screenshot only the part of the behind the scenes code of devrant? Just the part of it.
I want to see the syntax and how the language is used.
String.substr()'s second fucking argument is a length not an index.
FUCKING WASTED 10 MINUTES ADJUSTING PERFECTLY GOOD FUCKING LOGIC BECAUSE JS IS A BITCH!!!
Thank fuck the fix was just to use string.substring() instead or I would've killed myself9
@dfox @trogus how is Appcelerator working out for you guys for cross platform development?
I’m going to be making/totally rewriting the mobile apps for an online service this summer and I’m looking into options.
Currently I’m considering Xamarin, React Native, and Flutter, but I looked at the devrant tech stack page and began looking into appcelerator. What made you guys choose that? What’s the experience like?
Also if anyone else has arguments to make for any of the other three go for it! I’m a fairly new (compared to a lot of people on here) dev but Im pretty confident without programming knowledge and I’m just curious what the industry recommendations/people’s opinions are.
Thanks devrant, you’re awesome!27
Working hard on project since last 5 months.
Resolving issues and mainly frustrated from client epic feedback on the project...
Finally got message from client that “Yes, We can go for the Distribution “
And my reaction:2
Area of focus: Native iOS dev
Why: Spent years trying hybrid tools, dealing with the most ridiculous errors, bugs and issues you can begin to comprehend and then ... something magical happened. I got a book on Objective-c, learned a little, tried a simple app ... and it worked ... like properly worked, and on all the devices without taking half the RAM.
I'll say that again as I don't think it landed. In Objective-c, I got no issues where only the CEO's phone + OS version meant I couldn't load a map and a pin (looking at you titanium!!!)
In Objective-c, I wasn't promised storyboards and autolayout, only to find out they are completely different, and may god help you trying to google the issues, as the only ones to show up would be the native tools (looking at you Xamarin)
In Objective-c, my app doesn't instantly consume 125mb of RAM to load a fucking webview (looking at you ... well nearly every other hybrid tool)
... it just works. Then Swift came along and things only got better.14
[SERIOUS ADVICE NEEDED, PLZ HELP]
I am going to school again for like 4 days from tomorrow (don't ask me why, blame the government) and I feel a bit depressed. I just don't know what I have done in the last 2 years.
What I learned:
- Bunch of stupid facts from devRant
- C# stuffs
- Games are expensive
- Music production
And.... that's it, tbh
I don't really have "PERSONAL PROJECTS" that everyone is bragging about, I just have bunch of empty projects with a cool name but just Program.cs in it.....
I am worried of what to do now.
I just feel I made the wrong choice going with C#.
I just feel I should have went with JS.
With JS, you can do
- React Native + Cordova + Titanium + etc and make native android/ios/wp apps
- The WWW stuffs
- Electron --> Cross platform desktop apps (win/mac/linux)
- UnityScript (deprecated, but whatever) --> Games
So, what I am seeing now is a thick fog in the way to my future + career etc.....
I am stuck rn.
Should I continue with my pace and learn more C# and the things I do rn, or change the language and start from scratch, or as a last resort, leave the "make stuff by coding" industry and go to music industry, or just go to the airport and do planespotting and upload in youtube to earn money?
Serious advice please, and no jokes about C# and JS. These languages may suck, but YOUR language may suck more.11
I’ve got to build an app in 3 weeks that handles basic image editing and async requests. It’s gotta support both iOS and Android.
It’s also gotta scan barcodes.
What should I use?
Try and cram it through in native java/Kotlin and swift?
Something I’m missing?7
TL;DR I'm looking for a way to make a webapp for iOS.
I am developing an app for iOS devices. I am more familiar with JS, CSS and HTML, not to mention I have already created a fair chunk of the app. So it would be great if there was a solution that worked like UIWebView/WKWebView. I've had numerous issues with both of these widgets. UIWebView worked the best, most like a normal browser renderer, however still has some very annoying anomalies. For instance the input box could be covered up such so that you could still type but not see what you were typing, no other web browser does this. I've had plenty of issues that I have had to find hacky workarounds for. Is there a better way? I've heard of Titanium by Appcelerator, however I wanted to get as many opinions as a can.
Back in grammar school we started programming in TI-Basic on a TI89 Titanium as it was part of math class (calculus and geometry). I didn't really understand much because the teacher thought it was a great idea to start with recursively calculating GCD (and we were in a sort of "linguist profile", nobody had ever touched a line of code in their lives before). I still liked it though and by some coincidence I got an old Win95 compaq notebook to play with from a friend.
I started playing around with the CMD prompt and batch files and could apply some of the things I had learned on the TI, like GOTO or If statements. I still didn't know what I was doing of course, and so it happened that I used the > file pipe when trying to compare two values. Suddenly there was a file with some code fragments and I started to get what I had done. I put the file pipe into an endless GOTO loop and was amused how those few lines filled up the whole desktop with nonsense files. I went on to refine this a little so I could control it with another file that acted as a kill switch when present. Over the next weeks I played some more with it and made it write out and start another batch file that would check whether the original script was still there and recreate it if not.
That notebook was so large and heavy I could not bring it to school, so I wrote all code by hand on paper and typed it in when I got home, that way I could still code in class when I was bored and no one would notice.
So my first ever "program" that I wrote myself was some lousy malware.5
GOD FUCKING DAMMIT!!!
FUCK YOU WINDOWS!!!!
FUCK YOU SHITTY LAPTOP!!!!!!!
ok, so, I open Spotify on my shitty laptop, I go to visual studio, write 1 line of c++, copy it, AND MY FUCKING LAPTOP CRASHES!!!!
WTF KMN PLS!!!9
Why do I see so many people hating on Scratch?
It's the thing that got me into programming in the first place!4
I hate how In Android's 'task viewer', if the app was opened by another, the order they are placed changes, so I end up killing the app I want to return to :/3
Did anyone else notice that background color for devRant (dark theme) is #40415A?
If only it could just be 404 lol4
std::string rant = new Rant();
That moment you're working on old code you wrote 6 months, have no clue wtf is going on in it, (Because no comments), but you use the program everyday and found this big that prevents you adding new stuff to a crappy custom database file (I didn't even use Json or anything normal, I used my own file format which sucked). I now need to probably change the writing/reading of db file.
Wish me luck...
Every side project I have ever started ever.
I get so close to finishing then stop it's so god damn annoying
Just a rant I sent to discord instead of devRant
( Hope you can read it with all the compression )6
If anyone has read any of my posts before you may know, they're usually of a certain... Shall we say, dark, nature?
Well this possibly represents one of the darkest things I've imagined (with regards to technology and programming) I've had.
I was asked if I want to be buried or cremated when I die and they seem so... Pedestrian and I thought long and hard about what would be a fitting way to honour my life and what to do with my remains and it came to me...
I want my flesh to be only partially treated with formaldehyde so chunks of me rot away and others don't.
I want my skeletal structure to be replace with titanium rods with actuators and servo motors where my joints would have been with an internal gyroscope to assist with balance and my corpse will be installed with some sort of IOT controller board with on board wifi.
The companion smart phone app will allow my partially rotting cybernetic zombie corpse to be driven around by a bored grave yard grounds keeper while kids are doing LSD pretending they're all that.
Make them really believe the apocalypse has begun and the dead have risen.
I could be a whole thing for future corpse disposal too.
"Smart corpses, for the loved one who will be more intelligent in death than they were in life."
Although that's probably a bit too harsh...7
Just posted something on stackoverflow
Hoping I don't get banned from asking questions on there rn lol
I probs will though
I'm new to programming (1 year ish) and stackoverflow hates everyone.5
can anyone guess who said the following?
"Titanium allows us to launch new features really quickly and have an immediate impact. For example, we added an avatar builder with millions of configuration options, yet it only required a few lines of code to be different between iOS and Android."9
For months had a static clicking very faint noise on my creative speakers. Googled every issue with my x-fi titanium, swapped pcie around, changed cables you name it. In the end I blamed "dying" speakers amp as they have 10 years now only to realize a minute ago it was interference from the fecking cell phone's 4g...1
Had to be appcelerators titanium (weirdly I think this app was built with it).
I used it in the early days, before they had the foresight to add a date-time picker for Android.
It was a horrible unforgiving place, bugs on top of bugs, horrible documentation, incorrect instructions, and hacky workarounds posted as official installation instructions.
I'm not sure if it's gotten any better now, but I did give it a go again 2 years to update an app for someone. They made so many breaking changes, which is fine, but the new outcome offered less features and required more boilerplate code. I then spent (literally) 3 hours trying to get the Android simulator to run the app. Titanium just kept timing out and throwing incomprehensible errors. I eventually gave up and told my friend I updated it, it compiles but I can't test it.
Will never touch it again, and will never be used in any team I work for. Just awful.1
Just a quick question (& rant) about the titanium SDK
If people don't already know titanium is an SDK which you can use to make cross-platform apps, it is what devrant uses. I am starting a project using it but it's so terpremental, the build manifest file doesn't get created so a full rebuild occurs everytime and the builds only are successful half of the time.
I am also using tishadow to speed up the development but after a few code changes it will crash and I have to go though the same process again.
So my questions are to anyone who uses the titanium SDK, is it as buggy for you (it might be because I'm using windows Ew I know) or if this does happen to you how do you develop applications with it?
Thank you :)3
At my school, there was this thing called avid, it was basically English lesson, replacing one of your electives.
I didn't do avid, but everyone I knew did, (I thought it was for idiots lol).
I was told, three was A FULL HOUR LESSON on HOW TO SHAKE SOMEONE'S HAND.
Not sure if kids are dumb, it if teachers/country/curriculum are retarded
I spent an hour trying to fix this...
Guess what, remove the semicolon, AND IT FUCKING WORKS!?!!?
WHAT THE FUCK!11
I recently got a new computer ( Which is AMAZING btw :^ ), and thought I might get everything off my old laptop ( Which was slow as all shit with everything on it lol ) and reinstall windows.
Guess what happens when I reinstall windows?
Well, a ton of bloatware is STILL THERE, but besides that, airplane mode keeps turning on and off...
Like wtf? Why is this happening???
It's been 2 hours of me trying to fix this, so ya 'know what? Fuck it, installing Ubuntu and calling it a day...3
During my small tenure as the lead mobile developer for a logistics company I had to manage my stacks between native Android applications in Java and native apps in IOS.
Back then, swift was barely coming into version 3 and as such the transition was not trustworthy enough for me to discard Obj C. So I went with Obj C and kept my knowledge of Swift in the back. It was not difficult since I had always liked Obj C for some reason. The language was what made me click with pointers and understand them well enough to feel more comfortable with C as it was a strict superset from said language. It was enjoyable really and making apps for IOS made me appreciate the ecosystem that much better and realize the level of dedication that the engineering team at Apple used for their compilation protocols. It was my first exposure to ARC(Automatic Reference Counting) as a "form" of garbage collection per se. The tooling in particular was nice, normally with xcode you have a 50/50 chance of it being great or shit. For me it was a mixture of both really, but the number of crashes or unexpected behavior was FAR lesser than what I had in Android back when we still used eclipse and even when we started to use Android Studio.
Developing IOS apps was also what made me see why IOS apps have that distinctive shine and why their phones required less memory(RAM). It was a pleasant experience.
The whole ordeal also left me with a bad taste for Android development. Don't get me wrong, I love my Android phones. But I firmly believe that unless you pay top dollar for an android manufacturer such as Samsung, motorla or lg then you will have lag galore. And man.....everyone that would try to prove me wrong always had to make excuses later on(no, your $200_$300 dllr android device just didn't cut it my dude)
It really sucks sometimes for Android development. I want to know what Google got so wrong that they made the decisions they made in order to make people design other tools such as React Native, Cordova, Ionic, phonegapp, titanium, xamarin(which is shit imo) codename one and many others. With IOS i never considered going for something different than Native since the API just seemed so well designed and far superior to me from an architectural point of view.
Fast forward to 2018(almost 2019) adn Google had talks about flutter for a while and how they make it seem that they are fixing how they want people to design apps.
You see. I firmly believe that tech stacks work in 2 ways:
1 people love a stack so much they start to develop cool ADDITIONS to it(see the awesomeios repo) to expand on the standard libraries
2 people start to FIX a stack because the implementation is broken, lacking in functionality, hard to use by itself: see okhttp, legit all the Square libs, butterknife etc etc etc and etc
From this I can conclude 2 things: people love developing for IOS because the ecosystem is nice and dev friendly, and people like to develop for Android in spite of how Google manages their API. Seriously Android is a great OS and having apps that work awesomely in spite of how hard it is to create applications for said platform just shows a level of love and dedication that is unmatched.
This is why I find it hard, and even mean to call out on one product over the other. Despite the morals behind the 2 leading companies inferred from my post, the develpers are what makes the situation better or worse.
So just fuck it and develop and use for what you want.
Honorific mention to PHP and the php developer community which is a mixture of fixing and adding in spite of the ammount of hatred that such coolness gets from a lot of peeps :P
Oh and I got a couple of mobile contracts in the way, this is why I made this post.
And I still hate developing for Android even though I love Java.3
After my first ever "thing" I wrote (see story here: https://devrant.com/rants/2132057/...) fast forward 7 years to my first project when I /* thought I */ knew what I was doing and didn't write just for myself.
I worked in a very small company distributing various materials for medical research, many of them bought from manufacturers and then relabelled as if we had produced it. One part of that was to indicate a production batch / lot number. Before I started there, they would just invent a random number on the spot and use that on the new label and somewhere write it down to document that, I at least used an Excel sheet to have numbers prepared and document it on the same line (still crappy but more than nothing). After some time my boss got the idea to have all of that documented in MS Access (because that was the only database he knew). I had just started with HTML, PHP and MySQL in apprentice school around the same time, so I proposed writing an appropriate solution using those and got permission.
I started coding and learnt so much that I didn't need to pay attention at school anymore as I was years ahead of the curriculum (the others were struggling with If-statements and the likes).
When I was done with Version 1.0 of my web application, it was of course still crude as hell. I used html forms to save input (like editor.php -> submit to save.php, do save -> redirect to editor.php), but it did what had not been done before: keeping it all together and force people to do it properly. 2 years later I wrote a version 2, adding features that showed to be useful and with improved structure, as my last project before leaving, and as far as I know, they are still using it, which is at this point 2 years after I've left.
Looking back I would do it differently, but for what I knew back then it was not bad at all.2
That FUCKING MOMENT when you finish a new PC build, and it doesn't work, then you strip everything everything and you realize the Mobo is fucking.
Kill me now please.2
God I feel like an idiot :/
So for about a week, I had this problem with a C++ JSON reading/writing lib which was fucking annoying as all fuck.
Basically, the problem was that when I sent data to the server ( Yes this is a server ), rapidjson would call assert(false), which would crash the program. Commenting out this call would not stop the crash, as it would just call the same thing somewhere else.
The code I thought had the little bastard of a fucking problem was in the commandsManager class, which, did commands managing ( Shocking, I know ), the only code which used the json lib in there was legit fucking copied and pasted from the docs.
I think you can guess that the problem wasn't in that fucking class, it after I had called a function in it in the main method, which didn't check if a very, very, VERY fucking specific member was there or not, but it tried to access it anyways. That caused the fucking crash
I had wasted a holy FUCKING WEEK ON THIS FUCKING BUG AND I WAS LOOKING, IN THE WRONG GOD DAMN FUCKING PLACE!!!1
I fucking hate it how the io shield provided with motherboards always are hard to install. Why the fuck isn't there a standard or something that motherboard manufactures have to follow, so that the io shield can be pre-installed in the case.1
That's it. I hate Titanium, it's official. Can't wait to switch but I have to fix Ti's bugs first 😭😭 whyyyy did you decide to use that. Why WHYYY?!2
Wait till the last 3 days/hours and realise"o shit I'm ded", then proceed to finish the project in those 3 days/hours
rantType = "windows sucks"
I hate Windows so much right now >.>
So I'm using VS, debugging my shit, when suddenly!
Windows gives me a BSOD.
And the stop error wasn't even related to anything I was doing so don't say I did it lol
Anyways, my best idea of wtf has happened to my install was the event viewer spitting a fuck ton of errors after I installed the fall update, so new update = bad I guess lol3
Does anyone else sometimes put a ; at the end of your sentences while writing?
I do it the most in code comments but I have doing myself put a semicolon at the end of my sentences while doing other things lol
Fuck visual studio.
Ok, so, I had ben developing for about half an hour, when suddenly, visual studio doesn't want to run what it compiles.
"That's not a big issue" - You rn
Well that itself wouldn't be that bad, but guess what?!
VISUAL STUDIO WASN'T GENERATING AN EXE AT ALL!
I turn my antivirus off, and the same thing happens.
This has happened for 2 days now.
"UR CODES PROBS BAD THATS WHY!!!" - Also you rn
No my code is perfectly fine, because it compiled 1 build ago with no issues, and I haven't changed a thing to the code or the project.
Any suggestions on how to fix this shit?6
That one time I tried to open the wrapping paper of a lollipop. Those things are made of titanium or something!
Clearly Appcelerator & Titanium. I still can't understand why the previous dev decided it was a good idea to launch an app with that 😡1
Why do I keep hearing this tune in my head?
You shoot me down but I won't fall,
I am.... AURELIA!!1