Constrain cython version to < 3.0.0 to avoid compilation error

Quick fix to enable installation again, which previously failed due to new release of Cython. Doesn't fix the underlying error described in #91.

Let's go with this temporary fix until we are able to work up a better solution. Thanks for putting this together @mo-kli.


same as the golang excelize？

has the same functions of golang excelize？and have api docs about this rust version？
and also use pyo3 to build python module，then python can import to use it，thank you

Thanks for your issue. I just initialize this project, but many features in Excelize were not implemented in this.


Invalid text range for token

Description:
Consider the following source code.
function myFunc {
    isolated client
}

The text range of client token is as follows.

Irrespective of where the above code segment is used. The text range of client token always seem to be as depicted above.
Steps to reproduce:
Mentioned above

Parsed as INVALID[client] INVALID[isolated] MISSING[] MISSING[] MISSING[;]}. Note the order we have stored the invalid tokens is wrong.


Merge with upstream/release-2.9

What this PR does / why we need it: Update to the latest upstream release.

/cc @simonpasquier

/jira refresh

/jira refresh

/jira refresh

/lgtm


WebDriverIO helper option for window_size ignored

I have the following in my codecept.json file:
  "helpers": {
    "WebDriverIO": {
      "url": "url for site to test",
      "browser": "firefox",
      "window_size": "maximize"
    }

This running locally on a Mac (10.10.5) using both Chrome and Firefox.
The browser doesn't get maximised.

As far as I know the window_size expects the dimensions (widht, height) (e.g. '1600x800')
I would suggest that you write yourself a helper something like this:
module.exports = {
let I;
   _init() {
    I = this.helpers['WebDriverIO'].browser;
    I.windowHandleMaximize();
   }
}

which is a helper around this


Global replace is changing the words showing the dictionary

When a word is replaced globally, then if the word is present in the dictionary file then it is being replaced in the dictionary too.

Please refer to commit number 724b678f2ad24dc87fdb527704f3d9be5988e498.


[fix] Make signal handler optional

closes #251
crow app has a built in signal handler which may interfere with another signal handler
solution: add ability to remove crow's handlers, and to add them back
credit: @ilejn (I just put up a pr for his suggested patch)

edit:
to remove: app.signal_clear().port(<port>).multithreaded().run()
to add back: app.signal_add(int signal_number)

Hi, First off thanks for bringing this up. But unfortunately this repo hasn't been maintained in almost 3 years.
A few people and I are maintaining a separate version here.
Feel free to open any issues or make this same PR there. However I'll still implement this and run the tests and everything if you choose not to.

Oh thanks for letting me know! I'll try making a pr over there instead

See https://github.com/CrowCpp/crow/pull/85


Creating the ExperimentalActivity

Reflecting problems raised in #322

@Peyman-N to summarize the additional TODOs from issue #322 for this PR directly here:

rename the Activity property "parameter set" to "custom property set"
rename the schema ParameterSet to CustomPropertySet
rename the schema NumericalParameter to NumericalProperty
rename the schema StringParameter to StringProperty
extending / revising the CustomPropertySet schema (see also below)
adding a Configuration schema (see also below)
adding a PropertyValueList schema (see also below)

Revision of CustomPropertySet schema:
{
  "_type": "https://openminds.ebrains.eu/core/CustomPropertySet",
  "required": [
    "context",
    "relevantFor",
    "definedIn"
  ],
  "properties": {
    "context": {
      "type": "string",
      "_instruction": "Enter the common context for this custom property set."
    },
    "relevantFor": {
      "_instruction": "Add the technique for which this custom property set is relevant.",
      "_linkedTypes": [
        "https://openminds.ebrains.eu/controlledTerms/Technique"
      ]
    },
    "definedIn": {
      "_instruction": "Add a file or configuration that specifies the custom property set of the given context.",
      "_linkedTypes": [
        "https://openminds.ebrains.eu/core/File",
        "https://openminds.ebrains.eu/core/Configuration",
        "https://openminds.ebrains.eu/core/PropertyValueList"
      ]
    }
  }
}

Suggested Configuration schema:
{
  "_type": "https://openminds.ebrains.eu/core/Configuration",
  "required": [
    "configuration",
    "definitionFormat"
  ],
  "properties": {
    "lookupLabel": {
      "type": "string",
      "_instruction": "Enter a lookup label for this configuration that may help you to more easily find it again."
    },
    "configuration": {
      "type": "string",
      "_instruction": "Enter the configuration in a simple text based format (e.g., JSON, or YAML)."
    },
    "definitionFormat": {
      "_instruction": "Add the content type of the defined configuration.",
      "_linkedTypes": [
        "https://openminds.ebrains.eu/core/ContentType"
      ]
    }
  }
}

Suggested changes for PropertyValueList schema:
{
  "_type": "https://openminds.ebrains.eu/core/PropertyValueList",
  "required": [
    "propertyValuePair"
  ],
  "properties": {
    "lookupLabel": {
      "type": "string",
      "_instruction": "Enter a lookup label for this key-value list that may help you to more easily find it again."
    },
    "propertyValuePair": {
      "type": "array",
      "minItems": 1,
      "uniqueItems": true,
      "_instruction": "Add all numerical and string property-value pairs that belong to this list.",
      "_embeddedTypes": [
        "https://openminds.ebrains.eu/core/NumericalProperty",
        "https://openminds.ebrains.eu/core/StringProperty"
      ]
    }
  }
}

Hope this helps to push this PR

[ ] rename the Activity property "parameter set" to "custom property set"
[ ] rename the schema ParameterSet to CustomPropertySet
[ ] rename the schema NumericalParameter to NumericalProperty
[ ] rename the schema StringParameter to StringProperty
[ ] extending / revising the CustomPropertySet schema (see also below)
[ ] adding a Configuration schema (see also below)
[ ] adding a PropertyValueList schema (see also below)

@lzehl I just checked, it seems that I have applied all the requested modifications asked by you in your comment. Can you please review it again and let me know, what are the resting issues for this PR?

@olinux this will require a bit of clean up within the KG


Space at the end of string in metadata leads to authentication error

Package Name: azure/storage-blob
Package Version: 12.12.0
Operating system: Windows
[ ] nodejs

version: 18.17.1

[ ] browser

name/version: Chrome Version 116.0.5845.188

[ ] typescript

version: 4.7.4

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
When submitting metadata in string format, if the last character of the string is a space, it leads to authentication error
To Reproduce
Steps to reproduce the behavior:

Add metadata (string) in Azure for indexing via Azure Cognitive search
Send metadata as string to the blob storage
If last character of string is a space, trigger an authentication error and fail the request

Expected behavior
A clear and concise description of what you expected to happen.
As it is a string and string is requested, metadata should work even with space at the end
Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

We send metadata key/value through HTTP headers.  The specs  says field value doesn't inclue whitespaces.  Maybe we need to encode it before sending request?

Hi @jeremymeng ,
I found this reference: https://www.rfc-editor.org/rfc/rfc9110#section-5.5 for http header values, brief some content following:
A field value does not include leading or trailing whitespace. When a specific version of HTTP allows such whitespace to appear in a message, a field parsing implementation MUST exclude such whitespace prior to evaluating the field value.
This is what storage server is doing. Server just trims out leading and trailing whitespaces in header value, not only for metadata, it trims all header values.
Maybe we should also trim all trailing spaces in headers? What do you think?
Thanks
Emma

@EmmaZhu I wasn't sure whether the Storage service would allow leading or trailing whitespace for metadata value.  It looks that the service doesn't allow and just trims them when editing in the portal.  We can trim them in core too.

@azure/core-http 3.0.4 has been released which should fix this.


Replace all null with None in code base

As title.

Could you be more descriptive in the description?

[X] In the Core module, nulls are used only in unit testing and in examples to open files. This is covered by #8
[ ] In the Spark module, nulls are used to populate null values for Spark. Is here where you see the problem? I can check if it is working with None like null, but not sure.


Add image processor perceiver

What does this PR do?
Add perceiver image processor

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Scylla new integration

What does this PR do?
Add new integration Scylla.
Motivation
To expand integration coverage.
Additional Notes
TODO (in separate PRs):

Logs documentation
Metadata collection Done
Dashboard integration

Review checklist (to be filled by reviewers)

[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] Feature or bugfix must have tests
[ ] Git history must be clean
[ ] If PR adds a configuration option, it must be added to the configuration file.

Early commit for Python 3.8, those checks are expected to be failing right now.


Diagnose Substrate GitLab job 2361263

https://gitlab.parity.io/parity/mirrors/substrate/-/jobs/2361263

The problem was caused by a misconfigured GitLab CI variable. Thanks to @rcny 's help I was able to detect the problem and deal with it quickly. It shouldn't happen again.


Google Analytics

Hey,
Great job with the theme. Thanks.
GA is not working properly for what it looks like to me.
I've checked that currently they use a different tag than the one you are setting.
I haven't found how you do that magic to inject GA code, otherwise I would try to make a PR.
New code:
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-XXXX-XX"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-XXXX-XX);
</script>

Old code:
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
	window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
	ga('create', 'UA-XXXX-XX', 'auto');

	ga('send', 'pageview');
}
</script>
<script async src='https://www.google-analytics.com/analytics.js'></script>

I would suggest keeping the doNotTrack condition, but update to the more recent code.
Thanks

Actually its an internal template built into Hugo - https://gohugo.io/templates/internal/
Either we have to create a issue in Hugo repo or ditch internal template and use our own.

Having the same issue trying to set up Google Analytics right now with my site using ezhil - what would you recommend?

Having the same issue trying to set up Google Analytics right now with my site using ezhil - what would you recommend?

Bumped into this problem too. The workaround was to use the analytics code recommended by Google and load it via an external JS script - example.


a CTE problem?

the following code works just fine when executed on Postgres, however sqlc generate results in column "code" does not exist:
-- name: InsertCode :one
WITH cc AS (
    INSERT INTO td3.codes(created_by, updated_by, code, hash, is_private)
    VALUES ($1, $1, $2, encode(digest($2, 'sha1'), 'hex'), false)
    RETURNING hash
)
INSERT INTO td3.test_codes(created_by, updated_by, test_id, code_hash)
VALUES(
    $1, $1, $3, (select hash from cc)
)
RETURNING *;

To help debug this issue, could you include the definition of the codes and test_codes tables?

this schema reproduces the problem:
-- FILE: schema.sql

DROP SCHEMA IF EXISTS td3 CASCADE;
CREATE SCHEMA td3;

CREATE TABLE td3.codes (
    id SERIAL PRIMARY KEY,
    ts_created timestamptz DEFAULT now() NOT NULL,
    ts_updated timestamptz DEFAULT now() NOT NULL,
    created_by text NOT NULL,
    updated_by text NOT NULL,

    code text,
    hash text,
    is_private boolean
);

CREATE TABLE td3.test_codes (
    id SERIAL PRIMARY KEY,
    ts_created timestamptz DEFAULT now() NOT NULL,
    ts_updated timestamptz DEFAULT now() NOT NULL,
    created_by text NOT NULL,
    updated_by text NOT NULL,

    test_id integer NOT NULL,
    code_hash text NOT NULL
);

-- FILE: query.sql

-- name: InsertCode :one
WITH cc AS (
    INSERT INTO td3.codes(created_by, updated_by, code, hash, is_private)
    VALUES ($1, $1, $2, $3, false)
    RETURNING hash
)
INSERT INTO td3.test_codes(created_by, updated_by, test_id, code_hash)
VALUES(
    $1, $1, $4, (select hash from cc)
)
RETURNING *;

Thanks. I won’t have time to look at this today, but will be the first thing on my lit tomorrow.

Alright, this has been fixed on tip. Thanks again for the report.


It would be better to remove 'Show in Folder' next to a cancelled download activity log

Storage Explorer Version: 1.23.0-dev
Build Number: 20211215.5
Branch: main
Platform/OS: Windows 10/Linux Ubuntu 20.04/MacOS Monterey 12.0.1
Architecture: ia32/x64
How Found: AD hoc testing
Regression From:  Not a regression
Steps to Reproduce

Expand one storage account -> Blob Containers.
Create a new blob container -> Upload one large blob.
Download the blob to a place where no same blob exists -> Click 'Cancel' next to the download activity log.
Check there is no string 'Show in Folder' next to the activity log.

Expected Experience
It would be better to remove 'Show in Folder' next to the activity log.
Actual Experience
There is the string 'Show in Folder' next to the activity log.

Additional Context

Nothing happens when clicking 'Show in Folder'.
This issue doesn't reproduce when cancelling the activity that downloading several items at one time.
This issue also reproduces for file shares.

We're just going to leave this for now. Too many things to do. 😵


"triple-equals": [true, "allow-null-check"]  not working correctly

Bug Report

TSLint version: 5.10.0
TypeScript version: 2.7.2
Running TSLint via: CLI

TypeScript code being linted
// code snippet
else if (accessToken == null)

with tslint.json configuration:
{
  "rulesDirectory": [
    "node_modules/codelyzer"
  ],
  "env": {
    "jest": true
  },
  "extends": "tslint-config-semistandard",
  "rules": {
    "space-before-function-paren": [true, {"anonymous": "always", "named": "never", "asyncArrow": "always"}],
    "triple-equals": [true, "allow-null-check"]
  }
}

Actual behavior
ERROR: Use '=== null' instead.
Expected behavior
Pass the lint test

Encountered the same thing, but it turned out that in my case the possible variable type in question (accessToken here) didn't contain undefined, that's why tslint insisted on ===. Is this the case for you?

I have the same problem:
"triple-equals": [true, "allow-undefined-check", "allow-null-check"]
when i set if (userInfo == undefined) {       return null;     }
but compiler with error  Expected '===' and instead saw '=='  eqeqeq

💀 It's time! 💀
TSLint is deprecated and no longer accepting pull requests other than security fixes. See #4534. ☠
We recommend you instead use typescript-eslint to lint your TypeScript code with ESLint. ✅
👋 It was a pleasure open sourcing with you!

🤖 Beep boop! 👉  TSLint is deprecated 👈 (#4534)  and you should switch to typescript-eslint! 🤖
🔒 This issue is being locked to prevent further unnecessary discussions. Thank you! 👋


refresh scene tabs on fail to load scene due to missing deps

resolves https://github.com/godotengine/godot/issues/85173
alternative to https://github.com/godotengine/godot/pull/85333
not sure if this is a good solution or not, but it sure is a simple one!
If we're exiting the function at this point, force reload the tabs so they account for the fact editor_data.edited_scene has had a scene removed

The linked issue was fixed, so this should a priori no longer be relevant. Please let us know if those changes are still needed for other reasons.


pull request for e2e test at 12/31/2016 10:15:13

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


ForwardDiff tagging errors with MarginalLogDensities

I just noticed this issue, which appeared for me between DI v0.6.17 and v0.6.18: I get ForwardDiff "Invalid Tag object" errors when calling a MarginalLogDensity that uses ForwardDiff for the Hessian. MWE:
using DifferentiationInterface
using MarginalLogDensities
import Zygote

N = 3
ld(x) = sum(abs2, diff(x))
iw = [1, 3]
iv = [2]
u = randn(N)
v = u[iv]
w = u[iw]

w = rand(3)
mld1 = MarginalLogDensity(ld, u, iw, (), LaplaceApprox())
mld1(w[iv], ()) # error

ERROR: Invalid Tag object:
  Expected ForwardDiff.Tag{DifferentiationInterface.FixTail{SciMLBase.OptimizationFunction{true, AutoForwardDiff{nothing, Nothing}, MarginalLogDensities.var"#f#4"{typeof(ld), Vector{Float64}, Vector{Int64}, Vector{Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing}, Tuple{@NamedTuple{p::Tuple{}, v::Vector{Float64}}}}, ForwardDiff.Dual{ForwardDiff.Tag{typeof(DifferentiationInterface.shuffled_gradient), Float64}, Float64, 1}},
  Observed ForwardDiff.Tag{DifferentiationInterface.FixTail{MarginalLogDensities.var"#f#4"{typeof(ld), Vector{Float64}, Vector{Int64}, Vector{Int64}}, Tuple{@NamedTuple{p::Tuple{}, v::Vector{Float64}}}}, ForwardDiff.Dual{ForwardDiff.Tag{typeof(DifferentiationInterface.shuffled_gradient), Float64}, Float64, 1}}.
Stacktrace:
  [1] checktag(::Type{…}, f::DifferentiationInterface.FixTail{…}, x::Vector{…})
    @ ForwardDiff ~/.julia/packages/ForwardDiff/UBbGT/src/config.jl:34
  [2] gradient(f::DifferentiationInterface.FixTail{…}, x::Vector{…}, cfg::ForwardDiff.GradientConfig{…}, ::Val{…})
    @ ForwardDiff ~/.julia/packages/ForwardDiff/UBbGT/src/gradient.jl:18
  [3] gradient(f::SciMLBase.OptimizationFunction{…}, prep::DifferentiationInterfaceForwardDiffExt.ForwardDiffGradientPrep{…}, backend::AutoForwardDiff{…}, x::Vector{…}, contexts::Constant{…})
    @ DifferentiationInterfaceForwardDiffExt ~/.julia/packages/DifferentiationInterface/IZ4Ns/ext/DifferentiationInterfaceForwardDiffExt/onearg.jl:357
  [4] shuffled_gradient(x::Vector{…}, f::SciMLBase.OptimizationFunction{…}, prep::DifferentiationInterfaceForwardDiffExt.ForwardDiffGradientPrep{…}, backend::AutoForwardDiff{…}, rewrap::DifferentiationInterface.Rewrap{…}, unannotated_contexts::@NamedTuple{…})
    @ DifferentiationInterface ~/.julia/packages/DifferentiationInterface/IZ4Ns/src/first_order/gradient.jl:140
  [5] compute_ydual_onearg(::typeof(DifferentiationInterface.shuffled_gradient), ::DifferentiationInterfaceForwardDiffExt.ForwardDiffOneArgPushforwardPrep{…}, ::Vector{…}, ::Tuple{…}, ::Constant{…}, ::DifferentiationInterface.PrepContext{…}, ::Constant{…}, ::Constant{…}, ::Constant{…})
    @ DifferentiationInterfaceForwardDiffExt ~/.julia/packages/DifferentiationInterface/IZ4Ns/ext/DifferentiationInterfaceForwardDiffExt/onearg.jl:106
  [6] pushforward!(::typeof(DifferentiationInterface.shuffled_gradient), ::Tuple{…}, ::DifferentiationInterfaceForwardDiffExt.ForwardDiffOneArgPushforwardPrep{…}, ::AutoForwardDiff{…}, ::Vector{…}, ::Tuple{…}, ::Constant{…}, ::DifferentiationInterface.PrepContext{…}, ::Constant{…}, ::Constant{…}, ::Constant{…})
    @ DifferentiationInterfaceForwardDiffExt ~/.julia/packages/DifferentiationInterface/IZ4Ns/ext/DifferentiationInterfaceForwardDiffExt/onearg.jl:161
  [7] hvp!(f::SciMLBase.OptimizationFunction{…}, tg::Tuple{…}, prep::DifferentiationInterfaceForwardDiffExt.ForwardDiffOverSomethingHVPPrep{…}, backend::SecondOrder{…}, x::Vector{…}, tx::Tuple{…}, contexts::Constant{…})
     Use `show(err)` to see complete types.

I get the same error if I use dense ForwardDiff for the Hessian:
mld2 = MarginalLogDensity(ld, u, iw, (), LaplaceApprox(),
    hess_adtype=AutoForwardDiff())
mld2(w[iv], ())

Confirming it only happens when ForwardDiff is used for the Hessian:
mld3 = MarginalLogDensity(ld, u, iw, (), LaplaceApprox(adtype=AutoForwardDiff()),
    hess_adtype=AutoZygote())
mld3(w[iv], ()) # works

mld4 = MarginalLogDensity(ld, u, iw, (), LaplaceApprox(adtype=AutoZygote()),
    hess_adtype=AutoForwardDiff())
mld4(w[iv], ()) # error

# defining the SecondOrder manually to confirm defaults are doing what I think they are
ad = AutoForwardDiff()
hess_ad = AutoSparse(
            SecondOrder(AutoForwardDiff(), ad),
            DenseSparsityDetector(ad, atol=sqrt(eps())),
            GreedyColoringAlgorithm())
mld5 = MarginalLogDensity(ld, u, iw, (), LaplaceApprox(adtype=ad),
    hess_adtype=hess_ad)
mld5(w[iv], ()) # error

Thanks for reporting this, I'm gonna look into it

I tried to reproduce the correct behavior by pinning DI to v0.6.17 but I got another error, any clue why?

julia> mld1 = MarginalLogDensity(ld, u, iw, (), LaplaceApprox())
ERROR: MethodError: no method matching ld(::Vector{ForwardDiff.Dual{ForwardDiff.Tag{…}, ForwardDiff.Dual{…}, 2}}, ::Tuple{})
The function `ld` exists, but no method is defined for this combination of argument types.

Closest candidates are:
  ld(::Any)
   @ Main ~/Work/GitHub/Julia/Sandbox/test.jl:6

Stacktrace:
  [1] (::MarginalLogDensities.var"#f#4"{…})(w::Vector{…}, p2::@NamedTuple{…})
    @ MarginalLogDensities ~/Work/GitHub/Julia/MarginalLogDensities.jl/src/MarginalLogDensities.jl:201
  [2] (::DifferentiationInterface.FixTail{MarginalLogDensities.var"#f#4"{…}, Tuple{…}})(args::Vector{ForwardDiff.Dual{…}})
    @ DifferentiationInterface ~/.julia/packages/DifferentiationInterface/VdTHn/src/utils/context.jl:7
  [3] vector_mode_dual_eval!(f::DifferentiationInterface.FixTail{…}, cfg::ForwardDiff.GradientConfig{…}, x::Vector{…})
    @ ForwardDiff ~/.julia/packages/ForwardDiff/UBbGT/src/apiutils.jl:24
  [4] vector_mode_gradient(f::DifferentiationInterface.FixTail{…}, x::Vector{…}, cfg::ForwardDiff.GradientConfig{…})
    @ ForwardDiff ~/.julia/packages/ForwardDiff/UBbGT/src/gradient.jl:91
  [5] gradient(f::DifferentiationInterface.FixTail{…}, x::Vector{…}, cfg::ForwardDiff.GradientConfig{…}, ::Val{…})
    @ ForwardDiff ~/.julia/packages/ForwardDiff/UBbGT/src/gradient.jl:20
  [6] gradient(f::DifferentiationInterface.FixTail{…}, x::Vector{…}, cfg::ForwardDiff.GradientConfig{…})
    @ ForwardDiff ~/.julia/packages/ForwardDiff/UBbGT/src/gradient.jl:17
  [7] gradient(::DifferentiationInterface.FixTail{…}, ::DifferentiationInterfaceForwardDiffExt.ForwardDiffGradientPrep{…}, ::AutoForwardDiff{…}, ::Vector{…})
    @ DifferentiationInterfaceForwardDiffExt ~/.julia/packages/DifferentiationInterface/VdTHn/ext/DifferentiationInterfaceForwardDiffExt/onearg.jl:337
  [8] (::DifferentiationInterfaceForwardDiffExt.var"#inner_gradient#9"{…})(::Vector{…})
    @ DifferentiationInterfaceForwardDiffExt ~/.julia/packages/DifferentiationInterface/VdTHn/ext/DifferentiationInterfaceForwardDiffExt/secondorder.jl:38
  [9] compute_ydual_onearg(::DifferentiationInterfaceForwardDiffExt.var"#inner_gradient#9"{…}, ::DifferentiationInterfaceForwardDiffExt.ForwardDiffOneArgPushforwardPrep{…}, ::Vector{…}, ::Tuple{…})
    @ DifferentiationInterfaceForwardDiffExt ~/.julia/packages/DifferentiationInterface/VdTHn/ext/DifferentiationInterfaceForwardDiffExt/onearg.jl:98
 [10] pushforward!(::DifferentiationInterfaceForwardDiffExt.var"#inner_gradient#9"{…}, ::Tuple{…}, ::DifferentiationInterfaceForwardDiffExt.ForwardDiffOneArgPushforwardPrep{…}, ::AutoForwardDiff{…}, ::Vector{…}, ::Tuple{…})
    @ DifferentiationInterfaceForwardDiffExt ~/.julia/packages/DifferentiationInterface/VdTHn/ext/DifferentiationInterfaceForwardDiffExt/onearg.jl:153
 [11] hvp!(::DifferentiationInterface.FixTail{…}, ::Tuple{…}, ::DifferentiationInterfaceForwardDiffExt.ForwardDiffOverSomethingHVPPrep{…}, ::SecondOrder{…}, ::Vector{…}, ::Tuple{…})
    @ DifferentiationInterfaceForwardDiffExt ~/.julia/packages/DifferentiationInterface/VdTHn/ext/DifferentiationInterfaceForwardDiffExt/secondorder.jl:72
 [12] hvp!(::DifferentiationInterface.FixTail{…}, ::Tuple{…}, ::DifferentiationInterfaceForwardDiffExt.ForwardDiffOverSomethingHVPPrep{…}, ::AutoForwardDiff{…}, ::Vector{…}, ::Tuple{…})
    @ DifferentiationInterfaceForwardDiffExt ~/.julia/packages/DifferentiationInterface/VdTHn/ext/DifferentiationInterfaceForwardDiffExt/onearg.jl:565
 [13] hessian_sparsity(f::DifferentiationInterface.FixTail{…}, x::Vector{…}, detector::DenseSparsityDetector{…})
    @ DifferentiationInterfaceSparseArraysExt ~/.julia/packages/DifferentiationInterface/VdTHn/ext/DifferentiationInterfaceSparseArraysExt/sparsity_detector.jl:103
 [14] prepare_hessian(f::MarginalLogDensities.var"#f#4"{…}, backend::AutoSparse{…}, x::Vector{…}, contexts::Constant{…})
    @ DifferentiationInterfaceSparseMatrixColoringsExt ~/.julia/packages/DifferentiationInterface/VdTHn/ext/DifferentiationInterfaceSparseMatrixColoringsExt/hessian.jl:29
 [15] MarginalLogDensity(logdensity::typeof(ld), u::Vector{…}, iw::Vector{…}, data::Tuple{}, method::LaplaceApprox{…}; hess_adtype::Nothing, sparsity_detector::DenseSparsityDetector{…}, coloring_algorithm::GreedyColoringAlgorithm{…})
    @ MarginalLogDensities ~/Work/GitHub/Julia/MarginalLogDensities.jl/src/MarginalLogDensities.jl:213
 [16] MarginalLogDensity(logdensity::Function, u::Vector{…}, iw::Vector{…}, data::Tuple{}, method::LaplaceApprox{…})
    @ MarginalLogDensities ~/Work/GitHub/Julia/MarginalLogDensities.jl/src/MarginalLogDensities.jl:194
 [17] top-level scope
    @ ~/Work/GitHub/Julia/Sandbox/test.jl:14
Some type information was truncated. Use `show(err)` to see complete types.

(Sandbox) pkg> st
Status `~/Work/GitHub/Julia/Sandbox/Project.toml`
⌃ [a0c0ee7d] DifferentiationInterface v0.6.17
  [f0c3360a] MarginalLogDensities v0.3.5 `../MarginalLogDensities.jl`
  [e88e6eb3] Zygote v0.6.73
Info Packages marked with ⌃ have new versions available and may be upgradable.

Okay I think I found the cause and it is on the MarginalLogDensities side. I opened https://github.com/ElOceanografo/MarginalLogDensities.jl/pull/36 to fix it, can you confirm that it works?

Yes, looks like that worked. Thanks for fixing my bugs again!


Remote Action possible while locked in locker

How to reproduce:
Step 1. Get locked into a locker. This presumably would also work if welded into a locker, but as welding is currently broken I am unable to verify that this works. It also works if you teleport in via the cursed locker.
Step 2. Attempt to move. You can still move your camera, but will generate a "It's locked!" message every time you do so. If you move and then attack, you will be able to see the weapon attacking from wherever your camera is. You can also move any pushable objects from inside the locker this way.

This also allows you to do things like potentially cause a welder tank explosion remotely in Engineering.

I was also able to remotely pick up objects after exploding the welder tank, and once I attacked the walls I was able to move remotely all the way to Arrivals from Engineering, at which point I tried remotely picking up an item and dropping it. Then I got shunted to nullspace.

I believe this has been fixed, and in any case the cursed locker is no longer on the map. Closing to avoid confusion.


DT render not working properly

We have same render function in table with and without yadcf, but results are different.
yadcf somehow ignores render type === 'filter'
jsFiddle with yadcf : http://jsfiddle.net/5kfwysmL/1/
without : http://jsfiddle.net/90gc3o4a/

fixed by @misanek


Submit to https://github.com/sindresorhus/awesome

We should figure out what would need to be done to submit to the main list. :)

https://github.com/sindresorhus/awesome/blob/master/contributing.md#adding-to-this-list


IPv6 support

It would be very helpful if this script would support IPv6.

This will be done sooner than later, it's the next big upgrade planned.


Are we giving users availability of all possible Locales for Date parsing and conversions?

OS: Windows 10
OpenRefine Version:  3.4.1
Looking over things now... I'm a bit worried that we are not supporting all possible locales for our users?
https://docs.oracle.com/javase/8/docs/api/java/text/SimpleDateFormat.html#SimpleDateFormat-java.lang.String-java.util.Locale-

public SimpleDateFormat(String pattern, Locale locale)
Constructs a SimpleDateFormat using the given pattern and the default date format symbols for the given locale. Note: This constructor may not support all locales. For full coverage, use the factory methods in the DateFormat class.

usage on
https://github.com/OpenRefine/OpenRefine/blob/0990531908187e2756cdc6c437e32579f8f54d6d/main/src/com/google/refine/expr/functions/ToDate.java#L163

Additionally, which might need a separate issue as well... I cannot seem to do inline conversions? It does seem our code has the close capability in order to do this, but we don't take advantage of DateFormat and SDF in completely the write way to pull this off?  Interestingly, this is not throwing an error.
Parse a Spanish date string, convert to date, convert to Chinese locale with pattern and output as String:
"4, enero, 1867".toDate("es", "dd, MMMM, yyyy").toDate("MMM", "zh").toString()

I can't tell if this is a question, a bug report, or a feature request. @thadguidry Can you please pick one and edit it to include the appropriate information (versions, expected vs actual behavior, reproducers, etc)

@tfmorris It's a set of questions, and actually asking how some of these features work in the current code of OpenRefine.  It might just need to be explained to me more, but I still have yet to understand some of your previous comments about Locale handling from our mailing list and on the replies to @allanaaa in docs...and figure out how to manipulate Locales interactively in real-time with OpenRefine Dates.  Maybe it's not possible, but really thought it is, or could be.  Some of this I can actually do in other tools, but stumped on how to do it in OpenRefine.
I want to know how to convert Locales in OpenRefine Dates.  Would love some help. (yes, this is not necessarily a bug, but more discovery, that might led to a bug found or feature requests needed.  I felt putting it into an GitHub Issue would be better to allow us to more easily discuss and point to review code lines, etc. and come to some conclusions on Locales and Date handling.
And so I really need your expert help here, Tom.
As shown in my example, it doesn't seem to convert using the Locale as part of the String formatter.
I tried this and it gives unusual output:
GREL:
"4, enero, 1867".toDate("es", "dd, MMMM, yyyy").toDate("MMM").toString("NO")
OUTPUT:
0GMT
This will probably make more sense to you... I have the same question as this person, but within OpenRefine GREL transforms:
https://stackoverflow.com/questions/1661325/simpledateformat-and-locale-based-format-string

There are a couple of misunderstandings here:

toDate() of a date is a no-op https://github.com/OpenRefine/OpenRefine/blob/0990531908187e2756cdc6c437e32579f8f54d6d/main/src/com/google/refine/expr/functions/ToDate.java#L76-L77 Perhaps it should be an error if it's called with additional arguments which don't make any sense.
toString() has no locale support. It works in the default locale only. The function toString("NO") is going to interpret the string "NO" as a Java DateTimeFormatter  format string, returning nano-of-day (N) and localized zone-offset (O) which is the result you are seeing. https://github.com/OpenRefine/OpenRefine/blob/0990531908187e2756cdc6c437e32579f8f54d6d/main/src/com/google/refine/expr/functions/ToString.java#L58

Please create separate bug/enhancement issues for either of these things which you'd like see fixed / enhanced.

@tfmorris thanks for responding.  And what or how is this method used for in toDate() https://github.com/OpenRefine/OpenRefine/blob/0990531908187e2756cdc6c437e32579f8f54d6d/main/src/com/google/refine/expr/functions/ToDate.java#L134

https://github.com/OpenRefine/OpenRefine/blob/0990531908187e2756cdc6c437e32579f8f54d6d/main/src/com/google/refine/expr/functions/ToDate.java#L156

@tfmorris I understand now and thanks for the comment on the other issue.
I'll close this issue now, since we seem to agree that we have a documentation issue remaining in #5351 (which I also just noticed and was typing up just now which I'll discard.


[Bug]: Blocked by Cloudflare hCaptcha

Contact Details
<EMAIL_ADDRESS>What happened?
ChatGPT's new cloudflare hCaptcha implementation is blocking the use of unofficial apis. When making a request to https://chat.openai.com, you must pass a security check, which involves a JS challenge and a 1x1 pixel  transparent.gif resource.
Once you pass the security check, the browser stores a cf_clearance cookie which has a 1-year expiration (The token itself should have a 15-45 minute expiration, as documented here). If this cookie is missing or invalid, you will need to pass the security check again before accessing the website, even if you have a valid session/access token.
Version
v0.3.3
What operating system are you using?
Windows
Relevant log output
Traceback for UnicodeDecodeError
-----------------------------------
'utf-8' codec can't decode byte 0x8b in position 1: invalid start byte

  File "C:\Projects\Programs\Python\ChatGPT-GUI\src\chatgpt_gui\gui\widgets\conversation_view.py", line 137, in send_message
    app().client.send_message(message, self.conversation)  # type: ignore

  File "C:\Projects\Programs\Python\ChatGPT-GUI\src\chatgpt_gui\network\client\chatgpt.py", line 324, in send_message
    if not (models := self.get_models()):

  File "C:\Projects\Programs\Python\ChatGPT-GUI\src\chatgpt_gui\network\client\chatgpt.py", line 292, in get_models
    return self._get('backend-api/models').json.get('models')

  File "C:\Projects\Programs\Python\ChatGPT-GUI\src\chatgpt_gui\network\manager.py", line 903, in json
    return json_.loads(data.decode(encoding=encoding))

Cloudflare clearance tokens last ~2 hours

cf_clearance is now fully supported and can be bypassed without user input. Sadly email & password verification doesn't currently work.
This issue is resolved in v0.4.0, which will be released shortly.


[Refactor] move APIFormat() of Issue and Label to convert package

code refactor ...

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@5aeaa91). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master   #10423   +/-   ##
=========================================
  Coverage          ?   43.69%
=========================================
  Files             ?      586
  Lines             ?    81352
  Branches          ?        0
=========================================
  Hits              ?    35546
  Misses            ?    41401
  Partials          ?     4405

Impacted Files
Coverage Δ

routers/routes/routes.go
86.26% <0%> (ø)

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 5aeaa91...977c10b. Read the comment docs.

@lunny can you have a look at this pleace?

CI is still failed.

@lunny It looks unrelated and tests pass localy - so :( ... wayt to hit the "update branch" buton ;)

@lunny CI passed 3 times now

ping @6543


implement load finder

feat: set default location on haumea loaded modules for deduplication
feat: add a convenience block target load finder

Context
Boilerplate is inconvenient.
People want to drop in a file and hive should pick it up.
Solution
Implement a block target finder that also hive.loads each target and call it hive.findLoad.
Usage
# a block, e.g. `nixosProfiles/default.nix`

inputs.hive.findLoad {
  inherit inputs cell;
  block = ./.;
}

works, thus ships.


Trouble with the build

Hello, I ran into a problem when following the "How to contribute" instructions in the readme. Upon running build.cmd Build, the build eventually fails due to what appears to be a problem parsing the Forge.fsproj file. More precisely, it says...
...\paket-files\github.com\fsharp-editing\Forge\src\Forge\Forge.fsproj(77,3): The value "" of the "Project" attribute in element <Import> is invalid. Parameter "path" cannot have zero length.

So I took a look at the Forge.fsproj in the specified location and found the following...
<Import Project="$(FSharpTargetsPath)" />

To verify, I added a target with a message task to print out FSharpTargetPath and it printed this...
C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\FSharp\Microsoft.FSharp.Targets

So I'm not sure why it is ending up empty when invoked by the fake build...
I am on Windows 10 and have VS 2015 and VS2017 installed (and just in case I also installed the MS Build Tools 2015).
Any help or ideas would be greatly appreciated.

Hello,
we were just running into the same error.

My first though was to install MSBuild new...
I might be wrong.
@CVogel89

This seems to be happening when the version of MS Build 15.0 included with/under Visual Studio 2017 is used instead of MS Build 14.0. I still have to figure out what about MS Build 15.0 is causing this, but I'm going to go ahead and close since I don't think it is really an issue with this repo.

For posterity, issue seems to have been that I recently had uninstalled F# language support from my VS 2017 installation but since during the build the version of VS is the highest available, it tries to look for the F# targets file under the VS 2017 location, which did not exist, so the FSharpTargetsPath property never gets defined and thus <Import Project="$(FSharpTargetsPath)" /> fails with said error.


Users SNBAT perform actions that remove all SortedOracles reports

Expected Behavior
reports.length > 0 always
Current Behavior
If all reports expire or all oracles are removed, reports.length can equal 0

reserved for evgeni@limechain


Plate design: numbering with leading zeros does not work for <10 plates

In case of less than 10 plates:
When sample names contain plate numbers with leading zero, i.e. "...PL01_A09" they are assigned plate well "01_A09".
But in a plate design, it is always assigned "1_A09" regardless of whether the plate is called "Plate 1" or "Plate 01".
Temporary workaround: fill plate design with 10 plates, keep non-relevant plate designs empty.

Easiest solution: number plates in plate design automatically. Remove all leading zeros from "plate_well" entries before merging LaCyTools data with plate design.


Network visualization failure

DIGITS failed to visualize my network. Here's what I pasted in the form:
layer {
  name: "conv1"
  type: "Convolution"
  bottom: "data"
  top: "conv1"
  param {
    lr_mult: 1.0
  }
  param {
    lr_mult: 2.0
  }
  convolution_param {
    num_output: 20
    kernel_size: 5
    stride: 1
    weight_filler {
      type: "xavier"
    }
    bias_filler {
      type: "constant"
    }
  }
}
layer {
  name: "relu_conv1"
  type: "ReLU"
  bottom: "conv1"
  top: "conv1"
}
layer {
  name: "conv2"
  type: "Convolution"
  bottom: "conv1"
  top: "conv2"
  param {
    lr_mult: 1.0
  }
  param {
    lr_mult: 2.0
  }
  convolution_param {
    num_output: 30
    kernel_size: 3
    stride: 1
    weight_filler {
      type: "xavier"
    }
    bias_filler {
      type: "constant"
    }
  }
}
layer {
  name: "relu_conv2"
  type: "ReLU"
  bottom: "conv2"
  top: "conv2"
}
layer {
  name: "conv3"
  type: "Convolution"
  bottom: "conv2"
  top: "conv3"
  param {
    lr_mult: 1.0
  }
  param {
    lr_mult: 2.0
  }
  convolution_param {
    num_output: 50
    kernel_size: 3
    stride: 1
    weight_filler {
      type: "xavier"
    }
    bias_filler {
      type: "constant"
    }
  }
}
layer {
  name: "relu_conv3"
  type: "ReLU"
  bottom: "conv3"
  top: "conv3"
}
layer {
  name: "ip1"
  type: "InnerProduct"
  bottom: "conv3"
  top: "ip1"
  param {
    lr_mult: 1.0
  }
  param {
    lr_mult: 2.0
  }
  inner_product_param {
    num_output: 200
    weight_filler {
      type: "xavier"
    }
    bias_filler {
      type: "constant"
    }
  }
}
layer {
  name: "relu_ip1"
  type: "ReLU"
  bottom: "ip1"
  top: "ip1"
}
layer {
  name: "drop1"
  type: "Dropout"
  bottom: "ip1"
  top: "ip1"
  dropout_param {
    dropout_ratio: 0.5
  }
}
layer {
  name: "ip2"
  type: "InnerProduct"
  bottom: "ip1"
  top: "ip2"
  param {
    lr_mult: 1.0
  }
  param {
    lr_mult: 2.0
  }
  inner_product_param {
    num_output: 10
    weight_filler {
      type: "xavier"
    }
    bias_filler {
      type: "constant"
    }
  }
}
layer {
  name: "accuracy"
  type: "Accuracy"
  bottom: "ip2"
  bottom: "label"
  top: "accuracy"
  include {
    phase: TEST
  }
}
layer {
  name: "loss"
  type: "SoftmaxWithLoss"
  bottom: "ip2"
  bottom: "label"
  top: "loss"
}

Here's the error message:
InvocationException
Program terminated with status: 1. stderr follows: Warning: /tmp/tmpNrezOY:3: string ran past end of line Error: /tmp/tmpNrezOY:4: syntax error near line 4 context: >>> ( <<< Accuracy)" [shape=record, style=filled, fillcolor="#6495ED"]; Warning: /tmp/tmpNrezOY:4: ambiguous "6495ED" splits into two names: "6495" and "ED" Warning: /tmp/tmpNrezOY:4: string ran past end of line Warning: /tmp/tmpNrezOY:5: string ran past end of line Warning: /tmp/tmpNrezOY:9: string ran past end of line Warning: /tmp/tmpNrezOY:10: string ran past end of line Warning: /tmp/tmpNrezOY:11: ambiguous "90EE" splits into two names: "90" and "EE" Warning: /tmp/tmpNrezOY:11: string ran past end of line Warning: /tmp/tmpNrezOY:13: string ran past end of line Warning: /tmp/tmpNrezOY:14: ambiguous "90EE" splits into two names: "90" and "EE" Warning: /tmp/tmpNrezOY:14: string ran past end of line Warning: /tmp/tmpNrezOY:17: string ran past end of line Warning: /tmp/tmpNrezOY:18: string ran past end of line Warning: /tmp/tmpNrezOY:19: string ran past end of line Warning: /tmp/tmpNrezOY:20: string ran past end of line Warning: /tmp/tmpNrezOY:24: string ran past end of line Warning: /tmp/tmpNrezOY:28: string ran past end of line Warning: /tmp/tmpNrezOY:29: string ran past end of line Warning: /tmp/tmpNrezOY:30: ambiguous "6495ED" splits into two names: "6495" and "ED" Warning: /tmp/tmpNrezOY:30: string ran past end of line Warning: /tmp/tmpNrezOY:33: string ran past end of line Warning: /tmp/tmpNrezOY:34: ambiguous "90EE" splits into two names: "90" and "EE" Warning: /tmp/tmpNrezOY:34: string ran past end of line Warning: /tmp/tmpNrezOY:35: string ran past end of line Warning: /tmp/tmpNrezOY:36: ambiguous "90EE" splits into two names: "90" and "EE" Warning: /tmp/tmpNrezOY:36: string ran past end of line Warning: /tmp/tmpNrezOY:37: string ran past end of line Warning: /tmp/tmpNrezOY:41: string ran past end of line Warning: /tmp/tmpNrezOY:43: string ran past end of line Warning: /tmp/tmpNrezOY:44: ambiguous "90EE" splits into two names: "90" and "EE" Warning: /tmp/tmpNrezOY:44: string ran past end of line Warning: /tmp/tmpNrezOY:45: string ran past end of line Warning: /tmp/tmpNrezOY:49: string ran past end of line Warning: /tmp/tmpNrezOY:50: string ran past end of line Warning: /tmp/tmpNrezOY:54: string ran past end of line Warning: /tmp/tmpNrezOY:55: string ran past end of line Warning: /tmp/tmpNrezOY:56: string ran past end of line Warning: /tmp/tmpNrezOY:57: string ran past end of line Warning: /tmp/tmpNrezOY:58: string ran past end of line Warning: /tmp/tmpNrezOY:59: string ran past end of line Warning: /tmp/tmpNrezOY:63: string ran past end of line Warning: /tmp/tmpNrezOY:64: string ran past end of line Warning: /tmp/tmpNrezOY:68: string ran past end of line Warning: /tmp/tmpNrezOY:69: string ran past end of line Warning: /tmp/tmpNrezOY:70: string ran past end of line Warning: /tmp/tmpNrezOY:71: string ran past end of line Warning: /tmp/tmpNrezOY:72: string ran past end of line Warning: /tmp/tmpNrezOY:73: string ran past end of line Warning: /tmp/tmpNrezOY:77: string ran past end of line Warning: /tmp/tmpNrezOY:78: string ran past end of line Warning: /tmp/tmpNrezOY:82: string ran past end of line Warning: /tmp/tmpNrezOY:83: string ran past end of line Warning: /tmp/tmpNrezOY:84: string ran past end of line Warning: /tmp/tmpNrezOY:85: string ran past end of line Warning: /tmp/tmpNrezOY:86: string ran past end of line Warning: /tmp/tmpNrezOY:87: string ran past end of line Warning: /tmp/tmpNrezOY:88: string ran past end of line Warning: /tmp/tmpNrezOY:89: string ran past end of line Warning: /tmp/tmpNrezOY:90: string ran past end of line Warning: /tmp/tmpNrezOY:91: string ran past end of line Warning: /tmp/tmpNrezOY:92: string ran past end of line Warning: /tmp/tmpNrezOY:93: string ran past end of line Warning: /tmp/tmpNrezOY:94: string ran past end of line Warning: /tmp/tmpNrezOY:95: string ran past end of line Warning: /tmp/tmpNrezOY:96: string ran past end of line Warning: /tmp/tmpNrezOY:97: string ran past end of line Warning: /tmp/tmpNrezOY:98: string ran past end of line Warning: /tmp/tmpNrezOY:99: string ran past end of line Warning: /tmp/tmpNrezOY:100: string ran past end of line Warning: /tmp/tmpNrezOY:101: string ran past end of line Warning: /tmp/tmpNrezOY:102: string ran past end of line Warning: /tmp/tmpNrezOY:103: string ran past end of line Warning: /tmp/tmpNrezOY:104: string ran past end of line Warning: /tmp/tmpNrezOY:105: string ran past end of line Warning: /tmp/tmpNrezOY:106: string ran past end of line Warning: /tmp/tmpNrezOY:107: string ran past end of line Warning: /tmp/tmpNrezOY:108: string ran past end of line Warning: /tmp/tmpNrezOY:109: string ran past end of line Warning: /tmp/tmpNrezOY:110: string ran past end of line Warning: /tmp/tmpNrezOY:111: string ran past end of line Warning: /tmp/tmpNrezOY:112: string ran past end of line Warning: /tmp/tmpNrezOY:113: string ran past end of line Warning: /tmp/tmpNrezOY:114: string ran past end of line

Thanks for reporting this!
When I copy-paste that network into my instance of DIGITS, it works just fine. It looks like there's some sort of issue with the newline characters. When you copy and paste the text in your above post back into DIGITS, does it work?
Also, what version of pydot are you using? Here's what I have installed:
$ pip list | grep -i dot
pydot (1.0.28)
pydot2 (1.0.33)

It crashes even after copy-pasting again from here. My pydot is:
$ pip list | grep -i dot
pydot (1.0.28)

It looks like this is your problem:
http://stackoverflow.com/questions/29055715/drawing-network-in-caffe-causes-pydot-to-throw-end-of-line-errors
Try that fix and see if it works for you. I'm still not sure if this is an issue with caffe or with your installation.

That fixed the crash. Thank you.
I'd say this issue should be added to the troubleshooting section in the DIGITS readme or a pull request with the fix from Stack Overflow should be sent to the Caffe master. Not sure which is better.

It does't break anything on my machine, but I'd like to know why it works for me and not for you before submitting a patch.
Which OS are you running? Which version of python? This is my system:
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 14.04.2 LTS
Release:	14.04
Codename:	trusty

$ python --version
Python 2.7.6

$ dpkg -s graphviz | grep -i version
Version: 2.36.0-0ubuntu3.1

I am on a freshly updated Gentoo Linux:
$ uname -srmv
Linux 3.18.11-gentoo #9 SMP Sun Apr 26 18:07:58 MSK 2015 x86_64
$ python --version
Python 2.7.9
$ eix graphviz | grep -i installed
     Installed versions:  2.26.3-r4^t(02:54:36 21/04/15)(cairo gtk nls python -doc -examples -java -lasi -perl -ruby -static-libs -tcl ELIBC="-FreeBSD")

Ok wow, that's a lot of versioning mismatch. I'd mention you're on gentoo if you create a pull request against caffe.
Closing this issue. We'll pick up the fix for this in the next version of NVIDIA/caffe. Until then, if anybody else runs into this issue and they're not running Gentoo, please let me know!


How to prevent submit form in "register.js"

Hi -
I would like to further validate the registration form for new users in register.js.
So I added an event for "submit form". Unfortunately the "submit #register_form" event that is auto-generated is called first, so I have no way to prevent the normal validation from running.
Any tips?

A work around is modifying "submit #register_form" event at the  templates/ui/bootstrap3/pages/register.js file. For windows look at the installation directory , for linux and mac look at under ~/.meteor-kitchen
Or to make a server side validation you can use on_user_created_code/on_user_created_source_file directives in the json file.

@xauxatz as Kadir said, but I just want to add: maybe it's better practice to copy ~/.meteor-kitchen/templates/ui/bootstrap_or_whatever/pages/login.* into directory where is your .json input, and in login page use "custom_template" instead "template". That way, your modifications to original login form template will not be overwritten when you upgrade kitchen.

This seems not to be a very pretty way of making some additional
validation before the user is created.
I want to check that the user's email address is from a certain domain
before he gets access to the tool. Do you have any other ideas for how I
can get this functionality without having to modify a base template?
On 08-Oct-15 15:31, Petar Korponaić wrote:

@xauxatz https://github.com/xauxatz as Kadir said, but I just want
to add: maybe it's better practice to copy
|~/.meteor-kitchen/templates/ui/bootstrap_or_whatever/pages/login.*|
into directory where is your .json input, and in login page use
"custom_template" instead "template". That way, your modifications to
original login form template will not be overwritten when you upgrade
kitchen.
—
Reply to this email directly or view it on GitHub
https://github.com/perak/kitchen-site/issues/149#issuecomment-146545813.

Yiu should do it server-side, so use on_user_created_code.

Hi - on_user_created_code unfortunately doesn't give me a way to return
true or false based on an extra validation of the user.
It would be very nice to get a before_user_created() function or similar
in the next version :-)
Alternatively, I can see there is a "blocked" role for users that are
blocked. Is there a way to set a set of user as blocked prior to them
registering?
On 08-Oct-15 17:21, Petar Korponaić wrote:

Yiu should do it server-side, so use |on_user_created_code|.
—
Reply to this email directly or view it on GitHub
https://github.com/perak/kitchen-site/issues/149#issuecomment-146577423.

If anyone else needs to do this, I managed to do it by inserting the
following code in "On user created code" in the application in the
kitchen GUI:
 if( user.emails[0].address.search<EMAIL_ADDRESS>== -1 )
     user.roles.push( "blocked" );

This results in anyone not from the correct domain being blocked.
On 09-Oct-15 15:12, Claus Skaaning wrote:

Hi - on_user_created_code unfortunately doesn't give me a way to
return true or false based on an extra validation of the user.
It would be very nice to get a before_user_created() function or
similar in the next version :-)
Alternatively, I can see there is a "blocked" role for users that are
blocked. Is there a way to set a set of user as blocked prior to them
registering?
On 08-Oct-15 17:21, Petar Korponaić wrote:

Yiu should do it server-side, so use |on_user_created_code|.
—
Reply to this email directly or view it on GitHub
https://github.com/perak/kitchen-site/issues/149#issuecomment-146577423.


caja playground seems to be completely broken now

I have never tried the caja playground before. Trying it now (navigating firefox on mac to http://caja.appspot.com/, then clicking on the "canvas clock" example on the left), I just get three server error messages (two immediately, then the third after a half second or so), like this:

This has happened several times in a row. It also happens in Safari.

Agreed, I am getting the same issues even using the examples on the left

This problem appears to be some Java 8 (class file major version = 52) classes getting into the playground build. Currently searching for the exact culprits.

It's the playground sources itself not being targeted to 1.7.

Fixed by commit 95463c09b46a9ac78a1171d810bfd5e2bf5476cc.


Add serialization reference test & bump Legolas compat

This should be merged before #21!

Maybe we can drop pre-Legolas v0.4 in this PR; I think that's still non-breaking, nothing from our API changed. (The problem is nested serialization doesn't work right on pre-v0.4, as I'm sure you remember Dave 😄).


Modifying conanfile.py does not trigger build on CI

Conanfile.py is responsible for specifying most of our third party dependencies. We need to make sure that modifications to conanfile.py triggers builds.

https://github.com/google/orbit/pull/4849


React Router Reloads Page on First Click

Hi there,
Was trying to use a modified version of this kit to set an isomorphic SPA but started encountering a problem where the page refreshed the first time I clicked a react-router Link component. Thought I had borked something, but I was able to re-produce on a fresh install only modifying the main page to have 2 links to different routes. Not sure if an issue with koa, react-router or webpack, currently investigating. You can see the error if you run my fork, and specifically the changes I made are here.
• Browsers Tested: Latest Chrome, Latest Firefox
• Node version: 5.2.0
• Npm version: 3.3.12
Any help greatly appreciated, thanks! :fist:

@mannynotfound have you solved this?

@RickWong any guesses?

@anton-aleksandrov No code = no idea. Sorry.

@RickWong you've probably missed this in first message:

You can see the error if you run my fork, and specifically the changes I made are here.

fork
commit

@RickWong if this code is not what you mean, could you specify what is not clear - i'll gladly provide more examples or will point on specific places in the provided code

I can confirm that I am seeing this same issue.


Cannot save array values on record creation

When I try to create a record with array property inside it ingores provided array values and saves a record without them.
P.S. edit works fine, so the issue is only with creation
Installed libraries and their versions

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
PostgreSQL:13.3
To Reproduce
Steps to reproduce the behavior:

Click on 'Create new' on resource with array field inside
Fill array field with values
Bug: It will create record without those provided array values

Expected behavior
It should save array values on creation of a new record
Screenshots
If applicable, add screenshots to help explain your problem.

After creation:

AdminJSOptions with schema
Paste your AdminJS config with database schema if it could be related to the issue
AdminJS resource config
CompanyResource = {
  resource: Company,
  options: {
    navigation: {
      name: null,
    },
    properties: {
      id: {
        name: 'string',
        isVisible: false,
      },
      name: {
        type: 'string',
      },
      email: {
        type: 'string',
      },
      phoneNumbers: {
        isArray: true,
        type: 'string',
        isVisible: { list: false, filter: false, show: true, edit: true },
      },
    },
  },
};

database schema:
-- auto-generated definition
create table companies
(
    id            uuid default gen_random_uuid() not null
        constraint "PK_d4bc3e82a314fa9e29f652c2c22"
            primary key,
    name          varchar                        not null,
    email         varchar                        not null,
    socials       jsonb,
    phone_numbers text[]                         not null,
    comments      text
);

alter table companies
    owner to postgres;

Additional context
Before I added default value as empty array array[]::text[] to phone_numbers it was throwing me null violation exception from postgres.

Closed, because it's related to a different package and here's a PR for it:
https://github.com/SoftwareBrothers/adminjs-typeorm/pull/16


Triangles Flicker in Tempoross Water

Please check if your issue is not a duplicate by searching existing issues
Describe the bug
Triangles flicker in the Tempoross water.
To Reproduce

Go to Tempoross and wait around the water.

Note: Could not get a friend to reproduce.
Expected behavior
Triangles do not rapidly appear and flicker in the water.
Screenshots

Environment (please complete the following information):

OS: Windows
RuneLite version: 1.7.24
Launcher version: 2.1.7

CPU: AMD Ryzen 7 5800X
GPU: Nvidia 3070

Check your GPU Driver version, and your windows version too.

Related to #209

An update was released today that should have fixed this. :)


Automatic parsing of the url optional.

Use case:
This works
http://where.yahooapis.com/v1/places$and(.q('barc*'),.type(7));count=6?format=json&appid=
This doesn't
http://where.yahooapis.com/v1/places$and(.q('barc*'),.type(7));count=6?format=json&appid=

i believe this was reported in node.js and is fixed in master

sweet! :)


Let's not forget these useful tools!

Context
The on-call developer often gets asked to audit items and email users with vulnerabilities. Let's make it easier for them by not having stale code.
Change
Monitor Handdrill & ThemeAudit repositories for PRs!
Cc
@envato/marketplace

Woo! :+1:

:+1:


firebase_admob is overlapping with CupertinoActionSheet and BottomModalSheet Android

I'm facing overlapping issue with

firebase_admob

Banner is overlap while open CupertinoActionSheet or BottomModalSheet. Look at below image

I tried to solve but couldn't fix it. Look at below piece of my code.
I took BannerAd object and and mange dispose();
class _SetupChatScreenWidgetState extends State<SetupChatScreenWidget> {
  BannerAd myBanner;

  @override
  void initState() {
    _setupBannerAd();
    super.initState();
  }

_setupBannerAd() async {
    _mangeBannerAdVisibility(false);
    myBanner = BannerAd(
      adUnitId: AdMob.bannerUnitId,
      size: AdSize.smartBanner,
      targetingInfo: AdMob.targetingInfo,
      listener: (MobileAdEvent event) {
        print("BannerAd event is $event");
      },
    );

    myBanner
      ..load()
      ..show(
        anchorOffset: 0.0,
        anchorType: AnchorType.bottom,
      );
  }

  _mangeBannerAdVisibility(bool isVisible) {
    if (isVisible) {
      _setupBannerAd();
    } else {
      if (myBanner != null) {
        myBanner.dispose();
        myBanner = null;
      }
    }
  }
}

/////////////////////====== HERE IS CODE FOR CupertinoActionSheet =========//////////////////

askForProfilePic() {
    _mangeBannerAdVisibility(false);
    showCupertinoModalPopup(
      context: context,
      builder: (BuildContext context) => CupertinoActionSheet(
        title: const Text('Choose your options',
            style: TextStyle(
                fontSize: 12,
                fontWeight: FontWeight.bold,
                fontFamily: 'Montserrat')),
        actions: <Widget>[
          CupertinoActionSheetAction(
            child: const Text('From Camera',
                style: TextStyle(
                    fontSize: 17,
                    fontWeight: FontWeight.bold,
                    fontFamily: 'Montserrat')),
            onPressed: () {
              Navigator.pop(context, 'camera');
              getImage(from: 'camera');
            },
          ),
          CupertinoActionSheetAction(
            child: const Text('From Gallery',
                style: TextStyle(
                    fontSize: 17,
                    fontWeight: FontWeight.bold,
                    fontFamily: 'Montserrat')),
            onPressed: () {
              Navigator.pop(context, 'gallery');
              getImage(from: 'gallery');
            },
          ),
        ],
        cancelButton: CupertinoActionSheetAction(
          child: const Text('Cancel',
              style: TextStyle(
                  fontSize: 17,
                  fontWeight: FontWeight.bold,
                  fontFamily: 'Montserrat')),
          isDefaultAction: true,
          onPressed: () {
            Navigator.pop(context, 'Cancel');
          },
        ),
      ),
    ).whenComplete(() {
      _mangeBannerAdVisibility(true);
    });
  }

Above code is working with iOS but doesn't work with android.

@iPatel007
This issue has been moved to https://github.com/FirebaseExtended/flutterfire/issues/1169. Any further collaboration will be done there.

Since firebase_admob issues require work on the Flutter side as well as the plugin side these issues will remain open here as well until resolved.

Actually in I have checked at iOS simulator and its working well in iOS but if same code I checked on Android device then getting overlap on it.

any update ?

Any updates?

Closing, as firebase_admob is now deprecated.


Fix opening of gzipped files when 'write' is off

The standard plugin gzip.vim throws an error when you try to open a compressed file and 'write' is off.
Steps to reproduce:

create a gzipped file file.gz
open it like this: vim -M file.gz

This is especially a problem if you have your help files gzipped, because then there is an error every time you open a random file using vim -M and then open the Vim help.
Solution: temporarily enable 'write' when writing the temp file.

Thanks, I'll include it.


Atlassian Marketplace - Allure

I can't actually upload plugins since our company is on a hosted version of Bamboo. Is there an ETA on the possibility of Allure being added to the Atlassian Marketplace in the near future?
Search:
https://marketplace.atlassian.com/search?q=allure

@vania-pooh I forgot to kick myself to kick you. :smile: Any update on this?

@dmhalejr will work on this next week. Sorry for these delays but the end of the year was really difficult.

@vania-pooh No worries. Thanks for this!

@dmhalejr resubmitted plugin for approval to Atlassian Marketplace.

@dmhalejr still on review.... :(

@dmhalejr still waiting for feedback from Atlassian side.

@vania-pooh Thanks for the updating! I feel like I need to buy you guys a beer for the trouble. :beers:

@dmhalejr we did it. https://marketplace.atlassian.com/plugins/ru.yandex.qatools.allure.allure-bamboo-plugin

@vania-pooh Looks great that this item is now available on the Atlassian Marketplace as a server solution, but my company is still utilizing the cloud solution of Bamboo currently.
Hate to trouble you again, but is it in the realm of possibility to get this item to be a cloud based solution as well?

Hmm, according to this query: https://marketplace.atlassian.com/plugins/app/bamboo/popular?cost=free&hosting=cloud there're only 4 free plugins for cloud. And I don't see any instruction how to get plugin supported by the cloud installations. If you could provide us such information we would try to get Allure added to the cloud.


"Code" and "Abbreviation" meaning in "SQL Server Name Convention"

It's not clear to me the meaning of the following columns:

Code
Abbreviation

In the document "SQL Server Name Convention and T-SQL Programming Style"

Hi, @matteogll
Code - internal sql server column in sys.objects and others, determines type of object.
An abbreviation (from Latin brevis, meaning short[1]) is a shortened form of a word or phrase, for example, FANG - means acronym of Facebook Amazon Netflix Alphabet(Google).

Hi, @matteogll
Code - internal sql server column in sys.objects and others, determines type of object.
An abbreviation (from Latin brevis, meaning short[1]) is a shortened form of a word or phrase, for example, FANG - means acronym of Facebook Amazon Netflix Alphabet(Google).


Needed to add using to Program.cs after adding initialise code

Hi, great tutorial.
Using 2.1 I needed to add "using ContosoUniversity.Data;" to the Program.cs file after completing the step to Update the Program.cs file to initialise the test data initialisation.

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

ID: 7a54c97f-ddd4-b041-5e5f-a2df009ace50
Version Independent ID: fa488196-1f98-08ea-adcc-17d9dac86727
Content: Razor Pages with Entity Framework Core in ASP.NET Core - Tutorial 1 of 8
Content Source: aspnetcore/data/ef-rp/intro.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Thanks for than, the section that talks about adding a student is here
https://docs.microsoft.com/en-us/aspnet/core/data/ef-rp/intro?view=aspnetcore-2.1&tabs=visual-studio
Towards the botton, in the section "Test the app" is mentions
Run the app and accept the cookie policy. This app doesn't keep personal information. You can read about the cookie policy at EU General Data Protection Regulation (GDPR) support.
Select the Students link and then Create New.
Test the Edit, Details, and Delete links.
So on closer inspection, it doesn;'t actually say to create a student, but inferrs it
Later on it says just before initializing the DB
"Delete any student records and restart the app. If the DB is not initialized, set a break point in Initialize to diagnose the problem." Perhaps here, it could simply mention that if you did create a student, increment the studentID appropriately. That way, it would be clear to newbies like me  :-)
Thanks again guys, great work with these tutorials, really really good.

Perhaps here, it could simply mention that if you did create a student, increment the studentID appropriately.

The DB handles that, not you.


Red vertical bar for current moment

Dear Developer!
I suggest adding a red vertical bar, in order to identify the current moment when viewing the schedule. We could decide to display it or not.
Good day!

This already exists @LouisK-Lenrek -- see src/styles.ts (secondary color)