Message from @redd

Discord ID: 430523333025464343


2018-04-03 00:11:23 UTC  

@meratrix good job dude 👍

2018-04-03 00:11:34 UTC  

lol I am still kinda new to linux

2018-04-03 00:11:52 UTC  

got a custom arch linux install with minimal packages installed

2018-04-03 00:14:13 UTC  

I consider Mageia to be the best newbie-friendly distro.

2018-04-03 00:14:30 UTC  

yeah well I just dived into the deep end

2018-04-03 00:14:42 UTC  

gentoo is the most user friendly to install tbh

2018-04-03 00:14:50 UTC  

<a:one_spinny_boi:393574438769131522>

2018-04-03 00:15:30 UTC  

seriously tho, arch has the best wiki

2018-04-03 00:16:11 UTC  

Most distros are "user friendly" to install these days.

2018-04-03 00:16:54 UTC  

Mageia has the Mageia Control Center, to do most setup tasks. No need to google some obscure instructions about `sudo gedit /etc/...`.

2018-04-03 00:17:24 UTC  

And if you want to learn what's happening behind the scenes, you can configure it to show logs of all the commands it's running.

2018-04-03 00:17:48 UTC  

I learned a lot thanks to that.

2018-04-03 00:19:31 UTC  

<:feelsrage:331855271339229184> *insert obnoxious, immature comment in defense of my chosen distro here*

2018-04-03 00:19:48 UTC  

REEEEEEEEEEEEEE arch is better

2018-04-03 00:20:05 UTC  

you can rice the shit out of arch and I like its wiki

2018-04-03 00:20:16 UTC  

It's okay, most Linux users choose the wrong distro, it's their loss.

2018-04-03 00:20:22 UTC  

cba to switch kernels now

2018-04-03 00:20:57 UTC  

reporting you to the cyber police for grossly offensive comments about a minority of linux users

2018-04-03 00:21:16 UTC  

expect UK police at your doorstep at 2am 😃

2018-04-03 00:25:07 UTC  

I have butter knives and I know how to use them. There will be casualties!

2018-04-03 00:26:01 UTC  

this will require at least 30 police officers

2018-04-03 00:26:47 UTC  

our police are a joke

2018-04-03 02:16:43 UTC  

@meratrix Confirming that ddd works on the rpi. Qemu is making it crash via SSH though.

https://cdn.discordapp.com/attachments/423219052849397773/430551191769055234/ddd-on-rpi.png

2018-04-03 02:17:09 UTC  

gdb is crashing, that is.

2018-04-03 02:17:14 UTC  

Even on the console.

2018-04-03 02:17:36 UTC  

yeah, I installed it and used it, I’ve used it previously on lab machines.

2018-04-03 02:18:11 UTC  

I’m just glad it works.

2018-04-03 02:18:35 UTC  

Time to study for my calc 3 exam tomorrow, ooooooh wee

2018-04-03 04:31:45 UTC  

JS IS SO FUCKING DUMB

2018-04-03 04:31:49 UTC  

holy shit

2018-04-03 04:32:09 UTC  

```js
async function populateImageInformation(productRecord) {
let imageInfo = [];
for(let uploadId of productRecord.images) {
let imageData = await File.getByUploadId(uploadId);
imageInfo.push(imageData);
}
productRecord.images = imageInfo;

console.log(require('util').inspect(productRecord))

return productRecord;
}
```

2018-04-03 04:32:29 UTC  

why the fuck is the output so dumb

2018-04-03 04:33:17 UTC  

```
[{"_id":"5ac2952b7619a334903bccd7","name":"test product","stockCode":"XD69","price":"30","__v":0,"updatedAt":"2018-04-02T20:40:11.902Z","createdAt":"2018-04-02T20:40:11.898Z",

"images":
["{ _id: 5ac295257619a334903bccd6,\n uploadId: 'b6788f4788d9f131475aa04b61f5e29c',\n name: 'stainless-steel-bg-3.jpg',\n type: 'image/jpeg',\n size: 1021415,\n uploader: 5a84547d95a6728d64dcca41,\n __v: 0,\n updatedAt: 2018-04-02T20:40:05.022Z,\n createdAt: 2018-04-02T20:40:05.013Z,\n staffOnly: false }"]

,"description":"this is a test xd"}]```

2018-04-03 04:35:17 UTC  

the images property is an array of string versions of an object, not JSON, not valid objects, just human readable strings complete with whitespace

2018-04-03 04:44:43 UTC  

lol

2018-04-03 04:44:49 UTC  

>JS IS SO FUCKING DUMB

2018-04-03 04:44:55 UTC  

Free strings, dude.

2018-04-03 04:44:59 UTC  

no need to repeat it twice my dude

2018-04-03 04:50:51 UTC  

In this case, the blame is on whoever created that File class, no?

2018-04-03 04:51:23 UTC  

It's return a stringified JSON.