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

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]


[Advertise on 4chan]

[Catalog] [Archive]

File: file.png (815 KB, 2070x1166)
815 KB
815 KB PNG
These boomers blame everyone but themselves: the committee, the designers, and the implementers. Klaus Iglberger insists the language isn't the problem, we "just" need to teach the users better. Obviously, with more teaching, the safety problems and complexity problems will go away.

https://www.youtube.com/watch?v=vN0U4P4qmRY
https://www.youtube.com/watch?v=cjO76ygwGdA

He has such inane suggestions as removing all "raw" or plain for loops in favor of std::algorithm functions and ranges. These approaches are absolute ass for writing, reading, maintaining, and debugging. Trivial examples are easily noted as being absurdly longer, and they scale horrifically with complexity (not that they look a whole lot better in Rust). This is first and foremost an issue with the semantics and syntax of the language. Secondly, these approaches still don't help with lifetime issues. Klaus, and so many others in this space, are obsessed with blaming raw pointers. Raw pointers are a single symptom of the issue - and frankly, it's not a good argument for them either. He has no valid advice for dealing with older libraries which you must use which use raw pointers and other unsafe constructs (let alone POSIX APIs). I can only believe that based on Klaus's suggestions that he just wants to sell more books and training sessions.

If you watch these conference videos from people like Klaus, Jon Kalb, and Bjarne, it becomes painfully obvious that they either have their heads buried in the sand, or that they live in an alternate reality. Who the fuck thinks that it's not a language problem that competent use requires hundreds to thousands of hours of training? This isn't even getting into all the retarded fuck-ups of formal syntax and bad library designs that they love to hand-wave away, or the fact that implementations can't keep up with the half-baked designs that have been added since C++20.
32 replies and 3 images omitted. Click here to view.
>>
>>107508913
>operator precedence is fine
No, bitwise operators have lower precedence than comparison operators..
a & b == c 
is
a & (b == c)
>>
>>107509256
that's unfortunate, you'll have to use parenthesis in this situation
>>
>>107504212
Lol thanks for posting the hourly #FILTERED thread zoomie.
We get it, you can't function without an internet hosted package manager for importing libraries.
Seethe.
>>
>>107509256
you should always use parenthesis in compound operations anyway
>>
>>107505762
>The C/C++ UNIX mindset is like:
>>We must maintain backward compatibility at all costs
C/C++ and Unix break backwards compatibility all the time. Ctrannies are just lazy about throwing away bad code and use backwards compatibility as an excuse for not fixing problems. They don't actually care about it. Backwards compatibility is also a good thing when the original design is good, but that doesn't apply to C/C++ or Unix.

File: microsoft_code.png (273 KB, 1423x832)
273 KB
273 KB PNG
> that's what peak programming according to Microsoft looks like
37 replies and 5 images omitted. Click here to view.
>>
>>107510366
unset SECONDS

can be used for any variable
>>
>>107510387
so it's set by default?
>>
>>107510402
>>107510387
nvm I get it, unset disables the feature
>>
>>107505188
Link the repository
>>
>>107505192
>there is a white person at Microsoft

crazy

File: maxresdefault.jpg (50 KB, 1280x720)
50 KB
50 KB JPG
https://www.youtube.com/watch?v=5dqaQHHJLaU
42 replies and 6 images omitted. Click here to view.
>>
>>107509898
Odin already perfected Jai
>>
>>107508746
I remember watching a stream not too long ago where he talked about wanting to release Jai together with his game's engine (as a sample project) after the game.
The engine stripped of all of the game's content, of course.
>>
>>107507582
She's obviously announcing her transition.
>>
>>107507582
His homosexuality. He finally decided to come out of the closet.
>>
>>107509946
oh! i think i get it now. he uses it to infer inline the polymorphic type. so you don't need for the degenerate angle brackets. that's very nice, actually.

File: india.gif (158 KB, 644x627)
158 KB
158 KB GIF
>Minipcs cost less than desktops
>Laptops cost even less than minipcs
Should I just have 2 laptops?
One actually portable laptop that I carry with me,
and one for work at home?
Will a laptop last me at least 5 years, like my desktops did?
3 replies and 1 image omitted. Click here to view.
>>
File: 940.jpg (30 KB, 907x846)
30 KB
30 KB JPG
>>107505826
The problem with laptops is they throttle hard as a motherfucker so you will be stuck with gimped desktop performance no matter what. Whereas even a cheap shitbox of a desktop can have the heansink upgraded and you can overclock that son of a bitch by 10-20% (depending on silicon lottery) and get a few more years of use out of it.
>>
>>107506533
Depends on what you do for work and what kind of power that needs, I guess. I've thought Enterprise laptops were irritatingly slow even working at very nice companies doing financial shit. The minipc would probably be the minimum I'd want for actual work, though the portability of a laptop is something non-negotiable for a lot of jobs.
>>
>>107505826
Laptops are mess with shitty thermals
MiniPC is the way to go.
>>
>>107506533
See
>>107506077
>>
>>107505826
laptops break most often
they are garbage
and the thermals are just bad, you can't have a good cooler in such small space

a computer will last you much longer
if you don't do anything retarded your pc might last 10+ years easily even without doing anything to it and much more if you maintain it
and I've seen laptops fail in few years by themselves, the most common issue are thermals, dead keys on the keyboard, screen issues, hinges failing, battery problems
the laptops with a second GPU sucks most, they are just plainly shit, special driver versions for that specific model, frozen in time, not even working correctly sometimes and never updated again after few years of release of the model - just worthless piece of shit
in summary gaming laptops are the worst shit and the other ones are weak as fuck
the only choice are business laptops which are expensive too
you don't have any of these issues anywhere else, because computers don't have builtin stuff like that, which you can't replace easily

File: file.png (42 KB, 1418x702)
42 KB
42 KB PNG
Who the fuck censors online compilers ?
2 replies omitted. Click here to view.
>>
Try a rust compiler online, OP.
>>
File: file.png (100 KB, 1745x1397)
100 KB
100 KB PNG
>>107509975
here
>>
>>107510007
It actually censors even fucking functions... KEK.
>>
>>107509953
i too use 'nigger' and 'filthy rat kike' as strings when testing.
i have a 500mb text file called "all of the worlds problems" that's just repeating racial epithets for the jews.
>>
leftists are fucking pathetic

File: nix.png (7 KB, 547x365)
7 KB
7 KB PNG
is nix the best way to install non-flatpak software in immutable distros?
>>
>>107510351
the software you should install is a different distro
>>
>>107510351
just use nixos and dump the immutable distro meme.

File: playstation v3.png (18 KB, 848x471)
18 KB
18 KB PNG
>Computer tech plateaued years ago
>Hardware developers keep acting like it's increasing
>Prices keep going up
It's crazy how obvious the scam is at this point.

It's funny how going from the PS1 to PS2, from FF7 graphics to FF12 graphics was going from $300 to $300 price-wise
Now going from the PS4 to the PS5, from RDR2 graphics to games that look worse than RDR2 is $400to $500, and not only that, the PS5 itself is only increasing in price and it's now $550 and it's only going to go up lmao
34 replies and 2 images omitted. Click here to view.
>>
File: dennard scaling.jpg (195 KB, 940x788)
195 KB
195 KB JPG
Dennard scaling is long dead, anon, and Moore's law is probably dead nowadays too. We reached the end of what silicon is capable of.
>>
>>107505564
>>107502289
At the same time, some of the greatest games were made by those smaller teams under immense crunch with 14 hour workdays and weekends, sleeping under their desks and subsisting off of pizza and coke.
>>
>>107501932
You can do so much more when you don't hire nepo babies and other incompetent fools.
>>
>>107501932
They didn't outsource to JavaScript Indians back then.
>>
>>107508794
>We reached the end of what silicon is capable of.
You gay morons keep saying this and yet process node PPAs improve drastically and we still have several foundries world wide that can shit out ARM chips at 200million xtors/mm2

I don't even think you know what a dead internet actually looks like.

People there are actually dead.
1 reply omitted. Click here to view.
>>
I just got a job offer today (fuck my current job), you just have to check in weekly and see if someone gives a fuck about you. Dont send any job requests, they are botted as fuck, just have a clean profile so that stancy from HR thinks you are smart and cute.
>>
>>107508360
trvke. i'm dead. i died in 2008.
>>
>>107508360
Get into some groups though.
I've had job offers thanks to it, and I'm not even paying, just being active posting on some groups.
>>
>>107508360
I got two of my jobs through linked in, didn't apply, they contacted me
>>
>>107508360
I'm proud to have raised the corporate ladder without ever getting a linkedin account.

File: 1764111760036606.jpg (90 KB, 1920x1080)
90 KB
90 KB JPG
>>107462755
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 + the TrackPoint
>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/specs
https://www.thinkwiki.org/wiki/ThinkWiki

Comment too long. Click here to view the full text.
7 replies omitted. Click here to view.
>>
>>107502998
Got a very cheap (by Australian pricing standards) T480 and both batteries are detected but not charging. Troubleshooting is pointing to the Thunderbolt controller needing to be updated and apparently it's a widely known issue I didn't know about. I'm using a temporary install of windows 11 22H2 (no Microsoft account) and using the lenovo utilities and tools, had to downgrade the power management driver to get the thunderbolt update tool to work and after running the update the laptop turned off, I'm hoping it's doing a low power firmware update but no signs of life. Is this expected behaviour and is there a better guide for this apparently very very well known T480 flaw?
>>
>>107502998
Are X1/X9 part of the X series or separate?
>>
>>107509276
Sub brands within the X series. Goes back to the IBM days when T series was the standard line, X was the more mobile variant.

The X1 is an even more mobile variant, the first one releasing back alongside the X220. If the X series was built along the thought process of "how do we make a Thinkpad more portable?" the X1 was "how do we make a portable laptop more functional like a Thinkpad?" There's less of a difference these days as all laptops have generally trended towards smaller and lighter at the expense of ports, but Lenovo still uses the X1 as a marketing friendly flagship line.

X9 is like if Lenovo made a Macbook Air. Two Type-C, one Type-A, an HDMI and a 3.5mm audio jack are all you get for ports. One of those Type-Cs is also for charging. They even removed the nipple. Very irritating for people who think of functionality when they see the Thinkpad branding, but the name sells so Lenovo slaps it on things.
>>
>>107507051
He says Linux bruv
No ThinkVantage.
>>
>>107509276
separate
X series is 13 inch.
X1C is premium lightweight T14
X9 is Yoga Slim 7i

File: file.png (9 KB, 622x87)
9 KB
9 KB PNG
https://lwn.net/Articles/1049831/
Rust is officially over. The Linux maintainers have revolted and are ending the Rust experiment.
76 replies and 14 images omitted. Click here to view.
>>
Anti-rust movement was always artificial. Tiny minority with loud voices and almost none of them are actual contributors. Basically virtue signalling
>>
>>107504915
>There is so many places in Linux that are under documented and implementation-specified.
such as? oh no, you're just parroting shit other retards pushing for rust were saying. "fixing on a specific behavior just because it'll break some tranny code that depends on it and nobody cares to maintain" is hardly any kind of guarantee
>>
>>107508994
you mistakenly put "anti-" in the beginning of your post.
>>
>>107508733
If you read the article they say it's the end of the expriment because it is a success and no longer marked experimental
>>
>>107506482
>>107508199
C lets you replace Russians with Indians and Africans. Rust lets you write software that works.

File: noormandy.jpg (213 KB, 1200x966)
213 KB
213 KB JPG
One day to D-day edition

>Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.
https://adventofcode.com/

/g/ leaderboard join code:
224303-2c132471
anonymous-only leaderboard:
383378-dd1e2041

Previous thread: >>107498650
336 replies and 56 images omitted. Click here to view.
>>
>>107511119
this is in my broot and it didnt help because enough of the button sets look like (0 2 3 4) (1 2 3 4) (0 1 3 4) (0 1 2 3)
>>
>>107511063
mine takes a long time too. you have to use heuristics to reduce the search space.
1. put a limit on how much sum can be. that way you don't need to try 0 to 1000 for each variable.
2. prune the paths if it leads to more sum than the current known minimum
3. instead of putting a limit once like 350, you can do it incrementally. so first out a limit of 100 and then do a full run. only if a solution is not found then do 200. and so on. since it will be very fast for smaller sums. and 2/3 of the cases will have less than 100 ans in my input

after this you can just multithread the shit out of this since all the cases/lines are independent and only sum needs to be calculated

>>107511134
this is blind broot. it's hopeless without the jordans
>>
THE GREAT FILTER
>>
someone make the new thread so I can beg people to join my attempt at a summer version of this thing because I like spending time with you guys
>>
new thread

>>107511264
>>107511264
>>107511264

new thread

File: IMG_1177.jpg (121 KB, 1320x1123)
121 KB
121 KB JPG
We don’t want your shitty technology, take the L
>>
>>107508324
WHERE ARE THE SECRETS YOU FROG FUCKER????
>>
>>107508324
but we invested 20 thousand gorillions on this we need to keep going until it's a profit
>>
>>107508324
theyre not its excellent tech and everyone is already using it almost daily
>>
>>107509621
>it appears over Google searches and can't be shut off. Take that chuds!

File: 1760929678790.png (21 KB, 512x599)
21 KB
21 KB PNG
Come home white man
53 replies and 15 images omitted. Click here to view.
>>
>>107509288
again, why would i be upset
youre brown, not me
i dont see a reason to be upset
you can repeat that i seem upset all you want
wont make me any upset-ter
>>
>>107509796
Sorry your so upset
>>
>>107509796
Sorry you're so upset, pedo
>>
>>107503814
I'm tired of people pretending any chromium browser is a good alternative. Chromium should be treated as fallback only. But yes, brave as fallback/mobile is good.
>>
>>107510019
>>107510027
>t. so desperate to insult he doubleposts within 60 seconds
tough cookies
youre a worm to me
i accuidentally step on you

how could you ever imagine insulting me?
and im being magnanimous here
its just an over-abundance of light that makes me mention that
soak it up
maybe youll be less of a fuckup in the future

File: images (15).jpg (7 KB, 207x244)
7 KB
7 KB JPG
Can I create a videogame with AI now? It claims it can handle everything except for:

1. Define the vision

Decide art style, tone, and overall direction

Choose which generated assets fit the style

2. Manage and review AI outputs

Pick the best 3D models, textures, sounds

Reject or regenerate ones that don’t fit

Trigger automated cleanup when needed (Blender scripts)

Comment too long. Click here to view the full text.
>>
>Unreal/Unity
they werent lying when they said theyre putting ads into this trash, lol
>>
File: 1747332970520533.png (63 KB, 1066x259)
63 KB
63 KB PNG
Cris thread, do not respond for his mind is an impenetrable quagmire of zero effort failure.

File: rust.jpg (73 KB, 1080x556)
73 KB
73 KB JPG
> Rust trannies on suicide watch
C is a true king
29 replies and 3 images omitted. Click here to view.
>>
>>107509453
seems to be the case for all crabs
im not sure of the causality link-
is it rust that makes one mentally ill
or is it that mentally ill people are attracted to rust...
>>
>>107509783
I tried using rust and just couldn't force myself to do it for long, might need existing mental illness.
>>
>>107508269
> men
>>
>>107509834
yeah
that would track
how can using a language make someone mentally ill?

already mentally ill people, though
they do various things
and various weird thing may make sense to them
>>
>>107507451
Look up Mary Ann (Mark) Horton. C is the original and only tranny language.


[Advertise on 4chan]

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.