setpatchaddress

Joined 11 years ago

Karma
1,033
Submissions
539
Member since
Feb 1
View on Hacker News

Recent submissions

Comment · 4 years ago
The derogatory and inaccurate use of “monkey patch” to describe adding methods to an open class identifies you as a Python advocate, so grains of salt applied, but:

I can’t speak for this particular Rails usage, but one of the most powerful things you can do with Ruby is build domain-specific languages without modifying the language itself. *This is a core feature of Ruby.*

The criticism you’re making is one of the Rails DSL — there’s nothing in Ruby preventing you from instead writing account.desposit(Dollar.of(100)).

Put another way: This is like people criticizing RISC-V for not having multiplication in the core ISA — they don’t seem to grasp that RISC-V is an ISA construction set. Ruby is a language construction set.

Comment · 4 years ago
I think it’s much simpler than that. Ruby didn’t have good documentation in English until the mid-2000’s. Python was in use by the English-speaking world before the turn of the century. Documentation + you can generally understand it at a glance == total Python dominance.

Looking at recent Python code, it also seems like the simplicity is being lost in the rush to add features.

Comment · 4 years ago
Dissenting voice here. I did not like the book. It's dark and unpleasant and contra other people here I don't think it speaks to any particularly interesting truths about how supposedly smart kids can be misled.

edited to add: I arrived at this opinion when I first read the book sometime in the early 90's, which I think is decades before the author's bigotry became public.

Comment · 4 years ago
> In my experience people complain about Obj-C syntax when what they actually dislike are verbose Cocoa/Foundation/etc APIs

If so, that’s a real shame. Foundation may be the single best-designed standard library for a (non-functional) language ever.

Comment · 4 years ago
It’s really unfortunate that Apple’s blown gaming so badly. I built a mid-high range gaming PC during the first year of the pandemic. The awful software that PC gamers have to put up with, from the basic stuff like NVidia’s driver software updates that they seem to want to be a social network to the ASUS labyrinth of random apps + UI just to update various bits of motherboard support where it’s not clear what you actually need and what’s actually cosmetic to the MSI daemons to support RGB lights on RAM modules that cause some games to crash at launch Just Because.

Windows gaming is a real shitshow. But that’s where the games are. You can avoid running most of this crap. But you wouldn’t have to put up with it in the first place on the Mac, because there’s an assumed baseline of non-scummy software and vendors would get called out and shunned.

Comment · 4 years ago
Note that the precipitating event was Wallace’s Fox contract coming to an end. This wasn’t ideological ragequit.

But this probably is a consequence of Fox having gone full Trumpy/facist (see: Tucker Carlson) and CNN willing to buy names for their new streaming service, which I think they correctly view as the future of live news (if there is a future outside of TikTok or TikTok-alikes).

Comment · 4 years ago
It’s reasonable for people with center-right, centrist, or left-leaning politics to distrust Fox affiliates. Some of them are in fact still owned by the same company as Fox News.

TV network affiliates can be either independently owned or owned & operated by the network. Disney did not acquire either the Fox TV network or the Fox TV O&O stations in the recent Fox studio sale to Disney, likely because Disney already owns the ABC TV network and strategic ABC affiliates.

Comment · 4 years ago
Not familiar with Raku, but that grep call seems like it would be quite a bit slower than the Ruby equivalent at runtime if it’s anything like a normal grep. Is there some magic there that would make that not so?

Edit: clarity

Comment · 4 years ago
Note how much more concise and yet readable the equivalent Ruby is.
Comment · 4 years ago
> There were analog HDTV standards before we all moved to digital

8-bit computers likely wouldn't be able to keep up with the bandwidth requirements of those systems either.

Comment · 4 years ago
The religious channels are not PBS. "support" is not relevant if the goal is propaganda (religious or political).
Comment · 4 years ago
> Any person who resorts to violence instantly loses all justification

This is an argument for defunding the police.

Police reform is sorely needed. "Defund the police" as a slogan was insane political malpractice.

Comment · 4 years ago
I understand your concern, but you're advocating for a form of security-through-obscurity. Data harvesting of this information is already available to bad actors. If information must be private for security reasons, it should not be in the public court records in the first place.
Comment · 4 years ago
Kind of a tangent, but Ruby-is-slow was always contextual. Ruby was always hugely faster than complex bash scripts for the same task. If you value launch time, Python (at least through 2.x) was always slower from a cold launch compared with Ruby.
Comment · 4 years ago
I use a PC as gaming console for my 4k TV. The EGS windows app is unusable on a 4k TV. Steam, GOG, and Ubisoft Connect all work fine on the same TV.

On top of that, I don't like Epic's business and legal practices. Can't buy my soul with free games.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton