[Bug?] Error when browsing IP addresses from a prefix page

If I search for an IP from the search box on the front page, then select its parent prefix and select the IP address tab I get an error thrown. Outside valid IP address boundary! I have just upgraded to v1.5.1 directly from v1.4.0 Traceback is below.
Traceback:
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py" in inner
39.             response = get_response(request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _legacy_get_response
249.             response = self._get_response(request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
187.                 response = self.process_exception_by_middleware(e, request)
File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _get_response
185.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/opt/netbox-1.5.1/netbox/ipam/views.py" in prefix_ipaddresses
429.     ipaddresses = add_available_ipaddresses(prefix.prefix, ipaddresses)
File "/opt/netbox-1.5.1/netbox/ipam/views.py" in add_available_ipaddresses
69.             diff = int(ip.address.ip - prev_ip.address.ip)
File "/usr/local/lib/python2.7/dist-packages/netaddr/ip/init.py" in sub
437.         new_value = int(self._value - num)
File "/usr/local/lib/python2.7/dist-packages/netaddr/ip/init.py" in rsub
454.         raise IndexError('result outside valid IP address boundary!')
Exception Type: IndexError at /ipam/prefixes/1/ip-addresses/
Exception Value: result outside valid IP address boundary!

Can you provide a list of the IPs defined in that prefix? You can try looking through the admin UI, or run ./manage.py shell and paste in this code (replacing "<IP_ADDRESS>/24" with the affected prefix):
from ipam.models import *
for ip in IPAddress.objects.filter(address__net_contained='<IP_ADDRESS>/24'):
    print(ip)

Hi Jeremy,
The shell returned :
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27
<IP_ADDRESS>/27

What's the parent prefix? <IP_ADDRESS>/27?

Parent is <IP_ADDRESS>/26

This bug seems to occur when you have one or more IPs define with differing mask lengths. Try searching for all IPs within the /26 (/ipam/ip-addresses/?parent=<IP_ADDRESS>%2F26) and you'll probably find one or more with a /26 mask. (If the parent is a /26, they're probably all supposed to have a /26 mask).
The error triggers because the IPs with larger masks are sorted before those with smaller masks. Not sure why that is, but I'll dig into it. In the interim, you should be able to work around it by adjusting the mask for all IPs in the prefix to match.

Thanks Jeremy, looks like I got sucked in by excel's fill down function auto-incrementing and missed it when I bulk imported from yes our current excel sheets. Swapped them to the /26 mask and the steps to cause the error longer result in an error and work as expected.

So, after casting an IP address using HOST() PostgreSQL treats it as text, which destroys the ordering logic. The solution (or at least a solution) is to re-cast the value back to its original form using INET(). This effectively removes the prefix length and treats each IP as a /32 or /128.


Use defid v2.11.1 container and fix all breaking regression change from upstream.

For feat(v2.11): DeFiChain Node v2.11 Release #1751; support for DeFiChain Node v2.11.1 via custom branch defi/defichain:HEAD-02ef6a1b3 due to plenty of breaking issues.
It was a temporary measure to use the custom branch, however, fixes are required to address the regression issue and migrate to 2.11.1. However, there are over 500 breaking tests, we need a better way to address it.
/area packages
/proprity important-soon

/triage accepted

/priority important-soon
/assign @fuxingloh

Open an issue upstream instead of fixing it here https://github.com/JellyfishSDK/jellyfish/issues/1764


Update remote repository is not working

HI,
I'm getting the error below when trying to do the deploy, I'm out of solutions for this.
Error:
TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | GIT | Update remote repository using SSH key] *************************************************************************************************************************************************************************
fatal: [smoke-server]: FAILED! => {"changed": false, "cmd": "/usr/bin/git clone --origin origin '' /home/smoke-dev2/deploy/repo", "failed": true, "msg": "Cloning into '/home/smoke-dev2/deploy/repo'...\nfatal: cannot exec '/tmp/tmpjjWofS': Permission denied\nfatal: unable to fork", "rc": 128, "stderr": "Cloning into '/home/smoke-dev2/deploy/repo'...\nfatal: cannot exec '/tmp/tmpjjWofS': Permission denied\nfatal: unable to fork\n", "stderr_lines": ["Cloning into '/home/smoke-dev2/deploy/repo'...", "fatal: cannot exec '/tmp/tmpjjWofS': Permission denied", "fatal: unable to fork"], "stdout": "", "stdout_lines": []}

Here's my playbook:
---
- hosts:
  - smoke-server
  become: true
  become_user: smoke-dev2
  vars:
    ansistrano_deploy_from: "{{ playbook_dir }}"
    ansistrano_deploy_to: /home/smoke-dev2/deploy
    ansistrano_keep_releases: 2
    ansistrano_shared_paths:
      - media
      - var
    ansistrano_shared_files:
      - app/etc/local.xml
    ansistrano_deploy_via: "git"
    ansistrano_git_repo: git@bitbucket.org:180smoke/180smoke.git
    ansistrano_git_identity_key_remote_path: "/home/smoke-dev2/.ssh/deploys_rsa"
    ansistrano_git_branch: SMK-69
  pre_tasks:
    - copy:
        src: "deploy/ssh_key/{{ item }}"
        dest: "/home/smoke-dev2/.ssh/{{ item }}"
        mode: 0600
      with_items:
        - deploys_rsa
        - deploys_rsa.pub
  roles:
    - { role: carlosbuenosvinos.ansistrano-deploy }

I tried to clone the repo from within the server using the same ss key and it works normally.

I found the problem and the solution.
Apparently, the server has a /tmp mount with has noexec setting. The git module tries to create and execute a file from the /tmp folder, which of course, is not possible.
The solution was to create a custom tmp folder and use environment variables when running the playbook.

@maaxxicarvalho would you mind providing an example of how you used environment variables for this? I've tried all different ways of doing your fix (I'm having the same issue) and I just cannot get it to read the environment variables for $TMPDIR. The "Update remote repository" tasks refuses to use anything but /tmp for this step.
Thanks!

@mikecharles
You first need to create a directory which you own and which has execution permissions on the server. This is really simple, is just a common directory, just create a directory with the user which you're running the playbook on the server.
In your playbook you'll need something like:
roles:
...
    - { role: carlosbuenosvinos.ansistrano-deploy }
    environment:
        TMPDIR: "/your_temp_directory"
        TMP: "/your_temp_directory"
...

Thanks. However I'm still having issues.
Here is my top-level playbook:
---
  - hosts: "{{ hosts }}"
    remote_user: "{{ user }}"
    roles:
      - role: deploy
        environment:
          TMPDIR: "{{ ansible_env.HOME }}/tmp"
          TMP: "{{ ansible_env.HOME }}/tmp"
      - role: install
        environment:
          TMPDIR: "{{ ansible_env.HOME }}/tmp"
          TMP: "{{ ansible_env.HOME }}/tmp"
...

When I run the playbook, it fails at Ansistrano's "Update remote repository" task. Here's the output from ansible-playbook (note that I print out TMPDIR in roles/carlosbuenosvinos.ansistrano-deploy/tasks/update-code/git.yml and it's correct, but the Ansible Git module doesn't seem to want to use it):
PLAY [destination-host] **********************************************************************************************************************************************************

TASK [Gathering Facts] ************************************************************************************************************************************************************
ok: [destination-host]

TASK [carlosbuenosvinos.ansistrano-deploy : include] ******************************************************************************************************************************

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure deployment base path exists] **************************************************************************************
ok: [destination-host]

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure releases folder exists] *******************************************************************************************
ok: [destination-host]

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure shared elements folder exists] ************************************************************************************
ok: [destination-host]

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure shared paths exists] **********************************************************************************************

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Ensure basedir shared files exists] **************************************************************************************

TASK [carlosbuenosvinos.ansistrano-deploy : include] ******************************************************************************************************************************

TASK [carlosbuenosvinos.ansistrano-deploy : include] ******************************************************************************************************************************

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Get release version] *****************************************************************************************************
ok: [destination-host -> <IP_ADDRESS>]

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | Get release path] ********************************************************************************************************
changed: [destination-host]

TASK [carlosbuenosvinos.ansistrano-deploy : include] ******************************************************************************************************************************
included: /home/sourceuser/software/ansible/roles/carlosbuenosvinos.ansistrano-deploy/tasks/update-code/git.yml for destination-host

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | GIT | Ensure GIT deployment key is up to date (local key file)] **********************************************************
skipping: [destination-host]

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | GIT | Ensure GIT deployment key is up to date (remote key file)] *********************************************************
skipping: [destination-host]

TASK [carlosbuenosvinos.ansistrano-deploy : PRINT ENV VARS] ***********************************************************************************************************************
ok: [destination-host] => {
    "msg": "TMPDIR = /home/sourceuser/tmp"
}

TASK [carlosbuenosvinos.ansistrano-deploy : ANSISTRANO | GIT | Update remote repository] ******************************************************************************************
fatal: [destination-host]: FAILED! => {"changed": false, "cmd": "/usr/bin/git clone --origin origin '' /home/destinationuser/apps/create-ens-mean/repo", "failed": true, "msg": "fatal: cannot exec '/tmp/tmpYiqFHr': Permission denied\nfatal: unable to fork", "rc": 128, "stderr": "fatal: cannot exec '/tmp/tmpYiqFHr': Permission denied\nfatal: unable to fork\n", "stderr_lines": ["fatal: cannot exec '/tmp/tmpYiqFHr': Permission denied", "fatal: unable to fork"], "stdout": "Initialized empty Git repository in /home/destinationuser/apps/create-ens-mean/repo/.git/\n", "stdout_lines": ["Initialized empty Git repository in /home/destinationuser/apps/create-ens-mean/repo/.git/"]}
	to retry, use: --limit @/home/sourceuser/software/app-deployer/app_deployer/ansible-files/deploy.retry

PLAY RECAP ************************************************************************************************************************************************************************
destination-host          : ok=8    changed=1    unreachable=0    failed=1

I take that back, my environment is still a bit of a mess, let me clean this up and try again

The environment declaration is wrong, it should be:
---
  - hosts: "{{ hosts }}"
    remote_user: "{{ user }}"
    roles:
      - role: deploy
      - role: install
    environment:
      TMPDIR: "{{ ansible_env.HOME }}/tmp"
      TMP: "{{ ansible_env.HOME }}/tmp"
...

Thanks @maaxxicarvalho ! That worked

For anyone else that finds this, make sure you upgrade Ansible!  v2.5.0 won't work.

I get this error when the inodes usage is 100%, if you liberate space and nodes and retry everything works fine again.
You can check your inodes using "df -i" in console.


Require logging for the LOGFILE constant in console utilities

During the first boot database creation this was causing errors of the form:
Create region failed with error - Error: NameError with message: uninitialized constant ApplianceConsole::Utilities::LOGFILE.

:+1:


created see me button

PR Title

The purpose of this Pull Request is to fix #44
Description

I created a see more button component
How you solved

I create the button with tailwindcss
Screenshots

##  Checklist
- [x ] I have Made this contribution as per the CONTRIBUTING guide in this repo
- [ x] I have tested in local Environment.
- [ x] I have made the fix as per issue converstaion
- [ x] I have starred the repository ⭐

Thanks @iamkennis ,
Please take a look at othe button tailwind component features too


Simplify adding new translation language pairs

simplify wmt.py:
train_generator is now a method (not a property returning a function)
and WMTProblem subclasses implement it directly (not via one-purpose functions)
add WMT English-Czech translation problems
introduce vocab_name property, so e.g. tokens.vocab-en-cs.32768 is used instead of tokens.vocab.32768 if only English+Czech datasets were used

New attempt: #181


RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR

GaNDLF Version

gandlf 0.0.16
Desktop (please complete the following information):

Tried both on Ubuntu 18.04 and on Google Colab

How did you install GaNDLF
pip install gandlf
Dataset description
Working on the BraTS competition 2023
Describe your question/problem
Even after preparing the .csv as per the gandlf_constructCSV.py and using the .config_segmentation_brats.yaml , I get the error
On changing as image.data = image.data.float() I get the error:-
RuntimeError: cuDNN error: CUDNN_STATUS_MAPPING_ERROR

Also on doing torch.backends.cudnn.enabled = False  I end up getting:-
RuntimeError: CUDA error: CUBLAS_STATUS_NOT_SUPPORTED when calling `cublasGemmEx( handle, opa, opb, m, n, k, &falpha, a, CUDA_R_16F, lda, b, CUDA_R_16F, ldb, &fbeta, c, CUDA_R_16F, ldc, CUDA_R_32F, CUBLAS_GEMM_DFALT_TENSOR_OP)

Please tell me the error I have tried every possible thing. Thanks a lot for your help!!!!

I have the same error popping up. Could you please resolve, any help is deeply awaited, thanks!


How do I get Speech recognition permissions in an iOS WebView?

first, thank you for read my issue.
I'm trying to apply Speech Recognition permissions within a React Native WebView.
I have granted microphone and speech recognition permissions to my app using react native-permissions.
I have also set the NSMicrophoneUsageDescription and NSSpeechRecognitionUsageDescription permissions in the info.plist file of the project's iOS folder.
While an alert appears to request permissions on Android when there are no permissions, nothing happens in the iOS WebView.
How can I obtain Speech recognition permissions within the iOS WebView?
when requested on ios

when requested on android

this is simplified code
import React, { useRef } from "react"
import { View, TouchableOpacity, Text} from "react-native"
import WebView from 'react-native-webview';

const  App = ()  => {
  const webViewRef = useRef<WebView>(null);

  const recogStart = () => {
    webViewRef.current?.postMessage(JSON.stringify({ type: 'start'}))
  }

  return (
      <View style={{alignItems: "center", justifyContent:"center", flex:1}}>
        <WebView
          ref={webViewRef}
          originWhitelist={['*']}
          containerStyle={{width: 100, height: 100, alignItems:"center"}}
          webviewDebuggingEnabled={true}
          source={{ html: `
            <!DOCTYPE html>
            <html lang="en">
              <head><meta charset="UTF-8" /><title>Speech Recognition Script</title>
              </head>
              <body>
                <script>
                  let recognition;

                  window.SpeechRecognition = window.SpeechRecognition || window.webkitSpeechRecognition;
                  window.SpeechRecognitionEvent = window.SpeechRecognitionEvent || window.webkitSpeechRecognitionEvent;

                  if ("SpeechRecognition" in window) {
                    recognition = new SpeechRecognition();
                    recognition.interimResults = true; // Get interim results

                    recognition.addEventListener("start", (event) => {
                      console.log(event);
                    });

                    recognition.addEventListener("error", (event) => {
                      console.log(event);
                    });
                  }

                  const rnMessageListener = (msg) => {
                    const data = JSON.parse(msg.data);

                    if(data.type === "start") {
                      recognition.start();
                    }
                  };

                  /** android */
                  document.addEventListener("message", rnMessageListener);
                  /** ios */
                  window.addEventListener("message", rnMessageListener);
                </script>
              </body>
            </html>`
          }}
        />
        <View style={{flex:1}}>
          <TouchableOpacity
            style={{ backgroundColor: "red", height: 50, width: 200, alignItems:"center", justifyContent:"center", borderRadius: 20}}
            onPress={recogStart}
          >
            <Text style={{color: "white", fontSize: 20, fontWeight: "600"}}>Start</Text>
          </TouchableOpacity>
        </View>
      </View>
  )
};

export default App;

Environment:

OS: IOS
OS version: 17.2
react-native version: 0.73.4
react-native-webview version: 13.10.2
userAgent : Mozilla/5.0 (iPhone; CPU iPhone OS 17_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148

@somepablo
Yes. I found that instead of inserting html in the source property of WebView, it works by accessing the path in the local folder. I’m not sure about the exact reason, but it seems there is an issue in the process of loading the HTML.
❌ : <WebView source={{ html: ``}}/>
✅ : <WebView source={require('./path/to/your/local/file.html')}/>


Release notes for 0.13

For every change that goes into the 0.13 release. Please make a small description here, link to the PR (any issues) and mention whether it is a bug fix or not.

https://github.com/SoCo/SoCo/pull/437

Fixes an issue where restarting an application that had subscribed to events sometimes causes an error when the events are delivered to the new instance.
Fixes an issue where multiple threads trying to subscribe to events in parallel would sometimes cause SoCo to attempt to create multiple event listener servers and fail on socket.bind().

https://github.com/SoCo/SoCo/pull/438

Fixes an issue where SoCo would not recognize object.container.playlistContainer.sonos-favorite when receiving events.

#443

Fixes a bug in play_uri where it would not play a http og https prefixed radio stream due to a change in the Sonos API (issue #434). This change fixes it by replacing the two http type prefixes with Sonos' x-rincon-mp3radio:// prefix.

1ee005a8931e6c18d803ab4d589e6f45544ddb1c

Fixes an exception being raised on Windows with discover. The error was caused by socket.getsockname raising an exception on Windows with and unconnected unbound socket. Fixed by now simply logging the sockets.

#444 The IP address used by the events listener can be configured

#421 Add support for night mode on devices supporting the feature.
#422 Add support for dialog mode on devices supporting the feature.
Add NotSupportedException when mode is not supported by the device.

#455 Add queue-able data structures for the music service items (see #455 for details)

#470 Add a method for queueing multiple items with a single request.

#481 Added a FAQ section to the docs with play_uri and play local files answers

#484 A few queue related micro examples was added to the examples page in the docs

#471 Enhance add_to_queue() to with optional position argument

#487 Added by_name function to discovery to be able to get a device by player_name

#489 Snapshot: added documentation about using only once and fixed Python 3 potential issue

#493 Added FAQ, documentation and two examples to explain using SoCo's Snapshot  function.

#491 allow choice of how to play streams in play_uri (over-ride Sonos default with force_radio=True).

#506 Added ramp_to_volume() method to smoothly change the volume

#529  Change to use SoCo method to determine coordinator in Snapshot (this is consistent and should prevent odd errors #519)

#530 Prevent error when queue started from Alexa and using snapshot. Currently there is no was to restart a cloud queue from SoCo, this PR just prevents Snapshot causing an error. (#521)


Unable to Open Wand Inv

I am unable to open the wand inv on both the test server and my own server. Any advice?

Test server, like mine.elmakers.com ? You are pressing the Q button, right?
If you mean your own servers and you have custom wand configs, there are some properties you may need to add, see MIGRATION.md for details.

Specifically here, if it's a config issue:
https://github.com/elBukkit/MagicPlugin/blob/master/Magic/MIGRATION.md#65

Thanks! it works now


Broken link in workflow architecture doc

URL of the docs page
https://docs.dapr.io/developing-applications/building-blocks/workflow/workflow-architecture/#state-store-usage
How is it currently worded?
There is a link which wasn't rendered correctly (see below screenshot)
How should it be worded?
We just need to fix the link.
Screenshots

Additional context
Not sure exactly why this link didn't work correctly. Maybe because of some whitespace or use of quotes?

patch fix: https://github.com/dapr/docs/commit/d62bf561b354199b8781bc64ed0c4ffde0838143


Feature Request: Automatic Reconnection for Network Page

Rationale
The current network page occasionally experiences connection disruptions due to network issues. It would be beneficial to incorporate an automatic reconnection feature within the network page to mitigate these intermittent disconnections. This enhancement would relieve users from the need to constantly monitor their computers, thus significantly aiding in the seamless operation of the project.
Prerequisites
None.
User story
A typical use case for this feature would involve:

[ ] User opens the network page
[ ] User encounters a network disconnection
[ ] User benefits from the automatic reconnection feature

Acceptance criteria
For this feature to be considered implemented, the following criteria should be met:

[ ] The network page can automatically reconnect when a disconnection is detected
[ ] The automatic reconnection does not disrupt the user's workflow
[ ] The feature can be enabled or disabled through settings

Out of scope
The following functionalities are not within the scope of this issue:

Implementation of additional network diagnostic tools
Addressing underlying network connectivity issues unrelated to automatic reconnection

How to implement
One possible implementation approach could involve monitoring the network connection status in real-time. When a disconnection is detected, the page could trigger an automatic reconnection attempt. This could be achieved by implementing a timeout mechanism to periodically check the connection status and initiate reconnection if necessary.
How to test
To test the implemented feature:

Simulate a network disconnection while on the network page.

fixed in #1612


[FEATURE] UX: UI v2

Description
Currently, users have to scroll down in order to search for abbreviations, which IMO is not a good UX since the main focus of the app is for users to quickly find definitions for abbrevs.
My proposal is to move the search input to the top so that users can easily and quickly search for abbrev definitions.
Screenshots

As you can see, the search input + button is visible the moment the user opens the app without even scrolling down
Additional information
No response

@Njong392 @adropofilm Any views on this?

Definitely agree. I also think this should be moved up too, since it won't make sense to have it at the bottom when the search bar is moved up.

Yes, I think we should move the entire component upward as @adropofilm has suggested. Is anyone up for this issue?

@Njong392 Can you assign to me


quick suggestion (simplify variables more option)

I'm not sure if you guys already have this in unluau or not yet, but if not this is what the feature should do.

In the above image, the variable "amby" is var7.Ambassador, which can be simplified as "amby = script.Parent.Parent.Parent.Ambassador"
This could help simplify some of the resulting code and make it (maybe) a bit more readable. I'm not sure if this is really necessary or if anyone else needs it, but I think it would be helpful to have.

Thanks for the suggestion. This seems to be an alpha version (v1) which had some issues with registers (variables). We will keep your request in mind while we work on v2. Thanks for showing interest in the project!


Wiki for documentation

The README is a too long, and a wiki would be more easily navigable & complete

#186
#187


Handling all exceptions with a JSON response

Handling all exceptions with a JSON response, that way the controller doesn't have to use try catch on every method.

@flyingluscas one quick question: returning a 500 error when the user is not authenticated is the best way? To my knowledge 500 errors are server errors.

@vedovelli good point, I'm checking if is a HttpException to use the appropriate status code, but the AuthenticationException doesn't use the HttpException, let me see how I can fix this here ok

@vedovelli ok, I've made some alterations, tested and it seems ok now, but I dont like the size of method handleExceptionJsonResponse, what do you think?

@flyingluscas I'm OK with the method size. But I think it deserves comments to explain each block. Remember this application is also a source of knowledge. Thanks!

Thanks a lot!

No, thank you sir, from now on I'll comment more my code :D


Possible to include token ID in the response to create

Feature description 💡
The token API returns only token, which is fine if people uses the UI, but when we create token programatically, it's hard to index them without the unique ID, yet there doesn't seems another combination in the database that could uniquely identify a token except the ID, for example hard to write a Terraform resource to manage tokens.
https://github.com/AzBuilder/terrakube/blob/150824d031394c3f5ef1d552c7887ccca55525fe/api/src/main/java/org/terrakube/api/plugin/token/team/TeamTokenController.java#L36
Anything else?
No response

If you decode the token you will see the id in the "kid" property inside the json if I remember correctly.
https://github.com/AzBuilder/terrakube/blob/150824d031394c3f5ef1d552c7887ccca55525fe/api/src/main/java/org/terrakube/api/plugin/token/team/TeamTokenService.java#L59
https://github.com/AzBuilder/terrakube/blob/150824d031394c3f5ef1d552c7887ccca55525fe/api/src/main/java/org/terrakube/api/plugin/token/team/TeamTokenService.java#L71
Another option will be to just include the id in the response. If anyone would like to help with this, all pull request are welcome.

Thanks @alfespa17 for pointing out the direction. It turns out the JPA generates a new UUID when saving after the JWT is generated, I've raised a PR to fix this. Feel free to update if you need to.


Filter out "deleted" documents in search queries

Relates to #1030
Existing mock tests still need to be updated, but functionality is complete.
Review Checklist

Tests were added to cover all code changes
Documentation was added / updated
Code and tests follow standards in CONTRIBUTING.md

Codecov Report

Merging #1055 into master will decrease coverage by 0.01%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master    #1055      +/-   ##
==========================================
- Coverage    90.7%   90.68%   -0.02%
==========================================
  Files          50       50
  Lines        6925     6926       +1
==========================================
  Hits         6281     6281
- Misses        644      645       +1


[Bug] Benchmarking script failing to capture logs in EKS

I am using this script (https://github.com/opea-project/GenAIEval/tree/main/evals/benchmark) to capture data for chatqna. It works on baremetal but failing with the following error on EKS.
Exception: Tried to stop User in an unexpected state: stopping. This should never happen.

2024-11-27T00:39:12Z <Greenlet at 0x7fb4215eac20: <bound method User.stop of <aistress.AiStressUser object at 0x7fb428353610>>(force=False)> failed with Exception

[]

[]

[]

Exception when retrieving ConfigMap: (404)

Reason: Not Found

HTTP response headers: HTTPHeaderDict({'Audit-Id': 'bc671b52-6979-4a63-a49b-f62d27d59f6d', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Kubernetes-Pf-Flowschema-Uid': '4916798f-ba14-43f8-a168-6ef5d36d86e2', 'X-Kubernetes-Pf-Prioritylevel-Uid': '22c70de0-7569-474e-b81b-bf3e48a02906', 'Date': 'Wed, 27 Nov 2024 00:39:54 GMT', 'Content-Length': '208'})

HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"configmaps \"kubelet-config\" not found","reason":"NotFound","details":{"name":"kubelet-config","kind":"configmaps"},"code":404}

You don't have kubelet-config configmap in EKS cluster. The benchmark script needs to handle that case and not to fail as it is doing now.


Provide pre-compiled files in the NPM package, and stop running Babel, etc. in postinstall script.

I think this would be a much better user experience, but we have to be careful about things like source map support and babel runtime inclusion.

I think this could be put into a pre-publish step of some kind. To prevent putting compiled files in source control

I think either prepublishOnly or prepare. I'm kind of confused by the difference. https://docs.npmjs.com/misc/scripts

Oops, missed this one when we shipped it. It is done and working.


Could we make this repo a public repo so CodeQL can work properly?

Is there an existing issue for this?

[x] I have searched the existing issues

Description
@oribenartzyM I found that pr-check job in this repo's CI pipeline failed with a weird error message, after some debugging I found that our current CodeQL step could only work with a public repo, it would require extra setup to make it work with a private repo. Could you please turn this repo to public so our pipeline could work? Thanks!
New or Affected Resource(s)/Data Source(s)
No response
Potential Terraform Configuration
No response
References
No response

Hey, I turned this repo to public as your request.
Thanks for your help.


MqttApplicationMessage purpose

HI @chkr1011 im having a look at my perf branch again as im having some spare time.
what is the purpose of MqttApplicationMessage?
im seeing that with mqtt v5 it now conatins a list of userproperties that are useless allocations, even more the whole MqttApplicationMessage is a useless allocation from my point of view.
I rather would like to use the publish packet directly but before changing all the api´s i would like to get your feedback!

Hi,
the purpose is to hide internals of the MQTT packets from the user. So an ApplicationMessage has no PacketIdentifier nor a dup flag etc. When using the PUBLISH packet directly it would expose that values as well (what I don't like to do).
Maybe we can introduce an interface for application messages. Then there is this regular one when publishing but we can avoid creating it when it comes to receiving and implementing class will be the PUBLISH packet directly. But I am not sure if this is giving any big advantage in CPU or Memory usage.
When it comes to that new user properties you are right. Maybe a solution here is to set them to null by default but also adding support in the message builder so that it will create an instance first if required before setting values.

I will explore the interface approach and let you know if it yields benifits in perf.

OK I will then consider changing the defaults for some properties and extend the builder so that we get at least a benefit from this already.


Infer Android include paths from environment

clang-sys is unable to detect include paths of the Android SDK, causing host system headers to be used, and subsequent generation failures. This PR adds include path detection using the JAVA_HOME and ANDROID_SDK_ROOT environment variables.
Fix #344

@tommywalkie A review for correctness would be great if you have the time!

Ok with documentation related changes. It should make sense since ANDROID_HOME is deprecated in favor of ANDROID_SDK_ROOT.
This is just an assumption but this part may need a double check, the first argument may be incorrect if using armv7-linux-androideabi toolchain, cause of the androideabi but not sure at all.
builder = builder.clang_arg("-I").clang_arg(format!(
            "{root}/ndk-bundle/toolchains/llvm/prebuilt/{host}/sysroot/usr/include/{target_arch}-linux-android",
            root = &android_sdk_root,
            host = &host_tag,
            target_arch = &target_arch,
        ));

Thanks! Fixed the last path and switched to Path::join for separator handling. Should be fine now.

path should changed to
"{root}/toolchains/llvm/prebuilt/{host}/sysroot/usr/include/{target_arch}-linux-android"
and maybe rename ANDROID_SDK_ROOT to ANDROID_NDK_ROOT
since new Android SDK doesn't keep ndk in ndk-bundle folder anymore, now folder called ndk and it contains subfolders with different versions of ndk

My fresh installation of Android SDK put the ndk-bundle directory in what I specified as --sdk_root. This happened literally yesterday. I'm not sure how "new" the "new Android SDK" you're talking about is, but it is probably not more recent than that. ANDROID_SDK_ROOT is the recommended environment variable according to Android SDK docs. I don't see any mention of ANDROID_NDK_ROOT there. Maybe I missed something?

@toasteater this is what I see on my Mac. Android Studio installing ndk into ndk folder of Android Sdk not ndk-bundle. I don't have ndk-bundle at all on my Mac.

@atonamy I'm sorry, but I'm afraid I don't understand how the behavior of your computer is automatically "newer" (or "better", or "more correct", for that matter) than the behavior of my computer. Asserting that as if it's a fact is a bit disingenuous.

@toasteater What disingenuous are you talking about?
I suspect you using command line fresh install SDK, I'm using updated SDK from old legacy SDK through Android Studio same apply for NDK I have several versions installed and if you have more than one version sdk then structure of the code changed from ndk-bundle to ndk with subfolders. Not all developers using freshly installed Android Sdk many of us including me have to maintaining legacy code from previous versions.
So I believe  ANDROID_SDK_ROOT is not accurate in all scenarios as you can see. Need to introduce some more flexible approach which cover my case as well.
I believe in the future someone else may struggle with similar issue who has setup like mine.

Please do not act as if you don't know what I'm talking about. You were attempting to manipulate me by misrepresenting the situation (claiming that the behavior of your computer is "newer"). That's the definition of being disingenuous. It's also disingenuous to claim that you don't know you're being disingenuous, by the way. I'll let go of this, however, now that you're being more accurate.
Back to what you're proposing, I agree that it is a valid concern. However,  ANDROID_SDK_ROOT is an "official" environment variable that is more likely to be set correctly, while the same can't be said for ANDROID_NDK_ROOT. Additionally, even if ndk-bundle is missing, it could be easily resolved with a sdkmanager "ndk-bundle" or a symbolic link. As a result, I don't see a big point in complicating the codebase further for this issue. The amount of data points is too few for anything meaningful to be said about which approach is more likely to work "out-of-the-box" for new users, but I'd argue that an "official" environment variable is closer, since an uncommon variable is guaranteed manual intervention.

Please do not act as if you don't know what I'm talking about. You were attempting to manipulate me by misrepresenting the situation (claiming that the behavior of your computer is "newer"). That's the definition of being disingenuous. It's also disingenuous to claim that you don't know you're being disingenuous, by the way. I'll let go of this, however, now that you're being more accurate.
Back to what you're proposing, I agree that it is a valid concern. However,  ANDROID_SDK_ROOT is an "official" environment variable that is more likely to be set correctly, while the same can't be said for ANDROID_NDK_ROOT. Additionally, even if ndk-bundle is missing, it could be easily resolved with a sdkmanager "ndk-bundle" or a symbolic link. As a result, I don't see a big point in complicating the codebase further for this issue. The amount of data points is too few for anything meaningful to be said about which approach is more likely to work "out-of-the-box" for new users, but I'd argue that an "official" environment variable is closer, since an uncommon variable is guaranteed manual intervention.

I think I use wrong words to interpret the meaning "new" what I meant. Anyway I really apologise that it so touch you and you considered it  as manipulation. Please forgive me for that.
Would you mind if I add in documentation in Android build chapter this point regarding missing ndk-bundle so newcomers can spend time less without so much struggle like I?

Would you mind if I add in documentation in Android build chapter this point regarding missing ndk-bundle so newcomers can spend time less without so much struggle like I?

That's a welcome addition. Please remember to make your PR against the book branch instead of master.

@toasteater
please check it out this

Note: If you have an NDK installed in the ndk-bundle folder, it appears in the list with the label NDK. If you are using Android Gradle plugin 3.5.0 or later, you can select this checkbox or clear it. Clearing the checkbox uninstalls the NDK, freeing up disk space, and causes the checkbox to disappear from the list. If you uninstall the legacy NDK, remove the ndk.dir value, which is now deprecated, from your projects' local.properties files.
New Android studio no longer support ndk-bundle it replaced with ndk so in some sense it's
"new" maybe command line tools still using  ndk-bundle.
What is PR btw?

I see. Thanks for the link. In that case, a PR that auto-detects the correct version from the file system among ndk subdirectories and ndk-bundle would be welcome.

What is PR btw?

PR stands for Pull Request, GitHub's mechanism for submitting patches.


Failed start devnet

just up failed with errors below on my mac laptop.
Running sh script: `cat /data/genesis_validators_root.txt`
Command returned with exit code '0' and the following output: 0xd61ea484febacfae5298d52a2b581f3e305a51f3112a9241b968dccf019f7b11

Running sh script: `jq .config.cancunTime /data/network-configs/genesis.json | tr -d '
'`
Command returned with exit code '0' and the following output:
--------------------
jq: error: Could not open file /data/network-configs/genesis.json: No such file or directory

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

Running sh script: `jq .config.pragueTime /data/network-configs/genesis.json | tr -d '
'`
Command returned with exit code '0' and the following output:
--------------------
jq: error: Could not open file /data/network-configs/genesis.json: No such file or directory

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

Adding service with name 'el-1-geth-lighthouse' and image 'ethereum/client-go:latest'
There was an error executing Starlark code
An error occurred executing instruction (number 22) at github.com/chainbound/ethereum-package/src/el/geth/geth_launcher.star[151:31]:
  add_service(name="el-1-geth-lighthouse", config=ServiceConfig(image="ethereum/client-go:latest", ports={"engine-rpc": PortSpec(number=8551, transport_protocol="TCP", application_protocol=""), "metrics": PortSpec(number=9001, transport_protocol="TCP", application_protocol=""), "rpc": PortSpec(number=8545, transport_protocol="TCP", application_protocol="http"), "tcp-discovery": PortSpec(number=30303, transport_protocol="TCP", application_protocol=""), "udp-discovery": PortSpec(number=30303, transport_protocol="UDP", application_protocol=""), "ws": PortSpec(number=8546, transport_protocol="TCP", application_protocol="")}, files={"/jwt": "jwt_file", "/network-configs": "el_cl_genesis_data"}, entrypoint=["sh", "-c"], cmd=["geth init --state.scheme=path --datadir=/data/geth/execution-data /network-configs/network-configs/genesis.json && geth --state.scheme=path     --networkid=3151908 --verbosity=3 --datadir=/data/geth/execution-data --http --http.addr=<IP_ADDRESS> --http.vhosts=* --http.corsdomain=* --http.api=admin,engine,net,eth,web3,debug --ws --ws.addr=<IP_ADDRESS> --ws.port=8546 --ws.api=admin,engine,net,eth,web3,debug --ws.origins=* --allow-insecure-unlock --nat=extip:KURTOSIS_IP_ADDR_PLACEHOLDER --verbosity=3 --authrpc.port=8551 --authrpc.addr=<IP_ADDRESS> --authrpc.vhosts=* --authrpc.jwtsecret=/jwt/jwtsecret --syncmode=full --rpc.allow-unprotected-txs --metrics --metrics.addr=<IP_ADDRESS> --metrics.port=9001"], env_vars={}, private_ip_address_placeholder="KURTOSIS_IP_ADDR_PLACEHOLDER", max_cpu=1000, min_cpu=300, max_memory=1024, min_memory=512, labels={"ethereum-package.client": "geth", "ethereum-package.client-image": "ethereum-client-go-latest", "ethereum-package.client-type": "execution", "ethereum-package.connected-client": "lighthouse"}, tolerations=[], node_selectors={}))
  Caused by: Unexpected error occurred starting service 'el-1-geth-lighthouse'
  Caused by: An error occurred waiting for all TCP and UDP ports to be open for service 'el-1-geth-lighthouse' with private IP '<IP_ADDRESS>'; this is usually due to a misconfiguration in the service itself, so here are the logs:
  == SERVICE 'el-1-geth-lighthouse' LOGS ===================================
  Fatal: Failed to read genesis file: open /network-configs/network-configs/genesis.json: no such file or directory
  Fatal: Failed to read genesis file: open /network-configs/network-configs/genesis.json: no such file or directory

  == FINISHED SERVICE 'el-1-geth-lighthouse' LOGS ===================================
  Caused by: An error occurred while waiting for all TCP and UDP ports to be open
  Caused by: Unsuccessful ports check for IP '<IP_ADDRESS>' and port spec '{privatePortSpec:0xc00050e030}', even after '240' retries with '500' milliseconds in between retries. Timeout '2m0s' has been reached
  Caused by: An error occurred while calling network address '<IP_ADDRESS>:8546' with port protocol 'TCP' and using time out '200ms'
  Caused by: dial tcp <IP_ADDRESS>:8546: connect: no route to host

Error encountered running Starlark code.

Make sure the Kurtosis CLI version is 0.88.16. We've encountered issues with newer versions. Let us know if this fixes the issue :)

Cool, indeed works.
Now I got contract deployment issue, does the foundry version also need to be specified?
[⠒] Compiling...
[⠊] Compiling 46 files with Solc 0.8.25
[⠢] Solc 0.8.25 finished in 5.93s
Compiler run successful with warnings:
Warning (3420): Source file does not specify required compiler version! Consider adding "pragma solidity ^0.8.25;"
--> test/BoltChallenger.t.sol

Error:
contract source info format must be `<path>:<contractname>` or `<contractname>`
Contracts deployed!

Oh don't worry about those contracts, they aren't up to date anyway. You can safely ignore that warning.
I'll remove that line from the deployment script 👍


DriveItem Thumbnail URLs are not cache-safe

Category

[ ] Question
[x] Documentation issue
[x] Bug

API behaviour is in contradiction with documentation. It's either a bug or an undocumented intended behavior.
Expected or Desired Behavior
DriveItem Thumbnails' URL to be cache-safe, as described in https://github.com/OneDrive/onedrive-api-docs/blob/live/docs/rest-api/api/driveitem_list_thumbnails.md.
Observed Behavior
API call
GET https://graph.microsoft.com/v1.0/me/drive/items/<ITEMID>/thumbnails/0/large
Authorization: Bearer <ACCESSTOKEN>

returns JSON like
{
<EMAIL_ADDRESS><REDACTED>,
  "height": 560,
  "url": <SOMEURL>,
  "width": 800
}

SOMEURL is different each subsequent call, event a second apart. The DriveItem hasn't changed to have different thumbnail. The URLs point to the same picture. They're just generated every time differently, which renders them not cache-safe and result in unnecessary reloading the thumbnails in client application after each refresh.
API call
GET https://graph.microsoft.com/v1.0/me/drive/items/<ITEMID>/thumbnails/<THUMBID>/<THUMBSIZE>/content
Authorization: Bearer <ACCESSTOKEN>

returns redirect like
HTTP/1.1 302 Found
Location: <SOMEURL>
<irrelevant headers left out>

SOMEURL is again different each time, contrary to the documentation.
Steps to Reproduce

Generate an OAUTH2 access token for a user with OneDrive Personal.
List items in the /drive/root and pick any with a thumbnail
Call any of the aforementioned APIs
The URLs returned are each time different.

If it is an intended behavior, besides fixing the documentation I would welcome a suggestion how to effectively cache thumbnails if one couldn't rely on the URLs returned by the APIs.

We do have a mechanism that will try to generate a consistent URL for a period of time, but for some reason this API is not leveraging that. I think it's fair to say that's a bug.


Lecture03

Finished class work, now CustomLinkedList passes all the tests. Didn't manage to finish the second part of the task though (functions which are marked with "do not implement")

Coverage increased (+10.0%) to 58.046% when pulling a6384bc4dd301198d7bc0087ddff15c3da772c75 on theSonOfMan:lecture03 into 16dad782f5d596ae50d0b39665b32df40da60c19 on rybalkinsd:lecture03.


Warning in build

The following warning appears in the build output
[WARNING] The expression ${pom.version} is deprecated. Please use ${project.version} instead.

fixed in development


Enabling MFD

Can this be configured at the entity level?

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

ID: de4d4b3d-d009-0f07-606f-1a28615a5154
Version Independent ID: d6a79659-8d64-7aa6-3ac1-fac8322307ae
Content: Customize entity forms (model-driven apps) - Power Apps
Content Source: powerapps-docs/developer/model-driven-apps/customize-entity-forms.md
Service: powerapps
GitHub Login: @Nkrb
Microsoft Alias: nabuthuk

Not at this time, it is a pro-dev scenario that requires coding to invoke a main form in a dialog (MFD).  The ability to enable it via an entity configuration is on our roadmap.  I don't have an eta on a release date yet but we will announce via our normal channels with release notes, blogs and docs when it is available.

Thank you Mark.


consider clipboard.js (no more Flash)

http://clipboardjs.com/

+1 ;)

@zenorocha well, that was easy!

yay!


Thanks!

This was and has been a HUGE timesaver. Thank you so much!

And now closing; just had to have my gratitude recorded.

Glad you like it! Thanks for your comment. :smile:

I would also like to thank you, is there a way to donate? If not, please add one.

@ComputerFanboy Really informally, I guess, is this generic page I use to accept payments: https://matt.life/pay
I'm truly glad you find it helpful!


Multi Chart Implementation Breaks Grid and Axis

The multichart implementation https://github.com/tomauty/react-native-chart/commit/597394b99b37d6d8038d988deee0498b16916b3d breaks various things such as the x-axis and horizontal grid.

As a generic FYI — I am no longer able to maintain this library. I recommend checking out victory-native as it's much more maintained.


Where should I create the configuration file?

English translation:
First of all, thank you very much for creating a Windows version.
I am currently running my own asciinema-server. I'd like to store my recordings there, but even if I add settings to ~/.config/asciinema/config as per the existing instructions, it doesn't seem to work. Is there a way to solve this?
I also created ~/.config/powersession/config but it didn't apply either.
config
[api]
url = https://asciinema.xiyo.dev

hi,
have you tried
PowerSession.exe --server <hostname>

my version, installed by winget
$ powersession.exe -V
PowerSession 0.1.7

i tried --server option
PowerSession.exe --server https://asciinema.xiyo.dev test
error: Found argument '--server' which wasn't expected, or isn't valid in this context

        If you tried to supply `--server` as a value rather than a flag, use `-- --server`

USAGE:
    PowerSession.exe [OPTIONS] <SUBCOMMAND>

For more information try --help
PowerSession.exe test --server https://asciinema.xiyo.dev

right. try upgrading to 0.1.8 ?

right. try upgrading to 0.1.8 ?

I installed it using winget, so I want to update it using winget update. The current latest version of winget is 1.7, can you provide the package in version 1.9?

winget publish is broken somehow. And I don't have much time looking into it right now.

the publish is fixed https://github.com/Watfaq/PowerSession-rs/releases/tag/v0.1.11


Question : serve a file from php to javascript and then use loadBlob method

Hello !
I have a question that is a bit particular :
I would like to serve an audio file which is not in a public folder to wavesurfer.
For that purpose I uses ajax which calls a php function which "reads" the file and returns it to javascript.
Php code looks like this :
$finfo = new \finfo(FILEINFO_MIME_TYPE);
$type = $finfo->file($fileUrl);
$response = new Response();
$response->headers->set('Content-type', $type);
$response->headers->set('Content-Disposition', 'attachment; filename="' . basename($fileUrl) . '";');
$response->headers->set('Content-Transfer-Encoding', 'binary');
$response->headers->set('Content-length', filesize($fileUrl));
$response->sendHeaders();
$response->setContent(file_get_contents($fileUrl));
return $response;

Then javascript should create a Blob from the ajax response and wavesurfer should open it with the loadBlob method.
Js code looks like this :
$.get('action_url', data).done(function (response) {
		var f = [response];
		var blob = new Blob(f, {type: 'audio/x-wav'}); // audio/wav
		wavesurfer.loadBlob(f);
});

But unfortunately everything I try is a failure.
Does any one knows how I could do it ?
Thanks !

I found a way to do what I wanted :
In PHP file (here it's in a Symfony2 controller) :
$response = new Response();
$d = $response->headers->makeDisposition(
    ResponseHeaderBag::DISPOSITION_INLINE, basename($filePath)
);
$response->headers->set('Content-Disposition', $d);
$finfo = new \finfo(FILEINFO_MIME_TYPE);
$type = $finfo->file($filePath);
$response->headers->set('Content-type', $type);
$response->sendHeaders();
$response->setContent(base64_encode(file_get_contents($filePath)));
return $response;

In AJAX success / done method :
var byteCharacters = atob(response);
var byteNumbers = new Array(byteCharacters.length);
for (var i = 0; i < byteCharacters.length; i++) {
    byteNumbers[i] = byteCharacters.charCodeAt(i);
}
var byteArray = new Uint8Array(byteNumbers);
var blob = new Blob([byteArray]);
wavesurfer.loadBlob(blob);

Regards !

Good to know! :thumbsup:


Add GetResolver and DefaultGetResolver for Get operation

Closes #98
@nikitin-da PTAL

Great work!

I did this check just to be sure, that GetResolver won't create new query
object and don't use it for request
сб, 14 марта 2015, 15:39, Dmitrii Nikitin<EMAIL_ADDRESS>Merged #109 https://github.com/pushtorefresh/storio/pull/109.

—
Reply to this email directly or view it on GitHub
https://github.com/pushtorefresh/storio/pull/109#event-253612128.


Prepare 2.2.2 release

Prepare 2.2.2 release
Bump up version to 2.2.2

Codecov Report

Merging #48 (52727ee) into master (42afad9) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master       #48   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           41        41
  Lines          420       420
=========================================
  Hits           420       420

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 42afad9...52727ee. Read the comment docs.


CI, docs and build script

Good to see that the project is still kind of alive :+1: .
If you want to move the project forward I would suggest to add a build system (I recommend FAKE) and and CI (travis and appveyor). FAKE can automatically build the nuget packages and we could try to support multiple builds people have developed here on github (I saw WinRT and WindowsPhone specific commits).
Because there is a lot of documentation in the code I would also recommend using FSharp.Formatting to generate a documentation page.
PS: I used all this with success on RazorEngine which now has a nice documentation page automatically generated from the markup files and the code documentation in the repository.
The basic structure is already there and FAKE is very flexible so there are not too many changes needed... I think most things can just be copied from the RazorEngine repository.
In the future unit tests can be added they will be run on windows and linux on any new pull requests!
What do you think?
I would work on this myself but I have some other things to do, but if someone wants to start this and needs and hints feel free to ask!

All useful suggestions, I agree. Alas, I don't have the time to do this updating work either right now. I've integrated outstanding fixes and made a few myself tonight (as well as cleaned up some miscellaneous things), but I can't see myself getting more opportunity to work on this any time soon!
That said, if someone wishes to take this on, and wants advice from me, feel free to ask questions here and I'll try to respond promptly! Alternatively, ping me on IRC (Freenode, nick 'Noldorin') and we can talk.

Ok nice to know, so you would accept (a possibly larger -> moving files around) pull request in this area? I can maybe work on this as a side project in the next couple of days.

Certainly! I would urge you or anyone else making such big changes to document them well in commit messages, and generally make lots of small commits for each change, where possible… but otherwise, I am happy to accept such a ‘modernisation’ of the project. I would be grateful if you had a go at this in fact. Feel free to check anything with me.

On 17 Jan 2015, at 12:47, matthid<EMAIL_ADDRESS>wrote:
Ok nice to know, so you would accept (a possibly larger -> moving files around) pull request in this area? I can maybe work on this as a side project in the next couple of days.
—
Reply to this email directly or view it on GitHub https://github.com/alexreg/ircdotnet/issues/3#issuecomment-70365807.


Course redesign

It seems that the commit history is still a bit messed up, but its better than the mess in #2.
I guess the second last commit should not be there, but i was unsure how to solve the situation.
Edit: Knorrke has apparently already opened an PR with the same content [#133] but here the commits are listened more cleaner.

This seems to be identical with #133 . I'll reopen if I'm mistaken.


Pretrained Weights Link does not work

I'm sorry about that. Please use this Zenodo link instead: https://zenodo.org/record/8342614. There is also some usage instruction there that you may find helpful. Let me know if you have any trouble with loading/using the weights.

Thanks!


Refactoring

[x] Destructuring Component on import #95
[x] Calling saveConversation() with every new message #93
[x] Code repetition in button #90
[x] Move nodemon to devDependencies #89
[x] Styling in Input.js #87
[x] Passing style down in Div component #86
[x] Database for development #84
[ ] Mixture of CSS units #82
[x] Function within the render of message #80
[x] Buttons naming and styling #79
[x] Asset storage #77
[x] create-react-app README #71
[x] using saveChatLog? #68
[x] Empty files #67
[x] Add PropTypes checks in React components
[x] Refactor userMessage.js - maybe move some functions to their own files
[x]  Unnecessary isWaiting property #135
[x]  Refactoring nested maps #138

Issue #82 remains open to be worked on when sizing has been agreed


Inventory Panel Crafting Grid Result Slot bugged

Right-clicking the Inventory Panel Crafting Grid Result Slot yields 4 items less than the recipe in the crafting grid should give. (e.g. 1 block gives 5 ingots)
build 417/dev env

Duplicate of https://github.com/SleepyTrousers/EnderIO/issues/2871


Which statement is true about while loops?

Which statement is true about while loops?
A. while loops evaluate a condition for however long it’s true and the looping stops when the condition is false.
B. while loops will run at least once, then will run again if their condition is true.
C. while loops always loop over a code block a known amount of times.
D. while loops only run while the condition is false.

I chose A. while loops evaluate a condition for however long it’s true and the looping stops when the condition is false.


Incompatible with mohist-1.18.2

Crash when starting server, test with the following environment:
mohist-1.18.2-90-server.jar
cloth-config-6.2.62-forge.jar
spoornarmorattributes-1.0.4-1.18-forge.jar
However, spoornweaponattributes-3.4.7-1.18-forge.jar works well.
log: https://pastebin.com/VpYpccw8

Could you try spoornarmorattributes-1.0.5-1.18-forge

Could you try spoornarmorattributes-1.0.5-1.18-forge

Crash
https://pastebin.com/sG2z8CPp
https://pastebin.com/hC1itxmr

Looks like the mixin injection failed.  Not sure if mohist is changing the forge server source code or what, but it injects fine with the regular Forge server.  I don't quite have the bandwidth to dig into this at the moment and only have the time to make sure the official Forge is supported.  Sorry.  I do see mohist says 1.18.2 is in Testing stage, so maybe that's why?  If I have time later or more people have issues with this I can look into this further at a later time


Clean up

A lot of Bugfixes.
Improve tests and add feature tests
add phpstan
add "composer check,  analyze and test" command

BC

add Interface method declaration to improve implements classes.
remove method "isZeroAmount" from converter and exception class "ConverterException"

Coverage remained the same at 100.0% when pulling e047ae21400ffe90f8329c568f31931cc43a56bf on clean_up into ba75d688348bc318d7ad636ea30cc517d9f11366 on master.


Can not create linux machine

Describe the bug

To Reproduce
orb create ubuntu
Expected behavior
A machine can be created
Diagnostic report (REQUIRED)
OrbStack info:
Version: 1.7.1
Commit: 1946fb789831b1900078c1a0d2684efa7964f27c (v1.7.1)
System info:
macOS: 14.6.1 (23G93)
CPU: arm64, 10 cores
CPU model: Apple M2 Pro
Model: Mac14,9
Memory: 32 GiB
Full report: https://orbstack.dev/_admin/diag/orbstack-diagreport_2024-09-02T11-18-10.086375Z.zip

Screenshots and additional context (optional)

Fixed in hotfix v1.7.1 (17385).


docs: agents & callbacks fixes

Various improvements to the Agents & Callbacks sections of the documentation including formatting, spelling, and grammar fixes to improve readability.

really appreciate the attention to detail!!

thank you @seamusp @leo-gan!


Use the correct managed cluster name in the apply-spoke-cr-hosted target

/cc @qiujian16

/approve
/lgtm


Use the system font for body type

Design Feature Request
Summary
Change the font-family of all non-headline elements from "Fira Sans", Helvetica, Arial, sans-serif to the system font stack of -apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol.
The headlines, which use the branded display face "Alfa Slab One", serif, should be left alone.
Motivation
Performance.
Drawbacks
I'm not convinced that losing the custom typeface for tiny text would have much difference, but you would lose quite a bit of branding effect on big sub-headings like the "The programming language that..." tagline, which is currently set in a Humanist face but would end up with something more Helvetica-esque.
Rationale and alternatives

Using "the system font", while it does mean giving up some amount of branding, should still leave you with a good, readable font.
We could also just use font-family: sans-serif, but that tends to be an "Ariel compatible" font even when it's not necessary.
The biggest improvement of using a stock font of some sort, instead of a web font, is that it removes janky re-layout-ing on things like the button as the page loads (try reloading the page after clearing your cache and watch the button).
By not doing this, you require the browser to download two fonts, one of which is multiplied by having to be done in several different styles.

Maintenance
Using the GitHub system font stack shouldn't require any more maintenance than the woff you currently use.
Unresolved Questions
Segoe UI is significantly thinner than Helvetica at large sizes. Should something be done about that?

For comparison's sake, here's Fira Sans:

And here's Segoe UI:

Thanks for this writeup! It's extremely clear and well-articulated. A couple notes from my POV (which should not be taken as dismissing this at all; I think it's very much worth considering):

The janky layout issues should largely be resolved by other things: getting some proper caching in place, and possibly doing some work to get "critical CSS" in place so that layout all does the right thing in all browsers. (The issue you're seeing is, unfortunately, much worse in Firefox than the others.)

Courtesy of the work done by @msmorgan on #448, we should be getting a pretty small payload size for these (~90kb on the landing page).

The previous site used Fira Sans, and it's the font that is used throughout the Rust Documentation and blog. Given the excellent work by @msmorgan on #448, I would suggest we don't change the current fonts.

Yeah, I've been mulling on this over the last day. The combination of smart font-loading strategies and the careful optimization work we've done here (both before launch and now esp. with #448) means the cost is quite low, and Fira is pretty core to Rust's branding (across many sites, as @ashleygwilliams notes).
I'm going to close this accordingly, but I want to reiterate that I appreciate it as a careful and thoughtful proposal, thoughtfully presented!


Error: Internal Server Error: <class 'AttributeError'>: 'CreateFineTuneResponse' object has no attribute 'artifact_id'

Hi Team,
Can you provide a quick solution to the internal server error?
I was trying to fine tune and get this error using my code as well as the code provided in the llm engine documents.
Code:
create_fine_tune_response = FineTune.create(
model="llama-2-7b",
training_file="https://scale-demo-datasets.s3.us-west-2.amazonaws.com/sports/sports_training_dataset.csv",
validation_file=None,
hyperparameters={"epochs": "1", "lr": "0.0002"},
suffix="my-first-fine-tune"
)
fine_tune_id = create_fine_tune_response.fine_tune_id
Error:
UnknownError                              Traceback (most recent call last)
 in <cell line: 1>()
----> 1 create_fine_tune_response = FineTune.create(
2     model="llama-2-7b",
3     training_file="https://scale-demo-datasets.s3.us-west-2.amazonaws.com/sports/sports_training_dataset.csv",
4     validation_file=None,
5     hyperparameters={"epochs": "1", "lr": "0.0002"},
1 frames
/usr/local/lib/python3.10/dist-packages/llmengine/api_engine.py in post_sync(cls, resource_name, data, timeout)
105         )
106         if response.status_code != 200:
--> 107             raise parse_error(response.status_code, response.content)
108         payload = response.json()
109         return payload
UnknownError: Internal Server Error: <class 'AttributeError'>: 'CreateFineTuneResponse' object has no attribute 'artifact_id'

Hi @ashutoshrana171 , thanks for flagging. We'll be looking into this.

Hi @yixu34 , do you have any workaround in the meantime or a timeline when this issue can be fixed?

@ashutoshrana171 One temporary workaround is to use curl requests, i.e.
curl --location 'https://model-engine.ml-serving-internal.scale.com/v1/llm/fine-tunes' \ --header 'Content-Type: application/json' \ --header 'Authorization: Basic yourapikey' \ --data '{     "model": "llama-2-7b",     "training_file": "https://scale-demo-datasets.s3.us-west-2.amazonaws.com/sports/sports_training_dataset.csv",     "hyperparameters": {"epochs": "1", "lr": "0.0002"},     "suffix": "my-first-fine-tune" }'
for the basic auth, you can take your spellbook api key as the username and no password and then convert it using a generator like the one here.

This should be fixed now in llm-engine as well, so the workaround should no longer be necessary. Thanks for reaching out and pointing out this issue! Let me know if you are able to successfully start a fine-tuning job and then I'll close out this issue.


💡 [FEATURE] - Addition of new domains: DATA SCIENCE and APP DEVELOPMENT, and new resources under DBMS README.md

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request

I would like to add learning resources for two new domains: DATA SCIENCE and APP DEVELOPMENT.
Moreover I would like to add new resources under DBMS including Oracle Database, Redis, Microsoft SQL Server and Amazon RDS (Relational Database Service).

Explain your solution
@jfmartinz please assign the issue to me as this addition would make this resource platform more versatile.
Any alternative approaches/features
No response
Additional Context
No response

For the Data Science and App Development, you should create a folder and inside the folder it should have README.md file which will include all the resources and links. You can check other domains like web development, ui ux design and more to  get an idea what the README.md file should looks like.
Anohter reminder, please make sure that the resources youre going to add is not duplicate, thanks

For the Data Science and App Development, you should create a folder and inside the folder it should have README.md file which will include all the resources and links. You can check other domains like web development, ui ux design and more to get an idea what the README.md file should looks like.
Anohter reminder, please make sure that the resources youre going to add is not duplicate, thanks

Sure, thank you.


[help] Should I worry that contains() may disappear from the CSS selector syntax?

I am using a css pseudo-selector and I worry it will disappear at some point.
# given a Nokogiri::HTML document or fragment @doc
@doc.css("*:contains('youtube:')").each do |tube|
  ...

...works perfectly. But when I search MDN and CSS-Tricks, I see that this selector is an accident of time. It used to work in browsers, and was removed. Is there a chance that it will also disappear from Nokogiri's CSS selectors?
Is the fact that under the hood, the CSS interface in Nokogiri is translating your selector into XPATH responsible for this currently working?
I tried to convert this to pure XPath, but I was not able to get any matches, while the CSS version works perfectly. I am willing to concede that my XPath knowledge is really really old and likely broken from non-use.
Thanks for any advice or alternatives!

I did a little more digging, and found that I could use the Nokogiri::CSS.xpath_for method to return the computed XPath for the CSS selector, and that it was different than what I had tried (it used . where I was using text()). So I do see how to get a working XPath selector. But would it be advisable to change everything to use that, or do you think that the CSS interface would remain stable over time?

Hey @walterdavis,
You should assume that all of the CSS extensions we currently support will continue to be supported. Looking at this particular pseudoselector, though, I'm not sure we have good test coverage for it, so I'd like to take this opportunity to double-check add coverage if necessary.

Test coverage added in #2493
Let me know if you have any other questions, @walterdavis!

Thanks, Mike. This is the best answer I can imagine!
Walter

On Apr 2, 2022, at 3:39 PM, Mike Dalessio @.***> wrote:
Hey @walterdavis,
You should assume that all of the CSS extensions we currently support will continue to be supported. Looking at this particular pseudoselector, though, I'm not sure we have good test coverage for it, so I'd like to take this opportunity to double-check add coverage if necessary.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.


fix: tabs issue after PR 152

See : https://github.com/codegouvfr/react-dsfr/issues/172

Thank you 🙏🏻 👍🏻


chore: Add changelog generator

Which issue does this PR close?

Part of https://github.com/apache/datafusion-comet/issues/394
Rationale for this change

We need to be able to generate change logs as part of the release process.
What changes are included in this PR?

New Python script, based on the one that is used in DataFusion
Updated README
Example changelog for 0.1.0 (I can remove this before we merge the PR) - rendered version

How are these changes tested?

Thanks for the review @comphead. I have removed the example changelog and will merge once CI is green.


No module named 'opacus.dp_model_inspector'

Hi, I have installed opacus but I still got this error when run the code:
(fl_torch) zrh@zrh-server:~/zhuyonghui/Project/FL/PFL-Non-IID-master/system$ python main.py -data mnist -m cnn -algo FedAvg -gr 2500 -did 0 -go cnn
Traceback (most recent call last):
File "main.py", line 12, in
from flcore.servers.serveravg import FedAvg
File "/home/zrh/zhuyonghui/Project/FL/PFL-Non-IID-master/system/flcore/servers/serveravg.py", line 1, in
from flcore.clients.clientavg import clientAVG
File "/home/zrh/zhuyonghui/Project/FL/PFL-Non-IID-master/system/flcore/clients/clientavg.py", line 6, in
from utils.privacy import *
File "/home/zrh/zhuyonghui/Project/FL/PFL-Non-IID-master/system/utils/privacy.py", line 2, in
from opacus.dp_model_inspector import DPModelInspector
ModuleNotFoundError: No module named 'opacus.dp_model_inspector'
Can you help me solve this problem? Thank you.

dp_model_inspector() is not supported by the opacus v1.x. Here, the version of opacus is v0.15.0. Please check env_linux.yaml for details.

dp_model_inspector() is not supported by the opacus v1.x. Here, the version of opacus is v0.15.0. Please check env_linux.yaml for details.

It works now! Thank you very much!

老哥你是怎么解决的？


Flutter Client

Could not help but notice that the way this is designed it would be very easy to implement a Flutter plugin for this.
You can bridge between Flutter and gomobile using either GRPC or JSONRPC.
GRPC
https://github.com/empirefox/flutter_dial_go
JSONRPC
https://github.com/adieu/flutter_go
Let me know if you are interested. I think the idea of IRMA is pretty cool.

Indeed, it would be easy to use irmago with Flutter. I'd say our connection with React Native was pretty easy as well.


Improve checkboxes in the default editor theme

This replaces the graphics used for checkboxes and radio buttons with new ones featuring a flatter design. This may help make the editor feel less "busy" visually (see this article from Refactoring UI).
Preview:

CC @djrm @toger5

I like it, it looks nicer :)


Possibility to create slices without name

Issue Type
Bug
Source
docker
Giskard Library Version
1.7.0.
Giskard Server Version
1.4.0
OS Platform and Distribution
No response
Python version
No response
Installed python packages
No response
Current Behaviour?
It is possible to create a slice without specifying its name. The name should be mandatory.

Standalone code OR list down the steps to reproduce the issue
- Open a project and go to the model tab
- Inspect the model
- Click on slice to apply and then select create new slice
- Save while letting the slice name field blank

Relevant log output
No response

Good catch, will fix asap!


Multiple materialize dropdowns not working on master and builder branches.

document.querySelector instead of document.querySelectorAll is used in the master and builder branches, this causes that only one dropdown can be initialized with dropdown content. This is in the main.js file.
Walked into this bug by following the Kentico MVC Identity tutorial from the master branch.

Thanks @ArjanvHugten for pointing this out!


networkx graphiz api change causes error in plot_matches --graph

Running plot_matches --graph fails with
  File "./OpenSfM/bin/plot_matches", line 64, in <module>
    nx.draw_graphviz(

This is probably due to API change with networkx.  If we replace that line with
nx.drawing.nx_agraph.graphviz_layout(graph) it works but I can't figure out how to get the edge_color argument correctly.

Hi @vik748 , thank you for reporting this bug, we're going to address it, feel free to make a PR if you already have a fix.

Current implementation https://github.com/mapillary/OpenSfM/commit/ca219bd863dd11656401ba83f7ed68236f64b761 doesn't use networkx anymore.


Adding the support for including symlink files when indexing

Thanks @Peilin-Yang - how is this tested?
@isoboroff do you want to give this a shot and let us know if it works?

@isoboroff
Could you please try
git fetch
git branch --track issue-481 origin/issue-481
git checkout issue-481
mvn clean package appassembler:assemble

and let us know?

@lintool actually there are somethings:

I haven't added the comments that you had suggested
I did not consider/test much about what if the symlink points to some files/dirs inside the root path


What relationship does this repo have to https://github.com/aneesha/RAKE/?

The same code, packaged as a Python Package and installable through pip.

Ah, I see. I actually just finished doing the same thing, but I submitted it as a PR to the linked repo. Have you talked with the repository owner? This is a neat project, would be a waste to fracture the development of it. I'm happy to contribute there, or here, or somewhere else, so long as that is the agreed centralized repo.
I asked about maintenance of that other repo here
and this is my pull request.

I haven't talked to anyone. If you manage to go ahead with your PR, please tell me so I can delete this repository and remove my package from pypi.

Cool, will do :+1: Just wanted to make sure I hadn't missed an ownership transfer or something, and contributed to the old repo.

Though I am a bit worried that the package is no longer maintained, as it doesn't look like other issues or pull requests have been addressed recently. If that is the case, would be be against your repository becoming the primary?

I wouldn't be against this becoming the primary, but I think you'd serve as a better maintainer than me. I'm not currently doing NLP work and based on your github history you seem to be actively involved in it.

Yeah, I'm totally happy to take over maintenance. I'll give @aneesha some time to respond to the issue or pull request though.

Any news on this?

I have yet to hear back from the original owner. I was going to try and
shoot her an email post-new years, but if she doesn't respond to that I
think maintaining a fork or copy is the way to go.
On Sat, Dec 26, 2015 at 9:30 AM, tomaspinho<EMAIL_ADDRESS>wrote:

Any news on this?
—
Reply to this email directly or view it on GitHub
https://github.com/tomaspinho/python-rake/issues/1#issuecomment-167327762
.

Which one is now the main repository to work on?

As the Portuguese say, this has 'stayed in cod water', which means it stalled as stale as cod dipping water (for desalination). Eheh
We're still hoping to hear from @aneesha.

Yeah, I still have yet to hear anything, I think we should go ahead and make this the official repo for development, and just cite her in the README.
@tomaspinho: I'm still up for the ownership transfer.

@fabianvf Just requested it :)

@fabianvf could I have your pypi username to add you as the package owner? Thank you.

My username on pypi is also fabianvf
On Mon, Mar 7, 2016 at 7:24 AM, tomaspinho<EMAIL_ADDRESS>wrote:

@fabianvf https://github.com/fabianvf could I have your pypi username
to add you as the package owner? Thank you.
—
Reply to this email directly or view it on GitHub
https://github.com/fabianvf/python-rake/issues/1#issuecomment-193230797.

done :)


automate bracket administration

creating a bracket could do things like creating the appropriate channel & role
generating pairings could post in the channels and maybe create threads for coordination and stuff
possibly we could even automate the like "take the top 8 ppl and put them in the next bracket" step

i dont think we should automate the putting-people-in-brackets step (although bulk add would be nice!)
but having something to automatically set up roles and channels would be nice - i keep forgetting steps like "add Tower of Hera role to the #league-chat channel"


signal 11 (SIGSEGV), code 1 (SEGV_MAPERR) crash spike after updating to 4.3.0

After updating to 4.3.0 I saw a significant spike in crashes in the native library. I use BlurTransformation in my code and looks like the new version uses RenderScript to accomplish that which I suspect is causing an issue. Here is crashlog that I get.
backtrace:
  #00  pc<PHONE_NUMBER>018bf8  /system/vendor/lib64/libRSDriver_adreno.so (rsdScriptSetGlobalVar(android::renderscript::Context const*, android::renderscript::Script const*, unsigned int, void*, unsigned long)+28)
  #00  pc<PHONE_NUMBER>03c6dc  /system/lib64/libRS_internal.so (android::renderscript::rsi_ScriptSetVarF(android::renderscript::Context*, void*, unsigned int, float)+68)
  #00  pc<PHONE_NUMBER>042f50  /system/lib64/libRS_internal.so (android::renderscript::ThreadIO::playCoreCommands(android::renderscript::Context*, int)+680)
  #00  pc<PHONE_NUMBER>0272fc  /system/lib64/libRS_internal.so (android::renderscript::Context::threadProc(void*)+2152)
  #00  pc<PHONE_NUMBER>099508  /system/lib64/libc.so (__pthread_start(void*)+36)
  #00  pc<PHONE_NUMBER>023e18  /system/lib64/libc.so (__start_thread+68)

Hi,
I also noticed a significant spike of crash after upgrading this library to 4.3.0. I also use the BlurTransformation im my app. In fact I guess we are concerned by this part of the CHANGELOG - Remove support v8 renderscript (Please use BlurTransformation)
What does Please use BlurTransformation exactly means ?

回退到4.2.0版本就可以了  4.3.0使用了RenderScript类进行高斯模糊 会出现上面的崩溃；4.2.0版本使用的是java层的算法实现的高斯模糊 没有问题

Can confirm I'm on 4.3.0 and seeing the same issue, thank you @fengluoye2012 I will try downgrading to 4.2.0 and see what happens

Downgrading to 4.2.0 will use fastbblur for blur bitmap,  it is poor performance. Is there a better method to solve this issue?

same issue SIGSEGV(SEGV_MAPERR) in some devices at 4.3.0 ,  Downgrading to 4.2.0 helped


add nompi; set build string

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@jan-janssen this package is ready for review.


[dataspreadsheet]: condition check is returning out boolean instead of render object

Package
Carbon for IBM Products
Description
Condition is doing this from what I am seeing, it is changing the value to false instead of keeping the object
https://github.com/carbon-design-system/ibm-products/assets/10100397/50f6c7e5-099f-47f1-9a23-59b3e6914046
The issue it is causing, the editing values are returning undefined due to the above condition.
Note: The (Null) is custom code on our end, ignore that
https://github.com/carbon-design-system/ibm-products/assets/10100397/8571ba18-9c11-41d3-9451-51aab0fe4123
Component(s) impacted
Dataspreadsheets
Browser
Chrome
@carbon/ibm-products (previously @carbon/ibm-cloud-cognitive) version
2.40
Severity
Severity 1 = The design is broken in a critical way that blocks users from completing tasks or damages the brand. Affects major functionality, no workaround.
Product/offering
IBM
CodeSandbox or Stackblitz example
N/A
Steps to reproduce the issue (if applicable)
I tried to reproduce in storybook but I think because this is coming through as a package import on our local code env, it can't really be that reproducible.
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[X] I checked the current issues for duplicate issues

Hmm can't reopen, but for some reason I am still seeing this issue. Using this version 2.44.0-rc.1
I don't know why, seeing if I can debug

The condition is fixed but I don't see it ever enter in here. But the only PR from 2.40 was that condition check I added unless some other changes happened that affected DataSpreadsheet somehow. I don't understand though why 2.38 is stable for us but 2.40 and higher has issues.

Actually, a lot changed in 2.39.0 fro DataSpreadsheet that wasn't listed. The change from js to tsx was a big change for data spreadsheet. @matthewgallo

Something in this conversion in 2.39.0 broke how it works for us, I am not sure how to really debug since a lot changed there.

Moved issue to this new one https://github.com/carbon-design-system/ibm-products/issues/5617 I will make this priority today to investigate


Suggestion/Feature request - microG should really be just a single flashable zip file for it to flawlessly work and become a wise succes

Just like OpenGApps is a single flashable zip file that makes everything Google Services work, it would be both ideal and familiar to people on the custom ROM side.
We all know that the installation is pretty complicated right now, even for basic things to work (gms core + push notifications + location), so even without Google apps. I understand its no small project and I am extremely glad that such a project exists! But without easy to install processes, it would not gain much traction.
What are the future plans to make the process easier? :)

If it becomes "easy" the odds of Google pushing back will exponentially increase.  This project will likely promptly end with the penning of a cease and desist letter by Google.  Right now the number of users is so low, Google probably doesn't care.  If everyone starts using it, we may end up with no one using it.

Not sure ours would be a sizable audience. The only people who will even care to about such a project is the FOSS enthusiasts. And unfortunately, we know that its not a substantial fraction of the world audience. So I doubt that easing the process a bit would bring Google to act on it.

Is there anything illegal in microG?

"Is there anything illegal in microG?": I am not a lawyer and it is my understanding that laws vary a lot around the world.
That said, it seems to me the only questionable area might be re-implementing the Google APIs (which is needed to replace Google's code). As I understand it there is/has been a lawsuit against Google by Oracle on this point. Seems like Google would have a hard time claiming both sides of that argument in different cases and would much rather win the case against Oracle than pursue the point against microG.

"illegal" is different than violating the ToS.  I believe using this type of access of Google services violates the ToS.  That said, if this is a ToS violation, there is also a case to be made that this type of access could fall under 18 U.S. Code § 1030, as unauthorized access of a computer system, which is a crime.  I know of no case of this type (ToS violation as a crime) but that doesn't mean it isn't technically possible.
The law is grey as to if this is technically criminal.  You should not construe these thoughts as a legal opinion.

Duplicate of #196

@blastagator,
no such "unauthorized access" would hold water unless you are doing something with the service that you are not allowed to do with google tools. plus no big company would push such a thing if they could because of the terrible PR nightmare; what happened with OGwhatsapp, OGyourtube etc?

the issue with microG is not having copied code

well there is no issue currently. but if it were, it could well be copying code. the API created by google is being reimplemented and thus the "copying".
of course google would loose this one by their own precedent, but nothing stops google from starting legal actions that they would loose. on the other hand, criminal charges cannot be brought on by google, so this kind of thing cannot happen in criminal law.

This project will likely promptly end with the penning of a cease and desist letter by Google.

the cease and desist letter can be sent without merit, and say any invalid thing that they want. but IMHO the only thing microG would need to actually do to comply with the law is removing the google account support, which is only a lesser important part of the project. the reimplementation of services API required to run 3rd party code is really the center of microG.


No error message is displayed to users when there is an issue with signing up via GitHub.

Describe the bug
Signup with Github opens a new window and then it got dismissed. User stays in the Sign Up screen. No error message shown to users.
Signin with Github doesn't work but there's error message displayed.
Firebase: An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address. (auth/account-exists-with-different-credential).
Steps/Code to Reproduce
Navigate to the Sign-Up screen.
Click on the "Sign up with GitHub" button (which opens a new window).
Observe that the new window is dismissed.
Notice that the user stays on the Sign-Up screen without any error message.
Expected Results
An error message should be shown to end users
Actual Results
No error message shown to users.
Screenshots
No response
Files used
No response
Additional notes
No response

We already use the same logic in sign in screen. It's caused by something else.

Signup with Github conflicts with Signup with Email/Password.


refactor: DNA production/consumption in cytoplasm

Main improvements in this PR:
implement suggestions of issue #350
I hereby confirm that I have:

[x] Tested my code on my own computer for running the model
[x] Selected develop as a target branch

As a side-note, for this PR it would be good to use the Squash and merge option from the Merge pull request dropdown.

@PkiwiBird could you please list what had happened in this PR so that reviewer would know what specifically to check

@PkiwiBird could you please briefly list what had happened in the PR description so that reviewer would know what specifically to check

It is to implement the suggestions in issue #350 :

move reactions MAR07160 and MAR07163 from cytoplasm to nucleus
add metabolites dAMP[n] and dGMP[n] to the nucleus together with corresponding transport reactions from the cytoplasm to the nucleus (both ways) for MAR07163 to not be blocked when moved to the nucleus.


update sitl_gazebo to include realistic iris drag coeff

update the sitl_gazebo submodule to get more realistic rotor drag for iris: https://github.com/PX4/sitl_gazebo/pull/451

For some reason the SITL tests are failing. Could this be due to the different vehicle dynamics?

For some reason the SITL tests are failing. Could this be due to the different vehicle dynamics?

It is possible. The tests that are failing are the offboard attitude control ones.

I don't see anything wrong when I run SITL locally

I don't see anything wrong when I run SITL locally

Probably is better that you try the offboard att control test locally and see what's happening.

I ran that test locally on my machine and it seems the drone is crashing. But so far I was not able to figure out why. This is  the flightlog from the test: https://logs.px4.io/plot_app?log=952a2c2d-a64a-41d1-92f8-fae226f4a0ce

@baumanta Looks like the rate controller is overtuned now: https://logs.px4.io/plot_app?log=952a2c2d-a64a-41d1-92f8-fae226f4a0ce#Nav-Roll-Angular-Rate

Maybe it's flying faster in attitude mode than it was before, so now it flies into terrain?


Unique Icon

SNW has the same side pane icon as the default local graph view, adding some guesswork when trying to quickly jump to one or the other:

Could we perhaps swap it out for a unique icon for SNW?

Oh yeah, this is not good. I don't use graph currently. Thanks for pointing this out.
Fixing here in a few minutes.


Emmet Extension Unresponsive.

Issue Type: Bug
Extension Name: emmet
Extension Version: 1.0.0
OS Version: Windows_NT x64 10.0.19042
VS Code version: 1.61.2

{
	"messages": [],
	"activationTimes": {
		"codeLoadingTime": 15,
		"activateCallTime": 3178,
		"activateResolvedTime": 993,
		"activationReason": {
			"startup": false,
			"extensionId": {
				"value": "vscode.emmet",
				"_lower": "vscode.emmet"
			},
			"activationEvent": "onStartupFinished"
		}
	},
	"runtimeErrors": [],
	"runningLocation": 1
}

Does this problem still occur for you on Insiders?
I changed the activation events recently so that it'd take a command or the appropriate file type for the extension to activate.


Fix sample code syntax error

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Minor dependency upgrades

Minor upgrades to numerous dependencies.  None of these upgrades required any code/config changes.

👍


Simplify config provider testing

ConfigProviders are meant to be container agnostic. The structure of what they return is important, not how that structure is consumed. As such, I'd rather not bring in a container implementation, even if only in development, to test it.


Can I only get the hybrikx `hand aniamtion data dont need the body motion ,I have a better one

Can I only get the hybrikx `hand aniamtion data dont need the body motion ,I have a better one

whats is bether for body?


multiple output with different presets

how can I set different preset with different output ?
I tired using run with below command
ffmpeg('./abcd.mp4')
.videoCodec('libx264')
.outputOptions([
'-minrate 2400',
])
.size('1280x720')
.output('./abcd_2400.mp4')
.outputOptions([
'-minrate 1200'
])
.size('854x480')
.output('./abcd_1200.mp4')
.run();
it is creating 2 file but first one have only audio and white screen where as second one looks good.
what am I dong wrong ?
Thank you

I'm closing because it's too old. Sorry for the inactivity, but please reopen this issue if you still have the same problem.


Pinned column width not being restored properly

This can be reproduced on the tutorial using these steps:

pin the 'Name' column left and then resize the column
save the state
unpin the column and change the size
restore the state

You'll notice that the column size isn't the saved state size but rather the last size set for the column.

The fix for this was merged, closing.


my OWN liveshare server (asd.example.com) instead of microsoft! (prod.liveshare.vsengsaas.visualstudio.com)

Hi everyone!
Is there a way to have my own liveshare server to create link of my own url like
asgasd.example.com/join?E8BCFB27B62afasfakjsfhbaks5FA97CBA256
instead of
https://prod.liveshare.vsengsaas.visualstudio.com/join?E8BCFB27safasgasg7CBA256
if it is possible please guide me through that!
Thanks
Best regards!

Thanks for taking the time to file this issue. This functionality is currently not available or planned.


Outbound link tracking prevents external links to open in new tab

Versions

0.3.8

Describe the bug

When using enableAutoOutboundTracking, external links that have target="_blank" don't open in a new tab.
Expected behavior

The links should open in a new tab.
Steps to reproduce

Steps:

Install normally
Set it up like:

import Plausible from 'plausible-tracker'

const { enableAutoPageviews, enableAutoOutboundTracking } = Plausible({
    domain: 'example.com',
    trackLocalhost: false
  })

// This tracks the current page view and all future ones as well (for JS navigation)
enableAutoPageviews()

// This tracks outbound links
enableAutoOutboundTracking()

Try clicking an external link like link.

Your Environment

Browser [e.g. chrome, firefox]

Additional context

Disabling enableAutoPageviews() makes it work fine again.

thanks for reporting @jaimeiniesta! this seems like a duplicate of https://github.com/plausible/plausible-tracker/issues/12

Thanks for reporting 🙏
Let's keep the discussion in #12. Subscribe to that issue for updates.


Doobie analysis rejects TypoInstant -> timestamptz mapping

This is not necessarily an issue with typo; I'd be happy with a workaround on either side but am unsure exactly what is best.
Analysis output:
  ✕ C10 created_at       TIMESTAMPWITHTIMEZONE (timestamptz) NOT NULL  →  String
    TIMESTAMPWITHTIMEZONE (timestamptz) is not coercible to String
    according to the JDBC specification or any defined mapping. Fix
    this by changing the schema type to OTHER or JAVAOBJECT; or the
    Scala type to an appropriate object type.

Doobie 1.0.0-RC5
postgres driver 42.7.3
I could certainly override doobie's analysis (either the input or output) as a workaround, but am curious what the intended path is, or if this is a known issue. I'm also interested in the rationale for TypoInstant's string representation beyond what is in the generated code:

This is java.time.TypoInstant, but with microsecond precision and transferred to and from postgres as strings. The reason is that postgres driver and db libs are broken

This explains its existence somewhat but could be more detailed; could also link to postgres docs showing that this is a 'good' / safe way to send timestamptzs.

Ok so I was having a bit of a skill issue moment because I did not find the date/time page and was not casting to ::text in my query, since this is pre-existing doobie query now outputting typo types.
I am now receiving an even more mysterious failure:
    ✕ C10 created_at       VARCHAR (text) NULL?     →  String
      VARCHAR (text) is not coercible to String according to the JDBC
      specification or any defined mapping. Fix this by changing the
      schema type to OTHER or JAVAOBJECT; or the Scala type to an
      appropriate object type.

The column is a TypoInstant and my select expr looks like the following, the coalesce was to try and remove the unknown nullability that doobie is suggesting above: coalesce(aic.created_at::text, '') as created_at

Honestly, the argument for doing it this way is a bit convoluted, but it's done to support the three database libraries.
Also, a core design decision I made was to go through the implicit machinery, for maximum reusability.
 Especially the codepath for timetz[] is completely broken and throws away time zones.
running timestamptz through that default code path for the type silently converts from UTC to something it picks up from the JVM/OS, when that conversion should be done explicitly in code. I think this is why so many people think timestamptz includes time zone other than UTC, because it appears like it does locally. I needed to go through a ::text type cast in postgres to avoid that
it was a nice bonus to be able to control precision for datetime types to make == work across platforms
all the libraries do weird things with datetime types, especially when using arrays. supporting arrays of all types is also a core design decision in typo, because I think it's very useful and underused because it's so hard to use correctly.
This means I needed my own Typo-types to have a name tag to hang implicit instances on, to avoid orphan instances.

So one thing that is going to change is that I'll drop the decision to go through the implicit machinery and always refer to the concrete instances instead (that is, inlineImplicits will always be true). This is primarily done to support java and kotlin in the near future. Maybe I'll be able to revisit this encoding and these problems after that is in place.

VARCHAR (text) is not coercible to String does not make any sense to me at all. it's likely something in the type class definitions for String in doobie I guess

Seems this can be closed; though your detailed explanation above would probably be good to capture on that date/time docs page.