Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ngrilly
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
721.
▲
by
ngrilly
7y ago
We already have one built-in function that alters the control flow: panic. But I agree it's a bit weird.
722.
▲
by
ngrilly
7y ago
This new proposal is explicitly a simplification of the previous check/handle proposal. And for the record, there was a lot push back, but also a lot of support for the check/handle proposal. Language design is an iterative proces
723.
▲
by
ngrilly
7y ago
1. As explained in the proposal, try is not a keyword, but a built-in function. 2. Returning if there is an error is the whole point of this proposal. 3. I don't understand your point. Could you provide an example? 4. try is explicit.
724.
▲
by
ngrilly
7y ago
Great article! Reminds me of a discussion with Guido van Rossum about adding Go's goroutines to Python: https://groups.google.com/d/topic/python-tulip/BO3KPIgQ_x4/d...
725.
▲
by
ngrilly
7y ago
Agreed. This Pixel 3a could be my next phone if not for the lack of IP67 or IP68.
726.
▲
by
ngrilly
7y ago
About your cloud functions / lambdas: do they return HTML content or "pure" data (as JSON for example)? If your cloud functions return "pure" data, then the client-side JS is doing the rendering: do you manually cre
727.
▲
by
ngrilly
7y ago
Yes, near-light speed travel is a great problem to solve with AGI! And maybe even faster-than-light travel! Now, you got me excited :-)
728.
▲
by
ngrilly
7y ago
Solar and wind are carbon-neutral, cheap and competitive, but they can't be used as our only energy sources until we solve the energy storage problem.
729.
▲
by
ngrilly
7y ago
I can buy that. But in the context of climate change, this makes sense only if we solve the strong AI problem faster than we solve the carbon-neutral energy problem, which is extremely hypothetical...
730.
▲
by
ngrilly
7y ago
Yes, but then it depends on who controls the strong AI, or if it is uncontrollable, what its agenda is. This is an undecidable problem :)
731.
▲
by
ngrilly
7y ago
That's wishful thinking. Humanity was not sure how to solve x, until it was solved. It happened all the time. For example, Gödel or Einstein work were major breakthrough, and we didn't wait AGI to solve this. I'm not saying A
732.
▲
by
ngrilly
7y ago
This "advanced AI" would need to be able to experiment in the real world, as human scientists do. This is the only way to observe the universe, and validate a theory. For example, the AI could need to build and run something devic
733.
▲
by
ngrilly
7y ago
Agreed. We need more laws and regulations to include externalities in the price of the goods and services we buy.
734.
▲
by
ngrilly
7y ago
In the recorded interview, Sam Altman says climate change is such a hard problem that we need strong AI first to solve it. I have doubts about this for several reasons: - Human psychology is one of the biggest obstacles (maybe the biggest)
735.
▲
by
ngrilly
7y ago
I agree. The advantages I was referring to are things like adding monitoring, which is mentioned in the article. Interesting point about chatty services :-)
736.
▲
by
ngrilly
7y ago
Must be noted that service meshes bring some of the message bus advantages to the point-to-point architecture.
737.
▲
by
ngrilly
7y ago
> Tangent: Go GC (generational, non-copying, concurrent mark and concurrent sweep) I think that Go GC is not generational. If I'm not mistaken, the keynote you linked explains they tried it and the gain were not there.
738.
▲
by
ngrilly
7y ago
> Think about the Linux kernel. How to we "talk" to it? Through libraries like glibc which provides an interface for C to make calls to the kernel. No. We "talk" to the kernel through an ABI, not an API. Maintaining A
739.
▲
by
ngrilly
7y ago
Sourcegraph agreed to join the effort around gopls, to have one really robust implementation supported by the whole Go community.
740.
▲
by
ngrilly
7y ago
This matches my own experience. Never thought of using speech-to-text for chat. Will try it :-)
741.
▲
by
ngrilly
7y ago
The manifesto mentions: > Evolution of speech-to-text conversion software - more accurate and faster than typing Last time I tried I wasn't convinced. Anyone here is really using that to program, write emails or write Markdown?
742.
▲
by
ngrilly
8y ago
A lot of open sources are abandoned in general. Google has a good track record regarding the maintenance of their open source projects. Google has abandoned some proprietary products (Google Reader, Google +, etc.), but it says nothing abou
743.
▲
by
ngrilly
8y ago
We are in Europe (France) and are using Stripe with SEPA Direct Debit.
744.
▲
by
ngrilly
8y ago
Great question! I'm wondering the same.
745.
▲
by
ngrilly
8y ago
I agree that CLDR plural forms and ICU MessageFormat are somehow an implicit critic of gettext design :-)
746.
▲
by
ngrilly
8y ago
> Our opinion is similar to Unicode's - Gettext is fundamentally flawed design for internationalization purposes. Did the Unicode consortium express critics about gettext? Could you provide some reference about this?
747.
▲
by
ngrilly
8y ago
Considering the translation ID as a "slug" is a good tip to ease choosing the ID. Thanks!
748.
▲
by
ngrilly
8y ago
The downside of using separate IDs is that the developer has to "name" each string shown in the user interface, instead of just using the source string as an ID. And as you know, naming things is hard ;-)
749.
▲
by
ngrilly
8y ago
I was thinking of something along this line. Thanks!
750.
▲
by
ngrilly
8y ago
The comparison with gettext is really interesting: https://github.com/projectfluent/fluent/wiki/Fluent-vs-gette... Especially the advantages and drawbacks of using the source string as a message identifier, c
More ›