|
using it for CI's dumb too. just have your CI server treat any warnings as a failure while still running tests and stuff
|
# ¿ Mar 13, 2015 03:24 |
|
|
# ¿ May 4, 2024 04:37 |
|
Edison was a dick posted:goto in 5.2 and an actual integer type in 5.3 luajit supports goto even in 5.1 mode
|
# ¿ Apr 10, 2015 00:22 |
|
Subjunctive posted:it would be nice if lua had a decent standard library and support for parallelism, though https://github.com/pkulchenko/ZeroBraneStudio it's not very good but better than nothing luajit has a reasonable good built-in profiler. there's a few profilers for puc lua but none that are really worth using
|
# ¿ Apr 10, 2015 00:59 |
|
in practice things called "static analyzers" are basically typecheckers that sacrifice some soundness for completeness. a more expressive type system makes this tradeoff useful less often, but no one has managed to make a sound and complete type system that you can realistically write useful programs in, so there's theoretically always going to be room for a "static analyzer"
|
# ¿ Apr 11, 2015 01:30 |
|
fritz posted:i dont fully see what kind of type system would catch some of these errors: http://clang-analyzer.llvm.org/available_checks.html which ones? dead store is the only one that doesn't seem completely trivially using only features in existing real type systems
|
# ¿ Apr 11, 2015 03:03 |
|
ideally you'd want to only ignore non-semantic whitespace changes, which does require language processing
|
# ¿ Apr 11, 2015 03:22 |
|
i was thinking more of wanting to see whitespace changes inside string literals but nowhere else, but i guess there's also languages where a+b is different from a + b and python
|
# ¿ Apr 11, 2015 03:29 |
|
it's certainly not a critical issue that torments me on a daily basis or anything. i'm just saying that the simple language-agnostic tools are merely okay and not a totally solved problem
|
# ¿ Apr 11, 2015 03:34 |
|
just yesterday i fixed a bug in code with 100% path coverage which would have been prevented by rust's type system, but which even having fixed it i had no idea how i could possibly write a test which would trigger it
|
# ¿ Apr 11, 2015 23:07 |
|
VikingofRock posted:This sounds pretty interesting--can you share any more details? it wasn't actually all that interesting; just some very slightly incorrect code for passing values between threads that was incorrect in a way that rust's borrow checker would have caught which resulted in data races on a value never used for control flow
|
# ¿ Apr 12, 2015 02:39 |
|
Notorious b.s.d. posted:a friend of a friend does all his one-off sysadmin scripts in ocaml. he works in one of the world's only ocaml shops, so it makes a lot of sense in his context. why use a second language for scripting if your first one will do ? one-off scripts tend to involve mostly calling other programs and munging strings, and most of the languages i would consider using for Real Programs are kinda bad at both of those
|
# ¿ Apr 12, 2015 02:41 |
|
Symbolic Butt posted:I don't know how I feel about type inference, it's cool I guess and it's not the kind of "trivial static type checking" that I'm dissing itt Symbolic Butt posted:for me it's like I don't care if butts is a list or whatever, it's just a thing that I'm taking butt objects from. duck typing birch
|
# ¿ Apr 12, 2015 02:47 |
|
comedyblissoption posted:yeah but that's a strawman argument that no one who prefers large amounts of type inference is advocating idk, while i've never heard anyone outright claim that you should never have to explicitly state what type something is except for when the language requires it, i think a lot of people go through a phase where they think that when first exposed to good type inference, until they've worked with it for a while and hit places where they wish some things had their types annotated for readability
|
# ¿ Apr 12, 2015 22:52 |
|
Soricidus posted:famous last words probably more like "not like i'll be here in 5 years"
|
# ¿ Apr 13, 2015 19:55 |
|
the sml-like subset of f# seems almost strictly better than sml proper as a teaching language simply because the tooling is much better. smlnj's error messages are not great and it doesn't have a debugger at all
|
# ¿ Apr 15, 2015 17:49 |
|
Notorious b.s.d. posted:would unironically prefer this you'd love 90s style objective-c i guess (but not modern obj-c because everyone fell over themselves to abandon things like objectAtIndex: as quickly as they could)
|
# ¿ Apr 18, 2015 22:19 |
|
Arcsech posted:Given this list of problems, what makes Haskell worth using over F# or Ocaml or other such functional-first languages that aren't quite so strict? i think like 90% of the people who tell you to learn haskell would be satisfied with you instead learning ocaml (or f# if you ignore the people who reflexively hate anything from ms who don't realize that includes haskell)
|
# ¿ Apr 18, 2015 22:26 |
|
JewKiller 3000 posted:i certainly would, and i think you'd be more satisfied yourself! i can think of only two reasons why someone might choose Haskell over OCaml: they're attracted by purity enough to convince themselves that lazy evaluation is a good idea, and they like the large Haskell community. but i don't like pervasive lazy evaluation, and i don't like the Haskell community either.
|
# ¿ Apr 18, 2015 23:06 |
|
fidel sarcastro posted:i want to say that everyone uses first and rest instead, but lol programmers. that's mostly only schemers
|
# ¿ Apr 19, 2015 04:59 |
|
Blotto Skorzany posted:they are composed to make fun-to-pronounce functions, like cadadadaaadddddddadr and whatnot a "fun" lisp game: have someone with a stutter read some lisp code out loud and then try to come up with a plausible data structure involving the things they said
|
# ¿ Apr 19, 2015 05:03 |
|
my only complaint about gofmt is that the compiler should reject any code not formatted by it
|
# ¿ Apr 21, 2015 01:03 |
|
endless patience is pretty much a prerequisite for good technical writing on complex topics
|
# ¿ Apr 22, 2015 17:38 |
|
Max Facetime posted:or could overload operator . to check and return NULL on NULL obj-c does that and it's sometimes nice. leads to a lot of awful bugs from people not used to it, but eventually you get used to writing your conditional statements to be correct if things are nil and only occasionally get awful bugs
|
# ¿ Apr 30, 2015 18:37 |
|
Notorious b.s.d. posted:the non-joke is that he was using biological definitions not philosophy my ap biology class in high school told me that ontogeny recapitulates phylogeny was still considered mostly true so it was a bit weird seeing a 1978 citation for it being defunct
|
# ¿ May 4, 2015 21:39 |
|
i'd be much more okay with compiler-enforced hungarian than normal hungarian
|
# ¿ Jun 5, 2015 22:48 |
|
Blotto Skorzany posted:did they do that because they dislike overloading in general or because they wanted to avoid name mangling some of them don't like it and the people that do like it don't think that rust really needs it all that badly
|
# ¿ Jun 11, 2015 02:03 |
|
f# is fine too if .net is acceptable
|
# ¿ Jun 14, 2015 00:14 |
|
Subjunctive posted:tracing GCs still basically present the choice of "twice as much RAM as working set" or "pauses of indeterminate timing and duration", at the limit. I love 'em, but they're not a universal solution.
|
# ¿ Jun 24, 2015 22:40 |
|
Notorious b.s.d. posted:early in the c# era, people did try to port the then-preeminent java build tool to .net, and nANT was the result. nANT was every bit as good as the original ant, but microsoft didn't adopt it, so it died "as good as ant" generally isn't considered a compliment
|
# ¿ Jul 27, 2015 01:18 |
|
msbuild as originally designed is actually kinda elegant: ideally the project file should contain nothing but a list of files associated with various tasks and some configuration settings for those tasks, with the tasks themselves defined in .net assemblies written in the .net language of your choice. unfortunately, the other 90% of msbuild is awful cancerous growths of functionality hacked in in the worst possible ways because for some reason they decided not to just tell people to write custom build tasks when they need some logic in their build system.
|
# ¿ Jul 27, 2015 06:28 |
|
Shaggar posted:the design was a failure from the start because its still task oriented instead of result oriented. i think the motivation there was for faster incremental builds when working in the ide, but of course in the time since tup and ninja have delivered the same benefits by just taking advantage of the fact that the dependency graph typically doesn't change between two incremental builds, and for the first few years of vs.net the ide couldn't really handle projects with enough files for it to matter anyway
|
# ¿ Jul 28, 2015 00:13 |
|
b0lt posted:every service at google is either deprecated or not ready yet sometimes both
|
# ¿ Sep 9, 2015 23:18 |
|
that's not at all uncommon and is why people have been saying not to use extensions in your urls for a very long time
|
# ¿ Sep 30, 2015 20:47 |
|
Ralith posted:I think there's a standard variant type on the way too.
|
# ¿ Oct 2, 2015 23:21 |
|
Volte posted:We have different definition of syntax then. I don't consider an ill-typed program to be syntactic even if it can be parsed by the language's BNF grammar.
|
# ¿ Oct 6, 2015 22:29 |
|
swift goes a step further and doesn't even let you have private fields and so far i've never had it be a problem
|
# ¿ Oct 6, 2015 22:52 |
|
qntm posted:I actually had a danged good use case for this the other day but I can't remember what it was you can use it for memoization, lazy computed values, and any of those other things you'd use a local static variable for
|
# ¿ Oct 19, 2015 23:16 |
|
Suspicious Dish posted:What I was saying is that you can't compress raw video to H.264 in parallel. The process of compression is heavily linearized.
|
# ¿ Oct 20, 2015 22:58 |
|
Suspicious Dish posted:I didn't think you could switch SPS mid-stream, and isn't the SPS usually the output of the analysis phase? Blotto Skorzany posted:do the segments have to be split at keyframes for this to work?
|
# ¿ Oct 20, 2015 23:58 |
|
|
# ¿ May 4, 2024 04:37 |
|
pseudorandom name posted:no push notifications, though there's xmpp servers that support push notifications, and writing an apns plugin for tigase was only about a day of work
|
# ¿ Nov 17, 2015 01:10 |