#dev-general

1 messages ยท Page 277 of 1

distant sun
#
    • / * %
ocean quartz
#

Oh, likely not

distant sun
#

uhhhhh

#

the answers are arithmetic/comparison/logical arithmetic/comparision logical arithmetic :))

ocean quartz
#

Probably just logical

distant sun
#

yea

old wyvern
half harness
#

what is hs

forest pecan
prisma wave
half harness
#

uh

prisma wave
#

haskell is a purely functional programming language

#

with a modern pragmatic syntax and support for advanced functional features such as Monads, Monoids, Functors, Type classes, and more

old wyvern
#

um what?

half harness
forest pecan
#

lol

old wyvern
#

Mate

half harness
prisma wave
#

ah

#

uhh

#

i havent really got that far

half harness
prisma wave
#

i know a monad is like a holder

#

I think Java Optional is technically a monad

#

but

#

ยฏ_(ใƒ„)_/ยฏ

half harness
#

i wont even ask what a holder and optional is

lunar cypress
#

There are some great recursive definitions for those terms

half harness
#

or that

prisma wave
#

๐Ÿ‘€

lunar cypress
#

But I honestly don't remember them either

prisma wave
#

aww

lunar cypress
#

Head empty

prisma wave
#

A functor is a design pattern inspired by the definition from category theory, that allows for a generic type to apply a function inside without changing the structure of the generic type.

lunar cypress
#

Category theory monkaW

half harness
#

what is the category theory

prisma wave
#

scary

lunar cypress
#

Scary mathematics

prisma wave
#

Category theory formalizes mathematical structure and its concepts in terms of a labeled directed graph called a category, whose nodes are called objects, and whose labelled directed edges are called arrows

lunar cypress
#

Oh god

#

Is it connected to algebra? I honestly had no idea what category theory actually is to this day

prisma wave
#

idk

#

i think so

#

kind of

#

i read a blog about it ages ago and didnt understand anything

lunar cypress
#

Unfortunately like none of the german names for algebraic objects match the english ones

#

That really triggers me

prisma wave
#

๐Ÿฅฒ

lunar cypress
#

Ah yeah it's part of algebra

#

Now to find out what "group", "ring" and "body" actually are in english

prisma wave
lunar cypress
#

ok group and ring are called the same

#

"body" is "field"

#

why

#

hopefully in a few weeks I'll know more about category theory

#

bought a book a few days ago

prisma wave
#

oh nice

lunar cypress
#

academic books are stupid expensive though

#

I found a used copy fortunately with a decent price

#

"Types and Programming Languages"

prisma wave
#

jesus ยฃ52 for a digital edition

lunar cypress
#

regular price is like 125โ‚ฌ PepeLaugh

prisma wave
#

๐Ÿ˜ณ

half harness
#

โ‚ฌ what currency is that?

distant sun
#

euro

half harness
#

o

half harness
#

๐Ÿ˜

forest pecan
#

someone

#

github

#

i need that student package

half harness
#

lol

forest pecan
#

i need to get that UML Diagram

old wyvern
#

Did you apply?

half harness
#

what is uml?

forest pecan
#

yeah

#

lol

#

they were like

#

"We will reply anywhere between 1 hour and the next 29 days"

half harness
#

ohhh that

ocean quartz
#

OS license fingerguns

half harness
#

๐Ÿคฃ

half harness
old wyvern
half harness
old wyvern
#

Basically a diagram that shows how classes work with each other

ocean quartz
half harness
#

btw if I do Player#sendMessage("a\nb"); will they be newlines?

old wyvern
#

Do you the OS license matt?

ocean quartz
#

Yeah, all IDEs for free

old wyvern
#

Damn, nice

half harness
#

am I too java noob to apply?

old wyvern
#

Which project?

ocean quartz
#

MF

old wyvern
#

The cmd one?

ocean quartz
#

All of them, i think i linked everything

old wyvern
#

Or the entire thing?

#

Ah

#

Nice

ocean quartz
#

Should have applied for more contributors, then i could give license to people that help

old wyvern
#

o.o

ocean quartz
#

For example you helped on the msg lib ;p

half harness
#

my project isn't 3 months old :C

old wyvern
#

Wait when?

forest pecan
#

how long does it take usually for them to reply

half harness
#

my 3 month old projects are abandoned or horrible

forest pecan
#

hmm

old wyvern
#

oh wait the initial parsing thing right?

old wyvern
forest pecan
#

yea

old wyvern
#

with documents or email?

forest pecan
#

email

old wyvern
#

When did you apply?

forest pecan
#

oh rip let me guess email takes ass long

old wyvern
#

No

forest pecan
#

like a couple days ago

old wyvern
#

I got mine the next day

forest pecan
#

oh

#

kekw

#

let me check my email ig

old wyvern
#

You wont get a mail I think

#

just check your github profile

#

It will show the pro badge

#

xD

#

You already got it

forest pecan
#

o shit

#

i got it

#

lol

#

wait so

#

uhh

obtuse gale
#

Ooh that's what the PRO thing means

#

Cool ig lol never knew what it was for and why I have that too lmao

forest pecan
#

lol

old wyvern
#

ayy

#

Hmmm

#

very weird

#

Images on github doesnt seem to load for me

#

unless on a VPN

#

๐Ÿ™ƒ

ocean quartz
old wyvern
#

ah

half harness
#

thats eXpEnSivE

old wyvern
#

yearly tho

half harness
#

python IDLE ftw

prisma wave
#

Everywhere I go, I miss Rust's enums
So elegant. Lately I've been working Typescript which I think is a great language. But without Rust's enums, I feel clumsy.

Kotlin. C++. Java.

I just miss Rust's enums. Wherever I go.

ocean quartz
#

To get them all individually it would be $1248 a year

lunar cypress
#

Whenever I fall asleep, parentheses start popping in my head. I need parentheses, I long for parentheses

prisma wave
#

๐Ÿคฃ

half harness
ocean quartz
#

Oh no, you're suffering from the lisp disease

#

It's recommended to take around 4 hours of clojure a day to ease the symptoms

prisma wave
#

Have you tried Haskell?

#

Haskell isn't something you try. It's a multi-year pilgrimage to the functional programming holy-land.

forest pecan
#

yoo

#

i got it

#

i got my code

#

ayy

lunar cypress
#

Once you've chosen Haskell, there's no way back.

#

wait no I got that wrong

#

You don't choose Haskell, Haskell chooses you

#

or something

lunar cypress
prisma wave
#

where else would it be from lmao?

lunar cypress
old wyvern
#

Also technically haskell's functional calling is lisp without the outermost parenthesis

lunar cypress
#

but the daily visit to that subreddit doesn't disappoint

old wyvern
#

๐Ÿฅฒ

lunar cypress
#

just... no

old wyvern
#

It is tho

lunar cypress
#

Wait wdym by "functional calling"

old wyvern
#

I just mean its style of calling functions

#

like a lot others, uh f# has a simialr style I think

prisma wave
#

fun arg1 arg2

lunar cypress
#

well it comes from lambda calculus, doesn't have a lot to do with lisp

old wyvern
#

Yea, but it becomes more apparent with inner functions

old wyvern
#
funA arg1 (funB a b)

something like this

lunar cypress
#

that's just for grouping though

#

I think

old wyvern
#

Yes

lunar cypress
#

And most lisps don't have native currying

old wyvern
#

But it pretty much ends up with just how lisps are in there tho?

old wyvern
#

I just meant that syntax

#

The parethesis and prefix functions

#

I havent used lisps enough to compare with anything more than that

prisma wave
#

over an hour of downloading compiling and installing haskell libraries and it's still not done ๐Ÿฅฒ

old wyvern
#

๐Ÿ˜ฌ

lunar cypress
#

I really want to find that haskell-lisp again

old wyvern
#

which one?

lunar cypress
#

There is a horrendous language out there trying to combine haskell and lisp

#

But I have forgotten what it's called

old wyvern
#

o.o

lunar cypress
#

And I've also forgotten who linked me to it

old wyvern
#

?

prisma wave
#

lol

old wyvern
prisma wave
#

it's got to be one of those 2

old wyvern
#

Was from there

#

yea probably

#

This one actually ^

#

Haskell Semantics with Lisp Syntax

lunar cypress
#

why is there no readme

#

but yeah that might be it

old wyvern
#

They have a short description on the wiki link

#
From the ILC 2007 paper: "Liskell uses an extremely minimalistic parse tree and shifts syntactic classification of parse tree parts to a later compiler stage to give parse tree transformers the opportunity to rewrite the parse trees being compiled. These transformers can be user supplied and loaded dynamically into the compiler to extend the language." Has not received attention for a while, though the author has stated that he continues to think about it and has future plans for it.
stuck harbor
#

guess who is learning rust?

#

might be this guy

old wyvern
#

gl

#

Downloaded everything?

lunar cypress
#

you barely need anything

prisma wave
#

learning rust ๐Ÿคค

old wyvern
#

Isnt the main installation a few GBs?

lunar cypress
#

you just need rustup

#

and a c++ compiler

stuck harbor
#

mhm

prisma wave
#

cargo build

stuck harbor
#

cargo.toml yeet

old wyvern
#

oh nothing else at all?

stuck harbor
#

rust's syntax is a nice compromise between python-style readability and C-style coolness

lunar cypress
stuck harbor
#

me like

prisma wave
#

words cannot express how beautiful the lifetime syntax is

stuck harbor
#

lifetime?

old wyvern
#

I just remember someone saying its like 10GB or something

#

idk

#

xD

stuck harbor
#

like... the tv network?

prisma wave
#

the sheer emotion i see from <'a> is better than heroin

old wyvern
#

You've had heroin?

prisma wave
#

wait that doesnt make sense

stuck harbor
#

mmmm

#

bm

old wyvern
#

Now does it

prisma wave
#

let me reword that

old wyvern
#

xD

stuck harbor
#

you had heroin?

prisma wave
#

nah

lunar cypress
#

Yeah I couldn't live without 300 's and <>s and :: in one line

stuck harbor
#

calls police

prisma wave
#

i dont need heroin

#

ive got rust lifetime syntax

stuck harbor
#

C++ is just * and & and ::

lunar cypress
#

I wish

obtuse gale
prisma wave
#

the sheer elation i get from seeing the code <'a> and knowing my code is 100% memory safe is greater than any drug

obtuse gale
#

for legal reasons that was a joke fingerguns

stuck harbor
#

and when i write C++ i write it like

int main(urmum* sucks)
{

}
lunar cypress
#

C++ is unfortunately so complex you can't even parse it properly (not an exaggeration)

prisma wave
#

&mut self ๐Ÿคค ๐Ÿ˜

stuck harbor
#

when i do

public void yeet onYeet(Blah bla) {

}
old wyvern
#

you can't even parse it properly (not an exaggeration)
Wait what?

stuck harbor
#

why do i do different styles in different languages?

#

don't ask

prisma wave
#

would be nice if rust's convention was allman

old wyvern
#

ew

prisma wave
#

but i guess nothing is perfect

old wyvern
#

Go is

#

๐Ÿ™‚

prisma wave
#

no

old wyvern
#

No Allman for you sir

#

K&R, take it or leave it

prisma wave
#

i love go but the lack of an overcomplicated lifetime system is really holding it back

old wyvern
#

xD

old wyvern
prisma wave
#

yes!

stuck harbor
#

allman bad

prisma wave
#

not enough compiler errors!

stuck harbor
#

me no like allman

old wyvern
#

ikr!

stuck harbor
#

i like the linux style

old wyvern
#

Altho the last runtime error that I saw in Go still doesnt make sense ๐Ÿ™‚

prisma wave
#

๐Ÿ™‚

stuck harbor
#

In computer programming, an indentation style is a convention governing the indentation of blocks of code to convey program structure. This article largely addresses the free-form languages, such as C and its descendants, but can be (and often is) applied to most other programming languages (especially those in the curly bracket family), where w...

prisma wave
#

it would make sense in rust

#

because the compiler can detect any possible bug

lunar cypress
old wyvern
#

๐Ÿ˜‚ lmao

prisma wave
#

hmmm

stuck harbor
#

C++ was originally gonna be called C with classes

prisma wave
#

you dont even need 1 hand to count the feature complete elara compilers

stuck harbor
#

i wonder why

prisma wave
#

what does this mean?

old wyvern
#

ELARA GOAT

obtuse gale
old wyvern
#

wait

#

that sounds wrong

stuck harbor
#

but what i dont get, what does C# have to do with the C family?

obtuse gale
#

hence the extension .cc

stuck harbor
#

mhm

old wyvern
#

Elara GOAT

#

better

lunar cypress
prisma wave
stuck harbor
#

mmm yeah

#

bloody microsoft

lunar cypress
#

Just the syntax, really

prisma wave
#

yea lol

old wyvern
#

c# is also closely based on java ๐Ÿฅฒ

stuck harbor
#

why didn't they call it J# then?

old wyvern
#

Very

prisma wave
#

not enough Smalltalk family languages imo

old wyvern
#

Not sure

stuck harbor
#

then kotlin could be called J++

prisma wave
#

let's not

old wyvern
#

xD

stuck harbor
#

uniformity my dude

lunar cypress
#

Have you looked at Smalltalk? @prisma wave

prisma wave
#

briefly

old wyvern
#

COMPLETELY object oriented ๐Ÿ™‚

prisma wave
#

PURE oop

old wyvern
#

That just means no primitive right?

stuck harbor
#

everything is object

prisma wave
#

seems like it would be an interesting language to learn

lunar cypress
#

I only have a very basic understanding of the concepts but I've actually never tried it

prisma wave
#

i think the smalltalk definition of OOP is different to the modern one

old wyvern
#

The next circlejerk should be COBOL ๐Ÿ™‚

prisma wave
#

๐Ÿ™ƒ

lunar cypress
#

Someone shoot me in the head before that happens

old wyvern
#

๐Ÿฅฒ

prisma wave
#

circlejerking about COBOL probably violates some human rights act

lunar cypress
#

the cpp subreddit is great

(parser discussion)
As others are saying, there's really nothing you can do here that's within an order of magnitude of being a student project's worth of work. My advice?

  1. Google "most vexing parse".

  2. Reread it a few time until you're on the verge of tears.

  3. Realize that the entire language is full of things like this (Partial specialization, Koenig lookup, dependent name lookup, etc., etc., etc...).

  4. Come up with a new project idea.

static zealot
#

good morning

old wyvern
lunar cypress
#

Dijkstra has by far the best comments

prisma wave
#

absolutely

old wyvern
#

ikr xD

static zealot
#

xD

lunar cypress
#

a classic

prisma wave
#

What's worse?
A COBOL user
A 1.7 user

#

Nah bro ever since the C update the compiling mechanics suck

static zealot
#

Make a discordsrv addon that detects when someone is live on twitch and is playing on the server. Able to announce it in discord / in-game

#

let me just make an A.I that watches

#

the pixels on the screen

#

records everything the streamer say

steel heart
static zealot
#

to see if he's playing on the server

prisma wave
#

are you sure

lunar cypress
#

One thing I've realised is that most people cannot differentiate between trivial and essentially impossible programming tasks

#

and by people I mean non-programmers

prisma wave
#

"can't you just download an API or SDK to do this impossible task?"

lunar cypress
#

Their mind is blown when you call one function but they don't understand why you can't just make an AI that does their homework

static zealot
#

well

#

why just don't do it right?

lunar cypress
#

I bet that bot can't parse c++

static zealot
#

its actually a pretty smart thing and apparently it blew on tik tok xD

#

@prisma wave can I hire you?

prisma wave
#

absolt

#

Absolutely

static zealot
#

I need someone to print Haskel Sucks in haskel.

prisma wave
#

I charge $100/hr

#

Ok

static zealot
#

with double l

prisma wave
#

I will do in the morning

lunar cypress
#

please do it with no IO

prisma wave
#

well IO is a monad so

#

I'll have to

old wyvern
#

If you interpret that wording differently, Technically you arent doing any IO tho ๐Ÿ™‚

prisma wave
#

?

old wyvern
#

please do it with no Input or Output

lunar cypress
#

how is printing not IO

prisma wave
#

print to the source code ๐Ÿ™‚

#

just put it in a comment

lunar cypress
#
(defmacro print-at-source [arg]
  (println arg))

(print-at-source "hello, world")```wow, a clojure program without IO at runtime
old wyvern
#

IO is not being done by the function in haskell, thats their "hack" to being fully pure or something, atleast thats what they said in the course. Its just evalutated to IO objects straight away and IO is somewhat passed in by some native program

prisma wave
#

๐Ÿ˜Š

lunar cypress
old wyvern
#

๐Ÿฅฒ

prisma wave
#

so that means...

lunar cypress
#

hate to break it to you but im a years long haskell expert

old wyvern
#

The diety

prisma wave
#

๐Ÿ˜ฉ

old wyvern
#

But... but

prisma wave
#

the ivory tower has been destroyed ๐Ÿ˜Ÿ

old wyvern
#

Haskell...

#

No

#

Its purity shall remain

#

I shall not be corrupted by the impure minds

prisma wave
#

yes this is absurd

#

If Haskell isn't pure why does it claim to be?!?

old wyvern
#

๐Ÿฅฒ

#

I mean all the functions IN haskell are pure tho

#

the external factors are doing the impure work

prisma wave
#

but

#

But

#

Referential transparency!!!!!

old wyvern
#

๐Ÿ˜ฑ

#

wait

#

but

lunar cypress
#

Dear Haskal programmers,

you claim that your language is pure, yet I can print to the console.

Curious.

old wyvern
#

that only applies inside the functional language right?

prisma wave
#

P U R ๐Ÿ™ƒ E

old wyvern
#

๐Ÿ˜ซ

prisma wave
#

๐Ÿฅฒ

obtuse gale
#

it's mostly fixes for Mac kek

old wyvern
obtuse gale
#

how much does it general cost a frontend web dev (no js) for one page?

onyx loom
#

atleast 1p

old wyvern
#

Not too much

#

What you trynna make?

obtuse gale
#

something like this

#

also itd need to be fully responsive and use bootstrap 5

ocean quartz
#

I would offer to do it, but only if it was in React and React bootstrap only supports 4.5

obtuse gale
#

I mean I guess bootstrap 4.5 is fine, how much would you charge

ocean quartz
#

Oof i'm not sure

obtuse gale
#

Otherwise where else is a good place to get someone to make this

old wyvern
obtuse gale
#

no

old wyvern
#

What about the sprites for the diff parts

#

Like the tip containers bg

#

Top*

obtuse gale
#

yeah ive got it all as a psd and theyre all seperate shapesi n that

forest pecan
#

guys i think i fucked up my dithering

obtuse gale
#

nah looks fine

forest pecan
#

Yea totally

#

lol

obtuse gale
#

is making a REST API better if multiple applications are gonna use the same data, not just a website?

jovial warren
#

depends

#

REST APIs are usually useful when you're transferring data over HTTP(S) and only over HTTP(S)

prisma wave
#

Required type:
List<String>
Provided:
List<Serializable>
no instance(s) of type variable(s) T exist so that T[] conforms to String
๐Ÿฅฒ

hot hull
#

get gud

prisma wave
#

let me guess "kotlin has a 1 liner for this"

#

something like listOf("elem", *otherList.toTypedArray()) maybe?

#

no

#

ridiculous

hot hull
#

I mean can't you just transform the list to an array and it'll work?

prisma wave
#

nah tried that

#

didnt work either

#

๐Ÿฅฒ

hot hull
#

ew

prisma wave
#

i guess i will have to suffer with my 4 liner

hot hull
#

I mean it can still be a 1 liner

prisma wave
#

๐Ÿคจ

hot hull
#

get gud

#

You working on a commission I presume

#

Is it 1.8

prisma wave
#

yes

#

and yes

#

๐Ÿ˜ฆ

steel heart
#

why do u hate urself

lunar cypress
prisma wave
#

yes

hot hull
#

What does cons do

prisma wave
#

Returns a new seq where x is the first element and seq is
the rest.

#

(cons x seq)

#

which would be perfect

#

(cons "elem" list)

lunar cypress
#

If you don't need it as a lazy sequence you can implement this very easily

prisma wave
#

oh?

lunar cypress
#

are you in kotlin?

prisma wave
#

nah

lunar cypress
#

make an own list class that just has head and tail as fields, head being an element and tail being another list

prisma wave
#

oh nice

#

im not sure it's worth the effort tho

#

it's only 4 lines atm

hot hull
#

Show the lines BM

prisma wave
#

ok

#

hopefully this isnt proprietary

#

i wrote it so

#
List<String> schematics = new LinkedList<>();
schematics.add("all");
schematics.addAll(dlSpawn.getSpawnsConfig().getLocations().keySet());
return schematics;
#

ez

lunar cypress
#

Mfw no data List a = Head a List a | Empty

prisma wave
#

๐Ÿฅฒ

#

imagine writing plugins in haskell

#

that would be great

lunar cypress
#

It would be terrible

prisma wave
#

so idiomatic!

hot hull
#

I mean that could be 2 lines ;C

#

excluding the return

prisma wave
#

could it

hot hull
#

Yes

lunar cypress
#

could pass the list to the constructor

#

and then addFirst

hot hull
#

get gud BM

prisma wave
#

do tab completions get sorted?

#

on the client side

#

i cant remember

hot hull
#

uhh I can't remember either

#

I think they do, not 100% sure tho

prisma wave
#

ยฏ_(ใƒ„)_/ยฏ

hot hull
#

BM, why is that list not final tho!!!!!

prisma wave
#

๐Ÿ™„

hot hull
#

Now I gotta test something smh

lunar cypress
#

Man, that linked list would be so much easier in rust...

#

oh wait PepeLa

prisma wave
#

literally anything would be easier in a language that isnt java

#

SonarLint: Refactor this method to reduce its Cognitive Complexity from 18 to the 15 allowed.

#

SHUT UP

lunar cypress
#

LinkedLists are terrible to implement in Rust

prisma wave
#

oh

#

how come?

lunar cypress
#

In fact so terrible that an entire book had to be written about it

hot hull
#

kek

lunar cypress
#

the ownership system doesn't like recursive data structures

prisma wave
#

oh great

obtuse gale
#

wait to make a rest api with spring to i just go like

#

@RestController
@RequestMapping("/api")
public class UserController{

@Autowired userRepo

@GetMapping("/users")
public list (){
return userRepo.findAll()
}

#

or is there a better way

hot hull
#

Where's the Factory!!!, also Aj, please for the love of god, fix that spacing

obtuse gale
#

I typed it in discord....

hot hull
#

Excuses!

obtuse gale
#

it literally has public list()

hot hull
#

public list (){
There should always be a space infront of {

obtuse gale
#

ok no

#

just is this the right way to do this lol

remote goblet
#

Wrong

hot hull
#

Burn the heretic

obtuse gale
#

I just wanna know how to make rest api ๐Ÿฅฒ

remote goblet
#

You can start by doing correct formatting !!!

obtuse gale
#

is the above with correct formatting the right way to do it?

remote goblet
#

Speaking of formatting

#

:)

obtuse gale
#

cos im looking @ this rn and if i have this for every object I have wont i have alot of duplicate code?

#

since each object will have more or less the same controller

prisma wave
#

yes ๐Ÿฅฒ

hot hull
#

I mean just have an abstract class?

obtuse gale
#

bruh

#

surely not

#

thats what im thinking forsty

hot hull
#

If that would work even

obtuse gale
#

hm

hot hull
#

"forsty" sad_fingerguns

obtuse gale
#

because the repository would need to implement something

#

or do something

#

What happens if the base class has @RequestMapping and then the implementation has no RequestMapping but a GetMapping

obtuse gale
#

ok i came up with this

#
public abstract class BaseController<T, S extends JpaRepository<T, Long>> {
    private final S repo;

    public BaseController(S repo) {
        this.repo = repo;
    }

    @GetMapping
    public List<T> getAll() {
        return repo.findAll();
    }

    @GetMapping("/{id}")
    public Optional<T> findById(@PathVariable("id") Long id) {
        return repo.findById(id);
    }
}
#

this just has the basic methods on it atm, obviously ill expand it....

#

but it seems to do the job

#

then I can just implement it like this

@RestController
@RequestMapping("/api/users")
public class UserController extends BaseController<User, UserRepository> {
    public UserController(UserRepository repo) {
        super(repo);
    }
}
#

idk if theres a better way to do it but this works fine

hot hull
#

Spacing aaaaaaaaaaa

#

Long id
why this not primitive?

steel heart
#

cuz nullable

#

stupid

obtuse gale
#

idk what the fuck primitive means frosty i havent used java in ages

#

i know its like the lowercase one

#

idk what it does tho

steel heart
#

prevents nullability

hot hull
#

@steel heart Boutta smack you

obtuse gale
#

I mean this is all managed by spring so it will never be null will it

steel heart
#

such that a variable defined x of the primitive type int cannot be null instead the contract null -> 0 would apply

obtuse gale
#

apparently type args cant be primitive

steel heart
#

F

lunar cypress
#

that isn't a type argument though?

steel heart
#

idk

#

It has some similarities to a normal type inform of a class, you'd declare both the same way,
int x
Integer y

#

Or am I wrong now?

lunar cypress
#

I don't understand what you're saying

#

what is "it" and what is "a normal type inform of a class"

steel heart
#

primitive, and a class type (idk the notion of the right term for that)

lunar cypress
#

reference type

steel heart
#

okay reference type

#

okay so now let me rephrase then

lunar cypress
#

you can't declare a primitive type, but yes, the variable declaration syntax does not change depending on the type

steel heart
#

declaration syntax is probably a better name yeah

#

But isn't one meaning of declaring, to declare (create) a variable?

vagrant void
#

stack

#

stoc

#

stroc

#

crocks

half harness
vagrant void
#

a

#

it was me all along

lunar cypress
steel heart
#

yeah that is correct

#

Wait Johnny

#

Have you learnt the lambda calculus?

lunar cypress
#

not formally yet, but I do know how it works yeah

#

I mean there isn't much to learn tbh, the harder thing is to actually fully understand it

steel heart
#

hmm yeah I looked it up on wikipedia, seemed interesting but complicated to understand like you said, learning in university?

lunar cypress
#

I will be learning it in uni, but before I get to that lecture I'll probably learn it by myself because my interest in theory has grown recently

#

In terms of syntax and semantics it's really just function declaration and application

#

so not hard to understand on a basic level

#

using it to prove stuff and whatnot is the scary thing

steel heart
#

oo nice nice, wait what you study in uni btw?

lunar cypress
#

here's a good overview/basic primer

steel heart
#

wow that exists

#

ty ๐Ÿ™‚

lunar cypress
steel heart
#

ah is it hard?

obtuse gale
#

JPARepository<User, long>

lunar cypress
#

oh didn't see that my bad

#

thought you were just talking about the param

lunar cypress
# steel heart ah is it hard?

I'm usually a quick learner and perform well in school-like settings but I am often at my limit here so I'd say yes

obtuse gale
#

Is there a way to unlink my previous Discord account? I got a new one and want to verify this one.

steel heart
#

hmm I consider taking cs in some years, need to finish regular school and stuff first sadly and sweden is very late with teaching stuff

lunar cypress
#

definitely check the curricula of the unis you consider applying to

#

here in Germany it can vary quite a bit

#

and it's good to get an impression of what will come at you

#

I assume the first semesters are also very math-heavy in sweden

steel heart
#

oh yeah definitively

lunar cypress
#

In my case school didn't prepare me for this a single bit

#

almost everything was completely new to me

quiet depot
#

did your school have a cs subject?

lunar cypress
#

yes

steel heart
#

Well Idk if the binomial theorem and similar stuff is preparing for cs but presumably not

lunar cypress
#

but none of the "pure maths"

quiet depot
#

man I wish my school had cs

steel heart
#

same

quiet depot
#

although I love all the subjects i'm doing

#

only one I'd be willing to switch out is english but it's required

lunar cypress
#

Differentiation was last week's topic in my analysis class, but that was the only thing I knew before to some degree so far

steel heart
#

Yeah somewhat analysis perhaps

lunar cypress
#

a lot more formalised of course, you know, not just "differentiate that function" anymore

steel heart
#

I know barely nothing about differentiation functions or what's called sadly

lunar cypress
#

or derivative

#

dunno what you call it in sweden but you definitely know it if you're like past grade 8

steel heart
#

actually I will learn that next year I think

#

so it's taught in middle of college

#

weirdly enough

onyx loom
#

doing a lesson on oop for college, havent even finished the lesson yet ๐Ÿ˜Š

hot hull
#

And I oop

#

Drive is dead, f's in the chat boys

forest pecan
#

hi

#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @forest pecan!

forest pecan
#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @forest pecan!

hot hull
#

No you don't

forest pecan
#

give me help

#

i need help

compact perchBOT
#

There is no time to wait! Ask your question @forest pecan!

forest pecan
onyx loom
#

how

hot hull
#

wdym how, it was like 10 years old

onyx loom
#

๐Ÿ™„

digital mortar
#

can someone @ me in dms i got a question about a plugin ๐Ÿ™‚

prisma wave
digital mortar
ocean quartz
#

Don't ask people to check your message, be patient

digital mortar
#

sorry ๐Ÿ˜›

half harness
#

im on a different device, should I use notepad or intellij to code xD

static zealot
#

np

half harness
#

ok

static zealot
#

microsoft word*

half harness
#

i dont think i have that installed

#

nvm i do

#

actually i just realized that I'd have to handle imports and stuff

#

so ima install intellij

distant sun
#

is the same thing

#

first redirect to toolbox-app

half harness
#

oh

#

ok

#

thx

#

how do I get dark mode for toolbox ๐Ÿ˜ฌ

prisma wave
#

somewhere in settings

quiet depot
#

settings > appearance and behaviour > theme

prisma wave
#

shouldnt be too hard to find lol

half harness
quiet depot
#

update toolbox

half harness
#

ok its updating

#

yayyy

#

its there ๐Ÿ™‚

#

are the only community versions intellij and pycharm?

#

lol if there wasn't intellij community i'd be using eclipse

quiet depot
#

dkim how old r u

#

actually don't answer that lol

#

just tell me if you're in school

half harness
#

yes

quiet depot
#

do you have a school email address?

half harness
#

yes

quiet depot
#

u can get ij ultimate for free

#

along with all other jetbrains products

half harness
#

interesting

#

cool

quiet depot
#

it's what most of us here use

#

that or the os edition (you can get an ultimate license if u have a popular os project, i.e. papi)

half harness
#

really?

quiet depot
#

yes

lunar cypress
#

doesn't even need to be popular

quiet depot
#

o

#

gh education also offers a bunch of other stuff

#

credit on hosting services

#

free and discounted domains

half harness
#

heyy i can applyy ๐Ÿ™‚

quiet depot
#

loads of tools

#

also github pro for free

distant sun
quiet depot
#

I highly recommend using gitkraken pro from the education pack, it's great

#

along with termius

#

definitely two of my favourite tools

half harness
#

yes! it recognizes my school lol

#

what should I put in "How do you plan to use GitHub" xD

#

hmmm

#

i want to put something good

#

something yummy

stuck harbor
#

lol i just said 'learning'

half harness
#

u got accepted?

onyx loom
#

yh thats what i put

half harness
#

hm ok

quiet depot
#

I think acceptation is automatic

half harness
#

o

#

ok ima submit ๐Ÿ˜ฌ

#

hopefully i get accepted

quiet depot
#

keep in mind u'll need to renew it every 2 years

onyx loom
#

it takes a few days

quiet depot
#

o

half harness
#

lol

lunar cypress
#

they don't notify you when you receive it mind you

half harness
#

oh?

old wyvern
#

yea

half harness
#

how do I know then?

stuck harbor
#

it didnt take me long

#

like a day

lunar cypress
#

yeah idk what the deal with that is

stuck harbor
#

just check it all the time

old wyvern
#

you'll need to check your github profile page

quiet depot
#

just keep checking the site dkim

old wyvern
#

It would show the badge there

half harness
#

okay

stuck harbor
#

oh yeah, if u keep checking ur github profile, the PRO badge will just appear

lunar cypress
stuck harbor
#

thats how i found out

half harness
#

ahhh im impatient now lol

quiet depot
#

that's good to know johnny

old wyvern
#

It may take a day

half harness
#

so if i wait 2 weeks and nothing happens im denied?

stuck harbor
#

u also get clion for free

half harness
#

clion?

quiet depot
#

iwanio you get nearly everything for free

old wyvern
#

It probably wont dki

stuck harbor
#

looks at my current discord activity

half harness
#

what lang?

stuck harbor
#

rust

half harness
prisma wave
#

rust in clion

half harness
#

wait

#

why did

#

it go to Trusted

stuck harbor
#

Clion is C and C++, but intellij has a rust plugin

half harness
#

i thought there was a rust emoji

stuck harbor
#

and clion is apparently better with the rust plugin than intellij

prisma wave
#

weird

quiet depot
#

iwanio that can't be right

stuck harbor
#

๐Ÿคท i got it for free idc

old wyvern
#

Both are supposed to be the same

prisma wave
#

not sure what the difference would be

#

yeah

old wyvern
#

Ultimate and Clion

stuck harbor
#

meh whatever

quiet depot
#

ij ultimate can do everything all other jetbrains ides can do

old wyvern
#

mhm

stuck harbor
#

mmm ah well

#

๐Ÿคท

old wyvern
onyx loom
#

o

lunar cypress
#

wheres that from

quiet depot
stuck harbor
#

well alrighty then

quiet depot
#

wait no that description slightly differs

lunar cypress
#

yeah ok that's just the rust plugin

#

but that doesn't work better in Clion I believe

quiet depot
#

also btw

#

I got an email when I got github edu

stuck harbor
#

really?

#

i didn't

#

strange

lunar cypress
#

me neither

quiet depot
#

yeah I just went through my school emails and found it

#

although looking at the date

#

this may be for the renewal

#

even though it's written like it's the first time

stuck harbor
#

ahhh my cpu is at 93%

#
fn main() {
    println!("Hello, world!");
}
``` very nice
#
Itโ€™s good style to place the opening curly bracket on the same line as the function declaration, adding one space in between.
#

mmm yes

#

lovin' these docs already

quiet depot
#

if you like rust you might like vlang

#

it took inspiration from rust

prisma wave
#

lol

quiet depot
#

and go

stuck harbor
#

mmm ill add that to the list

prisma wave
#

&mut ๐Ÿ™‚

stuck harbor
#

ahhh

lunar cypress
ocean quartz
distant sun
#

interesting

ocean quartz
static zealot
#

you better use it now til you kan

#

can*

distant sun
#

Damn Matt

half harness
#

yeah i dont think intellij likes my computer

static zealot
#

damn Matt you were right. its not as easy as I thought xD

#

I just pushed a commit from IJ and got every file removed except the main class xD

ocean quartz
#

How did you manage to do that? xD

static zealot
#

no idea.

steel heart
#

lololololo

#

ndsadhias

static zealot
#

the thing is I didn't clone the github I just copied the .git folder xD its weird. I gotta learn to use this first lmao

#

the project in my pc was very different from what I had before

#

oh wait I think I know what I did xD

#

oh yeah

#

so for some reason they files were split in 2 categories, versioned and unversioned. no idea what that means, this is when you select what changed file to commit. And I've only selected the versioned ones.

#

and pushed just those

#

but I forgot to not push .idea .gradle and the build folder fuck

steel heart
#

lmfao

half harness
#

whats so bad about pushing .idea and .gradle?

#

build folder i get

#

but whats so bad about the others

prisma wave
#

. files are supposed to be hidden

#

but theyre also specific to you

#

so

#

not necessary to push

steel heart
#

thats why I always push those

static zealot
#

xD

forest pecan
#

lmfao

#

please don't push .idea and .gradle

#

I swear my eyes will ๐Ÿคฎ when i see that

static zealot
#

dw its private repo

#

you're eyes will never see that

steel heart
#

a new innovation for deluxeasyncjoinmessage

#

pushing fucked up .idea files

half harness
static zealot
#

xD

half harness
#

Is there a way to prrmanently remove files?

#

from git history too.. or not possible? || ๐Ÿฅฒ ||

hot hull
half harness
#

aw man

#

okay

forest pecan
#

Frosty its okay you are already an abomination || jkjkjkjkjk dont ban pls ||

obtuse gale
#

Delete the branch kek

half harness
#

it looks so cool seeing "60 commits" ๐Ÿ˜Ž

steel heart
#

u could re push the repo

#

like yeet the current one

#

then push

#

tho

#

u want github contributions probably

ocean quartz
hot hull
#

Lmao

half harness
static zealot
#

dkim ngl but you're the last person I'll steal the code from

obtuse gale
#

Why would you kekw

static zealot
#

xD

#

hello

#

fuck

#

=help

compact perchBOT
#
Help Menu:

Various Commands for Barry.

๓ € ๓ € ๓ € =Help General

โ€ข General Bot/Guild Commands

=Help Misc

โ€ข Miscellaneous Commands

=Help Level

โ€ข XP and Level Commands

=Reaction Help

โ€ข ChatReaction Help

static zealot
#

here we go

half harness
#

the

#

ACK

#

._ .

#

im blue tho

#

:))))

static zealot
#

yeah hello blue

#

I'm orange

half harness
ocean quartz
half harness
#

this-

ocean quartz
#

Why do you love to spam?

static zealot
steel heart
#

wait

#

what

#

dkim staff

forest pecan
#

wait

#

wtf

#

lol

static zealot
#

o?

forest pecan
#

how

static zealot
#

dkim staff?

#

where?

#

@half harness

#

no he's not staff

forest pecan
#

OH

#

LMAO

half harness
#

;-;

ocean quartz
#

Just Blitz being Blitz

half harness
#

blitzzzzzzzzzzzzzzzzzzzz

forest pecan
#

You actually bamboozled me

half harness
#

noo blitz :C

obtuse gale
#

You really fell for it?

#

Lmao

forest pecan
#

Yeah

#

lmao

steel heart
#

oh wow blitz

static zealot
#

here

steel heart
#

so funneeh

static zealot
#

fixed

half harness
#

hmm

#

hey not dkim19375

static zealot
#

hello dkim

half harness
#

how r u

static zealot
#

how am I? I am just like that

half harness
#

what r u doing rn?

prisma wave
#

java pattern matching

old wyvern
#

๐Ÿ˜ฎ

lunar cypress
#

wonder when the new java syntax will be so disconnected from java 8 that you essentially have two different programming languages

ocean quartz
lunar cypress
#

it's a mail

#

you're supposed to subscribe to the mailing list

prisma wave
#

the pattern matching proposals look very different

#

and var, lambdas etc are very different to 7

hot hull
#

We need extensions!!!!

prisma wave
#

java doesnt want extensions

#

apparently thats what default methods are supposed to be used for

lunar cypress
#

??

prisma wave
#

idk some guy in another discord said that

hot hull
#

Fucking idiots if you ask me

half harness
#

umm

#

does that mean I have

#

github pro?

old wyvern
#

Yes

distant sun
#

yes

half harness
#

NO WAY

#

YESSSSS

#

xD

old wyvern
#

Thats a lot of S's

half harness
#

i should have done that github student thing a while ago

#

thx @quiet depot

#

โค๏ธ

#

i didn't get an email tho

onyx loom
#

lol

half harness
#

so

#

how do i get intellij ultimate

#

๐Ÿฅฒ

onyx loom
#

u login to ur jetbrains account thats linked to gh account

#

then u download ultimate

stuck harbor
half harness
#

i can still use it?

stuck harbor
#

go there

half harness
#

DOMAIn

#

I GET DOMAIN

#

wait is it just 1 year?

#

๐Ÿ˜”

old wyvern
#

The namecheap one?

half harness
#

yes

old wyvern
#

Well its kinda weird. its only for github pages

half harness
#

:C

stuck harbor
#

oof

half harness
#

Details 1 free year domain registration, 1 free year Advanced Security (SSL, privacy protection, and more).

old wyvern
#

The tech one allows any I believe

half harness
stuck harbor
#

but yeah dkim go to the jetbrains section

half harness
#

jeez so many things

old wyvern
#

No idea, go check it out

half harness
#

y ei did

#

theres a link

old wyvern
#

I havent gone through all the offers

stuck harbor
#

dkim press apply and then github

half harness
#

xD

#

what is a license id for?

stuck harbor
half harness
#

is it bad to share?

stuck harbor
#

well I would recommend that you don't

#

best be safe

half harness
stuck harbor
#

what even is termius

half harness
stuck harbor
#

I just do ssh

half harness
#

i can get so many premium stuff ๐Ÿ˜

stuck harbor
#

mhm