Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
b5n
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
121.
▲
by
b5n
6y ago
Yes, but types not required. from numba import jit @jit def jitted_fn(): https://numba.readthedocs.io/en/stable/user/jit.html
122.
▲
by
b5n
6y ago
Emacs: M-x pyvenv-activate Or in your init: (pyvenv-activate "~/code/python/venv_dir/emacs_venv") VSC: C-P Python: select interpreter It's pretty simple, and claiming nuget, node, an
123.
▲
by
b5n
6y ago
What's wrong with using test in this context? If I'm running LTS, which for me is server only, I don't want or need newer kernel or x updates. Additionally, if I'm utilizing a DE I generally don't want LTS. sudo
124.
▲
by
b5n
6y ago
> Debian awaits Come on in, the water's fine!
125.
▲
by
b5n
6y ago
> Mixing OLTP and OLAP becomes increasingly "normal" Just because it's "normal" doesn't mean it's correct. Just because you can doesn't mean you should. All hail bob1029: > We aren't runnin
126.
▲
by
b5n
6y ago
I'd think strategically about a gap year. If you're a great student with excellent college prospects a gap year might make sense, admissions are going to be very competitive for 21/22. If you're not the best student it m
127.
▲
by
b5n
6y ago
That makes sense, if I'm in a terminal I'll just use vim, although I do get a lot of use out of eshell.
128.
▲
by
b5n
6y ago
Probably in the minority - I have an extensive custom .emacs.d, but I've kept most of the default emacs bindings. Not only do I find them ergonomic (use the side of your palm for ctrl!), they're also the same bindings you'll
129.
▲
by
b5n
6y ago
I'm confused by your workflow. Why are you opening a second Emacs instance? In Emacs you just C-x C-f /path/to/config, for sudo C-x C-f /sudo::/path/to/config. Starting location will be home, or the p
130.
▲
by
b5n
6y ago
I understand no one wants to deal with unexpected issues, especially when you're trying to get something done. Why not use virtual environments? You keep packages out of your system's python, and if you run into issues like above
131.
▲
by
b5n
6y ago
Check out testing: sudo apt update && sudo apt upgrade sed -i 's/buster/testing/g' /etc/apt/sources.list sudo apt dist-upgrade Getting security updates from unstable (not required):
132.
▲
by
b5n
7y ago
I reccomend https://kernelnewbies.org/ as a first stop for the curious (although I might also reccomend Emacs, contrary to their tutorial ;).
133.
▲
by
b5n
7y ago
Surprised more people here are not using Salt. Having used both Salt and Ansible, I much prefer Salt, especially when working with larger teams. When working solo I use Guix, both Guix and Nix are _seriously_ amazing.
134.
▲
by
b5n
7y ago
No one wants to pay for parking. Surf apps suck, they're generally asking around $10 a month, and they do little more than provide prettified weather buoy data. _Decent_ wetsuits are in the $300 - $500 range, new board $600 - $1000. I
135.
▲
by
b5n
7y ago
Pismo looked healthier this year as well: https://www.parks.ca.gov/?page_id=23795
136.
▲
by
b5n
7y ago
https://www.gnu.org/software/gawk/manual/gawk.html#Undocumen...
137.
▲
by
b5n
7y ago
It was easy for me, no context switching. I assume basic use of grep and awk shouldn't be too much of a stretch for most Linux savvy engineers. I'm happy TLDR fits your needs. I was just demonstrating how I use manpages effectivel
138.
▲
by
b5n
7y ago
It's just text - so all the text formatting/search/manipulation commands are available to you. Manpages are really easy to use and navigate, given you use them how they're meant to be used. man man | grep -A 10 EXAMPLES
139.
▲
by
b5n
7y ago
man tar | awk -F , '/-v,/ {print $2}'
140.
▲
by
b5n
7y ago
I use manpages frequently, seems easier to learn how to read manpages than create a new project dedicated to adding examples to manpages. I find them incredibly user friendly, but I cared enough to learn how to use them.
141.
▲
by
b5n
7y ago
> How do you solve the "won't read my emails" problem ? Just encrypt locally before sending.
142.
▲
by
b5n
7y ago
https://azeria-labs.com/writing-arm-assembly-part-1/
143.
▲
by
b5n
7y ago
Use what works best, but Emacs is incredibly powerful, and certainly has the potential to make you more productive. I wish I had taken the time to learn Emacs earlier in my career, my task efficiency has increased significantly since conver
144.
▲
by
b5n
7y ago
https://www.gnu.org/software/tramp/#Overview
145.
▲
by
b5n
7y ago
Emacs is also worthy of a mention here. Like Vim it takes a little getting used to, but it's incredibly powerful. Emacs works fantastically as an IDE (as does Vim), among many other things.
146.
▲
by
b5n
7y ago
Well, I think I painted a pretty clear picture of what I would do.
147.
▲
by
b5n
7y ago
While I agree, my main point was based on safety. If your primary objective is survival, the idea of grabbing a weapon _and_ moving towards danger is ludicrous (thanks media portrayal). If you are in a life or death situation it might make
148.
▲
by
b5n
7y ago
In a self defense scenario running away (if you have a clear and safe exit) is the best possible option. If someone is breaking into your house from the front, and you can safely exit the back - GTFO to safety and call law enforcement. That
149.
▲
by
b5n
7y ago
Somewhat related, I built this over the weekend: https://pypi.org/project/simplepkg/ https://gitlab.com/b5n/simplepkg Obviously not a full featured solution, but easy enough utilizing venv, s