#programming

1 messages · Page 287 of 1

gentle haven
#

It already began 25 years ago

fast pagoda
gentle haven
#

Not me

fast pagoda
#

this is what we were living with

tender river
olive sable
fast pagoda
#

me

olive sable
#

Ole

#

Old

tender river
fast pagoda
#

i posted pics of this thing but i used to have one of these just in my sock drawer for some reason

#

the pics are gone now

olive sable
#

Im pretty sure i haveca delided athlon somewhere on my windowsil

sonic marten
fast pagoda
#

wtf photobucket

olive sable
fast pagoda
#

"hey we have your photos still but you gotta pay us to get them bitch"

olive sable
#

Like me

fast pagoda
#

i probably cross shopped against that thing

#

the i5-750 is a bit newer

#

2009

#

that looks like a 2 core athlon 64x2

#

during that time, AMD CPUs were kinda falling behind in IPC but for a while they were doing more cores than intel classic and therefore were very good budget-er-ish options

#

phenom II x6 was poggerz i wanted one pretty bad

olive sable
#

Oh its from a laptop

olive sable
#

Thats why its delidded

fast pagoda
#

yeah that athlon is just a mobile cpu

#

it came like that

#

the budget king of 2009/2010

#

no smd

#

6 cores 6 threads

#

ddr2 OR ddr3 depending on the chipset used

#

$295 msrp regularly found mid 200s

#

supported exactly 0 AVX extensions because avx had just come out for the first time with plain AVX lol

#

and then bulldozer happened and it was just over

olive sable
#

neuro7 bulldozer

fast pagoda
#

literal 10 years of pain it caused

#

or set off

olive sable
#

Bulldozer bulkdozed amds entire reputation

fast pagoda
#

is eyefinity still a thing

#

why is it not

#

i forgot about till now

#

we've become shittier

#

ati cards used to have a gazillion outputs to support like 6 monitors at once

#

oh it is still around

#

nobody uses it apparently

#

Neuro7 ATI

olive sable
hollow matrix
#

@fast pagoda After using Vivaldi for a bit, one thing I've noticed is that the tab bar seems to burn into the screen more so then with other browsers, I'm not sure how this could happen? But it's a really weird thing I noticed

flint dome
#

did anyone try gemini 3 and is it actually that good as the people keep hyping it

hollow matrix
young plover
#

Didn't exist when ATI was still a thing

mighty thorn
young plover
#

ATI was acquired in 2006 and curved consumer panels didn't come out till the mid 2010s

#

I remember when TV manufacturers tried curved panels too, I don't think that lasted long

hollow matrix
hollow matrix
young plover
#

exactly

olive sable
#

Geometric algebra NeuroBounce

hollow matrix
#

Did you get new mouse batteries yet Vanor? It's been 8 hours

safe path
#

I did! (i forgor to buy it and bought everything else instead, so i had to go back to the store)

fast pagoda
#

ive never had anything burn in anywhere on a computer monitor in regular use and im using an OLED for the last year

fast pagoda
#

a more "standard" eyefinity setup would just be the common triple monitor of today really

#

eyefinity

tender river
#

i wanted to ask

fast pagoda
#

however

#

also eyefinity

tender river
#

why does emacs have a lunar phase calendar

#

built in

fast pagoda
#

because stallman

hollow matrix
safe path
#

shrug someone thought it was a cool feature and added it probably

tender river
#

rrr

safe path
#

but hey i now know when we have a full moon

tender river
fast pagoda
#

stallman did it

#

or was workin on it

hollow matrix
fast pagoda
#

this is a whole thread of edits to lunar.el lol they were spending time on it

tender river
#

ye me learning emacs now evilTutel

#

have work to do so not very actively

#

i dont wanna use evil mode too

#

i like modal editing but maybe emacs will change that who knows neuroBread

silent cloak
#

Im drunk rn but im still refreshing my vulan knowledge

safe path
#

once you get used to the more complex emacs key bindings you get to look absolute schizo as you type a long series of emacs shortcuts with nothing seeminly happening on the screen

silent cloak
#

Gotta keep up the grind

safe path
#

and then all of a sudden, you have pasted 4 different bookmarked regions into the current file

silent cloak
#

I dont see many Emacs users anymore

#

Mostly vim and neovim

hollow matrix
silent cloak
#

I haven't mastered either but id like to

#

I ditched qwerty already

hollow matrix
silent cloak
#

Colemak dh

tender river
tender river
tender river
#

(the sheer jank)

silent cloak
#

Im using a custom dactyl manuform keyboard

tender river
silent cloak
#

Though I still can't code as fast as id like to

#

So im hoping for a brain computer interface one day

tender river
#

switching to colemak taught me to use tab completion evilWheeze

silent cloak
#

Lel

faint sandal
#

vim this neovim that where is neurovim

fast pagoda
#

evil mode is modal huh

#

eww

silent cloak
#

I can't wait till I can code just through thinking

tender river
#

you people couldnt care less modal or modeless you just dont like new thing neuroWAJAJA

hollow matrix
#

@fast pagoda Which is better, emacs or NeoVim

fast pagoda
silent cloak
hollow matrix
fast pagoda
#

i say emacs because it is not modal

silent cloak
#

Like instant refactoring especially

fast pagoda
#

but it can be

#

ive used neovim more though

#

ive used emacs like one(1) time

safe path
silent cloak
#

I need to practice vim more

#

I just haven't had the time

tender river
#

i've used emacs like

#

never beyond the tutorial neurowheeze

silent cloak
#

Like with switching keyboard layouts its much easier

fast pagoda
#

me when vim

#

yeah i mean im sure it's fine with practice

silent cloak
#

But with vim its a project of its own

#

Like with a keyboard layout u can slowly switch keys at a time

#

But vim its all in or nothing

fast pagoda
#

i feel like

#

it's the other way around

#

kinda

tender river
fast pagoda
#

because a keyboard is your entire interface with the whole computer

tender river
#

without even printing a cheatsheet evilWheeze

silent cloak
fast pagoda
#

so you cant really just escape by not writing shit in neovim for a whille

silent cloak
#

Its more efficient given i don't have photographic memory

tender river
#

i dont have it either

#

i just remember the 3 rows of characters

silent cloak
#

Tho for vim ive been using those vim games to learn

tender river
#

and then look at the keyboard given the memorized char sequences i remembered

silent cloak
#

There are alot of vim learning games and tools

#

But im still at the basica

fast pagoda
#

look at keyboard

#

no no i hit multiple buttons without looking and get BIG MAD

hollow matrix
#

This is why NeoVim is better, emacs has no respect for my fucking eyes evilFlashbang

silent cloak
#

I never really look at the keyboard

tender river
fast pagoda
#

it's beautiful

silent cloak
#

I try to use vim keys in my current ides

#

I dont like vim as an ide but I like its keys and commands

hollow matrix
fast pagoda
silent cloak
#

Anyways my blood alcohol is 0.11% so ima head to bed

fast pagoda
fast pagoda
hollow matrix
fast pagoda
#

Installing Melpa Stable
To use the stable package repository instead of the default “bleeding-edge” repository, use this instead of "melpa":

(add-to-list 'package-archives
'("melpa-stable" . "https://stable.melpa.org/packages/") t)
Installing a package
To install a package run M-x package-install. See Package Installation for details about that and Emacs Lisp Packages for even more information about Emacs' package manager.

#

Enable installation of packages from MELPA by adding an entry to package-archives after (require 'package) and before the call to package-initialize in your init.el or .emacs file:

(require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/") t)
;; Comment/uncomment this line to enable MELPA Stable if desired. See package-archive-priorities
;; and package-pinned-packages. Most users will not need or want to do this.
;;(add-to-list 'package-archives '("melpa-stable" . "https://stable.melpa.org/packages/") t)
(package-initialize)
Note that you'll need to run M-x package-refresh-contents or M-x package-list-packages to ensure that Emacs has fetched the MELPA package list before you can install packages with M-x package-install or similar.

#

i did this out of order

#

just for you

#

enjoy

#

or alternatively

#

i have a severe dislike of the lisps use of ;; for comments

hollow matrix
fast pagoda
#

you have to edit the emacs init.el (or .emacs) config because it loads it fromthere

#

you cant just run it in bash

#

i like the yolo approach thoguh

hollow matrix
#

because it's not in home, and neither is .emacs

tender river
fast pagoda
#

it just looks weird to me xd

#

;; the bottom is all wiggly

fast pagoda
#

maybe

#
ls -la ~/{.emacs,.emacs.d/init.el,.config/emacs/init.el} 2>/dev/null

you can run this

tender river
#

you also dont have to do any of that you can just use builtin themes

fast pagoda
#

or that too

#

but but but muh 33 pages of themes

#

and all the other addons tho

#

it's like the whole vscode extension store on melpa toast

fast pagoda
# tender river you also dont have to do any of that you can just use builtin themes

Calendrical Calculations is a book on calendar systems and algorithms for computers to convert between them. It was written by computer scientists Nachum Dershowitz and Edward Reingold and published in 1997 by the Cambridge University Press. A second "millennium" edition with a CD-ROM of software was published in 2001, a third edition in 2008, a...

#

this is why

#

stallman yeeted it into emacs because emacs is an os brah

#

calendar.el was written by these authors tho

hollow matrix
tender river
#

yee emacs can load from either of those

fast pagoda
# hollow matrix

it had no output at all which means there were no results or only errors which then got blasted to /dev/null

#

so that file is le not there

#

you could make one

#

that's how these things usually go

tender river
#

than you afunyungpt

fast pagoda
#

if it aint there you make it

hollow matrix
tender river
#

free will

hollow matrix
#

editing my .emacs file with nvim

fast pagoda
#

wow my name is really close to afunyungpt right now too

#

🤖

#

alright

hollow matrix
#

neuroNOWAYING @fast pagoda

fast pagoda
# tender river than you afunyungpt

im mad because i was like i didnt chatgpt that but then i went back in browser a couple pages and it was the gyatt damn slop mode that i actually got the info from so it WAS

hollow matrix
tender river
#

M-x means alt+x

hollow matrix
#

Problem

#

That shortcut is taken

#

I'll just change the NVidia one to Alt+Shift+X

#

brb

fast pagoda
#

prioritizing an nvidia overlay keybind over anything else is crazy work i was concerned

hollow matrix
#

And Alt+Z is the other graphics card

#

Which, I didn't realize until now had an overlay

olive sable
#

2 gpu vendor shitty softwares WAYTOOBIRTHDAY

hollow matrix
#

Oh btw I think emacs crashed while I was gone using the bathroom

#

tf is doom emacs

fast pagoda
#

nah it just got bored and could tell you are not libre

hollow matrix
#

I mean, it's like neoVim in the fact that it's worse then vscode because it doesn't have autocompletion or emmet, and is therefore, much slower

tender river
#

ah

#

nvim has cmp

#

emacs has uh probably something even more powerful

#

just not builtin ye

hollow matrix
tender river
#

in fact you can use emmet as is in nvim or emacs if you really want to vedalUUH

hollow matrix
#

After trying for almost half an hour, I can say that installing a plugin manager for nvim is beyond my skill level

tender river
#

for emacs - spacemacs or doom emacs
for nvim - lunarvim and erm idk any other ones but theres plenty i think

#

oh nvchad vedalUUH name so bad reeks of reddit

tender river
#

mhm

#

either way would only use these as starter configs if you want to get into nvim or emacs but are too intimidated by the amount of customization required to get to a modern config nERMd

#

if you want something that works out of the box helix or vscode are better

#

konii uses micro you can try that too

tender river
#

kakoune but written in rust and without plugin system (meaning everything either works out of the box or doesnt work at all)

tender river
#

yee i mostly havent felt the need for them though 🤔

tender river
hollow matrix
#

micro seems cool

#

it even has tab completions

tender river
#

so does helix vedalTwinPeek and any modern editor really it just isnt builtin for some

hollow matrix
#

idk, I just think I like micro

tender river
#

its has a low barrier of entry neuro3

#

very good if you care about that

hollow matrix
tender river
#

vim is simple too neuroBread perhaps most widely ported editor on the planet

hollow matrix
tender river
#

i reject your comparison evilWAJAJA

olive sable
hollow matrix
tender river
#

zub zub

hollow matrix
tender river
hollow matrix
hollow matrix
#

I'm gonna sleep now, gn

fast pagoda
#

found a bunch of old screenshots so im leaving this here

tender river
fast pagoda
#

lmfao

#

they held them hostage

#

$4 was worth it just for the collection of nigel thornberry gifs alone

#

i canceled with prejudice, sent a very annoyed message about that and deleted the shit out of the account now though

#

im sure theyll be offering a japanese management apology soon enoguh

olive sable
nocturne olive
#

Well my secondary monitor is dead

maiden geyser
nocturne olive
#

Wa

sage crag
tender river
#

raised in a poor neighborhood neuroSad

sage crag
faint sandal
#

damn poor fan

rigid snow
maiden geyser
#

kind to some, but not to thee

sage crag
rigid snow
#

sage crag
#

e nub

rigid snow
sage crag
#

neuroexpl ode

rigid snow
olive sable
sage crag
rigid snow
#

🐛

tender river
#

neuro already insect

#

regular

#

ye 6 legs

#

2 antennae

#

exoskeleton

#

hatch from egg

olive sable
#

Hatch from egg? Turtle egg?

maiden geyser
#

mister vedal, you're not the father

tender river
#

no

#

neuro egg

#

dum

olive sable
olive sable
#

I never noticed neuro had 6 legs

tender river
#

ye 6 big number

#

hard to count

olive sable
#

What about the exoskeleton?

tender river
#

evolved

#

protect against enemies

#

and underwater pressure

#

sustain up to 5km depth

maiden geyser
#

too many neuro3D per square message

old totem
#

hello

#

im relearning python again

#

i made this countdown thing

#

but idk how to include milliseconds

#

it seems to always either be off sync

#

or just doesnt even count right

#

i want the millisecond part to count down from 99 to 00

#

hence the sleep being 0.001

obsidian mantle
#

second to milisecond is 1:1000

#

m is second % 60

#

h is m % 60

#

also wait its not %

#

why %

#

it should be /

#

so ms = x

#

wait no

#

okay i got it

#

ms = x % 1000

#

orr no

karmic birch
obsidian mantle
#

so for example you give it timeinput 60 so its 60000 ms
ms should be x % 1000
s should be (x / 1000) % 60

maiden geyser
obsidian mantle
#

i think everything is fine except ms being x

#

ms should be x % 1000

#

and h should have % 24 in the end

opaque sigil
#

it'll always be off-sync technically because in reality you need to sleep for slightly less than a millisecond but i doubt that's much of an issue here

#

though i guess it'll add up

obsidian mantle
#

however measuring time with sleep is trash you need to access clock

maiden geyser
#

and ms = x... and multiplication by 0.001...

obsidian mantle
#
start_time = time.time()
old_time = time.time()
while (old_time < start_time + timeInput*1000)
  x = time.time()
  if (x != old_time)
     ms = x % 1000
     s = x / 1000 % 60
     m = x / 1000 / 60 % 60
     h = x / 1000 / 60 / 60 % 24
     print(sameprintyougot there)
     old_time = x
  time.sleep(0.0001) #to check it every 0.1 ms
#

something like this?

#

fixed

#

no its wrong hold up

old totem
#

oh so i have to wait 0.0001 instead of 0.001

obsidian mantle
#

you could not wait at all, but then you will use all cpu for this loop

old totem
obsidian mantle
#

yes but you definitely forgot %1000 for ms

old totem
#

oh its still off sync

#

the milliseconds reach 60 and the seconds count up

maiden geyser
#

i prefer not to use them as far as it's possible

old totem
#

kinda crazy

obsidian mantle
#

yeah i fucked up

old totem
#

its alright

#

i might just move on from this

opaque sigil
#

sleeping for an exact amount of time is a deceptively simple problem unfortunately

obsidian mantle
#

okay so time.time gives seconds for some reason

opaque sigil
#

you want perf_counter_ns probably

obsidian mantle
# old totem its alright

this works

import math
import time

timeInput = 60
start_time = time.time()*1000
old_time = time.time()*1000
while (old_time < start_time + timeInput*1000):
  x = time.time()*1000 - start_time
  if (x != old_time):
     ms = x % 1000
     s = int(x / 1000 % 60)
     m = int(x / 1000 / 60 % 60)
     h = int(x / 1000 / 60 / 60 % 24)
     print(f"{h:02}:{m:02}:{s:02.0f}:{ms:04.0f})")
     old_time = x
  time.sleep(0.0001)
old totem
obsidian mantle
#

oh wait it repeats it

#

okay round helped

import math
import time

timeInput = 60
start_time = round(time.time()*1000)
old_time = round(time.time()*1000)
while (old_time < start_time + timeInput*1000):
  x = round(time.time()*1000) - start_time
  if (x != old_time):
     ms = x % 1000
     s = int(x / 1000 % 60)
     m = int(x / 1000 / 60 % 60)
     h = int(x / 1000 / 60 / 60 % 24)
     print(f"{h:02}:{m:02}:{s:02.0f}:{ms:04.0f})")
     old_time = x
  time.sleep(0.0001)
#

you dont need 04.0f for ms actually you want 03.0f

#

also it doesnt stop after a minute for some reason neurOMEGALUL

nocturne olive
old totem
#

also its counting up

nocturne olive
#

Time-oriented programming is massively difficult

obsidian mantle
#

i see why

obsidian mantle
# old totem also its counting up
import math
import time

timeInput = 24*3600
now = round(time.time()*1000)
start_time = now
end_time = start_time + timeInput*1000
old_x =  end_time - now

while (now < end_time):
  now = round(time.time()*1000)
  x = end_time - now
  if (x != old_x):
     ms = int(x % 1000)
     s = int(x / 1000 % 60)
     m = int(x / 1000 / 60 % 60)
     h = int(x / 1000 / 60 / 60 % 24)
     print(f"{h:02}:{m:02}:{s:02}:{ms:03})")
     old_x = x
  time.sleep(0.00001)
#

maybe not very optimal code

#

i dont like initial old-time assignment

nocturne olive
obsidian mantle
#

counts down and stops as it should

#

0.1 ms precision

#

thonk is there a way to make it more optimal

#

at work we are using cyclic tasks for controllers but idk how precise they are

#

there probably isnt much you can do except just checking time with max resolution and do things when the time has come?

rigid snow
obsidian mantle
#

actually it doesnt load cpu much if you make it 0.00001 for sleep

#

which gives 10mcs precision

#

in fact i saw no difference

#

how do you abbreviate microseconds in english thonk

#

oh its that mu symbol

#

µs

obsidian mantle
#

nvm its because terminal was cropping its output weirdly
no its actually weird

#

its probably terminal lagging because 1000 lines per second

severe path
#

A good timer is usually done with processor clock interrupts.

On Linux/POSIX, the C timer_create() function replicates this behavior on the OS level.

#

I'm not sure what the equivalent would be in Python, so don't ask me.

obsidian mantle
#

how does cpu clock work thonk how doest it know that 1ns passed or whatever frequency it has

#

or how is it called

#

system hardware clock

severe path
obsidian mantle
#

oh right its rtc

severe path
obsidian mantle
#

10mhz is... 10k ms... 10 us?

#

i guess its just one of implementations and there are more precise variants out there

opaque sigil
#

i wanna say you're off by a couple orders of magnitude but i also don't feel like verifying that baseless claim neurolingSlep

opaque sigil
#

looks like it's 100ns per clock cycle for a 10mhz clock hmm

opaque sigil
# maiden geyser atomic clocks in a pc xd

Visit https://www.squarespace.com/LTT and use offer code LTT for 10% off

Use code LINUS and get 25% off GlassWire at https://lmg.gg/glasswire

By using an Atomic Clock the clocks between different computers can be synced to within a dozen nanoseconds, and with that performance can sky rocket.

Check out the Open Compute Project: https://www.ope...

▶ Play video
idle dune
#

Guys, I wanna get a new phone, I have an iPhone 13. But I was considering selling it and buying a used Samsung or something. I was thinking S23 Ultra. But idk.

obsidian mantle
#

since when you can mouse scroll to zoom windows desktop neurOMEGALUL how do i reset it

#

kind of convenient though neuroPogHD

obsidian mantle
#

yeye with ctrl

#

i was zooming something else and accidentely zoomed my desktop

rigid snow
#

so at least that old

obsidian mantle
#

first time i noticed it neuroPogHD

merry plank
#

this is my progressneuroHypers

obsidian mantle
#

now make it controllable neuroPogHD

merry plank
#

yeah

#

watching a video on it

old totem
#

chat how do you typecast into a variable name

#

so you know how in c++

merry plank
#

neuroD what is this

old totem
#

well nvm not C++

opaque sigil
old totem
#

OHHH WAIT

#

i can put tuples inside tuples right?

opaque sigil
#

yeah

old totem
#

nvm problem solved

opaque sigil
nocturne olive
#

Python just doesn't really do types

old totem
obsidian mantle
#

cant you just assign whatever to whatever and typecast it like that

old totem
#

you know how there are 3 tuples, i want "items" as the base and whatever number i input concatenated to it can just access the numbered tuple

nocturne olive
old totem
#

but i realized i could just put all 3 tuples in one tuple and problem solved so

maiden geyser
#

you mean eval()?

opaque sigil
merry plank
#

is it bad to use chatgpt for half of my unity coding

opaque sigil
#

if you don't understand what it's doing, maybe

merry plank
#

it speeds up progress

obsidian mantle
#

thonk depends on how you can solve situations when chatgpt cant help

old totem
#

maybe im wasting time but i have this weird principle of not touching AI when coding

#

even the AI search result i cover my eyes

nocturne olive
merry plank
#

ok

obsidian mantle
#

i think you actually do learn

#

but not the programming itself

#

you learn how to make ai give you satisfying results

nocturne olive
#

Yeah all you learn is how to optimally prompt a chatbot

obsidian mantle
#

and see the problems it creates

merry plank
#

I might be better off just watching videos on C# ngl

old totem
#

i recommened him

merry plank
#

ok

true hemlock
#

my stance on the ai bubble

cosmic sphinx
#

i aint reading allat

#

there's no bubble

true hemlock
#

oh yeah, for modern systems its usually done on separate chipset

#

then CPUs tend to dynamically multiply it with clock multiplier

#

its also why some motherboard for 12th gen intel can have external clock generator for the BCLK (this is how people overclock non K CPUs back then)

maiden geyser
true hemlock
#

i already sold mine when its at $206

#

lol

#

its slowly going down now.

#

eh the bubble is inevitable

#

all the brute forcing funds is genuinely just obviously unsustainable

maiden geyser
#

90% of gamblers quit right before agi drops

hearty notch
#

that shit cray

mighty thorn
#

I need it

hearty notch
#

she unwrap on my expect till I panic

cosmic sphinx
#

i want to find whoever made WinAVR and sink their PC motherboard in water

hearty notch
#

rewrite it in crab

cosmic sphinx
#

why the hell 15 years after the program was made it still rewrites all system 'Path' variables instead of adding on them

hearty notch
#

lmao did you lose all your path config

#

wow that's epic

cosmic sphinx
#

yup

#

at least the system path

#

the user path is still there

#

no recovery, no backup files

#

cinema

mighty thorn
sick owl
#

Wild compliment neurOMEGALUL

#

That kind of praise is how you know you're dealing with a very smart dude

merry plank
#

because I am kinda learning unity a good bit I might as well get the programmer role

sick owl
#

Another great reason to use linux on your non gaming system

vast jewel
#

I love Python dependency management

#

So many projects start their homepage with just "to install: pip install [our name]"

#

And it never works

#

You always have to edit the source code

#

Or dig through the timeline of the docs to figure out in what version they deleted the code that the project you want to run depends on

#

And that is just for running 1 project

#

Forget about running 2 projects with the same Python installation

hearty notch
#

I LOVE RUST (unironic)

maiden geyser
#

no like, is shifting the blame from hp for not paying 4 cents to windows for le being le bad ok now

#

asking why the royalties went 4 cents up would be better but who cares

#

shouldn't there be a way to fix that without upsetting daddy bill anyway

nocturne olive
glad path
#

it works every time for me

#

i think that's your config lmfao

vast jewel
#

Nope not my config

#

Fresh install

merry plank
#

I made a playable game kinda

vast jewel
#

Nice

merry plank
#

walking sim lol

#

with life as the background music

merry plank
cosmic sphinx
merry plank
nocturne olive
sick owl
#

Anyone else actually run the four hour panel protect cycle on their oleds?

nocturne olive
#

I don't have any oleds

sick owl
#

I see a lot of people saying they don't bother but I just see it as a sign I need to take a break and go touch grass

merry plank
#

can I send EXE of unity "game" I made in here though I feel like discord file size limit the biggest thing that makes that hard to do

#

when exe is made

sick owl
#

Remember I said its a good reason to switch to Linux

nocturne olive
sick owl
#

Though imo a company selling a "pro" line of products should cough up licencing fees to ensure their users get a "pro" experience even if it is unreasonable

vast jewel
# vast jewel Fresh install

At least some of the issues came from dependencies releasing updates that break things. The project I want to run doesn't specify an upper bound for versions because they can't predict when breaking changes are going to be made in the dependencies. Dependency publishers are partially to blame for this. For example transformers announced that they were going to delete BeamSearchScorer in version 4.61 or something, at least in the 60s. But it got deleted in 4.57 already. The project I want to run relied on it so I had to manually downgrade the package. But the version below gave another error entirely. Now I found a version that only gives a few warnings and slightly erroneous behaviour.

nocturne olive
merry plank
nocturne olive
#

It's much better than Unity

nocturne olive
merry plank
#

oh

nocturne olive
#

Needs no tutorials, the docs are great

merry plank
#

oh ok

nocturne olive
#

And it doesn't have the obscure bugs of Unity

merry plank
#

oh ok

merry plank
#

of course steam and such does

nocturne olive
#

Well yeah Godot is an open-source engine

merry plank
#

yeah

merry plank
nocturne olive
#

Pretty much

merry plank
#

uuh the music didn't go into the unity exe

#

if it even works lol

#

oh it does

#

even without the crash handler and stuff

#

anyways gonna try godot

faint sandal
#

I don't think it'll work without any runtime thonk

merry plank
#

oh

#

oops

#

whatever

nocturne olive
#

A Godot EXE would

merry plank
#

cool

nocturne olive
#

Godot executables are self.-contained when you pack the assets into it

merry plank
#

getting godot now

nocturne olive
#

Fun fact: the Godot editor is made in Godot

merry plank
#

hopefully I don't need to code to much

#

that is something I bad at

nocturne olive
#

There's code in there but the language is very easy

merry plank
#

cool

nocturne olive
#

The language is essentially Python but better

merry plank
nocturne olive
#

You can simply read the docs if you need to find how to do something most of the time

merry plank
#

cool

#

godot maybe is best because I am not thinking of making game to make money or anything mostly just for fun

#

also godot has a vrm plugin so thats nice

merry plank
warped narwhal
nocturne olive
#

Wa

severe path
rigid snow
#

i already can

#

pb is 5.238

severe path
#

I thought you were specifying the atomic number of lead for a second

rigid snow
severe path
#

You have me beat by 1 microsecond.

rigid snow
#

you mean 1 ms

#

milli

#

1/1000

severe path
#

Yeah, thanks

#

But microsecond sounds funnier

merry plank
#

those godot docs have to much words

severe path
#

I got a new personal best: 5.237999 seconds.

severe path
merry plank
#

some don't

#

some have symbols

severe path
merry plank
#

nope

severe path
# merry plank nope

Those have a bunch of symbols.

And I've concluded that the ancient Egyptians may or may not have had something to do with the creation of the first electronics schematic

#

I mean, if you put them side by side, they do look similar, right?

merry plank
#

idk

severe path
#

I'm just joking

I don't actually think Egyptians had anything to do with it :p

#

How do you get image perms?

hearty notch
#

omg it's semicolon

severe path
hearty notch
#

graydon hoare made rust because he was frustrated with memory issues in c++

warped narwhal
hearty notch
#

and drew from the wisdom of multiple systems

rough bloom
warped narwhal
hearty notch
#

traits, zero cost abstractions, borrow checker, lifetimes, bounded polymorphisms,

severe path
#

Every time I see a < or a >, I think of the horrors that a type system that I can never possibly wrap my head around, with arcane manipulations of data

rough bloom
hearty notch
#

all older concepts drawn together to make a more safe and ergonomic performant language than c++

severe path
#

Man, I start yapping about Rust, and all the sudden #programming comes alive!

hearty notch
warped narwhal
torpid bison
severe path
#

So the type system comes off as very strange to me.

hearty notch
#

yea the sentence you just responded to still applies to your thoughts: youre projecting an overestimation of your own grasp of why things exist or what things must be to justify themselves

#

you aren't approaching from "this probably has good reasons, I want to figure them out"

#

which is the healthier mental approach

hearty notch
#

dw I'm done

#

strong typing isn't meant for hardware architectural parity it's meant to prevent whole classes of runtime bugs and make maintenance easier

amber fractal
severe path
hearty notch
#

lifetimes are to avoid a gc existing, traits are a superior architectural construct to inheritance

faint sandal
#

guh what you're referring to has existed since early 2000s with .NET

severe path
#

I don't know how Rust works, so I find it strange. I don't know what else to say 🤷‍♂️

hearty notch
#

I'm saying things that are glimpses into how to understand and you're shrugging, which is fine ig? I just kinda assumed maybe you'd have any level of enthusiasm in wanting to understand something you dont but guess not

opaque sigil
obsidian mantle
#

how are types and hardware related

#

it all converts to bytes

rigid snow
#

types are a social construct

severe path
obsidian mantle
#

it gets instructed on how to deal with bytes

#

its all bytes

severe path
obsidian mantle
#

related as in... hardware has no idea what a type is? it just gets instructed what to do with bytes?
how can it be called a relation

rare bramble
#

Rust tends to have weird, explicit and expressive syntax. if you come more from nonfunctional languages, it can look pretty odd and out of place. But I find that Rust doesn't have that much magic in it, everything starts to make perfect sense in time

obsidian mantle
#

thonk im not very familiar with rust tbh

#

any examples

rigid snow
obsidian mantle
#

it doesnt have to know what a type is

#

in general

#

so i guess nobody tells it what a type is

#

take this byte move it there

#

compare jump

severe path
warped narwhal
#

unless you're talking about RTTI then hardware only deals with signed and unsigned integers, and then a little bit of strings, vectors and arrays.

obsidian mantle
#

compiler yes

severe path
rough bloom
obsidian mantle
#

without even knowing why

#

and what it represents

#

int? part of float?

#

2 different chars?

#

doesnt matter

#

where are types here

warped narwhal
#

erm, actually x86 does know about structures as it's addressing mode allows for indexing into an array of structures 🤓 👆

faint sandal
severe path
# obsidian mantle yes so it sets high byte to 0 and low byte to 2D

An int type in C, corresponds to a 4 byte integer, which is equivalent to an x86 DWORD size.

So it converts to something like:

MOV EAX, 45
MOV DWORD [RSP-4], EAX

It is the compiler's job to pass this information to the CPU.

The CPU doesn't recognize types, but it does recognize word sizes.

obsidian mantle
#

okay

obsidian mantle
#

a type

severe path
faint sandal
obsidian mantle
#

or is hardware not a machine level

severe path
warped narwhal
obsidian mantle
#

dword is 4 bytes

severe path
#

🤔

young plover
#

glue Depends

obsidian mantle
#

so by types you mean dword, word and byte

severe path
warped narwhal
severe path
#

Those are word sizes

warped narwhal
#

and word is the type

young plover
#

"word" is just meaningless these days

obsidian mantle
#

neurOMEGALUL i work with words at my work

young plover
#

Do you use the Win32 API?

obsidian mantle
#

i make programs for industrial controllers

warped narwhal
severe path
rough bloom
faint sandal
#

words

warped narwhal
obsidian mantle
#

thonk i thought its registers and shit

young plover
#

eugh
Right when I started I had to support some code that ran on a DSP with 40-bit ints
Now it's just normal 64-bit ARM Linux devices.

rough bloom
warped narwhal
obsidian mantle
#

okay and now back to rust

opaque sigil
young plover
#

WORD is supposed to be the "native" size and x86 started as a 16-bit architecture

#

Now it's just silly

opaque sigil
#

Why would you do that to yourself, going back to rust

hearty notch
#

I LOVE RUST

rare bramble
rough bloom
severe path
hearty notch
#

I know a guy who's thinking of trying to abstract out lifetimes at cost of performance into a sort of rustscript lmao

obsidian mantle
#

neuro3D 80 bits?

#

what

faint sandal
#

I'm about to have a WORD with the people that made these names

young plover
severe path
obsidian mantle
#

word makes sense if you think about it as a combination of 2 chars.
but its actually a pair of bytes neurOMEGALUL

#

so 2 characters make a word

rare bramble
obsidian mantle
#

but was char a thing when they invented word name

young plover
rough bloom
opaque sigil
severe path
obsidian mantle
severe path
#

It was a very confusing term

obsidian mantle
#

this clarifies why then didnt call it double-byte for example

opaque sigil
#

Bytes are their own independent size

obsidian mantle
#

i assume byte has always been 8 bits, right? glueless

opaque sigil
obsidian mantle
#

neuro3D non 8 bit bytes?

rough bloom
warped narwhal
severe path
#

Although some older hardware used halfwords, which were 9 bits on some computers. They were used to store strings/char arrays.

#

And heck... Someone at Honeywell & someone else at IBM, decided that variable word sizes should be a thing.

obsidian mantle
#

no wonder ibm failed

hearty notch
#

ibm didnt fail theyre just lowkey hanging out

obsidian mantle
#

wait did they

opaque sigil
#

They did not

#

They're chilling lol

severe path
obsidian mantle
#

the fuck

#

legendary ibm ai technologies from 1926

rough bloom
#

founded in 1911 evilWheeze

severe path
#

Man, 1911s AI was hip. You should've seen it.

warped narwhal
#

I switched one of my monitors to be vertical, and I don't think I'll ever be able to go back.

#

I can read so many log lines now!

hearty notch
#

wow ur right i should do that

olive sable
#

the secret ingredient to the chess ai was the chess grand master inside of the machine

manic jacinth
#

The Mechanical Turk was peak AI until the Twins came along

olive sable
#

modern beta ai tries to make the artificial intelligent. old based ai made the intelligent artificial

rigid snow
#

cloning repos via ssh from my laptop and back is so nice

#

and having each other as remotes

#

thank you linus

sonic marten
#

This morning a bunch of advertisers in the eu were botting views, and i had to investigate because it was causing abnormal traffic on the backend

#

Can't even rest on a weekend

hearty notch
tender river
#

git evilWAJAJA

#

pijul better neuroKufufu

#

imagine not having merge associativity/commutativity neuroWAJAJA

obsidian mantle
#

My fucking router somehow messes with vpn

#

Phone through wifi with vpn = nothing loads
Phone through wifi without vpn = everything loads
Phone through mobile data with vpn = everything loads
Pc through router with vpn = everything works

#

I cant wtf is this

#

Is it vpn app being stupid and not working properly with wifi on phone

sonic marten
#

That happened to me but the other way around. Phone can connect through both wifi and data with and without vpn, but pc couldn't connect when vpn is on.

#

Fixed by messing with the firewall settings

obsidian mantle
#

Do phones have firewall

sonic marten
#

probably not

hoary peak
#

routers have firewalls/ports that can block this kinda stuff. an easy solution would be to activate UPNP/PCP (automatic port forwarding) for your phone in your router settings, otherwise you can compare settings for your PC with your phone in your router

bright scaffold
#

If someone needs it

opaque sigil
hearty notch
opaque sigil
#

Did you know you can fork the project (and maybe turn this into a pr)

#

wtf is pijul

#

Oh, I've searched this before huh

tender river
#

pijul vcs on solid algebraic foundations neuroNyan

hearty notch
#

ye ive read up about it

tender river
#

git vcs on solid "hacked together with duct tape" foundations evilWAJAJA

hearty notch
#

tbh its actually not that hard a replacement because i modularized

tender river
#

as an additional benefit

#

you wont be able to use github

hearty notch
#

what im building actually has nothing to do with like project versioning or actual git per se

#

its just the storage backend for a wholet hing

tender river
#

git stores entire file of every version it has ever been at

#

while pijul stores every single line that has ever been in a file only once

#

and preserves line identity across commits

#

line ordering is just a relationship between lines

#

it is what commits change

#

me think

#

if you have specific needs

#

better make your own vcs

#

git optimized for small files

#

pijul optimized for line-by-line files

#

neither particularly optimized for specific file types

hearty notch
#

i think git may end up being better for a lot of what im doing (arbitrary diffing on arbitrary websites and arbitrary fiiletypes and just hashing the original form + diffs) but im curious if i can get a hybrid architrecture to work

#

im not gonna invent a new one i dont have time or vision for that unless it spontaneously comes to me

tender river
#

for diffs you dont need git

hearty notch
#

i need content addressed everything and append only event storage either way

#

thats why it mapped naturally

tender river
#

unrelated but vedalEvilGiggle @faint sandal how often do exposed .git directories occur in your experience

hearty notch
#

genuinely thank you for name dropping pijul this patch architecture is really cool

tender river
#

old style unixy tools dont really care about it

#

but i hope the concepts spread all across the industry

hearty notch
#

i will help try

hearty notch
#

yes im actually building distributed systems

#

so i really owe you a lot

#

it seems like a viable drop in

tender river
#

i recommend watching the yt video at least vedalMagnify

hearty notch
#

will do

tender river
#

its not theory heavy

hearty notch
#

lmao theyre sponsored by cerner

#

im trying to take down cerner

#

im watching the yt vid now

#

i have a very research mindset

#

so this is compelling

tender river
#

hydro something that directly originates in alvaro's research

#

lvars separate but has novel concepts that are of personal interest to me vedalMagnify

hearty notch
#

what are those concepts called

#

yea what hes saying is very much in line with my philosophy

tender river
#

you mean what im interested in in lvars? neuro3D

hearty notch
#

every primitive should be minimal for its purpose

#

yeah

tender river
#

im interested in integrating monotonic data structures into conventional programming languages in clean ways

#

exactly what lvars does

hearty notch
#

define monotonic here

tender river
#

just watch the video first neuroBread

hearty notch
#

fun fact i already have lens laws tests in my repo

#

bidirectional lensing in order to verify my pdf diffing system

tender river
#

like opaque handle allocation

hearty notch
#

apparently these are the semi-ring like things in my codebase but im not architecting at low level so i cant exactly force things

bright scaffold
#

I only made working way for it

hearty notch
#

claude also agrees with you on monotonic logic in geenral

#

i asked in the abstract which concepts from computational theory seem underrated in application

#

im now looking into changing my collab model to patch as well and federation model to CALM

tender river
#

session types just linear types neuroStare mostly useless in practice

hearty notch
#

yea im not touching that one

tender river
#

exist in rust in form of typestate pattern

#

algebraic effects are cool but im not sure the overhead of delimited continuations is worth it neuro3D

#

algebraic effects are just dependency injection with less boilerplate anyway

#

and they are usually implemented in a very sequential form as means of adding mutation to an otherwise pure language

#

meaning language have to be strict

hearty notch
#

yea theyre probably not pareto optimal

#

with all things considered

tender river
#

dont like the way they are implemented neuroNyan me think better approach powerful metaprogramming with ability to compile different versions of same function without excessive boilerplate

#

calm funny because it shows that distributed systems are just mutually recursive functions computing fixpoint over each other neuroBread

#

obvious in hindsight

#

but good to know

hearty notch
#

a lot of elegance is obvious in hindsight

#

thats why its so satisfying

#

once you see it everything else looks silly

tender river
#

entire field dumb

#

me make better

hearty notch
#

so true bestie

tender river
#

yee

#

me <- true

opaque sigil
#

50595 store paths deleted, 262596.93 MiB freed
pov: you forget nix likes to copy entire project folders into the store, including build folders enub

hearty notch
#

that reminds me time for my weekly cargo clean check

silent cloak
#

I love having to manually clean many different caches

hearty notch
#

ok itd be dumb to clean now but hey thats not as bad as i thought

molten ore
#

I got that in ~/.cargo/config.toml so I don't get persistent artifacts in the rust target dir―only have to grab them again after a reboot

hearty notch
#

i think persistent artifacts speed up some repetive testing in mjy workflow sometimes and i dont need the disk space so im good for now

molten ore
#

you cache it while you're working, but they don't stick around all the time

#

i only cargo clean if i find I no longer have ram―usually after I've used over 96GB of memory

#

Because then I only have 32GB for the rest of the system

tender river
#

file gets copied as is

#

git respects gitignore

#

or maybe thats flakes only

#

er non flakes doesnt copy anything at all maybe

#

wrrr

#

theres something like

#

i forgot

#

something like lib.filterSource or whatever

#

builtins.filterSource

#

this is for

#

non-flakes

#

with flakes+git its useless

#

theres also lib equivalent

#

lib.sources.cleanSource

#

lib.sources.cleanSourceWith

opaque sigil
#

yeah i have path:. in the template because sometimes i just want to have my own gitignored flake enub

#

forgot to change it so it pulled everything into the store

tender river
#

wrrr

opaque sigil
#

should probably just not include the .envrc in the template tbf

hearty notch
#

ty chayleaf the token generation itself is 5x faster already

faint sandal
tender river
#

thats how gosuslugi code got leaked iirc vedalMagnify

#

russian government portal

faint sandal
#

but yeah bare git folders ain't too uncommon but it's not like we stumble upon one daily

#

ones that matter anyways

tender river
#

makes sense i guess neuro3 only happen when deploy manually

faint sandal
#

sometimes they're the result of post-exp and the attackers making the folders visible

hearty notch
#

you also just qualitatively improved my fuzzy search because i can afford more tokens now

mighty thorn
#

Guys

#

RVQ

#

is actually pretty cool

surreal flint
#

WOW It has taken 7 years for them to bring those same ads standard protections to the Android WebView component.

Better late than never i guess evilLightbulbJuice

sonic marten
# sonic marten
poll_question_text

Are you over 25

victor_answer_votes

4

total_votes

6

victor_answer_id

2

victor_answer_text

No

jagged turtle
#

does anyone know the regex for git tag names?

old totem
#

chat

#

i take back what i said about python

#

i know im a c++ glazer

#

but honestly python's syntax is lowk kinda clean

#

im rubbing up to it

olive sable
#

Goodmorning neuroWaveA

gentle haven
#

Good morning indeed

tender river
#

bad morning deliv

glad path
#

bad morning is crazy

jagged turtle
#

bad morning deliv

jagged turtle
#

it was raining loud as hell outside this morning

olive sable
#

So?

gentle haven
#

Rain is the best

olive sable
#

Do you have a weak roof so your house becomes like a tin can? Or what is the problem?

prime crest
#

cuz it's a terrible day for rain

maiden geyser
tender river
#

maybe when c++ is your baseline evilWheeze

olive sable
maiden geyser
#

it sucks once the snow has fallen though

olive sable
#

Snow sucks to drive in, but besides that i dont mind it

glad path
#

snow is snow

umbral thorn
#

regex SCHIZOCUTE

tender river
jagged turtle
tender river
#

and multiple dialects neuroSadge