Author: wordpress_nq07cz

  • H2S87: A quick primer on base-mathematics:

    Decimal<base-10> Octal<base-8> Hexadecimal<b-16> Binary<base-2> 0 /000 0x00 0 0 0 0 0 0 0 0 1 /001 0x01 0 0 0 0 0 0 0 1 2 /002 0x02 0 0 0 0 0 0 1 0 3 /003 0x03 0 0 0 0 0 0 1 1 4 /004 0x04 0 0 0 0 […]

  • H2S86: Decoding or passing the frame:

    H3S1: Decoding binary into int or str: H4S1: bindec <>: Returns the decimal equivalent of the binary | number represented by the binary_string argument. bindec() interprets all binary_string values as unsigned integers. This is because bindec() sees the most significant bit (??) as another order of magnitude rather than as the sign bit. bindec() converts a binary number to an int or, if needed for […]

  • H2S85: Building, establishing, and maintaining a Web.Sockets-Conn between 2 parties:

    Hu: Besides payload delivery, this title is the best way to describe what needs to happen # between two | parties, which we can call client-server, or the requester-acceptor. This process includes the building and delivery of the HTTP-socket, but this may not be the only step, depending on the extent to which # we […]

  • H2S84: How to pass a hard.coded-string through Web-Sockets; how to segment engineering tasks:

    Hu: My secret sauce<1.of-many!>is my ability # to be able to break down complex engineering-tasks into the raw unit task, which can be built, independently; under the principle of cond.oriented-eng<WP.MIC-H2S58>, the raw unit often involves hard–coding the output of what can otherwise be generated by conditional | functions and variable-calls<Turing>. In this case, we need […]

  • H2S83: Applying the masking key to payload data #

    <RFC.6455-5,3>: The masking does not affect the length of the “Payload data”. To convert masked data into unmasked data, or vice versa, the following algorithm is applied. The same algorithm applies regardless of the direction of the translation, e.g., the same steps are applied to mask the data as to unmask the data. Octet i […]

  • H2S82: Encoding keyboard input into binary representation:

    The following article will provide, granularly, the steps of recording keyboard entry from a user of a Web.Sockets-chat and generating the payload frame that is ready to send to the server, through the protocol: H3S1: Capturing user input, as an ASCII string: Hu: Again, we will always be working with single stroke kb-input. For the […]

  • H2S81: How to un-bounce by answering your own latent questions:

    Bounce (n.) = [info-sci]: a break in thought-progress as a result of missing a required library. Eg: “I suffered from a 3 month bounce from Web.Sockets-prog, in order to learn how classes and objects work, in PHP.” H2-H4S1: How 7 bits can encode an integer of 3 decimal-points, in order to understand how to decode […]

  • H2S80: Web-Sockets exists as an encoding paradigm to navigate the TCP.quantum-portal:

    Hu: A reduction that is of itself this magnitude has become necessary #<s-fbno>. Why is Web-Sockets needed? Why can’t we just run things through TCP? Why is TCP needed? Why can’t we just throw bits to each other, in the air? The answer to all of these questions lie in quantum | mechanics, and to […]

  • H2S79: RFC.6455-5.4: Fragmentation:

    RFC: The primary purpose of fragmentation is to allow sending a message that is of unknown | size when the message is started without having to buffer that message. Hu: In the initial implementation of Flare, with only text.based-messages, fragmentation is not necessary, because messages will be sent,, and each message, at most, will […]

  • H2S78: How to read documentation:

    H3S1: Decoding payload<Mozilla, a-r>: Hu: By the time that I got to this information #, I already knew that # I wanted to decode payload in Web-Sockets, and that this was a vital | component of all message | delivery, which is the core function of the protocol # However, extracting information from these so-called […]

  • H2S77: How to read someone else’s code:

    Hu: I’m going to read phpWebSocketServer<a-r> by Heinz Schweitzer, which is posted on Github. H3S1: server/RFC_6455.php: Hu: Some background: I was happy to have come across # an existing | library that provides a solution to building a totally custom web-server with Web-Sockets, using PHP. This is actually extremely rare, as most of the libraries […]

  • H2S76: PHP.frameworks-lit,rev:

    Hu: A framework is a step more prescriptive than a library, and is half-analogous to platform. H3S1: Symfony2: H3S2: Laravel: H3S3: Open Swoole: Open Swoole is a high-performance | network framework based on an event-driven, asynchronous, non-blocking I/O coroutine programming model for PHP. Designed for building large scale concurrency systems. It is written in C/C++ […]

  • H2S75: How to write a Web.Socket-server, from scratch, in PHP:

    Hu: Understanding the difference between Web.Socket-API and Web.Socket-server requires us to be extra-granular<fbno> about the definitions. Typically, when we think of API, which stands for application programming interface, we think of making an HTTP-request, across the public-net, to an external | server, to retrieve some information. However, 1) when we are writing the server, we […]

  • H2S74: Finagling TCP/IP architecture to enable true peer-to-peer domain-less information-ex:

    From my TCP/IP dash: H3S1: TCP-conn is characterized by <WP.MIC-H2S70, H3S4.H4S1 case study: Corporate private networks x productivity>: <Wang pg-8> WebSocket provides TCP-style networking for HTML5 applications without wrecking browser security and it has a modern API. Hu: Historically, between a server and a remote | client has been handled exclusively by HTTP-requests, […]

  • H2S73: The role of MySQL in building w/ WebSockets!

    Hu: What can this legacy-db # that is the epitome of static # possibly have to do with a fast, real-time, dynamic portal, that is epitomized by HTML.5-Web,Sockets? Lengstorf, Leggetter<pg-27, a-r>: Certain pieces of data—such as the names of rooms and the questions that have been asked—will need to be stored in a database for […]

  • H2S72: Rationalizing the role of JS in web-dev:

    <Lengstorf, Leggetter pg-22> JavaScript is a client-side scripting language, which means that it is executed on the user’s computer. This makes it ideal for tasks such as animating the elements on a page, doing calculations on-the-fly, and various other actions that would otherwise be extremely inconvenient if they required a page refresh. Hu: With so […]

  • H2S71: Multi.level-proof of async.sync-comms:

    Hu: Historically, rate of communications has correlated directly with rate of development, of society, its technology, and political tolerance # At several stages, such as with the inventions of language, writing, the press, email, and synchronous communications, the rate of communications, at its peak, reduced by orders of magnitude<H3S3>, and tech-innovation lept forward, along with […]

  • H2S70: WAMP-based to installable.desktop-app, Windows:

    Hu: There are 2 pivot directions, direct from WAMP: install to a web server, to serve your service, via a domain, or pass as a zip-exe<Turing> so that other users can directly install, and run your application, as a desktop application. H3S1: Distributed desktop.based-interactivity: Hu: How easily can we create a distributed, permission–only web in […]

  • H2S69: Programming in 4+dimensions:

    Hu: In my 2016-7 phase of being a product designer, I was fascinated with the idea of latent | gestures, swipes, taps, in unmarked, or layered, zones, that reveal features, undiscovered, for newer users<Turing!> Such latent | gestures, however, can be abused, to create experiences that are counter-intuitive, if the order of reveal does not […]

  • H2S68: in prog:

    H3S1: Sensitive information: H3S2: Sensitive actions: H4S1: Manual.URL-backdoors: Hu: The visibility of sensitive information is one concern, but permissions to make changes to that, and other information, separately # For example, even if someone has not access to a particular post, if they accept for that post, they might be able to access the […]

  • H2S67: Browser-PHP-MySQL-WebSockets-WebRTC-WordPress-Figma/HTML/CSS-Chess-MP4-TCP-HTTP-Bytes: A stack to rule them all 💍

    Hu: I have invested, personally, over $3-mn in software development, with A-listers who later went on to Microsoft, Facebook, and the like, researching, cultivating, some of the best lines of code, ever written, discretely, in these technologies, and I now seek, in the 2020s, to put them together, into a single | web product. H3S1: […]

  • H2S66: Web APIs and protocols # lit-rev:

    H3S1: Web-sockets API: Wikipedia: WebSocket is a computer communications protocol, providing full-duplex communication channels over a single TCP connection. The WebSocket protocol was standardized by the IETF as RFC 6455 in 2011, and the WebSocket API in Web IDL is being standardized by the W3C. Hu: The server is your server; there is no external server […]

  • H2S65: How to write a bug-report:

    Max-red #: Big.bug-fix: url1=on;url2=;url3=;url4=;url5=;url6=;url7=;url8=;… One box checked on http://personal-dash/dash-edit.php?author=blind&post_ID=5, wrong db-entry(?)4:24 AMWhen the value is blank, after =, there is no text between = and ;This might break the strtok() function. I should habitually not enter any text into attributes, when the attribute is not explicit, even in a boolean #4:33 AMThe bug only […]

  • H2S64: Parsing: The interchange of stringed information and programming information

    Hu, x-ref: WP-Buffalo: Starting to use p-dash to organize my links, for example, right now I’m studying WebSockets API to build real.time-messaging. How can I build a simple checkbox feature, that allows users to specify the HTML target attribute to either 1) open in a new window, or 2) open in the same tab? There […]

  • H2S63: P-dash is protocol-bookmarks:

    Hu: Bookmarks is a massive feature in web-dev, as much as the browser–itself. Bookmarks is like a library, where the books are hyperlinks<Turing>. Personal-dash provides the organization layer, around this library, that provides the architecture that makes the storage of a large number of books possible. H3S1: Internal-browsing enables 9^n complexity scaling: Usage case-study: why […]

  • H2S62:,dump 10k to 100-tn:

    Dash relationships can give rise to advanced functions, aim to write some chess level functions and enforce 3,000+ gameplay, will loop in gamers and add another dimension, them against the function. Some UI stuff for intermediate.Automation to start. Some limitations, depth calc reductions, multi.level-skips. Reductions. 50% of advanced programming came from trying to prune the […]

  • H2S61: The PHP-interpreter’s functionality, granular:

    ⭐️ The delimiter is the fundamental unit of the interpreter # <WP.MIC-H2S60> H3S1: Troubleshooting-issues caused by PHP-interpreter<Turing>: Hu: Half of all troubleshooting-issues come from incompatibility between your code and the reading-params of the PHP-interpreter. H4S1: Categorical recognition errors: Hu: A categorical recognition error occurs when the interpreter, in its reading, expects a char of a […]

  • H2S60: PHP loops, conditional execution, complexity x computation reductions:

    Hu: For loops are the most elementary loops, for the most part #, because they lack the perpetuity | clause<Turing> that comes by default, with while. W3: Parameters: init counter: Initialize the loop counter value test counter: Evaluated for each loop iteration. If it evaluates to TRUE, the loop continues. If it evaluates to FALSE, […]

  • H2S59: Intra-threading: chained includes and calls:

    Hu: The behavior of functions, variables, and other elements through 2 or more require chain is an interesting area of investigation. H3S1: Unavoidable duplication of once.only-functions<Turing!>: Hu: Some functions will generate an annoying notice # if they have an initiative<syn=<case><fbno>continuous> execution, and are attempted to be initiated, while the continuous action of a previous | […]

  • H2S58: Condition.oriented-prog

    Hu: Every statement beyond the first layer of abstraction involves the inclusion of a conditional, which means that, the deeper your application goes, the greater the proportion of functions that will include a conditional. Conditionals provide interactivity to an application, as the user’s inputs will determine #, rather than the automated running of a script, […]

  • H2S57: Using Figma to generate HTML-CSS:

  • H2S56: Basic CSS.syntax-lib:

    H3S1: CSS-architecture<Turing>: Hu: The planning of CSS-architecture is inseparable from one’s design–sense: <WP.MIC-H2S2> Obviously, coherence is needed # and this can be enabled by # the inclusion of an external | CSS-file that can included on multiple documents, that are all expected, to some extent, to have similar | ideas. // analyze 2 chess games […]

  • H2S55: Basic HTML.syntax-lib:

    H3S1: Tags: H4S1: <p>: Hu: In addition to declaring a paragraph, the <p> tag also comes with an automatic | <br> # W3Schools<a-r>: Default.CSS-settings<where.was-this??><fbno>: Most browsers will display the <p> element with the following default values: Hu: The above W3Schools inclusion indicates that # there is already CSS in HTML, and therefore, it’s better to speak […]

  • H2S54: Contributing to php-core:

    H3S1: Collapsing multiple functions: From mysql-lib: select single grid and fetch password both select from a tb single grid where a single , so I can combine them, and take more arguments<Turing> H4S1: Combined function: Hu: A tertiary function will focus on the core idea of selecting from a single | grid in a table, […]

  • H2S53: How to use $_SESSION and $_COOKIE to register # a persistent user logged-in:

    Krossing<1:24, D>: “ID inside of our session” Session variables solve this problem by storing user information to be used across multiple pages (e.g. username, favorite color, etc). By default, session variables last until the user closes the browser. A session is started with the session_start() function. Notice that session variables are not passed individually to […]

  • H2S52: Single.feat-dev planning-templ:

    Feat-descr: I have a redirect that already goes to the correct page on mysql-redir, and a conditional, with function call, on; combine, and test. Stack: 100% PHP, no HTML. Impl-details: For best practice, I will put it at the top of the document. Test-case: When I change the text inside of the include function […]

  • H2S51: A granular process of merging code:

    Hu: Create a backup of the that are preparing to edit, and make this backup, a different | name, and keep the file, the original | name<ch-32>; this allows us to avoid making changes to other files, by keeping the same URL-destination<Turing><risk-management> H3S1: Sig-risk #1: Testing debt: Hu: If a previous feature was […]

  • H2S50: Cross.script-function,call, via include

    Hu: One of the most important concepts in server.side–programming, on that saves many | lines of code, and speeds up loading<WP.MIC-H2S33>. Our intention is to # define a function in an external | include file, include this file, in some | other script, and be able to call this function, by its name, with the […]

  • H2S49: Simple boolean check w/ if function in PHP:

    Hu: This code, exactly as is, will return a value of 1, in the page–output. That 1 will disappear if 1) the return value is set to False 2) the echo statement is commented out. This indicates that # the True-boolean has a numeric | value of 1 in PHP, analogous to that implementation, in […]

  • H2S48: How to use Anki to study php-docs:

    Hu: Anyways, this blog is a stream of consciousness. At H2S48, p-dash is suspended, due to the unresolvable issue presented in H2S47, and I’m moving on # to Anki-study of PHP-core, coaching chess, and civil rights, basically, which should be of more value, but I’m off the 90% hump, and into the “deep” end. In […]

  • H2S47: PHP and HTML multi-threading:

    Hu: With the correct URL input, this code works #, to display an edit link, and redirects users to the correct URL, with append: http://personal-dash/testing-progress/dash-edit.php?post_ID=1; both test cases, are requirements. Hu: Now, a third requirement: to be able to turn on and off the display of this word, with a generalized condition. CM H5S1: One […]

  • H2S46: The human cost of historical discrimination against protocol-devs:

    Premises:– Alan Turing, a chess programmer, the inventor of AI, and machine learning, as well as programmable hardware, single handedly saved 18 million lives, by ending WW2 2 years earlier, due to cracking the Enigma code.– The Holocaust killed 10 million people.– 70 million people die every year.– The impact of a single chess programmer, […]

  • H2S45: Variable management in PHP:

    Hu: Variables are a powerful | paradigm that can be externally | discussed; chess players are familiar with this idea; for instance, the simplicity of the N’s movement, analogous to the fundamental | complexity of a variable, does not prevent us from continuously discussing its applications, in all subsequent b-ps // cite a MIC, maybe […]

  • H2S44: P-dash 12.step-initial,roadmap:

    Hu: I have decided that, with the current state of affairs, my best bet # is to go deep, to the 12th step, which should be enough to build a technology that rivals the United States in GDP, where the current zeitgeist, represented by “advanced” technologies like Stream Deck, or Facebook’s Meta Portal, which attempt […]

  • H2S43: Elgato stream deck: competitive analysis:

    Stream Deck | Stream Deck Key Creator | How to set up and create folders with Elgato Stream Deck – YouTube One stream deck can fit up to 210 actions; Elgato stream deck goes only onto the 2nd layer(15*15). Person-dash has infinite layers, since each page is a distinct entity, and your own […]

  • H2S42: The public.dash-paradigm:

    Hu: Implications of the public.dash-paradigm have on my URL design<WP.MIC-H2S41> and access.manage-considerations<WP.MIC-H2S5>, so I need to determine # the direction of scaling before setting upon the course, completely, in what I build, right now. H3S1: Designing a sample public-dash on wordpress.MIC: Make category pages and display this as the blog home page, click into each […]

  • H2S41: Web-URL code design, data-storage:

    Hu: For db-extrapolated systems, each type of page has only 1 instance in FTP, but as many instances, as there are rows, in the tb, in the db #, associated with that page–type<Turing> H3S1: URL-design can circularly store without existing: Hu: 100,000 web-pages don’t exist on Google, 100,000 db–rows do, and each page, associated with […]

  • H2S40: Constructing an internal library to increase code-conciseness:

    Hu: The importance of constructing an internal library<WP.MIC-H2S38> is not a luxury, but a requirement, for any project that hopes to scale, and have passable | documentation<WP.MIC-H2S37>. We have certain expectations # about how we have expected the language to perform, and when these expectations are not met, there is a more manual, hard-coded | […]

  • H2S39: Troubleshooting library:

    Hu: Troubleshooting is not QA, although it can be a subset; we do QA when we are confident, on some level, that our features are working, and we challenge testers to find issues that have not yet been unraveled, in the default test cases. On the other hand, troubleshooting, we may perform, in the process […]

  • H2S38: Prog-lang as a service: a paradigm to shatter the entire software industry:

    Hu: I have a dream: H3S1: A programming language, written directly on top of the scripting language, PHP: Hu: A programming language that is written as a set of custom | functions for PHP, still rooted in the core syntax of PHP, which is good | enough. Together, the two will slay #p-f all other […]