#development

1 messages · Page 36 of 1

twin arch
#

im using intilij idea

proper gale
#

IDEs to a shitload of work for you

twin arch
#

i just clicked the build button

proper gale
#

IDEA is no exception.

#

you need to add a build artifact, then you will get a jar from that

#

open the project settings (Ctrl + Shift + Alt + S)

#

left column, Artifacts.

#

add a new one, Jar, from module with dependencies, select the module (should only be one), select main class, select dep behavior, click ok.

#

should add the build artifact, click ok again.

#

under the build menu, build artifact, select your artifact.

#

@twin arch got all that?

twin arch
#

i got it onto my vm

proper gale
#

now, run the jar.

#

also, i highly recommend not having it in the /usr directory

twin arch
#

better idea?

#

also it didn't work

proper gale
#

even if you are root, i would recommend a directory such as /Meebo

twin arch
#

ok

proper gale
#

what error did it give you this time?

twin arch
proper gale
#

build artifact is wrong, did you select the main class, or type it in?

twin arch
#

yup

proper gale
#

while technically a corrrect answer, that is not what i was looking for

twin arch
proper gale
#

oh, wait, im dumb, i thought you did the command right.

#

when running a jar, you need to use the -jar argument

#

java -jar jarname.jar

twin arch
#

wait so you can't run classes anymore?

#

i thought i did that a while ago

#

back when i used javac and notepad

proper gale
#

you are not running a class, you are running a jar (a bunch of classes)

twin arch
#

yeah but earlier

#

i was tryiong to

#

ok lemme try -jar

#

hey yo

#

it works

#

kinda

proper gale
#

what isn't working?

twin arch
#

i didn't see the text file it was supposed to create in my sftp explorer but it just hadn't refreshed yet

#

thanks

tropic sapphire
#

@modern nest nice oc but 0% deep sleep?

modern nest
#

Thats a problem with pie and doubletap2wake @tropic sapphire

ember torrent
#

Is it fair to call a developer incompetent if they're a AAA dev who can't fix a bug, that's been going on for a year, and is it fair to give them a pass by saying this is normal with millions of lines of code?

#

Also, said dev said they fixed it..but..they didn't Basically, in destiny 2 in one boss fight there's a bug that causes you to die every time you go into the void room. For no reason your character just gets pulled over. Seems like a simple fix to me.

proper gale
#

@ember torrent i highly doubt there are millions of lines considering that Linux is only a bit over 20million lines.

#

now, as to the actual problem, they are fucking idiots

ember torrent
#

Ya, I am not sure where this fangirl was getting her numbers. That wasn't my claim. I stand by claim that Bungie is an incompetent developer who likes to fuck their community. 180 bucks later for all of destiny 2, and they won't even fix their shit when it's been a year.

#

I just told her it was bs, a developer of that level should be able to fix such bugs to the point they go away, and she's like.."Nah, millions of lines of code it's impossible"

proper gale
#

i mean, you can tell based on compiled size how long the source code is

#

or, rather, how long the unique source code is.

#

for example, my entire RocketLeague folder is 7.4GB

dark thicket
#

patches have made devs lazier

ember torrent
#

destiny 2 is like 40-50gbs iirc

proper gale
#

the binary is 47MB

dark thicket
#

you can take out the textures, audio, maps, and all of that out of the file size

proper gale
#

assuming same ratio (Rocketleage is heavily assets)

#

the binary of Destiny 2 should be around 310MB

dark thicket
#

the ps2 and xbox era of games made devs betters as if they fucked up the bug was forever in the game

ember torrent
#

"In video game development the fixing of one bug causes more no matter how skilled you are, its the nature of these massive complex games. "

proper gale
#

just boost compiled in release mode is 230MB

#

thats programming in general

ember torrent
#

" When you have millions of lines of code, literal millions, searching for the cause for the bug alone can take forever. Your naive and a liar. We support bungie through massive amounts of crayon eating not because we like bungie but because we enjoy their game and hope that through our support it will continue to get better. You can keep spewing out your ass like youre some big smart man and you can continue lying about being a game dev major but everyone here will very easily see through it and see just how stupid you are.
" Do you see what I mean by a fan girl?

proper gale
#

yes

ember torrent
#

She got pissy cuz she learned I'm a dev major and called her out.

proper gale
#

to get boost into perspective

#

there have been 7566 man years put into it

#

at an average salary of $55k (low) that is 416 million dollars.

#

games development costs and time dont even come close

#

they have in the hundres of thousands at most.

#

i would be amased of a game broke 1 million lines of unique source

#

unique source: source code not copied from another section of the code, this does not mean that } is counted out as a unique line of code.

ember torrent
#

Well, they claim they're actively working on it..yet.. Bungie is known for being dicks. Like they hate the infusion system that "they" created. So, they literally punish us for it by making us work extra hard. Matchmaking is broken because to leave it you have to spam cancel. The net code is so bad I can get shot behind cover in PVP when I'm not lagging.

dark thicket
#

I wonder what it would be like if you assigned an AI to produce an physics engine giving it real world gravity input to work with

#

like how googles AI created it's own encryption in that one test

proper gale
#

you can actually do that

#

and its not as hard as you may think

#

the problem with AI, is that it has a O(1) time

#

and while that may seem good on the outside

#

its a high time

ember torrent
#

all the binary crap is in the game's bin folder/s right?

proper gale
#

yes

dark thicket
#

I've watched those videos where a AI learns how to play a game those are pretty fun to watch

ember torrent
proper gale
#

to be specifc, you would give the network information about the object and train it off simulations.

#

@dark thicket that is the genetic generation model, which is completely different from neural networks/deep learning.

#

libdcef is a publicly available library

dark thicket
#

it just keeps trying and takes the best sample from each generation from what i understand

proper gale
#

to be exact, thats chromium

ember torrent
#

oh

#

tbh I only clicked on that randomly lol

dark thicket
#

I don't know anything about coding I used to play with a games scripting language changing variables just to see what would happen

proper gale
#

the vulkan version of DOOM, is 100MB

#

the whole folder is 74GB

ember torrent
#

I think the largest game I've found was like 120gbs and that was gears of war 4 on the ms store for windows 10

proper gale
#

74GB/100MB == source code is tiny

#

compilers are generally quite amazing when it comes to making code small

#

correction on boost, its about 34MB compiled.

ember torrent
#

Ya, figures she's just buying into the bs Bungie feeds her. Same idiots who claim dedicated servers are super expensive and not good for the community.

#

I mean Quake Champions uses dedicated and that's a F2P

proper gale
#

the source is 354.6MB of impl, and 130MB of headers, all ofr 34MB of compiled code.

#

dedicated servers are cheap af on the scale of destiny

ember torrent
#

Ya, I am questioning how their network guy has a degree when he actually believes his p2p meets client based hybrid server is better.

#

It's broken the game

proper gale
#

a 2p2 mesh network is generally better

#

when it comes to real time syncronzation at a level lower (less time) than the p2p latency, it just doesnt work.

dark thicket
#

resident evil's online play for ps2 was broken, keys required for progressing would spawn inside walls and stuff so they killed off that part of the game

tropic grail
#

How hard is it to fix a wall-spawn bug.

#

Literally built into some game engines.

proper gale
#

depends.

ember torrent
#

I mean how does a p2p/client based server work in the hybrid sense?

proper gale
#

tldr, instead of your computer telling a server that you moved, you just tell everyone that you moved.

ember torrent
#

oh

tropic grail
#

cryTrash Garbo.

proper gale
#

the normal way of doing it, is like having the server be a giant whiteboard where you can see where everyone is at all time, all in one place.

ember torrent
#

I'm tired of getting shot through solid objects because of it.

proper gale
#

a p2p way is like everyone shouting that they moved.

#

it is generally better, because there is no one point of failure/bottleneck and players nearby experiance a lower latency

#

but because residential connections suck, and players are not nearby at all times, the latency can be ever higher

#

if the server was on OVH's network (a classicly bad one), it would still have fiber dedicated to OVH to/from each datacenter

ember torrent
#

Well, I'm not lagging, they are not lagging, but the game is the only time we do lag. I get shot through walls, boxes, I get a kill 5 seconds after I die, and their bullets are not easy to dodge because they don't match when they fire.

#

This is like every pvp match for the past 2 weeks.

proper gale
#

this results in a lower latency because the packet can go to the nearest server, which can then send it over a faster line to the other servers, who can send it out sooner.

#

so, thats due to latency/synchronization, which p2p is classicly bad at.

ember torrent
#

my favorite is when we go to orbit, but don't wanna stay in matchmaking we then have to hit cancel 10 times at minimum to even leave that because the first 9 cancels are not registering.

proper gale
ember torrent
#

Okay ya they need to invest in dedicated servers slaps it

proper gale
#

you see how that could go poorly with a game?

ember torrent
#

yes

proper gale
#

great for file transfer, that takes on the order of minutes (for things the torrent protocal can help with)

#

order doesnt matter

#

and if it takes 50ms for a responce, thats fine.

#

for a game on the other hand

#

order does matter

#

and 50ms is an extremely higher response time.

ember torrent
#

this is why I'm quitting destiny 2 I feel robbed of 540 dollars. I mean I was gifted most of it, but I have destiny 2 on PC/PS4/XBO. That's 180 bucks times 3.

proper gale
#

$540?

#

jesus christ m9, why?

ember torrent
#

100 bucks for the base game + first 2 expansions, 80 bucks for forsaken in total.

proper gale
#

pick a platform, and go wtih it.

#

$100 for the game, what a fucking rip

ember torrent
#

another 80 if you wanna keep playing lol

proper gale
#

i got DOOM for $60, and my brother did for $40

ember torrent
#

I mean I was mostly gifted this crap, but like I'd feel worse if it were my own money.

proper gale
#

that now includes all DLC because id software is baller af

ember torrent
#

Ya, that's why I'm going back to doom/quake champions/unreal

proper gale
#

now, lets ask this question

#

how can a company make the best game engine (i can back this up), a fucking great game with stunning visuals, make a IMO great 22 year later new version of a classic game, have the best engine programmer write the engine, and sell it and all its dlc for only $60?

#

the answer, by making a good game, so people buy it, and you get repeat customers, and a lot of them (that are not 12)

ember torrent
#

John Carmack is the answer.

proper gale
#

and that

#

John Carmack did some amazing things with that engine

ember torrent
#

when he left the only guy who could replace him was the dude who created the cryteks

proper gale
#

i have seen no other engine run as well as idtech, and it looks better while doing it

#

there were two people iirc

ember torrent
#

hm, hold on

proper gale
#

my favorite part about idtech, is that unline literally every other engine it uses OpenGL/Vulkan.

#

and guess what, Carmack was right

#

D3D is shit

#

John Carmack
Id Software```
deep scarab
#

was that the guy who invented the fast inverse sqrt?

ember torrent
#

lol and Tiago Sousa is the guy who replaced him

proper gale
#

yes

#

and the guy that made 3d a thing

ember torrent
#

in his spare time he builds commercial flights to space not even joking

proper gale
#

and the guy that made quake require not just a 486, but an intel one at that.

#

if you used a cyrix one, you performance would be about half

#

not because the CPU had a lower int rate, or fp rate, but rather because it could not do both at the same time.

ember torrent
#

Armadillo Aerospace is what it was called.

proper gale
#

on a side note, the DOOM 1 engine is really interesting

#

to explain why

#

the generally thought of as a 3d game, DOOM, is actually a top down 2d shooter.

#

even though that gives no explanation as to how, it explains the wtf element of what he pulled

ember torrent
#

wasn't it somewhat fake 3d, though?

proper gale
#

100%

#

same with wolfenstein 3d

#

the first actually 3d game that id made was quake

#

if you notice, in DOOM 1/2 there are never any room stacked on top of one another

#

this is because there is a texture map and a height map, these are both 2d

#

add a lot of fancy texture processing, and walah, it looks 3d but its not.

ember torrent
#

I remember watching a video on it that got popular. Funny thing is Duke Nukem and most Apoggee games from that era were 2D

#

Like Secret Agent and Cosmo's Cosmic Adventure.

proper gale
#

any "3d" games from that era, use the same technique as doom

ember torrent
#

have you seen old games from what became 3d realms?

proper gale
#

no

#

tldr of if a game is "3d" or actually 3d, if it has 3d in its name its "3d" not actual 3d.

ember torrent
proper gale
#

yup

#

make a guess why UIs in old games are so large

ember torrent
#

SW limitations at the time? bad guess most likely

proper gale
#

usually HW limitations

ember torrent
#

oh

proper gale
#

HW limiting SW.

#

when you only have so much CPU, you can only do so much.

ember torrent
proper gale
#

another thing that you may find interesting, OpenGL (and Vulkan) are 2d rendering APIs with depth buffering.

#

OpenGL 3.0 forward compat and higher versions

#

GL2.1 and lower operate in a fundamentally different way, and is more of a 3d api

ember torrent
#

So, how are they not 3d?

proper gale
#

how many dimensions is your screen?

#

you take 3d world date -> fancy math -> projected (field of view) 2d with depth (not 3d)

#

this could be implemented on a fully 2d renderer

#

render each triangle to a different framebuffer, use a secondary buffer as depth storage, compress rendering onto main buffer by comparing depth values and writing the one with the lowest/highest (depends on API, and API settings) value

#

GPUs do basically this exact process, just much much faster.

ember torrent
#

12 if I throw it into a black hole

proper gale
#

hmm?

ember torrent
#

You asked how many dimensions my screen was lol

#

I made a bad joke

proper gale
#

oh, you were a bit late to be responding to that

#

there is physical hardware dedicated to frament discard, matrix math, texture mapping, etc.

ember torrent
#

ya, I was being spammed by someone. But, that does make sense.

proper gale
#

ever wonder what a ROP does?

ember torrent
#

remind me of that again I'm still getting back into all of this lol

proper gale
ember torrent
#

I was thinking of a type of programming for a second

proper gale
#

it bascially handles rasterization and depth testing, anti aliasing, etc.

ember torrent
#

But, ya I know what that is.

proper gale
#

also, by name, writes the render result to the framebuffer.

#

as the name would suggest, a Render Output Processor/pipeline/unit (take your pick)

ember torrent
#

So, what do you think will handle rendering and tasks in maya better the 2080ti or potentially Navi/7nm GPUs? I know it's hard to say with navi atm.

proper gale
#

depends on the vega GPU

#

also, only the 2080ti vs 7nm vega?

#

no quadros?

#

because quadros will whoop ass in maya

ember torrent
#

Well, 2080ti and Navi = consumer cards that can game and develop. Heavy dev focus = quadro and vega 20

proper gale
#

navi is to consumer as skylake is to desktop...

ember torrent
#

I should have said gaming card lol

proper gale
#

now, while we dont have 2080tis, you can compare the 1080ti and the Vega 64.

#

top tier offerings from each vendor

ember torrent
#

ya the 2080ti got delayed until the 27th, the 2080 is out now and matches the 1080ti.

proper gale
#

and, well, the Vega is faster.

#

by about 20%

ember torrent
#

Doesn't the 64 equate to a 1080? Or, is that only in gaming?

proper gale
#

gaming

#

it whoops a 1080s ass in compte

#

my Vega does 14TFlop compute

#

and upward of 450GB/s mem bandwidth

#

14tflop fp32

ember torrent
#

I do have a budget next fall of up to 1200 usd

proper gale
#

a 1080ti does 11.3 by spec

ember torrent
#

I mean I could get a vega fe basically 64 with 16gbs of hbms 2

proper gale
#

a VFE is usually even faster for these tasks

#

due to driver optimization

#

butttttttt, if you are on linux the same driver runs on both, and they are basically the same thing

ember torrent
#

I'm on windows 10 but plan to boot into fedora

#

via dualboot

proper gale
#

fedora doesnt play nice with the driver, unless you plan to use the inbuilt kernel driver and mesa

ember torrent
#

what distros work better?

proper gale
#

i would recommend using Ubuntu 18.04 and the propritary driver for more performance.

#

which is what i do

ember torrent
#

Hopefully ubuntu wants to work this time. Every time I try I get some gnu issue

proper gale
#

if you sift through that benchmark graph, you will see that the Vega 64 beats the 1080ti every time

#

someitmes, quite handily.

ember torrent
#

ya, I did

proper gale
#

the classroom is the most significant difference by the looks of it

ember torrent
#

Hopefully navi beats the 2080ti in rendering and at least matches the 2080 in gaming.

proper gale
#

im good with my Vega 64

#

i had a pair of 970s, then a 980ti when it was to of the line.

#

then, i got my first new AMD card

#

an R9 Fury.

#

i have sense not bought another new Nvidia card

#

IMO, the AMD driver UI is better.

ember torrent
#

Well, I finally got the thermal griz, 1950x, and other new components working. I was mostly AMD like 280x crossfire, 390, fury then I went to 1080 for gaming. And, ya I agree I hate this cluster fuck 2 program bs Nvidia does.

proper gale
#

also, AMD is much more baller as a company

#

Nvidia makes great products

#

AMD makes great technology

#

TressFX?

#

RadeonRays?

ember torrent
#

Yup, wishing for Navi to be better cuz I want to turn on freesync too

#

4k monitor with freesync, 1080

proper gale
#

their open source Vulakan driver

ember torrent
#

one company I miss from the common consumer market = IBM

proper gale
#

freesync, Anvil (look it up), RadeonProRender, CodeXL, RGP,

#

and, lets talk about their most baller project, ROCm

#

you know, the thing that allows you to run CUDA on AMD gpus

ember torrent
#

oh, the vulkan wrapper

proper gale
#

because nvidia is such a dick, AMD went and made their own CUDA to OpenCL suite so you dont need to worry about if the application will run on your GPU because its AMD, it will, despite nvidia.

#

they have their open source driver

#

that was mainlined with the linux kernel

#

so, ya know, a 1st party driver installed without needing to go through the bullshit that is installing the nvidia driver.

#

and thats just to mention a few things AMD does.

ember torrent
#

dayum, vega fes are dropping to 500-750 on the used market

proper gale
#

i got my V64 for $450 back in November.

ember torrent
#

I paid 500 something for my 1080

proper gale
#

same time i got my 1700x

ember torrent
#

waiting for black friday to finish my workstation upgrades

proper gale
#

that was a couple weeks ago though

ember torrent
#

ya, ebays loaded with those I don't need that much until next full when I do more projects for school and what not. But, as I said if the 2080ti or navi don't seem worth it by next november I'll just buy a used FE

proper gale
#

damn it reddit, keep my sort order plz, thx

ember torrent
#

well, I'll talk to you later my gf made me take something for my cold and now it's knocking my ass out. XD

proper gale
#

heh, i should get to sleep myself

#

school, after school activity, then bowling practice, fucking tired

#

bowling practice doesnt sound tiring, but when its like 40 minutes of as fast as the lane will go, you get tired real quick.

ember torrent
#

Didn't realize bowling still existed. Most places here closed down

proper gale
#

It's still a thing

#

Quite a fee alleys here in San Diego

#

My personal favorite is my local one, not because it's local but because it's only 12 lanes.

ember torrent
#

I haven't bowled in 15 years. Was toying with games and coding mostly reading game making books by guys like Andre Lamothe

proper gale
#

Huh

#

I need pe credits, and bowling is one way to get them.

ember torrent
#

Oh, I just workout. I just had to go to PE for credit. Did that senior year. Mostly focused on computer courses.

proper gale
#

What courses?

#

My school doesn't go as high as I am, so it's self study for me.

ember torrent
#

Mostly typing, editing, and light html. They didn't give us programming until college. For me it was alice3d, raptor, pyyhon, vb, and java.

proper gale
#

Also, it's 1 day a week, for a couple hours.
It's not expensive, and it's a nice to hang out with fiends and make fun of them (I'm better than most of them)

#

Heh, no programming until college...

#

I would consider myself fluent in c++, 11th grade

#

This is after Java.

#

Not to mention GL and vk.

ember torrent
#

Ya, programming wasn't big until the 2010s in most of America in grade schools. So, schools adopting it is somewhat modern outside of a few exceptions

#

I graduated in 2008, got my first degree a bit after going to work on my second next year or in 2020 to do a double major

proper gale
#

Noice

ember torrent
#

what's funny is people downvoted the fangirl and people are now pissed off at bungie even more because of my comments.

proper gale
#

reddit?

nocturne galleon
#

I love how only 2 people use this. And now I want to make it 3. Have you tried Solus?

ember torrent
#

@proper gale Bungie's forum

proper gale
#

huh

ember torrent
#

Where the comments are.

ember torrent
#

Oh wow, now the entire forum is calling Bungie incompetent. XD

tropic sapphire
#

We have always said that even back in d1.

ember torrent
#

Ya, but they haven't been this vocal about it on the forum. Loyal players are leaving now in greater amounts than with vanilla d2.

#

I just like the fact that they always brag about how big their development team is, but they're not really that great either.

proper gale
#

@ember torrent what one developer can do in one month, two can do in two months.

#

adding more people do the development of a project doesnt scale as you may think.

ember torrent
#

Well, Bungie is bragging about how large their dev team is in the sense that they're also good at what they do.

proper gale
#

espically when the people are not good individually

ember torrent
#

I mean I know they're not good. I'm just laughing at their bragging and claims.

proper gale
#

in total, idsoftware has ~270 people, bungie has ~750

#

how can 270 do more than 750?

ember torrent
#

Because id is actually competent

proper gale
#

exactly

#

and id looks like a bunch of bumbling idiots compared to kernel devs

#

correction on Bungie's employee count, there are 875 of them.

ember torrent
#

Well, id has Tiago Sousa who is a better dev than anyone at Bungie lol

#

He was Crytek's principal graphics engineer and replaced John Carmack

swift niche
#

This is pretty specific, but to;dir I have a system I want to use for a machine learning program that'll rely mostly on the GPU(s), but the CPU itself doesn't support the AVX instruction set (it's an i7-970, so 6c 12t is cool)

My question is if anyone knows if the lack of AVX will be q huge hinderence or nah

jade nova
#

I’m creating a client/server application in Java however I don’t want the server to immediately do a socket.accept() on the client socket which would allow a potentially malicious person in, I want it to pass through an if statement and if the remote address has been added to the blacklist then it closes the connection, otherwise it accepts

lapis pebble
#

@swift niche To learn? don't worry

ember kiln
#

@swift niche if you're going to be doing most of the work on the GPU, I don't think it would be a big issue to not have AVX because any time you need to vectorise you'd probably be better off using the GPU anyway

tropic grail
#

The Mortis strikes.

fallow lantern
#

No clue if this is the best place to ask but:

Would there be by any chance a docker that can manage any amount of java instances? Where you can just create a few batch files to load up, with a console in the browser/commands to control the instance? maybe combines with some log of cpu/memory

split condor
#

Could you explain what you want a bit more/differently @fallow lantern?

Typically a single Docker container will hold a single instance of some application (in your case, something on the JVM). I believe the Docker daemon already exposes information regarding container resource usage, but you'll need to handle application metrics. You can find third-party tools to manage these containers from a web interface.

fallow lantern
#

Well, i got the idea from Minecraft, they have dockers that can run multiple servers within a docker, I use a VM right now to run a few different java servers including a Minecraft server, but i would like a general JVM solution without having to create a docker for every single server, both because I would have no clue how and if you can do it with programs that are not opensource and I just don't want 10 dockers running different java servers

split condor
#

they have dockers that can run multiple servers within a docker

What do you mean? There is no reason to have multiple instances running in one container. That kind of defeats the purpose.

#

You can have multiple containers running, each for a single server. You will have one Dockerfile to use for Minecraft servers. When you are starting a container you can specify a port on the host machine that will forward into the container's 25565 port.

#

Then you can then bind them together with whatever proxy suite you want (whether that be BungeeCord or LillyPad) so that they act as a single server, or treat them as individual ones.

#

If you could share some more details about those ten different instances you want running (what is their purpose? what kind of server are they?) we may be able to help out some more

#

From what you have described so far I'm gonna recommend leading away from Docker, and trying out some game panels. This is one that's fairly popular with Minecraft: https://pterodactyl.io

fallow lantern
#

I just want an easy interface where i can add jar files, and start them

split condor
#

There's also Multicraft, but in my experience it kind of sucks

#

Ok. Where are you planning to running this?

#

Some dedicated Minecraft hosting provider or are you leasing some VPS/dedicated server?

fallow lantern
#

I have a server at home

split condor
#

Is there any reason you want to use Docker in particular?

fallow lantern
#

But now when a java server shuts down, i have to remote in to my vm, and thats not easy if i'm on my phone, and windows ignores my setting to not update

split condor
#

Would you be comfortable with a little bit of command line work if you were to use Docker?

fallow lantern
#

I would really like if there was a solution with a web interface, file upload doesn't have to work from a web interface though, just start/stop and maybe a log file or something from a web interface

split condor
#

What is that VM running?

fallow lantern
#

At this moment, judt a MC server and a spring/hibernate jar that i made, a little project

split condor
#

As in, what operating system is it running?

fallow lantern
#

windows pro

split condor
#

Oh alright. I wasn't sure about that yet.

fallow lantern
#

i had windows server but i'm not a student anymore

split condor
#

Are you exposing those Minecraft servers to the Internet? Or is it just a home fun thing

fallow lantern
#

exposed i guess, i have some ports forwarded to the internet

split condor
#

Ok

fallow lantern
#

got owncloud and webserver running

split condor
#

If this sounds alright, we can help you get that all setup.

#

You can set those containers to restart automatically too

#

This would require a little bit of maintenance, but it shouldn't be too bad

fallow lantern
#

my server is unraid, so i guess i got something similar to that no?

split condor
#

Oh. I'm not familiar with unraid at all.

fallow lantern
#

unraid has a docker manager thing

split condor
#

Oh alright, cool

#

Ok I understand what you're going for now

#

Is there a reason you can't just run multiple containers? Instead of needing one container to hold all of the servers?

fallow lantern
#

but i just dont want to flood the list with all java dockers, and I have no interest in learning how to create those dockers in the first place at this moment

split condor
#

Hmmm. I'm not sure what to tell you. I'm not saying you can't run all of them in one container (you'll need to manage that yourself), but it will not be that fun. As you'll end up doing the same thing you are now; having to go muck around inside that container to fix a single server.

#

I can help you setup a Dockerfile for Minecraft, but not running them all in one container. It's just a bad idea, though I get where you're coming from.

fallow lantern
#

Well since Minecraft has this idea worked out, i was hoping there was a more simple idea for just any jar file without all those Minecraft specific variables

split condor
#

Hmmm, what do you mean?

#

As in you want a single Docker image that will work with any JVM application?

fallow lantern
#

yes, but a few months ago i found a docker that could run multiple mc servers within 1 docker, so basically that idea for any jar file instead of only mc

split condor
#

within 1 docker
What do you mean by this?

fallow lantern
#

container? the things that make up a line in my manager

#

from unraid

split condor
#

Ok. I just wanted to clarify that.

#

Can you link this thing you found?

fallow lantern
#

i'm sorry, docker is a bit new to me, and unraid does most for me

split condor
#

no worries (:

fallow lantern
#

well no, i was just trying to find it again, but can't find it, also on my phone right now

#

i think this is an example

split condor
#

Yeah, I mentioned using something like that earlier

#

You can use that? There are instructions on the README on how to set it up

fallow lantern
#

but i would also like to run my hibernate/spring application within the same container

split condor
#

Why?

fallow lantern
#

because then all java application are within the same manager, and not pread around in 10 different interfaces

#

spread*

split condor
#

but they are completely different things

#

It looks like unraid already provides a way for you to interact with these containers

#

mineOS (or whatever you end up going with) will be the central place for you to interact with Minecraft scoped stuff

#

then you can manage that h/s application on from unraid?

#

It would be like having the GitLab container and Redis container in the screenshot you sent earlier managed from each other. It doesn't make sense. They are completely different applications, though not necessarily decoupled from each other.

#

Unless I am miss-interpreting what you are trying to accomplish

fallow lantern
#

so a different container for every project i do? and ending up with 20 containers?

split condor
#

That is the point of Docker

#

You can use Docker compose to manage applications with multiple components (i.e. containers)

#

Though a single Docker container(/image) should be one component

fallow lantern
#

in unraid you only have a single docker image

split condor
#

No you don't

#

Oh

fallow lantern
#

hmm

split condor
#

If you mean unraid is one image, then yeah. It is one application.

#

Though from your screenshot I can see multiple containers each running a unique image

fallow lantern
#

ah yes

#

but it's saved in the same file

split condor
#

What do you mean?

fallow lantern
#

hmm i had to set a size for img file

#

and it's all saved there

split condor
#

I assume that's where all of the distinct images are?

#

because I know this is not all one image

fallow lantern
#

🤔

split condor
#

Yeah

#

That one image is running the Docker daemon

#

That is not a Docker image

fallow lantern
#

aah

#

learning here :D

split condor
#

That image is on the same level as a Windows image

fallow lantern
#

i see

#

and the list are all containers then

split condor
#

Yep

#

It shows all of the Docker containers running on this Docker host

#

Docker containers are just an instance of a Docker image

#

So a Docker host (think that "docker vdisk location" you showed me) manages a bunch of Docker containers

#

Docker containers are started based upon a Docker image, which are created with a Dockerfile

#

You can have a bunch of Docker containers running the same image

#

In your case, one Minecraft Docker image

fallow lantern
#

like my mysql container?

#

i have 2 of those

split condor
#

Yep

#

Those two things are running the same image

#

Granted they may be a different version of an image, but they are the same image

fallow lantern
#

yea, mysql f** me with 8.0, so created a sexond fixed version to run most stuf, and keeping the other to test

split condor
#

ah

#

I am guessing you can get 8.0 to work

#

but that's another conversation

fallow lantern
#

the authentication changed, and recently my php sites didn't like it, i'm also unable to log in from anything but console

#

before 8.0 worked fine with php

#

anyway thats indeed for another time, it works for now

split condor
#

Ah, I've ran into that before. You can set it up so that it has legacy auth support.

fallow lantern
#

oh

split condor
#

This way you're running with the latest MySQL server version, but still able to use the same apps and such

fallow lantern
#

cool, i had a fun weekend, spend 6 hours to find nothing ending up doing a dump from console to run it again in a fixed mysql version

split condor
#

that's how it goes usually

fallow lantern
#

anyway, back to mineos, in that web interface you are able to set up multiple servers, i would just like the idea of having that working for any jar file, without stats like 0/20 players so it would work for any jar file

and that you can start/stop them from a webpage
in a single container

i guess it's what docker does aswell, just don't feel like having 10/20 containers for just different java application

split condor
#

The project I linked earlier is a web interface for Docker

#

I think it will satisfy what you're looking for

fallow lantern
#

I'll look into that a bit more, time for me to sleep, past midnight already

split condor
#

username: admin
password: tryportainer

#

You can interact with that container from the web panel. View logs, restart it, etc

#

If you deployed what you want, there would be 11 containers there. That is the point of Docker, so don't worry about it.

#

You can name each one, etc so that each one is easy to find

fallow lantern
#

I'll play around with that tomorrow, thanks already, at least have learnd a few terms about docker and containers 😄

split condor
#

np, sleep well (btw, that demo resets every 15 minutes; so it will not be there tomorrow)

tropic grail
#

We doin' Docker now? lol.

vestal glen
#

those defines LOL

#

"I don't want to write C, so I'll just make it look like basic or whatever"

#

my assumption would be integer overflow

#

so you may want to use a long instead of an int, resp. double instead of float

timber violet
granite fog
#

His code is.. weird.. and freaktechnik is correct, need to use double.. because the 'answer' is 4633166637576240462800758953941617252961510218880920244919657663465236325203968.000000 🙄

#

And heres his code written sensibly.. ```#include <stdio.h>

int main (void)
{
double i = 1.7;

for (int j = 1; j < 100; j+=2)
{
    i = i * j;
}

printf("'%f'", i);
return 0;

}```

ionic hull
#

@tired bridge wtf have you done with the syntax hahahha

deep scarab
#

he's trolling

#

he asked the same question a few weeks ago

#

didnt even reply

winged obsidian
#

this meme again

timber violet
#

i for one appreciate it

tropic sapphire
#

@tropic grail I do docker daily at work. I have large website that request a network on containers to run. then that gets deployed into AWS fagate.

languid pagoda
#

Uhh, I don’t understand your guys complicated code but uhhhhhhh here’s some code I wrote as a joke in pascal

Program normieTest;

Var
ChoiceNum : integer;
NormTestNum : integer;
NormAnsNum : integer;

Begin

Writeln(‘choose a number, if it’s our math makes it even, it’s normie’);
Readln(choiceNum);
NormTestNum := choiceNum * 2;
NormAnsNum := normTestNum Div 2;
If(normAnsNum=choiceNum)
Then writeln(‘wow that number was really normie please delete your account’);
Readkey;

End.

#

Honestly idk why I make these anymore

deep scarab
#

what

ionic hull
tropic sapphire
#

@deep scarab I think you mean "Why?"

jade nova
#

Would it be possible to script my NodeJS Discord bot so that if a member deletes a bot command message, it deletes the bot’s response as well to protect privacy?

tropic sapphire
#

Each message has a mentions, key, you could find a message that is from the bot, mentions that person and close to after the post.

winged obsidian
#

This may not be the best way, but you could simply:

  1. Store the message.id of the request and the response messages when a command is fulfilled
  2. After storing, delete the messages routinely where the request message.id no longer exists.
  3. Perform clean up as you go, removing old response messages to be safe keeping the count low.

Note I have not looked into the Discord APIs, so this is from an outside perspective, there may be easier ways to manage this.

proper gale
#

@tired rampart what IDEs do you use?

tired rampart
#

eclipse for Java, Visual studio when dealing with M$ crap and Atom for literally everything else

#

vim when in terminal

proper gale
#

eclipse, :reee:

proper saddle
#

VSCode Mustard Race

winged obsidian
#

Visual Studio for everything (trying out JetBrains suite)
VSCode for anything that doesn't compile. (+ lots of RE tools)

proper saddle
#

But Jetbrains is expensive.

torpid knot
#

how can you delete a package you installed on ubuntu such as docker or any other packages? Is there a particular command for the terminal?

split condor
#

apt remove <package-name>

After doing so, apt purge <package-name> can be used to clean up some extras.

#

You can read a bit more about this by doing man apt; under the "Description" section there are a few paragraphs explaining the install, remove, and purge commands some more.

#

The name of the Docker package depends on the version. It could be a few, though recent versions are named docker-ce (assuming you're not an enterprise customer)

proper gale
#

@proper saddle how so?

proper saddle
#

It's expensive for poor people like me. :<

#

Especially if you need/want the entire suite. :|

#

Though, it gets cheaper.

#

If I had a jerb I would probably sub to it if I used something that couldn't be used with VS IDE

native shoal
#

@proper saddle jetbrains was free for students

#

Did they change that

proper gale
#

it still is

#

i have the free licence

proper saddle
#

I'm not a student anymore

native shoal
#

@proper saddle they disabled your student account?

#

The systems over here are very lax with that

proper saddle
#

Yeah at the college I went to they delete your email if you're not enrolled anymore.

native shoal
#

Wow that's rough

#

Guess we got it good here

#

They left all students access to the free software

#

I've moved to a new university

#

And they are opposite

#

But previous schools no

proper saddle
#

But I also haven't been in college for 2 years, I didn't graduate and it was a community college so shrug

deep scarab
#

when you spend 45 mins making a program to translate c structs with bitfields to java classes, but you realise that you could've done it manually in half the time

winged obsidian
#

Yeah lol, that is the engineer problem
"How can I never do this task again, without spending the same time it would take to do it manually many times." lol

That reminds me, I wrap any useful tools into a "gogo.exe" program.

Added the build directory to the PATH environment variable and use reflection to resolve the names, types, input, casing etc. so that if I want it to do something new, I just add a well named function in there.

Entering just the name of the functions prints the params and a usage string.

I can call it from the command line or powershell. very handy.
The bonus is you get to work like Inspector Gadget, "gogo NeatUtility param1 param2"

native shoal
#

@proper saddle I see. Actually it's only been a year since I left college. So idk if on year-2 they will drop my account. Its quite a possibility

torpid knot
#

Thanks @split condor

jade arrow
#

I don't remember my info to my free version of intellij from being a student 😐

#

So i bug my friend into letting me use his

#

Just lazy over here

wanton cargo
#

uh oh, didn't expect a development channel here

native shoal
#

Development in what fashion

#

Professional or programming?

proper gale
#

this is only one of those things.

tidal tusk
#

Anyone here mess around with cpanel?

proper gale
#

ive used it, but never set it up, dont think that counts

ionic hull
#

@tidal tusk what do you need to do?

kind portal
#
num = 75;
reversenum = 0;
  while( num != 0 )
      {
          reversenum = reversenum * 10;
          reversenum = reversenum + num%10;
          num = num/10;
      }```
hello peeps, my programming shenanigans continue. 
I am confused as to *how* does this make thr 75 into a 57? Or if we take 63 to 36. Can someone try to explain?
vestal glen
#

do you know what % does?

kind portal
#

I think thats modulus

#

so uhh 25 % 10 would give me 5 for example?

vestal glen
#

so if you step through the code, what is it doing?

kind portal
#

ok lemme try to do that again

#

0
0 + 5
7.5

#

thats the first loop

vestal glen
#

I assume num is an integer

#

so the last step would be wrong

kind portal
#

yeah

#

but it still gets me a reverse number

#

oh wait

#

yeah

#

LMAo

#

0
5
7

#

then
50
50 + 7
0

#

O

#

WAIT

#

that was it!

vestal glen
#

so do you understand what the separate steps do?

kind portal
#

I didnt take it as an int

#

Yeah, now i do after you mention that the last one was wrong

#

damn i can be hella dumb sometimes

#

Thanks alot :P @vestal glen

vestal glen
#

np, my pleasure being your admDuck

kind portal
#

rubber ducky

#

isnt that like one of those arduino USBs?

vestal glen
#

rubber duck debugging is a technique to find out why something isn't working as expected. Look it up.

kind portal
#

ooo

#

on it chief

#

This is AMAZING

vestal glen
#

it's kind of what I made you do, except that it wasn't to find the fault in your code but the fault in your understanding of the code 😉

tidal tusk
#

@ionic hull Im trying to find a way to log cpanel logins into a mysql database

ionic hull
#

Shared hosting?

#

/usr/local/cpanel/logs/access_log

#

If you are using shared, search for a folder which the a dot ( .cpanel ) if not mistaken

#

@tidal tusk

tidal tusk
#

I have my own vps and I want to track my client logins I understand I can check access_log but how can I pull that data using php (maybe explode? and insert it into a db?

#

@ionic hull

ionic hull
#

@tidal tusk can you pm me an example file?

#

I don't have any cpanel active rn

winged obsidian
#

pelicant right to left throws me off big time

winged obsidian
#

@ionic hull you could explode for the lines then use regex to grab the values before you send them to the database.

winged obsidian
#
(?<=[^_])((?: [^" ]++)*+((?: \-)*+[^ ])++)++

This RegEx pattern should work for you given the input of the CPanel access_log

1. Just open the file
2. explode with "\n" newline char
3. start a foreach loop to iterate the lines
4. use preg_split($pattern, $line) to get the values
5. store them in a collection
6. open the connection to the database
7. generate the query and go from there

That is one way to achieve what you want.

Just take the usual precautions when working with databases.

nocturne galleon
ionic hull
#

Looking really good @nocturne galleon

#

Does anyone have the sharex upload photos script?

#

To store images on the server

nocturne galleon
#

It's not a script

#

It's just settings.

#

You use ftp upload

split condor
#

that's pretty cool aeternum

#

i will admit that... i still don't know how to play chess

ionic hull
#

@nocturne galleon I saw someone that made a php script, but I didn't save it

#

And does the chess bot use images?

nocturne galleon
#

Gross. Php

#

:)

#

Yeah, I use a rendering API.

#

You can change anything you want in that url, like the FEN or the orientation or the coordinates of the two blurple squares etc and tge API returns the chess board.

#

And then since these images are really big, I have a low bandwidth mode which uses only pure two color black and white images and makes them about half as big, or an ultra low bandwidth mode which is just text

#

The lowest setting between two users is what's used when they play.

#

If you don't use low bandwidth I also support custom pieces, so you can earn coins by playing and spend them on different set styles which I make all of.

#

And then whenever you play someone it renders your pieces

nocturne galleon
#

essential apps for swift development ?

#

dont say xcode

vestal glen
#

if apple did their job properly there shouldn't be anything else to say though.

ionic hull
#

@nocturne galleon looking really good, congrats

nocturne galleon
#

Hey guys, so I accidentally made a script that removes the windows watermark - anyone interested in the application?

native shoal
#

@nocturne galleon that can be done by buying a product key.

nocturne galleon
#

@native shoal but this could be helpful to someone such as ltt who may not want those watermark but also cant afford the time and hassle of activating every windows with a valid license

nocturne galleon
#

you selling it or just giving it away? @nocturne galleon

#

tag one of the ltt staff about your program too

#

they would want it

nocturne galleon
#

@nocturne galleon im pretty much giving it away - i dont know what else to do with it ;-; if you would like a copy just dm me i suppose ::) its onlyt 15kb and doesnt need an installer to run either

#

@wild birch is the ltt staff interested in such software?

#

most probably

#

as long that it dosent count as piracy

#

is it piracy ? @nocturne galleon

#

i dont know which is why im not releasing this publicly just in case i get sued by microsoft or something,

#

but i have been popping in peoples dm's to distribute the software

#

what programming languages do you know?

#

i used visual basic - i also know python, a lil bit of html and err thats about it tbh

#

im gonna probs move to c# soon tho

#

what is your program written in?

#

visual basic,

#

would u like the code?

#

nah

#

im good

#

^^

#

im on my mac now

#

oh

#

so...

glad terrace
#

Punch cards is how I program cause i like to be ultra proficient.

nocturne galleon
#

lol

#

is it possibe to write an aimbot in swift for mac?

#

hmm, mostlikely yes, look for color detection code, and a mouse control code

#

ok

#

then using that you should be able to get a start on basic tracking of moving elements

#

one thing i recommend is making the mouse speed random using random number generation that refreshes every so often, that way itll be harder for anti cheat to detect its an bot

#

ok

#

im gonna learn swift

glad terrace
#

oh

#

nooo

nocturne galleon
#

just waiting for xcode to download

#

6gigs

glad terrace
#

if you don't already know swift and want to make a aimbot you should probably just learn C++

nocturne galleon
#

why?

glad terrace
#

Run on linux, mac, windows.

nocturne galleon
#

some people also use objective c to code on mac,

#

idk anymore about windows

#

i worked hard to get a mac

#

im learning swift

glad terrace
#

Also if you plan on doing anything with memory

nocturne galleon
#

then ill learn either: andriod, java, python, C++,or JS

glad terrace
#

JS is currently my main. (What I get paid to do at work lol)

nocturne galleon
#

how much do you make?

glad terrace
#

Kinda wish it was something else

nocturne galleon
#

if u dont mind saying

#

hmm im still not sure if its worth learning c# or should i skip learn c++?

#

id go for c++ cuz i wanna hack fortnite

#

c# is pretty capable tho

#

go for both

native shoal
#

C# and then c++ is sensible path

nocturne galleon
#

you got a reason for that?

glad terrace
#

I'll say over $50k But my review/raise is next week. 1-1/2 years professional experience currently and an associates degree.

native shoal
#

C# easier to learn

#

Resources managed for you

#

C++ you do everything

nocturne galleon
#

yeh i guess ur right, go up in tiers of difficulty.

native shoal
#

If your new dev, would not even recommend c++ as first language

nocturne galleon
#

shadowcraze you went to college?

native shoal
#

Java, python and c# are firsts

glad terrace
#

Yes

nocturne galleon
#

you got a programming degree

#

?

glad terrace
#

yes

nocturne galleon
#

started with basic ;-; pretty similar to c# from what i can tell

#

vb**

#

how many years of overall programming experience?

native shoal
#

@nocturne galleon I think in years past yes visual basic is also a starting langauge

#

I dont see it too often besides office

glad terrace
#

Ehh... I did it on and off since I was 14... Started with C# and Dark Age of Camelot freeservers.

nocturne galleon
#

ok

#

@glad terrace you need a profile picture tho..

glad terrace
#

I'm 28 now. But id say legitimately if I had to compact it I'd say 4 years honestly.

nocturne galleon
#

why?

native shoal
#

I can make basic programs with c#

#

My major is in networking

nocturne galleon
#

i can make decent applications with vb, like a flux replica or something

native shoal
#

I also made the cheating program TTR GE

#

That was in c#

nocturne galleon
#

TTR GE??

native shoal
#

It was for a defunct Disney online game

nocturne galleon
#

lol

native shoal
#

Basically like a cheat tool

nocturne galleon
#

oh cool

native shoal
#

It's on google if you search

#

That's the most I've done

#

The name stood for toontown rewritten game enchancer

#

Lol good times

nocturne galleon
#

hmm most ive done is probs give an idea to one of the top devs of ios jailbreak and theyve been working on it since then, it was an alternate method to substrate which i spoke with a user named foxlet fox,

glad terrace
#

I should probably stop reading this chat and do some work lol.

native shoal
#

@glad terrace it's easy to get sucked in trust me

glad terrace
#

yeah

nocturne galleon
#

then my second most amazing thing is probs my recent application which removes windows watermark on non licence copies

native shoal
#

@nocturne galleon well it might be good for linus to use just for the sake that it wont appear during his videos

#

Because he just.installs and nukes them anyway

nocturne galleon
#

yh true,

#

dont know how id get hold of linus to pass the program to him without making it seem its some sort of a malware...

glad terrace
#

I currently program the digital menuboards for McDonalds and Taco Bell 😛 (The fancy screens you see inside the stores, some of them have them in the drive through also)

nocturne galleon
#

thats impressive,

glad terrace
#

Not really

nocturne galleon
#

;-; thousands of people will be using those boards tho,

glad terrace
#

Millions served! lol

nocturne galleon
#

yep, and they all used something which u coded, that is pretty impressive imo

native shoal
#

@glad terrace does that include the boards with touchscreen to order?

glad terrace
#

No

native shoal
#

Man

#

Because I noticed that some items are.missing

#

In the items you can order

#

4-piece chicken nuggets not there!

nocturne galleon
#

man needs his nuggets ;-;

glad terrace
#

That may be another department in the company I work for but I don't know about that.

native shoal
#

I'd like to tell the dev to add that option because 6- and 8- cost more

glad terrace
#

lol

native shoal
#

Also it makes people eat more than necessary

#

Need a dev to fix that

#

Add it...

glad terrace
#

Yeah, I don't have any hand in that. I don't think our company actually does those. It's probably the company that makes the Point of Sale

#

We do handle Starbucks indoor digital menus also but it's not widespread quite yet.

nocturne galleon
#

are the programs developed for custom hardware or general purpose machines?

glad terrace
#

IDK how much I can say exactly but they do run on custom hardware. I won't say anything else on that.

nocturne galleon
#

oh, interesting... thought it may run on some gekko raspburry pi or something, i mean those could probs work too lol

#

syth

#

ye

#

maybe tag jakkuh about ur program (its a bit risky tho ask a mod first, mr cubeman is good)

glad terrace
#

You'd be surprised how much code there is for the menu's. It needs to handle all the different variations of stores. Some don't sell certain categories.

#

And security

#

and some other stuff. RPi would be unreliable to run 24/7 for 5 years imo.

#

5+ years

nocturne galleon
#

should i tag him here or in general?

#

idk

glad terrace
#

DM?

nocturne galleon
#

ask mr cubeman

#

first

#

@nocturne galleon srry to disturb ur game, i wanted to ask a quick question;

#

he wont see it

#

hes on dnd

#

;-;

#

Well

#

I always see it

#

0.o

#

I'm just in DND to turn off the noises and so people bother me less

#

lol

#

what's up friendo?

#

i made a program which removes the windows water mark on non license copies

#

u think ltt staff will be interested??

#

I doubt it

#

why

#

are they evil off camera?

glad terrace
#

LOL

nocturne galleon
#

no lol

#

It just doesn't really matter.

#

@nocturne galleon u know anyone who will be interested by any chance?

#

mac users like me with unactivated macOS cuz we replace our graphics cards every day linusKappa

#

jk

#

lol,

#

mac is different

glad terrace
#

I use a mac for work.

nocturne galleon
#

i switched from windows

snow galleon
#

I like Mac better than windows 🖥

glad terrace
#

Mac for productivity

nocturne galleon
#

both are good

glad terrace
#

development

snow galleon
#

True

glad terrace
#

windows for gaming

nocturne galleon
#

yep

#

100%

glad terrace
#

I need to learn Docker...

tropic sapphire
#

I use docker a lot :P 100% look into docker-compose

glad terrace
#

I want to learn it for my personal projects so I can dev it on any machine and deploy to my 'server' easily.

nocturne galleon
#

@glad terrace you make 50k a year or a month?

glad terrace
#

HAHAHA a month? I wish!

#

It's over 50k but yeah

#

I don't think there is a dev anywhere who doesn't own his own software company that makes anywhere near that.

#

50k/month

nocturne galleon
#

bill gates does lol

tropic sapphire
#

I'm on £25k a year before tax.

glad terrace
#

ah but thats why i said own his own software company

#

For him specifically lol

#

Are you a dev?

#

@tropic sapphire dev as your job anyways? 😃

grizzled canopy
#

@glad terrace I turned down 20k/month - and I don't have my own company 😄 It's all about being good at what's needed and nobody else knows / or wants to do 😄

glad terrace
#

Thats an insane amount of money lol. There was a 3 month contract I was offered but it was only 13.3/k a month and I'd be jobless after it. Not worth it IMO lol. I like stability.

grizzled canopy
#

Kinda the same deal, though this was a 24 months contract with option for renewal... But the travel time and the "uncertain" after the 24 month I don't like

glad terrace
#

Travel is yuck =P

grizzled canopy
#

I settled for 12k/month for way less travel and a buttload of bonuses like free car/internet/phone/equipment and around 100k I can use on education

glad terrace
#

That's awesome. What do you work on?

ionic hull
#

@nocturne galleon nice, can you send me the code pls?

grizzled canopy
#

Networking & Security and embedding systems on the side. Think bootloader software to your electric meter

#

Generally think of programming without ever using the word new and delete xD

glad terrace
#

I'm currently basically a web dev which was the last thing I wanted to do initially but it's not too horrible lol.

grizzled canopy
#

And then try to make it multithreaded and threadsafe

#

Yep - I keep my hands as far as I can from anything with an UI 😄

glad terrace
#

We get our designs from our clients at least but it needs to be as close to pixel perfect as possible.

grizzled canopy
#

Yeah - I would just get mad in the end.. I'm way to "perfectionistic" as in.. If I do it, it has to be pixel perfect on all screens you can ever imagine..

#

So - I would never get anything done

glad terrace
#

Yeah haha. There's like over 1,000 different permutations.

#

I'd love to do hardware integration type stuff. Or robotics of some sort but I don't have the money for the education for that lol. I'll be limited by my associates degree for quite some time probably.

modern nest
lament sleet
#

tweetybirds

reef hollow
#

h t m l NIEN

tropic sapphire
#

@glad terrace yeah I work at a financial software company, we create software for managing debt.

I left uni 2 years a go and have been working here a year. So I don't think it's bad for a first job. :)

nocturne galleon
#

how much do you make @tropic sapphire if you dont mind me asking

tropic sapphire
#

@nocturne galleon 25k a year works ok 2 k a month and 1.8k after taxs

nocturne galleon
#

25k a year?

#

what currency?

tropic sapphire
#

great biritish pounds

#

british

nocturne galleon
#

oooh ok

#

that is pretty good

#

for a second I thought you meant USD or something

tropic sapphire
#

it is pretty good yeah, I wouldn't be able to live on 25k usd 😛

nocturne galleon
#

yeah lol

jade nova
#

Is C# a good choice of language for running a web interface for managing servers?

glad terrace
#

With C# you might want to look into Linux portability to see if that may be an issue.

jade nova
#

I could use Mono

#

The reason that I'm aiming at C-based languages is because they have more access to the system than say Python would

glad terrace
#

I have a new plan for a Development laptop... http://www.eluktronics.com/N131WU-BYO/ + https://www.amazon.com/gp/product/B01N7K4DV4 + https://www.amazon.com/gp/product/B07BN5FJZQ Any other ideas? Whatever I get I'll be wiping it and installing Linux. ===== TOTAL: $938.15 ======

ionic hull
#

Or just buy a Xiaomi

#

Notebook

#

They look good

glad terrace
#

and it't not a QHD display

#

looks like it also only has capacity for one external monitor

#

slower ram also

ionic hull
#

You don't need an i7

#

I5 is enough

little knoll
#

I think it depends on what language you are programming in, an i7 would be really helpful with anything that uses Visual Studio IDE (C++, C#, and stuff...) or equivalent.

vestal glen
#

Is VS really that resource intensive? 😉 Really, what you'd want a stronger CPU for is compiling code. If the compiler supports parallel compilation you'd even want more than one core...

native shoal
#

@vestal glen yes it really is resource intensive

#

I have 8700k and sometimes debugging a project takes some time to process and add a delay to bring up the program

#

I'm sure vs code is lightweight

vestal glen
#

Vs code isn't exectly lightweight but the debugging it does is much less resource intensive due to it inspecting jit in real time and nit having to do the same symbol magic...

ionic hull
#

@native shoal @little knoll but is it worth it 300$??

#

Sure you would wait 5-6 seconds more ( depends on how big the project is, but sometimes it isn't worth it

little knoll
#

You gain in compile time, so it may be worth the money.

#

And also, if you need VMs, for any reasons, more cores may be really useful if not mandatory.

#

It was the main reason why I took an i7 (7700HQ) model for my XPS 15

native shoal
#

@little knoll I am going to do the same. Opt for the i7 model and add 16GB RAM

glad terrace
#

I'll be running my next project in docker containers (Database, backend, 2 website frontends, JIRA Server, GitLab) Basically my entire server for dev and easy deployablity.

#

Compartmentalize everything lol

#

I want my dev laptop to be as robust as possible for under $1000 USD

glad terrace
#

I also own/use all of Jet Brain's software.

native shoal
#

Jet brains pretty good software set yeah

tropic sapphire
#

@glad terrace I have a Lenovo T520 at work and I run a network of containers on my laptop

Main docker is the gui and web api from there I have mongo db, redis a websocket server and a RabbitMQ.

I5 and 16gb of ram.

#

Images are build and push into aws fargate, though will be moving to code pipelines so I see can build them.

carmine timber
#

I have a t420 it's 👌

tropic sapphire
#

They aren't bad laptops, I can build the main docker about 2 mins though we have a 22 core server that mighty faster at building images

glad terrace
#

@tropic sapphire basically I want to spend about $1000 USD and get the best performance I can get for that price.

nocturne galleon
#

Does someone use Eclipse CPP Photon ?

#

Why when i starting to install it, it just shows an error message

Java was started but returned exit code=13
.....
naive roost
#

Hi

ionic hull
#

Hi

eager bronze
#

@nocturne galleon - Make sure you have a 64-bit JDK installed.

tropic sapphire
#

@glad terrace the best thing you can do for docker performance is run linux. Not being a fan boy here.

In Windows and mac docker is ran in a virtualised environment where as on linux it runs on the host kernel.

Though the speed is only about 5% lower you lose a lot more in over head for I/O mounting volumes or network traffic will be much slower on Windows.

If you do go for Windows go for 8th gen i5/i7. If you're using node add node-modules to .dockerignore

glad terrace
#

@tropic sapphire Yeah no. Only time I use windows is when I'm gaming. I have a Macbook Pro for work, a gaming PC Desktop I built at home and soon to have a laptop running linux (Think I might try Pop OS https://system76.com/pop)

jade nova
#

How could I export only specific packages to their own JAR in NetBeans?

#

Everything I’m finding online is how to export the entire project to JAR

tropic sapphire
#

@jade nova that looks like a very nice os.

I will install that at work :P

I have all my fines on a second ssd so I can do what ever with my os.

#

Wrong quote my bad

meager gazelle
#

@glad terrace why a macbook

glad terrace
#

@impulse9 Web development. Compile time on a windows machine is like 20 minutes while on a Mac or Linux it's under a minute.

nocturne galleon
#

anyone here do ios/swift?

#

dm

tropic sapphire
#

@glad terrace I've never had it that bad but when I had Windows on laptop docker compose would take about 4-5 mins on linux is around 2.

The server we have builds a little over a 1 min.

glad terrace
#

I don't use docker at work. Gulp transpires, compiles, and zips up everything including over 1000 assets.

glad terrace
#

Transpiles***

#

It's like half a GB all said and done.

tropic sapphire
#

Our old front end uses gulp it's horrible -.- all new uis are angular 5 or 6.

glad terrace
#

gulp isn't a framework

cloud knot
#

gul is still horrible

#

webpack FTW 😛

glad terrace
#

We're switching to a new framework and using webpack 😄

#

soon (tm)

modern nest
nocturne galleon
#

can anyone here recommend QT for c++?

vestal glen
#

I can, yes.

ionic hull
#

👌

ionic hull
#

Any good payment gateway with BTC and PayPal?

#

Spent all day working with paypal's api

#

Then to realize that you must have a business account ( and verified )

nocturne galleon
#

Do those 2 separately, bitpay is fairly decent for btc/bch

tidal tusk
fallow lantern
nocturne galleon
#

Mwahahahahaha, finished my chess bot

nocturne galleon
#

if the office 365 suite is made with c++, what gui library do they use?

feral pebble
#

python help

granite fog
#

@nocturne galleon iirc uwp for deaktop, for mobile/Web it's UI-fabric which includes react as far as I can tell

tardy plinth
#

Hi guys , I'm learning c in my school and have to make a library of the functions we previously created.

How should I do ? I have the directory lib / my / libmy.a and have to make it here. should I put all the " .c " files of my function in this directory then compile it? Or write all those functions directly in the " libmy.a " file?

Edit : Sorry if it was a bit to specific, but I don't have that much time to use the forum ^^.

glad terrace
#

Are the instructions you received that unclear?

tardy plinth
#

Haha yeah the instruction was really unclear, it was a 4 min video with a shity example, reading this link clarify everything, thanks ;D

random bough
#

Hello
I'm writing a paper for school about the application of neural networks and am intending to make a working example that simply recommends songs to a user and refines the song recommendation based on user rankings of the song, through some level of artificial learning. is there a specific programming language that y'all think might be most efficient to make this?

deep scarab
#

python comes to mind

jade nova
#

What’s the best language that compiles small executables so that it can be run on embedded and micro PCs like Raspberry Pi with ARM processors?

granite fog
#

@jade nova c

nocturne galleon
#

@random bough Python

near patrol
#

@jade nova try gcc -Os to optimize for size

tropic sapphire
#

@nocturne galleon python isn't small or a binary :/

granite fog
#

@tropic sapphire looks like lima responded to the question about neural networks, not the one about embedded applications 😅

tropic sapphire
#

on XD

#

oh

granite fog
#

When I was at uni, a friend and I managed to create a neural network in NXC the c-like programming language for the lego mindstorm robots, and it was a complete accident 😂

#

We used the mindstorms colour sensors which provided RGB values and then determined what 'colour' they were. e.g. red vs purple vs blue etc

tropic sapphire
#

@granite fog that sounds awesome 😛 nice when things like that happen

random bough
#

that sounds pretty sick!

jade nova
#

I’m making a program in Java which gets all of the local accounts on a Windows system into an array by looking inside the C:\Users directory

Only one small problem is that how could I remove the “C:\Users\” prefix from the account usernames?

deep scarab
#

substring?

#

pretty sure you can also use regex

#
"C:\\Users\\Admin".replaceAll("C:\\\\Users\\\\", "")
#

😬

#

yikes

tired rampart
#

eh

#
username.substring("C:\\Users\\".length());
deep scarab
#

yeah substring is much easier to look at

tropic sapphire
#

Another way is to split the sting on / and get the last element with .pop() assuming that's in java

tardy plinth
#

Thanks, i solved my problem already 😄

nocturne galleon
#

What do you guys think about that type of organising you programming project?

khazakar@dellprecision5510:~/Programowanie/ESP-OS> tree -d .
.
├── 3rdparty
├── bootloader
│   ├── include
│   ├── re-code
│   └── src
├── firmware
│   ├── include
│   ├── re-code
│   └── src
├── kernel
│   ├── include
│   ├── modules
│   └── src
└── userspace
    ├── include
    ├── services
    ├── shell
    └── tools
icy barn
#

@nocturne galleon Pm?

#

that chess boot i want to see the scorce code

#

hehe

nocturne galleon
#

To bad?

deep scarab
#

lol

agile nova
#

@nocturne galleon impressive! 😄 how'd you do the chess board?

tropic grail
#

Looks like an embedded image.

spice hatch
#

i wanna learn to code

#

what is a good language to start?

tropic grail
#

Anything, like Python or something.

spice hatch
#

alright

glad terrace
#

Anything except Prolog haha 😄

mellow wave
#

yeah python is quite good to start with, learning it myself rn 😄

round dome
#

c/c++

tropic sapphire
#

I learned python and it's a great scripting language.

I used to write bots and web scrapers for people.

I'm now using nodeJs at work.

round dome
#

how is npm treating u

wheat dock
#

@spice hatch python is fun, especially if you get a raspberry pi. C++ is also a good starting language. C isn't necessary, but it provides an educational foundation. JavaScript is good if you have any interest in web stff. Don't learn Java, screw Oracle.

nocturne galleon
#

@agile nova the board is rendered via a web api from a FEN which is a chess notation that stores the contents of the board.

#

Each game session is assigned an uuid and the fen is stored and updated there.

#

Pardon the orange and green, Halloween theming

agile nova
#

trying to wrap my head around it, sounds pretty cool

#

Been working on a Discord bot that will eventually need generated images

#

dang that dark board looks great

nocturne galleon
#

thanks, thats the default board

#

i just have the crazy colors for halloween

split condor
#

assembly is obviously the best starting point

#

What is your server load/bandwidth usage like? Looks like you’re sitting behind Cloudflare, so I’m guessing you’re trying to hit their cache mostly?

#

Though I don’t think you would with that URL layout on the free plan

nocturne galleon
#

lemme quickly pop netdata on so we can check

split condor
#

I checked and every request was missing the cache

nocturne galleon
#

thats because its not cached in teh headers

split condor
#

Huh?

#

Cloudflare appends a header letting you know of the cache state

#

cf-cache-status

nocturne galleon
#

I set the headers to tell cloudflare not to cache

#

cache-control: no-cache

lofty jolt
#

That’s what the atm says when i try to withdraw

nocturne galleon
#

XD

split condor
#

Why wouldn't you want this to be cached?

nocturne galleon
#

because the board changes every turn?

#

why would I want it to cache?

#

the likelyhood of you ever seeing that exact image again is like 1 in a million

#

that url above is direct access to the api, so i can generate custom boards for like, making documentation and whatnot

#

but normally games are all under sessions as well

#

like thats live from a game currently going on

#

this image will never again be requested

#

ever

#

because the session ids are uuids and the liklihood of these two people making the exact same moves again to reach this point is also super small

#

caching would be pointless

split condor
#

How you have it setup, yeah it would be. If you're running this at a decent scale, I'm sure you will eventually hit repeats of boards.

nocturne galleon
#

uuids

split condor
#

No reason to generate the same thing

nocturne galleon
#

are unique

#

they never replicate