#development
1 messages Β· Page 19 of 1
Neovim.
this vhdl stuff is insanely fun so far. granted i only made a two bit comparator π
I have a crappy VM I run VS Code on π
Trust me, i know html /j
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
Me too
</div>poop head<div>
who feels to work some projects? π
No thanks. I've worked all I can work for the day. It's time to game!
Hi, bro! I want. But what's it for?
In this tutorial I show how to read and write from an SD card using software in a Zynq base system.
In this Video I show how to read/write a binary files from/to SD card.
This tutorial is based on my: DMA basic example video:
https://youtu.be/ELfnMsWiQFQ
and I'm referring to my: Saving Vivado project in Version control video :
https://youtu.be/...
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)))
@blissful locust hi bro let's connect
It feels like a sudoku puzzle at this point
Either that or I've just been playing too much sudoku
checks if a date is in a leap year
the only reaction is "but why do it viaregexp?"
unless that regexp is taken from PERL code. PERL people did everything as regexp
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

What's the issue
Preferably in pythonic terms
i am not sure how to explain in pythonic terms but ill give the context behind it, also really appreciate for reaching out : )
Alright
π
Just send the assignment and what part you are struggling with if u want
lol chatgpt. maybe learn something
But I will explain not do for you
Same people who coded the Sonos app 
(ignore bob, chatgpt can be great for explaining concepts and approaches. Less so for generating code)
... he literally said he is trying to use it to generate code
also: no.
chatgpt is great for producing words.
w3schools and a cs major brother are the most valuable resources π«‘
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
there already exists plenty of references for programming.
That's too high level a question
Please don't talk to chatgpt for doing assessments for you, very bad practice
You have to think to yourself what's the step by step process you want to take
Split the crit chance question into smaller ones, fundamental compsci
then smaller again
Do it a couple of times, and... Oh wait, there's code on my page!
but the calculations will be done by me i just want to know when it crits and if it had an effect on the game
At this stage of learning, doing a logical flowchart is the usual approach
What does critical mean?
Every attack, run a random chance, then decide what effect it will have
Agreed, you should have been taught this btw
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
i am a science major student and this is my small research project on maths and probablty for my extra grades π
And you choose and entirely different field that isn't science or math πππ rip
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
Here's an example. Critical means that 1 in 20 chance of doing double damage
i feel so dumb rn
yes
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)
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
Or something like devin
but my main issue was it says invalid syntax when i tried
Exactly my solution, I was thinking using ints instead of floats though ngl
That's easily fixable, send the error and the code in backticks
Can't remember what python random number generates by default
?? Randint, randrange?
It has 2 default arg and 1 compulsory
Step and beginning of range, end of range is compulsory
yup sure give me a min
@vapid grove
I'm actually surprised, always though randint had a step Param, apparently not π€

the first instruction was to this one and it show some error when i tried it
Are you in computer science?
Oh dear
No, he's in science and doing a math project
no 
You can't type shell commands in IDLE (python ide)
Surprised you aren't doing this in a spreadsheet tbh
Anyways, I suggest picking something else for your assignment
You could easily make this game in one
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 π
yea frick it, ima do this manual method
Powerbi vbasic ahh game
thanks @north raft @vapid grove for the guidence and i will try to do my best in this
Good luck!
I couldn't get this code below 660 bytes.
It's my brainrot attempt at a matrix effect using javascript 
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.
How far are you over?
I want under 512 bytes
Wondering if you can alias a few things to save a few bytes and use var over const or just pure globals
If it was in c# I could probably make it way better
My only experience with Java is 20 years of osrs.
I was trying to compress .bmp heightmaps and got distracted by this thing.
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
Did it not execute?
(it's just to show what I mean by aliasing)
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.
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
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
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
How do interrupts work on hardware?
I think I'm stuck on maskability
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
A Generic Interrupt Controller (GIC) takes interrupts from peripherals, prioritizes them, and delivers them to the appropriate processor core.
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?
Not sure about z80, but GIC will only preempt an interrupt on a PE if it's higher priority.
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
If you want to learn a simpler GIC than v3/v4 that's still in modern devices, then check GIC-400 (a GICv2 IP)
https://developer.arm.com/documentation/ihi0048/latest/
https://developer.arm.com/documentation/ddi0471/b/introduction/about-the-gic-400
There isn't a single way to do interrupts so you'll just need to research whatever architecture you decide on.
Currently thinking that given the spec, I could probably just poll
With an opcode for polling the next core
non-maskable interrupts weren't added to GIC until GICv3.3
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
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
yeah dropping interrupts as the abstraction im using, since the original spec treats it more as a poll
can i ask stuff abt arduino in here?
hi everyone
these CSS style pages are getting out of hand https://cs16.samke.me/
i hate this codeπ it wont display anything in the pygame window and theres no problems in vcs
I love developing a beyblade game
What are you using as an engine/library? Unity, unreal, something else
Roblox!
Oh nice, I can see it working well on that platform! How do the physics hold up there for something like this
Its fine ig for the most part, i still have to script sometimes the physics
pcb2blender is so good
makes any crap looking pcb you design look amazing by comparison
i aint gonna lie to you chief
What's the source file needed for it?
KiCad/pcb3d from a quick google
kicad plugin and blender plugin
`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
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
oh I didnβt take into consideration that I need to pull from a website lol
as in non-excel data? pandas can handle quite a lot of formats, including (some) tables made in html
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
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.
books these days https://www.manning.com/books/just-use-postgres
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...
you do realize mongo these days is a worse product tho, right ?
in 90% of cases, you want relational anyway
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.
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?
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.
what i'd do is
then below the else return false as a safety net
and that way you:
- dont have to rewrite your logic
- 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)
It's a problem where you're calling boopSnoop. async functions return promises. you must call .then, i.e. thing.boopSnoop().then(returnedBool => ...)
Yep, I solved guys! Thank you all 3 of u
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)
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
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
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.
?
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
can optimize a function a million times but honestly with these languages like TS/JS/Python I think best practice is to be consistent with the styling since its gonna be read more than its written
i can read yes , so which one uses path from the passed in envp[] ?
execle() and execvpe() takes envp.
execlp(), execvp(), and execvpe() has the PATH logic.
Thus execvpe is the one you are after to my understanding.
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
https://getgotak.com/ ima just leave this here
seems fun, but why
here is what i got: need the p, so it searches the PATH variable for the specified executable, need the e to specify an environment different to the callers to be passed to the process , and the only one that has both , they specifically say it does not use the passed in env but the callers env to search the executable in so
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 π
idk i like mobile stuff
Has anyone here had any success with using a rs232 cable to access a raspi's command line?
The UART console is disabled by default. raspi-config has an option to enable it if you have that utility, otherwise you can manually enable it in config.txt with dtparam=uart0_console
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
Are you talking about connecting a DB9 serial port of a PC to the UART pins of the rpi? If anything that'll be less easy because you'll need to breakout the TX/RX pins of the DB9 on the rpi side. Most usb to serial converters are already just pin headers that you can plug right into the rpi pins.
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
Instructions on how to prepare a Debian Raspbian for headless USB serial console use on a Raspberry Pi Zero, Zero W, A and A+ boards using USB OTG (gadget) mode. Note that these are the only models where it is possible to do so as they don't have a USB hub and the OTG mode is available for use.
oh pi zero, that's not the same as the rpi 2/3/4/5 that I had assumed you were using
Yes, it would be simpler to just connect that usb to serial converter to the UART pins (14/15). The pi zero enables those by default so it should just work
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
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
make a small program to run cell spu binarys
alreddy proveing useful
Whole life spent hating react/angular/whatever only to actually use one of them and fall in love.
nice
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
which one?
the whatever one
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>
Angular
Why is it in german lol
to confused ppl
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 π
Do you have a budget for this? Maybe something like levels.fyi or an AI focused tech board https://www.levels.fyi/jobs?from=subnav&jobId=135647270522495686
Yeah we have budget, we are hiring into the company (remotely) within european'ish part of the continent (mostly due to logistics of being able to sometimes have meetups and we are not fat stacked with VC money to piss it away on intercontinental travel.... for now π )
but I didn't consider levels to be honest, thanks for reminding it exists π
If Europe, there's a UK focused version of levels.fyi that may be worth a try https://compclarity.com/jobs?size=10&page=0
me: opens page. first 5 jobs: Crowdstrike. giggles
thanks, added to bookmarks.
thought we are more central and eastern europe based (and even turkey)
Funny story, now that it's 'biggest' tech company that no one used to heard of, they are actually doing better than they were pre incident
there's no such thing as "bad PR" π
Yes create a clone of a company that is starting up get it a lot of followers then start being mean to people then hit them up they will pay for the acc life hack
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
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
Why C99? π
dont build anything without it
give a warning
not looking into it more
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?
you sure you got sda scl right way
Hello, I want to make a desktop application, what language should I use?
C, C#, Rust, literally anything except Javascript.
javascript. with more javascript. load javascript via fetch request to load more javascript. electron. the oldest version of electron available
depends on what youre trying to do, operting system, support for anything youre interracting with
So I should'nt use electron?
Not if you want your users to like you
Okay, well, which of the three you mentioned is the easiest?
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.
python is nice and easy if you use PyQt as tookit (easier than c++), and for the stuff that somehow does require superhuman response your can offload that part to C code but usually python is faster than any human on the planet so
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
curl -X GET "yourwebsite.com/search.php?query=' OR 1=1; --" for example
https://www.youtube.com/watch?v=ZuCi-lPkWMA something I am developing
Contact me via facebook.com/DDoSeD to purchase the source code
I'd sell the source code of the build for 40k
40k for something like that????...
Does anyone know where to get help for Oracle Apex, because I have some problems? Myb some discord servers or something.
hello
... no? it looks cool but it's just some ui bro π
They clearly meant Swedish Kroner.....
Is there any way to have vite automatically upload images to cdn and then replace their references with the cdn?
Just use a cdn, you can put images on cloudflare images
And if you use images on a cloudflare pages website with vite I'm pretty sure it goes on their cdn automatically
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
That is still 4000 usd :D
I was being sarcastic, no matter what it's absurd lol
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
feel like this would be just much easier in imgui
Not really, its the same imo
Although I guess imgui is cross platform
to be honest i havent worked much with imgui just messed around with checkboxes, sliders etc
I mean it looks about the same difficulty
Although IMGUI looks a tad bit more complicated because you also need to integrate it with a backend
QT is just QT.
yea im a beginner in cpp trying to get in gh lol
On that note, how do y'all pronounce QT?
qyu tee
QT is horribly complicated once you actually start doing something with it.

uis just suck to make in general lol
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.
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 π
wrong answer >:(
fucking electron apps eating all my ram
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...
A good electron app doesn't eat RAM
Its lazy devs who just throw a regular web app into it that makes it suck.
well theres no good electron apps then
.
Let me clarify : every link is correct however I'm still getting invalid credentials.
lmaooooo
Anyone know the default settings for first broker login in KeyCloak ? I messed my settings up kekw
man I just love bundlig. 100mb+ browser with every app I make
tauri for the win π
JavaScript noises
tauri or slint for all the GUI stuff because rust
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?
nah there's a better alternative to electron than tauri if you're a JavaScript lover I just forgot what it was called π
better than shipping with the entire browser + I don't know if it does that for mobile apps
nah fuck it, JavaFX π
I disagree personally. Stability is going to hugely important in a lot of cases
neither of those gurantee any stability, it's just saving you 100 megabytes
Google releasing breaking changes to Chrome is not uncommon
slint π₯
Packaging a known version of Chromium prevent those types of issues
skill issues of a browser vs not using the browser at all. just don't use web frameworks for apps
now what if a certain version of the host os does not play well with that version of the browser ? ,... really you should considder also packaging the os with it so it will defenetly work and all versions are matched !
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 (||π€¦||)
Vscode is electron
Vscode is still fat
hella fat.
It's not just a ui the full version works
def not more than 1k bro
With the api's connected it is
no
we can agree to disagree
I could make the entire thing in a couple of days it's not worth 40k whole ass dollars π
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
yeah
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
Working on judgement joker for my roblox beyblade game
Are the API's paid?
It would be a real shame if this gets open sourced in like 10 minutes then
Oh no guys
Manage your car dealership with ease
lmfao
wtf is this even
https://youtu.be/XNuiIg2S4uk?si=pghgPoCz-nQuKshv
Showcasing a shell command runner for flask?
basically exec(userinput)
do you like my totally 100k dollar car dealership program
or subprocess.popen whatever whatever same thing (i know its not)
okay done
you kinc of made the point there i guess, no arguing on that , vscode realy shows how bad electron is ...
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
edit replace ceckoutput the call to the script the with a execvpe or so also register the function that runs teh execvpe with atexit π
what π
english please? that's not my video btw probably read the rest of the discussion
sec i write some mokup
Yeah no
They already have software for that, that's the thing
Would need to somehow be drastically better, switching software in companies is no easy task
something like :```py
@api.route('execute')
def executor():
...
def restart():
execlpe('python',['python', 'flaskexec.py'], environ)
atexit.register(restart)
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
Again, speak english please and it's not my code or video. Please. Read. The. Discussion.
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)
I see you had the fortune of interacting with Clumsy π
yeah totally didn't spit out the same program in 20 ish minutes
do you like my amazing vid bro
π
now i am wondering if it is really his
bro is more a businessman than a dev.
selling other's work
Almost perfect. Just missing a Bandicam watermark
i was wondering that, I had worked on something VERY similar before recently
I guess everyone thinks they're getting rich of car dealerships
i dont think so anymore
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
before recently - peak grammar
wait? the data is the same?
go ask your BA to fix your english
On both sites it's the same vin??
right 
i think you can sell yours for 39k so you win
ehem, our vin numbers match? ykw that means right?
you hve the same car
Ehem, lemme introduce you to https://v0.dev/
Seems he used that as well then... π
Ah yes lemme just use ai tool then charge someone 40k for it
haven't used v0 before so idk
AI tech startups
v0 is fire, using it to make profit in 5 minutes is dumb
looks like i gotta learn how to use it,
Then post in upwork or sumthing
to the moonπ
I'm aware
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
I think you got ratelimited
Na it's my proxies
I gotta proxy chain it more and add a little more multi threading
@old arrow "add multi threading" π€£π€£
yes so you can make it scan faster
yes, we can capture scroll events. Welcome to web dev
scan what?..
For username's that are not taken
what's that have to do with sort of Xbox home screen?..
on diffrent social media platforms
Ohhh, ban speedrun you say?
@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
`add to what
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
Finally he's gone, he was kind of annoying.
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 ........
I've written a bit of PHP if you can send it to me
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
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?
I don't know anything speicifc about these libraries but somewhere the openGL context needs to be provided and it is failing
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
If you want to fix it yourself I would look in this area of code:
https://github.com/flutter/engine/pull/26789/commits/900d15c72e0ed09e830198a6282b1944aade05aa
figure out why eglGetCurrentDisplay isn't returning a context
(it's a native openGL method)
Itβs been 3 years since the original GitHub repo was updated unfortunately it seems like they kind of gave up on it
And I canβt find other plugins that would do what it does
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
anyone got any idea how to install PyOpenVR addon for Blender by any chance?
or pip archives in general
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.
I come up with 886.6 myself. Are you sure that Unreal measurement is correct
yeah my bad i mistakenly wrote 843, however, Im using unreals built-in measurement tool and it just isnt close. i tried switching from Unreal units to meters and its always like 100+m short
I did the math by hand and used an online tool, I can't see how unreal got 1000 without taking height into account
i couldnt either, i looked through the documentation, nothing, asked around in the UE disocrd/reddit/forums, zero answers.
had height incorporated aswell, but no
its just like usual proprietary garbage where theres no real way to understand the backbone of the framework
Is it part of Unreal itself? They should have source publicly available
yeah its builtin but the engine is closed source afaik
Engine has public source
oha, didnt know that, thanks
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
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
this is why every site is slow as fuck isnt it
it reaaaally seems like every site is slow as fuck though
yeah but not because of this one thing specifically
i would say usually you don't even want BE and FE to be same programming language
for a typical backend, i would say something like Quarkus (Java) is a way superior choice to a typical Node backend
I think that's an arbitrary limitation
use what's better, but don't use something different purely to make it not the same lang as the fromtend
well in case of Javascript not so much, for example NodeJS multithreading/scaling is pain, you need to hack it with something like pm2 etc
"[not the] same programming language" is the part I'm saying is an arbitrary lkmitation
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)
Wrong
It's all react-native these days.
i sincerely hope KMP will kill react-native, but i have doubts about the JS community being able to move away
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
oh god, my username for my 4 latest commits has been "--global"
Whats a good Code editor for semi new coder using JavaScript
VS Code is usually the go to for most developers.
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.
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
webstorm or vs code
notepad
emacs 
vs code
eMacs
exists anyway to unlock cpu freequency by powershell??
senior stuff https://en.wikipedia.org/wiki/EMac
lol apple trying to autocorrect to emac instead of Emacs
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
a few senior devs on these channels
yes
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.
in Canada?
Yup. I report fraudulent / illegal / misleading job postings on LinkedIn and Indeed on a weekly basis.
best book for c# and python do live in australia if that matters
C on the #ie (australia)
huh
what
It's about the same as it was 6-7 years ago
i suspect people who are complaining about job market also limit themselves to FAANG companies and if they get offered anything bellow $200k they consider it a joke offer
what would you say is the best way to apply for internships?
No idea. I don't really differentiate internships from having a regular job. Work is work, no matter your experience level. Operating a company expecting every single person to be fully trained before hiring them isn't realistic. To me, an internship is more or less similar to an Entry Level role.
are you working as a swe by any chance?
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.
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.
and do you have any suggestions for which language i should focus on. i start my uni this fall
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.
thanks for the help
it all comes down to what area you actually want to lean into. Mobile development is different to web development is different to backend development is different to database stuff is different to stuff you would use for devops...
devops is just bash and extreme yaml 
depending. might be ansible, python...
this is known as a joke
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...
Indeed. Don't get me wrong; I envy those who've managed to wrap their head around development, but with so many companies operating like the following posts... I just can't. π€£
this is why i just do open source rust dev 
that's known for not being controversial, right
I mean, IDK why you would want to put RUST into your computer. My water-drainage programming specialist usually recommends avoiding Rust if you want Metal to function. π
luckily i have no use for Metal (https://developer.apple.com/metal/)
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
cant go wrong with learnin one of the more difficult languages if you dont know what you want to focus on yet
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)
I have a volcano in my gpu
i guess vulkan-o
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
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.
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...
sounds to me like you learned the importance of a killswitch tbh
yeah, this was a fail
but we live and we learn, they arent the first or the last project
Do you have a contract in place? Does it have an exit clause?
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.
we do, and states that we are no longer involved at all once terminated
What's the exit clause terms?
"Founders may terminate the Developersβ services entirely. In
such a case, Founders shall owe no compensation to the Developers for undelivered or
incomplete work."
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
"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
the person in the chat outright terminated us a while ago
I would personally get a solicitor involved at this point, even just to retroactively check the terms of the contract and current situation
Do you have it in writing?
"You have been terminated due to inactivity and breach of contract. All the best"
via a chat msg
Screenshot it. Do not reply to any further comms. Block their number
I have a full backup of all our chats with the person
Was this before the chats you posted above?
this happened in the group that I've exited twice before they added me back in
yes
what if they add me back to this group?
Blocking the numbers should prevent that
Also, look at WhatsApp privacy settings https://faq.whatsapp.com/1131457590844955/?cms_platform=android
Even without that, leave, don't say anything
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?
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)
Doesn't stop people being people
noted
This applies to you too. There was no reason to reply to them after they've terminated your contract. Yet you still did
fair point
"didn't had" what is this guy 8? π
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.
i havent been in this server long enough to know those were hidden
Same here
it's not a 3rd party client and its not even a screenshot from this server, that's just how it appears for people
Voice channels you have perms to see but not to join appear like that
ah ok
bro did not cook
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?
why do you need a US number for a whatsapp bot? this screams spam/scam/fraud to me
is there another way ?
what are you actually trying to do?
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
what we call when 8 mosquito bite you....????
?
Want to learn programming and I want to start with python any book recommendations
yes good
Where in the docs does it say you need a US number?
can you recomend a book?
I hear George Orwell's "1984" is a good book
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
This is gonna sound silly, but, did you install openssl-sys
whats that?
and how do i do that?
Best suggestion is Google it, because I don't use MacOS anymore and haven't for five years
google is unhelpful. ive been at it for 2 weeks
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
Fuck you! And your self promotion rules here. I'm really starting to hate humanity like Bill Gates. And goodbye!
Don't let the door hit you in the ass on the way out
is there anyone who using Linux for android development?
Lmao tf
Yea? Why
It's great, why you mean?
https://automatetheboringstuff.com/ is supposed to be pretty decent
https://www.youtube.com/watch?v=0mCsluv5FXA no comment
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...
the bane of our existence - the "will fix it later" https://x.com/marcelpociot/status/1895223698338230360
proof that devs were always lazy
for verifying you need temporary number in the us
Maybe I should add an automated weekly report that sends every instance of "// TODO: " in the codebase lol
TODO FIXME etc
Exactly lmfao
or just set up sonar (sonarcube) and let it report it for you
TODO: TODOs.
That occasionally is my day when working on my own projects
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
What are you making? A site with weapon specs etc?
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.
basically, an interactive website for comparing weapons, yes. its less of an utility and more of a for fun project. my main motivation for this was that tf2's weapon stats are horrible in terms of readability, and i wanted something to directly compare them
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
Depends on how far the js/front end rabbit hole you want to go really π
You can for example use react and some bundler like vite to build the site or you can just use vanilla JS with html and a text editor
https://svelte.dev/ is another alternative
As well as https://nuxt.com/
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...
The 4 hour mark is probably close to what you want to do here
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...
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
wait till you find out about php
oh you found out about php
ive been told security has only been an issue with old php
how is it then that i never have seen people promote php blockers?
its always js blockers
im no PHP specialist but my understanding is that PHP is a mostly serverside language.
javascript can be serverside, clientside, anything. works a bit differently on the serverside in that its not running in a browser.
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.
its very hard to create a security problem in javascript on the other hand.
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
i dont think youre getting me, javascript can be executed by anybody. its on the server side of things to verify credentials. if there was some crazy security vulnerability in javascript that some random person could run into, imagine how many other sites that would affect. 99.999% of modern websites rely on javascript in some way
so the paranoia around it on places like tor is unfounded?
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.
fair fair. i mean in the end, why should i use JS over php?
and yet, on the server side of things, javascript being enabled or disabled is irrelevant. you could write your backend in crayons photocopied and computer vision text recognized into bytecode and it wouldnt matter to the end-user if the site works fine.
you should use both if you want to use PHP.
ooooooh
frontend javascript
backend php
this is perfectly fine
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
nope no clue, i use vanilla javascript in the frontend because im psychotic and too stubborn to use any libraries or frameworks. i also make ugly websites that people dont like but i like them because theyre fast(ish)
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
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
I mean vue.js is really good. It also has full-stack options (Nuxt.js I think it's called, but I never used that, I prefer to write my own integration and actually just serve the webapp as a webapp from apache or so and then have a separate backend on a different URL
hahaha. My personal website is vanilla (and loads rapidly), but some of my other websites are webapps written in vue I am working on a new website that will be a tad slower, because I am loading more images. But I have a lot of optimizations in place. Like only loading the not necessary images after DOM load
Found a cool project if anyone is interested https://www.npmjs.com/package/capacitor-xbox
Buy a domain, and get a TLS certificate is always a good start
easy look at discord , compare and see what you are missing. most things in discord make sense.
- whats that whole list of "usernames" ? Its weird.
- why call it supported servers and not just "Serverlist" .
- I can make a message without a username.
- centering of username. handier to have it top left.
- hide the server ids on titles. you do not need server id's (socket channels?)
- "This is the best service I've ever used!" β Happy Customer
really ? good ironic feedback π - 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. - set username and picture should be hidden behind a "Settings" or a gear window like discord got.
Ensure the site doesn't have egregious bugs, like this one that's causing the site to attempt loading resources that don't exist for INFINITY time.
And we're STILL going, almost 300s later, trying to load the same batch of non-existent resources.
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
Indeed. It's one of those sites I'd immediately blacklist via DNS if it were a production site.
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.
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
whitespace differences probably? Is there a trim() method
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
this fixed it
thank you π
my new for-fun activity is creating horror films using python
python's lambdas and functional-style-functions are so awful to use syntax wise
python~~'s lambdas and functional-style-functions are~~ is so awful to use syntax wise
nah syntax of normal python is fine, its basically any other high level language
python sucks
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.
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
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
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
True, but I still prefer bash scripts. These can run on any mac or Linux machine without any installation required and I think Microsoft is working to add native support to Windows too
Python being awful to use is an opinion and I stand by it firmly. I can't stand using it for more than just super basic scripts/automation.
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
indenting π€π€π€
programmers when a different language is different
to be fair, a programming language with syntax based on indenting, when there are still wars going on about 2 spaces vs 4 spaces vs tabs (and other version) might not be a good idea π
this is the easiest complaint about python and the one that makes the least amount of sense to me. its like in C# using braces vs not using braces when its optional
its a style choice, and with style choices the only thing that matters is consistency
has anyone used paperspace gradient? im considering subscribing to it but it sounds a bit too good(?)
HTML is not even a programming language snake with css
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
nice
An LLM wouldn't find the data. It'd more help you understand what data is there. You'd have to know where the sources are though.
There's a difference between LLMs and "AI".
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
maybe something like https://github.com/zylon-ai/private-gpt ? Try to look for already existing free solution
I was looking around prior but im a bit clueless on the topic and wanted both a saas and on prem solution but only found the saas solution i had done, so tnx for the tip
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:
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.
Does someone here know the best way to learn python?
do projects
and just google any issues you have
Thx
I would recommend watching some introductory tutorialsβ¦ if you canβt code at all yet. Otherwise, have a look at https://w3schools.com
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
CS50 had some good explanations of data types and stack/heap whenever I was first starting out
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?
to do what on the tablet
Like a simulator or something?
a simulator...?
it depends on what you're making
like if its iOS apps iirc they have a thing for that over the cable in xcode
@ruby tree iOS or android?
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 :
i hate gifs so much because you cant seek around
what the hell why does it do that, that's horrible
what's causing that?
yeah i can see how you lose your cursor
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
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
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 π )
imagine still using a cursor
bro memorizes the position of the cursot
r
? why am i pinged here?\
Hm, not sure. Maybe I had a partial message in place
Aka, I clicked on your name by accident at one point
Anybody worked on cloud pentesting?
I worked on pentesting my own fire base app if that counts
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
you can always make a PWA (https://web.dev/explore/progressive-web-apps) if you got experience with web technologies. You can then use something like local storage for offline use, and sync it from/to networked storage if you got servers
alternatively if it is a linux compatible chromebook, then install linux on it and then use whatever linux language/framework you want
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
Anyone here does html?
yes most of the people run into html at some point
Can yall help
I wanna do a website for a Geometry Dash community but im kinda new to google sites
say problem and then more people will see problem and then maybe they help if they can
wow
now that's a license
Ooh where did you find this
Also what window manager or DE do you use?
hyprland
β same
smh with opengl I think
What dotfiles?
this waybar
tokyonight kitty
and the waybar modified for tokyonight
also lightdm
Nicee
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
Make sure you add the port binding to your docker compose file
services:
playit:
...
ports:
- "25565:25565"
probably
(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
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
- where is the
pterodactyl_nwset up/how is it configured - are you running that
nmap -p 25565 localhostinside or outside of a container environment - how is the pterodactyl service being composed? problem could very well be on that side of things, not on the playit end.
- 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
- I'm running the command outside of a container environment, directly in the host
- 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
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.
fixed
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
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.
Oh! For algorithms Its more like, im given a word problem, and sorta need to come up with my own algorithm on paper, then translate it into code.
For leetcode not used to that yet tbh, double pointer on an "easy question" π, True real-world problems would def be a more concrete goal/project to focus on
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 π
It can vary, for the jobs I've been in, it's more about the methodology of problem solving and understanding business needs
Over language mastery and algorithm prowess
Fnaf custom endoskeleton head wich one loos better?
how do i use comments to make it so people who does not know what the code does even do
depends on the programming language
depending on your editor, you can insert a comment using the ctrl+/ key combo, this works for most programming languages and editors
well im using python for this project im doing
wait actually sorry mb use #
i know how to insert comments i just don't know how to do them well
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
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.
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/
Long time Pythoneer Tim Peters succinctly channels the BDFLβs guiding principles for Pythonβs design into 20 aphorisms, only 19 of which have been written down.
most common place for my comments is when theres math involved cause i dont do math very well
Personal opinion. Have self documenting code as much as possible. When that is not possible, have the 'why' over the 'what'. Why is the code done in the way that it is.
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.
why are you making a db in vsb 
that is a very verbose language
sqlite or nothing imo
Screenshots are hard
Sqlite has a place
Yeah good question
"Any large scale application" is not that place
But it's good for client side stuff
he said simple, for anything more complex, my choice is postgresql
VBA srry
I made this ai command prompt helper it uses a anthropic api key itβs not the best yet but Iβve only been working on it for a week hereβs the GitHub https://github.com/Nullmega15/Bash.AI
Me makie smol gam
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
tbh as long as you don't need connections from non-local sources, sqlite is often superior to any other choice.
Postgresql is the best option for server side stuff
even then it sometimes depends. For example something like Home Assistant runs on sqlite
Hello, Parandroid.
Hello, Rugg. Nice to meet you.
Wave emoji
Good. I am a new member of this channel. I want to learn a lot from you afterwards.
Hello, SethBeatz. Please to meet you. I am a developer too. I hope a good partnership since now.
Update: Donβt need this anymore, but still might try as a fun project.
I was able to get a 7900 XTX for a semi reasonable price.
Hello, excuse me, can you have some time for me??
What do you need?
I am a developer, too.
I am looking for a good companion.
What has been your favorite project so far?
I am interested in Tech Upgrade Pranks.
r u there?
Yes?
You talk weird as hell homie
is this dead internet
this looks like 2 llms interacting with eachother
no, i can see your message that means your internet is working
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
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
make sure the model actually fits into vram. ollama worked out of the box for me on a 6800xt
thank
(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...
When Will i take my time to learn kicad
I need to do it some day
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.
Would a PCIE m.2 card be useful for a game dev / gaming machine?
m.2 is a form factor family. I'm going to assume m.2 key m for more nvme storage, in which case maybe if you don't have any more slots built-in.
Is it super jank
Like would I have to do a lot of work just to install games and shit on it lol
it's exactly the same as any other storage device
Thanks π
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)
Git is truly amazing
God gitteth and he tacketh away
God gitteth and he microsofteth away
Git pulleth and rebaseth away
sudo rm -rf .git
vscode minimap crashed lol
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!
noice
console.log('Hello World!');
now write "hello world" to the console in assembly
which architecture
x64
why do allat
no semicolon π₯
i know π
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
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
if it's just a static site use cloudflare pages for free, no need to host
idk who's saying it takes more time than justified, it's super quick if your just starting
To set up the proxy?
yes
I see I see
What can this do and can't do
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
you can basically just upload a bunch of html, css, and client side js and it will host it for you
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)
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
technically yes
"more time than justified" these people are talking out of their ass.
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
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
it's funny how light you can make a website when you say no to frontend frameworks (this even is with tailwind v3 tho)
not totaly sure if this belongs here but i want you to marvel at my DB with an ID index thats 772mb
it actually doesnt matter that much
wouldnt hello world in assembly basically just be linking the print function and calling it
Probably even less than that
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
just minor hardware requirements, that point 3
Indeed
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?
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
Okay thanks, I am essentially looking for a way to take details from previous frames and future frames to add detail where it is applicable. For instance to remaster an older video and such.
anyone here who uses neovim need some help with configuring kickstart nvim
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
Okay, I see, thanks for the info π
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)
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 ":)
you can't, there is no such thing in JS
JS always passes by value, with exception of objects (arrays, maps, other objects), where the value is a reference to the object. Thus in your case when whatever variable is a string, that is passed by value.
Your code would work if every single member of array would be an object, but then it wouldn't be a string.
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
const whatever = {value:'example'};
whatever.toString = function(){return this.value};
const whatever2 = {value:'example2'};
whatever.toString = function(){return this.value};
var array = [whatever,whatever2];
console.log(JSON.parse(JSON.stringify(array)));
whatever.value = 'example3';
console.log(JSON.parse(JSON.stringify(array)));
ah you just posted that aswell missed the last thing π
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)
also JS is a prototype based language, so if you want to create a type with methods, you need to do stuff via prototype property https://developer.mozilla.org/en-US/docs/Learn_web_development/Extensions/Advanced_JavaScript_objects/Object_prototypes
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 :,


