Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
matvore
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
matvore
6y ago
If bitcoin causes the value of fiat currency to fall enough, the government will not be able to print money to fund wars. A war will require overtly billing the people for it or raising taxes. So it will be less likely the people will conse
62.
▲
by
matvore
6y ago
I agreed with the part of the first paragraph that says that most uses of blockchain are deadends or solutions looking for problems. I'm coming from "Bitcoin blockchain + POW is a store of value," and "LN is the fast, co
63.
▲
by
matvore
6y ago
> - I don't get lisp's (lisp-2) dynamic scoping (a big reason I haven't switched from vim to emacs). I'm much more comfortable with the lexical scoping of scheme (lisp-1). Lisp-1/2 has to do with function
64.
▲
by
matvore
6y ago
Cryptocurrency promotion implies to some extent that central control of money is a bad thing. So it is somewhat political. I think most HN folks are against it for political reasons to a certain extent. Even if they say they aren't, th
65.
▲
by
matvore
6y ago
> But bitcoin is a waste of resources by design. The whole point is to waste resources. The miners run POW (i.e. waste resources), and requires specialist hardware (ASICs). Validating blocks is done by "nodes" and is wi
66.
▲
by
matvore
6y ago
> Who can argue with amazing arguments like "Bitcoin is the > money of the future because it will allow a fraudster to keep > the proceeds of his crimes!" The benefits outweigh the costs. Fiat currency is us
67.
▲
by
matvore
6y ago
> What I _don't_ like is his coding style. If he's writing C++, let him use modern C++. In situations like this, I recommend acclimating yourself to the unusual style as a mental exercise. You will likely have to read a lot of
68.
▲
by
matvore
6y ago
Did you consider using more traditional macros like VEC_ADD which works for all types rather than generating e.g. vec_<type>_add? The latter approach doesn't work with cscope and ctags, which is a pretty big drawback in my book (
69.
▲
by
matvore
6y ago
> The written-spoken language is very regular so it's very easy so "sound out" words. I don't know where I stand on your thesis (I was mostly arguing against the idea that Japanese people are demotivated to r
70.
▲
by
matvore
6y ago
> https://japaneseruleof7.com/are-japanese-people-retarded/ That is not exactly an academic source and it's from someone living in Japan that doesn't read Japanese very well (check the comment section wher
71.
▲
by
matvore
6y ago
> if list elements are stored contiguously, is there any advantage to using a linked list Storing them contiguously probably implies that you consider "freed" space in the middle to also be part of the contiguous area.
72.
▲
by
matvore
6y ago
I also found "WebAsm" a bit jarring to see.
73.
▲
by
matvore
6y ago
I imagine they are referring to Rust.
74.
▲
by
matvore
6y ago
> The best C programming trick is to use no tricks. Yes! C's monotony is its killer feature. Take away power when you are coding and you have more power to share the code and debug it.
75.
▲
by
matvore
6y ago
This is used by the Ganesha project (userspace NFS server). Look for the symbol "container_of" and usages of it in https://github.com/nfs-ganesha/nfs-ganesha/ (disclaimer: I'm a minor contributor).
76.
▲
by
matvore
6y ago
My favorite C trick is not related to programming - but to debugging and disassembly. Unlike C++, there is no name mangling, so stack traces are a breeze to read, especially with -fno-inline-functions and -O0 or -O1. There is no implicit ac
77.
▲
by
matvore
6y ago
I suspect there is an element of truth to it. I agree they will keep the Unix core and allow you to use clang and ld however you want. I suspect, however, they're not interested in supporting alternate OS's nor are they interested
78.
▲
by
matvore
6y ago
Eminent Internet speculation about Apple is correct surprisingly often. EDIT: I'm getting downvoted, maybe because I was too cryptic. To clarify, it seems like the rumors that gain traction with mainstream sites and Apple-focused YouTu
79.
▲
by
matvore
6y ago
> It would be if they take some effort to support it. Oh, definitely. But the Linux (or alternate OS) fans are not really on Apple's radar. OTOH, they do a good job of keeping some core binaries up-to-date, like zsh and Vim, and the
80.
▲
by
matvore
6y ago
I get why this idea of becoming iOS-like is uncomfortable for a lot of people, but will they take away the POSIX-ness of the OS? What about all the people that spend all their time in Vim, TMUX, Emacs, and/or zsh? I think these people
81.
▲
by
matvore
6y ago
The `/bin/bash` on macOS is severely out of date. So a script that starts with `#!/bin/bash` will be unable to use a lot of features. If you only rely on `/bin/sh` the user has the flexibility to point `/b
82.
▲
by
matvore
6y ago
> Consider that in Unicode ... there isn't really such a thing as a 'character' This is a really important consideration, since it helps you realize the immense difficulty of wrapping your own logic for character-
83.
▲
by
matvore
6y ago
I still use caps lock since I regularly code in POSIX shell, C, C++, and Perl, which all have naming conventions that use all-caps names. Also, as a VIM user, I only have to use Alt when I’m dealing with GUI apps, which is definitely common
84.
▲
by
matvore
6y ago
> Just wanted to let you know that you are discouraging. It didn't strike me as discouraging at all. Discouraging would be something like "QM is so hard that 80% of people reading this are too stupid to learn it" (which I
85.
▲
by
matvore
6y ago
I believe the plan behind the Chinese characters in Unicode was always that different hanzi-using languages had different renderings of certain characters, and that rendering it properly would be up to the font.
86.
▲
by
matvore
6y ago
According to Google Translate, in Italian, "potenza" means strength, ..., potency I wonder if the doctors in the article used this word to describe the loss of potency, but the media and translators are equivocating this to mean &
87.
▲
by
matvore
6y ago
For diffs that include the common ancestor, add this to .gitconfig: [merge] conflictStyle = diff3
88.
▲
by
matvore
6y ago
I think the problem is the teacher moved from one type of "fraction problem" to another kind. The example of drinking 4 bottles of water to only have 2/6 left of the original pack is doing an integral problem and wrapping up
89.
▲
by
matvore
6y ago
> This sounds impossible, there's not enough information in > the C type system to know in the general case what the > bounds are. Good point. My thought was that the runtime could keep track of all the malloc
90.
▲
by
matvore
6y ago
> it’s basically unreadable to very most of developers The ubiquity of parenthesis has a purpose - it lets you treat code as data. Your argument only makes sense if syntax choice were 100% based on taste. But it's not (simplicity of
More ›