#Programming Discussion
2318 messages · Page 3 of 3 (latest)
no port forwarding
All that work for nothing
So I need ideas of how to repurpose this thing
@willow coral you too
For specs it’s a 1TB hdd 8gb ddr4 ram and an i3 6006U
do you have access to your router @frail flicker
or to the dhcp server inside your router
Yeah
I have no clue how but i bet youd need to make your dhcp server give the same ip address to that server
About that
its always changing because the dhcp server inside your router assigns it a different address whenever it requests a new one
I did a ton of research on this
my isp provides their own wan ipv4s for some reason
ipv6s too and that’s not necessary
I’m under a cgnat
i thought cgnat only mattered for ipv4
there is literally no solution
So did I
Ive got nothing i asked my friend to see if he had to worry about it and if so what he did
Nope it’s an issue directly tied to my family’s poor choice of an isp
nothing I can do about it
this server really isn’t good for anything else other than hosting servers or bulk storage
It doesn’t have an ssd so I can’t read and write quick to it which means no web server
aaternos 🥀
167ms baseline
it’s fried but it is what it is
so grif what should I do with this thing
should I store photos there
Idk
you could use it as just a local nas
just cant access it outside your network
theres probably some use in that still
eventually im gonna buy a pc and then im gonna set one up so i can have some static files between the two
Eventually I wanna have a little deck with a 4TB hdd and a 1TB ssd any quad core cpu and a lot of ram
put Ubuntu on it and use that
Noooooo
why the fuck is doing anything with C++ on windows So atrocious
im probably doing a billion things wrong honestly
like using windows in the 1st place
I wanted to start learning c++ for a school project
however vscodium which i use Has no Microsoft C++ extension
the only alternative i found is clangd, but getting that to work has proven to be a pain in the ass
it requires a compile_commands json which i read can be auto-generated by CMake
so i decided to look into CMake but now that isnt working because when i run it i get some huge ass error about how it cant compile a simple C program because some .lib files are missing
and on top of all this apparently clang doesnt have the standard library and i dont know what to do about that whatsoever
Considering #givingup lowkey and just doing the project in something else like js
If anyone has managed to get a setup like this working Help would be greatly appreciated
i dont use windows but it seems to me like if you're trying to do c/c++ then visual studio proper instead of vscode would be a better option
if they are using vscodium then they probably dont want to use visual studio
wdym clang doesnt have the standard library
you you have visual studio installed
not yet but im doing so rn
even if you dont use it you need it for the headers im pretty sure
specifically the build tools
i know that you have to download it to install rust
theres alternative
i use clang
but you need to change abit so it will acquire the std library
idfk how
i just undid days of work parallelizing code because parallelizing was showing zero benefits and was making the server perform significantly worse
im in a good mood
paralleliztion is hard to get right
running multiple pieces of code at once sounds good but then you start dealing with data dependencies and synchronization and suddenly its not so good
charmed icons looks good
Roblox is now brainrot
We lost foo bar to this
the numbers.
we should all think of personalized foo bar variants
@lilac path random question have you made any progress on that roblox/etoh esque thingy you were working on for a while or is that a scrapped project
also the world of goo 1:1 remake as well im super curious abt that
neither of these 2 projects are scrapped, but i just havn't been able to find motivation in me for the past few months to actually program for whatever reason, combine that with the fact that im preparing for college, and i just haven't been able to get work done on either of those projects, despite how much i really do wanna work on them :P, but they're not abandoned/scrapped
ah, thats fair, completely get you since i'm also going to uni in a few months
best wishes though, hope you can find some time and motivation to work on things you enjoy doing!!
thanks!! i hope so too!
bro what is this new vscode default theme
why did they swap around the colors of literally everything
?
Show
the default theme is now VS Code Dark/Light
it was previously Dark/Light Modern
@fervent stratus
i love that command
my favorite thing to do is make commits in detached checkout and then forget to add it to a branch before leaving 🥰
Amazing command 😍
why would anyone ever do this
to me it seems like git's equivalent of rm-ing /
(or is that the joke if so apologies)
nah you’re right nobody in their right mind would do that
yes and no
you know how when you have two different documents named the same thing and windows doesnt like it and asks you to replace it
its the equivalent of that, iirc it basically says fuck what you have in storage, heres what i have and you should only have this
@urban pulsar @willow coral the end times approach https://github.com/luau-lang/rfcs/pull/191
(thats a joke i think the feature is okay)
Is there an rfc for this? I can’t find any explaining more about the feature
@rare goblet
this is the rfc
click the link in the post
Yep got it
I did already click that but saw a code block and closed out
let is a great keyword to introduce a local
This made me laugh
Yeah good rfc
From what I can tell it replaces
using metatables for making classes, no need for __.index
It generally just looks nicer as well
as long as there is no inheritence then i dont mind
if inheritence ever gets added its over 💔
They really are adding anything to luau at this point
ok but its kinda peak
First const now public and private constants
i think they have said that they are shifting focus away from the type system and towards new features that more people use (because its sad to say it, but most people dont use strict types)
there are no private or const fields in this rfc
const was a different one
The example shows public
So I assumed private also exists
no private in this rfc
So public and local declarations
my slope is immune to printing
< 3
phrased that badly mb, i meant moreof as "Horrible command you should never execute"
check your output filters
i still dont know why it wasnt printing but i wasnt looping properly and now it works
pretty cool
awesome
There's no limit
To the Lauu
Holy SHIT I just learned today there is literally a Reddit for AI Agents
this is the equivalent of treating an infection by putting a bandaid instead of seeing a doctor
it could also just be mcafee doing it
idk why but it switches your search engine on chrome to yahoo
thats exactly what i think as well
and people in the replies
Though i believe calling it 'malware' is still correct in that case
I've used ESET but only because my dad pays for like a subscription so might as well
supporting local stuff is nice too i guess
whats this
Federal bill that places age verification on all operating systems on all devices
incredible
stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid stupid awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful i need to bang my head on every table and wall immediately
im glad im on linux and in canada where such bullshit is practically unenforcable anyways but still awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful awful
we need to bring back the practice of throwing food at politicians we don't like
you starting rust?
Only a matter of time
i actually dont know, ive been prodding around low-level languages like C++, Zig, and Rust, but ive been having the most trouble understanding rust because some of it's concepts are so foreign to me, so i dont know if i wanna actually start really really learning rust, but im curious to atleast understand the basics of it, and how it differs from, say, something like C#
what do you want to know about it
I wish people with money outright refused to comply and hired good lawyers
like system76 suse and red hat
just to ask what does "tables cannot be cyclic" mean?
the system76 ceo has been trying to do shit ive heard
Im in the EU and it seems questionable whether theyll add something this drastic
They have a problem with propaganda on social media so they want to do some age stuff but only for huge platforms with millions of monthly AUs
The USA is batshit insane as always though
also wtf ive never heard of this before
Are you putting the table inside itself?
i was fixing a roblox script that i found in script showcases.
here’s the code btw
local LocalEvent = script.CameraManager:WaitForChild("LocalProperties")
LocalEvent:FireClient(Player,"camera",Enum.CameraType.Scriptable)
and when i run the script with that, the error said "tables cannot be cyclic".
that doesnt tell me enough
is it those specific lines?
which you sent here
or something else?
the script that i was trying to fix was called pizza frenzy and that script used a remote function to manipulate the player's camera when the script is ran but the thing is that it doesn’t let the script manipulate the camera somehow since it just gives me the error instead.
im not good at words but take this with a grain of salt.
also despite the fireclient mentioned, i replaced remote function with remote event because i thought it would work but it didn’t.
also, do you want to see the link about what i was talking about?
so that you could actually check what was going on.
what is the exact like that is erroring
because that code should not be able to error (unless im misremembering and enums cant be serialized but im like 99% sure they can)
here it is.
@eternal basin, apologies for the ping but it is ready now.
it’s when you reference the table within the table iirc
and enums cannot be serialized aswell I believe
to add onto this the uk already has some pretty bad age verification laws in place right now
Any type of Roblox object such as an Enum, Instance, or others can be passed, as well as Luau types such as numbers, strings, and booleans, although you should carefully explore the following limitations.
should be fine
friend from there said that ISPs block VPN sites like wtf
the snippet he gave doesnt even use a table though so it shouldnt be possible to get that error
Im getting a google pixel and throwing grapheneOS on there
nope
Thought so
If those laws hit Canada then I’ll have to switch to a pixel and run graphene on it
No fucking way
what about the camera?
the problem is the Enum
the enum is cyclic
because you can do Enum.CameraType.Scriptable.EnumType.Scriptable.EnumType.....
to fix it just fire "Scriptable" instead
and on the client just do Enum.CameraType[name]
Oh, that’s why it prevents the roblox script from being ran.
so i tried your method and it still somehow gives me the same error.
i do not know what happened there.
apparently whenever you fire any client using remotes it gives me the same error which is very strange
like what
ok i was wrong actually you can directly fire enums even tho they are cyclic
i dont know whats causing the error
same for me and it is very confusing.
mostly things like its trait and enum system, and how certain ways of programming in a class-based OOP language like C# would translate to rust, cuz i know inheritance isn't really a thing in rust, so im curious how things work over in rust world
i dont know c# but does it have interfaces? traits are like that
a difference from other languages is that structs that implement a trait arent interchangeable (which differs from typical inheritance/interfaces where you can for example make an array of a base class); any function instantiation can only support one struct, which is why you can only declare them on generic types
though you can get similar functionality using dyn traits
indeed it has interfaces
very interesting
https://gyazo.com/746d93bb624c3a676898c4c9ece2b51d.mp4 day 2 was not over
https://gyazo.com/8a2ce655d3ddfdf168b150e281e9c1df.mp4 filling ts place with my bullshit
i just learnt @ is also a symbol used in rust
Youll get used to it when you really needed it
same goes to blender
All it take is to find the right tutorial
i know, been using luau lsp tho.
i just implemented gaussian elimination in mips assembly
i do not recommend doing so
still have to implement back substitution...
i implemented back substitution
big surprise that mips assembly is hard to debug.........
no way your dealing with assembly
holy
neovim cuz notch used it
Apple did something good for once in their life and now notification forwarding is available worldwide in iOS 26.5
And not only in the eu
i miss old apple when innovation was actually occurring
today i learned the maximum amount of indicies a table can have is 67,108,864
nice
im trying to make like a radio/phone system (to learn the audio api) and im wondering if its better to have the audiolistener placed in the player character or in the player camera
uh
@rare goblet does ReflectionService:GetPropertiesOfClass have a way to only show properties that can be writable
i only want like the ones which actually matter
nvm im just gonna hardcode it, cause its only 1 instance and 4 properties
just filter it then
oh wait i misread this
that makes alot more sense
export isnt even added to luau yet
They alr adding const
Are they turning luau to JavaScript or smth
Speaking off, I had this thought a few hours ago that Roblox should make a new language called "luaux" xD
It's basically luau, but you can put HTML tags in it and it's for use with react-roblox or smth
just a funny thought
people already do that with tsx to luau
@rare goblet is it possible to disable the roblox died state
so that 0 health does nothing
It’s impossible to disable it, it’s only possible to delay it
pretty sure yeah
@willow coral ?
I tried a lot of things when we added ghost mode
I found that it was only possibly to delay the death state
It’s impossible to take a humanoid out of the death state or transition to death state once into it
A lot of maps use .Died events to cleanup stuff we aren’t able to make some custom death wrapper even if delaying would work which I don’t think it will since I think that might mess up other state transitions?
if we prevent players from dying though .died wont be called which is what we need no?
can we not reenable the state when we want .Died events to be ran? (at the end of a round)
how would it mess up transitions
using a custom death handler could screw up maps
in what way
the idea is to seamlessly transition from ingame to ghost when "died"
by removing the death state, we are essentially treating like the players are still in the round
humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
yeah this doesnt work for our case but idk why @willow coral
works fine for me
hm @willow coral
you can do that but if you are in the state i found that you get stuck in a waiting to die situation
impossible to get out of this state once in it
not in my testing
local h = game.Players.LocalPlayer.Character.Humanoid
h:SetStateEnabled(Enum.HumanoidStateType.Dead, false)
h.Health = 0
task.wait(5)
h.Health = 100
h:SetStateEnabled(Enum.HumanoidStateType.Dead, true)
@rare goblet
cool
what are some good UI frameworks for roblox
youve got fusion or react
there might be a third but i cant remember the name of it so idk if its relevant
we use fusion for tria.os
i love fusion
i dont like react because having a virtual dom just feels detached
fusion has you actually work with instances
yeah i like fusion aswell