[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 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:
>READ THE OP BEFORE MAKING A FUCKING QUESTION YOU RETARDED FAGGOT
>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.
>>
https://torrentfreak.com/pirate-release-group-ntg-shut-down-by-alliance-for-creativity-entertainment-210511/
>>
>>81553211
yeah, sure, you aren't going to fool me a second time, fool
>>
>>81553211
> “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
>>
https://www.alliance4creativity.com/news/ace-shuts-down-massive-ripping-and-uploading-operation-ntg-release-group/
>>
> PTP/BTN/HDB infiltrated
it's over...

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

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

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.
>>
>>81525942
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.
>>
>>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

File: file.png (48 KB, 1200x800)
48 KB
48 KB PNG
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.
>>
>>81549818
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".
>>
>>81549944
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.
>>
>>81552085
>most retarded part of the developers will not require that much babysitting anymore.
This
>>
"I tried learning C++ but its seems hard to me..." is the exact reason why Rust will not overtake it.
>>
>>81552590
Meanwhile, anyone who actually knows both languages will tell you "don't start with rust"

File: 1594260859901.png (31 KB, 846x347)
31 KB
31 KB PNG
Single-statement conditional: to brace or not to brace, /g/?
61 replies and 10 images omitted. Click here to view.
>>
>>81552971
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
>>
>>81549484
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.
>>
>>81553028
could just
if ( ford && model_t )
printf("classic ford!");
else if ( ford )
printf("not model t but still ford!");
>>
>>81553058
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.
>>
>>81552467
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.
>>
>>81545954
pls post 4chan css
>>
>>81552250
and clean
>>
File: cap.png (2.04 MB, 1920x1080)
2.04 MB
2.04 MB PNG
>>81536782
>>
>>81542329
Oh cool, I use hsetroot to set some tiled papes with tiles I already hadd, I didn't know it could "generate" a wallpaper
>>
>>81550924
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
92 KB JPG
IS IT TOO EXPENSIVE FOR (You)?
>>
I would rather spend it on your mom
>>
>>81552540
What is it?
>>
>>81552723
A $10 COMPUTER
>>
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
>>
>>81552852
the display
https://www.newhavendisplay.com/nhd24240320cfctxif-p-8176.html
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?
>>
>>81553077
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
>>
>>81553115
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.
>>
>>81550805
can confirm

t. scriptkiddie automating his job, "working" from home
>>
>>81550573
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.
>>
>>81551596
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
>>
>>81551483
So where ARE your valid criticisms?
>>
>>81553144
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?

https://www.youtube.com/watch?v=IBUb910ktpg
186 replies and 35 images omitted. Click here to view.
>>
>>81534861
Cope chang
>>
>>81546713
they have different bunny versions, shits weird

https://www.youtube.com/watch?v=XgFc8q_viFI
>>
>>81535165
Why not just train mice to do it then?
>>
>>81552223
kek
Fucking furries i swear
>>
>>81533527
>go to comments
>immediately see tiananmen copypasta
Kek

File: 1620671607154.png (36 KB, 1200x1200)
36 KB
36 KB PNG
>gets raped by pajeets because no security
>a-atleast i have no google botnet...
2 replies omitted. Click here to view.
>>
>>81551259
Weakens SElinux policies = no security.
>>
>>81551303
https://github.com/LineageOS/charter/blob/master/device-support-requirements.md#selinux-status
>>
>>81551134
Use grapheneOS
>>
>>81552720
>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
>>
>>81552720
I do
>>81552745
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)

>Tutorials
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
18 KB JPG
Programming is the formalization of imperative knowledge.
>>
File: 2021-05-11-1527.png (4 KB, 50x171)
4 KB
4 KB PNG
how do i remove this space/padding? general emacs prettifying tips?
>>
>>81552824
>>81552935
yeah this. hating jews is stupid but clisp isn't really relevant anymore, sbcl is objectively better
>>
>>81553200
>t. jew
>>
>>81553250
>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
https://www.thinkwiki.org/wiki/ThinkWiki


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?
>>
>>81552488
throw away your banana already!
>>
>>81547957
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.
>>81550710
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.
>>81551794
An external mouse is the fix for that shitty mousepad, it's not just you.
>>81552059
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.
https://psref.lenovo.com/syspool/Sys/PDF/datasheet/ThinkPad_X1_Carbon_7th_Gen_datasheet_EN.pdf
>>81552408
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.
https://youtu.be/EU-iMa4WbZw
>>81552488
Nice find, pretty comfy setup.
>>81553014

Comment too long. Click here to view the full text.
>>
>>81553168
>Try booting from the DVD caddy
uninstalling sata driver and restarting solved it
>>
>>81553014
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.
>>
>>81553003
as a girl, i think his head is too big for his body
>>
>>81553204
He's not a girl and neither are you.
>>
>>81553206
basado
>>
File: M6C.jpg (34 KB, 637x359)
34 KB
34 KB JPG
>>81553007
>>
>>81553003

nice blog
http://www.aaronsw.com/

Also take a look at his manifesto anons
https://archive.org/stream/GuerillaOpenAccessManifesto/Goamjuly2008_djvu.txthttps://archive.org/stream/GuerillaOpenAccessManifesto/Goamjuly2008_djvu.txt




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.