News for hackers. Stuff that matters.

AtroxDev

Really like your UI! Built something similar for myself (also as an replacement for hckrnews.com): https://hnhub.dev/
Re:Cloudflare is raising prices and introducing annual plans on Wednesday November 30, 2022 @03:16AM (#33798250)
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.
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).

Re:Hacker News Official API on Sunday August 21, 2022 @01:51PM (#32542609)
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/

Re:What I'd like to see in Go 2.0 on Friday February 04, 2022 @06:44AM (#30205568)
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...

Re:Do not use 'week year': YYYY on Tuesday January 04, 2022 @08:39AM (#29794543)
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.
Re:Do not use 'week year': YYYY on Tuesday January 04, 2022 @08:19AM (#29794374)
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

Re:Remix: On Rails on Saturday December 18, 2021 @06:57AM (#29603830)
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.

Re:Tetris in ClojureScript on Monday June 14, 2021 @08:12AM (#27501656)
looks like it is custom built: https://github.com/shaunlebron/t3tr0s-slides
Re:Ask HN: Show me your half baked project on Saturday January 09, 2021 @01:21PM (#25702937)
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 :)

Re:Show HN: Errorship, use datadog as an error tracker on Sunday April 19, 2020 @10:11AM (#22916017)
Hey, I edited my comment. I did miss the part in http.py somehow :). Thank you for clarifying.
Re:Show HN: Errorship, use datadog as an error tracker on Sunday April 19, 2020 @08:36AM (#22915495)
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.

Re:Firefox 75.0 on Friday April 10, 2020 @09:28AM (#22832773)
It still defaults to eager loading. You have to explicitly add the loading="lazy" attribute for it to load lazily.
Re:Low-Cost VPS Testing on Friday December 06, 2019 @06:45PM (#21727258)
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.
Re:AirPods Pro on Monday October 28, 2019 @01:17PM (#21379092)
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.

Re:Next steps toward Go 2 on Wednesday June 26, 2019 @01:28PM (#20287121)
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...

Re:HTTP Cats on Wednesday June 26, 2019 @12:18PM (#20286386)
You are using rails, remove the default 404.html from your public folder and it will stop serving the default rails 404.html.
Re:Cloud Run beta pricing on Tuesday April 09, 2019 @07:19AM (#19613489)
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...

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)

Re:Ask HN: Which self-hosted solutions are you using? on Thursday July 26, 2018 @10:13AM (#17617674)
watchtower (https://github.com/v2tec/watchtower) is the project you're probably thinking of. It works great for me.
Re:Go 1.9.1 and Go 1.8.4 are released on Thursday October 05, 2017 @03:25AM (#15407233)
because that is your package managers job

Older »