text:
PyQt -  ImportError: DLL load failed while importing sip: The specified module could not be found.

C:\Program Files\IDA Pro 7.5 SP3\plugins\capa_explorer.py: DLL load failed while importing sip: The specified module could not be found.
Traceback (most recent call last):
  File "C:\Program Files\IDA Pro 7.5 SP3\python\3\ida_idaapi.py", line 616, in IDAPython_ExecScript
    exec(code, g)
  File "C:/Program Files/IDA Pro 7.5 SP3/plugins/capa_explorer.py", line 9, in <module>
    from capa.ida.plugin import CapaExplorerPlugin
  File "C:\Python39\lib\site-packages\capa\ida\plugin\__init__.py", line 14, in <module>
    from capa.ida.plugin.form import CapaExplorerForm
  File "C:\Python39\lib\site-packages\capa\ida\plugin\form.py", line 18, in <module>
    import ida_settings
  File "C:\Python39\lib\site-packages\ida_settings\__init__.py", line 1, in <module>
    from .ida_settings import IDASettings, PermissionError
  File "C:\Python39\lib\site-packages\ida_settings\ida_settings.py", line 168, in <module>
    QtCore = import_qtcore()
  File "C:\Python39\lib\site-packages\ida_settings\ida_settings.py", line 141, in import_qtcore
    from PyQt5 import QtCore
ImportError: DLL load failed while importing sip: The specified module could not be found.

Running Python3.9.0 and IDA 7.5 SP3 here, when i try to manually import that from command prompt on my windows OS it works but the same fails in IDA. Ideas?

Can you double-check your IDA is using the correct Python where you setup capa?

It seem this is helpful to solve this problem: https://github.com/joxeankoret/diaphora/issues/173

the above instructions seem to help with this bug. otherwise, we're not able to reproduce the issue. please reopen if the issue is encountered again.

repo: mandiant/capa


text:
run cinst -y ghidra.fireeye and not working

try to run cinst -y ghidra.fireeye and not working
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://ghidra-sre.org/ghidra_9.2.2_PUBLIC_20201229.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (403) Forbidden."
The install of ghidra.fireeye was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\ghidra.fireeye\tools\chocolateyinstall.ps1'.
See log for details.
i try from "choco install ghidra" and that is work but not make a JDK attaching

Our upcoming 3.0 release shares packages with FlareVM. The Flare team has an updated Ghidra package that is accessible by Commando. The release is currently planned for later this Summer.

source: gharchive/issue

repo: mandiant/commando-vm

license_type: permissive

license_source: github-api


text:
Update README.md

Correct a few small English errors.
Proposed change(s)
Describe the changes made in this PR.
Useful links (GitHub issues, forum threads, etc.)
Provide any relevant links here.
Types of change(s)

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Code refactor (non-breaking change which refactor the code)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Documentation update only
[ ] Other (please describe)

Testing and Verification
Please describe the tests that you ran to verify your changes. Please also provide instructions and ROS packages as appropriate so we can reproduce the test environment.

1st command
2nd command
...

Test Configuration
Mini Pupper Version
[e.g. Simulator, Mini Pupper, Mini Pupper 2, Mini Pupper 2 Pro]
Raspberry Pi OS + ROS version
[e.g. Ubuntu 22.04, ROS 2 Humble]
PC OS + ROS version
[e.g. Ubuntu 22.04, ROS 2 Humble]
Checklist

[x] I have read the CONTRIBUTING guidelines.
[x] I have checked to ensure there aren't other open Pull Requests for the same change.

Other comments

Thanks for taking the time to submit the PR, very helpful

Thanks! @Russ76

source: gharchive/pull-request

authors: Russ76 Tiryoh hdumcke


text:
test

I would like to participate. I've made some changes to the code which made it functional again however I can't seem to be able to monitor any of the api requests. I've tried charles but the certificate isn't accepted. I've tried a few android apps however their certificates are rejected. If i could get a look at the api requests I could add a lot more functions to this repo

Get old iDevice, jailbreak with Phoenix and install SSL Pinning killswitch.
Then all certificates should be accepted.

repo: mangledbottles/Musically-API

license: MIT


text:
🛑 Mesa Freeworld is down

In 45cc32a, Mesa Freeworld (https://nonfree.eu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mesa Freeworld is back up in e846fa0 after 32 minutes.

repo: manjaro-contrib/upptime


text:
Bluetooth Swaybar item unintuitive

Oftentimes it just closes when I select something by pressing enter, it seems shift-enter helps with that.
Still I was not able to pair my Logitech MX Ergo, which I was able to pair in seconds using bluetuith

Never heard of that tool. If it is better, I would be happy to get rid of rofi-bluetooth. For me it works, but pairing does seldomly work on the first try.

Just discovered it, and it seems to work very well :)

Added bluetuith to our repos and will test it a few days.

Enabled bluetuith by default and remove rofi-bluetooth.

@all-contributors please add @xeruf for having a great idea

authors: boredland xeruf

repo: manjaro-sway/manjaro-sway


text:
Please add option to remove comments to the import list or make them disabled by default.

Please add option to remove comments to the import list or make them disabled by default.

Hi @piotr-tobolski ! Seems like this repository is retired. Functionality of this plugin was recreated on Swift by me. But in my plugin comments are disabled by default. You can check it if you want to. https://github.com/Karetski/Snowonder

authors: Karetski piotr-tobolski

license: mit

license_source: bigquery


text:
How to get LinearLayoutManager to display horizontal

Hello,
I added this to my RecyclerView
LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false);
But still, smart-recycler-adapter still displays it items vertical.
How can I make it display Linear horizontal.
Thanks for this library

Hi there,
Sounds like you set the layout manager to the recycler view before you used the SmartAdapterBuilder.
You can set the layout manager in the SmartAdapterBuilder and the builder will set it to the recycler view.
Or you can set it yourself after your SmartAdapterBuilder code.
But I realized this is an issue and I will add an check in the builder so that you can do either way in the future.
Thanks for using this lib!
Ps: v3.0.0 will be released soon, got merged into master but jitpack was down for 48h so I couldn't verify some stuff. I'm currently migrating to maven/jcenter for v3.0.0.
Thanks for your patience!

Hello, I still have the same issue with version 3.0.0
When I write this
SmartRecyclerAdapter
.items(specialities)
.map(TitleModel.class, TitleViewHolder.class)
.map(ItemModel.class, SpecialityItemViewHolder.class)
.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false))
.into(specialityItem);
It comes with empty items but when I remove the HORIZONTAL parameter in LinearLayoutManager the items will be align vertical.
What I need is to linear the items horizontally.
Is there anything wrong with the code sample above or is it from the library?

Hi,
I don't see any issue with your code example.
The SmartAdapterBuilder that is returned by SmartRecyclerAdapter.items(...) will automatically supply a vertical LinearLayoutManager if you don't set it in the builder as you did in your example.
So if you do .setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false) in the builder the items will be displayed horizontally.
See sample code classes for more examples.

authors: HenryChigbo manneohlund

repo: manneohlund/smart-recycler-adapter


text:
Fix parsing error when periodic=False and boxsize not given in the theory module

From #256, don't pass a boxsize of None to the C extensions.

Hello @lgarrison! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file Corrfunc/theory/DD.py:

Line 231:80: E501 line too long (82 > 79 characters)

In the file Corrfunc/theory/DDrppi.py:

Line 282:80: E501 line too long (82 > 79 characters)

In the file Corrfunc/theory/DDsmu.py:

Line 298:80: E501 line too long (82 > 79 characters)

Unsure why the astropy bots are complaining - the milestone is set and a changelog entry is present.

@lgarrison This is ready to merge right?

Yes!

authors: lgarrison manodeep pep8speaks

repo: manodeep/Corrfunc


text:
Consider adding stylelint-prettier

https://github.com/prettier/stylelint-prettier

Actually, we should use https://github.com/prettier/stylelint-config-prettier instead.


text:
Added Longest Common Substring Function

Description of new feature, or changes

function receives 2 strings as an input
function returns first longest common substring that was found

Checklist

[x] Your branch is up-to-date with the base branch
[x] You've included at least one test if this is a new feature
[x] All tests are passing

Related Issues and Discussions
Issue #8
People to notify
@manrajgrover

Since Your fork has been deleted I'm gonna merge this pull request to branch named "longest-common-substring-yevseytsev" then check it and merge it to master from there :) Thanks for contribute.

My bad, now I've noticed that I cannot do such thing because your repository has been deleted.

repo: manrajgrover/algorithms-js


text:
允许主机禁用 p2/p3/p4

《热血格斗传说》当开启 2 人模式时，p3 能控制主机。
应该默认禁用 p3/p4，但能被主机打开。

加一个虚拟用户占位即可


text:
Change default component extension

It appears the .jsx extension is hard coded in:
https://github.com/mantrajs/mantra-cli/blob/255405efd4a680498b2e03df16fdb82b7bb165fb/lib/generators/utils.js#L26
Are there any plans to enable the user to generate components with a .js extension, like in the mantra sample blog app?

Yeah. this is doable. Here is how we are getting the extensions currently.
We can make a function that takes user config (read from mantra-cli.yml) and entity type (action, components, etc.) and conditionally outputs extensions. PR is welcomed.

Great! I'll take a crack at it. I'll let you know here if I have any questions.

authors: babenzele sungwoncho

repo: mantrajs/mantra-cli


text:
Support new raster colorizer modes linear-rgba and linear-bgra

In this PR https://github.com/mapnik/mapnik/pull/4058 was added a new raster-colorizer-default-mode:

linear-rgba
linear-bgra

For support we need mapnik-reference to support it and a release of it. This would require a new Mapnik API version I guess. As soon as the updated mapnik-reference is used by carto it will support it then.

repo: mapbox/carto


text:
Share MapboxARKit scheme ✅

This pull request is to fix the Carthage issue:
*** Skipped building mapbox-arkit-ios due to the error:
Dependency "mapbox-arkit-ios" has no shared framework schemes for any of the platforms: iOS

Thanks @robipresotto!

authors: boundsj robipresotto

repo: mapbox/mapbox-arkit-ios

license: ISC


text:
Next release: Supporting HTTP proxies + usability

Http proxy support is coming thanks to @BergWerkGIS and this will be big for many users. Once proxy support has landed (#860) I think a new release would be excellent. Timing TBD, maybe next week maybe early January.
What other low hanging tasks could we hit at the same time to hit to improve usability? Possible options that just came up in chat with @BergWerkGIS and @samanpwbb:

Save global state of last folder accessed in file browser (@samanpwbb mentioned this might be easy with localstorage)
UI/API for accessing other drives on Windows (https://github.com/mapbox/mapbox-studio/issues/824)

/cc @mtirwin @camilleanne @yhahn

closing this since we are planning releases that don't need to wait for #860 to move (note: #860 is not moving currently because of other priorites and the overall challenge of the task).

repo: mapbox/mapbox-studio


text:
[WIP] Rasterio1.0b2

This pr does:

[x] change CI config (using tox)
[x] update rasterio version
[x] update WarpedVRT creation params (adding get_vrt_transform function)

This is still WIP and I expect the test to fail.

Status:
@sgillies and I are working on getting every things fixed by early next week (with rasterio==1.0b3 release).
Here is what happened yet in this PR (and numerous rasterio PRs)

removed alpha band options to select a custom alpha band number (might re-add that in the future)
fix tests
fix boundless read with new rasterio 1.0b2
fix custom nodata handling
fix mask (internal/external) fetching 🙏
fix performances issue

That's said there is still one small issue with data having internal alpha band: https://gist.github.com/vincentsarago/10eeaa71a57a4c6209e4378ee879143a
(cc @mojodna cause I know you are working on similar issues)

Alright, tests are still failing with rasterio 1.0b3 for the alpha band problem mentioned earlier. That's said I don't think this should block us to merge this PR with master @sgillies ?

Note: I think the alpha band problem is already mentioned in https://github.com/mapbox/rasterio/issues/1374

repo: mapbox/rio-tiler


text:
Overzooming not working when adding multiple mbtiles

I have created Vector tiles with Tippecanoe in mbtiles format. I am using tileserver-gl for serving the Vector tiles. Firstly I am creating 20 mbtiles separately as different layers needed different Tippecanoe options. After that I join tiles with tile-join feature. In tilestats of mbtiles json file I am getting different minzoom and maxzoom for each layer. The problem is the layer became invisible after the maxzoom level, the overzooming is not working though I have assign minzoom and maxzoom in style json file. It's working if I create vectortiles with a single script by providing multiple json layer as the zoom is the same for each layers. But few of my layers need much precision level data so that I have to create maxzoom z15 for each layer. As a result mbtiles becoming too high in size and taking a lot of time to create vector tiles.
Moreover when creating vector tiles with multiple json a lot of data lost in zoom scale 10-11. Again point layers also behaving weirdly. Such as, a single point feature is showing 5-6 times (See the attached image below).
What will be the best options for creating vector tiles with tippecanoe. Am I in the right track for establishing a self-hosted vector tiles server with Tippecanoe and Tileserver-GL?

This is unfortunately a limitation of how tile compositing and rendering works, and can't be fixed in Tippecanoe itself. If any layers are defined for a tile, it will use only the layers that are explicitly part of that tile rather than going up to the parent tiles to overzoom data for layers that are not defined in the higher-zoom tile. (tile-join now gives a warning when joining tilesets that have different zoom ranges.)
If you use Mapbox tile serving and upload the mbtiles for each layer separately and then use server-side compositing of the layers, it will overzoom the data from tilesets that have a restricted zoom range when serving composite tiles at higher zooms. It may be possible to make your tile server do something similar but I don't know anything about Tileserver-GL and can't give advice about it.

authors: azizul-bkash ericfischer

repo: mapbox/tippecanoe


text:
Remove Data types from the interface

Closes #162 & closes #158.

I'd love to use a proc macro instead of map_wrapper so we wouldn't have duplicate docs in data members + interface properties but both syn and quote are really heavy to use.

Tile::collision is not implemented yet. Having an object group there is giving a few issues.

Had to end up making both ObjectLayerData and ObjectData public. There isn't really any issue with that and it's probably the type collisions should use (It's raw object data, not belonging to any map). However it's inconsistent with everything else.

There isn't really any issue with that and it's probably the type collisions should use (It's raw object data, not belonging to any map). However it's inconsistent with everything else.

Yeah, the inconsistency isn't very nice, and in fact I've been struggling with the same in Tiled, for example to avoid placing tile objects in these object groups and workarounds for assigning IDs to these objects, which are normally counted per map. But I guess we can live with it.

authors: alexdevteam bjorn

repo: mapeditor/rs-tiled


text:
fix issue #234

using interface ExecutorService for bean forkJoinPool to be able to use java.util.concurrent.ForkJoinPool if java version is greater than 6.
fix issue #234

Looks good

thanks

authors: didier-coignet-dict jesseeichar

repo: mapfish/mapfish-print


text:
fix: iOS detox was failing with deployment target iOS 11.0

Description
Update the iOS test deployment target:

/Users/runner/work/maplibre-react-native/maplibre-react-native/example/ios/RNMaplibreExample.xcodeproj: warning: The iOS Simulator deployment target 'IPHONEOS_DEPLOYMENT_TARGET' is set to 11.0, but the range of supported deployment target versions is 12.0 to 17.5.99. (in target 'RNMaplibreExample' from project 'RNMaplibreExample')

Checklist

[ ] I have tested this on a device/simulator for each compatible OS
[x] I formatted JS and TS files with running yarn lint:fix in the root folder
[x] I have run tests via yarn test in the root folder
[ ] I updated the documentation with running yarn generate in the root folder
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typings files (index.d.ts)
[ ] I added/updated a sample (/example)

Screenshot OR Video

Superseded by #437. Thanks @caspg!

repo: maplibre/maplibre-react-native


text:
Update ndk version

GH Actions removed older NDKs

see https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2204-Readme.md

repo: maplibre/maplibre-rs


text:
private members not available to class?

running ruby 1.9.2 on ubuntu and seeing:
$ ruby-1.9.2-p290 rundemo.rb
/home/mapnik/src/Ruby-Mapnik/lib/ruby_mapnik/mapnik/rule.rb:98:in `symbols': undefined local variable or method `__symbols__' for #<Mapnik::Rule:0x0000000227e758> (NameError)
	from /home/mapnik/src/Ruby-Mapnik/lib/ruby_mapnik/mapnik/rule.rb:79:in `fill='
	from rundemo.rb:17:in `block (4 levels) in <main>'
	from /home/mapnik/src/Ruby-Mapnik/lib/ruby_mapnik/mapnik/style.rb:52:in `rule'
	from rundemo.rb:16:in `block (3 levels) in <main>'
	from /home/mapnik/src/Ruby-Mapnik/lib/ruby_mapnik/mapnik/layer.rb:54:in `style'
	from rundemo.rb:15:in `block (2 levels) in <main>'
	from /home/mapnik/src/Ruby-Mapnik/lib/ruby_mapnik/mapnik/map.rb:138:in `layer'
	from rundemo.rb:13:in `block in <main>'
	from rundemo.rb:4:in `initialize'
	from rundemo.rb:4:in `new'
	from rundemo.rb:4:in `<main>'

this fixes it 0a063f4fa715a739 - but of course not sure why this would be needed. @elliotlaster - please advise.

Looks like something with YARV and the way Rice dispatches method calls. I'm going to try to isolate it, but in the meantime, I removed the private declarations, which should take care of it.

closing, as this was resolved by removing things... which also resolves #8.

authors: elliotlaster springmeyer

repo: mapnik/Ruby-Mapnik


text:
Fix find_library() throws OSError FileNotFoundError

According to this WONTFIX, adding lib prefix to any library has always been wrong and rises an exception: https://bugs.python.org/issue42580
Fixes #558

It seems like this is not the same behaviour as before. Well its good to catch exceptions, but in case the call of find_library does not throw and does not return the expected result (-> None), the code now does not try again to determine it.
Please check if the find_library method always throws when nothing has been found. If so, this should be ok. If not, please readd the old behaviour

Please check if the find_library method always throws when nothing has been found. If so, this should be ok. If not, please readd the old behaviour

Argh, you're right. It might be possible that find_library() didn't throw in the past. But actually, this concept isn't necessary at all, I just wanted to be polite and keep the old code fragment. This should be totally safe, even for v2.7:
    if (not paths or not exts) and lib_name.startswith('lib'):
        lib = _find_library(lib_name[3:])
    return lib

I'll give it a try.

Please rebase this PR to get the tests running again

Please rebase this PR to get the tests running again

I actually have fixed it now. Will rebase it and upload the better version.

well your approach seems to have changed again, now you do not catch anymore at all?

Yep, I discussed this with an advanced Python coder and this is a valid drop-in replacement.
I also did some test-cases and tested them in Python v2.7, v3.6 and v3.9 (didn't find v3.7 and v3.8 and was too lazy for containers):
from ctypes.util import find_library as _find_library

lib_name = 'libkebap'
print(_find_library(lib_name if not lib_name.startswith("lib") else lib_name[3:]))
# None

lib_name = 'kebap'
print(_find_library(lib_name if not lib_name.startswith("lib") else lib_name[3:]))
# None

lib_name = 'c'
print(_find_library(lib_name if not lib_name.startswith("lib") else lib_name[3:]))
# libc.so.6

lib_name = 'libc'
print(_find_library(lib_name if not lib_name.startswith("lib") else lib_name[3:]))
# libc.so.6

Sorry, that is definitely not the case. Try running this:
def test():
    raise Exception('huhu')

print ('huhu') if test() else print ('damn')

and you'll see it throws.

Sorry, that is definitely not the case.

Then please help us to fix it. Actually, the code is bad, since the lib prefix was already wrong when the code was written (ctypes is from 2009, while MapProxy was done somewhere in 2011).

Keep in mind that most quirks are there for a reason. There were systems in the past where find_library('libgdal') worked but find_library('gdal') not. Backward compatibility is very important for the project, so I would like to keep the lib prefix if nobody can exactly confirm since when this is not necessary anymore for all systems.
What about something like:
        try:
            lib = _find_library(lib_name)
        except OSError:
            lib = None
        if lib is None and lib_name.startswith('lib'):
            lib = _find_library(lib_name[3:])
        return lib

Keep in mind that most quirks are there for a reason.
Hmm, then why are there no tests for this? I wasn't able to reproduce a problem with the current code.

There were systems in the past where find_library('libgdal') worked but find_library('gdal') not.
But this would be a rare Python bug and I didn't find one while going through their bug tracker.

What about something like: [...]
Yeah, I had the same lines, but I wasn't able to break my new code with MapProxy. Okay, I'll push it again.

Keep in mind that most quirks are there for a reason. There were systems in the past where find_library('libgdal') worked but find_library('gdal') not. Backward compatibility is very important for the project, so I would like to keep the lib prefix if nobody can exactly confirm since when this is not necessary anymore for all systems.
What about something like:
        try:
            lib = _find_library(lib_name)
        except OSError:
            lib = None
        if lib is None and lib_name.startswith('lib'):
            lib = _find_library(lib_name[3:])
        return lib

Agreed. I assume the one version works on Windows while the other works on unix like systems?

I am closing this PR as the problem appears to have been resolved.

authors: hwbllmnn olt tobwen weskamm

repo: mapproxy/mapproxy


text:
Empty Geocode result

What is your question, problem or request?
The geocode is returning nothing at all

What version of this plugin do you use? Please including miner version ($> cordova plugin list)
2.0

Code, Data or Error log (please format your code or data)

constructor(
    ...
    private geolocation: Geolocation,
    private gecoder: Geocoder,
    ...
  ) {}

getGeocode() {
     let request: GeocoderRequest = {
        position: new LatLng(position.coords.latitude, position.coords.longitude),
     };

     this.gecoder.geocode(request).then((results: GeocoderResult) => {
        console.log(results); // Returns absolutely nothing
     });
}

It seems you use the v2 plugin with ionic wrapper, but the ionic wrapper does not support the plugin v2 yet.
You need to write your code WITHOUT the ionic wrapper.
https://github.com/mapsplugin/cordova-plugin-googlemaps-doc/blob/master/v2.0.0/For-ionic2-users/README.md

I tried this before I tried the ionic wrapper and it still failed with this
        "position": {"lat": 43.031873, "lng": -71.073203}
      }, function(results) {

        if (results.length === 0) {
          // Not found
          console.log('NOT FOUND');
          return;
        }

        console.log(results[0]);
      });

Since this plugin just returns the results of native APIs. No results means Google can not find answer or your app is blocked.

How can I know if I'm blocked?

@thpoiani Honestly, you should take a look at your design. I ended up pushing this geocoding to the server since I was getting lat and lng from the native geolocation package anyway. The support for doing this on the device ended up not making sense for our app.

@steveacalabro In my scenario, we want to do this on the device but we are getting empty results :(

Unfortunately, this plugin just make a request to Google or Apple through the native APIs. If you get empty result, I can not do anything.

@wf9a5m75 Can I check my API KEY?

What do you mean?

@thpoiani Another person on my team did get a proof of concept working with the code from that ionic2 notes page and setting up the correct app enabled on google. I think it ended up being a strange enabled api, I would find out which maps one it was and try that

I think its one of the following. Don't know for sure since he is not here.

This plugin needs just Google Maps SDK for iOS and Google Maps Android API v2

@webalchemist Can I check if the KEY API was added to the plugin?
Maybe that's could be the problem.
I'm trying to run this code but I got no results
plugin.google.maps.Geocoder.geocode({'position': {lat:-21.80273646969314,lng:-48.1786909326911}}, console.log)

ionic plugins:
cordova-plugin-googlemaps 2.0.0-beta2-20170731-1540 "cordova-plugin-googlemaps"

plugin.google.maps.Geocoder.geocode({
  'position': {lat:-21.80273646969314,lng:-48.1786909326911}
}, function(result) {
 console.log(result);
});

@wf9a5m75 empty too :disappointed:

Are you testing on Android or iOS?

Android

plugin.google.maps.Geocoder.geocode({'position': {lat:-21.80273646969314,lng:-48.1786909326911}}, function(results) {
console.log(results);
});

Plugin works fine.

I will try to reinstall the plugin

You can use this plugin also.
https://ionicframework.com/docs/native/native-geocoder/
I checked the code, and code is almost the same.

After reinstall the plugin, restart my device and change the wifi network.. its working :)

authors: steveacalabro thpoiani wf9a5m75

repo: mapsplugin/cordova-plugin-googlemaps


text:
Can this work with chart.js?

I'm trying to get piecharts to render in the report i'm building. Presently it's just showing blank. Is there a a way to delay a few milliseconds after the charts are produced?

Hi, I recently used html-pdf with a HTML file with chartjs and I got it working. In particular, you can try to disable animations to prevent half rendered charts and adjusting for a longer timeout for phantomjs to allow your chart to fully render.
For a blank chart, my issue was uncaught javascript errors or using some ES6 syntax, hence, you might want to look into that.
You can refer to my code:
https://gist.github.com/chuabingquan/9827a3eb09cd4a2e27cf95dff7f09176
I need to have dinner now, will get back to you if you have any issues!

I have been trying to include the highcharts in the pdf and I was also getting the same issue(i.e. half rendered charts).
Is there a way to include the timeout so that the scripts will be rendered before the pdf is getting created.

There's a renderDelay option in v2.2.0.

You can also trigger the render manually if you set renderDelay to manual
Like in https://github.com/marcbachmann/node-html-pdf/blob/master/test/callback.html
https://github.com/marcbachmann/node-html-pdf/blob/master/test/index.js#L93

Hi, I got this module to work with my HTML with Chart.js and common issues and fix would include disabling your chart animations to prevent half rendered charts and extending the timeout of phantomjs.
With respect to getting a blank chart, my issue is usually caused by uncaught javascript errors or the using of some ES6 syntax such as template literals, hence, you might want to look into that.
You can refer to my code:
https://gist.github.com/chuabingquan/9827a3eb09cd4a2e27cf95dff7f09176

Still im unable to render charts in generated . can some one guide me ? I have tried renderingDelay also .

repo: marcbachmann/node-html-pdf


text:
Add Hypertune

Pull Request Template
Please ensure all items below are checked before creating a pull request:

[x] My changes were made in the resources folder, not in the auto-generated README.md file or db folder
[x] My submission is formatted according to the guidelines in the contributing guide
[x] My submission is ordered alphabetically based on the resource name
[x] My submission has a useful description
[x] I have searched the repository for any relevant issues or pull requests

Thank you.

authors: marcelscruz miraan

repo: marcelscruz/dev-resources


text:
No LFS partition

The web builder seems to not respect the LFS settings:
I tried to web-build a firmware with 64k, 96k and 128k LFS, but ended up with images, that claim to have no LFS partition (as node.flashreload() states; node.info("build_config").lfs_size = 0).
An old image web-built on 2019-08-14 works (has a LFS partition). Something obviousely changed (with the switch to NodeMCU 3.0 maybe?)...

Maybe you can check the script here
https://github.com/marcelstoer/nodemcu-custom-build/blob/builds/set-config.sh
and propose changes should it turn out to be buggy.

Maybe you can check the script here
https://github.com/marcelstoer/nodemcu-custom-build/blob/builds/set-config.sh
and propose changes should it turn out to be buggy.

authors: danjohn marcelstoer

repo: marcelstoer/docker-nodemcu-build


text:
🛑 Video Call is down

In 41da434, Video Call (https://jitsi01.diversolatam.com/test) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Video Call is back up in ba22b60.

repo: marcoadasilvaa/health


text:
Update to Chron Job

In SW record, when agency is selected, the address of agency does save into address fields, even after Chron runs.
Prior comments although does not appear to be widely pervasive issue: It appears that when Chron job runs it is not including updates to families' region.  There are many families without region associated despite accurate address.
See examples:
Amanda and John Ponti - 44836
Amanda Welch - 45450
Ana Tripp - 45605

Just a note to whoever this is assigned to (and only if this doesn’t affect all records): try to save a few manually first.  There’s a possibility field validation is preventing them from saving with updates.

I have saved several manually, but there still remain many without region.  It does not affect all records.

[ ] Fix pre-save hook for Out of State families

authors: autoboxer bchiaruttini n-devr

repo: mareinc/mare


text:
move ip-address package to be dependency and not a peerDep

Signed-off-by: Ido Rosenzwig irosenzw@redhat.com

If it works in uhc-portal, we will need to removed this dependency in the facet as well.

If it works in uhc-portal, we will need to removed this dependency in the facet as well.

yes. we should also remove netmask package from facet.

authors: irosenzw mareklibra

repo: mareklibra/facet-lib


text:
Missing isCancelled argument in onAnimationFinish callback

The current implementation of the onAnimationFinish callback lacks the isCancelled argument, which is a feature in lottie-react-native. This argument allows for distinguishing between animations that finish naturally and those interrupted by user actions or app processes.

onAnimationFinish with isCancelled has been added in version 2.1.0 😊

authors: hannojg reichhartd

repo: margelo/react-native-skottie


text:
[Feature] Consolidate Services for HA modes

Describe the solution you'd like
Ability to perform writes in a single node via an extra Kubernetes Service. This applies to all the HA modes we currently support: Replication and Galera. This Service would be updated whenenver the primary changes. This is a common practice in MariaDB that helps preventing deadlocks in Galera.
The naming convention  for Services would be:

<mariadb-name>: To be used for read requests, including the primary. It will point to all nodes.
primary-<mariadb-name>: To be used for write requests. It will point to a single node, the primary.

Describe alternatives you've considered

We are already reconciling a primary Service for Replication named primary-<mariadb-name>
In the case of Galera, it's something not supported yet, so the user has to create a Service manually.

Additional context
We would need to consolidate and standarize a primary Service to perform writes, like CloudNativePG does. We can do so by creating a primary Service that would be updated by a controller whenever the MariaDB's status.currentPrimaryPodIndex field changes.
This feature has been requested by our community multiple times:

https://github.com/mariadb-operator/mariadb-operator/issues/202
https://mariadb-operator.slack.com/archives/C056RAECH0W/p1691672443484259?thread_ts=1691564182.687799&cid=C056RAECH0W

To answer your question, here it is how are we planning to standarize Services for HA:

<mariadb-name>: To be used for read requests. It will point to all nodes
primary-<mariadb-name>: To be used for write requests. It will point to a single node.

It will be tackled in the following releases!

The only wish I'd like to add is one more service:

secondary-<mariadb-name>: To be used only for read requests. It should point to all nodes, except the primary one.

Hey there @kvaps !
I do agree that this can be something very interesting to support, as it will allow us to address the replicas without hitting the primary for serving read requests.
Unfortunately, unlike CloudNativePG, we rely on the StatefulSet construct under the hood, which implies that all the Pods will have the same labels and therefore there is no way to selectively address only some of them. The only exception is the statefulset.kubernetes.io/pod-name: mariadb-galera-0, which is the label we rely on to configure the primary-<mariadb-name> primary service. See one of our Pod labels as an example:
apiVersion: v1
kind: Pod
metadata:
  labels:
    app.kubernetes.io/instance: mariadb-galera
    app.kubernetes.io/name: mariadb
    statefulset.kubernetes.io/pod-name: mariadb-galera-0
  name: mariadb-galera-0

For this to happen, we would need to manage Pods separately, not relying on a StatefulSet and label them based on their role. See one of the CloudNativePG Pods as an example:
apiVersion: v1
kind: Pod
metadata:
  labels:
    cnpg.io/cluster: cluster-example
    cnpg.io/instanceName: cluster-example-1
    cnpg.io/podRole: instance
    postgresql: cluster-example
    role: primary
  name: cluster-example-1

I'm open to ideas and suggestions!

just some thoughts:
using maxscale as sql router would allow to make readwrite split on a single port/service available (see https://mariadb.com/kb/en/mariadb-maxscale-6-read-write-splitting-with-mariadb-maxscale/) the advantage is, that the galeramon "talks" mariadb and knows about the node states (both for replication scenario and galera multimaster) and would take care about writing only to a single node andreading from multiple nodes itself - it doesn't need separate services tobe used from the outside.
Integration into the operator would probably be not too difficult, as it just requires some functional db user and some config.
I think there are some license restrictions which I can't find right now in the documentation - so I am not sure if that is a good idea - a "kubernetes native" solution also has it's advantages - just wanted to mention that and maybe others can also give some experience to that. (I am currently running maxscale in front of both maria db operator controlled replica and galera and testing it)

The only exception is the statefulset.kubernetes.io/pod-name: mariadb-galera-0, which is the label we rely on to configure the -primary primary service. See one of our Pod labels as an example

I think managing of such labels for the every pod (better on the pod side) pretty common pattern. But if you do not want to manage labels relying on statefulset-controller, there is an another option to create and update endpoints for service directly.

I think managing of such labels for the every pod (better on the pod side) pretty common pattern. But if you do not want to manage labels, relying on statefulset-controller, there is an another option to create and update endpoints for service directly.

That's a pretty neat suggestion, will follow this approach. Just updated the issue body. 🙏🏻

using maxscale as sql router would allow to make readwrite split on a single port/service available

Supporting MaxScale is definetly we want to support at some point, will create a separate issue for it. I think we should support both the "kubernetes native" Services and also have the ability to deploy and configure a MaxScale instance which will have also its own Service to make it addresable from inside and even outside (LoadBalancer) of the cluster.

MaxScale's problem can be it's license.
It's BSL, which expires to GPL
https://github.com/mariadb-corporation/MaxScale/blob/23.02/LICENSE2302.TXT

This has been supported via the following PRs:

https://github.com/mariadb-operator/mariadb-operator/pull/211
https://github.com/mariadb-operator/mariadb-operator/pull/218

To be released in v0.0.20! Stay tuned! 🚀

This has been supported via the following PRs:

https://github.com/mariadb-operator/mariadb-operator/pull/211
https://github.com/mariadb-operator/mariadb-operator/pull/218

To be released in v0.0.20 ! Stay tuned! 🚀

authors: Guzzi bluebike kvaps mmontes11

repo: mariadb-operator/mariadb-operator


text:
Scatter doesn't scale as well as other plot types

-100k is slow with select
@mscolnick included a scatter plot in the charts smoke test. it's not really usable at 100k points right now -- haven't looked into where the slowness is coming from

just tested this same chart in the vega editor, so the slowness is due to the rendering. we do render on canvas, so could be the redrawing of the canvas with each selection. worth exploring https://github.com/hex-inc/vegafusion for 100k+

authors: akshayka mscolnick

repo: marimo-team/marimo


text:
Trinkets That Were Missed

Upon lots of sims, I have found a handful that were missed in the update. Here are the ones that I've found so far:
Ashtongue Talisman of Swiftness
Ashtongue Talisman of Lethality
Ashtongue Talisman of Vision
Ashtongue Talisman of Valor
Talon of Al'ar
Solarian's Sapphire
Lastly, I don't think that 'Badge of the Swarmguard' is working properly. Perhaps it is working but the dmg seems way too low (even despite it being a classic trinket) and the buffs just look kinda weird.
Thanks for the sick simulator!

Also, it would be neat if there were a way to set the mob type to "Undead" or "Demon" so that we can sim 'Mark of the Champion'. Thanks!

repo: marisa-ashkandi/tbcsim


text:
Use ConnectWise's OpenAPI Spec to generate exhaustive SDK

ConnectWise has the entire OpenAPI Spec on their documentation site.  It would be nice to turn that into an all-encompassing SDK.

I agree. Anyway I can help?

authors: markciecior mendykrauss

repo: markciecior/ConnectPyse


text:
Embeded  == bonk!

I wrote an extension to Mark'd down markup which will apply attributes after the fact. eg:
Yes! You can use [Markdown](http://commonmark.org/help/) here!

but the comment shown stubbornly renders thusly.

the init currently looks like this md: new MarkdownIt({html: true, linkify: false, html_inline: true, escape: false})

Seem to be a bug in inline comments.
You have wrong init code to enable/disable tules. See readme https://github.com/markdown-it/markdown-it#manage-rules

Ups. Not a bug.
http://spec.commonmark.org/0.27/#raw-html
Comment content should not end with minus.

Excellent! Cross-eyed here missing that extraneous '-'.

authors: CNSKnight puzrin

repo: markdown-it/markdown-it


text:
rails generate dragonfly is not working and validations

I followed the setup in Documentation
but when I run rails generate dragonfly in command line,
it returns something like this
Running via Spring preloader in process 68901
Expected boolean default value for '--markerb'; got :erb (string)
Expected string default value for '--controller'; got false (boolean)
Could not find generator 'dragonfly'. Maybe you meant 'channel', 'model' or 'scaffold'
Run rails generate --help for more options.
After failed to search for solution online, I manually created config/initializers/dragonfly.rb
and copied the code from this tutorial
not sure if this will cause the dragonfly not running perfectly

no idea why, but i can generate it today

repo: markevans/dragonfly


text:
Adding liveness/readiness probes

Resolves #64

LGTM

authors: markfisher trisberg


text:
I cannot run M1

it runs with Rosseta but it doesn't run without Rosseta.  Xcode version 14.3.1

I'm using it exclusively without Rosetta.
Please try some of the following:
(a) Clean your build folder (Xcode: Product > Clean Build Folder)
(b) Reset package caches (Xcode: File > Packages > Reset Package Caches)
(c) Delete derived data rm -rf ~/Library/Developer/Xcode/DerivedData and/or
(d) Delete the Swift package cache at ~/Library/org.swift.swiftpm
I've seen similar problems before when switching between Rosetta and M1.

authors: BardiyevAbdulla markiv

repo: markiv/SwiftUI-Shimmer


text:
[Snyk] Security upgrade pylint from 2.5.2 to 2.6.1

Snyk has created this PR to fix one or more vulnerable packages in the `pip` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

requirements.dev.txt

⚠ Warning
prospector 1.3.0 has requirement pylint==2.5.2, but you have pylint 2.6.1.

Vulnerabilities that will be fixed
By pinning:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

630/1000  Why? Has a fix available, CVSS 8.1
Regular Expression Denial of Service (ReDoS) SNYK-PYTHON-PYLINT-609883
pylint:  2.5.2 -> 2.6.1
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the effected dependencies could be upgraded.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Fixed in #44

repo: markosamuli/ansible-pyenv


text:
break separate cms tools into their own projects

Each tool should have it's own project so users can include just the modules they want.
Tools:
Core Repositories
Image Search/Analysis
Ole Chat / Bot Maintenance UI
Content Moderator UI
Recommendations Engine
Launch Site

Got the launch site and core repositories separated

repo: markstiles/SitecoreCognitiveServices


text:
Create Reminders

Create Reminders That Sync To The Reminders App On All Platforms.

Completed In Release: v1.0
Commit: https://github.com/markydoodled/Remember.it/commit/cf5c316cbdd2baed594c46c9c9bf98401d2fb2b1


text:
Bad warning message while updating, it uses filter warning

Say I have the following code with a character table, some readable fields, and other writable fields:
const { updateOne } = crud({
    table: 'character',
    writableCols: ['user_id', 'name', 'position'],
    returnCols: ['id', 'uuid', 'user_id', 'name', 'position'],
});

If I want to update a whole character object like:
const character = {
    id: 42,
    uuid: 'uuid',
    user_id: 1,
    name: 'name',
    position: 'position',
    ...otherFields,
};

await client.namedQuery(updateOne(character.id, character));

I get the following warnings, because of the non-writable fields:
⚠  warning                      Ignoring filter: id. Allowed columns: user_id,name,position
⚠  warning                      Ignoring filter: uuid. Allowed columns: user_id,name,position
⚠  warning                      Ignoring filter: room. Allowed columns: user_id,name,position
⚠  warning                      Ignoring filter: avatar. Allowed columns: user_id,name,position
⚠  warning                      Ignoring filter: inventory. Allowed columns: user_id,name,position

I have several issues with this warning:

This is not filters but fields / columns.
It is better to ignore non-writable fields, or get a debug message (instead of a warning) in the case of an update. Have a warning in the select case is right.
It's better to batch the warning instead of a warn for each field. I extensively use update queries and this spam a lot in the console.
It lacks of context in this message.

I would suggest to replace this warning by a debug log for the update query, and in the case of the select  have a message more like:

⚠  postgres-queries                      The "select" query received non-filterable fields in parameter and ignored them: "id, uuid, room, ...". The available fields are: "..."

fixed in #27

authors: Kmaschta ThieryMichel

repo: marmelab/postgres-queries


text:
Get trees recursively

https://developer.github.com/v3/git/trees/#get-a-tree-recursively

Fixed by #24

repo: marmelab/sedy


text:
feat: current vs changed

fixes: #150

💬  This is probably a fairly controversial change. I've made my own copy of the action. so feel free to close this and adapt how you'd like.

split the getDiff into separate functions.
provided two tests
changed the main output shape.
fixed tsconfig setup. otherwise viewing tests in vscode always threw error that the test files were'nt visible to typescript
adjusted the config test so it's more type strict. (I know it's just a test, but everytime you use as outside of a type predicate or without type narrowing: buddah kills a kitten)
provided new build

There are also library updates, so I will build in the main branch. Please revert changes in dist/*.

authors: airtonix marocchino

repo: marocchino/checkbox-action


text:
Remove unused imports

Removal of several unused imports as flagged by codacy (this time into the correct branch...).

may I know why it is a pull request to merge into dev instead of master?

It is better to keep this under dev, as such modifications might change the
behavior of the code.
On Sat, 3 Sep 2022, 09:05 Xudong Sun, @.***> wrote:

may I know why it is a pull request to merge into dev instead of master?
—
Reply to this email directly, view it on GitHub
https://github.com/marrlab/DomainLab/pull/30#issuecomment-1236063784,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFHJ733OFGPYB7RZNKHNC3V4L2C7ANCNFSM6AAAAAAQDQY2BE
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Yeah I wasn't sure what your policies were on this, so I thought it more prudent to merge into dev. Happy to reopen my (now closed) first pull request that actually by default was into master.

I would suggest to keep it under dev please and thanks for contribution :)
@Xudong: can you please check whether the dev branch would work after
taking out some of the unused modules?
I initially wanted to take them out, but I was not fully sure as in those
files torch tensors or numpy array are being used
On Sat, 3 Sep 2022, 09:51 Patrick Rockenschaub, @.***>
wrote:

Yeah I wasn't sure what your policies were on this, so I thought it more
prudent to merge into dev. Happy to reopen my (now closed) first pull
request that actually by default was into master.
—
Reply to this email directly, view it on GitHub
https://github.com/marrlab/DomainLab/pull/30#issuecomment-1236069977,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEFHJ724GGEHE2AV62C4TW3V4L7QNANCNFSM6AAAAAAQDQY2BE
.
You are receiving this because you commented.Message ID:
@.***>

If I understand correctly, you are unsure if files processing torch/numpy objects will still work if they don't import torch/numpy. As long as you are only operating on the objects (and functions bound to them), it shouldn't matter.  You can easily test this for example with two files:
module.py:
def custom_max(x):
    return x.max()

script.py:
import numpy as np
from module import custom_max

np.random.seed(42)
x = np.random.uniform(size=10)
custom_max(x)
#> 0.9507143064099162

Still worth testing, though, to make sure I haven't removed anything vital :D

I just realised that my changes introduce new Codacy code quality issues. It originally complained about try-except blocks where the error e was never used, now it continues to complain about the too general Exception type and the try-except-pass constructs. Any suggestions how to solve this?
P.S.: I also saw that #29 got reopened, would you like me to use that one instead. I stayed with this PR for now to keep all discussion in one place.

Now codacy passed.
@aliechoes

I haven't got the point of the advantages of merging into dev, since merging small changes each time into master will be easier?

I will think how can we test the behavior, maybe I run the same command in two different folders on the same laptop to see if the results are the same?

If we find too much work to improve the code quality of the bash files, we can move them to a separate branch.

so, in general and for further development, you want your the changes to the dev. As we are going to have version control on the master branch. This will guarantee the sanity of the master branch for the users.

authors: aliechoes prockenschaub smilesun

repo: marrlab/DomainLab


text:
[BUG] Failover remote functions failed

Describe the bug
Failover remote functions failed.
To Reproduce
To help us reproducing this bug, please provide information below:

Your Python version
The version of Mars you use
Versions of crucial packages, such as numpy, scipy and protobuf
Full stack of the error.
Minimized code to reproduce the error.

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
/home/admin/work/_public-mars-0.4.2.zip/mars/scheduler/graph.py in _execute_graph()

/home/admin/work/_public-mars-0.4.2.zip/mars/utils.py in _wrapped()

/home/admin/work/_public-mars-0.4.2.zip/mars/scheduler/graph.py in analyze_graph()

/home/admin/work/_public-mars-0.4.2.zip/mars/scheduler/graph.py in _assign_initial_workers()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult.result()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult.get()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult.get()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult.get()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult._raise_exception()

/opt/conda/lib/python3.7/site-packages/gevent/_compat.py in reraise()

/opt/conda/lib/python3.7/site-packages/gevent/threadpool.py in __run_task()

/usr/local/lib/python3.7/site-packages/mars/actors/pool/gevent_pool.pyx in mars.actors.pool.gevent_pool.GeventThreadPool._wrap_watch.inner()
    126             gevent.spawn(check, event)
--> 127             result = fn(*args, **kwargs)
    128             event.set()

/home/admin/work/_public-mars-0.4.2.zip/mars/scheduler/graph.py in _do_assign()

/home/admin/work/_public-mars-0.4.2.zip/mars/scheduler/graph.py in assign_operand_workers()

/home/admin/work/_public-mars-0.4.2.zip/mars/scheduler/analyzer.py in calc_operand_assignments()

/home/admin/work/_public-mars-0.4.2.zip/mars/scheduler/analyzer.py in _iter_assignments_by_transfer_sizes()

/home/admin/work/_public-mars-0.4.2.zip/mars/scheduler/analyzer.py in <genexpr>()

/home/admin/work/_public-mars-0.4.2.zip/mars/scheduler/analyzer.py in <genexpr>()

AttributeError: 'NoneType' object has no attribute 'chunk_size'

The above exception was the direct cause of the following exception:

ExecutionFailed                           Traceback (most recent call last)
/home/admin/work/_public-mars-0.4.2.zip/mars/promise.py in _wrapped()

/home/admin/work/_public-mars-0.4.2.zip/mars/worker/calc.py in <lambda>()

/home/admin/work/_public-mars-0.4.2.zip/mars/worker/calc.py in _start_calc()

/home/admin/work/_public-mars-0.4.2.zip/mars/worker/calc.py in _calc_results()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult.result()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult.get()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult.get()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult.get()

/opt/conda/lib/python3.7/site-packages/gevent/_gevent_cevent.cpython-37m-x86_64-linux-gnu.so in gevent._gevent_cevent.AsyncResult._raise_exception()

/opt/conda/lib/python3.7/site-packages/gevent/_compat.py in reraise()

/opt/conda/lib/python3.7/site-packages/gevent/threadpool.py in __run_task()

/usr/local/lib/python3.7/site-packages/mars/actors/pool/gevent_pool.pyx in mars.actors.pool.gevent_pool.GeventThreadPool._wrap_watch.inner()
    126             gevent.spawn(check, event)
--> 127             result = fn(*args, **kwargs)
    128             event.set()

/home/admin/work/_public-mars-0.4.2.zip/mars/executor.py in execute_graph()

/home/admin/work/_public-mars-0.4.2.zip/mars/executor.py in execute()

/opt/conda/lib/python3.7/concurrent/futures/_base.py in result()

/opt/conda/lib/python3.7/concurrent/futures/_base.py in __get_result()

/opt/conda/lib/python3.7/concurrent/futures/thread.py in run()

/home/admin/work/_public-mars-0.4.2.zip/mars/executor.py in _execute_operand()

/home/admin/work/_public-mars-0.4.2.zip/mars/executor.py in handle()

/home/admin/work/_public-pyodps-0.9.3.zip/odps/mars_extension/core.py in wrapper()

/home/admin/work/_public-mars-0.4.2.zip/mars/remote/core.py in execute()

<ipython-input-4-8acd440be626> in process_shap()
     54
---> 55     return mr.ExecutableTuple(results).execute()
     56

/home/admin/work/_public-mars-0.4.2.zip/mars/core.py in execute()

/home/admin/work/_public-mars-0.4.2.zip/mars/core.py in execute()

/home/admin/work/_public-mars-0.4.2.zip/mars/session.py in run()

/home/admin/work/_public-mars-0.4.2.zip/mars/session.py in run()

ExecutionFailed: '\'\\\'\\\\\\\'"\\\\\\\\\\\\\\\'Graph execution failed.\\\\\\\\\\\\\\\'"\\\\\\\'\\\'\''

The above exception was the direct cause of the following exception:

ExecutionFailed                           Traceback (most recent call last)
<ipython-input-4-8acd440be626> in <module>
     55     return mr.ExecutableTuple(results).execute()
     56
---> 57 print(mr.spawn(process_shap, retry_when_fail=False).execute().fetch())

/usr/local/lib/python3.7/site-packages/mars/core.py in execute(self, session, **kw)
    368
    369         # no more fetch, thus just fire run
--> 370         session.run(self, **kw)
    371         # return Tileable or ExecutableTuple itself
    372         return self

/usr/local/lib/python3.7/site-packages/mars/session.py in run(self, *tileables, **kw)
    426         tileables = tuple(mt.tensor(t) if not isinstance(t, (Entity, Base)) else t
    427                           for t in tileables)
--> 428         result = self._sess.run(*tileables, **kw)
    429
    430         for t in tileables:

/usr/local/lib/python3.7/site-packages/mars/web/session.py in run(self, *tileables, **kw)
    185             timeout_val = min(check_interval, timeout - time_elapsed) if timeout > 0 else check_interval
    186             try:
--> 187                 if self._check_response_finished(graph_url, timeout_val):
    188                     break
    189             except KeyboardInterrupt:

/usr/local/lib/python3.7/site-packages/mars/web/session.py in _check_response_finished(self, graph_url, timeout)
    144                 exc_info = pickle.loads(base64.b64decode(resp_json['exc_info']))
    145                 exc = exc_info[1].with_traceback(exc_info[2])
--> 146                 raise ExecutionFailed('Graph execution failed.') from exc
    147             else:
    148                 raise ExecutionFailed('Graph execution failed with unknown reason.')

ExecutionFailed: 'Graph execution failed.'

This problem has nothing to do with mars.remote. The actual cause is that we do not support fail-over in graphs with Fetch nodes.

authors: qinxuye wjsi

repo: mars-project/mars


text:
Translation - HTML encoding is re-encoded - results in HTML encoding being output as text

Thanks for this fantastic tool!  I have an issue, and I wonder if it's easily reproducible? I'm doing French translation for my app using autotranslate in xliffmerge. When a translation from English into French has an apostrophe, it's being added to the French language .xlf file like this:
e.g. <source> content = 'Operator Logs'
After translation with xliffmerge, .xlf file  content becomes:
Journaux de l&#39;opérateur
This means that when the .xlf is merged into the app, following an npm run build, the user sees this:
Journaux De L'Opérateur

Can you please confirm if this is a repeatable issue? Note that I'm using the i18n polyfill (https://github.com/ngx-translate/i18n-polyfill) for translations of text in .ts files, however the issue was also occurring before I introduced that polyfill.
package.json
  "scripts": {
    "build": "npm run process-i18n && npm run build:default && npm run build:en && npm run build:fr",
    "build:default": "ng build",
    "build:en": "ng build --aot --output-path=dist/en --base-href /en/ --i18nFile=src/locale/messages.en.xlf --i18nFormat=xlf --i18n-locale=en",
    "build:fr": "ng build --aot --output-path=dist/fr --base-href /fr/ --i18nFile=src/locale/messages.fr.xlf --i18nFormat=xlf --i18n-locale=fr",
    "process-i18n": "npm run extract-i18n-template-messages && npm run extract-i18n-ts-messages && npm run generate-new-translations",
    "extract-i18n-template-messages": "ng xi18n --outputPath=locale --i18n-format=xlf",
    "extract-i18n-ts-messages": "ngx-extractor --input=\"src/**/*.ts\" --format=xlf --out-file=src/locale/messages.xlf",
    "generate-new-translations": "xliffmerge --profile xliffmerge.json en af de el es fr zh",
   ....

   "devDependencies": {
    "ngx-i18nsupport": "^0.16.2",

xliffmerge.json
{
  "xliffmergeOptions": {
    "srcDir": "src/locale",
    "genDir": "src/locale",
    "autotranslate": true,
    "apikey": "xxxxxxxxxxxxxxxxxxxxxxx",
    "beautifyOutput": false
  }
}

I have a similar problem with interpolations, see this line that come from the original messages.xlf file
<source>Can't find the script <x id="START_EMPHASISED_TEXT" ctype="x-em" equiv-text=""/><x id="INTERPOLATION" equiv-text="{{path}}"/><x id="CLOSE_EMPHASISED_TEXT" ctype="x-em" equiv-text=""/></source>
And now the same line in messages.fr.xlf
<source>Can't find the script <x id="START_EMPHASISED_TEXT" ctype="x-em" equiv-text=""/><x id="INTERPOLATION" equiv-text="{{path}}"/><x id="CLOSE_EMPHASISED_TEXT" ctype="x-em" equiv-text=""/></source>
Can't became Can't and most importantly  equiv-text="" became equiv-text="" which can break the XML (> -> >)

@chalcrow Seems to have something to do with  the Google Translate Output. Will Check it soon.

@cpa-level-it  this behaviour is correct. ' is the Dame as ' and the > sign is correct XML in Attribute values (while < is not)

@martinroob My bad, it's actually working perfectly. I thought Angular told me there was en error parsing the XML at run time.

@chalcrow currently working on it.
I can reproduce it and it is definitely a bug.
Sorry for the delay.
Will fix it soon.

reopen, closed by accident

issue is caused due to the fact, that google translate returns ' instead of apostrophe.
The lib expects "normal utf8 strings" as translation.
Now the returned translation will be decoded using library he

authors: chalcrow cpa-level-it martinroob


text:
🛑 Nate Meidinger Counselling is down

In ddcbf07, Nate Meidinger Counselling (https://natemeidingercounselling.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nate Meidinger Counselling is back up in 4ad9f8d.

repo: martypenner/upptime


text:
Any way to auto discover server?

Hi, first - really great project! Huge congrats!
Question - is there a chance for SSDP or other way for nodes to auto discover server IP address in the local network?

Thanks a lot!
I would go for mDNS as the built-in library for mDNS supports querying whereas the SSDP one does not. What about, in the JSON configuration file, a new mdns field in both the mqtt and ota that, if set to true, would query for the mDNS service defined in a new service field (making host and port optional). I hope I was clear!
Does it sound good to you?

It sounds even more than good! :)

Great! I'll implement it as soon as I can. ;)

Arduino:1.6.8 (Linux), 开发板："Generic ESP8266 Module, Serial, 80 MHz, 40MHz, DIO, 115200, 512K (64K SPIFFS), ck"
/home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp: In member function 'virtual void HomieInternals::BootOta::setup()':
/home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp:46:188: error: no matching function for call to 'ESP8266HTTPUpdate::update(char [64], uint16_t&, char [64], String&, bool&, char [60], bool)'
t_httpUpdate_return ret = ESPhttpUpdate.update(Config.get().ota.host, Config.get().ota.port, Config.get().ota.path, dataToPass, Config.get().ota.ssl, Config.get().ota.fingerprint, false);
^
/home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp:46:188: note: candidates are:
In file included from /home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.hpp:5:0,
from /home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp:1:
/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:52:29: note: t_httpUpdate_return ESP8266HTTPUpdate::update(const char*, const char*, const char*)
t_httpUpdate_return update(const char * url, const char * current_version = "", const char * httpsFingerprint = "");
                         ^

/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:52:29: note:   candidate expects 3 arguments, 7 provided
/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:53:29: note: t_httpUpdate_return ESP8266HTTPUpdate::update(const char*, uint16_t, const char*, const char*, bool, const char*)
t_httpUpdate_return update(const char * host, uint16_t port, const char * url = "/", const char * current_version = "", bool https = false, const char * httpsFingerprint = "");
                         ^

/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:53:29: note:   candidate expects 6 arguments, 7 provided
In file included from /home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.hpp:5:0,
from /home/esp/Arduino/libraries/homie-esp8266-1.1.0/src/Homie/Boot/BootOta.cpp:1:
/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:54:29: note: t_httpUpdate_return ESP8266HTTPUpdate::update(String, uint16_t, String, String, bool, String)
t_httpUpdate_return update(String host, uint16_t port, String url = "/", String current_version = "", bool https = false, String httpsFingerprint = "");
                         ^

/opt/arduino-1.6.8/hardware/esp8266com/esp8266/libraries/ESP8266httpUpdate/src/ESP8266httpUpdate.h:54:29: note:   candidate expects 6 arguments, 7 provided
exit status 1
Error compiling for board Generic ESP8266 Module

I WANT USE HOMEI ，BUT COMPILE ERROR ,CAN YOU HELP ME?

I bet you are using the 2.0.0 version of the Arduino for ESP8266, you need >= 2.1.0.
By the way, please fill a new issue if you have a problem, instead of pulluting this one. Thanks!

Unfortunately, this will have to wait the next Arduino for ESP8266 as mDNS query support has been added after the 2.1.0 release.

BTW, as far as I know there ahould be installed mDNS/bonjour servers on the Node.js side in order to work. I mean, the solution is not purely node, but we rely on external daemon/service for different OS. Is this the case?

It seems like there is a pure JS implementation : https://github.com/mdns-js/node-mdns-js

Will land in next version!

Released!

authors: lvjh marvinroger mishoboss


text:
Travel-website-mobile-view

Added index.html and styles.css for the mobile view.

Please specify is this your mobile view or Desktop View? @maryamsaye

Sir it is mobile view I have already specified
On Sat, 19 Oct 2024, 12:52 pm Umar Lawan Sani, @.***>
wrote:

Please specify is this your mobile view or Desktop View? @maryamsaye
https://github.com/maryamsaye
—
Reply to this email directly, view it on GitHub
https://github.com/maryamsaye/Travel-website-mobile-view/pull/1#issuecomment-2423787225,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKNXCPEOIHKCL4FYR5R253DZ4JBX7AVCNFSM6AAAAABQGDOF32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRTG44DOMRSGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

authors: Xfarouq maryamsaye

repo: maryamsaye/Travel-website-mobile-view


text:
Poxy >= 0.13.1 fails on Ubuntu focal

Environment
I have installed poxy in a Ubuntu 20.04 (focal) environment with pip install poxy, which currently gives 0.13.7.
Describe the bug
Executing poxy on a source tree fails with:
$ poxy
Traceback (most recent call last):
  File "/usr/local/bin/poxy", line 5, in <module>
    from poxy import main
  File "/usr/local/lib/python3.8/dist-packages/poxy/__init__.py", line 7, in <module>
    from .main import main, main_blog_post
  File "/usr/local/lib/python3.8/dist-packages/poxy/main.py", line 18, in <module>
    from .run import run
  File "/usr/local/lib/python3.8/dist-packages/poxy/run.py", line 20, in <module>
    from . import doxygen, fixers, graph, soup, xml_utils
  File "/usr/local/lib/python3.8/dist-packages/poxy/doxygen.py", line 114, in <module>
    def version() -> tuple[int, int, int]:
TypeError: 'type' object is not subscriptable

Poxy 0.13.7 runs fine on the same source tree on Ubuntu 22.04 however (with python 3.10.12).
Also, Poxy 0.13.0 works on Ubuntu 20.04 (python 3.8.10), it is just versions >= 0.13.1 that raise the above error.
Additional information
Please allow poxy to run in a Ubuntu focal environment.
In my case, I'm using a focal based Dockerfile for my CI, to build binary packages that run on several older systems.
To keep that compatibility (for AppImage builds etc), the environment cannot be updated any time soon.
--bug-report
$ poxy --bug-report
Traceback (most recent call last):
  File "/usr/local/bin/poxy", line 5, in <module>
    from poxy import main
  File "/usr/local/lib/python3.8/dist-packages/poxy/__init__.py", line 7, in <module>
    from .main import main, main_blog_post
  File "/usr/local/lib/python3.8/dist-packages/poxy/main.py", line 18, in <module>
    from .run import run
  File "/usr/local/lib/python3.8/dist-packages/poxy/run.py", line 20, in <module>
    from . import doxygen, fixers, graph, soup, xml_utils
  File "/usr/local/lib/python3.8/dist-packages/poxy/doxygen.py", line 114, in <module>
    def version() -> tuple[int, int, int]:
TypeError: 'type' object is not subscriptable

[x ] I have tried to attach the zip file generated when using the --bug-report option

Ah, looks like I've used a feature that wasn't introduced until python 3.9. Thanks for letting me know, should be a relatively easy fix.

Fixed in 0.13.8 :)

authors: marzer tim-janik

repo: marzer/poxy


text:
Fairness measure with only Privileged and Unprivileged

Please provide multiclass option for features. We have only Privileged and Unprivileged groups. Example age. Age can have more than 2 groups. And we should be able to measure fairness with all these groups.

user needs to separate the values of a protected variables to privileged and unprivileged groups in ver 1.0. it's the same treatment implemented in other popular libraries like AIF360. supporting parities or ratios between multiple pairs will be supported in ver 2.0 with additional user input on selection policy, i.e. if there are 3 values of a protected variable, A, B and C, then which pair to be evaluated, A vs B, A vs C, A vs B+C, A + B vs C, etc


text:
The type identifier in new MyType { ... } is not hygienic

In fixing #179, I realized I wasn't fixing the entire problem. Or rather, with our two code paths, I fixed it for one of them.
Look at this:
$ FLAG_007_CLASS=1 bin/007 -e='macro moo() { class C {}; return quasi { new C {} } }; class C {}; say(moo() ~~ C)'
True

There are two classes C in the code. We're matching an object created from the inner (macro) class C against the outer class C. The result should be False, due to a lack of hygiene.
This one is really easy to fix. :smile: The other code path already does it correctly.

There's some general lesson to learn here: macros are mischievous agents of identifier displacement. Without macros, it's very rare for variable lookup to need to start from something other than the current frame. With macros, it happens all the time, with potentially all identifiers everywhere.
It's part of 007's charter to take a broad approach to handling that problem. Good news is, it's giving credulity to our current approach of equipping identifiers with a "home frame" exactly so that it can differ from the runtime's current frame. I still find it weird, but it appears more and more appropriate.

This one is really easy to fix. :smile:

I... take that back. I've been trying twice now to do the obvious thing, and the test keeps failing. (It did drag up the fact that #179 wasn't really fixed, though. So there is that.)
I wouldn't be surprised if looking sternly at this problem is enough to fix it. But so far, cruising along trying to drive-by fix it isn't.


text:
Custom login - registration, whether the configuration field is required to save, and the actual registration page is not required to fill in

自定义登录-注册 ，配置字段是否必填后保存，与实际注册页的是否必填不符，自行检查。

#1013

此问题仍存在


text:
Fix/issues 302

Description
Please explain the changes you've made
change private property
Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Extended the documentation

@codding-y PTAL
@yanzhangpeng resolve conflict

authors: doddgu yanzhangpeng


text:
🛑 POH events bot from render hosting is down

In e58bda0, 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 929f754.

repo: masch/poh-events-uptime


text:
🛑 POH events bot from render hosting is down

In b9575cc, 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 b54b484.


text:
Completed the change of the text

a9ab6082240128ce57bf31eb9c04a91ca1daf169
Changed the text of our web.

Great work @anandahrafi

authors: anandahrafi masrufjaman

repo: masrufjaman/gas-n-go


text:
Achievements and time not tracking with possible solutions

Hi, i just noticed that achievements and game time are not tracking. I did some modifications to the code based of off this pull request #28 and realized it is sending the wrong time format for game_time, it requires to use an epoch object instead of a string.
I already fixed that issue currently in my local build of the plug. It obtains the game time from the emulator so even if you play your games outside of gog it will track it the next time you sync it.
Now, the achievements are another thing, currently i made some big modifications and refactoring of the achievement object (for example i send the achievement id instead of None). I checked the gogo api documentation and made sure i sent the correct achievement object, i even compared the logs of the plugin to the official xbox. They send the objects the same way, the only difference is that xbox sends all data to galaxy.api.jsonrpc and this plugin sends it to root.
Here are some examples of achievement data:
Xbox
2022-07-27 21:34:09,552 - galaxy.api.jsonrpc - INFO - Sending notification: method=game_achievements_import_success, params={'game_id': '2043073184', 'unlocked_achievements': [Achievement(unlock_time=1639011428, achievement_id='1', achievement_name='First Contact')]}
rpcs3
2022-07-27 21:41:10,980 - root - INFO - Sending notification: method=game_achievements_import_success, params={'game_id': 'BLUS31396', 'unlocked_achievements': [Achievement(unlock_time=1577048967, achievement_id='001', achievement_name="Devil's Daughter")]}
The weird thing is that there is an osu plug in that tracks achievements (or tries), in my case it doesnt track them, but that plug in does send the data to the ga;axy.api.
Any thoughts, i really want to see my achievements :c

Hey, Got any solutions?


text:
🛑 RESTREAM-IR-13-Afranet-3 is down

In 8c5a314, RESTREAM-IR-13-Afranet-3 ($IR_13) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-13-Afranet-3 is back up in 411fae3.


text:
🛑 RESTREAM-IR-10-ParsOnline-4 is down

In c0aa3be, RESTREAM-IR-10-ParsOnline-4 ($IR_10) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-10-ParsOnline-4 is back up in 67640ad.


text:
🛑 RESTREAM-IR-11-ZirSakht-2 is down

In 77f4bf2, RESTREAM-IR-11-ZirSakht-2 ($IR_11) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RESTREAM-IR-11-ZirSakht-2 is back up in 946a60b.


text:
🛑 Iran 10 - Zirsakht 3 is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Iran 10 - Zirsakht 3 is back up in 230cd95.


text:
⚠ deces.matchid.io search API has degraded performance

In 3b77958, deces.matchid.io search API (https://deces.matchid.io/deces/api/v1/search?q=pompidou) experienced degraded performance:

HTTP code: 200
Response time: 4073 ms

Resolved: deces.matchid.io search API performance has improved in 3a7ad78 after 1 hour, 18 minutes.

repo: matchID-project/uptime


text:
在 Readme 中添加预览图以及示例

直观感受成功

Preview figure added in 1538b617c4cf2be36629c5efcc3793d17a0f07b3. If that suffices you can close this issue :)


text:
🛑 Homepage is down

In d8af97a, Homepage (https://home.mats-bueser.info) was down:

HTTP code: 404
Response time: 820 ms

Resolved: Homepage is back up in 0ad2263 after 9 minutes.

repo: matematrix/status


text:
RecipeApp - Kanban board

https://github.com/mateo951/RecipeApp/projects/1
The team is conformed by:

@Ntwali-Josue and @mateo951 🙌🔥 Dream team 💣

Required Changes ♻

"Change is inevitable. Change is constant. -Benjamin Disraeli"

Hi team,
You have been doing a tremendous job so far :ok_hand:
To Highlight 🎉
Issue link as a title and summary. :heavy_check_mark:
To Improve 🙏

[ ] Please add a description to all tasks as at the moment some of the tasks are missing descriptions.

Optional suggestions
Comments with the [OPTIONAL] prefix are not a must to implement however, It's strongly recommended to work on them as they can make your code better.
Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please remember to tag me in your question so I can receive the notification.
Note: Please do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

Hi Team,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


text:
[codelab] 102 Step 3 installing higher version of drawer and list causing compilation failure

In the tutorial we have the following:
npm install @material/drawer @material/list

This will install the version 8.0.0 of both component which will cause the build failure.
Both component should be installed in version 6.0.0.0:
npm install @material/drawer@^6.0.0

npm install @material/list@^6.0.0

I ran into the same problem, looks like someone else already opened an issue:
https://github.com/material-components/material-components-web-codelabs/issues/205

authors: Yifei-G slackbeard


text:
Formalize slop as an interaction

It's currently an operator and requires use of runtime.connect. Ideally it would be an interaction with the relevant configurable properties, e.g. slop size.
Challenge here is building an interaction that supports n-dimensional slopping, e.g. vertical/horizontal slop or slop outside of a 2d region.

This is now available in https://github.com/material-motion/material-motion-swift/blob/develop/src/interactions/SlopRegion.swift

repo: material-motion/material-motion-swift


text:
Make Testing Great Again

Currently, testing Material Motion often involves defining one-shot Plans and Performers in test code. This is a ton of boilerplate.
The reason we have to do this is often because we want to verify a side-effect of the performer, but we cannot have a direct reference to it due to the loose Plan/Performer coupling.
To close this issue, we must have a framework in place for testing to be painless. No more creating Plan/Performer classes if possible.

We might want to consider putting util classes like StepChoreographer into a separate package other than com.google.android.material.motion.runtime to visually separate it from the actual unit tests.
http://codereview.cc/D1868#38122

All *Tests should be renamed *Test. Context: http://codereview.cc/D2174#inline-8392

repo: material-motion/runtime-android


text:
Suggested change to linking files & samples

It would be easier to use checkboxes to link samples to a file, than to have to link the same file to each sample, which is what I need to do in the screenshot above.  All samples used in the process should be linked to the L124_photo.  When choosing which samples to link, you can filter down to only include those used in the process.

Added the ability to link from a file. This makes it easier to link an individual file to a set of samples.

authors: gtarcea tradiasa


text:
Saving file with windows-1251

I need to save file with encoding like in this example
VS Code correctly decodes it with Cyrillic (Windows-1251)
But when I'm trying to save file like that:
var a = document.createElement("a");
a.setAttribute("href", "data:text/plain," + windows1251.encode('Тестовый файл'));
a.setAttribute("download", "Test.txt");
a.click();

VS Code can't correctly decode it with the same encoding

When I open this example with VS Code it is displayed as �������� ����

Made function that encodes CP1251 as URI
var encodeCP1251 = function (string) {
    function encodeChar(c) {
        var isKyr = function (str) {
            return /[а-я]/i.test(str);
        }
        var cp1251 = 'ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬*®Ї°±Ііґµ¶·\
ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя';
        var p = isKyr(c) ? (cp1251.indexOf(c) + 128) : c.charCodeAt(0);
        var h = p.toString(16);
        return '%' + h;
    }
    var res = '';
    for (var i = 0; i < string.length; i++) {
        res += encodeChar(string.charAt(i)) //ну или string[i]
    }
    return res;
}

decode function:
function decodeCP1251(string){
    function decodeChar(s, p) {
        var cp1251 = 'ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬*®Ї°±Ііґµ¶·\
ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя';
        p = parseInt(p, 16);
        return p < 128 ? String.fromCharCode(p) : cp1251[p - 128];
    }
    var str = string;
    return str.replace(/%(..)/g,decodeChar);
}

with those functions I save files as I need)
var a = document.createElement("a");
a.setAttribute("href", "data:text/plain;charset=CP1251," + encodeCP1251('НУЖНЫЙ РУССКИЙ ТЕКСТ'));
a.setAttribute("download", "Test.txt");
a.click();

The issue can be closed)


text:
Sharing is caring (iso4217)

I was told by a reddit user that you might perhaps be interested in having a look @ https://github.com/alcohol/iso4217
Feel free to close this issue at any time :-)

Also came to suggest same library instead of using currencies.php

Based on this issue, I've created this helper, that maybe somebody can find useful.

Hey guys,
These things look very interesting, I would like to bring these libraries closer.

Thanks for sharing guys.
@alcohol we rely on a currency list added in #125
@antonienko based on your work there is this is WIP: #123

authors: alcohol antonienko sagikazarmark sovaalexandr

repo: mathiasverraes/money


text:
simulating problems

Hey,
Im trying baremetal asawmblies and also booting linux on your core.
After make command when i run dhry_1.s program:
~/riscv/SoomRV$ ./obj_dir/VTop test_programs/dhry_1.s

i just see the output like this:
riscv32-unknown-linux-gnu-ld: warning: section `.data' type changed to PROGBITS
804 0

When i run make linux command output will be like this:
find: ‘/home/user/riscv/SoomRV/test_programs/linux/buildroot/output/target/usr/share/’: No such file or directory
find: ‘/home/user/riscv/SoomRV/test_programs/linux/buildroot/output/target/usr/libexec/’: No such file or directory
0+0 records in
0+0 records out
0 bytes copied, 4,6089e-05 s, 0,0 kB/s
make: *** [Makefile:91: linux] Error 1

when trying to run linux output will:
~/riscv/SoomRV$ ./obj_dir/VTop --device-tree=test_programs/linux/device_tree.dtb --backup-file=soomrv.backup test_programs/linux/linux_image.elf
826 0

my verilator version is:
Verilator 5.022 2024-02-24 rev v5.020-157-g2b4852048

How can i run linux or maybe C codes in baremetal? Are you running coremark in baremetal mode?
Thank you for your interest.

I am having the same problem, here is the version of Verilator.
Verilator 5.024 2024-04-05 rev v5.024

Hi guys, thanks for reporting the issue! This crash just occurs because I accidentally pushed some debugging code. For a quick fix, simply comment out this if statement:
https://github.com/mathis-s/SoomRV/blob/8b697b9399ada90d88f618891f6179ed058b598d/Top_tb.cpp#L1058-L1062
Unfortunately I can't work on SoomRV right now. I will properly fix this once I can get back to SoomRV in 3.5 weeks.

authors: mathis-s mmxsrup recepyazar

repo: mathis-s/SoomRV


text:
Tex to serialised mathml sample.

Adds handling of TeXAtom nodes in the seralized mml visitor and by extension in the test visitor.  Nodes are handled equivalent to the old style by adding an mrow with the MJ-... texclass class.
Adds a tex-mml.js processor in the samples files.
Fixes some typos in comments.

I have not made any changes to the MathMLVisitor yet. But if the serialised version is fine, I can do that.

Changed script name as discussed yesterday.


text:
Overloading Vector / Matrix functions in F#

Might be doing this wrong (second day using F#!) but I have a method that applies to both vectors and matrices and would like to overload the function.
The F# compiler allows me to overload the function if I specify the arguments as DenseMatrix and DenseVector but not the generics, Vector, Matrix.
Is this expected and is there any way around it?
`//Vector Dirichlet Expectation
let dirichlet_expectation(input:Vector) =
let f1 x = SpecialFunctions.DiGamma(x)
let rowSum = SpecialFunctions.DiGamma(input.Sum())
let f2 x = x - rowSum
input
|> Vector.map f1
|> Vector.map f2
//Matrix Dirichlet Expectation
let dirichlet_expectation_M(input:Matrix) =
input.EnumerateRows()
|> Seq.map dirichlet_expectation
|> DenseMatrix.OfRowVectors`

F# generally does not support function overloading (but allows method overloading), so you won't get around some way of distinction like e.g. the _M suffix if you want to define both functions within the same module.
Note that you still need to indicate the generic type parameter when specifying the type explicitly, although you can let if infer it. For example:
//Vector Dirichlet Expectation
let dirichlet_expectation(input:Vector<_>) =   // compiler infers it as Vector<float>
    let f1 x = SpecialFunctions.DiGamma(x)
    let rowSum = SpecialFunctions.DiGamma(input.Sum())
    let f2 x = x - rowSum
    input
    |> Vector.map f1
    |> Vector.map f2

authors: ajwillshire cdrnet

repo: mathnet/mathnet-numerics


text:
external dnd events for Vue component

There is showDndOverlay prop on DockviewReact. It would be great to implement the same prop on DockviewVue for external dnd events.

showDndOverlay on the React component is depreciated and will be removed in a future version. It has been replaced with a method exposed on the dockview api object.
The same functionality is exposed through api.onUnhandledDragOverEvent(...) which is common to both the React and Vue versions since it's directly on the dockview api object provided by the onReady callback.
Let me know if that answers your question.

Answered

repo: mathuo/dockview


text:
Proxy custom palette with qt5ct-style

I'm not sure that this is possible, but probably you can add this feature?

Please read description of this repository.


text:
Error: Cannot find module 'chalk' when using graphql-shield in production

My Node.js app runs perfectly fine in development mode.
On running the app in production (by setting NODE_ENV to production or using npm install --production), it throws the following error:
Error: Cannot find module 'chalk'
    at Function.Module._resolveFilename (module.js:547:15)
    at Function.Module._load (module.js:474:25)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/example/app/node_modules/graphql-shield/dist/src/index.js:56:15)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/home/example/app/src/graphql/index.js:1:82)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)

If I do just npm install on my production server without the --production flag, all works well but I suppose that's not a solution since I don't want to take up space installing devDependencies on my production server.

It seems chalk should be listed in a peer dependency in this library.
Workaround until that is done is to install chalk as a dependency in your own project.

This is also done in the 2.x branch.

Thank you all so much for fixing this!

Thanks for building this! 👍 : )

authors: dakshshah96 maticzav skovhus

repo: maticzav/graphql-shield


text:
Custom error in 'not' rule

Is there any way to return a custom error message when using not rules? I dug through the source code and there doesn't seem to be a way to do that.

Ah yes, I see. Could you create a PR which would add a return type check for custom errors in RuleNot? I would be more than happy to merge it right away.

PS.: If you could, please add a test case.

:tada: This issue has been resolved in version 6.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: maticzav omar-rubix


text:
Cannot send messages to the user

[20:01:20] [Counting - JDA Callback 0/ERROR]: [net.dv8tion.jda.api.requests.RestAction] RestAction queue returned failure: [ErrorResponseException] 50007: Cannot send messages to this user
net.dv8tion.jda.api.exceptions.ContextException: null
	at net.dv8tion.jda.api.exceptions.ContextException.here(ContextException.java:54) ~[counting.jar:?]
	at net.dv8tion.jda.api.requests.Request.<init>(Request.java:73) ~[counting.jar:?]
	at net.dv8tion.jda.internal.requests.RestActionImpl.queue(RestActionImpl.java:200) ~[counting.jar:?]
	at net.dv8tion.jda.api.requests.RestAction.queue(RestAction.java:572) ~[counting.jar:?]
	at net.dv8tion.jda.api.requests.RestAction.queue(RestAction.java:538) ~[counting.jar:?]
	at me.matiego.counting.utils.Utils.lambda$sendPrivateMessage$0(Utils.java:234) ~[counting.jar:?]
	at net.dv8tion.jda.api.requests.Request.lambda$onSuccess$0(Request.java:117) ~[counting.jar:?]
	at java.util.concurrent.ForkJoinTask$RunnableExecuteAction.exec(ForkJoinTask.java:1395) ~[?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]

Fixed in https://github.com/matiego1/CountingBot/commit/b1815190faab98b69b3462b52683e0c4f31a9a58


text:
Moved TokenSet into it's own file.

As discussed in Issue #11, the only thing left in that issue that hasn't been fixed appears to be that TokenSet is not in it's own file. This pull request pulls TokenSet, it's macros and it's test into it's own file.

bors r+
Thanks!

authors: Plasticcaz matklad


text:
matlab does not start correctly if the HOME environment variable is redefined

I have a CI job in which I run from the command line the following command:
matlab -nosplash -nojvm -logfile "matlabVersionLog.cmaketmp" -nodesktop -nodisplay -batch "version, exit"

that correctly outputs:
	Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
	Not for government, commercial or other non-sponsored organizational use.

ans =

    '9.11.0.1809720 (R2021b) Update 1'

As soon as I redefined the HOME environment variable, the execution fails with:
License checkout failed.
License Manager Error -1
The license.dat file cannot be found.

Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2021b/1

Diagnostic Information:
Feature: MATLAB
License path: /home/runner/newhome/.matlab/R2021b_licenses:/usr/local/MATLAB/R2021b/licenses/license.dat:/usr/loca
l/MATLAB/R2021b/licenses
Licensing error: -1,359. System Error: 2

An example of the problem can be found at https://github.com/traversaro/matlab-actions-no-home-mre/actions/runs/1973540132 (related code: https://github.com/traversaro/matlab-actions-no-home-mre/blob/main/.github/workflows/mre.yml#L23).

To provide a bit more context to the problem: I am trying to run CMake test suite, including the tests that use MATLAB, in GitHub Actions, to avoid regression in the FindMatlab CMake module, see https://gitlab.kitware.com/cmake/cmake/-/issues/21912#note_1013804 and https://github.com/traversaro/cmake-nightly-testing-runner/issues/3 for more context.
Apparently CMake while executing its tests is redefining the HOME environment variable to avoid polluting the real home directory with byproduct of its tests, and so due to that behaviour and the issue described in this issue, the tests are not passing.

Hi @traversaro,
This occurs because MATLAB is looking for its license file in $HOME/.matlab and by changing $HOME it can no longer find it.
Two ideas:

Copy the $HOME/.matlab directory to the home used by CMake after executing setup-matlab. It is setup-matlab that sets up the $HOME/.matlab directory.

OR

Set the $HOME env var to the old home when calling MATLAB:

HOME=/home/runner/newhome matlab -nosplash -nojvm -logfile "matlabVersionLog.cmaketmp" -nodesktop -nodisplay -batch "version, exit"

Best,
Mark

Thanks! From my point of view we can close the issue, as the problem is closed and I do not think we can change anything at this level.

authors: mcafaro traversaro

repo: matlab-actions/setup-matlab


text:
Formatting of the DASHBOARD text on MainActivity Page

In the labels, the Dashboard text is in upper case while other texts like All clusters and Settings are in lower case.

@sphoorti this is default behaviour for all menu items. That means item is upper case if it is shown in the actionbar and lower case if it is hidden in the menu.

For consistency with the rest of the menu items, closing

authors: jelkosz sphoorti suomiy

repo: matobet/moVirt


text:
media event is not modified

When displaying images, non-e2ee clients expect thumbnail_url and url while apparently pantalaimon sends them file and thumbnail_file instead.
Because of that clients fail to display encrypted images.
Pantalaimon should probably modify event content, so clients can request proper image url and display it properly.
Here is example event source from Fractal:
{
  "content": {
    "body": "2020-03-31-205255_940x819_scrot.png",
    "file": {
      "hashes": {
        "sha256": "98y6kJYxxrAZFSDHbarAG1++kkprF66687uVekeRAnM"
      },
      "iv": "WvMBUqn0GfYAAAAAAAAAAA",
      "key": {
        "alg": "A256CTR",
        "ext": true,
        "k": "9lc0B2Di3NZLg_JxAlNigZwjmmGf7h9toryLg19cun4",
        "key_ops": [
          "encrypt",
          "decrypt"
        ],
        "kty": "oct"
      },
      "mimetype": "image/png",
      "url": "mxc://midov.pl/hjvXjEXFjyKCDzTaEcHqALaS",
      "v": "v2"
    },
    "info": {
      "h": 819,
      "mimetype": "image/png",
      "size": 114056,
      "thumbnail_file": {
        "hashes": {
          "sha256": "U+brDr/A/RyQO2sxsgsptcrOagt7o9MY4LAUcWPksSU"
        },
        "iv": "2/GbHBzwhS4AAAAAAAAAAA",
        "key": {
          "alg": "A256CTR",
          "ext": true,
          "k": "V4JVAAu5Jps-Tzk5pEEaK1BY1M76TwuhFyvSRoL7EC4",
          "key_ops": [
            "encrypt",
            "decrypt"
          ],
          "kty": "oct"
        },
        "mimetype": "image/png",
        "url": "mxc://midov.pl/DMSMbyNTzbCiLppnXlCtGpBI",
        "v": "v2"
      },
      "thumbnail_info": {
        "h": 600,
        "mimetype": "image/png",
        "size": 189087,
        "w": 688
      },
      "w": 940
    },
    "msgtype": "m.image"
  },
  "decrypted": true,
  "event_id": "$b-o6x5UDsS7WxjDTiMpode19kCDVA_zO4xjy-OBkGis",
  "origin_server_ts": 1585681036729,
  "room_id": "!SVlZdZFeWcpgmdAfkz:midov.pl",
  "sender": "@ttestowy:midov.pl",
  "type": "m.room.message",
  "unsigned": {
    "age": 1080315
  },
  "verified": false
}

Fractal failed to display this encrypted image, even though when i tried to manually curl http://127.0.0.1:8009/_matrix/media/r0/download/midov.pl/hjvXjEXFjyKCDzTaEcHqALaS, it was decrypted properly.

Anything going on with this? I'd really like to be able to access images in gomuks; it's, like, the number 1 thing that's missing for me in gomuks

Not yet, have to chase bugs in other projects first.
If you want to take a shot at this, it should be relatively straight forward to edit this method and modify the event_dict if the event is a media event.

Closed by https://github.com/matrix-org/pantalaimon/commit/4b6b61c4be6eebf34d0c203e8902f0a8e7d4c20a

authors: MRAAGH Midek poljar

repo: matrix-org/pantalaimon


text:
Write the mock in the corresponding _test package

Hi Mat,
at first, thank you very much for this great package. Unfortunately I'm a little bit struggling with getting started, so I would like to help improve the documentation with my misunderstanding ;).
I've created a little example: https://github.com/fvosberg/moqtest
When I try
//go:generate moq -out service_moq_test.go -pkg moqtest_test github.com/fvosberg/moqtest Service

Then I get
open github.com/fvosberg/moqtest: no such file or directory

And when I use
//go:generate moq -out service_moq_test.go -pkg moqtest_test . Service

I get on go test
service_moq_test.go:8:2: local import "." in non-local package

Am I using the package wrong, or is this case not implemented? I would really appreciate some help and when it is not implemented right now, I would really love help implementing it.
Cheers
Fredi

Hmm.. looks like you've found a bug.

@fvosberg I think I've fixed this... please install the latest with go get -u github.com/matryer/moq, and run go generate in your moqtest project again.
I also took your files and added them to this repo to act as the test. Let me know if that's a problem.

Thanks for your fast fix, I'll check that out later on.

authors: fvosberg matryer

repo: matryer/moq


text:
Remove DummyWeatherSource

#48 の続きです
修正内容

不要になった DataSource を削除します
同時に不要になったテスト関連の依存を削除します

後続の issue でテストを追加する際には、テストライブラリとして kotest, mockk を採用する予定です

レビューレベルの設定

[ ] まったく見ないでApproveする(基本的には非推奨。)
[x] ぱっとみて違和感がないかチェックしてApproveする
[ ] 仕様レベルまで理解して、仕様通りに動くかある程度検証、動作確認までしてApproveする
[ ] その他 (以下にコメント記載)

レビュー観点

すでに不要と思って削除していますが、今後の issue などで使用する等の理由で削除不可の場合は教えてください

スクリーンショット

N/A

備考

N/A

レビューありがとうございました 🙏