Better HN
topnewbestaskshowjobs
Log inSign up

CSSer

2,366 karma · joined Mar 15, 2019 (7y ago) · 973 submissions

Sometimes fascinated by pieces of cheese
Submissions

comment 3y ago · link · parent

I've always wondered: Is LLM/GPT already how Google is generating answers to "People also ask" questions or are they using a prior, or unknown, ML approach for this? I ask this because the quality of answers linked to these queries is often so astoundingly awful that I can't believe this is in production.

The question is often very relevant. I'll readily admit that I have a high engagement with that accordion feature, but I can't believe how often I open it to find a disappointing text selection or even page.

And if it is, I wonder where that leaves JSON-LD schema in all of this. Schema is the perfect signal for something like this, but I'm afraid, and I believe I can speak representatively about this from an agency perspective, the trust is kind of broken for that model.

Too many people, myself included, are uneasy about how much information to give to Google since they have an insidious aim to use it to get information to users faster regardless of how much impact it has on a business' ability to remain competitive. Yet, on the other hand, I sympathize with the idea that the more Google reverses course on this and leans into embracing SEO industry-driven control they risk compromising the product. It makes me think that Google has reached a theoretically maximum level of product optimization.

comment 3y ago · link · parent

Maybe you two should try it together for fun?

Pro tip: You should probably agree to swipe right on everyone indiscriminately to avoid a potential argument.

Not so pro disclaimer: I'm single and not married, so your mileage may vary. Please report back for... research purposes. :)

comment 3y ago · link · parent

It's not just you.

comment 3y ago · link · parent

> America just literally banned abortion

Our supreme court overturned a law that enshrined country-wide access to abortion. I personally disagree with this, but the phrasing as stated here isn’t representative of the truth. Individuals in progressive states and those willing to cross state lines in many cases still retain access to abortion.

comment 3y ago · link · parent

¯\_(ツ)_/¯ I don't. The only thing I see listed on my Apple Watch is my Airpods. I have an Apple Watch series 6 (cellular model), iPhone 14 Pro Max, three HomePod Minis, an Apple TV 4K, and an M1 MacBook Pro. All of these devices are listed under my Apple ID within macOS system settings, so I don't know what gives. I guess to Apple's credit, there are a lot of failure points that could exist beyond their control around WiFi connectivity. But the three devices I listed that can serve as Home Hubs should help alleviate this issue when, for example, my Apple Watch isn't connected to WiFi. Maybe I should dig into this more.

comment 3y ago · link · parent

Sonos and Spotify both do more to make this possible than Apple is doing. I don't have to leave Apple to take advantage of these, but I don't have to stay or continue to buy their devices either. Overall, my confidence in the brand is just greatly reduced enough to seek out and evaluate alternatives next time I go looking for a device solution when previously my faith was high enough to not look beyond Apple. Heck, I could hack something together myself and get something more integrated.

You can look at it as others catching up or Apple slowing down, but the bottom line is that Apple isn't ahead of the pack anymore on this. I think they've focused so much on supply chain logistics and hardware that they've completely lost sight of the core day-to-day software user experience that originally created that die-hard Apple loyalty.

comment 3y ago · link · parent

Sure, but that’s not what the page says. The Wikipedia article says that. The page says “it/she”. From what I’m familiar with, the order is usually “singular/plural” and when multiple are preferred I’m used to seeing it written as you notated it here as pairs in a list e.g. she/her, him/his, they/them, it/its, xe/xim, etc, in a list. I guess I can infer that’s the intention, however, which is fair enough.

But that really didn’t have much to do with what I was discussing. That was a separate argument about how we use “it” to refer to objects as a rule. Humans are objects, but we also generally prefer to think of them as objects of a higher order variety. In conversation, we take advantage of this to parse and interpret context more quickly. Choosing to do otherwise makes it more difficult to know if the “it” I just used in this sentence is Maia, some other object, or an abstract point I’m making in this discussion. Anyway, that’s why I prefer she/her.

comment 3y ago · link · parent

Everything about the HomePods seem to be. I once asked what time it was and due to wifi problems it gave me some generic error message. It baffled me that this thing has to phone home for the time.

comment 3y ago · link · parent

I’m going to be glued to this thread because I desperately want this. If you ask me, a lack of features like this is the #1 failure of the Apple ecosystem. I’d even go so far as to call it a kind of big, indirect lie. Why own a ton of Apple devices if you can’t seamlessly and easily control things on whatever Apple device is nearest? For years I feel like I was told as long as I carefully and meticulously shelled out the dough to make every device I can Apple branded I’d experience a kind of integrated device nirvana and it has proved to be almost entirely false. The killer feature that sold me on beginning to invest in the first place was the astounding seamlessness of messages across macOS and iOS. Yet I’ve seen little progress beyond this. It’s embarrassing.

I should be able to control and start playing music on my Apple watch on any Apple device from any Apple device, whether that be a HomePod (mini), iPhone, or Apple TV. Yet this isn’t possible. Bluetooth used to be just as, if not more, seamless, and it was more performant. I can’t believe I’m saying that.

Even the error messages are comical. Attempts to do this in certain scenarios will overtly claim multiple people are trying to play music and attempt to coerce me to upgrade my plan so that multiple people can play music on multiple devices at the same time. I’m single and live alone. I just want to easily play music everywhere in my apartment, easily transfer music from my TV to my bathroom speaker without losing my place in the playlist or podcast, or change what’s playing using my Apple Watch because I decided that I’d like to hear something different emanating from the other room without getting up to find my phone.

I’ll cut this short before it becomes a screed, but I’ll close with this. I just asked Siri to play music on one of my HomePod Minis to verify my claim about being unable to control devices by saying the simple phrase, “Hey Siri, play music.” And the response I got was, “Sorry, [name]. Something went wrong and I couldn’t resume.” So I said, “Hey Siri, play music from Apple Music” and she immediately started playing “a station I might like”. This whole system is broken.

comment 3y ago · link · parent

I wonder what the motivation was. Anarchism is mentioned elsewhere, so if I wonder if that’s a motivating factor here. At any rate, I appreciate that people are trying their best to be respectful. Personally, I’d also prefer to use “she” if that’s alright with her (it?). This becomes confusing quickly when we’re also trying to use it abstractly to refer to arguments and concepts.

comment 3y ago · link · parent

I sympathize with questioning but this is pretty harsh. The explanation is fairly simple. “It” is how we refer to most inanimate objects and “subhuman” creatures in the English language. Debates on how appropriate it is to be addressed in this way or desire to be addressed in this way aside, it’s certainly not random or a stretch to imagine why some might be uneasy with the idea if they feel it somehow associates the person with the aforementioned categories.

comment 3y ago · link · parent

Ironically, this is exactly what Google recommends you do in most cases. This isn’t empty, feel-good marketing either. It’s in their best interest for you to do so.

comment 3y ago · link · parent

One H1 per page is a myth dispelled directly by John Mueller at Google[0].

[0] https://www.searchenginejournal.com/h1-headings-for-google/4...

comment 3y ago · link · parent

The hardware is still incredibly reliable and astoundingly performant. The rate at which they're capable of delivering them to the store and your doorstep is too. Per number of devices sold, it's crazy that they encounter as few issues as they do. Yeah, they've had some real 'Oops' moments, but on the whole it's crazy good.

As for software? Yeah, it's really, really bad. :( I think Apple has forgotten how to do software.

comment 3y ago · link · parent

I wrote a paper on you and a couple of other third-party Twitter clients in undergrad on the importance of modern day brand preservation and protection for an integrated marketing class while this was playing out. In a roundabout way, you kind of helped me get an A in that class! :D

comment 3y ago · link · parent

You’d think that Microsoft and Github would have a monopoly on this given their personal contributions to Git, ownership of Visual Studio Code, and ownership of the largest Git hosting PaaS.

Don’t get me wrong, VS Code and Github are both okay. I use them both and drop into the integrated terminal for situations where my muscle memory is faster or the workflow is going to be more complex. I also find that setting VS Code to my default editor for Git makes this pretty seamless. Anyway, I find it interesting that there doesn’t seem to be a big focus on the sort of features the author mentioned in VS Code.

Now that I think of it, this is also one of those few circumstances where I don’t need or want the tool to be modular. VCS are such a fixture today that I just expect this to be built into the IDE’s GUI. A separate app, even with perfect workflows, may be just as much of a bother as a terminal. After all, what’s stopping me from writing a handful of clever aliases?

comment 3y ago · link · parent

You win. I chuckled. You know I was making a bit of a joke too, right?

comment 3y ago · link · parent

On the brightside, if you ignore it until you can’t see your screen properly it’s like the heavens have opened once you finish cleaning it.

comment 3y ago · link · parent

Very cool article! Thanks for sharing. Is numpy just global in Python now? I see it everywhere, and I eventually sound it out. Yet I never fail to have a few moments where I go, “Wait, what is ‘np’? Oh, yeah… Numpy.” And I always feel like just listing it as an import in the snippet would’ve solved it.

comment 3y ago · link · parent

My point is there is no grand surplus of us. Stuff like golden handcuffs and excess capital sloshing around are one thing, but even with a fix for that (a recession) I’m not sure it really addresses the demand at the root of all of this. I suspect we agree on much of the rest. I suppose my initial reaction was due in part to how you framed it, so sorry about that.

comment 3y ago · link · parent

We’re supposed to take the blame for people’s bad ideas too? I have friends who were willing to personally take on that risk who are making 5x my salary at a minimum to own and run their own companies.

Meanwhile, as a senior in a private org, I’m being forced into tech-adjacent roles because there’s no one else competent enough to do the administrative and operational duties required to support the growing volume of work. I hear different, but just as bad, tales from startups. Look, I love what I do. I’d probably work for less if it made sense, but you make it sound like I’m somehow the one holding out for more when the recruiters are the ones who won’t leave me alone, and no one is lining up to make my role or responsibilities any easier, so I’ve gotta admit this is a pretty rich take.

comment 3y ago · link · parent

Yes. Tons of pasta and chili too. Hamburger is (or at least used to be) pretty much the cheapest beef you can get.

comment 3y ago · link · parent

I was also raised by a single Mom and can attest to a similar experience. Although I don’t remember a great deal of fast food. It was a kind of luxury thing we had a few times a month. I remember my Mom trying to avoid it. We were also on assistance and ate out of food pantries a lot. We had lots and lots of canned food e.g. soup and various kinds of vegetables, and they gave us ridiculous amounts of cheese. You basically take what you can get. My Mom used to trade excess cheese blocks with my grandmother for laundry detergent.

I’d have to ask her about time and sleep but I remember it being more hectic than it was strained. This may not have been as true without the assistance we were able to take advantage of. I remember being woken up very early (around 4-5 AM) to be taken to a baby sitter. I must’ve been 4 or 5 at the time. I would sleep in the car along the way.

comment 3y ago · link · parent

Changing away from the “wp_posts table for all things” as a convention would vastly improve WordPress performance.

Talk to someone about how gross this is and they’ll start justifying it to you as “history” and then talk about how cool it is that WordPress was never meant for what it’s used for today but still works. It makes all the managed hosting feel like one big conspiracy.

I can’t tell you how many times I’ve had to optimize raw queries in that stupid framework. Thank god for the rise of SSG and decoupled content management system.

comment 3y ago · link · parent

Institutional investors. I can’t explain it better than Matt Levine’s article. It’s well worth the read, and it links directly to the SEC proposal if you’d like to read deeper from there.

After reading the article, my take is less harsh. It is really bizarre to me why instead of outright banning it, they just want to make it a really bad deal to do so. But if it works, great! We’ll see.

comment 3y ago · link · parent

The first thing I did was open the article and search for PFOF (Payment for Order Flow).

> This proposal would address a controversial practice called payment for order flow, in which some brokers collect rebates for sending customers’ orders to wholesalers. Mr. Gensler has called the practice a conflict of interest and, in past statements, left open the possibility of banning it. The SEC’s best-execution proposal doesn’t go that far. But it imposes additional obligations on brokers that engage in payment for order flow to help ensure that customers are getting a good deal.

Shame. They’re skimming money straight off the top. Perhaps I should withhold judgment but I suspect they’re banking on the idea that Joe Schmoe, who downloaded an app to gamble with his future, isn’t going to seek out this financial disclosure data. I have a friend who can rattle off everything there is to know about option spreads and general technical analysis drivel. He initially didn’t believe me when I told him about PFOF.

comment 3y ago · link · parent

I wasn’t particularly in touch with the concept of hash collisions, no. Now that I’ve learned something I can revel in the fact that it only cost me a silly amount or imaginary internet points to do so. Thanks!

comment 3y ago · link · parent

Of course not. I’m referring to brute force. The idea that you can’t reverse a hash seemed so obvious to me that I didn’t feel it necessary to disclaim. You can increment characters in php like numbers[0]. It has some funny quirks. It doesn’t loop back around right away. If you write a for loop for that and pass it into the builtin for md5, you can just go until your hashes match. Of course this would take a long time for big hashes and there are other tools that can do this better if you’re motivated anyway. But hey, you can make a fun hash cracker in a few lines if you’re feeling it. My whole point was just that MD5 is fairly weak. Lots of people don’t or at least didn’t use to consider this because it was also (too) convenient.

[0]: https://stackoverflow.com/a/3567245

comment 3y ago · link · parent

It’s a fair question. Almost anything can be a weapon if you try hard enough. “Prevent” is perhaps too strong a verb. I’d settle for discourage or maybe even just contextualize. I get the impression that by explicitly declaring each nesting context with “@nest”, the effort required to type those extra characters might center the meaning more around code organization, maybe? If nothing else, it helps the eye track better in deeper trees.

In my experience, when I’ve committed this sin or watched others do so, it’s often because some styles that have already been written need to be updated. Writing CSS is really easy. Nesting makes it even easier. The thing I and I think most people struggle with is organizing it. I think nested styles encourage people to go out in search of a defined scope to ammend moreso than it does to encourage them to write a new one (or selector). It’s easy to see a class you’d need, skip a couple levels down the tree and then get excited when you add just that one element or class you think you need and style accordingly… Only to find out later that you created a difficult to debug style bug that pervades the whole site. My hope is that it would encourage people to think twice before going beyond that second or third level and maybe encourage them to create a new style block instead. I’m also not terribly concerned length or effort these days because of tab completion.

1
192021
33