#development
1 messages Β· Page 26 of 1
doesn't really help when I need to compile an sdk on my computer to use it
what sdk?
digitalocean/vultr/cloud provider of any sort + serverpilot is awesome for hosting PHP apps
like wordpress and most CMS π
Programmers Hate PHP
PHP is fine in its own niche area
PHP is getting better all the time. It's the developers that don't. π
People are always stuck in the past. In the "tried & true" stuff.
PHP 7+ is exceptionally fast.
They even surpassed HHVM in terms of performance.
@carmine relic you don't need a 1700X. You need a Xeon. π
Php works great it just has a syntax that doesn't follow normal logic
After being forced to use PHP, I ended up liking it - eventually...
@proper saddle https://www.namecheap.com/security/ssl-certificates.aspx name cheep does the quite cheep depending on what your looking for
@dreamy linden I'm not that rich though π
sorry for the super late response
was sleeping and doing work
lmao
@carmine relic even the used ones that you can get on the cheap from eBay are exceptionally good, compared to consumer-grade CPUs.
1700x is a beast for its price.
node-gyp errors are usually related to python and gcc. Ensure you have python 2.7 installed plus build-essential or whatever the package that pulls in the dev tools for your distro is named.
Also look into the log file that's generated, it should contain more information about the error. That single line doesn't say much.
R.I.P. C#, destroyed by the in alias for ref readonly
C# Master race though 
Wait, so I should be using ref read-only with forwhile loops? 
you shouldn't
which is why using in as a synonym for it is a bad idea
ref readonly is for micro-optimisation use when you already have a piece of software which you need to make faster
e.g. stuff like Json.Net will be using ref readonly
Ah, I only do web apps. :v and haven't deployed anything yet.
Discord.Net/Wumpus.Net will likely be using ref readonly to reduce internal overheads
https://flywaydb.org/blog/flyway-5.0.0
Great news for all the java devs out there π
eww java : ^ )
Didn't know there was a DB called cockroach
they really screwed themselves with that name
did they really?
cockroaches never really die
therefore the DB never really dies
: ^ )
Mongo has to be the best name for a DB though, but at first I thought it was mango for some reason. :/
LOL
lmao sorry
@proper saddle If you want to see another framework like Angular, there is Vue.js, it's really worth it to at least take a look at it.
vue is p. nice
I already paid for a course, and there aren't that many vuejs jobs in my area, let alone with asp. Net
esp if you like angular syntax but don't like the separate file approach which angular takes
vue is kinda like the best of react and the best of angular
it also supports JSX if you're into that horrid amalgamate of a language
jsx is not a language π
i agree
I reinstalled node because I messed up on my angular project, not updating node packages anymore. 
jsx should not exist
I kind of like the react's way of having components view and logic in the same file but still separated (if you do it correctly).
yeah, vue does the same thing
Yeah, I was writing html in a js file, and vs 2017 was recommending a react package. :v
but doesn't have the horrible JSX syntax π
what is this horrible jsx syntax you are talking about? π
JSX is the worst Frankenstein pseudo code that I ever seen
Python is pseudo code done right.
@obtuse stump It's like putting HTML directly in a JS file.
this is JSX
Well, you can write shit code in any syntax π
if you want a better example:
React.render(
<div>
<a href="#" className="button">Button</a>
<div>{ipsumText}</div>
</div>,
document.getElementById('impl')
);
literally terrible
you put JS in HTML to make HTML responsive, not HTML in JS π
Well, hasn't bothered me, might have to try how vue handles this.

Jade/pug is way better for this kind of stuff IMO
vue has "angular-like" syntax:
<template>
<!-- your html here -->
</template>
<script>
/* your behaviour here */
</script>
and the html can contain custom elements with custom attributes, e.g. <v-footer app>
the custom elements refer to different components defined elsewhere
In React components all the html is in render method anyway.
So it makes it look more like php? :v
it's not really like php
And it contains other components, for example a footer component.
I was talking about react. 
e.g. in vue, a component could look like this:
<template>
<v-footer app>
<div>
Built from {{git_rev}}
</div>
<v-spacer></v-spacer>
<div>© {{year}} Discord Bots</div>
</v-footer>
</template>
<script>
import GitConfig from '~/config/git.json'
function getGitRevision() {
let author = GitConfig.author ? GitConfig.author : 'Unknown'
let sha1 = GitConfig.short_hash ? GitConfig.short_hash : GitConfig.hash.substr(0, 7)
if (GitConfig.tag !== undefined)
return `${GitConfig.tag}@${sha1} by ${author}`
else
return `${sha1} by ${author}`
}
export default {
name: 'page-footer',
computed: {
year: () => new Date().getFullYear(),
git_rev: getGitRevision
}
}
</script>
@proper saddle Yeah but worse IMO
Didn't know that was possible.
in react, it'd look like a return value of a render function something like this:
function render() {
return <v-footer app> /* ... */ </v-footer>;
}
at least I think
I forget
but yeah, IMO the vue approach is a lot cleaner
if you have it in a component
and doesn't horribly mix JS and HTML
plus, with the vue approach you can easily change languages:
<template language="pug">
div
span "test"
</template>
<script language="typescript">
/* typescript code here */
</script>
<style language="scss">
/* scss here */
</script>
which IMO is a lot nicer than having to create another language like in React with JSX π
it lets you use components written in completely different circumstances completely naturally as the internal state is hidden and you interface using the public api each component defines
And it works in CSR (Client Side Rendering), even if you can run it on SSR (Server Side Rendering, for SEO stuff)
React now has functional components as well, i.e.
<p style={context}>props.children</p>;```
But speaking of js in html vs html in js, dont see the real difference there. Might be just me being used to React, dunno.
It might be better on theoretical conceptual level, but that's it, imo.
In real life it's almost the same.
html in js means you absolutely require js, while js in html means it's still optional Β―_(γ)_/Β―
of course there's SSR, but IMO SSR makes more sense in the former situation
<template> </template > vs render() {}
And JS > HTML, JS is always in <script> tags, not inside any HTML tags
basically, I'd rather think of JS enabling HTML websites to be responsive, rather than JS as a way of generating HTML based on state
I can understand your reasoning, in my opinion it just doesn't matter in real life. Vue requires js to be displayed properly, so it is broken as well, when there is no js, as far as I understand.
Hi guys, could anyone possibly help me?
I am working on a group project using Visual Studio TeamServices. I'm doing a WebApplication on c# .NET and whenever I want to create an event for a button (Double Clickin on it), it doesn't do anything, however whenever another memeber of the group does it, it works for him. I tried on my laptop and desktop. π€
GLM, why you such a pain in the ass!
VS Code is amazing when it comes to Angular! o:
When I auto completed one of my components, it added it as an import for me. 
neural network dropout regularization be like: ```
-> throw some zeros at it and see what happens
=> train accuracy got worse but dev accuracy got higher
-> good, lets keep doing that
fantastic
anyone here familer with both OpenCL and Neural Networks?
if thats you, does this look right? granted memory allocation: https://hastebin.com/kuhumiraqi.cpp
Hi, could anyone maybe have a solution for this?
https://stackoverflow.com/questions/47734201/displaying-list-of-items-in-asp-net-c-sharp
the jokes are bad today
Anyone here write kernel mode/ring0 drivers before?
@proper saddle my family heard me groan at that from the other side of the house...
Watch this video to learn about the new features of Visual Studio Code, including multi-root work spaces, multiple source control systems, automatic TypeScri...
How do I fix a bug that doesn't happen when I start the app in Debug modeπ π π
Segfault. PyQt5. No clue how to proceed. ;-;
I ran it with valgrind. Crash doesn't happen. I haven't looked at the generated log file tho.
Currently away from the PC.
Anyone here know of a way to send an alert when someone decompiles your .jar? I know someone who managed to do that, I'm just not sure how, and haven't felt like asking them yet
@proper gale the crash doesn't happen when I run it with valgrind. Yay. YAY! π
same exe, crashes when run normally, but not when a debugger is attached?
It's a python file. But yes. Crashes when run normally, but not when a debugger is attached. The stack overflow link has the details
@proper gale
wiat a sec, python throwing a degfault?
check your working directory in non-debug mode.
im really not sure, thats a extremely odd error.
I fixed it. It was an issue with threading. @proper gale
I was using the watchdog module to watch a file for changes
And call a function in my class once a change is registered
But the function is called on a different thread
Which lead to the beautiful situation that occurred.
and the debugger fixed the race condition, standard with multithreading
Really? That explains it.
Wouldn't debugging be a pain when dealing with multithreaded code then? Since the debugger might fix the issue.
multithreading is a pain, hard to get right, easy to get wrong π
*depending on the language, some are easier than others
if you properaly synronnize, no.
if you dont properaly syncronize, yes.
@lost schooner
I see... I've never actually done multithreading, at least on purpose. But I'm gonna spend some time studying it now. I just got yet another thread related crash from GTK.
yea, thats a good idea.
I'm never ever going to expect any of my code to run on the same thread ever again.
if you know how an API works, then you can.
if you dont know, then there is a lot more you cant expect.
for example, with GLFW i know how it handles errors, and i know i can throw an exception back through it, beacuse i compiled the .a myself.
that does not apply to OpenCL, which i did not compile, and do not know how it handles error code returns (beause its not specification defined)
error code callbacks*
Hmm...
function pointers are nice, and also a pain in the ass.
OpenCL is the standard/method for running highly parallelized calculations on the GPU right?
So much to learn!
Do the proprietary ones perform better? Like Cuda on an Nvidia GPUs vs OpenCL on the same gpu
in a general use case, no.
for specific use cases (DNN) yes, beaucse nvidia has cuDNN and there is no clDNN yet.
though AMD/Intel are working on it.
i still bought a Rx Vega 64 for tensorflow
beacuse a frontier is too expensive, though at that point i would just get a wx9100
may still buy one or two of those, when i get a job.
here is an example of easy multithreading```java
List<Model.TrainingResults> resultsArrayList = Collections.synchronizedList(new ArrayList<Model.TrainingResults>());
Arrays.stream(train).parallel().forEach(image -> resultsArrayList.add(model.predict_train(image)));
That looks very much like C#
uses some java 8 parallelazation features
ahh, nothing like discovering new bugs first thing in the morning
β
ofc my collision logic won't work if hit normal vector is reversed on initial overlap
@torn remnant Cuda and OpenGraphicsLibrary are two very different things.
if you meant Cuda or OpenComputeLibrary, then im very biased toward open standards.
Yeah, my bad, meant OpenCL
OpenCL would be cool if you plan to ship software for both AMD and NVIDIA (or Intel) GPUs. But CUDA would be more powerful on NVIDIA GPUs than OpenCL
@little knoll no its not.
with properly optimized code for both APIs, OpenCL and CUDA are equievilent in speed.
@proper gale Not completely true, but the only exceptions are extremely rare, special cases
Deep neural networks, which dont have properly optimized code on OpenCL
Yep, and afaik a couple more specific use cases which can abuse the architecture better, but don't look at me for specific examples π
at that point you are not writing code in Cuda C or OpenCL C, but rather in Pascal/Vega/etc ASM
Though, for some use cases, there is also DirectX Compute shaders, though the usage is more restricted
OpenGL has compute shaders aswell
and Vulkan is being merged with OpenCL, for full fat GPGPU with graphics
Oh, it does
Yes, my Google-Fu does work, when I do use it π I'd even say it's the first skill every programmer has to learn lol
that it is
in a objective comparison of performance
CUDA == OpenCL
OpenGL > Dx11
Vulkan > Dx12
dx12 is an odd ball beacuse there is no good game on it.
even a microsoft supported title (ROTR) doesnt have a good dx12 port.
I know it supports Vulkan for rendering, but not sure about compute
Is it true that if your GPU supports Dx12 then it supports Vulkan?
It does since 5.6
The problem is that Vulkan might not be available for the compiler pipeline
@lost schooner no
it usually is the case, but neither require support of each other (hardware wise)
Vulkan takes SPIR-V, which can be made from HLSL
Then that might work
shaderc supports both GLSL and HLSL iirc
I just fear that even if Unity does somehow support it, it's still a 2nd grade citizen compared to DX12
Which is just stupid, considering it's a multi-platform engine
that is why i like the idtech 6 engine
Nope, Vulkan is in it but its experimental
hmm? idtech has the best Vulkan of any engine.
i know it still uses parts of Dx
Last time I checked, the older ones sucked compared to the current UE4
not a fair time comparison.
No, it isn't, but we're talking about current tech
UE4 would be such an amazing game engine to work with if blueprints didn't make me cringe, and if I had enough experience with C++ to trust myself not to bleed my PC to death with it.
C++ is not that hard
just avoid the new operator and you are good.
does this look good to you? https://git.roguelogix.net/Cubit/CubitClient/blob/master/cubit/vk/shaders/Processor.cpp
What I mean is
shocking name
Never seen .hpp extension header files
oh, i prefer that to .h beause it clearly says IM C++
and im using .cpp so i wasn't going to use .hh or .hxx
.hpp was the logical choice
there was and at some point will be C code in there, so i want it seperated.
I think I've spent far too much time working with C#
i like the VM language i know
What I mean is
I'm actually finding myself surprised at having methods in a namespace
It's been years since I last touched C++
But even back then, C# was my primary language, and habits do carry over
Java is my "primary" language in the sense that its what i know best, and where my coding habbits come from.
despite not using it as much as C++ right now.
Fairly sure you can only define methods inside classes in Java as well
correct
but Java, and C# afaik, is heavily OOP designed.
C# feels like a far more advanced Java, but otherwise the same. Though I've heard Java did take some of the goodness
Like lambda functions
yup
Only took like 10 years
List<Model.TrainingResults> resultsArrayList = Collections.synchronizedList(new ArrayList<Model.TrainingResults>());
Arrays.stream(train).parallel().forEach(image -> resultsArrayList.add(model.predict_train(image)));```
parallel stream using lambdas
I have a serious grudge against Java
thats fine, Kotlin is better anyway
So I've heard, never tried though
But again, it's made by JetBrains
And they know what they are doing, when it isn't buggy.
its better, but i have not taken the time to learn it.
yea, about JB and buggy shit
i run on the EAP IDEs from them.
bugs are suprisingly uncommon.
even on the beta features.
It's kinda sad though that they had plenty of time to develop an entire new language, better than Java for the same compiler, by the time Java even had proper callback functions.
Who the hell decided that it makes sense to pass an anonymous class inheriting from some interface to implement a callback function?
I think so too
I haven't had many issues with their IDEs, but when I do...
It's hell
true
It literally means you can start working in notepad or whatever
And use the console commands
Because their IDE is dead until the next release
you could always roll back the IDE
Not always, and sometimes the issue requires fixes to their metadata files
Though I guess you can just rollback
Wipe the .idea folder
And re-open the project in an older version
Still, they make the best IDEs after Visual Studio for sure
Assuming you use ReSharper, yeah
yea, i dont do C# so im looking at the C++ side of VS.
But again, I find even the base VS better, even if the Intellisense is lacking
Hmm
I could get cmake working just fine
oh, i could too.
Then again, I usually use ReSharper
Even for C++
So that might be the thing doing the trick
but tell me, how do i make it use MinGW-w64 instead of MSVC?
CLion is still buggy with MSVC afaik, so i have to use MinGW with it
and MSVS wont use MinGW, so i would have to use MSVC.
I just use the WSL version of cmake
i would like to be able to use both IDEs
the reason i want MSVS is for nvidia nsight
not about to dive into that file
ill use external graphics debuggers first.
and/or find a way to detect GCC/MinGW vs MSVC for the libs (actual problem with using both compilers)
{
"version": "0.2.1",
"defaults": {},
"configurations": [
{
"type": "cppdbg",
"name": "helloworld.exe",
"project": "helloworld.exe",
"cwd": "${workspaceRoot}",
"program": "${debugInfo.target}",
"MIMode": "gdb",
"miDebuggerPath": "${env.MINGW_PREFIX}\\bin\\gdb.exe",
"externalConsole": true
}
]
}```
i have VS installed on my laptop (and MinGW obv), so i could try.
last i tried, it was borked
Should I just see if I can set it up with your Cubit Client project?
We shall see.
Oh
I thought for a moment this project was huge
Then realised it's just gitlab being slow as hell
O wait, that's not even the default gitlab
Is that your own VPS, or a hosted thing?
that it is
its running on a dual core ARM cpu so its slow AF
the libs are quite large though
mostly boost
@torn remnant
Hmm
$16.80 a month for a 2tb drive and unlimited traffic, ill take it.
I guess
i have faster stuff, just rather share a OVH ip than my own.
its not the network, its the CPU
Done DLing
Yeah
Oh
Win32 not supported?
Hmm
I think I'm missing a file
@proper gale Options.hpp?
Oh joy
You have a couple of those
oh, thats just git being git and not syncing shit correctly.
you can just delete that from the cmakelists
On the bright side
@proper gale I'll need a newer CMakeList.txt
This seems to have dependencies all over the place that don't even exist anymore
no, the deps are for mingw not msvc
But at the very least, it tries to compile π
It's using msvc
But
cubit/graphics/Engine.cpp cubit/graphics/Engine.hpp```
its not, just merging fucked it.
it was an ancient one merged with a not so ancient one.
yup
i did push that to the gitlab server
It's also looking for a Pipeline.hpp when there is only Pipeline.h...
The beauty of C++
At least now I can remember why I don't mess with C++. Config is a pain
Though, to be fair
I think there should be an easier way than declaring every single included file in the make list
Wildcards?
not sure.
Though I guess the compiler can't figure the load order otherwise
Which is kinda sad
I wonder what stops C++ from loading files implicitly on-demand
Hmm. I guess having a global namespace kinda requires a manually configured load order
Still, I'm fairly sure almost all of the load order can be inferred implicitly from includes
impl of a header can be across multiple cpps
and i can have mutliple different ones for different exes, within a project
If you're interested in recent build tools, I recommend taking a look at bazel
@proper gale Well, apparently my mingw gcc compiler is broken
mingw32 seems to be working
But
Nope
Not even that
It's failing the compiler test from cmake
Never gets to actually trying to build the project
becuase ptr size is 4 not 8
Not your project
CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/CMakeTestCCompiler.cmake:52 (message):
The C compiler
"C:/MinGW/bin/gcc.exe"
is not able to compile a simple test program.```
Even a simple & "C:\Program Files\CMake\bin\cmake.exe" . -G "MinGW Makefiles" does that
is mingw-w64 working
do you have it installed?
Not yet. But that doesn't change the fact that my existing MinGW installation is borked
with posix threads and seh exceptoins (even though that shouldn't matter because i dont directly use threading or exception stuff)
@proper gale I have the original mingw installed, not w64, so I'm installing w64 now.
ok, yea it wont work with mingw because its 32bit
i know thats not your mingw's issue, but even despite that, my project would crap itself.
I can make it try to run Cmake in MinGW mode, and I can make it try to attach to the exe files while it starts
Obviously, neither actually works without a usable compiler and a usable executable
The trick is
{
// See https://go.microsoft.com//fwlink//?linkid=834763 for more information about this file.
"configurations": [
{
"name": "x64-Debug",
"generator": "MinGW Makefiles",
"configurationType": "Debug",
"inheritEnvironments": [ "msvc_x64" ],
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": ""
},
{
"name": "x64-Release",
"generator": "MinGW Makefiles",
"configurationType": "RelWithDebInfo",
"inheritEnvironments": [ "msvc_x64" ],
"buildRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\build\\${name}",
"installRoot": "${env.USERPROFILE}\\CMakeBuilds\\${workspaceHash}\\install\\${name}",
"cmakeCommandArgs": "",
"buildCommandArgs": "-v",
"ctestCommandArgs": ""
}
]
}``` at the root
Which allows you to run Build on the cmake file
Though probably that inherit environment is wrong
Or maybe not
Probably not
Then you just need the default launch.vs.json file generated by VS
It'll offer ${buildRoot}\CubitClient.exe in the dropdown
Mind you, I'm on the latest Pro version of VS
But I dont think Pro would affect access to build tools
i dont think it does
It took me at least 20 minutes to realise I didn't have CMake installed on this computer
just doesnt want to load the cmake project for me
Which would be... hell, idk, 2017.4?
You don't load the project
You open the folder
its the latest, afaik
i know, it wont open it as cmake, despite having cmake installed
The thing is
It found the cmakelist file for me
Even without cmake installed
Do you have the tools installed for it?
The 2017 installer is finicky
Sometimes not all the tiny bits get installed
Launch the installer, check under Individual Components
Er
You need the CMake module of VS
That is what gives you the menu for it
Lemme find it in the installer
i have that, i think.
if you have it, you should have a CMake option in the top menu
Then you are missing the Cmake module of VS
aparently it needs updating, maybe.
2017 frequently does
installer is doing something.
They release a patch like every 2 weeks
Probably some misc patch
Some small stuff
Or they just add a new feature that completely breaks resharper
(Happened like 2 months ago)
They added CTRL+Click source navigation
Something R# had for like, a decade
But since R# also has it, it caused double navigation
And also broke backwards nav
i have it set to Ctrl+B, whcih is the idea hotkey
and i have R#++ override the VS hotkeys
You set your VS to work like Idea
i used IDEA first soooo
Β―_(γ)_/Β―
Β―_(γ)_/Β―
just the keys you are used to, and the ones i am used to.
installer just installed cmake
@proper gale
You need the 5 th item on the right side
Visual C++ tools for CMake
π
It's an optional thing under
Desktop development with C++
i have that
eww, visual studio for C/C++
@hexed panther Any experience with this? GDI drawing and dwmflush() runs smoothly most of the time but sometimes goes into this weird state where the window drops every few frames but still runs at 60 fps. the frames just aren't displayed. that is untill I minimise and restore.
inb4 don't use GDI <--- thanks I didn't already know that
That might be a result of your update
I wrote this code after the update
Graphics might have been your slow shutdown issue. Where it couldn't "stop or slow down" in a sense
So I don't know what it ran like before it
Maybe Jakkuh might have an idea
@bright olive any ideas?
Is that a sin?
That ping
didn't check who I was pinging
Probably
I should probably just get into the newer DirectX API's
Yeah that would help
Wanted to learn the legacy drawing library before getting into the newer things
That's a good idea in all
Why?
Idk. I was asking him admittedly provocative questions like "don't you want to know what's going on under the hood"
lol
He didn't take kindly to that. He said something like: "if you want to achieve something it's nice not to have to worry about that stuff"
Which I guess is true
I've gotten so used to deallocating heap memory that I almost feel uncomfortable not doing it in languages where garbage collection and things are a thing
I don't use smart pointers btw derp
probably will at some point
I'm just learning atm
I would
smart pointers are nice
I think I wrote what is essentially a smart pointer for COM objects
Lol
Because I had to do recursive things in COM
Which is not something I would want to manage manually
i dont deal with GUI ever sry lol
lol np
@obsidian bluff smert * very smert
Hmmmm?
smert pointers
GC is nice, GC is slow
Manual is a pain in comparison, Manual is fast.
Any ideas about my GDI frame drops @proper gale?
nope
Qt?
glfw
What about UI design
can glfw do that?
Or do you just write interfaces in openGL?
Is anyone good with google my business? It's being really frustrating
Elaborate
@wooden ravine me! At least neutral.
<@&375453001902718976> I think the channel topic should be: print "Talk about developing here!"
Or WriteLine("Talk about developing here!");
I'm not 100% sure, but that's what I think.
It should be Console.Log('talk about deving here'); because floatplane is using NodeJS. :V
But it dones't really matter.
I started to think about how to write it in pseudo code, but it always ending by being valid python code :/
Β―_(γ)_/Β―
xd
Python is easy, as long as you have the right mindset. Subscribe for more startup and tech related humor! http://bit.ly/2zeODxX Want to learn how to become a...
Encoding.UTF8 is also available on System.Text.Encoding.UTF8 or something. That's about what I know about C#. Maybe that's even .NET. Who knows.
@merry heart print('talk about deving here') is valid python 3
But real Python devs use Python 2
We should do a strawpoll to know which language we should use for channel desc.
Yes
Idk
I keep messing up. :V
(I'm not expert of languages)
I know only few languages
You can do your own better.
We should add ASM, Pascal, LUA and Perl. If someone is still stuck in 80s...
I have lua on there already. :V
ASM is for people who hate themselves
I forgot VB and Haskell.
DX
Oh, I have it figured out! System.WriteLog "<h1>talk about deving here</h1>";
But only 8 people voted, and it's not a mod sanctioned poll. :V
C++ is second, HELL YEAH!
The only sensible compromise is to use PowerPC Assembly
+1
Why not go a step further, and have it in binary?
01110100 01100001 01101100 01101011 00100000 01100001 01100010 01101111 01110101 01110100 00100000 01100100 01100101 01110110 01101001 01101110 01100111 00100000 01101000 01100101 01110010 01100101
on the forum the description is FUN in binary
Oh, but reinstalling it is really easy. You just have to type sudo apt-get install sudo in your terminal. :V
I would say (in the best order): HTML, Java, C#, binary
jQuery is not a language, FYI
That's why I mentioned it earlier. :V
jQuery is a library written in JavaScript.
html
language
hmmm
i mean if you qualify markup language
otherwise you should say "programming language"
I am taking programming I at my school right now and am taking programming II next semester, we are learning visual basic and I am pretty sure that is the only language we acutally really learn anything in. What and how would you recommend I go and learn more useful code on my own
learn a different language, start with anything like python, javascript, java, etc, go through some tutorials/guides and make simple programs
If you want to learn use this
Itβs the gentoomen library
3616 files (36 gb) epubs and pdfs from programming to security to design to ai
error : Unrecognized type 'FCollisionShape'
VS could you not
it's barely noon
too early for this shit
Still no one here that's written and signed kernel mode windows drivers?
One day I will find someone to help me!
@little knoll you said "LUA" and I am here to make sure than you know never to call it "LUA" because it is not an acronym of some fancy word shit, it is simply a name and should be stylised as Lua or if you are using it for practical purposes and are on linux, lua is perfectly acceptable for ease of use
But never LUA
EVER
Good to know, I shouldn't set my XPS on sleep (by closing it) as a VM is running on VMWare...
Is there a good way to learn C++ if you have some pretty decent language knowledge? (C#, Python, Java, JS)
if you have decent knowledge already i'd think you would be able to just dive in, no special way or anything, maybe port over a program you've made
o ty
@bitter jungle i dove into C++ from Java, most of what you learned with Java still applies to C++.
there are significant differences, but also a lot of similarities aswell.
O nice, I was looking at it because as a language it seems significantly faster and more robust than most
Whatβs the easiest program to create a FPS on- need it for school
do you know a programming language?
Python
ok, google python game engine
if you dont need high performance (i imagine not) then that is your best bet.
@bitter jungle also, its very much not robust if you are a beginner
it lets you dick with memory.
in ways that can crash your application
If you're worrying about memory management you're doing something wrong
@elder dirge Try unity script
There are heaps of tutorials and you can get hand held through things
If you need to create an engine etc...
You're going to have to learn C++
And a lot more than that
Actually if I absolutely had to make my own game engine and only knew Python I'd just spend a while just reading books, a couple C++ but the rest about game engines and the maths behind it
Probably spend a month or few just reading books
Then just dive into writing it in C++ without much practice
Because if you can't dive into C++ you're not going to dive into making a game engine
Jubjub, I have a friend that I might be able to bring in here, works on both linux and windows kernels
he's kinda up in his age, I think like.. late 30's or early 40's.
he isn't a pro, but has a couple years experience with linux kernels and about a year with windows. idk.
I'm literally just trying to setup deploying and it won't work
With the hello world tutorial from microsoft
Deploys but then it doesn't hit any breakpoints
I also don't think it's actually loading the driver
well guys raspberry pi is screwed
π€
that litterally looks like they stuck another gig of ram to a raspberry pi and spray painted it white
@whole quail i mean, im working with OpenGL and Vulkan (C API versions). soooo i kinda get segfaults up the ass when i do something wrong.
No one learning C++ should have those issues
he specifically stated game stuff
also, you shouldn't, but noobs will find a way.
espically coming from python.
Yeah, if he's doing OpenGL/DX the issues encountered will be because of dealing with that, not becuase of C++
Also using C in C++ is a whole other issue
It's actually such a pain
that it is
so is the JNI (C++ -> C -> Java and vice versa)
its as bad as it sounds.
C++ doesn't create any of those issues on its own though
no, it does not
And if you're learning C++ and game engine implementation
Learning C++ should be an afterthought
There's a bigger mountain to climb first
game engines
There, more specific π
yea, i can agree
its a pain in the ass
partially the graphics API, partially the project, partially C++, etc, etc, etc.
C++ not the largest of the problems, by any means.
Vulkan, is a pain, in every way you think it would be
There's a mountain of maths, history and computing technology you need to know BEFORE you can create a game engine
After learning all that C++ will come really easily
linear algebra, fixed function pipline, GPGPU, programmable pipline, etc
linear algebra being the most fun aspect of that
Also data types, computing history, a tiny bit of cpu architecture, etc...
Since you not only need to know how it works in maths, but on a computer too
to make a game engine, what history do you need to know?
Computing history
understanding how a CPU and a GPU work to properly write code for it, is most definely nessacary.
You'd be surprised how much computing history we pick up
You learn a lot about how people did things years ago while trying to learn how to do them now
i know more computing history than my computing teacher.
Example: Fast Inverse Square Root
To understand it you need to learn a bit of history
And context
Why they were using it in the first place
What it was used for
Why it was important
i mean, sure, but is that still used today (i honestly dont know)
why?
i see the use in knowing how to find normals, and the math behind it
but not this specific function.
Because it still exists
You need to know what it is if you're working with anything that uses it
if you are working directly with the funciton, yes
if all you need is a float inverse_sqrt(float) function for graphics, it does not matter.
Speaking of it shouldn't take this long to make the floatplane website
From what I've hard, there's only one other person besides Luke on the team. :V
And I'm not sure if Luke is programming for it.
I've developed a video platform and it took me a couple of months
They could be doing a lot more than what you were doing though.
And it was using the same technologies as far as I know. NodeJS, FFMPEG I used VueJS rather than AngularJS. etc.
I don't dispute that although you can only do so much for a video platform.
looks at youtube
They're also buiding in livesteam, which probably shouldn't take up an extra 10 months, but still. :V
The difference is that YouTube just keeps changing for reasons other than providing video. E.g. why Floatplane is being developed in the first place.
And I built a blog in a few months, which isn't too different than a video steaming site. :V
one of the problems if a video streaming service, that is diffucult to overcom, is actually streaming the data (not how its encoded, disks, etc)
Although, some of the code was provided for me. :[ But I'm tring to rebuild it in a different tech stack.
YT uses Hoogle's datacenters around the world for a distributed load
Using NodeJS make it easy to stream
dont know if you have ever tried to do that, but its not easy.
decentralization is very very difficult.
It really is I've done it. Especially if they have a Comp Sci degree
I haven't nor have I used Node outside of NPM. :V
to do properly.
not just gimick decentralization using a centeral controlling server
The hireing process required a Comp Sci degree and with the knowlage of that the new employee should know how to do it properly. And it shouldn't be decentralized, there is no need to make it decentralized.
What you said doen't make sense "decentralization using a centeral controlling server", decentralization doesn't use a "central controlling server"
hence the gimick part at the begining
You're thinking of microservices. Which is easier than you think, as it decouples everything making it easier to work with / develop
But disclosure on what they're doing would be nice.
Luke also has to do other work too, he doesn't just sit there all day working on it
I wasn't trying to π© on anyones parade, it was just an observation and that fact that they hired people to do it. To get the job done. I respect what they're doing, I just can't wait to see what they have done.
LOL
lmao
hahahahahaha
Thinking a comp science degree actually means anything?
Also yes, decentralisation is easy, if you're an experience developer
But floatplane is at a scale where you need more than 1 developer
So that means you need more experienced developers
But now you've created problems because of having multiple devs working on it
So you need a leader/manager
You now reaccessed the situation and need to start planning because money is involved
You go to start programming and issues/features start arrising that need to be solved
You go through and plan ways to solve them
Now you can finally start programming
Until you run into a major issue or finish
If you run into a major issue it's a bit more planning
Then programming
And repeat
hold on, /r/ProgrammerHumor/ has something for this exact situation
Mutiple developers doesn't mean you need a manager, it depends on if you use an aproch from a agile methodology (and which you use). Many modern day approches do not use managers and are acually better for such things as Software Engineering / Development. Belive it or not 5 developers is the perfect per project ratio.
dudes, i'm working on angular 4 framework and i have this table where i show users, is there a way to conditionate so one specific user doesn't have "Eliminar" button? It means Delete in spanish, i don't want Admin user to have a Delete button, but I want him to be in the list
Do you think it's possible?
@tranquil dew which is why I said leader/manager
jetbrains, what the fuck are you doing?
wtf man, you have an rx vega and a gtx 970?
yeah, problem?
would be a 980ti, but a) its being used for mining, and b) block is corroded and i had the one for the 970
@low stirrup
its a development computer
so its got some odd choices, for the average user.
like 64GB of ram.
typical jetbrains, maxing out the cpu cuz y not
that was launching Clion and IDEA at the same time soooo
would have been launching PyCharm but Clion supports python
I'm meant to have 64, but the store only had 3 of the 4 packs i needed when i bought the parts a few months ago, they still don't have another pack in stock
DL is the reason i bought my Vega 64, why i left my 970 in here, and part of why i have 64GB of ram.
yes im aware most DL software doesnt run on Vega, hence 970.
and the one my class uses (TensorFlow) does soooo, moot point.
@whole quail you do DL?
@proper gale If I ever have time to do anything
It's helpful to dable in a large range of stuff
That way when I encounter them I can use the things I know to exploit and abuse things
me, dabble in graphics (OpenGL and Vulkan), GPGPU (OpenCL), and DL.
reading the Vulkan spec right now
its fucking long
LOOK AT THIS SHIT! ITS SOOOOO LONG https://www.khronos.org/registry/vulkan/specs/1.0/html/vkspec.html
what CPU?
i7 6800k @ 4.1
earlier in the year
why?
amd can go fuck themselves
for the 6c/12t
cause i hate amd
why?
I dabble in, DL, Cuda, trying to write windows drivers >:(, win32 of course, some unreal engine, web apps - front and back but mostly back, IoT, embeded systems, some hardware level stuff like chip design, used to do a lot of iOS related stuff, game hacking, reverse engineering, I help make a gta v mp mod, networking, some 3d game engine stuff, game modding/scripting and a bunch of general hacking
amd: comes with a heap of bullshit software
Intel: only one piece of software, Turbo boost
Cyber security is basically all the areas
my 1700x didnt come with a CD or USB soo idfk what you are talking about.
So it really helps for me to learm about most comp science areas
ok, if i list all the shit to that detail
cba charging my laptop to show you
ok, listing things with unique aspects
DL, OpenCL (Cuda), Android, Native Android/ARM (its not the same), networking (code), 3d rendering, parallel processing, cross platform C++, enterprise Java, and ofc game modding.
havent messed with anything embeded, IoT, hardware, or iOS (fuck apple).
(You may not want to be so bias with IOS, a large share of mobile users exist there. If you ever want to make mobile apps or games that is)
i dont develop apps for mass use.
fuck apple. Android dominates
the reason im wruting a Android app at all is a robot controller, and the native part is for faster OpenCL access for DNN autonomy.
doing the most absurd stuff in FTC because why the fuck not.
there is no rule aganst using the camera
Though all these people saying "fuck apple" when giving no reasons amuses me. (not you)
so im going to use the high resolution color sensor attached to the controlelr.
Apple products have their uses
People just use them for everything else
And claim they are the best
i can give many reasons why i say fuck apple
Aslong as they are valid, I dont have an issue xD
i have apple products
apple is good for one thing, breaking
most proud one is a Power Mac gG4 350Mhz
still runs 18 years later.
least proud one was replaced by a Google Pixel
I think I may have a G4 in my garage somewhere.
has no bloatware
nice thing about Google phones, they are 100% stock android
its a nice, clean, fast, OS.
at least it is on the Pixel
I don't care about a headphone jack on a phone
On a daily driver laptop/tablet I care more
Other than that as long as the audio quality isn't hindered by it I don't care
i replaced the headphone jack on my laptop because i used it to the extent of failure.
My work laptops headphone jack is stupid.
Only has 3 notches, not 4.
So any devices that have an integrated mic dont work
good thing it wasnt an apple, so i didnt have to grow a new one
there are splitters for that
and i a 4 prong should work fine in a 3 prong slot.
granted, i did get a new laptop, beacuse the charge controller (other board) wanted to pull and EVGA.
@proper gale what os do you use for a laptop?
very happly with my GL503VM-DB74 (Strix Hero edition)
windows, because linux wont run right on it.
Fedora freezes, Ubuntu is slow and the Nvidia drivers wont install
Nvidia and Linux do not get along
the offical Nvidia drivers work fine for me on my desktop
Stock Ubuntu is terrible
I don't want bloatware lol
i still prefer the stock gnome UI that there is on Fedora but ehh
Dual boot kali and lmde is my ideal pc
if i dual boot, its windows and fedora (1st choice) or Ubuntu (2nd)
Eh with the Kali
I keep my Kali instance on a 64GB USB 3.0 drive
No real point in dual booting it.
my desktop will be running Ubuntu 16.04 gnome because i need the ROCm driver, which only runs on 16.04...
@woeful wedge I don't trust USB responsiveness
or RHEL, SUSE/CentOS but im not running those.
Ive never had any issues with it, and I use it daily.
I have a PowerBook G4 17" 1GHz (2003) and a PowerMac G5 2.4GHz (early 2005), both are still working perfectly fine.
JNI is fun.
10/10 would boost commit count again
is the resident linux guru online?
Ubuntu refuses to work with my 970 and Vega at the same time.
@proper saddle forgot Node.js
god fucking fuck it emscripten
So, I have a very peculiar use-case which I'm using emscripten for w/ webassembly, and emscripten is giving me vague-ass errors which i have no fucking clue how to fix
Module.instantiateWasm callback failed with error: LinkError: WebAssembly Instantiation: table import 108 has maximum larger than maximum 22592, got 5c40
@proper gale the hell were you running on firefox
I have three windows of Firefox open, each with about fifteen tabs each, and I'm apparently only using 286.9 MB of RAM for all of that
Do you have an Adblock?
No Iβm just really interested
i had probably two windows worth of tabs open
Well damn


