So one day, out of the blue, my grunt build job started failing in jenkins. I was quite confused why. Because it was working fine if I did it from my dev machine. I have a PC, a personal laptop, a work laptop, and two home servers (which are just old laptops converted to do various stuffs), and it worked fine in all, except in one of the home server which is running jenkins.
So lately, a lot of people in my circle is talking about why java application server is dead. The reason why is explained in the slides here.
Basically what I get is that because nowdays people only deploy one artifact in one application server, it beats the point of the application server. It’s more like that the application server is already part of the application. So, it would be better to treat the application server as part of the application and ship them together as a package.
What does excellence means? I checked some source in the internet, and the first result that I got was, “The state, quality, or condition of excelling; superiority” When I check the meaning of excellent, I got as the first result “Of the highest or finest quality; exceptionally good of its kind”. So if somebody is an excellent guy, it would mean that he’s of the highest or finest quality, and he’s exceptionally good of its kind.
A turkey was chatting with a bull.
“I would love to be able to get to the top of that tree,” sighed the turkey, “but I haven’t got the energy.” “Well, why don’t you nibble on some of my droppings?” replied the bull. “They’re packed with nutrients.”
The turkey pecked at a lump of dung and found that it actually gave him enough strength to reach the lowest branch of the tree.
Sometimes, in the database, we will want to not delete stuff because the data might still be needed later. Maybe some other process in the company will have to generate an invoice by the end of the month. That’s also one of the reason in my workplace, why there won’t be any hard delete in the database except when we’re sure it’s really necessary.
One solution for this, in hibernate, is to overwrite the sql delete command using the @SqlDelete annotation:
So I was working on a private project with angular js and video js, and I am loading videojs dynamically after I got the source of the video, and there’s this very interesting problem where videojs will only be loaded only if you hard-refresh the page (f5-button). If you navigate to the page where it contains the video, or if you were on the page, go somewhere else, then come back again, the video won’t be loaded anymore and you’ll only get your old html5 video from the browser.
So I have an ATI HD5xxx graphic card in my desktop personal computer. It’s a nice and quite fast card. It also has three display adapters: HDMI, DVI, DisplayPort. On my desk, there are two monitors. One of them have a DVI and a VGA adapter. The other however, only have VGA adapter. Do you see the problem here?
My graphic card has no VGA adapter, because of this, I need to use some adapter, and because I used an adapter, the resolution of the monitor is not detected properly.
So it was when I was trying to install Skype on my brand new Debian 7 (Wheezy) when I encountered this problem:
package architecture (i386) does not match system (amd64) Actually I was a little shocked. I just downloaded the Skype package for Debian from the official website then tried to install it normally using “dpkg -i ”, and it used to always work (normally). Actually I came from the rpm world (Fedora and CentOS) and have been only using Windows 8 for the past few months for my thesis, so I am actually wondering whether I’m the one who is a little out of date, or this is just a deb thingie, or I’m just too thick and dumb.
I have a friend who asked me to teach him Java programming. About a few days ago, he told me :
Programmers should work fast and efficient. Please give me a task which has a time limit. I’m not used to fast programming.
The part about fast and efficient is always universally true. It doesn’t apply to only programming, but I am more in the direction of doing something right instead of fast.