Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
laurentlb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
91.
▲
by
laurentlb
2y ago
When I booked a long distance bus in Turkiye and in Azerbaijan, the interface showed me the gender of other people, and prevented me to sit next to someone of the opposite gender. There was also a special case for children. As far as I unde
92.
▲
by
laurentlb
2y ago
It was a complete mess, hard to maintain the code, with scalability and performance problems. The semantics were very error-prone because it combined two interpreters (Python interpreter, optional, as a preprocessing step) followed by the i
93.
▲
by
laurentlb
2y ago
The Java and the Go implementation of Starlark should detect the recursive call in the example. I'd say it's an implementation bug in the Rust interpreter. (I agree it doesn't matter that much in practice)
94.
▲
by
laurentlb
2y ago
Google is trying to standardize on a few configuration languages: GCL (because it was too hard to migrate away from it), Starlark (when BCL is not suitable) and Text proto (for things that don't need logic). It used to be a complete me
95.
▲
by
laurentlb
2y ago
From what I remember, Piccolo uses a Python interpreter. Blaze also used to call a Python interpreter to evaluate BUILD files, but this is something I've changed. Starlark is unrelated to Piccolo, it started as an interpreter written i
96.
▲
by
laurentlb
2y ago
Related recent discussion: An Overview of the Starlark language - https://news.ycombinator.com/item?id=40573689
97.
▲
by
laurentlb
2y ago
I was also global approver. Examples of global changes include: - changes to Buildifier that require updating existing files - rename/refactor a function used everywhere in the repository - fix the existing code before turning a lint w
98.
▲
by
laurentlb
2y ago
If every engineer needs to make two commits when they change the build file, that's a higher cost compared to having people dedicated to the migration.
99.
▲
by
laurentlb
2y ago
Thanks for the precisions! I've added some updates at the bottom of the post.
100.
▲
by
laurentlb
2y ago
Thanks, I've increased the contrast (not as much as your suggestion, but I hope it's better).
101.
▲
Reformatting 100k Files at Google in 2011
(laurent.le-brun.eu)
230 points
by
laurentlb
2y ago
|
156 comments
102.
▲
by
laurentlb
2y ago
You can define a value (let's say a dictionary) in a .bzl file and load it from multiple BUILD files. This is safe only because the dictionary becomes immutable before it is shared. Bazel is massively parallel. It has to evaluate a po
103.
▲
by
laurentlb
2y ago
Yes. See my other comment - https://news.ycombinator.com/item?id=40595125 In short: Evaluating a file has no visible side-effect. The evaluation returns a set of frozen values. These values that can accessed by other thread
104.
▲
by
laurentlb
2y ago
The evaluation of a file happens in a single thread. At the end of the file evaluation, Starlark exports the values and functions defined in the file. All values are frozen, meaning they won't ever be mutated. Since no shared object ca
105.
▲
by
laurentlb
2y ago
This is something that came up multiple times. I think type information is especially valuable in combination with other IDE features (code completion). My idea was to do type checking in a separate tool (e.g. built on top of Buildifier) an
106.
▲
by
laurentlb
2y ago
64kB is the size of the binary file. You can rely on an operating system (Windows, Linux...) with its graphics drivers. Basically, you can use the GPU and you can use most of the 64kB to generate procedural content.
107.
▲
by
laurentlb
2y ago
It's also worth noting that the expectations around 64k got higher. We can do so much more in 64k than it was possible in the past. Compression tools have improved. If you take the famous fr-08 intro from Farbrausch and recompress it w
108.
▲
by
laurentlb
2y ago
I came here to say that :) In particular, we have a list of making-ofs like this one: https://64k-scene.github.io/resources.html#making-ofs
109.
▲
by
laurentlb
3y ago
There are 10 data points, divided in 6 subcategories. It's hard to do meaningful statistics. And we don't know if EU means Denmark or Romania.
110.
▲
by
laurentlb
3y ago
I think there are lots of applications for good Text-To-Speech. Cloning a voice is a way to get lots of new voices to use as TTS. I'm personally building a website with stories designed for language learners. I'd like to have a va
111.
▲
by
laurentlb
3y ago
If they were born in Sweden, they didn't migrate. There seems to be a confusion between immigrant and foreigner.
112.
▲
by
laurentlb
3y ago
I've tried quickly on my phone, but it's too hard to use: - I normally prefer to click on the piece and then on the target square. It doesn't work here, I think only drag & drop is supported. - But drag & drop is brok
113.
▲
by
laurentlb
3y ago
Interesting idea, but it just looks like a 1-bit image, and it feels limited (replacing a pixel with a checkbox doesn't bring much in the examples). It reminds me of the demo "Tides" (in the sense of demoscene) made out of sl
114.
▲
by
laurentlb
3y ago
When I applied to a Ubisoft studio in 2011, the recruiter sent me an email during the hiring process: > [...] we would like to move forward in the process. As you may know, our salaries in the games industry do not compare well with ove
115.
▲
by
laurentlb
3y ago
You meant Gemini?
116.
▲
by
laurentlb
3y ago
My experience is that I first search for content I'm interested in. Then YouTube keeps recommending things that are related (in the same domain, or on the same channel). I haven't seen any PewDiePie recommendation in years (to the
117.
▲
by
laurentlb
3y ago
It's funny how they introduced a clear US-centric bias while trying to push for more diversity.
118.
▲
by
laurentlb
3y ago
Most European countries are excluded: > Image generation in Gemini Apps is available in most countries, except in the European Economic Area (EEA), Switzerland, and the UK. It’s only available for English prompts. ( https://sup
119.
▲
by
laurentlb
3y ago
Alternative suggestion: instead of showing the target number, show instead the difference between the current sum and the target. So 0 would tell me the line is complete. A negative number would show there's an error and I need to remo
120.
▲
by
laurentlb
3y ago
The colorblind mode is just using blue instead of green. While it might work for some people, I'd suggest to redesign. Don't convey information with color alone. For example, you could switch the boldness, circle the number, or so
More ›