#development

1 messages Β· Page 19 of 1

cloud knot
#

same as for Windows or Mac in general. VS Code (or vscodiumif you don't want MS binaries), all the Jetbrains IDEs and so on.

fading osprey
#

Neovim.

tight halo
#

this vhdl stuff is insanely fun so far. granted i only made a two bit comparator πŸ™‚

rustic hare
#

I have a crappy VM I run VS Code on πŸ˜„

sand oar
#

Trust me, i know html /j

cloud knot
#

meanwhile i am here triggerd by the whole hype and stuff around htmx

#

i absolutely dislike it. It is just a bit less crappy and multi-language version of JSF for 2020's. But it still has all the issues of old "we generate HTML at backend" concept. Now you got to have 2 API endpoints because someone decided generating DOM at client from JSON data is too hard

severe plank
blissful locust
#

who feels to work some projects? πŸ™‚

limpid reef
clear aspen
nocturne galleon
frozen flame
#

Left as an exercise to the reader what this regex does

-?\d*((([13579][26]|[02468][048])00)|(0[48]|[13579][26]|[2468][048]))-(((0[13578]|1[02])-(0[1-9]|[12]\d|3[01]))|((0[469]|11)-(0[1-9]|[12]\d|30))|(02-(0[1-9]|[12]\d)))
lucid roost
#

@blissful locust hi bro let's connect

weak glen
#

Either that or I've just been playing too much sudoku

ionic folio
cloud knot
#

unless that regexp is taken from PERL code. PERL people did everything as regexp

untold token
#

hi, i am new to this server and in a dire need of someone who knows a bit of code like java or python cause i asked chatgpt for a script and its not working at all no matter how many tries, my assignment deadline is approaching, would be greatfull for anyone who wants to help

north raft
#

Preferably in pythonic terms

untold token
#

i am not sure how to explain in pythonic terms but ill give the context behind it, also really appreciate for reaching out : )

north raft
#

Alright

vapid grove
#

πŸ‘‚

north raft
#

Just send the assignment and what part you are struggling with if u want

red mulch
north raft
north raft
vapid grove
#

(ignore bob, chatgpt can be great for explaining concepts and approaches. Less so for generating code)

red mulch
#

also: no.

#

chatgpt is great for producing words.

north raft
untold token
#

so basically i am doing my research on probablity on pokemon hiting crits and there effect on the match, so i asked chatgpt to write a code to calculate the crit chance like this

red mulch
#

there already exists plenty of references for programming.

untold token
vapid grove
north raft
vapid grove
#

You have to think to yourself what's the step by step process you want to take

north raft
#

Split the crit chance question into smaller ones, fundamental compsci

north raft
untold token
vapid grove
#

At this stage of learning, doing a logical flowchart is the usual approach

north raft
north raft
#

You are the only one who knows your exact specifications and needs

#

That's why smaller, more generic issues are far easier to troubleshoot and solvd

untold token
north raft
#

Funny thing is that with a bit of basic understanding of compsci you would have breezed through this

#

But I get your situation, not easy now

vapid grove
north raft
#

Anyways my recommendation would be to put some effort into it and learn what smaller steps would mean splitting the problem into smaller steps

#

Also if you want decent code you should pay for Claude (I don't but it produces decent code)

vapid grove
#

That means every time you do an attack, you generate a random number that is between 0 and 1, if it's less than 0.05, you double the damage

north raft
#

Or something like devin

untold token
#

but my main issue was it says invalid syntax when i tried

north raft
north raft
vapid grove
#

Can't remember what python random number generates by default

north raft
#

It has 2 default arg and 1 compulsory

#

Step and beginning of range, end of range is compulsory

untold token
north raft
#

@vapid grove

#

I'm actually surprised, always though randint had a step Param, apparently not πŸ€”

untold token
#

the first instruction was to this one and it show some error when i tried it

vapid grove
north raft
#

Oh dear

north raft
untold token
#

no chad_animated

north raft
#

You can't type shell commands in IDLE (python ide)

vapid grove
#

Surprised you aren't doing this in a spreadsheet tbh

north raft
#

Anyways, I suggest picking something else for your assignment

vapid grove
#

You could easily make this game in one

north raft
# untold token fair point

Na I'm sorry, this ain't for you 😭 if you REALLY want to go through hell in your presumably short deadline, you can binge cs50, but that ain't gonna save you 😭

untold token
vapid grove
#

It's not really manual

#

You can make a full game loop in the spreadsheet

north raft
untold token
#

thanks @north raft @vapid grove for the guidence and i will try to do my best in this

cobalt hemlock
#

I couldn't get this code below 660 bytes.

#

It's my brainrot attempt at a matrix effect using javascript poi_stare

#

Anyone's free to shorten it. I'm sure someone could improve it's look and file size.

#

onload=()=>{const c=document.body.appendChild(document.createElement("canvas")),x=c.getContext("2d"),r="0123456789abcdef",z="ΓŒΒ΅ΓŒΒΈΓβ€ΊΓΒΓΕ’Γβ€ΉΓŒΕ‘",f=16,d=[];onresize=()=>{c.width=innerWidth;c.height=innerHeight;d.length=Math.floor(c.width/f);d.fill(0)};onresize();setInterval(()=>{x.fillStyle="rgba(0,0,0,0.05)",x.fillRect(0,0,c.width,c.height),x.fillStyle="#0F0",x.font=f+"px monospace",d.forEach((y,i)=>{let t=r[(Math.random()*r.length)]+z[(Math.random()z.length)];x.fillText(t,if,yf),d[i]=yf>c.height&&Math.random()>.975?0:y+1})},50)}

#

Just save it as an HTML and open it in any browser. It is suppose to match resolution and refresh rate.

cobalt hemlock
vapid grove
#

Wondering if you can alias a few things to save a few bytes and use var over const or just pure globals

cobalt hemlock
#

My only experience with Java is 20 years of osrs.

#

I was trying to compress .bmp heightmaps and got distracted by this thing.

vapid grove
#
onload=()=>{m=Math.random,d=document,c=d.body.appendChild(d.createElement("canvas")),x=c.getContext("2d"),r="0123456789abcdef",z="ΓŒΒ΅ΓŒΒΈΓβ€ΊΓΒΓΕ’Γβ€ΉΓŒΕ‘",f=16,d=[];onresize=()=>{c.width=innerWidth;c.height=innerHeight;d.length=Math.floor(c.width/f);d.fill(0)};onresize();setInterval(()=>{x.fillStyle="rgba(0,0,0,0.05)",x.fillRect(0,0,c.width,c.height),x.fillStyle="#0F0",x.font=f+"px monospace",d.forEach((y,i)=>{let t=r[~~(m()*r.length)]+z[~~(m()*z.length)];x.fillText(t,i*f,y*f),d[i]=y*f>c.height&&m()>.975?0:y+1})},50)}

Untested

cobalt hemlock
#

Did it not execute?

vapid grove
#

I'm on mobile

#

But you get the idea of the aliases at the start

cobalt hemlock
#

That should just execute opening it in a browser.

vapid grove
#

(it's just to show what I mean by aliasing)

cobalt hemlock
#

I posted the whole code in plain text.

#

So you wouldn't have to open a file.

#

It should just work on any platforms browser.

#

By opening it with one.

#

Unless I broke it. I got another one that will display system performance information while running the same matrix.

#

But it's way bigger.

#

I don't think I like using the browser as a viewport.

cloud knot
#

you could in theory abuse some functions which are meant for other use, but if you aren't interested in return value, it can save you characters. like for example instead of foreach you could use Array map() https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map

MDN Web Docs

The map() method of Array instances creates
a new array populated with the results of calling a provided function on
every element in the calling array.

#

4 characters saved πŸ˜›

#
onresize=()=>{c.width=innerWidth;c.height=innerHeight;d.length=Math.floor(c.width/f);d.fill(0)};onresize()

You could make the onresize function name shorter. That is 8 characters for both usages in your case, you could go down from 16 to 2 characters in total if you used a single letter identifier.
As it is used only once, itcould be replaced by anonymous function execution instead.

(()=>{c.width=innerWidth;c.height=innerHeight;d.length=Math.floor(c.width/f);d.fill(0)})()

That gets rid of two onresize strings (-16 characters), one semicolon between the function definition (-1 character). So you are -17 characters

#

Looking at it, you use r just once, you could replace the definition of the r string with hex characters with call of https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/toString with 16 parameter. Something like instead of:

r[~~(m()*r.length)]

you could have something like

(~~(m()*r.length)).toString(16)

which is longer, but you would also lose the whole r="0123456789abcdef", part

MDN Web Docs

The toString() method of Number values returns a string representing this number value.

cobalt hemlock
#

I started with runic symbols but started looking for a more broken looking matrix drip.

#

I was trying to get it to take some more cursed looking unicode.

#

The issue is it's more simple just having less charaters.

#

So how to you make the most broken looking with as few charaters as possible?

#

I was thinking of a masking approach but it doesn't really apply on Java based canvas's

spring cradle
#

How do interrupts work on hardware?

spring cradle
#

I think I'm stuck on maskability

keen sorrel
# spring cradle How do interrupts work on hardware?

A signal is activated that "interrupts" a processing element. If you want specific details you'll have to be more specific about what kind of inerrupt and what hardware.

ARM GIC has accessible public documentation if that helps
https://developer.arm.com/documentation/198123/0302/Overview
https://developer.arm.com/Architectures/Generic Interrupt Controller

spring cradle
#

Currently trying to wrap my head around Z80 type 1, or some other fixed address ISR implementation

#

Bit confused when an interrupt interrupts an already ongoing interrupt I suppose

#

How do interrupts work in a multi core system? is there a round robin interrupt servicing routine?

keen sorrel
#

Not sure about z80, but GIC will only preempt an interrupt on a PE if it's higher priority.

spring cradle
#

Hm, Is priority necessary if they are normally unmaskable?

#

Implementing a GIC sounds daunting

#

I should mention I want to learn VHDL type stuff, so trying to keep the equivalent silicon simple

keen sorrel
spring cradle
#

Currently thinking that given the spec, I could probably just poll

#

With an opcode for polling the next core

keen sorrel
spring cradle
#

Yeah but not implementing an existing Interrupt controller

#

Trying to keep hardware as understandable as I can

#

Also trying to leverage hardware features to improve CPU effectiveness

keen sorrel
#

You mentioned "round robin ISR" and "opcode for polling", so it sounds like your talking about implementing the interrupt controller as software on a cpu. That's not how SMP interrupt controllers are implemented and polling is practically the inverse of interrupting. They are a separate devices in the architecture built of logic that hook to all the cores and peripherals and route interrupts based on config registers that control the logic

spring cradle
#

yeah dropping interrupts as the abstraction im using, since the original spec treats it more as a poll

cloud igloo
#

can i ask stuff abt arduino in here?

cloud adder
#

hi everyone

cloud knot
royal yew
#

i hate this code😭 it wont display anything in the pygame window and theres no problems in vcs

floral ice
#

I love developing a beyblade game

vapid grove
vapid grove
# floral ice Roblox!

Oh nice, I can see it working well on that platform! How do the physics hold up there for something like this

floral ice
woeful rapids
#

pcb2blender is so good

#

makes any crap looking pcb you design look amazing by comparison

silk eagle
#

i aint gonna lie to you chief

vapid grove
fading osprey
woeful rapids
#

kicad plugin and blender plugin

reef tangle
#

`import pandas as pd

Load the Excel file

file_path = "your_excel_file.xlsx" # Replace with the path to your Excel file
sheet_name = "Sheet1" # Replace with the correct sheet name
data = pd.read_excel(file_path, sheet_name=sheet_name)

Function to search and match numbers by ID

def search_and_match(input_number, data):
# Check if the number exists in the Excel file
matching_rows = data[data['Search_Number'] == input_number]

if matching_rows.empty:
    print("Number not found!")
else:
    for index, row in matching_rows.iterrows():
        id_value = row['ID']
        number1 = row['Number1']
        number2 = row['Number2']
        print(f"ID: {id_value}, Number1: {number1}, Number2: {number2}")

Input: Number to search for

input_number = int(input("Enter the number to search for: "))

Call the function

search_and_match(input_number, data)`

#

Would this script work? Is it safe

#

I’m new to this and I have a really stupid task at work

keen sorrel
# reef tangle Would this script work? Is it safe

It only reads and doesn't write, so it's safe in that regard. It might work, but it does make assumptions about how the data in the sheet is laid out.

The docs for the line matching_rows = data[data['Search_Number'] == input_number] is here:
https://pandas.pydata.org/docs/user_guide/indexing.html#boolean-indexing

The pd.read_excel function can have additional args to handle excel sheets that are laid out a little different
https://pandas.pydata.org/docs/reference/api/pandas.read_excel.html

reef tangle
#

oh I didn’t take into consideration that I need to pull from a website lol

keen sorrel
#

as in non-excel data? pandas can handle quite a lot of formats, including (some) tables made in html

reef tangle
#

It’s like a couple of clicks away

#

It’s not a table it’s kind of like a product database

#

You put a reference number in the search, then click the first result, then you pull 2 numbers from it

#

Then that corresponds to 2 tables in excel

keen sorrel
# reef tangle You put a reference number in the search, then click the first result, then you ...

oh, you're creating the excel sheet? There's a few approaches you could take dependent on how the website was designed. The simplest is reusing the APIs involved, but getting those depends on how the website was designed. The API requests aren't always directly called by clients so it's not necessarily possible either. If they are directly used by the client and they're GET requests, they'll appear in the network tab of your browser's dev tool usually with type json.

cloud knot
#
Manning Publications

You probably don’t need a collection of specialty databases. Just use Postgres instead!

Need a fast, reliable SQL-compliant RDBMS? Just use Postgres! Need to work with geospatial data? Just use Postgres! Handling semi- or non-structured documents? Just use Postgres! Generative AI embeddings? You’ve got itβ€”just use Postgres! Written for software...

wary sparrow
#

Just use mongo!

#

You will not regret using mongo!

cloud knot
#

you do realize mongo these days is a worse product tho, right ?

fading osprey
#

in 90% of cases, you want relational anyway

cloud knot
#

and postgres is also mostly a better NoSQL database

#

or in long wall of text...

Use Postgres for caching instead of Redis with UNLOGGED tables and TEXT as a JSON data type. Use stored procedures or do as I do, use ChatGPT to write them for you, to add and enforce an expiry date for the data just like in Redis.

Use Postgres as a message queue with SKIP LOCKED instead of Kafka (if you only need a message queue). Or as a job queue in Go with River

Use Postgres with Timescale as a data warehouse.

Use Postgres with pg_analytics as an in memory OLAP with Apache Datafusion

Use Postgres with JSONB to store Json documents in a database, search and index them - instead of Mongo.

Use Postgres as a cron demon to take actions at certain times, like sending mails, with pg_cron adding events to a message queue.

Use Postgres for Geospatial queries.

Use Postgres for Fulltext Search instead of Elastic.

Use Postgres to generate JSON in the database, write no server side code and directly give it to the API.

Use Postgres with auditing with pgaudit

Use Postgres with a GraphQL adapter to deliver GraphQL if needed.

lament bridge
#

Hey!

Could anyone tell me why this always seems to return true?

 boopSnoop: async (userId, targetIds) => {
        const date = new Date();
        const hours = date.getHours();
        const minutes = date.getMinutes();
    
        console.log(`Current time: ${hours}:${minutes}`); 
    
        try {
            if (!(hours === 4 && minutes === 20 || hours === 16 && minutes === 20)) {
                console.log("It's not 4:20 or 16:20, skipping boop snoop achievement.");
                return false; // reject if it's not 4:20 or 16:20
            }
    
            // user validation
            const targetId = targetIds[0];
            const user = await client.users.fetch(targetId);
            if (!user) {
                console.log(`User ${targetId} is invalid.`);
                return false;  // reject if user is invalid
            }
    
            console.log("User is valid, triggering boop snoop achievement.");
            return true;
        } catch (error) {
            logger.error(`Boopsnoop: Invalid user ${error}`);
            return false;  // return false if something goes wrong
        }
    }
Current time: 17:23
It's not 4:20 or 16:20, skipping boop snoop achievement.
info: Achievement unlocked: Boop Snoop for user 158050204870770688 {"timestamp":"2025-01-27 17:23:33"}

What could be the reason its actually turning to true?

wary sparrow
#

Pretty sure this always returns true because of that return statement

#

Instead of checking for statements that are false, check for statements that are true.

#

Then you can make it always return false as a safety net.

silk eagle
#

what i'd do is

#

then below the else return false as a safety net

#

and that way you:

  1. dont have to rewrite your logic
  2. can easily see where the problem is in the function (test with an invalid user, returns false -> great. test with an intended-false time, returns true -> not great)
#

but i have a feeling the problem is more annoying since it should be returning false (given that it could only possibly log that message if it were inside of that upper if statement) and the 'safety net' would only hide the problem at the moment

#

not super familiar with how your language is setup so I wouldn't be able to tell you if it was some annoying stuff for sure, but my instinct is that the problem might be in how you're checking the result. since its async, it could be a promise and not the actual result you're looking for (idea being that if you check promise it might return true, but if you check promise === true it would return false)

keen sorrel
lament bridge
#

Yep, I solved guys! Thank you all 3 of u

neon oriole
# keen sorrel You mentioned "round robin ISR" and "opcode for polling", so it sounds like your...

prolly way to late but i tough of pointing out that , a modern cpy has hardware interupts, (eg like the ones generated by a PS/2 keyboard or mouse) vectored interupts, wich are soft interupts but they do break the cpu out of its current loop in order to start doing something different. both are real interuppts so that unlike polling as you correctly discribed are just part of the normal routine of the cpu and they way usb keyboards and mice work , (hence usb keyboards with a 1000hz polling rate, theoretically have a higher latency then ps/2 keyboards since they do a hardwareinterupt, and partially also the reason why gamer mobo's still come with a dual purpose ps/2 port (also they are guaranteed to work in the bios eg)

neon oriole
# wary sparrow Pretty sure this always returns true because of that return statement

just a random tip: , when possible create functions that only have 1 out, so 1 point where you return stuff , 1 extra variable to store the value wont be the memory hog that crashes the system i supose so ```
fn :
retval=False; #if you set this at the top you only need to account for the cases where you have to return true simplifying it even further
if a:
retval=True
if b:
retval=True
....
return retval

neon oriole
#

i think linux hates me sometimes ... so they providfe: ```c
int execl();
int execlp();
int execle();
int execv();
int execvp();
int execvpe();

really tempted to do a `"bash" ,["bash","--noprofile","--norc", "--rcfile","localrc","-c","'exec whateverbinay'" ]` but that will only work on systems that have bash ofcource :S
cloud knot
# neon oriole i think linux hates me sometimes ... so they providfe: ```c int execl(); int exe...

https://linux.die.net/man/3/execle

The execlp(), execvp(), and execvpe() functions duplicate the actions of the shell in searching for an executable file if the specified filename does not contain a slash (/) character. The file is sought in the colon-separated list of directory pathnames specified in the PATH environment variable. If this variable isn't defined, the path list defaults to the current directory followed by the list of directories returned by confstr(_CS_PATH). (This confstr(3) call typically returns the value "/bin:/usr/bin".)
If the specified filename includes a slash character, then PATH is ignored, and the file at the specified pathname is executed.
?

wispy elbow
#

Hey everyone!

I'm looking for Android app alpha testers for my 3D Tic-Tac-Toe game, TriTac3D. It's already live as a web game at https://tritac3d.ddns.net, but I need at least 12 testers to meet Google's release requirements.

If you're interested, feel free to DM me!

Thanks in advance!
Cheers, Roland

silk eagle
neon oriole
cloud knot
#

execle() and execvpe() takes envp.
execlp(), execvp(), and execvpe() has the PATH logic.

Thus execvpe is the one you are after to my understanding.

empty nimbus
#

so i just made three bots so that i could maybe get a card this launch but i tested it with a dif link like a 7900x so i could develop the path for executing adding the thing into my cart but when i would switch links it would completely break so i inspected the 5090 page and hit inspect on the coming soon got the xpath for it then went to chat gpt and had it modify it into a add to cart x path with the old coming soon xpath then added to the code and now im just hoping it works not sure if i missed something or what but im using anaconda and Jupiter labs so i had to also make a signed in bot incase all of them failed aswell also so if there is a option to buy now when im signed in then i have that option again not sure if any of this will work i did get the bot to put a card in my cart and go all the way to check out but if i changed the link and try to account for the change of xpath it still would brake idk i think i may have gotten it but again all on a whim here i really just wanna get a 5090 so i can start on my unreal 5 videogame idea again. I had to sell my 4090 awhile ago so im in need of a new high end card because im a fps snob and just wanna have the best for making games rendering in blender and so on btw i've never coded anything a day in my life up until yesterday so any help would be amazing

nocturne galleon
cosmic hatch
neon oriole
neon oriole
#

execvpe would indeed be the one i want , if it werent for that last line ... hence my first comment : i think linux hates me sometimes πŸ™‚ i was reading the manpages and figured yep thats the one i need , then i read the line, yeah but for this specific one it does.... not do what you want ... yeey πŸ˜„

nocturne galleon
prisma violet
#

Has anyone here had any success with using a rs232 cable to access a raspi's command line?

keen sorrel
prisma violet
#

Okay, I only ask because I bought one recently as I've been trying to get serial over usb to work and haven't been able to get it to work, so I was hoping using an rs232 cable would be easier

keen sorrel
prisma violet
#

From what Ive read, i can connect a pi zero to my pc using a micro b cable and connect to it that way using a terminal emulator, i never had any luck doing that, so i bought a rs232 cable specifically this one https://www.amazon.com/gp/aw/d/B073R6XJND that breaks it out into 4 conductors that I can plug into the gpio pins on the pi and it'll show up as a Com port on my computer

#

I found this article that talked about serial over the usb port https://www.tal.org/tutorials/setup-raspberry-pi-headless-use-usb-serial-console

keen sorrel
#

oh pi zero, that's not the same as the rpi 2/3/4/5 that I had assumed you were using

keen sorrel
prisma violet
#

Yeah, I was just trying something, I'm currently at uni so mail has been taking awhile to get here, so i've been impatient waiting on my new cable

prisma violet
#

So I got that rs232 cable finally, connected it to my pi zero, everything displays fine but its not getting any further then the login screen and doesn't seem like it is taking any of my key presses

arctic lantern
#

make a small program to run cell spu binarys
alreddy proveing useful

wary sparrow
#

Whole life spent hating react/angular/whatever only to actually use one of them and fall in love.

nocturne galleon
keen sorrel
#

the soy ubuntu VM vs the chad gentoo VM on apple m4. Gentoo compiled with llvm hardened selinux desktop profile with flags for tuning to apple-m4

silk eagle
#

the whatever one

nocturne galleon
#

I made a thingy that does like rainbow text and stuff

<script type="text/javascript">
            var farbbibliothek = [
                ["#FF0000", "#FF1100", "#FF2200", "#FF3300", "#FF4400", "#FF5500", "#FF6600", "#FF7700", "#FF8800", "#FF9900", "#FFaa00", "#FFbb00", "#FFcc00", "#FFdd00", "#FFee00", "#FFff00"],
                ["#00FF00", "#000000", "#00FF00", "#00FF00"],
                ["#00FF00", "#FF0000", "#00FF00", "#00FF00", "#00FF00", "#00FF00", "#00FF00", "#00FF00"],
                ["#000", "#111", "#222", "#333", "#444", "#555", "#666", "#777", "#888"],
                ["#FF0000", "#EE0000", "#DD0000", "#CC0000", "#BB0000", "#AA0000", "#990000", "#880000"]
            ];
            var farben = farbbibliothek[4];
            var text = "~Clumsy~ :: ~Clumsy~";
            
            function string2array(text) {
                var Buchstabe = [];
                for (var k = 0; k < text.length; k++) {
                    Buchstabe[k] = text.charAt(k);
                }
                return Buchstabe;
            }

            function farbschrift() {
                var Buchstabe = string2array(text);
                for (var i = 0; i < Buchstabe.length; i++) {
                    document.write("<span id='a" + i + "' class='a" + i + "'>" + Buchstabe[i] + "</span>");
                }
            }

            setInterval(function() {
                farbschrift();
            }, 5000);
        </script>
wary sparrow
nocturne galleon
opaque terrace
#

a bit of a tangential question, but those of you who play/work with LLM's., what are communities you are part of where you can find other devs that do this and those that have rules/threads/spaces to post jobs? I'm working out where to post our job offer for a llm promt/agent developer who would take over our javascript (nextjs / langchain combo) app and help us rebuild all this stuff into agent based system going forward and scale the shit out of it πŸ™‚

#

for obvous reasons, I do not want to post to linkedin a job post..... we can't handle that firehose πŸ˜„

vapid grove
opaque terrace
#

but I didn't consider levels to be honest, thanks for reminding it exists πŸ™‚

vapid grove
opaque terrace
#

thanks, added to bookmarks.

#

thought we are more central and eastern europe based (and even turkey)

vapid grove
opaque terrace
#

there's no such thing as "bad PR" πŸ˜„

nocturne galleon
cloud knot
# wary sparrow Angular

you know what is best about Angular ? Upgrade helper. https://angular.dev/update-guide pick what you use right now, what do you want to update to, features and it will give you a checklist and commands to perform upgrades step by step. Of course if you use 3rd party libraries, that can sometimes throw a wrench in the works (you might need to find out what other library you need to add to ng update commands), but yeah, it is very nice

The web development framework for building modern apps.

#

i mean once i did upgrade from an very old Angular 8 app up to Angular 16, by following the steps

#

of course some stuff i don't like, but which framework doesn't have things one doesn't like πŸ˜„

#

(personally i hate the i18n from angular, i consider their solution a hack and bad idea, but oh well, one can always use a third party solution)

#

standalone components also help a lot, so one doesn't need to deal with the complexity and weirdness of NgModules

arctic lantern
#

dont build anything without it
give a warning
not looking into it more

cloud igloo
#

Could someone help me out rq? i wired my irl board just like this but its not working. (it is on wokwi) turbo new to arduino anyone could tell me what i did wrong?

arctic lantern
#

you sure you got sda scl right way

waxen belfry
#

Hello, I want to make a desktop application, what language should I use?

fading osprey
#

C, C#, Rust, literally anything except Javascript.

silk eagle
#

javascript. with more javascript. load javascript via fetch request to load more javascript. electron. the oldest version of electron available

topaz flare
waxen belfry
fading osprey
#

Not if you want your users to like you

waxen belfry
#

Okay, well, which of the three you mentioned is the easiest?

keen sorrel
#

You should really be picking based on what would be the easiest for your specific goals and feature requirements. Of those three C# would be the most forgiving. Its multiplatform framework is .NET MAUI. You'll have to check if that suits your needs.

neon oriole
neon oriole
nocturne galleon
#

Here's a fun shell

<?php
$query = "SELECT * FROM users WHERE username = ? AND password = ?";
$stmt = $conn->prepare($query);
$stmt->bind_param("ss", $username, $password);
$stmt->execute();
$result = $stmt->get_result();
?>

make sure this doesn't hapen to you

#

say if someone were to bind it in a png file and use it as a pfp for example

nocturne galleon
#

I'd sell the source code of the build for 40k

wary sparrow
#

40k for something like that????...

sand herald
#

Does anyone know where to get help for Oracle Apex, because I have some problems? Myb some discord servers or something.

opaque portal
#

hello

opaque portal
fading osprey
nova plank
#

Is there any way to have vite automatically upload images to cdn and then replace their references with the cdn?

opaque portal
#

And if you use images on a cloudflare pages website with vite I'm pretty sure it goes on their cdn automatically

fading osprey
#

I wouldn't use cloudflare images unless you really need it, just use R2 instead, it's still backed by the same CDN, and it's likely to be cheaper because it is static

wary sparrow
fading osprey
rustic hare
#

Anyone able to help me figure out this keycloak error ?

2025-02-09 20:05:39,384 WARN [org.keycloak.events] (executor-thread-1) type="LOGIN_ERROR", realmId="REALM-ID", realmName="CONTOSSO", clientId="glpi", userId="null", ipAddress="Client_IP", error="invalid_user_credentials", auth_method="openid-connect", auth_type="code", response_type="code", redirect_uri="http://glpi.contoso.com/marketplace/singlesignon/front/callback.php/provider/1", code_id="8dee7209-fbdd-4d17-89a0-bca0ee268ecd", response_mode="query"
2025-02-09 20:06:37,155 INFO [com.arjuna.ats.jbossatx] (Shutdown thread) ARJUNA032014: Stopping transaction recovery manager
2025-02-09 20:06:37,395 INFO [io.quarkus] (Shutdown thread) Keycloak stopped in 0.260s

wary sparrow
#

error="invalid_user_credentials",

#

If only people would read.

uneven tiger
wary sparrow
#

Although I guess imgui is cross platform

uneven tiger
wary sparrow
#

Although IMGUI looks a tad bit more complicated because you also need to integrate it with a backend

uneven tiger
#

might take a bit longer to set up imgui tho

wary sparrow
#

QT is just QT.

uneven tiger
#

yea im a beginner in cpp trying to get in gh lol

wary sparrow
#

On that note, how do y'all pronounce QT?

uneven tiger
#

qyu tee

wary sparrow
#

correct, cutie.

#

although quite opposite, QT is not cute.

uneven tiger
#

yes serious

#

why not

wary sparrow
#

QT is horribly complicated once you actually start doing something with it.

uneven tiger
frozen flame
#

uis just suck to make in general lol

wary sparrow
#

Yea considering you have to account for multiple OS', where every one does thing X a different way

#

That's why I like Electron

#

A proper Electron app goes a long way.

neon oriole
# uneven tiger feel like this would be just much easier in imgui

well you can make it simpler in qt awell but tha would mena incorporating some bad practices and wont help for anyone trying to expand on it or learn from it :

# Create an application , optionally pass it the commandline args , as is customary with qt apps
QtApp   = QtWidgets.QApplication(argv)
#create  a baselayer to build on , for a regular window, #more specialize ones exist
# but this is the simplest empty one
wgt     = QtWidgets.QWidget()

#creatte a button (in memory)
btn     = QtWidgets.QPushButton()
#change the text on the button
btn.setText('Exit')

#create a label
lbl     = QtWidgets.QLabel()
#change the label text
lbl.setText('Python + Qt is easy :)')

#next lets place the label and the button on a window,
#but first lets not dump them on there but use a layout on the base widgets,  this will  result in windows maximizing
#resizing eg dont break the layout and everything is reorganized nicely
#QVbox:     QHbox:     Grid:      Form:
# -----     | | | |    - - - -     --- ---
# -----     | |        - - - -     --- ---
# -----     | | | |    - - - -     --- ---

# layout in memory is layouttype_aplied_to( surface )
layout  = QtWidgets.QVBoxLayout(wgt)
#now lets place the widgets on that layout...
# label wil show above  the button beacause of the layout we picked
layout.addWidget(lbl) 
layout.addWidget(btn)

#lets make the button do something when clicked ,(you can pass in any function for this)
# so lets make it exit the application when clicked , (there are many triggers even for a button see image 
btn.clicked.connect(exit)

# next lets set the visibility of the window to show so we can see it when we run it:
wgt.show()
#and run the application we just created 
QtApp.exec()
``` also qt has : (amonst others tooling πŸ™‚
frozen flame
#

fucking electron apps eating all my ram

neon oriole
#

how mentally broke/bankrupt you must be to go like : yeah this lang someone invented in an afternoon, is a pain to write in because its a roll of the dice what behavior it will exibhit this time,... and only runs in a webbrowser , and really really sow at that , unless billions were invested in the engine to make that languages performance not to hampering , at the cost of Giga Watts of ram usage. and is intended to make static text feel interactive to the user,... wel yea that language were gonna use it to write a desktop app, and dont worry about the only runs in the browser , were shipping the browser with it... security you say every time you execute its different behavior , bes security there is ... and dont worry that browser might be googles but they are honest company and would never dare to inser code that leverages the fact that desktop apps store data to...

wary sparrow
#

Its lazy devs who just throw a regular web app into it that makes it suck.

frozen flame
rustic hare
hollow basalt
rustic hare
#

Anyone know the default settings for first broker login in KeyCloak ? I messed my settings up kekw

opaque portal
opaque portal
opaque portal
#

tauri or slint for all the GUI stuff because rust

vapid grove
#

There's pros and cons to tauri. Using Electron means you have some stability about browser changes as it's down to you to push them as part of the app. eg an overnight Chrome update won't break your app

#

IIRC, Tauri uses the devices native webview?

opaque portal
#

nah there's a better alternative to electron than tauri if you're a JavaScript lover I just forgot what it was called 😭

opaque portal
#

nah fuck it, JavaFX πŸ™

vapid grove
opaque portal
#

neither of those gurantee any stability, it's just saving you 100 megabytes

vapid grove
#

Google releasing breaking changes to Chrome is not uncommon

opaque portal
#

slint πŸ”₯

vapid grove
#

Packaging a known version of Chromium prevent those types of issues

opaque portal
#

skill issues of a browser vs not using the browser at all. just don't use web frameworks for apps

neon oriole
#

or half the os and call it a ,.. flatpak or a snap , also sounds sanppy, i think if you do people will like them really (||🀦||)

midnight wind
frozen flame
#

Vscode is still fat

wary sparrow
#

hella fat.

nocturne galleon
opaque portal
nocturne galleon
opaque portal
#

no

nocturne galleon
#

we can agree to disagree

opaque portal
#

I could make the entire thing in a couple of days it's not worth 40k whole ass dollars 😭

nocturne galleon
#

But it pulls bank loan info ect social security number checks for loan creds ect

#

it's meant for people that are buying cars from a dealer it's for the dealer

opaque portal
#

yeah

nocturne galleon
#

to do a full background check

#

think about it you could sell each pro version for $200 to the system

#

add that up if you had say 100k customers in a year

#

the video is only a demo

#

each state has their own compliance for things like that this automates everything for the person that is leasing selling trading checking the stats of someones credit and what not the price is steep yes but think about how much one new car sells for

#

in the eyes of a dealer

#

the program / ui does all of the work for them

#

and does it according to each state and their laws ect

floral ice
#

Working on judgement joker for my roblox beyblade game

wary sparrow
opaque portal
opaque portal
opaque portal
opaque portal
wary sparrow
#

Showcasing a shell command runner for flask?

silk eagle
#

basically exec(userinput)

opaque portal
silk eagle
neon oriole
#

i can open Visual Studio 2005 in a 10th of the time using wine , then i can open VSCode natively, and vscode is just a text editor lol

neon oriole
opaque portal
#

english please? that's not my video btw probably read the rest of the discussion

neon oriole
#

sec i write some mokup

opaque portal
#

Yeah no

midnight wind
#

Would need to somehow be drastically better, switching software in companies is no easy task

neon oriole
#

something like :```py
@api.route('execute')
def executor():
...

def restart():
execlpe('python',['python', 'flaskexec.py'], environ)
atexit.register(restart)

opaque portal
#

Again, no

#

Not my video, don't care to use python, please read the discussion 😭

neon oriole
#

yeah im just improving for wat the code seems to do , and making it fork itself on exit

#

and both execlpe and atexit are well one is a systemcall and the other is a call to libc so hardly python

opaque portal
#

Again, speak english please and it's not my code or video. Please. Read. The. Discussion.

neon oriole
#

i spoke english but the question is : can you hear it?

#

ikkant ok int kempsich dialect probere mor kpaas ga ge der dan heielemaal gen klos van goa verstoan...

#

(google translate cant , but holy sh** chat gpt acutally can translate that lol)

shrewd valve
opaque portal
opaque portal
hollow basalt
#

now i am wondering if it is really his

#

bro is more a businessman than a dev.
selling other's work

shrewd valve
opaque portal
#

I guess everyone thinks they're getting rich of car dealerships

hollow basalt
#

the one you sent has the exact same details.
sure the design might be similar but when i go to the inventory and it has the same VIN of the car. YUP exact same data

opaque portal
#

before recently - peak grammar

hollow basalt
opaque portal
#

On both sites it's the same vin??

hollow basalt
#

i think you can sell yours for 39k so you win

opaque portal
#

ehem, our vin numbers match? ykw that means right?

hollow basalt
#

you hve the same car

opaque portal
#

Ehem, lemme introduce you to https://v0.dev/

Seems he used that as well then... πŸ˜‚

Chat with v0. Generate UI with simple text prompts. Copy, paste, ship.

#

Ah yes lemme just use ai tool then charge someone 40k for it

hollow basalt
#

haven't used v0 before so idk

hollow basalt
opaque portal
hollow basalt
#

to the moonπŸš€

nocturne galleon
#

here is some frontend work i built a while back and never did anything with

#

This is what I enjoy doing

#

Creating usernames is lit

old arrow
#

I think you got ratelimited

nocturne galleon
#

I gotta proxy chain it more and add a little more multi threading

opaque portal
nocturne galleon
#

yes so you can make it scan faster

opaque portal
opaque portal
nocturne galleon
#

For username's that are not taken

opaque portal
#

what's that have to do with sort of Xbox home screen?..

nocturne galleon
#

on diffrent social media platforms

opaque portal
#

Ohhh, ban speedrun you say?

nocturne galleon
#

im not going to argue with you

#

have a good day

opaque portal
#

@flat remnant can't mention any mod role directly, you were online tho so I think it's fine?

anyway, they clearly botting accounts on multiple platforms breaking all kinds of TOS πŸ’”

#

screenshotted for you in case they delete it

old arrow
#

what the hell is even happening here

#

you probably wouldnt need to add multithreading for that; you can just fly multiple requests asynchronously

#

well, maybe you would depending on the library. but you shouldn't imo

#

i bet libcurl makes you

wary sparrow
#

Finally he's gone, he was kind of annoying.

old arrow
#

Oh really

#

I didn't get to see much of the history

rustic hare
#

Anyone here "fluent" in PHP and is able to tell me if the function Session:getLoginUserID() from this github plugin is actually able to pull the correct userID from GLPI ? Because according to keycloak, userID="null" is what is being transmitted in the Single Sign on attempt ........

leaden sorrel
limber hinge
#

I'm wondering if anyone has a technical explanation for what is happening in some older games (7-10years~) since I upgraded from a 5600x3d/2070S -> 9800x3d/3090

I'm getting full wide system pauses every 5-10mins in Kingdom Come 1 and Deathloop that are fixed by liming the framerate. Is there a known edge case with some engine where future hardware causes this issues?

I'm happy to play at 60 locked but it's driving my programmer brain crazy.

#

All drivers/bios up to date, fresh windows install, x3d boost enabled in bios

rustic hare
subtle marsh
#

Hey guys, is anyone familiar with using flutter to develop an android AR app? I have been trying to work with the ar_flutter_plugin which by now is too out of date so I have resorted to a github fork of the project but the app still crashes on the Galaxy A40 I am using to test it with a "com.google.ar.core.exceptions.MissingGlContextException" exception. I'm wondering if anyone is experienced enough in this and may be able to help?

limber hinge
#

im not sure if you have to provide the context in the setup of your framework but it seems unlikely. I think in this case you should raise an issue on the github repo

#

figure out why eglGetCurrentDisplay isn't returning a context

#

(it's a native openGL method)

subtle marsh
#

And I can’t find other plugins that would do what it does

subtle marsh
#

Managed to get it working by disabling the impeller from being used in the flutter app, It's a rendering engine that seemed to be introduced after the last android update that the phone received

stoic charm
#

anyone got any idea how to install PyOpenVR addon for Blender by any chance?

#

or pip archives in general

twilit beacon
#

Given that X and Y scale are 130 and Z scale is 100 I'm trying to compute the distance between 2 points T(x1, y1, z1) and T2(x2, y2, z2) in a heightmap, however the measurements aren't even close to those which i make in Unreal Engine using the built-in measuring tool (my measurement: 843m; UE measurement: 1000m)

The code is as follows:

 
from PIL import Image
import numpy as np

T1=(1598, 836)
T2=(936, 1000)

scaleXY=1.3
scaleZ=1.0

heightmap=Image.open("path/map.png", 'r')

heightmapArray=np.array(heightmapa)

#hoizontal distance
def dH(t1, t2):
    return scaleXY*np.sqrt((t1[1]-t2[1])**2+(t1[0]-t2[0])**2) 

w=dH(T1, T2)

print("horizontal: ",w)

I have another part of the code which calculates the vertical distance however, its not important here.

vapid grove
twilit beacon
vapid grove
twilit beacon
#

had height incorporated aswell, but no

#

its just like usual proprietary garbage where theres no real way to understand the backbone of the framework

vapid grove
twilit beacon
vapid grove
twilit beacon
cloud knot
#

next.js is disturbing (i don't even care if it does SQL injection, the whole mix is what is disturbing me)

#

function, which returns button with icon, which has a server side action, which executes something on server, SQL in this case. It is just such a mess and no separation of code whatsoever

#

it's literally the worst years of PHP done again

old arrow
#

yeah im not a big fan of those frontend-backend-melding frameworks either

#

i feel like it's just waiting for someone whos not paying attention to accidentally set up the sql requests to be client sided

#

and then send all your sql authentication to the client

#

why did they decide it was bad to have frontend and backend be separated codebases, they are fundamentally different areas

silk eagle
silk eagle
#

it reaaaally seems like every site is slow as fuck though

old arrow
cloud knot
#

for a typical backend, i would say something like Quarkus (Java) is a way superior choice to a typical Node backend

old arrow
#

use what's better, but don't use something different purely to make it not the same lang as the fromtend

cloud knot
old arrow
#

"[not the] same programming language" is the part I'm saying is an arbitrary lkmitation

cloud knot
#

i mean typical frontend these days is Javascript (web), Java/Kotlin (Android) or ObjC/Swift (iOS). Technically you can do server in JS/Java/Kotlin, but it's not that common (with exception of Java). Also most of the skillset from mobile app development do not transfer to backend development (with exception Java/Kotlin language features)

wary sparrow
#

It's all react-native these days.

cloud knot
#

Compose multiplatform has iOS in Beta level, Web in Alpha level, Android and Desktop are production ready. Kotlin Multiplatform is production ready on all platforms with exception of WASM target, even server side Kotlin is included

cosmic hatch
#

oh god, my username for my 4 latest commits has been "--global"

sand raptor
#

Whats a good Code editor for semi new coder using JavaScript

spark temple
spark temple
# cloud knot i mean typical frontend these days is Javascript (web), Java/Kotlin (Android) or...

Java (on the backend) has been on its way out at a lot of places. Yes, it still has its use cases.

I also disagree that Mobile App development skills do not translate to the backend. Knowledge of a particular framework/library != skill.

Languages typically don't matter when it comes to web/app development. Most of them have the same set of features and have similar implementations. It's honestly how you organize your code that matters more so it is easier to reason about, reduce cognitive load, and making it testable with tests in the appropriate layer.

frozen flame
#

fwiw theres usually multiple layers to a mobile app too, depending on the type of app

#

ALSO you can do backend in swift now if you want

opaque portal
hollow basalt
#

notepad

frozen flame
#

emacs mmLol

ashen stirrup
#

vs code

old arrow
#

vscod

#

🐟

blissful locust
#

exists anyway to unlock cpu freequency by powershell??

cloud knot
cosmic hatch
faint swan
#

Any senior devs here? Would like to ask adivce on a project I was recently in

#

Idk if this would be the right channel for it

shrewd valve
vapid grove
#

a few senior devs on these channels

woeful rapids
#

yes

ashen stirrup
#

how is the job market right now for development i am doing a major in CS

limpid reef
limpid reef
# ashen stirrup how is the job market right now for development i am doing a major in CS

Largely depends on where you live, the types of jobs you're applying for, the a company's hiring practies, and a variety of other factors. I've seen "Entry Level" job postings for what is clearly a 10+ year Senior role (sometimes for less than the legal minimum wage), or worse, the job duties of multiple people, and I've seen down to earth job postings for the tasks of one (1) person at an approriate salary for the expected work.

ashen stirrup
#

in Canada?

limpid reef
#

Yup. I report fraudulent / illegal / misleading job postings on LinkedIn and Indeed on a weekly basis.

modest tartan
#

best book for c# and python do live in australia if that matters

silk eagle
#

C on the #ie (australia)

modest tartan
#

huh

silk eagle
#

shrimp on the barbie
c on the #ie

#

jumbucks

old arrow
#

what

vapid grove
cloud knot
warped parrot
limpid reef
warped parrot
limpid reef
#

I'm adjacent to Software Engineering, if that's what you mean by SWE. Being a Swiss army knife means I tend to bite into every plate I have physical access to, be it spaghetti wiring in the server room, systems administration, technical documentation, web design / development, and occasional coding, though these days I don't really program in the traditional sense.

warped parrot
limpid reef
# warped parrot yeah i meant software engineering. do you have any tips to apply?

Put your real self forward, demonstrate what you've done in the past to create value (cost savings, efficiency gains, etc.), and don't let companies lowball you, assign more work than the job description allows, or abuse you in other ways. Ideally, you'd not work for such a company (if you have the choice - sometimes money is money to put food on the table, so you take whatever job you can) if you discover red flags when you interview them. But yeah - make them want to hire you by showing them how you'd fit the role as best you can.

warped parrot
limpid reef
# warped parrot and do you have any suggestions for which language i should focus on. i start my...

I'm not the right person to ask about what language to pick - IMO, we've reached a point where there are too many languages and people often spend more time configuring and maintaining their development environments than actually coding. 🀣 It also depends on what you're looking to get into: coding visual elements of a program or website might mean you learn a different [markup] language than if you wanted to only focus on the backend logic.

#

Back when I used to volunteer for Canada Learning Code, most of the 1-3 day workshops we ran involved Python or JavaScript because those languages are relatively easy to learn, and have practical real-world uses you can apply both at work and in your personal life. After those... Heck, you might fall in love with SQL / database management more than what we traditionally think of programming.

cloud knot
frozen flame
#

devops is just bash and extreme yaml mmLol

cloud knot
frozen flame
#

this is known as a joke

limpid reef
# cloud knot it all comes down to what area you actually want to lean into. Mobile developmen...

My favorite language is http://vanilla-js.com/ - all the frameworks this guy uses are crazy. πŸ˜„
https://www.youtube.com/watch?v=Uo3cL4nrGOk

πŸ‘” Merch drop 2023: https://posix.store

Javascript programming language

Interview with a Javascript developer with Jack Borrough - aired on Β© The Javascript.
Find more Javascript opinions under:
https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f

Programmer humor
Javascript humor
Programming jokes
Programming memes
Jav...

β–Ά Play video
limpid reef
frozen flame
#

this is why i just do open source rust dev picardy

#

that's known for not being controversial, right

limpid reef
frozen flame
cloud knot
# frozen flame this is known as a joke

look, after setting up CI/CD pipelines and trying to wrap my head around kubernetes, i don't consider devops any less development work than software development. It is just a different one

silk eagle
#

if you start with C++, python will be a lot easier to learn if thats what you end up going for (its also like starting at a 4K monitor and moving to 480p so that might drive some people insane)

old arrow
#

i guess vulkan-o

faint swan
# faint swan Any senior devs here? Would like to ask adivce on a project I was recently in

apologies, things developed since I sent this, for context
For context Im a 4th year IT uni student, not an expert on anything by a long stretch but fairly capable and am learning stuff as I go
I work freelancing contracts on the side whenever Im able, not necessarily always in IT but whatever I was able to work on
Worked in both start ups and I'm major companies in my region. So no stranger to work and the adventures that happen along the way
Been taken advantage of before and learned from those experiences as much as I could
recently I was approached by someone and pitched their project to me and two friends and colleagues of mine
They first wanted us to work for nothing and promises of payment and equity in the company they didnt even start yet

#

I called them out on this and refused to work with them till they figure out something better than dreams and empty promises
Which I think was justified in doing so
They then made another offer, of a certain amount to develop a functional demo of their idea
No downpayment and it was as low as anyone in our market would accept
This was a number that we agreed on and partially suggested by us, as we are uni students and it wouldn't be fair to charge same rate professionals would charge
We started work, and was going well for a while before someone else was added from the owner's side

Claimed to be bigshot startup incubator and was going to make the start up go places, we worked with them as they restructured everything and fleshed out the idea more and did a lot of the ground work to actually get the company go places. Again we are students in the end with uni responsibilities. As we continued it was clear that the person is a workaholic and was working non stop on this project.
Then they started trying to micro manage our workThey keep saying "IT stuff" although they haven't the faintest idea on what they were talking about
"Custom/Soild API" ML/AI training and along the likes
None of which make sense at all

#

Started with arguments on why things going the way they were planning. First it started with why the VPS we were using wasnt showing up in online searches even tho it had no DNS routing or certfs Then they tried hosting it on their own and ofc it didnt work
Started to accuse us that we are intentionally holding back the project
We handled that faf, before long we came to the AI component of the project
Out of the 3 devs I was the best suited for the task
By no means am I an AI/ML engineer

#

while I was working on this they kept talking absolute nonsense about how to train and use the AI (all taken from GPT Im 100% sure). I kept gently trying to tell them thats not how things worked but continued regardless. finished the model and it was functional as requested by them. still kinda skeleton code and I built it to be not connected to the project so that we can work on it stand alone while the rest of the project caught up so that we can integrate it. during this they became increasingly hostile towards me again accusing me of holding the project and whenever they couldnt access something they'd immediately accuses me of locking them out of the project(they didnt use the right password), that kinda stuff kept happening till a few days ago in almost panic they started sending us msgs at like 12-1am on Saturday demanding a live link to the demo(even tho the entire thing was on github and on the VPS although for some reason they couldnt access it from their end. Apparently the two leads had an investor meeting and only now needed everything to work. ofc none of us answered at the time and then all interactions became extremely hostile/toxic. idk if any of the interactions are worth showing, but then they start actively threatening us about terminating the contract and what not. then the owner kicked them out of the project comms channels
and then we became basically children in a divorce each trying to pull us to a side. kept talking about the other and that kind of bs.
then I sent this

#

"
We acknowledge your message, but we want to clarify our position to avoid any misunderstandings.
As per the Web Development Services Agreement, we were engaged strictly as independent developers to provide web development services. We were never co-founders, decision-makers, or equity partners in "company", nor have we had any involvement in its internal disputes.
We also want to highlight that when we were brought onto the project, it was understood that we are university students and were signed on with the awareness that we were balancing our studies alongside the work. Naturally, this meant there would be growing pains and a learning curve, as is the case with any student team. However, the expectations placed on us were more in line with a fully paid professional teamβ€”one without other obligationsβ€”which was not the basis of our engagement.
Furthermore, you yourself terminated our involvement before the project was fully completed. This confirms that we have no ongoing responsibility or association with "company", its ownership, or any conflicts between the founders.
Additionally, we want to make it very clear that we are not part of a "divorce" between two founders and we refuse to be dragged into personal disputes. This was strictly a business venture for us, and we will not be swayed to take sides like children caught between parents. Our only concern was fulfilling our role as developers, and beyond that, we have no interest in the internal conflicts of "company".
We also want to acknowledge that the behavior of some of the other developers during this disagreement was unprofessional. While disagreements happen, they should have been handled with respect and professionalism rather than escalating tensions further. We do not condone any unprofessional conduct and prefer to maintain a respectful and constructive approach.

#

This message is being sent to both founders to make it explicitly clear that we are not showing bias toward either party. We are simply clarifying our stance and ensuring that our role is properly understood.
We expect that any references to our work remain in accordance with the contractual terms and not be misrepresented in any way.
Moving forward, we ask that all communications respect these boundaries. We appreciate your understanding and expect that our contributions will be acknowledged appropriately."
idk if this was a proper way end to this mess

#

they sent some stuff I replied with this
"NDA will be upheld, we wash our hands from this project. No further contact is necessary. We wish you best of luck"
they then add me back to the chat and then sent this before editing it
"Try me and my Attorney and investor will destroy you"
final interaction

#

and then today they added me back to the group and they sent this

#

apologies for the channel dump

silk eagle
#

I am unaware of the details of any contracts you may have signed or contract law in your area but what I do know is - this doesnt sound like they have anything special youd want to disclose regardless of any NDAs. that being said, in almost no place on earth can a contract force you to work - if I were the other party in this situation I would simply contact my legal, they would write something up about breach of contract / penalties as outlined in the contract, and thats that.

#

since they didnt do that, i can only assume they dont have a legal team in UAE (if you aren't in UAE this also means nothing), and I would be unconvinced that any contracts would even hold up legally.

#

my advice - learn from this, don't work for people that don't know shit about fuck and don't work for people that make low-budget student laborers sign NDAs (if it was valuable they wouldn't be hiring students, NDAs are also used to hide that something is shit).

#

bad business practices = bad money practices = 50/50 chance you don't get paid.

faint swan
#

so I could tell them to kindly fuck off

limpid reef
# faint swan so I could tell them to kindly fuck off

I wouldn't do anything that might escalate the situation. But... also, my fav video on the topic. https://www.youtube.com/watch?v=jVkLVRt6c1U

The most popular CreativeMornings talk of all time, Mike Monteiro gives us some valuable advice on how to get paid for the work that you do.

Mike Monteiro at the San Francisco chapter of CreativeMornings on Mar 25, 2011.

Free talks like this one are hosted every month in cities around the world. Subscribe to our YouTube channel for more inspi...

β–Ά Play video
fading osprey
#

sounds to me like you learned the importance of a killswitch tbh

faint swan
#

yeah, this was a fail

#

but we live and we learn, they arent the first or the last project

vapid grove
#

I would cease all contact and have a lawyer involved at this stage

#

Saying things like 'contract terminated' is not correct

#

From what you've sent, you've already shared too much info with the other party

#

I would go over the contract, look for an exit clause and if there is one, use it

#

Whether they were screwing you over or not is pretty much irrelevant unless it breaches the agreed contract.

faint swan
vapid grove
faint swan
#

"Founders may terminate the Developers’ services entirely. In
such a case, Founders shall owe no compensation to the Developers for undelivered or
incomplete work."

vapid grove
#

That's it? No notice period etc?

#

In which case, if that's the exit terms, it implies that only the founders can invoke the exit clause, not you the developers

faint swan
#

"If the Developers fail to deliver any working Demo as required by the Specifications by
the end of February 2025"

#

this happened about 15-20th feb

faint swan
vapid grove
#

I would personally get a solicitor involved at this point, even just to retroactively check the terms of the contract and current situation

vapid grove
faint swan
#

"You have been terminated due to inactivity and breach of contract. All the best"

#

via a chat msg

vapid grove
#

Screenshot it. Do not reply to any further comms. Block their number

faint swan
vapid grove
faint swan
faint swan
vapid grove
#

Block all the numbers

faint swan
#

what if they add me back to this group?

vapid grove
#

Blocking the numbers should prevent that

#

Even without that, leave, don't say anything

faint swan
#

done

#

in theory they should have zero reason to contact any of us

#

but would be more than fair if somehow they do and I take legal action against them right?

fading osprey
#

for an answer to that, I'd suggest you speak with a lawyer, if and only if the situation develops into one in which the legal threats become legal realities (which is highly unlikely)

vapid grove
faint swan
#

true

#

esp people like the one Im dealing with

vapid grove
faint swan
#

fair point

opaque portal
#

Just from now on require up front percentages, use milestones, and don't program anything till you receive that upfront.

#

Clearly layout ending agreement if they choose to stop using you

#

Usually people like that WAY overshoot what they can do legally

#

No court is going to care the slightest about some random whatsapp message says. If money was paid and nothing was delivered, you're screwed, if you delivered and no money was paid that was clearly agreed on, they're screwed.

old arrow
#

bro how did you find a message from a year ago

#

wait 2 years ago, i forgot it's 2025

molten jungle
#

i searched it

#

imagine breaking tos to see hidden channels

old arrow
#

i havent been in this server long enough to know those were hidden

severe rampart
#

Same here

analog briar
#

it's not a 3rd party client and its not even a screenshot from this server, that's just how it appears for people

terse meadow
#

Voice channels you have perms to see but not to join appear like that

silk eagle
#

bro did not cook

pastel wyvern
#

hey i need a favor , i am trying to make a whatsapp bot and i need a us number for it. to get us number by google voice i need to give them a temporary us phone number to make the first verifying can someone help me?

fading osprey
#

why do you need a US number for a whatsapp bot? this screams spam/scam/fraud to me

fading osprey
#

what are you actually trying to do?

pastel wyvern
#

i am trying to learn how to make a whatsapp bot just to get the skill itself

#

i am trying to set up a bot in whatsapp and for that i need a us phone numbe

#

with us phone number i can set up a google voice account and then get a permanent phone number (us one) for running my whatsapp bot

#

i tried using text now but i cant download it to my pc because it isnt supported in israel

magic current
#

what we call when 8 mosquito bite you....????

modest tartan
#

Want to learn programming and I want to start with python any book recommendations

vapid grove
modest tartan
fading osprey
#

I hear George Orwell's "1984" is a good book

stable bough
#

can someone help me install perl and DBD::mysql on m4 mac? i am simply not able to it's giving me all kinds of errors w.r.t openssl libs

fading osprey
#

This is gonna sound silly, but, did you install openssl-sys

fading osprey
#

The library bindings for openssl

#

Most things try to link to them

stable bough
#

and how do i do that?

fading osprey
#

Best suggestion is Google it, because I don't use MacOS anymore and haven't for five years

stable bough
#

google is unhelpful. ive been at it for 2 weeks

modest tartan
#

ive pretty much never used mac unless i was forced too

#

i have more experence with linux then i do with mac

#

windows is my os of choice cause i play video games

fast flame
#

Fuck you! And your self promotion rules here. I'm really starting to hate humanity like Bill Gates. And goodbye!

frozen flame
#

Don't let the door hit you in the ass on the way out

shut tapir
#

is there anyone who using Linux for android development?

simple canopy
vapid grove
cloud knot
#

Yep. We got the Doom engine running purely in TypeScript types. Like. For real. We’ve prepared two more videos, one answering β€œwhy we did this” (storytime format) and another answering β€œhow we did this” (technical deep-dive). What would you like to hear about for those?

It’s all open source: https://github.com/MichiganTypeScript/typescript...

β–Ά Play video
cloud knot
weary saddle
pastel wyvern
peak acorn
#

Maybe I should add an automated weekly report that sends every instance of "// TODO: " in the codebase lol

peak acorn
#

Exactly lmfao

cloud knot
#

or just set up sonar (sonarcube) and let it report it for you

simple canopy
vagrant bramble
#

im considering a project, to not become overconfident, i thought id seperate it into 3 different parts

# 1. weapon stats
this mostly just involved storing data in maps (or something functionally similar), and afterwards displaying said things in a easy to read overlay. this should also allow custom icons and ideally support vector too.

# 2. comparison
being able to choose a "primary weapon" that other weapons can be compared to. in other words, if both weapons hold the same attribute, the values are compared with one another, and an icon is displayed on whether or not its the same, better, worse or just different.
special attributes are considered "different" (the star list on the image) unless directly correlated

# 3. import export config
being able to have databases and image files packed into a single file, presumeably a renamed zip file. i have the least experience with something like this as well as this being low priority.

i already have some experience with the backend, i know how to structure databases, and worst case i know how to google. what i am struggling with is choosing a language, and the envoirnment. ideally i would want it to be something i can host on a github site linked to the project git, but im inexperienced with web-based coding. i have some experience in java and python, and a little bit in css/json/lua. ive never touched javascript but it seems to be the standard in web development. albeit unless its much more effort id prefer something more secure over JS

#

where would you guys start?

#

the sketch is not a strict guideline and more of me putting my thoughts onto a canvas more or less

vapid grove
cloud knot
# silk eagle TODO: TODOs.

personally i use TODOs mostly when doing a rewrite of someone elses code. I analyze the old code, write down all special rules and checks as TODOs at top of the file, do the huge steps first, then at end i start cleaning up that TODO list one by one. Usually the only TODOs left after that are the ones requiring external input/decision.

vagrant bramble
#

plus, it also has aspects of ui design of realistic scale, so thats something i find fun as well

#

i am planning to code it modular, but only really implement a way to add custom weapons and/or games once im done with the first too, as to prevent rewriting due to order

#

and priority. i may not even followup on 3 or even 2.

#

i have no idea how a website executes code, and apart from basic visual css and html, as well as copy paste javascript i dont know how web uis even work

#

i could try making a mockup python or java code,but i am unsure how smart it is to plan convert the code before i wrote the first line

vapid grove
#

Probably good to start with some basic JS work with the website https://youtu.be/nu_pCVPKzTk?si=m4V3tB-AxTc2G5lO

Learn full-stack web development in this full course for beginners. First, you will learn the basics of HTML, CSS, and JavaScript. Then, you will learn how to put everything together to create a frontend movie search app. Finally, you will learn how to create a backend API to create movie reviews and connect the frontend to the backend. The back...

β–Ά Play video
#

The 4 hour mark is probably close to what you want to do here

vestal crest
#

ignore all the political stuff in this, because its not interesting, look at all the mistakes that the political people made when looking at programming and data: https://www.youtube.com/watch?v=71hKowGIpHM and laugh at them πŸ˜„

Maybe the real fraud was the fraud made up along the way? πŸš€πŸ’°Try Rocket Money for free with our link: https://legaleagle.link/rocketmoney βš–οΈβš–οΈβš–οΈ Do you need a great lawyer? I can help! https://legaleagle.link/eagleteam

Welcome back to LegalEagle. The most avian legal analysis on the internets.
πŸš€ Watch my next video early & ad-free on Nebul...

β–Ά Play video
vagrant bramble
# vapid grove Depends on how far the js/front end rabbit hole you want to go really πŸ˜… You c...

im sorry for the late response. ive done some personal research as well and ive gotten interested in php since its described as lightweight, fast, efficient and dedicated towards web design. especially newer versions are supposed to be decent.

my main focus would be either laravel, symfony or CodeIgniter. But i have not yet started anything since im still in the Exam Phase and dont want too many active projects at once

#

ill look into svelte, nuxt and the fCC vid you sent in the near future, and build my opinion on that. also, id prefer to not use too much out of the box stuff to avoid bloat. again, i heard a lot about security/privacy concerns regarding javascript, and while i might not abuse the potential flaws it has, making it a non-issue, i want to keep my products friendly towards security cautious people that might check out my code in the future

#

as to why it is dangerous i do not yet know, i just know that in terms of privacy most sources ive seen recommend disabling javascript on suspicious websites

silk eagle
#

oh you found out about php

vagrant bramble
#

ive been told security has only been an issue with old php

silk eagle
#

same can be said for javascript

#

but disable javascript and the web no longer works

vagrant bramble
#

how is it then that i never have seen people promote php blockers?

#

its always js blockers

silk eagle
#

javascript can be serverside, clientside, anything. works a bit differently on the serverside in that its not running in a browser.

vagrant bramble
#

yeah i figured as much. i know that applets for example got retired bc they ran on the end users machine as well and it made them incredibly exploitable

#

i worked with them when first learning due to the course demanding it.

silk eagle
#

its very hard to create a security problem in javascript on the other hand.

vagrant bramble
#

hm fair. but the thing is i prefer a language where exploits are near impossible, not just that its secure

#

but i mean in my use case it wont really matter that much, its just that if every option is equally valid, i dont see a reason not to be picky

#

especially since i feel like the php community itself may encourage a more diy approach, as opposed to (afaik) the common approach with js where you just import what others make all the time and just tweak it a bit

#

ive worked a little bit with js, not enough to be familiar with it, but thats how it usually went, someone telling me to just import some library for every feature i want

silk eagle
vagrant bramble
#

so the paranoia around it on places like tor is unfounded?

silk eagle
#

tor is different, the paranoia is a bit more justified because of more... reason to find vulnerabilities. that being said, as the person writing javascript for a website, you would have to intentionally find exploits and use them on your site's users for that to be relevant.

vagrant bramble
#

fair fair. i mean in the end, why should i use JS over php?

silk eagle
silk eagle
vagrant bramble
#

ooooooh

silk eagle
#

frontend javascript
backend php
this is perfectly fine

vagrant bramble
#

so, any framework you would recommend in particular?

#

not asking for a clear cut answer, ill take all answers i get in this chat into considerating in the next few weeks regardless, including my own research

silk eagle
vagrant bramble
#

honestly i have a personal love for anything modular, so symfony's marketing appeals to me. but its said to have a steeper learning curve than other frameworks, and afaik the modularity of ones code itself is highly dependant on the code writing philosophy over just what framework one might use

#

but i dont know how much the framework "web app" would even take over. like, how much manual coding would be required

#

ill stop overspeculating for now, thanks for all the help you two, and ill get back to you in a week or so

vapid grove
#

For my own webiste (https://stevenyau.co.uk) I use JS that I wrote myself and a modified html5 boilerplate template. Most of the CSS is handwritten by me. The blog part is a static site generator so no backend there either

simple canopy
simple canopy
latent rain
#

Found a cool project if anyone is interested https://www.npmjs.com/package/capacitor-xbox

nocturne galleon
#

GUYS any suggestions on how to make my site better

fading osprey
#

Buy a domain, and get a TLS certificate is always a good start

leaden gorge
# nocturne galleon http://46.10.248.126:3000/

easy look at discord , compare and see what you are missing. most things in discord make sense.

  1. whats that whole list of "usernames" ? Its weird.
  2. why call it supported servers and not just "Serverlist" .
  3. I can make a message without a username.
  4. centering of username. handier to have it top left.
  5. hide the server ids on titles. you do not need server id's (socket channels?)
  6. "This is the best service I've ever used!" β€” Happy Customer
    really ? good ironic feedback πŸ˜›
  7. I can upload any random file to the server. which is a bit weird.
    8, you could use less input fields. (they are not required) . for example "set channel ID" should be removed. as its just more like a dev feature as you can click on the UI instead.
  8. set username and picture should be hidden behind a "Settings" or a gear window like discord got.
limpid reef
limpid reef
old arrow
#

not even sure why that is happening

#

is it like constantly updating the image src for some reason?

#

there are a ton of errors and i think this site has XSS so i am closing it

limpid reef
old arrow
#

well idk about that

#

seems like maybe their first project

limpid reef
# old arrow seems like maybe their first project

Oh yeah no, that's fine. I just mean, if this were published as a "finished" product by an org / company, I'd not want to ever provide my information to it, let alone leave it running in my browser.

#

To be fair, the frontend alone is way better than anything I ever built as a first project back in the day.

bright hawk
#

if anyone is competent in java, i would appreciate some help, im still in the early stages of learning, but ive run into an issue with an exercise.

import java.util.Scanner;

public class HelloWorld {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        System.out.println("I speak without a mouth and hear without ears. I have no body, but I come alive with the wind. What am I?");

        String userAnswer = sc.next();
        String correctAnswer = "Echo";

        if (userAnswer.equals(correctAnswer));{

            System.out.println("Correct!");

        }
    }
}
#

this is my code so far, the objective is to scan a user input, and if the input they give matches the correct answer that i provided, print "Correct!" and if it doesnt match, then do something else

#

i just learnt the .equals function and thought it wouldve fixed my problems but

old arrow
#

You could debug this by printing out the user answer, by the way

bright hawk
# old arrow You could debug this by printing out the user answer, by the way

public class test {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);

        System.out.println("I speak without a mouth and hear without ears. I have no body, but I come alive with the wind. What am I?");

        String userAnswer = sc.findInLine("Echo");
        String correctAnswer = "Echo";

        if (userAnswer.equals(correctAnswer.trim())) {
            System.out.println("Correct!");
        } else {
            System.out.println("Incorrect.");
        }
    }
}```
#

i ended up with this. which does work correctly when i get the answer correct, but if its wrong then it just says
Exception in thread "main" java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "userAnswer" is null at test.main(test.java:13)

#

but i think the sc.findInLine is the wrong thing to use in this scenario

bright hawk
#

thank you πŸ™

silk eagle
#

my new for-fun activity is creating horror films using python

old arrow
#

python's lambdas and functional-style-functions are so awful to use syntax wise

keen sorrel
#

python~~'s lambdas and functional-style-functions are~~ is so awful to use syntax wise

silk eagle
#

nah syntax of normal python is fine, its basically any other high level language

peak acorn
#

python sucks

severe rampart
#

Python has a bit of a "to each their own" thing in a way

#

so does the various HTML things and CSS and Java and stuff

#

C++, Assembly, etc.

shrewd valve
#

python is the easiest and fastest "let me just quickly automate this chore of a task" language for me

#

for anything else i use what the industry uses/prefers

severe rampart
#

That's a good point

#

Python is easy and fast for tasks like that

#

it only sucks in certain business environments that favor C++, CSS, HTML, Assembly, Java, etc.

#

One is not inherently "better" than the other, period. Just different in their own special ways.

#

Even something as primitive as the various forms of BASIC to the modern-day Scratch can do some rather surprising things that you wouldn't expect them to do

#

Kinda like those people who use Microsoft Paint to do almost photorealistic paintings with it

#

It's not the tool, it's the artist using it

shrewd valve
#

Batch is also smth that i keep on going back to sometimes ngl. Afaik the only language that can just be run on any windows machine with a simple doubleclick and without installing/changing anything

simple canopy
keen sorrel
simple canopy
# keen sorrel Python being awful to use is an opinion and I stand by it firmly. I can't stand ...

I would 100% agree to this. Who thought raise Exception is a good way to throw an Exception... and of course it's try .. except for a try-catch block. Or indents being mandatory... It's not like that's a fundamental design flaw. I think Python is quite a solid language to learn to code with, but you will have to graduate to something more sophisticated quite soon, if you actually want to learn to code.

#

I personally hate the fact that it technically doesn't have variables and it is basically object orientation only. And just awkward syntax. I have to use auto-fix features way too often to fix syntax errors... so sad

uneven tiger
silk eagle
#

programmers when a different language is different

cloud knot
silk eagle
#

its a style choice, and with style choices the only thing that matters is consistency

minor berry
#

has anyone used paperspace gradient? im considering subscribing to it but it sounds a bit too good(?)

modest tartan
ruby tree
#

So idk if this is the correct place, but regardless.

I want to make an onpremis LLM used to find where information is stored, reffering to documents on an intranet specificly pdf documents.

I have been working on a botpress free licence to get an example i can use as a showcase but this is a saas solution, and may not meet our compliance standards, as such i wanted to build a local run variant as well

silk eagle
#

nice

spark temple
ruby tree
# spark temple An LLM wouldn't find the data. It'd more help you understand what data is there....

Idk quite how to call it, but the LLM would be the interface, and that interface would then talk to a knowlage base thats essentialy just a folder of pdf's, reffering only to the information relating to this topic, i would like to eventualy include some documentation reffering to weblocations as well for the regulations we deal with, as standard llm deployments such as co-pilot and chat gpt do not work to find these due to how the information is structured

#

It is all semi structured text data to begin with so text interpertation and language interpertation would help with this

#

As an example this is all the botpress bot does, a text doc from the easa website with redirectory's to regulations regarding certain segments is set in the knowlage base, and it reffers to these regulations based on this document, rather then making an interpertation run as webquery which gives the wrong regulations, granted its an outdated document but it still works as a usecase example, wanting to run this with a pre trained llm owned and hosted ourself ran as a bot in the same way is in essence what i want to see if i can, as that has the best shot of complying with our regulations

cloud knot
ruby tree
lucid pelican
#

A startup I advise, Dymium, is hiring for a software engineer with Postgres internals expertise. The purpose of the role is developing Postgres changes to support secure data access and other enhanced functionality in support of their platform:

https://www.linkedin.com/jobs/view/4180044965/

Posted 11:26:01 PM. At Two Bear Capital we believe in partnering with our portfolio companies to help find the best…See this and similar jobs on LinkedIn.

opaque sphinx
#

Does someone here know the best way to learn python?

midnight wind
#

and just google any issues you have

opaque sphinx
#

Thx

simple canopy
#

They have explanations of how stuff works in various programming languages, so you get the gist quickly… also use Intellisense of some sort, it’s gonna make your life so much easier. PyCharm is used by a lot of people, it’s good. VSCode obviously works, but don’t use PyLance. I (and many other people) don’t like it… you can also use NeoVim or any other text editor

silk eagle
#

CS50 had some good explanations of data types and stack/heap whenever I was first starting out

primal thunder
#

Is there any good apps or anything that i can use on my tablet (just got from my mum) while im coding on my laptop?

old arrow
#

Like a simulator or something?

primal thunder
#

a simulator...?

old arrow
#

it depends on what you're making

#

like if its iOS apps iirc they have a thing for that over the cable in xcode

neon oriole
#

sometimes i really feel like is this thebest they could come up with πŸ˜’ becaus i dont know where my cursor is when doing one of these :

old arrow
#

i hate gifs so much because you cant seek around

old arrow
#

what's causing that?

#

yeah i can see how you lose your cursor

silk eagle
#

personally i dont even like the highlighting cursor for stuff that isnt insert (windows)/replace (normal)

#

i feel like its not immediately intuitive if my cursor is on top of a letter and my typing wont replace the letter but instead will insert to the left or to the right

#

but if it does replace the letter then its a good use of the highlighting cursor, otherwise i like having the line between characters

old arrow
#

mine only highlights for the cursor, or selected text in visual mode

#

i think highlighting the occurrences of the word the cursor is on is just visually noisy

neon oriole
# silk eagle personally i dont even like the highlighting cursor for stuff that isnt insert (...

ow no i dont either , and i like my cursor to be a | for everything with |_and the _ blinking for replace , but i do like it that when coding my brackets and ( < ,... share an identical color as its closing sibling... or something atleas indicating what the one is on the other end (terminal supports different color underline double underline overling frame , even tried setting that cursor should blink but not terminal blink but rather use a black and a white cursor and flip them πŸ˜› so it looks loike blinking but si both visible on a black and a white background , but most of the things are either to be set in the syntax hl or or seem to be impossible to configure, even tought about contacting the guy with a pending addittion to unicode again... (takes a while so adding one to his would be years faster or so) for adding a combining vertical long lines so a cursor can share the character field with any char bot before and after the cahr πŸ™‚ eg , then when using that its part of thefont and will combine like zalgo characters πŸ™‚ )

hollow basalt
#

imagine still using a cursor

old arrow
dense pulsar
#

r

ruby tree
vapid grove
#

Aka, I clicked on your name by accident at one point

nocturne galleon
#

Anybody worked on cloud pentesting?

trail scarab
potent lark
#

Sorry if I am in the wrong place, discord is still confusing to me, I want to build an offline touchscreen app to manage players on a handball team, (who's on court for how long, young kids so everyone plays about the same, but it is hard to remember for the coaches)
Ios is out, this is not something I will pay to do, even though I have an old ipad that could definitely do it, so I an thinking used cheap chromebook for hardware, but what can I build that would work offline on a chromebook? Does not have to be chrome os if that makes it difficult

cloud knot
cloud knot
potent lark
#

Gotcha, I will be heavily supported by llm's so I will see what I can find about models that support pwa and Linux to see where I can find the most support

prisma surge
#

Anyone here does html?

silk eagle
#

yes most of the people run into html at some point

prisma surge
#

Can yall help

#

I wanna do a website for a Geometry Dash community but im kinda new to google sites

silk eagle
#

say problem and then more people will see problem and then maybe they help if they can

edgy shadow
weak glen
#

now that's a license

cosmic hatch
cosmic hatch
edgy shadow
cosmic hatch
edgy shadow
cosmic hatch
#

What dotfiles?

edgy shadow
#

this waybar

#

tokyonight kitty

#

and the waybar modified for tokyonight

#

also lightdm

cosmic hatch
#

Nicee

rocky jasper
#

for some reason my playit connection doesnt work... playit doesn't seem to recognize that the server is online. I'm using Pterodactyl with Wings and I want to use playit to allow players to connect globally

This is my docker compose file

version: '3'

networks:
  pterodactyl_network:
    name: pterodactyl_nw
    external: true

services:
  playit:
    container_name: playit
    image: ghcr.io/playit-cloud/playit-agent:0.15
    networks:
     - pterodactyl_network
    restart: always
    environment:
    - SECRET_KEY=KEY
#

I tried pinging the IP and port and it says the port is open, but the agent doesn't seem to recognize that the port 25565 is being used...

#

The server is online but one thing to mention is that when I use nmap -p 25565 localhost, it says:

PORT      STATE  SERVICE
25565/tcp closed minecra
ft
fading osprey
#

Make sure you add the port binding to your docker compose file

silk eagle
rocky jasper
#

(Replying to both @fading osprey and @silk eagle)

I tried both by adding the ports: - "25565:25565" line, but it failed since the pterodactyl container was already using those ports... it's like I need to link the ports between the two containers and I am not sure how to do that

silk eagle
# rocky jasper (Replying to both <@180639594017062912> and <@579450993167564811>) I tried both...

im not entirely sure of the specifics of the tools you're using, i imagine the problem is pretty simple but I don't know anything about how your stuff is setup. three questions

  1. where is the pterodactyl_nw set up/how is it configured
  2. are you running that nmap -p 25565 localhost inside or outside of a container environment
  3. how is the pterodactyl service being composed? problem could very well be on that side of things, not on the playit end.
rocky jasper
# silk eagle im not entirely sure of the specifics of the tools you're using, i imagine the p...
  1. I don't have the information for that since I installed Pterodactyl Panel following a tutorial and I never bothered to actually understand it, this is the tutorial I followed: https://www.youtube.com/watch?v=-vtWDw1H-N4
  2. I'm running the command outside of a container environment, directly in the host
  3. I don't know how it is being composed

What I do know is that since Pterodactyl container is already using the port 25565, playit cannot use it. I need to figure out a way to either link both networks to use the same ports or share the 25565 connecting between the two containers

cyan rose
#

I don't know who needs to hear this. But remember: the denser you make your config files, the more code is required to unpack them.

cobalt mulch
#

Hi, Its been a lil over 2 years and I only just realized a month ago that learning C would be the best for what I want to accomplish out of programming,

after doing some web dev classes in college (still in CS just not webdev),

I realized that field is boring asf, also what I learned was that language doesn't really matter for mastery, its more about mastering ALGORITHMS

and coding is the easy part, the hard part is really just the algorithms, also I know more how to sorta self-teach myself now compared to back then lol,

…and I like really like the high problem solving gives

silk eagle
# cobalt mulch Hi, Its been a lil over 2 years and I only just realized a month ago that learni...

algorithms are good to learn, but dont get too tunnel visioned on solving countless leetcode problems. learn algorithms, but then challenge yourself to find out how you would apply them in real world scenarios and then do it a few times in different implementations. you learn the recipes (algorithms) and then you get experience cooking the dishes -- maybe you substitute an ingredient here or there to learn what happens.

cobalt mulch
cloud knot
#

me having decided what i want to do, but then i am looking which language even supports that feature on WIndows. Plus learning the early steps is annoying. So i scratched Go, Node and C# due complexities to get the feature i need. Might end up doing Python even if i hate it with every fiber of my being πŸ˜„

vapid grove
#

Over language mastery and algorithm prowess

floral ice
#

Fnaf custom endoskeleton head wich one loos better?

modest tartan
#

how do i use comments to make it so people who does not know what the code does even do

clear warren
fading osprey
#

depending on your editor, you can insert a comment using the ctrl+/ key combo, this works for most programming languages and editors

modest tartan
clear warren
#

wait actually sorry mb use #

modest tartan
#

i know how to insert comments i just don't know how to do them well

clear warren
#

you can use ChatGPT to add comments but depending on the code ChatGPT may be right or not, it mostly depends on your understanding of the code you wrote and python, additionally you'll have to be good at English too or the language ur going to use for the comment

#

You can also make adjustments to Variables to make it easier to read in python

keen sorrel
#

Some would disagree, but imo needing a comment is a red flag that the code could've been written more clearly. There will always be exceptions, but you should be striving to minimize them.

wooden stratus
#

Decent code should generally be self explanatory and comments should be used sparsly and only to explain why something is done if it isn't immediately obvious.

For python in particular, I'd recommend reading:
Zen of Python - https://peps.python.org/pep-0020/
Style Guide - https://peps.python.org/pep-0008/

silk eagle
#

most common place for my comments is when theres math involved cause i dont do math very well

vapid grove
eager edge
#

I hate visual basic

#

Blah... I've started a monster... My code grew from like a 100 lines to 1000+ for a simple small database.

shrewd valve
#

why are you making a db in vsb DANger

frozen flame
#

"Simple" database
...
...
Hahahahaha

peak acorn
#

that is a very verbose language

shrewd valve
cosmic hatch
frozen flame
#

Sqlite has a place

cosmic hatch
frozen flame
#

"Any large scale application" is not that place

#

But it's good for client side stuff

shrewd valve
hardy forge
keen vessel
#

Me makie smol gam

vale narwhal
#

Anyone here experienced with writing a purchasing bot? I’m a developer but I haven’t done that yet. I just want one 9070 XT. That’s all

cloud knot
frozen flame
#

Postgresql is the best option for server side stuff

cloud knot
onyx wasp
peak acorn
#

Wave emoji

onyx wasp
onyx wasp
vale narwhal
onyx wasp
vale narwhal
#

What do you need?

onyx wasp
onyx wasp
vale narwhal
#

What has been your favorite project so far?

onyx wasp
#

I am interested in Tech Upgrade Pranks.

onyx wasp
vale narwhal
#

Yes?

peak acorn
#

You talk weird as hell homie

silk eagle
#

this looks like 2 llms interacting with eachother

old arrow
#

no, i can see your message that means your internet is working

keen sorrel
#

It's my first time designing something with balls. Trying to do it without blind vias is particularly challenging, but at least it's only two rows. Power circuits are mostly done, so now time to plan I/O fanout

#

22x42mm btw. that usb c port in the top right helps as a size reference

hardy forge
# cosmic hatch use local instead

Yeah I might but sadly I don’t have a nvidia gpu and I’ve tryed running ollama with my amd gpu but it just doesn’t work

shrewd valve
#

make sure the model actually fits into vram. ollama worked out of the box for me on a 6800xt

cosmic hatch
keen sorrel
#
(rule "BGA clearance area"
    (constraint clearance (opt 8mil) (min 5mil))
    (condition "A.enclosedByArea('BGA Fanout')")
)

Just found out you can do rule area based clearance with custom DRC rules in kicad. That way a net going from a ball to some bigger part doesn't waste machine time with tight tolerances in the whole net

#

Now I just need to reroute a bunch of nets before I discovered this...

cosmic hatch
#

I need to do it some day

#

Have any tips on how to start?

keen sorrel
# cosmic hatch Have any tips on how to start?

Probably an electrical engineering course first. I recommend MIT OCW 6.01 and 6.02 at least. Besides LDOs, just use external power supplies (unless you also want to learn that, 6.622). Stick to large pin pitch parts. Get ready for a lot of datasheet reading. A pi is the obvious choice as the board to connect to, but if you wanted to learn MCU programming too then there's the pi picos and plenty of other dev kits to attach to.

past crest
#

Would a PCIE m.2 card be useful for a game dev / gaming machine?

keen sorrel
past crest
#

Is it super jank

#

Like would I have to do a lot of work just to install games and shit on it lol

keen sorrel
#

it's exactly the same as any other storage device

cloud knot
# past crest Would a PCIE m.2 card be useful for a game dev / gaming machine?

the M.2 slot on motherboard is literally the same thing, it is still just PCIe lanes routed into M.2 slot. The fact that it is on a PCIe card doens't change anything. (well, technically the PCI-e slot can be slower, so you could have a PCI-E 3.0 slot, thus you can't get PCI-E 4.0 speeds via PCIe M.2 adapter in that slot, obviously)

cosmic hatch
#

Git is truly amazing

nocturne galleon
#

God gitteth and he tacketh away

weak glen
#

God gitteth and he microsofteth away

fading osprey
#

Git pulleth and rebaseth away

edgy shadow
#

sudo rm -rf .git

vague ruin
#

vscode minimap crashed lol

last crescent
#

In a stroke of genius, i found myself.
Birds are eating my grass seed so i thought, why clap at the birds myself when my pc can do it for me
i bring you, pigeon detector 9000, detects pigeons and plays an audio file of your choosing!

grizzled steeple
#
console.log('Hello World!');
edgy shadow
#

now write "hello world" to the console in assembly

weak glen
#

which architecture

edgy shadow
#

x64

uneven tiger
edgy shadow
keen sorrel
#

anyone else ever get distracted by another part in a category they're researching? HMC630x or RWM6050 go fast. I don't think I have a need for 1-10Gbps mmWave rn, but it would be cool

opaque cradle
#

I'm looking to host my own website, a portfolio 3D website of some sorts where I can show information to my clients easily

#

I have a server I want to host said website on but not sure if it's the best idea

#

My current plan is to get a domain from cloudflare and also use their proxy

#

I seen a lot of people saying that setting up cloudflare proxy is overkill or that it takes more time than justified to do all of that

#

I don't want my IP to be public to everyone so I feel like proxy would be a requirement but idk

#

I also live in Europe, I wonder if the web page will be slow for users in US, there would be a lot of high resolution images

midnight wind
#

idk who's saying it takes more time than justified, it's super quick if your just starting

midnight wind
opaque cradle
#

I see I see

opaque cradle
#

Cloudflare pages, its lovely when you go to the official website and its so full of tech jargon that you still don't understand what it's about

midnight wind
#

there are also programs that will generate that for you, such as hugo

#

you can't host anything like wordpress which requires a backend (although cf has thier own backend if you want to be locked in via thier workers concept, but that's another story)

opaque cradle
#

Is there any limitation to files or anything, since this would be a portfolio site I would host a lot of 4k images and or videos

keen sorrel
mental panther
#

If you're buying the domain through cloudflare there's no extra setup

#

And if you're not buying it through cloudflare, it takes a couple of minutes to setup

#

And then maybe some hours of waiting for nameservers to update

edgy shadow
cerulean tendon
#

i'm having issues trying to compile and initially test source sdk 2013 multiplayer, where even when fixing select issues it still errors out

#

having steam running and trying to run the sdk gives an in-use error, and without steam running it still errors out

gleaming basin
#

it's funny how light you can make a website when you say no to frontend frameworks (this even is with tailwind v3 tho)

magic ledge
#

not totaly sure if this belongs here but i want you to marvel at my DB with an ID index thats 772mb

red trellis
peak acorn
#

wouldnt hello world in assembly basically just be linking the print function and calling it

craggy harbor
cyan rose
#

If you're close to the BIOS, you can send the string to the correct buffer and your BIOS will print it for you.

#

And if you're not... it's a similar buffer operation to reach stdout of your environment

cloud knot
craggy harbor
stoic charm
#

I've been thinking lately if there is any program which can use temporal pixel binning to add detail to a video (if the scene in question is moving). I mean by using data from previous and next frames to merge that detail with current frame in question. Is there any program that's good for something like this or some command line tool or something along those lines?

keen sorrel
# stoic charm I've been thinking lately if there is any program which can use temporal pixel b...

Motion vectors is what they call the extracted temporal information if you want a term to research. It's most commonly used for interpolation on TV's to do motion smoothing. Motion blur is when you don't add frames and instead modify the existing frames with it. TAA also makes use of that information but for antialiasing instead (though that also ends up blurring too, which is why it's pretty hated).

#

oh and optical flow is the other term used often

stoic charm
edgy path
#

anyone here who uses neovim need some help with configuring kickstart nvim

keen sorrel
# stoic charm Okay thanks, I am essentially looking for a way to take details from previous fr...

The one example I know of that adds details involving optical flow is DLSS 3.0, but optical flow isn't directly adding the details. It's part of the input to a generative CNN that does the actual detail adding. I don't know of anything else and iirc DLSS 4.0 no longer does that. I did a couple Google searches and only found a research paper, but no software that has attempted this.
https://www.sciencedirect.com/science/article/abs/pii/S0925231222002363

stoic charm
neon oriole
#

quick question , but if i do in javascript (yes im committing treason but anyway) if i create a js var whatever='example'; var arraystuff=["",whatever]; fucntion main(){ arraystuff[0]='prefix'; whatever='middle'; post(arraystuff.join('-')); } i would have expected to see prefix-middle , however i get prefix-example, so how do i get the behavior similar to adding a pointer ? (figured everything would have been a pointer anyway in a dyntyped language, eg in python it is so and emulates the behavior on top aswell)

neon oriole
# stoic charm Okay thanks, I am essentially looking for a way to take details from previous fr...

i would think this is impossible to do , unless you can use a higher quallity remaster like film ) since every frame would differ a bit from the next, due to things moving and more so a moving camera , even when lets say the camera moves away from an object thereby loosing detail , using detail form the frames before will have different lighting on the object changing with the distance , its how we perceive 3d in the first place... using that to increase detail would have you also retrace the exact lighting for each frame to adjust for that , since the lost detail also loeses that information, using the increased detail of keyfreames or b frames or whatever is in essence the same, what games currently do is essentially run the game and record it at ultra ultra high ress filter only the detail out and not the structure , and ask a circuit to gven these two low quality checksums wich detail pattern should i apply on top if i scale them , but the detail that gets added is not the original detail , (take a low quallity of your retina/iris and a verry high quality one, then apply ai upscaling on the low quality one see if it adds the details that are missing in a way your hq imalge has itlooks, and not how a generic eye would look , another good example woudl be to make a hq recording of white noice , create a lower quallity rip of it and regenerate it, whats lost is lost, if you record a radio station , while all frequencies of the other stations were in the air at the moment , you cant recreate them form the recording because that information wsas lost πŸ™‚ the reason they can do digital remasters of Film is because film is an analog medium with a (for imax 70mm film for example) resolution equivalent to 16K digital video, (only with film is the size of the grains compared to the size of the frame that determen what resolution can be gotten out ofit ":)

cloud knot
cloud knot
neon oriole
#

i read : so if i wrap it in a 1 item array first and pass the name of the array it does work?

#

or arrays arent objects probably

cloud knot
neon oriole
#

ah you just posted that aswell missed the last thing πŸ˜„

cloud knot
#

no, every single member of array must be an Object instance. If it is a primitve type, it is passed by value

#

(the toString methods would be just to have a convencience method for this)

neon oriole
#

jeah i hate js really , and its not even for webstuff or web-like stuff , tis for the Max Live API , and this is what the alternative looks like :,