#voice-chat-text-0

1 messages · Page 407 of 1

vocal basin
#

maximum path lengths per node

#

it's enough to topologically sort the graph

#

and then you get all values trivially

#

you don't need to enumerate all paths

#

a very popular approach is to never sort them, but just store them sorted already

#

when you construct a node, calculate its path length as 1 + maximum of children path lengths

#
class Node:
    def __init__(self, *children):
        self.height = 1 + max((child.height for child in children), default=0)
#

for owning structures I prefer height because it has a clearest real definition

#

yes

#

and None or an exception for the case with no nodes

#

height: Option<NonZero<usize>> in Rust's case

woeful kettle
#


def get_user_input(str):
    str_o = input(str)
    try:
        str_o = int(str_o)
        if str_o > 4:
            print("Please input a valid response!")
            get_user_input(str)
        else:
            return str_o
    except ValueError:
        print("Please input a valid response!")
        get_user_input(str)

def create_task():
    pass

def base():
    print("""Welcome to the ToDoList Manager! You can manage and display all of the current tasks assigned to you for the up coming days.
Please input what you are currently looking to do with the active list of tasks assigned!          
          '1' for marking a task complete.
          '2' for editting a task in progress.
          '3' for creating a new task.
          '4' for displaying all tasks currently assigned.
          """)
    print(get_user_input("Please select from above options: "))

if __name__ == "__main__":
    base()```
#

getting a none value on my return call

#

trying to ficure out why, this happens after a invalid input is received only. test, and yeah only then

vocal basin
#

missing return

woeful kettle
#

return is present

vocal basin
#

last line

#

of the function

woeful kettle
#

ahh

vocal basin
#

also Python doesn't have tail call optimisation, so given a persistent enough user it will fail with RecursionError

woeful kettle
#

how can I go about solving this while still keeping the loop?

vocal basin
#

by calling the function with the original arguments, you're doing the equivalent of while True:

tacit crane
#

before this print("""Welcome to the ToDoList Manag

#

add while True

vocal basin
#

another note: to avoid conflict with built-in str, variable names are usually named str_

vocal basin
#

but

#

there will be a need to do a while-True in that place too later

wary pivot
#

Yo can someone help me?

vocal basin
#

what's the issue?

wary pivot
#

I can’t speak wait lemme write the problem

tacit crane
wary pivot
#

So I’m using an raspberry pi my project is an „Car counter“ with python3. I’ve got an camera on the hardware and it doesn’t work

#

Gives me some warnings

#

I can send it

tacit crane
#

ok

vocal basin
#

what are the warnings?
(preferably in text form)

wary pivot
#

It have to be done tomorrow

#

If I try the camera with libcamera-hello it’s working

vocal basin
#

first thought I have is that (root) there might be referring to needing to run it with sudo

#

but not sure

#

but that's just for the runtime check failed thing

vocal basin
#

or does it fail?

#

@upper basin are you mutating nodes after the whole structure is constructed?

wary pivot
#

I regenerate the code for like 5times with ChatGPT bcs i don’t know the problem

#

It’s just the blackscreen

upper basin
#

It would only grow.

vocal basin
#

how are you referring to the node when you do that?

upper basin
#
if not isinstance(next, DAGNode):
            raise TypeError("The next node must be an instance of DAGNode.")

        if not self.children:
            self.children = {self.name: next}

        else:
            children = self.children[self.name].children

            while children:
                if self.name not in children:
                    break

                children = children[self.name].children

            children[self.name] = next
vocal basin
#

where do you get the node object from?
by its path? or do you store it somewhere else (e.g. dict)?

somber heath
#

@wary pivot 👋

vocal basin
#

does a node ever stop getting mutated?

wary pivot
#

@somber heath yes?

upper basin
#

If you remember circuit log, that would be the perfect example.

#

You give the circuit log, and then construct the DAG from it.

vocal basin
#

are q0 and q1 hard-coded variables?

#

if no, what are they?

#

are they stored in a collection and referred to somehow?

upper basin
upper basin
vocal basin
#

that's not hard-coded, that's data, from the parser's point of view

vocal basin
upper basin
#

Yes. Like so

dag = DAGCircuit(2)
dag.qubits["Q0"]
vocal basin
#

after you've completed the circuit?

upper basin
#
class DAGCircuit:
    def __init__(
            self,
            num_qubits: int
        ) -> None:
        self.num_qubits = num_qubits
        self.qubits = {f"Q{i}": DAGNode(f"Q{i}") for i in range(num_qubits)}
upper basin
#

I mean you can always expand the circuit.

#

But you can think of the circuit in the meantime until/unless you expand it as the completed circuit.

#

I use the path length to calculate the circuit depth.

vocal basin
#

knowing a node, can you enumerate all its parents?

upper basin
#

So, I use path length first to calculate max depth of each node (that being Q0 and Q1 for instance) and then find which one has a higher depth.

upper basin
#

I could technically do it by starting from Q0 or Q1 and moving downwards until I reach it, and then record that.

rugged root
#

Wheeee work phones are being weird

rugged root
#

NOTE: Any grumpiness that Mr. Hemlock displays is simply part of the process. He genuinely actually enjoys this. Genuinely

vocal basin
somber heath
#

@glacial venture 👋

vocal basin
#

arbitrarily attached?

upper basin
#

So only at the bottom.

#

We go down as we add.

vocal basin
#

then invert the hierarchy

upper basin
#

Like so.

somber heath
#

@thorny hazel 👋

upper basin
#

Here the calls are

X(0)
CX(0, 1)
H(0)
vocal basin
#

flip the arrows, only add parents to existing nodes, not the other way

upper basin
#

What would be the difference between going down and up though?

vocal basin
#

when a value A is derived from values B and C, A is the parent

somber heath
#

@dusk glacier 👋

vocal basin
#

this makes almost everything way more trivial

#

you get rid of mutability

#

all of it

#

nodes no longer need to be changed in any way

#

no, never store it the way you currently do

#

you got children and parents the wrong way round

vocal basin
vocal basin
#

this exact code

#

no

#

you did not, I haven't seen it

#

just as I said, you did not do it

#

where are you assigning the value as a field

#

and it's not __init__

#

it must be O(1)

somber heath
#

@mighty lance 👋

vocal basin
#

or rather O(number of children)

mighty lance
vocal basin
#

which is O(1) for most structures

somber heath
#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

mighty lance
#

ew jeez man

#

python server is kinda dumb

#

i'm leavin

woeful kettle
#

tik tok attention span strikes again

somber heath
woeful kettle
#

they already left the server

amber raptor
somber heath
#

@quick cedar 👋

quick cedar
#

@somber heath hii

vocal basin
#

@upper basin each node has a list of nodes it depends on

#

you can build it progressively

#

there is no "update"

#

only "create new and replace"

#

partially new

#

sharing most nodes with existing one

vocal basin
#

for one phrase

#

there is absolutely no further context

vocal basin
vocal basin
somber heath
#

@mellow moat 👋

upper basin
#

But I don't understand what is meant by tops and bottoms being mixed up though.

#

Because the way I understood it was that we start with an empty circuit (aka only Q0 and Q1 nodes) and then gradually add gate nodes to them. So, I went from top to buttom.

vocal basin
upper basin
#

So latest gate would be bottom, and the qubits themselves would be top.

#

To see if I understand it correctly:

  • Build the DAG whenever you feel the circuit is complete (reason being that we would build it from bottom to top where qubits are at the bottom and latest operation is at the top) to avoid mutability for the nodes.
  • When the circuit is updated, set the old node as the child of the new node (to reuse the old DAG and expand without mutability).
  • Calculate the depth of a node with each creation in __init__ where qubit nodes have no children so they have depth of 0.
upper basin
#

Thank you very much for the help thus far.

vocal basin
#

@primal shadow "fair trade"

rugged root
#

@vocal basin @peak depot @upper basin Just sent you three a free Nitro trial. They were just sitting in my inventory

vocal basin
#

should I think this looks suspicious pithink

peak depot
#

Thank you Hemmy!!

rugged root
vocal basin
#

idk, coffee seems out of place

vocal basin
#

I cannot start a trial for two reasons I think

primal shadow
#

you said boobie

vocal basin
#

not sure if trial can be repeated

#

after 5 years in my case

#

idk when it stops being counted

#

geolocation issue is there even when using Tor

rugged root
#

I figured it would be

#

Sorry bud

vocal basin
#

"I'll wait for the person who gifted it twice before to wake up again"
seemingly those aren't fully georestricted

rugged root
#

That's surprising

vocal basin
#

at least weren't last summer

rugged root
#

Maybe they're tightening it up further because of the current US regime

vocal basin
#

I think it's just a billing/card thing

#

gifts are paid for by someone else and not renewed by default

#

roughly ground
approximately ground

rugged root
#

Co-worker back here again

#

Mutelock is back in action

vocal basin
#

"ah, not geographically migrating the servers"

#

the route for a Trump joke has been cut off

rugged root
#

Much like our connections with our allies

#

@gentle flint Listen to the person who worked in healthcare for 15 years

#

What will you do if the tests come back negative?
@gentle flint Tolerate you gloating for a while, usually

#

Math, not even once

vocal basin
rugged root
#

I mean, he seems easy to carry

vocal basin
#

whoa
it compiles

trait OwOers {
    fn owo(&self) -> impl '_ + Send + Future<Output = ()>
    where
        Self: Sized;
    fn owo_dyn(&self) -> Pin<Box<dyn '_ + Send + Future<Output = ()>>>;
}

impl dyn OwOers {
    fn owo(&self) -> impl '_ + Send + Future<Output = ()> {
        self.owo_dyn()
    }
}
#

I'm getting dangerous ideas

#

of proc-macro sort

woeful kettle
#

LOL

vocal basin
woeful kettle
#

actually need to head out, good day yall

vocal basin
#

@peak depot "nowadays, it's already staying for a few days before being delivered"

short owl
#

Peking duck creation is a real art form - crispy skin hard to do proper , duck has lots of oil

#

ooooh you got turned off Peking Duck

#

I have 9 or 10 woks now , cast iron the best

chilly wolf
gentle flint
normal geyser
short owl
#

1 pound / 454 gram blocks for butter

normal geyser
#

brb

short owl
#

freezer ? @gentle flint

#

you have to shred it then can freeze for cheese

rugged root
#

Nah

#

Cheese hammer

short owl
#

need a Itchy and scratchy cartoon of - cheese gettin wumped

wind raptor
#

I'm a big fan of this

short owl
#

white wine mustard

#

scribble , scribble , scribble ........ cool roms

gentle flint
primal shadow
rugged root
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

primal shadow
#

!rule 5

wise cargoBOT
#

5. Do not provide or request help on projects that may violate terms of service, or that may be deemed inappropriate, malicious, or illegal.

primal shadow
#

See how it says MAY

#

The rule is grey and errs on the side of caution

#

on purpose

#

because discord dropping the ban hammer on the server is significantly worse than your interrupted "right" to share piracy resources

peak depot
primal shadow
peak depot
#

Claws are messy

#

Yeah but shredding with that thing is less messy

gentle flint
peak depot
#

Now I'm hungry..

wind raptor
gentle flint
#

what's a bread bowl?

flat hornet
#

hello

wind raptor
flat hornet
#

why are we talking about bread

wind raptor
#

Why not

flat hornet
#

why not

wind raptor
#

It's an off topic channel and it beats politics and religion

flat hornet
#

indeed

primal shadow
flat hornet
#

i wonder if admins or directors enter calls every so often or do they never enter

#

hello

gentle flint
#

aral sea

flat hornet
#

one letter away from something completely different

gentle flint
flat hornet
primal shadow
short owl
#

cheese walk

flat hornet
#

i heard a crunch

#

how do you function while asleep

rugged root
#

Treasury what?

peak depot
#

@chilly wolf link?

chilly wolf
rugged root
#

Oh, thought you said Hat

tepid mantle
flat hornet
vocal basin
#

@peak depot speaking of somewhat small payments,
before 2020 in Russia the employer-provided financial thing per employee's child was... $0.50

#

monthly

rugged root
#

@primal shadow Also depends on where you live

vocal basin
#

so far my answer to that 3x(my current salary) offer from recently is no, because still sounds like a scam

rugged root
#

@amber raptor "We need a doctor! You, get to work!" "I have a PhD in English" "Doesn't matter, you're a doctor, fix this broken leg"

primal shadow
#

THat'll be $240k, the doctor was out of networkj

#

Insurance doesn't cover English doctors

flat hornet
#

whats the chance that someone breaks a bone in their lifetime

primal shadow
#

IDK< worst I had was a hairline fracture

#

that the doctor didn't notice on the initial review, they called me when someone else was looking at it to let me know

rugged root
#

@gentle flint It just is a chocolate bar

gentle flint
#

why the fuck would you give a dog chocolate

#

that's an extremely stupid idea

rugged root
#

Because people are, say it with me, stupid

gentle flint
#

aaaaa

vocal basin
rugged root
#

Expensive

#

Nothing is free

#

Everything costs

flat hornet
#

doggo discovered salami

rugged root
#

Just imagining a dog standing on its hind legs and its front legs above its head while the salami rotates above its head like in Zelda

flat hornet
#

salami acquired

#

i think math is necessary

#

i dont hate it though

rugged root
#

Donald Trunk

tepid mantle
#

$1+1$

rugged root
#

@amber raptor It has a latex to image converter

#

.help latex

viscid lagoonBOT
#
Command Help

**```
.latex <query>

*Renders the text in latex and sends the image.*
amber raptor
rugged root
#

Bot built by community, actually

amber raptor
rugged root
#

A communittyee

tepid mantle
#

.latex \frac{d^2y}{dx^2} = (\frac{dy}{dx})^2

viscid lagoonBOT
tepid mantle
#

welp

#

such a useful bot

rugged root
#

"LEAVE LANCEBOT ALONE"

tepid mantle
#

XD

vocal basin
#

.latex $\frac{d^2y}{dx^2} = \left(\frac{dy}{dx}\right)^2$

viscid lagoonBOT
flat hornet
#

its 3 pm

tepid mantle
#

also I just realised how false that statement was

rugged root
#

@peak depot I'm only half paying attention right now

#

Sorry

peak depot
#

I just sais that you are also east coast

rugged root
#

@peak depot There is always music going on in my head

rugged root
vocal basin
rugged root
#

Potentially cursed idea: using Python 3.13's free-threading option to split the chore of handling the requests while allowing another thread to handle things like A* for my API wrapper thing

vocal basin
rugged root
#

@tepid mantle Then there's the one time that you don't do it fast enough and the vomit is everywhere

rugged root
#

Trying my best to not be discouraged from coding anything

tepid mantle
rugged root
#

@wise loom Sup

tepid mantle
#

what, why, what, huh???

#

you, you cant do that to me

wise loom
#

@rugged root hi

tepid mantle
#

y'' is not equal to (y')^2

#

T-T

rugged root
#

@peak depot Of course

flat hornet
#

what is the double something something differentiation or something

#

what is it called

timid iris
#

which branch of math is this?

flat hornet
#

is this algebra

timid iris
#

seems like it

flat hornet
#

or the fundation for something else?

#

foundation

timid iris
#

looks like a method of getting roots of a quadratic

#

usually the logic is pretty straightforward

flat hornet
#

thats crazy

timid iris
#

check the discriminant, check for factoring, else just use quadratic formula

flat hornet
#

being able to use chatgpt for a test

timid iris
vocal basin
timid iris
flat hornet
#

i think it better to input the graph

vocal basin
timid iris
#

ic

flat hornet
#

and get the value from a TI calculator than lettin chatgpt solve it

#

though it could probably do it no problem i hop

timid iris
#

i wouldnt feel well using gbt on everything

#

i feel like if the desire is to build good software you you need things rooted in your brain

flat hornet
#

true

#

well i gotta go guys

timid iris
#

laters

flat hornet
#

bye

vocal basin
#

funny guesses did not lead to success

#

@primal shadow what was the context about live-reload?
web? or native?

#

speaking of neovim and android,
termux+neovim is great

wise loom
#

Discord finally has a native client (of course, made by volunteers because Discord only offers their 2GB memory slow Electron bs instead).
Voice calls don't yet work but they're on the roadmap.
https://github.com/DiscordMessenger/dm

tepid mantle
tepid mantle
vocal basin
#

no, it's just not on google play

tepid mantle
tepid mantle
vocal basin
#

I only use neovim instead of vim because of less cursed colours

#

and I only use vim on a phone because there is no better option

tepid mantle
vocal basin
#

it was even farther ahead of each other option before termux changed their UI

#

left/right arrows weren't there earlier

tepid mantle
#

yiiiikes

vocal basin
#

so vim was the only one providing proper navigation through text

tepid mantle
#

are you a tokyo night kinda person?

tall ridge
#

I recently discovered Helix-editor and it seems nice

vocal basin
tepid mantle
#

If I wasn't bored I would probably switch to helix

rugged root
vocal basin
#

I shall interrogate inquire on what editor purplesyringa uses

rugged root
#

That's intentional

vocal basin
tepid mantle
#

XD

tall ridge
tepid mantle
#

how hard do you think it would be to make nvim look and function like base obsidian?

rugged root
#

@haughty pier Why do birds suddenly appear every time you are near?

tepid mantle
rugged root
#

That tracks

gentle flint
#

it's abirdheid

primal shadow
rugged root
#

Delicious

tepid mantle
#

gotta dip

#

cya guys

rugged root
#

@woeful kettle 4th in their divison of only 2 teams

woeful kettle
#

LOL

peak depot
#

During summertime in Lapland, we have this bird (annyoing when u try to sleep)

tall ridge
peak depot
vocal basin
peak depot
#

Northern lapwing

rugged root
#

@haughty pier Don't make me jealous

vocal basin
#

"yes, I do math often, I write Haskell.
oh, wait, I spelt that wrong"

rugged root
#

HA

haughty pier
#

just don't spell it Hascal

woeful kettle
peak depot
stuck furnace
#

👋

dark dove
#

hey

woeful kettle
dark dove
#

This voice limitation is so annoying

#

obviously is python. we do not share anything else :/

stuck furnace
#

There's something very solid about widget-based GUIs 😄

dark dove
#

AI field has more math than coding.

#

actually crazy math ( Chinese math )

round stratus
#
//! Minimal Objective-C runtime wrapper for setting up a Metal layer on macOS windows.
//! Required to bridge GLFW's Cocoa window to a Metal-compatible WebGPU surface on macOS.

const objc = @cImport({
    @cInclude("objc/message.h");
    @cInclude("objc/runtime.h");
});
const std = @import("std");
const builtin = std.builtin;

fn objc_getClass(name: [*:0]const u8) ?*anyopaque {
    return objc.objc_getClass(name);
}

fn sel_registerName(name: [*:0]const u8) ?*anyopaque {
    return objc.sel_registerName(name);
}

// Dynamic message sending for Objective-C runtime
fn msgSend(obj: ?*anyopaque, selector: ?*anyopaque, args: anytype) ?*anyopaque {
    const Fn = createMsgSendType(?*anyopaque, @TypeOf(obj), @TypeOf(args));
    const func: *const Fn = @ptrCast(&objc.objc_msgSend);
    return @call(.auto, func, .{ obj, selector } ++ args);
}
#
// Creates a type-safe function signature for msgSend
fn createMsgSendType(
    comptime ReturnType: type,
    comptime TargetType: type,
    comptime ArgsType: type,
) type {
    const argsInfo = @typeInfo(ArgsType).@"struct";
    const params = params: {
        var arr: [argsInfo.fields.len + 2]builtin.Type.Fn.Param = undefined;
        arr[0] = .{ .type = TargetType, .is_generic = false, .is_noalias = false };
        arr[1] = .{ .type = ?*anyopaque, .is_generic = false, .is_noalias = false };

        for (argsInfo.fields, 0..) |field, i| {
            arr[i + 2] = .{ .type = field.type, .is_generic = false, .is_noalias = false };
        }
        break :params &arr;
    };

    return @Type(.{
        .@"fn" = .{
            .calling_convention = .C,
            .is_generic = false,
            .is_var_args = false,
            .return_type = ReturnType,
            .params = params,
        },
    });
}

pub fn getMetalLayer(window: ?*anyopaque) ?*anyopaque {
    const content_view = msgSend(window, sel_registerName("contentView"), .{});
    _ = msgSend(content_view, sel_registerName("setWantsLayer:"), .{@as(c_int, 1)}); // 1 = YES

    const metal_layer_class = objc_getClass("CAMetalLayer");
    const metal_layer = msgSend(metal_layer_class, sel_registerName("layer"), .{});
    _ = msgSend(content_view, sel_registerName("setLayer:"), .{metal_layer});

    return metal_layer;
}
wind raptor
#

Gotta head out. Cheers all!

woeful kettle
dark dove
#

@round stratus , do you use AI often? If so, what do you think about DeepSeek?

#

Actually I was about to run it locally but I changed my mind due to security problems that have been reported.

haughty pier
#

Ask it about Winnie the Pooh and report back

dark dove
#

data leaking

dusk glacier
#

@somber heath hi

dark dove
#

Yeah, but the thing is that the size of the model is massively high: 4GB.

#

I'm not sure if it's even worth it or not.

#

Did you see that video where some guys have bound seven M4 MacBooks to each
other to get the best response from the R1 model?

rugged root
#

@round stratus IT

unique wyvern
gentle flint
#
Totally Turkish

This item is available in our store. Buy the best selling trendy Turkish products online from our store at exclusive prices. Our collections include candles, hammam towels, coaster sets, throws, tray gift sets, pocket makeup mirrors, and more. Our store products are the best in quality and price. Click here for more.

Totally Turkish

A Set of 6 Cream Drink Coasters we call the Cappadocia Set. These cute coasters come in a little box which makes this an ideal housewarming gift. Vibrant & Colourful coasters will brighten up any house. Protect your surface from stains with these functional coasters. Only £9.65 FREE UK DELIVERY | SHIPPED WORLDWIDE

peak depot
gentle flint
#
Totally Turkish

A Set of 6 Orange, Yellow, Blue Drink Coasters we call the Anatolia Set. These cute coasters come in a little box which makes this an ideal housewarming gift. Vibrant & Colourful coasters will brighten up any house. Protect your surface from stains with these functional coasters. Only £9.65 FREE UK DELIVERY | SHIPPED WORLDWIDE

spare galleon
#

hello

#

whoever said my name

#

coding

#

in notepad today

#

and you?

#

btw @chilly wolf there do be a mod in here why you lie to me?

primal shadow
#

I'm American, I drink both coffee and tea...

spare galleon
#

im from the east but different continent

#

yuh

#

i do that

#

mine is 27 1440p at 144 hz

#

altho, ngl my main method of gaming or doing stuff is in vr, so whatever the maths is for that

#

it supposed to have better viewing angles, also it depends what you use it for

#

i play echo vr, the greatest game of all time

primal shadow
spare galleon
#

Visit https://ocul.us/echo-combat to learn more about Echo Combat, Ready At Dawn’s zero-g, co-op PVP shooter—demoed by Ninja in the 2018 Gamers’ Choice Awards!

Battle in zero-g like never before, with lasers, shields, detonators, and more. Team up with friends and soar into multiplayer mayhem with two explosive modes: Payload or Capture Point.
...

▶ Play video

Visit https://ocul.us/echo-combat to learn more about Echo Combat, Ready At Dawn’s zero-g, co-op PVP shooter—demoed by Ninja in the 2018 Gamers’ Choice Awards!

Battle in zero-g like never before, with lasers, shields, detonators, and more. Team up with friends and soar into multiplayer mayhem with two explosive modes: Payload or Capture Point.
...

▶ Play video
#

and to lazy to screen shot

#

i also play these games
i have like 70 more vr games, just not on steam

#

these are are banger of games

#

adhd are supposed to get calmer from coffee i think?

#
Benefits 

    Caffeine can improve attention and cognitive deficits
    Caffeine can increase alertness and energy 

Side effects

    Sleep issues: Caffeine can make it harder to sleep, which can worsen ADHD symptoms 

Anxiety: Caffeine can increase anxiety, which can make it harder to manage ADHD symptoms 
Jitteriness: Caffeine can cause jitteriness, which can worsen ADHD symptoms 
Impulsivity: Caffeine can increase impulsivity, which can make it harder to manage ADHD symptoms 
Tolerance: Caffeine is highly addictive, so people may need more caffeine to get the same effect 

Other considerations

    Combining caffeine with ADHD medication can cause dangerous jitteriness or impulsivity 

People with certain health conditions, such as high blood pressure, kidney disease, or heart disease, may be advised to avoid caffeine 
#

bye

#

👋

radiant iron
#

👋

spare galleon
#

more notepad coding

#

lol

#

i use notepad

#

lol

#

just notepad

#

yes

#

mine is nvim

#

you can use like processing, lol idk

#

@chilly wolf lol i have lotsa storage, lol

primal shadow
#

The first $2 notes (called United States Notes or "Legal Tenders") were issued by the federal government in 1862 and featured a portrait of the first Secretary of the Treasury, Alexander Hamilton (1789-1795). The first use of Thomas Jefferson's portrait on $2 notes was on Series 1869 United States Notes.  The same portrait has been used for al...

spare galleon
#

my challange for today was using notepad lol, its very painful, cause like typos, and other stuff, lol

#

nah we using notepad

#

powershell is so much better

#

i also use git-bash when i need a unix type env, however powershell is much better then cmd

#

@unique wyvern heyyyy, i use nvm as my daily text editor

#

you okay ri?

chilly wolf
woeful kettle
chilly wolf
spare galleon
primal shadow
rugged root
#

@placid jackal this

placid jackal
hasty orbit
#

@main comet is there any chance i could send you a wav file and you process it with your up-sampling script since you already have it set up? i'd do it on my end but i'd rather not have to go through the whole setup process and stuff. and since i only need to do this once

placid jackal
rugged root
primal shadow
#

animal abuse

#

someone call the mods

rugged root
#

You're going to wake up with him looming over you

placid jackal
woeful kettle
primal shadow
primal shadow
rugged root
#

Wait

rugged root
#

I genuinely don't even remember what I was saying wait to

spare galleon
vocal basin
#

considering the time, probably shouldn't stay up for much longer

#

two more chapters to read
or 5
or 8

#

"Erio and the Electric Doll"

#

somewhat chaotic

#

something something AI apocalypse nearly avoided, now everything is steampunk

vocal basin
spare galleon
#

give me a sec to fix my mic

#

testing appending date - 2025-02-06

#
    date_to_string = str(day)```
#

the day was cold, and the man shivered, his jacket, buffeted in the wind making loud claps as the fabrics fighted the gusts. he continued to walk down the valley, pulling his hat over his face, to cover his identity

#

After 5 years of development, contributions from hundreds of developers, the critically acclaimed open source programming hacking sim is available on Steam.Inspired by games like Else Heart.break(), Hacknet, Uplink, and Deus Ex, Bitburner is a programming-based idle incremental RPG where you, the player, take the role of an unknown hacker in a d...

▶ Play video
vocal basin
#

the last chapter in the volume is not translated

spare galleon
#

hello alisa

vocal basin
flint plover
#

hello i have a problem with my code (idk if its the code) but i am trying to make the python code into a exe file but after succesfully downloading the exe file when i open the app it shows me this errorTraceback (most recent call last):
File "PWS202502.py", line 44, in <module>
File "PWS202502.py", line 40, in initialize_model
File "deepface\DeepFace.py", line 67, in build_model
File "deepface\modules\modeling.py", line 96, in build_model
File "deepface\models\facial_recognition\VGGFace.py", line 45, in init
File "deepface\models\facial_recognition\VGGFace.py", line 158, in load_model
File "keras\src\ops\operation.py", line 254, in input
File "keras\src\ops\operation.py", line 285, in _get_node_attribute_at_index
ValueError: The layer sequential has never been called and thus has no defined input. why i am geetting this error and what im a missing what i did in the command prompt. ( btw it works perfectly when i run it in my visual studio )

flint plover
#

because i want it to be a app

spare galleon
spare galleon
vocal basin
#

single exe or a proper app?

#

python is not designed to run from a single exe

flat hornet
#

he used pyinstaller but he got some error called

vocal basin
#

you're likely missing hidden imports

flat hornet
#

the sequential layer couldnt be fount or something like that

#

also hello

vocal basin
#

trace the imports with and without conversion

flint plover
vocal basin
#

without conversion: step through the import process with a debugger
with conversion: pyinstaller logs all modules it includes

if anything is imported/loaded by code but never appears in the logs, then there's a problem

flat hornet
#

is that the thing the pyinstaller shows in cmd while converting the code to .exe?

vocal basin
#

@spare galleon nvim has LSP support, e.g. pyright

#

@calm smelt gradle or whatever build server by default binds to 0.0.0.0

#

which is a security vulnerability

#

remote cloud LSP is some cursed level of BS

#

@calm smelt @spare galleon GitHub/GitLab are stuck with it for a while

#

Rails specifically

flint plover
spare galleon
#

lol

#

and ROR is super cool

vocal basin
#

Rails used to have some cursed performance issues, now fixed apparently

#

Twitter experienced those

wind raptor
#

Cya @spare galleon

spare galleon
wind raptor
#

You too!

spare galleon
vocal basin
hot crow
#

hi

wind raptor
upper basin
upper basin
#

Ah I see.

upper basin
#

It went from 6.1 seconds to 6e-5 which is almost instantaneous.

somber heath
#

What we need is nocapitalism.

tacit crane
somber heath
#

DSLRs often have the capacity to take raw.

#

As in ability.

primal shadow
somber heath
#

Do P.E. It's about staying healthy.

hasty orbit
#

@wind raptor

tacit crane
vocal basin
#

"manually moving the B-Trees around"

vocal basin
#

Electron it

vocal basin
#

we were taught PySide at school

#

@dry jasper you'll need to compile pyinstaller on your own rather than installing it from prebuilt wheels when you get to packaging

#

VBA it

#

@wind raptor also kotlin multiplatform or whatever it's called

primal shadow
tacit crane
primal shadow
vocal basin
#

quick scan through docs did not help

wind raptor
#

just use https://ponyorm.org 's online db diagram maker. It's my goto and also provides the code for a bunch of different db types.

somber heath
#

Different implementations of the same sort of concept?

#

hai hi

#

You're sounding less dead.

#

It would also depend on who the parties elect internally, yeah?

peak depot
#

I think I'm on the mend

somber heath
#

🎶 I don't want to set the world on fire. I just want to start a flame in your heart. ❤️‍🔥

peak depot
somber heath
#

Accident or intentional joke? WHO KNOWS?

#

Could be either.

upper basin
#

@vocal basin Can I show you my fix?

#

It's super fast now.

peak depot
somber heath
#

Haa.

vocal basin
upper basin
vocal basin
#

even when expanding the circuit?

upper basin
#

Yes.

#

Actually wait.

vocal basin
#

if you're still mutating leaves, you need to invalidate the whole structure's cached values

upper basin
#

Lemme show you. I think I have to fix that too.

vocal basin
#

store an epoch index alongside each value

#

increment its global value each time you add any child node

upper basin
#

First lemme show you for the case where we make the DAG and then call get depth on it.

vocal basin
#

@primal shadow it's a question of immutable memoization vs mutable one

#

i.e. whether or not it needs to be revalidated

#

I'm still strongly convinced the hierarchy is invalid

#

inverting all arrows does not change the longest path

vocal basin
#

each node you add takes some previous nodes in its constructor

#

it's symmetric

#

(longest path length)

#

there is no direction

upper basin
vocal basin
#

would be first try if not for missing the !e

#

should probably add "name" key for ease of reading

#

!e

from pprint import pprint

nodes = {}

def add_node(name, *children_names):
    children = [nodes[child_name] for child_name in children_names]
    nodes[name] = {
        "name": name,
        "height": 1 + max((child["height"] for child in children), default=0),
        "children": children,
    }

add_node("A")
add_node("B", "A")
add_node("C", "A", "B")
add_node("D", "B", "C")
pprint(nodes["D"])
wise cargoBOT
# vocal basin !e ```py from pprint import pprint nodes = {} def add_node(name, *children_nam...

:white_check_mark: Your 3.12 eval job has completed with return code 0.

001 | {'children': [{'children': [{'children': [], 'height': 1, 'name': 'A'}],
002 |                'height': 2,
003 |                'name': 'B'},
004 |               {'children': [{'children': [], 'height': 1, 'name': 'A'},
005 |                             {'children': [{'children': [],
006 |                                            'height': 1,
007 |                                            'name': 'A'}],
008 |                              'height': 2,
009 |                              'name': 'B'}],
010 |                'height': 3,
... (truncated - too many lines)

Full output: https://paste.pythondiscord.com/KMXH5JWDRQWD7WMQXSD3XWIFLM

vocal basin
#

@upper basin it's height not path length

#

@upper basin default before add

somber heath
#

All things being equal, the simplest explanation tends to be the correct one.

vocal basin
#

@primal shadow @woeful kettle it's about the least number of assumptions

#

nothing about simplicity
ed.: saying it's about simplicity is somewhat dangerous

vocal basin
#

simplest basis that the explanation is derived from, not the simplest explanation

#

wait what I zoned out did I just hear Oracle

#

why are we doing Oracle anything

#

even Oracle hates OracleDB despite Oracle being a lawnmover incapable of emotion including hate

#

"leadership"

#

lawnmovership

upper basin
#

lawnmower?

vocal basin
#

I don't know how to spell it

upper basin
#

lawnmower.

vocal basin
#

as in I know I spell it wrongly

upper basin
#

Mowing the lawn.

#

God, could we get a dictionary bot please?

#

That'd be so useful.

#

like !dic mow like that.

vocal basin
#

we don't have these machines here

upper basin
#

You don't have grass?

vocal basin
#

the thing we use isn't what US people use to cut it

upper basin
#

Most use weed wackers. US and UK have different type of home infrastructure I guess.

#

Like this one.

vocal basin
#

yeah, the Oracle metaphore one refers to the other

upper basin
#

It's actually better than a lawnmower. You don't have to push it, and it's less prone to getting clogged with a pebble.

vocal basin
#

it doesn't look enough like a car so US won't use it

#

make it look more like a gun maybe then it'll get adopted

upper basin
#

It is a weapon.

#

It's definitely a weapon.

vocal basin
still tide
#

Howdy

upper basin
#

Hate my UI hehe. Makes things so hard.

# X(0)
# CX(0, 1)
# H(0)
add_node("Q0")
add_node("Q1")

add_node("X", "Q0")
add_node("CX", "X", "Q1")
add_node("H", "CX")

It needs to do X(0), CX(0, 1), H(0) and the code needs to check if 0 and 1 have children or not and add it to the latest child.

vocal basin
#

@rugged root that's their whole point

still tide
#

is emp is real ??

vocal basin
#

enterprise multiprocessing

rugged root
#

@lethal shell Yo

still tide
#

have anybody tried new arma game ??

rugged root
#

I just couldn't get into them

#

Just never clicked with me

still tide
#

oh

#

will it run in 1650 ??

#

ok i will try when it will be available on xbox game pass

vocal basin
#

or a newer one?

#

it's been more years since Arma 3 than between 2 and 3

still tide
vocal basin
#

I've spent 293 hours in it doing nothing meaningful

still tide
#

game look so realistic

vocal basin
#

(arma 3)

still tide
vocal basin
#

still haven't completed that aliens DLC

#

the one with Poland

#

@rugged root or did not finish

#

I was reading a thing about A.I.

#

I have a difficult choice to continue reading that:
translate from French or translate from Japanese

rugged root
#

I like doing the telephone game with google translate

#

Going through multiple languages to see what I end up with when I get back to English

somber heath
#

It sets me off.

vocal basin
#

let's hope it doesn't set off whatever that bomb that timer making those sounds clearly is installed on

somber heath
#

Scarelock.

vocal basin
somber heath
#

haaa

#

Yes.

vocal basin
#

Fedora?

somber heath
#

I wasn't going to say it.

placid jackal
vocal basin
#

oh, look, I totally did guess that from all possible options
all possible options being 1 because dnf

still tide
#

any good mechanical keyboard under like 60 to 70 usd

rugged root
#

Define good

#

And what kind of switches are you looking for? Linear, tactile, clicky?

vocal basin
#

Y combinator
ah, yes, the S(K(SII))(S(S(KS)K)(K(SII))) combinator

still tide
#

tactile like and bold sound

rugged root
vocal basin
still tide
#

combination of brown and red switch

#

i need for my typing practice what will be better for it ??

tacit crane
rugged root
vocal basin
#

> goes to NPC
> looks above their head
> ~

rugged root
#

So browns in your case. Although I find that the browns don't feel bumpy enough

#

It's too subtle

still tide
#

ok so any good recommendations??

vocal basin
#

@placid jackal lawyers are licence-auditing each bit

#

time to go to the DB person

tacit crane
whole bear
#

Why does he have so many active tabs?

rugged root
whole bear
#

Why?

tacit crane
whole bear
#

He could make desktop 1 desktop 2 different desktop for different purpose

#

I avoid using chrome on the same desktop as Vscode.
Because my buttery smooth brain can't handle too many things in one view

still tide
#

mine dont even work with out charging

placid jackal
rugged root
#

Love it

placid jackal
#

Truly glorious

#

That will end up in my thesis...

whole bear
#

Hollywood is beyond law, as law is dynamic and influential people use both money and influence to breach law and escape at any cost.

Best example, Capitol Riot (Trump Supporter and Trump)

primal shadow
still tide
#

bye

rugged root
rugged root
#

There there's the Catholic church... I mean it's everywhere

#

If there was a all-knowing, all-loving, all-powerful god he wouldn't have allowed this to happen

#

Yet here we are

whole bear
#

Yes

rugged root
#

Hmm?

whole bear
#

Easier to fool religious people in the name of God!

rugged root
#

My co-worker is back here and I don't know when he'll be done, so it may be a while

whole bear
#

I see 👀

#

Ice 🧊

upper basin
#

be back later

rugged root
#

Burning down what?

#

Ah right right

#

Well thankfully, we do not require any water

primal shadow
rugged root
#

And can therefore let said mother fucker burn

#

Yeah that song is great

#

Classic

#

Pretty lit

#

I know Python has a deque but I feel like I remember seeing a regular queue...

#

!stream 457991756399771651

wise cargoBOT
#

✅ @placid jackal can now stream until <t:1738945961:f>.

rugged root
#

Already done

#

Before they even finished asking

#

@placid jackal Please don't ACTUALLY burn

#

@peak depot Suuuup

rugged root
#

Oh I meant you specifically

#

Fuck the server

#

To each their own

#

I'll suffer along with you with Oracle

#

"The" not "This"

rugged root
#

All good

#

Oh derp yeah

#

Literally just queue

#

!d queue

wise cargoBOT
#

Source code: Lib/queue.py

The queue module implements multi-producer, multi-consumer queues. It is especially useful in threaded programming when information must be exchanged safely between multiple threads. The Queue class in this module implements all the required locking semantics.

The module implements three types of queue, which differ only in the order in which the entries are retrieved. In a FIFO queue, the first tasks added are the first retrieved. In a LIFO queue, the most recently added entry is the first retrieved (operating like a stack). With a priority queue, the entries are kept sorted (using the heapq module) and the lowest valued entry is retrieved first.

rugged root
#

@unreal thicket Yo

#

@primal shadow Sorry dad

#

Making an AsyncRateLimiter class for the SpaceTraders thing

#

Or at least trying to

peak siren
rugged root
#

Oh sweet. This is for niquests in this case

primal shadow
rugged root
#

!d asyncio.Queue

wise cargoBOT
#

class asyncio.Queue(maxsize=0)```
A first in, first out (FIFO) queue.

If *maxsize* is less than or equal to zero, the queue size is infinite. If it is an integer greater than `0`, then `await put()` blocks when the queue reaches *maxsize* until an item is removed by [`get()`](https://docs.python.org/3/library/asyncio-queue.html#asyncio.Queue.get).

Unlike the standard library threading [`queue`](https://docs.python.org/3/library/queue.html#module-queue), the size of the queue is always known and can be returned by calling the [`qsize()`](https://docs.python.org/3/library/asyncio-queue.html#asyncio.Queue.qsize) method...
peak siren
#

!pypi pyrate_limiter

wise cargoBOT
peak siren
#

Started from this

rugged root
#

I'm still bummed that the InMemoryBucket doesn't support async natively

#

I was trying to use that one as well

peak siren
#

What I was doing was combining a caching backend with a rate limiter behind it (since you only want to rate limit cache misses).

#

Httpx has a nice ecosystem, where you'd implement the rate limiting at the transport level, which would sit behind the controller (which implements the caching)(

primal shadow
#

the tale of the beforetimes

woeful kettle
#

Be nice Krzysztof lol

thick blaze
#

I have a fast api code, how can i turn a pc into a server? with full domain and that. When i ask how i mean good documentation haha

primal shadow
#

google-fu is deprecated

dry parrot
#

i have a questions in c++ language

#

who can help me to solve this problem :

#

Write a C++ program that takes a string as input and finds the longest repeated substring within it. A repeated substring is a sequence of characters that appears more than once in the original string.

placid jackal
stuck furnace
placid jackal
#

both in combination ideally

placid jackal
#

And your lecturer is probably the correct person to ask

unreal thicket
#

these 3 are real training data

#

this is wiggy

placid jackal
dark dove
#

@rapid jungle where are you from

rapid jungle
dark dove
dark dove
#

I am getting tired of this voice limitation.

rugged root
#

Conveniently, with that last message, you just hit the criteria

#

You may need to disconnect then reconnect for the perm to kick in

dark dove
#

thank god I'm pleased

rugged root
#

It's a weird discord thing

#

!resources

wise cargoBOT
#
Resources

The Resources page on our website contains a list of hand-selected learning resources that we regularly recommend to both beginners and experts.

rugged root
#

@small hull

#

!d threading.RLock

wise cargoBOT
#

class threading.RLock```
This class implements reentrant lock objects. A reentrant lock must be released by the thread that acquired it. Once a thread has acquired a reentrant lock, the same thread may acquire it again without blocking; the thread must release it once for each time it has acquired it.

Note that `RLock` is actually a factory function which returns an instance of the most efficient version of the concrete RLock class that is supported by the platform.
versed heath
#

@wind raptor i made smh

#

also this

wind raptor
#

I'm here @versed heath

versed heath
#

i made it blur

#

faces

wind raptor
#

There's like 10 ways to center a div

charred rapids
#

Can anyone help me with this code

from turtle import Turtle, Screen
Turtle_Object=Turtle()
Screen_Object=Screen()
# Turtle  Settings
Turtle_Object.color("white")

# Screen Settings
Screen_Object.bgcolor("black")
Paradox=set()
def forward():
    global Paradox
    Paradox.add("Up")
def backward():
    global Paradox
    Paradox.add("Down")
def right():
    global Paradox
    Paradox.add("Right")
def left():
    global Paradox
    Paradox.add("Left")
def forward_discard():
    global Paradox
    Paradox.discard("Up")
def backward_discard():
    global Paradox
    Paradox.discard("Down")
def right_discard():
    global Paradox
    Paradox.discard("Right")
def left_discard():
    global Paradox
    Paradox.discard("Left")

def listener():
    global Paradox
    if "Up" in Paradox:
            Turtle_Object.fd(10)
    if "Down" in Paradox:
            Turtle_Object.backward(10)
    if "Left" in Paradox:
            Turtle_Object.left(10)
    if "Right" in Paradox:
            Turtle_Object.right(10)
    Screen_Object.ontimer(listener,1)



Screen_Object.listen()
Screen_Object.onkey(forward,"Up")
Screen_Object.onkey(backward,"Down")
Screen_Object.onkey(left,"Left")
Screen_Object.onkey(right,"Right")
Screen_Object.onkeyrelease(forward_discard,"Up")
Screen_Object.onkeyrelease(backward_discard,"Down")
Screen_Object.onkeyrelease(left_discard,"Left")
Screen_Object.onkeyrelease(right_discard,"Right")
listener()

Screen_Object.mainloop()

I am trying to make a game enabling simultaneously button pressing like left and up so that it can move left going forward.
Can anyone find issue, its not working

vocal basin
#

which div are we centring

wind raptor
#

!stream 455720889196216331

wise cargoBOT
#

✅ @ebon sandal can now stream until <t:1738957196:f>.

vocal basin
#

@ebon sandal is their position updated in JS?

#

if yes, just limit that there

versed heath
#

@wind raptor

primal shadow
#

!paste

wise cargoBOT
#
Pasting large amounts of code

If your code is too long to fit in a codeblock in Discord, you can paste your code here:
https://paste.pythondiscord.com/

After pasting your code, save it by clicking the Paste! button in the bottom left, or by pressing CTRL + S. After doing that, you will be navigated to the new paste's page. Copy the URL and post it here so others can see it.

primal shadow
#

@ebon sandal

ebon sandal
#

here it is

wise loom
#

so far, I've only separated the CSS/JS/HTML and organized it into a jsfiddle

#

@ebon sandal what's your goal? what is the ask?

ebon sandal
#

you can see the balls are moving to the right and out of screen

wise loom
#

i see balls bouncing

wind raptor
#

!stream 455720889196216331

wise cargoBOT
#

✅ @ebon sandal can now stream until <t:1738958623:f>.

flat hornet
#

hello

#

are you guys bullying the weird named dude

rugged root
#

I'd answer if my co-worker wasn't back here

#

We try

#

But things just explode with awesome

flat hornet
#

what now

#

also

#

@chilly wolf i finished my project

#

we gave it to our teacher

#

begeleider

#

idk what begeleider is in english

#

our document had 40 pages of research and 30 of log

primal shadow
#

getBoundingClientRect

rugged root
#

Tee hee

#

Wait... Does WebGL toss stuff to the graphics card?

ebon sandal
#

@primal shadow thanks for all the help

rugged root
#

Deliveries

spare galleon
#

i booted into bios, and my cpu was reading 96c with my fans on full speed, rebooted, and then it read 51, but continually dropping until stabilizing at around 38c, never had the happen before, very strange

primal shadow
#

Had some indian cuisine for the first time today, delicious.

flat hornet
#

hello

chilly wolf
#

hey don

flat hornet
#

hello

chilly wolf
#

you waitin' on your project to get graded?

flat hornet
#

ah yeah

#

though thats gonna take some time

chilly wolf
#

awesome, let me know how it goes

flat hornet
#

because we also need to present it

flat hornet
#

we will also be sending our project to a competition in the netherlands

#

hopefully ours is unique and good enough to get in the top 10

#

though the things some of the other make are insane

chilly wolf
#

well hey, you should still be proud of what you made

flat hornet
#

yes

#

i learned a lot from this project

#

i might take on a personal project to make

#

though not for now

#

helo

somber heath
#

@ivory bane 👋

still tide
#

@wind raptor HI

#

howdy

peak nacelle
#

Sup

still tide
#

@peak nacelle sup

peak nacelle
still tide
#

@peak nacelle documentation is so big
can explain in short or like explaining to a dumb student

peak nacelle
#

Make a GitHub issue please. so don't forget

tacit crane
dry jasper
#

from ultralytics import YOLO

Load a pretrained YOLO model

model = YOLO("yolo11n.pt")

Export the model to NCNN format

model.export(format="ncnn", imgsz=320)

Creates "yolo11n_ncnn_model"

still tide
#

@dry jasper wait a sec

dark dove
chilly wolf
#

@spiral basalt

#

!voice

wise cargoBOT
#
Voice verification

Can’t talk in voice chat? Check out #voice-verification to get access. The criteria for verifying are specified there.

spiral basalt
#

Hi all

#

@dark dove @chilly wolf hey lads how are you guys going

chilly wolf
#

I see you like Mario, what's your favorite mario and zelda game

dark dove
#

hey opal

spiral basalt
#

ok don't hate me for saying this regarding zelda, always the classic ocarina of time, but i think the one i enjoyed the most as in fun was phantom hourglass/spirit tracks

somber heath
#

@karmic zodiac@spark torrent👋

somber heath
#

Yes. We can.

chilly wolf
whole bear
#

sub!

chilly wolf
#

And they are your preferences, so no need to apologize for liking them

spiral basalt
#

They were just fun to zone out and play without stressing

chilly wolf
#

they definitely do have a certain vibe

#

and that vibe is ReLaXaTiOn

spark torrent
#

where are ya guys from?
@dark dove @calm smelt @chilly wolf @somber heath @spiral basalt

somber heath
#

Legal, yes, for you, if that's as far as it goes, absent other factors. Advisable? Probably not.

spiral basalt
#

I am from australia, in perth actually

chilly wolf
#

I've always liked Ocarina of Time, but I do love Breath of the Wild as well it is probably my favorite but I get why people who are used to the classic formula would be put off by the new formula they've come up with

somber heath
#

You can ask people's opinions.

#

It's just not necessarily qualified.

dark dove
#

I hate this flag though previous was better

spiral basalt
#

Just so everyone knows, i have 0 python experience! I am here to learn and also get advice if python should be the language i should be using to do something, am i allowed to talk about that in this channel ?

chilly wolf
#

Feel free to ask me anytime, and when I can I will do my best to assist!

somber heath
#

We talk about Python here. We talk about not Python here.

dark dove
spiral basalt
#

so imagine i want a simple ui like this, i've never done this before, but i can do it in html etc
and all i'd like is to be able to push the button ping hmi or ping cisco
and it essentially pings the device

chilly wolf
#

that'd be pretty easy to do in python

dark dove
spiral basalt
#

thats good to hear!

somber heath
#

Is pinging something you can do from Javascript or html5?

#

In browser

#

Hey Jikky! 😄

spiral basalt
#

@dark dove that is the plan, but I have no idea which would be the easiest good sir, hence I thought i'd ask the guru's

dark dove
spiral basalt
#

I am a heavy diesel mechanic

spiral basalt
#

Is there something wrong Jikky ?

somber heath
#

Cards Against Humanity.

spiral basalt
#

@quartz beacon LOL yeah

#

@somber heath Can you do that in javascript ? that would be amazing!!

#

Does anyone know if you can ping in javascript ?

somber heath
#

Via the browser.

#

Is the question.

spiral basalt
#

yes via browser

#

so imagine a html link that says Ping xxx

#

and it pings that ip address and gives a response in browser via a popup or something that says successful

#

or time out

#

@jikky TF2 was always about the sniper map lol

#

scout bashing heads in

#

spy was my favourite!

somber heath
#

House, no.

#

So far to me, you sound like you.

whole bear
#

hello world !

spiral basalt
#

Nothing like house

#

@somber heath Any chance you know would it be better to do in python or javascript like you suggested ?

chilly wolf
#

IMHO it really just depends on how you yourself want to do it. Altough I'm interested what Opal would say

somber heath
#

There is a website for playing Cards Against Humanity, yes.

karmic zodiac
#

What does this arr command do?

somber heath
#

Hm. Maybe Ajax or Java.

karmic zodiac
#

help pls bro

#

arr command?

somber heath
karmic zodiac
#

yes

spiral basalt
#

@somber heathit will have to be able to run on an old windows sesrver i guess, so something that can run in a browswer would be really nice

somber heath
#

Code examples?

spiral basalt
#

it can run on chrome/edge etc

somber heath
#

I mean, you can do it in Python, but I was just trying to think of something serverless.

karmic zodiac
#

What exactly does it do?

spiral basalt
#

@somber heath that sounds perfect

somber heath
#

arr is a common variable name

karmic zodiac
#

thanks bro

somber heath
#

I often use it to refer to numpy array instances.

spiral basalt
#

@somber heathi will google about how to do it in ajax i guess, and maybe try get my bearings on it

whole bear
#

@chilly wolf what;s the name of your game ?

somber heath
#

arr, by itself, is not a thing

#

It could be anything.

karmic zodiac
somber heath
#

It's not a builtin, it's not a thing in Numpy (outside maybe as a parameter?)

#

Where did you see it?

#

Show me.