#ot1-perplexing-regexing

1 messages Β· Page 574 of 1

edgy crest
#

its not an executable

inland wolf
#

.sh*

brazen ingot
#

Is this possible in windows?

inland wolf
#

whats the diff between .sh and .bash

brazen ingot
#

wsl to be precise

inland wolf
brazen ingot
#

yeah

#

I see

#

smhhmore?

#

this is not linux, powershell lmao

inland wolf
brazen ingot
#

yep

#

haha

inland wolf
#

dope terminal gang

brazen ingot
#

meh

honest pawn
#

Powershell's color command is quite easy to use

inland wolf
#

bruh

brazen ingot
#

bruh

#

.bm 856187536653418496

wraith hound
#

I just modify the colors of my windows terminal

#

And try to be happy

inland wolf
#

same

brazen ingot
#

lemme see

brazen ingot
#

Unable to locate package neofetch smhh error

inland wolf
#

bruh

brazen ingot
#

Β―_(ツ)_/Β―

inland wolf
#

sudo apt update

#

sudo apt install neofetch

brazen ingot
#

oh ye

inland wolf
#

yes

brazen ingot
#

time to learn new cmds

#

using docs

#

and implementing it

last mantle
#

lmao, very useful, windows

inland wolf
#

yes

#

ur journey begins

brazen ingot
#

done

#

thanks sussy!, installed neoftech

inland wolf
#

i wonder if i can build a windows flutter app inside wsl

lunar nexus
#

or it's better install the os from square one

brazen ingot
inland wolf
inland wolf
#

by running neofetch

lunar nexus
#

why

last mantle
#

but why would you do that

lunar nexus
#

not?

inland wolf
last mantle
#

AVD is on windows, code is on WSL

brazen ingot
#

mhm

inland wolf
#

i said

#

build for windows

#

not an android app

brazen ingot
#

makes sense

inland wolf
#

so avd wouldnt be required

wraith hound
#

I set zsh to run neofetch every time I open my terminal

wraith hound
#

It's nice

inland wolf
#

speed loss

wraith hound
brazen ingot
#

haha

inland wolf
#

damn

wraith hound
#

I keep my terminal open for days a lot

inland wolf
#

i want my terminal to be ready the moment i open it

wraith hound
#

So it doesn't happen that much

inland wolf
#

hmm

#

makes sense

brazen ingot
lunar nexus
#

make a terminal opened by facial recognition when you are serious

inland wolf
#

bro

#

bruh*

lunar nexus
#

thats hard, naive or just meh

brazen ingot
#

lmao, @inland wolf

inland wolf
#

theres more

#

it will load

brazen ingot
#

goood af

#

ik

inland wolf
#

yes

#

cool stuff

brazen ingot
#

lol i don' wanna show

#

lol

inland wolf
#

oh ok

#

lol

lunar nexus
#

show

last mantle
#

why would you

#

why

brazen ingot
#

I am laughing currently

#

idk

inland wolf
lunar nexus
#

we are here to having fun

inland wolf
#

probably wouldnt work

#

because idk if u can access the build tools from wsl

lunar nexus
#

i now

#

cmd

brazen ingot
#

@inland wolf what's that colors doing when i run neofetch?

inland wolf
#

thise are ur terminal colours

#

they are probably the colours of ur theme

brazen ingot
#

ok, πŸ‘

#

@inland wolf were you shifting to arch?

#

lmao

wraith hound
#

I use archwsl

#

It's nice

inland wolf
brazen ingot
#

ohk

inland wolf
#

but i don't use it much

wraith hound
#

@vagrant shadow What kind of todo app would you like to build? Is there a JS framework you use?

vagrant shadow
wraith hound
#

Hmmm

#
vagrant shadow
subtle dagger
#

whats the best programming language for game development

honest pawn
#

Lots of games are written in forms of C

#

Early on, Assembly was used due to its size efficiency

calm dawn
#

What is the best file format for storing data? (INI, JSON, XML, etc.)

narrow inlet
#

@subtle dagger c++

#

@calm dawn prob json, but it depends from the app

calm dawn
#

i mean is one more efficient than the other, can one store a greater variety of data types than the other, etc

#

it seams to me like INI is the most compact, so far as extra characters laying around the place

gritty zinc
#

what kind of data?

#

because if you have a lot, the answer is probably going to be "don't use files, use a database"

narrow inlet
#

Sorry i dont know then lemon_grimace

rough sapphire
#

I made discord spacex flights simulator, what to do now Xd

calm dawn
#

well in my case it would usually be file paths, boolean values, strings, and URLs

#

and I would be storing them in files for the purpose of quickly-ish loading them when the program runs

gritty zinc
#

how much? unboundedly many of them?

#

or only some fixed number?

calm dawn
#

ideally unbounded though realistically probably 100 or less

gritty zinc
#

hmm, so it's storing user configs

calm dawn
#

sorta yeah

gritty zinc
#

well, using JSON would have the bonus of the user being able to manually edit the paths if needed

calm dawn
#

as would INI

#

as I have done several times with another project πŸ˜‚

gritty zinc
#

hmm, how would you make a list of arbitrary number of records in INI?

calm dawn
#

afaik any text-based file would have that apability

#

configParser library

#
[entry]
data=stuff

[entry]
data=stuff

[entry]
data=stuff

and so on to disk capacity

gritty zinc
calm dawn
#

oh neat

#

thanks

#

Are your users (those doing the configuring) more like clickers or coders? Clickers include business users, Windows sys admins, and anyone else who would be dangerous or annoyed editing a text file. If you have clickers, you may need to build a user interface or β€œwizard” instead.
wow that is funny

#

yeah I still like INI a lot

subtle dagger
#

java vs c++ for game dev

last mantle
#

C++ I guess cuz unreal engine

#

Idk tho, not a game dev

shell cave
#

apparently not a lot of game devs are game devs either

topaz aurora
#

Disable it, firstly, then try another pamac update

scarlet wind
noble atlas
#

Hello, does anybody know what is the meaning : symbol in python?
like arr[a : b, c : d]

acoustic moss
#

it separates the arguments of slicing
for a 1D list a = [0, 1, 2, 3], a[2:4] would give you [2, 3]

#

for your example, it would give you a [a : b] slice along the first dimension and a [c : d] slice along the second dimension

#

!e

import numpy as np
arr = np.array([[0,1,2], [3,4,5], [6,7,8]])
print(arr)
print(arr[1:3, 1:3])
royal lakeBOT
#

@acoustic moss :white_check_mark: Your eval job has completed with return code 0.

001 | [[0 1 2]
002 |  [3 4 5]
003 |  [6 7 8]]
004 | [[4 5]
005 |  [7 8]]
acoustic moss
noble atlas
#

hmm let me think coz I still didn't get it πŸ˜…

acoustic moss
#

consider your array is

#

and you want

#

this part

#

i.e., from row 1 upto row 2 and from column 1 to column 3

#

(with 0 indexing)

rich moon
#

its faster than looping though and selecting the parts u want

acoustic moss
#

then your slice would be arr[1 : 3, 1 : 4] because the upper bound is exclusive

noble atlas
#

ah I see, I understand now. Thank you so much!

jagged fog
#

how do I make a backtick in Ubuntu? In windows I used alt+96

#

(I don't have backtick on my keyboard or I can't find it yet)

latent scaffold
#

and type CMP''

#

wait. that's a strange looking backtick

#

Β΄`'

#

oh Lord what is that

#
dead_grave space    "`" grave # GRAVE ACCENT
dead_grave dead_grave    "`" grave # GRAVE ACCENT

um... what is a dead_grave

#

in any case β€” you can make your own sequences

jagged fog
#

oke but I can't even find it in setting,first time using it

tardy rain
#

anyone see anything wrong with this

async (token, entry_id) => {
  const response = await fetch(`/entries/${entry_id}/items`, {
    method: "GET",
    headers: {
      "content-type": "application/json",
      authorization: `Bearer ${token}`,
    },
  });
};
#

im getting a jumbled request server side

INFO:     127.0.0.1:0 - "GET /entries/%5Bobject%20Object%5D/items HTTP/1.1" 422 Unprocessable Entity
inland wolf
#

authorization and "content-type"

#

is that an object or a dictionary

#

or does that not matter in javascript

tardy rain
#

its an object

#

keys dont need quotes around them unless they got weird characters in them like spaces or dashes

inland wolf
#

ohh

#

ok

graceful basin
#

entry_id is an object

#

%5Bobject%20Object%5D is [object Object]

tardy rain
#

yea but im passing in a string, im not sure what turns it into an object lmao

inland wolf
#

maybe its not a string

graceful basin
#

well, post call site

tardy rain
#
console.log(token, id, typeof id);
const res = await dispatch(getEntryItems(token, id));
graceful basin
#

getEntryItems does what?

tardy rain
#

dont worry about the token im working on localhost

graceful basin
#

oh, is that the function you posted?

tardy rain
#
export const getEntryItems = createAsyncThunk(
  "getEntryItems",
  async (token, entry_id) => {
    console.log(token, entry_id, typeof entry_id);
    const response = await fetch(`/entries/${entry_id}/items`, {
      method: "GET",
      headers: {
        "content-type": "application/json",
        authorization: `Bearer ${token}`,
      },
    });
    const data = await response.json();
    if (response.status === 200) {
      return data;
    }
    throw new Error(data.detail);
  }
);
#

this is the full thing

inland wolf
#

thunk

acoustic moss
#

AsyncThunk

tardy rain
#

its literally the same as the docs

import { createAsyncThunk } from '@reduxjs/toolkit'

const fetchUserById = createAsyncThunk(
  'users/fetchById',
  async (userId, thunkAPI) => {
    const response = await fetch(`https://reqres.in/api/users/${userId}`, {
      signal: thunkAPI.signal,
    })
    return await response.json()
  }
)
#

well, literally

scarlet wind
#

lol

graceful basin
#

can't have multiple args it seems

tardy rain
#

goddamnit

#

aight i guess i'll wrap them in an object

#

thanks

#

cant believe i just scrolled past that part lmao

inland wolf
#

np

dusky lagoon
#

anyone know a good java course

inland wolf
vague tulip
#

HELP THE LEMON IS STALKING ME

mellow spire
acoustic moss
#

thank

rough sapphire
acoustic moss
stiff thicket
#

yooo @acoustic moss U a helper now!!!

#

congratss

acoustic moss
#

thank

graceful trout
#

My eyes

odd sluice
# graceful trout My eyes

dark joke: my friend liked that emoji so much that he ended up dancing on the floor
pls dont cancel me

graceful trout
#

Where is your friend

odd sluice
#

lmfao

rough sapphire
#

Do role positions change if I modify a single role

#

I've been trying to put a few roles under a certain role, roles below that certain role get changed (name, color), deleted and made

#

So I want my system to keep all those roles under a certain role but for some reason my formulas don't work

#

Idk if anyone is able to help me

remote citrus
#

how to use ${name} in nodejs
code:

const readline = require('readline');

const rl = readline.createInterface({
    input:  process.stdin,
    output: process.stdout
});
rl.question("Enter your name \n>", (name) => {
    console.log('Hello! ${name}');
});
rough sapphire
#

Wdym

acoustic moss
#
`Hello! ${name}`
#

quotes get replaced by backticks

remote citrus
#

thanks... but lemme check

#

yup it works lemon_starstruck

acoustic moss
remote citrus
#

btw what do that `` do?

acoustic moss
#

make a template string

remote citrus
#

template?

acoustic moss
#

that what these strings are called

#

when you put in expressions

remote citrus
#

i am newbie pz help

#

oh

acoustic moss
#

it's just the name given to these strings

remote citrus
#

ok

solid pollen
#

Hey @stiff thicket! It is a bit late, but please avoid emojis that flashy. It is really hard on the eyes.

stiff thicket
#

ah kk sadgecry

rough sapphire
scarlet wind
#

nice :yes:

vapid nymph
#

@bleak lintel

rough sapphire
#

Sheesh I got birthday today birthdays

#

Longest birthday on earth ok_handbutflipped

quick ledge
#

Happy Birthday ducky_party

#

oh, today is solar solstice

wraith hound
#

Happy birthday @vapid nymph

vapid nymph
#

Thanks @quick ledge, @wraith hound!

quick ledge
#

No problem!!!

wraith hound
#

πŸŽ‚

tardy rain
#

Happy summer time everybody

#

Officially

calm marlin
#

happy summer to you as well

surreal otter
#

let's see how fast we type

low chasm
#

Lmao, im on my phone

#

Gotta pull out the mobile typing skills

surreal otter
#

Ouch

#

85

severe ledge
#

how do i join

surreal otter
#

although...

severe ledge
#

oh

#

wait

#

ima rty

#

try

surreal otter
#

ongoing...

#

can we make one and race against each other?

magic spire
#

Yes

low chasm
#

Fuck, I give up, I have to de capitalize every word

magic spire
#

Bruh my 90s scores are on 10 fast fingers, it's so much easier

#

This is gonna be awful

misty dew
#

oo typing tests

severe ledge
#

ouch 80

misty dew
#

count me in

severe ledge
#

ima try again

low chasm
#

Lmao

misty dew
#

join us

surreal otter
#

ooh

#

That was a rough start

magic spire
#

Who tf got 112

surreal otter
#

I love the playback

low chasm
severe ledge
#

jesus

surreal otter
#

<- this guy

magic spire
misty dew
surreal otter
low chasm
#

Holy fuck

severe ledge
#

BRUH

#

HOW

severe ledge
misty dew
severe ledge
#

jee

low chasm
#

Latkercszy is speed

severe ledge
#

jee

#

ikr

misty dew
severe ledge
#

yes

low chasm
#

Haha

misty dew
#

I joined that race too late

#

forgot it was going on

low chasm
#

Lol

magic spire
#

@misty dew how do you get those speeds tho

#

fr

tender smelt
#

lol

low chasm
#

He is speed

misty dew
#

oop gotta go for like 3 minutes

#

brb

surreal otter
#

wait a minute

low chasm
#

Cya

surreal otter
#

let's reset this lobby?

low chasm
tender smelt
#

oops

magic spire
#

86 and I still get destroyed

surreal otter
#

new link?

#

I clsoed that one

#

I have no idea who was i nit

#

lemme make an account

tender smelt
#

it's the same link

magic spire
#

I'm blaming my dead arm from the COVID vaccine

misty dew
#

lol suuuure that's the cause

low chasm
#

Lat is a bot

surreal otter
#

I love watching the replay, though ti constantly disappears too soon

tender smelt
#

gotta finish quicker

surreal otter
#

I'm taking a breather

magic spire
#

I rage quit

surreal otter
#

lol

#

why?

#

I wonder if a better keyboard would make me type better

tender smelt
#

it does

surreal otter
#

lol

#

I have a

tender smelt
#

i'm consistently 10wpm slower or faster depending if i'm on my laptop or my desktop

surreal otter
#

really top quality stuff, all of like $20 for the kbm combo

subtle light
magic spire
#

I feel like I shouldn't be using only 6 fingers to type

subtle light
#

race

magic spire
subtle light
#

ok

tender smelt
#

why a different one πŸ€”

#

just use the same one

magic spire
#

nah

subtle light
#

i was guest

surreal otter
#

Why can I not watch my replays?

#

Is tehre an autoquit button I need to turn off?

#

it's dirivng me fuckign nuts

subtle light
#

gg

surreal otter
#

Instant death mode

subtle light
#

no

surreal otter
magic spire
#

My only flex is that until I get past like 125 wpm, typeracer won't question it

surreal otter
#

even better

magic spire
#

It says it certifies me as being able to type 102 wpm, idk how

surreal otter
#

brought that 79 to an 87 πŸ™‚

#

I really should get to the qualifier

magic spire
surreal otter
#

well then, pretend it is

#

do the qualifier, wait for the automated tests to come out, if it passes, do the jam, you don't have to submit

#

you can write the code without participating officially

#

but the task at hand is not a small one

#

there's a reason we're being given teams

magic spire
#

EXACTLY

#

I just don't want other people in the team that I am assigned to feel like it's just a waste of a team member

surreal otter
#

so do the project on your own πŸ™‚

#

start a non-official team of non-competitiors

#

the unranked

#

there can be 14 of you all, who claim you can't commit and don't wnt to drag anyone down, all lifting yourselves to a successful learning venture

#

where you make a thing

magic spire
surreal otter
#

not sarcasm

#

for real, there's a lot of members who don't want to join the jam

#

but want to join the jam

#

the fun of the jam is learning, not winning

magic spire
surreal otter
#

just do the left justified for now

frozen crane
#

beef jerkey is the reason pope francis doesn't like capitalism

rich moon
#

reject captialism return to communism

rough sapphire
#

reject political ideologies and society, return to individuality

obtuse falcon
#

counter sqlite heavy: The database

vague tulip
#

sdesxdy

inland wolf
#

alright

vague tulip
#

alighty

uneven cobalt
#

I also want help with HTML
Why can't I paste an image in HTML?

noble atlas
#

paste an image in html? what do you mean? πŸ˜…

fair knot
#

I think he means DN

lunar crescent
#

don't do it.

inland wolf
#

lmfao

edgy crest
#

lmfao

odd sluice
narrow pecan
odd sluice
narrow pecan
#

Since he has admin permissions, that won't actually make him unable to talk

frozen coral
#

!u

royal lakeBOT
#
Chrisjl#2655

hypesquad_brilliance

User information

Created: 5 years, 6 months and 5 days ago
Profile: @frozen coral
ID: 126811506632294400

Member information

Joined: 9 months, 26 days and 54 minutes ago
Roles: <@&542431903886606399>, <@&854107452243968040>, <@&295488872404484098>, <@&825337057181696020>, <@&267630620367257601>, <@&587606783669829632>, <@&831776746206265384>, <@&267629731250176001>, <@&815701647526330398>, <@&267628507062992896>

Infractions

Total: 28
Active: 0

frozen coral
#

28 here πŸ˜…

narrow pecan
#

Hehe

#

!u

royal lakeBOT
#
Vestergurkan#3527

hypesquad_brilliance

User information

Created: 2 years, 1 month and 24 days ago
Profile: @narrow pecan
ID: 572303014346489866

Member information

Joined: 1 year, 26 days and 23 hours ago
Roles: <@&542431903886606399>, <@&518565788744024082>, <@&463658397560995840>, <@&764802720779337729>, <@&854107452243968040>, <@&295488872404484098>, <@&267630620367257601>, <@&799041111573266503>, <@&815701647526330398>

Infractions

Total: 13
Active: 0

narrow pecan
#

I'm at 13 by now

odd sluice
#

!u

royal lakeBOT
#

You are not allowed to use that command here. Please use the #bot-commands channel instead.

odd sluice
#

brrrrr

acoustic moss
#

orz

tranquil orchid
#

Infractions are unavoidable once you join the staff team

honest star
#

!mute 126811506632294400 You're missing a role there

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied mute to @frozen coral until 2021-06-22 15:04 (59 minutes and 59 seconds).

frozen coral
#

!mute 212644551926611969 9999-12-31T23:59Z heard enough already

royal lakeBOT
#

:incoming_envelope: :ok_hand: applied mute to @honest star until 9999-12-31 23:59 (7978 years and 6 months).

honest star
#

LMAO

frozen coral
inland wolf
#

bruh

lunar crescent
#

lmao bruh

brazen ingot
#

oog

solid pollen
royal lakeBOT
#

:incoming_envelope: :ok_hand: applied warning to @frozen coral.

solid pollen
#

sad, you already got one in the middle

#

I mean, I am at 70 either way

frozen coral
solid pollen
#

and shadow stuff in general

frozen coral
#

true

honest star
#

hmmmmmm, work is very slow today. A project finished up and the other projects I was supposed to work on haven't spun up yet

#

what do I do instead

magic spire
#

I got 107 wpm then 109 wpm in a row, very proud of myself

#

Because no mistakes

#

Which is like 70% of the reason I keep getting like 90

solemn leaf
#

reaction cooldown the heck

uneven pine
#

I'm getting the exhaust done on my Jetta today

#

The first part of many modifications to come

magic spire
# solemn leaf gg

Thanks, I was happy about it until my grandmother told me she can write 120 wpm in shorthand with pen and paper

#

now this is not fun

shrewd prawn
#

wtf no way. writing fast is impossible

magic spire
shrewd prawn
#

wth is this alien language

magic spire
#

It's barely writing lmao but people that can write in it understand it

shrewd prawn
#

just searched it up

#

why would someone do this

#

so 120wpm would be like 2 characters per sec

magic spire
#

It was back when everything used to be on paper so if your job involved a lot of text, everyone would use shorthand

#

Because it was a lot more efficient

shrewd prawn
#

huh

#

interesting

#

i assume its rarely used nowadays, since ive never heard of it

gray laurel
shrewd prawn
#

ppl who use notepad are bad
u gotta use notepad++

#

lul

round rose
#

Imagine using anything other than echo "text" >> file

#

And overwriting the entire file if you make a mistake

rough sapphire
inland wolf
#

again, i prefer @prime aspen's way of writing to a file by using a magnet on a hard disk

narrow pecan
#

So there's that

late sedge
#

cant fight back, can they?

narrow pecan
narrow pecan
subtle light
#

race?

last mantle
#

@latent scaffold can you tell me how you did the dual boot

#

the partition part

latent scaffold
#

Shrunk Windows

#

booted up the installer

#

that's it

last mantle
#

oh how do i shrink windows?

#

any useful link?

#

should i defragment windows partitions too?

clever furnace
#

Just carry a live USB

#

Easy

last mantle
#

live usb is trash

#

heh

clever furnace
#

Ye

last mantle
#

gotta backup stuff first

clever furnace
#

Wdym

last mantle
#

i don't wanna bork windows

#

and if i do

#

then all my data is poof

clever furnace
#

Yas gud

#

Also u can just have 2 ssds

clear plume
#

Windows bad go use mint

last mantle
#

for me

#

bios problems or some shit

#

idk

latent scaffold
latent scaffold
last mantle
latent scaffold
#

yes

last mantle
#

k

clever furnace
#

Use vms

#

Easy

last mantle
#

huh

#

my efi partition is on a drive where windows is not installed

#

hmmmmmmm

#

fuck

clever furnace
#

Wtf

last mantle
#

yeh

#

i have to clean my pc

#

completely

#

fuck sake

clever furnace
#

Make backup drives

last mantle
#

i have

clever furnace
#

Gud

latent scaffold
#

you don't need the same disk I don't think

clever furnace
last mantle
latent scaffold
#

hm

latent scaffold
last mantle
#

its safer to have everythin in one drive

clever furnace
clear plume
clever furnace
#

If u can't boot into win they how will u access it

latent scaffold
#

regardless, this is stuff handled by your BIOS

#

you can even have it automatically boot into a USB

last mantle
#

yes

clever furnace
#

Yas thats wut I am telling

frail cosmos
#

Hi, this is widly below the skill level of this server as it could bypassed by someone even remotely skillful, but I'd like to avoid bothering with some codes for this right now.
So, I can't bypass the article limit on a website.
Could someone take 30 secondes and send me the copypaste please or a good way to bypass it without using Chrome? Again, sorry for that request so irrelevant for the server.

acoustic moss
shrewd prawn
#

just go on incognito, then when you run out of articles, close the window and make a new one

#

bc the cookies they use to track the number of articles u read will be deleted

solemn leaf
#

in the memory of hive

#

F

frail cosmos
#

Thank you for the advices, I was able to read my article, glad I didnt paid for it, it was way shorter and less interesting than i tought.

vague tulip
#

my lemon left me UwU

shrewd prawn
#

oof

inland wolf
#

sad

solemn leaf
#

lemon

opaque bronze
#

shiba inu

arctic ether
#

i didnt wanna believe my feeling for you

#

i was uptight

odd sluice
#

uh

west briar
#

hi

clear plume
last mantle
#

@latent scaffold hello openSUSE guy

#

how do i install stuff like android studio/ pycharm etc

clear plume
#

Go to product website

#

And press download for Linux

last mantle
#

well yes

clear plume
#

Hope I was able to help.

last mantle
#

but that sort of installing causes uhh errors

clear plume
#

Well too bad

#

Just install better

tardy rain
#

Wouldnt have any errors on win10

#

Think about that next time

last mantle
#

thing is, i have a w10 installation too

inland wolf
inland wolf
#

tahts ur calling

#

to go back

last mantle
#

i use both bruh

inland wolf
#

ok

latent scaffold
last mantle
#

please tell me how to install edge dev

#

im stuck on firefox

latent scaffold
#

did you install opi

last mantle
#

no

latent scaffold
#
sudo zypper in opi
#
opi msedge
last mantle
#

ay

#

nice

#

so opi has more stuff than obs?

latent scaffold
#

no

#

opi is like yay

#

but for the OBS instead of the AUR

last mantle
#

eπŸ…±οΈic

latent scaffold
#

but msedge isn't apart of the OBS

#

it gets it straight from Microsoft

last mantle
#

oh nice

#

so i can try opi android-studio too right?

latent scaffold
#

probably, but you should just download the toolbox straight from jetbrains

last mantle
#

alrighty

#

should i keep the edge repo?

#

i can yeet it right?

#

nvm , yeeted it

latent scaffold
last mantle
#

well rip

#

lol

#

will do next time

latent scaffold
#

you can add it just by doing opi msedge

#

it'll see it's already installed and only add the repo

last mantle
#

oh so how do i install the toolbox now

#

opi jetbrains-toolbox?

#

hmm

rough sapphire
#

Ugh

#

I got diagnosed with pulsatile tinnitus

last mantle
#

what that

rough sapphire
# last mantle what that

i can hear a wooshing sound on my left ear, which is the result of one of my veins interfering with my eardrum

last mantle
#

oh

rough sapphire
#

i can hear my heartbeat at all times and it is damn loud

last mantle
#

ah, is it curable

rough sapphire
#

depends on what's causing it,

#

on my case it's probably just because I'm a fatass and my blood pressure is high

#

After i loose a few pounds it'll probably go away

#

However if that isn't it there's no cure

#

Tinnitus of any kind sucks, and it's usually related to hearing loss

#

A lot of people have it and the only solution is to live with it

last mantle
#

damn

#

@latent scaffold how do i install toolbox lol

latent scaffold
last mantle
#

well i got it

#

and now what

#

unzip it?

rich moon
#

utar i think

#

and there is sth in the folder

#

which u run

last mantle
#

oh

latent scaffold
#

appimage

last mantle
#

ah

latent scaffold
#

./*.appimage

#

might need to chmod +x it, but probably not

last mantle
#

ay

#

epic

#

thanks

latent scaffold
#

yep

inland wolf
#

@latent scaffold what is opi

last mantle
#

its like yay apparently

#

a smart zypper

#

epic

#

i just have to install wifi drivers now

#

which are annoying ahh

inland wolf
#

i se

#

but why do i need it

#

or do i need it

latent scaffold
#

from OBS*

inland wolf
#

obs?

#

is that like the arch user repostiory

last mantle
#

@latent scaffold what is the command shortcut for flameshot

#

for global shortcuts

#

flameshot-gui?

latent scaffold
#

space

last mantle
#

oh

latent scaffold
last mantle
#

epic

#

thanks

latent scaffold
#

yep

inland wolf
near bolt
#

i first created a node in a hash table and i want to create a linked list where the first root is hashtable[y] but i would like to insert a node called "rachel" in between the root and the old node "ross"

n = malloc(sizeof(node));
   if (n == NULL)
   {
       free(hashtable[x]);
       return 1;
   }
n-> name = β€œRoss”;
n-> next = NULL; 
int y = hash(β€œRoss”);
hashtable[y] = n;```
if there is a collision, where z is equals to y, can i check this is how u make rachel's next point towards the old head of the linked list
```c
n = malloc(sizeof(node));
   if (n == NULL)
   {
       // Free both of our other nodes
       free(hashtable[y]);
       free(hashtable[x]);
       return 1;
   }
n-> name = β€œRachel”;
n-> next = NULL; 
int z = hash(β€œRachel”);
//since z = y

//i don’t know how to point back to the old head of the linked list
n-> next = n; 

hashtable[y] -> next = n;```
#

im unsure abt the linen-> next = n;

harsh tundra
#

@ your last comment - To link back to the old head, you have to keep the old head somewhere.
Eg by changing head reference only at the end.

//do stuff with new_head like memory and content
//after new_head is done, link old head and change the reference:
new_head->next = head;
head = new_head

Right now by doing n->next=n you're doing a circular list - n's next is n, so n's next's next is n...

royal lakeBOT
#

@rough sapphire, looks like you posted a Discord webhook URL. Therefore, your message has been removed. Your webhook may have been compromised so please re-create the webhook immediately. If you believe this was a mistake, please let us know.

rough sapphire
#

I removed all the data in it :(

frozen coral
#

your pasting a webhook.

#

Dont

#

you should re-create the webhook right now

rough sapphire
#

It did not include its token

#

Welp

#

Im trying to post a message to a discord webhook with javascript, getting some errors though

var xhr = new XMLHttpRequest();
xhr.withCredentials = true;

xhr.open("POST","https://discord.com/api/weebhooks/id/token");
xhr.setRequestHeader('Content-Type', 'application/json');
xhr.send(
 JSON.stringify({
    content: "Hello",
    username: "Gday Bot"
  })
);
``` And with that im getting this error
```bash
Uncaught DOMException: Failed to execute 'setRequestHeader' on 'XMLHttpRequest': The object's state must be OPENED.
```Any help would be apprechiated :)
wraith hound
#

If it's normal JS, would fetch() work?

rough sapphire
#

Normal

wraith hound
#

It's very simple

rough sapphire
#

yeah fetch will work. and +1 it's simple.

#

Could you pass an example of fetch?

wraith hound
#

MDN, the greatest docs for anything HTML, CSS, or JS

rough sapphire
#

Yeah true

#

Hmm ok so i tried implementing their example but im getting a error code 400 where it sais unable to send an empty message this is the code used:

async function postData(url = '', data = {}) {
  // Default options are marked with *
  const response = await fetch(url, {
    method: 'POST', // *GET, POST, PUT, DELETE, etc.
    mode: 'cors', // no-cors, *cors, same-origin
    cache: 'no-cache', // *default, no-cache, reload, force-cache, only-if-cached
    credentials: 'same-origin', // include, *same-origin, omit
    headers: {
      'Content-Type': 'application/json'
      // 'Content-Type': 'application/x-www-form-urlencoded',
    },
    redirect: 'follow', // manual, *follow, error
    referrerPolicy: 'no-referrer', // no-referrer, *no-referrer-when-downgrade, origin, origin-when-cross-origin, same-origin, strict-origin, strict-origin-when-cross-origin, unsafe-url
    body: JSON.stringify(data) // body data type must match "Content-Type" header
  });
  return response.json(); // parses JSON response into native JavaScript objects
}

postData('https://discord.com/api/weebhooks/K89c', { data: {content : "Gday"} })
  .then(data => {
    console.log(data); // JSON data parsed by `data.json()` call
  });
#

code: 50006
message: "Cannot send an empty message"

oblique raven
frozen coral
rough sapphire
#

yea

#

what Chris said

#

data is name of function parameter, not the property of JSON

#

at least in the case you've shown

#

Yeah i got it working :)

past snow
#

Anyone here do 3D printing?

subtle light
tranquil orchid
#

Typeracer can be a bit of fun

#

Keymash is nicer though

odd sluice
#

I don't know

#

I might be up for typeracing

#

I'm rlly bad though

uneven pine
#

Those things just flat out don't work well for me

#

I type so much slower when I'm typing something that I'm being told to

#

If I'm just typing what I'm thinking, I'm way faster.

last mantle
#

same

uneven pine
#

No thanks

hardy tartan
winter terrace
#

not yet

#

but this was attempt #1

#

wait a second

#

what the fuck am i doing

#

i can just connect each neighbour with a 1 pix len line

#

i forgot the most basic rule of programming

#

if there's a simple solution

#

do it

#

oh wait i remember now

#

hold on

#

yeah i can just get each segment

lost crow
latent scaffold
#

pacman is much faster and objectively better designed, but okay
@rough sapphire Have you tried zypper?

rough sapphire
#

yec

#

cringe packet manager

latent scaffold
#

Alright, and so how is pacman "faster"

#

also I think you mean package, you keep saying packet

rough sapphire
#

yes

#

I'm on phone

#

pkg and pacman ftw

#

I mostly just compile by myself tho ;))

latent scaffold
#

Arch has some flaws, where packages are larger, do not support partial upgrades, and are very easy to screw up

rough sapphire
#

the way it should be done

latent scaffold
#

Most Arch users do not know that they should be upgrading their system before installing a package

rough sapphire
#

most

latent scaffold
#

Yes. a large majority

rough sapphire
#

anecdotal evidence?

latent scaffold
#

What?

#

How is that anecdotal

rough sapphire
#

u are saying most arch users dont know what they are doing

latent scaffold
#

I didn't say that

#

but that does still manages to be true

rough sapphire
#

without any argument

rough sapphire
latent scaffold
#

You've not seen any Arch communities, have you?

rough sapphire
#

lmao

#

I've been using arch for 2y

#

in the meantime tried other distros

latent scaffold
#

Okay, what does Arch have that something like openSUSE does not

#

What makes you prefer Arch

rough sapphire
#

found arch to be the best for general computing (personally) and freeBSD to be best for networking stuff objectively

latent scaffold
#

"general computing" in what way?

rough sapphire
#

normal stuff

latent scaffold
#

also I find it hard to believe anyone uses freeBSD

latent scaffold
#

iirc the usage compared to Linux and Windows was 0.01%

rough sapphire
#

freeBSD has fastest networking

graceful basin
#

freeBSD is very common for some servers

#

there are very objective reasons to use it for some workloads

rough sapphire
#

every ISP and company that knows what they are doing is using it

#

also

#

linux isn't an OS

#

freeBSD,openBSD,netBSD are

latent scaffold
#

Regardless

rough sapphire
#

regardless lmao

latent scaffold
#

What does Arch have over a distribution like openSUSE

rough sapphire
#

netBSD is also more portable then any GNU/Linux

rough sapphire
#

also

#

the installation process is much better for arch

latent scaffold
#

How so?

rough sapphire
#

did you ever installed it?

latent scaffold
#

Yes, I have

rough sapphire
#

I have much more freedom

latent scaffold
#

In what regard

rough sapphire
#

less then on *BSD or gentoo but still

latent scaffold
#

How does Arch give you more freedom

rough sapphire
#

openSuse is too simple

#

/abstraction

#

/bad for some stuff

latent scaffold
#

What?

#

You have just as much freedom on openSUSE

rough sapphire
#

arch wiki is also πŸ’―

#

much better support for arch

latent scaffold
#

I quite like the revamped openSUSE Wiki

rough sapphire
#

everyone knows arch wiki is the best

#

after freeBSD one ofc

latent scaffold
#

Even then, the Arch Wiki can apply to most of Linux in general

rough sapphire
#

I was astounded when I saw freeBSD wiki

latent scaffold
rough sapphire
#

linux is a kernel

#

are you native?

latent scaffold
#

It's obvious that I imply Linux-based operating systems

graceful basin
#

installing arch literally just feels like entering magic commands most of the time, for example the wiki barely even explains what is it that differentiates arch-chroot from chroot

latent scaffold
#

Then I'll amend my statement.
"Even then, Arch Wiki can apply to most of Linux-based operating systems in general"

rough sapphire
#

its really hard to read

#

even forum questions on that

latent scaffold
#

Keyword is "wiki"

graceful basin
#

yeah, that is the kind of thing that should be on the wiki

rough sapphire
#

9y old

graceful basin
#

not stuck in forums with no sources

rough sapphire
#

🀑

graceful basin
#

that doesn't tell you what arch chroot does

latent scaffold
#

Most of this "freedom" that comes with Arch is completely useless

rough sapphire
#

wdym

graceful basin
#

that just tells you how to use it and how to use chroot

rough sapphire
#

read the wiki!!

rough sapphire
#

I love people identifing themselves w software they use

#

someones life must be so fun

#

🀣

latent scaffold
#

I find openSUSE to be underrated, and I wanted a goofy chat nickname

#

What's the problem with that?

rough sapphire
#

also that useless "freedom" is subjective to u

rough sapphire
#

read that again

latent scaffold
#

Then elaborate what you mean by "freedom"

rough sapphire
#

but slowly

latent scaffold
#

Read what again?

rough sapphire
#

its really hard to read for some people

#

how lazy do you have to be

latent scaffold
#

What...?

rough sapphire
#

do u not know what definition of freedom is?

latent scaffold
#

You just said it's subjective, and I want to know what it means to you

rough sapphire
#

πŸ€¦β€β™‚οΈ

#

meaning of the word isn't subjective

#

your opinion that freedom arch gives u is useless is subjective

latent scaffold
#

so then how can freedom be interpreted subjectively

rough sapphire
#

did u just read what I sent

#

English is really hard language init? 😹

latent scaffold
#

Your only argument has been semantics, even though the meaning should be implied

#

I might argue that common sense isn't so common

rough sapphire
#

lmao

#

I got warned by a bot

#

for "mocking" peoples english

#

@graceful basin I was saying she was to lazy to google

#

The language knowledge doesn't matter in that context

#

but ok I have smarter things to do bye bye

#

have fun

latent scaffold
#

he.

last mantle
#

@latent scaffold what do you usually install on OpenSUSE right after booting into it

latent scaffold
last mantle
#

Nice

latent scaffold
#

um... that's all I can think of

#

oh, Discord... and Steam and stuff

last mantle
#

Ye I did all of that

latent scaffold
#

oh, and Proton GE and Gamemode

last mantle
#

Huh interesting

vapid nymph
#

😳 i have vim on windows now

tender smelt
#

is that hard

vapid nymph
#

not really lol

lilac badge
#

oh look at the otn name

#

that's fantastic

latent scaffold
#

jake doesn't need more otn's

#

wait that's not correct grammar

#

what is this!?

#

jake doesn't need more otn is

#

how dare????

inland wolf
#

hi

#

i got user banners !!

wraith hound
#

Nice

inland wolf
#

thanks

latent scaffold
inland wolf
#

yes

edgy crest
#

no

last mantle
#

everyone did

inland wolf
#

yes

shrewd prawn
#

no only if you have nitro

edgy crest
#

i did not get them sad

last mantle
edgy crest
last mantle
#

same

#

also, @latent scaffold

latent scaffold
#

yes

last mantle
#

i have wifi issues

#

i installed the correct drivers

#

but it refuses to connect to the router

#

i have to use wicked to connect apparently

#

but idfk how to use wicked lol

latent scaffold
topaz aurora
#

@rough sapphire Pinging here because you might miss it in #python-discussion:
You could probably try bumping the version up with the right classifier

rough sapphire
ebon condor
uneven pine
#

interesting

#

didn't know AMD CPUs reported their actual frequency in the vendor string

#

I know intel CPUs just report their base clock

#

like despite running at 5ghz at one point (Before spectre patches) my 8700k always reported 3.7ghz

inland wolf
uneven pine
#

on ryzen 5000 series, apparently

inland wolf
#

damn

#

interesting

uneven pine
#

huuuuuuhhmhmm

#

Speaking of that

#

some funky stuff is going on with my voltage

#

lemme run cinebench rq

#

okay nevermind, nothing crazy

#

just might need to ease off the loadline calibration

#

it's sitting at 1.2v with low load

#

but jumps down to 1.675 when it's stressed

lilac temple
#

just curious

edgy crest
#

running programs

#

which require ram

#

basically every program

uneven pine
#

I'll upgrade to 64 soon ish... After a new GPU

lilac temple
#

oh you do editing ok that explains alot

edgy crest
#

gpus rn though

uneven pine
#

Yeah. It's getting better

#

My local store is getting them in stock

edgy crest
#

o

#

nice

uneven pine
#

I just gotta wait for some us government stuff to go through so I can afford it

#

Lol

uneven pine
#

I'm owed like $2k probably in taxes

#

But I'm late filling due to a company losing my w2

lilac temple
uneven pine
#

So I'm going to have a fine from the IRS

#

I should at least get enough back for a 3080 around msrp though

lilac temple
#

you not gunna pay ?

#

i mean thats a lot you know

uneven pine
#

I'm owed. I do not owe

#

As in the government must pay me

lilac temple
#

oh F i read that wrong

tardy rain
#

i just had a ministroke

#

put on aquaman on netflix

#

opening credits are muffled underwater silent noices

#

DCEU hero clip rolls i cant hear anything

#

i spent ten minutes trying to figure out if my speakers are dead

abstract stratus
#

which field in computer science are going to be in demand?

tardy rain
#

all of them?

abstract stratus
#

im literally confused which jobs to pick in the future

tardy rain
#

you dont pick a career based on its demand, that just leads to depression

abstract stratus
sleek elk
#

how about instead of picking what will be in demand why not go with a field you're actually interested in so you dont become a depressed wage slave?

tardy rain
#

try a whole bunch of them and not just superficially

abstract stratus
sleek elk
#

what exactly is the field?

abstract stratus
sleek elk
#

wat

abstract stratus
#

wait how do you define fields?

#

lmao

#

i was thinking about data science, ML & AI, embedded, web app, game

#

kind of like exploring which suits for me

sleek elk
#

and what if i told you all of them are still in high demand

abstract stratus
#

then i'd go for the advice that you told me

jaunty blade
ebon condor
#

yes

winter terrace
#

does anybody wanna do a horse race?

winter terrace
#

alright

edgy crest
#

wait

#

i dont know what it is

#

it was a joke

winter terrace
#

🏁🐎

gritty zinc
winter terrace
#

set up your steed, partner

edgy crest
#

easy

#

🏁🐎

winter terrace
#

FUCK

#

how

edgy crest
#

B)

acoustic moss
#

nice mod-logs flooding

edgy crest
#

what

winter terrace
#

hey watch this

#

πŸ–οΈ 🐰 πŸ–οΈ

#

πŸ‘

#

πŸ–οΈ πŸ–οΈ

edgy crest
#

if you are a bunny and you know it clap your hands?

gritty zinc
#

holding a bun without touching it? impressive.

edgy crest
#

wait no

#

he did a magic trick

#

he held the bunny

#

and vanished

winter terrace
#

i'll do it better

edgy crest
winter terrace
#

wait no

#

πŸ–¨οΈ

#

yeah

gritty zinc
#

how to get investigated by the FBI

edgy crest
winter terrace
#

uh

edgy crest
#

hm i really wanna do some simulation projects

#

totally out of ideas

winter terrace
#

you saw nothing

gritty zinc
#

well