Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Plorkyeran
Mar 22, 2007

To Escape The Shackles Of The Old Forums, We Must Reject The Tribal Negativity He Endorsed
Github explicitly forbids creating multiple accounts.

Adbot
ADBOT LOVES YOU

Macichne Leainig
Jul 26, 2012

by VG
I only have had one employer with a GitHub org but I did sign in with my personal GitHub account and they just added me to the org :shrug:

His Divine Shadow
Aug 7, 2000

I'm not a fascist. I'm a priest. Fascists dress up in black and tell people what to do.

The Fool posted:

wtf guys oauth is not that hard

Been banging my head against it for a few days now, doesn't feel very intuitive and I am forced to deal with microsoft azure poo poo.

e: ran across this comment on a ms tech community thread that describes my feelings at the moment: All I wanted was to access a mailbox, did not know I was trying to build a nuclear submarine.

His Divine Shadow fucked around with this message at 13:48 on Nov 9, 2023

leper khan
Dec 28, 2010
Honest to god thinks Half Life 2 is a bad game. But at least he likes Monster Hunter.

Plorkyeran posted:

Github explicitly forbids creating multiple accounts.

Lol

boofhead
Feb 18, 2021

Plorkyeran posted:

Github explicitly forbids creating multiple accounts.

oh sweet jesus. i didnt know

i can hear them pounding at the doo-

Macichne Leainig
Jul 26, 2012

by VG

His Divine Shadow posted:

Been banging my head against it for a few days now, doesn't feel very intuitive and I am forced to deal with microsoft azure poo poo.

e: ran across this comment on a ms tech community thread that describes my feelings at the moment: All I wanted was to access a mailbox, did not know I was trying to build a nuclear submarine.

I have my own web app template with basic JWT authentication set up for this purpose.

OAuth is very good but integrating with it definitely feels like overkill most of the time. What's worse is my OAuth account keeps having all kinds of issues in my work's Auth0 organization

lifg
Dec 4, 2000
<this tag left blank>
Muldoon
I don’t know Azure well, but I’ve found the big companies tend to give you Oauth tools and tell you to build your own solution with it, whereas the smaller companies try to just give you the solution.

His Divine Shadow
Aug 7, 2000

I'm not a fascist. I'm a priest. Fascists dress up in black and tell people what to do.
I don't know azure from a hole in the ground and I don't want to either. But if I want an app to access my mailbox that's on an exchange server it seems I have to touch the poop.

The Fool
Oct 16, 2003


His Divine Shadow posted:

I don't know azure from a hole in the ground and I don't want to either. But if I want an app to access my mailbox that's on an exchange server it seems I have to touch the poop.

are you an application accessing the mailbox on behalf of a user or are you an automated process wanting to use stored credentials to access a mailbox


if the latter, use a logic app

The Fool
Oct 16, 2003


if the former, yeah, gotta touch poop

WHY BONER NOW
Mar 6, 2016

Pillbug
Codegoons, I'm not sure where to ask this but I'm dipping my toe into Obsidian and have come across an issue.

I'm trying to make a local wiki, tying together lore from a video game, and I want the text to wrap around an image. First issue is to align the image to the right, then get the text to wrap. I googled and found a .css recommended for this here: https://publish.obsidian.md/slrvb-docs/ITS+Theme/Image+Adjustments.

Here's their example of what I want it to do (The 200 attribute they use is dictating the image size and is not related to what I'm trying to do):



However, when I try to use it, I'm not getting the desired effect. For example, here is an image with no alignment or anything:



When I add the |right attribute, the image shifts to the right a few pixels, rather than be up against the right border:



Then, if I fill in text, it appears to the right of the image (not left?) and only on the lowest line of the image:



This is frustrating because it seems like it should be fairly straightforward and yet I'm apparently loving it up. Any ideas?

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...
My uninformed guess is that the container around the whole thing isn't actually trying to expand to the entire width available. So, the image is doing what you want, it's just that "all the way to the right" is just a few pixels over in this case.

E: looking at this again, nevermind. If you're able to look at this in a browser with Dev Tools, look at what the css alignments are for things.

Volmarias fucked around with this message at 01:58 on Nov 10, 2023

WHY BONER NOW
Mar 6, 2016

Pillbug

Volmarias posted:

My uninformed guess is that the container around the whole thing isn't actually trying to expand to the entire width available. So, the image is doing what you want, it's just that "all the way to the right" is just a few pixels over in this case.

E: looking at this again, nevermind. If you're able to look at this in a browser with Dev Tools, look at what the css alignments are for things.

Them are fancy codin' words (I should've mentioned I don't know what the gently caress I'm doing). The css is here, nothing obvious screams out to me but like I said, I don't know wtf:

code:
body {
  --image-border-color: var(--background-modifier-border);
  --image-border-width: 1px;
  --image-border-padding: 8px;
  --image-border-background: var(--td);
}

/*----Image Positions/Adjustments----*/
body {
  --micro: 70px;
  --tiny: 100px;
  --small: 200px;
  --small-med: 300px;
  --med-small: 400px;
  --medium: 500px;
  --med-tall: 600px;
  --tall: 700px;
}

.popover.hover-popover {
  --micro: 70px;
  --tiny: 100px;
  --small: 150px;
  --small-med: 200px;
  --med-small: 250px;
  --medium: 300px;
  --med-tall: 450px;
  --tall: 500px;
}

/*----Mobile----*/
@media (max-width: 500px) {
  .theme-dark, .theme-light {
    /*Mobile Sizes*/
    --radius: 0px;
    --micro: 70px;
    --tiny: 100px;
    --small: 150px;
    --small-med: 200px;
    --med-small: 250px;
    --medium: 300px;
    --med-tall: 450px;
    --tall: 500px;
  }
}
/*-Image Sizing-*/
/*Fit image within bounds WITHOUT stretching*/
img:is([alt*=cover], [alt*=cvr]),
.image-embed:is([src*="#cover"], [src*="#cvr"]),
span.image-embed:is([src*="#cover"], [src*="#cvr"]) img {
  object-fit: cover;
}

img[alt][alt]:not([alt*=relative])[alt*=hmicro] {
  height: var(--micro);
}
img[alt][alt]:not([alt*=relative])[alt*=htiny] {
  height: var(--tiny);
}
img[alt][alt]:not([alt*=relative])[alt*=hsmall] {
  height: var(--small);
}
img[alt][alt]:not([alt*=relative])[alt*=hs-med] {
  height: var(--small-med);
}
img[alt][alt]:not([alt*=relative])[alt*=hm-sm] {
  height: var(--med-small);
}
img[alt][alt]:not([alt*=relative])[alt*=hmed] {
  height: var(--medium);
}
img[alt][alt]:not([alt*=relative])[alt*=hm-tl] {
  height: var(--med-tall);
}
img[alt][alt]:not([alt*=relative])[alt*=htall] {
  height: var(--tall);
}
img[alt][alt]:not([alt*=relative])[alt*=hfull] {
  height: 100%;
}
img[alt][alt]:not([alt*=relative])[alt*=wmicro] {
  width: var(--micro);
}
img[alt][alt]:not([alt*=relative])[alt*=wtiny] {
  width: var(--tiny);
}
img[alt][alt]:not([alt*=relative])[alt*=wsmall] {
  width: var(--small);
}
img[alt][alt]:not([alt*=relative])[alt*=ws-med] {
  width: var(--small-med);
}
img[alt][alt]:not([alt*=relative])[alt*=wm-sm] {
  width: var(--med-small);
}
img[alt][alt]:not([alt*=relative])[alt*=wmed] {
  width: var(--medium);
}
img[alt][alt]:not([alt*=relative])[alt*=wm-tl] {
  width: var(--med-tall);
}
img[alt][alt]:not([alt*=relative])[alt*=wtall] {
  width: var(--tall);
}
img[alt][alt]:not([alt*=relative])[alt*=wfull] {
  width: 100%;
}

.image-embed[alt][alt*=relative],
div:not(.image-embed) > img[alt][alt*=relative] {
  --micro: 10%;
  --tiny: 20%;
  --small: 30%;
  --small-med: 40%;
  --med-small: 50%;
  --medium: 60%;
  --med-tall: 70%;
  --tall: 85%;
}
.image-embed[alt][alt*=relative][alt*=wmicro],
div:not(.image-embed) > img[alt][alt*=relative][alt*=wmicro] {
  width: var(--micro);
}
.image-embed[alt][alt*=relative][alt*=wtiny],
div:not(.image-embed) > img[alt][alt*=relative][alt*=wtiny] {
  width: var(--tiny);
}
.image-embed[alt][alt*=relative][alt*=wsmall],
div:not(.image-embed) > img[alt][alt*=relative][alt*=wsmall] {
  width: var(--small);
}
.image-embed[alt][alt*=relative][alt*=ws-med],
div:not(.image-embed) > img[alt][alt*=relative][alt*=ws-med] {
  width: var(--small-med);
}
.image-embed[alt][alt*=relative][alt*=wm-sm],
div:not(.image-embed) > img[alt][alt*=relative][alt*=wm-sm] {
  width: var(--med-small);
}
.image-embed[alt][alt*=relative][alt*=wmed],
div:not(.image-embed) > img[alt][alt*=relative][alt*=wmed] {
  width: var(--medium);
}
.image-embed[alt][alt*=relative][alt*=wm-tl],
div:not(.image-embed) > img[alt][alt*=relative][alt*=wm-tl] {
  width: var(--med-tall);
}
.image-embed[alt][alt*=relative][alt*=wtall],
div:not(.image-embed) > img[alt][alt*=relative][alt*=wtall] {
  width: var(--tall);
}
.image-embed[alt][alt*=relative][alt*=hmicro],
div:not(.image-embed) > img[alt][alt*=relative][alt*=hmicro] {
  width: var(--micro);
}
.image-embed[alt][alt*=relative][alt*=htiny],
div:not(.image-embed) > img[alt][alt*=relative][alt*=htiny] {
  width: var(--tiny);
}
.image-embed[alt][alt*=relative][alt*=hsmall],
div:not(.image-embed) > img[alt][alt*=relative][alt*=hsmall] {
  width: var(--small);
}
.image-embed[alt][alt*=relative][alt*=hs-med],
div:not(.image-embed) > img[alt][alt*=relative][alt*=hs-med] {
  width: var(--small-med);
}
.image-embed[alt][alt*=relative][alt*=hm-sm],
div:not(.image-embed) > img[alt][alt*=relative][alt*=hm-sm] {
  width: var(--med-small);
}
.image-embed[alt][alt*=relative][alt*=hmed],
div:not(.image-embed) > img[alt][alt*=relative][alt*=hmed] {
  width: var(--medium);
}
.image-embed[alt][alt*=relative][alt*=hm-tl],
div:not(.image-embed) > img[alt][alt*=relative][alt*=hm-tl] {
  width: var(--med-tall);
}
.image-embed[alt][alt*=relative][alt*=htall],
div:not(.image-embed) > img[alt][alt*=relative][alt*=htall] {
  width: var(--tall);
}
.image-embed[alt][alt*=relative][alt*=hfull],
div:not(.image-embed) > img[alt][alt*=relative][alt*=hfull] {
  width: 100%;
}

.image-embed[alt][alt*=relative],
div:not(.image-embed) > img[alt][alt*=relative] {
  display: block;
  margin: auto;
  max-height: 100%;
  object-fit: cover;
}

/*Height*/
/*Image Locations*/
/*Center Image*/
.img-adj-center.img-adj-center img,
img:is([alt*=ctr], [alt*=center]) {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.img-adj-center.img-adj-center .is-live-preview img {
  margin-left: auto !important;
  margin-right: auto !important;
}

/*Left & Right*/
:not(.is-live-preview) img:is([alt*=left], [alt*=locl]), :not(.is-live-preview) img[src*="#locl"] img,
:not(.is-live-preview) .image-embed:is([alt*=left], [alt*=locl]),
:not(.is-live-preview) .image-embed[src*="#locl"] img {
  float: left;
  margin-right: 2%;
  margin-top: 0px;
  margin-bottom: 0px;
}
:not(.is-live-preview) img:is([alt*=right], [alt*=locr]), :not(.is-live-preview) img[src*="#locr"] img,
:not(.is-live-preview) .image-embed:is([alt*=right], [alt*=locr]),
:not(.is-live-preview) .image-embed[src*="#locr"] img {
  float: right;
  margin-left: 2%;
  margin-bottom: 0px;
}

/*--Image Position--*/
img[alt*="p+"], .image-embed[src*="#p+"] img {
  object-fit: cover;
}

/*Inner Image*/
img[alt*="p+c"], .image-embed[src*="#p+c"] img {
  object-position: center;
}

img[alt*="p+t"], .image-embed[src*="#p+t"] img {
  object-position: top;
}

img[alt*="p+b"], .image-embed[src*="#p+b"] img {
  object-position: bottom;
}

img[alt*="p+l"], .image-embed[src*="#p+l"] img {
  object-position: left;
}

img[alt*="p+r"], .image-embed[src*="#p+r"] img {
  object-position: right;
}

img[alt*="p+cl"], .image-embed[src*="#p+cl"] img {
  object-position: 15%;
}

img[alt*="p+ccl"], .image-embed[src*="#p+ccl"] img {
  object-position: 25%;
}

img[alt*="p+cr"], .image-embed[src*="#p+cr"] img {
  object-position: 60%;
}

img[alt*="p+ccr"], .image-embed[src*="#p+ccr"] img {
  object-position: 75%;
}

img[alt*="p+tc"], .image-embed[src*="#p+tc"] img {
  object-position: 50% 10%;
}

img[alt*="p+tcc"], .image-embed[src*="#p+tcc"] img {
  object-position: 50% 20%;
}

img[alt*="p+cct"], .image-embed[src*="#p+cct"] img {
  object-position: 50% 30%;
}

img[alt*="p+ct"], .image-embed[src*="#p+ct"] img {
  object-position: 50% 40%;
}

img[alt*="p+cb"], .image-embed[src*="#p+cb"] img {
  object-position: 50% 60%;
}

img[alt*="p+ccb"], .image-embed[src*="#p+ccb"] img {
  object-position: 50% 70%;
}

img[alt*="p+bc"], .image-embed[src*="#p+bc"] img {
  object-position: 50% 80%;
}

img[alt*="p+bcc"], .image-embed[src*="#p+bcc"] img {
  object-position: 50% 90%;
}

/*Invert Colors*/
.theme-dark img[alt*=invertb], .theme-dark .image-embed[src*="#invertb"] {
  filter: invert(1) hue-rotate(180deg);
}
.theme-dark img[alt*=invertbc],
.theme-dark .image-embed[src*="#invertbc"] {
  filter: invert(1) hue-rotate(180deg) contrast(1.5);
}

.theme-light img[alt*=invertw], .theme-light .image-embed[src*="#invertw"] {
  filter: invert(1) hue-rotate(180deg);
}
.theme-light img[alt*=invertwc], .theme-light .image-embed[src*="#invertwc"] {
  filter: invert(1) hue-rotate(180deg) contrast(1.45);
}

/*Fit image within bounds WITHOUT stretching*/
img[alt*=cover],
img:is([alt*=cover], [alt*=cvr]),
.image-embed:is([src*="#cover"], [src*="#cvr"]),
span.image-embed:is([src*="#cover"], [src*="#cvr"]) img {
  object-fit: cover;
}

/*Fix Float Issues*/
:is(img, .image-embed)[alt*=clear],
.image-embed[src*="#clear"] {
  clear: both;
}

img[alt*=unclr],
.image-embed[src*="#unclr"] {
  clear: none !important;
}

:not(.lp-img-float) .is-live-preview img:is([alt*=right], [alt*=locr]), :not(.lp-img-float) .is-live-preview img:is([alt*=left], [alt*=locl]), :not(.lp-img-float) .is-live-preview .image-embed:is([alt*=right], [alt*=locr]), :not(.lp-img-float) .is-live-preview .image-embed:is([alt*=left], [alt*=locl]) {
  float: unset;
}

img:is([alt~=lp], [alt~=live-preview]):is([alt*=right], [alt*=locr]),
.image-embed:is([alt~=lp], [alt~=live-preview]):is([alt*=right], [alt*=locr]) {
  float: right !important;
}
img:is([alt~=lp], [alt~=live-preview]):is([alt*=left], [alt*=locl]),
.image-embed:is([alt~=lp], [alt~=live-preview]):is([alt*=left], [alt*=locl]) {
  float: left !important;
}

.clear-hr {
  --hr-width: 100%;
}

.clear-headings :is(h1, h2, h3, h4, h5, h6),
.clear-heading-1 h1,
.clear-heading-2 h2,
.clear-heading-3 h3,
.clear-heading-4 h4,
.clear-heading-5 h5,
.clear-heading-6 h6 {
  clear: both;
}

/*Banners*/
img[alt*=banner],
.image-embed[alt*=banner] img {
  display: block;
  object-fit: cover;
  width: 100%;
  margin-bottom: 0px;
  clear: both;
}

img[alt~=banner],
.image-embed[alt~=banner] img,
.image-embed[src*="#banner"] {
  height: var(--small);
}

img[alt~="banner+small"],
.image-embed[alt~="banner+small"] img,
.image-embed[src*="#banner+small"] {
  height: var(--tiny);
}

img[alt~="banner+tall"],
.image-embed[alt~="banner+tall"] img,
.image-embed[src*="#banner+tall"] {
  height: var(--medium);
}

:is(img, .internal-embed)[alt*=sban],
:is(img, .internal-embed)[alt~=sban],
.internal-embed[src*="#sban"] img {
  object-fit: cover;
  width: 100%;
}

/*Portait*/
img[alt*=portrait],
.image-embed[alt*=portrait] img {
  object-fit: cover;
}

img[alt~=portrait],
.image-embed[alt~=portrait] img,
.image-embed[src~="#portrait"] {
  height: var(--small-med);
  width: 40%;
}

img[alt~="portrait+small"],
.image-embed[alt~="portrait+small"] img,
.image-embed[src~="#portrait+small"] {
  height: var(--small);
  width: 25%;
}

img[alt~="portrait+tall"],
.image-embed[alt~="portrait+tall"] img,
.image-embed[src~="#portrait+tall"] {
  height: 500px;
  width: 50%;
}

/*Profile*/
img[alt*=profile],
.image-embed[alt*=profile] img {
  object-fit: cover;
  border-radius: 50%;
}

img[alt~=profile],
.image-embed[alt~=profile] img,
.image-embed[src*="#profile"] {
  height: var(--tiny);
  width: var(--tiny);
}

img[alt~="profile+medium"],
.image-embed[alt~="profile+medium"] img,
.image-embed[src*="#profile+medium"] {
  height: var(--small);
  width: var(--small);
}

img[alt~="profile+tall"],
.image-embed[alt~="profile+tall"] img,
.image-embed[src*="#profile+tall"] {
  height: var(--medium);
  width: var(--medium);
}

img[alt~=sprf] {
  object-fit: cover;
  border-radius: 100%;
}

/*Image Shapes*/
img[alt*=circle] {
  border-radius: 50%;
}

img[alt~=square],
.image-embed[alt~=square] img {
  border-radius: 0;
}

img[alt~=border],
.internal-embed[alt~=border] img {
  border: var(--image-border-width) solid var(--image-border-color);
  padding: var(--image-border-padding);
  background: var(--image-border-background);
}

.image-captions .image-embed::after,
.image-embed[src*="#cap"]::after {
  content: attr(alt);
  color: var(--inactive, var(--faint-text));
  display: block;
  text-align: center;
}

.mobile-image-viewer img[alt][alt][alt] {
  height: 100%;
  width: 100%;
  object-fit: contain;
}

/*@settings
name: Image Adjustments
id: image-adjustments
settings:
    - 
        id: info-text-SlRvb-img-adj
        type: info-text
        title: Image Adjustments by SlRvb
        description: "[Image Adjustments Snippet How-To Guide](https://publish.obsidian.md/slrvb-docs/ITS+Theme/Image+Adjustments)"
        markdown: true
    -
        title: Clear Images
        description: Push image under/over headings or horizontal lines
        id: img-adj-clears
        type: heading
        level: 1
        collapsed: true
    -
        title: Horizontal Lines
        description: Push image under/over any horizontal lines
        id: clear-hr
        type: class-toggle
    -
        title: Headings
        description: Push image under/over all headings 1-6
        id: clear-headings
        type: class-toggle
    -
        title: Heading Specific
        description: Push image under/over some headings and not others
        id: img-adj-clears-headings
        type: heading
        level: 2
        collapsed: true
    -
        title: Header 1
        id: clear-heading-1
        type: class-toggle
    -
        title: Header 2
        id: clear-heading-2
        type: class-toggle
    -
        title: Header 3
        id: clear-heading-3
        type: class-toggle
    -
        title: Header 4
        id: clear-heading-4
        type: class-toggle
    -
        title: Header 5
        id: clear-heading-5
        type: class-toggle
    -
        title: Header 6
        id: clear-heading-6
        type: class-toggle
*/

Hammerite
Mar 9, 2007

And you don't remember what I said here, either, but it was pompous and stupid.
Jade Ear Joe
Can you publish the page and then link to it so we can see it in action?

You should also be able to find out what CSS rules are actually in effect on the image using the browser's developer tools. For example in Chrome or Edge you could do this by right-clicking the image and selecting "inspect" (this should open the dev tools with the inspection pane trained on the image element). Tell us what the class attribute of the img element contains, and show us anything that might be relevant from the list of CSS rules in effect.

nielsm
Jun 1, 2009



The most important CSS property for making text flow around images is "float" - it's what enables it in the first place.

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...
Press F12.

WHY BONER NOW
Mar 6, 2016

Pillbug
Hmm, thanks guys. I looked into what you have to do to publish a Obsidian note and it seems like you either need to buy a subscription (no thanks), or follow a series of steps involving making several accounts and installing stuff and then performing some steps that quickly went over my head. At least judging from the three youtube videos I watched...

Looking at OneNote, I think it might be able to do what I'm looking for. I'll dink around in that and see if it suits my needs. Thanks again for the help, guys. We've all had conversations with our parents over the phone that are like "no, click on the window. No, the window. No LEFT click. Ok, the little arrow is your mouse. Use it to click..." etc. I imagine that conversation is even worse when talking over a forum with a person that has no idea what he's doing :)

dirby
Sep 21, 2004


Helping goons with math

KillHour posted:

Would it be that different if you had = to assign by reference and := to assign by value? No, not really. But it would lead to a lot of other design consequences, and it's those that I'm interested in.
I don't think this is actually helpful to you at all, especially because the language works under a different "substitution rule" kind of paradigm, but Wolfram Language (the stuff Mathematica uses) is kind of similar to using := to assign by reference and = to assign by value (the reverse of your hypothetical).

The actual behavior is partially discussed at What is the difference between Set and SetDelayed? on Mathematica StackExchange, though that doesn't do a good job at explaining the difference between things like x=y+3 and x:=y+3, etc.

Dijkstracula
Mar 18, 2003

You can't spell 'vector field' without me, Professor!

Holy moly, different assignment operators for different evaluation semantics of the lval is a galaxy brain idea that could have only come from Wolfram

leper khan
Dec 28, 2010
Honest to god thinks Half Life 2 is a bad game. But at least he likes Monster Hunter.

Dijkstracula posted:

Holy moly, different assignment operators for different evaluation semantics of the lval is a galaxy brain idea that could have only come from Wolfram

I can't tell if you believe this or if your satirizing Stephen and his presentation in a new kind of science.

Dijkstracula
Mar 18, 2003

You can't spell 'vector field' without me, Professor!

guess I incorrectly assumed that “galaxy brain idea” would only be interpreted as a pejorative

pseudorandom name
May 6, 2007

In that case, this isn't unique to Wolfram.

some kinda jackal
Feb 25, 2003

 
 
vscode question.

I'm beginning some experiments in angular and nodejs/typescript. In both cases I have my compiler in watch mode, but it seems that both types of projects find files have "changed" and try to recompile before I actually hit the save button.

I'm struggling to understand what is triggering the recompile, whether it's my language extensions, or whether this is vscode somehow saving on my behalf

I'm certain I've likely missed some obvious flag, but reaching out to see if anyone knows what controls behaviour like this. I can list my specific extensions installed but I checked all settings and don't see a pre-emptive save in either one, so I'll really only provide if it's worthwhile. They're all the generally recommended extensions for node/ts and angular

e: The behaviour I mean is me running my angular project with 'ng serve', then I'll be modifying some component.ts in vscode, I'll be typing for a few seconds and as soon as I stop typing ng tries to recompile my project regardless of what I wrote. Like I'd love for it to only trigger a recompile if I actually hit cmd-s to save the file instead, but idunno..

some kinda jackal fucked around with this message at 00:09 on Nov 13, 2023

raminasi
Jan 25, 2005

a last drink with no ice

Plorkyeran posted:

Github explicitly forbids creating multiple accounts.

I see documentation explaining how to do it while recommending against it, and nothing forbidding it.

necrotic
Aug 2, 2005
I owe my brother big time for this!

some kinda jackal posted:

vscode question.

I'm beginning some experiments in angular and nodejs/typescript. In both cases I have my compiler in watch mode, but it seems that both types of projects find files have "changed" and try to recompile before I actually hit the save button.

I'm struggling to understand what is triggering the recompile, whether it's my language extensions, or whether this is vscode somehow saving on my behalf

I'm certain I've likely missed some obvious flag, but reaching out to see if anyone knows what controls behaviour like this. I can list my specific extensions installed but I checked all settings and don't see a pre-emptive save in either one, so I'll really only provide if it's worthwhile. They're all the generally recommended extensions for node/ts and angular

e: The behaviour I mean is me running my angular project with 'ng serve', then I'll be modifying some component.ts in vscode, I'll be typing for a few seconds and as soon as I stop typing ng tries to recompile my project regardless of what I wrote. Like I'd love for it to only trigger a recompile if I actually hit cmd-s to save the file instead, but idunno..

VSCode has auto save on by default I think. Search in settings for it and disable it.

Zephirus
May 18, 2004

BRRRR......CHK

raminasi posted:

I see documentation explaining how to do it while recommending against it, and nothing forbidding it.

Github just added an account switcher for using multiple accounts, it's basically required if you have an enterprise managed user and want to interact with anything public. So yeah, not sure how anyone would come to that conclusion

mystes
May 31, 2006

I think their tos did say that before?

Zephirus
May 18, 2004

BRRRR......CHK

mystes posted:

I think their tos did say that before?

github tos posted:


3. Account Requirements
We have a few simple rules for Personal Accounts on GitHub's Service.

You must be a human to create an Account. Accounts registered by "bots" or other automated methods are not permitted. We do permit machine accounts:
A machine account is an Account set up by an individual human who accepts the Terms on behalf of the Account, provides a valid email address, and is responsible for its actions. A machine account is used exclusively for performing automated tasks. Multiple users may direct the actions of a machine account, but the owner of the Account is ultimately responsible for the machine's actions. You may maintain no more than one free machine account in addition to your free Personal Account.
One person or legal entity may maintain no more than one free Account (if you choose to control a machine account as well, that's fine, but it can only be used for running a machine).

Looks like you can have no more than one 'free' account and one 'machine' account. It looks like the restriction on accounts is not on paid accounts, which makes sense so I guess i'm wrong about that.

mystes
May 31, 2006

I thought it might have not specified "free" before but I just checked in the internet archive and I guess it always has said essentially the same thing, so I guess it is sort of an urban legend

some kinda jackal
Feb 25, 2003

 
 

necrotic posted:

VSCode has auto save on by default I think. Search in settings for it and disable it.

poo poo, it was set to autosave literally every second :lol:

Thanks, for some reason I thought I searched it before and came up empty, but this time around I found the value.

Aramoro
Jun 1, 2012




So I've been off actual coding for a few years now and even when I did I mostly did Enterprise Java. So if I wanted to make a little React Native app, with a lightweight backend what would folk recommend. I've used the MEAN stack before and it was fine, wasn't a huge fan of Express.

TooMuchAbstraction
Oct 14, 2012

I spent four years making
Waves of Steel
Hell yes I'm going to turn my avatar into an ad for it.
Fun Shoe
Is there some way to configure Rider to ONLY bring up the autocomplete menu AFTER I hit tab? I've noticed that modern IDEs are super aggressive about trying to hint what you meant to type, which is annoying when I know perfectly well what I'm doing (which is most of the time), and also takes up valuable screenspace that often covers things I'm trying to reference as I type. I had similar issues with Visual Studio, but even worse because it would automatically replace text whenever I typed anything that looked like I was done typing a symbol name ("oh, you hit comma! OK, I'm gonna replace "hti" with "AutomaticHTISearchModule::DoTheThing", surely that's what you meant instead of typoing the word "hit"!).

uh, like 75% of this post is an annoyed rant, but my question stands.

Volmarias
Dec 31, 2002

EMAIL... THE INTERNET... SEARCH ENGINES...

TooMuchAbstraction posted:

Is there some way to configure Rider to ONLY bring up the autocomplete menu AFTER I hit tab? I've noticed that modern IDEs are super aggressive about trying to hint what you meant to type, which is annoying when I know perfectly well what I'm doing (which is most of the time), and also takes up valuable screenspace that often covers things I'm trying to reference as I type. I had similar issues with Visual Studio, but even worse because it would automatically replace text whenever I typed anything that looked like I was done typing a symbol name ("oh, you hit comma! OK, I'm gonna replace "hti" with "AutomaticHTISearchModule::DoTheThing", surely that's what you meant instead of typoing the word "hit"!).

uh, like 75% of this post is an annoyed rant, but my question stands.

Ah yes, hello my old friend, extraneous quotation marks whenever I want to fix anything with a string that I haven't finished writing.

Computer viking
May 30, 2011
Now with less breakage.

Volmarias posted:

Ah yes, hello my old friend, extraneous quotation marks whenever I want to fix anything with a string that I haven't finished writing.

It's like nobody designing these features has ever needed to go back and insert a quote in front of something.

2Fast2Nutricious
Oct 4, 2020

Volmarias posted:

Ah yes, hello my old friend, extraneous quotation marks whenever I want to fix anything with a string that I haven't finished writing.

I don't like it when my own computer admonishes me for having never learned to touch type. :( These aren't mistakes, a couple of wacks at the backspace is perfectly fine!

Macichne Leainig
Jul 26, 2012

by VG

Volmarias posted:

Ah yes, hello my old friend, extraneous quotation marks whenever I want to fix anything with a string that I haven't finished writing.

Computer viking posted:

It's like nobody designing these features has ever needed to go back and insert a quote in front of something.

Everything is so good about JetBrains except how it handles quotation marks

Ihmemies
Oct 6, 2012

Is there some way to override semantic token styles with textmate scopes in vscode? Currently semantic tokens override textmate scopes. In case of rust, the granularity of semantic tokens is very boulder-sized, while textmate scopes provide pebble-sized granularity.

For example let and mut are both "keyword.other.rust" in semantic tokens, but "storage.modifier.mut.rust" and "storage.type.rust" in textmate scopes. Because the boulder-sized granularity of semantic token overrides the more granular themes, both end up looking the same:

This is very annoying.



I could disable semantic highlighting, but then I lose underlined variables etc. 2nd example: functions are ALSO "keyword.other.rust", while textmate has them as "keyword.other.fn.rust". Why the semantic highlighting definitions are pure garbage in rust?

Ihmemies fucked around with this message at 16:45 on Nov 30, 2023

PhantomOfTheCopier
Aug 13, 2008

Pikabooze!

KillHour posted:

...
The graph is made up of "triples" which are a set (in the mathematical sense) of facts of the form [subject] [predicate] [object], where subject and predicate are both IRIs* and object is either an IRI or a literal.

So the smallest piece of data you could have is something like
code:
<www.example.com/obj#student1> <www.example.com/def#attends> <www.example.com/obj#school1>
Caught up to this point and am finally ready to ask: Have you looked at Prolog? It came to mind fairly quickly but it's still not clear what breadth of behaviors you hope to support in your "language that actually does or doesn't permit this distinction in a substantively non-pointer fashion". Since a logic language focuses on predicates, rules, and atoms, it seems a natural choice at least as a consideration.

Ultimately though you'll end up back at realizing that SQL or similar doesn't model your question painlessly, and invariably what's provided for business use needs to be at a different layer, and hence a different language: Almost always non-technical, unoptimized, and quite limited.

(Sorry, your discussion was 1mo ago but on the previous page so yeah justpost shrug.)

Hughmoris
Apr 21, 2007
Let's go to the abyss!
Advent of Code just started for 2023, for those wanting to tackle some problems in their favorite (or new) language.

Adbot
ADBOT LOVES YOU

The Fool
Oct 16, 2003


I did last years in a group at work, it was fun

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply