text:
Seems to be an off-by-one error in mapbox staticimage

What you've tried already
MapBox supports static image export with image dimensions up to 1280x1280†. But when --size 1280 1280 is passed, an error message is printed that complains the size is out of range.
† modulo Retina rendering
Expected outcome
I expect this:
mapbox staticmap --lon -73.973615 --lat 40.765809 --size 1280 1280 --zoom 10 'mapbox.satellite' out.png

To save an image of size 1280x1280 to out.png.
Actual outcome
Instead, I see this error:
Error: Invalid value: Image height and width must be between 1 and 1280

The same command line works as expected when using --size 1279 1279, which saves a 1279x1279 PNG to out.png
Other information

mapbox --version is 0.7.0
Operating System : Mac OS X
Python version number : whatever is used by the Homebrew wrapper (2.7.13, I think, not sure how to check for sure)
How did you install the mapbox cli? Homebrew, pip, other? : brew install mapbox/cli/mapbox

/usr/local/Cellar/mapbox/0.7.0 (2,392 files, 42.6MB) *
  Built from source on 2017-05-25 at 19:11:34
From: https://github.com/mapbox/homebrew-cli/blob/master/Formula/mapbox.rb

Found it, I think: https://github.com/mapbox/mapbox-sdk-py/blob/a7963453f3f00cc43e96ea44ad2a5ca907146995/mapbox/services/static.py#L30
Ought to be 1 <= val <= 1280, I believe.

@tomjakubowski good catch! Would you be willing to create a PR for that change so you get proper credit? Otherwise, I can make the change myself. Either way, let's get it in the next release. Thanks.

@perrygeo I came across this issue and didn't see an open PR and so I have sent a PR for the same.

Marking this one fixed. The fix will be in version 0.14 of the mapbox package.

authors: iAmMrinal0 perrygeo sgillies tomjakubowski

repo: mapbox/mapbox-cli-py


text:
hasPointer prop for popover positioner doesn't work

hasPointer isn't actually used for anything: https://github.com/mapbox/mr-ui/blob/master/src/components/popover/popover-positioner.js#L37

I think it should be passed to calculatePosition but is not: https://github.com/mapbox/mr-ui/blob/cd02fc413b772f06fdb541c510148eb196de7b85/src/components/popover/popover-positioner.js#L100-L114

source: gharchive/issue

authors: davidtheclark samanpwbb

repo: mapbox/mr-ui

license_type: permissive

license_source: github-api


text:
layer name option is not used for GeoJSONSeq

The layer name option -n is given to use a pathlib.Path(src_file).stem and the src_file has a .geojsons file extension.  But tippecanoe 1.33.0 doesn't respect that option; it uses a layer name like "{src_file}geojsons" (like it just removes the . from the file name).

If I understand correctly what you are trying to do with the layer name, you want -l, not -n.

authors: darrenleeweber ericfischer

repo: mapbox/tippecanoe


text:
credentials in .travis.yml

I am not sure if this is an issue, but there seem to be security related keys in the file .travis.yml.
I am not into travis but only saw the key information.

The keys are encrypted. But thanks for your notice.

authors: maphy-psd pintman

repo: maphy-psd/python-webuntis

license_source: bigquery


text:
Enable CI for pull requests

Right now this is not the case:
https://github.com/maplibre/maplibre-plugins-android/blob/main/.github/workflows/ci.yml#L4

This can be closed :+1:

authors: JonasVautherin louwers

repo: maplibre/maplibre-plugins-android


text:
レース結果一覧に返還が反映されていない

回収額のところに入れる

投資額から引かれていたのでOK

license: MIT


text:
App crash  with uncaught exception of type NSException

I have a complex app using  your google map plugin.
I build both with 1.4 and with all 2 beta realase from 2.0.0.beta to latest 2.0.0-beta2-20170531-1320
the app always crash with:
2017-06-03 12:07:48.225441+0200 SaluberAMB[450:56108] -[NSNull doubleValue]: unrecognized selector sent to instance 0x1acb05ef8
2017-06-03 12:07:48.230284+0200 SaluberAMB[450:56108] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSNull doubleValue]: unrecognized selector sent to instance 0x1acb05ef8'
*** First throw call stack:
(0x1872c2fe0 0x185d24538 0x1872c9ef4 0x1872c6f54 0x1871c2d4c 0x10018b6d8 0x187d91814 0x187cd6770 0x187cc6b28 0x187d93bb0 0x100e55a10 0x100e5ab78 0x1872710c8 0x18726ece4 0x18719eda4 0x188c08074 0x18d452058 0x1000341dc 0x1861ad59c)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)

// more details from xcode //
libsystem_kernel.dylib`__pthread_kill:
0x1862bd00c <+0>:  mov    x16, #0x148
0x1862bd010 <+4>:  svc    #0x80
->  0x1862bd014 <+8>:  b.lo   0x1862bd02c               ; <+32>
0x1862bd018 <+12>: stp    x29, x30, [sp, #-0x10]!
0x1862bd01c <+16>: mov    x29, sp
0x1862bd020 <+20>: bl     0x1862a086c               ; cerror_nocancel
0x1862bd024 <+24>: mov    sp, x29
0x1862bd028 <+28>: ldp    x29, x30, [sp], #0x10
0x1862bd02c <+32>: ret
libsystem_pthread.dylib`start_wqthread:
0x186382ca8 <+0>: bl     0x186382cb8               ; _pthread_wqthread
0x186382cac <+4>: nop
it happen on ipad air 1 with iOS 10.3.2
on simulator it never happen and the app works great.
Build with:
Xcode :  8.3.2 (8E2002)
Cordova 7.0.1
Cordova ios@4.4.0
Cordova Plugin-List
{
"cordova-plugin-whitelist": "1.3.2",
"cordova-plugin-compat": "1.1.0",
"cordova-plugin-file": "4.3.3",
"cordova-media-with-compression": "2.1.1",
"cordova-plugin-app-version": "0.1.9",
"cordova-plugin-brightness": "0.1.5",
"cordova-plugin-camera-preview": "0.9.0",
"cordova-plugin-device": "1.1.6",
"cordova-plugin-file-transfer": "1.6.3",
"cordova-plugin-keyboard": "1.1.5",
"cordova-plugin-tts": "0.2.3",
"cordova-sqlite-storage": "2.0.4",
"cordova-plugin-battery-status": "1.2.4",
"cordova-plugin-device-name": "1.2.1",
"cordova-plugin-geolocation": "2.4.3",
"com.googlemaps.ios": "2.2.0-fixed",
"cordova-plugin-googlemaps": "2.0.0-beta2-20170531-1320"
};
index16.js.zip
Do you have any idea on what's is going on, consider that if i dont use your plugin, the app never crash.

[NSNull doubleValue] means the plugin requires some value as double, but you pass null.

Please take a screen capture of the xcode when your app crash.
And thank you for sharing your code, but I appreciate if you share whole project files on github or bitbucket.
Important for debugging is that reproduce your issue.
Without your whole project files, I can not build your project, and I can not reproduce your issue.
Bitbucket provides private git repository as free.
https://www.youtube.com/watch?v=BtEvnE79jxY

https://github.com/mapsplugin/cordova-plugin-googlemaps/issues/1479

Heelo, thanks for your kind answer…
you can download the full project here :
http://erpx.it/saluber-amb8.zip http://erpx.it/saluber-amb8.zip
the app will prompt you for userid and password , you can use this account
User = amb8
pass = 1234
for privacy reason i have to inform you that when u will get loggedin the app will start to trace your position…..  but i will delete all data from db, we are still in developing ….
anyhow i feel to offer you another beer…. thanks again for everythings…..!!!
i also attached on this email 3 screenshoot of the xcode screen when the app crash….
take care!!!!
carlo

Il giorno 03 giu 2017, alle ore 19:06, Masashi Katsumata <notifications@github.com mailto:notifications@github.com> ha scritto:
Please take a screen capture of the xcode when your app crash.
And thank you for sharing your code, but I appreciate if you share whole project files on github or bitbucket.
Important for debugging is that reproduce your issue.
Without your whole project files, I can not build your project, and I can not reproduce your issue.
Bitbucket provides private git repository as free.
https://www.youtube.com/watch?v=BtEvnE79jxY https://www.youtube.com/watch?v=BtEvnE79jxY
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

hello Masashi i shared my full code with you on bitbucket
user and pass to login with app on READ.ME
here attached log files.... and screenshot

xcode.log.zip
Beer !! beer ! beer for you!!!! thank you!

I found the solution!!
i was passing Nan Value to moveCamera on bearing.
i think something change on cordova.geolocation.plugin before the upgrade the pass null vale and not Nan, fixing javascript to transform compassdir from Nan to 0 fix the crash!
thank u anyhow for your time !!!
regrds!!! anyhow more beer for you!!!!!

Sounds good.
By the way, in the above screenshot, I need to see no4 moveCamera instead of 0 __pthread_kill.
Because it's plugin's code.
(But you already figured out the reason. So it's OK anyway this time)

You can buy beer for me from the [Donate|Paypal] button anytime :)
https://github.com/mapsplugin/v2.0-demo/blob/master/README.md#buy-me-a-beer

repo: mapsplugin/cordova-plugin-googlemaps


text:
Overall - Footer links to be used throughout the website

Required Links
We require links for the footer section (as listed below):

Facebook
Twitter
Instagram
GitHub
Email

links provided below.  We would like to add a link to the OSM MapSwipe wiki page as well.
@jhenshall is there a standard icon to use to link to the OSM wiki??
Facebook: https://www.facebook.com/TheMissingMaps
Twitter: https://twitter.com/mapswipe
Instagram: https://www.instagram.com/themissingmaps/
GitHub: https://github.com/mapswipe
OSM MapSwipe Wiki: https://wiki.openstreetmap.org/wiki/MapSwipe
Email: info@mapswipe.org

@jhenshall Could you please confirm if you will be providing the logo or should we go with what we think suits best?

No real preference on this, if you have one that you think suits, go for it?! I was initially thinking just a simplified OSM logo, but notice that Missing Maps uses a newspaper icon.

Thanks for confirming, @jhenshall. We'll go with a suitable icon for this

@jhenshall We found this logo in the OSM website. Could you confirm it we can use it?
Link to the website: https://wiki.openstreetmap.org/wiki/Logos
Link to the SVG logo: https://wiki.openstreetmap.org/w/images/7/79/Public-images-osm_logo.svg

for the footer? i think the link to the OSM wiki should also be a single color icon to match the others.

@kopitek8, I see that in latest changes to staging server we have the magnifying glass for the wiki icon.  Can we change it to mirror the newspaper icon that Missing Maps is using?

Thanks for letting us know, @danbjoseph @Katbaloo

authors: Katbaloo danbjoseph jhenshall kopitek8

repo: mapswipe/community-website


text:
Refactor driver for E2E

Added shellygo package.
Refactor driver and e2e tests.
Added data-wd attributes to missing places.

I've generated a package lock file and updated the package.json, can you try replacing the ones you have?
package-lock.json
package.json

Npm ci now passes, but it has a different build error...

I've seen this before in a different library, but I'm not sure what triggered this to build failure here...
Are you seeing this build failure locally?

Unfortunately, yes

I would try to take the original jsx files before the changes and see if they cause a build failure, if not, then we need to understand what was introduced in this PR that caused the build to fail.

Reverting locally the jsx file seems to fix the build locally, so I guess there are changes that break the build somehow...
You'll need to rework the changes unfortunately.
To get the old files I did the following:

checkout main
cp -rf ./src ../
move back to this branch
cp -rf ../src ./

source: gharchive/pull-request

authors: HarelM ShellyDCMS

repo: maputnik/editor


text:
Adds custom build and install gradle tasks

Overview
Adds custom build and install gradle tasks
Proposed Changes
Adds custom gradle tasks for installSdk, installPlaces, installSdkDemo, and installPlacesDemo to ensure dependencies are built in the proper order and installed to the local maven repository. These tasks also run all tests and codestyle checks associated with the relevant modules.

Nice!

authors: ecgreb sarahlensing

repo: mapzen/android


text:
editor jumps while editing plantuml block

Joplin 2.7.15 (prod, darwin)
Sync Version: 3
Profile Version: 41
Keychain Supported: Yes
Revision: 8352e23
PlantUML2 v1.9.0
Editor: VIM
While editing in split view, the editor view jumps away from current cursor position. Often the cursor is even outside the current view.
In the attached movie you see me inserting and deleting just a space.
https://user-images.githubusercontent.com/78899531/159061571-e4eb6c1d-03af-4dd9-8e92-26982bf3cc66.mov

Hello, thanks for reporting this issue.
Can you attach an example of note that I can use to reproduce the issue?

@marc0l92
asdf
asdf
asdf
asdfasdf
asdf
asdf
asdf
asdf
asdf

```plantuml
node -- node1
node1 -- node2
node2 -- node3
node3 -- node4
node4 -- node5
node5 -- node6
node6 -- node7
node7 -- node8
node8 -- node9
node9 -- node10

node9 -- node10

The diagram needs to be higher than the viewing area.
The quick solution is:
Allow disabling auto rendering. manually press button to render diagram
or
Dont render too quick, e.g render every 20 second is fine. If possible make it configurable.
Anyway, i may be able to make a pull request if you like the solution.

I managed to fix the example you provided me, but you need to help me doing some more tests.
Please let me know if the new version 1.10.0 is able to the issue you reported.

authors: bekicot kdtp marc0l92


text:
🛑 Nextcloud is down

In 8b7ed88, Nextcloud ($NEXTCLOUD) was down:

HTTP code: 502
Response time: 434 ms

Resolved: Nextcloud is back up in 6878b57 after 8 minutes.


text:
🛑 marci4.de is down

In 2417019, marci4.de (https://marci4.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: marci4.de is back up in 902b0f9.


text:
var shrinkChild is unused

The variable shrinkChild is unused in your current implementation.

Thanks, going to fix that soon.

authors: czuendorf marcj

repo: marcj/css-element-queries

license: mit


text:
Testing out status

Precondition
This condition must be met
Steps to Reproduce:
Step 1  [Retest]
Step uno
Expected Result
Goes 1
Step 2  [Pass]
Second goes
Expected Result
Goes thwo
Step 3  [Pass]
The classic third
Expected Result
goe three

Open Defect in TestQuality

Test testaroo in Run Run 550 (linked to Cycle All tests).

repo: marco-at-bit/test-quality-sdk


text:
REST API?

What's the best practice to interface ctransformers API and expose it as REST API?
I looked at https://github.com/jquesnelle/transformers-openai-api and tried to change it to use ctransformer, but then I stopped as the changes required increased making it hard(er) to keep in-sync with the original.

Nice @matthoffner

@Spiritdude I have been thinking of adding an OpenAI-compatible API server but not getting the time to do it. For now if you want to create your own API server, you can use the examples provided by matthoffner as reference. One thing to note is that the models are not thread-safe so you will have to use a lock to prevent concurrent calls.
I'm also trying to make ctransformers compatible with 🤗 Transformers so that it can be used as a drop-in replacement in other projects but it is WIP. See https://github.com/marella/ctransformers/issues/13#issuecomment-1587946731

@marella thanks for ctransformer and all the efforts, very appreciated for the attention to details you have (for doing ctransformer and considerations of compatibility). I'm mainly using llama_python.server and keep all my apps using RESTAPI for compatibility.
@matthoffner great, thanks - will use your small code snippet in the meanwhile.

If you want there is already a rest api that supports ctransformer:
https://github.com/ParisNeo/lollms
it allows you to generate text using a distributes architecture with multiple service nodes and you can connect to it  from one or many clients.
It is a many to many server.
It also has some examples to use it as a library. I have creates a front end for it like playground:
https://github.com/ParisNeo/lollms-playground
When you install it, by just doing:
pip install lollms

then you set it up using :
lollms-settings

with this you can select binding (ctransformer for example)
and then you can select a model
then you can also select one of the preconditionned personalities (i have 260 of them)
then you run
lollms-server

This will run a localhost:9600 service
you can run many of them using this:
lollms-server --host 0.0.0.0 --port 9601

you can select any host you want, then you can run the playground or create your own code.
you can either use or not the personality preconditionning
I use socketio for generation in order to be able to send
socket.emit('generate_text', { prompt, personality: -1, n_predicts: 1024 ,
parameters: {
temperature: temperatureValue,
top_k: topKValue,
top_p: topPValue,
repeat_penalty: repeatPenaltyValue, // Update with desired repeat penalty value
repeat_last_n: repeatLastNValue, // Update with desired repeat_last_n value
seed: parseInt(seedValue)
}});
personality is the id of mounted personalities in the server. You can mount many allowing the user to choose.

Thanks @ParisNeo very cool
I'm hoping to help get ctransformers added to OpenLLM as well:
https://github.com/bentoml/OpenLLM/issues/24

@matthoffner Hello, where is your code snippet using ctransfomers as openai-like server backend? Would like use it.

These should still work:
HuggingFace: https://huggingface.co/spaces/matthoffner/wizardcoder-ggml
Github: https://github.com/matthoffner/ggml-fastapi

@matthoffner thanks so much, just found it in files tab.
However, I found some weried issue.
The detokenized text return to my client dropped space:

I changed nothing but return the new_text from chat_chunk and streaming to client, do u got any idea?

Thanks @lucasjinreal, I haven't seen this issue.
Here are some recent UIs I built around WizardCoder if you are looking for some client side examples.
Live HTML Editor: https://github.com/matthoffner/wizardcoder-sandbox
Chatbot-ui: https://huggingface.co/spaces/matthoffner/starchat-ui

@matthoffner Can u tell me how did u resolve the white space issue? I printted out in stream one by one, it actually didn't have white space betwee.

@matthoffner
async def stream_response(tokens, llm):
    try:
        iterator: Generator = llm.generate(tokens)
        for chat_chunk in iterator:
            print(llm.detokenize(chat_chunk), end='', flush=True)
            response = {
                'choices': [
                    {
                        'message': {
                            'role': 'system',
                            'content': llm.detokenize(chat_chunk)
                        },
                        'finish_reason': 'stop' if llm.is_eos_token(chat_chunk) else 'unknown'
                    }
                ]
            }

Normally, it should printout in stream with typewriter effect, but it doesn't include white space.....

BTW, I using ctransformers cli without any issue:
outputs = ''
        for text in llm(prompt, stream=True):
            print(text, end="", flush=True)
            outputs += text
        print()

authors: ParisNeo Spiritdude lucasjinreal marella matthoffner

repo: marella/ctransformers


text:
requirejs: Setting module.exports in simplified CommonJS wrapper not working

With RequireJS, one could use a simplified CommonJS Wrapper and set the value of the exported module by returning it in the callback/wrapper function. This is supported in Tern already. But in RequireJS, one could also set the exported object by assigning it to module.exports:

There are some CommonJS systems, mainly Node, that allow setting the exported value by assigning the exported value as module.exports. That idiom is supported by RequireJS

http://requirejs.org/docs/commonjs.html#exports

Maybe you would also like to support that (should be simple). Example:
define(function(require, exports, module) {

  function Person(name) {
    this.name = name;
  }

  //if using just this, Tern doesn't get it, but works with RequireJS
  module.exports = Person;

  //this works with Tern already
  return Person;

});

I followed up with patch 9ecb8285580a049b, which fixed the test suite and might also fix your case.

I've also tried with 9ecb828, but it doesn't help. Your work is very appreciated!

Right, there was another problem. Attached patch seems to help.

It works now, thank you very much!

authors: herrernst marijnh

repo: marijnh/tern


text:
Show Python results in Python notation

Description
When a cell has multiple results, such as the last statement (and expression) on a cell is True, False, the output seems to be JSON output similar to json.dumps((True, False)), which thus uses JS syntax for True/False.
This can be confusing to Python newcomers, like the students I teach to. I understand if there's a reason for this (like interfacing with JS libraries in the frontend), but if there is a solution it would be appreciated.
Suggested solution
Maybe it's possible to use something like ast.unparse, although that's not a pretty-printer.
Alternative
There is also a workaround for this 'problem', which is to write print(True, False).
Additional context
No response

Just for reference, this is what it currently looks like:

Playground

@odanoburu , thanks for opening this issue and helping us improve marimo! Version 0.8.3, which should be available on PyPI shortly, contains a fix.

authors: akshayka mscolnick odanoburu

repo: marimo-team/marimo


text:
Netlify SSL

https://www.netlify.com/docs/ssl/?utm_campaign=First+successful+deploy&utm_content=Successful+deploy&utm_medium=email_action&utm_source=customer.io

Don't need to do anything. Automatically set up.


text:
Basic Routes To be Implemented

Routes

GET Timeline(Homepage)
GET User Profile
POST Login
POST Sign Up
POST Post Comment
POST Upload Pictures, Images and Videos
PUT Update User Profile
PUT Reset User Password
DELETE Delete User Account

I am done with this tasks

authors: Legendary-Tony timzprof

repo: markessien/socialapp


text:
change installed to present

fixes #180

Merged, thanks!

repo: markt-de/puppet-galera


text:
Documentation website seems to be down.

Going to http://markusslima.github.io/bootstrap-filestyle/ gives you a 404 page.

The documentation is ok

authors: heyrm markusslima

repo: markusslima/bootstrap-filestyle


text:
ImageInput always returns array

is this normal even without multiple = true ?

I indeed faced the issue. Not sure what should be the intended purpose, but from a practical point of view, I find it cumbersome when uploading a single file. Yet, you can however do something like the following in your REST client:
const pictures = Array.isArray(params.data.picture) ? params.data.picture : [params.data.picture];

This way, if your API returns a single picture, it would be arrayized for AOR. As AOR always returns an array, you can handle all your upload process to deal only with arrays, eventually retrieving first element before sending it to your server.

The documentation is misleading, we should make it more explicit

@jpetitcolas I'm using a third party aor client. If it's always returning an array what is the point of multiple option ?

@mzgnr: yes, it is probably related to what React DropZone returns. We'll keep current behavior (always an array).

@jpetitcolas thanks, i was able to change my server's behaviour for image uploads.

authors: fzaninotto jpetitcolas mzgnr

repo: marmelab/admin-on-rest


text:
Redirect loop in Edge

In version 1.2.0 a redirect loop is introduced.
It seems to only happens in Edge. After redirecting back to /auth-login, the application initiates another redirect to fetch a token, causing a loop. This does not happen in Firefox.
Reverting to 1.1.0 fixes the issues.

Hello @dicksnel,
I am the developper that implemented the deep link feature. I wasn't able to reproduce the bug on Edge (Linux), can you give me more information about your setup ?
It seems that there is an error on the Microsoft token enpoint on your logs, can you give me more information about this error as well ?
Have a nice day,
Jonathan

@jonathan-marmelab I changed my implementation from:
const myMSALObj = new PublicClientApplication(msalConfig);
To:
const myMSALObj = new PublicClientApplication(msalConfig);
myMSALObj.initialize().then(() => {}});

Which seems to have fixed the issue. The demo project mentions:
[https://github.com/marmelab/ra-auth-msal/blob/main/packages/demo-react-admin/src/App.tsx
const myMSALObj = new PublicClientApplication(msalConfig);](https://github.com/marmelab/ra-auth-msal/blob/706d7f477309e50d117391b16989c3a834e49d3f/packages/demo-react-admin/src/App.tsx#L36C7-L36C7)
But this is deprecated. Newer versions of MSAL require async initialization.
Thank for the help!

I made a mistake and was still running the old version. The issues is not fixed. But setting enableDeepLinkRedirect to false does work as a temporary fix.

Thanks for the additional information.
I'll reopen the issue then.
Can you please specify what version of @azure/msal-browser shows the issue, and what version does not?
Thanks.

I can't reproduce this error using our demo with MS Entra. I'm using Edge on Linux though.

I'm closing this issue because we got no news for some time. Feel free to add a "how to reproduce" comment if you want us to take a look at it.

authors: dicksnel djhi fzaninotto jonathan-marmelab slax57

repo: marmelab/ra-auth-msal


text:
Add multimodal model support

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Have unit tests been run against this PR? (Has there also been any additional testing?)

Related Python client changes (link commit/PR here)

Related documentation changes (link commit/PR here)

Other information:

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines
[ ] Tests for the changes have been added (for bug fixes/features)
[ ] Docs have been added / updated (for bug fixes / features)

Once review is done, I'll remove all the print debug statements in this PR.

repo: marqo-ai/marqo


text:
Issue while running the code

Hello I am having issues while running hyperbox code, here an exemple, could you please help on how to fix it?
commande:  python -m hyperbox.run experimen=example_random_nas trainer.fast_dev_run=True
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/home/ibekkar/workplace/hyperbox/hyperbox/run.py", line 5, in <module>
    import hydra
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/site-packages/hydra/__init__.py", line 5, in <module>
    from hydra import utils
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/site-packages/hydra/utils.py", line 8, in <module>
    import hydra._internal.instantiate._instantiate2
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/site-packages/hydra/_internal/instantiate/_instantiate2.py", line 12, in <module>
    from hydra._internal.utils import _locate
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/site-packages/hydra/_internal/utils.py", line 18, in <module>
    from hydra.core.utils import get_valid_filename, validate_config_path
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/site-packages/hydra/core/utils.py", line 20, in <module>
    from hydra.core.hydra_config import HydraConfig
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/site-packages/hydra/core/hydra_config.py", line 6, in <module>
    from hydra.conf import HydraConf
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/site-packages/hydra/conf/__init__.py", line 46, in <module>
    class JobConf:
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/site-packages/hydra/conf/__init__.py", line 75, in JobConf
    @dataclass
     ^^^^^^^^^
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/dataclasses.py", line 1232, in dataclass
    return wrap(cls)
           ^^^^^^^^^
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/dataclasses.py", line 1222, in wrap
    return _process_class(cls, init, repr, eq, order, unsafe_hash,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/dataclasses.py", line 958, in _process_class
    cls_fields.append(_get_field(cls, name, type, kw_only))
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/miniconda/envs/hyperbox/lib/python3.11/dataclasses.py", line 815, in _get_field
    raise ValueError(f'mutable default {type(f.default)} for field '
ValueError: mutable default <class 'hydra.conf.JobConf.JobConfig.OverrideDirname'> for field override_dirname is not allowed: use default_factory

you can try to switch to a different version of hydra

authors: ilhembekkr marsggbo

repo: marsggbo/hyperbox


text:
bump the new release

I would like to use this feature, and I would like to know when you plan to bump the new chart version. Thank you.

Sorry, totally missed that. I just bumped the version!
Thanks

Fixed with https://github.com/martialblog/helm-charts/releases/tag/limesurvey-0.8.0

authors: KelvinVenancio martialblog

repo: martialblog/helm-charts


text:
export to a SavedModel

Following up on our Twitter chat:  I want to save a trained model from my text as a TensorFlow SavedModel.  It'd be especially cool if that SavedModel can be accepted by tfjs-converter and run in the browser.
How I tried to export the model:
builder = tf.saved_model.builder.SavedModelBuilder('./sample')
with tf.Session() as sess:
   # current code
   ...
   ...
   builder.add_meta_graph_and_variables(sess, [tf.saved_model.tag_constants.TRAINING])
   builder.save()

I was able to see and export one tag-set (train) but it came with no SignatureDefs / MetaGraphDef tags, which is what I'm supposed to select in this process: https://github.com/tensorflow/tfjs-converter

thanks for reporting this. I am looking into it.

authors: mapmeld martin-gorner


text:
New tiles per activity

It would be nice to see how many new tiles of a given zoom level were exlored with an activity. This could be displayed on the activity page. The information is available indirectly, one would need to extract it.

Added in 0.24.0.

repo: martin-ueding/geo-activity-playground


text:
Colors are subjective to the system color profile

I have noticed that the colors are subjective to the system color profile of the display, As for example I am editing something in Photoshop and the color profile is set in Photoshop to RGBA, the color picker in Photoshop and this color picker show different values.
Perhaps if the system color profile matches with the one in the image it would be okay, but for me, my system color profile is different.
I am using the Lenovo C940 with 4k display, which has much richer color gamut than RGBA, and I can't even change the system color profile as a matter of fact, in the settings I have only one option which is "Lenovo Yoga LCD Monitor".
But when I am using the color picker, I want to make sure it matches RGBA for better compatibility when viewing my photos or apps.
Perhaps there is some way to notice this when the display and image colors mismatch and then provide a compensating value or have an option to view values based on specific color gamut.

hi dusdev
when opening a new photoshop file have you tried setting it to 32 or 16 bit color? at 8 bit color mode photoshop will change the color from the color picker to fit the bit range

hi dusdev when opening a new photoshop file have you tried setting it to 32 or 16 bit color? at 8 bit color mode photoshop will change the color from the color picker to fit the bit range

I have not tried it because I am working in 8 bit color mode on purpose, so that I can make sure whoever is viewing the product at the other end, sees the same thing I do.
But if photoshop just changes it to an equivalent color that is acceptable too.
With that said, if it is not hard to implement, having a setting in PowerToys to choose which color mode is used by default could be very useful.
Usage example:
I can try for example to change a color in the UI while I am developing, using RGB, and if I check it using the Color Picker I get different values, this is especially inconvenient because I might like some design examples I find online, and I would use the color picker to figure out which colors they are using, But as it is now it would give me "incorrect" values which I would somehow need to convert back 8 bit.

repo: martinchrzan/ColorPicker


text:
Test for Clang by checking --version

This is for platforms where clang++ is aliased as c++, such as FreeBSD and OSX.

Thanks!

I tweaked this a bit in #927, it should now work with both clang and newer gccs.

repo: martine/ninja


text:
additional fix to #177

Fix #177, in addition to https://github.com/martinet101/WingetUI/commit/0790df76e277e8a970ac2dd1286ab63330cbbbea#diff-6d0ccdad16c3e4f9e06497e90b30d7b684f3839d969fde13e2f3c658989ac23b

Closed in favor of https://github.com/martinet101/WingetUI/pull/227


text:
Spanish translation

I want to help translate this great extension into Spanish.

Hey, thanks for the effort but this extension is not maintained for multiple years now. Honestly, I am surprised anyone is still using it as I heard it is broken in lots of ways. That said, I am fine with anyone forking and even publishing again it if you want to.

@martinkadlec0 What do you think about adding someone the perms to this repo who can setup GitHub action to publish it and maintain the PRs, ...? So the work will not be split and the people get the latest updates automatically.
I use different RSS for a year or so now, but maybe @wmlgr or someone else is interested. Just an idea :)

authors: martinkadlec0 miso-belica wmlgr


text:
Invalid JSON for example config

Running the example config from the README, I receive the following output:
$ node_modules/.bin/xliffmerge -p .xliffmerge
ERROR: oops SyntaxError: Unexpected token } in JSON at position 349
~/my_project/node_modules/ngx-i18nsupport/dist/xliffmerge/xliff-merge.js:91
                throw err;
                ^

SyntaxError: Unexpected token } in JSON at position 349
    at JSON.parse (<anonymous>)

Hmm,
For me the example configuration in the readme looks correct.
There are 2 opening and 2 closing braces.
Maybe you forgot to copy the first line?

I think the comma at the end of the line is wrong:     "quiet": false,

You are right.
I corrected it.
Thanks

authors: cburgmer martinroob


text:
Add support for custom request and response labels

For folks that want to reuse the encapsulation format it would be useful to be able to compile this crate with custom request and response labels. Right now, the crate mandates BHTTP as the underlying content. As a proof-of-concept, I implemented a protobuf-based encoding for HTTP messages and plumbed it into this crate in this change. It's not great... I basically want the equivalent of compile-time strings, but I don't know the best way to do that in Rust.

So the way to do this is to define a new trait on which you have a const, call it const INFO_BASE: &str.  You implement that trait for OHTTP as follows:
pub trait InfoStr {
  const BASE: &'static str;
}
pub struct Ohttp();
impl InfoStr {
  const BASE: &'static str = "message/bhttp"
}

Then you make all of the implementation pieces generic over T: InfoStr.
The usage turns from new Client(...) to new Client<Ohttp>, which isn't a big change.  The performance cost is manageable (I think that concatenating &'static str instances can be done by the compiler), so there is only a tiny compile time cost involved for monomorphism and no runtime cost.
Caveat: I haven't tested any of this by writing it.  If you want to give it a spin, I am happy to review.  Otherwise, I'll probably try this out at some later time.

Thanks @martinthomson. This sounds like a reasonable approach to me. If I get some time, I'll give it a shot.

authors: chris-wood martinthomson

repo: martinthomson/ohttp


text:
Add SMTP Notifier

Adds an SMTP Notifier, using the example from AWS SES guide, but should work with any SMTP server.
The notification is put in the subject line since they are short, and the body of the message is left blank.

Looks good, thanks for addressing the feedback!

authors: martomi mikehw

repo: martomi/chiadog


text:
not work starlight-image-zoom plugin

Describe the Bug
The plugin doesn't work when I go to the page.
starts working only after page reload
I use
https://events-3bg.pages.dev/jotter/starlight/guide/#step-2-create-the-new-head-component
What's the expected result?
After going to the page, zoom should work
Link to Minimal Reproducible Example
Unfortunately locally
Participation

[ ] I am willing to submit a pull request for this issue.

Hi @Arhell, I'm sorry that astro-vtbot broke your site. I can not repair this in vtbot's side. But I opened an PR with starlight-image-zoom.

Hi @Arhell, I'm sorry that astro-vtbot broke your site. I can not repair this in vtbot's side. But I opened an PR with starlight-image-zoom.

Thank you. You've already done a great job. This plugin provides convenience for reading documentation without unnecessary scrolling.

Sorry for the inconvenience and thanks a lot for your pull request @martrapp, amazing and efficient work :raised_hands:
I just published v0.3.0 of the starlight-image-zoom plugin which includes your changes.

I checked, everything works, thank you very much for your work and efficiency!

Thank you both so much for taking the time for review/approval and test! I really appreciate it!

authors: Arhell HiDeoo martrapp

repo: martrapp/astro-vtbot

license: ISC


text:
🛑 POH events bot from render hosting is down

In ba2137a, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in bffd2cd after 11 minutes.

repo: masch/poh-events-uptime


text:
🛑 POH events bot from render hosting is down

In 4947cea, POH events bot from render hosting (https://poh-events-bot.onrender.com/ping) was down:

HTTP code: 0
Response time: 0 ms

Resolved: POH events bot from render hosting is back up in cdfc8e4 after 18 minutes.


text:
New package for AutoHotkey LSP

The AutoHotkey project is only for windows environment.
Describe your changes
AutoHotkey support on windows
Issue ticket number and link

Checklist before requesting a review

[x] I have successfully tested installation of the package.
[x] I have successfully tested the package after installation.

Screenshots

This still needs this: https://github.com/neovim/nvim-lspconfig/pull/3408

repo: mason-org/mason-registry


text:
Port Extension to Firefox

[ ] Modify the extension api calls to work for Chrome or Firefox
[ ] Modify the build process to build:

[ ] an unpacked chrome extension, for dev
[ ] a packed firefox extension, for prod and dev
[ ] a packed chrome extension, for prod

Resources
Building a Cross Browser Extension

https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/user_interface/Popups
https://extensionworkshop.com/documentation/develop/temporary-installation-in-firefox/
https://extensionworkshop.com/documentation/publish/package-your-extension/
https://extensionworkshop.com/documentation/develop/web-ext-command-reference/#web-ext-run
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/storage
https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/API/tabs
about:debugging#/runtime/this-firefox

repo: masonmcelvain/hop


text:
🛑 RESTREAM-TR-1 is down

In 01a326d, RESTREAM-TR-1 ($TR_1) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-TR-1 is back up in abcc30b.


text:
🛑 RESTREAM-IR-12-ZirSakht-3 is down

In d9f1df5, RESTREAM-IR-12-ZirSakht-3 ($IR_12) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-12-ZirSakht-3 is back up in 46d72ac.


text:
🛑 RESTREAM-IR-5-ZirSakht-1 is down

In 7ccc342, RESTREAM-IR-5-ZirSakht-1 ($IR_5) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-5-ZirSakht-1 is back up in 3eb9d5f.


text:
🛑 Iran 10 - Zirsakht 3 is down

In 5a9be63, Iran 10 - Zirsakht 3 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 10 - Zirsakht 3 is back up in 14568c0.


text:
🛑 Iran 10 - Zirsakht 3 is down

In 003457b, Iran 10 - Zirsakht 3 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 10 - Zirsakht 3 is back up in 35e310e.


text:
🛑 Iran 11 - ParsOnline 4 is down

In 792cc61, Iran 11 - ParsOnline 4 ($IR_11) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 11 - ParsOnline 4 is back up in 116826f.


text:
🛑 Iran 10 - Zirsakht 3 is down

In 1bdd857, Iran 10 - Zirsakht 3 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Iran 10 - Zirsakht 3 is back up in 91211ba.


text:
Calc module 2

all weeks for calc

week1: https://docs.google.com/document/d/1IyUs2omO1qhmzbBn5b0EtFv4_35QnYKJX7CIwCP77hw/edit?usp=sharing

repo: masterkram/bytehub


text:
[Scheduled] dart pub upgrade --null-safety

Auto-generated by create-pull-request
See: https://github.com/peter-evans/create-pull-request/blob/master/docs/concepts-guidelines.md#triggering-further-workflow-runs

Codecov Report

Merging #112 (635e620) into main (b9c184d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #112   +/-   ##
=======================================
  Coverage   70.35%   70.35%
=======================================
  Files          97       97
  Lines         958      958
=======================================
  Hits          674      674
  Misses        284      284

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

authors: codecov-commenter myConsciousness

repo: mastodon-dart/mastodon-api


text:
Changed return type of required_capacity to Result

#191 の対応。

close #191

repo: mat-der-D/tokyodoves


text:
🛑 www.matchid.io is down

In 17e1460, www.matchid.io (https://www.matchid.io) was down:

HTTP code: 403
Response time: 166 ms

Resolved: www.matchid.io is back up in 91a5930.

repo: matchID-project/uptime


text:
Enable touch target setting for checkbox

Description

Touch target settings are necessary for accessibility on touch devices
Acceptance criteria

Touch target sizing can be set.

Fixed with #1384


text:
Cannot export styles on Material Theme Builder (Custom) page

Describe the bug
When I fill everything out and attempt to export the styles, nothing happens. I do get this error in the console though:
app.js?version=1670027719620561:13291 Uncaught (in promise) TypeError: module$exports$google3$third_party$javascript$typings$jszip$index is not a constructor
    at module$exports$google3$ux$material$theme_builder$core$exporters$web$WebExporter.download (app.js?version=1670027719620561:13291:794)

To Reproduce
Steps to reproduce the behavior:

Go to 'https://m3.material.io/theme-builder#/custom'
Select the color picker for Primary and enter the following value for the color's hex value '#004225', then click 'Close'
Select the color picker for Secondary and enter the following value for the color's hex value '#FFEF00', then click 'Close'
Select the color picker for Tertiary and enter the following value for the color's hex value '#7BAA20', then click 'Close'
In the top right corner click 'Export' and select 'Web (CSS)'

nothing will happen, but when I open the chrome developer tools I do get the exception listed above
Expected behavior
For the theme to be exported
Screenshots

Desktop (please complete the following information):

OS: macOS Ventura 13.3.1
Browser Chrome
Version 113.0.5672.92 (Official Build) (x86_64)

Additional context
None

Yeesh 2 months no fix :(

Still broken. :(

cant download either

still broken for me also :(

Unfortunately downloads being blocked is a known issue that happens unexpectedly for some in that version of Material Theme Builder.
The good news is that it's not an issue in the version that's under active development: https://material-foundation.github.io/material-theme-builder/

authors: adsonafonso chrisjenx jonvillalobos jwill robert-lara stevenbenitez


text:
Python API - some tests have hard-coded apikey

A number of test (see below) have a hard coded API key. This may be an error or it my be because a specific api key is required for the test. In the cases that it is an error, it needs to be corrected, and in the cases that it is required, the test needs to be surpassed when the pre-conditions are not correct.

Method for conditionally skipping
def test_function():
if not valid_config():
pytest.xfail("failing configuration (but should work)")
# or
pytest.skip("unsupported configuration")


text:
Bootstrapping

Bython should be able to parse itself, and not rely on filthy regular python in doing so!

Definitely. Yet there is a critical bug ( #14 ) that MUST be fixed. After that, x.py  SHOULD by semantically identical to bython -c (py2by x.py). Then we can initiate transpilation (and manual minor modification) from src/*.py to src/*.by.

There are a couple of real advantages of relying on regular python for parsing, these include:

All modules for Python automatically work for bython as well (I'm doing a lot of scientific computing, so having the scipy-stack available is necessary). No inbetween translators is necessary.
All language features of Python is available as soon as Python is updated. There's a reason that e.g. PyPy is still on 3.5 and not on 3.6, it's because they have to rewrite everyting, and that's a huge amount of work. You want fancy substitution of variables in strings as introduced in 3.6? You got it, no need to update Bython.
Now, it's up to the users what parser they want to use. Want to combine Bython with Cython? No problem. What about PyPy? Not an issue. Simply compile with the -c flag and run with your interpreter of choice.

Bython was simply meant as a translator from curly braces to indentation, and I think it's best to keep it like that and use other software for the interpreting.

@mathialo Basically, bootstrapping here (in my opinion) means:
(here bython is a language just like C, while Bython is a bython-to-python compiler just like GCC)

Bython transpiler itself (source code) should be written in bython, not python because python is ;
Whenever a new version of Bython is to be released, we impose an older version of Bython on the source code to obtain python binaries (yeah python IS human-readable, but not SO readable as bython 😏 );
The binaries are published. Anyone who wants to use Bython can simply download the binaries, copy them to /usr/local/bin, run bython -c, ...

Concept
In Bython v0.x
In Bython v1.x
In GCC

High-level language
bython
bython
C

Compiler
Bython
Bython
GCC

Low-level language
python
python
machine code

Compiler source code is written in
python
bython
C

Does compiler need compilation
No
Yes
Yes

Compiler binary is in
python
python
machine code

Ah, I see, I misunderstood. Of course, I think that should be a goal. I also agree on your table above that we keep Bython 0.x written in Python for now, but it should be written in Bython and compiled to Python as of version 1.0 (whenever that may be).

authors: b1f6c1c4 mathialo oleorhagen

repo: mathialo/bython


text:
emoji symbols not supported

Using mml-chtml emoji symbols in MathML input won’t translate into typeset chtml.
See screenshot below from https://runarberg.github.io/mathup if you turn the MathJax polyfill on and scroll down to the reference section on identifiers you will see this:

However with native MathML rendering this is what you see:

I suspect this is because typesetting iterates over each UTF-16 char code as opposed to UTF-8 character.

Ironically I just found out that 殺 means “to kill” which is a bit unfortunate given it comes from the 🥰 (“smiling face with hearts”) emoji.

Yes, I came across this a week or so ago myself, and have a fix for it as part of a larger font-based pull request that I will be making shortly.

I suspect this is because typesetting iterates over each UTF-16 char code as opposed to UTF-8 character.

This is the right idea, but not quite it.  Javascript strings are all UT-16 regardless of the original encoding in the HTML page, and MathJax does properly iterate over multi-character UTF-16 characters.  The failure is at the output end of things, not the input.  It doesn't render multi-character UTF-16 properly.  This is because it was using String.fromCharCode() rather than String-fromCodePoint(), so multi-character code points get treated as single-character ones (dropping the upper character), which is what you are seeing here.
This will be fixed in 3.0.2, but in the meantime, you could use the following configuration
    <script>
    MathJax = {
      startup: {
        ready() {
          const CHTMLTextNode = MathJax._.output.chtml.Wrappers.TextNode.CHTMLTextNode;
          CHTMLTextNode.prototype.toCHTML = function (parent) {
            this.markUsed();
            const adaptor = this.adaptor;
            const variant = this.parent.variant;
            const text = this.node.getText();
            if (variant === '-explicitFont') {
              const font = this.jax.getFontData(this.parent.styles);
              adaptor.append(parent, this.jax.unknownText(text, variant, font));
            } else {
              const c = this.parent.stretch.c;
              const chars = this.parent.remapChars(c ? [c] : this.unicodeChars(text));
              for (const n of chars) {
                const data = this.getVariantChar(variant, n)[3];
                const node = (data.unknown ?
                              this.jax.unknownText(String.fromCodePoint(n), variant) :
                              this.html('mjx-c', {class: this.char(n)}));
                adaptor.append(parent, node);
                data.used = true;
              }
            }
          }
        }
      }
    }
    </script>

to apply the needed patch for the CHTML output (if you want SVG output, there is a similar patch needed for the SVG renderer).

authors: dpvc runarberg

repo: mathjax/MathJax


text:
Learn Issues

Future work would probably be easier with issues rathar that with text file "problemi ideje vprasanja".

That would be a good idea, but perhaps you can enable issues on your fork?

authors: JanezRadescek matijapretnar

repo: matijapretnar/aeff


text:
Connection refused

I ran the example using Docker
The services registered correctly with Eureka and the Gateway was able to communicate with Eureka
However when trying to call the Gateway from the browser, I kept getting HTTP ERROR 502
When I drilled into the logs of the Gateway, I found the following Connection refused (servicec.openapi:9300)
Although I made sure that the "servicec.openapi" container is running under port 9300, I called it from the browser and it worked
After some debugging, I found that in other to get the gateway to communicate with the services; it had to call them using their container port, which means servicec.openapi:8080
That means that the services need to register themselves with Eureka using their container ports and not their exposed ports
Can you please confirm that or am i doing something wrong?

I fixed it up by setting - ASPNETCORE_URLS=http://+:9100 in the docker-compose.override.yml file where the 9100, 9200, 9300 are the ports of each service
Is that correct?

Hi @ZouZou, can you send me your working docker-compose.override.yml file?

authors: ZouZou matjazbravc


text:
No such element from Selenium

This happened after a few hours! I'm running the raspbian variant of Debian stretch, standard python 3.7 environment.
Waking up!
Scraping WAM...
Setting up the web driver
Logging in to the results page
Traceback (most recent call last):
  File "/home/pi/scripts/UoM-WAM-Spam/wamspam.py", line 258, in <module>
    main()
  File "/home/pi/scripts/UoM-WAM-Spam/wamspam.py", line 126, in main
    poll_and_email()
  File "/home/pi/scripts/UoM-WAM-Spam/wamspam.py", line 136, in poll_and_email
    new_wam_text = scrape_wam()
  File "/home/pi/scripts/UoM-WAM-Spam/wamspam.py", line 190, in scrape_wam
    usernamebox = d.find_element_by_id("ctl00_Content_txtUserName_txtText")
  File "/home/pi/scripts/UoM-WAM-Spam/venv/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in find_element_by_id
    return self.find_element(by=By.ID, value=id_)
  File "/home/pi/scripts/UoM-WAM-Spam/venv/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 978, in find_element
    'value': value})['value']
  File "/home/pi/scripts/UoM-WAM-Spam/venv/lib/python3.7/site-packages/selenium/webdriver/remote/webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "/home/pi/scripts/UoM-WAM-Spam/venv/lib/python3.7/site-packages/selenium/webdriver/remote/errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: no such element: Unable to locate element: {"method":"id","selector":"ctl00_Content_txtUserName_txtText"}
  (Session info: headless chrome=72.0.3626.121)
  (Driver info: chromedriver=72.0.3626.121,platform=Linux 4.19.42-v7+ armv7l)

Thoughts:

There's a chance that all we need to do is increase the implicit wait timeout, i.e. the page may be taking longer than 5 seconds to load the login form for some reason, which would cause this specific error.

I'll prioritise hardening the script with exception handling, so that these kinds of failures are more graceful. In particular, it's really bad if someone is relying on the script to run continuously in the background (or on a VPS/Pi/etc.) and it crashes. Ideally, using forever shouldn't even be necessary.

This could also be related to a memory issue. My VPS also has only 1GB of RAM and I was having all sorts of inexplicable crashes when using Firefox. Switching to Chromium fixed them temporarily, but I just learned that my script crashed shortly after I launched it anyway.

Long- (or medium-) term, moving to a less fragile (and lighter) solution using requests+bs4 over selenium+browser sounds like it will fix this issue anyway. See #3.

authors: matomatical noneuclideangirl

repo: matomatical/UoM-WAM-Spam


text:
Requests

Ditch selenium in favour of requests and bs4. This addresses both issues #2 and #3.

Hey @blueset, if you get a chance, could you please take a look and see if I'm roughly doing this right?
Hey @noneuclideangirl, could you please see if this runs on your pi?

Seems to work so far!

@blueset I'm going to merge this now, but I'd still appreciate your thoughts on the code when and if you ever get a chance :)

LGTM!

authors: blueset matomatical noneuclideangirl


text:
Drop 2to3 in setup.py

@efiring I'm not sure of the tests are comprehensive enough to give us 100% confidence on this PR but it was actually quite simple and not a lot of code change to eliminate 2to3.
Closes #399

@WeatherGod anything left to do here? I sent #401 to update the example, following this one, and I have another PR to update setup.py a little bit.

repo: matplotlib/basemap


text:
Change SyncUntil to SyncUntilArray

Fixes https://github.com/matrix-org/complement/issues/245
Turns out i actually do need a SyncUtil as described above (for SYN-627, I need to receive events from different rooms and log them individually as they come in, I need to wait for and process an arbitrary value), so just I'll rename this alongside it.
I'm refactoring this in a seperate PR instead of the same PR for SYN-627, because this PR would be easier to review comparatively when bundled with the other helper function changes.

https://github.com/matrix-org/complement/pull/272

authors: ShadowJonathan kegsay

repo: matrix-org/complement


text:
Widget API extension: Always-on-screen

Documentation: https://docs.google.com/document/d/1_HEq5skPp1Yp559hYp2FSO2ecw8mJQR8lOvgsmYOEro/edit?usp=sharing
Implementation(s):

matrix-widget-api

An extension to the widgets API to allow widgets to remain on screen whatever room the user is viewing. Current use case is video calls.

I'm not sure there'd need to be any changes to the widget API from a spec perspective. What did you have in mind?

Hopefully the proposal explains all :)

Ah, I see. It's a capability being requested by the widget. That makes a lot more sense :D

note: this is built upon the currently undocumented widget API (#1236)
Looks good to me :)

Looks good to me, @dbkr. Thanks!

In the interest of getting this into the integration spec:
@mscbot fcp merge

i want to use matrix widget can you help me for that.

@sunnyharsh123 I don't think this is a good place to ask questions. For that, I would recommend the Matrix HQ room

I think this is now implemented right? (the example in the matrix-widget-api is using a sticky widget)

It's not linked in the description here.

I was thinking about this line: https://github.com/matrix-org/matrix-widget-api/blob/b571e1860903b3ef712b62380f042b6ad9b5611f/examples/widget/index.html#L96
I though this would be the implementation of the Widget Api extension. Probably I got the meaning of needs-implementation wrong then.

That looks like a valid implementation to me. I believe @turt2live meant that it needs to be specified in the description of the original comment in order for the needs-implementation label to be removed.
I've added it, and am removing the label. Feel free to re-add if the implementation isn't satisfactory.

repo: matrix-org/matrix-doc


text:
MSC2757: Sign Events

Rendered
Signed-Off-By: Sorunome mail@sorunome.de

I honestly think this should be implemented as soon as possible.  My Matrix client already has a verified key for my device, so signing messages is practically a freebie!  If I announce through secure side channels that I sign my messages with a certain key, others can be certain that my messages in public rooms have not been tampered with.

authors: Sanqui Sorunome


text:
Failing to generate mocks on 1.13

This command works with go 1.12:
$ moq -out mocks/client.mock.go -pkg mocks ../../vendor/github.com/aws/aws-sdk-go-v2/service/acmpca/acmpcaiface ACMPCAAPI

but breaks badly with go 1.13:
$ moq -out mocks/client.mock.go -pkg mocks ../../vendor/github.com/aws/aws-sdk-go-v2/service/acmpca/acmpcaiface ACMPCAAPI
Couldn't load mock package: go [list -e -json -compiled -test=false -export=false -deps=false -find=true --]: exit status 1: build .: cannot find module for path .

moq [flags] destination interface [interface2 [interface3 [...]]]
  -out string
        output file (default stdout)
  -pkg string
        package name (default will infer)

Same version of moq in both cases, github.com/matryer/moq v0.0.0-20190312154309-6cfb0558e1bd, e.g., current master.

The examples are from running go generate in https://github.com/johanbrandhorst/certify/tree/master/issuers/aws. There seems to be something about the aws interface that breaks it.

I might suggest importing the interface and assigning it to a new type local to that package, it is what I am doing with the /service/s3/s3iface interface
package main

import "github.com/aws/aws-sdk-go-v2/service/acmpca/acmpcaiface"

//go:generate moq -out s3_moq_test.go . MockAPI
type MockAPI = acmpcaiface.ClientAPI

Tested, and this generates with ease.

Cool, thanks for the workaround!

@johanbrandhorst had the same problem, but it did work with go1.13 on local dev, while repeatedly failing on CI. My guess is that the version of "golang.org/x/tools" package is subtly modified (see also #98).
The problem appears specifically when using the -pkg  option.
As a workaround for the "go list..." issue complaining that the mocked package is not here, I prepared an empty valid go file just for this to pass.
mkdir -p {mockpackage}
echo "package {mockpackage}" > {generated}.go

I might suggest importing the interface and assigning it to a new type local to that package, it is what I am doing with the /service/s3/s3iface interface
package main

import "github.com/aws/aws-sdk-go-v2/service/acmpca/acmpcaiface"

//go:generate moq -out s3_moq_test.go . MockAPI
type MockAPI = acmpcaiface.ClientAPI

This is unfortunately unacceptable as it changes the public API of the package. It seems I will have to keep using 1.12 for now.

I'm having the same issue

authors: Agronis fredbi johanbrandhorst pdrum

repo: matryer/moq


text:
React: find or create a React REPL

It must:

support multiple files
hash code source encoding like Svelte REPL or Vue3 REPL

Vue3 example: https://sfc.vuejs.org/#eyJOYW1lLnZ1ZSI6IjxzY3JpcHQgc2V0dXA+XG5pbXBvcnQgeyByZWYgfSBmcm9tICd2dWUnO1xuY29uc3QgbmFtZSA9IHJlZignSm9obicpO1xuPC9zY3JpcHQ+XG5cbjx0ZW1wbGF0ZT5cblx0PGgxPkhlbGxvIHt7IG5hbWUgfX08L2gxPlxuPC90ZW1wbGF0ZT5cbiIsImltcG9ydC1tYXAuanNvbiI6IntcInZ1ZVwiOlwiaHR0cHM6Ly9zZmMudnVlanMub3JnL3Z1ZS5ydW50aW1lLmVzbS1icm93c2VyLmpzXCJ9In0=
Svelte example:
https://svelte-repl.vercel.app/#W3sibmFtZSI6Ik5hbWUiLCJ0eXBlIjoic3ZlbHRlIiwic291cmNlIjoiPHNjcmlwdD5cblx0bGV0IG5hbWUgPSAnSm9obic7XG48L3NjcmlwdD5cblxuPGgxPkhlbGxvIHtuYW1lfTwvaDE+XG4ifV0=
Attempt with Preact REPL: #25

While the Preact REPL did work well with most of the basic React-based examples, it unfortunately did not have support for multi-file examples. Therefore rendering it (hehe) useless for many of the examples here :/

repo: matschik/component-party


text:
更新時に起きたエラー内容

症状
一度 mes add https://github.com/matsuri-tech/m2mcheckin-backend.gitを実行して各種ファイルが作成された。
更新をしたいと思い、再度同じコマンド実行しましたがエラーが発生し更新できていなかったです。
実行したコマンド
mes add https://github.com/matsuri-tech/m2mcheckin-backend.git
エラー内容
error: pathspec '/Users/yasu/Desktop/maturi/m2mcheckin_manager_revised/node_modules/node_modules/.endpoints-tmp/k3fbddgb/.endpoints.json' did not match any file(s) known to git
cleaning temporary directory... done
 ›   Error: Command failed: cd ./node_modules/.endpoints-tmp/k3fbddgb && git checkout origin/master --
 ›   /Users/yasu/Desktop/maturi/m2mcheckin_manager_revised/node_modules/node_modules/.endpoints-tmp/k3fbddgb/.endpoints.json
 ›   error: pathspec '/Users/yasu/Desktop/maturi/m2mcheckin_manager_revised/node_modules/node_modules/.endpoints-tmp/k3fbddgb/.endpoints.json' did not match any file(s) known to git

mesが実行ファイルが置かれている場所
/Users/yasu/.nodebrew/current/bin/mes
何もわからずでデバックできなくなっています。。すいませんが、ご確認お願いします。

https://github.com/matsuri-tech/m2mcheckin-backend.git
配下に.endpoints.jsonは存在しないので正常な挙動です。workspaceオプションを使って適切なディクレトリを指定してください。

authors: hrdtbs kawaguchi-yasutaka

repo: matsuri-tech/endpoints-sdk-cli


text:
Fix memory leak

Fix for #12

Magnificent 👍

authors: kooba mattbennett

repo: mattbennett/nameko-sentry


text:
Remove "speed" property from bubble mode

The bubble mode interface is defined as:
export interface IBubbleBase {
    distance: number;
    duration: number;
    opacity?: number;
    size?: number;
    color?: SingleOrMultiple<IColor | string>;
}

but some of the example particle options in the README files were also containing a speed property in the bubble object.

Thanks for the PR, I didn't notice the mistake in the READMEs

repo: matteobruni/tsparticles


text:
discrepency in setup steps

in setup steps it says to use address in filename for bin files. In example of esp32-s3 however the example given is
0x0000  bootloader.bin
0x8000 partitions.bin
0xE000
0x10000 firmware.bin
however the filename for s3 version of bootloader is 0x1000_bootloader.bin and there is an 0xE000_boot.bin which is left blank. So I am confused as to proper addressing. Are the files labeled incorrectly or is the example wrong? And what is with the missing E000 address in example whereas the file exists? I am asking because I cannot get my ESP32 to work properly but the example is VERY unclear. Any help or clarification would be greatly appreciated! Also, would this mean that there are four (4) required files for the standard esp32 based on the filenames?

@nickfromthebus the readme needs some updates and will be address in the next PR, btw feel free to refer to the structure in the archive, all the files for esp32-s3 are needed, and you can spot them ending with esp32-s3.
If you are installing from scratch you will need to install:

0x1000_bootloader_esp32-s3.bin
0xe000_boot_esp32-s3.bin
0x10000_firmware_esp32-s3.bin
0x8000_partition_esp32-s3.bin

Then any further upgrade will need just the firmware-esp32-s3.bin

I am trying to install in ESP8266 MOD (CH340C driver) and am confused as well with the above.
Please suggest a correct file name for the ESP8266:

0x1000_?
0xe000_?
0x10000_?
0x8000_?

Thank you

@8lackshiki download the files ending with esp8266 from here and in front there's the address to each of them

authors: 8lackshiki matteocrippa nickfromthebus

repo: matteocrippa/leafminer


text:
Trace logging doesn't apply to SAML

This change addresses an issue for 7.11 from the docs task board.

Hello @matthew-src,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

authors: mattermost-build matthew-src

repo: mattermost/docs


text:
[GH-1003] Update Readme 'What are notifications?' section screenshot

Summary
This PR updates the screenshot in the  'What are notifications?' section which shows the recent location of the Jira actions at the Message actions button.
Ticket Link
Fixes https://github.com/mattermost/mattermost-plugin-jira/issues/1003

Hello @chriswachira,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (e1430fa) 33.32% compared to head (25479a3) 33.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1005      +/-   ##
==========================================
- Coverage   33.32%   33.29%   -0.03%
==========================================
  Files          53       53
  Lines        7944     7944
==========================================
- Hits         2647     2645       -2
- Misses       5070     5072       +2
  Partials      227      227

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@cwarnermm Thank you for your approval. Is it possible to retry the failed job from your end?

@mickmister - Are you open to helping address the failing checks on this PR?

@toninis Any ideas on if something may have changed about how plugin-ci sets up its linting or something similar? There are a lot of (seemingly incorrect) linting errors that have come up recently in all the plugin repos
https://github.com/mattermost/mattermost-plugin-jira/actions/runs/7214030852/job/19655859450?pr=1005
golangci-lint run ./...
Error: build/deploy/main.go:116:8: undefined: archiver (typecheck)
	err = archiver.Unarchive(bundlePath, targetPath)
	      ^
Error: server/webhook_jira.go:18:15: undefined: jira (typecheck)
	Issue        jira.Issue   `json:"issue,omitempty"`
	             ^
Error: server/webhook_jira.go:19:15: undefined: jira (typecheck)
	User         jira.User    `json:"user,omitempty"`
	             ^
Error: server/webhook_jira.go:20:15: undefined: jira (typecheck)
	Comment      jira.Comment `json:"comment,omitempty"`
	             ^
Error: server/client_cloud.go:[63](https://github.com/mattermost/mattermost-plugin-jira/actions/runs/7214030852/job/19655859450?pr=1005#step:4:65):27: connection.AccountID undefined (type *Connection has no field or method AccountID) (typecheck)
		"accountId": connection.AccountID,

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

Any updates on the CI issue?

/update-branch

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

@mickmister @cwarnermm Hello to you all!
I believe this PR is complete and can be merged. Kindly review.

Hi @chriswachira, I see this blank image in the "rich diff" view of the PR. Do you know why this may be the case? @cwarnermm Do you have any thoughts on this?

authors: chriswachira codecov-commenter cwarnermm mattermost-build mickmister

repo: mattermost/mattermost-plugin-jira


text:
Automated cherry pick of #7969

Cherry pick of #7969 on release-5.31.
/cc  @lieut-data

Trying to auto merge this PR.

authors: mattermod mattermost-build

repo: mattermost/mattermost-webapp


text:
[MM-20407] Migrate 'components/analytics/team_analytics' module and associated tests to TypeScript

Summary

This migrates the components/analytics/team_analytics component in the webapp to TypeScript. The trickiest parts were:

formatPostsPerDayData has two arguments, but only one is used in the component. I've chosen to pass the first argument labels as an empty string using the components/analytics/system_analytics as a reference.
Defining the getProfilesInTeam return type. I've used the mapDispatchToProps in the  components/needs_team component as a reference.

Ticket Link

Fixes https://github.com/mattermost/mattermost-server/issues/16165
JIRA: https://mattermost.atlassian.net/browse/MM-20407

Release Note

NONE

Thank you for the suggestions @neallred!

rebuild the spinwick to fix an issue with image

/update-branch


text:
How to better personalize a calendar?

Hi,
I'm trying to use angular-bootstrap-calendar and create a calendar where a user can select multiple dates in one go and add an event to the selected range. So far, following the documentation, I can create a custom template for a monthly cell or allow a user to select a range of dates. Unfortunately, as soon as I try to mix the two things I cannot select the range anymore but the custom template is working fine. I have created the calendar in this way
<mwl-calendar
    view="calendarView"
    view-date="viewDate"
    events="prices"
    view-title="calendarTitle"
    on-event-click="eventClicked(calendarEvent)"
    on-event-times-changed="calendarEvent.startsAt = calendarNewEventStart; calendarEvent.endsAt = calendarNewEventEnd"
    custom-template-urls="{calendarMonthCell: 'customMonthCell.html'}"
    on-date-range-select="rangeSelected(calendarRangeStartDate, calendarRangeEndDate)"
    cell-is-open="true"
    cell-modifier="cellModifier(calendarCell)">
</mwl-calendar>

Can anyone show me a plunker working example please?
Plunker example
I have this question before on StackOverflow but no luck so far.
Thanks

Ah I think that example is a bit out of date, if you base your custom template from the latest master version it should give you the behaviour you're after 😄

Hi,
do you have time to create a working example please? I'm not able to do it.
Thanks


text:
send same message by pressing up arrow

Would be nice to be able to quickly re send the same message by pressing the up arrow (terminal mode) 👍

I think for chat "up arrow" button used for edit last message, not for resend it. (telegram, skype)

@HotspurHN you are right, I wish we could add the following behavior:

up arrow: edit last message
up arrow again: get message before the last one (pre-filled for sending)
up arrow again: get message before the one before the last one (pre-filled for sending)
etc...

what do you think about this?

authors: HotspurHN mattmezza

repo: mattmezza/vue-beautiful-chat


text:
support custom targetFields

I have the following problem:
My value of the targetField is "/company/jobs"
If I click on "Open Live View", the plugin opens a new tab with the url "https://localhost:3000//company/jobs" because my targetField already contains a slash at the start of the string. Is there a way to remove the first slash the plugin is adding to the url?

Hi @Robinrrr , sorry for the late response. The Strapi preview button plugin has recently been updated with breaking features and now supports more freedom in customizing the preview URLs as well as other new features 👍🏻
Just curious if the README section for mapping values from entry data into preview URLs may help you work around your issue.

Closing due to inactivity

authors: Robinrrr mattmilburn


text:
Error directory is not created

Very dumb issue. If the error directory doesn't exist the application will finish as soon as there's an error. Workaround is to just use a directory that exists :)
Awesome tool by the way, sadly I didn't find it before importing my takeout to Apple Photos and now my photo library is pretty crippled, with thousands of pictures with date today.

Thanks for reporting this @citricut. I've pushed a fix, so now it'll do the same check for --errorDir as it does for --outputDir. If the directory doesn't exist it'll create it automatically, if it does exist then it'll proceed if it's empty or throw an error if the directory is not empty (to avoid accidentally writing into any folders that have files in already)


text:
[FEATURE] Issueの自動アサイン

提案の詳細

Issueを作るたびに自動でアサインしてくれるようにする
動機

ないよりはあったほうが良いので
その他

ISSUE_TEMPLATE以下のマークダウンにassignees: matumotoをするだけか？

そうっぽい
https://docs.github.com/ja/communities/using-templates-to-encourage-useful-issues-and-pull-requests/configuring-issue-templates-for-your-repository

プルリクエストの自動アサインもやっちゃうか

https://github.com/apps/auto-assign

license: Unlicense


text:
fix broken links

Some links were broken this PR fixes them

@RCheesley, please could you review :)

For sure, will take a look this week!

authors: RCheesley fakela

repo: mautic/mautic-documentation


text:
added proper url parsing

I just added the url node module to parse the url properly and seperate the code parameter out. I had the issue that in my case I got 2 parameters back and the regex didn't separated those 2 parameters like they should.

Thanks 😄


text:
TODO: Documentation problems and additions

[x] Add xrefService for MS docs to docfx.json
[x] Add xrefs for BenchmarkDotNet
[x] Fix View Source links to repo in docfx.json (Dotnet -> DotNet)
[x] Add metadata footer => copyright, etc. See DocFX Reserved Metadata
[ ] With xrefs fixed, some xrefs are shortened too much: DefaultColumnProviders.Params, DefaultColumnProviders.Jobs
[ ] Update placeholder pages
[ ] Add conceptual and sample docs

In order to fix xrefs for BenchmarkDotNet I had to download an older version of  xrefmap.yml from the gh-pahes branch and also add baseUrl: https://benchmarkdotnet.org/ to make it work.
See mawosoft/BenchmarkDotNet#7

[ ]  With xrefs fixed, some xrefs are shortened too much: DefaultColumnProviders.Params, DefaultColumnProviders.Jobs
Sadly there is no easy fix.

DocFX ignores text inside <see></see> tag. Intellisense shows it correctly (and doesn't have the shortening problem in the first place).

/// <see cref="DefaultColumnProviders.Params">DefaultColumnProviders.Params</see>

DocFX shows MD xref tag correctly, but Intellisense doesn't recognize it and shows the tag as plain text.

/// [DefaultColumnProviders.Params](xref.BenchmarkDotNet.Columns.DefaultColumnProviders.Params)

Only workaround seems to be to use a overwrite file.

repo: mawosoft/BenchmarkDotNetToolbox


text:
AppleTV Remote Support

Preconditions

[X] The feature has not been suggested in the past or it makes sense nowadays.

Current Situation
Unable to expose physical Siri Remote as HomeKit accessory.
Proposed Change
HomeKit exposure of physical remote as a switch with multiple buttons to trigger automations / remaps.
Additional Context
Not sure if this is possible?

That's not possible

authors: Dan-Chin maxileith

repo: maxileith/homebridge-appletv-enhanced


text:
OneDrive Sync Issue with the folder name < ~ > Tilde

The folder with the folder name < ~ > as seen in the attached image Issue2 doesn't allow OneDrive to Sync as the tilde is an illegal character as seen in the attached image Issue1.
Was wondering if we could maybe change it to another naming convention.

@joephoton Did you ever figure out what was creating that directory?  I'm running into the same issue, but only in this module.

authors: azuroff joephoton

repo: maximkoretskiy/postcss-initial


text:
Return the value returned by the middlewareHandler

When using async disptachXXXAction, undefined was always return instead of a Promise. It was only caused by the middleware that doesn't returns the next action value.
With this fix when a disptachXXAction trigger a fetch request, you can chain the result.
Before:
const p = dispatchXXAction();
// p was always undefined so the next chaining failed
p.then(()=>{
 //  do something with the result of the promise
})

With this PR:
const p = dispatchXXAction();
// p is a promise so the next chaining works
p.then(()=>{
 //  do something with the result of the promise
})

@maxmantz

repo: maxmantz/redux-oidc


text:
🛑 Transport Canada / Transports Canada is down

In 45b08bd, Transport Canada / Transports Canada (https://www.tc.gc.ca/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Transport Canada / Transports Canada is back up in da78677 after 13 minutes.

repo: maxneuvians/status-statut


text:
Robotjs failed to load in MacOSX

Hi,
This gives error to load robotjs in mac. Has anyone faced this issue?
[Error: ./robot.js failed to load]
[Error: Module version mismatch. Expected 47, got 48.]

I've seen this in other projects, generally when switching node versions without rebuilding native modules (but sometimes in other situations). Running rm -rf node_modules && npm install has always fixed it for me.

Tried that. But problem still exists. Also, as mentioned in Robotjs here but no help.

After some trials and cache cleanups, I am getting:
[Error: ./robot.js failed to load]
[Error: Module version mismatch. Expected 47, got 51.]

you need to build it against electron after installing, npm run rebuild, https://github.com/maxogden/screencat/blob/master/package.json#L11

At last! This solved my issue. http://electron.atom.io/docs/tutorial/using-native-node-modules/
./node_modules/.bin/electron-rebuild

authors: jollysean mafintosh uhoh-itsmaciek

repo: maxogden/screencat


text:
Filter for integration?

How can I achive, to add the card for just one integration?
For example Homematic only delivers a state batterie low no/yes.
I want one card just for the Homematic integration,
To get a more clear view.

It is not possible now unfortunately but I have this in mind... maybe around Christmas time I'll find a bit more time to develop the card

It is not possible now unfortunately but I have this in mind... maybe around Christmas time I'll find a bit more time to develop the card

that's nice! looking forward to it, as I'm currently just doing it like this right now:
filter:
  include:
    - name: entity_id
      value: sensor.*.battery_plus
    - name: entity_id
      value: sensor.jan_battery_level
    - name: entity_id
      value: sensor.sm_s921b_battery_level

authors: GottZ Stephan-4711 maxwroc

repo: maxwroc/battery-state-card


text:
Document the manual testing test cases

Need to add all the test cases performed by me manually in OEP test case doc.
https://e2e.mayadata.io/docs/

Raised the PR for this. Once docusaurus issue is fixed it will get merged

The PR got merged and changes are reflected in the website.
https://e2e.mayadata.io/docs/getstarted


text:
Use CMake for build setup

Proposal:
I am much more comfortable writing a CMakeLists.txt than a Makefile. The build system carried over from the Meaty Skeleton tutorial should be replaced by CMake.
Tasks:

Configure CMake to use the cross-compiler
Setup subprojects for kernel and libc
Use the existing scripts for detecting target architecture (?)
Profit! :D

References:

Specify GCC path for CMake
Mixing C and ASM
OSDev CMake
OSDev Hard Build System

I spent some time on this today, and while things have been set up for the most part, there is an issue with specifying the assembler that CMake is supposed to use. It defaults to using /usr/bin/as and not the one we set up in $HOME/opt/cross/bin. Progress is in the feat-cmake branch. Squash commits before merge.


text:
[feature request]: Review and improve documentation

Contact Details
No response
Is your feature request related to a problem? Please describe.
n/a
Describe the solution you'd like
Review and improve documentation
Describe alternatives you've considered
No response
Additional context
No response
Priority Level
Medium
Code of Conduct

[x] I agree to follow this project's Code of Conduct

#104
#123

repo: maythamfahmi/CryptoNet


text:
CUDA not found

I am getting the following error when I try to run train_singlegpu_demo.sh
File "/home/mayank/Projects/finetune-SAM/SingleGPU_train_finetune_noprompt.py", line 212, in
train_model(trainloader,valloader,args.dir_checkpoint,args.epochs)
File "/home/mayank/Projects/finetune-SAM/SingleGPU_train_finetune_noprompt.py", line 51, in train_model
sam = sam_model_registryargs.arch
File "/home/mayank/Projects/finetune-SAM/models/sam/build_sam.py", line 49, in build_sam_vit_b
return _build_sam(
File "/home/mayank/Projects/finetune-SAM/models/sam/build_sam.py", line 140, in _build_sam
image_encoder=ImageEncoderViT(
File "/home/mayank/Projects/finetune-SAM/models/sam/modeling/image_encoder.py", line 82, in init
torch.zeros(1, img_size // patch_size, img_size // patch_size, embed_dim,dtype=torch.float, device=self.dev[0]))
File "/home/mayank/anaconda3/envs/finetune-SAM/lib/python3.10/site-packages/torch/cuda/init.py", line 293, in _lazy_init
torch._C._cuda_init()
RuntimeError: No CUDA GPUs are available
I have two GPUs on the machine and torch.cuda.is_available outputs True.  How do I fix this error?

Hi, sorry for the confusion. in the train_singlegpu_demo.sh; i choose gpu ID 5 as only visiable gpu on our machine. For your case, you need to change CUDA_VISIBLE_DEVICES= '0' or '1' or '0,1'

repo: mazurowski-lab/finetune-SAM


text:
Investigate and fix github actions

Currently failing with surprising errors in the log.

Fixed by f498474a11f6d1515a008b3c8b5d4394cdf2a071

repo: mbarbin/super-master-mind


text:
[SFAZRG] Zorgon - Bad Parameters for PRFMSG (Invalid Pointer)

Module Information

SFAZRG
Zorgon
1.0

Describe the bug
While running Zorgon (SFAZRG), you'll see multiple Invalid Pointer references while performing String formatting via PRFMSG or PRF.
2022-01-02 21:10:45.9681 Info MBBSEmu.HostProcess.MbbsHost.ProcessRTKICK Running RTKICK-2: 0004:0785
2022-01-02 21:10:45.9681 Debug MBBSEmu.HostProcess.ExportedModules.Majorbbs.setmbk (SFAZRG) Enqueue Previous MCV File: SFAZRG.MCV (Pointer: FFFF:0000)
2022-01-02 21:10:45.9681 Debug MBBSEmu.HostProcess.ExportedModules.Majorbbs.setmbk (SFAZRG) Set Current MCV File: SFAZRG.MCV (Pointer: FFFF:0000)
2022-01-02 21:10:45.9681 Debug MBBSEmu.HostProcess.ExportedModules.Majorbbs.tolower (SFAZRG) Converted c to c
2022-01-02 21:10:45.9681 Error MBBSEmu.HostProcess.ExportedModules.ExportedModuleBase.FormatPrintf (SFAZRG) Invalid Pointer: 1600:0000
2022-01-02 21:10:45.9681 Debug MBBSEmu.HostProcess.ExportedModules.Majorbbs.prfmsg (SFAZRG) Added 60 bytes to the buffer from message number 531
2022-01-02 21:10:45.9681 Debug MBBSEmu.HostProcess.ExportedModules.Majorbbs.clrprf (SFAZRG) Reset Output Buffer
2022-01-02 21:10:45.9681 Debug MBBSEmu.HostProcess.ExportedModules.Majorbbs.rtkick (SFAZRG) Registered routine 0004:0785 to execute every 5 seconds

Investigating this, it looks like there's a parameter being passed into PRFMSG that is invalid. From what I can tell from the disassembly, the call seems to be something like this:
prfmsg(500, subroutine1(arg), subroutine2(arg), subroutine3(arg));
The RTKICK log above, the final parameter is the invalid pointer. This will require a little more intricate stack debugging. I'm going to open this as it MIGHT be an issue that'll surface in another module which could be easier to debug.

This might actually be working as intended. The code checks ProtectedMemory.HasSegment to see if the segment is valid before trying to print the string, but the memory address shown here is a heap address, so it's not tracked by the _segments inside the ProtectedMemoryCore but rather tracked by the heap allocator.
We should probably just remove the safety check and let it try to dereference whatever address it gets.

Nevermind, I could be mistaken here. It seems we do track heap segments via an AddSegment call when we need a new segment for the heap, so HasSegment should work in that case. Plus the 0x1600 segment seems quite high, since 0x600 segments would have to have been allocated via the heap, which sounds pretty crazy

Verified this is fixed in https://github.com/mbbsemu/MBBSEmu/tree/v1.0-alpha-111223

authors: enusbaum paladine

repo: mbbsemu/MBBSEmu


text:
[SUGGESTION] BsonDiscriminator and requesting instances of defined type

Is your feature request related to a problem? Please describe.
Currently I'm trying to develop an application that uses abstract classes in its POCOs. For example, you would have an abstract class Animal, and the classes Dog and Cat would inherit from Animal.
Currently, I cannot find a way to do something like follows:
db.GetCollection<Animal>()

Allows storing items. However,
db.GetCollection<Dog>()

Does not work, as it returns no items.
Therefore, I used a named collection:
db.GetCollection<Animal>("animals");
// and
db.GetCollection<Dog>("animals");

both work correctly until you insert a Cat into the collection. Then it will throw an exception.
Describe the solution you'd like

Add a way to map classes based on a discriminator (like MongoDB's BsonDiscriminator)
Add a way to fetch objects of a certain type from a collection (GetCollection<Animal>().OfType<Dog>() for example)

Describe alternatives you've considered
Manually writing BSON documents for everything, which defeats the purpose of using POCOs in the first place
A related StackOverflow answer for MongoDB is here: https://stackoverflow.com/questions/10405887/inheritance-in-mongodb-how-to-request-instances-of-defined-type
Entity Framework Core also has a similar feature; https://docs.microsoft.com/en-us/ef/core/modeling/inheritance

@frogcrush You should have no issues creating a collection of Animals and inserting instances of Cat and Dog in it, LiteDB will deserialize the objects to their correct types. There is no specific functionality for filtering the objects by type, but you can easily do it with Linq after retrieval.

Would filtering objects by type with Linq not have a performance penalty though?
If so, would there be less penalty using an SQL statement to limit based on the _type column that is generated?

@frogcrush Yes, it should be faster to filter over the _type field, however this field is not always present. It is only present when the type of a object being inserted is different from the type argument for the collection (which will always be the case in your example, given that Animal is an abstract class). And this consistency is only kept if the collection is always opened with a type argument – if insertions are ever made to the collection with untyped collections or with SQL commands, there's no way to guarantee that all the documents in the collection are "correctly typed".

authors: frogcrush lbnascimento

repo: mbdavid/LiteDB


text:
fix #1865 Wrong type after include directive

fix #1865

Hit @lbnascimento ! what about this one RP?


text:
Fix location of input data for flash algorithms in STM32F412xx target.

I believe there was a typo in the last update for the target file.
Will it be possible to do the minor release with the fix? It seems this is blocking usage of this target.

@flit, could you take a look for verification if it's truly an error?

/morph test

Sorry I didn't notice this PR until now! I've gotten way behind…

repo: mbedmicro/pyOCD


text:
regex flag -i set to default as discussed on issue 278

regex flag -i set to default as discussed on issue 278

Could you adjust this PR according to the CONTRIBUTING file? After doing that you might want to rebase your fork on the top of the master branch as well.

Any update on this?

Hi, Sorry but I have currently changed job and they got me pretty busy. I'll try to do so but I can't really do it any time soon. Sorry about that.

authors: fabiotisci mbenford

repo: mbenford/ngTagsInput


text:
count is returning a hash in rails > 5

Hi , I'm upgrading an app to rails 5 and I've found that AATO is returning a hash on count method on ActsAsTaggableOn::Tag::ActiveRecord_Associations_CollectionProxy. This raises an error when try to get the size of the collection.
example:
$irb> Profile.first.professions.size
TypeError: Hash can't be coerced into Fixnum
from /Users/michelson/.rvm/gems/ruby-2.3.1/gems/activerecord-5.1.4/lib/active_record/associations/collection_association.rb:217:in `+'

this is because the count_records method is somehow overwritten and is returning a hash {1:1}
any hints on how do you extend the count on the association collection ?
best

BTW, this started to happen from rails 5.0.0 to latest rails 5.1.4

This is fixed in 6.0.0

Hi @seuros , I'm sorry but I'm afraid that this issue is still happening:
pry(#<RSpec::ExampleGroups::Applicant::Applicant::Defaults>)> applicant.reload.user.reload.profile.professions.size
TypeError: Hash can't be coerced into Fixnum
from /Users/michelson/.rvm/gems/ruby-2.3.1/gems/activerecord-5.2.0/lib/active_record/associations/collection_association.rb:219:in `+'
[3] pry(#<RSpec::ExampleGroups::Applicant::Applicant::Defaults>)> applicant.reload.user.reload.profile.professions.count
=> {3=>1}
[4] pry(#<RSpec::ExampleGroups::Applicant::Applicant::Defaults>)> ActsAsTaggableOn
=> ActsAsTaggableOn

[5] pry(#<RSpec::ExampleGroups::Applicant::Applicant::Defaults>)> ActsAsTaggableOn::VERSION
=> "6.0.1"

authors: michelson seuros

repo: mbleigh/acts-as-taggable-on


text:
Tolls - Enbridge Mainline

Re-order the buttons - Local first, then Mainline, then FSP

Rename as:

Canadian Local Tolls
International Joint Tolls
Flanagan South Pipeline Tolls

Convert to $/barrel. Add option to select between the two units, with $/barrel set as the default. And vice versa for FSP (convert to $/m3 with an option to flip between the two units)

Replace "cnd" with "condensate"

For Local and FSP: if possible, convert the Service and Toll to lowercase to be more consistent with the labelling format of the other fields.

Tolls description box: Mainline description is duplicated. Will only need the top section.

For FSP: rename "ALL" to "All Delivery Points"

Edit no. 6 above to clarify:
The first two paragraphs about the CTS is relevant to all 3 systems. I have included them within the database. So the text for FSP, Local, and Mainline should read exactly as in the database.

repo: mbradds/pipeline-profiles


text:
[FormsyText] causes error : Cannot read property 'prepareStyles' of undefined

on this line:  var prepareStyles = this.context.muiTheme.prepareStyles;
after this warning: Failed Context Types: Required context muiTheme was not specified in TextField. Check the render method of FormsyText.

You need to add muiTheme on context using MuiThemeProvider: http://www.material-ui.com/v0.15.0-beta.2/#/get-started/usage
Or manually:
http://www.material-ui.com/v0.15.0-beta.2/#/customization/themes
(See 'Using context')

repo: mbrookes/formsy-material-ui


text:
🛑 ChatGenie Client API is down

In 9ec827d, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in edf8bd1.


text:
🛑 ChatGenie Client API is down

In b0bd3b4, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in d619239.


text:
🛑 ChatGenie Client API is down

In c83976b, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 585fcf1.


text:
🛑 ChatGenie Client API is down

In 6b1c540, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 0376ce4.


text:
🛑 ChatGenie Client API is down

In 801bcad, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 579c04f.


text:
🛑 ChatGenie Client API is down

In ddf5043, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 038284a after 33 minutes.


text:
🛑 ChatGenie Client API is down

In fdd7ebc, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 63ce5ed after 19 minutes.


text:
🛑 ChatGenie Client API is down

In 1576d70, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 92bcd40 after 28 minutes.


text:
🛑 ChatGenie Client API is down

In 387eab3, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 95d3004.


text:
🛑 ChatGenie Client API is down

In 8869f4a, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 1d4ffd2.


text:
🛑 ChatGenie Client API is down

In 7e41f06, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 6c482d4.


text:
🛑 ChatGenie Client API is down

In 42b7506, ChatGenie Client API ($CHATGENIE_CLIENT_API) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ChatGenie Client API is back up in 1501402.


text:
Does support  bulk Nanopore direct RNA sequencing data?

Hi,
Great jobs, does MATES support  bulk Nanopore direct RNA sequencing data? or how to modify paratemeters for bulk Nanopore direct RNA sequencing data type?
Thanks a lot,
Bai

Hi Bai,
We never run MATES directly on bulk Nanopore RNA-seq data. And I don't think that MATES natively supports to train on bulk RNA-seq data. Before training MATES, the preprocessing steps to build unique and multi-mapping coverage vectors requires the data in 10X scRNA-seq (each read has a barcode) or smart-seq2 format (reads from same cells are in one bam file). However, if you manage to build unique and multi-mapping coverage vectors for your Nanopore RNA-seq data (e.g. manually assign "barcode" to each of your Nanopore reads, or similar to smart-seq data formate), you can still try MATES for the training and other downstream tasks. Currently, MATES focus on the single-cell level TE quantification and do not have a plan to support bulk RNA-seq data.
Thanks,
Yumin

repo: mcgilldinglab/MATES


text:
🛑 GitHub Mirror is down

In 6ed1be6, GitHub Mirror (https://gh.chapro.xyz) was down:

HTTP code: 500
Response time: 44 ms

Resolved: GitHub Mirror is back up in d3a5197 after 5 minutes.

repo: mchaNetwork/status


text:
"Oops! Something went wrong" Loading Map Error (Help)

Soon as I sign in my google account and the map starts to load this pops up.

Check my post here: #320 That helped for me.

@zombou I followed the steps but my API was already enabled to there's something else wrong I hope this can help.

Duplicate of #274

authors: AVellucci livingtatted zombou

repo: mchristopher/PokemonGo-DesktopMap