Change _VERSION to display the version of Luau

currently _VERSION just returns "Luau"
it feels more useful if _VERSION would return the version of luau running like this: "0.503"
this would be much more beneficial for testing / analytics
also being able to find which version of luau would make it way easier to track errors and see if there fixed when a new version of luau is out

right now there's no way for me to tell if the above is luau 0.503 or luau 0.501
I can't really think of any cons to this change but feel free to mention anything
Proposed change:
change the global _VERSION to return "Luau 0.503"
that maintains backwards compatibility with files only checking if the Version contains the string "Luau"
this is how Lua displays _VERSION

"Luau 0.503" basically matches the format for that but it could be shortened to only major and minor builds like "Luau 0.5" or "Luau 0.5x"
the main use case for this is to easily see what version of Luau is running from within Luau

well I made a pull request for this as seen above I don't expect it to cause any issues as it's just returning what _VERSION did before with a few numbers after

Luau could be considered a "version" of Lua. As it is considered a programming language dialect of Lua. That is probably why it is only "Luau". Besides there really isny mich of a need to differentiate between Luau versions

it was just changed to return luau when it was only on Roblox and there was as you say no need to differentiate between versions as Roblox did all the nasty stuff in the background but now that luau is open source and there's different versions being released as you can see in the releases
right now there's not many and not much difference that's why im requesting for the _VERSION to change early on so its there if anybody needs it

personally I'm thinking about making a vsc extension for luau and it would make my code much better if I could do a simple get request to see the current version of luau and install it when there's any major / minor changes
this would be much easier if the Version was kept on a file like Version.txt and that would come with lots of benefits like being able to easily see what version of luau it is. Without digging deep into the files or just seeing "Luau" pop up with nothing indicating if its 0.501 or 0.503 or later

For now we're intentionally using Luau without a version. There are a few problems with using a version number - there's no readily available source of the version number in these builds right now, and, more importantly, features aren't necessarily enabled in the same "version number" due to feature flags, e.g. the CLI may report that a newly added function is in v503 whereas it may only get enabled on Roblox platform when version reaches v506.
So I think we should keep using "Luau" for now.

the CLI may report that a newly added function is in v503 whereas it may only get enabled on Roblox platform when version reaches v506.

Probably due to newly added features being behind "fast flags" which are always enabled by default in the open-source version, but actually hooked up to a fast flag system in Roblox. (Along with all the other systems, like shuffling struct fields, pointer encoding and so on...)


LFOs

Getting my head around how these will be implemented in to workflow.
I like the idea of having Global LFOs for Side Chain behaviour.
It would be nice to have multiple destinations either FX or track param.
LFOPage needs to show LFO waveform.
Have Trig interface for step sequence if LFO is TRIG type.
Have destination values for the LFO.
Have Speed control. Fastest speed is 1/128 note resolution (same as MD LFOs)
Waveform repeats every 10.667 steps.
If LFOs are global then they wont be loadable via chain mode.
An alternate would be Global LFOs, + track LFOs. All available track LFO waveforms would need to be in RAM for fast playback. RAM usage = number_of_wav * 127.

experimenting with LFO_LENGTH=96 samples.
There are 96 sequencer ISR events per beat.

All the functionality for LFOs is now implemented.
LFO Page gives access to a single LFO with 2 selectable destinations.
Destination can either be MDTracks [1-16] or MD FX Tracks [16-20]
Destination 0 = off.
Current MD parameter values are retained at clock start and on CC change, much like Parameter Lock pages. This means the LFO value is relative to the position of the MD parameter.
LFO behaviour varies according to Waveform. Symmetrical Waveforms (SIN + TRI) oscillate around the original parameter value whilst, exponential waveforms use the original parameter values as the MAX.
LFOs can be either free running, reset on trig with loop playblack. or reset on trig with single cycle playback.
Currently there is a single LFO depth for both destinations. This is beacuse I wanted to avoid multiplication scaling in the sequencer interrupt. Instead the WavTable is recalculated when depth is changed.

Realised we can leverage the RingBuffer positions to accurately determine transmission rates.
Added a diagnostic page to show throughput speed on Midi Ports.
Currently showing Byte/s and Buffer Size  for TX and RX buffers.
Will add nice "speedometer" style graphics in the future.

Note: rx buffer will not be accurate as sysex bypasses the ringbuffer.

If we can afford one cycle in the interrupt, we can host a uint8_t counter in there. It doesn't have to keep exact bytes transmitted, as we want very coarse metric.


"Error: linear: vector must have 1 or 2 elements" raised when resizing a b&w png image

Hi Lovell,
Sharp is failing to resize a png file with the following metadata:
{ format: 'png',
  width: 1653,
  height: 2339,
  space: 'b-w',
  channels: 1,
  density: 200,
  hasProfile: false,
  hasAlpha: false }

To reproduce, please run the following:
var sharp = require('sharp');
var i = sharp('image.png');

i.embed() // works without embed
  .resize(100, 100)
  .background({r:0,g:0,b:0,a:0}) // works with a:1
  .toBuffer(function(err, output, info) {
    if (err) {
      throw err;
    } else {
      console.log("All good")
    }
  });

The error thrown is Error: linear: vector must have 1 or 2 elements
It works when 'embed()' is not used or the alpha channel in the background color is set to 1
I created a repo that showcases the issue and includes the b&w png file: https://github.com/janaz/sharp-png-issue

That looks like a bug - the background colour embedding logic has probably never been tested with 1 channel images - I'll take a look.

Commit e0d5826 adds support for embed with 1 and 2 channel images. Thanks for reporting this!

v0.14.1 now available via npm. Please re-open this if it doesn't solve the problem Tomasz.


Add IBAnalyzer in Code Quality

Project URL
https://github.com/fastred/IBAnalyzer
Description
Find common xib and storyboard-related problems without running your app or writing unit tests.
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 9 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

          1 Error

:no_entry_sign:
Found 2 link issues

Link issues by awesome_bot

Line
Status
Link

945
301
https://github.com/apollostack/apollo-ios redirects tohttps://github.com/apollographql/apollo-ios

1542
404
https://github.com/Liquicit/LilithProgressHUD

  Generated by :no_entry_sign: danger

@naeemshaikh90 Nice find! 👍


Why is the main API async simpleSmoothingSpline(data, opts) asynchronous ?

Hi !
Nice work, thanks for this library !
I was wondering why the main API async simpleSmoothingSpline(data, opts) is asynchronous ?
There is no reason as far as I can imagine for these calculus to be asynchronous. If, for some reason, users of this library do not want to block the UI with costly calculus, it's up to the user to defer this to the next tick.
I'm gonna have a deeper look at the library contents, maybe there is something I am missing ?

I think it boils down to the 2 calls await eigen.ready;
This should be maybe done only once at the beginning of simpleSmoothingSpline implementation, so that all the rest of the code would not be async... ?

What problem are you looking to solve?

I am just pointing out that many APIs / methods of the code are async while they don't have to.
You can simplify the whole codebase by simply calling Matrix.ready at the beginning of the implementation of smoothingSpline :
export default async function smoothingSpline(
  data: Point[],
  { lambda = 1000, type = "smoothing" }: smoothingSplineOptions = {}
): Promise<SmoothingSpline> {

  await Matrix.ready; // <=== The only call to an async function.

  // The rest is not async anymore :

  let splineFn: SplineFunction;
  if (type === "cubic") {
    splineFn = generateCubicSplineFunction(data);
  } else {
    splineFn = generateSmoothingSplineFunction(data, { lambda });
  }

  const splinePoints = generateSplinePoints(splineFn, data);
  return {
    fn: splineFn,
    points: splinePoints,
  };
}

The implementation of Matrix.ready being the following :
export default class Matrix implements MatrixLike<Matrix> {
  static ready = eigen.ready;
  // ...
}

Note that by making these modifications, the workaround described in the Matrix class is not necessary anymore :
  // EigenMatrix ops are async so we cannot create _eigenMatrix
  // in the constructor. If we're given an array, we'll store it
  // in _data and create the matrix when we do our first operation.

I can submit a PR for this, all the tests are passing fine...


Getting null in getAccessToken after giving Service Account Secrets Json

Environment details

Specify the API at the beginning of the title. For example, "[vision]: ...").
General, Core, and Other are also allowed as types
OS type and version: Windows 10
Java version: 20
Version(s):

Steps to reproduce
Getting null in getAccessToken after giving Service Account Secrets Json
GoogleCredentials credentials = GoogleCredentials.fromStream(new FileInputStream(System.getProperty("user.dir") + "\\resources\\json-files\\adc.json"))
        .createScoped("https://www.googleapis.com/auth/cloud-platform");
System.out.println(credentials.getAccessToken());

Code example
GoogleCredentials credentials = GoogleCredentials.fromStream(new FileInputStream(System.getProperty("user.dir") + "\\resources\\json-files\\adc.json"))
        .createScoped("https://www.googleapis.com/auth/cloud-platform");
System.out.println(credentials.getAccessToken());

Below is pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.autozone</groupId>
    <artifactId>data-sync</artifactId>
    <version>1.0-SNAPSHOT</version>
    <parent>
       <groupId>com.azo.qa.flex</groupId>
       <artifactId>legacy-parent</artifactId>
       <version>1.1.11-SNAPSHOT</version>
    </parent>

    <properties>
       <maven.compiler.source>1.8</maven.compiler.source>
       <maven.compiler.target>1.8</maven.compiler.target>
       <main.class>com.autozone.datasyncautomation.testrunner.TestRunner</main.class>
    </properties>

    <dependencyManagement>
       <dependencies>
          <dependency>
             <groupId>com.google.cloud</groupId>
             <artifactId>libraries-bom</artifactId>
             <version>26.39.0</version>
             <type>pom</type>
             <scope>import</scope>
          </dependency>
       </dependencies>

    </dependencyManagement>

    <dependencies>
       <dependency>
          <groupId>org.java-websocket</groupId>
          <artifactId>Java-WebSocket</artifactId>
          <version>1.5.0</version>
       </dependency>
       <!-- https://mvnrepository.com/artifact/com.google.cloud/libraries-bom -->

       <dependency>
          <groupId>com.google.cloud</groupId>
          <artifactId>google-cloud-pubsub</artifactId>
          <version>1.122.2</version>
       </dependency>
       <dependency>
          <groupId>com.google.cloud</groupId>
          <artifactId>google-cloud-storage</artifactId>
          <version>2.16.0</version>
       </dependency>
       <!-- https://mvnrepository.com/artifact/com.google.cloud/google-cloud-bigquery -->
       <dependency>
          <groupId>com.google.cloud</groupId>
          <artifactId>google-cloud-bigquery</artifactId>
          <version>2.35.0</version>
       </dependency>
       <!-- https://mvnrepository.com/artifact/com.google.cloud/google-cloud-tasks -->
       <dependency>
          <groupId>com.google.cloud</groupId>
          <artifactId>google-cloud-tasks</artifactId>
       </dependency>

    </dependencies>
    <profiles>
       <profile>
          <id>shade</id>
          <activation>
             <activeByDefault>true</activeByDefault>
          </activation>
          <build>
             <resources>
                <resource>
                   <directory>resources/</directory>
                </resource>
             </resources>
             <plugins>
                <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-checkstyle-plugin</artifactId>
                   <executions>
                      <execution>
                         <id>validate</id>
                         <phase>validate</phase>
                      </execution>
                   </executions>
                   <configuration>
                <failOnViolation>false</failOnViolation>
             </configuration>
                </plugin>
                <plugin>
                   <groupId>org.apache.maven.plugins</groupId>
                   <artifactId>maven-shade-plugin</artifactId>
                   <executions>
                      <execution>
                         <id>build</id>
                      </execution>
                   </executions>
                </plugin>
             </plugins>
          </build>
       </profile>
    </profiles>
</project>

Stack trace
Any relevant stacktrace here.

External references such as API reference guides

?

Any additional information below
Following these steps guarantees the quickest resolution possible.
Thanks!

Hi @RYenike, thanks for reporting this.
IIUC you are trying to pass your own Application Default Credentials JSON file to create a credentials object, but please be aware that GoogleCredentials has its own getApplicationDefault() method:
GoogleCredentials credentials = GoogleCredentials.getApplicationDefault()

This should be enough to build a client.
Moreover, our clients libraries default to use the Application Default Credentials even if not specified in your code. This can be achieved by running gcloud auth application-default login before running your code.
Please let us know if using the built-in getApplicationDefault or the gcloud command worked for you.

Hello @diegomarquezp  I  don't want to use getApplicationDefault , as I will be running my code on another machine which is not having google cloud CLI installed in it,     also in specified adc.json they are service account credentials got from secret manager -> Secrets , so I want to use that service account credential to authenticate
Please suggest

"https://www.googleapis.com/auth/cloud-platform"

IIUC, using getApplicationDefault() can resolve to the SA key without gcloud CLI. ADC takes the following steps to resolve the the credentials: https://github.com/googleapis/google-auth-library-java?tab=readme-ov-file#getting-application-default-credentials. I believe you can set an env var GOOGLE_APPLICATION_CREDENTIALS to point to your SA key.
Once you create GoogleCredential with the correct scopes, can you immediately refresh the token? This should retrieve a valid access token (non-null).

Going to close this issue as there has been no response. Feel free to re-open this issue if you still have issues


[Bug]: Dynamic import in CJS output is broken

Version
Rslib 0.0.11
Details
Dynamic import in CJS output is broken.
There are some conditions:

Use dynamic import in the source code
Output cjs format
package.json contains type: 'module'

For example, the input code is:
export async function main() {
  const { TsconfigPathsPlugin } = await import('tsconfig-paths-webpack-plugin');

  console.log(TsconfigPathsPlugin);
}

main();

Run the output code, and console.log(TsconfigPathsPlugin); get undefined.
Reproduce link
https://github.com/chenjiahan/rslib-repro-dynamic-import-cjs-interop
Reproduce Steps

tsup:

Modern.js Module:

Rslib:

Duplicated with https://github.com/web-infra-dev/rslib/issues/121.
Current workaround
  output: {
    target: 'node',
+    externals: {
+      'tsconfig-paths-webpack-plugin': 'import tsconfig-paths-webpack-plugin',
+    },
  },

It will be resolved when we implement external map for webpack and Rspack, we're already working on this.

Close duplicated issue


Code doesn't update in the browser on save

I opened the project with live server, when I write some code and I save it, the browser with the project that I'm working on refreshes BUT when I inspect the page in the browser the code that I just saved doesn't appear in the browser even after many refreshes. I also disabled cache in browser, tried to refresh the page with ctrl+shift+R and the new code still not showing. Tried in both Chrome and Mozilla and the issue is the same. Basically, Live Server is not working properly. When I close and reopen the Live Server it works for a few minutes and then the issues reappear.

CPUs
AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (8 x 2096)

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

Load (avg)
undefined

Memory (System)
7.81GB (1.64GB free)

Process Argv

Screen Reader
no

VM
0%

CPUs
AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (8 x 2096)

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

Load (avg)
undefined

Memory (System)
7.81GB (1.64GB free)

Process Argv

Screen Reader
no

VM
0%

|  Window (Extension: Live Server - 4TECHNICALDOCUMENTATIONPAGE - Visual Studio Code)
|    Folder (4TECHNICALDOCUMENTATIONPAGE): 2 files
|      File types: html(1) css(1)
|      Conf files:

Extension
Author (truncated)
Version

vscode-intelephense-client
bme
1.3.11

php-intellisense
fel
2.3.14

LiveServer
rit
5.6.1

html5-boilerplate
sid
1.0.3

Please file this against the Live Server extension


Support https and http requests simultaneously in the test-server

The current test-server after https://github.com/sonarwhal/sonar/pull/370 is merged supports creating a server that serves EITHER http or https pages ONLY, but doesn't have support for listening to http and https requests simultaneously in the same rule test, which is needed to add tests for rule strict transport security (https://github.com/sonarwhal/sonar/pull/370) if we want to support testing http site first, and then test the same site with https protocol if it doesn't redirect itself, as suggested by @alrra .

@qzhou1607 Can you also post some short code examples on how this would look like? Thanks!

So when creating a test server, we need to have two port numbers instead of one. Creating both http and https servers simultaneously is shown as below. We just need to make sure that both the http and https port numbers increment by 2 each time a new test server is created.
const startServer = async () => {
    options = {
        cert: await promisify(fs.readFile)(path.join(__dirname, 'fixture/server.crt'), 'utf8'),
        key: await promisify(fs.readFile)(path.join(__dirname, 'fixture/server.key'), 'utf8')
    };

    http.createServer(app).listen(HTTP_PORT_NUMBER);
    https.createServer(options, app).listen(HTTPS_PORT_NUMBER);
};

startServer();

@qzhou1607 I was referring to the tests.

Also I think the http and https option should be optional (http, https, or both).

This was done in: https://github.com/sonarwhal/sonar/commit/173c5fc598914c4d6b08451d8fc24355b3371ffc.

@alrra If I remember right, this issue is for supporting http and https both when running a ruleTest. With https://github.com/sonarwhal/sonar/commit/173c5fc598914c4d6b08451d8fc24355b3371ffc we only have the option of http OR https, but not both. Do we still want that option?

Ahh, ok.

In order to do this, the server needs to use 2 ports, 1 for http, and another 1 for https.
We could add another property httpsPort and try to use that one.
The problem would be how to handle the redirects from one to another

Another problem we currently have with http vs https is that we cannot have http and https tests in the same file even if they are in different arrays. I have no clue why is that.


Fix typo in title

Why are these changes needed?
Quick fix to typo in notebook title.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (9a9c283) 35.28% compared to head (41e75bd) 35.17%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1594      +/-   ##
==========================================
- Coverage   35.28%   35.17%   -0.12%
==========================================
  Files          44       44
  Lines        5331     5331
  Branches     1236     1236
==========================================
- Hits         1881     1875       -6
- Misses       3296     3302       +6
  Partials      154      154

Flag
Coverage Δ

unittests
35.17% <ø> (-0.12%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


doc/.gitignore: add media

These files are generated when you run nix-shell --command make and are likely to be committed by accident.  Let's help people avoid that.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/tweag-nix-dev-update-47/27387/1


Error: While running git submodule update

Cloning into 'web'...
Warning: Permanently added the RSA host key for IP address '192.XXX.XXX.XXX' to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
fatal: clone of 'git@github.com:OpenPoGo/OpenPoGoWeb.git' into submodule path 'web' failed

resolved issue.by changing values in the config file under .git
url = git@github.com:OpenPoGo/OpenPoGoWeb.git
change line to: url = https://github.com/OpenPoGo/OpenPoGoWeb.git


VisIt not installed on Cori after major OS upgrade.

Describe the bug
Mikhail Dorf reported that he tried to run visit client/server to Cori and it appears that VisIt is no longer installed on the machine. I checked and it isn't in either "/usr/common/graphics/visit" or "/usr/common/software/visit".
Impact

[X] High - User productivity significantly degraded
[ ] Medium - User productivity partially degraded
[ ] Low - User productivity trivially degraded

Likelihood

[ ] High - occurrence is not specific to platform, data, config, a combination of operators, queries, etc.
[X] Medium - neither low nor high likelihood
[ ] Low - occurrence is specific to combination of multiple factors such as configuration, data, platform, etc.

I had an build of VisIt 3.0.1 installed on Cori and tried it out. The customlauncher is failing with an error message.

I contacted NERSC and David Camp is working on building 3.0.1 and installing it in a public location. I am reopening this ticket until I can confirm that David has installed VisIt and it works.


Install Python tools on self-hosted runners

This PR changes the init step to also install the Python packages that the Action requires when running on self-hosted runners, as we already do on GitHub ones. The rationale given in https://github.com/github/codeql-action/pull/155 for not doing this was that "we don't want our cli to be messing around with things in the system". On the one hand, this seems reasonable. However, I think we should try to make a best attempt to succeed with our analysis and in my opinion this means installing tools we require.
Notably, we are already messing around with things that are installed since the later step will install an arbitrary number of packages that are dependencies of the code so that we can analyse it. If we are happy to do this, I see no reason why we shouldn't also be happy to install the four Python packages that we need.
This PR was prompted by https://github.com/github/codeql-action/issues/615, where the user's workflow failed due to this (and one other issue).
Merge / deployment checklist

[x] Confirm this change is backwards compatible with existing workflows.
[x] Confirm the readme has been updated if necessary.
[x] Confirm the changelog has been updated if necessary.

__


Concurrent requests performance with Connection: close

i am writing a rust implementation of a web content buster https://github.com/phra/rustbuster/blob/feat/loop/src/fetcher.rs
the relevant code looks like this:
pub fn _run(urls: Vec<hyper::Uri>) {
    rt::run(lazy(|| {
        let client = Client::new();

        for url in urls {
            rt::spawn(_fetch_url(&client, url));
        }

        Ok(())
    }));
}

at the moment the generated binary runs really slow, 8 seconds for 80 http request.
while debugging the performance issue i noticed that if i use strace -f to trace it, it runs fast as expected (1,5 seconds)

setup:

rustc = "1.34.1"
hyper = "0.12.28"

maybe related to https://github.com/hyperium/hyper/issues/1813

I see you've linked a commit, do you think that it's related because older versions of hyper aren't affected?

i have manually profiled my code and most of the time is spent between client.get() and and_then(), the futures are spawned all together very fast, and then hyper seems to lose time while executing them in an unsorted fashion. using a profiler like valgrind make the execution going fast as with strace -f

using npx http-server -p 8000 instead of python -m SimpleHTTPServer 8000 solve the performance issue.. however i consider it a bug anyway because i don't have issues with the python http server and other buster written in other languages..

@phra Connection: close means you're asking to close connection as soon as message exchange is finished

Is it really slow to actually fetch all the URLs, or does it fetch them all quickly and then take a few seconds for the runtime to shutdown?

it slowers over time. i also noticed that using a big wordlist (230K lines) make the problem appear again also with Connection: keep-alive.

8 seconds for 80 http request.

So I adjusted the hello.rs example to send just Connection: close, and the client.rs to accept an integer parameter and spawn that many requests aimed at the hello.rs server. It does 100 requests in 0.16 seconds, and 1000 requests in 0.4s. So there must be something else I'm missing...

Try with 230000 request.

Try with 230000 request.

I'm not sure what I'd be looking for, and with the many requests, the logs will be very noisy. I was trying to reproduce with the smaller number, to make it easier to read the log output to see where an issue may be. By sending connection: close, I'd hoped that would achieve your original issue. I guess a difference I missed is that the Python SimpleHTTPServer is sending the file contents of the directory, and I was just sending an empty body. I'll check that out.

Just tried with Python SimpleHTTPServer and it is indeed super slow with 100 requests. I'll look more into why.

After digging through logs all day, I've noticed that a similar client using Nodejs sees the same kind of slow down. The logs suggest that its mostly waiting at epoll_wait, because the sockets haven't been written to on the server. It seems more likely the issue is with SimpleHTTPServer.

@seanmonstar i don't have the problem with my nodejs project https://github.com/phra/nodebuster

Here's the nodejs client I used that also has the problem:
const http = require('http');

const MAX = 100;
const LOG_MOD = Math.max(Math.floor(MAX / 10), 1);
const START = Date.now();

let completed = 0;
for (let i = 0; i < MAX; i++) {
  let url = 'http://<IP_ADDRESS>:3000/LICENSE';
  http
    .request(url, (res) => {
      let my_i = ++completed;
      if (my_i % LOG_MOD === 0) {
        console.log(`Response ${(my_i / MAX) * 100}% (${my_i} of ${MAX}) took ${since()}: ${res.statusCode}`);
      }
      res.destroy();
    })
    .on('error', (e) => {
      console.error(`request error: ${e.message}`);
    })
    .end();
}

function since() {
  return `${(Date.now() - START) / 1000}s`;
}

Searching very briefly about SimplHTTPServer shows many results that it hangs with concurrent connections. Perhaps a difference is that the client in your "nodebuster" is not making requests concurrently?
Anyway, since it seems to be a problem with some other server implementation, and not hyper specifically, I'm going to close.

@seanmonstar thanks for the snippet. i am trying to investigate the issue.. https://github.com/phra/nodebuster doesn't have the specific problem but i cannot fix you snippet..


Wording and punctuation scrub for VMSS

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] Validation errors from the Linter extension for VS Code have all been fixed for this spec. (Note: for large, previously checked in specs, there will likely be many errors shown. Please contact our team so we can set a timeframe for fixing these errors if your PR is not going to address them).
[x] The spec follows the patterns described in the Swagger good patterns document unless the service API makes this impossible.

This change is

Hi @Thraka, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (adegeo). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;

@amarzavery

 https://github.com/Azure/azure-sdk-for-python/pull/871

 https://github.com/Azure/azure-sdk-for-node/pull/1972

 https://github.com/Azure/azure-sdk-for-ruby/pull/569


save player positions

is there a setting in the config that saves where your position was after exiting the world? If not are you making one? if you are not making one are any plugins that fix this?

Use multiverse inventories and enable last location.
Relevant links:
https://dev.bukkit.org/projects/multiverse-inventories
https://github.com/Multiverse/Multiverse-Core/wiki/Basics-(Inventories)
https://github.com/Multiverse/Multiverse-Core/wiki/Shares-List-(Inventories)#optional-shares---must-be-enabled-via-mvinv-toggle-sharename-or-they-have-no-effect

Thx
On Sun, Feb 14, 2021, 3:45 AM Ben Woo<EMAIL_ADDRESS>wrote:

Use multiverse inventories and enable last location.
Relevant links:
https://dev.bukkit.org/projects/multiverse-inventories
https://github.com/Multiverse/Multiverse-Core/wiki/Basics-(Inventories)
https://github.com/Multiverse/Multiverse-Core/wiki/Shares-List-(Inventories)#optional-shares---must-be-enabled-via-mvinv-toggle-sharename-or-they-have-no-effect
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Multiverse/Multiverse-Core/issues/2561#issuecomment-778753371,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS26SSBICG5Q3UYXWRRLCMLS66LSJANCNFSM4XSW3LDQ
.


YAML output needed or confusing?

The current method converts the source data into YAML and JSON versions, with the JSON version in json being thought to be the one for referencing etc..
Since we have now the source in src in YAML format[^1] this might be a bit confusing to have a second (converted) YAML in yaml. Can we drop this and stay with src and json? Other structure ideas?
[^1]: As of early March 2022 the YAML in source is still being generated/overwritten by imports from the separate models and framework projects but this will change soon.

As far as I can see there is no meaningful difference between the contents of the 2 directories (quick diff showed differences only in the descriptions) so keeping both seems to be redundant and getting rid of yaml seems sensible.
Can you envision a situation where there will be differences between the directories?

Not really; especially if the conversion is by action. Just followed the much less complex example of VRS, where there is vrs-source.yaml, vrs.yaml and vrs.json: https://github.com/ga4gh/vrs/tree/main/schema
I'll gladly remove it ...

+1 to remove it

@jrambla Tada - done.


The widget label should use the title or heading property of the widget instead of the class name!

It currently uses the class name only...
In a lot of cases, that's not the desired behavior.

Nice suggestion! If you can whip up a PR, I'll take a look at it.

You can define a custom display name of the widget by adding a getDisplayName() method to it:
public function getDisplayName(): ?string
{
    return 'My Custom Widget Name';
}


Graph weights are incorrect when points are near two intersecting edges

Consider a situation like this:
1-----2
| *
|
3

where the numbers are nodes and the * is a destination. We run create_graph_weights, which finds edges near the point, and proportionally assigns the weight to the nodes at the end of those edges. In this case, the nodes-at-end-of-edges array found will be [1, 2, 1, 3]. Note that node 1 is there twice, because it is at the end of both edges. We then update the weights with code that looks like this:
weights[nodes, i] .+= row[weightcol] / length(nodes)

The problem is that when there are duplicates in nodes, this will only update each of them once, e.g.
x = zeros(Float64, 3)
x[[2, 3, 2]] .+= 1 # => [0, 1, 1]

when the answer we want is [0, 2, 1] with one added to index 2 twice. This is easy enough to solve by just looping.

See also: https://discourse.julialang.org/t/unexpected-behavior-of-vectorized-with-duplicate-indices/112537


Add feature in settings: Enable scrolling beyond last line (true/false)

Is your feature request related to a problem? Please describe.
I suggest to add feature to Enable scrolling beyond last line (true/false).
This is how it doesn't work in DBeaver and then how it works in SSMS (the same way it works in Notepad++):
https://github.com/dbeaver/dbeaver/assets/33929221/40cefe75-8e7b-43b9-ba25-fdaff66d11d0
Additional context
Why?

it gives a user some spare space to type new statements without scrolling for some time. It is kind of usability enhancement.

Thank you for the idea!


⚠ ClamAV has degraded performance

In 2f2268a, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 53 ms

Resolved: ClamAV performance has improved in 4e04eea.


Issues running "gitrob configure" after installation

I'm having issues configuring gitrob after I install it. I'm getting this error:
$ gitrob configure
/home/mortiz/.gem/ruby/gems/github_api-0.14.3/lib/github_api/api.rb:301:in `namespace': namespace 'say' is already defined (ArgumentError)
	from /home/mortiz/.gem/ruby/gems/github_api-0.14.3/lib/github_api/client.rb:61:in `<class:Client>'
	from /home/mortiz/.gem/ruby/gems/github_api-0.14.3/lib/github_api/client.rb:4:in `<module:Github>'
	from /home/mortiz/.gem/ruby/gems/github_api-0.14.3/lib/github_api/client.rb:3:in `<top (required)>'
	from /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /home/mortiz/.gem/ruby/gems/github_api-0.14.3/lib/github_api.rb:78:in `block in require_all'
	from /home/mortiz/.gem/ruby/gems/github_api-0.14.3/lib/github_api.rb:77:in `each'
	from /home/mortiz/.gem/ruby/gems/github_api-0.14.3/lib/github_api.rb:77:in `require_all'
	from /home/mortiz/.gem/ruby/gems/github_api-0.14.3/lib/github_api.rb:113:in `<module:Github>'
	from /home/mortiz/.gem/ruby/gems/github_api-0.14.3/lib/github_api.rb:15:in `<top (required)>'
	from /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /home/mortiz/.gem/ruby/gems/gitrob-1.1.0/lib/gitrob.rb:9:in `<top (required)>'
	from /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /home/mortiz/.gem/ruby/gems/gitrob-1.1.0/exe/gitrob:3:in `<top (required)>'
	from /usr/local/bin/gitrob:22:in `load'
	from /usr/local/bin/gitrob:22:in `<main>'

I was talking to a friend about this and he found a solution here.

I am having same error and tried to edit the file as mentioned in referenced link, but didnt' found any namespace argument commenting on 61 line? Could you help me out if you managed it to work on your box?
error i am getting is:

/var/lib/gems/2.3.0/gems/github_api-0.14.4/lib/github_api/api.rb:301:in namespace': namespace 'say' is already defined (ArgumentError) 	from /var/lib/gems/2.3.0/gems/github_api-0.14.4/lib/github_api/client.rb:61:in class:Client'
from /var/lib/gems/2.3.0/gems/github_api-0.14.4/lib/github_api/client.rb:4:in <module:Github>' 	from /var/lib/gems/2.3.0/gems/github_api-0.14.4/lib/github_api/client.rb:3:in <top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' 	from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /var/lib/gems/2.3.0/gems/github_api-0.14.4/lib/github_api.rb:78:in block in require_all' 	from /var/lib/gems/2.3.0/gems/github_api-0.14.4/lib/github_api.rb:77:in each'
from /var/lib/gems/2.3.0/gems/github_api-0.14.4/lib/github_api.rb:77:in require_all' 	from /var/lib/gems/2.3.0/gems/github_api-0.14.4/lib/github_api.rb:113:in module:Github'
from /var/lib/gems/2.3.0/gems/github_api-0.14.4/lib/github_api.rb:15:in <top (required)>' 	from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' 	from /var/lib/gems/2.3.0/gems/gitrob-1.1.0/lib/gitrob.rb:9:in <top (required)>'
from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require' 	from /usr/lib/ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in require'
from /var/lib/gems/2.3.0/gems/gitrob-1.1.0/exe/gitrob:3:in <top (required)>' 	from /usr/local/bin/gitrob:23:in load'
from /usr/local/bin/gitrob:23:in `'

Go to:
/usr/local/lib/ruby/gems/2.3.0/gems/github_api-0.14.3/lib/github_api/client.rb
And comment out around line 61:
`
namespace :repos
alias :repositories :repos
# namespace :say
alias :octocat :say

namespace :scopes`


Failed check for "NSG must be configured for Virtual Machine" caused by "OffByPolicy"

The confidential VM which triggers this failed check has NSG associated with both the NIC and the subnet,  the scanning tool is showing following error.
{"Message": "Validated control status through MDC assessment", "SecurityAssessmentStatus": {"ResourceName": "vm-cvm5066", "StatusMessage": {
  "code": "NotApplicable",
  "cause": "OffByPolicy",
  "description": "The recommendation is disabled in policy"
}  } }
Disabling or exempting the policy from getting evaluated is not recommended. The Control will be marked as Failed.

Also there is no such policy assigned to the VM itself, which is odd.

Hello @humblejay, Can you please reach out to us on<EMAIL_ADDRESS>with resource specific details?

@humblejay, Closing this issue as we did not hear back. Please reach out to the above mentioned email with resource specific details if you still facing the issue.


llama 3.1/3.2 support compresskv

Description
llama 3.1/3.2 support compresskv.
1. Why the change?

2. User API changes

3. Summary of the change

4. How to test?

[x] Application test

5. New dependencies

[ ] New Python dependencies
- Dependency1
- Dependency2
- ...
[ ] New Java/Scala dependencies and their license
- Dependency1 and license1
- Dependency2 and license2
- ...

PR validation: https://github.com/intel-analytics/ipex-llm-workflow/actions/runs/11700267684


How about mosca and aedes?

Hi, We are developing an IM APP using mosca, but it has some issues. Will aedes be better than mosca?

Aedes' design is improved

You can find samples in aedes-persistence-mongo repo

Is aedes ready for production ? @behrad

I can't tell for mongo-persistent, but for the Redis one YES

Aedes' design is improved

Does this mean that aedes is preferred over mosca for a new project? (is/will mosca deprecated?)

Aedes has decoupled its persistence store and mqemitter be a separate component. You could use different stores to store retained messages and QoS persistence, while you could also make use of different mqemitters with back pressure and create cluster-enabled aedes. There will be more bug fix and improvements coming. Test it as much as possible and submit any issues you found. 😄


Add support for ArcGIS reverse geocoding, Mapzen forward and reverse geocoding and fixing encoding issue with python 2.7 and Google

@stirringhalo Sorry I didn't get to this earlier, looks great!

I will have a bunch more changes coming tomorrow. I added formal osm reverse geocoding, Komoot forward and reverse (Photon) and have support for multiple results. It may not be the final way to do it, but it works well for the geocoders which I've updated to support it.


React Native eslint issue

Hi, thank you for the package, however i am unable to resolve the issue where my VSCODE is keeping saying that unable to resolve path to module .... (import/no-unresolved)
i have following in package.json

my .eslintrc looks like this
{
    "root": true,
    "extends": ["rallycoding", "plugin:prettier/recommended"],
    "rules": {
        "indent": [0, 4]
    },
    "globals": {
        "fetch": false,
        "__DEV__": false
    },
    "settings": {
        "import/resolver": "babel-plugin-root-import"
    }
}

and .babelrc as fallows
{
    "presets": ["react-native"],
    "plugins": [
        ["babel-plugin-root-import", {
            "paths": [{
                    "rootPathPrefix": "~",
                    "rootPathSuffix": "./src"
                }, {
                    "rootPathPrefix": "@",
                    "rootPathSuffix": "./src/components"
                },
                {
                    "rootPathPrefix": "#",
                    "rootPathSuffix": "./src/static/img"
                },
                {
                    "rootPathPrefix": "!",
                    "rootPathSuffix": "./src/components/styles"
                }
            ]
        }]
    ],
    "env": {
        "production": {
            "plugins": [
                ["babel-plugin-root-import", {
                    "paths": [{
                            "rootPathPrefix": "~",
                            "rootPathSuffix": "./src"
                        }, {
                            "rootPathPrefix": "@",
                            "rootPathSuffix": "./src/components"
                        },
                        {
                            "rootPathPrefix": "#",
                            "rootPathSuffix": "./src/static/img"
                        },
                        {
                            "rootPathPrefix": "!",
                            "rootPathSuffix": "./src/components/styles"
                        }
                    ]
                }]
            ]
        }
    }
}

i am able to build and stuff but Eslint in VSCODE is keep showing me that its unable to resolve the modules paths. Can you please look into it. Many thanks

Same here. @yeomann/ @castrolol, did you find a workaround for this?


Request for help for audio output.

this is a sort of support question but I don't know where else to post. Direct me if needed
Hello there.
So, I'm playing with wsl. I am a blind computer user, and so my interest in wsl is mainly the speech systems offered in it. ESpeak, festival etc. I am trying to figure out how I would go about bringing audio from the system, either using pulse audio or alsa. I do not currently have alsa, so PA is prefered.
Previous research and tests have lead me to realize that wsl currently does not implement audio of any kind, since linux doesn't have a specific implementation for audio. It's left up to the user, but the underlying framework needed for audio devices doesn't exist. I saw that I should be sending audio from pulse on linux to a pulse server on windows. Have tried this, it doesn't seem to work.
I have the pulse server on windows running, listening for incoming audio with no authentication. I then go over to linux and execute paplay to play a file. It says connection refused. This is reasonable, so I try explicitly specifying connection options instead.
paplay -s <IP_ADDRESS> -n linux audio.wav
This doesn't produce any errors, but no audio is heard. It sits there for a bit and then returns back to my shell. I can only assume this is an issue with finding the server or something.
If someone could guide me or give me a solid direction to follow to get audio from linux to windows I would appreciate it. I sort of assume it also has something to do with the way the networking is managed, maybe <IP_ADDRESS> isn't the address for the windows server? If this is the case, correct me.
P.S. Audio should just work! It works in a vm...

Pulseaudio 8 works great on Fall Creators Update. You need the patched libpulse0 in order to make it work (from #486 thanks to @therealkenc). I just tested it yesterday and mplayer works with these steps:
sudo apt update && sudo apt upgrade
sudo apt install pulseaudio
wget https://launchpad.net/~therealkenc/+archive/ubuntu/wsl-pulseaudio/+build/13050551/+files/libpulse0_8.0-0ubuntu3.3ppa1_amd64.deb
sudo dpkg -i libpulse0_8.0-0ubuntu3.3ppa1_amd64.deb
export PULSE_SERVER=tcp:localhost
mplayer test.flac

Hi @ultrasound1372. Yours is the "except one" use case I was alluding to in #1006 (message), and curiously overlooked in the August 09, 2016 WP Dev response "but what developer scenario" over in the User Voice ticket. Surprised it took this long to come up, and it seemed like cheating to do it myself. Now that it has, I would not be surprised if priority for the feature improves markedly (if I know my big companies right).
The details are in #486, but it sounds like you've found and followed the info over there about right. Per onomatopellan above it does work; though I haven't run it personally in ages despite being therealkenc in that PPA. There isn't much concrete I can offer as to why it is not working for you. Try Ono's steps above and if it still doesn't work it will boil down to debugging why you are getting connection refused errors. Which is more of a "networking thing" rather than an "audio thing". First step would be to use netstat on the Windows side and see if there is in fact anything listening on port 4713, and we can take it from there.

thanks for the responses. However when I execute the wget command provided in the first reply I get an http 404...

Ono's link works here (note it is split on two lines), but I just made a tiny url which might be easier.
wget https://goo.gl/fPK6Tq -O pulse.deb

I ran netstat, it never seems to complete, just loops, and because I cannot see I cannot check for that. Tried redirecting to a text file, became 4KB before I terminated it, ctrl f, 4713, nothing found. So I guess it isn't listening. Executing paplay on the machine returns connection refused... Maybe it has something to do with this line at the very bottom of the pulseaudio output?
E: [(null)] daemon/main.c: Failed to load directory

E: [(null)] daemon/main.c: Failed to load directory

That error is on the Windows (ie server) side? Yeah that sounds like a problem. The netstat command you are looking for, FWIW, is:
netstat -n | find "4713"

Which is almost certainly going to come up empty.

errp... Looked up that error and immediately got to wsl and pulseaudio bridging, fall creator's update has broken it completely they say and no fix has been provided for that error. Although he wqas getting all kinds of errors with waveout so... Let me try their workaround.

E: [(null)] daemon/main.c: Failed to load directory.

That is normal, I also see that line on Windows and it works.
On the Windows side, my default.pa contains these lines
load-module module-waveout sink_name=output source_name=input record=0
load-module module-native-protocol-tcp auth-ip-acl=<IP_ADDRESS> auth-anonymous=1
also added this to daemon.conf
exit-idle-time = -1
With this you only need to double click on the pulseaudio.exe in the bin folder and it will wait for connections.

now it's doing something strange. Says demon already running, even though it's not, no pulseaudio.exe, -k says failed to kill. Would process should I be looking for?

okay this just really doesn't wanna work. I changed my config. It runs. Sits there, awaiting stuff. Paplay still says connection refused on windows side.
netstat -n | find "4713"
returns a blank line... Guess it's still not listening!

Yes, nothing is listening if that command returns blank.
It is possible you are running into something like #1561, #1350 or #416. I hope not, because that is a bear under the best of circumstances. I understand entirely that you want audio, not to go down a networking debug rabbit hole. But I'd be remiss if I didn't point it out as a possibility. Or, as likely, it could be a just a silly step missing, which I can't guess at the moment. Anyway, happy to see you trying, and don't want you discouraged. The most constructive thing you can do at this time is find a local computer club and get hands on help. Or I am happy to pursue the problem to the gates of hell here in this list; though I am not sure I'd wish that on anyone, or whether you'd find the result satisfactory. Patience (I prefer the term laziness) is another viable option. Audio devices aren't supported by WSL right now (that's just a hard fact), but I hope your post will help change that. It sounds like you have Linux up in a VM, and for all practical purposes that's the route I'd go if it were me.
Going to ping @sunilmut at random just to make sure the guys are aware of your use case.

Don't worry about netstat because output is empty for me too. Ok let's start again from the beginning.
Reboot your PC because there could be a pulseaudio.exe hanged or something.
For the Windows side download and extract Pulseaudio 6 from here https://github.com/kitor/wsl/raw/master/pulse6.zip
Since is preconfigured (and sound hardcoded to two speakers and disabled input devices) you only need to double click pulseaudio.exe and let that window open.
For the WSL side forget about paplay and use mplayer instead.
sudo apt install mplayer
mplayer testfile.flac
What the output says?

Output says connection refused. What port is it listening on? I just googled and 4713 popped up; I didn't actually try. I guess I should get the thing up again so I can play along for reals.

Ok when I double click pulseaudio.exe for fist time Windows Firewall asked me for permission. Maybe that's the problem here.

Command is netstat -a -n | find "4713". I forgot the -a to get the listening ports. My bad there. You shouldn't have to be admin.

On WSL is empty.
On cmd it shows
  TCP    <IP_ADDRESS>:4713           <IP_ADDRESS>:0              LISTENING
  TCP    <IP_ADDRESS>:4713         <IP_ADDRESS>:60796        ESTABLISHED
  TCP    <IP_ADDRESS>:60796        <IP_ADDRESS>:4713         ESTABLISHED
  TCP    [::]:4713              [::]:0                 LISTENING

netstat doesn't work on WSL, which is why it's empty there.
@ultrasound1372 that first TCP <IP_ADDRESS>:4713 <IP_ADDRESS>:0 LISTENING line is what you are looking for. But even if it is listening it could be blocked by the firewall, possibly, like Ono hypothesises.

I'm using paplay for a reason. Because I don't wanna use wsl as a media player. I wanna use it to pipe output from synths and minimodem.

okay, so it's listening now. I'm using paplay on the windows side to test. Allowed it strictly through firewall, it didn't ask me at first so I forced it. Netstat found it. Now, paplay on the windows side, executed as follows
paplay C:\Windows\media\ding.wav
produces
Connection failure: Connection refused
pa_context_connect() failed: Connection refused
Roar! Do I have to specify some extra arguments?

If you think you have pulseaudio.exe listening on windows then test paplay like this:
on windows side paplay -s <IP_ADDRESS> C:\Windows\media\ding.wav
on WSL side paplay /mnt/c/Windows/media/ding.wav

woot woot! Windows paplay finally works. Now how would I configure wsl to always use that gateway? Does it require me to explicitly specify things or will it connect to localhost and find my thing?

On WSL edit or create etc\pulse\client.conf
and add this line
default-server = <IP_ADDRESS>

Or just:
export PULSE_SERVER=tcp:localhost

alright! It works! For a bit it didn't, then I checked and the windows demon was doing the 20 second timeout. Set that to -1 and hopefully it'll stay. So, since I've configured pulse itself to do this, any application that uses pulse will not automatically stream to the windows side?

paplay is too simple and works. That's why you need to test with something like mplayer. If it outputs sound then you shouldn't have problem with others programs.

minimodem works, so I guess everything else should too. i'm off to install synth toolkits. Thanks for your help.
P.S. Another thing that doesn't work is beep. Windows has a pc speaker, that should work too. Without audio, shell scripts have no feedback form other than beep.

Well, it did... Until I install anything that needs pulse. Then it throws something about a mutex?

That's the #486 bug. Everytime you see that you need to install the patched pulse0 with sudo dpkg -i libpulse0_8.0-0ubuntu3.3ppa1_amd64.deb

Ehh. That sounds like a massive throwback for developers, possibly beyond pulse audio. I have no flipping idea what a mutex is. But anyways, I kept the download in /temp and created a shell script on root called fixpulse.sh so when I install something, and it breaks, I can unbreak it. Hopefully espeak will install without doing this again, when I tried that it said unmet dependencies, apt -f install upgraded the deb.

Yep, it's a PITA. I think @benhillis said support for these type of syscalls it's on the backlog though.

in the meantime, can I either fake the version number of this patch or install the pulse version that used it? Because I cannot use apt anything unless it matches what it wants.

You can hold a package with
sudo apt-mark hold libpulse0

doesn't work, still haults the process and says this.
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
libpulsedsp : Depends: libpulse0 (= 1:8.0-0ubuntu3.4) but 1:8.0-0ubuntu3.3
ppa1 is to be installed
pulseaudio : Depends: libpulse0 (= 1:8.0-0ubuntu3.4) but 1:8.0-0ubuntu3.3p
pa1 is to be installed
pulseaudio-module-x11 : Depends: libpulse0 (= 1:8.0-0ubuntu3.4) but 1:8.0-
0ubuntu3.3ppa1 is to be installed
pulseaudio-utils : Depends: libpulse0 (= 1:8.0-0ubuntu3.4) but 1:8.0-0ubun
tu3.3ppa1 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specif
y a solution)

Yes you do sudo apt-get -f install once and after that it should hold pulse0.

nope, then it continues to error and yelling about that I held broken packages. I just need to fake the version number. How can I do that. When I try apt -f install after holding just libpulse0, it removes all of pulse!

yes that happened too.  And beep will never work...
cannot access /dev/tty0 or /dev/vc/0. No such file or directory.

WSL is right now just for commandline development scenarios and clearly not ready for audio support.
For now I recommend you to install everything you need and patch libpulse0 as latest step.

Ok I found a way to patch libpulse0 without screwing the package dependencies. You only need to replace libpulsecommon shared library.
First make sure you have latest libpulse0 with sudo apt -f install
Then extract the .so file from the deb and replace the original
sudo dpkg -x libpulse0_8.0-0ubuntu3.3ppa1_amd64.deb .
sudo cp ./usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so /usr/lib/x86_64-linux-gnu/pulseaudio/

That's it. You only need to do this once and it should work at least until Ubuntu updates pulseaudio again.

Thanks Ono. I was going to suggest that but wanted to let your help play out. Good suggestion. At base the problem here is Canonical updated from 3.3 to 3.4 and the PPA needs updating. "Effort"

I've put up a new PPA for PulseAudio 8. Here's the libpulse0_8.0-0ubuntu3.4ppa1_amd64.deb that matters. Or do the usual:
sudo add-apt-repository ppa:therealkenc/wsl-pulseaudio
sudo apt-get update && sudo apt-get upgrade

@therealkenc could you update the ppa for bionic? it's impossible to install on bionic :(

The PPA is obsolete as of Windows 1809 aka build 17763 aka October 2018 Update (and Insider 17627 since March). Ref #486 (message).

Ah so they fixed the mutex error that was preventing it from running? Cool, I can close this now I guess.

@msftgits
$ sudo add-apt-repository ppa:therealkenc/wsl-pulseaudio; echo "$?"
 A one-liner change to  src/pulsecore/mutex-posix.c adding #undef HAVE_PTHREAD_PRIO_INHERIT to work around missing futex() surface in WSL.
 More info: https://launchpad.net/~therealkenc/+archive/ubuntu/wsl-pulseaudio
Press [ENTER] to continue or Ctrl-c to cancel adding it.

Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 http://ppa.launchpad.net/openjdk-r/ppa/ubuntu focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Ign:6 http://ppa.launchpad.net/therealkenc/wsl-pulseaudio/ubuntu focal InRelease
Err:7 http://ppa.launchpad.net/therealkenc/wsl-pulseaudio/ubuntu focal Release
  404  Not Found [IP: 2001:67c:1560:8008::15 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/therealkenc/wsl-pulseaudio/ubuntu focal Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
100


Code Formatting: use ALL_CAPS for all constants and #defines

This is a sub-issue of #11. Don't close #11 until all sub-issues are resolved.
All defines and compile-time constants should be in all caps.


Long and narrow text on data details page

Can we move the the paragraphs of text down a bit and have it go across the page a bit more, say up to where I've drawn the red vertical line?
This particular dropdown looks too narrow and too tall.

Move Available format section to the right (to the Access button).
Experiment a bit with the design. Keep the same logic as it's now when you have a big window but spread it bellow Available formats and Access button when the window becomes too narrow

formats moved, long description refactored.

I've viewed the following examples and these look much better. Thank you :)
https://data-registry.datlab.eu/en/collection/2
https://data-registry.datlab.eu/en/collection/19

Closing as Deployed.


Test the creation of multiple clusters

Once #259 is done it should be possible to create multiple clusters. We should test this to ensure it either works, or we fail gracefully.
Since more work will be required to support federation, I am making this a p2, under the assumption that this is not a 0.1 release feature.

this is important for ubernetes or other kubernetes federation projects


Add test for addition of lptokens

This file had all comments resolved in original branch.

@Chepelau checks have failed :/


[in_app_purchase] queryProductDetails returns empty product list

Steps to reproduce
I created multiple base plans, and tried to get the items with queryProductDetails.
However, it returns empty list, and no errors.
var ids = ['old','mimamori-public','mimamori-hidden']
debugPrint("queryProductDetails from ${ids}");
    final productDetailResponse =
        await InAppPurchase.instance.queryProductDetails(ids.toSet());
    debugPrint("productDetails ${productDetailResponse.productDetails.length}");
    debugPrint("pdr.error ${productDetailResponse.error}");

I've tried with 'com.appname.mimamori', 'com.appname.mimamori.old' and such, but nothing worked. (Actually have no idea which one should supposed to be the identifiers, item id? or id for the base plan?)
I have products in google play console as below.

Also, updated appbundle to google play console, and published open test version yesterday.
What else should I do??
Expected results
Return 3 base plans.
Actual results
I/flutter (12677): queryProductDetails from (old, mimamori-public, mimamori-hidden)
I/flutter (12677): productDetails 0
I/flutter (12677): pdr.error null
Code sample
Code sample
var ids = ['old','mimamori-public','mimamori-hidden']
debugPrint("queryProductDetails from ${ids}");
    final productDetailResponse =
        await InAppPurchase.instance.queryProductDetails(ids.toSet());
    debugPrint("productDetails ${productDetailResponse.productDetails.length}");
    debugPrint("pdr.error ${productDetailResponse.error}");

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
I/flutter (12677): queryProductDetails from (old, mimamori-public, mimamori-hidden)
I/flutter (12677): productDetails 0
I/flutter (12677): pdr.error null

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.19.2, on macOS 14.1.1 23B81 darwin-arm64, locale ja-JP)
    • Flutter version 3.19.2 on channel stable at /Users/tenna/developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision<PHONE_NUMBER> (7 weeks ago), 2024-02-27 16:51:22 -0500
    • Engine revision 04817c99c9
    • Dart version 3.3.0
    • DevTools version 2.31.1

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/tenna/Library/Android/sdk
    • Platform android-34, build-tools 33.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.86.0

[✓] Connected device (6 available)
    • SCG08 (mobile)            • RFCR71VND0N                              • android-arm64  • Android 13 (API 33)
    • Tenna’s iPhone11 (mobile) • 00008030-0012304A01D3402E                • ios            • iOS 17.4.1 21E236
    • tenna’s iphone15 (mobile) • 00008120-00120DDA1E10A01E                • ios            • iOS 17.4.1 21E236
    • Tenna’s iPad (mobile)     • d1802c9bcfe7b9b836383ca90361f9c15180f21e • ios            • iOS 17.4.1 21E236
    • macOS (desktop)           • macos                                    • darwin-arm64   • macOS 14.1.1 23B81 darwin-arm64
    • Chrome (web)              • chrome                                   • web-javascript • Google Chrome 123.0.6312.124
    ! Error: Browsing on the local area network for Tenna’s iPad (2). Ensure the device is unlocked and attached with a cable or
      associated with the same local area network as this Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Hi @ChurikiTenna
Which target platform are you seeing the issue? I checked this again with my own setup but couldn't see the issue, all products (subscriptions & in-app products) are counted correctly.
Could you try with package example to see if the issue persists? If it does, maybe the issue belongs to your test account (Gmail) on your test device. Please make sure it has been added to tester list on the console dashboard.

Thank you for the quick reply @huycozy !
I am testing with Android (Galaxy A32).
It works fine with iOS.
My gmail account is added as a tester.
Additional note: queryProductDetails  was working fine with the old subscription plan (I have now disabled, because I wanted change the subscription duration). After I added new base plans, queryProductDetails stopped working.
I tried to test the example project, but I got this error.

Could you share the kind of those products above? Are they subscriptions or in-app products?

I tried to test the example project, but I got this error.

It seems to be just a warning of Google Play Protect for app having a low targetSdkVersion, you can ignore it since it's not related to this issue here. You may continue by tapping on More details.


bso-vote addition to /bs

From: Thorru
Add format: text to /bs command
At time of raising
+25
-4

Please don't make github issues for bso-vote things, unless they are bugs, or OSB-related.


Multiple crashes in GlyphLayout

Hey!
I have multiple issues regarding GlyphLayout that is fairly common with users of my app, I have yet to be able to reproduce the problem, here are some stacktraces:
java.lang.NullPointerException
       at com.badlogic.gdx.graphics.g2d.GlyphLayout.setText(GlyphLayout.java:137)
       at com.badlogic.gdx.graphics.g2d.BitmapFontCache.addText(BitmapFontCache.java:482)
       at com.badlogic.gdx.graphics.g2d.BitmapFontCache.addText(BitmapFontCache.java:470)
       at com.badlogic.gdx.graphics.g2d.BitmapFont.draw(BitmapFont.java:207)
       at se.xxx.xxx.objects.BasicSquare.renderList(BasicSquare.java:291)

java.lang.IndexOutOfBoundsException: index can't be >= size: 1 >= 0
       at com.badlogic.gdx.utils.Array.get(Array.java:127)
       at com.badlogic.gdx.graphics.g2d.GlyphLayout.setText(GlyphLayout.java:197)
       at com.badlogic.gdx.graphics.g2d.GlyphLayout.setText(GlyphLayout.java:63)
       at se.xxx.xxx.objects.PlateAnimationHolder.startAnimation(PlateAnimationHolder.java:60)

java.lang.IllegalArgumentException: object cannot be null.
       at com.badlogic.gdx.utils.Pool.free(Pool.java:56)
       at com.badlogic.gdx.graphics.g2d.GlyphLayout.setText(GlyphLayout.java:197)
       at com.badlogic.gdx.graphics.g2d.GlyphLayout.setText(GlyphLayout.java:63)
       at se.xxx.xxx.objects.BasicSquare.renderList(BasicSquare.java:244)

I am not sure what causes this, but some of the issues seem to stem from wrapping the font, and some others seem to stem from "color" being null for some unknown reason. Hopefully someone will be able to help me with this since I'm at a loss.
LibDGX version: 1.6.1 release
Platform: Android

Need more information, LibGDX version at least.

Latest (1.6.1) release was used when these errors occured, and the platform is android.
The frequency of these errors are somewhat arbitrary and as to my knowledge there's no way of reliably replicating the issues.

This is an issue tracker. Please use the forum or irc if you need help using the api. If you did find an issue with libgdx then include enough information to reproduce the issue (e.g. create an sscce.org) and how you verified that it is indeed an issue with libgdx and not your code.

As I mentioned earlier, there's no reliable way to reproduce the issue on all devices, it seems like only a handful of them are affected.
I've made sure not to make changes to fonts/glyphlayouts outside the game loop, the game functioned perfectly previous to adding glyphlayouts, and I used them exactly as the examples in the repo.
But I guess we'll have to abandon this until I've found a device that can reproduce this isse reliably.

Im facing an exception similar to the 2nd posted reliably, on desktop, when showing a dialog with any title with 2 or more chars (with a single char it doesnt crash).
Exception in thread "LWJGL Application" java.lang.IndexOutOfBoundsException: index can't be >= size: 0 >= 0
at com.badlogic.gdx.utils.FloatArray.get(FloatArray.java:104)
at com.badlogic.gdx.graphics.g2d.GlyphLayout.truncate(GlyphLayout.java:262)
at com.badlogic.gdx.graphics.g2d.GlyphLayout.setText(GlyphLayout.java:153)
at com.badlogic.gdx.scenes.scene2d.ui.Label.layout(Label.java:199)

In my case, for some reason it tries to truncate when it didnt need to. I found out that "targetWidth" is coming with 0 in the Label->GlyphLayout->setText->truncate flow for some reason, so I believe this causes the truncate code to crash (or maybe it's unrelated).
The part of code that crashes is:
(GlyphLayout.java, 1.6.1)
run.glyphs.clear();
run.xAdvances.clear();
run.xAdvances.addAll(truncateRun.xAdvances);
run.width += truncateRun.xAdvances.get(0); <---- crashes here
because "truncateRun" is empty (xAdvances.size == 0).

Could you please provide a http://sscce.org/ ?

Workaround: disabling truncate will stop the crash.
label.setEllipsis(false);
The default is false, but probably the Dialog class sets it to true somewhere, so we just set it back to false.
So as for the SSCCE, maybe simply turn ellipsis on for a widthless Label?
I will try here on another project and write back.

Ok, after 2 hours trying to reproduce, I think I've found the culprit: the font texture doesn't have the . (dot) character, so when it tries to calculate the truncate stuff using the ellipsis it fails somewhere since there are no valid glyphs (0 length, and he tries to read the 1st element).

I've written a sample project, is there somewhere standard where I can upload it?
Basically this is the relevant code, but you need to create a font without the . (dot) character:
BitmapFont fontWithoutDotChar = new BitmapFont(Gdx.files.internal("font_dummy.fnt"), Gdx.files.internal("font_dummy.png"), false);

Label thisLabelWillCrash = new Label("Any 2 or more chars string will crash", new LabelStyle(fontWithoutDotChar, Color.BLACK));
thisLabelWillCrash.setEllipsis(true);

// This is needed to crash, or it won't force the truncate
// Note that on Dialog this line doesnt exist, but something there forces the Label width to 0 which has the same effect
thisLabelWillCrash.setWidth(10f);

Table containerToLabel = new Table();

// This is needed to crash: "addActor" instead of "add", the same way it's done in the Dialog class
containerToLabel.addActor(thisLabelWillCrash);

containerToLabel.pack();

And why should this be an issue with libgdx?
It's a problem with your font and not with libgdx.

 Have you even taken the time to read the bug description?
I put the chars I want in my font.

So, having the '.' glyph in your font corrects the issue then? Perhaps libgdx can verify that the ellipsis glyph(s) exist in the font before attempting to use them?

That is necessary, but not sufficient I believe. There may be other problems around (since in 1.6.0 this didnt crash).
Yes, the truncate method can't simply assume the latin dot character exists, because, well, it might not. Maybe allow the Label to set which string should be used for the ellipsis, and/or simply truncate without ellipsis if the dot (or any char in the passes ellipsis string) doesnt exist.
But something else I noticed: adding the Label to the Table using "addActor" makes the Table validate() method skip the label to fix its size, but the layout() method kicks in for it (for all its children), which cause the truncate to run on a 0-width Label. I dont know if this is expected behavior or not, but I found these 2 things odd (1: that the Dialog adds the Label as a children, and not as a cell, and 2: that there is a different treatment for children and for cells inside the Table layout() method).
Best

Setting the ellipse character seems reasonable. One thing at a time, this issue is already derailed enough.  You should open up a separate issue for the ellipse character issue, and any other unrelated issue that is suitable for the issue tracker.

Ok, I will do that now! Best

This original issue looks to be a misuse of threading, if a self executing example is provided that shows an issue with LibGDX we can reopen.


Added getter for _prefix field which allows applications that want to check if the prefix has been set or not.

The use case is:

Some initialization code configures StatsdClient with MetricsConfig instance
Some other part of the application wants to publish the metrics with the now configured client

If the publisher wants to check that the prefix has been set or not, currently there is not way to do that. It can be important to be able to check if prefix was set because it can potentially change the format of the published metric name and thus cause the metrics database to generate improper graphs.
By allowing the getter to retrieve the prefix, the application can intelligently decide whether or not to publish the metric or to configure the correct prefix first.

Hi David! Thanks for the PR.
Can I ask more about the use case? The first part makes sense, but why would the publisher need to check if the prefix is set or not? It's usually set at MetricsConfig setup during app startup (as you mentioned) and contains a value to delineate the environment (dev/prod/region/etc). Are you changing the prefix each time you send stats? Is it somehow getting unset for you between setting up the the MetricsConfig setup and going to use it?

Yes, that's exactly right, the configuration is set on application startup and the prefix we use is basically what you describe (dev/prod/region/etc). The use case we ran into is, we have a library (pulled in via nuget) that we use for communication with services, it's a generic rest client that contains within it, statsd metrics code so our applications don't need to worry about publishing outbound call metrics, and let this library collect counter and timer metrics for all outbound calls.
Basically, in this library we want to know  (we want to be 100% sure) that the application has already configured statsd and if it hasn't we want to not allow publishing of outbound call metrics because without the proper prefix metrics will be published with incorrect name which leads to confusion when we try to roll up and plot these metrics.
So from the libraries standpoint, there is no way, right now, to determine that the prefix had been set already. If there was a getter for this field, then we can read the prefix field and see if it's null/empty/whitespace or if it does not match some regex pattern which would indicate to us that it's following our established metrics name standard.
To answer your question, no we don't want to be able to change the prefix arbitrarily, we want to be able to read it, and make sure it's been configured, and then decide whether or not to publish metric or to ask caller to configure statsd first.

Thanks for explaining, that makes more sense. It sounds like you really want to check if the MetricsConfig class has been setup yet, correct? The prefix being set is incidental to that since you set the prefix when the class gets setup. Can I suggest an IsConfigured property that checks for _statsD == null instead? I think that would enable this use case more generally, ie for others that don't use the prefix property.

Makes sense, I do like the IsConfigured property better, I will go ahead and make this change.

Where you able to make that change @dkhanaferov?

@DarrellMozingo Wow I totally forgot about this PR. I did however just make the changes and updated this PR. Check it out.
Thanks,

@DarrellMozingo Just made your suggested changes.

Thanks David, much appreciated! I'll push this out to NuGet tomorrow.


Changing colors when the title changes.

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name:  OS X 10.12
Hyper.app version: 1.3.3
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/rahulpilani/dc9d489fec7cd1376e5ec9e334569963
Relevant information from devtools (CMD+ALT+I on Mac OS, CTRL+SHIFT+I elsewhere):
The issue is reproducible in vanilla Hyper.app:

Issue
I have attached the gist I have so far. I want to change the terminal colors every time the title has a particular sequence of characters, in this case "aws.prod". I can't find an easy way to attach a class to the Terms, TermGroup or Term component, and not even sure it's the right way. Some guidance would be helpful. I have limited knowledge of React and ES6, so I might be missing something silly.

Hey there, please try again with the new Hyper v2 release and open a new issue if the problem stills exists. Thank you!


Keyboard controls for selecting individual cells

This issue will just cover moving between individual cells. Issue #33 will address selecting ranges once those have been implemented.


RNG-158: Update minimum Java version from 1.6 to 1.7

Coverage increased (+0.1%) to 99.758% when pulling ec236bf1bce68fc454bc97ab0f245a3b30048822 on aherbert:update-RNG-158 into 92251f05255753efca80f8318fa85b3fe110b013 on apache:master.


Ensure pagination params are integers

When page and perPage are taken from the url query, they will be strings, this can cause problems downstream in the rest client, which expects ints

Thanks!


Fixing the bug: audio stop working for other apps.

Fixing the bug: https://linear.app/dailyco/issue/ENG-2976/audio-stop-working-for-other-apps
When entering in the idle state, the microphone was been muted, make that unavailable to all the other apps. It has also been created a protection to release the audio focus in the case the app is close.
Steps to make sure It is working:

Open our DailyPlayground app;
Join a conference (open your mic and camera);
Leave the conference;
Open whatsapp;
Try to record an audio at whatsapp;
See that the audio has been sent with audio;

looks good 👍🏻


⚠ ClamAV has degraded performance

In a8f2ca0, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 529 ms

Resolved: ClamAV performance has improved in c30fe4d.


Quill link issue

Hi,
Is here a problem?
https://github.com/area17/twill/blob/b32623b59c5bee4094f072419fed33067698cbe6/frontend/js/libs/Quill/QuillConfiguration.js#L138-L144
I noticed that links to the same site has target="_blank"
Value of window['TWILL'].STORE.form.baseUrl is 'https://domain.com/{language}/{preview}/pages/'
Thank you!

Hey @iedex
Thank you for reporting this, there indeed seems to be an issue, a fix is added in https://github.com/area17/twill/pull/1649


sort pages

2 possible ways of sorting:

mergesort the linked list
create an array of post types (from the linked list, it's easy to just malloc the right size and then loop through the array and write the corresponding post) and quicksort them

Also can deal with #3 at the same time.

Done in 2641476d66e91c49a9bf24565f3d2dc560c4fa88.


[ARM] build on ArchLinuxARM

[ 75%] Generating ../backend/sublime/region_generated.go
# lime/3rdparty/libs/rubex
/usr/bin/ld: /home/odroid/code/go/src/lime/build/dist/lib/libonig.a(regerror.o): relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/home/odroid/code/go/src/lime/build/dist/lib/libonig.a: error adding symbols: Bad value
collect2: Fehler: ld gab 1 als Ende-Status zurück
CMakeFiles/fix.dir/build.make:79: recipe for target '../backend/sublime/region_generated.go' failed
make[2]: *** [../backend/sublime/region_generated.go] Error 2
CMakeFiles/Makefile2:133: recipe for target 'CMakeFiles/fix.dir/all' failed
make[1]: *** [CMakeFiles/fix.dir/all] Error 2
Makefile:75: recipe for target 'all' failed
make: *** [all] Error 2

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/1439454-arm-build-on-archlinuxarm?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F282001&utm_medium=issues&utm_source=github).

My attempts at getting the html-frontend working on an ARM Chromebook (Acer Chrombook 13) running Xubuntu 14.04 armhf have been so far unsuccesful.
I'm not quite sure if its because I'm on ARM or if I'm just ignorant to go, as my ignorance to go is a matter of fact not speculation. I can't get any of the other frontends working either, and it's rather dissapointing, as my other adventures in compiling software for ARM have gone considerably well so far.
user@chrubuntu:~/golang/src/github.com/limetext/lime/frontend/html$ go run main.go
SIGILL: illegal instruction
PC=0xb6af93d2
Sad Times

@jimson-jimson what are the result of tests?

not working on ARM

This is https://github.com/limetext/support related issue.


[UI] Unavailable, previously connected Kubernetes clusters causes unexpected error

Current Behavior
Measure UI crashes with an unexpected error when previously previously connected communities customers are no longer available.
 Meshery UI refreshed on System--> Environment page
Screenshots/Logs

Environment

Browser: Chrome
Host OS: Mac
Meshery Server Version: stable-v0.6.0-rc.6b
Platform: local build

Contributor Guides and Resources

🎨 Wireframes and designs for Meshery UI in Figma
🖥 Contributing to Meshery UI
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@MUzairS15 FYI

Is anyone working on that issue?..If not can I?


Add basicAuth to the Unirest.config()

I need to set the authentication parameters on every request. It seems this feature is missing from the configuration options. It would be great to not have to retype this for every request to the same service.

Done. 2.1.01 will me in mvn central in about 20 minutes. I realized after I deployed it that it has a small bug where you could set 2 default basic auth headers. So I have that patched but I'm looking for something else to throw in a 2.1.02 release. So just don't set it twice or you'll get 2.
Note that setting a basicAuth on a request will override the default config (as is the case with most things in the request).

 Just tried it out and works perfectly! Thanks!


fix #2086: pagination chevron alignment

Fixes #2086 by setting vertical-align on the icon to middle, and adjusting the icon size slightly to match the font size of the pagination numbers.

Thanks!


Initial draft cosmos data extractor

@Herman-Wu @scottveirs I finally had a cycle this morning to put together an extractor to pull the metadata from Cosmos. This uses the Microsoft.Azure.Cosmos library from NuGet to connect to the Cosmos DB SQL API account. Currently, it allows users to paginate through the results, but when I have another spare cycle, I can save the results to CSV (or another output type). Please let me know if these fields capture what is needed for training (or whether I should parse it down further).
Thank you!

@pastorep what should we do with this PR now?

@dthaler. Don't think this will affect any of the existing UI/APIs. Might be worth holding onto for future reference since is proports to export the data in a CSV format.


EXE002 on file systems that do not support executable bit

This issue is somewhat releated to #5445 and #10084 but applies to more generic version of reported issues.
In general on NTFS and on FAT file systems executable permissions are not avialable by default resulting in all files being executable. What I noticed is that the problem is not as simple as avoiding checking this rule on windows / wsl etc. as NTFS and FAT system may also be used for drives which are shared between Windows and Linux OS.
In my case, I have an exFAT drive shared between Windows 11 and Ubuntu 24.04 and all files appear as executable. When I am running ruff on Ubuntu 24.04 EXE002 is triggered.
-rwxr-xr-x  1 argmaster argmaster   2543 Aug 16 19:53 conftest.py
drwxr-xr-x  3 argmaster argmaster 131072 Aug 16 20:29 examples
drwxr-xr-x 11 argmaster argmaster 131072 Aug 16 19:56 gerberx3
-rwxr-xr-x  1 argmaster argmaster     35 Aug 16 19:53 .gitignore

Hence I would recommend adding some additional heuristic to detect if filesystem used supports executable permissions. This should only be needed on Unix family of operating systems.
Simple, although not perfect way to detect if file system supports executable bit could be to create temporary file next to a python file we are checking and make an attempt to toggle executable bit on it. Handling symlinks could get tricky though. I am not knowledgable enough to suggest better solution unfortunately.
Python 3.12.0
ruff 0.5.1

Thanks for the detailed write up. Yes, this is a known limitation and we discussed some solutions in https://github.com/astral-sh/ruff/issues/10084 I'll merge the two issues


Persistent contexts

Hello
How to setup Persistent contexts ?
I want use my cache, cookies, session on my default profile

have you try to set userDataDir?

have you try to set userDataDir?

yes but not working

try to use until the profile path, if default maybe you can try "/root/.config/google-chrome/Default"

try to use until the profile path, if default maybe you can try "/root/.config/google-chrome/Default"


Integration Test - Release - 2019/06/20 23:07:51

Auto create for integration test. IssueCommandFlow

#pri1

Just type '#pri3'

#pri2

#pri3

#assign PRMergerTest1

PRMergerTest1 is not a valid GitHub ID, or is not a collaborator on this repo.

#assign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#reassign PRMergerTest2

GitHub user PRMergerTest1 has been removed from the MicrosoftDocs organization, so they were automatically removed as an assignee.

#reassign NonAllowedUser

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

NonAllowedUser is not a valid GitHub ID, or is not a collaborator on this repo.

#please-close


Unable to deploy to Vercel.app

Everything is in the title, webapp cannot be deployed to Vercel (it is built without error but is doesn't work)

Oh, you can check what's wrong with vercel logs

Vercel does not support WebSockets, so it is impossible to deploy the app here since it relies on websockets.


Stack quality: kernel stack is not always in the right merged stack

I've also seen this, which might be an instance of the same problem

0x0 addresses are something that the Parca server does. It throws away the address when the address does not correspond to any range of any available mapping.


Using mountSuspended() with a component using <script setup> and #import makes an error

Environment
Working directory: /home/projects/jvmibwmjx.github
Nuxt project info:

Operating System: Linux
Node Version:     v18.20.3
Nuxt Version:     3.12.2
CLI Version:      3.12.0
Nitro Version:    2.9.6
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      devtools
Runtime Modules:  -
Build Modules:    -

Reproduction
https://stackblitz.com/edit/github-mmtufx?file=app.vue
Describe the bug
Let's say there is a root component which I want to mount using @nuxt/test-utils's mountSuspended() API. If this component

uses <script setup>
imports composable API from Nuxt #import (i.e. useRouter, useRoute, ...)

it makes an error below and breaks entire test.
stdout | createSuspenseBoundary (/home/projects/jvmibwmjx.github/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:1451:43)
<Suspense> is an experimental feature and its API will likely change.

stderr | warn$1 (/home/projects/jvmibwmjx.github/node_modules/@vue/runtime-core/dist/runtime-core.cjs.js:50:13)
[Vue warn]: Cannot mutate <script setup> binding "useRouter" from Options API.
  at <MountSuspendedComponent >
  at <MountSuspendedHelper>
  at <Anonymous ref="VTU_COMPONENT" >
  at <VTUROOT>
[Vue warn]: Unhandled error during execution of render function
  at <MountSuspendedComponent >
  at <MountSuspendedHelper>
  at <Anonymous ref="VTU_COMPONENT" >
  at <VTUROOT>

Only if the root component meets the condition above, the issue occurs. As you see in the reproduction, if you use #imports and <script setup> in child elements it work fine.
The app itself is built and works fine if I run it.
You can reproduce the issue with the repository link above.
Additional context
No response
Logs
No response

Is there any update on this? I'm getting a very similar error in my tests, and the workaround above does not seem feasible to be included in a simple test.

I am running into the same issue. It's the only component/test running into this, despite all of them using <script setup lang="ts">.
<script lang="ts" setup>
const {
  label,
  error,
  helpText,
  id = 'input',
} = defineProps<{
  label?: string;
  error?: string;
  helpText?: string;
  id?: string;
}>();
const modelValue = defineModel<string | number>();
const attrs = useAttrs();
</script>

[Vue warn]: Cannot mutate <script setup> binding "error" from Options API.

Possibly the same issue as #744? Any updates for this or that?
@danielroe

Related bug report: https://github.com/nuxt/test-utils/issues/986
@ngajhede In your case it's breaking since you're using the prop name error.

resolved in https://github.com/nuxt/test-utils/commit/4e9f34b96ac5432cc9429aadfa07c3503dffbf15


ompl planer in MTC fails to execute.

Hi,
I have weird problem in MTC ROS2 Humble branch.
Problem is created only while executing ompl path, on pilz everything works as it should.
I tried setting TimeOptimalTrajectoryGeneration manually in properties of planer to match my moveits config.
In rviz and by moveit api ompl works fine, problem is only in MTC.
my code:
 (...)
	// pilz planner
	pilz_planner = std::make_shared<solvers::PipelinePlanner>(node_, "pilz");
	pilz_planner->setProperty("goal_joint_tolerance", 1e-5);
	pilz_planner->setPlannerId("PTP");
	pilz_planner->setMaxAccelerationScalingFactor(acc);
	pilz_planner->setMaxVelocityScalingFactor(vel);

	// ompl planner
	ompl_planner = std::make_shared<solvers::PipelinePlanner>(node_, "ompl");
	ompl_planner->setProperty("goal_joint_tolerance", 1e-4);
	ompl_planner->setPlannerId(ompl_planner_);
	ompl_planner->setMaxAccelerationScalingFactor(acc);
	ompl_planner->setMaxVelocityScalingFactor(vel);

      (...)
	        {
		        auto current_state = std::make_unique<stages::CurrentState>("current state");
		        task_->add(std::move(current_state));
	        }
	       {
			auto fallbacks_conectors = std::make_unique<Fallbacks>("Fallbacks to ready");
			fallbacks_conectors->properties().configureInitFrom(Stage::PARENT);
			{
				auto stage = std::make_unique<stages::MoveTo>("move to ready ompl", ompl_planner);
				stage->setGroup(group_);
				stage->setGoal("ready");
				stage->restrictDirection(stages::MoveTo::FORWARD);
				fallbacks_conectors->add(std::move(stage));
			}
			{
				auto stage = std::make_unique<stages::MoveTo>("move to ready pilz", pilz_planner);
				stage->setGroup(group_);
				stage->setGoal("ready");
				stage->restrictDirection(stages::MoveTo::FORWARD);
				fallbacks_conectors->add(std::move(stage));
			}

			task_->add(std::move(fallbacks_conectors));
		}  (...)

While executing plan i get this error:

[move_group-2] [INFO] [1717170120.129316713] [moveit_task_constructor_visualization.execute_task_solution]: Executing TaskSolution

[move_group-2] [INFO] [1717170120.159596949] [moveit.plugins.moveit_simple_controller_manager]: Returned 2 controllers in list

[move_group-2] [INFO] [1717170120.159778197] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: sending trajectory to iiwa_arm_controller

[ros2_control_node-1] [INFO] [1717170120.159907682] [iiwa_arm_controller]: Received new action goal

[ros2_control_node-1] [ERROR] [1717170120.159947347] [iiwa_arm_controller]: Time between points 0 and 1 is not strictly increasing, it is 0.000000 and 0.000000 respectively

[move_group-2] [INFO] [1717170120.160058743] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: iiwa_arm_controller started execution

[move_group-2] [WARN] [1717170120.160072314] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: Goal request rejected

[move_group-2] [ERROR] [1717170120.160099559] [moveit.simple_controller_manager.follow_joint_trajectory_controller_handle]: Goal was rejected by server

[move_group-2] [ERROR] [1717170120.160110414] [moveit_ros.trajectory_execution_manager]: Failed to send trajectory part 1 of 1 to controller iiwa_arm_controller

[move_group-2] [INFO] [1717170120.160114068] [moveit_ros.trajectory_execution_manager]: Completed trajectory execution with status ABORTED ...

[pick_place_demo-4] [ERROR] [1717170120.163506721] [moveit_task_constructor_executor_94306724871968]: Goal was aborted or canceled

According to the error message, the controller complains about non-increasing time between waypoints 0 and 1.
This is a problem of the timing generation in MoveIt. Not an MTC issue.

Hi, thanks for response. I know it's because of problem with ompl timings, but this problem for me is exclusive for MTC.
Nevertheless, I will try to find answer on ompl thread.

I don't think this is OMPL-related. Only the time parameterization is failing.

@LordAbraham  I had a very similar issue and I am not sure if it s relevant to you, but when you create your ros node make sure to override parameters from defaults
     rclcpp::NodeOptions options;
    options.automatically_declare_parameters_from_overrides(true); //Not having this caused my planner to give zero time to all trajectory points - so cartesian planners work but OMPL plannners do not.

    std::shared_ptr<CustomMtcPipeline> mtc_node = std::make_shared<CustomMtcPipeline>(options);

I also encountered this issue. How did you solve it?


fix: Fixes git over azure devops Fixes #11705

Fixes #11705
Verification
Tested it in a local dev environment, the fix is the one suggested in https://github.com/argoproj/argo-workflows/issues/11705#issuecomment-1793778023

Hey @clkamp ,
the CI is failing due to some flaky tests that were already fixed and merged to master, can you please merge them?

@agilgur5 Could you review and possibly merge this?

Thanks for your review and sorry for my late reply.
For the moment I just included your suggestion, you are right its much more future proof. I'm not sure how to test for azure devops Repos and all other places that applied a fix for this also did not check for it.
Would you be fine with accepting it in this state or should I further investigate how to limit the fix to azure repos?

Would you be fine with accepting it in this state [...]?

No, as it can cause issues for and unexpected behavior for other providers.
If it's running on all repos, it should at the very least be behind an environment variable and not the default behavior.

I'm not sure how to test for azure devops Repos

You can check the URL in a.Repo for an Azure DevOps URL, no?

and only set it per request as well.
Could you also add a unit test for this?

You also missed these two other parts from my previous review comment

Hi all any news on getting this released?
I am also waiting on this to be fixed :).
br


New version: BinaryBuilder v0.2.0

Registering package: BinaryBuilder
Repository: https://github.com/JuliaPackaging/BinaryBuilder.jl
Created by: @staticfloat
Version: v0.2.0
Commit: 6a8cdb4ef88832ff6e25be509cef78c1f90dedfb
Reviewed by: @staticfloat
Reference: https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/545

I recommend that you add the upper-bounded compat entries as requested by the automerge bot.
You may find CompatHelper.jl helpful.
[noblock]

Can I force the registrator bot to use a new base sha to update this PR?

Yes, just retrigger it on your new commit.


Fix typos in storage-schema.md

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

LGTM :+1:


fixed pathfinder game thumbnail

PR Description 📜
Please include summary related to the issue you have fixed and describe your PR in brief over here by specifying the issue number on which you were working below
Fixes #3758

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[ ] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images

Add your screenshots(Optional) 📸
Before bug fix:-

Post Bug Fix:-

Thank you soo much for contributing to our repository 💗

Thank you @ansh-h-mehta ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@ansh-h-mehta resolve merge conflicts !

@kunjgit I've resolved it.

@kunjgit I've resolved it.

Sync your gamesData.json file with the GameZone repo and then add your game entry their