2,246 karma · joined February 1, 2010
Want to flatten an array of Maybes? Just search for [Maybe a] -> [a] and you'll find catMaybes and takeWhileJust.
This of course only works for Haskell because so much of a function is determined by it's types. Doing this sort of thing in say JavaScript would be an absolute nightmare. Still, it's an interesting train of thought.
I understand that there's a fine line between game analytics and farming PII but I think it's an important line. I'm sad to see Apple forcing you to use a first-party analytics solution. Smaller indie devs often won't have the time to set up their own data pipeline and depend on things like Unity Analytics or Flurry to help them do data analysis.
If you're running microbenchmarks and having issues, then you're likely not using JMH, the Java Microbenchmark Harness which used to be a 3rd party library but is now built in to Java 12.
Is Java memory hungry? Maybe. If you're just writing a small routing server, probably not the right use case for Java. If you're writing a big and complicated game server with hundreds of routes and you need to talk to MySQL, Redis, and Memcache then I'd say the memory overhead of Java is really quite good. Don't forget that you can tune the min/max heap and other things like that, especially with the module system in Java 11. However if very low memory is a requirement, then you're probably running in an embedded environment and you probably shouldn't be using Java.
Another interesting thing is that while you can technically run a version of Linux on these mainframe, most of them run z/OS with Unix System Services. So it acts somewhat familiar but you're sometimes forced to boot up a 3270 terminal emulator to connect and do some non-unix things.
[1] https://www.ibm.com/support/libraryserver/download/dz9zr006....
The speedup on English text is really good, and I love the exploration into the AVX intrinsics.
I'm carrying a backpack anyway and this is a really small amount of things to bring around. It's a very small impact from a single person, but every few times someone will say "ooh, that's a good idea" or something like that and it makes me feel like the idea is spreading.
If you've got zOS and COBOL knowledge then Toronto is the place for you. IBM develops their zOS software in Toronto (well, Markham) mostly. At least the compilers, DB2, and parts of WebSphere.
The other users are the major banks, and they're all headquartered in downtown Toronto. They're desperately looking for people with zOS and COBOL knowledge, I get plenty of recruiter emails for that despite not really having much COBOL knowledge.
Honestly, if you apply for any of those jobs with even a passing familiarity of COBOL you're pretty much guaranteed. Also, welcome to the mainframe club!