Support Modern CSS statements

Such as
:root {
    --blue: 'blue';
    --five: 5px;
    --width: 100px;
    --half-width: calc(var(--width) / 2);
    --half-width-with-indent: calc(var(--half-width) + 16px);
    --half-width-with-indent: calc(10% + var(--half-width) + 16px);
}
.margin {
    margin: calc(2 * var(--five));
}
:is(.container) :is(.bold) {
    font-weight: bold;
}
:is(.container) :where(.bold) {
    grid-template-areas: 'myArea myArea myArea myArea myArea';
}
div :is(.test),
div:is(.test) {
    color: var(--blue);
}

@pvkekem As far as I know, this project is no longer maintained. Even in the README.md file there is a notification:

Notice: This project is no longer maintained.

If I were you, I would start using an official successor of the Microsoft Ajax Minifier - NUglify

@pvkekem As far as I know, this project is no longer maintained. Even in the README.md file there is a notification:

Notice: This project is no longer maintained.

If I were you, I would start using an official successor of the Microsoft Ajax Minifier - NUglify

OK - will check it out.
I'm using it combined with RequestReduce - any chance there is a successor of that as well?

I'm using it combined with RequestReduce - any chance there is a successor of that as well?

I doubt it, because the RequestReduce has not been updated for a very long time.

👋 Nuglify maintainer here, yes, use that

@pvkekem Since you seem to have made a successful change/PR with the current code, I'd like to ask a question, if you don't mind.  I cloned master, opened the solution, and tried to build, but got build errors in the JSUnitTest project.  For example Error	29	The type or namespace name 'JSError' could not be found (are you missing a using directive or an assembly reference?)	D:\dev\AjaxMin\JSUnitTest\Common\TestHelper.cs	679	41	JSUnitTest.  Is there something special you did to get a clean build?


Create package is not working

When I try to run the command:
sfdx force:package:version:create -p th-dreamhouse -d force-app -k test1234 --wait 10 -v DevHub
I got:
ERROR:  Advertise_New_Property: Property 'status' not valid in version 43.0,Opportunity_Status_Change: Property 'status' not valid inversion 43.0,Post_Price_Changes_to_Slack: Property 'status' not valid in version 43.0,Price_Change_Push_Notification: Property 'status' not valid in version 43.0.

Can you please check if you’re local repo is current with a git pull? It looks like you’re on an outdated version.

It is up to date:
git clone https://github.com/dreamhouseapp/dreamhouse-sfdx.git

am I doing something wrong? This is the trailhead that I am trying to complete:
https://trailhead.salesforce.com/content/learn/modules/unlocked-packages-for-customers/build-your-first-unlocked-package

Can you confirm that the local copy of the sfdx-project.json file has an API version of 44, and confirm that running sfdx plugins --core returns a version of the 'salesforcedx' plugin that's at least 44? The error that's displaying in your terminal output is due to an incorrect API version setting. This can come from a dirty clone of the repo, or an out-of-date CLI plugin.

I am using 43.0 on sfdx-project.json, it is marked on the trailhead:
{
   "packageDirectories": [
      {
         "path": "force-app",
         "default": true,
         "package": "dreamhouse",
         "versionName": "Version 1.0",
         "versionNumber": "1.0.0.NEXT"
      }
   ],
   "namespace": "",
   "sfdcLoginUrl": "https://login.salesforce.com",
   "sourceApiVersion": "43.0",
   "packageAliases": {
      "dreamhouse": "0Hoxxx"
   }
}

do I have to use the 44 insted of 43.0?

Yes. You should use the sfdx-project.json that's in the current master branch of this repo--that should resolve your issue.

Thanks a lot, it is working! :)


docs: schema update presence matrix

In the schema it changes the specification for the Dataset Presence Matrix. And bumps schema version to 0.2.0.
From census_obj[“census_data”][organism].ms[“RNA”].varp[“dataset_presence_matrix”]
To census_obj[“census_data”][organism].ms[“RNA”][“feature_dataset_presence_matrix”]
Please note the key is "feature_dataset_presence_matrix" the word feature was added to indicate this relates to features.

ps. will need to mark this draft PR as ready to review at some point


Operate on cloned copy of project

Feature Request

SVGO Action version: v1.2.1

On: any

Description
Refactor the project such that it operates on a "local" copy of the repository, obtained using e.g. actions/checkout, rather than fetching SVGs manually and handling them in-memory.
Example
n/a
Proposal
The proposal can be summarized by saying that the current "Usage" Workflow example should become invalid and be replaced by:
 name: SVGOptimizer
 on:
 # Disable the following line if you don't want the Action to run on PRs.
   pull_request:
 # Enable the following line if you want the Action to run on regular pushes.
 #  push:
 # Enable the following lines if you want the Action to run on a schedule.
 #  schedule:
 #  - cron:  '0 * * * 1'  # See https://crontab.guru/

 jobs:
   triage:
     runs-on: ubuntu-latest
     steps:
+    - uses: actions/checkout@v2
     - uses: ericcornelissen/svgo-action@v2
       with:
         repo-token: ${{ secrets.GITHUB_TOKEN }}

Related

#307: disabling committing without this functionality is essentially the opposite of the existing dry-run option.

Fixed with the release of v2.0.0-alpha.1


Feedback 'From: Ash Need to hide "contact gallery" if the...'

Message from Ash Furrow sent on 2017-01-17 22:02:36 UTC###

From: Ash
Need to hide "contact gallery" if the auction is live. This is related to the changes that retire end_at from eigen.

Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/37020/feedback/706807


Value should be a JSON object.

Hi,
Just got an error when ssl_ports_lld.py when discovery rule is running

.
Thanks.

Hi!
Run the lld script manually and check output.

Hi ,
Thanks for the reply , please check the output.

You should use a hostname as a param.
./ssl_ports_lld.py my-server.com

yes i have tried it , please check the following attachment and an after linking the template to the host there is no any trigger created to the websites.

I see an expected behavior on the screenshot. As I can see there are no ssl ports discovered on the localhost and <IP_ADDRESS>. Do the hosts listen for SSL connections?

Yes they do.

and sorry earlier ip was wrong and when i try with the correct ip same thing occurs.

and im using Zabbix 4.0

Run openssl s_client -connect <IP_ADDRESS>:443 and check output.
Also you can replace lines 32-35 in ssl_ports_lld.py with


TAB doesn't toggle magit sections

What did you expect to happen?
Pressing TAB on an unstaged change on Magit runs magit-section-toggle and opens a small diff of the change.
What actually happened?
Pressing TAB on an unstaged change on Magit errors with "No matching item found on current line"
Additional details:

SPC h k TAB with magit open returns evil-jump-item
Opening Magit's help menu with ? then immediately pressing TAB results in the expected behavior
M-x and typing magit-section-toggle shows it is bound to TAB (magit-section-toggle (TAB))

Include a link to your private config
https://github.com/RodrigoLeiteF/dotfiles/tree/master/.doom.d

Steps to reproduce:

Open magit on a repository with unstaged changes with SPC g g
Move to an unstaged change
Press TAB

System information:

SYSTEM  type       gnu/linux
	config     x86_64-pc-linux-gnu
	shell      /bin/fish
	uname      Linux 5.10.9-arch1-1 #1 SMP PREEMPT Tue, 19 Jan 2021 22:06:06 +0000 x86_64
	path       (~/.rbenv/shims ~/.asdf/shims /opt/asdf-vm/bin ~/.local/bin ~/.cargo/bin ~/.emacs.d/bin ~/.config/nvm/12.20.0/bin /usr/local/bin /usr/bin /bin /usr/local/sbin /usr/lib/jvm/default/bin /usr/bin/site_perl /usr/bin/vendor_perl /usr/bin/core_perl /usr/lib/emacs/27.1/x86_64-pc-linux-gnu)
EMACS   dir        ~/.emacs.d/
	version    27.1
	build      ago 28, 2020
	buildopts  --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-wide-int --with-modules --with-cairo --with-harfbuzz 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now
	features   XPM JPEG TIFF GIF PNG RSVG CAIRO SOUND GPM DBUS GSETTINGS GLIB NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ M17N_FLT LIBOTF ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP
	traits     (batch server-running envvar-file)
DOOM    dir        ~/.doom.d/
	version    2.0.9
	build      HEAD -> develop 2ad1eab6e 2021-01-18 19:59:18 -0500
	elc-files  146
	modules    (:completion (company +childframe) (ivy +fuzzy +childframe) :ui doom doom-dashboard doom-quit hl-todo indent-guides modeline nav-flash ophints (popup +all +defaults) treemacs vc-gutter vi-tilde-fringe window-select workspaces :editor (evil +everywhere) file-templates fold (format +onsave) multiple-cursors rotate-text snippets :emacs (dired +ranger +icons) electric :term eshell :emacs (&nopath imenu) vc :tools editorconfig eval :checkers syntax :tools (lookup +docsets) lsp (magit +forge) :lang (cc +lsp) (csharp +lsp +unity) data (elixir +lsp) (elm +lsp) emacs-lisp go (haskell +lsp) (javascript +lsp) kotlin ledger lua nix (org +attach +babel +capture +export +habit +present +protocol) (python +lsp +pyright) (ruby +lsp +rbenv +rails) (rust +lsp) (sh +fish) (web +lsp) (yaml +lsp) (fsharp +lsp) :email (mu4e +gmail) :collab (&nopath impatient-mode) :config (default +bindings +smartparens))
	packages   ((ox-hugo) (mpdel) (ivy-mpdel) (evil-numbers) (org-gcal :recipe (:host github :repo kidd/org-gcal.el)) (company-statistics))
	unpin      (n/a)
	elpa       (n/a)

This has been reported before, in magit and in org, but with no consistency. I'm unable to reproduce it on any of my test machines (Arch, NixOS, macOS, and Ubuntu), using 26.3, 27.1, 28 and 28+gccemacs. I'll revisit this once I find a lead.

This has been reported before, in magit and in org, but with no consistency. I'm unable to reproduce it on any of my test machines (Arch, NixOS, macOS, and Ubuntu), using 26.3, 27.1, 28 and 28+gccemacs. I'll revisit this once I find a lead.

If there's any way I can provide more information let me know.

If there's any way I can provide more information let me know.

Ok, it seems like disabling the +everywhere flag on the evil module makes TAB work again. Maybe it's something on evil-collection?

Ok, it seems like disabling the +everywhere flag on the evil module makes TAB work again. Maybe it's something on evil-collection?

Not sure if this is helpful, but I've only had this happen after byte-compiling my config (with doom compile). The following error appears in Messages:
user-error: No matching item found on the current line

Are you byte-compiling your config @RodrigoLeiteF ?

Not sure if this is helpful, but I've only had this happen after byte-compiling my config (with doom compile). The following error appears in Messages:
user-error: No matching item found on the current line

Are you byte-compiling your config @RodrigoLeiteF ?

Not sure if this is helpful, but I've only had this happen after byte-compiling my config (with doom compile). When pressing TAB in a magit section, the following error appears in Messages:
user-error: No matching item found on the current line

Are you byte-compiling your config @RodrigoLeiteF ?

Yes! Good catch. Running doom clean made the issue go away so it's definitely related.

Not sure if this is helpful, but I've only had this happen after byte-compiling my config (with doom compile). When pressing TAB in a magit section, the following error appears in Messages:
user-error: No matching item found on the current line

Are you byte-compiling your config @RodrigoLeiteF ?

Yes! Good catch. Running doom clean made the issue go away so it's definitely related.

I'm getting the same bug, it seems that org mode activates only halfway and to solve I have to call org-mode again manually.
A related bug is that when org mode is half activated it will not follow links on point with return but will just go to the next line. Simliarly in this state the list items checked as completed do not get the correct faded out face but remain instead of their default color.
This happens even when not byte-compiling the config files.

I'm getting the same bug, it seems that org mode activates only halfway and to solve I have to call org-mode again manually.
A related bug is that when org mode is half activated it will not follow links on point with return but will just go to the next line. Simliarly in this state the list items checked as completed do not get the correct faded out face but remain instead of their default color.
This happens even when not byte-compiling the config files.

I've just had this issue after recompiling. doom clean also fixed it for me

Was also having this problem with org-mode. The org-cycle binding for TAB would not come about, and it seemed like there was no way to get it to.
So I backed up my configuration and re-installed Doom. With a clean install, org-cycle was getting bound to TAB upon a file in org-mode.
So I began to re-implement my config one setting at a time in order to recreate the problem. It didn't take long at all.
The first setting I tried was to remove the "+everywhere" flag from the evil module.
from:
       :editor        (evil +everywhere); come to the dark side, we have cookies
to:
       :editor        evil; come to the dark side, we have cookies
Save, exit, run doom sync, and restart. Problem came back.
Undo the edit, run doom sync, and restart. Tab works again.

As of 16a495c this issue should be resolved. Let me know if that isn't the case and I'll reopen it. Thanks for bringing it to my attention!

I'm still having this issue on the latest commit.
SYSTEM  info       ("EndeavourOS Linux" .  Could 16a495c have caused it? I don't understand that code unfortunately.

I'm able to reproduce this issue as well.

same, but also unreliably. happens 100% of the time on my work computer (mac running catalina, emacs-plus 27.1) but not my other computers (big sur running 27.1 or rpi running ubuntu 20.04 and emacs 26.3. Happy to provide any info I can or try debugging steps!
I thought maybe it was some weird cache thing so I wiped out my whole .emacs.d directory, updated to latest develop (5d9efe89) and recompiled everything using my usual bin/doom clean && bin/doom sync -u && bin/doom sync && bin/doom compile method (I'm pulling in doom as a submodule from my dotfiles repo)
Thanks!

fun: on my work computer, in gui mode I get this issue, in tui mode, it works as expected.
doing C-h k TAB in tui mode says magit-section-toggle, in gui mode it's evil-jump-item

also, oddly, if I M-x magit-section-toggle in gui it shows TAB as the assigned keybind, but if I M-x evil-jump-item it shows without a bind.
looking at C-h f for those I see under keybindings:

magit-section-mode-map TAB for magit-section-toggle
evil-motion-state-map % for evil-jump-item

wat.
I'm way over my head here, but thought I'd show the debugging things I've tried so far :D


Question: LLVM

SP1 claimed to be friendly for any LLVM-compiled language, I wonder how can I using another languauge to wirte SP1 specification, like C++. If I can't do that, it will be helpful if you told me about how to adapt more LLVM supported frontend (It may be hard, but it's helpful if you guys can share some insight)

If it compiles to RISC-V, it should be possible. We have some syscalls we call at the end of the program to commit to the public values hash, and we use syscalls for precompiles and I/O.


Samba should use host chain cert file

Refs:

https://wiki.archlinux.org/title/Samba/Active_Directory_domain_controller#TLS

Completed with d5fb9c3


Public submissions

When you make a submission public

by clicking on the little "tree" next to the submission, what happens? Where is the submission available to others? It should appear e.g. as a downloadable link on the leaderboard.

When clicking on "make public", the submission becomes available in the "resources" interface:


FancyZones - Allow to increase the size of the borders (not space between zones!)

When working with 4K monitor it's difficult to precisely snap window to a border (or to a crossing point) in order to make window span over multiple zones.

I've been experiencing the same thing. I've already forked the code and taken a look. I think it should not be too difficult to add a setting for this. I've not contributed to PowerToys before, could this be a nice feature for me to build as a nice starter?

@remyblok
yes, it would be a nice contribution to the project. Thanks.

Fixed in 0.23.0 https://github.com/microsoft/PowerToys/releases/tag/v0.23.0


Fixed null pointer exception on DatePicker dialog;

@athospg Thanks for the pull request! I'm going to merge this one next week while working on a few other things in this library. Expect some nifty new features :smiley:

@athospg Thanks again for the fix! :+1:

@TR4Android Thanks for the updates, they are awesome!


chore: add minesweep to list of apps using tui-rs

This PR adds a link to a minesweeping game I wrote using tui-rs.

Nice 👍  A quick rebase to fix the conflict and I'll be happy to merge.

@fdehau I've rebased!


Whack

It doesnt work and its not completed and the name says full clone

You can try to look at what is not working in the project and possibly fix it


#507309 added error handling pages

Added graphql service and added changes in initializer nextjs because there uses [[...path]].tsx in the nextjs-sxa module(need to reuse the prerender variable in the nextjs-sxa)

@matkovskyi any thoughts on at least the first portion of the comment above?

Overall, I think we can avoid a lot of the nextjs-sxa overrides ([[...path]].tsx, and all the initializer prompts/runner logic) if we enhance the base nextjs template to handle redirect in page props.

nextjs > SitecorePageProps: add redirect: Redirect;
nextjs > [[...path.tsx]]: handle redirect appropriately in SSG/SSR contexts
nextjs-sxa: add page-props-factory plugin e.g. error-pages that runs at the end (order = 3?). Here, you will do the logic currently being done in [[...path]].tsx and set props.redirect as needed.

@matkovskyi any thoughts on at least the first portion of the comment above?

Overall, I think we can avoid a lot of the nextjs-sxa overrides ([[...path]].tsx, and all the initializer prompts/runner logic) if we enhance the base nextjs template to handle redirect in page props.

nextjs > SitecorePageProps: add redirect: Redirect;
nextjs > [[...path.tsx]]: handle redirect appropriately in SSG/SSR contexts
nextjs-sxa: add page-props-factory plugin e.g. error-pages that runs at the end (order = 3?). Here, you will do the logic currently being done in [[...path]].tsx and set props.redirect as needed.

I tried to use redirect into SitcorePageProps but I can see error
Error serializing .redirectreturned fromgetServerSidePropsin "/[[...path]]". Reason:function cannot be serialized as JSON. Please only return JSON serializable data types.
How I understand we cannot use some methods in Props data.


How to create a tutorial like this?

what did you use to make something like this like all the fancy decoration and stuff like that

I'm not sure what you mean? I just wrote it...

Okay, how did you make all those fancy boxes and all the ascii art? also the data-structure.js had a graph of complexity. how did you plot that ? is there any vim plugin or emacs-mode that can help do these things i am not aware of?

Lots and lots of manual work and copying from sites like chris.com

Zehrayla

Dosya

Zehrayla

Dosya

Zehrayla

Zehrayla@users


FIX data_bag_item.rb:161: warning: circular argument reference - data_bag

This fixes a warning in Ruby 2.2 about circular argument references in data_bag_item.rb
See this ruby issue for more details: https://bugs.ruby-lang.org/issues/10314

That let conversion looks sweeeeeeeeet @habermann24 - thanks for all your work on this!  :100:  This will be merged in our next merge-a-thon

Any update on when this could be merged and released?

+1, I'm looking forward the merging.

merge, pleeaaaase :kiss:

thanks! :heart:

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@haberbyte

Please sign the CLA here.


bug: affiliation mass upsert with primary checked not updating primary affiliation on contacts

We have set up an integration that is upserting affiliations in batches of up to 100 records. Most of these affiliations have the primary checkbox set to true, but the contacts associated with them do not have the primary affiliation field filled in with the appropriate account. I haven't gotten any error notifications from NPSP nor seen any errors logged.
If I manually toggle the primary checkbox on one of these affiliations then the primary affiliation field on the contact is updated appropriately.

please post stuff like this on the Hub.  we then will put an issue into gitHub if we feel it is something in our code that needs attention.


An example of how this works with the redux-devtools-extension?

I've been trying to get this to work with composeWithDevTools from redux-devtools-extension like this
import {createStore,applyMiddleware,compose} from 'redux';
import { composeWithDevTools } from 'redux-devtools-extension';
import thunk from 'redux-thunk';
import persistState from 'redux-localstorage'

const store = createStore(
  reducers,
  composeWithDevTools(
    applyMiddleware(thunk),
    persistState(),
  )
)

export default store

However this breaks all the async requests in my app.
Any ideas?

@Huanzhang89 Hi! Are there any updates to this issue?


New lobby art : Blueprint

About the PR

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl: data_redacted

add: New lobby art (of an Air Alarm blueprint).

Very cool art

‘Nanotransen’ now canon!
(It says ‘nanotransen electrical division’, and is misspelled in the syndie note, though the second makes some sense)

Could you save it as a WebP instead after #25184? The image is 2.2 MB and it could be a lot smaller.

I'll see what I can do

Could you save it as a WebP instead after #25184? The image is 2.2 MB and it could be a lot smaller.

I'll see what I can do

All you need to do is drop the current png in krita (or any of your favourite image software should be able to do this). Export as webp. When it asks you for quality. Just put it to 99% and use this as the file.

Could you save it as a WebP instead after #25184? The image is 2.2 MB and it could be a lot smaller.

saved, and added the file changes in advance for when the PR gets merged so there should be no merge conflict


create_msd_json_from_bids.py - missing ses- tag for labels

The create_msd_json_from_bids.py script does not include the ses- tag for the label files in the output dataset.json file.
For example, notice that ses-01 is missing in the path for the label file:
{
    "image": "<DATA>/sci-zurich/sub-zh64/ses-01/anat/sub-zh64_ses-01_acq-sag_T2w.nii.gz",
    "label": "<DATA>/sci-zurich/derivatives/labels/sub-zh64/anat/sub-zh64_ses-01_acq-sag_T2w_lesion-manual.nii.gz"
},

We are also missing the ses- tag in our examples, for instance, here:
https://github.com/ivadomed/templates/blob/d4c8f7e9fdb5a205d0c79f52fcef8da89abe26a4/dataset_conversion/create_msd_json_from_bids.py#L32-L33

Thanks for pointing it out! This has been fixed in commit 1d9b9dea2f8efbb02cd7a2849a77ba7fe097d4a2

Thanks for the quick fix! Tested and now working as expected!


Fix UX when removing subs from device

Task/Issue URL: https://app.asana.com/0/488551667048375/1206887290583787/f
Description
This PR fixes UX when subs are removed from the device
Steps to test this PR
See test cases

#4350  👈
develop

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @aitorvs and the rest of your teammates on  Graphite


New name \o/

Comment here for proposals :)

Tata board's

wow board
@Alexays tmtc bb

DatBoard V2


it work but...

its says
Error: Could not find haxelib "extension-webm", does it need to be installed?

Try this script.
haxelib git extension-webm https://github.com/KadeDev/extension-webm


documentation error regarding format sorting?

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
I believe there is an error in the documentation.
https://github.com/yt-dlp/yt-dlp#sorting-formats says:

« ie_pref: The format preference as given by the extractor
[…]
The fields hasvid and ie_pref are always given highest priority in sorting, irrespective of the user-defined order. This behaviour can be changed by using --format-sort-force. Apart from these, the default order used is: lang,quality,res,fps,hdr:12,codec:vp9.2,size,br,asr,proto,ext,hasaud,source,id. The extractors may override this default order, but they cannot override the user-provided order. »

So at first, the doc says ie_pref (i.e. the extractor's format preference) always has the highest priority, irrespective of the user-defined order. In other words, the extractor preference overrides the user preference.
So far so good, but then the doc goes on saying the extractor cannot override the user preference (last sentence in quote).
I may be mistaken, but I believe these two statements are contradictory and can't both be true at the same time.

Obviously, extractor sets all the fields. What the docs say is, "Extractor cannot override the user-provided order"
Which means, if user gives -S res, and extractor gives ['quality', 'tbr'], the final order is ie_pref,hasvid,res,quality,tbr

What the docs say is, "Extractor cannot override the user-provided order"

Yes, but earlier the doc sys: "ie_pref [the extractor preferences] are always given highest priority in sorting, irrespective of the user-defined order." To me this is contradictory:

« The fields […] ie_pref are always given highest priority in sorting, irrespective of the user-defined order. […] The extractors […] cannot override the user-provided order. »

but earlier the doc says: "ie_pref [the extractor preferences] are always given highest priority in sorting, irrespective of the user-defined order."

Yes, but the extractor is not overriding the user-given sorting order. It sets the ie_pref of the format, just like it sets the qualty, height, lang etc of the format. What else would you expect to set this if not the extractor!? 😕

Ok, apparently I am misunderstanding the README - probably because I don't quite understand how exactly ie_pref works (what values it can have). What does "ie" stand for btw? internal extractor?
To me, at first the README says the extractor "ie_pref are always given highest priority in sorting, irrespective of the user-defined order" but then the README says, on the contrary, the user-prefs have a higher priority than the extractor-prefs ("the extractors may override this default order, but they cannot override the user-provided order").
That's the apparent contradiction I wanted to point out. (I think your point of view is how yt-dlp works and my point of view is just a textual analysis ... maybe that's why we are talking at cross purposes).
I thought the readme may need some clarification, but maybe I am the only user who doesn't understand this part of the README easily.
What I don't quite get in this context: If the extractor prefs are "always given highest priority in sorting, irrespective of the user-defined order", then what effect does it have to define a user-defined order (without using --format-sort-force) ?

What does "ie" stand for btw? internal extractor?

ie = "information extractor", generally just called "extractor" in the readme, is the website-specific code that extracts the video formats and metadata of the URL u input

I don't quite understand how exactly ie_pref works (what values it can have)

ie_pref (internally, called preference) is just a number (-1 by default), similar to quality. But unlike quality, which just says "this format is overall better/worse than the other formats", preference is set only when an extractor decides a format must never be considered "best", irrespective of the -S used (hence why it is given higher priority than user-provided options). For example, in deezer, some formats of a video can be a preview while other formats are the full track. In that case, the preview tracks are given a lower preference. If you give -S filesize, you don't want the preview to be downloaded... This is not used by most extractors. We try to use quality, lang etc where reasonable so that user don't have to generally do --format-sort-force

To me, at first the README says the extractor "ie_pref are always given highest priority in sorting, irrespective of the user-defined order". But then the README says, on the contrary, the user-prefs have a higher priority than the extractor-prefs ("the extractors may override this default order, but they cannot override the user-provided order").

It is not a contradiction though. The extraction mustnot[1] override the order of the fields that user gives. But it does decide what values to give each field of each format. It sets the ie_pref of each format the same way it sets the codec, bitrate, quality etc. The only difference is that ie_pref is a high priority field, while the others are not
[1] docs say "cannot", but technically they can. When merging code, I just make sure that they don't
Hopefully I have cleared your confusion

@pukkandan : many thanks for helping me here. Ok, I guess the doc is right. Blame it on my poor understanding of how yt-dlp works. Sorry, i will close this issue.
Can you please enable me to edit the title of my issue (into "format sorting documentation") ?

Is there any place where I could find some information about the fields used in format sorting to avoid bothering you ?
(I'd like to find out for example what other values than "-1" ie_pref can have. And what source means and what values it can have.)

One last observation, if I may. I found something curious:
First, I ran yt-dlp https://youtu.be/vmkh_4cLyUI -v -F --no-config
output:
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id

Then, I passed along the default sort order as defined by README:

the default order used is: lang,quality,res,fps,hdr:12,codec:vp9.2,size,br,asr,proto,ext,hasaud,source,id

Theoretically, I thought this should not change anything in the final sort order, as I am only passing along the default sort order (i.e. the sort order yt-dlp uses every time, even in the first run printed above).
So I ran yt-dlp https://youtu.be/vmkh_4cLyUI -v -F --no-config --format-sort lang,quality,res,fps,hdr:12,codec:vp9.2,size,br,asr,proto,ext,hasaud,source,id
To my surprise this DOES change the final sort order, as seen in the output:
[debug] Sort order given by user: lang, quality, res, fps, hdr:12, codec:vp9.2, size, br, asr, proto, ext, hasaud, source, id
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id

First the sortorder was "hasvid, ie_pref, quality, etc." — now it is "hasvid, ie_pref, lang, etc.".
How can this be explained ?

Is there any place where I could find some information about the fields used in format sorting to avoid bothering you ?
(I'd like to find out for example what other values than "-1" ie_pref can have. And what source means and what values it can have.)

Other than looking at extractor source code, no

Theoretically, I thought this should not change anything in the final sort order, as I am only passing along the default sort order (i.e. the sort order yt-dlp uses every time, even in the first run printed above).

That is because the YouTube extractor overrides the default sort order (which you overrode when passing it as user order)

[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, codec:vp9.2, lang, proto

ok, thanks again for your kind help. All clear now!

@pukkandan said:
Other than looking at extractor source code, no

I looked into the code, but only found this:
# Source is given priority since formats that throttle are given lower source_preference
# When throttling issue is fully fixed, remove this
'source_preference': -10 if throttled else -1,

The readme says: "source: Preference of the source as given by the extractor"
What does that mean?
What is the "source" in the context of youtube videos for example?
I mean all the video formats are from the same source (uploader), no?

Some formats are from the Android API and some from the Web API. The formats from Web API may be throttled (it's actually fixed now, though the checking code isn't removed). So we check if the format will be throttled and then reduce source_preference if it is.
The field is similarly used in niconico and tiktok

I see. Many thanks.


generic-haskell-builder: Overridden Cabal package to be used by Setup.hs is ignored

Issue description
I found a subtle issue with the generic Haskell builder that can make things confusing and the wrong Cabal version to be chosen.
Let's say you have an overridden version of the Cabal library and (this is an extract from here) a function to use that for a package:
  useFixedCabal = drv: pkgs.haskell.lib.overrideCabal drv (old: {
    setupHaskellDepends = (if old ? setupHaskellDepends then old.setupHaskellDepends else []) ++ [ Cabal_patched ];
    libraryHaskellDepends = (if old ? libraryHaskellDepends then old.libraryHaskellDepends else []) ++ [ Cabal_patched ];
  });

Then you use
      hsyslog = useFixedCabal super.hsyslog;

You would expect hsyslog's Setup file to be linked against the version of Cabal you specified.
However, that is not the case.
It gets linked against the GHC-builtin Cabal in the "global package database".
This is because a dependency of hsyslog, cabal-doctest, was not built against the custom cabal version. hsyslog uses cabal-doctest in its Setup.hs file.
(Note in newer versions of hsyslog this is not the case any more but the issue in general remains for many other packages that have custom Setup.hs files.)
The generic builder builds the Setup executable from Setup.hs by directly invoking ghc: https://github.com/NixOS/nixpkgs/blob/e7e5aaa0b938ed53dd96f58c8ebf9e0f7f72e133/pkgs/development/haskell-modules/generic-builder.nix#L330
For my useFixedCabal super.hsyslog, this passes a -package-db=... that contains the overridden Cabal. But GHC will see both the builtin Cabal and the one in the given package DB, see that cabal-doctest was built against the non-overridden one, and silently choose the non-overridden one for hsyslog too.
There is no warning, see ticket https://ghc.haskell.org/trac/ghc/ticket/15425 which I filed for the GHC side.
What can we do about it?
A workaround is:
      cabal-doctest = useFixedCabal super.cabal-doctest;
      hsyslog = useFixedCabal super.hsyslog;

but for coming up with this this you really need to know the dependencies of all packages so it isn't really feasible.
Ideally, the generic Haskell builder would refuse to build / fail loudly when the Cabal versions passed for packages in dependency chains like hsyslog and cabal-doctest are not the same.

CC @peti

Why is this important / how does this issue affect us?
Because in static-haskell-nix I override Cabal to add a new flag --enable-executable-static so that Haskell executables can be built statically (see also this overview on the effort.
I do this on all Haskell executables.
For many of them, it complains:
unrecognized 'configure' option `--enable-executable-static'

because even though I have explicitly told nix to use my version of Cabal, GHC eventually does not link that version in.

I don't see how the generic builder could detect this case. The problem is that you have both versions of Cabal in scope, so Cabal is free to choose which version of the library it's going to use. The outcome is not what you intended it to be, but it's a perfectly legitimate outcome according to the rules. First of all, you really need to use overrideScope in a case such as this one to make sure the override applies to all build inputs of  hsyslog, too. This would probably fix the issue already because then Cabal would consistently choose the Cabal library with the newer version string. (I trust your Cabal_patched build has a version that's higher than the default <IP_ADDRESS>, right?)
If you want to be absolutely sure, then you could probably pass an appropriate -hide-package flag to ghc in configureFlags to make sure the bullt-in version isn't visible.
Alternatively, passing --constraint="Cabal >2.3" (or something along those lines) in the configure stage would get the job done, too.
P.S.: Instead of
if old ? setupHaskellDepends then old.setupHaskellDepends else []

it's easier to write:
old.setupHaskellDepends or []

@peti

Cabal is free to choose which version of the library it's going to use

I'm a bit confused by this statement, as Cabal is not involved choosing versions. We compile Setup.hs directly with ghc so GHC is the only thing picking versions (directly from two competing package DBs).

I trust your Cabal_patched build has a version that's higher than the default <IP_ADDRESS>, right?

No, it has exactly the same version, it has a few patches cherry-picked.

old.setupHaskellDepends or []

Ah thanks, that's great to know.

but it's a perfectly legitimate outcome according to the rules

I'm not convinced of that; the feedback on https://ghc.haskell.org/trac/ghc/ticket/15425 suggests that GHC should really complain about it.

I don't see how the generic builder could detect this case.

If there's no trick we can use to protect the user against such mistakes, we may have to wait until the linked GHC issue implements it to be an error.

First of all, you really need to use overrideScope in a case such as this one to make sure the override applies to all build inputs of hsyslog, too

@peti This is a great idea, I didn't know about overrideScope.
It looks like just the tool I want which could simplify what I'm doing.
But I found this tangential issue:
For 1 package (darcs) overrideScope seems to have the weird side effect that it resets a lot of overrides that I'm doing for native dependencies like curl.
See https://github.com/nh2/static-haskell-nix/commit/52416d2d443b875668354ae02c2ce96439568cd2
Do you understand what's going on there?
This is currently stopping me from using overrideScope.

I'm a bit confused by this statement, as Cabal is not involved choosing versions.

Oh, you are right, of course. I misunderstood the problem. I thought about a Setup-driven build where there are multiple versions of a package and then cabal configure picks one and makes it visible but not the others. But that's clearly not happening when building Setup.hs, Cabal is not involved there.

That @kirelagin + @matthewbauer work of separating the compiler from core libraries should solve this by ensuring there really is only one Cabal visible.

I'm not quite sure what the specific issue here is you are referring too? a) it seems the only issue is wired-in package weirdness; there is no intentional mixing of Cabal versions b) setup dependencies are not propagated.


Problem navigation using swipe with ViewCode

I created a test using storyboard and everything ok with the navigation using swipe, when I moved to viewcode I had a problem with this navigation. I did not change any settings just do not use storyboard. When I use calendarView.scrollToSegment ... on 2 buttons it works perfectly. Does anyone know what can it be?
PS: de Calendar inside de ScrollView
Im using pod 'JTAppleCalendar', '7.1.5'
Configuration:
calendarView = JTAppleCalendarView()
        calendarView.register(CalendarCell.self, forCellWithReuseIdentifier: cellID)
        calendarView.backgroundColor = .white
        calendarView.translatesAutoresizingMaskIntoConstraints = false
        calendarView.scrollDirection = UICollectionViewScrollDirection.horizontal
        calendarView.calendarDataSource = self
        calendarView.calendarDelegate = self
        calendarView.minimumLineSpacing = 0
        calendarView.minimumInteritemSpacing = 0

calendarView.scrollingMode = .stopAtEachSection
Resolve my problem Thanks.


Update labels.md

fix the format.

This change is

@stewart-yu I'm not seeing the difference. What changed?

OK, Thanks. key value ->key/value changed in line 42.@chenopis

Oh, ok. I see it now. =) You didn't have to close the issue.


api improvements

improve the API with the iOS app
conceptual:

[ ] remove toggle requests as they need the iOS app to know state of the server
[ ] no longer send 1:n but only n:1 relations; more db-like and less json-like
[ ] create a request per entity (remove the /read request)
[ ] ensure only construction sites returned that are activated
[ ] ensure only maps returned which are part of the specific construction sites

moved to trello


Investigate integrating with the test view

Quarkus provides a continuous testing mode that is run when the application launches. It would be nice if we could show which tests are failing in the testing view, and update it with the results every time it finishes retesting the code.
Suggested by @gorkem

If it helps, VSCode now provides with support for continuously run tests: https://code.visualstudio.com/updates/v1_77#_finalized-support-for-continuous-test-runs

@ebramirez as i understand it the vscode feature is the "opposite"; it makes it so that vscode triggers the test continuously - not about vscode being able to pick up tests runs done by a framework or tool (like quarkus devmode)


Autocomplete: Add back support for unsaved files

This fixes a small regression added by #1114 that prevented autocomplete from working on unsaved files (I remember this as an early customer reported issue)
Test plan
https://github.com/sourcegraph/cody/assets/458591/a76b7c22-8034-4507-ad87-c0898ed8bf1f

see thread in #1114


Allow use of arbitrary python environments in the python engine

Is your feature request related to a problem?
I would like to use VAPOR's python engine to do stuff that require me to import many modules.
Describe the solution you'd like.
I might be able to do so today by placing all the relevant files in the VAPOR/share/python directory. Would that work? Even if it does, it would be unscalable if the various modules become many (which they usually do pretty quickly, in python).
Instead, if the python engine could be initialized with an arbitrary python (or conda) virtualenv that would be awesome.

Hi @davidedelvento - Just to be clear, this is regarding VAPOR's internal python engine that is used to derive new variables in the GUI, correct?  Not the recently released Python API?

Yes, correct, that is what I am thinking (however I am also independently and separately thinking of using the Python API for this reason, but VAPOR's internal python engine would be better for this goal)
Thanks!


sqlplus: command not found in an OracleRAC environment

Hi,
I installed an OracleRAC environment following these instructions:
https://github.com/oracle/vagrant-boxes/tree/master/OracleRAC
After vigrant up I see two notes running.
Now I am trying to connect to database (Step 5 Connect to the database).
I do
vagrant ssh node1
sudo su - oracle
All works fine so far.
echo $ORACLE_HOME
/u01/app/oracle/product/<IP_ADDRESS>/dbhome_1
echo $ORACLE_SID
DB193H12
However,
sqlplus / as sysdba
shows
-bash: sqlplus: command not found
What's wrong?
Thank you!

Fixed this by setting
export ORACLE_HOME=/u01/app/<IP_ADDRESS>/grid

You probably need to set the environment by running . oraenv once you've changed to the oracle user.

Thanks!
When running . oraenv - where do I get the correct values for ORACLE_HOME , ORACLE_BASE?
(I am a first-time Vagrant/OracleRAC user)...
Is there any doc that describes Step 5 Connect to the database in more detail?

Good question. As per your original comment, ORACLE_HOME and ORACLE_BASE should already be set. I'll assign this to the DB folks so they can answer, but keep in mind it's Memorial Day weekend in the USA, so they may not reply until tomorrow.

yes, they are set, but I would expect
ORACLE_HOME
to point to something like /u01/app/<IP_ADDRESS>/grid/bin in a RAC environment, as /u01/app/oracle/product/<IP_ADDRESS>/dbhome_1 is empty in my environment.
Thanks for assigning this so quickly!

Hi Larissa, Ive fixed this in the next update. Oracle env setting was overwrite grid env setting

Can I fix this manually on my environment now?

sure it's really simple.
Connected as 'grid' user you should just add following rows under .bash_profile (and remove the wrong one)
#node1
export ORACLE_HOME=/u01/app/<IP_ADDRESS>/grid/bin
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=+ASM1
#node2
export ORACLE_HOME=/u01/app/<IP_ADDRESS>/grid/bin
export PATH=$ORACLE_HOME/bin:$PATH
export ORACLE_SID=+ASM2

thanks, @rcitton - closing this.


in the UI, Switching pages when running package validation will start the count from the beginning.

Environment info

Version: 2.9.2-a09fff9
Deployment: AZURE
Customer: QA

Actual behavior

Switching pages when running validate will start the count from the beginning.

It doesn't happens in the uploading
The validation is actually working tn the BE.

Expected behavior

Switching pages when running validate should not start the count from the beginning.

Screenshots or Logs or other output that would be helpful

No longer relevant due to OVA deployment support removal. Upgrade will be done via k8s (either initiated by the user or not, it will still be an unmanaged path)


Elasticsearch support

Apologies for the maybe silly question, is Elasticsearch supported in the denormalization?
I see that I can specify settings for a collection, but I don't see, at least in the docs, where to set up the connection to Elasticsearch.

I've some doubts about defineCollection and defineViewBuilder for elasticsearch, can you post some example?

Something like this?

Yes, thanks. Now everything is working. Thank you.

Yes! thanks, now is working. I didn't get how to set the _index and the _type. Looks like that the lib create a string composed by index.collectionName for _index and _type. Is there a method for set them?

Well, the whole thing was written with Elasticsearch 6.X in mind, this means that each index can have only one type and the types will be removed as a whole from Elasticsearch in the future, that is the reason why we left only the index is configurable.

I wasn't aware of this, makes sense. Thank you.


Update index.html

add text

@jonathandezoete   thnx for contributing , try this year aswell with updated repo and make sure to follow me and star this repo so that you don't miss updates regarding the new changes and issues during Hacktoberfest 2020.


Integration with Faraday IPE

With respect to the importing of issues, I think a lot of time can be saved by making a connection with Faraday IPE. (Faraday is a collaboration pentesting environment that currently can handle 40+ security tools). Using F-IPE for aggregation and assessing the issues and importing them into ddojo prevents having to develop imports for all tools.
(btw: I had a quick chat with the faraday maintainer on twitter and he's interested)

@devevs Can you share the file format and a sample file?

From the Faraday wiki (https://github.com/infobyte/faraday/wiki/Exporting-the-information):
Actually Faraday supports CSV Exporting from it's UI, just right click in the workspace and export to a csv file. The current output format is in the form:
found date | severity level | service parent | target | name | vulnerability description | data field | references
I'll try to create an actual example later today.

Here's a real sample:
"date","name","severity","service","target","desc","data","refs" "8/27/2016","Allowed HTTP Methods: GET, HEAD ","info","(5984/tcp) http","<IP_ADDRESS>","","","" "8/27/2016","This might be interesting...","info","(5984/tcp) http","<IP_ADDRESS>","","","OSVDB-ID: 3092" "8/27/2016","MyWebServer 1.0.2 is vulnerable to HTML injection. Upgrade to a later version.","info","(5984/tcp) http","<IP_ADDRESS>","","","OSVDB-ID: 6659"


GLSL: Add more extension ladder fallbacks for unusual integer sizes.

Fix #1955
Fix #1956
@devshgraphicsprogramming Does this work for you?

Fix #1955 Fix #1956
@devshgraphicsprogramming Does this work for you?

should do


Additional unit tests are needed for Kubernetes native sidecar support

We need to increase test coverage for these two changes:

https://github.com/tektoncd/pipeline/pull/8052#discussion_r1677918542
https://github.com/tektoncd/pipeline/pull/8052#discussion_r1677921963

/kind misc

/cc @kgcarr

I'll also take care of this mistake https://github.com/tektoncd/pipeline/pull/8052/files#r1681677326


chore: Revert "chore(nodejs): update client ref docs link in metadata (#1535)"

This reverts commit 60cd11902e731530fc872867211d5ba40c08703e.

post merge approval 👍🏿


Support for modifying instructions (labels especially) (#2)

I've added real labels setter, so you have 2 options now:

df.labels = {'name':'value'}

the real setter, this sets (i.e. remove old ones) LABELs to the specified ones

df.change_labels({'name':'value'})

this only changes value of existing LABELs

I haven't managed to make the x.labels['name'] = 'value' work without breaking other things :-(

OK, never mind about setting x.labels['name'] directly.
For change_labels() maybe we should raise an exception if we don't find the LABEL key, rather than failing an assertion.
I still think it would be nice for us to be able to make minimal changes to LABELs even when setting them, like in the tests I put here: https://github.com/jpopelka/dockerfile-parse/compare/modify-labels...twaugh:modify-labels-tests
It shouldn't be hard: getting two sets of LABEL keys, ones we already have and ones we need to end up with, we can easily find out which we need to add/delete/modify, with set() - set()-type calculations.

For change_labels() maybe we should raise an exception if we don't find the LABEL key, rather than failing an assertion.

already changed to KeyError

I still think it would be nice for us to be able to make minimal changes to LABELs even when setting them

done

It shouldn't be hard ...

grrr, I don't want to see quotations for a veeery long time ;-)

This looks really nice!

Could you check the new commit please ?
Thanks, I really appreciate all your remarks.

OK, I think I've lost this battle with quotes :-(
With the last commit when we change value of label which is on one line with other labels, those other labels will be in quotes even they weren't previously (which is not wrong per se).
You can revert this 'revert' commit if you want to try, but I'm really at my wit's end with this.
I don't want to spend more time with this as I think this state is good enough.

LGTM!

Thank you Tim !


netstandard2.x plz

Wanna use it inside Unity. Plz support netstandard compilation.

That seems like a fun project. Any takers from the community?
The current implementation relies on named semaphores. Need to make sure it is available in netstandard.

netfx 4.x also meet that needs.

Reading this we would need to remove all async/await uses and ensure all .net APIs are compatible with Unity. This is probably a full rewrite and might not be as fast as the current optimized implementation. Right?

Reading this we would need to remove all async/await uses and ensure all .net APIs are compatible with Unity. This is probably a full rewrite and might not be as fast as the current optimized implementation. Right?

I guess we don't need to use any Unity API and Async/await is working inside Unity.

SL's fork (https://github.com/StirlingLabs/interprocess/) does add .NET standard 2.0, 2.1 support.

SL's fork (https://github.com/StirlingLabs/interprocess/) does add .NET standard 2.0, 2.1 support.

great, thx.


Gatsby v5 is not supported

Tried to migrate from gatsby v4 to v5 and this plugin is not working

Fixed in v1.0.3


Fix typeuse annotations not getting trimmed properly

It seems that our trim functions were not designed to handle type_use

actually hmmm

it seems we shall need to find a better regex

I'm good with this


incorrect ReSwift source path in Cartfile

u need to fix source path for ReSwift
from
github "ReactiveX/ReSwift" ~> 4.0
to
github "ReSwift/ReSwift"

amm, i mean you has wrong vendor name in ReSwift lib, not ReactiveX, but ReSwift

this problem is exercised when trying to install ReRxSwift through Carthage

Ah I see now, sorry about that. I want to keep the version number, so I'll just change it myself instead of using your pull request. Thanks for reporting this!

👍


Socket error on client  with Arduino Ethernet Shield V1

Hi,
I'm trying to publish and subscribe to mosquitto running on Raspbian Strech Lite from an Arduino Ethernet Shield V1 with a W5100 controller.
I'm watching the /var/log/mosquitto/mosquitto.log and  Socket error on client <unknown>, disconnecting keeps popping up.  I'm also subscribed and watching outTopic in another window, which I see I can send messages to from my desktop using mqtt-spy.
I also see  New connection from <IP_ADDRESS> on port 1883 in the log so it looks like something is happening :| .
Any ideas or help you can provide would be great!!
Thanks,
Scott
#include <Ethernet.h>
#include <PubSubClient.h>

byte mac[] = {0x00,0x00,0x6C,0x04,0x05,0x06}; //physical mac address
IPAddress ip = IPAddress(192, 168, 76, 63); // arduino server ip in lan
IPAddress gateway = IPAddress(192, 168, 76, 28); // internet access via router gateway
IPAddress subnet = IPAddress(255, 255, 255, 0); //subnet mask
IPAddress server = IPAddress(192, 168, 76, 55); // raspberry pi server ip in lan

void callback(char* topic, byte* payload, unsigned int length) {
    Serial.print("Message arrived [");
    Serial.print(topic);
    Serial.print("] ");
    for (int i = 0; i < length; i++) {
        Serial.print((char)payload[i]);
    }
    Serial.println();
}

EthernetClient ethClient;
PubSubClient client(server, 1883, callback, ethClient);

void reconnect() {
    // Loop until we're reconnected
    while (!client.connected()) {
        Serial.print("Attempting MQTT connection...");
        // Attempt to connect
        if (client.connect("ArduinoClient")) {
            Serial.println("connected");
            // Once connected, publish an announcement...
            client.publish("outTopic", "hello world22");
            // ... and resubscribe
            client.subscribe("inTopic");
        } else {
            Serial.print("failed, rc=");
            Serial.print(client.state());
            Serial.println(" try again in 5 seconds");
            // Wait 5 seconds before retrying
            delay(5000);
        }
    }
}

void setup(){
  Serial.begin(9600);
  Serial.println("ethernet testing"); // so I can keep track of what is loaded
  client.setServer(server, 1883);
  client.setCallback(callback);
  //start Ethernet
  Ethernet.begin(mac, ip);
  delay(1500);
  if (client.connect("arduinoClient")) {
    Serial.println("wow, made it!");
    client.publish("outTopic","hello world");
    client.subscribe("inTopic");
  }
}

void loop(){
  client.publish("outTopic","hello world");
  Serial.print("rc=");
  Serial.println(client.state());
  if (!client.connected()) {
      reconnect();
  }
  delay(1000);
}

You are not calling client.loop() anywhere, so the client isnt able to process the keepalive timer logic, leading it to timeout the connection.

Thanks for responding!  :)
That's great feedback, I have experimented with the client.loop() statement in different locations within my code.  I tried it just now inside the main loop, based on your recommendation.  Unfortunately, it's giving me the same results.
void loop(){
  client.loop();
  client.publish("outTopic","hello world");
  Serial.print("rc=");
  Serial.println(client.state());
  if (!client.connected()) {
      reconnect();
  }
  delay(1000);
}


Add columnWidth Property to DataTable for Customizable Column Widths

After discussing with @Hixie in #51799, this PR has been created to implement the ability to customize column widths in DataTable.
This change introduces the columnWidth property to DataColumn, allowing developers to specify column widths using TableColumnWidth within a DataTable.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] I followed the breaking change policy and added Data Driven Fixes where supported.
[ ] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Thank you for your review, @nate-thegrate. I have updated the code per your suggestions.


Add PACIFIC PRIMARY AND HIGH SCHOOL

Add PACIFIC PRIMARY AND HIGH SCHOOL
phs.edu.vn

@vicpham Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Send Slack message to support when course becomes unavailable

Context
We currently get a Sentry error in #twd_apply_tech when a location is no longer available for a course. We then find out which people are affected and tell support to contact them. This tells the support team directly. Together with https://github.com/DFE-Digital/apply-for-postgraduate-teacher-training/pull/1974 will make it no longer necessary to involve a developer.
Changes proposed in this pull request
Send a Slack message instead of Sentry error.
Guidance to review
Does the message make sense?
Link to Trello card
https://trello.com/c/fRAKJt36
Things to check

[x] This code doesn't rely on migrations in the same Pull Request
[x] If this code includes a migration adding or changing columns, it also backfills existing records for consistency
[x] API release notes have been updated if necessary
[x] New environment variables have been added to the Azure config

Nice 👌


Use GitHub badge

Replaces the badges in the README with the new workflow.

bors r+

I can't seem to see any details of why bors failed.

Well, it's not too important. This repository is sufficiently low-volume that we don't really need bors.


added stylelint variations

Fixed a typo (.stylelitrc -> .stylelintrc) and added more variations according to this page.

thanks!


Backlog?

I was wondering if there is a prioritized backlog for this that I can take a look at to see what features are being worked on or planned?
I don't want to start something when someone else is already working on it
Thanks,

All items that are worked on are supposed to be in issues. If they are really small, they might just be a pull request only, but usually, when we notice a gaping hole, we create an issue... :wink:

@rprakashg thanks for asking, generally they are as Issues under the help-wanted tag.


~/.m2/repository/com/facebook/react/gradleplugin missing

Where does one get ~/.m2/repository/com/facebook/react/gradleplugin from?

+1

+1

+1

What is the RN version you are using? Gradle plugin used to be back in the day, but looks like it does not exist anymore. If you were upgrading your app from the early version, most likely you might need to update your files.

@facebook-github-bot no-reply

Closing this issue as more information is needed to debug this and we haven't heard back from the author. Once there's more information we can reopen the issue.


impossible to create a image

Describe the bug
I've used ai playground in the past but since the last update of the gpu driver it won't work anymore.
I've tried to create a simple image with HD image resolution but it doesn't work. The error is "if a critical failure occurs, please restart the program and try again". I'm using the "original" image model and configuration. Before the error I could generate some images with the "standard" resolution and "standard" quality. After that error it won't generate any other images.
To Reproduce
Steps to reproduce the behavior:
image resolution: HD
generate quality: standard or high quality or fast
model: juggernaut-xl-v9
Screenshots

Environment:

OS: win 11
GPU: intel arc 750 - <IP_ADDRESS>30
CPU: intel i5-12600k
Version: v1.01b

The newer graphic driver may have memory issues, you could try downgrading driver to see if that helps.
Probably related to https://github.com/intel/AI-Playground/issues/77


Move this repo to public

Setup portal-widget as a public repository so it can be used as a reference. This includes:

[x] Reviewing files to ensure we are not inadvertenly sharing sensitive information
[x] Making sure there is adequate documentation
[x] Ensuring the code is clearly commented

Public: https://github.com/voxbone-workshop/portal-widget


[RFC]: Add C implementation for @stdlib/math/base/special/acos

Description
This RFC proposes adding C implementation for @stdlib/math/base/special/acos
double stdlib_base_acos( const double x );

Related Issues
None.
Questions
No.
Other
No.
Checklist

[X] I have read and understood the Code of Conduct.
[X] Searched for existing issues and pull requests.
[X] The issue name begins with RFC:.

The logic of it requires the use of asin and hence I won't be able to proceed on this until #686 gets merged.


Upgrade everything to 1.10

@ChrisRackauckas is there a reason SymbolicIndexingInterface is restricted to 1.10 only? I can't install SciMLBase with my patch on 1.9 and I can get the benchmarks to run on 1.10

@thazhemadam can you help me with the "Pipeline '.buildkite/launch_benchmarks.yml' fails treehash signature check! You may need to re-run cryptic/bin/sign_treehashes!". Not sure how to do that.

Hopefully will be ready to merge after all of these finish running in a few days :stuck_out_tongue_closed_eyes:

@thazhemadam can you help me with the "Pipeline '.buildkite/launch_benchmarks.yml' fails treehash signature check! You may need to re-run cryptic/bin/sign_treehashes!". Not sure how to do that.

Done.

Updating everything to v1.10 all at once seems like a scary idea. I recommend just doing a folder at a time.

Yeah seems like quite a few failures. What I will do is create a list in that issue with all the builds and mark the ones which fail.


rework config for easier composition of quality profiles

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
i see there is already discussion about changing up the config's data structures here: https://github.com/recyclarr/recyclarr/issues/144
i have some thoughts specifically about ease of composing quality profiles (QPs).
this is my first time using the software, and i think it's pretty sweet. thanks a lot.
however, i was struck by the impression that it seems very awkward to compose QPs.
my assumption is that the custom format (CF) sync feature originally did not include QP score support, and this feature was added on later.
regardless, consider the following config sample:
custom_formats:
  - trash_ids:
      - ed38b889b31be83fda192888e2286d83 # CF1
      - 5763d1b0ce84aff3b21038eea8e9b8ad # CF6
    quality_profiles:
      - name: QP1
        score: 10
      - name: QP2
        score: 5
  - trash_ids:
      - 90cedc1fea7ea5d11298bebd3d1d3223 # CF2
    quality_profiles:
      - name: QP1
        score: 20
      - name: QP2
        score: 10
  - trash_ids:
      - 90a6f9a284dff5103f6346090e6280c8 # CF3
    quality_profiles:
      - name: QP1
        score: 30
      - name: QP2
        score: 15
  - trash_ids:
      - eecf3a857724171f968a66cb5719e152 # CF4
    quality_profiles:
      - name: QP2
        score: 80
  - trash_ids:
      - 9f6cbff8cfe4ebbc1bde14c7b7bec0de # CF5
    quality_profiles:
      - name: QP1
        score: 50

next, consider this alternative structure that represents the same information:
quality_profiles:
  - QP1:
      custom_formats:
        ed38b889b31be83fda192888e2286d83: 10 # CF1
        90cedc1fea7ea5d11298bebd3d1d3223: 20 # CF2
        90a6f9a284dff5103f6346090e6280c8: 30 # CF3
        9f6cbff8cfe4ebbc1bde14c7b7bec0de: 50 # CF5
        5763d1b0ce84aff3b21038eea8e9b8ad: 10 # CF6
  - QP2:
      custom_formats:
        ed38b889b31be83fda192888e2286d83: 5  # CF1
        90cedc1fea7ea5d11298bebd3d1d3223: 10 # CF2
        90a6f9a284dff5103f6346090e6280c8: 15 # CF3
        eecf3a857724171f968a66cb5719e152: 80 # CF4
        5763d1b0ce84aff3b21038eea8e9b8ad: 5  # CF6

they are essentially inverse functions of each other.
a null CF score value (e.g. 5763d1b0ce84aff3b21038eea8e9b8ad: or 5763d1b0ce84aff3b21038eea8e9b8ad: ~) could be used to get trash_score.
the latter is more concise (at least in this example) and imo saner to compose. i think it also simplifies sharing QPs with friends and the community.
most importantly, i think an approach like this is also much more intuitive and better matches the actual thought process used in configuring sonarr/radarr.
backwards compatibility with the existing config could be maintained by just making this a new data structure. and tbh, the proposed changes in https://github.com/recyclarr/recyclarr/issues/144 look pretty good to me. i just think that custom_formats should be a child of quality_profiles in any case.
i appreciate your thoughts. thanks :)

I really appreciate the feedback here. For now, I'm going to work on getting quality profile syncing working. Once I have something good in place, we can talk more about how CF scoring ties in.

thanks for listening :)
i have some newer thoughts about the whole thing, and when i have some time, i'll try to start a discussion thread.
but meanwhile, i just want to add that i think that composing QPs even in radarr itself is rather awkward.
there is no concept of "CF groups" in radarr. even without hypothetical features involving custom rules for CF groups (tbh i can't see benefits so far), "CF groups" would add logical organization that would help a lot with QP composition.
as you know, CFs just show up in a list in the QP dialog in score-sort (and alphabetical sub-sort). this imo kinda sucks for fine tuning scores in a QP, but it's somewhat mitigated if logical groupings of CFs happen to have similar scores.
so i think being able to use recyclarr for this task would be a boon to UX.

Something I was surprised didn't work when I was configuring things were yaml anchors. Presumably you're using a simple yaml parser or custom thing; but a parser that handles anchors and references would sipmlify things a lot, plus a "put anything in here" section in the schema (or just looser validation/failure). https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/ for reference


Improve performance - AsynTask - Android

The base64 decode is a bit slow....
I'm not and expert in Java, but I think this plugin could/should use an AsynTask...
https://www.youtube.com/watch?v=jtlRNNhane0
What's your opinion?

could provide a slight improvement, although the main bottleneck in this case is transferring the base64 encoded string from the webview to native. worth experimenting...

@vstirbu You are saying that the "slowness" I'm experiencing is in the mostly in the transfer process?

this is a relevant discussion: http://stackoverflow.com/questions/35875828/determining-throughput-speed-cordova-bridge-any-insights. the question is iOS specific but still relevant...

I tried something similar to that in the past...
I basically printed a bunch of timestamps to the Android logcat to find where it was taking most of the time....

can you instrument this line to see what is the delay on decoding the base64 image?

Not right now, but I can do it later or this weekend....

I've made the following modification to the library:
    private void share(String imageString, String captionString) {
        if (imageString != null && imageString.length() > 0) {
Long tsLong = System.currentTimeMillis()/1000;
Log.d("Base64", tsLong.toString());
        	byte[] imageData = Base64.decode(imageString, 0);
tsLong = System.currentTimeMillis()/1000;
Log.d("Base64", tsLong.toString());
        	File file = null;
            FileOutputStream os = null;

        	File parentDir = this.webView.getContext().getExternalFilesDir(null);
            File[] oldImages = parentDir.listFiles(OLD_IMAGE_FILTER);
            for (File oldImage : oldImages) {
                oldImage.delete();
            }
tsLong = System.currentTimeMillis()/1000;
Log.d("createTempFile", tsLong.toString());
            try {
                file = File.createTempFile("instagram", ".png", parentDir);
                os = new FileOutputStream(file, true);
            } catch (Exception e) {
                e.printStackTrace();
            }
tsLong = System.currentTimeMillis()/1000;
Log.d("createTempFile", tsLong.toString());
tsLong = System.currentTimeMillis()/1000;
Log.d("write", tsLong.toString());
        	try {
        		os.write(imageData);
				os.flush();
				os.close();
			} catch (IOException e) {
				// TODO Auto-generated catch block
				e.printStackTrace();
			}
tsLong = System.currentTimeMillis()/1000;
Log.d("write", tsLong.toString());
tsLong = System.currentTimeMillis()/1000;
Log.d("shareIntent", tsLong.toString());
        	Intent shareIntent = new Intent(Intent.ACTION_SEND);
        	shareIntent.setType("image/*");
        	shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse("file://" + file));
        	shareIntent.putExtra(Intent.EXTRA_TEXT, captionString);
        	shareIntent.setPackage("com.instagram.android");

        	this.cordova.startActivityForResult((CordovaPlugin) this, shareIntent, 12345);
tsLong = System.currentTimeMillis()/1000;
Log.d("shareIntent", tsLong.toString());

        } else {
            this.cbContext.error("Expected one non-empty string argument.");
        }
    }

(added tsLong and Log.d)
Result:
03-19 14:36:09.911 24625-24691/APP D/Base64:<PHONE_NUMBER>
03-19 14:36:09.951 24625-24691/APP D/Base64:<PHONE_NUMBER>
03-19 14:36:09.961 24625-24691/APP D/createTempFile:<PHONE_NUMBER>
03-19 14:36:09.961 24625-24691/APP D/createTempFile:<PHONE_NUMBER>
03-19 14:36:09.961 24625-24691/APP D/write:<PHONE_NUMBER>
03-19 14:36:09.971 24625-24691/APP D/write:<PHONE_NUMBER>
03-19 14:36:09.971 24625-24691/APP D/shareIntent:<PHONE_NUMBER>
03-19 14:36:09.991 24625-24691/APP D/shareIntent:<PHONE_NUMBER>

I've also added some logging to the javascript (before and after calling the library):
Instagram<PHONE_NUMBER>.349
Instagram<PHONE_NUMBER>.008

Conclusion: This timings are actually good (1 sec), but:

They are from my OnePlus One (good phone)
Testing on a clean Moto G (1st gen) also took about 1 second.
Testing with a 1000 x 1000 canvas in the Moto G is also acceptable.
I think this good timings have to do with me using 5.1.1 (because Google Warned developer to update the cordova version), I'm saying this because some months ago this library would take 2-3 seconds or more to process....

That said, there's always room for improvement, and using AsynTask would probably make it even faster...


cmd/compile: if x == a || x == b || x == c generates slower code than case a, b, c

go version devel +214be5b302 Sun Mar 26 04:40:20 2017 +0000 linux/amd64
While investigating issue 19789 I came across code that rans 25% slower than I expected. Context with runnable benchmark: https://gist.github.com/gaal/497361737dd55125cf2de998b49d948b
Please compare:
// BenchmarkFields/FieldsFuncLatin1Switch-12                1000000              2177 ns/op          78.08 MB/s
// BenchmarkFields/FieldsFuncLatin1If-12                     500000              2970 ns/op          57.24 MB/s

// isLatin1SpaceSwitch is is like unicode.IsSpace, but without the Unicode support.
// Presumably generates a jump table.
func isLatin1SpaceSwitch(r rune) bool {
	switch r {
	case '\t', '\n', '\v', '\f', '\r', ' ', 0x85, 0xA0:
		return true
	}
	return false
}

// Equivalent to isLatin1SpaceSwitch, but apparently generates much slower code.
func isLatin1SpaceIf(r rune) bool {
	return r == '\t' ||
		r == '\n' ||
		r == '\v' ||
		r == '\f' ||
		r == '\r' ||
		r == ' ' ||
		r == 0x85 ||
		r == 0xA0
}

It looks like the compiler could figure out that the expression is equivalent and could be optimized the same way. The speedup probably depends greatly on the number and kinds of arguments in the disjunction.

I seem to recall a bug open about this already, or something similar. @randall77 probably knows.

I don't know of any related issue.
The switch statement does a pretty good job of binary search.  It also coalesces \t through \r which are adjacent numerically.
The || code is linear search with no coalescing.
Could be fixed, I suppose.  I don't know what the right strategy would be.

We could do something during walk, where we look at disjunctions of equality checks, look for constants on one side and samesafeexprs on the other, and rewrite them into switch statements. I'm not convinced it's worth the code, since the benefit only kicks in when there are several disjuncts, and the author can simply use a switch statement instead.

There is #17622 about compiling switches into boolean functions.
Both can be combined to work on a possible improvement to fold if/switch statements that result in boolean values better in general.

IIRC, nor GCC, nor Clang do anything fancy about if/else chains for C.
They do not do these kind of optimizations for conditional (ternary) operators, "case selections" either.

There is https://github.com/golang/go/issues/5496 about compiling dense integer switches into jump tables. But that doesn't touch the fact that the if is slower than the switch.
I have a lexer/parser that has a lot of branching depending on runes/bytes, so I'm interested in this. I have come up with some benchmarks, also including a hand-made table: https://play.golang.org/p/QHwxgi0pBLn
$ go test -bench=.
goos: linux
goarch: amd64
BenchmarkSwitch-4       100000000               11.7 ns/op
BenchmarkIf-4           100000000               19.6 ns/op
BenchmarkArray-4        200000000                6.28 ns/op

Like in this issue, I see the switch being noticeably faster than the if. Perhaps unsurprisingly, the table is in turn noticeably faster than the switch.
The fun part, however, is that swapping a switch implementation for an if one brings a slight performance improvement in my lexer. I have yet to figure out why. It's actually the very same function that I show in the playground link above, just with different runes as inputs. In both cases, the function appears to be inlineable and inlined.

Your speed is probably very dependent on the order of comparisons and the likely input values.  If your first if clause matches the most likely input value, then the if will be fast.  If the most likely input value is the last one checked, it will be slow.
In contrast, the switch uses a binary tree of comparisons, so it is less input-value dependent, as it always does approximately the same number of comparisons irrespective of the input value.
Without information about the distribution of the input values, it is hard to make an always-correct decision in the optimizer.  (That said, a jump table is likely a good idea in most cases.)

Thank you - this makes sense. Seems like I should pay closer attention to the jump table issue rather than this one.

Let's close this in favor of the jump table issue (#5496).


Unable to unsend - From sent folder

I am using this addon at MS and it says that i can unschedule delivery from the sent folder but there is no option anywhere to click. I have opened the email directly from the sent box and still i do not see a banner where i would click to send now or cancel delivery. Is there additional configuration i need to do in outlook?

@neilbroo - I'm sorry to hear you're having problems. However, if the email has already been sent, it's too late to unschedule it. For scheduled, but unsent email, the email would be located in your Outbox folder in Outlook. Please ask your Microsoft admin to reach out to Support for immediate product help. Or if you think this product behavior is a bug, please report it through the Feedback icon (smiley face) within your Outlook Insights panel, and select the checkbox that says that Microsoft can contact you to follow up:

Thanks for your feedback!

I am able to see the email before delivery in the sent box, however, when I attempt to cancel, there is no option on the email to cancel. So I can delay delivery, I am just unable to cancel that once it is set. I can see it when I am sending my email, but after the delay is configured, I do not see a change/cancel option from within the sent folder on the email, before the scheduled time.
Neil Broome
One Store Technical Duty Officer
Mobile:<PHONE_NUMBER>
<EMAIL_ADDRESS>@.***
From: Michele Dehmer @.>
Sent: Monday, September 13, 2021 11:32 AM
To: MicrosoftDocs/OfficeDocs-WorkplaceAnalytics @.>
Cc: Neil Broome @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-WorkplaceAnalytics] Unable to unsend - From sent folder (#252)
@neilbroohttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fneilbroo&data=04|01|neilbroome%40microsoft.com|f9dce26bdd69476e2e9708d976cba36a|72f988bf86f141af91ab2d7cd011db47|1|0|637671439273987064|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=H4Z%2BSBLycilNfgYUQyF1lKSRTA8TZFTXXDavRxRhTSg%3D&reserved=0 - I'm sorry to hear you're having problems. However, if the email has already been sent, it's too late to unschedule it. For scheduled, but unsent email, the email would be located in your Outbox folder in Outlook. Please ask your Microsoft admin to reach out to Supporthttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmicrosoft-365%2Fadmin%2Fcontact-support-for-business-products%3Fview%3Do365-worldwide&data=04|01|neilbroome%40microsoft.com|f9dce26bdd69476e2e9708d976cba36a|72f988bf86f141af91ab2d7cd011db47|1|0|637671439273987064|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=3xte7CSZOJbdakyQj2qXr8AlbfOj20QDTu2IPCtEt24%3D&reserved=0 for immediate product help. Or if you think this product behavior is a bug, please report it through the Feedback icon (smiley face) within your Outlook Insights panel, and select the checkbox that says that Microsoft can contact you to follow up:
[image]https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F39922363%2F133111924-598fbae2-9461-420d-9394-9df1cc95f36f.png&data=04|01|neilbroome%40microsoft.com|f9dce26bdd69476e2e9708d976cba36a|72f988bf86f141af91ab2d7cd011db47|1|0|637671439273997056|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=jpcPpzzYVgkvCXAN%2BnSBJJN9Ga5n9JVErtbfrWXOaCI%3D&reserved=0
Thanks for your feedback!

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-WorkplaceAnalytics%2Fissues%2F252%23issuecomment-918312813&data=04|01|neilbroome%40microsoft.com|f9dce26bdd69476e2e9708d976cba36a|72f988bf86f141af91ab2d7cd011db47|1|0|637671439274007047|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ZyAqrK4bYiC%2BhezpO1L8CTbTPsUizfHIemvhi9%2F0CBE%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVTMC7TPLD3YJFG73XXFGK3UBYKPHANCNFSM5D5VRTEQ&data=04|01|neilbroome%40microsoft.com|f9dce26bdd69476e2e9708d976cba36a|72f988bf86f141af91ab2d7cd011db47|1|0|637671439274007047|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=ZUFRHzLYUPhc1x0jBX3roWjJ29zrqsTHGVOSLE93BOo%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|neilbroome%40microsoft.com|f9dce26bdd69476e2e9708d976cba36a|72f988bf86f141af91ab2d7cd011db47|1|0|637671439274017042|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=iOlG8ja3%2FAvi1hFG4taa%2BF2qvQZ6Uc0Bfe3x2fHP3SA%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|neilbroome%40microsoft.com|f9dce26bdd69476e2e9708d976cba36a|72f988bf86f141af91ab2d7cd011db47|1|0|637671439274017042|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=CUP0kYIgTqLf6gj4%2B4xHLNGoh106RadawgDKqtyqmv0%3D&reserved=0.

@neilbroo - Right, I meant to tell you earlier to simply delete the email from your sent folder if you want to cancel delivery. Thanks for asking!

Okay, will try that. How will I know if it is successful?
Neil Broome
One Store Technical Duty Officer
Mobile:<PHONE_NUMBER>
<EMAIL_ADDRESS>@.***
From: Michele Dehmer @.>
Sent: Monday, September 13, 2021 12:51 PM
To: MicrosoftDocs/OfficeDocs-WorkplaceAnalytics @.>
Cc: Neil Broome @.>; Mention @.>
Subject: Re: [MicrosoftDocs/OfficeDocs-WorkplaceAnalytics] Unable to unsend - From sent folder (#252)
@neilbroohttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fneilbroo&data=04|01|neilbroome%40microsoft.com|2236ec2bf2ad48df1dcf08d976d6b68e|72f988bf86f141af91ab2d7cd011db47|1|0|637671486845947750|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=vNlyNFWS2eY2niFK6GbEjm1HXd%2BSnpET6%2FEuOARVADk%3D&reserved=0 - Right, I meant to tell you earlier to simply delete the email from your sent folder if you want to cancel delivery. Thanks for asking!

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2FOfficeDocs-WorkplaceAnalytics%2Fissues%2F252%23issuecomment-918382317&data=04|01|neilbroome%40microsoft.com|2236ec2bf2ad48df1dcf08d976d6b68e|72f988bf86f141af91ab2d7cd011db47|1|0|637671486845957743|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=Us4nhPF3AVh5q62EHcr7yd0B%2FNSzmHGLHE9yxn7vB6Q%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAVTMC7RSK735C63B6JHG4BLUBYTYRANCNFSM5D5VRTEQ&data=04|01|neilbroome%40microsoft.com|2236ec2bf2ad48df1dcf08d976d6b68e|72f988bf86f141af91ab2d7cd011db47|1|0|637671486845967735|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=WBVm%2BmjemXxbtsye3w1YZXQy%2FzY%2BoHS3MMFV4XdxoC0%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|neilbroome%40microsoft.com|2236ec2bf2ad48df1dcf08d976d6b68e|72f988bf86f141af91ab2d7cd011db47|1|0|637671486845967735|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=M3HfnOhIE8kcNngi3huOyhX6mHlRNCjnfDjGwZIlSDQ%3D&reserved=0 or Androidhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|neilbroome%40microsoft.com|2236ec2bf2ad48df1dcf08d976d6b68e|72f988bf86f141af91ab2d7cd011db47|1|0|637671486845977738|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=dZ2D2UhvzzHmeY2hjb1i7bAH6To5dAXUAOfiuMmVJiU%3D&reserved=0.

@neilbroo - When you delete an email in Outlook, it won't be in the Sent items folder anymore. Thanks for using Microsoft products. :-)


[SMALLFIX] Use static imports for standard test utilities

I alter the non-static import to a static import and rewrite all the corresponding assert statements for standard test utilities in alluxio/core/server/worker/src/test/java/alluxio/worker/block/allocator/AllocatorContractTest.java

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/3247/
Test FAILed.


[Dashboard / CardRenderer] deprecate

Summary
Dashboard and CardRenderer are only being used by the Monitor team. Not only that, if another project wanted to use them, they're very complicated and heavily biased to Monitor use-cases. Deprecating both of these will take 2 pretty heavy components off of the addons library and allow Monitor to more efficiently update them and not worry as much about trying to keep them general for other projects
Specific timeline issues / requests
Do you want this work within a specific time period? Is it related to an
upcoming release?
Would like this to be removed in the next major release
Available extra resources
What resources do you have to assist this effort?
Will do myself

:tada: This issue has been resolved in version 2.95.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support for asyncio

I have to use my wrapper to implement asynchrony.  Are there any plans to implement this out of the box?

Hi @hz61p1. Async support was added by #193, and is available in the latest release.


docker-machine generic-driver fails install for docker-17.06.0-ce

Hi guys,
I am running an AWS instance (Ubuntu 16.04) for docker machine. I created it beginning of the week (using generic-driver) and it was working fine. Today I recreate the AWS instance for various reasons but docker-machine create is constantly failing now:
Job for docker.service failed because the control process exited with error code. See "systemctl status docker.service" and "journalctl -xe" for details.
I figured out the new machine was setup to use docker daemon instead of dockerd:
systemctl status docker.service
● docker.service - Docker Application Container Engine
   Loaded: loaded (/lib/systemd/system/docker.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/docker.service.d
           └─10-machine.conf
   Active: inactive (dead) (Result: exit-code) since Sun 2017-07-02 21:49:59 UTC; 1min 46s ago
     Docs: https://docs.docker.com
  Process: 4704 ExecStart=/usr/bin/docker daemon -H tcp://<IP_ADDRESS>:2376 -H unix:///var/run/docker.sock --storage-driver aufs --tlsverify --tlscacert /etc/docker/ca.pem --tlscert /etc/docker/server.pem --tlskey /etc/docker/server-key.pem --label
 Main PID: 4704 (code=exited, status=1/FAILURE)

Previously, I was using docker version 17.05.0-ce but a couple of days ago docker got updated to 17.06.0-ce [docker --version output Docker version 17.06.0-ce, build 02c1d87]. I am not really into go-lang but it looks like versioncmp.LessThan (in compare.go:50) is not working as expected anymore. Again, I am not really into go, can somebody with more insights confirm that?
Thanks!

Sorry for the duplicate: #4156


Unable to see build logs in GH on latest versions

Using v1.0.3, the build logs were functional for a time showing up in the GH action but then they suddenly stopped appearing.  I checked and it is not a permissions issue because I can run an aws get-log-events just fine.
The only solution I found was downgrading to v1.0.0 where the logs show up again, but the rate-limiting error is occuring.  (v1.0.1 and v1.0.2 also did not work).  Is there a better solution?

Thank you!

I have also started seeing this in our build logs.
Downgrading to v1.0.0 works only temporarily for us and is not quite as consistent.


.mjs support

Do you want to request a feature or report a bug?
Feature request

What is the current behavior?
Can't import .mjs files without extra configuration.
What is the expected behavior?
.jsm nodules are supported 'out of the box' also some changes to the module parsing/resolution apply:

require, define and module.exports are ignored and passed through unchanged.
can only import cjs exports as esm default export
can only import using the file file extension. (All imports must be URLs)

If this is a feature request, what is motivation or use case for changing the behavior?
Comparability with nodejs
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.

Are you referring to .mjs?

@TheLarkInn yes

This will be added for webpack 4.

Current status:

[x] require, define and module.exports are ignored and passed through unchanged.
[ ] can only import cjs exports as esm default export
[x] can only import using the file file extension. (All imports must be URLs)

Hi all, I can see this feature is going to imminently land, any ETA on this?
Many thanks

@JasonJJFS it's going to land with many other features in one go as webpack 4: https://github.com/webpack/webpack/milestone/15

Current status:

[ ] import("cjs") should return a fake namespace object and emit an error


Using cote with ufw

Hello. I tried to use cote on server with ufw on with server-specific settings, but cote doesn't work. How can I use cote with ufw? What ports should be available for correct operation of cote? This part is not covered in documentation, at least I was not able to find it. Thanks in advance.

cote will dynamically allocate a TCP port number of 8000 as each service will get a new port, and UDP 5555.

@dashersw thank you. I just allowed TCP 8000 to 8100 from anywhere and UDP 5555 from anywhere, restarted all services and it still doesn't work. If I disable ufw, it works. Also I run services in PM2, if it does matter. What could I miss?
ufw status
Status: active

To                         Action      From
--                         ------      ----
5555/udp                   ALLOW       Anywhere
8000:8100/tcp              ALLOW       Anywhere
5555/udp (v6)              ALLOW       Anywhere (v6)
8000:8100/tcp (v6)         ALLOW       Anywhere (v6)

Hello @georgyfarniev ! I'm sorry, the UDP port should be 12345, and not 5555.

@dashersw thank you very much. It solved my problem. I will try to create doc PR to cover this topic as well when I have time.


Add temporary Ubuntu Artful support

Adds temporary support for Ubuntu Artful while we wait to get packages
up, after we do get packages up we should delete the lines denoted #TODO: DELETE HERE
Signed-off-by: Eli Uriegas<EMAIL_ADDRESS>

Waiting on merge for tests to run

Confirmed to be working as expected.
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=17.10
DISTRIB_CODENAME=artful
DISTRIB_DESCRIPTION="Ubuntu 17.10"
$ docker version
Client:
 Version:      17.10.0-ce
 API version:  1.33
 Go version:   go1.8.3
 Git commit:   f4ffd25
 Built:        Tue Oct 17 19:05:05 2017
 OS/Arch:      linux/amd64

Server:
 Version:      17.10.0-ce
 API version:  1.33 (minimum version 1.12)
 Go version:   go1.8.3
 Git commit:   f4ffd25
 Built:        Tue Oct 17 19:03:46 2017
 OS/Arch:      linux/amd64
 Experimental: false

I receive the following error:
# Executing docker install script, commit: UNKNOWN
+ sudo -E sh -c 'apt-get update -qq >/dev/null'
E: The repository 'https://download.docker.com/linux/ubuntu artful Release' does not have a Release file.

I receive the following error:
# Executing docker install script, commit: 49ee7c1
+ sudo -E sh -c 'apt-get update -qq >/dev/null'
E: The repository 'https://download.docker.com/linux/ubuntu artful Release' does not have a Release file.

@BigNerd95 Can we have some more information about your system?
What's the output of cat /etc/os-release?

Same problem here. Digital Ocean VPS, Ubuntu 17.04. Maybe some kind of Digital Ocean packages caching?
> cat /etc/os-release
NAME="Ubuntu"
VERSION="17.04 (Zesty Zapus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 17.04"
VERSION_ID="17.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=zesty
UBUNTU_CODENAME=zesty

> do-release-upgrade
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [819 B]
Get:2 Upgrade tool [1,255 kB]
Fetched 1,256 kB in 0s (0 B/s)
authenticate 'artful.tar.gz' against 'artful.tar.gz.gpg'
extracting 'artful.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree
Reading state information... Done
Hit http://security.ubuntu.com/ubuntu zesty-security InRelease
Hit http://ams2.mirrors.digitalocean.com/ubuntu zesty InRelease
Hit http://ams2.mirrors.digitalocean.com/ubuntu zesty-updates InRelease
Hit https://apt.dockerproject.org/repo ubuntu-xenial InRelease
Hit https://download.docker.com/linux/ubuntu zesty InRelease
Hit https://repos.sonar.digitalocean.com/apt main InRelease
Fetched 0 B in 0s (0 B/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
...

Updating repository information

No valid mirror found

While scanning your repository information no mirror entry for the
upgrade was found. This can happen if you run an internal mirror or
if the mirror information is out of date.

Do you want to rewrite your 'sources.list' file anyway? If you choose
'Yes' here it will update all 'zesty' to 'artful' entries.
If you select 'No' the upgrade will cancel.

 This is usually some sort of
network problem, please check your network connection and retry.

E:The repository 'https://download.docker.com/linux/ubuntu artful
Release' does not have a Release file.

Restoring original system state

Aborting

@seemethere
NAME="Ubuntu"
VERSION="17.10 (Artful Aardvark)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 17.10"
VERSION_ID="17.10"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=artful
UBUNTU_CODENAME=artful

@darwin there are no artful repositories yet which is why this PR just substitutes the artful for zesty when it designates the repository.
artful repositories will not be coming until the release of 17.11.0-ce

I solved with
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu zesty stable"

Oks :+1:

@seemethere ok, thanks for clarification. Will wait. I'm a linux noob.

Well, actually, according the instruction, Docker repository can be added with the output of lsb_release -cs. However, if you are using artful then it won't be working. I think, there should be a "friendly reminder" on there.
Just sayin'
The instruction: https://docs.docker.com/engine/installation/linux/docker-ce/ubuntu/#install-using-the-repository

@adililhan it's a valid point; but this was a patch on the get.docker.com install script to allow it to install on Artful.


Allow the workbox runtime file to have a different name when using GenerateSW

Library Affected:
Not sure....? It's regarding workbox-webpack-plugin.GenerateSW
https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-webpack-plugin.GenerateSW
Browser & Platform:
Not relevant
Issue or Feature Request Description:
We can change the name of the service worker itself using swDest, but we cannot change the name of the runtime chunk. Currently, this is workbox-[contenthash:8].js but all my other files use a full content hash (20 characters) and include .min in front of the file extension.
This results in my dontCacheBustURLsMatching options to be /-([a-z0-9]{8}|[a-z0-9]{20})\./g, which is quite ugly.
If I were to be able to change the name of the workbox runtime chunk, I could just let it have a 20-digit content hash and reduce my regular expression to /-|[a-z0-9]{20}\./g. Ideally, I'd also want to add .min to the name, but that (in my case) would just be visually more consistent.
Perhaps a swRuntimeDest option could be added?

That's non-trivial to do, unfortunately. The code that produces the workbox-... runtime file is shared with workbox-build. It's actually not produced by webpack.
You should not need to include a pattern for the workbox-... runtime file in dontCacheBustURLsMatching, as that file shouldn't be included in your precache manifest: https://github.com/GoogleChrome/workbox/blob/bb21e8208ec093dd66fb61b5fbcdfd67314eb2bc/packages/workbox-webpack-plugin/src/generate-sw.js#L251-L253
If you're seeing the current workbox-... runtime file in your precache manifest, that sounds like a bug, and I'd like to take a look at your webpack configuration to figure out why it's happening.

workbox-*.js is not in the precache manifest.
As I now (think I) understand from your message, dontCacheBustURLsMatching only applies to urls from the precache manifest. If that is indeed so, then yes, everything is fine just the way it is and I would have no reason for my feature request anymore. I initially thought dontCacheBustURLsMatching would also be applied to urls in the runtime cache.

Right, dontCacheBustURLsMatching only applies to requests made by workbox-precaching to populate the precache.