Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kccqzy
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
37 ms
·
841.
▲
by
kccqzy
10mo ago
> The "non-exclusive" label is legal fiction. When you acquire all the IP and hire everyone who knows how to use it, exclusivity doesn't matter. I have some doubts about this point. IP is IP, independent of the people who
842.
▲
by
kccqzy
10mo ago
Shallow clones themselves aren’t the issue. It’s that updating shallow clones requires the server to spend a bunch of CPU time and GitHub simply isn’t willing to provide that for free. The solution is simple: using a shallow clone means tha
843.
▲
by
kccqzy
10mo ago
I think in the protobuf example the musttail did in fact benefit from better register use. All the functions are called with the same arguments, so there is no need to shuffle the registers. The same six register-passed arguments are reused
844.
▲
by
kccqzy
10mo ago
Python’s goal is never really to be fast. If that were its goal, it would’ve had a JIT long ago instead of toying with optimizing the interpreter. Guido prioritized code simplicity over speed. A lot of speed improvements including the JIT (
845.
▲
by
kccqzy
10mo ago
Tools like qpdf makes it easy to edit a .pdf file in a text editor too. I’d argue using such tools is easier than and simpler than printing to postscript.
846.
▲
by
kccqzy
10mo ago
They are originally magic comments, unformalized. The feature is originally known as annotations and you can basically put anything there. def f(a: "something like an int", b: "another int-like thing"): pass d
847.
▲
by
kccqzy
10mo ago
You don't need PostScript for that. The PDF text commands are Tj and TJ, and rarely ' and ". They are easy to delete without going through PostScript. Tj means showing a simple text string. TJ means showing an array of string
848.
▲
by
kccqzy
10mo ago
No that's not what GP is saying. GP is saying that there is software that does not have a redaction feature (perhaps because the developer didn't implement it), but users of the software worked around it by adding a black rectangl
849.
▲
by
kccqzy
10mo ago
I did something similar about fifteen years ago. A command line utility to take screenshots. And QuickTime to convert the image sequence to a video. This was before I had heard of ffmpeg so the last bit was done with the QuickTime UI. I rem
850.
▲
by
kccqzy
10mo ago
You wouldn’t use 1fps in conjunction with GOP 60. The original article wanted exactly one key frame every 60 frames and the server drops all frames other than keyframes. I was pointing out that this is a roundabout way of achieving 1 fps.
851.
▲
by
kccqzy
10mo ago
There are so many things that I would have done differently. > We added a keyframes_only flag. We modified the video decoder to check FrameType::Idr. We set GOP to 60 (one keyframe per second at 60fps). We tested. Why muck around with P-
852.
▲
by
kccqzy
10mo ago
Plus, it is simply more enjoyable to design the types in your program than to write unit tests. The fun factor comes from operating on a higher level of abstraction and engages more of your brain’s puzzle-solving mode than just writing unit
853.
▲
by
kccqzy
11mo ago
Google certainly had a honeymoon period with Python. They hired Guido to work on some internal apps (IIRC Mondrian?). They released the original App Engine before cloud was a buzzword supporting only Python. But at some point, the default e
854.
▲
by
kccqzy
11mo ago
Well if you talk to Go programmers they value their fast feedback loop too. It doesn’t just have to be interpreted languages.
855.
▲
by
kccqzy
11mo ago
All torrent clients must necessarily support partial downloads because of the nature of torrents. The files are split into pieces which are downloaded and then assembled by the torrent client.
856.
▲
by
kccqzy
11mo ago
Yeah but these only request address space. The memory is neither readable nor writable until a subsequent mprotect call. Ideally reserving address space only shouldn’t be counted as overcommit.
857.
▲
by
kccqzy
11mo ago
Tech journalism should help. It’s basically curation. I also don’t follow CPUs constantly. When I need to buy CPUs, I go to a few publications (say Ars Technica), search their archives for discussions of CPUs published within the last two y
858.
▲
by
kccqzy
11mo ago
To me it is pretty clear that it’s being used for fun. I personally like reading nineteenth century novels more than more recent novels (I especially like the style of science fiction by Jules Verne). What if the model can generate text in
859.
▲
by
kccqzy
11mo ago
Oh definitely. One thing that immediately caught my mind is that the question asks the model about “homosexual men” but the model starts the response with “the homosexual man” instead. Changing the plural to the singular and then adding an
860.
▲
by
kccqzy
11mo ago
Yeah it reminds me of the Smyth report, published in August 1945 about atomic bombs, commissioned by the director of the real Manhattan Project. It’s fine to reveal knowledge in detail, if it doesn’t reveal anything related to constructing
861.
▲
by
kccqzy
11mo ago
Sanctioning won’t do anything. These former ASML employees know that their professional careers in the western world are finished. I bet they know when they are signing that they are going to stay in China or countries friendly with China f
862.
▲
by
kccqzy
11mo ago
Certificate transparency log is a Google project. They don’t need to scrape it. They host all the data. It’s one of those projects where Google hosts it because it thinks it genuinely improves the internet, by reducing certificate authority
863.
▲
by
kccqzy
11mo ago
I have a Roborock too. It is certainly good at quickly creating a reasonably accurate map, but it just gets stuck so easily. Things like going into an enclosed corner but unable to get out. Or going into a room, cleaning the floor just behi
864.
▲
by
kccqzy
11mo ago
It’s not a buried sentence. It’s a section heading in large font saying “ The 777-200 Problem Is Not Safety. It Is Economics.” Then there’s a whole paragraph stating “The Boeing 777-200 is not an unsafe airplane. As far as I can tell, that
865.
▲
by
kccqzy
11mo ago
That reminds me of a gimmick a while ago where GitHub would collect your repositories into an Arctic Code Vault. That was IMO a bit of an incentive for me to upload random bits of git repositories I have on my PC just so that I can say my c
866.
▲
by
kccqzy
11mo ago
You also missed the main recommendation of REINDEX INDEX CONCURRENTLY along with optionally pg_squeeze.
867.
▲
by
kccqzy
11mo ago
> a well defined schema to explain how you can interact with my site programmatically Now guess whether the AI is more likely trained on parsing and interacting with your custom schema or plain HTML.
868.
▲
by
kccqzy
11mo ago
That's only the case for non-internet connected GPS units. Throwback to the early 2000s when my family car had such a unit, which, after having been turned on, would require ~15 minutes of waiting before it became functional. Funnily,
869.
▲
by
kccqzy
11mo ago
Yeah I remember back in the early 2000s before phones had turn-by-turn navigation, there were PDAs to do it and it was common for the software to just ask whether you were driving on the surface road or an elevated viaduct.
870.
▲
by
kccqzy
11mo ago
> The only way errors or issues never happened with any of the teams you worked with is if the services they were building NEVER needed to make a breaking change to the communication channel, or they never needed to communicate. This is
More ›