Cannot start Modpack with AUTO_CURSEFORGE

Describe the problem
I'm trying to run the Fantasy Minecraft Modpack with AUTO_CURSEFORGE, getting a lot of errors, not being able to start the server. For reference, I've tried to run the server directly without docker and it works fine. Also, I tried it with GENERIC_PACK and it doesn't work either.
The image I used in docker was first latest, then tried with java19 just to make sure that wasn't the issue. Same problem.
Container definition
  minecraft:
    image: itzg/minecraft-server:java19
    container_name: minecraft
    ports:
      - 25565:25565
    environment:
      EULA: "TRUE"
      VERSION: "1.19.2"
      OVERRIDE_SERVER_PROPERTIES: "true"
      ENABLE_AUTOPAUSE: "true"
      RCON_PASSWORD: "[password]"
      TYPE: "AUTO_CURSEFORGE"
      CF_API_KEY: '[apkey]'
      CF_PAGE_URL: "https://www.curseforge.com/minecraft/modpacks/fantasy-minecraft-fabric"
      CF_BASE_DIR: "/mods"
    volumes:
      - /home/ubuntu/docker/config/minecraft/data:/data
      - /home/ubuntu/docker/config/minecraft/mods:/mods
    tty: true
    stdin_open: true
    restart: unless-stopped

Container logs
fantasyMC.log

What do you have in your mods directory?

What do you have in your /home/ubuntu/docker/config/minecraft/mods directory?

Right now, nothing. I assumed that's where the mods went automatically. But that was also added after just having a data directory and it not working. I was moving to a modpack from a vanilla world so wanted the mods in another folder but it didn't work anyway. I tried the modpack with that mods folder attached, and without

Also why do you CF_BASE_DIR set?

This was again from when I wanted the mods to be in /mods but that didn't work (as in it didn't fix anything, server still wouldn't start)

Thanks for clarifying. For future reference /mods is used as a source of mods where mods are always installed into /data/mods

I see. Is it possible that the issue is some mods in this modpack is not distributed by CF and they need to be downloaded manually?

Yes:
[mc-image-helper] 09:07:31.410 WARN  : The authors of the mod 'Wabi-Sabi Structures [FABRIC]' have disallowed project distribution. Manually download the file 'Wabi-Sabi Structures - 1.1.2' from https://www.curseforge.com/minecraft/mc-mods/wabi-sabi-structures-fabric and supply the mod file separately.

...and that will be a good use for the /mods mount, where you can stage those files that need to be manually downloaded

I thought so. There are a lot of mods that can't be distributed that way it seems. I only know so because I tried to install on my client and I needed to install around 20 mods manually. Is there an easy way to do that?

Is there an easy way to do that?

No. The authors have indicated the easy way is not allowed.

Please refer to the information about exclude/includes to adjust mod content
https://github.com/itzg/docker-minecraft-server#auto-curseforge-management
Beyond that I can't offer any support for particular modpacks.

I see, fair enough. Your container has 2 very cool functionalities that are so simply implemented with just an environment variable - AUTOPAUSE and RCON - so I was hoping to get it working through docker itself. I'll try to get those to work with the normal non-docker version instead. Thanks for at least pointing me in the right direction.


bug

Hello big guy, Itested your webui in qb 4.1.9 and qb 4.3.3,but they can not be used, I quite like your interface, but I don't know what to do here, you can come up with a graphic tutorial? I'd better see what went wrong

Hey, sorry for the late follow-up, what seems to be the issue?

Hey, sorry for the late follow-up, what seems to be the issue?

When I point the alternate webui path to your folder, I just get a blank page with an infinite login loop. Why?

That's really strange, i'm not sure what could be causing that issue.  I've only tested this UI with the latter approach.

It seems like your problem is related to #163. Unfortunately i'm not aware of any good workarounds, hopefully you can find some help in that thread.


Is it time to remove flatbuffers 1.12?

We define two flatbuffers packages, one for version 1.12 and one for version 2.0. The package for version 1.12 no longer builds on Hydra with clang.
Upstream has the fixes needed but only for version 2.0. The version 1.12 branch does not appear maintained, and there have not been any commits to it since March of 2020.
We can continue to maintain this (e.g. we can disable warnings, or we can adapt those fixes to 1.12 and patch them), but perhaps we could drop support for the old version altogether?
ZHF: #172160
/cc @teh @cpcloud

Disabling -Werror is always reasonable, but if there's no users left in nixpkgs I think it's ok to drop it. Unless the maintainer @teh or someone else still has a use for this.

flatbuffers_1_12 is unused and can be safely removed.


introduce Set.Any and Set.All

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 12 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 15.709%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
320

Relevant Lines:
2037

💛  - Coveralls


Properties doesn't show up properly

Viewing the properties of a file or folder doesn't work as intended.
Didn't modify installation in any way, just installed Files UWP a few hours ago. Installed version 0.5. Upon viewing the properties of a file in Files UWP, the following shows up:

I tried other files to see if it was the file's fault but all the files I tried returned with the same thing.
Now for folders, its a bit different. If you right click a folder and press 'Properties', nothing will show up. But, if you press Properties from the ribbon, it will show up the same thing it shows for files.

This is not anything you are doing wrong nor is it a bug, it is not done being implemented. This feature is planned to be included for the store release #142


High Resolution Sleep on Windows

There's a new flag CREATE_WAITABLE_TIMER_HIGH_RESOLUTION that can be used with CreateWaitableTimerExW on Windows.  This can be used to sleep for a more precise duration compared to Sleep, which only has around 1ms precision and will sometimes sleep for a long time.  LÖVR currently uses a 0-millisecond sleep at the end of each frame intended as a "yield", which I don't think would benefit from this.  It would only really be useful for Lua code that uses lovr.timer.sleep for short durations.
Available on Windows 10 1803, so there would need to be a fallback to Sleep.

Confirmed that lovr.timer.sleep has 15ms resolution on windows (though it's a global property on some versions of windows so it depends).
Initial test of the high resolution timer is successful and allows for sleeps down to 500us resolution.
Zero-duration sleeps should still use Sleep though because it only yields for a few hundred nanoseconds whereas a zero-duration high-resolution sleep will still wait for 500us.


Set up infrastructure

poetry
pytest
mypy
coverage & codecov

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@42cb7bd). Click here to learn what that means.
The diff coverage is n/a.

@@          Coverage Diff           @@
##             main      #1   +/-   ##
======================================
  Coverage        ?   89.2%
======================================
  Files           ?       4
  Lines           ?      28
  Branches        ?       0
======================================
  Hits            ?      25
  Misses          ?       3
  Partials        ?       0

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 42cb7bd...792622d. Read the comment docs.


make docs coherent with values.yaml

What this PR does / why we need it:
Fix README so it matches what is actually used in values.yaml

This change is

/assign @simonswine

/size XS

/assign @unguiculus

/assign @icereval

/assign @simonswine

This was partly obsoleted by another PR - closing and coming back with a fix for the rest.


input configuration to switch a test active / inactive

allow enabling / disabling of individual tests based on a configuration input file into the test.
This allows for control based on configuration to disable specific tests
Related to #13 you can use this framework internals to allow the reading of a configuration, and driving the enabling / disabling of each test as required.

Rearrange switches in the main for ut-core, due to this.
Add switch to support platform --profile

e.g.
hdmiProfile.yml
hdmicec:
  config:
    extendedEnumsSupported: false

Passing a profile into the testing suite

./hdmi_cec -p hdmiProfile.yml

then in the testing code you would perform
bool extendedEnumsSupported = ut_kvp_getBoolField( ut_getPlatformProfile(), ""hdmicec/config/extendedEnumsSupported" );
if ( extendedEnumsSupported == false )
{
   /* Complete suite is disabled due to supportExtendedEnums == false */
    pSuite = UT_add_suite("test extended functions ", NULL, NULL );

    UT_add_test(pSuite, "test extended bool", test_bool);
    UT_add_test(pSuite, "test extended string", test_string);
    UT_add_test(pSuite, "test extended uint32", test_uint32);
}

So basically:
void *ut_getPlatformProfile( void ) → Needs to be added to the ut_main.c ut-.h, whereas part of the switch processing the global is set up by loading via file during the processing of the -p switch.
Example of profile for HDMI
hdmi:
 config:
   extendedEnumsSupported: true
  test:
   basic_edid:
     header:
      manufacturer_id: "SAM"
      product_code: 1234
      version: 1.3

    basic_display_parameters:
      input_voltage: Digital
      max_horizontal_size: 40  # cm
      max_vertical_size: 25  # cm
      gamma: 2.20

    chromaticity_coordinates:
      red:
        x: 0.640
        y: 0.330
      green:
        x: 0.300
        y: 0.600
      blue:
        x: 0.150
        y: 0.060
      white_point:
        x: 0.313
        y: 0.329

    established_timings:
      - 720x400@70Hz
      - 800x600@60Hz

    standard_timing_identifications:
      - 1024x768@75Hz
      - 1280x1024@75Hz

    detailed_timing_descriptors:
      - pixel_clock: 65.00  # MHz
        horizontal_active: 1024
        horizontal_blanking: 248
        # ... Other horizontal parameters
        vertical_active: 768
        vertical_blanking: 38
        # ... Other vertical parameters

    extension_blocks:
      - cea_861:  # Placeholder for CEA-861 data

it would be good if we can support
./hdmi_cec -p hdmiProfile.yaml -p platformTestProfile.yaml

And all the profiles get merged together, in a single entry. I realise this means that instead of supporting file based kvp, in the backend we would need to support adding a new function to kvp. Since we have open - which opens the first file, we can introduce read which basically appends to the current ut_kvp_instance_t with extra data..

now closed


Tutorial for PN with COQ

See https://climatechangechat.com/fast_as_fuck_perl_language_server_and_completion.html

Nice, this is a great resource for getting the Navigator going. I will add setup instructions for Neovim to the Readme, with a link to your page. One minor correction: the snippets are not coming from the Navigator (although a good idea for me to add). Perhaps they are built in to COQ?

Interesting. I just assumed they were coming from the LS. Maybe COC has it's own library. I'll have to research that.

Ah. So that's what coq.artifacts is.
https://github.com/ms-jpq/coq_nvim/blob/coq/docs/SNIPS.md


ENH make _cals computation the same across modules

Make _cals computation consistent across modules. comment brought up in #1952.

good point

Assuming Travis is happy, you done? Looks complete to me.

i'm done here.

you have some legitimate failures
https://travis-ci.org/mne-tools/mne-python/jobs/59049523#L698

Coverage decreased (-5.32%) to 84.9% when pulling 04759279e4a26c97f7ef7d7a9d8fb77720181df1 on teonlamont:cals-fix into e2108b5bb2aebc32c69a78799fe7684d426d34e1 on mne-tools:master.

fixed

thanks @teonlamont


Create SBI file when writing BAM

A single BAM is created by writing multiple parts then merging them. We should also generate SBI files and merge them into a single SBI file.

Fixed by #49


Updated Design, implementation of CSS

Well, with these changes, the page looks more modern, and is more attractive. Feel free to request changes.

Thanks.


Add new example Application Playground

Use views service in new example.
@CGNonofr The purpose is not language client related (at least not yet). It should test the the views service integration and the open collaboration tools vscode web extension. This is working within your demo, but not here, yet. I need to find what services are missing.
The extension is working, but after the connection is established to the server the are now errors not resulting from this example, but also broken in VSCode.dev and the monaco-vscode-api demo where it used to work before. I will open an issue int the OCT repo.
Navigation back to index page is added (for dev server and deployed version).

@CGNonofr this is ready for review. It will also evolve like the clangd example, but the views service is now working. The OCT extension issues need be resolved externally, first. This is not blocking this PR, IMO.

@CGNonofr the open collaboration extension is working, btw. The serving session crashed. So, it was my fault.


serverReadyAction doesn't work when output is sent to the debug console (ie useTerminal is false)

In version 0.1.0, output is sent by default to the debug console (it used to only go to a new terminal, but now you can choose where it goes via the useTerminal setting).
I'm running a Rails server and the serverReadyAction doesn't execute when output goes to the debug console. However, if I specify "useTerminal": true in launch.json, serverReadyAction works, ie the webpage http://localhost:3000 opens in a browser window.
My launch.json configuration is:
      "name": "rdbg",
      "type": "rdbg",
      "request": "launch",
      "script": "${workspaceRoot}/bin/rails",
      "cwd": "${workspaceRoot}",
      "args": [
        "server"
      ],
      "serverReadyAction": {
        "pattern": "Listening on http://<IP_ADDRESS>:([0-9]+)",
        "uriFormat": "http://localhost:%s",
        "action": "openExternally"
      }

what is "serverReadyAction"?

serverReadyAction instructs VSCode to scan the log for a pattern and then take an action once it's seen (openExternally tells it to open the uriFormat string in a browser). See https://code.visualstudio.com/docs/editor/debugging#_automatically-open-a-uri-when-debugging-a-server-program.

Excellent question! serverReadyAction works with output going to the debug console in the "Ruby" extension by Peng Lv (I think it's this one: https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby). It uses the ruby-debug-ide and debase gems.
I just ran it to confirm that a new browser window opens once the Rails server writes "* Listening on http://<IP_ADDRESS>:3000" to the debug console. My launch.json contains:
    {
      "name": "rdebug-ide",
      "type": "Ruby",
      "request": "launch",
      "program": "${workspaceRoot}/bin/rails",
      "cwd": "${workspaceRoot}",
      "args": [
        "server"
      ],
      "serverReadyAction": {
        "pattern": "listening on http://<IP_ADDRESS>:([0-9]+)",
        "uriFormat": "http://localhost:%s",
        "action": "openExternally"
      }
    },

Thank you so there is a way to support it on the debug console...


Fix --use-first-matching-interpreter at runtime.

Restrict the runtime interpreter to match the buildtime interpreter
by the crude means of relying on the pythonX.Y shebang.

This should right the ship over in https://github.com/pantsbuild/pants/pull/10442. Unfortunately I won't be able to do the release. Sorry to leave the rest here in your hands. I'm not happy with this solution on the PEX side but there was not enough time to get the Pants side debuggability of Pants side shims up to par.


Docker Images: Add A major/minor Docker image that rolls up the patch versions into it

Proposed Functionality
I'm going to try and explain this the best I can.
Currently, we're publishing Docker containers for the exact specific version, e.g. 1.2.2. In addition to those, I would like to see a 1.X tag that incorporates the latest patch version into it on each release of a patch. For instance, when 1.2.3 is release, a new image is also pushed up to 1.2 that now incorporates the latest patch version.
This can be extended to major versions down the road as well and hopefully it's pretty simple to tag and push up within our current process. Tagging @nniehoff though for his expert opinion

Use Case
This functionality will help CI/CD pipelines for our Nautobot plugins where we can specify the minor versions to test against rather than list out a ton of patch version or not have to update pipeline files to test against the latest versions.
Our Nautobot plugin CI/CD matrix would only have to be: [1.1, 1.2] with this new change.
Example #1: https://github.com/nautobot/nautobot-plugin-chatops-grafana/blob/develop/.github/workflows/ci.yml#L150

If we wanted to incorporate major tags as well, this would just have to be set to 1.
Example #2: https://github.com/nautobot/nautobot-plugin-device-lifecycle-mgmt/blob/develop/.github/workflows/ci.yml#L150
Same as above and will only require minimal maintenance rather than pinning patch level docker images within CI/CD

External Dependencies
Docker publishing pipeline

The more appropriate place would be in the release.yml provided by #1218.  This should be as simple as adding tags to the docker/metadata-actions.  I'll work on this once we get #1218 done.


starting project on android device automatically disables lock-orientation

Description
Whenever the project is started on a physical device the lock-orientation / auto-rotate screen is set to free even though the orientation is set to portrait in app.json as:
"orientation": "portrait",
React Native Version
0.72.4
Output of npx react-native info
System:
OS: Windows 11 10.0.22621
CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
Memory: 6.3 GB / 7.85 GB
Binaries:
Node:
version: 18.17.1
path: C:\Program Files\nodejs\node.EXE
Yarn:
version: 1.22.19
path: ~\AppData\Roaming\npm\yarn.CMD
npm:
version: 9.8.1
path: C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK:
AllowDevelopmentWithoutDevLicense: Enabled
IDEs:
Android Studio: AI-223.8836.35.2231.10671973
Visual Studio:
- 17.7.34024.191 (Visual Studio Community 2022)
Languages:
Java: Not Found
Ruby: Not Found
npmPackages:
"@react-native-community/cli": Not Found
react:
installed: 18.2.0
wanted: 18.2.0
react-native:
installed: 0.72.4
wanted: 0.72.4
react-native-windows: Not Found
npmGlobalPackages:
"react-native": Not Found
Android:
hermesEnabled: Not found
newArchEnabled: Not found
iOS:
hermesEnabled: Not found
newArchEnabled: Not found
Steps to reproduce
Basically, starting the app on a physical android device does it using
npm start

or
npx expo start

Snack, screenshot, or link to a repository
https://github.com/abhikatta/puwifi

is set to portrait in app.json as:
"orientation": "portrait",

This is a Expo specific file so you should report this issue to them


jdk_vector_1 tests times out on ppc64 aix for Java 19

TRSS Test Output

I think the job hit the 10 hour time limit, rather than vector hanging ?


File "spookflare.py", line 31

I'm having some issues running spookflare in Windows 10. Python is installed and $ pip install -r requirements.txt worked without any errors. What am I doing wrong here?
C:\Users\xajyvi\Desktop\SpookFlare>python spookflare.py
  File "spookflare.py", line 31
	print " \n\n \033[1m\033[94m[*]\033[0m Exited but do not forget to stay in the shadows!\033[0m\n"
																									^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(" \n\n \033[1m\033[94m[*]\033[0m Exited but do not forget to stay in the shadows!\033[0m\n")?

C:\Users\xajyvi\Desktop\SpookFlare>.\spookflare.py
  File "C:\Users\xajyvi\Desktop\SpookFlare\spookflare.py", line 31
	print " \n\n \033[1m\033[94m[*]\033[0m Exited but do not forget to stay in the shadows!\033[0m\n"
																									^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print(" \n\n \033[1m\033[94m[*]\033[0m Exited but do not forget to stay in the shadows!\033[0m\n")?

I installed the latest version I could find

Could you try this https://www.python.org/downloads/release/python-2714/ for now?
You can use the Python 3 series after pending pull request.

A fix to this issue was merged in #4.


Consider using paths-filter github action

https://github.com/dorny/paths-filter
This can be used to filter which jobs run from which directory changes.

I like this idea, that way we don't run all jobs all the time

Project was forked into risc0 and can now be referenced and utilized.

Due to conflicting rules from current paths in workflow causing jobs to freeze, this has been disabled:

It will need to be re-enabled once this is set up and working.

I think this is the right approach: https://github.com/getsentry/sentry/blob/2ebe01feab863d89aa7564e6d243b6d80c230ddc/.github/workflows/backend.yml#L20

Frank fixed this in https://github.com/risc0/risc0/pull/1103


Creates Infinite DIV files

If one is updating the moon drawing function frequently (in this case as the moon moves across the sky) js-planet-phase draws a new DIV file for each instance. This quickly fills up the browsers memory.

Fair point, maybe I could add a new config value to allow the calling code to create and pass in its own DIV, then you could re-use the same one each time

I attempted this but the existing code base for my project was making the creation and deletion of the moon a mess. The main problem with the infinite DIVs is that that crashes my clock application after 7 hours of use on an iPod and 12 on an iPhone ( I assume memory differences. )
I just built my own solution using SunCalc.net moon calculated values. http://codepen.io/spencerthayer/full/EjobVd/

.


use new env var to enable database name convention

Problem description
I think it is better to introduce the new specific env var to control the DB name rather than checking the other dependencies

Step to reproduce
Steps to reproduce the behavior:

migrate existing system from 2.10 to 2.12
Login with any pre-exist account
got 500 error

Expected behavior

Document update to specific which require to configure for the new changes

Screenshots
If applicable, add screenshots to help explain your problem.

As discussed in Slack, There is no need for migration, for DB name the following expression is used:
dbName: (process.env.GUARDIAN_ENV||(process.env.HEDERA_NET!==process.env.PREUSED_HEDERA_NET))?
            `${process.env.GUARDIAN_ENV}_${process.env.HEDERA_NET}_${process.env.DB_DATABASE}`:
            process.env.DB_DATABASE

Which means you’d need to make sure that in the evn variables of the service GUARDIAN_ENV is absent and that  PREUSED_HEDERA_NET does not equal HEDERA_NET (PREUSED_HEDERA_NET=“” would be enough) and then the name of the DB will equal  DB_DATABASE


"TypeError: oneai.Conversation is not a constructor"

Hi,
I just tried your sample in node.js to transcribe audio (https://docs.oneai.com/docs/transcribe-audio).
I got the following error:

const conversation = new oneai.Conversation(
^
TypeError: oneai.Conversation is not a constructor
at Object. (/home/laurent/dev/edu/oneai/hello.js:7:22)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Module._load (node:internal/modules/cjs/loader:922:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:82:12)
at node:internal/main/run_main_module:23:47

I installed your last npm published and I use node js v19.3.0.
Thanks for your help.

Thanks for reporting this!
That code is outdated, should be
const { OneAI } = require("oneai"); const oneai = new
OneAI("<YOUR-API-KEY-HERE>"); const pipeline = new oneai.Pipeline(
oneai.skills.transcribe({ speaker_detection: true, }) );
pipeline.runFile("YOUR_FILE_PATH").then(console.log);

We'll fix the code in the docs asap.
Thanks again!
// michael
On Sun, Jan 8, 2023, 22:20 Laurent Camus @.***> wrote:

Hi,
I just tried your sample in node.js to transcribe audio (
https://docs.oneai.com/docs/transcribe-audio).
I got the following error:
const conversation = new oneai.Conversation(
^
TypeError: oneai.Conversation is not a constructor
at Object. (/home/laurent/dev/edu/oneai/hello.js:7:22)
at Module._compile (node:internal/modules/cjs/loader:1218:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1272:10)
at Module.load (node:internal/modules/cjs/loader:1081:32)
at Module._load (node:internal/modules/cjs/loader:922:12)
at Function.executeUserEntryPoint [as runMain]
(node:internal/modules/run_main:82:12)
at node:internal/main/run_main_module:23:47
I installed your last npm published https://www.npmjs.com/package/oneai
and I use node js v19.3.0.
Thanks for your help.
—
Reply to this email directly, view it on GitHub
https://github.com/oneai-nlp/oneai-node/issues/11, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADZEAWM64RPCOSKE7GTTBETWRMOSBANCNFSM6AAAAAATUYH5MM
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Bad snippet in docs

@michgur hi there. The code
const { OneAI } = require("oneai");

const oneai = new OneAI("<MY-WORKING-IN-STUDIO_IPA_HERE");
const pipeline = new oneai.Pipeline(
  oneai.skills.transcribe({
    speaker_detection: true
  })
);

pipeline.runFile("roth.mp3").then(console.log);

unfortunately produces the following result
📁 ~/Public/one_ai
🌸 node script.js
●▲▮ Upload of file roth.mp3 complete
●▲▮ Processing file roth.mp3 - status RUNNING - 0s 209ms/home/ah/Public/one_ai/node_modules/oneai/lib/src/api/mapping.js:137
    console.log(error.response.data);
                               ^

TypeError: Cannot read properties of undefined (reading 'data')
    at buildError (/home/ah/Public/one_ai/node_modules/oneai/lib/src/api/mapping.js:137:32)
    at buildAsyncApiResponse (/home/ah/Public/one_ai/node_modules/oneai/lib/src/api/mapping.js:153:18)
    at PipelineApiClient.<anonymous> (/home/ah/Public/one_ai/node_modules/oneai/lib/src/api/pipeline.js:103:83)
    at step (/home/ah/Public/one_ai/node_modules/oneai/lib/src/api/pipeline.js:33:23)
    at Object.next (/home/ah/Public/one_ai/node_modules/oneai/lib/src/api/pipeline.js:14:53)
    at fulfilled (/home/ah/Public/one_ai/node_modules/oneai/lib/src/api/pipeline.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Node.js v20.9.0

Any idea how to fix it? ( Website one ai studio version works though )


Add release note regarding ElasticSearch upgrade

The ElasticSearch upgrade process, performed as part of a Liberty to
Mitaka upgrade, requires the Ansible var 'logging_upgrade' set to true.
Failure to do so may result in data corruption. This commit adds a
release note to document this issue for r13.1.0.
Connected https://github.com/rcbops/u-suk-dev/issues/550
(cherry picked from commit 74f832843f5997c9d6943d676727c2d99dd4fdee)

👍 :shipit:

LGTM

Posthumus 👍


2 implementations for BrowserDetector

The repo currently contains 2 implementations of BrowserDetector.
One as a dedicated package here, and another one in the @opentelemetry/resources package here.
Is it intentional? The implementation in resources package is there to stay as this package is already stable, so I suggest removing the one in experimental. If not, should we also create a package for each detector (such as EnvDetector, ProcessDetector)?
The current name is not consistent with the rest of the packages - I think @opentelemetry/opentelemetry-browser-detector should be @opentelemetry/detector-browser, similar to @opentelemetry/instrumentation-foo, @opentelemetry/context-zone etc

Good catch. It looks like the experimental one only gets a very small number of weekly downloads. It shouldn't be too hard to remove it from the repo and add an NPM deprecation notice pointing to the one in resources package. Before we do that we should see what the differences are between them.

While working on a different issue I noticed the two browser detectors.
Seems like the detector in resource just sets the userAgent to SemanticResourceAttributes.PROCESS_RUNTIME_VERSION:
[SemanticResourceAttributes.PROCESS_RUNTIME_NAME]: 'browser',
[SemanticResourceAttributes.PROCESS_RUNTIME_DESCRIPTION]: 'Web Browser',
[SemanticResourceAttributes.PROCESS_RUNTIME_VERSION]: navigator.userAgent,

while the experimental detector tries to set the user agent data to specific attribute names if they're available:
browserAttribs[BROWSER_ATTRIBUTES.PLATFORM] = userAgentData.platform;
browserAttribs[BROWSER_ATTRIBUTES.BRANDS] = userAgentData.brands.map(b => `${b.brand}${b.version}`;
browserAttribs[BROWSER_ATTRIBUTES.MOBILE] = userAgentData.mobile;

or sets the userAgent to BROWSER_ATTRIBUTES.USER_AGENT if the above is not available.

The two implementation collects different resource attributes regardless of their identical names. It is added as a new module to avoid breaking the stable @opentelemetry/resource package. See previous discussion: https://github.com/open-telemetry/opentelemetry-js/pull/3201#discussion_r959897916


DynamoDB Adaptor completely broken

Hi, so I wanted to try next-auth in a serverless vercel app, and we were using DynamoDB, so followed the setup instructions from here https://next-auth.js.org/adapters/dynamodb, but somehow the adaptor was not working. So I decided to inspect the code and found out that the code was completely broken, with wrong sdk calls, and wrong instructions in the documentation itself.
I'll explain it one by one.
1. Wrong documentation
In the docs, we're supposed to use the docs like this
adapter: DynamoDBAdapter({
    AWS,
    tableName: "next-auth-test",
  }),

But, if we look at the adaptor code
https://github.com/nextauthjs/adapters/blob/4177a25996560287f9a4f08a92ca1c44d7eaf36e/packages/dynamodb/src/index.ts#L5-L13
It's supposed to have two parameters, one for the DynamoDB client, and the other with an object containing the tableName.
So, the current documentation should be
adapter: DynamoDBAdapter(
  new AWS.DynamoDB(),
  { tableName: "next-auth-test" })

2. Wrong use of AWS SDK and DynamoDB Client
Some of the functions in aws-sdk DynamoDB client for CRUD operations are:

putItem
getItem
updateItem

While the ones used here is

get
put
update

which simply throws an error like client.put is not a function.
3. Wrong query syntax
Let's take this example
https://github.com/nextauthjs/adapters/blob/4177a25996560287f9a4f08a92ca1c44d7eaf36e/packages/dynamodb/src/index.ts#L33-L45
This is fine for next-auth as it expects its response in this format only.
But the correct query for DynamoDB should contain
const item: any = {
  pk: {S: `USER#${userId}`},
  sk: {S: `USER#${userId}`},
  id: {S: userId},
  type: {S: "USER"},
  name: {S: profile.name || ""},
  email: {S: profile.email || ""},
  image: {S: profile.image || ""},
  username: {S: profile.username || ""},
  emailVerified:  {S: profile.emailVerified?.toISOString() ?? ""},
  createdAt: {S: now.toISOString()},
  updatedAt: {S: now.toISOString()},
 }

So any entity object needs to be parsed between for next-auth and DynamoDB format, in all functions.
Or it'll simply throw an infinite number of validation errors.
As of now, since I really like the concept of next-auth, I'm rebuilding the dynamodb adaptor with all the corrections and by using TypeDORM, which is a well strongly typed ORM for DynamoDB.
I'll soon create a PR for that, but up to that time, I think this should be taken down from the official docs of next-auth.

Ha! How coincidental, I just went to the docs to try this out and noticed how broken it was 😂

https://github.com/nextauthjs/adapters/pull/44 introduced this adapter.
@PolMrt care to comment? Unfortunately I have no experience with DynamoDB, but open for suggestions on how to fix it.

Hi,  this version of the adapter was working fine but it seems that bug have been introduced in the commit 44085f873d65fc55c73df5e7a0e751af26f70b06 were my version was rewrited (old: packages/dynamodb/index.js, new: packages/dynamodb/src/index.ts in the commit) in order to bring ts support and other new requirement for adapters (I guess).
In my version of the adapter, it required that you pass the entire AWS sdk to it, then it uses the AWS.DynamoDB.DocumentClient() which accept method such as get, put, update, delete and all requests were working smoothly.
Maybe try :
adapter: DynamoDBAdapter(
  new AWS.DynamoDB.DocumentClient(),
  { tableName: "next-auth-test" })

I cannot guarantee this will work, but hopefully it will.
I'm sorry, but I currently don't have the time to fix this, but I'll be happy to fix that when I've got the time to.

@PolMrt It works fine now, thanks. I thought that new AWS.DynamoDB() was supposed to be used here. Really grateful for the quick reply as I was thinking to write my own adapter 😅
@balazsorban44 Apologies for the issue on the main repo and this issue can also be closed now. I think the documentation still needs to be updated though.

Very happy that this worked out so fast! I am happy to accept PRs to clarify the documentation!

#126 was merged today. This seems to address the documentation issues which were brought to light in this issue. Can we close this or is there still something else open?


Access hooks via the reader method.

ref: #9
(PD: Actually, it doesn't fix the issue but at least will show the warning)

Coverage remained the same at 98.547% when pulling 637e9b7f7b33fb4fa1e6a062fe75d7d3a5d91538 on frodsan:fix-hooks into eb83df7f974e81f906fad00311aea657d0c92fa3 on hyperoslo:master.

I tried to add a test but it's kind of difficult because hooks are global settings, maybe it will be nice to run unhook before each test and change the method to:
def unhook
  hooks.clear
end

Nice, thanks! I agree; it'd be nice to start tests with a blank slate. I'll merge this now and release a version, though.

:sparkles: :cake: :sparkles:


Add Arc Browser

The Windows version for the Arc Browser is still not out but we do have the macOS and iOS version so it would be pretty cool if we could have these tests ran on these platforms anyway. I quite like the browser but still not entirely sure what to think of its privacy measures. Cheers

Request in this thread https://github.com/privacytests/privacytests.org/issues/


OLED hat uses I2C or 4-SPI

So I am actually building my own 1.3inch OLED hat from scratch since its very expensive here, where I live so i was asking are u using the waveshare OLED hat with the 4-SPI protocol it comes preconfigured with or 3-SPI or I2C?? This is because i will have to build my own hat accordingly then.
Thank you for your efforts and response in advance ;)

Also if u have used the 4-SPI interface then can u help me on how can i use I2C instead

at the moment (as of the most recent commit), the oled display uses 4spi - clock, miso and mosi, and chip select
which display are you trying to use for this? ssd1306 based, sh1106 based, etc.

I am using a SH1106 based I2C display

which files would i have to modify if i wanna use the I2C protocol instead?

I am using a SH1106 based I2C display

SH1106 has support for 4spi, it's the display natively supported by this project in 128x64

which files would i have to modify if i wanna use the I2C protocol instead?

https://github.com/whatotter/pwnhyve/tree/main/core/disp_drivers/SH1106


Target Working, Gamestop in Progress

Updated to fix target login issues. Requires users to download GeckoDriver to allow firefox emulation for target in place of Chrome. Target login issue appears to be chrome specific. Added folder select button to point program at geckodriver installation location. Script will auto-stop if a path is not set (probably should set it to check for the driver to exist in said folder). Added setting line for path of driver.

Also added in task sorting. It will now sort alphabetically based on site to better group tasks for same sites together.

Left in Target chrome options for time being, will remove once I've verified they will not work with firefox. Updated gamestop to remove captcha blocker for more testing. Removed a few print statements that were used for debugging.

Sounds good then. Thanks for the contributions recently.

I nabbed a series x halo edition otherwise I'd be keeping these to myself :p


reset scans domain changed again

Source information
reset scans 1.4.41
Source language
English
Source new URL
https://reset-scans.xyz/
Other details
they have a temporary one before which was https://rspro.xyz/ this is the new one https://reset-scans.xyz/

Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source URL has not changed yet.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I will fill out all of the requested information in this form.

New site uses FuzzyDoodle theme

They changed the way the main site handles the manga. All manga have a new url that starts with https://rspro.xyz/home/manga/ instead of https://rspro.xyz/manga/

@adalricgaming this issue/request is for their beta site, the one listed above your comment is the issue request for the new home URL of the existing site

The url https://reset-scans.xyz/ is a beta design. Some of the manga haven't been updated since September and some don't have chapters. Currently this site https://rspro.xyz/ have all the manga/chapters and have the latest update. So I think its better have https://rspro.xyz/ url for now until they comfirms https://reset-scans.xyz/ as their official website.


Auto publish storybook

Fixes https://github.com/primer/primer/issues/514
I had to setup a new GH_TOKEN for this.

Confirmed this works

https://github.com/primer/storybook/commit/fa94128ef497e7c094b56570d5e00c50d1ac10e8
cc @shawnbot


nixos/mautrix-telegram: add module

Motivation for this change
This PR adds a module for mautrix-telegram.
The module has been tested and is confirmed to work.
A patch has been submitted and merged upstream (https://github.com/tulir/mautrix-telegram/pull/332) to allow API tokens to be supplied securely through environment variables instead of being written to the world-readable nix store.
The module is based on https://github.com/NixOS/nixpkgs/pull/60151.
Blockers

[x] Safe Telegram API token handling: https://github.com/NixOS/nixpkgs/pull/63947
[x] Removal of app service registration (to protect the AS' token)
[ ] Serialisation of the config attribute set which contains mkOverride values (https://github.com/NixOS/nixpkgs/pull/63589#discussion_r299780638) Will be solved later by migrating to the types and writers defined in RFC42.
[x] Rename services.mautrix-telegram.config to services.mautrix-telegram.settings?
[x] Set logging.loggers.aiohttp.level = "WARNING" instead of "INFO" which leaks the AS token in the logs by default
[x] No config rewrite: https://github.com/tulir/mautrix-python/pull/11

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

CC: @Vskilet, @Ma27

Tested and approved :-)

Here's a configuration snippet that might be useful to reviewers:
let
  telegramSnapshot = builtins.fetchTarball {
    url = https://github.com/pacien/nixpkgs/archive/e41d9e9408066fad9036cc25a3cf101357a9e87b.tar.gz;
  };
  telegramPkgs = import telegramSnapshot { };

in {
  imports = [
    "${telegramSnapshot}/nixos/modules/services/misc/mautrix-telegram.nix"
  ];

  nixpkgs.config.packageOverrides = super: {
    inherit (telegramPkgs) mautrix-telegram;
  };

  services.matrix-synapse = {
    enable = true;
    # ...
  };

  services.mautrix-telegram = {
    enable = true;
    config = {
      homeserver = {
        address = "http://localhost:8008";
        domain = "domain.tld";
      };
      appservice = {
        provisioning.enabled = false;
        id = "telegram";
        bot_username = "telegrambot";
        bot_displayname = "Telegram bridge bot";
        bot_avatar = "mxc://maunium.net/tJCRmUyJDsgRNgqhOgoiHWbX";
        public = {
          enabled = true;
          prefix = "/public";
          external = "http://domain.tld:8080/public";
        };
      };
      bridge = {
        relaybot.authless_portals = false;
        permissions = {
          "@someadmin:domain.tld" = "admin";
        };
      };
      telegram = {
        api_id = 123456;
        api_hash = "abcdefg";
      };
    };
  };
}

mautrix-telegram 0.6.0 has been merged in master

This should be ready for another review.
I'm currently using this module and it works fine with mautrix-telegram 0.6.1.

Rebased and amended to remove a no-longer necessary workaround (https://github.com/tulir/mautrix-python/pull/11).

Hi, would love to use this. What is the status of this?

It's usable as is (with the snippet provided in https://github.com/NixOS/nixpkgs/pull/63589#issuecomment-506065088) but we're waiting on RFC42 to be fully implemented to have the right JSON attribute set type.

Okay. Thanks.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/matrix-use-appservice-registration-files/9613/1

I am currently trying to rework this, to have a central services.mautrix.* module, as there are ~7 Mautrix services atm. 6 of them written in Python using the exact same interface. And it seems redundant to have a module for each mautrix service.
I have done a initial PoC over here https://github.com/NixOS/nixpkgs/pull/110404 , where it requires less user interaction and can run entirely just by the config without any copy-pasting around :)

I am currently trying to rework this, to have a central services.mautrix.* module, as there are ~7 Mautrix services atm. 6 of them written in Python using the exact same interface. And it seems redundant to have a module for each mautrix service.
I have done a initial PoC over here https://github.com/NixOS/nixpkgs/pull/110404 , where it requires less user interaction and can run entirely just by the config without any copy-pasting around :)


Changes SVG icon rendering to better match codicons

This PR fixes #111985
Before

After

As we chatted, this would break icons that currently use color, so we'd still need for a way to allow extensions to opt in/out of it from the api. Will close this and we can resume the discussion in #111985


Error show selected items in list view

Description
Error show selected items in list view
Steps To Reproduce
Don't know
Requirements

e.g. Fix crash that occurs when...

Files Version
<IP_ADDRESS>
Windows Version
10.0.22631.3085
Log File
debug.log

Thanks for the report, can you see if this is an issue in the preview version. https://files.community/download
If it still an issue please fill out the steps to reproduce.


When is the full name of a custom Teams app used?

I have a requirement to have the name for a custom Teams app to be greater than 30 characters. Under the name section in the manifest schema docs for the full name it states 'full name of the app, used if the full app name exceeds 30 characters.'
However if I include an app manifest with these names:

I only ever see the short name, in the app bar, fly-out, app dialog etc... Is the full name ever used? And if so where and how can I get it to display?

There is no place where the full name is used, and it is going to be deprecated.

That's great, thank you very much for the info.


Would like to contribute parse time operator into tfa.text

Hi SIG Addons community,
I would like to contribute parse time operator into tfa.text.
Here is the short description (detailed description in the attachment):
The parse time operator parses a timestamp string with the given format into the Unix time representation, the number of seconds / milliseconds / microseconds / nanoseconds elapsed since January 1, 1970 UTC.
For example, “2019-05-17T23:56:09.05Z” with the format “%Y-%m-%dT%H:%M:%E*S%Ez” gets parsed into<PHONE_NUMBER>, when the output unit is set to SECOND.
For more details please see:
Parse Time Operator.pdf
I would be willing to maintain the Op going forward.

Hi @helinwang as mentioned on the mailing list -- I think this would be a nice addition. Could you go ahead with a PR and we can review there.

Thanks, Sean!
I sent https://github.com/tensorflow/addons/pull/530.
Btw, the docker based development / build environment that tensorflow/addons provides is pretty convenient to use :)


Change siren.ogg to gamma.ogg

About the PR
Changed siren.ogg to gamma.ogg
Why / Balance
For easier file finding and to match with other files such as delta.ogg
Technical details
As simple as changing file name and editing small changes in files involving that sound.
Media
N/A
Requirements

[X] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes in game, or this PR does not require an in game showcase

i delete 🆑, no player facing changes

thanks!


Table definition and json schema

Describe the bug
Question from tubotv:
Sometimes the difference between the provided table definition and the actual json scheme in the kafka topic would create invisible failures, there would be no way for me to know exactly what failed and due to what.
Error message/log
No response
To Reproduce
No response
Expected behavior
No response
How did you deploy RisingWave?
No response
The version of RisingWave
No response
Additional context
No response

Update communication with customer:
We ask:

Do you mean this situation: you define one data schema, but the data in Kafka is in a different schema, actually? Could you please also provide the symptoms of these invisible failures, like do you find them in logs? It would be better if you could provide the schema or table definitions.

customer reply:

Concrete example: A debezium json kafka topic, but the inline schema has been removed from the message structure to minimize overhead:
{
  "before": null,
  "after": {
    "id": 11713450,
    "station_id": "6sQyb3N",
    "domain_type": "series",
    ...
  },
  "source": {
    "version": "2.4.0.Beta1",
    "connector": "postgresql",
    ...
  },
  "op": "r",
  "ts_ms":<PHONE_NUMBER>993,
  "transaction": null
}

The create table command will fail by running for a few minutes until timing out:
CREATE TABLE IF NOT EXISTS cdc_domain_airings_deb (
    id text primary key,
    station_id text,
    ...
)
WITH ( connector='kafka',
   ...
) FORMAT debezium ENCODE JSON;

close by mistake

No feedback recently. Close it. Will reopne it if anyone can provide more details.


windsock aws: samply support

blocked on https://github.com/shotover/shotover-proxy/pull/1315
This PR runs samply on an AWS instance and retrieves the results back to the local machine.
However for some reason the results contain only a single sample which is clearly broken, I will need to investigate whats going wrong.

ah, AWS does not support perf events on shared hosts.
The largest instances do support it (excluding burstable instances) but they are very expensive...)
https://stackoverflow.com/questions/69395912/pmu-x86-64-performance-counters-not-showing-in-perf-under-aws

This feature is not practical as we cant actually run sampling profilers on shared aws instances. (and bare metal is too expensive)


TypeError: undefined is not an object (evaluating 'RNFetchBlob[nativeMethodName]'

RNFetchBlob.fetch('GET', mediaUrl, {})
A promise is returned but .then() or .catch() will never being reached because of an exception:
undefined is not an object (evaluating 'RNFetchBlob[nativeMethodName]')
(tested in an iOS-project)

Hi @itinance , thanks for reporting the issue.
It looks like the native iOS module not linked to your iOS project, have you run rnpm link and recompile the project (simply run react-native run-ios again) after npm install react-native-fetch-blob ?
I could only be able to reproduce this error when running an iOS project in release mode without link native modules.
Another way to confirm if the library is linked is open .xcodeproj inside ios folder with XCode, and check if RNFetchBlob.xcodeproj is in Libraries

also check if  libRNFetchBlob.a is in Linked frameworks and libries

Thank you for your fast reply. I already did rnpm link and everything seems to be okay, but i still get this error:

Okay, i did a "clean" and re- "build" and this worked now for me! Thank you very match for your assistance!

@itinance , you're welcome, please feel free to file an issue : )


update build process to not trigger git v1.7.0+ 'feature'

Versions 1.7.0 and later of git contain an annoying change in the behavior of git submodule.
Submodules are now regarded as dirty if they have any modified files or untracked files, whereas previously it would only be the case if HEAD in the submodule pointed to the wrong commit.
When building and creating the CASCExtractor/build/ directory, it flags the repo as dirty.
This change moves the build directory under ./ and updates the commands as such.

Looks good, thanks.

Appreciate this.  I've read in another thread you wanted to slim down the time spent on this, so in order to make it as easy as possible for someone else, I am forking CASCExtactor to have an option to enumerate the modules (I've dubbed thee storm-extract).
Additionally, my goal is to create node.js bindings for storm-extract as well so the entirety of the process (save for the manual futzing of the heroes) can be done with a node.js application.


Julia for Data Science | Video 1: Data

References:
Speaker: Dr. Huda Nassar
Video title: Julia for Data Science - Video 1: Data, by Dr. Huda Nassar (for JuliaAcademy.com)
Link: https://www.youtube.com/watch?v=iG1dZBaxS-U
0:00 - Intro
1:04 - Loading packages
2:20- Importing data: readdlm
4:52 - Importing data: CSV
12:25 - Importing data: XLSX
24:00 - Importing other data formats
29:58 - Process data from Julia
30:36 - Exercises on Array
34:03 - Exercises on Dataframe
36:08 - Exercises on Dictionary
44:53 - Wrap-up exercises
46:03 - Missing data
47:19 - Outro

Thank you. When waiting that this repo will be bring back to live, I tweaked a bit your work.
Contents
00:00 Intro
01:04 Loading packages
02:20 Importing data: readdlm
04:52 Importing data: CSV
12:25 Importing data: XLSX
24:00 Importing other data formats
29:58 Process data from Julia
30:36 Exercises on Array
34:03 Exercises on Dataframe
36:08 Exercises on Dictionary
44:53 Wrap-up exercises
46:03 Missing data
47:19 Outro

Thank you. Timestamps were added to the video, we will close this issue, when we get access rights to this GitHub repository.

Description of video looks fine, so we will close the issue.


darwin.iproute2mac: update to 1.3.0

Motivation for this change
Update darwin.iproute2mac to 1.3.0 . This may be marked as insecure because network_cmds-osx-10.11.6 is still using openssl-1.0.2u, which should be fixed by #101229 .
CC @SuperSandro2000
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

error: derivation '/nix/store/4a20gq8x0ykmrvymymqkr85kdmp42njf-iproute2mac-1.3.0.drv' requested impure path '/usr/bin/sudo', but it was not in allowed-impure-host-deps

error: derivation '/nix/store/4a20gq8x0ykmrvymymqkr85kdmp42njf-iproute2mac-1.3.0.drv' requested impure path '/usr/bin/sudo', but it was not in allowed-impure-host-deps

error: derivation '/nix/store/4a20gq8x0ykmrvymymqkr85kdmp42njf-iproute2mac-1.3.0.drv' requested impure path '/usr/bin/sudo', but it was not in allowed-impure-host-deps

sudo is broken on darwin. In fact, it can be built, but failed to run because
❯ ./result/sbin/sudo
sudo: ./result/sbin/sudo must be owned by uid 0 and have the setuid bit set

So it seems we have to use the system-shipped impure one. Should we add it to allowed-impure-host-deps?

error: derivation '/nix/store/4a20gq8x0ykmrvymymqkr85kdmp42njf-iproute2mac-1.3.0.drv' requested impure path '/usr/bin/sudo', but it was not in allowed-impure-host-deps

sudo is broken on darwin. In fact, it can be built, but failed to run because
❯ ./result/sbin/sudo
sudo: ./result/sbin/sudo must be owned by uid 0 and have the setuid bit set

So it seems we have to use the system-shipped impure one. Should we add it to allowed-impure-host-deps?

@holymonson would you be willing to take over maintainership here? I don't really have a device to properly test this on…

@holymonson would you be willing to take over maintainership here? I don't really have a device to properly test this on…

Should we add it to allowed-impure-host-deps?

I am not sure.

Should we add it to allowed-impure-host-deps?

I am not sure.

Result of nixpkgs-review pr 109003 run on x86_64-darwin 1

1 package marked as broken and skipped:

darwin.iproute2mac

Result of nixpkgs-review pr 109003 run on x86_64-darwin 1

1 package marked as broken and skipped:

darwin.iproute2mac

This PR is finished but will still be marked insecure, let's keep it drafted until #101229 and #109626 fixed.

This PR is finished but will still be marked insecure, let's keep it drafted until #101229 and #109626 fixed.

Closing, https://github.com/NixOS/nixpkgs/pull/178822 has been merged.


Drop end-of-life Python 3.6

Python 3.6 hit the end-of-life on Dec 23, 2021. As a result,
Bandit should also drop support for it.
Signed-off-by: Eric Brown<EMAIL_ADDRESS>

py36 test is hanging due to a cache22 (removing py36 support and GitHub action still tests it).


screenshot.rs/capture.rs query

Why is 'as *mut _' duplicated on line 88?
88    &mut cloaked as *mut _ as *mut _,

cloaked is a u32, but DwmGetWindowAttribute expects a *mut c_void. So first we cast to a *mut u32 and from there cast to a *mut c_void. You can't make that jump directly, AFAIK.


Support npm-version

It currently seems to support volta-version, node-version, and yarn-version. It's just missing npm-version, which I would want to set on 7 for example.

@felipecrs yep! This is absolutely a gap in support. Volta released support for pinning npm somewhat recently, and I forgot to update here with that release!
Thanks for reporting!


Missing traces from last week

Hi,
Look at the map https://openstreetcam.org/map/@41.70600885920241,-70.08733391761781,16z
username jremillard
Azalea Drive was driven in the same trace as all of the side streets but isn't showing up on the map.

It appears to be showing now (I am checking 11 days after your report):  https://openstreetcam.org/details/1258153/1534/track-info
Is this still an issue?

It looks good now.


make board namespace aware

Task View

namespace aware cluster view

host view

Sorry I closed the previous pull request because there were too many other commits/updates.
With regard to the MIT license. I did some research on the compatibility of MIT and Apache. The framework I used comes with the MIT license and it is fine to keep MIT license under Apache under our use case.


Go 1.4.2 on OSX fails to build inside tmux.

Hi,
I just migrated away from homebrew to nix on my osx laptop and I'm trying to get my development environment to where I need it. For some reason, nix -i go is failing while executed in tmux. If I open another tab in iterm2 and nix -i go outside of tmux it installs without error.
ok      net/url 0.035s
ok      os      0.915s
ok      os/exec 0.825s
--- FAIL: TestNohup (0.89s)
    signal_test.go:205: ran test with -send_uncaught_sighup=1 under nohup and it failed: expected success.
            Error: exit status 127
            Output:
            nohup: can't detach from console: No such file or directory
FAIL
FAIL    os/signal       1.625s
ok      os/user 0.018s
ok      path    0.016s

... trim ...
builder for ‘/nix/store/kxnf172fi6d3bsk1qji0l7h9p6jjmqwy-go-1.4.2.drv’ failed with exit code 1
error: build of ‘/nix/store/kxnf172fi6d3bsk1qji0l7h9p6jjmqwy-go-1.4.2.drv’ failed

Outside of that tmux window though..
ALL TESTS PASSED

---
Installed Go for darwin/amd64 in /nix/store/14x05dmnipijz0wvmdln6ld1b89qrjaj-go-1.4.2/share/go

cc @wkennington @lethalman

@miah with #10543 ... does it work now on darwin?
i'm closing this ticket and if it doesn't work please open it.


use Self where possible in wrapper macros

Looks good to me otherwise, thanks. This makes this all a bit more readable :)


Limit the blog post title length to 3 rows ~90 characters

Describe the solution you'd like

for longed blog post titles, limit the displayed title to ~90 characters so it fits in 3 rows
adjust in posts component and series component
follow the implementation from the angular version where it has been applied
using the SlicePipe

what it look like now:

what would be better:

.take


Don't merge : Automated Request : Design System > components > Created New  components from samplesolution in Storybook

Automated Request : Design System > components > Created New  components from samplesolution in Storybook

For Testing Purposes for Automated Request Feature for Raaghu Design System


Make nodes CIDR optional and allow it to be dynamic

What this PR does / why we need it:
This PR incorporates two changes with respect to the CIDR for the nodes network for shoot clusters (the network that is used to run the shoot worker nodes):

The nodes CIDR can be optional now. This means that it won't be specified by the end-user in core.gardener.cloud/v1{alpha,beta}1.Shoot.spec.networking.nodes. The only thing that changes is that neither the vpn-seeds nor the vpn-shoot will be configured with the nodes CIDR (because there is none; this is possible as of gardener/vpn#49).
The nodes CIDR can be dynamic now. This means that it won't be specified by the end-user in core.gardener.cloud/v1{alpha,beta}1.Shoot.spec.networking.nodes. Instead, the infrastructure extension controller can provision the network dynamically during the reconciliation of the Infrastructure resource, and then write it into its new .status.nodesCIDR field. If present, Gardener will use this CIDR to configure both the vpn-seeds and the vpn-shoot. In case the user has already specified a nodes CIDR in the Shoot and the infrastructure extension controller writes a second CIDR into .status.nodesCIDR, then the latter one has the higher priority.

Which issue(s) this PR fixes:
Fixes #1582
Special notes for your reviewer:

/cc @stoyanr @mkoynov - 1. will solve your use-case where a shoot cluster in your environment does not need to have a nodes network
/cc @majst01 @Gerrit91 - 2. will solve your use-case where your infrastructure extension controller must dynamically provision a nodes network
/cc @gardener/gardener-maintainers - for both we should consider implementing proper validation in the extension validator webhooks (gardener/gardener-extensions#407) - I have opened a PR for the already existing AWS validator: gardener/gardener-extensions#530 (cc @timuthy)

Release note:

It is now possible for infrastructure extension controllers to dynamically provision a node network as part of the `Infrastructure` reconciliation. Please see [this document](https://github.com/gardener/gardener/blob/master/docs/extensions/infrastructure.md#dynamic-nodes-network-for-shoot-clusters) for further information.

It is now possible to run Gardener in environments where no dedicated network for the worker nodes is required per shoot cluster (i.e., environments having a large network for all VMs of all clusters). In this case, the `Seed`s and the `Shoot`s do not need to specify a node CIDR. Gardener won’t configure the VPN components as it assumes network connectivity by default between the seed worker nodes and the shoot worker nodes.

@timuthy I am now updating the nodes CIDR in the shoot spec after reading it from the Infrastructure, makes sense! PTAL again.


docs/variants/protectli_vp2420/46xx/firmware-update.md: add info about disabling SB before flashing

@Pokisiekk we may mention that preferred lock / SB settings may be set back after the firmware update was done

@macpijan Added - https://github.com/Dasharo/docs/pull/571/commits/225f71f91b7fea72ae5ca7f757a01358f00278f1


virtualenv is not isolated. You can still use packages installed system-wide

As I understand this pipenv shell should activate a virtualenv, isolated from the rest of the system. This is not what's happening.
$ python -m pipenv.help output
Pipenv version: '11.8.1'
Pipenv location: '/usr/local/lib/python3.6/site-packages/pipenv-11.8.1-py3.6.egg/pipenv'
Python location: '/usr/bin/python'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.6: /usr/bin/python3.6m

3.6: /usr/bin/python3.6

3.6.4: /usr/bin/python

2.7.14: /usr/bin/python2

3.6.4: /usr/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.4',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.9-1-ARCH',
 'platform_system': 'Linux',
 'platform_version': '#1 SMP PREEMPT Sun Mar 11 17:54:33 UTC 2018',
 'python_full_version': '3.6.4',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

LANG
HISTCONTROL
DISPLAY
OLDPWD
INVOCATION_ID
EDITOR
NODE_PATH
COLORTERM
TERMINAL
XDG_VTNR
XDG_SESSION_ID
USER
GOPATH
PWD
HOME
LESSHISTFILE
JOURNAL_STREAM
GTK_MODULES
MAIL
WINDOWPATH
TERM
SHELL
VTE_VERSION
QT_IM_MODULE
XMODIFIERS
XDG_SEAT
SHLVL
PYTHONPATH
WINDOWID
MAVEN_OPTS
LOGNAME
DBUS_SESSION_BUS_ADDRESS
XDG_RUNTIME_DIR
XAUTHORITY
PATH
GTK_IM_MODULE
_
PIP_PYTHON_PATH
PYTHONUNBUFFERED

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/home/g/.go/bin:/home/g/.node_modules/bin
SHELL: /bin/bash
EDITOR: /usr/bin/nvim
LANG: en_US.UTF-8
PWD: /home/g/hack

Expected result
Creating a new project and running pipenv shell should result in a minimal set of installed packages.
Actual result
All the system-wide packages can be imported.
(foo-5Z-S40FS) [g@x220 foo]$ pipenv graph
appdirs==1.4.3
Archey3==0.4
beautifulsoup4==4.6.0
Brlapi==0.6.7
capstone==3.0.4
codegen==1.0
cryptography==2.1.4
  - asn1crypto [required: >=0.21.0, installed: 0.24.0]
  - cffi [required: >=1.7, installed: 1.11.5]
    - pycparser [required: Any, installed: 2.18]
  - idna [required: >=2.1, installed: 2.6]
  - six [required: >=1.4.1, installed: 1.11.0]
curio==0.9
dbfread==2.0.6
decorator==4.2.1
docutils==0.14
Faker==0.8.12
  - python-dateutil [required: >=2.4, installed: 2.7.0]
    - six [required: >=1.5, installed: 1.11.0]
  - six [required: Any, installed: 1.11.0]
  - text-unidecode [required: Any, installed: 1.2]
flake8==3.5.0
  - mccabe [required: >=0.6.0, installed: 0.6.1]
  - pycodestyle [required: >=2.0.0, installed: 2.3.1]
  - pyflakes [required: >=1.5.0, installed: 1.6.0]
  - setuptools [required: >=30, installed: 38.6.0]
gmpy2==2.1.0a1
ipython==6.2.1
ipywidgets==6.0.0
isc==2.0
jedi==0.11.1
  - parso [required: ==0.1.1, installed: 0.1.1]
jsonschema==2.6.0
jupyter-console==5.2.0
leather==0.3.3
  - six [required: >=1.6.1, installed: 1.11.0]
lxml==4.1.1
matplotlib==2.1.2
  - cycler [required: >=0.10, installed: 0.10.0]
    - six [required: Any, installed: 1.11.0]
  - numpy [required: >=1.7.1, installed: 1.14.1]
  - pyparsing [required: !=2.1.6,!=2.0.4,!=2.1.2,>=2.0.1, installed: 2.2.0]
  - python-dateutil [required: >=2.1, installed: 2.7.0]
    - six [required: >=1.5, installed: 1.11.0]
  - pytz [required: Any, installed: 2018.3]
  - six [required: >=1.10, installed: 1.11.0]
mock==2.0.0
  - pbr [required: >=0.11, installed: 3.1.1]
  - six [required: >=1.9, installed: 1.11.0]
namcap==3.2.7
neovim==0.2.4
  - greenlet [required: Any, installed: 0.4.13]
  - msgpack [required: >=0.5.0, installed: 0.5.6]
nltk==3.2.5
  - six [required: Any, installed: 1.11.0]
olefile==0.45.1
  - pyparsing [required: Any, installed: 2.2.0]
  - six [required: Any, installed: 1.11.0]
pandas==0.22.0
  - numpy [required: >=1.9.0, installed: 1.14.1]
  - python-dateutil [required: >=2, installed: 2.7.0]
    - six [required: >=1.5, installed: 1.11.0]
  - pytz [required: >=2011k, installed: 2018.3]
pexpect==4.4.0
pickleshare==0.7.4
Pillow==5.0.0
pipenv==11.8.1
  - certifi [required: Any, installed: 2018.1.18]
  - pip [required: >=9.0.1, installed: 9.0.1]
  - setuptools [required: >=36.2.1, installed: 38.6.0]
  - virtualenv [required: Any, installed: 15.1.0]
  - virtualenv-clone [required: >=0.2.5, installed: 0.3.0]
ply==3.11
progressbar2==3.30.0
  - python-utils [required: >=2.1.0, installed: 2.3.0]
    - six [required: Any, installed: 1.11.0]
prompt-toolkit==1.0.15
  - six [required: >=1.9.0, installed: 1.11.0]
  - wcwidth [required: Any, installed: 0.1.7]
ptyprocess==0.5.2
pyalpm==0.8
PyAudio==0.2.11
pycrypto==2.6.1
pydocstyle==2.1.1
  - six [required: Any, installed: 1.11.0]
  - snowballstemmer [required: Any, installed: 1.2.1]
pyelftools==0.24
pygobject==3.26.1
PyPDF2==1.26.0
pytest==3.4.2
  - attrs [required: >=17.2.0, installed: 17.4.0]
  - pluggy [required: >=0.5,<0.7, installed: 0.6.0]
  - py [required: >=1.5.0, installed: 1.5.2]
  - setuptools [required: Any, installed: 38.6.0]
  - six [required: >=1.10.0, installed: 1.11.0]
python-slugify==1.2.4
  - Unidecode [required: >=0.04.16, installed: 1.0.22]
pytimeparse==1.1.7
pyxdg==0.25
PyYAML==3.12
r2pipe==0.9.8
ROPGadget==5.6
ropper==1.11.6
  - filebytes [required: >=0.9.12, installed: 0.9.15]
scikit-learn==0.19.1
scipy==1.0.0
shodan==1.7.7
  - click [required: Any, installed: 6.7]
  - click-plugins [required: Any, installed: 1.0.3]
    - click [required: >=3.0, installed: 6.7]
  - colorama [required: Any, installed: 0.3.9]
  - requests [required: >=2.2.1, installed: 2.18.4]
    - chardet [required: <3.1.0,>=3.0.2, installed: 3.0.4]
    - idna [required: >=2.5,<2.7, installed: 2.6]
    - urllib3 [required: >=1.21.1,<1.23, installed: 1.22]
  - XlsxWriter [required: Any, installed: 1.0.2]
simplegeneric==0.8.1
simplejson==3.13.2
tensorflow==1.6.0
  - absl-py [required: >=0.1.6, installed: 0.1.10]
    - six [required: Any, installed: 1.11.0]
  - astor [required: >=0.6.0, installed: 0.6.2]
  - gast [required: >=0.2.0, installed: 0.2.0]
  - grpcio [required: >=1.8.6, installed: 1.9.1]
    - protobuf [required: >=3.5.0.post1, installed: 3.5.1]
      - setuptools [required: Any, installed: 38.6.0]
      - six [required: >=1.9, installed: 1.11.0]
    - six [required: >=1.5.2, installed: 1.11.0]
  - numpy [required: >=1.13.3, installed: 1.14.1]
  - protobuf [required: >=3.4.0, installed: 3.5.1]
    - setuptools [required: Any, installed: 38.6.0]
    - six [required: >=1.9, installed: 1.11.0]
  - six [required: >=1.10.0, installed: 1.11.0]
  - tensorboard [required: <1.7.0,>=1.6.0, installed: 1.6.0]
    - bleach [required: ==1.5.0, installed: 1.5.0]
      - html5lib [required: !=0.99999,>=0.999,!=0.9999,<0.99999999, installed: 0.9999999]
        - six [required: Any, installed: 1.11.0]
      - six [required: Any, installed: 1.11.0]
    - html5lib [required: ==0.9999999, installed: 0.9999999]
      - six [required: Any, installed: 1.11.0]
    - markdown [required: >=2.6.8, installed: 2.6.11]
    - numpy [required: >=1.12.0, installed: 1.14.1]
    - protobuf [required: >=3.4.0, installed: 3.5.1]
      - setuptools [required: Any, installed: 38.6.0]
      - six [required: >=1.9, installed: 1.11.0]
    - six [required: >=1.10.0, installed: 1.11.0]
    - werkzeug [required: >=0.11.10, installed: 0.14.1]
    - wheel [required: >=0.26, installed: 0.30.0]
  - termcolor [required: >=1.1.0, installed: 1.1.0]
  - wheel [required: >=0.26, installed: 0.30.0]
unicorn==1.0.1
webencodings==0.5.1
widgetsnbextension==2.0.0
  - notebook [required: >=4.4.1, installed: 5.3.0]
    - ipykernel [required: Any, installed: 4.6.1]
    - ipython-genutils [required: Any, installed: 0.1.0]
    - jinja2 [required: Any, installed: 2.10]
      - MarkupSafe [required: >=0.23, installed: 1.0]
    - jupyter-client [required: >=5.2.0, installed: 5.2.2]
      - jupyter-core [required: Any, installed: 4.4.0]
      - python-dateutil [required: >=2.1, installed: 2.7.0]
        - six [required: >=1.5, installed: 1.11.0]
      - pyzmq [required: >=13, installed: 16.0.3]
      - tornado [required: >=4.1, installed: 4.5.3]
      - traitlets [required: Any, installed: 4.3.2]
    - jupyter-core [required: >=4.4.0, installed: 4.4.0]
    - nbconvert [required: Any, installed: 5.3.1]
      - bleach [required: Any, installed: 1.5.0]
        - html5lib [required: !=0.99999,>=0.999,!=0.9999,<0.99999999, installed: 0.9999999]
          - six [required: Any, installed: 1.11.0]
        - six [required: Any, installed: 1.11.0]
      - entrypoints [required: >=0.2.2, installed: 0.2.3]
      - jinja2 [required: Any, installed: 2.10]
        - MarkupSafe [required: >=0.23, installed: 1.0]
      - jupyter-core [required: Any, installed: 4.4.0]
      - mistune [required: >=0.7.4, installed: 0.8.1]
      - nbformat [required: >=4.4, installed: 4.4.0]
      - pandocfilters [required: >=1.4.1, installed: 1.4.2]
      - pygments [required: Any, installed: 2.2.0]
      - testpath [required: Any, installed: 0.3.1]
      - traitlets [required: >=4.2, installed: 4.3.2]
    - nbformat [required: Any, installed: 4.4.0]
    - Send2Trash [required: Any, installed: 1.5.0]
    - terminado [required: >=0.8.1, installed: 0.8.1]
    - tornado [required: >=4, installed: 4.5.3]
    - traitlets [required: >=4.2.1, installed: 4.3.2]
xlrd==1.1.0
youtube-dl==2018.3.14

Steps to replicate
mkdir foo
cd foo
pipenv install
pipenv shell
pipenv graph # , or pip list

I cannot confirm this. pipenv run pip list returns only pip, setuptools and wheel, as would be expected. pipenv graph is just empty. The error must be on your end. What does echo $PYTHONPATH say for you?

$ echo $PYTHONPATH
/usr/local/lib/python3.6/site-packages
$ ls /usr/local/lib/python3.6/site-packages
easy-install.pth  pipenv-11.8.1-py3.6.egg  __pycache__  setuptools.pth  site.py

I've installed pipenv there via python setup.py --prefix=/usr/local as I've installed this from the cloned repo and not via my package manager.

Ok, I guess that explains why you can still see your site-packages. Usually PYTHONPATH should be empty. Is there any particular reason you're installing pipenv with a custom prefix? On what OS are you? Shouldn't pip install . (from the clone) install into that location anyway?
I strongly suspect that simply unsetting PYTHONPATH will solve your issue here.

@giuscri if you install pipenv with --prefix=/usr/local, then you need to put /usr/local/bin on your path to make sure you are interacting with the correct pipenv.  If you universally put /usr/local/lib/python3.6/site-packages on your PYTHONPATH environment variable, then yes, every python installation everywhere on your system will always have access to those packages.
The PATH variable allows your system to find executables.  The PYTHONPATH variable tells your python runtime where to find python packages.  Overriding the latter is usually not what you want
Thanks for using pipenv!

it's set because i've installed pipenv from the repository instead of using the package manager. I'm on arch linux btw

On 17 Mar 2018, at 22:55, ksonj<EMAIL_ADDRESS>wrote:
Ok, I guess that explains why you can still see your site-packages. Usually PYTHONPATH should be empty. Is there any particular reason you're installing pipenv with a custom prefix? On what OS are you? Shouldn't pip install . (from the clone) install into that location anyway?
I strongly suspect that simply unsetting PYTHONPATH will solve your issue here.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

No matter why you set it in the first place, you need to unset it when you want isolation. PYTHONPATH is an ultimate override to other rules. If you set it, Pipenv honours it. All Python virtual environment tools do this. You can’t expect otherwise because that’s how the whole ecosystem is designed to work.

@techalchemy the only package in /usr/local/lib/python3.6/site-packages is pipenv. The other packages listed by pip list are all in /usr/lib/python3.6/site-packages which is not on the PYTHONPATH.
anyway, how am I supposed to install pipenv to /usr/local or anything that's not mixed with python packages installed by the package manager?

My general recommendation is to not ever use pacman for python packages and when at all possible install with pip install --user.

Even with installing pipenv to /usr/local it should not be necessary to set PYTHONPATH in this particular case.


enhancements and bugfixes for version 1.4.0

There is a lot of great stuff in this release. Thank you!


HELP PLEASE ERROR!

Everytime i try to start it -.-

not a discord.js bug

what else?

Please join us on Discord, as github spams the channel with ticket updates anyway and we'd rather not.
Click this: https://discord.gg/xfp8kqk


Production Queue does not advance on item completion

When I complete a Building or a Districts, the city produce Queue does not work.

Second that.  The chosen new production only gets added to the list.  The previously finished item isn't removed, and has to be right-clicked to continue.

I've been getting multiple reports of this, thanks for adding it to the tracker. In the future. please use a more descriptive issue title, thanks!

Related... please refer to this CF/Post for details; https://forums.civfanatics.com/threads/cqui-a-qui-spinoff-v0-6-out.602771/page-12#post-14578353
... along with a few more issues that i really don't want to add to the Issues/Flow overhere since you'd be aware of them anyway! :)

I present a fix in #141 . Played it for awhile and it appears to work fine.

@zeyangl Thanks. In the future, you can submit simple fixes like these direct from the github website by forking the repo, making your change to the file in the fork using the web editor, and then hitting the submit PR button

Resolved in #141 thanks to @zeyangl

@chaorace I just don't feel comfortable editing on the fly, and not have the env setup on my pc to submit a PR either. Will definitely do if the change is more involved.


Master branch updates

Part of  https://github.com/ignition-tooling/release-tools/issues/416
Summary

Update all usage of master
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

@osrf-jenkins run tests please

Should we make that change here before merging?

Oops, auto-merge didn't give us a chance. Feel free to open a new PR with that change. Unfortunately, links tend to deteriorate over time :confused:

Oops, auto-merge didn't give us a chance. Feel free to open a new PR with that change. Unfortunately, links tend to deteriorate over time

No worries, I forgot that we picked auto-merge here. Here's a PR with the change: https://github.com/ignitionrobotics/ign-math/pull/197


Shared terminals don’t render animations correctly

Issue Type: Bug
When I connect to a live share session and the host gives access to the terminal, it does not animate correctly for me as the connectee. On the host's screen, npm's animations display normally, however they do not animate on my side. Instead it renders a new row in the terminal for every animation change.

Extension version: 1.0.2478
VS Code version: Code 1.47.2 (17299e413d5590b14ab0340ea477cdd86ff13daf, 2020-07-15T18:22:06.216Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz (12 x 2208)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.74GB (7.27GB free)

Process Argv
.

Screen Reader
no

VM
0%

@IlyaBiryukov Is this a sizing issue? I would have sworn that we supported animations in shared terminals?

Possibly.
Shared terminals broadcast host terminal stdout to the guests, including all ANSI ESC sequences. The guest renderer interprets them by changing color (as on the screenshot) or positioning the cursor, or doing something else. We do not interpret these ESC sequences in Live Share.
The issue may be due guest terminal not interpreting the ANSI ESC sequences coming from the host terminal correctly. This may happen for many reasons, one of them is that the terminal size on the guest is different from the host. Other reason may be that the guest terminal didn't initialize properly (the guest terminal may generate its own ESC sequence and send it to the host terminal shell, and that may not work because the shell is already assuming it works with the host terminal renderer).
To get 100% fidelity in the shared terminals, we'd need to capture and broadcast terminal window buffer changes instead of terminal stdout.
David's team or the extensibility team will be the right owner of the shared terminals in Live Share now.

To get 100% fidelity in the shared terminals, we'd need to capture and broadcast terminal window buffer changes instead of terminal stdout.

This'd be a feature that I'd really appreciate. Love this extension but shared terminal support is a bit too dodgy for me to reliably use for pair/group programming.

We’re not able to prioritize this issue over the other higher-impact issues we receive every week, based on the votes and comments from others in the community and our understanding of the issue. However, rest assured that we love your input. If you feel it deserves to stay open, then clarify your use case and contact us to let us know how severe it is for you.


Numeric only key values return 413 unknown error

Running
sls encrypt -n XXXX_PASSWD -v 1234567 -k 9999-9999-9999-9999
Always results in
Serverless: UnknownError: 413
Alternatively, running
sls encrypt -n XXXX_PASSWD -v a1234567 -k 9999-9999-9999-9999
Results in success
Unfortunately, my XXXX_PASSWD is all Numeric characters. I would hazard a guess here - at some point the value is being interpreted as Number and not a String value.

@Replica- Fixed in 0.9.6


Create Guild Scheduled Event https://discord.com/developers/docs/resources/guild-scheduled-event#create-guild-scheduled-event

Done


Exception in thread Thread-1

[18:33:35]   -e Baidu -d chrome_headless -n 100 -j 50 -o "./download_images/dog" -S  "dog"
[18:33:35]  Scraping From Baidu Image Search ...
[18:33:35]  Keywords:  dog
[18:33:35]  Number:  100
[18:33:35]  Face Only:  False
[18:33:35]  Safe Mode:  True
[18:33:35]  Query URL:  https://image.baidu.com/search/index?tn=baiduimage&word=dog
[18:33:38]  Exception in thread Thread-1:
[18:33:38]  Traceback (most recent call last):
[18:33:38]    File "/home/yuran/anaconda3/lib/python3.7/threading.py", line 917, in _bootstrap_inner
[18:33:38]      self.run()
[18:33:38]    File "/home/yuran/anaconda3/lib/python3.7/threading.py", line 865, in run
[18:33:38]      self._target(*self._args, **self._kwargs)
[18:33:38]    File "/home/yuran/project/Image-Downloader/image_downloader.py", line 54, in main
[18:33:38]      browser=args.driver)
[18:33:38]    File "/home/yuran/project/Image-Downloader/crawler.py", line 315, in crawl_image_urls
[18:33:38]      proxy=proxy, proxy_type=proxy_type)
[18:33:38]    File "/home/yuran/project/Image-Downloader/crawler.py", line 195, in baidu_get_image_url_using_api
[18:33:38]      res = requests.get(init_url, proxies=proxies)
[18:33:38]    File "/home/yuran/anaconda3/lib/python3.7/site-packages/requests/api.py", line 75, in get
[18:33:38]      return request('get', url, params=params, **kwargs)
[18:33:38]    File "/home/yuran/anaconda3/lib/python3.7/site-packages/requests/api.py", line 60, in request
[18:33:38]      return session.request(method=method, url=url, **kwargs)
[18:33:38]    File "/home/yuran/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
[18:33:38]      resp = self.send(prep, **send_kwargs)
[18:33:38]    File "/home/yuran/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 668, in send
[18:33:38]      history = [resp for resp in gen] if allow_redirects else []
[18:33:38]    File "/home/yuran/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 668, in
[18:33:38]      history = [resp for resp in gen] if allow_redirects else []
[18:33:38]    File "/home/yuran/anaconda3/lib/python3.7/site-packages/requests/sessions.py", line 165, in resolve_redirects
[18:33:38]      raise TooManyRedirects('Exceeded %s redirects.' % self.max_redirects, response=resp)
[18:33:38]  requests.exceptions.TooManyRedirects: Exceeded 30 redirects.
[18:33:38]  stopped
这是什么问题呢?

已修复
7013bfdceb78c1d7ad52da9e17b9b361811c389a


Mica for everyone does not launch nor show it in the system tray area

[✅] This is not about other apps being displayed weird or etc.
[✅] This is not about rendering issues that caused by a bug in the Windows.
[✅] I've read FAQ.
[✅] I've checked other issues and this is not a duplicate.
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

opening using windows search

Expected behavior
A clear and concise description of what you expected to happen.
Expected show in system tray and opens the settings for mica for everyone
Screenshots
If applicable, add screenshots to help explain your problem.
github wont let me put the video I uploaded it to youtube
link: https://youtu.be/Y4iJvOKsC3Q
Windows Version
E.g. Windows 10 build 19042, Windows 11 Build 22000, Windows 11 Build 25217 Insider Dev Channel, ...
Windows 11 25393 Canary Channel
Additional context
Add any other context about the problem here.
I used the .exe installer

I have the same problem. Windows 11 Beta Channel. Build 22631.1972

same here , however , it happens to me only when I tried to use the exe installer , try extracting the files in the zip file to a folder and it should work , this version works for me

@foursplaysroblox can you confirm if you were using the Inno Setup version?

@dongle-the-gadget sorry for the late response but what do you mean by Inno Setup version?

EXE installer

I used the .exe one

Installer.exe?

You mean this happens only when you try to open MFE from search, and it's OK when you launch it from Apps List or manually?


Demo project does not build on non-Windows OS

Describe the bug
We tried running the demo project on a Mac laptop, this is what we found:

There is no bin directory included with the Maven distribution, and even if it was, we cannot use it on Mac.
We got JNI errors until we ran the java bits on openJSK 17
There are backward-slashed-paths everywhere in the csproj files and build targets.
The PackagerCLI is invoked using PackagerCLI.exe, while this suffix does not work on Mac.
The java classpath is using a wildcard (*), in which case the classpath needs to be quoted with single quotes on Mac.

Also, the solution still refers to the (local) project for Hl7.Fhir.R4 - it can be removed.

AssemblyCompiler.cs has a hard-coded "Tuples/" built in, should be
.Where(kvp => kvp.Key.StartsWith("Tuples" + Path.DirectorySeparatorChar));

I pulled #86 so the maven binaries should no longer be a problem.
The rest still is.

Read the updates notes in #86.

I tested with OpenJDK (couple different versions, currently v20).  Downloaded from Adoptium.
I haven't tried AWS Corretto, but it probably would be fine too.


Version number out of sync with packagist.org

packagist.org shows that 12.3.1 is the current version, whereas here on GitHub the latest release is 11.1.0

I see the latest Github release is 12.3.1 - https://github.com/symplify/phpstan-rules/tags

Thanks, I see. I was figuring that my problem at https://github.com/symplify/phpstan-rules/issues/93 is maybe related to some version discrepancy.
Anyway, I understand that writing release notes is cumbersome. But when raising to a next major version (e.g. 11 to 12), you should at least drop a line regarding the possible BC breaks (or what the "major" change is)


fix: Object.keys might return false result

When window storage is being proxied key might not be enumerable anymore. Safe way is to use key() which returns the n-th key of the storage.
This intends to fix #4379.
I did test modifying directly the code into the compiled source and report that it is working as expected.

Hi, thanks for reviewing this quickly

I will try to make a test, not sure how I can setup the storageProxy in test as it is code written by Salesforce developers. Do you also want a test that shows that previous version and new works the same when no proxy ?
I don't get what you want, the commit message is describing the change and that is the correct place for explaining changes. Code comment should only clarify functionality not change. Do you agree ?
Ok, I missed that point, will do

I will try to make a test, not sure how I can setup the storageProxy in test as it is code written by Salesforce developers. Do you also want a test that shows that previous version and new works the same when no proxy ?

A test that shows when window.localStorage and window.sessionStorage  are not enumerable, that relevant APIs still work.

I don't get what you want, the commit message is describing the change and that is the correct place for explaining changes. Code comment should only clarify functionality not change. Do you agree ?

I disagree. Comments can be used to detail why a piece of code exists or is written in a certain way, in addition to in the commit message.

Ok, I missed that point, will do

Thanks!

Closing, per comment in #4379 to not include for unsupport environments that are not following standards.


Request for additional examples

Hello,
First of all, I would like to express my sincere gratitude for making the PROCESS code available as open source. I'm very excited to use this great tool and am eager to explore its capabilities.
However, I'm having some difficulty understanding how to create the device.dat file mentioned in the user guide. It would be extremely helpful if you could provide more examples, especially various IN.DAT files for different types of tokamaks. Examples for stellarators and reverse pinch devices would also be greatly appreciated.
Thank you very much for your support and for sharing this valuable resource.

Hello,
Thank you for your comment. As part of the open sourcing procedure we removed many example IN.DAT files, but we are working on adding more example files back in.
This will require some work to update the examples to run with the latest version of PROCESS. Bear with us while we generate some new examples, including stellarators. I'll update you when they are ready.

Thank you for your comment!
I'll wait for that.


Create a version 2.0.0 and add Form support

Breaking Changes
AutoCompleteTextFieldState was renamed to _AutoCompleteTextFieldState as it no longer has any state in regard to suggestions and can be controlled using a TextEditingController and FocusNode
AutoCompleteTextField:
    Removed suggestions
    Removed itemFilter
    Removed itemSorter
    Removed onFocusChanged
    Removed suggestionsAmount
    Removed the key field
    Removed submitOnSuggestionsTap
    Removed minLength

    textChanged:
        Renamed to onChanged
        Moved to TextFieldConfiguration
    textSubmitted:
        Renamed to onSubmitted
        Moved to TextFieldConfiguration

    clearOnSubmit:
        Renamed to clearOnSelected
        Moved to AutoCompleteConfiguration

    Renamed itemSubmitted to onItemSelected
SimpleAutoCompleteTextField
    Removed minLength
    Removed the key field
    Removed to submitOnSuggestionsTap

    textChanged:
        Renamed to onChanged
        Moved to TextFieldConfiguration
    textSubmitted:
        Renamed to onSubmitted
        Moved to TextFieldConfiguration

    clearOnSubmit:
        Renamed to clearOnSelected
        Moved to AutoCompleteConfiguration

    Moved decoration to TextFieldConfiguration
    Moved keyboardType to TextFieldConfiguration
    Moved textInputAction to TextFieldConfiguration
    Moved textCapitalization to TextFieldConfiguration

New Features
Added class AutoCompleteConfiguration
Added class TextFieldConfiguration
Added AutoCompleteTextFormField
AutoCompleteTextField Features
Added AutoCompleteConfiguration config
Added itemBuilder
Should return a FutureOr<List<AutoCompleteEntry>>
Added AutoCompleteConfiguration config
Added TextFieldConfiguration textFieldConfiguration
Added noSuggestionsBuilder if the search term has no results
Added Animated Transitions:
Added duration
Added reverseDuration
Added transitionBuilder
Added support for asynchronous queries
Enabled if itemBuilder indeed returns a Future
Added errorBuilder for when the future throws an error
Added loadingBuilder for while the future is loading
SimpleAutoCompleteTextFieldFeatures
    Added duration for transitions
    Added noSuggestionsBuilder for when there are suggestions that fit the query
    Added TextFieldConfiguration textFieldConfig

would you mind re-pr-ing this without the merge conflicts + generated files?

Sure


warning free macros

Removed annoying warnings when compiling macros.

Thanks @calippo for doing this!
unfortunately breeze needs to support 2.10 (as you can see in the build failure), which doesn't have the whitebox/blackbox distinction. So I either need to have two versions of the code, or accept some warnings. I decided to accept the warnings. Maybe there's something else that can be done?


Sounddevice doesn't play if a program that uses sound is opened.

Hello
I am on Arch Linux and I started using SD today. My initial tests worked just fine. But when I opened another application like Spotify that play music (It is just opened but it doesn't play anything) and then tried to play a sound, it doesn't work anymore. Even if I closed Spotify it won't work till I restart my PC.
Devices are listed normally and it doesn't return any errors. Is this a normal behaviour or is it a bug?
And just a small question, Can I play during the playing of another sound? For instance, if a sound's duration is 1s, can I play the sound then after 0.5s play it again without the second sound killing the first sound (I want them to play at the same time).
Thanks.

What about other applications that play sound? Do they work when Spotify is open?
You should check with some other application that uses PortAudio, e.g. Audacity.

I just tried Audacity and it seems to have similar problems. Either Spotify or Audacity will work.
And Audacity return this error when it doesn't work, SoundDevice returnes similar error:
Error opening sound device. Try changing the audio host, playback device and the project sample rate.
Other applications like Chromium will work normally if Spotify is opened.
Is this a bug in Port Audio?

I did some researching and it turned out to be a configuration issue. I configured ALSA and Dmix and all the applications worked fine.

   0 HDA Intel PCH: ALC887-VD Analog (hw:0,0), ALSA (2 in, 2 out)
   1 HDA Intel PCH: ALC887-VD Digital (hw:0,1), ALSA (0 in, 2 out)
   2 HDA Intel PCH: ALC887-VD Alt Analog (hw:0,2), ALSA (2 in, 0 out)
   3 HDA ATI HDMI: 0 (hw:1,3), ALSA (0 in, 8 out)
   4 sysdefault, ALSA (128 in, 128 out)
   5 front, ALSA (0 in, 2 out)
   6 surround40, ALSA (0 in, 2 out)
   7 surround51, ALSA (0 in, 2 out)
   8 surround71, ALSA (0 in, 2 out)
   9 iec958, ALSA (0 in, 2 out)
  10 spdif, ALSA (0 in, 2 out)
  11 pulse, ALSA (32 in, 32 out)
* 12 default, ALSA (128 in, 128 out)
  13 dmix, ALSA (0 in, 2 out)

SD automatically set ALSA as default I believe. However, sometimes ALSA and Dmix don't even show up in the list, not sure what the issue is here.
Thanks ! btw, is it possible to play 2 sound at the same time inside SD?

@OmarSquircleArt If you're asking whether you can play multiple audio sources out of the same device simultaneously then what your describing is 'mixing'. This is not something that's built into portaudio or sounddevice. If you're asking whether it's possible to play out to multiple audio devices simultaneously I think this is possible.

@tgarc I am aware that it is mixing. I could mix my audio before playing it but this won't make it realtime. So is there is anyway mixing can be handled automatically in some way when 2 sounds are played in the same interval?

automagically? No. You would have to mix it yourself using your own audio callback. I'd thought to add an example of this to the project but I haven't had/don't have the time right now. Depending on how extensive your mixing needs are, you may want to look at a library that is written for this. (I know pygame has bindings for SDLmixer for example). But if your mixing goals are modest it should be easy enough to achieve with sounddevice alone. Some assembly required :D

My mixing goals are modest yah. I just need the ability to play multiple samples together (A simple sum).
But assembly? No thank you :smile: I don't have much codding experience.
I will wait for your example, take your time.

LoL you know I didn't mean assembly code right?

I suspected :laughing: , I really though you meant assembly code at first (because we are kinda going low level), but nah, nobody use assembly now.

@OmarSquircleArt
Your question has been in the back of my mind for a while and I was thinking, the simplest solution to your problem would probably to be rely on the mixing capabilities of the audio backend itself.
For example, here's something I whipped in a hurry that uses the default ALSA device provided in linux mint:
from __future__ import print_function
import sounddevice as sd
from numpy import pi, sin, arange
import threading
import time

def streamer(stream, data):
    stream.start()
    stream.write(data)
    stream.close()

for i in range(1,7):
    x = 0.1*sin(2*pi*i*440*arange(96e3)/48e3, dtype='float32')
    stream = sd.OutputStream(device='default', samplerate=48000, channels=1, dtype='float32')
    thread = threading.Thread(target=streamer, args=(stream, x))
    thread.start()
    print('Sin %dHz' % (i*440))
    time.sleep(0.5)
time.sleep(5)

The tricky part is you cannot use the simple play/record functions; you have to write your own callbacks or use the blocking read/write functions with threads. Also, this only works if your backend device is configured for mixing (the 'default' alsa device in my example uses the dmix plugin).
NB my example is sloppy as heck, don't expect any robustness.

Thanks! Will test that soon and so some more studying of the subject.

@OmarSquircleArt Any news?

@mgeier Sorry I didn't get back to you on time.
I did try this and it worked just fine for my tests. Thanks !
I used SD a while ago to make a completely procedural synthesizer, perhaps you would like to see it in action, here are some test I did:
All sounds you hear are synthesized procedurally using Animation Nodes in realtime. And played also in AN. pic.twitter.com/NfzFuDkQJC— Omar Ahmad (@omarsquircleart) April 4, 2017

Thanks for the update, looks interesting! Is the source code available?

@mgeier It is not really "coded". This system is a node based scripting system. That might sound weird, so here is an example to compute the sine wave samples you computed above:

As you may see each function is implemented as a "node", what I did was make a node that takes those computed samples as input and play them using SoundDevice.
Loops and function can also be used, here is an example to make the same loop as above:

In conclusion, this system allows me to make cool stuff without having to worry about coding, and this is usually what students want.

Cool, thanks for the info!

@OmarSquircleArt  ohh this is really cool..thanks for sharing!

How to solve a problem " No output device matching 'default'"

How to solve a problem " No output device matching 'default'"

Check the available audio devices with sd.query_devices() and choose a valid name. In your case there seems to be no "default" available, as this may be system dependent (e.g. I have no "default" shown on Windows).


fix: add idea config files

After chatting with some other members of the dxw dev team, we've concluded that this is probably not something we want to start committing since it makes it too easy for personal preferences to creep into the repository.


Please close and reopen with signed commits.

it is signed, just unverified