Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
weberc2
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
weberc2
1y ago
That certainly seems like an interesting system, and at the moment I'm open to ideas, although it's essentially impossible that my country will adopt a new system.
2.
▲
by
weberc2
1y ago
I think I fully agree, although to expound on (1) I don't think that is the kind of software that any company should want to depend on for anything remotely important. I'm sure there are counter examples where you get a high quali
3.
▲
by
weberc2
1y ago
I'm of the opinion that large companies should be paying for the software they use regardless of whether it's open source or not, because software isn't free to develop. So assuming you're paying for the software you use
4.
▲
by
weberc2
1y ago
I don't think this is entirely true. A system of government could dramatically limit the power of the executive or make it easier to remove a president or make it harder for the legislature to make moves (essentially just limit the dam
5.
▲
by
weberc2
1y ago
> Are you claiming that the Army anniversary date being on DJT's birthday ISN'T a coincidence? That must take some crazy mental gymnastics... You should read the post you're responding to. It clearly addresses this very qu
6.
▲
by
weberc2
1y ago
The US doesn't keep biometric data on every citizen or lawful resident, and the government can trivially lie or make a mistake about whether they did the database/ID check. This isn't a hypothetical, many legal residents and
7.
▲
by
weberc2
1y ago
> And no country gives whatever it is you're calling due process to illegal immigrants. Virtually every European country gives due process, even in illegal immigration cases. And probably more importantly, the US Constitution requir
8.
▲
by
weberc2
2y ago
Yeah, they're actually simple enough that they're kind of a perfect way to learn a new language... You get to try something that is pretty familiar (transforming some source files into some destination files), small enough that yo
9.
▲
by
weberc2
4y ago
> Isn't the hype more about the relative difference (I don't think most people are claiming NL is a utopia)? We're talking specifically about self-designated "anti-car" people. I doubt there are any surveys, so w
10.
▲
by
weberc2
6y ago
Relatedly, I found this out the hard way yesterday evening: https://stackoverflow.com/questions/66631251/overflow-evalua...
11.
▲
by
weberc2
6y ago
Me too: https://weberc2.github.io/ I'm also curious what problems this presents and what platform the OP thinks we ought to use and why. EDIT: Interestingly, I just Googled `"github is not a blog"` and the on
12.
▲
by
weberc2
6y ago
The great thing about Go is that you don't need to think about allocations or lifetimes until you care about performance . Memory management is optimization in Go, while in C, C++, Rust, etc it's required to get a program to co
13.
▲
by
weberc2
6y ago
Right, but as previously mentioned, Go's multiple return values are already "generic" and already signal developer intent. If you have a library method that returns (int, err) every single Go developer will check the err firs
14.
▲
by
weberc2
6y ago
Generics aren't the gap (multiple return values are already generic), but rather sum types. Sum types are what allow you to express that this is either None/Sum(T) (Option) or Ok(T)/Err(E) (Result) or Nil/Cons (List) or
15.
▲
by
weberc2
6y ago
I agree that there are semantic issues with pointers, but my point was to illustrate that you need sum types in Go to get any real benefit out of an Option type. If you need an option type and you aren't content with a pointer, you can
16.
▲
Show HN: Go Generic Iterator Sketch
(weberc2.github.io)
3 points
by
weberc2
6y ago
|
0 comments
17.
▲
by
weberc2
6y ago
This doesn't add anything. You get the same protection in Go with pointers. For example, a `*T` can't be passed to a function taking a `T` without explicitly dereferencing it. The problem of course is that the type system doesn&#x
18.
▲
by
weberc2
6y ago
> In comparison, you can happily ignore `err` in Golang and continue with an invalid `value`. I'm struggling to envision a Result type that requires you to be more explicit than `foo, _ := fallible()`. Seems like `fallible().Ok()` a
19.
▲
by
weberc2
6y ago
Yeah, I have considerable experience with Go and Python, and my experience with Go has been consistently positive for all of the problems we're facing with Python; however, my org is not interested in considering other languages presum
20.
▲
by
weberc2
6y ago
I was just measuring the size of Terraform earlier today--it's a program with 733 dependencies and it weighed in at 63 mb without stripping symbols or compressing when compiled with go 1.13. I was comparing it to our Python executable
21.
▲
Tips for working with multiple GitHub accounts
(weberc2.github.io)
1 points
by
weberc2
6y ago
|
0 comments
22.
▲
by
weberc2
6y ago
Whoa, the author of Caddy is from Dubuque? That's so cool!
23.
▲
by
weberc2
6y ago
Jesup here
24.
▲
by
weberc2
7y ago
Any statically types, general purpose programming language would do the trick—just generate YAML. I’ve been playing with typed-Python and it works really well. The only issues are that Python’s type system is pretty immature (can’t represen
25.
▲
by
weberc2
7y ago
I think the problems are mostly around configuration that is so complex and redundant that we need programmatic abstractions to deal with it—we need something like a general purpose programming language to DRY up and simplify that configura
26.
▲
by
weberc2
7y ago
Seems like one could craft policy that treats social media giants differently than relatively small forums, no?
27.
▲
by
weberc2
7y ago
Governments aren’t homogeneous. In the US there’s plenty of energy (especially among conservatives) to restrict social media giants’ right to censor, at least with respect to political censorship.
28.
▲
by
weberc2
7y ago
That’s a good question. Presumably you could draw some line to distinguish between small communities and enormous ones (tens of millions of monthly active users, for example), or distinguish between social media and forums.
29.
▲
by
weberc2
7y ago
This is a cool project and I like your point about resetting expectations wrt performance. I work in an all-Python shop and it’s maddening that people are relatively okay with builds (mostly installing dependencies) in the tens of minutes,
30.
▲
by
weberc2
7y ago
Fixing the quote format so people can read it: > At Mondragon, there are agreed-upon wage ratios between executive work and field or factory work which earns a minimum wage. These ratios range from 3:1 to 9:1 in different coopera
More ›