8,431 karma · joined January 1, 2021
> 100 meter borehole into the ground
I have heard from a couple of different Swedes talking about when this was installed in their childhood/high school years. It must be reasonably common at this point in Sweden. Are there special machines that pull up to your home and bore a deep hole? That seems like very specialised work for the average contractor! Also, does the gov't offer subsidies from this (presumably) expensive home improvement?Real question: As I understand, good insulation in your home helps two ways: Keep the heat inside in the winter, and keep the cold inside in the summer. Do I have that right? If yes, I understand there are lots of places in Australia with very light winters (or none at all), so they are mostly focused on cooling with A/C. Are you saying that installing significantly better insulation is not economically efficient for many Australia homes?
Google also tells me:
> Samsung confirmed it's working with JR East to bring Suica and FeliCa support to Galaxy phones sold outside Japan starting in 2027. > Google Maps doesn't have all the operators
Can you give an example?Regarding booking train tickets, I normally recommend that people use a major, domestic tourist agency, such as JTB. The majors will have English language support. For a small fee, they can print the tickets and mail them to you, or you can pickup at an office upon arrival in Japan. For obvious reasons, they can also accept foreign credit cards.
Also on Spotify: https://open.spotify.com/episode/2hQgVUyHUjox67XgkmVbRX
The whole thing (all banks) is more than 10,000 lines of assembly code. When I wrote assembly code for a university computer science course, it was hard to manage even 200 lines. I cannot imagine writing and managing 10,000 lines!
Maybe we will look back at mid-life SO (its golden period) as something like bulletin boards in the 1990s. Once the Internet arrived, BBSes were wiped out.
... says:
> My research aims to build a general-purpose agent that can understand, reason, and act in the physical world — at the intersection of multimodal learning, generative modeling, and embodied AI.
His tweet says: > got tagged for "training a competitor,"
I don't get it. To me, it sounds like he is training a competitor. Do I misunderstand? Is there a Chinese equivalent LLM that he can use instead?Also, give the national security sensitivity around AI/LLMs, I can understand why Anthropic wants to be especially cautious with mainland Chinese researchers, including those from blocked regions (Hongkong, in this case).
> MISSING = sentinel("MISSING")
> def update_email(user_id: int, email: str | None | MISSING = MISSING) -> None:
> if email is MISSING:
> return # nothing to update
> elif email is None:
> db.delete_email(user_id)
> else:
> db.set_email(user_id, email.lower()) # narrowed to str
I see this style frequently from long time Python programmers. The language is so dynamic that people begin to think this is a good way to program. Hot take: It is not. Why not two different functions called delete_email() and set_email()? That would be more clear. > to using the larger screen instead of Mac
I wonder if the Apple product development team considered this canabalisation risk. > Screen ratios make reels-like addictive content less appealing which is great for me
This is interesting feedback! Can share more? Is it not possible to rotate the double screen vertically?What happens to these returned phones?
> lots of tools ship their own CA bundle.
Can you give an example for Homebrew? And did the package maintainer explain why?With the exception of Java, on a modern enterprise Linux box, all packages use the same CA cert pack.
This part was an interesting requirement:
> ssize_t is a POSIX thing so you'd have to define it yourself on windows.
That seems like a lot of mental gymnastics to avoid this very simple macro: > #if defined(_WIN32) && !defined(ssize_t)
> #define ssize_t SSIZE_T
> #endif
Read about the Win32 macro SSIZE_T here: https://learn.microsoft.com/en-us/windows/win32/winprog/wind...To me, this solution is more readable and maintainable:
> for (ssize_t i = count - 1; i >= 0; i--)
> {
> if (haystack[i] == needle)
> {
> *where = i;
> return 1;
> }
> }
> return 0;
Alternatively, you can use a while loop where the condition appears at the end of the loop: > size_t i = count - 1;
> while (1) // true
> {
> if (haystack[i] == needle)
> {
> *where = i;
> return 1;
> }
> if (0 == i)
> {
> return 0;
> }
> --i;
> } > Homebrew ships its own CA bundle
No trolling by this question: Can you explain your decision? I can see some pros and cons of this decision. Was it simply removing dependency upon Apple if there was a disagreement on which CA certs to trust? (You can act without permission from Apple to add/remove CA certs?) Also: How does Homebrew decide which CA certs to include/exclude? Do you get a CA cert pack from Oracle/Mozilla/Google/Microsoft/Amazon/Apple?Outside of an enterprise environment, I never thought about having multiple "golden sources" of CA certs on a single host. (I have no experience working outside of classic enterprise environments, so please do not read my surprise as immediate dismissal of this idea!) For those unaware, in enterprise environments, it is very common to use a common CA cert pack from Oracle/Mozilla/Google/Microsoft/Amazon/Apple, but add 2-5 CA certs from your own company that act as trust roots.
I did some Googling on this matter. It looks like the "Big Four" of CA cert packs are: Mozilla, Microsoft, Apple, and Google. (I guess there is one or two in China also, be leave that alone for the moment.) What happens if they are in disagreement? This is a complex problem! If anyone is involved in this process, I would like to learn more.