|
cinci zoo sniper posted:what is the term for general class of problems that involve optimising arrangements constraint satisfaction problem or csp theyre all reducible to sat then whack em into the sat solver. or mixed integer program solver
|
# ? Nov 16, 2021 23:21 |
|
|
# ? Apr 27, 2024 01:30 |
|
continuation style passing
|
# ? Nov 16, 2021 23:25 |
|
cinci zoo sniper posted:what is the term for general class of problems that involve optimising arrangements Do you mean combinatorial optimization?
|
# ? Nov 16, 2021 23:38 |
bob dobbs is dead posted:constraint satisfaction problem or csp cheers, ill take a look
|
|
# ? Nov 16, 2021 23:39 |
Xarn posted:Do you mean combinatorial optimization? MrQueasy posted:I think that's a variation on the Knapsack problem these also are getting relevant hits, cheers
|
|
# ? Nov 17, 2021 00:11 |
right so the problem that prompted me to ask that question is a bounded knapsack problem, meaning that i probably shouldn’t feel to bad about only partially solving it in 2 hours while being utterly oblivious to the concept
|
|
# ? Nov 17, 2021 00:31 |
|
you always get the biggest goddamn weenies asking for dynamic program solns to csp or knapsack or subset sum poo poo its just hosed cuz peeps do not ship those without serious thinking beforehands
|
# ? Nov 17, 2021 00:36 |
|
DELETE CASCADE posted:continuation style passing comma separated p-values
|
# ? Nov 17, 2021 11:49 |
|
thanks for planning my vacation
|
# ? Nov 17, 2021 14:38 |
Captain Foo posted:thanks for planning my vacation i knew you’d be hungover on day 12 anyways
|
|
# ? Nov 17, 2021 14:47 |
|
been learning java and so far this just seems like python with more pointless poo poo like, for example: Java code:
|
# ? Nov 17, 2021 15:24 |
|
because its statically typed and they dont have hejlsberg or spj or like one of 10 other dudes so they cant implement the cool kids nice type system
|
# ? Nov 17, 2021 15:30 |
|
Java code:
|
# ? Nov 17, 2021 15:30 |
|
lol if you trust the computer to get it the first time
|
# ? Nov 17, 2021 15:32 |
|
hbag posted:been learning java and so far this just seems like python with more pointless poo poo Because you are a dumbo who doesn't know about var
|
# ? Nov 17, 2021 15:40 |
|
think they are doing the right thing by not fronting to their professor they do not care about the student's leet coding skillz
|
# ? Nov 17, 2021 15:42 |
|
hbag posted:
send pike pike sent
|
# ? Nov 17, 2021 15:50 |
|
Xarn posted:Because you are a dumbo who doesn't know about var
|
# ? Nov 17, 2021 15:52 |
|
jesus WEP posted:given that it's a university course there's a deece chance they're stuck on some ancient version of java we're on java SE-15
|
# ? Nov 17, 2021 15:53 |
|
"to use the API to securely acces secrets in the store, you must first create an authorisation token for your session by creating a connection to the server with a username and password supplied as a string" lol what
|
# ? Nov 17, 2021 16:20 |
|
the python formatter black defaults to wrapping at 88 characters for seemingly valid reasons but i cannot shake it being a dogwhistle of sorts autopep8 does a worse job aesthetically imo
|
# ? Nov 17, 2021 17:03 |
|
80 itself also being a cursed number cause https://twitter.com/edent/status/1460332912079998982
|
# ? Nov 17, 2021 17:09 |
|
hbag posted:we're on java SE-15 it has var then, that’s been there since 10
|
# ? Nov 17, 2021 17:35 |
|
Powerful Two-Hander posted:"to use the API to securely acces secrets in the store, you must first create an authorisation token for your session by creating a connection to the server with a username and password supplied as a string" lol what
|
# ? Nov 17, 2021 17:47 |
|
mystes posted:I don't understand what the problem is here? Is it saying that the username and password are concatenated to a single string? Or you just don't like that they're being supplied as strings at all for some reason? probably should have put some context. this was in the internal "solution to replace storing secrets in plaintext config" which pointed to using an API called from a library that has "step 1: login using secrets stored in config"
|
# ? Nov 17, 2021 17:51 |
|
Xarn posted:Because you are a dumbo who doesn't know about var also because you can do Java code:
|
# ? Nov 17, 2021 17:54 |
|
sorry for not using "class Butt", but i couldn't figure out a class hierarchy for it
|
# ? Nov 17, 2021 17:55 |
|
Interface Joint, obviously.
|
# ? Nov 17, 2021 17:58 |
|
also note that instead of ArrayList<Fish> pond = new ArrayList<Fish>(); you can omit the type in the constructor call: ArrayList<Fish> pond = new ArrayList<>();
|
# ? Nov 17, 2021 17:59 |
|
Wheany posted:also because you can do This is actually kinda hosed up because you might think you can put a cat into your animals array, but in this case you can't! A sad legacy of pre-generic times
|
# ? Nov 17, 2021 18:03 |
|
*thinking extremely hard* what features to all animals have?code:
done. everything else is an extension. e: corrected linter errors because I literally cannot write code without intellisense to fix my fuckups
|
# ? Nov 17, 2021 18:11 |
|
hbag posted:been learning java and so far this just seems like python with more pointless poo poo it allows you to cast objec- Wheany posted:also because you can do beaten
|
# ? Nov 17, 2021 18:11 |
|
I need a good book on web API design but all my results are returning blogspam and REST 101. Anyone got any titles? tia
|
# ? Nov 17, 2021 18:29 |
|
Powerful Two-Hander posted:*thinking extremely hard* what features to all animals have?
|
# ? Nov 17, 2021 18:39 |
|
Armitag3 posted:I need a good book on web API design but all my results are returning blogspam and REST 101. Anyone got any titles? tia https://graphql.org
|
# ? Nov 17, 2021 18:51 |
|
A pox upon your loins
|
# ? Nov 17, 2021 19:20 |
|
"Butt butt#get()" would be a good username if nonalphanumeric ascii was allowed. The verbose-ness of Java's terrible broken type system is nowhere near as annoying as dealing with the lambda idiosyncracies. Being unable to throw non-runtime exceptions from most lambdas is really annoying when you run into it. It's worse when people are addicted to overusing Optional.
|
# ? Nov 17, 2021 19:20 |
|
Powerful Two-Hander posted:*thinking extremely hard* what features to all animals have? https://en.wikipedia.org/wiki/Gastrovascular_cavity
|
# ? Nov 17, 2021 19:35 |
|
i think you mean IButt Butt {get:} since butts may have multiple implementations
|
# ? Nov 17, 2021 20:00 |
|
|
# ? Apr 27, 2024 01:30 |
|
C# code:
|
# ? Nov 17, 2021 20:03 |