#development
1 messages · Page 61 of 1
- C:\Users\ericr\Documents\nodehttp\app.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at Object.<anonymous> (C:\Users\ericr\Documents\nodehttp\app.js:3:15)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10)
at Module.load (internal/modules/cjs/loader.js:928:32)
at Function.Module._load (internal/modules/cjs/loader.js:769:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'C:\\Users\\ericr\\Documents\\nodehttp\\app.js' ]
}```
when i type node app.js
did you install discord.js
i beleive i had but i will double check
how did you installed it
npm discord.js
in that folder?

something like that in command prompt
is it in package.json?
it probs isntalled in
C:\Users\ericr\node_modules
yeah
it is
tbf, that's the best practice
yeah I guess
how can i get discord.js installed to the folder then?
just npm install discord.js in that folder
have you tried saving app,js then running it again
how can i check if discord.js was installed correctly
C:\Users\ericr\Documents\nodehttp>npm list
nodehttp@1.0.0 C:\Users\ericr\Documents\nodehttp
`-- discord.js@12.5.1
+-- @discordjs/collection@0.1.6
+-- @discordjs/form-data@3.0.1
| +-- asynckit@0.4.0
| +-- combined-stream@1.0.8
| | `-- delayed-stream@1.0.0
| `-- mime-types@2.1.27
| `-- mime-db@1.44.0
+-- abort-controller@3.0.0
| `-- event-target-shim@5.0.1
+-- node-fetch@2.6.1
+-- prism-media@1.2.3
+-- setimmediate@1.0.5
+-- tweetnacl@1.0.3
`-- ws@7.4.0
looks good
is your file saved?
i said that lel
yes
cause the file probably has token
yeah
that's actually a good sign
wait show the code
const client = new Discord.Client();
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`)
});```
did you create discord token?
i did
which is where
but when i typed node app.js it would give me an error
even i put quotes around the toekn
so i removed it

ok then in client.login("token here");
hardcoded
it was the wrong token
token't
i put in the correct token
for the bot and not the app
i got it to work
thanks for the help
const Discord = require("discord.js");
const client = new Discord.Client();
const token = require("./token.js");
client.on('ready', () => {
console.log(`Logged in as ${client.user.tag}!`)
});
client.on(`message`, msg => {
var response = msg,
prefix = "$",
string,
number,
channel;
var list = {
array: [
["a"],
["b"],
["c"]
]
}
if (response.charAt(0) == prefix) {
string = response.slice(1, response.length).toLowerCase();
}
if (string == "reset") {
msg.reply("Reset Bot");
} else if (string == "guide") {
msg.reply("Channel Guide");
} else if (string == "current") {
msg.reply("Current Channel");
} else if (string == "cycle") {
msg.reply("Cycle Channel");
} else if (string == "previous") {
msg.reply("Previous Channel");
} else if (string == "about") {
msg.reply("About Bot");
} else if (string.includes("channel: ") && (string.length == 10 || string.length == 11)) {
number = Number(string.slice(9, response.length)) - 1;
channel = list.array[number]
msg.reply("mb play " + channel)
} else {
msg.reply("Syntax Error");
}
});
client.login(token);
i get at error that (response.charAt(0) is not a function
the script works in normal javascript
except msg.reply is alert
and client message is prompt
that means charAt() is not a function
you can use a debugger and see all properties of response
is there a function that does the same job?
this is what I want
people learn by researching
i found the problem
var.thing makes the ide think that it is not javascript or something
it gets treated at a function
and not an operator?

@next igloo syntax highlighting?
don't look at syntax highlighting
vscode is not an ide, just remember that
he who hath syntax
I like it because it's not a full ide
Logged in as Test Bot#0000!```
(Typed a message to the bot)
```C:\Users\ericr\Documents\nodehttp\app.js:82
string = response.slice(1, response.length).toLowerCase();
^
TypeError: response.slice is not a function
at Client.<anonymous> (C:\Users\ericr\Documents\nodehttp\app.js:82:21)
at Client.emit (events.js:315:20)
at MessageCreateAction.handle (C:\Users\ericr\Documents\nodehttp\node_modules\discord.js\src\client\actions\MessageCreate.js:31:14)
at Object.module.exports [as MESSAGE_CREATE] (C:\Users\ericr\Documents\nodehttp\node_modules\discord.js\src\client\websocket\handlers\MESSAGE_CREATE.js:4:32)
at WebSocketManager.handlePacket (C:\Users\ericr\Documents\nodehttp\node_modules\discord.js\src\client\websocket\WebSocketManager.js:384:31)
at WebSocketShard.onPacket (C:\Users\ericr\Documents\nodehttp\node_modules\discord.js\src\client\websocket\WebSocketShard.js:444:22)
at WebSocketShard.onMessage (C:\Users\ericr\Documents\nodehttp\node_modules\discord.js\src\client\websocket\WebSocketShard.js:301:10)
at WebSocket.onMessage (C:\Users\ericr\Documents\nodehttp\node_modules\ws\lib\event-target.js:132:16)
at WebSocket.emit (events.js:315:20)
at Receiver.receiverOnMessage (C:\Users\ericr\Documents\nodehttp\node_modules\ws\lib\websocket.js:825:20)
PS C:\Users\ericr\Documents\nodehttp> ```
learn how to use a debugger
I can help with that
this way you can see all properties of slice
do i go start debbuging?
yeah for starters you can use console.log()
Debuggers are good but I still use plain old logs
Why are you using slice in response
I suggest you take a look at discord documentation first
and js in general, I'm still a noob in js though so I can't help much
Don't need much, as long as you have the fundamentals of http apis
well discord.js wraps around the http api's though?
Yes.
would it be worth it to buy a watch controller for the helmet
it would just swap between the cameras, turn on the flashlight, and i guess connect the screen
wdym by watch controller
it would just swap between the cameras, turn on the flashlight, and i guess connect the screen
for the helmet
im working on
its a screen on ur wrist with a strap
@midnight wind
ok so take an apple watch
or any smartwatch
it has a screen and a band right?
instead of being connected to ur phone
this is connected to ur rpi
as a remote
ok yeah
I know that
but about the controller, wdym? a custom made pcb? what are you thinking about
the watch is the controller
sorry im making this confusing
we have a helmet right
isn't that the pi?
yes
but its a 0
and we have no way to interact with it
so would buttons or a watch be better
it would just swap between the cameras, turn on the flashlight, and i guess connect the screen
but the pi is the watch though? It's the hub where verything is connected?
there are GPIO pins for a reason
we have the pi in the helmet
oh
the pi connects to the GPIO board
and that to the cable and the cable to the screen
we need a way to control the pi
would a watch or buttons be better
the screen in front of the helmet? no
but the watch screen? yes it would be
What watch were you thinking about
?
Like what watch did you want to buy
You would want something similar to a pi with an i2c or something similar for data transmission
And programmable
Or bluetooth
what i would do
is use a bluetooth screen with a band around it
with one wire for power
Yeah I would do that
can u help me find one the one i saw was too expensive
i have a budged of 150 and we've spent about 2/3 of it
hello, how can i make my bot run for 24 hours straight? (the bot is text based)
currently the bot runs for 5-10 minutes after i type node app.js in vs code or 5-10 minutes after someone has given it a command
if its offline it wont respond to commands
do you close the cmd prompt?
or close node
you need something to host it
discord won't host your bot for you
@next igloo
discord bots are easy to host
no need for port forwarding
a raspberry pi can
or you can rent a small vps or discord hosting service
a small bot doesn't need much resources
@next igloo

?
nevermind
I just wrote my discord bot to run in a container. Then you can just use an Amazon micro VM running docker that hosts the bot
yeah packing in a container is a good way to make it work everytime
In fact, here's the Dockerfile for the one I wrote.
`FROM node:12.18.3-alpine
WORKDIR /pinboy
COPY package*.json /pinboy/
RUN npm install
COPY app.js /pinboy/app.js
COPY package.json /pinboy/package.json
COPY config.js /pinboy/config.js
COPY pinnypals.js /pinboy/pinnypals.js
COPY config.json /pinboy/config.json
CMD ["node", "app.js"]`
doesn't have to be a docker container, I myself am experimenting with buildah and OCI containers
docker can run OCI containers
and so can podman
podman can also run docker containers
I also use yarn instead of npm
on alpine?
yeah, alpine is much smaller.
ah ok
it's a pain sometimes cos you write your heavyweight container using some base image that expect say, apt-get, or yum, then you change to say alpine and f%*#%, now I gotta use a different package manager lol
No. Because then if you have even a single file that gets modified, you need to create a new image /did for that step and all those changes.
It also ensures you don't copy unnecessary files without having to add them to. Dockerignore
Not if you have a large source folder.
That would imply you have another shadow copy step.
dist should generally only contain derived assets.
So you would still end up with a new container diff at that build step. You've just instoduced a new problem and not solved the old one
That still applies.
It's the size of the diff and length of the build that is impacted
What happened? Now it looks like I was talking to myself lol
Im running a flask server on my RPi and ive made it to run on 0.0.0.0:5000 but when i go to my laptop to connect to the site using the public ip it doesnt work...
any idea why?
and if so how can i fix this?
@midnight wind why would i port forward to see make it so everything on my local wifi can be visible
@marsh oasis ok, so you don't need to port forward, but you said you wanted to access it from your public ip. If you just want to access it within you lan you need to find the ip of the pi.
Making it run on 0.0.0.0 :5000 just means the pi will listen on all interfaces
when i run ifconfig i get the list of the ip's and none of them seemed to work
Run ip addr and post here
cant do rn but will do later and keep you updated
Alright
That happened to me in another server

I am. Doing it Dart as it has been tradition for me: https://github.com/julemand101/AdventOfCode2020
So far, it is still easy 🙂
@sage vector I’m not actually caught up yet, but if you want I’m happy to share my C++ solutions 🙂
Do you try to make them as efficient as possible? Or do you care more for just solutions
Efficiency is one parameter but it also needs to be readable and some kind of clean. 🙂
Hmm never heard of this advent of code thing before
Might need to check it out
Been looking for a good reason to learn Golang and this might be it
how do i find the path to this title in php?
Ive already decoded the json and and named it $response_decoded
sth like this: "title" => "$response_decoded->products->data[0]->title" ?

needed to remove the ""
Gotcha, let me catch up and then we can talk about solution efficiencies 🙂 there are O(n) and O(n^2) amortised solutions for day one that are easy, will let you know if I see anything for the others
@shy helm It's been my tradition for the last 4 years to think about it in Feb, do 3-4 puzzles and then abandon it. 😂 🎅
I made a new video devlog for my game, about the development of new visuals, UI elements and gameplay improvements using Godot Engine! And an over-engineered ground texture feature 🤣! https://youtu.be/0xe65ckvPjs
In this devlog I introduce the latest improvements, a new ship design, an enhanced gameplay loop and UI element to go with it and a literally ground breaking texture.
Previous episodes: https://www.youtube.com/playlist?list=PLaFbdcIP-CNj0f98D_2oJSjNmrSZEItiy
Find me online: http://links.timkrief.com
All my projects here a...
First time trying it out. Going to try to finish it in chunks. Do a few days at a time then wait for a few more
Does anyone know, when using C#, is there a large difference in performance between using nested if statements vs. multiple conditionals?
if(loaded_games < total_games)
{
if (scrolled_to_end_of_list)
{
loadMoreGames()
}
}
and
if(loaded_games < total_games && scrolled_to_end_of_list)
{
loadMoreGames()
}```
I double it makes significant difference @gusty girder
Both should create mostly similar instructions:
calc cond a
jump end if not a
calc cond b
jump end if not b
jump loadMoreGames
end
Obviously that's not real instructions, but close enough
yeah i think the compiler will probably be smart enough to treat them the same
aight thanks
Modern compilers will figure that shit out.
is anyone else doing adventofcode?
there are some messages from people doing it in the chat history
I'm trying to do it avoiding the bruteforce nest a bunch of loops solutions. so trying to use more advanced data structures.
@bright hound let me know if you ever want to compare solutions, I’ve only done the first three days though
so I'm doing python.. and trying to not do dumb things.. this was day 1 pt1
Yeah, you can do day one part 1 in quasi linear time if you want
`#!/bin/python3
with open("input") as file:
inputlist = [int(line.strip()) for line in file]
print(inputlist)
listindex = 0
while listindex < len(inputlist):
testednumber = inputlist[listindex]
if (2020-testednumber) in inputlist:
print( testednumber * (2020 - testednumber))
listindex = listindex + 1
`
Part two in quasi n^2
yeah got that.
Yeah nice
My solutions are in C++ haha, but basically the same
Actually just to note, your day one solution is not linear
I think 2 would be easier in C
You’re thinking of sets
List member is N
There’s no order to the data, how can it be sub-linear?
list datatype in pythhon does that for you 😄
No, it doesn’t
x in s O(n)
I use python professionally 😛 I’m familiar with the built in runtime complexities
huh I thhoughht it was better than that boo. that make my part 2 O(n^3). 😦
Yeah, have to use sets/dicts to get the O(1) amortized ‘in’ complexity
and worst case remains O(n)
Yes, but it’s extremely unlikely
With cuckoo hashing they can get worst case constant time lookup, not sure if python uses it though
In this example though, you won’t have duplicate keys, so you’ll always have constant time
so making a copy of the list as a set and using that for the in operation.. is trivial.
Yeah should be easy 😄
yay for bitwise operators for day2 pt2
ok it's getting a bit more involved now... `#!/bin/python3
8-9 x: xxxxxxxrk
lines=[]
count = 0
def test(line, indexno):
if line[indexno] == '#':
return 1
return 0
myfile= open("input")
for line in myfile:
lines.append(line.strip())
def testarray(across, down):
count=0
j=0
i=0
while i < len(lines):
if lines[i][j] == '#': count = count + 1
j = (j + across) % len(lines[i])
i = i + down
return count
print(testarray(1,1) * testarray(3,1) * testarray(5,1) * testarray(7,1) * testarray(1,2))
`
ok so for the helmet thing im making would an rpi 0 be better or an arduino
what are you trying to make
With shader sorcery and clever dynamic ground tiling, I can move wormholes around, it's trippy!
woah
you will need a pi for that project because i dont know of any arduino with the processing power needed for that
send it to the screen
its an IR nightvision camera
the end product is going to have a nightvision helmet
sorry my handwritings so bad i made it with my friend
hi, i was wondering if it's possible with traefik to define the defaultRule in the config file such that it retrieves the name a container and for each container ?
depending on how high res is im not sure if a pi zero will be able to compute it quick enough
thats the camera
which goes to the pi
which goes to the GPIO pin board
which goes to the ribbon cable
which goes to the screen
you should be fine
ok
is there a cheaper driver board i could use
HAha Neural Networks goes Brrrrrrrrrrr...
maybe an STM32 could be fast enough to drive a screen, idk
yeah seems like it is
@shy helm Pretty proud of my test for day4 pt1 after converting the passport to a dictionary used set(passport.keys()).issuperset(requiredfields)
Im doing vector<int> list;
and list.size()
and it doesnt work although it should work according to http://www.cplusplus.com/reference/vector/vector/size/
error: request for member ‘size’ in ‘list’, which is of non-class type ‘std::vector<int>()’
15 | cout << list.size();
nvm it works now
Why can I do list[3] after I have done list.clear() and still get the element that was there before but then when I do list.size() it says 0
list is a vector
pretty sure that's undefined behaviour
i think at() will throw an exception if you tried that
Undefined, I think it's not guaranteed to do the memory cleaning immediately
<@&750150305383186585> so uhh
um
what happened
it
what
@umbral saffron STM32's have DMA
there are gfx libraries optimized to use DMA for SPI displays
stm32 development boards like the blue pill (STM32F103) are arduino compatible
but much faster.
32 bit chip @ 72MHz vs 8 bit chip @ 16MHz (or 20 if you swap the crystal)
@umbral saffron simple displays that you'd use with a microcontroller like that use SPI
The Serial Peripheral Interface (SPI) is a synchronous serial communication interface specification used for short-distance communication, primarily in embedded systems. The interface was developed by Motorola in the mid-1980s and has become a de facto standard. Typical applications include Secure Digital cards and liquid crystal displays.
SPI d...
The most commonly used DIY development platform is arduino
but arduinos are terribly slow, and not ideal to drive a display
don't get me wrong, it can do it. but updating pixels will be lot slower
i was planning on using a pi bc i have no idea how to use an arduino and it might be faster
@umbral saffron arduinos are not that complicated
you connect them to your computer with usb
and you can use the arduino program to upload your code to the board
It does not contain an operating system
all i need to do is connect a camera to a screen
the code it runs, is your program
so would an arduino be better
if you just want to drive a simple display
arduino is too slow (depending on the chipset)
then a pi is overkill
a pi is a full on computer
@midnight wind those avr chips all suck ass
but they go far smaller
attiny25
is
tiny
thats magnified like 20x
an arduino or any microcontroller (Ex: stm32) can't run a full on OS (or can it, idk, but not designed for that)
you program it directly
@midnight wind microlinux can run on an stm32
being able too fit the pi into the vero board into the pinboard is gonna be tight
bc this is going onto a helmet
but the veroboard is better bc im only using 1 thing that im plugging into it
the stm32 discovery is the official dev board
but there are compatible kernels for it
@midnight wind the only thing the kernel will really do, is just run your init script
kernel boot parameters contain the path to your init script
which the kernel runs after it starts
on regular desktop or server systems
this init script will be either sysV init or the more "modern" systemd
this would work with this right
@umbral saffron use breadboards
for prototyping
yes i was going to
but i need it to be smol
but for a final product you could use that
and im only connecting one thing
yeah breadboards are too big
yeah but for prototyping your hardware & software
its fine
when you go to build your first actual prototype of the design
you could use perfboard
whats wrong with the veroboard
make it on a breadboard first
its perfboard
meaning
vero is a brand
perfboard you need to solder
Perfboard is a material for prototyping electronic circuits (also called DOT PCB). It is a thin, rigid sheet with holes pre-drilled at standard intervals across a grid, usually a square grid of 0.1 inches (2.54 mm) spacing. These holes are ringed by round or square copper pads, though bare boards are also available. Inexpensive perfboard may hav...
ah
make your own custom pcb
you can order custom designed PCBs online these days
fusion 360 has eagle built in now
that's nice too
I used it before
I'm just like the eagle <-> fusion intergration
netlists, autorouting
etc
and if you have the latest version
it has almost all commonly used electronic parts in its db
eagle is piss
because its monthly subscription now
I have it from school
yeah
¯_(ツ)_/¯
yeah true
and adobe
yeah it creates people educated to use this one system
there aren't any like Blender type of good free CAD programs
instead of teaching them how to teach themselves more
like
all these cad programs
have same kind of views of a pcb
you have the schematic
then your board
netlists
which translate the schematic to the board
and then you can get a 3d view as well
hack yeah
oh that's kicad?
yeah it's all similar
@midnight wind only 3d modelling I've ever done
was with this uhm
uses code to describe your models
yeah its 3d cad
for 3d printers and such
never got into this
I'm more electronics and code
blender is so nice
https://www.adafruit.com/product/1590
all i need is a way to connect this to the pi
I wish CAD got more love
yeah, I built a cnc
nice
I've worked with some gcode
its quite bad isnt it xD
very nitty gritty process
the worst is the wobble
omg
are you serious
what kind of ripoff is this lmao
minimum order of 8
for 56 bucks
@midnight wind https://www.ioccc.org/
International Obfuscated C Code Contest
what's this
huh
its like a hackathon
it takes a good programmer to write bad code
except they compete to write the most obfuscated spaghetti code ever
so its impossible to deduce what its attempting to do
@midnight wind giving you gems like these: https://www.ioccc.org/2019/adamovsky/prog.c
oh god
@midnight wind thats an unlambda interpreter
Description of the Unlambda Programming Language
half life
@umbral saffron https://en.wikipedia.org/wiki/Anonymous_function
In computer programming, an anonymous function (function literal, lambda abstraction, or lambda expression) is a function definition that is not bound to an identifier. Anonymous functions are often arguments being passed to higher-order functions, or used for constructing the result of a higher-order function that needs to return a function.
If...
what
i was saying this symbol (made by the spaces) is the symbol for half life
oh
Lambda (uppercase Λ, lowercase λ; Greek: λάμ(β)δα lám(b)da) is the 11th letter of the Greek alphabet, representing the sound /l/. In the system of Greek numerals lambda has a value of 30. Lambda is derived from the Phoenician Lamed . Lambda gave rise to the Latin L and the Cyrillic El (Л). The ancient grammarians and dramatists give evidence to...
in functional mathematics it can be used to describe a function
and computing also uses it
in javascript for example
() => console.log("hello world")
all i remember is
alpha beta gamma delta epsilon zeta eta theta iota mu nu omnicron pi tau opsilon fie chi psi and omega
this is an anonymous function
ah that was the part i didnt understand
so you can do myObject.foo()
In computer science, functional programming is a programming paradigm where programs are constructed by applying and composing functions. It is a declarative programming paradigm in which function definitions are trees of expressions that each return a value, rather than a sequence of imperative statements which change the state of the program.
...
in Racket lambdas are actually identified with the lambda symbol
λ (x): print(x)
Or whatever the format for Racket is, I haven't used it in forever
hey, in my bash script i want to assign the int 0 to a newly defined variable x but i get this error: main.sh: line 42: syntax error near unexpected token `x=0' main.sh: line 42: ` x=0'
did you declare it?
declare -i x=0
y tho? i did y=0 a few lines above and it worked
the quote was from the terminal
Guys i don't know what im doing wrong? can't seem to get my visual studio to upload... actual code to github
so like git fetch?
have you tried uploading
no
Do using atom, github's editor, just open the same file, assuming you have github desktop, otherwise download that as well
Tell if it works
or use command line
Ty guys, I sorted it. I wouldn't be able to use that anyway as half my programming is done on locked down school computers.
Can anyone help out pls?
SPARQL Wikidata People who are academic offspring of themselves.
or
Persons who are not painters and who are academic offspring of painters (note: an academic offspring of a person P is somebody who is/was a student of P, or a student of a student of P, or a student of a student of a student of P, or ...).
SPARQL

hey guys i have a coding project using java and need someone to help me code up something real fast. can anyone help me
you should post your prompt to see if anyone can help you
This is the code.org Hackathon App, Unit 5 Lesson 13-17 AP CSP can anyone help or link me to a video or website with the answers

Why is it that multiple professional programmers prefer buying a mac over windows laptops when many times the raw power of equivalent priced windows laptops is greater?
A general question
My guess is that they went to mac for the easily accessible posix environment, since that's only recently become a thing on windows.
(and yes, I'm saying that not everyone wants to bother with linux, as much as that pains me)
linux on laptops is so finicky
and sure there are cheaply built, best specs for the money windows laptops that beat macbooks for price to performance, but even the intel macbooks were reasonably competitive with similar "premium" windows laptops like the dell xps/surface devices (which are the most common dev laptops for windows users from what I've seen)
and with the m1 macbooks, it seems like the macbook air might now be the best value in it's price category if there's nothing that blocks you from using the new architecture
The good ui with a *nix interface, long lasting hardware
U gotta admit although macs are more expensive, they last so much longer, with equally priced windows laptops lasting around 4 years whereas a mac can last 8
And now the m1s add performance
I'm working on textures for my game, and I'm discovering awesome features along the way! https://twitter.com/TimKrief/status/1337848580586024962
Okay, now we're talking 😳!
#GodotEngine #madeWithGodot #gamedev #3dart #shader #IndieDev https://t.co/8VMYcYCB4E
guys can you help im devopeping a game and it shows that there is an error i dont no what
well, the error would help
what
what error are you getting
assets/player error expected
i just started devopeping 2 days ago
I'm a bad teacher but I'll try
ok the errors are gone now but for some reason what i coded its just not happening in game
[15:34:11] -> timestamp of the error message
Assets\player.cs -> error is in this file
(11,35) -> error is on line 11, column 35
error CS1002 -> it's compiler error CS1002 https://docs.microsoft.com/en-us/dotnet/csharp/misc/cs1002
; expected -> the error message
so in short: you were missing a closing semicolon
ya
yep, basically same thing
i no i fixed it
ah it's the error code
but for some reason what i coded dident happend in the game
welcome to programming
but before i coded that last line it was perfectly fine
are you using a game engine
ya unity
well, that's beyond my help 🙂
idk unity, so I can't really help you
logic errors, especially game programming 🙂
what line did you add?
@midnight wind ok thanks for the help tho
stepping through the code
and see where reality starts shifting away from your expectations 🙂
I'm currently in the progress of doing that for a js game
working on an animation system
preloading all the images was going to be a problem, but then we found out about sprite sheets
so now I have to implement that
mozilla's dev site is great
If you want the easiest time ever handling sprites, have a look at the way it's done on the GameBoy Advanced.
All except that the ARM7tdmi didn't have FDIV, that thing was awesome and so easy to develop for.
my favorite thing in the entire world is following a tutorial step by step and getting errors thrown all over the place and nothing works :)
@nocturne galleon https://www.youtube.com/watch?v=MAlSjtxy5ak 😄
Hi guys, I'm looking for software that can do the following:
- Manage text/config files
- Editing 1 single setting in multiple config files at once, without changing the other settings
- Basically a tool to automate editing multiple config files
For exampe, I have 2 config files:
value: 20```
```server_name: test2
value: 20```
Now I want to edit value to 30 in both files in one go without having server_name changed in either.
There must be something like this right?
this is even better 😂 https://youtu.be/_WH6cbwZ5m8
In this video (Part 1 of 932) we show you how to create an integer in C++.
i don't know of a "tool", but if you have config files that follow the above pattern you outlined, so property: value, then you can just write a simple one shell script to modify multiple files
in Linux (assuming you have two files (test1.cfg and test2.cfg in the current folder with contents similar to what you provided)
sed -i 's/\(value:\).\+/\1 500/g' *.cfg
will change the line value: 20 to value: 500 in both files.
In Windows using PowerShell
(Get-ChildItem *.cfg) | %{ ((Get-Content -Raw $_) -replace '(value:).+','$1 500') | Set-Content -NoNewLine $_.FullName }
of course this only works if all your files are in the current folder and they strictly follow the pattern you mentioned:
property-name, colon, space, some value, end-of-line
lol, times like this I'm thankful I did most of my learning before the days of Youtube 😄
Grep and sed.
oh right, someone already said that 🙂
Hey I was wondering if there is an easy way to make estimates on how long a project can take to build, I am beginning to learn the basics of web dev and have an idea for a website I would want to build but no idea how to gauge how long it might take. Does anyone know of any ways to figure that out? I understand if that might be possible but was curious if people who know alot more than me might be able to point me in the right direction
due to how many factors can go into code projects it can be very hard to estimate time frames
i originally had a 6 month time frame for my project but its gonna end up taking about 10
like build time or project management time to finish?
My boss used to take whatever estimate I gave him then triple it 😉
do you have any experience? Making a basic website can be pretty easy, but once you add a backend component, complexity quickly rises.
Also, is it just a basic information website, or something that will require a lot of custom coding
A fair amount of custom coding and back end, I am still pretty fresh but I have got the hang of making simple static pages. Using Vue.js & Vuetify. The main thing I would need to learn is backend/data work. The idea is basically converting a spreadsheet i have into a webapp.
actual build time 😛
Depends entirely on the scope of the project (aka what features the client needs vs. their wants), your own personal experience building such a project, and expectations set with the client. Oh, and whatever you do, ensure you have a rock solid contract that outlines both YOUR and the CLIENT's responsibilities.
Not really, it depends how much of it is isolated and from scratch, and how the build can take use of multiple CPUs or even agents.
Well that's part of it for sure - actual development and coding can vary so much depending on what framework you choose to work with and your experience. I'm talking about the part clients can actually see themselves, and thus the part that usually holds up website development the most (usually because clients can be... difficult? if not managed properly) - the design & actual functionality of a website. But yeah, it's hard to say without knowing what this project actually is.
Thanks, that is a good point. I didn't want to explain everything to someone and have them just tell me an answer hoped I could find a way to determine it for myself. Guess I gotta just get started and hopefully after putting some more hours into it I should get a better idea of how long it can take.
Definitely look into consulting with a lawyer (or at the very least, use a generic contract template) to get expectations set in writing. I am not a lawyer, this is not legal advice, but it helps to at least have something on paper should anything go wrong during the project.
https://stuffandnonsense.co.uk/projects/contract-killer/
one final quick question, do you have any recommendations for back ends to use? Seems like alot of people use firebase but I have concerns over scalability and not being able to transfer user credentials to a separate db in the future
all of this depends on other technologies you choose, and requirements.
I'm deploying a lot of my own stuff to a k3s cluster of node containers.
I'm one of those .... "WordPress" heathens, mostly because my clients enjoy how easy it is to make quick adjustments on the fly when I'm either unavailable or too busy to help. That being said, I lock down the WordPress sites I manager so the clients can't just go ham installing shady plugins, editing theme files, or otherwise break their site in a catastrophic way.
yep, I've been doing a bit of labbing with kubs
For clients that don't need the niceties of an easy-to-use familiar Content Management System, I tend to stick with Laravel + some form of SQL database (depends on the server environment) if PHP is needed, OR just plain HTML5+CSS3, usually using whatever flavor of Bootstrap or Boilerplate is current.
don't suppose anyone here can tell me this: I have a set of labels I want to print 4-per-page (or as many per page as fit, but in this case it's 4) - is there a CSS directive I can use to only apply say margin-left for elements that are not on a new row when they flow over using display: inline-block ?
ive been trying to send a post request to a site and then sending it back to me.
the site receives the request but when i log the thing, it returns as undefined....
heres the code:
const {body} = await got.post('https://distop.xyz/api/queue', {
json: {
secret: "token here"
},
responseType: 'json'
});
console.log("Succesfully sent to Distop heres what you recieved: " + body.json);
}}
im using the got package to do this
yeah body is undefined outside of where ever you do the post
withing knowing more about the libraries involved, I would generally expect that data to be passed via a callback or in to a function. I don't know what you're using but generally they're written to be async and not bother to return data from a call synchronously.
@marsh oasis try running const result = await got... rather than {body} because by doing so you’re assuming two things:
- The return of the function will be an object
- If an object is returned it will contain the property
body
You may find that there is an error and it’s in a different field other than body.
so, i'm ready to burn my pc. i have a relatively simple piece of code in C that almost does it, but not quite
char payload[2048];
fread(payload, 2048, 1, fp);
a.cpuid = payload[12] + (payload[13] << 8);
a.year = payload[8] + (payload[9] << 8);
now, payload[12] = 0x81 and payload[13] = 0x06, but i get as final value a.cpuid = 0x0581
same thing happens with a.year = 0x1899, where i have payload[9] = 19 and payload[8] = 99
what am i missing here? pls ping
nvm, this went as a rubber duck debugging session
set payload to unsigned char and solved it right away 
not sure if anyone will be able to answer, but i am starting a new job next month and am beginning to create my own open source application (in my own time). If i work on this by myself, outside work hours, am i correct in thinking my employer has no claim to having the application to themselves? If this doesnt make sense, please let me know and ill try and explain it better
ianal but it would depend on the contract you sign
and depending on the state/country, the contract may not be enforceable if it does claim copyright for side projects
but it definitely is in some places
I also wouldn't recommend using a work laptop or anything owned by your employer to do side projects regardless of your contract
thank you both. my current employer is very open about allowing personal projects but the new company is less upfront about it
Adding on, if your side projects are mostly unrelated to your direct work at your company, and you make them on your own personal time and devices, you're probably pretty safe
Read your contract carefully, google the question for your specific area
@obtuse night You need to inform your employer of the project, and document the hours you work on the personal project if you're worried about them claiming it. If the project is in any way influenced by your day-to-day job they may have a claim depending on your contract. So the contract really is the key.
it could be seen as being influenced by current projects as my role is a bespoke software developer, just working on whatever other companies need. some time it will be finance based systems, then the next may be cybersecurity based. tbh, they probably wont even bother but it's just something i dont want to be worrying about. Thanks
Is there a chance anyone here uses Argo for kubernetes deploymetns?
No, but I've been really wanting to try it
there is a chance, yes. However I'm not sure what the value of the chance is.
The genera issue is I'm trying to define a DestinationRule but argo is not picking it up from the repo. My best guess is there's an error in the yaml but it doesn't tell me of anything like that.
can someone help me with 3d modeling
Not sure if this goes here but...
So I added a helicopter into my FX server for FiveM and whenever I spawn it in I can't control it, like WSAD doesn't do anything. It only does it with add-on vehicles so... Any fixes?
I've had 2 developers look through the meta files and they didn't see anything so..
I'm looking for a way to do something in Python and im not sure how to, so any help is appreciated:
Say I have a .py script, where i have a list with 3 values, e.g values = [1.01 3.14 218].
When I execute the script, the program optimizes the values of this list and changes them over time, so say for example its now values = [1.21 4.15 201] after running the .py file.
Is there a way to modify the original list after running the script, so that the next time I run it it will start from values = [1.21 4.15 201]?
I mean apart from saving it to a .txt file, I kind of want to avoid the hassle of that.
thanks!
hassle!?
self-modifying python is way more hassle and complexity.
besides, you're still reading and writing a file, it's just also the file you are running.
I guess you're right, I thought there would be an easier way to just modify the value of a variable after running the script
import json
def load_list():
with open('list.json', 'r') as f:
return json.load(f)
def save_list(list_to_save):
with open('list.json', 'w') as f:
json.dump(list_to_save, f)
vals = load_list()
# script here that uses, and perhaps modifies the values
save_list(vals)
not run it, but something like that is fairly simple.
Yep that seems easy enough, thanks a lot for the help!
@warm sleet thinking of maybe doing a project to control the garage door with a micro-controller powered by POE, something like this seems nice: https://www.olimex.com/Products/IoT/ESP32/ESP32-POE/open-source-hardware
@midnight wind two sensors and a motor
the sensors tell the controller if door is fully opened or closed
control motor accordingly
I could just wire directly into the door controller
oh it has one?
kk
@midnight wind I've tapped telemetry into industrial equipment before
using opto isolators
@midnight wind how does the door controller get its signal?
remote?
I would need to look into it more closely, but there are two parts. The outdoor side is wireless, while inside there is just basically a button that you can use to open/close the door
I was thinking I could just tap into the button
It amazes me that I can not find a simple arduino-type unit that simply takes a closed circuit, and then sends a REST call based on that pin short via a configured wifi connection.
hang on, that's the other problem i have. For the garage door I need to listen for a rest call and send data to the output pins.
yeah, that's basically what I want to do
Does anybody have an insight in X11? I have a problem with querying keystrokes and non us keyboards returning wrong keys. Does X11 translate keycodes into different layouts? E.g. ALTGR+Q returns 2 instead of L-CONTROL+R-ALT+Q
As a char that would be '@'. I suppose this is due to the US-keyboard layout putting '@' on SHIFT+2
Anyone knows any good resource for learning concurrency in C++?
real life
@restive jungle I think X11 does exactly what you say actually, afaik X11 takes in key codes, and spits out characters based on the current keymap, which can be set with setxkbmap, but that's about as much as I know on the subject.
@restive jungle keyboard and input stuff is all in /dev
@restive jungle keycodes to scancodes are part of X, and shortcuts are handled by the DE
X gets its input through /dev/tty
crystal@watomat /dev/input sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Lid Switch
/dev/input/event1: Sleep Button
/dev/input/event2: Power Button
/dev/input/event3: AT Translated Set 2 keyboard
/dev/input/event4: Video Bus
/dev/input/event5: Video Bus
/dev/input/event6: ETPS/2 Elantech Touchpad
/dev/input/event7: HDA Intel HDMI HDMI/DP,pcm=3
/dev/input/event8: HDA Intel HDMI HDMI/DP,pcm=7
/dev/input/event9: HDA Intel HDMI HDMI/DP,pcm=8
/dev/input/event10: USBest Technology SiS HID Touch Controller
/dev/input/event11: HDA Intel PCH Headphone
/dev/input/event12: USB2.0 VGA UVC WebCam
/dev/input/event13: Asus WMI hotkeys
Select the device event number [0-13]:
those are the actual kernel devices that represent your inputs from all your HID's
so in my case, keyboard would be /dev/input/event3
keyboard mapping should be handled by udev
not all distros use udev though
keyboard events in X11 are handled by xev
I think you can use xbindkeys for that
I like to stay away from cf
Okay, I need to find a discord server that's crowded with seasoned devs, in this case preferably javascript/ecmascript devs.
I have some data/database design decisions to make 😄
i tried sharing another discord server link, which is apparently not allowed (got scolded by LMG Warship 🙂 even though i skimmed the rules before i did so)
anyways, try asking here, maybe someone can help
so i think my discord link was removed because of rule #3
- No spam
This includes server invites, mass mentions, caps, screamers, and link spam.
While I agree with the intent, I wouldn't qualify this particular case as "spam"
ah yes, I didn't even think about that when I mentioned it.
can I know the reasoning behind it?
or was it purely because it just doesn't suit you?
because sometimes other people might not know if some service is actually not good to use and that there's actual better options etc, I'm sure others want to know that better options as well if cf is not good
I imagine linking other discords is automatically removed, this server probably gets a lot of spam
as for finding seasoned devs, I still think IRC/Freenode is better for that, I've always had a trouble finding really developer centric and busy channels on Discord.
it's a huge service, if cf goes down then your site goes down as well. And cf goes down not that unoften
I just recently moved my dns nameservers from cf to he.net
The forum uses CF, and I can’t remember the last time we were down because of them
Ah, well, I definitely wouldn’t say they have bad up time
Yeah, it's not bad
Cloudfare is okay, but they like to force their content hosting on you instead of running straight DNS. Hurricane Electric gives you regular DNS... personally Id go with HE any day over cloudfare. They've been called the "used car lot" of providers before.
the CF dns is more like a CDN.
Looks like this might be in the wrong channel though. Probably better in maybe a networking channel or something?
You can still just easily use them as a DNS if that’s all you want, it’s just one click
I agree. I have nothing against them, I've used 1.1.1.1 at home for a long time.
Hurricane electric just offers more control for those who are comfortable with it. They would be my choice first for that reason, but the family filters on CloudFare come in handy.
Funny I just set a router yesterday for the same combo
Adding HE actually as a 4th.
Well, kind of actuallyy. I used HE and CF for the IPv6. I'll tell you hang on. Its not as memorable off the top of my head
Looks like you can google faster than me. Lol.
Thats the way to go though, diversifying the DNS protects you from a lot of the tomfoolery.
I'm learning c++ at school and when I finish it, I want to make my first Windows program.. I have this idea, all of the games from all platforms (Steam, Epic, GOG, Origin, etc.) are all in one library, categorized by Platform, Personal Folders, Genre, etc
Is this a good idea?
I'm open to criticism
too complex, start with something simpler imo
It would be awesome... but the people that own the copyrights woudn't let it happen.
What do you mean wouldn't let it happen?
well, locally run it should be fine
way too complex, kinda grey legality
yeah, just a launcher, you still would need Steam, Epic, etc installed
still pretty complex, mess around with some command line programs a bit
It shows what you have installed, updates, play time and it would be synced via APIs
u need a pretty good understanding of the language before u can make actual good apps
yes you would need everything else but you can check what you have all in this program
I know I just in the future when i perfect my craft
I want to know if this is a good idea
what do you mean by good idea
Kodi just released a plugin actually similar to what you are discussing.
there are lots of good ideas
Its not real though... just a concept piece let me see if I can find a link
if people would use it
it would be free obvs
with donations as optional to continue development
if ur looking for something to go widespread its gotta be really good and you would have to be able to spread the word somehow
like it sounds like a unique idea, but personally im fine using my steam library separately to my epic games library
as a gamer
other people might think differently, but i think you should maybe ask in a gaming channel
rather than in a channel of devs
Discord is a good way to do that... lol. For that reason, I'll attached just this gif. Its probably got some ick attached to it so wouldn't go to Github and procure the binary if you like your computer. Not trying to start a bot-pandemic. Since it isn't real it does work in the Dev chat (as aproof of concept)
It would be an awesome idea though if it was a real thing.
this idea already kind of exists on desktop, its called playnite https://playnite.link/
yea
https://github.com/JosefNemec/Playnite/ its open source if you want to look at the code, its in C#
Nice!
Looking at it now
I'm running Arch... the code is working? I'll give it a test drive if its ready...
Ooops give me a few I'm coming off of a fresh reinstall and I don't have a complier installed. I'm impressed from what I see thus far. I'll circle back.
@nocturne galleon lutris is another big one
Play all your games on Linux. Lutris is an Open Source gaming platform for Linux. It installs and launches games so you can start playing without the hassle of setting up your game. Get your games from GOG, Steam, Battle.net, Origin, Uplay and many other sources running on any Linux powered gaming machine.
I have Lutris already actually... not a big gamer so I havent played with it much
Lutris also has scripts for configuring proton with some windows only titles
for using DXVK
Not famililar at all with DXVK. I'm assuming its a compatablity layer? Wine for DirectX or something like it?
Forgive the NOOB question...
Its a DirectX implementation with Vulcan, another graphics API
Allows windows only games (DirectX is windows only) to run on linux systems with WINE
Valve actually forked WINE and added DXVK to it, calling it "Proton"
Proton is bundled with Steam for linux
That was my next question though was what that meant for playing games on Linux. I always hear about Linux gaming being terrible but from what I've seen Windows games were playable through WINE. Good to know thats true.
I hardly play tetris on my phone, let alone PC games... lol. Just learning.
the performance issue is mostly with newer games
Drivers?
since a lot of optimizations for games are done in the graphics drivers
and drivers, are a major issue with nvidia specifically
amd is not as bad
Games on DXVK don't get to enjoy the optimizations done on windows sytems
I know how the big companies are... for sure. NVidia requires a kernel mod, right? That puts it out of the way of most casual users for sure.
Because they run directX as Vulcan
@nocturne galleon yeah so in linux, its kinda 'taboo' and bad practice to run user-space drivers in the kernel
drivers shouldn't live outside of the kernel source tree
but with nvidia they do
So they use DKMS to load a kernel module afterwards
It works, and its fine
but the issue is that the drivers are not optimized to the degree the rest of the kernel is
because nvidia does not even have technical documentation on how their hardware works
They sell us chips, as a black box, with a binary blob to use it
Dynamic Kernel Module Support (DKMS) is a program/framework that enables generating Linux kernel modules whose sources generally reside outside the kernel source tree. The concept is to have DKMS modules automatically rebuilt when a new kernel is installed.
Got it... makes sense. I got into linux after doing windows IT for a long time... so still just learning. Most of what I do know comes from the distro of Linux I finally settled on... its called Sailent OS... its just Arch though. Thats dissapointing that NVidia can't pull their head out of their butt like that
nvidia is anti technology
I know Broadcom did it with WLAN chips too
Anti-competition is more like it... wouldn't want the other guys to see their code. or at least thats part of it I'm sure.
Yep.
anti technology
not anti competition
look
their hardware is fine
but we can't use it if we don't have technical documentation on it
without those documents, community cannot build drivers
they have open source drivers for nvidia: nouveau
but they suck dick. because they have been built without insider knowledge
I have certainly seen plenty of that in other fields so I totally get it. I guess thats why I say anti-competition... but thats just a poor choice of words. They just aren't willing to invest as they should becuase of the market share. I understand their take, but Linux is EVERYWHERE anymore, and really, it has been.
They're only hurting their own pocketbook at the end of the day... the embedded market is already HUGE asis.
its the exception rather than the rule
nvidia is one of the very few companies that behaves like this
Linus Torvalds did this ^
in a statement on nvidia
They haven't changed since
this video is about 10 years old
thankfully, AMD is now back in the competition
No shit... wow. So thats why AMD is so well regarded in the linux circles.
and the AMDGPU drivers are upstreamed in the kernel now
Vega64 under linux was one of the first cards
those worked like a charm
i really want to transition to linux 100% sometime but the lack of good game/nvidia support is whats holding me back at this point
Haha I can't type fast enough. That makes sense. They weren't very good cards under Windows though, right?
and why would nvidia go opensource lmao
they can cash in that microsoft money as bribes
I vaguely rememeber that.
lock down nvidia to windows only, games will have to pay microsoft for windows
Its same the same way microsoft made sure users are stuck to office 365
you give the apple people "Office for mac"
and linux people can go suck a big one
i have heard some rumors (key word there) that ms may eventually transition from NT to the linux kernel and bring driver support with it, but even if they are eventually gonna do that itll take forever
@spring pond you don't have to "bring driver support"
since linux is 80% drivers
Windows is legacy technology
I'm on Arch with Plasma right now... you would think it IS windows honestly. Drivers is the only thing missing
good 'ol propietary drivers
yeah
some wifi chipsets on laptops in the past were full of bugs
but its been years since that was an issue
@spring pond quite a lot of laptops do support the replacing of wireless chips
they are m.2 keyed
getting a replacement module costs like 20 bucks
Mines working perfect. They have improved a lot.
Check out SalientOS... its bootable off a flash drive. Tjats tje screenshot I just sent.
i have a desktop mb with it built in so sadly thats not an option
I need to buy a better keyboard... lol.
They look like this ^
but at this point i use my slower ethernet when i do use linux so it doesnt matter to much
There are PCIE cards or USB dongles as well
well my current use case for my linux install is going to be going away in a week or two so im not too worried
if i was using it longer-term i would invest in a pcie card
due to my living situation thats not an option
¯_(ツ)_/¯
i would 100% do that if i could but im not allowed
Yeah probably best you don't go plugging anything in. I understand that.
Wireless is much, much improved over the way it used to be. I only plug in anymore when its safe, and I'm protected with a shield.
A Firewall I mean.
Thinking of nVidia I guess... lol.
Its really just a matter of preference for sure.
I used Windows for a long time. I'm still running my crazy mix of big tech. Google, Apple, Microsoft, all working on Linux now. Just attempting to learn as much as I can. Its amazing how well things can work together with a little bit of elbow grease.
Not for the faint of heart though, for sure. Thats where the ecosystems Like Apple 1 or Google 1 work out well.
Heck you can make Juniper interface with Cisco just fine if you take the time, but time is precious to most people, so having someone else simplify it works for most. I guess I like doing things the hard way... lol.
Its important for Silicon Valley to understand how scary and dangerous it could get if that balance doesn't exist. Its almost like they forgot what Sci-Fi has already shown us.
mikrotik all the way
I want to maintain a bit of control for that reason mostly. The inmates running the asylum isn't too far off for us.
I feel like Mikrotik is just silly difficult though. It can still be a convenient product. PFSense is a good example there.
mikrotik is superior to pfsense, in terms of features and the hardware
I love Mikrotik stuff... but the learning curve is crazy sharp.
yeah its a bit steep at first
Its running LINUX
As is PFSense... modified BSD.
pfsense has the issue that it doesnt integrate with hardware to the same degree
a mikrotik router that uses 25 watts can push 10gbit/s
pfsense, by the time you've spent 3x as much money, for 1/4th of the bandwidth
What is OSX? BSD. What is Linux? BSD. I don't disagree that in a commercial setting it makes since to go with the packaged product... but for me its about doing it for the right reasons. Time IS money. You don't see much Mikrotik in commercial installs for a reason... it would take 900 hours for the average guy to learn it at scale. Dell will sell you something preconfigured. And thats OK. Thats where we should focus on differentiating ourselves.
what
I don't hire companies to do my network installs
I install networks myself
and I find mikrotik much easier to use, than other enterprise platforms such as cisco
also, linux is not BSD.
where are you pulling that from??
I'm not trying to create an issue, certainly not. Its just about the right product for the job.
Its a derivitive.... thats all I meant.
@nocturne galleon unless you do carrier level exchanges, mikrotik is perfectly fine
they serve the lower to middle segment
up to ~80gbit/s
Its origins is in the same place. I never meant its exactly the same.
but they have all the features you'd want in an enterprise setting
I agree... and I've used it there.
I guess what I'm trying to say is the competetion is GOOD... we don't want to be TOO compatable becuase then we turn into a Staney Kubrick flick. Thats all.
mikrotik mainly competes with other lower end brands
but they completely stomp on tplink, asus, dlink, netgear, and the likes
Absolutely. I have had some issues with build quality with them.... but in general they have been very good for me. Have do done any kind of training with Mikrotik?
I'm thinking about getting some kind of cert and that was one idea on my radar was the Mikrotik stuff.
Just becuase its not that common and I'd like to diversify myself that way.
You can get training for mikrotik, but you can self teach
lots of infos on the wiki
I gotta go rn
ill ttyl
Oh absolutly yes... I just meant for the cert.
Ok Take care!
Sometimes... the truth hurts. But you can't argue with it. Its for our children's welfare... not just our pocketbooks today.
My point of view at least.
🙂
on the unified launcher idea someone mentioned earlier
- yes, it's a good idea
- it's complex if you're just learning c++
- there are already solutions for this (this shouldn't discourage you though)
Someone into assembly?
@rotund plover I know someone who is but not in this server
They made their own os from scratch in assembly
I'll send an invite to a server they are in ( it's a flight sim server) if you are interested
It's ok I got it right 😬
Thanks
to make games or the underlying tech behind it
to make games the scripting engine uses lua
how is lua, honestly? I've not done anything with it.
I'd really like to pick up rust. Some of the small stuff I've written in C I'd like to rewrite in rust.
I never did anything big with it, just some flightsim scripting
Why are you wondering why he's wondering if anyone knows assembly
Why not wondering? A lot of people not using assembly daily and don't know how to program in it.
don't use go, didn't know it was so integrated
Anyone know if the LMG Warship bot was developed in house at LMG?
Oh yeah I know, I've made several
Ah got it. I wasn't sure how many people at LMG were Devs
Yeah warship is built by the discord admin, floatplane is a separate company from LMG btw
anyone an idea on howto fix this , in a way that navigation up the tree works again? , python interpreter has no problem running it but pycharm is complaining , its about the no ref in init popup. (ps all the options it gives to fix it just remove the warning but dont solve the navigation/(and less important codecompletition) problem)
i have already tried reinstalling pycharm, invalidate caches a couple times, reset to default settings aslwell, adding the funcition to init just links to that function but not to the actual mido function. and yes its python2.7, but its wat Live10's framework still uses. so stuck with it
Ok so if I have a 40 pin screen can I plug it into an extension cable and connect that to an rpi 0 wh
And if so
How
coding in a nutshell.
I keep checking back in here to see if there's something I can help with, work as a Python/Django dev, I read that and I'm like "Yay, my time to shine" and then he's like "I fixed it" 😦
@deft sigil in weird circumstances where the linter complains but has no reason to, you can add #noqa to the end of the line to suppress the warning.

