Question on the use of raw bibtex fields in extra

Debug log ID
See in-text
What happened?
Context: I'm trying to cite a podcast, and because Zotero not supporting APA7 formatting of it (see also the Zotero forums, happy to link threads if you think they are relevant) I'm resorting to defining the author in the Extra field and appending the author roles (i.e. Host/Guest) as non-abbreviated initials. This is the closest I could get to the applicable APA 7 guidelines.
Problem: in the Extras field, I have specified:
Issued: 1-1-2024
Container title: Podcast series title
tex.author = {family={Lastname}, given={First second (Host)}, given-i={F. S. (Host)} and family={LastnameOtherauthor}, given={FirstOtherauthor (Guest)}, given-i={F. (Guest)}}
tex.entrysubtype  = {Audio podcast episode}
tex.maintitle = {Podcast series title}

However, in the generated .bib file, the author-line is enclosed in an additional set of curly brackets, as follows: tex.author = {{family={Lastname}, given={First second (Host)}, given-i={F. S. (Host)} and family={LastnameOtherauthor}, given={FirstOtherauthor (Guest)}, given-i={F. (Guest)}}}. As a consequence, the reference does not get printed in my reference list. Removing this redundant set of {} makes the reference visible as intended, but every time my .bib is updated by the auto export I'd have to remove them manually again.
Below my debug log (left out some lines because of privacy reasons, but besides that everything is included):
Application context:
Platform: Win32 Windows NT 10.0; WOW64
Addons:
  Zotero LibreOffice Integration (6.0.4.SA.6.0.30, extension)
  Zotero Word for Windows Integration (6.0.3.SA.6.0.30, extension)
  Zutilo Utility for Zotero (3.10.0, extension)
  Zotero Tag (0.3.0, extension)
  Better BibTex for Zotero (6.7.143, extension)
Settings:
  autoExport = "idle"
  citekeyFormatEditing = "auth.lower + shorttitle(3,3) + year"
  keyScope = "global"
  platform = "win"
Settings at default:
  ascii = ""
  asciiBibLaTeX = false
  asciiBibTeX = true
  autoAbbrev = false
  autoAbbrevStyle = ""
  autoExportDelay = 5
  autoExportIdleWait = 10
  autoExportPathReplaceDiacritics = false
  autoExportPathReplaceDirSep = "-"
  autoExportPathReplaceSpace = " "
  automaticTags = true
  autoPinDelay = 0
  auxImport = false
  baseAttachmentPath = ""
  biblatexExtendedDateFormat = true
  biblatexExtendedNameFormat = true
  biblatexExtractEprint = true
  bibtexEditionOrdinal = false
  bibtexParticleNoOp = false
  bibtexURL = "off"
  cache = true
  cacheFlushInterval = 5
  charmap = ""
  citeCommand = "cite"
  citekeyCaseInsensitive = true
  citekeyFold = true
  citekeyFormat = "auth.lower + shorttitle(3,3) + year"
  citekeySearch = true
  citekeyUnsafeChars = "\\\"#%'(),={}~"
  csquotes = ""
  DOIandURL = "both"
  exportBibTeXStrings = "off"
  exportBraceProtection = true
  exportTitleCase = true
  extraMergeCitekeys = false
  extraMergeCSL = false
  extraMergeTeX = false
  git = "config"
  import = true
  importBibTeXStrings = true
  importCaseProtection = "as-needed"
  importCitationKey = true
  importDetectURLs = true
  importExtra = true
  importJabRefAbbreviations = true
  importJabRefStrings = true
  importNoteToExtra = ""
  importSentenceCase = "on+guess"
  importSentenceCaseQuoted = true
  importUnknownTexCommand = "ignore"
  itemObserverDelay = 5
  jabrefFormat = 0
  jieba = false
  keyConflictPolicy = "keep"
  kuroshiro = false
  language = "langid"
  logEvents = true
  mapMath = ""
  mapText = ""
  parseParticles = true
  patchDates = "dateadded=dateAdded, date-added=dateAdded, datemodified=dateModified, date-modified=dateModified"
  postscript = ""
  postscriptOverride = ""
  preferencesOverride = ""
  qualityReport = false
  quickCopyEta = ""
  quickCopyMode = "latex"
  quickCopyOrgMode = "zotero"
  quickCopyPandocBrackets = false
  quickCopySelectLink = "zotero"
  rawImports = false
  rawLaTag = "#LaTeX"
  relativeFilePaths = false
  retainCache = false
  scrubDatabase = false
  separatorList = "and"
  separatorNames = "and"
  skipFields = ""
  skipWords = "a,ab,aboard,about,above,across,after,against,al,along,amid,among,an,and,anti,around,as,at,before,behind,below,beneath,beside,besides,between,beyond,but,by,d,da,das,de,del,dell,dello,dei,degli,della,dell,delle,dem,den,der,des,despite,die,do,down,du,during,ein,eine,einem,einen,einer,eines,el,en,et,except,for,from,gli,i,il,in,inside,into,is,l,la,las,le,les,like,lo,los,near,nor,of,off,on,onto,or,over,past,per,plus,round,save,since,so,some,sur,than,the,through,to,toward,towards,un,una,unas,under,underneath,une,unlike,uno,unos,until,up,upon,versus,via,von,while,with,within,without,yet,zu,zum"
  startupProgress = "popup"
  strings = ""
  stringsOverride = ""
  testing = false
  verbatimFields = "url,doi,file,pdf,ids,eprint,/^verb[a-z]$/,groups,/^citeulike-linkout-[0-9]+$/, /^bdsk-url-[0-9]+$/"
  warnBulkModify = 10
  warnTitleCased = false
  Zotero: export.quickCopy.setting = "bibliography=http://www.zotero.org/styles/apa"
Auto-exports:
  path: _____redacted______
    type: "collection"
    id: 91
    translatorID: "f895aa0d-f28e-47fe-b247-2ea77c6ed583" (Better BibLaTeX)
    enabled: 1
    recursive: 0
    status: "done"
    error: ""
    updated:<PHONE_NUMBER>297
    asciiBibLaTeX: 0
    biblatexExtendedNameFormat: 1
    DOIandURL: "both"
    exportNotes: 0
    useJournalAbbreviation: 0

Zotero.Debug.enabled: 1
Zotero.Debug.enabled at start: undefined

Errors:
[JavaScript Error: "TypeError: menulist.removeAllItems is not a function" {file: "chrome://zotero-better-bibtex/content/better-bibtex.js" line: 123359}]
1705219481095	addons.update-checker	WARN	Request failed: https://raw.githubusercontent.com/windingwind/zotero-tag/master/update.rdf - 404: Not Found
[JavaScript Error: "TypeError: this._collapseUnusedItems is not a function" {file: "chrome://global/content/bindings/autocomplete.xml" line: 962}]
adjustHeight/this._shrinkTimeout<@chrome://global/content/bindings/autocomplete.xml:962:15

[JavaScript Error: "TypeError: menulist.removeAllItems is not a function" {file: "chrome://zotero-better-bibtex/content/better-bibtex.js" line: 123359}]
[JavaScript Error: "TypeError: menulist.removeAllItems is not a function" {file: "chrome://zotero-better-bibtex/content/better-bibtex.js" line: 123359}]
[JavaScript Error: "TypeError: menulist.removeAllItems is not a function" {file: "chrome://zotero-better-bibtex/content/better-bibtex.js" line: 123359}]
[JavaScript Error: "inputRef.current is null" {file: "resource://zotero/note-editor/editor.js" line: 51436}]
[JavaScript Error: "The connection to wss://stream.zotero.org/ has terminated unexpectedly. Some data may have been transferred."]
[JavaScript Error: "WebSocket connection closed: 1006 "]
[JavaScript Error: "The connection was refused when attempting to contact wss://stream.zotero.org/."]
[JavaScript Error: "WebSocket connection closed: 1006 "]

pdf.pdf (5273 KB)"]
[JavaScript Error: "TypeError: menulist.removeAllItems is not a function" {file: "chrome://zotero-better-bibtex/content/better-bibtex.js" line: 123359}]
[JavaScript Error: "TypeError: menulist.removeAllItems is not a function" {file: "chrome://zotero-better-bibtex/content/better-bibtex.js" line: 123359}]
[JavaScript Error: "XML Parsing Error: no root element found

what version of zotero are you on

If you go into Help -> Debug Output Logging -> Clear Output there will be nothing in the log that's not above. It would help me if you could do that and then right-click on the item you described above and choose "Better BibTeX -> Submit Better BibTeX debug log" from the menu.

However, in the generated .bib file, the author-line is enclosed in an additional set of curly brackets

Why not just remove the outer braces in the extra field?

The next version of BBT will omit the file paths of the auto-exports.

Thanks for the quick reply. Getting rid of the outer curly braces in the extra field indeed did the trick... It didn't come up in me to try, as the other entries in the Extra field (e.g. tex.maintitle = {Podcast series title}) did not get enclosed in an additional set, but it works.
This is on Zotero version 6.0.30 on Windows 10.
See attached for the BetterBibtex json export of the record
export.json

I don't know why you redacted the ID, that's the identifier for my translator and the same for everyone, and the redaction makes that I couldn't import it; founding out why wasted time I could have used in better ways. Please don't edit out stuff without telling me about it, you're putting up roadblocks to my diagnosis.
Please go into Help -> Debug Output Logging -> Clear output, then send a debug log, before you click "Continue" click "Save copy", inspect the contents, and tell me what you do not want in there. Maybe I can structurally remove it from the debug log, maybe it's fine if you edit things out, but the entire point of the debug log is that I don't have to spend time guessing at what you are looking at.

(e.g. tex.maintitle = {Podcast series title}) did not get enclosed in an additional set

Come on man, Podcast series title isn't even in the sample you sent. You are making this aggravatingly difficult to diagnose. I have to go by half-descriptions of what you are actually looking at.
Help me find a way to send a debug log that omits the stuff you don't want me to have, but the entire point of the debug log is to spare me this back and forth guessing game on what you actually have that triggers the problem, which is a really poor use of my time.

If I stick the extra content from the original message in the extra field without the outer braces, so
Issued: 1-1-2024
Container title: Podcast series title
tex.author = family={Lastname}, given={First second (Host)}, given-i={F. S. (Host)} and family={LastnameOtherauthor}, given={FirstOtherauthor (Guest)}, given-i={F. (Guest)}
tex.entrysubtype = Audio podcast episode
tex.maintitle = Podcast series title

(and those last two don't even have TeX, so they could have been tex.maintitle: Podcast series title etc)
that exports to
@audio{lastnameTitleWordsPodcast2024,
  entrysubtype = {Audio podcast episode},
  title = {‘{{Title Words}}’: {{The Podcast}}’s Title},
  author = {family={Lastname}, given={First second (Host)}, given-i={F. S. (Host)} and family={LastnameOtherauthor}, given={FirstOtherauthor (Guest)}, given-i={F. (Guest)}},
  date = {2024-01-01},
  journaltitle = {Podcast series title},
  url = {https://www.google.com/},
  abstract = {empty},
  maintitle = {Podcast series title},
  keywords = {/unread}
}

which we could have easily established with a debug log ID, or even by a proper, non-broken BBT-JSON export.

Thanks again for the comments.

It does. It exports to {{Podcast Title}}.

You're right, my bad. I had entered the podcast title in three fields (Series Title, and then again in the Extra field as Container title and as maintitle). Not sure which, but one of these fields got parsed into the JournalTitle field in the .bib with only 1 set of {} (as expected); the .bib also gets a maintitle = where there are two sets of {}, like you described, but I think I overlooked those. I assumed whatever I'd put into the Extras field would just be appended to the .bib entry and never noticed these {} being added consistently. Probably the result of me trying for hours on end rather than taking a fresh look at it again later. So indeed, there is no 'unexpected' set of {} being added; I just interpreted the working of this Extra field wrongly; that part of the issue is indeed addressed.
Re my incomplete logs: I thought I could redact some lines that seemed mundane to maintain anonymity, but I see I took this way too far, and I also shouldn't have redacted fields without knowing what they do. I appreciate the effort you invested in helping me address my issue, so my sincere apologies for the extra work caused. I created two new debug logs with ID LSIC7P7X-euc/6.7.143-6 (from Tools > Better Bibtex > Send debug log) and 49ULKA86-refs-euc/6.7.143-6 (right mouseclick on this reference > Better Bibtex > Send debug log) in case you still want to have a look.
The fields I wished to remove are path (in the application context tab) as that gives away the Windows account name + in my case my occupation and project name; and in the errors tab it will display groups that have run out of storage space; these group names also refer to my work.
Back to why I got here in the first place: citing a podcast in APA7 requires the addition of the authors' roles in the reference list, in my case "Host" for the first author and "Guest" for the second. As per this StackExchange thread, I first tried adding a line author+an:role = {1=host,2=producer} to the bibtex entry. I don't understand why and how to solve this, but it results in (Host) properly being appended for the first author, but nothing shows for the second author.
Now, suppose it would work, I'm not sure how I could put this in Zotero so that bbt would auto-export it properly to the .bib entry. If I include author+an:role = {1=host,2=producer} in the Extras field, then in the .bib it shows author+an = {role = \{1=host,2=guest\}}, whereafter neither the (Host) nor (Guest) shows up in the literature list. Writing tex.author+an:role = 1=host,2=guest in the Extras field gives author+an = {role = 1=host,2=guest} in .bib, which also results in neither (Host) nor (Guest) being printed.
Because I could a) not figure out how to get both roles printed, and b) even if I got this working, how to get it into Zotero, I resorted to declaring the roles in the author initials-field. This has as downside that after (Host) a period is printed, but was the best I could do until now. And in this process, I ran into the above "bug" (which turned out not to be a bug but my own lack of error).
I suppose addressing the citing of podcasts would be more suited to discuss on the Zotero forum?

The fields I wished to remove are path (in the application context tab) as that gives away the Windows account name

That has already been removed, the builds you see here now don't have them. I can remove the filename too, but I need a way to refer to the auto-export.

these group names also refer to my work.

If you can describe them, I can remove them. I don't need any personal information. I just need enough information to know what you are looking at; descriptions by end users are often incomplete, misinterpreted, or simply mistyped, and I used to spend way too much time eking out information so I could get to a fix. I need a reliable way to make sure I'm seeing the problem (input) or error message itself, not a description of it. Otherwise I have no chance to reproduce the problem.
Some of the out-of-storage logs have already been removed in the builds that drop here, because privacy issues aside, non-relevant errors a nuisance for me to go through to find mine.

author+an:role = {1=host,2=producer}

tex.author+an:role = {1=host,2=producer} should have worked, but that indeed has a bug. I can get tot that tomorrow.

I suppose addressing the citing of podcasts would be more suited to discuss on the Zotero forum?

If there is a way it works in Zotero, I will adopt that. In the meantime, the tex.author+an:role should have worked, so I'll fix that.

Ah -- my parser is detecting the first : in author+an:role and thinks that the field name is author+an. I'll think of a way around that.

With build 5662, you can add
tex."author+an:role": 1=host,2=producer
to the extra field.
I hope to put out a new release today pending one bug I'm still trying to fix, but Friday at the latest.


Fix code highlighting in documentation

Fixes #733
Update react-syntax-highlighter to the latest version and the highlighting works fine.
Fixed a small typo in the meantime.

Before:

After:

@lapstjup there seems to be issues when the highlighter language is set to jsx, which makes the highlighting inconsistent. For example, the following code segment is not detected correctly when set as jsx:
return (
  <div className={\`LeftNav__nav \${selected === 'home' ? 'LeftNav__nav--active' : ''}\`}>Home

);

I have played around with other languages and setting them to typescript seems to work best as it standardises all code segments. With this change there wouldn't be any inconsistencies in terms of colours

@jamessspanggg your code does not follow the styles guide, https://thenewboston.com/style-guide/react, please fix the issues, if you need any help seting your VS-CODE to run prettier after saving, I'll be happy to help.
index.tsx needs styling.

hi @accessdeniedIT thanks for spotting the mistake. I ran prettier beforehand, it's just that the code segment is surrounded within a string, which wont be detected by prettier. Have updated the indentation accordingly.

panggg your code does not follow the styles guide, https://thenewboston.com/style-guide/react, please fix the issues, if you need any help seting your VS-CODE to run prettier after saving, I'll be happy to help.
index.tsx needs styling.

Another thought, since the code style is currently being checked manually, should we setup CI in order to check code styles in every PR?

I don't have permission for that, but I'll bring it up to the leads, either way, as long as you setup up your IDE properly this shouldn't be an issue

@jamessspanggg have you made the manual changes?

@jamessspanggg have you made the manual changes?

Yep done so

make sure you push correctly because I can't see the changes.

make sure you push correctly because I can't see the changes.

It's in my most recent commit in this PR here? Or am I missing what you wanted me to change

167 |
168 | @@ -181,7 +183,7 @@ const LeftMenu: FC = () => {

169 |
|     ^
170 | );`}
171 |           heading="LeftMenu.tsx"
172 |           language={SnippetLang.jsx}

and other compile errors

@jamessspanggg it's still not formatted properly

@jamessspanggg it's still not formatted properly

@accessdeniedIT sorry but I cannot reproduce what you provided. I have ran npm run lint, npm run prettier and npm run start locally and all works fine without any compilation error.
Are you on the correct branch? Did you pull the latest changes? Did you run npm install?

ok I did a manual update, it it fixed the issues based on your latest reference to the change


I saw your talk, and very interesting. But why use the same paradigm as before?

Node is an interesting tool, but why stick with old technology when dotnet core works at scale with greater performance than node, coming into version 3?
This is Month old code, and yet it seems no consideration to architecture was even made and we assume Node is best for this.  What a waist.

Hi! Node was specifically selected because both ceej and I are well-practiced in it, and the community we hope to grow around the project is likely to be most comfortable contributing JS. (I had to be talked down from writing portions of this in Rust, likewise ceej and golang. JS is the right fit for this project, though. Alternate registries and clients may appear written in other languages.) Notably: we knew we would end up with multiple services, but wanted to build a single functioning service first and split it out (which is what I’m working on in #135), because of Gall’s law.
I also want to note here: coming into a project, disparaging underlying tech choices, and lamenting the choices made is generally considered to be very rude. Further comments like this will be removed and result in a block.


Calls to Math are several orders of magnitude slower than when run outside of Jest

It appears that at least some calls to Math (only tested abs and acos) are several orders of magnitude slower than when run outside of the Jest environment.
See this repo and follow the first list of instructions to reproduce the issue. Running Math.abs ten million times takes about 10ms outside of Jest, but increases to about 2000ms within a Jest environment.
OS: macOS High Sierra 10.13.2
Jest: 21.2.1
Node: 8.9.1
NPM: 5.5.1

It seems like it could be some issue of optimization at a lower level perhaps because a single call to Math.abs is about the same speed regardless of environment, but as soon as I make the call a hundred times I can tell a difference in run speed.

This is really interesting... It went from 2000ms to 1000ms by just injecting Math from parent context, but it's still a lot slower (and we don't want to do that anyways).
I think we somehow hit some deoptimisation, but I'm not sure how to debug that.
Thanks for the focused reproduction!

My suspicion is that this is somehow to do with parallel virtualisation of tests, which uses workers.

Using runInBand (which disabled parallelization) doesn't make a difference

Does jest affect babel configuration in any way or does it take whatever's in .babelrc?

Looks like we can close this now :)

I agree. Not sure about the best solution, though

@theblang Any news about this issue? i've got the same problem you had here. Using jest-image-snapshot take about 20sec per snap.
Thanks.

@jack89ita that should no longer be an issue. I made some changes in Jest-image-snapshot awhile back to fix the perf issues. Can you open an issue in Jest-image-snapshot with a repro? A test taking 20 seconds is way beyond normal.

@anescobar1991 thank you for your answer. I was doing some test and i noticed that for taking a new snapshot it takes around 7s, but if i already have one the comparison takes about 20s. I am taking a fullpage screenshot with puppeteer at hight resolution (1920px width, the height depens on the page).
How much time it should take for a "normal" snapshot?
Thanks.

@jack89ita A few hundred milliseconds at the very most.

@anescobar1991 wow..that's a big difference. may this be caused by the images dimensions?

Possibly but hard to tell without a repro.

@ajhsu this was solved in v2.0.0 that was released awhile back, so taking 2 minutes to compare is not normal. Either way can you open an issue in jest- image-snapshot? Let’s not spam this jest issue.

for me - not really. I will dig into it at weekends

paeth predictor is that Math.abs heavy user
https://github.com/lukeapage/pngjs/blob/master/lib/paeth-predictor.js#L3

I'm also experiencing this, ballooning what was a <1s test suite in mocha to a 2 minute (!!) test suite 😞
Would it be problematic to automatically do this for commonly used globals based on a config property as suggested?

Any particular reason this was closed? PNGjs lib maintainers believe this is still an issue.
https://github.com/pngjs/pngjs/issues/96
At least on jest 29.5 with some of pngjs I was seeing performance hits around 50x. I spent half an hour trying to setup worker threads before realizing that jest was causing massive slowdown in at least one particular function:
PNG.sync.write

(Locking as this issue has been closed for more than 4 years - not sure why the bot hasn't done so)


SPDX tools current state for testing SPDX tag documents.

I am not sure if this tool is currently being developed and maintained.  The online checking tool works okay for a sample SPDX file that I am using - the payload is as shown below.
## Document Header
SPDXVersion: SPDX-2.1
DataLicense: CC0-1.0
SPDXID: SPDXRef-DOCUMENT
DocumentName: SwiftBom-v1.8.0-2021-05-18
DocumentNamespace: https://sei.cmu.edu
Creator: Organization:    Software Engineering Institute
Created: 2021-05-18T20:43:00Z
CreatorComment: <text> SBOM-Demo tool to support NTIA SBOM healthcare PoC effort. Primary component is the all inclusive HTML file. </text>
## Packages
## 2.4 Primary Component (described by the SBOM)
PackageName: SwiftBom-v1.8.0
SPDXID: SPDXRef-SwiftBom-v1.8.0
PackageComment: <text>PURL is<EMAIL_ADDRESS>ExternalRef: PACKAGE-MANAGER purl<EMAIL_ADDRESS>PackageVersion: 1.8.0
PackageSupplier: Organization:    SEI
PackageDownloadLocation: NOASSERTION
FilesAnalyzed: false
PackageLicenseConcluded: NOASSERTION
PackageLicenseDeclared: NOASSERTION
PackageCopyrightText: NOASSERTION

On running a sample test using this git repo and the code below:
from spdx.parsers.tagvalue import Parser
from spdx.parsers.tagvaluebuilders import Builder
from spdx.parsers.loggers import StandardLogger
p = Parser(Builder(), StandardLogger())
p.build()
f=open("test.spdx","r")
q=f.read()
document, error = p.parse(q)

I get the following errors.
Package checksum must be instance of spdx.checksum.Algorithm
Package verif_code can not be None.
Package must have at least one file.
Package licenses_from_files can not be empty

As I understand the spec

Package checksum is optional
PackageVerificationCode is optional as well unless FileAnalyze is true
The sample SPDX has no file per se as it is for a device with software
The LicenseInfoInFile is also dependent on what License assertion is as I understand.

So it seems to be not quite working as expected.  Can you clarify if there is something wrong with what is being attempted?
Thanks
Vijay

@sei-vsarvepalli The tool definitely needs love but is overall stable and used in production day all the times.
What you are trying is not wrong, we just need to support it!
Do you think you could help there? I can provide some guidance.

Hello Philippe @pombredanne
Happy to help, let me know. I can follow your contributing guidelines and commit any updates.
Thanks
Vijay

Hi @sei-vsarvepalli! With the current state of the tool I couldn't reproduce your issue. So I think this is fixed and this issue can be closed.

Closing this as it appears to be fixed.


About downloading high quality videos

Checklist

[x] I'm asking a question
[x] I've looked through the README and FAQ for similar questions
[x] I've searched the bugtracker for similar questions including closed ones

Question

If I choose best as the download format, I get a low-quality video.
Does this happen because it makes a single file?
If I want to get high quality and audio, does that mean I need to DL bestvideo and bestaudio twice and fuse them together?

This depends. Read FAQ on format selection.


Data Exfil PR

Generic Data Exfiltration Analytics Story, along with a detection for the recently released POC code for SNICat (exfil over TLS SNI).  Macros included.

Also looks like CI failed with the following error:
processing manifest ./stories/data_exfiltration.yml
while scanning a simple key
  in "./stories/data_exfiltration.yml", line 7, column 1
could not find expected ':'
  in "./stories/data_exfiltration.yml", line 8, column 1
Error reading ./stories/data_exfiltration.yml

I do not think the story is valid yml.


Tutorials should be fool proof(eg. MvcMovie sample)

Everything works fine, but adding/editing movie records does not work!!!!!
Validation generates the following message: The field ReleaseDate is not a valid date...

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

ID: 1d975a83-1550-b284-d0d8-7fe2ea206ff5
Version Independent ID: 48e81b42-7c2b-afbf-71e6-d4f442a4bd1f
Content: Add a model to an ASP.NET Core MVC app
Content Source: aspnetcore/tutorials/first-mvc-app/adding-model.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

You need to enter a valid date. Keep working.


[BUG] DocValuesField "my_field" appears more than once

Describe the bug
When attempting to use the bulk API to update documents, the update is rejected with an illegal argument exception stating DocValuesField "description.vector" appears more than once in this document (only one value is allowed per field.
To Reproduce
See the below Python script...
action = { "update": { "_index": "my_index", "_id": doc_id }}
source = {
    "doc": {
        "title.vector": embeddings[0].tolist(),
        "description.vector": embeddings[1].tolist(),
        "scrape.rawText.vector": embeddings[2].tolist()
    }
}

payload = ""

payload += json.dumps(action) + "\n"
payload += json.dumps(source) + "\n"

client.bulk(body=payload)

Plugins
All of 'em -- see AWS OSS Plugins, full output from _cat/plugins is here.
Host/Environment (please complete the following information):

OpenSearch 2.5

Could you give a sample of what is in the embeddings[1-3]? That may help us work out what is going on.

Without looking at the problem, if anyone has time, it would be helpful to try to get to a smaller/simpler end-to-end repro and turn it into a failing unit test.


Publish WinML Dashboard in Microsoft Store

This would make it easier to install and then update automatically.

Thank you for your request! The Windows ML team is taking this idea under consideration as we plan new features.
If there are others who have this feature request, please feel free to comment and let us know how it would be helpful for you.

Hey @lostmsu , thanks for the feature request. What do you use the dashboard for, and which features are the most important to you?
Publishing to the store would be hard for us due to store and UWP restrictions, so it's not something we would work on right now. But the entire app is compiled to JavaScript and can be run within a browser. We could keep the latest webapp hosted on GitHub pages (we used to have something like https://tiagoshibata.github.io/WinML-Dashboard/), so users could open it in a web browser and have the latest version running automatically. Would that help?
The one thing that wouldn't work is the converter, which runs on Python; there are ways to make it work by e.g. running a Python interpreter in webassembly, but it's not something we have done.

I don't use it often. I think my scenario was viewing the compute graph of a model.

The team has taken this under consideration for future investments, but no plan to put the dashboard on the store in the near term, so closing this issue.


Update TouchableWithoutFeedback.js

Removing superfluous information here, as there's no need to dictate UX design in code documentation.

This turns into the docs:
http://facebook.github.io/react-native/docs/touchablewithoutfeedback.html#content
We'd like to keep the note.

I understand the thoughtful point you are trying to make. Yes I know this
goes into the docs, but I don't think this belongs in the docs. For
example, what if the person designing or building the app wants to build a
custom feedback style on touch? What if I have an element that should not
change visually on touch? (like a scroll view, or a map that pans, for
instance). Why restrict developers and designers by defining what you can
and can't do? Let the designer decide what is correct on a case by case
basis, rather than insisting that apps should be designed one way or
another.
-jack
On Tue, Oct 27, 2015 at 3:01 PM, Ben Alpert<EMAIL_ADDRESS>wrote:

This turns into the docs:
http://facebook.github.io/react-native/docs/touchablewithoutfeedback.html#content
We'd like to keep the note.
—
Reply to this email directly or view it on GitHub
https://github.com/facebook/react-native/pull/3727#issuecomment-151610450
.

--
Jack Kalish
www.jackkalish.com

You can use TouchableWithoutFeedback however you want to... contrast this with Apple's approach of outright not letting you do things because they make certain classes private or expose inflexible APIs.
If you think the wording should be changed (e.g. "We recommend you do not use this unless you have a  good reason") that's fine IMO. At a fundamental level RN is open source, it exposes TouchableWithoutFeedback as a public API, and you're free to do whatever you want with it to the extent of your own abilities.


Upgraded to the latest ARC and lost all my saved projects

Upgraded to the latest ARC and lost all my saved projects.  I'm on Windows using Chrome Version 58.0.3029.81 (64-bit).

@jgrant216 Did you update to desktop app from Chrome app (which was suggested inside the app)? If yes, please, transfer your data as described here: https://github.com/jarrodek/ChromeRestClient/issues/1146#issuecomment-442376328


Needs Installation Instructions and More Detailed Usage Directives

The project is really beautiful but it Needs Installation Instructions and More Detailed Usage Directives for new users to be able to use it easily.
Will create a PR around this if I can learn and use nvcc4jupyter.
Are there any docs or example notebooks you could direct users to?
cc: @andreinechaev

While I am currently working on a notebook that teaches CUDA C++ using this extension, you can see examples right now on this page. I will hopefully update this issue with the notebook or at least link to it in the readthedocs documentation.


Error in connecting

The container works and runs  fine but i cannot connect it like "localhost:8199/metrics"  it works fine and shows metrics but ip:8199 or any other port cannot be open on new tab or connect in whatsapp what do i need to do?

They aren't HTTP endpoints, so you can't connect to any of the other ports via a browser. You should try directing your mobile app at one of the exposed ports, 80, 443, or 5222.


Use Yosys HQ v0.10 as a submodule

Motivate of the pull request

[x] To address an existing issue. If so, please provide a link to the issue: #371
[ ] Breaking new feature. If so, please describe details in the description part.

Describe the technical details
What is currently done? (Provide issue link if applicable)

Currently, OpenFPGA has the following limitations:

Current Yosys submodule is a QuickLogic version. As agreed in #371 , we should go for the yosys HQ version where we have most developers and updates

What does this pull request change?

This PR improves in the following aspects:

[x] Switch Yosys submodule to Yosys HQ v0.10 release; Quicklogic submodule is removed
[x] Update yosys script by replacing the deprecated command opt_rmdff with opt_dff
[x] Fixed critical bugs in multi-mode FF HDL modeling, which caused reset signal unconnected (reported in #371 )

Which part of the code base require a change

[ ] VPR
[ ] Tileable routing architecture generator
[ ] OpenFPGA libraries
[x] FPGA-Verilog
[ ] FPGA-Bitstream
[ ] FPGA-SDC
[ ] FPGA-SPICE
[x] Flow scripts
[x] Architecture library
[ ] Cell library
[ ] Documentation
[x] Regression tests
[ ] Continous Integration (CI) scripts

[x] submodules

Impact of the pull request

[x] Require a change on Quality of Results (QoR)

The yosys v0.10 changes the number of BRAMs for some VTR benchmarks.
 INFO (     MainThread) - Task execution completed
ERROR: Benchmark 00_memset_MIN_ROUTE_CHAN_WIDTH failed in checking 'memory_blocks'
Found: 0 but expected: 1 outside range [20.0%, 10000.0%]
ERROR: Benchmark 00_paj_raygentop_hierarchy_no_mem_MIN_ROUTE_CHAN_WIDTH failed in checking 'memory_blocks'
Found: 0 but expected: 1 outside range [20.0%, 10000.0%]
INFO: Checked 26 metrics
INFO: See 2 QoR failures

[x] Break back-compatibility. If so, please list who may be influenced.

All the yosys scripts have been updated. If any tape-out has used the yosys scripts, they require a change.

@tpagarani @ganeshgore @coolbreeze413 This PR is ready to go now.


Added 'es' email templates in JSON file

I had a pair of days free so I improve the email templates with translation to 'es' and I added to emailtemplate.json file.

Codecov Report

Merging #515 into master will increase coverage by 0.06%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #515      +/-   ##
==========================================
+ Coverage   63.19%   63.25%   +0.06%
==========================================
  Files          35       35
  Lines        3241     3241
  Branches      494      494
==========================================
+ Hits         2048     2050       +2
  Misses       1055     1055
+ Partials      138      136       -2

Impacted Files
Coverage Δ

helpdesk/tests/helpers.py
88% <0%> (+8%)
: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 e197f31...559a5a4. Read the comment docs.

Hi @andresf01 thanks for providing these translations! looks good to me except for one question, why did you add the angle brackets on line 776? (<assigned_cc></assigned_cc>). I think that will cause some problems as that template will not be accessible at run time. Please change back to just "assigned_cc" and then I'm happy to merge!

Nevermind @andresf01 I was able to push a quick patch to fix this. I'm guessing your text editor might have auto changed it to an xml tag?

Thank you @gwasser I think so.


Groupby.nunique along index

We currently calculate groupby.nunique by using drop_duplicates on all chunks, then concatenate all results together followed by an nunique.  This works ok as long as the intermediate result fits into memory.  In cases where we group along the index,
s.groupby(s.index).nunique()

or along an operation that maintains groups along the index
s.groupby(s.index.year).nunique()

Then we can just do nuniques directly on the chunks.  This is more efficient and less prone to fill up memory.  The idea of "operations that maintain groups along the index" is also an interesting one.  For example this would fail for the following:
s.groupby(s.index.minute).nunique()

Closing since dask uses regular aca for nunique at this point.


dawn-v3.0.0  eosiocpp -g, get empty abi

bogon:currency cl$ eosio-abigen -version
LLVM (http://llvm.org/):
  LLVM version 4.0.1
  Optimized build.
  Default target: x86_64-apple-darwin16.7.0
  Host CPU: haswell

bogon:currency cl$ eosiocpp -g currency.abi currency.cpp
Generated currency.abi ...
bogon:currency cl$ cat currency.abi
{
  "____comment": "This file was generated by eosio-abigen. DO NOT EDIT - 2018-04-08T10:51:44",
  "types": [],
  "structs": [],
  "actions": [],
  "tables": [],
  "clauses": []
}

you didn't  "sudo make install " when beginning ?   in eos/build/


MixedRealityLineRenderers and Data Providers perform more work than necessary

Describe the bug
MixedRealityLineRender is updating the Unity LineRenderer every late update. The component should be redesigned to only update when necessary especially for properties that have changed.
To reproduce
Look at class. Many properties are even hardcoded every lateupdate which could be done in OnEnable
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Your Setup (please complete the following information)

Unity Version 2018.4 LTS
MRTK Version MRTK_Dev

Target Platform (please complete the following information)

HoloLens
HoloLens 2
WMR immersive
OpenVR

Additional context
Add any other context about the problem here.

Incoming changes include pushing major line renderer work onto background threads and caching line data provider local positions.

@Railboy This is quite old, but do you remember if

major line renderer work onto background threads and caching line data provider local positions.

was completed?

I believe #6863 closed this.


Store server side a list of level that can be finished without losing any life

Use https://github.com/Kinto/kinto

First trying with Firebase…

https://fiery-heat-4665.firebaseio.com/


Add ocp-25000 ocp-25021 ocp-25090 ocp-25212  ocp-24997 test roles

Add tests

ocp-25000: basic statefulset, daemonset, replicaset test
Creates one statefulset, one daemonset and one replicaset and migrates them.

ocp-25021: basic init containers test
Creates two pods with an nginx container with empty html directory and an init-container that writes a "hello-world" html file in it.
One pod is using an init-container with external image, and the other one with internal image.

ocp-25090: basic job test
Creates 2 jobs that remain waiting without ending or doing anything. One using an internal image and the other one using an external image. They both will be running during the migration.
Creates 1 job that will end before migration
Only running jobs should be migrated.

ocp-25212: basic cronjob test
Creates 2 cronjobs saying "hello-world". One using an external image and the other one using an internal image.

ocp-24997: basic confimap configuration test
Creates a redis and uses a configmap to configure the memory of this redis instance. After checking that the migration is OK, checks that the redis configuration in the target cluster matches the one defined in the configmap.

@dymurray @sseago Please confirm that CronJob migration is a known issue and we don't expect it to work as of today.
We have an existing BZ tracking it as @fbladilo mentions:  https://bugzilla.redhat.com/show_bug.cgi?id=1761931


feat(DTO): Support extra="forbid" model config for PydanticDTO

Set forbid_unkown_fields=True for PydanticDTOs where the Pydantic model has an extra="forbid" config.

Add a new get_config_for_model_type method to AbstractDTO, that allows to customise the base config defined on the DTO factory for a specific model type
Use get_config_for_model_type to set forbid_unkown_fields=True for Pydantic models that use the `extra="forbid" config

Depends on #3690. Don't merge before that one :)

@peterschutt to keep you in the loop a bit. This isn't really merging configurations, but it's a step in the right direction and at least allows per-model dynamic configs. I think this should help to handle a few of the use cases of config merging already.

I think this should help to handle a few of the use cases of config merging already.

Sounds great! Thanks for the ping:)


importing raise_error and molutil

[x] I'm not wholly convinced, but add raise_error for default to which and which_import after discussion in https://github.com/MolSSI/QCEngine/pull/65
[x] Replace deprecated find_loader with find_spec.
[x] Q: ModuleNotFoundError is not right for which but what is?
[x] Move numpy alignment to molutil

this is RTG

Squish LGTM commits?

squish the whole thing, imo

Fixed some os.pathsep and added an env to which to help code with custom envvar. Not sure I did it the best way. Here's a context manager: https://github.com/laurent-laporte-pro/stackoverflow-q2059482/blob/master/demo/environ_ctx.py

LGTM


Vulnerabilities found in dependencies

Environment
Knex version: 0.21.5
Database + version: sqlite3
OS: Windows
Bug
We are using Knex 0.21.5, and when we run our application through our vulnerability analysis software, it reports several "High" vulnerabilities in the dependencies for Knex.  They seem to be dependencies on the kind-of dependency in the liftoff library.
Error Message
Here is a link to the CVE: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20149

Here is the dependency chain, showing several vulnerable versions (3.22, 5.1.0, and 4.00 all appear in the list).
PS C:\Users\rcollins\Code\git\rnd\cloud-next-app\landlord> npm lis kind-of
<EMAIL_ADDRESS>C:\Users\rcollins\Code\git\rnd\cloud-next-app\landlord
`--<EMAIL_ADDRESS>  `--<EMAIL_ADDRESS>    +--<EMAIL_ADDRESS>    | `--<EMAIL_ADDRESS>    |   +--<EMAIL_ADDRESS>    |   | +--<EMAIL_ADDRESS>    |   | | `--<EMAIL_ADDRESS>    |   | |   `--<EMAIL_ADDRESS>    |   | `--<EMAIL_ADDRESS>    |   |   +--<EMAIL_ADDRESS>    |   |   | `--<EMAIL_ADDRESS>    |   |   |   +--<EMAIL_ADDRESS>    |   |   |   | `--<EMAIL_ADDRESS>deduped
    |   |   |   +--<EMAIL_ADDRESS>    |   |   |   | `--<EMAIL_ADDRESS>deduped
    |   |   |   `--<EMAIL_ADDRESS>deduped
    |   |   `--<EMAIL_ADDRESS>    |   |     `--<EMAIL_ADDRESS>    |   +--<EMAIL_ADDRESS>    |   | `--<EMAIL_ADDRESS>    |   |   +--<EMAIL_ADDRESS>    |   |   | `--<EMAIL_ADDRESS>deduped
    |   |   +--<EMAIL_ADDRESS>    |   |   | `--<EMAIL_ADDRESS>deduped
    |   |   `--<EMAIL_ADDRESS>deduped
    |   +--<EMAIL_ADDRESS>    |   | `--<EMAIL_ADDRESS>    |   |   `--<EMAIL_ADDRESS>    |   |     +--<EMAIL_ADDRESS>    |   |     | `--<EMAIL_ADDRESS>deduped
    |   |     +--<EMAIL_ADDRESS>    |   |     | `--<EMAIL_ADDRESS>deduped
    |   |     `--<EMAIL_ADDRESS>deduped
    |   +--<EMAIL_ADDRESS>    |   +--<EMAIL_ADDRESS>    |   | `--<EMAIL_ADDRESS>deduped
    |   `--<EMAIL_ADDRESS>    |     +--<EMAIL_ADDRESS>    |     | +--<EMAIL_ADDRESS>    |     | | +--<EMAIL_ADDRESS>    |     | | | `--<EMAIL_ADDRESS>    |     | | |   `--<EMAIL_ADDRESS>    |     | | `--<EMAIL_ADDRESS>    |     | |   `--<EMAIL_ADDRESS>    |     | +--<EMAIL_ADDRESS>    |     | | `--<EMAIL_ADDRESS>    |     | |   `--<EMAIL_ADDRESS>    |     | |     `--<EMAIL_ADDRESS>    |     | `--<EMAIL_ADDRESS>    |     |   `--<EMAIL_ADDRESS>    |     |     +--<EMAIL_ADDRESS>    |     |     | `--<EMAIL_ADDRESS>deduped
    |     |     +--<EMAIL_ADDRESS>    |     |     | `--<EMAIL_ADDRESS>deduped
    |     |     `--<EMAIL_ADDRESS>deduped
    |     `--<EMAIL_ADDRESS>    |       `--<EMAIL_ADDRESS>    |         +--<EMAIL_ADDRESS>    |         | `--<EMAIL_ADDRESS>    |         +--<EMAIL_ADDRESS>    |         | `--<EMAIL_ADDRESS>    |         `--<EMAIL_ADDRESS>    `--<EMAIL_ADDRESS>      `--<EMAIL_ADDRESS>        `--<EMAIL_ADDRESS>deduped

The problem is that these are transitive dependencies that come from liftoff package which seems to be no longer actively maintained, unfortunately.

Related: https://github.com/js-cli/js-liftoff/issues/115

Resolved in master

Released in 0.95.0


[BE] Make key as string

Motivation and Context
 This is a bug fix for loading the resume state of the agent
How Has This Been Tested
 Resume social nav training and it works
Types of changes

[Bug Fix] (non-breaking change which fixes an issue)

Checklist

[x] My code follows the code style of this project.
[] I have updated the documentation if required.
[x] I have read the CONTRIBUTING document.
[x] I have completed my CLA (see CONTRIBUTING)
[ ] I have added tests to cover my changes if required.

Thanks Andrew!!!!


Dojos not being converted in Salesforce

Rosa verified this this morning http://zen.coderdojo.com/dashboard/dojo/at/otelo-linz-luftraum-bethlehemstrasse-30-4020-linz/linz-stadt
And it did not turn into an account in Salesforce.
It is still a lead here https://eu2.salesforce.com/00Qb000000HtynO

updates to champion profiles are now saved in salesforce. will update labels when fix is deployed.

Will we need to manually go through and convert any Dojos that were not converted since now? This http://zen.coderdojo.com/dashboard/dojo/uz/tashkent/uzb-coder was verified this morning but is not in Salesforce (not even as a Lead).

the last comment is most likely related to issue #641 where the convert script was not being run because the wrong platform id has associated with the lead.

I'm not sure if this is related, but the notes field on the Dojo does not update:
https://eu2.salesforce.com/001b00000143ZiVAAU/d?retURL=https%3A%2F%2Fnpe01.eu2.visual.force.com%2Fapex%2FaccountViewOverride%3Fid%3D001b00000143ZiV%26sfdc.override%3D1&nooverride=1
I updated it a couple of times to add/remove characters but it did not update, it does not match the listing: https://zen.coderdojo.com/dashboard/dojo/ie/dublin/dublin/dublin-docklands-chq
The website field does not seem to update either.


Inconsistent run times of tomee external tests on some x64 machines

Based on https://ci.adoptopenjdk.net/job/Test_openjdk8_hs_sanity.external_x86-64_linux_tomee/ it seems to run quickly on the softlayer machine but slowly on the godaddy ones - close to 10 hours vs under an hour. We should investigate the logs and the machines to see where the slowness is occurring. There are certainly places where there are close to 4 hour delays showing in the logs when it's trying to download some of the external tools e.g. from run 477
20:02:14  [INFO] Downloaded from JBoss Repository: https://repository.jboss.org/nexus/content/groups/public-jboss/net/sourceforge/htmlunit/htmlunit/2.33/htmlunit-2.33.jar (2.0 MB at 22 kB/s)
Cancelling nested steps due to timeout
23:54:57  Sending interrupt signal to process
23:55:14  Terminated
23:55:14
23:55:14  tomee_test_hs_0_FAILED

This is limiting the performance of the overnight pipelines

tomee tests are currently disabled. Closing


Fix undefined behavior in src/choices.c

using libc shipped with cygwin,
the build breaks with the following error message:
choices.c:25:3: error: array subscript has type 'char' [-Werror=char-subscripts]
if (tolower(str[mstart]) == tolower(query[0])) {
Note: implementing tolower as a macro that does a lookup in
an array - using the argument as an index - is a valid
implementation according to the standard.
"the argument is an int, the value of which shall be representable as an
unsigned char or shall equal the value of the macro EOF.
If the argument has any other value, the behavior is undefined."

Hey @GBuella, thanks for fixing this!
Does this build on your system when casting to unsigned char instead of unsigned? If so, I think it would be worth changing to that since that is what the standard is specifying.

All right, I guess that doesn't technically change anything, but might make it more clear for some reading the code.
Added in another commit.

Thanks @GBuella! Merged as cbd0e7a.


Cannot queue pipeline if a first pipeline runs

I have a project with two non-started pipelines. I start the first one. I would like to queue the run of the second one, but " Run Pipeline: Not available until previous pipelines have completed. " shows in the pipeline pop-up and I can queue it for running.

As a note, you do not need to manually queue the "second" pipelines as it will be executed automatically once the first one completes.
The UI is not great at the moment regarding the pipeline execution and should be improved, see https://github.com/nexB/scancode.io/issues/997
I think the user should only be able to start/stop a workflow (ie a combination of pipelines where the execution sequence matters) and not act on a single pipeline.

Fixed in https://github.com/nexB/scancode.io/issues/997


'--all-subs' downloads and embeds subtitles but '--sub-lang en' does not

Checks

[x] I've verified and I assure that I'm running youtube-dl 2016.05.16
[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

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

Summary
I have
-o "~/Movies/%(uploader)s/%(title)s.%(ext)s"

# Subtitles
--sub-lang en
#--all-subs
--embed-subs

--embed-thumbnail
--add-metadata

in my ~/.config/youtube-dl/config file.
Running ~ ❯❯❯ youtube-dl "https://www.youtube.com/watch?v=P5-WGdiWAB4" -v on this video with English (en) and Portuguese (pt) subtitles will download and embed the subtitles when --all-subs is uncommented but --sub-lang en is works, but not the other way around. Additionally --sub-lang en,pt fails to download and embed either set of subtitles.
Logs
-all-subs:
[debug] System config: []
[debug] User config: ['-o', '~/Movies/%(uploader)s/%(title)s.%(ext)s', '--all-subs', '--embed-subs', '--embed-thumbnail', '--add-metadata']
[debug] Command-line args: ['https://www.youtube.com/watch?v=P5-WGdiWAB4', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.10
[debug] Python version 3.5.1 - Linux-4.5.4-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2
[debug] Proxy map: {}
[youtube] P5-WGdiWAB4: Downloading webpage
[youtube] P5-WGdiWAB4: Downloading video info webpage
[youtube] P5-WGdiWAB4: Extracting video information
[youtube] P5-WGdiWAB4: Downloading MPD manifest
[info] Writing video subtitles to: /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.en.vtt
[info] Writing video subtitles to: /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.pt.vtt
[youtube] P5-WGdiWAB4: Downloading thumbnail ...
[youtube] P5-WGdiWAB4: Writing thumbnail to: /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.jpg
[debug] Invoking downloader on 'https://r4---sn-uo1-jije.googlevideo.com/videoplayback?id=3f9f9619d896001e&itag=137&source=youtube&requiressl=yes&initcwndbps=1181250&mn=sn-uo1-jije&mm=31&mv=m&ms=au&pl=21&ratebypass=yes&mime=video/mp4&gir=yes&clen=18750294&lmt=1463722565073351&dur=80.121&fexp=9405973,9414672,9416126,9416891,9417703,9422596,9423554,9428398,9431012,9432565,9433096,9433700,9433946,9435876,9436606,9436795,9436824,9436958,9437066&key=dg_yt0&mt=1463736430&signature=9141645C1412576A8A52F832FDBA27E5275397C5.38C000C9458CF75FDE2AC6C3D47571C3BD27BEA6&upn=Xhy1zeMw6VU&sver=3&ip=<IP_ADDRESS>&ipbits=0&expire=1463758362&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,mn,mm,mv,ms,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.f137.mp4
[download] 100% of 17.88MiB in 00:48
[debug] Invoking downloader on 'https://r4---sn-uo1-jije.googlevideo.com/videoplayback?id=3f9f9619d896001e&itag=140&source=youtube&requiressl=yes&initcwndbps=1181250&mn=sn-uo1-jije&mm=31&mv=m&ms=au&pl=21&ratebypass=yes&mime=audio/mp4&gir=yes&clen=1274165&lmt=1463722461754020&dur=80.178&fexp=9405973,9414672,9416126,9416891,9417703,9422596,9423554,9428398,9431012,9432565,9433096,9433700,9433946,9435876,9436606,9436795,9436824,9436958,9437066&key=dg_yt0&mt=1463736430&signature=2AA9513411B82F9A966A7B19CE90E7211814EB81.3DD95CD215461542B92D6F902D86EB3C8408C960&upn=Xhy1zeMw6VU&sver=3&ip=<IP_ADDRESS>&ipbits=0&expire=1463758362&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,mn,mm,mv,ms,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.f140.m4a
[download] 100% of 1.22MiB in 00:03
[ffmpeg] Merging formats into "/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.f137.mp4' -i 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.temp.mp4'
Deleting original file /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.f137.mp4 (pass -k to keep)
Deleting original file /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.f140.m4a (pass -k to keep)
[ffmpeg] Adding metadata to '/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.mp4'
[debug] ffmpeg command line: ffmpeg -y -i 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.mp4' -c copy -metadata 'purl=https://www.youtube.com/watch?v=P5-WGdiWAB4' -metadata 'title=Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff' -metadata 'artist=The Intercept' -metadata date=20160518 -metadata 'comment=How did the now-suspended President react when she saw the corruption-implicated, right-wing all-white-male cabinet appointed by the substitute President who took her job? Watch the full interview at The Intercept.' -metadata 'description=How did the now-suspended President react when she saw the corruption-implicated, right-wing all-white-male cabinet appointed by the substitute President who took her job? Watch the full interview at The Intercept.' 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.temp.mp4'
[ffmpeg] Embedding subtitles in '/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.mp4'
[debug] ffmpeg command line: ffmpeg -y -i 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.mp4' -i 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.en.vtt' -i 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.pt.vtt' -map 0 -c copy -map -0:s -c:s mov_text -map 1:0 -metadata:s:s:0 language=eng -map 2:0 -metadata:s:s:1 language=por 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.temp.mp4'
Deleting original file /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.en.vtt (pass -k to keep)
Deleting original file /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.pt.vtt (pass -k to keep)
[atomicparsley] Adding thumbnail to "/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.mp4"
[debug] AtomicParsley command line: AtomicParsley '/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.mp4' --artwork '/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.jpg' -o '/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.temp.mp4'

--sub-lang en:
[debug] System config: []
[debug] User config: ['-o', '~/Movies/%(uploader)s/%(title)s.%(ext)s', '--sub-lang', 'en', '--embed-subs', '--embed-thumbnail', '--add-metadata']
[debug] Command-line args: ['https://www.youtube.com/watch?v=P5-WGdiWAB4', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.05.10
[debug] Python version 3.5.1 - Linux-4.5.4-1-ARCH-x86_64-with-arch
[debug] exe versions: ffmpeg 3.0.2, ffprobe 3.0.2
[debug] Proxy map: {}
[youtube] P5-WGdiWAB4: Downloading webpage
[youtube] P5-WGdiWAB4: Downloading video info webpage
[youtube] P5-WGdiWAB4: Extracting video information
[youtube] P5-WGdiWAB4: Downloading MPD manifest
[youtube] P5-WGdiWAB4: Downloading thumbnail ...
[youtube] P5-WGdiWAB4: Writing thumbnail to: /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.jpg
[debug] Invoking downloader on 'https://r4---sn-uo1-jije.googlevideo.com/videoplayback?id=3f9f9619d896001e&itag=137&source=youtube&requiressl=yes&initcwndbps=1176250&mv=m&ms=au&mm=31&mn=sn-uo1-jije&pl=21&ratebypass=yes&mime=video/mp4&gir=yes&clen=18750294&lmt=1463722565073351&dur=80.121&sver=3&key=dg_yt0&upn=mkfxKNChU6M&signature=74FA1D4A0269304A63AA76476AAC7389E0074FD1.61A5FB8EFEC4752F1E28FBE0F7AD56F14D0F0F5B&mt=1463736688&fexp=9416126,9416891,9422596,9428398,9431012,9433096,9433946,9435876&ip=<IP_ADDRESS>&ipbits=0&expire=1463758602&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,mv,ms,mm,mn,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.f137.mp4
[download] 100% of 17.88MiB in 00:27
[debug] Invoking downloader on 'https://r4---sn-uo1-jije.googlevideo.com/videoplayback?id=3f9f9619d896001e&itag=140&source=youtube&requiressl=yes&initcwndbps=1176250&mv=m&ms=au&mm=31&mn=sn-uo1-jije&pl=21&ratebypass=yes&mime=audio/mp4&gir=yes&clen=1274165&lmt=1463722461754020&dur=80.178&sver=3&key=dg_yt0&upn=mkfxKNChU6M&signature=1B5EAA716262E47B2CB6F4BAEB69269E4C8D62BB.9029C4BCB45D8C2650CD07EFA0CBD1149DF9BF94&mt=1463736688&fexp=9416126,9416891,9422596,9428398,9431012,9433096,9433946,9435876&ip=<IP_ADDRESS>&ipbits=0&expire=1463758602&sparams=ip,ipbits,expire,id,itag,source,requiressl,initcwndbps,mv,ms,mm,mn,pl,ratebypass,mime,gir,clen,lmt,dur'
[download] Destination: /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.f140.m4a
[download] 100% of 1.22MiB in 00:05
[ffmpeg] Merging formats into "/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.mp4"
[debug] ffmpeg command line: ffmpeg -y -i 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.f137.mp4' -i 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.temp.mp4'
Deleting original file /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.f137.mp4 (pass -k to keep)
Deleting original file /home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.f140.m4a (pass -k to keep)
[ffmpeg] Adding metadata to '/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.mp4'
[debug] ffmpeg command line: ffmpeg -y -i 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.mp4' -c copy -metadata 'purl=https://www.youtube.com/watch?v=P5-WGdiWAB4' -metadata 'description=How did the now-suspended President react when she saw the corruption-implicated, right-wing all-white-male cabinet appointed by the substitute President who took her job? Watch the full interview at The Intercept.' -metadata 'artist=The Intercept' -metadata 'comment=How did the now-suspended President react when she saw the corruption-implicated, right-wing all-white-male cabinet appointed by the substitute President who took her job? Watch the full interview at The Intercept.' -metadata 'title=Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff' -metadata date=20160518 'file:/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.temp.mp4'
[ffmpeg] There aren't any subtitles to embed
[atomicparsley] Adding thumbnail to "/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald's interview with Brazilian President Dilma Rousseff.mp4"
[debug] AtomicParsley command line: AtomicParsley '/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.mp4' --artwork '/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.jpg' -o '/home/expenses/Movies/The Intercept/Excerpt of Glenn Greenwald'"'"'s interview with Brazilian President Dilma Rousseff.temp.mp4'

[ffmpeg] There aren't any subtitles to embed

You need to append --write-sub besides --sub-lang to download subtitles. --sub-lang itself just specifies the language to download in --write-sub.

Thank you! This seems like an inconsistency though, as all you need to download and embed thumbnails is --embed-thumbnail. When youtube-dl sees the --embed-subs flag, it should check for a --sub-lang and download and embed subtitles accordingly.

I changed the semantic of --embed-thumbnail in 8e595397529abc71093264e3695fb00d95be4d78.

When youtube-dl sees the --embed-subs flag, it should check for a --sub-lang and download and embed subtitles accordingly.

Agreed.


Fixed position dialog does not correctly position a popover inside of it in latest RC

Bug report
Current Behavior
In

<EMAIL_ADDRESS><EMAIL_ADDRESS>
A dialog with a fixed position that contains a popover component will have the popover component positioned twice the distance it should display at.
sandbox
Expected behavior
In

<EMAIL_ADDRESS><EMAIL_ADDRESS>
A dialog with a fixed position that contains a popover component will have the popover component positioned correctly.
sandbox
This seems to be a regression with how radix is calculating the transform for non static components in the new RC.

Hi @SyntheticGoop,
It's not a regression, it's a known issue with fixed position #781. However, you are seeing it here because the release candidates now have an explicit Portal part to wrap around Content as the portal is no longer baked-in.
Once you render those, you should get the same behaviour as in current stable.
✌

Thanks for the quick response! It's been a pleasure working with radix.


Import Error for log.py

Module log.py is directly imported from normalize_repos module in normalize_repos.py which causes an import error while running the script.

@rajdesai24 this is not an error as when the scripts are executed, the normalize_repos/ directory is treated as the working directory.
https://github.com/creativecommons/ccos-scripts/blob/75e141a83d4096aec42d3391c036523520c65456/.github/workflows/normalize_repos.yml#L22
You can get rid of the error/warning by configuring your IDE (which appears to be PyCharm) to treat the directory as "Sources Root".

@rajdesai24 please update the issue if the above solution works for you.

I'll try this and let you know asap


Expire password reset token after a period of time

Generating a password reset token without any expiration time opens up a potential security flaw. Not a very easily exploitable one, but an easily preventable one nonetheless. More info: http://www.owasp.org/index.php/Forgot_Password_Cheat_Sheet#Step_3.29_Send_a_Token_Over_a_Side-Channel
In addition to their email account being compromised, there's another possible scenario: if a user clicks Reset Password but never gets around to actually resetting their password, anyone who gets access to the backend database at any point in the future can reset that user's password. This would be much faster than trying to crack the encrypted password. And since by default there is no email sent upon password change, the user might not ever know that their account has been compromised.

Is this still an issue?


[Audio Player]: QA: Only pointer gestures are available for Volume slider

Description
Page Element: Volume slider
Issue Description:
Only pointer gestures are available for Volume slider. No buttons are available to increase/decrease volume
Expected:Buttons should be available for the user to increase/decrease the volume
User Impact:
When only gestures are available, keyboard users who have seizure problems will face difficulty in accessing the application.
Component(s) impacted
Audio Player
Browser
Firefox
Carbon for IBM.com version
v1.37.0-rc.0
Severity
Severity 3 = The problem is visible or noticeable to users but does not impede the usability or functionality. Affects minor functionality, has a workaround.
Application/website
Carbon for IBM.com
Package
@carbon/ibmdotcom-web-components
CodeSandbox example
https://carbon-design-system.github.io/carbon-for-ibm-dotcom/canary/react-experimental/?path=/story/components-audio-player--default
Steps to reproduce the issue (if applicable)
No response
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[ ] I checked the current issues for duplicate issues

Design updates add volume control buttons


Error message grammar fix

The original syntax is correct.

Proposed systax is also correct and consisitent with must not be equal to error message.

I think it's OK as is.

I don't think consistency matters here. There's slight tone difference between must be no and must not be. The latter feels much stronger.

Ok, thanks for explaination.


feature: improvements of formatting Russian phone numbers

It is our fixes for proper formatting of Russian phones

Coverage remained the same at 99.406% when pulling f92e5d777a618273f8569ded4909e186b1177587 on abak-press:master into 392d205f0bdbbf86f195339033dbfc7dbd981d79 on floere:master.

:up:

@isqad Thanks to you and contributors for a fine PR! 👍 Apologies for the very long wait 🙇🏻♂ Released in 2.16.10 🚀


Added FP Check for validation

Which issue this PR addresses:
Fixes https://issues.redhat.com/browse/ARO-4734
What this PR does / why we need it:
Users are getting "Internal Server Error" when they have a deleted ServicePrincipal, and we want to give them a better and more detailed response. We noticed that the SP validation checks happen that would catch this and return the right error, but FP doesn't so we are doing the same validation step for FP as well.
Test plan for issue:
Looking into ways to test this as it would require removing a SP on this branch in an INT env.

Looks good to me, but we will have to test this to validate.  As discussed, let's use the provided test tenant to simulate and see whether we get a correct error message.

On a second thought, I think we should adjust the error message for invalid token that the service principal couldn't be found too.


[Pods] Moving raw strings to constants files

Moved all the state strings from the Pod, PodInstance and PodContainer  to a constants file.

We checked the code with @jdef and we realized that all the responses are normalized to lower-case. Changed the constants to reflect this.

@jdef pointed out that the containers are using the upper-case TASK_XXX constants from here: https://github.com/apache/mesos/blob/master/include/mesos/mesos.proto#L1497 - Updated the constants to reflect this change

/ping @nLight
/ping @orlandohohmeier

🚢 !

🚢 🚢 🚢


PDR-23 API Details Get pt 1

This change introduces a /details endpoint for the API.
You must provide assetType=park as a query parameter to access park names.
You must also provide one or more of the following parameters:

status: status=current -  queries on the byStatusOfOrcs GSI.
identifier: identifier=1 - the identifier (pk) of the assetType - this is ORCS/ParkID for parks (no leading zeroes).
legalName: legalName=Strathcona Park - the legal name of the assetType.

If you supply more than one of the above parameters, you will only get results that match every parameter supplied.
Ex: /details?assetType=park&status=current will give you all current park names.
Testing files and Postman in progress.
Note: There are some fundamental changes to our query, scan and sendResponse functionalities in our new Layers compared to previous projects.

Closing in favour of #128 -  updated api urls.


Issue about how to improve the efficiency of MU processing in spikeinterface?

Our data is collected by Intan devices in RHD format, which is then converted into raw files and stored using spikeinterface. We then read the raw files again and obtain MUA (Multi-Unit Activity) through the detect_peaks( ) method. However, our data size is extremely large, and the processing speed is very slow and unstable. There are frequent instances where the processing gets stuck and doesn't complete. In these situations, sometimes the results are outputted, and sometimes they are not. Additionally, the computer does not show any error messages, and I have observed that there is no memory overflow. This situation is quite perplexing. Therefore, I am wondering if there are methods in spikeinterface to enhance the efficiency and stability of MUA processing. For example: (1) How to resolve the issue of MUA processing getting stuck and improve the overall stability of the program; (2) How to read raw files, process them into MUA data, and store them simultaneously, instead of reading all raw files first, processing, and then writing the output; (3) How to utilize global_job_kwargs to enhance processing speed; (4) How to improve the overall processing speed of the program.
Looking forward to everyone's response and answers.

@sunjie454, This is the package for probes, you might want to open your issues on the actual spikeinterface tracker instead since it doesn't seem like this is a probe-based issue. https://github.com/SpikeInterface/spikeinterface/issues

@sunjie454, This is the package for probes, you might want to open your issues on the actual spikeinterface tracker instead since it doesn't seem like this is a probe-based issue. https://github.com/SpikeInterface/spikeinterface/issues

Thanks for your answer very mach. But, the probeInterface cannot resolve my problem. Anyway , thanks for your answer.


Uploading SnakeGame by Puneet Singh

Snake game made using HTML , CSS and Js which is played using arrow keys.

great work, Please create a demo folder inside "SnakeGame" and add a working demo of your project named demo.gif

I have added the demo MP4 file in the same folder


Issue 217 pon qc -- big

There are quite a few changes in this pull request.

Added the PoN Arm-Level Event Detector, which runs, by default, when creating a PoN.  This is implemented in the PoNIssueDetector.  This class can be extended to include other PoN QC steps.
PoNIssueDetector has arm-level event detection in both Spark and non-spark versions.
CreatePanelOfNormals CLI refactored and made into a slimmer CLI class and created several backend objects (e.g. HDF5PoNCreator )
CreatePanelOfNormals CLI has flag to skip QC step and create the PoN immediately with the input BAM files.
CreatePanelOfNormals CLI will produce a blacklist file of the samples that are tagged by the PoNIssueDetector.
CreatePanelOfNormals CLI will produce a weights file that can be used in PerformSegmentation.
Default locations of blacklist and weights file can be overridden by the user in CreatePanelOfNormals CLI.
PerformSegmentation CLI can now take optional weights file.
Added TangentNormalizer class that can do several tangent normalization operations.  Will usually return an instance of TangentNormalizationResult.  Spark and non-spark workflows are implemented.
Added method to TangentNormalizer that can allow tangent normalization of all normals in a PoN into the PoN.  This is useful for arm-level event detection and calculating target variances.
Targets in reduced panel are stored in the PoN as String table (virtually -- see below).
Raw targets are stored in the PoN (totally unfiltered -- identical to input file during creation).
The storage of targets allows for future tool to extract the targets (issue 265)
Added generic ability to store String tables in the HDF5 PoN.  Since string tables are not actually supported (yet) in HDF5, the implementation stores a String array and a number of columns field.  The wrapping code hides this implementation detail.
Target variances are stored in the PoN.  The weight file that is generated is 1/variance for each target.
Created HDF5PoNCreator class that handles the PoN creation independently from any front-end.  Can also redo the calculation of the reduced PoN related fields without re-creating the entire PoN.  This class contains both Spark and non-spark workflow.
PoN.java interface updated to reflect the availability of these new fields.
Added/extended unit tests for comparison of all fields in PoNs.
Fixed issue with modifiable/unmodifiable PoN field copies not being honored in implementation.
Created RamPoN, which is a full PoN that is stored entirely in RAM.  This is used for redo'ing reduction in HDFPoNCreator and is useful for testing.
NormalizeSomaticReadCounts CLI refactored and made into a slimmer CLI class and created several backend objects (e.g. TangentNormalizer)
Several more steps in PoN creation are now implemented in Spark (non-spark workflow is preserved and still accessible by end users).  Documentation provided that labels these steps.
Default non-Spark SVD to ojAlgo implementation.  Note that Apache Commons RealMatrix are still used throughout, so conversion is performed.  Also note that this conversion takes very little time (on 150k x 1374 matrix)
Some testdata generation matlab scripts are provided to ease changes down the road.  These are not really supported and are meant for future developers.
Case2PoNTargetMapper was split into separate class, since several steps in PoN creation (e.g. target variances calculation and PoN QC)
More documentation added.
ReadCountCollection now serializable to make it play nice with Spark.  Test added to make sure it can be serialized/deserialized.
Target now serializable to make it play nice with Spark.  Test added to make sure it can be serialized/deserialized.
Corrected some tests in ParamUtils that would behave incorrectly if given a NaN.
Added methods for simple file reading/writing in ParamUtils.
Change RCBSSegmenter to (optionally) use a weights file and accept a minWidth parameter.  See CBS docs for more info.
Added utility class to aid in the conversion of Spark distributed and local matrices and Apache RealMatrix.
SVD now uses ojAlgo for the non-spark implementation of SVD.
Updated the GATK CBS.R file to accept the weights file.  This was esecially necessary since there is a bug in CBS segment that will not allow weights=NULL to be specified, even though that is the default value.  This is because it checks whether the parameter is specified and if it is, will crash if given NULL.  (shaking fist at R)
Added integration tests for CreatePanelOfNormals with/without Spark, with/without QC.
Added assertBasicPoNAssumptions to CreatePanelOfNormalsIntegrationTest.java that tests some basic PoN coherence.
Created PoNTestUtils, which contains some good utility methods for testing PoN logic in our unit/CLI tests.
Added testing of RamPoN
Added testing of segmentation with new weights
Added tests that test whether TangentNormalizer can properly tangent normalize normals in a PoN.
Moved many of the CreatePanelOfNormalsIntegrationTest tests into the unit test for HDF5PoNCreator.  Added a few more for the target variances.
Added relevant test data
Updated pon ground truth testdata with the new fields.  These were verified through manual means and through other tests (mentioned above) before being integrated into the test files.  Matlab scripts are provided.

closes #275
closes #264
closes #247
closes #218
closes #217
closes #214

@davidbenjamin One comment to myself: Move docs/PoN into docs/CNV/PoN/ and move the docs/PoN/testdataGeneration into scripts/CNV/PoN/testdataGeneration/.  Seem reasonable?

@LeeTL1220 seems reasonable.

@davidbenjamin I need to rebase due to other PRs being merged.  One moment...

@davidbenjamin running unit tests locally before I commit and force push.

@davidbenjamin Updated code due to required new rebasing due to merging of simplify beta hats branch

@LeeTL1220 Review complete.

@davidbenjamin Need to rebase before giving it back to you, since other branches were merged.  Probably done tonight

@davidbenjamin Rebased.... ready for (hopefully) final review....  All unit tests should pass.  If not, please re-assign to me
Added a MatrixUtils class for those row/column calculations that are common.


feat: text support

Creating this since I'm almost done with implementing support for conflict-free text via Yjs YText. Only have a few things left:

[x] State mapping needs to map between strings and YText objects.

[x] Write tests to confirm mapping is correct.
[x] Implement string ⇒ YText mapping.
[x] Implement YText ⇒ string mapping.

[ ] Write integration tests

How to check that we are actually using YText and not strings?

The best way to confirm that we are using YText is to induce a race condition (two users typing at the same time) and look for behavior that indicates we are using strings. YText conflict resolution is non-deterministic, so we can't perform a check for that. But I think string replacement is deterministic, so we should be able to check that.

Will be using this to post updates instead of #39.

:tada: This PR is included in version 1.3.0-rc.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Notification not displayed when Bluetooth is off

User has to enable Bluetooth to see notification detail in the app.
The app triggers notification to the system notification area, but the notification in the app (the red panel) is not displayed while Bluetooth is turned off.
Once the user turns it on, the notification is displayed properly.
v2.1.613
Android 9

Hey, can you please retest this on latest beta version? Write me your primary Google account to<EMAIL_ADDRESS>

The author couldn't reproduce, closing.


Update OpenAI function calling tutorial to latest SDK

A rewrite of the OpenAI function calling tutorial to include changes to the SDK and behaviour of the latest models.

worth closing & reopening? we're a bunch of unrelated reviewers 😬

Oof, why was this merged when comments pointing out issues weren't addressed?

It looks like some of the comments I made here also weren't addressed either, including the removal of the local development stuff, and the linked code repo being out of sync with the code on this page. 🤔

I apologize both of you (and possibly more)! I did not see the review comments in the changed files and GitHub had collapsed to a point where it looked like everything was resolved. I got asked for a quick review, and this needed a deeper one than I gave it. I apologize this is on me.
I will get those addressed.


bash kind action

Shell script is commonly used.
If we can create an action with shell script, many users can take advantage of OpenWhisk.
Even they can automate their bash logics or provide it as a REST API.
For example, if someone wants to use OpenStack client feature in OpenWhisk action, it is also possible to implement all logics with OpenStack sdk.
But it is too time-wasting job to implement all the features because there are huge number of  features.
Instead, user can define shell script which execute openstack cli and delegate to it.
User can easily use all functionalities of OpenStack client and automate painful shell-accessing jobs.
It is just an example, I think there might be more use-cases for bash kind action.
In this scene, it would be important to define pre-installed packages.

@style95 this is already supported - the default docker skeleton in fact executes a bash script. Also this article shows how to use the bash support to support a Go action: https://www.ibm.com/blogs/bluemix/2017/01/docker-bluemix-openwhisk/

The bash script has an problem reading openwhisk’s json-like parameters and responsing json
I have modified the code on dockerskeleton’s actionproxy.py  slightly, It allows you to access the value of json from the bash by supplying the json key as an environment variable.
You can visit my repository :)
If you want to execute cli command that not in docker image, you just write install script in bash script (exec) when the script is called for the first time

@rabbah great documents!
I knew we can run any bash script or binaries with custom docker skeleton but I couldn't imagine such use cases. That would be very useful when user want to add their own dependencies without pulling custom docker image.
For clarity, I wanted --kind bash in this pr.
User will be able to create an action like this:
wsk action create hello hello.sh

Then users can also more easily take advantage of what you mentioned to add dependencies.
@sungjunyoung
It seems your changes will be valuable when user uses bash action.
How about creating a PR with your changes.
We can get more people involved and discuss your approach in depth.
It would be more easier to get your changes as well ;)

I'm currently working to do that people can create custom action with bash script. I'll create PR In the near future. Thanks, @style95 !

@sungjunyoung thanks for sharing your changes - looks like the main change you made is to recursively project the JSON object's fields into env vars. Did you consider using jq instead?
> cat exec
#!/bin/bash

apk update && apk add jq

ARGS=$@
A=`echo "$ARGS" | jq '."a"'`
B=`echo "$ARGS" | jq '."b"'`
C=`echo "$ARGS" | jq '."c"[0]'`
RES=$(($B + $C))

echo A is $A
echo "{\"result\": $RES }"

> wsk action create bash exec --native
ok: created action bash

> wsk action invoke bash -p a A -p b 123 -p c '[1,2,3]' -r
{
    "result": 124
}

jq isn't installed in the base dockers skeleton image yet but that'll be useful to add. It would avoid modifying the proxy as an alternative.

jq seems to be a better alternative in that users can write code without changing the proxy. Still, if openwhisk support kind --bash, user can use it more familiar. Furthermore, it would be even more surprising if the user could customize the runtime (ex, wsk runtime resister --name bash --docker <my-docker>) and register it locally.

The easiest way to support kind --bash if that's what you'd like to achieve is to adjust the runtime manifest to add a new kind
diff --git a/ansible/group_vars/all b/ansible/group_vars/all
index 02c2b08..8b0deb1 100644
--- a/ansible/group_vars/all
+++ b/ansible/group_vars/all
@@ -96,6 +96,12 @@ runtimesManifestDefault:
       deprecated: false
       image:
         name: "action-php-v7.1"
+    bash:
+    - kind: "bash"
+      default: true
+      deprecated: false
+      image:
+        name: "dockerskeleton"

Note that I'm reusing the dockerskeleton image. Then you can do this:
> wsk action create mybash exec --kind bash
ok: created action mybash

> wsk action invoke mybash -p b 123 -p c '[1,2,3]' -r
{
    "result": 124
}

+1 to the idea of allowing users to register their docker images as kinds. I see this related to re-architecting how we handle docker actions in general (related to this comment: https://github.com/apache/incubator-openwhisk/issues/1362#issuecomment-337943114)

@rabbah
We firstly used jq but dropped it after a while. It's because parsing parameter with jq seems to be hard to use and not intuitive.
If we let users to use jq to acquire the parameter, they might choose python or nodejs rather than bash kind.
We think env var is well integrated to bash and users might take this approach very easily and facilitate the  use of bash kind.
Any opinion for this?

@rabbah Can I get some information about discussion of this issue? The use of jq and the use of recursively registered env vars each seem to have pros and cons.

use of jq

pros

Users who are familiar with jq are easy to use.
Not need to touch the dockerskeleton unless to install jq on the docker.

cons

Users who are unfamiliar with jq are hard to use
jq can parse deep depth JSON, But  users who want to use the bash action do not usually request complex parameters.

use of recursively registered env vars with auto boxing

pros

Users do not have to think about JSON parsing in the bash script.
If users want to return simple string (ok / fail), Also Users do not have to think about JSON formatting to response
Not need to install jq in docker

cons

New docker image should be pushed to openwhisk dockerhub repository for support kind —-bash in the following way that commented

If dockerfile that I modified pushed to openwhisk dockerhub repository, I think I can test and send PR for more discussion. What do you think about this?

The convenience of the runtime manifest is that for private deployments you deploy which images you want or need including replacing the openwhisk ones on dockerhub with organization specific ones. So one approach is to leave the. openwhisk docker skeleton alone and either publish your own or simply integrate it with your build and deployment.
The down side of modifying the skeleton that’s part of the current base image is that you’ll incur the cost of recursively walking a json object whether the action is a bash one or not. I don’t know what the performance impact of that might be but for the majority of docker actions I suspect this will be unnecessary overhead.
If as you say users for bash scripts will not expect complex objects than a simple jq query is straight forward.
You’re welcome to open a pull request and also raise discussion on the dev list.

Another alternative is to create a new kind and override the behavior of the default proxy (see the swift action for an example).

@rabbah Thanks for a quick answer and I undertood about issue that could be happen. Seems to be good alternative that override the behavior of default proxy. :) I'll take a look at it.

I opened PR it on behalf of @sungjunyoung.  #3138
cc. @rabbah


describe writeToLegacy option

LGTM! I have a legacy account and spent a few days reverting back to the 0.1.x branch of this module on some recently provisioned machines that picked up the 2.x versions. I'll be trying out the writeToLegacy option with 2.x soon.

@bryanmikaelian going to revisit this to highlight that it is better to use 1.x if the account isn't on tags.

@niklibrato If writeToLegacy is flagged on does the user also have to include a configured source? The latest readme is lacking documentation on configuring the source so this may be helpful to include.

@bryanmikaelian good point elaborating a little more.
@gmckeever not sure really.. also worth investigating..

Just realized that the options part is completely messed up. I'll fix it.

@bryanmikaelian @gmckeever can you please review?

@stevenscg if your Librato account doesn't support tags, we recommend you use the 1.x branch rather than the writeToLegacy option.

@niklibrato Got it. Thanks.


Add typical state and add more typical budgets

Codecov Report

Merging #297 (c650de3) into master (62f8c00) will increase coverage by 0.18%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master     #297      +/-   ##
============================================
+ Coverage     34.87%   35.05%   +0.18%
- Complexity      348      351       +3
============================================
  Files           114      114
  Lines          2162     2165       +3
  Branches        183      183
============================================
+ Hits            754      759       +5
+ Misses         1354     1352       -2
  Partials         54       54

Impacted Files
Coverage Δ
Complexity Δ

...in/java/seedu/address/model/budget/BudgetList.java
68.25% <100.00%> (+1.58%)
18.00 <1.00> (+1.00)

src/main/java/seedu/address/model/budget/Date.java
58.82% <0.00%> (+5.88%)
6.00% <0.00%> (+1.00%)

...du/address/model/sort/SortBudgetsByCreateDate.java
100.00% <0.00%> (+50.00%)
2.00% <0.00%> (+1.00%)

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 62f8c00...c650de3. Read the comment docs.


Rotate only a specific child element of divIcon

Hi, I am using this library to rotate my custom marker. But I have a label for the marker, which also rotates with the marker. I wanted to rotate only my icon (which I add throught the L.divIcon). Is there a way for it ?

I have been dealing with this same issue. I ultimately ended up having the label rotate counter to the marker. this is an acceptable but not entirely desired solution. What did you come up with?


49 setup service monitoring

I've prepared monitoring
The kube-prometheus-stack consists of a couple of services:

prometheus - it scrapes other services for metrics
grafana - used to visualize the metrics gathered by prometheus
node exporter - used to scrape information about kubernetes and host machine
alert manager - probably for alerts - tbh I'm not sure how to use it. I think that we could omit this service

This commit should be included in this PR too, but accidentally I've commited it on master and pusthed it to repo ;P


fix GitHub workflows path in README

Hi @alohr51, Thank you very much for your contribution 😄 . It will be great if you can tell us the feedback If you have already tested this GitHub Action.

@ibakshay no problem! so far we've been testing with this GitHub Action, but my team uses a fork & branch approach to repositories and I noticed GitHub Actions kinda fall short there with available permissions/scope which means this Action can't work the way we want to. We do love the idea of this tool though so great work!
We might fallback to the original hosted CLA tool or host our own, but not sure yet.


Trait statement is missing on generation

When document classes are generated - trait statements are missing.

I recall I was once working on making the generator inline with ORM's trait-wise: https://github.com/doctrine/mongodb-odm/pull/988 if that helps :)

Triaging as a bug but not scheduling on purpose

Code generators were removed in #1708


Very slow importing

We have a spreadsheet with 16,000 rows and importing (even with queued chunks) is extremely slow.
We've tried converting it to a CSV document and although the speed increased slightly, it's still very very slow.
This is related to #669 #620
It's been suggested that:

Speeding this up, is not something this package can accomplish, as the actual importing is done by the parent package PHPExcel.

I don't actually agree with that, I think the package could have an option to serialize the row's data when queuing so it doesn't need to re-open the CSV file each time and re-parse. There are ways to improve the speed and I think it's something within Laravel-Excel's capabilities. What do you think? 😄

I disagree, we can't speed something up that another package does.
Unfortunalty there's nothing we can do as we just wrap PHPExcel, we can't change any core behaviour. We have attempted to offer solutions to speed it up, like queued chunks.

If you come up with something brilliant that does speed it up massivly, please do PR it.

Well that's a shame. I guess this library is more geared towards complex excel manipulation than as an efficient reader. Will take a look at php league CSV package as suggested. Thanks anyway 😃


Typo? EpollSocketChannelConfig.setTcpKeepCntl

https://github.com/netty/netty/blob/3cc405296310643bccddc8c81998c97f25b3201c/transport-native-epoll/src/main/java/io/netty/channel/epoll/EpollSocketChannelConfig.java#L420
shouldn't it be called setTcpKeepCnt?

yep but it's public so it cannot be changed until the next major version.

It can not be changed but we can add a new method and deprecate the old one... let me do in a few minutes

Fixed by https://github.com/netty/netty/pull/6910. Please check

Fixed by https://github.com/netty/netty/pull/6910


SecretsManager Properties Are Ignored

Describe the bug
As of Spring-Cloud-Context-2.2.1.RELEASE, when an application is launched and both the Secrets Manager and and Parameter Store bootstrap properties are the same, the properties from the secrets manager get ignored. Upon inspecting the code, I found that in the PropertySourceBootstrapConfiguration.java class insertPropertySources method instead of adding the entire CompositePropertySource, it is going through each PropertySource in the composite and adding them in the list. Upon adding them to the MutablePropertySources, it does a check to see if the PropertySource with the same name already exists. Since both the AwsParamStorePropertySource and the AwsSecretsManagerPropertySource have the same name, it considers them equal and replaces the AwsSecretsManagerPropertySource using the AwsParamStorePropertySource created.
Sample
Bootstrap.properties
aws.secretsmanager.enabled=true
aws.secretsmanager.prefix=/prefix
aws.secretsmanager.name=appName
aws.paramstore.enabled=true
aws.paramstore.prefix=/prefix
aws.paramstore.name=appName

Solution
My suggestion would be to update the AwsParamStorePropertySource and the AwsSecretsManagerPropertySource to include the type of source in the name of the property source

@cbriarnold-gmail if I understood your issue right I think #564 should fix the problem. Can you take a look?


Issues with @nhost/vue lib

I get the below error when using the vue client lib both with nhost and hasura-auth , on method SignupEmailPassword
@nhost_vue.js?v=2ed4f1b0:2096 Missing onError handler and/or unhandled exception/promise rejection for invocation 'signUp'. Original error: 'TypeError: Cannot read properties of undefined (reading 'error')'.  Stacktrace was 'TypeError: Cannot read properties of undefined (reading 'error')
    at https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:5506:67
    at async postRequest (https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:6116:20)' Current error is 'Error: Unable to evaluate guard 'unverified' in transition for event 'error.platform.signUp' in state node 'nhost.authentication.registering':
Cannot read properties of undefined (reading 'status')'. Stacktrace was 'Error: Unable to evaluate guard 'unverified' in transition for event 'error.platform.signUp' in state node 'nhost.authentication.registering':
Cannot read properties of undefined (reading 'status')
    at StateNode2.next (https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:4562:17)
    at StateNode2.transitionLeafNode (https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:4458:26)
    at StateNode2._transition (https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:4535:19)
    at StateNode2.transitionParallelNode (https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:4484:33)
    at StateNode2._transition (https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:4540:17)
    at StateNode2.transition (https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:4746:32)
    at https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:3587:28
    at provide (https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:2414:16)
    at Interpreter2.nextState (https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:3586:21)
    at https://github-c6w3iu--3333.local.webcontainer.io/node_modules/.vite/deps/@nhost_vue.js?v=2ed4f1b0:3119:31'

The call is mainly as shown below
	const { isSuccess, error,isError} = await signUpEmailPassword(
			formValues.email,
			formValues.password,
			{
				displayName: `${formValues.firstName} ${formValues.lastName}`,
				defaultRole: 'user',
				locale: 'en'

			})

The error is being thrown from the xstate package. Has anyone experienced this and knows how the issue can be resolved?
I get this error but the user gets created

Hello @shiftlabs1, I can't reproduce, could you share the contents of your package.json, or as you seen to use stackblitz, a link to the project with the error?

https://stackblitz.com/edit/github-c6w3iu?file=src/pages/sign-up.vue @plmercereau

Hello,
Could you see this project?
https://stackblitz.com/edit/github-c6w3iu-zouzx7?file=src/pages/sign-up.vue
What changed:

use the latest version of the @nhost/vue package (in package.json, the * is chosen, but it is better to set it to a specific version, the latest being 0.2.0). Related PR: https://github.com/nhost/nhost/pull/703
correct the signUp options (please have a look at the comments and subscribe to the related PRs).

no news, closing for now. It the problem still occurs let us know and we'll reopen the issue