- 9 Posts
- 820 Comments
TootSweet@lemmy.worldto
No Stupid Questions@lemmy.world•Why does not a CR (Carriage Return) automatically start a new line on some online text editors?English
1·12 hours agohttps://lemmyverse.link/lemmy.world/comment/24735359
Also:
hit enter and not get any result
You mean “hit enter and have it not affect the rendered output.” It does produce a result. It makes it appear/act differently in the editor. That’s not “not getting any result.” Just “not getting any result” that’s visible in the rendered output.
TootSweet@lemmy.worldto
No Stupid Questions@lemmy.world•Why does not a CR (Carriage Return) automatically start a new line on some online text editors?English
61·13 hours agobut why isn’t it “fixed”?
Because it is useful to many people in certain contexts. It’s not a bug. It truly is a feature. Not something to be “fixed”.
You may prefer your ice cream strawberry flavored, but that doesn’t mean any ice cream that is instead chocolate flavored is “defective” and needs to be “corrected” or “fixed” to make it strawberry flavored.
TootSweet@lemmy.worldto
No Stupid Questions@lemmy.world•Why does not a CR (Carriage Return) automatically start a new line on some online text editors?English
3·12 hours agoSo, I think I kindof know what you’re getting at here, but you’re not being very precise about it.
First some definitions (just for purposes of this conversation – don’t take this to be any assertion that a particular term always inherently has a particular meaning, it’s just a tool for this conversation specifically):
- Character: a single unicode character.
- Plain text: unicode text absent any formatting.
- Source: the plain text to be fed into a Markdown renderer to produce rendered output.
- Rendered output: the formatted output of a Markdown renderer, as displayed to an end user.
- Editor: any computer program or component of a computer program for the entry of plain text.
- Line: text (plain text or rendered output, depending on context) rendered at the same vertical position.
- Line break: the point at which text (either plain text or rendered output depending on context) starts rendering on the next line because of a newline.
- Newline: a character that always forces a line break in an editor. (Remember “editor” is only about plaintext, so a newline doesn’t necessarily force a line break in rendered output.)
- Wrap: the point at which, absent a newline, text starts rendering on the next line due to column width constraints.
(As an aside a line break is sometimes accomplished with a “line feed” character. A “carriage return” character is something else that isn’t the same thing. Which is a big part of where the confusion comes from.)
What you’re saying, I think, is that putting a single newline in the source doesn’t result in a line break in the rendered output. Is that right?
In some editors (Vim being one I know of), when plain text word wraps, pressing “down” when the cursor is on the first line of a wrapped series of lines causes the cursor to jump not to the second line of wrapped text, but to the first line after the next newline. To illustrate:
If this line is wrapped due to being wider than the available width. And if this line is on its own line due to being immediately preceeded by a newline.If your cursor in the above example was on the “w” in the first line there, pressing down would take the cursor to the space immediately before “is” in “And if this line is on its own line”.
As a result, it can be quite a pain to deal with word wraps in such editors. This is part of why certain code style guides (like this one and this one have hard limits for how many characters are allowed before the next newline.
Given how much more convenient line breaks can be than word wrapping, people writing source to be rendered into rendered output may wish to be able to insert newlines to cause line breaks in the source without causing any change in the corresponding rendered output.
That all make sense?
At least that’s most likely at least one reason why the people who invented Markdown decided specifically to make Markdown work that way.
Edit: Holy Shit, look, I’m just an idiot typing text expecting WYSIWYG and I don’t see a good reason for why I’m not getting it other than that programmers lack theory of mind.
I’m glad you’re not in charge. I very much don’t want to go back to the days of having TinyMCE embedded in everything.
TootSweet@lemmy.worldto
No Stupid Questions@lemmy.world•Why does not a CR (Carriage Return) automatically start a new line on some online text editors?English
52·14 hours agoI’m not sure why there’s so much confusion.
Because you’re not using the right terminology. ;)
TootSweet@lemmy.worldto
No Stupid Questions@lemmy.world•Why does not a CR (Carriage Return) automatically start a new line on some online text editors?English
81·14 hours agoI think they’re talking largely (mostly?) about Markdown. (For instance, in Lemmy, when you stick a newline there, it doesn’t give you a line break in the flow of the text.) And when they say “Carriage Return”, they don’t know what they’re talking about. If I’m interpreting them correctly, I think they just mean “newline”. And when they say “two spaces”, I think they mean two newlines.
I know the feeling. Truly we are living in the strangest timeline.
It’s true that the public keys aren’t sensitive and nothing is compromised (in fact, it’s recommended) if the public key is available from, say, a key server.
But MITM is always a concern. Public-key encryption is supposed to mitigate that by ensuring that any third-party listening in in the middle can only get the ciphertext and cannot derive the plaintext of the communication.
But, if a jurisdiction legally forces a rule like the “we get to snoop on everything” one in this law, it changes things. They could, for instance, force key servers to to only give out keys that are generated/controlled by the EU agency so that they can MITM to their heart’s content. My guess at Aniki’s thought process is that if there’s a central distributor of keys, that can be legally strong-armed into bad things, but the people you’ve talked directly to are a different matter. “Web of trust” as it were.
I do think there are probably better ways to deal with that than what Aniki’s getting at, though. If you have Alice’s public key, you can verify signatures she generated, and you can be sure (hand-waves, rubber-hoses, caveat emptor, blah blah blah) that if you have a valid signature signing Bob’s public key with Alice’s private key, Alice vouches for that specific public key being authentically Bob’s public key.
Now, if you only ever get public keys from a small set of (compromiseable) central key servers, then the very first public key you get could be compromised and any other signature generated from the associated private key could be forged by an adversarial party (like the EU.) And theoretically the EU could generate a whole counterfeit web of signatures. So there’s benefit to having at least some of the public keys you trust come directly from the one who generated the key through a known-secure channel.
Before this law goes into effect, (maybe) we can trust at least some of the signatures in public key servers and use those as a basis for secure communication from which we can create a pool of known-uncompromised (qualifier, caveat, tin hats, etc) public keys, and based on those (maybe) detect forgeries and such.
(Mind you, I don’t know the details of this law or whatever. It might be that the law as written will require, say, GnuPG to introduce backdoors. Not that I think they should, no matter what the law says, but it might be that the EU isn’t really likely to engage in quite the lever of subterfuge that I’ve outlined above. It might be more of a blatant “fuck you, we’re the government and you’re going to comply” approach than a sneaky-sneaky trick-everybody-into-thinking-they’ve-got-security-they-don’t approach.)
I shudder to think of a future in which we’re like “I miss trump”. 😬
Jesus. I’m not in the EU, but how is this the first I’m hearing about this?
Time to go back to email and GnuPG.
TootSweet@lemmy.worldto
Unpopular Opinion@lemmy.world•Organized team sports should be very low cost or free.English
61·6 days agoIs there anything that shouldn’t be free?
TootSweet@lemmy.worldto
Gaming@lemmy.ml•"The 'AI Stigma' is real and severely punishes developers": A new study shows how much using AI in games hurts sales, and the numbers are hard to believeEnglish
1·10 days agoLook, it’s an objective fact that people have a hard time distinguishing AI generated video from real video.
Not without a lot of curation.
“this looks horrendous and nobody could ever like it”
I never said that. What I meant by the “do you really think this is the destination” comment is how can you look at a very curated collection of AI-generated video snippets and extrapolate from that that the Stable Diffusion (or whatever) model they used can be just unceremoniously dropped into a game engine without tons of random hallucinations like turning random wood grain in a fence into a full-ass hallucinated person or dog or steak dinner or whatever. And without making one character look drastically different now than they did the last time you visited them 20 minutes prior. (You’ve seen videos of beauty filter fails, haven’t you?) Let alone extra fingers and garbled text and accidental body horror and stuff.
If you generate a bunch of stuff, throw away the stuff that doesn’t look right (a.k.a. “curate”), and carefully edit the remainder into a video, yeah, you can get some pretty decent-looking results. But that’s not how games work, unless you’re just talking about pre-rendered cutscenes.
this could move video games towards photorealism
This can’t. Not without something we have yet to invent. And thinking that whatever may some day exist that can is in any way related to the “this” that you refer to is speculation at best.
you’re saying nothing that precludes it.
I’m not saying photorealistic video games won’t happen. I’m saying that the companies forcing it on gamers are knowingly (or at least uncaringly) pulling a massive grift marketing what’s available today as the thing that will fill the promise of perfect photorealistic video games when nothing like that exists today and they have no reason to think it will any time soon.
You clearly hate AI
“AI” can mean a lot of things. I took a course in college in 2005 called “Introduction to Artificial Intelligence”. And in that class, they introduced me to the A* algorithm. (When you do an escort mission in Skyrim and an NPC follows you, the code that determines how the NPC should traverse the distance between the two of you in order to remain in proximity to you – accounting for terrain features, circumventing obstacles, etc – is almost definitely the A* algorithm or some minor variation of it.) I can say I’m fully down with the A* algorithm and have nothing against it. I’ve had occasion to play chess against chess engines several times. 10/10 would play again.
As far as LLMs, Stable Diffusion, and DALL-E are concerned, guilty as charged. And the way the industry conflates all of “AI” as if it’s one thing and not a whole bunch of different things (touting advancements in drug research as some kind of proof that their completely unrelated LLM is competent or whatever, for instance).
and hate anyone who likes anything about it.
I mean, I think you’re pretty self-deluded, but not any more so than you think the same of me (as your “that blinds you to reality” states pretty plainly).
Beyond that, the whole world seems to be conspiring to make Generative AI not optional. Want to opt out? Fuck you, your search engine just spats slop on your screen now and some of your favorite content creators on YouTube are slathering it all over their videos now, and your phone and your computer and your browser just updated and now nag you constantly to use AI summaries and stuff. You also have to smile and be diplomatic about it at work because the CTO made a deal with Microsoft to push Copilot on you constantly. Plus, the communities that you’ve enjoyed previously are suddenly inundated by Generative AI fanboys filling your feed with shit.
And I have to imagine it would be hard for someone who thinks Generative AI is “a good thing actually” to really grasp just how fucking intrusive it is to be force-fed that so constantly. It has a way of turning a mild dislike into seething hatred. (Even if Generative AI was innocuous, the Green Eggs and Ham factor huge. At least that guy only had to deal with one Sam-I-Am.)
TootSweet@lemmy.worldto
Unpopular Opinion@lemmy.world•A lot of Anti-AI people seem very illogical in their concerns and how they address it and I am tired of people pretending that is normalEnglish
6·10 days agoI might have to make a community called “downvote unpopular opinions” with the specific purpose of posting unpopular opinions so that they can be downvoted.
TootSweet@lemmy.worldto
Unpopular Opinion@lemmy.world•A lot of Anti-AI people seem very illogical in their concerns and how they address it and I am tired of people pretending that is normalEnglish
41·10 days agoHey, fuck yo-
Oh, it’s in /c/unpopularopinion. sigh. upvote.
TootSweet@lemmy.worldto
Technology@lemmy.ml•Game Discs Deserve to Die - By Kyle Barr - GizmodoEnglish
10·10 days agoSummary by Brave Leo AI
I’m not usually one to kink shame, but in this case I can make an exception.
I’m fine with DRM as long as I can break it.
… in a jurisdiction with no anticircumvention laws, of course. 😶
You want to get peanut butter all up in the door chamber that the window recedes into?
TootSweet@lemmy.worldto
Gaming@lemmy.ml•"The 'AI Stigma' is real and severely punishes developers": A new study shows how much using AI in games hurts sales, and the numbers are hard to believeEnglish
1·13 days agoSee Skyrim NPCs with AI and Skyrim remastered by AI.
The first video in the search results in the first link here has “it got weird fast” in the title and NPCs are breaking the third wall and responding strangely to things in general. (The lady at the orphanage mentioned the player “looking through a flickering screen.” I didn’t watch much further than that.)
The second is likely heavily curated and variables very strictly controlled. The characters are perfectly centered in frame and standing mostly still aside from idle animations. The landscapes are… well, they’re inherently still life. There’s no actual gameplay showcased, and there’s no indication from the video just how many of the video creator’s attempts had major issues like too many fingers or were scrapped in favor of the ones that turned out better. The art style switches strangely between characters, with, for instance, the first one looking much more photographic and the second mimicking more what you’d get from a better-quality 3D render. And many of the characters feel very uncanny valley. (The third one, for instance. I haven’t watched that video much further than that either.)
So, yeah, if those videos are “testing it to see if it works”, the answer is a resounding “no”. There’s nothing workable there, and no indication LLMs and Stable Diffusion are a step in the right direction, despite what Nvidia might tell you.
I mean, do you watch those videos and think to yourself “this is it – this is the destination – we’ve done it”?
So no it’s not the same as what is driving the current bubble lol.
I mean, there’s no there there, and no reason to think there ever will be beyond the fact that humans seem pretty intent on developing AGI. Clearly what AI can do now isn’t any kind of boon. So what’s keeping people high on hype if not empty hopes for a breakthrough in the near future?
if you don’t believe that understanding and responding to complex text requires some basic level of reasoning and intelligence.
That’s the opposite of what I said. The kind of real-time dynamic responding to things you’re talking about requires reasoning and intelligence, but LLMs possess neither.




Have you ever actually ridden in an elevator that played music? I’m not sure I can remember ever having that experience.
Of course, I’m familiar with the term “elevator music”. And I don’t doubt music in elevators was a thing or anything. But I’m surprised to hear it’s a thing now-a-days.
I think I’ve probably been in elevators in establishments where music was playing over a speaker system, and the music was audible in the elevator, but the music was never only in the elevator as far as I can recall.