HNHacker News
TopNewBestAskShowJobs

4thaccount

510 karma · joined December 8, 2018

submissionscomments
4thaccount··on Learn more programming languages, even if you won't use them
My thoughts on weird are APL, Smalltalk, Forth, Haskell, Prolog, and Lisp. They're all weird in a good way though.
4thaccount··on Zarf’s Interactive Fiction (2017)
It was
4thaccount··on Zarf’s Interactive Fiction (2017)
What does he do at Cambridge? Student? Professor?
4thaccount··on Zarf’s Interactive Fiction (2017)
There is actually a few companies doing stuff with IF right now. There is one that gives you their tools and publishes your game on their site and takes a cut of the royalties. I played a preview of one some highschool girl wrote about going to a school of magic and it was a blast.
4thaccount··on Zarf’s Interactive Fiction (2017)
Emily Short has a collection of world class IF games and is my favorite writer. I haven't played Counterfeit Monkey yet, but have played some of her other work like City of Secrets, Bronze, and Alabaster to name a few.

Another good IF game is "Blue Lacuna" by Aaron Reed which has its own website. I'm about 1/3 the way through. I practically wept in the first 15 minutes of play. The technology and writing of modern IF far surpasses the INFOCOM games of the 80s.

4thaccount··on Marissa Mayer on career growth and how a revenue guarantee almost killed Google
Not 100% true. It depends on the industry, but I have a pretty good idea of the good and bad of many of our competitors. You're right that some of those factors are fuzzy.
4thaccount··on Marissa Mayer on career growth and how a revenue guarantee almost killed Google
I'm referring to comparing your existing job to a new one. Everyone does this and it can't be rare.

You have to look at quality of work, work life balance, the area, commute time, cost of living, salary, 401k match, benefits, chance of advancement, company culture, job safety, bonus amount, job security...etc. For a lot of people the choice is a no-brainer, but there are comparable and even worse jobs out there.

I apologise for the seemingly privledged attitude, but I'm assuming most on HN are Software Developers, Engineers, Mathematicians, and Scientists which generally have options and change jobs on occasion. Every single person who changed has done a pro/con comparison. Even if it was a no-brainier, the comparison would've taken place subconsciously.

4thaccount··on Marissa Mayer on career growth and how a revenue guarantee almost killed Google
I don't think this is a rare thing to do. I've done it and so have co-workers. A simple pro/con chart is really all you need.
4thaccount··on J Language – New Website
Yep. It's one reason why I prefer to write my own code where possible instead of using 3rd party libraries. When you need to change something, it is nice to not read tons of other code.
4thaccount··on J Language – New Website
Thanks, that seems obvious now. I should not skim so much.
4thaccount··on J Language – New Website
There might be a version on Rosetta Code.
4thaccount··on J Language – New Website
I think your comment does an excellent job explaining the reality. I also agree that I could probably figure out what a well written page of APL/J/K does quicker than the equivalent 20 pages of OO indirection which I find quite irritating. With APL/J/K you can get to the macro level understanding of what is going on pretty quick and then drop down to the micro. With C, I can always read the Main() method, but it fractals out passed that. Aaron Hsu describes this pretty well in some HN posts and YouTube presentations.
4thaccount··on J Language – New Website
I use Python a bunch and have used R in the past. I've dabbled in Julia and both APL & J. I know just enough to say that APL & J are much more expressive as long as Python doesn't have a fix_problem() method built-in. I believe ScottLocklin says something similar below, but he has a lot more experience in R and J than I.

Now q/kdb+ might be expensive, but I can only dream of doing analysis using it. SQL is great, but having the full power of K And Q-SQL would be pretty awesome.

4thaccount··on J Language – New Website
That would make sense. Maybe someone on their mailing list will take note (I'm just a lurker). If you want to see something really cool, look at the APL video for Conway's Game of Life on YouTube. If I recall correctly, Jon Scholes made that video a few years ago. I don't know him, but he was supposed to be an APL wizard and an all around good guy from what I've read. I was sad to read that he passed away recently.
4thaccount··on J Language – New Website
When you say that J is faster than R, are you referring to using Jd versus dealing with R's read_csv, or are you just talking about the calculations in general for the same size dataset and just using vanilla native language constructs?
4thaccount··on J Language – New Website
Jd the J database is free for non commercial use and listed as $600 for a single user to use commercially on their site somewhere last I looked. They have fancier enterprise support contracts as well.

As for the language itself, it is free to use in commercial projects I think (someone please correct me if I'm wrong), but the source code to the J language is either GPL3 or you can pay. I think that means if you wanted to use the J source as part of a commercial project, you can pay or make the source available under the GPL3 license. I'm honestly not sure though and would appreciate some clarification.

4thaccount··on J Language – New Website
Yea...sorry! I got excited and posted the link before realizing the majority of the site was still using the old wiki layout. Please forgive. I think the new landing page does look nicer and more modern.
4thaccount··on J Language – New Website
In APL and J, hello world is just 'Hello, World' I think if I recall correctly.

What makes the languages (APL, J, K) impressive is that you can simplify what is sometimes pages of code into a single line of symbols (APL) or standard ASCII characters (J and K).

Keep in mind that these languages are the definition of line noise to most coders as having prior knowledge of things like C, Python...etc will do you zero good as the building blocks are completely different from a high level. They might have if-statements in the language, but they're hardly idiomatic. J emphasizes tacit programming which is kind of like a data flow model made up of function application. The languages are quite mathy in some ways, but still approachable.

I find them to be lots of fun, very interactive, thought provoking, and pretty cool. I've only written a little APL & J, but enjoyed how I built my command up from a few built-in primitives.

A problem to me involves reading other people's code which uses primitives I haven't learned yet, or common idioms (Ex: you can make your own average function with a few characters avg=.+/%# so no need to add it to the stdlib). The average function on the tryapl.org site looked a little funny to me...then I realized it worked for not only lists, but multi-dimemsional data structures of n dimensions like tables or lists of tables. I imagine it takes awhile to become proficient.

Surprisingly, both J and APL have some decent support for things such as graphics, but they are still small communities compared to languages we know and love like Python.

In short, give it a try. J has some built in documentation called "J labs" that is submitted by the community. Dyalog APL has a free version for non commercial use and the excellent tryapl.org. Try not to be turned off by the bizzare symbols in APL. They have a long history and are easy to enter with either the IDE or keyboard (especially if you buy one from Dyalog with the symbols on the keys). The inventor of APL got the Turing Award awhile back (later invented J). It was also a big IBM product back in the day and is still used by companies like Volvo.

4thaccount··on Boeing MAX production cut signals long grounding
Agreed that static analysis/proof verification only gets you so far. I was just thinking that the visibility of the incident might lead to some companies asking how they can go even further to make things safer. Of course the first and most important steps consist of what you're saying above, followed by doing whatever they can on the software front if they aren't doing it already.
4thaccount··on Boeing MAX production cut signals long grounding
Is there a percentage pie chart for what was used on the MAX? Like 80% Ada, 15% C++, and 5% C? I wonder if we'll see a move to things like Spark where proof verification becomes more standard? I don't know much about avionics software, so any educated comments are welcome.
4thaccount··on 93% of Paint Splatters Are Valid Perl Programs
Or the best give you all the flexibility you could ever need and allow you the freedom to write readable and maintainable code or use all the features to write an insanely terse oneliner that can do the job quickly and be thrown out.
4thaccount··on The Third Phase of Clean Energy Will Be Most Disruptive Yet
Bingo! This very subject is being discussed in industry. However, it's important to point out that we're still pretty far from 100% renewables throughout the day. Both the ERCOT & SPP markets have had renewables as a percentage of load as greater than 50%, but that is generally during the night with low load and high wind. I'm not sure what markets will look like in 20 years, but they could be very different if we have 100% renewables and a high amount of grid level storage.
4thaccount··on The Third Phase of Clean Energy Will Be Most Disruptive Yet
That is the very simplistic explanation for prices that is great when talking to those that don't work in the industry, but in reality the impact of congestion and losses also factors into the prices as well as reserves in most markets (sometimes the impact is huge).

Also, the adding up of offers from cheapest to most expensive doesn't actually happen. In reality, there is complex OR software running an optimization algorithm behind the scenes. I fully agree though that what you're saying is fine from a conceptual point of view. This is how it was done a long time ago btw, but that was indeed long ago. I'm talking about the US markets btw... I'm sure some place in the world still uses the method you refer too.

4thaccount··on The Third Phase of Clean Energy Will Be Most Disruptive Yet
No disagreement. There are a lot of unit characteristics such as the minimum amount of time for how long the unit can be online. This was also good at pointing out long term contracts and agreements that are not seen by the market.
4thaccount··on The Third Phase of Clean Energy Will Be Most Disruptive Yet
No, that is a simplistic explanation that misses the key concept.

When you have a power "glut" you generally aren't decommiting many resources unless your commitment and forecast were insanely off. What happens is that the more expensive resources are sent to their minimum and are therefore no longer setting price. At that point, the cheapest units (wind and solar) are then setting price. No energy market in the US has logic to say "I don't need anymore and will then just go to zero". The linear programming problem is still looking at the cost to balance power and load (put simplistically).

Storage will help solve some issues, but will likely not be the short-term panacea people are making it out to be.

4thaccount··on The Third Phase of Clean Energy Will Be Most Disruptive Yet
That is not true. Where are you getting this from? Maybe I misunderstand you. Low prices generally come from when you have a very low marginal price (often because a windfarm can put in a $0 offer and still make a profit due to subsidies). Note that I'm not against the production tax credits, but the market distortions are very real and can impact decisions to build more generation.
4thaccount··on The Third Phase of Clean Energy Will Be Most Disruptive Yet
The part about renewables suppressing prices is already and has been a thing for awhile. We even see $0 prices in some market intervals because wind is so highly subsidized. This causes some issues as the market prices don't reflect the actual need.
4thaccount··on Running Forth Unikernels
Haha, yes that is a good way to explain it. Moore isn't necessarily wrong, but I don't think he is 100% correct either. Not everybody is a software engineer who can spend all day writing code. There are a lot of folks who write shell scripts and the like who need to do talk to computers without getting into machine code and Forth. Does a lawyer need to know the machine? Sounds inefficient use of time.
4thaccount··on Running Forth Unikernels
Safari online has a lengthy interview with him that is an excerpt from a book with lots of interviews on programming Titans. I read the one from Moore every year and I don't even write Forth. It is simply that good and thought provoking.
4thaccount··on The Programming Language Conundrum
I was not aware of either of these things (and now have some interesting reading to do) thanks. I will say that it doesn't surprise me that there is some limit on how much social coordination can be done in a group.

I guess you're doing this for blockchain?

← PreviousPage 2 of 11Next →