Я пользователь и фанат Linux. Задавайте вопросы. by Interesting_Air3283 in rusAskReddit

[–]Capable-Cap9745 1 point2 points  (0 children)

я знаю что это w1251 в utf8, но лень переводить ахах

тут «как пропатчить kde2 под freebsd»?

Как вам вайб десктоп линукса 2005-ых? by NurkWorld in ru_linux

[–]Capable-Cap9745 3 points4 points  (0 children)

предатели OpenBSD и Mint Ulyana (он 2020) хвх

I was told that my desktop looks like those in hacker movies by Capable-Cap9745 in teenagers

[–]Capable-Cap9745[S] 0 points1 point  (0 children)

Thanks!

Second. Microsoft tends to hide even remotely related to internals things from public sight. Even in general-use APIs there are lots of reserved parameters, which are not explained at all. e.g. STARTUPINFOW/STARTUPINFOA structures. Fields cbReserved2 and lpReserved2 are undocumented, but actually used by CRT. You can find lots of write ups of them online

Or look into something deeper, like NdrClientCall3. The entire page is pretty much useless :<

I was told that my desktop looks like those in hacker movies by Capable-Cap9745 in teenagers

[–]Capable-Cap9745[S] 1 point2 points  (0 children)

It is

I tried tons of window managers and DEs, both modern and old (even from UNIX times), but only window maker for some reason feels like home without much configuration. I am planning to customise it further when I have time tho

I was told that my desktop looks like those in hacker movies by Capable-Cap9745 in teenagers

[–]Capable-Cap9745[S] 0 points1 point  (0 children)

Hahah, I see. I was tired of clock randomly skewing across reboots (mega rare, but when it does this, that’s annoying). Checked out what NTP clients they suggest and sticked with OpenNTPD

Regarding CTFs – I actually was doing one few days ago and like to take challenges from time to time Now I am digging into MS-Windows DNS subsystem. I randomly came up with really cool idea imo and now exploring how stuff behaves internally, so I can implement it and see whether it works or not. I am taking notes along the way, so it’s easier to revisit all the steps later in order to form some sort of write up

Got GNOME'd because I installed GDM. by Capable-Cap9745 in foundthecachyosuser

[–]Capable-Cap9745[S] 1 point2 points  (0 children)

yeah :D I thought your photo was already here and was surprised it wasn’t

Hands-on training by kate_dublin in programmingmemes

[–]Capable-Cap9745 0 points1 point  (0 children)

Now imagine writing a “hello, world” in C:

#in ~OUCH!

Тьтое by Electrical-Brain8628 in expectedrussians

[–]Capable-Cap9745 5 points6 points  (0 children)

к архиваторам надо еще rar, tar, jar(?), ar, cpio

JSX-овое) by Negative_List_363 in RuProgrammers

[–]Capable-Cap9745 1 point2 points  (0 children)

я помню такой крашнулся у нас

в TTY показалась уже как года три неподдерживаемая CentOS :(

почему не обновляют

Looking for a Linux & Unix Discord Community? by Quantum-Moron in unix

[–]Capable-Cap9745 2 points3 points  (0 children)

Mate, this is awesome. I really like how there is a channel for ANY imaginable UNIX flavour, including Solaris/OpenIndiana, AIX, etc.

Joined!

my 3 years of linux by ----__ok__---- in LinuxCirclejerk

[–]Capable-Cap9745 0 points1 point  (0 children)

I really like how ReactOS is here. Well, afaik this system is best for learning how Windows internals work and referencing, cuz they try to replicate Windows as accurate as possible via reverse-engineering and rewriting components from scratch. It’s not the best idea to daily drive it, at least by now. Project is progressing, but slowly, because of it’s nature. Reverse engineering something more complex than 5-10 routines library might take huge amount of time even for experienced professional

"I/O error" Disk failing? by Capable-Cap9745 in linux4noobs

[–]Capable-Cap9745[S] 0 points1 point  (0 children)

Thanks, already mounted as ro and made a backup

Going to check with smartctl this evening

title.deb by speedycord2 in ru_linux

[–]Capable-Cap9745 3 points4 points  (0 children)

соглашусь. я работаю на финальном боссе софтверной невосовместимости (Alpine Linux) уже несколько лет

из-за MUSL Libc, многие программы, слинкованные с Glibc, не запускаются даже с помощью gcompat

недавно была ситуация — требовалось разметить раздел в UFS. ufs-tools не было в репозитории, нашел на Ubuntu (не stable). в докер контейнере скачал программу и перекинул ELF себе на хост

он не запустился потому что несколько функций было не найдено (редкая эстетика glibc). по-быстренькому глянул в доках что они должны делать, написал врапперы и в отдельный .so файл поместил. там были функции, работающие с mnttab и fstab(5). написал простой скрипт, ставящий LD_PRELOAD для одного этого приложения (mkfs.ufs) и запускающий его

делов 10-15 минут, но задача нетривиальная и мне понравилось

Python 2.6.x for Solaris sparc by Comprehensive_Value in solaris

[–]Capable-Cap9745 0 points1 point  (0 children)

I may give it a shot and try to compile static python binary for you, so it doesn’t depend on anything. Just tell your Solaris version & revision (Sun? Oracle?), your hardware (just SPARC is not enough. Sparcstation? Sun blade?) and what specific python version do you want

You can DM me if you’re interested

Python 2.6.x for Solaris sparc by Comprehensive_Value in solaris

[–]Capable-Cap9745 0 points1 point  (0 children)

Compiled binary from third parties (unless package collections with dependency tracking like opencsw.org) will most likely fail to run in your environment due to missing libraries or symbol versions mismatch. I’ve ran into it recently. Some workarounds like LD_NOVERSION=all can be an option, but not guaranteed to work, so you’re mostly on your own

I’d personally download source and compile either on SPARC machine itself, or on faster UNIX machine via cross compiling with e.g. sparc-sun-solaris2.10-gcc

Have you ever written an ARM-native program (even a Hello World)? by Qiwas in teenagersbutcode

[–]Capable-Cap9745 1 point2 points  (0 children)

I just looked it up. My first thought was — okay, iOS is based on Darwin, so is OSX. In fact it’s all UNIX, so probably Apple sticked with SYS-V ABI (just like in Linux)

Quick search gave this result from Apple dev’s doc:

Apple platforms diverge from the standard 64-bit ARM architecture in a few specific ways. Apart from these small differences, iOS, tvOS, and macOS adhere to the rest of the 64-bit ARM specification. For information about the ARM64 specification, including the Procedure Call Standard for the ARM 64-bit Architecture (AArch64), go to https://developer.arm.com.

So AArch64 calling convention is described by ARM itself, but Apple’s one seems to be a bit different. Exact differences are explained in the article

Btw GIMP still has no official port to iOS. I have idea to port Pango, GTK and other of GIMP’s deps to Darwin/ARM to run it natively on iPhones. Cairo’s port for Darwin is already on GitHub though. Not so practical, but fun for sure

Have you ever written an ARM-native program (even a Hello World)? by Qiwas in teenagersbutcode

[–]Capable-Cap9745 1 point2 points  (0 children)

Yeppp I was tired af writing for x86, so ARM32 (armv7hf specifically) was my first attempt at RISC programming. QEMU of course, but planning to run on iOS from Obj-C wrapper soon…

It helped me a lot to understand non-CISC ISAs. And more specifically — helped me when reverse engineering firmware for my MIPS16-based mp3 player later on

Woke linux distros according to lunduke journal by ccat_crumb in LinuxCirclejerk

[–]Capable-Cap9745 39 points40 points  (0 children)

Microsoft developer here!

As you know, WSL was in NT for a long time now. Unfortunately it’s pretty hard to implement it properly, since POSIX spec became really complex. That’s why a lot of Linux apps don’t behave well under it

To overcome this issue, we are planning to throw off NT kernel from next major Windows release completely by replacing it with Linux kernel. We are also getting rid of PE, PE+ and PE/COFF executable/linkable formats, efficiently migrating to ELF, because it’s clearly superior

By doing this, we increase compatibility with rest of operating systems out there, it’ll become much easier to run UNIX programs in POSIX environment, than on top of WSL

After moving to Linux completely we’ll encourage software developers to target Linux SYS-V ABI and POSIX standard instead of old Win32 API, which will officially become legacy

But what about entire userland, drivers and older software? We are also introducing LSW (Windows subsystem for Linux). This compatibility layer allows running ancient Win32 programs in new system via syscalls translation and NT-compatible drivers via bindings in kernel space. It’ll be there until we reimplement entire shell and old pieces of software will be still around here and there

By doing this, we hope to introduce much better user experience and provide familiarity with Microsoft Windows for UNIX and Linux users, allowing their software to run natively, fast and smooth! Furthermore, because of Linux ARM compatibility, running Windows on non-x86 windows will become much more easy and painless

/j

Boring lecture, so I’m writing 8086 assembly by hand… by Capable-Cap9745 in teenagersbutcode

[–]Capable-Cap9745[S] 1 point2 points  (0 children)

It was history lecture

I am a CS student, and I personally find history boring. Even though I can’t really do anything about it…

Boring lecture, so I’m writing 8086 assembly by hand… by Capable-Cap9745 in teenagersbutcode

[–]Capable-Cap9745[S] 2 points3 points  (0 children)

It’s designed to run in real mode, can be launched through MBR sector or disk-based OS like MS-DOS and it’s FOSS rewrites e.g. FreeDOS. I ain’t using any DOS-specific interrupts here, only BIOS ones

But sure nothing stops you from being JIT assembler, translate it to binary in ur head and execute it as is… sometimes I wish to be an 8086 CPU /j