[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]

File deleted.
>Not sure what private trackers are all about?
The mission of /ptg/ is to promote the highest possible standards of tracker service by providing members with opportunities for professional development, by recognizing technical competence through examinations and by advancing the interests of its members.

>Have a question?
- FAQ https://archive.is/UVQkn
- WIKI https://wiki.installgentoo.com/index.php/Private_trackers
- PYRAMID (Updated 2021-01-16) https://femto.pw/4v8m
- STUDY https://www.cambridge.org/core/services/aop-cambridge-core/content/view/2F379FE0CB50DF502F0075119FD3E060
- SPREADSHEET https://hdvinnie.github.io/Private-Trackers-Spreadsheet/

Use >>>/g/ptg as a link to find the /ptg/ thread.

>Remember the following:
>It doesn't matter if you use the same username in different trackers, the staff still share your IP with each other.

Comment too long. Click here to view the full text.
241 replies and 31 images omitted. Click here to view.
yeah, sure, you aren't going to fool me a second time, fool
> “We are aware of the harm that NTG has caused to the many people who work so hard to bring entertainment to a mass audience and we take full responsibility for the damage we have brought to the industry,” a NTG spokesperson said, as quoted by ACE.

> “We had mistakenly believed that we could hide behind the anonymity of the Internet, but we have been caught and have agreed to shut down.”

>RIP the private trackers
> PTP/BTN/HDB infiltrated
it's over...

File: wine.png (199 KB, 649x522)
199 KB
199 KB PNG
is wine the peak of coding?
shits fucking complicated if some giga loser nerd didn't find the config for you
Simple as

File: 1620681176626.jpg (223 KB, 1080x2280)
223 KB
223 KB JPG
File: 1617517342635.gif (355 KB, 500x491)
355 KB
355 KB GIF

File: 1620505498415.png (103 KB, 775x319)
103 KB
103 KB PNG
Why do people think its hard?
251 replies and 22 images omitted. Click here to view.
Can you niggers not do anything yourself anymore? Here's a complete check for a valid ipv4 address:
#include <stdio.h>
#include <ctype.h>

int is_ipv4(const char *str)
unsigned int i, j, k;
char c;

i = j = k = 0;
while ((c = *str++))
if (c == '.') {
if ((i > 2) || (j < 1) || (k > 255))

Comment too long. Click here to view the full text.
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

File: file.png (48 KB, 1200x800)
48 KB
I tried learning C++ but its so fucking convoluted I feel like I'm gonna struggle and waste my time. Should I take the rustpill? I still want to do systems programming
11 replies omitted. Click here to view.
No hate towards Rust but it has to mature, as well as the people who use it in order to be useful in real big and successful projects. It's just too young and so far I haven't seen any significant rise in interest towards it. It's just the next thing that's being pushed by a cult-like community of people before it's proven ready to take the role they claim it is "destined to take".

And the people who use it so far seem too retarded to work with atm. They still believe in "trial by shitting on the competition".
I use whatever the fuck I think is best for the situation cuz I'm not a bitch that needs a programming wheelchair to hold my hand at every line of code. The reason Linus hates C++ is different and it has to do with what C++ claims it "fixes" in C. The reason he allowed Rust is also not "because it's better than C++", but because the most retarded part of the developers will not require that much babysitting anymore.
>most retarded part of the developers will not require that much babysitting anymore.
"I tried learning C++ but its seems hard to me..." is the exact reason why Rust will not overtake it.
Meanwhile, anyone who actually knows both languages will tell you "don't start with rust"

File: 1594260859901.png (31 KB, 846x347)
31 KB
Single-statement conditional: to brace or not to brace, /g/?
61 replies and 10 images omitted. Click here to view.
to clarify, what your example is doing is this >>81552823

what OP is doing is this

if ( ford && model_t )
printf("classic ford!");
else if ( ford && !model_t )
printf("not model t but still ford!");

completely fucking different
Would show the issue explicitly, it was undiscovered because, to basically anyone not spending too much time scrutinising the code, these two goto fails are in the same condition.

The error also likely happened because of a copy paste error, which, if surrounded by braces, would have had no effect.
could just
if ( ford && model_t )
printf("classic ford!");
else if ( ford )
printf("not model t but still ford!");
i know, i was being verbose for the sake of clarity. this entire discussion seems like a mess and i dont wanna add more misinterpretation to it.
It is fine if you have very complicated or just very long checks in ifs. Then a function with a good name makes it easier to understand what is happening.

Also if you have like an if and both the then end else branch have like 30 lines of code I like to extract it. Just so the original function is more readable. I want to see all of a functions on the screen without scrolling preferably. Also good function names make the code document itself. It makes a big difference having 30 lines of code which do something or a call to a function which describes what is done.

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!
144 replies and 56 images omitted. Click here to view.
pls post 4chan css
and clean
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.

File: belgrade-ESP.jpg (92 KB, 1066x563)
92 KB
I would rather spend it on your mom
What is it?
holy fuck I've seen some tiny ass screens before but this one looks like I might actually need a magnifying glass to read it
the display
Outer (W x H): 2.4in Diagonal - 42.8mm x 59.91mm (O.D.)

File: 2021-05-10_13:45:03.png (138 KB, 694x554)
138 KB
138 KB PNG
I am interested in getting the Solutions Architect Associate. I'm not necessarily getting it only to get a job, but I want to learn AWS and having something to work towards to helps me learn better.

My questions to those that have AWS certs:
1. Should I skip the Cloud Practitioner? I've heard it's really easy and employers don't really care that much about it, but you get a 50% discount on the next exam and it might help me get a feel for the exam format.
2. How long did it take you to get them? I am basically a NEET at the moment and have 0 responsibilities, so would it be possible to crank these out by the end of the month?
The biggest issue is your #2 without any working production knowledge these are going to be a hard sell outside working for Amazon or maybe a smaller MSP/VAR where the cert level of # staffed is required.

Use the free tier and set up some basic website stuff to show it on your resume is my best advice. The cert is good just study all the useless shit as well, just having a paper cert is p useless.

t. been working with aws for 5 years
I have already done a small project where I setup a static website on S3, put it behind CloudFront, and Route53 for DNS. Then, I did this all with Terraform.

I understand that getting a cert does not guarantee me a job. But working towards the cert gives me structure and the feeling of working towards something keeps me motivated. There's just so much shit in AWS that I don't know what is important. Things like VPC and IAM I know are essential, but i have no clue how to apply that in my own home personal projects.

Also, I've been dicking around since I graduated in CS and haven't got a job yet so I'm looking to fill that gap in my resume.

File: python.png (838 KB, 976x741)
838 KB
838 KB PNG
What is it about Python that makes /g/ seethe so much?
41 replies and 1 image omitted. Click here to view.
can confirm

t. scriptkiddie automating his job, "working" from home
I am unironically too stupid to use it.
Every single time it is seconds to write the code but hours do debug it. I don't understand how people can find it easy, other than the availability of packages.
Python isn't meant to build anything big in it, it's a hacker's language. It's perfect for hacking, creating small programs with a simple purpose, automating repetative tasks. Comparing C++ to Python is like comparing a Formula1 to a Toyota Corolla; sure, the former is quicker, but the latter is better suited to everyday tasks
So where ARE your valid criticisms?
The hypocrites of /g/ will rag on Python for being interpreted (really not that big a deal for the vast majority of use cases) while at the same time posting anime girls holding SICP and generally praising Lisp when the vast majority of Lisp dialects (Scheme, Common, Emacs) are interpreted too.

With the major exception of sepples, most of the languages on /g/ are either interpreted or JIT compiled

File: chinese robot.png (716 KB, 954x449)
716 KB
716 KB PNG
So the Chinese once again shamelessly copied the Spot robot and made a smaller, shittier version, which is probably also cheaper.
What does /g/ think of this, will you be buying it, and why can't the Chinese innovate for shit?

186 replies and 35 images omitted. Click here to view.
Cope chang
they have different bunny versions, shits weird

Why not just train mice to do it then?
Fucking furries i swear
>go to comments
>immediately see tiananmen copypasta

File: 1620671607154.png (36 KB, 1200x1200)
36 KB
>gets raped by pajeets because no security
>a-atleast i have no google botnet...
2 replies omitted. Click here to view.
Weakens SElinux policies = no security.
Use grapheneOS
>use this bullshit from Israeli IDF intel which only works on Google Pixel devices
I fucking hope to Allah that your house gets suicide bombed
I do
The fuck are you on about? Take your meds

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.
218 replies and 22 images omitted. Click here to view.
File: hqdefault (2).jpg (18 KB, 480x360)
18 KB
Programming is the formalization of imperative knowledge.
File: 2021-05-11-1527.png (4 KB, 50x171)
4 KB
how do i remove this space/padding? general emacs prettifying tips?
yeah this. hating jews is stupid but clisp isn't really relevant anymore, sbcl is objectively better
>t. jew
>t. CIA bourgeois detractor

File: l861p7udrjx61.jpg (963 KB, 4160x2080)
963 KB
963 KB JPG
Don't buy anything OTHER THAN IBM/Lenovo ThinkPad T, X, and W/P Series if you want the Real Business Experience™
>Other business laptops are welcome in /tpg/ (Dell Latitude/Precision, HP EliteBook/ZBook)

Why ThinkPad?
>Used machines are plentiful and cheap
>Excellent keyboards, tactile feel and quiet
>Great durability: magnesium roll cage for structural integrity, with high quality plastic body panels
>Utilitarian design: e.g. indicator LEDs, 7 row keyboard layout on older models
>Docking stations that easily turns your laptop into a desktop
>Easy to repair (most models), upgrade & maintain thanks to readily available service manuals for every model, spare parts easy & cheap to obtain
>Excellent Linux & *BSD support

ThinkWiki - General info about ThinkPads and specs

Comment too long. Click here to view the full text.
44 replies and 3 images omitted. Click here to view.
Any love for the Dell latitude line?
throw away your banana already!
Some overlooked models are not IBM/Lenovo at all. Dell lattitude and hp elitebooks are the way to go if you want less well known laptops. You will need to do your own research to check the quality of each laptop though.
Try booting from the DVD caddy storage, windows may be more likely to pick up the dedicated hard drive bay. Also check in live loonix to check if it's just a software issue.
An external mouse is the fix for that shitty mousepad, it's not just you.
Theoretically any compatible USB C thunderbolt dock. Officially it looks like the ThinkPad Ultra DockingStation (2018) and the ThinkPad Thunderbolt 3 Workstation Dock Gen 2. What a shitty naming scheme.
You can remove the keys, but you need to be very careful. As a general rule lots of q tips and alcohol are the way to go. Make sure the keeb is fully dry before you connect it.
Nice find, pretty comfy setup.

Comment too long. Click here to view the full text.
>Try booting from the DVD caddy
uninstalling sata driver and restarting solved it
had a few, they can run a bit hot but i blame intel more than dell

File: Aaron_Swartz_profile.jpg (286 KB, 1078x1495)
286 KB
286 KB JPG
What does /g/ thinks of Aaron Swartz?
14 replies and 1 image omitted. Click here to view.
as a girl, i think his head is too big for his body
He's not a girl and neither are you.
File: M6C.jpg (34 KB, 637x359)
34 KB

nice blog

Also take a look at his manifesto anons

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.