Saturday, March 11, 2023

Goodbye, ex.

 


You were my home

You were my hope

And now I'm almost having a stroke


None of this is worth it

You made your choices

That is fine

Just remember that I used to call you mine


Now the doors must close

For another path I chose

One that will be of sweet ambriose

Better than what you gave me

Better than what I was credited for

Now I will have someone I adore


For months I was not able to breathe

For endless times my passion had to seethe

And now I will burst forth into the unknown

Much better than I ever had known


New opportunities will blossom

I will be given new life

Beautiful and without strife

Saturday, September 21, 2019

UE Wonderboom installs, pairs, connects but doesn't show up in Playback devices

This post is about the UE (UltimateEars) Wonderboom bluetooth speaker.

Problem:
- it installs, pairs, connects but doesn't show up in Playback devices

(my) Cause:
- I restored my PC from a previous backup but of course the Bluetooth drivers were no longer working, so they needed to be reinstalled. This was noticeable because when I went to Control Panel > Hardware and Sound > Devices and Printers, it showed my PC under 'Devices' with a yellow triangle symbol with an exclamation mark, indicating something is not ok. Then when I right-clicked and clicked Troubleshoot, it told me that there was a problem with various device drivers (various Bluetooth audio drivers in my case). Simple reason: it's because my Bluetooth Suite wasn't installed.

(my) Solution:
- reinstall the Bluetooth drivers for the PC (in my case Bluetooth Suite) and reboot
- after this, just pair your Wonderboom as usual in Windows Bluetooth Settings


Tuesday, May 7, 2019

onclick in span not working (fixed)

Problem

I had the following HTML and JavaScript code:

<span onclick="close()">x</span>

<script>
function close() {
    doSomething();
}
</script>

My close() function was never being triggered, no matter what. It didn't even help if I made my span display: block and gave it some width and height. I clicked on my span and nothing happened.

Then, after some fiddling around, I finally figured it out. Yes, it's important to debug. I first tried alert("hi") and that worked, so I knew it had something to do with my function.

Solution

Change the function name to myClose(), then it works. This is because the close() function already exists in JavaScript and it will conflict with your close() function. I suspect this has something to do with event bubbling, but I'm not sure.

Conclusion

Don't name your function names too stock or you will risk overlapping an already existing JavaScript method. In my case, the (window).close() function already existed in JavaScript.

Sunday, February 8, 2015

Disable Kaspersky right click context menu to fix Windows 8 performance!


It took me months to figure out why my right click context menu, any file right click menu and the Windows 8 quick menu (on the bottom left, right click) were always, always taking ages to load (at least 15 seconds).

I finally found the solution and I am so excited I wrote a blog post about it so everyone can see it!

Solution:
HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers
delete the Kaspersky entry.
(tip: back up that key first by choosing right click > export)

Furthermore, I had been painstakingly trying to narrow down the problem using ShellExView and ShellMenuView but disabling none of those items helped my problem. So, I finally found the culprit and it was the evil Kaspersky hidden context menu entry, nesting inside Windows. The asterisk also means that context menu handler is called every time you right click anything.

What a relief!
Comment if this helped you. :)

Thursday, November 15, 2012

Fake people

Why do people often fake? Why? To protect themselves? Because they're fucking assholes?

So last week I invited a colleague of mine from university to go with me to a games event. What does he do? He asks me to keep him up to date and ask him again a few days before the event. So, I do that. I ask him again just at that time. He tells me that "something more important came up" and doesn't want to fucking tell me what it was. It's just a big fat excuse. Why do people pretend man? Why? For fuck's sake. I'm sick of this.

Mind you, this is the fifth fucking time the guy cancels a get-together on me!
Coincidence? I think not!

Sunday, July 8, 2012

Yep, university and summer

So here I am, studying for finals for university.
I could have as well enjoyed the summer but hey, I can't because I have to study.
It's such a drag. I have a lot of re-exams. This is a very difficult task to accomplish.

My university's staff has been asking me if I'm 'slow of comprehension' and if I'd think about quitting university because 'it's so hard for me'. Give me a break. I am far more capable than any of those idiots at university out there. I just had bad luck. I had one weekend to study for 3 finals. It sounds a lot but it isn't. Especially not for university. You'd need at least six to twelve weeks if you want decent grades.
I know, I messed up. I was lazy. I didn't study when I had to. However, I can't keep doing this all my life. I can't keep being a failure and messing up my own life. I must succeed. I must find the path to success!

Anyway, my major is Application Development (that means: making useful computer programs for people).
I don't know what to say really. I'm feeling flaky.

My girlfriend told me to never give up and to not fall into the trap of thinking that I can study later. The time is now. I must prove to my university that I am capable. Frankly I don't believe in people not being intelligent enough. That's all horse shit. Watch the movie 'Summer School (1987)', you'll know what I mean.

Anyway enough blogging, I have to continue studying..

Greetings