#development

1 messages Β· Page 26 of 1

carmine relic
#

this is why I need a 1700X

winged zodiac
#

I use vultr

#

They have a massive library

carmine relic
#

doesn't really help when I need to compile an sdk on my computer to use it

winged zodiac
carmine relic
#

oh, not me

#

nevermind

proper gale
#

what sdk?

carmine relic
#

it worked πŸ˜„

bright olive
#

digitalocean/vultr/cloud provider of any sort + serverpilot is awesome for hosting PHP apps

#

like wordpress and most CMS πŸ˜›

proper gale
#

Programmers Hate PHP

whole quail
#

PHP is fine in its own niche area

dreamy linden
#

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. 😜

pulsar shadow
#

Php works great it just has a syntax that doesn't follow normal logic

autumn dune
#

After being forced to use PHP, I ended up liking it - eventually...

lone monolith
carmine relic
#

@dreamy linden I'm not that rich though πŸ˜›

#

sorry for the super late response

#

was sleeping and doing work

#

lmao

dreamy linden
#

@carmine relic even the used ones that you can get on the cheap from eBay are exceptionally good, compared to consumer-grade CPUs.

warm pebble
proper gale
#

1700x is a beast for its price.

lost schooner
#

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.

carmine relic
#

R.I.P. C#, destroyed by the in alias for ref readonly

proper saddle
#

C# Master race though FeelsBlobMan

carmine relic
proper saddle
#

Wait, so I should be using ref read-only with forwhile loops? thonk

carmine relic
#

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

proper saddle
#

Ah, I only do web apps. :v and haven't deployed anything yet.

carmine relic
obtuse stump
carmine relic
#

eww java : ^ )

proper saddle
#

Didn't know there was a DB called cockroach

rich hill
#

they really screwed themselves with that name

carmine relic
#

did they really?

#

cockroaches never really die

#

therefore the DB never really dies

#

: ^ )

proper saddle
#

Mongo has to be the best name for a DB though, but at first I thought it was mango for some reason. :/

rich hill
#

LOL

carmine relic
#

eww mongodb

#

best typo of db as bd though

proper saddle
#

I'm on mobile ;-;

carmine relic
#

lmao sorry

proper saddle
#

It's fine. :v I'm home now

#

Just downstairs atm

#

Need to learn more Angular. :v

little knoll
#

@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.

carmine relic
#

vue is p. nice

proper saddle
#

I already paid for a course, and there aren't that many vuejs jobs in my area, let alone with asp. Net

carmine relic
#

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

obtuse stump
#

jsx is not a language πŸ˜ƒ

carmine relic
#

i agree

proper saddle
#

I reinstalled node because I messed up on my angular project, not updating node packages anymore. blobeyes

carmine relic
#

jsx should not exist

obtuse stump
#

well, then rename the files to js

#

problem solved

carmine relic
#

I don't write/use JSX πŸ˜›

#

I'm just stating the options

obtuse stump
#

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).

carmine relic
#

yeah, vue does the same thing

proper saddle
#

Yeah, I was writing html in a js file, and vs 2017 was recommending a react package. :v

carmine relic
#

but doesn't have the horrible JSX syntax πŸ˜›

obtuse stump
#

what is this horrible jsx syntax you are talking about? πŸ˜ƒ

little knoll
#

JSX is the worst Frankenstein pseudo code that I ever seen

proper saddle
#

Python is pseudo code done right.

little knoll
#

@obtuse stump It's like putting HTML directly in a JS file.

carmine relic
obtuse stump
#

Well, you can write shit code in any syntax πŸ˜ƒ

carmine relic
#

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 😠

obtuse stump
#

Well, hasn't bothered me, might have to try how vue handles this.

proper saddle
little knoll
#

Jade/pug is way better for this kind of stuff IMO

carmine relic
#

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

obtuse stump
#

In React components all the html is in render method anyway.

proper saddle
#

So it makes it look more like php? :v

carmine relic
#

it's not really like php

obtuse stump
#

And it contains other components, for example a footer component.

proper saddle
#

I was talking about react. blobeyes

carmine relic
#

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>&copy; {{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>
little knoll
#

@proper saddle Yeah but worse IMO

proper saddle
#

Didn't know that was possible.

carmine relic
#

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

obtuse stump
#

if you have it in a component

carmine relic
#

and doesn't horribly mix JS and HTML

obtuse stump
#

it is just
render(
<footer>
</footer>
);

#

ah, sorry, return missing πŸ˜›

carmine relic
#

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

little knoll
#

And it works in CSR (Client Side Rendering), even if you can run it on SSR (Server Side Rendering, for SEO stuff)

obtuse stump
#

React now has functional components as well, i.e.

  <p style={context}>props.children</p>;```
carmine relic
#

yeah, vue works in both SSR and CSR

#

nuxt is a good example of using vue for SSR

obtuse stump
#

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.

carmine relic
#

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

obtuse stump
#

<template> </template > vs render() {}

little knoll
#

And JS > HTML, JS is always in <script> tags, not inside any HTML tags

carmine relic
#

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

obtuse stump
#

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.

viral marsh
#

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. πŸ€”

proper gale
#

GLM, why you such a pain in the ass!

proper saddle
#

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. blobgrin

proper gale
#

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

proper gale
#

anyone here familer with both OpenCL and Neural Networks?

viral marsh
proper saddle
proper gale
#

the jokes are bad today

whole quail
#

Anyone here write kernel mode/ring0 drivers before?

tranquil girder
#

@proper saddle my family heard me groan at that from the other side of the house...

proper saddle
lost schooner
#

How do I fix a bug that doesn't happen when I start the app in Debug mode😭 😭 😭

proper gale
#

debug in non-debug mode.

#

@lost schooner

lost schooner
#

Segfault. PyQt5. No clue how to proceed. ;-;

proper gale
#

oh, oh.

#

valgrind?

#

if you can run it on linux that is.

lost schooner
#

I ran it with valgrind. Crash doesn't happen. I haven't looked at the generated log file tho.

#

Currently away from the PC.

graceful silo
#

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

lost schooner
#

@proper gale the crash doesn't happen when I run it with valgrind. Yay. YAY! 😭

proper gale
#

same exe, crashes when run normally, but not when a debugger is attached?

lost schooner
#

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

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.

lost schooner
#

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.

proper gale
#

and the debugger fixed the race condition, standard with multithreading

lost schooner
#

Really? That explains it.

#

Wouldn't debugging be a pain when dealing with multithreaded code then? Since the debugger might fix the issue.

obtuse stump
#

multithreading is a pain, hard to get right, easy to get wrong πŸ˜ƒ

#

*depending on the language, some are easier than others

proper gale
#

if you properaly synronnize, no.

#

if you dont properaly syncronize, yes.

#

@lost schooner

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.

proper gale
#

yea, thats a good idea.

lost schooner
#

I'm never ever going to expect any of my code to run on the same thread ever again.

proper gale
#

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*

lost schooner
#

Hmm...

proper gale
#

function pointers are nice, and also a pain in the ass.

lost schooner
#

OpenCL is the standard/method for running highly parallelized calculations on the GPU right?

proper gale
#

one of them, yes.

#

its a pain in the ass.

#

there is also SYCL, OpenMP, Cuda, etc.

lost schooner
#

So much to learn!

proper gale
#

OpenCL just kinda runs on everything

#

even FPGAs

lost schooner
#

Do the proprietary ones perform better? Like Cuda on an Nvidia GPUs vs OpenCL on the same gpu

proper gale
#

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)));

lost schooner
#

That looks very much like C#

proper gale
#

thats Java

#

basically the same thing, syntax wise

proper gale
#

uses some java 8 parallelazation features

rocky hamlet
#

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
#

I should learn CUDA or OpenGL

proper gale
#

@torn remnant Cuda and OpenGraphicsLibrary are two very different things.

#

if you meant Cuda or OpenComputeLibrary, then im very biased toward open standards.

torn remnant
#

Yeah, my bad, meant OpenCL

little knoll
#

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

proper gale
#

@little knoll no its not.

#

with properly optimized code for both APIs, OpenCL and CUDA are equievilent in speed.

torn remnant
#

@proper gale Not completely true, but the only exceptions are extremely rare, special cases

proper gale
#

Deep neural networks, which dont have properly optimized code on OpenCL

torn remnant
#

Yep, and afaik a couple more specific use cases which can abuse the architecture better, but don't look at me for specific examples πŸ˜›

proper gale
#

at that point you are not writing code in Cuda C or OpenCL C, but rather in Pascal/Vega/etc ASM

torn remnant
#

Though, for some use cases, there is also DirectX Compute shaders, though the usage is more restricted

proper gale
#

OpenGL has compute shaders aswell

#

and Vulkan is being merged with OpenCL, for full fat GPGPU with graphics

torn remnant
#

Oh, it does

proper gale
#

mhmm

torn remnant
#

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

proper gale
#

that it is

#

in a objective comparison of performance
CUDA == OpenCL
OpenGL > Dx11
Vulkan > Dx12

torn remnant
#

How does OpenGL compare with Dx12?

#

That's the question of the day, isn't it

proper gale
#

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.

torn remnant
#

mm

#

Can Unity3D do Vulkan Compute shaders?

proper gale
#

idk

#

i dont think so.

torn remnant
#

I know it supports Vulkan for rendering, but not sure about compute

proper gale
#

oh, then yes.

#

i didn't know unity had Vulkan

lost schooner
#

Is it true that if your GPU supports Dx12 then it supports Vulkan?

torn remnant
#

It does since 5.6

#

The problem is that Vulkan might not be available for the compiler pipeline

proper gale
#

@lost schooner no

torn remnant
#

mm

#

Unity uses HLSL

proper gale
#

it usually is the case, but neither require support of each other (hardware wise)

#

Vulkan takes SPIR-V, which can be made from HLSL

torn remnant
#

Then that might work

proper gale
#

shaderc supports both GLSL and HLSL iirc

torn remnant
#

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

proper gale
#

that is why i like the idtech 6 engine

torn remnant
#

Nope, Vulkan is in it but its experimental

proper gale
#

hmm? idtech has the best Vulkan of any engine.

torn remnant
#

I meant for unity

#

The thing about idtech is

proper gale
#

i know it still uses parts of Dx

torn remnant
#

That it's a properietary tech

#

With no third party licensing

proper gale
#

the older engines are open sourced now

#

DOOM 3 BFG is open source on github

torn remnant
#

Last time I checked, the older ones sucked compared to the current UE4

proper gale
#

not a fair time comparison.

torn remnant
#

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.

proper gale
#

C++ is not that hard

torn remnant
#

No, it's not

#

Good C++ is, though

proper gale
#

just avoid the new operator and you are good.

torn remnant
#

Oh wow, never seen anyone comment their code this nicely

#

mmm

#

.hpp?

torn remnant
#

What I mean is

proper gale
#

shocking name

torn remnant
#

Never seen .hpp extension header files

proper gale
#

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.

torn remnant
#

I think I've spent far too much time working with C#

proper gale
#

i like the VM language i know

torn remnant
#

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

proper gale
#

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.

torn remnant
#

Fairly sure you can only define methods inside classes in Java as well

proper gale
#

correct

torn remnant
#

Last time I worked with Java proper was when I was working on Android apps

#

Ugh.

proper gale
#

but Java, and C# afaik, is heavily OOP designed.

torn remnant
#

Yes

#

C# was designed to be what Java was perceived to be meant to be, literally.

proper gale
#

yea, C# and Java are almost copy-pasta of each other

#

afaik

torn remnant
#

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

proper gale
#

yup

torn remnant
#

Only took like 10 years

proper gale
#
           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

torn remnant
#

I have a serious grudge against Java

proper gale
#

thats fine, Kotlin is better anyway

torn remnant
#

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.

proper gale
#

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.

torn remnant
#

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.

proper gale
#

yea, it is.

#

JB is an amazing company IMO.

torn remnant
#

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

proper gale
#

true

torn remnant
#

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

proper gale
#

you could always roll back the IDE

torn remnant
#

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

proper gale
#

after VS?

#

VS has good pluggins, but its CMake support is kinda shite

torn remnant
#

Assuming you use ReSharper, yeah

proper gale
#

yea, i dont do C# so im looking at the C++ side of VS.

torn remnant
#

But again, I find even the base VS better, even if the Intellisense is lacking

#

Hmm

#

I could get cmake working just fine

proper gale
#

oh, i could too.

torn remnant
#

Then again, I usually use ReSharper

#

Even for C++

#

So that might be the thing doing the trick

proper gale
#

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.

torn remnant
#

I just use the WSL version of cmake

proper gale
#

i would like to be able to use both IDEs

torn remnant
#

At least for console stuff

#

And iirc you can do that with a makefile

proper gale
#

the reason i want MSVS is for nvidia nsight

#

not about to dive into that file

#

ill use external graphics debuggers first.

torn remnant
#

Oh

#

They also have a JSON file for it now

proper gale
#

and/or find a way to detect GCC/MinGW vs MSVC for the libs (actual problem with using both compilers)

torn remnant
#
{
  "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
    }
  ]
}```
proper gale
#

yea, that didnt work for me.

#

i tried it.

#

no workey workey

torn remnant
#

Weird

#

Lemme see if I even have mingw installed right now

proper gale
#

i have VS installed on my laptop (and MinGW obv), so i could try.

#

last i tried, it was borked

torn remnant
#

Should I just see if I can set it up with your Cubit Client project?

proper gale
#

sure

#

if you can get it to compile and link through MSVS, i will be suprised.

torn remnant
#

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?

proper gale
#

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

torn remnant
#

Hmm

proper gale
#

$16.80 a month for a 2tb drive and unlimited traffic, ill take it.

torn remnant
#

I guess

proper gale
#

i have faster stuff, just rather share a OVH ip than my own.

torn remnant
#

I was fairly sure OVH has faster network than this

#

Or was this CPU blocked?

proper gale
#

its not the network, its the CPU

torn remnant
#

Ah

#

The magic that is Git

proper gale
#

its got 250mpbs

#

its done downloading right?

#

htop says its idleing

torn remnant
#

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

proper gale
#

One is old, one is newer, one idfk.

#

64 bit only.

torn remnant
#

Mmm

#

it's missing an Options.hpp from cubit/Options.hpp

proper gale
#

oh, thats just git being git and not syncing shit correctly.

#

you can just delete that from the cmakelists

torn remnant
#

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

proper gale
#

no, the deps are for mingw not msvc

torn remnant
#

But at the very least, it tries to compile πŸ˜›

#

It's using msvc

#

But

#
cubit/graphics/Engine.cpp cubit/graphics/Engine.hpp```
proper gale
#

it will compile, but the libs will shit themselves.

#

hold on.

torn remnant
#

That doesn't exist

#

That's why I said, this cmakelist seems to be ancient

proper gale
#

its not, just merging fucked it.

#

it was an ancient one merged with a not so ancient one.

torn remnant
#

Makes sense

#

Always trust Git to fuck your day up

proper gale
#

yup

torn remnant
#

...

#

Missing file cubit/vk/mesh/Mesh.cpp

#

Lets try without that

proper gale
#

i did push that to the gitlab server

torn remnant
#

Your project is weird

#

No mesh folder

proper gale
#

oh, its in the wrong folder

#

let me push a corrected version real quick

torn remnant
#

It's also looking for a Pipeline.hpp when there is only Pipeline.h...

#

The beauty of C++

proper gale
#

yea, i fixed that.

#

there, pushed

torn remnant
#

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

proper gale
#

a tree of them

#

in the end, they are all in a make file list

torn remnant
#

Wildcards?

proper gale
#

not sure.

torn remnant
#

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

proper gale
#

preprocessor

#

and how the linker works regardless of file names

torn remnant
#

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

proper gale
#

impl of a header can be across multiple cpps

#

and i can have mutliple different ones for different exes, within a project

rich hill
#

If you're interested in recent build tools, I recommend taking a look at bazel

torn remnant
#

@proper gale Well, apparently my mingw gcc compiler is broken

proper gale
#

mingw or mingw-w64?

#

its for mingw-w64 posix seh

torn remnant
#

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

proper gale
#

becuase ptr size is 4 not 8

torn remnant
#

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.```
proper gale
#

oh

#

CLion?

torn remnant
#

Even a simple & "C:\Program Files\CMake\bin\cmake.exe" . -G "MinGW Makefiles" does that

proper gale
#

huh

#

must be broked

torn remnant
#

Yea

#

And I cbb trying to fix it

proper gale
#

is mingw-w64 working

torn remnant
#

Either way

#

Mmm

#

Lemme try

#

Using a different distribution

proper gale
#

do you have it installed?

torn remnant
#

Not yet. But that doesn't change the fact that my existing MinGW installation is borked

proper gale
#

with posix threads and seh exceptoins (even though that shouldn't matter because i dont directly use threading or exception stuff)

torn remnant
#

@proper gale I have the original mingw installed, not w64, so I'm installing w64 now.

proper gale
#

ok, yea it wont work with mingw because its 32bit

torn remnant
#

Meh

#

Not even the issue here

#

Got some fundamental issues

proper gale
#

i know thats not your mingw's issue, but even despite that, my project would crap itself.

torn remnant
#

Meh

#

My mingw is beyond saving

#

Either way, got it almost working

proper gale
#

#deleteSys32

#

fixes all problems

torn remnant
#

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

proper gale
#

i dont think it does

torn remnant
#

It took me at least 20 minutes to realise I didn't have CMake installed on this computer

proper gale
#

lel

#

im using VS community 2017

torn remnant
#

Should be fine

#

As long as its the latest

proper gale
#

just doesnt want to load the cmake project for me

torn remnant
#

Which would be... hell, idk, 2017.4?

#

You don't load the project

#

You open the folder

proper gale
#

its the latest, afaik

#

i know, it wont open it as cmake, despite having cmake installed

torn remnant
#

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

proper gale
#

afaik, yes.

#

do you need to install cmake?

torn remnant
#

Launch the installer, check under Individual Components

proper gale
#

i dont think i have cmake

#

Clion brings its own

torn remnant
#

Er

#

You need the CMake module of VS

#

That is what gives you the menu for it

#

Lemme find it in the installer

proper gale
#

i have that, i think.

torn remnant
#

if you have it, you should have a CMake option in the top menu

proper gale
#

yea, thats not there

#

nsight and reshaper are, but not cmake

torn remnant
#

Then you are missing the Cmake module of VS

proper gale
#

aparently it needs updating, maybe.

torn remnant
#

2017 frequently does

proper gale
#

installer is doing something.

torn remnant
#

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

proper gale
#

i have it set to Ctrl+B, whcih is the idea hotkey

torn remnant
#

Heh

#

I set my Idea to operate like VS

proper gale
#

and i have R#++ override the VS hotkeys

torn remnant
#

You set your VS to work like Idea

proper gale
#

i used IDEA first soooo

torn remnant
#

Β―_(ツ)_/Β―

proper gale
#

Β―_(ツ)_/Β―

torn remnant
#

Sigh

#

I have so many modules installed

#

It takes an eternity to patch

proper gale
#

just the keys you are used to, and the ones i am used to.

torn remnant
#

Win 10 UWP SDK, Xamarin, ASP.NET, .NET Core, C++...

#

While mentioning ASP.NET, I must say, ASP.NET Core is amazing (really, I can only recommend it) but EF Core is a piece of alpha garbage

proper gale
#

installer just installed cmake

torn remnant
#

@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++

proper gale
#

i have that

carmine relic
#

eww, visual studio for C/C++

obsidian bluff
#

@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

hexed panther
#

That might be a result of your update

obsidian bluff
#

I wrote this code after the update

hexed panther
#

Graphics might have been your slow shutdown issue. Where it couldn't "stop or slow down" in a sense

obsidian bluff
#

So I don't know what it ran like before it

hexed panther
#

Maybe Jakkuh might have an idea

obsidian bluff
#

@bright olive any ideas?

#

Is that a sin?

#

That ping

#

didn't check who I was pinging

hexed panther
#

Probably

obsidian bluff
#

I should probably just get into the newer DirectX API's

hexed panther
#

Yeah that would help

obsidian bluff
#

Wanted to learn the legacy drawing library before getting into the newer things

hexed panther
#

That's a good idea in all

obsidian bluff
#

I got into a heated argument with a Java dev once

#

About low-level knowledge

hexed panther
#

Why?

obsidian bluff
#

Idk. I was asking him admittedly provocative questions like "don't you want to know what's going on under the hood"

hexed panther
#

lol

obsidian bluff
#

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

hexed panther
#

I would

rich hill
#

smart pointers are nice

obsidian bluff
#

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

hexed panther
#

I'm gonna go and play some 6 Seige

#

Be on in a bit

obsidian bluff
#

glhf

#

Yummy you got any ideas?

#

About my issue?

rich hill
#

i dont deal with GUI ever sry lol

obsidian bluff
#

lol np

proper gale
#

@obsidian bluff smert * very smert

obsidian bluff
#

Hmmmm?

proper gale
#

smert pointers

#

GC is nice, GC is slow

#

Manual is a pain in comparison, Manual is fast.

obsidian bluff
#

Any ideas about my GDI frame drops @proper gale?

proper gale
#

nope

obsidian bluff
#

Β―_(ツ)_/Β―

#

I'll just assume it's a windows bug

proper gale
#

probably

#

i dont winapi

obsidian bluff
#

Qt?

proper gale
#

glfw

obsidian bluff
#

What about UI design

#

can glfw do that?

#

Or do you just write interfaces in openGL?

proper gale
#

glfw is jsut windowing

#

for OpenGL or Vulkan

#

i think

#

thats all ive used it for

winged zodiac
wooden ravine
#

Is anyone good with google my business? It's being really frustrating

lone monolith
#

Elaborate

merry heart
#

@wooden ravine me! At least neutral.

merry heart
merry heart
#

<@&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.

proper saddle
#

It should be Console.Log('talk about deving here'); because floatplane is using NodeJS. :V

#

But it dones't really matter.

merry heart
#

Depends of the language

#

Or <p>Talk about developing here</p>

little knoll
#

I started to think about how to write it in pseudo code, but it always ending by being valid python code :/

#

Β―_(ツ)_/Β―

proper saddle
#

xd

autumn dune
#

guys help

#

i have 5 mins till test

#

c# me up

#

everything

#

go

proper saddle
#

It's too late! You should've studied. :V

#

Or just absorb info like me

vestal glen
#

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.

autumn dune
#

good enough

#

ty :)

proper gale
#

@merry heart print('talk about deving here') is valid python 3

proper saddle
#

But real Python devs use Python 2

little knoll
#

We should do a strawpoll to know which language we should use for channel desc.

merry heart
#

Yes

proper saddle
#

Jquery
bloblul

#

Wait, C+? thonk

merry heart
#

Idk

proper saddle
#

I keep messing up. :V

merry heart
#

(I'm not expert of languages)

#

I know only few languages

#

You can do your own better.

proper saddle
little knoll
#

We should add ASM, Pascal, LUA and Perl. If someone is still stuck in 80s...

proper saddle
#

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>";

tacit prawn
#

Console.WriteLine("Talk about deving here");

#

Because apparently C# won the poll

proper saddle
#

But only 8 people voted, and it's not a mod sanctioned poll. :V

proper gale
#

C++ is second, HELL YEAH!

ember kiln
#

The only sensible compromise is to use PowerPC Assembly

little knoll
#

+1

proper saddle
#

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

winged zodiac
#

Lol

proper saddle
#

Oh, but reinstalling it is really easy. You just have to type sudo apt-get install sudo in your terminal. :V

merry heart
#

I would say (in the best order): HTML, Java, C#, binary

hasty sail
#

jQuery is not a language, FYI

proper saddle
#

That's why I mentioned it earlier. :V

timid widget
#

jQuery is a library written in JavaScript.

rich hill
#

html
language
hmmm

#

i mean if you qualify markup language

#

otherwise you should say "programming language"

graceful silo
fallow zealot
#

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

rich hill
#

learn a different language, start with anything like python, javascript, java, etc, go through some tutorials/guides and make simple programs

winged zodiac
#

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

rocky hamlet
#

VS could you not

#

it's barely noon

#

too early for this shit

whole quail
#

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

little knoll
bitter jungle
#

Is there a good way to learn C++ if you have some pretty decent language knowledge? (C#, Python, Java, JS)

rich hill
#

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

bitter jungle
#

o ty

proper gale
#

@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.

bitter jungle
#

O nice, I was looking at it because as a language it seems significantly faster and more robust than most

proper gale
#

its not all that much faster.

#

for most purposes.

elder dirge
#

What’s the easiest program to create a FPS on- need it for school

proper gale
#

do you know a programming language?

elder dirge
#

Python

proper gale
#

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

whole quail
#

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

vague jay
#

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.

whole quail
#

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

winged zodiac
#

well guys raspberry pi is screwed

vague jay
#

πŸ’€

main wyvern
#

that litterally looks like they stuck another gig of ram to a raspberry pi and spray painted it white

proper gale
#

@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.

whole quail
#

No one learning C++ should have those issues

proper gale
#

he specifically stated game stuff

#

also, you shouldn't, but noobs will find a way.

#

espically coming from python.

whole quail
#

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

proper gale
#

that it is

#

so is the JNI (C++ -> C -> Java and vice versa)

#

its as bad as it sounds.

whole quail
#

C++ doesn't create any of those issues on its own though

proper gale
#

no, it does not

whole quail
#

And if you're learning C++ and game engine implementation

#

Learning C++ should be an afterthought

#

There's a bigger mountain to climb first

proper gale
#

game engines

whole quail
#

There, more specific πŸ˜›

proper gale
#

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

whole quail
#

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

proper gale
#

linear algebra, fixed function pipline, GPGPU, programmable pipline, etc

#

linear algebra being the most fun aspect of that

whole quail
#

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

proper gale
#

to make a game engine, what history do you need to know?

whole quail
#

Computing history

proper gale
#

understanding how a CPU and a GPU work to properly write code for it, is most definely nessacary.

whole quail
#

You'd be surprised how much computing history we pick up

proper gale
#

no i wouldn't

#

i already was

whole quail
#

You learn a lot about how people did things years ago while trying to learn how to do them now

proper gale
#

i know more computing history than my computing teacher.

whole quail
#

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

proper gale
#

i mean, sure, but is that still used today (i honestly dont know)

whole quail
#

Yes/No

#

But it's important to know why it was used

#

And what it does

proper gale
#

why?

#

i see the use in knowing how to find normals, and the math behind it

#

but not this specific function.

whole quail
#

Because it still exists

#

You need to know what it is if you're working with anything that uses it

proper gale
#

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.

devout lava
#

good luck doing that...

main wyvern
#

some people....

#

🀦

tranquil dew
#

Speaking of it shouldn't take this long to make the floatplane website

proper saddle
#

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.

tranquil dew
#

I've developed a video platform and it took me a couple of months

proper saddle
#

They could be doing a lot more than what you were doing though.

tranquil dew
#

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.

proper gale
#

looks at youtube

proper saddle
#

They're also buiding in livesteam, which probably shouldn't take up an extra 10 months, but still. :V

tranquil dew
#

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.

proper gale
#

aparently there was a lot of backend work

#

not what i was getting at

proper saddle
#

And I built a blog in a few months, which isn't too different than a video steaming site. :V

proper gale
#

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)

proper saddle
#

Although, some of the code was provided for me. :[ But I'm tring to rebuild it in a different tech stack.

proper gale
#

YT uses Hoogle's datacenters around the world for a distributed load

tranquil dew
#

Using NodeJS make it easy to stream

proper gale
#

dont know if you have ever tried to do that, but its not easy.

#

decentralization is very very difficult.

tranquil dew
#

It really is I've done it. Especially if they have a Comp Sci degree

proper saddle
#

I haven't nor have I used Node outside of NPM. :V

proper gale
#

to do properly.

#

not just gimick decentralization using a centeral controlling server

tranquil dew
#

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.

proper gale
#

yes there is

#

the degree was for the govenment, not for getting the job

tranquil dew
#

What you said doen't make sense "decentralization using a centeral controlling server", decentralization doesn't use a "central controlling server"

proper gale
#

hence the gimick part at the begining

tranquil dew
#

You're thinking of microservices. Which is easier than you think, as it decouples everything making it easier to work with / develop

proper saddle
#

But disclosure on what they're doing would be nice.

main wyvern
#

Luke also has to do other work too, he doesn't just sit there all day working on it

tranquil dew
#

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.

whole quail
#

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

proper gale
#

hold on, /r/ProgrammerHumor/ has something for this exact situation

tranquil dew
#

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.

low stirrup
#

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?

whole quail
#

@tranquil dew which is why I said leader/manager

proper gale
low stirrup
#

wtf man, you have an rx vega and a gtx 970?

proper gale
#

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

low stirrup
#

no haha, sorry

#

it's a great computer dude

proper gale
#

its a development computer

#

so its got some odd choices, for the average user.

#

like 64GB of ram.

main wyvern
#

typical jetbrains, maxing out the cpu cuz y not

proper gale
#

that was launching Clion and IDEA at the same time soooo

#

would have been launching PyCharm but Clion supports python

whole quail
#

I need 64GB of ram

#

😦

#

A bunch of 1080ti's would be nice too

#

For DL

main wyvern
#

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

proper gale
#

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?

whole quail
#

@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

proper gale
#

me, dabble in graphics (OpenGL and Vulkan), GPGPU (OpenCL), and DL.

#

reading the Vulkan spec right now

#

its fucking long

main wyvern
proper gale
#

what CPU?

main wyvern
#

i7 6800k @ 4.1

proper gale
#

ewww

#

when did you buy it?

main wyvern
#

earlier in the year

proper gale
#

why?

main wyvern
#

amd can go fuck themselves

proper gale
#

for the love of god, why?

#

^ still applys

main wyvern
#

for the 6c/12t

proper gale
#

what problem do you have with AMD

#

no, why that over Ryzen.

main wyvern
#

cause i hate amd

proper gale
#

why?

whole quail
#

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

main wyvern
#

amd: comes with a heap of bullshit software
Intel: only one piece of software, Turbo boost

whole quail
#

Cyber security is basically all the areas

proper gale
#

my 1700x didnt come with a CD or USB soo idfk what you are talking about.

whole quail
#

So it really helps for me to learm about most comp science areas

proper gale
#

ok, if i list all the shit to that detail

main wyvern
#

cba charging my laptop to show you

whole quail
#

I tried to leave out detail lol

#

All those things have unique aspects

proper gale
#

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).

woeful wedge
#

(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)

proper gale
#

i dont develop apps for mass use.

main wyvern
#

fuck apple. Android dominates

proper gale
#

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.

woeful wedge
#

xD

#

Fair enough

proper gale
#

there is no rule aganst using the camera

woeful wedge
#

Though all these people saying "fuck apple" when giving no reasons amuses me. (not you)

proper gale
#

so im going to use the high resolution color sensor attached to the controlelr.

whole quail
#

Apple products have their uses

#

People just use them for everything else

#

And claim they are the best

proper gale
#

i can give many reasons why i say fuck apple

woeful wedge
#

Aslong as they are valid, I dont have an issue xD

proper gale
#

i have apple products

main wyvern
#

apple is good for one thing, breaking

proper gale
#

most proud one is a Power Mac gG4 350Mhz

#

still runs 18 years later.

#

least proud one was replaced by a Google Pixel

woeful wedge
#

I think I may have a G4 in my garage somewhere.

whole quail
#

I mean when it comes to phones

#

The 2 most popular ones are both shit

proper gale
#

the Pixel 1 has a headphone jack

#

that was the deciding factor

#

im not joking

whole quail
#

I'd much rather deal with iOS than samsung bloatware

#

But both options suck

proper gale
#

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

whole quail
#

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

proper gale
#

i replaced the headphone jack on my laptop because i used it to the extent of failure.

woeful wedge
#

My work laptops headphone jack is stupid.

#

Only has 3 notches, not 4.

#

So any devices that have an integrated mic dont work

proper gale
#

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.

whole quail
#

The actual macbook pro's are really nice

#

Not the new shit they call a macbook pro

proper gale
#

granted, i did get a new laptop, beacuse the charge controller (other board) wanted to pull and EVGA.

whole quail
#

@proper gale what os do you use for a laptop?

proper gale
#

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

woeful wedge
#

Nvidia and Linux do not get along

proper gale
#

the offical Nvidia drivers work fine for me on my desktop

whole quail
#

Stock Ubuntu is terrible

proper gale
#

17.10 not 16.04

#

the new gnome UI is fine

whole quail
#

I don't want bloatware lol

proper gale
#

i still prefer the stock gnome UI that there is on Fedora but ehh

whole quail
#

Dual boot kali and lmde is my ideal pc

proper gale
#

if i dual boot, its windows and fedora (1st choice) or Ubuntu (2nd)

woeful wedge
#

Eh with the Kali

#

I keep my Kali instance on a 64GB USB 3.0 drive

#

No real point in dual booting it.

proper gale
#

my desktop will be running Ubuntu 16.04 gnome because i need the ROCm driver, which only runs on 16.04...

whole quail
#

@woeful wedge I don't trust USB responsiveness

proper gale
#

or RHEL, SUSE/CentOS but im not running those.

woeful wedge
#

Ive never had any issues with it, and I use it daily.

little knoll
#

I have a PowerBook G4 17" 1GHz (2003) and a PowerMac G5 2.4GHz (early 2005), both are still working perfectly fine.

proper gale
#

JNI is fun.

proper gale
#

firefox most definitely useses less ram my ass.

#

fucking 7GB of ram....

proper gale
proper gale
#

is the resident linux guru online?

#

Ubuntu refuses to work with my 970 and Vega at the same time.

proper saddle
hard laurel
#

@proper saddle forgot Node.js

carmine relic
#

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

winged zodiac
#

@proper gale the hell were you running on firefox

carmine relic
#

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

winged zodiac
#

Do you have an Adblock?

proper gale
#

lots of shit

#

@winged zodiac dont worry about it

winged zodiac
#

No I’m just really interested

proper gale
#

i had probably two windows worth of tabs open

winged zodiac
#

Well damn

proper gale
#

chrome uses like 8GB under similar load

#

mind you, chrome was using 2.5 GB of ram at the same time.

#

i think total ram was something like 26GB, still only 40% of my ram though.