You are not logged in.

#2326 2018-08-30 10:51:22

cherkie
Member
Registered: 2018-08-09
Posts: 80

Re: Completely Off Topic Chat

obscurant wrote:

A pack of ten Linux stickers for $1. Free shipping.

https://www.stickermule.com/products/un … s-pro-pack


cheers. Same works in the UK - stickers for £1 free shipping.

Offline

#2327 2018-09-03 08:42:12

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 797

Re: Completely Off Topic Chat


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Online

#2328 2018-09-04 04:40:46

ohnonot
...again
Registered: 2015-09-29
Posts: 3,439
Website

Re: Completely Off Topic Chat

reddit is a mean place, but some of its contributors are on a constant crusade to generate intelligent & funny, or at least extremely weird, output.
really, i mean it.
some of the comment battles are epic, ranging from funny remarks to weird dialogs to dadaistic poetry...

Offline

#2329 2018-09-04 09:39:44

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 797

Re: Completely Off Topic Chat

That's why I love it wink


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Online

#2330 2018-09-04 21:47:12

hhh
That's it!
Registered: 2015-09-17
Posts: 6,626
Website

Re: Completely Off Topic Chat

r/BunsenLabs, created by a forum member...

https://www.reddit.com/r/BunsenLabs/

And my favorite, r/linuxmasterrace...

https://www.reddit.com/r/linuxmasterrace/

Offline

#2331 2018-09-04 22:07:57

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 797

Re: Completely Off Topic Chat

Try this as well.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Online

#2332 2018-09-04 23:53:53

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,982
Website

Re: Completely Off Topic Chat

debian-user ML wrote:

You ought to know Murphy's Law of the Internet by now: nothing posted to the Internet ever goes away . . . . unless you're looking for it.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#2333 2018-09-05 06:19:33

ohnonot
...again
Registered: 2015-09-29
Posts: 3,439
Website

Re: Completely Off Topic Chat

johnraff wrote:
debian-user ML wrote:

You ought to know Murphy's Law of the Internet by now: nothing posted to the Internet ever goes away . . . . unless you're looking for it.

omg, how come this isn't on bunsen quotes yet? not from our forums?

apropos reddit: Speak - on LQ this would probably get me banned devil

Last edited by ohnonot (2018-09-05 06:23:47)

Offline

#2334 2018-09-06 22:20:51

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,328

Re: Completely Off Topic Chat

Google/Chrome made a very dumb change in v69 (maybe Chromium too?): https://bugs.chromium.org/p/chromium/is … ?id=881410. Probably some product manager going bonkers. Especially https://bugs.chromium.org/p/chromium/is … 881410#c27:

Enter into the address bar:

http://www.example.www.example.com

It shortens it:

example.example.com

WTF? How does www.example.www.example.com === example.example.com?

LOL.


Im grünen Wald, dort wo die Drossel singt…

Online

#2335 2018-09-07 00:25:10

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,982
Website

Re: Completely Off Topic Chat

ohnonot wrote:
johnraff wrote:
debian-user ML wrote:

You ought to know Murphy's Law of the Internet by now: nothing posted to the Internet ever goes away . . . . unless you're looking for it.

omg, how come this isn't on bunsen quotes yet? not from our forums?

Someone posted it on the debian-user mailing list the other day. I don't know if they were quoting from elsewhere or not. We could add it, attributed to "anon" perhaps?


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#2336 2018-09-07 12:39:26

ratcheer
Member
From: USA
Registered: 2015-10-05
Posts: 204

Re: Completely Off Topic Chat

I'm trying to switch from Firefox to Vivaldi (Chrome or Chromium based). It is having problems with fontconfig, forcing me back to Firefox.

This is on my main Arch Linux PC. Strangely, I do not have the problem on my notebook PC with Fedora.

Tim

PS - I'm not asking for help. I'm just waiting for fontconfig to fix the problem.

Offline

#2337 2018-09-12 12:57:53

earlybird
ほやほや
Registered: 2015-12-16
Posts: 651
Website

Re: Completely Off Topic Chat

Making computing better in the 21st century is surprisingly simple. lol Don't forget to scrap all your remaining IDE drives.

Offline

#2338 2018-09-13 05:11:14

ohnonot
...again
Registered: 2015-09-29
Posts: 3,439
Website

Re: Completely Off Topic Chat

^ nice.
took me a while to understand that it's really only about the terms, not the software itself.

yes, we should definitely start going down that road.
what else do we need to change?

kill is very offensive, and does not describe the process well. maybe freememalloc or some such would be better? but then, what about free? isn't freedom a very sensitive topic for many people?
personally, i'd like the word keyboard replaced with something more fitting. those aren't keys. they aren't buttons, either.
etc., etc....

Offline

#2339 2018-09-13 05:17:27

damo
....moderator....
Registered: 2015-08-20
Posts: 4,613

Re: Completely Off Topic Chat

The comments made me snigger big_smile  The last post was:

Every single time you people decide to change software for no other reason than social justice, all normal programmers decide to be more racist, sexist, transphobic and whatever else pisses you off - for no other reason than just to spite you. We weren't using master/slave terminology before, but you can bet we'll be using it now - every single chance we get.

And we'll be thinking of it. You know, it. The reason why you think it's offensive. And I just want you to know - we weren't thinking of it before... but we are now. Only because of you.

You can claim that such measures hurt everyone, or that it's counterproductive, or that it even hurts our own careers.
It doesn't matter. It doesn't matter. It doesn't matter. Any price will be paid, social justice will fail, and if you don't drop it immediately, you will fail with it.

...soon followed by...

@python python locked as off topic and limited conversation to collaborators 18 hours ago


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#2340 2018-09-13 05:47:18

ohnonot
...again
Registered: 2015-09-29
Posts: 3,439
Website

Re: Completely Off Topic Chat

^ hooray for being able to squeeze that in before they locked it!

.... it ...
....... it .....
... it .....
.......... it ......

Offline

#2341 2018-09-13 13:50:13

glittersloth
...always giving it to you straight
Registered: 2015-09-30
Posts: 707

Re: Completely Off Topic Chat

ohnonot wrote:

kill is very offensive, and does not describe the process well. maybe freememalloc or some such would be better?

Nah, let's use exhale. It'll be part of the new GroovyHippieLittleHouseOnThePrairie OS.

Edit:
@damo, Thanks for catching that.

Last edited by glittersloth (2018-09-13 15:28:45)

Offline

#2342 2018-09-14 06:06:38

ohnonot
...again
Registered: 2015-09-29
Posts: 3,439
Website

Re: Completely Off Topic Chat

sysadmin, the grim reaper (NSFCPD*)

* not safe for certain python developers

Offline

#2343 2018-09-17 08:01:35

dolly
Miss Mixunderstand
From: /lab1
Registered: 2015-10-03
Posts: 360

Re: Completely Off Topic Chat

What a pleasant surprise, suddenly Firefox is at 60.2.0esr @Helium. smile


Keep BunsenLabs #!yish please.

Offline

#2344 2018-09-19 01:56:36

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,982
Website

Re: Completely Off Topic Chat

@dolly it's good to hear some people are happy with Firefox Quantum anyway. I haven't really had time to appreciate any of its improvements (speed?) because I've been mostly occupied with trying to find workarounds for the loss of my favourite addons*, get the tabs bar back at the bottom, etc... neutral

*) Especially Scrapbook and LiveClick, which won't be ported apparently.
...sigh...


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#2345 2018-09-22 07:42:39

dolly
Miss Mixunderstand
From: /lab1
Registered: 2015-10-03
Posts: 360

Re: Completely Off Topic Chat

@johnraff well it sucks when your faourite addons don`t work anymore, I can relate to that. Normally I just run an adblocker, but it is so irritating when sites complain about it, that I wonder if there is an addon for that too. roll


Keep BunsenLabs #!yish please.

Offline

#2346 2018-09-25 08:24:13

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 4,982
Website

Re: Completely Off Topic Chat

^Adblocker - I get very few complaints about Ublock Origin (which does a great job), and if the site insists it's not hard to temporarily disable it.

Quantum does seem to be fast, but that's just as likely because of the SSD that I got at exactly the same time. Hoping that Webscrapbook will turn into a reasonable replacement for Scrapbook, but not liking the default appearance of live bookmarks without LiveClick. Even less happy at the news that Firefox is going to drop RSS bookmarks completely, in a version or two.


John
--------------------
( a boring Japan blog , Japan Links, idle twitterings  and GitStuff )
In case you forget, the rules.

Offline

#2347 2018-10-02 16:47:27

glittersloth
...always giving it to you straight
Registered: 2015-09-30
Posts: 707

Re: Completely Off Topic Chat

Not just the Jimny, but a new Katana as well?! Damn, Suzuki just made the world slightly less fucked up.

Offline

#2348 2018-10-04 12:27:56

ratcheer
Member
From: USA
Registered: 2015-10-05
Posts: 204

Re: Completely Off Topic Chat

I just got a new motorbike, but it's an old 2002 Honda CBR954RR "Fire Blade". Pretty much fun.

Tim

Last edited by ratcheer (2018-10-04 12:28:19)

Offline

#2349 2018-10-04 22:15:00

twoion
ほやほや
Registered: 2015-08-10
Posts: 2,328

Re: Completely Off Topic Chat

Transactional Bash

A lot of shell scripting is doing something and then checking for errors. Often forgotten is that processes that were halfway interrupted may leave artifacts that require rolling back some changes.

So here's a way to split shell commands into transactions, with a simple example. This is not really ACID but just a little midnight joke after writing too much SQL today.

Action is executed, the status of the action is verified by the action_verifier, if the verification was not successful, then a rollback action is initiated, which in turn again is verified by a verification command. The status codes of the previous actions are made available via the environment.

The fun part is: action, action_verifier, rollback, rollback_verifier may be Bash expressions. This allows for DSL-like syntax spinning.

The thought of complex scripts being reduced to a sequence of nice transactions without much if-else-then and premature exit calls is kind of nice, isn't it?

Edit: Yeah, after googling it now, this is not very novel after all :> Which was expected.

#!/bin/bash

transaction () {
    local action=()
    local action_verifier=()
    local rollback=()
    local rollback_verifier=()

    local current_expression
    local action_result=0
    local rollback_result=0

    while (( $# > 0 )) ; do
        case "$1" in
            action:|action_verifier:|rollback:|rollback_verifier:)
                current_expression=${1%:} ;;
            *)
                eval "$current_expression+=(\"\$1\")" ;;
        esac
        shift 1
    done

    eval "${action[@]}"
    export ACTION_STATUS=$?

    eval "${action_verifier[@]}"
    action_result=$?
    
    if (( $action_result != 0 )) ; then
        #
        # Triggering rollback
        #
        eval "${rollback[@]}"
        export ROLLBACK_ACTION_STATUS=$?
        eval "${rollback_verifier[@]}"
        rollback_result=$?
    fi

    return $(( action_result > rollback_result ? action_result : rollback_result ))
}

transaction                                       \
    action:               touch /tmp/foo.bar      \
    action_verifier:      [[ -r /tmp/foo.bar ]]   \
    rollback:             rm -f -- /tmp/foo.bar   \
    rollback_verifier:    [[ ! -e /tmp/foo.bar ]]

Im grünen Wald, dort wo die Drossel singt…

Online

#2350 2018-10-05 05:28:32

ohnonot
...again
Registered: 2015-09-29
Posts: 3,439
Website

Re: Completely Off Topic Chat

^ but the rollback action and its verifier has to be defined manually for each action + verifier, yes?
even so, it would be good to have some standard functions to take care of it because yes, every good shell script will be almost 50% doing just that.

Offline

Board footer

Powered by FluxBB