Better HN
topnewbestaskshowjobs
Log inSign up

AtroxDev

494 karma · joined Mar 20, 2015 (11y ago) · 53 submissions

undefined
Submissions

1.

Protovalidate Is Now v1.0(buf.build ↗)

1 points · by AtroxDev · 1y ago · discuss

2.

Cloudflare AI Gateway now gives you access to your favorite AI models(blog.cloudflare.com ↗)

3 points · by AtroxDev · 1y ago · discuss

comment 1y ago · link · parent

Really like your UI! Built something similar for myself (also as an replacement for hckrnews.com): https://hnhub.dev/

4.

Was Async Fn a Mistake?(seanmonstar.com ↗)

5 points · by AtroxDev · 3y ago · discuss

comment 3y ago · link · parent

Totally agree with you. I don’t really need more features (maybe +2 page rules?) but having a way to give back without paying per site would be awesome.

comment 4y ago · link · parent

Can recommend kopia as well. It is the one that I settled with after trying out pretty much all the other open source solutions (at the time).

Works great across all my devices (win, mac, linux).

comment 4y ago · link · parent

I found the official API quite a pain to work with while building myself an alternative "hn ui"[0]. I mostly switched over to using the Algolia API[1], which is a lot more "fun" to work with. I can only recommend checking that one out as well.

[0]: https://hnhub.dev/

[1]: https://hn.algolia.com/api/

comment 4y ago · link · parent

From Rob Pike on reddit regarding this post[0]:

The and and or functions in the template packages do short-circuit, so he's got one thing already. It was a relatively recent change, but it's there.

Non-deterministic select is a critical detail of its design. If you depend on a deterministic order of completion of tasks, you're going to have problems. Now there are cases where determinism might be what you want, but they are peculiar. And given Go's general approach to doing things only one way, you get non-determinism.

A shorthand syntax for trial communication existed. We took it out long ago. Again, you only need one way to do things, and again, it's a rare thing to need. Not worth special syntax.

Some of the other things mentioned may be worth thinking about, and some of them have already (a logging interface for instance), and some we just got wrong (range). But overall this seems like a list of things driven by a particular way of working that is not universal and discounts the cost of creating consensus around the right solutions to some of these problems.

Which is not to discount the author's concerns. This is a thoughtful post.

0: https://old.reddit.com/r/golang/comments/s58ico/what_id_like...

9.

What I'd like to see in Go 2.0(sethvargo.com ↗)

215 points · by AtroxDev · 4y ago · 219 comments

10.

What I'd like to see in Go 2.0(sethvargo.com ↗)

3 points · by AtroxDev · 4y ago · discuss

comment 4y ago · link · parent

That's when you can be more precise if you want: `[year padding:zero repr:full base:calendar sign:automatic]`. The format is also checked on compile time.

comment 4y ago · link · parent

I agree. I really like how the `time` crate[0] in the rust world handles this[1].

with your example:

> format_description!("[year]/[month]/[day]")

0: https://crates.io/crates/time

1: https://time-rs.github.io/book/api/format-description.html

comment 4y ago · link · parent

I'm getting the following on visiting the page, couldn't have said it better:

> Unexpected Server Error

> Cannot destructure property 'series' of 'e' as it is undefined.

comment 5y ago · link · parent

looks like it is custom built: https://github.com/shaunlebron/t3tr0s-slides

comment 5y ago · link · parent

project: postcard.zone (https://postcard.zone), its a simple way to send a postcard to any address of your liking with fully customizable front and back of the postcard itself.

A long time on my todo list to make more out of it. It works as-is but I'm not happy with the current editor and some other things. Still, it gets some use on occasion which is nice :)

comment 6y ago · link · parent

Hey, I edited my comment. I did miss the part in http.py somehow :). Thank you for clarifying.

comment 6y ago · link · parent

The library calls back home to validate the key (URL: https://errorship.com/api/?errorshipLicensekey={errorship_li...). If it fails it raises an Exception. I don't think that this is the correct way to do this.

If your server is down, my application would crash too. Just cut the license validation out of the library. If I wanted to use the library without an license I could do so anyway.

edit: as noted by the author below, this is not the case :). If the server is not available, it won't raise an exception. I did miss that part somehow.

comment 6y ago · link · parent

It still defaults to eager loading. You have to explicitly add the loading="lazy" attribute for it to load lazily.

comment 6y ago · link · parent

The regions are listed in the docs: https://fly.io/docs/regions/#discovering-your-applications-r...

comment 6y ago · link · parent

I fully agree with this. I'm using Cloud Run since the day it got into beta and never been happier. It beats all the other platforms (for docker) IMO.

comment 7y ago · link · parent

I'm in the exact same boat. The AirPods just fit perfectly like no other pair before but for most of my friends it's the opposite.

I'm intrigued how the AirPods Pro will fit. We will see I guess.

comment 7y ago · link · parent

Looks like they really plan to move forward with the `try` function... I'm personally not a fan of it, I hope they listen to the feedback they received on the GitHub Issue and not just push it through like the error inspection [0].

[0]: https://github.com/golang/go/issues/29934#issuecomment-48968...

comment 7y ago · link · parent

You are using rails, remove the default 404.html from your public folder and it will stop serving the default rails 404.html.

comment 7y ago · link · parent

Cloud SQL is listed as unsupported [0]. Are there any estimates when this will change? I would love to try this out in combination with Cloud SQL.

[0]: https://cloud.google.com/run/docs/using-gcp-services#service...

comment 7y ago · link · parent

The new owner just confirmed that he purchased the package: https://github.com/ZijianHe/koa-router/issues/494#issuecomme...

(in case the comment gets deleted: https://i.imgur.com/J5lOiMZ.png)

26.

Developer Ecosystem Survey 2019(surveys.jetbrains.com ↗)

8 points · by AtroxDev · 7y ago · discuss

comment 8y ago · link · parent

watchtower (https://github.com/v2tec/watchtower) is the project you're probably thinking of. It works great for me.
12