Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lzybkr
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
1.
▲
by
lzybkr
3y ago
Not 5 levels, but I once wrote debug visualizers for a compiler using funceval (the visualizer uses the debugger to run code in the target process). I think I once had to debug the debugger debugging the compiler compiling itself which felt
2.
▲
by
lzybkr
5y ago
It's about trademarks - see https://twitter.com/richturn_ms/status/1245742145119510529
3.
▲
by
lzybkr
5y ago
Microsoft Research has been working on DNA storage: https://www.microsoft.com/en-us/research/project/dna-storage...
4.
▲
by
lzybkr
5y ago
Saqib Shaikh, a blind developer at Microsoft, gave this short talk on using Visual Studio: https://www.youtube.com/watch?v=94swlF55tVc I realize this isn't a console, but I think it is a good demonstration of an expert
5.
▲
by
lzybkr
6y ago
PowerShell can be shorter by 1 character for this use case: irm wttr.in irm is an alias for Invoke-RestMethod which is similar to Invoke-WebRequest but better for non-html responses like json or plain text.
6.
▲
by
lzybkr
6y ago
If you to use this on Windows, you'll need to update `less.exe` with my patched version - https://github.com/lzybkr/less/releases/tag/fix_windows_vt
7.
▲
by
lzybkr
6y ago
It does not, but it seems like a popular request: https://github.com/dandavison/delta/issues/40
8.
▲
Error Handling in a Correctness-Critical Rust Project
(sled.rs)
3 points
by
lzybkr
6y ago
|
0 comments
9.
▲
by
lzybkr
7y ago
I guess it's time to reread Starship and the Canoe - a great book about Freeman's nuclear weapon powered spaceship and his son George's interest in building boats. I thoroughly enjoyed it 25+ years ago.
10.
▲
by
lzybkr
8y ago
AFL might eventually get lucky, but I'm guessing you'd want a hybrid approach that combines symbolic execution with a fuzzer like AFL, e.g. QSYM [1]. [1] https://www.usenix.org/system/files/conference
11.
▲
by
lzybkr
8y ago
Visual C++ has the __debugbreak() intrinsic function. If you have JIT debug enabled, you will be prompted to attach your debugger to the process when hitting such a breakpoint.
12.
▲
by
lzybkr
8y ago
With PSReadLine, you can change that: Set-PSReadLineOption -EditMode Emacs Or Set-PSReadLineKeyHandler -Key Tab -Function Complete
13.
▲
by
lzybkr
8y ago
I'm optimistic about binaries providing completions, I think we'll see more of that as tools adopt frameworks like https://github.com/clap-rs/clap or https://pypi.org/project/argcomplete&
14.
▲
by
lzybkr
9y ago
Here is a quick PowerShell script - it supports the pipeline so you can automate, e.g. if you use a command line password manager. https://gist.github.com/lzybkr/85b4dbd6536ea5351e8d8e492a432...
15.
▲
by
lzybkr
9y ago
I have no specific insight to this patch, but I do have personal experience binary patching a popular Microsoft product. My patch was to the VC++ compiler nearly 20 years ago. We had source, and my fix was also applied to the source (which
16.
▲
by
lzybkr
9y ago
I wrote PSReadline (readline for PowerShell) and never bothered implementing overwrite mode. It took about 3 years before anyone complained, and I think there is still just the one complaint.
17.
▲
by
lzybkr
9y ago
It's used in production for Microsoft Security Risk Detection - here is a good blog post describing how F# is used: https://blogs.msdn.microsoft.com/dotnet/2016/12/13/project-s...
18.
▲
by
lzybkr
11y ago
At least a few people want vi-mode in the shell, see https://github.com/lzybkr/PSReadLine/pull/101
19.
▲
by
lzybkr
11y ago
To be clear - the ISE (powershell_ise.exe) doesn't support interactive console apps. powershell.exe supports them just fine.
20.
▲
by
lzybkr
11y ago
It hasn't been announced anywhere unless you count random tweets. I should post something on the PowerShell team blog one of these days.
21.
▲
by
lzybkr
11y ago
Try https://github.com/lzybkr/PSReadLine - included in Windows 10 now.
22.
▲
by
lzybkr
12y ago
I take it back, the VC++ options are C++ only (faulty memory, it's been too long.) There is a warning I added which does work in C ( https://msdn.microsoft.com/en-us/library/t7khkyth.aspx ). As I recall, this
23.
▲
by
lzybkr
12y ago
I implemented the VC++ options - they work in C. I have no experience with the others, I've just briefly read about them and assume they are similar. If they don't work in C and you would find the dumps useful, try compiling as C
24.
▲
by
lzybkr
12y ago
Most commonly used compilers have options to help find padding that is possibly not needed. VC++ has a couple of undocumented (but well known and discussed) options /d1reportAllClassLayout and /d1reportSingleClassLayout. GCC has -
25.
▲
by
lzybkr
12y ago
Not out of the box, but ctrl+v works with https://github.com/lzybkr/PSReadLine
26.
▲
by
lzybkr
12y ago
I tried a Solowheel a couple years ago with a group of other unicyclists. I thought we'd all have no troubles the first try, but it did take a couple minutes to get the hang of it. I thought the training wheels actually slowed down o
27.
▲
by
lzybkr
12y ago
You can get bash style completion in PowerShell with https://github.com/lzybkr/PSReadLine .