HNHacker News
TopNewBestAskShowJobs

towergratis

110 karma · joined March 6, 2021

submissionscomments
towergratis··on How does USB device discovery work? [video]
Because it is not the right tool for the job.

A cheap logic analyzer, like DSLogic, would probably work much better for the specific use case.

towergratis··on 70% of San Francisco residents say quality of life has declined: poll
> I wonder what percentage of residents support the tax increases necessary to provide such services.

Straw man fallacy. Why do you jump to the conclusion that the problem is financial. SF is among the top 5 richest cities in US.

You really have to prove that the problem is financing, before you make the argument you made.

towergratis··on P4: Open-Source Programming Language for Protocol-Independent Packet Processing
P4 pretty much died together with Barefoot Networks
towergratis··on My favourite C++ footgun
The root cause is the same
towergratis··on My favourite C++ footgun
The real problem is not specific to C++, memory or shared pointers, but as the author mentions later, the fact that "function parameters evaluation order is unspecified".

The problem is similar in C as well.

`printf("%d, %d", i++, i++);` will give you different results depending on the compiler.

towergratis··on Designing a better strcpy
I would use ssize_t instead of size_t.

Mixing unsigned and signed is seriously broken in C, and hence better to stick with signed.

towergratis··on Rethinking Triplebyte
Ammon not Aaron. Apologies
towergratis··on Rethinking Triplebyte
The problem with Triplebyte IMHO is that what the originally promised, while a great idea and concept, it cannot scale. Also after interviewing with them for a role in their company I got to realize they don't know how to conduct interviews themselves.

I used them two times. The first one was very early on, where I was given a home assignment and interviewed on it by Aaron himself, if I am not mistaken. The dude was awesome at interviewing, and knew exactly how to probe to get a better understanding of your skills.

That was when they were promising that you can interview with them so you don't have to do technical interviews with the companies. I thought it was an awesome concept and could really reshape hiring in the tech industry.

Second time was a couple of years ago, where the model has already changed a bit. Passed the first round and one of the companies that I could interview for was triplebyte themselves.

What a disappointment! The only difference in the interview process than the rest of the companies was that they gave you a laptop and asked you to do practical coding instead of whiteboard generic algorithm solving.

Some of the interviewers themselves were junior members of the stuff with 0 experience in interviewing.

towergratis··on Lina Khan: The 32-year-old taking on Big Tech
Completely, but it is still worth mentioning the age. I don't know why people get triggered by it.

It's like saying the 16yo chess champion, or the 18yo self made billionaire

towergratis··on Lina Khan: The 32-year-old taking on Big Tech
My comment was on older-self vs younger-self.

It's not in your "self-interest", the way you mean it, to review your ideas and believes from when you were younger and realize that with your extra experience you see things differently now.

And just to be 100% clear, I am all for having younger people in critical positions and don't try to argue that one is better than the other.

My reply was on how age matters. Don't know why you try to twist it to a generational flame-war.

towergratis··on Lina Khan: The 32-year-old taking on Big Tech
Experience and maturity matters.

When I was young I too thought I knew all I needed to know. The older I get the more I understand that experience is very important.

towergratis··on macOS Monterey Preview
Moving north I see.I guess the next one will be called Santa Cruz macOs, or SCO.
towergratis··on LOL just got kicked out of @ycombinator
His defense was:

> 1. I went to a neighborhood clinic in Oakland, CA that's literally next door to my house, I can see the church from my window. Paul lives in NYC which is on the opposite end of the country.

> 2. I asked them about eligibility and told them I don't clear CA guidelines. They told me it's first come, first served with an ID showing I am 18+.

I am not buying this. Why would they even go and ask for eligibility when they know very well they are not eligible?

The only reason would be to hope to find a loophole.

The whole vaccine situation in CA was an excellent test of character. They failed it.

Not surprised that a YC founder thinks that rules apply only to others and not themselves. The antisocial gene is strong in this one.

towergratis··on Why have cameras and lenses become so expensive?
> My new cellphone literally has a Hasselblad camera on it

Sorry to bust your bubble, but no, your phone doesn't have a Hasselblad camera on it.

It has a lens that Hasselblad worked on, together with the vendor.

Which in itself tells more about brand dilution, and the market loss of cameras to phones, than the quality of your phone's camera.

towergratis··on Tesla loses U.S. designation for some advanced safety features
Did I read that correctly? Are they removing the feature from existing cars as well?

And that's because Tesla decided to ditch radar due to chip shortages?

We moved from "You don't own your computer" to "You don't own your car" really fast

towergratis··on Boom Supersonic aims to fly 'anywhere in the world in four hours for $100'
Fast, Cheap, Safe - Chose two
towergratis··on Mediterranean diet may prevent memory loss and dementia, study finds
I guess "Meat can make a rare appearance" and "very regular" are subjective.

I grew up in a metro area, and can say that my family, relatives, and friends, have had some kind of meat (mainly chicken, beef and pork) at least 3-4 times a week for main course. And curated meat in sandwich snacks again another 3-4 times. I don't think there were many times I have gone more than 1 day without any kind of meat.

And of course as you mentioned every holiday/celebration must have some kind of meat, mostly goat.

And that's before you grow up and start eating out.

That's what I meant "very regular". Maybe by western standards it still isn't too much.

towergratis··on Mediterranean diet may prevent memory loss and dementia, study finds
> Also one thing that is often overlooked is how 'old'/traditional diets were very seasonal.

Great point. Also keep in mind that religion plays a critical role. Greece in the mid 1900's was a very religious country, and most people attended the 40 days diet that they would abstain completely from consuming land-animal products.

towergratis··on Mediterranean diet may prevent memory loss and dementia, study finds
Same in Greece, bread is everywhere. Every household buys at least a loaf per day, and of course it's free and as much as you can eat in every restaurant.
towergratis··on Mediterranean diet may prevent memory loss and dementia, study finds
Obviously I thought it was a rebuttal of my point, hence the question
towergratis··on Mediterranean diet may prevent memory loss and dementia, study finds
> The Mediterranean diet is a diet inspired by the eating habits of Greece, Italy, and Spain in the 1960s.

Hmm.. that's what I said too, right?

towergratis··on Mediterranean diet may prevent memory loss and dementia, study finds
No self-respecting Greek mom buys anything else other than Extra Virgin Olive Oil.

If it does get adulterated illegally, I don't know. But haven't heard of any scandal like that.

towergratis··on Mediterranean diet may prevent memory loss and dementia, study finds
From the article:

> Forget lasagna, pizza, spanakopita and lamb souvlaki -- they are not on the daily menu of those who live by the Mediterranean seaside.

> The true diet is simple, plant-based cooking, with the majority of each meal focused on fruits and vegetables, whole grains, beans and seeds, with a few nuts and a heavy emphasis on extra-virgin olive oil. Fats other than olive oil, such as butter, are consumed rarely, if at all. And say goodbye to refined sugar or flour.

> Meat can make a rare appearance, but usually only to flavor a dish. Instead, meals may include eggs, dairy and poultry, but in much smaller portions than in the traditional Western diet.

> However, fish, which are full of brain-boosting omega-3's, are a staple.

That's definitely not today's Mediterranean diet. Maybe it's what Mediterranean diet used to be 70 years ago, but as Mediterranean countries became richer, so did their diet.

Refined flour bread is present and consumed with almost every meal. Meat is very regular too. Foods like lentil soup and bean soup are eaten with lots of bread, cheese, and other side dishes that make it much less healthy.

towergratis··on Mediterranean diet may prevent memory loss and dementia, study finds
Raised in Greece. Olive oil is used exclusively in home cooking, with the only exception of frying, in which case sunflower seed oil is used.

To give you an idea, usually Greeks don't buy olive oil in bottles. They buy it in 5lt to 17lt containers

I believe the situation is similar in Italy too. At least southern Italy

towergratis··on Beyond Meat’s Beyond Burger life cycle assessment (2018)
And 100% not Burger
towergratis··on Bootstrap 5 Released
The input is, yes. But I don't think the suggestion box is, is it?
towergratis··on Bootstrap 5 Released
Yes. But Bootstrap themed.
towergratis··on Is this what enterprise means?
A funny experience with DMV:

I sent my payment via regular mail. 1 month later still don't have my registration renewal, so I start worrying. I call my bank to block the check, and go to DMV offices in person and make a payment using a credit card.

After a couple of weeks I receive 2 letters from DMV the same day. One saying I double paid, and hence they are now include a check with my payment back. And another one saying my original check has bounced and that now I will have to make the payment using cashier's check and pay an extra $20 for the bounced check.

I get a cashier check for the amount plus the $20 and make yet another payment.

A couple of weeks later I receive another letter from DMV with a check returning the $20 penalty.

So overall in the end we did balance things out, but took a while :D

towergratis··on Bootstrap 5 Released
Congrats. For version 6 can you please add an autocomplete input element/feature?
towergratis··on Ask HN: How to deal with managers who set a hard time-limit on fixing a bug?
Ignore them and fix it at your own sweet time not working longer than 9-5.

Why you ask? Well look at the big picture.

A manager's ambitious is moving up the corporate ladder. To do this he takes up projects to prove herself. To complete the projects she uses the resources(people) assigned to her. Part of the resources are her core team, that she trusts and will carry with her when she gets promoted. The rest, which is the majority, will stay where they are for the next manager that will come along.

A manager would never give hard time-limit on fixing a bug to his core-team people. The people she trusts. The relationship there is completely different. So we know that you are part of the core team. Hence you have nothing to win career-wise for stressing and working extra hard.

Pushing back, asking questions, and in general being a pain in the ass is also not good career wise, as you may get negative visibility further above.

So the best thing you can do stay invisible, ignore and don't stress about it, and work as fast as you can, while not working more than what you get paid for.

If the bug is really critical and urgent then more resources will be allocated to help you with it.

In most cases however, that deadline is set to multiple people to help with manager's ambition.

So my advise is, relax, don't overwork, but don't rock the boat either.

Page 1 of 2Next →