HNHacker News
TopNewBestAskShowJobs

ek750

382 karma · joined May 8, 2012

submissionscomments
ek750··on Brazil central bank to launch Pix installment feature in September
agreed. Additionally it may reduce the power of fringe groups from pressuring private companies who are doing legal business. The recent Steam and itch.io takedowns due to collective shout come to mind.
ek750··on The Toyota Prius transformed the auto industry
These days, there are some engines with (oil immersed) belts, but that's for fuel efficiency, not longevity. Chains last longer, typically, although I used to have a 97 Honda VFR that had neither. They started with chains in earlier models but had reliability issues so switched to straight cut gears. Man I miss the way those things sounded -- like a supercharger whine. Amazing
ek750··on JavaScript dates are about to be fixed
This is a great and important topic, one that I’ve bumped into against in past code. I think I understand the basics of time/zones/storage.

However, on one codebase I worked on in the past, dates were stored in mysql in a datetime field, with the time set to 00:00:00, iirc.

I’m hoping someone knowledgeable about this topic could comment on this. I never could discover why it was done that way. It wrong? Is it right? Based on the other threads here, it seems wrong, but maybe there’s a non-obvious reason to do it this way?

ek750··on I don't think the cheapest APC Back-UPS units can be monitored except in Windows
I'm kinda sick of buying these cheap lead-acid based UPS units (only tried APC and Cyberpower so far) to have the batteries die in just a couple of years.

Are the lithium-based batteries more durable (probably more dangerous)? Anyone have experience with these? https://www.amazon.com/Xtreme-Power-Conversion-J60-600-Lithi...

ek750··on Juno – A YouTube Client for Vision Pro
I also have YT premium. On desktop, I use firefox and the popout video feature. It is easily resizable and movable. Downside is that js-player controls still show on the webpage, not the popout. On ios, once paused, just tap anywhere on the video anywhere there isn't a widget. That hides all the video controls for me.

Edit: Also there are keyboard controls for going frame-by-frame, if you need that much control. Or there was last time I used it a long time ago.

ek750··on .ai website registrations are a windfall for tiny Anguilla
not many I suspect, but enough. :)
ek750··on Claude for Google Sheets
Do we need some way to grade these services based on vertical or use-case?

I actually tried the same tech questions to multiple services when I first started playing around with these commercial LLMs. I would copy and paste the same question to GPT4, MS Bing (I soon stopped using that since I already have a sub to gpt4), claude, bard, and recently You (https://you.com) and while Claude.ai was rarely as good as GPT4, it wasn't too far off for tech questions.

I'm not very creative, so maybe the use of it helping with writing fiction or roleplay might help me, I haven't tried it yet.

Did you try Claude with non-fictional tasks, and if so, how does that compare to GPT4?

ek750··on AMD leaps after launching AI chip that could challenge Nvidia dominance
what would you prefer? Would WSJ or other paywalled sites make you happy?

Don't make me start submitting aol links.

ek750··on Shopify Ruby on Rails distributed monolith runs 19M queries per second on MySQL
heh, I know right? I see all those comments shitting on ruby and rails, and it's like, yeah, I get it dude. They hate rails, but luckily nobody is forcing them to use it. The more choices the better. Some people hate dynamic types, some people hate static types. There's room for both, imo. It's not like it's a secret there are faster or more efficient stacks.

I guess they can't help themselves and need to make their position known. Personally, I love ruby, and rails is pretty good too.

ek750··on Talk-Llama
As another non-python dev, interested in and trying to get into AI/ML, I think the limitation of venv is that it can't handle multiple versions of system libraries.

CUDA for example, different project will require different versions of some library like pytorch, but these seem to be tied to cuda version. This is where anaconda (and miniconda) come in, but omfg, I hate those. So far all anaconda does is screw up my environment, causing weird binaries to come into my path, overriding my newer/vetted ffmpeg and other libraries with some outdated libraries. Not to mention, I have no idea if they are safe to use, since I can't figure out where this avalanche (literally gigs) of garbage gets pulled in. If I don't let it mess with my startup scripts, nothing works.

And note, I'm not smart, but I've been a user of UNIX from the 90's and I can't believe we haven't progressed much in all these decades. I remember trying to pull in source packages and compiling them from scratch and that sucked too (make, cmake, m4, etc). But package managers and other tech has helped the general public that just wants to use the damn software. Nobody wants to track down and compile every dependency and become an expert in the build process. But this is where we are. Still.

I am currently in the trying to get these projects working in docker, but that is a whole other ordeal that I haven't completed yet, though I am hopeful that I'm almost there :) Some projects have Dockerfiles and some even have docker-compose files. None have worked out-of-the-box for me. And that's both surprising and sad.

I don't know where the blame lies exactly. Docker? The package maintainers that don't know docker or unix (a lot of these new LLM/AI projects are windows only or windows-first and I hear data scientists hate-hate-hate sysadmin tasks)? Nvidia for their eco-system? Dunno, all I know is I'm experiencing pain and time wastage that I'd rather not deal with. I guess that's partly why open-ai and other paid services exist. lol.

ek750··on Two hackers one keyboard two ways
Sadly I agree. Splits are great. I am eagerly awaiting my ortholinear split keyboard from https://dygma.com/ - no affiliation other than being a customer of their first keyboard, the raise and having the defy on order.

Maybe it's just me, but I think the proliferation of mechanical keyboards brings people closer to the fringe where custom keyboards, layouts, parts and pcbs are the norm for the pursuit of perfection.

ek750··on ChatGPT turned generative AI into an “anything tool”
interesting, i'd love to do this too. but it sounds like there aren't any full-featured, opensource packages/projects that do this all-together? I'd love to hack the parts together, but i don't have the time/energy these days to do it.

thanks for the helpful keywords though, it helps point me in the right direction.

ek750··on Intel's GPU Drivers Now Collect Telemetry, Including 'How You Use Your Computer'
Sadly yes. I've dealt with product managers that want these sort of things, and when I explain why I think it's a bad idea, it completely flies over their head at mach 2. They really don't get it. At least the ones I've dealt with in this context.

As much as I hate to say it, I think trying to push back at the individual level in a corp setting is not going to work.

ek750··on When paper beats the screen
I don't have any experience with the remarkable, but i recently got a kindle scribe and it's better than the boox ereaders/tablets i've gotten over time.

The clarity, density and speed of the kindle's screen is miles better than boox, probably close to remarkable if the videos are any indication.

I got the Scribe for the large screen to read ebooks, but the pen and its responsiveness and feel is surprisingly good.

i don't know if it does handwriting recognition, but the notebook app has been surprisingly fun for me to jot down notes when i'm contemplating a design problem.

ek750··on How to estimate an SSD’s working life
I agree, I'd prefer longer battery life, and better performance in a slight weight and thickness tradeoff.

Sadly, I've tried PC laptops (Surface tablet, Surface laptops and Asus laptops) and the performance (speed, thermals and battery life) are still nowhere near the Apple M1 hardware. I wish there was better price/performance from apple, but until the PC world has a strong contender, I don't see that happening.

At least Intel has strong competition from AMD now :)

ek750··on At SpaceX, work was taken away from me in case I “might retire or die.”
Back when StackOverflow had job listings, they also had an optional Joel Score (https://www.joelonsoftware.com/2000/08/09/the-joel-test-12-s...) that employers could fill out.

Too bad that's dead. But would be great to generalize and standardize across companies and industries. It'll never happen, but that's what you're looking for.

ek750··on Ask HN: So you moved off Heroku, where did you go?
yeah, that's disappointing. I'm a Ruby fan and my latest startup is built on the rails stack.

It's using buildpacks though, so shouldn't it be (easily) supported?

ek750··on To Ruby from Python
Exactly. Once you get some basics of Ruby, there is no ambiguity, and I find it quite elegant.

And I think I’m in the minority here, but I prefer the cleanliness of optional punctuation.

That feature also allows for fluent DSLs (which seem to be falling out of favor for various reasons), but is one of the reasons I still love Ruby.

To look at the other side, I hate having to constantly add semicolons and parens in other languages. Makes my poor fingers hurt even more than they usually do.

ek750··on SaaS tools that get things done for tech startups
Could you expand on why it’s no longer awesome? I’ve only used papertrail in Heroku, until recently on a new project. It seems the same as before, but I’m haven’t needed to use it heavily yet.
ek750··on How I clean my glasses
For people with poor eyesight (like me!) plastic lenses are lighter and can have a higher refractive index, making them thinner than the equivalent glass lenses. Weight is the big thing though.
ek750··on Why we're sticking with Ruby on Rails
Do you have any references to this? I must have missed the news, something like a cultural blowup internally?
ek750··on You don’t need to be “enterprise-ready” or “scalable”
Heck, in my previous $WORK, I saw differences from local (running Debian) to production running CentOS. Luckily one cluster of Jenkins build nodes were also running CentOS and those caught a subtle incompatibility between system libraries that would have blown up if we had merged and deployed to production. My local Debian testing env did not catch it.
ek750··on Correct Backups Require Filesystem Snapshots
What was the layout of the ZFS pools? I've been using RAIDZ1 and RAIDZ2 for years now on ubuntu, and luckily have not detected any errors on my monthly scrubs. I did have bitrot on older drives previously when I just relied on EXT4, only to find out when trying to access an old file.

I'm using a Supermicro board, with ECC RAM, but anywhere from 4 to 6 drives in the pool (upgraded over 6 or 7 years now).

ek750··on I Miss Heroku's DevEx
I'm familiar with docker but certainly not an expert, so this is surprising to me. Is it really possible to have a single line dockerfile?

The smallest one I've used was probably a screen full, due to updating packages, setting up bundler paths, etc. A production dockerfile is much larger with non-root user shenanigans, etc.

But to answer your question about Heroku, a Procfile is much smaller and more constrained in scope than a Dockerfile.

ek750··on Stunner – tool to test and exploit STUN, TURN and TURN over TCP servers
I’m not a security researcher, but a normal backend dev (possibly) This comment intrigued me and led me down the typically great HN rabbit-hole.

I found a couple of sources related to this, fascinating, thank you!

https://www.techtarget.com/searchsecurity/news/252467901/Cap...

https://www.shellntel.com/blog/2019/8/27/aws-metadata-endpoi...

I knew about SSRFs, but the ability of attackers to pivot and stack and chain minor vulnerabilities continues to amaze me.

I hope AWS mitigated this metadata endpoint weakness by now.

ek750··on Lowering sodium intake doesn’t help heart patients
I feel that this sort of simplification is common to our mis-understanding of health and nutrition. I also heard similar myths like: Calories in = Calories out, you are what you eat (meaning if you eat high fat you'll gain fat), etc.

Can you explain why you think salt raises blood pressure?

ek750··on Down the mechanical keyboard rabbit hole
I'm curious, I hear this alot, but when I'm coding, whenever I need to type out constants, they're in ALL-CAPS. Do you remap caps-lock to an unused spot, or do you hold down shift while typing? I'm usually in vim or equivalent most of the time, FWIW.
ek750··on Ask HN: Anyone have stock option horror stories?
If you’re confident the sale of the stock in one year would net a profit, that one year between exercise and the sale allows for long-term capital gains treatment (usually 15% or whatever it is these days) vs short-term capital gains, which is taxed at your income level.

Worst case, it can be a 37% (federal) + 13% (CA) tax hit. Doesn’t make most people too happy, if you’re lucky enough to hit it that big.

Not a CPA, I’m sure there are different situations, but this is the simplest explanation I know of, from experience.

ek750··on Amazon Pip Horror Story
> > As a manager, you get verbal (never written) lashings from your manager and skip manager to put the lowest performers on performance plans that ensure that any attrition counts. As soon as you capitulate, your lowest performer is now considered a low performer. > Clearly, I'm preaching to the choir here, but... I am constantly amazed at companies that do this.

I agree. I’d hate to work at any org that does this as a rule.

To play devils advocate however, I’m sure many of us have been in a situation where a co-worker was coasting, or doing the minimal amount of work, while spending energy to look busy.

I’m thinking this cynical outlook could have contributed to this practice being implemented in large organizations.

ek750··on [dead]
I have a multi-monitor setup. I have three monitors, acquired over the years, of different manufacturers and sizes, and all have buttons on the bottom or back of the frame. I have to hit the buttons by feel. Usually it’s to switch inputs, but I think it’d be just as annoying to constantly turn them on and off via button.

The pursuit of aesthetics, in this case, is at the expense of usability.

Page 1 of 3Next →