HNHacker News
TopNewBestAskShowJobs

fusiongyro

5,495 karma · joined September 17, 2008

Daniel K Lyons

http://www.storytotell.org

Feel free to email me at fusion at storytotell dot org.

[ my public key: https://keybase.io/fusiongyro; my proof: https://keybase.io/fusiongyro/sigs/aYrkbCZouBBhqp_qOKPGdBfIn---A8P8wPVCKLSlpnA ]

submissionscomments
fusiongyro··on The BEAM needs an APL-y language
I don't think clpfd or chr are especially large hogs of memory. Have you run into issues there?

If you can write a smallish program that uses a subset of J (actually APL might be easier, since it is less likely to interfere with SWI's parser) I would be willing to try and figure out how to run it. Aim for 5-10 lines. Email me. I like the idea I'm just not totally convinced.

I feel like if I got better at J, my problems with it probably would be resolved. For instance, it feels to me like J is really bad at parsing (beyond regular languages anyway) and tree structures. But there are built-in verbs for these things, so I could be mistaken. I only threw a few months at it last year. And I kept being indecisive about APL and J. It didn't help that Aaron Hsu was such a passionate advocate for APL, and Roger Hui apparently now works for Dyalog and has tried to close the loop on a lot of the ways J improved on APL there.

My back-of-the-envelope sense, from writing a small amount of J and a fairly significant amount of Prolog, is that J is way better at solving the core of a certain class of problem, but you spend a lot more of your life converting the input into an internal representation you can use and back to a result a human might want to see. Prolog really likes a certain class of problem which is somewhat less general than J, but it makes up for that limitation somewhat by being amazing at parsing and having great internal representations of things. In most of the cases where I would want non-determinism in J, I would probably try to rework my problem so that I'm doing all the possibilities at once and then detecting which ones succeeded. If I had non-trivial calculations to do, I probably wouldn't use Prolog, but if I had to, I would certainly consider calling out to C or something. My day-to-day interests seem to coincide more with what Prolog does well than what J and APL do well.

Anyway, I think it might be a profitable area to explore. I was curious about Brachylog for similar reasons. https://github.com/JCumin/Brachylog

Anyway, I'm curious if you could show me what you are thinking. There must have been a smallish program you thought would work well with this combination. Can you share it?

fusiongyro··on The BEAM needs an APL-y language
Saw your comment on Reddit about this, am still confused by why you think this is a good idea. The integration of Prolog variables and backtracking is going to make a real mess of the array operations, don't you think, or is it going to be a total embedding? If it's a strict embedding, why not just have a J process and call it from SWI-Prolog?
fusiongyro··on Ask HN: Do you have the courage to abandon your high paying job?
I live in a small town in New Mexico. My ~1200 sq. ft. house cost $95k. My wife and I lived comfortably here, the two of us, on essentially $70k/year for the first four years of our marriage. Since then, the money has gone up, we have two kids and raising two kids here has been fairly inexpensive too.

Across most of the country, you could take an 80% pay cut and still be considered rich by 90% of the people around you.

Life is different out here but I think you have enough money, and you know it, and it isn't making you happy or you wouldn't be contemplating your move. So fuck it, what have you got to lose? You'll probably find that the abundance of time and massive reduction in stress is adequate compensation.

fusiongyro··on Mata Hari with a Clockwork Eye, Alligators in the Sewer (1963) [pdf]
This is a PDF file.
fusiongyro··on Why Jewish History Is So Hard to Write
A friend of mine recommended A Peace to End All Peace, but I haven't read it yet.

https://www.amazon.com/Peace-End-All-Ottoman-Creation/dp/080...

Your idle curiosity has already yielded an important insight: the situation is complex. I think if everyone only knew one thing about the middle east, it should be that.

fusiongyro··on Pharo MOOC
DrGeo is a geometry package for education.

http://www.drgeo.eu/

MOOSE, which is some sort of code analysis tool:

http://www.moosetechnology.org/

I've never been able to make heads or tails of it, but it's kind of an architect-level tool and I'm just a lowly engineer.

fusiongyro··on Constellations Over Playas (2013)
I guess in the end,

http://www.constellationsoverplayas.com/atlas/

is a parody of

http://www.emrtc.nmt.edu/

I live in Socorro and attended NMT and I'm not entirely sure what the point is of this. The words on the page seem to be different on every page load.

I think the description of the project is probably more effective than the project itself. I have never been especially comfortable with the cozying-up to defense/national security of my alma mater, but it was more pronounced for me from the CS side with the Scholarship for Service and iCASA, etc., rather than EMRTC. Explosives are going to be interesting to the military.

fusiongyro··on A Visual History of Eve: 2014 - 2018
An optimist might look at all that and say, it just shows you how much fertile ground there is outside conventional programming languages. Maybe any or all of those could be significant.

It seems more likely to me that once you get far enough down any of those roads, the complexity of programming reappears. Now you have to decide whether you chose the wrong road or whether complexity is an unavoidable feature of programming. It looks to me like the Eve folks kept thinking they might find a twist that would avoid it.

I'm impressed at how many ideas they tried. But I can't help but feel that they were never in one place long enough to really build something lasting. Every time I looked at Eve, it was totally different (and looked promising) but when things change that much, that quickly, it's hard to lay down roots.

fusiongyro··on Mozilla Presses Pause on Facebook Advertising
Let me reinforce my earlier point: I am not predicting Facebook disappears tomorrow because of this scandal. However, I doubt it's the last big scandal, and I don't see a way for Facebook to unreveal their star killer base or disarm it. I am predicting slow decline for them from here on out, until they enter a heay death like MySpace or LiveJournal. Just because it appears to be a complete fixture in billions of lives today, does not mean it will be forever. We all lived without it 14 years ago.

"When building sand castles on the beach, we can ignore the waves but should watch the tide." -- Dijkstra

fusiongyro··on Mozilla Presses Pause on Facebook Advertising
On the other hand, one thing Taleb points out in Fooled by Randomness is that meteoric rises are often followed by catastrophic losses, whereas gains more slowly made are typically also lost more slowly.

You can also apply Richard Gott's estimator:

https://www.washingtonpost.com/news/wonk/wp/2017/10/06/we-ha...

At the 50% confidence interval, it predicts that Facebook has between 5 and 42 years left in it. Maybe the Cambridge Analytica scandal is serious enough to be the death knell, and in five years it will be defunct. Five years is a long time on the web. I could easily see us looking back on this as the scandal that led to Facebook's complete downfall.

Another question I don't have the answer to is how dependent is Facebook on advertising. If their brand becomes toxic and all the advertisers pull out, how much runway do they have? Enough to build a completely new revenue model before going out of business?

Day to day big things are rare, but over longer time intervals large companies do die, and for more frivolous reasons than this.

fusiongyro··on User-defined Order in SQL
I agree, but I note that Hibernate will put nulls in your list if you have gaps in the sequence. I have run into issues as a result of this.
fusiongyro··on Keybase is now supported by the Stellar Development Foundation
Before integrating a cryptocurrency, the incentive for someone to try and hack my account is "gee, maybe they have interesting encrypted files."
fusiongyro··on Queryparser, an Open Source Tool for Parsing and Analyzing SQL
So, why does it make sense in this situation ("you can all do what you please with your data") to mandate something technical ("but starting today you all must use UUIDs from now on") across all groups? What's the value of this change if using UUIDs is now literally the only thing they all have in common?
fusiongyro··on Queryparser, an Open Source Tool for Parsing and Analyzing SQL
Part of the point of SQL is that the database may choose to satisfy your query in a very different manner than you might expect given the procedural reading. Your example query is a nice illustration; a modern relational database may move your project/select steps earlier in the processing as long as it doesn't change the declarative meaning. Doing this kind of rearranging with a pipeline-looking query language is going to surprise people because you're giving the majority of people who think procedurally a false affordance. This is the fundamental "impedance mismatch": the ORM is trying to put a low-level wrapper around a higher-level idea. OO languages are still row-by-row procedural systems where relational databases are set-oriented.

If the target language is Haskell or Ruby or another "sufficiently DSL-capable language" it will be possible to make an internal DSL that encapsulates your query. However, in that case I think you'll surprise your users when you either have non-obvious limits to how you can intermix query with in-language code, or you'll surprise them with how badly your database performs compared to Postgres. You can see a little of both in the story of RethinkDB. If you are not using an internal DSL, you'll be stuck in the same situation as SQL where you are embedding your query language in the code somehow.

Relational databases are not just storage technology with a complicated query language. They are also integration technology. SQL's surface syntax may be unfortunate, but I'm increasingly doubtful that there is going to be a serious general-purpose database competitor that manages to hit the same notes only better. The main contender from the 90s was OODBs; they managed to have both shitty performance and lacked the ecosystem that makes SQL so useful as an integration technology: your application may be the main actor, but there are usually a large number of supporting cast members like cron jobs, reports, little scripts, ad-hoc queries, backup and restore etc, and having to do all of that with an OODB is very painful.

There are now and will continue to be niches where relational databases suffer, the prominent one today being distributed data storage. But the problem you think is a problem really isn't a problem. Industrially speaking, "I don't like SQL" is a non-problem. For people who hate it, there are ORMs that make it possible to ignore it most of the time for better or worse (mostly worse, but whatever). Syntactically, the main problem with it is, as another commenter stated, different dialects that behave slightly differently. This turns into a major engineering annoyance, but one that is mostly swallowed by your library dependencies, who have by now already basically taken care of it.

The benefit of using a modern relational database (I'm talking about Postgres but it applies to SQL Server and probably others as well) is they already have hundreds or thousands of man-years of effort put into optimizing them. I really thought RethinkDB had a brilliant design and it was going to be the next generation database. But it performed worse than Postgres and that makes it basically a non-starter. This is part of why niche databases are not based on SQL: if you handle a niche well, I will tolerate your oddities, but if you want to build a new general-purpose database today, in 2018, you can't just have a better design. Your better design has to come with better performance and the ecosystem, the tool support, maintainability, etc., or it's a non-starter. Databases are one of the hardest technical markets to break into. For most companies, the data is actually the most important thing.

fusiongyro··on Why is it hard to make friends over 30? (2012)
I have never had a particularly hard time making friends. Then again most of my close friends are in their 60s or 70s now, so they won't be there for me in my 60s no matter how much energy I devote to maintaining the friendship.
fusiongyro··on Stride, Atlassian’s Slack competitor, opens its API to all developers
80% of my coworkers do not read them. I read the ~5% of them that contain more than "Status: -Open- Assigned." Of my remaining coworkers, there are a dozen that reply from their mail client, which just makes everything worse.
fusiongyro··on Why is it hard to make friends over 30? (2012)
Same. I had friends, but I don't have time for them and frankly my quality of life isn't suffering yet. I suppose this is something I might regret when I'm 60, but for now I can't be bothered.
fusiongyro··on Stride, Atlassian’s Slack competitor, opens its API to all developers
The primary function of Atlassian software is to say "Access denied." You tell Greg he needs to give you permission to do whatever. Greg says he'll do that after he gets your self-assessment. He later writes on your self-assessment receipt that you're a whiner lacking self-motivation.

I've used Confluence for two years. It's slow and the editor is buggy. The primary function is to prevent me from making a document public. I've used JIRA for 8 years. JIRA's primary function is to send email.

I'd say your assessment is accurate.

fusiongyro··on Time Travelers
There will always be more math to be discovered, because there will always be theorems you can state but not prove within the confines of the existing systems.
fusiongyro··on Apple’s HomePod: Paying $350 for a speaker that says “no” this much is tough
So, you're the target market, and that market is "people who care about music enough to spend $350 on an Apple product to play it, but not enough to spend $850 on decent speakers, but still insist it's important enough that they want to spend more than $100 for the Amazon product that does the same thing only with the rest of the non-music features."

Sounds like a genre-defining winner to me.

fusiongyro··on Apple’s HomePod: Paying $350 for a speaker that says “no” this much is tough
That's good to hear. One of the reviews I saw said that it did not maintain that connection; maybe that was a bug or I misunderstood.
fusiongyro··on Apple’s HomePod: Paying $350 for a speaker that says “no” this much is tough
Who's spending $350 on an Apple speaker and has no other Apple products? How would you even get set up with Apple Music without at least an iPhone or an iPad, both of which get you into the territory of traditional entertainment center expenditures?
fusiongyro··on Apple’s HomePod: Paying $350 for a speaker that says “no” this much is tough
I absolutely agree, and the fact that Apple TV works in such a configuration, but apparently is unable to pair permanently with the HomePod speaks to Apple's complete disorganization around this.
fusiongyro··on Apple’s HomePod: Paying $350 for a speaker that says “no” this much is tough
The original iPhone made a point of doing three things well: being an iPod, being a phone, and being a mobile internet appliance. Basically everybody had a phone and an iPod at the time, the combination was enough to sell a lot of people. Having an excellent real browser and very good mail app certainly helped a lot. But I think the "third heat" effect there had a lot to do with the success of it.

The HomePod will not be saved by being the best at one of the two or three major functions of these things, when it is so absolutely sucky at the other two. I'm sure a cult following will develop around the audio quality. But this product is going to fail unless they address the elephant: Siri is worst-in-class on an iPhone, and it's apparently even more hampered on the HomePod. What are the "platform" effects you think are going to sell this, like the original iPhone had? What exactly could Apple do to enhance this, beyond the obvious one of getting Siri to work?

Apple TV is kind of in a similar boat. The sales numbers are not that great, the competition is stiff, and the refreshed Apple TV has continued to not get enough love to really address this. They just seem like they can't keep it together.

fusiongyro··on A photographer capturing subcultures that refuse to die
The fact that conversations with metal fans about metal are about as interesting as accounting night classes probably has more to do with this than some kind of visceral reaction to how "extreme" metal is or whatever. _Look What You Made Me Do_ is much more musically and artistically offensive than anything Metallica ever did, and I'm including _Reload_ in that.
fusiongyro··on A photographer capturing subcultures that refuse to die
I think when you're little, figuring this stuff out helps you figure out yourself. Affiliation helps you build out your identity. Most of us don't have an opinion about everything. The group identity can help you figure out what questions are worth asking and suggest answers.

As you grow, I think you need less and less of it. I still self-identify in ways that I don't actively practice. But more and more I think of my identity as an accident of circumstance populated by an accidental consciousness without much that makes it unique except my particular ordering of vices. I also don't see what making a big show of belonging would buy me now, in a world so completely ambiguous and shaded in grey that it feels like any positive statement can be twisted into some horror and our only refuge is a constant state of agreeable equivocation.

Maybe if enough of us see it this way, we can turn this perspective into a stylistic pre-designation and await an enriching conformity.

fusiongyro··on Why Create a New Unix Shell?
So, bash it is. :)

I love using fish and enjoy scripting with it too, but I'm hampered by this fact as well, and mostly use bash at work when others might see it or have to use it.

fusiongyro··on Why Create a New Unix Shell?
If you like rc, do you like es? http://wryun.github.io/es-shell/
fusiongyro··on Scientists In Alaska Find Mammoth Amounts Of Carbon In The Warming Permafrost
After reading Thomas Ligotti it's much harder for me to appreciate Lovecraft.
fusiongyro··on Solresol
Commentary by the conlang critic: https://m.youtube.com/watch?v=tZDUVJKo5nY
← PreviousPage 5 of 34Next →