Better HN
topnewbestaskshowjobs
Log inSign up

capableweb

37,790 karma · joined Sep 7, 2019 (7y ago) · 9,208 submissions

Curabitur pretium dui sit amet quam pharetra, at condimentum turpis auctor. Maecenas vitae varius sem. Sed vel ante massa. Nulla a leo est. Morbi quis pulvinar nulla, et imperdiet nibh. Curabitur varius felis tempor nisl vulputate, id accumsan libero placerat. Sed mi odio, auctor ac lacus vel, sollicitudin mattis dolor.
Submissions

comment 6y ago · link · parent

I think you're missing the context here, we're talking about remote positions. Maybe what the company expect to pay depends on where the company's HQ is, if they have one, that kind of makes sense. But the company's cost for an employee shouldn't take the location of the (remote) employee into account because that has nothing to do with the hiring/work whatsoever.

comment 6y ago · link · parent

If you're fine with hosted applications (SaaS) then both Notion and AirTable kind of mix spreadsheets and databases together. Notion does it while being mainly a wiki while AirTable does it while mainly being a spreadsheet.

comment 6y ago · link · parent

As I haven't used Racket for anything professionally, I can't really answer the question with Racket in mind.

But Clojure is also built on top of immutable data structure, recursion and more, but also provides features for mutation of various things, both for pragmatism and sometimes performance. Clojure also lives like a hosted language (on top of JVM/browser engines/more), most of them being mutable by default, so providing those constructs help with interop as well.

comment 6y ago · link · parent

The implementation here would decide if this is "janky" or not as in web-dev circles, "janky" specifically refers to stuttering, lag, juddering and such, not in general something that is "hacky" (poor or ad-hoc solution).

So if it's performant, it's not "janky" (again, in web-dev circles) but it could still be a "hacky" implementation, even without any jank. It's also different from "robust", so something can be not-janky but also not-robust.

comment 6y ago · link · parent

> Keybase is primarily a secure chat app

I guess it depends on the user, but the key feature of Keybase (for me) is the web of trust I've built over the years now, and secondary is the features built on top of that web of trust.

comment 6y ago · link · parent

I'm happy if any of those three options happen, but I'm preparing for that none of them will happen.

comment 6y ago · link · parent

That would be really great, but feels like very unlikely as well. If they could open source it, why didn't they do it before?

comment 6y ago · link · parent

Well, "shunned" might be a bit too strong, but I don't speak native English. I certainly didn't mean to put down the author in any way, which is why I prefixed it with "Not that it's a big thing", it's just a helpful note regarding how to respond to feedback.

Let's cool it down with trying to start up some heated argument around this, no one is interested in that.

comment 6y ago · link · parent

Sure, but if time is of such importance here, copy+pasting the feedback into a new issue is faster than replying to the author and ask them to file the issue. Then it might be that they don't because of X, so you have to file it yourself anyways.

In both scenarios, just filling the issue yourself is faster

comment 6y ago · link · parent

Heh, was what I thought initially, but didn't want to call out anything! Certainly fine and no hard feelings! Good luck :)

8411.

Ask HN: Keybase Alternatives?

726 points · by capableweb · 6y ago · 228 comments

comment 6y ago · link · parent

Me and a friend were having coffee and were discussing secrets something like 10 years ago. The conclusion of our conversation was "Everything always comes out" (translated from Swedish [context was some gossip that eventually leaked about our common friend]) which boils down to that the only way you can really ensure something stays secret forever, is by only having it in your mind and not sharing it. As soon as you share it _anywhere_, there is a risk of it leaking somewhere.

The lesson I carry is that the more secret it something is, the closer to my brain it is. Top-secret = only in my head, little bit secret = encrypted on my harddrive, little less secret = encrypted in the cloud, not secret at all = just dumped in a Google Drive account

comment 6y ago · link · parent

Not that it's a big thing, but seems weird to put the responsibility about you not forgetting something, on the person leaving the feedback, rather than just filing the issue yourself.

comment 6y ago · link · parent

> , I don't think I could justify re-writing 40k LoC.

Absolutely, I agree with that as well! I would not rewrite something to a different languages unless there is a damn good reason for it. I'm not a person who generally rewrite stuff "for fun", so I think you're spot on here.

And I agree with you on the architecture/language comment as well, it's way more important. But I do think that the common practices of a language either helps/slows you down as well, so doing the same thing in two different languages can be implemented in different speeds.

> The language choice mostly just comes down to syntax preferences

Here is where I kind of disagree, but not fully. Yes, Java and C# are basically the same, in the end. Details are different, but mostly the same. Same goes for all languages in the Algol-group of languages, which C, JavaScript, Java, Python and more belongs to.

Then we have the Lisp-family of languages. They are very similar, within the group, but compared Lisp-like languages with Algol-like languages, the differences become way larger. Add languages like Erlang, which are way different, and you get some more differences.

So yeah, most of the language choices people do today, mostly come down to things around the language (ecosystem etc) rather than the language itself, because most people limit their choice to Algol-like languages.

In the end, I could not care less about the language you use, I'm not trying to force anyone to use what I find most productive. We all have preferences that speaks for us. But I wish someone tried to get me to dive into Lisp/Clojure earlier, and I think there are others who will feel the same, but again, I don't really care what others use.

comment 6y ago · link · parent

> I generally only tackle learning new things if it provides me immediate value to do so.

In general I agree with you, but I think this is taking it a bit too far. My journey was similar, except PHP was my starting language and I was doing frontend (so HTML+CSS+JS) at the same time.

But, now I'm doing Clojure full-time. But not until I spent 2-3 years on-off learning it. It wasn't until 1.5 year ago I actually sat down and started writing things in Clojure.

But if I had the "only if it provides me immediate value" mindset, I would never have learned Clojure. It's not until now I'm more productive than I ever been, but that required a bit of uphill fighting.

But I'm so glad I stuck with it, now I can't imagine programming in something else. Which has ruined me a bit, but I'm happy with that.

comment 6y ago · link · parent

I think this is a solved problem already, at least for Clojure JVM which can leverage AOT compilation. Maybe this library would help getting something similar for ClojureScript and Clojure-CLR, but at least ClojureScript that is compiled to JS wouldn't really gain anything here.

I think the use case for this library is less about saving things locally for reuse later and more about communication between multiple different services/runtimes.

comment 6y ago · link · parent

> Does this serialize functions to be sent over the wire?

That seems to indeed be one of the use cases.

> If so, why can't I just assign the function to a variable directly?

Clojure doesn't really have variables as you're used to it (I'm assuming your experience here). Instead, Clojure has Var, Refs, Bindings and more constructs. You can read about them here: https://clojure.org/reference/vars

> In the short-description it says "Function serialization between Clojure processes and dialects" but I can't find any example of using this cross-process-border in the readme.

It doesn't just have to be cross-process but cross-dialect. As Clojure has multiple runtimes (like JVM [most popular], JavaScript and CLR). So one use case of this library could be to have a frontend made in ClojureScript that dynamically requests behavior (functions) from a Clojure (JVM or CLR) backend in a nicer way than just sending the text of the function then calling `read` (that reads text into actual code).

> Though I applaud you for writing with an interesting vibe, I can't seem to get what you're describing.

But in the end, I agree with you. The author could make the use cases more clear and interesting, as that seems to be missing from the readme currently. What would be most interesting is not all the possible use cases, but the specific use case the author had in mind when writing this. What kind of interesting thing is the author building?

comment 6y ago · link · parent

> much more effective just to make changes in a text editor and track your state using version control

Statements like this makes it seem like while you probably have dabbled in Clojure and other lisps, you haven't used them substantially, as if you're using Clojure, you still make your changes in your favorite editor and code is still tracked in version control. It's not REPL _or_ code editor, it's code editor + repl backing.

Redefining functions on the fly is not a hack to lessen the pain, it's a defined workflow that makes you be able to work faster. If you're using it and it feels like something to lessen the pain, you're using it wrong.

> Sure, and with Go in VSCode, I just click 'run' above the test I just wrote. It isn't any more difficult.

This assumes a lot of things around the code that you're executing. First, you've already setup a test and it's already isolated enough. With a powerful repl + idioms, you don't need to do that, as you can execute parts of a function just to introspect that part, kind of like a debugger but works anywhere automatically.

In the end, I'm not gonna try to convince you to try something if you don't want to try it. But if you're anything like me, finding more productive ways of working is always interesting, even if they end up not being as productive as we first thought. With that in mind, since you seem to not have super much experience with a powerful repl, if you try it I'm sure you'll find what I say to be helping you be a better programmer.

comment 6y ago · link · parent

One could say "A world where US was run by decent government would be a great improvement" as well, but the collapse that you now seem to be in front of, does not give me any joy, even though I enjoy the thought of a future US that doesn't wage wars.

comment 6y ago · link · parent

It's not that you don't need a repl. It's that you don't really get the many benefits other repl-heavy languages have, like Smalltalk and the many different lisps. You got a lot of implicit state and other non-ergonimic constructs in the language that doesn't lend itself to live in a repl for development. Also I expanded a bit more on why Golang doesn't fit for repls in general here: https://news.ycombinator.com/item?id=23053343

comment 6y ago · link · parent

Depends on how the language you use works. Golang is not made for repl usage so of course you don't really get the full power. Compare with something like Clojure where redefining a function in a repl, makes every function using that function also use the new definition. Start treating functions as just functions without any implicit state, and you can start to overwrite things in the program on the fly. Super valuable when debugging and otherwise also when creating code as you can much easier test ideas.

I don't know if it has a different word, but a repl for Clojure using a repl-workflow is very different from a repl for Golang with the normal "save -> compile -> run" workflow you have with Go.

For example, using a repl-workflow in Clojure doesn't mean you don't write code in your editor. I use vim + vim-fireplace to write my code, then highlight the parts I want to evaluate. So I get both in one. The repl is running in the background, and vim-fireplace communicates with it. Combine this with a SPA and I can have something like `(.alert js/window @username)`, highlight it and evaluate, then have an alert prompt in my browser window, which is next to my editor. Saves me a ton of time.

comment 6y ago · link · parent

How do you manage design and implement such a basic website (thanks, I like that) and still screw up something like zooming? Seems there is a JS library or something that adds `font-size: 51.39%;` automatically to the HTML tag in the markup, effectively killing zooming...

comment 6y ago · link · parent

You might be on the wrong operating system if you don't like "code running in the background doing whatever it wants" as Apple has never shied away from doing just so. Try inspecting what your computer does when you've been away from it for 30 or so minutes, and you'll see a lot of chatter from Apple apps.

comment 6y ago · link · parent

My two cents, you don't have to agree but thought I'd just add a different perspective.

I prefer my own package manager (pacman) over snaps for the following reasons:

1) I like to upgrade on my own schedule. I use my computer for work, and I cannot have things break in the middle of the day or in the morning, just as I get started with work. I usually save upgrades for when I less things to do, so that in case stuff breaks, I can spend time fixing it. This has happened twice during the last 2 years, or something like that. One time Firefox got broken (or rather, the version upgrade broke an extension I use) and second time some API in neovim changes to a couple of plugins broke. If this breakage would just happen by itself, it would break the two most common tools I use on a day-to-day basis.

I've used both Windows and OSX for my professional work and while Windows is the worst offender when it comes to automatic updates, OSX is pretty horrible as well. At least with Windows you can expect some sort of backwards compatibility, while on OSX, one day you have to upgrade your entire OS, otherwise Notes or some stupid application won't launch. On the other hand, Windows eventually forces you to upgrade no matter if you like it or not. So both of them suck equally, but in different ways.

2) snap seems to create mountpoints for the applications and never removes them. When trying snap apps I always end up with bunch of pollution in my environment. Could be that I'm using snap/snapd wrong, but left a sour taste in my mouth, as I saw snap as something that wants to solve a problem that existed for a long time. Instead, they look a bit amateurish because of this.

comment 6y ago · link · parent

> instant feedback is possible in Go as it compiles super fast

Heh, you should try a language that comes with a repl and allows you to evaluate code directly from your editor in any context and get the results back. Then you'll have experienced "instant feedback". Until then, I can agree that Golang compiles faster than other languages, but it's nowhere near instant. In some other languages, you don't really care how fast it compiles as you only do it for deployments anyways (like Clojure).

comment 6y ago · link · parent

I'm pretty sure jillesvangurp is referencing the OPEC cartel here, that they are the oligarchies, and the behavior they have is where the word comes from. Not that the word oligarchy comes from something around oil.

Could also be that I'm reading it too favorably, but I guess that's better than the opposite.

comment 6y ago · link · parent

Could you share a bit about what things that are upcoming that you're excited about? From the outside the product seems "done", but it never really is. But none of the postings you have on the website talks about what I would be working on. Feels a bit like a waste of time unless you share some more around what people would actually work on.

comment 6y ago · link · parent

That's a nice coincidence :)

Seems the inspiration for the name comes from The Good Place, and the logo seems different enough that they won't sue the owner of the project, as the face in the logo is not that similar to Janet from the TV show.

> Why Janet? Janet is named after the almost omniscient and friendly artificial being in The Good Place

comment 6y ago · link · parent

I'm not hugely into Python, so not sure about the details of virtualenv, but if you want to install packages fetched by jpm in a different directory, you can set `JANET_PATH` to where you want them to go.

So doing `export JANET_PATH=$pwd/packages` would put them into `./packages` from your current working directory.

1
280281282
307