/ˈbɑːltəkʊteɪ/. Knows some chemistry and piping stuff. TeXmacs user.

Website: reboil.com

Mastodon: [email protected]

  • 0 Posts
  • 23 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle





  • I am fond of a partial shuffle algorithm I wrote in Bash for my music playlists that often preserves neighbors of the input list in the output list.

    Image

    • Blue: input sequence.
    • Red: complete shuffle.
    • Green: partial shuffle.

    The result is like skipping through my media library in order but occasionally randomly enabling shuffle to jump to a new place. Since the input list clumps albums together and since albums often have a similar vibe, if I want several similar songs of a particular feel to play one after another, I just have to manually advance through the outputted playlist until I hit a song that has what I’m looking for; then I can let the playlist continue automatically since each subsequent song is likely to be similar to the previous song (until another random jump occurs).




  • Ultimately, the quality of your work is a function of you and your resources. Corruption and miscommunication plague all management systems. Corrupt management siphons resources away from otherwise good work. Government bureaucracy is another layer of management like any other. Customers are not just consumers but working people like you.

    Hang in there.


  • Rent extraction: Passive cash flow from doing nothing but owning something without actually producing anything. Such income can be used to buy more such cash flows until monopolies form. Unless monopolies are broken up by government, monopoly owners collude to maximize rent extraction until heads roll during the next revolution.


  • “shunned” by their church

    Take that as a compliment and move on.

    Being shunned in Amish culture is VERY aggressive. You’re basically cut off from the community and family. You can’t get rides, you have to eat alone, etc. It’s pretty fucked up.

    Mormons also have versions of this that are notoriously fucked up. Stay in line or lose contact with everyone you love.

    (Comment by squaresinger removed by mod: “reason: Part of a white nationalist cult, defending said cult”. Comment summary: A Mormon clarifies that excommunication doesn’t ban attending church activities, but tensions arise when ex-members aggressively try to convert others away from the faith, citing their ex-Mormon returned missionary best friend as an example of someone who isnʼt hostile towards Mormon Church members.)

    I also was raised in the Church, served a mission, but left (you can too)!, despite Church roadblocks. To illustrate why I left, let me provide you with what my self-righteous past self would have written for an audience of priesthood holders regarding the apostasy of a best friend:


    Your best friend knew the truth, got their endowment, yet apostatized anyway. Better that your best friend had never been born (D&C 76:32). You shouldn’t associate with them because Satan will find a way to weaken your testimony through your sympathy for them. Instead, unfaithful such as your friend should be cast out from your community as salt that has lost its flavor (Matthew 5:14; see the 1838-06-17 Salt Sermon). Since they committed the unpardonable sin of denying the Holy Ghost, the best case scenario for building the Kingdom of God is that they don’t corrupt anyone else or die early (side note: killing an apostate in order to save their soul even from an Unpardonable Sin was a loophole called “Blood Atonement which was used by the Danites to justify murdering enemies of the Church; the idea being that Christ couldn’t spill their own blood to atone for someone who denied the Holy Ghost but someone could atone for their own sins by being their own blood sacrifice; the requirement to physically spill blood in order to effect the ritual is a plausible explanation for why Utah still permits capital punishment by firing squad). Better to dedicate your time and efforts towards sharing the Gospel with people who haven’t had a chance to properly hear it in this Second Estate than with someone who heard it, lived it, yet rejected it.


    The above text would not be found out of place in a Sunday talk, especially one given by an Area Authority, although many in the congregation would likely feel uncomfortable. Church leadership would likely minimize such discomfort by restricting such fierce and arguably cruel teachings to private Priesthood Sessions of unbroadcasted Stake Conferences or missionary Zone Conferences. If it makes you feel uncomfortable, I hope you reconsider your membership to an organization in which such cruel and inhumane talk is considered acceptable.

    • Edit(2023-10-10T20:05+00): Include context.
    • Edit(2023-10-10T20:13+00): Remove some context that was removed by mod. Summarize the offending comment for context.
    • Edit(2023-10-10T20:29+00): Add statement explaining the example of cult rhetoric is meant to explain the cruelty, not to promote it.




  • baltakatei@sopuli.xyztoMemes@lemmy.ml2023-08-09.jpg
    link
    fedilink
    arrow-up
    1
    ·
    11 months ago

    It handles ambiguity too. Want to say something lasts for a period of 1 month without needing to bother checking how many days are in the current and next month? P1M. Done. Want to be more explicit and say 30 days? P30D. Want to say it in hours? Add the T separator: PT720H.

    I used this kind of notation all the time when exporting logged historical data from SCADA systems into a file whose name I wanted to quickly communicate the start of a log and how long it ran:

    20230701T0000-07--P30D..v101_pressure.csv

    (“--” is the ISO-8601 (2004) recommended substitute for “/” in file names)

    If anyone is interested, I made this Bash script to give me uptime but expressed as an ISO 8601 time period.

    $ bkuptime
    P2DT4H22M4S/2023-08-15T02:01:00+0000, 2 users,  load average: 1.71, 0.87, 0.68
    





  • Maybe try out FreedomBox? freedombox is a Debian package which automatically sets up apache2, firewalld, fail2ban and Letʼs Encrypt. It also automatically adds pre-canned configuration files for applications you install with it (e.g. Mediawiki, WordPress, Matrix, Postfix/Dovecot). The theoretical goal of FreedomBox is to allow anyone to set up a webserver and administer it via a webUI. So, although I would say itʼs not quite there yet for command-line-illiterate users, I have found the software useful as a turnkey server to see what makes certain web applications tick, albeït in mostly vanilla form.

    For example, after installing a new app like WordPress, you could examine what exactly the FreedomBox scripts changed in the /etc/apache2/ or /etc/fail2ban/ configuration files.