Better HN
topnewbestaskshowjobs
Log inSign up

ledgerdev

366 karma · joined Jul 21, 2016 (10y ago) · 239 submissions

Submissions

comment 6y ago · link · parent

Very nice syntax, looks great.

comment 6y ago · link · parent

Thanks!

comment 6y ago · link · parent

What's the hosting story for crux if one wanted to try it out on a side project?

comment 6y ago · link · parent

I haven't actually used wrangler yet, but will give it try :)

comment 6y ago · link · parent

I love the discussion about what's the future abstraction for serverless, and love where cloudflare is headed. Can wait to see what's next. A couple questions.

Any plans to support web-sockets terminated in the isolate(not just proxied)?

Any plans for a local development? Some open source locally run-able or low volume self host-able stack that mirrors the global stack would I think really help dev workflow and adoption.

edit: just poking around their blog saw this. https://blog.cloudflare.com/making-magic-reimagining-develop...

comment 6y ago · link · parent

Node+NPM isn't going anywhere, but Deno sure seems like the server based runtime of the future.

comment 6y ago · link · parent

see https://news.ycombinator.com/item?id=22144120

comment 6y ago · link · parent

Sorry wasn't worded well, and in no way am claiming calva doesn't show inline information. I have used calva extensively though not in the past year. It should have read something like this:

> does it's best to some inline information ... but doesn't support displaying inline results nearly as well as lighttable or Chlorine.

So vscode/calva just adds text formatted only information information at the end of a line. This works fine if the result is short like say "hello world". But what happens if it's a large result, say a list of 100 items? In this case it just prints out some portion of the result or perhaps even the whole result? I can't even remember exactly. And if you throw exception, it's printed out on one very, very long line of text (or was last time I used it) at the end of the line. I can recall scrolling horizontally thousands and thousands of columns and trying to interpret the long the already hard to decipher clojure errors.

What Chlorine and LightTable do/did much better is show the large/long results in a formatted block below the line, and with large data structures allow formatted expansion, because atom isn't limited to only line based decorations.

Here even is the author of calva asking for more than just simple :before and :after line decorators in vscode. https://github.com/microsoft/vscode/issues/3220#issuecomment...

Has calva been able to better handle inline errors and large results better? If so I need to try it out again.

comment 6y ago · link · parent

The integrated repl and inline results in lighttable were the best! Sad that it was abandoned.

The best choice today for a similar experience is Chlorine(https://atom.io/packages/chlorine) which is built on top of Atom. It also uses the built in clojure socket repl, not the complex nrepl.

Calva does it's best to show some data inline, but unfortunately vs-code doesn't support displaying inline results https://github.com/microsoft/vscode/issues/3220

comment 6y ago · link · parent

I too have been wondering the same. Does anyone else see a need for some external service that examines resources/permissions and give a clear picture and ongoing monitoring for changes? Are there any services that already do this well?

comment 7y ago · link · parent

Absolutely watch the talk "Are we there yet", it's my favorite of all time.

In short OO gets time fundamentally wrong, is unable to represent a discrete succession of values, and entangles state with operation.

OO has been ~35 year wrong turn for the software development industry.

comment 7y ago · link · parent

That is good and some gateways do this as well but many don't and, having the tokens under your control means you don't have to co-ordinate a transfer between 2 other parties, but just proxy a new outbound request to your new provider and be done with it.

comment 7y ago · link · parent

Very cool, will try this out! I've been doing a fairly extensive integration with their primary VGS tokenization service and it's been a solid, though young platform with a few missing pieces they have promptly addressed. The use of a programmable tokenizing L7 proxy seems to me the best path forward to isolate sensitive data in systems for regulatory and security purposes. If you store sensitive data in your application, you really should look into it.

comment 7y ago · link · parent

Yes they are, BUT if you use stripe(or any processor) for monthly recurring charges or tokenization, the card data is permanently locked to processor. So what happens next year when you decide you need to use a different processor for some reason? Well you're out of luck and will have to force all of your customers to re-enter payment data to change processors.

comment 7y ago · link · parent

Clojure is radically practical :)

comment 7y ago · link · parent

Agreed, just finished watching, and that's an amazing talk.

comment 8y ago · link · parent

Yep, but it seems as if critical problems with updates(https://www.reddit.com/r/SolusProject/comments/9xrpeq/uodate...) are more common recently.

I haven't used solus daily for about 6 months, and prior to that used it daily for a couple years. I too will be putting it on a thinkpad shortly, we will see how it goes.

comment 8y ago · link · parent

Yes, been following it closely. Let's hope it survives because it's a great distro.

comment 8y ago · link · parent

I too love solus, but I'm a bit concerned with the ongoing project stability with it's creator and technical leader(ikey) leaving the project. It's been such an amazing project.

What do other think, can it continue to be relatively stable and not break things too much going forward?

comment 8y ago · link · parent

Been waiting for this release to start playing with Phoenix.

I'm super interested to see how liveview turns out. Can it be a game changer and free us from JS framework morass? Anyone know if there's a public liveview repo/work to look at somewhere?

comment 8y ago · link · parent

Has anyone used the HP ZBook Studio? It looks ok, but I've never heard much about it. https://store.hp.com/us/en/mdp/laptops/zbook-studio-mobile-w...

Also I would look into these

MateBook X Pro - 14 inch 3x2 screen! I may buy it just for that alone. (https://www.youtube.com/watch?v=Wh8qvqFVVbc)

Dell XPS 15(9570) - Same crap keyboard, but available for pre-order in a couple weeks and linux support should be good. (https://www.youtube.com/watch?v=FqeIPp8Zkg0)

Thinkpad t480s - almost perfect but screen is a tad to short/small.

comment 8y ago · link · parent

> I ditched the T5XX series when they borked the keyboard layout by adding a numpad

Let's hope this changes soon.

https://forums.lenovo.com/t5/ThinkPad-T400-T500-and-newer-T/...

https://www.notebookcheck.net/Lenovo-wants-to-release-a-new-...

comment 8y ago · link · parent

> in general it's harder to reason about transformable lists of code than it is about plain old objects and their methods.

I would say it's more fundamental, simply a large majority find it difficult to interpret and reason about trees, rather than sequential operations.

comment 8y ago · link · parent

Yes, but I was wondering how much memory would be needed for each of the other apps (web/admin/cron) connecting to the Solo. Would they require a full JVM peer, with a couple gig of memory each, right?

comment 8y ago · link · parent

For me a small project would generally mean a clojure web app with a couple hundred users, a clojure admin webapp used only occasionally, and a back end cron job that runs every 5 minutes or so and does the back end work. Any rough guesses what we are looking at to run this monthly using the Solo topology on aws?

comment 8y ago · link · parent

How about the huge number of companies that already use nodejs with great success, and don't want their developers to have to learn yet another platform(jvm), and be able to use a single platform for both server and client?

comment 8y ago · link · parent

I think you meant to say sub 20 second start times for clojure apps :)

But seriously completely agree with you about the jvm being awesome. However clojure var load times on top of the base jvm and memory use makes it dog slow to start a development repl(30+ seconds is normal.. queue comment about how someone only restarts their repl every couple of days LOL) and unsuitable or unusable for situations where you care about app start times of less than 10 seconds and memory constrained environments such as cli, iot, serverless, android.

comment 8y ago · link · parent

I think it's better referred to as a toolkit for building more correct software.

One of the things it can be used for is to check variable types at dev time, just as static type systems check a type compile time. It can also be used for runtime validation, randomized generative testing, more advanced checks/rules than current type systems can specify(eg checking outputs are correctly related to inputs).

Also an important philosophical difference with type systems is an open approach to data structure, where types are generally closed. The concept is that it allows more flexible systems that are easier to adapt to new needs.

Here's the best intro to spec I've seen, it's long and sound is terrible, but it's a great talk. https://vimeo.com/195711510

comment 9y ago · link · parent

I'm guessing this is the expo mentioned. https://expo.io/ https://docs.expo.io/versions/latest/guides/using-clojurescr...
1
45678