Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
masklinn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
33 ms
·
811.
▲
by
masklinn
1y ago
Because it’s way easier if you don’t require every level designer to spend 5 hours recompiling everything before they can get to work in the morning, because it’s way easier to just checkin that weird DLL than provide weird instructions to
812.
▲
by
masklinn
1y ago
Assets, textures, design documents, tools, binary dependencies, etc… And yes, p4 just rolls with it, git lfs is a creacky hack.
813.
▲
by
masklinn
1y ago
Yep, svn has a lock feature but it is opt-in per file (possibly filetype?) A pretty good tradeoff, because you can set it on complex structured files (e.g. PSDs and the like) to avoid the ballache of getting a conflict in an unmergeable fil
814.
▲
by
masklinn
1y ago
Mercurial still has some life to it (excluding Meta’s fork of it), jj is slowly gaining, fossil exists. And afaik P4 still does good business, because DVCS in general and git in particular remain pretty poor at dealing with large binary ass
815.
▲
by
masklinn
1y ago
> Agreed. It had a funny habit of corrupting its own data store also. That's absolutely what you want in a source control system. I still ‘member articles calling it a source destruction system. Good times. > It sucked; but hones
816.
▲
by
masklinn
1y ago
> It was at least a little better than CVS Highly debatable. CVS has a horrendous UI, but didn’t have a tendency to corrupt itself at the drop of a hat and didn’t require locking files to edit them by default (and then require a reposito
817.
▲
by
masklinn
1y ago
Lucky you. Definitely one of the worst tools I’ve had the displeasure of working with. Made worse by people building on top of it for some insane reason.
818.
▲
by
masklinn
1y ago
Being able to filter or disable network access (aside from what github requires on their side to interact with actions) would definitely be useful, but AFAIK that's only an option for self-hosted runners and enterprise accounts.
819.
▲
by
masklinn
1y ago
> A more ideal approach could be to expose a simple rest API or webhook that allows for the repo owner to integrate external tooling that is better suited for the purpose of enforcing status checks. That... has existed for years? https:
820.
▲
by
masklinn
1y ago
You still need something close to ArcSwap with your persistent data structure, because once you’ve built your new tree (possibly using transients) you need to overwrite the old root with the new, atomically (and probably in a CAS loop reall
821.
▲
by
masklinn
1y ago
If you control both the VMM and the guest through a driver you have an essentially infinite latitude to set up communications between the two: virtual devices, iommu, interrupts, ...
822.
▲
by
masklinn
1y ago
A generic vmm can not, but these are specific vmms so they can likely load dedicated kernel mode drivers into the well known guest to get the information back out.
823.
▲
by
masklinn
1y ago
Because that‘s a huge investment for something they have no reason or desire to productivize.
824.
▲
by
masklinn
1y ago
Kobe’s Port Island Line is generally considered the first fully automated metro and opened in 1981. Lille Metro is about the same scale as the DLR and opened in 1983.
825.
▲
by
masklinn
1y ago
> would you still use steel wheel in steel rail unless you had some sort of cable to work with? A rack rail is also an option, though tends towards the noisy and slow. But yeah usually light rail keeps under 5%, and can’t really go above
826.
▲
by
masklinn
1y ago
On desktop I’d suggest installing an extension that adds a toggle (they exist for Firefox and chrome at least): adding a toggle manually is a bit of a chore, especially if the css system you use does not build that in.
827.
▲
by
masklinn
1y ago
The light mode is fine, but you're right the dark mode is truly awful, the code blocks are unreadable. edit: for some reason the author overrode the background color on code blocks via an inline style of background-color:#f0f0f0
828.
▲
by
masklinn
1y ago
And in fairness I can understand not considering someone might eventually be bundling a repository with tens of thousands of refs back in early 2009.
829.
▲
by
masklinn
1y ago
Oh hell, I always forget equality doesn't go through pointers in go, you're right. And as you demonstrate I could have tested it easily enough to confirm I was reading the code correctly...
830.
▲
by
masklinn
1y ago
> If plastic could not be translucent and was always opaque, I think we would still use it for almost all of the same use-cases as we do today, on the back of durability + weight alone. - any sort of housing window and display protection
831.
▲
by
masklinn
1y ago
> In this case Git already had a string set, but it's still not standard so there's a good chance the original author just didn't know about it. The original commit was made in January 2009 ( https://github.com&#
832.
▲
by
masklinn
1y ago
> Real production use cases don't have small 'n'. Real production use cases absolutely have small n. You don't hear about them, because it's very hard for them to cause issues. Unless the use case changes and now
833.
▲
by
masklinn
1y ago
Having no actual use?
834.
▲
by
masklinn
1y ago
You have things the wrong way around. A developer uses Result because T and E are exclusive. If they’re not, they will use something else. And it will be clear to the caller that they are in a rare oddball case. The idiomatic Go approach
835.
▲
by
masklinn
1y ago
> and __ for extra private That was never its purpose and using it that way is in fact misuse. Name mangling was added to avoid unintentional conflicts in inheritance scenarios. That’s why it’s static, simple, and well documented.
836.
▲
by
masklinn
1y ago
Of course it does. What do you think an errors.New contains and how do you figure it compares by value when checking placeholder errors? The answer is that errors.New just wraps the error message in an errorString struct, and the second lin
837.
▲
by
masklinn
1y ago
There very much is not. There is a compiler error you can’t disable if a variable is completely unused and that is it.
838.
▲
by
masklinn
1y ago
> That "special cases reassignment" where ':=' is sometimes a shadowing declaration and sometimes a reassignment sounds like the opposite of that. FWIW it is never a shadowing declaration. It is at least one non-shado
839.
▲
by
masklinn
1y ago
No, you can not do the second one. The other two are completely routine and will work just fine with lists in JS or tuples in Python or Rust (barring a few syntactic alterations).
840.
▲
by
masklinn
1y ago
> the basic motivating example for sum types is Option, the whole point of which is to get rid of NULL I don't think that's the case in Go: whereas I got the impression the C# team started souring on default() after generics la
More ›