sin_free_for_00_days

joined 1 year ago
[–] [email protected] 1 points 4 hours ago

You're right. I updated my response.

[–] [email protected] 1 points 7 hours ago

I’m unsure what benefit you get from this though.

Not much, to be honest. Links seem to load a lot quicker with the urls simplified. Other than that, no real reason to do it.

[–] [email protected] 3 points 7 hours ago* (last edited 4 hours ago) (2 children)

Thank you so much. I didn't even think about Greasemonkey. I went to make a script using your code and it said there was already one available. That script looks like this:

Edit: Updated script

(function() {
    'use strict';

    var links = document.links;
    for (var i = 0; i < links.length; i++) {
        var referer = links[i].href.indexOf('&u=');
        links[i].href = decodeURIComponent(links[i].href.substr(referer + 3));
    }

})();

and it worked fine. Then I replaced that code with yours, and it worked just as well. Thanks again.

 

I can't seem to figure this out. I've been trying out different news aggregator sites to use as a home page. Right now I'm using skimfeed. I like it, but the links all have skimfeed baggage tacked on. Like this: https://skimfeed.com/r.php?q=1148&l=15649995&u=https%3A%2F%2Fxkcd.com%2F3006%2F

Well, the source looks like this:

<span class='boxtitles'><h2><a class='siteurls ts33' href='/news/xkcd.html'>XKCD</a> <a class='siteurls atat' href='http://xkcd.com' rel='nofollow' target='_blank'>+</a></h2></span>

<ul><li class='nl1 bd33'><a href='r.php?q=1148&l=15649995&u=https%3A%2F%2Fxkcd.com%2F3006%2F' target='_blank' rel='nofollow' title='Demons'>Demons</a> </li><li class='nl2 bd75'><a href='r.php?q=1148&l=15642742&u=https%3A%2F%2Fxkcd.com%2F3005%2F' target='_blank' rel='nofollow' </li></ul></div>

Which, to be honest, is Greek to me. I'd like to rewrite the links so that they just look like https://xkcd.com/3006/ I don't really care what the link looks like, per se, the encoded bits. I just don't like the extra skimfeed stuff. Aesthetically.

Is there an extension or something that will help me with this? The couple I've looked at are either too complicated for my caveman brain, or site specific (i.e., remove google tracking). If I'm just being a little too retentive, feel free to let me know that too.

[–] [email protected] 1 points 1 day ago

If we jail people for riding drunk

Not sure where you are, but in my state they do.

[–] [email protected] 8 points 1 day ago (1 children)

For me that is much more than a pet peeve.

[–] [email protected] 6 points 1 day ago

The orientation isn't necessarily different, from what I've read. Just the meaning.

[–] [email protected] 4 points 1 day ago

I see idiots saying they support trump because of his "policies". I just can't imagine being a woman, or having a sister, or a mom, or a female colleague, or a brain cell, and voting Republican. It makes no sense.

[–] [email protected] 2 points 3 days ago

I doubt Russia will attack a NATO member.

[–] [email protected] 0 points 5 days ago

I just went for the heavy use of blocking those types, and my experience on here has gotten way better. Otherwise, my user experience was just a fire hose of outrage and performative pearl clutching.

[–] [email protected] 18 points 6 days ago (1 children)

They did the same thing with Biden.

[–] [email protected] 3 points 6 days ago (2 children)

This is like saying 1,000 delusional people endorse Harris. I don't think it's the flex they think it is.

[–] [email protected] 2 points 1 week ago

Can you imagine US schools doing this? I think most would be fine with hit, but there is a very vocal half of the country that doesn't like objective facts nor critical thinking. Their parents would lose it when their kids came home asking questions. Probably be pulled into bible-based homeschooling or something.

 

I don't know if anyone could use these, but I thought I'd share two commands I use sometimes while trying out different terminals. In my .bash_aliases file I have:

alias whatterm="ps -o 'cmd=' -p $(ps -o 'ppid=' -p $$)"

example:

$  whatterm
alacritty

and I have the following script saved in my local bin directory as testterm. I don't know how great of a test it is, but it shows the capabilities of different terminals and I like the pretty colors.

#!/bin/sh

echo "# 24-bit (true-color)"
# based on: https://gist.github.com/XVilka/8346728
term_cols="$(tput cols || echo 80)"
cols=$(echo "2^((l($term_cols)/l(2))-1)" | bc -l 2> /dev/null)
rows=$(( cols / 2 ))
awk -v cols="$cols" -v rows="$rows" 'BEGIN{
    s="  ";
        m=cols+rows;
        for (row = 0; row<rows; row++) {
          for (col = 0; col<cols; col++) {
                    i = row+col;
                    r = 255-(i*255/m);
                    g = (i*510/m);
                    b = (i*255/m);
                    if (g>255) g = 510-g;
                                printf "\033[48;2;%d;%d;%dm", r,g,b;
                                          printf "\033[38;2;%d;%d;%dm", 255-r,255-g,255-b;
                                          printf "%s\033[0m", substr(s,(col+row)%2+1,1);
                                                }
                                                    printf "\n";
                                                        }
                                                          printf "\n\n";
}'

echo "# text decorations"
echo '\e[1mbold\e[22m'
echo '\e[2mdim\e[22m'
echo '\e[3mitalic\e[23m'
echo '\e[4munderline\e[24m'
echo '\e[4:1mthis is also underline\e[4:0m'
echo '\e[21mdouble underline\e[24m'
echo '\e[4:2mthis is also double underline\e[4:0m'
echo '\e[4:3mcurly underline\e[4:0m'
echo '\e[58;5;10;4mcolored underline\e[59;4:0m'
echo '\e[5mblink\e[25m'
echo '\e[7mreverse\e[27m'
echo '\e[8minvisible\e[28m <- invisible (but copy-pasteable)'
echo '\e[9mstrikethrough\e[29m'
echo '\e[53moverline\e[55m'
echo

echo "# magic string (see https://en.wikipedia.org/wiki/Unicode#Web)"
echo "é Δ Й ק م ๗ あ 叶 葉 말"
echo

echo "# emojis"
echo "😃😱😵"
echo

echo "# right-to-left ('w' symbol should be at right side)"
echo "שרה"
echo

echo "# sixel graphics"
printf '\eP0;0;0q"1;1;64;64#0;2;0;0;0#1;2;100;100;100#1~{wo_!11?@FN^!34~^NB
                                                    @?_ow{~$#0?BFN^!11~}wo_!34?_o{}~^NFB-#1!5~}{o_!12?BF^!25~^NB@??ow{!6~$#0!5?
                                                  @BN^!12~{w_!25?_o{}~~NFB-#1!10~}w_!12?@BN^!15~^NFB@?_w{}!10~$#0!10?@F^!12~}
                                                  {o_!15?_ow{}~^FB@-#1!14~}{o_!11?@BF^!7~^FB??_ow}!15~$#0!14?@BN^!11~}{w_!7?_
                                                  w{~~^NF@-#1!18~}{wo!11?_r^FB@??ow}!20~$#0!18?@BFN!11~^K_w{}~~NF@-#1!23~M!4?
                                                _oWMF@!6?BN^!21~$#0!23?p!4~^Nfpw}!6~{o_-#1!18~^NB@?_ow{}~wo!12?@BFN!17~$#0!
                                              18?_o{}~^NFB@?FN!12~}{wo-#1!13~^NB@??_w{}!9~}{w_!12?BFN^!12~$#0!13?_o{}~~^F
                                            B@!9?@BF^!12~{wo_-#1!8~^NFB@?_w{}!19~{wo_!11?@BN^!8~$#0!8?_ow{}~^FB@!19?BFN
                                          ^!11~}{o_-#1!4~^NB@?_ow{!28~}{o_!12?BF^!4~$#0!4?_o{}~^NFB!28?@BN^!12~{w_-#1
                                        NB@???GM!38NMG!13?@BN$#0?KMNNNF@!38?@F!13NMK-\e\'

___

 

Report about the Los Angeles Times, The New York Times, USA Today, The Wall Street Journal, and The Washington Post —

  • 26 Articles in the week following Smith's indictment of Trump for his attempted coup

  • 100 Articles — nearly 4 times as many — that mentioned Clinton’s server in the week after then-FBI Director James Comey’s notorious October 28, 2016, letter on new developments in that probe--

The US media has learned nothing and is doing a disservice to American voters.

 

Nothing much to say other than I had to drive down PCH today and it would have been a better idea to drive around back bay. So many deplorable magats waving their stupid flags, driving in circles. I showed my support by yelling "We love proven rapists who are convicted felons!!" at them when stopped. It's just so embarrassing seeing these anti-democratic, anti-Constitution morons in my city/county/state/country.

 

The only one I've found is this one, but it doesn't work. It only triggers if I open the keyword interface and save it after every page load. I don't know enough to fix it.

20
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

Any advice for a regular smart 27 year old youngster, who has chronically underachieved and is motivated to turn their life around. They have a couple years of JC completed, and has no idea what path to take, or really what paths exist.

EDIT: OK, I see I gave slim pickins here. It's not me, it's my neighbor's kid. I've known his parents since before he was born. He's a super smart kid, but like a lot of smart kids, he got kind of jaded about...well, everything. I was visiting the other day and he asked me for advice, and my retired ass has nothing. Any relevant personal experience I may have, became dated years ago.

He's good at just about all subjects. His longest lifelong hobby has been video games. He took a few programming classes and liked it, but the thought of doing it full time as a career would quickly become torture.

He's kind of half-assed things and just realized he needs to get his shit straight. He was thinking something like finance, just numbers. Something solid that's just a career direction. He is going back to school, well most likely he is, but he needs an idea of what path to take. Most of his friends are unemployed/underemployed with computer degrees.

 

Nobody seems to be talking about the continuing genocide of Rohingya in Myanmar nor India's heartless and illegal current actions.

“Refoulement is against international human rights law, regardless of if you’ve signed the refugee convention" - John Quinley III, director of international rights group

24
submitted 8 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

My ISP seems to be throttling my VPN connection. Just started a week or so ago. Anyone have any tips for correcting this shit?

Edit: Sorry, I didn't leave much info. I guess I was thinking in more general terms. I use PIA, have for years. I've tried to change protocols and ports, my VPN speed still sits around 10K. Just ridiculous. Speed test without VPN:

SOLVED!! OK, I'm an absolute idiot. The tl;dr I had accidentally toggled the Toggle Alt. Rate Limits setting. Thank you everyone for attempting to help that which couldn't be helped!

 

I read Kim's Mars trilogy years ago and liked it. I decided to pick up The Ministry of the Future a couple days ago. It's very different, and without any spoilers, I have to say it's made me hate humanity even more than I already did. If you haven't read it, it's a near-future climate disaster book. Well written, interesting structure, and just pissing me off. I'm about halfway through it, so maybe it'll swing the other way in the second half.

 

Well this looks more awful than I could have imagined. Incredibly shitty casting.

 

Nothing we all didn't know.

 

My mom has a hole in the ground that she puts her clothes drying hanger in. Like this. The hole in the ground is a 2" or so pipe, set in concrete. The pipe has filled with gravel. Anyone have a tip on getting the rocks out? I can only get so many out using my fingers and then trying to use a set of chopsticks.

view more: next ›