#development
1 messages · Page 40 of 1
Have one of those too
It’s got a LOT of software issues
Also wanted to make something thin that’s why I was thinking like 4 pi zeros
yea unfortunately a lot of your problems just may be software issues
yea the problem is the interface is terrible for pi zero
to cluster them
the bandwidth is garbage
it would make performance way worse, not better
everything goes through the USB
Was thinking of making a custom interface board using the USB go to make a bunch of USB Ethernet adapters
which makes it just terrible for cluster
All in board interconnected
its still slooooow
for GPU level stuff
the latency would be so bad
only other thing i could suggest is go to a Latte Panda
but its not cheap
Well I was thinking that may be a problem but what if I used an composite panel and had one pi do one color so like one for red one for blue one fore green
Ya but it’s like $800
noo
Would like one
its way cheaper than that
Um
The GPU on that is only 200mhz faster than the pi
The tinkerboard has a fast GPU
yea but its an Intel GPU it will be way more optimized
The tinkerboard has a (if I remember right) 700mhz GPU
Ya but for retro you don’t really need the 64bit until you hit like GameCube
there is another board i am trying to remember what it is
Unless the Nintendo ds needs 64bit.....
Don’t know actually
Do note though the reason I was thinking cluster pi zeros it to make it tiny had held,
Like fit in pocket
the Udoo Ultra
probablly hard to find though
yea I get what you are saying about cluster, i just dont think there is enough latency, especially considering your talking about 4 of them
and I am not even sure you could leverage the GPUs in such a way with cluster
CPUs yes, but the GPU interconnect would be way to slow to improve performance
and even with CPUs you would need special software that can leverage the load balance
you cant just throw off the shelf software at a cluster and it works
Well that’s what I was asking was if it was possible to cluster the GPU
I doubt there is any easy way it could be done, and i suspect it would not yeild better results, thats about the best I can say
Would love a cheeper latte panda alpha without all the extra stuff.... like just the processor, GPIO and like a USB WI-FI and hdmi
yea what is the cheapest model is like 300$ USD or something?
379$ ya thats high but its great hardware too
if i recall its comparable to what recent macbooks have
Witch is quite sad actually
Though the problem with the latte panda alpha is it need like a 70w power supply....
Not very good for a mobile console
Hey All,
So I'm looking for preferably a professional opinion, but if you have some information to add it would be appreciated,
It's based around system security. I'm not that well versed in this feild so I may get things wrong.
Goal:
To have a completely encrypted system, where system admins can't access a users data until they are given permission (I don't want this to be a trust system).
My current thoughts are:
The user has a username and password, this is used to encrypt their files, only a salted hash is stored in the system.
They would also be given a key, which when given to admins would allow them to access the account .
How:
When the user creates an account their password is sent over https/ssl this is userd to create their salted hash, it is also asymetrically encrypted, the system owns the public key and retains the cipher, and the private key is sent to the user (email/text/mail) never stored in the system, this means when the user sends the admins their private key they will be able to discover their password, and in turn decrypt their data.
When the user changes their password they will recieve a new key, and if they wish to remove admin access they also need to change their password.
I expect admin access to be very infrequent normally only once.
This system would also be public knowledge so users know their data is safe.
Are their any issues with this idea, what concerns would a user have and is it the best way to achieve this 'secured backdoor' ?
or could you point me in a more appropriate direction ?
@last ingot Thanks for the response,
I understand email isn’t secure, and there is a risk there, however I believe it would be minimal, partially because it doesn’t directly mean anything, if someone had malicious access to the database, they would have to know the stages of encryption in the right order(which is entirely possible), if it was an external ‘attack’ they wouldn’t have access to the data as the system holds the cipher, therefore they wouldn’t get the users password to decrypt the data, only admin/staff would. this could also be mitigated by the ciphers being kept on an offline device making the process manual, however it would be infrequent so it’s a viable option even at scale.
The user needs to have this key stored as a physical object, also the service I’m looking to provide would mean the users would be happy for admin/company staff to access the data if their key has been supplied, before supplying the key, as a selling point of the service, I would like as much data to be encrypted as possible. There would be some private/sensitive data, but the end user would understand that given certain circumstances (controlled by them) admin/staff have access to the data.
I hope that makes sense, it’s pretty early and I’m a bit asleep
you can always set your own mail server up and use PGP
assuming the recipient does the same
does anyone has experience with huawei roms?
function checkServerList(req, res, next) {
for (i = 0; i < userServerList.length; i++) {
for(x = 0; x < botServerList.length; x++) {
if(userServerList[i] === botServerList[x]) {
userFilterServerList1.push(userServerList[i])
}
}
}
}
Why isn't this working?
@ me
what would working be and what is it doing instead?
Put some logs in there to see what logic is being used at runtime...
function checkServerList(req, res, next) {
console.log("userServerList: ", userServerList);
console.log("botServerList: ", botServerList);
// Loop through the server list
for (i = 0; i < userServerList.length; i++) {
// Check to see if any of the bot's server
// list matches the current user server list
for(x = 0; x < botServerList.length; x++) {
// A match, push to the filtered list
if(userServerList[i] === botServerList[x]) {
console.log("Match Found with: ", userServerList[i]);
userFilterServerList1.push(userServerList[i])
console.log("Pushed to filter list.");
}
}
}
console.log("userFilterServerList1: ", userFilterServerList1);
}
@sacred shuttle
At the start userServerList and botServerList are empty. This code is basically checking which guilds my bot and the user are in.
WIll try that @nocturne galleon
If they are both empty, no looping will happen... It will just skip those loops.
Ok, good 👍
hello anyone can help me?
Toggle = 0
#MaxThreadsPerHotkey 2
XButton2::
Toggle := !Toggle
While Toggle{
Click
sleep 88.351456
}
return
this script is on toggle how am i able to change it to hold
i want it to be when i'm holding the button it works while i remove my hands it stops working
there might be an ez fix but i'm no expert 😐
You should probably do some research before trying to get the answer spoonfed to you, you won't learn anything otherwise.
#MaxThreadsPerHotkey 2
~XButton2:: ; You might not want '~'
while GetKeyState("XButton2")
{
Click
Sleep 1
}
return
I hate TCP
@lapis granite TCP is good. The retransmits save the day
I know @native shoal 😄
Just had implemented my own TCP protocol
That's why I hated it when I was finished
Because it isn't really fun to figure our what byte belongs to what packet
But I ended up with something like: AA AA BB BB CC .... DD DD where:
- AA: The length (two bytes forming a 16 bit int)
- BB: The packet ID
- CC: The payload (can vary in length, there can also be no payload)
- DD: End bytes, used for checking length (Can't use this to split packets because the payload might also contain the same values as the end bytes)
are there any people who have a high knowledge of C#? im in my second semester and im studying C# right now and i have 0 knowledge and i need help
mostly windows form application
@glad pagoda if you have any questions let me know
When you are coding an app for 3 months about to release, and someone beats you to the punch 
When you pay some Indians to make you a html template and they just grab something really shitty from some website and put your logo 😕 😕
@ionic hull Use https://themeforest.net/
Get way more for very cheap
And you get exactly what you want
Then take something that is close to what you want and make it what you want.
There's tens of thousands of html templates there.
if anyone is experienced with flask pls ping
crown viccy
hello fellas, need some help with lua
i need this button to call a tab or an element of an xml
$what = "what";
echo $$what;
``````PHP
what
https://cdn.discordapp.com/attachments/308729304949194752/552515100272230401/unknown.png
help pls
i did same stuff as the docs said
but in an anaconda packet manager, as its the only package manager i know how to use
and conda virtual env
as u can see i have the tomweb conda venv activated
i just keep getting this crap error
ping if u can help
import "tom" Are you practicing human trafficing?
Does Tom.py exist in that directory?
Flask is attempting to run via Tom.py as your main file
You will have to be in a directory with that file for that command to make sense I believe
yeah, i didnt run cmd in the directory tom.py was
@obsidian bluff no lol, the flask docs said dont name it flask, and thats the first thing that came up on my mind
I know the whole alphabet.
im talking about the programming language but nevermind i fixed it myself
that was pure sarcasm, clap clap
yeah, I think my message didn't get through
how can I modify this VBScript file to only return the first IP address?
strComputer = "."
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set IPConfigSet = objWMIService.ExecQuery("Select IPAddress from Win32_NetworkAdapterConfiguration WHERE IPEnabled = 'True'")
For Each IPConfig in IPConfigSet
If Not IsNull(IPConfig.IPAddress) Then
For i = LBound(IPConfig.IPAddress) to UBound(IPConfig.IPAddress)
If Not Instr(IPConfig.IPAddress(i), ":") > 0 Then
strMsg = strMsg & IPConfig.IPAddress(i) & vbcrlf
End If
Next
End If
Next
Echo strMsg```
i know nothing about vbscript btw
After it sets strmsg once you want to bail out of the loop. It is two nested loops though so you may want to switch it to a function and return then echo
That being said I am not positive about the order returned by that wmi service query. Is the first one always the one you want.
^released 6 hours ago btw.
Might have already applied.
plus, google might have autoran the updater on your computer depending on the level of UAC you have set
if you run windows
Hi there
Anyone know where I can find free template like this : https://cmd.to ?
I wanted to make a website that look like a cmd
It's not too much work. It's a monospace font with bright colors on a black background.
If you mean the progressive loading that is a bit harder
@vale hollow http://jsfiddle.net/w3ea9zsu
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
Made an example for you
just google "wix terminal template"
Anyone have any clue about RegEx?
http://regexr.com @orchid sorrel
@tropic grail that and https://devdocs.io/ are my big developer bookmarks 😄
All I know about regex is that if you have a problem and you try to solve it with regex then you have problems... plural.
#RegEx denial of service
@cloud knot Damn, I'm a full time Front End Dev and I didn't know this
All the time I have wasted looking for docs..
@cobalt umbra best part is that it has search
well, it would still be centralized
Hmm no searching through the Apple SDK docs though. That’s unfortunate
probably a licensing issue^^
Unfortunate considering the search on the Apple site is bad. (Sad, this is coming from an employee)
@civic bough for that there is Dash ? https://kapeli.com/dash
Dash is an API Documentation Browser and Code Snippet Manager. Dash searches offline documentation of 200+ APIs and stores snippets of code. You can also generate your own documentation sets.
@cloud knot yeah, but I believe it requires having Xcode downloaded. Which works for my machines. It’s when I’m teaching folks who might not have Xcode downloaded handy.
@last ingot oh sorry, I guess I kinda skipped the first line somehow
tunnel vision
the chrome update thing
Curious, has anyone had experience with CI offerings other than Jenkins.io?
...and because it's a feat of constant failure over the last 6 months at least, here's the newest update to the webstreamer I run: https://m.dooleylabs.com/
Finally took an hour to fix the color thing, lol. Now that it's intelligent, I can sleep terribly, lol.
hi. i have 2 pdf forms and one in the making, that i fill and print, was wondering if there is a software in which i can make the forms and to automatically fill them with the data I insert in a interface(or something like that). I'm trying ms access, but it's kinda complicated but to implement the fields from the pdf forms in reports is as the saying goes a work of an old chinese man
@jaunty surge you can try using autohotkey to automate the data input
i was thinking of saving the data that i input in the fields to be able to access it from the "app"
hello developers
anyone know a fix for visual studio builds taking 40 seconds - 3 minutes? (C#, .net framework)
(this also happens on a console app w/ 7 lines of code)
<resolved>
@solid horizon You should tell us how you solved it ^-^
Okay, so I'm trying to spawn an exe with Node.js's Child process spawn
And write input to it's stdin basaed upon the output of stdout
However, the only way I've so far managed to get this damn thing to even accept input is in you pass stdio inherit, process.stdin, a file read stream or a socket stream
Created a custom stream of any form didn't work as I don't have a file descriptor, which means stdio refuses it as input
https://nodejs.org/api/child_process.html#child_process_options_stdio
the (insert super edgy weapon name here)
@spring radish updating visual studio (im using 2019 preview)
does anyone here know about the discord.py library?
I know disco.
I've been having a little trouble, I have a function that makes the bot send a message and then logout when you command it to. it sends the message but doesn't log out
heres the code
@client.event
async def on_message(message):
# we do not want the bot to reply to itself
if message.author == client.user:
return
if message.content.startswith('!hello'):
msg = 'Hello {0.author.mention}'.format(message)
await client.send_message(message.channel, msg)
elif message.content.startswith('die bottom text'):
msg = 'why do you treat me like this'
await client.send_message(message.channel, msg)
client.logout()
print(client.is_logged_in)
Not too familiar with discord.py, but I'd do something close to this:
@client.event
def on_message(message):
# we do not want the bot to reply to itself
if message.author == client.user:
return
if message.content.startswith('!hello'):
msg = 'Hello {}'.format(0.author.mention)
client.send_message(message.channel, msg)
elif message.content.startswith('die bottom text'):
msg = 'why do you treat me like this'
client.send_message(message.channel, msg)
client.logout()
print(client.is_logged_in)
Thanks, I’ll try it out when I get back on my pc
Probably not perfect, but it'd probably work halfway.
wheres a good place to learn javascript? i cant find any good tutorials on youtube.
In this crash course we will go over the fundamentals of JavaScript including more modern syntax like classes, arrow functions, etc. This is the starting poi...
Ive started to learn html and his videos was the easiest for me to understand and follow along with
Does anyone know how to make a simple bot that will click something then reload the webpage?
@stiff karma click what?
A button
on a website?
Python + Selenium is exactly what you are looking for
Ok
or Selenium with the language of your choice, as long as there is a selenium binding for it
I am wanting to load a custom cursor from a file in a WPF project
how do I get my cursor file recognized so i can just do Cursor="CustomCursor" in the XAML
my cursor file is called normal.cur
use this.Cursor on your form where you want the cursor changed and use New Cursor and point to the .cur file
https://docs.microsoft.com/en-us/dotnet/api/system.windows.input.cursor?view=netframework-4.7.2
if you want it right in the xaml I think you will need more work to hook that all up, not sure
So I been working on a website tracking/project management software. One feature I wanted to add is export reports to PDF and Excel. For PDF, I've seen FPDF and mPDF. My problem with them is they don't appear to be updated regularly.
Does anyone know of a good PDF generator/library that have been recently updated/maintained that I should use/look into?
reporting frameworks like crystal reports are popular
stuff like https://ironpdf.com/ exists
but you mention mPDF so I assume you want PHP?
and free for noncommercial, or free for commerical, and which license is ok?
I was going to reccomend IronPDF.
@graceful solstice https://pythonprogramming.net/ is a good, or if you want something more interactive then https://groklearning.com/ is also great.
Thanks!
np ,and if you need any help or have any questions then feel free to dm or ping me ans I'll try my best to help!
Does anyone here know Python? Need help really quick as I am stumped
@raven kernel are you aavailable?
This person is a God^ xD
@graceful solstice u know any other language?
Visual Studio is so smart
@nocturne galleon yea c++
Nah, I get used to intellisense
@worthy dirge CLion does a better job, use that with clang and you have all your errors in the most understandable form.
honestly, Clang errors are much better than anything spat out by GCC or MSVC
typedef struct string string;
struct string
{
int length;
char* content;
void (*init)(string*,const char*);
void (*print)(string*);
};
void print(string* a)
{
printf("%s", a->content);
}
void init(string *a,const char *b)
{
a->init = init;
a->print = print;
a->length = strlen(b);
a->content = (char*)malloc(sizeof(char) * strlen(b));
strcpy(a->content, b);
}
int main()
{
string a;
init(&a, "Hello world!\n");
a.print(&a);
a.init(&a, "bullshit!\n");
a.print(&a);
return 0;
}
Is this the right way to mimic object oriented in C
I want to make a.print without passing any argument, like *this pointer
you cant really do that in C
lol
y tho
main should be at the top @worthy dirge and functions at the bottom
well for small programs like this it's fine
You can move the main function up and forward declare the functions below it.
but like why
I found the biggest limitation to mimic OOP in C is actually you can never call an object to do something
You can only write a function and pass the object to it
fundamental difference
that's what c++ does tho...
Yeah, in C, you can only do like i=get(&f) or i=get(f)
f.get() is just syntactic sugar for that
you can see in the assembly that it passes f as a pointer
I know, it's actually the compiler helps to pass the address of f, so basically it is compiled down to procedural oriented
Hey guys, I just did my first programming since high school (10 years ago) and made a Python Discord Bot. It's supposed to help you track your loss bonuses in CS:GO (not very practical, I know - but it's an excuse to learn). If anyone has any spare time to check it out/break my bot - please DM and I will invite you. Here is the GitHub https://github.com/dbouls/Bot_Wally
You've all been testing my bot for months 
For the Arduino and RISC-V fanboys in here, the SiFive board is getting a reissue! Rev B has an integrated ESP32 module on the board! 😃
https://www.crowdsupply.com/sifive/hifive1-rev-b
@worthy dirge just write the line void init(string *a,const char *b); before main and the function under main
@nocturne galleon What do you mean
I am needing a very specific Bot and am willing to pay. So I’m looking for Bot Developer or someone who knows Python 3.6 and discord.py rewrite alike to assist me. It is a Moderation Bot with many functions most of which other Bots have just not All-in-One.
Hey @obsidian mirage - what kind of hourly rate did you have in the budget? You might be better looking on a subreddit though tbh.
I’ve looked but couldn’t find anyone.. I’m not sure but I’d say it’s probably worth $20 an hour
Ah, yeah I'll have to pass. I start at $60-$80 CAD per hour for basic web development work, so hopefully you find someone willing to work for that.
@obsidian mirage are you set on using python? and what features are you looking for specifically?
No it doesn’t have to be Python if your able to do all features and provide new features and updates if I need them
@proper gale
Most important being first
Moderation
•Customizable Auto-Moderation with Logs (bad words, duplicated text, server invites, external links, spam caps, & spam mention)
•Kick, Ban, Mute, Clear, & Warn Commands
•Slowmode
•Auto Assign Role upon Join & Role Reaction
•Customizable Welcome & Private Messages upon Joining as well as Customizable Goodbye Message
•YouTube, Twitch, & Mixer Streams & Video Notifications
•Report that Sends to Mod Log & Deletes Users Report
•Post Google Form Replies to Dedicated Channel
•Mod Mail (If Someone DM the Bot it Sends Message in My Support Channel for Mods)
•Cross-Server Announcements (When Mod Posts in Channel on My Server it Posts to Dedicated Channel in All Servers that is Setup)
•PUBG Mobile & ARK Mobile Patch Notes from Official Site
•Level System
•Steam Patch Notes for Games of Choice
•Server Stats (idle, offline, online, dnd)
•Giveaway with Create Start (Time Winners & Prize) End (Pick Winner for Giveaway with Inserted Message ID) ReRoll (Reroll Specified Giveaway) List (Shows All Current Giveaways)
•Bump Server with Banner Invite & Description [Include, Owner, Region Created, & Members Status (idle,offline,online,away,dnd,streaming,) Role, Bot, & Channel Amounts of Server] (Post in All Servers with Advertising Channel Setup)
•GitHub Notifications
•Ability to Add Custom Commands
My bot does all that.
all of it?
Except the giveaway and custom commands bs parts 
ok, custom commands was the one i was really questioning.
its not all that hard if you use scripting, but thats a PITA in most cases.
I mean it could, but that'd be injectable. We do have a !tags bit that you can make "custom commands" with that output a static something.
That said, it's not public (yet), and when it is, there'll be requirements.
But yeah, @fervent orbit does all of that so far, lol. (except the advert bits)
i mean, most of its not all that hard, and the rest is just specific APIs
The only thing, mine's written in Disco, not the inferior discord.py.
LMG Floatboat is a moderation bot originally written by b1nzy,
but now maintained by Dooley_labs#0001.
41530
22 hours
i use Discord4J because im much more familiar with Java than i am Python
I utterly hate Java.
i would use C++, but that seems like overkill
@obsidian mirage do you have any specifics on how you want the bot written? and what kind of timeline would you want?
@proper gale here's a feature that's almost ready to go live, but it's not updating the status of the bot (yet). It will eventually, lol. https://dooleylabs.com/thn1pw.png
what is the feature?
It's going to replace @pastel burrow, but also update the bot's status. This was the first bit of the update I'm working on, but more changes have been done since then: https://dooleylabs.com/9ik2fn.png
ahh
When I'm finished, it'll be closer to 10-14k.
6k lines, not that large.
@proper gale this was last night https://dooleylabs.com/yffo8y.png
oh, 6k in one night?
Yes.
im usually working on complex things and debugging, so i dont get a lot of lines done per day
The bot has a web interface, lol.
Two DBs, a web interface, a backend worker for the interface, the actual bot that interfaces with the API, a background worker, and a stats tracker that makes things like !server, !info, and !stats work.
* flex flex *
The language doesn’t matter if you can provide support or add in features if needed. I have more but I don’t want to add it yet
@tropic grail what’s your bot
@fervent orbit
Is it public
Not yet, but the public version will have a few requirements.
Ok DM when available
Would also like to see/contribute when it's made available
It's code won't be public, lol.
womp womp
4.6k changes in one commit? I don't think that's how you're meant to use git...
Should have at least 20k
also helps if you leave no commit message too, while your at it
@ember kiln it was a large one, lol, but it took it pretty well. When I merge with main, I'm expecting like 16k changes.
I'm glad the bot functions at this point, lol.
nah, it should be "fixes"
better yet, make 1 commit a year for 5 years and then put "Years of experience with Github" on your resume to share during interviews
I had a recruiter check my github activity one time
but "activity" includes when stuff is merged
so you look super active
c# is very easy like Java but c++ is a big jump in difficulty without the overhead
Ik im very late @worthy dirge but if u declare the function name and inputs/outputs then a ; then main then write the function just like you’d write it on the top
Its way better when you write 1000 line code
@tropic grail do u have a college degree or did u learn from the internet??
Coding?
@nocturne galleon Yes I will definitely put all declaration in a header file
@nocturne galleon niether. You don't need a college degree to code, either.
The math they make students take for a CS degree is ridiculous
When will I ever need to use Trig math specifically in a program
I guess you'll use it when making games @native shoal
@native shoal Rendering, you will use it in rendering.
Where did u learn to code then? @tropic grail
@worthy dirge i didnt mean put them in a header file , but thats ok , here is an example:
#include <stdio.h>
void testFunc(void);
int main void {
testFunc();
}
void testFunc(void) {
print("hello, world!");}
Anyone know where to look for remote job?
MEN stack
Except from: try udemy or any other freelance and then advance to fulltime remote
Anybody else working with a development team that uses a Kanban board web service like Trello or Smartsheets Cards?
I'm looking for ways we can improve our workflow.
I am specifically interested in:
How you sort your cards, into what columns?
Do you use APIs for Git services to automatically enter cards?
Is there any must haves that we should be aware of?
Is there any tips and tricks for developers or designers individually?
Any advice would be greatly appreciated, I'll look into any suggestions.
@winged obsidian what technology stack are you working with? Azure devops is really good and includes all you need
And it's free for organizations up to 5 people.
@winged obsidian we use "Teamwork" it is free for the most part. In free version you can only open 8 projects.
There is kanban board and you name the columns, time logging and much more. Give it a try
hi guys, need some help with my C program
I want to round my array elements because they need to be ints, not floats
so far I have this:
....shit cant post screenshot because its a virtual machine....
oh and also convert them to q1.14 format which is done by bit-shifting 14 times
this is what I have now
my thought was that I would iterate through the array, first converting to q1.14 format by bit-shifting and then rounding the numbers
(what you should have is discord open in your browser and paste that code over in a code block with tripple ` )
#include <math.h>
int main () { //bit-shift the ints
float array_decimal[16] = {0.785398, 0.463648, 0.244979, 0.124355,0.062419, 0.031240, 0.014624, 0.007812, 0.003906, 0.001953, 0.000977, 0.000488, 0.000244, 0.000122, 0.000061, 0.000031};
int i;
for (i=0; i<16; i++) {
i = i<<14;
printf ("New values are:\t %f\n", array_decimal[i]);
}
return 0;
}```
backticks, not appostrophes
but thanks 😃
so right now you're bit shifting the index and not the actual value?
ohhhhhhh
shit yeah you're right
got confused because we usually use i for the array index
but I still have no idea how I can bit-shift the values?
you get the value and then you bit shift it?
I mean, you are bit shifting, just that you are bit shifting the index. You are also retrieving the value later on in your code, so you seem to have the ingredients?
(I've never had the pleasure of hearing about q1.14 or at least haven't remembered it, but if you want to bit shift, you bit shift...)
array_decimal = array_decimal << 14; doesnt work haha
is that how you read the value at a specific index?
because you got that down in your print call as mentioned...
array_decimal[i] = array_decimal[i] << 14;
~~~~~~~~~~~~~~~~ ^~```
ahhh so apparently you cant bitshift a float
technically you can but you need typecast and other difficult stuff
@supple abyss there is a round function... then just cast to int. https://en.cppreference.com/w/cpp/numeric/math/round
Are there any experienced and actuallt good people at C#
Pls hit me up
I have a test tomorrow
@supple abyss
int n = *(int*)(&array_decimal[i]);
n <<= 14;
array_decimal[i] = *(float*)&n;
this is sketchy tho
not sure why you would want to bit shift floats
@deep scarab yeah you're right. I first converted them to q1.14 and then did the shifting
But thanks!
@glad pagoda feel free to message me anytime
Does anyone else know how to perform precise floating point addition?
For example, the following code:
print(.1 + .2)
Produces the following output:
> 0.30000000000000004
@supple abyss Why not simply *100000
And you output the value as int
And why do you include<math.h>
@mortal owl afaik you can't really compare floats for equality
if (float_1 == float_2) //this will not work
Hmm, that may be true. I'm using Python 3. Should've mentioned that.
I don't thinkn it would work in python either
it's got to do with the way the floats are rounded and stored in memory
You could also do something like this:
(Taken from stackoverflow):
def isclose(a, b, rel_tol=1e-09, abs_tol=0.0):
return abs(a-b) <= max(rel_tol * max(abs(a), abs(b)), abs_tol)
btw this is a standard libary function for python 3.5
Also, i have a question: In C++, how to best check if a string is only decimal numbers and then convert it into an integer?
You first check the ASCII for each character. And then you get each digit, *10for the previous digit following each new digit.
stringstream
std::stringstream ss("123")
int n;
if (!(ss >> n))
{
// ss doesn't contain a valid integer
}
@mortal owl https://docs.python.org/2/library/decimal.html
you tell it what precision you want, and it makes it happen
Ah, thanks, this is what I'm looking for. I'll read up on it tommorrow, thanks.
keeping in mind that math with them can be slower and they use more memory
but they should be as precise as using ints, within the specified precision and rules
Guys pls contact me if u are experienced with C#
I have a test in 1 hour and 15 minutes
gl
@glad pagoda Java count?
I mean java script is almost the same as C#
@worthy dirge because we are doing CPU simulations and the cpu doesn't know how to multiply, hence why we are doing bit shifting and using only ints
nononono, not JS, Java.
@worthy dirge included math.h because I used atan previously to calculate an array
Java is to Javascript as Car is to carpet.
@glad pagoda
anyway, i have experience with Java, so i may be able to help ya.
You are doing CPU simulations and not allowed to use float, then why can you use atan LOL
if you are simulating/emulating a CPU, you should be able to use anything the platform you are on has available.
IE, an add op should be translated to an add op.
not a pile of bitshift BS that mimics that add op.
@worthy dirge no-no I just used it to calculate the array which I then converted to ints and used the indices for calcution. Don't really need math.h now anymore
@proper gale we aren't simulating a modern cpu, we are doing it with x-toy
A very basic 16 bit cpu with 255 memory slots
And it has 16 instructions, which don't include multiplication
ok
ok, i still dont see why you cant use whatever you want host side so long as the result is correct
I can but then we translate the c code to assembler
the so long as the result is correct way of solving problems is what makes everything work as it does now.
no compiler allowed?
We are the compiler
fun fun, just check the link in assembler from a gcc output
this is what it looks like in cmath ``` constexpr float
round(float __x)
{ return __builtin_roundf(__x); }
figure out what its pointing to, and call it.
boom, round function
I came up with an idea to mimic oop in C. Like I need to do a.print instead of print(&a) , all I need is a pointer to itself. I can build a global vtable which stores the variable name and the it's memory address. All the functions first call the vtable to get the pointer
So dumb
so, basically, you are being a C++ compiler?
Yeah
Hate to memorize lots of keywords. It's my third year of CS, and I have learned C++. But I still like to use C
y?
¯_(ツ)_/¯ Maybe I'm dumb
@mortal owl ur problem can also be a memory error,its possible
Guys
Help pls
I have two for loops
How do i compare both
To output it to a textboz
@glad pagoda can you write the loops here(start and end with three backticks`)
I fuckd the test up
😢
@glad pagoda Can write out the code that's causing you trouble? @ me and I can try and look at it later this afternoon.
@mortal owl man u are a bit late 😦 had my test at 9 am
its ok
i'll have a second chance the next time
Lol, i thought inmight try since no one else helped that i can see
the assignment was
output the words in the sentence when they are spelled the same way when you reverse it
so for example
input bob is a nice guy
output bob
because if you reverse bob = bob
get it?
Hmm, yeah i see
but i got lost in class
i had 2 for loops
1 to read the actual sentence and save it up in the string
and 1 does the same thing but it starts reading the sentence from the right
I'm not sure. You could sperate each word as part of an array then compare them to the original (also make it an array.)
ye im not experienced at all
@glad pagoda Honesty, me neither. I'm still learning so this is student to student.
On and off for a few months since im busy.
This link might help but if you haven't learned about arrays yet you're teacher might not like that, sorry
They may not want you to go ahead. If you haven't learned arrays yet
@glad pagoda
hmm
@glad pagoda you would want to split into the words, and then for each word iterate forward and backward at the same time (its much simpler than it sounds) comparing them.
hmm
I am trying to get Chartjs to work and I added the code they provided as test to make it work but i get an error on my console : Uncaught TypeError: Cannot read property 'getContext' of null at index.html:10
And the <script> tag I put is:
<script>
var ctx = document.getElementById('myChart').getContext('2d');
var chart = new Chart(ctx, {
// The type of chart we want to create
type: 'line',
// The data for our dataset
data: {
labels: ['January', 'February', 'March', 'April', 'May', 'June', 'July'],
datasets: [{
label: 'My First dataset',
backgroundColor: 'rgb(255, 99, 132)',
borderColor: 'rgb(255, 99, 132)',
data: [0, 10, 5, 2, 20, 30, 45]
}]
},
// Configuration options go here
options: {}
});
</script>```
line 10 being `var ctx = document.getElementById('myChart').getContext('2d');,` so im not what im doing wrong and im referencing their library from this link: `<script src="https://cdn.jsdelivr.net/npm/chart.js@2.8.0"></script>`
First split individual words, copy each of them into an array A, use a pointer iterate from back and copy each character into a new array B, use strcmp(A,B)
the loops that do the comparison would look something like this, java for(String word : words){ int wordLength = word.length(); boolean wrongFlag = false; for( int i = 0; i < wordLength; i++){ if(word.getCharacter(i) != word.getCharacter(wordLength - i)){ wrongFlag = true; } } if(!wrongFlag){ System.out.println(word); } }
split is a function of the string class afaik
yup, so, java String[] words = input.split(" ");
You can split without a function easily, just check ASCII of a space
yea, but this isn't C, we dont care about the upmost of efficiency.
ill show you how i would do this in C++ if i was doing it.
void stringThing(char* str) {
int currentStartingIndex = 0;
int currentEndingIndex = 0;
do {
if ((str[currentEndingIndex + 1] == ' '
|| str[currentEndingIndex + 1] == 0)
&& currentStartingIndex != currentEndingIndex) {
// ok found a string
for (int i = 0; i < (currentEndingIndex - currentStartingIndex + 1) / 2; ++i) {
if (str[i] != str[currentEndingIndex - i]) {
goto wrong;
}
}
for (int i = currentStartingIndex; i < currentEndingIndex; ++i) {
std::cout << str[i];
}
std::cout << "\n";
wrong:;
}
currentEndingIndex++;
} while (str[currentEndingIndex] != 0);
}```
should work, thats my C++ version
You can actually cut the iteration times of the for loop into half 😋
seeing a goto statement in code is like hearing someone swear for the first time.
(Assembly is full of swearing, or are jumps not gotos?)
jumps (in assembly) are much better than gotos (in C)
but jumping in assembly isn't the same as jumping in C or C++
there's abstraction for a reason
@round dome yes yes, i wrote it in like 2 minutes and didnt even compile it, i doubt it works right.
also, in this case, the goto makes a lot more sense to be than a flag or some shit
best solution for java that i forgot about, is named scope.
Goto should never be used. It is considered bad code and break/continue do the job as easily too.
bool is_palindrome(string s)
{
int len = s.Length;
for (int i = 0; i < len / 2; i++)
{
if (s[i] != s[len - i - 1])
return false;
}
return true;
}
string sentence = "bob is a nice guy";
foreach (string s in sentence.Split(' '))
{
if (is_palindrome(s))
System.Console.WriteLn(s);
}
@glad pagoda @mortal owl @proper gale @worthy dirge
why do you guys make it so complicated
because, dont worry about it
ye but i am not experienced at all
just where the output goes is different
ok hold on
tbh winforms would be much harder when learning
since you have more to mess about with
my teachers say that winforms are better jobwise
well i guess for gui apps
but i doubt you'll be making gui apps this early
best to learn the language first then move onto gui
What language is this
I agree with integral and actually jobwise a logger would be best.
C#
im just a noob trying to figure out
i just started my first semester programming
and i suck hard and i dont want to fail
@deep scarab
alright
No
idk how to @ you integral
@nte then auto complete
alright so you got the idea of what my assignment was right
In c, split a string takes at least some 10 lines
that i have to output every word which is the same when u reverse it
to split a string and print out palindromes?
yeah
because that's the only word which stays the same when you reverse the sentence
this is what i have rn setup with no codes, only design
i'll start writing under btn convert
and im stuck idk what to do
xd
reversing a sentence, is the same as splitting up the sentence into words, reversing the words and concating them
do i start with a loop and save it in a string?
Well you write your own split methode at some point and should just add IT as an include or how i do IT, have a while stringmanipulation package.
And i think my split methode is only 6 lines in C although admittingly unsafe.
it just sounds like your teacher wants you to find palindromes
yeah but you dont have that on windows form
so the only event you need is the OnClick event for the button
doesn't matter
winforms is still c#
in your event make sure the input isn't empty
if it is, show a messagebox and return
strtok(string, delimiter); actually exists too
bare with me man im a noob
bool is_palindrome(string s)
{
int len = s.Length;
for (int i = 0; i < len / 2; i++)
{
if (s[i] != s[len - i - 1])
return false;
}
return true;
}
string sentence = "bob is a nice guy";
foreach (string s in sentence.Split(' '))
{
if (is_palindrome(s))
System.Console.WriteLn(s);
}
else, find the palindromes
that's a function
true/false
but
but yeah
i dont get it
should i not ssave the sentence in a string as soon as the button is pressed
why would you need to?
why not?
so if it's in the textbox it doesnt have to get saved
it's already saved in the textbox
string sentence = textbox.Text;
you could do that if you want
ye i have it called input
input.text
alright
so
so that means
what ever is in the text box rn, is automatically string sentence?
.Text will get whatever's in the textbox
@deep scarab if im annoying your ass jsut tell me
ah ye thanks for that edit
i was confused as fuck
xd
so when the user clicks the button, you want to get the text and output the palindromes
you also want to check that it's not empty
which?
well idk u are the prof man xd
which do you think is right?
i got no clue unless i google
well google
i do know that different variables got different ones
not gonna learn if i tell you
Empty()
or ""
how do i make sure that my string gives a message box saying '' no input '' for example when my string is empty
nvm got it
can someone explain me what this char[] temp thing means
and the chararray?
@glad pagoda C# has a method called string.isnullorempty and isnullorwhitespace
you can also use a regex to validate
a char[] is an array of (I think) unicode characters, it has no wrapper to be a "string"
What do you want to do @glad pagoda?
is this a homework assignment?
the reason I ask is the prof could want you to manually do checks, or they could want you to use the functions built in
in real life you would use one of: a regex, string.isNullOrEmpty, or string.IsNullOrWhitespace
a prof may want you do things like loop over each character and check if they are whitespace
no i have a test that i had to output palindromes but i literally had n oidea how to
so i have to take the test again over two weeks
thats why im trying to figure it out at home
yo how do i build a vr game?
use unity with the VR stuff
@glad pagoda Feel free to pm me (can you do that, I forget) and we can work out the assignment together
it sounds like you are missing some core concepts
yes
unreal and unity both do VR
@glad pagoda what do you need?
Hi guys! I'm studying IT for a year now. Recently I've started using C# for my school project. Comparing it to what I was using previously which was C++ it feels nice. Anyways... I got hyped aaaaand really wanted to code my first mobile game. Can anyone recommend me what environment should I use? I was thinking about xamarin with CocoSharp/Coco2dx. What do you think about using Unity in combo with C#? I would like to learn as much as I can but I also would like to avoid writing the whole engine by myself. I got an idea for my first game and it will be based on well-known "Achtung die curve" game with my modifications. Can you help?
If you are familiar with c# unity is cool but unity is also particular in a particular way
But its likely the best bet
For mobile c# game dev
Other options don't use c#
Or are more code and less game focused like the libraries you mentioned
There are some nice SDL bindings for c# as well if you want to go the graphics library route
And modern SDL is pretty decent on mobile
But it isn't a game engine its just a library
@sleek narwhal C# has its problems, for engines i would say Unity for C# and sense you know C++, Unreal.
no language is perfect, the main fault of C# is also its biggest advantage, its garbage collected.
@sleek narwhal depends on what you consider mobile game development. You are pretty much tied to Xamarin tools to do mobile development in C#. Android uses Java and Kotlin as base languages; iOS uses Objective C and Swift. C# was the main language for Windows Phone 7-10, but obviously that is a dead platform
having a strange problem
i made a screensaver in VS, and it works on my local machine
however when I copy it to a different PC it does not work
you probably didn't do a release build ? (just an idea, never did a visual studio build)
@thin cobalt i mean like https://stackoverflow.com/a/1057896/10385287
already have all of those
so this might help too https://stackoverflow.com/a/15297493/10385287
kotlin is amazing btw
its like if someone took java and said lets make this feel like javascript but be statically typed and have solid syntax and language helpers
and be functional
(it's like someone took java and said "let's make it not java because there's legal issues there" >_>)
well if that was all they tried to do they went well above and beyond
WELL above and beyond
its both functional and avoids being verbose and uses language features to get common patterns out of your way
and some of the best features C# stole from other languages
plus nested functions, data classes, great null operators from C#, etc
and quick and easy lambdas
C# as it stands now has a lot of features bit is a bit verbose. they plan on fixing that
and yea yea "you call that verbose? look at rust?" but yea
jetbrains?
they know like
atleast six languages very well
like well enough to make resharper
with how useful it is it clearly is made by people who actually use it
and they have various IDEs on top which also do a good job with their respective langs
im using CLion right now
and im actually having one hell of an issue, that in no way pertains to CLion
using VK_KHR_display
it works when on tty6 (command line) but not tty2 (Gnome)
oh, idk any vulkin stuff
Just GL then I gave up and got libraries or engines to do things for me
because drivers are quirky and make me hate my life
GL drivers are, VK drivers are not
malloc(1048576 * 128);
why are there magic numbers in malloc?
Gotta allocate a dangling 128gb of memory somehow
oh, that is 128GB
malloc(4294967295)
Because I am confident in my abilities with C++, what would be a good GUI library you would recommend that works cross-platform?
@proper gale Google made Go and Dart, not Kotlin 😃
they are just the primary user of Kotlin
I was calling jetbrains a good company
i still do not understand why 3 Russians made company in Prague, Czech Republic, but oh well 😄
Anyone experienced in Java? hmu plis
@graceful solstice I am
I’m experienced in Java as well
@proper gale how many languages do you know?
can you help me with smth python related?
im tryna use Social Engineering tool but i keep getting this error Metasploit path not found. These payloads will be disabled.
[!] Please configure Metasploit's path in the /etc/setoolkit/set.config file.
i have metaspoit
but i cant configure the path
its a python filt
file
My bet is that setcore.py and set.config are 2 totally different things and that you're supposed to create /etc/setoolkit/set.config yourself if it doesn't exist
Maybe you can find an example config somewhere and work on that
I don't mean to be a dick, but if you can't handle a config file. Maybe you shouldn't be messing with something like metasploit. You can ask other people but they're just going hold your hand all the time, if they even want to do that, and then you still accomplish nothing. I'd advise you to revisit whatever you're doing when you've gotten skilled enough.
.
Uhh can anyone give me a tip for a good site about lambda? (java) that's a thing i don't really understand 😐
Think of a lambda like a mini function inside your function
and that function can be passed around like a variable, for others to execute, without fully knowing what it does
it removes the need for creating like a whole class for one function basically
A lambda expression is a block of code that can be passed around to execute. It is a common feature for some programming languages, such as Lisp, Python, Scala,
does this help? it focuses on "why does java need this?"
lemme know if you want a different sort of explanation and I will try to find it
jUsT uSE fUNctIoN pOiNTerS
java doesnt have em
if they are reading that and curious, the diff would be that lambdas can capture scope and be locally defined in a function so they are more powerful.
You can do things like (syntax is wrong) var PersonNameLength = something(); sortBy(x => person.Name.Length > PersonNameLengthMax)
or whatever
this allows you to write neat functional code too, but im getting ahead of your question, so check the link first
(with great power comes great responsibility though)
a function pointer is a pointer to a specific method, a class is a container with pointers to methods plural
and sure you can have an inner class with one method, but thats not the same as a function pointer
like they can functionally be used the same but anyone who dealt with events in old java will tell you it aint fun
Do you use them in python for anonymous classes too?
Oh yes.
Already first paragraph tells it xd
But they look fairly different compared to java :/
Anybody know a simple solution for running a script in the background on Linux? (Single terminal only, don't want it sitting there stopping me from running other things in the meantime.)
Yeah, I can work with that. Thanks. :P
@feral tide you might also want to use screen or tmux to have "multiple terminals" within your one terminal
anyone ever work with C# In linux? (either mono or .net)
@wheat dock @last ingot use .NET Core for cross platform software (even Linux) in C#
Better yet: Don't use .NET 👀
Haters gonna hate
yea .net core is on linux now
I think sql server is on linux now too?
Microsoft just gave up on selling servers as an OS and decided servers as a service was more profitable
@last ingot
Having issues with Cron..
I know it's running a script, but the script isnt doing everything...
Important lines are:
#typical response httpd not running
apachectl restart >log.txt
Service pihole-FTL start
Now it leaves the typical response log, as I expect, but doesn't restart the Apache service.
And the FTL line doesn't seem to run either. The rest of the script runs fine.
Both lines run if I open a terminal and type them out and hit enter, just not through con.
@last ingot
Cron runs a bash script.
so... i am doing some Python recently, had to use lambda functions but didnt really know what they were (managed to use them successfully, i just didnt know why i needed it), happened across this, makes sense now haha, thanks
tip for newbies py if you dont understand something , learn it as if it is what it is, dont try to understand

@last ingot
ive got the system crontab trying to do it too, same result.
all they're doing is running the bash script which i know is running due to apachectl writing the log.
its just...not doing what its ment to be doing.
if it didnt have permissions, apachectl would error, and output that to the log.
but its giving the same output as if i run it as root, just... not actually restarting.
path to .sh:
/Startup/startup.sh
system crontab line:
@reboot Debian-exim /Startup/startup.sh
bash script imporant lines:
echo "flushing services"
apachectl restart >log.txt
service pihole-FTL start >logFTL.txt
@wary sequoia
random, but.. ideas?
@honest carbon
whats it say in log.txt?
i dont know if it will help, but when i write scripts i put in the exact path of both logs and binaries
i dont think it matters if you run the script manually in your shell, but a cron? idk if it follows PATH or not
i dont have nitro, look at my profile picture
@wary sequoia
The log outputs the expected response "httpd not running, trying to start it."
Same as if I'd had run it.
And Cron logs show it run the bash script, so not much help there.
@feral tide Whats the issue
@last ingot
For some reason it doesn't start correctly the first time. Clashes with lighttpd.
Flushing the service fixes the issue.
@wary sequoia
0
@last ingot
Yeah, but shouldn't matter at that point, hence why flushing works.
A quick question about Google Drive:
It is possible to embed a Gdrive into an html website (via an iframe) - but if the folder contains a subfolder there is a problem:
You would think the subfolder opens up in the iframe again? NAH - it opens in a new tab ...
Any idea how to get an embedded google drive to open it's subfolders in the same iframe again?
Couldn't find a solution online
you can disallow it to open things in a new tab, but that'll probably just lead to it not doing anything at all
Links are already set to open in the same tab - is that what you are talking about?
I'm gonna be honest - I have barely any expierence with html
This would be the example for the embedded google drive
The folder "yikes" would open in a new tab on click (Please ingore the nameing, it's just for testing
)
that <base> is outside the iframe though? Plus, you want google drive to not open links in a new tab?
you can restrict what the iframe can do by having a sandbox attribute: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox
but that will probably just lead to it not opening the folder when clicking on it.
@junior finch you won't be able to do that. Google has various protections
x-frame-options: SAMEORIGIN
x-xss-protection: 1; mode=block
Drive sends those headers
@wary sequoia apache2ctl you mean
dunno, im copying and pasting from his own script
maybe that command works for him
it returned 0, so obviously its doing its job
problem is deeper, like apache itself
gotta check those logs
If you're using iframes you really shouldn't because there's so much shit that exists now in browsers to break them. Can't do a php require/include?
FINDPOOL=$(/usr/bin/tmsh show ltm pool $POOL 2> /dev/null | grep $POOL | awk {'print $2'})
if [[ $POOL != $FINDPOOL ]]; then
echo "WARNING: Name validation on pool $POOL failed! Please modify the POOL setting with a valid pool name.";
exit 1;
fi
POOLMEM=$(tmsh show ltm pool $POOL members 2> /dev/null | grep "Ltm::Pool Member" | awk {'print $4'} | cut -d':' -f1)
elif [[ ! -z $NODE ]]; then
FINDNODE=$(/usr/bin/tmsh show ltm node $NODE 2> /dev/null | grep $NODE | awk {'print $2'})
if [[ $NODE != $FINDNODE ]]; then
echo "WARNING: IP validation for node $NODE failed! Please modify the NODE setting with a valid node IP.";
exit 1;
fi
fi```
i put exit codes in my shit
❤
i got pissed when i was working network ops and made a bash script to run on F5s which take packet captures on its own and stops them during server health failures
took a while to write cause i was a noob
saved so much time later ^_^
you know how it goes.... incident ticket "why is there a failure once every 2 days at a random time. please run network trace"
but like 50% of the script is data validation because i wanted other techs to use it
xD
the nice part is that the script can be way more aggressive in health checking than the production F5 settings
so it would upset the issue and we found it faster
Can uBlock Origin use a wildcard as a subdomain? I want to target a CSS class on all of Reddit except for actual post threads.
Currently my plan is for reddit.com/r/*|$document Basically block the CSS element on all subreddit pages but not on the actual threads.
I would love to block Reddit entirely for productivity purposes but it breaks a ton of web searches. Heck, I had to disable some filters to read stuff about uBlock. Reddit is way too centralized at this point. Way too much word of mouth stuff there.
what's wrong with reddit?
its too liberal
i was told to join this discord for a little bit of c++ help?
for context, it's like basic for loop/while loop/ if statements, i just don't know what's wrong w/ my code
@rancid plover you might list it here and then try on the forum.
ok, i'll try that
Not spez. The bulk of the community
@rancid plover i can help
i got it figure out, but thank you though @proper gale
mmk
Anyone in here right now that is super savvy in Git & Github that could help me out?
Thanks!
So I have this private repo on github where there's a bunch of directories that are git clones from other repos I don't own. I've modified the contents of these git clones and some of them automatically were added as submodules and some weren't (I don't know why, I didn't even really know submodules were a thing, I just wanted to git clone them in, really) so when I push my sort of root repo to github some of these subdirectories (or submodules as they are now) don't actually contain any code. So if I clone my root repo somewhere they'll either be empty (that's what I got when I tried) or contain the current-commit state files of the original repo they came from.
In my repo, I just want all these git clones to be considered basically normal directories.
But it'd also be useful if they were themselves local git-repos that I could maybe merge from their root repos if they were updated.
I hope that makes sense, I'm very tired. Sorry for wall of text.
You'll have to elaborate on that a little bit. Do you mean I should use this when trying to clone my own repo somewhere or use this when cloning these other "submodules" into my own repo?
You would use that when cloning your repo somewhere.
^^ that too but it depends on your version of git. We have an older version at work so i use --recursive
I think I have the latest version of git
Which one should I use?
I just tried both and in both cases I ended up with empty directories for the submodules
I would use --recursive-submodules if you are running the latest
Yeah both methods gave me empty directories :/
I don't even think github bothers to store any of the contents of these folders
In the repo on github they're not links, they're just folders with a "sub-directory" icon, un-clickable
Yeah like I said, I didn't even know submodules were a thing really.
I just had my repo, and in the working folders I just did git clone LINK
And some of those clones are just normal directories
Some of them became submodules automatically somehow
I have no idea what's going on
I probably would have done that if I had known haha
Damn.
What happens though if I make changes in these submodules that I can't really push anywhere because they're not forks of a repo?
I kinda just want my repo to fetch all the files and not care that they're git clone repos and then if I were to actually browse to those git clone repos myself and git fetch or merge something inside of them, my main repo would not care, it'd just treat them as normal files in my repo.
That'd be optimal for me kind of... I think? If that's even possible
So
I've changed them ALL
To some degree at least
And there's quite a few of them at this point so
Ugh
All these clones are modules in a framework that I've changed configs for, added things to etc. Probably over 20 of them
Yeah you're probably right.
Although forks can't be private right?
Is there any way to have .git directories in these subdirs I have and have my repo not recognize them as submodules?
@glad pagoda html or html/css?
Does anyone here by any chance use Node-RED?
"In the last year, How to exit the Vim editor has made up about .005% of question traffic: that is, one out of every 20,000 visits to Stack Overflow questions. That means during peak traffic hours on weekdays, there are about 80 people per hour that need help getting out of Vim."
https://www.humblebundle.com/books/microsoft-and-dot-net-books hm, never did too much with MS languages
might grab this pack
the Xamarin and C# books might be useful
Xamarin is interesting...
As you can see in the image the activities tab on the navbar works fine in firefox, chrome and edge but not IE8 the color that is appearing is #f0f0f0 but i cant find anything that would produce that color inside the code. I was wounding if any of you can help me or lead me in the right direction https://cdn.discordapp.com/attachments/240883828103708683/562447234063532032/unknown.png
ie8 lul
@cursive oyster
No
Even Microsoft doesn't support it.
Join us on April 2 for the launch of Visual Studio 2019. Learn about how Visual Studio 2019 is more productive, modern, and innovative, participate in live Q...
lmao vsc is the more superior product
Github is hard to use'
no
its easy
git clone
git add
git commit
git push
learn those or just use a gui
and a bunch of other things
@nocturne galleon spammy there bud...
Did he get muted by the bot? 
They will be soon enough
Idea development
The heat from PC is moved on a heatsink with ridges like a grill and used for bite size steaks
Developing ideas
Eheheheheheeheheheh
@nocturne galleon you talking mad shit for someone within grilling distance
wait is vs 2019 fully out? or is it still in a pre-release stage?
Fully out, general availability hit yesterday
@proper gale jumps on grill REEEEE
But it still has a preview in the version, am I correct
It fix a ton of intellisence bugs of remote Linux programming
is that a typo?, no i didnt
that to me or?
yes
no, Unigine, the engine used for the Unigine bencharmarks (Heaven, Valley, Superposition)
its the only C++ engine i could find that has an upfront pay model and runs on linux.
@nocturne galleon https://unigine.com/
i was asking if there is anyone with experiance with the engine.
its not commonly use for games, and focuses more on professional applications
though you can use it to make games, and they have. see Oil Rush.
hmm?
that way I can make the icons transparent on hover
and it will show the part under the icon
@proper gale I think I've seen one or two mentions of it on r/gamedev but I don't know anyone who actually uses it - if you want C++, is there a particular reason you don't want to use UE4? That supports Linux
@nocturne galleon he said he wanted an upfront pay model
@chilly oxide yes, you're in it lol
oh ok
So I was thinking of making a program that can create ironically a program for a school. There are about 20-30 courses all of them having standard level and higher level with some exceptions. What I want the program to do is to take the courses the students will have and making a flawless course plan. Like which hour goes each course. How complex is it?
I am looking forward to making this no matter how hard it might be, I just want a challenge
Thats not a simple question to answer
Well simple. I mean @bleak summit is it do able at least
Yeah it's doable, we sent humans to the moon with computers, it's well within the realm of computing technology to write a program that schedules classes
@bleak summit I am a beginner in java, so I dont know if its that easy
well I think if I set my mind to something I can achieve it so I am going to try my best
How "easy" it is is the complicated question
by making a flow chart for starters
also @bleak summit what are some good ides for java because I tried eclipse and I wouldnt say its my favorite
I heard intellij is good but its not free
Unsure, I don't use java
@nocturne galleon yes, 5% royalties on a mostly unrelated product.
i would much rather pay $1000/yr vs (depending on size) $10,000-$40,000 or more per installation. so unigine would be significantly cheaper for me to use.
@chilly oxide it's good, and its free.
which one @proper gale
when I downloaded it it said trial or pay
I am going to try it right now again
you mean the intelij idea one ?
Yes

What you don't get are the Enterprise features
Which, you don't need I for are just starting out
whats the create associations part? it has .java in it
do I press it
found it nevermind
@proper gale it says evaluation is for free for 30 days
Then you downloaded the wrong version
On that page, there are two versions, you want community. https://www.jetbrains.com/idea/download/
That moment when one of your Devs gets a 4k monitor without scaling and pulls your software up
And it's bad
Guess we ain't supporting native 4k yet
Technical debt is contractors who left ten years ago slapping a Gui together with fixed pixel offset code
Tell that to the contractors who left ten years ago lol
anyone here knows how to create a virtual network adapter for an application (so that the application itself has its own IP address)?
Can I complain about JavaScript here? I like complaining about odd JavaScript things.
- 5096
- 31457
- 3796
- 1117
(

