HNHacker News
TopNewBestAskShowJobs

adhoc_slime

284 karma · joined December 8, 2020

submissionscomments
adhoc_slime··on Tailwind is a leaky abstraction
Absolutely, I love @apply for this reason. But just look at tailwind's website, they don't exactly present this front and center, so I read their site as though they don't exactly prescribe the usage of @apply like you or I would.

but tangentially to this, that's why I like tailwind, its really not all that prescriptive but a tool that speeds up my development un-equivocally more than Sass ever has.

adhoc_slime··on Tailwind is a leaky abstraction
Right but that isn't actually the source, which was the point that the parent commenter was making.
adhoc_slime··on Tailwind is a leaky abstraction
I'm a tailwind fiend, ie I like tailwind, but I can say it won't save bytes in the source if you use it the way that the docs intend. Tailwind is not very DRY so you'll probably end up repeating classes in source resulting in extra bytes if you just used a custom class repeated on similar components.
adhoc_slime··on Your Organization should run its own Mastodon server
I must be missing something, all I'm seeing on Mastodon is people talking about Mastodon and Musk and Twitter. Its even more insufferable than the twitter discourse right now.
adhoc_slime··on Top 70000 educational YouTube channels in 20 languages by category
This is alright, I like the category breakdown, it makes browsing great, but its still subject to what _youtube_ considers good content. Which just results in the top content being short-form videos which provide quick-facts, not something I can actually learn with. Not necessarily a bad thing for different categories or if that is what you're seeking in the category but a consequential factor for someone seeking something outside the advertiser-friendly, profit maximizing algorithms.

I just love things the variety of things that fall outside the google-ads algos its so easy to silo our "content" from platforms like this. I browse marginalia [0] just to spice it up and see what else there is out there.

[0] https://search.marginalia.nu/

adhoc_slime··on I use a Raspberry Pi as my daily computer
you could do a lot of things to reduce fan noise in your computer, but I appreciate this perspective. We constantly over-estimate how powerful a machine we need (probably because of the bad software we run) and underestimate how versatile and powerful a small SBC can be.
adhoc_slime··on Iranian man who didn't wash for half a century dies at 94
has anyone commented on your scent?
adhoc_slime··on Never trust a system that seems to be working
The Uncle Bob from clean code(er)?|architecture?
adhoc_slime··on Postgres Full Text Search vs. the Rest
I'm coming up to a large segment of work where we'll adding search with elasticsearch and this was the assessment I came to after reviewing PG FTS.

I would say, frankly, that if you already have a PG database and

1. you want better full text search than a non-existing solution.

2. you don't need the excellent searching like we've come to expect from search engines.

then use the full text search feature your PG database already has. I wouldn't necessarily go out of my way to use a PG database for FTS but I think its a good solution when you're in the right position to use it and its not too shabby.

adhoc_slime··on I wish my web server were in the corner of my room
Pretty much! As engineers we all sweat sleepless nights mulling over five 9's and we conflate these valid business needs with our hobbies and personal art/projects.

It doesn't have to be this way! Put it on a pi and have fun, if not for your sanity at the very least do it for your second most valuable resource, your time. If all a person wants to do is have a website that plays a piezo buzzer when someone visits on your RPi, just write that damned code, they shouldn't feel the need to worry about all the nitty gritty when all that they wanted to do is have fun!

adhoc_slime··on The Ethereum merge is done
To be fair, the article talks about none of that and focuses on the high-level traders perspective. I'd bet that a write up of the process of the merge would be a huge hit on HN.
adhoc_slime··on Introducing Svelte, and Comparing Svelte with React and Vue (2021)
I did the vue 3 bump a while back and Evan You did a fantastic commit by commit repo to follow along and there's even a migration build of vue 2 which warns you of all the areas where your app will break in vue 3, really fantastic.

I can't claim that that upgrade was painless, it took a few days with an app with > 10 pages, >20 custom components and I had to push ahead with re-writing a 3rd party component or 2 that was only vue 2 at the time (honestly I should never have used them in the first place. reap what you sow). But build times are faster, my bundle size is a lot smaller, I'm really pleased with the new features, and I'm a building faster as a result.

adhoc_slime··on I've started using Firefox and can never go back to Chrome
techradar on mobile is truely an awful experience.
adhoc_slime··on I've been abusing HTTP Status Codes in my APIs for years
I'm with the author here, I've had this conversation with the other devs on my team a few times and each time it lands on 404 if there's no data.. Its just not as useful as the dev who makes the client side applications. Its more convoluted because the server had no error though it returns an error code so as a client side developer, I'm left to decide was my URL invalid and the server really did 404? or was there no payload for the request so I received a 404.

Ideally, the bad paths all are caught during dev-time but that just can't be assumed to always happen, it doesn't account for any of the risk involved with other systems changing and then 404's popping up. It could happen for other unexpected reasons so why should we assume it won't, it seems like we're just covering our eyes to the problem.

for a short example, Imagine a brand-new account was made in a system. should it make some sort of GET request for a specific component of its account that is created asynchronously to the rest of the account creation, eg a 3rd party billing service, and receive a 404 from the server, there are different interpretations that the client could have around this error code! does it mean one such component was truly not created and needs to be? could it be that as a client we know implicitly of this delay and fudge a 404? using 404 as a catch all for these cases seems error prone and less informative than returning the true results of the GET request. I posit that any good client-side software handles 0 results from a request with an empty state, and 1 or more with a results state and 4XX with the error state(s). its more clear, trustworthy and easier to debug.

adhoc_slime··on Postgres full-text search: A search engine in a database (2021)
Very convenient for me that this article swings around, I'm weighing pros and cons of PGSQL and elastic search for full-text search for the business's use-case.
adhoc_slime··on Ploopy open source thumb trackball
The site is currently "hugged" so here is a github link:

https://github.com/ploopyco

adhoc_slime··on The bait-and-switch hidden in today’s cookie announcement
There was an inline quote about nazi phrenology as well

> But for the slow VCs at the back who do need to be told:

>> Concluding, Dr. @Abebab notes, "It took Nazi-era atrocities, forced sterilizations… for phrenology,

adhoc_slime··on Using a "proper" camera as a webcam
I haven't had the same experience at all, perhaps its because I'm on windows? I also don't use my camera as my audio source. I use my laptop microphone for now, with plans to get an external microphone. I just use the usb cable that came with the camera, I never had to purchase it separately.

The battery I use is one that uses the shell of a matching battery but provides a wired 8V DC through a usb SMPS, 20$ from aliexpress and I never have to worry about it.

adhoc_slime··on Using a "proper" camera as a webcam
> But is there a "proper camera" for under $100 that can also offer an improvement over a webcam?

no just buy an off the shelf web camera if that's all you're willing to budget.

but for those of us with these cameras already becuase we enjoy photography, this dual use is quite nice!

adhoc_slime··on Using a "proper" camera as a webcam
Extra note here, I've been running my olympus em5 mk-2 with the drivers Olympus released to run it as a web camera and its been working just fine, out of the box. I got an extra dummy battery to power it (cannot be powered though usb) so I have no worries of it dying during a long meeting.

in a remote office world, I'm glad my team leaves their cameras on and I view it as a form of professionalism to present myself as best I can, and if that's not following a dress code and keeping trim in an office, its giving good video quality in online meetings.

adhoc_slime··on Everything with a battery should have an off switch
to be pedantic, is that an actual off switch? one that disconnects the battery? or a software defined low power mode?
adhoc_slime··on Postmark has been acquired by ActiveCampaign
speak of the devil: https://status.postmarkapp.com/

I wonder how/if this relates to the acquisition at all.

adhoc_slime··on Lies we tell ourselves to keep using Golang
This has perhaps been my biggest pain-point with Golang..

Woe unto those who do not follow the idiosyncrasies of how golang handles versioning, package management, tooling etc.

if this is really your most important part of a language I would whole-heartedly recommend looking at rust which has been a breathe of fresh air in terms of package management and tooling.

adhoc_slime··on Ask HN: How do you avoid video game addiction?
Its totally possible to avoid video game addition, I casually play videogames, and have been in places in my life where I played in excess, but usually that came with avoiding parts of my life. So I say "Ask yourself why you might be playing to the exclusion of your life outside of the videogame and see if you can find other ways to enrich your time."

It reads like you are looking for something more exciting in your life, not that you are looking to zone out into a "flow state" for hours of gaming. Maybe start there.

adhoc_slime··on Breaking PCBs for Science
This is great! I love when its discovered that such a small yet fundamental part of a process is just done "by feel" and no one has a reasonable answer to the question "but what's the best way". kudos to Nick and Sparkfun for taking that opportunity to explore!
adhoc_slime··on One App – Two Worlds: This Is TikTok in Russia and Ukraine
This is TikTok only after a despotic government created a law about fake news that can result in a 15 year jail sentence.

your characterization of TikTok is shallow, its a social media platform. Just like every other social media platform people want to share and talk about the world along with their silly dances and you miss the point of OP and the article that it isn't about what TikTok should or shouldn't be, but that the limits set on free speech result in a neutering of of the social media platform, and is one example of many apps/website/platforms/news stations that will have been effected by this.

adhoc_slime··on Pens and Tablets for Linux
my Wacom drawing pad was a bit of a headache for finding drivers on windows. It makes me happy to hear they're improving that, becuase the tools are great.
adhoc_slime··on Claymorphism: Will it stick around?
I want to agree with you on the fancy burger site point you made, though I know that I would try to load that site on mobile because I'd be trying to find a place to eat on the go and I would be very annoyed at it immediately.
adhoc_slime··on Electropedia: The world's online electrotechnical vocabulary
My brain went right to search for 2 terms I want everyone to get correct.. still no definitive source to search for the meaning of VCC and VDD. I still see people get this wrong _all the time_.
adhoc_slime··on Ask HN: How can I prepare for hard economic times?
I'm not trying to be to mean when I say this but this is advice to be scared. Risk is something we all manage in our daily lives, We know the risk of inflation, yeah so we also know that just building a savings barely keeps you afloat from you throwing away %1-4 of your savings every year due to inflation. where I live (Canada) my basic savings accounts only have %1.85 interest.

Yeah there's risk in investing too, we all know that as well, but what level of risk is it that you should really afraid of? should I be afraid of investing in 3M, coca cola or how about a brand-new psychedelics/cannabis stock? Yeah probably for the latter, but you can even manage risk associated to that.

One risk we all don't like to think about is that our employers will let us go and we'll be out on the streets.

My point is, you can know your risks, understand and manage them. Watch your assets column so that something you think is an asset doesn't turn into a liability(something that doesn't generate profit), you want to be able to rely on a lot of factors for wealth generation because a wide array or complex risk can actually be better than single points of failure like trusting you will have / be able to find a job, that that crypto you put your life savings in won't be rug pulled, that the stock market won't crash.

Last piece of advice is to know what you can live on, if I lost my job today, what would be left in my assets column and how long a run way would I have if I could rely on my saving and the rest of my assets.

← PreviousPage 2 of 3Next →