Host jsdocs

Goal: The is not much information about this project in the internet. It should be solved.

Check jsdocs, if it can handle custom pages.
Add pages about engine design(scheme).
Add pages with create game tutorials.
Host everything on free domain.

https://jsge.reslc.ru/


ingress-nginx version used on hosted providers should be updated on a regular basis

see  https://jira.suse.com/browse/SURE-4878

Done according to https://github.com/rancher/docs/pull/4065 and https://github.com/rancher/docs/pull/4227


Videojs-record with Browserify

Hi, I'm pretty new to VideoJS/VideoJS-record and was wondering if it's possible to get this working on the client-side using Browserify? And if so, could I have a basic example?

hi @Technopathic I've not used browserify before but I believe @alsar has, maybe he can give some tips.

I would also like to have a guide on how to use Browserify with this if possible :)

Having a browserify (test) grunt task wouldn't hurt so we can see if it builds properly. I'm personally (still) using r.js.

I tried using Browserify with this just now actually and encountered a problem.  I am a complete beginner with Browserify, so I may have done something wrong.
Steps I took (for video and audio):

npm installed on video.js, recordrtc, and videojs.record.
run browserify on videojs.record.js to create a bundle.js
Included the bundle.js like so:

  <link href="http://vjs.zencdn.net/5.8.7/video-js.css" rel="stylesheet">
  <link href="node_modules/videojs-record/src/css/videojs.record.css" rel="stylesheet">

  <script src="http://vjs.zencdn.net/5.8.7/video.min.js"></script>
  <script src="https://webrtcexperiment-webrtc.netdna-ssl.com/RecordRTC.js"></script>

  <script src="bundle.js"></script>

I put all of this into MAMP, and started MAMP server.

I then got an error saying:
VIDEOJS: ERROR: Unable to find plugin: record
I copied and pasted the example that you provided for the html file.
How would I approach this problem?
Thanks in advance.

@atsuzu can you paste the contents of the bundle in a gist (https://gist.github.com/) or something so we can take a look?

@thijstriemstra  Sure thing!  I used MAMP to load my website on localhost and worked without problem without using browserify.  So I think the setup should be fine.  The bundle.js is crazy long but here it is.  :)
https://gist.github.com/atsuzu/78a88892551c0b64eba82ea36778e5cb

Hmm the videojs-record code is in there.. Can you try implementing the steps you took into a grunt file (using something like https://github.com/jmreidy/grunt-browserify) so we can add this to the videojs-record grunt file for testing?

I've never actually used grunt before, and so it might take a while to add the testing.  However, I can explain step by step what I did on here though if that's okay?

I suppose that's ok but it might take longer to debug this.

@atsuzu here's a good example: https://github.com/jmreidy/grunt-browserify/tree/master/examples/basic

Thanks,
Step 1:
Download  and install MAMP
Step 2:
put index.html in MAMP/htdocs directory.
Step 3:
npm install video.js
npm install recordrtc
npm install videojs-record
Step 4:
Create a main.js with just the following content:
var videojsrecord = require("videojs-record");
Step 5:
browserify main.js > bundle.js
Step 6:
Start server with MAMP
Step 7:
Go to localhost:8888
Step 8:
When you inspect element on chrome, within the console section you will see the
VIDEOJS: ERROR: Unable to find plugin: record
So after installing all of the files, you would have within the MAMP/htdoc directory:
index.html
main.js
bundle.js
/node_modules/recordrtc
/node_modules/video.js
/node_modules/videojs-record

@thijstriemstra Thanks, I'll go through and will try to create the grunt file as soon as I can.  :)

Step 4:
Create a main.js with just the following content:
var videojsrecord = require("videojs-record");

I would probably try this instead:
var videojs = require("videojs"); // or require("video.js")
var player = videojs("myVideo",
{
    // video.js options
    controls: true,
    loop: false,
    width: 320,
    height: 240,
    plugins: {
        // videojs-record plugin options
        record: {
            image: false,
            audio: false,
            video: true,
            maxLength: 5,
            debug: true
        }
    }
});

So I took that portion out of the index.html and inserted it in main.js.
I then get the following issue:
video.min.js:22 Uncaught TypeError: The element or ID supplied is not valid. (videojs)
and
VIDEOJS: ERROR: Unable to find plugin: record

@atsuzu looks like there's not a video element on your page? See https://github.com/collab-project/videojs-record/blob/master/examples/video-only.html#L25.

That's odd... I see the video tag on my index.html
https://gist.github.com/atsuzu/988e8e1251157ec9e3764aa08935bc1e#file-index-html-L25

@atsuzu right but the script etc is still there (https://gist.github.com/atsuzu/988e8e1251157ec9e3764aa08935bc1e#file-index-html-L27)? Move everything inside

@thijstriemstra yes you're right.  I must have misunderstood how browserify worked with this.
So I updated the files with the script contents moved to move.js, and I regenerated the files using browserify main.js > bundle.js
Now I get just this error:
Uncaught TypeError: The element or ID supplied is not valid. (videojs)

@thijstriemstra Actually, I think I got it to work.
I had to do two things.

Move the bundle.js include to the bottom of the index.html

<script src="http://vjs.zencdn.net/5.8.7/video.min.js"></script>
<script src="https://webrtcexperiment-webrtc.netdna-ssl.com/RecordRTC.js"></script>

These two files were not included by the bundle.
So after adding those two changes, the recorder was able to successfully record!
Thank you very much!! :)

That's good to hear @atsuzu. I've created a wiki (https://github.com/collab-project/videojs-record/wiki) and it would be cool if you could these instructions to a new browserify wiki page so it can help @Technopathic etc.

@thijstriemstra Done.  I hope it helps :)

@atsuzu thanks, ive added some links and cleanup to the page, closing this ticket, please refer to that page @Technopathic.

@atsuzu @Technopathic @thijstriemstra
I've read the wiki: https://github.com/collab-project/videojs-record/wiki/Browserify
You don't need to include video.min.js. But you have to include https://webrtcexperiment-webrtc.netdna-ssl.com/RecordRTC.js as it does not support Browserify.
So in your index.html at the end of the body tag you just have to add:
<script src="https://webrtcexperiment-webrtc.netdna-ssl.com/RecordRTC.js"></script>
<script src="bundle.js"></script>

In your main.js you add:

        videojs = require('video.js');
        require('videojs-record');

        var player = videojs("myVideo", {
                controls: true,
                loop: false,
                width: 320,
                height: 240,
                plugins: {
                    record: {
                        image: false,
                        audio: true,
                        video: true,
                        maxLength: 5,
                        debug: true
                    }
                }
            });

This works for me. I hope it helps.

Thanks for the feedback @alsar, feel free to update the wiki page ;)


new sections: 5.4 'Creating packages' and 5.5 'code testing protocols'

still todo: how code contributors should use testreport prior to PRs
What changes does this PR introduce?
(Bug fix, feature, docs update, ...)
docs

what needs to be done here to remove 'work in progress' label:
@jm-c and @christophernhill should review section 5.4 "creating packages". I had to update old text quite a bit. I have used mypackage before, but hardly an expert, so more knowledgable person to review needed.
@jm-c should review the documenting of the testreport utility and its options, how to read output etc.
@jrscott needs to figure out how to use tst 2+2 so as to document, with help from @jm-c
@jm-c and @jrscott should clarify/write the section on what is expected in terms of contributors running testreport before submitting a PR
Need some specifics/documentation of "a test case must be provided for new code features"
albeit we did not come to agreement about this in meeting 7/18?

Sure thing. I'll do that today.

@christophernhill  and @jm-c  please review section 5.4, extracted and updated from old 'Developer How-To" guide. There is minor overlap with 8.1, but will leave this for another day.

@christophernhill and @jm-c to look at these.

@cnh @jahn @jm-c @edoddridge please check out section 5.5.4 in particular for discussion at weekly meeting

@edoddridge plz check 5.6.3 (citations), 5.2.1 and 5.2.2 step 7 (about tag index), 5.2.2 about git branches (after cloud figure)

@jrscott I took a look at 5.4 and 5.5.4. Both look great and pretty much good enough to merge - pending input from @jm-c and @edoddridge.
A small near term change would be good, to reference forward to Figure 8.1 and to chapter 8 and chapters 8, 9 and 10 in 5.4 intro. Eventually Fig 8.1 also needs updating I suspect.

Yes, I'll augment the into to 5.4 with those references/links to the figure and package chapters.
Let me look further into updating fig 8.1, how big a task that would be...

LGTM

@jm-c comments to be incorporated.


Molecule test fails with ERROR: 'molecule/*/molecule.yml' glob failed.  Exiting.

$ ls
CHANGELOG.md README.md    defaults     meta         playbook.yml templates
LICENSE      ansible.cfg  handlers     molecule.yml tasks        tests
$ git log -1
commit f7b1024855b226ccf95db706049abb52156e1e32 (HEAD -> develop, origin/develop, origin/HEAD)
Merge: d604128 21ea39b
Author: Taylor Nation<EMAIL_ADDRESS>Date:   Tue Aug 22 17:03:28 2017 -0400

    Merge branch 'release/0.6.1' into develop
$ molecule --version
molecule, version 2.1.0
$ molecule test
ERROR: 'molecule/*/molecule.yml' glob failed.  Exiting.

I believe that this may have to do with a 1.x configuration file that isn't compatible with either Molecule 2.x or virtualenv.


Remove hashlib and hmac from install deps

hashlib and hmac no longer needs to be installed. It always comes with python.
When trying to install version 1.0.8, an error occurs that a suitable version was not found for this library. This is understandable, because hashlib in pip stores a copy of the original library
https://stackoverflow.com/a/45132014
My python version 3.12
CRITICAL:pipenv.patched.pip._internal.resolution.resolvelib.factory:Ignored the following yanked versions: 20081119
CRITICAL:pipenv.patched.pip._internal.resolution.resolvelib.factory:Ignored the following versions that require a different python version: 1.9.5 Requires-Python >=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <3.7
CRITICAL:pipenv.patched.pip._internal.resolution.resolvelib.factory:Could not find a version that satisfies the requirement hashlib (from plisio) (from versions: none)

Hello @WhoisUnknown
Thanks for your issue and for waiting!
We have just released new version of the package plisio==1.0.9 with fix of your issue.


Autoplay stops working if another Swiper instance is created on the same page

I have a Swiper instance loaded as follows:
var mySwiper = new Swiper('.mySwiper', {
    autoplay: {
        delay: 5000,
        disableOnInteraction: false
    },
    centeredSlides: true,
    loop: true
});

The ".mySwiper" element is automatically changing every 5 seconds.
On the same page, I am creating another Swiper instance as follows:
var mySwiper2 = new Swiper('.mySwiper2', {
    allowTouchMove: false,
    centeredSlides: true
});

The autoplay on the "mySwiper" instance stops working.
Using the console, I run the following commands:
> mySwiper.autoplay.running;
< true

It says it's running but it's not. So I try to restart it:
> mySwiper.autoplay.stop();
< true
> mySwiper.autoplay.start();
< true

The autoplay is still not working.
I can however still interact with the instance's element by swiping left/right, and after 5 seconds of no interaction, the element begins to autoplay as normal.
Any idea why the autoplay breaks when another Swiper instance is created and why it starts working again after some form of interaction but not using the commands?

Closing due to inactivity and/or no responses from issue author


Feature Request: custom field

error in my custom fields.

Is this Typesense collection created by typesense-docsearch-scraper?
Are you asking to display custom fields in the interface? Or is the problem that the existence of custom fields appears should be ignored, but instead breaks the minibar component?
I believe it is already supported for the same collection to have additional custom fields. Minibar will only select the standard fields, and the rest should be ignored without error.
What is the expected behaviour you're looking for?

minibar is not specific to the docsearch scraper, but it does need to know what to display?
What configuration options do you currently pass to instantsearch?
Could you share an example URL of a typesense request that instantsearch makes when you type?
The UI needs to know what to show. We could easily add an option to override what field to render. A live example would be ideal, to help validate the solution.


Add Support for letter spacing and line height

Currently there is no method for changing the line height and letter spacing for content in terminal.

Happy to have a discussion or review a PR, as I am not sure what the right behavior is here, nor why would this be needed.
Let us move this to discussions.


fix(motd): use bold for color blocks instead of background color

This is kind of a workaround but it works perfectly well. It just makes it so light and dark themes look the same!!! LES GOOOO this should be the last fix for the MOTD


runtime/pprof: test timed out in StartCPUProfile on darwin-amd64-race

#!watchflakes
post <- pkg == "runtime/pprof" && log ~ `Test killed with quit` && log ~ `^runtime/pprof\.StartCPUProfile`

https://build.golang.org/log/e7671b5aac25301376187c735141b1a0dd33bbe0 (from https://github.com/golang/go/issues/57995#issuecomment-1535416660):
SIGQUIT: quit
PC=0x7ff81b7a62be m=1 sigcode=0
…
goroutine 2 [running]:
	goroutine running on other thread; stack unavailable
created by runtime.init.6 in goroutine 1
	/tmp/buildlet/go/src/runtime/proc.go:310 +0x1a
…
goroutine 55 [running]:
	goroutine running on other thread; stack unavailable
created by testing.(*T).Run in goroutine 1
	/tmp/buildlet/go/src/testing/testing.go:1648 +0x836
…
goroutine 57 [syscall]:
runtime.notetsleepg(0x10bce3a?, 0xc000050ec8?)
	/tmp/buildlet/go/src/runtime/lock_sema.go:294 +0x31 fp=0xc000050e90 sp=0xc000050e48 pc=0x105c711
runtime.(*profBuf).read(0xc000138090, 0x0)
	/tmp/buildlet/go/src/runtime/profbuf.go:500 +0xa8 fp=0xc000050ee8 sp=0xc000050e90 pc=0x10978a8
runtime/pprof.readProfile()
	/tmp/buildlet/go/src/runtime/cpuprof.go:230 +0x4b fp=0xc000050f48 sp=0xc000050ee8 pc=0x10b6f4b
runtime/pprof.profileWriter({0x12eea60, 0xc000414000})
	/tmp/buildlet/go/src/runtime/pprof/pprof.go:810 +0x65 fp=0xc000050fb0 sp=0xc000050f48 pc=0x121d105
runtime/pprof.StartCPUProfile.func2()
	/tmp/buildlet/go/src/runtime/pprof/pprof.go:794 +0x45 fp=0xc000050fe0 sp=0xc000050fb0 pc=0x121d005
runtime.goexit()
	/tmp/buildlet/go/src/runtime/asm_amd64.s:1650 +0x1 fp=0xc000050fe8 sp=0xc000050fe0 pc=0x10bd041
created by runtime/pprof.StartCPUProfile in goroutine 55
	/tmp/buildlet/go/src/runtime/pprof/pprof.go:794 +0x1af
…
*** Test killed with quit: ran too long (4m0s).
FAIL	runtime/pprof	240.037s

Related to #59995?

I wonder if this is related to #18717. Do we know if cgo_yield is non-nil on darwin when the race detector is enabled?

The answer as of https://go.dev/cl/451055 seems to be no.
So, that's my theory: the TSAN runtime is deferring signals as described in #18717, but the workaround added to the runtime package for #18717 is no longer in effect because runtime/race/race.go is no longer used on darwin, which causes runtime/cgo not to be linked in, which causes _cgo_yield to be nil.

One possible fix, in the spirit of https://go.dev/cl/451055, would be to have runtime/race provide a libc-but-not-cgo definition of _cgo_yield.

@cherrymui notes:

I think C TSAN intercepts signals but the Go race detector doesn't (when it bundles TSAN it doesn't include the signal interceptor code). So for non-cgo build it shouldn't matter?

But I wonder: since we're linking against libc on macOS, do we use our bundled TSAN implementation, or the one provided by the system C toolchain? 🤔

I think we use the bundled TSAN implementation from the race syso files. I don't think the libc we use contains TSAN.

As of the resolution of #61768, I think this is also fixed. gopherbot will reopen it if not true, but we haven't seen any issues in a couple weeks.

Closing in favor of https://github.com/golang/go/issues/67023.


ModuleNotFoundError

I have Ubuntu based KDE Neon. It upgraded itself recently and now based on Ubuntu 24.04.1 LTS.
I had installed rivalcfg previously and it worked well. After system upgrade it didnt work anymore. I tried reinstall it but then I got same "externally-managed-environment error" as described here #235
Then I did by Your direction from previously mentioned topic:
sudo apt install python3-venv
python3 -m venv ./rivalcfg.env
./rivalcfg.env/bin/pip install rivalcfg

and rivalcfg installed
./rivalcfg.env/bin/pip install rivalcfg
Collecting rivalcfg
  Downloading rivalcfg-4.13.0-py3-none-any.whl.metadata (26 kB)
Collecting hidapi>=0.14.0 (from rivalcfg)
  Downloading hidapi-0.14.0.post2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.6 kB)
Collecting setuptools (from rivalcfg)
  Downloading setuptools-75.1.0-py3-none-any.whl.metadata (6.9 kB)
Downloading rivalcfg-4.13.0-py3-none-any.whl (79 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.4/79.4 kB 329.2 kB/s eta 0:00:00
Downloading hidapi-0.14.0.post2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (711 kB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 711.6/711.6 kB 520.9 kB/s eta 0:00:00
Downloading setuptools-75.1.0-py3-none-any.whl (1.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.2/1.2 MB 483.0 kB/s eta 0:00:00
Installing collected packages: setuptools, hidapi, rivalcfg
Successfully installed hidapi-0.14.0.post2 rivalcfg-4.13.0 setuptools-75.1.0

but there was warning
./rivalcfg.env/bin/rivalcfg --help
W: Installed udev rules were generated by an other rivalcfg version.
   Run 'rivalcfg --update-udev' as root to update.

and when I tried update udev, then I got NoModule error:
sudo rivalcfg --update-udev
[sudo] parool hirax jaoks:
Traceback (most recent call last):
  File "/usr/local/bin/rivalcfg", line 5, in <module>
    from rivalcfg.__main__ import main
ModuleNotFoundError: No module named 'rivalcfg'

What to do next ?
Can You help me ?

Hello,
Maybe you can try the following:
sudo bash
rivalcfg --update-udev
exit

This will run the command in a natively root shell and it will probably work better :)

Unfortunately, the result is the same error
sudo bash
[sudo] parool hirax jaoks:
root@Ordi-laptop:/home/hirax# rivalcfg --update-udev
Traceback (most recent call last):
  File "/usr/local/bin/rivalcfg", line 5, in <module>
    from rivalcfg.__main__ import main
ModuleNotFoundError: No module named 'rivalcfg'
root@Ordi-laptop:/home/hirax#

You may be missed I edited the message just after writing it (so if you read the response from the mail, it was not accurate) :)

Now I am even more confused... I do something wrong or I simply don't know what to do
hirax@Ordi-laptop:~$ sudo ./rivalcfg.env/bin/rivalcfg --update-udev
[sudo] parool hirax jaoks:
hirax@Ordi-laptop:~$ rivalcfg --battery-level
Traceback (most recent call last):
  File "/usr/local/bin/rivalcfg", line 5, in <module>
    from rivalcfg.__main__ import main
ModuleNotFoundError: No module named 'rivalcfg'
hirax@Ordi-laptop:~$ ./rivalcfg.env/bin/rivalcfg --battery-level
Traceback (most recent call last):
  File "/home/hirax/./rivalcfg.env/bin/rivalcfg", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/hirax/rivalcfg.env/lib/python3.12/site-packages/rivalcfg/__main__.py", line 106, in main
    battery_info = mouse.battery
                   ^^^^^^^^^^^^^
  File "/home/hirax/rivalcfg.env/lib/python3.12/site-packages/rivalcfg/mouse.py", line 167, in battery
    if result["level"] > 100 or result["level"] < 0:
       ^^^^^^^^^^^^^^^^^^^^^
TypeError: '>' not supported between instances of 'NoneType' and 'int'
hirax@Ordi-laptop:~$ sudo bash
./rivalcfg.env/bin/rivalcfg --update-udev
exit
root@Ordi-laptop:/home/hirax# rivalcfg --battery-level
Traceback (most recent call last):
  File "/usr/local/bin/rivalcfg", line 5, in <module>
    from rivalcfg.__main__ import main
ModuleNotFoundError: No module named 'rivalcfg'
root@Ordi-laptop:/home/hirax#

Maybe I got it..
Now I must always start commands with: ./rivalcfg.env/bin/rivalcfg --"some option"
not simply. rivalcfg --"some option"
??

Maybe this helps at least little
hirax@Ordi-laptop:~$ ./rivalcfg.env/bin/rivalcfg --print-debug

RIVALCFG
========
Version: 4.13.0
udev rules installed: True
udev rules up to date: True
Installation path: /home/hirax/rivalcfg.env/lib/python3.12/site-packages/rivalcfg

OPERATING SYSTEM
================
OS: Linux
Platform: Linux-6.8.0-45-generic-x86_64-with-glibc2.39
Version: #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024
Distribution issue: KDE neon 6.2 \n \l

PYTHON
======
Python version: 3.12.3
HIDAPI version: 0.14.0.post2

PLUGGED STEELSERIES DEVICES ENDPOINTS
=====================================
1038:1838 | 00 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 00 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 01 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 02 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 03 | SteelSeries Aerox 3 Wireless (firmware v0)
1038:1838 | 04 | SteelSeries Aerox 3 Wireless (firmware v0)


Question: How can I remove the effect when you touch an item of the carousel (device only).

When you touch an item of the caoursel it will cover the content with a transluced black box.
I would like to know if there is a way to block this effect.
This effect seems to only occurs on devices, i've only tested it on my iphone.

Thanks

Hey @daniel12564, I can't recreate this and have used the carousel on mobile pretty extensively. Seems like it might be device specific, have you recreated on other mobile devices?

Hi @quinnlangille, I previously tested on an iphone 7, now I've tested on an iphone 5s and the bug still occurs.
To reproduce the effect/bug you should press and hold for a few secs on an item of the carousel, i was able to reproduce this on my personal application and also on the web page of the pluggin.

Ah, looks like you're correct! Should be a simple CSS fix. I'll open as a bug report

How do you open up the web inspector in an iOS simulator?


Release version problem

Did you forget release the version 0.17.0 on github?

No. I never "release" on GitHub. But it does seem that I forgot to push the tag. It should be there now.


Summon and unsummon is broken

Idk why, doesn't work though

Might have something to do with those changes you removed.

Which changes?

The conversion of the tuple to the if. You may want to wrap that if statement in something.

Also, Images are helpfull. I don't care what they say on SO

Whoa dont go making those changes yet. Give me an image.

The only thing I can think that occured is a logic error. Somewhere, you went wrong,


Added capability with Input Source

This is including flow triggers and conditions for the Input Source
Sorry, I couldn't send it to the development branch. I'll hope you're able to merge.
Most important are 2641fa612006051d0278e1f6b2345b25d906b995 and 698b66d22f69d89c7b84debbc865801a417aeb52

Thanks, will check tomorrow what's changed and if I can merge or will implement them manually

merged manually into development, then into beta (version 1.0.2)


DCA1000EVM Requirements

Hi authors, Great work for this repository - its very helpful...
One question, I have looked in your documents but I haven't found the information that I am looking for. To use your library, do I need to have the DCA1000 EVM data capture card or I can use the USB stream, just like the labs on http://dev.ti.com/tirex/explore?
Regards,
Farai

The OpenRadar demo's use the DCA1000 EVM to capture data, so that we can perform the processing in Python using OpenRadar functions. This allows for more control over what processing occurs to the raw radar readings.
I don't think we have support for streaming data from the micro-USB on the TI demo boards because the USB stream method only sends the data that has been processed, which voids the intended purpose of OpenRadar.

The raw adc data gets streamed over LVDS to the DCA board. To stream the raw data, 1 Gbit/s of data rate is required and the IWR chips dont have enough memory to buffer this large amount of data. So the DCA Board is required to even acquire raw data.


RTD is failing to build

🐛 Bug Report
For quite a while now the cf-units documentation on readthedocs has been failing to build and publish successfully, see here.

Probably related to #258

I was so pleased when we fixed it last time. Turns out it was just a flash in the pan:

Failures started again when we merged #214.


Combined voice input with voice commanding

Merged the two documents. It now has two parts: How to use voice (first part) and Adding voice to your app (second part)

Docs Build status updates of commit 81bfb72:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/voice-input.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Iframe HTML5 games[Suggestion]

Good idea?

There are a variety of security implications that have held us back from
doing this. We did have support this on the old website, but we were less
security conscious back then.
On Tue., Oct. 6, 2020, 05:39 Nejcraft<EMAIL_ADDRESS>wrote:

Good idea?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ludumdare/ludumdare/issues/1909, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAL7MCLIYKKIYCE5IYK6S73SJLQWBANCNFSM4SFY5NKA
.

But you arent against the idea? I could look into it. If Iam not mistaken iFrame can be setup as full sandbox.

Against no, but it's more than just adding an iframe. There are
implications we need to consider when working with Itch and Newgrounds, the
later features advertising which is something we don't have well defined
policies on. It would have to be HTTPS only, which not everybody
understands how to set up. There was also a complicated security problem I
was alerted to a few years back that we are currently sidestepping by
heavily restricting how embedding works (uploaded images and YouTube only).
I'm not familiar with all the details off the top of my head, but it had
something to do with the fact that we handle logins via JavaScript fetch
requests.
This is something I want to revisit some day though.
Mike Kasprzak
On Tue, 6 Oct 2020 at 09:51, Nejcraft<EMAIL_ADDRESS>wrote:

But you arent against the idea? I could look into it. If Iam not mistaken
iFrame can be setup as full sandbox.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ludumdare/ludumdare/issues/1909#issuecomment-704282900,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAL7MCOD54LC3ZROH7JJ3UDSJMOETANCNFSM4SFY5NKA
.

Can you send me more details about the security problem?
As W3 states <iframe src="demo_iframe_sandbox.htm" sandbox></iframe> sandbox should instruct the browser to treat the iframe as completely separate webpage, with no access to the parent page.

Closing for #2050. Embedding games is on the roadmap now, but only via games uploaded to our server.


Fixed missing arrow for neural_net.png

Fixed missing arrow for neural_net.png used in file slides-mc-softmax-regression.tex

 Fix missing arrow in neural net image


Revamp README and basic onboarding instructions

This PR adds another round of generic documentation touch ups.

It's on my list as a first thing tomorrow after cutting the rc2.


GIF Support

One really useful thing to add (though maybe some amount of work) would be when fetched data is a gif, it is automatically split to create an animated UIImage, which is then added to the imageview in a way that it starts animating.
(Also: Thank you for the great library!)

I've added support for additional formats. My example shows how it could be used with gifs. https://github.com/Haneke/Haneke/pull/81


How to add 3rd party CRD to my operator CSV

Type of question
I'm asking how to nicely solve a specific case and if there is any best practices for such cases. If such a case hasn't been even considered, could we treat this issue as a feature request?
Question
What did you do?
In our operator, we need to use one CRD from different 3rd party project. In particular, in our host-operator we have a set of CRDs including one called KubeFedCluster - that one has been taken from KubeFed project and we use also one specific controller from that project, but nothing more. In other words, we need to use only this particular CRD and not the whole KubeFed controller.
When I worked on our CSV I didn't know where I should put the KubeFedCluster CRD, because:

I thought that I shouldn't put it into the owned section, because it's not our CRD (for now I kept it there). In addition, I'm not sure how it would work in case anyone would use the KubeFedCluster CRD as the required one - which operator would be installed as the dependency? KubeFed or our host-operator?
I couldn't add it to required CRD because I don't want to install the whole KubeFed operator

The only way to achieve that I can see is a workaround of creating the KubeFedCluster CRD programatically. Before controllers are started it would ensure that the CRD exists in the cluster. Is it an expected and intended solution? Or is there any other one? Do you have any plan to support such a feature in the future?
What did you expect to see?
Any section where I could add 3rd party CRD that wouldn't trigger the installation of the whole operator and would only ensure that the CRD would be available in the cluster.
What did you see instead? Under which circumstances?
No way I could add 3rd party CRD without installing the whole operator nor specifying as the owned one.
Environment

operator-lifecycle-manager version:
I'm not sure how to get the version - I tried that using:

OpenShift 4.2.0-0.nightly-2019-09-24-194016
operator-sdk version: v0.10.0, commit: ff80b17737a6a0aade663e4827e8af3ab5a21170

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.4+68e229c", GitCommit:"68e229c", GitTreeState:"clean", BuildDate:"2019-08-06T18:30:32Z", GoVersion:"go1.11.6", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14+", GitVersion:"v1.14.6+73b5d76", GitCommit:"73b5d76", GitTreeState:"clean", BuildDate:"2019-09-23T16:18:51Z", GoVersion:"go1.12.8", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind:
OpenShift

There is an undocumented feature called nativeAPI in the CSV that will essentially block installation if that API is not present on the cluster. It was originally intended to be used for depending on Kubernetes core features (e.g. Deployment/v1) but can also be used to validate existence of CRDs.

that will essentially block installation if that API is not present on the cluster

but I don't want to block it, I want olm to create the needed CRD while installing my operator (but without installing the whole 3rd party operator)

I see. That is not supported in the dependency model. You will either own the CRD or require it. What's the problem / consequence of the 3rd party Operator getting pulled in? If it's too big maybe it needs to be broken down more?

What's the problem / consequence of the 3rd party Operator getting pulled in?

let say that we need only one small piece of the whole operator functionality, so installing the whole operator looks like an overkill.

If it's too big maybe it needs to be broken down more?

sure, that is something I can ask them for. For now, I was trying to figure out what kind of options we have and if there is any plan to support such functionality in OLM.
So, to sum up: the recommended way is to put it into the required ones and install the whole operator, right? Am I correct that putting it into the owned ones is not a good idea at all? What would happen if there are two operators having the the same CRD in the owned list?

Yes, you are corrected - the CRD should go into the required section. owned is not a good idea as it would prevent another Operator, actually owning that CRD from getting installed. OLM prevents two Operators owning the same CRD by GVK.

This looks resolved to me - please re-open if we need further discussion.


API bug on instagram

Hello,
Great work, for your package.
I began to use it for a business project.
I notice a bug when you parse the instagram API information. When there is no caption associted with user pictures the process bug.
It's better to verify all the instragram parameters before use it.
                    //Ugly quick fix
                    if(!empty($photo->caption)){
                        $photos[$index]['message']              = $photo->caption->text;
                    }else{
                        $photos[$index]['message']              = "";
                    }

Hi @dimitry-gosselin,
Thanks for using the package and the bug report. we'll take a look into this ASAP. Feel free to send PR if you have a workable fix.
;)

Hi @dimitry-gosselin,
We've fixed the issue for you, please have a look and let us know if you have anymore problems! 👍


Command to reload all VSCode windows

I knew workbench.action.reloadWindow could reload the current VSCode window, how to reload all windows at once, I searched through the keybindings, but didn't find one.
Some use cases:

After upgrading extensions that require reload.
VSCode slowed down for unclear reason, trying reload.

I'd like to know this too. I'm developing an extension that needs to do exactly this.

@cyberbiont Dude, let's upvote this.


Real time plotting

Thanks for the great library! Is there a good way to rapidly update plots for displaying realtime data? Looks like I can call plot.show() repeatedly, but that seems pretty sub-optimal.

I'm not sure how to implement dynamic updating; never had the need for it in my work. If anyone has ideas you're welcome to pitch in.

Wouldn't this be possible following a similar approach to Plotly Dash (i.e. using callbacks)? I would assume that using any of the reactive rust frameworks (e.g. Dioxus, Sycamore, LeptOS) should allow for this.

I found a way to update plots similar to Dash callbacks

Are you still being in this program? I am facing the similar problem now, I read a littile of the code from Dash.jl, and found the package less than 2000 line code.  So I thought implement the dash foundamental function would not be that much complicated. But being totaly new to front-end programming for now, I just can't figure out how to get the section (with using yew) of callback function out of the generated .html from plotly. Are you interested in implementing dash in plotly.rs? Or could you give me a few guidance so I can start to make a new pr to do it?

I found a way to update plots similar to Dash callbacks

Are you still being in this program? I am facing the similar problem now, I read a littile of the code from Dash.jl, and found the package has less than 2000 lines code. So I thought implement the dash foundamental function would not be that much complicated. But being totaly new to front-end programming for now, I just can't figure out how to get the section (with using yew) of callback function out of the generated .html from plotly. Are you interested in implementing dash in plotly.rs? Or could you give me a few guidance so I can start to make a new pr to do it?

I haven’t had time to continue, I did a small example but I stopped using this crate and just provided the plotly js code directly.
HTMX makes this very easy because you just call the endpoint and return the HTML/JS and HTMX updates the page. In my case sending the updated data to refresh the graph every minute.
I also have an example on how to capture the graph data and return it to the server.
To be honest it does not make sense to replicate Dash (ie React) having something like HTMX/Actix available.
I don’t have much time or expertise but I’m interested in helping.
https://github.com/jojayaro/jayaro_dev


V2 issue 1132

@Yomguithereal  Can you do a reviewof this code please ?
The root cause of #1132 is that when the timeout on handleMove is executed, the state of the captor is not correct, specially when you drag the graph outside the container (see draggedEvents).
What I did is to call the handleUp function (normally it's the ending function of the handleMove, right ?).
With this fix there are two side-effects :

when you drag the graph and stay at the same position (but still with the mouse down), edges are displayed
the event mouseup is fired

FYI, I have configured webpack to listen on the network. With that setting, I can run the examples and test them with my smartphone.

@sim51 You actually call handleDown and not handleUp as the commit message says. Also, it does more than you thought, and this issue is a bit tougher than I expected to solve properly.
For instance, with your fix, you reintroduce an old bug that is when the user clicks down a node, drags the graph, and then releases their mouse, it will trigger a clickNode event on the node, while it is not what we want.
I'm digging to find the proper fix.

Another side effect of this fix:

The user starts clicking the stage
The user drags the mouse and stop (still clicking)
The user waits like 3 seconds
The user releases the mouse

Expected result: The edges are drawn, and that's it
Actual result: The stage is "thrown", then the edges are drawn

I committed to branch v2 the proper fix for issue #1132:
https://github.com/jacomyal/sigma.js/commit/cfd9197f70319109db6b675dd7c82be493ca95a2
I kept your first commit, but I close this PR without merging it.


Leave transition doesn't works with GenericTransition

Hi,
A fix need to be made in src/common/generic-transition/index.js, line 42.
from:
leaveActiveClass: self.leaveTransition !== '' ? 'animated' + self.leaveTransition : ''

to:
leaveActiveClass: self.leaveTransition !== '' ? 'animated ' + self.leaveTransition : ''

(Space added after the animated string).
Thanks,
Dan

haha, same problem. thank you

Looks like this was fixed in https://github.com/radical-dreamers/animated-vue/commit/23b65f7089c0c6551aa5e922bed966c9b8a95795
Was the package rebuilt though, after that?


Allow inlining the proptype jsonschema

Currently these were used in the JSON editor for validation. By inlining them we could potentially use them to construct a property validator without needing to dereference a url

this was what i initially wanted to do but i didn't realize at the time that createObjectUrl would work


split param is not work when filer is open

Warning: I will close the issue without the minimal init.vim and the
reproduction instructions.
Problems summary
When I use ddu-ui-ff and ddu-ui-filer with different split params, these settings is not work.
For example, when I use ddu-ui-ff with split: floating and ddu-ui-filer with split:vertical ...

ff -> filer

open ff float window
try to open filer vertical window while keeping ff float window open
filer window's split is not vertical

filer -> ff

open filer vertical window
try to open ff float window while keeping filer vertical window open
ff window's split is not float

Expected

ff -> filer

open ff float window
try to open filer vertical window while keeping ff float window open
open filer vertical window <- this behavior

filer -> ff

open filer vertical window
try to open ff float window while keeping filer vertical window open
open ff float window <- this behavior

Environment Information

ddu-ui-ff version (SHA1):
36b08deb8cafb8b6ceb9b677bf425f479fca3ee7
ddu-ui-filer version(SHA1):
da7d1d5d3c97113c8b10e9fc104f2e312e854999
denops.vim version (SHA1):
8f3899de3d3add07105221262dca90a31c4c2d4c
deno version(deno -V output):
deno 1.30.3
OS:
↓WSL2

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.2 LTS
Release:        22.04
Codename:       jammy

neovim/Vim :version output:

NVIM v0.9.0-dev-1088+gd66832c76
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

Provide a minimal init.vim/vimrc without plugin managers (Required!)
set rtp+=path/vim-denops/denops.vim
set rtp+=path/Shougo/ddu.vim
set rtp+=path/Shougo/ddu-ui-ff
set rtp+=path/Shougo/ddu-ui-filer
set rtp+=path/Shougo/ddu-source-file
set rtp+=path/Shougo/ddu-source-file_rec
let s:ddu_config_json =<< trim MARK
	{
		"uiParams": {
			"ff": {
				"split": "floating"
			},
			"filer": {
				"split": "vertical"
			}
		}
	}
MARK

let s:ddu_config_json = s:ddu_config_json->join('')->json_decode()

call ddu#custom#patch_global(s:ddu_config_json)

nnoremap [ddu] <Nop>
nmap <Space>u [ddu]
nmap <silent> [ddu]f <Cmd>call ddu#start({
			\ 'ui': 'ff',
			\ 'sources': [{'name': 'file_rec', 'params': {}}],
			\ })<CR>
nmap <silent> [ddu]e <Cmd>call ddu#start({
			\ 'ui': 'filer',
			\ 'sources': [{'name': 'file', 'params': {}}],
			\ })<CR>

How to reproduce the problem from neovim/Vim startup (Required!)

ff -> filer

type <Space> u f
type <Space> u e keeping the ff floating window

filer -> ff

type <Space> u e
type <Space> u f keeping the filer vertical window

Screenshot (if possible)

ff -> filer

ff
filer

filer -> ff

filer
ff

Upload the log messages by :redir and :message (if errored)

Sorry. it(dynamic UI change) is not supported behavior.

Oh... 😭
But I understand the behavior is actually a part of the plugin's intended functionality. Thank you for letting me know. 👍

I have implemented the feature.
Please update ddu.vim.

Thanks for adding the requested feature!


Follow recommendation with a helpful suggestion for generating traffic for testing?

In the table under Recommendations, the second "Recommend" item suggests "Create initial traffic that is not part of your load tests 20 minutes prior to the test", but the corresponding "Benefit" item does not suggest how to do this, such as a helpful "For more information, see XXX" link used in the prior table row.  Would it make sense to suggest a utility such as iPerf3 or traceroute or ping or something better?

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

ID: 543582ab-2230-4950-4818-91786b5a82e2
Version Independent ID: 543582ab-2230-4950-4818-91786b5a82e2
Content: Microsoft Azure Well-Architected Framework review - Azure Firewall - Microsoft Azure Well-Architected Framework
Content Source: well-architected/services/networking/azure-firewall.md
Service: architecture-center
Sub-service: well-architected
GitHub Login: @vhorne
Microsoft Alias: victorh

Thank you for reporting this. This has been addressed in the latest version of the article.
#please-close


IE bug

Hi, could you please look at some bug of scrolling in Internet Explorer (Edge, 10)? It launched fine only 2-3 times and stop infinite scrolling.

This is not working either for me in IE 11 (works fine on Edge). With IE 11 the console shows:
'''
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: change
HTML1300: Navigation occurred.
File: change
DOM7011: The code on this page disabled back and forward caching. For more information, see: http://go.microsoft.com/fwlink/?LinkID=291337
File: change
HTML1500: Tag cannot be self-closing. Use an explicit closing tag.
File: change, Line: 28, Column: 9
EXCEPTION: TypeError: Unable to get property 'offsetHeight' of undefined or null reference
EXCEPTION: TypeError: Unable to get property 'offsetHeight' of undefined or null reference
STACKTRACE:
TypeError: Unable to get property 'offsetHeight' of undefined or null reference
at Scroller.prototype.height (eval code:35:9)
at Scroller.prototype.calculatePointsForElement (eval code:86:9)
at Scroller.prototype.calculatePoints (eval code:75:9)
at Scroller.prototype.handler (eval code:60:9)
at Anonymous function (eval code:30:17)
at ZoneDelegate.prototype.invokeTask (http://<IP_ADDRESS>:8210/node_modules/zone.js/dist/zone.js?1465848869460:354:18)
at onInvokeTask (eval code:6066:29)
at ZoneDelegate.prototype.invokeTask (http://<IP_ADDRESS>:8210/node_modules/zone.js/dist/zone.js?1465848869460:354:18)
at Zone.prototype.runTask (http://<IP_ADDRESS>:8210/node_modules/zone.js/dist/zone.js?1465848869460:256:22)
at invoke (http://<IP_ADDRESS>:8210/node_modules/zone.js/dist/zone.js?1465848869460:423:22)
SCRIPT5007: Unable to get property 'offsetHeight' of undefined or null reference
File: Rx.js, Line: 10858, Column: 9
'''
I'm also having issues with Safari 9 but that's not because of this plugin. It seems like the change detection in IE is having issues due to me updating it behind the scenes with RxJS.

Can't we close this now?

yes!
duplicated #21


Tests need setuptools-scm

Closes #361
This fails on test test_compose_test_section_with_console_scripts
pytest tests/test_pypi.py

The issue is solved by doing
pip install setuptools-scm

In this MR we add setuptools-scm to the test requirements.

We have this
setup_requires=["setuptools-scm", "setuptools>=30.3.0"],

and this
[build-system]
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"

I presume the first is redundant?
Neither seem to actually install setuptools-scm. I learn something every day.

Codecov Report

Merging #362 (b74304f) into main (9c3242e) will increase coverage by 0.53%.
The diff coverage is 92.62%.

@@            Coverage Diff             @@
##             main     #362      +/-   ##
==========================================
+ Coverage   91.30%   91.83%   +0.53%
==========================================
  Files          17       16       -1
  Lines        1576     1642      +66
==========================================
+ Hits         1439     1508      +69
+ Misses        137      134       -3

Flag
Coverage Δ

unittests
91.83% <92.62%> (+0.53%)
:arrow_up:

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

Impacted Files
Coverage Δ

setup.py
0.00% <0.00%> (ø)

grayskull/base/github.py
72.83% <72.83%> (ø)

grayskull/license/discovery.py
94.87% <78.12%> (-2.28%)
:arrow_down:

grayskull/strategy/abstract_strategy.py
83.33% <83.33%> (ø)

grayskull/__main__.py
95.60% <93.18%> (-2.55%)
:arrow_down:

grayskull/base/factory.py
91.17% <93.33%> (+1.17%)
:arrow_up:

grayskull/strategy/py_base.py
95.20% <95.20%> (ø)

grayskull/utils.py
97.38% <96.58%> (-2.62%)
:arrow_down:

grayskull/config.py
96.96% <96.96%> (ø)

grayskull/strategy/pypi.py
97.76% <97.76%> (ø)

... and 7 more

Help us with your feedback. Take ten seconds to tell us how you rate us.

We have this
setup_requires=["setuptools-scm", "setuptools>=30.3.0"],

and this
[build-system]
requires = ["setuptools>=30.3.0", "wheel", "setuptools_scm"]
build-backend = "setuptools.build_meta"

I presume the first is redundant?
Neither seem to actually install setuptools-scm. I learn something every day.

those are to build the project, they are not going to install setuptools-scm
Thanks for your contribution again


Fixing documentation for byte_f.

This PR fixes the documentation for byte_f, correcting from ASCII code of 'a' to ASCII code of 'f'.

Thanks!


Add subnet option for GCE custom subnetmode networks

Added a subnet option to support GCE custom subnetmode networks
Display GCE HTTPErrors properly

Looks good but can you add support for setting subnetwork via the brkt config command too? If this fix is needed right away, feel free to merge and submit as is.

@dramdass can you review again?

👍


Unset white background of SVG

Description
Currently, the SVG renderer forces the background to be white which doesn’t play well with dark mode. This is unlike the built-in renderer in VSCode which doesn't set it.
It’s caused by the following rule targeting the wrapping div.
.svgContainerStyle svg {
  background-color: white;
}

Steps To Reproduce
See https://github.com/denoland/deno/issues/22427
Expected Result

Actual Result

Additional Information

Jupyter v2024.1.1

I think the white background is intentional given this commit message: https://github.com/microsoft/vscode-notebook-renderers/commit/585e64138283cb420df3f35eb3d926cea81924cc
The main reason is that if you don't want the white background you can use the built-in renderer, otherwise there would be no need to have two renderers for the same content type. Some SVGs simply expect the output to be rendered on a white background.

Thank you for filing this issue, unfortunately as @Seally mentioned this was deliberate.
Currently we have no plans on changing this.
Closing as not planned


DIGITS running from nvidia-docker gives "ERROR: Check failed:" for AlexNet model with CUDA 8.0, cuDNN 5.1

I'm using GTX 1080 on Ubuntu 16.04 with CUDA 8.0 and cuDNN 5.1. The DIGITS is running from nvidia-docker to my localhost. While training my dataset with AlexNet/ GoogLeNet, DIGITS gives the following error :
ERROR: Check failed: status == CURAND_STATUS_SUCCESS (201 vs. 0) CURAND_STATUS_LAUNCH_FAILURE

This network produces output loss
This network produces output loss1/accuracy
This network produces output loss1/loss
This network produces output loss2/accuracy
This network produces output loss2/loss
Network initialization done.
Solver scaffolding done.
Starting Optimization
Solving
Learning Rate Policy: step
Iteration 0, Testing net (#0)
Ignoring source layer train-data
Ignoring source layer label_train-data_1_split
Test net output #0: accuracy = 0.291667
Test net output #1: loss = 1.20791 (* 1 = 1.20791 loss)
Test net output #2: loss1/accuracy = 0.395833
Test net output #3: loss1/loss = 3.7042 (* 0.3 = 1.11126 loss)
Test net output #4: loss2/accuracy = 0.291667
Test net output #5: loss2/loss = 1.29856 (* 0.3 = 0.389567 loss)
Check failed: status == CURAND_STATUS_

## What could be the possible issue? I'm also facing the same problem with DetectNet which returns "IO error". Hitting nvidia-smi returns following status:
+-----------------------------------------------------------------------------+

> | NVIDIA-SMI 367.48                 Driver Version: 367.48                    |
> |-------------------------------+----------------------+----------------------+
> | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
> | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
> |===============================+======================+======================|
> |   0  GeForce GTX 1080    On   | 0000:01:00.0      On |                  N/A |
> |  0%   45C    P2    52W / 270W |    488MiB /  8110MiB |      0%      Default |
> +-------------------------------+----------------------+----------------------+
>
> +-----------------------------------------------------------------------------+
> | Processes:                                                       GPU Memory |
> |  GPU       PID  Type  Process name                               Usage      |
> |=============================================================================|
> |    0      1030    G   /usr/lib/xorg/Xorg                             165MiB |
> |    0      1817    G   compiz                                          42MiB |
> |    0      2077    G   /usr/lib/firefox/firefox                         2MiB |
> |    0      2444    C   /usr/bin/python2                               111MiB |
> |    0      3554    C   /usr/bin/caffe                                 163MiB |

+-----------------------------------------------------------------------------+

Please don't spam our issue lists (see https://github.com/NVIDIA/DIGITS/issues/429#issuecomment-254559723, https://github.com/NVIDIA/nvidia-docker/issues/221).

The training runs fine with Lenet (28x28) greyscale model, but causes problem with AlexNet or GoogleNet. Is it strange? Is the problem is for nvidia-docker with CUDA 8.0??


Disable client not working

if i disable client and apply config, still the client is connected, how can i temporary block a client?Also guide how to change the default web username and password?can we see login history of client? can we get telegram or any other monitoring alert for user login and logout?
If i get answers to my problems i will buy you afew cofee :)

Hi,
When you disable a client and apply the config, wireguard-ui will write a new server config file. If your wireguard server got restarted properly, the client should be disconnected. Please verify if it was restarted. See README for a method to reload the wireguard server when its config changed.
You can change the login credential by editing file db/server/users.json
For now, there is no feature to show client login history yet.

Thanks for the response, can you guide any solution to monitor client login history? do you have plans to implement it?Can you guide how can i use wireguard-ui in a working server where already so many client keys exist?

As far as I know Wireguard itself doesn't have any feature to show the client login time/history. wg show command shows the latest handshake, maybe it is helpful for you?
Currently, Wiguard-UI will write a new config file from its own data. We don't have a feature to import an existing config file yet.

i need to access a network device in wireguard client network i am adding the ip in allowed ips but it is not added in wg0.conf, while it show the ip added in web, i tried to restart manually restart wireguard as well, but it is still same not added to conf file.I need it to be added as
AllowedIPs =<IP_ADDRESS>/32, <IP_ADDRESS>/32
where <IP_ADDRESS> is client ip and <IP_ADDRESS> is network need to be accessed through this client.


transpose(object)?

We have transpose(matrix) which transposes the rows and columns of a matrix (an array of arrays). But you might want similar functionality to transpose an object whose values are arrays into an array whose elements are objects.
function transpose(object) {
  var m = 0;
  for (var k in object) m = Math.max(m, object[k].length);
  for (var i = -1, transpose = new Array(m); ++i < m;) {
    var o = transpose[i] = {};
    for (var k in object) {
      o[k] = object[k][i];
    }
  }
  return transpose;
}

Where:
transpose({
  year: [2001, 2002],
  value: [1, 2]
})

Returns:
[
  {year: 2001, value: 1},
  {year: 2002, value: 2},
]

Should we try to overload d3.transpose to do both?
If so, how? The above implementation sort-of works for array-of-array input such as transpose([[0, 1, 2], [3, 4, 5]]), but returns an array of objects rather than an array of arrays. You could use Array.isArray to test whether the input is an Array and branch the behavior accordingly.
If not, what name should this new method have? transposeObject?
Also, if transpose(object) given an object whose values are arrays returns an array of objects, then transpose(array) given an array whose elements are objects should return an object whose values are arrays.
Maybe this is too magical.

I think it would be useful under the same name transpose, but with that name it absolutely must be involutive, ie transpose back [ {year: 2001, value: 1},  {year: 2002, value: 2}] to {year: [2001, 2002],  value: [1, 2]}. Which makes auto-detection a bit harder (array of array, array of objects, object of arrays).
I've made a few tests here https://observablehq.com/d/e546523c2f1fbe2f

Perhaps it’s worth introducing two new methods: one for converting an array of objects to an object of arrays, and another for converting an object of arrays to an array of objects. Somewhat related, there’s also been a discussion on a pivot operation #142.

Since there does not seem to be a conflict of definitions, I prefer to use transpose for the four cases: arrays of arrays [[]], arrays of objects [{}], objects of arrays {[]} and objects of objects {{}}.
https://github.com/d3/d3-array/pull/158


Constructor and documentation updates

After that last PR I realized I forgot to update Device() to make the address optional, and the documentation was wrong in a couple spots.  After fixing that I decided to make persist= an optional argument for everything (it was already an option for my ThermostatDevice).  While working on that I decided I hated how a bunch of stuff was handling init(), so I deleted it in everything that didn't actually need it and made the rest dynamically pass everything through (while updating any defaults as needed).
Finally I condensed the constructor documentation to just OutletDevice.py and __init__.py and changed everything else to "See OutletDevice"

As part of the groundwork for #185, DEVICEFILE_SAVE_VALUES now contains a list of keys which, if they exist in the Cloud.getdevices() result, are copied to devices.json.  I currently have the list set to ('category', 'product_name', 'product_id', 'biz_type', 'model', 'sub', 'icon', 'version', 'last_ip').  version and last_ip are currently not set anywhere but will eventually be populated by the scanner.
wizard.py seemed to have re-implemented half of tinytuya.Cloud, so that was cleaned up and now tinytuya.Cloud.getdevices() is the only code path to get the device list.

Welcome back @uzlonewolf !!!  😁
These changes make sense and the approach is far more elegant. During the review, I thought through any possible backward compatibility issue with the API and didn't see anything, though BulbDevice had me wondering.  It looks great.
Thanks for the wizard cleanup (the de-dup)!  That bugged me but never had time to clean it up.  And I love the Cloud.getdevices() updates for the extended device data details to devices.json!  I also like the clean approach with device_info() as the API to all devices.json details.
I feel like I need to do a good rewrite of the README to make these enhancement visible.
Thank you! 🙏


error: unclosed HTML tag unknown

#! ## Panic handler profiles

## When enabled, a minimal panic handler is provided by this crate.
## Instead of a panic message, "<unknown>" is displayed.
panic-handler = ["const_format"]

For some reason I can't write <tag> in doc comment.

That's a rustdoc thing. You need to escape it.  eg: `<unknown>`   or  \<unknown>


Assignment 5

How did you applied SAM? It doesn't work just by calling optimizer.step().

I used an open source implementation of the SAM optimizer that I applied in one of the configurations made.


Groups not updating properly in LDAP

If a new group is added in IAM, and an existing user is added to this group, the group will appear in the LDAP but with no users in it.  Additionally, if a user is removed from a group in IAM, LDAP does not update the group to show that the user is removed from it.
Is there a setting in iam.ldif or /etc/iam_ldap.conf that I'm missing?

Sounds more like a bug, there is a regular update task which should take care of all of that.

Ok, thanks, I'll see if I can build the source to try to debug the issue.

I've been going through the code, can you point out where the update task is located?  Also, I cannot find the AMI that you mention in the install instructions, does it still exist?

check src/com/denismo/aws/iam/LDAPIAMPoller.java.
pollIAM is the method which is called repeatedly, and it performs updates as necessary.

Thanks Denis.  I also found your pre-built AMIs in the Sydney zone :)

Ah, makes sense. Yes, I think I only produced AMI for ap-southeast-2 (that's where I am). Will update the documentation to reflect that. You should be able to copy though.

Hi Denis,
I too am experiencing the same issue that Shellcat-Zero reported.
Decided to ask you several questions (by placing them in three sections) since they are co-related to the troubleshooting process. All apologies if this posting is a bit verbose.
I. Groups Not Updating Propertly
When I add users to more than one group it doesn't show via ldapsearch or getent group on my client machine.
For example, when I use AWS Console and create the following groups:

testgroup1
testgroup2

And then proceed by creating these users:

testuser1
testuser2
testuser3

Added them to both groups via AWS Console:

testgroup1: testuser1, testuser2, testuser3
testgroup2: testuser1, testuser2, testuser3

When I log into my Linux box which has LDAP client configuration setup and I do the following:
getent group

These are the results:
testgroup1:*:1014:testuser1,testuser2,testuser3
testgroup2:*:1015:

Notice how testgroup2 does not display my users?
Likewise, when I do an ldapsearch:
ldapsearch -H ldap://server_ip_address:10389 -D "uid=admin,ou=system" -x -w secret -b "dc=iam,dc=aws,dc=org" "(cn=testgroup2)"

I get an empty result set:
# extended LDIF

# LDAPv3
# base <dc=iam,dc=aws,dc=org> with scope subtree
# filter: (cn=testgroup2)
# requesting: ALL
#
# testgroup2, groups, iam.aws.org

dn: cn=testgroup2,ou=groups,dc=iam,dc=aws,dc=org
objectClass: posixGroup
objectClass: iamgroup
objectClass: top
cn: testgroup2

gidNumber: 1015
# search result
search: 2
result: 0 Success

However, if I do an ldapsearch for testgroup1:
ldapsearch -H ldap://server_ip_address:10389 -D "uid=admin,ou=system" -x -w secret -b "dc=iam,dc=aws,dc=org" "(cn=testgroup1)"

Yields:
# extended LDIF
#

# LDAPv3
# base <dc=iam,dc=aws,dc=org> with scope subtree
# filter: (cn=testgroup1)
# requesting: ALL
#
# testgroup1, groups, iam.aws.org

dn: cn=testgroup1,ou=groups,dc=iam,dc=aws,dc=org
objectClass: posixGroup
objectClass: iamgroup
objectClass: top
cn: testgroup1
gidNumber: 1014

memberUid: testuser1
memberUid: testuser2
memberUid: testuser3

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1

Is this a bug in your aws-iam-ldap-bridge code or a configuration issue?
Tried it using ami-19533f23 you mentioned in the install instructions and am getting the same results.
II. Update to ApacheDS 2.0.0-M20?
Perhaps this Groups bug is related to ApacheDS 2.0.0-M17?
Are there any plans to update the aws-iam-ldap-bridge to run with ApacheDS 2.0.0-M20?
I tried to build your aws-iam-ldap-bridge with ApachaeDS 2.0.0-M20 by using the following steps:

Downloaded the latest apacheds distribution ApacheDS 2.0.0-M20.

Renamed the top-level folder to apacheds

Copied / moved apacheds into /aws-iam-ldap-bridge/dist directory

Issuing ant dist

It seems that the problems that exist are:

Older versions of ApacheDS were dependent on a JDK / JRE 1.6, whereas ApacheDS 2.0.0-M20 is dependent on JDK / JRE 1.7.

When I downloaded JDK 1.7 on my target LDAP server and changed the $JAVA_HOME to point ot JDK 1.7's root dir,

I was able to build the aws-iam-ldap-bridge by following the instructions above...
However the default.zip that comes bundled with your project has different iam.ldif configuration settings than the newest version (some entries are deprecated)...
Will be very grateful if you could indicate the correct process / procedure to upgrade this project against the newest version of ApacheDS 2.0.0-M20...
III. Debugging via Eclipse
When I imported your project into Eclipse it reported that a lot of the Amazon code is deprecated...
How would you recommend debugging your code using Eclipse?
Am able to build your Apache-2.0.0-M17 code using Eclipse but was wondering if you can suggest a way to use the Apache Studio (locally) or a standalone apacheds server to debug your code?
What I want to do is:

Set breakpoints via Eclipse

Build your apacheds server (containing the bridge) using ant dist

Run it locally or remotely

Use various ldapsearch queries that would launch the Eclipse debugger.

May I ask you how you wrote this? Do you use an IDE or just a plain editor like vim and just use print statement and logging statements?
Thanks you very much for taking the time to read all of this. Sorry if it seems too thorough.
Again, thank you for creating the IAM-AWS-LDAP Bridge!
-JD

First of all - thanks for the detailed description. Let me take a look at this tonight.

So, answering the questions:

It is not bug a limitation of the current implementation - I retrieve only the first group (search for "primaryGroup"). I need to check if this can be changed, I'd presume (but don't remember) that this has something to do with the limitations inside of either LDAP/Posix schema or something else.

But if there are no limitations, I will fix it then.

Upgrading to the new version is problematic. As you noticed, the version are significantly different. I spent lots of time upgrading from M13 to M17, and don't want to go through that pain again. Unless it is super-critical. But I don't think the problems you are having are related to the ApacheDS version, so hopefully we don't need to upgrade.

I can upgrade to the newer AWS SDK, as part of the fix for #1.

I did run ApacheDS with the debugging option (JAVA_OPTS="-agentlib:jdwp=transport=dt_socket,server=y,address=8000,suspend=y") and then attach to it using IntelliJ

Unfortunately, this is the limitation of the Posix schema:
dn: m-oid=<IP_ADDRESS>.<IP_ADDRESS>, ou=attributetypes, cn=nis, ou=schema
objectclass: metaAttributeType
objectclass: metaTop
objectclass: top
m-oid: <IP_ADDRESS>.<IP_ADDRESS>
m-name: gidNumber
m-description: An integer uniquely identifying a group in an administrative doma
in
m-equality: integerMatch
m-syntax: <IP_ADDRESS>.4.1.14<IP_ADDRESS>.27
m-singleValue: TRUE

It allows only a single value for group ID. I'll check if this can be extended - I don't want to modify the embedded schema, but may be I can use another property as an extension.

So, according this: http://www.openldap.org/lists/openldap-software/200307/msg00735.html, it should be possible just to add the user to multiple groups (memberUid supports a list) and that should do it. So I'll implement that.

And I confirmed the problem with deleting users - they don't get removed from groups. Neither when they are deleted, nor when they are removed from a group.

I've implemented the logic fixing both problems (multiple groups and deletions), but ran out of time testing. Will continue over the weekend.

Thank you so much!

This should be fixed. Both cases - removal of user, or removal of user from a group. I uploaded apacheds-0.2.2.zip onto S3.

Also the case of multiple groups should be fixed as well

Thanks Denis!  I'll redeploy with your updates.


adds gitattributes file to normalize line endings

Since I'm stuck using more than one platform. It might even be beneficial to more people than me.

merged in 7e5bdce


Feature/bugfix multifield support arrays

Bugfix for #1730

@badvision I think this needs to be rebased.

boy howdy... yeah I'm still working on it but that's a good idea.

That was one ugly rebase but I think we're in the clear on this branch.  I'll do some additional testing to be sure.  It also probably needs more test coverage before I can call it done because there was some additional logic added.

Pull Request Test Coverage Report for Build 3923

263 of 459 (57.3%)  changed or added relevant lines in 12 files are covered.
182 unchanged lines in 7 files lost coverage.
Overall coverage decreased (-0.6%) to 48.106%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/CheckboxComponent.java
3
4
75.0%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/GeneratedDialog.java
10
12
83.33%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/ContainerComponent.java
12
17
70.59%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/FieldComponent.java
29
35
82.86%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/FieldsetComponent.java
5
11
45.45%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/MultifieldComponent.java
12
19
63.16%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/AbstractContainerComponent.java
63
76
82.89%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/AbstractGroupingContainerComponent.java
34
55
61.82%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/FormComponent.java
88
121
72.73%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/ButtonComponent.java
0
102
0.0%

Files with Coverage Reduction
New Missed Lines
%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/ProcessErrorReportExcelServlet.java
1
66.22%

bundle/src/main/java/com/adobe/acs/commons/mcp/form/FieldComponent.java
1
85.23%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/processes/renovator/ReplicatorQueue.java
3
52.17%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/processes/renovator/MovingNode.java
10
43.59%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/processes/renovator/MovingAsset.java
11
51.52%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/processes/renovator/MovingFolder.java
28
0.0%

bundle/src/main/java/com/adobe/acs/commons/mcp/impl/processes/renovator/Renovator.java
128
41.57%

Totals

Change from base Build 3904:
-0.6%

Covered Lines:
11557

Relevant Lines:
24024

💛  - Coveralls

don't feel great about merging this because of the decrease in coverage (despite my last ditch effort there to increase the coverage by testing the Select component), but it is a major API change so better to do it with 4.0 than wait.


Can the ScienceMesh app can be enabled to specific groups in OC and NC?

In principle, OC and NC allows for that without any app specific code, apparently.
We should double check that.

It exists in the Appstore for each app to restrict usage to one or more groups.


⚠ ClamAV has degraded performance

In 02a654e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 452 ms

Resolved: ClamAV performance has improved in 3b3802b.


Stop using runtime type in ViewDataDictionary to determine ModelMetadata

#4116
greatly simplify rules for ModelMetadata; entirely remove metadata changes when Model is updated
update HtmlHelper.RenderPartialCoreAsync() to ensure metadata is not copied unless using existing model
note existing functional tests did not need to change

nits:

do not call virtual SetModel() method from constructor; now mostly redundant
add some missing doc comments
fix doc comment property versus type confusion; never need to specify ViewDataDictionary. prefix

/cc @rynowak

/cc @rynowak

:up::date: addressed var comment and answered the others

:shipit: - changed here seem fine all my comments are nitpicks on tests and comments

:up::date: FYI

:up::date:
Taking all the tests and none of the source changes into a new branch where I'll build. That'll make it easy to comment on if / when the new tests fail in the old world.
In the meantime, a few general comments:

It's almost-always Just Wrong:tm: to use runtime information when generating HTML. Unfortunately the previous ViewDataDictionary code updated ModelMetadata to match runtime types.
In some cases, switching to runtime types overwrote property metadata and lost data annotations. That primarily affected templates for leaf properties e.g. RazorPage<string> subclasses.
Overlapping this, we have a ViewDataDictionary copy constructor which preserves the declared type of a source VDD. This was unfortunately used when setting up a view component. In that scenario, the VDD was exposed to user code as a base ViewDataDictionary but would not allow assignment of values incompatible with the declared type.

Deeper background:

ViewDataDictionary instances are created in only a few places and almost-always copied from another VDD instance. The general idea is that TemplateInfo and other data just flows through while Model and ModelMetadata information may or may not be copied from source instances.
Type changes such as ViewDataDictionary<string> -> ViewDataDictionary<int> never happen. The source type is always either loosened e.g. ViewDataDictonary<string> -> ViewDataDictionaryinside@Html.PartialAsync()or tightened e.g.ViewDataDictionary->ViewDataDictionarydue to an@model int` directive.
Uninitialized non-Nullable value types are special cased.

:up::date: to restore more of the old behaviour while still preserving property metadata where possible.
Still working on changing the tests.

:up::date: tests working again

@rynowak: ViewDataDictionary has (and has had) a few almost-invariants (that are now a bit more visible in the code). Do you think the ModelExplorer setter should throw when the invariants below are violated? We don't even have a null check today.

ModelExplorer is never null
the declared model type can be assigned from ModelMetadata.ModelType
unless in a couple of special cases, ModelMetadata.ModelType can be assigned from Model
a ViewDataDictionary<{ValueType}> where the ValueType is not Nullable<T> and Model has never been set is one special case. Model will remain null in that case.
@Html.Display...() and @Html.Editor...() may be a special case as well. I seem to remember ModelExplorer allows Model to be incompatible with the ModelType due to corner cases in the ExpressionMetadataProvider (where the ModelType ends up being typeof(string)) but I can't recall the details.

All tests that fail without my changes are now marked.

Forgot about the functional tests last night. All tests that fail without my changes are now marked for realz.

:shipit: looks solid, I had a few comments but they are all nitpicks on tests and comments and whatnot

:up::date: FYI
Working on squishing, squashing and moving to release branch since this is approved for RC2...

a0c8834 and merged into dev


GitHub actions for ci

This is a pull request for the github-actions-for-ci repo

test/game.test.js failed:
App
✕ Contains the compiled JavaScript (5 ms)
Game
Game
✕ Initializes with two players (2 ms)
✓ Initializes with an empty board
✕ Starts the game with a random player (1 ms)
turn
✓ Inserts an 'X' into the top center
✓ Inserts an 'X' into the top left
nextPlayer
✕ Sets the current player to be whoever it is not (1 ms)
hasWinner
✓ Wins if any row is filled (1 ms)
✓ Wins if any column is filled (1 ms)
✓ Wins if down-left diagonal is filled
✓ Wins if up-right diagonal is filled

Fixed game.js file and allowed this.p2 to be set to the 'p2' variable passed from function

Already fixed issue in game.js but GitHub Actions workflow seems stuck? It's expecting:
Initializes with two players
Starts the game with a random player
Sets the current player to be whoever it is not

Fixed issue with 'Initializes with two players'

I've fixed the issue with game.js with 'Sets the current player to be whoever it is not'

Sets the current player to be whoever it is not

Fixed game.js

PASS test/game.test.js
App
✓ Contains the compiled JavaScript (3 ms)
Game
Game
✓ Initializes with two players (1 ms)
✓ Initializes with an empty board
✓ Starts the game with a random player
turn
✓ Inserts an 'X' into the top center (1 ms)
✓ Inserts an 'X' into the top left
nextPlayer
✓ Sets the current player to be whoever it is not (1 ms)
hasWinner
✓ Wins if any row is filled (1 ms)
✓ Wins if any column is filled
✓ Wins if down-left diagonal is filled
✓ Wins if up-right diagonal is filled

Fixed 'Starts the game with a random player' test

✓ Initializes with two players (1 ms)
✓ Initializes with an empty board
✓ Starts the game with a random player

Fixed tests
✓ Initializes with two players (1 ms)
✓ Initializes with an empty board
✓ Starts the game with a random player

Fixed tests
✓ Initializes with two players (1 ms)
✓ Initializes with an empty board
✓ Starts the game with a random player


pythonPackages.cmd2_8: remove

Motivation for this change
I'm not sure what to do about this one - alongside the up-to-date version of  pythonPackages.cmd2 we also have pythonPackages.cmd2_8 (0.8.0). It seems we've been keeping this for python 2.7 (see commit message 65b15ba6a96760125cc3984893f587af1ffacaac), and indeed cmd2 actually supports py2.7 right up to 0.8.6 (https://github.com/python-cmd2/cmd2/blob/master/CHANGELOG.md#085-april-15-2018).
But unfortunately the recent bump of pyparsing from 2.3.0 to 2.3.1 (c78bf91587a4692cc852c004866e83fdb7020f53) broke even 0.8.6's tests (probably because of https://github.com/pyparsing/pyparsing/blob/2809cc975277e5b8c9160e1bac903d414eab305d/CHANGES#L100). So we'd either have to disable more tests than I'd like or maintain an old version of pyparsing too. And seeing as there don't actually seem to be any in-tree reverse dependencies of cmd2_8, it seems most sensible to just remove it - we can't go on offering a whole parallel package selection for 2.7...
Things done

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

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

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

cc @teto

some attempted to fix the tests previously but as no package depends on it and it's python2 (come on), I am all for removing it.


Add a donation button?

Hi guys, since I plan to make the site completely free and no-profit, I need to implement a donation button somewhere, in the home or in a section, how can i do? It is possibile, for example to add a section in the top row and how? Thanks

The the layout.tpl file probably :) If you are not comfortable with coding, the best would be to hire a dev on Upwork or Toptal. Both are good for what you need and it wouldn't cost more than $100 for what you need to do.
By the way, do you mind to become a Patreon https://patreon.com/bePatron?u=3534366 today and support the further updates and features of the software you love?

Hi again @Aiaboseacabo
Let me know if you found my answer was helpful for you..? I'm sure you will find quite easily a great freelance who will be willing to implement a beautiful donation button on your social dating website.
If the question is solved for you, would you be kind to close it?

Thanks for the answer! Actually i can't use that money cause i'm a student
and my budget is very limited, maybe in the future.. that's a pity i don't
know how to implement the code in the files, i studied programming at the
high school but not javascript, if only i will find the time to learn...
Il giorno sab 4 mag 2019 alle ore 04:16 ♚ PH⑦ de Soria™♛ <
<EMAIL_ADDRESS>ha scritto:

Hi again @Aiaboseacabo https://github.com/Aiaboseacabo
Let me know if you found my answer was helpful for you..? I'm sure you
will find quite easily a great freelance who will be willing to implement a
beautiful donation button on your social dating website.
If the question is solved for you, would you be kind to close it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/pH7Software/pH7-Social-Dating-CMS/issues/519#issuecomment-489285871,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL32QDRSHSB62RV7TKA7CXDPTTWY3ANCNFSM4HHDV3CA
.


Color table filter support in canvas

Long story, only partly a feature request. I'd like to get some feedback from somebody with actual knowledge. :-)
Support for color table filters (1D transfer functions for RGB channels and even 3D) was dropped from Skia about two years ago. I complained back then but Skia's engineers were competely uninterested and unimpressed, they claimed nobody used it, they didn't want to support it any more, period. Flutter wasn't a thing back then, otherwise it probably would have been a strong argument. So, as Flutter was based on a later Skia version, it didn't have that from the beginning.
Sadly, this omission means that a whole lot of color/image manipulations are simply not possible now. We have color matrix filters but nothing else. No arbitrary gamma (canned sRGB is present but that's practically nothing), no way to make the equivalent of curves of photo editing programs (a multitude of image filters rely on these), no way to provide reasonable contrast/brightness manipulation, no way to use Photoshop-style gradient maps, no possibility to implement things like SVG's feComponentTransfer.
It can be worked around with a large amount of work (I implemented my own in OpenGL/WebGL) but that doesn't integrate with the canvas and requires async calls to a platform channel, which might be prohibitively slow and not supported inside a CustomPainter, for instance. What's even more unfortunate, the original sources removed were rather small and simple, the operations required very simple and straightforward GLSL/SkSL support, so I don't think anything was really gained by their removal in the first place.
Is there any chance to have this back?

Come to think of it, about the same applies to image filters. Skia has the support for convolution filters and all we get is a canned blur. There is no possibility of any displacment filter, sharpen, various distortions, anything.
To put it into a diferent perspective, mobile development with Xamarin and SkiaSharp offers all these as trivial operations. A simple example:
private void Unsharpen(SKCanvas canvas, SKBitmap bitmap, float gain) {
  float[] UnsharpKernel = {
      -0.00391f, -0.01563f, -0.02344f, -0.01563f, -0.00391f,
      -0.01563f, -0.06250f, -0.09375f, -0.06250f, -0.01563f,
      -0.02344f, -0.09375f,  1.85980f, -0.09375f, -0.02344f,
      -0.01563f, -0.06250f, -0.09375f, -0.06250f, -0.01563f,
      -0.00391f, -0.01563f, -0.02344f, -0.01563f, -0.00391f
    };

  using (var paint = new SKPaint {
    ImageFilter = SKImageFilter.CreateMatrixConvolution(new SKSizeI(5, 5), UnsharpKernel, gain, 0, SKPointI.Empty, SKMatrixConvolutionTileMode.Clamp, true),
  })
    canvas.DrawBitmap(bitmap, 0, 0, paint);
}

And we're stuck without them. Sad, if you ask me, very sad...

Hi @deakjahn
I'm not sure if I understood this issue right. can you elaborate in short, what this issue is about?
Thank you

Support for some features was removed from Skia years ago that they labeled as not required (sadly, they based their decision on their use of Skia, or those packages they saw the source code from). Back in those days, Skia was mostly used internally, to power Chrome and I don't know what else inside Google. Third parties were not really accounted for, much less those third parties where Skia people didn't even know what was actually required and used by developers. There was one such non-transparent third party, Xamarin with its (contributed but endorsed) SkiaSharp support but, for obvious reasons, Skia engineers couldn't care less. SkiaSharp simply removed those features from their wrapper implementation one by one, too, not being able to do anything else.
Flutter was not a thing back then, so I couldn't argue that "look, there is a whole world of people out there that might need some of these features and you can't really judge whether they will need it or not, so please, don't cripple existing functionality".
So, unfortunately, I'm afraid those things are gone forever now. As I mentioned in the OP, it can be worked around but it's not a workaround, it's creating your complete parallel implementation. Instead of a single class in Skia, I had to write my own OpenGL/WebGL based picture manipulation package to rely on. My OP was more like a plea to someone who is inside Flutter to see if there is any chance, ever, to incorporate things that are left out from Skia, maybe to put it back for Flutter's own use somehow. But I don't hold my breath, of course. Still, this means that Flutter, which itself might have different requirements than Skia in general, will be forever stuck with what Skia people decide to support.
The post was specifically about picture manipulation because practically everything that's needed for sophisticated picture tweaking (think Instagram-like filters or Photoshop-like modifications) are completely butchered, nothing left. I know that not every single developer out there needs those, for sure, but removing something that was already there and no, it didn't mean a very heavy bloat of megabytes carried along with little use, well, sad... :-))

I'm not sure if this will be added back, so Cc @Hixie to better handle this issue.

I'm not sure, either. :-)

Would arbitrary programmable shaders solve this use case for you?

You mean writing my own GLSL code? Sure, that would be the best. That's actually what I do now, with the added complexity that I have to cater for my own GL environment on the platform side and send the bitmap over and back on the platform channel, which is far from optimal. If it could be incorporated into the usual Skia operations (CanvasKit strictly on the web, of course), that would be wonderful.

We're not going to write this particular filter in the engine, but we will be exposing mechanisms to make writing these filters much simpler. Closing as dupe of https://github.com/flutter/flutter/issues/16296


fix pandas warnings in dataset generation

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-270/1 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-270/1/index.html

Codecov Report

Merging #270 into master will increase coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #270      +/-   ##
==========================================
+ Coverage   81.55%   81.56%   +0.01%
==========================================
  Files         133      133
  Lines        7535     7535
==========================================
+ Hits         6145     6146       +1
+ Misses       1390     1389       -1

Impacted Files
Coverage Δ

src/gluonts/dataset/repository/_lstnet.py
33.87% <0%> (ø)
:arrow_up:

src/gluonts/model/predictor.py
79.03% <0%> (+0.32%)
:arrow_up:

Job PR-270/2 is complete.
Docs are uploaded to http://gluon-ts-staging.s3-accelerate.dualstack.amazonaws.com/PR-270/2/index.html


There was an error processing your request: Could not analyze the repository: no .go files found

Unable to refresh go project /github.com/viant/endly
https://goreportcard.com/report/github.com/viant/endly

@BitQOne we've been experiencing some scaling issues lately. The report looks okay to me now so I'll close this. Feel free to reopen if it happens again.


Maintenance

@pjambet we use this gem extensively at @rivierapartners.
I'm interested in taking over the gem's maintenance.
@harrystech - if you are no longer using the gem, would you consider passing it to a new home?

@pboling I apologize for the delay in response here. I'm transferring ownership to @rivierapartners now.

@pboling turns out I don't have the permissions to do that. I'm still happy to transfer ownership to your account, if that works, and then you can do with it what you will.
Before I do that, however, I did realize that we still do depend on the gem being publicly accessible. Will you be able to keep it available on RubyGems?

@jclr Let me know if I can help, I guess I can either transfer ownership of the gem on rubygems to you or directly to @pboling

Thanks, @pjambet. Maybe you could transfer the ownership to me and I can take care of any further transfers.

I don't have any intentions to change any licensing or availability.  I publish all my gems on RubyGems.org :)

@pboling I have transferred ownership.
@pjambet you can transfer the RubyGems ownership directly to @pboling. Thanks!

@pjambet @irubnich @blahblahblah- Please add me as an owner on Rubygems

@jclr I am still not an admin on this repo.  What did you mean when you said you transferred ownership?

@pboling Apologies for not doing back then, but just added you now. @jclr I tried to add you but I don't know what your RubyGems handle is

@jclr Well, I have no idea how I didn't find you earlier then 🤦♂ but anyway, you're also an owner too on Rubygems, just in case.

Might have something to do with the fact that I just created my account 😉

I just re-issued the transfer. Hopefully it works this time.

Worked!


crono docker container fails to start

I get the following error when I try to start the crono container over docker-compose:
28.10.2015 12:35:37/usr/lib/python2.7/dist-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
28.10.2015 12:35:37  'Supervisord is running as root and it is searching '
28.10.2015 12:36:24/usr/lib/python2.7/dist-packages/supervisor/options.py:296: UserWarning: Supervisord is running as root and it is searching for its configuration file in default locations (including its current working directory); you probably want to specify a "-c" argument specifying an absolute path to a configuration file for improved security.
28.10.2015 12:36:24  'Supervisord is running as root and it is searching '
28.10.2015 12:36:24Unlinking stale socket /var/run/supervisor.sock

This might be fixed with PR #634 too, but I'm not sure.

I think we can close the issue right now, we got rid of supervisord so the error message (if still present) is going to be completely different. Feel free to open a new issue if needed.


omit from coverage.rc is ignored

So the high-level issue I want to resolve is to ignore test and migration files from the coverage report. The TEST_COVERAGE_WITH_MIGRATIONS flag isn't working for me (want_file from https://github.com/lincolnloop/django-discover-jenkins/blob/master/discover_jenkins/tasks/with_coverage.py#L93-L94 is never being executed for me because the measured_files list comes in empty anyways), which is okay, because I was planning on using the coverage.rc file anyways.
The problem with that is that the omit is being ignored
https://github.com/lincolnloop/django-discover-jenkins/blob/master/discover_jenkins/tasks/with_coverage.py#L78-L85
It appears that what's happening is that coverage is first processing the config_file, which properly sets the omits. Then, it reads the omit kwarg passed in, which, in my case, is empty. This, however, overwrites it, so it doesn't omit anything.
My current workaround is to put the omits as the folders setting, though the naming is a little strange (though the implementation works):
TEST_COVERAGE_EXCLUDES_FOLDERS = [
        '*/migrations/*',
        '*/tests.py',
        '*/test_*.py',
    ]

So the right affordances are in here to make it work, though it did take me some digging to figure out. I would be glad for a fix for the coverage.rc file to be honored in its entirety, but I would also be happy to just see a caveats in the documentation that omit in the coverage.rc file will be ignored and to use the other settings.
Let me know if I can provide any other information or help on this.

@StoicLoofah Sorry for taking too long, please try with master branch and open another issue if you find any problem.


glog: release 0.3.4

migrate to https://github.com/google/glog
use autoconf 2.69 / automake 1.14.1

Checking in the automatically generated files?

yeah, it used to check in files generated by autoconf etc.
in old days, it was recommended way? http://www.gnu.org/software/automake/manual/html_node/CVS.html
anyway, I don't object to auto generated file removal.

If you're used to doing that, I'd say no rush. I could send you a pull request later on to remove them, and possibly add the traditional autogen.sh script used to generate them.

ok


config: added config to set baseURL automatically

Description
This PR fixes #136

Added configuration file to detect platform and set basURL automaticallly
Made required changes in API calls according to configuraion

Thank you.


feat: filter-nodes flag

What this PR does / why we need it:
Adds a --filter-nodes flag to either "include" or "exclude" all selected labeled nodes from imagejob pods.
Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #291
Special notes for your reviewer:

@ashnamehrotra Because of the test restructure #298 , you'll need to rebase and move test/e2e/imagelist_skip_nodes and test/e2e/imagelist_include_nodes to test/e2e/tests/. There will be merge conflicts in the rebase, and you should choose the version of Makefile and .github/workflows/test.yaml from main


os_unfair macOs api addition

close #2917

r? @Amanieu
(rust-highfive has picked a reviewer for you, use r? to override)


The example does not work

React's hook limit was triggered!!   cli：vitev2.9+reactv18

I checked it and it works, https://stackblitz.com/edit/vitejs-vite-3pwswk?file=src%2FApp.jsx&terminal=dev

Please provider more details, reproducible demo will help a lot.

我检查了它，它的工作原理，https://stackblitz.com/edit/vitejs-vite-3pwswk?file=src%2FApp.jsx&terminal=dev
**编辑：**也适用于 React 18，https://stackblitz.com/edit/vitejs-vite-rvdrxe?file=src%2FApp.jsx&terminal=dev
请提供更多详细信息，可重复的演示将有很大帮助。
Maybe I didn't describe it carefully enough, but it does work. This error also occurred in the demo above, as shown below, and was feared to cause unexpected problems! demo

I see, thanks for providing details 👍
It's not a problem with Vite, it's an issue with React itself:
https://codesandbox.io/s/admiring-darkness-fko8un?file=/src/App.js
It looks that validation below is not safe anymore:
https://github.com/microsoft/griffel/blob/05635e139c200e609ddb531f40e144b65f9cdcf3/packages/react/src/makeStyles.ts#L8-L16

I will look into it on next week. This is not okay.

It looks that we can keep the check and do not produce errors 🎉
function isInsideComponent() {
  // React 18 always logs errors if a dispatcher is not present,
  // so a check with hooks with always produce errors
  // https://github.com/facebook/react/blob/42f15b324f50d0fd98322c21646ac3013e30344a/packages/react/src/ReactHooks.js#L26-L36
  if (React["useInsertion" + "Effect"]) {
    return !!React.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED
      .ReactCurrentDispatcher.current;
  }

  try {
    // eslint-disable-next-line react-hooks/rules-of-hooks
    React.useContext({});
    // React.useEffect();
    return true;
  } catch (e) {
    return false;
  }
}

P.S. I don't like to read React internals, but as it's a dev check it should be fine.

https://codesandbox.io/s/floral-bash-prwphq?file=/src/App.js

Thanks for the answer!

I'm able to reproduce the issue as well, for what it's worth. I'm glad to see the issue is already identified.

Was fixed in<EMAIL_ADDRESS>


Fix readme example

Return a useful error message to match the expected value. for issue #825

I think the way we want to address this is probably by creating an error handler middleware that ships with tide that we can use with this example, in order to demonstrate the use of ? in an endpoint. @yoshuawuyts @Fishrock123 do you agree?

I'm biased, but I think we should either just ship https://github.com/eaze/preroll/blob/latest/src/middleware/json_error.rs or ship a version which changes it's output based on the Accept header (defaulting to json).


how to use postLogoutRedirectUris?

Expected Behavior

Current Behavior

Context

how to use postLogoutRedirectUris? Is there an example?

You may find an example of configuring post logout redirect URIs in this merged PR.

Thanks for getting in touch, but it feels like this is a question that would be better suited to Stack Overflow. We prefer to use GitHub issues only for bugs and enhancements. Feel free to update this issue with a link to the re-posted question (so that other people can find it).