Joined devRant on 1/1/2017
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Changed refresh rate of my KDE widgets from 1 to 5 seconds.
No more 12% cpu usage spikes in idle. (Down to 3%)
I think that my battery will thank me
//TODO: Buy a replacement switch and fix it in the proper way
Narrator: he never bought the replacement2
Sadly I don't have an nice view in a less than 20km range from my place. so this is the indoor.
FLASH ON View:1
Rant && SPAM alert!
I'm learning QML, to create plasma widgets and I wasted all the fucking day fighting with layouts and trying to understand why the settings window was not rendered (now it's rendered but I still don't understand why it wasn't before, the code is the same!)
so at the end of the day I ried to apply what i learnt in a fresh new widget that shows (some) PiHole statistics from its API.
on first run:
it runs fine, no errors... ok let's do some tests... turn off network, whole DE freeze WTF!?! one widget error (network error in this case) can freeze the whole DE.
restarted plasma, FIXED the bug (debugging process basically is:
try something - freeze - restart plasma - repeat
No more freeze!
if you're a KDE and pihole user and you want try my widget:
P.S: I'm adding right now a switch to quickly enable/disable pi hole over API directly from your desktop. i will push tomorrow.5
Wrost security fix ever seen?
encode that passwords in base64 is safe enough.
And keep the password.txt accessible from internet it's safe because nobody know that it exists...7
I'm trying to reverse engineer a BLE device.
And bluetoothctl keeps getting stuck with 'InProgress' error after 2 or 3 write requests.
I have to restart Bluetoothd each time.
Docs are even worse (or inexistent)
hall effect sensor died
I have to show my project in less than a week.
;-) this is "find a store" page of an International ISP.
they cannot even handle their google api keys.
how they can handle my data.2
I've been selected as an amazon echo tester for my country.
to agree fill this survey and you will receive a free Echo:
do you have WiFi?
yes (you already know that i have a fire tv stick so you know even the password)
what mobile os do you have?
android (you already know also this i have the amazon app installed in it)
where do you live?
*my city* (you know that from ip address & shipping addresses)
imagine what them will now that i will introduces an open in mic in my room....
(i think that i will keep it behind firewall when i am not at home and when i dont want use it)2
Today I made this:
a crypto price alert page that plays. you suffer - napalm death
like the gilfoyle one.
with the intention to add PPC (PiedPiperCoin) to the list of currencies.
but CORS & the missing https for piedpiper.com stopped me. :-(
today I forgot to check the balance of my prepaid sim card. (it was < 2€)
I just received a notification from google that payment for devrant++ has been rejected.
I recharge my sim with paypal.
but google play it's still in error.
"add a different payment method"
I choose to add paypal....
"your paypal account can be added because it's blocked; contact paypal."
wtf? I used paypal 10mins ago.
*login using paypal app*
ok fuck you google.
as soon i will solve this issue i will restore the ++ subscription.
(if it will be disabled)1
i'm writing a custom web server for a project (esp32 based)
each 4 connections system crashes (cannot bind socket anymore)
i was so angry with espressif thinking that was their fault (bad implementation of posix sockets)
but is mine...
today i did another code review and I just discovered that i missed a fucking close() in the websockets handler
i wasted a month on this issue.1
(another) Russian roulette for devs
+ 642 python .....etc
$sudo kill -9 642
.... other commands here
arrow up...arrow up... (looking for jobs -l)... got it.
$kill -9 642
F*uck! (i remember that i have not changed the pid)
kill: no such process (luckly no damages)
anyone killed something relevant making this mistake?7
CS teacher tip of the day:
you know that you have a second chance in your life,
when a redbull can fall on your keyboard😫 but the can is empty😥.
teacher assigned me a task for a school project that i dont want do.
i thought "F*uck why i have to waste my time on this shit!?!"
luckily I just discovered that it just required 2 lines of C++ and 10 lines of js.😊1