Build testing infrastructure with access to a working JavaScript engine

it would be nice to have a testing infrastructure (similar to or included in Tests/) that has access to a JavaScript engine to execute scripts on. Preferably, any of the supported JavaScript engines could be used for this and ideally this would even work on the CI. Some of the things that could then be tested include:

The lifter, and its different modes
Runtime type collection
REPRL
Coverage collection
Minimization
Some other stuff from runStartupTests

This would also be useful for the tests in the Compiler, in detecting issues such as the variable issue here: https://github.com/googleprojectzero/fuzzilli/pull/169#pullrequestreview-539790985


DOC: update naming of packages

Motivation for this change

Clarify what the name of a package is when the package when the package is not a release but a commit from a repository (6fc624b, #12539)
Drop the lowercase requirement and instead do stick to upstream name since this should minimize confusion and make it easier when generating package sets (6fc624b, #11052).

Hm, I'm not sure about dropping the lowercase rule. For predictability, it's nice to know that a package is called firefox and not Firefox (so doing nix-env -i firefox will just work).

The Fedora guidelines seem reasonable (https://fedoraproject.org/wiki/Packaging:Naming?rd=Packaging:NamingGuidelines):

Package names should be in lower case and use dashes in preference to underscores. You can take some cues from the name of the upstream tarball, the project name from which this software came, and the name which has been used for this package by other distributions/packagers in the past. You can also request guidance from the upstream developers. Do not just blindly follow those examples, however, as package names should strive to be consistent within Fedora more than consistent between distributions.

But also:

In Fedora packaging, the maintainer should use his/her best judgement when considering how to name the package. While case sensitivity is not a mandatory requirement, case should only be used where necessary. Keep in mind to respect the wishes of the upstream maintainers. If they refer to their application as "ORBit", you should use "ORBit" as the package name, and not "orbit". However, if they do not express any preference of case, you should default to lowercase naming.

Also closes https://github.com/NixOS/nixpkgs/issues/14572

Thanks for the comments. I pushed the change regarding unstable suffix to master. See https://github.com/NixOS/nixpkgs/issues/11052 for a general discussion of package naming.


Replace sickbeard with sonarr

Sick Beard hasn't seen an upgrade to it's development branch since April 29, 2015 making it about 7 months since last update.
Checking the Sick Beard forums, there is some speculation as to whether the project is "dead". As such, we should explore alternatives to Sick Beard.
Sonarr looks like a good place to start, as it supports PC, Mac, Linux, has a good feature set, and looks to be actively developed.

Leaving this PR open for a few days while I play around with Sonarr


Submit staffing requests

Complete https://docs.google.com/spreadsheets/d/1nKUYx5TOdXqqegpNw8FXPgTMv8pGHdXM0GRRodZCMQE/edit#gid=914469352

Submitted


feat: deploy langflow using langchain-serve

Goals
Deploy langflow on Cloud using a single command - langflow jcloud

Exposes all (HTTP & WebSockets) endpoints defined by the FastAPI app with TLS certs.
Exposes the frontend mounted at /.
Swagger UI, OpenAPI spec loaded at /docs

Using Time Travel Guide

Features

Automatic TLS certs with the deployment.
Demand custom infrastructure resources as per need with simple a YAML change.
Horizontal autoscaling of apps according to usage.
Built-in logging, and monitoring for the endpoints (advanced dashboards coming soon)
No infrastructure headache (no dockerfiles/k8s and beyond) to manage.

Hidden from the user

(TODO before merging the PR) Pushes the required langflow image to Jina AI Cloud during the release for faster deployment.
Added lcserve_push and lcserve_deploy make targets for testing deployment during development.

Moving to draft PR to complete

(TODO before merging the PR) Pushes the required langflow image to Jina AI Cloud during the release for faster deployment

I tried running it here but after deployment, I get the following {"message":"failure to get a peer from the ring-balancer"}.
The building process seems to take a while due to the many libraries LangFlow installs. This message appears because it has not finished building?

I tried running it here but after deployment, I get the following {"message":"failure to get a peer from the ring-balancer"}.

There's an issue with the latest lc-serve build right now. I'm testing a fix, and will release it soon.

The building process seems to take a while due to the many libraries LangFlow installs. This message appears because it has not finished building?

Yes, the docker image size is quite large (>5G) because of all the dependencies, which is why I want to separate these 2 things

Pushing the image during release.yml (This action is still pending).
During langflow jcloud, use the latest version's image with the deployment.

@ogabrielluiz can you please give it (langflow jcloud) another try with the latest commit?
Gotchas

make lcserve_push takes quite some time (>15mins), so as I commented, I'll do this during the release action.
langflow jcloud expects the docker image to be already pushed for the current $(poetry version --short). So if you're working with a development branch for which the image is not pushed (release is not done), the deployment would fail.
Right now for testing, I've pushed the image only for langflow==0.0.71, so please install this version in your env and retry the command.

Tried it and it works!
One point of concern is adding long-running steps to the release.yml. We can discuss more about that as we flesh out this feature.

One point of concern is adding long-running steps to the release.yml.

Sure, I understand this. There are 2 options here -

Have a workflow in langchain-serve repo that builds & pushes this image and it gets triggered by the release.yml workflow using workflow-dispatch.
Have another workflow in the current repo that builds & pushes this image and it gets triggered by the release.yml workflow using workflow-dispatch, but doesn't wait for it and goes to pypi release.

I'd prefer starting with 1 as the images are pushed/pulled to/from my Jina AI account ("jinaai+docker://deepankarm/langflow").

Option 1 looks interesting.
Another point is we should make langchain-serve an optional dependency. This is something we'll have to work on soon as the dependencies are getting out of hand already, so maybe we start with langchain-serve.

I was thinking of creating a folder in the root called deploy and having some of the options available there, including jina. Would this PR still work in that scenario?

@ogabrielluiz The PR is now ready. Awaiting your approval to run the CI. There might be issues when we merge it and run the release workflow while triggering the external event (though I've tried to make sure there are no issues there).

Added how to deploy & API usage to the readme 👉 link


Is makeRegex actually supported?

This code gives an error:
macro test
{
    case { _ } => {
        letstx $test = [makeRegex( 'test', '', null )];
        return #{ $test };
    }
}

Error: ASSERT: not implemented
    at assert (/home/dannii/reversify/node_modules/sweet.js/lib/syntax.js:17:19)
    at step (/home/dannii/reversify/node_modules/sweet.js/lib/expander.js:1618:21)
    at step (/home/dannii/reversify/node_modules/sweet.js/lib/expander.js:1543:32)
    at step (/home/dannii/reversify/node_modules/sweet.js/lib/expander.js:1543:32)
    at enforest (/home/dannii/reversify/node_modules/sweet.js/lib/expander.js:1654:16)
    at expandToTermTree (/home/dannii/reversify/node_modules/sweet.js/lib/expander.js:1980:17)
    at expand (/home/dannii/reversify/node_modules/sweet.js/lib/expander.js:2333:21)
    at expandTermTreeToFinal (/home/dannii/reversify/node_modules/sweet.js/lib/expander.js:2168:43)
    at /home/dannii/reversify/node_modules/sweet.js/lib/expander.js:2301:34
    at Array.map (native)

Passing a regexp object to makeValue() also doesn't work (which is how it is documented, but would be nice if it did.)

Silly bug, wrong token type for regular expressions. Should work now.


Allow "Copy URLS" to select even error-disabled images

I'm very new at all of this stuff myself, and I was trying to dabble through the code, but I couldn't find what I as looking for. Would there be a way to copy urls of images grabbed even if they can't be downloaded by image-picka? For instance, be able to 'unfilter' those with errors at least for the purposes of using the "Copy URLs" button.
Thanks for taking a look!

I have discovered through a little more digging that cache-downloading can get around this in at least some of the instances, but it would be highly convenient to also have the ability to collect the error-coded images with 'Copy URLs', perhaps a separate "Copy all URLs" button?
thanks again!

Here is the code for copying URLs in picker:
https://github.com/eight04/image-picka/blob/6a05e976ea111ab6a5ea719cd176071c1a0caf39/src/picker.js#L140-L145
getUrls only returns selected/enabled image URLs.
You can try replacing getUrls with something like:
const images = getImages();
const urls = images.map(i => i.url);
input.value = urls.join("\n");


feat: audio alert for thresholds

Summary
Add an audio player feature in @iot-app-kit/core to allow developers to play sounds in App Kit. Also add an audio alert feature that plays an audible alert whenever a threshold is breached by a visible new data point.
Note: This PR is complete and ready for review but it should not be opened or merged in until the following bugs are fixed and merged into main to prevent incorrect behaviors of audio alerts:
Breaking Blockers

https://github.com/awslabs/synchro-charts/issues/150
points constantly rerender and cause audio alerts to play over and over again even though there's no new points. Make sure to update Synchro Chart package version when this is fixed.
https://github.com/awslabs/iot-app-kit/issues/153
points constantly rerender and cause audio alerts to play over and over again even though there's no new points.

Non-breaking blocker

https://github.com/awslabs/synchro-charts/issues/153
This is an issue where thresholds aren't properly calculated as breaching, however audio alerts are meant to reflect what's displayed on Synchro Charts. If a threshold isn't displayed as being breached then no audio alerts are played, which follows the correct behavior as audio alerts. When this issue is fixed, audio alerts will follow along with the correct behavior as well without any necessary additional changes.

Legal
This project is available under the Apache 2.0 License.

is this safe to merge in with the outstanding bugs you have outlined in the overview?

is this safe to merge in with the outstanding bugs you have outlined in the overview?

No it is not, the bugs must be fixed beforehand otherwise the behavior of audio alerts would not be as expected.

What is the plan to merge this PR in?

Please recreate this pull request off the new head, a history rewrite was pushed. Closing.


Add Travis Build

Lets this about having a travis build or some other way of doing CI/CD

Absolutely!

Solved with this PR https://github.com/serverless/serverless-graphql-apollo/pull/119


The length of jfs_chunk slices is greater than 24

What happened:The length of jfs_chunk slices is greater than 24
What you expected to happen:I'm not sure if this is correct
How to reproduce it (as minimally and precisely as possible):Use the V1.0.4 code to run in goland debug mode, and make a breakpoint in the Write method in sql.go
Environment:

JuiceFS version (use juicefs --version) :V1.0.4
OS (e.g cat /etc/os-release):
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=jammy
Kernel (e.g. uname -a):
Linux netzon-base 6.2.0-26-generic #26~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Jul 13 16:27:29 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Metadata engine info (version, cloud provider managed or self maintained): PostgreSQL Version:(PostgreSQL) 15.3 (Debian 15.3-1.pgdg110+1)

added log output as below：

A chunk may contain multiple slices, thus it's size being N * 24 bytes.

From the internals doc:

Slices are an array of bytes, and each Slice corresponds to 24 bytes.


[SMALLFIX]improve javadoc and code

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10159/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.worker.AlluxioWorkerRestApiTest.getUptimeMsTest
Test FAILed.

Jenkins,test this please !

Jenkins,

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/10160/
Test PASSed.


Saving huge files flashes the dirty circle indicator in open editors rapidly until it is saved to disk

VSCode Version: Code - Insiders 1.3.0-insider (0c5f6e8867fb117b6fa41cc647dc650bb9856dc4, 2016-07-04T09:39:57.773Z)
OS Version: Linux x64 4.4.0-28-generic, Ubuntu 16.04

Steps to Reproduce:

Turn on open editors if not already
Open a huge file (mine was 18000 lines)
Dirty
Save, observe the circle indicator flashing rapidly, presumably until it is actually saved to disk. I saw this on an SSD, it will probably be a lot worse on a HDD. I also noticed that the save trimmed a bunch of whitespace, so that may be related.

I am very sorry to hear you are having issues with VS Code. I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line, execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

This issue was moved to editorconfig/editorconfig-vscode#58


Update install page with workaround for requests bug

Add temporary note for workaround for https://github.com/Azure/azure-cli/issues/1360.

:shipit:

Why add this to our README? If it temporary why not keep the local issue until requests is fixed? I doubt people will dig through the README before posting an issue anyways (though they MIGHT see the issue is already in our list and refer to that).

@tjprescott Going to go ahead and merge to provide some visibility through the README (for those that read it).
Once it's resolved, we can remove.


Crash when accessing user from main screen

To replicate:

Go to main/home screen.
Click on user.

Not sure what the source is, will investigate more tomorrow.

Apologies, this was caused by #155 . It should work now :)

Thanks!


Added oembed controller to v2 api

refs #10060

Wasn't able to apply the changes straight from GitHub. This PR is good to go into master once that one weird spacing nit is resolved :wink:


Add checkup status

This adds the checkup.Status struct and functions to:

Read status from a ConfigMap.
Append status to a ConfigMap.

Rebased on PR #11, please review only last 2 commits.
Signed-off-by: Orel Misan<EMAIL_ADDRESS>

Rebase

The status struct was split in to two:

checkup Status - can read input from the checkup's ConfigMap object.
framework Status - Can (optionally) read the checkup's status, and report to the framework's ConfigMap object.

Change Fixed code review comments.


There should be a field in the main page where the user can enter game code and check the validity of the entered code

closed by #89


Add address in Germany 🇩🇪

The PR:

Added location address data from Germany #154.
Added corresponding tests.

Data is taken from faker-js.

Tests fail and conflicts, please fix

Building number in Germany has some formats like "##a", "##b", "##c", which made shouldGenerateBuildingNumber fail. So I also checked numeric for the case except the last character.
Secondary address in Germany has a format "# OG", which made shouldGenerateSecondaryAddress fail. I also added the code to handle this case.

Good job :)


Bot doesnt start up

Bot doenst start up.
Any Advice?
C:\Users\Marku\Downloads\Mercenaries-Hearthstone-game-bot-main\Mercenaries-Hearthstone-game-bot-main>pip install --user -r requirements.txt
WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.
Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue.
To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.
Requirement already satisfied: ahk==0.13.0 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 1)) (0.13.0)
Requirement already satisfied: ahk-binary==<IP_ADDRESS> in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 2)) (<IP_ADDRESS>)
Requirement already satisfied: cachetools==4.2.4 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 3)) (4.2.4)
Requirement already satisfied: configparser==5.0.2 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 4)) (5.0.2)
Requirement already satisfied: future==0.18.2 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 5)) (0.18.2)
Requirement already satisfied: Jinja2==3.0.2 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 6)) (3.0.2)
Requirement already satisfied: keyboard==0.13.5 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 7)) (0.13.5)
Requirement already satisfied: MarkupSafe==2.0.1 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 8)) (2.0.1)
Requirement already satisfied: mss==6.1.0 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 9)) (6.1.0)
Requirement already satisfied: numpy==1.21.2 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 10)) (1.21.2)
Requirement already satisfied: opencv-python==<IP_ADDRESS> in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 11)) (<IP_ADDRESS>)
Requirement already satisfied: pefile==2021.9.3 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 12)) (2021.9.3)
Requirement already satisfied: Pillow==8.4.0 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 13)) (8.4.0)
Requirement already satisfied: python-dotenv==0.19.1 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 14)) (0.19.1)
Requirement already satisfied: pyautogui==0.9.53 in c:\users\marku\appdata\roaming\python\python38\site-packages (from -r requirements.txt (line 15)) (0.9.53)
Requirement already satisfied: pymsgbox in c:\users\marku\appdata\roaming\python\python38\site-packages (from pyautogui==0.9.53->-r requirements.txt (line 15)) (1.0.9)
Requirement already satisfied: PyTweening>=1.0.1 in c:\users\marku\appdata\roaming\python\python38\site-packages (from pyautogui==0.9.53->-r requirements.txt (line 15)) (1.0.3)
Requirement already satisfied: pyscreeze>=0.1.21 in c:\users\marku\appdata\roaming\python\python38\site-packages (from pyautogui==0.9.53->-r requirements.txt (line 15)) (0.1.27)
Requirement already satisfied: pygetwindow>=0.0.5 in c:\users\marku\appdata\roaming\python\python38\site-packages (from pyautogui==0.9.53->-r requirements.txt (line 15)) (0.0.9)
Requirement already satisfied: mouseinfo in c:\users\marku\appdata\roaming\python\python38\site-packages (from pyautogui==0.9.53->-r requirements.txt (line 15)) (0.1.3)
Requirement already satisfied: pyrect in c:\users\marku\appdata\roaming\python\python38\site-packages (from pygetwindow>=0.0.5->pyautogui==0.9.53->-r requirements.txt (line 15)) (0.1.4)
Requirement already satisfied: pyperclip in c:\users\marku\appdata\roaming\python\python38\site-packages (from mouseinfo->pyautogui==0.9.53->-r requirements.txt (line 15)) (1.8.2)
C:\Users\Marku\Downloads\Mercenaries-Hearthstone-game-bot-main\Mercenaries-Hearthstone-game-bot-main>main.py
Traceback (most recent call last):
File "C:\Users\Marku\Downloads\Mercenaries-Hearthstone-game-bot-main\Mercenaries-Hearthstone-game-bot-main\main.py", line 23, in
ahk = AHK()
File "C:\Users\Marku\AppData\Roaming\Python\Python38\site-packages\ahk\window.py", line 667, in init
super().init(*args, **kwargs)
File "C:\Users\Marku\AppData\Roaming\Python\Python38\site-packages\ahk\mouse.py", line 60, in init
super().init(**kwargs)
File "C:\Users\Marku\AppData\Roaming\Python\Python38\site-packages\ahk\gui.py", line 12, in init
super().init(*args, **kwargs)
File "C:\Users\Marku\AppData\Roaming\Python\Python38\site-packages\ahk\script.py", line 88, in init
self.executable_path = _resolve_executable_path(executable_path)
File "C:\Users\Marku\AppData\Roaming\Python\Python38\site-packages\ahk\script.py", line 46, in _resolve_executable_path
raise ExecutableNotFoundError(
ahk.script.ExecutableNotFoundError: Could not find AutoHotkey.exe on PATH. Provide the absolute path with the executable_path keyword argument or in the AHK_PATH environment variable. You may be able to resolve this error by installing the binary extra: pip install "ahk[binary]"
C:\Users\Marku\Downloads\Mercenaries-Hearthstone-game-bot-main\Mercenaries-Hearthstone-game-bot-main>pause

Hi,
"ahk.script.ExecutableNotFoundError: Could not find AutoHotkey.exe on PATH"
You have to install AHK : AutoHotKey

Works, Thank  You


RpgWord does not work

Hello
I am trying to change direction and move players with RpgWorld (https://docs.rpgjs.dev/classes/world.html#api) but the changes are not reflected in the game. Some help? Thanks
app.get('/players', (req, res) => {
  const players = RpgWorld.getPlayers() ;
  players[0].changeDirection(Direction.Right);
  res.json(players.length);
})

Thanks for the feedback. The problem was twofold:

The direction is not performed on the client side if the player positions do not change
The modification in the players table does not send the data to the client

The correction has been made and is available in version 3.0.0-alpha.13
To update, change the version of the packages in package.json and reinstall with the command npm install
https://github.com/rpgjs/template/blob/master/package.json

Excelent support!
I manage to move the character correctly by modifying the properties of player[0].position and check if there is a collision with the isCollided. Thank you! Just note that the move and moveByDirection properties do not have the expected behavior. The movement is not fluid and sometimes the character backs up or performs strange movements.
My project idea uses RpgWorld constantly. I will try to fix it on my own if I can. It seems to me a very powerful class. Thanks

Strange behavior happens with position as well. It's weird because it doesn't always happen and sometimes even two characters appear on the screen :(
I am trying to move the character from a url, but there is no way
app1.get('/moveLeft', (req, res) => {

        const position = {...players[0].position}
        position.x -= 12;

        if (!player.isCollided(position)) {

          players[0].position.x -= 12;
          players[0].changeDirection(Direction.Left);
        }
        res.json({});
      })

On my side, it moves the player well (but I see that you don't have a declared player variable, would it be your concern?)
To move a character on the map, use the method moveRoutes
import { RpgWorld, Move } from '@rpgjs/server'

app.get('/moveLeft', (req, res) => {
    const players = RpgWorld.getPlayers()
    const player =  players[0] // first player
    //  Move.left(4) = 4 times the speed of the character (if the speed is 3 then it will move 12px)
    player.moveRoutes([ Move.left(4) as any ]) // Type problem (to correct on my side)
    res.json({});
})

https://docs.rpgjs.dev/commands/move.html#movement-commands
Yes, the character movement is strange but it's because of the interpolation on the client side. I look at this (I open a new issue)

Thanks again for your help. Perhaps the character could move exactly the same as moving with the arrow keys (3 pixels). That move is perfect and fluid. It would be ideal if it could be done with a method from the server. It is what I am trying to implement, but I have not been able at the moment

The movement is corrected in the latest version
https://github.com/RSamaium/RPG-JS/issues/104


Use loadScriptOnce instead of unmount script tag

https://medium.com/@wonderboymusic/the-problem-with-html-in-react-and-graphql-6af9789352f6

yeah, that would be great. adding/ removing script tag on each mount/unmount seems to cause some undesirable side-effects


myedenred now requires 2FA token to be inserted

The integration does not work anymore because myedenred has implemented 2FA.
2024-07-17 11:11:29.619 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up myedenred platform for sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 366, in _async_setup_platform
    await asyncio.shield(awaitable)
  File "/config/custom_components/myedenred/sensor.py", line 42, in async_setup_entry
    token = await api.login(config["username"], config["password"])
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/myedenred/api/myedenred.py", line 38, in login
    return json['data']['token']
           ~~~~~~~~~~~~^^^^^^^^^
KeyError: 'token'

yes, it looks like that...
I have also received some login confirmation emails, I will wait to see if there is anything that can be done

Yes, also happening to me!

Same here can you check it?
2024-07-17 14:20:02.278 DEBUG (MainThread) [custom_components.myedenred.config_flow] Starting async_step_user... 2024-07-17 14:20:06.294 WARNING (MainThread) [homeassistant.components.camera] Updating xiaomi_cloud_map_extractor camera took longer than the scheduled update interval 0:00:05 2024-07-17 14:20:09.531 DEBUG (MainThread) [custom_components.myedenred.config_flow] Starting async_step_user... 2024-07-17 14:20:09.532 DEBUG (MainThread) [custom_components.myedenred.api.myedenred] Logging in... 2024-07-17 14:20:10.556 DEBUG (MainThread) [custom_components.myedenred.api.myedenred] Done logging in. 2024-07-17 14:20:10.557 ERROR (MainThread) [custom_components.myedenred.config_flow] 'token'

Hello,
From what I can see there is the following initial request:

POST request to https://www.myedenred.pt/edenred-customer/v2/authenticate/default?appVersion=1.0&appType=PORTAL&channel=WEB
The request sends the field "password" with the user password and the field "userId" with the user email
If the response server is 200 the response contains a data object with the following:

{
   "data": {
   	"challengeId": <5 digit code>,
   	"challengeMessage": "Foi enviado um código de confirmação.",
   	"resendTries": 3
   }
}

Also two cookies are received that I can't understand why.

After the first request succeeds what happens is:

POST request to https://www.myedenred.pt/edenred-customer/v2/authenticate/default/challenge?appVersion=1.0&appType=PORTAL&channel=WEB
The request sends the following:

{
	"authenticationMfaProcessId": <5 digit code in the first request>,
	"challengeId": <5 digit code in the first request>,
	"challengeMessage": "Foi enviado um código de confirmação.",
	"password": <user password>,
	"resendTries": 3,
	"token": <2FA token received in email>,
	"userId": <user_email>
}

If the response server is 200 the response contains the auth token

@netsoft-ruidias can you replicate this flow in your plugin?

Hello @joaovitoriasilva ,
I think this may not be a solution because with each request you will need a new MFA code. Therefore, you cannot be asking to HA user for a code with every request or every time the authentication token expires. The best thing would be to try talk to them to see if it is possible to have users authentication only via API without MFA or with other auth process (via token).

@andregoncrod yep you are right. I just checked (again) and in fact there is no logic of access+refresh token returned, only the short lived access token is returned.
That is a shame, this could be better implemented.
I highly doubt contacting them is gonna resolve anything.

Hello @joaovitoriasilva
I came here to tell you the same as @andregoncrod.
As you can imagine, without access to the email it's not possible to replicate the flow, and having a human introducing the challenge with each request is not a viable solution.
It's hard for me to understand how this company even thinks about closing a service like this.
By using the API (or the website) it is not possible to make transactions, you can only see the statement and not much more, in other words, there is no danger of someone stealing your money...
This is a disservice to theire customers/users...

The ios app and android can keep the session alive indefinitely.
Maybe we could investigate those requests and what is the difference for the web

Hey,
check my last commit. It will solve the issue without adding 2FA.
https://github.com/rodriguestiago0/myedenred-actual/commit/c03d3ffc95ba27926bf6bdc992bc91a59b716eb8
Thanks

@rodriguestiago0 SUPER 💯
I'll add that logic to my code,
but it will take me some time to do so, as I have no availablility right now...
please be patient

    async def login(self, userID, pin, appVersion):
        """Issue LOGIN request."""
        try:
            params = { 'appVersion': appVersion, 'appType': 'IOS', 'channel': 'MOBILE' }
            _LOGGER.debug("Logging in...")
            async with self.websession.post(
                API_LOGIN_URL,
                params = params,
                headers = { "Content-Type": "application/json", "User-Agent": "EdenRED/3748 CFNetwork/1496.0.7 Darwin/23.5.0"},
                json={"userId":userID,"password":pin, "appVersion", appVersion, "appType": "IOS"}
            ) as res:
                if res.status == 200 and res.content_type == "application/json":
                    json = await res.json()
                    _LOGGER.debug("Done logging in.")
                    return json['data']['token']
                raise Exception("Could not retrieve token for user, login failed")
        except aiohttp.ClientError as err:
            _LOGGER.error(err)

Hey @rodriguestiago0
I was looking at your code and your solution will not work for this component, unfortunately.
Your code depends on knowing the userId which is a GUID we get by looking at the APP's http traffic.
This is not a simple operation and is not within the reach of the vast majority of Home Assistant users.
For now, I will not move forward with the solution, although I may consider alternatives for the future.
Such as, finding an alternative to obtain the GUID that does not involve installing software and traffic inspection techniques that are not simple to perform.
If you have new ideas/suggestions please share.
I appreciated the help

The token is a JWT.
If you authenticate using https://www.myedenred.pt/edenred-customer/v2/authenticate/default?appVersion=4.1.0&appType=IOS&channel=MOBILE
With username and password
{
  "userId": "email",
  "appVersion": "4.1.0",
  "rememberMe": true,
  "password": "password",
  "appType": "IOS",
  "channel": "MOBILE"
}

and then send the 2FA on https://www.myedenred.pt/edenred-customer/v2/authenticate/default/challenge?appVersion=4.1.0&appType=IOS&channel=MOBILE
with
{
  "rememberMe": true,
  "userId": "email",
  "channel": "MOBILE",
  "appVersion": "4.1.0",
  "appType": "IOS",
  "password": "mail",
  "authenticationMfaProcessId": <token>,
  "token": "<token>"
}

you will get an JWT token. Parse that token and the userID will be on sub field

you will get an JWT token. Parse that token and the userID will be on sub field

Already tried that yesterday, didn't worked 🤔
I'll give it another try, then...

you need to authenticate as mobile user and not a desktop user. The URL I used are using the mobile signature and not the APP

I noticed a curious fact
Yesterday I tried logging in normally through the webApp/Portal and after obtaining the token, I parsed it and tried the Login as in your example, using the sub as userId.
It didn't work and returned the error: "Credenciais inválidas. Por favor, tente novamente."
Today I tried your sample, via Postman.
The only thing that changed the appType and appVersion in the payload.
In your example it is "IOS" and "4.1.0", respectively
In my case yesterday was "PORTAL" and "1.0"
After doing with your data and getting the token, I noticed that the sub values are different in both cases.
This leads me to think the sub maybe different depending on the channel that is used, as my APP is Android, logging in with my PIN does not work.
So what I have to find out now, are the real values for android, probably { "appType": "Android", "appVersion": "????" }
I'll give it a try on this

Send the app version of your app. Check the app details page

Is Android or ANDROID?

It's "ANDROID" and the appVersion is the same as IOS.
The possible values for appType are: [BACKOFFICE, PORTAL, IOS, ANDROID] (they have a leak 🛡)

Hello to all, someone use this addon with Home Assistant last version ? Because I use and after the last update I have issues with 2fa. Someone have some solution ?

same problem here


Support scala 2.13

Scala 2.13 binaries are need it for anybody that will use scala 2.13.

Thanks for the PR! There were a couple more tasks to do in order to fully support 2.13 but its all implemented in v0.1.0.


storage: prevent repeated non-pessimistic lock prewrite from writing locks

What problem does this PR solve?
Issue Number: close https://github.com/pingcap/tidb/issues/26359
What is changed and how it works?
Considering a pessimistic async-commit transaction, both row keys and index keys are prewritten successfully but the prewrite responses of the index keys are lost. Then, some other transactions commit the transaction by resolving locks because all locks exist. After that, the original committer resends the prewrite request of the index keys.
In the previous implementation, prewriting index keys of a pessimistic transaction will just write the locks again. The committer receives success and starts committing the transaction. Now the commit TS is different from the commit TS used by resolving locks. So the index keys will be committed twice, making the transaction have two different commit TS.
This PR just adds an additional check when prewriting the non-pessimistic lock keys. If the commit record already exists, we should not write the lock again.
Related changes

Need to cherry-pick to the release branch

Check List
Tests

Unit test

Side effects

Performance regression

Consumes more CPU

Release note
Fix the bug that index keys in a pessimistic transaction may be repeatedly committed.

/release

The fix seems to introduce too much overhead. I propose to add a flag in Context to indicate this is a retry.

/merge


BUG: tf filter trailing and leading zeros in residuez

Originally in https://github.com/scipy/scipy/issues/4464, a bug I noticed:
residue([6, 0], [1, 5, 8, 4])
Out[33]: (array([  6.,  12.,  -6.]), array([-2., -2., -1.]), array([ 0.]))

residue([0, 0, 6, 0], [1, 5, 8, 4])
Out[34]: (array([  6.,  12.,  -6.]), array([-2., -2., -1.]), array([ 0.]))

residue([0, 0, 6, 0], [0, 0, 0, 1, 5, 8, 4])
Out[36]: (array([ inf,  inf, -inf]), array([-2., -2., -1.]), array([ 0.]))

These should all be identical.  Same for these:
residuez([6], [1, 5, 8, 4])
Out[37]: (array([-12.,  12.,   6.]), array([-2., -2., -1.]), array([ 0.]))

residuez([6, 0, 0], [1, 5, 8, 4])
Out[38]: (array([-12.,  12.,   6.]), array([-2., -2., -1.]), array([ 0.]))

residuez([6, 0, 0], [1, 5, 8, 4, 0, 0])
Out[39]:
(array([-12.,  12.,   6.,  nan,  nan]),
 array([-2., -2., -1.,  0.,  0.]),
 array([ 0.]))

invresz(array([-9.,  3.,  6.]), array([-2., -2., -1.]), [])
Out[55]: (array([ 0.,  0.,  6.]), array([ 1.,  5.,  8.,  4.]))

invresz(array([-9.,  3.,  6.]), array([-2., -2., -1.]), [0])
Out[56]: (array([ 0.,  0.,  6.,  0.]), array([ 1.,  5.,  8.,  4.]))

For negative powers tf like in residuez and invresz, trailing zeros don't matter, so shouldn't be returned.  [6, 0, 0] represents 6 + 0_z^-1 + 0_z^-2 = [6], for instance.
For positive powers tf like in residue, invres, and tf2__, leading zeros don't matter. [0, 0, 6, 0] represents 0_s^3 + 0_s^2 + 6*s + 0 = [6, 0], for instance.
invres seems ok:
invres(array([  6.,  12.,  -6.]), array([-2., -2., -1.]), array([ 0.]))
Out[71]: (array([ 6.,  0.]), array([ 1.,  5.,  8.,  4.]))

invres(array([  6.,  12.,  -6.]), array([-2., -2., -1.]), array([ ]))
Out[72]: (array([ 6.,  0.]), array([ 1.,  5.,  8.,  4.]))

invres(array([  6.,  12.,  -6.]), array([-2., -2., -1.]), array([0, 0]))
Out[73]: (array([ 6.,  0.]), array([ 1.,  5.,  8.,  4.]))

Other functions that input or output tf format should also be checked.

I can confirm that the residue / residuez parts have been fixed by #10997, keeping this open because of the invresz problem(s)

Let me comment about leading and trailing zeros in invres and invresz results.
If we have n poles and the length of direct term is m, then the numerator has length n + m and the denominator has length n + 1.
As we doing numerical computations we can't check for trailing or leading zeros in the result. We can only check for exact zeros in the input k.
In the example invres([ 6,  12,  -6], [-2, -2, -1], [0]) the correct (expected) answer is b = [0, 6, 0], a = [1, 5, 8, 4]. This is the result of MATLAB. The zero in k = [0] was removed, but the leading numerical zero in b is not removed.


[Feature] More efficient BERT (WIP)

Description

Relates to #426
This PR adds a class "FastBertEmbeddings":

creates a document embeddings by averaging the CLS token embedding of each chunk of text
allows for batching the chunks (to avoid OOM with CUDA)
processes a graph where "input_ids" and "input_mask" have been setup (text is tokenized by any of Huggingface tokenizer)
processes a graph where only "token" is available (then it is much much longer)
accepts any huggingface transformers model

It is fast:

it uses preprocessed data
it uses the embedding of CLS token

It is memory efficient:

chunks are processed in batches

BertEmbeddings has also been updated, as the map matrix has been made sparse. Nonetheless, it still uses very large amounts of RAM, and can't scale up to texts in the range of 60k words).
Work in Progress TEST is still missing.
Checklist
Please feel free to remove inapplicable items for your PR.

[*] The PR title starts with [$CATEGORY] (such as [Doc], [Feature]])
[*] Changes are complete (i.e. I finished coding on this PR)
[ ] All changes have test coverage
[*] Code is well-documented
[ ] To the my best knowledge, examples are either not affected by this change,
or have been fixed to be compatible with this change
[*] Related issue is referred in this PR

Changes

Hi,
I have made this branch specifically tailored to one of my current project, so I would expect it to be far from finished to be included in the library.
If this is of interest to you, I'll go on:

proper documentation
tests

Hi, I have made this branch specifically tailored to one of my current project, so I would expect it to be far from finished to be included in the library. If this is of interest to you, I'll go on:

proper documentation
tests

@j-rossi-nl thanks for the update! Yes, it would be great if you can go on with documentation and tests so that we can have a better understanding of your implementation. We will then discuss what's the best way to include your contribution to the library.

Hi,
I missed the notification (EBKAC), but yes I will have a look at that.
First I need to synchronize, I'm now way behind main/HEAD.
Let's say somewhere within the next month.
Regards

Hi,
I missed the notification (EBKAC), but yes I will have a look at that.
First I need to synchronize, I'm now way behind main/HEAD.
Let's say somewhere within the next month.
Regards

Hi @j-rossi-nl , thanks again for making this proposal! Can I check what is the current status of this PR? Because this PR has been there for quite a while, we might need to close it if there is no more update in the next couple of weeks.

Closed the PR due to long period of inactivity. Please feel free to reopen it if there is any new update.

Closed the PR due to long period of inactivity. Please feel free to reopen it if there is any new update.


Fixing 2 issues when hinting "mutlu.ttf"

Before fix:

With fix:

In Detail:
"superround" has a special case when going over the zero boundary, which I had wrong, since 'v' is always already positive in that case.
Instruction "MIAP" now respects the control value cutin, it was a TODO before, and it really ruined the hinting for this font not having been done.
Kind regards, Axel

@axkibe Thanks for the PR!


Fix aliased results appearing in list with --safe flag

Fixes an issue that would still list aliased deployments in the confirmation prompt. In my testing, even though the deployment was listed it wasn't actually deleted, but others may have had a different experience. Regardless, the new placement should ensure that the aliased results are filtered out of the list and won't show up in either the confirmation prompt nor be removed when the command runs.
I also modified slightly the verbiage that is displayed if no results are found. I realized during testing that if you were attempting to delete a deployment with the --safe flag and that deployment only contained an aliased URL, the messaging could be a bit confusing.
Command output:
AlbertMacBookPro[~/Development/now-cli][ ▲ ignigena ]now rm dashboard.dev
> The following deployments will be removed permanently:
9Y5Xdqg5qa7ELyYJgS7urwKY      https://dashboarddev-fuccuemzxg.now.sh      1d ago
fr7hkbcGEzBCpCKeD0xZYke1      https://dashboarddev-kkfxkqwiyx.now.sh      59m ago
PcfOqMfkeSVJDb49b68nVBka      https://dashboarddev-ivitdipcym.now.sh      6d ago
ZtXliqdxfOum9t2G0EOGGBcm      https://dashboarddev-wmhzwcqsrq.now.sh      5d ago
oNA8AAe2xKFkl3UHOktR7FvC      https://dashboarddev-emfxpkuhvz.now.sh      6d ago
> Warning! Deployment fr7hkbcGEzBCpCKeD0xZYke1 is an alias for https://dashboard.dev.photomadic.com and will be removed.
> Are you sure? [y/N] N

> Aborted

versus
AlbertMacBookPro[~/Development/now-cli][ ▲ ignigena ]now rm dashboard.dev --safe
> The following deployments will be removed permanently:
9Y5Xdqg5qa7ELyYJgS7urwKY      https://dashboarddev-fuccuemzxg.now.sh      1d ago
PcfOqMfkeSVJDb49b68nVBka      https://dashboarddev-ivitdipcym.now.sh      6d ago
ZtXliqdxfOum9t2G0EOGGBcm      https://dashboarddev-wmhzwcqsrq.now.sh      5d ago
oNA8AAe2xKFkl3UHOktR7FvC      https://dashboarddev-emfxpkuhvz.now.sh      6d ago
> Are you sure? [y/N] y
> Success! [391ms]
Deployment 9Y5Xdqg5qa7ELyYJgS7urwKY removed
Deployment PcfOqMfkeSVJDb49b68nVBka removed
Deployment ZtXliqdxfOum9t2G0EOGGBcm removed
Deployment oNA8AAe2xKFkl3UHOktR7FvC removed

Thanks for fixing it! 🙏


Shareable states / Add query param support for URL sharing

This is related to #16. Created this pr because the issue is idled since June.
Feature
Enable to share the store state in url query string.
Once pr preview of netlifly is deployed theese examples bellow should be working:

url change default columns and rows  -> /?columns=3&rows=4
url change units
url with preseted childareas

How to use
Add the desired state as a query parameter /?columns=3&colArr=[{"unit":"1fr"},{"unit":"1fr"},{"unit":"1fr"}]
Notes

rows, columns, colArr and rowArr should be always setted
Just used window.location.search and URLSearchParams. Maybe considering to add vue-router to the project?
Did not created a share action to the user. I could add this if you want.

thank you!

@sdras , would you like to add a button to share the grid?


Links opened from any other application do nothing. Link association problem?

System Details

OS: Windows 11 (AtlasOS 0.3)
Thorium Version 117.0.5938.157 (Official Build) (64-bit)

Problem
Attempting to click links in any other application do not open in Thorium, even though it is set as the default browser in my system.
If I set Brave to default, links work. When I set it back to Thorium, links don't work again. Other users of AtlasOS do not have this problem with Thorium.
Screenshots
N/A
Additional Notes
Originally after installing Thorium, the option for "Set as Default Browser" didn't even appear under Thorium. I had to manually change each protocol association from Brave to Thorium. But now the Set as Default is showing up, but it does not fix this issue.
Not sure how to restore this functionality.

Uninstalling without deleting data and installing the AVX2 version seems to have fixed this.
Even though this definitely is a bug:

I have no idea if it was caused by outside sources.
Reproducing would likely be impossible.
There isn't sufficient evidence that Thorium was even the issue

So, I am closing this... There's no point leaving an issue open with no way to find the cause.


How to tranform module into onnx format?

Hi, I recognized that we have ckpt and json files there and Im trying to transform the module into onnx format but I cant find the corresponding neural network file here. So I`m wondering how could I implement this.

So Im trying to deploy the given module on my device, the tflite files certainly fits the device but I think ckpt and json should be transformed into onnx format or it wont suit the board..

I successfully transformed model into onnx format, but its flash and SRAM both beyond my board. Is this because of my lack of Tinyengine? Or I didn`t compress the model in a proper way?

It spilt over like this.

Hi, thanks for reaching out. Is the converted onnx file quantized to int8? Quantization will significantly reduce memory usage. The tflite file should be quantized and maybe you can try and see if it works.

Hi, thanks for your nice response. Actually thats exactly what I missed. I didnt quantize the module. So today I tried a lot of ways to convert onnx file into int8, unfortunately it couldnt fit the 32CubeMX(the screenshot is below). After searching on the documentation, I found it unbelievable that the platform seems only fit quantized keras and TFLite modules. But I believe its the thing we need to do, so I`m  gonna convert TFLite files tomorrow and I believe this works.

Hi, it is a pity that I just found out that tflite file seems unable to quantized directly, most of methods I found needs the keras model which we do not have. So I am thinking about convert pytorch file into tf.keras and then quantize it but actually I encountered a lot of debugs during the process and I am hectic on solving these problems. So I wondered if there`s any better way for us to quantize the model for so many works seem useless.

Hi, its great to use the "generate_tflite.py" to convert the model and I found that in this procedure we can quantize the model meanwhile. And what we got from this seemed similar to the tflite file which was given. So we also tested tflite files on the platform, its great to see that we reduced Flash to a proper scale but the SRAM still overflowed some. For example, if we tested the "mcunet-320kb-1mb" model, it overflows but if we tested "mcunet-256kb-1mb", it fits. However, for our device is STM32F746,which has 320kb SRAM and 1MB Flash, so I believe the former should fit. Since tflite is the quantized model , what else shall we do to reduce the spilt SRAM? Or didn`t we quantize it enough?

Its so weird that the "mcunet-320kb-1mb" even needs more SRAM than the "mcunet-512kb-2mb". We just tested the bigger one "mcunet-521kb-2mb", and it surprised us that it only occupies 416.75KB, which is surprisingly smaller than "mcunet-320kb-1mb"s 467.03KB.

Maybe there`s some unusual things with "mcunet-320kb-1mb_imagenet.tflite" file.

Hi, that definitely makes sense. Thanks for your response. And then were gonna try to deploy the adaptive model on our device to implement some functions on it just like what youve showed in your Demo video which is really cool!


LIHADOOP-48670: Fixing Resource Usage Computation for Spark

Problem
Resource usage for Spark jobs in Dr. Elephant is understated. Goal is to fix this, so it represent actual resource usage for a job.
We found that Dr. Elephant is using total_duration from containers SHS API (Spark History Server), but value, it is getting is total task time instead of duration. Total task time is time, a container spent in working on the tasks. So if a container is live for 10 minutes but it was working on task only for 2 minutes, then spark SHS API returns 2 minutes for total duration. Because of this Dr. Elephant RU numbers for Spark jobs is always less than RMAppSummary data.
Solution
To fix this we are making following changes:

For resource allocated value, we will use memoryseconds from RM API
Start using addTime and removeTime to compute the duration rather than using total_duration field in executor API.
Currently for driver container SHS API always returns 0 for total_duration. So driver container usage are not counted. Using removeTime and addTime will result in driver usage being included as well.

Testing Done

Verified for many Spark jobs whether we are getting right resource usage or not
Verified cases where both addTime and removeTime available for containers
Verified cases where for many containers removeTime field is not available

Issues identified in SHS

Currently Spark history server (SHS) allexecutors API is not returning all the executors spawned throughout the life of the application. We are looking into this issue to fix from SHS side.
addTime is container launch time, not container allocation time.

LGTM


Adding minion purge event emitter

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@d1f9973). Click here to learn what that means.
The diff coverage is 77.41%.

@@            Coverage Diff            @@
##             master    #2686   +/-   ##
=========================================
  Coverage          ?   69.45%
=========================================
  Files             ?      872
  Lines             ?    42138
  Branches          ?     5714
=========================================
  Hits              ?    29269
  Misses            ?    10996
  Partials          ?     1873

Impacted Files
Coverage Δ

.../java/com/linkedin/pinot/minion/MinionStarter.java
90.74% <ø> (ø)

...m/linkedin/pinot/common/utils/CommonConstants.java
37.5% <ø> (ø)

...ot/events/DefaultMetadataEventNotifierFactory.java
100% <ø> (ø)

...din/pinot/events/MetadataEventNotifierFactory.java
75% <ø> (ø)

...ava/com/linkedin/pinot/events/SchemaEventType.java
100% <ø> (ø)

...ller/api/resources/PinotSchemaRestletResource.java
40.57% <ø> (ø)

...m/linkedin/pinot/controller/ControllerStarter.java
61.79% <ø> (ø)

.../core/realtime/PinotLLCRealtimeSegmentManager.java
74.33% <ø> (ø)

.../com/linkedin/pinot/core/minion/SegmentPurger.java
80.55% <0%> (ø)

...din/pinot/events/DefaultMetadataEventNotifier.java
75% <0%> (ø)

... and 4 more

Continue to review full report at Codecov.

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


Adding html options in the Lookup Editor

var data = [{
   id: 0,
   text: 'enhancement',
   html: '
enhancement
'
}];

I want to customize lookupitem as in the example
Could you help.

Hi Oaltay,
you can override "formatResult" method for html content or whatever you want.

thanks

See this example in Wiki https://github.com/volkanceylan/Serenity/wiki/How-to-Create-Lookup-Editor-for-code-description-tables

See this example in Wiki https://github.com/volkanceylan/Serenity/wiki/How-to-Create-Lookup-Editor-for-code-description-tables

Above link doesn't work anymore. This one does:
https://github.com/volkanceylan/Serenity/wiki/Lookup-Editors:-How-to-Create-Lookup-Editor-for-code-description-tables
Regards.


Is it possible to detect that a package was produced by dnt?

I’m starting to add detected build tools to the metadata collected by https://arethetypeswrong.github.io. Most build tools can be detected by their presence in a package’s devDependencies, but dnt is different since it creates a fresh package.json and it’s not an npm package itself. Is there any way I can detect a package made with dnt from what’s present in the published package?

I don't think there's any real easy way to tell. Maybe the precense of @deno/shim-deno in the deps or dev deps, but that might not be exactly correct.
Do you have a suggestion for something that could maybe be added to the package.json? That would obviously only help gradually in the future though.

I don’t know of anything standard for that purpose, but I feel like the addition of a "_generatedBy"<EMAIL_ADDRESS>field wouldn’t cause any problems.

Seems to work in the latest release:
{
  "name": "code-block-writer",
  ...
  "_generatedBy"<EMAIL_ADDRESS>}

I have yet to publish anything with it, but from now on you should be able to tell if a package was published using dnt this way.


Experimental support of Mobx

As discussed in issue #36 . Mobx support is a way to support Neutronium React application.
This issue is to prototype a Mobx binding.

Merged and part of Neutronium.Mobx.Vue version 1.3.1


Stop slayer kills remaining desync when Grotesque Guardians with Double Trouble reward active

Your slayer kills remaining display will no longer desync when killing the Grotesque Guardians while the slayer reward "Double Trouble" is active.

Is the double trouble perk not saved as a varbit?

If you're adding new functionality you should add a test to

Prove that functionality works
Make sure no one accidentally breaks that functionality in the future

cant you just use VarbitChanged and remove all the widget stuff now

Any update on this?

Any update on this?

Sorry about the pause, I was away for the weekend and didn't get a chance to wrap this up beforehand. I think I've addressed all of the standing code change recommendations. If there needs to be a test case for this like NathenSample suggested, I'll probably need some pointers since I would need to mock a varp and a player's location, and I'm not seeing existing runelite-client tests that are doing something similar.


[terra-notification-dialog]Max width set to 500px

Summary
Max-width set to 500px and now is themable
Minor Style adjustments
Closes #795, Closes #341

Found a render/paint bug in IE11 - try "Notification Dialog With Long Text".  First layout makes icon overlap, then any vertical resize it repaints correctly. (Seems to be fine in IE10 mode on IE11)

Reviewed: #949
Addresses #795 & #341
Reviewed:

Resolves OCS design requirement that all notification dialogs are 500px wide.
Reviewed in IE10 and 11, resolves flex /overlap issue

+ 1 UX

cc: @vm051373 -- this should correct the size of your smaller notification dialogs, but will also affect all sizes by now fixing them to one standard width (no longer flexible).


 Seems like it will work.

And I can't think of what to do about hooking newstate as it is much better than constantly checking and setting the lua state in loadbuffer but it wouldn't support for injecting autorun mid-menu screen. Will probably have to revert as to how it is on master and eventually replace it with LUA->GetState through vtable shit..


Patched activemq for being compatible with Java 8

https://issues.apache.org/jira/browse/AMQ-5356

Nice one, cheers


Released versions 8.0.0 and 8.0.1 aren't tagged or appear as releases

The repo doesn't have the last two releases on Nuget set tagged or appearing as releases in GitHub. It makes examining the changes less obvious.

You're right. It's an oversight.

No problem! Thanks for the tags!


Fix #23 User/group permissions "Create Migration"

I think 1 permission is fine for now, more could be added later with EVENT_REGISTER_PERMISSIONS

This has error when using ./craft on cli, I will dive into this.
Exception 'Error' with message 'Call to a member function can() on null'


Bump styled-system to v1.0.0-15

Codecov Report

Merging #332 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #332   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          11     11
  Lines         170    170
=====================================
  Hits          170    170

Continue to review full report at Codecov.

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

On second thought, I'm seeing some react warnings for the themes passed to provider

Ok, those prop types have been changed. But I wasn't sure whether to allow arrays of strings to be passed to breakpoints. Do break points run through this function?
https://github.com/jxnblk/styled-system/blob/master/src/space.js#L41-L52

I just pushed a fix, I had passed separate arguments to oneOfType rather than an array. This PR has turned into a bit of a mess but to my knowledge it's now actually ready for review 😄

Thanks for this, but #342 included an update to the latest styled-system


hotfix: enable to call Enterprise from octo buffer

The current build uses github.com always in octo buffers, so it cannot get candidates from GitHub Enterprise. To solve this, this fix gets the hostname from octo.config module.

LGTM. Thank you


Disable list label spinner

#782  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @alanvardy and the rest of your teammates on  Graphite

Branch good to be deleted?


CORS ERROR happened

I tried to connect and sometimes got a cors error (it didn't happen yesterday).
I think Access-Control-Allow-Origin has a problem on the server side, so I would like you to fix that.

can check if the token is right, no 'Basic' prefix, just the token from Settings page.
right:
{
    "key": "ZG91YmxxxxxxxxC5jb20:d9eVHIxxxxxxxxKbP",
    "url": "https://api.d-id.com"
}

wrong:
{
    "key": "Basic ZG91YmxxxxxxxxC5jb20:d9eVHIxxxxxxxxKbP",
    "url": "https://api.d-id.com"
}

Thanks!
Resolved!


NUMBERS-119: Correct bug in BigFraction(double) constructor

Take care of special exponent bias with subnormal numbers

Coverage decreased (-0.03%) to 94.355% when pulling f55db5a0bfdb478c6a474f477a867996bbdbe459 on Schamschi:NUMBERS-119 into b1daf7ba9b474c2bc480c006cca1816fa401d1a1 on apache:master.

Interesting, the code coverage decreased, but not because of the special case I added for subnormal numbers (this was already covered by a test that only tested the numerator but not the denominator, which is why the test did not fail), but because I also made a special case for zero that caused the denominator of the created fraction to be set to 1 (so that the fraction is 0/1) instead of 2^1075. For some reason, this caused a branch in the method reduce() not to be executed by tests anymore …

I just noticed that the coveralls report is lying about the extent of the decrease in coverage. All the lines in ArithmeticUtils purportedly uncovered by this pull request are already not covered in the master branch (some of them even seem to be unreachable).


fix(types): missing type definition for queryFnParamsFilter

Definition for queryFnParamsFilter is missing.

@all-contributors Please add @dpyzo0o for code

:tada: This PR is included in version 2.4.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added seeds to evaluator.simple_evaluate signature

With the latest changes (e.g., TaskManager) it is much easier to integrate lm_eval into existing code.
However, the evaluator.simple_evalute function sets random, numpy, and torch seeds with hard-coded values.
Basically this PR addresses this TODO item:
https://github.com/EleutherAI/lm-evaluation-harness/blob/4c17c55c9ae3b22280daf4046f70c176e62706d4/lm_eval/evaluator.py#L91
Changes in this PR:

Make seed values as parameters so the user can choose the values, or set it to None if setting the seed is done outside of lm-eval when it is used as a library.
Keep the same values as default values for backward compatibility.

 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.

Works for me and doesn't change the default behaviour.

@haileyschoelkopf thanks for the feedback.
Regarding the cli arg, that was one reason why I did not include it initially (to avoid bloating) the CLI interface.
Here what I propose: instead of adding an argument we can have a '--simple_eval_extra_args'. This is the same spirit of '--model_args'.
The extra args will be converted to kwargs like for models. Python will throw an error if the user tries yo set a value that set by 'main'.
Example:
'lm_eval ... --simple_eval_extra_args numpy_seed=1,torch_seed=null'
In the example above the user wants to keep the default python random seed to the default value.
This way we can solve passing other args without any changes to the CLI args.
Let me know what you think. I don't mind adding the seed arg you proposed (single int, single'None' or list mixed list

@Am1n3e I'll think on the --simple_eval_extra_args proposal!
I think for now I'd prefer if we can stick with just the single seed kwarg and CLI arg for simplicity's sake, but may go back and allow for this arbitrary-argument feature later if it seems useful.

@haileyschoelkopf  I have added the CLI argument as we discussed. Below is the -h output for the newly added arg for reference.  Further, I have added logs when the seed is set to alert users that simple evaluate sets the seed.
 --seed SEED           Set seed for python's random, numpy and torch.
                        Accepts a comma-separated list of 3 values for python's random, numpy, and torch seeds, respectively, or a single integer to set the same seed for all three.
                        The values are either an integer or 'None' to not set the seed. Default is `0,1234,1234` (for backward compatibility).
                        E.g. `--seed 0,None,8` sets `random.seed(0)` and `torch.manual_seed(8)`. Here numpy's seed is not set since the second value is `None`.
                        E.g, `--seed 42` sets all three seeds to 42.

@haileyschoelkopf  Regarding setting additional args discussion. First, what I proposed was just a quick hack. I think the library would benefit from proper handling for setting parameters more easily. Because, if you look at some of the forks, users sometimes want to set specific parameters that are not available in the CLI and end up writing custom entry points or mocking some functions. While that solves the user problem it can make updating to a new lm_eval version a hassle. Also, once forked, lm_eval loses the possibility of users submitting PRs since it is much easier to push in their own fork.
I think configuration management like hydra would make the lib much more flexible while doing close to no effort on boilerplate code for config management using a YAML file or from the CLI. Of course, there are some changes that need to be made. But I think an initial version (that would solve the extra args, for example) would be easy to do.
I will be happy to discuss this further and see how we can collaborate on this.

@Am1n3e I like the idea of an alternate entry point! And agree with your sentiment that we want it to be easy to upstream changes or new tasks contributed by users.
If you have discord, let's discuss further on EleutherAI's discord in the #lm-thunderdome channel! Does that work for you?
Would you also be willing to add these seed args to docs/interface.md before we merge? If not, happy to do so myself.

@haileyschoelkopf I've updated interface.md

Thank you very much!

May we also have control over fewshot context sampler seed
here https://github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/api/task.py#L523 (for Task)
and here https://github.com/EleutherAI/lm-evaluation-harness/blob/main/lm_eval/api/task.py#L815 (for ConfigurableTask)?


schemaTypeCheck ignores properties under allOf when checking for existence of required fields

Hey there,
when the schemaTypeCheck checks for the existence of properties which are required, it does not take into account the information in an allOf section. (see example below)
The schema is actually valid but the result show the error message: object contains required fields but no properties
And as a small side note: The schemaTypeCheck page references the wrong Function source (duplicated_enum_entry instead of schema_type)
openapi: 3.0.1
info:
  title: Minimal OpenAPI Example
  version: 1.0.0
paths:
  /:
    get:
      responses:
        '200':
          description: A simple get endpoint

components:
  schemas:
    BaseSchema:
      type: object
      properties:
        id:
          type: integer
          format: int64
          example: 1
        name:
          type: string
          example: "Base Name"

    Example:
      type: object
      required:
        - extraField
        - id
      allOf:
        - $ref: '#/components/schemas/BaseSchema'
        - type: object
          properties:
            extraField:
              type: string
              example: "Additional Data"

will address soon.

Hey @daveshanley, any updates in this one? Our team is blocked by that, and we'd like to know if a fix will land soon 🙏

I am working on a release that contains other fixes and updates. It should be ready soon, however I am tackling multiple dimensions across multiple projects at the moment. Once the stack is stable I will release it.

This check has now been added. Fixed in v0.11.0
https://github.com/daveshanley/vacuum/blob/main/functions/openapi/schema_type.go#L266
Multiple tests added:
https://github.com/daveshanley/vacuum/blob/main/functions/openapi/schema_type_test.go#L1077
https://github.com/daveshanley/vacuum/blob/main/functions/openapi/schema_type_test.go#L1036
https://github.com/daveshanley/vacuum/blob/main/functions/openapi/schema_type_test.go#L998
And more.


Naming conventions

My understanding is that the current naming convention follows closely AnnData, which is very terse, implies familiarity with the underlying data, and is partly discordant with the Feature-Object-Matrix terminology, e.g., var seems to be an abbreviation for feature_annotation or similar. It would be better to be explicit in the data scheme, rather than terse.

@mtmorgan there has been some progress since you filed this issue. It seems that underlying naming structure hasn't changed and there are no plans of changing it.
You can change the latest specification here https://github.com/single-cell-data/SOMA/blob/main/abstract_specification.md
If ok with you I'll close this issue.


Support Cloudflare Access for wrangler dev

Enable support for wrangler dev on Workers behind Cloudflare Access, utilising cloudflared. If you don't have cloudflared installed, Wrangler will prompt you to install it. If you do, then the first time you start developing using wrangler dev your default browser will open with a Cloudflare Access prompt.

Very interested in getting this in, is there any particular reason there is no testing around it?

I'm not entirely sure how this could be tested in an automated way. It requires a domain set up for Access, as well as cloudflared installed.

I'm not entirely sure how this could be tested in an automated way. It requires a domain set up for Access, as well as cloudflared installed.

Hmmmm, I don't know how I feel pushing this up without testing. We may need to think about a minimal testing for the code (implementation details) or behavior.

@JacobMGEvans I've added a couple unit tests

@JacobMGEvans I've added a couple unit tests

I appreciate the effort in figuring out a way to test this!


Add static file descriptor links for stream apps

As a developer, I'd like to host the static file descriptors within the spring.io domain, so we have the flexibility wrt naming and be able to control the lifecycle. We would want to move away from bit.ly artifacts eventually.

This issue was moved to spring-cloud-stream-app-starters/app-starters-release#39


Replace eslint with semistandard

Sorry about the huge line count.
The project already mostly followed semistandard coding style, this is just to help keep it consistent.
semistandard is also a lot more stricter, so it'll help catch typos and logic errors earlier.
Most of the changes come from whitespace and other changes that eslint can do automatically.
But I did do a few other basic ones:

Changed var declarations to either const or let
Changed some, not all, util.format calls to use template strings
Fixed some logic errors and typos that we're caught by lint
Commented out variables that were assigned a value, but weren't used
Made utils.escape an arrow function

None of the tests fail, but I'm not completely certain the branch is still on par with master.
I'm going to move the project to use class next, so I'll go through the logic more extensively then.
At any rate, I don't think there should be a new release until we can be sure everything's working again.

Alright seems cool. I personally would have stuck with eslint because I feel like it is the industry standard. But maybe semistandard is the new hot thing. I am fine with adopting it. Especially since you already put so much valuable work in. If in the end, you could do some thorough testing, that be great, new automated tests are also always welcome.  👍


OpenBLAS error under Visual Studio 2015

When attempting to include OpenBLAS with hunter on the following platform:

Hunter releases v0.16.36 or v0.16.4
CMake 3.7.0
Visual Studio 2015 x64
Windows 7 SP3

I get this error:
[hunter] Calculating Config-SHA1
[hunter] Calculating Toolchain-SHA1
[hunter] HUNTER_ROOT: C:/.hunter
[hunter] [ Hunter-ID: a47baf7 | Config-ID: 7b72d8c | Toolchain-ID: 4ff54d2 ]
[hunter] OPENBLAS_ROOT: C:/.hunter/_Base/a47baf7/7b72d8c/4ff54d2/Install (ver.: 0.2.19-p0)
[hunter] Building OpenBLAS
loading initial cache file C:/.hunter/_Base/a47baf7/7b72d8c/4ff54d2/cache.cmake
loading initial cache file C:/.hunter/_Base/a47baf7/7b72d8c/4ff54d2/Build/OpenBLAS/args.cmake
-- The C compiler identification is MSVC 19.0.24210.0

-- The CXX compiler identification is MSVC 19.0.24210.0

-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe

-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works

-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe

-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/x86_amd64/cl.exe -- works

-- Detecting CXX compile features

-- Detecting CXX compile features - done

[hunter ** INTERNAL **] Expected wiki
[hunter ** INTERNAL **] [Directory:C:/.hunter/_Base/a47baf7/7b72d8c/4ff54d2/Build/OpenBLAS]

------------------------------ WIKI -------------------------------
    https://github.com/ruslo/hunter/wiki/error.internal

-------------------------------------------------------------------

CMake Error at C:/.hunter/_Base/Download/Hunter/0.16.36/a47baf7/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
  C:/.hunter/_Base/Download/Hunter/0.16.36/a47baf7/Unpacked/cmake/modules/hunter_internal_error.cmake:13 (hunter_wiki)
  C:/.hunter/_Base/Download/Hunter/0.16.36/a47baf7/Unpacked/cmake/modules/hunter_fatal_error.cmake:12 (hunter_internal_error)
  CMakeLists.txt:19 (hunter_fatal_error)

-- Configuring incomplete, errors occurred!
See also "C:/.hunter/_Base/a47baf7/7b72d8c/4ff54d2/Build/OpenBLAS/Build/CMakeFiles/CMakeOutput.log".

[hunter ** FATAL ERROR **] Configure step failed (dir: C:/.hunter/_Base/a47baf7/7b72d8c/4ff54d2/Build/OpenBLAS)
[hunter ** FATAL ERROR **] [Directory:C:/.hunter/_Base/Download/Hunter/0.16.36/a47baf7/Unpacked/cmake/projects/OpenBLAS]

------------------------------ WIKI -------------------------------
    https://github.com/ruslo/hunter/wiki/error.external.build.failed
-------------------------------------------------------------------

CMake Error at C:/.hunter/_Base/Download/Hunter/0.16.36/a47baf7/Unpacked/cmake/modules/hunter_wiki.cmake:12 (message):
Call Stack (most recent call first):
  C:/.hunter/_Base/Download/Hunter/0.16.36/a47baf7/Unpacked/cmake/modules/hunter_fatal_error.cmake:20 (hunter_wiki)
  C:/.hunter/_Base/Download/Hunter/0.16.36/a47baf7/Unpacked/cmake/modules/hunter_download.cmake:495 (hunter_fatal_error)
  C:/.hunter/_Base/Download/Hunter/0.16.36/a47baf7/Unpacked/cmake/projects/OpenBLAS/hunter.cmake:26 (hunter_download)
  C:/.hunter/_Base/Download/Hunter/0.16.36/a47baf7/Unpacked/cmake/modules/hunter_add_package.cmake:87 (include)
  CMakeLists.txt:12 (hunter_add_package)

Configuring incomplete, errors occurred!

The following is the most recent entry in  CMakeOutput.log:
Detecting CXX [] compiler features compiled with the following output:
Change Dir: C:/.hunter/_Base/a47baf7/7b72d8c/4ff54d2/Build/OpenBLAS/Build/CMakeFiles/CMakeTmp

Run Build Command:"C:/Program Files (x86)/MSBuild/14.0/bin/MSBuild.exe" "cmTC_b0c99.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=14.0"
Microsoft (R) Build Engine version 14.0.25420.1

Copyright (C) Microsoft Corporation. All rights reserved.

Build started 6/12/2016 3:45:01 PM.

Project "C:\.hunter\_Base\a47baf7\7b72d8c\4ff54d2\Build\OpenBLAS\Build\CMakeFiles\CMakeTmp\cmTC_b0c99.vcxproj" on node 1 (default targets).

PrepareForBuild:

  Creating directory "cmTC_b0c99.dir\Debug\".

  Creating directory "C:\.hunter\_Base\a47baf7\7b72d8c\4ff54d2\Build\OpenBLAS\Build\CMakeFiles\CMakeTmp\Debug\".

  Creating directory "cmTC_b0c99.dir\Debug\cmTC_b0c99.tlog\".

InitializeBuildStatus:

  Creating "cmTC_b0c99.dir\Debug\cmTC_b0c99.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.

ClCompile:

  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\CL.exe /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_b0c99.dir\Debug\\" /Fd"cmTC_b0c99.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue C:\.hunter\_Base\a47baf7\7b72d8c\4ff54d2\Build\OpenBLAS\Build\CMakeFiles\feature_tests.cxx

  Microsoft (R) C/C++ Optimizing Compiler Version 19.00.24210 for x64

  Copyright (C) Microsoft Corporation.  All rights reserved.

  cl /c /Zi /W3 /WX- /Od /Ob0 /D WIN32 /D _WINDOWS /D _DEBUG /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_b0c99.dir\Debug\\" /Fd"cmTC_b0c99.dir\Debug\vc140.pdb" /Gd /TP /errorReport:queue C:\.hunter\_Base\a47baf7\7b72d8c\4ff54d2\Build\OpenBLAS\Build\CMakeFiles\feature_tests.cxx

  feature_tests.cxx

Link:

  C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin\x86_amd64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\.hunter\_Base\a47baf7\7b72d8c\4ff54d2\Build\OpenBLAS\Build\CMakeFiles\CMakeTmp\Debug\cmTC_b0c99.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/.hunter/_Base/a47baf7/7b72d8c/4ff54d2/Build/OpenBLAS/Build/CMakeFiles/CMakeTmp/Debug/cmTC_b0c99.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/.hunter/_Base/a47baf7/7b72d8c/4ff54d2/Build/OpenBLAS/Build/CMakeFiles/CMakeTmp/Debug/cmTC_b0c99.lib" /MACHINE:X64  /machine:x64 cmTC_b0c99.dir\Debug\feature_tests.obj

  cmTC_b0c99.vcxproj -> C:\.hunter\_Base\a47baf7\7b72d8c\4ff54d2\Build\OpenBLAS\Build\CMakeFiles\CMakeTmp\Debug\cmTC_b0c99.exe

FinalizeBuildStatus:

  Deleting file "cmTC_b0c99.dir\Debug\cmTC_b0c99.tlog\unsuccessfulbuild".

  Touching "cmTC_b0c99.dir\Debug\cmTC_b0c99.tlog\cmTC_b0c99.lastbuildstate".

Done Building Project "C:\.hunter\_Base\a47baf7\7b72d8c\4ff54d2\Build\OpenBLAS\Build\CMakeFiles\CMakeTmp\cmTC_b0c99.vcxproj" (default targets).

 **[Post a bounty on it!](https://www.bountysource.com/issues/39852047-openblas-error-under-visual-studio-2015?utm_campaign=plugin&utm_content=tracker%2F1032790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1032790&utm_medium=issues&utm_source=github).

I have fixed internal error, you can try this release:

https://github.com/ruslo/hunter/releases/tag/v0.17.2

However the root of the problem is that there is no build scheme for OpenBLAS that do support Visual Studio:

https://github.com/ruslo/hunter/blob/a69f79fcaf5879ca449aa7a43d606349f05a775e/cmake/projects/OpenBLAS/schemes/OpenBLAS.cmake.in#L17-L19

Somebody have to introduce one.

OK thanks for looking into this!

Not a Hunter issue, closing.


express midleware on v1.0.0-alpha.4

Hello i use middleware express before nuxt
const Nuxt = require('nuxt')
const express = require('express')
const app = express()
const nuxt = new Nuxt(config)
let config = require('./nuxt.config.js')
config.dev = false;

app.use(function (req, res, next) {
        nuxt.renderRoute(req.url)
        .then(data => res.end(data.html ? data.html : 'empty render'))
        .catch(error => res.end('This page error render!!!!!'))
    });

I have result
This page error render!!!!!
for every page (((
how i can fix it ?
Thanks

I user express midleware with alpha4 and it is working ok.
The help you please tell us what is the error exactly.
Change code like this:
[...]
.catch(error => res.end(error))
[...]

I user express middleware with alpha4 and it is working ok.
The help you please tell us what is the error exactly.
Change code like this:
[...]
.catch(error => res.end(error))
[...]

Similar issue here. Just updated from alpha 2 to alpha 4 and it broke the middleware usage in Express.
const nuxt = new Nuxt(nuxtConfig)
app.use(nuxt.render)

Error:
TypeError: app.use() requires middleware functions

@wargt did you install using yarn? Make sure alpha4 of nuxt is being used.

Should be related to express-template.
I'm closing the issue but feel free to reply if the bug still exist.


D: Make Bubble Burst Game responsive and increase the size of bubbles

@aaryahjolia ?

Hey @arpit456jain , I am a GSSOC'22 contributor . If no one is working on this issue , can you assign it to me . I have solved the issue and send the PR . Can you please review and merge it .

Hey @Rishita489 , Actually I'm working on the issue. But no worries you've made a PR. But from now please make a PR after the issue is assigned.


Constants aren't captalized (thats python)

Hey ski! I'm sonicx180 from khan. just want to let you know  that constants arent captalized cause that is in python. Instead you do
const variable = value; If you get what I mean. Have a great day!

hey there, :D! so glad you thought to drop by and inform me of this, :D.
see the highest voted post in this Stack Overflow question. i can still change the properties of an object declared with const, but i used all caps to signify that that value and its properties will NEVER change regardless of its data type.
please let me know if you have any other questions, concerns, or notice any flaws in my logic regardin' this issue, :).

Okay thanks!


@renovatebot bumping versions will break the regression test every time

Are we sure we want this? Every time there's a new change, this test will have to be updated.
Originally posted by @paddyroddy in https://github.com/UCL-ARC/python-tooling/pull/432#pullrequestreview-2384846831

Can we get rennovate to bump the version in the regression test data file at the same time?

Could we get rennovate to bump the version in the regression test data file at the same time?

So that was the hope. But it turns out there was a blocker. #505 fixes this.


[github] Commit merge status badge

Implements https://github.com/badges/shields/issues/1616#issue-309141574. Probot app has access to merge commit sha, so we don't need more useful API (described here https://github.com/badges/shields/issues/1616#issuecomment-377700209).
Service tests describes all cases I was able to come up with. Feel free to suggest other cases.

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @platan!

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

  Generated by :no_entry_sign: dangerJS

@chris48s @RedSparr0w Thank you for review!


Cannot evaluate return value from shared library

Expected Behavior
When I have a shared library in my vars folder like this:
def call() {
  def a = 3
  return a
}

... and I try to check the return value in a test using Jenkins-Spock like this:
def "example test"() {
  when:
  def result = scriptUnderTest.call()
  then:
  result == 3
}

...I would expect the test to succeed because the result is 3.
Actual Behavior
The test fails because I get 'null' as the result. When debugging, I see that the value is calculated in the code correctly, I just cannot access it in the test.
Steps to Reproduce

Create a shared library in your vars folder that uses a return statement at the end.
Try to check the returned value in a test using Jenkins-Spock.

Additional Information
I have written quite some tests with Jenkins-Spock already and really love it. But up until now, I have only worked on a project that did not use return values in vars scripts. Is it possible to check them? What am I missing here?

Have you used the loadPipelineScriptForTest method to load the script itself?
I've had no troubles with test as (using your global variable assumption):
def "Should return something"() {
  given: 'Global variable is defined'
  def newGlobalVariable = loadPipelineScriptForTest('vars/newGlobalVariable.groovy')
  when: 'The variable is used'
  def returnedValue = newGlobalVariable()
  then:
  returnedValue == 3
}

Oh dear, yes, you are right.
The problem was an enclosing pipeline step. When I move the return statement out of this step, it works fine.
Sorry for not checking it properly myself!


Incompatible with AdvancedRocketry

https://github.com/zmaster587/AdvancedRocketry/issues/1271

This should be fixed in the dev version 0.7.7

This is the dev version.  On github.  You have to build it yourself or wait.


array::Channel: remove redundant cap field

cap stores the channel capacity, the number of slots in buffer. There's no additional cost to extracting the length of a slice, so remove cap and use buffer.len() instead.

Thanks! Could you do the same for ArrayQueue?
https://github.com/crossbeam-rs/crossbeam/blob/3aa2598e3943c791e68d668d9f92e84e748bab65/crossbeam-queue/src/array_queue.rs#L71

IIRC, the main difference would be the presence of code for select and disconnect support. Aside from the latter, the former would be a complicated API to include.


Not possible to scroll to see the message I'm typing

Hi,
Not possible to scroll to see the message I'm typing.
https://github.com/coracle-social/coracle/assets/1178856/cdc10df4-0870-49cd-b2f8-3c679491a956

Same things on DM's

I can't replicate this on android, is this iOS Safari?


failed to transform cast: couldn't find initial frame

[ ~ ] asciinema rec mwe.cast
asciinema: recording asciicast to mwe.cast
asciinema: press <ctrl-d> or type "exit" when you're done
[ ~ ] # hello, world
[ ~ ] # this is an example for a bug report
[ ~ ] # goodbye
[ ~ ]
asciinema: recording finished
asciinema: asciicast saved to mwe.cast
[ ~ ] ~/.go/bin/asciinema-edit cut --start=1.1 --end=2.2 mwe.cast
failed to transform cast: couldn't find initial frame
 x [ ~ ] asciinema cat mwe.cast
[ ~ ] # hello, world
[ ~ ] # this is an example for a bug report
[ ~ ] # goodbye
[ ~ ]
[ ~ ] asciinema --version
asciinema 2.0.1
[ ~ ] ~/.go/bin/asciinema-edit -v
asciinema-edit version dev - HEAD

(asciinema-edit installed via go get today)

This issue still seems to be present in the latest release.

It looks like you need to be exact when specifying the "timestamp" values for the cut.


Update to grunt-contrib-jasmine 0.9.1

The grunt-contrib-jasmine package have support for jasmine 2.x since 0.6.0.

+1


[3.0] Unset proxy while knife run (bsc#958716)

(cherry picked from commit 0160f97fc8d9e53137598a5c882a4ea798471024)

+1

+1

Gating failed unrelated in CCT


Use custom FLO Server in Launcher

Hi, Is there a way that we can run this software on our own servers, and add the server to launcher and play with friends that have added the same server to their launcher ?

@erfanmola not possible at the moment, additional flo controllers support should be feature request for launcher/and other w3c stack and not for flo itself, personally I'm in doubt that w3c team will do anything like that.

@erfanmola not possible at the moment, additional flo controllers support should be feature request for launcher/and other w3c stack and not for flo itself, personally I'm in doubt that w3c team will do anything like that.

Can we ask FLO to have controllers in specific region ? We can even give them a VPS for that

you mean nodes (not controllers) controllers control many nodes, contact W3C in their discord for that, just giving VPS should be enough and you don't have to compile / setup anything on your own.


CI: Run travis builds on master to keep cache up to date

When a PR first runs on travis-ci, the cache from the master branch is used as the basis for the first build. Since gh-11287, travis-ci no longer runs on the master branch. This means all PRs start with either outdated caches, or no cache at all.
For example, the newly added ARM test group builds have no cache whatsoever and have to do a full rebuild for each new PR. See the "setting up build cache" in this travis log, where it says "could not download cache":
https://travis-ci.org/github/scipy/scipy/jobs/693779972#L308
As a middle ground, this PR runs the build on master but not the tests. That should be sufficient to prime the caches but still put less strain on the travis workers. I also added a name for each job since it's very hard to tell which jobs are which at a glance in the travis UI.

CI failures are all unrelated, merging.

Looks like it's working. The ARM job that timed out after 50 minutes on this PR passed in only 20 minutes in this PR job:
https://travis-ci.org/github/scipy/scipy/jobs/695496157


Remove outdated comment

The default was changed from direct to workstealing previously

@anuraaga Thanks for catching this! Could you please remove the faulty comment from other occurrences as well? (two in Scala from a quick grep)


Flyout Chat not connecting in Google Chrome Browser

Challenge Waypoint: Construct JavaScript Objects with Functions has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.106 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
Im having an issue here where the flyout chat is not letting my type in Google Chrome, I have to open the chat in a new window. i attached a picture, when I click the chat button it just loads

I can't repro this in the same version of google Chrome as you. Do you have an extensions like popup blockers or are you using a proxy or VPN? Do you see any errors in the console?

No VPN, I disabled my pop up blocker and under inspect element I am getting this.
Sent from my iPhone

On Dec 23, 2015, at 8:41 PM, Logan Tegman<EMAIL_ADDRESS>wrote:
I can't repro this in the same version of google Chrome as you. Do you have an extensions like popup blockers or are you using a proxy or VPN? Do you see any errors in the console?
—
Reply to this email directly or view it on GitHub.

I'll leave this open for a while just to see if anyone else is able to reproduce this, but it's looking to me like a connection or system issue on your end.

Sounds good. Thank you, I will keep you updated on what I find when I debug. Happy holidays man
Chris
Sent from my iPhone

On Dec 24, 2015, at 4:59 PM, Logan Tegman<EMAIL_ADDRESS>wrote:
I'll leave this open for a while just to see if anyone else is able to reproduce this, but it's looking to me like a connection or system issue on your end.
—
Reply to this email directly or view it on GitHub.

@ChrisRanieri Are you able to log into Gitter normally?

Yup I can log in normally when I open the chat in a new window
Sent from my iPhone

On Dec 25, 2015, at 5:37 PM, Berkeley Martinez<EMAIL_ADDRESS>wrote:
@ChrisRanieri Are you able to log into Gitter normally?
—
Reply to this email directly or view it on GitHub.


fix(test-support): remove special case for $message_type

What does this PR try to resolve?
Closes #13017

How should we test and review this PR?
Tests passes
Additional information

@bors r+

:pushpin: Commit c426fbe68dc2cc2dbeca2ca38747398eed03f5d5 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit c426fbe68dc2cc2dbeca2ca38747398eed03f5d5 with merge af08da68344818e1bdc8ab047ac9526e61ba430a...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing af08da68344818e1bdc8ab047ac9526e61ba430a to master...


Milestone 01 : Creating a data model

In this pull request, I have implemented the following:

[x]  Create a rails app called rails-blog
[x]  Setup Postgres database for the app
[x]  Built the schema for the app using migrations
[x]  Included foreign keys with their indexes
[x]  Create and run the necessary migration file
[x]  Table and column names match the ERD diagram

@mahbubul14 Thanks for your kind review and feedback.


dark.mode.include=no not working

Setting the dark.mode.include parameter to no still creates the link to the .js file and thus enables dark mode.
In the insertParameters.xml file the parameter is called BOOTSTRAP_DARK_MODE_INCLUDE, but in the html5-bootstrap.xsl it's called BOOTSTRAP_DARK_MODE_TOGGLER_INCLUDE.
Naming them similarly fixes the issue.

@lakokkonen Good catch, thanks for reporting. 🙏


xpra: 0.17.6 -> 2.0.1

Package bump.
Requires build against newer ffmpeg (3.2.x instead of 3.1.x)
because of new symbols:
FF_PROFILE_H264_MULTIVIEW_HIGH
FF_PROFILE_H264_STEREO_HIGH
Motivation for this change
0.17.6 was EOL in late 2016, this is the latest version.
Things done

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

[X] NixOS
[ ] macOS
[ ] Linux

[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Dependent packages (which compile and appear to work but I do not use) are:
winswitch
ib-controller
Known issues (common to 0.17.6):

Running with Xdummy does not work because xorg cannot find the dummy driver - is there a way to specify the video drivers that the provided xorgserver derivation uses?

Cc @offlinehacker

I was testing with 2.0-rc1, in my local nixpkgs, and it forks ok, with all use cases i have(xpra as X display manager, pulseaudio, mmap, vsock,...) and i assume they didn't break anything in this patch, so i'm ok with merging.

Btw xdummy works ok for me


Feature Suggestion: Total spots available graph

I really love this site. Id like to request a third graph that tells us the total spots available across all structures. I think that would be a nice addition that tells the whole parking story on campus.

This is something I'm not opposed to adding.
What are your thoughts on having a separate page (something like https://utdgarages/master-graph) and an additional button at the footer that links to it like this:

This should prevent cluttering of the main page and allow users to access the master graph on a separate page if they want to.

@millkhan  I'd be a fan of that.
I was trying to figure out how to visually distinguish it from the other graphs if they were on the same page. (so as to avoid confusion or mixing up graphs).
I think a separate page would be the best solution to this problem

Added in release v1.1.0


Hotfix/exceptions

For every error in processing filters or order by throw a custom exception.

Coverage increased (+0.03%) to 86.316% when pulling 4d68059689d7ddf4520cd138a39417a673380419 on TomHAnderson:hotfix/exceptions into c5c483e512020d2964e267b219a67aa4ff41f069 on zfcampus:master.

Coverage increased (+0.5%) to 86.771% when pulling bfbf9d5a640af5a6c286583452b2f0fecd94ee49 on TomHAnderson:hotfix/exceptions into c5c483e512020d2964e267b219a67aa4ff41f069 on zfcampus:master.

I'm going to add more detail about which filter failed in the exceptions.

Coverage decreased (-0.4%) to 85.859% when pulling 466e5d12eb218690b3a961565970b03442347b2e on TomHAnderson:hotfix/exceptions into c5c483e512020d2964e267b219a67aa4ff41f069 on zfcampus:master.

Ready for merge.


[Feature] Remove --svc flag from vela delete command

Is your feature request related to a problem? Please describe.

It's unnecessary to support svc flag args from vela delete command.
Describe the solution you'd like

Remove svc flag args from vela delete command.
Describe alternatives you've considered

Additional context

/lgtm


Add RucioConMon API to WMCore.Services.

Fixes #10410
Status
Ready
Description
This PR is intended to provide all the needed interfaces to external systems so that the MSUnmerged micro service may fetch the data for:

Statistics for all RSEs from Rucio Consistency Monitor, together with update timestamps
List of files in unmerged area per RSE
Lists of protected files from the RSE's unmerged area
Default delete interface for the RSE
etc.

Is it backward compatible (if not, which system it affects?)
YES
Related PRs
We need to put the Url to the Rucio Consistency Monitor in the service config:
<TODO - to put the links to the service_configs and deployment repositories here>
External dependencies / deployment changes

Thanks  for the review @amaltaro  I addressed your comments. Please take another look!

Thank you for your previous review @amaltaro. Can you please take another look.

@todor-ivanov please squash these commits and it's ready to go. Thanks!

To avoid wasting more time on this, I'm merging it like this.
Thanks!


default directory

default oasys directory is not found by os.getcwd()
forced provisionally to sit in  .../orangecontrib/xoppy/testrun

Bug present in oasys, alredy fixed and soon released


Improved README.md

I don't think it is a good idea to edit the license. License should be as original.
https://opensource.org/licenses/MIT

Yes that's true but there are certain typos that i have corrected which
will be beneficial to protect your content from misuse. Rest is up to you
Yigit.
On Thu, Oct 1, 2020 at 12:40 AM Yigit Alparslan<EMAIL_ADDRESS>wrote:

I don't think it is a good idea to edit the license. License should be as
original.
https://opensource.org/licenses/MIT
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SAPConversationalAI/Webchat/pull/67#issuecomment-701587645,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQY3L4E3FS75XRHBPKVJX7LSIN7CPANCNFSM4R7O7EXQ
.

Please mark as invalid and spam, this is an obvious attempt to get a free t-shirt by 'contributing'(hacktoberfest)
This will also ban the user for trying to abuse the system by doing marginal effort


fix: remove utils params #37

close #37

:tada: This PR is included in version 1.19.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


WIP: Add support for new Vivado 2020.2 image.

I expected this to resolve the hanging Vivado issue we've been seeing, but Vivado 2020.2 still appears to have the issue.  This likely points to something else is going on.

I expected this to resolve the hanging Vivado issue we've been seeing, but Vivado 2020.2 still appears to have the issue.  This likely points to something else is going on.


Annoying note

The note "Die Entwicklung geht weiter..." is really annoying and constantly pops up.
Best regards
Boris

I know... sorry... it is a cache problem or so. I'm not sure where the problem is. The message should only be displayed once. :(

https://github.com/ioBroker/ioBroker.admin/pull/421
First try

Fixed with ioBroker admin 3.6.5


cool project!

cool, is this a bot for Slack? will you have a README in the future?
some screenshots would be awesome, too!
keep it up, cheers!

Funny how you found this so quickly haha.
I made this at REcon last year (probably during your talk) and didn't bother updating/publishing it. I will update soon to include more infos!
Here's a screenshot

oh cool, did we talk in person at RECON last year?
thanks for the fantastic screenshot! linked to your tool now from our websites: http://www.capstone-engine.org/showcase.html & http://www.keystone-engine.org/showcase/
cheers!

will you add README to this? still looking forward to it


Unknow error

Hi
I have
tvh version 3.4.28~geb79aee~trusty
plex version 2.3.20.
I install the plugin in plex but when I try tu run it I have
Unknow error message.
What is the problem??
Thanks

I had the same issue, running the latest stable version of tvheadend. Updated tvheadend to latest unstable version and it worked for me.

Ok I try.
Thank you
2015-03-18 11:52 GMT+01:00 Ocrimops<EMAIL_ADDRESS>
I had the same issue, running the latest stable version of tvheadend.
Updated tvheadend to latest unstable version and it worked for me.
—
Reply to this email directly or view it on GitHub
https://github.com/realriot/tvheadend-ng.bundle/issues/26#issuecomment-82891311
.

--
Dott. Giosia Gentile

The plugins tries to make a API version check. If it fails for an unknown reason it quits this request. A new error check will be pushed within the next release.


Include examples

It will be great if there are examples of how to use the listed Observable-creation functions and operators. In order to save space the examples could be hidden by default. Each item in the list can have a toggle button to show/hide its related example.
Each example can have a link to a StackBlitz playground.

Added in v1.1.0