#development
1 messages · Page 34 of 1
If you have the extension and the password, you can see the decrypted message
@small escarp I write something in the chat, press ctrl + q, it shows a little message ( Copied to clipboard ) and you just paste it. I couldn't make it that the script inserts the encrypted text into the text area because discord has some kind of protection against $(textarea).val("some_text") and the 'e' and '0' are gone because someone changed my nickname in that server :/
@finite locust I made it yesterday because I was bored, I have no plans for this :l
I took discord's email template and put it there
very cool
thanks
now all you need to hope for is that there are no backdoors in NSA approved RSA /3DES/AES/etc algorithms 😃
Everything has NSA backdoors :/
Not everything
@cloud knot Why would there be a backdoor? Backdoors they can use is a backdoor anyone can use.
Unless the back door is obscure and hard to find then the NSA notifies about it.
Remember they in charge of national security as well as offensive, blue team > red team.
@tropic sapphire recent example https://en.wikipedia.org/wiki/Dual_EC_DRBG
Dual_EC_DRBG (Dual Elliptic Curve Deterministic Random Bit Generator) is an algorithm that was presented as a cryptographically secure pseudorandom number generator (CSPRNG) using methods in elliptic curve cryptography. Despite wide public criticism, including a potential bac...
And the windows exploit that they had?
Not a backdoor, but they have the ability to do what they want
SMB had one for years yeah, though that encryption one is "not proven" but you're right probally was. seems dumb to weaken your own encryption though right?
NSA can crack any key relatively instantly.
Let me pivit the extension then :/
*chat with your side chicks when girl friend is around
When ya girl is NSA, and NSA is always watching...
Eyy, got my new discord bot working pretty good
It uses pcpartpicker to grab info, tho i think i will move motherboard info to motherboarddb.com
or atleast a pc>a_mobo to it
or something that signifies more advanced infos
nice
i have a simple question:
i have a loop (that i didnt make)
for %%i in ("D:\temp\osu!\Data\r"\*.osr) do (%%i timeout /t 1000)
for which the timeout part isnt working
even setting it to -1 doesnt work
I can assume the language, but there’s overlap. Which language are you using?
this is a .bat file that i grabbed from a forum
i have it as a semi-automatic restore process
What are you trying to achieve, what ia the expected result, and what result did you get?
Is*
i need to open all files in shown directory, while waiting a certain time between each one
what im getting is the script opening files at max speed, regardless of the number, said speed is about 5 files/s
same result
im not the one that wrote it, i know nothing about this
i only know that it opens all files from a directory it's pointed at
I’m not a master in batch programming, however, I’m going to say that the do part isn’t capable of using a do statement.
Atleast not directly.
For (statement) in (statement) do (statement), so my mistake there.
it opens files just fine, it's just the timeout isnt working
i can screenshot what the console spits out but i dont think it will help
Ehm. Perhaps use a ping delay?
@icy barn ehm, I can put the code on GitHub when I have the time
Not a master in bash scripts 🙈
yeah considering i didnt know how batch files worked i wouldnt have known that timeout is a command and not a parameter
For the those who are using resumable.js + php, if you are interested I remade the php upload server because the default one is broken af, contact me if you need it :)
@ionic hull not interested, but just a minor note - considering the original is on github, why not make a fork of it on github and even consider sending a pull request ?
(well unless the server isn't on github)
@dry lark what are you trying to do?
bat may not be how you want to do it, depending.
@cloud knot I might do that :/
i fixed it already its fine
@proper gale i only needed a way to open all files from a specific directory, one by one
i know you fixed it, but why do you need to do that
and are you only opening the files?
i got that it was osu
once opened they are recorded onto the database
the reason i do that is because sometimes the game like to shit on me and make maps magically disappear from the database, taking all local scores along with it, luckily i always have backups of all local scores
huh, if you are only opening them then that bat is fine, unless you want fully automatic.
well, if it's possible to make an automatic backup process that would be nice too
opening them trough a batch file is as automatic as it gets
the game's local score database rebuilding is inadequate and unreliable
register a startup process, then automatically list the directory and open all new files every few minutes, using a timeout in-between to keep CPU to a bare minimum
i dont need it to open all new files every few minutes
i only need that when the game breaks
right, this is for fully automatic
besides, in order for the restore to happen, the game needs to be opened, and cannot be used while restore is happening (opened replays show the scorepage)
also consider that unless you have a few hundred thousand, we are talking about an absolutely tiny amount of work.
i have 3200 replays
thats because its bat
bash is linux, not windows
even a python script should easily be able to leave that bat script in the dust in terms of speed.
im pretty sure it's the game limiting the opening of files, not the script
the reason i wanted the timeout is because at timeout 0 there were replays that were skipped over
because of how fast it was going
now i see exactly what this is doing
so, if bash is good enough, continue with that, if you want fully automatic, i know how to do that.
i have too many other problems with the game to go full automatic
@proper gale I would suggest a cron job rather than a timeout.
thats Linux if i am not mistaken.
windows has scheduled tasks which provide the same functonality
oh god installed visual studio in a native language windows.. these error messages
"Microsoft.CSharp.RuntimeBinder.RuntimeBinderException: 'De beste treffer voor de overbelaste methode voor System.Collections.Generic.Dictionary<int,Timespinner.GameAbstractions.Inventory.InventoryOrb>.ContainsKey(int) heeft enkele ongeldige argumenten'"
Python
Greatly depends on what you want tho
To be fair @dense grail even when it’s in a different language than English, the debugger is so clear you can fix everything quite easily
yeh its not hard to fix, but these sentences just make no sence
They do @dense grail
It’s telling you one of the methods you made is given the wrong type of parameters. In overload it also couldn’t find the correct method to use.
i think they need help with their anticheat
XD
If it was a #networking job offer, I'd think they want to fix their servers (or install new ones instead of those inexistent ones
)
my colegues hate it, but i am a big fan of premature optimisations 😄
@little knoll yeah i think anticheat stuff is more about coding
it seems like their server connectivity issues are gone
btw @upbeat citrus dont tag staff
@upbeat citrus 
Sorry
Thinking about grabbing this.
https://www.udemy.com/unitycourse2/
@proper saddle what do you want to gain from it?
I already bought it. :v
And so far I'm really enjoying it. The instructors are really great!
🤔
I can't tell you how many times I've gotten an error is Visual Studio, looked over my code for two hours, then realized i deleted a semicolon
been thinking of getting this course https://www.udemy.com/blender-environments/
same
Welp, that was too tempting, I bought this course and it looks really cool !
wait that picture is a render? it though it was real..
its a render
@dense grail you just got baited
not really why?
i didnt buy it as i dont do anything with blender or any kind or art
I suggest looking up blender tutorials on youtube first
there are quite a few that show you how to make 3D scenes
@dense grail I think what he means by getting baited is that it says its 90% off all the time, the timer on the sale resets to 5 days and its the same on all their courses
Heh, ah it's one of those timers
The div that looks different in every browser https://t.co/hXmxoLA8fW
1533
3268
Guess they only dev for ie then.
There's more nice examples in https://github.com/w3c/csswg-drafts/issues/2892
https://twitter.com/Martijn_Cuppens/status/1015169981368225793 points out lack of interoperability with the following style: div { margin: auto; width: 100px; height: 100px; outline: inset 100px gr...
The op for my tweet said that the one that looks the closets is edge.
Funny considering how Edge is literally an ie reskin with less features.
No OGG support at all.
@tropic grail are you able to pin messages to this channel?
You're so missing gif of ballmer going with his developers rant from the pins 😛
ah, bummer 😛
https://www.youtube.com/watch?v=6ZOiU6ftiMM This boy is the next entrepreneur
Here is a typical day of a 15 year old software engineer. Enjoy it :) Social Nets : https://twitter.com/leonnowsden https://www.instagram.com/leonnowsden/ Ge...
https://stackoverflow.com/questions/51228619/angular-datatables-datatable-is-not-a-function
Can someone help my friend out with this?
i wish C# had default values for out parameters so you dont have to assign them a value in every code path
So, I learned something. Fuck mpm_event module. Discovered that the PHP module autodisables it, but in a situation without it installed, it leaves it enabled. The PHP module enables mpm_prefork instead, which is a lot cleaner. Why is this even a thing...
Basically, mpm_event creates about 20 threads per apache process, meaning like 40-80 unused threads. mpm_prefork doesn't do that, so there's like 5 threads per apache process. Yes, I'm aware some of you use nginx, but in this situation, apache is the better option. It's not up for discussion either, plebs. 
@dense grail explain how you would want to write the code.
There is probably a way to do it already.
@tropic grail last time i checked, it was about thread safety
@cloud knot mind elaborating on that? I'm curious as to why there were so many, and from what I could find online, they claim it was for user connections, though with prefork a multitude of users can connect.
apache etc is not meant for PHP, and some of those mpm modules are not really good for PHP thread model
prefork is how apache 1.3 worked, and it is compatible with PHP modules
event or worker are meant to be used with CGI, so with PHP-FPM for example
more detailed here http://php.net/manual/en/faq.installation.php#faq.installation.apache2
@cloud knot right, but in a system without PHP, prefork wasn't the default enabled and it confused me as to why there were so many threads.
worker etc still create threads, just not single thread per single request
but rather single thread per group of requests
worker = "This Multi-Processing Module (MPM) implements a hybrid multi-process multi-threaded server. By using threads to serve requests, it is able to serve a large number of requests with fewer system resources than a process-based server. However, it retains much of the stability of a process-based server by keeping multiple processes available, each with many threads."
👌 as long as it looks nice in htop 
I have a docker thing running against my will 
@dense grail wouldn't setting param = defaultVal; as one of the first lines work?
yes or setting it before each return seperatly, would be cool if there was clean shortcut for that
can someone help me?
im making a programming language and my while loop isnt working
int y = 0;
while (prs[y] != "}end;"){
// if statements
y++;
}```
@weak lintel need more code to help ya
void sts::compile(string fname, std::vector<string> prg, int psize){
prs = parse(prg);
system("compilecheck.sh");
system("echo '#include <iostream>\\nint main(){' > stscompile/stscomp.cpp");
for (int x = 0; x<=prs.size()-1; x++){
string name = "";
string val = "";
// I want to wrap these three if statements in a while loop but I keep getting segmentation faults
if ((prs[x]=="\tout") || (prs[x]=="out")){
for (int y=0; y<=prs[x+1].size();y++){
if (prs[x+1][y]!=';'){
val+=prs[x+1][y];
}
}
string a = "echo '\tstd::cout << ";
const char *c = " << std::endl;' >> stscompile/stscomp.cpp";
a+=val.c_str();
a+=c;
const char *prnc = a.c_str(); //kind of a hack, but it works. Makes c_str and concatinates.
system(prnc);
}
else if ((prs[x]=="\tstr") || (prs[x]=="str")){
system(declare('s',x).c_str());
}
else if ((prs[x]=="\tint") || (prs[x]=="int")){
system(declare('i',x).c_str());
}
}
system("echo '\treturn 0;\\n}\\n' >> stscompile/stscomp.cpp");
system("g++ stscompile/stscomp.cpp -o stsprg.out");
cout << "Successfully Compiled" << endl;
}
@bright olive bot is still muting for this in here...
can you give code for the parse function plz.
you are also not giving types, so i dont see how this even compiles.
@untold flame @weak lintel got muted for posting code, i know the bot picked up newline spam, if you could unmute, that would be great, thx.
yea that's the problem. Jake said it
Lol
😛
suggested i just use pastebin, which i do, but it still shouldn't happen.
fair nuff.
anyway, what exactly is prs?
we'll get it fixed
@weak lintel does that code even compile?
Lol let me see
unless prs is a variable from a greater scope, then it would work
still dont know what type it is
im guessing its an std::vector
It. Onpiles
and if more specifically std::vectorstd::string then your comparisons will work, beacuse magik
so, you get your seg fault because when x == prs.size() -1, in the internal for look you are iterating over prs[prs.size()] which is out of bounds.
Oh so what does that mean
you are also iterating one past for y aswell
seg fault means you accessed memory you were not supposted to.
Ok
generally
make it not access where its not supposed to, how, idfk.
also, if you want an easy syntax OOP language, look at LUA
its also tiny, highly tested, super easy to embed and extend.
Thanks!
python also has easy syntax
and i hear that Ruby is similar, though i have not used it myself.
i still prefer c-like syntax, but the libraries in C/C++ are complex as hell.
So would prs.at(y) work?
Not prs[y]
I couldn’t get interpreters working in python so I’m using C
no, [] is very common array access syntax
++
its the same in python and lua
Oh
python is super easy to get the interpreter to work.
Really?
you can write a class that you can use that has syntax of prs.at(y) that returns internallArray[index]
what OS are you on?
im guessing linux, as your directly used g++
Yea
ubuntu?
constructor cant, its functions can
sudo apt install python3 will install python3
python3 will bring up a live interpreter
remove the 3, and you have python 2
?
sudo apt install python installs python2
Ok
and python runs python 2
the live interpreter you are typing directly into it
and interpreter runtime still uses a file.
Doesn’t it slow python down?
@tropic grail can u make the bot not delete really long messages in here
New line spam I think it is
@proper gale Python isn't THAT slow, and you gain a lot from lower develop to release time. In the business world speed to get a product out before you competitors is usally more import than how fast the product is.
i didnt saw it was dead slow
but it is slow
i do personally use python, because it is good at exactly what you said
@tropic sapphire you work with python a lot?
@proper gale not so much now, 10 months a go I got a node as a node JS developer. I do a lot of AWS lambda at work along with docker for our services running in fargate
not much python 😦
I am trying to build an automatic cat feeder that uses flask as the server. when I go to a certain webpage on my raspberry pi, 127.0.0.1:5000/open to be exact, the servo moves without issue. On other devices on my network, the site can't be reached, so I'm assuming I didn't make it available to the local network. this is the tutorial I am following: http://blog.oscarmorrison.com/how-to-make-a-rpi-powered-wifi-pet-feeder/ there is a dead link for the python server code so here is his git hub: https://gist.github.com/oscarmorrison/552a9a9fc2664bd3578cece680d77c9c
@weak lintel pastebin sites are your friend.
@weak lintel most likely you need to bind to 0.0.0.0
I figured it out
app.run(host= '0.0.0.0')
Best xss protection
http://prntscr.com/k5s9r0
Everyone have those type of issue ¯_(ツ)_/¯
Also, +1 for the message 👌
Wait...
What if... My screenshot was... A feature request... 
xD
Floatplane
Does anybody know how I could display the error in the catch statement? I'm using discord.js
you need to pass a function to catch
currently you are passing the result of send(send_dm_error_embed) to catch.
is that just a normal promise ?
same with the then btw
then indeed, then and catch are supposed to be .then(function(){....code....})
well, i am not sure what kind of ECMAScript he uses
so i used the safest style
@jade nova in short, read articles about how to code promises
I mean, if they're running a node that doesn't support arrow functions........
(discord.js is a node lib, usually)
I should also add a finally statement so that even if the dm fails to send, it will still kick the member so that they're not just like haha you can't remove me
...if those promises support .finally...
o...
else you'll have to duplicate some calls, probably have two catches?
since a catch that returns a promise just continues the chain
Is there anyone, who is good with functions to onClick?
@modest orchid don't use onClick()
I had no idea on what to use instead, but I am bad at JS and jquery xD
Still have no clue, on how to do else. I know how to do PHP, HTML and CSS, but, I need Jquery or JS for what I am doing
Search for jQuery onclick
Google is your friend
Search the docs
Ask on stackeroverlow
I mean, you can do it with just JS and addEventListener
I wouldn’t go with onClick - it’s not as stable and not cross-interface. Rather go with an event handler
I fixed one thing, but, now another problem happens as soon as I add the new box
with rcon is it possible to get the console to send all information instead of just a resposne to a previous command?
rcon doesn't allow commands to be sent to my knowledge.
Yea... I ended up just reading from the log file
I got a question for ya guys
why does the Facebook app on an iPhone 6 Plus work better than in Chrome on a PC running Win 10, with 64 GB of RAM, 1080 TI and a watercooled Threadripper 1950X
is the website that unoptimized? I'm scrolling through my feed and it starts lagging like hell one quarter into every year
it could be a chrome extension try running it in incognito mode and see if that fixs it
hm, interesting theory
I'll check that now
okay, it is definitely a lot smoother
but I just tried to delete something a long way back in the feed, and it took really long time for the button to appear and disappear after being clicked on
haven't tried any other browser, but my guess is that it is a website thing, and I don't know why. Maybe the app handles the data loaded in a better more efficient way
anyone good at higher level c# runtime casting? i am tring to cast a reflected object to IList<TEntry> but the trick here is that i cannot access TEntry except until at runtime where i can get it from Assembly.GetType.Single(t =t.FullName == "TEntry")
gues i have to construct the Type IList<TEntry> at runtime and then pass it to Convert.ChangeType()
oke apearntly it comes down to typeof(IList<>).MakeGenericType(TEntry); never saw such syntax before
On a bit of a security bent at the moment: Can anyone suggest an SSH key manager? Instead of storing the private keys in plaintext on your storage
what platform tho
Azure keyvault
to be fair, if someone has access to your local private key file in your home folder, you are already f****
the recent npm breach of eslint-scope could have easily also read and transmitted contents of ~/.ssh 🤷
@gritty rain regenerate keys, invalidate the old ones.
putty paegent? thats what i use... it encrypts the keys
Has anyone used Atom for coding C#
Just use an IDE for that
Visual Studio FTW
Visual Studio Code you mean
Atom and Brackets lost the war against Visual Studio Code
and yes, Visual Studio Community is also free unless you are a relatively mid to big company
Nope
Visual Studio
I heavily prefer VS when coding in C++ or C#
But yeah I use VS Code for everything else
Since there is no dedicated #security or #infosec or alike channel, nor there are any #business related channels - gonna post here 😃
For a company that wants to form a proper security team, that consists of developers, what priority for the first hire should be? We are security minded and security and user data handling with all the GDPR stuff is big part of development and stuff, but we need to go deeper :)
- Security focused developer
- Security professional (pen tester/white hat/etc).
- business type security person.
My gut feeling says mix of 1 and 2, and closer to 2 if we had to choose.
Collecting info via various channels 😃
@fair iron CLion FTW
@opaque terrace If you can afford to have one person focused in security that will make a big difference. Better you ask first in the team if there is someone up to the task, but if you cannot find someone that already knows your systems... hire
At the same time how big is the company? If the team is small perhaps that person has to wear another hat and cannot do "security things all the time"
If we had an infosec guy on staff - we would not look to hire or would knew exactly what we need to hire someone additionally
about 25-30-is, but we are gonna grow rapidly next few years
You might have someone that hacks things and love to do it. And that person might just need space to grow
25-30, good number to have at least one IMHO
we are at that crossroad when we need formal certifications, big business asks infosec and GDPR
so basically we need to start a security department
there are no security trained people on the team at this point
we do our best, but our best at this point is not enough 😃
Things might be easier than it seems. Time ago I run a PCI-DSS certification and we just needed a bit of "love" and "focus"
Perhaps an infosec consultant to give your devs a "jumpstart"
El cheapo for your devs: https://www.owasp.org/index.php/OWASP_Guide_Project
well, consultant might not be enough
it's insurance
and we are building a platform
so we handle crapload of 3rd party user data, payments and all dat jazz
A consultant "might" help to put the seed of security in a bunch of devs, so they take care of it in a distributed manner, instead of having one person hunting devs with an axe saying: "VALIDATE YOUR INPUTSSS!!"
so our feeling is we need a team member for comprehensive ongoing secutiry, security testing, automation of the said testing and so on
not just for the dev team, but in general
True that, it is a general thing
so the original question stands - who should we be looking for as our first hire? 😃
I'll go with option 1. Security focused developer
To make my point: https://twitter.com/mubix/status/1007296914742759424
Dear %Companies%, A single security minded Sys Admin is worth more than a handful of pentesters. Please start investing in the admins you already have. I say this as a pentester who has seen the impact that an empowered admin can have.
902
1990
true, but maybe as there is in the replies it's worth to bring a pen tester and teach the whole team? 😃
we actually do infrastructure as a code, so we don't really have a systems administrator - one of the guys is going into fulltime devops role right now 😃
And when the team learns, what is the pen-tester gonna do?
In other news, IMHO, devops is a culture, not a role (but that's a thing for another day)
well, maybe then a mix of 1&2 or even just a businessy type infosec guy
well, the guy will do infrastructure code and not really do any application development any more, idk what to call him 😄
we call him devops now
^-^
Mr. Devops Smith
We used to work with no dedicated sysadmin, but when we hired a person focused on infrastructure, he pushed automation further than the dev team was used to.
that we have in spades, the guy actually lives and breaths that stuff, so we are trully good on that front
testing, deploying, working on features - everything is automated 😃
@lapis pebble nice one, but companies never seem to realize that. I was (and still am) a security-minded sys.
@tropic grail I’ve seen that a fair amount of times. When a company ignores their talent, but they are eager to pay 3x for a consultant to receive the same news someone already working for them could have told them.
In Greek there is a word for that: χαραμίζομαι to let your talent go wasted.
are there any server engineering folks around?
need some info on REing WebSockets servers
pls @ me / DM me if you'd be able to help
https://rb.daf.lol/ holy shit this took me ages
@granite citrus rule no 1 - do not commit ever with a commit message saying "ahh" or anything useless like that 😃
look im tired, confused and i just needed to push it
@cloud knot
any way to make discord use my custom title bar icons?
my windows theme changes the title bar icons but they dont work for discord
most programs
https://img.fanman03.ml/Gbcju.png
Discord uses its own theme
Not sure you can make it use another theme
Maybe with writing a custom plug in
please elaborate
what do you mean by plug in?
You can write your own plug in for discord
Modifying the app is against the TOS
@thin cobalt discord uses html for its app, just search and change
@granite citrus Nice bot! now you can clean it up and add some tests
tests?
So you don't need to try it manually every time you make a change
pytest is an amazing test framework for python https://docs.pytest.org/en/latest/ #recommended
@ionic hull discord is based on Electron . I've looked therogh it's HTML and I haven't found where the title bar button assests are located. Any ideas where they are?
There you go, just find where the code is called and you should be able to mod it.
(You may also be able to trigger the Mac OS theme)
Just replace Windows by MacOS and win by mac and it should replace the navbar and icons to MacOS ones
Thats bloody devtools, as soon as you reload or reopen the app, the change is gone.
And actually modifying the files of the app is against the TOS
It is still very cool/funny that you can launch the devtools from the app
@main wyvern Yeah I know, but it could help to find where everything is in the code or at least add some custom CSS stuff on it.
Still, modifying those files is against the TOS
@little knoll Learn a bit about how electron apps are packaged. Not a bad thing to learn
I know they are packaged in those bloody asar files (in the case of Discord) and probably minified as hell (as they are using webpack), and so even if he find the way how to modify everything, each update replaces the older files (to be exact, creates another folder containing the whole updated app). Best way to handle stuff, use BetterDiscord and create a plugin/theme for it. (and still, it's against their TOS)
I know Electron is good, but it's still an unoptimized node web app packager which consume more ram it will ever need (because of chromium) and so that's why I'm looking for lightweight integrations of chromium for node web app (like NW.js or UWP for Windows 10 devices)
Wut
Wow, my bad, the previous comment should have gone to @thin cobalt
An Electron software is a web page running in an executable ?
@little knoll sorry mate, got confused with who is who 😃
@fair iron Basically, yes.
I have a 7zip plugin that makes it unpkg asar files
But there is a bit more stuff going on under the hood (like some APIs to access to some OS components which are normally not available on a web browser (in depth control of Audio input/output and stuff like this))
There it comes, the thread creator 😄
@thin cobalt On one side, the idea seems futile, you will need to patch every update, plus doing something against the TOS. On the other side, you could automate that and it can be a nice side project
Another thing you could do is to use Nativefier to create an executable that launch the web version of Discord and add your custom CSS at build time
Be warned thought, some features may not work as good as the native app.
Good point, I don't know how well the web app supports some audio features
@little knoll any idea where the file is located? I think I might have found a quick and dirty way to do it. There are image files of the title bar icons. I'm going to try replacing the windows ones with the mac ones
C:\Users\*username*\AppData\Local\Discord\app-0.0.301\resources
You will have to update those files each time there is an update but if you find it and that you don't care, go for it.
Thanks!
I'm looking for people that can make a website: front end: html css
backend: nodejs with express
i have a question for those of u who know about windows theming
my chrome without a theme
my chrome with a theme
chrome themes break my custom title bar icon. how do i fix this?
Stop using custom windows themes
Lol
What kind of server I need to have 3 sata discs ? Locally
Like
I don't wanna buy a 500$ server
What do I do?
3 sata disks with 8tb each
Get a random Walmart PC with a Pentium and 4Gb of RAM and you should be fine.
(maybe just replace the power supply to be sure that the cheap one will not burn your HDDs (that happened a lot of time)
Or even a used PC. My current NAS/ AD domain controller has a Pentium D from 2004
@ionic hull a NAS with freeNAS ? http://www.freenas.org/blog/a-complete-guide-to-freenas-hardware-design-part-i-purpose-and-best-practices/
@lapis pebble a server with a shit ton of storage for big data backup and it must run some python scripts
Maybe some GlusterFS (like Linus Petabyte project) should do the job
FreeNAS is quite good, although the extra requirement of running some python scripts might be an issue because it is FreeBSD when you ssh to the box... and it is a bit different than linux
GlusterFS seems too much for just a box
FreeNAS also provides CIFS for windows if that's what you need
Probably I'll just run Linux on an old pc
And put the extra hard drives 1 by 1
When 1 of them is full, I'll just swap for another
anyone know how I could call a method in C# by typing it into a command line?
@nocturne galleon only if you want to call the main function.
like in the main method I want to have a Console.ReadLine() and takes the input and try and call that method using the arguments I pass
literally thousands of ways that can work, both internally and externally.
that doesnt help me
I want to know how to do it not how many ways there are of doing it
point being, be more specific.
well.
I have tried searching how to do it on the internet and haven't found anything
I want a Console.ReadLine to take what i say as a method. eg: "function(arg1, arg2)" and for the console to then call that method that I typed with the arguments
does it have to be c#?
yes
@nocturne galleon Powershell? I'm rusty but try [system.Console]::ReadLine
does this work the way I want it to? It seems to work but...
void randomCycle() {
uint16_t x = random(1, 8);
if( x & 0b1 ) {
digitalWrite(REDX, HIGH);
} else {
digitalWrite(REDX, LOW);
}
if( x >> 1 & 0b1 ) {
digitalWrite(GREENX, HIGH);
} else {
digitalWrite(GREENX, LOW);
}
if( x >> 2 & 0b1 ) {
digitalWrite(BLUEX, HIGH);
} else {
digitalWrite(BLUEX, LOW);
}
}
``` Basically I want it to randomly turn on and off 3 LEDs to make all the possible different colors I could do a random for each one *but* that runs the risk of having a situation where they are *all* off. In order to get around this I use the binary numbers between 1 and 111 and check the first bit for red, second for green, and third for blue.
@quaint gazelle between 000 and 111 I'd say. You can filter with x & 0x1, x & 0x2 and x & 0x4, you might want to refactor the repetitive if into another function (or a macro)
w8...
waits
digitalWrite(REDX, x & 0x1 ? HIGH : LOW)
so you avoid repeating the if..., we just repeat the ternary operator that is smaller
I'm told by someone else that I could just do digitalWrite(REDX, x & 1) changing 1 to 2 and 4 respectively
only if you're sure that HIGH and LOW are always defined as 0 and 1
I haven't checked that in Arduino
I mean, yes?
yes, I just checked it and it seems they're defined as 0 and one
@nocturne galleon when you read the input with console.readline(), compare the first part of the string with a list of function names then split the string on spaces, commas, or what ever you want the delimiter of arguments to be. You should now be able to call the function specified from the console with the arguments provided.
I was impressed to see that PHP supports traits to build classes.
thanks @timber violet
yo, anyone here have experience building Python3 from source on Linux?
'''ModuleNotFoundError: No module named '_ctypes'
Makefile:1122: recipe for target 'install' failed
make: *** [install] Error 1
'''
you can tell when you've found some arcane wizardry when you jump right over Stackoverflow and end up right at bugs.python.org
turns out I just neede libffi-dev, all fixed
is there a room for hardware development (this?), or do I go to general? I'm looking for specific boards and I have no idea where to ask. (lipo usb C charging boards & usb-c output buck converters to 5v. All I find are micro or mini :/ )
Stay here I think
@gusty girder USB C stuff is pretty scarce and expensive these days
@gusty girder because the big thing is are you planing to implement USB Power Delivery?
Yeah, I basically want a (universal) board so which I can plug old phone batteries into so it's a diy power bank
And I want it USB c because 2018 ^^
I can deal with output being USB A, but input (charging) I want to be C for sure
well then a buck converter isn't going to cut it, because it will put out different voltages
Huh? I used one to convert 12v to 5v, can't I use a step up to do 3.6 to 5? Just less amps.. (my knowledge of electronics is... Not very good)
yeah
do yourself a favor, go google USB Power Delivery
read about it for a good hour or so, and then ask your question again
Ait, will do. It'll have to wait till tomorrow, sleep first. Thanks for entertaining my question anyway.
Ay laddies, just some random scrub who wants to learn something like Web Developement; Html to god knows what comes after js
Worth it or NAH
?
Learning something you want to use is always worth it.
That rule doesn't always apply, but yeah I think so too.
@bronze crater what do you want to do?
Web Developement
web dev is the goto this is easy programming, right?
do you have some end goal project in mind that you want to do?
web dev is broad
No not* i'm thinking of it as a gateway to easy programming
fucking knew it
not***
I meant i'm not***
I'm lagging so hard cause i have like 3 things running in the background
well, im no web dev expert, but i would still say go ahead and learn it
That's exactly what i'm doing 😄
granted you will use it for something
Just asking cause i'm guessing there'd be competition
Cause i'm not a very capable individual
you want to get a job doing web dev?
yes, people will look at things that say be a dev in 3 months or whatever, and are completely misled.
mmk, so long as you are ready for that.
Doing it at an acceptable level?
there is no strict measure for acceptable.
Cause i'm somewhat inspired by the people around me
I know some people who do it as a hobby, but it ends up benefiting them as a part-time job
Not exactly acceptable, but certified would be the right word.
right, i do it as a hobby now, but i plan to get a full time job programming.
Almost there.
im already 5 years in to programming, and have another 3-6 before i get a job, probably.
^^ Hence the "lots of time needs to be invested"
yes yes, but if its not a passion of yours, there are higher paying sections of programming.
if that is you goal
also, web dev is notorious for being not hard, but very frustrating.
not, that C++, is any, better.....
And that's only in css
My mistakes are always in css3 fml
whenever i make those styles or whatever, like setting a backgroun-
you get the idea
yea, i have such a habit of C-style semicolons that i will put them in python by accident.
/*Global*/
.container{
width:80%;
margin:auto;
overflow:hidden;
}
ul{
margin:0;
padding:0;
}
.button_1{
height: 38px;
background: #e8491d;
border:0;
padding-left: 20px;
padding-right: 20px;
color: #ffffff;
}
like in here
I constantly miss the colons at the ends
wouldn't be a problem for me.
Yeah cause you're probably amazing at it
here is a section of what i am working on, ```cpp
std::ifstream inputStream(path.string().c_str());
if (!inputStream.is_open()) {
throw FileNotFound(CUBIT_EXCEPTION_MESSAGE("could not find config file: " + path.string()));
}
std::string fileContents;
fileContents += (char*) (inputStream.rdbuf());
std::shared_ptr<ConfigSectionBuilder> currentBuilder = baseSectionBuilder;```
using python as an example, this is what mostly pep8 python, we have this ```python
def writeLibraryVersion(library, version):
library += "_version.txt"
if os.path.exists(library):
# cant open a non existent file
file = open(library, "w")
pass
else:
file = open(library, "x")
pass
file.write(version)
file.close()
pass
hm.
if i write it my way, python def writeLibraryVersion(library: str, version: str): library += "_version.txt"; if (os.path.exists(library)): # cant open a non existent file file: IO = open(library, "w"); pass else: file: IO = open(library, "x"); pass file.write(version); file.close(); pass
looks similar because python is still C-style
wat
oh, forgot a couple things.
also, C++ has a lot of syntax to it
and its not exactly the easiest language to read, but once you know what it is, its not all that bad
don't majority of programming languages do?
C++ in particular has a lot, because its such a powerful language
when you're 5 years new to the internet and your little brain can't handle everything that exists
😄
@proper gale Good morning 😃 I see too many pass there. They're not needed. Also the check if the file exists, you can omit it and use always "w" (you will truncate or create. You can also use a "context so you don't need to close the file.
i know.
i do check, and use appropriate open.
i know.
btw, forgot to close both quote and parenthesis
def writeLibraryVersion(library: str, version: str):
with open(f'{library}_version.txt', 'w') as dst:
dst.write(version)
isn't it great that that does not work
also, fuck that syntax.
the with as dst is fine, i get that.
but the f'{library}_version.txt', fuck that.
string interpolation... I like it in many languages that allow it. Ruby, now python, javascript, elixir...
this is from a script to download libraries for a C++ project
i care much more about C readability than i do python readability.
meaning, python looks like C
has pass to dictate end of scope, what there is of scop that is, etc
python looks like visual basic...<-- That's the first thing I said many years ago 😄 and even if it isn't very exact, it is the feeling
you can look at the whole file.
You don't need pass to dicatate end of scope. pass is a null operation
i know exactly what it is
Being python, they could have called it *spam" or eggs
i am a C++ programmer, i will do thing like that because i want my brackets.
but python allowing as much other syntax as it does to be interchangable, doesnt allow brackets
indentation..... I @@@@@ hated it in the beginning
here is the C++ file i am working on literally right now, they are very similar styles.
Well, if pass help you... What can I say, it is your script 😃
its not like python is fast in the first place
i dont mind taking a couple cycles for it to look a bit better, not in python.
C++ i give no shits about compile time, and a whole lot about runtime speed.
consider python if __name__ == '__main__': # makes it easier for my C way of writing code. # whole file is in a C style, not a python one. main() pass
now, if this was valid, i wouldn't have pass everywhere python if (__name__ == '__main__'):{ # makes it easier for my C way of writing code. # whole file is in a C style, not a python one. main() }
thats what i want it to look like
IDE yells at me for parenthesis, so it removes those for me.
if __name__ == '__main__':
main()
I'd say that's the pythonic way
no, inlining main would be.
inlining main? I'm confused
not have a function called main, but rather treating the if statement as a main function.
i have that at the bottom of my script, so i can order the functions how i want, with my main code right at the top.
in C, you use headers for exactly that.
You can call main directly. That if is used to avoid running the main code when importing the file (for reusability or tests)
You an even write all that code directly if you don't care about reusability, testing or the @@@@ main
you don't say
Don't follow that convention if it causes you itches 😃
I don't, I'm fine with how I wrote the file
I wrote it
But it's not in a normal python style
@proper gale What are you developing in C++?
Right now, a library for a library
ROFL
when you look for a problem, and notice a few years old typo in apache project 😄
look at the end of line 31 😄
@cloud knot good catch. If you "fix" that, everybody configuring the system with the typo, will need to change to use the right word.
Good dilema
@lapis pebble yeah, i ain't reporting that 😄
4 years nobody bothered to fix that, i am not going to mess with everyone 😄
@cloud knot 😂
100% needs to be reported.
@proper gale don't forget
from __future__ import braces
hey guys, im working on making my discord titlebar match my theme's (arc dark). Anybody know what file the titlebar is loading from? ive been modifying it with inspect element so far
this is my progress
isn't it in the inspector ?
i mean styles tab says the source from where the styles come from in every chromium based application
i mean like this
the 0.2b....css:16 is the file from which the style comes, and by clicking on that link it also shows you that file and line
that is a picture from random website tho
just FYI
can't be bothered figuring it out for discord 😛
Hey, I want to dev a autopilot for the game elite: dangerous. Version 1 should just be able to jump to a target basically, so aiming in the right direction, pressing j, then navigate a way from the sun and aiming again if a target is selected.
I looked around the web a bit, found a broken ahk script for it, and a few "starting points", basically people achieve what I try to do, by ether using stuff to detect certain outlines (like the sun and then deciding where to go),
or
detecting if specific pixels are a specific color or not, I imagine sort of like these arduino robots that have a color sensor to detect a line and through that moving a round a cuircut
question: what should i use
for example ahk scripts or a programming language that can detect outlines or something
nothing. it is against the game ToS and you will be banned
pretty much every game will ban you for using another software for controlling user actions
but in general they do not talk much about what gets you banned
you could in theory try to do what OBS does and grab screen
yes, a multiplayer game, and yes elite is sort of a multiplayer game, but if you only play for yourself or with some friends, in my mind it is "okay",
so I will try to do it anyways, if it is only for the sake of doing something in my freetime and not abusing it for the ingame credits
but thanks for the warning anyways 👍
but then you are pretty much programming a self-driving AI
that was sort of my plan :D
jup with the motorcycle
but he did it with machine learing
thats why the stream was on 247, showing how the program learned
thanks, I will look into it
that is pretty much a code for driving, it is very impressive and cool and all, but sadly no help
it was more about picture capture part
decision part is your job
and sending events you can again grab from his code
hey everyone, (in C#) I'm trying to make a program that creates new objects using a class i made during runtime but I dont want them all to have the same name since I am making multiple objects of the same class, how can I have it give the objects different names
@thin cobalt you know modding the Discord client (including CSS) isn't allowed by Discord, right?
so betterDiscord isnt allowed?
damn it. i really like BD
As long as you don't make it known that you're using it, who's to know?
Applications behave in a certain way, so another piece of software doing API calls in a different order or even different formatting of the same message can give the client away.
<div id="mobile-menu-open" class="shadow-large">
<i class="fa fa-bars" aria-hidden="true"></i>
</div>
<!-- End #mobile-menu-toggle -->
<header>
<div id="mobile-menu-close">
<span>Close</span> <i class="fa fa-times" aria-hidden="true"></i>
</div>
<ul id="menu" class="shadow">
<li>
<a href="#Home">Home</a>
</li>
<li>
<a href="#About">About</a>
</li>
<li>
<a href="Blog.html">Blog</a>
</li>
<li>
<a href="Projects.html">Projects</a>
</li>
<li>
<a href="Forum/Index.html">Forum</a>
</li>
<li>
<a href="#contact">Contact</a>
</li>
</ul>
</header>
</body>```
how do i make it so this menu stays at the top of the screen when you scroll down??
position: absolute fixed
or even fixed^^
When position: fixed, width: 100% sets width to total children width and not window width, two fixes possible, width: 100vw (vw = 1% of viewport width, vh is the same for the height) or right: 0; left:0; which forces the left and the right sides of your div to be stick to the left and right sides of the viewport. The vw unit is the cleanest way to do it but as it is CSS3, some browser don't support it : https://caniuse.com/#feat=viewport-units
@vast harbor
thx for that @little knoll
@little knoll do i use the div id or the ul id for the css??
The header tag may be the best one to use (if you want the full header to be fixed)
You're welcome ^^
Potentially dumb question here. I'm working in an ubuntu server environment and I need to capture some terminal output for another server to pick up and monitor. I'm aware of methods to redirect terminal output to a file such as with using stuff like command > output.txt, but is there a way to do that only at a specific interval? For example, if I only want an update on the progress of a task every 60 seconds, can I have it output at that interval instead of flooding the file with overwrite commands all the time?
Or would it be better for the monitoring script to just try to read the file once every 60 seconds instead? Would the constant overwrite operations interfere with this read operation in any way?
@severe sphinx You can filter the output of the file and read the important parts. You can "follow" the file with tail -f and then pipe it to a script that filters what you want.
You can also look at GrayLog doc, they may have some tips for this kind of stuff (as it is a log monitoring app, a real-time one though...)
Or, you could use a script that take what you want from a output file which is launched every 60s via a Cron Job (probably not the cleanest thing to do though...)
Thanks @lapis pebble AND @little knoll !
This is a code to operate a relay using google assistant. Is it possible to modify it so that when you say the specific word to turn on the relay, it goes on for like 1 second and then turns itself off? (same for the word to turn off the relay).
"```"
int relay = D0; //pin to which relay is connected
int boardLed = D7;
bool vin = LOW; //a virtual boolean variable
// setup() is run only once, it's where we set up GPIO and initialise peripherals
void setup() {
// Setup GPIO
pinMode(relay,OUTPUT); // relay pin is set as output
digitalWrite(relay,HIGH);
// Subscribe to events published by IFTTT using Particle.subscribe
Particle.subscribe("mylight_assistant_on", myHandler); //turning off function declaration
Particle.subscribe("mylight_assistant_off", thisHandler); //turning on function declaration
}
// loop() runs continuously, it's our infinite loop.
void loop() {
if (vin==HIGH)
{
digitalWrite(relay,LOW);
}
else if (vin==LOW)
{
digitalWrite(relay,HIGH);
}
}
//our events are called when IFTTT applets are triggered
void myHandler(const char *event, const char *data)
{
vin=LOW;
}
void thisHandler(const char *event, const char *data)
{
vin=HIGH;
}
"```"
also, would this code work on arduino too?
1 - I'm not sure if I understood correctly, can you detail a bit much what this code do ?
2 - Maybe, maybe not, it depends on the language and if there is dependencies that are available on your Arduino.
Sure, when ill get home, I will explain better
Ok 😃
@torpid knot using a timer perhaps? Like this one https://playground.arduino.cc/Code/SimpleTimer
@little knoll That code gets flashed onto a raspberry pi (that has a relay module connected to it) and by using using IFTTT, you can "connect" your google assistant to this code so that when you say a special sentence, the raspberry pi operates the relay. (to turn on or off lights in this case. Example: you say to google "turn on bedroom lights" ,google replies "Ok, lights on" and the relay closes the contacts to turn on the light. Since i want to integrate this circuit to my existing electrical one, i would need the relay to, instead of staying on till i ask google to turn it off, to turn on and off.
@lapis pebble I was thinking about something a little bit simpler , like where it says digitalWrite(relay,LOW); to just add a delay (1000); and under it another digitalWrite(relay,HIGH);
so that when you ask google to "turn on the lights", the relay goes on and off
That’s an option too. It will block the chip but it is only one second.
cause i think that the only way to integrate this into a room with a light controlled by 2 switches, i would have to change the switches to push buttons, make the relay operated by the raspberry pi a "momentary switch" and add another relay to connect the push buttons and the transformed relay of the pi
ignore the words
@torpid knot I would be very careful when you're dealing with a Rpi and anything related to mains voltage, good way to burn your house down
what could be the cause of a fire with that @gilded moon
Anyone here know owt about phones and custom ROMs
Just tell us your phone and what exactly you are searching. (I'm more the Stock/Pure Android guy, just saying)
wrong channel
Damn, NTFS compression is working way better than I though! Activated it on a GitHub custom build of the UE4 and it nearly reduced disk space usage by 50% 
@little knoll How is performance? for example building UE4
I didn't tested before compressing, launch and loading time looks about the same (on a XPS 15 9560, on a NVMe drive, i7 7700HQ, so probably no perf impact with this config)
I'm playing around with a custom UE4 4.19 build with NVIDIA SDKs integrated (Flow, Blast, HairWorks... Repo : https://github.com/MaximeDup/UnrealEngine (available for those who asked for the UE4 source code))
I saw something similar on nvidia site, but I need a UE4 subscription.
You made me recover the password of my dusty epic games account 😄
I've only used Unity and at that time its source code wasn't available. We didn't care much about the engine source though. Good old times
@little knoll What is your interest in UE?
Their work on real time cinematic rendering stuff
I'm currently working with their new LiveLink feature to implement some kind of real time mocap on the cheap with some Kinect 2 sensors.
And I may try to implement a feature they shown at GDC 2016 where they used a iPad as a screen and gyroscope sensor to show a full UE4 scene rendered on a PC.
Here it is : https://youtu.be/K6tRt7c2elU?t=1629 (It was from a Android Tango device to be precise)
Watch Epic Games' full 'State of Unreal' presentation from GDC 2017 as we share our vision for the future, announcing a series of high-profile projects that ...
It's a bit after : https://youtu.be/K6tRt7c2elU?t=1674
And there they weren't using the raytracing extensions nvidia demonstrated this year. The quality is amazing.
Yeah, that's why I'm really interested by what we can do in real time in the next year or so.
Another surprise I guess (full of NDAs till there is something ready)
but the idea of discovering virtual worlds through a tablet/phone is nice. We did a demo with augmented reality where we drew a window into a virtual world and you could "walk inside", but AR environment tracking at that time wasn't very good and the experience couldn't last much
Everything was rendered on the phone
We had fun, but we didn't make a dollar 😭
You may have more chances with those new SDKs and APIs for AR on phone, and even with some streaming API, you could use a PC instead of the phone for rendering ^^
Currently, my project is to build some open source app to transform some Kinect 2 sensors (which can be found at 20€ used nearly everywhere) as cheap mocap devices for indie games and/or movies studios. I'm in talk with a french Youtuber that I know which is making some videos about filming technologies and what Epic Games is doing with the UE4 is blowing his mind. So we may create a small, rendered in real time, video with the UE4 and some mocap/3D capture.
And we may offer it as a standalone VR experience for his YouTube viewers.
Yea, hat was the idea. We knew apple was preparing AR, so we could gain the knowledge and be ready for the arrival of the official frameworks by using things like Kudan or Vuforia. Startup drama ensured and we run out of money :/
At least you tried ¯_(ツ)_/¯
And had good memories/fun. Your project looks cool. And you’re not alone plus you have a goal. 💯
Would I be able to get some help regarding the possibility of posting html to the forum? This is related to the LTT Storage Rankings thread.
this may seem obvious, probably cause it is.... Have you tried? if so, did it work? no? yes? theres ur answer.
I did, I tried both just posting my raw html and some BB code generated from an online utility to convert html to bb code.
I ended up with a post that was just full of html tags and the bb code one didn't have all the components I'm looking for. I need it to post tables with cells of varying width.
I'm reusing the python code from github listed in the storage rankings thread, updated the systems list, and the html I'm trying to post is generated by that script.
I'm curious if that ability has been removed or limited to certain users.
Just try some plain text tables, you probably can use code tags to "disable" line wrap on your table. It's not the most 2018 way to do stuff, but it works.
Is there a different way that you're posting code?
I put in a SUPER simple html table and I just get the html showing up in the post. If I add code tags I get the code displayed in a box like I would expect. It definitely isn't rendering the html like I'm hoping.
This is your best chance to do table on the forum as there is no table module by default on the forum software and they probably didn't added one.
https://www.tablesgenerator.com/text_tables
This is what I'm attempting to get.
It's to match this thread https://linustechtips.com/main/topic/21948-ltt-storage-rankings/?page=1 which has this posted in it.
LTT Storage Rankings
Topic
Welcome to the LTT Storage Rankings! The purpose of this
topic is to show off cool storage builds, to inspire wit...
Well.. Idk how he done that (because yeah there is HTML tables.
Probably because he is (or was) an admin, he may have access to HTML tags.
Any suggestion on who to talk to about who may be able to help with updating that? He is gone, and the other person who is named in the thread as looking after the thread seems to be MIA at least in that thread. I've got an updated set of stats and graphs for that thread that can be posted.
Find a forum mod, mention one here may not be the best idea though.
PM them may also not be the best idea. (or maybe not, I don't use the forum enough to say for sure)
One of the super mods is listed as the thread maintainer, no response since the weekend. I'll try another, and maybe see if I can find somewhere to post asking for help on the forum too.
This at least suggests that I'm not missing something obvious and I need to find someone with more access.
Thanks 😃
could just post an image of the table
@main wyvern Spot on. 😄

how about formatting in word/ rich text editor and pasting into the reply box:
An image would be VERY long. It's got 150 builds to display. I'd either have to rebuild the python script to export images instead of the HTML that it already builds.
I'll try opening the html page in word and see if I can copy and paste it.
Opening in word messes with all the table cell sizing. The cells are sized to be proportional to the width of the bars.
Member count : a shit ton
The classic, its over 9000!!! video without anything extra.
@plush stag you have Markdown to post codeblocks
https://support.discordapp.com/hc/en-us/articles/210298617-markdown-text-101-chat-formatting-bold-italic-underline-?page=4
it even supports syntax highlighting
@plush stag wonder if you can copy paste the html output (control a) and just paste into the comments box?
Hey, anyone have suggestions on earning the OCA certification (1Z0-80)?
Are certifications still useful?
Like there were ever useful. Although perhaps useful is not the right word... worth your time sounds better.
Depends on purpose but usually linux
@lapis pebble certifications are very useful.
I'm asking cause I just managed to get my hands on a remote Windows Server
and it's not that great.
And having experienced Linux, i wasn't sure whether I should go for Windows Server, cause i'm much more familiar with windows, or have Linux, cause of the cmd line
Also, is an intel atom fine for a small portable server?
Thanks for the advice kinda @median charm @tropic grail
Linux is a bit more maneuverable and customizable. Atom is fine for a small server.
Not the best, but fine. Will run Linux fine, at least.
Linux isn't very demanding anyways.
Especially with a custom kernel.
@bronze crater Windows server is only good for some specific workloads, but its mostly used for platform specific applications.
im redoing my schools VM infrastructure with Microsoft Hyper-V because it is cheaper than KVM/Xen solutions, but its not quite as good of a hypervisor design from what i read about them.
failover?
does it have failover clustering?
that is the reason we are moving off ESXI and onto Hyper-V
yup, it does
right now, i already have Hyper-V setup, and im not particularly keen to switching it because i dont really have the time to.
I tried Proxmox... I think I'll stick with ESXi and Hyper-V 😄


@tropic grail the only usefulness I’ve seen in certifications is not the cert per se but in the process of gettin one. It forces you to study since you’ve paid for the exam. It seems a good way to study if you cannot do it by yourself.
Many jobs require certification.
Jobs in general or in software engineering?
yes
In software engineering I’ve only seen: bachelor degree. Although they usually add: or equivalent experience.
I might be living and moving in a bubble 🙄
Anyway, @viral bramble If it is gonna help you get that job, and you've checked that the company deserves the investment. What can I say, go for it 😃
Best comment I've seen is the new ass tearing teradactyl.
so @devout lava did u see the code
yea
so what do i do
Imma paste it here quickly
Private Sub SD_Click(sender As Object, e As EventArgs) Handles SD.Click
Dim fileReader As String
fileReader = My.Computer.FileSystem.ReadAllText("C:\DECApps\BGInfo_Temp\BGIADSiteCode.txt")
MsgBox(fileReader)
End Sub
Hmm
shell("net use //DETNSW.WIN/variable1/variable2") is what MsgBox Is ment to be
the variables need to be two diffrent text files
tbh...I don't know much about vbnet. 
@smartpeople
I sent an application to Linus as a software programmer. they never replied. :sad: #natural-selection
#rip
ja. anyone else here writing a chess engine or a discord library?
@timber root Perhaps that wasn't the right job for you but there are thousands of software engineering jobs.
ja im doing my masters now in computer science
but ty for the support haha i was just messing anyway
@timber root Are you in Europe? Wanna work in Greece? Where I work we're hiring at all levels 😃
that sucks
In the office we adopted (temporary) a lost dog from the big fires. Check here, there are good teams, and bad teams, but if you find anything interesting, I can introduce you: https://glispaconnect.workable.com
If you were more senior I won't recommend it, but juniors usually have fun and learn a lot.
who knows how to run windows programs on heroku
heroku is linux basically
you could try to use wine
but other than that you're pretty much unable
it's just a bat file
but it needs squid and java and python to support it
it's a proxy software
As Omni said, Heroku applications runs inside Linux containers, so natively running Windows applications isn't supported.
There are proxy solutions you can run on Heroku, is the one you need special or are you just looking for a proxy @elder vale?
so guys and girls. can anyone look at my site and see if there are any seo issues etc. its my first time building a website. next would be to takkle an api and ecommerce store XD
Time to break out the VPN
@weary knoll i just need a proxy
i also got a linux version of that application but i doubt that heroku will let me to install it
za? 
@elder vale Heroku allows you to deploy Docker containers to the platform, so I'd imagine if you find a containerized version you'll be golden.
Have a look at https://github.com/mrluanma/chisel-heroku
yeah za
Any web designer? just html and css ? Paid jobs, pm me
The thing is, I don't need a guy that made a couple of websites, I need someone with professional experience, and a lot of it.
I'm hiring because I need someone good
I misunderstood your request too. When I read just HTML/CSS, I understand a small thing + nothing important.
Same here, if you really want a big website you need at least some js or php. Only html+css is more like an online word document
in his defence, he asked for designer not developer
true. but html + css would basically be a wordpress site just blander
Or a static site. It is true that the word designer brings to my mind more of a UI web designer, than someone that can hack HTML/CSS
But I guess nowadays it is easy to ask for HTML/CSS if you do web design. At least know the limits and how the web works instead of painting on photoshop
yeah that is true.
One thing I've seen is people doing mostly HTML/CSS authors that know some JS (From an ex-colleague to the famous author of CSS secrets)
JS is basically a requirement alongside HTML/CSS now imo
It can make things so much smoother and nicer
I don't want a developer, I am a developer who seeks a better designer
Because I am shit at making templates
And don't have the time to learn
html / css is front-end. Just use JS for interaction with api (perhaps using node.js?)_
Does anyone here use https://glitch.com
😄
@mental hemlock heh, JS is frontend too. HTML and CSS are styling.
@nocturne galleon Yes, I write a lot of ugly stuff there. It is nice to try things.
Anyone wanna play with a script I made. It's dirty but I wanna see if someone can reduce it's size. PHP btw
I feel that I'm making too many curl requests in it
I'm not a coder by any means
Hey, anyone can help me out? jQuery and JS related
@tidal tusk at least wrap curl setup & json decode in a function.
@north hare shoot
PHP 
Who uses php anymore? Node <3
I do! But that's because I'm a WordPress holdout who refuses to touch the constantly outdated development world of JavaScript frameworks that seem to rotate out of fashion / version every 5 minutes.
Not saying Node or other frameworks aren't good - I mean, I love the Discord and Slack desktop apps and they're based on Electron - but I'm not going out of my way to rebuild a website from the ground up for my small business clients who are already using WordPress with a shitty theme. Instead, I'll migrate them to a theme with good support and features, then do a redesign there.
A lot of people uses PHP, the language usually is the last of your problems
i love those O'Reilly parody covers 😄
they're great
I love web dev for dummies
copying and pasting from stackoverflow
cause its true
for anyone here into data logging, I heavily suggest you use some sort of HTTP request log.
alongside https://sentry.io logging
you can thank me later
@edgy geyser Agree! Graylog here. But I've used graylog for some low volume python projects and it was perfect.
I might take a look into Graylog for a dev environment
gives me things to tinker with
I do everything the incorrect way but as long as it works for me it's fine.
@nocturne galleon how do you know they are incorrect?
Well I mean, it's not exactly "incorrect", it's just not doing it the way the documentation says to do, and fixing things without fixing the problem, just getting around it, for example, in the optimisation for my opengl renderer, unless I add some data that means nothing after adding the real data, it doesn't render the last thing added to the map
Well, if that is for a demo or a toy project, you can live with that.
If you expect me to pay for your renderer/engine... then that's another issue
The fix was temporary to see if the rest of it works, I'll make fix it properly one day 😛
@limpid reef that's fair tbh. At work we build financial crm, front end isim angular 6 and the back end is node/ express in aws fargate wh8ch we are migrating over the lamda and will be pretty much fully server less.
But yeah WordPress and a theme is a the simplest way to get a website up.
I'm Not sure how nice node based cms are.
Means I get to play about with docker and things.
I switched from wordpress to ghost for a blog personally, trying to get away from PHP
why would anyone still use Wordpress
😂 very true.
I don't have to do my blog any more :(
My website https://linusdrop.tips/KqXlhp
It's running grav, flat file crm but has noposts
My personal site is static HTML5/CSS3 😂
I'm primarily a back end engineer at work, so styling isn't really what I'm good at
you would hate https://linusdrop.tips
What do you mean? 😅
you don't want to see the php powering it
Oh🤮
But AJAX is nice
The software I work on is a .net back end, typescript front end using knockoutjs
Long term plan is moving it over to net core and finally getting it cross platform
There's still a lot of dependencies that aren't in coreclr though 😔
Rip
I can make my way around networking pretty well, I learnt a lot at my old job as they ran everything in house, had a massive 10gb network
Was fun to see the huge redis caches fail over, copied ~30GB of data in ~6s 😂
I'm glad that gigabit is more than enough for my use case 😂
30gb in 6s long time lol
My home internet sucks though...
I used to get 100/100 at home and now I get like 40-50/10_17
The 6s is the total downtime of the website whilst it fails over, I never actually looked at how long the copy took
I knew it was running at the full link speed, and that's all that mattered
😄
Lol
They've probably upgraded past 10gbit now anyway, they way over provision everything
That's a good thing
64gb redis servers using 30gb ram at peak times, and there's 8 of them
Lol
Took me a while to convince the sysadmins that they didn't need 16 cores each...
2 cores is more than enough for redis 😂
Lol
Hahah
Nah
It needs to be 1%
The old caching servers averaged 60%,they ran ncached
Normal times it was about 1%
10% was black friday
What company was it
My friend's dad is the head sysadmin...so they get to bring home a lot of the devices not used or servers... lucky
I'm Not willing to share personal information
@devout lava hahah id love that
My friend got a 48 port gigabit switch
With 4 SFP+ uplinks
From his dad's work... ;-; lucky. And apparently they use Dell switches
My use a redis cluster at work but it's managed by aws.
Most of our services run inside docker.


