HNHacker News
TopNewBestAskShowJobs

sharps_xp

188 karma · joined June 9, 2012

submissionscomments
sharps_xp··on Ask HN: How do I practically create wealth?
FU money and practicality won’t align that well without a lot of luck. so optimize for luck.
sharps_xp··on Friday.app is shutting down
It isn't unprecedented to ask the investors to write off their investments. Would it be too late to revert back to a private business?
sharps_xp··on Show HN: I made a website to increase your focus
where’d you get the illustrations?
sharps_xp··on Ask HN: Is your company considering inflation in this year's comp review cycle?
i had a baby just as the pandemic hit and my wfh productivity went down the drain. they just gave me a 9% raise… thanks inflation…
sharps_xp··on Ask HN: Any one with experience with Server Sent Event at scale?
I don't have experience, but would like to experiment with this as well mostly because of rails 7's turbo broadcasts can use SSE instead of websockets. From my research so far, as a frugal dev, I'm trying to figure out how different hosting providers handle long-lived connections. I basically have to put my app behind an nginx proxy b/c ruby web servers won't be friendly with so many SSE connections.
sharps_xp··on Ask HN: How much did your TC decline after the recent carnage in tech stocks?
as someone who gets paid in only cash, i was jealous of everyone who worked for stocks during the bull run.

i actually think, now might be a good time to join a company after prices dropped.

sharps_xp··on Ask HN: Is accessibility worth it?
do you have a demo or a gif or this? would love to see it
sharps_xp··on Ask HN: Is accessibility worth it?
thanks for that insight. that kind of throws drag and drop interfaces out the window
sharps_xp··on Ask HN: Is accessibility worth it?
yes, either that or there’s a partnership where one presents a problem and the other sells a solution
sharps_xp··on Run Ordinary Rails Apps Globally (2021)
Your response got me to really look at fly...

i have to try it now. After reading the free postgres and last mile redis blog post, i realized something...

I can use probably the most under-used cache stores rails provides: the file_store, which is twice as fast as trying to read from a memcache/redis process. This was not even an option on heroku b/c of the ephemeral file system.

sharps_xp··on The baseline for web development in 2022
who are the groups of people actively turning off JS?
sharps_xp··on Run Ordinary Rails Apps Globally (2021)
Can anyone speak to using a rails app to reach global users using fastly's surrogate tags or cloudflare's cache tags (Enterprise only)?

After reading the OP, the tradeoffs seems more complex than a single origin in us-east and having CDNs cache HTML pages.

The most appealing advantage I see with running rails at all these regions is you can authenticate users really quickly and redirect them to a html page in a CDN.

sharps_xp··on Run Ordinary Rails Apps Globally (2021)
ESI, at least on fastly, are run in serialized fashion. On cloudflare workers, you can have up to 6 concurrent connections to try to do ESI as fast as the slowest request.
sharps_xp··on Turbo: The speed of a SPA without writing JavaScript
wow in that case, this is huge for me…

i’m currently architecting a rails app to have global users. turbo with http seems perfect to save bandwidth and fine tuned caching configurations… i might have to look at how/when the response is stripped from the frames.

TIL

sharps_xp··on Turbo: The speed of a SPA without writing JavaScript
I've always been hesitant with a introducing a websocket server into my rails application. If the websocket server goes down, you'll still be able to render the SSR-ed shell via the web server. Aren't we just introducing the data consistency problems into every HTML page that uses Turbo. Rails has celebrated its monolithic approach, but i just don't want to deal with websocket problems when what I want is truly a one person framework.
sharps_xp··on Ask HN: Should I/We start a 4-day work week advocacy org?
I think there's too much focus on the 4 in 4-day work week. I think why a 4-day work week is more appealing is because we'd have more time (3 days) doing what we love to do instead; We want to do things that bring us joy or give us rest. How do we get that at a societal level in our work? When I think about my relationship between time, work, and value add to society, my gut instinct tells me that I want the security of a w-2 job with the freedom of a 1099 worker. I want to be able to easily find the projects I want to work on regardless of who my employer is, and I don't want to be chained to any n-day work week.

Some companies doing a 4-day work week still measure themselves against the 5-day/40hr work week, which feels suboptimal and not the point.

I'd bet in a world where a 4-day work week was normal, then I'd bet there'd be a similar ask HN to start a 3-day work week advocacy org.

sharps_xp··on Ask HN: I lack foresight. How to cope?
As you get older, your ability to remember things diminishes. On top of that, you will likely get more busy as you take on more and more responsibilities. I think you haven't hit rock bottom yet to say "i don't want to fucking feel this way anymore". I think it's quite possible you're okay with forgetting things and you are probably quite tolerant of the negative consequences. Eventually you will hate your life enough to make a change. The required change isn't complex: make a plan, write it down, follow it, iterate. but what i suspect is that you lack the will to do anything about it. You need to reflect on who you really want to be. no hack is going to change your will to live differently.
sharps_xp··on Show HN: A beautiful blog theme with only two requests and less 10KB transfered
i hope to one day have my own classless css page. if i combine it with cdns, body replacements (like with turbolinks) and pre fetches (like instant.page), plus all the bytes saved by not having to write class names everywhere, it seems like the final step is just to in-line the css, no need to trigger a second request to get the style sheet.
sharps_xp··on Set up a practically free CDN
cloudflare let’s you purge the cache via API, but frequent busting is probably not okay
sharps_xp··on How to become good at system design?
my advice is that you need to both consume and produce system design.

don’t rely on interviewing people to test yourself. you have to practice talking or writing and stop settling with the feeling that you just learned something and will have the judgement to know when to use xyz when problem abc comes in front of you.

i built enumerable.co so that i can evaluate myself, to practice producing the knowledge i’m consuming, and reach the edge of my understanding.

there’s no database and i built over a few days, so it’s just a single player way to figure out how much you really don’t know

sharps_xp··on Ask HN: I’m starting a new job and things feel off. Am I overreacting?
a boss that scoffs at your concern sounds like a boss without empathy. that can hurt for even more important issues like when you really need time off. i’d talk to him about how you’re interpreting these events and see how he reacts as a final signal before bailing
sharps_xp··on Using the SQLite-over-HTTP “hack” to make back end-less, offline-friendly apps
oh and my idea for updating writes to a sqlite file was to send all writes to SQS, batch items with a lambda function that would update the sqlite database on EFS. it’s all theoretically possible, the issue is the user experience. how to show the user they really “liked” a post or something.
sharps_xp··on Using the SQLite-over-HTTP “hack” to make back end-less, offline-friendly apps
when I saw that post a year ago, i thought that you can postpone scale issues with a cdn for a good long while if you could find a mechanism to update the sqlite chunks in a predictable user-friendly way. it’s quite an innovation.

after some meditation, i opted to do something simpler. if i was going to delay the the write consistency anyway, it’s just easier for the user to just download a lagging html file. this definitely depends on the use case, but i avoid a lot of this wasm js complexity by just having the browser download a static eventually updated html file

sharps_xp··on Entire website in a single HTML file
i recently read that display:none elements are hidden from screen readers
sharps_xp··on This page is designed to last (2019)
i share the same mindset as i really miss traveling but the only way to explore places to go when i’m abroad is yelp, google maps, and my own excel sheet. all of which are very slow on international sim cards or in remote areas. i’m thinking about building my own yelp-like site which is just static content on a cdn, images would by default show the “alt” text with an option to download the image.
sharps_xp··on How to select the most appropriate DB for your project?
doesnt it get unsuitable really fast if you have to support concurrent write requests
sharps_xp··on Ask HN: Anime Recommendations 2021
I started watching anime in high school with naruto, one piece, and bleach… these are super long series.

now i have a few favorites that i always rewatch: - hunter x hunter; the greed island arc was my favorite - the irregular at magic high school: magicians are ranked in the school by their compute power and speed, but the protagonist basically has orders of magnitude of more RAM than everybody else

sharps_xp··on Processing billions of events in real time
i think it was justin bieber. a former engineer who founded Signal went on the joe rogan podcast and talked about how when bieber tweeted, the building would shake or lights flicker or something to that effect
sharps_xp··on Ask HN: What's Your Side Project?
https://enumerable.co

i’m trying to create a better platform for programmers to prepare for interviews. right now the thesis is to practice talking and coding/drawing at the same time.

sharps_xp··on Show HN: Record a screencast to practice for your system design interviews
thanks, probably won’t open source because of the implications. i don’t have time to steward it well
← PreviousPage 2 of 4Next →