[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Settings Mobile Home
/g/ - Technology

[Advertise on 4chan]

4chan Pass users can bypass this verification. [Learn More] [Login]
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]

Janitor acceptance emails will be sent out over the coming weeks. Make sure to check your spam box!

Self-serve ads are available again! Check out our new advertising page here.

[Advertise on 4chan]

[Catalog] [Archive]

>try rust lang
238 replies and 5 images omitted. Click here to view.
you can do this on stable >>81547695
How does that not count as tons of extra boilerplate? That's one of the more boilerplatey solutions posted, you need multiple extra lines per key.
if you use any text editor you just duplicate the line and change the values you need for matching on bytes in the first example.
Java makes things quick and easy. Not sure how you see that as unfun.
so 3.14 + 5.8789887 is wrong also because one is float and one is double?
this is extreme retardation

File: Oculus-Quest-2-64GB.jpg (24 KB, 768x768)
24 KB
Just got this thing for free, what should I know?
If you have a PC good enough to play VR games then get, VR Kanojo with adult patch and She Is Sexaroid for porn.
Aside from that just google top VR games or soemthing, there are quite a few good ones at this time. Also get VRChat and just shit like youtube, netflix etc.
Stock headstrap is fucking garbage, get a cheap chink halo strap. The official elite strap had issues with it cracking apart but it has supposedly been fixed, but there's still a bunch of old stock still floating around.
Battery life is garbage, get a power bank and zip tie it to your headset somewhere
Lenses are plastic so they scratch piss easy, get a lens cover so you don't have to risk scratching the lenses to wipe dust off.
Stock audio is pretty bad, if you can't stand IEMs, mod on some koss porta pros.
Follow https://www.youtube.com/watch?v=5cyijb7CJZU if you're autistic about facebook
/vrg/ for game recommendations and where to be a degenerate in vr chat.
I still don't understand how people can stand any VR headstrap that just straps the headset to your face, even the "elite" headstrap feels like shit.
Any headset should just come with a halo strap these days.
And the cheap chink ones are basicly the best VR headstraps out there, you can freely adjust the front and back angle which the Rift S headstrap was really missing.

I don't want to go back to the office bros.
8 replies and 1 image omitted. Click here to view.
If you don’t I’m sure your remote job can be by some slav for much less than we pay you
I'm not going back until they bring back the buffet
I never needed to do my work in an office, but my clients miss their gigabit fiber connections. They're moving back into their spaces ATM.
Ukraine developers are not cheap for at least few years.
There are quite a few senior positions here for 6k a month after taxes.
No companies are starting to realize that you get what you payed for
>t. middle manager who's seen many projects fail due to attempted outsourcing

File: keyboard.jpg (205 KB, 900x600)
205 KB
205 KB JPG
I want to create a custom layout for my language, but I struggle with key placement. There are just too many letters, and pressing AltGr all the time is a pain.
I have a solution in my head. If I could make ] a sort of modifier key, so I press it first, then press another key, and it results in typing a desired letter, that would be perfect. Sort of like in Japanese input method, I guess, when they type, for example, "k" and then "a" to make "ka" kana symbol, but this behavior would be limited to one key. Is this possible?
Also, what is the best way to create custom layouts both for Linux and Windows?
>Is this possible?
There's likely multiple ways to do it, one way I can think of is just use autohotkey to make whatever key you want work as AltGr, but as a sticky key, so pressing it once is the same as holding it down.

>what is the best way to create custom layouts both for Linux and Windows?
Linux, no idea. Windows, Microsoft Keyboard Layout Creator.
MS has this

watch a tutorial on youtube
Use a programmable mechanical keyboard.
But it won't be a part of a layout then

>Use a programmable mechanical keyboard.

My goal is to make a layout anyone can just install and use, not rely on extra hardware or software.
>But it won't be a part of a layout then
Ok, there should be a way to do it so it's part of the layout, the term you want to search for is "dead keys"

File: ezgif.com-gif-maker.jpg (18 KB, 310x233)
18 KB
its so fucking cheap and good quality, it has so much variants.

i was a itoddler retard, today i bought an thinkpad and installed manjaro on it.

just install any arch based distro or get something thats comfy.


>best redpill ever
21 replies and 9 images omitted. Click here to view.
>i was a itoddler retard
>bought an thinkpad and installed manjaro on it.
how do you stopped being a fag and learnt to install loonix? it sounds fake and gay as fuck
swedish fail
How are nu-thinkpads? in particular the T14 AMD version?
I started using my T420 for work from home, for programming it is still all you need

File: E03zzHNUYAI4XP8.jpg (110 KB, 859x859)
110 KB
110 KB JPG
CL-chan edition

>General Emacs resources
https://www.gnu.org/software/emacs/manual/emacs.html (GNU Emacs Manual)
https://www.emacswiki.org (Emacs Wiki)
https://github.com/emacs-tw/awesome-emacs (Big List of Packages)

C-h t (Interactive Tutorial)
https://www.gnu.org/software/emacs/tour (GNU Emacs Tour)
https://www.youtube.com/playlist?list=PLX2044Ew-UVVv31a0-Qn3dA6Sd_-NyA1n ((Youtube) General Introduction)
https://www.youtube.com/playlist?list=PLVtKhBrRV_ZkPnBtt_TD1Cs9PJlU0IIdE ((Youtube) Org Mode)
https://www.youtube.com/playlist?list=PL8Bwba5vnQK14z96Gil86pLMDO2GnOhQ6 ((Youtube) Advanced Configuration)

>(Self) Documentation

Comment too long. Click here to view the full text.
220 replies and 24 images omitted. Click here to view.
yeah this. hating jews is stupid but clisp isn't really relevant anymore, sbcl is objectively better
>t. jew
I really with I was a rich and high IQ ashkenazi
They got him, lads

File: 89096948_p6.png (1.31 MB, 1600x900)
1.31 MB
1.31 MB PNG
old thread

What are you working on, /g/?
139 replies and 20 images omitted. Click here to view.
>ugly ruby syntax
no such thing. ruby is beautiful
Deleting it through a pointer to a base class is undefined behavior, for once.
Inheriting from classes that are not designed with inheritance in mind is usually bad, you'll probably have less headache using composition, i.e. private vector member, and providing interface for it.
interfaces are done in C++ via inheriting from a pure virtual class
unfortunately there's no constraints to ensure compliance with this concept
the metaclass proposal fixes this
thank you, also this helped https://stackoverflow.com/questions/461203/when-to-use-virtual-destructors
>I thought self was not implicit in Rust
read the book

File: Gp7aG31.jpg (58 KB, 480x550)
58 KB
shill me a distro /g/ im sick of distro hopping...
63 replies and 3 images omitted. Click here to view.
works for me, if i pay for something i generally want to use it, books ive bought vs books i downloaded a pdf of, read a lot more of books i bought.
I stopped distro hopping in 2016 when I started using gentoo. The whole system is flexible enough that you can completely change it whenever you feel like it. I didn't use systemd for a while, then felt like using it and picked it up for a couple of years,and finally got rid of it again recently.
Void Linux
If it doesn't work: Artix Linux
I haven't distro hopped enough to provide a definitive answer. All I would say is you should try using a distro for a wide range of tasks before dismissing it. I dismissed Linux in general throughout my teens, only moving to it when Microsoft produced the cancer called Windows 8. It only took me a few weeks to figure out how to do most things in Ubuntu, which then allowed me to adopt other Debian based systems quite easily.
Tell me about why xbps is better than pacman.
Void v Artix is simply just which package manager is better.

File: azusa.png (618 KB, 1600x900)
618 KB
618 KB PNG
new desktop thread

this thread I will help out with some of my personal ricing tips!

so here is void linux running i3wm, the wallpaper i made myself in gimp with a vector from /w/, just resized on plain purple, i had the image the vector came from so it is opened in feh (thought that was clever at the time but it is kinda cringe now), the terminals are using omyzsh with cloud profile which i edited with fontawesome tux for prompt, gimp is opened in another workspace and taking hoards of ram as seen in htop, the terminal color is contrasting the purple wallpaper which i picked for just such reason, at the time i had no idea what .Xresources was so i was not using it at all, the window borders are simple all black for the focused window and all white for the inactive windows at about 5px (colors declared in hexadecimal in i3config), the terminal is actually xfce4-terminal which has an easy profile editor, the font is ubuntu

now you try!
146 replies and 57 images omitted. Click here to view.
File: cap.png (2.04 MB, 1920x1080)
2.04 MB
2.04 MB PNG
Oh cool, I use hsetroot to set some tiled papes with tiles I already hadd, I didn't know it could "generate" a wallpaper
No doubt, that one helps you save your work, which lets you save some time.
We don't spend all day on our setups, we spend a day on our config.
Hell yes, the based setup I posted has a custom layout included. The default config it uses is sorta similar to xmonad when run. Glad to help put it out there.

Portuguese faggot here.
Just got done bullying my local isp to give me 500/100 internet or else i would not re-sign my contract with them. Not only did they cave in, but i also made them give me more mobile data (10gb a month now) and also lower my monthly bill to 59€ per month. It feels good bullying the wagies working at my ISP bros.

Also post your internet speeds i guess
Do American ISPs give this much of a shit?

File: 1612617009187.webm (490 KB, 406x720)
490 KB
83 replies and 23 images omitted. Click here to view.
Muhammad was a pedophile and so are you
German word for feces

Based Mohammed!

File: 6900 XT.jpg (115 KB, 1200x900)
115 KB
115 KB JPG
Just me or the RX 6900 XT is taking the throne of the best GPU out there?
3 replies and 1 image omitted. Click here to view.
AMD's next-gen RDNA 3: revolutionary chiplet design could crush NVIDIA

Read more: https://www.tweaktown.com/news/74274/amds-next-gen-rdna-3-revolutionary-chiplet-design-could-crush-nvidia/index.html
gpu boxes came with handles for decades my zoomie friend
Nvidia's chiplet design has been in the works for a couple years now, so, whatever. AMD isn't magic.
wow, where can I get a device that puts Nvidia this far up my ass like this anon has demonstrated?
it's a very nice gpu if you can actually get one.
eth is bonkers right now, so that's unlikely.

File: b2g0zsh0ve941.png (1.13 MB, 1920x1080)
1.13 MB
1.13 MB PNG
I just paid someone with a Rei avatar 30 dogecoin to give me a lap dance in VR chat. We livin in the future bros!

File: 1613386938775.png (290 KB, 4000x2239)
290 KB
290 KB PNG
When did you grow out of believing zoomer memes and took the Java red pill?

Top tier ecosystem

Even without value types (which will come soon) Java wrecks most languages in real world performance

>inb4 it's verbose
Java 16 isn't verbose.

Java is the based man's language

Honorary members: Kotlin, Scala, C#
227 replies and 8 images omitted. Click here to view.
don't work in the us. it's that simple.
Java is consistently one of the fastest GC'ed languages in existence
That's the name function.
The things that it's compared to are slow for other reasons, usually related to weak typing and property lookups. Java has no such excuses.
You can do native compilation, but you need to sacrifice some reflection for that.

File: 1620505498415.png (103 KB, 775x319)
103 KB
103 KB PNG
Why do people think its hard?
252 replies and 22 images omitted. Click here to view.
I've never really used regex for anything performance-intensive so I have no idea. I mostly use it for quick and dirty scripts. As I've said, ".*[^.html]" doesn't do what you think it does. [] are used to match ONE CHARACTER based on what you put inside of them. "[^.html]" seems mostly nonsensical because you have an unescaped "." in there and it's negated, so what that structure says is "match one character that is not any character" and I'm pretty sure that's nonsensical and will never match anything.

".*" is greedy and it will match as much as it can, so what the regex "(?<=-).*[^.html]" actually means is "match everything after -". Is that what you want to achieve? Just having "(?<=-).*" would be the same thing, I'm pretty sure, but since you added the whole negated html part at the end I guess you don't actually want that, though it doesn't work like that. Lookahead and lookbehind are used to match things after/before the match you actually want to see in your result, but they won't be included in it. So if you want to match something between - and .html you could use lookahead and lookbehind like I said.

No idea, I just know things I've picked up from random reading over the years, whenever I needed to do something with regex that I didn't know about.
>legacy spaghetti shit
that's the best kind of shit
um, sweaty... I think you meant to say that the regex lexes it and the code parses it? You can't parse with regex... lexers are built with regex though
yeah congrats you know basic c... yawn
You can always put a comment briefly explaining what the fucking hierogliph does.

Delete Post: [File Only] Style:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10]
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.