Makolyte

@makolyte

Coder. I share real coding problems I've ran into and solved.

Vrijeme pridruživanja: studeni 2019.

Tweetovi

Blokirali ste korisnika/cu @makolyte

Jeste li sigurni da želite vidjeti te tweetove? Time nećete deblokirati korisnika/cu @makolyte

  1. Prikvačeni tweet
    1. velj

    D25 - P1 Practicing event-driven programming. Starting with the basics: adding an event and event handler. This is an implementation of the Observer Pattern. Two ways: 1. An object keeps a list of callbacks to execute when an event happens 2. Built-in events

    Poništi
  2. proslijedio/la je Tweet
    prije 20 sati
    Poništi
  3. prije 20 sati

    D29 Got the chat app built with a simple in-memory message queue to relay messages between chatters. The chat windows and message queue are in the same process. Yes, it's useless right now, unless you like chatting with yourself 😂 Next step: external queue

    Poništi
  4. 4. velj

    D28 Practicing event-driven programming by building a chat app. 1+ chat windows in the same process subscribed to OnMsgRcvd event on msg queue. Next step is to extract out msg queue to a service, and run chat windows as separate processes

    Poništi
  5. 4. velj
    Poništi
  6. 3. velj

    D27 Practicing event-driven programming. At this step I am adding an event to a class, and will have multiple event handlers. Kinda ridiculous but I'm building a Chat App with a MessageQueue. The clients enqueue their msgs, and listen for MsgRcvd events

    Poništi
  7. 3. velj

    How to get CheckedListBox selected values

    Poništi
  8. 2. velj

    D26 Stepped through the .NET source code (it's open source now) to understand how the button click event actually ends up calling my onclick handler. Next step: practice adding an event to a class using the built-in event construct

    Poništi
  9. 1. velj

    D25 - P2 Built-in events simply abstract away the messiness of the observer pattern. But sometimes using a simple 0-to-N list of callbacks is good enough.

    Poništi
  10. 31. sij

    D24 - P2 Other event-driven examples 2. Server sent events vs polling endpoint for changes 3. Query notifications vs polling the database 4. Consumer producer queue using BlockingCollection, vs polling and checking queue

    Poništi
  11. 31. sij

    D24 - P1 Building an app that is 100% event-driven and documenting how to use the event-driven approaches in .NET Event-driven leads to inverted dependencies, efficiency, and cleaner code Exs 1. ManualResetEventSlim for signaling vs spinlock with sleep

    Poništi
  12. 30. sij

    D23 Learned basics of Selenium by reading Automate the Boring Stuff With Python Applied what I learned by using Selenium to automate clipping all coupons on grocery store's site. Built as console app with C#

    Poništi
  13. 29. sij

    Day 22 Bug using API. For a bool param was passing the opposite value. Problem is it's a "negative" bool, ex: bool isNotEnabled. These are bad, because they require mental gymnastics to pass in the correct value Ex If !isNotEnabled - it's enabled.

    Poništi
  14. 29. sij

    Received first comment on my blog: "Thanks you saved my day" This is what it's all about 😀

    Poništi
  15. 28. sij

    Day 21 FileSysWatcher fires two events on a single change to a file. This is not a bug. The root cause is *some* editors cause the LastWriteTime to be updated multiple times on a single write. Solution to this is very dependent on your specific situation

    Poništi
  16. 28. sij

    Day 20 - -looked into using FileSystemWatcher. This is an event-based approach to being notified when a file changes (like a config file) -event-based > polling -updated UI for device using its markup language. Device is tiny: 320x240

    Poništi
  17. 27. sij

    The bottom-up principles of unit testing, refactoring, and pragmatism

    Poništi
  18. 26. sij

    Find the distance between two coordinates using SQL and C#

    Poništi
  19. 26. sij

    Day 19 - Reviewed and wrote about my favorite bottom-up coding principles: unit testing, refactoring, pragmatism. Sometimes coding is not just writing code, but thinking about how to code better.

    Poništi
  20. proslijedio/la je Tweet
    25. sij

    In general, you move faster and feel a lot less stress once you realize: You don't need "the best", you just need "good enough".

    Prikaži ovu nit
    Poništi

Čini se da učitavanje traje već neko vrijeme.

Twitter je možda preopterećen ili ima kratkotrajnih poteškoća u radu. Pokušajte ponovno ili potražite dodatne informacije u odjeljku Status Twittera.

    Možda bi vam se svidjelo i ovo:

    ·