[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

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: OpenCL.png (21 KB, 1100x500)
21 KB
21 KB PNG
Can this make my program faster?

Like say, I have a program that is pretty much maxing out the cpu to the point where all the threads available are at 100%, can I offload some of the work to the GPU and use that up as well? Does this make sense? Could it work?
2 replies omitted. Click here to view.
>>
>>101032065
>>101032099
>it is intended to make massively parallel programs faster. You are not going to speedup your singlethreaded calculation loop using GPUs.
>If your problem can't benefit from a really big number of threads then there is no reason to write GPGPU code.
Thanks bros, I'll be real with you guys. I'm essentially doing calculations + RNG and a bunch of math at once rapidly (this is a simulation).


Seems like it actually would help. I appreciate it.
>>
>>101032099
If he is at the point where all CPU threads are at 100%, it is parallel.
>>
>>101032114
Something like python + torch is a much more simple way to get efficient calculations on GPU.
>>
>>101032134
im using c++, so I can call openCL directly

>>101032122
yeah basically it's every threading

calculation();

then adding the results to a bunch of atomics (idk if mutex would be faster) that can be read later when prompted.
>>
>>101032198
>yeah basically it's every threading
yeah basically it's every thread doing*
sorry im not ESL, just careless (trust me dawg)

File: 1692851875948680.png (54 KB, 482x636)
54 KB
54 KB PNG
Honeypots are cool, any good projects i could do in them for uni?
>>
>>101032102
make a free AI nudifier website/app.
you'll be surprised how many people will upload pics of childrens.
>>
>>101032102
Make an allegedly unlocked GPT front-end, that automatically sends a JB and claim it can answer any question, charge people for it and see how many people prompt porn or illegal stuff

File: Capture.png (272 KB, 1876x876)
272 KB
272 KB PNG
Hello /g/, thoughts on Phoenix Framework?
3 replies omitted. Click here to view.
>>
>>101031988
Same as Laravel. Bloated garbage botnets. Use Go and http package instead.
>>
astro js is better
>>
>My smart mirror
your what?
>>
>>101032042
>>101032042
>Use Go and http package instead.
>muuuuuuuuuuuuuuuuuuuh interfaces
>muuuuuuuuuuuuuuuuuuuh clean architecture
>muuuuuuuuuuuuuuuuuuuh bloated folder structure
>domain, services, etc, etc
>if err != nil spam
nothing personnel, kid. Spring Boot & Kotlin is all you need.
>>
>>101032085
Go is opinionated tho

>nothing personnel, kid. Spring Boot & Kotlin is all you need.
t.unemployed

File: file.png (1.29 MB, 850x1304)
1.29 MB
1.29 MB PNG
I dont want to sound mean but that mouse on your desk actually has no use-case...
10 replies and 2 images omitted. Click here to view.
>>
>>101030359
IQ issue.
>>101030345
Yes mommy's right.
>>
>>101030555
Flat
>>
>>101031634
imagine Bae bouncing on your cock
>>
>>101031777
redeeming.
>>
>>101030555
>trips
s-should i lock it in a cage >_<

File deleted.
why is Nix so bloated
nix store gc always removes hundreds of gigabytes
but then a nix install brings it all back
3 replies omitted. Click here to view.
>>
>>101030510
I'M GONNA CUM!!
>>
cumflation is based
>>
hundreds of gigabytes isn't that much, an average cod game is about that large
>>
>>101031113
SAME
>>
>>101030510
not sexo, sexo

new 65scribe video, check it out
>>
>>101029662
>lust provoking image
>>
>>101029662
feet

File: 1718466241646729.jpg (119 KB, 1103x615)
119 KB
119 KB JPG
>can you guys like... just do whatever the customer wants? sorry i just have to be frank here. can you just be our dogs?
221 replies and 25 images omitted. Click here to view.
>>
>>101004476
Sorry anon but I can't take seriously someone that thinks a "casual" look is wearing a t-shirt with graphs under a blazer.
>>
>>101025835
One, two or ten people lying, no difference
>>
File: maxresdefault (1).jpg (111 KB, 1024x720)
111 KB
111 KB JPG
>>101005357
>>101005588
>>101006412
So we all have the basic understanding that the ASUS rep is wearing a literal ASUS t-shirt right? It says In Search Of Incredible. Blazer over corporate branded t-shirt at a Computex show floor is pretty standard. Pants could be better, but nothing to cause drama over.

GN on the other hand is always trying to larp as muh professional investigative journalism, he should absolutely should have tried harder to look the part. I'm not asking him to cut his hair either, but at least keep that shit in check or tie it back.
>>
>>101001733
Seems to work for me. I do believe it makes people think I'm a better programmer than I really am.
>>
>>101001733
no they don't think like that, the very thought doesn't cross their mind as your opinion is completely fucking irrelevant and nobody cares
only little gay niggers like you care about what some random nigger they will never see again thinks about them

File: mate-desktop-in-debian.png (37 KB, 1024x768)
37 KB
37 KB PNG
Debian + XFCE or MATE is the only sensible OS solution in 2024.
>wtf it feels like I'm using something made in 1998
Yes, that's the point. Modern software is cancerous. The only good "modern" software is the kind that tries to preserve older, better software while minimizing functionality and security obstacles. Obstacles, by the way, which were created by MODERN software due to its inherent tumorous nature.
22 replies and 5 images omitted. Click here to view.
>>
>>101028570
have you ever actually used gnome classic mode. it's as well implemented as an april fools joke. you're better off turning the extensions on yourself.
>>
>>101028570
Nah, Gnome classic has been buggy the last 5 years.
>>
>>101028566
>by eugene (((bischvetz))) (they/them)
the story writes itself
>>
>>101028430
ok nostalgiafag
>>
>>101028566
>(((Bischvetz)))
>(they/them)
>folx
holy fuck this image gave me cancer

File: 1000006984.png (196 KB, 2400x1080)
196 KB
196 KB PNG
ohnonononono SnapDragon bros what do we do now????
5 replies omitted. Click here to view.
>>
I'm waiting for ARM Steam Deck
>>
>>101031756
In what world has the limiting factor ever been the CPU when paired with integrated graphics?
These things aren't compatible with any dedicated graphics card on the market so it's not like you can imagine a theoretical scenario where it's running with a 4080 onboard instead.
>>
>>101031387
It is not running in native so okay. Anyway, I m waiting for the third generation of snapdragons (It will be better) or strix halo ryzens with 40cu igpu
>>
>>101031756
These are being translated from X86, so as the software improves so will performance. Very impressed with it so far.
>>
>>101031387
>>101031993
So any number on Doom for a fairish comparison?

File: GP_2rUBWQAAWU6A.jpg (115 KB, 1289x905)
115 KB
115 KB JPG
Who's going to observe us now?
>>
>>101031140
The NSA will monitor the internet for dangerous anti-Israel misinformation.
>>
File: 354338.jpg (78 KB, 1600x577)
78 KB
78 KB JPG
>>101031313
Checked.

File: me.png (276 KB, 640x480)
276 KB
276 KB PNG
I DONT GIVE A FUCK ABOUT THE FUCKING CODE! i just want to download this stupid fucking application and use it https://github.com/sherlock-project/sherlock#installation

WHY IS THERE CODE??? MAKE A FUCKING .EXE FILE AND GIVE IT TO ME. these dumbfucks think that everyone is a developer and understands code. well i am not and i don't understand it. I only know to download and install applications. SO WHY THE FUCK IS THERE CODE? make an EXE file and give it to me. STUPID FUCKING SMELLY NERDS
7 replies and 1 image omitted. Click here to view.
>>
>>101029854
This. I particularly like this copy pasta because it's an actual complaint made by nocoders
>>
>>101029935
Love you bro
>>
>>101028329
if he gets contact lenses and maybe a nice hair cut if possible he will be a 10/10, if you look closely he has a nice jawline,
>>
>>101028329
Hello, OP here and I'm gay.
>>
>>101028388
The jews did this

/aicg/ - A general dedicated to the discussion and development of AI chatbots

hydrated edition

>News
Cards v3 status: https://rentry.org/zdwfrgqq - tldr: >>100900968
Login, enable NSFW/NSFL and clear blacklists in settings if you cannot see some cards/tags on Chub
Gemini 1.5 Pro 2mil context, 1.5 Flash, Gemma 2, and more soon: https://blog.google/technology/developers/gemini-gemma-developer-updates-may-2024
NEW multimodal model, GPT-4o (omni), voice features coming soon: https://openai.com/index/hello-gpt-4o/

additional info: https://rentry.org/aicg_extra_information
lore: https://rentry.org/aicg_chronicles
latest proxies: https://rentry.org/desuproxyreborn

>Bots

Comment too long. Click here to view the full text.
673 replies and 66 images omitted. Click here to view.
>>
>>101033176
One Room could really make use of some Claude-generated writing
>>
>>101033217
you seem scared, Anti.
>>
>>101033217
legit scared aren't you?
>>
File: 1718703000206.png (1.25 MB, 1040x1795)
1.25 MB
1.25 MB PNG
>>101033220
very cute image :3
>>
File: tet.png (358 KB, 612x800)
358 KB
358 KB PNG
>>101033205
:D

File: 1718335509391969.jpg (33 KB, 954x1024)
33 KB
33 KB JPG
>make lottery sim
>I win jackpot within 400 tickets
>completely recheck the code multiple times for errors.
>it's real
1 in 217 million.
8 replies and 1 image omitted. Click here to view.
>>
>>101030312
fuck it, here is some more output:
 -> $50,000
spent: $464,569,186
won: $1,152,434,379
MINOR_WIN: $50,000!
REWARD: 4, 1 red
-> $50,000
spent: $467,737,446
won: $1,152,765,184
MINOR_WIN: $50,000!
REWARD: 4, 1 red
-> $50,000
spent: $467,762,852
won: $1,152,817,154


Comment too long. Click here to view the full text.
>>
>>101030326
spent:   $922,344,238
won: $2,102,281,521
MINOR_WIN: $50,000!
REWARD: 4, 1 red
-> $50,000
spent: $924,997,786
won: $2,102,565,264
MINOR_WIN: $50,000!
REWARD: 4, 1 red
-> $50,000
spent: $927,946,256
won: $2,102,872,953
MINOR_WIN: $50,000!
REWARD: 4, 1 red


Comment too long. Click here to view the full text.
>>
>>101030086
I have an idea for a super simple rng lottery bot that is based on time. It just generates random numbers from reading the time in fractions of a second. You just click a button that generates a seed and then you generate the draw numbers. The seed helps determine how the draw numbers are grouped so you can make bigger numbers than 0-9.

Generate Lotto Seed: Time is 12:35 and 12.79283561984523520439 seconds

79283561984523520439 is our lotto seed to work with

Generate Draw Numbers: Time is 12:35 and 42.29834729207147691327 seconds

29834729207147691327 are our draw numbers to work with

Rules:
lotto seed is read single digit, number by number
if lotto seed number is odd then draw number is grouped with next number
if lotto seed number is even then draw number is single digit

Comment too long. Click here to view the full text.
>>
>>101030449
>>101030312
>>101030326
>-> $100,000,000
holy fuck im so fucking unbelievably retarded, the prize is $1 million, not $100 million.
>>101031423
this is interesting, I think for all reasons technical this would still be considered pseudo-random. I understand you're adding more chaotic environment variables (https://en.wikipedia.org/wiki/Random_number_generation#True_vs._pseudo-random_numbers)

but at the end of the day it's still somehow considered pseudorandom.
>>
That's too bad, you already used up your luck now and will never win IRL.

File: 1691908341422780.png (301 KB, 1200x640)
301 KB
301 KB PNG
20 years later and they still haven't proven him wrong.
20 replies and 3 images omitted. Click here to view.
>>
>>101021968
And yet open source outlived him.
>>
>>101021968
20 years later and that douchebag is still dead,

Linux is better than macos
>>
>>101031485
>The continued existence of murderers proves murder is right
Meanwhile apple is one of the three most successful tech companies kek
>>
>>101022037
fpbp
>>
>>101021968
Wasn't osx based on bsd?

We must surrender.
233 replies and 43 images omitted. Click here to view.
>>
File: 1669877876487290.png (19 KB, 904x564)
19 KB
19 KB PNG
>>101030385
incompetent programmers write shit programs no matter the language
>>
>>101028513
What did you mean by this? Because "trans women" and "real women" are not mutually exclusive. But that's a discussion for another board. With all of your experience in C/C++ and Rust that you most definitely have, how do they compare? With as much detail as possible, please.
>>
>>101030477
no argument then
>>
>>101028425
Do you use static typing?
>>
>>101030490
if you think a trans woman and a real woman are the same it matters not which programming language you use because you clearly have poor understanding of basic biology


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