#ot1-perplexing-regexing

1 messages ยท Page 50 of 1

empty prism
#

Oooh, I meant move the whole taskbar. I like mine at the top of the screen

low chasm
#

I've since figured it out, but I've had similar issues across a few different distros

hybrid root
#

my friend with a 40xx card had to go through a lot of hoops to get it working. then they decided to switch back to windows ๐Ÿคฃ

drowsy rose
#

f*** you nvidia
torvalds, idk

round pendant
#

i tried linux mint and it has xorg drivers by default (cuz its ,,opensus")
well they dont fucking work ๐Ÿ‘

drowsy rose
#

lol

low chasm
#

OS wars generally aren't super productive - you can use what you like, experiences can be pretty subjective, and people have varying needs.

drowsy rose
#

true

empty prism
#

nvidia has open source drivers, though I understand they're not as good as the proprietary stuff

#

I'll be honest... I really am too averse to the inconvenience to avoid using proprietary software when I need

viral parrot
#

let met test

round pendant
empty prism
viral parrot
#

looks like a register edit. it will work until a full UI change in windows 11, but im guessing that will not happen until windows 12

empty prism
#

People have been complaining about it since 11 came out, but so far there doesn't seem to be any desire to change it

hybrid root
#

I bet replacing the taskbar altogether is a Herculean task on win

empty prism
solemn tulip
tranquil iron
#

you will use what microsoft gives you and you will like it

#

or else

sullen pier
#

@viral parrot ๐Ÿ‘‹

https://dropmefiles.com/sqYTZ :

  • test.py - collection of different microbenchmarks
  • t.py - little library for microbenchmarking some code
  • show_results.py - prints difference between platforms
  • bench-<system-name>.json - contains data

How to use:
0) close any heavy background tasks

  1. run test.py (optionally: give the process higher priority)
  2. wait as long as you want (more = better)
  3. it will print results and also save them into bench-<system-name>.json file
  4. do 1-3) on different system
  5. run show_results.py, it will show the difference between results on linux and on windows

I have prepared some results from half an hour of running test.py on both platforms. I believe these results are pretty accurate.
You can find corresponding bench-windows.json and bench-linux.json files in attached archive.
You can run show_results.py to see results from my tests.
You should delete these files before running tests on your machine (to not mix our results).

high verge
#

jesus

#

thats impressive

sullen pier
#

lets check manually that at least some of these tests are correct.
lets choose this: x.__class__ 8.5 ns 2.9 ns +196.866%
we can see that there is a HUGE difference in speed

here is the code that performs the same test:

from time import time # measuring time
from itertools import repeat # quick iteration

n = 10**8 # number of iterations

class X: ...

def main():
    x = X()
    t1 = time() # save time
    for _ in repeat(None, n): # repeat n times
        x.__class__ # do thing
    t2 = time() # save time
    return (t2 - t1) / n # return time per iteration

# you can see that there is a lot of unnecessary overhead in main() fucntion:
# - timers
# - repeat() creation
# - iteration
#
# we only care about x.__class__ time, so we should subtract all other time

# here is the same function, but without x.__class__ part:
def main0():
    t1 = time()
    for _ in repeat(None, n):
        pass
    t2 = time()
    return (t2 - t1) / n

dt = main() - main0() # (x.__class__ time + overhead) - overhead

from t import format_value
print(format_value(dt))

if i run this code, i get 7.5 ns on windows and 1.3 ns on linux

#
>>> 7.5 / 1.3
5.769230769230769
``` so windows needs +477% more time that linux to run this code
this is not the same value as in [#ot1-perplexing-regexing message](/guild/267624335836053506/channel/463035241142026251/) because of some noise and inaccuracies, but it definitely is not 0%
solemn tulip
#

apparently my dyndns script was the culprit ๐Ÿ˜ญ

young shoal
#

what broke

solemn tulip
#

it enabled cloudflare proxying for an A entry that shouldn't be proxied

#

which also meant I could have fixed this remotely ๐Ÿคก

#

at least the script should be fixed now

solemn tulip
tranquil iron
solemn tulip
tranquil iron
#

you cannot expect ns accuracy when measuring execution time, even ms are sorta suspect

solemn tulip
#

it's measuring a long time difference

tranquil iron
#

ok

solemn tulip
#

judging by the results, the actual measured times were around 0.75s and 0.13s

solemn tulip
#

at least use time.perf_counter

sullen pier
sullen pier
solemn tulip
sullen pier
solemn tulip
#

ok, at least the main0 is roughly comparable

#

I wonder what happens here

#

this should just be a glorified dict lookup

#

(if that)

sullen pier
#
>>> import platform as p
>>> p.system()
'Windows'
>>> p.processor()
'Intel64 Family 6 Model 142 Stepping 12, GenuineIntel'
>>> p.architecture()
('64bit', 'WindowsPE')
>>> p.python_build()
('tags/v3.11.5:cce6ba9', 'Aug 24 2023 14:38:34')
>>> p.python_compiler()
'MSC v.1936 64 bit (AMD64)'
>>> p.python_version()
'3.11.5'
``` ```py
>>> import platform as p
>>> p.system()
'Linux'
>>> p.processor()
'x86_64'
>>> p.architecture()
('64bit', 'ELF')
>>> p.python_build()
('main', 'Aug 25 2023 13:19:50')
>>> p.python_compiler()
'GCC 11.4.0'
>>> p.python_version()
'3.11.5'
sullen pier
#

tbh, i have no idea why results are so different

gritty zinc
#

dumb linux question: is there a more primitive and more common alternative to neofetch?

#

like, what do poor Debian people use, if they don't want to apt install neofetch?

grave cove
#

Neofetch is probably the most common from what I see

cobalt remnant
#

Neofetch is false advertising. It didn't behave anything like window.fetch()

grave cove
#

๐Ÿคจ

tranquil iron
#

what is neofetch?

gritty zinc
#

a very popular tool. you do neofetch and it spits out your system information, and makes it look cool in process

grave cove
tranquil iron
#

heh, how cute

grave cove
#

oops i dropped my neofetch

#

silly me

young shoal
#

๐Ÿฅบ

tranquil iron
#

not something I'd ever install on a server or use more than once but a cute side-project, I guess

grave cove
#

i think many people that daily drive linux have it

young shoal
#

not on a server, of course

grave cove
#

no point on a server though yeah

young shoal
#

it's just fun

tranquil iron
gritty zinc
grave cove
#

how else are we supposed to feel superior

young shoal
tranquil iron
grave cove
#

especially if it's arch

#

it is my god given duty to inform everyone around me that i use arch btw every 5 minutes

gritty zinc
young shoal
#

it took quite a long time to piece it together

grave cove
tranquil iron
young shoal
#

toml is not very amenable to the thing that i wanted to do

grave cove
tranquil iron
#

just use json and be done with it

#

or hjson if you're feeling fancy

young shoal
#

it'd be way easier if i just used my own bash script for a prompt

gritty zinc
young shoal
#

the diff thing is great too, but it doesn't show in the screenshot ๐Ÿค”

grave cove
#

the git diff?

young shoal
#

yeah

#

but it's cooler

grave cove
#

mmm

#

leak starship config? ๐Ÿฅบ

#

mine is too minimalistic maybe

stark prawn
#

all defaults :kek:

young shoal
#

i removed the language versions thing, though perhaps i should not have

grave cove
#

i tweaked with it just barely enough to not be all defaults

stark prawn
#

mine is

grave cove
#

based

gritty zinc
#

i need some fonts

young shoal
#

๐Ÿ˜ฉ

tranquil iron
gritty zinc
#

me when ๎‚ฐ๎‚ฐ๎‚ฐ๎‚ฐ โ™ฅ

young shoal
#

๐Ÿฅบ

stark prawn
#

comic sans but mono nerd font

young shoal
#
#### Git
# $branch [+$added -$deleted] [$status]
[git_branch]
symbol = "๏˜"
style = "bg:#FFF6A3"
format = '[ $symbol $branch ]($style fg:#070707)'

[git_metrics]
disabled = false
added_style = "bg:#FFF6A3 fg:#03AC13"
deleted_style = "bg:#FFF6A3 fg:#B90E0A"
format = "([\b \\[](fg:#070707 bg:#FFF6A3)([+$added ]($added_style))([-$deleted ]($deleted_style))[\b\\] ](fg:#070707 bg:#FFF6A3))"

[git_status]
style = "bg:#FFF6A3 fg:#070707"
modified = "" # git_metrics shows us if we've modified files already
deleted = "X" # default char is too curvy, replace with normal X
format = "([\b \\[](bg:#FFF6A3 fg:#070707)[$all_status$ahead_behind]($style)[\\] ](bg:#FFF6A3 fg:#070707))"
#

discord eats the branch character though since it doesn't have the right font

stark prawn
#

and I got the google/adobe cjk font to prevent getting too many rectangles in discord usernames ๐Ÿ˜›

grave cove
#

ooh

frozen coral
#

looks like this normally

tranquil iron
#

shouldln't the battery discharge symbol be a graph of how full the battery is?

young shoal
#

that seems difficult

frozen coral
#

you coudl probably do it, given enough symbols

#

but, imo it's not worth it

#

I have threshold 30 set, so it only appears below 30% anyway

young shoal
#

ooh it seems they added more stuff

grave cove
#

does WSL have access to battery percentage of the host machine

young shoal
#

ยฏ_(ใƒ„)_/ยฏ

gritty zinc
#

hmm, weird

#

I already have nerd fonts, and I made sure of it - ubuntu mono nerd font is installed and mentioned in fc-list

#

so what's up with my prompt?.. or do I need some specific nerd font for symbols?

young shoal
#

ยฏ_(ใƒ„)_/ยฏ

stark prawn
#

what terminal are you using

gritty zinc
#

fish

young shoal
#

that's a shell

stark prawn
#

is it the vscode terminal?

gritty zinc
#

yeah, that's it, "Version 3.44.0 for GNOME 42"

gritty zinc
#

vscode's terminal works fine, actually

#

well, almost, that's a missing symbol there, but the powerline works

#

wtf are you doing, gnome-terminal

grave cove
#

too many colors imo

#

but you do you

stark prawn
#

for the symbols in vscode you need to add the font to your font-family in vscode (control + ,)

gritty zinc
#

aha, thanks, got it. I misspelled it at first

stark prawn
gritty zinc
#

okay so that solves vscode

#

now, wtf is wrong with gnome...

#

maybe I should just change terminals and not bother solving this manually, lol

young shoal
#

alacritty ๐Ÿฅบ

gritty zinc
#

maybe

#

is it fine as a daily driver?

grave cove
#

windows terminal is nice

grave cove
gritty zinc
#

it somehow claims it's in beta despite having 40k stars on github

young shoal
#

winterm is pretty good

grave cove
#

Though sometimes it stops working after it's been udpated and I have to restart

young shoal
#

though i can't use it yet ๐Ÿ˜”

grave cove
#

Can't believe they made me restart my computer after an update
The nerve

gritty zinc
#

wait, that's a windows issue, right?

#

not related to alacritty?

stark prawn
#

no, this was a response to robin saying he needed to restart after update

gritty zinc
#

lmao, I went "how does a terminal prevent a system from booting"

grave cove
#

this seems to be just a windows thing

gritty zinc
#

okay I fixed the font issue

#

hmm, I think I have an outdated starship though

#

how did I even install it?.. I think it came with fish

#

or...

grave cove
#

a side of fish?

#

usually fish is the main course

gritty zinc
#

time to do another cargo install

young shoal
#

i think you can just update it

#

surely

stark prawn
#

I think the common method is the classical sketchy pipe a script from the web into sh

young shoal
#

i'm pretty sure you just cargo install --locked starship

gritty zinc
#

that's what i'm doing, yeah

stark prawn
#

You'd have to install cargo for that though

gritty zinc
#

warning: package hermit-abi v0.3.1 in Cargo.lock is yanked in registry crates-io, consider running without --locked

#

implying i don't have cargo

stark prawn
#

is that some kind of alternative package manager for windows?

gritty zinc
#

it's the package manager for rust

stark prawn
#

chocolatly

young shoal
#

nuget ๐Ÿฅบ

gritty zinc
#

btw I cleaned my cpu fan, now it's fine

#

no more 85 degrees at 50% cpu load

#

it was just so dirty it didn't rotate at all

young shoal
#

๐Ÿ’€

#

that happened to me too. dropped 20C instantly

high verge
foggy jungle
#

I have no hopes of ever running cool.

stark prawn
foggy jungle
quasi furnace
#

@stark prawn

foggy jungle
#

Joy and Happiness doesn't preclude them from carrying metal pipes and lockpicking kits.

quasi furnace
#

LOL

stark prawn
#

Evil Ice Panda

foggy jungle
#

Pengwings

gritty zinc
quasi furnace
#

benedict

foggy jungle
#
BBC

Subscribe and ๐Ÿ”” to the BBC ๐Ÿ‘‰ https://bit.ly/BBCYouTubeSub
Watch the BBC first on iPlayer ๐Ÿ‘‰ https://bbc.in/iPlayer-Home http://www.bbc.co.uk/grahamnortonshow Graham Norton chats to Benedict Cumberbatch about him not being able to say "Penguins".

#bbc
All our TV channels and S4C are available to watch live through BBC iPlayer, although some progr...

โ–ถ Play video
high verge
quasi furnace
#

woah ur rich

high verge
#

should i even enable EXPO

stark prawn
grave cove
#

go ahead

high verge
foggy jungle
#

Benadryl Cucumberpatch

grave cove
#

step on my property

high verge
#

my whole pc as it is rn costed me $600

quasi furnace
#

bruh

#

rich asf

gritty zinc
#

CPU: Intel i3-3240 (4) @ 3.400GHz
cry about it

quasi furnace
#

LOL

#

i have an i3 too

#

2nd gen :(

stark prawn
#

does that even run the latest windows?

quasi furnace
#

not really... it can barely run linux

#

but its enough

#

my pc is older than me

stark prawn
#

.wa s second generation intel core release date

median domeBOT
stark prawn
#

oof

quasi furnace
#

im not a kid

#

but the pc as a whole (case) is older than me

#

some parts are newer

gritty zinc
grave cove
#

minimum specs

quasi furnace
high verge
proven ermine
young shoal
#

second gen i3 wtf

high verge
#

linux was a bit better

quasi furnace
young shoal
#

that's over 10 years

quasi furnace
#

its enough

#

IT RUNS HALF LIFE 1 I DONT CARE

high verge
#

ayeee

stark prawn
gritty zinc
quasi furnace
#

what is tpm2

gritty zinc
#

i didn't have any issues on win10 with this cpu

grave cove
high verge
#

gp440 something like that

#

dual core

stark prawn
#

o there's atoms on the supported list

#

I feel sad for whoever has an atom based pc with win 11

quasi furnace
high verge
#

and no graphics card either

#

surprisingly my pc was really quiet

#

and i used it for like

#

5 years

#

only upgraded it once to install 2x8gb sticks of ddr3 memory

#

honestly the only thing different i notice from my old pc is the faster start up time with my new pc

quasi furnace
#

ssd?

high verge
#

and the fact that it can run minecraft in vanilla mode

#

ye

#

i tried installing optifine shaders on it and it humbled my igpu instantly

quasi furnace
#

lol

quasi furnace
high verge
#

nope

quasi furnace
#

at all?

high verge
#

the fps is pretty smooth even when loading new chunks

quasi furnace
#

guys... life is not fair

high verge
#

you probably havent worked yet since you're underage

quasi furnace
#

people run minecraft with 0 lag and i can only play hl1

high verge
#

once you do making an investment of $600 sounds reasonable

quasi furnace
#

stuff here is expensive compared to income

high verge
#

oh ๐Ÿ’€

#

where u live

#

brazil?

quasi furnace
#

lol a bit worse

#

dont really wanna say exactly where

#

but its still better than other places tbh

high verge
#

bruh people in brazil be running some old ass hardware

#

theres a few people in here who talk about it

#

and yet... brazil has one of the highest hacker populations in the world

#

maybe the hardware is so outdated its vulnerable

quasi furnace
#

we should have a competition to see who has the shittiest machine

high verge
#

lmao

tranquil orchid
#

On a basic board you wouldn't need to

#

But you would generally have a ground copper fill on the top or bottom layer

#

Which... well, essentially makes that a ground layer

#

Like here's the keyboard, it's just a two layer board, but the top layer has a ground copper pour, it'll connect all the GND pads but avoid the others

#

Like you can see a lil better here

eager cliff
#

I think I can understand it and what I'm looking at

runic plinth
#

Keyboards are simple enough to just handwire with a microcontroller.

eager cliff
#

Is the lighter red the top most layer or second layer

tranquil orchid
#

top layer

#

Blue stuff is the bottom layer

#

Which doesn't consist of a heap of things, just a bunch of traces, the diodes for each switch and a few other small things

eager cliff
#

Did you make that

tranquil orchid
#

The keyboard? Yeah

tranquil orchid
#

Alternate name

eager cliff
#

Oh wow, yeah I see the underwear aspect

#

Wonder if it's what batman wears, utility tighty whiteys

#

Or Darth Vader's underwear, voice modifier, urinary release button, etc

carmine apex
#

am i the only one that sees wings? like a bird or moth or such?

eager cliff
#

Yes. Because I see darthvaders under roos.

stark prawn
#

Green goblin

carmine apex
#

wrong goblin, traitor

#

dafoe or death!

runic plinth
#

The goblin glider

tranquil orchid
river oracle
#

hello anyone here to help

runic plinth
#

PCB design looks like fun but daunting sad_cat .

gritty zinc
runic plinth
eager cliff
#

Wish people would use ai to handle PCB designing instead of using it to do their homework for them

#

So I didnt have to learn this

runic plinth
#

Why do you need nmap for a email scraper?

#

Unless that is a typo.

#

Does pip install everything from the requirements file even if there is an invalid entry?

gritty zinc
#

nmap is, well, not a python package

#

so I'm suspicious that they're installing malware (and so nmap used to be a malicious pypi package)

carmine apex
gritty zinc
#

but the simple and boring explanation is that they want nmap and so added it to requirements.txt which of course won't work

gritty zinc
river oracle
runic plinth
river oracle
#

yes

runic plinth
#

That package doesn't exist though.

eager cliff
#

@tranquil orchid are you good with pc components too?

tranquil orchid
#

I mean, there's not a heap to them ๐Ÿ‘€ just a lil bit of research, buy some stuff, slap em together and you're good to go

river oracle
runic plinth
eager cliff
#

CPU/GPU combo for UE5 on a non-professional level and gaming

river oracle
#

i have been looking for emaill scrapper how can i get one

stark prawn
#

@river oracle it looks like you are trying to install a virus, that's a very bad idea and you may have been infected

eager cliff
#

I was considering the r7 7700x, r7 7800x3D, and r9 7950x, and r9 7900x3D to be paired with either a rx 6750 xt or 3070 Ti

tranquil orchid
#

So not sure what'd be good choices these days

runic plinth
#

I feel like it doesn't really matter anymore. Unless you know what you are doing.

stark prawn
runic plinth
#

You can't go wrong with anything really unless you are doing something really intensive.

#

Or niche

tranquil orchid
#

Yeah I just set myself a budget and had a hunt around until I found the best combo I could find for the price

runic plinth
#

Yeah, my most recent cpu/mobo was a combo deal.

eager cliff
runic plinth
#

Then just filled out the rest with whatever.

tranquil orchid
#

Ended up yoinking a 1660Ti for a sweet price, a ryzen 5 2600 and then whatever other stuff and things

river oracle
eager cliff
#

1660 super is just a 1660 TI but cheaper

#

The super is probably even better than the ti for the 1660 card variants. Was a weird release

river oracle
#

who i need a email scrapper how can i get one

runic plinth
#

I bought a 2080 super right before the pandemic. Felt really lucky for a while.

tranquil orchid
#

I got the 1660Ti stupid cheap so was well worth it

eager cliff
#

Might as well just build a am4 system to abuse the ddr4 ram prices

runic plinth
#

Yup

#

I feel like a lot of people go overkill with their builds.

tranquil orchid
#

Yeah I didn't need anything special, I just wanted something half decent that worked for the stuff I do, which is nothing crazy

young shoal
#

you can get so much ddr4 ram these days

#

and the SSD prices

#

omg

eager cliff
#

8 cores is my minimum amount

#

I refuse to have a pc that has less cores than a xbox series x

stark prawn
eager cliff
#

Some of ryzens cpus for am4 has the 3D cache if I'm not mistaken so it's still a very solid option over am5 and ddr5 ram

tranquil orchid
#

cache in 3 dimensions brainmon

runic plinth
#

Why stop at 3

tranquil orchid
#

Cache through time

eager cliff
#

Vnand style cache for cpu?

#

What does the cache even look like

tranquil orchid
#

Haven't a clue

young shoal
#

sram or whatever

eager cliff
#

You're the PCB guy, read this pls

runic plinth
#

boxes

tranquil orchid
#

Ah yes

#

read the transistors

runic plinth
#

I think I count a billion transistors

grave cove
#

count again

runic plinth
#

dang

#

Lemme try again

tranquil orchid
#

multiply by 50 or something and you're probably getting to the right ballpark

eager cliff
grave cove
#

chiplet

eager cliff
#

What's inside the chiplet

runic plinth
eager cliff
#

Sounds like torture

runic plinth
#

I dunno, I think it's interesting.

eager cliff
#

The one game I thought would benefit from 3d cache ends up tying with a non 3d cache cpu

runic plinth
#

The entire process is fascinating how we can create billions of microscopic transistors.

eager cliff
#

Ground down as in grinded up to dust or ground interms of eletrical stuff

#

Depending on 5800x3ds price compared to 7800x3ds price I think I will settle for an am4 system

#

Am4 is a no brainer. Ddr5 ram is so far the only perk for am5

#

It's only $300 cheaper for a full am4 build with 64GB 3600mhz ram kit compared to a am5 build with 32GB 6000mhz ram kittho.

quasi furnace
#

goddamn you are rich

#

i hate rich people

tranquil orchid
# runic plinth

Reminds me of all the datasheets I've had to read that're listing out a signal bit by bit

eager cliff
#

I'm not rich I just know how to manage money between paychecks

quasi furnace
#

rich mf

#

give me 2 dolla

eager cliff
#

14% of pay goes to government, $175 goes to mom for rent, $150 for food/beverages. Half of the rest goes into bank to be saved, and the rest can be used as whatever catches my interest. Usually being 30-70usd

quasi furnace
#

give me

#

4 dolla

eager cliff
#

No?

quasi furnace
#

im 250k in debt

quasi furnace
eager cliff
#

Jackyboy this ones for you

#

Only 700usd new, and 500 used

grave cove
rough sapphire
rough sapphire
eager cliff
#

Japanese engineering

quasi furnace
#

500$ used?

#

if thats true why buy a new one

#

200$ cheaper holy moly

tranquil orchid
eager cliff
#

Why buy that at all

rough sapphire
#

buy a thinkpad

eager cliff
#

When the original 3070 is 400 usd

rough sapphire
#

mfw portable

eager cliff
#

New

quasi furnace
#

LOL linux users be like:

#

thinkpad... broke mf

eager cliff
#

Lenovo ideapad gaming 5

tranquil orchid
#

thinkpads are solid laptops

eager cliff
#

With a ram and storage upgrade

rough sapphire
#

W jack opinion

tranquil orchid
#

I don't think I would ever buy a gaming laptop, they just don't make sense ๐Ÿ‘€

quasi furnace
#

the only thinking im doing is... think why i wasted my money

rough sapphire
#

๐Ÿ˜ญ

eager cliff
#

Dont use it for gaming

rough sapphire
#

wasted on what

tranquil orchid
#

What on earth are you using it for ๐Ÿ‘€

eager cliff
#

I used mine as a portable productivity workspace

tranquil orchid
#

But like, why do you need that much power ๐Ÿ‘€

#

I just use my macbook at uni and when going places

quasi furnace
#

whats up with the eyes jack

tranquil orchid
#

Does just fine

eager cliff
#

Ue5

tranquil orchid
#

Is unreal really that heavy?

quasi furnace
#

darude whats ur job btw

eager cliff
#

Kinda

#

Mostly the lighting

rough sapphire
#

I work at Mcdonalds full time

tranquil orchid
#

Welp, luckily I'm not a game dev ๐Ÿ‘€

rough sapphire
#

rn

quasi furnace
#

BRO @rough sapphire

eager cliff
#

And if you dont know what you're doing, like me

quasi furnace
#

SEND ME MCDONALD TO RUSSIA

eager cliff
#

I cant optimize my code at all

rough sapphire
quasi furnace
#

huh?

eager cliff
#

Youtubers use 7 lines to do what my 50 lines of code does

#

No, for begging

tranquil iron
grave cove
rough sapphire
#

I lied

#

I'm a part time stock trader

grave cove
#

oh

quasi furnace
grave cove
#

slightly less based

#

but still pretty based

eager cliff
quasi furnace
rough sapphire
#

Identity theft

quasi furnace
#

lmao

eager cliff
#

The one I had previously used occluded light as toilet paper

quasi furnace
eager cliff
#

More or less objects blocking light and casting shadows. I forgot what it is, but still remember what it does

quasi furnace
#

do you make games in a pixilatdd way?

eager cliff
#

For some reason if I make an application go into the "not responding" state it makes it load the applications faster

grave cove
#

reverse psychology

eager cliff
#

Feels like forever if I make it not go into non responsive state

#

Also it wont let me install arduino ide software.

tranquil orchid
#

wdym won't let you? ๐Ÿ‘€

eager cliff
#

I have enough space on my c drive, but it says not enough space

#

So I tried precompiled zip file, wont even launch

#

This laptop is very fidgety

#

But if I wanna play a 2D top down survival game that's cpu intensive at a very playable fps. I can.

#

Nvm dont starve isnt as cpu intensive as I thought.

#

Ideapad gaming 3 has a lot of different specs. This one is moderately decent. My last one used radeon Vega 8 graphics

tranquil orchid
#

All I tend to want out of a laptop is something with solid battery life, and nice and portable

#

Power I don't really care about

eager cliff
#

This was my last laptop, except it was windows 10 and had a different cpu

#

And I dont think it had a type c port

tranquil orchid
#

Anyways, I should go back to drowning in datasheets, I have so many schematics to make by the end of the week

eager cliff
#

Is that for college or job

tranquil orchid
#

the former

#

mostly

eager cliff
#

College sounds overwhelmingly torturous

tranquil orchid
#

Na I love uni

#

It's a blast

quasi furnace
#

what year?

eager cliff
#

Have fun dont die under hundreds of pieces of paper

tranquil orchid
#

Getting towards the end of my 2nd year

quasi furnace
#

good luck

eager cliff
#

What's the dropout rate in Australia

tranquil orchid
#

Haven't a clue

quasi furnace
#

LOL

tranquil orchid
#

depends on the course

#

And the uni

quasi furnace
#

why is he asking that ๐Ÿ˜ญ

eager cliff
#

Cus US has a high college dropout rate

tranquil orchid
#

I think at the uni I'm at

#

The completion rate is at 82% or something

eager cliff
#

Mostly people going for a diploma in a completely useless field

quasi furnace
#

it legal to drop out from HS?

eager cliff
#

Yes

#

As long as you're 16 you can drop out

#

They cant stop you, if you try before you'll get into trouble and eventually your parents can get fined or taken to jail

#

Something something chikd neglection

quasi furnace
#

where i live we have drop outs as young as 3rd grade

eager cliff
#

Damn

tranquil orchid
#

I don't even care about my classes really, I mean they're alright as well, some are far more fun than others, it's the student team stuff that I really enjoy though

#

Who wouldn't want to go to uni and build rockets

eager cliff
#

I would like to go for that

#

I just wish I took my education more seriously when I was a younger brat

tranquil orchid
#

We've got a lot of teams doing cool stuff

tranquil iron
#

that's cool stuff

eager cliff
#

That is some cool stuff

#

Wonder what my local tech college does

#

Cant find anything, seems they're more keen on being boring

#

Enjoy your data sheet work, I'm going back to what I was doing

quasi furnace
#

it feels so good to understand documentation

#

i love being slightly smarter than average

thick ore
#

read more documentation and youll understand more documentation

tulip falcon
#

How can everyone be above average

quasi furnace
#

okay fine im average

steep swift
#

Just recently I was arguing with a guy saying that ai is better than humans and just basically making fun of me because I don't know ai because when he asked chat gpt it made him a 2d game with no errors with I call cap so he said ai will replace all programs so I told him what language did chat gpt write the code in he told me English ๐Ÿ˜‚๐Ÿ˜‚

#

Little fun story

hidden storm
#

Will it replace us ?

#

It made a 2d game WILL IT REPLACE US

outer sundial
eternal depot
#

@reef geyser what's for breakfast?

sullen pier
viral parrot
#

cool, do you have a direct link?

#

oh i found it

royal lakeBOT
#
Sure.

Your reminder will arrive on <t:1693687329:F>!

quasi furnace
#

mf wanted to kill me

eager cliff
#

What do I install to do so?

tranquil iron
eager cliff
#

I come precompiled with a brain

#

Some people get compilation errors but still compile

#

Which I would be one of those

eternal depot
#

@reef geyser CAN HAZ PIE?

#

Plz? Kthx

thick osprey
flint sky
#

@fathom musk

#

Sup

fathom musk
#

Yeah so

#

Seee

#

When I had binoculars

flint sky
#

ik

fathom musk
#

Or maybe i still have it lying somewhere

flint sky
#

look through one side, big

#

wrong side, small

fathom musk
#

Yes but from the small side, if you'd put something very close to it, it would basically act like a microscope

flint sky
#

wym

#

*wdym

#

what do you think a microscope does

fathom musk
#

What sorta question is that?

#

It like magnifies an image

flint sky
#

yes

#

what do you think the normal side of binoculars do

fathom musk
#

Idk what to call it but Zooms the image

#

Anyways breakfast is ready so gtg

flint sky
#

k bye

eternal depot
#

<@&831776746206265384>

eager cliff
#

@tranquil orchid what do you think the chest piece is?

#

A literal voice box?

#

Its connected to the throat

tranquil orchid
#

that just looks like a gpu lol

eager cliff
#

It does

#

I was trying to be funny cus it's a box connected to the throat ๐Ÿ˜ฆ

#

If it's a gpu I wonder if they made it

#

Or one of nvidias 30k ai gpus

#

It probably is their own gpu, msrp of optimus is supposed to be 20k

tranquil orchid
#

I don't even know what this robot is ๐Ÿ‘€

rough sapphire
eager cliff
#

They want to rebrand as more than just a car company

#

Itll use all the software and shit tesla cars use for moving around and whatnot

tulip falcon
eager cliff
#

Probably is

#

Idk what its use case is

#

Most rich people still use professional butlers and maids, other people do things themselves for work ethic

tulip falcon
#

First gen is always the worst gen with issues and etc

#

We gonna have used robots for like $200 in the future

eager cliff
#

Wasnt Elon warning us about ai

#

Now hes putting it in everything tesla makes?

#

Is it even ethical to build robots designed to look like humans?

#

And do human things

rough sapphire
thick ore
rough sapphire
#

for boolean checks

thick ore
#

when && has existed for years and is practically the standard

rough sapphire
#
if (a == 0 and b != 0){}
thick ore
#

parens

rough sapphire
#

let's change the standard

#

we need 2 standards

plush sun
#

.xkcd 927

median domeBOT
#

Fortunately, the charging one has been solved now that we've all standardized on mini-USB. Or is it micro-USB? Shit.

rough sapphire
#

and is also really old

#

like it should work on any C++ standard

small coral
rough sapphire
#

imo it sometimes makes the code harder to read, in my own language i have and instead of &&

#

(btw how to parse expressions i am really stuck)

eager cliff
#

Sorrow speak pal

#

@tulip falcon you cant just ditch out mid conversation like that ๐Ÿ˜ 

tulip falcon
#

I lost enthusiasm for what I was going to say midway through it and deleted it

eager cliff
#

Why

#

Oh nvm

#

Kinda like Tesla with cyber truck

tardy rain
#

Robots bad

#

Thats all

small coral
#

i'm waiting for others

#

to see if you're right in at least one case

eager cliff
#

I use and..

rough sapphire
#

lol

small coral
eager cliff
#

What's the difference between them

rough sapphire
#

more people use and = more often and is used over &&, you get it???

thick ore
eager cliff
#

They both do the same thing

small coral
#

need to check the truthness of the left side

small coral
#

ok

#

wow

quasi furnace
#

spent an entire day on making a calculator

tardy rain
#

What does it calculate

thick ore
#

numbers

#

probably

quasi furnace
#

lol

thick ore
#

agree

#

yaml would be nice for config file too

#

lmaoo

#

also msgpack for serialization if more low-level and high performance

grave cove
#

I think they meant msgpack instead of json

tranquil iron
#

oh, msgpack instead of

#

lol, brain fart

grave cove
#

haha I can see how it could be read the other way too

tranquil iron
grave cove
#

msgspec is pretty cool

#

I have been using it for some projects

young shoal
#

msgspec is really cool. fast too

graceful basin
#

I quite like cap'n proto, mostly because of the name

quasi furnace
#

what is all of this

outer sundial
#

@deep cedar I looked a bit more and I have no clue what cs61a is, but you should look though all the #409692123944714240 channels and see if any fit it. There is also #internals-and-peps if by "core python" you mean about python internals. If you just mean python in general, that's what #python-discussion is for.

deep cedar
#

By core python I mean, barebones and just simple Python.

#

CS61a is the world's best programming course taught at UC Berkely

tranquil iron
#

nothing about python is simple

deep cedar
#

Well, only the standard library.

tranquil iron
deep cedar
outer sundial
#

Unfortunately this isn't really the best place for finding study groups, I would recommend posting on the Python Reddit though. I would also use discord's search feature for finding other people talking about cs61a. And just talking about standard python, #python-discussion is the place.

tranquil iron
deep cedar
thick osprey
young shoal
#

graphql is cool

thick osprey
#

It is pretty cool. Feels like an entirely different language to learn in the language I'm using. xD

#

All this because I want to pull my daily PR/Commit count with a final tally on files touched, additions, and deletions.

young shoal
#

seems like something that could probably be better done locally ๐Ÿค”

#

a git hook or something

thick osprey
#

If all the work I did was local then I could track it there.

#

But it's rarely all local and the stuff that is rarely hangs out on my machine. I usually delete the local repos when I'm done with them.

young shoal
#

how are you doing work not-locally?

thick osprey
#

Might not be my machine (remote access). Might be work done on the github UI itself.

young shoal
#

i c i c

thick osprey
#

Looks pretty easy. A query to:

  • Pull user activity for the day
  • For each repository listed in activity:
    • Query to identify PR diffs for that day
#

Slap it all together in the bragsheet

young shoal
#

pog

thick osprey
#

oh, and pagination handlers. ugh.

#

How does pagination work on graphql pithink I see first and last cursors... where next?

#

oh, that's endCursor for next.

young shoal
#

you can pass parameters in your query; i presume there

thick osprey
#

Ah, yeah. Looks like the initial query I just say "sort this way and give me the first 10". Then I can say "do that again but give me results after this cursor"

thick osprey
thick osprey
#

lemon_hyperpleased

(venv) preocts @ Preocts ~/daystats (main)
โ””โ”€โ–ถ $ python -m daystats.pullstats
Contributions(commits=9, issues=1, pullrequests=3, reviews=0, pr_repos={Repo(owner='Preocts', name='python-src-template'), Repo(owner='Preocts', name='walk-watcher')})
PullRequest(additions=30, deletions=36, files=1, url='https://github.com/Preocts/walk-watcher/pull/48')
PullRequest(additions=83, deletions=62, files=3, url='https://github.com/Preocts/walk-watcher/pull/47')
young shoal
#

๐Ÿ‘€

thick osprey
#

timezones are going to bite me here lemon_angrysad

#

But I don't want to have third party imports for this. whaaa

#

Maybe I can just set the utc offset in a config and call it close enough pithink

young shoal
#

you don't want it to just use your local?

thick osprey
#

GitHub is UTC for all returned timestamps.

#

Unless I missed a way to declare that in the query.

young shoal
#

hm. are you getting naive datetimes ig?

thick osprey
#

So if I'm looking for all contributions on 2023-08-29, I'm actually looking for a spread of them between 2023-08-29 and 2023-08-30.

#

Yeah, I can make it dirty by just keeping the utc offset in a config.

(venv) preocts @ Preocts ~/daystats (main)
โ””โ”€โ–ถ $ python -m daystats.pullstats
2023-08-30 00:00:00 - 2023-08-30 23:59:59 : Local
2023-08-29 19:00:00 - 2023-08-30 18:59:59 : UTC
young shoal
#

ah, right

#

L timezones fr

grave cove
#

#abolishtimezones

ruby fox
thick osprey
#

Got it "working" and that always feels good.

#

Just need to wrap my head around those timezones. I think I'm offsetting in the wrong direction.

vale raven
thick osprey
# vale raven Wait Isn't this for braghook? Isn't that a thing that sends an embed to Discord?...

This will be for brag hook.

Braghook has the option for an embed to Discord.

The dailystat repo will hold a self-contained version for other uses. I did this mostly to learn GraphQL but I also have interest in these stats.

I'm not sure what the final output will look like. My original goal was to get a single line that said "Changed N files with N additions and N deletions in N repos."

A wrapper around this API sounds like a chore. It's very verbose.

#

Listing every PR in a webhook? Probably not a good idea. Listing them in the saved brag (markdown)? Yeah, I'll likely do that.

vale raven
#

Neat
I might steal it
Work is feeling very soul sucking lately, and I'm thinking seeing these numbers come in might help me feel like I've actually accomplished something

thick osprey
#

Make daily brags. Changed my outlook on my daily life.

vale raven
#

What's that look like?

#

I uh... I made a #rants
It uh... wasn't the best idea

thick osprey
# vale raven What's that look like?
2023-08-28

Over all progress toward cleaning of the automation repo went decently. Feeling good about the choices to practically rewrite the api library. Two weeks effort but the code already feels more solid to work with.

- Shoulder tapped by [name] for 30 minutes - training for PagerDuty
- 4.5 hours of meetings
- Focus time interrupted twice
#

Usually a few TODO notes for the next day

vale raven
#

"focus time interrupted twice"
you guys get time to focus??

#

Yeah
That looks more like self review to me
But that's good too

thick osprey
#

I take focus time.

#

It's a lot like a self review. When my leadership asks me "what's been happening" I usually start opening brags to remember.

#

But it's also little nods to myself. "Remember, you felt good about this idea"

#

I want braghook to append all the PR details to the bottom of the brag once the day is done. That way I don't need to go looking.

vale raven
# thick osprey I take focus time.

I close the door
User knocks
I ignore the user
User knocks again
I shake my head
User knocks again
I wave them away
User knocks again
I turn my screen to show them the pile of faces in my meeting
User knocks again
I mute my meeting and open the door
"My printer isn't working"
"Do you have a ticket?"
"No"
firStab

#

I hate users

thick osprey
#

You have a door?

vale raven
#

I do
I was actually in a big room with multiple doors and a three person department
But I've since been moved into an office that was being used for storage of IT stuffs, so my desk is surrounded by boxes of monitors and phones and spools of Ethernet

thick osprey
#

I never did get my own room when I was in office. Not really anything that would make the working enviornment more bearable but something I never had.

vale raven
#

It's also one of the ones with a window overlooking the production floor.
And because there's so much stuff in it, my boss put a lock on the window and didn't give me the key.
The users will open the production manager's windows to talk to them, and then come to my window and get confused when it won't open. And then they knock and I shake my head because there's nothing I can do about it.
And then they get personally offended that I "refused" to open my window for them

#

Users man

#

They're the worst

#

Sorry
I'm rambling
It's been a long day
Family hurt my feelings

#

You said you were leaving

thick osprey
#

It's okay. You're not bothering me.

vale raven
#

I'll let you get back to it

thick osprey
#

You got one of those late night cookie delivery shops in the area? My treat.

vale raven
#

firEyes
I don't think I've ever seen anything like that before

grave cove
thick osprey
#

It's a thing. I don't have them here but I've heard of them through channels.

spare oriole
#

check doordash, the cookie places are usually lurking on there, uber is more for normal food

thorny apex
#

Can I get a good paying job for Professional Data Analysis certification from Google?

#

I have found this course on coursera and would like to know if it's worth it or not?

#

I have seen many of the teenagers get into high paying without any Degree

tulip falcon
#

You saw teenagers get high paying jobs without a degree? Ask what they did

#

You'll do a lot of shit, one course can help make you but it won't break you

pseudo oasis
#

hi ppl

unkempt prairie
#

Gideon Overcame Adversity Together

grave cove
#

put yourself in the shoes of an employer - would they pick someone that did some online course for free over someone that spent hundreds of thousands of dollars at a university with a bachelors or master's degree?

tranquil iron
young shoal
#

there may even be many definitions

solemn tulip
#

oo le

tranquil iron
#

lol

rugged plank
#

So depends what u mean by worth it

#

It's definitely worth it if ur trying to decide if u have an interest in this and want exposure to the tools and ideas.

young shoal
#

apply

rugged plank
#

Usually internships are only for juniors college students ( which is super BS tbh) or ppl who just graduated

#

But there's exceptions

#

U could apply anyway. No one hires interns based on skill or talent. Usually just enthusiasm

#

So if u love this Sh** you'd be surprised how much can go ur way

#

I had a couple sophomores apply last year. We interviewed them, they didn't get hired but we have em a shot

young shoal
#

it is possible to get an internship as a freshman, though

#

I would say apply and familiarize yourself with the process + start improving your resume

rugged plank
#

One guy clearly was just was finance student guy who thought programming was profitable so he wanted to learn it on the job without ever really having tried it.

The other was very passionate about software development but it was a data analytics internship and he just didn't seem to be the guy for it

young shoal
#

I'm never wrong

rugged plank
#

Relationship simulating chatbot,

young shoal
#

well get on it then

rugged plank
#

Tbf I'm employed and most of my stuff is semi functional on a good day

#

Your still in school you got years

#

That's the correct way

#

U won't

#

Not cuz ur bad

#

But cuz no one does

#

Computer just break

#

It's part of life

#

I once spent 3 hours trying to find error that turned out to be a single misplaced semi colon

#

It's fine

#

Or was it a curly brace

#

I think it was a brace

#

Which actually makes it dumber that it took me so long

young shoal
#

that's really sad. were you just not using any tools whatsoever?

grave cove
rugged plank
#

I just got my ass kicked up and down the block my first few months

#

That's fine. Honestly troubleshooting is a better skill to have than most anything else

#

Everybody asks for help

#

That's fine too

#

Don't worry about that

grave cove
#

Sorry, that is not our intention to fix things for you

rugged plank
eternal depot
#

@reef geyser good news. Nedbat said he would adopt you

reef geyser
#

What

#

Why

#

When did he say this

eternal depot
#

You are now Luna Batchelder

vale raven
#

Here's Jah asking

#

I don't see a response from Ned

#

I think this is slander and heckery

eternal depot
vale raven
eternal depot
vale raven
reef geyser
#

Mildly dubious at best

#

Felony worthy at worst

grave cove
reef geyser
#

I hereby denounce the previous conversation and vote to move on with something else

#

all in favor say aye

jaunty wraith
#

.topic

median domeBOT
#
**Name one famous person you would like to have at your easter dinner.**

Suggest more topics here!

jaunty wraith
#

hmmmm

#

what if I don't have easter dinner

reef geyser
#

Then just dinner that night.

#

It's dinner that so happens to be on Easter.

#

But I would pick Christopher Lloyd. Love that man.

#

Second pick is Tara Strong

eternal depot
reef geyser
#

I DON'T HAVE CHILDREN

solemn tulip
quasi furnace
#

playing half life 1 to numb the pain

hazy pine
#

..... wow

graceful basin
#

PGP is a signing algorithm, not an encryption algorithm

#

Huh, apparently it can do encryption too

naive igloo
#

@heavy minnow so this bug button, will launch your program with a debugger attached

heavy minnow
#

the bug?

naive igloo
#

debuggers allows you, to well, debug your program

heavy minnow
#

how

naive igloo
naive igloo
heavy minnow
#

oh wow

naive igloo
#

so, you can literally see how the code is executed line by line

#

VERY useful

heavy minnow
#

so you can like press a button and it goes line by line?

heavy minnow
naive igloo
#

on that point, it will break/stop execution

#

and give you the control over application

#

so, if you put breakpoint on the first line of code

heavy minnow
#

is breakpoint a keyword?

naive igloo
#

it is this

#

(red dot)

heavy minnow
naive igloo
heavy minnow
naive igloo
#

uh

#

let me record it for you

#

it sounds scary tho

#

i know

#

linux is also scary, until you figure it out

heavy minnow
naive igloo
#

dont worry, it is not even python ๐Ÿ’€

heavy minnow
heavy minnow
#

I'm dead

#

I thought you said that code was simple

#

lol

solemn tulip
#

simple rust

heavy minnow
#

obviously

#

not

#

hehe

naive igloo
#

i thought MacOS is literally the easiest OS

#

to use

#

anyways

heavy minnow
#

lol

naive igloo
#

wait

#

i gotta convert that vid to mp4

heavy minnow
#

well maybe

naive igloo
#

pls wait

heavy minnow
#

lol

#

ok

naive igloo
#

i hate discord

heavy minnow
#

same

naive igloo
#

here

#

a little bit of explanation over those things

heavy minnow
heavy minnow
naive igloo
#

"restart" - restart the program
"stop" - well, stop the program

first item - resume execution - resume execution of the program until it the next breakpoint
pause icon - pause execution - pause the execution of the program (emulates as if breakpoint was "hit" (reached))
line with a jumping arrow - step over - execute the selected line of code
line into the ground - step into - step into the calling function (ie if the line of code was about to call your_function, it would step into the code of that function)
line into the ground #2 - step into your code - step into the calling function (except, that function is guaranted to be yours, and not some library's fucntion)
line from the ground - step out - resume execution, until the function returned (ie you are running execution of the function, until you are "out" of the function's code)

2 red circles - list all breakpoints you have set
crossed circle - disable ("mute") all breakpoints

naive igloo
heavy minnow
naive igloo
#

another thing - the highligheted line (blue), is the line which is about to be executed

heavy minnow
heavy minnow
#

like with the line with jumping arrow?

#

ok

naive igloo
naive igloo
#

it basicallyt emulates what would happen if you was clicking that buttong 238459234 times per second

#

ie program would not be in a pause state

heavy minnow
naive igloo
heavy minnow
#

I mean I get it by context but you know

#

lol

naive igloo
#

i tried to explain

#

xD

#

lol

heavy minnow
#

lmao

naive igloo
#

it doesnt "emulate", it...

#

you got it (i hope)

heavy minnow
#

yeah I just wanted the difinition but I can Google it

#

lol

naive igloo
#

i mean, just try debugging that program i wrote

#

for yourself

heavy minnow
naive igloo
#

playing around is always much better

heavy minnow
#

lmao

#

why am I having so fun while programming? lmao

naive igloo
#

idk

heavy minnow
#

and the misunderstandings

#

sorry for my ignorance btw

naive igloo
heavy minnow
#

and thanks for your time and patience

naive igloo
#

you are not ignorant at all

naive igloo
heavy minnow
#

I like to learn at least

naive igloo
#

if i something didnt explain - you can always come back

heavy minnow
#

thanks

heavy minnow
#

interactive learning is productive learning

naive igloo
#

precisely

heavy minnow
naive igloo
heavy minnow
#

until the pc crashes and explodes

heavy minnow
#

omg now I realize I need a daily dose of programming memes lol

naive igloo
#

btw one thing - you cant place breakpoints on empty lines of code

#

as breakpoints stop the execution of code

#

but on empty lines of code - no code executed (and they actually dont exist, internally, so debugger literally wont be able to find non-existing (for it) line)

heavy minnow
#

๐Ÿคฏ

#

oh ok

#

you mean the red dot

naive igloo
heavy minnow
#

lol

#

I was thinking of the word breakpoint (that I know nothing about)

naive igloo
heavy minnow
#

hmm

naive igloo
#

it marks the "point" at which code should "break" its execution

heavy minnow
#

maybe for another day lol

naive igloo
#

hense, "breakpoint"

heavy minnow
#

hmm ok

#

doesn't seems that bad

naive igloo
heavy minnow
#

but why can you write breakpoint if there's already a red dot

naive igloo
#

red dot is for pycharm's debugger

heavy minnow
#

now I get it

naive igloo
#

i believe you can somehow integrate so that pycharm's debugger would understand breakpoint()

heavy minnow
#

thanks again :)

naive igloo
#

but i dont know how

#

and there is already an easier way

heavy minnow
naive igloo
heavy minnow
#

or method

naive igloo
#

iirc breakpoint is a function

naive igloo
#

pls

heavy minnow
#

lmao

#

ok

naive igloo
#

yea it is a function

#

not a keyword

heavy minnow
#

I thought it was..

#

yeah that