HackerTrans
TopNewTrendsCommentsPastAskShowJobs

catalogia

no profile record

comments

catalogia
·6 лет назад·discuss
Don't you know that serfs living in digital fiefdoms don't have rights? They're living on the lord's property and the lord's property rights must be respected above all else.
catalogia
·6 лет назад·discuss
This seems like a particularly egregious aspect of a larger problem; that we allow medical advertising at all. From what I understand some of European countries don't allow advertising for legitimate medicines, let alone snakeoil. That makes a lot of sense to me; the ads for legitimate medicines all seem emotionally manipulative; designed to make people pressure their doctors into writing subscriptions they might not actually need. If facebook adopted a strict "no medicine" policy, they wouldn't have to sort the wheat from the chaff.
catalogia
·6 лет назад·discuss
I'm surprised that noise propagates far enough for you to hear. In my experience, the noise that propagates furthest from roads is the low frequency tire rumble.
catalogia
·6 лет назад·discuss
I live next to a busy street with electric trolleybuses (essentially rubber wheeled city buses that use electrical power from overhead lines.) They're very quiet compared to the odd diesel-powered truck, but the tires on pavement still produce a noticeable amount of noise.
catalogia
·6 лет назад·discuss
xargs/etc are like arcane legos, where there's more than one brick vendor in the mix with different vendor's versions of the brick supporting different features, or the same feature but implemented in different ways. And even if you're only dealing with one brick vendor, there's still little uniformity in the interfaces of different bricks. GNU vs BSD xargs, -0 vs -print0, etc.

True lego have the property that if two parts snap together, it's a valid configuration. That's definitely not the case for unix utilities. You have to read a manual for each sort of brick.
catalogia
·6 лет назад·discuss
Sometimes a programmer may like to create such a contract, if only with their future self, but have reason to fear their boss will force them to break that contract in some not unlikely future.
catalogia
·6 лет назад·discuss
Adobe Lightroom seems comparable (non-destructive image editing.) It uses a sqlite database that points to image files on the filesystem. I think precisely the same approach could be taken with an audio editing application.

You could also consider putting the audio files into the sqlite db, which might work alright. I've heard of image thumbnails being stored in sqlite dbs (maybe by Lightroom iirc?) though those are probably smaller than your audio clips I'm guessing.
catalogia
·6 лет назад·discuss
I think the former is preferable and most modern users will prefer it. However if your users are upset about it, you could do the later, or you could do the former and give them a dummy/placebo "save" option that does nothing, or maybe VACUUMs the DB.
catalogia
·6 лет назад·discuss
> it also makes the saving process itself more fragile (since the longer a save takes, the more likely it becomes that the process might be killed by some natural event like a power cut during it†.)

This is one I take very seriously, after I got bit by it. I was saving state by writing s-expressions to a text file; it seemed a reasonable enough thing to do even with tens of megabytes of it, until my laptop turned off in the middle of a write. After recovering from a backup and losing several hours of work in the process, I switched to SQLite that evening.
catalogia
·6 лет назад·discuss
> Main reason for existence of lot of file formats is that enterprises don't want just about everyone access their files and modifying them. It greatly reduces the usage of their proprietary software hence their revenues.

I'm sure this does happen, but it seems more like MBA-paranoia than a legitimate concern. For instance I sincerely doubt Adobe has lost any revenue by using SQLite with lightroom, despite various open source tools being able to interact with their lrcat (sqlite) files.
catalogia
·6 лет назад·discuss
Also WAL mode isn't going to work on network filesytems.
catalogia
·6 лет назад·discuss
Is there any good way to use SQLite as an application file format while also using it in WAL mode? They seem sort of mutually exclusive; near as I can figure the way to do this would be to execute `PRAGMA journal_mode=DELETE` when the user requests a save file, then copy the DB to the location the user specifies. I think this negates a few of the advantages of using sqlite as an application file format though.
catalogia
·6 лет назад·discuss
If it really were nothing more than mundane construction work, then why was Google involved in it?
catalogia
·6 лет назад·discuss
Humans already have two "gyroscopes" in our ears, which for most people work well. It's really no surprise that bicycles are more popular than segways.
catalogia
·6 лет назад·discuss
Just use common sense. Wet a paper towel with the cleaner and wipe down the electronics with that, rather than dunking your phone into a bucket of the stuff.
catalogia
·6 лет назад·discuss
As far as I've seen, Magic Leap doesn't even have a niche. I can think of plausible niches for some hypothetical future AR tech, but none for what Magic Leap has managed to create.
catalogia
·6 лет назад·discuss
The segway at least found a niche with cops and tourists.
catalogia
·6 лет назад·discuss
> Don't put lysol [on electronics]

Why shouldn't I? The exterior surfaces of "electronics" are just glass, plastic or aluminum and lysol seems to work fine on all three. It's sold in plastic bottles so it's not like it'd create nerve gas or something.

Not that I generally take marketing claims seriously, but lysol advertises itself as appropriate for use on electronics: https://www.lysol.com/cold-flu/home/how-to-clean-electronics... If there were any real danger, I expect their lawyers might not let them do that.
catalogia
·6 лет назад·discuss
I don't know why everybody is talking about air conditioning; I've never used air conditioning at an outdoor movie theater. Maybe if you live in Southern Florida running the AC would make sense, but right now at this time of year most of the country is firmly in "bring a sweater" territory.

Keep in mind that outdoor theaters don't work during the day, only after dark, when everything cools down...
catalogia
·6 лет назад·discuss
A life spent cowering is hardly a life worth living, do you want to live forever?