Message from @Ondsinet

Discord ID: 616306427979628545


2019-08-26 11:11:59 UTC  

which language

2019-08-26 11:18:02 UTC  

Java

2019-08-26 11:18:17 UTC  
2019-08-26 11:19:17 UTC  

thought so

2019-08-26 11:19:29 UTC  

buttons on the left look java-y

2019-08-26 11:19:41 UTC  

yeah they are a pretty good giveaway

2019-08-26 11:19:53 UTC  

typical swing type

2019-08-26 11:25:08 UTC  

I could tell from the buttons 🤣

2019-08-28 09:29:47 UTC  

why do devs make this the install path for anything?

https://cdn.discordapp.com/attachments/423219052849397773/616202766041481236/tsetup.1.8.2.tmp_jU8Ue1B7uB.png

2019-08-28 09:30:15 UTC  

there's literally this place on C called "Program Files", where you put installed programs

2019-08-28 13:04:21 UTC  

@Tero probably using some kind of framework like electron or something

2019-08-28 16:15:01 UTC  

@Tero it's Windows specifications

2019-08-28 16:15:03 UTC  

Or was

2019-08-28 16:15:04 UTC  

🤷

2019-08-28 16:15:23 UTC  

I don't think Microsoft knows how their stuff works anymore

2019-08-28 16:15:29 UTC  

```AppData\Roaming is designed for use in what I’ll call a corporate environment, though any widespread deployment of Windows in a large environment could be configured to make use of it.

 

In these scenarios the idea is that your Windows account isn’t an account on a specific machine, but rather an account in your company’s overall IT infrastructure or “Domain”. In theory, then, you could log in to any machine connected to your corporate network on which you have permission with your single corporate Windows account.

And when you did so, the data that applications had placed in AppData\Roaming would follow you to the machine you logged in on. It would “roam” to whatever machine you happened to use.

```

2019-08-28 16:16:37 UTC  

yes

2019-08-28 16:17:00 UTC  

but like, i would imagine the things you would want there would be things like browser profiles, extensions, things like this

2019-08-28 16:17:09 UTC  

i.e. app data, as it says

2019-08-28 16:17:13 UTC  

not program files

2019-08-28 16:21:42 UTC  

@Tero Blame windows

2019-08-28 16:21:56 UTC  

You need admin access to install there

2019-08-28 16:22:22 UTC  

kek

2019-08-28 16:22:25 UTC  

```One of the benefits of installing to Program Files is that is exactly where the user expects it to go. 
The biggest downside is that the user needs administrative privileges, which isn't always required by the program.```

2019-08-28 16:22:33 UTC  

Ain't nobody got time for that

2019-08-28 16:22:50 UTC  

i actually don't know why installing to program files requires admin

2019-08-28 16:22:55 UTC  

do things there have special privileges?

2019-08-28 16:23:29 UTC  

I know 20 year old electronics graduates that won't install an altium product if it pops up windows utc

2019-08-28 16:24:00 UTC  

lol

2019-08-28 21:14:46 UTC  

https://cdn.discordapp.com/attachments/423219052849397773/616380177923964948/39hico4n67j31.png

2019-09-02 03:39:21 UTC  

how do i avoid getting scope fucked in c++

2019-09-02 03:39:32 UTC  

if i have an if statement

2019-09-02 03:39:39 UTC  

to store a smaller or larger int

2019-09-02 03:40:27 UTC  

but then i want to use those variables globally

2019-09-02 04:00:59 UTC  

maybe extern keyword could help?

2019-09-02 04:01:09 UTC  

not sure, I've only done arduino C++, but that's how I usually do it

2019-09-02 05:00:23 UTC  

BJ's PPP has some prank questions, like it gives questions that require knowledge of scope and list sorting before it teaches you it

2019-09-02 14:32:23 UTC  

avoid global variables for most purposes

2019-09-02 15:47:50 UTC  

globals are fine as long as properly named and it has few setters (ideally, it's just set in one place, once)

2019-09-02 15:49:38 UTC  

having used threads a bit it's abundantly possible to make the kinds of errors people supposedly cause with globals by referencing an object or variable with multiple threads

2019-09-02 16:08:09 UTC  

`Although threads seem to be a small step from sequential computation, in fact, they represent a huge step. They discard the most essential and appealing properties of sequential computation: understandability, predictability, and determinism.`