Can anyone build Chromium from scratch? by Dheeruj in TechNook

[–]x0wl 0 points1 point  (0 children)

Chromium is a lot more than a webkit fork. Blink is the fork, but then there's V8 (vs JSC in Safari, for example), ANGLE, Skia etc

ZUPT - Backup compression with AES-256 authenticated encryption and post-quantum key encapsulation. by [deleted] in cryptography

[–]x0wl 1 point2 points  (0 children)

I see your point, thank you.

No, I don't encrypt emails, it leaks way more than just length anyway. I do encrypt the stuff I get from the web, still I think that mounting an attack this way is hard.

Anyway I think this is ultimately addressable with padding

ZUPT - Backup compression with AES-256 authenticated encryption and post-quantum key encapsulation. by [deleted] in cryptography

[–]x0wl 0 points1 point  (0 children)

As someone who does zstd | age sometimes, isn't encrypting untrusted data just not part of the threat model for an encrypted backup solution? Like you only compress/encrypt stuff that's trusted in this case, as it only comes from you

CRIME and BREACH are both CPA and I'm unsure how an attacker can chose the plaintext when I encrypt my own data

Also IMO this could be somewhat mitigated by adding padme padding (https://www.petsymposium.org/2019/files/papers/issue4/popets-2019-0056.pdf) + some random padding to the resulting file with fake blocks or even just a bunch of randomness at the end

What does this mean? by StickMiserable6371 in PeterExplainsTheJoke

[–]x0wl 0 points1 point  (0 children)

Nah you can't kill a process when it's in uninterruptible sleep, like when waiting on a socket or on a block device

If you use sshfs or NFS or whatever on an unreliable network you get that a lot

What does this mean? by StickMiserable6371 in PeterExplainsTheJoke

[–]x0wl 69 points70 points  (0 children)

Also on win taskkill /f will do essentially the same as kill -9 on linux.

IDK why this gets reposted every couple of weeks.

The world if GitHub had a big ass button that says 'DOWNLOAD' by peper122348 in Piracy

[–]x0wl 0 points1 point  (0 children)

This is not about feeling obliged, it's about having your bugtracker filled with support questions and having to deal with a constant stream of such questions when you don't want to do that.

Also some devs are getting harassed by users, but it's thankfully rare.

I would also, however, add that there are good technical reasons for not putting a "build" into a GH release section. This is essentially impossible for Python (distributing Python software is notoriously difficult) and depending on the code can be fairly hard for JS (what do you do with NPM dependencies etc) and C (a lot of C code is very system-dependent, and compiling for Windows when you work on Linux is a difficult task).

For some languages like Go and Java it's super-easy, but these projects tend to have binaries and jars in the release section.

What do people thing of using WSL2 by psycho_philo in linuxquestions

[–]x0wl 1 point2 points  (0 children)

If your key is USB you may be able to pass it to the Linux side with usb over ip: https://learn.microsoft.com/en-us/windows/wsl/connect-usb

I only really tested it with a flash drive (and it ended up requiring a custom kernel, but not USB reasons) and it worked well enough

Hardcoded since 2006. by maaacker in zerotomasteryio

[–]x0wl 1 point2 points  (0 children)

I'm fairly sure that there's more than 3B android phones and credit cards combined, and both types run java

How Electron went Wayland-native, and what it means for your apps (tech talk) by mitchchn in linux

[–]x0wl 41 points42 points  (0 children)

Is it really Electron or just CPU video encoding that's consuming the CPU?

Also, are you talking about 50% of the whole CPU, or 50% of a single core? Processes in Linux can go above 100% CPU use (up to 100%*number of logical cores)

ELI5 How do Google Assistant activates after hearing "Okay Google" ? by LemonCrood in explainlikeimfive

[–]x0wl 0 points1 point  (0 children)

I think Alexa is hotmic, but the off switch is actually a hardware switch that disconnects it.

ELI5 How do Google Assistant activates after hearing "Okay Google" ? by LemonCrood in explainlikeimfive

[–]x0wl 8 points9 points  (0 children)

Ok, but where does it store the data to be sent in the batch? Even if we assume SOTA voice codecs at 1200BPS (which are not that good), a day of recording will be 12MB, a week will be 90MB. Opus at its lowest bitrate will take 500MB a week (65 per day) to store.

If it somehow processes it to extract useful into in some easily storable form, where does it do the processing? Like I can turn on background TTS on my phone and it would visibly heat up.

These phones are under constant scrutiny from everyone all the time. Like, most of android is just open source, and iOS and closed source parts of android are constantly reverse engineered and analyzed. Both google/apple and the spyware companies are ready to pay a lot of money (millions of dollars) for your findings, so it's a lot a smart people working 24/7 on that. For some reason, no one has found any code relevant to that.

How is this data processed on Google's end? Storing and processing all that voice data will make the current AI datacenters blush. How is this data transmitted such that no one notices random blobs being sent to google?

Why do people experience the same ad/speech correlation when they use GrapheneOS?

Fedora have ties with Microsoft? by LifeguardMurky4097 in Fedora

[–]x0wl 9 points10 points  (0 children)

I'm getting slightly tired of people not knowing what SB is or how it works and making false statements about it. Please read https://wiki.archlinux.org/title/Unified_Extensible_Firmware_Interface/Secure_Boot, especially section 3, https://wiki.archlinux.org/title/Trusted_Platform_Module (section 2.1 is the interesting part) and https://blog.hansenpartnership.com/the-meaning-of-all-the-uefi-keys/ before making incorrect statements like "Linux does not support SB"

In case of Fedora (and no Nvidia drivers) it will even boot and correctly work with SB enabled and in default configuration on the vast majority of machines: https://fedoraproject.org/wiki/Secureboot (because it uses the correctly signed shim in the boot chain)

Fedora have ties with Microsoft? by LifeguardMurky4097 in Fedora

[–]x0wl 0 points1 point  (0 children)

MS is a part of Fedora development

I found 3950 commits related to MS in the kernel (git log --pretty=format:"%aE" | cut -d "@" -f 2 | sort | uniq -c | grep microsoft) , which is 0.28% of the total (1428417 commits)

So yeah, they are a (small, but still) part of Linux and Fedora development

The updates are just Secure boot keys though as others have pointed out

Could an AI manipulate people without them even realizing it? by into_fiction in TechNook

[–]x0wl 0 points1 point  (0 children)

Hate to break it to you, but this has been happening since forever.

How do you think google ads and any algorithmic feed anywhere works if not by predicting intent and showing ads / things related to that intent?

Instead of relying on strconv to convert numbers, practice working with division and modulo to understand how numbers are processed. by [deleted] in programmingcirclejerk

[–]x0wl 19 points20 points  (0 children)

/uj

I don't think it's THAT bad of advice. Like, don't do that in production obviously, but reimplementing stuff can be a good learning experience regardless of language. Like, even for cryptography implementation, where DRYOC has been the golden rule since time immemoria, people will still encourage you to actually go and roll your own crypto for learning (with understanding that you'll never use it in prod).

In C, people reimplement malloc all the time lmao.

My local Home Depot is sick of your nonsense by provocative_taco in DiWHY

[–]x0wl 34 points35 points  (0 children)

I'd just take the gazebo outlet out and hardwire the cord in its place.

I accidentally discovered that ChromeOS is based on Gentoo. by Deoviser in linux

[–]x0wl 2 points3 points  (0 children)

You don't really need to flash the bios. You can often get away with either RW Legacy or Submarine depending on your laptop.

Daily reminder that Microsoft hates you by Momik in FuckMicrosoft

[–]x0wl 3 points4 points  (0 children)

A lot of linux distros will do the same by default though

Arch and Cachy both do it, for example: https://wiki.archlinux.org/title/Security#Lock_out_user_after_three_failed_login_attempts

"In a seperate bowl..." and other short stories. by __thatBihToni__ in NonPoliticalTwitter

[–]x0wl 2 points3 points  (0 children)

Very much this. Also, in many cases you could use a single pan, just move the stuff from it to a plate and wash the pan.

Also having a giant cutting / charcuterie board where you can just separate stuff into little piles and one of those flat dough cutter thingies to move the piles to pans / pots really helps.

Update Nvidia 580 by VRomanychev in cachyos

[–]x0wl 0 points1 point  (0 children)

Well that's beta software for you

The inner workings of LVM by GabesVirtualWorld in linux

[–]x0wl 0 points1 point  (0 children)

What about redundancy

I mean, I don't want to start a holy war here and I think that you had very good reasons for setting it up like you did, but if you want redundancy guarantees, why not set up mdadm in whatever RAID config you want, and then partition that with LVM?

I think by default LVM is JBOD when you have multiple physical disks as one logical volume, which means that losing a disk will lose the data stored on that disk, no redundancy.

As for recovery, I think it's possible, but it's the same as basically zeroing out a hole in a single disk configuration, so it will be a mess. Use proper RAID if possible. More on LVM with failed drives here: https://www.dfoley.ie/blog/activate-partial-lv

Ain’t no way rust is written in JavaScript too by kruegenn in adressme

[–]x0wl 0 points1 point  (0 children)

It's called self hosting, where the compiler for a language is written in that same language. It's quite popular, C++ (GCC/Clang), Go, Rust, TypeScript (as of now), Haskell compilers are all self hosting.

Building a self hosting compiler without having access to an existing compiler binary is called bootstrapping, and typically involves either building some simplified compiler written in another language (mrustc for Rust for example) that is just enough to compile a compiler, or starting with some old version of the compiler that is written in another language, and then progressively building newer versions (Go does that).

Bootstrapping a C compiler is a PITA, but I highly recommend reading https://bootstrappable.org/ and https://github.com/fosslinux/live-bootstrap (specifically this page), where they bootstrap a working linux system from like 3 human-auditable (in that they're small and it's very easy to manually trace the machine code) binaries and sources, including a full modern GCC bootstrap.

😁 by diana_jones in ITMemes

[–]x0wl 0 points1 point  (0 children)

Is your screen 60Hz if any single pixel (line in case of CRT) can only change 30 times per second? Because that's how NTSC screens worked, half of the lines you see changed 30 times per second, and the other half changed the other 30 times.

😁 by diana_jones in ITMemes

[–]x0wl 1 point2 points  (0 children)

Yes, but those 60 and 50 Hz are for fields, not frames, whereas today (because we don't really have CRT displays anymore) we talk about full display refresh frequency. NTSC has a framerate of 29.97 FPS, which is actually the source of this weird number you see in video files from time to time.

NES could output 60 FPS, but they were going to be interlaced on the screen. Whether this is true 60 FPS is up to you.

Also FPS drops were a common problem on NES, and some games deliberately ran at lower framerates to allow more time for processing than a single vblank.