HNHacker News
TopNewBestAskShowJobs

elbasti

2,024 karma · joined December 20, 2015

submissionscomments
elbasti··on What I learned gathering nootropic ratings (2022)
Actually, a lof of blind trials are hard to run precisely because it's so obvious if you're not on the placebo side.

Like...nobody could ever take a macro dose of LSD or mushrooms and not know it.

elbasti··on The Death of Daydreaming
Imagine how addicted I am that I use my smartphone even after writing the past comment!
elbasti··on The Death of Daydreaming
Ah. Well I didn't mention all the benefits, but what I was referring to here were future decisions, not past ones. Decisions I had put off taking because they caused me great anxiety but that nonetheless had to be done, and the sooner the better.

Other benefits:

- Vastly improved mood

- Renewed interest in creative endeavors, specifically writing

- A sense of well-being

- A "the scales have fallen from my eyes" realization/epiphany/gnosis around the nature of reality and the effect "weaponized language delivery mechanisms" (ie, social media) have on our perception of it.

Pretty fucking worth it, if you asked me. And yet I fell off the wagon and have a smartphone again.

elbasti··on The Death of Daydreaming
I found the truly irreplaceable apps to be:

- Uber

- Banking

- Google Maps

For a camera, I suggest buying a real, standalone camera (I have a fuji x100). The photos it takes are VASTLY better than an iphone. For something smaller that fits in a pocket, people say great things about the Ricoh GR III.

Unfortunately, I found that being out without a smartphone did cause certain anxieties for me: What if I forgot about an appointment? What if I get an urgent email or whatsapp?

The answer would be having an actual assistant (ie, a secretary). Someone I could call to order me an uber or look up a restaurant, and someone who could call me to say "hey, X just sent you a whatsapp message that seems pretty urgent."

I that an AI powered assistant that communicates via phone or text could be a great use for AI and something I hope to code up whenever I have some spare time.

elbasti··on The Death of Daydreaming
Last year I took a smartphone holiday for 4 months (switched to a dumbphone). It was a fantastic time and I regret "falling off the wagon" and getting a smartphone again.

I noticed a huge number of benefits, but one of the most surprising was that it forced me to confront a number of difficult decisions.

There were a few times in which I was bored (waiting at the passport office, sitting on a plane) in which I started to think about decisions I had to make that were very difficult in ways that caused me anxiety: firing a person I'm good friends with, shutting down a company, stuff like that.

I realized that ordinarily I would simply refuse to engage with the decision: I'd get on my phone or "get busy" somehow and so simply postpone thinking about the issue indefinitely.

But when you're stuck at the passport office for 2 hours with nothing to do, you can't but help think about the thing that is top of mind, anxiety be damned.

For someone that is prone to anxiety around certain topics (conflict avoidance, "disappointing" people, etc) having times in which I was forced to engage with the topic had truly enormous benefits.

elbasti··on Port of Los Angeles says shipping volume will plummet 35% next week
Sorry, it was a typo (now corrected). I meant to type "CPG" (Consumer Packaged Goods). Ie, stuff they sell in supermarket aisles that is not food.
elbasti··on Port of Los Angeles says shipping volume will plummet 35% next week
I asked a good friend that runs a multi-billion dollar CPG business that relies on China imports. His answer:

> Almost guaranteed.

> There are some categories (toys, pet stuff,computer accessories) where HUGE percentages of goods are made in china. Those shelves will be empty as soon as inventory runs out, which will be soon.

> Shelves would get re-stocked once tariffs are removed and the ships start sailing again.

> If it takes longer than 60 days from now, we're looking at 10s of thousands of bankruptcies. This will make covid look like a weekend at the ritz carlton. Biggest financial crisis since the great depression.

My takeaway: People are not taking this NEARLY seriously enough.

My tinfoil hat interpretation: The US govt knows how serious this is, and they know that if people panic (which honestly, they fucking should) it increases China's leverage substantially.

elbasti··on Pipelining might be my favorite programming language feature
In elixir, ```Map.get("user") |> create_user |> notify_admin ``` would aso be valid, standard elixir, just not idiomatic (parens are optional, but preferred in most cases, and one-line pipes are also frowned upon except for scripting).
elbasti··on America underestimates the difficulty of bringing manufacturing back
I was talking about the cost in the US, not overseas.
elbasti··on America underestimates the difficulty of bringing manufacturing back
I actually make pretty high cost products with relatively expensive labor (welders, electricians).

Even then, materials & parts dominate.

elbasti··on America underestimates the difficulty of bringing manufacturing back
A skilled assembly worker makes closer to $30 or $40 an hour than $25. And that doesn't account for overtime. A skilled tradesman can make $40+.

Manufacturing is skilled, well-paid labor that requires commitment, attention, and care. That is why there's a shortage of labor--not because of wages.

elbasti··on America underestimates the difficulty of bringing manufacturing back
Like OP, I work in manufacturing (after 15 years in startup land). I'm not as experienced as him, but I work in manufacturing that makes similar products on both sides of the US/Mexico border.

Let me add some thoughts:

1) Capacity, not cost, is the main driver for nearshoring. All things being equal, a manufacturer would rather produce a product in the US than overseas. The cost of modern products is mostly parts & material, not labor. When you add logistcs expenses, the theoretical cost advantage of overseas vs local is not that great. Remember:the people on the other side of the border are capitalists too! They want to keep most of the surplus of nearshoring to themselves! The problem is that there simply is no capacity, both in facilities and especially in people.

2) What matters even more than capacity is the first derivative of capacity. In other words: how quickly can I spin up a new factory if I win a big deal? How quickly can I spin one down if the client goes away? How long will it take me to get a permit to connect my new factory to the highway? In the US, these costs and timelines are massive. Real estate, permitting, hiring. There is an order of magnitude difference here, in cost and time.

3) The labor problems are real. I don't want to disparage the american workers I work with, because they are amazing. Truly fantastic craftsmen. But they are hard to find. You'd be surprised how many people show up who can't read or can't read a tape measure. How hard it is to find people that want to work 8 hours a day, 5 days a week. By contrast, in our overseas facility we have qualified workers literally showing up at our gate every day asking for work.

In other words, the root cause problems with american manufacturing are—-surprise surprise!--the same problems as with other parts of the US that are in decay:

- Disfunctional local government, especially around permitting, construction, housing and transit

- Disfunctional education & healthcare systems.

- A lack of strategic investment in infrastructure (rail, highways)

- A social safety net that is totally out of whack, with a high cost burden for employers & employees, with little to no immediate quality-of-life benefits for the working population

Tariffs solve exactly zero of those probems!

elbasti··on Take the Pedals Off the Bike
My daughter—who is not at all coordinated-learned how to ride a bike with this technique.

Holy smokes it works. She learned how to ride in maybe 10 minutes. Tops.

Incredible.

elbasti··on The Origins of Wokeness
pg has been pretty consistent in this position for a long time. His worldview is closest to what one could call "classical liberalism":

Free speech, economic liberalism, civil liberties, individual autonomy.

That's a worldview that is pretty idiosyncratic today (sadly).

On some topics he's "left wing" (pro palestine), on others he's "right wing" (anti affirmative action in university admissions).

elbasti··on How WhatsApp for business changed the world
The fact that WhatsApp is also gigantic in large countries with no intermobility between them (Mexico, Brazil, Nigeria) would suggest that the only issue that mattered was the fact that ~2011, mobile carriers would charge insane rates for SMS.
elbasti··on Petnames: A humane approach to secure, decentralized naming
To reinforce the real-world value of contact secrecy, let me share an example of how WhatsApp's contact broadcasting is creating massive opportunities for scammers where I live (Mexico).

In WhatsApp, when you join a "community" (sort of like a giant, moderated group), all members of the community are visible to all other members. You can see their phone numbers and their self-chosen nickname. Note that very frequently people will have their names or a shortened version of their name as their nickname.

In emerging markets, people use WhatsApp for everything and many people will naturally join a few communities. Things like:

- A community for your kid's school

- A community for your neighborhood's safety alerts.

- A community for a club or hobby.

So a scammer's workflow is as follows:

1. Infiltrate a community or a group.

2. Check all of the members and find those whose names are publicly shared or you can deduce.

3. Use their name, phone and--crucially--information about the community itself to craft a targeted phishing phone call.

Example:

Sandra is a part of a community for neighborhood safety news. The community is called "Hillsborough safety." Her whatsapp nickname is "Sandy Williams."

A scammer will join the community and see her contact. They will then call her with a message like "Hi, is this Sandra Williams? Yes, I'm calling from the Hillsborough police department. Unfortunately there's been an accident with your husband...".

You can imagine how the simple fact of knowing someoen's name and some sort of "proprietary knowledge" (they know I live at Hillside!) can be enought to for a victim to lower their defenses.

An additional layer to this is that often the scammer will social-engineer their way into gaining access to the victim's Whatsapp account itself. They can then access all of the groups that victim was a member of, including "tight" friend groups, etc.

IMHO contact broadcasting is an inexcusable design decision by WhatsApp.

elbasti··on Pro bettors disguising themselves as gambling addicts
Sports betting is zero sum, but the market is very inefficient. So you need market makers (the gambling sites) that will fill any order and that set the initial price.

The correct price is often not known for a short while, and that's when the pros bet. Immediately when the line (price) comes out, if they think the line is miss-priced, they will place large bets.

Eventually the house realizes the mispricing and they change the line, but by that point a pro might have placed a six figure bet.

So pros really are winning from the gambling sites, not from other gamblers.

elbasti··on What Is a Particle? (2020)
This might sound tautological but a particle is, well, a thing that behaves like a particle.

Those behaviors are something like:

- it has momentum - it's state is uniquely defined by a position in space and a velocity

What's not a particle? A wave (well, until 1900 or so ...).

Sort of like asking "what is a number?"

A number is a thing that obeys certain rules. (You can add them; there's an `identity `, for every number there's a number which if you add together gives zero, etc).

That allows things like `(3 + 5i)` to be a number, for example.

elbasti··on The shortest, strangest engineering interview I've ever done
In case OP reads this:

You didn't do anything wrong. Odds are that "Adam" was a scammer. Perhaps he doesn't know how to code at all and was looking for a job that would hire based on his resume, let him cruise for 2 weeks while "onboarding," let him flail around for 4 weeks, be put on a PIP for 2 more, then fired with severance after getting 8 free weeks of bay-area pay.

Or perhaps he does know how to code but was looking for a second job (to do the exact same thing I mentioned above).

You didn't do anything wrong. You just dodged a bullet.

elbasti··on Multisatellite data depicts a record-breaking methane leak from a well blowout
> Imagine if you had $1,000,0000 in your bank account and were spending $100,000 per year, except one year you spent $95,000. That's 2020.

It's even worse, because there's positive feedback loops we've probably unlocked (mainly artic and tropical methane).

So it's more like every year you put $100K on a credit card with high interest rate with continually compounding interest.*

Even if we stopped spending tomorrow, the debt will continue to grow exponentially.

*And the card is owned by a mob boss that will blow your brains out when your debt exceeds your bank balance.

elbasti··on Selfie-based authentication raises eyebrows among infosec experts
I recently took my kids to an child-focused restaurant outside Mexico City where they implemented a funny "selfie-based" authentication mechanism.

The place has lots of activities for kids to run around and do, but Mexicans are scared of child kidnapping (rightly or wrongly I do not know).

So upon entry to the restaurant, the whole family has to take a selfie (on their device), and they need to show it when exiting. So in theory kids can only leave with the people they came in with.

Of course, the staff doesn't really check the timestamp, so I suppose a kidnapper could just take a selfie with the target kid, rendering the whole thing useless... but I nonetheless find it interesting how businesses in emerging markets roll their own half-baked, low-tech security solutions.

elbasti··on Birds in Space II: Quails in the Cosmos (2011)
I don't know if it's on purpose, but the OP shares a title with one of my favorite paintings, Miró's "Birds in space II" [O]

[0]: https://www.museoreinasofia.es/en/collection/artwork/oiseau-...

elbasti··on Waymo One is now open to everyone in San Francisco
Or, you know, you could drive (or bike! or waymo!) to the local train station, which should have <30 min, well-scheduled, predictable headways to major cities, then take a train that goes 150+mph, and then drive (or bike! or waymo!) to your final destination, for _far_ less total energy expenditure.

Every car in a train-caravan is schlepping along its own engine, crumple zones, airbags....and with rubber tires...

...its frankly idiotic.

elbasti··on Waymo One is now open to everyone in San Francisco
> Maybe if they re-invent trains or buses again

You joke, but I've heard more than one argument about how self-driving cars will drastically improve traffic because, for inter-city travel, they will be able to drive very close together on the highway in a long convoy, leaving almost no space between cars...

elbasti··on 'The big problem is water': UK ebike owners plagued by failing motors
Serious answer: they are lighter, quieter, go slower, handle differently, and have access to different infrastructure.

The lighter and slower bit may sound glib, but it makes a huge difference to what it feels like to ride them and to have them ridden around you.

elbasti··on I bought an encyclopedia
The world almanac that shipped with Carmen Sandiego was also used to prevent piracy.

There were some parts of the game that would only allow you to proceed by answering a question that required possession of the physical book.

elbasti··on Elixir 1.17 released: set-theoretic types in patterns, durations, OTP 27
Hi José, thank you for the reply. I hope I didn't come across as critical of the incredible work the elixir (and LV) teams have done. You are all absolute treasures to the programming ecosystem.

I think you'll find that my argument ("LiveView shouldn't be the default way of doing things") is fairly common.

It's not necessarily about the footguns (or lack thereof), or improving the docs: it's about there being a shared vocabulary among people that do web development that LiveView is alien to.

Web frameworks have historically been great tools to drive adoption of programming languages (Ruby/Rails, react/ts). The same could be true of Elixir.

However, in order for that to obtain, the learning curve can't be too steep, at least in the initial portions of it. I think you'll find that with LV the learning curve looks like a step, and imho that step is a bit too high.

Of course, all these arguments apply both at the individual level and the company/org level. Think about a new hire's time-to-productivity if they first have to learn elixir, then phoenix + liveview vs just elixir & MVC phoenix.

If there's a way I could contribute to an effort that helps people learn elixir sans lv--perhaps writing, sketching, or even reading a guide/documentation--I'd be happy to give it a crack.

elbasti··on Elixir 1.17 released: set-theoretic types in patterns, durations, OTP 27
I love elixir. I use it for basically everything. And LiveBook has become my go-to place to start building toy software.

I just can't do liveview. I have a very hard time grokking it, and it has a lot of footguns. (ex: if you need to remember to perform auth checks both doing a `pipe_through` in a router and using the `on_mount` callback in a LiveView, see [0].)

In fact, the fact that the above sentence has zero meaning to a new-to-phoenix-and-liveview dev is proof enough to me that liveview should not be the default way of doing things.

It creates a very steep learning curve where, crucially none is required. elixir/phoenix are easy.

I would even say that the correct learning order for a new-to-elixir/phoenix dev should be:

- Phoenix with deadviews (MVC style).

- "Elixir in action" to learn the basics of OTP. This book is was both easy and utterly eye-opening to me and changed the way I code basically everything.

- Then, and only then, LiveView.

[0]: https://hexdocs.pm/phoenix_live_view/security-model.html#liv...

elbasti··on How Alexa dropped the ball on being the top conversational system
> Regardless of the above, ChatGPT made almost all NLP technologies across all companies obsolete.

That would be a data point in favor of the amazon strategy, no? Prevented millions upon millions of being invested in developing losing technology.

The window to integrate LLMs (especially from Antrhopic, in which Amazon is an investor) is closing but not shut.

If they can do so well, they have massive distribution power to catch up and drive rapid adoption of alexa 2.0.

elbasti··on Why Triplebyte Failed
IMHO, it's because the single most important characteristic for software engineers, at the vast majority of companies, is that they ship features.

And that's a skill that's incredibly hard to test for.

← PreviousPage 2 of 8Next →