UI Bites
-
I do not have vim set up to auto-add matching parenthesis.
I've been using (g)vi(m) forever, and I didn't even know that was a feature that could be enabled.
-
@HardwareGeek said in UI Bites:
I do not have vim set up to auto-add matching parenthesis.
I've been using (g)vi(m) forever, and I didn't even know that was a feature that could be enabled.
I've never loooked for it, but did not want to definitively state it wasn't there.
EDIT: A quick google turns up this. Which is not a feature, it's a userscript.
-
I just made an online appt for the DMV (driver license renewal - can't do it by mail this time). The final page after clicking 'submit':
They do have the correct date though - I just got the confirmation text also... (in about 3 weeks)
-
@HardwareGeek said in UI Bites:
I do not have vim set up to auto-add matching parenthesis.
I've been using (g)vi(m) forever, and I didn't even know that was a feature that could be enabled.
Same. I do use the match-paren feature all the time.
%
edit: And then I see the response immediately below... Come on caffeine!
-
@BernieTheBernie said in UI Bites:
godeploy
For your enjoyment, I'll just mention that "gode" in French means "dildo."
HTH, HAND.
-
@remi their website ends in
.it
. I do not know the Italian word for dildo...
-
@BernieTheBernie said in UI Bites:
Next, when you type a
{
, VSCode automatically adds the]
afterwards and sets your cursor inbetween. The original text of the code file...
Same with"
,(
.That shouldn't be a problem though, because when you type the closing delimiter, it will overwrite the automatically-inserted one if it is there.
-
@Bulb No, it does not: it gets inserted.
And sometimes, a few characters get missed with this odd type into other machine method... Enjoy fixing the errors...
-
Let's continue the ery.
In godeploy's Lab 5, you open the azure portal website, and then a bash cloud shell, and create a dotnet project. Next,Run the following command to open the embedded graphical editor in the context of the current directory:
code .
which opens an editor which is essentially Visual Studio Code without a menu bar.
That is a really great experience...
Do you know all the keyboard shortcuts by heart?
And get confused: after editing a file, save it.CTRL``S
, isn't it? A dialog pops up to enter a filename... , just enter the name it already has (fortunately, that's not necessary the next time).
And thanks to the perfectly dis-integrated software, do not forget to save the file before runningdotnet build
ordotnet run
(the real VisualStudio would do that automatically).And do not try a right-click on the file in the explorer pane of that editor - it opens the Edge context menu for the web site...
-
@BernieTheBernie said in UI Bites:
Next, when you type a
{
, VSCode automatically adds the]
afterwards and sets your cursor inbetween.Auto-closing of parens annoys me. It would annoy me even more if it closed with the wrong character.
Edit: re-added the inline code marks which NodeBB's sucky selection quoting left out.
-
t would annoy me even more if it closed with the wrong character.
the wrong closing character was a tyop.
Please select: )]}"'
-
@BernieTheBernie said in UI Bites:
But when it comes to typing a class file into visual studio code
Ah, you made an assumption. You are intended to paste it into Notepad and then copy-paste it from there.
-
@BernieTheBernie said in UI Bites:
godeploy
For your enjoyment, I'll just mention that "gode" in French means "dildo."
HTH, HAND.
... And is "ploy" in friendsh "plans"?
-
@BernieTheBernie said in UI Bites:
And thanks to the perfectly dis-integrated software, do not forget to save the file before running
dotnet build
ordotnet run
(the real VisualStudio would do that automatically).If you're running
dotnet build
in phat Visual Studio, it does not in fact save your files.If you use the Debug or Build options from the Visual Studio toolbar (or equivalent keyboard shortcuts), it does. And I'm fairly willing to bet if you find an equivalent command inside the VSCode editor, it will likely save all too.
-
@BernieTheBernie said in UI Bites:
Next, when you type a
{
, VSCode automatically adds the]
afterwards and sets your cursor inbetween.Auto-closing of parens annoys me. It would annoy me even more if it closed with the wrong character.
Edit: re-added the inline code marks which NodeBB's sucky selection quoting left out.
It's even better if accidentally-ing the wrong character breaks it such that you can't actually fix it and typing the right character doesn't skip past the duplicate one already there.
-
@BernieTheBernie said in UI Bites:
Let's continue the ery.
In godeploy's Lab 5, you open the azure portal website, and then a bash cloud shell, and create a dotnet project. Next,Run the following command to open the embedded graphical editor in the context of the current directory:
code .
which opens an editor which is essentially Visual Studio Code without a menu bar.
That is a really great experience...
Do you know all the keyboard shortcuts by heart?With VSCode you should only really need the one shortcut to open the command window, which is F1 or CTRLSHIFTP. Except âŚ
And get confused: after editing a file, save it.
CTRL``S
, isn't it? A dialog pops up to enter a filename... , just enter the name it already has (fortunately, that's not necessary the next time).
And thanks to the perfectly dis-integrated software, do not forget to save the file before runningdotnet build
ordotnet run
(the real VisualStudio would do that automatically).Until this, I ass-u-me'd they actually do use VSCode. After all it is a web app, it can be run in a browser (https://vscode.dev/), so it should be amenable to this use. But this suggests it is a cheap knock-off instead.
-
@Bulb probably somewhere in the middle of a knockoff and the real thing. Remember that VS Code is an Electron app, so it theoretically could be embedded on the web with less effort, depending on how much hacking around in the Electron core they did.
-
@Arantor You didn't click the link
did you?
It is a full VSCode running in the browser. I used it to connect to remote tunnels (vscode tunnel server I started on some computer), but it can also work with git repositories using local storage, work with local files, and in Edge it can even open local directories.
So there is nothing theoretical about embedding it on the web. It is already running on the web.
-
@Bulb clicking is especially as Iâm on iPad.
In any case, the cheap knockoff doesnât sound like a cheap knockoff as much as a buggy embeddd version.
I donât use VS Code, I donât like VS Code
-
Just Office being Office:
-
Early signs of a Space-Time Distortion Field?
-
@topspin At first I thought "business days"? Then I looked at the calendar...
-
Bernie is confused. Why is the frist item correct, while the second is not?
And why not both?
Really: ??
-
@BernieTheBernie said in UI Bites:
Why is the frist item correct, while the second is not?
You didn't read the code. It's obvious there.
-
@Tsaukpaetra Vvat? Your poor ! You searched for the page where that was shown, investigated the html, and then analysed it for missing html escape characters?
-
@BernieTheBernie said in UI Bites:
investigated the html,
But did you read the code? The code! The code!
It's well known that you need to see the source, just to be sure!
-
-
@Tsaukpaetra said in UI Bites:
You didn't read the code. It's obvious there.
OK, this time I did it:
@HardwareGeek said in UI Bites:
But 'view source' = 'hacking'!!!!1!!11!1!
So what?
-
@BernieTheBernie that feels so close to being a fun sized XSS vulnerability for all the family.
-
@Arantor But it would have to be the test makers themselves who set up their own rake to step on
-
@Arantor Microsoft may eventually find out that it is safer for them when "policies" are no more XML formatted, but JSON formatted...
-
@BernieTheBernie said in UI Bites:
@Arantor Microsoft may eventually find out that it is safer for them when "policies" are no more XML formatted, but JSON formatted...
JSON isnât years-old enterprise-grade though.
-
JSON isnât years-old enterprise-grade though.
Likely it'll be JSONC as that's starting to really get it's hooks deep into MS products. (Lead times are long, but the signs are strongly there in the dev environments and MS really encourages its staff to not work at the serialized format level of abstraction inside their code. It's very obvious in how they write specifications of stuff.)
-
@Arantor But lots of Azure configurations are already JSON.
-
@BernieTheBernie said in UI Bites:
@Arantor But lots of Azure configurations are already JSON.
Or Jason.
-
Dear GitHub,
Thanks for making available a panel with the directory tree of a repo.
Now can you please use actual links instead of clickable spans for the individual items? I'm tired of having to duplicate the tab and click instead of middle-clicking to open other files in a new tab.
KTHXBYHAND
-
Dear GitHub,
Thanks for making available a panel with the directory tree of a repo.
Now can you please use actual links instead of clickable spans for the individual items? I'm tired of having to duplicate the tab and click instead of middle-clicking to open other files in a new tab.
KTHXBYHAND
That's just a short step away from right clicking to copy, we can't have that.
-
-
@Tsaukpaetra Not by me.
-
GitHub has gone down the SPA-ish route now which also means the address bar no longer adequately represents statefulness which is a bad thing and they should feel bad.
-
@Arantor Even with SPA, you can still have a working address bar
-
@Arantor Even with SPA, you can still have a working address bar
Yes, yes you can. But they didnât, which is bad, and they should feel bad.
-
GitHub has gone down the SPA-ish route now which also means the address bar no longer adequately represents statefulness which is a bad thing and they should feel bad.
I knew they were doing that SPA stuff, but which important state isn't being represented in the address? (I force-reload GH pages from time to time; particularly important after reviewing a large PR...)
-
@dkf the path where you are in a repo often gets fucked if you happen to press the strange button called 'back'.
-
@Arantor I hadn't noticed that specifically... but did see that sometimes the tree navigation panel doesn't show, and doing Back several times in a row makes things quite confused too.
-
gets fucked if you happen to press the strange button called 'back'.
Many SPAs suffer from the same design error. Web designers who break browser navigation should get fucked by a giant purple dildo with embedded razor blades.
-
Status: GG, Twitch...
-
Dates are hard. In case of Phoenix dactylifera fruits, they may be soft outside, but the stone is hard. But let's get back to computing dates.
The directory listing of a web site shows following entry:[IMG] MSG-2100-EUR.jpg 16-Dec-2023 16:51 2.1M
OK, let me download it with a .Net
HttpClient
.
Can you guess the date theHttpResponseMessage
will tell?
response.Content.Headers.LastModified.Value
is{02/07/2009 08:57:26 +00:00}
,
response.Headers.Date.Value
is{17/12/2023 13:34:54 +00:00}
.
-
@BernieTheBernie said in UI Bites:
Dates are hard. In case of Phoenix dactylifera fruits, they may be soft outside, but the stone is hard.
Drat! You subverted my joke before I could make it.
17/12/2023
I'll let someone else make the joke about date endianness and the twelfth of Septecemember.
-
Twilio Sendgrid
offers email service for Azure. They have afree
tier which allows for sending 100 emails per day. Let me subscribe to it.
I can't.
The Azure error message is:The operation cannot be completed due to the following error: Plan 'free-100-2022' can not be purchased on a free subscription, please upgrade your account, see https://aka.ms/UpgradeFreeSub for more details.
Only when I have a
paid
Azure account, I will be supposedly able to subscribe to the free Sendgrid plan. Yeah!