Jonkman Microblog
  • Login
Show Navigation
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Notices by Don Romano (alt) (thor@noagendasocial.com), page 4

  1. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 10:37:45 EDT Don Romano (alt) Don Romano (alt)
    in reply to

    Since you can run into race conditions, you want to implement SQL transactions. Transactions are probably the only "special" thing outside of normal coding you'd worry about in this system.

    Thing is, I don't think you could pull this off in most languages. You'd have to override how the language performs the basic action of creating object members, fetching them and storing them. If you make a new field, you'd need the parent class to somehow override how the memory is accessed in fields.

    In conversation Wednesday, 08-May-2019 10:37:45 EDT from noagendasocial.com permalink
  2. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 10:32:56 EDT Don Romano (alt) Don Romano (alt)
    in reply to

    If I create a table in the DB, that should immediately appear as an object in the special root object. If I read an array element that hasn't been cached in memory, a new SELECT query with a range LIMIT clause should fetch the relevant rows. Think of it like virtual memory for databases. It swaps the pages in as you access that bit of memory.

    In conversation Wednesday, 08-May-2019 10:32:56 EDT from noagendasocial.com permalink
  3. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 10:31:34 EDT Don Romano (alt) Don Romano (alt)
    in reply to

    What I would like to have is a database that pretends to be an in-memory object graph, but is actually keeping in lock-step with a relational database behind the scenes.

    If I make an object and stick it in an array that I assign to a special root object, that array should immediately become a table, or attempt to attach to a table that already exists in the DB schema.

    In conversation Wednesday, 08-May-2019 10:31:34 EDT from noagendasocial.com permalink
  4. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 10:25:02 EDT Don Romano (alt) Don Romano (alt)

    1. Begin to write node.js back-end with bare-bones SQL queries.

    2. Realise that representing entities as JS objects would be handy.

    3. Begin to write code that resembles an ORM.

    4. Stop, because ORMs are already a thing.

    5. Check for JS ORMs online. They're all vaguely as horrible as Hibernate and expect you to define your entities in some kind of internal data structure.

    6. Start dreaming about a relational database that seamlessly integrates with JS so you don't even notice it's there.

    In conversation Wednesday, 08-May-2019 10:25:02 EDT from noagendasocial.com permalink
  5. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 06:39:15 EDT Don Romano (alt) Don Romano (alt)
    • Nate Cull
    • philcolbourn

    @natecull Also, they have a live Kiwi there! New Zealanders up close. How exciting!

    @philcolbourn

    In conversation Wednesday, 08-May-2019 06:39:15 EDT from noagendasocial.com permalink
  6. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 06:38:38 EDT Don Romano (alt) Don Romano (alt)
    • Nate Cull

    @natecull Also, they have a live Kiwi there! New Zealanders up close. How exciting!

    In conversation Wednesday, 08-May-2019 06:38:38 EDT from noagendasocial.com permalink
  7. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 05:30:16 EDT Don Romano (alt) Don Romano (alt)
    in reply to
    • philcolbourn

    @philcolbourn More often than not, figures of speech in Norwegian translate fairly directly to English, or are similar enough that you can treat them the same.

    In conversation Wednesday, 08-May-2019 05:30:16 EDT from noagendasocial.com permalink
  8. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 05:28:57 EDT Don Romano (alt) Don Romano (alt)
    • philcolbourn

    @philcolbourn Oh, maybe that figure of speech isn't used in English? A tense person tends to raise their shoulders a bit. In Norwegian, the figure of speech "lower your shoulders" means to relax and/or act casual.

    In conversation Wednesday, 08-May-2019 05:28:57 EDT from noagendasocial.com permalink
  9. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 05:13:30 EDT Don Romano (alt) Don Romano (alt)

    SYSADMIN: The site is down. I tried to call the customer, but they didn't answer. Can't do anything yet.

    OUR BOSS: That's a bit too passive. We know there's a guy named X in the IT department there that Y thinks is bright. Try to get hold of him. Their turnover is 1 billion dollars, by the way.

    I think this kind of proactive mentality is why bosses become bosses. Much like a good programmer doesn't give up so easily with computers, a good businessman doesn't give up so easily with people.

    In conversation Wednesday, 08-May-2019 05:13:30 EDT from noagendasocial.com permalink
  10. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 04:02:20 EDT Don Romano (alt) Don Romano (alt)

    Arrow's impossibility theorem:

    https://www.investopedia.com/terms/a/arrows-impossibility-theorem.asp

    So, basically, in an instant-runoff voting system (where voters rank candidates by preference), the outcome (who the winner is) could change if one candidate wasn't running, even if that candidate hadn't won if they did participate.

    My immediate conclusion is that instant-runoff voting systems work best if there is an abundance of good candidates, and voters can always pick the best ones for them, not the ones they hate the least.

    In conversation Wednesday, 08-May-2019 04:02:20 EDT from noagendasocial.com permalink
  11. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 04:01:56 EDT Don Romano (alt) Don Romano (alt)

    Arrow's impossibility theorem:

    https://www.investopedia.com/terms/a/arrows-impossibility-theorem.asp

    So, basically, in an instant-runoff voting system (where voters rank candidates by preference), the outcome (who the winner is) could change if one candidate wasn't running, even if that candidate hadn't won if they did participate.

    My immediate conclusion is that instant-runoff voting systems work best if there is an abundance of good candidates, and and voters can pick the best one for them, not the ones they hate the least.

    In conversation Wednesday, 08-May-2019 04:01:56 EDT from noagendasocial.com permalink
  12. Don Romano (alt) (thor@noagendasocial.com)'s status on Wednesday, 08-May-2019 02:14:29 EDT Don Romano (alt) Don Romano (alt)
    • blaha

    @blaha They say Trådfri bulbs should now work with the Hue gateway, but users are reporting random glitches. I've been looking at USB home automation radio modules. I've been developing my own software to control my bulbs.

    In conversation Wednesday, 08-May-2019 02:14:29 EDT from noagendasocial.com permalink
  13. Don Romano (alt) (thor@noagendasocial.com)'s status on Tuesday, 07-May-2019 16:44:36 EDT Don Romano (alt) Don Romano (alt)

    Finding a shop in Oslo that has a two-pack of Philips Hue colour light bulbs isn't easy. They like to sell them one by one, because they can charge more that way.

    When I bought this system, IKEA Trådfri and third-party hubs didn't exist, or I might've got those instead; since they're way less expensive. Yes, LED bulbs are cheaper in the long run and I haven't needed to replace any bulbs in this system so far, but the upfront cost...

    In conversation Tuesday, 07-May-2019 16:44:36 EDT from noagendasocial.com permalink
  14. Don Romano (alt) (thor@noagendasocial.com)'s status on Tuesday, 07-May-2019 16:44:00 EDT Don Romano (alt) Don Romano (alt)

    Finding a shop in Oslo that has a two-pack of Philips Hue colour light bulbs isn't easy. They like to sell them one by one, because they can charge more that way.

    When I bought this system, IKEA Trådfri and third-party hubs didn't exist, or I might've got those instead; since they're way less expensive. Yes, LED bulbs are cheaper on the long run and I haven't needed to replace any bulbs in the system so far, but the upfront cost...

    In conversation Tuesday, 07-May-2019 16:44:00 EDT from noagendasocial.com permalink
  15. Don Romano (alt) (thor@noagendasocial.com)'s status on Tuesday, 07-May-2019 15:07:11 EDT Don Romano (alt) Don Romano (alt)
    • coldacid ⚔️‍🛡️ 🇨🇦 ✔️
    • kf

    @kf @coldacid I'm typing up my own lyrics as we speak...

    In conversation Tuesday, 07-May-2019 15:07:11 EDT from noagendasocial.com permalink
  16. Don Romano (alt) (thor@noagendasocial.com)'s status on Tuesday, 07-May-2019 14:19:16 EDT Don Romano (alt) Don Romano (alt)

    Maybe I should record a song about the Fediverse. 😆

    In conversation Tuesday, 07-May-2019 14:19:16 EDT from noagendasocial.com permalink
  17. Don Romano (alt) (thor@noagendasocial.com)'s status on Tuesday, 07-May-2019 14:03:17 EDT Don Romano (alt) Don Romano (alt)
    in reply to
    • Anke

    @encarsia What these immigrants know about Norway is that there's money here and a good welfare system, but they don't understand how introverted the culture is here.

    In conversation Tuesday, 07-May-2019 14:03:17 EDT from noagendasocial.com permalink
  18. Don Romano (alt) (thor@noagendasocial.com)'s status on Tuesday, 07-May-2019 14:02:52 EDT Don Romano (alt) Don Romano (alt)
    in reply to
    • Anke

    @encarsia What these immigrants know about money is that there's money here and a good welfare system, but they don't know how introverted the culture is here.

    In conversation Tuesday, 07-May-2019 14:02:52 EDT from noagendasocial.com permalink
  19. Don Romano (alt) (thor@noagendasocial.com)'s status on Tuesday, 07-May-2019 14:00:33 EDT Don Romano (alt) Don Romano (alt)
    in reply to
    • Anke

    @encarsia Being an old man, he's probably quite settled in his ways, and disapproves of what he sees instead of trying to adapt, like most old people do.

    In conversation Tuesday, 07-May-2019 14:00:33 EDT from noagendasocial.com permalink
  20. Don Romano (alt) (thor@noagendasocial.com)'s status on Tuesday, 07-May-2019 13:59:14 EDT Don Romano (alt) Don Romano (alt)
    in reply to
    • Anke

    @encarsia I think his problem is that he's frustrated because nobody talks to him. He wasn't just complaining about me. He didn't say "uncivilised person" but "uncivilised people", meaning that he was referring to this country.

    In conversation Tuesday, 07-May-2019 13:59:14 EDT from noagendasocial.com permalink
  • After
  • Before
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

Jonkman Microblog is a social network, courtesy of SOBAC Microcomputer Services. It runs on GNU social, version 1.2.0-beta5, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Jonkman Microblog content and data are available under the Creative Commons Attribution 3.0 license.

Switch to desktop site layout.