breezy-mouse-20493
12/16/2023, 1:50 AMprotoc
for python:
How can I have protoc make this:
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
from . import rdu_pb2 as rdu__pb2 <-- Relative import!
...
instead of
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import rdu_pb2 as rdu__pb2 <--- fails!
Have looked around on the internet and it seems most suggestions involve adding this generated protobuf folder to the $PYTHONPATH. Since I'd rather not do this I'm coming here for some advice!breezy-mouse-20493
12/16/2023, 1:50 AMcold-jackal-89755
12/16/2023, 3:28 PMbitter-ability-32190
12/21/2023, 1:19 AMbitter-ability-32190
12/25/2023, 1:54 PMbitter-ability-32190
01/14/2024, 4:12 PMproud-dentist-22844
01/18/2024, 4:27 AMgorgeous-winter-99296
01/29/2024, 7:57 PMThe string '.go-1.21.6' is 36 long
Hex escaped: .go-1.21.6
As a list: ['/', 't', 'm', 'p', '/', 'p', 'a', 'n', 't', 's', '-', 's', 'a', 'n', 'd', 'b', 'o', 'x', '-', 'z', '7', 'F', '5', 'n', '1', '/', '.', 'g', 'o', '-', '1', '.', '2', '1', '.', '6']
After formatting: .go-1.21.6, len=36
[0]: / (47)
[1]: t (116)
[2]: m (109)
[3]: p (112)
[4]: / (47)
[5]: p (112)
[6]: a (97)
[7]: n (110)
[8]: t (116)
[9]: s (115)
[10]: - (45)
[11]: s (115)
[12]: a (97)
[13]: n (110)
[14]: d (100)
[15]: b (98)
[16]: o (111)
[17]: x (120)
[18]: - (45)
[19]: z (122)
[20]: 7 (55)
[21]: F (70)
[22]: 5 (53)
[23]: n (110)
[24]: 1 (49)
[25]: / (47)
[26]: . (46)
[27]: g (103)
[28]: o (111)
[29]: - (45)
[30]: 1 (49)
[31]: . (46)
[32]: 2 (50)
[33]: 1 (49)
[34]: . (46)
[35]: 6 (54)
Compare the length of the string with the contents! Where are all these characters coming from?! No matter what I do they are never printed when part of a string, and even multiple formatting-roundtrips preserves them. They clearly exist... but aren't visible. But they seem to be regular characters? I've never observed anything like this before. 🤯bitter-ability-32190
01/31/2024, 3:40 PMwide-midnight-78598
02/01/2024, 1:52 PMfresh-cat-90827
02/11/2024, 8:55 PMhallowed-artist-8187
02/12/2024, 3:47 AMbitter-ability-32190
02/15/2024, 11:17 PMbetter-van-82973
02/23/2024, 8:53 PMwide-midnight-78598
02/25/2024, 1:51 AMproud-dentist-22844
03/06/2024, 12:55 AMscriv
or other tools like towncrier
.fast-nail-55400
03/10/2024, 8:07 AMbetter-van-82973
03/18/2024, 6:02 PMwide-midnight-78598
03/20/2024, 1:11 AMGet
Doesn't seem to be common in the codebase 🙂
Get(CheckResults, {request: CheckRequest, env_name: EnvironmentName})
wide-midnight-78598
03/30/2024, 5:35 AMxz-utils
backdoor
Homebrew recently updated to downgrade all affected users, and the other main distros have mostly all rolled out solutionscool-yacht-37128
04/02/2024, 9:57 AMcurved-manchester-66006
04/03/2024, 5:47 PM@abc.abstractmethod
on a class that doesn't derive from abc.ABC
?wide-midnight-78598
04/04/2024, 4:06 PMcurved-manchester-66006
04/04/2024, 9:21 PMwide-midnight-78598
04/05/2024, 3:37 AMbitter-ability-32190
04/09/2024, 2:56 PMThat's a very long-winded way of saying that PyOxidizer and all the projects under its umbrella are effectively in a zombie state.
wide-midnight-78598
04/11/2024, 5:32 PMcareful-address-89803
04/17/2024, 6:33 PMcode_quality_tool
. I'd appreciate if you would give it a look over: https://github.com/lilatomic/lilatomic.ca/pull/26dazzling-diamond-4749
04/22/2024, 5:25 PM