getAvailableFontsSync() don't return the latest font info when called multiple times.

I tested the async and sync versions on Windows and both seem to work for me:
import { createRequire } from "module";
const require = createRequire(import.meta.url);
const fontManager = require('font-manager');

// fontManager.getAvailableFonts((fonts) => {
//     const filterdFonts = fonts.filter((font) => font.family.includes('Consolas'));
//     console.log('fonts', filterdFonts);
// });

const fonts = fontManager.getAvailableFontsSync();
const filterdFonts = fonts.filter((font) => font.family.includes('Consolas'));
console.log('fonts', filterdFonts);

I'm using git+https://github.com/q-lukasz/font-manager.git#issue-45--compile-error-mac-os-x--node-13-7 as upstream. Not sure if that includes more fixes.

@random-yang I think I managed to "reproduce" this by running it in a loop that lists and unregisters fonts in windows. I am doing this because in Windows fonts are in a table so if you register a font multiple times it has multiple entries in that table.
I also ran this in a separate script (different process) and I still had the same issue so it's not related to the library but seem to be related by the latency in windows in uregistering fonts (at least in my case).
I assume you are not unregistering fonts. In that case the issue may be that the font is registered multiple times so it seems like font-manager returns a cached result.


Add boost_ts parameter to add stable-ts

Add boost_ts parameter which would utilize the stable-ts library.

After trying the above library and whisper-timestamped, did not see noticeable improvements.


How to send message to a specific user

Please is there anyway to send message to a specific user via id or any other means.  where can I implement that on the code.
Again is this userid randomly generated and unique for all connected client
Thanks

Hello everyone. any help on this please

Hi, with the current code you cannot send data to a specific user. I've changed the code for my usecase ( chat rooms where each user is connected to a chat room and he doesn't get messages from other rooms ) but it is quite complicated and i use it atm ( so as a security measure i won't post it here ) and maybe i can help you by explaining what i did:

On the class "WebSocketUser" add one more attribute to the user ( $this->room_id ), like:
function __construct($id, $socket,$room_id = '') {      $this->id = $id;      $this->socket = $socket;      $this->room_id = $room_id; }
Change the protected method "protected function process ($sender,$message)" from class "echoServer" to make sure you send the message to the users connected to that room, since $this->users holds all connected users.
!important: $message variable must have the room_id ( you can have $message as json, not plain text )
# send the data only to the users connected to specific room id $message = json_decode($message,true); foreach($this->users as $user) {  if($message['room_id'] == $user->room_id) {  $this->send($user, $message);  } }
When the user is connecting to the ws server, make sure you send the room id in the URL/Path like: ws://yourdomain.com:9000/room142 where room142 is your room id.
And lastly, change the method: "doHandshake" and add the room_id to the user object when the users is connecting ( step 3 ) like this:
if (isset($headers['get'])) {          $user->requestedResource = $headers['get'];          $user->room_id = trim($headers['get'],'/'); # parse the GET request to get the room id      } else {          // todo: fail the connection ....

I hope it does help you, this is not simple to implement since you have to change the the source code. If you have specific questions, feel free to ask.

Thank You so much Sir DrkAlien for your response. I implemented your suggestion. The app runs but message is not sent between the two users.
Here is how I added your solution
testwebsock.php

#!/usr/bin/env php
<?php

require_once('./websockets.php');

class echoServer extends WebSocketServer {

  function __construct($addr, $port, $bufferLength) {
    parent::__construct($addr, $port, $bufferLength);
    $this->userClass = 'MyUser';
  }

  //protected $maxBufferSize = 1048576; //1MB... overkill for an echo server, but potentially plausible for other applications.

// send message only to yourself
/*
  protected function process ($user, $message) {
   $this->send($user,$message);
  }
*/

// send the data only to the users connected to specific room id

protected function process ($user, $message) {

if (isset($headers['get'])) {

$user->requestedResource = $headers['get'];
$user->room_id = trim($headers['get'],'/');
//parse the GET request to get the room

$message = json_decode($message,true);
foreach($this->users as $user) {
 if($message['room_id'] == $user->room_id) {
$this->send($user, $message);
 }
}

 }
 else {
 // todo: fail the connection ....
}

}

  protected function connected ($user) {
    // Do nothing: This is just an echo server, there's no need to track the user.
    // However, if we did care about the users, we would probably have a cookie to
    // parse at this step, would be looking them up in permanent storage, etc.
  }

  protected function closed ($user) {
    // Do nothing: This is where cleanup would go, in case the user had any sort of
    // open files or other objects associated with them.  This runs after the socket
    // has been closed, so there is no need to clean up the socket itself here.
  }
}
//$echo = new echoServer("localhost","9000");
//$echo = new echoServer("localhost","9000", 1048576);

//$echo = new echoServer("<IP_ADDRESS>","9000", 1048576);
$echo = new echoServer("localhost","9000", 1048576);

try {
  $echo->run();
}
catch (Exception $e) {
  $echo->stdout($e->getMessage());
}

here is **user.php**

id = $id;
    $this->socket = $socket;
  }
}

class MyUser extends WebSocketUser {
  public $myId;
/*
  function __construct($id, $socket, $myId) {
    parent::__construct($id, $socket);
    $this->myId = $myId;
  }
*/

// send mesage to users in a particular room
function __construct($id, $socket,$room_id = '')
{ $this->id = $id; $this->socket = $socket; $this->room_id = $room_id; }

}

```

```

First of all, this line must be added on the  doHandshake protected method right after the foreach in that if at line 198.
$user->room_id = trim($headers['get'],'/');
Because the room_id is set on that method and make sure the $message variable that is sent between users is a json string ( $message = json_decode($message,true); ) in this format:
{"room_id":123,"message":"some text"}
You can hardcode it for testings.
One last thing, make sure you send messages like this in the process method:
`
protected function process ($user, $message) {
    $message = json_decode($message,true);
    // go in a loop for each user
    foreach($this->users as $user) {
        // if the user i am at has this room id from the $message['message'] array
        if($message['room_id'] == $user->room_id) {
           // send the data to this user
           $this->send($user, $message['message']);
        } else {
           // do nothing, this user is connected to another room id
        }
    }` // end foreach
}

`

Thanks so much Sir

Did it worked?

It partly works  but message are not sent across one browser to another so i have decided to let it go for now. Thanks


[Feature] Automatically set ADO configuration value for executed test cases

Hi, first of all thanks for this reporter, it's super useful!
I'm very new to Azure DevOps and noticed it's possible to set configuration options for test plans:

Is it possible to apply/create them dynamically and assign them to the executed test cases?
Right now, it always sets the default configuration for each test case:

I run the tests in three browsers and it's hard to see which browser was used for each test right now. It would be great to see the browser name in the configuration column there.

Hi, thanks for the feedback.
You can try beta package
npm install<EMAIL_ADDRESS>here i'm adding ability to extend test run data when it creating
[
     './src/playwright-azure-reporter.ts',
     {
       orgUrl: azureConfig.orgUrl,
       token: azureConfig.token,
       planId: azureConfig.testPlanId,
       projectName: azureConfig.projectName,
       environment: 'AQA',
       testRunTitle: 'Playwright Test Run',
       uploadAttachments: true,
       logging: true,
       attachmentsType: ['screenshot'],
       testRunConfig: {
         owner: {
           displayName: 'Alex Neo',
         },
         comment: 'Playwright Test Run',
       }
     } as AzureReporterOptions
   ]

testRunConfig object inside reporter configuration
Read doc from more information about info what you can pass it
try it and i waiting for feedback

Hi, thanks for the quick response. This looks promising, I think what I need is the configurationIds parameter which is not yet transmitted (?).
I tried this:
testRunConfig: {
    configurationsIds: [42]
}

Where 42 is my configuration id:

Still, it shows the default configuration (Windows 8) on all executed test cases.

I tried this:
testRunConfig: {
    configurationsIds: [42]
}

you pass incorrect variable, correct - configurationIds
try<EMAIL_ADDRESS>I previously exclude configurationIds from config and pass default value - [1] anyway. at 1.2.0-beta.1 i changing it to be optional

Oh wow, I thought I copied it 😄
With 1.2.0-beta.1, I get the type hint now. It still shows the default configuration in ADO though, even though I set the ID to one of the others.

Oh wow, I thought I copied it 😄 With 1.2.0-beta.1, I get the type hint now. It still shows the default configuration in ADO though, even though I set the ID to one of the others.

ok, i think i finding where problem. i need some time to implement it
when i do this - i ping you

@z0n
try this -<EMAIL_ADDRESS>if you will setup value configurationIds this package trying to find corresponding pointsId by testPalnId, testCaseId and it mite be included in configurationIds - if it is package took it, otherwise - set default value with is [1]

Thanks, I'll try it next week!

Hi, I tried it with your new version but I'm not sure if I did it right. This is my current reporter config:
[
    '@alex_neo/playwright-azure-reporter',
    {
        orgUrl: azureOrgUrl,
        token: azureToken,
        planId: azureTestPlanId,
        projectName: azureProjectName,
        environment: 'Playwright',
        testRunTitle: `Playwright Test Run ${new Date().toISOString()}`,
        uploadAttachments: true,
        attachmentsType: ['screenshot', 'video', 'trace'],
        testRunConfig: {
            configurationIds: [42]
        }
    } as AzureReporterOptions
]

42 is the ID of the configuration I'd like to use.
However, the default configuration is still used instead that one.
Do I need to set anything else?

@z0n can you text me for debugging - https://t.me/Alex_Neo

@z0n hi, man
i'm set configurationIds config and test it
i'm set not default id and run it
here is what i get

default value is - Windows 11
if you have some questions pls open new issue

Hi @alexneo2003, sorry I didn't come back to you, I was busy with other tasks. It works now, I didn't know I had to assign the configurations I wanted to use to the test plan.
Thanks for your work!


There was an SSL error when I deployed the environment

I execution instruction "ansible-playbook -i environments/local openwhisk.yml"
And  when to execute the task ——“TASK [cli : Download release archive to build directory ...] ”，
there is an SSLError ——“ An exception occurred during task execution. To see the full traceback, use -vvv. The error was: SSLError: ('The read operation timed out',)”
the details are as follows.
TASK [cli : Download release archive to build directory ...] ***********************************************************************************************************
Friday 17 April 2020  13:43:15 +0800 (0:00:00.261)       0:04:01.627 **********
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: SSLError: ('The read operation timed out',)
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "msg": "failed to create temporary content file: ('The read operation timed out',)"}
failed to create temporary content file: ('The read operation timed
out',)
PLAY RECAP *************************************************************************************************************************************************************
<IP_ADDRESS>                 : ok=11   changed=2    unreachable=0    failed=1
controller0                : ok=26   changed=3    unreachable=0    failed=0
invoker0                   : ok=29   changed=7    unreachable=0    failed=0
kafka0                     : ok=10   changed=4    unreachable=0    failed=0
Friday 17 April 2020  13:48:47 +0800 (0:05:31.380)       0:09:33.008 **********

The logs show

The read operation timed out

This might indicate the nginx container failed to start up or crashed. Check docker ps output to see which containers are up. How did you deploy your stack?


Filter - buy now - not working?

I selected sorting from low to hight, then selected "buy now" so I can see NFTs for sales. It did not work. on the picture you can see that it did not filter NFTs that are not for sale.

refreshed the page, it worked after that, and I cannot replicate it again. So most likely just some glitch? Should I close the issue?

👋


IllegalArgumentException: Can't get key for League without ID or queue and tier!

Bug: Default code given doesn't work. I removed my api key in the image for obvious and my api key is confirmed to be working. Orianna.challengerLeagueInQueue(Queue.RANKED_SOLO).get(); //Throwing the error

Hey, what version of orianna are you using & how are you pulling it in as a dependency? If you're not already, can you try using the latest SNAPSHOT and tell me if you're still seeing the same problem? I can't reproduce it.

Thanks for the reply, but i've since move to a different api. But I used this in my gradle:
repositories {
  mavenCentral()
}

dependencies {
  implementation "com.merakianalytics.orianna:orianna:4.0.0-rc5"
}

Alright, thanks for the report though. For anyone following along, this should be working in the latest SNAPSHOT and we'll get a release out soon to make sure it's working in the stable version as well.


Notifications patch

@Megamiun Thank you for the code and suggestions. Keep up the good work! Anything else before this is merged in to master?

Wow, it is ok for me. Good move :D

cool. @foreshadow, this is ready to merge and push upstream. it will warn users wehn improper settings are used.


VarBinary(16) column breaks DeriveEntityModel derive

Description
After successfully importing the entity for a table containing a VarBinary(16) field, I am unable to build due to an error originating from the DeriveEntityModel derive in the entities Model struct.
Steps to Reproduce

Import a table with a VarBinary(16) column
Attempt to build with 'cargo build'

Expected Behavior
Program builds.
Actual Behavior
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "EventLog")]
pub struct Model {
    #[sea_orm(primary_key, unique)]
    pub event_log_id: i32,
    pub event_type_id: i32,
    pub user: String,
    pub timestamp: DateTime,
    #[sea_orm(column_type = "VarBinary(16)")]
    pub ip_address: Vec<u8>,
    pub event: Json,
}

error[E0308]: mismatched types
--> src\entities\event_log.rs:5:35
|
5  | #[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
|                                   ^^^^^^^^^^^^^^^^^
|                                   |
|                                   expected StringLen, found integer
|                                   arguments to this enum variant are incorrect

Reproduces How Often
Every time.
Workarounds
None.
Versions
MySQL 8.0.35 compiled for Linux (x86_64)
Windows 11 Version 10.0.22631 Build 22631
sea-orm v1.0.0
sea-orm-macros v1.0.0 (proc-macro)
sea-bae v0.2.0 (proc-macro)
sea-query v0.31.0
sea-query-binder v0.6.0
sea-query v0.31.0 (*)

In case you haven't already solved this, this is because the VarBinary enum variant of ColumnType now has an inner field of type StringLen. To specify a specific length for VarBinary, you'll need to change your column_type to VarBinary(StringLen::N(16)).


crowdsec 1.6.0 high cpu

following upgrade to 1.6.0 from 1.5.4 crowdsec addon consumes much higher cpu - constant 60%... restoring 1.5.4 returns to normal 0%.

host is proxmox
Core 2024.1.6
Supervisor 2024.01.1
Operating System 11.4

Hi @alpy-nz,
We add new version. Can you test with the latest version please ?

hi there thanks for the reply - tried the newer version and cpu again jumped up  on start to 59% and stayed at that level unfortunately

Hi @alpy-nz,
Could you please come to discord. Maybe it's better to troubleshoot together easily.
We will past the solution here to close the issue if we fix it.

Since I wasn't apart of conversion, I will class issue as completed.
If this is not the case please reopen.


vtworker: Add statistic variables for the number of rows skipped per …

…table in each clone phase (online/offline).
This count is included in the total number of processed rows.
Doing so fixes the problem that the ETA calculation was wrong for subsequent online clones where many equal rows were skipped.

@alainjobart Head's up: Anthony and I will use the "assign" feature in GitHub from now on and no longer explicitly mention people using the @ syntax.
I've assigned this pull request to you before posting this message and you should have gotten an email for that.

LGTM


Update validator page to allow for selecting schema or Sender settings

Problem statement
In this MVP, we have three possible master schemas to validate against with the public validation tool.  Since the users may or not be logged in, we have no way of knowing which schema they'll want to validate their uploads against.  Additionally, Organizations have their own Sender settings against which they may want to validate.  Consequently, we'll need to provide a select box to choose among all available options on the validation page while they're uploading their file.
What you need to know
We currently have three "master schemas" that we can validate against:

HL7
CSV
CSV OTC

Acceptance criteria
For all users

[x] There's a select box accompanying the validator tool
[x] The schema choice can be pre-selected via unique query parameter in the URL

[x] If the schema choice is invalid or not applicable for the currently logged-in user, there should be no initial selection

[x] The validation button should be disabled until the user selects an option and chooses a file for upload

For an unauthenticated user

[x] The dropdown component should be rendered with the three default options

For an authenticated user

[x] The dropdown component should be rendered with all available Sender settings for the user in addition to the three default options
[x] If the user has a designated schema, the dropdown should default to that

Additional information

We may want to hide the tooltip behind a public-validator feature flag if it'd be confusing to admins as we're preparing to make the validator page public.
FileHandler is also rendered in UploadToPipeline, but that's locked behind the now-unused user-upload feature flag.  We should be okay to update that with the select dropdown for the time being, and we can revisit if we need user-upload to be turned on for whatever reason.

Hey team! Please add your planning poker estimate with Zenhub @etanb @jpandersen87 @kevinhaube @penny-lischer @stephenkao

Updating the pointing on this due to the work needed for rewriting/reworking a good chunk of logic and tests.


Automatic warmup countdown setting

A setting to automatically end the warmup after a specific amount of time (countdown starts with warmup but can be sped up if all players are ready).
Could be useful for automatic games or for use in tournaments when the timing of each match must be precise.

I honestly don't wanna bloat the warmup with even more timers. As of right now:

Infinite warmup
If at least 1 player in each team is ready -> 60s countdown.
If all players are ready -> 5s countdown.

If timing in tournament settings or whatever are so important, then there's always a way to have an admin skip warmup using ModeCommands UI or Servercontrollers.


Add logic to xwebhook to cover migration edge case

Transitioning to Argus will allow XMiDT to filter the webhooks users can list.
During the transition, https://github.com/xmidt-org/hecate will copy webhooks from SNS to Argus. Since SNS does not store information webhook owner information, hecate will just insert all webhooks with the argus owner. Therefore, xwebhook needs to add logic so that during the transition, users at least get all the items they own.

We have decided against having temporary logic to support this in https://github.com/xmidt-org/ancla/issues/26


Unable to install trying to get property of non-object

I am using ubuntu 16.04 with php7.1 and laravel 5.5. I am unable to get chatter working. I tried as was written in the Readme file of the package but getting this error. All the migrations and tables have been created successfully and I used the default auth routes and migrations also.
 . Kindly help me out.

Same with me. I'm guessing the if loop should also check for $slug!=''

Also experiencing the issue here. Followed installation steps also got same error. Using macOS, PHP 7.1, and Laravel 5.5

It seems as there are not all changes in the release.
I added the last two migrations and updated the ChatterTableSeeder.php with the one from the master branch. This solved the issue for me.

@larsbo, if you believe this is an issue in the release, please do a pull request.


[Request] Please add an option to hide the Could not connect error

Hi
I don't always have Discord open or running, so I keep getting this notification

Would you mind adding an option to hide or ignore it? I don't mind if the extension can't connect to discord, as I'm aware it's not running, but the notification is a bit annoying.
Thanks in advance

Since the last update, this feature is no longer available, errors will now only appear in the console output. 👍

This is showing again with the latest version 😕


Implements syscall 416

Fixes #403.
Fixes #400.
Fixes #402.

Besides from Detroit Become Human still being depressed, all other games work properly now.


Can LNN generates logic rules/hypothesis from the input data (facts)?

The given examples and tutorial shows LNN can do the logical reasoning from given data and root formulae.
Can LNN generate logic hypothesis from the given data? Like, can it output the possible logic rules induced from background knowledges?
Thank you.

Thank you for the question.
Inductive logic programming is still an open problem that we and many others are looking at. Please have a look at the following paper to see how LNNs achieves interpretable, state of the art rules induced from data.

Hi thank you for your reply.
I was wondering if I can find some code of example/demo of how to apply LNN on ilp task (with the induced rules as the output)  in somewhere. It would be nice if you can provide a toy example of it.
Thank you so much!


scons-4.2.0: package build fails, can't find scons.1

** what looks like the actual problem **
setup.py install -O1 --skip-build --root /home/sagitter/rpmbuild/BUILDROOT/scons-4.2.0-1.fc34.x86_64 --install-scripts=/usr/bin --install-data=/usr/share
yields.
running install_data
error: can't copy 'scons.1': doesn't exist or not a regular file

** Initial report **
Hi all.
Describe the bug
Scons manpages are not created in build time (see full scons-4.2.0-buildlog.txt attached):
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
__xinclude_lxml(["scons_xi.xml"], ["scons.xml"])
__build_lxml(["scons_db.xml"], ["scons_xi.xml"])
__build_lxml(["scons-scons.fo"], ["scons_db.xml"])
/usr/bin/fop -fo scons-scons.fo -pdf scons-scons.pdf
Aug 01, 2021 5:52:32 PM org.apache.fop.apps.FOUserAgent processEvent
SEVERE: Invalid property value encountered in margin-left="": org.apache.fop.fo.expr.PropertyException: file:/home/sagitter/rpmbuild/BUILD/scons-4.2.0/build/doc/man/scons-scons.fo:3:6: No conversion defined ; property:'margin-left' (See position 147:8)
org.apache.fop.fo.expr.PropertyException: file:/home/sagitter/rpmbuild/BUILD/scons-4.2.0/build/doc/man/scons-scons.fo:3:6: No conversion defined ; property:'margin-left'
	at org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:446)
	at org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java:499)
	at org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:386)
	at org.apache.fop.fo.FObj.processNode(FObj.java:129)
	at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:293)
	at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:179)
	at java.xml/com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:206)
	at java.xml/com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:526)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.characters(AbstractSAXParser.java:547)
	at java.xml/com.sun.org.apache.xerces.internal.xinclude.XIncludeHandler.characters(XIncludeHandler.java:1183)
	at java.xml/com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:477)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:888)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:824)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:141)
	at java.xml/com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1216)
	at java.xml/com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:635)
	at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:687)
	at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:774)
	at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:370)
	at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:293)
	at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:116)
	at org.apache.fop.cli.Main.startFOP(Main.java:183)
	at org.apache.fop.cli.Main.main(Main.java:213)

Required information

Version of SCons: 4.2.0
Version of Python: 3.9.6
What Platform are you on? Linux, Fedora 34
fop 2.5
openjdk 11.0.12 2021-07-20
python sphinx-3.4.3

I've always seen those kinds of errors from fop, which is out of our control, but the manpages build anyway.   And in fact, from your logfile:
__build_lxml_noresult(["scons-time.1"], ["scons-time_db.xml"])
__build_lxml_noresult(["scons.1"], ["scons_db.xml"])
__build_lxml_noresult(["sconsign.1"], ["sconsign_db.xml"])
scons: done building targets.
Install file: "build/doc/man/scons-man.epub" as "build/doc/EPUB/scons-man.epub"
lynx -dump /home/mats/github/scons/build/doc/man/scons-scons.html > build/doc/TEXT/scons-man.txt
Install file: "build/doc/man/scons-scons.pdf" as "build/doc/PDF/scons-man.pdf"
Install file: "build/doc/man/scons-scons.html" as "build/doc/HTML/scons-man.html"
Install file: "build/doc/man/scons-scons-time.pdf" as "build/doc/PDF/scons-time-man.pdf"
Install file: "build/doc/man/scons-scons-time.html" as "build/doc/HTML/scons-time-man.html"
Install file: "build/doc/man/scons-sconsign.pdf" as "build/doc/PDF/sconsign-man.pdf"
Install file: "build/doc/man/scons-sconsign.html" as "build/doc/HTML/sconsign-man.html"
Install file: "build/doc/user/scons.css" as "build/doc/HTML/scons.css"

That looks like a good build.
For my build just now on rel_4.2.0 branch (also using F34) I get valid-looking roff-style manpages in build/doc/man (we normally focus on the html versions here so there have been some past errors in making the .1 pages, but it looks okay to me at the moment).
Perhaps a bit more information?

For my build just now on rel_4.2.0 branch (also using F34) I get valid-looking roff-style manpages in build/doc/man (we normally focus on the html versions here so there have been some past errors in making the .1 pages, but it looks okay to me at the moment).

Yes, sorry. I've just seen, manpages are created but install command does not find them.

Is the specfile maybe looking in the wrong place?  Odd because the location shouldn't have changed recently in the scons build.

Hmm. weird.
scons.1 ends up in the packages that we build.
Is there anyway to get setup.py to output where it's looking for scons.1 ?

I updated the title and description.

Hi @bdbaddog

Hmm. weird.
scons.1 ends up in the packages that we build.
Is there anyway to get setup.py to output where it's looking for scons.1 ?

#!python3

import fnmatch
from setuptools import setup
from setuptools.command.build_py import build_py as build_py_orig

import codecs
import os.path

def read(rel_path):
    here = os.path.abspath(os.path.dirname(__file__))
    with codecs.open(os.path.join(here, rel_path), 'r') as fp:
        return fp.read()

def get_version(rel_path):
    for line in read(rel_path).splitlines():
        if line.startswith('__version__'):
            delim = '"' if '"' in line else "'"
            return line.split(delim)[1]
    else:
        raise RuntimeError("Unable to find version string.")

exclude = ['*Tests']

class build_py(build_py_orig):

    def find_package_modules(self, package, package_dir):
        """
        Custom module to find package modules.
        It will strip out any modules which match the glob patters in exclude above
        """
        modules = super().find_package_modules(package, package_dir)
        return [(pkg, mod, file, ) for (pkg, mod, file, ) in modules
                if not any(fnmatch.fnmatchcase(mod, pat=pattern)
                for pattern in exclude)]

setup(
    cmdclass={
        'build_py': build_py,
    },
    version=get_version('SCons/__init__.py'),
)

@sagitter  - Not sure why you pasted the setup.py into the response.. is there some flag we can set to get more verbose output on where it's looking for the file? (The .1's are specfied via setup.cfg)

@sagitter - Not sure why you pasted the setup.py into the response..

I misunderstood you comment.

is there some flag we can set to get more verbose output on where it's looking for the file? (The .1's are specfied via setup.cfg)

I tried by adding -v to /usr/bin/python3 setup.py install -O1 --skip-build --root /home/sagitter/rpmbuild/BUILDROOT/scons-4.2.0-1.fc34.x86_64 --install-scripts=/usr/bin --install-data=/usr/share without success unfortunately.
In build log i attached, i see
Writing SCons-4.2.0/setup.cfg
Creating tar archive
removing 'SCons-4.2.0' (and everything under it)         <--------------------------
Delete(["scons-time.1", "scons.1", "sconsign.1"])          <--------------------------
Copy("build/doc/design/engine.fig", "doc/design/engine.fig")
Copy("build/doc/design/engine.jpg", "doc/design/engine.jpg")
Copy("build/doc/design/engine.svg", "doc/design/engine.svg")
Copy("build/doc/design/titlepage/bricks.jpg", "doc/design/titlepage/bricks.jpg")
Copy("build/doc/design/titlepage/mapnik_final_colors.svg", "doc/design/titlepage/mapnik_final_colors.svg")
Copy("build/doc/design/titlepage/SCons_path.svg", "doc/design/titlepage/SCons_path.svg")
Copy("build/doc/design/titlepage/SConsBuildBricks_path.svg", "doc/design/titlepage/SConsBuildBricks_path.svg")

Is it expected?

hmm.. ran setup.py under strace here's the relevant bit..
stat("scons.1", 0x7ffc32f23d40)         = -1 ENOENT (No such file or directory)
so bdist_wheel finds the file and our own packaging of sdist finds the file.
Curious.
I think install builds the package, then unpacks it in /tmp, then tries to install it from there.
Are you trying to build a package for a distro?

Are you trying to build a package for a distro?

Yes, it's for Fedora

I can't reproduce that output...
Can you join us on our discord server to discuss?
https://discord.gg/pejaFYrD9n

OH IC. the output from scons building itself.
If you check your scons build dir the scons.1 will still be there. It's removing those files before re-creating them in the build.
I think the problem is that setup.py install is building a package, unpacking it, and then expecting scons.1 to be in the base dir, which it is not, but it is in the base dir in SCons' tree and so our bdist_wheel and sdist work..

Comment out this line (at the bottom of the ) SConstruct in the base directory and then try packaging again.
env.AddPostAction(tgz_file, Delete(man_pages))

It's working now.

If you do a fresh checkout from rel_4.2.0, this should now be fixed there (and on master branch)

Closing.
@sagitter - should updates to rel_4.2.0 not prove fixed, please reopen.

Thank you very much.

Glad to help!
We were thinking about creating a packaging maintainer channel on our discord server to support maintainers like you.
Please let us know if you think that'd be useful.


Expression not bind params

What steps will reproduce the problem?
    $this
        ->search()
        ->addOrderBy(new Expression("array_position(array[:sids], sid)", [':sids' => 1111]));

What is the expected result?
correct query

What do you get instead?
"name":"Database Exception","message":"SQLSTATE[42883]: Undefined function: 7 ERROR:  function array_position(text[], integer) does not exist
Additional info

Q
A

Yii version
2.0.13

PHP version
7.1

Operating system
ubuntu

What SQL are you using?

Postgresql 9.6

Would you be able to get the raw SQL.
Either through the debug toolbar if installed or using something like $query->createCommand()->rawSQL;

array_position PgSQL function can not search for integers in text array.
Cast your array explicitly:
    $this
        ->search()
        ->addOrderBy(new Expression("array_position(array[:sids]::int[], sid)", [':sids' => 1111]));


Talk like Yoda, add skill

Updated version of https://github.com/open-labrador/taxonomy/pull/17 to comply with new structure for skills
This was developed in conjunction with @mbestavros

Thank you for your contribution to InstructLab! Unfortunately, once a Github repo is made public, all open PRs are automatically closed since they link against a private repo. We have detected that your PR might have been one of the ones affected by this change. If you are still interested in contributing your improvement, please fill out the following short form by no later than May 3rd, and we will get back to you with the additional steps necessary once we have had time to assess the PRs of those still interested:
https://forms.gle/V7SrPPMZDo6iGDYu8


Attempt to verify Contract using Hardhat Fails with 500 Error.

Description
There is a particular contract that fails with a 500 error, see error log below.
Steps to reproduce
Compile contracts using hardhat
Attempt to verify
Additional context
$ npx hardhat verify 0x331323d5A987F1Ed9D66f07D3ba22702887726FA --verbose
  hardhat:core:vars:varsManager Creating a new instance of VarsManager +0ms
  hardhat:core:vars:varsManager Loading ENV variables if any +2ms
  hardhat:core:config Loading Hardhat config from /home/jasonf/bonzo-finance-contracts/hardhat.config.ts +0ms
  hardhat:core:hre Creating HardhatRuntimeEnvironment +0ms
  hardhat:core:global-dir Looking up Client Id at /home/jasonf/.local/share/hardhat-nodejs/analytics.json +0ms
  hardhat:core:global-dir Client Id found: 1fbe366e-5d28-4fc0-853f-33e9b3991d0a +1ms
  hardhat:core:analytics Sending hit for task +0ms
  hardhat:core:analytics Hit payload: {"client_id":"1fbe366e-5d28-4fc0-853f-33e9b3991d0a","user_id":"1fbe366e-5d28-4fc0-853f-33e9b3991d0a","user_properties":{"projectId":{"value":"hardhat-project"},"userType":{"value":"Developer"},"hardhatVersion":{"value":"Hardhat 2.22.2"},"operatingSystem":{"value":"linux"},"nodeVersion":{"value":"v18.17.0"}},"events":[{"name":"task","params":{"engagement_time_msec":"10000","session_id":"0.841666911637083"}}]} +1ms
  hardhat:core:hre Running task verify +100ms
  hardhat:core:hre Running task verify:get-verification-subtasks +1ms
  hardhat:core:hre Running task verify:sourcify +0ms
  hardhat:core:hre Running task verify:sourcify-resolve-arguments +0ms
  hardhat:core:hre Creating provider for network hedera_testnet +1ms
  hardhat:core:analytics Hit for task sent successfully +5s
  hardhat:hardhat-verify:metadata Read metadata length 53 +0ms
  hardhat:hardhat-verify:metadata Last 51 bytes of metadata: a26469706673582212209a49528ec29c88d8102a0d92595aa78c843c57b5ac5e2fdfcf0163c123cf037464736f6c634300060c +0ms
  hardhat:hardhat-verify:metadata Metadata decoded: {
  hardhat:hardhat-verify:metadata   ipfs: <Buffer 12 20 9a 49 52 8e c2 9c 88 d8 10 2a 0d 92 59 5a a7 8c 84 3c 57 b5 ac 5e 2f df cf 01 63 c1 23 cf 03 74>,
  hardhat:hardhat-verify:metadata   solc: <Buffer 00 06 0c>
  hardhat:hardhat-verify:metadata } +2ms
  hardhat:hardhat-verify:metadata Solc version detected in bytecode: 0.6.12 +0ms
  hardhat:core:hre Running task verify:get-contract-information +16s
  hardhat:core:hre Running task verify:sourcify-attempt-verification +7s
hardhat-verify found one or more errors during the verification process:

Sourcify:
An unexpected error occurred during the verification process.
Please report this issue to the Hardhat team.
Error Details: Failed to send contract verification request.
Endpoint URL: https://server-verify.hashscan.io/
The HTTP server response is not ok. Status code: 500 Response text: {"error":"stdout maxBuffer length exceeded"}

Hedera network
testnet
Version
Latest
Operating system
Linux

Hi @bugbytesinc thanks for reporting this. Are you able to provide this Hardhat project so I can reproduce the error?
Thanks.

Hi @bugbytesinc, after further investigation I suspect the error is raised while compiling the contract. In particular, the output of the solc compiler is larger than the maxBuffer size. https://github.com/ethereum/sourcify/blob/e6859d429522043e61643ade1092887e6da3cfc9/services/server/src/server/services/compiler/local/solidityCompiler.ts#L327-L343
Here's a minimal snippet to reproduce this kind of error (essentially what the verification service is doing)
#!/usr/bin/env node

const { exec } = require('child_process');

if (process.argv.length < 3) {
    exec(`${process.argv[1]} 1`, { maxBuffer: 10 },
        (error, _stdout, _stderr) => {
            if (error) console.log(`Error exception while running child process:`, error);
        }
    );
} else {
    console.log('123456789ab');
}

If you can a share an example where this happens I could see if that actually the problem and if there is a workaround.

Trying to see if we can get a clean room example, it will take some doing.

Apologies, for not getting you an example contract yet, the project is a bit complex and factoring out a working example is proving difficult.  However, I was able to try another approach and have discovered pretty strong evidence that indeed the configuration of the solc compiler you mention above is the root of the issue we are having.
I downloaded the hedera-sourcify project and started a local server pointed it at testnet.  After making the following change:
diff --git a/services/server/src/server/services/compiler/local/solidityCompiler.ts b/services/server/src/server/services/compiler/local/solidityCompiler.ts
index c62c955a..4be6f775 100644
--- a/services/server/src/server/services/compiler/local/solidityCompiler.ts
+++ b/services/server/src/server/services/compiler/local/solidityCompiler.ts
@@ -328,7 +328,7 @@ function asyncExecSolc(
     const child = exec(
       `${solcPath} --standard-json`,
       {
-        maxBuffer: 1000 * 1000 * 20,
+        maxBuffer: 1024 * 1024 * 40,
       },
       (error, stdout, stderr) => {
         if (error) {

our project validated without error.

So in summary, it looks to me that we have a situation where the Hedera network will accept contracts of a certain size that the default configuration of the solc configuration of the upstream ethereum sourcify server project did not anticipate and can't handle.    I don't know what other considerations there might be for enlarging the buffer size in this case, but it looks like possibly a quick win to me.

Hey @bugbytesinc, thank you for confirming this.

the project is a bit complex and factoring out a working example is proving difficult.

 How many files, contracts, interfaces, libraries are involved in the compilation, roughly. This is to ensure that we are on the right track. The current maxBuffer is set to 20MB which I assume if big enough for compilation output even if the project is a big one.
On top of that, are you able to provide the output of the solc compiler? If you use a dev environment, e.g., Hardhat or Foundry, do you see a large output during compilation?

it looks to me that we have a situation where the Hedera network will accept contracts of a certain size that the default configuration of the solc configuration of the upstream ethereum sourcify server project did not anticipate and can't handle.

Just to avoid any future confusion, these two thing are unrelated. The error here is about the size of the stdout output of the solc compiler, not the size of the compiled contracts.

Looks like upstream Sourcify also run into this issue. It was solved here https://github.com/ethereum/sourcify/commit/585b241299b8276ccd569baf695ecb96257fca78.

In our project, running this against https://server-verify.hashscan.io yields:
$ npx hardhat verify 0x2f472b8a10C3F0264c479a31C4d0998836783845
hardhat-verify found one or more errors during the verification process:

Sourcify:
An unexpected error occurred during the verification process.
Please report this issue to the Hardhat team.
Error Details: Failed to send contract verification request.
Endpoint URL: https://server-verify.hashscan.io/
The HTTP server response is not ok. Status code: 500 Response text: {"error":"stdout maxBuffer length exceeded"}

The log file is too large to upload, github will not load it.

hedera-sourcify-solc-output - Abriged.log
Here is an abridged version instead.

How many files, contracts, interfaces, libraries are involved in the compilation, roughly.

Roughly 141 Solidity files to compile

are you able to provide the output of the solc compiler?

Please see above, it is too large to upload to github, is there another means we can get it to you if you wish to look at it?

The current maxBuffer is set to 20MB which I assume if big enough for compilation output even if the project is a big one.

What I have seen is that changing that value to 40MB results in successful validation of our contracts.

Looks like upstream Sourcify already ran into this issue. It was solved here ethereum/sourcify@585b241.

When I pull the latest hedera sourcify, I get code that has even a smaller value than what is cited in a the upstream project cited above:
maxBuffer: 1000 * 1000 * 20,

hedera-sourcify/sourcify/services/server/src/server/services/compiler/local/solidityCompiler.ts Line 331

Looks like upstream Sourcify already ran into this issue. It was solved here ethereum/sourcify@585b241.

The Hedera Sourcify source code is pegged to an older version:
https://github.com/ethereum/sourcify/commits/9c0dd54913422ddb1a941af5494be01faa065c7b/ (May 14)
This update is from May 29
https://github.com/ethereum/sourcify/commit/585b241299b8276ccd569baf695ecb96257fca78
Perhaps updating the upstream versions utilized by hedera sourcify might solve our issue.

The Hedera Sourcify source code is pegged to an older version

Indeed, this is the case. We usually wait until upstream Sourcify makes a new release and is stable enough for us to update.

Perhaps updating the upstream versions utilized by hedera sourcify might solve our issue.

That should be the case. Upstream Sourcify released a new version last week. They made several changes, in particular to use a DB as a storage repository instead of a filesystem. If the new version if compatible then we can update on our side to fix this issue. Otherwise, we will take a bit longer to accommodate for the changes in the new version.


Implement FZF_CTRL_R_COMMAND for custom history

I'd like the ability to specify a custom history command to be able to use something like:
fc -l 1 | grep ${(q)LBUFFER}
to limit the results to history that exactly matches the full text entered on the command line.

Can you check failing test cases?

I rebased and updated the test, is there anything else I need to do before this can land?

Thanks, but before we decide to add a new option, have you checked the comments in https://github.com/junegunn/fzf/issues/672? I've noticed that many users don't know that sorting is disabled by default and can be turned on, and exact matching can be used instead. Please check if the suggestions given in the comments addresses your use case.
The main reason I'm reluctant to add an option for tweaking the command for CTRL-R, is that the script processing the output of the fzf command expects the output to conform to a certain format,

in bash, each line should start with an index number, then the full command without anything else
in zsh, each line should start with an index number, the rest doesn't matter
in fish, each line should be the full command

So if a user uses any command that doesn't produce lines in those exact formats, the binding will not work. And it's the confusion I'd certainly like to avoid as the maintainer of the project.

No, --exact doesn't quite do what I'm looking for, though it comes close. I'd like to force the input text to be an exact match, while keeping fuzzy search enabled for everything typed after that point. For example, say my history is:
1    cd foo
2    cd bar
3    ls abc/def

Now if I type cd <ctrl-r>, I would expect only the first two entries to appear in the list, but the third does as well because there is a fuzzy match for cd. I want an exact match on cd, but then still have the ability to fuzzy match the rest of the command.
This contrived example doesn't do a good job showing why this behaviour is so useful, but when your history has many commands in it that are hundreds of characters long, the probability of there being a fuzzy match for a given command (especially short ones that can be spelt in hexadecimal like cd), is very high. I find when I type cd <ctrl-r> my search list is dominated by vcs commands with commit hashes in them.
I think your concerns about CTRL_R_COMMAND are reasonable, and I could just re-defined the ctrl-r keybinding to my own custom function, but I believe this behaviour is actually quite useful and worth trying to upstream somehow. Maybe there's another way to achieve it that doesn't use a custom CTRL_R_COMMAND.

Yeah, I can definitely see the point.
Have you tried enabling sort by default? i.e. export FZF_CTRL_R_OPTS="--sort"

Yeah, --sort improves things but it's still not perfect. The real world example it falls apart on for me is:
1    mach try foobar
2    mach decision --project=try

I want to fuzzy search only through the mach try commands, and --sort won't give 1 precedence over 2. (For context, mach is a command dispatch binary used at mozilla, and try is the name of a repository). I'm probably an edge case here, so if you think --exact and --sort are good enough for most people and want to close this, I can live with re-defining <ctrl-r>.

For the record, as a user redefining CTRL_R_COMMAND, I would have no expectation of the main project maintaining backwards compatibility with weird and custom workflow.

1    mach try foobar
2    mach decision --project=try

In this particular case, machtry (without space) will give you better result, because of the smaller gap between the words. When you search with mach try, fzf will search for the words individually, so it does not consider the gap.
Anyway, I'm not against the idea of having FZF_CTRL_R_COMMAND per se, but I'd like to delay the addition until the inconsistency between the shells is ironed out.

That's fair, I'll re-bind ctrl-r in the meantime.

Okay, if you don't mind, I'll leave this open.


Read-DbaTraceFile enhancement suggestion

Is this:
Just place "x" to indicate selection (e.g. "[x]")

[x] feature
[ ] bug:

Steps to Reproduce
Good function, but I could see it would be more useful if the following are added.

User the current default trace file by default so you do not have to go hunt the path and filename down to pass in.
Give the user a list of trace files in the default log directory and let them select which one to read

In regards to (2) I would be against that one. Trace files are not required to exists within the default trace file. I generally never save trace files there, when I use trace files. As well, on active instances that can be a big performance hit to try and dynamically get that list and provide via TEPP. [e.g. if command is run remotely it introduces having to use the admin share to get the list of files, not everyone could have access to that share.]
For (1) I mean it obviously warrants a Get-DbaServerTrace that finds what traces are configured. Even if a trace is not running the path of that trace would still be accessible. That could then be piped to this command. I do not believe we need to default anything on the path or file name, that can be provided via the Get command and then piped to this one.

TEPP

Oh man, I love that idea, @wsmelton - can you support it? The query would be select distinct path from sys.traces
Updated this - added support for pipeline so
$servers | Read-DbaTraceFile works
Also removed mandatory Path and added the default as default so it now does:
Select path from sys.traces where is_default = 1"
Will be submitting a PR once I get my stupid client working.


Package request: vscode-extensions.reditorsupport.r

Project description
Adds R language features (e.g. syntax highlighting) to VSCode. Ideally, would also install python311Packages.radian and automatically configure the extension to use them. Also requires  rPackages.languageserver to be installed.
Metadata

homepage URL: https://marketplace.visualstudio.com/items?itemName=REditorSupport.r
source URL: https://github.com/REditorSupport/vscode-R
license: mit
platforms: unix, linux, darwin

Add a :+1: reaction to issues you find important.

Just open a PR adding the extension, much easier than opening an issue...

Just open a PR adding the extension, much easier than opening an issue...

If it's that easy, why don't you do it youself?
Okay, sorry for being a little snarky there. But I opened this issue the same day I first installed NixOS, so please forgive my former lack of knowledge. I'll take a look.

If it's that easy, why don't you do it yourself?

I don't need this extension specifically. But I have added all the extensions I needed.

Okay, sorry for being a little snarky there. But I opened this issue the same day I first installed NixOS, so please forgive my former lack of knowledge.

Sure.

I'll take a look.

Have a look in:
https://github.com/NixOS/nixpkgs/tree/master/pkgs/applications/editors/vscode/extensions/
Follow README.md and add extension to default.nix.
Git clone nixpkgs. Then, to build your extension, run:

nix build .#vscode-extension.publisher.extension-name

Look forward your first PR then.
Have fun.

Look forward your first PR then.

Small nit: It won't be my first PR (https://github.com/NixOS/nixpkgs/pull/304323, https://github.com/NixOS/nixpkgs/pull/303716, https://github.com/NixOS/nixpkgs/pull/298083, https://github.com/NixOS/nixpkgs/pull/292639, https://github.com/NixOS/nixpkgs/pull/294104). It will be my first package creation, though!


feat: file input and dropzone atom

https://flowbite.com/docs/forms/file-input/
Uploading 2022-11-09 14-21-59.mov…

Task linked: CU-2q4p7r0 All Form Atoms


Issues with the project when using docker

I have recently cloned this repo and I'm trying to run the project and do some modifications, but I'm facing some issues.
Among these issues, I get two different interfaces after login. To clarify, when I'm using docker to run this project I get this interface after login:

And this interface when running the project after install dependencies manually.

Also, I can't see the modifications that I made when running the project using docker.
Can anyone tell me what is the problem and how can I fix it, please?
Thank you in advance.

Hi @oussama-he, when running docker images with ```cd docker/1.4; docker-compose up`` you run latest stable version 1.5.4.
While when running project manually you run the main branch i.e. development mode.
Development mode i.e. git master branch is the very latest version  (i.e. work in progress) and it is not suitable for production.

Thank you for your clarification, but I can't see my modifications when running the project using docker.
Also, I have an issue when using docker-compose run app django-admin compilemessages -l ar, it doesn't compile the file.

Docker image is not provided for development purposes. Docker compose will run code from same commit (which is tagged as latest stable).
If you want to dockerize you own changes, you need to make changes outside docker, and when you are done with changes, you need to create you own image.


Fix bug when using multiple gaufrette filesystems

This is related to this previous PR :
https://github.com/dizda/CloudBackupBundle/pull/72
I did a mistake.
Multiple filesystems was still not working : all filesystems except the last one was ignored.
This is because we were doing a setFilesystem on every filesystems. So the last one was overriding all others.
Instead we can consider 2 approach :
1 - Using multiple GaufretteClient (one per filesystem), and add them all to the ClientManager as $children.
2 - Using 1 GaufretteClient to handle all the filesystems, and keep just one GaufretteClient attached to the ClientManager
I think the second option is better. What do you think ?
This PR implement the second option.
Also, not sure if pluralize the property $filesystem of the class GaufretteClient is a best practice ?
https://github.com/FrancoisMartin/CloudBackupBundle/blob/master/Client/GaufretteClient.php#l15

Yeah that's make sense, I merge it.
Thanks :)


Added Courier Tracking Plugin

Supports Gati and Ekart as of now.
Will add more providers soon

You can merge it ➕


Syntax highlight failing on variable names starting with 'var'

VSCode Version: Version 0.10.11 / Build f291f4ad600767626b24a4b15816b04bee9a3049
OS Version: OSX 10.11

Do I need to explain more?

duplicate of https://github.com/Microsoft/TypeScript-TmLanguage/issues/96


robot-name: avoid test pollution

The exercise robot-name creates a single instance of Robot to be used for all test methods instead of creating a new instance for each test method.  This structure assumes that instances of Robot cannot have state beyond what reset() clears; there's no need to do so.
Please move this initialization to a setUp() method.
After this is done, if you want a bigger challenge, see #61.

Submitted #391


Twitter importer: rewrite t.co links

Twitter replaces links in tweets with their link shortener.
For long-term archival this isn't really ideal - it's another point of failure.

Totally. And/or we make a new permanode for them t.co URLs, mapping them to their destination (which might but probably won't change over time?)
Or easier: add attributes on the Tweet permanode saying what they were at that time.

In general there are already a bunch of extra fetches happening in the twitter importer (e.g. attached images).
Should we lean towards inlining those fetches (and fail the importer when they fail), or separate them (run a secondary import process that adds attributes / mutations / something with the resolved links)?
Tweets can contain quite a few shortened links.

Given that we have no means to do regular background work that's not an importer, I'd say it should be part of the importer for now.

Whenever we add a new sort of expandy-slurpy feature to the code, we can bump a version number in the code, and store per-account permanode the re-slurp status for that account, storing that "all tweets up to X are version N". Storing a list of which ones failed might be overkill, but maybe we do it only if it's fewer than some threshold number of max failures.

In a data centre network semi-outages are uncommon enough. If hosting at home is a targeted use case I think we will need good retry semantics.
My rss reader logs several home network related failures per day, and the connection is pretty normal for Melbourne.
On 24 March 2016 5:22:48 PM LHDT, Brad Fitzpatrick<EMAIL_ADDRESS>wrote:

Whenever we add a new sort of expandy-slurpy feature to the code, we
can bump a version number in the code, and store per-account permanode
the re-slurp status for that account, storing that "all tweets up to X
are version N". Storing a list of which ones failed might be overkill,
but maybe we do it only if it's fewer than some threshold number of max
failures.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/camlistore/camlistore/issues/699#issuecomment-200693827

Thanks,
Daniel Heath

I run my main instance at home. (Also have cloud mirrors)
On Mar 24, 2016 5:28 PM, "Daniel Heath"<EMAIL_ADDRESS>wrote:

In a data centre network semi-outages are uncommon enough. If hosting at
home is a targeted use case I think we will need good retry semantics.
My rss reader logs several home network related failures per day, and the
connection is pretty normal for Melbourne.
On 24 March 2016 5:22:48 PM LHDT, Brad Fitzpatrick <
<EMAIL_ADDRESS>wrote:

Whenever we add a new sort of expandy-slurpy feature to the code, we
can bump a version number in the code, and store per-account permanode
the re-slurp status for that account, storing that "all tweets up to X
are version N". Storing a list of which ones failed might be overkill,
but maybe we do it only if it's fewer than some threshold number of max
failures.

You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:

https://github.com/camlistore/camlistore/issues/699#issuecomment-200693827
Thanks,
Daniel Heath
—
You are receiving this because you commented.
Reply to this email directly or view it on GitHub
https://github.com/camlistore/camlistore/issues/699#issuecomment-200694504


Data cleanliness issue

https://scylla.sh/search?q=email%3Ajb6kim*
Returns an SQL statement as an email address.

email field in this case is:
INSERT INTO editors_users(ID, user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_activation_key, user_status, display_name) VALUES ('15107'<EMAIL_ADDRESS>'$P$BrS4pb2kAfZ9a2QVFhpLI00cmqHQkb.', 'jb6kimuwaterloo-ca'<EMAIL_ADDRESS>'', '2015-09-16 07

email field in this case is:
INSERT INTO editors_users(ID, user_login, user_pass, user_nicename, user_email, user_url, user_registered, user_activation_key, user_status, display_name) VALUES ('15107'<EMAIL_ADDRESS>'$P$BrS4pb2kAfZ9a2QVFhpLI00cmqHQkb.', 'jb6kimuwaterloo-ca'<EMAIL_ADDRESS>'', '2015-09-16 07

The dataset (in this case the "Collections" set) is littered with records like these. Basically, these are failed SQLi attempts on the original source (website), from which the data was breached; not scylla.sh. See https://scylla.sh/search?q=email%3Ainsert+into. More of a non-issue, so let's close this 😉


[BUG] SAR Deep Dive link is not working

The SAR Deep Dive notebook link into this page is not working. It seems the right link is the following one:
https://github.com/microsoft/recommenders/blob/master/examples/02_model_collaborative_filtering/sar_deep_dive.ipynb

Thanks for reporting.  Fixed in https://github.com/microsoft/recommenders/pull/1213


feature add approx_top_sum aggregation function

What problem does this PR solve?
Problem Summary:

The function approx_top_sum has been implemented. Here is an example of its usage: select approx_top_sum(c1, c2, c3, 10, 300) from tbl.

Release note
None
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[ ] No.
[x] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


Fix CVE-2020-14040

golang/x/text UTF-16 decoder behaves incorrectly on single-byte input

@moshe010

Pull Request Test Coverage Report for Build 77

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 5.601%

Totals

Change from base Build 76:
0.0%

Covered Lines:
34

Relevant Lines:
607

💛  - Coveralls


Highlighting now backwards, initial view gray-screened (Shadow DOM?)

Not sure how to describe it , but ever since update 0.2.0, i cannot read text unless my cursor is on the row due to the gray screen placed over the syntax, its like highlighting is reversed
Im assuming this has to do with the Shadow DOM in the changelog?

I'm also seeing this problem in Atom 0.199.0. Seti-syntax is current at 0.4.0. On Mac OS 10.10.4. Package reinstallation and restart doesn't fix.


Create List with X repeated produces server error in simulation

Describe the bug

The "create list with item ... repeated ... times" block does not work in the simulation. A server error is produced. This block is only available in EV3/micro:bit simulation.

To Reproduce
Steps to reproduce the behavior:

Create program with "create list with item ..." block
Open simulation
See error

Expected behavior

Simulation opens without error

Screenshots

Additional context
This should probably be covered by the integration test for the workflows. The "generatesimulation" workflow is tested as well. Seems like there is no program including this block and one should probably be added.

No server error anymore.


Added calculate_alive_path function + graphs + test

This function allows to draw the probability that a user is still alive for different units of time since the birth of the user. + I added a way to visualize this for the user.

holy!!!!

I'll review this later tonight

Glad you'll like it. I might also double check some stuff later tonight again to be sure it's 100% correct.

Coverage decreased (-0.39%) to 54.39% when pulling ca0ed0ad0fc1e09521ee68d3ee3240c98cd23077 on erikvdp:feature-alive-path into 33a47ff69924310846af698a066eb43be3c57283 on CamDavidsonPilon:master.

wth? I don't like this autocommenting bot.

Let me know if any of those comments aren't clear!

Thank you for the detailled comments! I'll take a look later today.

Hi, I've implemented your remarks, + learned some tricks on the go as well. Let me know if there still are some things you would like to see improved. I have to rebase before you'll merge, that's no problem as well.

Sorry to add more comments! There are the last I promise. Changes were great btw, after this I'm happy to merge!

Done, do you want me to rebase the commits into one commit?

Sure, if you are cool with that. Also, one of your tests are failing.

Fixed the test + rebased.

:rocket:


Reduce xsmall button text size

What are you changing?

Reduces text size of xsmall button to 14px (textSans.xsmall).
Removes extra spacing that was being added to outside of xsmall buttons if they included a left-aligned icon.

Screenshots
Before

After

How was #1097 major but this minor?

How was #1097 major but this minor?

#1097 is a tiny change really, but the thinking was that the change in border width causes layout shift and could create larger diffs in Chromatic due to everything shifting by a few pixels. The changes to the button are internal to that component so shouldn't affect the rest of the page layout or result in large diffs. We've debated this and had differing opinions, but we definitely need to be more consistent.


JJava kernel does not start in VSCode Jupyter

Probable bug in Jupyter Extension for VSCODE
https://github.com/microsoft/vscode-jupyter/issues/16344
Workaround
Replace {resource_dir} in kernel.json by its actual value.
One can install the JJava kernel using this script:
#!/bin/bash

set -e

version=1.0-a4 # Choose the one you wish

# Download
wget https://github.com/dflib/jjava/releases/download/${version}/jjava-${version}-kernelspec.zip --output-document=jjava-kernelspec.zip

# Install
mkdir -p "${HOME}/.local/share/jupyter/kernels/java"
unzip -o -d "${HOME}/.local/share/jupyter/kernels/java" jjava-kernelspec.zip
rm jjava-kernelspec.zip

# Fix
sed -i "s|{resource_dir}|$HOME/.local/share/jupyter/kernels/java|g" "${HOME}/.local/share/jupyter/kernels/java/kernel.json"

echo -e "Restart VSCode before using the JJava kernel"

Thanks for reporting the issue and a possible solution. We'd like to support VSCode better. It seems like a very different beast from browser-based Jupyter clients (e.g. https://github.com/dflib/dflib/issues/410 ). Wish it had more developer-oriented docs.


Items dupe with trading

It’s simple, but balance breaking.
Let’s see... Player1 have 5 stacks of items and Player2 have only 2 empty slots in inventory. Player1 initiates trade and offers those 5 stacks for nothing from Player2. Trade goes successfully and Player2 gets those 5 stacks and 3 of them falls on the ground. After a while (1-5 minutes) Player1 gets a copy of those 5 stacks back. How? I dunno but it works exactly as i wrote

Any news on this ? I can't use a trade plugin if there is a dupe glitch in it :/

You can avoid this by disabling "Drop_Items" in the config.
I didn‘t found a solution for this yet.

Fixed


Fix handling of migration errors

The migration type selection screen PR did not correctly handle errors
and any user input error on the migration page would simply redirect
back to the selection page. This meant that the error would simply be
lost and the user would be none the wiser as to what happened.
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Codecov Report

Merging #12928 into master will increase coverage by 0.00%.
The diff coverage is 25.00%.

@@           Coverage Diff           @@
##           master   #12928   +/-   ##
=======================================
  Coverage   43.07%   43.07%
=======================================
  Files         658      658
  Lines       72454    72455    +1
=======================================
+ Hits        31211    31213    +2
+ Misses      36186    36184    -2
- Partials     5057     5058    +1

Impacted Files
Coverage Δ

modules/auth/repo_form.go
42.34% <ø> (ø)

routers/repo/migrate.go
45.29% <25.00%> (+0.47%)
:arrow_up:

modules/queue/unique_queue_disk_channel.go
53.84% <0.00%> (-1.54%)
:arrow_down:

models/repo_list.go
78.57% <0.00%> (-0.90%)
:arrow_down:

modules/log/event.go
57.54% <0.00%> (+0.94%)
:arrow_up:

modules/queue/workerpool.go
60.00% <0.00%> (+1.22%)
:arrow_up:

Continue to review full report at Codecov.

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


Minor updates

Pull request description "Minor updates" is not informative enough.
There were two major changes:

Updated zip file name.
Changed the predicate logic, which decides whether the response HTML is stored to disk.


Add WorkshopManager Patch to Filter Files of C# Projects Out of Publish (and fix pdb2mdb bug)

Can now stuff most C# project files in a mod directory with little worry.
Also fixed lack of quotes around pdb2mdb to stop issues with directories with spaces in path.
Trellos of interest:
https://trello.com/c/CWySQvTW
https://trello.com/c/5D1Q8ly2
See attached example mod uploaded without extra files:
https://steamcommunity.com/sharedfiles/filedetails/?id=2602443402

Seeing new errors on above commits. Moved to draft until fixed.

Tested by uploading and manually downloading to view contents:
https://steamcommunity.com/sharedfiles/filedetails/?id=2602443402

Tested again after var change:
https://steamcommunity.com/sharedfiles/filedetails/?id=2602443402

Done some cleanup and minor refactor.
LGTM! Thank you :)


Feature request: Use pyliblzfse

Would it be possible to use pyliblzfse instead of self implementing the lzfse library bindings in asahi_firmware/img4.py?
https://github.com/ydkhatri/pyliblzfse
This library can be installed via pip3 and is available for macOS and linux. Then it is also possible to decompress the firmware from linux without any further compiling for the end user (library is provided with the pip image)

pyliblzfse just embeds lzfse, so the question is whether it is packaged by any distributions over oplain lzfse. If it is, it might be worth using. If it isn't, there's not much point.
On macOS we will use neither; I intend to have an alternate ctypes binding for the native libraries that are already there. This isn't done yet (which is why this isn't tagged as a release yet).

I just check up what to docuument in https://g3la.de/hedgedoc/buDIXGBuRzKMwUnYOpStuw?view#Bluetooth (firmware update recipe). And I understood that the lsze lib is used for some firmware decompression. I will wait until version tagging and decide what to document then.
I also checked up:

debian
ubuntu
arch
alpine
fedora

and did not find a lsze package in the actual stable versions.

I think there isn't much point then, we might as well ask people to package liblzfse and just keep using ctypes.

Closing since we're good with ctypes on both macOS and Linux. If you have a good use case to support both the ctypes approach and pyliblzfse (e.g. a distro that has the latter in repos and has a current or upcoming port to the platform), feel free to submit a PR to add it :)


Add colors to JSON printer

This PR brings a few JSON printer changes:

Make --pretty the default for write json
Ditch --pretty in favor of the opposite -c|--compact-output (like jq)
Add -C|--color-output and -M|--monochrome-output to explicitly set the color.

Unlike jq, there's currently no auto-detection of colors. You have to provide -C for now. While we could do TTY detection, it's a bit more complicated from the printer's perspective, because we need to know the corresponding saver in order to make a call. If it's stdout, we can add colors, if it's a file, we can't.
### Tasks
- [x] Implement styling logic
- [x] Support clear and colored styles
- [x] Add changelog entry
- [x] Update docs
- [x] Adapt unit tests
- [x] Adapt integration tests

I'm not sure I like these new defaults. I guess I don't have a strong opinion.
Can you please add support for NO_COLOR? An equivalent Tenzir specific config option should also be available.

I'm not sure I like these new defaults. I guess I don't have a strong opinion.

These are jq and that's the de-facto UX for JSON processing. If you don't have a strong opinion, I would strongly recommend to follow their defaults.

Can you please add support for NO_COLOR? An equivalent Tenzir specific config option should also be available.

I added support for NO_COLOR in the style detection, but don't know what you mean by "config option".

but don't know what you mean by "config option".

Something that I can add to my tenzir.yaml to make it explicit. @jachris please chime in if you already considered a generic solution for configuring operators.

Something that I can add to my tenzir.yaml to make it explicit.

This is out of scope for this PR. We don't have something like that yet.
I also don't think operators should be able to configured in an external file. Then you can no longer share pipelines and assume they do what you'd expect.

please chime in if you already considered a generic solution for configuring operators.

Not really, but since every operator is a plugin, you could use the plugin configuration for that.

I also don't think operators should be able to configured in an external file. Then you can no longer share pipelines and assume they do what you'd expect.

We have the same problem with environment variables like NO_COLOR though. But in general, I tend to agree that we want to avoid changing the observable behavior with config options (unless it leads to an error, like allow-unsafe-pipelines).

I guess not providing config options for operators is fine for most cases, purely cosmetic options like NO_COLOR should be exempt though.

@dominiklohmann I saw you sneaking in the --omit-* commit! Planned that for another PR. But oh well, @satta will be happy. 😉

I will be happy indeed :) Thanks!
BTW, are you using isatty() or something similar to detect whether you're printing to a terminal or not and deactivate colors in the latter case? I found that useful in order to avoid escape sequences in redirected JSON output.

BTW, are you using isatty() or something similar to detect whether you're printing to a terminal or not and deactivate colors in the latter case? I found that useful in order to avoid escape sequences in redirected JSON output.

We discussed somewhere in a thread for this PR that we actually need to pass that information up from the last operator, and wrote a follow-up story for that. For now, colors are opt-in.
E.g., if you run this:
tenzir '… | write json | save file foo.json'

Then the information of whether or not we're printing to a terminal must be passed from save to write. We talked about the how, but it's for sometime in the future because write cannot reliably detect that on its own.

I see, true!


[question] reload and keep the cache

During config reload the cache is flushed. It makes sense because the cache depends on the config (stub/forward zones, etc).
However, for performance reasons it would be nice to be able to keep it.
I am opening this issue to know your opinion about it and how tricky would it be to do it.
Thanks

It would not be very tricky to do it, but what you say is the problem.  Also trust anchors can change, and that would put items in the cache with the wrong security classification, causing stuff like dnssec-valid when it is not and vice versa flags.  Avoiding the issues caused by changes in config requires a bunch of items to be removed from cache, figuring out exactly which ones is going to be very hard, to get right.  So I would not want to do it.  Keeping the cache around, but perhaps it is garbage, is easy.

Ok, thanks. I guess that answers my question.


White fillColor of Export Format icon in Records screen

Fixes: #231 .
Description:
Replaced the existing "Choose export format" grey icon with a Materialised icon with White fillColor in the Records screen to make it uniform along with the Title of the action-bar.
Screenshot of current Records screen:

Screenshot of improved Icon:

@sastry17 sir please review my PR.


Sync this lib with crypto/ed25519

We need to sync this repo back with crypto/ed25519. (The commits on crypto/ed25519 are from the same author) They've added updates that we need to add here. (Support for RFC 8032 - prevents signature malleability). I'll try to write a PR for this soon.

Perfect, thanks!
see also: https://github.com/tendermint/ed25519/issues/2#issuecomment-386802888


Check background_task_handle before use

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Bug Fix

Short description (up to few sentences):
Since StorageMergeTree::background_task_handle is initialized in startup() the MergeTreeBlockOutputStream::write() may try to use it before initialization. Just check if it is initialized.
Detailed description:
First idea was to start schedule pool only after all storages get initialized - or we can get segfault. But it doesn't work because StorageReplicatedMergeTree::startup() waits for some internal task event.

Should fix #6071

All ZooKeeper tests have timed out: https://nda.ya.ru/3VmJmN

All ZooKeeper tests have timed out: https://nda.ya.ru/3VmJmN

That's because of StorageReplicatedMergeTree::startup(), which waits for some event from task dispatched to BackgroundSchedulePool. Since nobody knows what will happen if I remove this conditional wait, I dropped the idea to postpone BackgroundSchedulePool start.

Ok. (Debug output in integration test - does not relate to this pr - up to you).

I hope this change fixes #6071 and it will be released soon, because currently it is impossible to use kafka + mv in 19.11.


Prevent user from progressing in onboarding flow if keychain cannot be correctly accessed

Description
More context: https://github.com/valora-inc/support-issues/issues/69
We received reports that some users have become stuck on the pin screen due to keychain errors (storage/keychain :: Error retrieving stored item). It's likely that the PEPPER was incorrectly stored in the keychain/unable to be fetched.
This PR:

when storing keychain items, also check if they can be resolved back to the original value correctly. throw error if there is a mismatch
if this error is thrown during the onboarding flow, the user should not be able to progress.
for the restore account flow, a banner error is displayed on the recovery phrase screen (screenshot attached, but no logic was added/edited to create this behaviour)
for the create account flow, the user is redirected to a new account setup failure screen (designs https://www.figma.com/file/YfWbAgcTtQby4vzV62awPp/Wallet-4.0?node-id=13097%3A27695)

Other changes
N/A
Tested
Manually, unit tests for pepper
How others should test
I don't know of a way to force this keychain error, so for testing please just make sure the onboarding flow still works as expected for create/restore account, and changing pincode flow should also work as expected.
Related issues

Fixes #1709

Backwards compatibility
Yes

Hey @MuckT  We have verified the above task using Latest Alfajores Internal build and Latest iOS alfajores build V:1.26.0 and updated the status in test rails
Test rail links:
Android 11:
https://valoraapp.testrail.io/index.php?/tests/view/9905&group_by=cases:section_id&group_order=asc&group_id=35
iOS 14:
https://valoraapp.testrail.io/index.php?/tests/view/9779&group_by=cases:section_id&group_order=asc&group_id=35
Observation : We were able to create account, restore account using face iD seamlessly and also we were able to change the Pin
Note : In Android Face iD feature is not implemented yet so we have blocked the test case
Devices : iPhone 12(14.7.1), Google Pixel 2XL(11.0)
CC: @kathaypacific
Thanks.!

Hey @MuckT,  We have verified the above task using Latest iOS Test flight Alfa jores build V:1.26.0 and updated the status in test rails. User is able to create account, restore account using face iD seamlessly and also we were able to change the Pin
Note : In Android Face ID feature is not implemented yet so we have blocked the test cases of android platform.
Test rail links:
iOS 15: https://valoraapp.testrail.io/index.php?/tests/view/9716
Devices : iPhone 13 mini (15.1.1)
CC: @kathaypacific
Thanks.!!

Hey @MuckT, We have verified the above task using Latest iOS Test flight Alfajores build V:1.26.0 and updated the status in test rails.
Note:

We have verified touch ID for iOS13

Test rail link:
iOS 13: https://valoraapp.testrail.io/index.php?/tests/view/10034&group_by=cases:section_id&group_order=asc&group_id=35
Devices: iPhone 7(13.3)
CC: @kathaypacific
Thanks.!!


Provide "computeProxyAddress" util

The computeProxyAddress is currently available only internally, via the Base_Test contract. I should make it publicly available via a Utils.sol file under test/utils.

DeployOptimized is for deployment helpers. The functions you have mentioned serve diferent purposes.


Removes no-duplicate-variable from the default & recommended configs

Per the docs for no-duplicate-variable itself:

This rule is only useful when using the var keyword - the compiler will detect redeclarations of let and const variables.

Given that no-var-keyword is already included in both configs, no-deuplicate-variable becomes redundant since var will never be allowed in those configs.

Thanks for your interest in palantir/tslint, @elwayman02! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

Done.


feat: update default inflation rate

Purpose / Abstract

Closes #AAA

Summary by CodeRabbit

Refactor

Refined test cases related to inflation calculations, ensuring more accurate testing under various conditions.

New Features

Updated inflation parameters to refine the inflation model, adjusting factors and distribution percentages for a more balanced economic environment.

Documentation

Updated the changelog to reflect changes made to inflation parameters and test refinements in the Nibiru project.

Where are the numbers coming from? I'm seeing different coefficients when running the code that generates this: https://github.com/NibiruChain/tokenomics

Where are the numbers coming from? I'm seeing different coefficients when running the code that generates this: https://github.com/NibiruChain/tokenomics

It's because the tokenomics script assumes 810.6M inflation but that number was changed in the latest tokenomics spreadsheet to 807.735M.
Referring to this Slack thread


Implement Rethinkdb for realtime data

Problem Statement
The way we simulate "realtime" connections is either via polling an API endpoint for changes, or
using long-polling via django hooks at the API layer.
Both of these approaches have drawbacks:

polling an endpoint is wasteful; we query the API / database and throw away the data on many cycles as it's unchanged.
long-polling is problematic; it is using a model that gets saturated with too many connections,
causing deadlock of the application. It also appears to have introduced some instability in general.
Solution

The general solution here is one that has been cooking for a bit.

On startup, ingest all data into rethinkdb

Use postgres Listen / Notify to have db change events emitted.

Remove all long-polling code.

Remove the JSON cache from the view-server.

Update the realtime service to be a wrapper around rethink.

Update the browser to interface with the reduced data coming from rethink.

[ ] Add Notify triggers for relevant chroma_core_* tables.

[ ] Add a modified at field to all relevant models.

[ ] Finish table ingestion and updates

Given the current state of rethinkdb, this is unlikely to happen.


Dc/data structure lq dynopt

This PR provides 3 things in response to issue "Defining data structure for LQ dynamic optimization".

It defines the struct LQDynamicData and provides a constructor for this struct. There are two constructor options:

It can build the LQDynamicData by passing the Q, R, A, B matrices, s0 vector, and the N time steps with optional arguments for sl, su, ul, and uu.
It can build the LQDynamicData by passing ns, nu, and N. It initializes empty arrays for Q, R, A, and B and sets s0 to a zero vector and defaults to infinite bounds for states and inputs. These values can then be adjusted with the API functions

It defines a new LQDynamicModel(::LQDynamicData{T,S,M}; condense = false) where {T,S,M} in the place of build_QM.
It defines functions for APIs, so that attributes of LQDynamicData can be modified or queried. The only exception is that ns, nu, and N cannot be modified.

Codecov Report

Merging #7 (8a1e65a) into main (a0d1eef) will decrease coverage by 46.66%.
The diff coverage is 35.29%.

@@             Coverage Diff             @@
##             main       #7       +/-   ##
===========================================
- Coverage   91.93%   45.26%   -46.67%
===========================================
  Files           1        1
  Lines          62      243      +181
===========================================
+ Hits           57      110       +53
- Misses          5      133      +128

Impacted Files
Coverage Δ

src/DynamicNLPModels.jl
45.26% <35.29%> (-46.67%)
:arrow_down:

Continue to review full report at Codecov.

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


KAFKA-9098: When users name repartition topic, use the name for the repartition filter, source and sink node.

When users specify a name for a repartition topic, we should use the same name for the repartition filter, source, and sink nodes. With the addition of KIP-307 if users go to the effort of naming every node in the topology having processor nodes with generated names is inconsistent behavior.
Updated tests in the streams test suite.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

ping @guozhangwang, @vvcephei, @ableegoldman for review

@cpettitt-confluent , can you take a look?

@vvcephei @cpettitt-confluent updated this per comments

We're not able to definitively determine if the user named the topic under all scenarios. Discussed with Bill and we agree that the first patch was simpler given this limitation. So, LGTM for the original patch under review!

Java 8, Java 11/2.12 failed test results already cleaned up.
Java 11/2.13 passed
retest this please

Java 11/2.13 failed
Java 8 and Java 11/2.12 passed
retest this please

Merged #7598 into trunk


I can add Animation , Change the Color Theme and remove generate button to make it more responsive based on the checkbox

Then you may first work with the dark theme which is already an issue..

Assign this work to me,
I can make changes

Go Ahead..


Update the README with more user focused info

Provides some more details on how to use the sail operator in the main README and moves the developer focused information into a separate Development section.

Hi @nrfox. Thanks for your PR.
I'm waiting for a istio-ecosystem or istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

/ok-to-test


entire menu is gone

game is stuck on windowed, so i dont know if that might be the cause (cant fix it because i cant see the menu)
but yeah entire menu is gone

nevermind, the menu is just gone

need logs or I can't help


Do I have to download the Checkpoints for Mixtral? Where do I put them? And how do I make it in .GGUF format?

Reminder

[X] I have read the README and searched the existing issues.

Reproduction
First of all congrats! Amazing job. My first question is where do I get the Checkpoints for Mixtral-8x7B? On HF?
Where do I put them? There is no Checkpoint folder.  I just create one and put them there?
And last but not least. How do I make it as .GGUF format? Are there any settings to do so?
Appreciate
Expected behavior
No response
System Info
No response
Others
No response

We only support mixtral checkpoints in hf format (*.safetensors): https://huggingface.co/mistralai/Mixtral-8x7B-v0.1
Alternatively you can use --model_name_or_path=mistralai/Mixtral-8x7B-v0.1 to train the mixtral model.
We don't support GGUF models


Job fails with errorMessage: TAPIS_SSH_NO_SESSION No SSH session exists on this connection.

Details:

Create an application (example opensees), which takes an inputdir.
For the job, provide a lot of files. In this case it has 79 files.
Execute the job.

Result:
errorMessage: TAPIS_SSH_NO_SESSION No SSH session exists on this connection.
More Info:

The job uses input from file system. When the job runs, the data is transferred from input source to job execution folder, I see those files. But, then staging inputs task failed:
A request to stage job input files has been submitted. Files service staging transaction 1271c2d0-d892-4d0e-8918-1bc57b863cd5 in state FAILED for job c3cfcc95-d808-4411-8902-c523b8172b7c-007 in tenant portals."
I checked the disk space on scratch1 on frontera and it is not close to full.
I'm able to go the execution folder and run job using sbatch. But, with tapis it fails.
My ssh is setup and credentials are created.

This is a files issue - https://github.com/tapis-project/tapis-files/issues/108

Duplicate issue.


hide secret recovery phrase logic, prevent select

Closes #14

I do wonder how much the non-selection thing will affect the UX even though it encourages the correct behavior.  Definitely something we should continue to think about and explore during user testing.


InnoDB error

Hi buddy,
First - thanks for taking the effort and putting this repository in place.
I'm looking for a quick way to test out VOIP for my home.
I ran the docker-compose, and keep getting this error in a loop:
"freepbx-app          | ** [freepbx] MariaDB Server 'freepbx-db' unavailable. Sleeping a little bit ...
freepbx-db           | ** [mariadb] Starting MariaDB 10.3.9
freepbx-db           | 2018-12-01  1:17:29 0 [Note] /usr/bin/mysqld (mysqld 10.3.9-MariaDB) starting as process 9871 ...
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: Using Linux native AIO
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: Uses event mutexes
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: Number of pools: 1
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: Using SSE2 crc32 instructions
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: Completed initialization of buffer pool
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
freepbx-db           | 2018-12-01  1:17:29 0 [ERROR] InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 0 pages than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
freepbx-db           | 2018-12-01  1:17:29 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
freepbx-db           | 2018-12-01  1:17:29 0 [Note] InnoDB: Starting shutdown...
freepbx-db           | 2018-12-01  1:17:29 0 [ERROR] Plugin 'InnoDB' init function returned error.
freepbx-db           | 2018-12-01  1:17:29 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
freepbx-db           | 2018-12-01  1:17:29 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
freepbx-db           | 2018-12-01  1:17:29 0 [ERROR] Unknown/unsupported storage engine: InnoDB
freepbx-db           | 2018-12-01  1:17:29 0 [ERROR] Aborting"

That's interesting. InnoDB should be available in the tiredofit/mariadb image. What's the host system you are running this on? I had some issues with MariaDB in the past on Windows, but this was years back and haven't tried since.

MacOS

Can you try swapping out the line in the docker compose from image: tiredofit/mariadb to image: mariadb and see if you encounter the same issue?

freepbx-db           | 2018-12-03 19:00:16 0 [Note] mysqld (mysqld 10.3.11-MariaDB-1:10.3.11+maria~bionic) starting as process 1 ...
freepbx-db           | 2018-12-03 19:00:16 0 [Note] InnoDB: Using Linux native AIO
freepbx-db           | 2018-12-03 19:00:16 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
freepbx-db           | 2018-12-03 19:00:16 0 [Note] InnoDB: Uses event mutexes
freepbx-db           | 2018-12-03 19:00:16 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
freepbx-db           | 2018-12-03 19:00:16 0 [Note] InnoDB: Number of pools: 1
freepbx-db           | 2018-12-03 19:00:16 0 [Note] InnoDB: Using SSE2 crc32 instructions
freepbx-db           | 2018-12-03 19:00:16 0 [Note] InnoDB: Initializing buffer pool, total size = 256M, instances = 1, chunk size = 128M
freepbx-db           | 2018-12-03 19:00:16 0 [Note] InnoDB: Completed initialization of buffer pool
freepbx-db           | 2018-12-03 19:00:16 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
freepbx-db           | 2018-12-03 19:00:16 0 [ERROR] InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 0 pages than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!
freepbx-db           | 2018-12-03 19:00:16 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
freepbx-db           | 2018-12-03 19:00:17 0 [Note] InnoDB: Starting shutdown...
freepbx-db           | 2018-12-03 19:00:17 0 [ERROR] Plugin 'InnoDB' init function returned error.
freepbx-db           | 2018-12-03 19:00:17 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
freepbx-db           | 2018-12-03 19:00:17 0 [Note] Plugin 'FEEDBACK' is disabled.
freepbx-db           | 2018-12-03 19:00:17 0 [ERROR] Could not open mysql.plugin table. Some plugins may be not loaded
freepbx-db           | 2018-12-03 19:00:17 0 [ERROR] Unknown/unsupported storage engine: InnoDB
freepbx-db           | 2018-12-03 19:00:17 0 [ERROR] Aborting
Regards,
Yaron Rosenbaum
(Y)

On 3 Dec 2018, at 17:56, Dave Conroy<EMAIL_ADDRESS>wrote:
Can you try swapping out the line in the docker compose from image: tiredofit/mariadb to image: mariadb and see if you encounter the same issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/tiredofit/docker-freepbx/issues/42#issuecomment-443760575, or mute the thread https://github.com/notifications/unsubscribe-auth/AGB3ZBdmLGVzgqszHJZuPoMYeChhF3MPks5u1UmqgaJpZM4Y8zt4.

Same.
Historically I've been using all sorts of databases successfully, but I haven't touched Docker for a couple of years, (so I'm quite rusty).
I tried the above, same results.
Could this be relevant? https://bugs.mysql.com/bug.php?id=73521
I suspect that the key clue here is the first error in the sequence: "InnoDB: The Auto-extending innodb_system data file './ibdata1' is of a different size 0 pages than specified in the .cnf file: initial 768 pages, max 0 (relevant if non-zero) pages!"

I think you are doing everything right - This does seem like OS specific, hopefully another Mac user can jump in here. There is another way you can do this. If you setup a local copy of Mysql on your system, let it listen on your Private IP Address and then alter the freepbx-app environment variables for DB_HOST, DB_NAME, DB_USER, DB_PASS to point to your newly setup Mysql Server this will at least let you try out the image and see if its for you. Careful, don't put <IP_ADDRESS> in the DB_HOST as that won't break out of the container.

forgive my delay i have been ill the pass week,
i have a macbook pro here so i will build and test here and return my results
what OS and docker version are you using?

@PARitter In relation to that, I believe this issue https://github.com/docker-library/mysql/issues/57 relates to the ZFS filesystem.

Unfortunately that does not seem to fix it.  Tried the setting from that issue with no effect.

Too bad - I run strictly btrfs on my filesystems, however haven't encountered this. The puzzle continues.

FWIW - I see the same issue on my Macbook. Trying @simonihmig's solution did not work for me either.

That's problem with fallocate on some FS (ZFS and etc):
bash-5.0# fallocate -l1G /var/lib/mysql/test.dat
fallocate: fallocate '/var/lib/mysql/test.dat': Not supported