Better HN
topnewbestaskshowjobs
Log inSign up

lambda_obrien

312 karma · joined Nov 15, 2020 (6y ago) · 351 submissions

I like functional programming and red-headed comedians.

    whatever@lambda-obrien.com
(as in: "whatever" you want to address it to)
Submissions

comment 5y ago · link · parent

One thing I learn each day on HN is that software practitioners need more ethics lessons, it's sad that it's so hard for some folks to open their mind enough to understand why this isn't just some "rabble rouser" causing drama. Ethics in software, especially AI, are severely lacking in the present day.

comment 5y ago · link · parent

It's kind of a slippery slope to start letting employers hold pay in an account they control... reminds me of the union busting articles on the top right now, with Facebook building employee housing now, the idea you brought up is the next step towards the "Facebook Store" and scrips.

I understand some people have trouble banking, but the answer should then be for us to ensure they can have equal access to banking, no matter what.

comment 5y ago · link · parent

Arecibo was initially built to excite plasma balls in the atmosphere to study them, and was also used for other transmitter uses that required a super powerful transmitter, initially designed for that plasma use.

comment 5y ago · link · parent

And humans think being "smart" is going to get us to the end of time...

comment 5y ago · link · parent

The cost of electricity in CA is mostly the cost of the distribution infrastructure maintenance, which is a value approved on several levels of government, and the actual electron cost is hidden from the end user behind layers and layers of contracts.

The cost of electricity, then, is based on some fixed costs of infrastructure: we still haven't figured out how to make more electrons go down less metal wire than in the past. Any savings will result in lack of maintenance, aka: fires.

comment 5y ago · link · parent

I don't even have my full calendar on my personal phone, I just share the "busy" status calendar as a public calendar then subscribe to it on my phone. I can see when my first meeting is, but nothing else!

comment 5y ago · link · parent

I realized recently that I enjoy learning new programming languages, not even using them sometimes. I'll read all the tutorials and documentation, get it running on my PC, then find a new language I like more later and dump this one. Is that hedonistic, such that I learn simply for the joy of learning, and probably forget a lot of what I learned later? If so, then am I deluding myself into doing so for others somehow, even though no one who knows me as a person even cares about programming languages or knows that I am into them?

Frankly speaking, your comment comes off a bit dickish to me, especially this part:

> You may trick your mind into thinking you genuinely enjoy self-improvement

comment 5y ago · link · parent

Awesome! Thanks for that info! I think I'll try it out tonight, I still haven't used my free AWS products, so maybe I'll try a few others, too.

comment 5y ago · link · parent

Yes, large organizations that aren't tech oriented will use Oracle every time over other solutions.

It's not a great solution for tech companies, but they do say no one ever got fired for choosing Oracle or IBM or whatever, mainly because you can always pay them to fix your shit and there will always be someone supporting those products.

comment 5y ago · link · parent

Can I push to a git repo and have it automatically deploy the code there, like in Dokku, without any work at all?

To be clear, I am looking for a way to click through some setup stuff in a user management console then set some configurations and never have to manage anything again other than pushing to git. I don't even want to setup my own Dokku server, I already do that and while it's not hard, I don't like having to update it and maintain it about once a month.

comment 5y ago · link · parent

I have no clue what this is, like everyone else, but if AWS released a Heroku-like deployment tool that scaled massively and only cost the underlying resources and a small fee, I'd use it immediately for almost all my Dokku projects. I'm waiting for a Heroku-like service from the major providers that abstracts away the deployment work, but isn't going to bust my wallet (Heroku is way too expensive for personal projects).

comment 5y ago · link · parent

Thanks for taking the time to answer that person's question with such great detail and also talking about several levels. It was a joy to read.

comment 5y ago · link · parent

Excellent! I think that's exactly what I was looking for! Thank you so much for going into detail on that, it helped immensely.

I have a similar problem (though can't talk too many details) with discrete "ticks" and with a constrained CPU (a peak constraint, I have plenty of aggregate CPU power over time). I think I could fit some simple version of the symbolic module optimizer algorithm like you describe into the unused CPU time to optimize the spiky algorithm before I receive events (the events are spread apart pretty good) to return more accurate and timelier results when they do come. I am using a Haskell-like language for this that compiles to a binary format with a similar graph reduction scheme for the compiler as you describe for the symbolic reducer, so it should be very simple for me to compose the modules as you describe.

The problem I have now is that when I need to calculate something that's very-high-priority (some events have hard deadlines), I would like to have a more optimized algorithm, but I don't have time to optimize it on the fly from the information I know (my knowledge is continuous, only the events are discrete), so I have to use less-accurate results or sometimes I don't have an answer so I just return a "no answer" response and the process fails. I tried using some crappy default values, but it would still fail most of the time.

I think about my problem like a process which has a target and my answer is the "direction to aim at" for the process and so if I return a bad result to this process it'll just miss the target, so I just say "sorry, can't aim right now, wait 1 more tick" and I then am able to start a calculation for the next round before the process even asks for it and it finishes easily this time, since my events have a low frequency. Using an optimal algorithm (which I can get from a symbolic reduction: that's how I did it--by hand--in the first place to get my current algos) will always return the answer in time, based on my models and experiments.

comment 5y ago · link · parent

So you would model the equations on the fly for a certain optimization problem? If so, can you expand on the problems you were solving?

I'm trying to solve a similar sounding problem where I have to build the model equations from scratch quite often and right now it's using templates to recompile my binary with new equations whenever I need to do so, but that takes time and I have to manage a lot of code complexity. I'm doing it for performance reasons right now because other methods I tried we too slow, but it's getting unwieldily.

comment 5y ago · link · parent

If they're almost the same, could you use one git repo with different branches for each version? Or archive them with restic into a folder and restore which one you need each time. Either method should deduplicate data if they're mostly the same file structure and content.

Edit: You could even have several read only shadow copies of the repo for parallel working directory usage, if your hard link the .git directory except for the HEAD ref in each.

comment 5y ago · link · parent

Same, I'm about to quit computers and just go all in on my child and live at home with my family.

comment 5y ago · link · parent

Interesting, do you have any details on that? I've always seen it's origin story start in telecommunications.

comment 5y ago · link · parent

Haskell has been around for a really long time, almost 4 decades. It's used quite a bit by programming language theorists and category theorists to prove their mathematical theorems in a real language. It's not trendy or experimental, although some parts are one or both. There are about 5 ways to do everything in Haskell, but that's not bad once you understand it. It's not a language you can just pickup in a weekend and easily Google questions about, it's generally used for applications that require some higher level of data and quality assurance, from a fully proven program using Coq to simply a program that's easier to use equatorial reasoning on, like industrial processes or stream processing pipelines.

Erlang has been around about as long. It's also not trendy, and it's designed for telecommunications applications, where the extremely distributed actor model is great. Others might try to shoehorn it everywhere, mostly via elixir, but it's a very reasonable language for many uses, like chat programs or distributed in memory stores.

You might want to understand something before you crap all over it, everything exists for a reason, try to figure out the reason.

comment 5y ago · link · parent

The original article was in a Haskell context, where you'd use a Maybe or Either to prevent that sort of mistake.

comment 6y ago · link · parent

I wish i could pay for no ads on everything. If there are only like three ad networks for 99 percent of the internet, and they can track me easily, and they know how much I'm worth to them, can't they just email me every month and say, "if you want a no-Doubleclick ad experience next month, it will cost you $4.65, click here to pay." Not like they aren't already doing the tracking, and this would increase the value to their ad customers since they wouldn't pay for views from people who don't want to see ads.

comment 6y ago · link · parent

Because gboard predicts email addresses, and I have several Haskell-related mailing lists in my whitelist, gboard always tries to autocorrect "Haskell" to "haskell-mailing-list@..." when I am trying to text my pal about Haskell questions, so I get messages like (because I sometimes just swipe and send, without checking the message, like a moron):

"Hey, do you know in haskell-mailing-list@something.org if the Prelude..."

So, now I've turned off EVERY bit of AI bullshit everywhere, and I deal with mistakes myself.

comment 6y ago · link · parent

For sure, and I appreciate that! I just wish everyone would go nix, or everyone would go stack, or whatever.

comment 6y ago · link · parent

I love writing Haskell code, but the community desperately needs to agree on one method of install and project setup-- cabal, stack, nix, whatever-- and then make it WAY easier for new users to start projects.

I'm not at all saying simplify the language for the LCD, but I have to manage all three of those tools and more and their usability is horrible. The configs are all over the place, there's 2 or 3 per project repo, another several global configs, the command line tools have a thousand flags and switches, the compiler language extensions are insane (i have like 30 turned on by default, and those are just the safe ones), i could continue...

This project, at least, tries to help the new user get into it quickly, I appreciate that because it helps me get my friends to try Haskell for a nontrivial use right away, then they want to invest the time to learn the rest of the Haskell toolchain bullshit.

comment 6y ago · link · parent

That's no longer true, in case you were wondering. People still say `bytes <-"instead of"-> chars` sometimes but we should stop that.

comment 6y ago · link · parent

How do these services make money?

edit: thanks for the replies!

comment 6y ago · link · parent

I've been looking for something between Heroku (too expensive, too many features) and Dokkku (too much hassle, I have to maintain my own security and patches) and this looks like exactly the thing I wanted, except it looks like it's only for Ruby? I use a combination of Python, Elixir, and Haskell, so I'd love it if they did support other langs.
1
89101112