Posts

Word of the day: Rowhammer

Rowhammer is a vulnerability in commodity dynamic random access memory (DRAM) chips that allows an attacker to exploit devices with DRAM memory by repeatedly accessing (hammering) a row of memory until it causes bit flips and transistors in adjacent rows of memory reverse their binary state: ones turn into zeros and vice versa. The flaw, first reported in the paper "Flipping Bits in Memory Without Accessing Them: An Experimental Study of DRAM Disturbance Errors," detailed how, as DRAM processes continues to scale to smaller sizes, it becomes more difficult to prevent individual memory cells from interacting with neighboring cells. The Rowhammer flaw allows memory manipulation to be used by malicious actors to extract data such as passwords from vulnerable systems. The flaw has been detected in DDR3 and DDR4 DRAM chips and, when combined with other attacks, can be used to access the contents of memory on sys

SAP ABAP: Adding leading zero to char or string.

Here are the three ways to add leading zeros to a char or string. 1). Using numeric and character field with the same length. DATA: lv_Belnr(10) TYPE C VALUE '48',             lv_Num(10)   TYPE N. lv_Num =  lv_Belnr. ADD 1 TO  lv_Num. lv_Belnr  = lv_Num . WRITE  lv_Belnr. 2). Using FM CONVERSION_EXIT_ALPHA_INPUT. DATA: lv_Belnr(10) TYPE C VALUE '48'.   ADD 1 TO lv_Belnr.   CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'            EXPORTING                    INPUT  = lv_Belnr                      IMPORTING                    OUTPUT = lv_Belnr.  3). Using UNPACK.  DATA: lv_Belnr(10) TYPE C VALUE '48'. ADD 1 TO lv_Belnr. UNPACK lv_Belnr TO lv_Belnr. That's all. Mabuhay!

San Antonio Spurs takes the first blood! Spurs 129 - 100 GSW

Image
What a perfect first game for my Spurrific team. Giving Golden State Warriors their first loss at home. YES, AT HOME! Loud and Clear. Clearly a game will be won not by 4-5 big time players but by 12 players. Golden State bench just chopped in 16 points while Spurs bench bestowed 54 points. I try to convinced myself as what the analyst said that this is Kawhi team and he will win MVP this season. SPURS vs GSW. Image courtesy from NBA.com OAKLAND, Calif. -- Kawhi Leonard scored a career-high 35 points and the San Antonio Spurs emphatically spoiled Kevin Durant 's long-awaited Warriors debut Tuesday with a 129-100 rout that sent Golden State fans for the exits early on opening night. Durant had 27 points and 10 rebounds, but little looked in sync for MVP Stephen Curry and the reigning Western Conference champions in a forgettable first game -- and quite a different one after the Warriors dominated at home and came out of the blocks last season with a record 24-0

Hyundai Heavy Industries Wins an Order to Build Two 2,600 ton Frigates for the Philippine Navy

Image
2,600ton Frigate for the Philippine Navy. Image courtesy from HHI website. Hyundai Heavy Industries (HHI), the world’s largest shipbuilder, announced today that it signed a contract to build two 2,600 ton frigates with the Department of National Defense, Republic of the Philippines. The signing ceremony held in Manila, Philippines, was attended by Mr. Chung Ki-sun, executive vice president of Corporate Planning Office of HHI, Mr. Delfin Lorenzana, Philippines’ Defense Secretary and Mr. Kim Jai- shin, Korean Ambassador to Philippines and other guests. The frigates will be designed to be a smaller light combatant and successor to the Incheon class frigate which is now in active service for ROKN tailored to the requirement of the Philippine Navy with applying optimized range of good marine standard under naval rule from Lloyd Register, classification society. The 107 meter frigates to be propelled with CODAD (Combined Diesel and Diesel) propulsion syst

Euronaval 2016: Thales Unveils the RAPIDSeaGuardian 40mm CIWS & Anti Surface Gun System

Image
Now that the Philippines has awarded HHI of South Korea to build two(2) Frigates with more Thales equipment on board. Were hoping that in the next year to come, these frigates will be armed with secondary Naval guns which is RAPIDSeaGuardian 40mm CIWS & Anti Surface Gun System. The said gun is also perfect weapon for the all Tarlac class LPD as their defensive weapon. At Euronaval 2016, the largest naval defense exhibition in the world currently held in France, Thales unveiled the RAPIDSeaGuardian 40mm multi role artillery. It is basically a naval version of the famous landbased RAPIDFire system, using the same 40CTA canon (by Nexter & BAE Systems: CTA International). Thales RAPIDSeaGuardian Naval Gun System. Picture from navyrecognition.com       Thanks to its powerful anti-aircraft gun and optronic fire-control, RAPIDSeaGuardian is optimised to defeat new air threats such as Unmanned Aerial Vehicles (UAV), helicopters, Fighters-Ground Attack (FGA), cruise

ABAP FM FIN_AP_AR_ADD_BANK for FK02

Image
Finding ways to add/insert Vendor Master Bank Details using BAPI OR FM? I've been scratching my head for quite sometime looking and finding BAPI for Vendor Master Bank Details. Glad able to find the Function Module. FM - FIN_AP_AR_ADD_BANK TCODE - FK02 TABLE - LFBK Here's the code snippet. DATA: Bank_Data  type LFBK. Clear: Bank_Data . Bank_Data-lifnr   = lv_Lifnr. Bank_Data-banks = lv_Country. Bank_Data-bankl = lv_Bankl. Bank_Data-bankn = lv_Bankn. Bank_Data-koinh = lv_AcctHolder. Bank_Data-bvtyp = lv_Bvtyp. CALL FUNCTION 'FIN_AP_AR_ADD_BANK'      EXPORTING          i_koart                    = 'K'          i_bankdata              =  Bank_Data   *         I_CONFIRM_CHANGES       = 'X' *         I_CHECKMODUS            = ' ' *     IMPORTING *          E_RETURNCODE            =  *    TABLES *         T_MESSAGES              =               . Goodluck at maraming salamat! Happy abaping!

Quotes For The Soul!

"Whatever is silenced will clamor to be heard, though silently." - Margaret Atwood, The Handmaid's Tale "Life is a game, boy. Life is a game that one plays according to the rules." - J.D. Salinger, The Catcher In The Rye "The creatures outside looked from pig to man, and from man to pig, and from pig to man again; buy already it was impossible to say which was which." - George Orwell, Animal Farm "Words can be like X-rays if you use them properly - they'll go through anything. You read and you're pierced." - Aldous Huxley, Brave New World "The thing is - fear can't hurt you any more than a dream." - William Golding, Lord of The Flies "People can tell you to keep you mouth shut, but that doesn't stop you from having your own opinion." - Anne Frank, The Diary of A Young Girl "Sometimes the dream that come true are the dreams you never even knew you had." - Alice Sebold, The Lovely Bones "The wo