Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
niemeyer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
niemeyer
12y ago
Please note that the details aren't defined yet, and Ian indicates in a comment in this HN thread that some sort of pinning may exist. I also expect that to happen, given that a strict rule would break a lot of packages and turn what i
32.
▲
by
niemeyer
12y ago
You can pass it back into Go for dereferencing, at which point you can use the uintptr => unsafe.Pointer map, and it will be correct since the moving GC will have preserved the unsafe.Pointer address at the right location. The pattern is
33.
▲
by
niemeyer
12y ago
That's a much more reasonable proposal than the prior suggestions of a strict no-Go-pointers-into-C rule, and it'll keep most interfaces working. Some C packages such as qml will still need to change as they allow custom types to
34.
▲
by
niemeyer
12y ago
That's a fine model when you want to hand a reference to a Go value, just to be used in Go itself, but it's not actual pinning. The data can still move, which means you cannot use the data in C, for example to share a buffer witho
35.
▲
by
niemeyer
12y ago
Ah, I see, you're still in the upwards trend of thinking you have a superior mind. Been there.. eventually I learned that I too suck, and need all those tricks that encourage me and the teams I work with to up the stakes in terms of pr
36.
▲
by
niemeyer
12y ago
It's not about horror stories, but about choosing a tool that makes it easier to get the error handling path right, which is just as real and important as the success case. In my experience with the medium sized projects I've been
37.
▲
by
niemeyer
12y ago
That's not about how much the code might be optimized. I could always step out of Python and do a C module if I needed speed. Instead, what's valuable in terms of the perceived performance delta is the speed of standard code as on
38.
▲
by
niemeyer
12y ago
You've been saying that it's just about your own use cases, but your statements in that post are much more general. For example: > What does Go have that Python lacks? Performance, static typing. That's a very simplistic v
39.
▲
by
niemeyer
12y ago
I missed a REPL at first too, which made me play a bit with REPL-for-Go ideas, but that didn't end up on anything really convenient. What solved the problem was rethinking why the REPL was convenient in the first place, leading to the
40.
▲
by
niemeyer
12y ago
To satisfy your curiosity, I have a long and public track record on Python, and switched to Go as the preferred language around mid-2010, for many reasons. These were both related to the properties of Go and to frustrations with Python itse
41.
▲
by
niemeyer
12y ago
You are assuming the use of exceptions is an evolution in the first place, but that's far from being a consensus. To some of us, exceptions are very convenient, but more easily lead to brittle software. I wrote a little bit about that
42.
▲
by
niemeyer
12y ago
These boxes were created mainly for development, experimentation, and mobility. More disks would mean more heat, cost, size, weight.
43.
▲
by
niemeyer
12y ago
Sorry about that. It seems to be working now. I was hoping CloudFlare would relieve the server enough for it to remain working fine despite the traffic. I'll have to move over this blog to a more reliable setup.
44.
▲
GUI apps from the Go QML contest
(blog.labix.org)
67 points
by
niemeyer
12y ago
|
11 comments
45.
▲
by
niemeyer
13y ago
> if you're dumb enough to leave a hole in your security This is grossly underestimating how hard it is to have a bullet-proof system. Some of the best security people in this planet use disconnected systems when they want to be sur
46.
▲
by
niemeyer
13y ago
A lot of people would disagree that this is as bad as you paint it: "On August 14, with 8 days until the deadline, the campaign passed the $10 million milestone.[8] The campaign passed the record for the most funded crowdfunding campa
47.
▲
Go + QML + OpenGL
(youtube.com)
5 points
by
niemeyer
13y ago
|
0 comments
48.
▲
by
niemeyer
13y ago
It would be nice to see this in action.
49.
▲
by
niemeyer
13y ago
It is. The ubuntu-sdk package is just an easy way to get all the dependencies in at once, but it should work even in other operating systems.
50.
▲
by
niemeyer
13y ago
You don't have to GPL your software to use LGPL.
51.
▲
by
niemeyer
13y ago
The main reason why the Go support was done in this fashion is that developing applications in such a declarative manner seems to be a better experience despite any difficulties in creating the tooling.
52.
▲
by
niemeyer
13y ago
Qt5 (the one the Go support is linked against) is already much better at that, and there's further work happening both upstream and in Ubuntu.
53.
▲
by
niemeyer
13y ago
Although I respect whatever decision you make, please note that there's absolutely nothing I could use as an argument for a license change there, other than "George will work on something else if we don't change it.", wh
54.
▲
by
niemeyer
13y ago
If you know about someone that is actively trying to use it and cannot because it is LGPLv3, please ask them to mail me with more details. I'll be happy to go over the perceived issues with the legal team.
55.
▲
by
niemeyer
13y ago
That's how crowdfunding campaigns work, and without enough support to reach the $32M, there's simply no way to manufacture the phones that got funded at such a low price.
56.
▲
by
niemeyer
13y ago
If you mean first-class as in look like an app like came with the phone, then there's no way around using a toolkit that has a familiar theme and behavior. The story is no different than a Linux desktop.
57.
▲
by
niemeyer
13y ago
> Despite what they say about getting lower price deals on components, it looks very preplanned "strategy". I was there. I've overlooked the spreadsheets with component parts, and people having phone calls and debating abo
58.
▲
by
niemeyer
13y ago
Behind the interface you have a normal Linux distribution, with packaging, apt-get, and all, so yes you can.
59.
▲
by
niemeyer
13y ago
> Why would someone get the phone at $695 when it could go down more? Because everybody that paid more is being refunded. See the notes on each of the events. It won't go down anymore, but even if that happened, you'd not be sc
60.
▲
by
niemeyer
13y ago
Please note that the support both from Bloomberg and the industry (in terms of the price drop) are based on hindsight of how supporters and the press have been covering the case. It's also hard to predict what having an initial perk of
More ›