#voice-chat-text-1

1 messages ยท Page 30 of 1

misty sinew
#

never learnt

mild flume
#

They're different animals entirely

delicate wren
#

as in just Python code API

#

it's a model that can be loaded with transformers package

misty sinew
mild flume
#

Emu ostrich

misty sinew
#

aight

mild flume
#

Llamas are bigger typically

misty sinew
#

alpaca face is cute tho

delicate wren
#

from REAMDE.md:

import transformers
import torch

model_id = "meta-llama/Meta-Llama-3-8B-Instruct"

pipeline = transformers.pipeline(
  "text-generation",
  model="meta-llama/Meta-Llama-3-8B-Instruct",
  model_kwargs={"torch_dtype": torch.bfloat16},
  device="cuda",
)
mild flume
#

Daww, looks like he's warm coat

delicate wren
#

iirc pipeline is a callable thing that represents whatever AI stuff the model is doing

misty sinew
#

looks like he spits chewin' tobacco instead of saliva

mortal stone
delicate wren
#

surprising

mild flume
#

@mortal stone Can you mute if you're doing that?

#

It's coming right through your mic

#

Thank you

delicate wren
#

(I'm trying to open their docs)

mild flume
#

Both

delicate wren
misty sinew
#

Hemlock are you into conlangs?

delicate wren
#

I don't know how to apply pipeline from that code sample (I only have experience with stable diffusion's pipeline)

#

you can just call help on the value I'd expect

#

help(pipeline) or help(pipeline.__call__)

mild flume
#

What is?

#

Oh like intentionally created languages like Esperanto?

#

Yes

#

It was built to be an international trade language

#

But it never quite took off

delicate wren
#

last time I've read anything Esperanto-related was because of Forgejo

mild flume
#

Sounds right

#

Yo

misty sinew
#

Heard about Tsevhu? Koilang

mild flume
#

I haven't, no

misty sinew
#

It's a pretty esoteric one, Koilang is the script, and is written by drawing koifish

#

position of the ripples, the orientation / direction of the koi, etc.

#

I think I'm going to try and write a translator that goes from English -> drawings of koi with the same meaning

terse sierra
#

can you animate the koi swimming ? @misty sinew

misty sinew
#

๐Ÿคทโ€โ™€๏ธ let's get to the point of drawing the koi first haha

#

but making it swim would also temporarily change the grammatical aspects of it, e.g. the placement of the tail

mild flume
#

Dude have you seen those stenographer keyboards/typewriters?

#

They're insane

misty sinew
#

yeah its so cool

mild flume
#

Back later

mortal stone
#

I want to share my screen

terse sierra
#

theres a fella who uses pygame , he can make the background look like paper and the animation look like water colors or charcoal , the koi stuff would blend nice with it @misty sinew

misty sinew
terse sierra
#

im not artsy , but i can see some applications to all this

misty sinew
#

I mean the application is limited as the language / writing system is like, super esoteric and has practically no users at all

#

but it'd definitely be fun, also a nice venture into natural language processing and such

mortal stone
terse sierra
#

well , learning a new way of thinking prompts creativity

misty sinew
#

hi

#

i cant talk

#

is there someone who can help me please

thin lintel
terse sierra
#

talking is over rated , add it to the list ...

#

mmm , archery on horseback , Mongols did lots of that ....

terse sierra
#

looks like a REAL , my little pony

#

FLOOFY horsey

terse sierra
#

did you examine , kinamatic gaits of horses , hey hey its a strut @thin lintel

#

Dr Pol , likes horseys

thin lintel
#

tรถltti, tolt

terse sierra
#

does that mean , trotter ?

thin lintel
#

no

#

The Icelandic horse (Icelandic: รญslenski hesturinn [หˆistlษ›nscษช หˆhษ›stสrษชn]), or Icelandic, is a breed of horse developed in Iceland. Although the horses are smaller (at times pony-sized) compared to other breeds, most registries for the Icelandic refer to it as a horse. The breed is long-lived and hardy, owing to the ruggedness of its home countr...

terse sierra
#

very good

#

I have a first year genetics book on horses somewhere , maybe i shold actually read it one day

thin lintel
#

The Icelandic is a "five-gaited" breed, known for its sure-footedness and ability to cross rough terrain. As well as the typical gaits of walk, trot, and canter/gallop, the breed is noted for its ability to perform two additional gaits. Although most horse experts consider the canter and gallop to be separate gaits, on the basis of a small variation in the footfall pattern,[13] Icelandic breed registries consider the canter and gallop one gait, hence the term "five-gaited".

#

The first additional gait is a four-beat lateral ambling gait known as the tรถlt.

wraith portal
#

bhutia horse

terse sierra
#

2 baby bunnys ,running back and forth in back yard , wow

thin lintel
wraith portal
#

now

thin lintel
terse sierra
#

if i figure the IP nonsense , maybe one day - it does a have a server thing , dont know how to use it

wraith portal
terse sierra
#

shiny horsey

thin lintel
terse sierra
#

izzz kitty praying ?

thin lintel
#

yes

#

playing*

terse sierra
#

pray for kitty nibbles - if cute index high enough ?

thin lintel
#

he is playing with a toy

terse sierra
#

need some boxes to play hide and seek in , kittys seems to love it so

thin lintel
#

i have those

terse sierra
#

very importnt

acoustic depot
#

I have a question, do you guys know a Necro?

#

@wraith portal and @sterile orchid

#

he had a squidward profile picture

#

he just deleted his account and I am trying to reconect

#

No he taught me all I know about python and I want to keep in touch

#

Alright thank you I hope you guys have a great rest of your day

lethal wadi
#

good model? 1.58% RMSE

acoustic depot
#

im still here

#

anyway, what does kaggle do?

#

or what is it

wraith portal
acoustic depot
#

Alright thank you guys for trying to help me and teaching me this, I hope you guys have a great rest of your day

#

@wraith portal @sterile orchid

wraith portal
#

๐Ÿ‘

lethal wadi
#

dw about it, it's a little too stalker-ish

acoustic depot
#

Dang

#

All I want is his email

#

Thank you, cya

wraith portal
#

cya

dapper arch
#

why do i keep seeing this error when trying to run my python server No suitable Python runtime found
Pass --list (-0) to see all detected environments on your machine
or set environment variable PYLAUNCHER_ALLOW_INSTALL to use winget
or open the Microsoft Store to the requested version.

stuck bluff
#

@misty sinew ๐Ÿ‘‹

misty sinew
#

Yep

#

I cant talk

#

Hello

stuck bluff
#

@vital maple ๐Ÿ‘‹

violet knot
#

@worn canopy @stuck bluff Hello

stuck bluff
#

@random monolith ๐Ÿ‘‹

#

@somber acorn ๐Ÿ‘‹

buoyant dagger
#

@mild flume Oh btw this is from inside of my pc

mild flume
#

Love it

#

Wait what're the dual heat sinks above the GPU?

#

Are those both on the CPU?

terse sierra
#

theres no cat hair in your computer , what gives @buoyant dagger

thin lintel
terse sierra
#

catzz on the job , doing what catzzz do

buoyant dagger
terse sierra
#

Im not up to date on , computer innards , improved heatsinks , bla bla

#

@buoyant dagger

buoyant dagger
terse sierra
#

if your going to run a computer 24 hrs , did you consider power consumption profiles @buoyant dagger

#

there used to doing it ( building ) and do it faster

#

looks like a little jet engine ~~~~~~~~~~whoooosh

mild flume
buoyant dagger
mild flume
#

But I guess that doesn't matter too much, it's supposed to just blow away the radiant heat

terse sierra
#

wooof !!!!

buoyant dagger
terse sierra
#

wondering about a old mackintosh computer heatsink - upside down pyramid onto cpu , no fans - wonder if it actually works

mild flume
#

Just hadn't seen that design

terse sierra
#

collection of fan sounds from - assortted stuff on table

#

the newest ubuntu image doesnt work on my old raspi3B+ , had to use old archived image - so ... its good to archive , have external data storage

#

Midnight OIl - beds are burning

elder wraith
terse sierra
#

tatoos have meaning , whatzz up with 47 ?

terse sierra
#

farmers shoot gophers , because horses break their legs in holes

mild flume
#

@solar stratus Yo

#

@white hull Sup

white hull
white hull
mild flume
#

What's up?

white hull
#

pip dosen't work

mild flume
#

Do py -m pip install pygame

white hull
#

ok

mild flume
#

dafuq? Do py -0

white hull
terse sierra
#

its the PATH thingy during python install

white hull
mild flume
#

No no no

#

You don't need to do the path

#

How did you install Python?

#

And actually, instead of pygame, you'll want to use the community edition

#

After you install Python from their website, you'll then want to do py -m pip install pygame-ce

terse sierra
#

I had same issue , PIP didnt work , I didnt use the default PATH setting on install , I try to use most suggested install setups to avoid this ... lesson learned

mild flume
terse sierra
#

yes the , pygame-ce , is the prefered most updated pygame , from what I read

mild flume
#

If it still pitches a fit don't hesitate to ask for more help! Oh, you'll need to close and reopen your cmd after you do the install

#

Otherwise it won't necessarily know that you installed the new one

white hull
#

ok

elfin breach
#

perfect for memes

mild flume
mild flume
# elfin breach

With the reflection in the glass, it's like the ghost of IT professionals past

terse sierra
#

when the cats away the mice will play @mild flume

#

tall grass in back yard , hides baby bunnys ....

mild flume
#

Damn it. I accidentally dropped a pen that was uncapped onto my pants and now I have a little pen mark

#

This is just my day today

rotund bough
#

could be worse... i once broke my zip at work

hearty heath
#

Hey ๐Ÿ‘‹

mild flume
#

@halcyon spruce Yo

hearty heath
#

Did you hear that the US ran an anti-vaccination campaign in Southeast Asia during the pandemic?

rotund bough
#

which country?

hearty heath
#

Hard to believe really, and pretty shameful.

mild flume
#

Not that hard to believe, unfortunately

rotund bough
#

never change US administration

#

the director who ran this should be prosecuted

delicate wren
#

@ornate cobalt dtrace

#

cargo-flamegraph + dtrace specifically

#

what

#

dtrace is officially supported by Windows

#

inside WSL you should also be able to use perf

#

--privileged if you're doing it inside Docker

#

dtrace isn't easier on Linux

mild flume
delicate wren
#

you can also make your own tools

#

integrate and provide timing as part of the language you're making

#

just like how rustc/cargo do it

mild flume
delicate wren
#

@mild flume yes, cells instead of lines are gross, agreed

#

ask mustafa about that jupyter testing flow again

proper ridge
delicate wren
#

it's a throwaway solution, it's not supposed to take long to write them

#

the hard part is how to structure it in a good display-wise manner if you're presenting it to others, not in code implementation

#

if you spend much time to useful code, probably better to put it in a reusable module early on

proper ridge
delicate wren
#

ah

proper ridge
#

I showed you the code last time.

#

Try it.

delicate wren
#

yeah, then happens

proper ridge
#

It'll take days to run for certain instances.

delicate wren
#

but I wouldn't rely on Jupyter for those cases

proper ridge
#

That's what notebook is for though. When you literally just have a single file and want to quickly run it and and see the plots together.

delicate wren
#

yes

proper ridge
#

Plus, notebooks are great for demonstration and adding latex to your results.

delicate wren
proper ridge
#

I never said using notebook as a package.

proper ridge
delicate wren
proper ridge
#

You need directories, proper management of modules, how would your users even install and import modules?

#

I've personally never seen someone use a single notebook to make an entire package.

delicate wren
delicate wren
proper ridge
mild flume
#

@elfin breach Sometimes performance really doesn't matter

hearty heath
#

A cool thing about JITs is they can collect statistics at runtime and use them to decide which parts of the code to compile/optimise.

mild flume
#

Depending on what it is

proper ridge
#

Like no yaml, no tester modules, nothing?

mild flume
#

Not every program or thing you create NEEDS to be peak peak performance

#

You're doing a basic CRUD app? Probably doesn't matter

delicate wren
proper ridge
mild flume
#

@misty sinew That's what she said

#

If it's too large

mild flume
proper ridge
delicate wren
#

I should move Jupyter to another server, now that I have a more performant one

mild flume
#

Sometimes over optimization before it's done ends up wasting time and can also sometimes cause you to miss the forest for the trees, as it were. You focus too much on optimization on one part that never needed it, but end up either bottlenecking something else or missing that something else needed more tending loving care

warm pelican
#

This is great

proper ridge
mild flume
#

@elfin breach not always

#

No

proper ridge
#

Optimization is to improve efficiency, not for pedagocial purposes.

mild flume
#

If your project never finishes, then there's no point to all the additional optimization

#

Find it after it's created

#

Do benchmarks after

proper ridge
#

You can learn sure, but don't mistake over-optimizing sth that doesn't need optimization or shouldn't even exist.

mild flume
#

Keep basic stuff in mind, sure

#

But nitpicking right off the bat will only make you take significantly more time

#

@fair heart 1, 2, 5

#

SHIT

hearty heath
#

1, 2, 4, shit

#

lol

delicate wren
mild flume
delicate wren
#

how small is small project

fair heart
delicate wren
#

the more people/projects depend on it, the earlier you should worry about optimisation

#

imo

mild flume
#

Ehhhh

misty sinew
mild flume
#

FastAPI is better now days

proper ridge
# delicate wren how small is small project

Depends on the organization scale I guess? Like IBM's "small" package qiskit is over 100k lines of code and spans over multiple packages. My "medium" sized package is around 10K lines of code and serves as a single package.

mild flume
#

Correct

#

@misty sinew Or even necessarily use that function as much as you might think

hearty heath
#

Back in a bit

proper ridge
#

@vocal knot Cut until you can't cut anymore without losing core functionality.

#

No need to optimize sth that shouldn't exist.

mild flume
#

Wrong root

proper ridge
#

Ohh my bad.

delicate wren
#

chroot

proper ridge
#

He'll see it.

mild flume
#

Well played

delicate wren
mild flume
#

Das Root

proper ridge
mild flume
#

@fair heart Ubuntu Server?

proper ridge
#

I mean, 5k is still small even for one person AF.

misty sinew
vocal knot
#

:)

delicate wren
misty sinew
#

even 5k sloc isn't like, huge, i guess. But I'm a C dev so I can't even imagine what can be done with 5k sloc of python hahaha

proper ridge
#

I personally have this scale:

<5K - Tiny module
5-15K - Small module (package)
15K-50K - Medium-sized module (package)
50K< - Enterprise package

proper ridge
delicate wren
delicate wren
#

it's literally one file

#

you can scroll down

proper ridge
#

!pypi qoin

coarse hearthBOT
#

Quantum Random Number Generator.

Released on <t:1713438701:D>.

delicate wren
proper ridge
#

These are basically glorified modules. Just a simple script that you make into a package with testers and stuff.

proper ridge
#

High-level languages.

delicate wren
#

Rust is high-level too

proper ridge
#

Is it more explicit (lower level) than python?

delicate wren
#

average granularity is more in case of Rust

proper ridge
#

I see.

delicate wren
proper ridge
#

I'm not familiar with RUST so can't really extrapolate to RUST for my scale.

mild flume
#

@elfin breach Functioning and usable program is more important

#

CRUD apps in most cases don't need to be super super super fast

#

So it having some slower places, eh

proper ridge
mild flume
#

Exactly

#

In that case do profiling, benchmarking, find where it's slow

misty sinew
#

You guys are being way to specific lol, this question is answerable at a much higher level. if you can get X performance increase, is that worth the compromise of Y that it would take? e.g. does 5 ms faster runtime have a greater impact on the value of your tool, profitability or whatever, than adding that new rss feed or whatever

mild flume
#

But if the developer's time is better used elsewhere, then meh

proper ridge
misty sinew
#

yeah, but the question originated as "when do i know how much i need to optimize"

proper ridge
#

You can't just say optimize or not just by a high level overview.

delicate wren
mild flume
#

Written in assembly
Roller Coaster Tycoon vibes

proper ridge
misty sinew
#

exactly, which is why the only answer available for a question of that abstraction level, is what i said

raven orbit
#

@elfin breach https://xkcd.com/1205/

misty sinew
#

no better answer can be given without more information about the specific problem

mild flume
#

@elfin breach Does it affect the end user, does the end user actually care about that 3 seconds, etc

proper ridge
#

@elfin breach See what Hemlock has said.

mild flume
#

Will the optimization affect or improve the bottom line of the company

misty sinew
#

not quite, being told to do a cost-benefit analysis of outcome vs opportunity cost of gaining the outcome is still valuable advice

delicate wren
#

"since I've skipped hearing most of the conversation, I'll just say Django for simple stuff is bad DX"

elfin breach
mild flume
#

If so, then worth

#

If not, then not

mild flume
delicate wren
#

this project I consider to be too big, and worth splitting in more parts already

mild flume
#

It still depends if profit outweighs the cost

#

does the profit match the drapes

proper ridge
mild flume
#

Mmm... cookies...

#

@elfin breach "Remember Me" option

proper ridge
#

You eating cookies?

delicate wren
#

as for Python projects, I have one that's "only" 3000 lines
if you look at the amount of state it has to deal with it's giant, and it has been evolving for >4 years

jagged hawk
#

yo wsg

mild flume
#

How much the program has to track, monitoring what pieces are where

#

Hey RYN

delicate wren
#

it has to be this way

jagged hawk
#

sup hem

proper ridge
delicate wren
fair heart
#

i'm very sad i missed lagwagon day @mild flume

mild flume
#

Fixes > Features > Optimizations (at least to me)

#

But I'm a hobbyist, so I don't know what is proper

delicate wren
mild flume
proper ridge
jagged hawk
#

been great

proper ridge
jagged hawk
#

although linuxs encryption system was really annoying for some reason

proper ridge
mild flume
#

Back later

delicate wren
# proper ridge Could you give me an example please?

as a simpler example, than what I have there, poll bot using reactions on messages to track results;
you need to deal with, at least, following stateful things:

  • reactions on message
  • pending add_reaction/remove_reaction events
  • pending removal of extra reactions

and all that assumes you aren't even bothering to store anything in the database

proper ridge
delicate wren
#

and external state

proper ridge
#

I see.

delicate wren
#

1000 users per day isn't enough to move off Flask in some cases even

#

Flask is bad but it does scale, thanks to WSGI

#

1000 users at once is where it melts down

jagged hawk
#

just go read this

proper ridge
#

Imagine 1000 guys just making fake accounts perpetually until they fry the competitor servers HEHEHE.

bitter monolith
#

can someone help me find someone capable of helping me with a project

jagged hawk
bitter monolith
#

i know what i need done but i dont know what section i can find someone

delicate wren
jagged hawk
#

literally ddos

proper ridge
delicate wren
jagged hawk
#

i mean concurrency doesnt matter if your coding skills suck

#

write go cuncurrency aint gonna do better than java

#

unless you actually know what your doing

delicate wren
elfin breach
delicate wren
#

bad skills + Quart is better than good skills + Flask if you need to handle many requests at once

#

Flask just doesn't work architecturally at that point

jagged hawk
#

now at a larger scale you'd have way more than that

#

look at how 4chan used to destroy websites with their ddos

jagged hawk
jagged hawk
delicate wren
#

servers may be virtual which also means a non-1-to-1 correlation with computers

jagged hawk
#

mate doesnt matter how much you want to optimize

#

someone is gonna beat you to it

#

its a never ending loop

#

so stop waisting so much time on such a useless thing

#

that whole 5 words 25 letters thing proved that anyways

delicate wren
#

@elfin breach is this 2 minute figure from a real existing project?

#

(some real projects do suffers from this, so might be)

#

if your page takes >1minute to load, it's terrible UX and totally worth optimising

#

if you can't make it faster, make it a background process

#

then send an email to the user that the thing is done (or show it in the UI)

#

immediate solution might even make total compute usage higher

#

5 minutes to load a page is often worse than 1 seconds to load the page and 6 minutes to wait for the result to show up

#

warn the user that it takes a long time, and only then start fixing it

#

if it takes 5 minutes to generate a response, reducing it by 2 minutes is not the main concern

sterile orchid
#

wait so this is still in beta?

proper ridge
sterile orchid
#

so just an idea

proper ridge
#

Yep.

sterile orchid
#

get to writing and drawing out the code first LOL

#

cant optimize if you have nothing

proper ridge
#

I'm gonna put Imaginary Optimization Engineer in my resume hehehe.

sterile orchid
#

i might do that

proper ridge
#

@elfin breach - Don't optimize (or over-optimize) sth that should not exist in the first place.

  • Define explicit bottlenecks. Come up with solutions. Evaluate cost vs benefit. Make a decision.
sterile orchid
#

its like having non existent convex optimization

#

LMAO

#

cant bottleneck if you have nothing to bottleneck

delicate wren
#

when page load takes 5 minutes, it's catastrophic misengineering not just a bottleneck

#

it's not "slow", it's a failure

warm pelican
#
for (let b = 0; b < bottlenecks; b++) {
  // handle bottlenecks here
}
delicate wren
#

many browsers will even tell the server "no, it's too long"

rotund bough
#

just remove the setTimeout

sterile orchid
#

so within systems engineering you cant start off without anything

#

you have to work on 1 thing after another

proper ridge
warm pelican
#

the universe according to non bibical scientist believe so

proper ridge
#

kasstelle, may I ask what's TLauncher?

sterile orchid
#

oh minecraft with more resources

#

also its bootlegged because i cant access my old emails

#

i wanted to see if 128gb of ram did anything for the game

#

optimize as much as possible

#

thats life

#

lol work on the important things first

proper ridge
sterile orchid
#

then work on the smaller things

warm pelican
#

i feel like we can use a tape recorder at this point

sterile orchid
proper ridge
#

I need more.

sterile orchid
#

ill send you 8

proper ridge
warm pelican
#

8 tape recorders :) jk jk i know its ram

proper ridge
#

What's your GPU?

#

Please say 4090.

sterile orchid
#

basically he is a scrum lead

proper ridge
#

PLEASEE.

sterile orchid
#

no lol

#

titan xps

#

4090s are great but no sli

proper ridge
#

I've never heard of titan xps.

#

How does it compare to 4090?

sterile orchid
#

so i can do more ai work

delicate wren
#

I ordered another 64GB of RAM because why not

proper ridge
sterile orchid
#

its really slow

proper ridge
#

Everyone's getting RAM but me HEHEHE

sterile orchid
#

imagine a 2080

#

thats a titan xp

proper ridge
sterile orchid
#

without rtx

#

lol

proper ridge
#

Have you considered a RTX 3090?

delicate wren
#

my only Nvidia GPU is 1050 Ti

proper ridge
#

I have a 3060, works pretty good.

sterile orchid
#

i will someday get an rtx 3090 as long as i can use multiple for ai research someday

proper ridge
delicate wren
#

RX 590 for the PC

proper ridge
sterile orchid
#

and work finishing my own LLM

#

^^^^

proper ridge
sterile orchid
#

all about clustering

proper ridge
#

You should talk to Osyra. He's also really busy with his LLM Vanity.

sterile orchid
#

lmao i told you about cluster cluster always cluster

proper ridge
#

He's always eager to talk shop with other LLM developers.

sterile orchid
#

true he uses gpt

delicate wren
#

I remember seeing a motherboard which was marketed as capable of quad SLI;
guess how many GPU slots it had

sterile orchid
#

i want my own gpt called

#

idk yet lol

proper ridge
sterile orchid
#

become the scrum master

sterile orchid
#

ah thats not bad lol

proper ridge
sterile orchid
#

^^^

proper ridge
#

Nice. How low did you go?

sterile orchid
#

got all the data engineering done

#

so about 1 tb of data gathered

proper ridge
sterile orchid
#

now working on clustering and training

#

well gpt was made off of 50gb

proper ridge
sterile orchid
#

now with the information it has now probably 50tb lol

proper ridge
sterile orchid
#

^^^^^

#

it was made off of not a whole lot of information

proper ridge
#

Interesting. I recall it being much larger in their arxiv publication.

sterile orchid
#

just wikipedia stackexange data and they paid for redit and twitters data now

#

that data costs 50k just to use lol

#

for 1 year

#

oh yeah i have the arxiv data set

proper ridge
sterile orchid
#

^^^^^^

#

thats the plan someday

delicate wren
#

@raven orbit in GitHub it's just projects (I don't think GitHub has stuff named just Workspaces)

sterile orchid
#

hes teaching him how to scrum ๐Ÿ˜ฎ

proper ridge
#

I think if you make it open-source you can use all publicly available data.

sterile orchid
#

scrum masters are amazing to have on a team

#

i hope so but its a really really long grind

proper ridge
sterile orchid
#

sprints are fun

proper ridge
delicate wren
#

GitHub has codespaces and some new copilot workspaces

sterile orchid
#

makes writing code and code production fun

#

๐Ÿ˜ฎ

#

that sounds like a plan anyways brb

#

i need to go to a job interview

proper ridge
#

Best of luck!

#

You'll crush it!

proper ridge
#

Did they make copilot X available?

#

Lemme check...

delicate wren
#

I don't use copilot and neither do I really use GitHub Codespaces/the other Codespaces

proper ridge
delicate wren
#

I use GitHub itself

proper ridge
proper ridge
delicate wren
proper ridge
#

Yeah same. Copilot is free though, isn't it?

#

I don't pay for it.

#

I think it's free for students?

delicate wren
#

it might be banned regionally also

#

(I don't remember)

proper ridge
#

Ohh

#

That's bad, m'kay (south park reference).

delicate wren
#

what are the other Codespaces called

#

I forgot

#

and can't find

proper ridge
#

I remember there was another one besides GitHub.

delicate wren
#

Gitpod

proper ridge
#

I'll find it.

#

No no, like besides Git entirely.

delicate wren
#

127.0.0.0/8 I think

proper ridge
delicate wren
#

127.0.0.1 is conventional

#

0.0.0.0 is all interfaces

proper ridge
#

God I hate networking.

delicate wren
#

* all IPv4 interfaces

proper ridge
#

Hisssss

delicate wren
#

127.0.0.0/8 is loopback

raven orbit
delicate wren
#

127.0.0.1 is convention for what localhost is
127.0.0.53 is convention for local DNS server, iirc

raven orbit
delicate wren
raven orbit
#

you're right, was thinking of projects

delicate wren
delicate wren
#

static IPv4 prices got lower where I live

#

IPv6 isn't as tightly packed as IPv4

#

afaik it's designed to be more sparse not only by just having more addresses but also by parts of the address actually meaning something not just random numbers whichever are available

#

I never did a networking course but I have to deal with networking regularly

#

I should shill TIPC more

tulip grail
hearty heath
#

We don't really have GPA in the UK

#

Erm, your degree classification yeah

#

Transferring university isn't common really in the UK either

#

There is some kind of standard course credit system though, can't remember what it's called ๐Ÿค”

delicate wren
#

@tulip grail as a random networking question: are you aware of TIPC?

delicate wren
#

so that leaves the total number of people I know, who are aware of TIPC, at zero (excluding myself)

#

like it seems to be quite a powerful tech built into Linux

#

yet I don't see it used anywhere

#

@tulip grail the amount of references online to that mission in late March was a bit too much

sterile orchid
#

i am back

#

ahhh are you messing with hex files

#

changing speed?

#

oh it looks really realistic

#

i might have to get an rtx for my personal pc

#

the real life pictures and scanning of textures holy

#

i cant even imagine how much time that took

#

do they still have the terminal map

#

?

#

and the cabin in the woods @proper ridge

terse sierra
#

if you like synths

sterile orchid
#

melon music goes crazy

#

ngl

delicate wren
#

it's a bit hard to get working properly sometimes but still useful

#

and writing your own tracing subscribers for measurement isn't that hard

delicate wren
#

Cow<str>

#

it's either &str or String

#

if you need cheap clone, there is also Arc<str>

#

or just String if you don't worry about that

#

you can make a custom type that is Arc<str> and a range

#

also

#

why not have &str for buffer, again?

#

hmm

#

wher is buffer coming from?

#

(as in why change buffer)

#

hmm

#

the way I'd do it:
buffer as &'a str
literals as Cow<'a, str> (if you escape anything, it's a String, otherwise &'a str)

#

buffer is just source code in this case

#

reason why you can't have &str into a mutable String:
reallocation

#

String is a contiguous sequence of bytes

#

for simplicity you can just use String everywhere

misty sinew
delicate wren
misty sinew
#

well rust

#

is interesting

delicate wren
#

Rust has CString for C-like strings

misty sinew
#

i was trying to learn it but than just stopped

delicate wren
#

and, by the way, even in C++ you aren't guaranteed to have 0 at the end

misty sinew
#

arnt CStrings just Null Terminated by deafult

misty sinew
#

i've used them like

#

twice

#

rust is scary

delicate wren
#

bumpalo

#

I found it in Cargo.lock one time

misty sinew
#

what are you trying to do

#

i am

#

yeesh. ive never worked with lexats before

#

hmm.

#

you could try taking the bytes in that buffer and creating a seperate mutable buffer for those bytes

#

i dont know what

#

rust has for liek

#

strcpy

delicate wren
#

.clone()

misty sinew
#

but again, ive never worked with a lexar before

#

so dont take my advice lol

delicate wren
#

or String::from(&other_string[start..end])

#

(strcpy)

misty sinew
#

what i was trying to think of

#

dont take my advice tho lol im sure alisa is much more experianced than me

delicate wren
#
struct StringLiteral<'a> {
    original: &'a str,
    parsed: Cow<'a, str>,
}

// as an example
#[non_exhaustive]
struct ParsingState<'a> {
    source: &'a str,
    string_literals: Vec<StringLiteral<'a>>,
}
misty sinew
#

just pray the people coding in your language are not reading your lexers code ๐Ÿ‘

misty sinew
#

lol

#

my code is

#

horrible lmfao

#

im just glad people that use my programs dont care about the source

#

it doesent even matter how poorly optimized your code is

#

the compiler will just optimize it for you

delicate wren
sterile orchid
#

lex and yacc?

delicate wren
#

there was also some example of a string holding basically anything inside

misty sinew
#

as long as its

#

not wide

#

than you might have some errors

sterile orchid
#

add a buffer and perhaps tokenize

#

๐Ÿ˜ฎ

misty sinew
#

@ornate cobalt are you planning on implimenting wide strings?

#

its a string where each character occupies 2 Bytes rather than 1.

delicate wren
misty sinew
#

like chinese symbols contain more data than a regular letter. So to solve this the wstring was invented. where every 1 character is 2 Bytes.

delicate wren
#

rust's String and str only allow UTF-8

misty sinew
#

oh

delicate wren
#

for arbitrary bytes there is Vec<u8>/[u8]

misty sinew
#

but what if he wants his lang to support anything else

sterile orchid
#

can you code it in lex and assembly next

misty sinew
#

oh so now we have to hop better on vectors

sterile orchid
#

or small talk

delicate wren
#

for what the OS thinks of an acceptable string type, there is OsString/OsStr

misty sinew
#

i dont think hes making an assembler quite yet lol

sterile orchid
misty sinew
#

the instructions are smaller but the actualy program will be longer

#

math register?

#

you move it to that register

celest tide
#

hello guys im trynna include machine learning in ly resume parser project is there anyone that could tell me how to even start

misty sinew
#

the push assembly operation moves the data onto the stack according to its current stack frame

#

so like

#

push rax would be pushing the data stored in the 64-bit register rax to the stack according to its current stack frame rsp

#

am assembly sweat

sterile orchid
#

im going to give it a go in kotlin and gradle

#

lol

#

why not

#

๐Ÿคท

delicate wren
#

it reallocates when it goes over the capacity

sterile orchid
#

yup

#

but you could also hmmmm

#

cant you make it a greedy

misty sinew
#

you can use heap allocation : )

sterile orchid
#

keep all the ids

#

ahhhh

misty sinew
#

yeah i dont either lmfao

delicate wren
#

hashmap reallocates too

#

it doesn't guarantee pinning

sterile orchid
#

hmmm

misty sinew
#

write you own heap allocator in rust !

sterile orchid
#

yeah they would shift

#

you could and that wouldnt be fun

#

lol

#

i miss leetcodes

delicate wren
#

or just Arc<str>/String everywhere

sterile orchid
#

gosh backend is always fun

#

๐Ÿ˜„

misty sinew
#

i despise vectors

sterile orchid
#

fuck learning android studio id rather backend

delicate wren
#

like if the thing potentially needs to outlive the source file and be shared, Arc<str> is the way

sterile orchid
#

^^^^^^

misty sinew
#

prolabaly

sterile orchid
#

for a period

misty sinew
#

i dont even know what that means ๐Ÿ˜ญ

sterile orchid
#

yuppers

#

^^^^^

#

almost

delicate wren
#

another option for the buffer:
make it immutable after you're done lexing and move it into an Arc<str>
and store stuff as indices until you're done

sterile orchid
#

give it a try

misty sinew
#

is load even a valid x86 - 64instruction

sterile orchid
#

thats smart

delicate wren
sterile orchid
#

it allows your brain to focus on what you are doing

#

makes you conscious

#

im not a rust coder

#

^^^^

#

it looks nice and clean

misty sinew
#

does rust have a winapi wrapper yet

delicate wren
#

yes

sterile orchid
#

im just a java python dweeb

#

i believe they do @misty sinew

misty sinew
delicate wren
#

Microsoft are very active at integrating Rust in Windows

sterile orchid
#

c++ holy shrimp you are a genius in my eyes

misty sinew
#

it looks very dumb of course

#

but

delicate wren
#

"Rust is very simple...
... if you already know C, C++, Python and Haskell"

sterile orchid
misty sinew
#

itโ€™s relatively similar to C

delicate wren
#

most of Rust is just C+Haskell

sterile orchid
#

write in c

#

as the deadline fast approaches write in c

#

okay i will look at the stream

#

idk about the self.advanced

#

hmmmmm

delicate wren
#

C ABI still remains as the main thing for calling functions from other languages and/or static/dynamic libraries

misty sinew
#

rust is too hard bro

delicate wren
#

within the same amount of time I was able to learn more Rust than Haskell

sterile orchid
#

rust looks fun

misty sinew
#

i think that there syntax for adding a return type on a function is dumb

sterile orchid
#

idk about this code though

misty sinew
#

fn function() ->

delicate wren
sterile orchid
#

like a basic compiler shouldnt be over 200 lines but that might be a rust thing idk

delicate wren
#
def example() -> int:
    return 123
sterile orchid
#

๐Ÿคท

misty sinew
#

i donโ€™t know python either lol

delicate wren
#

now remember how TypeScript does that

sterile orchid
#

lol

misty sinew
#

the first language iโ€™ve ever learned was C

delicate wren
#
function example(): number {
    return 123;
}
misty sinew
#

than C++

sterile orchid
#

@misty sinew i feel like you could read python easier than rust

misty sinew
#

than a tiny bit of python

rotund bough
#

templates

sterile orchid
#

but its all the same concept

delicate wren
sterile orchid
#

ngl

#

ah

#

so top node to bottom node

misty sinew
#

ok iโ€™m writing in Malboldge for the rest of my life

sterile orchid
#

wtf is that

rotund bough
#

have fun maintaining that

delicate wren
misty sinew
#

it looks like this

#

haisjebeii)/93!:88$:28/&);39.&;&/9.โ€™7/72!489hejwhd

delicate wren
#

work needs C++17 or, at times, C++14 and lower

sterile orchid
#

oh jeeze so

delicate wren
rotund bough
#

auto is op is cxx20

misty sinew
sterile orchid
#

basically slamming head on keyboard hoping it works

sterile orchid
#

LMAO

delicate wren
#
(=<`#9]~6ZY327Uv4-QsqpMn&+Ij"'E%e{Ab~w=_:]Kw%o44Uqp0/Q?xNvL:`H%c#DD2^WV>gY;dts76qKJImZkj
#

this is what Malbolge's Hello World looks like

sterile orchid
#

that looks like when you write cryptography in ftk imager

misty sinew
#

yep

sterile orchid
#

i would never

misty sinew
#

easier to read than rust tbh

delicate wren
#

that code is generated

sterile orchid
#

i just looked it up

#

id take assemby over that crap anyday

misty sinew
#

I would take assembly over rust

sterile orchid
#

comment checking lemon_xd

#

rust is good for hackers so i feel like at some point id be forced to learn it

delicate wren
#

hats off to whoever put "structured" in there

sterile orchid
#

but for now ill avoid it

#

LMAO

misty sinew
#

beaunfuck is beautiful

delicate wren
#

it is structured

misty sinew
#

โ€ฆโ€ฆ..>โ€ฆ.>โ€ฆ>โ€ฆ>.>.>.>.>.,<,>.>.<.<.>,

sterile orchid
#

very much so

misty sinew
#

there is a malbolge compiler

delicate wren
misty sinew
#

@delicate wren put in n and it returns m lol

sterile orchid
#

lol im going to learn how to make a kotlin compiler

#

for android stuidio

#

ill be back

delicate wren
#

hmm

#

yeah, seems useful

delicate wren
misty sinew
#

yep

#

bfundocumentedinternals

#

ooh it can encrypt strings

#

xntrldkkkhjdsndnhk

#

that translates back to you smell like toe oil

delicate wren
#

pqrs

misty sinew
#

oh it just

#

shifts back

#

1 letter

#

so

#

x is actually

#

x + 1

#

which is y

delicate wren
#

I have no idea what that program does anymore

misty sinew
#

it preforms

delicate wren
#
,[>+++++++[<---------------->-]<[--[>+++++++[<++++++++++++++++>-]<+.>-<[-]]>+[>+
++++++[<++++++++++++++++>-]<-.[-]]-<[-]]>+[>+++++++[<++++++++++++++++>-]<++.[-]]
<,]
misty sinew
#

a subtraction operation

delicate wren
#

it does have comments I think

#

all unknown characters are treated as comments

misty sinew
#

false

#

wait

#

it does

#

some

#

weird subtraction algorithm

#

if you enter 2 you get 1

#

it goes back

#

1 letter

#

or one bit in this case

#

so like

#

if you enter

#

b

#

it returns a

delicate wren
misty sinew
#

so 0 is interpreted as a /

#

0 = /

#

by exactly 1

#

well

delicate wren
#

probably
-1
if q then -1
if o then +4

misty sinew
#

pqrst

#

ok

#

so

#

thats RPS

delicate wren
misty sinew
#

it offsets it

ornate cobalt
#

if p => s
else c - 1

misty sinew
#

it probably has a list of all the characters

#

and if the input = r

#

we offset it by whatever would make the solution

#

and than print the value at that byte

#

idk brainfuck is weird

#

enter the number 4 on it

#

do it

#

you get 3

#

it offsets by 1 byte

#

- 1 bit

#

i forgot

#

its bits

#

ASCII

delicate wren
#

first subtracts ord('p') from input

misty sinew
#

chat we are smart

#

we should make brainfuck a proper language

#

we need to make an input output lib for it

delicate wren
#

,.

#

that's the IO library

misty sinew
#

NICE

#

ok

#

one library done

delicate wren
#

, for I
. for O

misty sinew
#

one, library, done.

#

now we need a windows wrapper for it

delicate wren
#

[-] sets the currently pointed-to byte to zero

misty sinew
#

XOR XOR XOR XOR XOR XOR XOR XOR XOR XOR XOR

#

@ornate cobalt is there like proper syntax

#

like can i code in it yet

#

make it print my name pls

#

incredibly quick IO operations

#

nice

#

make it print my name 35,619x please

#

why does it measure in days lol

delicate wren
#

@ornate cobalt -arguments

#

outside {} maybe

#

or just no -wait

misty sinew
#

we need a time wrapper for bf

#

ok im ahead out

#

shoot me a dm if you need help with assembly, C, or C++

delicate wren
#

idk if it's because of CPU usage or something else but sound seems to break from time to time

#

time to compare to what vlang promises

#

V Lang says this

#

or used to

#

before they decided it's probably better to be honest and not overhype

delicate wren
#

from the time when they had docs for generics and no compiler support for them

#

apparently yes, they were not separated enough from everything else
(but I haven't seen myself)

#

they banned the author of the blog from everywhere they could

#

their community moderators generally don't understand the difference between trolling and criticism (whether valid or invalid)

delicate wren
#

I don't know how much of this is true

#

but the fact that I see people in the community labelling valid-ish criticism as, quote, "propaganda" makes me never want to be part of that community

#

@ornate cobalt Zig can

#

it will inline

#

as for V -- no idea

#

macros would be inlined, I'd expect

#

just how Zig does, iirc

delicate wren
#

it probably has many features it promised earlier

#

and it definitely doesn't have some

#

still a promising language

#

still with a "new language please don't judge" attitude

#

iirc it's related to vlang

#

@ornate cobalt title of the page

#

(I don't think this is 300KB)

#

I've unpacked it

#

the executable is more than 300KB

#

so it's not assets

sterile orchid
#

oh volt

#

its been like that for years LMAO

#

i guess time doesnt change all that much

#

python is great

#

take that back

#

๐Ÿ˜ฎ

#

i will roast others for using GO

#

ah

#

lol

delicate wren
#

Python's async is very capable

sterile orchid
#

so many packages

#

so many things you can install with python

delicate wren
#

it's very easy to use other languages inside Python

sterile orchid
#

so true!

#

python makes life easy

delicate wren
#

standard library is giant while being mostly useful

sterile orchid
#

thats also very true julia was made off of python

delicate wren
#

Lua bindings are good

sterile orchid
#

perl was java

#

java is pretty good

delicate wren
#

probably LuaJIT

#

because both are C

sterile orchid
#

but java is now just python

#

awe good bye

delicate wren
#

also one of interpreted languages is basically built into the full version of Python

sterile orchid
#

java updated syntax is basically python lol

delicate wren
#

tcl

#

as part of tkinter

sterile orchid
#

^^^^^^^

#

makes gui easier

#

kivy is also python

#

to make mobile dev

delicate wren
#

"you can also use sql of sqlite3 as a scripting language if you're brave enough"

sterile orchid
#

^^^ pyspark

#

better than sqlspark

#

ngl

#

almost all of apache was made by python if im not mistaken