Message from @Legiondude

Discord ID: 496451468484935682


2018-10-01 20:05:54 UTC  

or smt

2018-10-01 20:05:56 UTC  

someone help

2018-10-01 20:23:42 UTC  

this aint tech support yo

2018-10-01 20:26:13 UTC  

you pushed ``ctrl+Shift+F``

2018-10-01 20:26:18 UTC  

push it again

2018-10-01 22:28:39 UTC  

@Deleted User @M4Gunner @z80 This has been my day today, "I'm lovin it"!

https://cdn.discordapp.com/attachments/423219052849397773/496448390566248448/InkedLogical_LI.jpg

2018-10-01 22:28:40 UTC  

https://cdn.discordapp.com/attachments/423219052849397773/496448391698448385/Relational_1.png

2018-10-01 22:29:49 UTC  

sent me that just as I was about to go and sleep, now I'm going to have completely unrelated nightmares about Unreal Engine's retarded alternative programming thing

2018-10-01 22:29:58 UTC  

lol

2018-10-01 22:30:45 UTC  

@meratrix uml is gay af

2018-10-01 22:30:56 UTC  

nibba this shit is pre-uml

2018-10-01 22:31:00 UTC  

IT'S AN ERD

2018-10-01 22:31:03 UTC  

super gay

2018-10-01 22:31:10 UTC  

no var type either?

2018-10-01 22:31:11 UTC  

kys

2018-10-01 22:31:17 UTC  

varchar nibba

2018-10-01 22:32:32 UTC  

also shit, I just realized looking at this that the relationship going from "Patient_Medical_Record" to "Patient" is partially covered up by "Patient".

2018-10-01 22:39:57 UTC  

the fuck is a varchar

2018-10-01 22:40:07 UTC  

is it a char type, but gay?

2018-10-01 22:40:51 UTC  

no, just in the database it doesn't waste any space that isn't used in the attribute

2018-10-01 22:40:53 UTC  

Think of it like having an elastic storage range

2018-10-01 22:41:05 UTC  

char is hardcoded with a limtation

2018-10-01 22:41:10 UTC  

varchar does not IIRC

2018-10-01 22:41:50 UTC  

yeah, it just has a hardcoded limit

2018-10-01 22:42:05 UTC  

but will only assign the space that it being used if below that limit.

2018-10-01 22:44:57 UTC  

These DB maps for a class or for a job @meratrix ?

2018-10-01 22:45:11 UTC  

class

2018-10-01 22:45:45 UTC  

part of a large project where we hopefully have a decent deliverable at the end.

2018-10-01 22:46:10 UTC  

There's also a "SYS ADMIN" entity, but it doesn't connect to the rest of the ERD anywhere.

2018-10-02 04:25:55 UTC  

Quick question. Why does Sargon have a comp-sci chat room?

2018-10-02 04:29:04 UTC  

this isnt his server, that's why

2018-10-02 04:29:11 UTC  

he isnt even here

2018-10-02 04:30:26 UTC  

But it's under the r/Sargon discord or do I not understand something about this space?

2018-10-02 04:30:47 UTC  

Sargon codes

2018-10-02 04:32:50 UTC  

Interesting, never knew that

2018-10-02 05:06:59 UTC  

Many of us are in Computer Science or Information Systems

2018-10-02 05:22:47 UTC  

Or recreational programmers like @M4Gunner

2018-10-02 11:04:37 UTC  

a few of us have interest in the field but are totally useless in it as well

2018-10-02 17:19:03 UTC  

Bottle filling.
A pharmacist has m pills and n empty bottles. Let bi denote the capacity of bottle i, that is,
the number of pills it can hold. Let vi denote the cost of purchasing bottle i. The objective is
find the least expensive combination of bottles that will hold all m pills.
Describe a greedy algorithm that, give the number of pills m, the bottle capacities bi
, and the
bottle costs vi, determines the least expensive set of bottles needed to store all the pills. Assume
that you pay only for the fraction of the bottle that is used. For example, if the ith bottle is half
filled with pills, you pay only vi/2. (This assumption is very important.) Prove the correctness
of your algorithm.

2018-10-02 17:19:12 UTC  

How would you solve this?

2018-10-02 17:20:19 UTC  

I'm thinking modified dijstras. Where each vertex is a bottle and each edge is weighted to the price. Obviously it's a directed graph