• 0 Posts
  • 40 Comments
Joined 1 year ago
cake
Cake day: August 3rd, 2023

help-circle






  • Reddit would become just another instance with no API control

    Being that large of an instance gives a lot of api control all by itself. Theoretically Chrome is just another browser and member of WHATWG. in practice, if they implement something it immediately becomes a de facto standard. Reddit would be the same.

    I wouldn’t bet on Huffman’s exit doing anything of consequence either. Reddit is now under the control of investors who want a return. One way or another, monetisation of users will increase.




  • is-number is a project by John Schlinkert. John has a background in sales and marketing before he became an open source programmer and started creating these types of single function packages. So far he has about 1400 projects. Not all of them are this small, though many are.

    He builds a lot of very basic functionality packages. Get the first n values from an array. Sort an array. Set a non-enumerable property on an object. Split a string. Get the length of the longest item in an array. Check if a path ends with some string. It goes on and on.

    If you browse through it’s not uncommon to find packages that do nothing but call another package of his. For example, is-valid-path provides a function to check if a windows path contains any invalid characters. The only thing it does is import and call another package, is-invalid-path, and inverses its output.

    He has a package called alphabet that only exports an array with all the letters of the alphabet. There’s a package that provides a list of phrases that could mean “yes.” He has a package (ansi-wrap) to wrap text in ANSI color escape codes, then he has separate packages to wrap text in every color name (ansi-red, ansi-cyan, etc).

    To me, 1400 projects is just an insane number, and it’s only possible because they are all so trivial. To me, it very much looks like the work of someone who cares a lot about pumping up his numbers and looking impressive. However the JavaScript world also extolled the virtues of these types of micro packages at some point so what do I know.







  • Andrea Dworkin was an influential feminist mainly in the '80 and '90. She was pretty clearly anti pornography, at least as it existed in her time (she died in 2005. Who knows what she might think of some of the stuff out there today). She’s also one of the most frequently misquoted feminists of all time, particularly by anti-feminists. she did not say all heterosexual intercourse was rape:

    Several reviewers accused you of saying that all intercourse was rape. I haven’t found a hint of that anywhere in the book. Is that what you are saying?

    Andrea Dworkin: No, I wasn’t saying that and I didn’t say that, then or ever. There is a long section in Right-Wing Women on intercourse in marriage. My point was that as long as the law allows statutory exemption for a husband from rape charges, no married woman has legal protection from rape. I also argued, based on a reading of our laws, that marriage mandated intercourse—it was compulsory, part of the marriage contract. Under the circumstances, I said, it was impossible to view sexual intercourse in marriage as the free act of a free woman. I said that when we look at sexual liberation and the law, we need to look not only at which sexual acts are forbidden, but which are compelled.

    The whole issue of intercourse as this culture’s penultimate expression of male dominance became more and more interesting to me. In Intercourse I decided to approach the subject as a social practice, material reality. This may be my history, but I think the social explanation of the “all sex is rape” slander is different and probably simple. Most men and a good number of women experience sexual pleasure in inequality. Since the paradigm for sex has been one of conquest, possession, and violation, I think many men believe they need an unfair advantage, which at its extreme would be called rape. I don’t think they need it. I think both intercourse and sexual pleasure can and will survive equality.

    It’s important to say, too, that the pornographers, especially Playboy, have published the “all sex is rape” slander repeatedly over the years, and it’s been taken up by others like Time who, when challenged, cannot cite a source in my work.



  • ANC is based on playing a “negative” of a pressure wave picked by the microphones in phase with the original wave.

    That’s the theory, but it’s almost impossible to do in practice. Your microphone and speaker are imperfect at capturing and reproducing sounds. The phase timing is incredibly sensitive. You only have milliseconds to do the processing and generation.

    That’s why practical noise cancelling relies on feedback loops. A second microphone inside captures the result of the cancellation, and based on that adjustments can be made to the negative signal. This allows you to correct for lots of sources of error and achieve quite a good result. Of course, for a sudden noise like a gunshot, by the time the feedback loop can really kick in, the noise is already over.



  • The noise cancellation is good for constant noises but not sudden ones.

    This is kinda the nature of active noise cancellation, unfortunately. Blocking out sudden noise is just technically very challenging. Works great for airplane noise, not so much for crying babies.

    Sony’s XM line is in my opinion just about the best ANC headphones money can buy, in terms of noise cancelling and sound quality combo. I can understand your point about them getting sweaty. Part one of blocking noise is good sound insulation, which tends to hold in heat as well. I live in a colder climate so that works out well for me. You could get in-ear ones, although obviously they don’t block out noise as well.