#development
1 messages ยท Page 28 of 1
want my legal ISOs? https://i.imgur.com/kx634A8.png
Not a problem for me, but the people that use 500megs they are ripped off
lol
the last folder is the one that is illegal
the rest are linux distros
not completely sure PfSense tho
nah I downloaded directly from Microsoft & Archive.org
https://i.imgur.com/kSLXi50.png
you still need a product and liscense key
Want my iPhone schematics folder? https://imgur.com/a/T9b7M
yeah youre missing some + models?
But it is not that I have received more than 3 devices to repair
Many of them are inside the "Apple" Folder
oh
I got it from a guy I met from a discord server
I got a amtlib.dll from a guy on this server ๐
thank you! https://i.imgur.com/MHNs8by.png
Torrenting are we ๐
nah I downloaded via the cc app and never started my trial
you just replace the amtlib.dll
Still illegal
its so dumb... it even says my email https://i.imgur.com/HmJ2vbZ.png
Damn lul
no please register me. hevc h2.65 works.
Well technically
soo off topic now :)
you are not paying up the subscription
WE NEED A MEDIA CREATION CHANNEL! caps filter please ignore
so you are owning a product illegally
Could be
this even runs in the background ๐คฆ https://i.imgur.com/VYZlfd4.png
Colliding opinions in the same app
lol
Adobe doesn't seem to give a fuck
They rely on big corporation that must buy the product
Not some mofo in a basement that cracked everything they made
or people that cracked it potentionally buying it
theres still some features that require the adobe cc
No humor here I see
Dont know if anyone noticed but...
Hmm? @tranquil dew
The video names or something else?
The floatplane website is available
It's been available for a while
It's been available less than a week
I was on it much more than a week ago
It definitly wasn't as you couldn't sign in / up
I certainly could as I did
Looks like I was on it a week ago today
So not as long ago as I thought, but still more than a few days
I've been able to access it for a while, but nothing really works. ๐
your pointexactly?
is it going through http?
no, now i see its not
is it the visible password?
if it's that then it's nothing
No, you can bruteforce
And get anyones password
With enough time ofcourse
I sent this to a Floatplane staff he didnt give 2 fucks
well a rate limit would be good
but bruteforce should be useless against good passwords anyway
sad that most people dont use them
If someone can intercept your internet connection , your done!
It's not going through @jolly light
FP forces HTTPS ยฏ_(ใ)_/ยฏ
@ionic hull I haven't replied to you because the website isn't even live yet, we're still working on those security concerns at the same time that we have other task to do. And I'm not concerned right now that you can bruteforce passwords since the current users are login in using a connected account, so they don't have a password to bruteforce. There's approx 6 accounts that have passwords, and they all have 20-30 caracters long random strings has password.
We're working on rate-limiting and on reCaptcha on many failed attemps, but it's not implemented yet.
Isnt floatplane connected to the forums db?
Cant people connect with their account?
I've been able to access it for a while, but nothing really works. :neutral_face:
The connexion with the forum is just a third party login, like you do with Facebook/Twitter/Google
yeah, they do oauth
@devout lava oAuth it is ^^
Yes, we don't have csrf setup yet with the front-end, so it's disabled on the backend
Sooo linustechtips is vulnerable too
And I just checked and CORS are disable right now
@ionic hull No? When I say "front-end" and "backend", I'm talking about the floatplane.com website
If floatplane uses linustechtips accounts from what I understood, linustechtips is vulnerable
You don't get how it really works
Maybe
oAuth is to authenticate between two "kind of untrusted" source
ok @fierce quest stupid Discord didnt send me a notification when you mentioned me. ๐ฆ
Floatplane has no clue on you linustechtips.com password, the authentication is made on ltt.com, and fp.com only get authorization tokens to confirm that it's "a user" that authenticated on the ltt.com website
@devout lava Yes, it's just to explain to @ionic hull
ok
Not targeted at you ^^
๐
And when does it authenticate to ltt?
You can't use your ltt.com credentials in the "username/password" form
Those are only checked against our database (fp.com)
does FP also use firebase auth?
We haven't implemented Firebase Auth
We're not using any services other than FCM for Notifications
We host everything ourself for the backend infrastructure
@devout lava what is that browser
Chrome masterace
Chrome has a better doc when making extensions
and better dev tools
idc if it uses half of my ram
I perfer FFs dev tools better
@devout lava Do you have a way to see WS frames in FF?
@devout lava
I can see: headers, cookies, params, response, timings, and security @fierce quest
Take a look at a website I'm developing, I'm gonna send it to the company I'm making it for in a few days and I just need to know if something really should be changed ๐ http://vegardsteinnes.co.nf/globalrentals Here is their current website: http://globalrentalsuk.com
Heh, can't use the current one since it's flash (and FF for some reason freezes with it)
I find the pictures on "Contact us" really huge
Also minor thing, I'd put a cursor: pointer; CSS rule on the buttons in "Our Products" to make it more obvious those are buttons.
@keen nymph everything is too big, try to make it smaller
@ionic hull are you on mobile or desktop?
@keen nymph I will agree I would make it a touch smaller
@keen nymph do you want me to be completly honest?
The nav bar doesnt look like one, needs more "button feel" ( maybe add some background and a rouded shape or something)
About section has too much text and everything looks awfull when centered
The information will probably be changed, it was copied from the old website
except those buttons that are left-aligned and only 1/3rd of the page width for some reason.
Contant us is too big, carousell would be perfect there
@vestal glen click on them
still doesn't look great. Select the first item if it's like a info thingy.
As someone mentioned, add the css rule to those buttons: cursor: pointer;
And use a more professional looking font
What am I supposed to do with the carousel?
Yeah, I will add it tomorrow
For some reason, my font is not working on webkit on ios, its being loaded from google fonts
And add a hover to the nav buttons
^^
Do you have any "professional" looking fonts that I should replace it with?
That one looks nice
on the top nav add a scrolling animation to get to sections
yup
yeah
this is what you need for the about section
yeah
wow your website only has 380 css lines
I just wrote 6k lines in 3 weeks for 7-8 pages
Times two, one for mobile and one for desktop
Its easier for me to organize it that way
google dont like that
They are minimized though, so they're only one line each
The less you load the better
^
Hi all, anyone got any experience more low level tweaking of windows' resource allocation?
I've got some code that adjusts priority and affinity but I'm wondering if there's additional modifications I can do with specific dll calls
Got a small job: redo a big js file and its components
action = 'favoritos';
if(moID == 'agendados')
action = 'agendados';
if(moID == 'aseguir')
action = 'aseguir';
if(moID == 'vistos')
action = 'vistos';```
I wanna cry
myAccount(url, $('#accountMediaChangeContent'));```
myaccount is just a simple ajax class
3 lines
I am trying to decide over what programming language to learn. I like java and C# because their cross-platform ,,feuture". What would you recomand?
python is a good language to start
between those two C# is the better language IMO
but in general you need to consider what you actually want to achieve with the language
e.g. machine learning is all about python these days
whereas system programming (OSes) is much more C-centered
nodejs is cancer, plz kill ๐
Well,that's the thing. I don't have anything specific in mind yet about what I want to achieve with a language(defenately not web programing) and find the one that is best suited for my purpose,so I was looking for something versatile for desktop/mobile apps
@small escarp
"something versatile for desktop/mobile apps" <- if you want to do all that with one language, then javascript is the way.
If you havent coded yet, I would suggest Python. Lots of great tutorials and it's a decent language to start out in. Learning the second/third etc languages will be a lot easier than first anyway.
desktop mobile..... that's way too broad in general
that's like saying I want to program
but in mobile you either go web (javascript)
or java/swift
for android/ios
(at this point I don't think Objective C is reasonable for newcomers)
as Mart said, if you haven't coded anything yet, you should probably start with python
it's a very capable choice with good defaults
Vim is just a PS2 cheat code that got out of hand.
269
919
If you don't know what you want to actually do then just learn Python
If you are just learning there's no harm in learning a sub optimal language
sub optimal language..... obvious bait is obvious
Python is good for iot and Debian tools
Learn PHP if you want to waste your time like me
You make fun of COBOL. But when you learn how much decent COBOL programmers make, oh boy ๐
Almost anything that is still in COBOL is some huge system where the system in COBOL is mission critical, hence why it has not been upgraded.
What would you do if you had a 100GB text file ( that only contains 1 line ) and must replace a keyword
My option would be split the line in 200 characters until the end, and do it 4-5 times but with different split chars ( instead of 200, do it 205, so that the keyword doesnt break )
Tell me yours
sed
if that doesnt scale enough, a simple script
important detail: do only 1 pass
and your char split doesn't work
e.g. if the keywords spans 200-205-210 and so on
First of all I would go and beat up the guy that generated that 100GB one-line text file.
Nice point xD
But if I would have to work with this kind of file, then I'd use a stream and start matching (if I have to program it myself) or use some tool for it (preferred solution as people have probably worked hard on it and made it more efficient than I can).
It's one of the only all-rounder languages, even if it is jack of all master of none
do you have any valid reason for that argument
Javascript would be forgoten if node.js or angular.js didnt appear
Why tho ?
Tell me what you think about DOM
A cool way to handle a lot of HTML stuff to make it dynamic.
Shadow DOM is sill better tho for performances (when modifying a lot of DOM stuff)
shadow dom is a part ofthe dom............
@ionic hull so in your world activeX is the better language?
web doesn'tnecessarily have any good languages
javascript may be the best alternative among crappy ones (has improved vastly with ES2015.....)
but that doesn't meanit's a good language
javascript relevance is only because "it was there", and sadly that's what drives the web for browsers which were typically not updated at all
anyway, with webassembly one may use any decent programming language for theweb now
@vestal glen no
javascript is the best where none is the good
why would it put automaticaly semicolons
that is just stupid
What is the best way to reduce CPU usage on a PHP/Mysql "website" - traffic 4k same time
Almost everything that could be cached is cached
Use Rails
Jk. I use PHP too. How is the CPU that high? Have you tried to find out why it's so high?
Python books. :V https://www.humblebundle.com/books/python-by-packt-book-bundle
@grand hornet the code is fine ( no memory leaks or anything ), just really high traffic
And the website requires a lot of mysql queries
Is the Apaache/PHP/SQL all on one server?
yes
One mistake I have made in the past is making my DB config not use localhost and connect to the actual IP
That sped up quiries
Im using localhost
Speed isnt a problem
I just want to make my own comment section
And it will eat up the rest of the CPU
Using disqus atm
I've just spent hours trying to get dates to work properly
wat
@whole quail hours? do u even develop bro
@whole quail hopefully you're not reinventing the wheel and you are using a date lib (http://infiniteundo.com/post/25326999628/falsehoods-programmers-believe-about-time)
@ionic hull if you give us some numbers we could assist you more accurately
e.g. server CPU, RAM, disk io, topology (if any)
database server.... the same specs
which of the two is the bottleneck? (database or web server/program)
are you using appropriate indices in your database?
are you using a CDN for static content?
etc.
I can't even make a Hello world program that works.
@keen swift maybe your mental model aligns better with another programming language; you could try intercal or brainf*ck
@small escarp I'm trying to get 2 date formats to work together with a date library
But the dates have funny things wrong with them, like being 1 off and some are datetime which just breaks compatibility with them randomly
what are the formats?
(and don't sweat it, even Apple has trouble with dates, https://robservatory.com/month-13-is-out-of-bounds/)
It's literally google sheets and google calendar
Sheets is that weird excel thing
I worked out how to get that right
*sometimes
It's not consistant
And the google calendar returns dates in a nice simple format
But they seem to be off by a bit
And the ones with date time just break everything
I have to deal with dates all the time and each time it never gets better
And now both the dates I'm getting are off
What language are you using? @whole quail
Does it support native javascript?
Sorta
It supports a lot of native javascript
But it doesn't support everything
It was really easy to transfer my nodejs code over too
No large changes at all
Where does it run?
It runs on googles servers
Which is why it's better for grabbing a lot of google api data
yeah google's dumbed down js for developing simple chrome extensions and google office apps
It's far quicker than any api
But you spent hours making some dates
I mean I'm using a date library
The Javascript one but still
It takes like 10 seconds to run
With the nodejs api it took well over a minute
Welp, cant help you with that
Never used app script
Maybe I had an idea
Run the app script with the normal stuff
And scrape it with nodejs
Jub, what are you trying to do
Trying to compare dates from the sheets api with the dates from the calendar api
I'm a pretty experienced JS dev if you need help
atm I'm turning them both into the date object
But there's some weird stuff happening
It works for some but not all
how are you "comparing them"?
atm comparing the iso strings
And just storing those
Instead of storing a lot of date objects
What format do you get them ( both ) , can you show an example
ISO strings are more translatable i guess. You reparsing them as you go?
For the calendar it's yyyy-mm-dd
But it's really weird
Tried so many different things
But none of them actually work completely
Chopping off the time part of the iso string and comparing it to the calendar one
Converting both into date objects and getting iso string without time
Which is exactly the same thing
But it works better sorta
Tried dealing with offsets myself
And for the other one
That went as terribly as you'd think
Sheets is just a serial number I turn into a javascript object
atm what I do is I store the date as the iso string with time cut out
Since I don't need time
But then it's off by one day for 90% of them
So I counter that
And now it's off by one day for just 1 item
But there's no difference between them
???
can you convert the dates to UTC?
With the date object I can
Ideally the google api's could either use the same format or let me have it in utc
I think I might know what's happening
I think it's to do with timezones and the google docs lying to me
if you're getting off by one in some of the dates the most likely culprit is timezones
in the ISO string, remember to consider the timezone data (which could affect the "effective" day)
Timezone's shouldn't be a problem
According to the docs
But I think the docs are wrong
Typescript feels like it's trying to be the Python of JS with its picky ness about whitespace. :V
I think jslint/eslint also has a no-trailing-whitespace error or warning. so it's common to linters.
D:
the first time I used eslint I realized that I write terrible code
same reason for linters complaining about trailing new line.
I had to fix so many things before it would let me run it... ๐ญ
@vestal glen yes, except indentations
@small escarp that's not trailing...
it is for the linter
that's leading
if there's nothing else
yeah just a bunch of whitespace on a line
which PyCharm gives me so much flak about.
xD no, it's indent because the whole block is indented
not just the code lines ๐
@.@
TSLint also complains if you don't have an extra line for some reason. :/
@proper saddle I just mentioned that
I've always wondered why @proper saddle
and for git, you can always omit whitespace
it's because else you'd see the last line removed and added every time you add or remove a line in the file in version control
@proper saddle that's because unix typically expected text files to end with newlines
not just with EOF
for example, for concatenation
some programs may assume this and may not process the last line if it doesn't end with a newline
(and with unix I mean POSIX, which most OSes interface)
Does anyone here know powershell?
not well
I'm trying to figure out how to count the occurences of a specific string in a hashmap
In the value, not the key.
can you provide an example of your hashmap?
if its what i think you are using, you should be able to use $hasmap.Values.Count
and use that with some where maybe ?
if you want to just grab a list
use group-object eg $hashmap.Values | Group-Object
however, context and desired functionality would determine what you actually want to do ๐
How do people feel about coding bootcamps?
sounds like too much excersize
what language?
not sure yet. I see a lot of node.js bootcamps
@haughty oxide no worries
If you want to just learn how to do a specific thing bootcamps are fine
But they don't actually teach you enough if you want to actually dive into one of the many comp science areas
I want to change my career and I don't have 4 years to dedicate to school. You know responsibilities ๐ฆ
Honestly, you're not going to be a good programmer at all through a bootcamp
But not everyone wants good programmers
You could potentially get a job through it if that's all you want
Not even a degree will make you any good at programming
Definitely would help with getting the foundations
Having some formal programming education in there can be a pretty large benefit though
Bootcamps will never teach you how to get to the result, only how certain results are produced. Some form of creativity, logic and problem solving is needed, and are easily self taught. Bootcamps are okay, they just give you the results on a plate and don't really explain how it was made and why it all works.
If you want a job just repeating the same things all the time then Bootcamps are fine
Will teach you how to do something and let you do it over and over
my experience when it comes to learning new languages and technologies, just being dumped into it with a project / solution in mind is the best way to learn, aslong as you have basic fundamentals to "how to code" actually having an end product in mind, rather than just more complicated "hello world" applications
@dawn geyser you couldnt say it better, totally agree with you
Dear diary, today I learned how to properly substep. all of my +month old issues are gone
*dubstep
In this episode, Robert is joined by Rong Lu, who shows the C/C++ support in Visual Studio Code provided by the Microsoft C/C++ extension. The focus of the e...
What's the easiest and future proof language for programming executables
people have a gripe with c++ being too hard but I feel it is the best and fastest, it is changing rapidly though
You gotta choose future proof or easiest
C++ isn't difficult at all but it's not easy either
It's also very future proof
anything in the middle? I tried c++ and its a bit too complicated
Visual Basic is really easy, but I find the syntax to be obnoxious
I much prefer the syntax of Java
I'm pretty sure Python is fairly popular at the moment
Lol im a boss at VB im trying to branch out cuz you cant do much in VB
C#. :V
how hard was it to learn? @proper saddle
Not too difficult, it was easier than Java imo, even though a lot of people call it a copycat of Java.
@proper saddle say if i came from VB.net which language is easiest? C#??
And im planning to make a performanc monitor for my pc cuz i cant find any that is good is it easy to make in c#? I already made one in VB.net but I cant make it auto move to a corner, skin,look better, more specs
I want to make one that automatically goes into a corner, has tons of specs, feature to auto update?
ok
If you were to make a performance monitor(CPU specs, temps, performance of components) how hard do you thing it would be?
@proper saddle

Server side, mainly just some CRUD app
Not right now. :/
Maybe later
I'd look into tutorials on youtube and then looks into MSDN after you learn the general stuff.
If you have something you want to do then pick a language that's best suited for it
If you just want to learn, go ahead and learn whatever you want and as much as you want
Just know that no single language can do everything
If you want to actually be a decent programmer and be able to be effective you should worry less about the language and more about the concepts you need to learn to be effective with any language
If you feel you don't know anything about oop, choose a oop heavy language
If you don't know data structures well, choose something like C
Instead of trying to "pick the best language" when learning just pick the language that you think can teach you the most while not being overwhelming
If you don't know what language that would be, just learn Python tbh
It's got many many downsides but it's an amazing language to start with
And if you think some ancient language that's really obscure is going to help you the most then don't be afraid to learn it
Also don't be afraid to experiement and have fun, people will tell you why you shouldn't do something, but you should focus on learning why not to do something rather than to learn to just not do it
PHP is the best ๐
imo, everything should be old school ASP
we have a few legacy old school ASP web pages still in production here, it makes me want to murder someone everytime someone asks for improvements on them
@whole quail ok so, I ordered all my PC parts exept Mobo, once I do and it comes in I think I'll try c#
@dawn geyser just curious, what's the murder rate where you live? Did it increase after you started your job?
no comment
those systems have been on my list to rewrite for a very long time
i just havent had the chance to do it
I wonder if anyone has bankrupted a company by convincing them to switch everything to PHP 3
Could be rather effective
Php 3 ๐
PHP in general ๐
Quick question, what would you recommend for a web-application (for admin-interface + RESTapi)? Currently using PHP, but I've considered switching to Python?
angular js? node js ?
for the admin interface
is the rest api already in place? or are you developing that too ?
Is this for suggestions too?
@dawn geyser I've made an "alpha" version of both in PHP, but going forward I considered changing to something like Python or Node js.. Whats the difference between Node js and Angular js?
Ok, derp... Angular is frontend and Node is backend.. right?
both node.js and angular are more front end solutions
i believe
its been aw hile
your REST api could be in whatever language you feel is best for it
you however do not need (or should not need) Server side scripting (php) for your admin interface
you can use node.js for server side items though i believe
but its been a while since i looked into / used both of them, so i forget what they are best used for
i guess it depends on your goal and what you want it to do in the end
Thanks ๐
@regal tinsel node.js is a backend solution that let's you run javascript programs on the server instead of just being confined to the front end. Like you said Anglular js is a front end framework that can be paired with any backend (i.e. .NET, Java Spring, Node.js, etc). Anglular is more akin to React than Node.
@warm frigate ye.
What would be good source/place to learn Java programming for android?
Hello, i need bootstrap based design for gameservers hosting i like how https://www.gameservers.com/ looks so i need something similar, any offers?
@nocturne tusk udemy is what I use. It has independent instructors with tons of cheap courses that are usually always on sale. I have learned many languages on there
@civic mountain thanks I need to look into that!
โค udemy
I also love how you get a certificate upon completion
Anyone knows reactJs here?
I have some questions
If react is a front end framework
how does it get data from backend? Api?
And how to provide the user the js and css files
Just a simple route? in the same server as the api?
@warm frigate thanks
styled-components always seemed backwards to me
we got out of css in the html for a reason ๐
Hi has anyone here worked with angular calendar from https://github.com/mattlewis92/angular-calendar ?
Im having trouble creating my calendar, would be very grateful if anyone could help out
Dictionary<string,Dictionary<string,object>> storage = new Dictionary<string, Dictionary<string, object>>();
bad idea?
nvm that does what i want it to do XD
ok nvm i made a terrible mistake
You want a Dictionary of mapped Objects by string identifiers, in a Dictionary mapped by string identifiers?
kinda ye
i ended up taking a different route
having a Member class, stored in a Dictionary of mapped Members by ulong identifiers
Dictionary<ulong, Member> storage = new Dictionary<ulong, Member>();
@timid widget
that's a decent solution
public class Member
{
public Member(){ }
public int XP { get; set; }
public int XPLevel { get; set; }
public bool DoubleXP { get; set; }
}
easy to modify too
something i had never done before tho so its totally new to me
i really wish i had known this sooner xD
btw public Member(){} is unneccasary unless you plan to implement something there
Random question just popped into my mind: could you theoretically write a script that, after booting a PC, would write Linux directly to memory from Intel's management engine over a network?
Because that seems like something that could possibly work...
@winged zodiac What do you need help with?
@inland edge theoretically, yes.
@warped hedge JS & HTML yeah. Know bits of php
------------------------------------------------------
wine cmd.exe /c echo '%ProgramFiles%' returned empty string, error message "wine client error:0: recvmsg: Connection reset by peer"
------------------------------------------------------
anyone have any idea as to how I could fix this? I'm running Ubuntu 16.04.
is anyone familiar with android development? more specifically sqlite for android?
Not sure if this is the best place to ask, but Iโve got a question for you guys.
Iโm in school for a degree involving system security, and I can either focus on C++ or Python. Which is the most useful in the current environment? I have some experience with C++ already, from earlier courses, but none in Python.
You should go for Python, because of AI stuff being mostly done with Python and AI will be one of the only thing you will work with in 5-10 years IMO
Thanks.
System security?
If I try and guess what that actually means I would think it's to do with networking and the lower level stuff involved with servers/systems
In which case Python would be a stupid choice
Basically analyst stuff.
Pentesting etc.
Iโve been wondering if I shouldnโt try to go for a cyber security engineering degree instead though. I still have a couple years left.
@nocturne galleon I would say C++ or C# since most larger companies use C related languages for applications and security layers. Bank of America is one big one for sure that uses C# applications for internal SSO, etc.
A redditor told me that if I want to be an analyst, I ought to learn Python, but if I want to be an engineer I ought to learn C++, speaking generally.
Is that accurate, in broad strokes? @grand hornet
Pentesting analyst. I was told Python is used for pentesting, and also that Ruby would be valuable to learn for that, as itโs the framework for Metasploit.
Iโm really trying to figure out if I should change to security engineering classes instead.
I guess Iโm trying to figure out what path each leads to.
Iโve got my core classes and whatnot out of the way, but havenโt really started to go deeply into either.
Has anyone used this:
echo $data;
return strlen($data);
});```
to stream a video
My problem is that I cant have the content range and send it to the $url with &bytes=8765487-9036409
Can anyone help?
@nocturne galleon For now I would suggest C++
But if you can learn C++
You should have literally no trouble learning Python
Just learn both eventually
And more than just those 2
Learn whatever you need
so where would i talk to someone to help me figure out linux mint 18.3?
im completely and utterly new to linux entirely
im using virtualbox before i even consider maybe trying it out on my actual rig
Usually there are forums you can check for Linux distros.
honestly, just learn to program
python is good to start with
easy syntax and forces indentation
^ and murders you if you accidentally use the wrong intentation
I am searching for DE. As you all might know, College doesn't teach anything. I am done with Python. I just started learning it as my first language after the stupid QBASIC. I would obviously prefer free courses ```
Can u pls reply by mentioning me. Like - @hybrid wolf
How I learnt to program/comp science is by reading a lot and watching people talk about things then whenever I wanted to make something I just learnt whatever was needed to make it
But I started at a young age accidentally at first while also being told by family friends who were software engineers that I'd be really good at programming and worked out after the fact that I was starting to program. So it was sort of just reading heaps and being told for some reason I should do it and not knowing why.
Turned out well I guess
Just wanting to do something and doing it is how I've always learnt.
And reading.
Reading, reading, reading, reading, reading
Also listening to someone talk about something sorta counts as reading so do that to if it's easier
But mainly reading
If you can't learn through reading about things you're never going to get far, there's not always going to be someone teaching you how to do each different thing.
@hybrid wolf
(can't agree with that more)
Anyone good at HW engineering?
I'm kinda confused if a tri-state buffer should contain one nMOS/pMOS, or a CMOS pair
a tri state buffer is a logical gate, it is a mathematical abstraction
there are many ways to implement it, with one, two or many transistors
each implementation gives you a set of advantages and disadvantages and you should choose one according to the requirements of the project
(e.g. power, stability, complexity, ....)
CMOS topologies are a common choice because they have high input impedance, active drive, rail-to-rail swing, low power on fixed state and relative simplicity
So what is the best choice if I want to implement them in my side project which is a generic Intel x86 based CPU?
you want to implement a CPU?
Trying to design one
your best bet would be to use some FPGA and verilog
trying to do it by hand using transistors would make you mad xP
at least x86
I'm just drawing the schematics for now
And I'm thinking how to "define" the tri state on the transistor level
by hand, even though it would be an obsession, would be fun yet inefficient
by the way, is this the right channel for HW projects?
I need some advice. I want to build an Intranet. I have three options. Python using Django, java, or node.js. I refuse to use php. The only thing that make sense is python because I can use that for automation scripts in both winblows and linux.
thoughts?
Python
Python with Django seems to be the best way to go IMO
@nocturne galleon I'd imagine this channel would be your best bet for hw engineeringesk projects
@nocturne galleon you can find some schematics here http://www.rnbs.hiroshima-u.ac.jp/RCNS/lecture/pdf/HJM_H20/OHP_CMOS_4(H20-5-2).pdf
in general you would benefit from buying a nice book on cmos design
Thanks
well that escalated quickly
https://i.imgur.com/6kgfAI5.png
๐คฃ
Lol
1. apply for job with a nice letter
2. wait
3. get rejected because a group of indians got the job
4. Back to 1.```
Yeah, pretty much everytime I try to find work lol ^^
Wonder if that would happen to me though, I think they target SW jobs and not as much HW
Umm.. Friends i need help with coding
What language
Then you chose the wrong language
But that was just to start. out
I was refering to C
I want to get into App / Game development
So, i pretty much found C is good. for that
What Language would you prefer? @ionic hull
oh
I have been into Computers since my childhood so I understand a lot
just wanna know syntax and of course there is a little i missed
bcoz i wasnt necessarily learning programming
Thanks @ionic hull
np
syntax is nothing, compiler vs interpreter is something to get your head around
C is a pretty good "first" language
If you are not trying to learn object oriรซnted programming, sure
Otherwise i would recommend python for basic things and learning, and c# for actually developping something
C is not a good first language, it exposes too much of the bare metal, e.g. beginners shouldn't be worrying about allocating memory, implementation details about string formatting (zero-end, want to output utf8 to say things in your language?, hahaha), aliasing such as in struct members, pointers, etc.
Java is pretty alright too
I mean, people who have an inner drive to code will figure it out quite happily but trying to start in C is not the nice path, at least now that we have so much better languages xP
(read better as expressive)
- all the usual cruft of C from a time long gone such as awful macros and requiring one-pass declarations and headers
If you want to program to learn, C is amazing
It let's you make mistakes
And let's you understand and play with many ideas
If you just want to have a skill to use then it's not really going to be useful enough for you at first
You won't get to do as many cool things and achieve as much
But if you want to learn then the learning process is amazing
Does anyone know how to modify the full battery capacity in samsung kernels?
note 7?
@hybrid wolf
Apps: Android: Java or Kotlin. IOS: Objective-C
Games: simple: Python; intermediate: C# (unity); advanced C/C++ (pick your engine, or make it yourself)
Each language has its own benifits and deficits, C is good for systems programming beacuse its basically high-level/crossplatform assembly. C alone is not a good choice for game devlopment. OpenGL/Vulkan/D3D are C APIs but that doesn't mean you have to use C.
note0: i know unity is a very capable game engine for advanced games, i was getting at the language not the engine
note1: Python, C#, and C/C++ are not the only languages you can use for game development (glares at minecraft), but the latter (not python) are popular ones.
as for C (and/or C++) as an early language.
Its hard, its confusing, its frustrating, and it seems simple. C and C++ are both old languages with a lot of baggage coming along with that. The C preprocessor is something no other language has, and thats a good thing. both languages make you rethink the way you were doing things (coming from Java/C#/other automatic pointer based OOP languages, or OOP in general for C). if you want to learn how a computer really works on a low level, then C is for you; if not, don't.
Speaking of languages, I often recommand NodeJS with frameworks like VueJS or React with Electron (or equivalent) for multiplatform web apps. It's really powerful when you know how to work with this, because you only have one base code for every platforms (and sometimes you don't even need to create a native app with PWAs)
thinking JS can be used for everything, standard web dev
You can pretty much do that with C# too, but I don't think it would be as simple as Electron.
Pls, i use JS for my VR mmorpg
React VR?
No idea if that actually exists.
I'm planning on buying a Rift, should have enough money by my birthday! 
I was just joking.
Which is in 11 months! 
Lmao
I kid it's actually in 2 months. 
That's closer. Much closer.
Good luck and have fun!
Protip: candy < saving. No matter how delicious, tasty and beautiful it looks/tastes.
Now I want to learn ReactVR to mess around with my Vive XD
I didn't know about it ^^
React VR
Vive
dont tell me thats actually a thing?
I wonder if Unity's WebGL implementation supports VR
It does, was annouced at Oculus Connect 2k16
I know for sure that Unreal Engine WebGL doesn't
After a quick search, yes, Unity supports WebVR
Yeah, Mozilla has an article on it.
i swear to god, web devs just dont know when to stop...
Excuse me, are you insulting our lords and saviors JavaScript, HTML5 and CSS3?
Such heresy shall not be condoned here.
๐ฎ
I can't wait til someone ports the Linux kernel to JS. 
We already have some VM hypervisor in JS if I recall well (Windows 95 in a browser)
But doesn't that use C++ injection?
webassembly... soon... soon...
Well, to be fair, React VR isn't far off considering WebGL has been a thing for a few yerars.
I'm just waiting for WebVulcan.
But can web asm do dom manipulation? :U
My problem with IOS development is that you can develop on Windows or Linux, but have fun testing it.
It provably will
@proper gale No Galaxy S6
hmm
What do you guys think!!! Works best on computer cause its got music!!! https://dark3n1ng.party/ Just hit 100k Views!!! Also please look under art history!
most useless website ever?
yeah pretty much
So web assembly is just a renamed dll with some fancy exports stuff set up?
Thats all i've gathered so far
If thats the case, whats stopping some website from sending some "web assembly" thats basically a buffer overflow that escapes the virtual machine?
@white narwhal
What do you want to do in life?
If you plan on eventually getting a job as a programmer, I'd go with C#. Mainly because I'm really bias and because there are more jobs in it at the moment.
Depends on where you live
If you live in Portugal like me, forget about programming
:/
There, there. ;-;
Where do you live
No you don't.
Yes I do
Where do you live now?
You could move to CAnada. They let anyone in ๐
At least then you'll have healthcare
Im 17
oh
yeah
then just worry about school ๐
Never too late for school
@hybrid wolf C family and C# are completery different
If you aren't specializing in anything, then C# would be the best of them
but I would rather suggest Java
C# is basically Java made by microsoft
and Java has way more resources
and it can run anywhere (ex. android)
@hasty sail Thanks for suggestion
Hey! I'm starting a group of entrepreneurs, programmers, designers, etc. to make a big project that we might take to market. I just posted it yesterday, and we already have 5 people interested, so we're going to be growing pretty fast. If you are interested or want more details take a look at the reddit post: https://www.reddit.com/r/Startup_Ideas/comments/7q2jq8/looking_to_make_a_group_of_entrepreneurs/
@rigid sleet How to enter this group of yours?
Take a look at the reddit page. It has all the details. After that, send me a DM on Discord.
Can someone help me in an hour or so? My websites enter button is acting like a back button and I canโt find the culprit! Https://dark3n1ng.party/
Is it hacked?
What itโs not hacked@hybrid wolf
Oh okay. So you meant to find the bug
I thought you meant a hacker by the word 'culprit'
@winged zodiac you have to remove this function from index.html
@glossy halo thanks used parts from a different one of my pages
np
Legacy systems?
I switched to Edge, because Firefox kept slowing down on me. And I don't think VS debug mode supports it for some reason. 
Edge has gotten a lot better
I chose it over chrome
Personally, I kinda like the Edge theme and it doesn't lag as bad as chrome
Problem
what is extern in C
What Is extern in C?
Example:
#include <stdio.h>
extern int a, b;
extern is a global variable? 
yeah
C# doesn't have that keyword. :U
I know, I was just saying
i cant understand the explanation on the site
Because that's what I use.
Yeah, I just googled and found a wikipedia article. ๐
lol
And according to it, you don't have to use extern, but for style reasons you probably should. Like how with ES5, or was it six?
, you should be using let and const instead of var.
In the C programming language, an external variable is a variable defined outside any function block. On the other hand, a local (automatic) variable is a variable defined inside a function block.
As an alternative to automatic variables, it is ...
oh Okay! lol
Oh, extern, is importing the variable... I think, but I don't know anything about C.
@hybrid wolf no, thast why there is a /s
@proper saddle extern tells the compiler to not worry about that variables declaration, the linker will take care of it.
it is used for cross file global variable linking.
if you have two variables with the same name in two different .c files the compiler may mangle the name and not care, treating them as a seperate variable per file. to keep this from happening you use extern in a header with a regular definition in any .c (usually the same name) to define the variable.
its basically a function declaration, for variables.
technically, its the exact same mechansim beacuse cpp int main(){ // code }
is the same as
extern int (*main)();
// somewhere in funciton land
// note, the is c++ code, but the basic idea still applies.
int (*main)() = [](){
// code
}
Why not c++ instead of c?
@hybrid wolf C is the worst choice of them all. Unless you are working with some really specific embedded hardware C is a totally useless language
C++ is more like a useful language, but still not C#
and even then Java would be way better than C# to learn
there are way more resources to learn Java
Java is a pretty language, but it doesnt have getters ffs...
you have to write .getProperty()
and obfuscate the class declaration with property getting methods rather than methods that act on an instance
It does have getters
they are just methods like other methods
if you don't want to write them yourself any modern IDE can generate them for you
was more pointing out that there's no difference between a method that acts on an instance, and a method that gets a property unless you call it setX() or getX()
which im assuming the IDE does for you
and if you already know enough that you don't want to have these "default" getters and setters you can just use lombok
other than that, I would even recommend that @hybrid wolf starts with python
yes, it is a bit weird
but you will learn to programm without having to deal with learning syntax that much
python is a nice intro language
imo
I still hate the white space formatting
but
ยฏ_(ใ)_/ยฏ
basically you should first learn to program and then start to learn different languages and their "special features"
you should indent code in any language
I don't get why you would not like python for that
never had an issue, even when looking at some pretty bad code that uni students write on their first semester
Scripting languages are always a good start, many of them don't have a lot of concepts beyond the simple stuff. Lua & Python to name a few.
yeah, but that's how they keep it simple
those more advanced concepts are usually abstractions anyway
What are your opinions on MonoGame, guys?
it's a fine framework but note that xna (the original microsoft framework) died years ago.
I use it sometimes for simulations and things like that
for actual games unity is probably better nowadays
I mean I use monogame for actual games.
I've tried Unity, it's just too ugh for me honestly
I prefer MonoGame because it gives you the tools you need to do things like graphics, audio etc - and you can structure the game engine your own way
for devs it's nice, but most of game development falls on the shoulders of visual designers these days, so the visual aspects of unity come in handy
although the monogame asset pipeline is decent, it's nowhere near the level of unity
Yeah, I use MonoGame because I do only 2D stuff
And my current project isn't really a conventional game
you basically interact with the world through a Linux-like operating system.
Sort of like Kingsway actually.
Are there any good free resources for unity? Because the official tutorials are kinda meh.
Haven't a clue. That's another reason I don't really like Unity. I find it funny how a lowlevel API like monogame is much easier to learn than a game engine like unity lol
You'd think it'd be harder, but there's just so much stuff in unity it overwhelms you
Isn't monogame only 2d?
Transistor was made with monogame! O:
Oh, there's 3d support.
@hybrid wolf if you just want to learn, ignore everyone telling you not to learn C
It might be less practical but you will learn a hell of a lot more
If you just want to make specific things, learn whatever language you need to do that however
I think you're actually on the right track to learning how to be a good programmer
Anyone know javascript?
Dm me
anyone familiar with nginx reverse proxies on centos 7
oh wait I guess this'd be more suited for #networking ? Not sure.
@nocturne galleon what do you need exactly
My dev team needs more devs. (We're making a discord bot like dyno)
@whole quail C is definitely not the right way to start if you want to become a good developer
if you want to actually write good code it is not
LOL
"Good Code" isn't that simple
If you're trying to write good code while learning you're going to end up a code monkey most likely
Someone who can write code to solve a set of problems they know how to solve
from my experience from uni it's the opposite way
people who started with C only know how to use C and only can do stuff they did on the courses
Often they teach what's most likely to be wanted in a job
people who started with python have much broader skills
we have a different educational institution for that here in Estonia
I mean of course they can only do that
Learning C is going to take a longer time
And you will explore more
well it is not practical if it takes like 6 times more time
That's just how long it takes to become a good developer
Language doesn't even matter, you're going to spend a long time learning
it most definitely matters
Not at all lol
You're going to be learning more than one language and it's going to take more than 4 years
well you would think that

