Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pkkm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
121.
▲
HPy: A Better API for Python
(docs.hpyproject.org)
3 points
by
pkkm
3y ago
|
0 comments
122.
▲
Hypermodern Python (2020)
(cjolowicz.github.io)
1 points
by
pkkm
3y ago
|
0 comments
123.
▲
Deep Python technical issues soon fixed through the HPy project?
(legi.grenoble-inp.fr)
3 points
by
pkkm
3y ago
|
0 comments
124.
▲
Let's Prove Leftpad
(hillelwayne.com)
2 points
by
pkkm
3y ago
|
0 comments
125.
▲
by
pkkm
3y ago
> contrast errors and botched accessibility properties Yeah, the white on yellow could be improved, but the page is pretty good in ways I care about most: it loads quickly, it has decent information density, it gives me all the informati
126.
▲
by
pkkm
3y ago
Given how popular they are, these modern designs must appeal to someone , but personally I find them really bad. It's pure form over function with the huge text that reduces my 24" monitor to the information density of a phone an
127.
▲
by
pkkm
3y ago
> Of course, you could only re-encode only the GoPs that get broken while keeping the rest intact That's exactly what VidCutter does.
128.
▲
by
pkkm
3y ago
If you mean scene changes, this library works: https://github.com/Breakthrough/PySceneDetect
129.
▲
by
pkkm
3y ago
To be honest, I don't know, I've never heard of lossless-cut before. I've always just used VidCutter.
130.
▲
by
pkkm
3y ago
You can toggle it between snapping your selection to the nearest keyframe and reencoding the frames between your selection and the nearest keyframe.
131.
▲
VidCutter: A program for lossless video cutting
(github.com)
170 points
by
pkkm
3y ago
|
111 comments
132.
▲
by
pkkm
3y ago
If you use both git and Emacs but not magit, you're missing out. It's so good that it makes me keep Emacs open even when I'm using another editor or an IDE. These days pretty much everything has basic git integration, but few
133.
▲
by
pkkm
3y ago
> Set up your whole system in a config file. How does NixOS compare to the usual way of doing this, which is to manage your personal computer with Puppet, Chef, or a similar tool?
134.
▲
Hotspot: A GUI for the Linux perf profiler
(github.com)
6 points
by
pkkm
3y ago
|
0 comments
135.
▲
Hypermodern Python (2020)
(cjolowicz.github.io)
2 points
by
pkkm
3y ago
|
0 comments
136.
▲
by
pkkm
3y ago
"Of all sad words of tongue or pen, the saddest are these: Stallman was right again."
137.
▲
by
pkkm
3y ago
Have you tried perf mem [0]? [0] https://access.redhat.com/documentation/en-us/red_hat_enterp...
138.
▲
by
pkkm
3y ago
Why is it a problem that LSP was originally invented by Microsoft? It's an open protocol with many free-software implementations. You don't have to use any Microsoft code if you don't want to. Besides, even if that wasn'
139.
▲
by
pkkm
3y ago
Personally, I think that it's the copyright assignment that's the biggest barrier. For someone who figured out how to use Emacs, it shouldn't be very hard to figure out how to use a mailing list too.
140.
▲
Ask HN: What are your favorite profiling tools in your language of choice?
4 points
by
pkkm
3y ago
|
5 comments
141.
▲
by
pkkm
3y ago
I'll be honest, I haven't done any research about the ergonomics of handwriting because I don't do it much anymore. I just know that when you're referencing paper documents while using a computer, a document holder is of
142.
▲
by
pkkm
3y ago
I didn't say that sit-stand desks are useless, I just think they aren't low-hanging fruit like external peripherals are. It's a sizeable piece of furniture, so you're looking at more money and more trouble than just buyi
143.
▲
by
pkkm
3y ago
Vibration White Finger / Hand-Arm Vibration Syndrome. Not really a concern for the occasional DIYer, but it can definitely happen to people who use tools like the hammer drill for hours per day.
144.
▲
by
pkkm
3y ago
> laptop The author buried the lede. Using a bare laptop all day will damage your health. To achieve an ergonomic posture [0], you have to be looking straight forward (or close to that) while your elbows are low and bent at an obtuse ang
145.
▲
by
pkkm
3y ago
I disagree. Syntax is the thing everyone loves to comment on because of the bikeshed effect, but it's probably the quickest aspect of a new language to learn. If you're already creating a new language and have the opportunity to f
146.
▲
by
pkkm
3y ago
You have several options for calling C functions directly from Python without having to start a separate process and communicate with it. For simple jobs when you just want to call a function or two, ctypes from the standard library is a
147.
▲
by
pkkm
3y ago
Yes. ggsave(plot, "plot.png")
148.
▲
Lets-Plot: An open-source plotting library for statistical data
(lets-plot.org)
313 points
by
pkkm
3y ago
|
86 comments
149.
▲
by
pkkm
3y ago
I like how readable the code and docs are. Thanks for sharing.
150.
▲
by
pkkm
3y ago
I don't see any code being improved in this article. The author does the same thing I've noticed Clean Code adherents do: he focuses on the busywork of splitting functions into tiny pieces while missing the actual place that req
More ›