Fix multiple breaking issues from new pyparsing versions

This PR:

Fixes broken whitespace behavior which caused almost every dot file to be parsed incorrectly (https://github.com/pydot/pydot/issues/291, https://github.com/pydot/pydot/issues/289, https://github.com/pydot/pydot/issues/280, https://github.com/pydot/pydot/issues/277)
Fixes broken HTML parsing (found through tests html_labels.dot, html2.dot)
Fixes broken parsing for identifiers with non-standard characters (found through test russian.dot)
Removes a few unused imports/variables.
Bumps the version of pyparsing to >=3.0.9

Tradeoff: from my tests, there is a small performance degradation due to introduction of pyparsing_unicode.BasicMultilingualPlane.alphanums which impacts pyparsing's speed. This can be investigated later. For now, the most important thing is that it works.

Someone merge this in!

@InfamyStudio I've done it so long ago that I don't remember what I did there 😄
I believe currently only @prmtl is capable of merging this

@prmtl @peternowee  Could you check this PR? You're the only active people there.
There are issues coming in and nobody to answer them.
I'd be happy to take over and contribute – this package still has a ton of downloads and users.

Just wanted to +1 this, we (networkx) are planning on deprecating support for https://github.com/networkx/networkx/issues/5723 for some time now as pydot doesn't seem to be maintained. It breaks certain part of our graphviz/drawing test suite, and a lot of pydot issues are reported to us by networkx users.
It would be great to get some activity here to bring pydot up to date with the latest python/pyparsing releases!! pydot is super useful in cases where users just want to generate .dot files and it's pure python (easily WASM'able).

@MridulS I've managed to get access to the repo. I'll be able to relearn and review my old changes in this PR and possibly merge them – maybe this weekend. There's a huge test suite that will help.
Another thing is actually publishing them as a new version if they'd work – I probably don't have rights for that yet so I'll have to ask Ero for even more 🥲

I see the current repo has CI definitions for AppVeyor and Travis; presumably Travis, at least, is a lost cause.
I'd be willing to work on a PR to migrate that into GitHub Actions, if you'd be interested in reviewing and merging that, @lkk7.
That'd then open the door to setting up automatic (or non- automatic) PyPi publishing of releases as well, if the relevant credentials were stored in the repo's or org's secrets. Then anyone with the necessary rights to tag releases here could perform that step as well. Raise the bus factor a bit.

(Actually I see #299 was already submitted to start that work. But then it was closed seemingly immediately after, with no explanation.)

@ferdnyc Hi, thanks and feel free to replace the old workflows with GitHub Actions lint/test steps.
I'd suggest skipping the PyPI publishing part for now – Ero (the original owner) wants to publish the first few changes himself to gain confidence in us 😄
Then, if everything's OK, we'll be able to set that up for sure

How often will a new version be released?

@zen-xu
Hi, I'm not sure.
I'm not the original maintainer so my priority now is just to release the fixing version to revive the project.
May I ask why are you asking? Any comments/feedback/help is welcome


chore(curriculum): update book inventory app tests

Checklist:

[X] I have read and followed the contribution guidelines.
[X] I have read and followed the how to open a pull request guide.
[X] My pull request targets the main branch of freeCodeCamp.
[X] I have tested these changes either locally on my machine, or GitPod.

Closes #XXXXX

This updates the assertions in the lab book inventory app to use proper assertion methods.

I understand.


Running Casino in a master master setup setup causes casino_login_tickets discrepency

I currently have the following setup:
 CasinoServer1                   CasinoServer2
  ||                              ||
  \/                              \/
 DB1  <----- master/master -->   DB2

DB1 inserts with EVEN ids and DB2 inserts with ODD ids. What happens is that replication stops because there are differences between the casino_login_tickets table on DB1 and the casino_login_tickets table on DB2.
Last_SQL_Errno: 1032
Last_SQL_Error: Could not execute Update_rows event on table casino_production.casino_login_tickets; Can't find record in 'casino_login_tickets', Error_code: 1032; handler error HA_ERR_KEY_NOT_FOUND; the event's master log mysql-bin.000177, end_log_pos 96120580

The only explanation for this I can think of is that Casino uses something like row level locking for the login_tickets and that that causes some soft of racing? Only the login_tickets table is affected, all other tables are fine.
I've currently worked around the issue by letting CasinoServer1 point to DB2, but I was hoping to solve this in a nicer way.

Could it be the cleanup cronjob for the login_tickets table that causes the problem? Maybe deactivating the cleanup task on one of the instances would help.

That was my first guess as wel, but Mysql replication does a fine job of replicating range queries. As far as I can tell the UPDATE seems to be replicated BEFORE the insert or something?! I was hoping you might be able to point me to the code creating the tickets, so I could look around :)

There is nothing more to it than a single LoginTicket.create call. Maybe you can track down what causes the Update_rows event using the timestamps and the web log.

Closing this for now. Please post an update once you find the time to look into it.


Testing for CUDA compatibility

Some changes to our tests/code to ensure that unit tests and examples can run on CUDA. This does not tackle the _standard_gamma patching (for running on CUDA) which is needed for tests that use gamma, dirichlet, chi2 etc.

Some functions like torch.linspace and torch.randperm throw an error when we call them with a default cuda tensor type. I am either fixing the device type to CPU, or using torch.arange instead of torch.linspace.
Adjusting the precision threshold for CUDA, and fixing the cuda rng seed.

@fritzo - Lets merge #1053 first, and then ensure that test-cuda has no failing tests after this PR.

Should I merge this?

@fritzo - Just fixing a few more failures. Will update shortly.

Should be ready to merge once tests pass.


Adding Jest testing framework to the code base, and adding inital tes…

…t for mock data
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

Adding the initial testing workflow which will be iterated on for issue # 329

Hi @utsab , just wanted to point out that this PR is adding Jest but @GuillermoFloresV mentioned this was already done so we will be amending this PR after some revisions - wanted to flag this.

@Code-Victor 👆

Hi @sihambyte @ngillux @utsab @GuillermoFloresV
You may already be aware of this, but an error was introduced by this https://github.com/freeCodeCamp/classroom/pull/366 which is impacting newer pull requests such as https://github.com/freeCodeCamp/classroom/pull/396
Here in https://github.com/freeCodeCamp/classroom/pull/366, the error is:

2 of 3 checks passed
:x: Build and test (16.14.2)
https://github.com/freeCodeCamp/classroom/actions/runs/5672654900/job/15372355501

3s
Run npm run test
  npm run test
  shell: /usr/bin/bash -e {0}

><EMAIL_ADDRESS>test
> jest .

PASS __tests__/__util__/processDashboardData.test.js
PASS __tests__/components/authButton.test.jsx
FAIL __tests__/components/dashtable_v2.test.jsx
  ● GlobalDashboardTable › renders dashtable with correct data format

    expect(received).toMatchSnapshot()

    Snapshot name: `GlobalDashboardTable renders dashtable with correct data format [1](https://github.com/freeCodeCamp/classroom/actions/runs/5672654900/job/15372355501#step:6:1)`

    - Snapshot  - 10
    + Received  + 10

    @@ -45,47 +45,47 @@
            >

    -<EMAIL_ADDRESS>    +           email

    -               5
    +               0
                    /
                    6

                  <meter
                    id="progress"
                    max="6"
                    min="0"
    -               value="5"
    +               value="0"
                  />

                <a
    -<EMAIL_ADDRESS>    +             href="/dashboard/v2/details/cljbqrfoa0006kohk89[4](https://github.com/freeCodeCamp/classroom/actions/runs/5672654900/job/15372355501#step:6:5)ym6v3/email"
                >

                  details

    @@ -96,47 +96,47 @@
            >

    -<EMAIL_ADDRESS>    +           email

    -               3
    +               0
                    /
                    [6](https://github.com/freeCodeCamp/classroom/actions/runs/5672654900/job/15372355501#step:6:7)

                  <meter
                    id="progress"
                    max="6"
                    min="0"
    -               value="3"
    +               value="0"
                  />

                <a
    -<EMAIL_ADDRESS>    +             href="/dashboard/v2/details/cljbqrfoa0006kohk894ym6v3/email"
                >

                  details

      16 |     );
      1[7](https://github.com/freeCodeCamp/classroom/actions/runs/5672654900/job/15372355501#step:6:8) |
    > 1[8](https://github.com/freeCodeCamp/classroom/actions/runs/5672654900/job/15372355501#step:6:9) |     expect(container).toMatchSnapshot();
         |                       ^
      1[9](https://github.com/freeCodeCamp/classroom/actions/runs/5672654900/job/15372355501#step:6:10) |   });
      20 | });
      21 |

      at Object.toMatchSnapshot (__tests__/components/dashtable_v2.test.jsx:[18](https://github.com/freeCodeCamp/classroom/actions/runs/5672654900/job/15372355501#step:6:19):[23](https://github.com/freeCodeCamp/classroom/actions/runs/5672654900/job/15372355501#step:6:24))

 › 1 snapshot failed.
PASS __tests__/components/navbar.test.jsx

Snapshot Summary
 › 1 snapshot failed from 1 test suite. Inspect your code changes or run `npm test -- -u` to update them.

Test Suites: 1 failed, 3 passed, 4 total
Tests:       1 failed, 4 passed, 5 total
Snapshots:   1 failed, 1 passed, 2 total
Time:        2.006 s
Ran all test suites matching /./i.
Error: Process completed with exit code 1.


Use typescript and implement plugin system including multiple plugins

The code has been refactored to incorporate Typescript and ts-node. Additionally, I have implemented a plugin system that leverages GPT functions. Apart from relocating the existing yFiles graph function to a plugin, I have introduced several other plugins, such as an image plugin.

The docker integration is a good point. I have adjusted the dockerfile to work with typescript. In addition, the two major plugins (yFiles graphs and DALL-E images) can now be disabled via environment variables.


jovo demo on probability theory on 11/2

covariance, correlation, etc.

i think it would be helpful if in syllabus.md,
we put the schedule for the rest of the semester,
at least who is leading which days.
let's do that tomorrow during office hours?


Add accessibility

Look at a11y and add to the buttons if possible.
Thanks @Luckey-Elijah for heads up!

pull request: https://github.com/mivoligo/miv_buttons/pull/8/files
@Luckey-Elijah please take a look if/when you have time.


add Twai::enable_rx_interrupt and Twai::disable_rx_interrupt

Tested on ESP32-S3

Actually I'm seeing some weird behavior so I'll convert this to a draft until I get things figured out.

So for some reason the interrupt enable register seems to have a random value at startup and needs to be reset first.
Could someone check if they're also seeing non-zero values after adding this line to a otherwise empty project?
esp_println::println!("int_ena: {:b}", peripherals.TWAI0.int_ena.read().bits());

So for some reason the interrupt enable register seems to have a random value at startup and needs to be reset first.
Could someone check if they're also seeing non-zero values after adding this line to a otherwise empty project?
esp_println::println!("int_ena: {:b}", peripherals.TWAI0.int_ena.read().bits());

Yes I also see some (reserved) bits set in INT_ENA
int_ena:<PHONE_NUMBER>01000000000

@bjoernQ thanks for having a look!
Could you try again, this time with this code?
use esp32s3_hal::twai::Instance;
esp_println::println!("int_ena 1: {:b}", peripherals.TWAI0.int_ena.read().bits());
system
    .peripheral_clock_control
    .enable(esp32s3_hal::peripherals::TWAI0::SYSTEM_PERIPHERAL);
esp_println::println!("int_ena 2: {:b}", peripherals.TWAI0.int_ena.read().bits());

For me the second print shows random? not reserved bits being enabled
int_ena 1:<PHONE_NUMBER>00000000001
int_ena 2: 1010

int_ena 1:<PHONE_NUMBER>00000000001
int_ena 2: 1001010

int_ena 1:<PHONE_NUMBER>00000000001
int_ena 2: 10001010

int_ena 1:<PHONE_NUMBER>00000000001
int_ena 2: 1010

int_ena 1:<PHONE_NUMBER>00000000001
int_ena 2: 11001010

No problem - I also get seemingly random values
int_ena 1:<PHONE_NUMBER>0000010001
int_ena 2: 11001001

int_ena 1:<PHONE_NUMBER>0000010001
int_ena 2: 1000001

int_ena 1:<PHONE_NUMBER>0010010001
int_ena 2: 11000001

int_ena 1:<PHONE_NUMBER>0000010001
int_ena 2: 11000001

int_ena 1:<PHONE_NUMBER>0000010001
int_ena 2: 11000001

int_ena 1:<PHONE_NUMBER>0000010001
int_ena 2: 11000001

int_ena 1:<PHONE_NUMBER>0010010001
int_ena 2: 11000001

Thanks for your contribution! Do you have any plans to continue this work, or am I able to close this PR?

I'm planning to revisit this at some point but I'm not actively looking into it right now. Feel free to close this in the meantime.


Fix compatibility with newer Mono

The MonoHttpWebRequest constructor is public since https://github.com/mono/mono/pull/18832.

Oh, indeed. thanks! 🙂


how to include css dependency with JSServe.App()

currently I pass the style as a kwarg to DOM methods
style = """
      font-family: "Alegreya Sans", sans-serif;
      font-weight: 400;
      font-size:   1em;
      color:       hsl(0, 0%, 25%);

      vertical-align: middle;
      horizontal-align: middle;
      display:        inline-block;
"""
JSServe.App() do session, request
      return DOM.div( style=style, ... )
end

is there a way of passing the css file instead which correctly parses the styles for different DOM elements, but only for the session opened by JSServe.App
JSServe.App(css="path/to/style.css") do session, request
      return DOM.div( ... )
end

I guess I just want to understand how this example works with css files https://github.com/SimonDanisch/JSServe.jl/blob/master/examples/threejs.jl

I guess I just want to understand how this example works with css files https://github.com/SimonDanisch/JSServe.jl/blob/master/examples/threejs.jl

I think I found the example I need in https://github.com/SimonDanisch/JSServe.jl/blob/master/examples/basics.jl

I think I found the example I need in https://github.com/SimonDanisch/JSServe.jl/blob/master/examples/basics.jl


new release?

Hi -- I was wondering if you could make a new release that includes the latest commit? Currently, the version that you get with add SearchSortedNearest does not have e.g. searchsortedprevious.

Thanks for the nudge.  Release pending!


[Bug] Address country dropdown doesn't work

What happened?
Country dropdown is not visible on mobile breakpoint
https://shopware-pwa-canary.storefrontcloud.io/account/addresses/add
Steps To Reproduce

Go to https://shopware-pwa-canary.storefrontcloud.io/account/addresses/add in a mobile breakpoint
Try to select the country

Dropdown does not open. On desktop breakpoint it works:

Is there an existing issue for this?

[X] I have searched the existing issues

Version
Canary (generated by CLI)
Which element is affected?
default-theme
Environment
https://shopware-pwa-canary.storefrontcloud.io

Relevant log output
No response

The same happens in checkout, so it's not possible to place an order

The dropdown opens now, but it can't be closed by clicking on "cancel"


hwmv2: Port STM32F3X SoCs & boards

Port STM32F3X SoCs & boards to Hardware Model V2.

Rebased to solve conflicts & address comments above.

rebase needed

Rebase needed

Rebase needed

Done


Improve some interfaces about ORC filter push down

What changes were proposed in this pull request?
Improve some interfaces about orc search argument and fix one bug about invalid memory access.

Diverging the fork from the upstream for something this minor doesn't seem worth it. Can you try to either get these changes accepted into the upstream apache/orc or try to do without them?
Seems that this should be pretty upstreamable, especially with some changes to keep full compatibility (if needed):

Can keep both overloads of searchArgument(), with the unique_ptr overload just creating a shared_ptr and calling the shared_ptr overload.
Can keep both versions of getChild(), naming the new one getChildRef() or something.

@al13n321  failed java not related to this PR. And I don't know why c++ tests on windows failed, but let's try to fix it.

@al13n321 failed java not related to this PR. And I don't know why c++ tests on windows failed, but let's try to fix it.

done

@al13n321 can we merge this pr first if it is ok ?


volume level control

maybe if you add a feature to control the volume would be great also ı have coded my own Spotify apı and control for my project so ı got an example for you  if you add it that would be so good
def volume_level():
print("volume")
vol = ""
try:
vol = vol.join(filter(str.isdigit, query))
sp = spotipy.Spotify(auth=refresh())
sp.volume(int(vol))
except:
print("something went wrong")
this is the code for python. it takes input and gets the percentage into it and changes to it you had already got a refresh token just add it. Also ı used AI so ı got a aı command that to you can use
"tag": "volume_level",
"patterns": [" Spotify volume", "change the  Spotify volume to", "make the Spotify volume", " Spotify %"],
ı hope these can help if you add it that would  be good have a great day :)

Sorry for the late response, this is an excellent Idea. will try to get it in before the end of the vacation


resized image

:tada: This PR is included in version 1.3.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Support JobRun ConfigurationOverrides field

Issue #, if available: https://github.com/aws-controllers-k8s/community/issues/1445
Description of changes:

Support JobRun ConfigurationOverrides field

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

/retest

/approve
/lgtm


[fix][broker] Fix namespace bundle stuck in unloading status

Motivation
PR https://github.com/apache/pulsar/pull/21231 made user topic creation rely on system topic __change_event if the user is enabling topicLevelPoliciesEnabled.
It will introduce a race condition with namespace bundle unloading. All creating topics want to create __change_event reader but constantly fail by namespace-bundle inactive and retry mechanism. Unfortunately, the namespace-bundle unloading operation is waiting for all the topics to be completed and then release inactive status. Therefore, they will be stuck in a deadlock until one gets a timeout.
Modifications

Get the topic policy before loading.

Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Codecov Report

Merging #21445 (3bda31b) into master (eebd821) will increase coverage by 0.01%.
Report is 2 commits behind head on master.
The diff coverage is 94.33%.

@@             Coverage Diff              @@
##             master   #21445      +/-   ##
============================================
+ Coverage     73.23%   73.24%   +0.01%
+ Complexity    32674    32648      -26
============================================
  Files          1892     1892
  Lines        140632   140645      +13
  Branches      15467    15467
============================================
+ Hits         102986   103010      +24
+ Misses        29565    29519      -46
- Partials       8081     8116      +35

Flag
Coverage Δ

inttests
24.14% <69.18%> (-0.03%)
:arrow_down:

systests
24.86% <64.77%> (+0.13%)
:arrow_up:

unittests
72.52% <94.33%> (-0.02%)
:arrow_down:

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

Files
Coverage Δ

.../service/SystemTopicBasedTopicPoliciesService.java
73.10% <60.00%> (-1.13%)
:arrow_down:

...rg/apache/pulsar/broker/service/BrokerService.java
80.89% <95.45%> (-0.04%)
:arrow_down:

... and 89 files with indirect coverage changes


wget doesn't work on ChromeOS v64

wget seems to have been removed in recent versions of ChromeOS which makes the install docs incorrect
I had to run the following command to install:
. <( curl -s https://code.headmelted.com/installers/chromebook.sh )

sudo su -
dev_install
emerge net-misc/wget

the wget command needs to be replaced to curl -L https://goo.gl/fd3zc --output crouton;

After your lines of code with curl, the console shows at the beginning of the downloads :
Warning: Failed to create the file crouton: Read-only file system
How can i disable this read-only access ? Thanks !

Any update on this issue?
I don't know if it's related but the install fails for me without error message even after having installed wget (I have Chrome OS 65 in a Toshiba Chromebook 2 with the newest firmware)

I don't know if this can help or if it's not related chroot: failed to run command '/prepare.sh': Exec format error

I'm reworking the scripts right now to support ARM updates and the new batch of ARM64 devices.  I should mention that anyone on an ARM64 device that has Google's new Linux app support would be better installing the packages there - I'll be providing a script and instructions for this.

Any update on this?  I've tried: curl -L https://code.headmelted.com/installers/chromebook.sh | sh -i and it blows straight through the prompts without pausing for input.  Does anyone have a rendition of this that waits for prompt?

Sorry for being quiet on this, I've been working non-stop to get this
patched up and havent had a chance to look at the tickets again yet.
Will have this fixed today or tomorrow!
On Wed, Oct 17, 2018, 23:38 Pierre<EMAIL_ADDRESS>wrote:

Any update on this? I've tried: curl -L
https://code.headmelted.com/installers/chromebook.sh | sh -i and it blows
straight through the prompts without pausing for input. Does anyone have a
rendition of this that waits for prompt?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/headmelted/codebuilds/issues/40#issuecomment-430813768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKYVoH39SaV6DetuWW4Rj_SWYwTQFQgSks5ul7FhgaJpZM4Qiq-C
.

Any update on this?

Sorry for being quiet on this, I've been working non-stop to get this patched up and havent had a chance to look at the tickets again yet. Will have this fixed today or tomorrow!
…
On Wed, Oct 17, 2018, 23:38 Pierre @.***> wrote: Any update on this? I've tried: curl -L https://code.headmelted.com/installers/chromebook.sh | sh -i and it blows straight through the prompts without pausing for input. Does anyone have a rendition of this that waits for prompt? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#40 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AKYVoH39SaV6DetuWW4Rj_SWYwTQFQgSks5ul7FhgaJpZM4Qiq-C .

I installed with . <( curl --silent https://code.headmelted.com/installers/chromebook.sh ). It asked for prompts. code did not work in crosh or shell afterwards, though.
Running Version 69.0.3497.120 (Official Build) (64-bit)

sudo apt install wget
bash <(wget -O - https://thonny.org/installer-for-linux)
worked for me. I am using Chromeos v74


Add keyboard navigation to modal

Hi! At this moment user can not navigate through modal content with keyboard, which makes worse the experience of using the modal and whole project.

Thanks for the PR @mikhin ;) We'll keep you updated about it on this issue


🚀 0.2.10 release

changes included:

add telemetry for wall-clock duration (#121)
bump various runtime limits (#123)

note: once this is published, we can close #122.

:label: tag v0.2.10 has been pushed, CI is running here: https://github.com/fastly/Viceroy/actions/runs/1813827520

cc: @aturon, 4101202 and 91c7f83 polish a thankfully benign wrinkle in the release process.
we have not published any breaking changes yet, so this thankfully hasn't caused us any trouble. that said, we should nonetheless be sure to update the version of viceroy-lib depended on by viceroy when publishing new releases.

Warning: Cache service responded with [4](https://github.com/fastly/Viceroy/runs/5113894374?check_suite_focus=true#step:17:4)00 during chunk upload.
events.js:187
      throw er; // Unhandled 'error' event
      ^

Error: EBADF: bad file descriptor, read
Emitted 'error' event on ReadStream instance at:
    at internal/fs/streams.js:167:12
    at FSReqCallback.wrapper [as oncomplete] (fs.js:470:[5](https://github.com/fastly/Viceroy/runs/5113894374?check_suite_focus=true#step:17:5)) {
  errno: -40[8](https://github.com/fastly/Viceroy/runs/5113894374?check_suite_focus=true#step:17:8)3,
  code: 'EBADF',
  syscall: 'read'
}

:raised_eyebrow: i'm hoping this is a transient failure of some sort. i've clicked "re-run" for now.


feat: Add Zip streaming

#1118

Thank you! Sorry, for not responding sooner but I was out of town earlier this week. I will review this soon.

Hello @PHLAK !
I updated the review rebased on the master with the CS fixes. I ran the testing suite in my repo and everything seems OK.
There is still an issue with CS, but this issue is also present on master in the latest commit since the bumps and fixes. I'll leave that to you!

Thanks @Arno500! I have some time off coming up and was planning on getting to this then.

I've pushed some dependency updates and fixed CI. Please rebase and push the updates discussed when you have a moment and we can hopefully get this merged.

Done!

Thank you for all the hard work @Arno500!


Mix copyDirectory only once (so it never overwrites the files later after i change them)

Is it there any method to do the copyDirectory method only once? Or do i have to manually take away the line from the webpack file after i have run it once?

If the copy is a one time thing, just do it manually. Usually, you’d be copying compiled files. I’d that’s not the case, yeah remove it.


deduplicate default test set generated by rebar3 eunit

this ONLY attempts to deduplicate test sets that are generated by
rebar in the absence of any user specified tests
this closes #937

the default test set generated by rebar3 is now {application, App} for each App in the project plus any modules in test directories that do not have the same name as any app modules with _tests appended (which will be run as they are covered by {application, App). ideally, it would just include modules that have names that end in _tests but there's been at least one issue opened where the user expected all modules to be included

+1.


[Test](inverted index) add test data for inverted index p2 case #43287

cherry pick from #43287

run buildall


updateTOC

Docs Build status updates of commit 566264c:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Articles/BusinessSolutions/Life<EMAIL_ADDRESS>:white_check_mark:Succeeded

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


Adjustments in the design of sidebar cart

My comments/suggestions (in Polish):

The design:

Close comment did not register closing of this ticket


travis install and config needs cleaning up

https://github.com/informatics-isi-edu/chaise/blob/master/.travis.yml#L15-L39

[ ] References to pg 9.4 and 9.5 mixed in there. Should attempt to bump it up to 9.6 anyway.
[ ] installTravis should be dropped in favor of install
[ ] travis.yml should make sure /var/www is there, before calling make install

@hongsudt This is one of those makefile & related issues.

Let me just start a branch.


Tooltip is cropped on Bar chart if value is bigger than axis max

If max is defined for yAxis, tooltips for items which values exceed that max are not shown. On the picture below arrow indicate hovered bars. Item in the middle has value much higher than bar's max value and tooltip is not displayed.

Is there a way to make tooltips appear at the cursor position or at the bottom of hovered bar?

This is more a question related to chartjs but nonetheless I'll give my 2 cents.
Here you could find some answers. Tooltips being cutoff is a long standing issue (since the port to v.2 I believe), you can read more HERE.
The short fix is to reduce the text inside the tooltip.
The longer fix is to override default tooltips with custom ones (more HERE

@gioele-antoci , there's no problem with text inside tooltip, the problem is tooltip itself is  cut. So short fix is not applicable, unfortunately. I'm not sure, but I think overriding tooltips will not change their position.

You are having this issue, right?
Overriding the tooltips will allow you to have full control over their positioning. This may be overkill though. There are lots of workaround here: https://github.com/chartjs/Chart.js/issues/622

@gioele-antoci , no, my tooltip is cropped at the top of the graph (y-axis max is defined, so bars themselves are cut too, but that's fine).

Oh, I see. If you remove max tooltips are not cutoff? Anyway, the official chartjs rep is a better place for this convo.

@gioele-antoci , well, at least they aren't cut at the top of the graph. Not sure about sides. I'll ask about this in official repo, thanks.

If they are cut off on the right edge even after the "max" option has been taken out than it's quite likely the underlying bug is causing both issues and you could fix it in the meanwhile by applying one of those hacks proposed in the issue thread I linked :)

Closing for now. Please refer to the Chart.js documentation for questions around configuration and/or usage of the library. If you have a bug or enhancement related directly to Chart.js, please open an issue on their Github.


FSSTCompressor

Ran the compress_taxi benchmark, got ~80% slower. I am a bit surprised that the biggest culprit seems to be creating new counters in the FSST training loop. That doesn't even scale w.r.t. to the size of the input array, it's just a flat 2MB allocation. The zeroing of the vector seems to be the biggest problem. I think we can avoid that with a second bitmap, let me try that out

Alright, using the change in https://github.com/spiraldb/fsst/pull/21 helped a lot.
New benchmark result:
end to end - taxi/compress
                        time:   [100.73 ms 101.72 ms 102.96 ms]
                        change: [-45.073% -43.470% -42.057%] (p = 0.00 < 0.05)
                        Performance has improved.

Which is about 10ms or ~11% slower than running without FSST.

And I think we can go even lower, ideally we'd just use the trained compressor over the samples to compress the full array

Just bear in mind that the samples can be very small compared to data, i.e. 1024 elements. I would say just retrain it

Ok I've done a few things today

Introduced a way to reuse compressors in our samplingcompressor code
Keep tweaking some things on the FSST side, including matching how the paper author's sample the full input, and tried to reduce memory accesses/extraneous instructions as much as possible (in draft at https://github.com/spiraldb/fsst/pull/24)
I'm trying to run some comparisons against the C++ code. Here's a screenshot comparing a microbenchmark for compressing thecomments column from the TPCH orders table (1.5mm rows) using Rust vs the C++ implementation. We seem roughly on-par with the C++ implementation here, the timings seemed consistent after several runs

Ok I added a new benchmark now which just compresses the comments column in-memory via Vortex, and i'm seeing it take ~500ms, which is roughly 2-3x longer than just doing the compression without Vortex.
I think the root of the performance difference is the chunking. Here's a comparison between running FSST over the comments column chunked as per our TPC loading infra (nchunks=192) and the canonicalized version of the comments array, which is not chunked:

So somewhere I guess there's some fixed-size overhead in FSST training (probably a combo of allocations and double-tight-loops over 0...511) that when you try and run FSST hundreds of times, they start to add up and can skew your results.
I'm curious how DuckDB and other folks deal with FSST + chunking, it seems like we might want to treat it as a special thing that can do its own sampling + have shared symbol table across chunks

I'm currently blocking this on some work in https://github.com/spiraldb/fsst/pull/24

Currently 59% of fsst_compress time is spent actually compressing, we break out of the fast loop to do push_null and data copying. Something to improve on in flup


Win 11 missing

Windows 11 is missing from this article.  Is there plans to include it?

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

ID: acc677c5-4514-fb8b-a864-4edd711d6f44
Version Independent ID: 1e3dbf59-48d4-2696-ad8a-7f9cb60871ec
Content: Use the sync app on virtual desktops - OneDrive
Content Source: OneDrive/sync-vdi-support.md
Service: one-drive
GitHub Login: @mkbond007
Microsoft Alias: mabond

Thank you for submitting feedback.
I think the best way forward is if you open a service ticket in your tenant so this can get resolved ASAP. Based on the outcome let me know if it is something that can be called out in the docs.
Please follow this link to contact support for business products:https://docs.microsoft.com/office365/admin/contact-support-for-business-products
Please keep us posted here on the resolution so we can feed whatever information you discover into the content.


Typescipt Error : Property 'data' does not exist on type 'EventRecord'.ts(2339)

this snippet of code that is found on the  https://polkadot.js.org/docs/api/cookbook/tx#how-do-i-get-the-decoded-enum-for-an-extrinsicfailed-event will fail in TS using the latest stable and beta version of the api:
api.tx.balances
  .transfer(recipient, 123)
  .signAndSend(sender, ({ status, events }) => {
    if (status.isInBlock || status.isFinalized) {
      events
        // find/filter for failed events
        .filter(({ event: { section, method } }) =>
          section === 'system' &&
          method === 'ExtrinsicFailed'
        )
        // we know that data for system.ExtrinsicFailed is
        // (DispatchError, DispatchInfo)
        // >>>> here it will be ERROR: Property 'data' does not exist on type 'EventRecord'.ts(2339)
        .forEach(({ data: [error, info] }) => {
          if (error.isModule) {
            // for module errors, we have the section indexed, lookup
            const decoded = api.registry.findMetaError(error.asModule);

           // >>>>>  and here Property 'method' does not exist on type 'RegistryError'.ts(2339)
            const { documentation, method, section } = decoded;

            console.log(`${section}.${method}: ${documentation.join(' ')}`);
          } else {
            // Other, CannotLookup, BadOrigin, no extra info
            console.log(error.toString());
          }
        });
    }
  });

It seems there are plenty of changes and no way of getting the error from the ExtrinsicFailed event.
Unless there is an bug in the code and the line  .forEach(({ data: [error, info] }) => { should look like  .forEach(({event: { data: [error, info] }}) => { or nicety written :
.forEach(({ event }) => {
  const { data } = event;
  const [error, info] = data;

  // >>>> Error : Property 'isModule' does not exist on type 'Codec'.ts(2339)
  if (error.isModule) {
    // for module errors, we have the section indexed, lookup

    // and when the ^^ is resolved
    // >>> Error: Property 'asModule' does not exist on type 'Codec'.ts(2339)
    const decoded = api.registry.findMetaError(error.asModule);
    // ERROR:  Property 'method' does not exist on type 'RegistryError'.ts(2339)
    const { documentation, method, section } = decoded;

    console.log(`${section}.${method}: ${documentation.join(" ")}`);
  } else {
    // Other, CannotLookup, BadOrigin, no extra info
    console.log(error.toString());
  }
});

in which case it will throw more errors and not being able to compile. currently i am using the terrible trick error['isModule'] which i don't like and i hoped to see it fixed in the v2.
Test repo is here https://github.com/woss/test-polkadot-api

thanks for the answer, it seems that the dispatchError is now typed in api v3.0.1. i will upgrade my packages and report back if there is something off. thanks again

Closing.

Closing.


Click on SVGView not working

I'm using the SVGView in a NSTableView and a NSOutlineView. Selecting by clicking on the row is working, but the row is not getting selected, when pressing on the SVGView.

The problem is, that the NSClickGestureRecognizer delays the events. So if the tap is recognized and doesn't fail, the mouse click is not sent to the view. See https://developer.apple.com/documentation/appkit/nsclickgesturerecognizer
I don't really understand (yet), what you're doing with the TapRecognizer, but can we set the delaysPrimaryMouseButtonEvents to false? If so, the above written problem works.

So I checked the code and that's, what I've found out and what I suppose as the solution:

In the MacawView you install all the GestureRecognizers in initializeView.
If the self.node in the view doesn't have any handlers for the gestures (for example a tapHandler), the gesture action will only return
There is the problem: The click is recognized and will be send to the tapHandler, but nothing happens (only return) and because the recognition didn't fail, cocoa cannot handle the click.

My suggestion:
If there is no handler, I would do the following:
In MacawView I added the following code to open var node: Node = Group() { ... didSet {
didSet {
    nodesMap.add(node, view: self)
    // remove TapRecognizer, if there is no TapHandler
    if node.tapHandlers.count == 0 {
        self.gestureRecognizers = self.gestureRecognizers.filter { !($0 is MTapGestureRecognizer) }
    }
    self.renderer?.dispose()
    ...

You're right. I just ran into this problem, as I set a TapHandler ;) It's really a headaching problem... The best way would be to add a GestureRecognizer just in that case, that it's added to the Node, but in this case you don't have access to the MacawView.
My actual workaround is now, that I call the removeGestureRecognizers() on all SVGViews in my OutlineView. Luckily, this function is not private :)

Hello Lupurus,
It's been a while, sorry. In case you are still interested, could you please provide your code, where we could see the bug? I tried putting some SVGViews in cells of a table, but didSelectCellForRow is working fine when clicking on them

Closing this issue once we can't reproduce it. Please reopen it with a sample if necessary.

Hi Lupurus you just meet the issue in the Macaw and now , i meet the problem like you and  the problem is that i use  the NSView and NSOulineView . i add the gusture even in the nsview , NSClickGestureRecognizer delays the events but  the event could be delay . i dont know why


Change key downloads to avoid trying to access p property on undefined

Closes https://github.com/seiya-npm/hls-download/issues/9
A little foggy on how this is supposed to work but this seems to fix it (not sure if there was an advantage to inspecting the promises one at a time and removing..?
I think what was happening is the key wasn't aligned to the thread batch size (10) so it failed to download the key on the second batch since the method didn't return anything when it expected a promise to come back

Thanks!


E2E authz/n + authentication design

We need to create a holistic design for system and user level authentication / authorization and encryption.  Below are some high level notes:
System level:

Need to generate all these for each system before initial deploy

Automatically called by Ansible before first deployment
Where will keys be stored?

Consul

TLS (Self signed)
Gossip

Mesos frameworks and principals

Slaves to Master
Marathon to Mesos

ZooKeeper

ZK auth
stunnel

User level:

OS users

Admin role

Mesos ACL

Admin role
User role

Marathon user auth

User role

Consul

User role

read only (Nginx HTTP GET)

How will we expose all of this:

Options

REST API
CLI (that consumes the REST API)
Not API (go straight to Consul)

Comments on Steve's new security document:

Overall the new security doc looks great.

Generally speaking how do you feel about our ability to secure the platform against unauthorized remote execution?  You might add a little commentary in this area.

"Disable consul exec (version 0.2)”: It might be good to add your reasoning to the doc. Perhaps we make it simple to enable/disable consul exec via a parameter exposed in Ansible/Terraform?  I was imagining some powerful use cases for consul exec in the future but I also struggle with the power to do harm at scale since the process runs as root.

Do you want to create new issues for each of the 0.2 security enhancements not yet implemented to track progress?

From what I see the main vectors to running tasks are the mesos leaders, marathon (and any other unsecured frameworks), docker http client and consul exec. I think we can reasonably lock those down for uses behind a firewall. Mesos probably has the weakest controls now, we can put nginx in front of the others and disable consul exec.

For consul exec, I don't really understand the security model around it yet, which is one of the reasons we want to disable it until https://github.com/hashicorp/consul/issues/532 is remediated.

We'll add issues for the fixes that we need to add.

I'm going to close this issue since we will be merging dev-0.2 in to master any day.  We can iterate on security design documentation as needed going forward. Great job Steve!


WIP: New connect API

Fixes #1.
This is a work-in-progress implementation of a new connect API. It's exposed as UNSTABLE_connect2 right now.
The new API looks like this:
UNSTABLE_connect2(
    mapStateToProps,
    mapDispatchToProps
)

mapStateToProps is a function that accepts the store's state and can either:

return a table containing props to merge
return a function that will be used as an instance-specific mapStateToProps. This is supported by react-redux and necessary to make selectors like Reselect work correctly.

mapDispatchToProps receives the Store's dispatch function. It is only invoked once.

Coverage decreased (-4.3%) to 89.172% when pulling 45f08e64a5021520959fdaa855bbb26b51fbcc29 on new-connect-api into 9f990d299df5e6caa77a76d430fe9b1ade4c2d47 on master.

Still need a lot more test coverage since this API is sort of the linchpin of the entire project.

Just slightly important, yes!

There should be 100% coverage in the new connect2 implementation, reopening to make Coveralls check again!

Ready to go for final review!


Reduce Glyph Storing Size

Hi,
I just saw how the Font Glyphs/Symbols are stored and I can see that there is loads of Flash memory it's been wasted.
This is because for every Glyph/Symbol we store every pixel within its height. No matters if it is useful information or not:

When I have been working with glyph storing, baseline concept has been taken into account. Where baseline stands for the difference between the height 0 and the first row with any non-zero pixel starting to count from bottom.
I think LittlevGL should include this concept and get rid of loads of 0x00 useless bytes. So, for the two characters shown above, they would be stored like this:

If this new concept is included several changes should be done:

Tools to get fonts.
Update font files.
Add new baseline parameter to structure lv_font_glyph_dsc_t.
Writing glyphs/symbols functions.

Let me know what you think about this idea!

As far as i understand, you mean ascent. I'd suggest to dig fontkit's renderer, because real fonts keep much more info. I don't beleive single accent will solve all your "problems".

What other problems do we have?

Since started experimenting with lv_font_conv, i can now give you one of examples.
See image at https://graphicdesign.stackexchange.com/a/8964/72488
Symbols like Ć, (, ), often can exceed ascent (box top) or descent (box bottom). For example, you may have font 16 pixels heigh, but couple of glyphs 17-18 pixels height.
In this case font header must contain additional info - maxHeight and minHeight, to check draw area.
PS. Encoding larger glyphs should not be difficult - allow glyphs optionally have metadata with [xOffset, yOffset, customHeight].

@puzrin Do you still need some calculations about RLE savings, selecting the best algorithm for each glyph? I think I could have them by the end of this week.

@beibean not necessary, only if you wish

@puzrin In that case I won't do the calculations. If you need it at any point, don't hesitate to ask for it 😉

https://github.com/littlevgl/lv_font_conv/ has working reader/dumper in dev

Reader PROPERLY extract glyphs. Font size XXX gives the same result as in browser. If multiple fonts merged, those are aligned by baseline.
Images are "floating" - can exceed expected fontHeight*advanceWidth.
Dumper draws glyphs and show overflows with red background.

Now anyone can quickly analyse source fonts and start experimenting with store/compression.

Is this issue still needed?

General approaches are in https://github.com/littlevgl/lvgl/issues/995
Technical details about compressions summarized in https://github.com/littlevgl/lv_font_conv/issues/8

As an additional reference: New Font API: #1006
As "font cropping" will be part of the new fonts I close this issue.
Thank you very much the contribution and the very interesting conversation here.


fix: Handle DBAL3 Exception in ConnectionProcessor

@pvgnd as I just merged the PR replacing Travis with GitHub Actions for the CI, could you rebase your branch so that the CI runs the tests ?

@odolbeau hi! Can you please release this :pray: ?

Or maybe you @stof?


Bug or strange issue with Firefox 48

Since today I upgrade from FF 47 to FF48.0.2 under Windows 7 64 and I have a strange issue:
My F12 shortcut no longer work :interrobang:
I googled to see if there was some change and did not find anything in the release notes.
As soon I disable Firebug 3 beta 3 and use the FF devtools the F12 shortcut is back.
I tried also on 3 different profile to be sure and it was the same results on all 3.
Could you enlighten me on what can happen or trigger this issue ?
Best Regards ! :smile_cat:

@janodvarko @fflorent
I found a way to replicate the issue:

Install fresh new FF48.0.2
Install Firebug 3 beta 3
Press F12 Everything should work fine at this point.
Install a new Firefox addon like Greasemonkey or "Restart addon" (https://addons.mozilla.org/fr/firefox/addon/re-start/)
Restart Firefox
Press F12 = Nothing happen, No dev tools.
Remove the addon you've added previously.
Press F12 = Nothing happen, No dev tools.
Remove the Firebug
Press F12 = Dev tools open like it should.

Something corrupt the F12 shortcut when we install a new addon with Firebug 3 beta 3. After the corruption happen even if you remove all addons and reinstall Firebug the F12 shortcut don't work no more ? :cry:
Do you have some clue about what happen  :question:


Updated storage-security-guide.md

Added note for metadata encryption

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

@tamram Let me know your views on the proposed change

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

@maamleka - Thanks for making this change.
#sign-off


feat: Verify provenance by build type

Fixes #600
Fixes #599
Fixes #473

Updates handling of provenance by providing implementations based on buildType since this determines how to interpret parameters and dependencies.  This is done because we need a way to interpret parameters not just based on the predicateType. The 3 major build types with format differences are:

non-BYOB SLSA v0.2
BYOB SLSA v0.2
BYOB SLSA v1.0

Pulls source branch/tag from the dependencies URI (materials or resolvedDependencies). This means that --source-branch and --source-tag will not work if provided because the ref is not included in the source dependency URI if a different sha is provided from the triggering sha.

Blocked on https://github.com/slsa-framework/github-actions-buildtypes/issues/4

This should support BYOB TRW generated binaries w/ verify-artifact.


Remove bindings to authority names when checking the necessary permissions in control smart-contract

When checking the necessary authority, smart-contract must perform a check for the presence of a active-authority with require_auth function. This gives user, whose authority is required to perform the action, to flexibly configure the minimum level of authority for this action using the eosio:linkauth action.

#303


Timing out

For some reason it began timing out starting last night. It first displays the message, "Converting... It may take several minutes when you convert a large font." Eventually it times out and displays the error message "Worker time out."
This may obviously be a server issue, but I thought I'd bring it to your attention nonetheless. That is, if anyone still monitors this project page.

Sorry for the late response. Is it possible to provide the font you tried to convert? Looks like this is a bug in the app. This app doesn't communicate with servers while converting a font.

Sorry for the late response. Is it possible to provide the font you tried to convert? Looks like this is a bug in the app. This app doesn't communicate with servers while converting a font.

For some reason it's happened with all of my font files that I've been trying to convert recently, so I haven't even tried any more as of recently :/ However, I just tested another one, and same issue. If you provide me with your email address, I'll send it over. Or can I just reply to the email notification that Github sent me?

My email address is in package.json. Could you also tell me which browser you used?

My email address is in package.json. Could you also tell me which browser you used?

k i just sent you an email. im AJ

I think I configured a third-party library wrongly. I pushed a new config. Could you visit https://kombu.kanejaku.org/ and do a force reload (Shift + F5), then try to convert a font? Let me know if it still doesn't work.

I think I configured a third-party library wrongly. I pushed a new config. Could you visit https://kombu.kanejaku.org/ and do a force reload (Shift + F5), then try to convert a font? Let me know if it still doesn't work.

ok, its working now. but now its forcing me to give all the files a name instead of simply assuming the old filename with the new file extension??

Thank you for the feedback. As of 0.1.5 I started using a new API that allows us to use native file chooser but it doesn't support default name for saving files yet (https://github.com/WICG/native-file-system/issues/80).
Probably better to revert the change and I'll work on this when I have time. For now can use Firefox/Safari/Edge to work around the problem. These browser don't support Native File System API. Currently Chrome is the only browser which supports the API.

Fix is up. Please let me know if something goes wrong. you may need another force reload.

Fix is up. Please let me know if something goes wrong. you may need another force reload.

Beautiful. Everything is up and running as normal again.
What is the benefit of using the Native File System API over how you were doing it before?

Thank you for the confirmation. The API gives us more powerful control over files, e.g., selecting a folder to download. The main motivation was that I just wanted to try the API :)

Thank you for the confirmation. The API gives us more powerful control over files, e.g., selecting a folder to download. The main motivation was that I just wanted to try the API :)

One last thing. I'm building an Electron app that uses file system. Do you mind pointing me to the documentation? Is this what you're talking about?

It seems related, but not really. I'm talking about https://web.dev/native-file-system/. These APIs are new and I'm not sure these are available on Electron yet.

It seems related, but not really. I'm talking about https://web.dev/native-file-system/. These APIs are new and I'm not sure these are available on Electron yet.

Oh, yeah, damn it's really new eh. Thanks a bunch <3


Release Google.Cloud.Billing.Budgets.V1Beta1 version 1.0.0-beta03

Changes in this release:

Commit 4f20acd:

feat: Added support for configurable budget time period.
fix: Updated some documentation links.

Commit ab48b2b: docs: Update rules for currency_code in budget_amount.

Created release for Google.Cloud.Billing.Budgets.V1Beta1-1.0.0-beta03


reenable coverage, fix missing coverage

only introduced one branch not covered by tests during the three weeks with disabled coverage at least ^^
Accidentally removed in #99

Getting it to work post-filesplit without --devel was surprisingly tricky.
I found https://github.com/pytest-dev/pytest-cov/issues/98 and needed to both add a tests/__init__.py and add a [coverage:paths] section.

I suppose this is a marginal reason to run coverage outside of GH tasks and have a fancy badge in the readme, hah


Issue with SA on DO cluster

When installing with the flux (it uses Helm inside) to DO cluster I got
E0825 12:41:33.463095       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1.CertificateSigningRequest: failed to list *v1.CertificateSigningRequest: certificatesigningrequests.certificates.k8s.io is forbidden: User "system:serviceaccount:kafka:kafka-operator" cannot list resource "certificatesigningrequests" in API group "certificates.k8s.io" at the cluster scope
E0825 12:41:34.737808       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1.CertificateSigningRequest: failed to list *v1.CertificateSigningRequest: certificatesigningrequests.certificates.k8s.io is forbidden: User "system:serviceaccount:kafka:kafka-operator" cannot list resource "certificatesigningrequests" in API group "certificates.k8s.io" at the cluster scope
E0825 12:41:37.061304       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1.CertificateSigningRequest: failed to list *v1.CertificateSigningRequest: certificatesigningrequests.certificates.k8s.io is forbidden: User "system:serviceaccount:kafka:kafka-operator" cannot list resource "certificatesigningrequests" in API group "certificates.k8s.io" at the cluster scope
E0825 12:41:43.276426       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1.CertificateSigningRequest: failed to list *v1.CertificateSigningRequest: certificatesigningrequests.certificates.k8s.io is forbidden: User "system:serviceaccount:kafka:kafka-operator" cannot list resource "certificatesigningrequests" in API group "certificates.k8s.io" at the cluster scope
E0825 12:41:55.490328       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1.CertificateSigningRequest: failed to list *v1.CertificateSigningRequest: certificatesigningrequests.certificates.k8s.io is forbidden: User "system:serviceaccount:kafka:kafka-operator" cannot list resource "certificatesigningrequests" in API group "certificates.k8s.io" at the cluster scope
E0825 12:42:08.964262       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1.CertificateSigningRequest: failed to list *v1.CertificateSigningRequest: certificatesigningrequests.certificates.k8s.io is forbidden: User "system:serviceaccount:kafka:kafka-operator" cannot list resource "certificatesigningrequests" in API group "certificates.k8s.io" at the cluster scope
E0825 12:42:56.806570       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.3/tools/cache/reflector.go:167: Failed to watch *v1.CertificateSigningRequest: failed to list *v1.CertificateSigningRequest: certificatesigningrequests.certificates.k8s.io is forbidden: User "system:serviceaccount:kafka:kafka-operator" cannot list resource "certificatesigningrequests" in API group "certificates.k8s.io" at the cluster scope

It is very weird because
kubectl auth can-i list certificates/certificatesigningrequests --as='system:serviceaccount:kafka:kafka-operator'
yes

kubectl cluster-info
Kubernetes master is running at https://bfcefe4b-afa4-423a-9f6b-a8bfa2034092.k8s.ondigitalocean.com
CoreDNS is running at https://bfcefe4b-afa4-423a-9f6b-a8bfa2034092.k8s.ondigitalocean.com/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy

To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.

kubectl version
Client Version: version.Info{Major:"1", Minor:"19", GitVersion:"v1.19.3", GitCommit:"1e11e4a2108024935ecfcb2912226cedeafd99df", GitTreeState:"clean", BuildDate:"2020-10-14T18:49:28Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.2", GitCommit:"faecb196815e248d3ecfb03c680a4507229c2a56", GitTreeState:"clean", BuildDate:"2021-01-13T13:20:00Z", GoVersion:"go1.15.5", Compiler:"gc", Platform:"linux/amd64"}

helm list -n flux-system
NAME                	NAMESPACE	REVISION	UPDATED                                	STATUS  	CHART                	APP VERSION
kafka-kafka-operator	kafka    	1       	2021-08-25 12:02:51.631584948 +0000 UTC	deployed	kafka-operator-0.4.10	v0.18.0

The fix was easy:
applying of
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: kafka-operator-cluster-admin
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
- kind: ServiceAccount
  name: kafka-operator
  namespace: kafka

Thanks for opening an issue for this @gecube !
My guess is that it's related to our CSR support (#645).
In that PR we introduced the following new RBAC entries in charts/kafka-operator/templates/operator-rbac.yaml and config/base/rbac/role.yaml:
- apiGroups:
  - certificates
  resources:
  - certificatesigningrequest
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch

As it is shown in your error logs, the resource's correct name is certificatesigningrequests.certificates.k8s.io, and that means that the apiGroup's name is certificates.k8s.io and not certificates.
@baluchicken @bartam1 can you verify this is indeed that case?
If it is, then the fix should be relatively easy and we can carry out this in a few days.

@adamantal Hi! Thanks for you fast response.
To be honest I tried different RBAC settings, for instance, I tried:
- apiGroups:
  - certificates.k8s.io
  resources:
  - certificatesigningrequest
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch

and no success :-( Probably I am not so good in Kubernetes RBAC, so I written down the environment, how it to reproduce and came here to discuss what's going on.

Hi @gecube,
I was able to reproduce your error, even with the RBAC you mentioned in your last comment. Fortunately I managed to trace down the problem, and the following RBAC setting actually worked for me:
- apiGroups:
  - certificates.k8s.io
  resources:
  - certificatesigningrequests
  verbs:
  - create
  - delete
  - get
  - list
  - patch
  - update
  - watch

(please notice the s letter and the end of the certificatesigningrequest string).
It was a bit tedious, but found out that this is the issue: you have to specify the resources in plural. I will make a pull request to fix this tomorrow. Thanks again for helping figuring out this problem.

@adamantal Thanks for your research and for your fast response. I think that also we need to make changes in e2e test, because they may allow to find such kind of a bug before releasing the helm chart. Also I will wait for PR and update the Helm when it will be available... Again - thank you very much for you kindness and help. And best wishes from Moscow :-)

I have a draft PR for this, let me test and merge this: #657

@gecube @laukik85 The PR with the fix has been merged, let me know if you've had the time to test it.

@adamantal Thanks for update. I tested fix by reinstalling operator having version v0.18.0 and v0.18.1 and facing same issue.
*v1.CertificateSigningRequest: failed to list
*v1.CertificateSigningRequest: certificatesigningrequests.certificates.k8s.io is forbidden: User "system:serviceaccount:kb:kafka-operator" cannot list resource "certificatesigningrequests" in API group "certificates.k8s.io" at the cluster scope

@adamantal - My bad. I have tried with latest helm chart and issue fix looks good. Thanks,

Thanks for clarification! Good to hear it works now.


Resource requirements for build_rmis_dna.sh

What are the resource requirements for the build_rmis_dna.sh script:

Threads/cpus (1?)
Memory
Approx runtime

In my Intel(R) Xeon(R) Gold 5220R CPU @ 2.20GHz  machine.
It uses 1 thread, maximum 61GB of resident memory, about 15 min to finish RMI training.
I am not sure about the maximum resident memory, as train code uses mmap to load training data into memory (which should be the most of the resident memory).
Please let me know if you need an accurate number for memory usage.


How is it different from botorch?

Just curious? It looks like botorch can cover bofire?

Hi @pswpswpsw,
you are correct, BoFire's Bayesian optimization capabilities are based on BoTorch. Whereas BoTorch is a more low level highly modulay library for Bayesian optimization, BoFire is a more user friendly high-level library (comparabely to Meta's Ax) tailored towards chemical and engineering problems. It is easy to setup complex multiobjective optimization problems, using custom surrogates and use them for optimization over mixed domains including equality, inequality, NChooseK and other constraints. Furthermore, BoFire is based on pydantic and is fully serializeable and can be easily deployed behind a FastAPI. For more information, just have a look at our recent paper: https://arxiv.org/abs/2408.05040
In addition, we offer classical DoE approaches, like D-optimal designs.
Best,
Johannes


Recognise Sieve scripts with ‘.sieve’ file extension

Vim recognises files ending in .siv as Sieve scripts. However, the
Sieve RFC has been updated (replaced actually), and now both .siv and
.sieve are acceptable file extensions. See RFC 5228,
https://tools.ietf.org/html/rfc5228.html#section-7.
This change modifies filetype.vim to detect Sieve scripts ending in
.sieve.

Thanks, I'll include it and also update the filetype test.


request for more pivot examples

Good evening.
Are there any pivot examples out there that show how to:

hide column axis attribute name labels (pvtAxisLabel) (e.g., if you were displaying years as the column headings, not to show the word "year" only the actual year values)

customize the sorting to sort by hidden sort_key fields (type integer)

utilize the getColKeys() and getRowKeys() to get the attribute values

Thank you!
Gretchen

@nicolaskruchten I'm very interested in adding sparklines. Any guidance of how to do this or a skeleton (existing even?) aggregator which would be good to work off for a sparkline to the right of the pivot()? (My data is similar to screenshot above and I am looking to replace "Totals" (which I've hidden using CSS) with a sparkline
All the aggregators I've written so far are for the data cells, not a new column to the right of the data cells.
Thanks so much!

To replace the 'totals' column with a sparkline, my recommendation would be to write a bit of Javascript which would execute after the Table Renderer has rendered (i.e. run it from the onRefresh() callback) which would use http://omnipotent.net/jquery.sparkline/ to create a sparkline from the data which would be extracted from the table.

Ok great. That's close to what I did except since I was using pivot and not pivotUI I created the spark lines after initialization and not on refresh.
Would you want a PR for an example of this?
Mark
--
Mark Silverberg
(m)<PHONE_NUMBER>
http://twitter.com/skram

On Jul 5, 2015, at 9:24 PM, Nicolas Kruchten<EMAIL_ADDRESS>wrote:
To replace the 'totals' column with a sparkline, my recommendation would be to write a bit of Javascript which would execute after the Table Renderer has rendered (i.e. run it from the onRefresh() callback) which would use http://omnipotent.net/jquery.sparkline/ to create a sparkline from the data which would be extracted from the table.
—
Reply to this email directly or view it on GitHub.

Sure, I'd be curious to see what it looks like! Are you able to use one of the example datasets I already have in the repo, perhaps the Montreal weather data?


[Visual Studio Code Project Manager] Update build identifier for Codium.

Description

Based on changes in VSCodium/vscodium#1227, this updates to the correct darwinBuildIdentifier for VS Codium. Without this change Finder is opened when trying to open in Codium.

Relates to: VSCodium/vscodium#1227

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

We should maybe ensure that older versions of VSCodium still work. This obliterates the old build name.
Should we consider adding it as an array instead so there can be multiple bundles?

Should we consider adding it as an array instead so there can be multiple bundles?

I considered that, but couldn't settle. I think what may be best is add another option. So, in lieu of VSCodium, have both VSCodium < 1.70 and VSCodium with the new value.


[Doc Update] Update Documentation of OAuthTokenGenerator extension point and Self-contained accesstoken

https://docs.wso2.com/display/IS570/Self-contained+Access+Tokens
https://docs.wso2.com/display/IS570/Extension+Points+for+OAuth#ExtensionPointsforOAuth-OAuthTokenGenerator
In these above documents related to OAuthTokenGenerators, the following issue was found.
Once the custom OAuthTokenGenerator added in the identity.xml file, we need to configure the relevant token Issuer in identity inbound Authentication configurations under service provider configs
So now we have to go to the service provider> Inbound Authentication Configuration > OAuth/OpenID Connect Configuration > Token Issuer and select the Token Issuer configured.
Without adding that configs in service provider, the changes in the token issuer will not be reflected for the service provider.
This need to be added in the document.

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Upgrade to Postgres 15

Postgres 15 was released on 13th October 2022:
https://www.postgresql.org/support/versioning/
Fixes #509

iirc we need to be careful as it might not be available on all distros. Older PHP dockerfiles currently target older ubuntu releases. Can you check and make sure it's available on all of them?

Sure, I will check that later.

I checked with Laravel 9 and PHP 8. And it works without any problems (fresh laravel application)!
Since Postgres uses its own Dockerfile and is included using docker compose they are not necessarily using the same ubuntu base image. So there should be no problem.


feat(select) Support a compareWith property

I'm having an issue when using the sui-select component that the selected object that I'm binding to and the list of options are not coming from the same source (even though they are the same objects) and therefore are different instances of the same objects.
Angular fixes that by having a compareWith property that allows to pass a method that will be called to compare to objects for equality. See https://angular.io/api/forms/SelectControlValueAccessor#caveat-option-selection
It would be very useful to have that behavior reproduced in the sui-select component. Or maybe there is a workaround that I'm not aware of?

I've found out the bug with comparing options. You can fix it by editing already complied file node_modules/ng2-semantic-ui/dist/modules/select/classes/select-base.js
change this
return options.find(function (o) { return value === _this.valueGetter(o) });
to this
return options.find(function (o) { return JSON.stringify(value) === JSON.stringify(_this.valueGetter(o)) });


[FLOC-3669] Loopback acceptance tests in Jenkins

Run acceptance tests against loopback backend... hopefully. Theory is new Jenkins builds will appear.

This is excellent.
I love the idea of being able to more quickly run acceptance tests. Quickly running endtoend tests should drastically increase my speed of development.
New tests appear to exist and be passing on Jenkins. Please add a comment about why we are lumping all acceptance tests together for the loopback runs and then merge.
Thanks!


Casting to NUMERIC from TEXT returns wrong results

CrateDB version
5.8.1 / 5.8.2
CrateDB setup information
3-node CrateDB Cloud Cluster

[!WARNING]
Only happens in multi-node environments

Problem description
Casting to NUMERIC from TEXT returns wrong results
This seems to be similar to: https://github.com/crate/crate/issues/15279
Steps to Reproduce
DROP TABLE IF EXISTS t01;
CREATE TABLE t01 (txt TEXT);

INSERT INTO t01
VALUES ('22.10'), ('22.20'), ('22.40');

REFRESH TABLE t01;

SELECT
  txt,
  txt::DECIMAL,
  CAST(txt AS DECIMAL)
FROM
  t01;

Actual Result

(multi-node)
Expected Result

(single-node)
Workaround
Unfortunately there doesn't seem to be a trivial workaround, without lose of precision (e.g. casting to DOUBLE)
SELECT
  txt,
  txt::DOUBLE,
  CAST(txt AS DOUBLE)
FROM
  t01;

It looks like a bug in the Streamer implementation for NumericType.  This fails:
    @Test
    public void test_decimal_value_streaming() throws IOException {
        BigDecimal expected = NumericType.INSTANCE.implicitCast("20.24");
        BytesStreamOutput out = new BytesStreamOutput();
        NumericType.INSTANCE.writeValueTo(out, expected);
        StreamInput in = out.bytes().streamInput();
        BigDecimal actual = NumericType.INSTANCE.readValueFrom(in);
        assertThat(actual).isEqualTo(expected);
    }

org.opentest4j.AssertionFailedError:
expected: 20.24
 but was: 2024

If we use a NumericType with a defined scale and precision (i.e. replace NumericType.INSTANCE with new NumericType(10,2)) then the test passes.

So for a workaround you should be able to cast using a specific scale and precision: SELECT txt::NUMERIC(10,2)

@proddata Thank you for reporting. The fix will be released with the next 5.8.4 hotfix release.


set bitrate not effected

public String compressVideo(String videoFilePath, String destinationDir, int outWidth, int outHeight, int bitrate)
use this method with defaultWidth & defaultHeight&mybitrate,but mybitrate not work,the video was not be compressed.how could i have the compressed video with defaultWidth&defaultHeight Only by change de bitrate?

Having the same problem ...Custom Bitrate doesnt work.....keeps the video size same as before if custom bitrate is passed ... !!!!

This is the line, which causes the compression to fail, if we pass the same dimension of the origin with a custom bitrate.
https://github.com/Tourenathan-G5organisation/SiliCompressor/blob/7f359f37cc569082706f05f272a5761e4f6baa59/silicompressor/src/main/java/com/iceteck/silicompressorr/videocompression/MediaController.java#L347


[Class hierarchy]Hofbauer cell CL:0000235 is a tissue resident macrophage

CL term
Hofbauer cell CL:0000235
Suggested revision of class hierarchy
It should appear under tissue resident macrophage.
Thomas JR, Naidu P, Appios A, McGovern N. The Ontogeny and Function of Placental Macrophages. Front Immunol. 2021 Oct 21;12:771054. doi: 10.3389/fimmu.2021.771054. PMID: 34745147; PMCID: PMC8566952.
Quote from paper: "Hofbauer cells (HBC) are a population of tissue-resident macrophages found within human placental villi. These cells appear very early during development and have been identified at day 18 post-conception (1, 2). HBC are the only significant immune cell population found within the normal healthy human placenta."

Thank you, @emquardokus. I agree that it should be a tissue-resident macrophage. Moreover, I think it should be 'part of' 'chorion membrane' (not chorionic villi, as it is a species unspecific term).

Hi @emquardokus,
This term has few issues. The definition provides from wikipedia, which is not referenced, and it is outdated and human specific. It also does not reflect the new axioms. Do you agree with the following edits?
Current definition:

Oval eosinophilic histiocytes with granules and vacuoles found in placenta, which are of mesenchymal origin, in mesoderm of the chorionic villus, particularly numerous in early pregnancy.

Proposed definition

A tissue-resident macrophage that is part of the placenta. A Hofbauer cell expresses high levels of growth factors and metalloproteinases that support vasculogenesis, angiogenesis, branching morphogenesis and tissue remodeling.

PMID:34745147
PMID:30498493
PMID:35438172
And add the following comment:

Hofbauer cells are an heterogenic group of macrophages that resemble M2-like cells. Initially described in chorionic villi in humans, a Hofbauer cell is now often used to describe any fetal derived placental macrophage that resides within the placental villous core, amnion, and chorionic lavae.

PMID:30498493
New synonym
EXACT ABBREVIATION HBC PMID:34745147

@aleixpuigb

Thank you, I will include at the end of the definition: "A Hofbauer cell  has a fetal origin and is present through pregnancy."


Fix typo

Can you please sign the CLA?

CLA check for DmytroMitin failed
Please sign the Scala CLA to contribute to Scalameta
Go to https://www.lightbend.com/contribute/cla/scala and then resubmit this pull request

I signed the CLA.


Use container annotations when creating containers

Container annotations should be used the same way as pod annotations when creating new containers. They should be also passed down to the OCI runtime.

/ok-to-test

@bart0sh - Was this a regression? I thought we already did this?

@bart0sh - Was this a regression? I thought we already did this?

So did I... but it looks like we only pass the pod annotations.. see my test case pr.

You know what... it sort of depends how you read this:
# pod_annotations is a list of pod annotations passed to both pod
# sandbox as well as container OCI annotations. Pod_annotations also
# supports golang path match pattern - https://golang.org/pkg/path/#Match.
# e.g. ["runc.com."], [".runc.com"], ["runc.com/*"].
#
# For the naming convention of annotation keys, please reference:
# * Kubernetes: https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/#syntax-and-character-set
# * OCI: https://github.com/opencontainers/image-spec/blob/master/annotations.md
when reading the Kubernetes docs it's obvious or not so obvious that by objects they mean pod and container kinds...
When reading our config doc section above on pod_annotations one could read these are wildcards for pod annotations copied to the pod and container spec.. or one could read it as wild cards for container and pod kind annotations copied to pod and container specs respectively. In hind sight it should just have been passthrough_annotations.

so... either we add an additional container_annotations for wildcarding container passthroughs... or we modify the config doc. Either way we should modify the config doc.

@mikebrow @bart0sh Why do we need to pass down "container annotations"?
There is no "container annotations" in the Kubernetes api, it is purely specified by kubelet. Why does the underlying runtime care about it? https://github.com/kubernetes/kubernetes/blob/4fec22b3e4da6034948fd684f60637171cb55561/pkg/kubelet/kuberuntime/labels.go#L108

Ah, I guess you want the device plugin annotations // Kubelet always overrides device plugin annotations if they are conflicting

@mikebrow / @Random-Liu - I vote we add a container_annotations map and clear document pod_annotations is for sandboxes, and container_annotations is for containers. There are many cases were annotations make sense as workarounds to the spec while we work on getting them upstream. For example, Kubernetes has no spec for many windows QoS settings but we can pass them down via annotations while we work on getting upstream KEP's in place.
And to be clear we only forward values: ContainerConfig.Annotations that match container_annotations in the toml.

https://kubernetes.io/docs/concepts/overview/working-with-objects/annotations/

@mikebrow - I get the intended use of annotations and that our use of annotations is against that. But the truth is there is no other way to forward key/value pairs to the OCI spec. And since a sandbox and a container are both eventually an OCI spec for a container it seems reasonable to forward all annotations that match the prefixes defined the config. Kubernetes/Kublet can strictly adhere to what annotations "should" be by setting what is acceptable in the config but other authors can experiment on their own as needed as well without a hack. I think its a win win solution.

I prefer we define well known annotation domain for device plugin annotations in kubernetes like this https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/apis/well_known_annotations_windows.go.
I'm fine with arbitrary annotation match for pod_annotations, because it is user facing, and different runtimes may want to have their own annotation domains for user facing API.
However, the device plugin annotation is just some implementation detail, I think it is possible to standardize it instead of defining arbitrary annotations.
For example, we can have something like alpha.kubernetes.io/device-plugin, and for different devices, they can do things like:

alpha.kubernetes.io/device-plugin/fpga/ocihook
alpha.kubernetes.io/device-plugin/nvidia-gpu/ocihook
...

I prefer we define well known annotation domain for device plugin annotations in kubernetes like this https://github.com/kubernetes/kubernetes/blob/master/pkg/kubelet/apis/well_known_annotations_windows.go.
I'm fine with arbitrary annotation match for pod_annotations, because it is user facing, and different runtimes may want to have their own annotation domains.
However, the device plugin annotation is just some underlying integration detail, I think it is possible to standardize it instead of defining arbitrary annotations.
For example, we can have something like alpha.kubernetes.io/device-plugin, and for different devices, they can do things like:

alpha.kubernetes.io/device-plugin/fpga/ocihook
alpha.kubernetes.io/device-plugin/nvidia-gpu/ocihook
...

@mikebrow @bart0sh does this work for you?

I really like the point of reserving Kubernetes keys, kubernetes/ k8s/ for annotations.
And for device-plugin annotations it also makes very good sense to use some-kube-domain/device-plugin/some-predefined-names/* as a pattern.

So yeah I vote we go for the win win.. reserve and support, by default, the passing of k8s & kubernetes annotation key ranges for the non-arbitrary use cases... and add the ability to specify container_annotations that can be passed through for the more arbitrary pod and container user facing annotation use cases.

@Random-Liu

Ah, I guess you want the device plugin annotations.

Correct.
as for restricting annotations to some domain I have mixed feelings. Why would we want to do that? We can filter out any unwanted annotations using container_annotations.
I'll add container_annotations usage to this PR.

I really like the point of reserving Kubernetes keys, kubernetes/ k8s/ for annotations.
And for device-plugin annotations it also makes very good sense to use some-kube-domain/device-plugin/some-predefined-names/* as a pattern.

The Kubernetes documentation mentions that kubernetes.io and k8s.io domains should be reserved to Kubernetes components. Device plugins are coming from device vendors and they are neither k8s components nor even CNCF projects. So, legally, they should not be using kubernetes.io/k8s.io domains for passing proprietary information.

The Kubernetes documentation mentions that kubernetes.io and k8s.io domains should be reserved to Kubernetes components. Device plugins are coming from device vendors and they are neither k8s components nor even CNCF projects. So, legally, they should not be using kubernetes.io/k8s.io domains for passing proprietary information.

If we go with the well-known device plugin annotation model, the annotation format will be defined as part of device plugin interface, which is a "property" of Kubernetes. Of course the device plugin itself belongs to the vendor.

Would it make sense to add filtering of container annotations in containerd only when it will be defined in Device Manager in Kubelet?

@Random-Liu thank you for the review! I've updated the PR as you've suggested. Please review and merge if you don't mind.

LGTM other than the comments.

@mikebrow @Random-Liu Thank you for the review! Updated the PR according to the review comments.


package installation and updates

We should have a section about conda and pip, maybe some other things, so students understand how to install and update packages.  Would you mind sketching out a markdown review of how these work?  Rough is fine.  You might also check and see if Launcher does this for conda.
Assigned to:  Chase and Spencer
Approx deadline:  Sep 15

I'll take care of it

I tried assigning it to both of us, but it didn't let me assign multiple people -- I'm happy to chip in. We can chat about what to cover later.

Hello,
Is it just me, or does the file not seem to run after updates to it?
Thanks,
Jooyoung
On Mon, Jul 13, 2015 at 12:39 PM, Chase Coleman<EMAIL_ADDRESS>wrote:

I tried assigning it to both of us, but it didn't let me assign multiple
people -- I'm happy to chip in. We can chat about what to cover later.
—
Reply to this email directly or view it on GitHub
https://github.com/DaveBackus/Data_Bootcamp/issues/6#issuecomment-120989155
.

You'll have to be more specific than "the file" and "not seem to run." I'm not sure how this could be related to this issue, so I suspect that it is something else? If it is something else then please file a new issue and provide more information, and if it is related to this, please describe what you mean.

I have been running the SQL_Intro file without any problems in the past. I
went back to it for review today. After selecting run all, I noticed that
none of the line items (in [ ]) had numbers in the brackets. Any time I
enter a prompt, I don't get the proper outputs.
Here's an example:
run('''
PRAGMA TABLE_INFO(sales_table)

''')

---------------------------------------------------------------------------NameError
Traceback (most recent call
last) in ()----> 1 run('''
2     PRAGMA TABLE_INFO(sales_table)      3     ''')
NameError: name 'run' is not defined
Thank you.
Regards,
Jooyoung
On Thu, Jul 30, 2015 at 2:59 PM, Chase Coleman<EMAIL_ADDRESS>wrote:

You'll have to be more specific than "the file" and "not seem to run." I'm
not sure how this could be related to this issue, so I suspect that it is
something else? If it is something else then please file a new issue and
provide more information, and if it is related to this, please describe
what you mean.
—
Reply to this email directly or view it on GitHub
https://github.com/DaveBackus/Data_Bootcamp/issues/6#issuecomment-126439959
.

Please open a new issue for new problems instead of posting in an unrelated issue.
This bug isn't relevant to this particular issue and the issues are so that we can keep track of what issues need to be taken care of in an organized fashion -- In particular, this is an issue that is related to future work that needs to be done and what you are reporting is a possible bug.
After you have opened a new issue (please include as much relevant information as possible such as versions of packages etc...), I will remove these unrelated comments from this particular issue.


Error when using anonymous functions with kwargs

This fails since at least 1.6 up until nightly
using Distributed
addprocs(1)
@everywhere begin
    f1 = o -> o
    f2 = (o, m=1) -> o
    fbad = (o; m=1) -> o
end
remotecall_fetch(f1, 1, 1)   # 1
remotecall_fetch(f2, 1, 1)   # 1
remotecall_fetch(fbad, 1, 1) # 1
remotecall_fetch(f1, 2, 1)   # 1
remotecall_fetch(f2, 2, 1)   # 1
remotecall_fetch(fbad, 2, 1) # errors!

The error of the last call is
ERROR: On worker 2:
MethodError: no method matching var"#3#4"(::Int64, ::Serialization.__deserialized_types__.var"#3#7", ::Int64)
The function `#3#4` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  var"#3#4"(::Any, ::var"#3#7", ::Any) (method too new to be called from this world context.)
   @ Main REPL[3]:4

Stacktrace:
 [1] #3
   @ ./none:-1 [inlined]
 [2] #3
   @ ./REPL[3]:0
 [3] #invokelatest#2
   @ ./essentials.jl:1045
 [4] invokelatest
   @ ./essentials.jl:1042
 [5] #110
   @ ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Distributed/src/process_messages.jl:287
 [6] run_work_thunk
   @ ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Distributed/src/process_messages.jl:70
 [7] #109
   @ ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Distributed/src/process_messages.jl:287
Stacktrace:
 [1] remotecall_fetch(f::Function, w::Distributed.Worker, args::Int64; kwargs::@Kwargs{})
   @ Distributed ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Distributed/src/remotecall.jl:465
 [2] remotecall_fetch(f::Function, w::Distributed.Worker, args::Int64)
   @ Distributed ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Distributed/src/remotecall.jl:454
 [3] remotecall_fetch(f::Function, id::Int64, args::Int64)
   @ Distributed ~/.julia/juliaup/julia-nightly/share/julia/stdlib/v1.12/Distributed/src/remotecall.jl:492
 [4] top-level scope
   @ REPL[9]:1

Hi all,
just copying out the relevant pieces from slack here:
Pablo created this useful test:
Distributed.remotecall_eval(Main, 1, :(f = (; p = 2) -> 0))
Distributed.remotecall_eval(Main, 2, :(f = (; p = 2) -> 0))

remotecall_fetch(f, 2)  #error

Distributed.remotecall_eval(Main, 1, :(g = () -> 0))
Distributed.remotecall_eval(Main, 2, :(g = () -> 0))

remotecall_fetch(g, 2)  # no error

We can observe what's actually happening on the workers:
julia> Distributed.remotecall_eval(Main, 2, :(code_lowered(f)))
1-element Vector{Core.CodeInfo}:
 CodeInfo(
1 ─ %1 = Main.:(var"#3#4")
│   %2 = (%1)(2, #self#)
└──      return %2
)

julia> Distributed.remotecall_eval(Main, 2, :(code_lowered(g)))    # g is observably simpler
1-element Vector{Core.CodeInfo}:
 CodeInfo(
1 ─     return 0
)

julia> Distributed.remotecall_eval(Main, 2, :(code_lowered(var"#3#4")))
1-element Vector{Core.CodeInfo}:
 CodeInfo(
1 ─     nothing
└──     return 0
)

Now the actual error is:
julia> remotecall_fetch(f, 2)
ERROR: On worker 2:
MethodError: no method matching var"#3#4"(::Int64, ::Serialization.__deserialized_types__.var"##230")
The function `#3#4` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  var"#3#4"(::Any, ::var"#3#5")
   @ Main REPL[6]:1

I assume that the sequence of events is as follows:

remotecall_fetch tries to move f to worker 2 as an object, it gets appropriately packed and later unpacked as var"#3#5"
the tmp-symbol var"#3#4" exists on the remote so resolves just okay, but it refers to something unidentifiable with the original #3#4 which should now be #3#5
now we're trying to use the new #3#5 as the parameter of #3#4 and we get the typecheck error.

Notably, if passing the evaluation code through as normal manually-escaped expressions, all works OK, because f does not get mangled with:
julia> Distributed.remotecall_eval(Main, 2, :(f()))
0

I think we can reduce this further, and isolate it to an issue in Serialization itself (so we may need to move this issue)
julia> f = (; p = 2) -> 0;

julia> using Serialization

julia> serialize("test.dat", f)

julia> deserialize("test.dat")
#1 (generic function with 1 method)

julia> ff = deserialize("test.dat")
#1 (generic function with 1 method)

julia> ff()
ERROR: MethodError: no method matching var"#1#2"(::Int64, ::Serialization.__deserialized_types__.var"##230")
The function `#1#2` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  var"#1#2"(::Any, ::var"#1#3")
   @ Main REPL[2]:1

Stacktrace:
 [1] (::Serialization.__deserialized_types__.var"##230")()
   @ Main ./REPL[2]:1
 [2] top-level scope
   @ REPL[6]:1

This error does not arise if we do
julia> genf() = (; p = 2) -> 0; f = genf();

Closing in favor of https://github.com/JuliaLang/julia/issues/56815


Enforce doc-build with a check of the success in building HTML files

I want to use the doc-build action with pyaedt-examples. Our workflow is such that running all examples takes ~3-4 hours. However, from time to time, we have errors appearing in an example as we make the API evolve in pyaedt. In such cases building the HTML files stops after an arbitrary amount of time, e.g. 2 hours. However, this doesn't stop the action and it then tries to run the examples to create the PDF files. This is a problem because they will fail in the same way as the previous step, e.g. after 2 hours.
Could we had a simple check after the build of HTML files to ensure it succeeded ?
I gave it a try in the past and here was the workaround for windows. If someone has a better approach, that would be great. Note that this should be taking into account the fact that one uses nbsphinx_allow_errors = False in the doc settings.
      # NOTE: Ugly HTML checking but redirecting errors with our docs either leads
      # to errors in powershell or workflows getting stuck in Github CICD.
      - name: Check HTML doc creation
        run : |
          if (Test-Path "doc\_build\html\index.html" ) {
            Write-Output "File index.html found, HTML build successful."
          } else {
            Write-Error "Sphinx build failed, check if there is no cell execution error."
            exit 1
          }

Thanks for opening this, @SMoraisAnsys.

We've got something similar working on PyAnsys Geometry:
https://github.com/ansys/pyansys-geometry/blob/40e9a0afafcd8c9b3831c80c37de1979a07ad74e/.github/workflows/ci_cd.yml#L298-L312
We are not only checking HTML build, but also PDF build


Please Help!!!! - frmn.c

I need a copy of frmn.c. I am using esp-face on my esp32 for a school project, and my professor wants my group to do the facial recognition part.  I know that face_id has the feature extractions that I need for facial recognition. I just do not know what those 512 elements are measuring.
Any help is appreciated. Thank you.

Hi, This 512-dimensional vector is the high-dimensional feature of the face. we did not constrain the specific face information represented by each dimension. But in a high-dimensional space, the distance between two vectors of the same person is very small, while the distance between two vectors of different people will be very large.

I am having a problem where the face_id vector is the same no matter what face is detected by the esp32 camera. How can I fix this???

First of all, make sure that the image obtained by the camera is correct, and then use the API we provide to extract the features of the face. You can refer to this https://github.com/espressif/esp-who/tree/master/examples/single_chip/face_recognition_with_command_line to write your code


Add special serialization handling for nullable ValueTuples

This PR adds special serialization handling for nullable ValueTuples. Specialized handling is required as without, a nullable ValueTuple type ends up falling into CustomDynamicObjectResolver inside of
NestFormatterResolver, which will build a dynamic formatter using MetaType et.al, which enumerates interfaces and can cause a CLR error when calling System.Runtime.CompilerServices.ITuple.get_Length().
Fixes #4703

rebased on top of master


1.17 port

Hi, are you planning to create a version for 1.17.1?

Hey, added an additional release that will work on 1.17.1.
The plugin is also functional on version 1.19


gate r2d2 use behind r2d2 feature

Fixes #38

Thank you for the fix and sorry for the delay. Released in 0.3.1: https://github.com/CQCL/diesel-tracing/releases/tag/0.3.1


style for textarea text is too light

text area text appears greyed out. should be normal black.

the light text style probably makes sense for text area where text is default text in an editable text area. we probably want to apply this normal style if the textarea has been set to readOnly.

related: https://github.com/edina/fieldtrip-cps/issues/17. This change needs to be deployed first.

ok #17 is deployed now but I haven't added any class attributes. the text area field will have attribute "readOnly" or not at all, depending on editor property. Can you pick this up in css?

yes you can, see commit


Update gh-pages to test against 1.0.0 release

https://github.com/oracle/coherence-operator/pull/273


Support linking directly to projects without an issue

I'd like to use this role to be able to link directly to GitHub projects, rather than just to specific issues within the projects.
For example:
:github:`astrojuanlu/sphinx-github-role`

would link to this repository, without requiring an issue to be specified.
I'm documenting a project with different components across a variety of repositories, so a shorthand syntax for referencing specific repositories would be helpful.

Good idea @zml2008 ! Do you want to send a pull request for it?


x/pkgsite: surface VCS clone path from the go-import meta tag

Take golang.org/x/mod, for example:
$ curl https://golang.org/x/mod
<!DOCTYPE html>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="go-import" content="golang.org/x/mod git https://go.googlesource.com/mod">
<meta name="go-source" content="golang.org/x/mod https://github.com/golang/mod/ https://github.com/golang/mod/tree/master{/dir} https://github.com/golang/mod/blob/master{/dir}/{file}#L{line}">
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/golang.org/x/mod">

Redirecting to documentation...

If I go to https://pkg.go.dev/golang.org/x/mod, the only link I see is https://github.com/golang/mod, which is fine for browsing the source - but not for git clone, as github is just a mirror. I should be using https://go.googlesource.com/mod for that, but pkgsite doesn't make that evident.
I get that perhaps this is an internal detail that most people shouldn't need to be aware of, but it's still relevant for peoplel wishing to contribute to a module. Especially for the x repos hosted by Gerrit - I seem to recall that you have to clone from the right URL for git-codereview to work properly.

(Compare #18387 for cmd/go.)

It may be that pkgsite itself doesn't have this information at the moment. (We may need #44742 for that.)

I've closed #47520 as a duplicate of this issue.

Please resurface that meta tag, as it was infinitely useful for anyone performing insight on their imports. Vanity paths have no other means of gleaning information on the repo other than to scrape HTML. Combined with the lack of an API to provide package metadata, the new site and forced redirect cripple consumer insight into packages.