0

setting for default sorting order?

preview

Recently (a few weeks ago?) if seemed like my settings for Connect were reset. Like, the default was suddenly cards, etc. Also I was used to sort by New by default, but now it always seems to switch to Active, causing me to miss posts.

I can’t find the setting to set the default sorting order to New - where should I look for that option?

Recently (a few weeks ago?) if seemed like my settings for Connect were reset. Like, the default was suddenly cards, etc. Also I was used to sort by New by default, but now it always seems to switch to Active, causing me to miss posts.

I can’t find the setting to set the default sorting order to New - where should I look for that option?

0

OSM mapping as small revenue?

preview

Hi there!

I like to spend my evenings mapping world, city and transportation, but wonder myself if there any kinda non-profit or small organizations that donate tips to local map contributors?

Maybe some city councils, emergency services, logistic companies and so on?

Thanks a lot

Hi there!

I like to spend my evenings mapping world, city and transportation, but wonder myself if there any kinda non-profit or small organizations that donate tips to local map contributors?

Maybe some city councils, emergency services, logistic companies and so on?

Thanks a lot

0

Foreign Data Wrappers turned my Postgres into a universal query engine, and I kinda love it

Marmelab Foreign Data Wrapper: Postgresify all the things! marmelab.com
preview

A while back I had to integrate data from a third-party REST API into a Postgres-backed app. My solution at the time was a cron job that periodically fetched the API, parsed the response, and shoved it into the database. It worked. It was also annoying to maintain and broke in creative ways. Months later I discovered that Postgres could have queried that API directly (and I felt a bit dumb lol).

The feature is called Foreign Data Wrappers, and it’s been in Postgres for years. The idea: you create a virtual foreign table that maps to an external data source, then you query it with plain SQL. JOINs, WHERE clauses, INSERTs from SELECT, the whole deal.

Here’s what I’ve been using it for:

**CSV files without the import dance **

Postgres ships with file_fdw. You point it at a CSV, define the columns, and it’s a queryable table. You can JOIN it with your real tables or cherry-pick rows to INSERT into a permanent table. No more writing throwaway Python scripts to parse CSVs. One catch: file_fdw is read-only, so no writing back to the file.

Querying a remote Postgres database

postgres_fdw is also built-in. You set up a foreign server, map a user, create the foreign table, and suddenly you can query (and even UPDATE) another Postgres instance from your local one. Handy for migrations or cross-database reporting. Setting up the user mapping with credentials in plain SQL feels a bit rough, but it gets the job done.

**Talking to MongoDB (or any NoSQL store) **

This is where it gets fun. With Multicorn (a Python library) you can write your own FDW for pretty much anything. You define a Python class, implement an execute method that translates SQL qualifiers into queries for your target data source, and Postgres handles the rest. There are also ready-made FDWs for MongoDB, ElasticSearch, Redis, and others if you don’t want to roll your own ;)

REST APIs as tables

Same principle with Multicorn. You write a wrapper class that turns WHERE clauses into API query parameters, hits the endpoint, and yields rows back to Postgres. I used the Magic: The Gathering API as a test case, nothing mission-critical, but the pattern translates to any REST endpoint. For authenticated APIs you just add headers or tokens in the Python code.

That said, it’s not all smooth sailing. JOINs between foreign tables and local ones can get slow, especially with large external datasets. Also, debugging a misbehaving custom FDW is… not fun lol. And writing credentials in plain SQL for user mappings still makes me wince every time.

For those of you already running FDWs in production, how do you handle the performance tradeoff? Curious what strategies people have settled on ;)

A while back I had to integrate data from a third-party REST API into a Postgres-backed app. My solution at the time was a cron job that periodically fetched the API, parsed the response, and shoved it into the database. It worked. It was also annoying to maintain and broke in creative ways. Months later I discovered that Postgres could have queried that API directly (and I felt a bit dumb lol).

The feature is called Foreign Data Wrappers, and it’s been in Postgres for years. The idea: you create a virtual foreign table that maps to an external data source, then you query it with plain SQL. JOINs, WHERE clauses, INSERTs from SELECT, the whole deal.

Here’s what I’ve been using it for:

**CSV files without the import dance **

Postgres ships with file_fdw. You point it at a CSV, define the columns, and it’s a queryable table. You can JOIN it with your real tables or cherry-pick rows to INSERT into a permanent table. No more writing throwaway Python scripts to parse CSVs. One catch: file_fdw is read-only, so no writing back to the file.

Querying a remote Postgres database

postgres_fdw is also built-in. You set up a foreign server, map a user, create the foreign table, and suddenly you can query (and even UPDATE) another Postgres instance from your local one. Handy for migrations or cross-database reporting. Setting up the user mapping with credentials in plain SQL feels a bit rough, but it gets the job done.

**Talking to MongoDB (or any NoSQL store) **

This is where it gets fun. With Multicorn (a Python library) you can write your own FDW for pretty much anything. You define a Python class, implement an execute method that translates SQL qualifiers into queries for your target data source, and Postgres handles the rest. There are also ready-made FDWs for MongoDB, ElasticSearch, Redis, and others if you don’t want to roll your own ;)

REST APIs as tables

Same principle with Multicorn. You write a wrapper class that turns WHERE clauses into API query parameters, hits the endpoint, and yields rows back to Postgres. I used the Magic: The Gathering API as a test case, nothing mission-critical, but the pattern translates to any REST endpoint. For authenticated APIs you just add headers or tokens in the Python code.

That said, it’s not all smooth sailing. JOINs between foreign tables and local ones can get slow, especially with large external datasets. Also, debugging a misbehaving custom FDW is… not fun lol. And writing credentials in plain SQL for user mappings still makes me wince every time.

For those of you already running FDWs in production, how do you handle the performance tradeoff? Curious what strategies people have settled on ;)

0

PlayStation Plus Game Catalog for June: Final Fantasy XVI, Sonic X Shadow Generations, Kingdom Come: Deliverance, and more

PlayStation.Blog PlayStation Plus Game Catalog for June: Final Fantasy XVI, Sonic X Shadow Generations, Kingdom Come: Deliverance, and more blog.playstation.com
preview

PlayStation Plus Extra and Premium | Game Catalog

  • Final Fantasy XVI | PS5
  • Sonic X Shadow Generations | PS5, PS4
  • Kingdom Come: Deliverance | PS5, PS4
  • Life is Strange: Double Exposure | PS5
  • Farming Simulator 25 | PS5
  • Blades of Fire | PS5
  • Black Desert | PS5

PlayStation Plus Premium

  • Gitaroo Man | PS5, PS4

PlayStation Plus Extra and Premium | Game Catalog

  • Final Fantasy XVI | PS5
  • Sonic X Shadow Generations | PS5, PS4
  • Kingdom Come: Deliverance | PS5, PS4
  • Life is Strange: Double Exposure | PS5
  • Farming Simulator 25 | PS5
  • Blades of Fire | PS5
  • Black Desert | PS5

PlayStation Plus Premium

  • Gitaroo Man | PS5, PS4
0

Eichenprozessionsspinner erobert Karlsruhe stärker als andere Regionen Deutschlands

ka-news Eichenprozessionsspinner erobert Karlsruhe stärker als andere Regionen Deutschlands www.ka-news.de
preview

Laut Stadt Karlsruhe sind besonders Straßenzüge mit durchgehenden, homogenen Stiel-Eichen-Alleen betroffen – ebenso Bestände, die an Eichenwaldflächen angrenzen. Da solche Bereiche über das gesamte Stadtgebiet verteilt sind, sei ein Befall nahezu überall möglich.

Laut Stadt Karlsruhe sind besonders Straßenzüge mit durchgehenden, homogenen Stiel-Eichen-Alleen betroffen – ebenso Bestände, die an Eichenwaldflächen angrenzen. Da solche Bereiche über das gesamte Stadtgebiet verteilt sind, sei ein Befall nahezu überall möglich.

0

PoV allegro vs temu

preview

Just had an extremely revalating experience.

I’ve got my old Koss Porta Pro with broken cable, and I’ve been willing to replace it for some time. I had a though: huh, if everyone buys things on Temu, let’s look for it there. I spent literally hour trying to search for it, using all combinations of search terms and languages I know — all I got was “ready cables, just plug it in”. It was exactly what I wanted to avoid.

Then I head to allegro. One search term, and I got exactly what I was looking for. And mostly for the same price!

After thinking about it for a bit, and looking at differences, I can spot one thing: usually, products that are coming from Europe, are focused on getting your work done. No, or very limited attempt to hijack your attention to make you buy some shit you don’t want to buy (at least in my experience). At the same time most popular products from other places are trying to give you more: they can work as a good source for inspiration for things you might want, but not right now.

I guess this is generally a superpower of European products: you can get your work done. Though, they are not as successful, simply because “getting work done” and “selling more stuff” are quite opposite directions :)

Just had an extremely revalating experience.

I’ve got my old Koss Porta Pro with broken cable, and I’ve been willing to replace it for some time. I had a though: huh, if everyone buys things on Temu, let’s look for it there. I spent literally hour trying to search for it, using all combinations of search terms and languages I know — all I got was “ready cables, just plug it in”. It was exactly what I wanted to avoid.

Then I head to allegro. One search term, and I got exactly what I was looking for. And mostly for the same price!

After thinking about it for a bit, and looking at differences, I can spot one thing: usually, products that are coming from Europe, are focused on getting your work done. No, or very limited attempt to hijack your attention to make you buy some shit you don’t want to buy (at least in my experience). At the same time most popular products from other places are trying to give you more: they can work as a good source for inspiration for things you might want, but not right now.

I guess this is generally a superpower of European products: you can get your work done. Though, they are not as successful, simply because “getting work done” and “selling more stuff” are quite opposite directions :)

0

Suche umfangreiches Backbuch

preview

cross-posted from: discuss.tchncs.de/post/61968228

Da immer mehr KI das Internet übernimmt ich aber kein allzu großer Fan von mit Sägemehl überbackenen Erdbeeren mit Couscous-Ahorn-Blatt-Salat bin, versuche ich seit ner Weile meine Rezeptsammlung in die Offlinewelt zu tragen.

Fürs klassische Kochen bin ich mit dem Bayerischen Kochbuch (für süddeutsche Küche aber auch darüber hinaus) und dem Silberlöffel (italienische Küche) schon ziemlich zufrieden. Dazu nen Ordner mit eigenen Rezepten entweder aus der Familie oder doch mal auch aus dem Internet aber beim backen hakts noch.

Long Shot aber vielleicht gibt es hier ja den einen Tipp. Ich will keine formatfüllenden Bilder auf jeder Seite (Der Silberlöffel verschwendet mir hier eigentlich schon zu viel Platz) und auch nicht zwanzig mal das selbe Rezept in veränderter Form (siehe auch diese Tirade) sondern am liebsten ein umfangreiches Standartwerk wo ich von Breze und Brot bis zur Torte Grundrezepte in Textform finde auf deren Basis ich dann arbeiten kann. Bonuspunkte gibs wenns keine reine Rezeptsammlung ist, gebt mir die trockenen Theoriekapitel.

Vorschläge? Mir ist recht egal ob das Ding Erstauflage 1890 hat oder eben erst gestern rauskam aber bisher hab ich nichts so richtig gefunden was meine Wünsche da halbwegs abdeckt.

Bisschen OT: Gibt es wirklich keine aktive Kochen und Backen Community oder finde ich die nur nicht?

cross-posted from: discuss.tchncs.de/post/61968228

Da immer mehr KI das Internet übernimmt ich aber kein allzu großer Fan von mit Sägemehl überbackenen Erdbeeren mit Couscous-Ahorn-Blatt-Salat bin, versuche ich seit ner Weile meine Rezeptsammlung in die Offlinewelt zu tragen.

Fürs klassische Kochen bin ich mit dem Bayerischen Kochbuch (für süddeutsche Küche aber auch darüber hinaus) und dem Silberlöffel (italienische Küche) schon ziemlich zufrieden. Dazu nen Ordner mit eigenen Rezepten entweder aus der Familie oder doch mal auch aus dem Internet aber beim backen hakts noch.

Long Shot aber vielleicht gibt es hier ja den einen Tipp. Ich will keine formatfüllenden Bilder auf jeder Seite (Der Silberlöffel verschwendet mir hier eigentlich schon zu viel Platz) und auch nicht zwanzig mal das selbe Rezept in veränderter Form (siehe auch diese Tirade) sondern am liebsten ein umfangreiches Standartwerk wo ich von Breze und Brot bis zur Torte Grundrezepte in Textform finde auf deren Basis ich dann arbeiten kann. Bonuspunkte gibs wenns keine reine Rezeptsammlung ist, gebt mir die trockenen Theoriekapitel.

Vorschläge? Mir ist recht egal ob das Ding Erstauflage 1890 hat oder eben erst gestern rauskam aber bisher hab ich nichts so richtig gefunden was meine Wünsche da halbwegs abdeckt.

Bisschen OT: Gibt es wirklich keine aktive Kochen und Backen Community oder finde ich die nur nicht?

0

Xbox Game Pass giugno 2026: tutti i giochi aggiunti

preview

Xbox Game Pass giugno 2026: tutti i giochi aggiunti

https://www.defanet.it/blog/giochi/xbox-game-pass-giugno-giochi.html
@videogiochi
Lista completa dei giochi aggiunti a Xbox Game Pass Ultimate a giugno 2026: Final Fantasy 7 Rebirth, Persona 5 Royal, Jurassic World Evolution 3, Solarpunk e molto altro

Xbox Game Pass giugno 2026: tutti i giochi aggiunti

https://www.defanet.it/blog/giochi/xbox-game-pass-giugno-giochi.html
@videogiochi
Lista completa dei giochi aggiunti a Xbox Game Pass Ultimate a giugno 2026: Final Fantasy 7 Rebirth, Persona 5 Royal, Jurassic World Evolution 3, Solarpunk e molto altro

0

South American elections

preview

cross-posted from: jlai.lu/post/38880671

SOUTH AMERICAN ELECTIONS

[two different people are being portrayed side by side]

Gabriela Rosa Sympatica
Elementary school teacher
Beloved by her community
Wants to improve lives
[portrait of a smiling woman in overalls]

Diego Hitlerio de la Junta
Son of a previous dictator
Went to jail for corruption
Wants to sterilize natives
[portrait of a frowning nasty looking character in military gear]

Temporary results (98% ballots counted):
[Gabriela] 49.9999%
[Diego] 50.0001%

thebad.website/comic/south_american_elections

cross-posted from: jlai.lu/post/38880671

SOUTH AMERICAN ELECTIONS

[two different people are being portrayed side by side]

Gabriela Rosa Sympatica
Elementary school teacher
Beloved by her community
Wants to improve lives
[portrait of a smiling woman in overalls]

Diego Hitlerio de la Junta
Son of a previous dictator
Went to jail for corruption
Wants to sterilize natives
[portrait of a frowning nasty looking character in military gear]

Temporary results (98% ballots counted):
[Gabriela] 49.9999%
[Diego] 50.0001%

thebad.website/comic/south_american_elections

0

The difference between GDP per capita and Income per capita is the amount extracted from workers by corporations

preview

It occurred to me after seeing a video about England’s low GDP per capita, that Income per capita is the amount workers receive (before taxes), so the difference I think, is the amount taken by companies as profit. Am I missing something? Seems right to me

It occurred to me after seeing a video about England’s low GDP per capita, that Income per capita is the amount workers receive (before taxes), so the difference I think, is the amount taken by companies as profit. Am I missing something? Seems right to me

0

Seizing The Means of Production

preview

This is another ad. Since the last time I mentioned this sort of thing it worked so well that you guys cleaned me out completely, let me see if that works again.

So you remember how I said I wasn’t going to let this gig turn into another web development project?

It turned into another web development project.

I just pushed out an update to my website. In light of the debacle last time, vis-a-vis more people buying knives than knives I’ve got, I finally decided it’s time to get off my duff and do the right thing. I mean, if I have to. I guess.

So now I’m a Real Boy. No more dinkum prefabricated credit card form. Inventory tracking, an actual shopping cart system, checkout, it’s got the works. I could rattle on about all the clever things I did to make it work because I’m a colossal nerd and also apparently some kind of special purpose purist who probably belongs in a padded cell rather than anywhere near, say, power tools. For instance, it uses absolutely no Javascript whatsoever. None. Could I? Yes, absolutely. I know Javascript. Did I feel like using it? No. I abused the shit out of the quirks and foibles of CSS instead. And so on, and so forth. I could go on all day about if you let me.

Now if you want to buy more than one thing, you can do that. And it won’t let you buy more than what’s available, to avoid embarrassment on my part and having to send apologetic emails to people with my sombrero gripped pensively in front of me by the brim and all. By the way, for the people in said camp: The steel for your knives arrived today, which was sooner than expected. I’ll be getting back into production in a little bit and then I can actually send you the stuff I owe you. You know, now that I’m done spending two days fighting with integrating with my credit card peoples’ system with their stupid janky incomplete documentation which is exactly the pain in the ass I predicted it would be which is why I didn’t want to do it in the first place.

Ahem.

Where was I?

Oh, yeah. I also have two fancy new colorways for the Adélie for you. Okay, they’re not that fancy, but I still think they look cool. A royal-ish purple and azure blue.

And. And, and, and.

You saw the headline image: I have boxes for them now. Just like everything else I do the boxes are completely bespoke and I make them myself.

Yes, I had a hoot designing these. Some folks who ordered recently have already received earlier revisions but I’ve been keeping mum about it up until now.

Here’s a quick off-the-cuff snap of one of the prototypes. I assemble them with the glue stick that came with my 3D printer. No, I’m serious. Up until now I’ve categorically failed to find a use for it, so I’m just chuffed to pieces about that as well. According to my calculations at the rate I’m using this thing up I predict that in three years I will have to buy a second glue stick. Maybe I’ll upgrade my printer before then and I’ll get another one for free. Hmm.

If we’re honest this is in no small part due to the tiny seedlings of regret that are starting to sprout from my decision to provide my Rockhoppers in bespoke 3D printed cases. These are neat as hell and I love them to bits but each one is a print job that’s just a shade under two hours and that’s really kind of the pits. The Rockhopper is an agonizingly complex multipart printing and assembly operation and I’m mostly bothering to crank them out at all because I love you guys (and for some reason they sell). New colorways for those are coming soon, also. I just… uh… have to print more boxes, which is my bottleneck. And do the photography.

This is turning into a second job.

I have two new real steel knife designs in the works also which will be along at some point. I promise I’ll have shiny new review content in the upcoming days, also. I may have spent some more money. You’ll see.

Dork, out.

This is another ad. Since the last time I mentioned this sort of thing it worked so well that you guys cleaned me out completely, let me see if that works again.

So you remember how I said I wasn’t going to let this gig turn into another web development project?

It turned into another web development project.

I just pushed out an update to my website. In light of the debacle last time, vis-a-vis more people buying knives than knives I’ve got, I finally decided it’s time to get off my duff and do the right thing. I mean, if I have to. I guess.

So now I’m a Real Boy. No more dinkum prefabricated credit card form. Inventory tracking, an actual shopping cart system, checkout, it’s got the works. I could rattle on about all the clever things I did to make it work because I’m a colossal nerd and also apparently some kind of special purpose purist who probably belongs in a padded cell rather than anywhere near, say, power tools. For instance, it uses absolutely no Javascript whatsoever. None. Could I? Yes, absolutely. I know Javascript. Did I feel like using it? No. I abused the shit out of the quirks and foibles of CSS instead. And so on, and so forth. I could go on all day about if you let me.

Now if you want to buy more than one thing, you can do that. And it won’t let you buy more than what’s available, to avoid embarrassment on my part and having to send apologetic emails to people with my sombrero gripped pensively in front of me by the brim and all. By the way, for the people in said camp: The steel for your knives arrived today, which was sooner than expected. I’ll be getting back into production in a little bit and then I can actually send you the stuff I owe you. You know, now that I’m done spending two days fighting with integrating with my credit card peoples’ system with their stupid janky incomplete documentation which is exactly the pain in the ass I predicted it would be which is why I didn’t want to do it in the first place.

Ahem.

Where was I?

Oh, yeah. I also have two fancy new colorways for the Adélie for you. Okay, they’re not that fancy, but I still think they look cool. A royal-ish purple and azure blue.

And. And, and, and.

You saw the headline image: I have boxes for them now. Just like everything else I do the boxes are completely bespoke and I make them myself.

Yes, I had a hoot designing these. Some folks who ordered recently have already received earlier revisions but I’ve been keeping mum about it up until now.

Here’s a quick off-the-cuff snap of one of the prototypes. I assemble them with the glue stick that came with my 3D printer. No, I’m serious. Up until now I’ve categorically failed to find a use for it, so I’m just chuffed to pieces about that as well. According to my calculations at the rate I’m using this thing up I predict that in three years I will have to buy a second glue stick. Maybe I’ll upgrade my printer before then and I’ll get another one for free. Hmm.

If we’re honest this is in no small part due to the tiny seedlings of regret that are starting to sprout from my decision to provide my Rockhoppers in bespoke 3D printed cases. These are neat as hell and I love them to bits but each one is a print job that’s just a shade under two hours and that’s really kind of the pits. The Rockhopper is an agonizingly complex multipart printing and assembly operation and I’m mostly bothering to crank them out at all because I love you guys (and for some reason they sell). New colorways for those are coming soon, also. I just… uh… have to print more boxes, which is my bottleneck. And do the photography.

This is turning into a second job.

I have two new real steel knife designs in the works also which will be along at some point. I promise I’ll have shiny new review content in the upcoming days, also. I may have spent some more money. You’ll see.

Dork, out.

0

Rocket Lab "Curveball" launch bulletin

preview

Curveball

Scheduled for (UTC) 2026-06-11 08:00:00
Scheduled for (EDT) 2026-06-11 04:00:00
Launch site Rocket Lab LC-2, Wallops Flight Facility, Virginia, USA
Booster recovery No
Launch vehicle Electron (HASTE)
Customer Undisclosed
Payload Undisclosed
Mass Unknown
Target orbit Suborbital LEO?
Stream Link
Rocket Lab (unlikely) www.youtube.com/@RocketLabCorp/streams

Stats

  • 10th launch for Rocket Lab in 2026.
  • 89th overall launch for Rocket Lab.

Payload info:

Rocket Lab mission page (none currently)

NextSpaceflight


Previous mission: Viva La StriX

Next mission: VICTUS HAZE Puma

Curveball

Scheduled for (UTC) 2026-06-11 08:00:00
Scheduled for (EDT) 2026-06-11 04:00:00
Launch site Rocket Lab LC-2, Wallops Flight Facility, Virginia, USA
Booster recovery No
Launch vehicle Electron (HASTE)
Customer Undisclosed
Payload Undisclosed
Mass Unknown
Target orbit Suborbital LEO?
Stream Link
Rocket Lab (unlikely) www.youtube.com/@RocketLabCorp/streams

Stats

  • 10th launch for Rocket Lab in 2026.
  • 89th overall launch for Rocket Lab.

Payload info:

Rocket Lab mission page (none currently)

NextSpaceflight


Previous mission: Viva La StriX

Next mission: VICTUS HAZE Puma

0

It's the little details in life~

Meme of Gollum haunted and covering his ears. Text: "when the CSS and font of AO3 change juuuust a tiny bit"-
preview

Context:

AO3 had a slight accident while updating their HTML and CSS. Nothing major, it was corrected fast; but it was caught by, mostly, people whose browsers only received and cached “part” of te buggy update. Result? Threads in r/ao3 not too dissimilar to the “AO3 downtime” threads.

Context:

AO3 had a slight accident while updating their HTML and CSS. Nothing major, it was corrected fast; but it was caught by, mostly, people whose browsers only received and cached “part” of te buggy update. Result? Threads in r/ao3 not too dissimilar to the “AO3 downtime” threads.

0

Comsat Angels - Nature Trails (BBC Sessions version) [1983(?)]

play · youtube.com
YouTube Comsat Angels- Nature Trails BBC Version www.youtube.com
preview

was of two minds about posting this version because it’s from a compilation released in 1992, but of sessions recorded between 1979-1984, and i did not find which year for which tracks. but Land came out in 1983 so likely an '83 or '84 recording for this one i reckon.

anyway i just think it’s really pretty :)

was of two minds about posting this version because it’s from a compilation released in 1992, but of sessions recorded between 1979-1984, and i did not find which year for which tracks. but Land came out in 1983 so likely an '83 or '84 recording for this one i reckon.

anyway i just think it’s really pretty :)

0

Patch 26.12 Notes

Patch 26.12 Notes www.leagueoflegends.com
preview

We’ve got some more changes to follow up the recent Season 2 & support meta with a nerf to AP Xin Zhao and buff to Yuumi, as well as preparation with an eye towards MSI on the patch after this one through creating opportunities for some diversity in champion picks in the tournament. While some of these changes are specifically pro-oriented (sorry, Varus), most of them should be pretty applicable across all levels of play, like Lee Sin and Nocturne being less menacing in the jungle. We’ll be continuing this approach for one more patch before going back to business as usual.

We’ve got some more changes to follow up the recent Season 2 & support meta with a nerf to AP Xin Zhao and buff to Yuumi, as well as preparation with an eye towards MSI on the patch after this one through creating opportunities for some diversity in champion picks in the tournament. While some of these changes are specifically pro-oriented (sorry, Varus), most of them should be pretty applicable across all levels of play, like Lee Sin and Nocturne being less menacing in the jungle. We’ll be continuing this approach for one more patch before going back to business as usual.

0

Simple Nushell Script To Always Disable Laptop Internal Monitor When Using AR Glasses

preview

I created a simple Nushell script that will always disable the default/internal monitor(s) on your laptop or external display when using AR glasses. I find this useful for when using AR glasses such as the XReal One which allows you to change the mode from regular mode to ultra-wide mode and when doing this, it will act as your unplugging the XReal ones and plugging in XReal one again in a new mode, causing the other display to become enabled.

To keep the laptop display always off, weather the laptop lid is either closed or open, this simple Nushell script will always disable the screen every X seconds (You can change it by changing the wait constant)

Simply copy this script and create a new Nushell script such as disable-displays.nu, add it to your startup applications with the command of nu /path/to/disable-displays.nu and it will run in the background. You will need to run xrandr command with all of your displays enabled to get the names of the displays and change the constants values in the script accordingly.

NOTE: This script may not work with a full Wayland setup and may only work on X11.

Enjoy

# RUN xrandr TO GET THE NAMES OF THE DISPLAYS AND SET THE VARIABLES TO THESE NAMES
const ar_glasses_display = 'USB-C-0'
const displays = [
    'eDP',
    'HDMI-0'
]

const wait = 5

def is-ar-glasses-connected [] {
    return (xrandr | str contains $"($ar_glasses_display) connected")
}

def disable-display [display: string] {
    xrandr --output $display --off
}

def enable-display [display: string] {
    xrandr --output $display --auto
}

loop {
    if (is-ar-glasses-connected) {
        for current_display in $displays {
            disable-display $current_display
        }
    } else {
        for current_display in $displays {
            enable-display $current_display
        }
    }

    sleep ($wait * 1sec)
}

I created a simple Nushell script that will always disable the default/internal monitor(s) on your laptop or external display when using AR glasses. I find this useful for when using AR glasses such as the XReal One which allows you to change the mode from regular mode to ultra-wide mode and when doing this, it will act as your unplugging the XReal ones and plugging in XReal one again in a new mode, causing the other display to become enabled.

To keep the laptop display always off, weather the laptop lid is either closed or open, this simple Nushell script will always disable the screen every X seconds (You can change it by changing the wait constant)

Simply copy this script and create a new Nushell script such as disable-displays.nu, add it to your startup applications with the command of nu /path/to/disable-displays.nu and it will run in the background. You will need to run xrandr command with all of your displays enabled to get the names of the displays and change the constants values in the script accordingly.

NOTE: This script may not work with a full Wayland setup and may only work on X11.

Enjoy

# RUN xrandr TO GET THE NAMES OF THE DISPLAYS AND SET THE VARIABLES TO THESE NAMES
const ar_glasses_display = 'USB-C-0'
const displays = [
    'eDP',
    'HDMI-0'
]

const wait = 5

def is-ar-glasses-connected [] {
    return (xrandr | str contains $"($ar_glasses_display) connected")
}

def disable-display [display: string] {
    xrandr --output $display --off
}

def enable-display [display: string] {
    xrandr --output $display --auto
}

loop {
    if (is-ar-glasses-connected) {
        for current_display in $displays {
            disable-display $current_display
        }
    } else {
        for current_display in $displays {
            enable-display $current_display
        }
    }

    sleep ($wait * 1sec)
}