Help me choose

Posts10

CSS man you are pretty cool I think I've reached a point where I can now think about CSS. What the hell does that mean? Well, I'm not sure. But it kind of means that I can think through my decisions, understand what's going on with the layout to the extent that I can think of a solution around some erratic behaviours. Now don't get me wrong, I am still starting out. But when I was working on replicating the wireframe like .. 2021. 10. 22.
Software architecture - structure and views Structure describes a software system in different contexts. There are three structures: Module structure, Component-and-connector structure (CNC from here on), Allocation structure. Module structure describes static structure of the software system, while CNC structure describes runtime structure. Allocation structure is an add-on to either Module structure or CNC structure. Structure itself is.. 2021. 10. 16.
Link layer packet (frame) transfer This is a more in-depth overview of what happens in link layer when a host wants to send a message from a host to another host. The last post covered how error detection works in Link Layer, so I won't bother about the details of error detection in this post. Rather, I will focus more on keywords like MAC, LAN, ethernet, switches, ARP. I know, lots of buzzwords, but that's network :0 Each host h.. 2021. 10. 12.
Link layer Error Detection Code (EDC) Link layer is the second layer in the five layer model of network. Link layer packet is called 'frame', and the purpose of link layer is to put datagram (from network layer) into a frame. Frame = [headers, EDC(error detection code), datagram, trailers] Out of services that link layer provides, error detection and correction are two things that we will focus our discussion on. Error detection and.. 2021. 10. 10.
Hierarchical routing (iBGP, eBGP, OSPF, RIP) Motivation We communicate from our house to somewhere distant. In order for this to happen, we need to determine exactly which routers have to be trodden to get from our host to the other host. Routing algorithm determines the path. We also want the algorithm to provide the most efficient path to get from one host to another. The easiest way to do this is to see the network as a single, giant gr.. 2021. 10. 9.
Client and server architecture Tactic, pattern, architecture In the last two posts(Post 1 Post 2), I described about tactics: a solution to a single quality attribute/requirement (such as modifiability, security, testability, availability, performance) are ensured. Pattern is a higher level solution to multiple quality attributes, and unlike tactic, it has tradeoffs (since a pattern might do good for certain QA, but not other.. 2021. 10. 9.
Modifiability, Security, Testability in Software Architecture Modifiability Here, the stimulus is request for change, and the goal of modifiability tactic is to ensure that changes can be made, tested and deployed within time and budget. It is important to keep in mind that: 1. We only need modifiability of a component when it's reused or will be replaced by another component in the future.. A component that might be reused later will need high modifiabili.. 2021. 10. 9.
Availability and Performance in Software Architecture Here, we discuss two requirements that a software might need to meet, and how the requirements can be met through different tactics. Requirement 1: Availability Availability: the proportion of times client's requests can be served We want ATM machines to work 24/7 as per specification. We expect desktop application to work 8am to 12pm, so we don’t care outside of that hour. Availability is conce.. 2021. 10. 8.
PyQT5 simple, self-contained snippet for dialog popup It seems like I need to just make a pop up from time to time, and it's annoying because all the sample codes out there are not self-contained, so it's really annoying to piece things together. Here's the boilerplate that will pop a dialog up when that hello button is pressed class InvitationAcceptDeclineDialog(QDialog): def __init__(self, parent): super().__init__(parent) self.initUI() def initU.. 2021. 10. 6.
When everyone wants to say something - MAC (Medium Access Control) Recall the issue of deadlock? That's when many people wants to access a resource at the same time - we impose concurrency control at different isolation levels and reduce concurrency issues that could occur. There's a very similar issue in networks. It's multiple access problem. Let me outline the context, and the key problem that MAC (Medium Access Control) has to solve. There's a central hub c.. 2021. 10. 5.