Use Proper Images on Google Play Store

User better images of the hepilo app on the play store
https://www.figma.com/community/file/973686904793673118
https://www.figma.com/community/file/960064054935700100

https://www.figma.com/file/zOXnCD8o8JPdTEVagEN1cl/Play-store-%26-AppStore-Screenshots-Template---freebies-design-%40atik_gohel-(Community)?node-id=0%3A1
https://www.figma.com/file/ysj6zG0sCvw3j6bN2gpSK0/App-Store-and-Google-Play-template-(Community)?node-id=11%3A350

Done


perf: fast cosine and dot distance table build

See #1648
Provide a fast cosine and dot distance build kernel on avx512f

[x] Make sure benchmark covers cosine and dot case
[x] Cosine distance table build
[x] Dot distance table build
[ ] Verify on avx512f

@eddyxu I'm not sure this is still relevant, but rebased anyway.


http request update

In the base code, they are 2 httpRequest based on 'request' -> I removed them and I created an httpGet in common/utils directory.
I have updated all the code with this new httpGet
httpGet take in parameter the url and options typed and returns the httpRequestResponse type.
I added a new header : Accepted-Language with the language in app from redux-state.
It's works great on Win and Mac.
On feedbooks opds feed, the language is automatically updated in function of the app language.
fix #463

New issue linked to this PR #484
any idea ?

I changed all conflict lines about yesterday discussion
Be careful @danielweck to resolve encode 64 and decode B64 issues quickly after the merge, please

Why tslint throw errror ? @danielweck
ERROR: src/typings/json.d.ts:8:1 - 'namespace' and 'module' are disallowed


IllegalArgumentException when generating librarian enchanted book trades

I encounter this crash when a villager first becomes a librarian. If its trades included an enchanted book, the game crashes with the attached crash log. This doesn't happen when the enchantment module is disabled. The crash log is from a server, but it happens in singleplayer worlds as well.
crash-2024-12-01_19.36.40-server.txt

Figured it out, the enchantments.cfg file that was automatically generated had most values set to 1 or false. I've attached it below. I'm not sure why it generated like this, wouldn't be shocked if I messed something up while setting up my server.
enchantments.txt


Angular-CLI not bundling external library from script tag

Versions
Angular CLI: 1.5.0
Node: 6.11.3
OS: win32 x64
Angular: 5.0.1
... animations, common, compiler, compiler-cli, core, forms
... http, platform-browser, platform-browser-dynamic
... platform-server, router

@angular/cdk: 5.0.0-rc0
@angular/cli: 1.5.0
@angular/language-service: 4.4.6
@angular-devkit/build-optimizer: 0.0.32
@angular-devkit/core: 0.0.20
@angular-devkit/schematics: 0.0.35
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 1.8.0
@schematics/angular: 0.1.2
typescript: 2.6.1
webpack: 3.8.1

Repro steps
For some reason CLI is not including my script files:
 ],
    "scripts": [
      "../node_modules/jquery/dist/jquery.min.js",
      "./libs/jquery.base64.js",
      "./libs/jquery-ui.js",
      "./libs/jquery.knob.min.js",
      "./libs/flashdetect/flashdetect.js",
      "./libs/rc4v1/rc4v1.js",
      "./libs/rc4v2/rc4v2.js",
      "./libs/bootstrap-timepicker/js/bootstrap-timepicker.min.js",
      "./libs/jquery.timepicker/jquery.timepicker.min.js",
      "./libs/contextmenu/bootstrap-contextmenu.js",
      "./store/signage_sdk.js",
      "../node_modules/bootstrap/dist/js/bootstrap.js",
      "../node_modules/bootbox/bootbox.js",
      "../node_modules/platform/platform.js",
      "../node_modules/string/dist/string.js",
      "./libs/fabric.require1-4-12.js",
      "./libs/minicolors/jquery.minicolors.js",
      "./libs/gradient/colorpicker.js",
      "./libs/xml2js/xml2js.js",
      "./libs/gradient/jquery.gradientpicker.js",
      "./libs/enjoyhint/enjoyhint.js",
      "../node_modules/xdate/src/xdate.js",
      "./libs/ruler/ruler.js"
    ],
    "environmentSource": "e

Observed behavior
Everything is working fine when I am running:
ng serve --port 4208 --aot true

but when I run and upload via:
"ng build --target=production --base-href ./ --aot true

I get errors that are clearly missing my script tag files from the cli.

repo:
https://github.com/born2net/dynawebs_ng
any help is appreciated
regards
Sean

Hi @born2net, the repro you provided points at a 404. Can you link a repro please? It would also really help if it's a minimal repro (e.g. it just shows this problem and it's your full app).

I ended up just deleting  the entire project and re-grabbing it from Github and now everything is working so something must have been corrupted in the local directory.
I am closing the issue for now and will re-open if it happens again,
Thanks you,
Sean


switch webpack

使用 webpack 作为 cli 工具
base on #591

Is there any reason why remax switch build tools from Rollup to Webpack ?

Is there any reason why remax switch build tools from Rollup to Webpack ?

主要是为了支持 web 同构


Set last written LSN for prefetched pages to avoid false invalidation of prefetch results

In case of prefetching large table size of last written LSN cache is not enough to keep information about all pages, this is why we are using global last written LSN which is intensively updated by vacuum because of setting ALL_VISIBLE bit in page header. It cause invalidation of prefetch results because prefetch_lsn < request_lsn

Do we have a test case for this behaviour?

Do we have a test case for this behaviour?

The problem is that many prefetch requests are rejected.
But how to determine it? There is PR which outputs this information in EXPLAIN ANALYZE.
But it is not yet merged.
Without this PR it can be only checked by attaching debugger.

Do we have a test case for this behaviour?

The problem is that many prefetch requests are rejected. But how to determine it? There is PR which outputs this information in EXPLAIN ANALYZE. But it is not yet merged. Without this PR it can be only checked by attaching debugger.

Perhaps we should merge the EXPLAIN ANALYZE PR before this then.
It should also show up as bad performance, right?

It should also show up as bad performance, right?
Yes, the difference is about 20  times (4 minutes vs 70)

As discussed moving to draft


Hi, sir. I have tested this library in some old android devices

I found that if the device can't support WebGL2, it can't be displayed.
Is it right? This library is only run in WebGL2?

It supports both WebGL1 and WebGL2

Does it output nothing or is the model rendered just black?, Which device are you using?

The model rendered just black. I use Redmi 5A and Galaxy Grand Prime, them only support WebGL1.

Could you please test and turn off lighting and see if the colors are being rendered?
model.meshes[0].material.unlit = true

Could you also please visit https://webglreport.com with that device and post the results if possible?

Could you please test and turn off lighting and see if the colors are being rendered?
model.meshes[0].material.unlit = true

Yes, use this option, the render is normal

Could you also please visit https://webglreport.com with that device and post the results if possible?

Thanks a lot, I'll try to make something out of this info.

I tested on an old device "Samsung Galaxy Core Prime" which seems pretty similar to yours, it was release 2014. First I had issues, but after upgrading to latest Chrome all the examples looked correct.
Just to make sure, could please see if you have latest Chrome installed and try again?

Is this phone support WebGL2?
If the device can't support WebGL2, it can't run it normally, even if use the new chrome versoin.
I have tested 3 old phone(don't support WebGL2), all aren't normal.

Yes it does support WebGL 2, but that is not why it works. I can force PixiJS to use WebGL 1 by doing PIXI.settings.PREFER_ENV = PIXI.ENV.WEBGL and it still works on my Galaxy Core Prime.
I also know that the library works on WebGL 1, because everything is correct on iPhone/Safari (and no iPhone supports WebGL 2). It just has to be something else, which I'm trying to figure out. Which is the third device you have tested this on? (I already know you have Galaxy Grand Prime and Redmi 5A). I would need one of those phone for testing, but it seems they are hard to get.

Hello! I faced a similar problem. My 3D-model does not displayed on ios10-13 at all, but on ios14 and android 7- 11 it works correctly.  How can this be fixed?

Hello! I faced a similar problem. My 3D-model does not displayed on ios10-13 at all, but on ios14 and android 7- 11 it works correctly. How can this be fixed?

Hi!

Is the model rendered black or is it not displayed at all?
If you connect your device to a desktop machine and debug it, do you get any errors or warnings in console?
Does any of the examples (included in repo) work correctly?
Have you tried turning off lighting calculations? model.meshes.forEach(mesh => mesh.material.unlit = true)

Hello! I faced a similar problem. My 3D-model does not displayed on ios10-13 at all, but on ios14 and android 7- 11 it works correctly. How can this be fixed?

Hi!

Is the model rendered black or is it not displayed at all?
If you connect your device to a desktop machine and debug it, do you get any errors or warnings in console?
Does any of the examples (included in repo) work correctly?
Have you tried turning off lighting calculations? model.meshes.forEach(mesh => mesh.material.unlit = true)

I don't have a iOS device < 14 so I can't test for myself.

Hello! Thank you! The model did not displayed at all. The problem connected with function Uint8Array.from(), using Babel's polyfill package didn't help for me. I rewrote the function to 'new Uint8Array()' and it is working good now.

@kasiaustas Good to know! Did you change it in src/gltf/gltf-asset.ts file only? So I can apply this update, or maybe you can submit a PR?

@kasiaustas Good to know! Did you change it in src/gltf/gltf-asset.ts file only? So I can apply this update, or maybe you can submit a PR?

Perhaps this is related to this
  PIXI3D.ShadowCastingLight.isMediumQualitySupported(app.renderer)

@kasiaustas Good to know! Did you change it in src/gltf/gltf-asset.ts file only? So I can apply this update, or maybe you can submit a PR?

Perhaps this is related to this
 PIXI3D.ShadowCastingLight.isMediumQualitySupported(app.renderer)

I guess he is referring to https://github.com/jnsmalm/pixi3d/blob/develop/src/gltf/gltf-asset.ts#L126, it's the only place in code  where Uint8Array.from() is used.

As this library is now being used in production in different projects with hundres of thousand of users I have not received any indication this is a real problem. Users seem to simply not use these devices which have these issues or the number of users with those devices is so small that it's simply not worth the effort fixing this. If anyone can provide me devices which have these issues (so I can debug this), let me know.


Add createInstance actions

Added

Added createInstance.
Added getDependencies.

Codecov Report

Merging #285 (8fcc805) into master (94582e6) will increase coverage by 5.53%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master      #285      +/-   ##
===========================================
+ Coverage   94.46%   100.00%   +5.53%
===========================================
  Files          90        13      -77
  Lines        1065       135     -930
  Branches      143        27     -116
===========================================
- Hits         1006       135     -871
+ Misses         55         0      -55
+ Partials        4         0       -4

Flag
Coverage Δ

iocuak
?

iocuak-common
?

iocuak-core
100.00% <100.00%> (?)

iocuak-decorators
?

iocuak-models
?

iocuak-reflect-metadata-utils
?

porygon
?

porygon-typeorm
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...core/src/binding/utils/domain/getBindingOrThrow.ts
100.00% <100.00%> (ø)

.../src/binding/utils/domain/lazyGetBindingOrThrow.ts
100.00% <100.00%> (ø)

...core/src/common/utils/domain/stringifyServiceId.ts
100.00% <100.00%> (ø)

...uak-core/src/task/actions/domain/createInstance.ts
100.00% <100.00%> (ø)

...c/task/actions/domain/createInstanceFromBinding.ts
100.00% <100.00%> (ø)

...sk/actions/domain/createInstanceFromTypeBinding.ts
100.00% <100.00%> (ø)

...ask/actions/domain/createInstanceInRequestScope.ts
100.00% <100.00%> (ø)

...k/actions/domain/createInstanceInSingletonScope.ts
100.00% <100.00%> (ø)

...k/actions/domain/createInstanceInTransientScope.ts
100.00% <100.00%> (ø)

...re/src/task/actions/domain/createInstancesByTag.ts
100.00% <100.00%> (ø)

... and 89 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


TODO/SPIKE: eslint integration

check if linter-eslint package can be easy integrated with Atom-Lupa.
Need for some inter-package communication.
Related: #36, #31

I'm not sure if this is good direction.
ESLint is great and pluggable AST framework with great ecosystem, but most important thing from ESLint for this project is scopeManager which is basically EScope (other library ESLint only uses).
What does EScope do? It analyzes JS syntax tree and returns hierarchical structure with scopes and variables.
http://mazurov.github.io/escope-demo/
I've used this in other project for implementing scope aware autocomplete, so it has power.
Although. EScope  lacks of many analysis I need (support for objects e.g.:
const o = {
  abc: 3,
  def: 4
}

besides EScope objects are not serializable to JSON so I have visit each node and serialize them (trivial task and probably not very CPU consuming, but still... ).
So I would have to hack this a little further to change for my needs.
Returning to ESLint. Reusing AST alone from ESLint could be optimization gain, but I still don't think it should be done on Atom level. Maybe more proper way to do this would be reimplement backend of Lupa as a ESLint plugin.
But complexity grows.
On the other hand:

it turns out that gathering scoping of JavaScript with references etc. is pretty simple task, I made some proof of concept myself, I just have to polish that. So I think I just refactor or rewrite Lupa backend to handle scoping.
having system specially designed for need of my projects could be a lot simpler that hack existing frameworks (which were designed for other purposes than general purpose code intelligence engine)

hex13/lupa#15

I think Babel is currently better static analysis library for integrating with.


HTML Helper

Port the current HTML helper over from CI3, with the following exceptions:

remove the deprecated methods
remove header() and meta() methods.

Which primarily leaves us with the list building tools. Should this be combined with something else?
Maybe add:

media method to help embed media objects.
table_headers (see CakePHP)
table_cells (see CakePHP)

This probably makes sense to implement as a class with static methods.
Development Checklist:

[ ] Component(s)
[ ] ... with PHPdocs
[ ] Unit testing
[ ] ... with >80% coverage
[ ] User guide updated
[ ] Classmap integration?
[ ] Securely signed commits
[ ] Conforms to style guide

Best to include script_tag() along with tokenizers. See Laravel's Elixir https://laravel.com/docs/5.2/elixir#versioning-and-cache-busting
The static method goes outside the formatting of other helpers. Probably good to make it procedural as decided

Best to include script_tag() along with tokenizers. See Laravel's Elixir https://laravel.com/docs/5.2/elixir#versioning-and-cache-busting

If we do that, we also need a css_tag function with the same feature. The problem I see with that, though, is that it then requires a controller to interpret that cache-busting filename and return the correct asset. Which is definitely heavier then we want here. I'm all for the feature, but don't think it fits the CodeIgniter way.
That said - I could potentially see it as a before/after filter that checks the file datetime and auto-creates tag busters on the way out, and interprets them on the way in... but that sounds pretty involved also.
Probably best to leave for whatever front-end solution people use, like gulp, which Elixir is a front-end for.

The static method goes outside the formatting of other helpers. Probably good to make it procedural as decided

The nice thing about writing the framework is it doesn't have to be a helper anymore, we can always call it a library and it's all good. :)
Seriously, though, my thought was that this and the Form builder would both be static classes, making it so they didn't have to be autoloaded, but have since recently realized that would be ugly as all get out, since you'd have to use the full namespace every time. So, yes, back to procedural.

All good. Best to leave this feature as front-end and procedural.
If there are plans moving from procedural to OOP some time in the future, perhaps $this->classmap[] structure under ./system/Config/AutoloadConfig.php can help.
One thing to note, there's be no need to create a separate css_tag() since link_tag() has a rel attribute.

I can work on this.

Sounds good. I'll mark it as in progress. Thanks!


Page Metadata Not working

Describe the bug
According to docs in https://reflex.dev/docs/pages/metadata/
meta = [
    {"name": "theme_color", "content": "#FFFFFF"},
    {"char_set": "UTF-8"},
    {"property": "og:url", "content": "url"},
]

@rx.page(
    title="My Beautiful App",
    description="A beautiful app built with Reflex",
    image="/splash.png",
    meta=meta,
)
def index():
    return rx.text("A Beautiful App")

but it not working
To Reproduce
Steps to reproduce the behavior:
It seems like Meta looking str instead of list
Specifics (please complete the following information):

Python Version: 3.9.13
Reflex Version: 0.3.9
OS: windows 10
Browser (Optional): chrome

Additional context
Add any other context about the problem here.

I seen the original code taking str instant of list for meta variable
def page(
    route: str | None = None,
    title: str | None = None,
    image: str | None = None,
    description: str | None = None,
    meta: str | None = None,
    script_tags: list[Any] | None = None,
    on_load: Any | list[Any] | None = None,
):

working on this

working on this @ElijahAhianyo

yeah sure, go for it

fixed on #2477


Added colorbar to rtreeviz_bivar_heatmap

In bivariate feature-target space plots it is easy to understand what are the targeted values because they are represented as a dimension of the plot:

But in bivariate feature-target space heatmap, there is no indication at all of the values represented by the colors:

This PR adds a colorbar to the heatmap so that it is easier to understand how colors are related to actual values:

Thanks.  looks pretty cool. I will look at this hopefully in a month or so; brain stuck in something else.


Implemented reduce

Fixes #5

@ramaghanta @xasmx if everythings good, can one of you squerge this when you have a moment


Remove stream argument from BasicProducer, BasicConsumer, BasicSubscribingConsumer

It's already in options and shuld be received from options.

declined


Fira code ligatures don't work after installing Elyra extension

Describe the issue
On a fresh install of lab v3 i changed settings to use fira code wich supports ligatures. It worked fine. After i installed Elyra extension the fira code ligatures don't work anymore.
To Reproduce
Steps to reproduce the behavior:
On Windows 10 in Windows Terminal with conda:

Install Fira Code font with these instructions: https://github.com/tonsky/FiraCode/wiki/Installing#windows
Install jupyter lab in new conda environment: conda install -c conda-forge jupyterlab (v3.0.13)
Set font to Fira Code in Jupyter Lab advanced settings -> Notebook settings: { "codeCellConfig": { "fontFamily": "Fira Code"}} - font and ligatures work fine
Install Elyra extension as per instruction:
conda install -c conda-forge nodejs
pip install --upgrade elyra && jupyter lab build
https://elyra.readthedocs.io/en/stable/getting_started/installation.html
after installation fira code ligatures don't work anymore

Screenshots or log output

Expected behavior
Fira code ligatures should work after installing Elyra
Deployment information
Describe what you've deployed and how:

Elyra version:
@elyra/code-snippet-extension v2.2.1 enabled ok
@elyra/metadata-extension v2.2.1 enabled ok
@elyra/pipeline-editor-extension v2.2.1 enabled ok
@elyra/python-editor-extension v2.2.1 enabled ok
@elyra/r-editor-extension v2.2.1 enabled ok
@elyra/theme-extension v2.2.1 enabled ok
Operating system: Windows 10
Installation source: pip and conda as above
Deployment type: local in conda env

Just a note that I was able to reproduce the issue on Windows environment, but still have to investigate. I will also try to check this on a non-Windows environment as this shouldn't be a platform-specific issue.

This is also reproducible in a non-windows machine (e.g. mac os), but I still need to investigate what might be causing this.

Still investigating this.
Other custom fonts installed work normally on elyra (fira code text font renders as expected, only ligatures are affected).
After isolating elyra extensions, ligatures only break when pipeline editor extension is installed.

The issue seems to be coming from carbon-components css. Setting letter-spacing breaks the ligatures


Convert SNDB import to be from API rather than scraping

Isaac Shivvers has nicely written an API for us to pull photometry from SNDB, currently we still use the old scraping algorithm. We should switch to the new API ASAP.

This has been done, this also adds some additional bibcode info to the photometry that wasn't available previously.


error installing with npm in windows 10

npm i robotjs don't work
not install in windows 10
Possible Solution
not idea
Context
Your Environment

RobotJS version: npm version last
Node.js version: 8.11.2
npm version: 5.6.0
Operating System: Windows 10 Home 64x

Try to install node-gyp globally:
npm install -g node-gyp
Then try installing the package again:
npm install robotjs
This solved the issue for me.

I am having issues as well. Same Windows as @brakdag
I did install all the packages as @antoniojps mentions here. But when I try to initialize the library, I still get an error message:
Uncaught Exception:
Error: A dynamic link library (DLL) initialization routine failed.
    at process.module.(anomjmous function) [as dlopen] (ELECTRON
    at Object.ModuIe._extensions..node
    at Object.module.(anonymous function) [as .node] (ELECTRON
    at Module.load
    at tryModuIeLoad
    at Function.ModuIe._Ioad (module.js:4963)
    at Module.require
    at require (internal/module.js:11:18)
    at
(C: \ Users\AIexa n d 170)
at Object. < anonymous>

Same here, can't install robotjs, I did what @antoniojps advised, the 3 commands, here is the last one :

Someone knows where does it come from ?
Thanks a lot :)

This seems to be a problem with the version requirements for NodeJS recompiled binaries.
The latest release does not have binaries for Windows 10 64Bit. When the node-pre-gyp fails due to lack of binaries, it falls back to building robotjs. For that you need some prerequisites, which are listed in the readme (https://github.com/octalmage/robotjs#building).
Can you try installing the required items and then trying again?

try:
npm install robotjs --force

then go to \node_modules\robotjs,
node-gyp configure --msvs_version=2015 --arch-ia32

install windows-build-tools first.

cannot install either.
win10: 1803 17134.5
node: v8.11.1
npm: 5.6.0
C:\Users\liu\.node-gyp\8.11.1\x64\node.lib : fatal error LNK1127: library is corrupt [F:\dev\robot\node_modules\robotjs
\build\robotjs.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (E:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:126:13)
gyp ERR! stack     at ChildProcess.emit (events.js:214:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "E:\\Program Files\\nodejs\\node.exe" "E:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd F:\dev\robot\node_modules\robotjs
gyp ERR! node -v v8.11.1
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: `prebuild-install || node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

it worked, after I install a newer nodejs 8.11.3

When I try to run my project got following error:

@pramodDesign What did you try to run? Could you give us more information?

@pramodDesign

19 error node v5.6.0
20 error npm v3.6.0

You've old version and you need to "have the latest version of node.js and npm installed."

I had the exact same problem, I tried the stable build the latest build and all the sorts. But i was using node x64 bit, uninstall that and download node x86 (32 bit). It seems to solve the problems and has not caused me an error since. Hope this helps.
Ran the one command:
npm install robotjs
PC Specs:
System Type: 64-bit Operating System, x4-based processor
Operating System: Windows 10 Pro

As of today, the latest windows build tools (5.1.0) freezes after installing python.

So use version 4.0.0 instead of 5.1.0 -> npm install --global --production<EMAIL_ADDRESS>

It might be worth updating Node before doing the instructions below.
Run this command from an administrative shell to install the "software" dependencias (Visual Studio, Python) on windows:
npm install --global --production windows-build-tools
Install node-gyp globally:
npm install -g node-gyp
Then try installing the package again:
npm install robotjs
This solved the issue for me.

@antoniojps It does not work for me. I always get the same error:

It seems I can't install robotjs on windows...

For the people who can't install robotjs because of node-gyp, I've been able to fix it by downloading node version 10. The person who told me this way of fixing it, told me that the npm install for this libary uses a file that is nolonger included in node version 12, for this reason downloading an older version seems to fix it. I can't remember the source so sorry for that.
@lucasctd I had the same error the method above worked for me but I would check your node version first before trying it.
ps: I did this for windows, I have no clue if this will work for other systems.

Finally, after 2 years I found a solution that works for me:
npm install -g windows-build-tools
instead of
npm install --global --production windows-build-tools

@Tymski this looks like the way to go! After installing it several times it finally installed correctly. Thanks!

For anyone still having a problem with this:

Use NodeJS 10 (LTS)
Try npm install -g windows-build-tools --vs2017

The support will be improved in the near next release

Please use nvm and switch to the version node@8
Complete installation of all prerequisites from node-gyp

I tried running Node14.15.1 and I was getting this error.
If you have node installed on windows as an actual app do the following steps to get rid of this error.

uninstall nodejs from add or remove programs
install nvm globally and  install/use node version 12.0.0 ( https://github.com/nvm-sh/nvm#installing-and-updating )
npm i robotjs

Fool proof.
Cheers

@ShawnMeister you link a solution for Linux/Max (https://github.com/nvm-sh/nvm#installing-and-updating) whereas this issue is for Windows 10

@ShawnMeister you link a solution for Linux/Mac
(https://github.com/nvm-sh/nvm#installing-and-updating)
"nvm is a for Mac/Linux only"
whereas this issue is for Windows 10
"error installing with npm in windows 10"

Ahh my mistake. I edited it

how to do this in mac os

It might be worth updating Node before doing the instructions below.
Run this command from an administrative shell to install the "software" dependencias (Visual Studio, Python) on windows: npm install --global --production windows-build-tools, recent feedback has been using npm install -g windows-build-tools as an alternative.
Install node-gyp globally: npm install -g node-gyp
Then try installing the package again: npm install robotjs
This solved the issue for me.

npm install --global --production windows-build-tools now its change to this npm install -g node-gyp and node-gyp rebuild

Robotjs (https://github.com/octalmage/robotjs)is build use V8 API.So it must be rebuilt for different Node versions.
This is a big trouble when installing on a platform that has no build environment..
So I rewrapped Robotjs with Node API and prebuilt it. Now you can install robotjs_addon with just one command
npm install robotjs_addon
And it is compatible with different Node versions. It's open source. You can check it out if you are interested.https://github.com/ftyszyx/robotjs
Warm: some api is removed,because there is no need for me, you can help to improve.


making embedded videos responsive

in response to #843 made the embedded video responsive and fixed leftover popup video.

Awesome :)


Is it thread safe on iOs?

I get crash very similar to https://github.com/rollbar/rollbar-ios/issues/245#issuecomment-699420886 pretty frequently with v2.2.4

@RSATom, please, make sure you are not sharing logger instances across different threads.

I'm using new Swift concurrency with async/await and actors and flow can switch to different thread after any await. But even in that case in should be safe, since access to Rollbar object happens only from a single thread at any specific moment. But I still seen crashes. Finally I've moved all access to Rollbar to @MainActor but today got crash again... Right now I'm trying to find if there any other threading issue in my code...

I've disabled Rollbar, and there is no crash anymore for a long time...

Hey @RSATom, We released major bugfixes above 3.0. This should work properly now, so I am closing this issue for now. Feel free to reopen it if you still experience any issue.

@rollbar-bborsits thank you, but unfortunately we was not able to wait so long time and already switched to different solution...

@RSATom I understand your decision, and thanks for sharing it openly. Do you mind sharing which solution you switched to and its strengths? We want to learn where we fall short so that we can improve. Thanks.

@rollbar-bborsits it's https://bugfender.com
The main reason was inability to use Rollbar on iOs platform due to crashes.
Other good thing in Bugfender - it's possible to look events in order they happens. To get the same with Rollbar I have to use RQL. By default Rollbar orders events by second boundary and within specific second order of events is almost random, but in worst cases it's required to see events in right order.
But just to be clear, we are still using Rollbar on other platforms. I mean it's not so bad...

Other thing I would like to see in Rollbar - ability to filter events from specific user/device by time interval.


UnionTypes demo

Hey, not sure what the solution to the 3rd union type test is? Seems to require a different assertion function, something like assertSameType?

Sorry that one's confusing. Someone else had commented on this before (https://github.com/robertjlooby/elm-koans/issues/9) and I've been meaning to rework that whole suite but just haven't gotten around to it yet.
The "solution" is just to change one to match the other. All test is showing as it is written right now is that it compiles without error even though they are "different" values in the same type. It's not a very good test though.

@robertjlooby Yeah this one was confusing to me too because it doesn't have that phaceholder text. Maybe adding a comment there would make it clearer :smile:

The third union type test is actually OK. IMHO. They are of the same type, but different. So ...
        , test "all types in the union type are the same type" <|
            \() ->
                Strand [ A, T, C, G ]
                    |> Expect.notEqual (Base A)

the trick is simply to change equal to notEqual :-)
@robertjlooby Thank you for this fun exercise. Intuition often arrives after hard work.

Thank you everyone for your input on this and sorry to anyone who found it confusing. I put a comment in there (https://github.com/robertjlooby/elm-koans/pull/25) which will hopefully make it less confusing going forward.


image/png: different decoding result on iOS Safari (Wasm)

What version of Go are you using (go version)?

$ go version
go version devel +b388d68 Thu Jun 13 03:58:18 2019 +0000 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/hajimehoshi/Library/Caches/go-build"
GOENV="/Users/hajimehoshi/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/hajimehoshi/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/hajimehoshi/sdk/gotip"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/hajimehoshi/sdk/gotip/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/ht/ky_bwgzs4bd5z1hh02k34x_h0000gn/T/go-build197596843=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Compile this program as Wasm and run it on iOS Safari
https://play.golang.org/p/4ez7BztzRZf
package main

import (
        "bytes"
        "image/color"
        "image/png"
)

var pngimg = []byte("\x89PNG\r\n\x1a\n\x00\x00\x00\rIHDR\x00\x00\x00 \x00\x00\x00 \b\x02\x00\x00\x00\xfc\x18\xed\xa3\x00\x00\x00\tpHYs\x00\x00\v\x13\x00\x00\v\x13\x01\x00\x9a\x9c\x18\x00\x00\x00<IDATH\xc7\xedѱ\r\x000\b\x03A\xc8J\xec\xbf\x01\x9e\xc9̀\x944\xd1\u007fmt\x05\xd9ݱ\xa9\xaaV\xfb\x13\x8f\x03\x00\x00\x00\x00\xb8Q\xda^\x1dH\xe2\a\x00\x00\x00\x00\xff\x01\x03\xd79\b\xa0\u007fq\xb3\xbb\x00\x00\x00\x00IEND\xaeB`\x82")

func main() {
        img, err := png.Decode(bytes.NewReader(pngimg))
        if err != nil {
                panic(err)
        }
        println(img.At(16, 15).(color.RGBA).R, img.At(16, 15).(color.RGBA).A)
        println(img.At(16, 16).(color.RGBA).R, img.At(16, 16).(color.RGBA).A)
}

What did you expect to see?
On console:
255 255
204 255

What did you see instead?
204 255
255 255

or
0 255
255 255

Note
This works correctly on any other browsers than iOS Safari, including desktop Safari.

CC @neelance

This seems like a bad WebAssembly implementation on iOS Safari. Which version of Safari is it?

The iOS version is 12.3.1, which is the latest. Safari version should follow the iOS version.

I can not reproduce it, because I do not own an iPhone. It would be really helpful if someone could get more details about what is going on.

@neelance It turns out that the this._inst.exports.mem.buffer
https://github.com/golang/go/blob/c468ad04177c422534ad1ed4547295935f84743d/misc/wasm/wasm_exec.js#L248
result in a different order when using safari mobile:
// safari mobile
[Log] runtime.wasmWrite:  – Uint8Array [50, 48, 52] (3) (wasm_exec.js, line 226)
Uint8Array [50, 48, 52]Uint8Array (3)
[Log] runtime.wasmWrite:  – Uint8Array [32] (1) (wasm_exec.js, line 226)
Uint8Array [32]Uint8Array (1)
[Log] runtime.wasmWrite:  – Uint8Array [50, 53, 53] (3) (wasm_exec.js, line 226)
Uint8Array [50, 53, 53]Uint8Array (3)
[Log] runtime.wasmWrite:  – Uint8Array [10] (1) (wasm_exec.js, line 226)
Uint8Array [10]Uint8Array (1)
[Log] 204 255 (wasm_exec.js, line 47)
[Log] runtime.wasmWrite:  – Uint8Array [50, 53, 53] (3) (wasm_exec.js, line 226)
Uint8Array [50, 53, 53]Uint8Array (3)
[Log] runtime.wasmWrite:  – Uint8Array [32] (1) (wasm_exec.js, line 226)
Uint8Array [32]Uint8Array (1)
[Log] runtime.wasmWrite:  – Uint8Array [50, 53, 53] (3) (wasm_exec.js, line 226)
Uint8Array [50, 53, 53]Uint8Array (3)
[Log] runtime.wasmWrite:  – Uint8Array [10] (1) (wasm_exec.js, line 226)
Uint8Array [10]Uint8Array (1)
[Log] 255 255 (wasm_exec.js, line 47)

// safari desktop
[Log] runtime.wasmWrite:  – Uint8Array [50, 53, 53] (3) (wasm_exec.js, line 226)
Uint8Array [50, 53, 53]Uint8Array (3)
[Log] runtime.wasmWrite:  – Uint8Array [32] (1) (wasm_exec.js, line 226)
Uint8Array [32]Uint8Array (1)
[Log] runtime.wasmWrite:  – Uint8Array [50, 53, 53] (3) (wasm_exec.js, line 226)
Uint8Array [50, 53, 53]Uint8Array (3)
[Log] runtime.wasmWrite:  – Uint8Array [10] (1) (wasm_exec.js, line 226)
Uint8Array [10]Uint8Array (1)
[Log] 255 255 (wasm_exec.js, line 47)
[Log] runtime.wasmWrite:  – Uint8Array [50, 48, 52] (3) (wasm_exec.js, line 226)
Uint8Array [50, 48, 52]Uint8Array (3)
[Log] runtime.wasmWrite:  – Uint8Array [32] (1) (wasm_exec.js, line 226)
Uint8Array [32]Uint8Array (1)
[Log] runtime.wasmWrite:  – Uint8Array [50, 53, 53] (3) (wasm_exec.js, line 226)
Uint8Array [50, 53, 53]Uint8Array (3)
[Log] runtime.wasmWrite:  – Uint8Array [10] (1) (wasm_exec.js, line 226)
Uint8Array [10]Uint8Array (1)
[Log] 204 255 (wasm_exec.js, line 47)

Is it because of this? Since safari mobile easily to have Unhandled Promise Rejection: Error: Out of memory:
https://github.com/golang/go/blob/c468ad04177c422534ad1ed4547295935f84743d/misc/wasm/wasm_exec.js#L117

IIUC wasmWrite is called for println and something strange happened before println.

I would like to understand if the issue is with println or with the values themselves. Is it possible to store the values to some variables and then use unsafe to get the memory addressees and jump to JS and print the wasm memory buffer at that pointer and check the values ?

I found this issue with WebGL (gl.texSubImage2d) by showing this image, so I believe this problem is with the value themselves.

I can reproduce the issue in iOS 12.4.1.
The issue does not seem to reproduce in iOS 13.
Perhaps they've fixed it in iOS 13?

Now I got an iOS 13 device (iPod touch), and I found there is still something wrong...
e.g. https://ebiten.org/examples/animation.html

I have not created a minimum case yet.

Yes, I have confirmed that this was fixed on iOS 13.1.3. Thank you!

Not related to this issue, but I found that Go/Wasm application (e.g. https://ebiten.org/examples/flappy.html) takes too much memory like 1.9GB and the tab is automatically reloaded soon on my iPod (7th generation, iOS 13.1.3).


Long run time on very large RNAseq data

Hey Pall,
I've got a very large RNAseq data set from one sample that contains about ~6 billion reads (paired, ~3B in each of R1/R2).  Kallisto completes just fine on it, but the fusions output file contains 48 million entries, and is 21GB in size.  (compare this to a "standard" RNAseq run on the same sample that has ~150M reads, with only 268k lines in the fusion output file)
When I run pizzly on this large dataset, it's churning away at 100% CPU, but after nearly 24h is still running.  Any tips for speeding up the process?
Alternately, if I know the transcripts that I expect to be fused (based on the smaller RNAseq data set), is there a straightforward way to extract the supporting reads from the fusions output file?  I could just grep for lines containing the known transcript pairings, but I worry that I'll be missing out on the additional filtering described in the pizzly paper.  Thanks!

Hi Chris
Even "very large" is an understatement. I haven't implemented multithreading because most datasets are much smaller than that, but that's on my list.
If you want to grep/awk for lines, you can do it on the fusion.txt file directly and then run pizzly on the grepped output. A simple grep -f txlist.txt should do it, pizzly will then read this file and apply all the appropriate filters.
Hope this helps


Confirmation: What will be the plasma config parameters for mainnet?

In this file maticjs-plasma/examples/config.js, what will be the plasma config for mainnet MATIC transactions?
Currently, mentioned in the config examples are:
  plasma: {
    parent: {
      erc20: '0x499d11e0b6eac7c0593d8fb292dcbbf815fb29ae',
      erc721: '0xfA08B72137eF907dEB3F202a60EfBc610D2f224b'
    },
    child: {
      erc20: '0xfe4f5145f6e09952a5ba9e956ed0c25e3fa4c7f1',
      erc721: '0x33FC58F12A56280503b04AC7911D1EceEBcE179c'
    },
    registryAddress: '0x56B082d0a590A7ce5d170402D6f7f88B58F71988',
    rootChainAddress: '0x82a72315E16cE224f28E1F1fB97856d3bF83f010', // The address for the main Plasma contract in  Ropsten testnet
    withdrawManagerAddress: '0x3cf9aD3395028a42EAfc949e2EC4588396b8A7D4', // An address for the WithdrawManager contract on Ropsten testnet
    depositManagerAddress: '0x3Bc6701cA1C32BBaC8D1ffA2294EE3444Ad93989' // An address for a DepositManager contract in Ropsten testnet
  },

I am doubtful if the same would work for mainnet v1, can someone please help with it?

no these are for testnet, but all are being handled internally. Just change the address for the token address.

Have deleted those unused address, you just have to focus on token address. So whatever token address you want to test on mainnet, just paste the address and everything should work.
Don't forget to change the network, version in PlasmaClient to mainnet, v1 respectively.


Cleaning up operator fun

Given some breaking changes in PRs #784 and #777 (comment), perhaps it is worth looking into the other instances of operator
https://github.com/mikepenz/FastAdapter/blob/40dbc20288b01639f8ab6ddedb121fcf0796dc04/library-core/src/main/java/com/mikepenz/fastadapter/IItemList.kt#L29-L31
For instance, list[pos, item] = preItemCount might not make sense here.
Same goes for:
https://github.com/mikepenz/FastAdapter/blob/43509d1667504e7c5fbcf9033ce4a1e7ad86d25a/library-core/src/main/java/com/mikepenz/fastadapter/adapters/ModelAdapter.kt#L176
https://github.com/mikepenz/FastAdapter/blob/43509d1667504e7c5fbcf9033ce4a1e7ad86d25a/library-core/src/main/java/com/mikepenz/fastadapter/adapters/ModelAdapter.kt#L190-L194

@AllanWang before merging those PRs I have reverted the removed operator use to not break the API.
We just launched v4 with a big amount of breaking changes and would like to stay API compatible now for a while again :)

Okay makes sense. Just wanted to remind you since I didn't see the commit within the PR. That's fine then

Thank you very much!

I think we might want to close the ticket and re-evaluate for v5 or v4.1
Opened a project for it: https://github.com/mikepenz/FastAdapter/projects/2


GEQDSK-reader does not read the correct contours

Suggested fix now pushed to branch iss159. It works fine for the ITER H26 data now, but one should perhaps check if the replacement of lines 45-50 with line 52 is correct for all cases (lines 45-50 lead to indexing errors). I can not seem to find any proper documentation about the generate_contour-function, but judging from the shapes of the output I have seen this does not give any syntax errors at least.

Is the branch iss159 ready for a pull request? If so, could you create the pull request and set me as reviewer?


Added newline to trigger a build. Do not merge

Entered newline to trigger a new build. Please do not merge

please test this

please test this

please put dont merge in the beginning, jenkins shows only first few chars in build requests..

please test this


LRP with address matcher not working after removing the service

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
Reproducing steps:

Apply an LRP with service matcher for a service.
Apply another LRP with address matcher for the same service, where the address is the cluster IP of the service. In the output of cilium lrp list, the latest applied LPR is not shown, which is expected as there's already an LRP for the front end.
Now, remove the service or add the label "service.kubernetes.io/headless" to the service, so Cilium would ignore the service.
Check the output of cilium lrp list again. The output would only include the first LRP applied, but matched nothing.

I consider this as a bug, since that after ignoring the service, the cluster IP exists while the matched service is deleted, so the second LRP should take effect (especially the CR still exists).
Cilium Version
cilium:v1.12.10-gke.25
Kernel Version
N/A
Kubernetes Version
1.27.4-gke.900
Sysdump
No response
Relevant log output
No response
Anything else?
No response
Code of Conduct

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

Related issue: #27754

Thanks for this report, would you be able to grab a sysdump file and upload it please so we can better debug the issue? (Using https://docs.cilium.io/en/stable/operations/troubleshooting/#automatic-log-state-collection)

Apply another LRP with address matcher for the same service

What's the real use case here? The two types of LRPs serve different purposes.


Error: Message size bigger than supported by PSM2 API in MPI_Allreduce

I encountered an error while running the following command: mpirun extract_forceconstants -rc2 7.0. The error message indicates that the message size is larger than what the PSM2 API can handle in an MPI_Allreduce operation. This results in MPI processes aborting, which cancels my job running on a cluster. I am trying to converge the cutoff value for the second order force constants for a system that has 328 atoms in the unit cell using 309 configurations from an MD trajectory in VASP. The calculations worked fine for the cutoffs of 5 and 6 Angstroms.
Screenshot:

Can you provide any recommendations for resolving this error when dealing with larger cutoff values?

Hi @NinaStrasser , can you add the full logfile?
I can only guess that you're trying to fit a gazillian force constants when your unit cell has 328 atoms and your cutoff is 7AA. Please try with -rc2 0 first, this will use the nearest neighbor distance. Maybe this will at least yield something.

One thing you can try is to use -nj2 instead of -rc2. If that helps you in any way we can talk about what that means. You will need larger numbers, always look for the number of force constants you get

I have 1118 force constants for 5AA and 1916 force constants for 6AA

Hi @flokno, I have now performed the calculations with different -nj2 settings, however, it did not resolve the issue.

The same error is reproduced, when I use -nj2 200 that results in 3489 second order force constants. I have also attached the log file.
fc2.log
Do you have any other suggestions?

Hi @NinaStrasser the actual number of force constants is the second number, i.e., 30750 in this output file. That is really quite a lot, much larger than what TDEP is designed for so to be honest I am suprised that you can push it this far in the first place. Also you would need way more samples to fit this properly, when you look for REPORT GRADE OF OVERDETERMINATION, that is just ~10. This should rather be in the hundreds.
May I ask what structure you are looking at? Why do you have 328 atoms in the unit cell? This is larger than I have seen people using for amorphous systems

Thanks for your explanation! Our group is mainly interested in metal-organic frameworks that often consist of hundreds of atoms in the primitive unit cell. However, in this particular case I wanted to simulate a rather complex Zn coordination polymer.

Hi @flokno! I have now updated the table with the actual numbers of force constants.

Here is the second table including the convergence tests of the realspace cutoff. I also included the overdetermination ratio.

Computations involving cutoffs of 6 AA and 6.5 AA will not result in the MPI error message, but did not finish within almost 24 h.


Refactor code and add arguments

Thanks for the really useful script! I made it possible to specify the various parameters directly on the command line and made the code a bit more readable. I also added requirements.txt and environment.yaml files to make it easy to install the dependencies.

@desilinguist line 46 throws this error when run with the --total option:
Traceback (most recent call last):
  File "/vaccine.py", line 85, in <module>
    main()
  File "/vaccine.py", line 47, in main
    max_time = time.time() + args.total_hours * 60 * 60
TypeError: unsupported operand type(s) for +: 'float' and 'str'

To fix this issue, cast the string as an int like so:

Thanks @nhenderson! It's simpler to just make total an int in its argparse declaration. It should work now.

Ah yes, type=int, in add.argument will work too :-) Thanks for fixing that!

LGTM! Thanks for your contribution. Will add some props to you on the medium article for the PR!


Snakemake workflow problem with symlinks and temp()

I just tried adding our forward primer to my config (there's no reverse in our read layout) and oddly enough it broke igdiscover's snakemake workflow at the rule dont_trim_reverse_primers.  Digging into it a bit it looks like the problem is using symbolic links in conjunction with the temp() feature.
The last bit of the output looks like:
[Fri Feb 28 17:14:08 2020]
rule dont_trim_reverse_primers:
    input: reads/3-forward-primer-trimmed.fastq.gz
    output: reads/4-trimmed.fastq.gz
    jobid: 107
    wildcards: ext=fastq
    resources: time=1

Job counts:
        count   jobs
        1       dont_trim_reverse_primers
        1
Removing temporary output file reads/3-forward-primer-trimmed.fastq.gz.
[Fri Feb 28 17:14:09 2020]
Finished job 107.
2 of 93 steps (2%) done
WorkflowError:
File reads/4-trimmed.fastq.gz seems to be a broken symlink.
Total CPU time: 0h 0.96m
ERROR:

Looking at the rules and inputs/outputs that apply:

trim_forward_primers: output: fastaq=temp('reads/3-')
dont_trim_reverse_primers: input: fastaq='reads/3-...'
dont_trim_reverse_primers: output: fastaq='reads/4-...' (symlinked to input)
trimmed_fasta_stats: input: fastagz='reads/4...'

When it finishes dont_trim_reverse_primers it considers the temp file done with and removes it, which breaks the symlink needed by the last rule.  It only seems to pick up on it when you have a rule that tries to then use that symlink, though.
This seemed like a weird situation so I made a minimal example with plain Snakemake to pin it down:
import os
import os.path

rule use_symlink:
    input: "link_to_a_file.txt"
    output: "link_stats.txt"
    shell: "stat {input} > {output}"

rule symlink_a_file:
    input: "a_file.txt"
    output: "link_to_a_file.txt"
    run:
        # igdiscover's relative symlink
        target = os.path.relpath(os.path.abspath(input[0]), start=os.path.dirname(output[0]))
        os.symlink(target, output[0])

rule make_a_file:
    output: temp("a_file.txt")
    shell: "touch {output}"

And this is what I see when calling snakemake:
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 56
Rules claiming more threads will be scaled down.
Job counts:
    count   jobs
    1       make_a_file
    1       symlink_a_file
    1       use_symlink
    3

[Fri Feb 28 17:08:23 2020]
rule make_a_file:
    output: a_file.txt
    jobid: 2

[Fri Feb 28 17:08:23 2020]
Finished job 2.
1 of 3 steps (33%) done

[Fri Feb 28 17:08:23 2020]
rule symlink_a_file:
    input: a_file.txt
    output: link_to_a_file.txt
    jobid: 1

Job counts:
    count   jobs
    1       symlink_a_file
    1
Removing temporary output file a_file.txt.
[Fri Feb 28 17:08:23 2020]
Finished job 1.
2 of 3 steps (67%) done
WorkflowError:
File link_to_a_file.txt seems to be a broken symlink.

This is with snakemake 5.9.1 and igdiscover 0.12.1.

Cool, thanks for the detailed report! I’m taking some time off at the moment, but will look into this (and try to fix it) as soon as I’m back.

Great!  No rush from my end.  I removed temp(...) on trim_forward_primers's output for now and it finished OK.

Thanks again for the good investigation! I’ve fixed the issue now by creating a hardlink instead of a symlink in the case that only forward_primers but no reverse_primers are specified. I wanted to keep the symlink in the "normal" case to make it clearer what the pipeline does. It’s more a work around than a real fix, but it should be good enough.

Thanks!


Image can be pulled by defining a version number

To use as a reference: https://github.com/buerokratt/Ruuter/issues/52#issuecomment-1176104338


"Visit the curriculum" nav element misaligned on forum

affected page: https://forum.freecodecamp.org/

it should look proper now.


Length rule doesn't accept

Versions:

VueJs: 2.4.2
Vee-Validate:2.0.0-rc.17

Description:
I have an input  field using the length rule, however when I input 4 numbers, it still does not pass.
 <input class="input" type="text" v-validate="'required|numeric|length:4'" name="building" :class="{'is-danger': errors.has('building')}" placeholder="Building" v-model="room.building" maxlength="4" size="8">

I get The building length must be 4. when writing "1234" in the field, which I should believe is 4 long.

Thanks for reporting the issue, I have identified the cause being not able to handle numeric values correctly, should be released with the next tag.
At the meantime you may want to override it with a custom rule that does the same for now.

I am already using this repo as a dependency, as the tsc strict mode fix isn't on npm 😄


Compatibility with Kibana v6.2.4

Hi, we are using Kibana v5.5.1 and compatible Vega v0.5.4. Recently we upgraded our dev system to Kibana v6.2.4. We tried to install latest Vega (v1.2.0) for it but it is restricting perhaps because latest Vega is supports till to Kibana v6.2.3.
Even though I tested our custom graph and it still works with Vega v0.5.4 and Kibana v6.2.4; I am wondering if you have any plan to release a compatible version for Kibana v6.2.4 recently. Also, if you can confirm there is backward compatibility of Vega version from Kibana - I mean if old Vega can be used with new Kibana? Thanks

Kibana 6.2 ships with most of the functionality of the plugin built-in, so if all your graphs work ok in 6.2 without the plugin, you should be ok.  The only exception is the "map mode" - showing data on top of an interactive (scrollable & zoomable) map.  I do plan to release newer features for 6.2, but not exactly sure about the schedule.


Feature Request: Numpad-based Virtual Desktop Switching

Description of the new feature / enhancement
I'm proposing a new feature for a more intuitive virtual desktop switching mechanism. Currently, Windows provides a linear method of transitioning between virtual desktops using CTRL + WIN + LEFT/RIGHT. While this is functional, it can be inefficient when users have several virtual desktops open.
Proposed Solution:
I suggest enabling users to switch to specific virtual desktops using the CTRL + ALT + NUMPAD combination, with the numpad number corresponding to the virtual desktop number. This would function in a hash-based manner:

CTRL + ALT + NUMPAD 1 => Virtual Desktop 1
CTRL + ALT + NUMPAD 2 => Virtual Desktop 2
... and so on.

Scenario when this would be used?
For example:

Desktop 7 can be allocated for browser interactions and querying GPT.
Desktop 2 as a coding hub.
Desktop 5 for entertainment.

This approach would provide direct access, making it easier to remember which desktop is used for which purpose.
Benefits:

Efficiency: Direct switching to the desired desktop without cycling through others.
Intuitiveness: Direct mappings allow users to associate certain activities or applications with specific desktop numbers.
Customization: This can potentially pave the way for other enhancements, such as custom numpad combinations for certain tasks or applications.

Supporting information
No response

/dup #19


Fix endless recursion while trying to localize non-string resources

Localizing non-string resources does not make a lot of sense: e.g. it will
yield something like "res/drawable-xxxhdpi/icon" instead of
"@drawable/icon", which would be perfectly okay. Apart from this, some APKs
cause the search for the proper "localized" non-string to run into an
endless recursion. This patch fixes this issue by only translating string
resources, and ignoring localization on everything else, effectively
yielding "@type/ref" format. This allows parsing the properly localized app
title from the manifest.

hi,
Localize "@drawable/icon" does make sense for some cases(Get the icon file from apk for example).
Would you please supply one apk file which cause endless recursion?

Here's an apk that shows the infinite recursion problem (Unzip the file to get the apk).
example.zip

Seems that the latest version 2.1.4 works well for this apk.


Add-contributing-guidance

As recently discussed in Discord: https://discord.com/channels/795785288994652170/1200021503002017872.
Would have saved a newbie a thread.

Thank you!


Trailing comma in args for function reports error

Version: jshint v2.9.4
Input source code
// trailing_comma.js
const found = [1, 2, 3].find(
  n => n === 3,
);

Configuration values
{ "esversion":6 }

Expected behavior
No error due to trailing comma in param list.
Actual behavior
trailing_comma.js: line 3, col 1, Unexpected ')'.
trailing_comma.js: line 3, col 1, Expected an identifier and instead saw ')'.
trailing_comma.js: line 3, col 2, Expected ')' and instead saw ';'.
trailing_comma.js: line 3, col 3, Missing semicolon.

4 errors

Changing it to
// trailing_comma.js
const found = [1, 2, 3].find(
  n => n === 3
);

does not report errors.

{ "esversion":6 }

Does not give you this:

No error due to trailing comma in param list.

Trailing comma in param list isn't in a published specification yet: https://github.com/tc39/proposals/blob/master/finished-proposals.md. ES2017 will be approved by the Ecma General Assembly later this month.

I've written tests for this, but I'll need more time to add support for trailing comma


Support Models deployed to Azure Open AI

It would be great if you could also support models deployed on Azure (or using Azure AI Studio) ... As an Azure developer working a lot with Microsoft tech stacks, this is where I consume / host my LLM's

hey @alexander-kastil we pushed a fix for this so selecting azure open ai should prompt you to include an endpoint. you can also set this in settings. lmk if it works :D


Update line-list-nigeria.csv

data should be in
data/line-list-nigeria.csv

data should be in
data/line-list-nigeria.csv

I think I made the change correctly now. I will delete this request.


add example:docker easy-container-with-healthcheck

Task 28 create a new container with healthcheck easy-container-with-healthcheck is done.

It has many bugs, solve them, test it again and then make a pull request.

It has many bugs, solve them, test it again and then make a pull request.
Could you please explain the bugs? They are not clear for me. Thanks


Remove netcdf pin, and iris-grib dependency.

Latest netcdf should now be ok, since we now have cf_units 2.0 (see earlier comment saying that ).
Iris-grib should not be counted as a dependency; it is a strictly optional extra.

It turns out we need https://github.com/SciTools/iris/pull/3016 to make this work :wink:

Done in #35


spacing in align environment 3rd column is incorrect for minus sign

Issue Summary
4-column align environment has columnalign right left right left
\begin{aligned}
-L&=A E+C F&-M&=A F+C G\\
-M&=B E+D F&-N&=B F+D G .
\end{aligned}

For LaTeX in the third column, there is little space after negative signFor MathJax in the third column, there is normal space after negative sign

I notice <mi></mi> prepended by MathJax

Technical details:

MathJax Version: 3.2

The <mi></mi> is being added too aggressively.  I will make a PR to fix the problem.  In the meantime, you could use {-}M and {-}N instead to prevent the extra spacing.

OK, the previous commit and PR are now the correct ones.


🐛 [firebase_core] initializeApp hangs on iOS with hot restart

Bug report
The Firebase.initializeApp() call hangs on iOS when hot restarted on the iPhone simulator. Our app, which uses secondary Firebase apps, hangs all the time on hot restart after the recent upgrade. We have recreated the issue using a new Flutter project which only sometimes hangs.
This could be related to #3602 which is similar but is explicitly for Android. We are currently not testing on Android.
Steps to reproduce

Create a new Flutter app flutter create test
In pubspec.yaml add dependecies:

dependencies:
  firebase_core: ^0.5.0
  cloud_firestore: ^0.14.1
  firebase_auth: ^0.18.1
  flutter:
    sdk: flutter

Add a valid GoogleService-Info.plist
We also added the the pre-compiled Firestore iOS SDK to our Podfile for faster builds
Change main.dart main program to:

void main() async {
  WidgetsFlutterBinding.ensureInitialized();

  print("Init Firebase");
  try {
    await Firebase.initializeApp();
  } catch (ex) {
    print("Init fail $ex");
  }
  print("Completed Init Firebase");

  runApp(MyApp());
}

Note that the above is the only Firebase call that we add to the demo app.

Run the app, then do hot restarts - on this simple demo app it may take several restarts before it hangs.

Expected behavior
We expect every hot restart to result in a responsive app and also print
Performing hot restart...
Syncing files to device iPhone 11...
Restarted application in 591ms.
flutter: Init Firebase
flutter: Completed Init Firebase

But after several hot restarts the call to initializeApp() does not complete causing the last line above to not print and the app becoming non-responsive. On this demo app you have a chance of another hot restart correctly work. Our app always hangs on iOS but the same code works on the Web.
There is no exception and nothing is displayed in any log - just hangs.

Flutter doctor
Click To Expand
[✓] Flutter (Channel beta, 1.22.0, on Mac OS X 10.15.6 19G2021, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.0)
[✓] IntelliJ IDEA Ultimate Edition (version 2020.2.2)
[✓] Connected device (3 available)

• No issues found!

Flutter dependencies
Click To Expand
Dart SDK 2.10.0
Flutter SDK 1.22.0
test_fbios 1.0.0+1

dependencies:
- cloud_firestore 0.14.1+2 [flutter meta quiver firebase_core firebase_core_platform_interface cloud_firestore_platform_interface cloud_firestore_web]
- cupertino_icons 1.0.0
- firebase_auth 0.18.1+1 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]
- firebase_core 0.5.0 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.5.0-nullsafety.1 [collection]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- clock 1.1.0-nullsafety.1
- cloud_firestore_platform_interface 2.1.1 [flutter meta collection firebase_core plugin_platform_interface]
- cloud_firestore_web 0.2.0+3 [flutter flutter_web_plugins firebase http_parser meta firebase_core cloud_firestore_platform_interface js]
- collection 1.15.0-nullsafety.3
- fake_async 1.2.0-nullsafety.1 [clock collection]
- firebase 7.3.0 [http http_parser js]
- firebase_auth_platform_interface 2.1.0 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.1 [flutter flutter_web_plugins firebase meta http_parser intl firebase_core firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- http 0.12.2 [http_parser path pedantic]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- intl 0.16.1 [path]
- js 0.6.2
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- path 1.8.0-nullsafety.1
- pedantic 1.9.2 [meta]
- plugin_platform_interface 1.0.3 [meta]
- quiver 2.1.3 [matcher meta]
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0-nullsafety.3 [collection]
- vector_math 2.1.0-nullsafety.3Dart SDK 2.10.0
Flutter SDK 1.22.0
test_fbios 1.0.0+1

dependencies:
- cloud_firestore 0.14.1+2 [flutter meta quiver firebase_core firebase_core_platform_interface cloud_firestore_platform_interface cloud_firestore_web]
- cupertino_icons 1.0.0
- firebase_auth 0.18.1+1 [meta firebase_core firebase_core_platform_interface firebase_auth_platform_interface firebase_auth_web flutter]
- firebase_core 0.5.0 [firebase_core_platform_interface flutter quiver meta firebase_core_web]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.5.0-nullsafety.1 [collection]
- boolean_selector 2.1.0-nullsafety.1 [source_span string_scanner]
- characters 1.1.0-nullsafety.3
- charcode 1.2.0-nullsafety.1
- clock 1.1.0-nullsafety.1
- cloud_firestore_platform_interface 2.1.1 [flutter meta collection firebase_core plugin_platform_interface]
- cloud_firestore_web 0.2.0+3 [flutter flutter_web_plugins firebase http_parser meta firebase_core cloud_firestore_platform_interface js]
- collection 1.15.0-nullsafety.3
- fake_async 1.2.0-nullsafety.1 [clock collection]
- firebase 7.3.0 [http http_parser js]
- firebase_auth_platform_interface 2.1.0 [flutter meta firebase_core plugin_platform_interface]
- firebase_auth_web 0.3.1 [flutter flutter_web_plugins firebase meta http_parser intl firebase_core firebase_auth_platform_interface js]
- firebase_core_platform_interface 2.0.0 [flutter meta plugin_platform_interface quiver]
- firebase_core_web 0.2.0 [firebase firebase_core_platform_interface flutter flutter_web_plugins meta js]
- flutter_web_plugins 0.0.0 [flutter characters collection meta typed_data vector_math]
- http 0.12.2 [http_parser path pedantic]
- http_parser 3.1.4 [charcode collection source_span string_scanner typed_data]
- intl 0.16.1 [path]
- js 0.6.2
- matcher 0.12.10-nullsafety.1 [stack_trace]
- meta 1.3.0-nullsafety.3
- path 1.8.0-nullsafety.1
- pedantic 1.9.2 [meta]
- plugin_platform_interface 1.0.3 [meta]
- quiver 2.1.3 [matcher meta]
- sky_engine 0.0.99
- source_span 1.8.0-nullsafety.2 [charcode collection path term_glyph]
- stack_trace 1.10.0-nullsafety.1 [path]
- stream_channel 2.1.0-nullsafety.1 [async]
- string_scanner 1.1.0-nullsafety.1 [charcode source_span]
- term_glyph 1.2.0-nullsafety.1
- test_api 0.2.19-nullsafety.2 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0-nullsafety.3 [collection]
- vector_math 2.1.0-nullsafety.3

Hi @rich-j.
Can you attempt to run flutter clean to see if this fixes any initial issues.

Hi @rich-j
Can't reproduce after 30-40 hot restarts on XR
flutter: {date: Timestamp(seconds=1600429568, nanoseconds=464000000), name: test book 001}
flutter: {title: John Wick, author: John Wick}
flutter: 2
Restarted application in 518ms.
flutter: Init Firebase
flutter: Completed Init Firebase
flutter: {date: Timestamp(seconds=1600429568, nanoseconds=464000000), name: test book 001}
flutter: {title: John Wick, author: John Wick}
flutter: 2
Restarted application in 530ms.
flutter: Init Firebase
flutter: Completed Init Firebase
Restarted application in 467ms.
flutter: Init Firebase
flutter: Completed Init Firebase
Restarted application in 503ms.
flutter: Init Firebase
flutter: Completed Init Firebase
Restarted application in 505ms.
flutter: Init Firebase
flutter: Completed Init Firebase
flutter: {date: Timestamp(seconds=1600429568, nanoseconds=464000000), name: test book 001}
flutter: {title: John Wick, author: John Wick}
flutter: 2
Restarted application in 500ms.
flutter: Init Firebase
flutter: Completed Init Firebase
flutter: {date: Timestamp(seconds=1600429568, nanoseconds=464000000), name: test book 001}
flutter: {title: John Wick, author: John Wick}
flutter: 2
Restarted application in 515ms.
flutter: Init Firebase
flutter: Completed Init Firebase
flutter: {date: Timestamp(seconds=1600429568, nanoseconds=464000000), name: test book 001}
flutter: {title: John Wick, author: John Wick}
flutter: 2

dependencies:
  flutter:
    sdk: flutter
  # The following adds the Cupertino Icons font to your application.
  # Use with the CupertinoIcons class for iOS style icons.
  cupertino_icons: ^0.1.3
  firebase_core: ^0.5.0
  cloud_firestore: ^0.14.1
  firebase_auth: ^0.18.1

flutter doctor -v
[✓] Flutter (Channel beta, 1.22.0, on Mac OS X 10.15.7 19H2, locale en-GB)
    • Flutter version 1.22.0 at /Users/tahatesser/Code/flutter_beta
    • Framework revision d408d302e2 (3 days ago), 2020-09-29 11:49:17 -0700
    • Engine revision 5babba6c4d
    • Dart version 2.10.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.2
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 12.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 50.0.1
    • Dart plugin version 193.7547
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.49.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.15.0

[✓] Connected device (4 available)
    • Taha’s iPhone (mobile)       • 00008020-001059882212002E            • ios
      • iOS 14.0.1
    • iPad Pro (9.7-inch) (mobile) • 1BC774A9-7D56-4F62-A12F-B73CAEFB3E4F • ios
      • com.apple.CoreSimulator.SimRuntime.iOS-14-0 (simulator)
    • Web Server (web)             • web-server                           •
      web-javascript • Flutter Tools
    • Chrome (web)                 • chrome                               •
      web-javascript • Google Chrome 85.0.4183.121

• No issues found!

@dackers86 here's a run from the command line that ends with the second hot restart hanging...
xx@xx test_fbios % flutter clean
Cleaning Xcode workspace...                                         4.9s
Deleting build...                                                   96ms
Deleting .dart_tool...                                               4ms
Deleting Generated.xcconfig...                                       0ms
Deleting flutter_export_environment.sh...                            0ms
Deleting App.framework...                                            2ms
Deleting .flutter-plugins-dependencies...                            0ms
Deleting .flutter-plugins...                                         0ms
xx@xx test_fbios % flutter run
Multiple devices found:
xx iPhone Xs (mobile) • 00XXXXXXX-000XXXXXXXXXXXXX            • ios            • iOS 14.0
iPhone 11 (mobile)        • 51A90D18-9743-454D-ABFE-CDC7F28FD967 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-0
(simulator)
Web Server (web)          • web-server                           • web-javascript • Flutter Tools
Chrome (web)              • chrome                               • web-javascript • Google Chrome 85.0.4183.121
[0]: xx iPhone Xs (00XXXXXXX-000XXXXXXXXXXXXX)
[1]: iPhone 11 (51A90D18-9743-454D-ABFE-CDC7F28FD967)
[2]: Web Server (web-server)
[3]: Chrome (chrome)
Please choose one (To quit, press "q/Q"): 1
Running "flutter pub get" in test_fbios...                          0.5s
Launching lib/main.dart on iPhone 11 in debug mode...

Running pod install...                                              5.4s
Running Xcode build...
 └─Compiling, linking and signing...                        14.8s
Xcode build done.                                           44.6s
Waiting for iPhone 11 to report its views...                         5ms
flutter: Init Firebase
flutter: Completed Init Firebase
Syncing files to device iPhone 11...                               368ms

Flutter run key commands.
r Hot reload. 🔥🔥🔥
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on iPhone 11 is available at: http://<IP_ADDRESS>:51906/hD0l3iLkGWE=/

Performing hot restart...
Restarted application in 621ms.
flutter: Init Firebase
flutter: Completed Init Firebase

Performing hot restart...
Restarted application in 611ms.
flutter: Init Firebase

...hung - had to <ctrl-C>

Hi @rich-j.
Certainly seems a strange issue. Can you confirm which environments this works in.
For example, does the issue persists across

iOS
Android
Web (If configured?)

Can you also confirm what version of XCode you are using?

@dackers86  We develop on Macs using IntelliJ IDEA 2020.2.3 and Xcode 12.0.1 (12A7300). Dart/Flutter/Firebase versions are in the original issue. Our project has been working for over a year and encountered this issue when we updated to the recent FlutterFire. We first used the migration path. When the migration had issues, I removed all Firebase references and did a clean install as for a "new" project. When the clean install on our project had issues, I created the above minimum example.
The same code works on the web. We aren't currently testing on Android. I can only confirm that iOS shows this issue on our 2 development machines. One thought - this issue would suggest a problem with low-level asynchronous synchronization. We have a (very reliable) DSL connection with 20Mb down / 2Mb up so we definitely have different timing from developers with high-speed connections.

hi @rich-j
I am currently unable to reproduce this issue.
Can you confirm how you are running the application through Intelli-J, is through flutter run in a terminal?
Additionally, I noticed that you use a pre compiled version of Firestore iOS SDK. Have you attempted to run without a pre compiled version?
Result are below

I think this is related to my issue (posted on the flutter github before I saw it was related to Firebase).
But mine is in Android: https://github.com/flutter/flutter/issues/71073

After updating to firebase_core: ^0.7.0 we no longer hang on hot restart.

After updating to firebase_core: ^0.7.0 we no longer hang on hot restart.


Fix concept mapping issues

See TODOs in code. Depends on https://github.com/concepticon/concepticon-data/issues/664.

(This is also the reason for the decrease in concepts from 366 to 361, the mapping of fly/fly and the double entries for sleep, drink, eat, and come.)

Done in https://github.com/concepticon/concepticon-data/pull/668.


footer width corrected

Pull Request Checklist
fixes #1404
Before

After

Video
https://github.com/user-attachments/assets/10ac379a-e972-493d-add5-4243e92b75b8

[x] I have added screenshots and videos to show before and after the working of my code.
[x] I have ensured that the screen size is set to 100% while making the video.
[x] I have synced the latest fork with my local repository and resolved any conflicts.
[x] I have mentioned the issue number which I created before making this PR .(format to mention issue number is : fixes #(1404) )
[x] I understand that if any the above conditions are not met , my PR will not be MERGED .

Please merge this request @ANSHIKA-26

you wrote PR number , kindly mention issue number

Issue no. #1404


Reservation of crate name bevy_python

@cart I am starting to look into how one or more RustPython VMs could be integrated into a Bevy game. Could you reserve the crate name bevy_python?

Reserved. Sorry for the massive delay!


Windows: Can't rename

Not sure if I'm doing something wrong but attempting to use this tool on a second drive in windows, in this case D:, doesn't appear to work properly.
Output directory could not be created: Error: ENOENT: no such file or directory, mkdir 'C:\Users\newt\AppData\Local\Programs\meta-grabber\D\media\show\season xx'
This happens with both a specific output dir on the 2nd drive, and blank to leave the files as is
I moved the tool to D: and got the same error with the path starting with the new location of the files.
so this might be an issue with the windows version itself, I was unable to test when both the program and video files are on the same drive however

Hey there, thanks for using Meta Grabber!
Some questions to better understand you situation:

Did you do anything (e.g. try to move it) to Meta Grabber after installing it?
The files you are trying to rename are located on D:\, correct?
Is the output directory located on D:\ as well?

I'm using Meta Grabber on macOS and most of the time I'm renaming files on a NAS mounted as a drive (both the files and output dir are on the NAS) which is working perfectly. What Meta Grabber can't do at this point is physically moving files from one drive to another.
Cheers

My main drive is too small to move the media, but I did copy meta
grabber over to my second drive and had basically the same issue.
The files are on D:\ and I tried the output directory set to
the default, and to a specific directory on D:\ both fail with
the same issue
The file path appears to be appending the correct directory (or close
to it) to the directory of the tool itself, hence the
C:\blah\metagrabber\d\media where it should be D:\media
if only windows was more like every other os so we didn't need to deal
with drive labels and using the escape slash in file paths :p

Meta Grabber doesn't have to be installed on the same drive as your files. It only can't move files from one drive to another.
The behaviour you are describing might be a problem with how Meta Grabber handles output directory paths. I'll look into it and try to reproduce it.

@SirFireNewt Should be fixed in version 0.1.9. Let me know if it works for you.

Can confirm it works properly now, thanks for the quick fix


Change from "controllers" to "consumers"

Currently the patterns used in this plugin suggests sticking Kafka consumers in Adonis Controllers, which are typically for web requests, for better code separation, it'd be preferable to use a consumers directory
So, app/controllers/kafka/webhooks_controller becomes app/consumers/webhooks, as an example.
I think this would only require minimal changes to implement and give a clearer separation of concerns.

Additionally we can then do something like the @adonisjs/core/services/router package for registering consumers, like:
import consumers from '@neighbourhoodie/adonis-kafka/services/consumers'

const WebhookConsumer = () => import('#consumers/webhook_consumer')
const DownloadConsumer = () => import('#consumers/download_consumer')

consumers.group({ groupId: "webhook-service" })
  .subscribe({ topic: 'messages' }, [WebhooksConsumer, 'handleWebhook'])
  .subscribe({ topics: [ 'downloads' ] }, [DownloadsConsumer, 'handleDownload'])
  .subscribe({ topics: [ 'downloads-retry' ] }, [DownloadsConsumer, 'handleDownloadRetry'])

consumers.start()

We could also remove the need for consumers.start() by hooking into Service Provider's start() hook
i.e., on server start, we automatically start the consumers that are registered (kinda like how you don't need to do a router.listen(port) or something for HTTP).


Prefer cross-fetch over node-fetch

All the other code uses cross-fetch and the loader used a pinned version of node-fetch instead.

:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

This looks like a very good cleanup to me 👍 I don't know if there where any reasons for using node-fetch over cross-fetch.

Where does the vale check come from 🤔. I didn't touch these files

Meh, Vale is angry through no fault of your own, fixing here https://github.com/backstage/backstage/pull/8128

Feel free to rebase on that branch now, or do the corresponding fix in your PR if you're up for it, to get unblocked faster

oh no I used an invalid branch for this... I wonder how that happened...


Current barriers to run on iOS?

@jdpigeon What are the current barriers to making this run on iOS?
Are the android and iOS folders in EEG101 still necessary with React-Native?
Does the project still build/run on Android as described in the Readme?

Interaxon (the manufactures of Muse) are no longer making the SDK publicly available.
https://choosemuse.com/development/


Development

Coverage increased (+2.4%) to 39.205% when pulling d68bf9beb130604180c1b105e51fcf59ffc20592 on development into 9814a5efc6242caaf1d5975f954cd5ee4ed04cb2 on master.


[db-up] Set the max CLI core version as 2.0.66

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/limingu/azure-cli-extensions.git@dbup#subdirectory=src/$EXT&egg=$EXT"


Enable multiple options for chunking text

It would be ideal to enable the user to convert the current draft files from "one chapter per cell" to "one verse per cell", "interlinear", "one pericope per cell", "one book per cell", etc.
We need to test what the performance implications are for any given chunking mode (not to be confused with audio/obs/text modes).

Recursive text splitter


Image upload and retrieval

In this pull request, I:

create a Note class
create servlets to store and retrieve images that users upload using Blobstore and Datastore
create servlet that deletes images using their entity key

Everything looks good with me!

I already added a .gitignore file, so no worries


LuaCacheProfile command errors if config is reloaded

Hi,
When reloading my config file I've noticed that having
require('impatient').enable_profile()

in my init.lua causes an error if I reload this file because the LuaCacheProfile command is missing a bang allowing it be redefined.
Error executing lua .../site/pack/packer/start/impatient.nvim/lua/impatient.lua:44: Vim(command):E174: Command already exists: add ! to replace it: LuaCacheProfile lua _G.__luacache.print_profile()

PR's welcome 😉

Sorry was at work when I noticed this otherwise I would have just sent a PR instead, can't really do open source work on my work machine.

Thanks 🚀


#12 Fix extract torchvision version

Fixing the bug reported in #12
When running with torchvision >= 0.10.0, the code to extract the version by extracting just the first 3 characters is wrong.

Hi @nguyenhoan1988
Thanks a lot for your contribution.
However, I pushed a different fix that gets rid of the torchvision version check entirely (since it has proved brittle), hence this patch is not needed anymore.
At the moment I'm closing this, but feel free to reopen if you think I missed something.


Pull the response body so we can log it if there's an error

Signed-off-by: Johnathan Bell<EMAIL_ADDRESS>Added response body logging for better diagnosis of issues.  Based on v0.1.0 tag

Seems like a reasonable addition.

I think it could be helpful to have response body as an optional field to print to logs, but it would be too much if we are unable to turn it off.  Would you like to make that fix and rebase on master @jbell-shibumi?

Let me see what i can do @nckturner -- I'm not that familiar with golang...

Closing due to inactivity.  Feel free to reopen or open new PR with the issues addressed.


⚠ Jenkins Plugins Artifactory has degraded performance

In 55e154b, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1159 ms

Resolved: Jenkins Plugins Artifactory performance has improved in 8df7fa7 after 27 minutes.


Enabling Clients perform parallel uploads and to upload non-contiguous chunks.

I'm using tus lib with fileserver backend. I want to have the parallel upload feature to enable clients upload chunks in parallel.

Clients like tus-js-client support uploading chunks of a single file in parallel. Have a look at its parallelUploads option: https://github.com/tus/tus-js-client/blob/main/docs/api.md#paralleluploads

Clients like tus-js-client support uploading chunks of a single file in parallel. Have a look at its parallelUploads option: https://github.com/tus/tus-js-client/blob/main/docs/api.md#paralleluploads

Do you know how to config server to support uploading file in parallel? I knew that if the server does not support this feature, client can not upload a file in parallel.

tusd supports this out-of-the-box for file-based storage and S3 storage without any additional configuration necessary. It is not supported on GCS or Azure Storage yet.

@Acconut
I have added some code for uprading our tus upload from v1.9 to v2.0.
in backend, using this:
tusd "github.com/tus/tusd/v2/pkg/handler"

in client, adding this to js client: arallelUploads: 5
   var defaultOptions = {
      endpoint: "",
      fingerprint: _fingerprint2.default,
      resume: true,
      onProgress: null,
      onChunkComplete: null,
      onSuccess: null,
      onError: null,
      headers: {},
      chunkSize: Infinity,
      withCredentials: false,
      uploadUrl: null,
      uploadSize: null,
      overridePatchMethod: false,
      retryDelays: null,
      parallelUploads: 5
    };```

Then, try to upload a file (about 3Gb), it shows about 10 seconds slower than non-parallel uploading.  Can you give me soe hints on this? Should we keep working with parallel uploading?

Thanks

Parallel uploads are not guaranteed to make uploads faster as multiple requests then have to share the connection. A single HTTP request is usually able to fully utilize the available network throughput and adding more requests won't increase the available throughput. Plus, the server must concatenate the uploads together, which also takes times. In production, we also don't use parallel uploads for those exact reasons.
I recommend you to benchmark the uploads with and without parallel uploads. If you don't get a benefit from it, you should disable it.

I got your poin
Thank you


Implementing poetry support

Poetry is a great tool for handling both, python versioning and dependancy management. I believe that such a good project as rift can benefit from adopting the usage of poetry compared to pip.

Thanks for the suggestion! Implemented and merged in #6.


Ensure annotations work on tests that use dataProviders

By default $test->getName() appends the name of the data set (e.g. "testInterceptsWithAnnotationsWhenUsingDataProvider with data set #0"). This means that the reflection to get the doc block doesn't work.

Great. I've made the boolean lowercase and added another entry to the dataProvider's array. All seems to be well.

It looks good. Thanks @alnorth!
Have a nice weekend!


[Feature Request]: To add lc-198 solution.

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
I want to add leetcode question 198.
Use Case
I want to add leetcode question 198.
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@maradadivyasree020 you can anly open 4 issue


Hash mismatch while downloading Nuget.exe

There is the error:

Mismatching hash of the downloaded nuget
所在位置 C:\Users\jcx\vcpkg\scripts\fetchDependency.ps1:214 字符: 14
+         throw <<<<  [System.IO.FileNotFoundException] ("Mismatching hash of t
he downloaded " + $Dependency)
    + CategoryInfo          : OperationStopped: (:) [], FileNotFoundException
    + FullyQualifiedErrorId : Mismatching hash of the downloaded nuget

you need to give us more information so we can help

Hi @yangwuan55,
It looks like the hash of the file we downloaded from [1] does not match what we expected [2].
The first thing to try would be to download the file yourself from that website and replace the version in downloads\nuget-3.5.0\nuget.exe, then re-run bootstrap. Let us know if you still have issues!
[1] https://dist.nuget.org/win-x86-commandline/v3.5.0/nuget.exe
[2] 399ec24c26ed54d6887cde61994bb3d1cada7956c1b19ff880f06f060c039918

Thanks!


feat: add pg for db adapter

Resolved: https://github.com/casbin/casdoor/issues/45
Deployed at: https://door.chromium.link/
This demo uses postgresql.

@kuchaguangjie plz review.

After pulling newest code on master branch, and change conf/app.conf, set dataSourceName to:

dataSourceName = "user=postgres password=xxx host=<IP_ADDRESS> port=5432 dbname=casdoor sslmode=disable"

Then start, would get error:

panic: invalid DSN: missing the slash separating the database name
goroutine 1 [running]:
github.com/casdoor/casdoor/object.(*Adapter).open(0xc0004596b0)
/mnt/star/git_repository/casdoor/object/adapter.go:86 +0x1a5
github.com/casdoor/casdoor/object.NewAdapter(0xc00013cd36, 0x5, 0xc00010e180, 0x55, 0x55)
/mnt/star/git_repository/casdoor/object/adapter.go:64 +0x7d
github.com/casdoor/casdoor/object.InitAdapter()
/mnt/star/git_repository/casdoor/object/adapter.go:39 +0xab
main.main()
/mnt/star/git_repository/casdoor/main.go:29 +0x26
exit status 2

So, what is the expected dataSourceName for pg ?

@kuchaguangjie
In app.conf, set: db = postgres,  dataSourceName = "user=postgres password=xxx host=<IP_ADDRESS> port=5432 sslmode=disable dbname=", and set dbName to casdoor.
In object/adapter.go: enable line 23
Since postgres has some differences from other DBs in xorm, we can't automatically create a database in Go code. This means that you should create a database for Casdoor manually before starting it.

dataSourceName is Xorm's driverName, see Xorm docs for possible values: https://gobook.io/read/gitea.com/xorm/manual-en-US/chapter-01/2.engine_group.html
You can use postgres for it.
@Kininaru we need to document this in README.

@hsluoyz Got that. I'll make a pull request about this later today.
@kuchaguangjie This is my app.conf. I'm using postgres now, and it works well. Hope it'll help you.
appname = casdoor
httpport = 8000
runmode = dev
SessionOn = true
copyrequestbody = true
db = postgres
dataSourceName = "user=postgres password=xxx sslmode=disable dbname="
dbName = casdoor
AuthState = "casdoor"
UseProxy = false
EnableDocs = true

@Kininaru  According to your configuration, it works for pg now, thank you.

@Kininaru plz put this into README: https://github.com/casbin/casdoor#config
Provide MySQL and PG examples.

Probably it's worth mention that:

inside dataSourceName, dbname= must be put at end.
Exactly one of dataSourceName's dbname= and dbName should be provided, the other should be left empty.

Since, seems for pg, the code append dbName's value to dataSourceName.
e.g:
This will work:

dataSourceName = "user=postgres password=123456 sslmode=disable timezone=Asia/Shanghai dbname="
dbName = casdoor

This will work too:

dataSourceName = "user=postgres password=123456 sslmode=disable timezone=Asia/Shanghai dbname=casdoor"
dbName =

This will get error:

dataSourceName = "user=postgres password=123456 sslmode=disable dbname= timezone=Asia/Shanghai"

This will get error too:

dataSourceName = "user=postgres password=123456 sslmode=disable timezone=Asia/Shanghai dbname=casdoor"
dbName = casdoor

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


SOCKET: Chat Proposal

Currently we have a single socket event for detecting chat messages, "chat_message_with_name" and another for sending messages "chat_message".
As it stands the payload for "chat_message" (send) is a "message", "robot_name", "robot_id" and "secret". In order for the message to show correctly cross clients, the message has to include the robot name in square brackets. The user information is processed on the server side (following prior security issues).
The payload for "chat_message_with_name" (receive) contains information such as "name" and "message", but depending on the type of message can also contain information such as "anonymous" and "username_color".
From a client's perspective, chat messages also need to be loaded from the /internal endpoint as a chat history mechanism. This payload is again slightly different, using "username" (instead of "name") and adding a "time_string".
The inconsistencies and edge cases make chat very difficult to process at times. A prime example being where the profanity filter will totally clear out the "message" value, which (as previously mentioned) contains the robot name. This means messages come through with just a name.
The iOS app takes advantage of the square brackets around the robot names to detect the difference between system messages and user messages (which are handled different; for things such as links and text formatting). The instance where the robot name doesn't come through, causes issues with this logic.
My proposal comes in two stages:

First off the different sources of chat messages all need to be consistent, the /internal endpoint is used for chat history so needs the same data structure and information as the socket payload.
The payload should be changed to have a few bits of consistent information but then extra information based on the type of message. Examples are below:

type - A string value which specifies the type of message ("user", "system", "woot", "subscriber")
fallback - A long string value which is the default fallback for all message types. This should be used by the client when they don't do custom handling on the item type. It should be a user-friendly string detailing the message. The justification behind this is for scalability and future proofing; if we want to add a new item type then we need to handle the situations where clients don't immediately update.
time - A number value which is the epoch time interval of when the message was sent.
Type Specific:
"user" message type should contain: "user", "robot_name", "robot_id", "message"
"woot" message type should contain: "user", "recipient", "amount"
"timeout"/"block" message type should contain: "user", "duration", "room" (global/owner)
Where there is a value "user", this will be a node rather than a specific value. It should contain further information such as "anonymous", "username_colour", "name", "rank" (where rank is "staff", "moderator", "subscriber", etc)
This isn't an exhaustive list of message types and values, but more the proposal of providing informations to the clients and letting them decide how to display it using message types and dynamic values.
The "chat_message" (send) socket payload will likely need adjusting to provide certain bits of new information. Though 99% of the time, that will only ever be used for user messages, and a lot of the information can be inferred.

@runmyrobot (Theo) write up of our discussion


add order_profiles to services

add order_profiles to services
addresses issue #600

To Do:

[ ] add logic to services controller to pull order_profiles (stubbed currently)
[ ] figure out timestamp conversion

:+1:


Removing CONFIG_PINCTRL=y from the nxp boards

This PR is meant to fix 78619 for the NXP Boards

@nordicjm
Hey, it seems that this PR may be ready but as you point out here I should move the Board's Enablement of PINCTRL from
*_defconfig to the Boards Kconfig, this seems to break Check Compliance. Otherwise Check Compliance will pass.
What do think on the matter?
Also please let me know if I should make any additional changes.

@EmilioCBen please address CI failures.
Also "meant to fix" should be "fixes #"

@EmilioCBen please address CI failures.
Also "meant to fix" should be "fixes #"

Updated

@nordicjm
Thank you for the help on this,
I believed I addressed your comments would you mind taking another look


It is not possible to subscribe to Microsoft Technical Security Notifications with a Microsoft Business account

Describe the bug
I want to subscribe to the security update email notifications using my Azure account. When I sign in with my Azure business account, I get a message that I cannot sign in with a business account. If I sign in with my personal (live.com) account and subscribe to the security notification, it works fine.
To Reproduce
Steps to reproduce the behavior:

Go to https://www.microsoft.com/en-us/msrc/technical-security-notifications
Click on 'Please visit Security Notification Service to subscribe.'
Login with a microsoft business account
See error

Expected behavior
It should be possible to subscribe to security advisories with a Microsoft Business account, as this is highly recommended for the daily work of an administrator

@PRMerger6 can you raise the priority? The security notification is absolutely essential so that we receive the update and security advisory in a timely manner.

@PRMerger6 can you raise the priority? The security notification is absolutely essential so that we receive the update and security advisory in a timely manner.


Added writeValueObject.

cc: @staabm
needs tests

Thx for picking it up. I like the pace we iterate on this lib. Thx for doing such a great job :100:

Thanks for all the web points!


Single select mode throws exception when setup with initial values

The select2('data') method was called on an element that is not using Select2.
Line 61 of knockout-select2.js should check if select2 is setup before processing select2 data.

fixed with 6065cb23d9b43beb04ed8fe9654fb8561e4ad263