|
Ah yes, Powershell. They're at version 4.0 now and you still can't recursively delete directories. Or, well, it may work sometimes.
|
# ¿ Feb 1, 2015 22:00 |
|
|
# ¿ May 9, 2024 12:25 |
|
To be fair, it doesn't really matter if poo poo programmers forget to handle the exception or not check the error code.
|
# ¿ Feb 11, 2015 21:31 |
|
I'm assuming if you don't handle the error and try to do something with the file it'll also crash? I do agree with you I'd probably enjoy a FileNotFoundException more than a random 'segmentation fault' but then I never understood why people would want to use Go anyway. Who needs a debugger, am I right?
|
# ¿ Feb 11, 2015 21:40 |
|
I <3 Qt, mostly.
|
# ¿ May 8, 2015 13:05 |
|
Wheany posted:anybody here used vaadin?
|
# ¿ Jun 15, 2015 11:15 |
|
Apologies, operator precedence problems. I meant: non-"Javascript hipsters". So, yes, Java. For us regular beardless folks.
|
# ¿ Jun 15, 2015 15:39 |
|
KARMA! posted:I wonder what dhh thinks of this
|
# ¿ Oct 16, 2015 13:01 |
|
fleshweasel posted:who the gently caress actually uses dynamic in c# lol
|
# ¿ Oct 19, 2015 09:45 |
|
Suspicious Dish posted:now do image thumbnailing and document normalization and for that you just use rabbitmq which round-robins messages in a queue to N consumers whereby the N can vary dynamically
|
# ¿ Oct 21, 2015 09:18 |
|
Blotto Skorzany posted:you install it and then run the command. i think it already comes installed on most distros anyways 95% of my company posted:what's a "distro"?
|
# ¿ Nov 9, 2015 10:07 |
|
Suspicious Dish posted:Wrote another article about computer. Dat article posted:You might imagine that the region below has two bands, but our "overlapping" rule means that it must have three. Edit: Ah no, a band can consist of multiple rectangles. Welp. Looks like what used to be called span buffers, or s-buffers, back in the late 90's Edit 2: This is an absolutely *delicious* series of articles so if recognition is the only thing you need to continue you are hereby recognized, sir! Sagacity fucked around with this message at 13:55 on Nov 18, 2015 |
# ¿ Nov 18, 2015 13:40 |
|
want to use libraries like sdl or opengl in go? just use this simple workaround! https://github.com/golang/go/wiki/LockOSThread code:
|
# ¿ Nov 20, 2015 16:19 |
|
crazypenguin posted:I don't even like them in personal projects. Macros are the worst decision language designers can make. Thankfully C++ fixed the reliance on defines by introducing the wonderfully elegant world of templates. Now, if THEY break the error messages are...well, let's add concepts to the language to improve the error messages, etc. *rabbit hole sprung*
|
# ¿ Dec 11, 2015 10:58 |
|
Soricidus posted:looked at it briefly a while ago and it didn't seem to offer enough over java8 + judicious lombok to justify learning a new language that nobody else uses
|
# ¿ Dec 24, 2015 14:43 |
|
so it is too difficult to look in two places at once, but if you want vertical centering you just need to nest three div's together with a bunch of bogus styles which is completely intuitive i guess, idk
|
# ¿ Dec 30, 2015 10:06 |
|
i'm glad css hipsters are now using tables again, so the rest of us don't have to feel bad about it
|
# ¿ Dec 30, 2015 10:35 |
|
Bert Bos @ W3C posted:
|
# ¿ Dec 30, 2015 12:39 |
|
right, is shaggar
|
# ¿ Mar 14, 2016 17:57 |
|
in the meantime just use intellij and add ".var" at the end of your "new Object()" code and see the "final Object o = new Object()" magically appear
|
# ¿ Mar 15, 2016 17:02 |
|
isn't it marked private
|
# ¿ Mar 15, 2016 18:21 |
|
Cybernetic Vermin posted:nice race condition, that'll be a fun bug in production 5 years on
|
# ¿ May 18, 2016 11:50 |
|
Bloody posted:go is Garbage
|
# ¿ Jun 5, 2016 11:32 |
|
they say scala lets you write really terse, elegant code yet they don't mention that it takes you a long time to take your algorithm and whittle it down to those 6 unicode characters and every time you need to look at that code again in the future you will have to spend the same amount of time figuring out what it's doing and again and again
|
# ¿ Sep 28, 2016 12:28 |
|
leper khan posted:mono is good i assume you've never tried to run a big c# server app in production on mono, on linux? (and if you haven't, don't worry, you have made the right choice there)
|
# ¿ Oct 13, 2016 10:50 |
|
Or still use c++ perhaps?
|
# ¿ Jan 29, 2017 23:06 |
|
so insomniac games just published a postmortem of their choice to use a plang for their game editor tools. they decided (in 2010) to build their next-gen editor in javascript, with a chrome plugin to render the actual 3d. it's a really interesting read -- they're not going forward with that technology. 340,000 Javascript LOC, ~1,000 files their opinion of js: insomniac posted:● So much pain – a toy language that is still growing up their experience with v8: insomnmiac posted:Browser crashed in production, randomly they tried using jstree to render some tree views: insomniac posted:I would think that performance with a mere 1,000 nodes should be nodejs: insomniac posted:After light use we lug around 90 MB of deps ...i could go on, but you should probably read it for yourselves their major conclusion though: insomniac posted:Lesson: JS needs more rigor than C++, not less they've now gone back to C++, using Qt Sagacity fucked around with this message at 21:21 on Mar 3, 2017 |
# ¿ Mar 3, 2017 21:14 |
|
Powaqoatse posted:c64 basic
|
# ¿ Mar 9, 2017 21:15 |
|
I really like the rust community as well but if this had happened in exactly the same way in the nodejs community you would've been all over it Otoh it would have probably generated a GitHub issue with 600 +1 reactions
|
# ¿ Apr 30, 2017 22:56 |
|
There's an actual plang now!
|
# ¿ May 21, 2017 16:36 |
|
Well, hot on the heels of Microsoft's plang announcement Martin Odersky has some good ideas for improving Scala as well. God bless.
|
# ¿ May 21, 2017 19:55 |
|
open your IDEs
|
# ¿ Jul 18, 2017 14:13 |
|
Symbolic Butt posted:you have to create other microservices to keep those databases synced
|
# ¿ Oct 16, 2017 13:28 |
|
a train of thought i had at work: * i notice that a lot of api's in our company have a ton of optional fields * we have a six-month deprecation notice on api breakage * instead of wanting to modify their api in a breaking way, people seem to just randomly add new fields then * this sucks others have noticed that as well and are proposing we move to kafka and store service's events there. in itself this is fine, but they seem to think this will solve versioning problems as well. but wouldn't it just be: * a team starts sending OrderCreated messages to a kafka topic (or stream or whatever it's called, idk) * they want to change their message * they either need to create a message-v2 stream, somehow backfill it, and instruct everyone to switch over * or, they'll just add an optional field to their existing message seems like they'd choose the latter. it sucks, but it also makes sense that that would be a team's choice, since it's lowest friction for them. now if it were up to me i'd just make sure you don't need to keep old api's around and part of breaking your own api is that you have to go into other services and fix the integration, which could be fairly straightforward to do. but let's assume this is an organization where that's not possible...how do you handle a scenario like this?
|
# ¿ Oct 17, 2017 09:33 |
|
But at some point you reach a tipping point where most of your properties are optional?
|
# ¿ Oct 17, 2017 13:06 |
|
gonadic io posted:documentation
|
# ¿ Oct 17, 2017 14:09 |
|
seriously though, tooling around api's in general is pretty poor. like, there used to be swagger and raml and perhaps some others. raml got shot and now we just have swagger which is renamed to openapi. code quality of everything related to swagger is...well -- swagger-codegen is touted as the way to go for generating clients that consume a rest api. it's literally just a Map<String, String> that goes into some kind of mustache (or w/e) template. this is not maintainable at all. their openapi parser has a compatibility mode for 'old style v2 swagger' but it doesn't actually parse it correctly. and all of this doesn't actually take into account any kind of async api's, so don't expect to provide any documentation about message queues or topics your service may publish sigh then there's lots of people in google groups talking about api documentation and tooling, but they're all off in la-la land talking about HATEOAS vs HAL and other hypermedia nonsense nobody cares about
|
# ¿ Oct 17, 2017 14:23 |
|
thanks, we're doing Java, so I ended up building something using the swagger-parser library and javapoet to generate source code. not too hard to do and it's working fairly well so far.
|
# ¿ Oct 17, 2017 20:36 |
|
Shinku ABOOKEN posted:i created a virtual dom for swing using kotlin but then i got bored and lost interest
|
# ¿ Nov 23, 2017 13:54 |
|
what always amazes me is that there is, for better or worse, a lot of discussion about things like swagger, raml, etc to provide decent tooling for rest apis. none of these things have an inkling about asynchronous communication at all. want to use message queues to reliably communicate with other (micro)services? better not want anything documented!
|
# ¿ Mar 20, 2018 13:20 |
|
|
# ¿ May 9, 2024 12:25 |
|
shagger and oracle can't BOTH be wrong
|
# ¿ Mar 21, 2018 14:05 |