<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics in Codemasters</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Sat, 04 Apr 2026 04:46:24 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>RapidKL GTFS Realtime Bus WebService, RapidKL GTFS Realtime Bus WebService</title>
            <link>http://forum.lowyat.net/topic/5553047</link>
            <description>Hi,&lt;br /&gt;&lt;br /&gt;Found out that RapidKL do provide real-time bus location data service. The data is every 30 seconds.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://data.gov.my/' target='_blank'&gt;https://data.gov.my/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I created a webservice to display the bus locations in a map.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://rapidkl-gtfs.onrender.com/' target='_blank'&gt;https://rapidkl-gtfs.onrender.com/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Hope it is useful and can get some feedback.&lt;br /&gt;&lt;br /&gt; &lt;!--emo&amp;:peace:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/icon_rolleyes.gif' border='0' style='vertical-align:middle' alt='icon_rolleyes.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>yunalesca</author>
            <pubDate>Wed, 21 Jan 2026 19:41:00 +0800</pubDate>
        </item>
        <item>
            <title>Windows&amp;#39; C &amp;amp; C++ code to be replaced with Rust, </title>
            <link>http://forum.lowyat.net/topic/5551640</link>
            <description>Windows won’t be rewritten in Rust using AI, according to a senior Microsoft engineer, but the company still has bold plans for embracing the popular programming language.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style='color:red'&gt;Microsoft plans to replace C and C++ with Rust within the next five years&lt;/span&gt;&lt;/b&gt; as part of a major engineering modernization project – but a senior company figure insists AI won’t be doing the heavy lifting after a social media backlash.&lt;br /&gt;&lt;br /&gt;In a post on LinkedIn advertising a job opening last week, Galen Hunt, Distinguished Engineer at Microsoft, said the tech giant plans to &lt;b&gt;&lt;span style='color:red'&gt;“eliminate every line of C and C++ from Microsoft by 2030”&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;The scale of the project here is significant, with Hunt suggesting that developers will be working toward refactoring upwards of one million lines of code on a monthly basis.&lt;br /&gt;&lt;br /&gt;“Our North Star is ‘1 engineer, 1 month, 1 million lines of code’,” Hunt wrote. “To accomplish this previously unimaginable task, we’ve built a powerful code processing infrastructure. Our algorithmic infrastructure creates a scalable graph over source code at scale.”&lt;br /&gt;&lt;br /&gt;“Our AI processing infrastructure then enables us to apply AI agents, guided by algorithms, to make code modifications at scale,” he added. “The core of this infrastructure is already operating at scale on problems such as code understanding.”&lt;br /&gt;&lt;br /&gt;&lt;b&gt;The move from Microsoft marks the latest in its shift to the Rust programming language in recent years&lt;/b&gt;. In 2022, David Weston, corporate VP for OS security and enterprise at Microsoft, revealed &lt;b&gt;the company was investing around &amp;#036;10 million in Rust to make it the company&amp;#39;s &amp;quot;1st class language&amp;quot; for engineering systems&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;As ITPro reported back in 2023, the company made a significant leap on this front with the introduction of Rust-based kernel features on Windows as part of the Windows 11 Insider Preview Build 25905.&lt;br /&gt;&lt;br /&gt;Progress has continued at pace in the intervening years. During a keynote presentation at RustCon 2025 in September, Azure CTO Mark Russinovich detailed the company’s efforts to embrace Rust, per reports from The New Stack.&lt;br /&gt;&lt;br /&gt;&lt;span style='font-size:14pt;line-height:100%'&gt;Microsoft&amp;#39;s Rust project courts controversy&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Initially, Hunt hinted at the use of AI in helping Microsoft deliver on the goal of rewriting some of the company’s largest codebases.&lt;br /&gt;&lt;br /&gt;The suggestion tracks with how &lt;b&gt;the tech giant is using the technology in software development over the last two years. In May this year, CEO Satya Nadella revealed up to 30% of the company’s code is now written by AI&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;However, Hunt’s comments appear to have courted controversy, prompting an edit on the original post to clarify that “Windows is *NOT* being rewritten in Rust with AI”.&lt;br /&gt;&lt;br /&gt;Hunt insisted this is a research project aimed at “building tech to make migration from language to language possible”.&lt;br /&gt;&lt;br /&gt;“The intent of my post was to find like-minded engineers to join us on the next stage of this multi-year endeavor—not to set a new strategy for Windows 11+ or to imply that Rust is an endpoint,” he wrote.&lt;br /&gt;&lt;br /&gt;&lt;span style='font-size:14pt;line-height:100%'&gt;Rust is in vogue&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Microsoft isn’t the only company making the shift to Rust. Last year, &lt;b&gt;Lars Bergstrom, director of engineering at Google’s Android team, said developer teams embracing the programming language have unlocked marked productivity and efficiency benefits&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;A 2024 project from DARPA also saw the US government agency announce plans on this front, this time actually using AI tools to translate C code to Rust.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style='color:red'&gt;A key factor behind the shift to Rust lies in security. Popular languages such as C and C++ have suffered from recurring security-related issues, making them vulnerable to bugs due to how they use memory&lt;/span&gt;&lt;/b&gt;.&lt;br /&gt;&lt;br /&gt;These ‘memory-safety vulnerabilities’ have become a frequent pain point for enterprise security teams and developers alike, and have caught the attention of security agencies on both sides of the Atlantic.&lt;br /&gt;&lt;br /&gt;In 2022, the US National Security Agency (NSA) urged organisations to shift to memory-safe programming languages, such as Rust, Python, or Java. More recent guidance from the NSA and CISA, meanwhile, once again urged devs to make the shift.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://www.itpro.com/software/development/microsoft-rust-programming-language-modernization-ai' target='_blank'&gt;https://www.itpro.com/software/development/...odernization-ai&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How the world has changed...</description>
            <author>Taikor.Taikun</author>
            <pubDate>Thu, 08 Jan 2026 18:59:09 +0800</pubDate>
        </item>
        <item>
            <title>What to learn to get a job in the coding industry?, First time </title>
            <link>http://forum.lowyat.net/topic/5548648</link>
            <description>I&amp;#39;ve worked in graphics design and digital art, but I want to switch lane and get into programming. Thing is I have 0 programming knowledge, I realize right now might not be a good time with AI and all that. But just humor me for a second and tell me what programming language for me to learn and get a job in current time. Let&amp;#39;s say I have 3-4 months to learn. For context I am looking at the Programming Tutorial Thread, and I feel clueless. Am I meant to learn everything from top to bottom?</description>
            <author>hyperwavedrift</author>
            <pubDate>Tue, 09 Dec 2025 11:29:48 +0800</pubDate>
        </item>
        <item>
            <title>Zork Go Open Source, games</title>
            <link>http://forum.lowyat.net/topic/5547041</link>
            <description>&lt;img src='https://opensource.microsoft.com/blog/2025/11/20/media_1c88f4e0c062678c7e71e8250d42cd3ebe560effc.png' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style='font-size:14pt;line-height:100%'&gt;Preserving code that shaped generations: Zork I, II, and III go Open Source&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Microsoft’s Open Source Programs Office (OSPO), Team Xbox, and Activision are making Zork I, Zork II, and Zork III available under the MIT License.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://github.com/historicalsource/zork1' target='_blank'&gt;Zork 1 GitHub repository here&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style='font-size:14pt;line-height:100%'&gt;A game that changed how we think about play&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When Zork arrived, it didn’t just ask players to win; it asked them to imagine. There were no graphics, no joystick, and no soundtrack, only words on a screen and the player’s curiosity. Yet those words built worlds more vivid than most games of their time. What made that possible wasn’t just clever writing, it was clever engineering.&lt;br /&gt;&lt;br /&gt;Beneath that world of words was something quietly revolutionary: the Z-Machine, a custom-built engine. Z-Machine is a specification of a virtual machine, and now there are many Z-Machine interpreters that we used today that are software implementations of that VM. The original mainframe version of Zork was too large for early home computers to handle, so the team at Infocom made a practical choice. They split it into three games titled Zork I, Zork II, and Zork III, all powered by the same underlying system. This also meant that instead of rebuilding the game for each platform, they could use the Z-Machine to interpret the same story files on any computer. That design made Zork one of the first games to be truly cross-platform, appearing on Apple IIs, IBM PCs, and more.&lt;br /&gt;&lt;br /&gt;&lt;span style='font-size:14pt;line-height:100%'&gt;Preserving a piece of history&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Game preservation takes many forms, and it’s important to consider research as well as play. The Zork source code deserves to be preserved and studied. Rather than creating new repositories, we’re contributing directly to history. In collaboration with Jason Scott, the well-known digital archivist of Internet Archive fame, we have officially submitted upstream pull requests to the historical source repositories of Zork I, Zork II, and Zork III. Those pull requests add a clear MIT LICENSE and formally document the open-source grant.&lt;br /&gt;&lt;br /&gt;Each repository includes:&lt;br /&gt;&lt;br /&gt;Source code for Zork I, Zork II, and Zork III.&lt;br /&gt;Accompanying documentation where available, such as build notes, comments, and historically relevant files.&lt;br /&gt;Clear licensing and attribution, via MIT LICENSE.txt and repository-level metadata.&lt;br /&gt;This release focuses purely on the code itself. It does not include commercial packaging or marketing materials, and it does not grant rights to any trademarks or brands, which remain with their respective owners. All assets outside the scope of these titles’ source code are intentionally excluded to preserve historical accuracy.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Source: &lt;a href='https://opensource.microsoft.com/blog/2025/11/20/preserving-code-that-shaped-generations-zork-i-ii-and-iii-go-open-source' target='_blank'&gt;https://opensource.microsoft.com/blog/2025/...-go-open-source&lt;/a&gt;</description>
            <author>Taikor.Taikun</author>
            <pubDate>Sat, 22 Nov 2025 13:17:31 +0800</pubDate>
        </item>
        <item>
            <title>Shortest code for a hexdump program, Anyone?</title>
            <link>http://forum.lowyat.net/topic/5544997</link>
            <description>The code must be able to open a file, and print the address, hex value, and ASCII char side-by-side like below:&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;00000000    7F  45  4C  46  02  01  01  03  00  00  00  00  00  00  00  00      .ELF............&lt;br /&gt;00000010    02  00  3E  00  01  00  00  00  B0  00  40  00  00  00  00  00      ..&amp;#62;.......@.....&lt;br /&gt;00000020    40  00  00  00  00  00  00  00  00  00  00  00  00  00  00  00      @...............&lt;br /&gt;00000030    00  00  00  00  40  00  38  00  02  00  40  00  00  00  00  00      ....@.8...@..... &lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;Anyone want to try?&lt;br /&gt;&lt;br /&gt;My shortest code is in FASM, but you can try in other programming language.&lt;br /&gt;&lt;br /&gt;You can use third-party library or system library.&lt;br /&gt;&lt;br /&gt;My solution: (you can import the function in C/ C++ / C#)&lt;br /&gt;&lt;!--SPOILER BEGIN--&gt;&lt;div class=&quot;spoilertop&quot; onClick=&quot;openClose('4917a7718752be5bd56df571a8a7f338')&quot; style=&quot;font-weight: bold&quot;&gt;&lt;u&gt;&amp;raquo; Click to show Spoiler - click again to hide... &amp;laquo;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;spoilermain&quot; id=&quot;4917a7718752be5bd56df571a8a7f338&quot; style=&quot;display:none&quot;&gt;&lt;!--SPOILER END--&gt;https://learn.microsoft.com/en-us/windows/win32/api/wincrypt/nf-wincrypt-cryptbinarytostringa&lt;br /&gt;&lt;br /&gt;CRYPT_STRING_HEXASCIIADDR&lt;br /&gt;0x0000000b&lt;br /&gt;Hexadecimal, with ASCII character and address display.&lt;!--SPOILER DIV--&gt;&lt;/div&gt;&lt;!--SPOILER DIV--&gt;</description>
            <author>MatQuasar</author>
            <pubDate>Sun, 02 Nov 2025 16:28:15 +0800</pubDate>
        </item>
        <item>
            <title>A Hair Guide to Software Engineers, </title>
            <link>http://forum.lowyat.net/topic/5543580</link>
            <description>Your hair changes according to levels.&lt;br /&gt;&lt;br /&gt;&lt;a href='https://pictr.com/image/xjP9uZ' target='_blank'&gt;&lt;img src='https://pictr.com/images/2025/10/21/xjP9uZ.md.jpg' border='0' alt='user posted image' /&gt;&lt;/a&gt;</description>
            <author>Taikor.Taikun</author>
            <pubDate>Tue, 21 Oct 2025 09:45:49 +0800</pubDate>
        </item>
        <item>
            <title>A simple PE analysis tool for reverse engineers, </title>
            <link>http://forum.lowyat.net/topic/5543264</link>
            <description>Hi, in April 2025, I created a small Win32 app (minimum requirement: Windows XP) in FASM that can let you open an executable file (e.g. EXE, DLL, SYS) and you&amp;#39;ll get simple description such as:&lt;br /&gt;1. &amp;quot;32-bit Console App&amp;quot;&lt;br /&gt;2. &amp;quot;32-bit GUI App&amp;quot;&lt;br /&gt;3. &amp;quot;64-bit Console App&amp;quot;&lt;br /&gt;4. &amp;quot;64-bit GUI App&amp;quot;&lt;br /&gt;&lt;br /&gt;For any other type of subsystem, it will just merely states:&lt;br /&gt;1. &amp;quot;32-bit PE file&amp;quot;&lt;br /&gt;2. &amp;quot;64-bit PE file&amp;quot;&lt;br /&gt;&lt;br /&gt;&lt;img src='https://pictr.com/images/2025/10/17/xWOr4v.png' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;The source code (pemenu.txt) is included.&lt;br /&gt;&lt;br /&gt;I have published this program in SherpaSec cybersecurity Discord server before. To get the source code to compile, you&amp;#39;ll need Flat Assembler for Windows.&lt;br /&gt;&lt;br /&gt;The command-line version is only available upon request, since it is not popular. Many prefer GUI app.</description>
            <author>MatQuasar</author>
            <pubDate>Fri, 17 Oct 2025 23:44:13 +0800</pubDate>
        </item>
        <item>
            <title>My first database program in Assembly language, Based on SQLite3</title>
            <link>http://forum.lowyat.net/topic/5543220</link>
            <description>My latest hobby project is a Win32 database program written in FASM, based on SQLite3.dll.&lt;br /&gt;&lt;br /&gt;It allows CRUD, but I have issue with Update and Remove in indexing if you start remove items in the middle of the list, it won&amp;#39;t update the database although it appears correctly in GUI window.&lt;br /&gt;&lt;br /&gt;&lt;img src='https://pictr.com/images/2025/10/17/xWFh9j.png' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;SQLite3.dll is decades old, I got the example and file from another fellow Malaysian &amp;quot;yeohhs&amp;quot;, who had uploaded several FASM tutorial examples.&lt;br /&gt;&lt;br /&gt;The code to fetch SELECT query in my program is different than what I did last time in Visual Basic 6, the result set returned by &amp;#39;sqlite3_get_table&amp;#39; function is in memory pointer format, and the first row is always column header. If I have two columns, then each cell is 4-byte long (memory address), which mean each row is 8-byte long.&lt;br /&gt;&lt;br /&gt;Nonetheless, it was fun to program a SQL database program in Assembly language. If you are in Developer Kaki group, you may already see I have showcased this in last July.&lt;br /&gt;&lt;br /&gt;If you want to run, here&amp;#39;s how:&lt;br /&gt;1) Download &amp;#39;dbform.txt&amp;#39; and &amp;#39;sqlite3.zip&amp;#39;&lt;br /&gt;2) Unzip sqlite3.zip and you&amp;#39;ll get one file - sqlite3.dll&lt;br /&gt;3) Rename dbform.txt to dbform.asm&lt;br /&gt;4) Download Flat Assembler for Windows&lt;br /&gt;5) Run FASMW.EXE and open dbform.asm&lt;br /&gt;6) Click Compile (or Run)&lt;br /&gt;7) Please make sure sqlite3.dll and dbform.exe are in the same directory&lt;br /&gt;8) After you run, you&amp;#39;ll notice dbform1.dat file-based database is created</description>
            <author>MatQuasar</author>
            <category>SQL</category>
            <pubDate>Fri, 17 Oct 2025 16:42:21 +0800</pubDate>
        </item>
        <item>
            <title>BGGP6 is happening this Saturday, Oct 18, 2025 Eastern Time</title>
            <link>http://forum.lowyat.net/topic/5543119</link>
            <description>BGGP is an annual small file competition.&lt;br /&gt;&lt;br /&gt;Past challenges were:&lt;br /&gt;&lt;br /&gt;- BGGP1 (2020) - Palindrome&lt;br /&gt;- BGGP2 (2021) - Polyglot&lt;br /&gt;- BGGP3 (2022) - Crash&lt;br /&gt;- BGGP4 (2023) - Replicate&lt;br /&gt;- BGGP5 (2024) - Download&lt;br /&gt;&lt;br /&gt;For BGGP4 and BGGP5, participants sent in a lot of entries in multiple file formats and programming languages.&lt;br /&gt;&lt;br /&gt;BGGP6 for 2025, is expected to begin this Saturday (Oct 18 Eastern Time) as the organizer has postponed it from northern summer to northern fall.&lt;br /&gt;&lt;br /&gt;Get your hex editor ready. I will post more once it has begun.&lt;br /&gt;&lt;br /&gt;Announcement:&lt;br /&gt;&lt;a href='https://haunted.computer/@netspooky/115357200184400163' target='_blank'&gt;https://haunted.computer/@netspooky/115357200184400163&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Website: &lt;a href='https://binary.golf' target='_blank'&gt;https://binary.golf&lt;/a&gt;</description>
            <author>MatQuasar</author>
            <pubDate>Thu, 16 Oct 2025 18:40:49 +0800</pubDate>
        </item>
        <item>
            <title>[SOLVED] Trying to connect to MYSQL via c++, </title>
            <link>http://forum.lowyat.net/topic/5533940</link>
            <description>I&amp;#39;m learning a bit of c++ a long ago so I try to connect with MYSQL&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;#include &amp;#60;iostream&amp;#62;&lt;br /&gt;#include &amp;#60;mysql_driver.h&amp;#62;&lt;br /&gt;#include &amp;#60;mysql_connection.h&amp;#62;&lt;br /&gt;#include &amp;#60;cppconn/statement.h&amp;#62;&lt;br /&gt;#include &amp;#60;cppconn/prepared_statement.h&amp;#62;&lt;br /&gt;&lt;br /&gt;int main&amp;#40;&amp;#41;&lt;br /&gt;{&lt;br /&gt;    sql&amp;#58;&amp;#58;mysql&amp;#58;&amp;#58;MySQL_Driver* driver;&lt;br /&gt;    sql&amp;#58;&amp;#58;Connection* conn;&lt;br /&gt;    sql&amp;#58;&amp;#58;PreparedStatement* pstm;&lt;br /&gt;&lt;br /&gt;    std&amp;#58;&amp;#58;string nama;&lt;br /&gt;    int a, umur;&lt;br /&gt;&lt;br /&gt;    std&amp;#58;&amp;#58;cout &amp;#60;&amp;#60; &amp;#34;Masukkan jumlah data&amp;#58; &amp;#34;;&lt;br /&gt;    std&amp;#58;&amp;#58;cin &amp;#62;&amp;#62; a;&lt;br /&gt;&lt;br /&gt;    try {&lt;br /&gt;        driver = sql&amp;#58;&amp;#58;mysql&amp;#58;&amp;#58;get_mysql_driver_instance&amp;#40;&amp;#41;;&lt;br /&gt;        conn = driver-&amp;#62;connect&amp;#40;&amp;#34;tcp&amp;#58;//127.0.0.1&amp;#58;3306&amp;#34;, &amp;#34;root&amp;#34;, &amp;#34;password&amp;#34;&amp;#41;; // adjust credential after test&lt;br /&gt;        conn-&amp;#62;setSchema&amp;#40;&amp;#34;test1&amp;#34;&amp;#41;; // databaseName&lt;br /&gt;        //}&lt;br /&gt;&lt;br /&gt;        for &amp;#40;int i = 0; i &amp;#60; a; ++i&amp;#41; {&lt;br /&gt;            std&amp;#58;&amp;#58;cout &amp;#60;&amp;#60; &amp;#34;Masukkan nama perserta&amp;#58; &amp;#34;;&lt;br /&gt;            std&amp;#58;&amp;#58;cin &amp;#62;&amp;#62; nama;&lt;br /&gt;            std&amp;#58;&amp;#58;cout &amp;#60;&amp;#60; &amp;#34; Masukkan umur perserta&amp;#58; &amp;#34;;&lt;br /&gt;            std&amp;#58;&amp;#58;cin &amp;#62;&amp;#62; umur;&lt;br /&gt;&lt;br /&gt;            pstm = conn-&amp;#62;prepareStatement&amp;#40;&amp;#34;INSERT INTO userData&amp;#40;nama, umur&amp;#41; VALUES &amp;#40;? , ? &amp;#41;&amp;#34;&amp;#41;;&lt;br /&gt;            pstm-&amp;#62;setString&amp;#40;1, nama&amp;#41;;&lt;br /&gt;            pstm-&amp;#62;setInt&amp;#40;2, umur&amp;#41;;&lt;br /&gt;            pstm-&amp;#62;execute&amp;#40;&amp;#41;;&lt;br /&gt;&lt;br /&gt;            std&amp;#58;&amp;#58;cout &amp;#60;&amp;#60; &amp;#34; Data &amp;#34; &amp;#60;&amp;#60; i + 1 &amp;#60;&amp;#60; &amp;#34; dimasukkan.&amp;#092;n&amp;#34;;&lt;br /&gt;            delete pstm;&lt;br /&gt;        }&lt;br /&gt;        delete conn;&lt;br /&gt;        std&amp;#58;&amp;#58;cout &amp;#60;&amp;#60; &amp;#34;Hello World&amp;#33; Data sudah disimpan.&amp;#092;n&amp;#34;;&lt;br /&gt;        return 0;&lt;br /&gt;    }&lt;br /&gt;    catch &amp;#40;sql&amp;#58;&amp;#58;SQLException&amp;amp; e&amp;#41; {&lt;br /&gt;        std&amp;#58;&amp;#58;cerr &amp;#60;&amp;#60; &amp;#34;SQL Error&amp;#58; &amp;#34; &amp;#60;&amp;#60; e.what&amp;#40;&amp;#41;&lt;br /&gt;            &amp;#60;&amp;#60; &amp;#34;&amp;#092;nMySQL Error Code&amp;#58; &amp;#34; &amp;#60;&amp;#60; e.getErrorCode&amp;#40;&amp;#41;&lt;br /&gt;            &amp;#60;&amp;#60; &amp;#34;&amp;#092;nSQLState&amp;#58; &amp;#34; &amp;#60;&amp;#60; e.getSQLState&amp;#40;&amp;#41;&lt;br /&gt;            &amp;#60;&amp;#60; std&amp;#58;&amp;#58;endl;&lt;br /&gt;    }&lt;br /&gt;}&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;I try to connect but it throws me an exception that it Can&amp;#39;t connect with MYSQL. Basically the error I got is:&lt;br /&gt;&lt;!--SPOILER BEGIN--&gt;&lt;div class=&quot;spoilertop&quot; onClick=&quot;openClose('6cfc91f4ce21e13c66ea8389f40be3a1')&quot; style=&quot;font-weight: bold&quot;&gt;&lt;u&gt;&amp;raquo; Click to show Spoiler - click again to hide... &amp;laquo;&lt;/u&gt;&lt;/div&gt;&lt;div class=&quot;spoilermain&quot; id=&quot;6cfc91f4ce21e13c66ea8389f40be3a1&quot; style=&quot;display:none&quot;&gt;&lt;!--SPOILER END--&gt;location 0x00000014B2EFBFF0.&lt;br /&gt;Exception thrown at 0x00007FFAB8107F9A in slimApps.exe: Microsoft C++ exception: sql::SQLException at memory location 0x00000014B2EFD710.&lt;br /&gt;Exception thrown at 0x00007FFAB8107F9A in slimApps.exe: Microsoft C++ exception: [rethrow] at memory location 0x0000000000000000.&lt;br /&gt;Exception thrown at 0x00007FFAB8107F9A in slimApps.exe: Microsoft C++ exception: sql::SQLException at memory location 0x00000014B2EFD710.&lt;br /&gt;Exception thrown at 0x00007FF9BA762070 (ucrtbased.dll) in slimApps.exe: 0xC0000005: Access violation reading location 0x00007FF900000000.&lt;br /&gt;&lt;!--SPOILER DIV--&gt;&lt;/div&gt;&lt;!--SPOILER DIV--&gt;&lt;br /&gt;but on he console it said unable to connect (gibberish) 3306&lt;br /&gt;&lt;br /&gt;Firewall already allowed port 3306 because it connect in workbench... Can someone help me in this? Or because of my latop spec?&lt;br /&gt;&lt;br /&gt;SOLVED&amp;gt; Thank fr anyone who help</description>
            <author>kirakosmos</author>
            <category>C++</category>
            <pubDate>Wed, 30 Jul 2025 14:27:27 +0800</pubDate>
        </item>
        <item>
            <title>managing multiple repo without pnpm, </title>
            <link>http://forum.lowyat.net/topic/5529010</link>
            <description>last time when i was working on js/ts stack we have this thing that manages the multiple repos called pnpm&lt;br /&gt;&lt;br /&gt;now i switch tech stack and i found out living without pnpm is torture.&lt;br /&gt;&lt;br /&gt;say u have 15 microservices, thats 15 repo.&lt;br /&gt;&lt;br /&gt;your repos have to be perfectly synced. if one repo is not, and another depends on this repo that is behind, there will be problem running it together.&lt;br /&gt;&lt;br /&gt;unlike pnpm where everything is under 1 repo, 1 fetch 1 pull u got the latest.&lt;br /&gt;&lt;br /&gt;how do u manage this situation?</description>
            <author>15cm</author>
            <pubDate>Tue, 24 Jun 2025 01:44:35 +0800</pubDate>
        </item>
        <item>
            <title>n8n AI Automation Workflow, n8n workflow kaki sharing here</title>
            <link>http://forum.lowyat.net/topic/5528347</link>
            <description>anyone into n8n AI automation workflow &lt;br /&gt;we can share our workflow here and helping each other to setup or error&lt;br /&gt;&lt;br /&gt;&lt;a href='https://n8n.io/' target='_blank'&gt;https://n8n.io/&lt;/a&gt;</description>
            <author>akecema</author>
            <pubDate>Fri, 20 Jun 2025 12:19:07 +0800</pubDate>
        </item>
        <item>
            <title>Having hard time understanding OOP, </title>
            <link>http://forum.lowyat.net/topic/5525600</link>
            <description>can anyone give me example ,i seem to struggle with understanding Object Oriented Programming . pening lalat woo  &lt;!--emo&amp;&amp;lt;_&amp;lt;--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/dry.gif' border='0' style='vertical-align:middle' alt='dry.gif' /&gt;&lt;!--endemo--&gt;</description>
            <author>EncikSejati</author>
            <pubDate>Sun, 01 Jun 2025 20:37:51 +0800</pubDate>
        </item>
        <item>
            <title>[WTA] Making word fit, in HTML Page</title>
            <link>http://forum.lowyat.net/topic/5524557</link>
            <description>Hi,&lt;br /&gt;&lt;br /&gt;I have issue from mobile view, the page can be zoom. So i don&amp;#39;t want this. I want the page is fit. How to do that?&lt;br /&gt;&lt;br /&gt;Please advice.&lt;br /&gt;&lt;br /&gt;Thanks,</description>
            <author>UbuntuClient</author>
            <pubDate>Sun, 25 May 2025 06:54:12 +0800</pubDate>
        </item>
        <item>
            <title>Debugging in MacOS using Visual Studio Code, </title>
            <link>http://forum.lowyat.net/topic/5515534</link>
            <description>Hi,&lt;br /&gt;&lt;br /&gt;Recently I&amp;#39;m working on moving our app to support in MacOS using Visual Studio Code, currently I&amp;#39;m working on a Electron App (typescript project which could be run as application), and this app often need to access to local directory, and the app keep throwing EACCESS (permission) error, usually what&amp;#39;s the standard way to tackle this kind of scenario?&lt;br /&gt;&lt;br /&gt;I tried to add &lt;b&gt;&amp;quot;asRoot&amp;quot;: true&lt;/b&gt; to the debugging configuration, but I got a prohibited warning. And I also tried to open the VS Code as root, it still giving me same error.&lt;br /&gt;I knew the straight forward solution would be giving full access to the location I wanted to access, but I wasn&amp;#39;t very familiar with MacOS development, will doing so causing me having the access issue when I release the application if I did not proper tackling this problem?</description>
            <author>ragk</author>
            <pubDate>Wed, 26 Mar 2025 19:17:45 +0800</pubDate>
        </item>
        <item>
            <title>how to auth websocket or EventSource ?, </title>
            <link>http://forum.lowyat.net/topic/5513688</link>
            <description>Websocket and EventSource cannot carry custom header on browser. well then how can i have it carry my token to be authed?&lt;br /&gt;&lt;br /&gt;the only other way i can think of is to carry it via url, which is not secure</description>
            <author>15cm</author>
            <pubDate>Fri, 14 Mar 2025 17:18:41 +0800</pubDate>
        </item>
        <item>
            <title>[WTA] How to get those finance news link, </title>
            <link>http://forum.lowyat.net/topic/5510444</link>
            <description>Good day, &lt;br /&gt;&lt;br /&gt;I&amp;#39;m working on a stock analysis site. I would appreciate it if someone could enlighten me on how to get those finance news links and keep them on the site. &lt;br /&gt;&lt;br /&gt;Does it depend on subscription?&lt;br /&gt;&lt;br /&gt;Thanks in advance.</description>
            <author>officeBoy</author>
            <pubDate>Sun, 23 Feb 2025 14:10:02 +0800</pubDate>
        </item>
        <item>
            <title>Pseudocode - Initialization understanding, requesting help - a noob in programming</title>
            <link>http://forum.lowyat.net/topic/5509692</link>
            <description>Hi Everyone,&lt;br /&gt;&lt;br /&gt;Hope you are doing well. in health and wealth.&lt;br /&gt;&lt;br /&gt;anyway, just wanted to get some idea on the Initialization setup for Psuedocode.&lt;br /&gt;&lt;br /&gt;If there are a couple of input requirements, should it be stated in the initialization section based on the sequence?&lt;br /&gt;&lt;br /&gt;eg;&lt;br /&gt;&lt;br /&gt;a program to calculate game platform, game price, payment method and maybe game type (physical/digital)&lt;br /&gt;&lt;br /&gt;so should there be a sequence on which should be first in the initialization? will it be based on the flowchart process? if there is a gap between the requirement of input. does it mean that we need to split the initilization between process?&lt;br /&gt;&lt;br /&gt;eg: select item ---&amp;#62; select item color ----&amp;#62; calculate price ----&amp;#62; apply discount ----&amp;#62; select location ----&amp;#62; calculate total cost. ---&amp;#62; select payment method ---End&lt;br /&gt;&lt;br /&gt;so in the example above; the initialization is&lt;br /&gt;&lt;br /&gt;Input Item&lt;br /&gt;&lt;br /&gt;Input item color&lt;br /&gt;&lt;br /&gt;Input location&lt;br /&gt;&lt;br /&gt;Input payment method.&lt;br /&gt;&lt;br /&gt;but since input location and payment method is not required in the earlier process (anything before calculating the prices process), should the initialization be split into 2 segments?&lt;br /&gt;&lt;br /&gt;some like this.&lt;br /&gt;&lt;br /&gt;Begin&lt;br /&gt;&lt;br /&gt;	Initialization&lt;br /&gt;SET item_price = INPUT “Enter the item ”&lt;br /&gt;&lt;br /&gt;SET color_tag = INPUT “Enter the item color tag (Blue, Red, Green,): ”&lt;br /&gt;&lt;br /&gt;Calculate Price. ----&amp;#62; Apply discount&lt;br /&gt;&lt;br /&gt;Initialization&lt;br /&gt;&lt;br /&gt;Set location = INPUT &amp;quot;Location for delivery&amp;quot;&lt;br /&gt;&lt;br /&gt;Set payment method = INPUT &amp;quot;payment method&amp;quot;&lt;br /&gt;&lt;br /&gt;Or we can just prepare everything in the first initialization section without any issues?&lt;br /&gt;&lt;br /&gt;Appreciate the help on this.&lt;br /&gt;&lt;br /&gt;Thanks&amp;#33;&amp;#33;&amp;#33;</description>
            <author>Gon Freaks</author>
            <pubDate>Tue, 18 Feb 2025 15:28:00 +0800</pubDate>
        </item>
        <item>
            <title>what do u guys think about employers who force AI, </title>
            <link>http://forum.lowyat.net/topic/5508227</link>
            <description>Employers who force their developers to use AI to code.&lt;br /&gt;&lt;br /&gt;I was told by someone that in the US this is already a thing. Some companies buys the sub for LLM and then force their developers to use it. (not optional)&lt;br /&gt;&lt;br /&gt;They ask them to just use prompt. after prompt, test the code. If it doesnt work, change the prompt or provide it with more information. Rinse and repeat until the LLM provides you a satisfactory code.&lt;br /&gt;&lt;br /&gt;And their workload is adjusted based on that. Means 1 dev will be given 3-4 tickets a day to close and they are expected to close it in one day.&lt;br /&gt;&lt;br /&gt;if they cant, developers can get scolded for coding manually. When one guy is behind his deadline the project manager will ask him &amp;quot;have you been coding manually? This should only take you 30 minutes using the LLM&amp;quot;&lt;br /&gt;&lt;br /&gt;What do u guys think about this practice. I find it hard to believe  &lt;!--emo&amp;:stars:--&gt;&lt;img src='http://static.lowyat.net/style_emoticons/default/rclxub.gif' border='0' style='vertical-align:middle' alt='rclxub.gif' /&gt;&lt;!--endemo--&gt; . wouldnt that lead to crazy tech debt?&lt;br /&gt;&lt;br /&gt;</description>
            <author>15cm</author>
            <pubDate>Sun, 09 Feb 2025 16:15:56 +0800</pubDate>
        </item>
        <item>
            <title>My first Win32 game prototype, </title>
            <link>http://forum.lowyat.net/topic/5507764</link>
            <description>Hi, this Win32 game prototype took me about 9 months from start to finish.&lt;br /&gt;&lt;br /&gt;I started with console interface first, then finalized with GUI version.&lt;br /&gt;&lt;br /&gt;It is written purely in FASM, using raw Win32 API.&lt;br /&gt;Although it is in GUI, I use TextOutA function in GDI32.dll, which is just displaying text in GUI window, no graphics at the moment.&lt;br /&gt;&lt;br /&gt;There is no collision detection yet, no scoring. What you can do with this program is:&lt;br /&gt;1) Move the caret (gun) to the left or to the right&lt;br /&gt;2) Shoot one bullet at one time&lt;br /&gt;3) Watch the enemies moving around&lt;br /&gt;&lt;br /&gt;&lt;img src='https://pictr.com/images/2025/02/06/xGMvBu.gif' border='0' alt='user posted image' /&gt;&lt;br /&gt;&lt;br /&gt;For the enemies to move around, I use random number generator to predict the direction of movement.&lt;br /&gt;&lt;br /&gt;I have included the source code here (EXE is not included as it is falsely detected as virus).&lt;br /&gt;If you are interested to run the program, you can....&lt;br /&gt;1) Download SHOOT.txt&lt;br /&gt;2) Rename SHOOT.txt to SHOOT.asm&lt;br /&gt;3) Download Flat Assembler for Windows&lt;br /&gt;4) Run FASMW.EXE and open SHOOT.asm&lt;br /&gt;5) Click Compile&lt;br /&gt;6) Go to the File Explorer, and you&amp;#39;ll see SHOOT.EXE along with SHOOT.asm.&lt;br /&gt;&lt;br /&gt;Note: If you compile yourself, Windows Security won&amp;#39;t detect this as virus. Of course, my code does nothing malicious.&lt;br /&gt;&lt;br /&gt;But my game is still very crude, I might consider using GDI+ or SDL2 to develop my graphical version of 2D game.</description>
            <author>Mat Quasar</author>
            <pubDate>Thu, 06 Feb 2025 15:49:33 +0800</pubDate>
        </item>
    </channel>
</rss>
