|
Pavlov posted:I'm sure somewhere someone uses it, but I think it's been mostly dead for decades now. It seems to be dead in the hobbyist/open source space, but commercial APL derivatives still apparently make a ton of money for niche applications- see Dyalog Ltd. and Kx Systems. J was open-sourced some time ago. I've been tinkering with my own K implementation for a few months and it's quite a bit of fun.
|
# ? Jul 29, 2015 21:51 |
|
|
# ? Jun 8, 2024 09:32 |
|
I think we found the one language that is more math-y than Haskell.
|
# ? Jul 30, 2015 02:48 |
|
Jewel posted:I still refer to this video because it's interestingly separated from how programming is today. holy poo poo this is the best thing
|
# ? Jul 30, 2015 03:20 |
|
Pollyanna posted:I think we found the one language that is more math-y than Haskell. It's "math-y" in a very different way. Haskell concerns itself with providing many tools to constrain programs and make their behavior more explicit to the compiler so that it can validate a programmer's ideas and maintain internal consistency. It is a language primarily concerned with achieving roubustness via types and it is quite large and complex. The Haskell community is steeped in terminology borrowed from abstract mathematics. APL provides a uniform, concise notation for expressing computation on a small set of datatypes. APL strives to create programs which are obviously correct (or at least very easy to test) by removing all the irrelevant details and operating on data in a uniform fashion. Learning to express things in an "APL style" can be challenging for some domains, and the language seems to mainly fall down in interfacing with the chaotic, irregular outside world. In Java, you might write Java code:
code:
code:
Internet Janitor fucked around with this message at 15:38 on Jul 30, 2015 |
# ? Jul 30, 2015 04:09 |
|
Some newer tools could learn a thing or two about the REPL he uses in the video. I can't make heads or tails from it, but interactivity is awesome.
|
# ? Jul 30, 2015 08:10 |
|
Yeah, reminds me of Swift's 'playgrounds'.
|
# ? Jul 30, 2015 09:46 |
|
AuxPriest posted:We were talking about ternaries earlier, no? I've seen worse
|
# ? Jul 30, 2015 10:18 |
|
Jsor posted:Don't some people use APL for parallel stuff? Not as much as you'd think, despite the fact that most APL is heavily matrix-oriented and therefore data-parallel. The problem is that while APL programs have a lot of parallelism, they are also horribly dynamic, which makes it hard to do much parallelisation. In fact, most APL implementations don't even have compilers, but use interpreters with heavily optimised primitives (not unlike Matlab, to be honest). I have a colleague who is writing papers on compiling APL to parallel code, but they restrict themselves to a subset that can be typed in some reasonable way (and that still requires a seriously funky type system to deal with things like array rank polymorphism).
|
# ? Jul 30, 2015 11:30 |
|
I've never worked with APL or AMPL but one of my co-conspirators used AMPL for some mixed integer optimization bullcrap we were doing. Does anyone else use AMPL for anything or is that just a weird systems engineering niche?
|
# ? Jul 30, 2015 15:19 |
|
qntm posted:I've seen worse Yeah, that's completely readable. Not sure what the problem is either?
|
# ? Jul 30, 2015 19:33 |
|
Factor Mystic posted:Bugs are gonna happen. I'm going to assume that they do have test and this slipped through some how. The real horror is that the bug was fixed a few days ago with a lot of explanation and then quietly reverted with no message. welp firing all the SDETs was a great idea
|
# ? Jul 30, 2015 19:40 |
|
Unless String#isEmpty() means something other than what I think it means, then I don't see the point of stuff like txtNotes.getText().isEmpty() ? "" : txtNotes.getText()
|
# ? Jul 30, 2015 19:42 |
|
Malcolm XML posted:welp firing all the SDETs was a great idea Lol when did MS fire all their SDETs and how in the world did they rationalize that
|
# ? Jul 30, 2015 19:46 |
|
loinburger posted:Unless String#isEmpty() means something other than what I think it means, then I don't see the point of stuff like txtNotes.getText().isEmpty() ? "" : txtNotes.getText() I suppose getText could have a side effect ...
|
# ? Jul 30, 2015 20:02 |
|
Blotto Skorzany posted:Lol when did MS fire all their SDETs and how in the world did they rationalize that
|
# ? Jul 30, 2015 20:18 |
|
Man, I've heard that Agile actually can work pretty well in practice, but every time I read about it I feel like I'm being asked to join a cult.
|
# ? Jul 30, 2015 20:23 |
|
Has anyone advocated for agile novel writing by asking the question, "Why doesn't an author just write their final draft first?!?" That's what some of these arguments sound like to me. "We only spend 4 months writing NEW code out of a 2 year dev cycle! Look at all this time we're wasting coordinating with each other, testing the product, and fixing the product!" It sounds a lot like devs finding due diligence boring, and opting instead to write reams of text about how being less diligent is totally okay they swear.
|
# ? Jul 30, 2015 20:26 |
|
Mr Shiny Pants posted:Some newer tools could learn a thing or two about the REPL he uses in the video. I haven't used Julia's REPL, but Juno is really, really nice. It will inline intermediate computation results so you can click on a box and see a graph right next to the code that produces it. It has some serious issues right now (no way to pass command line flags to a program; have to use absolute file paths in the code because of weird Atom nonsense), but it has some great features nonetheless.
|
# ? Jul 30, 2015 20:32 |
|
A horror because this request response made it to production last month and a client just noticed it. It takes some doing to get this actual response, but now there will be a fire. (I didn't do it) <SUCCESS="FALSE" REASON="You suck" />
|
# ? Jul 30, 2015 20:48 |
|
Hammerite posted:is it laid out like this in the original? It's full of silliness, but it wouldn't look so bad if it were laid out in a sane manner. Was just a straight copy and paste.
|
# ? Jul 30, 2015 20:56 |
|
APL, eh?quote:Rho, rho, rho of X
|
# ? Jul 30, 2015 21:14 |
|
ErIog posted:Has anyone advocated for agile novel writing by asking the question, "Why doesn't an author just write their final draft first?!?" That's what some of these arguments sound like to me. "We only spend 4 months writing NEW code out of a 2 year dev cycle! Look at all this time we're wasting coordinating with each other, testing the product, and fixing the product!" I think part of the big problem with Agile is that when it's implemented, everyone hand-waves the fact that you are supposed to be diligent and test and fix. "This sprint lasts two weeks, so give the devs two weeks worth of coding to do!" "Well, when will we test, since they won't be done until the last day, and when will they fix what we find?" "Next sprint! Oh, give them two weeks of dev work to do for that one too! We have a schedule to keep!"
|
# ? Jul 30, 2015 21:27 |
|
-S- posted:A horror because this request response made it to production last month and a client just noticed it. It takes some doing to get this actual response, but now there will be a fire. (I didn't do it) It's always good to remind yourself that you shouldn't put swearing, insults, or hilarious in-jokes anywhere in a project at work.
|
# ? Jul 30, 2015 22:21 |
|
Lumpy posted:I think part of the big problem with Agile is that when it's implemented, everyone hand-waves the fact that you are supposed to be diligent and test and fix. lol at not having stories points include testing
|
# ? Jul 30, 2015 23:53 |
|
My last job had one week sprints, with zero hours allocated to testing. To fix this we changed to having two week sprints, with zero hours allocated to testing.
|
# ? Jul 31, 2015 00:22 |
|
The real problem is viewing testing as a distinct task from writing code to begin with.
|
# ? Jul 31, 2015 00:38 |
|
-S- posted:A horror because this request response made it to production last month and a client just noticed it. It takes some doing to get this actual response, but now there will be a fire. (I didn't do it)
|
# ? Jul 31, 2015 00:39 |
|
Plorkyeran posted:The real problem is writing code to begin with.
|
# ? Jul 31, 2015 01:10 |
|
Plorkyeran posted:The horror here is the weird not-quite-xml syntax, right? That's there, too
|
# ? Jul 31, 2015 03:17 |
|
Hammerite posted:no it's Pretty Horrible PHP Tail call optimization doesn't sound very PHP to me
|
# ? Jul 31, 2015 18:33 |
|
Blotto Skorzany posted:Lol spot the howler of a bug on line 8 You'll have to be more specific, are you applying the index origin operator? One of the founders where I work is the author of NumPy, discussions mentioning APL actually pop up somewhat often (relatively speaking) since there are conceptual (but mostly not syntactical) similarities.
|
# ? Aug 1, 2015 04:47 |
|
Sometimes read the comments https://www.facebook.com/notes/kent-beck/when-tdd-doesnt-matter/797644973601702quote:Gregory August
|
# ? Aug 1, 2015 22:56 |
|
Yeah you let contractors give you the run-around for seven years, and that's Kent's fault. Contractors gonna contract.
|
# ? Aug 2, 2015 02:23 |
|
"gently caress, look at all of this bad money. I know, let's bury it in good money."
|
# ? Aug 2, 2015 02:29 |
|
Janitor Prime posted:lol at not having stories points include testing LOL @ thinking having testing stories fixes Agile, or that having them even means developers will carry them out.
|
# ? Aug 2, 2015 03:46 |
|
AWWNAW posted:LOL @ thinking having testing stories fixes Agile, or that having them even means developers will carry them out. You don't have testing stories, you have testing be part of the overall story, which is included in the estimates. Of course, if the developers are lovely and don't test their software, no process on earth can fix the problem. It's something I bump into frequently: "My team is lovely and they don't do <X>, how do we force them to do <X>?" "Warn them if they don't do it. Fire them if a warning doesn't fix the problem."
|
# ? Aug 2, 2015 05:24 |
|
fritz posted:Sometimes read the comments https://www.facebook.com/notes/kent-beck/when-tdd-doesnt-matter/797644973601702 I get his point. All too frequently it's the TDD fanatics that can't actually turn out code in a timely manner and don't get the whole "delivering working (as opposed to beautiful) software is at the heart of Agile". Testing is very important, but TDD is just a tool, and one that is often misused. No, the main REST front-end to the app that doesn't have any business logic in it does not in fact need unit tests. I am also not impressed by the "artful" mocking of 5 separate classes that don't access external resources in order to have more "pure" unit tests.
|
# ? Aug 2, 2015 06:21 |
|
baquerd posted:All too frequently it's the It happens with Scrum, with Agile, with OO, with TDD, with BDD. People can take anything too far. I wouldn't say TDD is more prone to it in particular, other than it being the latest 'big thing'.
|
# ? Aug 2, 2015 06:35 |
|
Some of the teams at my company do Agile or scrums or whatever, and it all seems so loving dumb to me. What's so hard about going to work, and doing the poo poo you need to do at a pace that enables you to meet your deadline? Why do we need special names and paradigms for everything? Just do as much work as you can at a reasonable pace every day. Don't stop until the work is done. The end. I have never organized myself further than "Monday I am doing a code review, Tuesday I'm going to focus on getting a rough version of Module Y knocked out... etc", and I am easily 3x more productive than any of the Agile devotees I've met at work, and I turn out a lot fewer bugs than them too. Half the Agile disciple teams aren't even allowed to do big enhancements right now because they have too many bugs to fix.
|
# ? Aug 2, 2015 07:37 |
|
|
# ? Jun 8, 2024 09:32 |
|
At work we write unit tests for methods whose job is to call another method by mocking and making sure that the one method called the other method. I feel a bit skeptical. My instinct is that stuff like that is implementation details and that behavior in terms of outputs and return values is what should actually be tested.
|
# ? Aug 2, 2015 08:13 |