Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
emacs28
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
emacs28
4y ago
Thanks, I think that the thing this still lacks compared to `pip install -e` is that the develop dependency is then only visible inside other packages configured with poetry. So it is not useful for example if you want to locally install a
32.
▲
by
emacs28
4y ago
My only gripe with poetry is that when I tried it out last year there was no equivalent for `pip install -e` which can be used to install other python package dependancies that you are simultaneously developing. I found that feature useful
33.
▲
by
emacs28
4y ago
You know what you're right, the command git commit --all --amend --no-edit seems to do essentially the exact same thing, thanks!
34.
▲
by
emacs28
4y ago
> indent the code block to fix :) Thanks! > Also: why this over a stash? I just like this better because with stash you have to do one more command (stash pop) to get the changes back after switching back to the first branch, but this
35.
▲
by
emacs28
4y ago
I made a simple script below I find useful that commits current changes then automatically rebases and squashes it with the previous commit, preserving the previous commit message. I find it useful for a way to quickly save current changes
36.
▲
by
emacs28
4y ago
Yeah its interesting, multiplication is essentially a convolution of the digits in the two numbers, and convolution is definitely something that FFT is used for.
37.
▲
by
emacs28
4y ago
Fyi I think you got the terms synchronous/asynchronous mixed up here. Synchronous logic is the commonly used technology.
38.
▲
by
emacs28
4y ago
One interesting thing is that modern processors have an AES instruction set [1] integrated into them so that primitive AES operations can be individually called and accelerated in hardware. You can run these instructions from C and it signi
39.
▲
by
emacs28
4y ago
I'm certain I've accumulated 100's - if not 1000's - of hours customizing my editor since I started learning it 6 years ago (sorry I'm an Emacs user not Neovim) and I don't regret 1 hour of it.
40.
▲
by
emacs28
4y ago
I would say my niche language is SystemVerilog (if you count a hardware description language in this discussion).
41.
▲
by
emacs28
4y ago
I've found a couple times now that the reason lsp-mode doesn't work and keeps asking to restart the server is because I had another binary in my path with the same name as the server it's trying to call. For example just toda
42.
▲
by
emacs28
4y ago
These are good points. Just to clarify, I can't speak for semantic release, but the github-changelog-generator I'm talking about will only add PRs (and issues if you want) to the changelog, not commits (so no non-standard commit m
43.
▲
by
emacs28
4y ago
I totally agree with this, I'm not a fan of the written-in-stone nature of commit messages. Just like code, it's nice if log history is editable too in case your forgot something, or if you want the message to mention future chang
44.
▲
by
emacs28
4y ago
Well rather than manually enter the bug fixes/features introduced in each release on the GitHub releases, you can just paste a link to the automatically generated changelog. This is less error prone and isn't meant to replace wri
45.
▲
by
emacs28
4y ago
I've been using github-changelog-generator [1] for (you guessed it) automatic changelog generation, which adds bug fixes/features to the changelog based on issues and PRs, but sematic-release looks like it might be even more usefu
46.
▲
by
emacs28
4y ago
Related: I would recommend people look into cocotb and uvm-python which let you do verification of SystemVerilog designs in Python. This has been a game changer for me, and it is much more productive than writing tests in SystemVerilog in m
47.
▲
by
emacs28
4y ago
I find type hinting useful as an additional level of documentation, especially for complex projects, and it helps my future self understand my own code more quickly. Also in my experience it can provide static analysis tools more informatio
48.
▲
by
emacs28
4y ago
One thing that deters me a bit from using macOS is the slower docker performance compared to linux. Anyone here have workarounds for this?
49.
▲
by
emacs28
4y ago
The most polished and useful program I've made for personal use is an emacs minor mode that lets you scroll down top lines in a file. I was tired of having to always look all the way at the top of the editor window to read the top line
50.
▲
by
emacs28
4y ago
Many, one fun one that comes to mind is last year I made a Python debugger to output error traces exactly how I want to see them. It can display local variables, print the surrounding lines of code and parent function & class name at ea
51.
▲
Ask HN: What can you install on a work computer?
3 points
by
emacs28
4y ago
|
5 comments
52.
▲
by
emacs28
4y ago
Just out of curiosity, what does ctrl+mouseclick do in VSCode? I can almost guarantee there's a way to do it in Emacs :) If it has to do with looking up references, there's lsp-mode in emacs which gives it IDE capabilities for man
53.
▲
by
emacs28
5y ago
I use Emacs but don't enjoy the latency of using a remote Emacs session or locally using tramp. Recently my solution is to edit locally, then whenever I need to run the codebase on the remote machine I wrap the run command in a script
54.
▲
by
emacs28
5y ago
Oh no haha I haven't seen that episode (or forgot about it). That would have been a clever joke though.
55.
▲
by
emacs28
5y ago
I feel like it would be possible to write software to tell artists if a song is in danger of copyright infringement of other registered songs. Either by analyzing the raw audio like Shazam does or by feeding the software the transcribed not
56.
▲
by
emacs28
5y ago
In addition to the native pixel-scroll-precision-mode in Emacs 29, there's also a MELPA package called good-scroll which implements pixel-wise scrolling for other emacs versions also.
57.
▲
by
emacs28
5y ago
I find curved displays much nicer to look at on the edges. I hope spherically curved monitors come out some day too. I use a 32" 2160p 4K curved display (1500R). It's harder to find than the 1440p curved displays but they're
58.
▲
by
emacs28
5y ago
Honestly, I enjoy HN more than TikTok.
59.
▲
by
emacs28
5y ago
I haven't heard of xonsh either till now. After looking it over, it seems like a perfect integration of sh with Python. There's a good chance I'll give an honest shot at migrating from zsh to xonsh this week.
60.
▲
by
emacs28
5y ago
I decided a while ago to write all my future scripts in Python whenever possible instead of sh or bash due to the overall better syntax and power of Python. Typer is one of the better packages for running Python scripts from CLI. Fabric &am
More ›