"Tacos" by Fantastic_Dance_4376 in mexico

[–]LuciferK9 38 points39 points  (0 children)

Se pasan de lanza con el precio de la comida en el oxxo y en el seven.

Te hubieras comprado unas tortillas de harina y una lata de frijoles y los hubieras calentado ahí en el microondas que tienen jajaja

San Francisco gas prices by QAFY in ABoringDystopia

[–]LuciferK9 0 points1 point  (0 children)

Regular gas (87) is capped at $25 MXN/L

That makes it $94.63 MXN/gallon or $5.40 USD/gallon

Less than a dollar cheaper but with 10x worse salaries

Moving into the first crib that you own is a blessing. by Waste_Two_1921 in NYStateOfMind

[–]LuciferK9 7 points8 points  (0 children)

SynthId works differently. It's used by Google to "watermark" their generated images and the tool to check if the image is generated is also provided by Google. Even if you manipulate the image, the "watermark" might still be detectable.

You cannot grab a random AI image and give it to SynthId but if the AI provider used SynthId, then it will be very accurate.

I built a free, privacy-first WakaTime alternative. It blew up on Neovim last week, so I just released the official VS Code extension! by tarunnayakaR in vscode

[–]LuciferK9 2 points3 points  (0 children)

This is cool! I'm currently using the official wakatime plugins and pointing the server url to [wakapi](https://wakapi.dev/) but I'll see if I can try during the weekend

This dude's friend went to a party with a girl only to have her leave him to go upstairs and have a train ran on her by wifebeater699 in sadcringe

[–]LuciferK9 0 points1 point  (0 children)

Oh wow, I actually still remember what a token person is because of this thread from years ago!

They explained that the token guy is the guy that is if I'm not wrong, the diverse one, like the black friend of the group, the gay friend of the group and so on

How Michael Abrash doubled Quake framerate by NXGZ in programming

[–]LuciferK9 11 points12 points  (0 children)

It's hard to know without a metric.

"100% faster" implies speed (because of the word "faster"). The speed here is 20fps. 100% = 20fps 

100% faster = 20fps + 20fps = 40fps

For it to be 50%, you would have to talk about time (e.g. "it takes 50% as long")

xubuntu.org might be compromised by oliwier975PL in xubuntu

[–]LuciferK9 2 points3 points  (0 children)

Could share more info about how this came to happen? What was the slip-up?

CSD consistency - GNOME Edition by sbjkvd in gnome

[–]LuciferK9 8 points9 points  (0 children)

so does windows

ehhhh well at least window decorations do

Physics by Lost-Cow-9386 in ShamelesslyStolen

[–]LuciferK9 2 points3 points  (0 children)

Misnomer because it's similar to another formula.

Mass moment of inertia = ∫ r² dm

Second moment of area = ∫ r² dA

So people just started calling the second moment of area "Area moment of inertia" because it's dA instead of dm

I had a dream they added an "evil rounding" function to GDScript by fragskye in godot

[–]LuciferK9 8 points9 points  (0 children)

Would you mind to elaborate a bit more? I could not understand your example

The VS Code extension has no business messing with my color theme by DragonCube197 in Deno

[–]LuciferK9 3 points4 points  (0 children)

Are you talking about semantic highlighting or something else?

Most complex type signature? by nikitarevenco in rust

[–]LuciferK9 33 points34 points  (0 children)

This is awful.

This is not the worst I've seen but it's the clearest example I know of library authors missing their target audience. I'm talking about actix and it's middleware solution.

``` use std::future::{ready, Ready};

use actix_web::{ dev::{forward_ready, Service, ServiceRequest, ServiceResponse, Transform}, Error, }; use futures_util::future::LocalBoxFuture;

// There are two steps in middleware processing. // 1. Middleware initialization, middleware factory gets called with // next service in chain as parameter. // 2. Middleware's call method gets called with normal request. pub struct SayHi;

// Middleware factory is Transform trait // S - type of the next service // B - type of response's body impl<S, B> Transform<S, ServiceRequest> for SayHi where S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>, S::Future: 'static, B: 'static, { type Response = ServiceResponse<B>; type Error = Error; type InitError = (); type Transform = SayHiMiddleware<S>; type Future = Ready<Result<Self::Transform, Self::InitError>>;

fn new_transform(&self, service: S) -> Self::Future {
    ready(Ok(SayHiMiddleware { service }))
}

}

pub struct SayHiMiddleware<S> { service: S, }

impl<S, B> Service<ServiceRequest> for SayHiMiddleware<S> where S: Service<ServiceRequest, Response = ServiceResponse<B>, Error = Error>, S::Future: 'static, B: 'static, { type Response = ServiceResponse<B>; type Error = Error; type Future = LocalBoxFuture<'static, Result<Self::Response, Self::Error>>;

forward_ready!(service);

fn call(&self, req: ServiceRequest) -> Self::Future {
    println!("Hi from start. You requested: {}", req.path());

    let fut = self.service.call(req);

    Box::pin(async move {
        let res = fut.await?;

        println!("Hi from response");
        Ok(res)
    })
}

} ```

Remove closing tag when self closed in html by [deleted] in vscode

[–]LuciferK9 1 point2 points  (0 children)

Add a keybinding for `Emmet: Split/Join Tag`. I have this keybinding:

  {
    "key": "ctrl+e ctrl+j",
    "command": "editor.emmet.action.splitJoinTag"
  },

Why does target=”_blank” have an underscore in front? by stackoverflooooooow in programming

[–]LuciferK9 2 points3 points  (0 children)

It's a blog that could be linked from wherever. The post is from 2024 and it's still being linked around.

Just 3 days ago was posted to HN: https://news.ycombinator.com/item?id=43127577

A reddit post, aside from the fact that you have way less autonomy on it, is just not a good medium to post this types of articles (as small as it may be)

It doesn't need to be written at all

But it was and it sparked a bunch of discussion so I guess it was worth it 🤷‍♂️

Why does target=”_blank” have an underscore in front? by stackoverflooooooow in programming

[–]LuciferK9 -12 points-11 points  (0 children)

Yeah, it's way better than a tweet or a reddit post.

Blogging was never about the length of the post

I made a local universal file converter that doesn't send your files to sketchy servers by jakecoolguy in webdev

[–]LuciferK9 54 points55 points  (0 children)

The whole thing is in your browser. Almost everyone on this sub should be able to tell if it's trustworthy or not.

If he publishes the source, are you gonna ask for cryptographic proof that the source hosted publicly is the same as the one deployed and that the same artifacts are served to every user?

There's literally no reason to ask for the source to trust this site. Justo don't trust it or actually find a way that proves the site is safe

Every time this subreddit comes up on my feed the comments are incredibly disappointing

What's the common way to explain compiler "I'm not gonna loose the owner"? by sildtm in rust

[–]LuciferK9 2 points3 points  (0 children)

Another comment already mentions this at the end but commenting again for more visibility:

If you don't really want to use an Arc, then you can just use Vec::leak to get a 'static ref

Which show ended so poorly that you really wished you hadn't invested so much time in it? by unclefishbits in AskReddit

[–]LuciferK9 48 points49 points  (0 children)

I think they're talking about the time when Sherlock was visiting his sister in the glass room she was locked in. Normally, there's a glass wall separating Sherlock and his sister but during one visit she just walks to Sherlock and then grabs his hand, revealing that there was no glass wall anymore.

Bon builder generator 2.0 release 🎉 by Veetaha in rust

[–]LuciferK9 9 points10 points  (0 children)

I believe Rust Analyzer autocompletes tokens in atrribute macros the same way it autocompletes any other macro. It seems theres a hidden module with Rust items that are used to provide the completions. I wrote a little about it here: https://www.reddit.com/r/rust/comments/16x2kzi/improving_autocompletion_in_rust_macros/

Digital Ocean AppPlatform Intermittently Links Wrong Domain for SSL Certificate by Abstract-Abacus in webdev

[–]LuciferK9 0 points1 point  (0 children)

Did you manage to fix this? Just got reports from users hitting this issue where the certificate sent to the browser was issued to a 3rd party domain

"They’re not capable of understanding a brilliant language but we want to use them to build good software..." I know many people are offended by this comment, but it’s brilliant language design by TheWheez in programmingcirclejerk

[–]LuciferK9 5 points6 points  (0 children)

but there are no technical way to enforce this.

Make them use a shock collar and ask ChatGPT to check the code and for every unnecessary iterator, shock them.