Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pptr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
31.
▲
by
pptr
3y ago
X's video player is super annoying to use. I often manage to close the running video and I have to search for it again to resume it. They need to build a robust video player ux if they want to compete.
32.
▲
by
pptr
3y ago
All libraries you would need are already in Google's monorepo. There is no need for a package manager. There are a few external libraries in the monorepo. Maybe it's a trickier task to add those. Most Googlers don't need to d
33.
▲
by
pptr
3y ago
A lot of this tooling is available for C++ development at Google. Includes are added automatically when you use code completion. There is also a simple IDE command to add all the include dependencies to your build file. I don't know ho
34.
▲
by
pptr
3y ago
I'm all for better tools to help the compiler figure things out. Here is an example where I can't communicate the invariants to the compiler: ``` std::vector<int> v; ... v.push_back(2); std::sort(v.begin(), v.end()); /&
35.
▲
by
pptr
3y ago
Normally you allocate on the stack, so the local function owns the object. You pass (unowned) references to any function you want to call. Those functions are not concerned about RAII for those references, since they don't own them. If
36.
▲
by
pptr
3y ago
Go is a great language, but there also needs to be a language that you can program with zero overhead.
37.
▲
by
pptr
3y ago
In what way is RAII a burden? Genuinely curious, since I find it quite easy to work with.
38.
▲
by
pptr
3y ago
Well, when you are not in doubt you don't want unnecessary bounds checks.
39.
▲
by
pptr
3y ago
Being able to use a foreach loops is a decent improvement. And since you now have a proper access API, you could on theory enable bounds checks via compiler flag, even for operator[].
40.
▲
by
pptr
3y ago
C++20 added std::span, which is essentially that.
41.
▲
by
pptr
3y ago
I think the limitation is chip size/cost. SRAM is a lot less dense than RAM. According to Google this is typically used for registers and caches, which are only megabytes large.
42.
▲
by
pptr
3y ago
Why design a language? Just compile pseudo-code.
43.
▲
by
pptr
3y ago
The press release does mention Signal explicitly, so I guess companies need to enable message backups for it.
44.
▲
by
pptr
3y ago
I think there is a theoretical threat for models hosted on an external server. You could ask a question on lmsys, check your server logs for the generated response, go back to lmsys and pick the response that your model generated. Maybe you
45.
▲
by
pptr
3y ago
This. And also that text is generally select- and copyable in the browser.
46.
▲
by
pptr
3y ago
He wants 25% voting power, not own 25% of Tesla shares. Mark Zuckerberg's Facebook shares have more voting power than regular shares. It sounds like Musk wants a similar setup.
47.
▲
by
pptr
3y ago
I think one of the advantages of steer by wire is that rear steering gets a lot easier to add (which the cybertruck has).
48.
▲
by
pptr
3y ago
With proper instrumentation, the main speed difference between running your binary locally or in the cloud is the additional scheduling delay. You still need to build your code and start it. Startup time is the main productivity issue in ou
49.
▲
by
pptr
3y ago
I really enjoy the simplicity of Googles internal repo (piper). I am quite surprised that no open source variant has been created yet (that I'm aware of).
50.
▲
by
pptr
3y ago
How is DNT different from simply not giving consent in this case?
51.
▲
by
pptr
3y ago
Building a port in the north sea sounded like a terrible idea to me at first. However, I asked chatgpt and Bard and they both state that Delta-v needed to reach orbit is only 9.7 km/s versus 9.4 km/s from cape Canaveral. It's
52.
▲
by
pptr
3y ago
or a genius by getting more conservatives to buy electric vehicles.
53.
▲
by
pptr
3y ago
We can barely produce enough weapons and ammunition for Ukraine. I don't think the west's production capacity is ready for a multi front war.
54.
▲
by
pptr
3y ago
I use Google Lens for OCR in photos and the swipe-up+"select" feature for OCR in arbitrary apps/websites. That at least works for Pixel phones. Not sure about Samsung and others.
55.
▲
by
pptr
3y ago
Unfortunately, it looks like costs have stagnated in recent years: https://about.bnef.com/blog/lithium-ion-battery-pack-prices-...
56.
▲
by
pptr
3y ago
How many people actually extend the lifetime of their phone via custom firmware? I imagine most people with old phones simply continue using their devices after support ends.
57.
▲
by
pptr
3y ago
If you achieve 23x throughput without reducing the amount of work being done, does that mean GPU utilization was ~4% before? Kinda hard to believe, but I have no intuition about this.
58.
▲
by
pptr
3y ago
I don't understand the need to include "the types of websites you visit" in GPU driver telemetry. AMD's telemetry doesn't seem to include that: https://www.amd.com/en/legal/privacy/use
59.
▲
by
pptr
3y ago
I am employed at Google, though not on Chrome or Ads, nor am I doing web development. I don't have any insights into WEI besides what is publically known. I stopped declaring my employment because it's a hassle to do that on every
60.
▲
by
pptr
3y ago
Maybe there is simply not enough medical data to properly train a 500B model.
More ›