Trouble with BuildTrajectory

Hello!
I'm having some issues trying to run Tempora on my dataset.
I did the preprocessing on Seurat and integrated all of my samples using Harmony. I was able to calculate the pathway enrichment profiles of my clusters (gvsa method), but I received an error when trying to build the trajectory. Does this have something to do with genes that have constant expression being discarded in the previous step?

Thank you!

I am having this same error. Did you ever find a solution?

I'm still stuck on this! Please let me know if you figure anything out!

Hi! Apologies for the late response. The error looks like it's due to the temporal scores for some clusters were not calculated properly in the previous step but Tempora did not throw an error message there to make sure it's corrected. Can you help me check this by running<EMAIL_ADDRESS>in your R console and letting me know what it returns?

I think in my case it was because the cluster IDs were not integers. When I changed them all to be integers it is running successfully

I fixed my cluster IDs and now it is running smoothly. Thank you!


[Init image] We got here updated automatically Dask/Distributed versions

cc: @bbockelm (here is an image that we discussed on coffea-casa Friday meeting)

@nsmith- should I put my credentials for Docker or you prefer to have yours?

@nsmith- btw it is super nice that https://hub.docker.com/r/coffeateam/coffea-dask exists. Anyway, images will be tagged with coffea version so there will be no conflict, even though the image will be rebuilt each time Dask is updated (it doesn't happen often but it is good to keep main dependencies up-to-date)

@nsmith- is it actually correct that images will be tagged with coffea version? pro-that it is easy to know which coffea version is used, con - will it be rebuild and tagged each time coffea-base image will be build? Otherwise, we can tag with a version of Dask?

@nsmith- should I put my credentials for Docker or you prefer to have yours?

Feel free to add your own tokens

@nsmith- is it actually correct that images will be tagged with coffea version? pro-that it is easy to know which coffea version is used, con - will it be rebuild and tagged each time coffea-base image will be build? Otherwise, we can tag with a version of Dask?

I'm not sure the best course here. On the one hand, we mostly care about tracking coffea versions, but dask also can be frequently updated. I'm trying to decide if using build metadata (https://semver.org/) is appropriate. The thing I don't like about updating the same image tag in place is that then its necessary to set ImagePullPolicy: always in kubernetes.

 I will push it and let's see if it will work..

Well I more meant to tie to this repo's hash than docker version. The motivation being we might have in this repo some patches to dask-jobqueue that are not upstreamable, e.g. @lgray 's


Upgrade notice Service, models, and tests

My account is: 8fd98b788dd2f3efe9c7f990f3b07e308e02092c6ec7c4a42ce8331f5e8e4511

Gah I pulled the wrong branch... Let me close and try that again 🤔


bash client: alias and firewall rules patching

Hi,
I don’t know howw to contact you for clarification.
I hope this is a good way.
I’ve setup fauxapi to a test installation.
I’m trying to use bash client to make changes to the existing configuration and see how it works on the device.
I see the same issue with pfsense version 2.4.3 and 2.4.4.p3
I’m able to get the config using the script with
system_config=$(fauxapi_config_get ${fauxapi_host})
I’m facing two problems:
One with real alias value , on with rules patching
Real Alias Value
I’m able to change the value of an alias with
fauxapi_config_patch $fauxapi_host /root/Desktop/pfs_alias.cfg
(the file contains the json needed that changes the only alias from <IP_ADDRESS> to <IP_ADDRESS>)
but the change is only aesthetical (the alis value is displayed correctly in the gui, but the value in diagnostic>Tables>Alias_name is still the old one (the only way to change it is mannually via Status>Filter Reload> Reload Filter)
Rules patching
the other problem is that when i try to patch the firewall rules (even with a unmodifyed copy of the same rules) I get an error like this one
_{
"callid": "5d4a943c378b4",
"action": "config_patch",
"message": "failed to patch config data",
"logs": [
{
"INFO": "20190807Z110500 :: fauxapi\v1\fauxApi::__call",
"DATA": {
"user_action": "config_patch",
"callid": "5d4a943c378b4",
"client_ip": "<IP_ADDRESS>"
}
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApi::__check_user_action_call"
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiAuth::is_authenticated"
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiAuth::load_credentials"
},
{
"DEBUG": "20190807Z110500 :: valid auth for call",
"DATA": {
"apikey": "PFFATestUser",
"callid": "5d4a943c378b4",
"client_ip": "<IP_ADDRESS>"
}
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiAuth::is_authorized"
},
{
"DEBUG": "20190807Z110500 :: permit allows action",
"DATA": {
"action": "config_patch",
"permit": "",
"permits": [
""
]
}
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApi::_check_user_action_call() checks all passed"
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiActions::config_patch"
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiPfsenseInterface::config_patch",
"DATA": {
"do_backup": true,
"do_reload": true
}
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiPfsenseInterface::config_load",
"DATA": {
"config_file": "/cf/conf/config.xml"
}
},
{
"INFO": "20190807Z110500 :: config_patch merged with current config, attempting to save"
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiPfsenseInterface::config_save",
"DATA": {
"do_backup": true,
"do_reload": true
}
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiPfsenseInterface::config_backup",
"DATA": "/cf/conf/config.xml"
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiPfsenseInterface::get_next_backup_config_filename",
"DATA": {
"type": "pfsense"
}
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiPfsenseInterface::config_load",
"DATA": {
"config_file": "/cf/conf/config.xml"
}
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiPfsenseInterface::config_load",
"DATA": {
"config_file": "/cf/conf/backup/config-1565168700.xml"
}
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiPfsenseInterface::config_load",
"DATA": {
"config_file": "/cf/conf/config.xml"
}
},
{
"DEBUG": "20190807Z110500 :: attempting to (re)load a temp copy of the config supplied",
"DATA": {
"config_temp_file": "/tmp/fauxApi_wpSDSf"
}
},
{
"DEBUG": "20190807Z110500 :: fauxapi\v1\fauxApiPfsenseInterface::config_load",
"DATA": {
"config_file": "/tmp/fauxApi_wpSDSf"
}
},
{
"ERROR": "20190807Z110500 :: saved config does not match config when saved and reloaded"
}
]
}
Thanks for any suport you can provide.

Hi @Methraton -
There are two issues here, the first one is easy, you can issue a send_event with POST data filter reload to cause the same reload action you are doing in the GUI
https://github.com/ndejong/pfsense_fauxapi#user-content-send_event
The second issue is not so clear from the description provided, however the error you are getting is the built in mechanism that prevents a bad config from being saved in the first place, so something is somehow not right - based on what you have described it sounds-like you might be trying to patch something that should just be saved with config_set
https://github.com/ndejong/pfsense_fauxapi#user-content-config_set
let us know how it goes


[1:1]: remove pfe-codeblock

pfe-codeblock will be removed from this repo prior to 2.0
later implementations should be based on PFv4 Codeblock

closed in favour of #2093


Fix button widths in the Settings on web

Make the buttons full width in settings so it supports longer strings in other languages.
This is the least bad solution with the current constraints per my research. This would be solved neatly if RN would support box-sizing: content-box but it does not.
It's possible there is a more elegant solution, I'm not a CSS expert but I did spend quite a bit googling about this.
Before:

After:

Fixes #3060.

Ah this is so much worse than I thought.

Okay, whatever, let's just set fixed width, least bad solution.

I think adding flexGrow: 1 to the btn style in SelectableBtn.tsx would be what you're looking for. Looks like all the places we use SelectableBtn would be fine with this.

Plenty more flexbox to learn :) Thanks! Looks good here as well.

Flexbox regularly confuses the heck out of me all the time, especially in RN. Thanks for fixing this!


(doc) Simplify documentation

Since maven-plugin-plugin require Maven 3.2.5 no additional configuration is needed.

Maybe information about binding override is not need at all?
At page http://maven.apache.org/guides/plugin/guide-java-plugin-development.html#project-definition there is not such information.

Maybe information about binding override is not need at all?
At page http://maven.apache.org/guides/plugin/guide-java-plugin-development.html#project-definition there is not such information.

Maybe it is incomplete?

It looks like plugin require maven 3.2.5 ...
http://maven.apache.org/plugin-tools/maven-plugin-plugin/dependencies.html

Yup, mvn 3.2.x is needed, see https://github.com/apache/maven-plugin-tools/pull/37


Exporting as pdf links back to exp.draw.io

When I try to export an file as .pdf and then click on download or open in new window it links me to the exp.draw.io/ImageExport4/export page. As I am using it on an intranet there is no internet connection.
In addition it would be obviously much preferrable to have everything selfcontained.
Thanks.

Use File, Print and Save as PDF for client-side PDF export.

No way to set up our own server side pdf export?
The client side printing as several complications with browsers adding headers and footers etc and also not respecting land-scape/portrait settings. These can be configured but it has to be done manually on every client.

We're working on open sourcing the required code, which uses Tomcat and PhantomJS.

hello @alderg, can you share the required code? I write the approach as alternative. Thanks!

@alderg Any progress on open sourcing said code?

The bottleneck is me, I have to do legal diligence on everything we open source. It's... on my todo :).

Oh okay, I understand that this takes time. Thanks for your work anyway. :)

Any word on this by chance?

Hi
Getting back to you guys. After almost one year did you manage to have Export independent from exp.draw.io. Really eager to develop the PPTx two.

Alternatively, this is a really nice and easy to use pdf export library that could be adapted:
https://github.com/mpdf/mpdf

We have open sources it here: https://github.com/jgraph/draw-image-export2


Break zotsampleport into 'zotsample' and 'zotsampleport'

Make this look like a standard 'port' by having:

a DEV build do a 'git clone' from zotsample-git
a STABLE build get a tarball from zotsample-tar.gz

The building of the 'dev' zotsample should create a tarball that can then be used for a 'stable' build
@IgorTodorovskiIBM @HarithaIBM for your input

Sure , Mike! @MikeFultonDev


WYSIWYG Text view: Tab key should set list item to its next logical level

In the Text view, use of the Tab key when cursor is positioned at the start of a list item should result in setting the list item to its next logical level. This behavior can be demonstrated in Markdown view:

Findings:
In Markdown view, Tab key before - list item will cause it to shift to its next logical list item level.
In Text view, Tab key at same position makes cursor jump into first element of next cell.
In light of this somewhat related issue: #6682, we could try to solve for both indenting code and setting list items to their next logical level.

@MsSQLGirl for visibility

@halerankin Mmm. Can we look at how we handle undo in the text cell component and do the same sort of thing that we do for undo/select all and call stopPropagation()?


Variables with the same name do not show up in the Locals Pane

VSCode Version: 1.21.0-Insiders (Also occurs in the latest stable)
OS Version: Windows 10 (& Mac)

Steps to Reproduce (using VS Live Share extension)

VS (host): Create a new JavaScript -> Blank Node.js Console Application and Share it.
VS Code (guest): Join collaboration session
VS (host): set a breakpoint in app.js @ console.log('Hello world'); and F5
VS Code (guest) : wait until breakpoint Is hit and then step into console.log

Expected: VS code and VS locals windows both contain the same variables (namely: two entries called Closure)
Actual: VS Code only has one o the Closure variables
As per @weinand : yes, variables are identified by their name, so you cannot have two variables on the same level with the same name. Please file an issue against the debug adapter protocol.

I've create DAP request for this.


#[derive(Decode)] fails when struct fields are raw identifiers

#[derive(knuffel::Decode)]
struct TestCase {
    #[knuffel(argument)]
    r#ref: String,
}

causes the Decode macro to panic with  `"seen_r#ref"` is not a valid identifier.

Oh, this is interesting. Should be easy to fix. I.e. whenever we create a slightly different than original identifier we should somehow take care of raw idents (there should be some helper function in syn I think).
Do you want to contribute?

I took a look at it but couldn't quite get anywhere - proc macro debugging is a bit of a mess - but the helper function you're looking for is IdentExt::unraw.

I think it should be possible to use quote::format_ident! instead of syn::Ident::new(&format!("seen_{}", fld), (and few similar places), if you want to try.

Thanks! Released as 2.0 (along with miette upgrade)


Technology

Technology Used For Project

HTML
CSS (Bootstrap)
JavaScript

Changes Acknowledged

Global APIs

API
Flight : https://airlabs.co/docs/#docs_Introduction
Movie : https://www.themoviedb.org/documentation/api
Hosting
Github Pages

Provided API validated


Darwin bootstrapping fails on staging-next

Issue description
https://hydra.nixos.org/build/96404229
Steps to reproduce
cc @NixOS/darwin-maintainers
Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

This appears to be caused by 3e867d16cde4ecf81d04d41acb99ea464f5c4663.

Thank you for investigating. Then we'll revert it.

Reverted in 835f6b6.


compute_decimal_op_dyn_scalar should not cast lhs array to decimal array

Which issue does this PR close?

Closes #5464.
Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?

Thank you @viirya

Thanks @alamb


pthread：Futex, mutexes, condvars, semaphores, rwlocks, and barriers.

The blocking thread can then use the futex() system call with the FUTEX_WAIT opcode to put itself to sleep on the futex, passing the address of the futex state variable as an argument. To release the lock, the owner changes the lock state to zero (unlocked) and issues ** the FUTEX_WAKE opcode, which will wake the blocked thread to return to user space and try to acquire the lock**

Some notable improvements include priority based wake-up for real-time tasks (by Pierre Peiffer) and robust and PI futexes (by Ingo Molnar and Thomas Gleixner).

Glibc now uses private futexes by default.


Applying refactor using apply-refact removes unrelated code

From https://github.com/mpickering/haskell-ide-engine/issues/77
When trying to apply a refactor unrelated code (usually above the refactor) is removed
Although it is reproduced some times in other os's in windows fails consistently
It could be caused by the fact temp vfs files has other line endings than the original (in other os's would be triggered by being the vfs temp file not in sync with the original one)

It has removed imports and the function above the one with the redundant brackets (but it removed the brackets as well 😆 )
Maybe related #1448

I suspect it could be the line ending issue.
Can you perhaps add a copy of the applyEdit command sent for this example?  together with the actual file used.

Yeah, that was my guess too. I collected some data for the original issue:

json message with the code edits formatted
temp files before and after the refactor

maybe you should invoke hlint CLI on that file on the given machine, to see what it does.  That gives a baseline at least.

i tested hlint + apply-refact in the console and they apply the refactor fine, so i am inclined to think that the main suspect would be the temp file.

I've just checked it again:
PS D:\dev\ws\haskell\cabal-test> type .\src\Lib.hs
module Lib where
import qualified Data.ByteString.Char8 as BS

test :: BS.ByteString
test = BS.pack "Hello Haskell"

test2 :: [a]
test2 = ([])
PS D:\dev\ws\haskell\cabal-test> hlint .\src\Lib.hs --refactor
module Lib where
import qualified Data.ByteString.Char8 as BS

test :: BS.ByteString
test = BS.pack "Hello Haskell"

test2 :: [a]
test2 = []
PS D:\dev\ws\haskell\cabal-test>

Ok, i am testing master version of hie + master of haskell lsp (to get hlint hints in windows) in win 7 and cant reproduce and temp files are exactly equal to original ones.
I've switched again to hie-bios and the issue is reproduced and the temp files have incorrect line endings (so it confirms our suspects)
So maybe i moved the issue here hastily, i'll test again in windows 10 master version just in case.

Ok, i've traced the write of the temp file in the mpickering/write-persist-file branch:
2019-12-12 12:28:38.6743356 [ThreadId 51] - haskell-lsp:persistFileVFS: Writing virtual file contents: uri = NormalizedUri "file:///D:/ws/haskell/cabal-test/lib/CabalTestLib.hs", virtual file ="C:\\TEMP\\haskell-lsp10420\\CabalTestLib.hs-00000-74206730.hs", contents = {-# LANGUAGE OverloadedStrings #-}

module CabalTestLib where

import Network.HTTP.Types.URI

import qualified Data.ByteString.Char8 as BS

import Data.Char

urlEncoded :: BS.ByteString

urlEncoded = BS.pack "Hi"

test :: IO ()

test = (putStrLn "hi")

Otoh i've checked that if i edit the temp file to make it equal to the original one the refactor works

Ok, i think i've found what triggers the issue: to having set CRLF (you can see it in the bottom right of the vscode window) in visual studio line endings. It doesnt depend on hie version.
I dont know why a project had one or another cause i did not change it manually
So the immediate workaround is to use LF in vscode (clicking the CRLF label in the bootom right and choosing LF)
However imo hie should handle CRLF gracefully so maybe we should replace \r\n by \n them at top level, when handling the files content

Another solution could be honour \r\n and fix the write of the temp file to avoid additional line breaks

The fix has been applied to the next haskell-lsp version. This version can't be used by actual hie master version as is so the fix will be available only for the hie-bios branch until it is merged (hopefully sooner than later)


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

I think the issue is resolved. Visit


VS Code_Inline Javascript: Unable to view run details after workflow deployed from VS code to logic app.

Describe the Bug with repro steps
1.Create a new workflow app using VS Code.
2.Create a stateful/stateless workflow
3.Open the workflow.json file in designer and author a new workflow.
4.Save, debug and run it.
5.Create a logic app from logic apps tree in resources blade.
6.Deploy the workflow from VS code to logic app created from logic apps tree in resources blade.
7.Find the deployed workflow app from the VSCode-Azure pane, open the overview page, and call the new Callback URL with Postman/ run trigger.
Expected: The response in Postman/runhistory should show like before
Actual: Unable to view run details after workflow deployed from VS code to logic app. Getting the below error "undefined undefined"
What type of Logic App Is this happening in?
Standard (VSCode)
Are you using Preview Designer or GA Designer
Preview
Workflow JSON
No response
Screenshots or Videos

Browser
VS Code
Additional context
Artifacts details:
1.VS Code extension: vscode-azurelogicapps-2.18.0.vsix
2.NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzczNTE1ODYzL2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.23.1.nupkg
3.Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting
4.Extension Bundle (Direct Download): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle.Workflows/1.23.1/Microsoft.Azure.Functions.ExtensionBundle.Workflows.1.23.1_any-any.zip

Issue not repro in the latest request, hence closing this issue
Artifacts details:
VS Code extension: vscode-azurelogicapps-2.24.3.vsix
NuGet package: https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzc0MTk5ODA4L2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Workflows.WebJobs.Extension.1.25.1.nupkg
Extension Bundle (CDN URL): https://cdnforlogicappsv2.blob.core.windows.net/logicapps-vendortesting
Extension Bundle (Direct Download): https://artprodeussu2.artifacts.visualstudio.com/A41bf5486-7392-4b7a-a7e3-a735c767e3b3/b32aa71e-8ed2-41b2-9d77-5bc261222004/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zYXp1cmUvcHJvamVjdElkL2IzMmFhNzFlLThlZDItNDFiMi05ZDc3LTViYzI2MTIyMjAwNC9idWlsZElkLzc0MjAxMjgxL2FydGlmYWN0TmFtZS9kcm9wX2J1aWxkX0J1aWxkQXJ0aWZhY3RzX1dpbmRvd3M1/content?format=file&subPath=%2FMicrosoft.Azure.Functions.ExtensionBundle.Workflows.1.25.1_any-any.zip


Erroneous code on cpputest.github.io

class MyTypeComparator : public MockNamedValueComparator
{
public:
    virtual bool isEqual(void* object1, void* object2)
    {
        return object1 == object2;
    }
    virtual SimpleString valueToString(void* object)
    {
        return StringFrom(object);
    }
};

Correct is: 'virtual bool isEqual(const void* object1, const void* object2)`
And: 'virtual SimpleString valueToString(const void* object)'

Not sure when this changed; it is true in v.3.7.1

Fixed?

We did fix it. But I'm not sure the fixed version is on github.io; would need to check.

Ok, let me know :)

Well, it has been fixed, but there's a small typo on cpputest.github.io. The third line now reads virtual SimpleString valueToString(cont void* object)

Also, why is 3.7.1 on cpputest.github.io for download, when we have 3.7.2?

@basvodde the typos have all been fixed
Types fixed. I think we can close this issue since 3.8 is coming Real Soon Now.


Serialization Support

It would be nice, if its possible to serialize the Structs.
For now I have to use this workaround and its a little bit of pain. Any chances to get this feature?
Thanks

If you'd like to improve the project, you're free to submit a pull request. I've actually decided to go with a different approach for the disk management library that I'm developing, so I won't be actively maintaining this.


Problem with skip_confirmation!

In my model I add :  before_create :skip_confirmation!
But when I try to register a User, I still have to pass a confirm_success_urlparams to my url. Is that something you want ?
I think it should be an idea to add an option to DeviseTokenAuth::Engine such as is_confirmable
EDIT : I have down something really quick here if you wan't to take a look :)

I'm also having similar issues on 0.1.30.
I'm sure there's something I'm missing.
I've removed confirmable from my User model like so:
class User < ActiveRecord::Base
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable,
         :omniauthable

  include DeviseTokenAuth::Concerns::User

  ...
end

But when I try to create a registration I get the following response:
{
    "status": "error",
    "data": {
        "id": null,
        "provider": "email",
        "uid": "",
        "name": null,
        "nickname": null,
        "image": null,
        "email"<EMAIL_ADDRESS>        "created_at": null,
        "updated_at": null
    },
    "errors": [
        "Missing `confirm_success_url` param."
    ]
}

Am I overriding the devise modules correctly? And if so, is there a reason that I still need to prove a confirm_success_url?


Create $(LIBDIR) to fix broken build in isolated environments

While building yosys with libyosys+pyosys enabled in an isolated build environment (for distribution packaging), the install step fails at various places. I propose some fixes in this PR:

Installation fails at strip libyosys.so. This is caused by this copy line:

$(INSTALL_SUDO) cp libyosys.so $(DESTDIR)$(LIBDIR)

While on a regular system, this folder will exist (and cp will copy the file into it), in an isolated environment it might not. This makes libyosys.so end up as a file called 'lib' in $(DESTDIR)/$(PREFIX), and then the 'strip' command fails.
This PR explicitly creates the directory before copying, and also appends slashes to related copy-calls, making already the copy-step fail if the directory does not exist.

After fixing the first issue, calling ldconfig without sudo (as installation happens to an isolated area) will fail, and as I'm not so sure it's a good idea to have it in the Makefile I removed this call as well. I agree it should be called, but either it has to be done manually or the Makefile would need to check if INSTALL_SUDO is actually sudo...

The way of installing the python package is not compatible with this approach as well:

PREFIX is completely ignored for the Python stuff, instead it uses python-config --prefix
It installs to dist-packages, which is Debian specific and also only supposed to be used for packages installed with the distribution.

The canonical solution to these problems would be to make a proper Python package and then use setuptools to install them at the right location. I at least factored out PYTHON_PREFIX so build scripts can override this part, and used site-packages instead of dist-packages.
Let me know if you're unhappy with any of these changes, I'd be happy to work on that.

Let me know if you're unhappy with any of these changes, I'd be happy to work on that.

LGTM. Merging this this now. CC @btut.


How can i make run the project using src folders sources instead of examples folders sources?

when i code 'make run' at master branch , webpack will config example folders sources to localhost:8080,but i want to make run at src folders sources because it is completely code of the project?

You are probably looking for make watch. See README


question: how to disable stylesheet and image load?

Bottom line it looks like the size of the scraped page does not change when putting this next options and when not putting them (the options are: images:0 and filters:myblocker)
I am doing this next curl request:
curl -s -X POST -H 'content-type: application/json' -d "{"filters": "myblocker", "timeout": 3, "wait": 0.5, "images": 0, "url": "${url}", "html": 1,"headers":  {"name": "User-Agent", "value": "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox38.0"}}" http://${ip}:${port}/render.json
when the myblocker file looks like this:
-.css^
-$image,stylesheet
And the file is supplied like this:
docker run -d -p 8050:8050 --memory=1G --restart=always -v /home/ubuntu/filter/:/etc/splash/filters/ scrapinghub/splash:latest --maxrss 500
Thanks

How are you measuring scraped page size? In the example curl request you're getting a JSON with HTML of a page. Disabling images and CSS usually doesn't change HTML size - you'll likely get a different screenshot and a different set of resources to download, but the HTML usually stays the same (unless there is some JS code which takes e.g. calculated DOM element sizes in account - this should be rare).
I think you're returning only HTML contents from your render.json request

I am piping the content to file.
Why is the size of the file should not change? its holding less content...
Am i using the filter currently?
This is how i should define it?

I think you're using filters and images=1 option correctly.
Let's say the HTML is

If you have images=1, Splash will fetch this HTML page, then it'll fetch foo.jpg file and render a result internally. Then you ask splash to return the result - render.json is used with html=1 option (and no e.g. png=1 or har=1). With just html=1 Splash will return you just the HTML source code, which is the same regardless of if you've loaded foo.jpg file or not. So Splash will download less data with images=0 (no need to fetch an image), but the HTML result returned to the client will be the same. The result would be different if you e.g. use render.json with png=1 option - screenshots will be different.

I'm not sure it is a bug.


open a window if the start.sh is opened through nautilus

when execute it through nautilus (by double click) it should open a window to show a user the information which is not displayed outside shell (by echo).

Useful link:
http://unix.stackexchange.com/questions/162839/how-can-a-bash-script-tell-how-it-was-run

https://github.com/wwidd/wwidd/pull/22


Postgis to Citygml

Hi,
I have exported citygml-data in postgis by using 3dcitydb.
Then I have created views in Postgres/postgis with this data.
The next step is to import these views in 3dcitydb to visualize them.
Is this possible?
If not, do you have another idea to visualize my views?
Thanks so much.

Sorry, I am not sure that I get your question or workflow. Maybe you can use QGIS or FME or some similar tool to directly connect to your database views and visualize their content.

Closing due to inactivity.


[FEATURE] add sourcemaps plugin

Coverage remained the same at 100.0% when pulling 00f5cfef27fba9b176d363ac7cf369b12401215f on khaeransori:feature/add-sourcemaps-plugin into 21b30cddbd78132cede3e945289a2bb4acbcc7dd on traveloka:master.


Pressing Alt + Shift + - on a WSL tab opens a powershell instance

Windows Terminal version
1.14.2281.0
Windows build number
10.0.19044.0
Other Software
WSL2 running Ubuntu 20.04 LTS
Steps to reproduce
Open a WSL Tab
Perform a horizontal split Alt + Shift + -
Expected Behavior
Another bash prompt in the lower area
Actual Behavior
A Powershell prompt appeared.
If I perform a vertical split, it has the correct behavior.

This keyboard shortcut opens the default profile in new split pane. I think you have to duplicate pane Alt-Shift-d

Yep, that's correct!


Date inputs are hard to use and can't be typed

Recommend:

start and end, not a "time window". There is no documentation on what that is or what syntax would be used with the next request ...
I like typing dates. I am faster than the gui tools.  I don't mind that they exist, but not having an option is a bummer. In that regard it would be nice if the format were self completing (ie if 2007-01-01 implied 2007-01-01T00:00).
Despite what I just typed, the T would be optional or not used.

What about datetime range? It is self explanatory and I don't have to validate "start" and "end".
The widget library I am using provides these widgets. Take a look https://panel.holoviz.org/reference/index.html#widgets
I'll see what can be done but am open to options if supported by the library.

Made an animated gif to show usage

I prefer start and end. I don't mind picking an AirB&B rental with that kind of widget since 80% of the time I'm working on a 10 day range and the view seems well constructed for that use case. But it offers no advantages for a 17 month query. By contrast my start and end for this query is always going to involve paging though months and years. That is very inconvenient. By contrast, NOAA (https://tidesandcurrents.noaa.gov/waterlevels.html?id=9414290) let's you mouse around in date pickers if you want but it will parse your date if you don't. They validate, not a big deal.

This gif  basically runs through a kind of best case that is fairly easy. The issue is that by the time you are readjusting one or the other a couple times it isn't clear whether you are adjusting the start or end anymore.  There is probably an answer, maybe it is even easy once you know the answer, but by then I have a negative feeling about the UI. I also disagree that date ranges (with that meaning, not pandas') is all that predominant.

ok. I will just do a simple text box with date validation for start and end. As long as pandas.datetime is able to parse the string as a date it will be used.
If you take a look at the widget list, you can suggest another widget that matches your needs better.

My favorite is DatetimeRangeInput. It has the concept of range so it probably handles some of the range issues you wanted, though both its presentation and its retrieval are based on start and end which is how I code. It is simple text format with an example in the box and one that matches the timestamps we use. Similar to NOAA and CDEC in spirit. You might ditch the seconds. People will walk in and use this correctly the first time.
Two DatePickers would be OK if you strongly preferred a mousy interface. I don't  ... really prefer to type particularly when hours and minutes are involved. Also range validation would have to be coded. But what you said yesterday about typing in boxes still holds and now it isn't confusing whether I am typing the start or end.

From: Nicky Sandhu @.>
Sent: Friday, October 27, 2023 9:31 AM
To: dwr-psandhu/dms_datastore_ui @.>
Cc: Ateljevich, @.*** @.>; Author @.>
Subject: Re: [dwr-psandhu/dms_datastore_ui] Date inputs are hard to use and can't be typed (Issue #13)
ok. I will just do a simple text box with date validation for start and end. As long as pandas.datetime is able to parse the string as a date it will be used.
If you take a look at the widget list, you can suggest another widget that matches your needs better.
—
Reply to this email directly, view it on GitHubhttps://github.com/dwr-psandhu/dms_datastore_ui/issues/13#issuecomment-1783195947, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG2AJC53XKBK6AYQW73ULB3YBPOV7AVCNFSM6AAAAAA6R62B5OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBTGE4TKOJUG4.
You are receiving this because you authored the thread.Message ID: @.***>


Installing java through cask fails

Error: wrong number of arguments (1 for 0) while loading '/usr/local/Library/Taps/caskroom/homebrew-cask/Casks/java.rb'
Please report this bug:
    https://github.com/caskroom/homebrew-cask/issues
<main>:8:in `name'
<main>:8:in `<class:Java>'
<main>:in `<main>'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/source/path_base.rb:55:in `eval'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/source/path_base.rb:55:in `rescue in load'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/source/path_base.rb:52:in `load'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/source/tapped.rb:28:in `load'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask.rb:124:in `load'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli/install.rb:19:in `block in install_casks'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli/install.rb:17:in `each'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli/install.rb:17:in `install_casks'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli/install.rb:6:in `run'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli.rb:81:in `run_command'
/usr/local/Cellar/brew-cask/0.46.0/rubylib/cask/cli.rb:121:in `process'
/usr/local/bin/brew-cask.rb:42:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Library/brew.rb:58:in `require?'
/usr/local/Library/brew.rb:141:in `<main>'

Quite sorry, there have been some significant changes which broke all homebrew-cask versions prior to 0.50.0. (For details: #7946.) Upgrading should fix the issue:
brew update && brew upgrade brew-cask && brew cleanup && brew cask cleanup

Upgrading does not fix this issue.

@crooner You'll have to be more specific than that. Are you getting the exact same error as @trinityXmontoya? If so, you're using an incredibly old version of brew-cask and certainly need to upgrade. If not, please open a new issue, following these guidelines.


Delete Position

hi
thank for your library
this is too easy use
i have a ask i need a function for delete a position (with a example for this work ) so
i need a function for get position with id until use for delete this position any time i want

You can't delete a position. If you want to exit a position, you need to submit an order for the same ticker in the opposite direction.
If you're long 100 shares of AAPL, you need to submit an order to sell 100 shares of AAPL (qty=-100).
Hope that helps :)


[FEATURE] Adding API for cluster settings

Is your feature request related to a problem?
No
What solution would you like?
A method for MLCommonsClient that allows to set cluster settings.  Refer to https://opensearch.org/docs/latest/ml-commons-plugin/cluster-settings/.
Do you have any additional context?
If this makes sense, I'd like to start working on it.

Nevermind. This feature is already in opensearch-py client.


Update BNF of Stan language

Fixes #2564
Submission Checklist

[X] Run unit tests: ./runTests.py src/test/unit
[X] Run cpplint: make cpplint
[X] Declare copyright holder and open-source license: see below

Summary
Updates the BNF of the Stan modeling languages in the documentation. This only changes documentation.
Intended Effect
How to Verify
Side Effects
Documentation
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Jeffrey B. Arnold
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

I also think that the BNF is missing an expression for vector expressions as in Sec 3.3 of the 2.17 manual.
row_vector[2] rv2= [ 1, 2 ];
vector[3] v3 = [ 3, 4, 5 ]';

I pulled out the manual into a bookdown document with the BNF.  The PR is still hung up due to upstream SNAFUs on Jenkins.  So anything you do here I'm going to have to diff and then merge it by hand into the new BNFs.
The new BNFs are in the branch behind this PR:
https://github.com/stan-dev/stan/pull/2558
in
https://github.com/stan-dev/stan/blob/feature/2418-manual-ref-html/src/docs/reference-manual/syntax.Rmd

Regarding bookdown: Awesome!
I'll update this branch just to have my work somewhere, and when #2558 is merged I'll rebase this PR and make those additional edits.

I went ahead and OK-ed the changes.  All of the tests are fouled up upstream somewhere, but when everything clears up and this passes, please feel free to merge when you've updated to your satisfaction.

It may be the octals---don't know.  I don't think Java allows it, either, but they also have octal literals.  I've never seen it allowed, but I just tried R, and sure enough, it allows
a <- 007

The braces in the model block should be required.  It's a bug that they're not that Mitzi is going to fix.

D'oh.  My parser broke and I wasn't reading that as function name arguments.  Thanks for being patient with me here.

On Jul 2, 2018, at 10:57 PM, Jeffrey Arnold<EMAIL_ADDRESS>wrote:
@jrnold commented on this pull request.
In src/docs/stan-reference/appendices.tex:

@@ -645,15 +645,16 @@ \subsection{Variable Declarations}

range_constraint ::= ?('<' range '>')
-range ::= 'lower' '=' expression ',' 'upper' = expression

   | 'lower' '=' expression

   | 'upper' '=' expression

+range ::= 'lower' '=' range_expression ',' 'upper' = range_expression
I think it does. Since range_expression includes thecommon_expression expression, it also includes identifier '(' expression ')', which would handle the lower bound,exp(-1.9). The range_expression rule includes the expression range_expression arthmeticInfixOp range_expression which would match 2.9 + 1.3 in the upper bound.
Handling range expressions was the main/only reason that I separated the infix operators into logical (||, &&, <, <=, >=, >) operators (not allowed in range expressions) and arithmetic (the other higher precedence operators allowed in range expressions). From scanning the code and empirical trial and error, this is how I understood how it is being handled by the Stan parser.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


bugfix: allow sample/head/tail when validating frames with unhashable column types

Fixes #682
While not a complete fix, this PR provides a workaround to the above issue by allowing one of {sample,head,tail} in calls to SchemaModel.validate on DataFrames with unhashable column types.
As the underlying issue here is with pandas.DataFrame.drop_duplicates not supporting unhashable types, this partial fix seems desirable to the alternatives of rolling a custom sampling scheme/duplicate dropper or upstreaming a fix to Pandas (I'm sure there are plenty of valid reasons why unhashable types are not supported for many operations like drop_duplicates).
This doesn't seem like something that warrants a specific test or documentation update but I'm happy to provide either/both if you disagree.

hi @gordonhart I'm not sure the change will handle cases like .validate(head=100, tail=100, sample=100), where the dataframe is length 100, for example. Another solution would be:
    return (
        dataframe_or_series
        if not pandas_obj_subsample
        else pd.concat(pandas_obj_subsample).pipe(
            lambda x: x[~x.index.duplicated()]
        )
    )

so as to rely on index of the df/series instead of its contents

I'm not sure the change will handle cases like .validate(head=100, tail=100, sample=100)

Indeed it does not. Appreciate the Pandas wizardry you put together to assemble the fully-correct solution.

looks like there are some windows errors not related to this PR, lemme investigate

will merge this now and fix the modin-windows tests at a later PR.
congrats on your first contribution to pandera @gordonhart! 🎉

Can't say I wrote much of what landed 😁 but I appreciate your helpfulness here.


Testing repository relying on ConfigurationDbContext

I am using the repository pattern within my implementation, and adding an ApiResourceRepository.  Here is a sample of that:
public class ApiResourceRepository : IApiResourceRepository
{
	private readonly IServiceProvider _serviceProvider;

	public ApiResourceRepository(IServiceProvider serviceProvider)
	{
		_serviceProvider = serviceProvider;
		_dbSettings = dbSettings;
	}

	public async Task<ApiResource> Get(int id)
	{
		ApiResource result;

		using (var serviceScope = _serviceProvider.CreateScope())
		{
			var context = serviceScope.ServiceProvider.GetRequiredService<ConfigurationDbContext>();
			result = await
				context.ApiResources
				.Include(x => x.Scopes)
				.Include(x => x.UserClaims)
				.FirstOrDefaultAsync(x => x.Id == id);
		}

		return result;
	}
}

Is this the suggested way of obtaining/working with a ConfigurationDbContext?
I am also struggling with my integration tests, because it seems like I would have to mock an IServiceProvider that can provide an instance of the ConfigurationDbContext?  How do you address these concerns?

You shouldn't be injecting IServiceProvider, instead you should directly inject the dependency you want, in this case ConfigurationDbContext or IConfigurationDbContext.
See https://github.com/IdentityServer/IdentityServer4.EntityFramework/blob/dev/src/IdentityServer4.EntityFramework/Stores/ClientStore.cs for a good example.


Added missing responsive meta tags to let browser know that website is optimized for mobile

Missing meta tags, probably would be added later. So I added them now.

Thanks man, I also successfully  implemented Databinding which is working pretty well tomorrow I will test Databinding on Picker widgets also on List components

Hi Mark, thanks! Good to hear about next improvements.
Regards,
Marcin
wt., 3.05.2016 o 13:48 użytkownik kevzlou7979<EMAIL_ADDRESS>napisał:

Thanks man, I also successfully implemented Databinding which is working
pretty well tomorrow I will test Databinding on Picker widgets also on List
components
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/GwtMaterialDesign/gwt-material-errai/pull/2#issuecomment-216505127


Adding trigger delay to the code

Solves Linear Issue
 to introduce configurable trigger delays before making autocomplete suggestions for people who might want to slow down autocomplete suggestions for different reasons
Test plan
Added a loom video showing trigger delay in different cases with the debugger.
The way I tested this was first setting the trigger delay to really high and saving it in the settings of Vscode(as shown in the video) and then the slow manifestation of completion suggestions was obvious and then I lowered the trigger delay to 0 in the settings and the completion suggestions were much much faster thereby proving that the setting for trigger delay can be useful for people who find the immediate trigger suggestions to be too cumbersome.
Changelog

Feedback on the description:
Say "Fixes CODY-3331" to have good things happen, we don't need that verbose link.
The test plan needs work. So vague. What settings. Where's the instructions to connect the debugger? What actions do you take? What are the expected results?

@dominiccooney Apologies for the imperfect description. I will make a video and share after I add the tests as suggested by Valerie.

@dominiccooney Update the test instructions and the PR description and added a video too.

This looks good to me. One quick question about the unit test inline.
I have another philosophical question... There's another way we could do this, which is to kick off the autocomplete request but put the display behind the time gate. If we did it that way, not only would we not display completions too fast, we're more likely to display completions "right after" the delay. The way this is structured, you have the delay + random variance of the rest of the completion machinery. Just blocking displaying the candidate would cut off the left hand side of the random variance and you'd have more predictable timing... The user in CODY-3331 is worried about predictability, not network traffic.
@valerybugakov, @arafatkatze, @aramaraju what do you think?

I prefer Dom's approach to this, so we don't add another subsequent delay on top of whatever value is configured by the user. I am also still in general not bought on the idea of adding another setting to the Cody client settings. It's far too convoluted there already, if this is simply for this user, we should "hide" it somehow.

@dominiccooney @aramaraju Yes, I agree with the suggestion made so I added the trigger delay such that the trigger delay ensures a minimum wait time before showing autocomplete suggestions.

It's far too convoluted there already, if this is simply for this user, we should "hide" it somehow.
Lemme look into it.

Just blocking displaying the candidate would cut off the left hand side of the random variance and you'd have more predictable timing...

Agreed that this is the ideal behavior.


Integrate both projects into one

As title says.

/cc @rhuss
/cc @Kaustubh-pande
/assign @mgencur

/lgtm


bug: pages with dot in filename will throw 404

Hello,
Pages with dot in filename will throw 404 as they're not being generated, only the first one is generated.
See:
http://haraka.github.io/plugins/connect.p0f 404
http://haraka.github.io/plugins/data.headers 404
http://haraka.github.io/plugins/data.signatures 404
and this page works ?
http://haraka.github.io/plugins/connect.rdns_access 200
Repo: https://github.com/haraka/haraka.github.io
See files under: https://github.com/haraka/haraka.github.io/blob/master/content/8.plugins/
Thanks!

I believe this might be a bug related to Nitro if he detects a path similar to a file extension 🤔
Any hint on this @pi0 @farnabaz ?

Indeed this is related to Nitro's pre-renderer.
A temporary workaround is to add these urls into nitro.prerender.routes in nuxt.config.

This bug is definitely still here, and I just lost like 4 hours trying to figure out what's happening.
The prerendering is f up, I can't understand why it takes or not routes...
I checked in my older versions and last time I build with Docus 1.2.5 it was ok. Now, for a reason I can't explain, even if I downgrade Docus to 1.2.5, the nuxi generate command still takes Docus 1.3.1.
I deleted npm cache, node modules, npm install again, nothing...

In my Docus project, my content folder is fully structured with 0.folder, 1.folder, 0.file, etc, etc...
And it looks like just adding 0.folder1 and 1.folder2 in nitro.prerender.routes works, all the subfolders and files are rendered

This issue seem to be resolved by previous comments, I'm closing for now but feel free to re-open. :)


Fully Qualified Class Names Are Used Instead Of Imports

Randoop generates code like this:
java.util.TreeSet var0 = new java.util.TreeSet();

Instead of
import java.util.TreeSet;
...
...
TreeSet var0 = new TreeSet();

That is correct, it does.  Is this a problem in practice?
Randoop can be passed multiple classes of the same name in different packages, and it would be difficult to choose which one should be imported in each file.  It's less error-prone, and requires less code, to use fully-qualified variable names throughout.
That said, when there is no ambiguity, using import statements would make the Randoop-generated tests easier to read.
If you wish to change this behavior, feel free to submit a pull request.


afterChange callback returns formula string instead of cell value

Using Handson version from here:
http://jsfiddle.net/api/post/library/pure/
To replicate:
(1) Initiate Handsontable with an "afterChange" callback
(2) Type formula into Handsontable cell
(3) Inspect array passed to "afterChange" callback:

Is there a way to get the numerical value instead of the formula string ("=sin(A1)")?

FWIW
ht.getDataAtCell(yCellIndex, xCellIndex);
Returns the string =sin(A1) also.
Is there a way to get the numerical value through the API for a cell that has been set by a formula?

For other folks looking for this, looks like there's a workaround using the cellValue helper plugin.
data = hot.plugin.helper.cellValue ('C1');
http://stackoverflow.com/questions/32074056/handsontable-save-formula-values


Add asn1js to browser sdk

Why
Replace existing handling of ASN.1 encoding with a library for handling ASN.1 encodings
How
Describe how you've approached the problem

On hold atm, e2e tests are messed up


2 tests failed

I am trying to install MapFish print, i followed the instructions here,but when i trying to run this ./gradlew clean build i got 2 tests failed
CreateMapProcessorLabelGeoJsonTest.
SetWmsCustomParamProcessorTest.
How can this be solved?

Is it still the case?


Add tag filter / search + sorting options to wild west

We used to have a tag filter on the old discover page. Would be great to bring that back, and maybe add an option to fill in own tag term to filter on.
Also add the new/top/trending sort, default trending as usual.

Re: tags
How did that look like -- just a text field?  (well, I guess I can try loading old code ^^)

Think it had a drop down with the popular tags. And would be cool to add custom option to enter own.


Naming of boolean setters/getters

We have a lot of inconsistency in the current codebase on how we name boolean setters and getters, and especially those we expose to the scripting API.
We should aim at fixing that for 4.0, breaking compatibility where needed. Related to #16863.
Current uses are of the form:
bool stuff = false;

void set_stuff(p_enable);
void set_stuff(p_enabled);
void set_stuff_enabled(p_enable);
void set_stuff_enabled(p_enabled);
void set_stuff_enabled(p_stuff);

bool get_stuff();
bool get_stuff_enabled();
bool is_stuff();
bool is_stuff_enabled();

Can also be more tricky if the boolean name is verb, like:
bool process = false;

void set_process(p_enabled);
void set_processing(p_enabled);

bool get_process();
bool get_processing();
bool get_process_enabled();
bool get_processing_enabled();
bool is_process();
bool is_processing();
bool is_process_enabled();
bool is_processing_enabled();

I'm not sure what style we should settle on, but it needs to be consistent.
Here's a proposal to start the discussion:

Name boolean themselves as nouns, e.g. processing instead of process, which solves some of the issues shown above.
Use p_enabled as parameter in the setter.
Use set_<boolean> for the setter, and is_<boolean>_enabled as getter.

Example:
bool processing = false;
void set_processing(p_enabled);
bool is_processing_enabled();

Just my two cents, but I prefer properties to getters and setters. I would prefer to have
bool processing = false;

Then you can have:
if processing:
    processing = false

Properties are defined via a setter and a getter, so we still need to name them...

Related to what @aaronfranke mentioned, but in C++ context rather than GDScript:
http://isocpp.github.io/CppCoreGuidelines/CppCoreGuidelines#c131-avoid-trivial-getters-and-setters
Any plans of getting rid of trivial getters/setters?

@rxlecky This guideline doesn't explain what are the advantages. Using public members instead of trivial getters/setters can be a problem when one of them becomes non-trivial for any reason, and you end up modifying your whole codebase rather than one method. So I would argue against doing it systematically, even if in some cases it makes sense to improve code readability (like around math stuff, which is already the case in Godot).

@pouleyKetchoupp You make a really valid point here Using public members instead of trivial getters/setters can be a problem when one of them becomes non-trivial for any reason, and you end up modifying your whole codebase rather than one method.

PathFollow2D has a rotate bool, along with set_rotate and is_rotating. This is the same name as Node2D's rotate method, and this causes warnings in the Mono module... perhaps this bool should be renamed? Perhaps rotating, with set_rotating and is_rotating/get_rotating, or rotates with set_rotates and get_rotates/can_rotate/is_rotating? Also relevant for #16863.

It would be interesting to make a script to extract boolean getters from the codebase and rename them to follow the convention outlined in the proposal. This way, we can quickly see if any of them look particularly awkward.

See proposal https://github.com/godotengine/godot-proposals/issues/1994.

Superseded by https://github.com/godotengine/godot-proposals/issues/1994.


BUG || BLOCKER in Pending Payment after Signing in Mandatory Submission

DPG-DEV

STEPS TO REPRODUCE

After Signing Application, BLOCKER in Pending Payment for the same

Refer Screenshot

Hi @bhuvanyuguru  Please retest this bug

Hi @nitish-beehyv, @Ramu-kandimalla, @rajeshcherukumalli
This Issue is Resolved in DPG-DEV
Refer Screenshot

HI @Ramu-kandimalla , @rajeshcherukumalli
Working fine in UAT
Refer Screenshots


Aborted (core dumped)

Hi
When I run train.py, I get core dumbed issue.  How can I fixed it?

however, I use below line to run:
python train.py --property bulk-modulus --data_src CGCNN


February 8th, 2021 Community Meeting

Please add a topic in this thread and add a link to the Github issue associated with the topic.
Please make sure you give folks enough time to review/discuss the topic offline on Github before coming into the meeting
(optional) Paste the image of an animal :smile_cat:

Please review the draft release for v0.3.0 release, and validate that your contributions are properly listed.

Thoughts on https://github.com/shipwright-io/build/pull/578?

#575 - copying TaskRun conditions directly vs hiding them

From last time: Submit to CDF or CNCF, any preferences?

Meeting minutes:

We discussed the v0.3.0 draft release. Please take a look on your contributions. We will be shipping the release this week.
@HeavyWombat introduced https://github.com/shipwright-io/build/pull/578 and why we think this is needed. We have good feedback on this topic. The existing PR will require some changes.
We should have an issue(we might already have one) around processing build operator configurations via a configmap, rather than ENV vars in the deployment.yaml
@ImJasonH provided his thoughts on #575 and the need of decoupling our BuildRun conditions from the Tekton ones in the future.
We discussed the topic around potentially joining CDF or CNCF community. @ImJasonH will provide help on this, so that we can understand what are the next steps. Thanks!
@qu1queee to open soon a PR in https://github.com/shipwright-io/cli to cover https://github.com/shipwright-io/cli/issues/2


Enhance PostgreSQL support

PostgreSQL cannot modify table columns in one go. Instead, it might require multiple statements to:

change column type
set/drop not null
set/drop default value
add comment
This pull request fixes that.

Other enhancements:

use execute_script instead of execute_query, or initial migration fails
do not require "default_connection" in database config; defaults to "default"

@long2ice You where quicker than me… I also had flake8 fixes. Thanks for the merge.

Thanks your contribution👍


Pull request template reflects incomplete work, plus cleanup

Updates pull request template

This was controversial, and we've survived without it. Closing.


feat(unit-tests): add systemjs TS compilation

Do not merge this PR, it needs discussion.
This change enables karma to run unit tests without needing ng build, thus being able to run at the same time as ng serve.
It uses in-browser TS compilation via SystemJS. This also means that tested files will be recompiled whenever tests are re-run. This is a bad thing for bigger projects.
There might be a way around this limitation, but that needs further investigation.

Going to close this PR, since as discussed we are going down this route for performance reasons.


Synchronizing all of my paper docs

Synchronized first 8 documents of the 50+ I have. A lot of redundancy.
Ozz

Amazing inclusions! I'd like to annotate the sequences supported by the terminal. Many look archaic (video mode switches) or non X-3.64 complaint (music). I'd love to see a grand unified document of all known ANSI-like sequences included (VT-100 .. Wyse.. et.al.)

Thanks - I will document more soon -- I have started a new ANSIScreen component for Lazarus to give developers a FULL COLOR drag and drop component - works as a terminal screen, and as a FSE (Full Screen Editor).
In the meantime, I am also working on a full GUI editor for Fidonet type networks, that is limited by ANSI standards - 0-7 fonts, colors, alignment, etc. Along with your document showing images and sprites - I want to incorporate those.
Ozz


Describe the bug
Tets
URL of the page where the issue is observed.
test
Steps To Reproduce
stes
Expected Behavior
test
Screenshots/Videos
No response
What device are you using?
Desktop
Operating System
Windows
What browsers are you seeing the problem on?
No response
Browser version
No response
Additional context
No response
Tips for developers
Before addressing the bug, please identify which PR caused the issue (you can follow the steps here). If you identify the PR, comment on the issue with a link to it. If not, mention the commit hash of the oldest commit you saw the bug on (and the month and year it was made in).
Also, if this is your first issue, please make sure to follow https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#choosing-a-good-first-issue and https://github.com/oppia/oppia/wiki/Contributing-code-to-Oppia#setting-things-up before claiming it. Thanks!

@oppiabot test

@jnvtnguyen test

@Oppiabot Testing App (JNVTNGUYEN)

test

oppiabot rqri

oppiabot rqri

oppiabot rqri

oppiabot rqri

test

test

test

test

test


Fix up samples dir

Samples directory had several files that were duplicates on case insensitive file systems
This deletes or renames those

@ucbjrl renamed core-simple to reflect contents
got rid of rocket, it is too old


Improve content

Change nav title color to white
Fix Learn More button functionality
Remove incorrect example.com link
Remove link to repo list

Types of changes

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)

Description

This code updates several links, changes the color of nav text, and repairs functionality for the "Learn More" button.

These changes provide a more professional site, and improve user experience.

These changes were manually tested, and passed.
Checklist:

[] I have updated the documentation accordingly
[] I have updated the Changelog (if applicable)

Fixes: PeopleForBikes/PeopleForBikes.github.io#

@ab91 you may have to rebase your branch on main.

These changes were manually tested, and passed.

I've created a new PR which I believe satisfies the request here.


Volunteer History

create High Fi Volunteer History views: https://www.figma.com/file/h85P5QFeMPJlRy9piBQQxH/Wireframes?node-id=1434%3A92675
, refer to Admin Volunteer History components since they're very similar

/cib volunteer-history

Branch 66-volunteer-history created!


update Dockerfile - apk build deps for poetry / cffi

The type of this PR is: Fix
Description
When attempting a Docker / Podman build I encounter the following error when pip-installing poetry:
  gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -DTHREAD_STACK_SIZE=0x100000 -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.9 -c src/c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-39/src/c/_cffi_backend.o
  error: command 'gcc' failed: No such file or directory
  ----------------------------------------
  ERROR: Failed building wheel for cffi
Failed to build cffi

gcc needs to be installed along with musl-dev and libffi-dev before installing poetry
Alpine / musl 🤷
Thanks @artsyjian again for open-sourcing these tools!

Hey @izakp, thanks for the PR. Strange, I am not able to repro the error with docker build ., and the build works in CI.

Thanks @artsyjian it must have been a transient error - it works now without these changes.  Closing.


Repo indexing - Filtering repo to index

Hello,
I want to do the proposal to introduce the filtering for repo to index. For example we can think to introduce the new parameter "PROJECT_NAME_FILTER = projectName1;projectName2;projectName3" inside app.ini, in the section [indexer], to tell gitea which repo we want to index.
What do you think?

I think it should be repository setting

I think both these criteria can be met if we use a pattern in the repo metadata, similar to .gitignore or .gitattributes. See  my comment on #4831.


keepassxc: 2.3.3 -> 2.3.4

Motivation for this change
keepassxc 2.3.4 was released today
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build keepassxc

Success on x86_64-linux (full log)
Attempted: keepassxc
Partial log (click to expand)
shrinking /nix/store/mlz2zx601y6q92mg2qm75gf0ia2fp1jq-keepassxc-2.3.4/bin/keepassxc
shrinking /nix/store/mlz2zx601y6q92mg2qm75gf0ia2fp1jq-keepassxc-2.3.4/bin/keepassxc-proxy
shrinking /nix/store/mlz2zx601y6q92mg2qm75gf0ia2fp1jq-keepassxc-2.3.4/bin/keepassxc-cli
gzipping man pages under /nix/store/mlz2zx601y6q92mg2qm75gf0ia2fp1jq-keepassxc-2.3.4/share/man/
/nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip is /nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip
stripping (with command /nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip and flags -S) in /nix/store/mlz2zx601y6q92mg2qm75gf0ia2fp1jq-keepassxc-2.3.4/lib  /nix/store/mlz2zx601y6q92mg2qm75gf0ia2fp1jq-keepassxc-2.3.4/bin
patching script interpreter paths in /nix/store/mlz2zx601y6q92mg2qm75gf0ia2fp1jq-keepassxc-2.3.4
checking for references to /build in /nix/store/mlz2zx601y6q92mg2qm75gf0ia2fp1jq-keepassxc-2.3.4...
postPatchMkspecs
postPatchMkspecs

Success on aarch64-linux (full log)
Attempted: keepassxc
Partial log (click to expand)
shrinking /nix/store/vj3qyb6fl1dncajhiqg5mpphki7hqdgr-keepassxc-2.3.4/bin/keepassxc-cli
shrinking /nix/store/vj3qyb6fl1dncajhiqg5mpphki7hqdgr-keepassxc-2.3.4/bin/keepassxc-proxy
shrinking /nix/store/vj3qyb6fl1dncajhiqg5mpphki7hqdgr-keepassxc-2.3.4/bin/keepassxc
gzipping man pages under /nix/store/vj3qyb6fl1dncajhiqg5mpphki7hqdgr-keepassxc-2.3.4/share/man/
/nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip is /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip
stripping (with command /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip and flags -S) in /nix/store/vj3qyb6fl1dncajhiqg5mpphki7hqdgr-keepassxc-2.3.4/lib  /nix/store/vj3qyb6fl1dncajhiqg5mpphki7hqdgr-keepassxc-2.3.4/bin
patching script interpreter paths in /nix/store/vj3qyb6fl1dncajhiqg5mpphki7hqdgr-keepassxc-2.3.4
checking for references to /build in /nix/store/vj3qyb6fl1dncajhiqg5mpphki7hqdgr-keepassxc-2.3.4...
postPatchMkspecs
postPatchMkspecs

Success on x86_64-darwin (full log)
Attempted: keepassxc
Partial log (click to expand)
-- Installing: /nix/store/mk8pl3p1bx776dwzlikrm2mkx3rhaqmr-keepassxc-2.3.4/Applications/KeePassXC.app/Contents/Resources/translations/keepassx_uk.qm
-- Installing: /nix/store/mk8pl3p1bx776dwzlikrm2mkx3rhaqmr-keepassxc-2.3.4/Applications/KeePassXC.app/Contents/Resources/translations/keepassx_zh_CN.qm
-- Installing: /nix/store/mk8pl3p1bx776dwzlikrm2mkx3rhaqmr-keepassxc-2.3.4/Applications/KeePassXC.app/Contents/Resources/translations/keepassx_zh_TW.qm
post-installation fixup
gzipping man pages under /nix/store/mk8pl3p1bx776dwzlikrm2mkx3rhaqmr-keepassxc-2.3.4/share/man/
/nix/store/5im29qx9rni3w8l3j8i2yr22sin55kxv-cctools-binutils-darwin/bin/strip is /nix/store/5im29qx9rni3w8l3j8i2yr22sin55kxv-cctools-binutils-darwin/bin/strip
stripping (with command /nix/store/5im29qx9rni3w8l3j8i2yr22sin55kxv-cctools-binutils-darwin/bin/strip and flags -S) in /nix/store/mk8pl3p1bx776dwzlikrm2mkx3rhaqmr-keepassxc-2.3.4/bin
patching script interpreter paths in /nix/store/mk8pl3p1bx776dwzlikrm2mkx3rhaqmr-keepassxc-2.3.4
postPatchMkspecs
postPatchMkspecs


Update Classification.md

Add something about restrictions for volume classifiers.

Hmmm, the PR that was created automatically when I edited the learning page isn't merging into master and is instead merging into release/3.2.x, so I'm abandoning this PR to start a new one from master.  This one is having a hard time passing the security audit from errors which have nothing to do with the files that I changed.


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_18rrzlrro4/clone/recipe/meta.yaml:16: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_18rrzlrro4/clone/recipe/meta.yaml:21: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_18rrzlrro4/clone/recipe/meta.yaml:28: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
ERROR: /tmp/abs_18rrzlrro4/clone/recipe/meta.yaml:28: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_18rrzlrro4/clone/recipe/meta.yaml:34: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_18rrzlrro4/clone/recipe/meta.yaml:34: missing_license_family: The recipe is missing the about/license_family key.
WARNING: /tmp/abs_18rrzlrro4/clone/recipe/meta.yaml:34: missing_description: The recipe is missing a description
ERROR: /tmp/abs_18rrzlrro4/clone/recipe/meta.yaml:34: missing_dev_url: The recipe is missing a dev_url
Errors were found


Set minimum charging current for SOC dependent charge current limiting

Currently it allows the charge current to go down to 0.

Would it make sense to define minimum charging current as well? I would still allow at least 1A current so the balancer can do it's work, but keep the SOC up.

It's a good idea.
I'll add the setting for a minimum charging current.

@tanelvakker Integrated now. Please test the newest beta. Thank you

@shining-man No reply since three weeks from TO. Maybe the issue can be closed now -> Released

It works fine. Can be closed

Nice to hear that! You can close the issue yourself by clicking the button at the bottom.


UI: Fix sorter across different components

Description
This PR fixes sorting in tables by columns in the UI.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan ui

@DaanHoogland a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

@blueorangutan ui

@vishesh92 a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: https://qa.cloudstack.cloud/simulator/pr/8046 (QA-JID-197)

Tested a few views - VM, volumes, ip address and templates.


Pin multiple messages of a channel

Is it possible to pin multiple messages and then unpin specific messages in a channel using a bot? if yes, please explain how.

Use https://core.telegram.org/bots/api#pinchatmessage and https://core.telegram.org/bots/api#unpinchatmessage.


[FLINK-1179] Add button to JobManager web interface to request stack trace of a TaskManager

This PR contains following changes:

Add public constructors of org.apache.flink.runtime.instance.InstanceID for sending instance ID from web interface to job manager
Add a helper method called getRegisteredInstanceById(InstanceID) into org.apache.flink.runtime.instance.InstanceManager for finding Akka Actor from instance ID
Add akka messages called RequestStackTrace, SendStackTrace and StackTrace
Modify a task manager page in web interface of job manager to request and show stack trace of a task manager

The following image is a screenshot of web interface of job manager.

Hi Chiwan, thanks for your work. It looks really good. I had some just some minor remarks.

@tillrohrmann Thanks for your advice. I will fix it!

Very nice work. I have one comment inline, otherwise +1 to go!

I've tried it out locally. Looks very nice. Thank you.
+1 to merge.

@StephanEwen Thanks for your advice! I fixed it.

Looks good. There is a small conflict with #384 , but we can try and fix this while merging.
+1

I'll probably merge this change tomorrow because I'm working on a bigger change on the web frontend.

.... Merging this now ... https://github.com/rmetzger/flink/compare/FLINK-1179


Topic: web-browser

Description 📜
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.
Fixes #1632

Type of change 📝

[ ] Audio (Should be in mp3 format Includes speech clarity, Concise ,Low distortion)
[ ] Video (Animations, screen-recordings, presentations and regular explanatory films are all possibilties etc)
[x] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[ ] Android Dev (Flutter, Java, Kotlin)
[ ] Backend Dev (Java, .NET, Python)
[ ] C/CPP
[ ] Competitive Programming
[ ] Cyber Security
[ ] DSA
[ ] Database
[ ] Datascience with Python
[ ] Datascience with R
[ ] Frontend Dev HTML/CSS/JS
[ ] Frontend Dev React/Angular/Vue
[ ] Golang
[ ] Interview Prep
[ ] Java_Domain
[x] JavaScript
[ ] MERN
[ ] Machine Learning
[ ] Open Source
[ ] Python_Domain
[ ] Rust
[ ] Statistics
[ ] UI/UX

Checklist ✅

[x] I follow Contributing Guidelines & Code of conduct of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

If any need of changes pls tell :)

@paramsiddharth


Update Scala patch versions

Codecov Report

Merging #782 into master will increase coverage by 0.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #782      +/-   ##
==========================================
+ Coverage   86.59%   86.76%   +0.17%
==========================================
  Files          71       71
  Lines        2282     2282
  Branches       88       88
==========================================
+ Hits         1976     1980       +4
+ Misses        306      302       -4

Impacted Files
Coverage Δ

.../core/shared/src/main/scala/io/circe/Decoder.scala
90.23% <0%> (+0.33%)
:arrow_up:

...re/shared/src/main/scala/io/circe/KeyDecoder.scala
100% <0%> (+2.7%)
:arrow_up:

...rc/main/scala/io/circe/shapes/SizedInstances.scala
92.85% <0%> (+14.28%)
: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 f151fe8...ac4ba54. Read the comment docs.


Fix LevelSequence Crash

we should set these after FinishSpawning is called

Hello. Quickly checked your PR, and I have small remark. There is the reason why those lines are before FinishSpawning - to avoid unnecesary replication after spawning actor. Whatever you do with replicated properties of an actor in between SpawnActorDeferred and FinishSpawning are replicated with initial spawning on clients.
In engine version of similar function same approach is used and in my opinion it is better to keep it as it was, and fix crash for engine version prior to 5.4 by adding macro to check current engine version and substitute correct code snippet.

Yup, Maksym approach is correct one here :)


Sort by name

This helps bring some order to the chaos if you have a large group of people with 0 streak values.

LGTM!
Anyway, kind of different topic, but I tested with an user that was following ~1k people and we'll have to think about some way to change the way it's being loaded, it uses a lot of CPU. To begin with I'll have to stop sorting it on every load...


write ruby code in multiple lines

Hi, I use fluentd and filter_record_transformer plugin in my loggging system, when I set enable_ruby and write some ruby code in filter, I found ruby code must be written in one line as belows:
<filter docker.after.process>
  @type record_transformer
  enable_ruby
  <record>
    "data1" "test"
    "data2" ${require 'json';require "open-uri";html_response = nil;uuid="uuid_123";env_id = "123";namespace="namespace_123";container_name="containername_123";if $g_exid==nil; $g_exid=Hash.new; end; uri='http://<IP_ADDRESS>/latest/containers';urienv='http://<IP_ADDRESS>/latest/self/host';html_res_env=nil;info_env=nil; ......}
 </record>
</filter>

If the code for field "data2" above is written to multiple lines， there will be errors when starting  fluentd.
As some reasons, I have to write hundreds of lines of ruby code with this plugin, is  there any way or plugins that can help me to write beautiful ruby code with lines and indent? thank you.

As some reasons, I have to write hundreds of lines of ruby code with this plugin, is there any way or plugins that can help me to write beautiful ruby code with lines and indent?

Wrap " in the parameter. double quoted string supports multilines.
BTW, record_transformer's ruby code is evaluated at each record.
So maybe, your "hundreds of lines of ruby code" makes fluentd too slower.

Next, please follow guideline: https://github.com/fluent/fluentd/blob/master/CONTRIBUTING.md#got-a-question-or-problem

I know, thanks!

Figured it out:
<filter test-fluentd>
  @type record_transformer
  enable_ruby
  <record>
    test "${\
      if record['message'].include? 'x'
        'objectx'
      elsif record['message'].include? 'y'
        'objecty'
      end}"
  </record>
</filter>

Maybe someone needs a sample code.
Multi-strings did not work for me, but I found an option to replace many checks with just begin/rescueю
This code parse jwt token and pack google cloud logging format:
<filter reform.**>
     @type record_transformer
     enable_ruby true
     auto_typecast true
     tag nginx
     remove_keys stream, method, path, response_size, code, agent, remote, host, referer, latency, x_forwarded_for, http_autorization #, log
     <record>
       userId ${ begin; JSON.parse(Base64.decode64(http_autorization.split(" ")[1].split(".")[1]))["sub"]; rescue; ''; end; }
       oauthClientId ${ begin; JSON.parse(Base64.decode64(http_autorization.split(" ")[1].split(".")[1]))["cid"]; rescue; ''; end; }
       httpRequest ${ {"requestMethod": record['method'], "requestUrl": record['path'], "responseSize": record['response_size'], "status": record['code'], "userAgent": record['agent'], "remoteIp": record['remote'], "referer": record['referer'], "latency": record['latency'] + "s" } }
     </record>
   </filter>

This code does not parse the token in the best way, but for logs this is enough for me.


Extremely slow due to GNAT.SHA* packages

Because this seems to be extremely slow compared, to say, OpenSSL. While clearly it would benefit from optimizations similar to what fastpbkdf2 uses, biggest bottleneck seems to be GNAT.SHA* modules. Ideally, I would prefer to have a separate crate for sha and hmac that would implement these algorithms in a platform-independent, portable and hopefully faster manner.
Example of a simple benchmark on 2^10 iterations:

Implementation
Time (s)

PBKDF2
5.527577500

OpenSSL
1.494409900

Since v2.0.0 this crate now uses other implementation of SHA and HMAC algorithms. These are still slow, however.


Update getting_started.rst

Corrected path of moveit workspace to be consistent.
Description
Please explain the changes you made, including a reference to the related issue if applicable
Checklist

[ ] Required by CI: Code is auto formatted using clang-format
[ ] While waiting for someone to review your request, please consider reviewing another open pull request to support the maintainers

This is just an example workspace name, and you can use whichever you want -- the folder structure would actually be:
~/ws_moveit
    + src
        + moveit2
        + moveit2_tutorials
        + etc...

Also, there are 5 mentions of this folder in this specific tutorial, but the PR only changes one of them. I think maybe we can just leave it as is and close this PR, if that's okay?

My mistake. I'll close it!


Add papers to the model list

[TKDD'2020] Core Interest Network for Click-Through Rate Prediction

[CIKM2020] Deep Multi-Interest Network for Click-through Rate Prediction

[CIKM'21] Efficient Learning to Learn a Robust CTR Model for Web-scale Online Sponsored Search Advertising

[CIKM'21] Enhancing Explicit and Implicit Feature Interactions via Information Sharing for Parallel Deep CTR Models

[CIKM'21] One Model to Serve All: Star Topology Adaptive Recommender for Multi-Domain CTR Prediction

[CIKM'21] AutoIAS: Automatic Integrated Architecture Searcher For Click-Trough Rate Prediction

[CIKM'21] Click-Through Rate Prediction with Multi-Modal Hypergraphs

[CIKM'21] AutoHERI: Automated Hierarchical Representation Integration for Post-Click Conversion Rate Estimation

[CIKM'21] Disentangled Self-Attentive Neural Networks for Click-Through Rate Prediction

[SIGIR'2021] Explicit Semantic Cross Feature Learning via Pre-trained Graph Neural Networks for CTR Prediction

[KDD'2021] Dual Attentive Sequential Learning for Cross-Domain Click-Through Rate Prediction

[KDD'2021] Dual Graph Enhanced Embedding Neural Network for CTR Prediction

XCrossNet: Feature Structure-Oriented Learning for Click-Through Rate Prediction

Feature Interaction based Neural Network for Click-Through Rate Prediction

Learning Graph Meta Embeddings for Cold-Start Ads in Click-Through Rate Prediction

A Non-sequential Approach to Deep User Interest Model for CTR Prediction

AdnFM: An Attentive DenseNet based Factorization Machine for CTR Prediction

Feature Interaction based Neural Network for Click-Through Rate Prediction

Field-Embedded Factorization Machines for Click-through Rate Prediction

Robust Factorization Machines for User Response Prediction

Field-wise Learning for Multi-field Categorical Data

Feature Interaction based Neural Network for Click-Through Rate Prediction

An Efficient Deep Interaction Network for Click-Through Rate Prediction

Click-Through Rate Prediction Combining Mutual Information Feature Weighting and Feature Interaction

GateNet: Gating-Enhanced Deep Network for Click-Through Rate Prediction

Empirically Testing Deep and Shallow Ranking Models for Click-Through Rate (CTR) Prediction

Click-Through Rate Prediction Using Graph Neural Networks and Online Learning

Iterative Boosting Deep Neural Networks for Predicting Click-Through Rate

A New Click-Through Rates Prediction Model Based on Deep&Cross Network

User Response Prediction in Online Advertising

Evaluating deep learning based models for predicting click through rate

AMER: Automatic Behavior Modeling and Interaction Exploration in Recommender System

Predicting Response in Mobile Advertising with Hierarchical Importance-Aware Factorization Machine

Delayed Feedback Modeling for the Entire Space Conversion Rate Prediction

Feature Interaction Interpretability: A Case for Explaining Ad-Recommendation Systems via Neural Interaction Detection

Towards Automated Neural Interaction Discovery for Click-Through Rate Prediction

Correct Normalization Matters: Understanding the Effect of Normalization On Deep Neural Network Models For Click-Through Rate Prediction

DeepEnFM: Deep neural networks with Encoder enhanced Factorization Machine

Factorization Machines with Regularization for Sparse Feature Interactions

Dual-attentional Factorization-Machines based Neural Network for User Response Prediction

[IJCAI'2020] A Dual Input-aware Factorization Machine for CTR Prediction

A Dynamic Neural Network Model for Click-Through Rate Prediction in Real-Time Bidding

[SEKE'20] Deep Graph Attention Neural Network for Click-Through Rate Prediction

[KDD'20] AutoFIS: Automatic Feature Interaction Selection in Factorization Models for Click-Through Rate Prediction

[CIKM'19] Regularized Adversarial Sampling and Deep Time-aware Attention for Click-Through Rate Prediction

[WWW'20] Field-aware Calibration: A Simple and Empirically Strong Method for Reliable Probabilistic Predictions

[WWW'20] Adversarial Multimodal Representation Learning for Click-Through Rate Prediction

[SIGIR'2020] AutoGroup: Automatic Feature Grouping for Modelling Explicit High-Order Feature Interactions in CTR Prediction

[IEEE Access'2019] Field-Aware Neural Factorization Machine for Click-Through Rate Prediction

[] Structured Semantic Model Supported Deep Neural Network for Click-Through Rate Prediction

[AAAI'19] Interaction-Aware Factorization Machines for Recommender Systems

Deep Neural Network-Based Click-Through Rate Prediction using Multimodal Features of Online Banners

[SIGIR'18] Combined Regression and Tripletwise Learning for Conversion Rate Prediction in Real-Time Bidding Advertising

[SIGIRW'18] Visualizing and Understanding Deep Neural Networks in CTR Prediction

[KDD'20] Towards Automated Neural Interaction Discovery for Click-Through Rate Prediction

[Arxiv'2021] FINT: Field-aware Interaction Neural Network For CTR Prediction


Updaet schema outputs for vanderbilt

Once https://github.com/hms-dbmi/ome-tiff-tiler/pull/5 is closed, we can update this to pass tests and work properly.  This just updates the tests and will update the docker version to output the right schema.

Obviously need to fix the blocking Travis stuff, but otherwise it looks good.


Detected blocking call to import_module with args

Describe the bug
I see this in log this error
set 20 23:48:25 hpmini hass[21329]: 2024-09-20 23:48:25.403 WARNING (MainThread) [homeassistant.util.loop] Detected blocking call to import_module with args ('pyhon.appliances.wm',) inside the event loop by custom integration 'hon' at custom_components/hon/__init__.py, line 34: hon = await Hon( (offender: /srv/homeassistant/lib/python3.12/site-packages/pyhon/appliance.py, line 52: self._extra: Optional[ApplianceBase] = importlib.import_module(), please create a bug report at https://github.com/Andre0512/hon/issues set 20 23:48:25 hpmini hass[21329]: For developers, please see https://developers.home-assistant.io/docs/asyncio_blocking_operations/#import_module set 20 23:48:25 hpmini hass[21329]: Traceback (most recent call last): set 20 23:48:25 hpmini hass[21329]:   File "/srv/homeassistant/bin/hass", line 8, in <module> set 20 23:48:25 hpmini hass[21329]:     sys.exit(main()) set 20 23:48:25 hpmini hass[21329]:   File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/__main__.py", line 209, in main set 20 23:48:25 hpmini hass[21329]:     exit_code = runner.run(runtime_conf) set 20 23:48:25 hpmini hass[21329]:   File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/runner.py", line 189, in run set 20 23:48:25 hpmini hass[21329]:     return loop.run_until_complete(setup_and_run_hass(runtime_config)) set 20 23:48:25 hpmini hass[21329]:   File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete set 20 23:48:25 hpmini hass[21329]:     self.run_forever() set 20 23:48:25 hpmini hass[21329]:   File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever set 20 23:48:25 hpmini hass[21329]:     self._run_once() set 20 23:48:25 hpmini hass[21329]:   File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1985, in _run_once set 20 23:48:25 hpmini hass[21329]:     handle._run() set 20 23:48:25 hpmini hass[21329]:   File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run set 20 23:48:25 hpmini hass[21329]:     self._context.run(self._callback, *self._args) set 20 23:48:25 hpmini hass[21329]:   File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/config_entries.py", line 752, in async_setup_locked set 20 23:48:25 hpmini hass[21329]:     await self.async_setup(hass, integration=integration) set 20 23:48:25 hpmini hass[21329]:   File "/srv/homeassistant/lib/python3.12/site-packages/homeassistant/config_entries.py", line 604, in async_setup set 20 23:48:25 hpmini hass[21329]:     result = await component.async_setup_entry(hass, self) set 20 23:48:25 hpmini hass[21329]:   File "/home/homeassistant/.homeassistant/custom_components/hon/__init__.py", line 34, in async_setup_entry set 20 23:48:25 hpmini hass[21329]:     hon = await Hon(

homeassistant  |   File "/usr/local/lib/python3.12/site-packages/awscrt/mqtt5.py", line 1471, in _on_publish
homeassistant  | 2024-11-01 15:48:32.753 WARNING (Dummy-2) [homeassistant.helpers.frame] Detected that custom integration 'haier_hon' calls async_write_ha_state from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#async_write_ha_state at custom_components/haier_hon/sensor.py, line 849: self.async_write_ha_state(), please report it to the author of the 'haier_hon' custom integration
homeassistant  |     self._on_publish_cb(PublishReceivedData(publish_packet=publish_packet))
homeassistant  |   File "/usr/local/lib/python3.12/site-packages/pyhon/connection/mqtt.py", line 105, in _on_publish_received
homeassistant  |     self._hon.notify()
homeassistant  |   File "/usr/local/lib/python3.12/site-packages/pyhon/hon.py", line 130, in notify
homeassistant  |     self._notify_function(None)
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 489, in async_set_updated_data
homeassistant  |     self.async_update_listeners()
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 168, in async_update_listeners
homeassistant  |     update_callback()
homeassistant  |   File "/config/custom_components/haier_hon/sensor.py", line 849, in _handle_coordinator_update
homeassistant  |     self.async_write_ha_state()
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1004, in async_write_ha_state
homeassistant  |     report_non_thread_safe_operation("async_write_ha_state")
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 229, in report_non_thread_safe_operation
homeassistant  |     report(
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 163, in report
homeassistant  |     _report_integration(what, integration_frame, level, error_if_integration)
homeassistant  |   File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 201, in _report_integration
homeassistant  |     raise RuntimeError(
homeassistant  | RuntimeError: Detected that custom integration 'haier_hon' calls async_write_ha_state from a thread other than the event loop, which may cause Home Assistant to crash or data to corrupt. For more information, see https://developers.home-assistant.io/docs/asyncio_thread_safety/#async_write_ha_state at custom_components/haier_hon/sensor.py, line 849: self.async_write_ha_state(). Please report it to the author of the 'haier_hon' custom integration.


Fish has 'hostname' as an undeclared runtime dependency

Issue description
After switching my default shell to fish the system becomes unusable until a rollback.
And by unusable I mean that the whole env is broken, and no other program can be started.

However, hostname is installed.
[neikos@nixos:~]$ hostname
nixos

Steps to reproduce
I have added the shell value to my user object pointing to pkgs.fish.
Technical details

System: 17.03.1861.ad6265dbfa (Gorilla)
Nix version: nix-env (Nix) 1.11.14
Nixpkgs version: "17.03.1861.ad6265dbfa"
Sandboxing enabled: false

CC: @matthiasbeyer

Some more information: This is a freshly installed OVH VPS with NixOS 17.03 - it seems like fish has an unmet runtime dependency here, though it seems like the package defines it properly... not sure what causes this therefor.

programs.fish.enable = true; did it for us, i guess.


Migrate to from Nom 7 to Winnow 0.3

Benefits over Nom

Maintained
Ergonomics (1, 2)
Performance (3)

Winnow is at 0.6 but the 0.4->0.5 upgrade is rough enough (and this is a low enough priority) that I've been taking a while on this which has led to dealing with too many merge conflicts.  I'm starting off with just Winnow 0.3 as this last round of merge conflicts already had me rewrite a large number of commits that I want something in sooner than later.
There is a decent chance that future upgrades will improve performance further

Performance:
     Running benches/from_str.rs (/home/epage/src/personal/rinja/target/release/deps/from_str-453ae6795003ee85)
Gnuplot not found, using plotters backend
librustdoc/all          time:   [183.26 µs 183.71 µs 184.18 µs]
                        thrpt:  [76.669 MiB/s 76.866 MiB/s 77.053 MiB/s]
                 change:
                        time:   [-16.432% -15.530% -14.572%] (p = 0.00 < 0.05)
                        thrpt:  [+17.057% +18.386% +19.662%]
                        Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild
librustdoc/item_info    time:   [3.1356 µs 3.1388 µs 3.1415 µs]
                        thrpt:  [50.089 MiB/s 50.133 MiB/s 50.185 MiB/s]
                 change:
                        time:   [-17.301% -16.994% -16.637%] (p = 0.00 < 0.05)
                        thrpt:  [+19.958% +20.473% +20.921%]
                        Performance has improved.
Found 14 outliers among 100 measurements (14.00%)
  6 (6.00%) low severe
  3 (3.00%) low mild
  5 (5.00%) high severe
librustdoc/item_union   time:   [18.955 µs 19.113 µs 19.301 µs]
                        thrpt:  [51.140 MiB/s 51.642 MiB/s 52.073 MiB/s]
                 change:
                        time:   [-14.048% -13.083% -11.600%] (p = 0.00 < 0.05)
                        thrpt:  [+13.122% +15.052% +16.344%]
                        Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
  2 (2.00%) low mild
  3 (3.00%) high severe
librustdoc/page         time:   [91.669 µs 91.894 µs 92.136 µs]
                        thrpt:  [67.208 MiB/s 67.384 MiB/s 67.549 MiB/s]
                 change:
                        time:   [-15.574% -15.175% -14.731%] (p = 0.00 < 0.05)
                        thrpt:  [+17.276% +17.889% +18.448%]
                        Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild
librustdoc/print_item   time:   [10.168 µs 10.187 µs 10.205 µs]
                        thrpt:  [92.521 MiB/s 92.676 MiB/s 92.855 MiB/s]
                 change:
                        time:   [-17.705% -17.536% -17.363%] (p = 0.00 < 0.05)
                        thrpt:  [+21.011% +21.264% +21.514%]
                        Performance has improved.
Found 18 outliers among 100 measurements (18.00%)
  7 (7.00%) low severe
  7 (7.00%) low mild
  3 (3.00%) high mild
  1 (1.00%) high severe
librustdoc/short_item_info
                        time:   [10.968 µs 10.985 µs 11.008 µs]
                        thrpt:  [82.305 MiB/s 82.477 MiB/s 82.606 MiB/s]
                 change:
                        time:   [-11.565% -11.330% -11.054%] (p = 0.00 < 0.05)
                        thrpt:  [+12.428% +12.778% +13.077%]
                        Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
  3 (3.00%) high mild
  6 (6.00%) high severe
librustdoc/sidebar      time:   [21.856 µs 21.875 µs 21.896 µs]
                        thrpt:  [56.359 MiB/s 56.413 MiB/s 56.463 MiB/s]
                 change:
                        time:   [-17.757% -16.668% -15.597%] (p = 0.00 < 0.05)
                        thrpt:  [+18.479% +20.002% +21.591%]
                        Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high severe
librustdoc/source       time:   [7.5811 µs 7.5986 µs 7.6122 µs]
                        thrpt:  [96.844 MiB/s 97.017 MiB/s 97.241 MiB/s]
                 change:
                        time:   [-17.455% -17.335% -17.224%] (p = 0.00 < 0.05)
                        thrpt:  [+20.807% +20.970% +21.146%]
                        Performance has improved.
Found 10 outliers among 100 measurements (10.00%)
  3 (3.00%) low severe
  5 (5.00%) low mild
  2 (2.00%) high mild
librustdoc/type_layout_size
                        time:   [4.9870 µs 4.9936 µs 5.0009 µs]
                        thrpt:  [54.159 MiB/s 54.238 MiB/s 54.310 MiB/s]
                 change:
                        time:   [-9.9132% -9.5887% -9.2205%] (p = 0.00 < 0.05)
                        thrpt:  [+10.157% +10.606% +11.004%]
                        Performance has improved.
Found 9 outliers among 100 measurements (9.00%)
  3 (3.00%) high mild
  6 (6.00%) high severe
librustdoc/type_layout  time:   [17.952 µs 18.117 µs 18.302 µs]
                        thrpt:  [147.10 MiB/s 148.60 MiB/s 149.97 MiB/s]
                 change:
                        time:   [-12.943% -12.385% -11.870%] (p = 0.00 < 0.05)
                        thrpt:  [+13.468% +14.135% +14.867%]
                        Performance has improved.
Found 17 outliers among 100 measurements (17.00%)
  1 (1.00%) low severe
  15 (15.00%) low mild
  1 (1.00%) high mild

Thank you very much for working on this change, really impressive results! I tried out winnow in a toy project (a simple e-mail address parser), and found it much more ergonomic to use than nom. Same in your code, it is more readable now than it was before.

This is awesome, thanks a lot @epage! :)

Note: we're losing some of the performance gains in upgrading to 0.4.  See #210.


Confirmation page not showing

Hi
The confirmation page is not showing any more ... you can test it with your own material demo page!
kind regards
c_bb

Please provide reproduction steps, browser, etc. Without that information, devs are unable to figure out what may be the problem. I have been using this project for months and have yet to come across your reported issue.


Add links for Android Testing Pattern videos to landing page.

I/O 16 talk: https://www.youtube.com/watch?v=isihPOY2vS4
ATP videos: https://www.youtube.com/results?search_query=Android+Testing+Patterns

I/O 17 talk: https://www.youtube.com/watch?v=pK7W5npkhho

I/O 18: Frictionless Android testing: write once, run everywhere


[Solved] How did you transform the pytorch model to TFJS?

Hi, can you give more info about how you transformed the pytorch graph to a tfjs one? I tried but I run over tons of errors.
Thanks and great work!

Hi @Pensarfeo! I wrote an article detailing the pipeline for training the model in PyTorch and converting it to TensorFlow.js. Please let me know if it helps :)
https://towardsdatascience.com/training-a-custom-yolov7-in-pytorch-and-running-it-directly-in-the-browser-with-tensorflow-js-96a5ecd7a530

@hugozanini
Thanks for sharing, I see you use it real time, do you know what is your FPS?
Yours
Pedro