Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
MrJohz
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
26 ms
·
391.
▲
by
MrJohz
2y ago
Can you give some examples of this attitude? I'm not sure I've seen that behaviour anywhere, and it's very difficult to look up examples when your description is so vague.
392.
▲
by
MrJohz
2y ago
npm is not deprecated and is a pretty good choice. pnpm is a bit nicer in some details, but it's a nonstandard tool - use it if you're familiar with frontend development enough that you understand the tradeoffs you're making,
393.
▲
by
MrJohz
2y ago
Even if you don't look at the computed styles, the user agent styles are shown in the default element style view, at least in Firefox. There, you can see all of the applied styles as a stack, so you can see which styles have been appli
394.
▲
by
MrJohz
2y ago
Moreover, the HoL and the "ping pong" process actually gives the legislation a chance to be refined, as the lords are less motivated by party politics and more able to focus on getting good legislation through. I've heard a n
395.
▲
by
MrJohz
2y ago
And, looking again, the issue seems to no longer be there, and both CDNs produce results that are within a few tens of milliseconds from each other.
396.
▲
by
MrJohz
2y ago
Hi, author here, that could absolutely be the case for me. I'll add a note about that when I next get to a computer.
397.
▲
by
MrJohz
2y ago
Oh shit, that's me! Feel free to ask any questions.
398.
▲
by
MrJohz
2y ago
It doesn't necessarily sound like that's the case, though. It's difficult to get a good sense of the scale and extent of Kyle's usage of ChatGPT, but the examples cited in the article sound to me like he's using it
399.
▲
by
MrJohz
2y ago
> Java has primitive types, for which it is a copy. But it's more accurate IMO to attribute this as a property of names, rather than a property of assignment. Python's names (and most Java values, and some C# values) have refer
400.
▲
by
MrJohz
2y ago
This was not a private gathering, though. This was a public conference held by the President of the United States. That is the government choosing who is allowed to speak and who isn't. I'm by no means a free speech absolutist,
401.
▲
by
MrJohz
2y ago
Ooh, that's my post! Feel free to ask any questions, or let me know if I got anything wrong. The post is mostly me trying to figure out how Jujutsu works by working through the code, so I might have missed something obvious or made a
402.
▲
by
MrJohz
2y ago
> I work at a place where there are no keys. To unlock a door you have to use your smart phone. Imagine if they did that for lights. I rent an apartment with no physical switches and they force you to use your smart phone. Infuriating. I
403.
▲
by
MrJohz
2y ago
I completely agree, but like I said, I don't always have the physical button next to me. Having a device that can always do the same as that physical button (at the cost of being more complex to use and taking longer to do any individ
404.
▲
by
MrJohz
2y ago
> For example the smart phone. A physical button or even alexa is easier to turn off the lights. A smart phone menu is just stupid. I'm not sure that's true. A physical button only works if I'm near that button. Alexa only
405.
▲
by
MrJohz
2y ago
You would normally use both this and a project-specific gitignore. The project-specific file is for stuff that should be shared amongst all users of a particular project. So for a Node project you might have `node_modules` in there, for a P
406.
▲
by
MrJohz
2y ago
More importantly, pnpm installs packages as symlinks, so the deduping is rather more effective. I believe it also tries to mirror the NPM folder structure and style of deduping as well, but if you have two of the same package installed anyw
407.
▲
by
MrJohz
2y ago
But are those steps actually doing anything that can be tested? My experience with these sorts of codebases was always that most of the functions aren't doing much other than calling other functions, and therefore testing those functio
408.
▲
by
MrJohz
2y ago
> The result is that web browsing in Spain on weekends, when football is on, is severely impaired, with thousands of web sites going down as matches play. Aaah, this explains some stuff. I'm on holiday in Spain right now, and a bunc
409.
▲
by
MrJohz
2y ago
This is a nice idea! I ended up doing something similar, but statically, and searching for discussions dynamically rather than using a single hardcoded thread. Essentially it's a script that searches for recent posts linking to my doma
410.
▲
by
MrJohz
2y ago
The cost of software is not the cost of distribution, it's the cost of maintenance, support, and implementation. When you clone a repo, this has little impact by itself, but the work to create that repository in the first place, to mai
411.
▲
by
MrJohz
2y ago
I think that's a fair point. I also don't like reading these sorts of threads, and I only got drawn into this one because I get very defensive about Dresden, and very fed up of neo-nazis trying to co-opt the city for their own end
412.
▲
by
MrJohz
2y ago
What about the comments from metux/Enrico Weigelt? ( https://web.archive.org/web/20190404153507/https://lists.dyn... ) He seems very comfortable repeating what is essentially the propaganda of Neonazi
413.
▲
by
MrJohz
2y ago
The unhinged rant about how WW2 was the fault of everyone but Germany, how the AfD aren't the far right, how Holocaust denial should be legalised, and how the far left are trying to destroy Dresden - that is from someone else (metux).
414.
▲
by
MrJohz
2y ago
With Vue 3 and the composition API, you can do basically the same things you're doing in Svelte. You can also add SolidJS and Preact to this list as well - the magic ingredient in all these frameworks is signals, which allow you to hav
415.
▲
by
MrJohz
2y ago
You probably don't want a reference field in a struct, at least to begin with. It's a lot easier to reason about structs if they contain owned data only, and you take a reference to the entire struct. There are some specific cases
416.
▲
by
MrJohz
2y ago
Is it tribalism to judge a person based on their stated opinions, their actions, and the organisations and people they hang out with? > It's easy to judge whether reducing government waste and improving living standards is good/
417.
▲
by
MrJohz
2y ago
It's worth reading Asahi Lina's posts about writing a driver in a Linux - she is very explicit that what they've achieved would not have been possible without Rust. See, for example: https://xcancel.com/linaas
418.
▲
by
MrJohz
2y ago
I believe the Rust for Linux project was started by a Linux guy, rather than a Rust guy, and many of the Rust for Linux maintainers have come at this from a perspective of "we are Linux maintainers who want to use Rust" rather tha
419.
▲
by
MrJohz
2y ago
Do you have a case where seeing all the small changes I made during development is helpful for fixing bugs and issues in the future? I would have thought it is rarely useful, and often actively unhelpful. Let's say I make a change in t
420.
▲
by
MrJohz
2y ago
> But those events do go wrong, and having the context to understand what happened matters. Have you never had a mismerge or a merge conflict? Interestingly, despite being designed for a very rebase-heavy workflow, this is one of the thi
More ›