10,594 karma · joined Dec 4, 2013 (12y ago) · 4,862 submissions
comment 3y ago · link · parent
I wonder if people who remember many of their dreams have different experience? To me it's pretty much like GP: mid sentence and then boom, gone.
comment 3y ago · link · parent
But it's really not the issue here.
They invented "super resolution" just as they could have used "ultra denoiser" or "elite acne spot remover" or whatever other bullshit term they think they could use to get away with to "explain" why they're sniffing pictures.
The goal is to send the images to Microsoft and nothing else.
comment 3y ago · link · parent
I always read the script and do also verify they're only using ASCII chars (and if they're not, I check which Unicode shenanigan is ongoing).
For example:
... $ file /usr/local/bin/somescript.sh
/usr/local/bin/somescript.sh: Bourne-Again shell script, ASCII text executable
FWIW most of the scripts out there are only ever using ASCII chars.comment 3y ago · link · parent
For a start it's 2023 and all browsers do support lossless webp [1].
Lossless webp (webp can be both lossy or lossless) is not only typically smaller than most optimized PNG files but also compresses faster than the optimized PNG encoders.
So, basically, the main reason to use PNG in 2023 for anything Web related is if you like wasting bandwith. For 99.95% of the PNG files (something huge like that) are smaller when encoded with lossless webp.
Heck, even my Emacs supports webp images.
Then other formats are already knocking on the door and promise even better compression than webp.
comment 3y ago · link · parent
Nice! FWIW during the lockdown I happened, by chance, to be in alone, far from my family, in the house where I grew up. Well, not alone... My C128 was there. After watching tutorials on Youtube as to how to clean and grease the disk drive, I found out that a good 1/3rd to one half of my 5"1/4 floppies from the eighties could still be read 100%.
So I'm not surprised he could use old disks, in addition to his printed listings, to get back on his project!
comment 3y ago · link · parent
The Toyota CH-R my wife had did that. Above 50 km/h / 30mph the steering wheel would gently "shake" if you tried to switch lanes without using your blinker.
Several brands/models offer that, sadly sometimes as an extra (FWIW I think it should be illegal to offer that as an extra: it should either come stock or not be offered at all... Safety features shouldn't be something you need to pay for).
It's not at all self-driving though.
I also enjoyed the side mirrors indicating (using some kind of yellow LED) when there was a vehicle in the blind spot.
comment 3y ago · link · parent
Alameda did many illegal things, including lying to investors about their returns to get funding. And pump and dumping a huge lot of shitcoins which SBF created or funded.
So I don't doubt they'd also frontrun their customers.
comment 3y ago · link · parent
I'm running Debian 12 (since the soft freeze I think) on my newly built AMD 7700X. I wouldn't exactly call that "ancient hardware".
Zero issue. No headaches for me. FWIW I'm running Debian since Debian 1.1 (1.1, not 11).
comment 3y ago · link · parent
Use the Source, Luke.
If there's something too shiny that I really need on my Debian, I compile it from source.
For example Emacs 29, with tree-sitter and whatnots, is just too shiny. So I compile it from source.
comment 3y ago · link · parent
So basically the SEC failed to protect people from that ponzi scammer boy SBF was, but they're going after the like of Binance and Coinbase, who, so far, never stole a cent from anyone?
comment 3y ago · link · parent
I can write a program in less than 100 lines that can do next work prediction and I guarantee you it's not going to be reasoning.
Note that I'm not saying LLMs are or are not reasoning. I'm saying "next word prediction" is not anywhere near sufficient to determine if something is able to reason or not.
comment 3y ago · link · parent
As I read it it's not about transforming kids into luddite. I don't see where it's explained that, say, a 10 years old cannot play Fortnite at home or that a 8 y/o cannot play Animal Crossing on the Nintendo Switch.
It's specifically about preventing kids from wasting their lives on that inferior piece of mediocre turd that a smartphone is.
comment 3y ago · link · parent
comment 3y ago · link · parent
Something like the following repetition is ultra common:
"C'etait bien ?" (What is good?)
"Oui c'etait bien. Enfin, pas 'bien bien' mais... Bien". (Yes, it was good. Well, not "good good" but... Good).
The "x is x" is ultra common too, say to a kid, when it really needs to go to bed:
"J'avais dit dodo et dodo c'est dodo!" (even if it's not proper french, it's a typical way to talk to kids: "I said bedtime and bedtime is bedtime").
Even with french "verlan": *"Il etait relou. Pas relou-relou mais quand meme un peu relou!".
Also I'm sure I hear this one all the time: "Quand faut y aller, faut y aller!".
It's everywhere in french.
comment 3y ago · link · parent
But that's precisely how I use these keys: I remap the one at the left of the (always very narrow on japanese keyboard) spacebar to "Hyper".
Note that the USB HID doesn't have the concept of the Hyper key (so I remap it from X11 / xkb).
Now... Some may wonder: why buy a japanese keyboard and not some fancy ergonomic / DIY keyboard? Several reasons. Japanese is kinda a big country and japanese keyboards are here to stay, so my trick shall keep working until long after I'm dead. Japanese laptops: japanese keyboard on the laptop, I now effectively can have a laptop with a "Hyper" key.
And then the main one: the DIY keyboard community can apparently only do variations of Cherry switches or similar switches. My switch of choice is Topre. I didn't find any DIY keyboard with Topre switches.
So I use a japanese keyboard, with Topre switches. And I remap it and there's nothing "japanese" about it anymore.
comment 3y ago · link · parent
I first added this new "THREE_HYPER" using three levels (you can add more levels if you fancy that):
type "THREE_HYPER" {
modifiers= Shift+Hyper;
map[Shift]= Level2;
map[Hyper]= Level3;
map[Shift+Hyper]= Level3;
level_name[Level1]= "Base";
level_name[Level2]= "Shift";
level_name[Level3]= "Hyper3";
};
Then the "interpret" does the magic: interpret osfUp {
repeat= True;
action = RedirectKey(keycode=<UP>, clearmodifiers=Hyper);
};
And for each key, assign the arrow key redirection you want (showing only "i" for up here): key <AD08> { type= "THREE_MESH_HYPER", symbols[Group1]= [ i, I, osfUp ] };
I'd say that it's not a job for xmodmap but for .xkb.Also I don't use xmodmap at all: I set everything, including all the modifiers, from my .xkb file.
My xmodmap output for Hyper (which I set, from .xkb, as mod5):
... $ xmodmap | grep mod5
mod5 Hyper_L (0xcf)
You'll want to read on .xkb but this should get you started.comment 3y ago · link · parent
It's like pressing the arrow keys.
And it works fine with shift, for as far as any app are concerned they're only seeing "shift + arrow key(s)".
It would work with Super too.
I'll find some part of the .xkb file and paste them here in a few moments.
comment 3y ago · link · parent
But...
> There's just no reason to do the job when you can get the same compensation working remotely in tech.
Compared to serving ads and/or engaging in surveillance capitalism, at least there's a lot of comfort in that they're doing (and you 're doing) a useful job.
So I know it's not much but thanks a huge lot for what you're doing.
comment 3y ago · link · parent
There are lists updated in real time by white hats, sharing exact IP of machines known to be engaging in bad behavior. You can, if you want, update your servers in real-time from these lists and then act accordingly: drop the traffic, reject the trafic, serve a "your IP address is participating in brute forcing attempts" page, etc.
FWIW some ISPs may be monitoring these looking for IPs on their subnets and acting accordingly.
It's not about "being a jerk". It's about giving attackers the middle finger.
comment 3y ago · link · parent
If the several orders of magnitude (two in this case) improvement can be used to train other models, that's quite a thing no?
comment 3y ago · link · parent
I completely disagree with that. 110 dpi is totally fine for desk work. Always has been and will probably continue to be for a really long time.
I take my 38" doing 3840x1600 at 110 DPI over a 27"K (or even two) doing 218 DPI any day.
Now if you do photography or work on designing bills (as in money), then you'll want higher DPI. But for "desk work", there's zero need for anything more than 110 DPI. It may be "nice" to have retina fonts but it's by not a requirement.
I'd even say the real world is powered by something like 95%+ of people doing "desk work" on 110 DPI (or less) screen.
Also, if 5K / 218 PPI is the "minimum pixel density" for desk work, what's the minimum density for creatives?
comment 3y ago · link · parent
My wife's (ex-) 2019 Toyota CH-R had warnings for vehicles in blind spots while driving (or parking) and gave a nice feedback in the steering wheel if, when above 50 km/h, you'd steer out of your lane without using your blinker. It was very convenient and a nice security feature without claiming to be an auto-pilot.
comment 3y ago · link · parent
That function takes no argument. I've never seen initializing a single variable and returning the result of that initialized variable from a function call taking no argument called "memoization".
Memoization is a specific type of caching with a space/time trade-off where the result of a particular (set of) input(s) are cached.
I find it quite a stretch to call initializing a single integer for a function taking no parameters "memoization". I'd just say the function's return value is "cached".
I mean: by kinda, sorta, bending the definition of memoization (for example by changing "caching the function's results based on the inputs" to "caching the only result for there's no input to the function") you could say that it is actually memoization but then I'd argue this is not a great example of what memoization is.
I may be wrong though.
comment 3y ago · link · parent
So I'm an "old HP printers" fan. And yet I'd never ever buy anything from HP.
FWIW I'm very happy with Brother. We've got several Brother laser printers and "laser printer + scanner" and we're very happy with these. Zero problem.
HP fell really low.
comment 3y ago · link · parent
I'm a software dev, not a sysadmin, but I can find my way around configure Linux machines.
I don't remember it as being particularly complicated. What I do remember for sure though is that once it worked, it worked flawlessly for years.
comment 3y ago · link · parent
I did put six Cisco VoIP phones and all was working fine as long as no more than four phones were used simultaneously (which never happened). It worked for years like that and wife ended up selling her SME with these VoIP phones still hooked to the RPi 1. We warned them that that thing was kinda a hack ; )
For anyone hesitating: it's not hard to set up. Find a provider to get a SIP trunk, configure the thing, backup the config (I just imaged the entire drive), and you're good to go for a very long time.
It's simple, reliable, stuff that usually won't move under your feet.
comment 3y ago · link · parent
Wait... Doing just "su bob" is vulnerable to a known decades old exploit. You should do either "exec su bob" or "su -P bob" or you just gave bob root rights on every Linux kernel older than 6.2 (and I think on 6.2 and more recent the default is still insecure?).
It's explained here with a simple PoC exploit (I tried the exploit and it works/worked) and it's been frontpage on HN in the past I think: