[0.63-rc.0] [Android] Could not find Native Module for JSDevSupport

Description
Enabling debug mode on android for a new project shows the following error. See screenshot below.
React Native version:
System:
OS: macOS 10.15.3
CPU: (12) x64 Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz
Memory: 158.79 MB / 16.00 GB
Shell: 5.0.11 - /usr/local/bin/bash
Binaries:
Node: 13.0.1
npm: 6.12.0
Watchman: 4.9.0
SDK:
Android SDK:
API Levels: 23, 25, 26, 27, 28, 29
Build Tools: 28.0.3, 29.0.2, 29.0.3
Languages:
Java: 1.8.0_222
Python: 2.7.16
npmPackages:
react: 16.13.1 => 16.13.1
react-native: 0.63.0-rc.0 => 0.63.0-rc.0
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.

npx react-native init RN063 --version 0.63.0-rc.0
2.react-native start and react-native run-android
Enable debug mode on react native dev menu.

Expected Results
Should work the same as debug mode disabled

report

I am having the same problem with my app. iOS fine. Android with debugging enabled is not working.

I am having the same problem with android app in debug mode. IOS fine

Same here

Same here on Android when running debug and it work normally when stop debugging

Same here on Android when running debug and it work normally when stop debugging

Same scenario here

Similarly when running on real devices

Same here.

I was getting a white screen upon upgrading. Attempted to toggle debugger and discovered this as well.

Are some of you using wix RNN?

@BrunoVillanova no we are using @react-navigation


bug in getRepositoryLastModifiedTime

Describe the bug
getRepositoryLastModifiedTime is calling the wrong fuction.  classic cut/paste error

Pull requests:

https://github.com/Senzing/g2-sdk-go-base/pull/25
https://github.com/Senzing/g2-sdk-go-base/pull/26


Small typo fixes

I found some small typos while reading over the protocol and supporting docs. There are two "Section 3"s in the guidelines. I first fixed this by combining into one, but that felt too opinionated a change so I reverted and simply incremented the section numbering starting from the second Section 3 (now 4). See the commit before the head of this branch for the original change, if preferred (includes sub-sections for "Summary" and "Detailed examples" of each failure type under the sub-section for that failure type).

Good improvements, thank you! This is going live now.


ivory-tutorial: Use make instead of directly calling gcc (less typing)

This is small and minor, but personally I prefer to use make instead of directly calling gcc.

:hand::five::raised_hands:
:+1::100::tada:


[WIP] Reduced logging level verbosity for dependency-watchdog probe.

What this PR does / why we need it:
Reduced logging level verbosity for dependency-watchdog probe.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Depends on #10@dependency-watchdog.
Release note:

Reduced logging level verbosity for dependency-watchdog probe.

@amshuman-kr can you please reopen this PR, or, better, incorporate it into the update pull request opened by the CI once a new version of the dependency watchdog is released? Thanks!


Line underline in terminal should be the same color as link

https://github.com/xtermjs/xterm.js/issues/957

Fixed by https://github.com/Microsoft/vscode/commit/2241bcbbb8c71f012e7219efdc87502f2c7edc1e#diff-b9cfc7f2cdf78a7f4b91a753d10865a2


Add basic artifact support - S3 backend

This PR includes other related changes and improvements:

integration tests for /artifacts/list endpoint.
a bit changes logic to work with service configuration. now we have a configuration structure which we have to pass to other places were we want to something from config parameters.
integrated localstack and s3 service to the integration tests to properly test /artifacts/list endpoint.
abstraction layer for other storages - not final and Im sure that it will be changed and adopted to other integrations.

The logic does not work when creating an experiment that points to a different bucket than the one specified in --artifact-root

The logic does not work when creating an experiment that points to a different bucket than the one specified in --artifact-root

hmmm, you mean the case when we create experiment with not a default artifact path? if so, then probably I just totally forgot about this case. my bad. Ill extend logic without any problem.

could you please resolve the conflicts with main?

could you please resolve the conflicts with main?

done.

@jgiannuzzi ooook, It seems like I've changed everything you mentioned. Im not fully sure that it looks like 100% you want to it should be near your requirements.


ENYO-2866: [LightPanel] during back key process, spotlight disappears

Issue
During back key process, there is a postTransition step. There is a checkSpottability, but there is nothing to spot.
Fix
we added more condition to spot active panel
(!current.isDescendantOf(this) -> for current is not control in active panel(e.g. control in deactivated panel - previous panel)
current.isDescendantOf(this.owner) -> for control outside panels. In this case we do not need to spot active panel
Enyo-DCO-1.1-Signed-off-by: Suhyung.Lee<EMAIL_ADDRESS>

Closing in favor of https://github.com/enyojs/moonstone/pull/2668.


Do freeruns have value? and bowlo if so

yep, they do. you can use freeruns to burn delay on the scheduled NC in the first floor, from which you get twitching time capsules, from which you get solid shifting time weirdness. we should be putting wanderers in the globe stage, as we currently are, since wanderers also drop roses/tulips... but freeruns should probably be used on the first floor in search of more capsules.

I can add asdonbumper and bowling ball for this; does mafia have explicit tracking for it, or is it just turnsSpent?


dockerfy in alpine fails

I've installed dockerfy in an alpine container, and when I run it I get:
bash: ./dockerfy: No such file or directory

I've also tried in ubuntu:bionic and I have no problem.
How can I build it for Linux Alpine?

You'll need glibc


Consider fix voc2coco link

In the readme.md file voc2coco is mentioned but its link is broken
There are several repos called voc2coco in github
We may consider fix this link

Fixed in commit 29a8c51


Review + publish alpha data (email alpha testers)

I have some bandwidth this sprint and it seems like the right time to evaluate.

Added "email alpha testers" to this issue (tell them what we learned)
Reassigned this issue to myself

New calculations made and email sent to the SF Food Bank testers (with corgi pup). Only lingering thing here might be to email the non-Food Bank folks that Liliana solicited (I noted this and asked Liliana if I could email them the results too).


Redis/Memcache purge behavior might lead to cache pollution

When items are currently purged in Redis/Memcache, a path key will be created/incremented for each item. The key has no TTL set, so the cache will get slowly polluted over time, at least when using the volatile-lru strategy in Redis.
What do think about making the TTL of path keys configurable? This would make sense for us, since we know the maximum TTL of all items (and sub-items).
For Redis, the TTL could be passed here from where it is passed through and eventually ends up being used here.
Also, this might be added to other drivers as well.
What do you think?
/cc @s0enke

Nice catch. I read through the redis documentation and want to quote a relevant point-

volatile-lru: evict keys trying to remove the less recently used (LRU) keys first, but only among keys that have an expire set, in order to make space for the new data added.

What this says to me is that a key with no expiration will sit there forever. However, a key with an expiration- even if it's ridiculously far into the future- will fall into the LRU strategy. So if we set a default ttl of something like ten years for the keys and data around it everything will act as if it's a standard LRU system.
What I think needs to be done is a modification of the store function to make is so that if no expiration is passed the default one (which is so ridiculously far into the future that it's the equivalent of not putting a ttl in at all) gets used.
I don't believe this issue exists on memcache though, as it's LRU strategy ignores existing ttls (or the lack thereof).

What this says to me is that a key with no expiration will sit there forever. However, a key with an expiration- even if it's ridiculously far into the future- will fall into the LRU strategy. So if we set a default ttl of something like ten years for the keys and data around it everything will act as if it's a standard LRU system.

We (@s0enke and me) were actually referring to the clear method. It sets/increments a version key (without TTL), which results in a new key for each purge. Eventually the entire cache would consist of version keys when using Redis and volatile-lru (which is the default), because the "normal" keys would be evicted first.
We believe this could be worked around by using the allkeys-lru policy in Redis. Do you agree?

What I think needs to be done is a modification of the store function to make is so that if no expiration is passed the default one (which is so ridiculously far into the future that it's the equivalent of not putting a ttl in at all) gets used.

We'd say an infinite TTL is actually a feature and as the developer can influence it, we see no reason to act upon this.

FYI: we decided to use the allkeys-lru policy in our Redis databases, which seems to have fixed our problem.
You might want to add this information to the docs. :)


use already read cpus variable only once and improve code  little usi…

…ng Math.max

Summary
This PR improves the code of getMaxWorkers.ts a little bit, use already read cpus variable only once and improve code  little using Math.max

Test plan
Unfortunately I am getting a typescript issue at the yarn build stage,

18 export declare function watch(path: string, since: number, handler: WatchHandler);

So unable to run tests. Could someone who has the environment set up checkout this branch and run the tests ?
Anyways the code change is really small
Thanks
Saikat Guha
<EMAIL_ADDRESS>

getting mercurial not installed in the CI. not sure why. I definitely didn't make any changes in that regard.

Hello could anyone take a look at this please ?

Hello made the requested changes,
Could you merge if ok now, however as mentioned earlier , unable to test on my machine due to above mentioned error in the test plan section.
Let's hope the CI runs all the checks

To be able to run locally, you can apply the diff from https://github.com/fsevents/fsevents/pull/348/files in you node_modules

All right sure thanks will do that and update soon

@sktguha I've rolled back the version of fsevents in this repo, so rebasing and running yarn will give you a working version of fsevents

@SimenB oh that's great. Thanks let me try it out and run the tests locally and update here

@sktguha ping 🙂

oh hi sorry, forgot. lemme update PR 🙂

I am getting the following errors on running yarn test after rebasing with master . But it doesn't seem to be related to my changes

@SimenB

@SimenB  bump 😀

Hey! SOrry about the slow response.
Linting is passing on CI on master. Did you run yarn? I'd attempt to push - you haven't touched those files so it won't matter.
If you want to just run tests you can run yarn jest (instead of test)

Yesy changes are already pushed. don't have anything else to push 🙂

This PR does not fail lint

So there is something with your local clone in this case

Huh alright. Actually I think it can be merged. there is nothing wrong with the part of the code I have changed. The issues are not related to that part of code.


Changelog for 1.2.0

Coverage remained the same at 62.221% when pulling 59c8d2a52d0a99009ba85f5477dbc1639c8d7019 on jtschladen:changelog-1.2.0 into d4af5af99cd51016579f015d79df649c68a6ad15 on Netflix:master.


Make it possible to query fbdev dpi

This computes the display's DPI from the variable fbdev info which makes this method analogous to drm_get_sizes.

Thank you!


Q: Linux support, Library mode

Couple of questions-

Do you plan on supporting Linux?
This is a fork of the whole Go runtime right? Do you know of any Go SCTP implementations that are libraries instead? Is deep integration needed or  could this be re-factored into its own separate pkg that implements the interfaces in "net".

+1 to questions


[BEAM-4389] Enable partial updates in ElasticsearchIO

This provides partial update support in ElasticsearchIO with unit and IT for both ES2/5.
Justification for this is given in BEAM-4389.
CC @echauchot for review please (and @iemejia for info only)

Thanks @echauchot - rebased, squashed and applied the suggestions (although I think you commented correctly to make "private" but on the wrong method).
PTAL

LGTM as you also shared me your IT runs. BTW, A good CI improvement would be to be able to run the IT from github so that we could publicly share the results instead of privately run them.
Thanks for your work Tim, merging.


WIP - performance template caching

Coverage decreased (-0.05%) to 94.354% when pulling f32c9457845376276cd734a0b0908cc56ee2b75b on sf-mkirilov:performance/template-caching into<PHONE_NUMBER>c9e4afbe271ab398a4c9fa7ec9aacd on spulec:master.

An alternative fix for this is now added to Moto in #5308, so I'll close this one.
Thanks for your work on this @sf-mkirilov!


Crop handler stuck issue

Hi I am facing an issue related to croppy hander both in material and cupertino , When I drag the handle towards the bottom repaidly then it got stuck until i reset the controller or change the aspact ratio. I think this is related to the kiwi libraray or may be from the creation of the controller.
can you please set this issue as early as possible because I am using this package and I have to fix this as early as possible.

Hi!
Could you please share a reproducible example and if possible a video where this behavior happens?
Thanks!


Issue with the maxage param : cache-control seems unaffected

Hi,
I'm trying to lower the max-age of some assets of a web app to 1 day, but no matter what value is given to the maxage param, the "real" max-age seems to always be set to 31536000 (1 year).
Is this because images.weserv.nl/ is behind Cloudflare?

Thanks for your help.

1m is no valid value I guess, have you tried 1d? If the value is not valid, it will default to 1 year indeed.

Yes, I have tried maxage=3600 (which in theory should translate to 3600 seconds, right?) and maxage=1d, but the end result is always 31536000 (1 year).

We don't support setting max-age duration lower than 1 month (&maxage=31d). Only a few valid durations can be specified, see:
https://github.com/weserv/images/blob/ec7dacb970debe626056434f992e2a0843aa4398/src/nginx/util.cpp#L93-L102
Also, the m suffix means minutes, here's a list of valid suffixes that can be used:

ms: milliseconds
s: seconds
m: minutes
h: hours
d: days
y: years, 365 days

OK, the doc says

A value without a suffix means seconds. It is recommended to always specify a suffix. (https://images.weserv.nl/docs/format.html#cache-control)
So I thought I could specify smaller values.
Maybe the doc should be updated accordingly! :) So X months translates to maxage=X*31d right? eg. maxage=62d for 2 months.

I have tested out and indeed, they max-age header does change when working with 31d or 62d.
Thanks.


Make the link in POI bubble clickable

So the user can go to the Wikipedia page.
Wo do this before we integrate something cleaner.

Fixed in 5f344ee7bc075719ad0d6b2b5860dd28c5c9f965


TypeError when trying to iterate through a type

python -m nuitka --version

2.3.10
Commercial: None
Python: 3.12.1 (tags/v3.12.1:2305ca5, Dec  7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)]
Flavor: CPython Official
Executable: C:\Users\Stephen\AppData\Local\pypoetry\Cache\virtualenvs\boom2zoom-cR8eIvh9-py3.12\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10
Version C compiler: C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64\cl.exe (cl 14.3).

How did you install Nuitka and Python?
poetry add nuitka --group dev
The following Python code works just fine under the same interpreter:
from enum import Flag, auto

class Base(Flag):
    def get_names(self) -> list[str]:
        return [flag.name for flag in type(self) if flag in self and flag.name is not None]

class Child(Base):
    a = auto()
    b = auto()

flags = Child.a | Child.b

print(flags.get_names())

['a', 'b']

But when I compile it with nuitka, it breaks.
python -m nuitka --standalone --output-dir=nuitka_bug_build .\nuitka_bug.py
.\nuitka_bug_build\nuitka_bug.dist\nuitka_bug.exe
Traceback (most recent call last):
  File "C:\Users\Stephen\projects\BOOM2Z~1\NUITKA~1\NUITKA~1.DIS\nuitka_bug.py", line 16, in <module>
  File "C:\Users\Stephen\projects\BOOM2Z~1\NUITKA~1\NUITKA~1.DIS\nuitka_bug.py", line 6, in get_names
TypeError: 'type' object is not iterable

This is supposed to work since Python3.9 and it's based off static optimization, that has since become invalid.
Nuitka-Optimization: Mini.py:6 : new_builtin : Replaced call to built-in 'type' with built-in call 'EXPRESSION_BUILTIN_TYPE1'.
Nuitka-Optimization: Mini.py:6 : new_raise : Raising for use of 'iter' on type 'type'.

Thanks for your report, this is fixed on the factory branch, which is a development version under rapid development. You can try it out by going here: https://nuitka.net/doc/factory.html
Feedback on whether this is working is very welcome. Please do not share plans to do it; only confirm or deny that it is working.

Feedback on whether this is working is very welcome. Please do not share plans to do it; only confirm or deny that it is working.

I can confirm it is working.
PS C:\Nuitka\bin> git rev-parse --short HEAD
3830b59a8

PS C:\Nuitka\bin> python .\nuitka --version
2.4rc7
Commercial: None
Python: 3.12.1 (tags/v3.12.1:2305ca5, Dec  7 2023, 22:03:25) [MSC v.1937 64 bit (AMD64)]
Flavor: CPython Official
Executable: C:\Users\Stephen\AppData\Local\pypoetry\Cache\virtualenvs\boom2zoom-cR8eIvh9-py3.12\Scripts\python.exe
OS: Windows
Arch: x86_64
WindowsRelease: 10

Part of the 2.3.11 hotfix I just made.


Upgrade PyYAML to version 5.1

There is released PyYAML version 5.1 since March. In Home Assistant there can be used pyyaml>=3.13,<4. Would it be possible to use the latest version PyYAML?
Warnings summary, when I applied my commit: https://github.com/BKPepe/home-assistant/commit/005fca6714f09f0676388f6d5c27fbdcf5edc0da
tests/components/apns/test_notify.py::test_write_device
  /home-assistant/tests/components/apns/test_notify.py:403: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    data = yaml.load(out.getvalue())

tests/components/kira/test_init.py::TestKiraSetup::test_load_codes
  /home-assistant/homeassistant/components/kira/__init__.py:63: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
    data = yaml.load(code_file) or []

It's also possible that it's not just in the tests. So would be great if someone can look at it.

Look through the changelog, I didn't found the urge to upgrade PyYAML. I think our long term goal is using ruamel.yaml to replace  PyYAM.
5.1 (2019-03-13)

Incompatible changes:
#257 – Deprecate yaml.load and add FullLoader and UnsafeLoader classes
#256 – Make default_flow_style=False
Features:
#158 – Support escaped slash in double quotes “/”
#45 – Allow colon in a plain scalar in a flow context
#63 – Adding support to Unicode characters over codepoint 0xffff
#254 – Allow to turn off sorting keys in Dumper
Bugfixes:
#129 – Remove call to ord in lib3 emitter code
Other:
#35 – Some modernization of the test running
#42 – Install tox in a virtualenv
#48 – Fix typos
#55 – Improve RepresenterError creation
#59 – Resolves #57, update readme issues link
#60 – Document and test Python 3.6 support
#61 – Use Travis CI built in pip cache support
#62 – Remove tox workaround for Travis CI
#75 – add 3.12 changelog
#76 – Fallback to Pure Python if Compilation fails
#84 – Drop unsupported Python 3.3
#102 – Include license file in the generated wheel package
#105 – Removed Python 2.6 & 3.3 support
#111 – Remove commented out Psyco code
#149 – Test on Python 3.7-dev
#175 – Updated link to pypi in release announcement
#181 – Import Hashable from collections.abc
#194 – Reverting https://github.com/yaml/pyyaml/pull/74
#195 – Build libyaml on travis
#196 – Force cython when building sdist
#261 – Skip certain unicode tests when maxunicode not > 0xffff
#263 – Windows Appveyor build

3.13 (2018-07-05)

Rebuild wheels using latest Cython for Python 3.7 support.

3.12 (2016-08-28)

Wheel packages for Windows binaries.
Adding an implicit resolver to a derived loader should not affect the base loader (fixes issue #57).
Uniform representation for OrderedDict across different versions of Python (fixes issue #61).
Fixed comparison to None warning (closes issue #64).

What about CVE-2017-18342?

Before PyYAML 5.1, the PyYAML.load function could be easily exploited to call any Python function.

We are using SafeLineLoader
https://github.com/home-assistant/home-assistant/blob/a52f96b23abcdcdec12608834698af425e2ff43a/homeassistant/util/yaml.py#L95

Hm... you're right.  Thanks for finding, but I'm using the PyYAML 5.1 with my simple setup of Home Assistant yet and it seems good.  They're not much changes as you see in the changelog, but someone can might find useful to have the latest version, which adds some more features.
In the end, I wouldn't need to have a patch in openwrt as there's version 5.1, which fixed the CVE. It's up to you. I can send pull request.

Reiterating on this as Arch ships 5.1 which means we can't enjoy some HASS goodness without changing the PyYAML requirement


Unable to run arm64 binary on Pi4 Rasbian Buster

Describe the bug
When downloading arm64 released binary on Pi4 and then running it after, getting following error:
root@Host1:/opt/xteve # ./xteve
-bash: ./xteve: cannot execute binary file: Exec format error
root@Host1:/opt/xteve # file ./xteve
./xteve: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=XQh93hOKc9kzT4fj4Ske/ZxxCM-QMUClrWB2wEp_S/B94ToTQyHwGUOR8LHIH8/WvLcXQsIzo9lDHRShx5v, stripped
Server (please complete the following information):

OS: Rasbian Buster
Arch: ARMv7 Processor rev 3 (v7l)
xTeVe Version: xteve_linux_arm64.tar.gz | v<IP_ADDRESS>1

Expected behavior
Expecting to run this binary and preset default running config.

Is your OS also 64 bit?


missing "typings" in package.json file

this is required for typescript to find and resolve the module and its typings :)
https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html

thank you for this PR. But isnt it "index.d.ts" by default when you dont specify a "main" at all?

Well, the main is present, the typings was missing. I suppose it used to work without typings, but I am not entirely sure. They moved away from typings package management from TypeScript 2.0 if I am not mistaken, and introduced this gem as an alternative. We are using TypeScript 2.0.10 now and it complains that it cannot find the module, but after manually adding this line to the package.json it worked flawlessly :)
not sure why Travis is failing :(
Thanks for the great work btw!

sorry my bad looks like I completely forgot about this PR, just saw it still hangs here. Apologies again!

thanks mate :)


[model] Add PostReaction, Notification and Message database schema

Highlight any changes or corrections here please.

Add your virtual environment to .gitignore


External keyb often not working in landscape mode

Hi!

The com.foxdebug.acode,231,1.6.0 via fdroid is not recieving inputs from external keyboard in landscape mode. The white bar which appears at bottom is not appearing consistently here.
It was working earlier, then i used the find feature, then that white bar stopped appearing persistently (i.e. it appears, then immediately disappears).
... it is not working ever since, even after weeks
Following is the screenrecording of the bug:

https://user-images.githubusercontent.com/19423063/197320692-d82b6495-b77d-4b53-bfc3-58b88fb4f343.mp4
https://user-images.githubusercontent.com/19423063/197320702-b53b627e-31ed-4134-83e9-b2e9809d6a7d.mp4

related issue: maybe https://github.com/deadlyjack/Acode/issues/156

ping @deadlyjack


reformatting project

When I modified the file Cargo.toml, it caused many parts of this file to be modified automatically. I used vscode and configured the "automatically format when saving the file" option.
For the convenience of other developers, I reformatted the entire project.

We don't autoformat TOML files, the autoformatter's output is much less readable.
You can configure vscode to not format TOML like this:
    "[toml]": {
        "editor.formatOnSave": false
    },


Package Updates

When I initially tried to install the Animation package, R said that it was not available for the version I am using, 3.2.5. Since then, it has become available. However, the saveHTML package used with Animation is not available for the current R.  Is it the 'maintainer' that needs to update their packages to new versions of R?  What will that entail for wateRuse updates?

Well, the wateRuse package doesn't currently use the animation package...so that's not currently a problem.
I'd vote that people use browser tools to save an HTML page (both Chrome and Firefox do it well). The animation package is nice, but pretty heavy if that's all you need.
The CRAN mirror you are using is what determines if a package's binaries are up-to-date. That's why I strongly recommend:
https://cloud.r-project.org

Taken care of by GRAN for wateRUSe.


Crash in UnstructuredGrid3D

To reproduce:

Load DCP data and create/enable a particle renderer
Enable "Show direction"
Reduce the Y maximum extent to less than half of the domain
Vapor will crash

Note: This is issue was present in 3.6.0 as well.  Checkout commit bbf18a5 and follow the above steps with the old particle renderer to reproduce.
Process 61981 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x41)
    frame #0: 0x000000010302dcc3 libvdc.dylib`VAPoR::UnstructuredGrid3D::ConstCoordItrU3D::next(this=0x000000015d810ff0) at UnstructuredGrid3D.cpp:223:18
   220
   221 	    _coords[0] = *_xCoordItr;
   222 	    _coords[1] = *_yCoordItr;
-> 223 	    _coords[2] = *_zCoordItr;
   224 	}
   225
   226
Target 0: (vapor) stopped.

This is a regression and does not occur in the original particle renderer.

Just to be clear - This regression was introduced in 3.6.0.  It was not present in 3.5.0, where DCP was added.


chore: backports for leanprover/lean4#4814 (part 12)

see https://github.com/leanprover-community/mathlib4/pull/15245

bors  r+


Add a new troubleshooting item about formatting

Changes

What does this change?
Added a new troubleshooting entry about formatting .astro files because quite a few folks are having this problem

Testing

Yes Tested on vs code and other folks tried it too
Docs
No sure?

Hmm, I don't see why this is necessary. On most setups, you won't have any other formatters enabled. The Astro extension will by default be used. What was your setup trying to use to format??

I installed the extension but didn't get auto formatting, for example on save, unless I add that to my settings.
I use prettier in vs code for formatting.

I installed the extension but didn't get auto formatting, for example on save, unless I add that to my settings. I use prettier in vs code for formatting.

Sure, but what extension was VS Code trying to use to format? VS Code uses the only formatter available if there's only one. Prettier does not advertise itself as being Astro compatible by default unless you configure it to do so, in which case it seems obvious to me that you need to make sure you're using the formatter you want (and VS Code will prompt you on format)

It was not very obvious for me and others. Prettier is wildly used by folks out there so I thought maybe it gets a special mention in the extension docs otherwise users will think that the extension is broken but I might be wrong.

From the list below I felt like it should work out of the box, but it didn't and I got help from @Khaledgarbaya on Twitter via his answer to another person: https://x.com/PaulieScanlon/status/1704207301819662457?s=20

Okay, I don't think I've made myself clear on what I'm asking 😅
What this configuration does is set the default formatter for Astro files to be the Astro extension.
However:

If there's only one formatter for a file format, VS Code will use that formatter by default.
No other extensions on the marketplace is compatible with Astro files, by default (Prettier's VS Code extension can be, if you specifically configure it to be)
If for some reason, you have multiple formatters installed, but none are set as default, VS Code will prompt you to choose.

What this configuration does is simply reiterate the default behaviour of VS Code. As such, I don't understand why it would fix anything, nor why it would be necessary to have

Sounds Good, maybe something is wrong in our vs code configuration ¯_(ツ)_/¯. Closing the PR, and thank you for your time


[QUESTION] Dynamic headings array

Prerequisites

[X ] Have read and understood: https://github.com/Maatwebsite/Laravel-Excel/blob/3.1/.github/SUPPORT.md
[X ] Checked if your Laravel Excel version is still supported: https://docs.laravel-excel.com/3.1/getting-started/support.html#supported-versions
[ X] Checked that your question isn't already asked before.
[X ] Filled in the entire issue template

Versions

PHP version: 7.3
Laravel version: 5.6
Package version: 3.1

Description
Is it possible to define the headings array with dynamic data?
Additional Information
Check the map function below. The second cell ($productsList) is now a comma separated string. I want to add this data as separate columns. But then i need to extend the headings array.
public function headings(): array
{
    return [
        '#',
        'Producten',
        'E-mailadres',
        'Organisatie',
        'Agent',
        'Aangemaakt',
        'Verstuurd',
        'Vervalt',
        'Status'
    ];
}

public function map($message): array
{
    $productsList = [];
    foreach ($message->products as $product) {
        $productsList[] = $product->category->name . ': ' . (!is_null($product->product_string) ? $product->product_string : $product->product->name);
    }

    $productsList = implode(',', $productsList);

    return [
        $message->id,
        $productsList,
        $message->email,
        $message->company->name,
        $message->user->name,
        $message->created_at,
        $message->sent_at,
        $message->expiration_at,
        $message->status
    ];
}

I think you should probably query something in the headings call to get those extra headings.


Cannot remove the first entry

Testing #77427
Edit the TypeScript > TS Server > Plugin Path setting

Add 'aaa'
Add 'bbb'
Delete 'bbb' by hovering over 'bbb' and press 'x'
Delete 'aaa'

-> You cannot delete the item, 'x' has no effect.

Good catch, 0 index was converted to false.


Controllers specs

Changes made:

Added rspec-rails and rails-controller-testing in the Gemfile.
Created the rails_helper.rb and spec_helper.rb within the spec/ folder.
Created _spec files for the Users and Posts controllers.
Wrote tests for the Users and Posts controllers.

Hello, @sinansevgi 👋
Thank you for reviewing my work. I considered that negative test cases would be nice-to-haves in my project. 🤓
I will proceed to merge these changes into the dev branch. Thanks again, and happy hacking for you too! 🚀


Global laser phase is missing

Dear Authors,
Thank you for open source this interesting code. I have been reading the source code, and I feel like the implementation doesn't include the laser phase terms. Is my understanding correct? If so, are you going to implement that any time soon? Many thanks.

If one can confirm the laser phase term is not included, I can try to add it. :-)


Console: Add this is migration checkbox to Edit Rows

Closes https://github.com/hasura/graphql-engine-internal/issues/490

@beerose can't seem to assign anyone apart from myself and Varun. So yeah, tagging you is the best I can do.


About Visualization

Hi! Thanks again for your great work!
I trained and evaluate your model and the performance matches what you mentioned in your paper.
I'm wondering if you could provide me some method to visualize the prediction or any results, like heatmaps or other traj lines.
I'm a little confuse, is there any function in your code for that? and how to use it?

Hi, what about adding --visualize to the end of the evaluation command?

Thanks! I got confused before and used the wrong command;-;
Btw, would you mind giving some suggestions on using customized dataset?


extract_image_patches zeros out data for large images

I'm reading a large image (7128x5097 pixels) and generating patches with extract_image_patches. Depending on the patch size, some or all of the resulting image is zeroed out. Is there a limit on tensor size that it hits?
What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
nothing relevant
Environment info
Operating System: macOS Sierra 10.12.1
Installed version of CUDA and cuDNN: none
A link to the pip package you installed:
https://storage.googleapis.com/tensorflow/mac/cpu/tensorflow-0.11.0-py2-none-any.whl
The output from python -c "import tensorflow; print(tensorflow.version)".
0.11.0
If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
The following code generates a random image, scales it up by a factor of 5, pulls a single pixel out of each patch, and writes an image with the result.
Expected behavior: an image of random pixels.
Observed behavior: for small images it works. But for the 5097x7129 image, N=3 works, N=5 gives a completely blank image, and N=7 is blank after the first 998 rows. (It's kind of strange that 7 works better than 5.)
from __future__ import absolute_import
from __future__ import print_function
import tensorflow as tf
N = 5 # Can try other numbers
def main(_):
  img = tf.random_uniform([1, 5097, 7129, 3], minval=0, maxval=255, dtype=tf.int32)
  img = tf.cast(img, tf.uint8)
  patches = tf.extract_image_patches(img, [1, N, N, 1], [1, N, N, 1],
    [1, 1, 1, 1], "SAME")
  data = patches[0, :, :, 0:3]

  f = open('/tmp/img.png', 'w')
  init_op = tf.initialize_all_variables()
  with tf.Session() as sess:
    sess.run(init_op)
    f.write(tf.image.encode_png(data).eval())
  f.close()

if __name__ == "__main__":
  tf.app.run()

What other attempted solutions have you tried?
This is a simplified version of a larger image learning system, and I've cut it down to the problematic code. I've checked the values to make sure the problem is in extract_image_patches and not image_encode_png. The problem seems to happen if the tensor is big, so there's probably some size limit somewhere.

@gpapan Could you please take a look at this?

Automatically closing due to lack of recent activity. Since this issue is old at this point, please reopen the issue if it still occurs when tried with the latest version of Tensorflow. Thank you.

Can confirm that this issue still exists.
Environment info
System 1: Ubuntu 16.04.3, CUDA 8.0.61, cuDNN 4.0.7, TF v1.1.0
System 2: tensorflow/tensorflow:latest-gpu Docker container (with TF v1.3.0)
System 3: Ubuntu 16.04.3, TF v1.2.0 on CPU
Minimal reproducible example
import tensorflow as tf

N = 13
img = tf.cast(tf.random_uniform([1, 5097, 7129, 1], minval=0, maxval=255, dtype=tf.int32), tf.uint8)
patches = tf.extract_image_patches(img, ksizes=[1, N, N, 1], strides=[1, 1, 1, 1], rates=[1, 1, 1, 1], padding='SAME')
encode_image = tf.image.encode_png(patches[0, :, :, 0:1])
write_file = tf.write_file('output.png', encode_image)
tf.Session().run(write_file)

Output:

As @shirriff said the result should be an image with random pixel values but the result varies depending on the patch size N and the image size. @skye @gpapan Please reopen.

It has been 14 days with no activity and this issue has an assignee.Please update the label and/or status accordingly.

Nagging Awaiting TensorFlower: It has been 14 days with no activity and the awaiting tensorflower label was assigned. Please update the label and/or status accordingly.

@gpapan Any help?  This bug is pretty old.  Do you think this is a bug in the EigenTensor implementation of extract_image_patches?
My guess is that there's some indexing overflow happening.

Actually, it looks like this was already fixed in https://github.com/tensorflow/tensorflow/commit/d75d5529d569d8f72cb215d3696db1feb1d9f033#diff-42af759a17331c263b5c57f04f130aa5 possibly, so it may no longer be valid.
Given the information in the commit and the related internal bug report that this fixes, I'm going to assume this is now fixed.  Please reopen if this is not true and you are running a recent version of TF.

I've tried the code above with TF 1.5.0 and it's working correctly now. Thanks!


Various Fixes

[HMA-4857] Fixes inset view layout
[HMA-4860] Icon Button view styling fixes
[HMA-4860] Icon Button view accessibility fixes
[HMA-4861] Dynamic Colours

Duplicate


Remove initial reference

Add a method to remove not used initial.valueReference. Those inital.valueReference are added by CRD to bypass a HAPI bug. This method does not have any impact on Questionnaire UI display. It makes the logged Questionnaire JOSN object cleaner.

I will try a different way to address this issue.


Automated PostgreSQL database documentation

Description
We currently have automated documentation.js docs for JavaScript code, as well as hapi-swagger docs for REST API endpoints.  However, we don't have anything for our PostgreSQL database - this task aims to address that.
Acceptance Criteria

[x] HTML documentation is automatically generated from our PostgreSQL database;
[x] HTML documentation is available somewhere (e.g. on ETL dev).

Additional Notes
autodoc looks like a promising tool, although it's Perl-based; the PostgreSQL wiki has a list of other similar tools, IIRC.

First test of automated PostgreSQL documentation using autodoc is available on ETL dev (internal-only) - marking closed; we can further productionize later.


Screenshots: 404

https://github.com/mediathekview/zapp
Looks like deposited screenshots are not found.

Thanks for your report!
It's fixed. Screenshots are still slighly outdated though.


[ENG-15938] Emit a new metric after every successful upload

Task linked: ENG-15938 Fix noisy alert in metadata extractor restarts


Customize how to display distance in the output with --distance_unit

Short Description:
Added the argument option --distance_unit to customize how to display distance in the output. E.g., km instead of meters, miles instead of meters.
How to Use:

Use kilometers (km) for distance output
python pokecli.py -a 'google' -u [user_email] -p [password] -l [location] -w 5 --distance_unit km
Use miles (mi) for distance output
python pokecli.py -a 'google' -u [user_email] -p [password] -l [location] -w 5 --distance_unit mi
Use feet (ft) for distance output
python pokecli.py -a 'google' -u [user_email] -p [password] -l [location] -w 5 --distance_unit ft

Fixes:

Implemented the argument option --distance_unit to customize how to display distance in the output.
The first line of requirements.txt to install pgoapi was changed to -e git+https://github.com/tejado/pgoapi.git#egg=pgoapi to correct a "branch not found" error when running pip install -r requirements.txt.

Looks good. Merging. Thanks!


should report error when VMI:cores is <=0

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

/kind enhancement

What happened:
should report error when VMI cores is <=0
apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
  labels:
    special: vmi-ephemeral
  name: vmi-ephemeral
spec:
  domain:
    devices:
      disks:
      - disk:
          bus: virtio
        name: containerdisk
    machine:
      type: ""
    cpu:
      cores: 0

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

KubeVirt version (use virtctl version):
Kubernetes version (use kubectl version):
VM or VMI specifications:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/assign

@jichenjc could you expand on what would be your solution on this one? This may conflict with the defaulting mechanism we have.


test: Correcting cloudformation export tests to use yaml.safe_load()

Description
PyYAML deprecated use of yaml.load() function without Loader argument since 5.1 (see deprecation doc).
Fixes failing Codebuild unit tests  (see failing Codebuild logs in PR #166)
Why is the change necessary?
Unit test test_cloudformation_export_with_sagemaker_execution_role started failing on 10/14 due to upgrade of PyYAML from 5.4.41 to 6.0.0 with error:
TypeError: load() missing 1 required positional argument: 'Loader'

PyYAML introduced changes in 6.0.0 to always require Loader arg to yaml.load() (see release notes). The use of yaml.load() without Loader argument has been deprecated with warning since 5.1, but was tolerated before the breaking change in v6.0.0.
Solution
Call yaml.safe_load() instead of yaml.load() which was deemed unsafe since its release in 2006.

PyYAML has always provided a safe_load function that can load a subset of YAML without exploit.

Updated existing tests instead of freezing PyYAML to v5.4.1 because:

yaml.safe_load() is safer than yaml.load() per PyYAML recommendation: it uses a SafeLoader instead of a FullLoader which allows exploits on untrusted input (see deprecation doc for more details)
Requires minimal change: Only 2 tests call yaml.load()

test_cloudformation_export_with_simple_definition
test_cloudformation_export_with_sagemaker_execution_role

Testing
Ran the unit tests locally and confirmed they passed.
pip install ".[test]"
tox -v tests/unit

Pull Request Checklist
Please check all boxes (including N/A items)
Testing

[ X] Unit tests added - N/A
[ X] Integration test added - N/A
[ X] Manual testing - why was it necessary? could it be automated?

Documentation

[X ] docs: All relevant docs updated - N/A
[ X] docstrings: All public APIs documented - N/A

Title and description

[ X] Change type: Title is prefixed with change type: and follows conventional commits
[ X] References: Indicate issues fixed via: Fixes #xxx - N/A

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 38e0c52a2b2d490cd5049bc317745da8c738651d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Here's a link to the repo

lkasdjflskfjsdlkfjsflksjdflksdjflkj

https://github.com/jman2476/MooJournal/


qemu: uncaught target signal 5 (Trace/breakpoint trap) - core dumped

Hi Team,
I am using macOS Big Sur ( Apple M1 Chip )
On Docker amd64 warning is shown.
How do i resolve this issue
I tried updating docker-compose.yml with platform: linux/amd64 and platform: linux/arm64 both are not working.
Is there is any solution to sort this issue.

I checked this recently, it was about IIRC node version on Docker container, but not debugged much. I will check again and get back to you

@veeran-dev @bluesign I can confirm that upgrading manually to the latest version fixed the problem for me. It seems my upgrade was somewhat stuck, so I downloaded Docker Desktop from the website and it worked first time.


Implement filtering strategies

If skills and cities are queried, just query the skill indexes and then filter the results by the queried city.
This strategy could be selected though the use of SHAPES: we know that a user has skills and a location.

+1 to experimenting with that stratgegy (as well as its dual: only use city index, and filter by the skills found in the users)

Done in daa2200.
Something remains strange: some skills are not set for matched users (result). It's like if comunica is reading only some triples but not all triples defining the skills... Example: querying skill "9" and city "marseille" using the "City with traversal filtered by skill (centralized)"  strategy gives only one user with only one skill (instead of 5).
Any thoughts @pchampin?


My/dedup

(My first push request on github, hope I'm doing it right)
Two commits:

Add -S option to not clutter the screen with skipped / ignored files
(also --no-print-skipped)
document newest to be the default dedup strategy

I'd prefer the -S to be part of verbose. Maybe just make the verbose check when ignoring if verbose >=2 rather than if verbose?
Typically you should submit separate pull requests for logically separate things. Not a big deal here but good practice. Also it looks like you made these changes one with your user and one with root. Shouldn't be doing this stuff as root but in the least you should setup git properly so your name and email are set appropriately.

I'm working on a new version of dedup so I can incorporate these changes but I'm happy to accept a PR so long as you address the above.

closed because of being replaced

You don't need to close a PR. You can change your branch as you wish then force push it.


0.14.0 release breaks semantic versioning

Hi,
First, this issue assumes this repository's releases follow semantic versioning. If not, I ask to consider doing so.
Regarding 812168f057702b4e86bb0328fd3760ff0ada3ae8, the change to require Flask 2.1.2 is a breaking change. Semantic versioning calls for a "major" version number increment when this occurs. This matters for automation pipelines, notably (given this is GitHub) Dependabot may attempt to update to this version when it should not. For a fix, I'm asking to "yank" version 0.14.0 and release a new major version instead.

Hey,
I'm sorry that this created issues for you.
Seeing how the version bump follows an already established (although undocumented) versioning scheme, there's no promise to follow semantic versioning and the breaking change is explicitly documented I'll close this issue.
Somewhat ironically this version bump is still kind of consistent with semantic versioning anyway, because we're using major version zero and

Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.

(granted, the library is no longer in "initial development")


 It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d89ecc7f-4705-dabe-9f70-2070d4aa19c9
Version Independent ID: 9c991bd5-535c-03b5-d810-c1b2ca7e7cb4
Content: Import Flat File to SQL - SQL Server
Content Source: docs/relational-databases/import-export/import-flat-file-wizard.md
Product: sql
Technology: data-movement
GitHub Login: @yualan
Microsoft Alias: alayu

@madhaven -- Jitin, thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


Dispatcher Operation revisited

Right we accept a string for the operation name in the dispatcher, we should rethink a bit about how this message passing works, is there a way to better manage how string would be passed in?

In fact, the dispatcher seems to be cluster fucked now that the signaling system has been implemented... need to investigate this first

not needed


Open issues on https://github.com/mhkeller/pulp2 ;)

Hello Michael !
How are you since last year ?
Back to pulp to publish my next comic, and so I'm optimizing pulp for Docpad right now finally.
Once it will be ready, I'll let you know ;)
I see you forked you own repo, so maybe you should open Issues on the new repository ?
two issues until now:

you should remove Bloomberg  from your source header I suppose
In pulp-icon.css, the pathe to the font is wrong (need to remove the "/pulp-icon/" sub-directory)

Thanks again for this great comic viewer !

Hey Camille!
Thanks for these — I'll fix them. Or if you want to issue a pull request feel free. Yep my fork of pulp is the one I'll be maintaining so you can file issues / PRs on that one.

Le Aug 31, 2016 à 08:45, Camille Bissuel<EMAIL_ADDRESS>a écrit :
Hello Michael !
How are you since last year ?
Back to pulp to publish my next comic, and so I'm optimizing pulp for Docpad right now finally.
Once it will be ready, I'll let you know ;)
I see you forked you own repo, so maybe you should open Issues on the new repository ?
two issues until now:
you should remove Bloomberg from your source header I suppose
In pulp-icon.css, the pathe to the font is wrong (need to remove the "/pulp-icon/" sub-directory)
Thanks again for this great comic viewer !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I'll do that ;)
sorry I wasn't clear and mixed everything, can you just check the "issues" checkbox in your fork settings ? Right now, your forked repo has no Issues tab ;p
Thansk ;)

Ah got it. All done https://github.com/mhkeller/pulp2/issues


chore(release): 0.65.1-rhobs2

This release fixes the rhobs-PO operator name and the icon. With this fix, the installed operator looks like ...

/lgtm


ref(scheduler): use observedGeneration instead of resourceVersion for RC readiness

https://github.com/kubernetes/kubernetes/blob/master/docs/devel/api-conventions.md#metadata explains the resourceVersion and generation pretty well
resourceVersion is the internal version representation where as generation deals with desired state
Some resources report the observedGeneration, which is the generation most recently observed by the component responsible for acting upon changes to the desired state of the resource. This can be used, for instance, to ensure that the reported status reflects the most recent desired status.
This is also how to determine if Deployments are ready so it's good to match it all up

Thanks for linking to the relevant docs. 👍


Test suite fails to initialise using Informix

Dump from the test attempt. The Informix version is Informix Client-SDK 4.10.FC12W1
$ python ../../tests2/informixtests.py 'DRIVER=<snip>'
cnxn.new cnxn=0x10d873dc8 hdbc=545883648
python:  2.7.13 (default, Aug 30 2017, 15:22:23)
[GCC 4.2.1 Compatible Apple LLVM 8.1.0 (clang-802.0.42)]
pyodbc:  4.0.22 /Users/joneri/src/pyodbc/build/lib.macosx-10.12-x86_64-2.7/pyodbc.so
odbc:    03.52
driver:  iclis09b.dylib 4.10.F
         supports ODBC version 03.51
os:      Darwin
unicode: Py_Unicode=2 SQLWCHAR=2
cursor.new cnxn=0x10d873dc8 hdbc=545883648 cursor=0x10dd8dc60 hstmt=545908736
Col 1: type=SQL_VARCHAR (12) colsize=128
Col 2: type=SQL_SMALLINT (5) colsize=5
Col 3: type=SQL_INTEGER (4) colsize=10
Col 4: type=SQL_VARCHAR (12) colsize=128
Col 5: type=SQL_VARCHAR (12) colsize=128
Col 6: type=SQL_VARCHAR (12) colsize=128
Col 7: type=SQL_SMALLINT (5) colsize=5
Col 8: type=SQL_SMALLINT (5) colsize=5
Col 9: type=SQL_SMALLINT (5) colsize=5
Col 10: type=SQL_SMALLINT (5) colsize=5
Col 11: type=SQL_SMALLINT (5) colsize=5
Col 12: type=SQL_SMALLINT (5) colsize=5
Col 13: type=SQL_VARCHAR (12) colsize=128
Col 14: type=SQL_SMALLINT (5) colsize=5
Col 15: type=SQL_SMALLINT (5) colsize=5
Col 16: type=SQL_SMALLINT (5) colsize=5
Col 17: type=SQL_SMALLINT (5) colsize=5
Col 18: type=SQL_INTEGER (4) colsize=10
Col 19: type=SQL_SMALLINT (5) colsize=5
ReadVarColumn: SQLGetData avail=4096 --> ret=0 cbData=28
ReadVarColumn: SQLGetData avail=4096 --> ret=0 cbData=4
ReadVarColumn: SQLGetData avail=4096 --> ret=0 cbData=4
ReadVarColumn: SQLGetData avail=4096 --> ret=0 cbData=40
ReadVarColumn: SQLGetData avail=4096 --> ret=0 cbData=28
Max VARCHAR = 255
In RaiseError(SQLGetTypeInfo)!
Traceback (most recent call last):
  File "../../tests2/informixtests.py", line 1273, in <module>
    main()
  File "../../tests2/informixtests.py", line 1257, in main
    print_library_info(cnxn)
  File "/Users/joneri/src/pyodbc/tests2/testutils.py", line 53, in print_library_info
    cursor.getTypeInfo(t)
pyodbc.Error: ('HY004', u'[HY004] [Informix][Informix ODBC Driver]SQL data type out of range. (-11064) (SQLGetTypeInfo)')
cnxn.clear cnxn=0x10d873dc8 hdbc=545883648

I feel I should note that once it's running the test suite fails a large majority of the tests, some 120 of the 160 tests. I've spent some time debugging them and working through some of the issues. I've managed to get one of the encoding-related tests to pass now, but I feel like the changes I've had to make to the code to make it work are probably contentious (though I honestly can't think of any way to make the tests pass without such changes.) At this point I need to re-focus back on my primary work goals, but I would like to talk about some of these issues and their potential solutions at more length if you feel that's a good idea.

Unfortunately I don't have Informix anymore.  I wish I could get cloud versions of these from DB vendors to test against.  What is the easiest way to get a test instance that doesn't expire?

Yeah, I totally understand your pain! There is a docker image available at https://hub.docker.com/r/ibmcom/informix-developer-database/


[Resolved][Arch Linux]Menu font from Brackets 1.11

Prerequisites

[ x ] Can you reproduce the problem with Debug -> Reload Without Extensions?
[ x ] Did you perform a cursory search to see if your bug or enhancement is already reported?
[ x ] Did you read the Troubleshooting guide?

Description
I upgraded to version 1.11 and I had some problems. First I had to execute this command for the brackets to open (only this to open):
sudo chmod 4755 /opt/brackets/chrome-sandbox

Second, when the brackets finally open:

and

Steps to Reproduce

Open the Brackets

Expected behavior: Menu font correct
Actual behavior: Menu font is square (missing?)
Versions
Release 1.11 build 1.11.0-17524 (release 86b5e2d4e)
build timestamp: Wed Sep 20 2017 10:21:22 GMT+0000

OS: Arch Linux
Kernel: x86_64 Linux 4.12.13-1-ARCH
DE: KDE 5.38.0 / Plasma 5.10.5
WM: KWin
GTK Theme: Breeze [GTK2/3]
Icon Theme: Papirus
Font: Noto Sans Regular

Same thing here. Also Arch Linux with a similar config, though I have the GTK font set to Oxygen-Sans.

@arthurflor Thanks for choosing Brackets and letting us know about this rendering issue 👍. As  Arch Linux is not a platform where Brackets normally gets tested, can you please let us know the process involved in installing Brackets on Arch Linux?
Unless we actually debug this issue, can't comment on what's going wrong with the configuration.

It's just the install command:
yaourt -S brackets-bin

More info from the package: https://aur.archlinux.org/packages/brackets-bin/
Can do installing error? I will check the package build

Process: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=brackets-bin

+1 can confirm this affects Arch Linux install. I tried installing most of the fonts referenced in src/styles/ and rebuilding the font cache but the issue persists.

The package brackets (without "-bin") doesn't install here. Results in compilation error.
But I'll go into more detail with this compilation error. Thanks!

Yes, a dep "libudev0-shim" must be installed you can install my compiled version https://drive.google.com/open?id=0BzKigOTG5qLEMFIyWGU3R2g1N28
sudo pacman -U brackets-1.11-1-x86_64.pkg.tar.xz

@anthonytex Great work! You made my day. I love this community for the passion it brings in making a developers day. Sincerely hoping the trend continues 👍

Have the same problem in ubuntu, I have no idea what to do.

@plascadeine Brackets is rigorously tested on Ubuntu and we have never noticed this kind of problem with the package posted officially. Are you using one of the deb package posted in GitHub releases for Brackets?

Yes I download witl link posted on brackets info on app, install deb package and see this  but previous version works fine, without any problems

@anthonytex Yea! thanks!
The problem was the "libudev0". The Brackets package caught libudev0 from AUR as dependence (here had compilation error). So I installed "libudev0-shim" before and works like a charm.
and

=)

@arthurflor Thanks a lot for quick confirmation 👍 . If the reported problem is fixed to your satisfaction, please consider closing this issue.

Installing libudev on Gentoo does not fix the problem.

 You can then install those dependencies, and then launching Brackets should work fine.

@swmitra and others, thank you for supporting the Linux versions. You guys rock.
@anthonytex Thanks for the package. It just works :)

Installed onto Debian Siduction
Preparing to unpack Brackets.Release.1.11.64-bit.deb ...
Unpacking brackets (1.11.0-17524) over (1.11.0-17524) ...
Setting up brackets (1.11.0-17524) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
Processing triggers for menu (2.1.47+b1) ...
Processing triggers for hicolor-icon-theme (0.17-1) ...
I also get the square boxes on the menu bar...... Previous versions worked, but not well. Often it would list the files but not allow me edit. I was hoping the new version would be an improvement.

@saurabh95  Gentoo does not use dpkg.  It installs all dependencies and
will not continue if one of them fails to install.
On Wed, Sep 27, 2017, at 11:20 PM, Saurabh Kathpalia wrote:

@hnaparst[1] , You can try to reinstall brackets using command sudo
dpkg -i <PATH_OF_DEB_FILE>, it will list the dependencies which
failed(there would probably be 1 or 2). You can then install those
dependencies, and then launching Brackets should work fine.> — You are receiving this because you were mentioned. Reply to this
email directly, view it on GitHub[2], or mute the thread[3].>

Links:

https://github.com/hnaparst
https://github.com/adobe/brackets/issues/13731#issuecomment-332738915
https://github.com/notifications/unsubscribe-auth/AExVF5dupncMUsmig0BZvKgNIiFwJveRks5smzqhgaJpZM4Pjhlu

I am running an ubuntu variant Pop OS and seeing the same issues with the menu fonts. DPKG Results below

sudo dpkg -i Brackets.Release.1.11.64-bit.deb
(Reading database ... 226744 files and directories currently installed.)
Preparing to unpack Brackets.Release.1.11.64-bit.deb ...
Unpacking brackets (1.11.0-17524) over (1.11.0-17524) ...
Setting up brackets (1.11.0-17524) ...
xdg-icon-resource: size argument must be numeric
Try 'xdg-icon-resource --help' for more information.
Processing triggers for hicolor-icon-theme (0.17-1) ...

Using Ubuntu Budgie 17.10 and the problem persists.

Same Problem on Kali Linux 2.0 Sana using the latest Brackets Version
I tried changing the font and refreshing font cache but problem presists

Please correct this BUG, wich makes Brackets useless therefore. This is the screenshot on Ubuntu 17.10

To fix the square fonts bug, I downloaded the package libpangoft2-1.0-0_1.40.5-1_amd64.deb in the debian repository and extract the libs "libpangoft2-1.0.so.0" and "libpangoft2-1.0.so.0.4000.5" in /opt/brackets.

@chsjr1996 It works, thanks!!

Yes! The solution provided by @chsjr1996 solved this issue.
Thanks a lot! :) :1st_place_medal:

Extracing pango files worked for me too

Works here as well, going to pinpoint the broken commit now. Should we report it to pango's devs?

Faulty commit: https://git.gnome.org/browse/pango/commit/?id=906509e22bf617d97a71f41d335d7a0dec344187

Thanks for great answer @chsjr1996. Ya da best

@chsjr1996 thanks it worked for me.

Thanks! It works fine for debian testing :)

So can I be the guy who explains how new they are to linux and ask for some more detailed instrustions on @chsjr1996 's fix?

@1efty1337 Here you go:

Download the package from libpangoft2 package from here

Instead of opening it with Software Install, open it using Archive Manager and extract it. You will see two files. Again extract data.tar.xz and navigate to the folder usr/lib/x86_64-linux-gnu that you got after extracting.

Copy those files to /opt/brackets. You might require root depending on how you've configured your system and restart Brackets if it is already running :)

@sachinkamath Thank you very much. I understand how easy it would have been to ignore such a simple question, and i appreciate the help!

@1efty1337 Np! Feel free to ping if you're stuck and welcome to Linux! :)

@sachinkamath
Your method works great on Ubuntu 17.10 with Brackets 1.11.0-17524 amd64 deb taken from Brackets homepage.
Thanks!

@maicardi, I just expanded @chsjr1996's solution but you're very welcome. Glad I could help you :)

On Ubuntu 17.10 @chsjr1996's solution wasn't complete.
I moved the libpangoft shared object files to /opt/brackets/lib:
/opt/brackets$ ls lib/
libpangoft2-1.0.so.0  libpangoft2-1.0.so.0.4000.5

Then I run the /opt/brackets/brackets script which specifically sets LD_LIBRARY_PATH to /opt/brackets/lib. This allows brackets to link to older libpangoft files.

Hi, @abargnesi, could you kindly explain to me what exactly you did? I don't quite understand the phrases:

I moved the libpangoft shared object files to /opt/brackets/lib:
/opt/brackets$ ls lib/
libpangoft2-1.0.so.0  libpangoft2-1.0.so.0.4000.5

I tried @1efty1337 's approach but it didn't work, then I tried you approach, made a file called lib in /opt/brackets and put the two files there, then ran the script you specified, it didn't work. Then I understood I have a 32-bit system, downloaded libpangoft2-1.0-0_1.40.12-1_i386.deb (which is the 32-bit version) and did the same, it didn't work. Then I tried to take your approach again, but soon realised I don't understand what you write.
Thx in advance
DarkPijem


Couldn't create sourcemap

Hi,
First of all thank you for your wonderful work.
I generated source map with latest version of AspNetBundling but it ended up creating the wrong source map file, for example 'xxxxxx.min.jsmap'
Kind regards,
Yui

Hi Yui, Are you able to give me some better reproduction steps? Thanks, Ben.

Hi Ben,
I have ScriptBundle like
bundles.Add(new ScriptWithSourceMapBundle("~/Scripts/base.js").Include(
                "~/Scripts/a.js",
                "~/Scripts/b.js"
));

Then I ran without debugging mode and in base.js has the source map link
//# sourceMappingURL=/Scripts/base.jsmap
Cheers,
Yui

It's the same for me!

So the problem here is that the file extension of the source map is wrong? Theoretically it shouldn't matter unless your server doesn't know how to handle that extension. Will have a quick look.

Hey guys,
I had a closer look and realised what's going on here. In my latest release I don't actually ever write a .map file to the filesystem. Instead I use the same method of delivering virtual bundles as the framework does to serve a virtual bundle of the sourcemap.
As long as you've got source maps enabled in your browser (e.g. under Settings in Dev Tools of Chrome), the browser will pick it up.
Cheers,
Ben


Function Block [FB_39] PUSH Model should only allow SSL URI values

[FB_39] PUSH Model Test Scripts currently allow http://, https://, and sftp:// URIs in Batchlist entries.  Since Batchlist contents are required to be a secured transmission, support should only exist for https:// and sftp:// based URIs.

Closed 6c28331b79744dd9867e4206b578e804b16e9140


Add nix flake build

Adds nix flake support to this repo.
Flakes already have some nix ecosystem support;  Mitchell Hashimoto has a managed zig compiler build here, for example.
Concretely, this work provides a local development environment (accessible via nix shell) which pins the zig compiler version to 0.10.0, necessary to build it. The instructions from the gyro derivation can be copied into nixpkgs to make gyro available in the repository, but until then others can include this repository as a nix flake in their builds to install it, just as this flake includes a flake that pins the zig compiler.

This is awesome work, the policy for the zig version has always been to follow the nightly build, however since I'm just maintaining gyro and not adding features (others are welcome to), I think I'll make gyro use the latest stable now. Thanks!


Update configure-single-sign-on-non-gallery-applications.md

Bug 823271: Doc: Update the article to make Reply URL as required

@bernawy : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@bernawy thanks for your suggestion, however as I understand it the Reply URL is required for IdP-initiated SSO, but optional for SP-initiated SSO.

@Luis Leon<EMAIL_ADDRESS>@Mayukh<EMAIL_ADDRESS>
In the UX, it is always required that’s why Mayukh told me that it should be required.
Luis,  do you agree? We got incidents where the customers wanted the app to be SP-initiated but there’s no way to do that from the UI since reply URL is always required.
Thanks,
ßerna
From: Michele Martin<EMAIL_ADDRESS>Sent: Tuesday, October 8, 2019 9:49 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Berna Wy<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Update configure-single-sign-on-non-gallery-applications.md (#40281)
@bernawyhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbernawy&data=02|01|bernaw%40microsoft.com|072295b09f444a445cbd08d74c0f641e|72f988bf86f141af91ab2d7cd011db47|1|0|637061501309826696&sdata=jk8wooNjWgsvH0pQEFvemsjdKJHxezoEc2E7rLsm0MI%3D&reserved=0 thanks for your suggestion, however as I understand it the Reply URL is required for IdP-initiated SSO, but optional for SP-initiated SSO.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F40281%3Femail_source%3Dnotifications%26email_token%3DAI4BBMHYSQSH7EM56UZVOQDQNS2W7A5CNFSM4I6KMWDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAU3ATA%23issuecomment-539603020&data=02|01|bernaw%40microsoft.com|072295b09f444a445cbd08d74c0f641e|72f988bf86f141af91ab2d7cd011db47|1|0|637061501309836693&sdata=GmK%2F6G5EGoVGGERULbtyIdyJIgUz7PVJhdHFKbYT5yQ%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI4BBMHE62UDDKL3PP7PAJLQNS2W7ANCNFSM4I6KMWDA&data=02|01|bernaw%40microsoft.com|072295b09f444a445cbd08d74c0f641e|72f988bf86f141af91ab2d7cd011db47|1|0|637061501309836693&sdata=aDcCcwORfrJ6HAqMr2M1hc1jInu6RQ1jP44UNGv2LFM%3D&reserved=0.

It seems like Mayukh made a chance to make the reply URL mandatory in all cases. I need to verify that.
@Berna<EMAIL_ADDRESS>, the reply URL isn't required to make the app SP initiated SSO. If they want to make the app SP initiated SSO, they need to add the Sign on URL.
Get Outlook for Androidhttps://aka.ms/ghei36

From: Berna Wy<EMAIL_ADDRESS>Sent: Tuesday, October 8, 2019 12:00:49 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Luis Leon Plata<EMAIL_ADDRESS>Mayukh Ray<EMAIL_ADDRESS>Cc: Mention<EMAIL_ADDRESS>Subject: RE: [MicrosoftDocs/azure-docs] Update configure-single-sign-on-non-gallery-applications.md (#40281)

@Luis Leon<EMAIL_ADDRESS>@Mayukh<EMAIL_ADDRESS>
In the UX, it is always required that’s why Mayukh told me that it should be required.
Luis,  do you agree? We got incidents where the customers wanted the app to be SP-initiated but there’s no way to do that from the UI since reply URL is always required.
Thanks,
ßerna
From: Michele Martin<EMAIL_ADDRESS>Sent: Tuesday, October 8, 2019 9:49 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Berna Wy<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Update configure-single-sign-on-non-gallery-applications.md (#40281)
@bernawyhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fbernawy&data=04|01|luleon%40microsoft.com|99b01c3931644cd00a9008d74c21d606|72f988bf86f141af91ab2d7cd011db47|1|0|637061580797862626|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|-1&sdata=jyygiH0%2BpkWyAvrBtpZP8Alq%2F%2FJ02n2aHE70LkZizVc%3D&reserved=0 thanks for your suggestion, however as I understand it the Reply URL is required for IdP-initiated SSO, but optional for SP-initiated SSO.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F40281%3Femail_source%3Dnotifications%26email_token%3DAI4BBMHYSQSH7EM56UZVOQDQNS2W7A5CNFSM4I6KMWDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAU3ATA%23issuecomment-539603020&data=04|01|luleon%40microsoft.com|99b01c3931644cd00a9008d74c21d606|72f988bf86f141af91ab2d7cd011db47|1|0|637061580797862626|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|-1&sdata=7raV%2FknkJOhMGliNlEqPAywioIWtbUJqF7TJ7uy5kKM%3D&reserved=0, or mute the threadhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAI4BBMHE62UDDKL3PP7PAJLQNS2W7ANCNFSM4I6KMWDA&data=04|01|luleon%40microsoft.com|99b01c3931644cd00a9008d74c21d606|72f988bf86f141af91ab2d7cd011db47|1|0|637061580797872615|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|-1&sdata=ikI8lv%2BlqCmrckC86s8hdEAphggzylbo8duFTiM7H1M%3D&reserved=0.

Change is confirmed, thank you @bernawy!
#sign-off


Feature: Reachable states

Might be a duplicate of https://github.com/VictorBjelkholm/ngProgress/issues/61
It would be nice to be able to reach different progress states using a new method "setCurrentMax".
setCurrentMax would provide a way to animate the progressbar towards percentages but not overrunning them to better model what is going on if the progressbar is modelling a few states.
I'm using it for a firmware update process:

STATE_FIRMWARE_DOWNLOAD   =  setCurrentMax(10%)
STATE_FIRMWARE_INSTALLING   =  setCurrentMax(30%)
STATE_FIRMWARE_REBOOTING   =  setCurrentMax(50%)
STATE_FIRMWARE_DONE              =   setCurrentMax(100%)

This would make the progressbar better aligned with what is actually happning. Given that the process is somewhat deterministic.
In my case the download phase is quick and the reboot slow. Makes in more linear so that the user can estimate the time to completion.

Also... My AngularJS skille is not a stage where I'm able to do a PR for you ... sorry.

Made a small change adding a setter function. If you want me to do a PR please let me know a suiteable name of the function ..
This is what it looks like in my example have four fixed states to process. I think I will look into adding the css part to make some markers where the "towards"/states are on the progressbar.
youtube example of a firmware upgrade


3bot deployer: after deploying 3bot there're no wallets created (testnet or mainnet)

and list_all on stellar client doesn't show anything

I think maybe the instances were created but  not saved?

branch: development_3botdeployer
Fix : https://github.com/threefoldtech/js-sdk/commit/fbd9048aca978197ea6eb391bf936ebc89883aab
call method to create testnet wallet and mainet wallet when deploying new 3bot

branch: development_3botdeployer
commit: fbd9048aca978197ea6eb391bf936ebc89883aab


make destroyDestructableSpeedThreshold in Knockback3 @configurable

https://github.com/wurstscript/WurstStdlib2/blob/1449f0b549ba6c6aa74203fb04229368c8a2ade1/wurst/util/Knockback3.wurst#L72

ok it works in function calls only ofc, my bad

np, btw are you still working on java casc lib?


[Settings, Fancy Zones] Control for the hotkey should be under the Editor button

Right now, the input control for the hotkey to open FZ Editor is under the header "Zone behavior", but it should be right under the Launch zones editor button.

Also, most (7 out of 12) of the settings (under the header) apply to windows instead of zones. Maybe an idea to separate them? The one "Follow mouse cursor instead of focus..." applies to the Editor. Maybe move that one to the top, under the "Launch zone editor" button and the hotkey input.

Your ideas about the fz editor items/settings are mentioned in  #7534.
The idea to split settings into "window behaviour" and "zone behaviour" is new.
Can we track all ideas in #7534. You can add the "window section" idea as comment.

Consider it done

Consider it done

great.
Please close your issue to avoid duplicates


feat(notifications): adds ability to customize which activity will be…

… launched
Provides a way to customize next steps when push notification is received.

Sample usage, metadata can be attached to already used broadcast receivers.
AndroidManifest.xml
        <receiver android:name=".NotificationHandlerReceiver"/>
        <meta-data
            android:name="LP_NOTIFICATION"
            android:value="com.example.application.NotificationHandlerReceiver" />

Custom BroadcastReceiver
public class NotificationHandlerReceiver extends BroadcastReceiver {

  @Override
  public void onReceive(Context context, Intent intent) {
    String action = intent.getAction();
    if (LeanplumPushService.LEANPLUM_NOTIFICATION.equals(action)) {
      // Must be called to allow Leanplum SDK to track notification.
      Bundle data = LeanplumPushService.preHandlePushNotification(context, intent);

      // Notification data, containing action, message etc.
      Map<String, Object> notificationData = LeanplumPushService.parseNotificationBundle(data);

      Intent launchIntent = new Intent(context, MainActivity.class);
      launchIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
      context.startActivity(launchIntent);

      // Must be called to allow Leanplum SDK to track notification.
      LeanplumPushService.postHandlePushNotification(context, intent);
    }
  }
}

Hm, according to the ticket the customer requested the possibility of being informed when a user clicks on a notification, similar to this in iOS: https://github.com/Leanplum/Leanplum-iOS-SDK/blob/62d728a6aa80263a1b1936eabd4773f43f41faf1/Leanplum-SDK/Classes/Leanplum.m#L1628
Looks like this serves a different purpose, does it?

test this please

^ FYI: this is the comment to trigger a build ;)


Telemetry: set anonymousId for events where user is not provided

Description
A detailed explanation of the changes in your PR.
Feel free to remove this section if it is overkill for your PR, and the title of your PR is sufficiently descriptive.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
[ ] Evaluated and added CHANGELOG entry if required
[ ] Determined and documented upgrade steps
[ ] Documented user facing changes (create PR based on openshift/openshift-docs and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

Current dependencies on/for this PR:

master

PR #4601

PR #4689

PR #4705   👈

This comment was auto-generated by Graphite.


AKS Cluster deployment in Azure Site 1 added

Azure Sites and AKS cluster in Site 1

I missed this PR.


[SPARK-50517][PYTHON][TESTS][FOLLOW-UP] Add refactored package into pure Python test

What changes were proposed in this pull request?
This PR is a followup of https://github.com/apache/spark/pull/49104 that adds refactored package into pure Python test
Why are the changes needed?
In order to fix the pure Python build https://github.com/apache/spark/actions/runs/12283159330/job/34275992419
Does this PR introduce any user-facing change?
No, test-only.
How was this patch tested?
Will monitor the build.
Was this patch authored or co-authored using generative AI tooling?
No.

This will be the last ..

Merged to master.


custom loss function

Hi,
I'm fine tuning Resnet following the https://mxnet.incubator.apache.org/faq/finetune.html tutorial.
Tutorial modifies the Resnet like that:
    all_layers = symbol.get_internals()
    net = all_layers[layer_name+'_output']
    net = mx.symbol.FullyConnected(data=net, num_hidden=num_classes, name='fc1')
    net = mx.symbol.SoftmaxOutput(data=net, name='softmax')
    new_args = dict({k:arg_params[k] for k in arg_params if 'fc1' not in k})
    return (net, new_args)

However, I need to create a different kind of loss function. Which is following :

Do softmax(just softmax not softmaxoutput) with 100 classes.
Compute dot product between softmax probabilities and  the vector from [1, 2, 3 ... 100]. (This vector should not change during the training)
3)Use LinearRegressionOutput

My  implementation which does not work is the following
     all_layers = symbol.get_internals()
     net = all_layers[layer_name+'_output']
     net = mx.symbol.FullyConnected(data=net, num_hidden=num_classes, name='fc1')
     net = mx.symbol.softmax(data=net, name='softmax_intermediate')
     net = mx.symbol.dot(lhs=net, rhs= mx.nd.array(range(1,101)), name = "givi")
     net = mx.symbol.LinearRegressionOutput(net, name='softmax')

I'm getting the message

Traceback (most recent call last):
File "modify-resnet-50-base-custom-average.py", line 41, in
main(parse_arguments(sys.argv[1:]))
File "modify-resnet-50-base-custom-average.py", line 26, in main
(new_sym, new_args) = get_fine_tune_model(sym, arg_params, args.num)
File "modify-resnet-50-base-custom-average.py", line 19, in get_fine_tune_model
net = mx.symbol.dot(lhs=net, rhs= mx.nd.array(range(1,101)), name = "givi")
File "", line 71, in dot
AssertionError: Argument rhs must be Symbol instances, but got
[   1.    2.    3.    4.    5.    6.    7.    8.    9.   10.   11.   12.
13.   14.   15.   16.   17.   18.   19.   20.   21.   22.   23.   24.
25.   26.   27.   28.   29.   30.   31.   32.   33.   34.   35.   36.
37.   38.   39.   40.   41.   42.   43.   44.   45.   46.   47.   48.
49.   50.   51.   52.   53.   54.   55.   56.   57.   58.   59.   60.
61.   62.   63.   64.   65.   66.   67.   68.   69.   70.   71.   72.
73.   74.   75.   76.   77.   78.   79.   80.   81.   82.   83.   84.
85.   86.   87.   88.   89.   90.   91.   92.   93.   94.   95.   96.
97.   98.   99.  100.]
<NDArray 100 @cpu(0)>

Any  help would be appriciated.
Thank you.

Change "rhs= mx.nd.array(range(1,101)" to "rhs=mx.sym.Var("rhs")"
You also need to init rhs symbol properly.

@chinakook Thank you so much for the timely response.
I did as you told me and everything works fine.
The only concern I have left is if this vector is gonna be changed during the training. And if yes, how can I stop it? Thank you

It cannot be changed as it's constants.

@sandeep-krishnamurthy requesting this to be closed since issue was resolved.


Issue/36 publish to GitHub

#36

renamed gem file
updated gemspec to point allowed_push_host to Github packages

I had to rework the clause in the gemspec to satisfy rubocop so can you check you are actually happy with that syntax because I'm not sure if that's what it was asking for. It said it wanted unless as a guard clause


How to check if the class has already exist?

Hi,
I couldn't find the is class exist method. May I know how to check the existence of the class? Thanks.
Cordially,
Goh

@gohsianghwee ,
if(database.Schema.GetClustersForClass("TestClass")!=null)
{
// TODO: Class exists
}

Hi GoorMoon,
Thanks for your helping hand. I did come across the method but thought that was the function to get list of clusters and might throw error if I call it.

By the way, I would suggest to have a method as below. What do you think?
public bool IsClassExist(string className)

cool

Hi GoorMoon,
I want to make some changes on this and there is also another method I would like to have such as
Create.Class("someOtherClassName"). Currently I figure out there is no way I can pass the Generic Type with the class name I would like to have. I think this is important feature for me as I might store the same object but with different class name. Do you think I shall fork it as another project or you would like to share the write access for this repository to me? Thanks.

Hi @gohsianghwee,
I am not owner of this repository and can't give you write access.
You should fork this repository and provide PR request i will investigate
this and merge them to the master branch.
Your suggestion is very interesting.
Best Regards,
Roman Gordon
On Fri Feb 13 2015 at 10:34:50 AM gohsianghwee<EMAIL_ADDRESS>wrote:

Hi GoorMoon,
I want to make some changes on this and there is also another method I
would like to have such as
Create.Class("someOtherClassName"). Currently I figure out there is no
way I can pass the Generic Type with the class name I would like to have. I
think this is important feature for me as I might store the same object but
with different class name. Do you think I shall fork it as another project
or you would like to share the write access for this repository to me?
Thanks.
—
Reply to this email directly or view it on GitHub
https://github.com/orientechnologies/OrientDB-NET.binary/issues/34#issuecomment-74220909
.

Hi Roman,
Certainly. I shall fork this repository instead. Thanks.


Internal fault: [0xc43ed8:5050106] in osMailGet

To build RTX lib and ethernet lib by
python ./workspace_tools/build.py -m LPC1768 -t ARM -r -e
Then, suffered the internal fault.
Log show as:
...
Compile: RTX_Conf_CM.c
Compile: HAL_CM3.c
Compile: SVC_Table.S
Compile: rt_CMSIS.c
Internal fault: [0xc43ed8:5050106] in osMailGet
Please contact your supplier.

@cyliangtw Please report the version of ARMCC you are using please. I recall some internal fault previously, which was fixed. We should check the git log to see if this is still the case.

Hi Martin,
ARMCC version: MDK-ARM V<IP_ADDRESS> .

Hi Martin,
If I rollback ARMCC version as MDK-ARM V4.74, I could build RTOS & ethernet lib successfully.

I had the same problem (was using MDK-ARM <IP_ADDRESS>) and read somewhere that it was solved in version <IP_ADDRESS>. I have upgraded to the latest version (<IP_ADDRESS>) and no longer see the problem.

Internal fault: [0xc43ed8:5050106]

This is probably a compiler bug which is fixed in ARM Compiler 5.06.  The defect number was SDCOMP-25465.
http://infocenter.arm.com/help/topic/com.arm.doc.arn0005v/index.html#history

[SDCOMP-25465]  When compiling for Thumb state with -Otime at -O2 or above, code containing a comparison with a number that cannot be used as an immediate with the ADDS instruction could cause the compiler to report an Internal fault. This has been fixed.

So, you will not see this internal fault if you use MDK-ARM v5.17 or later.
|MDK-ARM|ARM compiler|
|:-----------|------------:|:------------:|
|v5.14|v5.05 update 1|
|v5.15|v5.05 update 2|
|v5.16|v5.05 update 2|
|v5.17|v5.06 update 1|
|v5.18|v5.06 update 1|
|v5.20|v5.06 update 2|

Got it & thanks.


[android] Failed to get a tun/tap device

I use a linux-arm64 version file on Android device. it failed with the error message like below
FATA[0000] Failed to get a tun/tap device                error="no such file or directory"

I found the error cames from main.go  (abround line 120)

// here, err is nil
tun, err = newTun(
    config.GetString("tun.dev", ""),
 		tunCidr,
 		config.GetInt("tun.mtu", DEFAULT_MTU),
 		routes,
 		unsafeRoutes,
 		config.GetInt("tun.tx_queue", 500),
)
// here, err is "no such file or directory",
// but newTun not runs at all, cause I put a panic log inside it and it not triggerd

after newTun returns, the err value became what I found on Android device. but when I insert a panic inside newTun function,
it did not run into it. so, where is the "err" message came from? this make me confused :(
I must do something wrong or misunderstand something, so, anyone can give me some help?

Android works by pre allocating a tun device and handing the file descriptor to nebula. We have an android client currently in beta, join the slack group and head over to #android if you want to test it.

from android cpp source code, it create tun interface like below, newTun (Linux) function almost does the same thing, but on Android, the original tun interface path is "/dev/tun" not "/dev/net/tun", so I modified the source file to Android version
here is the c++ source code from Android system:
static int create_interface(int mtu)
{
    int tun = open("/dev/tun", O_RDWR | O_NONBLOCK);

    ifreq ifr4;
    memset(&ifr4, 0, sizeof(ifr4));

    // Allocate interface.
    ifr4.ifr_flags = IFF_TUN | IFF_NO_PI;
    if (ioctl(tun, TUNSETIFF, &ifr4)) {
        ALOGE("Cannot allocate TUN: %s", strerror(errno));
        goto error;
    }

    // Activate interface.
    ifr4.ifr_flags = IFF_UP;
    if (ioctl(inet4, SIOCSIFFLAGS, &ifr4)) {
        ALOGE("Cannot activate %s: %s", ifr4.ifr_name, strerror(errno));
        goto error;
    }

    // Set MTU if it is specified.
    ifr4.ifr_mtu = mtu;
    if (mtu > 0 && ioctl(inet4, SIOCSIFMTU, &ifr4)) {
        ALOGE("Cannot set MTU on %s: %s", ifr4.ifr_name, strerror(errno));
        goto error;
    }

    return tun;

error:
    close(tun);
    return SYSTEM_ERROR;
}

here is my modificated newTun version, just simply replace "/dev/net/tun" with "/dev/tun":
func newTun(deviceName string, cidr *net.IPNet, defaultMTU int, routes []route, unsafeRoutes []route, txQueueLen int) (ifce *Tun, err error) {
	fd, err := unix.Open("/dev/tun", os.O_RDWR, 0)
	if err != nil {
		return nil, err
	}

	var req ifReq
	req.Flags = uint16(cIFF_TUN | cIFF_NO_PI)
	copy(req.Name[:], deviceName)
	if err = ioctl(uintptr(fd), uintptr(unix.TUNSETIFF), uintptr(unsafe.Pointer(&req))); err != nil {
		return
	}
	name := strings.Trim(string(req.Name[:]), "\x00")

	file := os.NewFile(uintptr(fd), "/dev/tun")

	maxMTU := defaultMTU
	for _, r := range routes {
		if r.mtu > maxMTU {
			maxMTU = r.mtu
		}
	}

	ifce = &Tun{
		ReadWriteCloser: file,
		fd:              int(file.Fd()),
		Device:          name,
		Cidr:            cidr,
		MaxMTU:          maxMTU,
		DefaultMTU:      defaultMTU,
		TXQueueLen:      txQueueLen,
		Routes:          routes,
		UnsafeRoutes:    unsafeRoutes,
	}
	return
}

ip addr show tun0 shows the interface is UNKNOWN
tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1300 qdisc pfifo_fast state UNKNOWN qlen 500
link/none
inet <IP_ADDRESS>/24 scope global tun0
valid_lft forever preferred_lft forever

but the start scripts says Neblula interface is active:
INFO[0000] Nebula interface is active                    build=dev+20200829084140 interface=tun0 network=<IP_ADDRESS>/24 udpAddr="<IP_ADDRESS>:4242"

I can't ping on each node, there must be something wrong with my modification,  would you please show me some advice?

You need to establish the tun device with the android specific APIs. https://developer.android.com/reference/android/net/VpnService.Builder

build Nebula as an library, create a VPN service, then handle file descriptor to Nebula, finally it works, thanks for your great help @nbrownus


make tensor dimension same as input before calling expandAs

add this fix for multi-dimensional tensor inputs, since expandAs can only work when the input tensor has the same number of dimensions as the target size

@ywelement Thanks!


Large quantity values cause POST Reportback API error

BUG
Current Behavior

Similar to #881, posting a quantity value like<PHONE_NUMBER>0000 triggers a 500 error from Phoenix. Searching for quantity in Logstash shows Phoenix PDOException:: SQLSTATE[22003]: Numeric value out of range: 1264 Out of range value for column 'quantity'.

Desired Behavior

Gambit should check for quantity values that will trigger the Numeric value out of range: error.. but it's an open question on how to stop the error. We could potentially:

Ask them to resubmit a valid number

Set it to whatever the maximum quantity is, which doesn't sound valid.... yet setting it to just 1 also sounds invalid.

Steps to Replicate

Enter a ridiciulous quantity and post Reportback

Why This Matters
This error is causing Blink to retry Reportback Submissions (ObjectId("5914adc69c6ee6000f84edb4")) that will fail on every retry, with an unfortunate side effect of #897

In https://github.com/DoSomething/gambit/issues/881#issuecomment-298948645, @DFurnes mentions Phoenix Next is doing some simple validation -- although I don't see any check for a max quantity.
My $0.02 is our best bet is probably to ask the user for a realistic quantity if it's over the max size allowed, we'd need a "invalid quantity" message to display the "C'mon buddy, really" and then re-ask-- but I'm definitely open to simpler options too...

Manually edited quantity from<PHONE_NUMBER>0000 to 100000 to avoid Gamblink constantly throwing  Signup.postDraftReportbackSubmission error:API response is false 500 error when trying to post this Reportback Submission.

This no longer occurs per Rogue going live:

Nice job! YOU deserve a Mirror Message for all the notes you posted.
We've got you down for<PHONE_NUMBER>0000 messages posted.


Code review for Raimondi and Martignago

Premise
This pull request might take some time to review if you have no background about it, so there is a Trello card (version 2.0 - network implementation) that might help you understand correctly what's going on if you want to go faster and have a deeper look at the steps I took to arrive here.
Code
What you're going to see will be 6 interfaces with 0 to 2 methods each (very easy and quick to read) that define a behaviour of a network of "Events": an Event is something happening in a place (while a TimedEvent is still something happening in a place at a time/before a time/after a time).
Together with the interfaces, there will be three implementations of three of those interfaces: GenericNetworkEvent, GenericTimedEvent and GenericEventNetwork; the first two are just variable holders, the third one will be a little more complex but I'm sure you'll understand it right away.
There is still one TODO and it's about a not-so-easy algorithm to understand which positions are inside a given range in meters, I already wrote the first version of it but it looks terrible and it would need a pull request on its own to be reviewed.
Before you start

Please don't look at GPSPosition as it's been implemented by Giorgia Bortoletti and I needed it in order to work properly with it in the manager

TESTING IS STILL ON ITS WAY, it's not easy to mock a location or a NetworkManager from the network library/dictionary.

Have fun.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 4

Complexity increasing per file
==============================
- app/src/main/java/com/eis/geoCalendar/app/network/GenericEventNetwork.java  2
- app/src/main/java/com/eis/geoCalendar/app/network/GenericNetworkTimedEvent.java  1
- app/src/main/java/com/eis/geoCalendar/app/network/GenericNetworkEvent.java  1
- app/src/test/java/com/eis/geoCalendar/app/network/GenericEventNetworkTest.java  1

See the complete overview on Codacy

Thank you for your time to review this. I need to clarify a few more things maybe:
line 57: The method onGetEvents is called when the events are gathered from the network, what it does inside of it is not related to its name because the listener doesn't know what will happen, its name is related to the fact that it's called when GetEvents has happened.
Line 82: Oh shoot! I forgot to implement the pass the actual reason in the listener, thanks
Line 94: Yeah "reasonable" is not defined because depends on the type of network, and on the approximation used. I could add a description of what parameters "reasonable" depends on.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 2

Complexity increasing per file
==============================
- app/src/test/java/com/eis/geoCalendar/app/network/GenericEventNetworkTest.java  1
- app/src/main/java/com/eis/geoCalendar/app/network/GenericEventNetwork.java  2
- app/src/main/java/com/eis/geoCalendar/app/network/GenericNetworkEvent.java  1
- app/src/main/java/com/eis/geoCalendar/app/network/GenericNetworkTimedEvent.java  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 2
- Added 2

Complexity increasing per file
==============================
- app/src/main/java/com/eis/geoCalendar/app/network/GenericNetworkTimedEvent.java  1
- app/src/test/java/com/eis/geoCalendar/app/network/GenericEventNetworkTest.java  1
- app/src/main/java/com/eis/geoCalendar/app/network/GenericEventNetwork.java  3
- app/src/main/java/com/eis/geoCalendar/app/network/GenericNetworkEvent.java  1

See the complete overview on Codacy


Update AOT binder child context initializer to account for breaking change in Spring Boot

New breaking changes have been added to SF6 snapshot which will require our binder child context initializer code to be slightly modified.

If you use AotFactoriesLoader you'll need to replace it with AotServices
If you use BeanRegistrationExcludeFilter as a signal that a bean should not be filtered you should now override BeanRegistrationAotProcessor.isBeanExcludedFromAotProcessing() instead
Example of adjustments that Spring Boot had to make for this here

NOTE: This is not currently breaking as we are pinned to SB 3.0.0-M4 and this change is only in SF 6.0.0-SNAPSHOT.
cc: @olegz @sobychacko

Closed via https://github.com/spring-cloud/spring-cloud-stream/commit/f94da9d3114920e25ecd2af2ad932d47a518a5e6


Click on Release Notes in iOS : 404

The release notes link in the latest iOS app release returns a 404
https://github.com/Ranchero-Software/NetNewsWire/releases/tag/ios-6.0

Duplicate of #3153.

This has been fixed.


Layer-Specific Decals

Colin, this shader is fantastic, thank you! Would you be able to modify it to only project onto certain layers? That would make it absolutely perfect for just bout every possible need. I will happily pay a bounty for the layer-specific rendering!

You can use stencil to limit where the projection will appear.

you can use stencil or render queue, because it is a screen space method, it can't control where the decal will render.

Do you have an example showing this? I can't seem to get the decal to ignore specific layers

In you custom shader, you write a stencil value K first, usually your character shader.
https://docs.unity3d.com/Manual/SL-Stencil.html
Then, in the decal material, you set Stencil = only pass if stencil buffer's value NotEqual K
Since it is a screen space method, unity's Layer system is not useful, you need to rely on RenderQueue or Stencil.

In you custom shader, you write a stencil value K first, usually your character shader.
https://docs.unity3d.com/Manual/SL-Stencil.html
Then, in the decal material, you set Stencil = only pass if stencil buffer's value NotEqual K
Since it is a screen space method, unity's Layer system is not useful, you need to rely on RenderQueue or Stencil.


ERROR:lint:invalid rule: rules/lib/peb-access.yml: invalid rule: unexpected statement: offset/x32

rules and code need to be lined up (again)

how do you propose to fix this?

Good question! I'm very confused with the current code vs. rule compatibility.

capa master:

adds instruction scope
removes /x32 flavors

capa-rules master: targets v3 release of capa

uses /x32 because there is no instruction scope

capa-rules v4-dev: targets upcoming v4 release of capa

no /x32 references
uses instruction scope

basically, we cannot use capa master with capa-rules master because there are both forwards and backwards breaking changes. capa devs should probably track v4-dev.

We should get a new release out ASAP.
In the meantime, to not hinder further dev and burden our users:

remove x32/x64 from rules: https://github.com/mandiant/capa-rules/tree/fix/temp-remove-x32-x64-flavors
OR
ignore x32/x64 during rule parsing: https://github.com/mandiant/capa/tree/fix/temp-accept-x32-x64-but-ignore

I prefer 2. because it's easy to undo. Downside on both: potentially more FPs while this is not fixed.

fixed in #1014


feat(pretty-json): support custom query

Pretty JSON middleware changed to support custom queries, like that:
app.use('*', prettyJSON({
  query: 'format'
})

In this case, you can see formatted JSON at ?format.  I think it should be customizable.
The author should do the following, if applicable

[x] Add tests
[x] Run tests
[x] bun run format:fix && bun run lint:fix to format the code
[x] Add TSDoc/JSDoc to document the code

@yusukebe Thank you for reviewing. I changed it, so please check it.

@nakasyou
Thanks! Looks good. I'm wondering if we should add this feature next minor version or not. After considered, I'll merge it.


Add WebAssembly + NodeJS example.

TODOs

[x] Add documentation
[x] Add CI test

You can find the npm package of sherpa-ncnn at
https://www.npmjs.com/package/sherpa-ncnn


Added more test coverage for pl.seq

Coverage increased (+1.07%) to 83.309% when pulling 74eff488f3da830b3245827f0c60056fe579365b on greatwolf:seq_coverage into f9b4848e6e1511fa57492d9e4511806003193f95 on stevedonovan:master.

Thanks!

Cool, guys! Always happy to see test coverage increasing. And pl.seq definitely needed new work.

@stevedonovan no problem. Can you also give some feedback on #232 (formerly #230 )?


[Feature Request] Callback when failed

I think you need to add a callback when device isn't supported yet or device use custom ROM (or something) so the "package" not found. Because I haven't catch any Exception. I want to create this feature and pull request but I'm not familiar with kotlin :smile: :v:

Will be better to also add a function to return a boolean that indicates if the autostart permission is found. This way the dev can disable the button for this permission on activity onCreate() or handle it in some other way. Below is a code in java that can be used to achieve this.
Intent autoStartIntent = new Intent();
        autoStartIntent.setComponent(new ComponentName("manufacturer.package",
"manufacturer.class"));

List<ResolveInfo> list = context.getPackageManager().queryIntentActivities(autoStartIntent,
            PackageManager.MATCH_DEFAULT_ONLY);
    if(list.size() > 0){
           //activity for autostart found
    } else {
           //activity for autostart not found
    }


adding isis route ranges in x-constraint validation of route states

Add Isis v4 and v6 route range names to x-constraint of Route.State #231

@ashutshkumr : The reason for doing this is 1) it is just something missing that we needed to fix , 2) I notice that the snappi team is probably working on a PR to validate x-constraints when this would cause trouble with ISIS tests . Hence, adding this fix in the OTG model . ( No effective change as of now , just two missing x-constraints added)