Server crashes and other nuisances

Hi,
I had server crashes when using the fishing rod. Furthermore, exp points disappear, gamemode can't be set to creative, and a plugin - toomanyitems - gets disabled.
http://pastebin.com/embed_js.php?i=Kjrf8BNW
http://pastebin.com/embed_js.php?i=3WH8ES9x

I've never encountered any of these issues. You need to zip up your world and upload it. You can try testing without WorldEdit for Forge. I also don't see your plugin toomanyitems at all in that log.

@Zidane I believe TooManyItems is client-side only. It uses commands for stuff that needs the server.

java.lang.OutOfMemoryError: Java heap space

Maybe your server/client is running with too less memory.

[19:29:50] [Client thread/INFO]: Created: 512x512 textures-atlas

Your texture pack? 512x512 will probably take a lot space

@ST-DDT The textures-atlas is a combination of all the block/item textures, not an individual texture.

I don't use a texture pack - allocated mem 1 gb - , and I had absolutely no issues using 1499/577 and earlier - only later versions cause grief. :(  It also makes no difference when I remove toomanyitems.

I started a new world and the server crashed again twice using a fishing rod and setting a door.
http://pastebin.com/embed_js.php?i=jATB9XKV">
http://pastebin.com/embed_js.php?i=t1xYm0fv">
Forge 1515 and Sponge 1515/671
I am a bit lost here .......

@Billabonga
Should have a fix for you shortly

@Billabonga
Can you zip up your save and put it on dropbox and let me grab it?

@Billabonga
Wait about 30 or so mins and give the latest Sponge a try. Issue will be resolved.

@Zidane Thanks a lot for your quick response and your effort. I very much appreciate it and everything is hunkydory.
BTW For future reference: what's or where do I find that dropbox you were referring to above

https://www.dropbox.com/
Basically lets you upload files and share them to others. Handy for passing off a save to a dev ;).


Staking, Governance, Public Goods Funding - Staking View

Description
This is for developing the Staking view as displayed in Figma. This will require:

the development of a new component Table
setting up the state management for Staking
Creating a mock util for fetching staking-related data

solved by https://github.com/anoma/namada-interface/pull/56


Not initializing

Don't know if I could be doing anything wrong, using cMake and C++ 17

Hey there,
Please try the following code so we can know what's going wrong during initialization :)
WinToast::WinToastError error;
const bool succedded = WinToast::instance()->initialize(&error);
if (!succedded) {
    std::wcout << L"Error, could not initialize the lib. Error number: "
    << error << std::endl;
}

Hey there,
Please try the following code so we can know what's going wrong during initialization :)
WinToast::WinToastError error;
const bool succedded = WinToast::instance()->initialize(&error);
if (!succedded) {
    std::wcout << L"Error, could not initialize the lib. Error number: "
    << error << std::endl;
}

thanks big daddy! gonna do it.

Closing this issue as no extra information was provided


Google analytics

STREAM URL
https://beyondtheladle.com
STREAM NAME
beyondtheladle
MEASUREMENT ID
G-H71LPMLNZB
STREAM ID
2150730095

pages get interesting, what I thought was more interesting was the tracking of specific user actions


Port standardization for openstack services with backward compatibility for existing keystone port

Removed hardcoded port values and created a role endpoints which contains all the port and URL values. Switched the non standard ports to standard ports.

These commits need to be squashed down. There are a lot of merges and work from other branches that have since been merged in here. This isn't a clean set of commits that I would merge into master.

This PR needs to be rebased, and the changes squashed down. There are far too many commits here that will just cause noise in the history if merged. Each separate commit should result in a fully functional tree. As it stands, it cannot be merged due to conflicts.

Closing due to other PR.


Hellishly large linker error messages

Here's the gist for the error messages I got- https://gist.github.com/WarpspeedSCP/cd05471c3df50aeb220068e58026d8e2
I defined TINYOBJLOADER_IMPLEMENTATION before including tiny_obj_loader.h, and hit compile only to get hit by a wall of linker errors. Any fixes?

TINYOBJLOADER_IMPLEMENTATION should be defined only in ONE .cpp/.cc
It looks you are defining it both VulkanFnLoaders.cc and main.cc

I have it defined in a common header file, which has those multi include guards as well.

You must not define TINYOBJLOADER_IMPLEMENTATION in header file unless the header file is only included in one compilation unit.

Thank you,, and sorry.


Feature/issue 453 - Icon Resumed

In relation to #453 proposal written by @mrapitis

Codecov Report

Merging #508 into develop will decrease coverage by 0.02%.
The diff coverage is 25%.

@@              Coverage Diff              @@
##             develop     #508      +/-   ##
=============================================
- Coverage      42.38%   42.35%   -0.03%
  Complexity      2794     2794
=============================================
  Files            362      362
  Lines          16862    16865       +3
  Branches        1724     1724
=============================================
- Hits            7147     7144       -3
- Misses          9403     9410       +7
+ Partials         312      311       -1

Impacted Files
Coverage Δ
Complexity Δ

...celink/proxy/rpc/RegisterAppInterfaceResponse.java
78.08% <0%> (-1.09%)
35 <0> (ø)

...n/java/com/smartdevicelink/proxy/SdlProxyBase.java
4.77% <50%> (+0.03%)
6 <0> (ø)
:arrow_down:

.../smartdevicelink/transport/MultiplexTransport.java
33.09% <0%> (-2.82%)
6% <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 9d7345d...e0c7c71. Read the comment docs.

Tested with core


Popup & ThemeShadow

Describe the bug
when set Popup's ShouldConstrainToRootBounds to true, the ThemeShadow behaves strange.
Steps to reproduce the bug
https://github.com/HppZ/PopupThemeShadowBug
Screenshots

Version Info
Windows 10 18362.239

This is because all the non-windowed Popups cast shadows onto the (hidden) PopupRoot. When they're windowed then they cast onto the desktop.
I'll let @codendone decide out whether this is a "bug".

@codendone please help

In general, the ShouldConstrainToRootBounds=true rendering, where the shadow from the second popup projects onto the first popup, is the intended/desired behavior.  By default, popups should be able to project shadows on other popups plus the main app content.
When popups are windowed (ShouldConstrainToRootBounds=false), the shadows are drawn outside of XAML's popup window via the Windows shell.  To optimize performance and simplicity for the shell code, it uses a single shadow receiver below the first opened popup.  This implementation unfortunately prevents the second popup from being able to cast a shadow on the first popup.  It isn't the desired behavior and we would like to fix this at some point, but it isn't currently high priority.
(In either case, if the popups have the same depth (/Translation.Z), then there will be no shadow in the overlap region.)


No module named 'kubernetes' when running "Create infra-registry pv"

the playbook fails with the following message:
TASK [openshift-4-cluster : Create infra-registry pv] **************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named 'kubernetes'
fatal: [host -> localhost]: FAILED! => {"changed": false, "error": "No module named 'kubernetes'", "msg": "Failed to import the required Python library (kubernetes) on dmshift.eu's Python /usr/libexec/platform-python. Please read the module documentation and install it in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter"}

Do you tried the new ansible-navigator method? https://github.com/RedHat-EMEA-SSA-Team/hetzner-ocp4#in-case-of-red-hat-enterprise-linux-8

I have the same issue with RHEL 8.6 executing:
ansible-navigator run -m stdout  ./ansible/02-create-cluster.yml

TASK [openshift-4-cluster : Include post installation tasks] *******************
fatal: [host]: FAILED! => {"reason": "couldn't resolve module/action 'kubernetes.core.k8s'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/root/hetzner-ocp4/ansible/roles/openshift-4-cluster/tasks/post-install-storage-nfs.yml': line 65, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Create infra-registry pv\n  ^ here\n"}
Any Ideas?

Arghhh....
As the message indicated - maybe the module is missing? And yes, it was. Just execute:
ansible-galaxy collection install community.kubernetes - the kubernetes.core.k8s module is included in  there.

mh strange, please show me your ansible-navigator.yaml  file.
Because community.kubernetes is part of the execution environment

I was able to work around it using plain ansible.
I'm running CentOS Stream release 8


Prompt undo command for --no-auto-commit mode

So here is my implementation of my suggestion in issue #1018.
It's probably not perfect, but it works for me. And since there seemed to be some interest, I thought I'd make a PR.
When the --no-auto-commit flag is set, the /undo command becomes what I described in #1018. It reverts all edits done by the last prompt, resets the chat history to what it was before the last prompt was issued, and deletes all files and folders created by aider during the last prompt. This works by popping off a stack that saves states every prompt, this way the command can be issued multiple times to undo prompts in the order they were issued.
The reason I decided to just replace the /undo command is because in --no-auto-commit mode, the current /undo command doesn't do anything useful. What I have implemented here is what I would expect /undo to do in --no-auto-commit mode.
For clarification, when --no-auto-commit is not set, /undo is unchanged.
I have now also added a /redo command, which accompanies this /undo command in --no-auto-commit mode.
Please let me know if you spot any issues or ways to improve!

Hi, @Aeraxys I tried your implementation, and it works great! However, when using the /undo command, changes made to existing files are successfully reverted, but newly created files by Aider during implementation are not removed. Is there any reason or way to fix this issue?

Hi, @Aeraxys I tried your implementation, and it works great! However, when using the /undo command, changes made to existing files are successfully reverted, but newly created files by Aider during implementation are not removed. Is there any reason or way to fix this issue?

Hmm, I have actually thought of this and fixed it, I'm gonna check if I maybe have forgotten to push it. Thanks for notifying me!

Hi, @Aeraxys I tried your implementation, and it works great! However, when using the /undo command, changes made to existing files are successfully reverted, but newly created files by Aider during implementation are not removed. Is there any reason or way to fix this issue?

Hmm, I have actually thought of this and fixed it, I'm gonna check if I maybe have forgotten to push it. Thanks for notifying me!
Okay so I checked, and no I haven't forgotten to push. It should work, according to line 389 to 401 in commands.py:
                # This file was created during the last prompt, so we should delete it
                if rel_fname in self.coder.created_by_aider:
                    try:
                        # Use drop_rel_fname to drop the deleted file
                        self.coder.drop_rel_fname(rel_fname)

                        # Remove the file from git and untrack it
                        if self.coder.repo:
                            self.coder.repo.remove_file_from_tracking(rel_fname)

                        if os.path.exists(fname):
                            os.remove(fname)
                            self.io.tool_output(f"Deleted file: {fname}")

This should delete files if they were created by aider during the last prompt. It works for me at least.

I'm not sure why it's not working for me, but I'll validate it again. However, when I manually delete the file created by Aider and use the /redo command, it successfully recreates the file with the content that was applied earlier.

Hi, @Aeraxys I tried your implementation, and it works great! However, when using the /undo command, changes made to existing files are successfully reverted, but newly created files by Aider during implementation are not removed. Is there any reason or way to fix this issue?

Hmm, I have actually thought of this and fixed it, I'm gonna check if I maybe have forgotten to push it. Thanks for notifying me!
Okay so I checked, and no I haven't forgotten to push. It should work, according to line 389 to 401 in commands.py:
                # This file was created during the last prompt, so we should delete it
                if rel_fname in self.coder.created_by_aider:
                    try:
                        # Use drop_rel_fname to drop the deleted file
                        self.coder.drop_rel_fname(rel_fname)

                        # Remove the file from git and untrack it
                        if self.coder.repo:
                            self.coder.repo.remove_file_from_tracking(rel_fname)

                        if os.path.exists(fname):
                            os.remove(fname)
                            self.io.tool_output(f"Deleted file: {fname}")

This should delete files if they were created by aider during the last prompt. It works for me at least.

I'm not sure why it's not working for me, but I'll validate it again. However, when I manually delete the file created by Aider and use the /redo command, it successfully recreates the file with the content that was applied earlier.

Hmm yeah not sure what it could be. I'm running on a Macbook and it works fine


Error in New-BCContainer "Access to the path 'C:\Run\Collation.txt' is denied"

Issue
Since today I am getting the error "Access to the path 'C:\Run\Collation.txt' is denied" when executing New-BCContainer (see script below), independent of the artifacts version.
Script used to create container and cause the issue
# set accept_eula to $true to accept the eula found here: https://go.microsoft.comfwlink/?linkid=861843
$accept_eula = $true

# container name and version
$containerName = 'd365bc20'

$artifactUrl = Get-BCArtifactUrl -type OnPrem -country "w1" -version "20" # but could be other version too

$licenseFile = "...."

# set credentials for using with UserPassword
$login = '....'
$password = '.....'
$securepassword = (ConvertTo-SecureString -String $password -AsPlainText -Force)
$credential = New-Object System.Management.Automation.PSCredential($login, $securepassword)

New-BCContainer -accept_eula:$accept_eula `
                -containerName $containerName `
                -artifactUrl $artifactUrl `
                -licenseFile $licenseFile `
                -auth UserPassword `
                -credential $credential `
                -memoryLimit:10GB `
                -updateHost `
                -shortcuts StartMenu `
                -isolation hyperv `
                -includeTestToolkit `
                -includeTestLibrariesOnly

Full output of script
BcContainerHelper version 3.0.8
BcContainerHelper emits usage statistics telemetry to Microsoft
BcContainerHelper is version 3.0.8
BcContainerHelper is not running as administrator
Host is Microsoft Windows 10 Pro - 21H2
Docker Client Version is 20.10.14
Docker Server Version is 20.10.14
Removing Session d365bc20
Removing container d365bc20
Removing entires from hosts
Removing d365bc20 from container hosts file
Removing d365bc20-* from container hosts file
Removing Desktop shortcuts
Removing C:\ProgramData\BcContainerHelper\Extensions\d365bc20
Fetching all docker images
Fetching all docker volumes
INFO: Windows 10 21H1/21H2 images are not yet available, using 2004 as these are found to work better than 20H2 on 21H1/21H2
Using image mcr.microsoft.com/businesscentral:10.0.19041.1415
Creating Container d365bc20
Style: onprem
Multitenant: No
Version: 20.1.39764.39901
Platform: 20.0.39668.39849
Generic Tag: <IP_ADDRESS>
Container OS Version: 10.0.19041.1415 (2004)
Host OS Version: 10.0.19044.1706 (21H2)
Using hyperv isolation
Using locale en-US
Disabling the standard eventlog dump to container log every 2 seconds (use -dumpEventLog to enable)
Using license file https://www.dropbox.com/s/3i1ygh9hc3k7e53/BC20%20Development%20License%20%287349239%29.flf
Downloading C:\ProgramData\BcContainerHelper\Extensions\d365bc20\my\license.flf
Files in C:\ProgramData\BcContainerHelper\Extensions\d365bc20\my:
- AdditionalOutput.ps1
- license.flf
- MainLoop.ps1
- SetupVariables.ps1
- updatehosts.ps1
Creating container d365bc20 from image mcr.microsoft.com/businesscentral:10.0.19041.1415
03106c6f3a146c85065ea138759e056fd724a7a1f08f54044951ffcb54e873fa
Waiting for container d365bc20 to be ready
Using artifactUrl https://bcartifacts.azureedge.net/onprem/20.1.39764.39901/w1
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\onprem\20.1.39764.39901\platform\ServiceTier\Program Files
c:\dl\onprem\20.1.39764.39901\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\onprem\20.1.39764.39901\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\onprem\20.1.39764.39901\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\onprem\20.1.39764.39901\w1\database\Demo Database BC (20-0).bak
Changing Database Server Collation to Latin1_General_100_CS_AS
Access to the path 'C:\Run\Collation.txt' is denied.
at SetDatabaseServerCollation, C:\Run\HelperFunctions.ps1: line 624
at <ScriptBlock>, C:\Run\navinstall.ps1: line 222
at <ScriptBlock>, C:\Run\start.ps1: line 225
at <ScriptBlock>, <No file>: line 1Error
Using artifactUrl https://bcartifacts.azureedge.net/onprem/20.1.39764.39901/w1
Using installer from C:\Run\150-new
Installing Business Central
Installing from artifacts
Starting Local SQL Server
Starting Internet Information Server
Copying Service Tier Files
c:\dl\onprem\20.1.39764.39901\platform\ServiceTier\Program Files
c:\dl\onprem\20.1.39764.39901\platform\ServiceTier\System64Folder
Copying PowerShell Scripts
c:\dl\onprem\20.1.39764.39901\platform\WindowsPowerShellScripts\Cloud\NAVAdministration
c:\dl\onprem\20.1.39764.39901\platform\WindowsPowerShellScripts\WebSearch
Copying dependencies
Copying ReportBuilder
Importing PowerShell Modules
Determining Database Collation from c:\dl\onprem\20.1.39764.39901\w1\database\Demo Database BC (20-0).bak
Changing Database Server Collation to Latin1_General_100_CS_AS
Access to the path 'C:\Run\Collation.txt' is denied.
at SetDatabaseServerCollation, C:\Run\HelperFunctions.ps1: line 624
at <ScriptBlock>, C:\Run\navinstall.ps1: line 222
at <ScriptBlock>, C:\Run\start.ps1: line 225
at <ScriptBlock>, <No file>: line 1
New-BCContainer Telemetry Correlation Id: 481ab649-af44-4841-b607-96a18005cd6b
Initialization of container d365bc20 failed
At C:\Users\lvvugt\OneDrive\Documenten\WindowsPowerShell\Modules\BcContainerHelper\3.0.8\ContainerHandling\Wait-NavContainerReady.ps1:42 char:17
+ ...             throw "Initialization of container $containerName failed" ...
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : OperationStopped: (Initialization ...d365bc20 failed:String) [], RuntimeException
    + FullyQualifiedErrorId : Initialization of container d365bc20 failed

Additional context

#2495 also started to happen today, which I ran into when wanting to update the BCContainerHelper module to check if this would solve the issue above
Not sure if this issue above relates to #2478

Please try and run the same script with -AlwaysPull (just once) to get the latest generic image.

Working fine it seems. -alwaysPull was needed because of #2478?
Was assuming this would trigger a new pull anyway.

More because of this: https://freddysblog.com/2022/05/10/resilience/
Only Waldo and a few other who don't use New-BcContainer would run into 2478

Clear and learned again today. Thanx,


Please, make an option for syntax to write code without {}, such as python has, this is a dream for many people.

const request = require("request-promise")

interface User
  id: number
  username: string

class RegUser

  constructor(public user: User)

  async reg(): Promise<boolean>
    try
      let user = JSON.stringify(this.user);
      await request('http://host.com/api/reg').post(user)
      return true
    catch(e)
      console.error(e)
    return false

let user: User =
  id: 1
  username: 'root'

new RegUser(user).reg()

wut?!

The TypeScript Design Goals would totally prohibit this from even being considered.
If you want a language that is not a superset of JavaScript, then TypeScript is not for you.

What about parens for invokation? They are not needed as well (see F#). #noParents

If you want a language that is not a superset of JavaScript, then TypeScript is not for you.

Indeed. Many options listed at https://github.com/jashkenas/coffeescript/wiki/list-of-languages-that-compile-to-js

#noParents 😆 come to my place, parents gone!

#noChildren


Implement a customizable delay before hiding

Holds the meter still visible for a customizable number of seconds when conditions to hide it are met.
Does not affect the cutscene hiding; this is mainly intended for delaying hiding when out of combat so the final numbers can still be seen for a few seconds.

This seems like a good feature, but I'm going to close this PR because I just pushed a huge update that will cause some significant merge conflicts. If you want to re-implement it in the new visibility settings, feel free.


Azure Container Registry Cache Rule

Related command
az acr cache create
Is your feature request related to a problem? Please describe.
We're currently using Azure Container Registry, but all our external HelmCharts and Dockerfiles are either uploaded through a pipeline or manually. Having them all as cache rules would be nice, so we didn't require any pipelines or manual intervention.
Describe the solution you'd like
Support adding other external URLs to the Cache Rule on Azure Container Registries. Right now, it's limited to a set of docker registries, but it would be great if you could pull all kinds of artefacts instead of only docker artefacts.
Right now, we use external artefacts from the following set of external providers

https://azure.github.io
https://traefik.github.io
https://helm.elastic.co
https://open-policy-agent.github.io
https://prometheus-community.github.io
https://azure.github.io/gitops-connector
https://charts.jetstack.io
https://open-telemetry.github.io
https://stakater.github.io

Would love to be able to use these as external providers for the cache rules instead of being limited to only docker registries.
Describe alternatives you've considered
We have an alternative, but the alternative is doing it manually or through the pipelines in Azure DevOps.
Additional context

Thank you for opening this issue, we will look into it.

Hey @pareion,
Thank you for the feedback! We are exploring the idea of expanding the supported upstreams. I will update this thread when we make some progress in this area.


Update to add support for IE9 transforms via msTransform

To resolve #80.

Let me know if that failed Travis build was my fault.

@bdvis Don't you need also add the msTransition in getTrackAnimateCSS as well as getTrackCSS ?? Can you just check if all the demos work before I commit this?
The Travis failure is not your fault. I think @akiran turned on Travis testing for this repo but there is no .travis.yml in the repo. So you don't have to worry about it.

@vramana nope, because IE 9 doesn't support transition, so basically in IE9 you get no animation at all (it jumps immediately from one slide to the next). That was fine for our needs, but maybe this isn't the best overall solution?

@bdvis Oh okay. You have to wait for @akiran to make the release or you use the github master for now.

Awesome. Thanks guys!

@bdvis , @vramana  Released 0.6.2 with this change

:beers:


metronome app is broken with last version of sc-scheluling

working version : 0.1.1

I made a new version and fixed the metronome too
(the chenillard is back :)
Let me know if it works on your side


Fallen log textures missing

What happened?
hello I just downloaded this mod to play with and I've noticed that the hollow logs for oh the biomes you'll go are missing there textures, the only one showing is the palo verde log, blockus white oak log, as well as the vanilla logs. is this a bug or are they not available yet?
Modloader
Fabric
Mod Version
1.19-1.1.1.jar
Minecraft Version
1.19
Logs
No response
Other Info
No response

Hmm, seems like the compat must have broken some how, What version of oh the biomes you'll go are you using?

oh no T.T I'm using the latest version, 1.19-<IP_ADDRESS>.jar

Fixed in version v1.1.2


Error when installing requirements: ModuleNotFoundError: No module named 'aiohttp'

Hi!
I'm getting an error when trying to install the requirements:
$ pip install -r requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting aiohttp==3.8.3
  Using cached aiohttp-3.8.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.0 MB)
Requirement already satisfied: aiosignal==1.3.1 in /home/mateus/.local/lib/python3.10/site-packages (from -r requirements.txt (line 2)) (1.3.1)
Collecting alabaster==0.7.13
  Using cached alabaster-0.7.13-py3-none-any.whl (13 kB)
Requirement already satisfied: async-timeout==4.0.2 in /home/mateus/.local/lib/python3.10/site-packages (from -r requirements.txt (line 4)) (4.0.2)
Collecting attrs==22.2.0
  Using cached attrs-22.2.0-py3-none-any.whl (60 kB)
Collecting Babel==2.11.0
  Using cached Babel-2.11.0-py3-none-any.whl (9.5 MB)
Collecting blobfile==2.0.1
  Using cached blobfile-2.0.1-py3-none-any.whl (73 kB)
Collecting certifi==2022.12.7
  Using cached certifi-2022.12.7-py3-none-any.whl (155 kB)
Collecting charset-normalizer==2.1.1
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Collecting click==8.1.3
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting dataclasses-json==0.5.7
  Using cached dataclasses_json-0.5.7-py3-none-any.whl (25 kB)
Collecting docutils==0.19
  Using cached docutils-0.19-py3-none-any.whl (570 kB)
Collecting faiss-cpu==1.7.3
  Using cached faiss_cpu-1.7.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.0 MB)
Collecting filelock==3.9.0
  Using cached filelock-3.9.0-py3-none-any.whl (9.7 kB)
Collecting Flask==2.2.2
  Using cached Flask-2.2.2-py3-none-any.whl (101 kB)
Requirement already satisfied: frozenlist==1.3.3 in /home/mateus/.local/lib/python3.10/site-packages (from -r requirements.txt (line 16)) (1.3.3)
Collecting greenlet==2.0.2
  Using cached greenlet-2.0.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (613 kB)
Collecting huggingface-hub==0.12.0
  Using cached huggingface_hub-0.12.0-py3-none-any.whl (190 kB)
Collecting idna==3.4
  Using cached idna-3.4-py3-none-any.whl (61 kB)
Collecting imagesize==1.4.1
  Using cached imagesize-1.4.1-py2.py3-none-any.whl (8.8 kB)
Collecting itsdangerous==2.1.2
  Using cached itsdangerous-2.1.2-py3-none-any.whl (15 kB)
Collecting Jinja2==3.1.2
  Using cached Jinja2-3.1.2-py3-none-any.whl (133 kB)
Collecting joblib==1.2.0
  Using cached joblib-1.2.0-py3-none-any.whl (297 kB)
Collecting langchain==0.0.81
  Using cached langchain-0.0.81-py3-none-any.whl (225 kB)
Collecting lxml==4.9.2
  Using cached lxml-4.9.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.1 MB)
Collecting MarkupSafe==2.1.2
  Using cached MarkupSafe-2.1.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB)
Collecting marshmallow==3.19.0
  Using cached marshmallow-3.19.0-py3-none-any.whl (49 kB)
Collecting marshmallow-enum==1.5.1
  Using cached marshmallow_enum-1.5.1-py2.py3-none-any.whl (4.2 kB)
Requirement already satisfied: multidict==6.0.4 in /home/mateus/.local/lib/python3.10/site-packages (from -r requirements.txt (line 29)) (6.0.4)
Collecting mypy-extensions==0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting nltk==3.8.1
  Using cached nltk-3.8.1-py3-none-any.whl (1.5 MB)
Collecting numpy==1.24.1
  Using cached numpy-1.24.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (17.3 MB)
Collecting openai==0.26.4
  Using cached openai-0.26.4.tar.gz (55 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [81 lines of output]
      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 419, in _parse_attr
          return getattr(StaticModule(module_name), attr_name)
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 26, in __init__
          spec = importlib.util.find_spec(name)
        File "/usr/lib/python3.10/importlib/util.py", line 94, in find_spec
          parent = __import__(parent_name, fromlist=['__path__'])
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/__init__.py", line 9, in <module>
          from openai.api_resources import (
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_resources/__init__.py", line 1, in <module>
          from openai.api_resources.completion import Completion  # noqa: F401
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_resources/completion.py", line 4, in <module>
          from openai.api_resources.abstract import DeletableAPIResource, ListableAPIResource
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_resources/abstract/__init__.py", line 3, in <module>
          from openai.api_resources.abstract.api_resource import APIResource
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_resources/abstract/api_resource.py", line 4, in <module>
          from openai import api_requestor, error, util
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_requestor.py", line 21, in <module>
          import aiohttp
      ModuleNotFoundError: No module named 'aiohttp'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 363, in <module>
          main()
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 345, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
        File "/usr/lib/python3/dist-packages/pip/_vendor/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel
          return hook(config_settings)
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 162, in get_requires_for_build_wheel
          return self._get_build_requires(
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 143, in _get_build_requires
          self.run_setup()
        File "/usr/lib/python3/dist-packages/setuptools/build_meta.py", line 158, in run_setup
          exec(compile(code, __file__, 'exec'), locals())
        File "setup.py", line 3, in <module>
          setup()
        File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in setup
          return distutils.core.setup(**attrs)
        File "/usr/lib/python3/dist-packages/setuptools/_distutils/core.py", line 122, in setup
          dist.parse_config_files()
        File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 804, in parse_config_files
          parse_configuration(
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 158, in parse_configuration
          meta.parse()
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 498, in parse
          section_parser_method(section_options)
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 469, in parse_section
          self[name] = value
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 222, in __setitem__
          value = parser(value)
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 599, in _parse_version
          version = self._parse_attr(value, self.package_dir)
        File "/usr/lib/python3/dist-packages/setuptools/config.py", line 422, in _parse_attr
          module = importlib.import_module(module_name)
        File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
        File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
        File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
        File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
        File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
        File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
        File "<frozen importlib._bootstrap_external>", line 883, in exec_module
        File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/__init__.py", line 9, in <module>
          from openai.api_resources import (
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_resources/__init__.py", line 1, in <module>
          from openai.api_resources.completion import Completion  # noqa: F401
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_resources/completion.py", line 4, in <module>
          from openai.api_resources.abstract import DeletableAPIResource, ListableAPIResource
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_resources/abstract/__init__.py", line 3, in <module>
          from openai.api_resources.abstract.api_resource import APIResource
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_resources/abstract/api_resource.py", line 4, in <module>
          from openai import api_requestor, error, util
        File "/tmp/pip-install-ln6t2r3l/openai_1d7e7b9794c9445ca030b2c87d53ada0/openai/api_requestor.py", line 21, in <module>
          import aiohttp
      ModuleNotFoundError: No module named 'aiohttp'
      [end of output]

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

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

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

Python and pip versions:
$ python3 --version
Python 3.10.6
$ pip --version
pip 22.0.2 from /usr/lib/python3/dist-packages/pip (python 3.10)

Am I missing something?
Thanks!

try running pip install aiohttp


first run - unauthenticated git protocol on port 9418 is not longer supported

Thanks for submitting a bug report. Please provide the following information:
A description of the problem
installed using:
sudo snap install cheat
Installed cheat on a new 20.04 system via snap. Ran 'cheat tar'. System responded with no config - create one now? I said yes. Below is what happened:
~$ cheat tar
A config file was not found. Would you like to create one now? [Y/n]:
Would you like to download the community cheatsheets? [Y/n]:
Cloning into '/home/idempiere-admin/snap/cheat/common/.config/cheat/cheatsheets/community'...
fatal: remote error:
The unauthenticated git protocol on port 9418 is no longer supported.
Please see https://github.blog/2021-09-01-improving-git-protocol-security-github/ for more information.
failed to run installer: failed to clone cheatsheets: failed to clone cheatsheets: exit status 128
cheat version info
Please paste the output of cheat -v here.
cheat -v
4.2.3

Hi @cboecking  thanks for your report. I had a look into it and fixed the issue with the snap's git config.
Can you check this pls.?

@chrisallenlane  can you close this one?

Closed and thank you!

Thanks, guys.

Hi Micheal,
Confirmed fixed. Here is how I confirmed:

could not re-run 'cheat config' due to previous bad state.
sudo snap remove cheat
sudo snap install cheat
cheat tar (said yes to config and download - all worked as expected)
cheat tar (all worked as expected)

Thank you for your time and effort regarding this project!
Regards,
Chuck Boecking
512.850.6068 (office and cell)
@.***
www.ChuckBoecking.com


Error when putting a script in console!

Hi bro, I was talking to this guy about an app and he said that I need better discord for it to work so he sent me the link to download it, I download it, I press CTRL+SHIFT+I, the console opens and then he told me to paste something into the console, I paste that into the console and it says ''Uncaught SyntaxError: Invalid or unexpected token'' and i tried reinstalling it 100 times and in the end that guy said he cant help me anymore because its not working for me and he doesnt know how to fix that, he said the problem is from my end, do you know what I could do to make it not give me that error anymore? thanks

I don't recommend you paste things in there without either knowing what you're doing or given instructions by someone who does. Clearly they don't know what they are doing. And now looking into what is being attempted, it is a malicious script that they even attempted to obfuscate so any suspecting persons wouldn't know what the code is attempting to do.


'Never' is not checked for unreachability

function fail(): never {
    throw new Error('oops');
}

function test1() {
    let str: string;
    fail();
    str = 'helloworld';  // No error. Should error with unreachable code.
}

function test2() {
    let str: string;
    if (Math.random() > 0.5) {
        str = 'helloworld';
    }
    else {
        fail();
    }
    let str2 = str + ''; // Error: str is used before being assigned. But should not error.
}

I raised this point in #9260 and @ahejlsberg responded in https://github.com/Microsoft/TypeScript/issues/9260#issuecomment-237564186 (see second half of comment).

@yortus your example which @ahejlsberg commented on is slightly different then this case. That example is for inferred 'never' typing for functions. In my example I use a declared 'never' function.
Just quoting @ahejlsberg :

We only report unreachable code errors based on the structure of the code, i.e. when we are 100% certain the code is unreachable in all circumstances.

Maybe inferred cases cannot reach 100%. I don't know. But for me, this example is 100%:
function test1() {
    let str: string;
    fail();
    str = 'helloworld';  // No error. Should error with unreachable code.
}

Because it is nearly exactly the same as this one:
function test1() {
    let str: string;
    throw new Error('oops');
    str = 'helloworld';  // Error unreachable code detected
}

This is also 100%:
function test2() {
    let str: string;
    if (Math.random() > 0.5) {
        str = 'helloworld';
    }
    else {
        fail();
    }
    let str2 = str + ''; // Error: str is used before being assigned. But should not error.
}

Because this one already are:
function test2() {
    let str: string;
    if (Math.random() > 0.5) {
        str = 'helloworld';
    }
    else {
        throw new Error('oops');
    }
    let str2 = str + ''; // No error
}

@tinganho First of all, I would prefer the behaviour you are suggesting here (i.e. detect the unreachable code and error).
That aside, I don't think the compiler currently does any cross-function analysis, so it doesn't assume the code after calling fail() is unreachable. So I suspect @ahejlsberg's comment does apply to your example as well. It would be great if he could clarify it himself.

To clarify what I said here, reachability analysis considers only the grammatical structure of the code, i.e. it doesn't factor in types. So, we know for certain that control won't reach a statement following a throw or return, but we don't know for certain that a function that promises to never return won't actually return. The distinction is important when you for example consider that JavaScript code might violate type annotations by passing parameters or returning values that don't conform to the annotated types.
That said, I agree it would be nice if we could report reachability errors following calls to never-returning functions, be they implicitly or explicitly typed. However, it's not a trivial change given how the analysis is currently structured. Meanwhile, you can make it work by writing return fail() instead of just fail():
function fail(): never {
    throw new Error('oops');
}

function test1() {
    let str: string;
    return fail();
    str = 'helloworld';  // Error, unreachable code
}

function test2() {
    let str: string;
    if (Math.random() > 0.5) {
        str = 'helloworld';
    }
    else {
        return fail();
    }
    let str2 = str + '';  // Ok
}

I think I'm starting to see a pattern here: a never functions must be called  in places where they can never be reached. Called elsewhere is not their intentions.


Broken by 3.0

The release of Scratch 3.0 has completely broken this in every way I can think of.

Yeah, Scratch 3.0 has kind of completely broken Scratch Boost. Unfortunately, I have been off Scratch for a while and this summer is the one before my senior year of high school, so I likely will not be able to much time at all to try to rewrite this for 3.0 (despite the fact that it would be really cool). As a result, this repo is now pretty much unmaintained and if it seems right, I may archive it permanently.
If you have any thoughts on this before I archive the repo, that would be pretty cool.

meh, i kinda liked the concept, it was useful to have at hand

maybe you can bring this back as a turbowarp extension?

you wont have to worry about sandboxing anymore

btw i loved this extension back when you could still use it (with nix's s2.0 port) so here's a project that might help: https://scratch.mit.edu/projects/717031217/
this is a 3d extension for scratch that actually works like scratch boost did and adds a category with blocks while NOT being on another instance like turbowarp.


How to add CallKit in React native demo app

Hi,
what is the syntax for AudioVideo.start(callKitEnabled: isCallKitEnabled) in Objective C, and where can i add this line in bridge File

Obj-C syntax:
BOOL started = [meetingSession.audioVideo startWithCallKitEnabled:isCallKitEnabled error:&error];
You can replace it here.