HNHacker News
TopNewBestAskShowJobs

bestinterest

482 karma · joined October 14, 2020

submissionscomments
bestinterest··on Show HN: I mapped HN's favorite books with GPT-4o
Nice, super responsive - what's this using underneath? I see canvas + svelte
bestinterest··on Integrating Zig and SwiftUI
Noob question,

What makes languages like Zig, Rust, C and C++ the best fit for cross platform applications over many garbage collected languages? Why is bringing the language runtime a problem?

What does it mean to compile to a C-compatible library?

EDIT:

I decided to ChatGPT my question instead.

https://chat.openai.com/share/9a5f9f7a-0f5d-4cf6-95fc-4e0ec9...

bestinterest··on Show HN: Hat-syslog – Syslog Server with real time web UI
Here is a quick clip of my experience https://streamable.com/z3awpq
bestinterest··on Show HN: Hat-syslog – Syslog Server with real time web UI
I did have a quick play with Grafana Cloud using the default dashboards for their linux agent were so incredibly slow when trying to navigate simple metrics.
bestinterest··on Show HN: Hat-syslog – Syslog Server with real time web UI
Does anyone know of other tools like this which are a web UI of systemd logs on a VPS which I access, self hosted, from a website and secure behind a password?

I use New Relic for APM already, but I was surprised to find that New Relic does not support Debian 11 for their default infrastructure agent to forward logs from?

https://docs.newrelic.com/docs/logs/forward-logs/forward-you...

bestinterest··on Computer Latency: 1977-2017
Even if you fix where the backend is & use something like Edge workers around the world, you still run into the issue of where the database is hosted. Making all the work useless. Any useful endpoint is going to change some state like the timesheet app.
bestinterest··on Performance Improvements in .NET 7
I think this post has the best information on it as I am also learning here https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...

It is not just `magic` syntax imo, it is viral to your codebase. The blog post does way more justice than I can explain.

bestinterest··on Performance Improvements in .NET 7
I very much like the ethos of Golang for this reason. Still not had a reason to use it but like the idea of mastering the fundamentals in a weekend. Even if I lose the flexibility of LINQ or Java streams.

It feels like a scale of language conservativeness Go all the way at the top, Java somewhat in the middle (a little above) and C# at the bottom. It is going the route with lots of features and complexity, which can be a great thing but not for grug devs https://grugbrain.dev like me.

But saying all that Blazor looks really good for WebDev, I just worry it gets abandoned. It feels everything does in the C# space.

C# also made a big mistake imo by going with async/await instead of lightweight threads which will add a ton of complexity in the future for if they decide to go the greenthread route like Goroutines/Project Loom.

bestinterest··on Cramming 'Papers, Please' onto Phones
I have the exact same feelings.

Is immediate mode GUI's just that much better? Instead of a complex React/Redux style setup, how much easier would state management be if we had a render loop like game dev? Does that even make sense?

I am very envious at the pure programming skills of so many game developers. UI's in indie games are just a side thing in the deep complexity of a game and they end up looking incredible compared to the level of effort required for year long web app projects.

bestinterest··on The disproportionate influence of early tech decisions
I feel another point is that early tech decisions have a huge impact on the type of people you will have to hire. For example, Ruby attracts ruthless productivity and Go attracts people who prefer longer standing apps with less dependencies and maintainability.

I make it sound like Go may be the 'better' choice here but that is not the case, as the author mentions, it's a balance.

bestinterest··on Clojure needs a Rails
This brings up another point I hope someone tries to solve in programming. Every time a new language comes out we have to recreate millions of baseline libraries and it just sucks. As a dev I want to be able to make use of great libraries oblivious to what they are created with.

GraalVM is trying to solve this with its polygot VM idea https://www.graalvm.org/22.1/reference-manual/polyglot-progr...

bestinterest··on Performance comparison: counting words in Python, C/C++, Awk, Rust, and more
Also a Crystal fan but from afar. The compile time speeds are a real killer of productivity.
bestinterest··on HN is up again
Oh that is interesting, I guess they just spun up a beefy EC2 instance. I'm noticing slower performance, I used to get about <200ms for front page. Now it's 500ms-1s? Or is this placebo with my bias to thinking AWS is slow?

    NetRange:       50.112.0.0 - 50.112.255.255
    CIDR:           50.112.0.0/16
    NetName:        AMAZON-EC2-USWESTOR
    NetHandle:      NET-50-112-0-0-1
    Parent:         NET50 (NET-50-0-0-0-0)
    NetType:        Direct Allocation
    OriginAS:       AS14618
    Organization:   Amazon.com, Inc. (AMAZO-47)
bestinterest··on Show HN: Copper – A Go framework for your projects
So many frameworks in other languages are trying to get to the productivity of Rails but they just don't have the same spark imo.

There is no Rails equivalent in JS, theres lots of competitors that feel years away like SailsJS, the new Deno Fresh one etc, Adonisjs... Is NextJS/SvelteKit/RemixRun considered also? I don't even know if they have a standardised background job processor in JS land.

Java's solutions are dreadful imo for if you want to compare to Rails. Quarkus/SpringBoot/Micronaut are nowhere near productivity levels for a fullstack app. They lean heavily on the API only side of things. (I do like Java oddly enough)

PHP is the main competitor to Rails oddly enough, Laravel seems brilliant.

Go is just starting up in this space it looks like, Bud is another attempt at Rails in another language https://github.com/livebud/bud. However the Go ecosystem is heavily API only side of things instead of SSR. Go's templating libs suck imo.

Elixir of course has Phoneix which is apparently great, purely functional langs unfortunately dont fit my head and feel to abstract for myself (don't hate me)

Its no wonder we have the backend / frontend developer split nowadays.

bestinterest··on SQLite or PostgreSQL? It's Complicated
It takes a lot to say very little in Go sometimes, I'd say this is one of those cases. Mainly the if err != nil boiler is at issue here.

I don't think you are doing anything wrong from a noobies opinion.

bestinterest··on Show HN: I ranked news websites by speed
That is interesting to see.

I wonder if fly.io/heroku matters for the servers however. Caching the webpage with a CDN sounds like most bang for buck right? One request is slow at the start of the day for the news (maybe its a user requesting far away the main server worst case) but every subsequent request is served from close to user CDN. (Not 100% if thats how it works in practice)

Speaking out loud here just to see if server location matters if you have a good CDN setup or something I'm missing which would make requests need to hit the main server.

bestinterest··on Show HN: I ranked news websites by speed
I'm getting around 250ms response times for https://legiblenews.com from the UK after multiple refreshes. 500ms occasionally.

I feel like it could be much faster at around 50ms or so with a cloudflare caching setup on the page, may be wrong.

bestinterest··on Show HN: Avo – Build Ruby on Rails apps faster
Looks great from the demo https://avodemo.herokuapp.com/users/sign_in

My only suggestion would be to perhaps try out a beefer instance for heroku or perhaps it is http/1.1 limitation of heroku and a switching to one of the disruptors like render.com would help performance?

It also may completely be because I am in the UK. Clicking around just feels slow 700-800ms+ response times, assuming its hosted in US.

Also another quick fix might be sending the request on mouse down. I know unpoly (side competitor to Hotwire) does this https://unpoly.com/a-up-instant

bestinterest··on Scotland starts renewed case for independence
I voted no last time round as I was not convinced on the economic side of things.

Truthfully I'm still not convinced but I'm finding it hard to justify staying on the sinking ship of the UK.

I'd rather fail as a country by our own decisions rather than the Scottish government always being able to point to Westminister for failure.

I wish more world wide economists took time to write arguments for/against Scottish independence as I find it hard to see the longer term plan.

bestinterest··on The balance has shifted away from SPAs
Lots of credit for yourself with htmx, its great. I think I prefer unpoly myself but htmx is winning the popularity because of how vocal you are!

I wish the unpoly creator also did similar! Both great frameworks. Hotwire also!

I wish there was deeper comparisons on the big three

bestinterest··on The balance has shifted away from SPAs
My issue with design systems is that inevitably the team using the internal companies design system has to implement custom components (usually early on) and try to match the feel of the design system already in place.

I'd rather go custom for a project and semi match the already in place feel of the company's UI standards. Then we're only bottle necked by our internal team and not an external team.

Thinking more on this, I'd love the https://tailwindcomponents.com setup for internal design components? Seems like the best of both worlds but does move the base from React/Angular components to Tailwindcss

bestinterest··on JEP proposed to target JDK 19: 425: Virtual Threads (Preview)
Java will join the (imo) better concurrency path of higher level languages with green like threads, Golang (goroutine), Erlang, Java (Loom, virtual threads) & Ruby (soon under Ractors?).

I really think C# & Python will be jealous of the languages mentioned and puts them in an odd spot from language design perspective.

bestinterest··on Sorbet and 100% cov makes Ruby refactoring possible
There is a gap between languages at the moment imo. Ruby is just ruthlessly productive.

Compare https://github.com/benhoyt/countwords/blob/master/simple.rb with https://github.com/benhoyt/countwords/blob/master/simple.go

Hoping new age compiled languages like Crystal & Nim fill the gap of performance, types & productivity. But compile speeds need to be factored in.

bestinterest··on Show HN: I built a simulator for personal finance
I just put in some numbers and wow. Unless I'm missing something incredible my findings are kinda depressing.

The top 5% salary in the UK is £81,000 -> after tax is £54,817. £4568 a month. Say you spend £2k a month. That's £2568 for investments per month. Using the calc, it seems you would be able to retire at age 50.

I quickly checked the US salary percentiles and the top 5th percentile of £81,000 in the UK is equal to the top 15th in the US. Thats 3x ceiling you could climb through not to mention taxes in the US are much much better?

Am I crazy?

https://www.gov.uk/government/statistics/percentile-points-f... https://www.thesalarycalculator.co.uk/salary.php https://dqydj.com/average-median-top-individual-income-perce...

bestinterest··on A database for 2022
Agreed, it's a bit of a shame for HN imo. I see a team who is being brilliant and understanding their domain down to the core with as minimal resources as they can get away with.

There is incredible value in incrementally adding complexity only when needed.

bestinterest··on Render: a Zero DevOps Cloud Platform
It is great to see the 'why not just host it yourself comment?'. Cliche as it is on HackerNews it always reminds me of the infamous Dropbox comment.

I personally think render has a great future, 99% of dev ops is the golden architecture involving a load balancer behind multiple app instances with a db and cache.

I don't want to care about creating automated backups. I don't want to care about managing VPS. I don't want to care about security updates (though unattended upgrades does make it easy nowadays). Let me git push with a dev environment and link available and start shipping features to customers. That is the value of Render/Heroku.

bestinterest··on Comfort of Bloated Web
I don't know about you guys but I think its pretty fast. I'm from the UK and got a 34.5ms response time using network tab on safari. I looked up the IP address of the host 151.236.217.16 and the server is located in Amsterdam it seems. I'm guessing if your in the states it would be 150ms? Anyone can confirm out of interest?
bestinterest··on Ask HN: What is the main argument for a housing market crash?
Seems like a classical case of supply and demand.

Prices will match demand, no?

bestinterest··on Golang’s most important feature is invisible
What about project loom? Will that not solve this case providing you start the server with a virtual thread pool?

I guess thats what he was getting at however, not having to do that.

bestinterest··on Ask HN: Are We in a Bubble?
I am also really confused. I'm a complete noob and have been trying to learn a bit more about markets and evaluating companies but it seems like so many companies have price to earning ratios of > 30. I mean even $NET (Cloudflare) literally do not make money right now so don't even have a P/E ratio?

If anyone has any light books to understand markets more please do share.

Page 1 of 4Next →