python310Packages.poetry is broken on unstable

Steps To Reproduce
Steps to reproduce the behavior:

build python310Packages.poetry

Build log
error: build of '/nix/store/10psvwb5fqcmcdnwfnx2h64jpn5xsbfi-python3.10-poetry-1.2.2.drv' on 'ssh://nix-community-build01' failed: builder for '/nix/store/10psvwb5fqcmcdnwfnx2h64jpn5xsbfi-python3.10-poetry-1.2.2.drv' failed with exit code 1;
       last 10 log lines:
       > Requirement already satisfied: dulwich<0.21.0,>=0.20.46 in /nix/store/1dwv35r9nr6x7hh9s0qfzfijn0ylc44n-python3.10-dulwich-0.20.50/lib/python3.10/site-packages (from poetry==1.2.2) (0.20.50)
       > Requirement already satisfied: html5lib<2.0,>=1.0 in /nix/store/zbi87b6967x988mdriihy6lm195xbib3-python3.10-html5lib-1.1/lib/python3.10/site-packages (from poetry==1.2.2) (1.1)
       > Requirement already satisfied: requests-toolbelt<0.10.0,>=0.9.1 in /nix/store/g6klr9lgfrkxf7wkdsf7r9pc39n45hgd-python3.10-requests-toolbelt-0.9.1/lib/python3.10/site-packages (from poetry==1.2.2) (0.9.1)
       > Requirement already satisfied: crashtest in /nix/store/m1sqz36r1zyjybi9321av7pyafvm9ql7-python3.10-crashtest-0.4.1/lib/python3.10/site-packages (from poetry==1.2.2) (0.4.1)
       > Requirement already satisfied: pexpect<5.0.0,>=4.7.0 in /nix/store/lxinahd9qhdzmqia3493mrgkqh3ingig-python3.10-pexpect-4.8.0/lib/python3.10/site-packages (from poetry==1.2.2) (4.8.0)
       > Requirement already satisfied: poetry-core==1.3.2 in /nix/store/y7m62x2v20cxga1vpqr7kmbgc6nibs5s-python3.10-poetry-core-1.3.2/lib/python3.10/site-packages (from poetry==1.2.2) (1.3.2)
       > Requirement already satisfied: urllib3<2.0.0,>=1.26.0 in /nix/store/fbac0h6j5har9447am8mqswnf1b2mrhh-python3.10-urllib3-1.26.12/lib/python3.10/site-packages (from poetry==1.2.2) (1.26.12)
       > ERROR: Could not find a version that satisfies the requirement cleo<2.0.0,>=1.0.0a5 (from poetry) (from versions: none)
       > ERROR: No matching distribution found for cleo<2.0.0,>=1.0.0a5
       >
       For full logs, run 'nix log /nix/store/10psvwb5fqcmcdnwfnx2h64jpn5xsbfi-python3.10-poetry-1.2.2.drv'.
error: builder for '/nix/store/10psvwb5fqcmcdnwfnx2h64jpn5xsbfi-python3.10-poetry-1.2.2.drv' failed with exit code 1;
       last 10 log lines:
       > Requirement already satisfied: dulwich<0.21.0,>=0.20.46 in /nix/store/1dwv35r9nr6x7hh9s0qfzfijn0ylc44n-python3.10-dulwich-0.20.50/lib/python3.10/site-packages (from poetry==1.2.2) (0.20.50)
       > Requirement already satisfied: html5lib<2.0,>=1.0 in /nix/store/zbi87b6967x988mdriihy6lm195xbib3-python3.10-html5lib-1.1/lib/python3.10/site-packages (from poetry==1.2.2) (1.1)
       > Requirement already satisfied: requests-toolbelt<0.10.0,>=0.9.1 in /nix/store/g6klr9lgfrkxf7wkdsf7r9pc39n45hgd-python3.10-requests-toolbelt-0.9.1/lib/python3.10/site-packages (from poetry==1.2.2) (0.9.1)
       > Requirement already satisfied: crashtest in /nix/store/m1sqz36r1zyjybi9321av7pyafvm9ql7-python3.10-crashtest-0.4.1/lib/python3.10/site-packages (from poetry==1.2.2) (0.4.1)
       > Requirement already satisfied: pexpect<5.0.0,>=4.7.0 in /nix/store/lxinahd9qhdzmqia3493mrgkqh3ingig-python3.10-pexpect-4.8.0/lib/python3.10/site-packages (from poetry==1.2.2) (4.8.0)
       > Requirement already satisfied: poetry-core==1.3.2 in /nix/store/y7m62x2v20cxga1vpqr7kmbgc6nibs5s-python3.10-poetry-core-1.3.2/lib/python3.10/site-packages (from poetry==1.2.2) (1.3.2)
       > Requirement already satisfied: urllib3<2.0.0,>=1.26.0 in /nix/store/fbac0h6j5har9447am8mqswnf1b2mrhh-python3.10-urllib3-1.26.12/lib/python3.10/site-packages (from poetry==1.2.2) (1.26.12)
       > ERROR: Could not find a version that satisfies the requirement cleo<2.0.0,>=1.0.0a5 (from poetry) (from versions: none)
       > ERROR: No matching distribution found for cleo<2.0.0,>=1.0.0a5
       >
       For full logs, run 'nix log /nix/store/10psvwb5fqcmcdnwfnx2h64jpn5xsbfi-python3.10-poetry-1.2.2.drv'.

Additional context
Add any other context about the problem here.
Notify maintainers
@jbaum98
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.15.79, NixOS, 23.05 (Stoat), 23.05pre431646.61a8a98e6d5`
 - - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.11.1`
 - channels(root): `"home-manager, nixos, sops-nix"`
 - channels(raito): `"home-manager, nixgl, nixpkgs"`
 - nixpkgs: `/home/raito/.nix-defexpr/channels/nixpkgs`

Relevant discussion about the cleo package which broke Poetry: https://github.com/NixOS/nixpkgs/pull/203396

The poetry.lock file contains a hash of itself that makes it impossible to patch using fetchpatch to pull in the necessary changes. I opened https://github.com/python-poetry/poetry/discussions/7142 to discuss it.
I use this package locally to manage a non-nix Python project just to provide this as a dev dependency, so I'm personally impacted and invested in fixing this :)
In this specific case, unless there is a greater urgency, I think we can wait for a new release in https://github.com/python-poetry/poetry/pull/7137.

Hey folks just came across this issue myself but I'd like to add something: Is it expected that pkgs.poetry and pkgs.python3Packages.poetry are different packages?
The former is 1.3.0 and appears to be defined here: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/tools/poetry2nix/poetry2nix/pkgs/poetry/default.nix#L50 and builds fine.
The latter is 1.2.2 and defined here: https://github.com/NixOS/nixpkgs/blob/nixos-unstable/pkgs/development/python-modules/poetry/default.nix#L147 and suffers from the issue described here.

@adisbladis and @jbaum98 are the maintainers of pkgs.poetry, so I've CCed them for their insight.

Will this be fixed on stable once #206127 lands? (I realise that "poetry broken on stable" is distinct in two ways from "python310Packages.poetry broken on unstable" that this issue is about, but I couldn't find any other relevant issue with discussion...)

Will this be fixed on stable once #206127 lands?

No, unrelated as you observed correctly.
This issue will be fixed once https://github.com/NixOS/nixpkgs/pull/205370 lands in master.

I realise that "poetry broken on stable" is distinct in two ways from "python310Packages.poetry broken on unstable" that this issue is about, but I couldn't find any other relevant issue with discussion...

Yes, https://github.com/NixOS/nixpkgs/pull/206127 will fix pkgs.poetry in 22.11.
You could open a new issue or comment on that PR.

Closing this since poetry now builds on unstable


Access to the new version

Thank you for the Mathematica quantum package! It's very cool!
After reading the example notebooks, I want to try it. Yet, the current version available for my Mathematica 13.0 is outdated and not reliable (version 1.0.19). I can't update the paclet using PacletInstall. I also tried manual installation but that doesn't work.
I am wondering how can I access the latest release? Or it's only available on the new versions of Mathematica?

I just updated my Mathematica to 13.3 with my institution access, and now it works!


Add Machine active tooltip

Description
This PR adds more info to the machines, making it easier for users to find out what is wrong.

Add Machine active tooltip.
Add Bind soul tooltip on items.

Closes #472

Todo

[ ] Things that are yet to be completed for this PR to no longer be a draft.

Checklist:

[ ] My code follows the style guidelines of this project (.editorconfig, most IDEs will use this for you).
[ ] I have performed a self-review of my own code.
[ ] I have commented my code in areas it may be challenging to understand.
[ ] I have made corresponding changes to the documentation.
[ ] My changes are ready for review from a contributor.

What's needing done before this leaves draft?


Sort tasks in planner chronologically messed up things across multiple days

Please check that this issue hasn't been reported before.

[X] I searched previous Bug Reports didn't find any similar reports.

Expected Behavior
The first time I browse the multi-day planner view, it is okay (like the image below).

Maybe after editing, we I look back it becomes this:

Current behaviour
I mistakenly sort the previous day's events. It shouldn't do that sorting and time blocking across various days.
Steps to reproduce
At least I think I never drag things across different days... But the event time function does this error behavior across multiple days...
Which Operating Systems are you using?

[ ] Android
[ ] iPhone/iPad
[ ] Linux
[X] macOS
[ ] Windows

Obsidian Version
1.6.5
Possible solution
Not sure. I might be able to look at the code if I have time on this.

Maybe similar to issue #619


[API] generalize list header

close  #11114

Codecov Report

Merging #16551 (cab3f66) into main (6a33b29) will decrease coverage by 0.03%.
The diff coverage is 22.22%.

@@            Coverage Diff             @@
##             main   #16551      +/-   ##
==========================================
- Coverage   45.43%   45.40%   -0.04%
==========================================
  Files         749      749
  Lines       84441    84471      +30
==========================================
- Hits        38368    38352      -16
- Misses      39900    39943      +43
- Partials     6173     6176       +3

Impacted Files
Coverage Δ

models/token.go
66.66% <0.00%> (-5.75%)
:arrow_down:

routers/api/v1/admin/cron.go
0.00% <0.00%> (ø)

routers/api/v1/org/hook.go
0.00% <ø> (ø)

routers/api/v1/org/label.go
57.97% <ø> (ø)

routers/api/v1/org/member.go
19.54% <ø> (ø)

routers/api/v1/org/team.go
37.06% <ø> (ø)

routers/api/v1/repo/collaborators.go
15.94% <ø> (ø)

routers/api/v1/repo/fork.go
19.51% <0.00%> (-0.49%)
:arrow_down:

routers/api/v1/repo/hook.go
25.45% <ø> (ø)

routers/api/v1/repo/issue_comment.go
34.75% <ø> (ø)

... and 30 more

Continue to review full report at Codecov.

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

FAIL: TestAPIRepoTopic -> there is a join missing for CountRepoTopics ...

@zeripath your commit break this pull :/

@lunny anything else you like to know?

A helper method may be useful. At the moment there are 37 duplicated code blocks of
ctx.Header().Set("X-Total-Count", fmt.Sprintf("%d", totalCount))
ctx.Header().Set("Access-Control-Expose-Headers", "X-Total-Count")

If the "Access-Control-Expose-Headers" header is already present the method must append ", X-Total-Count" instead of replacing the old value.

had that in mind to ... was lazy and thought ... do it next time :sweat_smile: - u catched me
will refactor bit more then ...

:rocket:


Add mergify for backporting PRs

@henningkayser and I talked recently about trying out mergify for backporting (which is already enabled on ros-planning organization), this PR adds mergify to main branch, then we can use mergify to backport mergify in the other branches 😆. For that can we have backport-galactic and backport-foxy labels for that @henningkayser?

mergify only had permissions for nav2 :man_facepalming: I just fixed that


Update library view to hide certain files.

Rules for hiding are:

If its a file other than *.js and *.css or,
If its an un-minified file.

Closes #54

@francisbrito
Thanks for your contribution again, I wonder some libs like material-design-icons will show empty list by default, may be a little bit strange, do you have any suggestion on this? Maybe show the main "filename" file at least?

@PeterDaveHello I'll change the "hide files" rules so they go:

if its not a "main file" or,
if its of a hidden file type or,
if its not minified

Then hide it. Sounds good?

if its not a "main file" or,
if its of a hidden file type or,
if its not minified

Not sure if I understand correct here, so we now have 3 rules, the file will be hidden if it match rule "1 || 2 || 3"? Or hide the files match rule "1 && 2 && 3"?

@francisbrito since the code base changed a little so caused some conflicts here, do you think we can finish this feature recently? Thanks.


Add support for Fedora

Thanks @tinova for the review! I restructured the code and it's not using "case".


I am struggling to install sam

hi, I am struggling to run this command docker build . -t sam:latest

I am following this guide; https://labelstud.io/blog/get-started-using-segment-anything/
I am not programmer so please explain solution in detail, I just wanted to annotate with sam
dockerfile inside;
# syntax=docker/dockerfile:1
ARG PYTHON_VERSION=3.12

FROM python:${PYTHON_VERSION}-slim AS python-base
ARG TEST_ENV

WORKDIR /app

ENV PYTHONUNBUFFERED=1 \
    PYTHONDONTWRITEBYTECODE=1 \
    PORT=${PORT:-9090} \
    PIP_CACHE_DIR=/.cache \
    WORKERS=1 \
    THREADS=8

# Update the base OS
RUN --mount=type=cache,target="/var/cache/apt",sharing=locked \
    --mount=type=cache,target="/var/lib/apt/lists",sharing=locked \
    set -eux; \
    apt-get update; \
    apt-get upgrade -y; \
    apt install --no-install-recommends -y  \
        git; \
    apt-get autoremove -y

# install base requirements
COPY requirements-base.txt .
RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
    pip install -r requirements-base.txt

# install custom requirements
COPY requirements.txt .
RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
    pip install -r requirements.txt

# install test requirements if needed
COPY requirements-test.txt .
# build only when TEST_ENV="true"
RUN --mount=type=cache,target=${PIP_CACHE_DIR},sharing=locked \
    if [ "$TEST_ENV" = "true" ]; then \
      pip install -r requirements-test.txt; \
    fi

COPY . .

EXPOSE 9090

CMD gunicorn --preload --bind :$PORT --workers $WORKERS --threads $THREADS --timeout 0 _wsgi:app

this is dir where label-studio-ml-backend at; C:\Users\hekos

someone suggested this and worked;
The error you're encountering ($'\r': command not found) suggests that the download_models.sh script contains Windows-style line endings (CRLF), which are not recognized by the UNIX-like environment inside the Docker container. You'll need to convert these line endings to the UNIX-style LF before you can run the script successfully.
You can fix this issue by converting the line endings using a text editor. If you prefer using a command-line tool and have dos2unix installed on your system, you can convert the file like this:
dos2unix .\download_models.sh
If you don't have dos2unix and are using PowerShell, you can use the following command to convert the file:
(Get-Content .\download_models.sh -Raw).Replace("rn", "n") | Set-Content -NoNewline .\download_models.shAfter you have converted the script's line endings, try thedocker build` command again. The script should now execute correctly within the Docker container.


@resource_name in update action assumes single word resource

In the update form ChampionshipResult displays as Championshipresult.  It displays correctly in the new form as ChampionshipResult.
See: https://github.com/aesmail/kaffy/blob/8ae0767ee2d05f3d5e51536643f774848f2fb616/lib/kaffy_web/controllers/resource_controller.ex#L88
Seems related to https://github.com/aesmail/kaffy/issues/29
The issue doesn't seem to affect successful submission of the update form.

This is done in master and is much improved:
ChampWithEventsResult becomes "Champ With Events Result".
DraftPick becomes "Draft Pick".
Trade becomes "Trade".


fix(services): fix when config is null

Codecov Report

Merging #2152 (bf93d87) into main (42bd780) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main    #2152   +/-   ##
=======================================
  Coverage   87.07%   87.07%
=======================================
  Files          85       85
  Lines        9312     9312
  Branches      494      494
=======================================
  Hits         8108     8108
  Misses       1204     1204


FEATURE - Preview doesn't show our custom markdown elements

Hi Team.
(Checked By @tiagov8)
When I edit a rule I would expect to see the markdown rendered in the preview (same as the final users will see). It works for out-of-the-box markdown, but not for SSW custom elements like boxes, captions, email templates, etc...
Instead, I see the markdown code, so I can't be sure if everything is perfect:

AB#60224

Note this was meant to go in GitHub issues so I am adding it here in addition to my comment on Azure DevOps.
As per my conversation with @calumjs and @wicksipedia  , To make it easier to review changes before going live, setup a staging website for SSW rules content so that we can preview changes. When you create a PR we should deploy to the staging site which has the PR changes showing and identifies the PR in the URL. Once the PR is completed the website should be destroyed.
Response from @wicksipedia
@pierssinclairssw @calumjs  maybe this could be solved with previews in NetlifyCMS as well? Creating Custom Previews | Netlify CMS | Open-Source Content Management System

cc @wicksipedia @calumjs @tiagov8
Hi @pierssinclairssw,
I am closing this issue as it will be fixed by implementing Netlify CMS. It allows us to create our own preview with all our custom markdown elements.
Follow the progress on GitHub Issue #466
Thanks,
-Brady


DSpace (Solr) Statistics - Item Usage Reports (same as v6.x)

Assigned to Atmire; estimate 4 hours

Closing, is being addressed as part of the work on this Issue per Atmire: https://github.com/DSpace/dspace-angular/issues/731


typo: Double word "trades"

Also fixed missing "h" in "https"

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

#sign-off


Admin Router bump

High level description including:

clean up webui_url handling in AR
Add missing headers configuration to exhibitor endpoint
Unify all upstreams on <IP_ADDRESS> instead of localhost
Make resolver configuraiton for agent match the DC/OS configuration

Issues
DCOS-11947
DCOS-380

WIP until build is greener

this needs a second review before getting merged

do not merge it yet please - this has my private repo linked for test. Will ping you when it's ready.


Updated setup to 0.14.2

@w0mbat thank you, but had it already pending. https://github.com/pires/kubernetes-vagrant-coreos-cluster/commit/f4daad950ca804630b803e4a63c49b2c930fee82

yeah, but the setup.sh file didn´t install the current tools for 0.14.2, because it references a seperate version (0.13.2).

@w0mbat thank you for clarifying on that. My bad ;-)

haha no worries :)
Will try it also on 0.15.0 with our app within the next hour

@w0mbat 0.15.0 won't work. @pires and i are working on it :smile:

@AntonioMeireles @pires Great! Excited to try it :)


"updater is not old enough to check for updates"

Guys i've tried to use dvc push and received this answer back. What this means?

You probably passed -v to it. This means that dvc is not ready to check for dvc updates, totally unrelated to the function of dvc push. Just ignore it.

Yeah. But if a haven't set the access of the cloud, shouldn't this guy raise an error?

You are right, it should at least print a warning that there is no remote setup. Thank you for noticing! Created https://github.com/dataversioncontrol/dvc/issues/726 for that. Feel free to close this issue if it resolved.

Thank you for the quick response, i have other doubts about the dvc but i will open more issues


Accept .alivrc or aliv.config.js

Having a static json in .alivrc is not always ideal.. sometimes the user might want to use comments or write conditions to use a certain value - by using aliv.config.js that'll be possible.
// .alivrc
{
  "port": "1234",
  "https": true
}

// aliv.config.js
module.exports = {
  port: "1234",
  root: process.cwd(),
  http2: true, // doesn't work with node 11.x, see aliv#40
}

The user should use one or the other, but not both.

Find a new way to mock fs stuff - since now we have two calls. That's why tests are failing.


Is it safe to remove the NUXT property when onNuxtReady gets called?

I need to remove the __NUXT__ property because it has a reference to the Vuex store and I don't want that.
My Vuex store has some sensitive information inside of it that I load asynchronously on the browser.
Can I get rid of it when onNuxtReady gets called?

This question is available on Nuxt.js community (#c2713)

People are already able to inspect your asynchronously made requests as a standard feature in most browsers. So you are already exposing this "sensitive information" anyways, removing __NUXT__ isn't going to change that.

@matsrietdijk
I can't control what they see in the network requests, that's build into the browser so what do you want me to do? Build a whole new browser as well so they can't see it? That's too much work.
I want to know if I can remove the __NUXT__ object so that I can make at least a little bit of effort to make it harder for people to sniff that info out.

Obviously thats not what im trying to say, what I'm trying to make you realise is that there is probably a beter way to do this and no sensitive information is exposed at all. You did not explain why you're exposing this information now so I (or really any one at this point) am not able to give a fitting suggestion. You should get in contact with a software architect because obscuring is not a valid security solution by any means. If thats still the way you want to go though; you should also look into removing window.$nuxt.$store.state and probably many more references.

Ok, you seem to totally miss the point. Security and privacy are serious things.
To answer your question; you can at this moment safely remove the window.__NUXT__ reference with a window.onNuxtReady callback, its used for the setup and is copied to all relevant places in the process. There is no guarantee this might not change in the future though. You can't do the same with window.$nuxt as this will start crashing your app.

That changes things. I don't actually think your data is sensitive, its more of a copy right thing.
To start with I must say you are probably going to give yourself a really hard time hiding something "in plain sight". After you hid all the Nuxt references there is still the good old document.querySelectorAll("video")[0].src, someone who wants your videos is just going to use that instead of bothering about finding out how he/she can pull your Nuxt app apart.
Video platforms like Youtube and Vimeo are using Blob URLs to make it impossible to request the video source on its own, so I suggest you focus on that instead of corehacking Nuxt. So you probably want to fetch the source(s) you are going to actually display at that moment and convert those to (a) Blob URL(s).

They get the blobs by HLS and DASH streaming their videos and I would add it to my site as well if I had the extra storage space for it. That's the only way I can protect against someone using document.querySelectorAll("video")[0].src to get the video source.
If you look at youtube though, they don't expose their HLS and DASH stream links anywhere in the document. I need to do the same thing with my source links, not for the one that's inside the video tag, but the one that's stored inside the document. Because from the console you can get a array video links, like maybe 20-100 episodes depending on how many episodes the show has.
I don't mind if they have access to the video through document.querySelectorAll("video")[0].src cause I can only protect against that by using HLS and DASH. But even if I add HLS and DASH streaming, I still have obfuscate the HLS and DASH stream urls.
So I need to obfuscate my playlist array somehow. What do you recon?

I guess I would encrypt the urls server side with some "secret" (mind the quotes), then in the displaying component decrypt them through an inlined function or filter. This way your "bad guys" will see some random strings in the store and have to find your "secret" by digging in the source code which will be a lot harder to find as they don't know how it looks opposed to a string ending with ".mp4" or something.
Still I do not thing you should actually worry this much, if people really want your video they would probably inspect the network requests to begin with.
Anyways, as this has little to do with Nuxt at this point and the question which started this issue seems de be answered I think this should be closed. If you have any other questions for me feel free to send me an email (its on my profile page).

Thank you mat, I'll get in contact with you by email then and will close the issue.
Issue resolved in https://github.com/nuxt/nuxt.js/issues/3132#issuecomment-377366437


Created group model and migrated

Created group model. Makemigrations and migrate was completed as well and worked.

Team, I did something crazy.
I checked out kt-group-model. Tested, it worked....
while still in kt-group-model, I deleted the nameless-fortress directory, changed the header href from "" to "{% url 'index' %}" and set debug to false in heroku_settings.py. Tested, it worked...
I pushed it, went to GH and realized it updated Kasey's PR... whoa I could mess with Kasey's branch and update it?
Next, I saw that GH said there were merge conflicts. I went back to VSCode and while still in kt-group-model, I 'git merge master'...saw the conflicts in base.html and resolved them there. Tested, it worked... pushed again. Went back to Kasey's PR and the merge conflicts were gone.
Please, please, please let me know if you have any issue with what I did here.
I'm going to merge this PR now and try another push to heroku.


ModuleNotFoundError: No module named 'requests'

When following the steps described on the installation page on github, instagram-py does not install, it appears that something is going wrong in 'requests'.
Already tried:

Remove requests and reinstall
Use pip3 and pip
And I downloaded the necessary packages before trying to install instagram-py

The error is as follows:
Collecting instagram-py
  Using cached instagram-py-2.0.7.tar.gz (31 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [24 lines of output]
      Traceback (most recent call last):
        File "C:\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
          main()
        File "C:\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Python312\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\user\AppData\Local\Temp\pip-build-env-_yqe2pyf\overlay\Lib\site-packages\setuptools\build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\user\AppData\Local\Temp\pip-build-env-_yqe2pyf\overlay\Lib\site-packages\setuptools\build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "C:\Users\user\AppData\Local\Temp\pip-build-env-_yqe2pyf\overlay\Lib\site-packages\setuptools\build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "C:\Users\user\AppData\Local\Temp\pip-build-env-_yqe2pyf\overlay\Lib\site-packages\setuptools\build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 13, in <module>
        File "C:\Users\user\AppData\Local\Temp\pip-install-lct7823i\instagram-py_bce61f5bb4ef405a9ffda4864ec4a843\InstagramPy\__init__.py", line 11, in <module>
          from .InstagramPySession import InstagramPySession, DEFAULT_PATH
        File "C:\Users\user\AppData\Local\Temp\pip-install-lct7823i\instagram-py_bce61f5bb4ef405a9ffda4864ec4a843\InstagramPy\InstagramPySession.py", line 11, in <module>
          import requests
      ModuleNotFoundError: No module named 'requests'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.

note: This error originates from a subprocess, and is likely not a problem with pip.

Facing the same issue. Found any solution?

clone the repo
copy the folder InstagramPy to /usr/lib/python3
copy the bin/instagram-py to /usr/bin
chmod +x /usr/bin/instagram-py

This occurs on Windows, which is why the paths you say do not exist.


header.title additions - align, top, left, font, size

Some additions to advanced header.title
http://docs.jasonette.com/document/#advanced-title
New Features

align : can be either center or left
top: When it's either center or left, you can set the offset from the top.
left: Only applicable when align: left. Set the offset from the left
font: Only applicable when it's a label type title
size: Only applicable when it's a label type title

Supports both label types and image types
Test cases

left aligned image title https://jasonbase.com/things/gXe7
left aligned image title with top offset https://jasonbase.com/things/B8w3
left aligned image title with left offset https://jasonbase.com/things/0d4K
left aligned image title with top & left offset https://jasonbase.com/things/RPLl
left aligned label title https://jasonbase.com/things/8WJP
left aligned label title with top offset https://jasonbase.com/things/JBxd
left aligned label title with left offset https://jasonbase.com/things/bQQ0
left aligned label title with top & left offset https://jasonbase.com/things/yKKp
default image title (center aligned) https://jasonbase.com/things/dRRM
center aligned image title https://jasonbase.com/things/Aqqq
center aligned image title with top offset https://jasonbase.com/things/emm7
default label title (center aligned) https://jasonbase.com/things/3883
center aligned label title https://jasonbase.com/things/788d
center aligned label title with top offset https://jasonbase.com/things/5jjd
Label title with font and size https://jasonbase.com/things/KdqV

tried it out, works great - very useful addition.

Now resolved on both iOS and Android.

Android: https://github.com/Jasonette/JASONETTE-Android/pull/150


spread date from time

can you add more space between left (date) and right (time) areas of popup?
or how can i do it by css?

ah, some thing helps:
js, string 1359:
sDTPickerComp += "<div class='dtpicker-compOutline " + sColumnClass + **" myColumn"+iTempIndex+**"'>";

css,
.myColumn3
{
	!margin-left:10px;
	border-left:1px solid #ff6000;
}

but i cant find how to avoid line breaks if margin set

Add following CSS code to override DateTimePicker.css. This code will work for dateTimeFormat: "dd-MM-yyyy HH:mm".
But to do this you have to first know which dateTimeFormat you are using so that you add a space between appropriate fields.
.dtpicker-comp5
{
    width: 19%;
}

.dtpicker-compOutline:nth-child(3)
{
    margin-right: 5%;
}


Crash with emoji as last character in FileLogRecorder

New to all of Git/Markdown...be kind.
I had a crash when output was to the FileLogRecorder.recordFormattedMessage. The offending line was:
let c = unichar(uniStr[uniStr.endIndex.predecessor()].value)

The value of the message parameter causing the crash was:
"ABC😺"

Seems easy to reproduce in a OS X Playground with:
//: Playground - noun: a place where people can play

import Cocoa

var str = "Hello, playground"

let message = "ABC😺"
let uniStr = message.unicodeScalars
if uniStr.count > 0 {
    let c = unichar(uniStr[uniStr.endIndex.predecessor()].value)
    // addNewline = !newlineCharset.characterIsMember(c)
}

Hi Bill,
Would you mind giving me an example of a line that causes a crash? Also, do you have a stack trace available that I could look at?
Thanks,
E.

I attempted to upload a screen capture of stack trace when crash occurs. This used the value: "ABC😺"

also see comment in first post on recreating issue in Playground with snippet of code from the offending line(s).

Also, I know this isn't the same as using the newlineCharset, but since you are attempting to see if the last character is a newline or not (to add a newline if there isn't one), couldn't you just as easily write:
let message = "ABC😺"
let addNewline = !message.hasSuffix("\n")

and avoid all the unichar. I don't know if this has the same performance or effect. Just a thought.

Hi Bill,
Please try version 2.0.2, the latest release, which should fix this crash for you.
E.

Tested (2.0.3). Passed. Thanks!

Great! Thanks for letting me know!


Updated Enforcer FAQ

Is this for the Real-time enforcer or the Firewall Enforcer? The resources you listed are for the Real-time Enforcer and those can be found here: https://forsetisecurity.org/docs/latest/configure/real-time-enforcer/default-policies.html

@hshin-g, all the Enforcers that currently have coverage in Forseti or are planned to have coverage should be listed there.


Bump minimum support to Symfony 3.4

Rather conservatively...

Drops Symfony 2.x support, require the current LTS (3.4) or 4.x
Drops PHP 5.4 support as Symfony 3.x requires 5.5.9 anyway
Cleans up Symfony 2.x support in the console command and makes it lazy
Other miscellaneous code cleanup

Ping @ProPheT777
Any feedback here?

Sorry I totally missed it, my apologies ! :/
yes! thank you very much :+1:

my apologies ! :/

No apologies necessary, everyone gets busy at times.


Allow timeline to log text-mode applications

💻 Environment
Platform: Windows
📒 Description
Allow the desktop app to record the title of text-mode applications, for Timeline data. Discussed with @NghiaTranUIT on Slack here.
⭐ Why do you want this?
User here uses Far Manager as part of their workflow, and would like his usage of the application to show up on Timeline for client-billing/analysis purposes.
Adding support for text-mode applications would also benefit developers who use Timeline as well.

It kind of seems like the app has an empty window title.Activity is tracked but no text info about the title of the app is visible.

hmm, simple GetWindowText?
https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-getwindowtextw
Windows Spy++ (official app from MS) info image attached.


Refactor Controllers out from Clusternet-Hub into a New Clusternet-Controller-Manager

What would you like to be added:
Move all controllers out from clusternet-hub into a new component named "clusternet-controller-manager". Leave shadow-API-server alone in clusternet-hub.
Why is this needed:
Api-server and controllers are logic independent, we will make api-server less coupled with controllers, by separating the two parts.

Glad to see this happen. This refactoring brings in multiple benefits and improves the performance of clusternet-hub. Nice feature.

@lmxia Any progress on this feature? Shall we break down into a set of small tasks?

@lmxia Any progress on this feature? Shall we break down into a set of small tasks?
Sure, it's much better to break down into small tasks.

All done.


Depend on puppetlabs-git to manage git package

This is a suggestion to switch to https://github.com/puppetlabs/puppetlabs-git.
I'm using some modules that rely on puppetlabs-git. It produces a conflict with etckeeper, depending on the inclusion order.
Although etckeeper does it fine with the defined() check, I think that leveraging puppetlabs-git is better from a single responsibility principle perspective.

Archiving this repo and closing all open issues and pull requests. Please fork and maintain any changes in another repo. Sorry for the inconvenience.


Allow merge to also accept a single Embedding.

I wrote myself a helper today, it looked like this;
def add_origin(emb):
    return emb.merge(EmbeddingSet(Embedding("origin", np.zeros(emb.ndim))))

embset.pipe(add_origin)

It looks a bit silly, but it works. It's probably cleaner if EmbeddingSet.merge also accepts a single Embedding as input. @mkaze I recall a conversation about this but I couldn't find it. Would you agree though that it might be nice to be able to add a single embedding this way? That way, the code might look like:
def add_origin(emb):
    return emb.merge(Embedding("origin", np.zeros(emb.ndim)))

embset.pipe(add_origin)

Sure, I am in favor of having this.

@mkaze I recall a conversation about this but I couldn't find it.

Yeah, it was suggested here.

I'm closing issues because ever since the project moved to my personal account it's been more into maintenance mode than a "active work" mode.


Notebook to perform deep learning based regression w GEE and TF

For lesson 4a and day 3 buildathon regression part.
Walks through use of GEE Python API to obtain and process imagery, use of TF and Keras to train a U-Net regression model, save weights and run/visualize predictions.

earth engine > Google Earth Engine
Respond and view the context here.

ds_book condo env?

Didn't know we were supporting one, but I don't think focusing effort on local setups is worth it. Maybe revisit if time allows at the end. Right now, this works in colab.
Otherwise, will make the suggested grammar change and merge.


raw source code do not working

Hi, when I comment min code and uncoment  raw source code in index.html page application do not work

Could you please elaborate more on how it does not work? Is there some error etc.?


[ROX-18272] Reinstate EBPF fallbacks

Change "hard failure" mode to more user-friendly "soft failure" in the following cases:

[ ] Heuristic hard fail
[ ] Fallback to the next available collection method during the probe load

See ROX-18272 for more high-level details.

Quick comment on the heuristic hard fail, back when we had kernel module support (a couple of weeks ago), we used to check for ebpf support and fallback to kernel module in case it wasn't supported, we also changed from kernel module to ebpf on some platforms we know require modules to be signed. These collection method changes happened seamlessly for users, collector just emitted a warning message, we might want to consider something similar for CO-RE BPF in the near future.


program messes up terminal after exit

whenever i run the program it messes up my terminal after i exit, such that i have to use reset to fix it.
im not sure exactly whats causing it, i think maybe playwright is doing it somehow.. its been happening since i first used it

Problem fixed in v0.3.7. Turns out we don't shutdown the browser at exist


Upgrade to Ruby 2.3.0

Primarily to fix this bug and the performance hit it causes.
2.3 also includes the lonely operator and other performance improvements.

LGTM, how does it fix that bug?
Lonely operator looks interesting, i wonder what Sandi Metz would say about that.

I've previously used https://github.com/raganwald/andand for that lonely operator. It's a blessing and a curse really.  It's awesome on the debug console though.

This is the bug in question: https://bugs.ruby-lang.org/issues/10871

This is the bug in question: https://bugs.ruby-lang.org/issues/10871


tail: read from standard in when passed file operand (-)

@ericmarkmartin interested in finishing this? thanks


[ez] Autoformat python model parsers

[ez] Autoformat python model parsers
Want to keep these changes separate from functional changes next PR in stack
Ran
fd --glob '*.py'  python/src/aiconfig/default_parsers | xargs python -m 'scripts.lint' --mode=fix --files

Stack created with Sapling. Best reviewed with ReviewStack.

#739
-> #737

Can we run this on every PR? I think I autoformatted the whole repo, not ideal to keep doing it. cc everybody working on this @Ankush-lastmile @saqadri

Can we run this on every PR?

rather than run we should probably have a check


feature-128 - replace deprecated import { request } by useFetchClient;

What does it do?
Describe the technical changes you did.
Why is it needed?
Describe the issue you are solving.
How to test it?
Provide information about the environment and the path to verify the behaviour.
Related issue(s)/PR(s)
Let us know if this is related to any issue/pull request

Codecov Report
Attention: Patch coverage is 0% with 131 lines in your changes are missing coverage. Please review.

Project coverage is 0.83%. Comparing base (4521e3f) to head (9c29a78).

Files
Patch %
Lines

...ges/core/admin/screens/Patterns/EditPage/index.tsx
0.00%
25 Missing and 1 partial :warning:

...s/core/admin/screens/Patterns/CreatePage/index.tsx
0.00%
23 Missing and 1 partial :warning:

...ages/addons/sitemap/admin/state/actions/Sitemap.js
0.00%
20 Missing :warning:

packages/core/admin/api/url-alias.ts
0.00%
16 Missing :warning:

...ges/core/admin/screens/Patterns/ListPage/index.tsx
0.00%
12 Missing :warning:

...core/admin/components/EditView/Permalink/index.tsx
0.00%
8 Missing :warning:

...kages/core/admin/components/PatternField/index.tsx
0.00%
8 Missing :warning:

...ges/addons/sitemap/admin/containers/Main/index.jsx
0.00%
7 Missing :warning:

...ges/addons/sitemap/admin/components/Info/index.jsx
0.00%
4 Missing :warning:

...s/addons/sitemap/admin/components/Header/index.jsx
0.00%
3 Missing :warning:

... and 1 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##           master    #146      +/-   ##
=========================================
- Coverage    0.84%   0.83%   -0.01%
=========================================
  Files         190     190
  Lines        3212    3248      +36
  Branches      472     472
=========================================
  Hits           27      27
- Misses       2989    3025      +36
  Partials      196     196

Flag
Coverage Δ

unit
0.83% <0.00%> (-0.01%)
:arrow_down:

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Add a panic: true field on unknown errors from panics

cc @timsuchanek

Other TODO: return 255 on panics in the introspection engine.


Standard deviation function does not respect OriginScope

Discussed in https://github.com/atoti/atoti/discussions/690
The measure should preserve the values of the underlying measure at scope level or bellow.
This also impacts the var function that the std function depends on.

Originally posted by HuifangYeo September 16, 2022
Hi,
I'm trying to take the difference between two measures and apply standard deviation across the historical dates:

How do I view the differences at the historical dates level and the std at the portfolio level?

Hi @Skyscimitar, I see that a related PR has been merged in the server repo. Is the issue still there?


WIP: Quickstart Guide Updates

Updating quickstart guides, including adding instructions for Windows Subsystem for Linux. This will give Windows users a relatively convenient way to develop SciPy locally.
Update: Docker Quickstart (gh-10687) is now the one recommended for Windows users.

This will give Windows users a relatively convenient way to develop SciPy locally.

Could also just have a downloadable virtual machine image that would Just Work on any OS?  I'm thinking VirtualBox .ova, but maybe Windows Subsystem for Linux has a similar "appliance" concept?

So I'll move discussion to this issue instead of hijacking #8325.
@andyfaff Ok so the Docker method works well (behaves like a lightweight VM), and I can share my git repo folder with it, and it builds.
Any advice on how to best interact with it?  Seems like installing spyder etc into the container is not the way containers are meant to be used?  (They're generally meant for just running one process?)  Could run a spyder kernel inside the container and connect to it from outside?  But then editing the file isn't smooth: https://github.com/spyder-ide/spyder/issues/3065#issuecomment-511269829
Also, does it make sense for the python setup.py build scipy pip install . etc. to be moved into the Dockerfile?

Ok so the Docker method works well (behaves like a lightweight VM), and I can share my git repo folder with it, and it builds.

Great.
The advantage to a Docker approach to get people started quickly is that once prospective developers have got Docker installed and running, then the rest of the steps are the same, whatever the host OS. The container provides all the necessary machinery, such as compilers, etc. Unfortunately any build artefacts are then tied to the container OS.
In comparison, the sets of steps to build and develop in each OS are obviously more diverse, and harder to keep up to date. However, it's vital that people do attempt builds in their own OS because it's the only way that they can get dev versions of scipy installed on their own computer, and it keeps the build ecosystem healthy.

Any advice on how to best interact with it?

TLDR: it depends on how much interaction you need with the changes you're making. Very simple editing could be done from vi/emacs from within the container. However, my suggestion would be to use PyCharm (or whatever IDE you prefer) from the Host. If you mount the directory any files you change in the IDE will be visible in the container. When you've made enough changes you can then run the tests from the docker container, you don't need to run the whole test suite, running individual tests is possible with the runtests.py script.  It might be possible to install an IDE within the container then use X forwarding or VNC to see the GUI, but that definitely increases the level of difficulty. You could always start a Python session to explore the changes you make.

does it make sense for the python setup.py build scipy pip install . etc. to be moved into the Dockerfile?

No.

it takes a fair amount of time to compile scipy and it's better to build the docker container quickly
the git repository from the host OS is only available in the container when you run the container with a mounted volume. I'm not sure if you can use a local volume whilst building the container. You could clone your remote github branch into the container, but then it's not working from the repository on your computer.
there is a lot of churn in the scipy repository, you'd have to rebuild the container frequently
I'm not sure if the docker build process notices changes to a scipy repository from the last time the build was run.
if we want to make a Dockerfile available from a scipy project location for a quickstart purpose then we'd want the users to be mounting their own local clone of scipy. This is why I suggested removing the git clone step in the Dockerfile I provided.

@mdhaber I've just looked through the Ubuntu quickstart instructions. I'd say it's probably going to be a lot simpler to use a Docker container for a development quickstart on Linux.

@andyfaff

However, my suggestion would be to use PyCharm (or whatever IDE you prefer) from the Host. If you mount the directory any files you change in the IDE will be visible in the container. When you've made enough changes you can then run the tests from the docker container, you don't need to run the whole test suite, running individual tests is possible with the runtests.py script.

Right, I have that running, but I mean when I'm making changes to the code and want to try them out in practical situations, etc.  (For example, I want to run timing comparisons of different implementations of the same algorithm and make graphs of it: https://github.com/scipy/scipy/issues/10427)

It might be possible to install an IDE within the container then use X forwarding or VNC to see the GUI, but that definitely increases the level of difficulty. You could always start a Python session to explore the changes you make.

Hmm.  Sounds like running it as a spyder or jupyter server and running chunks of code at a time is the easiest.

* it takes a fair amount of time to compile scipy and it's better to build the docker container quickly

Would you ever want to do one and not the other though?

* the git repository from the host OS is only available in the container when you run the container with a mounted volume. I'm not sure if you can use a local volume whilst building the container.

Oh, that makes sense.

on Ubuntu, a shorter list of instructions (from a virgin install would be):

That would replace the system's scipy with scipy-dev, though, which could break things?
I guess instead of keeping scipy-dev isolated inside a conda environment, I could instead keep the conda-downloaded scipy build isolated inside a conda environment and activate it when needed?

I don't think any of the anaconda or homebrew steps are required.

No, the Anaconda steps aren't required. I find them helpful before trying to use conda, though.
And the Linuxbrew steps shouldn't be required, but I've found the Linuxbrew compilers to build SciPy more reliably than apt installed ones.
But yes, it would be great to also have quickstart instructions that use pip instead of conda, and in any case it would be great if we can figure out steps to reliably (on anyone's computer, without running into gh-8325 issues) build SciPy without Linuxbrew.

@peterbell10  haha I tried git rebase --onto master and ended up with this! (I didn't intend to change 101 files....) Thoughts on recovery? I do have a backup of my branch from before the rebase, if that helps.

I just did git rebase --onto upstream/master on this branch locally and after resolving a few conflicts,  I get the following log from git log upstream/master..quickstart_update
commit b073020d8e2255db3dccdcc1c88f6563d45542e7
Author: Matt Haberland<EMAIL_ADDRESS>Date:   Tue Sep 3 13:54:59 2019 -0700

    DOC: various corrections to quickstart guides

commit 971e4016665729ae76449ce8f2344d3adf9a5a6a
Author: Matt Haberland<EMAIL_ADDRESS>Date:   Tue Sep 3 11:25:54 2019 -0700

    DOC: fixed a whitespace error in Ubuntu quickstart

commit 281788740c39c99b170ccdfcade11e7a0c06b341
Author: Matt Haberland<EMAIL_ADDRESS>Date:   Sun Aug 18 12:55:28 2019 -0700

    DOC: suggest Docker instructions for Windows users

commit 1eb6b9258b1a61cb5399a9c20597f3c190f931f2
Author: Matt Haberland<EMAIL_ADDRESS>Date:   Sun Aug 18 12:51:52 2019 -0700

    DOC: revised instructions according to reviewer comments

commit 86ce0ee7b2c036cfad5c0fcd14fca9d27e844059
Author: Matt Haberland<EMAIL_ADDRESS>Date:   Sun Jul 14 19:09:18 2019 -0500

    DOC: removed old build instructions

    The old build instructions are out of date. The information they
    contain might at some point be reorganized to help users install
    without Anaconda, but for now they should be removed because they
    don't work reliably without modification.

commit f61d82854539e0feff08440e034772e5109eb690
Author: Matt Haberland<EMAIL_ADDRESS>Date:   Sun Jul 14 18:13:19 2019 -0500

    DOC: revised Ubuntu quickstart guide for use from Windows

    Windows Subsystem for Linux and Amazon EC2 instances make it relatively
    easy to create and use a SciPy development environment from a Windows
    machine.

commit 5a759605c6b1e250aacac3773b95b7e7ca91de9b
Author: Matt Haberland<EMAIL_ADDRESS>Date:   Sun Jul 14 18:13:19 2019 -0500

    DOC: revised Ubuntu quickstart

I was thinking that next time instead of git rebase --onto master, maybe git reset --hard master (locally) and then pull the commits back from the remote?

That would just create more merge commits.

Agree with @peterbell10's rebase advice. The --onto is optional, I normally type it as git rebase upstream/master. Pulling in random commits happens a lot, and it's hard to tell what people are doing wrong. Perhaps the original base branch wasn't master when the feature branch got created.

Well, I'll give it another shot next time something like this happens. For this one, a hard reset and pull from the backup did the trick. Thanks @peterbell10.

From my perspective, this is ready for squash merge if the documents render properly. The changes are mostly objective corrections, so while what was already in the guide is debatable, I think this is a needed update.

Oh, the joy of ReST: 30 minutes waiting for builds to verify that an invisible character turns:

into:

@tylerjereddy Would you take a look at these changes? It fixes an important mistake in the instructions for renaming the libgfortran.so file.

@mdhaber it looks like there is a conflict here now. Since this PR is so short, I propose that once you fix that I take a final look and (so long as it seems uncontroversial) I'll merge

@larsoner I tried to stick to just fixing merge conflicts, but I noticed that the numbered list in the macOS quickstart was not rendering so I fixed that, too.
I have not changed the instructions to avoid having to alter the conda base environment libgfortran.so file. To keep the diff readable, can I do that in a second PR?

The instructions in current master are already wrong, so I'm just going to merge this. But we should really address two issues in a follow-up:

no building in base, building twice is very odd
no messing with libgfortran. the problem is probably with Homebrew, using XCode compilers or conda compilers things work fine.

Merged, thanks @mdhaber, all!

I will change the tutorials to not build in base.
I didn't want to use Homebrew here. I know you didn't recommend it, @rgommers, but I had even more trouble with other compilers. I can try again sometime with other compilers, but it's important to find a procedure that will work for everyone, and this was the most robust I've found.

Actually, Homebrew is fine. I double checked, I have gfortran 8.3 from Homebrew, and also
$ ls ~/anaconda3/lib/libgf*
/Users/rgommers/anaconda3/lib/libgfortran.3.dylib
/Users/rgommers/anaconda3/lib/libgfortran.dylib

those do not conflict.

it's important to find a procedure that will work for everyone, and this was the most robust I've found.

yeah that's why I'm worried, this is definitely not robust. If you manually delete libgfortran you've just broken every installed package that relies on it.


hatsu: init at 0.2.0

Description of changes
add hatsu package.
closed #320169
Project description
Self-hosted & Fully-automated ActivityPub Bridge for Static Sites.
Metadata

homepage URL: https://github.com/importantimport/hatsu
source URL: https://github.com/importantimport/hatsu
license: agpl3Only
platforms: linux

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Thanks for the contribution; some feedback below:

Thanks for the review, I've made the suggested changes.

builds fine, but fails at runtime; not sure how this is meant to be tested/used

The variables HATSU_PRIMARY_ACCOUNT and HATSU_DOMAIN need to be set. This is a simple example:
HATSU_PRIMARY_ACCOUNT="kwaa.dev" HATSU_DOMAIN="hatsu.local" nix run .#hatsu

Result of nixpkgs-review pr 320173 run on x86_64-linux 1

1 package built:

hatsu

Thank you!


Need to create a dynamic editor

Right now, the web client editor is written and scaled for a 5x5 LED wall.
Should rewrite the code so that it can handle a wall of MxN size.
Thinking this should be handled by the LED wall itself.
When it connects to io, it sends its dimmensions to all users in the chat and
to all future users, so with that information they can render the right canvas size.

We want the default size of every pixel to be 20x20 in size. so if our device consists of 20x30 LEDs, then our resultant width would be ( 20 * 20 + 1, 20 * 30 + 1). We send the dimensions when the LED wall initially connects and immediately afterwards to any new users. We need to set that information in our vue app so that the canvas element can be resized dynamically.


Crashes with 2.39 (508)

Hi,
I have unexpected crashes with the new 2.39 (508) on 14.4. Not sure if It's related to the 14.4 update or a issue introduced in 2.39 as both updates happened nearly the same time.
It might be DNS-Related as I noticed DNS-Resolve did not response before the PacketTunnelProvider crashed, but established sessions were still working.
Some details from the crash report:
Process:               PacketTunnelProvider [89175]
Path:                  /Applications/Ziti Desktop Edge.app/Contents/PlugIns/PacketTunnelProvider.appex/Contents/MacOS/PacketTunnelProvider
Identifier:            io.netfoundry.ZitiPacketTunnel.PacketTunnelProvider
Version:               2.39 (508)
App Item ID:<PHONE_NUMBER>
App External ID:       864363436
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2024-03-20 08:41:12.1526 +0100
OS Version:            macOS 14.4 (23E214)
Report Version:        12
Anonymous UUID:        F51B24BE-BA06-6B57-84D3-4221BAC26570

Sleep/Wake UUID:       5A411442-ED32-457F-90A9-C951968D9304

Time Awake Since Boot: 460000 seconds
Time Since Wake:       3485 seconds

System Integrity Protection: enabled

Crashed Thread:        1  Dispatch queue: com.apple.root.default-qos

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x000000049dd823e0
Exception Codes:       0x0000000000000001, 0x000000049dd823e0

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [89175]

Thread 1 Crashed::  Dispatch queue: com.apple.root.default-qos
0   PacketTunnelProvider          	       0x1026681b0 ziti_write + 84
1   PacketTunnelProvider          	       0x102612674 0x102574000 + 648820
2   PacketTunnelProvider          	       0x102618870 0x102574000 + 673904
3   PacketTunnelProvider          	       0x102632020 ip4_input_hook + 460
4   PacketTunnelProvider          	       0x102629104 ip4_input + 80
5   PacketTunnelProvider          	       0x10261a408 on_packet + 84
6   PacketTunnelProvider          	       0x1025d6fc0 0x102574000 + 405440
7   PacketTunnelProvider          	       0x1026db1a0 0x102574000 + 1470880
8   PacketTunnelProvider          	       0x1026eb8e0 0x102574000 + 1538272
9   PacketTunnelProvider          	       0x1026db6f0 uv_run + 412
10  PacketTunnelProvider          	       0x1025eb8ec 0x102574000 + 489708
11  PacketTunnelProvider          	       0x1025f1c20 0x102574000 + 515104
12  PacketTunnelProvider          	       0x1025a84e8 0x102574000 + 214248
13  libdispatch.dylib             	       0x18e35c750 _dispatch_call_block_and_release + 32
14  libdispatch.dylib             	       0x18e35e3e8 _dispatch_client_callout + 20
15  libdispatch.dylib             	       0x18e370080 _dispatch_root_queue_drain + 864
16  libdispatch.dylib             	       0x18e3706b8 _dispatch_worker_thread2 + 156
17  libsystem_pthread.dylib       	       0x18e50afd0 _pthread_wqthread + 228
18  libsystem_pthread.dylib       	       0x18e509d28 start_wqthread + 8

Hi, and thanks for the report. Based on logs that you sent separately I think this crash will be fixed by v2.40, which I just pushed to test flight. Can you let me know if you see it with 2.40? Thanks.

Hi. Testflight still offers 2.39-505... will have an eye on it! Thanks a lot!


Data mapper config not visible in Windows unless High DPI scaling override is enabled

Description:
When trying to create a new data mapper config in Windows it doesn't let complete that action. In the config window there's no option to create a project. That window is not resizable as well.

In order to get past this, I had to enable High DPI scaling. The problem is, without this option, everything else (what I've tried so far) seems to be working. Only this dialog box had the problem. Can we maybe put this into the documentation so that if someone is having the same issue this can be used as a workaround?

Suggested Assignees:

Affected Product Version:
Integration Studio latest

OS, DB, other environment details and versions:
Windows 10

This issue is already fixed in the latest updates (Duplicated issue. You need to update the Integration studio and remove -Dswt.autoScale=100 from the IntegrationStudio/IntegrationStudio.ini file.


Why was external antenna removed from Sonoff Mini?

Why was external antenna removed from Sonoff Mini? I had to manually hack my sonoff Pow R2 to add an external antenna; whic are the safety concerns of an external antenna? My router is 50 meters away, behind a corner...

Hi,
Does the Raspberry Pi have an external antenna?
Today, access to repeaters is easier.

The external antenna of MINIR2 is moved to the interior, improving the use performance and safety.

https://itead.cc/product/sonoff-mini/


AppSync: Adding @key on a list field results in error when creating object: "Type mismatch for Index Key categories Expected: S Actual: L"

I recently added a @key direction to a schema so that I could search by that field, although I now get an error implying the previously correct data type is not what is expected. It says it expects a string but got a list, although the field is a list contain an enum.
Is it possible to query by a specific field without using @key? If not, how can I create records when the @key (seemingly) changes the expected type of a list to a string?
Below is my code, I added the @key to the categories list, but now when I try to create a new Journey I get the error shown below.

}

This is an example of the code used to create a Journey:
type CreateJourneyInput = {
  name: string;
  description?: string | null;
  coverImage?: string | null;
  isPrivate: boolean;
  categories: Array<JourneyCategory | null>;
  journeyCreatorId: string;
};
const journey: CreateJourneyInput = {
    name: 'My GraphQL Journey',
    description: 'This Journey was made using GraphQL minus DataStore!',
    isPrivate: false,
    categories: [JourneyCategory.EXMAMPLE],
    journeyCreatorId: userId
};
const result = await API.graphql(
    graphqlOperation(mutations.createJourney, { input: journey })
);

This is the full error:
"One or more parameter values were invalid: Type mismatch for Index Key categories Expected: S Actual: L IndexName: getJourneysByCategories (Service: AmazonDynamoDBv2; Status Code: 400; Error Code: ValidationException; Request ID: U4EB7HPO1GU5LHVAOPMGAJJHANVV4KQNSO5AEMVJF66Q9ASUAAJG)"

Amplify CLI Version
4.24.1
What AWS Services are you utilizing?
AppSync, DynamoDB

So I just removed the getJourneysByCategories key and the upload worked fine. What's happening here and why?
I just want to be able to query by categories - perhaps @key wasn't the right route to take? Does the key directive not work with lists?

For DynamoDB, primary key attributes need to be of type string, number, or binary. you cannot use a list type.
You want to search by category, but each Journey can have multiple categories. The better way to handle this within the Amplify / DynamoDB framework is to have another model called JourneyJourneyType (or find a good name), where each item contains exactly 1 category.  JourneyJourneyType can contain a @connection to the Journey items.
something along these lines (untested):
type Journey @model
  @auth(rules: [{ allow: owner, operations: [create, delete, update] }])
  @key(name: "getJourneysByName", fields: ["name"], queryField: "getJourneysByName") {
  id: ID!
  categories: [JourneyCategory!]!
}

type JourneyJourneyCategory @model
@key(name: "byCategoryOwnerDate", fields: ["category","owner","createdAt"]) {
  id: ID!
  journey: Journey! @connection
  category: JourneyCategory!
  owner: String! # you likely want to just get one owner's category
  createdAt: String! # you likely want to sort on createdAt from the main money
}

Thanks Ross, this solves my issue nicely. Seems obvious now 🙂


Fixes truncation of plain circuit drawers when used with matplotlib

Summary
This PR fixes #5393.
TODO:

~Fix the issue with extended lines when drawn with gates.~ Fixed.

Dont forget to check the tests here https://mybinder.org/v2/gh/paniash/qiskit-terra/chipped?urlpath=apps/test/ipynb/mpl_tester.ipynb
Also, you might want to add a test based on https://github.com/Qiskit/qiskit-terra/issues/5393

Dont forget to check the tests here https://mybinder.org/v2/gh/paniash/qiskit-terra/chipped?urlpath=apps/test/ipynb/mpl_tester.ipynb

All green!

Also, you might want to add a test based on #5393

Pardon but I'm not sure if I understand this. Could you elaborate?

Also, you might want to add a test based on #5393

Pardon but I'm not sure if I understand this. Could you elaborate?

No worries, just added in https://github.com/Qiskit/qiskit-terra/pull/5421/commits/2dd7cbbb24a426148a076000baa3e7cc2fbcaffe in case you are curious

No worries, just added in 2dd7cbb in case you are curious

Thanks! I'll keep this in mind when I open another PR. :)

Thanks and welcome to the community!

@1ucian0 @enavarro51 Thank you very much for all your help! Glad to be a part of the community. :)


are docs in guide/ folder out of date?

I don't see that ../tracker/rabit_demo.py file anywhere.  Also I am wondering what's the expected output for the first c++ demo in guide.md, coz the output i got makes no sense to me at all.
$ python2.7 basic.py
@node[0] before-allreduce: a=[ 0. 1. 2.]
@node[0] after-allreduce-max: a=[ 0. 1. 2.]
@node[0] after-allreduce-sum: a=[ 0. 1. 2.]

See #27

Duplicated #27 .


Search entities by territoryId

extend IRequestSearch by territoryId attribute. This would return all entities which were used as actants, actions, prop type/value, references, tags, identifications, and classifications within statements of selected territory.
Then, add this field to the search box.

@tomaham good point, this condition should be removed when user defines the territory.


Creating new metric for filtering 4xx errors

Creating a new metric for filtering 4xx errors - numTotal4xxFailedNotifications
Modifying the return of Notify function to return a boolean value is4xx. We will use this value to update the above metric in notify.go.

func (n *Notifier) Notify(ctx context.Context, alert ...*types.Alert) (bool, bool, error) { }

retry, is4xx, err := r.integration.Notify(ctx, sent...)

For this change we have to update the Notify function in all the integrations. For now masked this change by returning false for this variable from all other integrations. only updated this variable when coming from SNS. Will update this boolean value for other integrations after discussion with the community.
The is4xx variable is used to increment the metric inside exec function of the retry Stage. This variable helps in identifying if the error thrown is 4xx or not.

if is4xx {
       r.metrics.numTotal4xxFailedNotifications.WithLabelValues(r.integration.Name()).Inc()
}

Wrote a test TestRetryStageWithErrorCode in notify_test.go to test if this metric is getting incremented or not.

Files Impacted:
notify/email/email.go
notify/email/email_test.go
notify/notify.go
notify/notify_test.go
notify/opsgenie/opsgenie.go
notify/pagerduty/pagerduty.go
notify/pagerduty/pagerduty_test.go
notify/pushover/pushover.go
notify/slack/slack.go
notify/sns/sns.go
notify/telegram/telegram.go
notify/test/test.go
notify/victorops/victorops.go
notify/victorops/victorops_test.go
notify/webhook/webhook.go
notify/wechat/wechat.go

Ping @gotjosh @simonpasquier what do you think about this?

@roidelapluie @gotjosh @simonpasquier any comments on this?

Seems like I got tagged on this during some of my PTO and apparently I missed the ta - apologies about that.
I'm not sure this is the direction that I want to go. We have a alertmanager_notification_latency_seconds histogram that tracks the latency for notifications could we not add the status codes to that histogram as labels instead?
Keeping in mind that this would increase the number of series produced by the Alertmanager but perhaps there are some areas where we can compromise.
Off the top of my head:

Don't expose a series for integrations that don't have any configuration - right now we expose a series for all integrations regardless of whether they're used or not.
If we think that including status_code would be a cardinality issue, an alternative could be to use 2xx, 3xx, 4xx and 5xx as the status code to reduce the number of series.

One last thing I'd like to get some clarity on is: What exactly is the problem that you're trying to solve here? In my experience notifications_failed_total has been enough to be able to tell if integration is correctly or not.

Hi Josh. Thanks a lot for your comments. The main problem that we are trying to solve is to identify the notification failure from customer input failure (permission deny from integrations for example that is expected to happen) with the programatic error (the programatic error + integrations 5xx error). To address concern of the cardinality issue, we could do

Publish a new metric for SNS integration 4xx
Publish a notifications_failed_total with 4xx and 5xx labels

Please let us know what's your preference

Discussed this during the Alertmanager Working Group - closing due to https://github.com/prometheus/alertmanager/pull/3094 being merged.


new chrome version breaks

not sure if this is a school imposed update, but version 128.0.6613.13.133 seems to break ONC importing. any idea if this is fixable?

not sure if this is a school imposed update, but version 128.0.6613.13.133 seems to break ONC importing. any idea if this is fixable?

If you updated ChromeOS, which prompts Google Enterprise Endpoint Verification to reimport new restrictions, your district may have blocked something. If you can access chrome://network, ONC should work. Check Settings (App) -> Wi-Fi -> Desired Network -> Name Servers. If the name servers category is grayed and you cannot edit it, ONC would be broken.
128.0.6613.13.133 doesn't really do anything, as far as what I read in Google's update logs. My testing devices work completely fine though.


Having trouble mocking websockets under python 3.5/36

I am having trouble mocking websockets, which I was able to do under python34 but breaks in python 35/36.
I am double-raising an issue, since I'm not sure if the resolution is on the asynctest side or the websockets side.
https://github.com/Martiusweb/asynctest/issues/84

Here's what I do, and it works with asynctest 0.11+ and websockets 4.0

class WebsocketProtocol(unittest.mock.Mock):
    def __await__(self):
        return self
        yield None  # pylint: disable=unreachable

class TC(asynctest.TestCase):
    def test_method(self):
        protocol = WebsocketProtocol()
        with asynctest.patch('websockets.connect', return_value=protocol) as connect_mock:
            # do stuff here

The __await__ method on the mocked protocol class is the secret sauce for python 3.5+ to get the await/async to work. It's not needed in 3.4.
Basically, the mere presence of the yield keyword turns the function into a generator at parse time. At run time, the generator exits immediately and returns its mocked self for consumption by your tested code.
HTH

@RemiCardona Do you think it would be useful to refactor (some of) websockets' tests to take advantage of asynctest?

@aaugustin we've been using asynctest for a while and I have mixed feelings about it:
+ it generally works, allowed us to remove a lot of bespoke asyncio+unittest code (not unlike the one in websockets' tests ;) )
+ it has a time-controlled loop which looks like a gift from the gods…
- … but I haven't tried it yet so no comment on its value
- the documentation lacks simple and straightforward examples
- no proper async/await support, hence my eye-hemorrhage-inducing code above
- every other minor release breaks our tests due to subtle semantic changes
That last one is my most recent and frequent gripe with asynctest but then again, the core (c)python APIs for asyncio/coroutines/awaitables/yield from/… is all over the place if you want to support 3.4, 3.5 and 3.6. So I'm not blaming asynctest folks (too much) here. But using asynctest does have a maintenance cost in my experience.
My 2¢ :)

I do think the tests should be refactored as there is currently a lot of repetition, etc. However, I don't think a third-party library is needed. In my experience, it's enough to define a few light-weight test decorators. That also gives you the advantage of finer control without the disadvantages of a dependency.
My PR here adds one test starting towards what I'd recommend, and my comment here provides a bit more explanation of the approach.

Thanks, @RemiCardona, with your suggestion (and a patch to asynctest) I was able to get my tests passing.   I will follow up with the asynctest folks to drive a fix forward on their end.

Hi @RemiCardona,
Thanks for your inputs on asynctest. The lack of doc and instabilities are the main issue I'd like to solve.
Fixing the documentation is trivial but requires time (I can only work on asynctest on my spare time since more than one year).
But I need help to fix the unstable releases as I don't receive much feedback from users. In particular, no one really tests the master branch of asynctest, and breakages are always noticed after the release. I'd be very happy to test the latest commits of asynctest against your projects.
About the missing support of async/await, I'm not sure what exactly is missing so maybe we can discuss that in the issues tracker of asynctest :)
(Sorry for the noise on this ticket)


[BUG] System.IO.IOException: A operação solicitada não pode ser executada em um arquivo com uma seção mapeada pelo usuário aberta. : 'C:\Users\User\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\fonts\NotoNaskhArabicUI-Regular.ttf'

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[X] I have thoroughly looked through the available Wiki articles and could not find a solution to my problem.
[X] I am using the latest version of Bloxstrap.
[ ] I did not answer truthfully to all the above checkboxes.

Bloxstrap Version
v2.8.4
What problem did you encounter?
Não estou conseguindo entrar no Bloxtrap eu já instalei e desinstalei várias vezes e não consigo entrar no jogo ou entrar pelo bloxstrap fica sempre travado na parte de "Configurando Roblox..."

Bloxstrap Log
System.IO.IOException: A operação solicitada não pode ser executada em um arquivo com uma seção mapeada pelo usuário aberta. : 'C:\Users\User\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\fonts\NotoNaskhArabicUI-Regular.ttf'

esqueci de colocar o registro
2024-12-27T21:45:44Z [App::OnStartup] Starting Bloxstrap v2.8.4
2024-12-27T21:45:44Z [App::OnStartup] Compiled Friday, 27 December 2024 at 5:39:47 PM from commit 534e3bbc0e3a205b7fef9949a1173e9efbaea20e (tag/v2.8.4)
2024-12-27T21:45:44Z [App::OnStartup] Loaded from %UserProfile%\Downloads\Bloxstrap-v2.8.4.exe
2024-12-27T21:45:44Z [App::OnStartup] Temp path is %UserProfile%\AppData\Local\Temp\Bloxstrap
2024-12-27T21:45:44Z [App::OnStartup] WindowsStartMenu path is %UserProfile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs
2024-12-27T21:45:44Z [App::OnStartup] Entering main logic
2024-12-27T21:45:44Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Bloxstrap\Logs\Bloxstrap_20241227T214544Z.log
2024-12-27T21:45:44Z [Logger::Initialize] Finished initializing!
2024-12-27T21:45:44Z [Logger::Initialize] Cleaning up old log file 'Bloxstrap_20241220T204955Z.log'
2024-12-27T21:45:44Z [JsonManager::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Settings.json...
2024-12-27T21:45:45Z [JsonManager::Load] Loaded successfully!
2024-12-27T21:45:45Z [JsonManager::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\State.json...
2024-12-27T21:45:45Z [JsonManager::Load] Loaded successfully!
2024-12-27T21:45:45Z [FastFlagManager::Load] Loading from %UserProfile%\AppData\Local\Bloxstrap\Modifications\ClientSettings\ClientAppSettings.json...
2024-12-27T21:45:45Z [FastFlagManager::Load] Loaded successfully!
2024-12-27T21:45:45Z [LaunchHandler::ProcessLaunchArgs] Opening menu
2024-12-27T21:45:48Z [LaunchHandler::ProcessNextAction] Opening Roblox
2024-12-27T21:45:48Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper
2024-12-27T21:45:48Z [LaunchHandler::LaunchRoblox] Initializing bootstrapper dialog
2024-12-27T21:45:49Z [Bootstrapper::Run] Running bootstrapper
2024-12-27T21:45:49Z [Bootstrapper::SetStatus] Conectando-se ao Roblox...
2024-12-27T21:45:49Z [Deployment::TestConnectionhttps://setup.rbxcdn.com] Connecting...
2024-12-27T21:45:49Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/versionStudio
2024-12-27T21:45:49Z [Deployment::InitializeConnectivity] Testing connectivity...
2024-12-27T21:45:49Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/versionStudio
2024-12-27T21:45:49Z [Deployment::InitializeConnectivity] Got https://setup.rbxcdn.com as the optimal base URL
2024-12-27T21:45:49Z [Bootstrapper::Run] Connectivity check finished
2024-12-27T21:45:49Z [Bootstrapper::CheckForUpdates] Checking for updates...
2024-12-27T21:45:49Z [HttpClientLoggingHandler::ProcessRequest] GET https://api.github.com/repos/bloxstraplabs/bloxstrap/releases/latest
2024-12-27T21:45:50Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://api.github.com/repos/bloxstraplabs/bloxstrap/releases/latest
2024-12-27T21:45:50Z [Bootstrapper::CheckForUpdates] No updates found
2024-12-27T21:45:50Z [Bootstrapper::GetLatestVersionInfo] Got channel as production
2024-12-27T21:45:50Z [Deployment::GetInfo] Getting deploy info for channel production
2024-12-27T21:45:50Z [HttpClientLoggingHandler::ProcessRequest] GET https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-12-27T21:45:50Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://clientsettingscdn.roblox.com/v2/client-version/WindowsPlayer
2024-12-27T21:45:50Z [RegistryKeyEx::SetValueSafe] Writing '' to HKEY_CURRENT_USER\SOFTWARE\ROBLOX Corporation\Environments\RobloxPlayer\Channel\www.roblox.com
2024-12-27T21:45:50Z [HttpClientLoggingHandler::ProcessRequest] GET https://setup.rbxcdn.com/version-b71c150c7c1f40de-rbxPkgManifest.txt
2024-12-27T21:45:50Z [HttpClientLoggingHandler::ProcessResponse] 200 OK https://setup.rbxcdn.com/version-b71c150c7c1f40de-rbxPkgManifest.txt
2024-12-27T21:45:50Z [Bootstrapper::SetStatus] Instalando {product}...
2024-12-27T21:45:50Z [Bootstrapper::KillRunningRobloxInDirectory] Failed to close process 27464
2024-12-27T21:45:50Z [Bootstrapper::KillRunningRobloxInDirectory] (0x80004005) System.ComponentModel.Win32Exception (5): Acesso negado.
at System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited)
at System.Diagnostics.NtProcessManager.GetModules(Int32 processId, Boolean firstModuleOnly)
at System.Diagnostics.NtProcessManager.GetFirstModule(Int32 processId)
at Bloxstrap.Bootstrapper.KillRunningRobloxInDirectory(String path)
2024-12-27T21:45:55Z [Bootstrapper::UpgradeRoblox] Failed to delete the latest version directory
2024-12-27T21:45:55Z [Bootstrapper::UpgradeRoblox] (0x80070005) System.UnauthorizedAccessException: Access to the path 'CustomFont.ttf' is denied.
at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
at Bloxstrap.Bootstrapper.UpgradeRoblox()
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.RobloxApp.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-avatar.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Extracting RobloxApp.zip...
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Extracting content-avatar.zip...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-configs.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Extracting content-configs.zip...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-fonts.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Extracting content-fonts.zip...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-models.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Extracting content-models.zip...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-sky.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-sounds.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Finished extracting content-configs.zip
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Extracting content-sky.zip...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.shaders.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.ssl.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Finished extracting content-models.zip
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Extracting content-sounds.zip...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-textures2.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Finished extracting content-avatar.zip
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-textures3.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-terrain.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Finished extracting content-sounds.zip
2024-12-27T21:46:06Z [Bootstrapper::ExtractPackage] Extracting shaders.zip...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-platform-fonts.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.content-platform-dictionaries.zip] Package is already downloaded, skipping...
2024-12-27T21:46:06Z [Bootstrapper::DownloadPackage.extracontent-places.zip] Package is already downloaded, skipping...
2024-12-27T21:46:07Z [Bootstrapper::DownloadPackage.extracontent-luapackages.zip] Package is already downloaded, skipping...
2024-12-27T21:46:07Z [Bootstrapper::DownloadPackage.extracontent-translations.zip] Package is already downloaded, skipping...
2024-12-27T21:46:07Z [Bootstrapper::DownloadPackage.extracontent-models.zip] Package is already downloaded, skipping...
2024-12-27T21:46:07Z [Bootstrapper::ExtractPackage] Finished extracting content-sky.zip
2024-12-27T21:46:07Z [Bootstrapper::ExtractPackage] Extracting ssl.zip...
2024-12-27T21:46:07Z [Bootstrapper::ExtractPackage] Finished extracting ssl.zip
2024-12-27T21:46:07Z [Bootstrapper::ExtractPackage] Extracting content-textures2.zip...
2024-12-27T21:46:07Z [Bootstrapper::ExtractPackage] Extracting content-textures3.zip...
2024-12-27T21:46:07Z [Bootstrapper::DownloadPackage.extracontent-textures.zip] Package is already downloaded, skipping...
2024-12-27T21:46:07Z [Bootstrapper::DownloadPackage.WebView2.zip] Package is already downloaded, skipping...
2024-12-27T21:46:07Z [Bootstrapper::DownloadPackage.WebView2RuntimeInstaller.zip] Package is already downloaded, skipping...
2024-12-27T21:46:07Z [Bootstrapper::DownloadPackage.redist.zip] Package is already downloaded, skipping...
2024-12-27T21:46:07Z [Bootstrapper::SetStatus] Configurando {product}...
2024-12-27T21:46:08Z [Bootstrapper::ExtractPackage] Finished extracting content-textures3.zip
2024-12-27T21:46:08Z [Bootstrapper::ExtractPackage] Extracting content-terrain.zip...
2024-12-27T21:46:08Z [Bootstrapper::ExtractPackage] Finished extracting content-terrain.zip
2024-12-27T21:46:08Z [Bootstrapper::ExtractPackage] Extracting content-platform-fonts.zip...
2024-12-27T21:46:08Z [Bootstrapper::ExtractPackage] Extracting content-platform-dictionaries.zip...
2024-12-27T21:46:08Z [Bootstrapper::ExtractPackage] Finished extracting content-platform-dictionaries.zip
2024-12-27T21:46:08Z [Bootstrapper::ExtractPackage] Extracting extracontent-places.zip...
2024-12-27T21:46:08Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-places.zip
2024-12-27T21:46:08Z [Bootstrapper::ExtractPackage] Extracting extracontent-luapackages.zip...
2024-12-27T21:46:09Z [Bootstrapper::ExtractPackage] Extracting extracontent-translations.zip...
2024-12-27T21:46:09Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-translations.zip
2024-12-27T21:46:09Z [Bootstrapper::ExtractPackage] Extracting extracontent-models.zip...
2024-12-27T21:46:10Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-luapackages.zip
2024-12-27T21:46:10Z [Bootstrapper::ExtractPackage] Extracting extracontent-textures.zip...
2024-12-27T21:46:10Z [Bootstrapper::ExtractPackage] Finished extracting shaders.zip
2024-12-27T21:46:10Z [Bootstrapper::ExtractPackage] Extracting WebView2.zip...
2024-12-27T21:46:10Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-models.zip
2024-12-27T21:46:10Z [Bootstrapper::ExtractPackage] Extracting redist.zip...
2024-12-27T21:46:10Z [Bootstrapper::ExtractPackage] Finished extracting redist.zip
2024-12-27T21:46:12Z [Bootstrapper::ExtractPackage] Finished extracting extracontent-textures.zip
2024-12-27T21:46:13Z [Bootstrapper::ExtractPackage] Finished extracting RobloxApp.zip
2024-12-27T21:46:14Z [Bootstrapper::ExtractPackage] Finished extracting content-textures2.zip
2024-12-27T21:46:14Z [LaunchHandler::LaunchRoblox] Bootstrapper task has finished
2024-12-27T21:46:14Z [LaunchHandler::LaunchRoblox] An exception occurred when running the bootstrapper
2024-12-27T21:46:14Z [App::FinalizeExceptionHandling] (0x800704C8) System.IO.IOException: A operação solicitada não pode ser executada em um arquivo com uma seção mapeada pelo usuário aberta. : '%UserProfile%\AppData\Local\Bloxstrap\Versions\version-b71c150c7c1f40de\content\fonts\NotoNaskhArabicUI-Regular.ttf'
at Bloxstrap.Bootstrapper.<>c.<.ctor>b__25_0(Object _, ScanFailureEventArgs e)
at ICSharpCode.SharpZipLib.Zip.FastZipEvents.OnFileFailure(String file, Exception e)
at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractFileEntry(ZipEntry entry, String targetName)
at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractEntry(ZipEntry entry)
at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(Stream inputStream, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime, Boolean isStreamOwner, Boolean allowParentTraversal)
at Bloxstrap.Bootstrapper.ExtractPackage(Package package, List`1 files)
at Bloxstrap.Bootstrapper.<>c__DisplayClass38_1.b__6()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.<>c.<.cctor>b__272_0(Object obj)
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
--- End of stack trace from previous location ---
at Bloxstrap.Bootstrapper.UpgradeRoblox()
at Bloxstrap.Bootstrapper.Run()
at Bloxstrap.Bootstrapper.Run()
2024-12-27T21:46:14Z [HttpClientLoggingHandler::ProcessRequest] POST https://bloxstraplabs.com/metrics/post-exception
2024-12-27T21:46:15Z [HttpClientLoggingHandler::ProcessResponse] 429 Too Many Requests https://bloxstraplabs.com/metrics/post-exception

O problema parece ser com um ficheiro de tipo de letra. Podias tentar executar o Bloxstrap sem esse ficheiro?

O problema parece ser com um arquivo de fonte. Você poderia tentar executar o Bloxstrap sem esse arquivo?

Como que eu posso tirar o arquivo de fonte?


Missing OpenGLES?

I'm seeing errors that OpenGLES.lib is missing. I can see libGLESv2.lib as a prebuild dependency. Am I missing a pre-req?

I'd wager you haven't built //WinObjC/build/build(.W*).sln yet. That will build all the prerequisites for the samples.

Alternatively, you can download a prebuilt SDK -- check under "Releases".

Thanks, that fixed it. Is that a missing step in the readme?

The quick start instructions in the readme mention extracting the SDK and building the sample from there. It's assumed if you're starting from source you won't get any premade binaries. See the wiki for more complete build instructions.

OK, so I did build the package and extracted it to a path, but how do I set up WOCCatalog to actually look at the said path for the libraries?
Na magic is happening, getting the following error:
LINK : fatal error LNK1181: cannot open input file 'OpenGLES.lib'
I am an iOS developer absolutely new to VS and this instruction - IMO - is worth having in the README...

OK, got it, so you need to open the sample from the built SDK folder, not the sources, my bad.

1st Question: First time while building the build file , it successfully built and generated the sdk. And everything went fine. Now again I built the build . Its showing this error.
Error	: cannot open input file 'StarboardWin32.lib'	Package	D:\PortingPOC\WinObjC-master\build\Package\LINK	1
2nd Question: I tried building the sample projects , it worked fine. Now using vsimporter.exe from cmd , I got the solution file for my ios project but it throws the following error.
Error	LNK1181	cannot open input file 'StarboardXaml.lib'
D:\PortingPOC\WinObjC-master\build\SDKPackage\Release\samples\trialView\trialView.vsimporter\trialView-WinStore10\LINK	1

I'm seeing this same cannot open input file 'OpenGLES.lib' error.

I'd wager you haven't built //WinObjC/build/build(.W*).sln yet.

The above step is not in the readme?
I followed these directions from the readme:

Extract the SDK zip file to a local directory
Navigate to winobjc/samples/WOCCatalog in the extracted directory
Double-click on WOCCatalog-WinStore10.sln to open in VS2015
In VS2015 right-click on the WOCCatalog (Universal Windows) project
Select Set as StartUp project
Use Ctrl-F5 to build and run the app

Thank you so much!


[5.0] Revert "Future-proof the ARM64 ABI..."

This reverts commit 478d2b2552ee322212de9b12935869899dad3a06 (#21015).
This patch does not work with our current assumptions about BridgeObject.
This is ABI-affecting and important for convergence.

@swift-ci Please test.


">" doesn't affect the last selected line when cursor in the first column and selection=exclusive

To Reproduce

Run vim --u NONE
Do:

:set selection=exclusive<cr>
i
foo<cr>bar<esc>
0kv>

Expected behavior
The two lines get indented
Actual behavior
Only the first line gets indented
Environment

Vim version: 8.1, patches 1-320
OS: Ubuntu 19.04, KDE Plasma 5.15 (X version)
Terminal: Konsole

The two lines get indented

Sounds correct to me. You are moving upwards and start visual mode on the first line. Why would you expect the second line to be indented? BTW, I don't see how the 'selection' option is relevant here.

Oh I'm sorry, it should have been 0vk>. That is, selecting the two lines, but an "empty" selection on the second line, with the selection end boundary to the left of "bar". Then, with selection=inclusive, the ">" operation works linewise as you'd expect and indents both of the rows, whereas with selection=exclusive, the second row gets ignored. I assume this is because no characters on the second row are selected, but it would still make more sense for ">" to be linewise  and only care about the rows selected, not the characters.

With "exclusive" the cursor position is excluded, thus the second line is not in the Visual area.
If you want to include it, use linewise selection.


[FEATURE] Proxy configs for multiple environments

Is your feature request related to a problem? Please describe.
Currently the proxy config for local development is in package.json, but if we want switch between on-demand sandboxes, then package.json must be changed. Sometimes after working the devs forgot to change the package.json.
Describe the solution you'd like
proxy or complete mobify config in package.json should be moved in separate config file.
Ideally we can make multiple environment configs.
Describe alternatives you've considered
Additional context

Hi René,
We have actually just merged a feature to the SDK allowing for environment specific configuration files. You can see the PR here. But the gist of it is that we'll resolve which configuration file is used based on your current environment.
If you code is running remotely (on managed runtime) the file used will be determined via the current environments name. So if your code is running on an environment called staging, then the SDK will first look for a configuration file called config/staging.*. If there is no configuration file with that name it will look for one with the name default, and if that isn't found, it will look in the pacakage.json file for the configuration.
Similarly when you are developing locally, each developer can create their own config file called config/local.* this file by default will not be committed to github (if that is what you use) as it is listed in the .gitignore for newly generated projects. That file can have is where the developer can make changes specific to their environment (e.g. connections to their own ODS). Similarly if there is no local config, we'll fallback to looking at the default or config in the package.json.
We're looking to make a release of this feature really soon, so keep your eye out. I'm also happy to answer any other questions you have.
Ben

Today, you can also override the proxy configs using environments variables:
https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/proxying-requests.html#overriding-proxy-configurations-with-environment-variables
To use this across dev you might re-wire npm start to load a .env file and have it inject SSR_PROXY1=https://my-ods.

@bendvc & @johnboxall Thank you very much for this info :) Then we use the next days the env variables and waiting for the next version.
Last question, if the new config handling is released, the mobify config part in the package.json can be deleted? Because in the PR i didn't saw the deletion.

@bendvc & @johnboxall Thank you very much for this info :) Then we use the next days the env variables and waiting for the next version. Last question, if the new config handling is released, the mobify config part in the package.json can be deleted? Because in the PR i didn't saw the deletion.

If you aren't generating a new project, only upgrading the SDK in an existing retail react app, you can't just delete it as config/default.js will not exist. You can however move the content into a newly created default.js file in the config folder and only then safely remove the mobify section. Put you don't have to do that to take advantage of per environment configs, you can simply create a locale.js developer config, or environment level config (like production.js) and it will use those only defaulting back to the mobify section of the package.json if none are found.
I'll look into a follow up for removing the mobify section in newly create retail react apps 👍


Update SDK and JSON.NET package references

One wordsmithing nit, one possible functional issue. Otherwise LGTM.


Add screenshots to readme.

Hello! Some screenshot that shows how your application looks like could be a great idea.

Hello @Cosaquee
Thanks :-) you're right about this. Feel free to work on it if you want.


Making debugging game easier: Log event listeners

As noted by @jacwah:

Tip for future self: give creatures a health value or they will be removed immediately...

This could be made easier if there were a log of what events has been triggered and when/how they were triggered.
This could use a modification to the event handlings system, where in addition to a method that handles the event, there'd be a separate method to determine if the event will be handled. Many event listeners do something like:
if (event....) {
    return;
}

that is, there's a filter included within the event listener itself for whether or not to process the event, extract this. And then use some sort of logging to inform when and what listeners are called in the game.

might be a good opportunity to do something about this while addressing #113.


Added Google Authorisation and edited the NavBar to show user name an…

Closes : #7

I Have added the Google Authorisation Login / SignOut  Functionality in the Navbar
I have also  Edited the Navbar to show the User name (The one who is Signed in ) and Gmail account picture (It Looks Cool😉)
This Functionality  will only work on Development Environment and Not the Production Environment as you guys have not put it out on production yet . Once It's Out for Production  You guys can contact me and  I will update the Authorised Javascript Origins and update the URL's over there so that it can work both on the development and Production environment (Just email me❤)

@ArinCodes great job bro

Keep in mind to remind me when you guys push the site into production. I"ll update the URLs in my google console

Keep in mind to remind me when you guys push the site into production. I"ll update the URLs in my google console

yeah sure

Hey !!can you add hacktoberfest-accepted label in the PR so it can get accepted in Hacktoberfest

@ArinCodes you there bro, we deployed the site for testing purposes


Fix Gluetun name on the CasaOS store

Change the name from Glutun to the correct docker name "Gluetun" on the CasaOS store data.

Thank you for fixing this. My bad.