HNHacker News
TopNewBestAskShowJobs

bestinterest

482 karma · joined October 14, 2020

submissionscomments
bestinterest··on From Node to Ruby on Rails
Same boat as both of you guys I find myself in this weird world of loving Go's simplicity, loving Rails get shit done mentality + community and Java reliability (but SpringBoot makes me sad).

I'm glad I ventured out of my Java only mindset however. Lots of interesting things going on but decision paralysis sucks.

bestinterest··on Ask HN: How to achieve the best performance possible in a web app?
I feel like there could be incredible value in the one monolith server approach for a lot of businesses. I found I was getting 6-8k requests a second when returning a random number from Go http endpoint and the same with rendering a simple template on a small VPS. I wonder how far you could push it with storing sessions in memory and using sqlite for data and caching while possible. The largest VPS on vultr costs $640 a month with 24CPU and 96GB of ram. the cache locality advantages and goroutine efficiency seem really fun to test
bestinterest··on HTTP/3 Is Fast
Ah okay thats good news. Is it worth upgrading to HTTP2 on the server side for cloudflare if they are the only consumers of my VPS? They already enable HTTP/3 for clients but I'm wondering if I'm somehow bottlenecking them by not matching my server with HTTP/2 or HTTP/3.
bestinterest··on HTTP/3 Is Fast
Quick question, if I have a VPS with cloudflare in front of it where the VPS runs a HTTP1.1 server is cloudflare limited to 6 http connections/resources to my server at a time?
bestinterest··on Go does not need a Java-style GC
How have you found Go in contrast to Java. Is the simplicity worth it?
bestinterest··on Ask HN: Will Ruby Get a Comeback?
Not sure I agree on the operational aspect in the large scheme of things. Servers are cheap, people are expensive.

Thinking out loud here, say you can only serve 200rqs with Rails but 2000rqs in some other framework (yes not fair comparison, endpoints matter etc etc). That means you need 10x the servers but take a step back a sec. 200rqs is 720k a hour or 17,280,00 a day or 518,400,000 requests a month. (The scale for that is pretty high already). I'm pretty sure the 10x increase you need in servers will cost less than 1 extra employee at say $70k a year.

bestinterest··on Publish your PWA to the iOS App Store
Sounds like the conclusion Basecamp came to for their apps. https://m.signalvnoise.com/basecamp-3-for-ios-hybrid-archite...

Also see https://twitter.com/dhh/status/1254870450464686080?lang=en

bestinterest··on To learn a new language, read its standard library
Ugh Crystal is so beautiful and sorry to make this typical complaint but I wish the compile time was 1/10th of what it is. The dev cycle loop is just not there for me but the language is incredible.
bestinterest··on New language features since Java 8 to 17
Is that true though? nullability is a area I've heard /u/pron mention may be tackled in the future, mutable records seem like they will be tackled with the 'withers' concept in the future. Checked exceptions + changing the sugar of .stream().map I don't see ever changing. Properties I am unsure of.
bestinterest··on The Single-Page-App Morality Play
Eh unfortunately its muddy there too, see changelog.com which is not an SPA and instead uses Turbolinks (now Turbo) to persist the podcast element at the bottom of the screen.
bestinterest··on The Single-Page-App Morality Play
It gets even muddier when you consider the fact that MPA transitions will be in browsers hopefully quite soon and you will be able to achieve the exact same effect.

https://developer.chrome.com/blog/shared-element-transitions...

bestinterest··on The Hitchhiker's Guide to Kotlin
Coroutine stuff worries me in Kotlin, what happens the minute Project Loom comes out? Even more fracturing of styles?
bestinterest··on Show HN: Display a bell emoji on HN comments you haven't read yet
Nice I added on the below as the Windows emoji is a bit big for my liking and keeps the emoji color neutral.

    span.style.cssText = `
      font-size: 5px;
      color: transparent;
      text-shadow: 0 0 0 gray;
      margin-bottom: 2px;
      vertical-align: middle;
      display: inline-block;
    `
bestinterest··on Brooks, Wirth and Go
I'm looking forward to Java getting Project Loom for the concurrency aspect inspired by Go I believe. It will be a nice middle ground between the extremes of Python and Go.
bestinterest··on Sorbet Compiler: An experimental, ahead-of-time compiler for Ruby
A comment of appreciation which I think a lot of OSS devs don't get due to threads being filled with criticism or pessimism.

Sorbet is great - chuck it on your core entity's and core methods and boom it feels great. Thank you team for creating this tool in OSS and continuing to work on it. Looking forward to the future of it! Thank you Jez!

bestinterest··on Thread Pools on the JVM
Whats the difference between goroutines and project loom? Is their any?
bestinterest··on Networking I/O with Virtual Threads – Under the hood
I also think people forget that Robinhood was made with Python, Reddit used Python, Github/Gitlab use Ruby. Stripe AKA payments that need to be processed fast within SLA's use Ruby.

Ruby and Python can only ever have one thread running at a time due to global interpreter lock. Though to keep in mind when I/O happens on a thread it can be parked and another thread can be picked up to continue processing. But in essence one thread is running at a time and these languages built billion dollar businesses.

Just scale horizontally computers are cheap is the message I get and remember to keep it simple.

bestinterest··on Ask HN: Thoughts on Salaries Posted on TeamBlind?
May I ask what your path to where you are now was? What programming languages and areas did you focus on while job searching?

Is leetcode + system design the ultimate way to get these interviews like TeamBlind says?

bestinterest··on Ask HN: Thoughts on Salaries Posted on TeamBlind?
> the comparison is more complex

Is it though?

$150k+ salary seems to very much make up for all that in my mind.

bestinterest··on Ask HN: What’s your most recent “this didn’t need to be a SPA” experience?
Reddit, Twitter, Instagram, Nike, Adidas...

As far as I'm concerned you want to use a SPA when you have dynamic interlinked state. None of these sites have that. You give up so much simplicity going to SPA its kinda crazy and again I say that as a person who loves Svelte but I think is only necessary for occasional core pages.

But I constantly doubt myself, I must be missing something? Maybe its just easier for large orgs with dedicated frontend/backend devs but it really doesn't seem efficient.

bestinterest··on Ask HN: What higher quality analytical content do you have a subscription to?
Interesting, it seems like the big three are New York Times, Financial Times and The Economist.

Would love a curated weekly service for the best articles from all of these papers.

bestinterest··on Ask HN: Why are hacker news readers so obsessed with Rust?
Personal opinions inbound...

I agree with this but I really would have 0 use cases for Rust. I am not a systems programmer or really want to be. I prefer product focus and user interfaces.

I would not want to do typical web back end programming with Rust. I think Rust is perfect for the hard work of lower level things but I'm a crazy sucker for a fast feedback cycle loop.

What I personally really want is faster Python/Ruby (Nim/Julia/Crystal) and they should be languages that allow for great interop with the newer lower level languages like Rust and Zig for when the 1% of speed matters.

bestinterest··on Ask HN: Choosing a language to learn for the heck of it
I'm keeping watch on Crystal and Zig personally. Crystal looks like a near perfect language for my style with one major caveat being compilation speeds. I'm a sucker for a dynamic language feedback loop, I'm curious how Nim is on that front if anyone knows.

I tried Rust but it was too much for my small brain and seeing multiple blog posts about people spending years with it and still not getting the borrow checker down perfectly is putting me down a little. Perhaps I'll try it again down the line.

bestinterest··on Ask HN: Where to find contract work as a developer?
Do you setup a company for IR35? How bad is the hit of the new tax rules for yourself?

Also any disadvantages that you have found yourself from going to contracting? Is it more high pressure/stress compared to permanent roles if you have any insight?

bestinterest··on Crazy New Ideas
Very interesting. This sounds like a response to the Mighty [0] launch which Paul Graham has been defending on twitter recently after an outcry from some of the 'hardcore' developers such as Jonathan Blow [1] and Casey [2].

[0] https://www.mightyapp.com/

[1] https://twitter.com/Jonathan_Blow/status/1387101172230672389

[2] https://twitter.com/cmuratori/status/1387645578067124224

bestinterest··on Java for Everything (2014)
This is an interesting take so here is my small input.

Sometimes I wonder if the language matters or the community/ecosystem for the domain is more important. I like Java myself but is it ever used for a small SaaS startup? Does it have great things to empower single developers? Rails land has things like ActiveStorage, Hotwire, super easy migrations, great CLI tool etc. SpringBoot is not the replacement you want.

Java feels terribly corporate and I feel its libs reflect it. I was recently looking for a Sidekiq alternative for Java land and the experience is so dramatically different all the way from pragmatism of the library and how its marketed to the beautiful documentation provided by Ruby land people.

I imagine it being the exact same case for Python and data science. The language you want to go is probably the language were millions of people before you went for the exact same scenario.

This is just a silly take and I will probably have changed my mind by the end of the year but a thought nonetheless.

bestinterest··on Our Funniest Front-End Bugs (2020)
I'm on the same boat as you.

I'm envious of game devs, I do not know what went wrong in web land that we can not have great smooth user interfaces and smooth animations. I'm sorry but the DOM is not it and is holding us so far back its unreal.

I really hope for a shakeup of some kind. Have a skim through this video [0]. An indie game using the Unity interface builder I believe.

[0] https://youtu.be/bk6wkXI-42Q?t=617

bestinterest··on Everything Easy is Hard Again (2018)
I wish wish wish I could move over to Linux but its font rendering situation is terrible [1] I've tried Manjaro and Ubuntu to no avail.

I have no idea what causes it or if people on Linux are not as sensitive to it or its a specific hardware setup which causes terrible fonts but once you read Windows fonts stuff looks so much better to me. Apparently its a hot debated topic but its so obvious to some it seems.

[1] https://pandasauce.org/post/linux-fonts/

bestinterest··on Ask HN: Is there a future for Jetbrains IDEs?
Sadly, my plan is to pick up the new MacBook with new M1X chips this year whenever it releases in Q3/4 to combat the slowness.

Wirth's law is making me sad

bestinterest··on Links are not buttons (2013)
I'm not sure its FUD, your main page takes 63.5KB + 38.7KB for the gatsby reactified framework? + an extra 39.8KB in some js bundle and another 51.7KB in some other js bundle.

Also you end up thrashing 5MB of browser storage when I hovered a link check out Application -> Storage in Chrome.

Maybe I'm crazy but your page should not need that much, your site is making 20 requests to resources (thankfully you have http2) and the longest request took about 7s on a slow 3g connection. For comparison here is Tom MacWright's page https://macwright.com/ which does 2 requests at 14kB total taking 2.3s on a slow 3g connection.

I will give you the prefetch trick is superslick in the Gatsby framework for blogs but no reason to have a whole React framework around it. Just use https://instant.page/

I say all this and I do love the component nature of React and SPA's (I love Svelte the most at the moment) but it does really not feel like the right tool for 99% of personal blogs.

← PreviousPage 2 of 4Next →