PhantomJS disconnects/crashes after completing all tests

Expected behavior

Karma runs all tests and reports overall success/failure at the end.

Actual behavior

Karma runs all tests (can see the console reporter reporting progress)
Waits browerNoActivityTimeout
Reports PhantomJS as disconnected.
Reports the tests overall as failed

Enviroment Details

Karma version (output of karma --version): 0.13.22

Relevant part of your karma.config.js file
browsers: ['PhantomJS'],
captureTimeout: 60000,
singleRun: true,

Steps to reproduce the behaviour
I've had a lot of difficulty narrowing it down. It started when adding a new test case for some very simple code, but if I run just that test case without or other 900 tests it passes. If I run every test except this one it passes.
The test case in question causes the build to fail if included with other tests even if I comment out the test body:
it('for scheduled flight with change in pacing should return [budget, pacing, startDate, endDate]', function () {
   /*flightService.save(saveData, saveData, {pacing: saveData.pacing});
   $rootScope.$digest();
   var validateProperties =  ['budget', 'pacing', 'startDate', 'endDate'];
   expect(commonValidationService.validate).toHaveBeenCalled();
   expect(commonValidationService.validate.calls.mostRecent().args[1]).toEqual(validateProperties);
   expect(restService.put).toHaveBeenCalled();*/
});

entire rest of the test suite crashes PhantomJS at the end of the test suite.

while:
xit('for scheduled flight with change in pacing should return [budget, pacing, startDate, endDate]', function () {
    /*flightService.save(saveData, saveData, {pacing: saveData.pacing});
   $rootScope.$digest();
   var validateProperties =  ['budget', 'pacing', 'startDate', 'endDate'];
   expect(commonValidationService.validate).toHaveBeenCalled();
   expect(commonValidationService.validate.calls.mostRecent().args[1]).toEqual(validateProperties);
   expect(restService.put).toHaveBeenCalled();*/
});

does not.
Any suggestions as to where I could start debugging this further would be very appreciated.

i have the same issue as yours..

Does the suite pass in another browser? If so it's probably some issue related to PhantomJS and its memory/resource constraints.

I see PhantonJS crash if I set phantomjsLauncher.exitOnResourceError to true in my config, even when there are no reported resource errors.

So we looked into this a bit more in our project. Checking in other browsers found that one of our dependencies (Pendo specifically) was making a HTTP request in it's config method. The test suite in question loaded a angular module that indirectly depended on this module in its beforeEach(). After 41 tests that called this module (=41 http requests), Phantom seemed to just fall over.
We just stubbed it out in our unit tests since that wasn't specifically what we were trying to test. Now there's no HTTP requests being made and we are no longer getting the disconnected issue.


Workflow dependency restructure

Fixes #154.
There are some subtleties here, around different way of handling ESS NeXus vs. Mantid files.
The I(Q) beam-center finder was a headache, but I hope by passing the workflow I managed to make it a bit more natural. There is potential room for improvement, by avoiding reloading data even if positions change, but I left it for now until we know if this actually is an issue in practice.

Looks good to me. Tests are failing but I assume this is expected?

Yes, failing due to unreleased and unreviewed changes in ESSreduce.


⚠ ClamAV has degraded performance

In 932c0df, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 499 ms

Resolved: ClamAV performance has improved in 165b5c5.


all: minor cleanup of helmfile statefiles

What this PR does / why we need it:
The default behavior for missing files is to error out so I don't think that we need to specify that in our releases.
Also removed installed: true for opensearch, as I only think that installed should be in the release spec if it is actually possible to disable.
Which issue this PR fixes:
Public facing documentation PR (if applicable)

Special notes for reviewer:
Add a screenshot or an example to illustrate the proposed solution:
Checklist:

[ ] Added relevant notes to WIP-CHANGELOG.md
[x] Proper commit message prefix on all commits
[ ] Updated the public facing documentation
Is this changeset backwards compatible for existing clusters? Applying:

[x] is completely transparent, will not impact the workload in any way.
[ ] requires running a migration script.
[ ] will create noticeable cluster degradation.
E.g. logs or metrics are not being collected or Kubernetes API server
will not be responding while upgrading.
[ ] requires draining and/or replacing nodes.
[ ] will change any APIs.
E.g. removes or changes any CK8S config options or Kubernetes APIs.
[ ] will break the cluster.
I.e. full cluster migration is required.

Chart checklist (pick exactly one):

[x] I upgraded no Chart.
[ ] I upgraded a Chart and determined that no migration steps are needed.
[ ] I upgraded a Chart and added migration steps.

Pipeline config (if applicable)
If you change some config options (e.g. add/rename variable or change the default value) you may need to update the config used by the pipeline in pipeline/config.

Looks good. Did you verify that removing missingFileHandler did not change anything?

The default behavior for missing files is to error out

I don't think you are right about that
https://github.com/roboll/helmfile/blob/v0.144.0/README.md?plain=1#L263


NO CONNECTION TO PIRATE NETWORK  PIRATE CHAIN WALLET-LITE v 1.0.6  CAN'T ACCESS MY WALLET

Support, Charles Swank here; Please read the following:
Pirate chain wallet-lite v 1.0.6 no connection: Charles Swank here; I have been directed to go here and go there for instructions
on "HOW TO RECONNECT Pirate chain wallet-lite v 1.0.6 for a week now and still no resolve. I am not a tech person so I don't understand the tech jargon, does that make sense? That is why I need step by step instructions to reconnect my wallet from somebody that knows their stuff. Giving me a computer generated script to follow is not going to work (TECH GARGON). I need instructions from some one that will take the time to guide me in laymen terms. Pirate Chain's FAQ "GENERAL QUESTIONS" does not ask the question, "How do you reconnect Pirate chain wallet-lite v 1.0.6 when I a receive a prompt that displays "NO CONNECTION!" I did loose my connection to my wallet and when I click the Pirate Chain thumb nail, the web page appears and the box in the upper left corner of the page. In that box, I click "RESCAN" and I get the prompt "NO CONNECTION". No rescan to bring blocks up to it's current block because there is no connection and therefore no access to my wallet. I have my seed phrase, but, that will not reconnect me to my wallet. I know that, because, I went to open a new wallet and it gives you two choices, you can open new wallet with new seed phrase or you can elect to recover your wallet with my seed phrase I already have. I have recovered my wallet using my seed phrase and recovered my account before so I know how it works. But, because I have NO CONNECTION, that page will not pop up and I get the two prompts, "NO CONNECTION" and ERROR: "Failed to fill whole buffer". I don't know how to recover my connection so I can recover my wallet. Please help me recover my connection. Below is an attachment that displays no connection to the Pirate Network.
Please respond to this email<EMAIL_ADDRESS>Thank you, Charles Swank

I am having the same issue.

como se resuelve este problema tengo el mismo problema ahora

update to the newest version


Latest harbor 1.5.2 tarball is not found.

I cannot download harbor 1.5.2 tarball listed on release page while previous 1.5.1 is available.
$ wget https://storage.googleapis.com/harbor-releases/harbor-online-installer-v1.5.{1,2}.tgz
--2018-07-28 16:24:04--  https://storage.googleapis.com/harbor-releases/harbor-online-installer-v1.5.1.tgz
Resolving storage.googleapis.com (storage.googleapis.com)... 2404:6800:4004:815::2010, <IP_ADDRESS>
Connecting to storage.googleapis.com (storage.googleapis.com)|2404:6800:4004:815::2010|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 31106 (30K) [application/x-compressed-tar]
Saving to: ‘harbor-online-installer-v1.5.1.tgz’
harbor-online-installer-v1.5.1.tgz                          100%[========================================================================================================================================>]  30.38K  --.-KB/s    in 0.002s
2018-07-28 16:24:04 (12.4 MB/s) - ‘harbor-online-installer-v1.5.1.tgz’ saved [31106/31106]
--2018-07-28 16:24:04--  https://storage.googleapis.com/harbor-releases/harbor-online-installer-v1.5.2.tgz
Reusing existing connection to [storage.googleapis.com]:443.
HTTP request sent, awaiting response... 404 Not Found
2018-07-28 16:24:04 ERROR 404: Not Found.
FINISHED --2018-07-28 16:24:04--
Total wall clock time: 0.4s
Downloaded: 1 files, 30K in 0.002s (12.4 MB/s)

1.5.2 image is  not published.

Just try 1.5.1 or 1.5.2

fixed, please try it again.


OMV 添加计划任务实现自动下载字幕，可是如何识别已有字幕

这个脚本很好，识别率也很高，我是在OMV 中添加了一个计划任务让他定时执行，可是有个问题是，假如我的字幕文件已经之前下载好了，那么在第二次执行任务的时候，他还会再去抓取下载一次，可以让他自动判断有字幕的就跳过吗？

请升级到 1.0.9：pip install subfinder --upgrade，新版本默认不查找已有本地字幕的视频文件。

请升级到 1.0.9：pip install subfinder --upgrade，新版本默认不查找已有本地字幕的视频文件。

升级不成功，是需要升级 python 吗？？
root@OMV:~# pip install --upgrade subfinder
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Requirement already up-to-date: subfinder in /usr/local/lib/python2.7/dist-packages (1.0.8)
Requirement already satisfied, skipping upgrade: requests in /usr/local/lib/python2.7/dist-packages (from subfinder) (2.22.0)
Requirement already satisfied, skipping upgrade: six in /usr/local/lib/python2.7/dist-packages (from subfinder) (1.12.0)
Requirement already satisfied, skipping upgrade: rarfile in /usr/local/lib/python2.7/dist-packages (from subfinder) (3.0)
Requirement already satisfied, skipping upgrade: gevent in /usr/local/lib/python2.7/dist-packages (from subfinder) (1.4.0)
Requirement already satisfied, skipping upgrade: bs4 in /usr/local/lib/python2.7/dist-packages (from subfinder) (0.0.1)
Requirement already satisfied, skipping upgrade: lxml in /usr/local/lib/python2.7/dist-packages (from subfinder) (4.3.4)
Requirement already satisfied, skipping upgrade: idna<2.9,>=2.5 in /usr/local/lib/python2.7/dist-packages (from requests->subfinder) (2.8)
Requirement already satisfied, skipping upgrade: chardet<3.1.0,>=3.0.2 in /usr/local/lib/python2.7/dist-packages (from requests->subfinder) (3.0.4)
Requirement already satisfied, skipping upgrade: certifi>=2017.4.17 in /usr/local/lib/python2.7/dist-packages (from requests->subfinder) (2019.6.16)
Requirement already satisfied, skipping upgrade: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python2.7/dist-packages (from requests->subfinder) (1.25.3)
Requirement already satisfied, skipping upgrade: greenlet>=0.4.14; platform_python_implementation == "CPython" in /usr/local/lib/python2.7/dist-packages (from gevent->subfinder) (0.4.15)
Requirement already satisfied, skipping upgrade: beautifulsoup4 in /usr/local/lib/python2.7/dist-packages (from bs4->subfinder) (4.7.1)
Requirement already satisfied, skipping upgrade: soupsieve>=1.2 in /usr/local/lib/python2.7/dist-packages (from beautifulsoup4->bs4->subfinder) (1.9.2)
Requirement already satisfied, skipping upgrade: backports.functools-lru-cache; python_version < "3" in /usr/local/lib/python2.7/dist-packages (from soupsieve>=1.2->beautifulsoup4->bs4->subfinder) (1.5)


opt: disallow mutations under union

PR: https://github.com/cockroachdb/cockroach/pull/40975
From release notes:

Mutations under UNION or UNION ALL are now disallowed; WITH should be used on top of the union operation instead. This restriction is temporary and will be lifted in a future release. [#40975][#40975] {% comment %}doc{% endcomment %}

The change is being reverted in https://github.com/cockroachdb/cockroach/pull/41356.


treeでやっていたそれぞれの処理を別クラスでやるようにした

Codecov Report

Merging #41 (be445d1) into master (3cdcd5b) will increase coverage by 0.37%.
The diff coverage is 86.79%.

@@            Coverage Diff             @@
##           master      #41      +/-   ##
==========================================
+ Coverage   89.04%   89.41%   +0.37%
==========================================
  Files           9        9
  Lines         438      463      +25
==========================================
+ Hits          390      414      +24
- Misses         26       27       +1
  Partials       22       22

Impacted Files
Coverage Δ

tree_mkdir.go
66.66% <66.66%> (ø)

tree_spread.go
81.39% <81.39%> (ø)

tree_grow.go
98.18% <98.18%> (ø)

programmable.go
87.75% <100.00%> (+1.70%)
:arrow_up:

tree.go
87.30% <100.00%> (+1.58%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3cdcd5b...be445d1. Read the comment docs.


tuxedo rnaseq pipeline fails on read files with spaces

'samtools view -Su /scratch/tmp/m0vTd6q_Uk/Rocket/1009714.9/Phage_3_5/replicate1/Phage 3.5_R1.fastq.sam | samtools sort -o - - > /scratch/tmp/m0vTd6q_Uk/Rocket/1009714.9/Phage_3_5/replicate1/Phage 3.5_R1.fastq.bam'
Unescaped command line argument getting through.

This has been fixed for a bit. https://github.com/aswarren/Prok-tuxedo/commit/20a634e886b4b06423c323877c25906f922b7ffe


How can implement Modular CSS on this project

How can implement Modular CSS on this project. this is what i have done so far in my webpack config.
  webpackConfig.module.loaders.push({
      test: /\.scss$/,
      loader: ExtractSASS.extract(['style', 'css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]', 'sass']),
    });
  } else {
    webpackConfig.plugins.push(
      new Webpack.HotModuleReplacementPlugin()
    );

    webpackConfig.module.loaders.push({
      test: /\.scss$/,
      loaders: ['style','css-loader?modules&importLoaders=1&localIdentName=[name]__[local]___[hash:base64:5]', 'sass'],
    });

Is there something wrong with this.
also here is picture of my file structure

Please let me know what the best way to do this?

There is already webpack scss loader in project.
You can import  your components .scss files in bundle.scss file.
In bundle.scss  file
@import './components/app';

app.scss file is under component folder which contains styles
body {
  font-size: 16px;
}

You can see my last commit now  607ee0feede407f82e3f4a0c72d331c8aeced5fe


Not updating assets

I am running:
jamf2snipe -c
Initial run works perfectly, created all the records with the right category, manufacturer, fieldsets etc.
Subsequent runs do not update the records with the info specified in the settings.conf file. There are no errors given. The account that was used to create the API token has been confirmed as able to edit any of the assets.
Debug output of from one item from Jamf:
INFO:root:Processing entry 14 out of 14 - JAMFID: 34 - NAME: <ComputerName> DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): <JSS URL> DEBUG:urllib3.connectionpool:https://<JSS UR>:8443 "GET /JSSResource/computers/id/34 HTTP/1.1" 200 26860 DEBUG:root:Got back a valid 200 response code. DEBUG:root:Returning: <snip - All JAMF info, looks correct> DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): <SNIPE-IT URL> DEBUG:urllib3.connectionpool:https://<SNIPE-IT URL>:443 "GET /api/v1/hardware/byserial/<Mac Serial Number> HTTP/1.1" 200 1469
Computer settings in the settings.conf file:
[computers-api-mapping] name = general name _snipeit_mac_address_1 = general mac_address _snipeit_os_version_6 = hardware os_version _snipeit_cpu_8 = hardware processor_type _snipeit_ram_9 = hardware total_ram
Checked and double checked, the custom field IDs are correct as well as the JSS side of things is also correct.
Running it on an Ubuntu 18.04 server (the snipe-it server) with Python 3.6

I think most of this section should be passing messages in debug mode.
You should see either:
"DEBUG:The payload for the snipe update is:"
or
"DEBUG:Skipping the payload, because it already exits."
or
"DEBUG:Skipping the payload, because it already exists, or the Snipe key we're mapping to doesn't."
or
"DEBUG: Found the field, and the value needs to be updated from {} to {}"
I don't see any of these in the log snipits you posted. Can you try searching for them and paste the relevent bits when you run it with jamf2snipe -d ?

None of that shows up at all for the asset records. I was actively looking for some indication of it attempting to update in Snipe. What I pasted is a complete start to finish for each identified asset, all 14 of them have the exact same lines.
That said, I will give it another go and report back.

Bizarrely I just ran it, and it actually did pull and sync the data, but only for 2 out of the 14 macbooks I am working with.

The word "payload" does not appear in the debug output at all.
Here is the complete output, sanitised.
`./jamf2snipe -c -d
INFO:root:Searching for a valid settings.conf file.
DEBUG:root:Checking for a settings.conf in /opt/jamf2snipe ...
INFO:root:Great, we found a settings file. Let's get started by parsing all fo the settings.
INFO:root:The configured JAMFPro base url is: https://:8443
INFO:root:The configured JAMFPro username we'll be connecting with is:
DEBUG:root:The configured password to access the API is:
INFO:root:The configured Snipe-IT base url is: https://
DEBUG:root:The API key you provided for Snipe is:
INFO:root:The default status we'll be setting updated computer to is: 2 (I sure hope this is a number or something is probably wrong)
INFO:root:The configured JAMFPro base url is: 3 (Pretty sure this needs to be a number too)
INFO:root:Creating the headers we'll need for API calls
DEBUG:root:Request headers for JamfPro will be: {'Accept': 'application/json'}
Request headers for Snipe will be: {'Authorization': 'Bearer ', 'Accept': 'application/json', 'Content-Type': 'application/json'}
DEBUG:root:Checking the settings.conf file for valid JAMF subsets of the JAMF API so mapping can occur properly.
INFO:root:Found subset general: Acceptable
INFO:root:Found subset general: Acceptable
INFO:root:Found subset hardware: Acceptable
INFO:root:Found subset hardware: Acceptable
INFO:root:Found subset hardware: Acceptable
INFO:root:SSL Verification is set to: True
INFO:root:Running tests to see if hosts are up.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET / HTTP/1.1" 302 366
DEBUG:urllib3.connectionpool:https://:443 "GET /login HTTP/1.1" 200 1335
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET / HTTP/1.1" 401 None
INFO:root:We were able to get a good response from your Snipe-IT instance.
INFO:root:We were able to get a good response from your JAMFPro instance.
INFO:root:Finished running our tests.
INFO:root:Getting a list of computer models that snipe knows about.
DEBUG:root:Calling against: https:///api/v1/models
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/models HTTP/1.1" 200 None
DEBUG:root:Got a valid response that should have 14 models.
DEBUG:root:Parsing the 14 model results for models with model numbers.
DEBUG:root:The model, AP230, did not have a model number. Skipping.
DEBUG:root:The model, AP350, did not have a model number. Skipping.
INFO:root:Our list of models has 12 entries.
DEBUG:root:Here's the list of the 12 models and their id's that we were able to collect:
{'CN65': 213, 'XE500C12': 212, 'C423': 211, 'C202SA': 209, 'C740': 210, 'C204': 208, 'MacBookPro15,2': 207, 'MacBookAir8,2': 206, 'MacBookPro16,1': 205, 'MacBookAir8,1': 204, 'WS-C2960X-24PD-L': 203, 'WS-C2960X-48FPD-L': 202}
DEBUG:root:Calling for JAMF computers against: https://:8443/JSSResource/computers
The username, passwords, and headers for this GET requestcan be found near the beginning of the output.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers HTTP/1.1" 200 491
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Calling for JAMF mobiles against: https://:8443/JSSResource/mobiledevices
The username, passwords, and headers for this GET requestcan be found near the beginning of the output.
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/mobiledevices HTTP/1.1"<PHONE_NUMBER>
DEBUG:root:Got back a valid 200 response code.
INFO:root:Received a list of JAMF assets that had 15 entries.
INFO:root:Starting to Update Inventory
INFO:root:Processing entry 1 out of 15 - JAMFID: 6 - NAME: PatientZero
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/6 HTTP/1.1" 200 27472
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1670
INFO:root:Processing entry 2 out of 15 - JAMFID: 15 - NAME: LR-LPT-15083
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/15 HTTP/1.1" 200 28769
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1519
INFO:root:Processing entry 3 out of 15 - JAMFID: 16 - NAME: Picard-16
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/16 HTTP/1.1" 200 32471
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1661
INFO:root:Processing entry 4 out of 15 - JAMFID: 17 - NAME: HV-LPT-15086
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/17 HTTP/1.1" 200 28916
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
INFO:root:Processing entry 5 out of 15 - JAMFID: 21 - NAME: OK-LPT-15085
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/21 HTTP/1.1" 200 26389
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
INFO:root:Processing entry 6 out of 15 - JAMFID: 23 - NAME: HV-LPT-14952
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/23 HTTP/1.1" 200 24113
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
INFO:root:Processing entry 7 out of 15 - JAMFID: 26 - NAME: LR-LPT-15088
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/26 HTTP/1.1" 200 28265
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
INFO:root:Processing entry 8 out of 15 - JAMFID: 27 - NAME: EN-LPT-15159
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/27 HTTP/1.1" 200 31543
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
INFO:root:Processing entry 9 out of 15 - JAMFID: 28 - NAME: HV-LPT-15090
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/28 HTTP/1.1" 200 29049
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
INFO:root:Processing entry 10 out of 15 - JAMFID: 30 - NAME: HV-LPT-15089
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/30 HTTP/1.1" 200 24642
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
INFO:root:Processing entry 11 out of 15 - JAMFID: 31 - NAME: OK-LPT-15087
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/31 HTTP/1.1" 200 25326
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
INFO:root:Processing entry 12 out of 15 - JAMFID: 32 - NAME: EN-LPT-150982
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/32 HTTP/1.1" 200 27579
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1477
INFO:root:Processing entry 13 out of 15 - JAMFID: 33 - NAME: DO-LPT-14869
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/33 HTTP/1.1" 200 22152
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
INFO:root:Processing entry 14 out of 15 - JAMFID: 34 - NAME: DO-LPT-16139
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/34 HTTP/1.1" 200 26860
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1668
INFO:root:Processing entry 15 out of 15 - JAMFID: 35 - NAME: DO-LPT-16169
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:8443 "GET /JSSResource/computers/id/35 HTTP/1.1" 200 26567
DEBUG:root:Got back a valid 200 response code.
DEBUG:root:Returning:
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1):
DEBUG:urllib3.connectionpool:https://:443 "GET /api/v1/hardware/byserial/ HTTP/1.1" 200 1476
`

From this line you should have also had some addtional text in your output that I'm not seeing here either. Does that line exist in your local copy?

Yes, it is in there, same line number and everything. I downloaded the script by just curling: https://raw.githubusercontent.com/ParadoxGuitarist/jamf2snipe/34b740d1178d855111b1f88fa814407f7e04ad9d/jamf2snipe
So i am 99.9999% sure I have the right script and version.

Hang on a second. Reading this code, that section compares the update time in Jamf to the update time in Snipe, and if you have a device that has not checked in for some time with Jamf, then that date will almost certainly be older than the update date in Snipe if you are adding the asset way after it was deployed.
So I ran the script for the first time on say April 20th, but the last time the computer checked in and update was say April 10th, then it will always fail that check, since April 10 is older than April 20th.
Have I got that right?
This could explain why I now have three random devices that have those fields imported.

Got it. If I force an inventory update on the computer, it changes the last inventory date in the JSS, which is then newer than the modified date in Snipe, and therefore it pulls and syncs the data.
I would suggest a few things around this, and I will submit them as feature requests:

If the referenced field in the settings.conf field is empty in the Snipe, then it should pull that from the JSS regardless of the date codes.
There should be an info message if/when that check returns false. Something like INFO:root:Jamf check in date is older than Snipe modification date so there is nothing to sync, force an inventory update to rectify if this is incorrect or something like that.


refactor NB for softcoded sfreq

[x] softcoded sfreq Bruxism inter
[x] softcoded sfreq MEMA inter
[x] refactor bruxism intra-subject
[x] refactor MEMA intra-subject
[x] clean combine NB
[x] combine MEMA and bruxism computation into a single script #88 .
[ ] extend combine NB with full results report
[x] combine NB: fix management of bruxism and MEMA files when only one is available

closes #84
closes #88

@RobinGuillard I couldn't make the analysis of the results for combine because of time but the rest is working. You need to run the script on your compute and push the new .pk first.
You can run the following script in the second cell of the combine NB:
%run ../compute_results.py --bruxism True --mema True --overwrite True

Note the --overwrite True that will overwrite the results, without doing that, the script will do nothing.


should be utf-32?

please search "with the U prefix is a UTF-32 character" in this page, in the section there is a word "utf-8", i believe it should be utf-32?

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

ID: 8ebb90bf-a25a-cb4c-56d0-d46cc341d14b
Version Independent ID: e709e8b2-2a41-f66b-26cd-762a631817cc
Content: String and Character Literals  (C++)
Content Source: docs/cpp/string-and-character-literals-cpp.md
Product: visual-cpp
Technology: cpp-language
GitHub Login: @mikeblome
Microsoft Alias: mblome

@wangzimei Fixed, thanks for pointing that out.


The spinning icon is still showed when a request is canceled

The spinning icon that is showed when the streaming response has not started does not disappear when a request is canceled. We must click clear conversation to remove it. It would be better if that icon could be hided on request cancel

Thanks for catching this -- fixed in 1.3.15.
A This request was aborted message is now also appended to the conversation window.

Good. Just a remark: the "Bc: The operation was aborted." notification is not necessary, we already have the message. As it requires an action to close the notification it is annoying

Yeah, that's a good point. This no longer appears in 1.3.16.


DM and TiDB has different behaviour for FK

Is your feature request related to a problem? Please describe
DM 同步时出现报错：外键约束中被关联的表没有创建

TiDB 对于外键约束行为如下，会跳过检查：

Describe the feature you'd like
DM 与 TiDB 的行为保持一致，都可以跳过外键约束的检查
Describe alternatives you've considered
No response
Teachability, Documentation, Adoption, Migration Strategy
No response

It is caused by DM wants to handle statements that refer another table, like CREATE TABLE ... LIKE . For these statements, DM will fetch the refered tables from downstream. DM uses the AST visitor below to get all table names in a statement and will fetch tables according to the table names.
https://github.com/pingcap/tiflow/blob/350821b95314a149850a3912f2424bbac2b01f5a/dm/pkg/parser/common.go#L68
We should skip the table name under FOREIGN KEY, TiDB don't need it.

/assign ForwardStar

/run-verify


Context menu not working on Windows

About a year ago the context menu for "git gui here" and "git bash here" here stopped working. I thought it will get fixed but everytime I download new version it is still not working. So I have resorted to try and edit the windows registry manually but no matter what, I was not able to make it work.
So is this some weird bug only on my work station or is there a quickfix for it?

Hey @ivanjaros,
Thanks for reporting your issue, but as you may see in the issue template, issues about git on windows should be reported on the repository: https://github.com/git-for-windows/git


[IMPROVEMENT] Reject DR volume creation for v2 volume

Is your improvement request related to a feature? Please describe (👍 if you like this request)
Reject DR volume creation for v2 volume.
The rejection will be removed after supporting DR volume feature.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

Verified on master-head 20240111

longhorn master-head https://github.com/longhorn/longhorn/commit/1d755966981aab582afa978c739e04940172cbef
longhorn-manager master-head https://github.com/longhorn/longhorn-manager/commit/eeda02bea1f7529aedc6ad6f8ff3251b07a84405

The test steps

https://github.com/longhorn/longhorn/issues/7627#issuecomment-1886289982

Result passed

When updating volume.spec.standby to true, the request is rejected, and the following error is displayed
# volumes.longhorn.io "vol-0" was not valid:
# * : standby is not supported for data engine v2

When attempting to create a DR V2 volume from a backup using the UI, an error is shown:  failed to create volume: unable to create volume vol-0-v2: admission webhook "validator.longhorn.io" denied the request: standby is not supported for data engine v2


hello 0.1.0-15759441+autotest_by_mosteo@kukumo

Created via alr publish with alr 2.0-dev+beta2

Closed using alr 2.0-dev+beta2 with reason: 'automated testing'


typo: Markeplace -> Marketplace

@nschonni : Thanks for your contribution! The author, @gewarren, has been notified to review your proposed change.


Category Slug should be select type field

Bug report
Title
Category Slug should be select type field
Issue Description:
As currently admin need to enter category slug which can be difficult task to remember or copy slug from category page, and any single misspelling can cause 404 error on front end, so it would be better that we make that field as select type and display the tree of slugs
Preconditions
1. framework Version. Master

Steps to reproduce
1. step1: create header content for velocity theme

Expected result:
should be select type filed as like we have in cart rule where we display complete tree of category
Actual result:
admin needs to enter value

Not feasible


Review /dotnet/JsApiDocs

Review issues and PR's in https://github.com/dotnet/JsApiDocs

Fixed in https://github.com/dotnet/JsApiDocs/pull/20
Merge to live failed.


try with windows build again

conda-forge/staged-recipes#19315 (comment)
Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

Please ignore the review request (sorry). Just trying to run it again to see if it was an issue with Azure or not. Will ping you if it's ready to merge. Feel free to remove yourself as a reviewer in the meantime.

@conda-forge-admin, please rerender


chore(main): release 0.10.0

:robot: I have created a release beep boop
0.10.0 (2024-05-24)
✨ New Features

Created text input (#78) (57c72f4)
Update colors tokens (#81) (418cc1d)

📈 Documentation

Add introduction page to widgetbook (f1eb918)
Add new addons to widgetbook (f1eb918)

⛓ Dependencies

Update example app / widgetbook deps (f1eb918)

🧹 Miscellaneous Chores

Add deprecation warning on breaking colors (418cc1d)
Add version to example app and widgetbook (#79) (f1eb918)
update example app web implementation (f1eb918)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ZebraDevs/zeta_flutter/releases/tag/v0.10.0 :sunflower:


bg-* classes before p-* and m-* classes

In the Prettier plugin blog post it says:

The actual order of the different utilities is loosely based on the box model, and tries to put high impact classes that affect the layout at the beginning and decorative classes at the end...

However the Prettier plugin is moving bg-* before padding p-* and margin m-* classes which is not what I would expect.
I would have thought that bg-* classes would fall into the "decorative" camp and should be placed after m-* and p-* classes.
For example:
// before (expected)

// after (plugin output)

I don't want to be "that guy" bike shedding over class order, but I have always followed the same order/line of thinking as the blog post above—listing bg-* classes after display, padding and margin classes since they are more presentational/decorative.
Just wanted to see if this was the expected order and if not—is there any chance of moving the bg-* classes after padding and margin classes?
Thanks for your consideration.

Hey! My thinking on this one was just that background color affects even the padded area of an element, so working from the outside in it made sense to me that it would go margin -> border -> background -> padding.
Margin definitely comes first though (just tested):

I don't feel super strongly about this really but also don't want to bike-shed over it either so not something I plan to change right now. Hope that explanation is at least helpful!

I don't like bg-* placed before p-* either. It is so inconvenient to find and change padding. Please move decorative classes like, bg-*, text-* (color), rounded-*, etc, after the classes which affected the layout/size of the element.


Youtube doesnt allow download of .3gp Files anymore, only .mp4 (therefore making downloading of <=240p Videos very inconvenient)

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2019.02.18. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2019.02.18

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

youtube-dl "https://www.youtube.com/channel/UCUpkp-6fXuG9dqfoJ99XTmw/videos" -v --playlist-end 1 --list-formats
[debug] System config: []
[debug] User config: [u'--match-filter', u'!is_live', u'--retries', u'infinite', u'--restrict-filenames', u'-i', u'-o', u'/data/Downloads/%(title)s.%(ext)s', u'-f', u'best[height<=360]', u'--console-title', u'--http-chunk-size', u'10M', u'--hls-prefer-native']
[debug] Custom config: []
[debug] Command-line args: [u'https://www.youtube.com/channel/UCUpkp-6fXuG9dqfoJ99XTmw/videos', u'-v', u'--playlist-end', u'1', u'--list-formats']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.02.18
[debug] Python version 2.7.15rc1 (CPython) - Linux-4.15.0-45-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.4, ffprobe 3.4.4, phantomjs 2.1.1, rtmpdump 2.4
[debug] Proxy map: {}
[youtube:channel] UCUpkp-6fXuG9dqfoJ99XTmw: Downloading channel page
[youtube:playlist] UUUpkp-6fXuG9dqfoJ99XTmw: Downloading webpage
[download] Downloading playlist: Uploads from Puffin Forest
[youtube:playlist] playlist Uploads from Puffin Forest: Downloading 1 videos
[download] Downloading video 1 of 1
[youtube] E3O7AbbE-us: Downloading webpage
[youtube] E3O7AbbE-us: Downloading video info webpage
[info] Available formats for E3O7AbbE-us:
format code  extension  resolution note
140          m4a        audio only DASH audio  133k , m4a_dash container, mp4a.40.2@128k, 59.88MiB
160          mp4        256x144    144p   62k , avc1.4d400c, 25fps, video only, 13.53MiB
133          mp4        426x240    240p  135k , avc1.4d4015, 25fps, video only, 24.89MiB
134          mp4        640x360    360p  227k , avc1.4d401e, 25fps, video only, 35.92MiB
135          mp4        854x480    480p  383k , avc1.4d401e, 25fps, video only, 63.39MiB
136          mp4        1280x720   720p  552k , avc1.4d401f, 25fps, video only, 102.11MiB
137          mp4        1920x1080  1080p  972k , avc1.640028, 25fps, video only, 168.03MiB
18           mp4        640x360    medium  265k , avc1.42001E, mp4a.40.2@ 96k (44100Hz), 122.57MiB
22           mp4        1280x720   hd720  349k , avc1.64001F, mp4a.40.2@192k (44100Hz) (best)
[download] Finished downloading playlist: Uploads from Puffin Forest

Simple, 3gp Files are somehow no longer available on Youtube, I tried checking random older Videos that I already downloaded as 3gp too, and those give the same lack of <=240p Video Format (that isn't Video only), meaning Youtube changed something and now I have this Issue.
When I watched the Videos regularly in the Browser they still had 144p and 240p available, so I guess Youtube does some weird thing of playing two Files at the same time, one Audio Only and one Video Only, but this is pure speculation, and could also just be a minor formatting thing causing youtube-dl to not find the format in question as available.
This issue appeared like a few hours ago, so it cannot be a duplicate, I thought it would fix itself or was just Youtube taking ages to compile the 3gp Formats (which happens all the time because they tend to do it on demand, so trying to download a minute later usually makes 3gp available, but now not anymore)
To make the Issue short "best[height<=240]" no longer works on Youtube, since a few hours. That's all.

This is expected behavior. There are no best format with height<=240.

Wait what? That is not correct, it has always been available for years until now, I would have at least looked if it somehow just doesn't find the 3gp Formats on Youtube anymore instead of instant invalidating the Issue. Sure Youtube can be blamed for no longer making them available if that is the case, but its something to at least look at, if Youtube just changed the List in a way that doesn't parse right.

Youtube does not provided 3gp any longer. That's it. All questions should be addressed to them.

Thank you for the clarifying answer, have a nice day. ^^
Time to download the format that is twice the size and stutters sometimes in VLC Media Player when I scroll a few seconds back and forth I guess.


main.ts not triggered by running dev.ts

I'm assuming this is a bug (either in my code or Fresh) and not my misunderstanding but if I run deno run -A --unstable --watch=static/,routes/ dev.ts , my console.log statements in main.ts are not outputting.  Here's the code (mostly untouched from the project init):
dev.ts
#!/usr/bin/env -S deno run -A --watch=static/,routes/

import dev from "$fresh/dev.ts";
import config from "./fresh.config.ts";

import "$std/dotenv/load.ts";

await dev(import.meta.url, "./main.ts", config);

main.ts
/// <reference no-default-lib="true" />
/// <reference lib="dom" />
/// <reference lib="dom.iterable" />
/// <reference lib="dom.asynciterable" />
/// <reference lib="deno.ns" />
/// <reference lib="deno.unstable" />

import "$std/dotenv/load.ts";

import { start } from "$fresh/server.ts";
import manifest from "./fresh.gen.ts";
import config from "./fresh.config.ts";

console.log("Starting main...");

await start(manifest, config);

console logs
chris@chris-desktop:~/dev/deno/kv_enqueue_test$ deno run -A --unstable --watch=static/,routes/ dev.ts
Watcher Process started.
The manifest has been generated for 4 routes and 1 islands.

 🍋 Fresh ready
    Local: http://localhost:8000/

I expected to see Starting main....  My use case is trying to register a KV queue listener in the main.ts for use in both dev and prod.  I assumed that main.ts would always be executed.

Ah, I see reading the dev_command.ts code that main.ts is not executed by dev.ts if a plugin (such as tailwind in my case) in passed in as an option.  In which case, where do I put app initialization code which needs executed once on server startup and can be used by both dev and prod development without duplication?

Yeah this used to work in 1.4.2, but seems to have changed in 1.4.3 causing main.ts to no longer run.

@cknight, are you referring to something like https://fresh.deno.dev/docs/examples/init-the-server? I think this needs to get changed to take into consideration the change described by #1735.
I believe the proper place to put this shared initialization code is now in fresh.config.ts.  With a clean project I make the change...
diff --git a/fresh.config.ts b/fresh.config.ts
index 548e16a..b636973 100644
--- a/fresh.config.ts
+++ b/fresh.config.ts
@@ -2,6 +2,8 @@ import { defineConfig } from "$fresh/server.ts";
 import twindPlugin from "$fresh/plugins/twind.ts";
 import twindConfig from "./twind.config.ts";

+console.log("hello from config");
+
 export default defineConfig({
   plugins: [twindPlugin(twindConfig)],
 });

And when I run deno task start I see:
Task start deno run -A --watch=static/,routes/ dev.ts
Watcher Process started.
hello from config
The manifest has been generated for 5 routes and 1 islands.

 🍋 Fresh ready
    Local: http://localhost:8000/

And then I do deno task build:
Task build deno run -A dev.ts build
hello from config
The manifest has been generated for 5 routes and 1 islands.
Assets written to: /Users/reed/code/temp/1751/_fresh

And finally deno task preview (which invokes main.ts):
Task preview deno run -A main.ts
hello from config
Using snapshot found at /Users/reed/code/temp/1751/_fresh

 🍋 Fresh ready
    Local: http://localhost:8000/

To me this seems to prove that fresh.config.ts is the right spot for common code. @marvinhagemeister, if you agree I can create a PR to modify the documentation. It looks like it's currently out of date (hence this issue).

Great that there is now a documented approach.  Apologies for the late feedback, but, semantically speaking, fresh.config.ts feels like somewhere for Fresh related configuration to go rather than non-Fresh application initialization code?  I'm not all that fussed however, just a comment that for me it's non-intuitive.

Please note that any init here that would require env variables caused the build to crash


Don't check value on Shuffle

In the shuffle algorithm, where you implement the Fisher-Yates thing, you're checking whether i is equal to j before calling swap.
Suggest you not do this for the simple fact that swapping if they're equivalent is perfectly acceptible and that's ONE operation if it happens, vs. the cost of checking i vs. j on every single iteration through the loop.  On very large lists (which is your argument for using most of these) that will improve speed.

Actually, I believe that the current implementation is correct, and your suggested change is not quite correct. Intuitively I would agree with you, except that the declaration from the Swift standard library is:
/// Exchange the values of `a` and `b`.
///
/// - Precondition: `a` and `b` do not alias each other.
public func swap<T>(_ a: inout T, _ b: inout T)

Unfortunately, it does not sound valid to swap them at the same index.

@grosch I concur with @donald-pinckney. Also did a quick check on the swap function to confirm:
var array = [1, 2]
swap(&array[1], &array[1]) // fatal error: swapping a location with itself is not supported


Update SDV page to include installation section

SDV dev here.  I'm adding a paragraph describing where SDV can be obtained and what the prerequisite Visual C++ redistributables are to use it.

Looks fine. Thanks, @NateD-MSFT


arxiv API support

Hey, trying to make a contribution to this project. Will be happy if you could review and make suggestions how can I improve it.

Thanks for the work! Looks good! I'll merge this and it'll be part of the next release of litstudy.


Make SelectField scrollable

Hi,
when the dropdown list of a SelectField is pretty big, the content go outside of the viewport.
Is there a way to overwrite the dropdown list style or to add a maxHeight + overflow:auto on it ? :)

#2150 should sort this when it is merged

#2150 is merged


[Alpha] Dynamic menu can "push" chart

when the chart is horizontally constrained opening the dynamic menu can "push" the chart, closing it "unpushing" the chart, making it jumpy.

can be worked around by specifying the register width


AWS CDK Deployment Scaffolding

Adds a project structure for scaffolding an AWS deployment.  The Lambda function depends on an external shared library so we can re-use it across other providers, such as Azure and GCP.

For us to be on the same page, why are we choosing a cdk vs something like terraform?

We could add .idea to the gitignore


Please invite me to the community

Name
Ankit Kumar
Additional Context
I meet this Community from one of my friends. I also want to join this community because of several reasons, firstly to meet like-minded people from this community. I also have a chance to gain both Technical as well as Leadership skills(soft). I would also get to do a collaboration with other folks.

Invitation sent to join the GitHub Organization. Welcome to Infraform 🎉Please check your mail to accept the invitation sent by GitHub! 🤖About usInfraform is an open source solution for serverless platforms, it is designed for developing solutions and enhancing creators to create their infrastructure 💻 Great to have you in our community ✨ Looking forward to your valuable contributions! 🤓 You can also check our community ✨ Github ✨ LinkedIn 💜 You can also share our community with other folks who want to learn about development, DevOps, tech, and contribute together and with us 👉💜👈


Generated midis are all very similar, all sound like the longest ones from my dataset

Hi,
This is probably an issue on my end, and I was wondering if anyone could help. I am very new to all of this. If there is a more appropriate place to ask about this, please let me know.
I built my own dataset and followed instructions for basic_rnn generation. My dataset is small at 66 midis, which very in length from about 3 to 30 seconds.
I did 10,000 training steps with 64, 64, 64. I had it generated 50 midis, each at 128 steps in length with a primer melody of 60.
All of the midis it generated sound very similar, and they sound a lot like the 2 longest midis out of the 66 I supplied it with. Long story short, the output is not meaningful.
I'm not sure where I went wrong. Should I try using lookback or attention instead? Do all the midis I use to train it need to be the same length? Any help would be appreciated

It sounds like your dataset is much too small. Since the longest MIDI you included is providing most of the training data, you are likely overfitting on it. You could try adding more dropout and stopping training once you see the evaluation loss increasing, but it would be even better if you added more data.


Figure out a good way to specify custom pool when using flocker-volume, while having a good default

When running in normal mode we probably just want to use a pre-created "flocker" pool. In order to allow functional testing of push, it's useful to have flocker-volume use a non-default pool name. The current way the tests do this is not good.

We are moving our development planning to JIRA. This issue is now being tracked at https://clusterhq.atlassian.net/browse/FLOC-125. You are welcome to file additional issues in GitHub if that's easier for you.


Clamping doesn't work if the ClampLines element is inside a RelativePortal

https://codesandbox.io/embed/clamplines-weirdness-relativeportal-yo87m
Basically, the react-relative-portal package creates a new element at the exact position it would be at normally but the element is moved straight to the body. This causes issues with ClampLines - The lines are shown, but not clamped.

I've added another example to the codesandbox with a ClampLines element in the root div. It's working perfectly fine in the root div, but doesn't clamp anything in the Portal.


Change homepage banner content

NEWS!! GWAS Catalog submission requirements are changing from 12th April 2023! Read all about it in our blog post https://ebispot.github.io/gwas-blog/gwas-ssf-release/

If possible this text should also appear on the deposition app homepage https://www.ebi.ac.uk/gwas/deposition

The text there could read:
NEWS!! GWAS Catalog submission requirements are changing from 12th April 2023! Please read this article before starting a new submission  https://ebispot.github.io/gwas-blog/gwas-ssf-release/

Once the new sumstats standard has been released, banner text can be replace with:

NEWS!!
GWAS Catalog submission requirements have changed.
Read all about it in our blog post.

added banner in deposition app that will go in 3 months for new ssf (until 12 jul)


Migration tool not respecting exclude directives in analysis_options.yaml on Windows

Using SDK as of 609c0d35eb84005a84c1de7d0c34c870dc509134, and package:dartdoc source as of https://github.com/dart-lang/dartdoc/commit/1196ef0fddde3f2ac618159d63bddeee487e639c, attempting to migrate package:dartdoc on Windows results in an exception.
The exception can be reproduced on Linux by commenting out three lines from the exclude list in dartdoc's analysis_options.yaml file:
diff --git a/analysis_options.yaml b/analysis_options.yaml
index d7d1a23a..f360d4a0 100644
--- a/analysis_options.yaml
+++ b/analysis_options.yaml
@@ -11,9 +11,9 @@ analyzer:
     - 'lib/src/third_party/pkg/**'
     - 'lib/templates/*.html'
     - 'pub.dartlang.org/**'
-    - 'testing/**'
-    - 'testing/test_package_flutter_plugin/**'
-    - 'testing/test_package_export_error/**'
+#    - 'testing/**'
+#    - 'testing/test_package_flutter_plugin/**'
+#    - 'testing/test_package_export_error/**'
 linter:
   rules:
     - always_declare_return_types

The exception is:
Generating migration suggestions...
Bad state: Too many elements
#0      List.single (dart:core-patch/growable_array.dart:237:5)
#1      MigrationCli.run.<anonymous closure> (package:nnbd_migration/migration_cli.dart:378:38)
#2      MigrationCli.run.<anonymous closure> (package:nnbd_migration/migration_cli.dart:372:67)
#3      MigrationCli._withProgress (package:nnbd_migration/migration_cli.dart:627:21)
#4      MigrationCli.run (package:nnbd_migration/migration_cli.dart:371:11)
#5      MigrateCommand.run (package:nnbd_migration/migration_cli.dart:205:15)
#6      CommandRunner.runCommand (package:args/command_runner.dart:197:27)
#7      DartdevRunner.runCommand (package:dartdev/dartdev.dart:62:24)
#8      CommandRunner.run.<anonymous closure> (package:args/command_runner.dart:112:25)
#9      new Future.sync (dart:async/future.dart:222:31)
#10     CommandRunner.run (package:args/command_runner.dart:112:14)
#11     main (file:///usr/local/google/home/paulberry/dart-new/sdk/pkg/dartdev/bin/dartdev.dart:14:35)
#12     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#13     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)

The fact that the bug can be reproduced on Linux by commenting out exclude directives suggests that these directives aren't working properly on Linux.
Note that there are other known problems with exclude directives, e.g. #25551, but I'm not marking this as a duplicate because this is a Windows-specific bug, and the other bugs (to my knowledge) are not Windows-specific.

As of 1c7fe7196dd7a542f7f91cd6ea2ac81e1a13146c, the null safety migration tool has been removed from active development and retired. No further work on the tool is planned.
If you still need help, or you believe this issue has been closed in error, please feel free to reopen.


button is not interactive

@avinash201199 assign to me

solve the previous pr conflict

@avinash201199 resolved...i have made pr also ...please check this #47


CIP Editor Nomination: Adam Dean

Hello,
My name is Adam Dean. I am the co-founder of Buffy Bot Publishing, NFTxLV (formerly cNFTcon), Drip Dropz and several other projects and initiatives on the Cardano blockchain. I am a co- or principal author of several CIPs and am passionate about bringing well-defined standards to the Cardano ecosystem.
I am humbly nominating myself to serve as one of our community CIP Editors moving forward in the future to help shoulder some of the burden.
I am happy to answer any questions, comments, or concerns that you may have prior to my acceptance.

OK we are all in then.  Welcome @Crypto2099 🤠


MAINT: aliases of builtin types is deprecated with numpy>=1.20

With numpy 1.20, aliases of builtin types like np.bool is deprecated. This should clear up some warnings in the test suite.

Coverage remained the same at 85.421% when pulling 206cacad088cafc7c9285d5531a5c156ce4073e3 on mwtoews:numpy-types into d37eed96b95747481be3ca582f1028b2623508f6 on Toblerity:master.

Thanks!


Similar tool is actively being developed

See:
https://gitext.gfz-potsdam.de/id2/software/services/fair/software-quality-assurance

Can you explain why you think this tool is similar?

the link is dead and I cannot find the service anymore


Find out a list of packages that depending on deprecated libraries

Depending on deprecated libraries is not safe and could cause version conflicts in the transitive dependencies. We will need to:

find out a list of Google OSS packages that are deprecated.
find out a list of Google OSS packages that depending on the deprecated packages.

Currently known deprecated packages:
oauth2client, google-cloud

Calling the PyPI JSON API to look at the classifier field, if it says Development Status :: 7 - Inactive, we can mark this package as deprecated.


Show Relationships in Search Results

As a researcher,
I would like the search results to tell me when an object is part of a larger collection/grouping,
so that I can easily identified possibly related materials.
Ben G.
Related: #60

For display, the concern is not the direct parent but rather than top level parent.

Background: http://bit.ly/dplaCollections

Collection membership is already displayed in the search results. Should subworks in a nested work be displayed in search results (incase which this ticket applies) or should the search results only include the partner works/nested work themselves?

Related to #60, which is an epic. This might be a component of that epic.


Storing input device data

Describe the aim of this enhancement
Create a method for storing input device data as part of the cheating detection feature of our thesis project.
To Do

[x] Add model for input device data/ action data/ event data

[x] Fields: quiz_id, student_id, attempt_id, question_id, timestamp, blur, focus, copy, paste, left-click, right-click, double-click
[x] Add validator: only a single action field must have the value 1, the rest is 0 (if cant make work with pydantic, just modify create method) gd so
[x] remove quiz_id and student_id (can be accessed via attempt obj)

[x] Add CRUD methods

[x] Add CRUD methods for summarizing quiz actions
[ ] Add method for exporting quiz actions from database

[x] Add factory

[x] Modify create method to adjust other action fields' values depending on input action

[x] Add CRUD tests

[x] Test single-action validator
[x] Test read methods
[x] Test factory

[x] Discover bug where actions is equal to [0,0,0,0,0,0,0] when randomized action is [0,0,0,0,1,0,0] (where copy_  is 1)

Finding: it is because of the NameError: Field name "copy" shadows a BaseModel attribute; use a different field name with "alias='copy'"

[x] Add endpoints for creating and reading input device data
[ ] Add API tests

READ ACTIONS OF ALL PARTICIPANTS AT GIVEN QUESTION
READ ACTIONS OF ALL PARTICIPANTS AT GIVEN QUIZ
READ ACTIONS AT GIVEN ATTEMPT QUIZ
READ ACTIONS AT GIVEN ATTEMPT QUESTION

Alternatives to be considered

Use enum for action/ event types

Setup tayo quick meeting for dis?

Updated index comment as per quick discussion with team

@ralf-t csv yung preferred input sa ML diba
bale need naten ng method to export from db to csv?

oh shee forgot to reply here
oo ata? pero either way madali lang naman palitan format but lezz go csv lol
every action kasi what if nag exit siya bigla huhu all data lost

every action kasi what if nag exit siya bigla huhu all data lost

ohh nakalimutan ko iconsider to, update ko code maya

Sa data cleaning nalang ng ML i aggregate yung mga action kaya yung mga raw data natin na kalalabasan ay rows of
0 0 0 0 1 0 0 0 0
0 0 0 1 0 0 0 0 0
1 0 0 0 0 0 0 0 0
right kasi stored every event triggered

yep


Nudge app appears off center when it's opened on an external monitor, then the user disconnects from monitor

When an update is past due, Nudge cannot be dismissed by the "Later" or "I understand" buttons (expected). However, if the user is working off an external monitor, when they unplug and work on the main laptop screen, Nudge does not recenter itself. This prevents the user from fully see and interact with Nudge.
Possible fix: https://developer.apple.com/documentation/appkit/nswindow/1419090-center

I think I have fixed it: https://github.com/macadmins/nudge/commit/ce198c101ff2e2758eed6e1c38be1d6d5a8fe87e
Please try this version: https://github.com/macadmins/nudge/releases/tag/v.<IP_ADDRESS>02021001333

It took two commits, but confirmed with @macbm that this fixes it. It will take Nudge 60 seconds to fix this as it's tied to the nudgeRefreshCycle key that defaults to 60 seconds, but that's the best I can do without increasing CPU usage and polling this constantly (which I don't think is worth the effort).


ensure: provide a way to remove unwanted entries from Gopkg.toml

When I remove a dependency from a project, I'd like all unwanted entries
in Gopkg.toml to go away ASAP. I don't see that there's a way to do that currently
without manually checking each dependency.
It's perhaps arguable that dep ensure -add could do this automatically, as it may well be what most people want most of the time, although that doesn't fit very well with the name "add".
Perhaps:
dep ensure -constraints
might work for ensuring that both Gopkg.toml and Gopkg.lock are up to date.
Alternatively, dep init could be made to work with existing Gopkg.toml and Gopkg.lock files.

#302 - I know, embarrassingly old - is about adding warnings for ineffectual items. it's won't be automated, but at least you don't have to figure out what to remove yourself.. would you consider that good enough?

I'd prefer there to be a way of doing it automatically. Much like Go import statements, I'm not sure that it's ever appropriate to have repos mentioned that aren't used.

Is the only workaround to manually edit the Gopkg file?

@cmcginty yes.
@rogpeppe huh. yknow, I've never thought of those being directly analogous in quite that way before, but it's a really interesting parallel, now that you make it.
unfortunately, our hands are rather tied with respect to doing this in an automated way, as that would entail rewriting the Gopkg.toml file - and we can't currently do that while also preserving comments.

@sdboyer I wondered if that was the case. I wonder how hard it would be to be able to preserve comments when rewriting TOML. A few different possible approaches come to mind. (Aside: it's for reasons like this that I respect the JSON decision to omit comments from the spec.)

to be clear, this was an intentional choice - TOML having comments was an essential part of the design, and we made certain sacrifices to allow it - including the possibility of things like this.
however, if a comment-preserving TOML implementation were to appear, I'd be down with revisiting things like this in a heartbeat. in the meantime, though, automated trimming would best be implemented as a standalone tool. shouldn't be too difficult to do.


fix: tsv-uniq use column name instead of brittle index

Should fix bug where new sequences don't get output in nextclade.tsv
Discussed in https://bedfordlab.slack.com/archives/C01LCTT7JNN/p1675087025824499
Requires full runs of both reference datasets
Testing

[x] Running locally with debug profile using partial cached tsv

To fully verify that it works, we should check after the full rerun that new sequences actually end up in nextclade.tsv - this will take a few days.

I haven't tried, but is it not enough to just replace 1 to seqName in the original code? Why other changes are necessary?
keep-header {input.old_info:q} {input.new_info:q} -- \
        tsv-uniq -f seqName > {output.nextclade_info}

(notice -f seqName instead of -f 1)

Why other changes are necessary?

They aren't necessary but it's good practice to not rely on exact column indexes for TSV files, but use column names instead. Using the above code would have prevented this issue. Who knows, maybe we'll reorder columns in the future again.

@corneliusroemer So if you change 1 to seqName it should achieve the same goal?

I also disagree with the statement that index is brittle. It's the sturdiest column we have :) The wonky stuff that we have right now in ingest is brittle.

So if you change 1 to seqName it should achieve the same goal?

Nope, because keep-header does not pass the header on to tsv-uniq. I shouldn't have used keep-header in the first place, I just didn't know tsv-append existed, it's the natural command to use.
I'm not saying that the index column is brittle. I'm saying that relying on column order is brittle.

Test worked, I'll merge, stop any running ingests and restart full runs.

I'm not saying that the index column is brittle. I'm saying that relying on column order is brittle.

Oops. Looks like a aggroed to the wrong index :D

Nope, because keep-header does not pass the header on to tsv-uniq.

Sigh.
Implementing a relational database in bash is so tricky ;)


Update

so apparently there is conflicts and I couldn't work out where, I've updated ru and ua manually using your commits, thank you for that! (you might want to refork or something like that if you want to update them in future because I have no idea what broke lol)


Add ExtractPublicKey function

This is a draft function to extract the public key from the identity. It is a helper function for https://github.com/ipfs/go-ipfs/issues/3896 which will be used in go-libp2p-kad-dht and go-ipfs/namesys. I'll add tests when the IPFS team is happy with the approach.
A few questions:

Should these helper functions live in go-libp2p-peer?
I designed the functions to return the nil public key if key extraction fails. Is that acceptable?
I've added an UnmarshalEd25519PublicKey function (see PR here). Is that OK?

cc @whyrusleeping, @Kubuxu

@lgierth

I feel slightly uncomfortable throwing away all errors

The way I see it is that the default case for the functions is to fail to extract a public key. If we have n identity types then the extraction function will fail for the other n-1 identity types. Hence in this context "failure" is not really a failure.
Furthermore the error in pubKey, err := ic.UnmarshalEd25519PublicKey(pubKeyBytes) should never happen. The reason is that the length check in UnmarshalEd25519PublicKey will never fail because the if decoded.Length != 2+32 length check comes before. I just added the error check here as a formality.
As for the error in decoded, err := mh.Decode([]byte(id)) any such error should be caught upstream as it is a very low-level error.

@JustinDrake similar thoughts as @lgierth on the error handling, we shouldnt throw them away, lets log them at the very least.
Also, do we need both methods? Or can we just have the generic ExtractPubKey and then the caller can check the type on their own? I hesitate adding too much extra complexity to this type

Is the extraction of public keys from peer ids a necessity of the ipfs infrastructure, or is it only used for showing the user the public keys for reporting/logging/user interface? Because not all peer ids allow the public key to be extracted. And in fact the current code base only shows that Ed25519 peer ids allow the public key to be extracted. According to various descriptions of the peer id it appears that in general the public key shouldn't be extractable.
Would it be better such that public keys can always be extracted from a peer id (hence you're just using the public key as the peer id)?
In terms porting this to Haskell, we would like to know exactly when a conversion of PeerID -> PublicKey is actually meant to be allowed.

In the general case keys are not extractable, because keys can be larger, and identities are meant to be short. Currently the only extractable case is with Ed25519, when the identity multihash is used, as well as the Ed25519-pub multicodec. See https://github.com/libp2p/go-libp2p-peer/blob/master/peer.go#L76


Proposal: Add option to collapse "see more" button on CommandBarFlyout

Proposal: Add option to collapse "see more" button on CommandBarFlyout

Summary
I'd like an option to collapsed the "see more" (the elipses) button on CommandBarFlyout. I always open the flyout showing all options, so the button is useless in my case, so I'd like to be able to collapse it.

Rationale
It'd close a gap between CommandBarFlyout and CommandBar. Also, it appears File Explorer doesn't show the button and it works and looks fine. I assume they did something on their own to achieve this, but a "native" solution would be nice.

There is a way. My bad lol


Add instructions on importing the API specification into the Swagger editor.

Add instructions to the OpenAPI 3.0 Specification on how to import the API specification into the Swagger Editor (include install instructions for that too) and generating client libraries from it.

A Swagger API specification would be interesting but only as a way of learning the tool. The practical benefits to the project, particularly since the Postman docs can be used to generate client code, are less clear.


Better dark mode tint on Firefox

In v2 there's a slight mismatch in color in Firefox:

Which is weird since I already have some code to do this:
https://github.com/fregante/webext-base-css/blob/49bd32c10d1808ad1bad3c158531b6494c16af47/webext-base.css#L78-L84

Ah it's being overridden by
https://github.com/fregante/webext-base-css/blob/545ea3c11e84bd0e2d9e9411ba9966ee38f1df22/webext-base.css#L86-L95


Error: No such command 'visualize'

zingg@Zijings-MacBook-Air textx_test % textxUsage: textx [OPTIONS] COMMAND [ARGS]...

Options:
  --debug  Debug/trace output.
  --help   Show this message and exit.

Commands:
  check            Check/validate model given its file path.
  generate         Run code generator on a provided model(s).
  list-generators  List all registered generators
  list-languages   List all registered languages
  version          Print version info.

I am following tutorial of hello_world here https://textx.github.io/textX/tutorials/hello_world/

The correct command is textx generate hello.tx --target dot

visualize is an old command that is superseded by generate as visualization is nothing more but generating  dot/plantuml etc.
Why this issue? Have you found references to visualize in the current docs?

Ah, sorry. Completely missed the last line of your initial report. That is an old stale docs. I have just removed it. I wonder how you reached that link? The current official docs is at http://textx.github.io/textX/


Fix incorrect qualification of types nested within generic types

Fixes #2879

Haven't done a proper review yet, but from what I read in the issue, the error is in the code fix, not the analyzer. I missing at least a testcase for that.

Haven't done a proper review yet, but from what I read in the issue, the error is in the code fix, not the analyzer. I missing at least a testcase for that.

I will add some tests for additional cases, but the current test does cover the original issue. Even though it's fully-qualified, the original code was reporting a diagnostic and replacing the directive with garbage. 😄


I wish to contribute, but...

@sradc
This is the best repository I have seen in weeks. Two reasons - one, because I wanted to know more about automatic differentiation, and second, it is to the point. I found this through Aurilien Geron's retweet.
I want to contribute to this. But I am hazy on where to start, and what's the core point of this repo.Could you please tell where I can start?

Hi @AdityaKane2001, that is awesome!
The original point of this repository was to have a simple, yet decently performant, deep learning library, to write a tutorial about (similar to https://sidsite.com/posts/autodiff/). That target has been met, and the tutorial is pending. But the tutorial doesn't have to be tightly coupled to this repo, so SmallPebble's development can continue.  The core point can now be: to have a concise, relatively simple, hackable deep learning library, with good-enough performance.
Here are some suggestions for contributing:

Although performance is not a high priority, it would be great to have some performance benchmarks, of SmallPebble vs TensorFlow, on CPU and GPU.
Example notebooks, with models created and trained using SmallPebble. Various tasks, simple and complex welcome.
New features can be added when they are needed to make an example work.

Other ideas and suggestions are also welcome.

@sradc
The thing is, I don't think this will fare well against TensorFlow or PyTorch. Those are written in C++ with a python API.
In case of new features, do you think it's ok if the library is sort of a "see-through" deep learning library? As the code you have written so far is fairly simple, a good interface with friendly ops will make this a great place to see how big libraries work at their core. Please share your thoughts on this.

I don't think this will fare well against TensorFlow or PyTorch. Those are written in C++ with a python API.

I agree totally, but I would like to quantify the difference.

do you think it's ok if the library is sort of a "see-through" deep learning library? As the code you have written so far is fairly simple, a good interface with friendly ops will make this a great place to see how big libraries work at their core

Sounds good! Do you have any examples in mind?

I think we can implement some of the following features:

Auto detecting NumPy or CuPy depending on cuda availability
Modularizing the codebase
Formally defining optimizers, losses, and basic metrics
Adding full-fledged neural network capabilities

As you can probably tell by now, I am taking in a lot of ideology from TensorFlow Keras. This is because I personally like and use TF :) and also it is very fluid and abstract, which makes it very convenient to use and understand. TL;DR, I think making this a small-scale keras may be a start, and we can change and expand as we go on.
This may not come across as a good idea 😅 , but I think borrowing their core, foundational ideas and making them transparent and easy to understand is a good objective.

Thanks for the ideas, here are my initial opinions:

The user needs to import NumPy/CuPy in order to create the arrays that sp.Variable wraps, so we are only saving them one line (sp.use). Plus I'd rather have users conscious and in control of the backend.
Having vertical sections in a single file is surprisingly nice to work with, so I'd delay this until there is a clear case where modularizing is advantageous.

And 3 and 4 are great ideas. I'm of the opinion that we should add 3 and 4 by first deciding on models/use-cases, and implementing the features as needed to build the models/use-cases.
As to borrowing from Keras, I think that's fine, on a case by case basis (e.g. I used the same API as tf.nn.conv2d in sp.conv2d).

About modularizing, I think it will make things easier as we expand the project. I have experienced the disadvantage of this on a couple of projects 😅. Also, if we modularize correctly, we will be able to freeze the core and work on bigger, more robust features.
About 3 and 4, sure. We can decide on features that we want and proceed accordingly.
Apart from this, I'm interested (and trying) to make a similar library, but which works like TensorFlow, ie C++ as backend and a Python API. That's just a personal thought, please let me know if you'd be interested.

Sorry for the delay.
Having had time to reflect, I'm ok with modularizing.

I'm interested (and trying) to make a similar library, but which works like TensorFlow, ie C++ as backend and a Python API. That's just a personal thought, please let me know if you'd be interested.

That sounds really cool, I might be interested, but can't commit to it. If you go ahead I'll watch with interest.
My own focus is now more towards reading up on, and implementing, more cutting edge models.

Thanks for the reply.
Actually, I am also tied up in various commitments right now. I am happy to tell you that I have been selected for Google Summer of Code (GSoC) at TensorFlow this summer. I'll be working on implementing research models.
That said, this is really one of those project that I want to contribute. I'll try my best to do so as and when possible.
Apart from that, my best to you for your future projects! I'll be in touch through LinkedIn. Thanks for answering my queries in such a calm manner. Hoping to collaborate in future!

Congratulations, that is a fantastic achievement!
SmallPebble will very much welcome your contributions, once you get the time.
Best wishes, hope to collaborate, and good luck at GSoC!

Thanks a lot!
Closing the issue. Will reopen when possible.
Thanks again.


Interviews Pattern

Signed-off-by: Gopal<EMAIL_ADDRESS>Interviews PAttern Added

Pr will be closed and marked as spam. If issue number not found or issue was assigned to someone else.


Add the link.xml in the Foundation NuGet package.

https://github.com/microsoft/MixedRealityToolkit-Unity/issues/4265
See the linked issue for more details about what we're doing here - this is being included as a convenience to NuGet consumers so that things just "work out of the box" and they don't have to define their own link.xml.ls

/azp run


ESP8266 WiFi Example somehow managed to corrupt the ROM, seems to be slow until heater started.

After accidentally pressing save more than once, the ROM appeared to be in a corrupt state and crashed the board with a crash dump (crash type 2 so probably a loop) and had to be reset before it could be used again.
Try saving to the ROM when the text fields have not changed and check what happens on reload. Unit tests around the EEPROM storage are probably best.
Also, the example appears to be slow and quite un-responsive until the heater value is first set.

Loading menu structures before setupMenu is a big no-no. It creates very dangerous situations, and therefore should be removed from the examples in the next patch release, with a warning somewhere that this is not correct behaviour. Explaining that anything that is done before setupMenu, risks working with an uninitialized renderer.
Usually, this early loading has been to load up wifi settings for ip address settings, which must be done very early in the process. What we will do instead, is provide the possibility to load a single item back from EEPROM, so that the one or two items that need early loading can be carefully loaded up, ensuring there is no possibility of callbacks for those interacting with the renderer.


Minor Grammar Correction In Docs (3)

Title
Fix Grammar in Documentation: Update 'principal account' -> 'a principal account'
Related Issue/Asana Ticket
N/A
Short Description
This pull request corrects minor grammar in the documentation, changing 'of one public' to 'of one or more public.'
Test Scenarios
Visual inspection of the documentation to confirm grammar changes.

@lsgunnlsgunn

@0xTrip TY


Fix Rake warning in CI

The rake executable in the rake gem is being loaded, but it's also present in other gems (draper).
Draoer doesn't provide any executable, and if it did, it should go in 'exe' dir.
Fix this warning in CI :
The `rake` executable in the `rake` gem is being loaded, but it's also present in other gems (draper).
If you meant to run the executable for another gem, make sure you use a project specific binstub (`bundle binstub <gem_name>`).
If you plan to use multiple conflicting executables, generate binstubs for them and disambiguate their names.

ping @codebycliff

ping @codebycliff

Ping @codebycliff

Ping @codebycliff

Hi there! Any news? @codebycliff

Hi there! Any news? @codebycliff

ping @codebycliff I'd like to see this merged before working on Ruby 3 compat.

ping @codebycliff I'd like to see this merged before working on Ruby 3 compat.

@codebycliff thank you! 👍

@codebycliff thank you! 👍


Add basic instructions for creating the water year version of the animation + working README links

Been on my list for awhile and finally got around to adding some information! Here are the basics of how I have created the full water year version in the past. I also updated the README links so that they actually work while I was here.

Thanks for updating the instructions, Lindsay! I'll plan on pasting the previous quarters callouts, as well as adding the new ones Karl proved in the teams chat, and building.


[BUG]: Link menu item isn't active unless text is selected

I'm submitting a

[ ] Regression (a behavior that used to work and stopped working in a new release)
[x] Bug report
[ ] Enhancement
[ ] Feature request
[ ] Documentation issue or request

Description
The link menu item is disabled unless text is selected. When you simply have the cursor in the text of the editor, it is not possible to activate the link menu. It only allows you to add/edit the link on a selected text.
So it is missing the insert link action. In this state the text for the link in the popup is always disabled.
I believe this is a bug in the canExecute command which doesn't seem to return true unless text is selected.

Version Information
ngx-editor: 11.1.0
angular: 12.2.2

Browser

[x] Chrome - 94.0.4606.71
[ ] Mozilla Firefox - x.x.x
[ ] Opera - x.x.x
[ ] Microsoft Edge - x.x.x

NOTE: Replace x.x.x with your version information

This update on the Link command class will fix it I believe
  canExecute(state: EditorState): boolean {
    return this._canExecute({})(state);
  }

  private _canExecute(attrs = {}): Command {
    return (state: EditorState, dispatch?: Dispatch): boolean => {
      const { schema, selection } = state;

      const type: MarkType = schema.marks.link;
      if (!type) {
        return false;
      }

      return toggleMark(type, attrs)(state, dispatch);
    };
  }


Change Buildah and S2I Image to Productized

Updated update-tasks.sh script to change buildah and s2i image to productized version. Script can be used to change images of
other tasks to productized version also if needed.

I think we do the image replacement in code, also kind change. We can do this also there

Yes i agree with @piyush-garg that we should be able to handle image replacement in code like the way we handled for kn https://github.com/openshift/tektoncd-pipeline-operator/pull/308

@piyush-garg @savitaashture
We do kind change in script for Red Hat supported clustertasks.  Any tasks downloaded in the addons have their kind already fixed.
Reference:
update-tasks.sh#L81
buildah-task.yaml#L8

Yes i agree with @piyush-garg that we should be able to handle image replacement in code like the way we handled for kn #308

we can do this in 2 ways.

#308 : images are replaced right before the operator creates the resource on cluster.
as in this patch, in replace images in the static files (resources)

what we do in #308 will still work on buildah and s2i even after we merge this patch.
In addition, this patch will make sure that the productized image is there in this codebase, so anyone using/building the operator can use it without having to specify an override in operator.yaml (or in csv) if they prefer that (default will be official images).
So
/approve
/lgtm


Update CODEOWNERS

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

[ ] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[ ] I adhere to the Command Guidelines.

And please remove me from the team, otherwise I will merge this PR ...

thanks!


README bug - Discord server link is invalid

Discord server link is invalid. It doesnt work.

There you go, fixed.


Fix 400 Bad Request

This PR fixes Fix 400 Bad Request in rm command.
remove006 400 Bad Request {"error":"BadRequest","description":"Orion accepts no payload for GET/DELETE requests. HTTP header Content-Type is thus forbidden"}

Coverage remained the same at 100.0% when pulling 07439c0de0a30776422cb40802b4a167bfd6fbe4 on fisuda:fix/rm into cffa5f73c513e93df582281137814e2afc45609d on lets-fiware:main.


[SPARK-22883][ML][TEST] Streaming tests for spark.ml.feature, from A to H

What changes were proposed in this pull request?
Adds structured streaming tests using testTransformer for these suites:

BinarizerSuite
BucketedRandomProjectionLSHSuite
BucketizerSuite
ChiSqSelectorSuite
CountVectorizerSuite
DCTSuite.scala
ElementwiseProductSuite
FeatureHasherSuite
HashingTFSuite

How was this patch tested?

Test build #85494 has started for PR 20111 at commit 12b3dcf.

Test build #85494 has finished for PR 20111 at commit 12b3dcf.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class BinarizerSuite extends MLTest with DefaultReadWriteTest
class BucketedRandomProjectionLSHSuite extends MLTest with DefaultReadWriteTest
class BucketizerSuite extends MLTest with DefaultReadWriteTest
class ChiSqSelectorSuite extends MLTest with DefaultReadWriteTest
class CountVectorizerSuite extends MLTest with DefaultReadWriteTest
class DCTSuite extends MLTest with DefaultReadWriteTest
class ElementwiseProductSuite extends MLTest with DefaultReadWriteTest
class FeatureHasherSuite extends MLTest with DefaultReadWriteTest
class HashingTFSuite extends MLTest with DefaultReadWriteTest

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/85494/
Test PASSed.

Merged build finished. Test PASSed.

LGTM except a tiny issue. :)

Updated!  Thanks @WeichenXu123 -- I'll merge this once tests pass.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/1207/
Test PASSed.

Test build #87857 has started for PR 20111 at commit 448668d.

Test build #87857 has finished for PR 20111 at commit 448668d.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/87857/
Test PASSed.

Merging with master


More containers; Hashtable, Dictionary, Perhaps More?

Dictionary: implement as Red-Black tree, traverse in-order for search, and for the deleting/destructor just free the memory and destroy the objects by iterating normally through the array (we do not care about deallocating and destroying in any particular order)


Add atol and rtol arguments to jtu._CheckAgainstNumpy().

Prefer atol and rtol if they are provided.

Thanks for the help!


fix return value of created project

What is the purpose of the pull request
fix /dolphinscheduler/projects/create doesn't return project ID when create successfuly #2619
Brief change log
fix /projects/create api and corresponding test case

Codecov Report

Merging #2804 into dev will decrease coverage by 0.23%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                dev    #2804      +/-   ##
============================================
- Coverage     37.33%   37.10%   -0.24%
+ Complexity     2564     2550      -14
============================================
  Files           434      434
  Lines         19983    19986       +3
  Branches       2424     2424
============================================
- Hits           7460     7415      -45
- Misses        11859    11902      +43
- Partials        664      669       +5

Impacted Files
Coverage Δ
Complexity Δ

...e/dolphinscheduler/api/service/ProjectService.java
86.70% <100.00%> (+0.25%)
39.00 <0.00> (ø)

.../server/worker/processor/TaskExecuteProcessor.java
10.16% <0.00%> (-27.12%)
1.00% <0.00%> (-2.00%)

...he/dolphinscheduler/common/thread/ThreadUtils.java
68.25% <0.00%> (-9.53%)
13.00% <0.00%> (-2.00%)

...he/dolphinscheduler/api/service/LoggerService.java
82.60% <0.00%> (-8.70%)
9.00% <0.00%> (-1.00%)

...nscheduler/server/entity/TaskExecutionContext.java
81.18% <0.00%> (-5.95%)
57.00% <0.00%> (-3.00%)

...ler/server/master/runner/MasterTaskExecThread.java
8.98% <0.00%> (-4.50%)
2.00% <0.00%> (-1.00%)

...pache/dolphinscheduler/alert/utils/ExcelUtils.java
78.94% <0.00%> (-3.51%)
8.00% <0.00%> (-1.00%)

...cheduler/server/registry/ZookeeperNodeManager.java
74.72% <0.00%> (-3.30%)
6.00% <0.00%> (-1.00%)

...e/dolphinscheduler/remote/NettyRemotingClient.java
51.07% <0.00%> (-2.88%)
9.00% <0.00%> (-2.00%)

...master/dispatch/executor/NettyExecutorManager.java
83.92% <0.00%> (-1.79%)
10.00% <0.00%> (ø%)

... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a78c11...d4e09ee. Read the comment docs.

good job
this is your first contribution，looking forward for your deep participation


add strahler order

thanks to Christian O'Reilly for initial implementation:
https://github.com/BlueBrain/NeuroM/pull/629#issuecomment-372363500

Codecov Report

Merging #683 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #683   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          43     43
  Lines        2201   2213   +12
=====================================
+ Hits         2201   2213   +12


CMYK noise results

Hiya.  I'm trying to use TecoGAN on a brand new ubuntu 20.04 setup, with an nvidia stack installed yesterday from the nvidia instructions.  I'm using Tom Doerr's TecoGAN-Docker.
The stack passes the tests that nvidia prescribes when installing, and TecoGAN seems to think it's working, but the results are noise.  Here's frame 22 of calendar:

Thoughts?  I'm pretty new to this and don't really know what to do.

I think we're all new to this. I don't even know how you managed to even try to upscale something, I only see instructions on training the model which has lead me to a dead end.

Same here... I am stuck with data, meta and index files of the self trained model, with no means to use inference without ckpt file.
I don't see the ckpt file necessity in runGan.py 1(inference), yet not able to get inference from the model.


Add tests for upstream stanza (proxy)

please merge ;)

@kris-lab please review

more tests, please review :)


Aspnetcore MVC on IIS - Terrible first request performance

Describe the bug
I have a aspnetcore mvc application which is experience very poor performance on it's first request. I have excluded efcore's own context creation time and am left with a large unaccounted for delay that I do also experience locally (in iisexpress) but just not as bad.
I have 2.2.5 runtime installed on the server however I have "published" it as "self-contained" for win-x64 and have 2.2.3 on my local machine so...
Windows Server 2016 14393.2906
IIS 10.0.14393.0
Expected behavior
No inexplicably large delays.
Screenshots
This is a profile of the first document request. As you can see there is this bizarre ~8s delay that is occurring between view seeks (i have two custom view file providers and the original is still present).

Heres the same request locally:

I can confirm I dont have this delay when using a file system view. Is this delay all view compilation? Seems very excessive if so.
Tried with this simple view (no layout):
@{

}

Hello Worlds

and the profiling went:

1.1 seconds to compile that doesn't seem right. These times are from my local dev machine.

I created a simplified view file provider which just does this in InitView
private void InitView(string connection)
        {
            _viewContent = Encoding.UTF8.GetBytes("HELLO WORLD. ALL YOUR BASE ARE BELONG TO US.");
        }

and I am still getting > 1s for this request to serve. Is there someway to speed this up?

Can I prime the view cache with something like this?
    public class TestHostedService: IHostedService
    {
        private readonly IServiceProvider _serviceProvider;
        public TestHostedService(IServiceProvider serviceProvider)
        {
            _serviceProvider = serviceProvider;
        }

        public async Task StartAsync(CancellationToken cancellationToken)
        {
            // Create a new scope to retrieve scoped services
            using(var scope = _serviceProvider.CreateScope())
            {
                var viewEngine = scope.ServiceProvider.GetRequiredService<ICompositeViewEngine>();
                // Get the DbContext instance
                using (var dbContext = scope.ServiceProvider.GetRequiredService<SugarcubeContext>())
                {
                    var paths = dbContext.Template.Select(t => t.Path)
                        .Union(dbContext.Layout.Select(l => l.Path))
                        .Union(dbContext.Snippet.Select(l => l.Path));

                    foreach (var path in paths)
                    {
                        var success = viewEngine.GetView(null, path, false).Success;
                        if (!success)
                        {
                            throw new Exception("NO Success");
                        }
                    }
                }
            }
        }

Thanks for contacting us, @worldspawn.
In ASP.NET Core 2.2 runtime-comiplation is disable by default. So all your Razor views/pages should be compiled at build time. Have you manually enabled it?
Please share a repro project so we can investigate this.

https://docs.microsoft.com/en-us/aspnet/core/mvc/views/view-compilation?view=aspnetcore-2.2

Hi @mkArtakMSFT. Sorry it's not explicit on my question. The views are being sourced from a database so compile time processing is not an option. I have added my own IFileProvider implementation to provide the source for each of these views. The fact that come from the database isn't relevant, just that they are coming from a custom source.
Its clear to me now that this whole issue is caused by doing runtime compilation of the views. And the runtime compilation is happening because the view are not cshtml files and cannot be compiled at build time. So no mystery there.
The best path forward I can see is to prime the cache of compiled views when the server process starts. In the example above I am loading all the known view paths from the database and I am then requesting that view from the ICompositeViewEngine.
For whatever reason though, subsequent requests (after the above has run) for that same view path do not seem to come from cache (they are loaded from db and compiled). A proper request initiated through a controller etc does seem to result in a compiled view being cached though. I know I'm going against the grain here but do you have any guidance on how I can prime the view cache?

So if I understood you correctly, the issue is that the caching doesn't work and the views being requested from the database always, rather than only the fist time, correct?


feat(Lodash): adapting to use lodash 4 using latest ember-lodash

adapted:

load patterns (lodash4 uses lodash/function instead of lodash/category/function
uniq to uniqBy using shorthands.
map does not have a context anymore, changed for a 2 step sort + mapped insertion
invoke to invokeMap when applied to a collection

🙌

Hey @samselikoff, can we get a 2.x release containing this change?

@josemarluedke all set, 0.2.6 released


Set up testing/CI.

I think this would work like this:

Tests execute the notebooks from top to bottom.
Cell metadata is used to mark cells that are expect to raise exceptions (and maybe which exception)
Tests pass if all cells run without errors or only cells that are marked have errors.

I'm not aware of prior art in the Binders I have dug through recently, but by the time we get around to doing this it is working checking other widely-used binders to see if anyone has pioneered a way to do this that we can imitate.

Closed by #41