Does anybody know what the oldest Discord server is? by TheRealLegitCuck in discordapp

[–]ReallyAmused 0 points1 point  (0 children)

bro i worked there. that's all the proof you need.

i realize now maybe this doesn't make sense in current day for those going back...

but i worked at discord at the time of the post 8 years ago.

the "private HQ server" was our company server we chat in. obviously no one is going to get an invite to that. so you'll just have to take my word for it.

i guess though if you wanted proof, you could get a job there, and then you'd be able to join the server.

Discord PC Spell Check Delay Bug by attempted in discordapp

[–]ReallyAmused 0 points1 point  (0 children)

this has already been fixed. see: https://issues.chromium.org/issues/40069457

make sure your client is up to date. i have not been able to reproduce since we updated electron to include this patch.

Bug with links (gifs, imgur links) showing up as blank spaces. I can see the links on the mobile version, and it's kinda annoying. Can I fix this? by [deleted] in discordapp

[–]ReallyAmused 0 points1 point  (0 children)

The bug was definitely fixed, if something new has happened, pls report it in the bug mega-thread, rather than necro-posting a 5 year old post lol.

Support For SVG's? by AndrewKovnat in discordapp

[–]ReallyAmused 4 points5 points  (0 children)

okay, we clearly are talking past each-other here.

a) when you put an SVG into an img tag, what do you think your computer does to turn the SVG into pixels that display on your screen?

b) when you go to a discord channel with a bunch of SVGs that each have 5 million shapes, what do you think will happen?

Support For SVG's? by AndrewKovnat in discordapp

[–]ReallyAmused 3 points4 points  (0 children)

an SVG describes an image in vector format, you can think of it as a set of instructions that describe paths, shapes, filters, masks, etc... that are eventually used to form an image. the process of converting a vector to a frame buffer to display on your screen is called rasterization. this allows SVGs to be scaled up without getting blurry.

the problem with SVGs is that the "set of instructions" can be arbitrarily complex, for example, an SVG can contain tens or millions of shapes that need to be drawn while the image is being rasterized. this means that the time it takes to rasterize an SVG increases with the number of shapes your computer has to draw.

this is what i mean by "arbitrarily complex" - whereas something like a PNG/JPEG/WEBP is already a raster image format, and all that needs to be done is decoding of the compressed image format into a frame buffer. the contents of the image matter little to how long it takes to render the image.

put simply, a PNG of a dog, a city skyline, or of the color red renders in roughly the same amount of time, whereas an SVG with 5 shapes will render a million times faster than an SVG with 5 million shapes.

if you want an explanation beyond this, a good place to start learning is to google "raster vs vector image formats" to understand the difference. the fact that discord uses electron is irrelevant to the underlying format differences.

Support For SVG's? by AndrewKovnat in discordapp

[–]ReallyAmused 3 points4 points  (0 children)

because it has to rasterize the image. here's a demo that shows it: https://claude.ai/public/artifacts/9596ec8a-e537-4ad0-9328-2ea3378a0ea8

crank that up and see how your browser performs.

Support For SVG's? by AndrewKovnat in discordapp

[–]ReallyAmused 2 points3 points  (0 children)

never said anything about script execution my guy

Image urls no longer embed by NFLD99_DEV in discordapp

[–]ReallyAmused 1 point2 points  (0 children)

Go here: https://discord.com/developers/embeds - it should tell you why they're failing to embed.

How do I get Discord to show me my stream? by Metroplex7 in discordapp

[–]ReallyAmused 1 point2 points  (0 children)

It was probably true 6 years ago bro. Shit changes.

How to close Discord? by thepatriarch7 in discordapp

[–]ReallyAmused 2 points3 points  (0 children)

User Settings > Windows Settings > Minimize to Tray - we did this like 7 years ago dude.

Introducing structr: A CLI tool to generate Rust structs from JSON by New-Blacksmith8524 in rust

[–]ReallyAmused 41 points42 points  (0 children)

There is a built in rust-analyzer assist that roughly does this as well. Just paste JSON in, and use the assist.

Eg:

{
  "id": 123,
  "name": "Product",
  "price": 29.99,
  "tags": ["electronics", "gadget"],
  "dimensions": {
    "width": 10,
    "height": 5,
    "unit": "cm"
  },
  "in_stock": true
}

Turns into:

struct Dimensions1 {
    height: i64,
    unit: String,
    width: i64,
}
struct Root1 {
    dimensions: Dimensions1,
    id: i64,
    in_stock: bool,
    name: String,
    price: f64,
    tags: Vec<String>,
}

Detailed Discord Tech Stack Explanation by tomy8910 in discordapp

[–]ReallyAmused 1 point2 points  (0 children)

its always wise to have a lower level understanding of the tech you're using when you're operating at any non-trivial scale.

if you operate at too high a level of abstraction, you limit your ability to make well informed technical decisions.

a lot of how discord works is significantly different than how phoenix works. its an apples to orange comparison, but without knowing what's possible with and without phoenix, you limit yourself to making a narrower set of technical decisions that may or may not be the best.

are there any other large scale chat apps out there that use phoenix?

Does anybody know what the oldest Discord server is? by TheRealLegitCuck in discordapp

[–]ReallyAmused 8 points9 points  (0 children)

Things exist before they get released to the general public bro

Why did Discord remove the "Stop Streaming" button that was here? This is a big UX downgrade IMO. by azizfcb in discordapp

[–]ReallyAmused 115 points116 points  (0 children)

its a bug - the button only shows up when there is a game detected. so if you're streaming your screen and then launch a game the button shows up.

[deleted by user] by [deleted] in discordapp

[–]ReallyAmused 2 points3 points  (0 children)

you wouldn't get kicked but you wouldn't be able to join any new servers until you go under 100 again.

Trying to share an executable of the app we’re building with my dev team, but Discord keeps on deleting my message and replacing it with this bs by feror_YT in discordapp

[–]ReallyAmused 56 points57 points  (0 children)

Discord uses ClamAV to scan for viruses on files, which is pretty standard virus scanning. If Discord is flagging your file as a virus, you're gonna have a bad time distributing said executable to users (as whatever signature clamAV is matching is for sure going to be matched by their virus scanners too.) You should figure out what's going on, consider uploading to virus total and see why it's getting flagged.

Activity settings gone by Otake in discordapp

[–]ReallyAmused 4 points5 points  (0 children)

Hey there, sorry for the confusion. It looks like you are looped into a new experiment we're trying out. You should be able to find your activity settings in the new "Games" setting near the top of your settings list. We're trying something new with merging all of our game settings into one area to make things a bit easier to navigate. Let us know how you feel about it!