HNHacker News
TopNewBestAskShowJobs

tmh88j

854 karma · joined October 26, 2011

submissionscomments
tmh88j··on I still love PHP and JavaScript
Node isn't included with JavaScript. No package managers are included with JavaScript.

You're splitting hairs about Node/NPM which is completely irrelevant to their point about JavaScript not having package managers built in.

tmh88j··on I still love PHP and JavaScript
> When you install Node, you also get NPM, which is essentially what I said in the previous comment.

The other person said that JS also doesn't include a package manager. It sounds like you wanted to take issue with the colloquial use of NPM rather than their point about package managers not being included.

> I also don’t believe a bundled package manager is necessary — NPM isn’t bundled with JavaScript, and it seems to be doing ok.

tmh88j··on I still love PHP and JavaScript
>>I also don’t believe a bundled package manager is necessary — NPM isn’t bundled with JavaScript, and it seems to be doing ok.

>I'm not sure what point you're trying to make here. If you install the Node runtime...And even if you are, why would some other runtime include NPM?

Node nor any other package managers are included with JS. You seem to be emphasizing their point.

tmh88j··on Toyota RAV4 Prime hybrid SUV now selling for 48% over MSRP
>Do your scare quotes mean you think it's unreasonable? It's supply and demand, isn't it?

No, it's not reasonable when you're forced to go through a middleman who adds little to no value to the transaction and wants to take a massive cut. Ford is legitimately worried about dealership greed jeopardizing the success of the F-150 Lightning[1] and EV's in general, so they're moving towards direct to customer online sales for their EV's[2]. They've arguably been burned by greedy dealerships in the past with the Focus RS[3].

[1] https://www.thestreet.com/lifestyle/cars/ford-warns-dealers-...

[2] https://arstechnica.com/cars/2022/06/ford-wants-to-sell-evs-...

[3] https://www.thetruthaboutcars.com/2017/07/barks-bites-focus-...

tmh88j··on Are forum platforms dead?
https://www.gtrlife.com/forums/

https://www.mustang6g.com/forums/

https://www.camaro6.com/forums/

https://rennlist.com/forums/

Most car related subreddits are used like instagram or news aggregators with very little substance you can't easily find elsewhere.

tmh88j··on Learning Go as a Python Developer: The Good and the Bad
It's standard practice to look at the code alongside a diff. Better yet, use your IDE or a tool to show you far more detail than a diff possibly could. https://www.jetbrains.com/help/pycharm/comparing-files-and-f...

This is such a pedantic, non-issue I don't even know why I'm bothering acknowledging it.

tmh88j··on Learning Go as a Python Developer: The Good and the Bad
Your issue is with the readability of the diff? That is so trivial. You're trying to find anything to complain about at this point. How about just look at the code? You should be doing that anyway.
tmh88j··on Learning Go as a Python Developer: The Good and the Bad
It's not for extremely specific use-case, unless you consider using variables as a condition of an if statement or loop extremely specific.

> And worse, effects code maintainability - if you need that assignment higher up, you're now editing the if statement, adding an assignment, plus whatever your interstitial code is.

How is that different than variables declared without the walrus operator? If you declare a variable with the walrus operator and decide to move its declaration you can still continue to reference that variable in the same spot, just like any other variable. Do you have an example you can share to demonstrate this? I'm not sure I understand what you mean.

> Python doesn't have block scoping so the argument for it is weak.

The walrus operator another way to define variables, not change how they behave. It's just another addition to the "pythonic" way of coding. It's helped me to write more concise and even clearer code. I suggest reading the Effective Python link I provided for some examples of how you can benefit from it.

tmh88j··on Learning Go as a Python Developer: The Good and the Bad
I really like the walrus operator. It's helped me to create more straightforward if/elif blocks and loops. Effective python has some pretty good examples. https://effectivepython.com/2020/02/02/prevent-repetition-wi...
tmh88j··on Learning Go as a Python Developer: The Good and the Bad
This whole chain started with someone pointing out the author doesn't seem to realize you can pin versions[1]. I'm just confused how people seemed to end up questioning what pip freeze does.

[1] https://news.ycombinator.com/item?id=32141573#32142190

tmh88j··on Learning Go as a Python Developer: The Good and the Bad
> > - pip freeze

> all this does it just lists currently installed packages in a form that can be automatically read by pip

Are you referring to version specifiers[1] being optional or is there something more to versions that I don't understand? PEP 440 is a wall of text, maybe I should get around to reading it sometime.

[1] https://packaging.python.org/en/latest/glossary/#term-Versio...

tmh88j··on Manhattan rents cross $5k threshold for first time
They're suggesting caring less is the primary reason for rural people driving drunk. The primary reason is a lack of transportation options. Caring less is a byproduct of that, not the reason they do it in the first place.
tmh88j··on Manhattan rents cross $5k threshold for first time
> Whether or not you lock your door has more to do with cultural attitudes towards risk

> People in rural areas don’t lock their doors for the same reason they don’t wear seatbelts and drive drunk everywhere. They just don’t care.

Do you think the attitude towards risk is because they truly don't care about having their belongings stolen, or because they know there is less risk of that happening? Having lived in a rural area and in a few cities, my experience is the latter. No one wants to be robbed.

Also, people in rural areas driving drunk is mostly due to lack of transportation options. I'm certainly not condoning it, but Uber doesn't travel out into the sticks and there is no bus or train to hop on.

tmh88j··on Auto manufacturer family tree: Who owns what?
> Because the dealers are Ford's customers, not us. Ford makes the dealers happy.

Repeating the same thing isn't an explanation and that doesn't make any sense. What incentive does Ford have to do that? They arguably lost the Focus RS because of what you're claiming and I provided a link to it. It doesn't help them sell more vehicles and these are only low volume to begin with. Dealers depend on Ford, not the other way around. As the other article I linked pointed out, Ford is moving to direct consumer sales.

> Mach 1 MSRP $56k. My local dealer has one for $79k.

Yes, we know markups exist. Not all dealers do that and it's trivial to find them. https://www.mustang6g.com/forums/threads/2022-mustang-mach-1...

> LOL. My last mustang was a PP and I had to special order it and wait months to avoid paying an extra $10,000 just for shit I didn't want. Sure, at $35k (2016) it was good value for money. I still got the limp mode on the track because of the rear diff, but at least I didn't pay $90k for that privilege!

Are you bragging that you got ripped off? I bought mine new, under MSRP last year. Performance pack Mustangs are easy to come by sitting on dealer lots at MSRP new and even easier used. I wanted an SS 1LE, but I bought a Mustang instead because I was able to get it new for the same price as 3 year old Camaro.

The production volume doesn't even compare. Ford moves significantly more Mustangs annually[1] than Chevy does the Camaro[2], and for the past 3 years it's been 2x as many. Camaros are much harder to come by and hold their value far better used. Unfortunately for me as a buyer it made me favor the Mustang because it made more sense financially. Still a fun car and better for modding, but I would have preferred an SS 1LE over my GT PP

[1] https://www.goodcarbadcar.net/ford-mustang-sales-figures/

[2] https://www.goodcarbadcar.net/chevrolet-camaro-sales-figures...

tmh88j··on Auto manufacturer family tree: Who owns what?
>Also be aware that you are not their customer. Their dealers are their customers.

> Ford makes limited runs so dealers can put insane markups, while GM makes cars for people to buy.

Didn't they just announce fixed price direct to consumer sales for EV's?[1] Regardless, I'm not quite sure what you mean by that. Dealers reap the markups, not Ford, and they're hardly moving any of those trims compared to the F-150 and other "normal" vehicles. If anything it's hurt them. The Focus RS was arguably axed because of dealer greed[2]. Of course Shelby has more fanboys, Chevy doesn't have an equivalent. Ford has made non-Shelby Mustang Cobras in the past and currently have the Mach 1 to replace the Shelby GT350. Having shopped for both I can say with confidence that regular Camaros trims in general tend to be higher marked up than Mustangs because their production volume is much lower, especially with the 1LE package. Ford churns out performance pack Mustangs like they're base models.

[1] https://www.kbb.com/car-news/ford-ceo-wants-future-of-online...

[2] https://www.thetruthaboutcars.com/2017/07/barks-bites-focus-...

tmh88j··on BMW F Series Gear Selector, Part Two: Breakthrough
> The Ford shifter is nothing like it. My favorite thing about it is that there seems to be (maybe) some torque-induced flex between the gearbox and shifter that makes it naturally slide and "fall" into the correct next gear

I also have an ST. I highly suggest replacing the shifter with an aftermarket short throw shifter or the shifter bracket. I think you'll like it even more. I've owned several cars with manual transmissions, and one of my biggest complaints about the ST was the stock shifter. It doesn't struggle to get into gear, but it felt light, soft and mushy compared to my other cars. I replaced mine with a short throw from Steeda and it helped a lot, but still lacks the solid bolt-action rifle feeling I was used to.

The ST is a killer deal with serious performance for its price, but if you want a taste for what else is affordable out there and a step up try out a car with a Tremec TR6060 transmission[1]. They are one of the best manual transmissions on the market today and can take a beating. You should easily be able to find one on Turo if you live near any major city.

[1] https://en.wikipedia.org/wiki/Tremec_TR-6060_transmission#Ap...

tmh88j··on The dissolution of Apple’s legacy design team
What do you mean by that? Multiple monitors without an adapter? I have 2017 and 2019 Macbook Pro's and I use 2 27" monitors with a thunderbolt -> 2 HDMI out adapter. I don't think I'd use it without an adapter even if I could, no need to take up extra ports.
tmh88j··on Ford CEO says EVs will be sold 100% online with nonnegotiable price
They certainly try to enforce it via bureaucracy. My local Nissan dealer wouldn't even do an oil change on mine because they're not a GT-R certified dealer.
tmh88j··on Ford CEO says EVs will be sold 100% online with nonnegotiable price
> No, the warranty exists regardless of where the car is serviced.

I'm not sure if that's true for Ford, but this is in the owner's manual for the Nissan GT-R.

> OBTAINING WARRANTY SERVICE

> You must take the vehicle to an authorized Nissan GT-R Certified dealer in the United States or Canada during regular business hours at your expense in order to obtain warranty service.

> WHAT IS NOT COVERED

> Repairs performed by anyone other than a Nissan GT-R certified dealer.

See the section titled "OBTAINING WARRANTY SERVICE" on page 11 and "GENERAL EXCLUSIONS" on page 12. https://www.nissanusa.com/content/dam/Nissan/us/manuals-and-...

tmh88j··on Today’s JavaScript, from an outsider’s perspective (2020)
> ES6 added most, if not all, the building blocks to build 99% of the computation you'll ever need. What's missing that you'd deem as worthless?

Not the same person, but date/time manipulation is one area I've encountered that's incredibly frustrating (especially when timezones are involved) without libraries like moment. Cross-browser functionality only compounds the issues.

tmh88j··on Ask HN: What’s a good laptop for software development at around $2k?
I can't stand the touchbar. Aside from having to look down to know what I'm pressing and Monterey introducing bugs causing it to disappear forcing me to restart my computer, when it does work an entire row of keys shouldn't be able to "go to sleep". My media controls disappearing because I haven't touched my computer in 60 seconds or however long it takes is ridiculous. There's no way to disable it without hacking together a script[1]. It's one of the most frustrating designs of any product I've ever used.

1. https://apple.stackexchange.com/questions/269174/disable-the...

edit - I just timed the sleep functionality. After 60 seconds it dims, and then 15 seconds later it goes to sleep completely....such a horrible implementation

tmh88j··on Ask HN: What’s a good laptop for software development at around $2k?
I hate the butterfly keyboard too, but most importantly the worthless touchbar is gone and the physical escape key is back.
tmh88j··on Ask HN: What’s a good laptop for software development at around $2k?
>Apple keyboards are miserable

> I have a Macbook pro I get from work and the keyboard on that thing is borderline unusable. With it's weird flat keys, no travel, and the elimination of function keys for this terrible GUI thing.

You have an older version made sometime between 2016-2019. They got rid of the butterfly keyboard for the 2020 models.

tmh88j··on Ask HN: Why isn't there a Google competitor emerging?
I've tried that but the filter seems inconsistent. I can specify a date range and get some focused results, but if I remove the date filter and search the same terms I often receive additional results that weren't previously displayed but are within the range I used.
tmh88j··on Ask HN: Why isn't there a Google competitor emerging?
Is there a way to provide a date range when specifying a site? I frequently append reddit to my google searches as well, but the results often include outdated posts. I don't want restaurant/service/whatever reviews from 7+ years ago.
tmh88j··on Building a web app with no framework
>How did you go about establishing structure and patterns that are typically enforced by frameworks?

I know PHP gets a lot of flak, but I think this is an excellent example of how that can be accomplished from a backend perspective using proven libraries.

https://github.com/PatrickLouys/no-framework-tutorial

tmh88j··on Vanced: YouTube adblocker for Android
>For what it's worth, I hadn't heard of this before....and have been avoiding ads since forever.

I don't what other sites you browse, but like I said, you can't avoid it on reddit. Here's a highly upvoted post [1] currently on the front page of /r/pcmasterrace

https://old.reddit.com/r/pcmasterrace/comments/szcq7m/browsi...

tmh88j··on Vanced: YouTube adblocker for Android
I'm surprised this is posted here. I don't even have an Android but I thought it was so well known that this feels just like a blatant ad. You can't go to a single post on reddit about youtube, adblockers or pihole and not find Vanced mentioned dozens of times.
tmh88j··on America's Favorite Pickup Truck Goes Electric
>Almost doesn’t matter how good these EV alternatives are if they can’t ship 100k units in the US.

Rivian is basically a startup, they shouldn't be lumped in with everyone else's capabilities. As for the existing brands, I don't think it's because they're not capable. They're still printing money from their current vehicles so they're slowly rolling over engineering resources and funding to the EV side of things. The EV truck market is basically non-existent. Rivian is realistically the only manufacturer who has to worry about competition for the next few years. The F-Series generated $42 billion in revenue for 2019[1] without any EV powertrains offered. If Ford put 100% of their engineering manpower and funds towards EV's tomorrow they would cripple themselves.

[1]https://thenewswheel.com/ford-f-series-42-billion-revenue-20...

tmh88j··on Tesla Model 3 Owner Discovers Car Was Delivered Missing a Brake Pad
Teslas are wonderful powertrains strapped to extremely underwhelming cars. Everything other than the battery tech that makes it a car is severely lacking for the price. Outside of the EV realm the Model S might as well be a Camry when compared to other full sized cars in its price range like the S class or 7 Series.
← PreviousPage 3 of 16Next →