Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jborean93
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
jborean93
2y ago
Sure I can agree with this (if it's actually viable to do). My reply was mostly to try and explain that the issue wasn't due to a driver update but rather an existing driver failing to work with a new file it was using hence why t
32.
▲
by
jborean93
2y ago
> having Windows roll back to the last known version of a driver/extension after a failed boot (or several) One of the problems with CrowdStrike was the update was a definition/config file that was pushed out by CrowdStrike. Th
33.
▲
by
jborean93
2y ago
The update wasn’t actually a kernel driver but a configuration file. While I agree that there should be some changes to mitigate such problems it was a policy/config file that the existing untouched driver was reading and then causing
34.
▲
by
jborean93
2y ago
Nested virtualization would be needed if you want to test out a Windows VM with the various Hyper-V integrations like WSL2, credential guard, etc.
35.
▲
by
jborean93
2y ago
It was an offhand comment from some dev that was seen as some as a promise. MS certainly tried to do a rolling update model but shifted a few times in the frequency to finally releasing Windows 11.
36.
▲
by
jborean93
2y ago
While yes they did introduce GUI changes they also introduced a lot more fundamental changes. Typically the second release is seen as better because it's usually a refined version or at least the changes had more time to perculate. For
37.
▲
by
jborean93
2y ago
It's more for pwsh (7+) as that bundles it's own copy of the .NET runtime. The powershell.exe (5.1) is the version included in Windows and uses a shared copy of the .NET Framework included in the GAC. When looking at the size of m
38.
▲
by
jborean93
2y ago
Ah if you want auto completion for native commands they need to be registered first. PSReadLine provides autocompletion support but it only works by default with things builtin to PowerShell itself. For `git` there is a fairly popular modul
39.
▲
by
jborean93
2y ago
It's been shipped with PowerShell since v5.1 (Windows 10/Server 2016). There have been numerous updates to PSReadLine since then to add more features but tab completion has worked for years and is IMO one of the biggest selling po
40.
▲
by
jborean93
2y ago
> and there's no good way to pipe raw bytes around (like, say, when you want to checkout a binary file from git). Since pwsh 7.4 it can natively pipe the raw bytes between two external binaries and also when redirecting to a file. S
41.
▲
by
jborean93
2y ago
To escape $ you either need to use a single quoted string so the $ is treated literally or in a double quoted string use a backtick before the $ to escape it Write-Host 'Foo$Bar' Write-Host "Foo`$Bar"
42.
▲
by
jborean93
2y ago
PowerShell also needs all the other dll's located next to the executable so it's way more than 440k. Granted I agree that this isn't a space they really care about and the problem is more due to the dependency on .NET itself.
43.
▲
by
jborean93
3y ago
In his defence he has clarified this was for the Alpha AXP 64bit build that had the problem https://devblogs.microsoft.com/oldnewthing/20220106-00/?p=10... .
44.
▲
by
jborean93
3y ago
For me Hyprland offers the ability to share a specific window or region whereas Sway could only do the entire monitor. As I have an ultra widescreen monitor sharing a specific window or region is pretty important to me but I can see why oth
45.
▲
by
jborean93
3y ago
You can, it’s just that going the PInvoke route can be quite complicated. It can certainly be done but typically finding a good community module that has already done so makes things a lot easier.
46.
▲
The Evolution of Windows Authentication [Video]
(youtube.com)
1 points
by
jborean93
3y ago
|
1 comments
47.
▲
by
jborean93
3y ago
A talk about how Microsoft is trying to kill NTLM with IAKerb and local KDCs. It'll be interesting to see if they are successful in at least closing the gap when it comes to NTLM vs Kerberos with these new changes. A previous blog post
48.
▲
by
jborean93
3y ago
I’ve found the easiest option available here is through using Azure KeyVault to store the keys. I use a custom module to sign my PowerShell scripts and dlls [1] for this because I can integrate it with OIDC to sign the code using the keys s
49.
▲
by
jborean93
3y ago
> Ideally, almost all packages should ship wheels. It would be ideal but it's not always possible. I maintain a GSSAPI/KRB5 library that wraps the C libs but due to PyPI wheel policies I cannot upload a wheel without embedding
50.
▲
by
jborean93
3y ago
You essentially replace a function with your own. The project is at https://github.com/microsoft/Detours . I’ve created a PowerShell module that wraps this library to make it easier to hook functions on the fly for test
51.
▲
by
jborean93
3y ago
Luckily they both didn't have rich parents in charge of large companies. Not saying they didn't work hard but they certainly had help financially that unfortunately normal people probably don't have.
52.
▲
by
jborean93
3y ago
> They kind of burned a breaking major version transition for no good reason with 2-to-3 The unicode/text changes alone were a pretty good reason. Division producing floats are also a nice change IMO. I don’t want to discount the ch
53.
▲
by
jborean93
3y ago
That's what PyYAML does as well. It uses PEP 518 [1] to specify the dependencies for the build which PyYAML has included Cython [2]. It's just that for previous releases there was no upper bound here so pip and other tools just se
54.
▲
by
jborean93
3y ago
That's unfortunately a pip limitation. You can either disable build isolation so that the build requirements are using your current environment or you can use the PIP_CONSTRAINTS env var which will be passed through to the isolated bui
55.
▲
by
jborean93
3y ago
If it is TLS you can get the keys used in the session from lsass’ memory. I’ve even written a tool to do so in PowerShell https://gist.github.com/jborean93/6c1f1b3130f2675f1618da5663... . This will generate a log file t
56.
▲
by
jborean93
3y ago
Can you share an actual example where you need to specify requirements twice. With pyproject.toml I know of 3 ways requirements are specified and they are all used by different things: 1. Build requirements - requirements needed to build yo
57.
▲
by
jborean93
3y ago
> There have been no objective improvements since Windows 7 that I can think of I think this is pretty rude to the many people who have contributed to Windows in the years gone by. I won't argue that there hasn't been some crap
58.
▲
by
jborean93
3y ago
Windows and Apple does. Linux is typically exposed through OpenSSL or an OpenSSL equivalent library. The downside to the OS provided libraries is that you are at the mercy of what the OS provides. You need Server 2022 or a relatively new Wi
59.
▲
by
jborean93
4y ago
In case you aren't aware you can always build your own Fedora WSL install, just not offically from the store. It's definitely not as simple as installing an app from the store but it's not the hardest thing to do, definitely
60.
▲
by
jborean93
4y ago
Most of the complaints I've seen are about the number of args and the complexity of calling it vs something simple like fork. There are a lot of knobs to turn which you need to be explicit about. That's not even getting into the w
More ›