HNHacker News
TopNewBestAskShowJobs

bichiliad

1,366 karma · joined December 12, 2012

[ my public key: https://keybase.io/salem; my proof: https://keybase.io/salem/sigs/SWoRZOAZijE9JNIZex93QGHwSe2UUcCTeMgcad5QV3M ]

Get in touch: hi at salem dot io

submissionscomments
bichiliad··on Etsy’s Journey to TypeScript
Yes — @humphrey is correct here. Literally being able to add type annotations (and validate that nothing fishy happened in production) took a very short period of time, but everything else was the hard part.

Also, I'd love to hear what a common replacement to Babel looks like. Although we've seen a few faster alternatives, Babel's been working really well since we adopted it, and we haven't had a ton of incentive to try something less battle-tested in the time since.

bichiliad··on Etsy’s Journey to TypeScript
Hey gang, I'm the author of this post! Very excited to see it show up on HN. I'm currently on Paris time (finally got some vacation in) but I'm happy to answer any questions you all might have about the article, our transition, and even TypeScript in general (although there are plenty of other smart folks that might have better answers than me on that last one).
bichiliad··on October had the biggest U.S. inflation surge in more than 30 years
Same, and New York. Anecdotal evidence doesn't really amount to much though, since prices fluctuate wildly from place to place (i.e. Pittsburgh is cheaper than New York, regardless of the inflation index).
bichiliad··on Car accidents cause death, injury and trauma. Why do we shrug them off?
I think the numbers on traffic injuries and fatalities really do speak for themselves. A full percent of the US population gets injured by cars every year — that's a pretty staggering number.

I'm not a fan of the reasoning the article gives behind why we have normalized them ("toxic individualism"), because I think there are a lot more obvious culprits. For example, the auto industry is extremely effective at lobbying, and has been for a very long time. The reason there are jaywalking laws on the books, for example, was in large part because the auto industry pushed for them [1][2]. Urban streets were not really built with fast-moving cars in mind, and people treated them as safe places to be. Cars were much faster than anything else using the streets, so their introduction caused a sharp uptick in fatalities. A really successful PR campaign painted the people crossing the street as the ones at fault over the drivers, and the resulting laws still exist in many places in the US.

We normalize a lot of stuff, and it's easy to argue that it's because of a stereotype about Americans (that we're all aggressively individualist, which may be true to some extent). But decades of policies that require parking in new buildings, that encourage driving for even small errands, and that rezone urban areas to accommodate car traffic make it really hard to imagine a world without them. No one thinks car crashes are good, but few people have alternatives (even in denser urban areas). Crashes feel like an unavoidable side-effect.

1: https://www.bbc.com/news/magazine-26073797 2: https://news.ycombinator.com/item?id=25497772

bichiliad··on Apple M1 Max Geekbench Score
I think this kinda makes sense to me — the M1 Max has the same cores as the M1, just more of them and more of the performant ones, if I understand it right. The fastest work on the fastest core, when only working on a single core, is probably very similar.
bichiliad··on Show HN: Time travel debugger for web development
I think print statements are actually useful in ways that typical debuggers are not meant to be; they make it easy to show changes over time, and they provide a tight feedback loop between observing the value of some data and performing interactions that update that data. For example, if you wanted to know how a coordinate calculation changed as you scrolled the page, print statements would be more useful than a debugger. I don't think this is exclusively why debuggers get less use, but I think that print statements aren't inherently a thing to optimize away from.
bichiliad··on Show HN: Time travel debugger for web development
Having played with Replay already, I have to say it feels nothing short of magic. I can't tell you how much something like it would have made debugging weird issues in the depths of something like Webpack a whole lot easier.
bichiliad··on NYC to mandate proof of vaccination for many indoor settings
Yes, totally — we are only as healthy and as happy as the least of our neighbors. If I had to forgo two day shipping or driving in order to bring down traffic crashes, improve air quality, etc. that seems like a totally fair trade-off. The alternative doesn't look all that good.
bichiliad··on $28.50 Beer at LaGuardia Sparks Audit of New York Airport Concession Prices
Apparently, the Chief Strategy Officer of OTG is Larry Schwartz, a Cuomo staffer[1]. The fact that the prices are illegally high (apparently airport concessions may charge no more than 10% higher than "street" pricing for things) combined with the fact that operations are headed by someone close to the institution responsible for enforcing this sort of regulation smells a lot like a racket.

[1]:https://twitter.com/MarketUrbanism/status/142235397825221836...

bichiliad··on Apple Music Announces Spatial Audio and Lossless Audio
The one thing that bothers me about this is that it's still really hard to get high-quality audio to a high-quality speaker. Apple doesn't currently offer a first-party way to stream to a third-party speaker; you have to buy a homepod, find a used Apple AirPort Express Audio, or rely on a third-party airplay streaming device. I'm sure there are a bunch of high-quality third-party airplay devices, but the lack of a device from Apple directly makes me worried about relying on AirPlay Audio being a thing in the future.
bichiliad··on Ask HN: What are some tools / libraries you built yourself?
I have been working on an app to act like my short-term memory and to help me focus. Its called ScreenHint, and it’s loosely based on an unmaintained app called Snappu. It’s pretty unpolished still (I don’t even have a website figured out yet), but it’s been incredibly helpful to me so far. It’s for macOS and it’s free, and any feedback would be hugely appreciated.

https://apps.apple.com/us/app/screenhint/id1566621533?mt=12

bichiliad··on Ask HN: Do you create music? let's hear it
I just put out my first techno EP. I'm using the proceeds to raise funds for the Service Workers Coalition. I wanted to push myself to see a project through to completion, which resulted in this EP.

- https://salemhilal.bandcamp.com/album/variations-ep - https://open.spotify.com/album/7ka7iftDDFbtHMvGqH0FUh?si=44S... - https://youtube.com/playlist?list=PLtlEaXH4zrw8fSEBswzQ9y1oz... - https://soundcloud.com/salemhilal/sets/variations - https://music.apple.com/us/album/variations-ep/1555887804

bichiliad··on Facial recognition can predict person’s political orientation with 72% accuracy
> Accuracy was similar across countries (the U.S., Canada, and the UK)

This sounds more like people who are from minority groups (or who look like they are, to a computer vision algorithm) are more likely to agree with left-leaning policies, which probably has more to do with the policies in those countries than it does with any sort of genetic features. I feel like this might not work as well in non-Western countries, for example.

bichiliad··on Microdosing study shows the placebo effect of taking psychelics
Per the article, there seems to be a lot of value in doing something that you expect will improve your life, even if the actual effect is indiscernible from a placebo. (Plus, this ignores non-microdosing, which is certainly not placebo effect.)
bichiliad··on Microdosing study shows the placebo effect of taking psychelics
> Meanwhile, those who consumed the drugs but thought they were taking a placebo experienced no significant increase in wellbeing.

It's wild that there was a part of this study in which people were told that they weren't taking a psychadelic, but they were taking a psychadelic.

bichiliad··on In-car touchscreens are dangerous
I think uniformness in interface will probably make it a lot harder for cars to be flexible to the needs of a driver. The fact that the interface is different from car to car is probably only a problem if you jump around between cars a lot, but the fact that you have to learn an interface that you have to look at to use, while at the same time operating a vehicle, is probably the main cause of frustration for most people.

Plus, there's some argument to be made about regulations hurting innovation. I'm not usually the type of person to make those arguments, but this seems like one of those cases where the ability to actually make a good, dynamic interface might never happen.

bichiliad··on Researchers find stem cells for hair regeneration
I'm overlooking the "teeth" part of this story to share a bit of an anecdote here. I'm a guy, and I lost my hair when I was about 21. I spent a while trying every medication (many of which have sexual health side effects), but I don't think I was ever actually happy until I just accepted that I was bald and that was just part of how I looked. Don't get me wrong — I would love having hair again, but it doesn't bother me that I don't.

If it helps anyone else out there: no one else thinks about your hair besides you. Getting rid of my anxiety around how my hair looked (checking it in the mirror all the time, using products to make it look less thin, etc) was absolutely worth giving up any illusion that my hair was going to stick around. Plus, it has made putting on sweaters so much easier, and I never have to worry about helmet hair.

If you're reading this post with a touch of anxiety about your hair, just know that it's gonna be fine and you probably look cool as hell (albeit a bit different) with a buzz cut.

bichiliad··on [dead]
We have a documentation hub at work, but the permissions used to be such that, for a while, you could create and edit documents but not delete them. People would rename stuff to "DELETE ME" in the hopes that this would one day change, but no one in charge of the permissions really used the hub all that much anyways. The hub is being abandoned now in favor of another one.

There's no moral or anything here, just another fun story.

bichiliad··on How the US Legalized Corruption
I think the point I'm trying to get at is that from his perspective, America is white and is run largely by white people. Corruption exists everywhere, but Americans are in the practice of being complacent with it. I feel like a conversation about how we've normalized corruption needs to die on the altar of civility. The people benefiting from corruption certainly don't care.
bichiliad··on How the US Legalized Corruption
To the comments that discredit the article for "bringing race into" the discussion, it's worth noting that:

1. the author is not white, nor lives in a place where white people are any sort of majority.

2. politics has largely been dominated by white people for much of America's history, so it's likely fair that these patterns were started and perpetuated by white people.

3. the author doesn't exempt non-white politicians from scrutiny (i.e. Obama doesn't get a pass).

4. it doesn't make his points any less valid, which is where the merit of this post lies.

bichiliad··on Tesla fire kills man because door handles wouldn’t open, lawsuit alleges (2019)
That's a good tip, although I know that not all cars make it possible to get to the trunk (or boot) from inside the passenger area.
bichiliad··on Tesla fire kills man because door handles wouldn’t open, lawsuit alleges (2019)
That's a pretty reductive assessment of what happened here. A system that requires you to remember to buy a window hammer on the off chance the doors don't open is a system that has failed. We expect cars to have thousands of other safety features — we don't bring our own seatbelts in case the ones in the cars fail, and we don't wear helmets in case the airbags fail to deploy.
bichiliad··on Show HN: Beeper – All Your Chats in One App
I can't tell you how great this is to hear! I'm really excited to give it a try.
bichiliad··on Show HN: Beeper – All Your Chats in One App
I've been really excited for something like this, and seeing that it's built on top of Matrix is also exciting. One of my biggest gripes as of late is how hard it is to, for example, limit your time on Instagram without cutting yourself off from Instagram's chat. I can tell my friends to send me texts as much as I want, but there's always a message or two in Instagram that I don't see until a day or two later than I want to.
bichiliad··on You might not need jQuery (2014)
I think a lot of the initial appeal around jQuery was that it made querying and manipulating the DOM simple. Much of its features have been replaced by broadly-available APIs like Document.querySelector and Element.classList. Loading the entirety of jQuery just to access some of the remaining features just means you're loading JavaScript that you aren't going to use. I miss relying on jQuery because it's familiar and consistent, but it also makes it easy to forget how much better browsers have gotten in the time since it was introduced.
bichiliad··on I believe US could see rolling series of “Ireland events” over next 2 months
Can you clarify which graph and which label? The first graph I see is the number of new cases in Ireland over the past year, and I don't see any labels that seem suspicious.
bichiliad··on Bitcoin: Be prepared to lose all your money, FCA warns consumers
You're not wrong about stock volatility, but I think the point that there aren't any mechanisms for safety at all are fairly valid still:

"Investors who are out of pocket will not be able to rely on the Financial Ombudsman Service to settle complaints or order compensation from offending firms. Consumers are also unlikely to be covered under the Financial Services Compensation Scheme, which covers losses up to £85,000 on fully regulated accounts and investment products including pensions."

You also can't, say, sue BitCoin for securities fraud (or, more realistically, be part of a class-action lawsuit) like you could against a company that you own stock in[0].

Again, I'm not trying to say that stocks are "safe", but it's also true that you have more protections investing in them than you do with Bitcoin (at least for now).

[0]:https://www.bloomberg.com/opinion/articles/2019-06-26/everyt...

bichiliad··on Simple Bank Is Closing
As long as your landlord doesn't have your literal bank numbers, you are probably ok. If anyone has your bank numbers, they can initiate ACH withdrawals from your account, which is something I didn't know. There are protections on ACH transfers, which is why you can dispute things, but it also means a lot of your money could be in limbo for a long period of time, which is scary.

As for 3rd parties, most landlords I've had since use services like ClickPay and AppFolio (there are probably dozens, but those are two I've had the option of using with past landlords). They have automatic payment options, but they won't charge payments without your approval.

bichiliad··on Simple Bank Is Closing
A while ago, I had a landlord who withdrew rent directly from my bank account[1] and who kept charging me rent after I had left. They also refused to return the money to me and insisted I file an ACH dispute through my bank, Simple. I was responsible for rent for me and my roomate, so being double charged rent for a month meant I was suddenly short two peoples' worth of rent.

Simple was super, super good about the whole thing. They gave me an interest-free loan for the whole amount and told me that if the dispute was successful (which it was), I'd just get to keep the loan. They also put an ACH block[2] on my account, and generally were super responsive in support.

Simple wasn't great for a lot of stuff you could expect from normal banks, like writing checks (for a while, you couldn't get a checkbook from them), cashier's checks, and money orders, but for everything else, they worked really well. I'm kinda sad to see them go.

[1]: I now know this is a bad idea. Always use a 3rd party or pay manually! [2]: ACH blocks are weak, but they're the only sort of protection against malicious actors like this. They prevent a specific amount of money from being withdrawn from a specific party, but there's no way to, say, block all withdrawal attempts from a party.

bichiliad··on U.S. Bill H.R.69 introduced – To make daylight savings time permanent
In short, because DST better aligns with most people's day schedules than standard time does because it adds daylight time in the evening instead of in the morning (I'd love a better source than this[0], but it matches the rationale I've always heard).

[0]: https://time.com/5888112/daylight-savings-time-permanent/

← PreviousPage 5 of 14Next →