#development
1 messages ยท Page 33 of 1
but i have
font-size: 1.7em;
color: #fff;
text-transform: uppercase;
float: left;
margin: 0;
text-decoration: none;
}```
and it still shows the line under the header
because its in a body tag?
take the footer out of the body tag
<div class="container">
<h1 class="logo>
ok
now the footer is gone, but the decloration is till there
decoration
<h1 class="logo"><a href="{{ url_for('home') }}"><b>Bored Corner</b></a></h1>```
I dont even know.....
ยฏ_(ใ)_/ยฏ
or i could replace it with an image, but the thing is after that theres the footer problem
where the stupid footer wont work with CSS
are you using footer {stuff} or .footer {stuff}?
ok good
but it doesnt want to work with ANYTHING...
also the text padding i was using padding-top and it doesnt do anything
@thin hull i removed the link and heres how its supposed to look
and i add padding and it doesnt move down?
add more?
i went from 10px to 100px and no change
ima try to do it with an image and see how it goes
@thin hull just to make sure the alt is for the alternative text to be displayed if image cant be loaded right?
yes
ok
ok this looks a bit ugly lol
@thin hull fixed but now the buttons wont go up to header
are they in the header?
??
its in the header code
ok... do they have padding on them or something?
nope
.menu {
float: right;
margin-top: 8px;
}
.menu li {
display: inline;
}
.menu li + li {
margin-left: 35px;
}
.menu li a {
color: #444;
text-decoration: none;
}```
idk
are the classes matched?
There isn't a better way to do this.... right?
im already doing something right now, sorry
oh ok
@thin hull i found out, IT DOES WORK. When I edit the css in chrome, but for some reason when I edit in np++ it doesnt save to the file
thats why it wasnt updating
but I still cannot find out why its not updating the file...
did you save?
look
i have been pressing save and NP++ says it has saved
then i check chrome, and it wasnt there
and i decide to paste the same code from NP++ to chrome and IT WORKS.
did you re-open the html page in chrome?
i reloaded it
but for some reason it doesnt want to work with my code
@thin hull i reloaded and it disappeared...
because you edited what it used, not the file....
yeah i saved it again when its not running
still doesnt want to work with it
@thin hull if i exit and reopen the code is still there
ima relaunch everything
yep same problem
the file is saved, but the webpage decides not to follow it
is it included in the html?
yes
and something weird is going on
i moved the file out, relaunched and the css is STILL on the webpage
i moved to my desktop and somehow its still accessing a css file???
@thin hull it seems like theres a Ghost file i cannot see
i renamed the path on the html and it disappeared, renamed it and it reappeared
even though the file does not exist
@thin hull ok it seems im not the only one with this issue, its an issue with FLASK itself
ok then
still dont know how to resolve lol
I don't understand why you're not just coding with mamp or wamp and using livereload
@grand hornet im working with Flask
So basically you're coding directly into chrome devtools
Python import flask and NP++
i can use VS code if you want
@grand hornet do you know why its grabbing the css when it first created not when i update it?
@thin hull FINALLY i found out, i needed to FORCE the refresh by using SHIFT+f5 and it finally shows up!!!
literally 3 hours for this
.....
changed so much code for nothing
i was using f5 and thought it would refresh
but i needed to "force" it
CTRL + F5 not shift
Whatever you're doing, it's wrong. You should have no cache enabled for local environment
Shift f5 worked for me
apparently CTRL f5 also works
ok so i need to force the refresh every time i update my css
๐คฆ
Or disable caching
FINALLY DONE MY FUCKING LIST! now I only need to update it whenever Intel or AMD release a new socket...
also apparently Socket TR4 is also known as Socket SP3r2...
.... apparently since i used indexes... i get IndexOutOfRangeExceptions.... so now i have to go through and change all 57 lines to use Add() instead..... someone shoot me now...
just over half way done....
Finally done... aaand.... thats not right....
right... the value i grab starts at one and my list starts at 0....
@dapper laurel ty
me and a friend are having this debate of what is good code...
i think it's not having thousands of files to make a program work. but having enough so everybody can work on the project without modifying the same files.
he is thinking it's having one class do one thing.
the example is a countdown script. he wants a static class separated from either our model - view - controller classes.
i want it to be included in the controller since it interact with the logics. and also because we are only two working on this project...
what are your thoughts on this ?
@candid mural nobody follows MVC
nobody.
one class does one thing, and all of the thing related to it.
a timer is can make itself, time itself, and looks like a timer, not just one of them.
so you would rather have 30 files for 30 classes ?
c#
30
Don't make a new class unless you actually need one
If you actually read what your code does a lot of the time you will find that you really don't need a class for it
Unless you are using java
But then just don't use java
If you are using any other language don't create a class unless the class is actually going to do something
Most likely there's a better feature in the language to do exactly what you want
For your countdown script example you probably only need 1 class anyway lol
2 at most
Alright, So I am developing a fiverr like platform for a specific community. Freelancers will be primarily developers. I would like a system that allows the clients to pay a couple bucks extra to have a repo created that is hosted internally on my platforms servers. And I would like them to be able to give the developers they hire access to that repo so that when they pay a developer for a product, they can also get manage the source in case they want updates or something later say from another developer. But I would also like it to be easy for the developer to commit to the repo. I also need customizability like automatic branch creation for each developer that gets access to the repo so that the master is never actually touched without the client merging them in an easy interface. The Issue with this is that I cant use enterprise git. as the cost is per seat which would be in theory per developer or per both developer and client. Which I cant charge both clients and developers monthly to cover the costs of that. I know there is alternative repo management systems but I have no experience with any of them. Managers such as Nexus and what not. Does anyone have experience with systems like these and if so can You give advice on what I should use for this project. Appreciated.
well, apparently temperature is a REALLY difficult thing to get, and the people who have done have had to do it based on the ARCHITECTURE OF THE CPU, so... if i want to get the temperature of a CPU in my program..... I have A LOT of code to write.....
yay, the easiest way to do what i want involves changing licenses i think? legal stuff is confusing ๐
welp, I'm putting it to a vote as to what to do now with the project: https://linustechtips.com/main/topic/926094-hardware-detection-project/?do=findComment&comment=11346942
Hi, I'm working on a Hardware detection project I call "HWDetCS" because I'm terrible with names,
ย
I'm working on it as a way to learn more and g...
@thin hull The Mozilla Public Licence V2.0 allows you to modify, distribute,SUBLICENCE, place warranty, and use patent claims disallows the use trademarks and holding them libable for damages, you also must include the copyright and licence, disclose the source licenced under that, and include the origional.
if you use only their unmodified code from Github, you have no licence changes to do irregardless of what one you use.
this site is very nice, https://tldrlegal.com/license/mozilla-public-license-2.0-(mpl-2)
thanks, now I just need to be ABLE to work, my drive failed so I have to deal with that right now, thanks for the help tho!
yea, i had to learn how to read that shit myself.
its a pain, but for the most part, if its on github, you can use it.
Can someone help me with positioning a twitter embed?
its default is on the left
using CSS i tried many things and it wont move....
heres the html
<div class="twitter_widget">
<a class="twitter-timeline" data-width="260" data-height="300" href="https://twitter.com/bored_corner">Tweets by Bored Corner Community Twitter</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
</div>```
heres the CSS
.twitter_widget {
position: fixed;
top: 1px;
right: 1px;
}```
I tried many more but nothing seems to move it...
wait nvm, i just realized i didnt link the HTML file to the CSS
^
-snip-
Anyone know how to add the python path to VSCode?
"python.pythonPath": "C:/.../..." doesn't seem to be working
I did it properly on my desktop, but my desktop is currently unavailable.
@rotund bramble it should just work if python is in your normal terminal path
yo, anyone decent with coding?
you should check out my post and help me over in #tech-support if you are
@waxen sedge if it is related to coding, post it here
I cannot center my text in footer(HTML, CSS)
Everytime I add a margin, it creates a white space under the footer. I have made DIV with a margin bottom so it wont go out, but the div does NOTHING.
The footer is colored, and when I add margin to the list it creates white space under footer
Have you tried using padding instead?
Can anyone tell me why my %localappdata%\Program\Python\Python36\DLLs folder keeps getting deleted?
Idk
Is anyone good with lua or has worked with lua sockets?
thats all i used Lua for, horrid language.
Lua can be really powerful lol
Once you understand the language really well it does actually shine in a lot of ways
Just no one ever gives it a chance unless they are forced to use it
I hate it it's so annoying
Lua tables are so cool when you get used to them
They're very powerful
You can basically put anything in them
Is Floatplane still under development?
yes
I'm interested in how it serves video
do they place the transcoding burden on the creator?
do they try to save on egress by serving smaller resolutions when possible or just serve the same res all the time?
Disregarding the total lack of notoriety, is it at least a technically viable alternative for Youtubers who were completely demonetized or post dangerous or offensive material?
That's kinda the goal
To be a second source of income outside of youtube
But if it's actually not appropriate of course it won't be allowed
Curation is not a bad thing
I think mousetrap mondays was an interesting case. the guy shows dead mice and constantly got flagged
There's nothing about that in youtube's policy
but if you get flagged a lot, youtube is going to find it hard to believe you're not some kind of baddie, like a spammer, pirate, uploading porn, etc
Machine learning is going to reflect the mores of the masses. Curation can do better
but Vidme apparently did not survive their attempt to be a youtube alternative
And I'm suspicous it was that they hosted in a wasteful way
I think floatplane could achieve storage/cpu/egress costs 100th of Youtube's on a per-second-of-original-video basis by supporting fewer platforms, sticking with the best-in-class compression, and putting some of the transcoding burden on creators
Asking creators to transcode their content to AV1 at multiple resolutions is not a crazy idea when your creators are mostly enthusiasts that build powerful computers
Floatplane isn't a youtube alternative
It's to supplement other platforms
Also floatplane transcodes it serverside
It works a lot like youtube
Just with a better bitrate and simpler player
Also costs aren't an issue when the people using the service pay for it
They still are an issue
Not really, the hosting costs won't be outrageous
How often will things be uploaded?
It will be creators who are already established
So not that often
the biggest hosting cost will likely be egress. Aws charges about $0.1/GB
And unless it costs like 5 cents each view for hosting they will be fine
That's probably why they aren't doing 4k, because 1 view would be about a GB
With some limitations though, their current monthly price probably would allow them to break even on hosting
Well that's good news
I'm pretty sure it's not just even but an actual revenue source
I wish them luck really, and I hope they do eventually open up to more creators, and add some better discovery features
yeah, that's a problem isn't it?
No...
probably the only reason I haven't yet tried it
what kinds of videos exactly can you find there? I have no idea
There aren't even thumbnails
Advertise other creators and then popup saying "Just pay for a month of access now to watch the video"
It's not a youtube replacement
It's to supplement other sources
Is that what creators really need?
Also btw there are thumbnails lol
Yes because youtube ad revenue is nothing
If your key audience pay some money per month to have early access then that's a lot of money you wouldn't have had otherwise, or perhaps a few dollars in ad revenue sacrificed at most
Sorry If I'm blind here, I'm new to this community, where in floatplane media can you browse thumbnails, descriptions, or even names of content to decide if you'd like to subscribe?
You don't, because you don't subscribe unless you already know the content creator
No one is going to pay for a month of early access to a content creator they don't know just because the website suggested it to them anyway
Sure, but leaving the discovery completely to other platforms seems strange
Not at all
You have to pay to access a new creators videos
Why would anyone pay for a month based of some thumbnails
mainly the problem I see with YouTube isn't the paltry ad revenue, but the vague, out-of-touch rules, enforced in a shoot-from-the-hip kind of way.
Maybe that's not the problem creators have with it
If that creator wants to make money by using floatplane then that's fine, but they have to actually have a fan base before hand
Would you expect patreon to advertise on creators pages other creators pages?
I've discovered a few creators that way
Well, I'm disappointed floatplane isn't trying to be a youtube alternative.
With self-funding comes the possibility of freedom
Especially if you can drive operational costs very low
It has never tried to be a youtube alternative
That's been made very clear since it was started
I basically want "Youtube Adults" with guns, porn, dangerous chemistry, and offensive politics, where the viewers pay for a slimmed-down operation instead of advertisers
No rules except the laws of the country you're connecting from
One of these days, I hope the market for that is big enough that a company actually does it
with just regular hosting and a suite of apps, not wierd blockchain hosting
ah, so liveleaks
Maybe I should give liveleaks a chance. I always thought it was more clickbait than interesting creators
hey can you share software here
@nocturne galleon I'd guess we can share our development projects here, if that's what you mean. Like links to Github projects and what not, if we need to reference something.
probably because floatplane doesn't want most of what you said
what's the best C ide that isn't bug prone?
@river light heavyweight or lightweight?
would this be where i post my idea for something I wanna make for my loop?
@proper gale anything simple with a debugger
codeblocks keeps bugging out both on linux and windows
never tried it, will try now
let us know how it goes or if you encounter any problems
@hasty sail oh you dont say (look at my status)
Just happens to be basically the same in terms of how you go about using it.
and IntelliJ is the much more commonly used IDE.
@river light Clion is a paid IDE, if you are a student you can get a free licence, like i do.
if you are a student, you can use the free trial while you get a licence.
PS: HS is fine too, i am in HS, just use the manual review method.
I know that they are basically the same, but as you can't use IntelliJ for C, let's not recommend that for C
IIRC few years ago IntelliJ could be used for C aswell
it could
and i was not
i was asking if they could use IDEA, beacuse if so, you can use CLion, if not, you cant.
okay, my bad then
but intellij and clion are quite intuitive to use from my experience
They are
alright, installling clion
well, getting a student account was easy
thought I did need to ask my school to do something
does anyone know if it's possible to remove a quad flat package IC without a hot air station
would like to properly scan this PCB, but this QFP sticks up so much that it won't focus properly
@river light be warned about CLion, it will demolish your CPU.
how bad are we talking about? my laptop is a i7-4720 HQ
i had CLion and my ryzen 7 1700x was just fine, hell even my laptop
my laptops cpu is Intel core i7-6700HQ
I've ran Jetbrain's IDEs on a dual core pentium before, it'll run fine on a laptop
it will work fine
ok
well
when I press the run button and then the run button on the config window nothing happens
am I missing something?
Do I have to download a compiler?
@hasty sail most C++ development environments can be used for C
since a C++ compiler is usually capable of compiling native C code
(For example, Visual Studio can compile C code in a C++ project)
yes, but IntelliJ does not support C++ either AFAIK
I can't run anything for some reason on clion
Does anyone mind testing something for me on an intel system? (trying to figure out if a weird bug is due to being run on an AMD system)
ping me when you reply pls, I wont be checking discord a lot
what kind of intel system?
something running windows, and preferably something recent
What is it you need tested
I'm not doing anything critical atm, just writing an anti cheat and creating a keep alive system but I suck with encryption and don't know how I should implement it
The program itself right now detects info about the systems CPU, for some reason on my AMD system, the L2 Cache speed is being detected as either null or False
Also if anyone knows something about cryptography please help point me towards a solution
Yeah that was you
heres the build, project is so small right now i can just use discord
For my problem I need a way to encrypt and decrypt communications between a client and server
I need a nice implementation I can do in C++
Without any heavy libraries
https://www.youtube.com/watch?v=NmM9HA2MQGI for a more abstract explanation id recommend watching through this
How do we exchange a secret key in the clear? Spoiler: We don't - Dr Mike Pound shows us exactly what happens. Mathematics bit: https://youtu.be/Yjrfm_oRO0w ...
If it's a virus I'm reversing the shit out of it
I know how it works under the hood
And the theory
I kinda want to know an easy implementation so I don't have to write it myself because I kinda need it to actually work
fine by me, its open source anyways
I mean if it's not a virus idc what it's doing enough to find out
And I suck and reversing shit
just tell me what you get for the L2 cache speed
rip, ok, ill look into that
Not with this
I mean in general
It stopped working and your program reminded me
Now I'm sad again
alright, well, thanks for testing that for me!
Program looks cool
thanks
btw some stats change from null to different things like to be filled by oem on and off
what things specifically?
cpu load was one
Now it's not happening
rip
Good luck with that one
I'm hurting just thinking about debugging that
cpu load updates twice a second based on a WMI property.... why the fuck would it be "to be filled by oem" ? I know some things do that but load? wtf....
There was null, null%, large number%, To be filled by oem
All in load percentage
Oh and cpu base clock did it
Those 2
im gonna have to put a check for that stuff...
I think you can find 2 of the bugs for load
Since it had both null and null%
One is the string as null and one is a null number cast successfully
this is all it does to do that
And for base clock it had different numbers
That's it
The array was corrupting
Out of bounds memory
ok....
Yeah good luck finding out why but your array was incomplete
Something error'd in the assignment of the values and it all broke
its actually a list, im using a list since I didnt want to deal with having to pre-define all the elements of an array, AND the max size
That makes even more sense
The list is shorter than 26 but bigger than 17
How big is the list normally?
that purple text on grey background is bloody impossible to read
52.... or something around there
the text color is either dodger blue or whatever your windows 10 accent color is
Oh btw I am half asleep I did the maths wrong, you only have 27 to 18 errors
and the best part is, this is the C# version.... im still planning to do the same thing in C++....
So 18 to 27 errors occurred while assigning items to the list
That's some bug
hahaha
๐ซ
I'm having trouble repeating it again too
I repeated it twice
It happened and then I closed and reopened it
Twice it happened but not once since
Now I feel better about what I'm writing atm xd
skyrim is looking really good rn....
node gyp you mean
does anyone here have experience with compression? i've got a zstandard compressed file that i've decompressed, but it's a large (3.6GB decomp) package of game assets
how can i split this large package up into individual files?
there's also a 514KB "manifest" file
how on earth does this compile?
why shouldn't it?
thought you couldn't just have a million semicolons just hanging there like that
oh
@proper gale I think I did
since I had to install a compiler for codeblocks
but doesn't jetbrain apps come with inbuilt compilers?
@river light what OS are you on?
I need some help with C++, I'm creating a function signature for a function that has optional parameters, it won't work and when I don't have the optional parameter on the function call I get a stack overflow
@proper gale maybe you know?
Post the code
the part in question
The whole thing is far too large to post and I don't really want to anyway
typedef NTSTATUS(NTAPI *pNtReadVirtualMemory)(HANDLE, PVOID, PVOID, ULONG, PULONG);
NTSTATUS NTAPI MyNtReadVirtualMemory(HANDLE pHandle, PVOID baseAddr, PVOID buffer, ULONG bytesToRead, PULONG bytesRead)
{
//MessageBoxA(NULL, "Read Detected", "FAC", MB_OK);
_NtReadVirtualMemory.reset();
NTSTATUS retVal = NtReadVirtualMemory(pHandle, baseAddr, buffer, bytesToRead, bytesRead);
_NtReadVirtualMemory.reHook();
return retVal;
}
this is a callback or?
For a hook
so a normal function with optional, you just have void func(int param = -1)
i dont see any default params here.
default/optional.
so bytesRead is optional?
check if nullptr, if so, ignore it.
you should be using bytesToRead as bound
I'm passing all of those through to the actual function
I have nothing to do with them
But I can't ignore it
If I don't have it I can't call NtReadVirtualMemory
So the library is broken?
No, I am using a function pointer for it
pNtReadVirtualMemory NtReadVirtualMemory;
NtReadVirtualMemory = (pNtReadVirtualMemory)GetProcAddress(module, "NtReadVirtualMemory");
How does it break then?
When something else calls NtReadVirtualMemory in the process it stack overflows at my function
When it doesn't have the optional param
Which I assume is because my function doesn't have it optional, but I can't call the function without a param since I use a function signature
If I just give it NULL I get a stack overflow in the function I hooked
I can just make a second function signature without it I think, but I really don't want to do that because I'll have to do it a lot
@proper gale windows 8.1
Maybe my error is somewhere else
stack overflow or seg fault?
Yep
I think it's to do with the extra param
Because I'm testing now and some weird shit happens
wait what
It's stack overflowing on VirtualProtect
But if I put a MessageBox before it the error doesn't happen
Or at least isn't reported
wtf???
okay wtf I somehow fixed that by commenting out VirtualProtect
But how the fuck does VirtualProtect cause a SO????????
Now I'm getting access violation
I assume this error is because of the problem with function signatures
I think I might have an idea what is happening
@river light download mingw-w64
I can get you a link in a minute
I recommend the posix seh version
wait I think I already have mingw installed when I had codeblocks
yeah, I have mingw
Should work
USE Northwnd
GO
SELECT Orders.OrderID AS Ordernr, Categories.CategoryName AS Kategori, Products.ProductName AS Produkt, Products.UnitsInStock AS 'Pรฅ Lager', [Order Details].UnitPrice AS Pris, [Order Details].Quantity AS Antal, convert(varchar(10), Orders.OrderDate, 110) AS Dato
FROM dbo.Orders
INNER JOIN dbo.[Order Details]
ON [Order Details].OrderID = Orders.OrderID
INNER JOIN dbo.Products
ON Products.ProductID = [Order Details].ProductID
INNER JOIN dbo.Categories
ON Categories.CategoryID = Products.CategoryID
WHERE Categories.CategoryName = 'Seafood' AND Products.UnitsInStock > 0 AND Orders.OrderDate >= '1996-10-1' AND Orders.OrderDate <= '1996-10-31' ORDER BY Orders.OrderDate
Our teacher said this was the hardest assignment he had....
that doesn't look like a good query.
Nope
It is really bad
But he got mad when i told him it would be better to do it other ways
too many joins
His reasoning for not listening to me was he had more experience with production databases
But yeah, it's a lot of joins for very little data
I probably have more experience with production databases.
At least your joining on indexed fields so whatevs.
You are properly more clever, but i'm sure he has more years with it xD
He is 66
And worked with databases for 19 years :3
And was a teacher in it for the rest of the years
psh
But as i said, the chance that you could do it better is pretty big
The cool thing about programming is that when you're wrong, it's easy to show how.
In this episode, Robert is joined by Justin Clareburt, who shows us several Visual Studio extensions that he has written, including: - Hot Commands [T01:40],...
anyone see the live share beta video? i think it looks pretty cool, the presenters dont look nearly as cool tho
@proper saddle is one resharper?
whats wrong with my code
Private Sub cboTeamSelection_Change()
If usr.Results.cboTeamSelection.Value = ("Broncos") Then
UsrResults.BackColor = RGB(153, 0, 51)
UsrResults.lblTeam.BackColor = RGB(255, 192, 0)
ElseIf usr.Results.cboTeamSelection.Value = ("Cowboys") Then
UsrResults.BackColor = RGB(153, 0, 51)
UsrResults.lblTeam.BackColor = RGB(255, 192, 0)
ElseIf usr.Results.cboTeamSelection.Value = ("Titans") Then
UsrResults.BackColor = RGB(153, 0, 51)
UsrResults.lblTeam.BackColor = RGB(255, 192, 0)
ElseIf usr.Results.cboTeamSelection.Value = ("Cutters") Then
UsrResults.BackColor = RGB(153, 0, 51)
UsrResults.lblTeam.BackColor = RGB(255, 192, 0)
End If
End Sub
It's not in a code bracket:
Private Sub cboTeamSelection_Change()
If usr.Results.cboTeamSelection.Value = ("Broncos") Then
UsrResults.BackColor = RGB(153, 0, 51)
UsrResults.lblTeam.BackColor = RGB(255, 192, 0)
ElseIf usr.Results.cboTeamSelection.Value = ("Cowboys") Then
UsrResults.BackColor = RGB(153, 0, 51)
UsrResults.lblTeam.BackColor = RGB(255, 192, 0)
ElseIf usr.Results.cboTeamSelection.Value = ("Titans") Then
UsrResults.BackColor = RGB(153, 0, 51)
UsrResults.lblTeam.BackColor = RGB(255, 192, 0)
ElseIf usr.Results.cboTeamSelection.Value = ("Cutters") Then
UsrResults.BackColor = RGB(153, 0, 51)
UsrResults.lblTeam.BackColor = RGB(255, 192, 0)
End If
End Sub
still doesn't work and when debugging, the second line highlights in yellow. BTW in excel
@tropic grail
No, I posted your code in a bracket, so I could read it.
usr.Results vs UsrResults perhaps.
Thank you @tropic grail works now ๐
๐
is it possible to MITM TLSv1.2 like Fiddler does with HTTPS?
trying to read some packets from a game
wireshark?
It's possible to MITM anything. Ask NSA.
lol
you gotta get something like mitm proxy and a custom ca that you trust with a wildcard certificate on your target.
it's easy enough to do really if you know what you're doing.
which i don't ๐ ๐
๐ค
@tropic grail how do you insert code in bracket on Discord? (Tag me if you reply)
Funny joke in the example filter in GitKraken's Glo feature :
Thank you @Sacrieur#8297
^
AFTC.JS Version 1.6.21 released! (42kb)
Every function/class has taken a review and many have had a minor update. Some of the major components such as AFTC.Audio and AFTC.Color have had a major revamp. And not to mention each and every function and component now has a codepen example.
github: https://github.com/DarceyLloyd/AFTC.js
npm: https://www.npmjs.com/package/aftc.js
codepen: https://codepen.io/AllForTheCode/pens/public/?grid_type=list
Code on...
Interesting
I'm not sure if a deal will happen but honestly it wouldn't effect me in any negative way at all
But I can definitely see why some people wouldn't like the move
Yeah, I'm using Microsoft products when developing anyway. :p
I'm not using MS products at all but I'm not against this one. If it was Google or Apple then I'd hate it, but MS doesn't seem to be overrun with PC culture and doesn't continually try to shove platforms together (F*ing FireBase I hate you) and then just give up on them (Hangouts...?)
Honestly when GH suggested I add a CoC to a new project I was about to stop using it right then and there. They seem to have cut that out but still left a bad taste.
you dont like that they suggested it?
i think suggestions are fine, its when they force you to thats a problem.
I just use git command line
for (auto lib : librariesToLoad) {
auto handle = Internal::loadLibrary(lib.root_path().c_str());
Internal::implLibraries.emplace_back(handle);
auto loadFunc = Internal::getFuncAddress(handle, Internal::CecilFunctionLoaderSignature);
auto func = Platform::LoadFunc(loadFunc);
typedef void(* InitFunc)();
auto initFunc = InitFunc(func(handle, IMPL::INIT));
initFunc();
typedef std::vector<void*>(*AvailablePlatforms)();
auto avalablePlatforms = AvailablePlatforms(func(handle, IMPL::AVAILABLE_PLATFORMS));
auto platforms = avalablePlatforms();
for(auto platform : platforms){
auto cecilPlatform = new Platform(handle, func);
cecilPlatform->platformHandle = platform;
Internal::platforms.emplace_back(cecilPlatform);
}
}```
@nocturne galleon this is actual machine lang, x86 mov 0x108(%rsp),%rcx ! 0x00007f7f1d21ee97 xor %fs:0x28,%rcx ! 0x00007f7f1d21ee9f mov %r8d,%eax ! 0x00007f7f1d21eea8 jne 0x7f7f1d21eecc # <__GI_raise+252> ! 0x00007f7f1d21eeab add $0x118,%rsp ! 0x00007f7f1d21eead retq ! 0x00007f7f1d21eeb4 nopl (%rax) ! 0x00007f7f1d21eeb5 mov 0x3abfa9(%rip),%rdx # 0x7f7f1d5cae68 ! 0x00007f7f1d21eeb8 neg %eax ! 0x00007f7f1d21eebf mov $0xffffffff,%r8d ! 0x00007f7f1d21eec1 mov %eax,%fs:(%rdx) ! 0x00007f7f1d21eec7 jmp 0x7f7f1d21ee80 # <__GI_raise+176> ! 0x00007f7f1d21eeca callq 0x7f7f1d314c80 # <__stack_chk_fail> ! 0x00007f7f1d21eecc nopw %cs:0x0(%rax,%rax,1) ! 0x00007f7f1d21eed1 nopl 0x0(%rax,%rax,1) ! 0x00007f7f1d21eedb test %edi,%edi ! 0x00007f7f1d21eee0 js 0x7f7f1d21eef0 # <killpg+16> ! 0x00007f7f1d21eee2
whoaw, a programming channel
Im making a git server on my raspberry pi. What is the safest way to allow others to connect to the server? Right now I create separate user accounts and give each of them direct symbolic links to the repositories they should have access to which are all stored within one directory that only I have access to. Additionally, all users are restricted to git shell only.
I grant and deny user access through shellscripts
Grant:
#allow user org
#creates a symlink in the users home dir
chmod 770 /var/git/$2
cd /var/git/
setfacl -R -m u:$1:rXw $2
setfacl -R -m d:u:$1:rXw $2
setfacl -m u:$1:rX .
cd /home/gitUsers/$1
ln -s /var/git/$2 $2
Deny:
#remove access privledges to org for user
#denyUser user org
cd /var/git
setfacl -R -m u:$1:000 $2
setfacl -R -m d:u:$1:000 $2
setfacl -m u:$1:000 .
Is this a secure way to do this? will it prevent people from accessing repositories i don't give them access to? Is there anything else i should be worried about?
@timber violet I would recommend using gitlab, it has a arm package for debian (not Ubuntu)
yeah gitlab is fantastic
gitlab is great
I had some issues setting it up from the terminal, but I went through their website's setup process and it works great now
FreeCodeCamp.org updated their curriculum!
I'm probably going to be doing that for the entire week. :v
@proper saddle that last episode of Steins;Gate 0, ...
No spoilers. I've not started it yet.
i spoiled nothing.
You spoiled that it exists already.
if you have watched it, you will know exactly what im talking about, if not, you wont know until you get to that episode.
wut?
I was completely unaware that it already started.
...
I know it was delayed like forever.
So I got busy, abandoned the anime genre, and completely forgot about it.

Um... I can't unsee this ad...
what ad?
"18+ **** sent straight from Japan with total privacy"...
Got it for you. Can't leave download links to copyrighted content laying around and all.
its not a download link though.
its a link to a site with torrent links.
and nyaa.si is that aswell.
piracy, shmiracy.
ยฏ_(ใ)_/ยฏ
ยฏ_(ใ)_/ยฏ
generally is best-practice to use a different case style for const variables.
For anyone who wants to move from Github to Gitlab, this was a video I was recommended, now that MS is actually buying out Github
https://www.youtube.com/watch?v=VYOXuOg9tQI&ab_channel=GitLab
Migrate from GitHub to GitLab In this video, we look at the process for migrating projects from GitHub to GitLab. For more information and detailed instructi...
Gitlab > Github
GH has the advantage of having a bit of an SNS feel to it and it's an incredible concentration of projects, so for OSS stuff it's still superior to GL, but then again SourceForge is really coming back with their rework. I already have a GL server for our private stuff, but I could see switching to SourceForge from GitHub for our public/OSS stuff if GH goes down hill.
as far as functionality and lack of hipster BS I agree completely with @tropic grail that GL > GH. GL has gone from klunky to polished in the last ~4 years I've been maintaining an installation
Gitlab was bad, but it's really cleaned up.
I wouldn't say bad, but it was a f*ing mess
installation used to be crazy
and updating
CSS used to break all the time.
I remember this one time I didn't update for like 6 months because we had a project and I didn't want down time and they ended up updating a full major version some time between then (7 to 8?) and it took me like 2 days to finish updating
CSS breaking is the asset cache
and that was probably becuase of how they had you lock the git repository (which makes parts of it write protected) and the fact that Sprockets was (and still is...) garbage
Rails moved from Sprockets to WebPacker between Rails 4 and 5 and honestly WebPacker makes a lot more sense as long as you don't need strangely specific asset compilation chains
TBH, I don't really have a good excuse to switch to Gitlab because I mainly use .Net
I know, but the main reason people are switching is because of Micro$oft
they haven't even bought it yet...
I think it would have more to do with people just not liking MS, but honestly at this point even though I don't use any MS stuff and haven't for well more than a decade I think they have a much more sane corporate culture and way better quality control than Google or Apple
@proper saddle whoah you were dead on: https://www.bloomberg.com/news/articles/2018-06-03/microsoft-is-said-to-have-agreed-to-acquire-coding-site-github
Their developer stuff is great.
Yeah as much as I hate visual studio for a giant ass list of reasons a lot of their developer support is really nice
Like I could rant for hours and hours about visual studio
I am only just holding off the urge to do that right now because I know people don't want the channel flooded with a thousand messages
Alright alright, but look what they did with xamarin
it's not the same category
They clearly have a different department dealing with developer stuff since it's way different quality.
I don't know who is working on Skype, like interns or something I guess.
plus if they tank it then gitlab gets popular so whatever, it's not like we have to wait four years for the discord equivalent to come out.
There's also Bitbucket
gitlab is better
huh
@graceful silo That's how all services work. You've never seen a Terms and Conditions agreement or a Privacy Policy?
Look at the screenshot again.
what about it?
about contacting support?
that's to remove details of an existing account
They showed it with an accept button, which I clicked, then showed it again without an accept button ๐
it's like some sort of test
it's not an A/B test it's an A/-A test
"Will the user both accept AND decline!?"
Gitlab can't collect on a local install.
anyone have experience MITMing WebSocket Secure (wss://) connections?
it's essentially websockets over ssl
it's piss easy to MITM HTTPS with Fiddler, but this is a desktop application using WSS
Wireshark is probably the easiest option
Maybe once I get my server up and running I'll set up local GitLab, but for now ยฏ_(ใ)_/ยฏ
Not like I use git much if at all, at least not yet
@main wyvern i most definitely use a self hosted Gitlab,
It's my school's box.
O:
im going to post this here because i dont really know where to ask this question. so windows is popular because they have all the applications right?
why couldnt another company make an os specifically that runs windows applications?
like design a new os around being able to run at least some windows applications?
@jovial cobalt 1st, then its windows. 2nd, copyright laws.
wine is a thing: https://www.winehq.org/
Open Source Software for running Windows applications on other operating systems.
You could 100% create a version of linux that runs windows applications
You'd have to break a lot of copyright laws, get sued for 10s or 100s of millions and spend thousands or 10s of thousands of hours integrating the binaries you stole with linux
lmao
You would have to steal the binaries
It's simply not possible with our technology to reverse windows to the point that you could rewrite it
No matter how many billions you throw at it you'd need to do a lot before you even started on the project
My point exactly
reactos can run quite a lot
Both of them are no where near
also, it's clean-room
Sure win32 might be easy to implement
But anything further is going to be a giant time and money sink
Maybe even you get ntdll down to a degree
Except they won't have all of ntdll working
i think you're misunderstanding the point of reactos
You've given that as an example of reverse engineering windows to allow things to work on other os?
That's no where near what you'd even start to need
if you want an example of reverse engineering to work on another OS, look at WINE
wine is really fucking far along nowadays
Both are no where near
wtf do you mean?
At most they have like 80% of the front facing apis
I bet you I can pick a program I made right now and it won't work
shit like Overwatch runs without patches
I don't think you get it
That stuff is only a tiny drop in what full windows functionality would mean
i think you're being deliberately obtuse and trying to imply that a lack of obscure features means an entire project is useless
wine and co are targeting full functionality
wtf is the point of them just stopping now
especially when so much runs in WINE already
The fact that you're thinking of features means you have no clue
you're boneheaded as fuck mate
if you randomly pick an application that utilizes something brought in by the very latest windows build, then no it probably won't work
but that's just cherry picking
and changes literally nothing
the project is still incredibly useful and far along for what its targeting
Again, not about features
then wtf are you even talking about dude
wine and reactos are not clones
they never were
they don't have to be spot-on
in fact that'd be infringement
If I try and manipulate windows in a certain way will it behave the same? If not half the shit I'm making will break instantly
the fuck even is your point here
that wine and reactos are pointless projects or smth?
That they are no where near full compatibility and never will be
Which is what the original question was
far along in terms of running modern applications
you have to be running some weird as fuck bleeding edge shit for it to not work in a modern WINE version
and even then, why not just contribute and help fix it
Again, shut up about features lmao
wtf are you talking about then
it's a fucking reimplementation
it's supposed to run the programs in a similar environment
not a 1-1 byte for byte clone
If you think windows is just a bunch of apis you have serious issues
if it runs the programs properly
wine has succeeded
that's what its for
it's not supposed to run them in a perfectly simulated environment
A lot of programs require manipulating different os functionality like anti cheat, anti virus, debugging, modding, cheating, malware, etc...
wine is not an emulator
I don't give a fuck about what wine does
then you're a fucking dumbass who can't spent two seconds to actually figure out what wine's project goals are
same with reactos
I'm saying that it isn't close to emulating windows
it's not an emulator
neither are emulators
never has their goal been to emulate windows
i'm using it as an example of something that is explicitly not emulation
That discussion won't end well
wine has never tried to emulate windows and it won't
because thats not what the project is about
Then it's completely irrelevant to the question
it's just to run the damn programs properly
Why the fuck are you using it as an example when it has no relevance
They don't???
If there are applications that won't run then they don't run windows applications
And to get them to run would require a far larger amount of effort than it has taken to get those projects this far
They do run Windows applications, just not all of them, like a older (or newer, for some specific cases) version of Windows would.
"If there are applications that won't run then they don't run windows applications"
hahaha fucking hot take my man
windows 7 not running windows 10-specific applications?
clearly not windows
...
But then, MS is working hard to redirect their developers to C# and .NET framework that is multiplatform. So developers could easily port their apps on multiples platforms.
If you advertise as running windows applications and a windows application doesn't run you'd be able to be sued
wine and reactos are zero-liability
they call that a license and a eula my man
finna sue microsoft because windows xp wont run my windows 7 drivers
I don't care about wine and reactos because they do something completely different
?
Lat time I tried to run league with wine it wouldn't render.
It would in single player vs ai
Wine just isn't a good replacement.
I also spent 2 hours getting my headphones audio to work so that's a thing.
I don't quite get ReactOS.
What's wrong with Linux?
So much developer effort wasted when the Linux kernel does it for you.
Emulation can be good. Just look at stuff like console emulators. Eventually they reach the point where every game is compatible. It's just a lot of time and effort to get there.
As for games idk people just need to make them for Linux because the compute requirements don't lend itself to emulation well.
Which people aren't inclined to do since it's a small market. It's held back by the configuration headache Linux has for average users.
@cyan niche ...the Linux kernel doesn't run win32 applications..?
also, ReactOS is just sorta one of those things that "exists because it does" yaknow
maybe someone thought it would be a neat little thing to try work on with the idea of "well hey, even if i get nowhere, it's learning experience", then it just sorta snowballed
...like linux lol
idk, i think it's a net positive
wine benefits from reactos and vice versa
plus it's always good to have legal reverse engineering and documentation of proprietary software happening
It would be neat if that were baked into the kernel :p
Windows is doing that with Linux.
It's like a system on top of it
first off, Linux is open source
second, WSL is a specially integrated Virtual machine on top of windows.
In Javascript, I'd like to do something once a boolean check is true. If it isn't, then I'd like it to try again. Something like..
when(function() { return global !== undefined; }, function() { alert('global is there!'); });
Is this available already or do I need to write something? It'd basically be a setTimeout when the check is false...
I've read a bit about promises but that seems to be for async stuff, not for retrying a check until it's true.
Yeah, exactly what I was thinking about.
But since someone made freaking leftPad, I figured someone might've done this already and there was a standard way that all the js gurus did it..
while (!function()) { return global != nullptr; }
if i am not mistaken as to what you wanted.
A while loop sounds horribly inefficient.
im thinking async or semi-async here.
wait, no, that would break horridly
you want to call a function, check return, and if it was true, do something, else, call again?
I'm thinking more like
function when(check, action) {
if( !check() ) {
setTimeout(function() { when( check, action); }, 500);
return;
}
action();
}
yeah, exactly roguelogix.
But I feel that there should be a better way of doing it than my code there.
while (true) {
if(function()){
// do thing
} else {
// timeout
}
}```
In this specific case, I want to make sure that some script from google tag manager have run and created their globals before calling them from server generated js code.
@proper gale Won't that block?
yes
I don't want to block the entire page until the checks are true.
1 at a time though...
As I said about my code, there should be a better way of doing it.
i thinking about C++, so, ignore me.
๐
c++ blocking is fine if another thread or that function is doing the work.
Yeah, but JS is single threaded so if I block then the page will stop responding and everything will grind to a halt.
fantastic
What I want to do is not block but still do the check and execute once it succeeds.
And again, considering someone wrote a library for padding a string that kind of crashed the whole world, this should've been done 2 million times already, and probably by smarter people than me.
cant use callbacks?
what event would I listen for?
I mean the tag might run and complete before the script is actually loaded and executed.
So I need to check that the script has actually run, and I have no control over that script.
I could take my code above and call an event when the check succeeds, but that'll give me pretty much the same result.
I don't control the other script.
And I know too little about promises.
Hmm. Yeah I could modify the tags in gym to issue a loaded event when they're done.
Gym = gtm
Done, tested, deployed.
Ended up with:
function when(condition, action, interval) {
if (interval === undefined)
interval = 100;
if (!condition()) {
setTimeout(function () { when(condition, action, interval); }, interval);
return;
}
action();
}
Simple but it works.
when(function() { return typeof(ga) !== 'undefined';}, function() { ga('ecommerce:addTransaction', โฆ
Anyone know about Raid array and veracrypt compatibility?
o:
Help guys vs went oof I created a Windows form in an empty CLR Visual C++ project
Why doesn't my css fontsize change my the size of my text
<div class="instagram">
<a href="https://www.youtube.com/embed/videoseries?list=PLwGSEkTLkQ0O0BDcAwEehMb1f2ed1mh3t">INSTAGRAM</a>
</div>
.instagram {
padding:0;
margin:0;
position:relative;
left:50%;
top:50%;
transform:translate(-50%,0);
width:100px;
text-align:center;
animation:instagramp 4s;
font-family: 'Open Sans', sans-serif;
font-style: italic
font-size:xx-large;
please @ me
@nocturne galleon try an actual number.
with like the px?
cuz on w3 it says u can only use a word size or like 15px
i trried both and it doesnt change
@nocturne galleon try inspecting it and see if it has applied the attribute
Could just be error-ing out
^
its always the damn semicolons
Sweet bro thanks. I was on mobile this whole time and didnt recognize it. Thanks guy!!
@main wyvern use a linter and it will add them for you ๐
@hallow siren
why not set a default in the args?
function when(condition, action, interval= 100) {
if (!condition()) {
setTimeout(function () { when(condition, action, interval); }, interval);
return;
}
action();
}
(might as well use arrow functions then. So I assume the reason is backward compat...)
@tropic sapphire The honest answer is that I didn't use a default value in the function definition because my javascript fu is weak and I had no idea it was supported. ๐
@hallow siren fair enough, not sure how long thats actually been in JS though. I know it is support is es6 as thats what I use at work.
yeah, it's rather new-ish (from a web perspective), see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Default_parameters#Browser_compatibility
and the || thing is essentially the old way of doing it before default params are supported.
hey
var endCount = 10;
function first(){
if(endCount > loopCount){
document.write("Loop Cycle Running");
second();
}else{
document.write("Loop Cycle Complete");
}
}
function second(){
loopCount = loopCount + 1
first();
}```
Feels like you're overcomplicating stuff @nocturne galleon . No reason for recursion here.
@nocturne galleon how about this?
for(int i = 0; i < 10; i++){
std::cout << "Loop Running" << std::endl;
}
std::cout << "Loop Done" << std::endl;```
Is Assembly help allowed in here?
Yes
The code Assembly
yeah but you may find better help in the coding den
Has a lot more people with assembly knowledge
I have a question, I have a static video in a server, and that video is protected by a parameter ( if php doesn't validate the parameter, it doesn't show the file ), how do I do that in nginx ?
It is like a generated url that is valid for X time ( ip based )
No, we don't allow inferior languages >:(
@ionic hull I'm sure there's some documentation online somewhere, but PHP is the same no matter what backend you use.
@tropic grail php isn't the problem here. I need to know how to configure nginx to serve static content if hash in parameter is good
And I can't serve it over with php because files can be 1gb
Or more
Hmm.
Personal Home Page Hates Programmers
@ionic hull what you're looking for is internal redirects
see X-Accel-Redirect
basically, you set up an static url to the file that can only be accesed by an appropriate redirection which can only be sent by the server itself
not the browser
so the php (or whatever language) process the video file url, verifies the permissions and then "internally redirects" to the real file
then nginx takes over and php is free to serve more people
@small escarp @dapper laurel thanks!
document.write("I am the first <br />");
doSecond();
}
function doSecond(){
document.write("I am the next <br />");
doFirst();
}
doFirst();``` this script killed my computer for like 20 seconds lol
yea, infinite recursion until you hit stack overflow, ofc it would...
get better pc
get quantum pc that can compute faster than light so that it can kill your computer faster
if you just want to lock the CPU at 100% you can do it node with
const cluster = require('cluster');
if (cluster.isMaster) {
const numWorkers = require('os').cpus().length;
for (let i = 0; i < numWorkers; i++) {
cluster.fork();
}
cluster.on('exit', (worker, code, signal) => {
console.log(`worker ${worker.id} finished`)
});
} else {
console.log('child started')
while(true){
for(let i = 0; i < 10**10; i++){
c = Math.sqrt((i**2)+(i**2))
}
}
}```
If I wanted to do that, I'd just fold protein. :v
@proper saddle that's true. Doesn't something good with that cpu time.
I used to do it on my work laptop over nights and the week end. Just I reinstalled my Linux. I'll have to set it back up
Is there a free version of VMWare, or are they all trials?
@tropic sapphire or, you can just run a specific bash command
has someone with RTC(real time connection) Servers and remote codding experience
im going to write a programm like teamviewer but with no gui on the slave side...
be me
coding in css
use () but doesnt realize it
wondering why code isnt working
check attributes and semi colons and checks out
div tag checks out
fucking realize it
i wasnt using the correct type of parenthesis
@sick willow ssh?
@small escarp whats with ssh
thats totally diffrent
and i dont want any port forwarding at the slave side
double ping, nice!
i believe that nomachine has this functionality.
id just want no gui at the slave and the slave passwords ar automaticly going to get listet in my db
i believe nomachine enterprise has the functionality you are looking for.
Man I should learn web development sometime.
@cyan niche or you could save yourself the pain and not.
@cyan niche Sajavscript is great I use node at work for all our servers and serverless apis.
The hardest thing I found about learning JavaScript is it's asynchronous.
Learn promises.
I live in the world of async.
but it's like I primarily use statically typed languages and not a very liberal use of callback functions
I've edited javascript before but it's like a whole new world.
@cyan niche at work I use a functional style in JavaScript, if you're interested look into rambda module.
I was actually looking into dart2 given my background :p
@cyan niche looks like python with types
I love python :3
Same, sad I had to stop when I got my job 9 months ago, they use nodeJs.
I do miss python.
@tropic sapphire I use a shitty proprietary language, so I'm always thrilled about using python
using discord.js is it possible to read the description of a rich text presence?
@mystic steeple
someone dev in SAS ?
The next Elder Scrolls is ES VI. It is all written in JavaScript.
And php for the transactions
I wonder when someone will get what I did
@compact wraith the joke about the ECMAScript 6 ? i did get it
just a note, last 3 hours of the pocket primer humble book bundle
Hi all
I'm experiencing an issue with Powershell passing trailing spaces within arguments and I'm quite restricted on what I can do due to contractual agreements. Is there a way to resolve this?
Input:
Powershell Start-Process 'C:\Program Files\Folder\program.exe' -Verb runAs -ArgumentList @('"parameter with spaces"', '-minimize')
Expected Passed Parameters:
"parameter with spaces"`
"-minimize"
Actual Passed Parameters:
"parameter with spaces "
"-minimize "
Limitations
Program.exe must be ran from a program already running as admin (in this case powershell)
Not allowed to change default Execution Policy away from Restricted. So no Powershell scripts
Not allowed to install/execute external programs
Works if made into a shortcut (.lnk) on the Desktop
Any advice would be appreciated. Thanks in advance
@dapper laurel i buy these bundles for $15 even if i find 1 hidden gem in them, as usually these ebooks are $15 or more anyway for 1 title
@dapper laurel https://learnopengl.com/
Learn OpenGL . com provides good and clear modern 3.3+ OpenGL tutorials with clear examples. A great resource to learn modern OpenGL aimed at beginners.
^ 3.3+, will get you started, then you get the specification.
so Arduino & likes for next 2 weeks https://www.humblebundle.com/books/programmable-boards-books
does anyone here know where the Xcode Simulator filesystem is?
I want to check if it's possible to copy a SMS database with a whole folder structure in it to view old messages in the Simulator
nvm, I found it https://stackoverflow.com/a/47513528
We're all fucked
@frosty lark good thing it doesn't react to Pong! too ๐
@cloud knot yeah cuz discord's API doesn't like to be recursive
Should I get a rasberry pi to host my discord bots on it?
My devs are going to be making a security bot for my server, if anyone wants to be a dev for my server please DM me, these are the following plans and the features we might be doing:
ENTIRE server lockdown, 1 command to revoke all invite links and lockdown all the channels to protect the server against "heavy raid"
A seperate command for single channel lockdown, after you lockdown it lets you edit the message and type in a reason why it's been locked down, like telling people to stop arguing. (Like Dyno's logs)
Account-age, customisable account age.
This is a really CRUCIAL feature that will help the server, have a feature to protect against staff destroying the server, so for example, if the staff member kicks 10+ members, the staff gets banned for suspicion of griefing. This also helps you and keeps you stress free.
And the basic mute and ban feature with logs like Dyno, I want to replace Dyno for our self bot.
@nocturne galleon well, a Pi 3B+ has good performance for tasks like that (it is a quadcore 1.4GHz CPU), has good WiFi, also 3B+ has gigabit ethernet (limited to ~300mbps tho), so it is not bad and uses small amount of power, so it is good thing for 24/7 operation
How many bots would you expect 1 of them to host?
Thanks ^
@frosty lark shouldn't it ignore itself?
if needed, the bot could manually/interally push a command through processing if it needed to.
@nocturne galleon The bot red is already made and is entirely customisable and you can have custom 'plugins' for instance a lockdown command, might be worth looking into for you needs
@sterile tapir Link?
@proper saddle the color one is fine if you remember the hex code like I do.
I don't think the HTML color picker lets you input the hex value
hmmm
I am falling into the dark side of c# reflection, access to private pars muhaha
is anyone good with react jsx?
having a bit of trouble figuring out how each jsx file component knows when to render to which view if multiple files are being webpack bundled into a .js file
Polyfill stuff, you could try to understand how it works but it's so complex that it would be totally useless.
Just continue to look at your JSX which is far more understandable than webpack bundled files
ugh im so stupid
im bundling every js file when im wanting to separate files for each view
like mixing 5 colors of paint and wondering how to get each color
rather than not mixing them together
I think you could just use your native JSX files with any modern web browser (like chrome) and it would work as expected (if your main js file is included on the HTML page)
no transpiling required?
i don't think so
@ebon light webpack in general replaces "injected files" with webpack_require statements
so for example in angular one ads template metadata with string value, but webpack replaces it with webpack_require(somenumber) which references the compiled contests of the template
i highly doubt react is any different in this, as this is a webpack feature
I just made a browser extension that encrypts/decrypts discord messages
Kek
No more NSA spying
cool
but 1. are keys stores in-browser? in-javascript?
and 2. what happened to the 'e' and the '0'?! o.O
"I just made a browser extension that encrypts/decrypts discord messages" - and the point is ? last time i checked, Discord is mostly used to talk with other people. So it is cool that it decrypts for you, but when others can't see your message either, then it makes no sense


