HackerTrans
TopNewTrendsCommentsPastAskShowJobs

lokedhs

no profile record

comments

lokedhs
·vor 2 Monaten·discuss
Dyalog APL, along with other modern array languages that are related to it can all do imperative programming with loops etc.

There are certainly valid arguments that you hive certain things up when moving to an array language, but loops are not one of those.

That said, you won't use loops as much, but that's not because loops are not available.
lokedhs
·vor 2 Monaten·discuss
Thanks, that makes sense. I guess most CSV data you see in the real world do have headers. Perhaps I was looking too much about thr default CSV export format from Excel, focusing on making sure it can always be parsed. And Excel doesn't have column headers.
lokedhs
·vor 2 Monaten·discuss
I see. Kap tries to be as generic as possible, so assuming that the table has headers doesn't feel right. If the table dont have headers, and the reader assumes it does, then you'll potentially silently lose the first row of data.
lokedhs
·vor 2 Monaten·discuss
The string to specify the column types is not a terrible idea. Does it have other configuration options, like whether or not to assume the first row is the headers, or specifying the separator character?
lokedhs
·vor 2 Monaten·discuss
That wouldn't help much. People who don't use these languages doesn't understand that what makes the language different isn't the syntax. There are plenty of dialects that use English words instead of symbols (check out Ivy by Ron Pike for example).

The difference is much deeper, but the best way to understand it is probably to check out an introduction (there is a lot on youtube).

I'd personally be happy to give an introduction to anyone willing to listen, but this comment field is not the place to do it.
lokedhs
·vor 3 Monaten·discuss
Which would have been fine. In fact, if you read the notes from the very first implementation of APL you'll find that it was noted that they considered the lack of proper flow control as a gap that needed to be filled later.

Yet, even as the 90's rolled around you could find people writing articles in Quote Quad arguing that suggestions to add structured programming constructs to APL was somehow going against the spirit of the language.

Kinda sad it took 50 years for that attitude to change.
lokedhs
·vor 3 Monaten·discuss
That list is incomplete. Those are things that Lisp invented but is now commonplace. What it also invented but rather few languages also support is the capability of metaprogramming, being able to treat code as data.
lokedhs
·vor 3 Monaten·discuss
This is a good article to understand the thinking behind array languages in general, and APL in particular.

However, I disagree with some points made. In particular, this one:

> Some people say the most important issue at hand is to improve the data structures of APL. Others say what APL needs is a little bit of Franglais, which in our terms is APLGOL. “If APL only had the while-statement, or the if-then-else, or the for-statement, it would become such a perfect language.” That’s ridiculous. And it’s silly to say that if APL had arrays of arrays, all of our troubles would disappears. In point of fact, what will happen is that the amount of troubles would just grow almost exponentially if that happened.

This turned out to be untrue. And the resistance in the community to do this is partly what lead to its loss of popularity.

Modern array languages, and indeed most APL implementations, have these things and they did not create troubles. In fact, it made them practical and easier to learn, because it allows users to use the style that suits the problem at hand the best. And in some cases, a pure array solution is just not appropriate.
lokedhs
·vor 3 Monaten·discuss
To be fair, most languages in use today are just FORTRAN with diffrent syntax.

Both Lisp and array language programmers are sadly somewhat rare.
lokedhs
·vor 5 Jahren·discuss
Yes. A device doesn't even need to support reading and writing. The driver simply registers some name in /dev and the userspace code opens it and does ioctl.

You could also register a name under /proc. There is really no reason to have custom system calls.
lokedhs
·vor 5 Jahren·discuss
I've done the same, with the only difference being that I bought the stuff a few years back. I never enabled cloud management nor remote access though so I think I'm OK for now.

Not buying any more hardware from them though, unless things significantly change.
lokedhs
·vor 7 Jahren·discuss
I've seen some games downloading assets after the application is started. Did you consider implementing it like that?
lokedhs
·vor 7 Jahren·discuss
That's an incredible attitude, and should be commended. I bought the game on Steam even though it's not really the type of game I usually play. I don't doubt I will get my money's worth.
lokedhs
·vor 7 Jahren·discuss
Same. I actually went through and typed my Lastpass-generated password. That was a painful exercise.

Anther oddity is that the Android version is free while the Steam version costs money. Is there some other kind of monetisation strategies for that version?
lokedhs
·vor 7 Jahren·discuss
The JVM, and any other runtime which allocates its heap up front. You could argue that's cheating, but it does give you predictable behaviour.
lokedhs
·vor 7 Jahren·discuss
That is solved by adding a reasonable amount of swap space. In practice the swap will never be used, but it's there as a buffer to guarantee that things will work if the forked process doesn't immediately exec.
lokedhs
·vor 7 Jahren·discuss
You can find the source code here: http://www.softwarepreservation.org/projects/LISP/lisp15_fam...

The same site has the sources for plenty of other versions.
lokedhs
·vor 8 Jahren·discuss
Just because they don't sell access to the information doesn't mean they're not being evil. That company is likely the worst in terms of user tracking out of all the companies mentioned in these comments.

After all, this is a company that tracks not only what books you read, but how far you've read it, how much time you spent reading every page and how many times you went back to previous pages.

This is also the company who has microphones placed in people's houses, happily installed by the users themselves.

Given the fact that so many people people trust them with so many things, and their desire to be a provider of every single service, they certainly are a much bigger privacy invader than even Google or Facebook.