News for hackers. Stuff that matters.

elpescado

Re:Design lessons from guitar pedals on Friday July 01, 2022 @05:04PM (#31952900)
One can say that stomp boxes follow UNIX philosophy. They do one thing and can be connected ("piped") to make complex sounds. For example, if you want distortion, with some modulation (say, some phaser) and a little bit of a delay, you could build a pedalboard ("pipeline") with those three units plugged one into another:

  guitar | distortion | phaser | delay | amp
BTW. in real life, as - by some weird convention - most of pedals have input in right side and output on the left, it looks like that:

  amp                                        guitar
   ^            .-- phaser <--.                 |
   |            |             |                 |
   `-- delay <--,             `-- distortion <--'
Re:Design lessons from guitar pedals on Friday July 01, 2022 @04:54PM (#31952742)
What's so bad about Boss pedals. I _love_ how they look. Their retro-futuristic vibe (it's genuine vibe, they haven't changed since 80s).
But launching rockets isn't rocket science. You build giant steel tube, fill it with some explosives and liquid oxygen, ignite it and, kaboom! you go to space. That's the theory behind it. Now, to put that into actual practice is whole different thing.

The same with CRUD. CRUD is simple, but to do CRUD on ~Facebook~ Meta scale, that's a different thing.

That's assuming that there's a space to pull over, which is often not the case on city streets. Especially, when every AV wants to pull over.
Re:Logitech MX Products are incompatible with AirPods on Friday July 01, 2022 @04:14AM (#31943719)
...and certainly better for your data plan.
> glorified CRUD message board

That's like describing SpaceX as "glorified fireworks"

Re:Shrugs.app – A native Slack client for macOS on Thursday June 30, 2022 @04:39AM (#31930052)
> There is nothing about Electron that constrains it to a single window, what a weird idea.

Yet, for some reason, almost none of Electron apps that I'm aware of uses more than one window.

Re:Shrugs.app – A native Slack client for macOS on Thursday June 30, 2022 @02:50AM (#31929377)
Yeah, same here!
Re:Shrugs.app – A native Slack client for macOS on Thursday June 30, 2022 @02:44AM (#31929332)
Multiple windows <3

I look at the screenshots and think "we're living in the ~future~ 1996"!

I scribble important stuff on my calendars. So replacing them every year is a feature, not a bug!
Re:Life is not short on Monday June 27, 2022 @09:10AM (#31894079)
> Because there isn't that much else to do as a teen.

Whoa, that's a bold statement!

> I'm not sure this statement makes that much sense, won't demand always go up when prices drop, and drop off when it goes up? Demand does not exist in abstract, if I could get an iPhone 13 pro for $10 I would take 5, if it costs $2,000 I will take 0. If oil cost $1 a gallon instead of $4, won't the demand increase? And if it is $10 a gallon won't the demand decrease?

Does it work like that in real world? If gas price doubles does that mean that folks who commute by car go only half way to work or stay at home every other day? If an iPhone costs $10, why would you buy 5 of them? What would you do with extra four? Browse hn on five screens at once?

Supply and demand are not infinitely elastic, as some like to think.

I think that's called "whataboutism".
Re:Laundry symbols make no sense on Wednesday June 22, 2022 @08:10AM (#31834987)
It's not "only three levels". All my irons have had "continuous" "level" knob, with three "presets", represented as dots. Along with other "presets" for different kinds of things to iron. But maybe that's Euro thing.

Funny thing, those two do not match. For example, on my current iron "Cotton" is marked at three-dots, whereas all my cotton clothes have labels that insist on ironing them on two-dots.

This. States that push such legislation are also likely to be corrupt. It's fine until you run into problems with someone that happens to be in power.
Such laws have some far-fetched, surprising (at least for Westerners) and very creepy consequences.

I've read a story about a Swedish girl that had been date-raped while staying on one of Gulf states. Having been used to European legal standards, she reported this incident to the police, only to find out that not only her case was dismissed, but she was found guilty of extramarital affair.

Creepy as hell.

Is "World Cup" public? I assume this is an event organised by private (for-profit) entity (FIFA).
Re:Function Dispatch Tables in C (2019) on Wednesday June 22, 2022 @05:48AM (#31833801)
> For readability, this is reasonable.

With four branches, maybe. With more branches, having array of tens of function pointers makes hard to tell which index maps to which function call. OTOH, that can somehow be mitigated (at least in C99) with designated initialisers.

To be precise, from the city of Zurich. Which is indeed a part of Europe, but hardly representative.
Re:Acme Thttpd on Thursday June 09, 2022 @04:43AM (#31678939)
> In typical use it's about as fast as the best full-featured servers (Apache, NCSA, Netscape).

That's names i haven't heard in a long time!

Yeah, if I had to guess, I'd bet on IRIX too. But it seems that IRIX uses [AL (Audio Library)](https://nixdoc.net/man-pages/IRIX/man3d/alIntro.3d.html), not OSS.
Does macOS use OSS?
> OSS is the unix de-facto standard

Is unix actually used for "serious audio"? If not, talking about "de-facto standards" doesn't make any sense.

Re:How fast are Linux pipes anyway? on Thursday June 02, 2022 @06:48AM (#31593394)
AFAIR, KHTML was/is not related to Netscape/Gecko in any way.
Re:Catching Native Apps on Monday January 17, 2022 @04:59AM (#29964986)
But isn't the whole point of Docker having a 100.0000000% repeatable environment? And how would that portable Dockerfile would look?
Re:Catching Native Apps on Friday January 14, 2022 @07:15AM (#29933542)
How useful would Mac-native docker be? You couldn't run any of your Linux containers and I cannot see much utility in macOS containers.
Re:Catching Native Apps on Friday January 14, 2022 @06:52AM (#29933343)
> But why does the DOM only exist in the web UI tech stack?

Maybe because "web UI stack" wasn't designed for "UI". It was designed for hypertext documents and DOM is a perfectly cromulent way to represent a HTML document.

Re:Catching Native Apps on Friday January 14, 2022 @06:50AM (#29933324)
> Slack is perfectly performant.

I wouldn't call Slack performant. It sometimes struggles with basic things such as scrolling channel list. And it always lags with repainting window when its resized (when you resize window, extra space is left blank until Slack catches up - this never happens on native apps).

Re:Catching Native Apps on Friday January 14, 2022 @05:54AM (#29932929)
> Strangely enough there’s still enough native to the platform that even the best notebook that can run Electron is still actually a compelling advantage because I would still have Spotlight

You can't use Spotlight to find a channel in Slack

> I would still have Quick Look

You can't Quick Look a Google Docs document

> I would still have a POSIX environment

You can't `grep` any of your Google Keep notes

> I would still have Exposé

Not really useful if all your "apps" are really browser tabs

> I would still have Time Machine

Can you back up your Figma designs in Time Machine?

Older »