eth rpc restarts in prod

if everything is perfect, it should keep running for a long time, need to figure out why it restarts

eth-rpc-adapter log of blockscout
80fd5b60008083601f8401126114d0576114cf6114ab565b5b8235905067ffffffffffffffff8111156114ed576114ec6114b0565b5b602083019150836020820283011115611509576115086114b5565b5b9250929050565b60008083601f840112611526576115256114ab565b5b8235905067ffffffffffffffff811115611543576115426114b0565b5b60208301915083602082028301111561155f5761155e6114b5565b5b9250929050565b600080600080604085870312156115805761157f611289565b5b600085013567ffffffffffffffff81111561159e5761159d61128e565b5b6115aa878288016114ba565b9450945050602085013567ffffffffffffffff8111156115cd576115cc61128e565b5b6115d987828801611510565b925092505092959194509250565b6115f0816112b3565b82525050565b600060208201905061160b60008301846115e7565b92915050565b6000806040838503121561162857611627611289565b5b6000611636858286016112dc565b9250506020611647858286016112dc565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061169857607f821691505b6020821081036116ab576116aa611651565b5b50919050565b7f3c6d696e743e206e6f206d696e74207065726d697373696f6e00000000000000600082015250565b60006116e76019836111e2565b91506116f2826116b1565b602082019050919050565b60006020820190508181036000830152611716816116da565b9050919050565b7f3c6d696e7442617463683e206e6f206d696e74207065726d697373696f6e0000600082015250565b6000611753601e836111e2565b915061175e8261171d565b602082019050919050565b6000602082019050818103600083015261178281611746565b9050919050565b7f3c6d696e7442617463683e206164647220616e6420616d6f756e74206c656e6760008201527f746873206d69736d617463680000000000000000000000000000000000000000602082015250565b60006117e5602c836111e2565b91506117f082611789565b604082019050919050565b60006020820190508181036000830152611814816117d8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060608201905061185f60008301866115e7565b61186c602083018561139d565b611879604083018461139d565b949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006118bb826112f1565b91506118c6836112f1565b92508282019050808211156118de576118dd611881565b5b9291505056fea2646970667358221220e41b61bbf7b2ebbf1679e9cf18eae37bea3cd6bd9a7b131139cf397317bb7ca964736f6c63430008180033"},"msg":"✨ response"}
2024-08-14 16:47:25        RPC-CORE: getHeader(hash?: BlockHash): Header:: disconnected from wss://acala-internal-rpc.aca-api.network:8443: 1006:: Abnormal Closure
2024-08-14 16:47:37        RPC-CORE: getHeader(hash?: BlockHash): Header:: disconnected from wss://acala-internal-rpc.aca-api.network:8443: 1006:: Abnormal Closure
2024-08-14 16:47:40        RPC-CORE: call(method: Text, data: Bytes, at?: BlockHash): Bytes:: No response received from RPC endpoint in 60s
2024-08-14 16:47:40        RPC-CORE: call(method: Text, data: Bytes, at?: BlockHash): Bytes:: No response received from RPC endpoint in 60s
2024-08-14 16:47:40        RPC-CORE: call(method: Text, data: Bytes, at?: BlockHash): Bytes:: No response received from RPC endpoint in 60s
2024-08-14 16:47:40        RPC-CORE: call(method: Text, data: Bytes, at?: BlockHash): Bytes:: No response received from RPC endpoint in 60s
2024-08-14 16:47:40        RPC-CORE: call(method: Text, data: Bytes, at?: BlockHash): Bytes:: No response received from RPC endpoint in 60s
2024-08-14 16:47:40        RPC-CORE: call(method: Text, data: Bytes, at?: BlockHash): Bytes:: No response received from RPC endpoint in 60s
2024-08-14 16:47:50        RPC-CORE: getHeader(hash?: BlockHash): Header:: disconnected from wss://acala-internal-rpc.aca-api.network:8443: 1006:: Abnormal Closure
2024-08-14 16:47:50        RPC-CORE: getHeader(hash?: BlockHash): Header:: No response received from RPC endpoint in 60s
2024-08-14 16:47:50        RPC-CORE: getHeader(hash?: BlockHash): Header:: No response received from RPC endpoint in 60s
2024-08-14 16:47:50        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:50        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:51        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:51        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:52        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:52        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:53        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:53        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:54        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
_onNewFinalizedHead task failed, give up 0x4118b4550f421e8cad8583a0d44593aefcc59cb7613946cc4c197ddf88d54ef0 Error: No response received from RPC endpoint in 60s
2024-08-14 16:47:54        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
_onNewFinalizedHead task failed, give up 0x588c3eb814658ae5a066a99d5748e45543c01ed159bc483c043a2c38f247ff9d Error: No response received from RPC endpoint in 60s
2024-08-14 16:47:56        RPC-CORE: getStorage(key: StorageKey, at?: BlockHash): StorageData:: No response received from RPC endpoint in 60s
2024-08-14 16:47:56        RPC-CORE: getStorage(key: StorageKey, at?: BlockHash): StorageData:: No response received from RPC endpoint in 60s
2024-08-14 16:47:56        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:56        RPC-CORE: getStorage(key: StorageKey, at?: BlockHash): StorageData:: No response received from RPC endpoint in 60s
2024-08-14 16:47:56        RPC-CORE: getStorage(key: StorageKey, at?: BlockHash): StorageData:: No response received from RPC endpoint in 60s
2024-08-14 16:47:56        RPC-CORE: getStorage(key: StorageKey, at?: BlockHash): StorageData:: No response received from RPC endpoint in 60s
2024-08-14 16:47:56        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:56        RPC-CORE: getStorage(key: StorageKey, at?: BlockHash): StorageData:: No response received from RPC endpoint in 60s
2024-08-14 16:47:57        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:57        RPC-CORE: getStorage(key: StorageKey, at?: BlockHash): StorageData:: No response received from RPC endpoint in 60s
2024-08-14 16:47:57        RPC-CORE: getBlock(hash?: BlockHash): SignedBlock:: No response received from RPC endpoint in 60s
2024-08-14 16:47:57        RPC-CORE: getStorage(key: StorageKey, at?: BlockHash): StorageData:: No response received from RPC endpoint in 60s
/app/node_modules/@polkadot/api/cjs/base/Init.js:148
            throw new Error('Unable to retrieve header and parent from supplied hash');
                  ^

Error: Unable to retrieve header and parent from supplied hash
    at ApiPromise._getBlockRegistryViaHash (/app/node_modules/@polkadot/api/cjs/base/Init.js:148:19)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

It seems that eth_getCode puts too much load on the node
{"level":20,"time":1723653985713,"pid":1,"hostname":"8a0d379858a8","dd":{"trace_id":"1587659674534353339","span_id":"6269908281131761906","service":"eth rpc","version":"2.8.7"},"0":{"id":0,"jsonrpc":"2.0","method":
"eth_getCode","params":["0x0000000000000000000000000000000000000000","0x564100"]},"1":{"id":1,"jsonrpc":"2.0","method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","0x564101"]},"2":{"id":2,"
jsonrpc":"2.0","method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","0x5641B5"]},"3":{"id":3,"jsonrpc":"2.0","method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","0
x5641B5"]},"4":{"id":4,"jsonrpc":"2.0","method":"eth_getCode","params":["0x2abb17f36fed70412efbe2a10f639fc28b6dd4b9","0x59A043"]},"5":{"id":5,"jsonrpc":"2.0","method":"eth_getCode","params":["0x125a0384792b3505da5c
3a571c973cf14f605954","0x59A043"]},"6":{"id":6,"jsonrpc":"2.0","method":"eth_getCode","params":["0x52466a4759be5bfb880e38dc90dc4c2ec8ad9fcb","0x59A0D4"]},"7":{"id":7,"jsonrpc":"2.0","method":"eth_getCode","params":
["0x3f20a40d596dda7a1093f5277bf333fa1a701a5d","0x5B8B8C"]},"8":{"id":8,"jsonrpc":"2.0","method":"eth_getCode","params":["0x0000000000000000000000000000000000000000","0x1F4610"]},"9":{"id":9,"jsonrpc":"2.0","method"
:"eth_getCode","params":["0x45c720c13fa1b5504d283d441e35cb4156f727db","0x5B8B86"]},"msg":"⬇ request"}


"Open stream in browser" not functional on Linux

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
I cannot use the "Open stream in browser" function on Chatterino 7.3.4. However, when I tried this on Chatterino 2.3.4 it worked fine. I'm using Firefox as my main browser if that makes any difference.
Screenshots
No response
OS and Chatterino Version
Chatterino 7.3.4 (commit 2d3fe1fe) on Kubuntu 21.10

Anything in terminal?

I tried running it in terminal and now when I try to open a stream in the browser it outputs Segmentation fault (core dumped).

Cannot reproduce on Linux Mint 20.3

issue on upstream, xdg-open is broken on your distro.


Loaded weights with error during training

Self Checks

[X] This template is only for bug reports. For questions, please visit Discussions.
[X] I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
[X] I have searched for existing issues, including closed ones. Search issues
[X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[X] [FOR CHINESE USERS] 请务必使用英文提交 Issue，否则会被关闭。谢谢！:）
[X] Please do not modify this template and fill in all required fields.

Cloud or Self Hosted
Self Hosted (Source)
Environment Details
WSL2, python3.10, all envs build just follow the introduction from document.
Steps to Reproduce
The strange warning displayed every time when running the train.py(or webui from manage.py) either 1.5 or 1.4.3 here.
I'm nor sure is it common situation during train process and some friends said that's definitely abnormal.
Fig1 from 1.5 and Fig2 from 1.4.3.

✔ Expected Behavior
everthing goes well
❌ Actual Behavior
The model file can be created (normally?) and merged.
But the train speed is quite slow and the warning will be displayed again when merging.
Furthermore, the accuracy from Top5 hardly increase slightly and the inferenced voice by this strange model is also weird.

some issue said that's the problem from GPU but is there anyway to avoid or bypass it? How did this problem arise?QAQ


Add read_region function

This is a draft for a read_region function. Currently the offsets are not yet taken into account, but that should be easy enough. Do I understand they are floats? Then we'd need to implement interpolation. I see indeed the white margin in other levels, but perhaps they also round it somehow.
Anyway, this is a draft. Let me know what you think and I can proceed with it. I think we need a function that checks if the tile is actually empty, so we don't need to go and fetch a huge amount of them.

Thank you! I'll test it as soon as I can. I'll ask @alex-virodov to review as well.
I think this could be a good starting point. I think the performance might be somewhat suboptimal (we're not yet pipelining it efficiently), but that's a broader problem that needs tackling.

Currently the offsets are not yet taken into account, but that should be easy enough. Do I understand they are floats?

Yes, when I wrote that code, I calculated the offset in microns (floating point) because Slidescape mostly keeps track of its coordinates in microns instead of pixels. However, there is no need to do this for libisyntax, it would be best to calculate the offset in pixels. I think the amount should be ((3 >> (scale-1)) - 2) for scale >= 1 (see here).
I think it's a good idea to have bgra_to_rgba() available as a helper function, however I was actually thinking more along the lines of adding an RGBA variant of convert_ycocg_to_bgra_block() and then have isyntax_load_tile() return RGBA pixels directly if so desired. The bool decode_rgb parameter could be maybe changed to an enum(-like) parameter to specify the desired pixel format.

Yes, sure, it’s a draft. Feedback how you want it implemented is useful! Good idea to change the mode with an enum.
I will replace the offset thing, but I think your formula doesn’t work. For scale = 7 doesn’t that yield -2? I found 11 experimentally.

I will replace the offset thing, but I think your formula doesn’t work (at least I don't understand yet how to use it). For scale = 7 it gives 382, and it is not clear to me what it should be. Do you know? Experimentally (that’s also what the computation gives using the mpp) I found 11 to work for level 7.

For level 7 I think it should be 190 == ((3 << (7-1)) - 2), in terms of pixels at the base level (level 0). Sorry, it should be shift left, not right (I messed up in my comment line there). To be honest for me this is also somewhat 'trial and error'!

I've added a tool that will compile when LibTIFF is available on the system that's able to convert to tiff #6. It's reasonably fast (<15 minutes) on my M1 laptop for a normal size H&E.
One thing I encountered is that the offsets for the levels are only set for levels > 0. I need to verify if that is actually true (I don't think so, but need to double check!)

I added some of the changes I needed to do to make such a read_region to a different PR #10. I think we can probably agree faster on the implementation of these changes.

Converting an 1.2GB isyntax file to 1.89GB jpeg bigtiff (quality=80) gives visually good quality results. Conversion takes ±20 minutes. If performance improvements can be made to read_region that would be great :-)

Converting an 1.2GB isyntax file to 1.89GB jpeg bigtiff (quality=80) gives visually good quality results. Conversion takes ±20 minutes. If performance improvements can be made to read_region that would be great :-)

I would use the PHOTOMETRIC_YCBCR colorspace as default instead PHOTOMETRIC_RGB, because the chroma subsampling will help to reduce the filesize substantially without significant loss in quality (as far as my eye can tell).

That’s smart. I’ll test it as well.

I'm closing this for now, I will make a new PR that is up-to-date with the other changes.

I'm closing this for a new PR.


Unable to get local issuer certificate when activating Bruno Golden Edition

Hello,
I'm trying to activate Bruno Golden Edition, however I met with this error. My computer is behind a ZScaler VPN. I tried adding a custom CA certificate in the setting but doesn't seem to help either. I'm wondering if I could use a tool like keytool to import the ZScaler certificate. I've done that before for some applications.

Same here.  Also behind ZScaler, though I often wish I could rip that piece of **** out with hot tongs.


fix: add missing owner field.

Summary

add missing token owner field.

Thank you for quick review! @platfowner now merging...


StartSample.bat fails on Windows

IMPORTANT: Before you create an issue, please take a look at our Issue Reporting Guide.
Briefly summarize your issue:
StartSample.bat fails to start the sample app, it falls over before authorization step
What is the expected behavior?
Expect to get to authorization step
What behavior are you observing?
I get a segmentation fault before authorization, however it looks like it is related to the MediaPlayer creation
$ ./SampleApp.exe C:/msys64/home/Brian/build/Integration/AlexaClientSDKConfig.json DEBUG9
configFile C:/msys64/home/Brian/build/Integration/AlexaClientSDKConfig.json
Running app with log level: DEBUG9
2021-09-01 13:10:54.958 [  1] I AlexaClientSdkInit:initialize:sdkversion=1.25.0
2021-09-01 13:10:54.958 [  1] I AlexaClientSdkInit:initialize:curlVersion=7.78.0
2021-09-01 13:10:54.959 [  1] 0 ConfigurationNode:initializeSuccess
2021-09-01 13:10:54.962 [  1] 5 SDKPrimitivesProvider:getInstance
2021-09-01 13:10:54.962 [  1] 5 SDKPrimitivesProvider:withTimerDelegateFactory
2021-09-01 13:10:54.962 [  1] 5 SDKPrimitivesProvider:isInitialized
2021-09-01 13:10:54.962 [  1] 5 SDKPrimitivesProvider:initialize
2021-09-01 13:10:54.962 [  1] 5 SDKPrimitivesProvider:isInitialized
2021-09-01 13:10:54.962 [  1] 5 CustomerDataManager:createCustomerDataManagerInteface
2021-09-01 13:10:54.962 [  1] 5 SQLiteLWAAuthorizationStorage:createLWAAuthorizationStorageInterface
2021-09-01 13:10:54.963 [  1] I LocaleAssetsManager:initialize:supportedWakeWords=NONE
2021-09-01 13:10:54.963 [  1] I DeviceInfo:create:result=skipDeviceType,key=deviceType
2021-09-01 13:10:54.963 [  1] I DeviceInfo:create:result=skipFriendlyName,key=friendlyName
2021-09-01 13:10:54.963 [  1] I DeviceInfo:create:result=skipRegistrationKey,key=registrationKey
2021-09-01 13:10:54.963 [  1] I DeviceInfo:create:result=skipProductIdKey,key=productIdKey
2021-09-01 13:10:54.963 [  1] 9 PowerMonitor:getInstance
2021-09-01 13:10:54.963 [  1] 9 PowerMonitor:createLocalPowerResource:identifier=Executor:0
2021-09-01 13:10:54.963 [  1] 9 PowerMonitor:isActiveLocked:isActiveLocked=false
2021-09-01 13:10:54.963 [  1] 5 CBLAuthDelegate:createAuthDelegateInterface
2021-09-01 13:10:54.963 [  1] 5 CBLAuthDelegate:CBLAuthDelegate
2021-09-01 13:10:54.963 [  1] 5 CBLAuthDelegate:init
2021-09-01 13:10:54.963 [  1] 5 LWAAuthorizationConfiguration:create
2021-09-01 13:10:54.963 [  1] 5 LWAAuthorizationConfiguration:init
2021-09-01 13:10:54.963 [  1] 5 LWAAuthorizationConfiguration:initScopeData
2021-09-01 13:10:54.963 [  1] 9 LWAAuthorizationConfiguration:initScopeDataSucceeded
2021-09-01 13:10:54.963 [  1] 5 SQLiteCBLAuthDelegateStorage:open
2021-09-01 13:10:54.963 [  1] 5 SQLiteLWAAuthorizationStorage:open
2021-09-01 13:10:54.964 [  1] 1 InMemoryEqualizerConfiguration:validateConfiguration::Validating Equalizer configuration
2021-09-01 13:10:54.964 [  1] 1 InMemoryEqualizerConfiguration:validateConfiguration::Validating default Equalizer state
2021-09-01 13:10:54.964 [  1] 1 InMemoryEqualizerConfiguration:validateConfiguration::Validating Equalizer configuration
2021-09-01 13:10:54.964 [  1] 1 InMemoryEqualizerConfiguration:validateConfiguration::Validating default Equalizer state
2021-09-01 13:10:54.965 [  2] 5 CBLAuthDelegate:handleAuthorizationFlow
2021-09-01 13:10:54.965 [  2] 5 CBLAuthDelegate:handleStarting
2021-09-01 13:10:54.965 [  2] 5 SQLiteCBLAuthDelegateStorage:getRefreshToken
2021-09-01 13:10:54.965 [  2] 5 SQLiteLWAAuthorizationStorage:getRefreshToken
2021-09-01 13:10:54.965 [  2] 0 SQLiteLWAAuthorizationStorage:getRefreshTokenFailed:reason=stepResultWasNotRow
2021-09-01 13:10:54.965 [  2] 0 CBLAuthDelegate:getRefreshTokenFailed
2021-09-01 13:10:54.965 [  2] 5 CBLAuthDelegate:handleRequestingCodePair
2021-09-01 13:10:54.965 [  2] 5 CBLAuthDelegate:requestCodePair
2021-09-01 13:10:54.965 [  2] 0 CurlEasyHandleWrapper:initializeNetworkInterfaceName:m_interfaceName=
2021-09-01 13:10:54.965 [  1] 9 MediaPlayer:createCalled:name=SpeakMediaPlayer
2021-09-01 13:10:55.442 [  2] 5 HttpPost:doPostSucceeded:code=200
2021-09-01 13:10:55.444 [  2] 5 CBLAuthDelegate:receiveCodePairResponse:code=200
2021-09-01 13:10:55.444 [  2] 5 CBLAuthDelegate:mapHTTPStatusToError:code=200,error=SUCCESS
2021-09-01 13:10:55.444 [  2] 5 CBLAuthDelegate:setAuthError:authError=SUCCESS
2021-09-01 13:10:55.444 [  2] 9 ThreadPool:obtainWorker:created=0,obtained=0,releasedToPool=0,releasedFromPool=0,outstanding=0
2021-09-01 13:10:55.444 [  2] 5 CBLAuthDelegate:handleRequestingToken
2021-09-01 13:10:55.444 [  2] 5 CBLAuthDelegate:requestToken
2021-09-01 13:10:55.459 [  3] 9 TaskThread:startThread:moniker=  3,duration=15609
Segmentation fault
Provide the steps to reproduce the issue, if applicable:
Fresh install of the sdk, registered product etc and double click on the startsample.bat
(If I replicate the steps of the batch file in a ming64w console you can see the segmenation fault at the end)
Tell us about your environment:

What version of the AVS Device SDK are you using?
  1.25.0

Tell us what hardware you're using:

[x ] Desktop / Laptop
[ ] Raspberry Pi
[ ] Other - tell us more:

Tell us about your OS (Type & version):

[ ] Linux
[ ] MacOS
[ ] Raspbian Stretch
[ ] Raspbian Jessy
[ x] Other - tell us more:
windows 10 pro
Version	10.0.19042 Build 19042

This was caused by earlier build problems I had with building the sample app, I will add them as a seperate ticket.


Issue 101

fixes #101
fixes #96
fixes #58

see https://github.com/reallyenglish/ansible-role-example/pull/105/commits/6d01c59b15aed1b4479c1aee8299a0ad58730c63 and if you have any ideas, please leave comments

no idea. a quick search gave:
https://github.com/adrienverge/yamllint
https://github.com/shortdudey123/yamllint


Why are OrderedDicts used in the model interface?

Hi all,
I have to run a lot of FBA simulations and looking for places to speed them up. I am mainly interested in getting the reduced_costs, constraint_values, shadow_prices, ... as fast as possible from the model.
I had look at the interface.Model and wondered myself why are there OrderedDicts used for this values (in comparison to simple dict). This creates unnecessary overhead, costs performance and I don't see any benefits to it.
Or are there any algorithms relying on the order of the variables or constraint ids ?
If not all the OrderedDicts should be replaced with simple dicts in the interface.
In addition you should hash the names of your variables, constraints, ...
On every query of reduced costs, ... you reiterate and recalculate for instance the list of variable names
(variable.name for variable in self.variables)
There should be some property/field
variable_names, constraint_names
on the Model class which are just updated when new variables are added/removed.
    @property
    def reduced_costs(self):
        if self.is_integer:
            raise ValueError("Dual values are not well-defined for integer problems")
        try:
            return collections.OrderedDict(
                zip((variable.name for variable in self.variables), self.problem.solution.get_reduced_costs()))
        except CplexSolverError as err:
            raise SolverError(str(err))

    @property
    def constraint_values(self):
        try:
            return collections.OrderedDict(
                zip((constraint.name for constraint in self.constraints), self.problem.solution.get_activity_levels()))
        except CplexSolverError as err:
            raise SolverError(str(err))

M

https://stackoverflow.com/questions/25056387/ordereddict-vs-dict-in-python
~ speedup of 7-8x for creation dict vs. orderdDict
But the opinions/benchmarks differ. But if not needed for anything other than we have the ids ordered, than drop the OrderedDicts (the very few use cases where one needs ordered keys people can sort).

Also it looks like there are functions to get all the names at once
self.problem.variables.get_names()
instead of
(variable.name for variable in self.variables)

Regarding the ordered dicts, I think the only reason for using them is for convenience, and changing them to dict would not backwards compatible. Have you done any benchmarks that show that construction of the OrderedDict is the bottleneck, as opposed to actually getting the values from the solver?
Regarding caching the names I doubt that the attribute lookup performed when getting the name of a var/constraint makes a practical difference. A quick test shows me that each attribute lookup takes on the order of 10 ns. This is not worth trading for the extra complexity of maintaining a list of names, imo.

I did some benchmarks for some similar thing and saw a factor of 10 for OrderedDicts compared to Dicts (see below).
Backwards compatibility I don't understand. OrderedDicts behave like dicts in almost every context (iteration, access).
Only difference is that the keys are ordered, but I did not see any code which relies on that the keys of the dict are ordered (at least in cobrapy).
Here some quick benchmark.
import cobra
from collections import OrderedDict
from pandas import Series
sbml_path = "iAB_RBC_283.xml"
model = cobra.io.read_sbml_model(sbml_path)
model.optimize()

var_primals = model.solver.primal_values
rxn_index = [rxn.id for rxn in model.reactions]
data = [var_primals[rxn.id]-var_primals[rxn.reverse_id] for rxn in model.reactions]

%timeit -n 1000 fluxes = dict(zip(rxn_index, data))
1000 loops, best of 3: 48.3 µs per loop

%timeit -n 1000 fluxes = OrderedDict(zip(rxn_index, data))
1000 loops, best of 3: 519 µs per loop

You are only benchmarking the construction of the dicts themselves. How does this compare to the total time it takes to get the primals from the solver?

Hi @KristianJensen,
I looked a bit at the code and would like to contribute some functions to the Model interface.
My real problem is mainly that I can't get via optlang the arrays with
var_primals and var_duals
in a fast way (the OrderedDict is just a symptom of the underlying main problem).
I would like to contribute on interface.Model (and cplex_interface.Model / glpk_interface.Model) the functions:
def primal_values_array(self):
def reduced_costs_array(self):
def variables_ids(self):

which directly return the array of the respective solvers (making use of the solver vector functions to return these arrays)
and a function which allows to get the list of variables from the model. Than for a given problem I can just query the variable ids once and get very fast the solution arrays.
Than I wouldn't have to interact with OrderedDicts and avoid the element wise copy of numerical values from the arrays which are performed currently.
Is this okay?

I was actually thinking of refactoring the value retrievals in a similar way. If you want to give it a go, that would be very welcomed.
The refactoring would be the following (very close to what you describe):

In each solver interface, the Model class would have the methods _get_primal_values(), _get_constraint_values(), _get_reduced_costs() and _get_shadow_prices()
These methods would just directly return whatever array-like object the solver returns.
The current properties (primal_values, shadow_prices etc) could then be moved to interface.py and call the respective _get_{something} methods.

The idea behind this is as you describe, that someone who is very concerned with performance can use these methods directly.
I don't see a reason to add a variable_ids methods since, as I mentioned earlier, just doing [var.name for var in model.variables] will be very fast.

Just a small point, if you do intend for the get methods to be used (albeit by a small number of users), I would vote for dropping the initial underscore marking them as private as they are intended to be part of the public class interface.

@Midnighter For now I would like to keep the underscore, exactly so that they're not part of the public interface.

I will try to implement this.
How should I call the respective id functions
_get_variables_ids(), get_constraints_ids() ?

with underscore both: _get_variables_ids(), _get_constraints_ids() ?

I have a first version in
https://github.com/biosustain/optlang/pull/101
still have to fix up some smaller things, but this is how I would change it.
Feedback welcome.
This allows easily to get the vectorized primals, duals, ... for glpk and cplex.
I would like to use numpy arrays but did not want to add the dependency, so going for lists right now.
Let me know if it is okay to add numpy.

This can be closed with merge of #101.
Everything answered.


Add ParquetError::NeedMoreData mark ParquetError as non_exhaustive

Which issue does this PR close?

Part of #6447.
Rationale for this change
ParquetMetaDataReader currently uses ParquetError::IndexOutOfBound to indicate the need for more data. This is not the intended use for IndexOutOfBound.
What changes are included in this PR?
Adds a  new enum value NeedMoreData.
Are there any user-facing changes?
Yes, this changes the ParquetError API as well as ParquetMetaDataReader.

Thank you for your help and patience @etseidl


paratest reports incorrect coverage data

I am having a problem with the code coverage reports that are produced by paratest. When I run my test directly in phpunit i get 100% coverage. When I run the test in paratest I get 82%.
phpunit

paratest

This sounds like #89. I have the same problem with latest PHPUnit version. The opening/closing braces of class/method are reported as non-covered by paratest, while PHPUnit own coverage report doesn't mention lines with them at all.
Maybe coverage merger assumes that all lines are not covered from the start, but that's not true. Maybe the xdebug stopped to report braces in it's report and PHPUnit just adapted somehow.
Part from clover.xml generated by ParaTest:
<line num="53" type="stmt" count="0"/>

any update on this?

Nope.
It must be an issue deep in the xdebug code. Looks buggy to me... In the original report, the closing braces my make sense, but line 86 and 93 should be green and aren't. Merging multiple buggy reports to one that is not buggy seems bad.

Are we using PHP_CodeCoverage native merger or our own merger?

The native one.
https://github.com/brianium/paratest/blob/master/src/ParaTest/Coverage/CoverageMerger.php#L34
\ParaTest\Coverage\CoverageMerger is only a wrapper...

any update on this? (2)

I think this issue has to be tested in isolation on https://github.com/sebastianbergmann/php-code-coverage and if it is really independent of paratest, it has to be reported/fixed upstream in that project.

I can confirm that, at least for my use case (and @GuilhermeGuitte), this is no longer a bug. I guess that php-code-coverage has been fixed and the coverage is now correct.

@justechn can you confirm that, too?

I am no longer working on the project that I reported this from so I cannot confirm. I am ok if you close it.


Support richer text procedure descriptions, including markdown support

Currently, procedure documentation simply renders a standard text string.
 .meta({ description: "My Description" })

This is limiting, and it would be relatively simple to allow for rendering markdown.
 .meta({ description: "Normal text **BOLD WARNING** [link to docs](https://trpc.io/docs)" })

This is supported in standard swagger documentation


⚠ Processors has degraded performance

In 6faa063, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 49 ms

Resolved: Processors performance has improved in 4d52d4d.


Fixed the rate limit exceed of GitHub API on contributors page

Fixes Issue🛠
Closes #1423
Description👨💻
Summary of changes made:

added an avatar fallback svg
added a loading spinner for contributors loading
added lazy loading for avatars of contributors
added error message if fetching contributors fails
implemented infinite scroll (fetch on scroll) for contributors with perPage as 20
removed contributor.url fetch and instead using contributor.login that is username for displayName
added a total contributions bubble at top right of each contributor's avatar

Type of Change📄

[x] Bug fix (non-breaking change which fixes a bug)
[x] New feature (non-breaking change which adds functionality)
[x] Style (non-breaking change which improves website style or formatting)

Checklist✅

[x] I am an Open Source contributor
[ ] I have performed a self-review of my code
[x] My code follows the style guidelines of this project
[x] I have commented on my code, particularly in hard-to-understand areas

Screenshots/GIF📷

Mobile View
Desktop View

Old Contributor Card
New Contributor Card

Disclaimer
In my local development I used a dummyData.json file with the first 100 contributors data copied from one of the fetch queries done by the deployed site. But as I dont have netlify deployment, I havent tested it with nelify functions in production environment although I am confident my code will function properly in prod aswell. I will still request you to test the output of this PR in prod prior to merging in main. And let me know if just in case any issue arises.

@Rakesh9100 Hey, sorry for mentioning you, but could you please review this PR. Although I had given a disclaimer above, on the dev deployment link - https://deploy-preview-1426--beautiify.netlify.app/
Of netlify, the contributors page is functioning properly, contributors are being fetched and rendered with scroll and lazy loading is also in place for split second delay of avatars. The contribution count bubble is also visible at the top right corners of the avatars of the respective contributor.

Great work! The code is clear, functional, and seamlessly fixes the bug while adding the feature. Keep contributing!! @ThePhoenix08


Folds query

Sorry if this repo is not the place to ask the following, but could we add a queries/folds.scm to improve nvim-treesitter folding? Right now, since there isn't such file, we are falling back to the @scope captures in the locals query and folding capabilities are limited.

Thank you, @akinsho! I'll do that and close this issue.


Add reference to SDR GitHub

Consider referencing the Azure SDR GitHub: https://github.com/microsoft/azure-software-radio/blob/main/pages/devvm.md here and add clarifying language that the customer can utilize the SDR to develop their own virtual RF modems to integrate into AOGS.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: fa1b40c1-7456-dd6b-563e-5bf2b7912ad9
Version Independent ID: 2534bf43-bcfe-e738-8c03-ae7263cf28db
Content: Configure the RF chain - Azure Orbital
Content Source: articles/orbital/modem-chain.md
Service: orbital
GitHub Login: @hrshelar
Microsoft Alias: hrshelar

@altrivis
Thanks for your feedback! We will investigate and update as appropriate.


Notes marked as "ignore" still appear with the default algorithm

Hello! I've been using this plugin for about a week now.
I toggled the Use review frequency option and marked several notes as "ignore", but I can confirm that they still appear with the default algorithm, out of my 1000+ notes.
Please check to see if there is something wrong. Thanks for your work! :)

@ouatis thanks for the report. will look into it as soon as I get some free time. cheers!

One more little problem...
Use review frequency option still toggled. It seems that after clicking Mark Note As Reviewed Today, it automatically adds a "review-frequency: normal" right above the second "---" of the YAML front matter.
In this case, if a note additionally uses "---" as a split line, the review-frequency line will be added above the split line, instead of inside the YAML, which is a bit annoying.
These two issues don't really affect my daily use much. So please take your time!

should be fixed in 0.5.6.


Incorrect Resistance for Radiation Hazard Damage

Magic Effect for Radiation Hazard Damage attached to various Radiation Hazard Spells has incorrect resistance values.
It's listed to use Corrosive as the resistance stat to prevent Soak and Environment Damage, instead of Radiation.
What happens is that whenever Soak or Environment Damage is delt, the game uses Corrosive stat to determine Environment Damage and Soak, instead of Radiation resistance stat.

Details
Magic Effect:
Form ID 0021BBD4 (Editor ID: ENV_DMG_Radiation_Hazard_Damage_Effect)
Resist Value is "ENV_Resist_Corrosive "Corrosive Hazard Resistance" [AVIF:00248D30]".
It should be "ENV_Resist_Radiation "Radiation Hazard Resistance" [AVIF:00248D2F]".
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps

Check Form ID 0021BBD4 in xEdit!
Have an awesome day! :-)

The same issue applies for Form ID 003CBFE0, ENV_DMG_Thermal_Weather_Soak_Effect. Found by "redxavier"

The same issue applies for ENV_DMG_Thermal_Weather_Soak_Effect
Bro... is this why if a corrosive atmosphere depletes your protection, you can then get frostbite super fast!?

@Tremaparagon
Not really. I've checked and Corrosive Weather only has a chance to apply Burns and Poisoning if it were to deplete your Suit Protection.
Getting Frostbite is so common because random cold afflictions consist of two types, Frostbite and Hypothermia. If the dice roll says that you should get an affliction, Frostbite has a 3/4 chance of happening while Hypothermia is 1/4, so if you are on a planet with cold extreme weathers or thermal cold waters or gas vents, you'll have a pretty high chance of getting it because of this.
It does kinda make sense too I guess. Space suits can get pretty cold because they have to disperse your body heat, so if its cold af outside, well, there you go.

Found a new Magic Effect with incorrect Resist Value, 002218DF

Another one, 001F7630.
Should be the last one. I've checked all ENV Magic Effects.

@Naith
To clarify, I mean on a planet that is both extremely cold and corrosive. What I had thought could be happening with my original interpretation was: your corrosive protection gets depleted earlier, and then subsequently the cold weather environmental damage, (not the corrosive atmos), has a higher chance  of causing affliction if it is looking at the wrong resist.


DataLabels are missing in a stacked bar chart with negative values

Checklist

[X] I updated the card to the latest version available
[X] I cleared the cache of my browser
[X] I verified that I'm really running the lastest version in my browser console
[X] I checked if there is another issue opened with the same problem

Describe the bug
With a stacked bar chart, the datalabels are not showed for negative series.
I searched the same bug for apexchart and it seems that was already fixed
https://github.com/apexcharts/apexcharts.js/issues/2640
Version of the card
Version: v1.10.0
To Reproduce
This is the configuration I used:
type: custom:apexcharts-card
stacked: true
graph_span: 7d
span:
  start: day
  offset: '-6d'
header:
  show: true
  title: Daily consumption
  show_states: false
all_series_config:
  type: column
  unit: kWh
  show:
    legend_value: false
series:
  - entity: sensor.wibeee_vertido_red_energy
    name: Returned to grid
    type: column
    opacity: 0.7
    color: '#dc32ff'
    float_precision: 1
    invert: true
    group_by:
      func: diff
      duration: 1d
    show:
      datalabels: true
  - entity: sensor.wibeee_autoconsumo_energy
    name: Autoconsumption
    type: column
    opacity: 0.7
    color: '#ffc72d'
    float_precision: 1
    group_by:
      func: diff
      duration: 1d
    show:
      datalabels: true
  - entity: sensor.wibeee_consumo_red_energy
    name: Grid consumption
    type: column
    opacity: 0.7
    color: '#50adf4'
    float_precision: 1
    group_by:
      func: diff
      duration: 1d
    show:
      datalabels: true

Screenshots

Expected behavior
I would like that datalabels will display also for negative series

I believe that's a bug with the library I use. Not much I'll be able to do if that's the case but I'm going to check if it has been fixed in a newer release.

Hello, any news with that? Thanks

I've updated the library in the latest beta release, it might have fixed the issue (I didn't test).
If it didn't, there's not much I can do about it.


Add test user register

Description:
Description of your changes.
New imports / dependencies:

package

Unit Tests:

apps/volontulo/tests/views/test_auth.py

What tests do I need to run to validate this change:
Description of testing workflow and potential affected places.

Codecov Report

Merging #1042 into master will increase coverage by 0.52%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1042      +/-   ##
==========================================
+ Coverage   90.54%   91.07%   +0.52%
==========================================
  Files         114      115       +1
  Lines        2677     2690      +13
  Branches       31       31
==========================================
+ Hits         2424     2450      +26
+ Misses        249      236      -13
  Partials        4        4

Impacted Files
Coverage Δ

...ps/volontulo/tests/views/api/test_user_register.py
100% <100%> (ø)

backend/apps/volontulo/views/api.py
86.18% <0%> (+7.18%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7f415af...8df653e. Read the comment docs.


basePath double slash issue

I know that the actual issue comes from aws api gw export functionality, which renders server url with url/{basePath} and the variables again with a /xyz.
Event though not caused by any of this code here, would you accept a PR which is patching this in apidoc.json lambda?
Cheers

Hey @cfuerst ,
yes, a PR is highly welcome 🚀

Awesome, thanks!
Ill hand in a pr, going trough all server urls and variables, removing the  starting / at the variable on concatenation // match. Pretty sure this should not break anything for anyone.

@cfuerst 🚀 thank you!
I think this is also resolved with https://github.com/pepperize/cdk-apigateway-swagger-ui/pull/127


Support branching feature

From time to time, I’d like to diverge to rather minor topic than the current one to explore some concept more deeply; after that I want to get back the original topic.
Such process is inherently having a tree structure, so with branching feature, we can achieve such use cases.
For now I’m relying on regeneration feature to emulate it, but it forces to regenerate semantically insignificant message just to mark a check point, also cannot branching from a message which has children already.
Fortunately enough, with #55, implementation is almost there, this extension should be straightforward by adding a button to AI generated message to be able to start from there afterward.

Hey thanks for the feedback.
If I'm understanding correctly, I think this is already somewhat possible by editing the message following the response you want to branch off from. It's an extra step but I believe has the desired effect?

Hey thanks for the feedback.
If I'm understanding correctly, I think this is already somewhat possible by editing the message following the response you want to branch off from. It's an extra step but I believe has the desired effect?

Currently, there is no straightforward way to edit the message already sent. The only way to do it is clicking the regeneration to branch off from the last prompt from the user, not from the response from the AI, which is usually where the user want to branch off. Also, it is not possible with that workaround to branch off from the message which has children already.  Only able to branch off from “What’s your name”.

From implementation perspective, I think it would be sufficient to add a edit message button for all the messages generated by user; and allow to edit the message in place.

From the implementation perspective, I think it would be sufficient to add a edit message button for all the messages generated by user; and allow to edit the message in place.
I’ll work on that on my free time.

Sorry I guess I was confused because there is already an edit function for all user messages and it allows editing in place. You can see it when you hover over the message. But I think you're talking about Bing/Sydney because this is exclusive to ChatGPT.
With Bing/Sydney here are my notes from @wtlyu who came up with regenerating for those models:
Regenerating creates a new request, but with a parameter that tells the server not to save the second userMessage and to connect the response parentMessageId to the first userMessage. This trick allows the response to be connected to the previous message, making it seem like a branching conversation. However, he suggests that this may actually be a bug because stopping generating or regenerating can cause new conversations to be created. and to quote directly: "My answer becomes that: regenerate and stop generating should not be enabled in bingai and sydney. because If you stop generating, the only thing you can do is create a new conversation. If you regenerate, the first response message cannot be appended new message."

As far as I know, the message tree totally fine with the Sydney as it always open new conversion for each user prompt, and injecting all the conversation in the context into the previousMessages. So, for Sydney it shouldn't be a problem, and actually, the edit feature should be enabled for Sydney also.
For the plain bing AI, I think @wtlyu is right if we cling with the chatgpt-api, which doesn't allow to inject the context into previousMessages if we don't enable the jailbreak mode.

Sorry I guess I was confused because there is already an edit function for all user messages and it allows editing in place. You can see it when you hover over the message. But I think you're talking about Bing/Sydney because this is exclusive to ChatGPT.

Ah, haven't look into the ChatGPT engines. Sorry for the misleading. I'll look into the implementation for that.


CreateSemiLMPatches - Projection issue

I wish to create semiLMs patches using F-84048-9, F-84048-7, F_1-3 in an oral cavity model

I initially thought that the semiLMs would be only on the surface below or above the plane these three LM form, but some semiLMs would also appear outside of the oral cavity

From another POV, the patch looks well but not the way I want it (inside the oral cavity)

Is there any method I can constraint the LMs generated to be under the plane of the 3 fixed LMs? Like a projection which starts from the plane they generated.
I am using SlicerMorph published on Thu Oct 21 2021

It will quite hard to control where the points will be in a curved region like oral cavity. and it may not be possible to have regular spacing between the points. Patches makes more sense for smoothly changing surfaces.
Having said that you want to adjust the "max projection distance" (under advanced settings) to test if it lets you do patch closer to what you want.

Thanks for your answer, changing the projection distance solved my issue.


pymc 5.16.1

pymc 5.16.1
Destination channel: Defaults
Links

PKG-5095
dev_url:        https://github.com/pymc-devs/pymc/tree/v5.16.1
conda_forge:    https://github.com/conda-forge/pymc-feedstock
pypi:           https://pypi.org/project/pymc/5.16.1
pypi inspector: https://inspector.pypi.io/project/pymc/5.16.1/

Explanation of changes:

...

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_65jmrhnh92/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:41: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
===== Final Report: =====
1 Error and 0 Warnings were found

osx-arm64 fails with
                   INFO   Encountered problems while solving:
                   INFO     - nothing provides requested gcc_osx-arm64

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_e9hlhumbug/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:42: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
===== Final Report: =====
1 Error and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_59kpxkebkj/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:41: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
===== Final Report: =====
1 Error and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(125): `conda run conda-lint /tmp/abs_f5s5q_5hw9/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:41: version_constraints_missing_whitespace: Packages and their version constraints must be space separated
===== Final Report: =====
1 Error and 0 Warnings were found


Install scripts for non-Ubuntu distros

I know others are asking for this but I wondered if it might be good to start a repo of install scripts for distros other than Ubuntu. Nothing against Ubuntu, it's just that many will have a preference for something else.
If anyone has started an effort like this, please let me know. If not then let's try to get one underway, I'm sure it would get a lot of support and interest from the community.

I do agree with this.  I started a while back some work to support Fedora.  I think the biggest issue is going to be maintaining all of the scripts when new dependencies are added / removed and the translation between package managers ( yum, apt-get,  Yast )

Thanks @oppegard, I'll take a look at the links you posted, appreciate the feedback.


Suggestion: Allow http (and non :433) URLs for testing purposes

Basically this:
import { connect } from '@planetscale/database'

const config = {
  url: 'http://user:password@localhost:3000'
}

const conn = connect(config)

Because....
We're using a home-grown Docker  image to allow us to build with @planetscale/database while in offline situations (like the 14 hour flight I was just on)- it's a dumb express server that emulates, as far as we can tell, the current API this package uses. Obviously understanding the API isn't documented, is not really intended for this and is subject to change etc, it would still be good if this package didn't assume the connection URL is an https one when using the config.url value with a valid http/https string.
I've got a fork that implements it (and adds a test), but wanted to float the idea before submitting a PR.

Tangentially related, I have a little hacked simulator that mirrors the API if you want to more reference this: https://github.com/mattrobenolt/ps-http-sim
I plan to produce something more official, but this works as a HTTP <> mysql proxy.
This sim would still have the exact same issue since it'd be listening over http as well.
I think we really want to prevent any potential insecure mistakes here, but maybe a config option such as allowInsecureConnection: true or something very explicit to allow an http url.
@iheanyi thoughts?

@mattrobenolt Let me think more on this, I think you're right though. The reason why we didn't have insecure connections is because the internal systems are always HTTPS and never over raw HTTP. But if there exists a way to use this driver over HTTP, then we should add a configuration setting for it.

Yeah, the only situations are for something like local dev. It's never really been a priority since we don't provide a way to even run the driver against anything locally, but it seems folks are beating us to it. :)
The long term solution for a local simulator would very likely just listen on plaintext, so it'd likely make sense for us to provide some explicit option to do this.
I'd prefer we don't infer it based on the URL since that could be potentially a typo of http://.. so an explicit config option would be best imo.

Appreciate this is an ongoing discussion.. this is what I have - https://github.com/planetscale/database-js/pull/136
Feel free to disregard if you think there's a better way of handling it (it's a very naive approach)

Awesome. Thanks for the quick work in getting this done!


disconnect the entire gregor connection if the ping call times out CORE-4329

The basic idea here is to use a deadline context on the Ping RPC in the ping loop that is fairly aggressive (and configurable). If we hit that deadline, then we terminate the current connection and make a new one (instead of relying on anything in the RPC library). We are also careful the ping loop doesn't spawn two of these connections somehow.
This means the max time to disconnect is now 15 seconds (with default params), which I think is reasonable.
cc @cjb

One last question above about how we're restarting the ping loop, otherwise LGTM.

The commits 6f80d0470f91...9100982a8f49 introduce visual changes on linux. :mag_right: 2 changed

Changed: unlock_folders-Success (before) (after)

Changed: unlock_folders-No_paperkeys (before) (after)


Link to modern text from standalone collation page

We would like for each collation in the standalone collation file to link back to the relevant point in the modern file.
See also Issue 155

In rev 13551, collation symbols are now being provided with an id of the form appMarker_app_1 so that we can later link to them.

Committed a fully-working implementation in rev 13565. Close if no bad fallout for the build.

Rev 13572 corrects an issue where multiple linking icons would appear. I think this is now working, but we'll wait to be sure.

Douai shows some collation entries that don't get links:
emdDouai_Mac_collation.html
I think this is because they're pointed at things which are not actually in the text proper, but I'm not sure yet.

No, I think it's because the last component in the app is a note.

Fix committed in rev 13603.


Omnidb CPU usage on RDS

I'm using RDS with postgres10.6 I tried to configure the CPU usage on omnidb but I had this error:
must be superuser to COPY to or from an external program
HINT:  Anyone can COPY to stdout or from stdin. psql's \copy command also works for anyone.
Please If someone can help me I will appreciate.  Thanks

Hi @dcarpioCC ,
Despite the fact that in RDS the concept of superuser is different from regular Postgres (you can't really connect as a real postgres superuser in RDS), you also won't be able to execute any Linux commands in RDS (and the CPU usage chart needs to execute Linux commands to get CPU usage information).
So I'm afraid you won't be able to use the CPU usage chart from Monitoring Dashboard.
Regards,
William

Closing this now.


Update Settings Not Syncing

Feature
Update Settings
App

[X] Admin
[ ] Summon
[ ] Hub
[ ] Toolbox

Expected Behavior
After the transaction is approved and confirmed the settings page should show success message and contain the updated settings.
Actual Behavior
Even after the transaction is confirmed on the block explorer the interface stays in a Synching TX state

Steps to Reproduce

Go to Update Metadata Settings in DAO: https://admin.daohaus.fun/#/molochv3/0x64/0x68ee75440c79e6395880ea8009c9307432e5630b/settings/update
Add page in the Icon field: https://yt3.ggpht.com/ytc/AMLnZu-plxSqB2Zen7vFYR-VVh4eYPtA9wp2R8bh0i3UFg=s900-c-k-c0x00ffffff-no-rj
Click Submit
Approve in MetaMask
See confirmed transaction: https://blockscout.com/xdai/mainnet/tx/0xf868568cd440940d1c8da81c76c3254a9ce9e9fbe4f1821dca430e739aef48f1
UI stays in Syncing TX state

Browser
Brave
Screenshots and Context
On Gnosis Chain

May just be a subgraph issue. Should retest before fixing

Retested this and it seems to be working as expected


Correctly set ovn remote for edpm nodes

Since PR #442 edpm_ovn_dbs is set as string but it's expected to be a list and that configures ovn-remote incorrectly. Fix it by configuring it correctly as list.
This also fixes configuration with multiple SB DBs as till now internal ip of first pod was getting used.

/lgtm

/lgtm

/override rdoproject.org/github-check


pyreadline no longer works under Windows 10 with Python 3.10

pyreadline no longer works under Windows 10 with Python 3.10 but works with python 3.9
See discussion in the forum: https://forum.micropython.org/viewtopic.php?f=15&t=11606

Yuppers. IPython dropped pyreadline seven years ago – and it's been increasingly dead ever since. rshell now needs to follow IPython's by refactoring the codebase to use the popular Python Prompt Toolkit instead.
Fortunately, Python Prompt Toolkit is substantially superior to pyreadline. Unfortunately, Python Prompt Toolkit isn't simply a drop-in replacement for pyreadline; it's really a whole new kettle of CLI fish. Fortunately, rshell only references pyreadline exactly 6 times in its rshell.main module.
So, this refactoring should be trivial – in theory. Someone just needs to get down to brass tacks, roll up their sleeves, and make this happen in 2022 before Python 3.10 goes mainstream. </gulp>

Yuppers. IPython dropped pyreadline seven years ago – and it's been increasingly dead ever since. rshell now needs to follow IPython's by refactoring the codebase to use the popular Python Prompt Toolkit instead.
Fortunately, Python Prompt Toolkit is substantially superior to pyreadline. Unfortunately, Python Prompt Toolkit isn't simply a drop-in replacement for pyreadline; it's really a whole new kettle of CLI fish. Fortunately, rshell only references pyreadline exactly 6 times in its rshell.main module.
So, this refactoring should be trivial – in theory. Someone just needs to get down to brass tacks, roll up their sleeves, and make this happen in 2022 before Python 3.10 goes mainstream. </gulp>

A temporary fix would be to edit the following file (replace "PYTHON" with the path to your python installation):
PYTHON/Lib/site-packages/pyreadline/py3k_compat.py
then modify line 8 from:
return isinstance(x, collections.Callable)

so it becomes:
return isinstance(x, collections.abc.Callable)

save it, and thats it. when you launch rshell the next time, problem solved. The reason of the problem is that the python library moved the location of "Callable" from the collections module into the "abc" submodule. Thus the outdated pyreadline can't find it.

pyreadline is no longer maintained.  Since upstream is dead, upstream won't merge anything – which means the only means of meaningfully applying this change would be for rshell itself to:

Vendor (i.e., bundle, embed) pyreadline inside itself.
Apply the trivial patch you've helpfully supplied, @moefear85.
Maintain this vendored copy of pyreadline in perpetuity.

In the short term, that's probably the sanest solution. In the long term, rshell absolutely should not be vendoring unmaintained and possibly insecure third-party packages inside itself.
Python Prompt Toolkit is still the way.

fix pr: https://github.com/dhylands/rshell/pull/223
win 10 python3.11 build: https://github.com/gamefunc/rshell/releases/tag/v0.0.32


Calc's local variables overwrite global variables

> a = 1
> loop a in 2 { a }
a -> 1
a -> 2
> a
a -> <null>

Setting the value ONLY in the local stop gives this weird result:
> b = 3
b = 3 -> 3
> loop over 2 { b+= __ }
b += __ -> 4
b += __ -> 6
> b
b -> 3

But otherwise local variables never override global ones, so there's no real point in having scopes...


config-linux: add support for rsvd hugetlb cgroup

The previous non-rsvd max/limit_in_bytes does not account for reserved
huge page memory, making it possible for a process to reserve all the
huge page memory, without being able to allocate it (due to hugetlb
cgroup page fault accounting restrictions).
In practice this makes it possible to successfully mmap more huge page
memory than allowed via the cgroup settings, but when using the memory
the process will get a SIGBUS and crash. This is bad for applications
trying to mmap at startup (and it succeeds), but the program crashes
when starting to use the memory. eg. postgres is doing this by default.
This patch updates and clarifies LinuxResources.HugepageLimits and
LinuxHugepageLimit by defaulting the configurations go to rsvd hugetlb
cgroup (when supported) and fallback to page fault accounting if not
supported.
Fixes https://github.com/opencontainers/runtime-spec/issues/1050
Signed-off-by: Kailun Qin<EMAIL_ADDRESS>

@kailun-qin I'm confused, this patch only seems to include code comments and doc changes?

This (together with runtime implementation) should fix the real issue with some software, described in https://github.com/opencontainers/runtime-spec/issues/1050.

@kailun-qin @odinuge Do you have a PR for runc?
(https://github.com/opencontainers/runc/pull/2360 seems closed)


API.Server.main not found

my openapi.yml file has a server entry at the end:
servers:
- url: http://localhost:8080/
  description: Local development version

which leads to the following APIClient.swift:
public static var `default` = APIClient(baseURL: API.Server.main)

This gives the compiler error Type 'API' has no member 'Server'. Is this a bug in SwagGen oder is something missing in my openapi.yml?

I have encountered the same issue.
In my case the servers are right after info on the top of the .yml file:
openapi: 3.0.1
info:
  title: ...
  description: ...
  version: ...
servers:
- url: http://...
...

I haven't looked at SwagGen implementation, but replacing "API.Server.main" with the actual url fixes the issue:
public static var `default` = APIClient(baseURL: "http://...")

I found that without specifying tags, servers won't show.

Hi i have the same problem.
I found that in the template file API.swift the {% if tags%} block is closed at the end of the file, so it turns out that the server code is generated only if there are tags. Perhaps this was done on purpose?
I found a diff of a commit that looks like a random bug when refactoring and copying code
https://github.com/yonaskolb/SwagGen/commit/950f667f9b1c8af428c53fd461320a4a273ce0b8#diff-5fd3bee400cfc6aadd6d9d1b798792be

I fixed it!


Fixing an IAM syncing issue. Were duplicates were not properly sync'd…

… with Lemur. This resulted in a visibility gap. Even 'duplicates' need to sync'd to Lemur such that we can track rotation correctly. Failing on duplicates lead to missing those certificates and the endpoints onto which they were deployed. This commit removes the duplicate handling altogether.

Coverage decreased (-0.1%) to 67.636% when pulling 58ddf66483efddb7dd11b957354ecf770092a35d on kevgliss:iam-sync into e5dee2d7e6c0ab360d633af4a1cbbac87f44ce87 on Netflix:master.


Testing Custom video sequences

Hi authors,
Thanks for providing the code and all the information. The online testing script is working great on the provided Sample HOLOLENS dataset and on TUM-RGB-SLAM dataset and giving great results. However, now I want to try to run on custom videos taken from a smartphone. I have one question regarding this:-

I am using ORB-SLAM to predict camera poses, but it takes around 35-45 mins runtime on the GPU, do you have any advise running a faster algorithm for calculating camera poses any other algorithm ?

Thanks and hoping for a reply
Aakash Rajpal

Hi,
Surely you don't need groundtruth depth maps to run our algorithm, it's against the whole purpose :), just my implementation did not allow it. Now, I added an option to run the online testing of fusionnet without having the groundtruth depths for evaluation. You can pull the changes and use evaluate = False here.
One crucial requirement for the videos is the metric pose measurements. There must be no scale ambiguity, otherwise the depth planes used for the plane sweep stereo won't match the training behaviour and the system most likely will produce inaccurate results. I have two options which comes to my mind quickly.

As we discuss in the introduction of our paper, you should record your data with pose information using monocular visual inertial odometry (VIO) techniques which alleviates the scale ambiguity greatly and they are widely available in mobile platforms. Since you say a smartphone, I can suggest you to write a simple code for Android or iPhone with ARCore or ARKit respectively. Both of these libraries provide metric pose information while working with VIO under the hood, check here. Writing a code for Android to record the necessary data is among my TODOs but it is not a priority so I can't specify a time.
If possible, you can replace your single smartphone with some stereo setup with known baseline distance (any prior pose/scale information is fine) and adapt ORB-SLAM2 for stereo SLAM or COLMAP for SfM. Just a side note about ORB-SLAM, the runtimes should not be that high as far as I know, all in all it is presented as a real-time SLAM library.

Hope these ideas somehow help you.

Hi @ardaduz ,
Thanks for replying so quickly, Yes, I understood that the depth predictions were only needed for testing, but I will pull the latest code for evaluation. For camera poses, I was using ORB-SLAM for online Monocular evaluation but I agree with you. I have a stereo setup and would use that today hopefully and try to evaluate using COLMAP first.
Thanks for the input will let you know the results hopefully :)

I am closing the issue for now, please feel free to open again if you want to discuss further.


fix: plugin hosts are not able to load

Description
A csrf token was not present when rendering the plugin host causing it to error.
Task Item
#minor

Coverage increased (+0.009%) to 54.732% when pulling f6ebd7e4f1af1ac2e100f22408d849f5ebae5f1c on abrown/fix-csrf into 5ecec93df69d43d8e02c1639eaac9ec514ff773f on main.


Offline or lan required

The gwt charts does not work under offline or lan environment. And in some area, the google site is blocked as well.

@dgutierr I've seen similar requests to make dashbuilder work offline several times. But checking this Google charts FAQ i see that this is impossible. Can we do something about that?

I found there are sevel charts implements in dashbuilder project. Is there a way to switch google implements to nvd3 or ofc2? My jbpm version is 6.5.0.Final


Add support for scientific notation floats

Fixes #7

It seems fine to me but I thought the plan moving forward would be to not lex so early on and instead to handle token pasting and then lex it later

That's correct, but we need to build the string for the whole token, which this PR does. It just ends up calling Rust's parse::<f32> like was done previously.

Oh okay then, everything looks good so merge it if you want

Thanks


Jehovah son Christopher Columbus pease

https://images.app.goo.gl/NeoXBH9Kb2bZ29yH7

@https://images.app.goo.gl/NeoXBH9Kb2bZ29yH7Skip to content

Skip to table of contents
JW.ORG
Change site languageLog In (opens new window)
Search JW.ORG
SHOW MENU
Library
Online Bible
New World Translation (1984 Edition)
READ IN
English
See 2013 revision
DISPLAY
Bible Book
Isaiah
Chapter
57
Isaiah
57:1-21
Play
Current time 0:00
Duration 0:00
Mute
57  The righteous one himself has perished,+ but there is no one taking [it] to heart.+ And men of loving-kindness* are being gathered [to the dead],+ while no one discerns that it is because of the calamity that the righteous one has been gathered away.+ 2  He enters into peace;+ they take rest+ upon their beds,+ [each] one that is walking straightforwardly.+
3  “As for YOU men, come up close here,+ YOU sons of a soothsaying woman,+ the seed of an adulterous person and of a woman that commits prostitution:+ 4  Over whom is it that YOU have a jolly good time?+ Against whom do YOU keep opening wide the mouth, keep sticking out the tongue?+ Are YOU not the children of transgression, the seed of falsehood,+ 5  those who are working up passion among big trees,+ under every luxuriant tree,+ slaughtering the children in the torrent valleys under the clefts of the crags?+
6  “With the smooth stones of the torrent valley was your* portion.+ They—they were your lot.+ Moreover, to them you poured out a drink offering,+ you offered up a gift. For these things shall I comfort myself?+ 7  Upon a mountain high and lifted up you set your bed.+ There also you went up to offer sacrifice.+ 8  And behind the door and the doorpost you set your memorial.+ For apart from me you uncovered [yourself] and proceeded to go up; you made your bed spacious.+ And for yourself you went concluding a covenant with them.  You have found a revival of your own power.+ That is why you have not grown sick.+
11  “Whom did you become frightened at and begin to fear,+ so that you took up lying?+ But I was not the one that you remembered.+ You took nothing to your heart.+ Was I not keeping silent and hiding matters?+ So you were in no fear even of me.+ 12  I myself shall tell forth your righteousness+ and your works,+ that they will not benefit you.+ 13  When you cry for aid your collection of things will not deliver you,+ but a wind* will carry even all of them away.+ An exhalation will take them away, but the one taking refuge in me+ will inherit the land and will take possession of my holy mountain.+ 14  And one will certainly say,* ‘Bank up, YOU people, bank up! Clear the way.+ Remove any obstacle from the way of my people.’”+
15  For this is what the High and Lofty One,+ who is residing forever+ and whose name is holy,+ has said: “In the height and in the holy place is where I reside,+ also with the one crushed and lowly in spirit,+ to revive the spirit of the lowly ones and to revive the heart of the ones being crushed.+ 16  For it will not be to time indefinite that I shall contend, nor perpetually that I shall be indignant;+ for because of me the spirit itself would grow feeble,+ even the breathing creatures that I myself have made.+
17  “At the erroneousness of his unjust gain+ I grew indignant, and I proceeded to strike him, concealing [my face],+ while I was indignant. But he kept walking as a renegade+ in the way of his heart. 18  I have seen his very ways; and I began to heal him+ and conduct him+ and make compensation with comfort+ to him and to his mourning ones.”+
19  “I am creating the fruit of the lips.+ Continuous peace* there will be to the one that is far away and to the one that is near,”+ Jehovah has said, “and I will heal him.”+
20  “But the wicked are like the sea that is being tossed, when it is unable to calm down, the waters of which keep tossing up seaweed and mire. 21  There is no peace,” my God* has said, “for the wicked ones.”+
Previous
Next
Print
Share
Share Books of the Bible
Show Table of Contents
New World Translation of the Holy Scriptures (1984 Edition)
DOWNLOAD OPTIONS
Publication download options New World Translation of the Holy Scriptures (1984 Edition)
Audio download options New World Translation of the Holy Scriptures (1984 Edition)
Share New World Translation of the Holy Scriptures (1984 Edition)
Isaiah
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
JW.ORG® / OFFICIAL WEBSITE OF JEHOVAH’S WITNESSES
Appearance Settings
Quick Links
Request a Visit
Find a Meeting(opens new window)
Find a Convention(opens new window)
What’s New
Videos
Search
Help
Medical Information for Clinicians
Donations
(opens new window)
Watchtower ONLINE LIBRARY™
(opens new window)
Log In
(opens new window)
JW Library®
JW Library Sign Language®
Watchtower Library
JW Language®
Copyright © 2022 Watch Tower Bible and Tract Society of Pennsylvania.
TERMS OF USE  |  PRIVACY POLICY


[SPARK-48168][SQL] Add bitwise shifting operators support

What changes were proposed in this pull request?

This PR introduces three bitwise shifting operators as aliases for existing shifting functions.
Why are the changes needed?

The bit shifting functions named in alphabet form vary from one platform to anthor. Take our shiftleft as an example,

Hive, shiftleft (where we copied it from)
MsSQL Server LEFT_SHIFT
MySQL, N/A
PostgreSQL, N/A
Presto,  bitwise_left_shift

The bit shifting operators share a much more common and consistent way for users to port their queries.
For self-consistent with existing bit operators in Spark, AND   &, OR    |, XOR   ^ and NOT   ~, we now add <<, >> and >>>.
Does this PR introduce any user-facing change?

Yes, new operators added but not behavior change
How was this patch tested?

new tests
Was this patch authored or co-authored using generative AI tooling?

no

Thank you @dongjoon-hyun
Let me look into this issue, it might take a while

No problem, @yaooqinn . We have enough time for 4.0.0. :)

It seems that TPCDS golden files are affected still.
[info] *** 23 TESTS FAILED ***
[error] Failed: Total 3499, Failed 23, Errors 0, Passed 3476, Ignored 4
[error] Failed tests:
[error] 	org.apache.spark.sql.SQLQuerySuite
[error] 	org.apache.spark.sql.TPCDSV1_4_PlanStabilitySuite
[error] 	org.apache.spark.sql.TPCDSV2_7_PlanStabilityWithStatsSuite
[error] 	org.apache.spark.sql.TPCDSV1_4_PlanStabilityWithStatsSuite
[error] 	org.apache.spark.sql.TPCDSV2_7_PlanStabilitySuite
[error] (sql / Test / test) sbt.TestsFailedException: Tests unsuccessful

Thank you @dongjoon-hyun for providing the logs

cc @cloud-fan

thanks, merged to master(4.0.0)

Have we considered the operator precedence? Does it follow C? If yes let's add tests and document it.
https://en.cppreference.com/w/c/language/operator_precedence

Hi @cloud-fan Thank you for the check.
I have made a follow-up to fix the precedence of these operators, the new precedence is between '+/-' and '&' with a left-to-right logic. https://github.com/apache/spark/pull/46753
As for the documentation you mentioned, it's orthogonal as there is no existing doc for this topic yet. So, I created SPARK-48426 to follow.


[Advice needed] search: show checkmark next to installed casks

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew tests with your changes locally?

I'm trying to implement #1764.
To do that, I've changed brew search to search local casks as well as formulae. However, for this to work I needed to use some cask code, which wasn't possible.
@MikeMcQuaid suggested I refactor whatever Cask I needed into Homebrew, but I'm not sure how to do that. Really what I need is something like Hbc.all_tokens, but there's no sensible place to put it. One option would be to add a Cask class to Homebrew that had some very basic metadata like name and tap, but that seems like repeating ourselves when the code's already there in Cask.
So, I'm looking for advice on how to refactor the Cask functionality I need to use here into Homebrew.

I think it's probably worth punting on showing checkmarks for Casks for now. When we do do so I think it's probably worth refactoring some of the logic to detect if a Cask is installed into shared code in Library/Homebrew rather than having Homebrew call into the Homebrew Cask code/modules. Another option would be to call out to brew cask search.
CC @reitermarkus and @jawshooah for thoughts.

One option would be to add a Cask class to Homebrew that had some very basic metadata like name and tap, but that seems like repeating ourselves when the code's already there in Cask.

I thought about refactoring the whole Hbc::Cask class before to behave more like the Formula class, i. e. being Enumerable and letting you call Cask["token"] instead of Hbc.load("token").

We could also have a mixin or proxy to abstract formulae and casks in a case like this.

Looks like this has already been implemented. I seem to distinctly recall a PR to do it, but I’m not finding it. Either way, just tested it and it works.


What is the difference between Customer/Licensee and License

Question
What is the difference between Customer/Licensee and License

Customer or Licensee represents end-customer and the main entity in the NetLicensing which is being validated.
License(-s) can be assigned to the customer and influence entitlements of the Customer in your system or product. There can multiple licenses assigned to the same customer; e.g.
N times monthly licenses
Subscription license + Node-Locked license
etc.


must have  else get error

if   is left out then on single with deselect localytics goes crazy
test code:

simulateAjax([{'name': 'grooo'},{'name': 'gro3oo'},{'name': 'grooo3'},{'name': 'gr1ooo'}, {'name': 'gro1oo'}]).then(function(result) {
    return $scope.optionsFromQuery = result;
  });

Hi, sorry for the delay, I've just taken this project that was abandoned (read #162).
Thanks for lettings us know! This is a known issue and it's in the docs.

Note: the empty <option value=""></option> element is mandatory when using allow-single-deselect


Replace jquery-deparam with deparam dependency

no issue

swap out jquery plugin for non-jquery version

Was getting trolled a bit by the npm import stuff, but this should be good to go now.

Coverage remained the same at 71.761% when pulling 7e27cbc8e0223016794c9a700365c2b92ccf3a76 on acburdine:remove-deparam into fddf679a27d8898554f9a43ae7789532a555c8c8 on TryGhost:master.


youtube-dl: 2019.04.30 -> 2019.05.11

Motivation for this change
Update youtube-dl to the latest release.
https://github.com/ytdl-org/youtube-dl/releases/tag/2019.05.11
NOTE: Updates to youtube-dl should be backported, thanks!
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

tested without nix-review (maybe some python mixup confused it) and works.

backported in 7ab08db51ad8fb029b740891496f28b3daf5b33e

@Fuuzetsu @Lassulus @worldofpeace Thank you!

Right back to you @xrelkd :white_flower:


Cannot resize to 0 instances

Hi All,
If target size of the region instance group is 0, resize fails with bad request, since ?size=0 parameter is removed
The following check should be if v is not None currently it is if v and 0 equals to False in Python.
https://github.com/googleapis/python-compute/blob/16e7294cd536af9a8bf8e4e99219a883339aa955/google/cloud/compute_v1/services/region_instance_group_managers/transports/rest.py#L1339

@yon-mg PTAL

A fix for this is forthcoming

@vchudnov-g Has this been addressed? (Just checking as the issue is now OOSLO)

Update: @vam-google confirmed a fix has landed in the generator. I am working on re-generating the library right now.

This should be fixed in the latest release google-cloud-compute==0.5.0.


Use cape encrypt for deploy

@gavinuhma Do you mind providing some context behind changing deploy from using LocalEncrypt to EncryptBytes?

@gavinuhma Do you mind providing some context behind changing deploy from using LocalEncrypt to EncryptBytes?

Writing up a description for the main issue in runtime now


Needed S3 support

Hello,
Thx for this great workshop!
I do not now if it worth an issue but I had some trouble here:

copy_files(
from = s3_bucket("ursa-labs-taxi-data-v2"),
to = "~/Data/nyc-taxi"
)
Error: NotImplemented: Got S3 URI but Arrow compiled without S3 support

I read this https://ursalabs.org/arrow-r-nightly/articles/install.html#dependencies-for-s3-support
Sys.setenv("NOT_CRAN" = TRUE)
install.packages("arrow")

It look like its is working now!  (well I am downloading some huge file now ...)

Ah thanks! I forgot to include that. Much appreciated, and I hope the download went well. That part is a pain :-)

I hope the download went well

Not too bad, Rstudio server logged me out once (probably my fault), I used Rscript and it was good.
I am super excited for the workshop and I will follow it when I get a bit more of free time!
(feel free to close the issue when needed)


QSGlobalSelectionProxy doesn't work on v1.0 and mountain lion

PLEASE BRING IT BACK!
ALSO getting slow on search and find process and i have i7 fast computer... what can i do?

I have no reason to believe this isn't working now. If you're still having problems with the latest version and the latest supported OS X version, please just reopen the issue


ME pattern provider to Laser Node?

Describe the feature you'd like to have added
I want to use the ME pattern provider on a Laser Node. The Pattern Access Terminal recognises that I put it on top of a Laser Node, but it won't pass the item to it or the Laser Node won't take the items. I know Laser Nodes don't have an internal inventory, but the items have a destination. Would it be possible to include this feature?
Additional information
No response

I'm sorry, i think your best bet here would be to put a chest between your pattern provider and the laser node, and have the node pull out of the chest.


The type initializer for 'Microsoft.WinGet.Client.Common.BaseClientCommand' threw an exception.

Brief description of your issue
Installed the preview release that supports the PowerShell module. Commands like Get-WingetSource fail with error The type initializer for 'Microsoft.WinGet.Client.Common.BaseClientCommand' threw an exception.. Looking at the complete exception I wonder if there are leftover hard-coded references.

Steps to reproduce
Installed the 1.4.351 preview release and the PowerShell module. Import the module, try to run a command like Get-Wingetsource.
Expected behavior
Commands should work without error.
Actual behavior

Environment
Windows Package Manager v1.4.3531
Copyright (c) Microsoft Corporation. All rights reserved.

Windows: Windows.Desktop v10.0.19044.2130
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.19.3531.0

Logs: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir

User Settings: %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json

Links
---------------------------------------------------------------------------
Privacy Statement   https://aka.ms/winget-privacy
License Agreement   https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage            https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale

PowerShell module 0.0.1 alpha

I tested in both Windows 10 and Windows 11 on different machines with the same error. Running under PowerShell 7.3.1.

Do you mind sharing the steps you used?
I downloaded and extracted the folder from assets to my "user" directory.

@jdhitsolutions, the error above tells me that the module is searching for the 'winrtact.dll' and is unable to load that dll. This is unlikely the issue, but double check to make sure that file is located alongside Microsoft.WinGet.Client.dll.
I would also try completely closing PowerShell and restarting it just to clean up any previously loaded modules before trying to import the module again.  Just to confirm, which file are you importing? Make sure you are importing the data file (Microsoft.WinGet.Client.psd1), which should point you to the correct module files based on your architecture.
The last thing I can think of is the data file will select the correct module path based on your processor architecture. If you happen to be using the PowerShell x86, but your machine is 64-bit, this could also throw an error as you may be trying to call the x64 module files. The module platform needs to match the PowerShell platform.

I extracted the module files and imported the psd1 file. The module loads without error. I can run Get-WingetVersion without error. I've several machines and multiple sessions.

I moved the module to a Windows PowerShell folder before I realized the module only runs under PowerShell 7. But that is irrelevant as I can still import the module by path.

I can see the x64 files getting loaded.

Here's the full exception from Get-Error.
Exception             :
    Type           : System.TypeInitializationException
    TypeName       : Microsoft.WinGet.Client.Common.BaseClientCommand
    TargetSite     : Void .ctor()
    Message        : The type initializer for 'Microsoft.WinGet.Client.Common.BaseClientCommand' threw an exception.
    InnerException :
        Type       : System.DllNotFoundException
        Message    : Unable to load DLL 'winrtact.dll' or one of its dependencies: The specified module could not be
found. (0x8007007E)
        TargetSite :
            Name          : InitializeUndockedRegFreeWinRT
            DeclaringType : Microsoft.WinGet.Client.Common.BaseClientCommand
            MemberType    : Method
            Module        : Microsoft.WinGet.Client.dll
        Source     : Microsoft.WinGet.Client
        HResult    : -2146233052
        StackTrace :
   at Microsoft.WinGet.Client.Common.BaseClientCommand.InitializeUndockedRegFreeWinRT()
   at Microsoft.WinGet.Client.Common.BaseClientCommand..cctor() in
D:\a\_work\1\s\external\pkg\src\PowerShell\Microsoft.WinGet.Client\Common\BaseClientCommand.cs:line 23
    Source         : Microsoft.WinGet.Client
    HResult        : -2146233036
    StackTrace     :
   at Microsoft.WinGet.Client.Common.BaseClientCommand..ctor() in
D:\a\_work\1\s\external\pkg\src\PowerShell\Microsoft.WinGet.Client\Common\BaseClientCommand.cs:line 30
   at lambda_method85(Closure)
   at System.Management.Automation.CommandProcessor.Init(CmdletInfo cmdletInformation)
CategoryInfo          : NotSpecified: (:) [], TypeInitializationException
FullyQualifiedErrorId : System.TypeInitializationException
InvocationInfo        :
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : 3
    Line             : find-wingetpackage -moniker git.git
    PositionMessage  : At line:1 char:1
                       + find-wingetpackage -moniker git.git
                       + ~~~~~~~~~~~~~~~~~~
    InvocationName   : find-wingetpackage
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1

And to verify, all we needed to do was extract the module files. There was no install or registration step. I am also running in an elevated session.

That's all I did. The screenshot above is right after I downloaded and extracted the files. It also works in admin mode for me (screenshot below).

@denelon Is this your development machine? Did you test on a new machine? I didn't see any Pester tests in the module.

I extracted to different locations with the same results. I have also tested on 2 different machines running windows 10 and Windows 11.

My .NET skills are limited, but I do know PowerShell and how modules work. If I try to manually add the DLL using Add-Type I get the error Add-Type: Bad IL format. The format of the file 'C:\Program Files\PowerShell\7\Modules\Microsoft.Winget.client\x64\Core\winrtact.dll' is invalid.. I get no errors with the other DLL files in the directory.

@jdhitsolutions, Thanks for your info. I believe the issue lies in a missing dependency that is not explicitly called out in our PowerShell documentation. There is a dependency on the Microsoft Visual C++ Redistributable package that needs to be installed on your machine. Can you try running winget install --id Microsoft.VCRedist.2015+.x64? Once you do that, import the module on a new shell window and try again.  I was able to repro your error on a clean VM and installing this package resolved the issue.

That's the answer. Pesky documentation.

I'll make sure to update the documentation to call this out explicitly. Thanks for your help with resolving this issue!

@ryfu-msft if it's not too late, link the PR to this issue so it isn't closed until the documentation is updated please :)


lmdb read and write with single value

Thanks for this great work. However, I wonder if the wrapper supported with single value. I used function ".put() " with single value but get a  corresponding integer with function ".get() ". Could you make some instruction about read and write with single value? Thank your!

The wrapper does not include any serialization. You should serialize your variable before putting in the database. The easiest is to use char.
database.put('key', num2str(X))
str2double(database.get('key'))

If you don't like string, you might find matlab-serialization useful.

Thank you .But I have tried matlab-serialization package. It seemed it did data transformation within matlab. However, I want to store single values into lmdb file. if I used serialize(), I would store uint8 array into lmdb file. Could you make some further explanation for me about how can I store single value into lmdb file. Thank you!

@llyydd007 Are you trying to save a single value as a 4-byte binary? Then use typecast, e.g.
typecast(single(20), 'uint8')

Thank you,I'm not familiar with lmdb. I means whether I can save values like 0.5678 into the lmdb file. Then the caffe package can get the value  like 0.5678

@llyydd007 LMDB is only a key-value store for any binary. There is nothing fancy. It can only save and retrieve binaries. You have to take care of how you represent your data in a string or a binary.
If you're using Caffe, you perhaps want to serialize your data using protocol buffer. I do not have a generic protobuf converter, but you can implement one for Datum like this.

Thank you! I would try to modified some other codes like the one in the caffe example for data storing.  But I still learn a lot from matlab-lmdb package. Thank you!

I have .mat files which I need to convert to .db formar. Could you please specify the sequence of steps?


Handle arbitrary types in bloom filter synopsis

:notebook_with_decorative_cover: Description
The meta index lookup would select type synopses based on the field name being looked up, without verifying that the right hand side of the query also has the corresponding type. This leads to undefined behavior for queries like s == nil or s == 123 (where s is a string field) and depending on the compiler settings also segfaults or other kinds of bad behavior.
NOTE: I'm not completely sure if the same issue exists for "normal" synopsis and we just don't notice it because the invalid call to caf::get<view<T>>() was not using complex types like std::string, or if these were typechecked somewhere else beforehand.
:memo: Checklist

[x] All user-facing changes have changelog entries.
[x] The changes are reflected on docs.tenzir.com/vast, if necessary.
[x] The PR description contains instructions for the reviewer, if necessary.

:dart: Review Instructions

I've rebased the PR. The story (in a slightly more general form) exists as https://app.clubhouse.io/tenzir/story/19453/discussion-change-meta-index-api-to-enable-short-circuiting


Feature flag/fetch

Added api end point for feature flags

Closing this, as feature flag service is being maintained in other project
https://github.com/Real-Dev-Squad/feature-flag-service/ https://github.com/Real-Dev-Squad/feature-flag-backend/


Doc models #5

#851

@fg-mindee
I'm really not excited about these requested changes as we lose a good overview of framework independence in the documentation. :sweat:
On the other hand, I understand your point of view.
I will change it but we should urgently add the bridging to the 0.6.0 release. (maybe a good point in addition to the export issues - where i think this brings trouble) :sweat_smile:


Support json object query keys

We've been using the Query with keys POSTed change (thanks for that one), but now we need support for object keys. I had to get the keys from the original opts since query is a map[string]string, not map[string]interface{}.

Thanks for the pull request. I'm on holiday now, and for the next 2 weeks. I'll take a closer look at this when I'm back.

I took a moment to review this, and it looks good, with one small change suggested. The only other change I would request would be to squash all the existing commits, down to one, for a cleaner git history.


K3s vs rke/K8s

What made you choose k3s over rke/k8s? I think you’re all x86, right?

I started out with RPis and guess I just stuck with k3s because it was so easy to set up. I am all x86 now though.
I know there's a bunch of chat apps out there but if you already have Discord you can find me if you wanted to chat more. I am also on the homelab discord group.
onedr0p#6357


Datum based like kernels (#4595)

Which issue does this PR close?

Closes #4595
Closes #2837
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

🎉 is this really the last set of kernels that need this treatment?

It is the last of the dyn binary kernels. There are a few kernels, e.g. regex and some boolean kernels, that never had dyn nor scalar variants, but this is the last of the dyn scalar kernels AFAIK

It is the last of the dyn binary kernels. There are a few kernels, e.g. regex and some boolean kernels, that never had dyn nor scalar variants, but this is the last of the dyn scalar kernels AFAIK

Do you plan to add such Datum for consistency?

Do you plan to add such Datum for consistency?

I personally don't, but we could probably create tickets and see if someone in the community wishes to pick this up

I personally don't, but we could probably create tickets and see if someone in the community wishes to pick this up

I think creating tickets would be a good idea (though of course, I love tickets)