Bài đăng

Chuyển qua nhà mới - Medium

Hi All, Qua thời gian sử dụng thì thật sự thì mình thật sự rất thích Medium: - Tính năng vỗ tay độc quyền để like bài viết. - Responsive tuyệt vời, đối với cả người đọc và người viết. Blogger không thể bằng, đặc biệt khi post bài mới bằng Blogger. - Cơ chế hoạt động hợp lí, UX quá tốt. - Theme màu xanh hợp ý mình. - Khả năng quảng cáo khá tốt. Giờ mình search toàn ra bài đăng trên Medium. - Kiếm tiền từ Medium cũng dễ và cơ chế hợp lí hơn. Tuy Blogger khá tốt, free, có nhiều thiết lập nâng cao giúp mình dễ tùy biến và quản lí Blog. Tuy nhiên vì những hạn chế trên, khiến việc tiếp cận người đọc khá khó khăn nên mình đành phải dời qua Medium. Dù sẽ rất tiếc vì đa xài Blogger khá lâu. Nhưng công nghệ phát triển thì phải theo thôi. Mọi người xin vui lòng truy cập link mới cho blog này của mình: https://medium.com/my-sapui5-programing-pratices  Tạm biệt Blogger.

[Backend] Best practice working with HANA XS on Cloud Platform

Hình ảnh
Hi, I will share some best practice that took me hour to figure out what's solution. Perquisite: I follow the tutorial series here , so things are basically set up. 1/ Cannot add more column to table  After I completed all the tutorial series, I've got a XS service expose table data as OData service. And I can use the service to bind onto UI in SAPUI5 application. Then I come up with idea to add more data & relation so that I can do more with my application. That's when I got error: Even I add one column to my table, added data using SCV import. The 2 files are saved & activated successfully. But the data didn't returned in the Data service. When I check in the catalog of the service, it look like this (the new column "INSTOCK" does not have data): Issue with "INSTOCK" column I've thought that I cannot modify the structure of table during the database is up & running. So I tried to restart the database but it didn&#

[AngularJS] pain point for new commer: camelCase directive & snake-case HTML markup

Hi all, I'm new with AngularJS in one project. The different of a directive in Javascript code & HTML markup has caused me lots of trouble. It took me one day of work just to found out the reason is the type of one HTML markup. The story: I used the library of the material table from  https://github.com/daniel-nagy/md-data-table#api-documentation Things are good. Only one thing not work is that pagination total number. I've checked everything correctly with the document in that link. After a long time investigating all the possible reason, I end up finding out that I'm using an HTML markup in camelCase  as mdTotal (which get from the documentation ), instead of writing it in s nake-case as md-total . I shall remember this forever when working with AngularJS, and so do you. ---V---

[hardward] Test & Review Multi-devices Bluetooth Keyboard Logitech K480

Let’s try the performance of this keyboard. Well, to be honest, the keyboard is not really good at typing. The keys go no really smooth. The feeling is hard. Don’t know why Logictech can create such keyboard with best key feeling like this. Is it because they try to put the window & Mac keyboard inside one? That have different ASCII code & require more electronic board under to control it? I guess it’s the only reason. This keyboard is not cheap. Which mean it should deliver great typing experience, but I didn’t get it. The keyboard seem like a old keyboard which have a really not good feeling when type.  Shall I return? The responsive is OK, not really fast. Ah maybe the responsive (time from key pressed till it display on screen) affected by the key typing experience. Since the keys are hard to press down (unlike Mac keyboard or chipset keyboard), I feel it take more time to me to type the text. But anyway, it’s far more cheaper than a genuine Mac keyboard, so

[JS] [npm] Run npm behind the corporate proxy

I've just had a very similar problem, where I couldn't get npm to work behind our proxy server. My username is of the form "domain\username" - including the slash in the proxy configuration resulted in a forward slash appearing. So entering this: npm config set proxy "http://domain\username:password@servername:port/" then running this npm config get proxy returns this: http://domain/username:password@servername:port/ Therefore to fix the problem I instead URL encoded the backslash, so entered this: npm config set proxy "http://domain%5Cusername:password@servername:port/" and with this the proxy access was fixed. Note: - It's better the password has no special characters . - Sometimes, the https-proxy should use the same http :// instead of https :// Details can be found here . ---V---

[invention] Milk box of LIF - small invention but wide affect

Hình ảnh
Normally, in the past (and till now), many milk box (made by paper) is cover by 2 cord: one need spin & 1 need to cover the milk inside. With this type, if the user wants to get the milk inside the box. They need to take off 2 cords: 2 steps required. With the innovation from LIF: user needs only one step: spin the outer cord. Since the outer cord is linked with the inner paper cord by a hard plastic key. So if customer spin the outer cord, the key will spin as well, which open the inside cord at the same time. This invention now helps millions of customer save effort to open the milk box every day!!! ---V---

[UI] [network] Chrome - allow cross-origin (CORS) for dev purpose

For windows, press Window, type run,  open RUN utility window. Enter text: chrome.exe --user-data-dir="C:/Chrome dev session" --disable-web-security Details can be found here . For Mac & Linux, check here . ---V---