|
god sighs and reverts another commit
|
# ? Nov 17, 2021 20:13 |
|
|
# ? Apr 17, 2024 21:17 |
|
Shaggar posted:
bug raised: Orifice fails to keep track of contents or capacity
|
# ? Nov 17, 2021 20:14 |
|
an orifice doesnt have capacity or contents, the thing on which the orifice resides has content and capacity and generates streams from those contents via orifice(s)
|
# ? Nov 17, 2021 20:25 |
|
shouldnt both those always be return true anyway
|
# ? Nov 17, 2021 20:25 |
|
except ears i guess, cant put much in there
|
# ? Nov 17, 2021 20:26 |
|
Carthag Tuek posted:except ears i guess, cant put much in there coward
|
# ? Nov 17, 2021 20:29 |
|
Carthag Tuek posted:except ears i guess, cant put much in there sigh girlcum
|
# ? Nov 17, 2021 20:30 |
|
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 i've stuck with https://docs.microsoft.com/en-us/azure/architecture/best-practices/api-design which i believe i got from this thread i think the main rest guy doesn't like it cause it's not RESTy/CRUDy enough and binds to http (like people use anything else)
|
# ? Nov 17, 2021 22:42 |
|
MrQueasy posted:"Butt butt#get()" would be a good username if nonalphanumeric ascii was allowed. it’s a boring language for getting things done in. the thing with checked exceptions in lambdas is a particularly annoying wart, but all languages have their horrors and the jvm ecosystem is one of the less terrible places to be ime a particularly good thing about java is that its users know it’s a tool not a religion. they don’t have a cutesy name for themselves like “javanauts” or use adjectives like “beautiful” or go on about things being “javaceous” or w/e, they just sigh and hammer out another “catch (IOException e) { throw new UncheckedIOException(e); }” and get on with their day
|
# ? Nov 18, 2021 00:17 |
|
Share Bear posted:i think the main rest guy doesn't like it cause it's not RESTy/CRUDy enough and binds to http (like people use anything else) rest is so diluted a term as to be meaningless. it's safe to ignore it unless it's clearly defined at point of use. the thesis that coined it was talking about web browsers, which is not the target audience for your json database skin for possibly helpful content, I find http://www.codetinkerer.com/2015/12/04/choosing-an-http-status-code.html helpful. it's a few years old and I don't really keep up with trendy webdev so it may be out of date
|
# ? Nov 18, 2021 00:19 |
|
Shaggar posted:
i remember this james mickens talk
|
# ? Nov 18, 2021 00:21 |
|
Soricidus posted:they don’t have a cutesy name for themselves like “javanauts” or use adjectives like “beautiful” or go on about things being “javaceous” or w/e, they just sigh and hammer out another “catch (IOException e) { throw new UncheckedIOException(e); }” and get on with their day did you mean: chop some wood with a javax
|
# ? Nov 18, 2021 00:22 |
|
Bored Online posted:mecheng =/= mechanic =/= machinist I've been employed as all three at various ages and it is gods true path. ...not the path to money ...or happiness ...or job security Anyway, learn python, raise angel dollars, ???, ... Powerful Two-Hander posted:god sighs and reverts another commit lmao
|
# ? Nov 18, 2021 00:37 |
|
Carthag Tuek posted:except ears i guess, cant put much in there linux user spotted
|
# ? Nov 18, 2021 00:37 |
|
Soricidus posted:a particularly good thing about java is that its users know it’s a tool not a religion. they don’t have a cutesy name for themselves like “javanauts” or use adjectives like “beautiful” or go on about things being “javaceous” or w/e, they just sigh and hammer out another “catch (IOException e) { throw new UncheckedIOException(e); }” and get on with their day instead most java I find these days seems to be written by copying Java7 era stack overflow, or depending on a version of jee that was never published to maven for some reason.
|
# ? Nov 18, 2021 01:03 |
|
terrible programming: model view viewmodel presenter controller
|
# ? Nov 18, 2021 01:48 |
AbstractMonadFactory
|
|
# ? Nov 18, 2021 02:21 |
|
cinci zoo sniper posted:AbstractMonadFactory
|
# ? Nov 18, 2021 02:31 |
|
Java has some rather painful flaws as a boring business language though. Chiefly the lack of a decent way to initialize record types. There are no named arguments in the language so you have to use builders (not checked at compile time) or have a 20-positional-argument constructor. Record types come up a lot in line-of-business drudgery.
|
# ? Nov 18, 2021 02:37 |
|
Share Bear posted:i've stuck with https://docs.microsoft.com/en-us/azure/architecture/best-practices/api-design which i believe i got from this thread Thanks for the link, it's a good read. I've built APIs before, I guess I was looking for some deeper topics like rate-limiting, security, idempotency, etc. (which is why I thought an actual technical book was the way forward)
|
# ? Nov 18, 2021 02:38 |
|
Sapozhnik posted:Java has some rather painful flaws as a boring business language though.
|
# ? Nov 18, 2021 02:43 |
|
Today I made a MOTD script with the company logo in ascii art instead of working on my tickets. It displays relative system information such as uptime, free memory, a few useful commands, etc. My boss loved the stupid script more than he should have and immediately asked to put it in the build.
FlapYoJacks fucked around with this message at 07:09 on Nov 18, 2021 |
# ? Nov 18, 2021 04:17 |
|
DoomTrainPhD posted:Today I made a MOTD script with the company logo in ascii art instead of working on my tickets. It displays relative system information such as uptime, free memory, a few useful commands, etc. My boss loved loved the stupid script more than he should have and immediately asked to put it in the build.
|
# ? Nov 18, 2021 04:41 |
|
mystes posted:Builders/"fluent apis" are rampant everywhere and the lack of real type safety sucks... I guess maybe there's no way to fix them without cool poo poo like Idris? You could do it with an absolute fuckton of boilerplate, just have each builder method return a new type and store what was already set in the type... Just n^2 boilerplate types
|
# ? Nov 18, 2021 08:11 |
|
Xarn posted:You could do it with an absolute fuckton of boilerplate, just have each builder method return a new type and store what was already set in the type...
|
# ? Nov 18, 2021 08:19 |
|
Xarn posted:You could do it with an absolute fuckton of boilerplate, just have each builder method return a new type and store what was already set in the type... 2^n actually, since for every field you need a flag recording if it was set or not you can get away with just n types if you enforce a particular order of invocation
|
# ? Nov 18, 2021 09:36 |
|
if you want java or its ecosystem with decent types use kotlin
|
# ? Nov 18, 2021 13:02 |
|
NihilCredo posted:2^n actually, since for every field you need a flag recording if it was set or not gently caress, you are right I am turning in my nerd card
|
# ? Nov 18, 2021 14:10 |
|
what http client would you expect to be used in a 9 year old android project: - HttpURLConnection - Android HttpClient - Retrofit callbacks - Retrofit Rx - (comedy option) Spring RestTemplate the correct answer is: all of them Gazpacho fucked around with this message at 15:31 on Nov 18, 2021 |
# ? Nov 18, 2021 15:29 |
|
you forgot okhttp somewhere in there
|
# ? Nov 18, 2021 15:37 |
|
how to implement the MVVM pattern: create a class that inherits from ViewModel and use it somehow. that's it. that's all you have to do
|
# ? Nov 18, 2021 15:37 |
|
"guys this cert expired and now we can't access these instances can you renew it please?" *New cert is issued for the wrong DNS name* "Ok it's done if it doesn't work just try 'proceed unsafely' ticket closed" ffs Powerful Two-Hander fucked around with this message at 16:04 on Nov 18, 2021 |
# ? Nov 18, 2021 15:55 |
|
Powerful Two-Hander posted:"guys this cert expired and now we can't access these instances can you renew it please?" use it as an excuse to move to let's encrypt and close the contract spite is an excellent motivator, and janitoring certs sucks balls
|
# ? Nov 18, 2021 17:09 |
|
oh I forgot some parts of the app use embedded web view so those use XmlHttpRequest to call the backend
|
# ? Nov 18, 2021 17:27 |
|
DoomTrainPhD posted:Today I made a MOTD script with the company logo in ascii art instead of working on my tickets. It displays relative system information such as uptime, free memory, a few useful commands, etc. My boss loved the stupid script more than he should have and immediately asked to put it in the build. this reminds me of when I prefixed each of our project board columns in trello with a lil relevant emoji just for fun (and to make them pop more in dropdown menus). a couple days later the boss comes by my desk and asks for "a minute". immediately my stomach drops, wracking my brain wondering what I did that just got me fired (boss was great, this is just how my brain works). "so I had some ideas for some of these emojis…"
|
# ? Nov 18, 2021 17:38 |
|
pokeyman posted:this reminds me of when I prefixed each of our project board columns in trello with a lil relevant emoji just for fun (and to make them pop more in dropdown menus). a couple days later the boss comes by my desk and asks for "a minute". immediately my stomach drops, wracking my brain wondering what I did that just got me fired (boss was great, this is just how my brain works). That's fantastic! I am quite proud of my ascii art as well!
|
# ? Nov 18, 2021 17:55 |
|
Armitag3 posted:Thanks for the link, it's a good read. I've built APIs before, I guess I was looking for some deeper topics like rate-limiting, security, idempotency, etc. (which is why I thought an actual technical book was the way forward) i think more clarification about the specifics of those topics would be helpful to provide a better answer like monocqc wrote this which is very good at explaining backpressure/flow in the context of queues: https://ferd.ca/queues-don-t-fix-overload.html then there's the idea of rate limiting client interactions with exponential backoff but then the implementation details are on your end to enforce the rate limits based on observable load security is either basic auth or implementing your own oauth server (OR more depending on constrains) programming is terrible
|
# ? Nov 18, 2021 18:03 |
|
DoomTrainPhD posted:That's fantastic! I am quite proud of my ascii art as well! hell yeah that looks great
|
# ? Nov 18, 2021 18:08 |
a hiring manager did comment on my (python stemlord) cv that im unlikely ready to solve problems in a strongly typed language, because i lack traditional cs background
|
|
# ? Nov 18, 2021 18:09 |
|
|
# ? Apr 17, 2024 21:17 |
|
rule of thumb you should do fib backoff instead of exponential, but "exponential backoff" remains the term to use for any type of retry timer that increases after consistent "please retry that" responses
|
# ? Nov 18, 2021 18:10 |