No "Other Windows" item in the "View" menu

There are several reference to "View" > "Other Windows" in the page.
I don't see "Other Windows" item in the "View" Menu of Visual Studio Code

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

ID: a426e3db-8d10-e7d2-0957-5eb07d28e76d
Version Independent ID: e54ea195-0592-0424-a5b1-54dba78257e4
Content: Python interactive window (REPL) - Visual Studio (Windows)
Content Source: docs/python/python-interactive-repl-in-visual-studio.md
Product: visual-studio-windows
Technology: vs-python
GitHub Login: @JoshuaPartlow
Microsoft Alias: joshuapa

@gpion -- thank you for your feedback.  Please consider these resources, and let me know if your issue is resolved:

Visual Studio on Microsoft Q&A
Visual Studio MSDN Forum
Stack Overflow
Reddit


Include user in git commit info

A thought that just occured to me (sorry if I missed an issue for it already):
For user-requesed changes, I'd be great if we could set the commit author to the user, and the commit committer to flux-bot.

An adjacent idea: get the username sent by fluxctl from git config (currently it uses the logged-in user).

@leth To check my interpretation:

for automated upgrades, use flux-bot as the committer and author
for user-initiated changes (releases, lock/unlock, automate/deautomate), use flux-bot as the committer and the user as the author.

Is this right?

Exactly (assuming my previous research on the semantics of author vs comitter was correct)! :)

Addressed by #735, which introduces a flag for the daemon --git-set-author. When supplied (it's false by default, so people don't suddenly have broken systems), the daemon will use the user as the commit author.
It also makes fluxctl populate the user information by looking in git config, rather than using the logged-in user.


Impossible to edit documentation page

Version
1.0.0-beta.15
Reproduction link
https://vue-test-utils.vuejs.org/en/api/components/RouterLinkStub.html#
Steps to reproduce
Go to https://vue-test-utils.vuejs.org/en/api/components/RouterLinkStub.html#
Click on Edit this page.
=> 404
What is expected?
A possibility to edit the documentation
What is actually happening?
404

Thanks for the bug report.
We're going to move our docs to Vuepress in the next few weeks, which doesn't have an edit option. So I'm closing this issue as won't fix


deps: bump celestia-node to v0.11.0-rc15

Overview
This PR matches the latest celestia-node version. However, am running into issues after running the built image.

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

likely due to something in the diff between rc12 and rc13

may be related https://github.com/celestiaorg/celestia-app/pull/2467/files

Although it looks related https://github.com/celestiaorg/celestia-app/pull/2467 modifies the single-node.sh script that lives inside the celestia-app repo. As far as I can tell, this repo copied a lot of that script's contents and used it in entrypoint.sh so I think we may need a modification in entrypoint.sh to make sure we're deleting and creating the directory ~/.celestia-app correctly.

thanks for checking this out @rootulp - I can't seem to figure it out! but will keep this pr posted

ah, i see that celestia-app version from v0.11.0-rc12 to rc13 of celestia-node goes from v1.0.0-rc13 to v1.0.0-rc14

this is the same thing i saw. i'll be going over with @smuu, too and will follow up here

do you know what may be going on here @Bidon15 ?

I tried debugging and failed miserably for a day and a half. @rootulp we are clearing the /home/celestia/.celestia-app directory if it's existing. Otherwise we are just logging that a folder never existed in the first place.
The issue is that we are missing a binary /bin/celestia-appd that is actually existing in that path. This is not happening in rc12 but once you bump to rc13 and main - we see such issues.
@jcstein, I'll need some more time to figure out why this is happening

I would not say that the error states that it does not find the celestia-app binary as the error states "cannot execute: required file not found".
So I understand it in a way, that the system starts the binary but the binary fails with the error message, that a required file is missing that it needs to start.

FWIW I don't think bumping celestia-app's version is causing this b/c I was able to bump to celestia-app v1.0.0-rc16 in https://github.com/rollkit/local-celestia-devnet/compare/main...rootulp:local-celestia-devnet:rp/app-rc-16 and devnet started fine. I think the issue is originating from the celestia-node bump.

however, using v1.0.0-rc16 of celestia-app + v0.11.0-rc12 of celestia-node works just as expected...i believe @rootulp is right here and there is some breaking change between rc12 and rc13 of node

we suspect it is an issue within celestia-app itself that relies on a specific architecture to perform the commands that are failing

This is correct. I verified that the celestia-appd binary is built for aarch64.
When celestia-node rc-13 is used, the Docker image is using x86_64.
When celestia-node rc-12 is used, the Docker image is aarch64.

I thought there may be a quick fix by explicitly depending on the arm64 version of celestia-node with
FROM ghcr.io/celestiaorg/celestia-node:v0.11.0-rc13@sha256:4b5b09baafe1263376d1d1f81a9bc444ad0f3e94b5f8cf19806f5b3303c76b51

From: https://github.com/celestiaorg/celestia-node/pkgs/container/celestia-node/126803928?tag=v0.11.0-rc13 but that doesn't resolve. My next idea to resolve is the Dockerfile in this repo can start from a clean slate FROM docker.io/alpine:3.18.3 and then copy the binaries from both the celestia-app image and celestia-node image but I'm a Docker noob so maybe there's a better way to do this now that the issue has been identified. Any ideas @smuu @Bidon15 ?

After deep diving into the kernels and different ways of building up an image, I finally got the root cause of all evil
	/lib/ld-musl-x86_64.so.1 (0xffffba211000)
	libc.musl-x86_64.so.1 => /lib/ld-musl-x86_64.so.1 (0xffffba211000)
Error relocating /bin/celestia: unsupported relocation type 7
Error relocating /bin/celestia: unsupported relocation type 7

The musl library was panicking as the reference points were at expected arm64 arc, BUT it turns out that our celestia-node packages that are platformed as linux/arm64 turns out to be x86_64, which created hell.
As an interim solution, I propose to use and me with rest of devOps team figure out why GA is making our lives so much harder
 FROM vietcelestia/celestia-node:v0.11.0-rc13

hmmm it looks like this doesn't have perms to pull from your vietcelestia image @Bidon15? i don't see it on this page, so believe it could be private -- unless it is node
https://github.com/rollkit/local-celestia-devnet/actions/runs/6312165992/job/17137652590?pr=63#step:4:154
https://github.com/rollkit/local-celestia-devnet/actions/runs/6312165682/job/17137648172?pr=63#step:4:152

i was able to build this locally with no issues, but hit error on Error: unknown flag: --gateway.deprecated-endpoints
2023-10-12T14:36:23.586Z        INFO    node    nodebuilder/init.go:72  Node Store initialized
WARNING: Keep this auth token secret **DO NOT** log this auth token outside of development. CELESTIA_NODE_AUTH_TOKEN=

WARNING: Celestia custom network specified. Only use this option if the node is freshly created and initialized.
**DO NOT** run a custom network over an already-existing node store!

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJBbGxvdyI6WyJwdWJsaWMiLCJyZWFkIiwid3JpdGUiLCJhZG1pbiJdfQ.bRQdLDQNuk5M1qWL-9HaAATVerU1Vsqklu8ZI09Cdlc
Error: unknown flag: --gateway.deprecated-endpoints

testing with @smuu now, if we use GHCR it's compatible with AMD, but if we use dockerhub it is compatible with ARM

Can be closed in favor of #67 Thank you for debugging @jcstein @Bidon15 @smuu @MSevey


Fix a bug when tokenize an InfixExpression ends with a decimal number

A bug occurs when I was trying to tokenize an infixExpression ends with a decimal number, and I tried to fix this problem.
Python 3.10.4 (main, Jan 25 2023, 00:13:50) [GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import javalang
>>> list(javalang.tokenizer.tokenize('a == 0'))
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/workspaces/javalang/javalang/tokenizer.py", line 538, in tokenize
    token_type = self.read_integer_or_float(c, c_next)
  File "/workspaces/javalang/javalang/tokenizer.py", line 370, in read_integer_or_float
    if c == '0' and c_next in 'xX':
TypeError: 'in <string>' requires string as left operand, not NoneType

This happens only for the single-digit decimal integer '0'?

Sorry, It has been a long time and I can't remember it.


Will not work over a proxy

Hi there, we've had users complain they can't use openid over our squid proxy.  I think it's because urllib2 doesn't support HTTPS over a proxy... (urllib3 does, if it's of any use).
https://docs.python.org/2/howto/urllib2.html#id15
https://www.pythonanywhere.com/forums/topic/502/#id_post_8109
Not sure if this is a priority for y'all, but thought I'd let you know!

This repo is being archived. Closing issue.


ScottPlot5: Test using .NET Framework 4.6.2

Recently there are multiple hard-to-diagnose errors related to the inability to load the SkiaSharp DLL easily in .NET Framework projects:

#2419
#2491

We should create a .NET Framework 4.6.2 test project to ensure basic and troublesome functions work.
If this topic keeps presenting challenges for maintainers and users, we should consider whether or not to remove .NET Framework support from ScottPlot 5

Unfortunately I don't think this is a good solution.
Tests targeting .NET Framework 4.6.2 pass easily, but Visual Studio designer still crashes ☠


Compilation fails under stack with missing fl_types.h

Using the steps posted in the Windows install, the final step to build the hello world program using stack fails:
Building fltkhs-<IP_ADDRESS>...
Preprocessing library fltkhs-<IP_ADDRESS>...
In file included from .stack-work\dist\2fae85dd\build\Graphics\UI\FLTK\LowLevel\Ask.chs.h:3:0:
./c-src/Fl_Types.h:3:25: fatal error: FL/fl_types.h: No such file or directory
compilation terminated.
c2hs.exe: Error during preprocessing custom header file

Does /usr/include/FL/fl_types.h or /usr/local/include/FL/fl_types.h or <fltk-install-prefix>/FL/fl_types.h exist?

Yes, fl_types.h can be found in /mingw32/include, the include path given by fltk-config:
$ fltk-config --cflags
-I/mingw32/include -I/mingw32/include/FL/images -mwindows -DWIN32 -DUSE_OPENGL32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
I'm running Windows 7

Ok, explicitly setting  export CPATH=/mingw32/include and running stack install again gets me passed this error.
Now it is complaining it can't find certain 64-bit Haskell Platform directories while I'm running a x86 variant.
(Perhaps best to make that another issue)

Oh interesting. I didn't test the install Haskell Platform, I just used the Stack Windows installer. Let me see if I can get any further.

I just installed the latest Haskell Platform for 64 bit Windows and followed the Windows install instructions from scratch and was not able to reproduce your error. I am running 64 bit Windows 8. I'll test on Windows 7 when I can get my hands on a machine.
FWIW here's what fltk-config --cflags gave me:
-I/mingw64/include -I/mingw64/include/FL/images -mwindows -DWIN32 -DUSE_OPENGL32 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64

There's no mention of the mingw32 directory. Are you running 32-bit?

Yes, for supporting older hardware I'm using the 32-bit Haskell Platform.

Tried again using latest Haskell Platform 8.0.2 32-bit.
Changed the hello world yaml to use lts-8.0 and then stack install -v --system-ghc.
Everything stack builds is located in a i386-windows.
In the end it fails with:
 Building fltkhs-<IP_ADDRESS>...
    Preprocessing library fltkhs-<IP_ADDRESS>...
    C:\Users\jorisp\AppData\Local\Temp\stack6680\fltkhs-<IP_ADDRESS>\In file included from .stack-work\dist\5f9bc736\build\Graphics\UI\FLTK\LowLevel\Ask.chs.h:3:0:
    C:\Users\jorisp\AppData\Local\Temp\stack6680\fltkhs-<IP_ADDRESS>\c-src\Fl_Types.h:3:25: fatal error: FL/fl_types.h: No such file or directory
    compilation terminated.
    c2hs.exe: Error during preprocessing custom header file

I see some hard coded 64-bit paths in fltkhs' Setup.hs.

Yes, I had to do some unfortunate path munging and didn't have access to a 32 bit machine. In any case I pushed a fix to master. Do you mind pulling and trying? Thanks for your patience.

Tried building and succeeded, thanks.

Great, thanks! I'll release another version and update the various demos etc. later today.


Make sure local ipfs node is never used when app is connected to remote node ws

Otherwise there is a risk of losing market data forever

Don't show markets that we can't fetch the metadata for OR hide these markets under a filter that isn't easily found.
Always backup market data to our IPFS node (for later: put on the creation page a notice that this is happening).


ScaleTool's preview of static pose, without scaling, fails

Steps to reproduce

Load subject01_simbody.osim Models/Gait2392_Simbody
Launch ScaleTool
Uncheck "Scale Model"
Check "Adjust Model Markers"
For "Marker data for static pose" use: subject01_static.trc
Check "Preview static pose (no marker movement)"
Verify weights under "Static Pose Weights" tab are defined ( all 1.0)
Back to "Settings" tab and press Run.

Expected result
The model posed to static trial specified with a preview of where the model markers are relative to experimental markers.
Actual result
No preview of pose, just error message.

Environment and GUI version
Mac build: OpenSim c596914-2018-02-24

May be in 3.3 as well. Ideally the iteration of scaling doesn't create a new model and is not based on the latest/current model

@jimmyDunne Do you know offhand if this is also a bug in 3.3?

Exact behavior occurs in 3.3, but instead of dialog showing exception, the red stop-sign shows in the lower right corner of the application window.

A second, posed, Model is generated, Red Circle of Death appears in the right-hand corner without much useful info on what went wrong (Below). @aymanhab, what is the definition of Done for this? Is it (i) pose is generated and no Red Circle of Death, or is it (ii) pose is generated with Red Circle and we will fix later?
A java.lang.NullPointerException exception has occurred. 	Click Show Details or see the messages.log file located in your /Users/jimmy/Library/Application Support/OpenSim/cea85df-2018-07-18/var/log folder.

@jimmyDunne What's the stacktrace for the red-circle, and is it justified (pilot error). If the functionality works and there's a spurious exception then I'd consider it Done, if you're stuck or the user function didn't get accomplished then it's not Done.

I had spent a few hours doing other things in the GUI before testing this— trying to recreate in fresh GUI, I don't see the issue. I can perform the operations specified by Ajay and I don't get any errors (Mac)


Adopt changes from level 3 of spec

https://www.w3.org/TR/webauthn-3/
So far, I've found the following (non-comprehensive) list of changes:

JSON format handling, as noted in #41
Improved documentation of conditional mediation
Flags for credential backup eligibility and state in authenticator data
Explicit recommendation about the credential record to be associated with the user

type
id
publicKey
signCount
uvInitialized
transports[] (note: this doesn't appear to be part of the signed, trusted data)
backupEligible
backupState
?attestationObject
?attestationClientDataJSON

Explicit recommendation of the max length of a credential (<= 1023 bytes; §7.1¶25)
Addition of optional topOrigin and crossOrigin fields to ClientDataJSON
Signing (authn) response can include an AttestationObject; additional parsing described §7.2¶25

Note: I think the credential record changes specifically are going to necessitate some large modifications to the codec logic, and could result in a fairly major BC break.

A couple additional notes:

The CredentialInterface name has always been somewhat conflicting with how RP apps want to name the storage value. The new spec seems to lean towards credential record as suggested terminology.
Handling the "only treat this as MFA if uvInitialized was already set" is difficult to navigate (§7.2¶26#3)


151 | Reverse Words in a String | C++

Reverse Words in a String -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code
[ ] Improving Code
[ ] Improving Documentation
[ ] Bug Fix

Programming Language
Please add/delete options that are not relevant.

[ ] Python
[x] C++
[ ] Java
[ ] SQL

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

hello, how are you?
I want to be assigned to this issue.
Thank you.

Hey, @Sinha199 can you assign it to me. Will like to contribute.

Please assign this to me.

Hey, @Sinha199 can i be assigned for this issue. Will like to contribute.

@Tahreem-Khalil you can create your own issue.

Hey, @Sinha199 can you assign it to me. Would like to contribute. Thanks


[zh] Localize feature-gates/l*.md

Related to issue #44410. Localize these files:

legacy-node-role-behavior.md
legacy-service-account-token-clean-up.md
legacy-service-account-token-no-auto-generation.md
legacy-service-account-token-tracking.md
load-balancer-ip-mode.md
local-storage-capacity-isolation-fs-quota-monitoring.md
local-storage-capacity-isolation.md
logarithmic-scale-down.md
logging-alpha-options.md
logging-beta-options.md

/lgtm
/approve


Question. How do i listen only new message after bot was started?

Problem:
Once i start a bot, it will go back in a chat history and iterate through all messages which was sent while bot was down/disabled.
What is a way to ignore messages with timestamp which is less than time.now (which is a time when bot was started)
Thank you in advance.

Hey @fedorc,
unfortunately, I don't think it's possible, you have to implement it manually somehow. The problem is that Update object itself doesn't provide any date information, only Update's ID. You can try to check Update#current_message for dates, but this is not 100% reliable because some types (e.g. Message) provide such information, but others (e.g. ChosenInlineResult) don't.

@atipugin , thank you for your reply, it pointed me in a different direction and i was able to solve my need
i used to have, which was pooling old messages
bot.listen do |message|   if message.text.match(/^(\d)+$/) && message.text.size == 5     # do some good stuff   end end
changed to this, and now its working as i need
time_now = Time.now.to_i bot.listen do |message|   if (message.date.to_i > time_now) && message.text.match(/^(\d)+$/) && message.text.size == 5     # do some good stuff   end end
can be closed.
thank you


fix: update esbuild

Might do the trick for https://github.com/prisma/prisma/issues/6051

Did it help? Should we merge?

@Jolg42 once I have news, I'll post them here

This fixed the debugLib is not a function error now, but not yet the missing binary.

Actually Renovate updated it again https://github.com/prisma/prisma/pull/6325 so we need to fix it again and disable renovate for esbuild


question: default ssl configuration difference between linux distros

Hello gentlemen. I'm kind of stuck on a SSL/TLS issue and would appreciate some feedback from professionals. Here it is:
we have this test case in docker-py which I'm assuming ensures that the client uses safe TLS:
try:
    import requests.packages.urllib3 as urllib3
except ImportError:
    import urllib3

ssl_context = urllib3.util.ssl_.create_urllib3_context()

assert ssl_context.options & OP_NO_SSLv3
assert ssl_context.options & OP_NO_SSLv2
assert not ssl_context.options & OP_NO_TLSv1

This works in upstream just fine. But in Fedora this started to fail in rawhide (spin with latest upstream packages). Bear in mind, that we try to unbundle as much as possible in Fedora, so requests is using upstream urllib3, not the bundled one.
And that's where my knowledge ends. This is the test failure:
tests/unit/ssladapter_test.py:27: in test_only_uses_tls
    assert ssl_context.options & OP_NO_SSLv2
E   AssertionError: assert<PHONE_NUMBER>L & 0)
E    +  where<PHONE_NUMBER>L = <ssl.SSLContext object at 0x3ffa4cbdde8>.options

I have these packages installed:
compat-openssl10-1.0.2j-5.fc26.x86_64
openssl-libs-1.1.0b-3.fc26.x86_64
openssl-1.1.0b-3.fc26.x86_64
python3-urllib3-1.16-3.fc26.noarch
python2-urllib3-1.16-3.fc26.noarch

I can easily reproduce (python 3, same is happening with python 2)
In [1]: import urllib3

In [2]: c = urllib3.util.ssl_.create_urllib3_context()

In [3]: c.options
Out[3]:<PHONE_NUMBER>

In [4]: c.options & ssl.OP_NO_SSLv3
Out[4]: 33554432  # good

In [5]: c.options & ssl.OP_NO_SSLv2
Out[5]: 0  # bad

In [6]: c.options & ssl.OP_NO_TLSv1
Out[6]: 0  # good?

The question: should we explicitly pass to create_urllib3_context that we want TLS?

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38846557-question-default-ssl-configuration-difference-between-linux-distros?utm_campaign=plugin&utm_content=tracker%2F192525&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F192525&utm_medium=issues&utm_source=github).

In the first instance, problems with distro-provided packages should be referred to that distribution. Given that we didn't ship the code, the first job of the distribution is to work out if their own packages have broken the code.
In this instance, it should be noted that it may not be possible to pass OP_NO_SSLv2 to the context in question. Fedora Rawhide's OpenSSL may literally have no SSLv2 support compiled into it (it may have been compiled with no-ssl2). You should investigate the output of openssl version -a.

@Lukasa you're the man! The issue was that openssl was compiled without ssl2 support. Hence OP_NO_SSLv2 was set to 0. Thank you very much!

=D No problem. Happy to help!


Cleans up table printing

@whoburg, ready for review.

hey @mjburton11, are you using gpkit's latex table printing, or do you have your own local version? With this merged I'd suggest switching to gpkit's if you haven't already -- it will help us to find bugs and other things to improve.
And if you have any local improvements, you might make those into a PR.

His has always been semi-custom; I wrote a new one with him this afternoon that is more custom but also more general, and we're in the process of getting it ready for master.

The solution table is gpkit's.  The one @bqpd is referring to is submodel latex printing.


Issues with Emoncms

We have built the sensor as explained in https://droplet.hackpad.com/Hardware-Primer-ZlAUIxXoOr8. You can find attached photographs of what we did:

However we have a  few doubts:

the thickness of the antenna connected to the sensor (it was not precised in the protocol)
the connection between VCC of the microphone to the Moteino: we chose finally 3V3. Is there some new code to add to the OpenDropletOEM file?

We have loaded the OpenDropletOEM file to the sensor, without doing any changes.
We have connected the rfm12pi to the rpibasestation b+ but we are not sure which pins we should use exactly. You can find attach the photograph of what we did:

We have loaded the ready-to-go SD card image to the SD card as explained in steps 1 and 2 of https://github.com/emoncms/emoncms/blob/bufferedwrite/docs/setup.md
We have configured the basestation to store locally the data as explained in step 3a) of https://github.com/emoncms/emoncms/blob/bufferedwrite/docs/setup.md.
Here is our emonhub.conf file:

However, we are not sure of the group and the baseid of the RFM12pi module: we left the initial values: group=210, baseid=15. The frequence is 433MHz.
Now, "inputs should start appearing in the inputs section of your emoncms account". It worked once: . Is this what we are expecting?
There were 3 inputs appearing : Node 1 - key 1, Node 1 - key 2, Node 1 -key 3.
However, these inputs just disappear and we can no longer see them. Shure proposed to:
-"checked that the rpi filesystem is read AND write enable after reboot": however in https://github.com/emoncms/emoncms/blob/bufferedwrite/docs/setup.md they say to "Set the raspberrypi os back into read-only mode" at the end of the protocol, before checking the inputs
-"checked serial output from sensor": what does this mean exactly?
-"rfm hub service on rpi running": yes, this is the case.
When we connect the power of the basestation, connected to a screen, there are three strange texts:

The log is said to be off but in the file: boot/emonhub.conf, loglevel = WARNING
When we write the "sudo iostat 60" command, kb_wrtn/s is not as it should be (around 0.5-1.5 kb_wrtn/s):

Some mistakes can come from any of the previous steps. However, as we saw the inputs once, can't we assume that no mistakes were made? Except if it is possible that the inputs seen are coming from another RFM12 device?

I will try to address your questions:

However, as we saw the inputs once, can't we assume that no mistakes were made? Except if it is possible that the inputs seen are coming from another RFM12 device?
The data you saw seems to be your node, the array of three data points absolutely correlates with the data you send from the node.

When we write the "sudo iostat 60" command, kb_wrtn/s is not as it should be (around 0.5-1.5 kb_wrtn/s)

I can't follow your problem there, the system seems to work well - it would be broken if it would show anything above 0, because you put it into read only mode immediately before. Why should the write stat be around 0.5-1.5 kb/s, when nothing is allowed to write to the sd card?
I would not put the system into a read only state as you want to tweak files and log data. The error messages at bootup seem to be normal due to the read only state. It does not start in read and write state to reduce wear on the filesystem due to the nature of SD cards, they have a limited amount of writing operations, but a near unlimited amount of read operations before they will fail.
The error which says

Starting redis server: failed.

could be a problem, as redis seems essential to buffer the incoming data. However, the error could be coming up because the service is already up and running, thus can't be started a second time. If you are not familiar with the linux shell and the evaluation of running processes, I guess the following commands are an easy approach to see if the redis service has been running:
sudo service redis-server start
sudo service redis-server stop
sudo service redis-server restart

The antenna length should be 165 mm for the rfm12b frequency of 433 Mhz. The wire width is unimportant.
The batteries you are using don't look healthy at all. I assume they are rechargeable batteries and have been damaged with overcharging and thus overheating. If any of the batteries touch their adjacent battery due to the broken insulation they will form a short circuit.
I suggest you connect the Moteino to your computer and look at the serial output, for example with the Arduino IDE.

We tried what you proposed (we put the write mode, the service you talked about was indeed already running, the antenna is 165mm long and we use the USB adapter to power the sensor) but it still does not work.
We don't know what you mean by "serial output". What is it and where can we find it with the Arduino IDE? What the serial output should look like?
We are now building another sensor to try evrything again on the new sensor to see if there is anything wrong with soldering.

We tried what you proposed (we put the write mode, the service you talked about was indeed already running, the antenna is 165mm long and we use the USB adapter to power the sensor) but it still does not work.
We don't know what you mean by "serial output". What is it and where can we find it with the Arduino IDE? What the serial output should look like?
We are now building another sensor to try evrything again on the new sensor to see if there is anything wrong with soldering.

The orange LED of the sensor should be flashing or constant?
The green light of the rfm12pi near the antenna should be flashing or off when the sensor is sending data?

Hi,
The new sensor seems to exhibit the correct behavior which is flashing everytime a packet is sent via rfm12. Now I have pushed a change so that:

Now the LED is brighter when the sound received is louder and dimmer when it is quiter. This should help to calibrate the microphone gain (
A bug where the emontx.spl variable wasn't set is fixed.

Please upload the new code (run git pullto get the new code, and use the Arduino IDE to push it) and let us know if that changes anything on EmonCMS.

Can you also try on the hub:

Setting the loglevel at INFO
Restart emonhub : sudo service emonhub restart
Posting here a few dozen lines of the emonhub log : tail -f /var/log/emonhub/emonhub.log

we tried what you suggested, we checked the emonhub log, but there is a line saying WARNING as shown by the print screen attached:

@UCLteam Can you paste (instead of screenshots) here the result of sudo ps faux

@UCLteam Also please do the following:

sudo service emonhub stop
Then (with the Pi still powered) physically remove the RFM12b board from the Raspberry Pi GPIO pins.
Re-insert the RFM12b board on the RPi.
sudo service emonhub start
Post the result of tail -f /var/log/emonhub/emonhub.log again.

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         2  0.0  0.0      0     0 ?        S    16:00   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    16:00   0:00  _ [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [kworker/0:0H]
root         6  0.0  0.0      0     0 ?        S    16:00   0:00  _ [kworker/u2:0]
root         7  0.1  0.0      0     0 ?        S    16:00   0:03  _ [rcu_preempt]
root         8  0.0  0.0      0     0 ?        S    16:00   0:00  _ [rcu_sched]
root         9  0.0  0.0      0     0 ?        S    16:00   0:00  _ [rcu_bh]
root        10  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [khelper]
root        11  0.0  0.0      0     0 ?        S    16:00   0:00  _ [kdevtmpfs]
root        12  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [netns]
root        13  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [perf]
root        14  0.0  0.0      0     0 ?        S    16:00   0:00  _ [khungtaskd]
root        15  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [writeback]
root        16  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [crypto]
root        17  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [bioset]
root        18  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [kblockd]
root        19  0.1  0.0      0     0 ?        S    16:00   0:03  _ [kworker/0:1]
root        20  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [rpciod]
root        21  0.0  0.0      0     0 ?        S    16:00   0:00  _ [kswapd0]
root        22  0.0  0.0      0     0 ?        S    16:00   0:00  _ [fsnotify_mark]
root        23  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [nfsiod]
root        29  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [kthrotld]
root        30  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [VCHIQ-0]
root        31  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [VCHIQr-0]
root        32  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [VCHIQs-0]
root        33  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [iscsi_eh]
root        34  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [dwc_otg]
root        35  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [DWC Notificatio]
root        37  0.0  0.0      0     0 ?        S    16:00   0:00  _ [VCHIQka-0]
root        38  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [SMIO]
root        39  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [deferwq]
root        41  0.0  0.0      0     0 ?        S    16:00   0:00  _ [mmcqd/0]
root        42  0.0  0.0      0     0 ?        S    16:00   0:00  _ [jbd2/mmcblk0p2-]
root        43  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [ext4-rsv-conver]
root        44  0.0  0.0      0     0 ?        S    16:00   0:00  _ [kworker/0:2]
root      1132  0.0  0.0      0     0 ?        S<   16:00   0:00  _ [ext4-rsv-conver]
root      2907  0.0  0.0      0     0 ?        S    16:07   0:00  _ [kworker/u2:1]
root         1  0.0  0.2   2152  1320 ?        Ss   16:00   0:00 init [2]
root       159  0.0  0.4   2892  2164 ?        Ss   16:00   0:00 udevd --daemon
root       295  0.0  0.4   2888  1912 ?        S    16:00   0:00  _ udevd --daemon
root       303  0.0  0.4   2888  1912 ?        S    16:00   0:00  _ udevd --daemon
root      1494  0.0  0.2   1756  1152 ?        S    16:00   0:00 /usr/sbin/ifplugd -i lo -q -f -u0 -d10 -w -I
root      1535  0.0  0.2   1756  1224 ?        S    16:00   0:02 /usr/sbin/ifplugd -i eth0 -q -f -u0 -d10 -w -I
root      1792  0.0  0.8   4904  3596 ?        Ss   16:00   0:00 dhclient -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
root      1823  0.0  0.5  27996  2476 ?        Sl   16:00   0:00 /usr/sbin/rsyslogd -c5
nobody    1854  0.0  0.3   2024  1476 ?        Ss   16:00   0:00 /usr/sbin/thd --daemon --triggers /etc/triggerhappy/triggers.d/ --socket /var/run/thd.socket --pidfile
root      1874  0.0  3.3  39432 15016 ?        Ss   16:00   0:00 /usr/sbin/apache2 -k start
www-data  1935  0.3  2.8  41980 12520 ?        S    16:00   0:10  _ /usr/sbin/apache2 -k start
www-data  1936  0.4  2.8  42200 12700 ?        S    16:00   0:12  _ /usr/sbin/apache2 -k start
www-data  2913  0.4  2.8  42200 12684 ?        S    16:07   0:10  _ /usr/sbin/apache2 -k start
www-data  2915  0.4  2.8  42200 12804 ?        S    16:07   0:12  _ /usr/sbin/apache2 -k start
www-data  2927  0.4  2.6  41352 11700 ?        S    16:08   0:09  _ /usr/sbin/apache2 -k start
www-data  2939  0.4  2.8  41956 12532 ?        S    16:09   0:10  _ /usr/sbin/apache2 -k start
www-data  2948  0.4  2.8  41956 12528 ?        S    16:10   0:10  _ /usr/sbin/apache2 -k start
www-data  3179  0.4  2.8  42132 12632 ?        S    16:25   0:05  _ /usr/sbin/apache2 -k start
www-data  3202  0.3  2.7  41868 12140 ?        S    16:33   0:03  _ /usr/sbin/apache2 -k start
www-data  3218  0.3  2.6  41352 11688 ?        S    16:45   0:00  _ /usr/sbin/apache2 -k start
root      1932  0.0  0.4   3832  1920 ?        Ss   16:00   0:00 /usr/sbin/cron
104       1940  0.0  0.3   3184  1512 ?        Ss   16:00   0:00 /usr/bin/dbus-daemon --system
109       2047  0.0  0.3   2288  1672 ?        S    16:00   0:00 /usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
root      2101  0.0  0.2   1764  1160 ?        S    16:00   0:00 /bin/sh /usr/bin/mysqld_safe
mysql     2442  0.5  8.5<PHONE_NUMBER>8 ?        Sl   16:00   0:16  _ /usr/sbin/mysqld --basedir=/usr --datadir=/home/pi/data/mysql --plugin-dir=/usr/lib/mysql/plugin --
root      2443  0.0  0.3   1856  1368 ?        S    16:00   0:00  _ logger -t mysqld -p daemon.error
root      2465  0.0  3.1  36104 14192 ?        S    16:00   0:00 /usr/bin/php -f /var/www/emoncms/run/feedwriter.php
ntp       2490  0.0  0.7   5524  3228 ?        Ss   16:00   0:00 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 102:104
redis     2534  0.2  0.5  27364  2320 ?        Ssl  16:00   0:06 /usr/bin/redis-server /etc/redis/redis.conf
root      2561  0.0  0.6   6224  2948 ?        Ss   16:00   0:00 /usr/sbin/sshd
root      3182  0.0  0.9   9268  4448 ?        Ss   16:28   0:00  _ sshd: pi [priv]
pi        3186  0.0  0.8   9268  3580 ?                Sl   16:12   2:47 python /usr/share/emonhub/emonhub.py --logfile /var/log/emonhub/emonhub.log --config-file /etc/emonhub/
pi@emonbase ~ $

Please use the triple backquote notation (before and after) to make such pasted logs more readable. that is three of those: `
I've edited your previous post to include this.

The new result:
'''
2015-03-11 16:59:01,488 INFO Creating EmonHubEmoncmsReporter 'emonCMS'
2015-03-11 16:59:01,493 INFO Set up reporter 'emonCMS' (buffer: memory | size: 1000)
2015-03-11 16:59:01,497 INFO Setting emonCMS url: http://localhost/emoncms
2015-03-11 16:59:01,500 INFO Setting emonCMS apikey: set
2015-03-11 16:59:01,502 INFO Creating EmonHubJeeInterfacer 'RFM2Pi'
2015-03-11 16:59:05,541 WARNING Device communication error - check settings
2015-03-11 16:59:05,544 INFO Setting RFM2Pi frequency: 433 (4b)
2015-03-11 16:59:06,547 INFO Setting RFM2Pi group: 210 (210g)
2015-03-11 16:59:07,551 INFO Setting RFM2Pi quiet: 1 (1q)
2015-03-11 16:59:08,554 INFO Setting RFM2Pi baseid: 15 (15i)
'''

(it's backquotes ` rather than simple quotes ').
Is the sensor powered on? When you power it on, do you see the LED on the RFM12b board on the RPi blink?

yes the sensor is powered on
yes the LED on the RFM12B is blinking

Could we please have a skype call? It might be easier.

But then it would only help you instead of potential future people having similar problems!

So this line:
2015-03-11 16:59:05,541 WARNING Device communication error - check settings
is the problem. It means that the RPi cannot talk to the RFM12B board. The way the RPi system should talk to it is via the /dev/ttyAMA0 device which is a serial port.
Can you increase the LogLevel to debug and post the log again?

2015-03-11 16:59:01,493 INFO Set up reporter 'emonCMS' (buffer: memory | size: 1                                                                                000)
2015-03-11 16:59:01,497 INFO Setting emonCMS url: http://localhost/emoncms
2015-03-11 16:59:01,500 INFO Setting emonCMS apikey: set
2015-03-11 16:59:01,502 INFO Creating EmonHubJeeInterfacer 'RFM2Pi'
2015-03-11 16:59:05,541 WARNING Device communication error - check settings
2015-03-11 16:59:05,544 INFO Setting RFM2Pi frequency: 433 (4b)
2015-03-11 16:59:06,547 INFO Setting RFM2Pi group: 210 (210g)
2015-03-11 16:59:07,551 INFO Setting RFM2Pi quiet: 1 (1q)
2015-03-11 16:59:08,554 INFO Setting RFM2Pi baseid: 15 (15i)
2015-03-11 17:22:30,199 INFO Logging level set to DEBUG

You need to restart the emonhub service to reload the new configuration.

2015-03-11 17:27:10,011 INFO Exit completed
2015-03-11 17:27:11,738 INFO EmonHub Pre-Release Development Version (rc1.2)
2015-03-11 17:27:11,740 INFO Opening hub...
2015-03-11 17:27:11,743 INFO Logging level set to DEBUG
2015-03-11 17:27:11,746 INFO Creating EmonHubEmoncmsReporter 'emonCMS'
2015-03-11 17:27:11,751 INFO Set up reporter 'emonCMS' (buffer: memory | size: 1000)
2015-03-11 17:27:11,755 INFO Setting emonCMS url: http://localhost/emoncms
2015-03-11 17:27:11,757 INFO Setting emonCMS apikey: set
2015-03-11 17:27:11,762 INFO Creating EmonHubJeeInterfacer 'RFM2Pi'
2015-03-11 17:27:11,767 DEBUG Opening serial port: /dev/ttyAMA0 @ 38400 bits/s
2015-03-11 17:27:15,794 WARNING Device communication error - check settings
2015-03-11 17:27:15,798 INFO Setting RFM2Pi frequency: 433 (4b)
2015-03-11 17:27:16,803 INFO Setting RFM2Pi group: 210 (210g)
2015-03-11 17:27:17,809 INFO Setting RFM2Pi quiet: 1 (1q)
2015-03-11 17:27:18,814 INFO Setting RFM2Pi baseid: 15 (15i)

I'm looking into it here: http://openenergymonitor.org/emon/node/6244 and here https://github.com/emonhub/emonhub/issues/58#issuecomment-66480108
May I suggest you do the same please?

We are reading it

@UCLteam can you try minicom -b9600 -D/dev/ttyAMA0 (note that to exit minicom you need to first press CTRL together with the A letter, then the X key, finally press Enter to select 'Yes').

8 42 0 164 0 0 0
8 42 0 159 1 0 0
8 42 0 159 0 0 0
8 42 0 89 1 0 0
8 42 0 86 1 0 0
8 42 0 149 0 0 0
8 42 0 145 0 0 0
8 42 0 160 0 0 0
8 42 0 19 1 0 0
8 42 0 154 0 0 0
8 42 0 44 1 0 0
8 42 0 172 0 0 0

Ok that's good! So the problem is that the speed of the serial port is not detected properly. You should be able to work around that by adding the com_baud = 9600 line to your emonhub.conf and restarting emonhub.
[[RFM2Pi]]
    Type = EmonHubJeeInterfacer
    [[[init_settings]]]
        com_port = /dev/ttyAMA0
        com_baud = 9600
    [[[runtimesettings]]]
        group = 210
        frequency = 433
        baseid = 15

@UCLteam Then as I suspect it will work, don't forget to get back to the WARNING LogLevel so that the SD card doesn't overfill.

Yes, it works!!!

Thank you very much for the help!!! Now, we see inputs and on the three inputs nodes, the value of node 1 is 42 which we thought is the the uid of the sensor (because in the code and the serial output we saw the value of 42 correspond to uid). The value of node 2 is changing and we think this value correspond to the peaktopeak in the serial output. And the third node is 0. We are wondering what the value of node 2 represents? What is the unit of the value?

I'll close this issue, please now open one issue per problem or question. Thanks!.

I know this issue is closed already but some info maybe useful (better late than never!) sorry  I wasn't around yesterday.
"The log is said to be off but in the file: boot/emonhub.conf, loglevel = WARNING" You have several things going on at once causing overlaps in the log messages, the "Log is turned off" is not related to emonhub. It is a message from emoncms's feedwriter daemon. The previous "red boxed" message about swap files could (should?) be handled better and configured off rather than "failed" the end result is no swap files due to be read-only. The nature of emoncms data would damage the sd card if not read-only so "expanding the memory" using swap files isn't recommended and probally not needed as an emonBase doesn't do too much memory intensive stuff.
There is a known occasional issue with emonhub auto baud detection which is discussed in more detail on the emonhub repo, it can be easily overridden using the "com_baud" setting as you have. It is normally occasional and the fact you saw it quite frequently makes me suspect you have something else accesing the serial port, since emonhub will only NOT move on to the next baud to try if it gets a legible response, hence the "occasional" stray data in a buffer causing emonhub to think it's got a resonse, for it to happen so consistently makes me wonder if it's picking up something elses data.
"don't forget to get back to the WARNING LogLevel so that the SD card doesn't overfill." emonhub.log is written to RAM on the read-only image plus it is limited to a max of 2 5MB files in rotation.
Paul


MPA sample to use username instead of user to store authenticator

Fixes #634
The MPA sample did use the user object instead of the username to store the authenticator. This caused the lookup, using the username, to find no allowed credentials. By using the username for storing and lookup, as does the SPA, this problem is gone.

Thanks!


Remove version: TheDocumentFoundation.LibreOffice version <IP_ADDRESS>

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

For moderators
This account is automated by Github Actions and the source code was created by CoolPlayLin. If you have any questions about any pull request, don't hesitate to ping @Exorcism0666, I'll get a notification.

[!important]
Please carefully review these Pull Request before merging. If it is a Pull Request for removing incorrect content and the URLs are issue, free upon manual checking, please close this Pull Request directly. (It is best to inform Exorcism0666 of the closure.)

良い一日をお過ごしください！

URL: http://download.documentfoundation.org/libreoffice/stable/7.6.0/win/x86_64/LibreOffice_7.6.0_Win_x86-64.msi
Response status code does not indicate success: 404 (Not Found).
(Automated message - build 656)


Error: failed to download mahjong soul log

I came across the problem to get the game log. Also, I can get access to  access https://tensoul.herokuapp.com/ normally. Would you be so kind to help me find a solution to this problem.

Error: failed to download mahjong soul log https://game.maj-soul.com/1/?paipu=210816-2576a4ac-3c87-472b-bcf0-2d7371a6b3a5_a415362495
Caused by:
get mahjong soul log: 500 Connection Failed

Thank you for your time.

Are you using a proxy? Did you set https_proxy?

Yes, I am using V2rayN and setting global proxy. It shown "accepted //tensoul.herokuapp.com:443 [proxy]", but when running cmd, I didn't see the log about this domain.

That means you didn't set http_proxy and https_proxy env. The reviewer will honor this env setting once you set it.
In cmd it should be set https_proxy=http://xxxxx

It works now, thank you for your help.


Fix bug with withdrawal feedback page not rendering

Context
If a candidate chooses not to provide any withdrawal feedback then they get an error, as the view being called to render doesn't exist.
Changes proposed in this pull request

Call the correct view in the controller action
Display the correct error messages
Link errors correctly
Add a test

Link to Trello card
https://trello.com/c/ka7QcU1A/2586-rails-error-shown-if-submit-withdrawal-feedback-form-without-answering-any-questions-template-is-missing
Things to check

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

Fixed the layout so that the .govuk-grid-row immediately wraps .govuk-grid-column-two-thirds. .govuk-grid-row adds a negative margin (that the column classes then add back in) so need to be careful where <div>s with this class appear as they can adversely affect the page layout.

Nice. Looks good.


Avoid the error caused by cursor limitation after execution of getAllRecords

Package

@kintone/rest-api-client

Why
fix https://github.com/kintone/js-sdk-ja/issues/26
What
In getAllRecords, call DELETE /cursor.json after fetching records with cursor.json.

A cursor is deleted automatically when all records are obtained from an existing cursor.

The maximum valid cursors per domain is 10.
If this limit is reached, API calls to add new cursors will fail.
If one of the following actions occur, the number of valid cursors will be reduced:

All records are obtained from an existing cursor
A valid cursor is deleted
A valid cursor expires

https://kintone.dev/en/docs/kintone/rest-api/records/add-cursor/#limitations
getAllRecords() fetches all records, so the cursor should have been deleted in a normal case.
If an error is thrown, getAllRecords() call delete cursor API in the catch block.
https://github.com/kintone/js-sdk/blob/a4a112bb0ecc5b75d9c89a078aebea14e4c5007f/packages/rest-api-client/src/client/RecordClient.ts#L339


add additional check for paths base config validation

Closes #1359
Updating the docs in this case would be better than manipulating the paths at runtime. Changing the regex or url slicing solves the problem for dev, but still throws when adapters starts building (I tried). Rather than adding checks for all possible uses at runtime or (worse) changing the config passed from the user, it would be clearer for the user to just make sure that the config is correct.

Have you seen https://github.com/sveltejs/kit/pull/1608 ? This PR seems to be editing the same line of code. I'm wondering what you think about the difference between the two PRs

I wasn't aware of that PR, it also seems to solve different, yet similar issues. Checking for a trailing slash would cover this issue and other cases, but I also think it's better to update the docs and mention it in the error message.

I've merged the other PR here, they should appear as a co-author. Also updated this PR's description.

updated some of the text slightly and merged. thank you!

Thank you, Ben! That must've been a chore

Nope. It was easy enough


Missing full bodied examples

There are a lot of small, partial examples which match up with the small schema chunks but can you make a set of examples which show the entire request/response body and all possible default properties/schemas? and importantly these should be in pure JSON, exactly as you would expect the request or response to be formed when being sent to/from a beacon implementation.

+1

IMU, there should be examples for most of the whole documents too.
I'm fine, if you suggest that, to move them into a separate folder for clarity.
Please, point the ones you are missing (note: some informational ones could have been added in the recent days)

I'll consider this solved unless something pops out.


Error in build from htmlproofer (i think)

Checklist

[X] I have read and accepted the contributing guidelines.

How did you create the site?
Generated from chirpy-starter
Describe the bug
When running a build using the default yml with
      - name: Test site
        run: |
          bundle exec htmlproofer _site \
            \-\-disable-external=true \
            \-\-ignore-urls "/^http:\/\/<IP_ADDRESS>/,/^http:\/\/<IP_ADDRESS>/,/^http:\/\/localhost/"

against this page I get an error that states an a tag needs a reference.
As this page does not have any html included I assume it's coming from one of the tools used by the build, and since it's the test step, I assume it's htmlproofer.
I have disabled the entire test for now and the page renders fine.  I wanted my own version of your text and typeography page locally as I was experimenting with some of the mermaid diagrams.
Steps To Reproduce
Make a change and build the specified page above
Expected Behavior
build successfully
Environment
Latest versions of everything
Anything else?
No response

Not exactly sure why this was just closed without any response.


fix: remove uses of issymbollike, depend on SII

Checklist

[ ] Appropriate tests were added
[ ] Any code changes were done in a way that does not break public API
[ ] All documentation related to code changes were updated
[ ] The new code follows the
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
[ ] Any new documentation only uses public API

Additional context
Add any other context about the problem here.

Solutions are coming out different, not sure why

I will fix tomorrow

I've been digging into this, it seems like the PDESolution interface is fine, but the tests compare against a sol.original_sol and I believe the interpolation error actually exists here.

Ah, so there are some dubious calls in the failing test MethodOfLines/test/components/solution_interface.jl:42
grid = get_discrete(pdesys, discretization) #(9,9)
traditional_sol = zeros(Float64, length(sol.t), 9, 9)
solu = sol.original_sol[grid[u(t, x, y)]]

but sol.original_sol is only (T, 8, 8), and we're indexing into it with a (9,9). It seems like it's just repeating the u(t,x,y)[2,2] value for the boundaries.
julia> traditional_sol[1,:,:]
9×9 Matrix{Float64}:
 0.0438214  0.0438214    0.0438214    0.0438214    …  0.0438214    0.0438214    0.0438214    0.0438214
 0.0438214  0.0438214    0.456629     0.99737         0.0438214    0.000881502  3.71685e-6   3.28505e-9
 0.0438214  0.456629     0.99737      0.456629        0.000881502  3.71685e-6   3.28505e-9   6.08589e-13
 0.0438214  0.99737      0.456629     0.0438214       3.71685e-6   3.28505e-9   6.08589e-13  2.36331e-17
 0.0438214  0.456629     0.0438214    0.000881502     3.28505e-9   6.08589e-13  2.36331e-17  1.92368e-22
 0.0438214  0.0438214    0.000881502  3.71685e-6   …  6.08589e-13  2.36331e-17  1.92368e-22  3.28215e-28
 0.0438214  0.000881502  3.71685e-6   3.28505e-9      2.36331e-17  1.92368e-22  3.28215e-28  1.17382e-34
 0.0438214  3.71685e-6   3.28505e-9   6.08589e-13     1.92368e-22  3.28215e-28  1.17382e-34  8.79946e-42
 0.0438214  3.28505e-9   6.08589e-13  2.36331e-17     3.28215e-28  1.17382e-34  8.79946e-42  1.3827e-49

julia> traditional_sol[10,:,:]
9×9 Matrix{Float64}:
 0.0181737  0.0181737    0.0181737     0.0181737     0.0181737    …   0.0181737     0.0181737     0.0181737
 0.0181737  0.0181737   11.5379        5.80246       0.00283022       0.00158061    0.00607835    0.0145106
 0.0181737  4.65155      5.93072      11.4036        0.0053046        0.00264009    0.00842839    0.0189501
 0.0181737  2.48606      1.9606        0.0438791     0.000554888      0.000628334   0.000111981  -0.00974379
 0.0181737  1.02964      0.0456341     0.000454459   4.57115e-5       0.000588307   0.000738681   0.00106035
 0.0181737  0.90901      0.000600395   6.45301e-5   -1.19882e-5   …   0.000354857   0.000559608   0.000500321
 0.0181737  0.00121619   9.50736e-5   -3.92466e-5   -3.62156e-5      -0.000212254  -0.000265876  -6.59349e-5
 0.0181737  0.00549957  -1.42342e-5   -2.0833e-5     2.98726e-5       0.000196979   0.000532795   0.00116151
 0.0181737  0.00730426  -3.36528e-5   -1.85244e-6    1.52625e-5       0.000254279   0.00110834    0.00309887

julia> traditional_sol[end,:,:]
9×9 Matrix{Float64}:
 -0.013751  -0.013751   -0.013751     -0.013751     …  -0.013751     -0.013751    -0.013751    -0.013751
 -0.013751  -0.013751    0.0603288    -0.000233445     -0.000608095   0.00147142   0.00508782  -0.0141488
 -0.013751  16.9011     39.415         0.320138         0.00281172    0.00338428  -0.00508294   0.0366225
 -0.013751  17.3233     13.0935        0.0744963        0.0198935     0.0197856   -0.0830545    0.38196
 -0.013751  -0.453438    0.0423686    -0.00234209       0.0201236     0.0255276   -0.976563     1.55339
 -0.013751   8.80398     0.000831992   0.00336582   …   0.0158783     0.0273809    0.108254    -0.326402
 -0.013751  -0.596338    0.00110156    0.00313817      -0.0206732    -0.0179058    0.022136    -0.231748
 -0.013751  -0.0123999   0.000911816   0.00137948      -0.0028375    -0.00512977   0.0182841   -0.0261768
 -0.013751  -0.0154579   0.000448413   0.000278492     -0.00183106    0.0016592    0.0100524   -0.0228178

I think this is low risk acceptance that will clear bugs off the backlog for the issymbolic bit. I'd be happy to remedy the tests in another PR if @xtalax agrees with the above assessment.

Okay, because https://github.com/SciML/MethodOfLines.jl/actions/runs/7283474229/job/19847405484?pr=346#step:6:533 scares me a bit, but you're saying it's not the solution interface but the interpolation that's the issue?

Spinning up a PR to get the CI back in shape.

thanks that will be immensely helpful


Loading replay files fails on Windows

Hi,
I am trying to process replays in order to extract some features out of them. I use a custom ReplayObserver and this is how the main function looks like:
int main(int argc, char* argv[]) {
    sc2::Coordinator coordinator;
    if (!coordinator.LoadSettings(argc, argv)) {
        return 1;
    }

    if (!coordinator.SetReplayPath(kReplayFolder)) {
        std::cout << "Unable to find replays." << std::endl;
        return 1;
    }

    Replay replay_observer;

    coordinator.SetStepSize(16);
    coordinator.SetRealtime(false);

    coordinator.AddReplayObserver(&replay_observer);

    while (coordinator.Update());
    while (!sc2::PollKeyPress());
}

following is the output and the error I am getting:
Launched SC2 (C:\Games\StarCraft II\Versions\Base59587\SC2_x64.exe), PID: 3212
Waiting for connection....
Connected to <IP_ADDRESS>:8167
Replay is from a different version. Relaunching client into the correct version...
Launched SC2 (C:\Games\StarCraft II\Versions\Base55958\SC2_x64.exe), PID: 12652
Waiting for connection..
Connected to <IP_ADDRESS>:8168
map_name: σÑÑσ╛╖Φ╡¢ - σñ⌐µó»τëê`
WaitForReplay: start replay contains an error: 7
WaitForReplay: error details: The launch of this game makes reference to mod or map dependencies which are no longer available.
map_name: Abyssal Reef LE
WaitForReplay: start replay contains an error: 7
WaitForReplay: error details: The launch of this game makes reference to mod or map dependencies which are no longer available.

I have the replay and map files in their respective folders in the root of my StarCraft II installation directory. Moreover, the code works fine on Linux.
I tried to debug the issue and I fond out that the ReplayInfo objects for each replay have a seemingly random sequence of characters for their map_name attributes, i.e.: σÑÑσ╛╖Φ╡¢ - σñ⌐µó»τëê
Even though some replays have correct map_name in their ReplayInfo: Abyssal Reef LE the error is still the same for those as well.

I had a similar issue when doing something like this recently and never resolved it. I investigated a bit but never had time to write up an issue because it was for an assignment due relatively soon after.
I believe you're launching the wrong version of the game for the replay. Test this out by seeing which version of the binary is launched when you open it manually and which version is launched when you run your observer. You can see this by using the task manager and doing "go to process" > "show in explorer" or something similar.
If they differ, try moving all of your versions except the one you need elsewhere temporarily and rerunning your observer. In my experience it would launch the correct version but tell me my install was broken and offer me the opportunity to repair it.
Let me know if you have the same experience.

@kuzi117 thanks for the answer. The Coordinator initially starts the wrong version of the game, but when it reads the replay and checks the version of the game the replay was created on, it then reloads StarCraft into the correct version of the replay. I tried removing StarCraft executables of wrong versions and only keeping the correct one in the StarCraft installation directory. That however doesn't work as it seems I can't directly start an older version of Starcraft. I can't do it manually nor through setting Coordinator to launch the older version directly by using SetProcessPath method. The game just crashes without any error messages immediately after starting it.
During this process, I however started Blizzard launcher and let it download the latest executable of StarCraft (Base60321). When using this version of the game, the code I pasted here in the original post works.
It would still be very useful for me if I were able to start the older version directly though as I have some issues connected to switching the versions of the game.


The string is just being sanitised by whatsapp

On what version is it supposed to work btw? i see the message sent as a regular string.

All use with android

PARPB8HM4CD4EAA0E16C

Well said but doesn't work effectively, i stopped bothering myself about anything hack/ recover accounts or fix credit since i discovered this genius who deserves all the praise he gets though not from the USA.  bohdanbohdan93 at Mail . ru is who you need to help you , i don't mind if you mention i gave you his informations like WhatsApp too +998880092846 i'm positive he'll help you

Excuse me my dear brother, but I have some questions regarding its use of the application, how do I do that?


Fixed flops calculation

Hi @gktejus please correct the resnet.py as currently ResNetCifar is commented and the new parent storing strategy is also not incorporated for ResNetCifar. Also kindly change the get_flops to use get_remaining and remove the __calc_flops as it serves no purpose now.
Cheers!


[WIP]Fix code injection vulnerability in validate/code API

Fixes #696
Update post_validate_code to use literal_eval instead of exec for safer code evaluation.

API Changes

Add a warning comment about the risks of using the /validate/code endpoint in src/backend/base/langflow/api/v1/validate.py.
Update post_validate_code to use literal_eval instead of exec.

Validation Changes

Update validate_code in src/backend/base/langflow/utils/validate.py to filter out malicious code.
Add checks to prevent the use of import statements and dangerous functions like eval and exec.

Testing

Add tests in src/backend/tests/unit/test_validate_code.py to ensure post_validate_code handles and rejects malicious code inputs.
Add tests to verify the updated validate_code function.

For more details, open the Copilot Workspace session.

Hey @nimasteryang
How are you?
Langflow relies on evaluating components and running them. It is a good idea to protect this endpoint in someway but you have to remember that it is used by the frontend to create and validate Components

Sorry, I thought draft was only available to myself, this was intended as a test to solve it. I don't have further plans to fix this issue, please discard this PR. Thanks!


Doesn't share on mobile?

ShareIt seems to work fine on a desktop browser and a tablet, but not HTC phone. Anybody else experience this?

:+1: Do you mean Cordova?
Not sure if it's because it's passing something like http://meteor.local (or something similar). Wondering if you resolved this?... I was thinking of just hardwiring the url param.


Home Assistant cannot connect to Eufy Security WS after updating to 1.1.0

Describe the bug
After updating to the new version of eufy_security web socket, HASS cannot connect to it anymore
To Reproduce
Steps to reproduce the behavior:

Go to HASS, integrations, Eufy security
Click on reload
See error: Start Listening was not completed in timely manner
Log file in eufy_secuirty_ws:
2022-11-18 11:01:41.814  INFO  Client disconnected with ip: xxx.xxx.xxx.xxx port: 54236 code: 1000 reason: Normal Closure
2022-11-18 11:02:21.927  ERROR Response data is missing
{
code: 0,
msg: 'Succeed.',
data: undefined
}

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
**Hardware Information about Home Assistant
Docker container in UNRAID, HASS version: 2022.11.3
Eufy Security HACS version: 2.8.1
eufy-security-ws version: 1.1.0
**Hardware Information about Cameras

HomeBase Gen2
Eufy 2K wireless doorbell

Additional context
Add any other context about the problem here.

Check out here
#525

Check out here #525

Thanks for the tip, i've already looked at that one, but I couldn't find the TRUSTED_DEVICE_NAME in the configuration of the Eufy Security add on. I also don't see the option to change my username and password there, I went to Settings > Devices & Services > Configure Eufy Security.
Is this the correct path? (HASS Core Docker container, not the full OS itself)

Are you on 1.1.0? You should be able to see this

No I don't see that, maybe because I don't use the Eufy Security Add-on but the HACS integration

No I don't see that, maybe because I don't use the Eufy Security Add-on but the HACS integration

That sounds odd to me cuz I remember we need both addon and HACS integration to make it work.

No I don't see that, maybe because I don't use the Eufy Security Add-on but the HACS integration

Unless you run it somewhere else, like Docker I guess?

I fixed it by adding the TRUSTED_DEVICE_NAME variable to the docker container config. Thanks for the help!


[MLS Spec change] More aasvg usage (#625)

Link to the exact changes
https://github.com/mlswg/mls-protocol/pull/625
Description of the changes

Continuing to convert more figures to SVG.
The remaining ascii-art figures are that way for two reasons:

Trees with blank nodes _ render poorly with aasvg.  Replacements for the _ character, like -, don't do much better.
The diagram showing the reuse guard application benefits from the byte-by-byte markers

Editorial.


Instead of repeating what the error says, give direction on how to fix it, like how to set the entry point in this case.

[Enter feedback here]

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

ID: 16cc003c-aa9a-56f8-560d-3b1063911055
Version Independent ID: 1a3603c5-c5c0-0fad-1ba3-53fe82798fc6
Content: Linker Tools Error LNK1561
Content Source: docs/error-messages/tool-errors/linker-tools-error-lnk1561.md
Product: visual-cpp
Technology: cpp-diagnostics
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

Closing as part of backlog grooming. We have accrued more issues than our resources can manage.
Criteria for closing include severity of the issue, how broadly applicable it is, whether the issue enough information is provide to act on the issue, etc.
This article lists a few things that may be wrong that suggest ways to fix the problem. I get that adding how to add main() would be good, but I've been given hundreds of these and have to focus on some other things.


Constant Buffer packing for D3D11

vec3's start at 16-byte boundaries, but float scalars always at 4-byte boundaries. Scalars should 'fill the gap' after vec3's:
mat4 m0;
mat4 m1;
vec4 v4_0;
vec4 v4_1;
vec3 v3_0;
float s0;
vec3 v3_1;
float s1;
float s2;
...

Instead of interleaving, I'm now padding vec3's in the cbuffer. Not perfect for memory packing, but much cleaner code generation code.

Fixed


[BUG] Top Row of Icons Styling Bug (Pinned Messages, Threads, etc.)

Describe the bug
On the Discord Theme, the top panel row modals are styled matching the default theme, not Discord. This is also occurring with the row's hovers and friend's user profiles
To Reproduce
Steps to reproduce the behavior:

Go to DMs or Server Text Channel
Click on 'Pinned Messages'
You will notice the modal styling matches the default Zelk theme, not the Discord variant. This is the case for all the other buttons along the row that open modals.

--FOR HOVER STYLING--

Go to DMs or Server Text Channel
Place cursor over top right button panel
Text should appear next to the cursor matching the default styling

Screenshots
This is the default theme:

This is the Discord theme:

This is the Discord theme's hover (matches default also):

Setup

OS: [Windows]
Client Mod: [BetterDiscord]
Release Channel: [stable]
Enabled Themes: Zelk
Enabled Plugins: BDFDB, BetterChatNames, CallTimeCounter,
GameActivityToggle, ImageUtilities, InvisibleTyping, PluginRepo,
ReadAllNotificationsButton, Uncompressed Images,
ZeresPluginLibrary
Custom CSS: [no]
Discord Language: English

Can you please elaborate on the issue as i dont seem to have this bug

And since the zelk owner doesnt seem to update its theme anymore you can try to use my github repo with fixes for quite a few issues. You can make an issue there and i will look into fixing it.
https://github.com/BlackSparowYT/Zelk-Discord-Theme-Fixes


overlapping fields

The text field and the button overlap if the text is too long. IMHO the text field should be limited.

(I configured the output to be the bin directory)
Nice tool!

I said it was victory if the window opened! LOL..

Not only that, it also started to mass-extract files and show a nice pie image! 👍

The joke is that I chose javafx so that I wouldn't have to worry about different browsers.  The diffs across operating systems and monitor sizes however...


Data Transferrer: Rename class from typo'd Transferer

Fixes #999
Maintains dupe support due to the previously used class aliasing system.

From everything I can see, they're both equally acceptable, but transferer is more common. Apparently the rules for whether the final consonant gets doubled depends on whether the final syllable is stressed or not, and the whether people say 'TRANSfer' or 'transFER' seems to be a regional thing, so I'm happy to accept the internet's majority rule here.


Combine catalog lookup implementation

There are two implementations of the lookup that can be combined as we are now in one repo.

Yay! Less random classes lying around! 👍


⚠ Bofrost.be has degraded performance

In 1cc35bc, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1044 ms

Resolved: Bofrost.be performance has improved in a2aa2b4.


use utf8 encoding by default

I came across an issue when getting a file containing non-ASCII characters.
Traceback (most recent call last):
  File "./onedrive-cli", line 399, in <module>
    if __name__ == '__main__': main()
  File "./onedrive-cli", line 356, in main
    sys.stdout.write(contents)
  File "/usr/lib/python2.7/codecs.py", line 351, in write
    data, consumed = self.encode(object, self.errors)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 99: ordinal not in range(128)

I've had a different hack for encodings in place, overriding sys.stdin/sys.stdout with wrappers from "codecs" module, but clearly that wasn't working right for binary streams (as per that error above, not that it's "decode" error there) and I think it actually might be related to the other issue you had with URL input in "auth" command.
I did use the proposed solution, but in a different place (in main()), and with encoding still left configurable, though default still being utf-8.
Try the git master or the new pypi version, I think this should be fixed.
Thanks!


retrograde9

9

PR Description
Fixed Issue(s)

Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[ ] I thought about adding a changelog entry, and added one if I deemed necessary.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I'm not quite sure what this is attempting to do but with no description or other info I'm just going to close it as spam.  If you really meant to submit this here, please give some info on what you're trying to do and why in the description.


Added missing mutex acquisition to ConnectionPool::cancelConnections().

Scope & Purpose

Added missing mutex acquisition to ConnectionPool::cancelConnections().

[ ] Bug-Fix for devel-branch (i.e. no need for backports?)
[x] Bug-Fix for a released version (did you remember to port this to all relevant release branches?)
[x] The behavior in this PR can be (and was) manually tested (support / qa / customers can test it)
[x] The behavior change can be verified via automatic tests

Testing & Verification
This change is already covered by existing tests, such as anything connection related.
http://<IP_ADDRESS>:8080/view/PR/job/arangodb-matrix-pr/10275/

Tests blue


Ran autopep8

I used autopep8 to fix some styling. https://github.com/hhatto/autopep8

Thank you!


[ISSUE #4758] Timer Message adapts to slaveActingMaster mode

Make sure set the target branch to develop
What is the purpose of the change
Timer Message adapts to slaveActingMaster mode
Brief changelog
Timer Message adapts to slaveActingMaster mode
Verifying this change
XXXX
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.06%) to 48.913% when pulling e8caacd0fb7c5c8242208cf4664cc47d051a9e1b on RongtongJin:timer-slave-acting-master into 6a95661291a7a94e55b6813d5298b58a779aea2b on apache:develop.

Coverage increased (+0.06%) to 48.913% when pulling e8caacd0fb7c5c8242208cf4664cc47d051a9e1b on RongtongJin:timer-slave-acting-master into 6a95661291a7a94e55b6813d5298b58a779aea2b on apache:develop.

Codecov Report

Merging #4757 (e8caacd) into develop (3c36a19) will increase coverage by 0.11%.
The diff coverage is 50.00%.

@@              Coverage Diff              @@
##             develop    #4757      +/-   ##
=============================================
+ Coverage      44.72%   44.84%   +0.11%
- Complexity      7552     7584      +32
=============================================
  Files            977      977
  Lines          67781    67823      +42
  Branches        8960     8964       +4
=============================================
+ Hits           30317    30413      +96
+ Misses         33705    33661      -44
+ Partials        3759     3749      -10

Impacted Files
Coverage Δ

...apache/rocketmq/broker/BrokerPreOnlineService.java
0.00% <0.00%> (ø)

...apache/rocketmq/store/timer/TimerMessageStore.java
54.28% <36.36%> (+0.18%)
:arrow_up:

...a/org/apache/rocketmq/broker/BrokerController.java
43.97% <66.66%> (+0.06%)
:arrow_up:

...g/apache/rocketmq/store/timer/TimerCheckpoint.java
91.39% <90.90%> (+24.73%)
:arrow_up:

...ava/org/apache/rocketmq/filter/util/BitsArray.java
59.82% <0.00%> (-2.57%)
:arrow_down:

...a/org/apache/rocketmq/filter/util/BloomFilter.java
60.43% <0.00%> (-2.20%)
:arrow_down:

...org/apache/rocketmq/store/ha/DefaultHAService.java
67.48% <0.00%> (-1.85%)
:arrow_down:

...mq/client/impl/producer/DefaultMQProducerImpl.java
44.37% <0.00%> (-0.38%)
:arrow_down:

.../apache/rocketmq/logging/inner/LoggingBuilder.java
64.39% <0.00%> (-0.32%)
:arrow_down:

...org/apache/rocketmq/store/DefaultMessageStore.java
55.53% <0.00%> (-0.16%)
:arrow_down:

... and 24 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


Doc: Outdated documentation about http ssl

The page http_ssl still talks about disableClientSharing even though the method no longer exists in 3.0.
It would be nice if you could update the docs and mention sth about ssl in the migration guide.
Thanks

Thanks for reporting!


Fixed #33121 -- docs/intro/tutorial02.txt Custom User note

As per the ticket description, this PR adds a note about the recommendation to set up a custom User model (if applicable) before the migrate command gets introduced.
I understand if the flow of new concepts then gets confusing (I tried to phrase this as beginner-friendly) so I'm happy to hear feedback.
Thanks!

Closing per ticket.


CAP-5 Create Reimbursement Workflow API POST Endpoint

Description
This PR includes the following proposed change(s):

Added a route and handler for POST requests from CHEFS form.

Type of Change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Refactoring / Documentation
[ ] Version change
[x] Dependencies added/removed

Aspect(s) of Project Affected

[ ] Frontend
[x] API
[ ] Database
[ ] Workflows
[ ] Documentation

Best Practices Checklist

[x] I have performed a self-review of my own code
[x] My code follows the Airbnb React Style Guidelines
[ ] Documentation has been updated to reflect my changes
[ ] New and existing tests pass locally with my changes

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Tested locally by submitting form and viewing API output.

See if you can squash, or learn how to squash these first two commits.
I know I'm 100% a hypocrit on this, but lets get you started with meaningful short commit messages that aren't the same.
If you need help with squashing or interactive rebasing, @Bottle7 is an amazing resource to reach out to.


Remove channel sidebar?

Pulling out from discussion in #214 where @MoyTW mentioned it.
I'm increasingly wondering if we should remove the left channel sidebar entirely, so the only two ways to navigate are clicking hyperlinks in room descriptions or by viewing the full map.
An original concern was that the space would be too foreign to attendees, and consciously making things look like Slack/Discord would make it more approachable. Instead, we had a lot of people who were confused that it superficially looks like Slack/Discord but behaves differently. Forcing people to interact with the space as a more physical game-like experience would be a (perhaps blunt) tool to drill home that our model isn't Slack/Discord.
Concerns are the same as we originally had: that people will be weirded out that this feels different. I no longer strongly feel this is a problem we'll have in practice; people seem really excited for a new experience, and attendees to a game conference will be able to figure out hyperlinks and/or a map.
If we had another preview event or playtest opportunity, I would 100% be in favor of playtesting this and seeing how it went. As it stands, I'm probably 70% in favor of making the change anyway? Curious to hear thoughts.
If we did this:

Clickable room names that show up in room descriptions should live-update with user count (this is probably a good idea regardless)
We might consider making the left sidebar "Map" button a large button with a white border instead of just another list item
Alternatively, instead of a larger button, we could come up with a mini-map (a la Travis's original prototype) that, even if not very functional, would live in the sidebar and hint at "hey, there's a map you can open/use"

Boy that's a big change to pull literally 7 days before the conference. Well, glances at the high priority backlog at least the list's getting worn down?
If we can swing it I'm reasonably sure that we should do this with the caveats of:

there exists a VERY obvious MAP button with a full map
there exists a minimap that gives you a room vision radius of 1 (that is you can see every directly linked room)

I think if we do this unless we have somebody get real involved in programatically drawing ASCII graphs we absolutely have to have it not be hand-drawn, because we're probably gonna stuff a couple of extra rooms in there and it's gonna be a pain to resolve.
But we should def. talk about this in the meeting Sunday to get more eyes because I am obviously on the faaaaaar end of game-like v. chat-like.

I agree discussion Sunday makes sense!
If we lock down the final room set sooner rather than later, I think resolving a hand-drawn map is doable and is something I'm willing to do.
I think this would be a big conceptual design change, but a fairly minor implementation/engineering change other than figuring out the mini-map. Thinking about it more, I feel like a mini-map in the sidebar would look weird -- I think you're right that having a "MAP" button (presumably in the sidebar) and a mini-map (maybe in the top-left/top-right corner?) as separate items would make sense.

Some engineering work has been done to change room hyperlinks in the room descriptions to include number of players and video presence (on the room-name-views branch) but I'm currently blocked by what appears to be a bug in the parser I'm now using (see https://github.com/remarkablemark/html-react-parser/issues/168).
Probably going to move onto higher-priority issues for now rather than try to submit an upstream patch, but keeping an eye on this.

It's worth noting that even right now the 4 game showcase rooms aren't in the ASCII map, and we'd be adding up to 6 unconferencing rooms on top of that as I mentioned in the other issue. Will we have space in our modal for all of this? How should it geographically be organized?

The modal is already scrollable, the main issue is it always opens at the upper-left corner. We'd need to be able to get it to open centered on you but it's fully functional. See:

This is super helpful, the map hasn't needed to scroll on my devices typically so this is useful information that auto-panning in the modal is necessary.

I need to think through how to technically implement it in the map, but my general instinct is to basically implement submaps/subareas.
What I'm imagining:
There'll be an unconferencing area that shows up as a single room in the map. When you click on that, you are moved to a sort of lobby for the unconferencing area, whose description includes text links to the sub rooms. Ideally (but perhaps not in the next week) opening the map would then show you a new alternative map of just the unconferencing rooms, with a button to zoom out and look back at the normal map.
This would also apply to showcase rooms (I assume in this case we may want to split back to 1 game per room), and e.g. the example given of different tables in the kitchen.
Except for the map, this is currently implementable just by configuring the rooms correctly. A task on my plate is figuring out the best way to scale the map rendering.

I am strongly against gating subareas behind a region on the map, mostly because that makes it really hard to discover any single room, and we're leaning towards not just naming the rooms "Room X N". For example, if somebody /shouts "Hey go to the Fort Ludios if you wanna talk about Thing" and you open the map and see the "Unconfrencing Dungeon" how do you possibly get to Fort Ludios without extensive foreknowledge?
If we just named everything "Kitchen 1" and "Kitchen 2" I could see this working but I'd still much rather have each individual room labelled. That's much close to convention in terms of building maps.

If we don't end up doing a minimap (I think the minimap will be probably hard to do? unless we literally just draw the map and center+crop it to your location, but the map must be properly proportioned) would replacing it with a dynamic sidebar of "Currently Happening Now" to help funnel traffic be a good idea?
Like:
Currently Happening:
* Talks! [[theater link]]
* Leif's Thing! [[link to thing]]

Currently Happneing:
* "Unconference: DCSS is hard" [[room link]]
* "Unconference: Blue is a nice color" [[room link]]
* "Unconference: Example Unconference" [[room link]]
* "Unconference: Something, Something" [[room link]]
* Leif's Thing! [[link to thing]]

See https://github.com/lazerwalker/azure-mud/pull/286 for new map behavior

I think a 'currently happening now' list (presumably above the mini-map) is a great idea!


fix android resource locale

from lint reports
LocaleFolder: Wrong locale name
../../res/values-he: The locale folder "he" should be called "iw" instead; see the java.util.Locale documentation
../../res/values-id: The locale folder "id" should be called "in" instead; see the java.util.Locale documentation

Priority: 6 / 10
Category: Correctness
Severity: Warning
Explanation: Wrong locale name.
From the java.util.Locale documentation:
"Note that Java uses several deprecated two-letter codes. The Hebrew ("he") language code is rewritten as "iw", Indonesian ("id") as "in", and Yiddish ("yi") as "ji". This rewriting happens even if you construct your own Locale object, not just for instances returned by the various lookup methods.
Because of this, if you add your localized resources in for example values-he they will not be used, since the system will look for values-iw instead.
To work around this, place your resources in a values folder using the deprecated language code instead.
More info: http://developer.android.com/reference/java/util/Locale.html
To suppress this error, use the issue id "LocaleFolder" as explained in the Suppressing Warnings and Errors section.

Java can be weird at times..


Update to Babel 7.9

Fixes #8680.
Thanks to @hzoo @nicolo-ribaudo and @existentialism for their quick help!

there is a bug in babel 7.9.0  babel-plugin-transform-react-jsx, babel-preset-react - https://github.com/babel/babel/pull/11295
need to update to 7.9.2

There is no need to update here, since CRA depends on the preset but the fix is in the plugin so it can be automatically updated without a new CRA version.


Issues loading in Chrome Version 98.0.4758.80 (Official Build) (arm64)

Getting a wonky layout and a bunch of warning in the browser console:
data:application/js…:1 Manifest: property 'start_url' ignored, URL is invalid.
data:application/js…:1 Manifest: property 'scope' ignored, URL is invalid.
data:application/js…:1 Manifest: property 'src' ignored, URL is invalid.
data:application/js…:1 Manifest: property 'src' ignored, URL is invalid.
DevTools failed to load source map: Could not parse content for https://chordbook.app/assets/index.c0a45d7b.js.map: Unexpected token < in JSON at position 0
DevTools failed to load source map: Could not parse content for https://chordbook.app/assets/vendor.cc1db10b.js.map: Unexpected token < in JSON at position 0
DevTools failed to load source map: Could not parse content for https://chordbook.app/assets/DiscoverView.444da593.js.map: Unexpected token < in JSON at position 0
DevTools failed to load source map: Could not parse content for https://chordbook.app/assets/DataSource.d785a46b.js.map: Unexpected token < in JSON at position 0
DevTools failed to load source map: Could not parse content for https://chordbook.app/assets/swipe-back.2c2a8de0.js.map: Unexpected token < in JSON at position 0
DevTools failed to load source map: Could not parse content for https://chordbook.app/assets/tap-click.f2fe236c.js.map: Unexpected token < in JSON at position 0

Thanks for the report. I'm looking into this now.
Do you have any extensions installed?


(MAINT) confined file install acceptance to win/osx

This commit confines the acceptance/tests/install/from_file.rb
test to Windows and OSX which are currently the only platforms supported
by the test.

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/2771/


Correction for raw affiliation INRAE, Institut Agro, SPO, University Montpellier

Correction needed for raw affiliation INRAE, Institut Agro, SPO, University Montpellier
raw_affiliation_name: INRAE, Institut Agro, SPO, University Montpellier
new_rors: 03rnk6m14;003vg9w96;04w07sc25
previous_rors: 03rnk6m14;003vg9w96
works_examples: W4361985333;W4391102782
contact: 6a912f7638981d4e803ff6bd7efee8e4:640d46b7020ec82671fba987397a5ae9319c @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-18. The new affiliations should be visible within the next 7 days.


Private chats with bots

My scenario requires a private chat with a bot. Don't want to be in a group, openly harassing other people. What should I do, please?

you can create a private group. its easy
bot can make same operation as normal people. include private message, explore with network can learn payload of request


Dashboard: Update timing of system cards

Update timing of system cards:

Welcome card - at start
Start spending (eToro - NEW) - 1 minute delay before adding
Invite friends - another 1 minute delay before adding
backup - show the card if 24 hours passed since the first visit

@LiavGut @sirpy

I see that timing for a welcome card is fine, it is added right after user lands on dashboard.
I fixed the time for startSspending card. Now it should be added after 1 minute since the user logged in.
For invite friends card the timing is already one minute, but there is another condition required to display that card - you should come/register to the wallet without web3 token, then the card will be displayed.
There is a completely different logic to display the backup feed card. Currently, it will be shown after the user surfing through the wallet pages and come back to the dashboard. But if he will send the backup email from the backup page - then the backup card will be deleted.

So. what do you think about all of this? Should we change the logic for some cards or it is better to leave as it is?

@yaroslav-fedyshyn-nordwhale

just make the invite friends two minutes
backup card should be displayed after 24hours. rest of the logic should stay. meaning if user already backedup his wallet we dont displayed the card and once user backup his wallet we delete the card.

First attachment - user was created 8.11.19 at 8 am
The Welcome, Spending and Invite cards were receiving in the same time, without any delay between them.
Second attachment - user was created 8.11.19 at 12-19 am, after cash cleaning, on the new device.
The result is the same - all cards except Backup were received in the same time

@AnastasiiaOdnoshevna where did you test it?

@AnastasiiaOdnoshevna I just checked this issue on the ewallet. I see that timing is correct for cards. But there is another issue present - the wrong time displaying on the cards. And the invite friends card is not displayed for etoro network. I will fix that

@sirpy there is an issue in the beta branch with invite friends feed card. There is a condition present to show this card - you should not have w3Token, which means that the user did not come from the W3 site. But for beta branches, we fetching the w3Token always from W3 Site. And the invite card logic checking if w3Token exists if not then showing the card.
So, should we change some logic? or fix the flow to make it work as before - the card displaying if user do not provide w3Token?

@yaroslav-fedyshyn-nordwhale

date on cards, probably the date need to be changed to the moment where you add it to queue, currently its probably fixed date at time of first import userstorage.
so I guess you can check if token is present in url, or mark in user properties when user signs up if he arrived from w3 or not.

@yaroslav-fedyshyn-nordwhale
dates fixed on beta here: 3db718e932e30fdd9a3b28a13c7654483a6d32e9

@sirpy ok. Going to fix the second issue.

Checked on the eWallet (ver. 0.10.6)
Work as per requirements.


DDP how to evaluate with custom metrics

Hi there,
Is there a way to evaluate the entire eval dataset using customized metrics instead of datasets.Metric ?
I'm using similar code to this
I'm fine tuning a T5 on multitask learning so I can't use the metric directly, because different prefix associate with different evaluation metrics.
Please advise
Thanks for your help!

Hi there. You can accumulate the decoded_preds and decoded_labels in a big array (or the arrays you might need) then compute your metric outside of the loop on all your predictions and labels.
It's hard to be more specific without knowing the metric you want to compute.

@sgugger
Yes, I'm planning to accumulate decoded_preds and decoded_labels  and compute metrics outside the loop.
I simply used all_preds.append(decoded_labels) & all_labels.append(decoded_labels), but it causes system hang after 7 iterations and the whole script freezes.
        all_preds = []
        all_labels = []
        for step, batch in enumerate(eval_dataloader):
            with torch.no_grad():
                # ...
                decoded_preds = tokenizer.batch_decode(generated_tokens, skip_special_tokens=True)
                decoded_labels = tokenizer.batch_decode(labels, skip_special_tokens=True)

                all_preds.append(decoded_preds)
                all_labels.append(decoded_labels)
                # after 7 iterations, it freezes here and never exit the loop

        result = compute_metrics(all_preds, all_labels) # never reaches this line

Thanks a lot for your help!

@sgugger  I figured it out.
Thanks for the help again!


Update license date range

I set the license as a date range as we have in other projects. Also, the start date was in 2015 as this commit shows.

@CristhianMotoche Could you also update this one, please?
https://github.com/stackbuilders/dotenv-hs/blob/master/dotenv.cabal#L39


Fixed small error in printing-to-screen post

Thanks a lot!
(I will merge it as soon as a new nightly comes out, which fixes the build.)
Related to #85

Merged in e320e4d1d955c553a3581b3b0e7c1832d40ffb74
(I thought that Github would mark this PR as merged… sorry)