Details
-
AboutExcel is not a database
-
SkillsJava C# HTML CSS JSP SQL
-
LocationCape Town, South Africa
Joined devRant on 6/22/2018
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
-
This is a question and a rant
I have to get temperature readings from an andriod app written in ionic angular to a webpage written apache wicket... No, I don't have any control over either stack.
The kicker is the wicket app isn't even run properly attached to a domain, it's just run from a box at the client and then the client machines connect through <server ip>:8080/appname
Which means I can't solve my problem by simply having the website and app on the same domain and then use local storage...
I have tried
Ionic
window.postMessage({ type: 'temperatureData', data: tempFormatted }, '*');
Test it from this page
<!-- index.html (web page) -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Web Page</title>
</head>
<body>
<h1>Temperature Data</h1>
<p id="temperatureData">Loading...</p>
<script>
// Listen for messages from the Ionic app
window.addEventListener('message', (event) => {
if (event.data.type === 'temperatureData') {
// Update the temperature data on the page
document.getElementById('temperatureData').textContent = event.data.data;
}
});
</script>
</body>
</html>
Which does not work, the page fails to pick the data.
So my rant is the situation. M question is does anyone have any ideas?7 -
Is @root the same Root as in Person of Interest?random tv sci-fi root theme stuck in my head they don't make shows like they used to person of interest9
-
Every single old person should be held personally responsible for what they did to the economy. Every last one should be actively despised15
-
I don't give damn about Israel and Palestine. The important thing is that Skyrim belongs to the Nords7
-
Anyone else become a dev simply because they followed the path of least resistance?
Like, I do enjoy it but went something like this
>Be me
>Grade 9, picking HS subjects
>"Well I do like computers and air-conditioning" picks IT
>"Oh cool extra IT course at school for free"
>"Wow, ok. Free 6 month course after HS" because I did well in the course at school
>Recruited straight into first job at country's biggest life insurance company3 -
Sick af
Eyes burning
App crashes right before demo
I did a 16 hour while sick exactly to make sure this wouldn't happen.
I'm at my absolute limit for anyone expecting anything from me. Also my phone is broken4 -
So that laptop I got for R100 can do 4k... like wow..
For those who missed the first rant, we had an auction at work and I bought and old HP Elitebook for R100 which about the same as what a Big Mac meal costs...3 -
I'm starting to get the feeling that my boss is three 5 year old's standing on each other's shoulders in a trenchcoat4
-
I think I broke our intern.
All I did was set up an alias command to copy a war file. It of course has all the error handling and crap -
So an update to this
https://devrant.com/rants/8811982/...
Linux does not have drivers for the Quadro FX 1800. Linux also gives zero fucks and works anyway1 -
We had a blind auction at work. Selling off 'redundant hardware'
Most of it was old crap but a bit a couple of bids in for shits and giggles. Also, I'm a desktop man but we have rolling blackouts so an older laptop for the simple sake of having something bigger than my phone to browse definitely has some appeal.
So there was an old HP Elitebook 8540W. A chonky boi if ever I did see one.
Spec sheet as listed
4GB DDR3
i7 M 640 @ 2.80 Ghz
128GB SSD
Win 10 Pro
"not booting up/ power button flashing"
So bid R100. Now for context, a petrol is R22 a liter. A Big Mac is R43, a Big Mac meal is R90
So basically I big so I could harvest the SSD. And I won.
Much to my surprise, I simply attached the correct charger and it boots fine. The drive was empty though but that's fine cause I was gonna chuck Ubuntu on it anyway. Also found it was in fact 8GB of RAM. It also has a blu ray drive
So in summary, for the price of 1.1 Big Macs I got:
Full 1080p 15.6"
128GB Samsung SSD
8GB ram
First gen i7
Blu ray player
I'm most not sad about the 900x that I bid on as well. It was a cute little thing, my plan was to steal the ram and ssd out of this thing and put it in that, then boom ultra portable little machine for R400. Oh I also got an old monitor with a feint line down the screen for a grand total of R18 -
Why don't people understand nuance?
No, I don't have a foot fetish. Yes, I would suck Taylor Swift's toes if she asked7 -
Stupid things I've done from being tired
Typed "SELECT star FROM..." instead of "SELECT * FROM..."
Typed "instead" when writing the previous sentence
Typed the door code for work into the microwave instead of the time
Listened to my alarm in agony for 2 minutes before registering what it was and that I can switch it off3 -
Friend of mine wants to use his old blu ray player as a surround sound amp. Okay, sure it's supposed to have that functionality.
Struggle, struggle, struggle. Then I see on the back, a powered by Java sticker. Guess it's one of those 3 billion devices4 -
Anyone else just bleed time like no one's business?
I swear some days I blink and it's 140:00 with nothing to show for it24 -
We love getting one-liners assuming we have a whole lot of extra background knowledge when we ask questions5
-
How dare my manager do his job and nag me about something that I did honestly completely forget about. Rude!
-
!dev
Yea so that's how last night went. The result being that ya boi slept clean through the alarms and was an hour late for band practice2 -
!dev
Is a sweet Christiaan girl who will behave until the wedding night then let me put my balls on her eyes really too much to ask for?4 -
So they asked us all to come in today because we need to take a staff photo. Okay. Then they decide to actually do it tomorrow. Unfortunately my dumbass ADHD brain has entered waiting mode2
-
-Learn git early on
-Learn the basics of the web stuff even if you only want to be a backend dev
-Learn SQL. 99.9% you'll need it regardless of where exactly you land in this industry
-Build, build, build, build. Don't get stuck in tut hell9