Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bow_
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
bow_
3mo ago
> My point is that if you care deeply about what is being installed in the image, size, dependencies, bloat, etc. then perhaps using the NixOS abstraction is the wrong approach. Instead of building "down" by taking things away,
2.
▲
by
bow_
1y ago
Right ~ fair enough. I should have clarified I meant Debian stable (and by extension all other non-rolling release distros).
3.
▲
by
bow_
1y ago
My own view: rolling release distros gets less in my way than distros like Debian. They allow me to install anything I want, as close as possible to upstream. Not saying one is better than the other, just remarking that it's interestin
4.
▲
by
bow_
1y ago
Right. Because only laid-off employees can cause such a damage of course (/s). This is a twisted way to look at the risk. Disgruntled employees have more reason to wreak havoc. All the more reason they should be treated as humanely as
5.
▲
by
bow_
2y ago
I have been out of the field for some time, so I am not sure how much BLAST is used these days. Therer was a time when BLAST-ing a DNA and protein sequence you have is like doing a Google search on it: it simply tells you where the sequence
6.
▲
by
bow_
2y ago
Bit of an aside, I found this bit from https://hackclub.com/clubs/ interesting: > in the Hack Club Slack (Discord-style online groupchat), you'll find a group of 27,253+ fabulous ... See, in my head Slack comes
7.
▲
by
bow_
3y ago
I can second AsciiDoc. It hits the sweet spot between Markdown (arguably more suited for short-ish content) and LaTeX (full-blown academic papers with citations, formulas, etc.). Have been using AsciiDoc for the past few years and loving it
8.
▲
by
bow_
4y ago
GSoC is awesome and I'm happy to see it's still running. The experience I got as a student in 2012 was invaluable for my career in tech ~ more so since I did not formally study CS. It introduced me to so much: a lot of the program
9.
▲
by
bow_
4y ago
> But the real question is why they don't do the same for tax evasion? Who says they don't? If I had to guess, I would say the magnitude of the problem is just more complex. The tax system is more complicated and impacts more
10.
▲
by
bow_
4y ago
It's neat ~ could have used checks in-between to ensure e.g. `$(go env GOBIN)` is not empty. For something more comprehensive (of course with a larger install size) and the possibility of handling not just Go, I have had good experienc
11.
▲
by
bow_
4y ago
Not really (for the first part at least, am not yet finished with the second part). I did deviate a little bit with my Rust implementation. This was my goal anyway: implement Lox differently. Off the top of my head: * I used ADTs to encapsu
12.
▲
by
bow_
4y ago
I didn't worry because of Java's perceived lack of 'excitement'. Just that I am more familiar with other languages and I worried I'd get lost trying to understand Java and not digest the material properly. I tend to
13.
▲
by
bow_
4y ago
I hesitated a little bit before deciding to purchase and go through the book. Had already read many glowing reviews then, but was not sure if the choice of language (Java) for the first half of the book would be a hindrance (it's not t
14.
▲
by
bow_
4y ago
Introducing `false` as a standalone type but not `true` is what makes this weird. Generic, literal returns are fine. Python is another language that has it [1]. The introduction of the RFC [2] also still mentions `false` is of type bool: &g
15.
▲
by
bow_
6y ago
Here I disagree. HTTPS gives guarantee to visitors of the site that they can trust the information being served to them. A malicious actor hijacking plain HTTP connections does not necessarily have to inject code that harms the user's
16.
▲
by
bow_
6y ago
And `pyenv` [1], for Python. I came into `nodenv` after being a regular user of `pyenv` for a while. Started with `nvm`, but wished for something more pyenv-like. There is also `asdf` [2], which seems even more generic. On paper it looks in
17.
▲
by
bow_
6y ago
Type hints are machine-checkable documentation, similar to doctests in my view. Since I started using them, the number of runtime errors coming out from my own code has been drastically reduced. Of course one can always go overboard with th
18.
▲
by
bow_
7y ago
Why do you think it is the worst? If you don't consider Python, what would you then think is the worst? Genuinely curious. I use Python daily and I rarely encounter problems with it. There is some getting used to in the beginning, but
19.
▲
by
bow_
7y ago
> how does the „two copies“ phenomenon of the human genome and the „two copies“ thing of chromosomes fit together? Are those one and the same concept? Which phenomena are you referring to exactly? That we have two copies of each chromoso
20.
▲
by
bow_
7y ago
I used to do print debugging a lot. And then I tried using the `breakpoint()` call available since Python 3.7[1], and now I can't imagine doing any serious debugging without PDB (or any other debugger). (I mentioned Python, since this
21.
▲
by
bow_
7y ago
There is indeed no limitation on the number of tokens in a game. There are many combo wins that involve having (technically) infinite tokens, dealing infinite damage, gaining infinite life, taking infinite turns. You get the idea. I said te
22.
▲
Ask HN: How do you document your architecture?
3 points
by
bow_
8y ago
|
1 comments
23.
▲
by
bow_
8y ago
Looks neat! Pattern matching is one of those features that I sorely miss when I have to program in Python. I do feel a bit wary seeing this[1] though, given that `_` can be considered a special character in Python. I suppose you can use `AN
24.
▲
by
bow_
8y ago
It depends. Another commenter mentioned Cram, which I would look into if checking stdout/stderr (mostly) is enough for my use case. If I am already using a specific framework to write the pipelines, I would also look into whether it al
25.
▲
by
bow_
8y ago
Some time ago I wrote a pytest plugin[1] that helps me test my long running shell scripts. The idea was to treat the shell process as a fixture, and conditions before and after the test (input file checksums, output files, generated stdout&
26.
▲
by
bow_
8y ago
Here's an example where it can be done in Angular: https://www.jvandemo.com/how-to-use-environment-variables-to... . Not exactly the same as shell environment variables, of course. And you may disagree about exposing th
27.
▲
by
bow_
8y ago
> All of the leading application frameworks (Angular CLI, Create React App, Ember CLI, Vue CLI 3) recommend defining environment values at compile time. This practice requires that the static assets are generated for each environment and
28.
▲
by
bow_
8y ago
FYI, the WHO [1] and CDC [2] post regularly on the status of various outbreaks all over the world. For Ebola particularly, WHO posts weekly updates. And a cursory look of the most recent posts paints an increasingly worrying situation. [1]
29.
▲
by
bow_
8y ago
Back when I was getting more serious about programming (2010-ish), I had to decide between Perl vs Python as those two were the most widely used in my domain (bioinformatics). I remember one of the argument for Perl was exactly this: the va