[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]
Board
Settings Mobile Home
/g/ - Technology

[Advertise on 4chan]

Name
Options
Subject
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • 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]

File: joshua.png (94 KB, 308x236)
94 KB
94 KB PNG
Should I start with Python if I am a complete beginner? Or should I just jump straight into JavaScript?
28 replies and 2 images omitted. Click here to view.
>>
>>81549995
Do this if you never want employment
>>
>>81553443
Python jobs are widely available.
>>
>>81550410
If you're solo you need a lot of skills.
Programming
Game/level design
UI design
Art design (creativity)
Character art or modelling
Animation
Music, both effects and thematic
Also, learning the tools for these skills such as game engine, art software, music software is a massive effort alone

Of course you don't need to do it all yourself. Practice and effort will take you a long way, but training multiple skills from nothing can be hard. Start today, and when you get bored focus on another.

I recommend Blender for 3D modelling/animation if you're thinking a 3D game
>>
Start with a static language like Java or C/#/++. Then once you have specific tasks you're looking to complete choose the best language from there.
>>
File: least_rare_pepe.jpg (26 KB, 656x465)
26 KB
26 KB JPG
>>81549635
You should just jump straight off a cliff.

>Lurk more and read more and form your own informed opinion

File: 1546442577181.jpg (89 KB, 374x608)
89 KB
89 KB JPG
>Interviewing for a FAANG type company with incredibly high TC
>Zoom interview starts
>Two other people on the call with me
>One is an indian guy in his 40's
>Other is a fat white woman(?) with blue hair
>Say hi to them, how are you etc.
>Blue lady says "Just some quick points before the interview, I'm Sam, my pronounces are they/them I'm a senior software engineer"
>Indian guy just introduces himself and says he's a lead dev
>Start solving their leetcode/hackerrank puzzle
>Sam keeps asking me random CS questions while I'm trying to solve it, the indian guy is quiet the entire time
>Keep losing focus and going "uhhhh" when she asks me questions because it's literally impossible to think or focus - nerves/trying to think
>Solve the problem, Indian guy just asks me some efficiency questions
>I answer
>He smiles and says yeah that's good, we have a quick chat about memory stuff
>Glance at the window with the fat woman in it, she frowning and and looking down at her notes or something, seems kind of upset

Comment too long. Click here to view the full text.
32 replies and 5 images omitted. Click here to view.
>>
>>81548397
high TC tho
>>
File: 1605400831102.jpg (59 KB, 540x443)
59 KB
59 KB JPG
>>81548352
i dont get the jox, can someone explain?
t. brainlet
>>
>>81553330
He is just saying that this sounds made up.
>>
File: 75f.png (17 KB, 200x199)
17 KB
17 KB PNG
>>81552752
>muh high TC
You do realize these shitbag companies are located out of some of the most expensive areas in the United States (SF, Seattle, Bellevue, NYC)? A $140k salary there is the same as like $70-80k in any mcol area. Unless you bagged a remote position it's really not much better than a random gig anywhere else in the U.S.
>>
>>81553438
TC is like $200k for entry jobs in SF. Rent is $48k a year you're still netting 2-3x what you would make in another state

>try rust lang
>ERROR CANT PERFORM ADDITION ON 4 and 3.0
238 replies and 5 images omitted. Click here to view.
>>
>>81552732
you can do this on stable >>81547695
>>
>>81553362
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.
>>
>>81553379
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.
>>
>>81542516
Java makes things quick and easy. Not sure how you see that as unfun.
>>
>>81542804
retard,
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
24 KB JPG
Just got this thing for free, what should I know?
>>
>>81553359
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.
>>
>>81553359
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.
>>
>>81553480
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.
>>
>>81551305
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
>>
>>81551305
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.
>>
>>81552668
Ukraine developers are not cheap for at least few years.
There are quite a few senior positions here for 6k a month after taxes.
>>
>>81551323
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.
>>
>>81553252
MS has this
https://www.microsoft.com/en-us/download/details.aspx?id=102134

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

>>81553426
>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.
>>
>>81553446
>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
18 KB JPG
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.

ITODDLERS BTFO, fuck you.

>best redpill ever
21 replies and 9 images omitted. Click here to view.
>>
>>81547746
>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
>>
>>81550453
>>81550705
swedish fail
>>
How are nu-thinkpads? in particular the T14 AMD version?
>>
>>81550453
>>81550524
>>81550705
>>81550724
though
>>
>>81547746
I started using my T420 for work from home, for programming it is still all you need

File: Gp7aG31.jpg (58 KB, 480x550)
58 KB
58 KB JPG
shill me a distro /g/ im sick of distro hopping...
63 replies and 3 images omitted. Click here to view.
>>
>>81553326
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.
>>
>>81551836
Void Linux
If it doesn't work: Artix Linux
>>
>>81551836
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.
>>
>>81553448
>Void
Tell me about why xbps is better than pacman.
Void v Artix is simply just which package manager is better.

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: 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
>>
>>81552389
gpu boxes came with handles for decades my zoomie friend
>>
>>81552426
Nvidia's chiplet design has been in the works for a couple years now, so, whatever. AMD isn't magic.
>>
>>81552346
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: 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.
>>
>>81552883
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.

>tutorials
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.
>>
>>81552857
>legacy spaghetti shit
that's the best kind of shit
>>
>>81546938
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
>>
>>81553031
yeah congrats you know basic c... yawn
>>
>>81525144
You can always put a comment briefly explaining what the fucking hierogliph does.

File: basedterry.jpg (13 KB, 250x250)
13 KB
13 KB JPG
I am curius if any of you know a possible way to program in Holy C outside of the Temple OS
>>
I'm on mobile (and throttled data), but I'm pretty sure he hosts the compiler over on templesos.org
>>
still waiting for HolyC support in gcc
>>
Probably, but more importantly what does it DO that’s different from C? Of course it’s for the meme, but you’d still want to use it to its fullest potential.
>>
>>81553392
So is there a way to download that compiler and run it locally on any given OS without having to launch temple os?
>>
>>81553413
It has a 3d and 2d engine built in to the compiler
That's why I would want to use it.
Also its just pretty neat

File: IMG_20170312_184257.jpg (343 KB, 1331x998)
343 KB
343 KB JPG
>Pretending you can notice the difference between 4 cores and 60 cores when browsing the web and listening to music
41 replies and 8 images omitted. Click here to view.
>>
>>81552463
He was probably like 13 years old back then and it would've been a tall order convincing his dad to spend an extra hundred dollars on this gaming PC.
>>
File: pcgamer.jpg (48 KB, 674x532)
48 KB
48 KB JPG
>>81552303
1 core is all you need.
>>
File: speccyathlon.png (73 KB, 674x532)
73 KB
73 KB PNG
>>81553002
Pentium 4 is bloat
>>
>>81545467
Cope harder corelet
>>
>>81546830
16gb of ram and an SSD really are memes though

So I read that the move operation in C++ is a casting to an rvalue ref, but a more visual representation is that we are just moving the ownership of the values stored to another entity, yet i expected that the memory address will remain the same but its not when i am compiling the code locally, what am i missing ?
1 reply omitted. Click here to view.
>>
>>81553018
auto v : (some rvalue) is still a copy

Try auto&& v
>>
Internalpointers or something like that have good info about move semantics etc. check it out
>>
>>81553018
You are printing the address of the iteration variable, anon, not the address of the vector element. If you want that, use
for (auto& v : vec1)
.
>>
>>81553258
ty this was my pb
>>
>>81553018
Just be careful while doing range iteration over r-values.
https://josuttis.com/download/std/D2012R0_fix_rangebasedfor_201029.pdf




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.