text:
this.stepper.next() Causes the page to reload and again start from first Step

Hi , I have implemented basic Stepper module , but the issue is
when i click on next and it goes from Step 1 to Step 2 the page reloads itself and again it starts from step 1 .
Code 👎
component.ts
import { Component, OnInit } from '@angular/core';
import Stepper from 'bs-stepper';

@Component({
  selector: 'app-data-migration',
  templateUrl: './data-migration.component.html',
  styleUrls: ['./data-migration.component.css']
})
export class DataMigrationComponent implements OnInit {

  name = 'Angular';
  private stepper: Stepper;

  next() {
    this.stepper.next();
  }

  onSubmit() {
    return false;
  }

  constructor() { }

  ngOnInit() {
    this.stepper = new Stepper(document.querySelector('#stepper1'), {
      linear: false,
      animation: true
    })
  }

}

Component.html

          <button class="step-trigger">
            1
            Email
          </button>

          <button class="step-trigger">
            2
            Password
          </button>

          <button class="step-trigger">
            3
            Validate
          </button>

        <form (ngSubmit)="onSubmit()">

              Email address
              <input type="email" class="form-control" id="exampleInputEmail1" placeholder="Enter email" />

            <button (click)="next()" class="btn btn-primary">Next</button>

              Password
              <input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password" />

            <button (click)="next()" class="btn btn-primary">Next</button>

            <button type="submit" class="btn btn-primary mt-5">Submit</button>

        </form>

give button type="button" and try

Yes , it worked for me. Thamks @manumohant

authors: ameysonawane manumohant rachidkarra

repo: Johann-S/bs-stepper


text:
Add unit test

Something with Karma + Jasmine and Code coverage

Closed by: #13

source: gharchive/issue

license: MIT

license_type: permissive

license_source: github-api


text:
seems like it does not work with sierra

Hi,
I'm using Sierra version 10.12.3 Beta. and when I select the aerial screensaver it says
'You cannot use the Aerial screen saver with this version of macOS. please contact the vendor to get a newer version of the screen saver'
thanks,

It's a bug in OSX/macOS.
The screensaver itself should launch and run okay.
The bug should just affect the preview in System Preferences. If you select Aerial, close System Preferences, then re-open System Preferences, you should find that the preview works okay.
Closing as a duplicate of #269 .

authors: alistairmcmillan tolgaguver

repo: JohnCoates/Aerial


text:
Se ajusta el método ajuste.

En el método ajustar del vector forma 1 se podía ahorrar un if ya que con el while lo iba a volver a preguntar exactamente lo mismo.
Cambié ese condicional un poco de posición para cuando va a hacer el proceso de ajuste en caso de que el contador de ceros sea mayor a 0 (cuando hay 0 a la izquierda) empiece a hacer el proceso de ajuste.
También, hay algo que no era del todo necesario dependiendo de como se manipule el vector. Si no se escribe la linea vec[j] = 0; dentro del for, va a quedar guardado en esa posición números que ya no hacen parte del vector, así que en caso de que manipulemos el vector con el método lenght, podríamos estar manipulando esos datos que en realidad ya no deberían estar ahí, pero si lo seguimos manipulando como lo hemos venido haciendo (vec[0]+2) no hay problema, solo algo que me pareció interesante plantearlo.

Pero en caso de que llegue un vector que no necesite ser ajustado, no va a pasar el while que empieza a hacer el conteo de ceros, por lo tanto, no va a hacer ningún cambio. (El en lugar de hacer un if + while, se hace un while el cual verifica también si el vector necesita ajustarse).

source: gharchive/pull-request


text:
Unbox a JSON with dynamic nested objects

First of all thank you for such a great library!
I have a question regarding a JSON with dynamic nested objects.
JSON:
      "type": {
        "id": 14,
        "caption": "Liquor stores",
        "code": "",
        "parent": {
          "id": 1,
          "caption": "Food and Drink",
          "code": "food_and_drink",
          "parent": ""
        }
      },

Where each "parent" can also have a parent. Parents are dynamic so it can easily be 3-5 parents deep.
How can one  unbox this JSON?
Also I don't know how to correctly 'unloop' my model..
struct Foo {
    let type: Type
}

struct Type {
  let id: Int
  let code: String
  let caption: String
  let parent: Type?   // <-- infinite loop here...
}

Would be very thankful if anyone can help me.

@grundmanise Happy you like Unbox 🎉
If you have recursive references, they need to be reference types (classes). Instead of using a struct for Type, you need to use a class. Then, make Type conform to Unboxable and you should be good to go.

When I use it like this:
struct Foo {
    let type: Type
}

extension Foo {
   init(unboxer: Unboxer) throws {
      self.type = try unboxer.unbox(key: "type")
   }
}

final class Type: Unboxable {
    var id: Int
    var code: Int?
    var caption: String
    var parent: PlaceType?

    init(unboxer: Unboxer) throws {
        self.id = try unboxer.unbox(key: "id")
        self.code = unboxer.unbox(key: "code")
        self.caption = try unboxer.unbox(key: "caption")
        self.parent = unboxer.unbox(key: "parent")
    }
}

let foo: [Foo] = try unbox(dictionary: JSON as! UnboxableDictionary)

with the JSON:
      "type": {
        "id": 14,
        "caption": "Liquor stores",
        "code": "",
        "parent": {
          "id": 1,
          "caption": "Food and Drink",
          "code": "food_and_drink",
          "parent": ""
        }
      },

print(foo) prints empty Type object.

@grundmanise You can't unbox a dictionary into an array. You can either unbox an array of dictionaries into an array, or start unboxing a dictionary from a given key/keyPath into an array. In this case, update your code to:
let foo: Foo = try unbox(dictionary: JSON as! UnboxableDictionary)

@JohnSundell oh, sorry, that's a typo. Actually it was my inattention.. because print does not print nested structures.. when I use dump everything ok. Thank you for help and directing on the right path.

@grundmanise No problems, happy it worked out 👍

authors: JohnSundell grundmanise

repo: JohnSundell/Unbox

license: mit

license_source: bigquery


text:
First website sections

Change the name of the feature branch. Branch contains the first two section of my portfolio website using this figma design - https://www.figma.com/file/l7SqJ3ZfkAKih9sFxvWSR4/Microverse-Student-Project-1?node-id=48%3A988&t=hf3TvzQmi2NAAjbu-0

Merge feature branch into the master branch


text:
Option to set hires email to separately

To allow use of non-user assigned hires email addresses e.g. trevs.tech@durham.ac.uk

This should now be implemented

repo: Jon-Salmon/Durham-Hires


text:
🛑 Homepage is down

In 29dcfb5, Homepage (gymnasium-allermoehe.hamburg.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 19f6f79.

repo: JonasSchaber/GymAll


text:
🛑 Homepage is down

In 931dea6, Homepage (gymnasium-allermoehe.hamburg.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Homepage is back up in 9428228 after 12 minutes.

repo: JonasSchaber/uptime


text:
(OD YOUTUBERA TOOMCIOZIOMCIOO)

Gra żrę bardzo dużo pamięci, z czego nie da się jej nagrywać. Taką informację dostałem.

Więcej - ścina się na starych kartach graficznych. Jakby możliwy był powrót wyboru ustawień graficznych na początku włączania gry, może zażegnałoby to problem.

Z tego co czytałem, to Unity w nowej wersji wywaliło launcher, który pozwalał na zmianę rozdzielczości i jakości.
Więc jedyna opcja to czekać aż to będzie zaimplementowane w opcjach in-game

Żeby być bardziej precyzyjnym: problem miałem z wersją 0.5.0a12.
Tutaj link do początku transmisji live, w której ujawniły się wszystkie problemy: https://youtu.be/QGjaVZ0k8zo?t=3929
Tutaj można zobaczyć, jakie miałem statystyki live'a w OBS od momentu odpalenia OSJ: https://youtu.be/QGjaVZ0k8zo?t=5007
Karta graficzna, której używałem, to Intel UHD Graphics 620. Grało mi się w miarę porządku, ale na streamowanie się nie nadawało xD


text:
Warning message during Gitleaks scan on pull requests

We recently started receiving this warning when gitleaks runs during PR builds.
##[warning]For prevalidation/smart scanning mode, only 'Git' is supported as repository type. This repository type is 'TfsGit'
I believe it might be related to the changes from earlier today: https://github.com/JoostVoskuil/azure-devops-gitleaks/pull/32
Is there an additional option we need to set or is this a bug in the extension?

Hi @rrudduck sorry this is my mistake (never work on this when you are tired ;))
Can you check if the issue is solved? Thank you

It looks good - thank you!

authors: JoostVoskuil rrudduck

repo: JoostVoskuil/azure-devops-gitleaks


text:
Subcommands don't work

CommandAPI version
5.12
Minecraft version
1.16.5
Describe the bug

We want to make the following:
/playershop advertise lore remove
/playershop advertise lore <greedy text>

Expected behavior
The equivalent of this:
new CommandAPICommand("playershop")
  .withArguments(new LiteralArgument("advertise"))
  .withArguments(new LiteralArgument("lore"))
  .withArguments(new MultiLiteralArgument("remove", "reset", "delete"))
  .executes((sender, args) -> {})
  .register();

new CommandAPICommand("playershop")
  .withArguments(new LiteralArgument("advertise"))
  .withArguments(new LiteralArgument("lore"))
  .withArguments(new GreedyStringArgument("text"))
  .executes((sender, args) -> {})
  .register();

Same thing happening for me. Hope there's a fix soon

I'm going to say this is "softly" working as intended.
If we have the following code:
new CommandAPICommand("playershop")
	.withSubcommand(new CommandAPICommand("advertise")
		.withSubcommand(new CommandAPICommand("lore")
			.withArguments(new GreedyStringArgument("lore"))
			.withSubcommand(new CommandAPICommand("reset")
				.withAliases("delete", "remove")
				.executes((sender, args) -> {
					System.out.println("A: " + Arrays.toString(args));
				})
			)
			.executes((sender, args) -> {
				System.out.println("B: " +Arrays.toString(args));
			})
		)
	)
	.register();

This means we have the following tree
playershop
└── advertise
    └── lore
        ├── lore
        │   └── reset
        │   │   └── (executes)
        │   └── delete
        │   │   └── (executes)
        │   └── remove
        │       └── (executes)
        └── (executes)

This straight up doesn't work because GreedyStringArgument("lore") is present, and a GreedyStringArgument has to be a leaf node in the tree.
One could argue that the tree should look like this:
playershop
└── advertise
    └── lore
        ├── lore
        │   └── (executes)
        └── (executes)
            └── reset
            │   └── (executes)
            └── delete
            │   └── (executes)
            └── remove
                └── (executes)

But the CommandAPI hasn't implemented it like that. If you'd like more fine-tuning to your tree data structure, feel free to use the new CommandTree class which was introduced in 7.0.0, or explicitly declare each path using the normal command system (i.e. not using .withSubcommand())

repo: JorelAli/CommandAPI


text:
[Need update] Snapchat::$cache

Hi, i've got a problem with the api:
PHP Notice:  Undefined property: Snapchat::$cache in /home/vance/SnapchatAPI/php-snapchat/src/snapchat.php on line 234
PHP Fatal error:  Call to a member function get() on null in /home/vance/SnapchatAPI/php-snapchat/src/snapchat.php on line 234
I did not have this error before. The piece of code used to work fine before, but since the beginning of the week no way to worked. I think Snapchat change and restricted the use of the API.

I am also having this problem.

@marklyons use this API https://github.com/mgp25/Snap-API
Its up to date
Regards

authors: coldTaZZer marklyons mgp25

repo: JorgenPhi/php-snapchat


text:
Been trying to install VJolt on a 64-bit Gmod server to no avail

I've been following the instructions and even included -beta x86-64 in the startup params to make sure the server was on 64-bit.
So far all I've been doing is unzipping directly into the home/container folder like so.

I'd be grateful for any insight that any server owners successfully running VJolt on their servers could provide.

How did you install Volt? What did you copy, and where did you place it?

I unzipped it into the home/container, which I assume is the Pterodactyl server equivalent of the root directory aka GarrysMod folder. I've also tried the SDK 2013 MP 32-bit version just in case using the -beta commandline didn't work for changing it to 64-bit. Right now I have vjolt .so's present in the following areas:
/home/container/bin
/home/container/bin/linux64
That is what I assume a sort of double-installation for both 32 and 64-bit, and it hasn't worked at all since I checked the vjolt_environment_dump_server command and it came up as unrecognized.

You put it in the game folder, if it didn't work you didn't put it in the game folder. /shrug

I unzipped it into the home/container

What did you unzip? Did you unzip the source zip or did you unzip the GMOD release zip?
You have to copy all the DLLs into garrysmod/bin/win64 and to delete vphysics.dll from win64 and rename vphysics_jolt.dll into vphsyics.dll

On a Gmod server, you need to replace the vphysics_srv file.

On a Gmod server, you need to replace the vphysics_srv file.

Umm, may I ask why? On my side, the vphysics of the dedicated server is called vphysics.dll/vphysics.so, same with the client. I've also confirmed replacing it works for the server.

If you host a Dedicated Gmod server on Linux, you will have a vphysics.so and a vphysics_srv.so.
This is the case for multiple files like server.so, lua_shared.so, engine.so, dedicated.so and datacache.so who all have a _srv.so version.
I don't know why it was made this way, but it is for linux.

Edit: You can see all files a Linux dedicated Gmod server has here

I do host the Linux server, and I also have a local Windows server for GMod's Dedicated Server. What's interesting is that both servers don't contain vphysics_srv.dll/vphysics_srv.so. I'm on x86-64 branch. For main(default) branch, my Windows server copy doesn't contain vphysics_srv.dll either.
For my servers, all I did was replace vphysics.dll/vphysics.so, and it worked well.

authors: Joshua-Ashton KekkyShmekky RaphaelIT7 YUCLing m-doescode

repo: Joshua-Ashton/VPhysics-Jolt


text:
Metal Gear Rising: Revengeance crashes sometime after logos

Please describe your issue as accurately as possible. If you run into a problem with a binary release, make sure to test with latest master as well.
Important: When reporting an issue with a specific game or application, such as crashes or rendering issues, please include log files and a D3D11 Apitrace (see https://github.com/apitrace/apitrace) so that the issue can be reproduced. In order to create a trace, run wine apitrace.exe trace -a dxgi YOURGAME.exe. DO NOT use DXVK together with apitrace!
Software information
Metal Gear Rising: Revengeance (Steam)
System information

GPU: Nvidia GeForce GTX 960
Driver: 430.14.0
Wine version:  4.9 TKG
DXVK version: https://github.com/Joshua-Ashton/d9vk/commit/0ae3cdba230b8a1a4ead12ed0225eeaf58a31a98

Apitrace file(s)
https://drive.google.com/file/d/1AlogilQdhLurzPbICus5WpvIXPaxo2gV/view?usp=sharing
(about 1 GB uncompressed)
Log files

d3d9.log:
METAL GEAR RISING REVENGEANCE_d3d9.log

The game crashes sometime after the logos, which display properly (judging by the music, it crashes somewhere near the start screen).

It doesn't seem like it crashes anymore. Great job!

license: Zlib


text:
Sonic Adventure 2 graphical issues

Please describe your issue as accurately as possible. If you run into a problem with a binary release, make sure to test with latest master as well.
Important: When reporting an issue with a specific game or application, such as crashes or rendering issues, please include log files and a D3D11/D3D9 Apitrace (see https://github.com/apitrace/apitrace) so that the issue can be reproduced.
In order to create a trace for D3D11/D3D10: Run wine apitrace.exe trace -a dxgi YOURGAME.exe.
In order to create a trace for D3D9: Follow https://github.com/Joshua-Ashton/d9vk/wiki/Making-a-Trace.
DO NOT use DXVK together with apitrace!
Software information
Sonic Adventure 2 (Steam 213610)
System information

GPU: GeForce GTX 960
Driver: 430.34.0
Wine version: 4.13 TKG
DXVK version: https://github.com/Joshua-Ashton/d9vk/commit/b25eaf65e7731d42263b78d091de672cdc791e05

Apitrace file(s)
https://drive.google.com/file/d/1MhdrCxRYA1gGxRN0Wuxi0Ak7thHXOLXT/view?usp=sharing
Log files

d3d9.log: sonic2app_d3d9.log
d3d11.log: N/A
dxgi.log: N/A

Hello. Sonic Adventure 2 has a strange bug where the bottom of a train car appears above Sonic at various points in the first level.
The effect is pictured here:
D9VK:

Windows:

I renamed the exe to be able to run the game (also needed on Wine), so that's why the actual log says Launcher.exe. Thanks for all your hard work.
EDIT: changed the trace to a tar.xz.

Can you see if its corrected as of latest commit?

The bug is still reproducible for me with the current trace.

What's the name of the exe?

The actual game is sonic2app.exe. Steam usually calls Launcher.exe and then crashes, and I renamed Launcher.exe to sonic2app.exe to avoid the crash.

Oh, that makes this much more complex then

How do you mean?

Thank you! On a side note, do you know why the issue is fixed in-game but not in the trace?

Because I did a workaround

Ah, OK. I don't know what UB means, but thanks for taking the time to reply. I'm mainly curious whether I can trust a trace or if I have to check the actual game every time a new commit comes around. Thanks again!

Undefined behaviour yeah. It's putting NaNs in as float constant. We do the same as Intel drivers and -> 0 so we hit on the same bug.

I think I kind of get it. At least, I remember that floats are intended to hold numbers, and I assume putting...not-numbers is bad. I guess putting a 0 instead makes the bug show up in the trace but not in the game itself, since the trace is doing...something else. Or something. I appreciate all this, though. I'm definitely not a programming ace by any means, so I'm just trying to do my best.

authors: CartoonFan Joshua-Ashton


text:
[d3d9] Do not depend on dxgi/ directory

shaders copied from dxgi/shaders
all mentions for dxgi_ shaders renamed to d3d9_
dxgi_include.h dropped, all required definitions already in d3d9_include.h

So dxgi, dxbc, d3d11 and d3d10 directories are optional now, can be ignored if user want to build just d3d9.dll.

Motivation: https://github.com/doitsujin/dxvk/issues/1040
I want to propose simpler patch for DXVK.

There is better solution.


text:
problem with connection to database

Hi! I created a minimalist tool that is supposed to connect to my local database (maria db, localhost). The database works - I am able to connect to it from a test file. Unfortunately, inside the application, the tool is unable to find the specific database. Does anyone know what could be the problem? Could it possibly be due to the docker?

minimalist tool:
def list_tables_func(query: str = "") -> str:
    """Lists all tables in the connected MariaDB database.

    Useful for when you need to know what tables are available in the database.
    Returns a simple list of table names.

    Args:
        query (str): Ignored, kept for compatibility with tool interface.

    Returns:
        str: Newline-separated list of table names.
    """
    try:
        connection = mysql.connector.connect(
        host="172.17.0.1",
        port=3306,
        user="root",
        password="root"
    )

        cursor = connection.cursor()
        cursor.execute("SHOW TABLES")
        tables = cursor.fetchall()

        return "\n".join(table[0] for table in tables)

    except Exception as e:
        raise ValueError(
            f"list_tables() raised error: {e}."
            " Please check database connection and credentials"
        )

    finally:
        if 'cursor' in locals():
            cursor.close()
        if 'connection' in locals() and connection.is_connected():
            connection.close()

test file which is working perfectly fine:
`import mysql.connector
def test_db_connection():
try:
connection = mysql.connector.connect(
host="172.17.0.1",
port=3306,
user="root",
password="root"
)
    if connection.is_connected():
        print("Successfully connected to the database!")

        # Test querying tables
        cursor = connection.cursor()
        cursor.execute("SHOW TABLES")
        tables = cursor.fetchall()

        print("\nTables in database:")
        for table in tables:
            print(f"- {table[0]}")

except Exception as e:
    print(f"Error: {e}")

finally:
    if 'cursor' in locals():
        cursor.close()
    if 'connection' in locals() and connection.is_connected():
        connection.close()
        print("\nDatabase connection closed.")

if name == "main":
test_db_connection()`

Yes, if you're running the service in docker and running the test file directly in local python, then the docker networking is probably the issue.
You could validate that by running the service in local python too. See the instructions here.


text:
fix: force set extension

This PR aims at simply adding the force=True parameter when setting extension for both Doc and Token objects.
That way one will not run into an issue when adding concepCy to a SpaCy pipeline multiple times.

cf #14

repo: JulesBelveze/concepcy


text:
Explain in docs that model wrappers need to overload save/restore

Context: https://github.com/alan-turing-institute/MLJ.jl/issues/1099#issue-2165552624

And forward other methods/traits, such as feature_importances, and so forth (see BinaryThresholdPredictor code for other examples)

Also, after https://github.com/JuliaAI/MLJ.jl/issues/1125 is closed, they will need to overload MMI.constructor.


text:
Generalize GaussianCDFEncoding to arbitrary CDF encoding

This is some generality improvements for the current GaussianCDFEncoding and Dispersion. In general, any CDF could be used in the source code of the encoding; one could store the CDF function in the encoding struct. E.g., give some timeseries x generate the function:
m, s = mean(x), std(x)
f = x -> gaussian(x, m, s)

Any other univariate function instead of f could be generated. This function then is stored as a field in a new struct CDFEncoding, that uses the exact source code of GaussianCDFEncoding but using f instead of the existing gaussian function.
Then, this is super easily propagated into Dispersion: that type should initrialize a CDFEncoding and store the encoding directly as its field. If given only a timeseries, it defaults to getting mean, std and initializing the Gaussian encoding.

The encoding could in principle be generalizable to multidimensional CDF functions as well, although I'm not sure something like that exists in the literature yet in the context of these "entropy-like" quantities. The function f is just the input to quadgk (which only handles univariate functions at the moment).
A completely generic version of  CDFEncoding could be something like
Base.@kwdef struct CDFEncoding <: Encoding
    precomputed_stuff::NamedTuple # e.g. mean and std
    f::Function =  exp((-(xᵢ - μ)^2)/(2σ^2)) # or something else for another CDF
    lb::T # lower integration bound
    up::T # upper integration bound
    integrator::Function quadgk
end

Or something along those lines, depending on the call signature of quadgk or whatever other integrator one would use for multidimensional input.

you don't need to have precomputed_stuff. Simply make the function f = x -> exp((-(xᵢ - μ)^2)/(2σ^2))  by calculating or using μ, σ. The closure already stores the numbers. But also, not sure what is the use here of hyper generalizing: higher dimensions and different integrator functions don't really fit the need of the struct. Univariate cumulate distribution functions still make sense in context though. Also no need for the integration bounds, as from -inf to x makes sense because thats by definition what gives you the probability from a CDF.

authors: Datseris kahaaga


text:
Handle header only functions

In UCX.jl I used Clang to generate wrappers, but ucx provides a header only function ucp_init:
https://github.com/openucx/ucx/blob/0e37370648f857e23d5775a0c5b3aa609044e43c/src/ucp/api/ucp.h#L1446-L1452 which ended up as
https://github.com/JuliaParallel/UCX.jl/blob/2cc867f6c98f9f5f616f2df5aa1e666880dbfb62/gen/libucp_api.jl#L33-L35
and since it is a static header-only function it does not end up the shared object file.
x-ref: https://github.com/openucx/ucx/issues/5404

The implementation of ucp_init is simple, but it's not trivial to handle these header-only helper functions in general, that would be equivalent to implement a C-to-Julia source code translator. I'm doubting whether this can be implemented only using libclang's API. For now, I think we should recognize these functions and skip them at least.

authors: Gnimuc vchuravy


text:
CircularBuffer

Small patch to make tests in #144 pass.  Closes #144.
Cc: @tbreloff

This has been around for a while, first as #109, then #144, so there's been quite a bit of time for commenting already.
Since I haven't commented myself before... DataStructures has kind of become a catch-all for various general data structures that people need/want, but the package itself doesn't have a roadmap or philosophy about what belongs here and what form the things that do go here should have.
I'd like that to change, but with my uncertainty of my own availability, there's no guarantee that I will make this will happen in a reasonable time frame.
So if anyone has a burning desire to gain fame and glory by whipping DataStructures into shape, please speak up... ;-)

Oh, and I'll merge tomorrow if there are no further comments.

Thanks Daniel!


text:
Provide options to delete old Julia versions

Generally it would be nice if juliaup tried slightly more aggressively to uninstall/delete old Julia versions. Some ideas:

juliaup update could remove the old Julia version after the update, if that old version is not used by any other channel that the user has used and was not explicitly installed. This would require us to track more information about the reasons why a given Julia version is present on a user system in juliaup.toml.
We could add a garbage collect feature to juliaup that has some heuristic for deleting old Julia versions.

We now automatically garbage collect Julia versions that aren't needed by a channel.

repo: JuliaLang/juliaup


text:
Do not follow symlinks by default for DirectorySource

Fix https://github.com/JuliaPackaging/BinaryBuilder.jl/issues/845.  CC: @Keno

I think @staticfloat said there were a few recipes in Yggdrasil that wanted this behavior. Probably needs an update. @staticfloat which ones were those?

Looks like just one: https://github.com/JuliaPackaging/Yggdrasil/commit/32677499555e6920faa0e59eca433c09572ce8e3

authors: Keno giordano staticfloat


text:
GPU-less install

One of the great things about Plots.jl's setup is it can install pretty much anywhere because the extra functionality is all provided by backends. I can't see getting Makie.jl to work on my friendly neighborhood cluster, while GR works fine. And then there are cases where there's no access to OpenGL (without VirtualGL), but other options like Plotly works.
Will there be a nice way to be able to install Makie in those setups? I like the GLVisualize-first approach and think it makes a lot of sense to ensure that there's a fully complete and fully Julia backend, but at the same time it limits the usefulness if it has to be directly required.

Could this work with a software renderer? https://stackoverflow.com/questions/7310885/opengl-without-a-graphics-card
Or maybe virtualgl?

There is CairoMakie now.

On a headless system without graphics card I installed software rendering and glxgears works fine.
I also installed Makie and it works fine if I use ssh -Y server.
Using xpra you can launch a virtual x server on the headless system and use that (https://help.ubuntu.com/community/Xpra) so you don't need to use ssh -Y
There was one warning:
Warning: GLFW.GLFWError(PLATFORM_ERROR::ErrorCode = 65544, "X11: RandR gamma ramp support seems broken")

You can even use a local xpra and open the display on the remote server, but mouse interaction will produce tons of error messages on the remote julia console.
Next step is to get it working inside Jupyter notebooks... I will let you know if I manage to do that.

Pretty cool you got that running - and it doesn't even sound that complicated ;)

It was not that complicated. How do I resize the window opened by Makie from within Julia? My current issue is that the window opened in xpra is tiny and therefore it is saved as a tiny png.

You could try passing a resolution to the Scene?  For example, sc = Scene(resolution = (1920, 1080))

p = Scene(resolution = (1920, 1080))
volume!(p, rand(32, 32, 32))
save("make_test.png", p)

works on my machine, but the png is still tiny on the headless machine.

Hm, the only reason it would ignore this, if it somehow thinks that Juno is there!
https://github.com/JuliaPlots/AbstractPlotting.jl/blob/master/src/display.jl#L59
If you use remote Atom, try disabling the plotpane!

I am trying to make it work with jupyter notebooks, I am not using Atom. I also tried resize! and it does not work. Maybe it has something to do with the display size (the monitor is 0mm x 0mm):
me@server:~$ xrandr -d :7 -q
xrandr:Failed to get size of gamma for output default
Screen 0: minimum 320 x 175, current 5280 x 1920, maximum 8192 x 4096
default connected 5280x1920+0+0 0mm x 0mm

... a list with all possible resolutions

I tried changing the resolution with xrandr but without success.

authors: ChrisRackauckas SimonDanisch asinghvi17 gdkrmr mkborregaard


text:
Update Package.toml

github username changed

@carstenbauer

repo: JuliaRegistries/General


text:
New version: AxisArrays v0.3.2

Registering package: AxisArrays
Repository: https://github.com/JuliaArrays/AxisArrays.jl
Created by: @timholy
Version: v0.3.2
Commit: 1f5cd8c77454625d6304951e9d693f31a93dcb98
Reviewed by: @timholy
Reference: https://github.com/JuliaArrays/AxisArrays.jl/commit/1f5cd8c77454625d6304951e9d693f31a93dcb98#commitcomment-34741676

Different from https://github.com/JuliaRegistries/General/pull/2768, @timholy ?

Yes, has one extra commit. Probably worth merging both separately as the extra commit should be safe has a small chance of causing problems elsewhere.


text:
New version: Turing v0.7.1

Registering package: Turing
Repository: https://github.com/TuringLang/Turing.jl
Created by: @cpfiffer
Version: v0.7.1
Commit: 7cd1800905d51e9cd4f2db5072b96a79e9c6c74f
Reviewed by: @cpfiffer
Reference: https://github.com/TuringLang/Turing.jl/issues/939

Your new version pull request does not meet all of the guidelines for automatic merging.
Specifically, your pull request does not meet the following guidelines:

The following dependencies do not have a compat entry that has an upper bound: AdvancedHMC, Bijectors, BinaryProvider, Distributions, DistributionsAD, ForwardDiff, Libtask, MCMCChains, MacroTools, PDMats, ProgressMeter, Reexport, Requires, SpecialFunctions, StatsFuns, Tracker, Zygote, julia

If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

It is important to note that if your pull request does not meet the guidelines for automatic merging, this does not mean that your pull request will never be merged. It just means that your pull request will require manual review by a human.

These guidelines are intended not as requirements for packages but as very conservative guidelines, which, if your new package or new version of a package meets them, it may be automatically merged.

On a separate note, I see that you are registering a release with a version number of the form v0.X.Y.
Does your package have a stable public API? If so, then it's time for you to register version v1.0.0 of your package. (This is not a requirement. It's just a recommendation.)
If your package does not yet have a stable public API, then of course you are not yet ready to release version v1.0.0.

[noblock]

Please fix the compatibility bounds for the next release such that it will be automatically merged.


text:
New package: BHAPtfem v1.0.0

Registering package: BHAPtfem
Repository: https://github.com/BottomHoleAssemblyAnalysis/BHAPtfem.jl
Created by: @goedman
Version: v1.0.0
Commit: ae8b48c719e47e62a3aea983b36dd9bb7aa0e254
Reviewed by: @goedman
Reference: https://github.com/BottomHoleAssemblyAnalysis/BHAPtfem.jl/issues/2#issuecomment-546518010

Your new package pull request met all of the guidelines for automatic merging.
I will automatically merge this pull request after the mandatory waiting period has elapsed.
If you want to prevent this pull request from being auto-merged, simply leave a comment.
(If you want to post a comment without blocking auto-merging, you must include the text [noblock] in your comment.)

[noblock]

authors: JuliaRegistrator zeptodoctor


text:
ssh deploy key seems to be a must-to-have thing

I still get the "Resource not accessible by integration" error (https://github.com/JuliaRegistries/TagBot/issues/222) in https://github.com/johnnychen94/LazyModules.jl/runs/6449253549?check_suite_focus=true after upgrading the config to
name: TagBot
on:
  issue_comment:
    types:
      - created
  workflow_dispatch:
    inputs:
      lookback:
        default: 3
permissions:
  contents: write
jobs:
  TagBot:
    if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot'
    runs-on: ubuntu-latest
    steps:
      - uses: JuliaRegistries/TagBot@v1
        with:
          token: ${{ secrets.GITHUB_TOKEN }}

so I tried to add ssh-key and rerun the TagBot workflow, this time it worked.

This is now a "troubleshooting tip" (https://github.com/JuliaRegistries/TagBot#i-am-seeing-some-kind-of-permissions-error) though it would be good to figure out why this is needed in some cases

This is happening for https://github.com/jump-dev/SDPLR.jl. One reason might be that it was recently moved from @blegat's account to @jump-dev.

I've also noticed the problem with "Resource no accessible by integration"
 Traceback (most recent call last):
  File "/root/tagbot/action/__main__.py", line 96, in <module>
    repo.create_release(version, sha)
  File "/root/tagbot/action/repo.py", line 605, in create_release
    self._repo.create_git_ref(f"refs/tags/{version_tag}", tag.sha)
  File "/usr/local/lib/python3.8/site-packages/github/Repository.py", line 1023, in create_git_ref
    headers, data = self._requester.requestJsonAndCheck(
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 398, in requestJsonAndCheck
    return self.__check(
  File "/usr/local/lib/python3.8/site-packages/github/Requester.py", line 423, in __check
    raise self.__createException(status, responseHeaders, output)
github.GithubException.GithubException: 403 {"message": "Resource not accessible by integration", "documentation_url": "https://docs.github.com/rest/git/refs#create-a-reference", "status": "403"}

Notice the call to create_git_ref which is failing when trying to create the Git tag reference after creating the tag object (see these instructions).
The issue is the same as https://github.com/orgs/community/discussions/68932 which mentions that failure do not occur when working with the HEAD commit of a branch.

If you want to temporarily work around this problem you can have this GHA succeed if you manually create a branch against the commit SHA where the tag will be created. Doing this allows the create_git_ref API call to succeed.

authors: ericphanson johnnychen94 odow omus

repo: JuliaRegistries/TagBot


text:
Error when building due to GPG key

Hi Julian,,
when building the image I get this error message:
Sending build context to Docker daemon  4.096kB
Step 1/4 : FROM nvidia/cuda:11.1-devel-ubuntu20.04
---> 0185bd6d8ed9
Step 2/4 : ARG OPENCV_VERSION=4.5.0
---> Using cache
---> bc03e2b25986
Step 3/4 : RUN apt-get update && apt-get upgrade -y &&    apt-get install -y    python3-pip         build-essential         cmake         git         wget         unzip         yasm         pkg-config         libswscale-dev         libtbb2         libtbb-dev         libjpeg-dev         libpng-dev         libtiff-dev         libavformat-dev         libpq-dev         libxine2-dev         libglew-dev         libtiff5-dev         zlib1g-dev         libjpeg-dev         libavcodec-dev         libavformat-dev         libavutil-dev         libpostproc-dev         libswscale-dev         libeigen3-dev         libtbb-dev         libgtk2.0-dev         pkg-config         python3-dev         python3-numpy     && rm -rf /var/lib/apt/lists/*
---> Running in dbd39bcc9b3e
Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease [1581 B]
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Err:3 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
Ign:6 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64  InRelease
Get:7 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64  Release [564 B]
Get:8 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64  Release.gpg [833 B]
Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1816 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
Get:11 https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu2004/x86_64  Packages [2445 B]
Get:12 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [874 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [27.5 kB]
Get:14 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1174 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2245 kB]
Get:19 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [30.2 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1161 kB]
Get:21 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1252 kB]
Get:22 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [51.2 kB]
Get:23 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [26.0 kB]
Reading package lists...
W: GPG error: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY A4B469963BF863CC
E: The repository 'https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64  InRelease' is not signed.
The command '/bin/sh -c apt-get update && apt-get upgrade -y &&    apt-get install -y   python3-pip         build-essential         cmake         git         wget         unzip         yasm         pkg-config         libswscale-dev         libtbb2         libtbb-dev         libjpeg-dev         libpng-dev         libtiff-dev         libavformat-dev         libpq-dev         libxine2-dev         libglew-dev         libtiff5-dev         zlib1g-dev         libjpeg-dev         libavcodec-dev         libavformat-dev         libavutil-dev         libpostproc-dev         libswscale-dev         libeigen3-dev         libtbb-dev         libgtk2.0-dev         pkg-config         python3-dev         python3-numpy     && rm -rf /var/lib/apt/lists/*' returned a non-zero code: 100
I hope you can help.

I'm sorry but I currently do not have a machine with a Nvidia GPU, so I cannot reproduce the error in order to fix it :(

For me I found this helped:
RUN apt-key del 7fa2af80
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/3bf863cc.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1804/x86_64/7fa2af80.pub
Obviously just change the ubuntu version in the link to your version

Thanks a lot, I'll try this. :)

Did the suggestion help to resolve the issue?

authors: CodiTrixta JulianAssmann KarstenVogt

repo: JulianAssmann/opencv-cuda-docker


text:
Is this a support of an official android SDK ?

I can't find the official PercentRelativeLayout in the android SDK

check out here : https://github.com/JulienGenoud/android-percent-support-lib-sample/issues/4
ANDROID_SDK_PATH/extras/android/m2repository/com/android/support/percent/22.2.0/


text:
Add a branch for the tablet

[ ] You are assigned to the task @JullianMQ
[ ] If possible add also another branch for the phone
[ ] And another one for the laptop

A comment for this issue

repo: JullianMQ/nvim-config


text:
vrouter dpdk mode support simple gateway now?

I used  R3.0 branch and dpdk_2_1 branch to setup contrail environment successfully. When vrouter worked in DPDK mode, If I ENABLE simple gateway, The contrail-vrouter-dpdk process will crash in function dpdk_vhost_if_add() when add vgw vif in the vrouter. Backtrace is as follows.
The root casue is that pointer vif->vif_bridge is null.
I want to know that  is this just a bug or contrail do not want to support simple gateway in the dpdk version.
#0  0x0000000000767595 in dpdk_vhost_if_add ()
#1  0x0000000000767d99 in dpdk_if_add ()
#2  0x00000000007a89f5 in vhost_drv_add ()
#3  0x00000000007aa651 in vif_drv_add ()
#4  0x00000000007aace9 in vr_interface_add ()
#5  0x00000000007abdbc in vr_interface_req_process ()
#6  0x00000000007dded0 in sandesh_decode_one ()
#7  0x00000000007ddf5f in sandesh_decode ()
#8  0x00000000007be657 in sandesh_proto_decode ()
#9  0x00000000007affa9 in vr_message_request ()
#10 0x0000000000778df4 in dpdk_netlink_receive ()
#11 0x000000000077e87a in usock_read_done ()
#12 0x000000000077f6aa in vr_usocket_read ()
#13 0x000000000077fe7f in vr_usocket_io ()
#14 0x0000000000778917 in dpdk_lcore_netlink_loop ()
#15 0x0000000000778baf in vr_dpdk_lcore_launch ()
#16 0x000000000045d9c2 in eal_thread_loop ()
#17 0x00002ad521cdcdf5 in ?? ()
#18 0x0000000000000000 in ?? ()

Simple gateway is not supported with DPDK yet.
Regards
-Harshad

On Jul 1, 2016, at 8:13 PM, HehuaTang notifications@github.com wrote:
I used R3.0 branch and dpdk_2_1 branch to setup contrail environment successfully. When vrouter worked in DPDK mode, If I ENABLE simple gateway, The contrail-vrouter-dpdk process will crash in function dpdk_vhost_if_add() when add vgw vif in the vrouter. Backtrace is as follows.
The root casue is that pointer vif->vif_bridge is null.
I want to know that is this just a bug or contrail do not want to support simple gateway in the dpdk version.
#0 0x0000000000767595 in dpdk_vhost_if_add ()
#1 0x0000000000767d99 in dpdk_if_add ()
#2 0x00000000007a89f5 in vhost_drv_add ()
#3 0x00000000007aa651 in vif_drv_add ()
#4 0x00000000007aace9 in vr_interface_add ()
#5 0x00000000007abdbc in vr_interface_req_process ()
#6 0x00000000007dded0 in sandesh_decode_one ()
#7 0x00000000007ddf5f in sandesh_decode ()
#8 0x00000000007be657 in sandesh_proto_decode ()
#9 0x00000000007affa9 in vr_message_request ()
#10 0x0000000000778df4 in dpdk_netlink_receive ()
#11 0x000000000077e87a in usock_read_done ()
#12 0x000000000077f6aa in vr_usocket_read ()
#13 0x000000000077fe7f in vr_usocket_io ()
#14 0x0000000000778917 in dpdk_lcore_netlink_loop ()
#15 0x0000000000778baf in vr_dpdk_lcore_launch ()
#16 0x000000000045d9c2 in eal_thread_loop ()
#17 0x00002ad521cdcdf5 in ?? ()
#18 0x0000000000000000 in ?? ()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Thanks Harshad.

authors: HehuaTang hnakil

repo: Juniper/contrail-vrouter


text:
CMW Skins

Looks like you can share individual skins via Content Manager Wrappers "Install Missing Content" button.

I found some few information about how it works.
At the bottom of configuration section, there is folder structure to download.
https://github.com/gro-ove/ac-server-wrapper#configuration

authors: Hecrer vitoexe

repo: JustaPenguin/assetto-server-manager


text:
Some problems with dlls other than ntdll.dll

Hey,
Could you provide some info about hooking dlls other than ntdll.dll?
I used this lib in my other project(compiled in VS19), but now doing:
   auto x64_ntdll_handle = wow64pp::module_handle("Kernel32.dll");
Return error that the library could not be loaded.
Any idea why?

What is the error exactly? Because the lookup is case sensitive and kernel32.dll will probably work.

Here it is.
I also tried with kernel32.dll but it does not work. Same error!

Try placing a breakpoint on the name comparison and check if you can spot the correct name and whether it's iterating the list at all.


text:
Add blog post on website migration

History
Tech stack
Learnings
Features discussion
Typos and Code Base Location
Would I recommend

In progress on dev branch

repo: JustinGOSSES/justingosses-website


text:
add stream socket type

adding the new stream socket type. developed in libzmq v4+.
ZMQ_STREAM type
I think this is like a combo between pipeable push/pulls and the router.
but the stream socket type now let's us pipe and route non-zmq peer messaging. this is pretty wild, even http apparently

PR addresses issue  https://github.com/JustinTulloss/zeromq.node/issues/380 somewhat but this is definitely a different stream that what is being discussed in that issue.

Hi @reqshark , thanks for the contribution! Seems to fail your test on everything pre zmq 4 though... Is that a semver check problem?

yup @ronkorving... i can usually trust semver too but i guess one ought to run the thing in its targeted environment as it were.
I was just using a recent homebrew of libzmq on osx when I wrote that test earlier... so TBO I never even ran it on earlier versions.. plus I know Travis builds on linux so that's my bad. I'll take a look in the morning and see if i can remedy those travis failures then

Thanks

ping.. can this be reviewed and merged?
well actually if you leave it open there's one thing I would consider adding on here that could help pull maybe: https://github.com/zeromq/libzmq/blob/a109723b17d7423cd5dbfcfa5a536f556dea95fa/NEWS#L180-L182
ZMQ_CONFLATE sockopt, it's actually a context option, still testing it out today but if i like what i see today i'm adding it to this PR

You're free to make a separate PR for that. This PR looks fine, thanks :)

authors: reqshark ronkorving


text:
Should fix missing incoming messages

Fixes #523
Fixes #528
Please confirm this solves it for you, @messa, @corn3lius, @quinndiggity, @diwu1989, @RavivIsraeli, @jreeme, @andresmeidla, @pjanuario and anyone else who can help test.
If this works for you guys, I'll merge and release asap.

Doesn't seem to fix #528 in a quick test here (at least applying the changes to 2.15.1 directly... if other intervening changes are needed we didn't test that)

When you applied the changes, did you rebuild? (there is a C++ part to this module that will have to be recompiled)

I think I've got it now. Please confirm that your problems are over.
cc @kkoopa and @reqshark You guys seem to be the only ones who seems to have a solid grasp on the weirdness surrounding ZMQ_EVENTS and libuv polling, so your feedback on this is most welcome.
I did find http://blog.louiz.org/zmq a great read, but it doesn't mention which version of ZMQ it's about, so it may still be tricky.

Yep, seems to fix #528. Thanks for the quick turnaround. We'll keep an eye out for a release.

@ergpudb Since nobody else has responded, I'll go with your feedback, and we'll see from there. Thanks :)

authors: ergpudb ronkorving


text:
sim: Add debugging ptable to image dumps

Add a debug_dump() method to Images to allow the images to be
written to a file.  The dependency test will call this if the
environment variable MCUBOOT_DEBUG_DUMP is set.
In order to make these debug dumps more useful, add a simple partition
table to the beginning of the image (where MCUboot would reside on
target).  This has a simple header, and then entries for each partition,
using the partition ids used within the simulator.  This allows the
image to be more easily used by external tools.
As an example, scripts/mcubin.bt is a binary template for the 010
Editor, allowing it to decode
and show the details of images from MCUboot.
Signed-off-by: David Brown david.brown@linaro.org

Would be nicer if there was a similar tool that was free!

I wish there was a free tool as well, but I'm not aware of anything. It's kind of just an example, and useful if anyone has that tool.

repo: JuulLabs-OSS/mcuboot


text:
Optimize packets

Just very little optimizations.

MacAddr::broadcast(): Just aesthetics.
If there is no fragmentation, as set with ip_header.set_flags(Ipv4Flags::DontFragment);, there is also no fragment offset. This field is unnecessary.
Use the default ttl. Packets normally don't travel 64 hops, so after exceeding the ttl, it probably is already lost.
The sequence is usally initally set to 0. We can save a random number generation here.
Creating a vec! here is unnecessary.

Sorry for the late reply on this, just noticed I had a PR! Thank you very much for this, I very much enjoy seeing the small improvements being made.
My only question here is regarding the seq field. Have you tried firing multiple packets with the same seq (0)? Are they being dropped by the remote target?

I'm sorry, totally forgot about this PR...
The identification of TCP packets is handled on the IP level, that's why there's a field called identification. The sequence field is only the "id" of the packet, increased by one every packet, so it can be determined whether incoming packets are received in the correct order. This field is normally set to 0 in the first SYN. I don't think a firewall would block packets based on the sequence field, rather it could be blocking packets that don't have it set to 0. Perhaps add a command line option for it?

Awesome, thanks @Draphar -- learnt something new today. Merging this and closing the PR. Thanks a lot!

authors: Draphar JuxhinDB

repo: JuxhinDB/synner


text:
fsm resource waste for grapics

After using graphics (even the standard xy-plot) I see a CPU waste in the system:

This persists after closing all fsm instances (empty DDerl window).

Probably false alarm induced by bad timestamp generating hangs in datetime processing, possibly in imem_snap.
Need to check imem_datatype:offset_timestamp and snapshot mechanism for tables with ddTimestamp() as key.


text:
⚠ Auth has degraded performance

In 4e7116b, Auth (https://auth.k2lin.com) experienced degraded performance:

HTTP code: 200
Response time: 13967 ms

Resolved: Auth performance has improved in dd01d57.


text:
Warning + wromg output order if same carrierTypes within PPN not contiguous in batch manifest

Following batch contains 2 audio cd's that don't appear contiguously in batch manifest:
jobID,PPN,volumeNo,carrierType,title,volumeID,success,containsAudio,containsData
d03ae636-147a-11e7-a687-00237d497a29,155658050,1,cd-audio,(Bijna) alles over bestandsformaten,,True,True,False
82c34f9a-1481-11e7-9f3c-00237d497a29,155658050,1,cd-rom,(Bijna) alles over bestandsformaten,Handbook,True,False,True
e03ae676-147a-11e7-a687-00237d497a29,155658050,2,cd-audio,(Bijna) alles over bestandsformaten,,True,True,False

Result for verify:
WARNING - PPN 155658050 (cd-audio): expected '1' as lower value for 'volumeNumber', found '2'

Result for write, structMap:
<mets:structMap>
<mets:div TYPE="physical" LABEL="volumes">
  <mets:div TYPE="cd-audio" ORDER="1" ADMID="DISC_001">
    <mets:div TYPE="audio track" ORDER="1">
      <mets:fptr FILEID="FILE_001"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="2">
      <mets:fptr FILEID="FILE_002"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="3">
      <mets:fptr FILEID="FILE_003"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="4">
      <mets:fptr FILEID="FILE_004"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="5">
      <mets:fptr FILEID="FILE_005"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="6">
      <mets:fptr FILEID="FILE_006"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="7">
      <mets:fptr FILEID="FILE_007"/>
    </mets:div>
  </mets:div>
  <mets:div TYPE="cd-rom" ORDER="1" ADMID="DISC_002">
    <mets:div TYPE="disk image" ORDER="1">
      <mets:fptr FILEID="FILE_008"/>
    </mets:div>
  </mets:div>
  <mets:div TYPE="cd-audio" ORDER="2" ADMID="DISC_003">
    <mets:div TYPE="audio track" ORDER="1">
      <mets:fptr FILEID="FILE_009"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="2">
      <mets:fptr FILEID="FILE_010"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="3">
      <mets:fptr FILEID="FILE_011"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="4">
      <mets:fptr FILEID="FILE_012"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="5">
      <mets:fptr FILEID="FILE_013"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="6">
      <mets:fptr FILEID="FILE_014"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="7">
      <mets:fptr FILEID="FILE_015"/>
    </mets:div>
    <mets:div TYPE="audio track" ORDER="8">
      <mets:fptr FILEID="FILE_016"/>
    </mets:div>
  </mets:div>
</mets:div>
</mets:structMap>

So again audio CDs don't appear contiguously. Looks like something goes wrong before groupby (check for missing sort?)
ADDITION:
Looks like what's needed is a sort on carriers prior to groupby, just as is also done with rowsBatchManifest.
BUT:
  carriers.sort(key=itemgetter(3))

Results in:
AttributeError: 'itertools._grouper' object has no attribute 'sort'

So why does this work for RowsbatchManifest? Because:
type(rowsBatchManifest) = <class 'list'>, but type(carriers type) = <class 'itertools._grouper'>. So we need to figure out how to sort s grouper object.

Fixed: https://github.com/KBNLresearch/omSipCreator/commit/8350b962c8fc31fdb419653eb8963bb0897fa435

repo: KBNLresearch/omSipCreator


text:
🛑 KMHARS Makati Datacenter / Facebook Cache is down

In 716bb80, KMHARS Makati Datacenter / Facebook Cache (103.190.139.186) was down:

HTTP code: 0
Response time: 0 ms

Resolved: KMHARS Makati Datacenter / Facebook Cache is back up in 2467614 after 8 minutes.

repo: KMHARS/uptime


text:
Update AlternisKerbolRekerjiggered-flags.netkan

Flagmod, so by definition promiscuous versioning should be set.

Merging with my thanks

repo: KSP-CKAN/NetKAN


text:
Add BKD/Blue kerbin dynamics Mk1 Fuel Tanks Plus from SpaceDock

This pull request was automatically generated by SpaceDock on behalf of jebheadmugkerman, to add BKD/Blue kerbin dynamics Mk1 Fuel Tanks Plus to CKAN.
Mod details:
name = /mod/909/BKD/Blue%20kerbin%20dynamics%20Mk1%20Fuel%20Tanks%20Plus
author = jebheadmugkerman
abstract = This mod adds some more mk1 fuel tanks MORE!
license = MIT
Homepage = On the forum
description = This is your mod listing! You can edit it as much as you like before you make it public.
To edit this text, you can click on the "Edit this Mod" button up there.
By the way, you have a lot of flexibility here. You can embed YouTube videos or screenshots. Be creative.
You can check out the SpaceDock markdown documentation for tips.
Thanks for hosting your mod on SpaceDock!
Please direct questions about this pull request to jebheadmugkerman.

This mod is not packaged correctly, I've asked the author to update it

authors: Space-Duck linuxgurugamer


text:
Add SciFiVE

This mod is an EVE texture pack and was requested by a user on its thread.
As per https://forum.kerbalspaceprogram.com/index.php?/topic/151190-14sci-fi-visual-enchancements-v-14-high-performance-alt-to-sve/&do=findComment&comment=3481223
I forgot to add provides and resources...

Dropbox got rid of permalinks to specific files. Sad.

Should be ready now, but author hasn't given me an OK yet.


text:
Add reference to Assembly-CSharp-firstpass

Motivations
Assembly-CSharp-firstpass provides access to Lingoona, useful for localization: https://www.kerbalspaceprogram.com/ksp/api/class_lingoona_1_1_grammar.html
Modifications

Add reference to Assembly-CSharp-firstpass.dll

Thanks!

repo: KSPModdingLibs/KSPBuildTools


text:
\underline and ~^

error
\text{Cu + 2}{{\text{H}}_2}\text{S}{{\text{O}}_4}~^\underline{\underline{\Delta}}~\text{CuS}{{\text{O}}_4}\text{ + S}{{\text{O}}_2}\uparrow + \ 2{{\text{H}}_2}\text{O}
ok
\text{Cu + 2}{{\text{H}}_2}\text{S}{{\text{O}}_4}~^{\underline{\underline{\Delta}}}~\text{CuS}{{\text{O}}_4}\text{ + S}{{\text{O}}_2}\uparrow + \ 2{{\text{H}}_2}\text{O}
problem:
~^ => ~^{\underline{\underline{\Delta}}}  why?
How to use macros to solve this problem？

I confirmed that x^\underline{y} works in LaTeX.  Looking at the KaTeX code, I believe this bug is caused by \underline's greediness being set too low.  Sup/subscripts ^/_ have greediness 1 (via SUPSUB_GREEDINESS), while \underline has no greediness set, which defaults to 1.
Is greediness a TeX notion?  If so, there should be reference we can follow.  Either way, I think we need to review all the greediness settings... or possibly just change the default to be greater than SUPSUB_GREEDINESS.

@HUSTER-Qin Regarding your "how to solve with macros", a workaround would be to define a macro such as \u to {\underline{#1}}, and then use \u instead of \underline.

I did some more experiments, this time in pdflatex instead of QuickLaTeX (which sometimes doesn't report errors).  I found that x^\frac12, x^\frac{x^2}{y^2}, x^\mathrm h, x^\mathrm{hi}, x^\text h, and x^\text{hi} all worked (everything after ^ rendered in the subscript), while x^\sqrt 5, x^\underline y, x^\bar y, and x^\underline x all return errors (though TeX usually recovers correctly and renders what you might have wanted, sometimes it does weird things).  So I'm no longer convinced this issue is a bug.
Incidentally, \sqrt \frac 1 2 also fails, whereas it is described in KaTeX's defineFunction.js as explicitly allowed via greediness (for MathJax compatibility?).
I would definitely find setting SUPSUB_GREEDINESS to 0 more convenient to use; it would make all of the examples above work.  But it would not be LaTeX compatible, so a user would be in for a surprise if trying to copy their working KaTeX inputs over to LaTeX.
What distinguishes \frac, \mathrm, and \text that make them work in an unbraced subscript?  I think \frac is special because it expands to {{#1} \over #2}, so in particular it's wrapped in braces.  \text expands to a \@text call which is also wrapped in braces ({\mathchoice ...}).  It's much harder to read the definition of \mathrm, but this seems to be the general rule: an unbraced argument works as a sub/superscript if and only if it expands to a single token or a braced group of tokens.  This is how undelimited arguments work too in TeX, so that makes sense.
Perhaps this explains why \mathrm, \frac, and \text all have greediness 2 already in KaTeX.  As a result, all the cases that I've found to work in LaTeX also work in KaTeX.  So maybe we're done?  On the other hand, \textcolor and \colorbox have greediness 3, which means that x^\textcolor{blue}y works in KaTeX (but not LaTeX); and lots of \frac lookalikes in functions/genfrac.js, e.g. \cfrac, have greediness 2 so x^\cfrac12 works in KaTeX but I tested and it doesn't work in LaTeX.  Do we care enough about this incompatibilities?

@edemaine Could you confirm that \sqrt \frac 1 2 fails?

authors: HUSTER-Qin edemaine ylemkimon

repo: KaTeX/KaTeX


text:
🛑 Uzaki Chan is down

In f5d225d, Uzaki Chan (https://uzaki-chan.kadantte.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Uzaki Chan is back up in 3ed2bca.

repo: Kadantte/candy-up


text:
🛑 Ohys API is down

In 99a2e4e, Ohys API (https://ohys-api-v2.usui.moe/schedule?day=sun) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ohys API is back up in 2559363.


text:
一括製錬機能を追加する

リンゴ、パサナC、○Cのネタドロップは別枠で称える
精錬値は平均値案はどうか？

合計だと数叩いた方が有利だとログ流しすぎになるかも
+8一発ツモとかしたらあえて叩かない戦略もある
そもそもみんなストックなくなるまで:tablet: 連打してるんだから、一回でストック全部クホらせればログそんなに荒れなくないか

一括製錬機能を追加したうえで、当日合計製錬値を比較する。
#17 と挙動を調整する
Originally posted by @KaedeTool in https://github.com/KaedeTool/faraobot/issues/18#issuecomment-471578606

N連を上限として残製錬数を一括で行う。

repo: KaedeTool/faraobot


text:
memory access out of bounds

When i try to record more than 8min i receive this error. (in google chrome)
anybody know's how to remedy ?
Uncaught RuntimeError: memory access out of bounds
at wasm-function[11]:24
at wasm-function[254]:86
at wasm-function[241]:34
at vmsg_flush (blob:)
at onmessage (blob:)
thank you

Anyone know how to solve this problem? I am trying to record audio up to 30 minutes.

Hi @Kagami, have you managed to solve this issue? I'm also having trouble when trying to record more than 15mins.

Hi! I've faced the same on the 8th minute.
The reason might be the memory limit set in the package to 16MB. The obvious way seems to try to increase it, but:

changing the value requires also recompiling .wasm with a new value, as commented above the variable via the link :point_up:, also like proposed here. So there is no way dynamically adjust that option since it requires compiling/downloading another .wasm module
I'm not sure what are downsides of increasing size. Like in the solution above folks noticed worse performance.

In the same time, I've tried to increase only TOTAL_MEMORY to 50MB (but didn't recompile .wasm) and succeeded
0.5MB

Hi! I've faced the same on the 8th minute.
The reason might be the memory limit set in the package to 16MB. The obvious way seems to try to increase it, but:

changing the value requires also recompiling .wasm with a new value, as commented above the variable via the link :point_up:, also like proposed here. So there is no way dynamically adjust that option since it requires compiling/downloading another .wasm module
I'm not sure what are downsides of increasing size. Like in the solution above folks noticed worse performance.

In the same time, I've tried to increase only TOTAL_MEMORY to 50MB (but didn't recompile .wasm) and succeeded in the recording of 15minutes :tada: So maybe .wasm module is already compiled with a bigger value?
Also, I'm wondering how it can affect mobile devices, where OS memory limits might be lower :thinking:
@Kagami do you think the increase of TOTAL_MEMORY is a legit solution?
Thanks in advance!

Hi, @oleg-preply. It's ok to bump TOTAL_MEMORY, you don't need to recompile wasm module for that. Basically WebAssembly.Memory is an array of bytes you create for your wasm module, so you can use any size it would need. Browsers might not allow to allocate really big e.g. 1GB memory arrays but 100-200MB should be fine even on mobile.
When I was creating this library I thought 16MB is enough for most MP3 records, but seems like it's not. We should either allow to setup TOTAL_MEMORY value via option passed to record/Recorder. Or send compressed MP3 samples from worker to main thread right away, as described in #23.
Second option is better because memory would be consumed in a more optimal way, without allocating MP3 twice, first at worker and then at main thread and spawning wasm module with a lot of memory. But first option is easier to implement and should be ok as short-term solution.
(Btw, it's also possible to grow memory on demand, by I haven't implemented it either.)

repo: Kagami/vmsg


text:
Allow users to get help without requiring an auth token

Currently running a help commands returns an auth error:
kaggle datasets list -h
Unauthorized: you must download an API key from https://www.kaggle.com/<username>/account

Telling users they're unauthorized to look up function signatures is a weird thing to do. It'd be better if, for these specific queries, this requirement was dropped.

As I understand this, it's outside the scope of this project. Backend requires authentication too (check https://www.kaggle.com/api/v1/competitions/list)

authors: ResidentMario giuscri

repo: Kaggle/kaggle-api


text:
slugify dependency is not allowing to install kaggle

slugify is an old library that doesn't support python3, so I don't get why kaggle, which is a python3 package, is requiring it. When trying to install via pypi, I get this error:
Collecting slugify
  Using cached slugify-0.0.1.tar.gz (1.2 kB)
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-y15tsfxk/slugify/setup.py'"'"'; __file__='"'"'/tmp/pip-install-y15tsfxk/slugify/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-69zmzca8
         cwd: /tmp/pip-install-y15tsfxk/slugify/
    Complete output (11 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-install-y15tsfxk/slugify/setup.py", line 26, in <module>
        version          = get_version(),
      File "/tmp/pip-install-y15tsfxk/slugify/setup.py", line 20, in get_version
        data = read_from(rel_file('src', 'slugify.py'))
      File "/tmp/pip-install-y15tsfxk/slugify/setup.py", line 15, in read_from
        return fp.read()
      File "/usr/lib/python3.6/encodings/ascii.py", line 26, in decode
        return codecs.ascii_decode(input, self.errors)[0]
    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 254: ordinal not in range(128)
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

do yolo solve it?
i am facing same issue

I didn't continue to investigate how to solve, as I opted to use kaggle web page for submitting.

@kalessin
Hi! Finally, I figured out this problem.
when i installed Tensorflow object detection api, this error came out.
It was exactly same error message with your error
python3 doesn't support slugiy-0.0.1 , so i searched slugify-0.0.1.tar.gz file on google and installed it by myself
after then Tensorflow object detection api work!
i hope that this way will help you

I didn't continue to investigate how to solve, as I opted to use kaggle web page for submitting.
@quhb2455 @kalessin  I had same error with you.

The followings are my solution:

Clone kaggle-api master branch to your PC.
 git clone https://github.com/Kaggle/kaggle-api.git

Mark  slugify  dependency package from setup.py in  kaggle-api.git folder.
 'six >= 1.10',^M
 'certifi',^M
 'python-dateutil',^M
 'requests',^M
 'tqdm',^M
 'python-slugify',^M
 #'slugify',^M
 'urllib3',^M

Install  slugify  by pip3. This is python3 version.
pip3 install python-slugify

install kaggle-api in folder.
pip3 install -e .

Done.
My environment:

Ubuntu 18.04
Python 3.6.9

@linzino7
Hi, Thank you for telling me the solution.
When i faced that problem, i was installing tensorflow api.
And i have tried what you did, but that python-slugify package doesnt work for me. Tf only recognized "slugify"

For me the problem manifested on a kaggle k push:
Traceback (most recent call last):
  File "/home/dick/.local/bin/kaggle", line 8, in <module>
    sys.exit(main())
  File "/home/dick/.local/lib/python3.6/site-packages/kaggle/cli.py", line 67, in main
    out = args.func(**command_args)
  File "/home/dick/.local/lib/python3.6/site-packages/kaggle/api/kaggle_api_extended.py", line 1907, in kernels_push_cli
    result = self.kernels_push(folder)
  File "/home/dick/.local/lib/python3.6/site-packages/kaggle/api/kaggle_api_extended.py", line 1826, in kernels_push
    as_slug = slugify(title)
  File "/home/dick/.local/lib/python3.6/site-packages/slugify.py", line 24, in slugify
    unicode(
NameError: name 'unicode' is not defined

I was able to circumvent the UnicodeDecodeError and install the package after running apt-get install -y locales-all in my Ubuntu Docker container.

Hi everyone - thanks for reporting this issue!  This should be fixed in the 1.5.10 release, which is available now via pip install.  Please let us know if you're still having issues.

authors: dickmao jplotts kalessin linzino7 quhb2455 tobigue


text:
fix(aggr): field unmatched when fid duplicated

The method channelAggregate() used to search the field (referenced by the key "field" in encoding) in an array so that if there're more than one pills of a same field, e.g.:
[
    { "fid": "foo", "analyticType": "dimension" },
    { "fid": "foo", "analyticType": "measure", "aggName": "sum" }
]

In the case above, any pills with fid "foo" would match the first IViewField, which will make the aggregation ignored, though it's named "sum(foo)".
There's a real case -

The data in the vega-lite config looks like -
{
  "data": {
    "values": [
      {"gwc_3": 0, "gwc_3_sum": 0},
      {"gwc_3": 1, "gwc_3_sum": 724},
      {"gwc_3": 2, "gwc_3_sum": 1430},
      // ...
      {"gwc_3": 22, "gwc_3_sum": 16016},
      {"gwc_3": 23, "gwc_3_sum": 16744}
    ]
  }
}

Which is expected to be -

need refactor

repo: Kanaries/graphic-walker


text:
After connecting to the database, converting it to HTML and applying it to the front-end will result in an "get result error" error. We urgently need an answer!

After connecting to the database, converting it to HTML and applying it to the front-end will result in an "get result error" error.

backend：
from fastapi.responses import HTMLResponse
import pygwalker as pyg
from pygwalker.data_parsers.database_parser import Connector

@displayController.get("/test", response_class=HTMLResponse)
async def get(request: Request):
    conn = Connector(
        "mysql+pymysql://root:root@192.168.137.36:3306/ruoyi_fastapi",
        "SELECT * FROM sys_menu"
    )

    walker = pyg.walk(conn)
    # html_str = pyg.to_html(walker)
    html_str = walker.to_html()
    # df = pd.read_csv(f"vf_admin/upload_path/income.csv", encoding="utf-8")
    # html_str = pyg.to_html(df)
    return html_str

frontend：
<template>

</template>

Currently, the to_html API does not support connectors. However, you can use the following alternatives:

Jupyter Notebook: Use pygwalker.walk to work with your data interactively within a Jupyter Notebook.
Web Apps: Use pygwalker with frameworks like Streamlit or Gradio to create web applications.
Direct Customization: For more advanced customization, you can directly use Graphic Walker.

If your dataset is relatively small, another option is to first load your data into a Pandas DataFrame. Once the data is in a DataFrame, you can pass it to pygwalker and use the to_html API as usual.

Currently, the to_html API does not support connectors. However, you can use the following alternatives:

Jupyter Notebook: Use pygwalker.walk to work with your data interactively within a Jupyter Notebook.
Web Apps: Use pygwalker with frameworks like Streamlit or Gradio to create web applications.
Direct Customization: For more advanced customization, you can directly use Graphic Walker.

If your dataset is relatively small, another option is to first load your data into a Pandas DataFrame. Once the data is in a DataFrame, you can pass it to pygwalker and use the to_html API as usual.

Thanks！！！

authors: ObservedObserver soundmemories

repo: Kanaries/pygwalker


text:
Config panel is not updated on Drag'n'drop from catalog to replace a step

Describe the Bug
Config panel is not updated on Drag'n'drop from catalog to replace a step
Steps to Reproduce the Bug or Issue

add a step
select the step to have config panel opened
open step catalog
Drag'n'drop another step
the name of the step is replaced but the config panel is still on the previous step

Screenshots or Videos

Platform
OperateFirst

closed via https://github.com/KaotoIO/kaoto-ui/pull/1544

authors: apupier kahboom

repo: KaotoIO/kaoto-ui


text:
homeassistant.components.text missing library stubs or py.typed marker

Thanks for creating these stubs.
I'm seeing the following error when running mypy on my custom_component:

Skipping analyzing "homeassistant.components.text": module is installed, but missing library stubs or py.typed marker\

It seems that stubs aren't being generated for some reason for this module, any ideas why?

This looks to be a home assistant issue, for some reason homeassistant.components.text.* is not listed in https://github.com/home-assistant/core/blob/dev/.strict-typing even though it is a relatively new internal component. I'll track this over there!

Tracking on https://github.com/home-assistant/core/issues/94888

repo: KapJI/homeassistant-stubs


text:
Add my name

@KapilKumar7 I have added my name in README.md file. Please Merge it.

Thanks for your contribution 😊. Don't forget to ✨ our Repository.
If you want to contribute to our new Ideas Project -https://github.com/KapilKumar7/CreativeAppIdeas


text:
Genes section only returns proteins with abundances object

At the moment, Genes section on the intermediary page only returns proteins with abundances object. I think we should include entries without abundances because we have expanded the scope of the section from Proteins to Genes

The call is using the protein_ranked_by_ko (e.g. ras) call on the backend. This call was initially designed to only return proteins with abundance information.
You are right that we should now include everything. I think the best approach is to change protein_ranked_by_ko to return all genes (not just genes with abundance data).

The call is using the protein_ranked_by_ko (e.g. ras) call on the backend. This call was initially designed to only return proteins with abundance information.
You are right that we should now include everything. I think the best approach is to change protein_ranked_by_ko to return all genes (not just genes with abundance data).

Agreed

ras now returns entries without abundances too. It might cause some KeyError related errors.

It sounds like @lzy7071 has addressed this by changing the REST API. Can this be closed?

It sounds like @lzy7071 has addressed this by changing the REST API. Can this be closed?

My only concern is that there might be some KeyError related issues because currently frontend probably assumes abundances field always exists.

I assume @lzy7071 is referring to L38 of ProteinAbundanceDataTable.js. I think this line was file. In any case, I changed the line to more explicitly check for the existence of the abundances key.

authors: jonrkarr lzy7071 yosefdroth


text:
Not working with Dagger 2

Using MVP architecture with Dagger 2.
Expected behavior
Permission Dialog should show without declaring in the manifest file.
Actual behavior
Error message shows

com.karumi.dexter.DexterActivity}; have you declared this activity in your AndroidManifest.xml?

Steps to reproduce
Dexter.withActivity(this)
                .withPermissions(
                        Manifest.permission.ACCESS_FINE_LOCATION,
                        Manifest.permission.ACCESS_COARSE_LOCATION
                ).withListener(new MultiplePermissionsListener() {
            @Override
            public void onPermissionsChecked(MultiplePermissionsReport report) {
                Log.i("",report.toString());
            }

            @Override
            public void onPermissionRationaleShouldBeShown(List<PermissionRequest> permissions, PermissionToken token) {
                Log.i("",token.toString());
            }
        }).check();

inside onCreate of my Main Activity
Version of the library
Dexter version
compile 'com.karumi:dexter:4.1.0'

Hi @daupawar
DexterActivity is already declared in the Dexter Android Manifest so there is no reason for your code not to work. Are you using some sort of proguard/dexguard configuration? I guess the issue is related to that, we will be doing a release with a custom proguard configuration so that we don't obfuscate any class contained in the library.
Thanks for reporting

We don't have any reply about this problem for two months. I going to closed because we cannot reproduce the error without more info.

authors: Serchinastico daupawar flipper83

repo: Karumi/Dexter


text:
[Libraries] Compatibility

Ошибки совместимости:

Не удаляет php5ts предыдущей версии
Не загружает старый (из ds 3) формат событий и информации об объектах - php_igbinary.dll
Не работает функция chromium_allowedcall - php_v8js.dll

Остался лишь последний пункт, anyway it's better just to refactor chromium_alowedcall function (this is a kind of shit now)


text:
Error with access logging and unix socket

I run the server on unix socket with asyncio 0.22.5, python 3.5.2 and get the following error:
aiohttp.access ERROR 2016-08-16 13:46:34,653: Error in logging
Traceback (most recent call last):
  File "/var/www/polygon_venv/lib/python3.5/site-packages/aiohttp/helpers.py", line 405, in log
    [message, environ, response, transport, time]))
  File "/var/www/polygon_venv/lib/python3.5/site-packages/aiohttp/helpers.py", line 392, in _format_line
    return tuple(m(args) for m in self._methods)
  File "/var/www/polygon_venv/lib/python3.5/site-packages/aiohttp/helpers.py", line 392, in <genexpr>
    return tuple(m(args) for m in self._methods)
  File "/var/www/polygon_venv/lib/python3.5/site-packages/aiohttp/helpers.py", line 348, in _format_a
    return args[3].get_extra_info('peername')[0] if args[3] is not None \
IndexError: index out of range

With disabled access log or without unix socket problems not observed.

Duplicate of #816 (https://github.com/KeepSafe/aiohttp/issues/816#issuecomment-236359667)
fixed in master

authors: gleb-chipiga popravich

repo: KeepSafe/aiohttp


text:
Disqus integration

I've added disqus comments for every documentation page.
You can try it for unreleased version: http://aiohttp.readthedocs.org/en/latest/web.html
Scroll down the page and see comments section.
I hope it's helpful.
I'm the prime moderator for aiohttp disqus project. @fafhrd91 @kxepal @popravich please sign up into disqus.com and send me your usernames privately -- I'll add your names to the list.

A way exists to follow all comments on all documentation by RSS feed or by email?

@GMLudo technically, should be possible to receive notifications by following aiohttp @ disqus. All the comments (or at least last activity) should be visible here: https://disqus.com/home/forum/aiohttp/

@kxepal thank you for the link.

authors: GMLudo asvetlov kxepal


text:
Move back context-menus to Renderer process

Latest versions of Electron added an async option to menu.popup, maybe we should move back all context menus in the rendered process asthe current layout of complexity is not needed anymore?

I'd say let's try, if it works as expected, then let's use it and report regressions if something breaks in the future.

authors: KeitIG YurySolovyov

repo: KeitIG/museeks


text:
[Feature] Update for TYPO3 v13

This PR replaces #53 and has better sorted and explained commits / commit messages and fix #54.
All known issues have been fixed in this branch.
The PR is based on the main branch and shall be used to merge into the new branch (to be created) TYPO3_13 from there.
I don't tag this, as I've no access to publish automatically to TER.
The version is 4.0.0 and should be tagged as well as getting a release.
My version constraints in composer.json look a bit clumsy, let me know what you think, example:
"typo3/cms-backend": "^13.3.1 || ^13.4 || dev-main",

The button "Copy content from another page to this place" is not working for me. The modal is opening, but then I cannot add something as a reference.

The button "Copy content from another page to this place" is not working for me. The modal is opening, but then I cannot add something as a reference.

Mhm, checking again, actually I tested it ...

@PKuhlmay I updated my TYPO3 installation and tested again, I can't reproduce you issue, so for me it's working fine.
I also deleted my code to fetch it new from the repository for testing.

@PKuhlmay I updated my TYPO3 installation and tested again, I can't reproduce your issue, so for me it's working fine. I also deleted my code to fetch it new from the repository for testing.

OKay, maybe it is a problem with my installation. I will test this later in a clean one.

That would be great!
Thanks a lot!!!

Set to draft to make clear that this needs to wait until main / v12 has been finished first.

authors: DavidBruchmann PKuhlmay sbuerk


text:
Wierd Artifacting and broken fonts after scrolling

Describe the bug

On scrolling through files, weird artefacts, like colour from status line remains persistent
The fonts become completely illegible blurry

To Reproduce
Steps to reproduce the behavior:

Go to Terimal, open any file in neovide
Scroll down using j or shift + ] or any other key
See error

Expected behavior
Fonts and lines should not be cut off after scrolling
Screenshots
If applicable, add screenshots to help explain your problem.

Look at line 210 in below screenshot

Desktop (please complete the following information):

OS: [Ubuntu 20.10], using xmonad
Neovide Version: latest commit from master
Neovim Version 0.5

What font are you using

Here a bunch that very consistently show such behaviour

FiraCode Nerd Font
Sauce Code Pro
Jetbrains Mono
Cascadia Code PL
Ubuntu Mono / Nerd Font

Hi, I observe the same bug here.

Arch Linux
Neovide 0.7.0
neovim (build myself)

NVIM v0.5.0-dev+1450-g5aaa1a1c0
Build type: Release
LuaJIT 2.1.0-beta3

i can repro something like this on windows now. The trick was dpi scaling had to be enabled, so it looks like this has to do with the renderer's interaction with scaling.

Yes, it seems related to scaling. I tried to reproduce bug with scaling set to 1, and was not able to. At 1 it works fine.
When using wayland it renders at 1 regardless of system-wide scaling.
I'll try to dig this issue.

What scaling setting are you talking about ?

I'm talking about this scaling: https://docs.rs/winit/0.22.2/winit/window/struct.Window.html#method.scale_factor
If you're using x11, it's calculated from DPI.

As workaround you can set WINIT_X11_SCALE_FACTOR=1 and just set bigger font size.

@doums try running latest version with neovide --log, and then show me grep scale neovide_rCURRENT.log. And what exact font and font size are you using?
Issue is affecting some font sizes more than others, and i want to find some good combinations to reproduce it.

@Kethku I'm pretty sure it's some sort of rounding issue. window.scale_factor() sometimes passed as f64 and sometimes as f32. And multiplied by font size in some parts. And with scaling like 1 or 2 it works perfectly fine.
Maybe you have some ideas/hints?

@Kethku i'm worried abount those lines:

In src/renderer/mod.rs:draw_frame there is root_canvas.scale((scaling, scaling));
And in src/renderer/rendered_window.rs:handle_window_draw_command there is canvas.scale((scaling, scaling));
If i comment out one of them, it scales in half, if i comment both - it scales in half more. Is it supposed to work this way?

When i get these artifacts, cursor is rendered at slightly different (and i think, correct?) position.

And when i change mode to visual and make a selection, line gets rerendered at same position as cursor, without artifacts.

I introduced a fix for this here: https://github.com/Kethku/neovide/pull/791 which removes the scroll performance optimization which seems to cause the issue. Could you try it and or review the change? I know you've been looking into this @last-partizan

https://github.com/Kethku/neovide/pull/793
Here is another fix. @doums @smit2909 please, try it.

bug seems to be fixed in #793 good job !
But I can't build main, it's failing with
error: checksum for `skia-safe v0.40.2` changed between lock files

@doums Merged fix

main is still broken

#793
Here is another fix. @doums @smit2909 please, try it.

Awsome! Working like a charm @last-partizan . No more broken fonts. I am on 755-scale-factor branch though. I didnt build after the merge into main.

@doums are you sure?
https://github.com/Kethku/neovide/commit/5c5cf9088da9ce205f2225ca969fcf2f251e4c12
Does git log includes this commit?

Just to be clear, #793 is not merged yet.
I just merged fixes for broken main branch.

@doums are you sure?
5c5cf90
Does git log includes this commit?

I was talking about artifact bug on main branch. Yes the build is fixed of main branch and yes it includes the commit.

This should be fixed now on main.

authors: Kethku doums last-partizan smit2909

repo: Kethku/neovide


text:
mode doesn't work for multiple mode values

Current mode methods do not work correctly if there are more than one mode value.
e.g.)
val result = BigInts.mode(List[BigInt](1, 1, 2, 3, 3, 3, 3, 5, 5, 7, 7, 7, 7, 100, 101, 101, 101, 101, 8))

The result should be
List[BigInt](3, 7, 101)

This bug was found while I was working on #4.

Reference: https://www.mathsisfun.com/mode.html

Performance Tests
Implementation1 (using grouping)
Implementation
def mode[T](numbers: Seq[T])(implicit cmp: Ordering[T]): Seq[T] =
  if (numbers.isEmpty)
    Nil
  else {
    val grouped = numbers.groupBy(identity)
                         .map { case (n, ns) => (n, ns.length) }
                         .groupBy(_._2)
    val max = grouped.maxBy(_._1)._1
    grouped(max).keySet.toList.sorted
  }

Test Result
[info] Parameters(size -> 10): 0.064751
[info] Parameters(size -> 10010): 0.529939
[info] Parameters(size -> 20010): 0.994685
[info] Parameters(size -> 30010): 1.492538
[info] Parameters(size -> 40010): 1.902386
[info] Parameters(size -> 50010): 2.465508
[info] Parameters(size -> 60010): 3.026509
[info] Parameters(size -> 70010): 3.336656
[info] Parameters(size -> 80010): 3.747381
[info] Parameters(size -> 90010): 4.275174
[info] Parameters(size -> 100010): 4.756118

[info] Parameters(size -> 10): 0.053772
[info] Parameters(size -> 500010): 23.991565
[info] Parameters(size -> 1000010): 48.710086

Implementation2 (using  recursion and eliminating unnecessary values early)
Implementation
def mode[T](numbers: Seq[T])(implicit cmp: Ordering[T]): Seq[T] =
  if (numbers.isEmpty)
    Nil
  else {
    @tailrec
    def groupMax(numbers: Seq[T], max: Int, result: Seq[T]): Seq[T] = numbers match {
      case _ if numbers.isEmpty =>
        result
      case head +: tail =>
        val (x, rest) = tail.span(_ == head)
        val length = x.length + 1
        if (length > max) groupMax(rest, length, Vector(head))
        else if (length == max) groupMax(rest, max, result :+ head)
        else groupMax(rest, max, result)
    }
    val sorted = numbers.sorted
    groupMax(sorted, 0, Vector.empty)
  }

Test Result
[info] Parameters(size -> 10): 0.103891
[info] Parameters(size -> 10010): 2.393542
[info] Parameters(size -> 20010): 4.500455
[info] Parameters(size -> 30010): 6.730943
[info] Parameters(size -> 40010): 8.789684
[info] Parameters(size -> 50010): 10.968671
[info] Parameters(size -> 60010): 13.100619
[info] Parameters(size -> 70010): 15.241562
[info] Parameters(size -> 80010): 17.462879
[info] Parameters(size -> 90010): 19.49149
[info] Parameters(size -> 100010): 21.661709

[info] Parameters(size -> 10): 0.060974
[info] Parameters(size -> 500010): 109.741451
[info] Parameters(size -> 1000010): 222.460185

repo: Kevin-Lee/skala


text:
Can't connect or debug

Can't find the logs where the plugin is even trying to connect. I have 6 cameras setup in Shinobi and wanted to setup viewing to homekit as well.
Here is my config
            "platform": "Camera-ffmpeg",
            "cameras": [
                {
                    "name": "Right AC",
                    "videoConfig": {
                        "source": "-rtsp_transport tcp -i rtsp://username:password
!@ipaxis-media/media.amp?videocodec=h264&streamprofile=Media?",
                        "stillImageSource": "-i http://username:password!@ip/axis-cgi/jpg/image.cgi",
                        "maxStreams": 2,
                        "maxWidth": 704,
                        "maxHeight": 480,
                        "maxFPS": 30,
                        "vcodec": "h264_omx",
                        "additionalCommandline": "-loglevel verbose",
                        "debug": true
                    }
                }
            ]
        }

Can anyone help with my config and finding the logs?
Device is an AXIS 291U (converts analog to ip) and its working in shinobi.

Can you share your entire config.json?

Dang. I totally figured it out. The device needed a specific stillimagesource url. Once I figured that out all was well.

authors: Claywd shelstep

repo: KhaosT/homebridge-camera-ffmpeg


text:
Allow the videoProcessor to be configured

allow the use of avconv if wanted

Thanks :)

authors: KhaosT NebzHB


text:
Allow MPI command output to be verbose for OpenMPI

Description
Currently, the --quiet flag is added to the mpiexec command in the khiops-env script on Linux platforms, which utilize OpenMPI for native installations.
The goal of this issue is to add an environment variable KHIOPS_MPI_VERBOSE, which is set to "false" by default and, if set to "true", would remove the --quiet flag.
Thusly, MPI-related errors could be checked on demand.

I'd call it KHIOPS_MPI_QUIENT because there is an --verbose option in OpenMPI

I'd call it KHIOPS_MPI_QUIET because there is an --verbose option in OpenMPI in addition to --quiet.

One argument for the current KHIOPS_MPI_VERBOSE would be that, depending on the MPI back-end, this verbosity might mean different things:

for OpenMPI, which is the default back-end for native installations on Linux (but can be overridden via the KHIOPS_MPI_COMMAND and KHIOPS_MPI_LIB environment variables) we define this as being a switch on the --quiet flag (and this might change in the future - perhaps by combining it with the --verbose flag ? @bruno-at-orange ?)
for MPICH (possible alternative back-end on some platforms - e.g. khiops-core on Conda), this does nothing currently, but could do in the future,
etc.

The first proposal is fine: KHIOPS_MPI_VERBOSE which is set to "false" by default

What happens if it is not defined in the environment? It acts as a if it were false ?
What happens if it is defined values other than true and false ?

What happens if it is not defined in the environment? It acts as a if it were false ?
I would say "yes".

What happens if it is defined values other than true and false ?
I would say anything != true acts like false.

Ok

My understading is that in khiops-env the KHIOPS_MPI_VERBOSE variable is set to "false" by default (that is, if it is not already defined in the environment). If this variable's value is different from "true" (which includes the default "false" or whatever the user has set), then --quiet is added to mpiexec. If this variable's value equals "true", then the --quiet flag is not added to mpiexec.
Is this also your understanding @bruno-at-orange ?

repo: KhiopsML/khiops


text:
Commands using mtlComputeEnc in MVKCmdTransfer.mm polluting the tracked encoder state?

I have an error that seems incorrect, where I have an argument buffer of size 12 at index 1, but metal is saying only 4 bytes are bound to it. Tracing through the code, I can see the code is avoiding re-binding at that index because it thinks it's not dirty.
However just before this command, I'm using vkCmdFillBuffer, which I can see is calling setBytes with a size of 4 for index 1.
I do have a command before the vkCmdFillBuffer that is binding the buffer to index 1, which is why the state tracking thinks it's already bound with the correct size of 12.
Isn't vkCmdFillBuffer (and likely other similar ones in the file), changing the encoder state, but those changes aren't being tracked in MVKResourcesCommandEncoderState?

PR #1922 should fix this. Please retest with latest MoltenVK and close this issue if it corrects the problem.

This commit seems to introduce a regression, as I now get
-[MTLDebugComputeCommandEncoder dispatchThreadgroups:threadsPerThreadgroup:]:1047: failed assertion computePipelineState must not be nil.'`
On startup in my app, which worked fine before. Seems like there is a new case where the compute pipeline encoder isn't executing.

authors: billhollings mbechard

repo: KhronosGroup/MoltenVK


text:
add  cl_khr_expect_assume to test_compiler_defines_for_extensions

https://github.com/KhronosGroup/OpenCL-CTS/issues/1424#issuecomment-1554680436

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

I actually had it as an api only extension at first because the extension spec doesn't define any feature macros for it. It does seem a bit silly to me to define cl_khr_expect_assume macro that doesn't do anything because spirv does the work. at least in the rusticl implementation.

There are a handful of SPIR-V only extensions now and I suspect we might want to figure how to treat those.
"API only" here basically means, that the online compiler of the OpenCL runtime doesn't expose any feature macro and I think that term is therefore misleading.
So if an extension doesn't define anything on the OpenCL C level, we should just treat them as "API only". Some extensions might define a feature macro in additions to new OpenCL C features and we'll have to check those explicitly anyway.

Side note: I don't think we should allow SPIR-V only extensions under khr, because they just fragment how compilers actually implement those extensions in their OpenCL C frontend and we might end up with implementations doing it differently. We should rather just define this alongside the SPIR-V side so it's all consistent across various OpenCL C to SPIR-V compilers, which in almost every case will be clang anyway)

If I had a say in it I would say it's api only.

Yeah, I think I agree with this too, though I'm starting to put "api only" in quotes.
I think what really happened here is that we used to only have two categories of extensions: "API-only" extensions, which only affected OpenCL runtime APIs, and "non-API-only" extensions, which affected the (OpenCL C) compiler.  The first category did not need any macros, because they only affected runtime APIs, but the second did.  This is how the two categories of extensions are used in this test.
We've since added a third category of extensions that affect the compiler, but does not affect the OpenCL C compilers, and hence does not need or include a macro.  These aren't really "API-only" extensions, but this categorization works for the purposes of this test.

Side note: I don't think we should allow SPIR-V only extensions under khr, because they just fragment how compilers actually implement those extensions in their OpenCL C frontend and we might end up with implementations doing it differently. We should rather just define this alongside the SPIR-V side so it's all consistent across various OpenCL C to SPIR-V compilers, which in almost every case will be clang anyway

Can you say a little more about how this might work?  I'd love to have a way to streamline SPIR-V-only extensions but I haven't thought of a clever way to do this just yet.
Note that some of these SPIR-V-only extensions may not have any representation in OpenCL C (cl_khr_spirv_linkonce_odr is a good example), but they're still useful so kernels written in other source languages may executed via an OpenCL runtime.
We should probably move this conversation to a separate issue so it doesn't disappear when this PR gets merged.

@bashbaug https://github.com/KhronosGroup/OpenCL-Docs/issues/941

btw, we already treat cl_khr_spirv_no_integer_wrap_decoration as API only, which is also spirv only in its current form.

All good from my end, thanks for the nudge!

This has two approvals now, plus @lakshmih's prior approval.  Merging.

authors: CLAassistant bashbaug karolherbst norablackcat

repo: KhronosGroup/OpenCL-CTS


text:
SDK won't build using embedded python

The existing SDK CMake code uses python to generate a number of artifacts, but also uses the PYTHONPATH environment variable to ensure that common modules can be loaded.
However, while trying to create an openxr port for vcpkg, I've discovered that vcpkg provides an embedded version of python.  Embedded versions of python from version 3.5.1 and on ignore the PYTHONPATH variable and this is apparently by design.
I'm investigating what needs to happen to make the OpenXR build work with either a conventional Python3 installation or an embedded one.

I see you had patches in your vcpkg fork - I'd accept them.

I've opened a PR for the embedded python issue with #46 but I consider the other patch to be a pack, since it hard-codes library names.  However I can update my existing PR #44 to use a similar approach but use the find_package(X11) mechanism for the libraries instead of hard-coding them.

That would be great if you updated to use find modules. I merged the other PR.

authors: jherico rpavlik

repo: KhronosGroup/OpenXR-SDK