Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bvrmn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
541.
▲
by
bvrmn
5y ago
Does TeX equations are intended to be presented in a raw form? It's very hard to read without proper rendering.
542.
▲
by
bvrmn
5y ago
Git has the most simple design (protocol, repo format) out there. You can implement it yourself in a couple of evenings.
543.
▲
by
bvrmn
5y ago
> The really easy to understand systems (such as cvs / svn) are too simple and can't do many important things, so those aren't suitable replacements. SVN internals are more complex than Git. Also there is a branch/mer
544.
▲
by
bvrmn
5y ago
It's around 1k opened issues on github. If you want more wide adoption you can help with fixing them.
545.
▲
by
bvrmn
5y ago
Linear types can solve the problem. Also destructors tie design to stack frames. Limiting application for strictly nested code only.
546.
▲
by
bvrmn
5y ago
> If you imagine destructors have something to do with memory management, you have much yet to learn. It is very limiting to think that destructors is the only way to solve resource scoping problem.
547.
▲
by
bvrmn
5y ago
May be my hints can be helpful. I have much less cognitive load developing multiple features or task switching. # coding some-task # critical bug approaches $ stg refresh; stg pop # save current changes and pop patch $ st
548.
▲
by
bvrmn
5y ago
Gerrit solves review part of a patch-oriented workflow. But leaves commit juggling to end-user. It helps a little to manage such patches in workging directory. StGit helps to organize the workflow locally.
549.
▲
by
bvrmn
5y ago
I use StGit with Gerrit. My workflow has nice property: single StGit patch maps to Gerrit review directly. Managing multiple simultaneous reviews is a breeze.
550.
▲
by
bvrmn
5y ago
`stg publish` was cumbersome to use and I wrote simple bash script: cat ~/bin/stg-update #!/bin/bash set -e current=$(stg top) git push -f origin HEAD:$current It pushes changes into remote bran
551.
▲
by
bvrmn
5y ago
There are so many skeptic comments in the thread. They are like: why we need cars then we have horses? StGit is not a trivial wrapper around simple git commands. It changes a workflow completely and brings great value into a process. I'
552.
▲
by
bvrmn
5y ago
Laziness is pretty good reason to continue to use select. It's a convenient interface for simple tasks. The very nature of fire a set of fds and get a result beats (e)poll/kqueue/fd-registering based API in UX regard. It'
553.
▲
by
bvrmn
5y ago
It's funny how for "can be done right" guy you propose to use 403 for obvious auth required.
554.
▲
by
bvrmn
5y ago
I have experience with performant cache-friendly code. Yes, data oriented approach can be useful in some fields. But author blames the whole industry having low demand of performant code and wants python to accommodate cache-friendliness. T
555.
▲
by
bvrmn
5y ago
> 4. Data oriented way of programming has its own set of problems. This should be a top reason. Author is too shy to reveal the true cause.
556.
▲
by
bvrmn
5y ago
It's strange that length is not a generic. More over List has length but Map doesn't.
557.
▲
by
bvrmn
6y ago
I've been using stgit[1] for this type of workflow for last 10 years. It allows to think in terms of atomic patches and transparently rebases all changes for you. Also it plays nicely with Gerrit. [1] https://stacked-git.git
558.
▲
by
bvrmn
6y ago
O(n) cache size is a very novel approach in computer science. This "cache" is crucial part of implementation and limits project applicability.
559.
▲
by
bvrmn
6y ago
It's sad that author did not mentioned that disk engine basically stores copy of data in memory. And it seems from benchmark code that reading doesn't hit disk at all.
560.
▲
by
bvrmn
6y ago
I also use it for TOTP. Main reason: storing totp-key on a mobile device is too insecure.
561.
▲
by
bvrmn
6y ago
> (-11) % 3; // => -2, as one would expect Nope, it's very unexpected. Because parity check can now return 3 outcomes. (-3) % 2; // => -1
562.
▲
by
bvrmn
6y ago
IMHO, there is no point in shallow celebration. Especially if recall how many people made engineering work in literal prisons. Today is pinnacle of totalitarianism. July 20 is more appropriate date to be proud of humanity.
563.
▲
by
bvrmn
6y ago
How many launches Rogozin did in 2020 comparing to US and China? What about a trend for last 5 years? How about planned launches in 2021? There is a real decline and only a blind person cannot see it. You can drink Vodka every year and be p
564.
▲
by
bvrmn
6y ago
I'm russian and April 12 is a sad day. We have a phrase: "Юра, мы все проебали" (Yura, we fucked up everything). The most terrifying though is if Gagarin stays alive till now and helps government to propose awful laws like T
565.
▲
by
bvrmn
6y ago
I'am running local caching dnsmasq with minimum TTL of 1h. Modern internet experience is really awful without it.
566.
▲
by
bvrmn
6y ago
^^ We can insert that message as a definition of shameless plug in a dictionary.
567.
▲
by
bvrmn
6y ago
I can also get second instance with singleton. In reality singleton doesn't enforce anything. It's a only a convenient way to make global scope in inconvenient languages.
568.
▲
by
bvrmn
6y ago
Global variable is naturally can't be duplicated. Or do you assume dark corners of initialization spec for c++?
569.
▲
by
bvrmn
6y ago
OpenSCAD is pretty rigorous regarding defining relative geometry. Like shifting origin and sketch on plane rotated 30° around X. It leads to unnecessary math to place objects.
570.
▲
by
bvrmn
6y ago
We are walking peacefully without looting and riots. Authorities decline any attempt to get permission for peaceful demonstration which allows them to justify police violence. Situation is pretty grim.
More ›