Yaksh Bariya

3K posts

Yaksh Bariya banner
Yaksh Bariya

Yaksh Bariya

@CodingThunder

@termuxdevs | Node.js for Android

India शामिल हुए Haziran 2020
108 फ़ॉलोइंग220 फ़ॉलोवर्स
पिन किया गया ट्वीट
Yaksh Bariya
Yaksh Bariya@CodingThunder·
This is to announce that I am moving away from X to Mastodon. @CodingThunder" target="_blank" rel="nofollow noopener">mastodon.social/@CodingThunder is where I will be active now, and not here. Also this is probably my last day here. Just logged in to post this #mastodon
English
1
0
1
194
Yaksh Bariya रीट्वीट किया
nixCraft 🐧
nixCraft 🐧@nixcraft·
systemd lost the plot a long time ago. they stopped following the Unix philosophy and now they're busy adding nonsense like age verification. Just like Firefox, systemd doesn't understand its core user base. There are plenty of distros without systemd
English
142
361
3.8K
123.4K
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@brain_nullptr @schteppe In fact I find it more of Google wanted to make abseil the STL, and so they decided to do anyways. No one bothers about it, and the problems it solves are very Google way of solving problems.. Solves it for them and is a pain in the ass for others
English
0
0
0
27
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@brain_nullptr @schteppe Ah Carbon, I haven't seen it being adopted at all anywhere. In fact I just checked it's project page after the time I did in it's initial announcement, and the language is still marked as "experimental"
English
2
0
1
54
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@C11_Otter @schteppe Shouldn't it actually depend on MMU? Since that's what at the end converts the virtual memory address to physical memory address transparently? Or am I not understanding the topic correctly?
English
0
0
0
7
c_otter
c_otter@C11_Otter·
@CodingThunder @schteppe It's all just numbers, and the kernel decides what the virtual memory mappings are. AFAIK, there are some actual embedded devices (think like arduinos) that have 0 as a proper useful address of some sort.
English
1
0
0
10
Stefan
Stefan@schteppe·
C++ lacks a “segfault” keyword
English
3
0
6
853
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@C11_Otter @schteppe Oh didn't knew that 0 could be usable. This makes sense! Kinda opened up my brain on how things work!
English
1
0
1
27
c_otter
c_otter@C11_Otter·
@CodingThunder @schteppe *Technically* any address might be valid on some architecture. AFAIK, even 0 is valid on x86-64 if the kernel decides to make it so (TempleOS?). You'd have to have a syscall or something that probes the page table for an invalid address to reliably create a segfault.
English
1
0
1
21
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@C11_Otter @schteppe You know you can instead also try to dereference some funny address like 0xc00ffee :) Like true undefined behaviour whether it'll segfault is undefined unless you run it.
English
1
0
1
18
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@oxcrowx I too invented integration from the very grounds up in grade 10. Showed it off to my math teacher, he said it's calculus. Was really disappointed none the least, but atleast I didn't go ahead and write a paper about it like my own invention :)
English
0
1
0
1K
Yaksh Bariya
Yaksh Bariya@CodingThunder·
Absolutely wild that @Steam releases their CDN statistics online for all: store.steampowered.com/stats/content/ This is surely a lot of data for a lot of people who are hosting CDNs to actually be a threat in terms of competitiveness.
English
0
0
1
141
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@kayareyouokay_ Will also shit their pants when told to explain how DNS/BGP/any other core internet protocol works. They don't even have a surface level knowledge of the matter
English
0
0
0
29
Yaksh Bariya रीट्वीट किया
Kay
Kay@kayareyouokay_·
CS students will spend 4 years studying and still not know how to deploy a website.
English
107
74
2.2K
121.6K
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@vaxryy Nah, don't make it pure lua. Would make the migrations very painful. There are already a lot of undocumented quirks in my config, which are not in Hyprland Wiki, but work, don't want to deal with any of that nonsense in Lua
English
0
0
1
228
vaxry
vaxry@vaxryy·
honestly atp we might just make the config pure lua. Transition period of like 2 major releases, small utilities stay hyprlang. There's so much we're trying to pack into hyprland that I don't think a config language makes sense anymore. Yay or nay?
English
81
1
188
31.7K
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@Leangphok It's part of BSD, not standard libc. So be careful where you use it. Glibc does provide an implementation but not all libc will
English
1
0
2
117
leanghok
leanghok@Leangphok·
i just found out about strsep() like 2 minutes ago and it's the best function in string.h
English
4
1
23
1.9K
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@DjMolehill @valigo Well it makes sense considering you need unique memory addresses for different indices of an array of structs. What's wild is they are doing this now, after so many years!
English
0
0
2
44
DJ Molehill
DJ Molehill@DjMolehill·
@valigo fr, empty structs being 1 byte is wild
English
2
0
6
1.3K
Valentin Ignatev
Valentin Ignatev@valigo·
BREAKING: In an attempt to make C even more compatible with C++, C27 will have empty structs be size of 1 byte instead of 0. Our redaction contacted ISO/IEC JTC 1/SC 22/WG 14 but so far received no response. We will keep closely monitoring the situation.
English
19
1
216
24.3K
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@MoCA_GoI Nice initiative for carrying of instruments. Really appreciate it!
English
0
0
0
7
MoCA_GoI
MoCA_GoI@MoCA_GoI·
The Ministry has issued the following directions through the Directorate General of Civil Aviation (DGCA): 1. Minimum 60% of seats on any flight to be allocated free of charge to ensure fair access 2. Passengers travelling on the same PNR to be seated together, preferably in adjacent seats 3. Carriage of sports equipment and musical instruments to be facilitated in a transparent and passenger-friendly manner, subject to applicable safety and operational regulations. Airlines shall also bring out clear, transparent policies for carriage of pets. 4. Strict adherence to passenger rights framework, particularly in cases of delays, cancellations and denied boarding 5. Prominent display of passenger rights across airline websites, mobile applications, booking platforms, and airport counters 6. Clear communication of passenger entitlements in regional languages to ensure wider accessibility and awareness The Ministry of Civil Aviation remains committed to enhancing passenger experience, ensuring transparency, reducing grievances and upholding the highest standards of safety across the aviation ecosystem. @RamMNK @mohol_murlidhar @samirsinha69 @AAI_Official @DGCAIndia @Pib_MoCA pib.gov.in/PressReleseDet…
English
265
1.1K
5.5K
438.3K
Yaksh Bariya रीट्वीट किया
vx-underground
vx-underground@vxunderground·
Meanwhile in Brazil: Arch Linux has to suspend access from Brazil because kids could use Arch Linux, or something, and something about pedophiles. I actually have no idea what the politicians are even saying anymore. It's all bullshit and it's fucking over FOSS.
vx-underground tweet media
English
179
788
6.2K
140.3K
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@levelsio Haha, the VPS servers I maintain have exposed SSH properly as it's used by a bunch of users and are configured properly. If you can't configure a server properly, it's called skill issue
English
0
0
0
11
@levelsio
@levelsio@levelsio·
You should never ever expose a VPS to the entire internet Always firewall it to subnets If you host a website you should only allow port 443 (HTTPS) inbound from Cloudflare's IP range / subnets Port 22 (SSH) only from your Tailscale subnet range That means you create a "tunnel" from Cloudflare and Tailscale (your laptop) to your server's door You still need your SSH key to open the door btw If you don't, ANYONE in the entire world can connect to your VPS and if there's just one security vulnerability and you didn't upgrade your VPS you can get hacked If you do have it firewalled with Tailscale subnet only, it means only if they hack your laptop they could get in via your Tailscale there Another thing is ask OpenClaw or Claude Code to enable unattended upgrades with auto reboot
William Benz@WilliamBenzDev

@levelsio Whats the point of installing tailscale? Or am I missing something here You could do the exactly same without tailscale

English
113
153
3.1K
437.2K
Yaksh Bariya
Yaksh Bariya@CodingThunder·
I hate compiler optimizations for inline functions when I'm debugging. I hate compiler optimizations for inline functions when I'm debugging. I hate compiler optimizations for inline functions when I'm debugging.
English
0
0
1
13
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@levelsio Use NeoVim/Vim with terminal buffers, should work way better
English
0
0
0
8
@levelsio
@levelsio@levelsio·
I hate tmux It's so incredibly user unfriendly The shortcuts make no sense I wish someone would make a better tmux Even just logging into tmux attaching the screen is an illogical hell to type Again I hate tmux, it's so shit
Matthieu Richard@SpaceMatthieu

@levelsio Is there a good way to jump between tmux sessions on Termius? I find it quite hard to manage multiple codex/claude sessions on the go

English
449
14
947
345.6K
Yaksh Bariya
Yaksh Bariya@CodingThunder·
@nmatt0 Uninstall and get rid of that crap. Works really well
English
0
0
0
464
Matt Brown
Matt Brown@nmatt0·
I need all developers to understand that I'm going to come at you so much harder if you do crap like this.
Matt Brown tweet media
English
55
122
2.4K
75.3K