-
6 votes
-
The dying art of the manager meltdown
4 votes -
UkDrillas announce intention to DDOS WoW Classic Servers
12 votes -
Best Buy is discontinuing Insignia smart home line
8 votes -
Swans - It's Coming It's Real (2019)
6 votes -
Lawyer who represented A$AP Rocky shot in Sweden
9 votes -
India rising: Can a giant democracy become an economic colossus?
9 votes -
Helsinki citizens give positive feedback to robot buses – majority said they felt safe and secure
10 votes -
A top US financier of Donald Trump and Mitch McConnell is a driving force behind Amazon deforestation
9 votes -
Norway issues rightwing terror warning for year ahead
10 votes -
Baby Trump balloon flies over Copenhagen despite canceled visit
4 votes -
Houses are assets not goods: What the difference between bulbs and flowers tells us about the housing market
4 votes -
What are some of the most emotionally affecting or resonant games you've played?
Doesn't necessarily have to be that you cried, though it certainly can be. It can also be that you connected with the characters or plot, or maybe you clicked with the game's sense of humor. Maybe...
Doesn't necessarily have to be that you cried, though it certainly can be. It can also be that you connected with the characters or plot, or maybe you clicked with the game's sense of humor. Maybe it creeped you out something fierce, or maybe it forced you into difficult ethical decisions. Any strong personal response counts.
- Why was the game so meaningful for you?
- How did the game use the medium to enhance its resonance?
Please give adequate spoiler warnings!
(You can use a<details>block to make a convenient collapsible section.)21 votes -
42 can be written as the sum of three cubes, which was the last remaining unsolved case under 100
17 votes -
Cube World to be released on Steam near the end of the month!
@wol_lay: Cube World will be released on Steam! https://t.co/Lap10eQVKX Hopefully around the end of September/October 2019. #cubeworld
19 votes -
India loses contact with Chandrayaan-2 mission during moon landing attempt
20 votes -
DMVs Are Selling Your Data to Private Investigators
11 votes -
Winners of the 2020 Breakthrough Prize in Life Sciences, Fundamental Physics and Mathematics announced, awarding a collective $21.6 million
5 votes -
Battles - Inchworm (2018)
4 votes -
The Atlantic launches new subscription plans and introduces a metered model
13 votes -
Bahamas death toll from Hurricane Dorian reaches thirty, with thousands still missing; 70,000 people in need of food, water or shelter; and estimated $7 billion in damage
7 votes -
Unearthed Arcana: `edbrowse`
I recently happened to mention edbrowse in a throwaway comment, and @ainar-g expressed some interest in it. I took my sweet time, but I finally managed to assemble a short(ish) write-up on it, and...
I recently happened to mention
edbrowsein a throwaway comment, and @ainar-g expressed some interest in it. I took my sweet time, but I finally managed to assemble a short(ish) write-up on it, and my sleep-addled mind is thinking that this topic - niche, weird tools - could just become recurrent.
Terminal brosers, such as
lynx,w3mandelinks, while still used and under more-or-less active development, are very niche tools.edbrowsefills a niche within that niche, as it's meant for use by non-sighted people, and thus provides an interface even more bare-bones and arcane than the usual TUI/curses apps that share its space.As per the name,
edbrowse's interface is heavily inspired byed's, the standard text editor:edbrowse, in fact, is not just a web browser, but it combines together a browser, a text editor, a mail client, and - for some reason - a database client. All of these functions are mostly controlled via one-letter commands and, as is tradition, only displaying a single?on error*.edbrowseis also unique amongst the terminal browsers because of its support for JavaScript and the DOM. The text it spits out is meant for Braille displays and screen readers, so it lacks niceties like color or aligned tables, but if you were to browse toreddit.comwith it, you would see a perhaps ASCII-art Snoo fill the screen†."Browsing reddit? How‽," you might ask. "How am I supposed to get this thing to stop questioning me? All those
?are filling me with existential dread, I have no idea what to do!"While it's all there in the manual (but not in the manpages, for some reason), reading through 30k words of text can be a bit of a slog. They do provide a cheatsheet, though, even if it's a bit messy.
So, how do you use
edbrowse? If you already know howedworks, most commands (especially "movement", search and listing commands) will work as expected - it is also an editor, after all - butedbrowseadds another handful of them.The most important of them is, perhaps,
browse. It will makeedbrowseput in an HTTP request, grab the response (if any), and then render it. It will print out the length, in bytes, of the response and of the rendered text, and stop there.$ edbrowse edbrowse ready b https://tildes.net 119201 20083To actually peruse the page you can use any of the
edlisting commands (print,list, andnumber), or thezcommand.zworks much likep, but it prints a number of lines (normally 24) while "remembering" your position within the page.0z10 {Tildes} {Log in} <>Sidebar * {Activity} * {Votes} * {Comments} * {New} * {All activity}Links are indicated by curly brackets, while form elements (both input elements and buttons) are wrapped in angle brackets. You can follow a link by jumping to the line containing it and issuing a
go command (usingg2to follow the second link on that line,g3for the third,g$for the last), but, in normal use, you should probably just search for the link text./{Log in}/g 5886 923 0z10 {Tildes} <>Sidebar Log in Username <> Password <> <-> Keep me logged in <Go>Log inThe same thing goes for form elements, but the command to use, here, is
i(forinteract).ihas actually four different subcommands:i[N]=, to set the value of a text field,ipass[N]to prompt for the value of a password field,i[N]*to press a button‡, andi[N]?to askedbrowsewhat that damned element is supposed to be./Username/ i=mftrhu /Password/ ipass hunter12 /<Go>/i* submitting form 124579 20049You can jump back to the previous page with
^, and refresh the current page withrf.Of course,
edbrowsecan do much more - can be configured to do much more, via.ebrc, as it possessed (very) rudimentary programming facilities. It can edit its own configuration file, and reload it withconfig, so - rejoice. You won't ever need to leave it.And, after seeing just how aesthetically pleasing its configuration language can be, I'm confident that you won't ever want to leave it.
# Switch to a new editing session e2 no file e ~/.ebrc # Show the last lines of the configuration file $100,113n 100 function+google { 101 b http://www.google.com 102 /<>/ i=~0 103 /</ i1* 104 /^About/+2 105 } 106 function+ddg { 107 b https://duckduckgo.com 108 /<>/ i=~0 109 i2* 110 /<Go secure>/+1 111 /<Go secure>/+2 112 z24 113 }As I said earlier, while
edbrowsedoes possess some programming facilities, they are very rudimentary. Functions are nothing more than sequences ofedbrowsecommands with some flow control constructs: they can do everything an user could do, which means that they are often convoluted and overly terse.The
ddgfunction, for example (which is invoked via<ddg [PARAMS]), firstbrowses to duckduckgo.com. The DuckDuckGo home page, as rendered byedbrowse, only contains a link followed by the search form:{About DuckDuckGo Duck it!} <> <S secure> <X>So the function looks for the (first) empty text field (
/<>/), fills it in with the parameters passed to it (i~=0), activates the second form element on that line (i2*) and, once the results page has loaded, skips the initial boilerplate (/<Go secure>/+1,+2) and prints the first 24 lines of results (z24).Sure. It could be replaced by a single line, replacing all the form interaction with a simple
b https://duckduckgo.com/?q=~0, but where would be the !!FUN!! in that?
* This is not completely true, as
edbrowsewill show more long-form error messages, but it's pretty inconsistent with them.
† Iff you have JS enabled in your current session. It can be toggled on and off with thejscommand.
‡ I had no luck with the Tildes buttons (e.g., sidebar toggle, upvote button), though, at least not with the version ofedbrowsethat Debian bundles up.10 votes -
We Re-Launched The New York Times Paywall and No One Noticed
9 votes -
How tax policy gave us White Claw hard seltzer
7 votes -
As game budgets balloon, indie devs learn to work smarter - The creators behind Outer Wilds, Observation, and Void Bastards on getting more for less
3 votes -
Uncertainty about US President Donald Trump's trade war with China and Brexit are creating a "flying blind" economy
5 votes -
Oregon woman turns school buses into tiny homes for working homeless families
7 votes -
The people who built Etsy dreamed of remaking commerce with their bare hands. Fifteen years later, its sellers are being asked to compete with Amazon.
11 votes -
Facebook is under investigation for antitrust violations by a coalition of the attorneys general of 8 states and DC, led by New York Attorney General Letitia James
10 votes -
In "The Testaments", Margaret Atwood expands the world of "The Handmaid’s Tale"
8 votes -
US Congress promised student borrowers a break. Education dept. rejected 99% of them.
20 votes -
Hydrogen-electric race car beats petrol-powered competition
3 votes -
Creature in the Well | Launch trailer
5 votes -
Kenny Burrell On Mister Rogers' Neighborhood
4 votes -
Alaska’s universal basic income problem
19 votes -
Are Deep Neural Networks Dramatically Overfitted?
7 votes -
Britain's parliament approves law seeking to block October no-deal Brexit
15 votes -
Sweden's Foreign Minister Margot Wallström to quit government
7 votes -
Mun Py: A Fully Automated Mission to the Mun
5 votes -
Fancy Zones, a tiling window manager from Microsoft
8 votes -
Swedish mountain loses highest peak title due to global heating – glacier at Kebnekaise's summit has shrunk amid soaring Arctic temperatures
4 votes -
The Finnish FA announced it will begin paying its men's and women's national teams equally
3 votes -
Exxon Mobil has agreed to sell its Norwegian oil and gas assets for up to $4 billion – ending its production in a country where it started operations more than a century ago
5 votes -
The reason our streets switched to cul-de-sacs
4 votes -
How to do a code review
10 votes -
Pride flags greet Mike Pence on arrival in Iceland – Guðni Jóhannesson also pictured wearing rainbow bracelet to meet US vice-president
9 votes -
How do you achieve an efficient house move?
I'm getting my own place -- i.e. an apartment that I own, and not rent -- and I find myself needing to prepare for another house move (this'll be the 4th of such events for me), only this time...
I'm getting my own place -- i.e. an apartment that I own, and not rent -- and I find myself needing to prepare for another house move (this'll be the 4th of such events for me), only this time with a lot more stuff.
I'm in a situation where I have to plan how I proceed carefully, since the elevator isn't working yet at the new place, and I have to carry everything up 7 flights of stairs.Every single time I've done a house move in the past it's been a disaster; didn't plan at all, just stuffed things into my car and left for the new place when it was full; rinse and repeat. I'm positive I did at least double the number of trips I actually needed.
I want to think ahead on this one since the number of trips matter a lot.
What are your tips for house moving? Any weird but efficient way of packing/labeling/sorting/whatever?
Also interested in hearing the stories of your most horrible (or most enjoyable -- although I can't imagine this being the case) house moves.
PS: don't want to hire a moving company, I like doing things like this on my own.
13 votes -
Green threads explained in 200 lines of Rust
3 votes -
Steve and The Don: Smith entering the rarest of air as records mount
3 votes -
Robert Mugabe, Zimbabwe's longtime strong man, dead at 95
8 votes