Example running on GPUs not CPU

Hi again all,
I've managed to get the README example for SGEMM working through my Ruby FFI into clBLAS but for some reason it will only run on my GPUs, not the CPU. A collaborator of mine is using identical code and it's running just fine on his CPU, so I don't suspect the code.
The exact issue is that I'm getting an INVALID_EVENT error from openCL. So it seems that for some reason the kernel isn't getting enqueued on my CPU and the event isn't getting created.
Is there any relevant system information I could give that would be helpful?
Me and my collaborator are both using Intel CPUs. I'm on openCL 1.1.
I don't really expect anyone to dig into the Ruby FFI for me (though that would be awesome) but perhaps you can give me a direction to bug hunt?

@KCErb which OS are you on ?

Yup that's a good place to start :blush:
I'm on OS X 10.10.1

@KCErb This is a known issue. The CPU implementation of OpenCL on OSX is a little bit funky. While it does not break the OpenCL spec, their implementation makes it harder to write a general purpose library. For example, the maximum workgroup size supported for some kernels changes to "1" which makes the code inherently serial at that point.
The CPU implementations work on other operating systems because they are implemented by the hardware manufacturers instead of Apple.
The bottom line is that it is very hard to support CPUs on OSX.

Oh, OK then. That's the sorta answer I like to hear!
Thanks @pavanky
(In case my tone could be misinterpreted I'm not being sarcastic. I really do like straightforward known answers. Sort of a bummer that OS X makes it hard, but it's not a big deal in the long run.)


Allow specifying media type for a converted schema1 manifest for compatibility with distribution

I want to utilize containerd's schema1.Converter to migrate a registry's schema1 manifests to schema2 manifests in the storage backend (not only for pull conversion). I've written a POC that does just that, except that registry doesn't accept manifest mediatype for application/vnd.oci.image.manifest.v1+json.
I added an optional ConvertOpt as an argument to (*Converter).Convert to specify the manifest and manifest config media types. If not provided, it will default to the OCI media types.

LGTM


Overlap between Entities and Persons

I've been working towards #44 by making some Python classes matching the CFF spec, which YAtiML can then map to the YAML format. I'm ending up with a lot of List[Union[Person, Entity]], which led me to investigate the relationship between these types a bit further. It seems that there's quite a bit of overlap, and that there's room for a richer object model. Jurriaan says that you've been thinking about the information model, so I figured I'd make this issue with a bit of analysis and see what you think.
Here's a table with all attributes in either Person or Entity:

Attribute
Person
Entity

family_names
+

given_names
+

name_particle
+

name_suffix
+

affiliation
+

address
+
+

city
+
+

region
+
+

post_code
+
+

country
+
+

orcid
+
+

email
+
+

tel
+
+

fax
+
+

website
+
+

name

+

date_start

+

date_end

+

location

+

It seems that there's quite a lot of overlap. Also, it seems that some of these attributes are related, which the spec also mentions for e.g. personal names. If we factor those things out, then we can simplify Person and Entity:
PersonalName

family_names
given_names
name_particle
name_suffix

PostalAddress

address
city
region
post_code
country

ContactInformation

postal_address: PostalAddress
email
tel
fax
website

Person

name: PersonalName
affiliation
contact: ContactInformation

Entity

name
contact: ContactInformation

That looks nice, but there are some attributes missing: date_start, date_end and location. If I understand correctly, those were added in order to be able to describe conferences. I'm not so sure that a conference is an entity; and if I understand correctly, entities are mostly organisations. So what if we renamed Entity to Organization, then added an Event class to describe conferences and workshops and such, and made all of them children of a new abstract Entity class:
Entity
Person(Entity)

name: PersonalName
affiliation
contact: ContactInformation

Organization(Entity)

name
contact: Contactinformation

Event(Entity)

name
date_start
date_end
location

and then all the places that are currently List[Union[Person, Entity]] can become List[Entity].
There's a conference attribute somewhere, which with this model could be of type Event, so that putting a Person or Organization there would be an error.
This would also allow e.g. making name, date_start and location required for an Event, while still allowing people to write a Person instead if they don't want to refer to an Event. This would help programmers by giving them a few more guarantees to work with for the input data.
This model looks simpler to me, as it has fewer attributes per class, but on the other hand, it would make the Python-side object model quite different from the YAML-side structure, which may be more confusing to the users.
From the perspective of implementing a Python library with YAtiML, the above could become part of the object model (i.e. these are actual Python classes that you get from reading a CFF file) without being part of the YAML specification (which could be the current flat model). Of course, it'd also be possible to reflect this in the YAML spec, but that would be an incompatible change resulting in a CFF 2. Or we could have a flat object model and the flat YAML spec. Opinions more than welcome :).

Looked at this today, now that we have a JSON Schema. Decided to leave open for now, as this may help structure future versions of schema.json and further reduce duplication, although JSON Schema doesn't support real inheritance. Added the enhancement label to make this easier trackable.

Comment from today's discussion: Using entity's for affiliations has two issues:

entity's can themselves have an affiliation, which would allow for infinite recursion
entity's have a date-start/date-end which could be misused to represent the timeframe of the affiliation, but could then be misinterpreted as being the lifetime of the entity itself (e.g., a uni only existing for 3 years).

The approach suggested here would help us shape better classes also w.r.t. entity affiliations.

As a long-ago database guy, I'd say that an entity is an object, while an affiliation is a relationship between two things. That's a fundamentally different kind of thing.
As for recursion, that depends on whether affiliation is considered a directional relationship. An affiliation between say a researcher and an institution is directional I think, they're not equal partners.
Affiliations between organisations can be either non-directional (equal partners) or directional (subsidiaries). If affiliations are directional, then what you get are hierarchies, with entities (e.g. a university) having subsidiaries (institutes, groups), which then employ researchers. If they're non-directional then you get a graph of somehow associated people and organisations.
I've been out of this for a long time, but maybe this helps to decide how to model things.


Changed hardcoded PETSc 3.19.0 version string

Use ${PETSC_VER} Dockerfile variable instead of the hardcorded 3.19.0 string

Hi @dabolding requesting PR review for these tiny changes.
I'm wondering if you guys have a set of guidelines for contributing to this project?
Thanks~


Would be good to have some unittests

The guess_layer function in gerber.py is pretty complicated, it would be nice to have some tests which check additions don't break existing use cases.

(Adding this because I'm about to send a pull request which includes tests :)

@kasbah pointed at https://github.com/tracespace/whats-that-gerber/blob/master/test/filenames-by-cad.js

Maybe we could make that available as JSON and use the exact same data?

Hi guys. Thanks for the contribution @mithro that's great. Excellent idea @kasbah that was my first thought too - it would be a great idea to make it JSON and load it up. No point duplicating effort.

For providing the whats-that-gerber test cases as JSON, we have a couple options:

Convert the existing filenames-by-cad.js to a JSON file and leave it where it is
Spin out the test case JSON file into its own node module hosted on npm and wherever else (GitHub releases would be easy)

What would be the easiest way for you guys to get and consume this JSON file?

Either way works fine, we can just grab it directly over HTTP from where ever it is. If it stays where is is it might be a good idea to add a note that it's used externally so that fact doesn't get forgotten sometime in the future.

I would suggest you put a URL pointing to a specific version, either through npmcdn or Github (or both?)
<EMAIL_ADDRESS>https://raw.githubusercontent.com/tracespace/whats-that-gerber/v2.0.3/test/filenames-by-cad.js

Whats-that-gerber 2.1.0 has been released with the test cases as JSON. I would suggest you use this source<EMAIL_ADDRESS>


How to use model to detect objects?

Hi，you link provides *.caffemodel, but I do not find solver.prototxt in root directory(like faster_rcnc_test.pt in py-faster-rcnn).
By the way, Should I use tools/demo.py(like py-faster-rcnn) to detect objects?

@Eniac-Xie Hi, Can you give me some advice? Thank you in advance!

!!!


ReflectionClassLoader on Java 16

invalid plugin exception
Log paste: https://bytebin.lucko.me/RnZpFdicbT (modified to remove unsafe stuff)
Reproduced on both paper and yaptopia (bukkit).
luckerms is the only plugin that doesn't work on java 16
There are plenty of reasons to use java 16
java 16 gets 36cps, java 15 just 27 (on my server)
its way faster and it fixes garbage colection bugs from previous versions.

Thanks for reporting, I'll look into this and get back to you :)

Thanks for reporting, I'll look into this and get back to you :)

According to the new Java 9 module system, this shouldn't even work with Java 9, due to the much more strict encapsulation that was introduced that also applies to reflection

According to the new Java 9 module system, this shouldn't even work with Java 9, due to the much more strict encapsulation that was introduced that also applies to reflection

It works fine up until J16 because we're able to open the package to the 'unnamed module' at runtime.
Seems this is no longer possible, so will need a new solution.

It works fine up until J16 because we're able to open the package to the 'unnamed module' at runtime.
Seems this is no longer possible, so will need a new solution.

Shud i use pidgeon upstream? Its in english? No breaking changes? @karlatemp
是英文吗？没有不兼容的更改？
https://github.com/Karlatemp/LuckPerms-Mirai/commit/45ea8dab5bc37acf4f515d6b13dc70bfe1b7fd57
bump, upstream might contain valuable code

Shud i use pidgeon upstream? Its in english? No breaking changes? @karlatemp
是英文吗？没有不兼容的更改？
https://github.com/Karlatemp/LuckPerms-Mirai/commit/45ea8dab5bc37acf4f515d6b13dc70bfe1b7fd57
bump, upstream might contain valuable code

Hey, I think I'm going to try a more long term solution instead of more hacks - but thank you!

Hey, I think I'm going to try a more long term solution instead of more hacks - but thank you!

➜  /Users/luck/Desktop/servers/tuinity /Library/Java/JavaVirtualMachines/zulu-16.0.83.jdk/bin/java -DPaper.IgnoreJavaVersion=true -jar server.jar nogui
Unsupported Java detected (60.0). Only up to Java 15 is supported.
System Info: Java 16 (OpenJDK 64-Bit Server VM 16-ea+33) Host: Mac OS X 11.1 (aarch64)
Loading libraries, please wait...
...
[18:23:13 INFO]: This server is running Tuinity version git-Tuinity-"d3ee222" (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)
...
[18:23:13 INFO]: [LuckPerms] Loading LuckPerms v5.2.107
[18:23:13 INFO]: Server permissions file permissions.yml is empty, ignoring it
[18:23:13 INFO]: [LuckPerms] Enabling LuckPerms v5.2.107
[18:23:13 INFO]:         __
[18:23:13 INFO]:   |    |__)   LuckPerms v5.2.107
[18:23:13 INFO]:   |___ |      Running on Bukkit - Tuinity
[18:23:13 INFO]:
[18:23:13 INFO]: [LuckPerms] Loading configuration...
[18:23:13 INFO]: [LuckPerms] Loading storage provider... [H2]
[18:23:13 INFO]: [LuckPerms] Loading internal permission managers...
[18:23:13 INFO]: [LuckPerms] Performing initial data load...
[18:23:14 INFO]: [LuckPerms] Successfully enabled. (took 449ms)

I have a solution that works nicely on J16 without any hacks :)
It needs quite a bit of tidying up, but I'll push it as soon as that's done.

Fixed in 75d8f00400cd521b7931476aa60f7ae364ed2bcd


refactor(config): Move config handling to core.ps1

Migrate ~\.scoop to ~\.config\scoop\config.json

~\.config is used by other tools too
Proper highlighting in text editor because of .json file extension

Remove hashtable and hashtable_val functions because ConvertFrom-Json is enough

These functions are obsolete because ConvertFrom-Json can handle all data formats

Add PowerShell 6 time conversion to tests
Removes config.ps1 imports from bin\*.ps1 and libexec\*.ps1

scoop alias requires changes to remove the hashtable specific stuff.

When moving config, there are two warn() which is defined below and give errors (warn not defined). Should replace with hardcode or put #message(L138-L189) at top of core.ps1.

L83-L87: If config value is false, $scoopConfig.$name will be false and fall to else section even if there is $name in config...
Test case:
scoop config debug true # okay
scoop config debug false # okay
scoop config debug false # error

It can be fixed by replacing L83-L87 with
$scoopConfig | Add-Member -Force -NotePropertyMembers @{ $name = $value }

That is, force add note member (we want to set it, so force is okay, no matter if there is $name)

Another implementation: pre-defined config file that contained all config option with default value, so we could only modify existing value, no need to add new one. The pre-defined one can be in scoop's root dir and copy to config home during first run. That may help user to know what configurable options are scoop having.

There is only one thing remaining... Since set_config has output now, we should Out-Null it when we don't need, otherwise, e.g., scoop update will produce:
λ  scoop update
Updating Scoop...
Updating 'Ash258' bucket...
Updating 'dorado' bucket...
Updating 'extras' bucket...
Updating 'java' bucket...
Updating 'nerd-fonts' bucket...
Updating 'nih' bucket...
Updating 'rasa' bucket...
Updating 'versions' bucket...

SCOOP_BRANCH           : master
rootPath               : E:\Scoop
aria2-enabled          : False
msiextract_use_lessmsi : True
globalPath             : E:\ScoopG
debug                  : False
lastupdate             : 2019-03-27T11:20:17.0666758+08:00
cachePath              : E:\ScoopC
SCOOP_REPO             : https://github.com/lukesampson/scoop

Scoop was updated successfully!

Black lines above is added by scoop itself, that's messy, I think.

Rebased onto develop and added missing | Out-Null redirections. Please test again :smile:


Make repo more friendly to non-technical people

Pulled in from void's issues.
athousandwordsworth:

I think that we need to do some more work on the readme page. As a noob I'm still confused when I land on this repo readme. Pretend that you've never seen github before... That's who we're aiming to be accessible for, imo.
Suggestions:

insert second paragraph detailing "what exactly is/ how to use/ access individual text files + you don't need an account" At top of landing/ readme page
move "git talk" (pull requests appreciated etc) to bottom of readme
possible transcribing 101 folder

The new wiki pages should help with this


Shared lib error at runtime with planor R package

Describe the bug
A shared object 'Rcpp.so' not found error is raised at runtime when executing a R script depending on the planor package
To Reproduce
Steps to reproduce the behavior:

shell.nix:

let
  nixpkgsRev = "bc260badaebf67442befe20fb443034d3a91f2b3"; # 20.09-beta
  nixpkgsSha256 = "1iysc4xyk88ngkfb403xfq5bs3zy29zfs83pn99kchxd45nbpb5q";

  nixpkgs = fetchTarball {
    url = "https://github.com/nixos/nixpkgs/archive/${nixpkgsRev}.tar.gz";
    sha256 = nixpkgsSha256;
  };
  pkgs = import nixpkgs {};
  stdenv = pkgs.stdenv;
  renv = pkgs.rWrapper.override{ packages = with pkgs.rPackages; [
      ggplot2
      knitr
      jsonlite
      remotes
      RcppArmadillo
      pkgs.rPackages.planor
      Rcpp
      R_utils
      ];};
in with pkgs; {
  myProject = stdenv.mkDerivation {
    name = "factorial-design";
    version = "1";
    src = if pkgs.lib.inNixShell then null else nix;

    buildInputs = [
      glibcLocales
      renv
    ];
  };
}

An R script: main.R

library("planor")
library("R.utils")

ex1Key <- planor.designkey(factors=c("A","B","C","D"),
nlevels=rep(3,4),
model=~(A+B+C+D)^2,
estimate=~A+B+C+D,
nunits=3^3)
print(ex1Key)

Run the script in the nix-shell:

> Rscript main.R

An Error is raised:

Error: package or namespace load failed for 'planor' in library.dynam(lib, package, package.lib):
 shared object 'Rcpp.so' not found
Execution halted

Expected behavior
The expected behavior is that there is no error.
Screenshots
NA
Additional context
With the older nixpkgs revision 5272327b81ed355bbed5659b8d303cf2979b6953 (20.03) the script runs successfully
Notify maintainers
@jabranham
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 5.4.0-48-generic, Ubuntu, 20.04.1 LTS (Focal Fossa)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.7`
 - channels(root): `"nixpkgs-19.09pre190327.54f385241e6"`
 - channels(etixier): `"unstable-20.09pre236721.840c782d507"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixpkgs`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Planor was removed from CRAN and hence isn't in rPackages.


requeue when all addon agent manfiestworks are not deleted

Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>

/assign @elgnay

/lgtm


Vulkan: Low-roughness reflections from reflection probes look blocky

Godot version
Master (1f690f1)
System information
Windows 10, RX 5600 XT Vulkan-clustered
Issue description
When using reflection probes in combination with materials with a low roughness (0.01 - 0.25) it appears like a faint, but very low res version of the reflection is layered on top of the higher-res sharp reflection.

On the surface, it appears like the issue comes from the fact that our downsampled mipmap version of the reflections uses a 64x64 base size:
https://github.com/godotengine/godot/blob/1f690f197a4fb0809afb2f59bf78e4d3d89fd847/servers/rendering/renderer_rd/renderer_scene_sky_rd.cpp#L399-L408
But I am not sure that is the problem as that code has been in place for a long time and the problem is just being noticed now. And that code comes from the original fast filter implementation (paper here)
Thank you to @Lyuma and Unfa for spotting this one and discussing on RocketChat
Steps to reproduce
Run the MRP. This issue appears whenever roughness is low (under 0.25) and reflection probes are used.
Minimal reproduction project
reflection-test-bug.zip

I can confirm this on 4.0.alpha 2e8862887 (Linux, NVIDIA 510.68.02).
Appearance with the Vulkan Mobile backend:


chore(main): release sinkchart 1.6.3

:robot: I have created a release beep boop
1.6.3 (2023-01-10)
Bug Fixes

crash when post-processing empty graphs (9bddc17)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/sandworm-hq/sinkchart/releases/tag/sinkchart-v1.6.3 :sunflower:


Add comments

Codecov Report

Merging #126 (3f2269d) into main (edb647c) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #126   +/-   ##
=======================================
  Coverage   74.28%   74.28%
=======================================
  Files          42       42
  Lines        1828     1828
  Branches      254      254
=======================================
  Hits         1358     1358
  Misses        351      351
  Partials      119      119

Impacted Files
Coverage Δ

.../composelife/dispatchers/ComposeLifeDispatchers.kt
0.00% <ø> (ø)

...kotlin/com/alexvanyo/composelife/HiltTestRunner.kt
0.00% <ø> (ø)

...poselife/dispatchers/TestComposeLifeDispatchers.kt
100.00% <100.00%> (ø)

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 edb647c...3f2269d. Read the comment docs.


Setup TravisCI (or something similar)

We now have a Travis setup for Linux / Python 2.6 - 3.5 and Mac OS X using the default system Python. It would be good to also check both GCC and CLANG, as well as the homebrew Python 2 and Python 3 versions on Mac.


[Feature] <Endpoint for calculating Internal Rate of Return (IRR),  Return on Assets (ROA),  Return on Equity (ROE), Debt Ratio,Equity Ratio,Times Interest Earned (TIE) Ratio, Working Capital Ratio, Dividend Discount Model (DDM) >

Are you adding a new feature?

[ x] YES
[ ] NO

Are you enhancing the old feature?

[ ] YES
[ x] NO

Is your feature request related to a problem?

[ x] YES
[x] NO

Describe your feature/enhancement.
I want to add the below functions
Present Value (PV): The current value of future cash flows, accounting for the time value of money.
Net Present Value (NPV): The difference between the present value of cash inflows and outflows, used to evaluate investment profitability.
Internal Rate of Return (IRR): The rate at which the NPV of an investment becomes zero, indicating its potential return.
Return on Assets (ROA): A ratio that measures a company's profitability relative to its total assets.
Return on Equity (ROE): A ratio that measures a company's profitability relative to its shareholders' equity.
Debt Ratio: A ratio that measures the proportion of a company's total debt to its total assets, indicating the level of financial leverage and risk.
Equity Ratio: A ratio that measures the proportion of a company's total equity to its total assets, indicating the extent of ownership held by shareholders.
Times Interest Earned (TIE) Ratio: A ratio that measures a company's ability to cover its interest expenses with its operating income, assessing its ability to meet interest obligations.
Working Capital Ratio: A ratio that measures a company's ability to cover its short-term liabilities with its short-term assets, indicating its liquidity and financial health.
Dividend Discount Model (DDM): A valuation method used to estimate the intrinsic value of a stock by discounting its future dividend payments back to their present value. It assumes that the present value of future dividends determines the stock's worth.
Can you add the feature by yourself?

[x ] YES
[ ] NO

Additional Information

please assign this to me ill send the pr right away

Among all you did mention - PV, NPV, ROE, DR; these are already there, You can make endpoints for the other remaining functions. But try to make different issues since, it will otherwise be considered as 1 PR.

okay i got it

Internal Rate of Return
Return on Assets
Equity Ratio
Times Interest Earned
Working Capital Ratio
Dividend Discount Model (DDM) these are still not there i searched it

Go ahead @shivvamm ;)

When are u making the pr?

Just give me sometime

@ighoshsubho  I would like to work on the issue

I'm already working on it
On Wed, 21 Jun, 2023, 5:27 pm Mridul Singhal, @.***>
wrote:

@ighoshsubho https://github.com/ighoshsubho I would like to work on the
issue
—
Reply to this email directly, view it on GitHub
https://github.com/Clueless-Community/fintech-api/issues/296#issuecomment-1600700621,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AN3ZKDWERB4CHXU3YPKCH4LXMLOQ7ANCNFSM6AAAAAAYRXSQ7A
.
You are receiving this because you were assigned.Message ID:
@.***>

i have made the changes and when i try to create a pr its says  Able to merge. These branches can be automatically merged.

Hello @shivvamm, this is Version 2 of Fintech API repository, there had been few major updates, please go through the docs to make further contributions. Thanks.


Handle old failed tasks on vCloud Entities

vCloud maintains a list of historical tasks for a vApp. These tasks are returned in the  Xml element of a GET vAPP response.
When BOSH recomposes a vApp (to merge in new VMs for example) currently it aborts the BOSH Task if any failed tasks are identified.
This PR enables a configurable time threshold @old_task_threshold which tells the vcd_client library to disregard tasks older than the value (in minutes). By default tasks older than an hour will be ignored.

Hello @tlawrence,
This resolves the following issue raised here:
https://github.com/cloudfoundry-incubator/bosh-vcloud-cpi-release/issues/10
Thank you for doing this!
Regards,
Andreas

Hello @tlawrence,
We were not able to cleanly apply this patch to the current vCloud release repo. Could you please make your changes against that repo?
$ git apply --verbose --check --directory=src/bosh_vcloud_cpi/ old_tasks.patch
Checking patch src/bosh_vcloud_cpi/lib/cloud/vcloud/vcd_client.rb...
Checking patch src/bosh_vcloud_cpi/lib/cloud/vcloud/xml/wrapper_classes/task.rb...
Checking patch src/bosh_vcloud_cpi/spec/assets/existing_vapp_template_instantiate_old_tasks_response.xml...
Checking patch src/bosh_vcloud_cpi/spec/assets/test-director-config.yml...
Checking patch src/bosh_vcloud_cpi/spec/unit/vcloud/vcd_client_spec.rb...
error: while searching for:
        task.stub(:operation).and_return(task_operation)
        task.stub(:details).and_return(task_details)
        task.stub(:status).and_return VCloudSdk::Xml::TASK_STATUS[:ERROR]

        entity.stub(:running_tasks) {[task]}
        entity.stub(:prerunning_tasks) {[]}

error: patch failed: src/bosh_vcloud_cpi/spec/unit/vcloud/vcd_client_spec.rb:255
error: src/bosh_vcloud_cpi/spec/unit/vcloud/vcd_client_spec.rb: patch does not apply
Checking patch src/bosh_vcloud_cpi/spec/unit/vcloud/xml/task_spec.rb...

Thanks,
Edwin & Felix

Will do, looks like the problem is due to RSpecupgrade on the bosh-vcloud-cpi-release repo.
seeing as those changes arent reflected here I guess that this repo is now dead and wont be commited to any more.
If so could the README be updated to reflect that? I would have made all changes to a fork of the other release repo if I had seen an obvious pointer here...
Thanks
Tim


[Do not merge yet] Use new ALFWorld release.

Hi, I will be soon making a new release for ALFWorld and it would be better for your project to use it instead.
Check out https://github.com/alfworld/alfworld/pull/45 to see how the new ALFWorld release will simplify the installation.

Thanks, @MarcCote . I'll wait for the Alfworld release and then merge it. We currently have to downgrade the gym version to run Alfworld and this will remove this step.

It has now been merged.

Ping. @dkmisra


Error while running function awesome

Just clean install nicks using your conf, but when I started showing error while running function
Stack traceback:
[c]: in function 'assert'
/Home/nekox/.config/awesome/setup/init.lua:21 : in function 'generate'
/Home/nekox/.config/awesome)rc.lua:6: in main chunk
error: /home/.config/awesome/setup.init.lua:21: /home/nekox/.cache/awesome/json/settings.json: No such file
How to generate settings.json?

you dont need but you do need a .cache/awesome/json folder, make one and then it should work


Refactored to use more modern tools (shell-conduit, stack)

Hi, yihuang
Thank you very much for the refactoring. I've accepted the changes in GitHub, but I'd like to delay Hackage update until we add fallback-option for bare ghc-pkg. This is important for me, because I run NixOS which is in some way a competitor of Stack. It uses its own Haskell package manager which is aware of stack package sets (lts-*) but doesn't use stack binary.
I plan to employ the shining Optparse.Applicative for arguments parsing, add  --stack/--ghc-pkg flags with --stack set by default and after that publish the package.

I just find codex, which seems to do excactly what haskdogs does. Just mention it to you.
_____________________________

From: Sergey Mironov<EMAIL_ADDRESS>Sent: Tuesday, November 17, 2015 7:09 PM
Subject: Re: [haskdogs] Refactored to use more modern tools (shell-conduit, stack) (#6)
To: ierton/haskdogs<EMAIL_ADDRESS>Cc: yihuang<EMAIL_ADDRESS>Hi, yihuang
Thank you very much for the refactoring. I've accepted the changes in GitHub, but I'd like to delay Hackage update until we add fallback-option for bare ghc-pkg. This is important for me, because I run NixOS which is in some way a competitor of Stack. It uses its own Haskell package manager which is aware of stack package sets (lts-*) but doesn't use stack binary.
I plan to employ the shining Optparse.Applicative for arguments parsing, add --stack/--ghc-pkg flags with --stack set by default and after that publish the package.
—
Reply to this email directly or view it on GitHub.

THanks, didn't know about codex. Looks huge. From the other side, it offers full dependencies list. I'll try it in action

There are more of them http://hackage.haskell.org/package/hothasktags !

yihuang, I've updated the code to handle both cabal and stack-based setups. Could you please check the stack branch? Note, I'm using new home repository located at https://github.com/grwlf/haskdogs

It still works for me.
Sent from Outlook
On Wed, Nov 18, 2015 at 12:50 PM -0800, "Sergey Mironov"<EMAIL_ADDRESS>wrote:
yihuang, I've updated the code to handle both cabal and stack-based setups. Could you please check the stack branch? Note, I'm using new home repository located at https://github.com/grwlf/haskdogs
—
Reply to this email directly or view it on GitHub.


__WD_ConsoleWrite() $_WD_DEBUG_Full + $sMsg

Pull request
Proposed changes
Describe the big picture of your changes here to communicate to the maintainers why we should accept this pull request.
Please ensure you have read and noticed the checklist below.
Checklist
Put an x in the boxes that apply. If you're unsure about any of them, don't hesitate to ask. We are here to help!
This is simply a reminder of what we are going to look for before merging your code.

[ ] I have read and noticed the CODE OF CONDUCT document
[ ] I have read and noticed the CONTRIBUTING document
[ ] I have added necessary documentation or screenshots (if appropriate)

Types of changes
Please check x the type of change your PR introduces:

[ ] Bugfix (change which fixes an issue)
[x] Feature (change which adds functionality)
[ ] Code style update (formatting, renaming)
[ ] Refactoring (functional, structural)
[ ] Documentation content changes
[ ] Other (please describe)

What is the current behavior?
Lack of Err/Ext information in case of debuging I mean when $_WD_DEBUG_Full is set
What is the new behavior?
Additionall Err/Ext information in the message in case $_WD_DEBUG_Full is used with __WD_ConsoleWrite().
Distinguishable Developer / Debugging messages.
Additional context
https://github.com/Danp2/au3WebDriver/issues/280
System under test
NotRelated

What is the current behavior?
Lack of Err/Ext information in case of debuging I mean when $_WD_DEBUG_Full is set

I thought that:
Lack of Err/Ext information in case of debuging I mean when $_WD_DEBUG_Full is used in this way:
__WD_ConsoleWrite($sMsg, $_WD_DEBUG_Full)

Ok. No problem.
Maybe we back to this when I found reasonable example.
Let focus on more important things.


[server] Don't remove reports with the same report hash

Previously the server removed reports from the database which have the same
report hash on run update. With this patch we will not remove these reports
but we will set the detection status to Resolved.

This will increment the database size drastically and we don't want to do this. For this reason we handled this problem in a different way. For more information see: #3102.

This will increment the database size drastically and we don't want to do this. For this reason we handled this problem in a different way. For more information see: #3102.


comment out workload profile spec on aca deployment

commenting out workload profile because specifying workload profiles doesnt work when using consumption only and the default aca environment we are using uses only consumption

@mosabami actually the workload profiles are needed and should not be commented out. The route table feature which is needed to route traffic through the hub firewall is only supported if container apps environment is using workload profiles.
Please use the defined variable to provide one of the values mentioned at the documentation. There is also a consumption workload profile that you can use.


Knife data bags from file should autocreate data bags

This is a re-report of https://tickets.opscode.com/browse/CHEF-1362. It seems this issue and related issues were closed as "no longer relevant" at some point but I'm not sure why.
Right now, knife data bag from file <bag> <file/directory> still throws an error if the data bag doesn't exist. This command would come in really handy for mass-creating data bags (i.e. if the data bags are stored in a git repo). Please support this.

You can workaround this with the ChefFS 'knife upload/knife download' commands which are better suited for bulk hacking:
knife upload /data_bags/<bag>/<item>
knife upload /data_bags/<bag>
knife upload /data_bags

@lamont-granquist I can live with that. Thanks.


UW Data Science Program

I'd like to propose updating this list to include University of Wisconsin's Data Science Degree Program in your list of schools. It's truly an excellent program.
Learn more at: datasciencedegree (dot) wisconsin (dot) edu
Best,
Jay

done :+1:


Make Transformers configurable

FEATURE REQUEST

Is there an open issue addressing this request? If it does, please add a "+1" reaction to the
existing issue, otherwise proceed to step 2.
No.

Describe the feature you are requesting, as well as the possible use case(s) for it.
Currently, Mainflux writers use transformers to transform the Mainflux message to the known format. However, those transformers are not configurable using Writer's configuration (env vars) but need to be changed programmatically.

Indicate the importance of this feature to you (must-have, should-have, nice-to-have).
This is a must-have.

Strongly agree. IMHO it's a must-have


Mac C# Az Functions / EmptyBot  with Orchestrator fails to run locally

Describe the bug

NOTE: Same bot works locally on Mac C# with WebApp.  Only occurs on Az Functions as runtime.

Running locally, the bot can't seem to load Orchestrator model, even though model path referenced exists.  This same bot works using WebApp runtime.
Version
Version:  2.0.0-nightly.245007.8406071
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser

[X] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[X] macOS
[ ] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Create Azure Function Empty Bot
Install Orchestrator package
Add trigger (ie, "pets"), add phrases (ie, "- dog, - cat").
Add response to trigger (ie, "You have pets!").
Run Bot locally
See error

Expected behavior

No error, just like Web App
Screenshots

Ben and Peter looking at this..

Shiproom - Az Func has ephemeral storage.  we need to address this post build

@taicchoumsft assigning to you for tracking -- if this is tracked elsewhere feel free to link and close.

Tracked in #8064 and #8065, closing this one.


Return type of http/getCookies is Record<string, string> instead of Record<string, string | undefined>

Is your feature request related to a problem? Please describe.
Because the return type of getCookies in the http package is Record<string, string>, any cookie you try to access has the type string, even if it is not actually present.
Describe the solution you'd like
Change the return type of getCookies to Record<string, string | undefined>. (I understand that this would be a breaking change, and may not be feasible in the near-future).
Describe alternatives you've considered
I can obviously validate the cookie values in my code. But it would be nice if the type were string | undefined so that TypeScript would complain if I tried to use it as a string without first checking that it is undefined.

Good catch. I'd happily take a look at a PR that implements this fix.

I'd happily take a look at a PR that implements this fix.

@iuioiua Done!

I'm not in favor of this change. This is a disruptive breaking change to a stable module. We can't do this change in the near future.

Because the return type of getCookies in the http package is Record<string, string>, any cookie you try to access has the type string, even if it is not actually present.

If you like to get property access to be typed as string | undefined, you can opt in to stricter type settings by enabling noUncheckedIndexedAccess option in compilerOptions:
{
  "compilerOptions": {
    "noUncheckedIndexedAccess": true
  }
}

By this enabled, any property of Record<string, string> is typed string | undefined.

@kt3k I completely understand not wanting to make a breaking change so soon after this module was stabilized.
Also, thanks for the tip about noUncheckedIndexedAccess. I knew about that flag for arrays but didn't know it works on objects too. That is exactly what I'm looking for.

Ah, I forgot about noUncheckedIndexedAccess. I'll mark this issue as closed (answered by Yoshiya), and close the corresponding PR.


Request for a new release

Hi, it would be very nice to get a new release of this project that includes https://github.com/getsentry/sentry-elixir/pull/676 since it fixes https://github.com/getsentry/sentry-elixir/issues/663 which is currently a large blind spot for us.

We'll get a version releases soon.


Fix C# StringList typemaps

string_features example was disabled for C#, so I didn't notice. I changed C# type of string lists from T[,] to T[][], since the latter enables variable length elements. Unfortunately marshaling T[][] wasn't possible (or at least I couldn't make it work), so I first flatten it to T[].
I also noticed that SGMatrix and these typemaps leak memory, and it's not obvious to me currently how to solve it.

string_features example was disabled for C#, so I didn't notice. I changed C# type of string lists from T[,] to T[][], since the latter enables variable length elements.

ah yes, I remember that this was causing problems.... there were padding solutions which I always disliked. nice!
Unfortunately marshaling T[][] wasn't possible (or at least I couldn't make it work), so I first flatten it to T[].
Should be ok. Maybe add a "TODO/FIXME" for future keen typemap hackers ;)

I also noticed that SGMatrix and these typemaps leak memory, and it's not obvious to me currently how to solve it.

Future work, but maybe can you file an issue with a reproducing example?


Calling Koject.start() multiple times creates dependencies again and again

Currently we call Koject.start() from MainActivity.onCreate. Each time dark theme is toggled, MainActivity.onCreate being called again and so Kojact.start(). This leads to singleton dependencies created multiple times. currently my workaround is
@SuppressLint("StaticFieldLeak")
object ApplicationContextModule {
    lateinit var context: Context
    var start = false

    @Provides
    fun provideContext(): Context {
        return context
    }
}

ApplicationContextModule.context = this.applicationContext
if (!ApplicationContextModule.start) {
    Koject.start()
    ApplicationContextModule.start = true
}

But it would be nice if framework itself detect these changes

In android, I recommend calling Koject.start() in your application class.
class MyApplication : Application() {
    override fun onCreate() {
        super.onCreate()

        Koject.start {
            application(this@MyApplication)
        }
    }
}

Please refer to the following documents for details.
https://mori-atsushi.github.io/koject/docs/android/application

Koject.start resets singleton for testing. This is the expected behavior.


Adding a Sqoop Tool task implementation to support 'import' and 'expo…

…rt' commands

NOTE: This app can't run using java -jar, it must be extracted first. See README for instructions.

Resolves #5

Testing:
Make sure that JAVA_HOME points to same or lower version of Java that Hadoop is running with.
./mvnw clean install

unzip sqoop-tool/target/sqoop-tool-task-1.0.0.BUILD-SNAPSHOT-exec.jar -d target

$JAVA_HOME/bin/java -cp target org.springframework.boot.loader.JarLauncher --command=import --connect="jdbc:mysql://localhost:3306/test" --username=spring --password=spring --tool-args='--table FOO -m 1' --spring.hadoop.fsUri=hdfs://localhost:8020 --spring.hadoop.resourceManagerHost=localhost --spring.hadoop.resourceManagerPort=8032 --spring.hadoop.jobHistoryAddress=localhost:10020

Closing this. Will create new PR for both sqoop-tool and sqoop-job tasks since they both share some testing and config artifacts.


List a group's projects missing

I don't see methods that provide access to GET /groups/:id/projects

https://github.com/NARKOZ/gitlab/blob/master/lib/gitlab/client/groups.rb#L134-L142


Add include guards gatt mtu size (IDFGH-3327)

I'm working on a bluetooth mesh application with the ESP32 (wroom32).
Because the app I am using does not handle segmentation properly during the provisioning I needed to change GATT_DEF_BLE_MTU_SIZE.
This was not possible without include guards.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.mbroek seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@BMichiel Thanks for contribution.

Why not use the function esp_ble_gatt_set_local_mtu to set the local mtu? This function is called to set local MTU before BLE connection.

You are right, this was a misunderstanding on my part. I have now tried the esp_ble_gatt_set_local_mtu function and it seems to do what I needed. Thank you.


Not able to change the Breakpoints

In version 6.2.4 of foundation sites I simply changed the breakpoints in my variable with this peace of code. As you can see... the small and medium value was still a workaround there. Without these two breakpoints it doesn't work also.. What I got was my four breakpoint classes like xs-2, lg-offset-4, and so on.
$breakpoints: (
	small: 0px,
	medium: 640px,
	xs: 0px,
	sm: 480px,
	md: 768px,
	lg: 992px,
	xl: 1200px
);

$breakpoint-classes: (xs sm md lg);

With the latest version (6.3.1) nothing of them worked anymore. At least I got a lot of error messages, but the documentation still give the info how breakpoints can be changed in name and value.

[10:34:41] WARNING: null was passed to rem-calc(), which is not a number.
Backtrace:
bower_components/foundation-sites/scss/util/_unit.scss:78, in function -zf-to-rem
bower_components/foundation-sites/scss/util/_unit.scss:47, in function rem-calc
bower_components/foundation-sites/scss/grid/_row.scss:83, in mixin @content
bower_components/foundation-sites/scss/util/_mixins.scss:240, in mixin @content
bower_components/foundation-sites/scss/util/_breakpoint.scss:149, in mixin breakpoint
bower_components/foundation-sites/scss/util/_mixins.scss:239, in mixin -zf-each-breakpoint
bower_components/foundation-sites/scss/grid/_row.scss:82, in mixin grid-row-nest
bower_components/foundation-sites/scss/grid/_classes.scss:40, in mixin foundation-grid
Resources/Private/Frontend/sass/screen.scss:39
[10:34:41] gulp-notify: [Sass Error] Error: Invalid null operation: "null div 2".
on line 83 of bower_components/foundation-sites/scss/grid/_row.scss
$margin: rem-calc(-zf-get-bp-val($gutters, $-zf-size)) / 2 * -1;
-------------^

Kevin Ball said in the slack channel that this sounds like a bug. So I opened this issues. Perhaps it isn't a bug... we'll see.
Best
Kai

$breakpoints: (   small: 0,   xsmall: 380px,   medium: 640px,   large: 1024px,   xlarge: 1200px,   xxlarge: 1440px, ) !default;
And still got: WARNING: breakpoint(): "xsmall" is not defined in your $breakpoints setting.

Same issue here. When you change the smallest breakpoint to anything other than small: 0 and add it to the $breakpoint-classes it seems to not play nice.

Hey @tbaraniecki and @jackmcpickle,
currently I use 6.3.1 and these are currently my custom settings.
$breakpoints: ( 	small: 0px, 	medium: 640px, 	large: 1024px, 	xs: 0px, 	sm: 480px, 	md: 768px, 	lg: 992px, 	xl: 1200px );
$breakpoint-classes: ('xs', 'sm', 'md', 'lg', 'xl');
As you can see small, medium and large are the default settings from foundation. I've added my custom breakpoints used them in the breakpoint-classes.
Worked pretty well for me without and problems.

@yesjoar I can confirm that I can compile my sass when I use your trick. But get the following warning. I'm running version 6.4.0
WARNING: null was passed to rem-calc(), which is not a number.
Backtrace:
	node_modules/foundation-sites/scss/util/_unit.scss:78, in function `-zf-to-rem`
	node_modules/foundation-sites/scss/util/_unit.scss:47, in function `rem-calc`
	node_modules/foundation-sites/scss/xy-grid/_cell.scss:80, in function `if`
	node_modules/foundation-sites/scss/xy-grid/_cell.scss:80, in mixin `-xy-cell-properties`
	node_modules/foundation-sites/scss/xy-grid/_cell.scss:168, in mixin `xy-cell-static`
	node_modules/foundation-sites/scss/xy-grid/_classes.scss:41, in mixin `xy-base-grid-classes`
	node_modules/foundation-sites/scss/xy-grid/_classes.scss:419, in mixin `foundation-xy-grid-classes`
	node_modules/foundation-sites/scss/foundation.scss:83, in mixin `foundation-everything`
	node_modules/foundation-sites/assets/foundation.scss:3

+1

+1
Default breakpoints do not handle iPad as a quick test of the new grid, to me that is still a 'medium' but medium-up-2 renders large-up-4 on a block grid in landscape.

+1

+1

+1 Still running into this issue and unable to add custom breakpoints.

+1

I use
$breakpoints: (
  xxsmall: 0,
  xsmall: 429px,
  small: 640px,
  medium: 832px,
  large: 1024px,
  xlarge: 1200px,
  xxlarge: 1440px,
);

The trick is to make sure you also add the smallest breakpoint to $grid-column-gutter
$grid-column-gutter: (
  xxsmall: 20px,
  medium: 30px,
);

 $breakpoints: (
	small: 0px,
	medium: 640px,
	xs: 0px,
	sm: 480px,
	md: 768px,
	lg: 992px,
	xl: 1200px
);

This isn't a valid map. The first value must be 0 and each following value should increase in size. This should work if you remove small and medium.


How to prepare superpoints for custom data (xyz+RGB) without mesh

Thank you for the great work.
For data with only xyz and rgb, how to generate superpoints ?
In  dataset/scannetv2/prepare_superpoint.py, superpoints are generated by superpoint = segmentator.segment_mesh(vertices, faces), but when mesh is not available, how to generate?

Hi there u can use DBSCAN and cluster or you can assign the the superpoint index using the color values:
Have an look on it u get some idea :)
import numpy as np
import torch
from sklearn.cluster import DBSCAN, SpectralClustering, OPTICS
import logging
def read_data(file_path):
"""
Reads the point cloud data from a text file and extracts the coordinates.
Args:
- file_path (str): Path to the input text file containing point cloud data.
Returns:
- np.ndarray: Coordinates of the point cloud (first 3 columns).
"""
try:
data = np.loadtxt(file_path)
return data[:, :3]  # Extracts the first three columns (x, y, z)
except Exception as e:
logging.error(f"Error reading data from {file_path}: {e}")
raise
def apply_clustering(coordinates, method="DBSCAN", **params):
"""
Applies a specified clustering algorithm to the coordinates.
Args:
- coordinates (np.ndarray): The point cloud coordinates to cluster.
- method (str): The clustering method to use. Supported methods: 'DBSCAN', 'Spectral', 'OPTICS'.
- params (dict): Additional parameters for the selected clustering method.
Returns:
- np.ndarray: Labels assigned by the clustering algorithm (superpoint IDs).
"""
if method == "DBSCAN":
db = DBSCAN(eps=params.get("eps", 0.02), min_samples=params.get("min_samples", 2))
labels = db.fit_predict(coordinates)
elif method == "Spectral":
spectral = SpectralClustering(n_clusters=params.get("n_clusters", 3),
affinity=params.get("affinity", "nearest_neighbors"))
labels = spectral.fit_predict(coordinates)
elif method == "OPTICS":
optics = OPTICS(min_samples=params.get("min_samples", 2),
xi=params.get("xi", 0.05),
min_cluster_size=params.get("min_cluster_size", 0.05))
labels = optics.fit_predict(coordinates)
else:
raise ValueError(f"Unsupported clustering method: {method}")
return labels
def save_superpoint_ids(superpoint_ids, output_path):
"""
Saves the superpoint IDs (labels) to a .pth file.
Args:
- superpoint_ids (list): The list of superpoint IDs to save.
- output_path (str): The file path where the superpoint IDs will be saved.
"""
try:
torch.save(superpoint_ids, output_path)
logging.info(f"Superpoint IDs saved to {output_path}")
except Exception as e:
logging.error(f"Error saving superpoint IDs to {output_path}: {e}")
raise
def indexing(coordinates):
"""
Assigning index values to the cordinates
Args:
- coordinates (np.ndarray): The point cloud coordinates to cluster.
Returns:
- np.ndarray: Labels assigned by the clustering algorithm (superpoint IDs).
"""
# Checking the length of the cordinates
data_length = len(coordinates)
print(f"Length of the data: {data_length}")
return np.arange(data_length)
def main(input_file, output_file, clustering_method="DBSCAN"):
"""
Main function to load data, apply clustering, and save results.
Args:
- input_file (str): Path to the input text file containing point cloud data.
- output_file (str): Path to the output .pth file where the clustering result will be saved.
- clustering_method (str): Clustering method to use (e.g., "DBSCAN", "Spectral", "OPTICS").
"""
# Step 1: Read data
coordinates = read_data(input_file)
# Step 2: Checking if clustering is needed
if clustering_method:
superpoint_ids = apply_clustering(coordinates, method=clustering_method)
superpoint_ids = indexing(coordinates)
# Step 3: Convert the superpoint IDs to a list (not a tensor)
superpoint_list = superpoint_ids.tolist()
# Step 4: Save the superpoint IDs to a .pth file
save_superpoint_ids(superpoint_list, output_file)
if name == "main":
# Set up logging configuration
logging.basicConfig(level=logging.INFO, format='%(asctime)s - %(levelname)s - %(message)s')
# Define the paths for the input and output files
input_file = r"C:\Users\Perception-Team\Downloads\Aug\ISBNet\dataset\s3dis\Stanford3dDataset_v1.2_Aligned_Version\Area_1\2-Air_weld_6\2-Air_weld_6.txt"
output_file = r"C:\Users\Perception-Team\Downloads\Aug\ISBNet\dataset\s3dis\superpoints\Area_5_2-Air_weld_6.pth"
# Choose the clustering method: DBSCAN, Spectral, or OPTICS
clustering_method = None  # Default indexing method
# Execute the main function
main(input_file, output_file, clustering_method)


Add autorelease-pool around enumerate

Enumeration code might create a lot of temporary NSData objects.
This change dramatically improved mem usage of my application.

@myeyesareblind thanks for the PR.

I'll release a new version tomorrow.


Application goes cold on IIS even with StartMode = AlwaysRunning

IIS 7.5 2008 r2 Latest Platform Handler rc1-update1
This is a bit of a woolly description sorry.
It appears to me that my asp.net 5 app goes cold (or at least semi cold) even when StartMode = AlwaysRunning
Second request of resource is always very quick.
Does DNX or maybe Kestrel  stand down some resources outside of IIS control.
MVC 5 app always seems to be ready to go.

@mikes-gh Did you set the AppPool's Advanced Settings > Idle Time-out (minutes) to 0 (zero)?

@mikes-gh You can try setting the Advance Settings > Start Mode to AlwaysRunning, too.

@GuardRex

you can try setting the Advanced Settings > Start Mode to AlwaysRunning
Please read original message (and title)..  The point is it is already set. .  Also AFAIK idle time out does not apply with StartMode =- Always running..

It works fine on MVC 5 app.  It appears with Kestrel some resources are unloaded after a period of inactivity although as far as I can tell not all.  ie first page hit is not as slow as a full cold start but is still slower than subsequent page hits.

@mikes-gh Sorry ... was doing like four things at once ... and probably screwing up three of them!
There are posts out there with comments that Idle Time-out still had to be set to 0 (zero) (e.g., http://stackoverflow.com/a/28171672/5012375 ), but MS says https://msdn.microsoft.com/en-us/library/ee677260(v=azure.10).aspx ...

If the auto-start feature is enabled for a service, IIS ignores the Idle Timeout setting on the application pool and on the application that uses the application pool. The worker process associated with the application pool remains in memory even after the application pool is idle for longer than the Idle Timeout value.

When I do what you're trying to do, I always set them both ... on the "it couldn't hurt" principle.
AFAIK noone has asked in the issues about response delays due to Kestrel disposing of resources, but I look forward to hearing the answer from the team.

@Tratcher @halter73 Any thoughts on this one?
@mikes-gh Did you get a chance to test with a newer OS?  I remember hearing some issues with 2008 R2 but not sure if they're related to Kestrel unloading resources rather quickly.

@muratg Sorry I only have 2008 r2 IIS 7.5 but I have the latest Platform handler.
Happy to dig into this if someone can give me some hints as to where to start.as first hit (first impressions) are important.

It wouldn't be dnx or kestrel voluntarily shutting down, it would be HttpPlatformHandler or IIS killing the process. @pakrym want to play with it?

Assigning to @pakrym for investigation.

In the Application Event Log I have regular occurrences of this
Faulting application name: w3wp.exe, version: 7.5.7601.17514, time stamp: 0x4ce7afa2
Faulting module name: ntdll.dll, version: 6.1.7601.18933, time stamp: 0x55a6a196
Exception code: 0xc000070a
Fault offset: 0x000000000006298a
Faulting process id: 0x380
Faulting application start time: 0x01d1377a20bc09b6
Faulting application path: c:\windows\system32\inetsrv\w3wp.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: d9e22b37-a377-11e5-9084-00155d016705
Which probably explains what I'm seeing.  The thing is I am using form authentication so not sure how ntdll.dll is getting involved.
Thanks
Mike

OK looks like platform handler is recycling the process every 20 mins
The description for Event ID 1001 from source HttpPlatformHandler cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

Process '1956' started successfully and is listening on port '14856'.

Its as if it is trying to honour timeout and always running at the same time.
So it looks like HTTP Platform handler is using the idle timeout of 20 mins when always running is set.
When the idle timeout is reached it seems to start a new process as if it was recycling app pool.
However Apppool recycling  is set to 1740 mins (29 hours).
I will set idle timeout to 0 and see what happens

@mikes-gh The first one is a known issue and perhaps unrelated to the second one (the w3wp.exe crash). https://github.com/aspnet/IISIntegration/issues/32#issuecomment-156497256

@GuardRex
The facts as I see them
The idle timeout should not be used when Always Running is true.
Setting the idletimeout to 0 resolves the issue of the apppool recycling every 20 mins.
This seems like a bug (potentially been there before Platform handler existed).
It seems that setting AlwaysRunning = true without setting the idletimeout to 0 results in the app recycling every idle timeout.  This is not desired.
We have Apppool recylcling (default 1740 mins) for that.
Desired behaviour would be
Setting AlwaysRunning=true should ignore ideltimeout
They are mutually exclusive

@mikes-gh

The idle timeout should not be used when Always Running is true.

I agree ... but I would say "shouldn't need to be used" given what MS has published.

Setting the idletimeout to 0 resolves the issue of the apppool recycling every 20 mins.

I agree.

It seems that setting AlwaysRunning = true without setting the idletimeout to 0 results in the app recycling every idle timeout.

Yeah. I agree. That matches what others have reported ... it's broken somehow.
... and here's a tidbit ... I made sure the Idle Time-out was 0 (zero) ... and the apps are still throwing that "Event ID 1001" entry ... so ... it feels like it's request-based. It's not an AppPool doing something kind of a thing as far as I can guess from the behavior. It's more of a module-thing. They're getting back to it in January. I'm sure they'll sort this out in short order. The w3wp.exe crashing bit ... I'd sort of like to see that. I might just spin up a 2008 VM just for kicks to see that (if I have time).

The w3wp crash occurs a few seconds before the "platform handler event 1001" log when it restarts the process.  Presumably due to an unclean shutdown.
Doesn't happen all the time though so probably some sort of load or timing thing at that point of shutting down..
If anyone directly involved with IIS needs any more info I am happy to help.

@mikes-gh Just curious:
Visual C++ Redistributable for Visual Studio 2012 Update 4

... is installed on your server?

I have
VC++ 2010 10.0.40219 listed in control panel

@mikes-gh They put this in the instructions ...

On Windows 7 and Windows Server 2008 R2 you will also need to install the Visual C++ Redistributable for Visual Studio 2012 Update 4.

https://www.microsoft.com/en-us/download/confirmation.aspx?id=30679
... maybe worth a shot?

Ok I missed that.  I just llooked at the platform handler download and couldn't see any read me or instructions.  Where are they?

I think that shows up under the docs.asp.net in the install for Windows doc
in the getting started section.
Just a shot in the dark on it stopping that proc crash ... maybe that
explains it. If so, well have to add a note to the iis doc.
On Dec 17, 2015 12:52 PM, "mikes-gh"<EMAIL_ADDRESS>wrote:

Ok I missed that. I just llooked at the platform handler download and
couldn't see any read me or instructions. Where are they?
—
Reply to this email directly or view it on GitHub
https://github.com/aspnet/Hosting/issues/522#issuecomment-165578682.

Can't find it in the docs either can you post link.

@mikes-gh Sorry. I was out of the office and trying to type on that tiny cell phone screen.
Here is it is: https://docs.asp.net/en/latest/getting-started/installing-on-windows.html
In the Install ASP.NET 5 with Visual Studio section; however, it looks like this is for development purposes only (i.e., even the name "Visual C++ Redistributable for Visual Studio 2012 Update 4" implies that). It probably won't work ... buy maybe worth a shot just for kicks.

Ok. I can try that but if   It would be nice to have a diffinitive answer on whether that's a tooling dependency or not.  If it's I runtime dependency then the platform installer should also install it.

@mikes-gh I'm just kind'a curious what version of of the VC++ it puts on there ... does it come in above VC++ 2010 10.0.40219 that you're seeing. Additionally, does that then have something to do with the module such that the proc stops crashing. This is all highly unlikely, of course.
I'd run it myself, but I would need to spin up a 2008R2 VM, and I'm trying to get an app pushed further to completion. If you don't want to try it, let me know, and I'll do it tonight to see what's what ... (1) to repro what you're seeing with the crash on 2008R2, (2) to see what installing this would do.

Hi it's on a production box so I guess I'm always looking to justify any software install.  Hope that doesn't look like I am not listening to advice.

@mikes-gh No, no, I understand completely. I'm exactly the same way on that. I even wrote that PowerShell publish script so I could try not to have to stick with WebDeploy and muck up my machines with WebDeploy dependencies.
I'm going to play with it tonight ... I'll report back ---

@mikes-gh I spun up an Azure 2008R2 VM ... configured ... tested with a middleware test app ... I can't reproduce process crashing behavior. The "The description for Event ID 1001" thing is there, but that's a well-known harmless issue.
I'd recommend spinning up an Azure VM and testing your app(s) (one at a time if there are several). If the process crash goes away on the Azure VM, it would narrow it down to something hokey with the module, IIS, or OS on your current server.
[The the VC++ thing is just a slightly misleading/confusing line in the setup steps. I opened https://github.com/aspnet/Docs/issues/816 to see if they want to add a note there.]

My app has been running fine for a while now.  The idle timeout being used with always running for the app pool is a bug but I guess that belongs somewhere else.  If someone @Tratcher ? could let the IIS team know.
The crashing I can't repro with consistency for now and I am on the rc2 train so Kestrel is still changing.
Closing to avoid noise.

For those who is on ASP.NET Core it is easy to see that the dotnet.exe process auto-terminates - use TcpView (from sysinternals suite).
Same way, you will see that accessing IIS web site after the time-out will start up a new process of the dotnet.exe.


Command Exception and command ExceptionHandle

Not ready yet xD just need ideas @liorsl
Closed #74

No :)

Pr will close #79

Pr will also closed #79


Clean up dao redundancy

Most of the getters/setters in the dao are doing the same thing varying by type. Would be really nice to introduce some kind of "serializable" interface and do the work in one place. The gopher stole my generics.

Fixed by PR #105


Fix Contributing document format issue

This PR does two things:

Closes #519 by updating the markdown to appropriately render as a bulleted list.
Closes #518 by updating the contributing.qmd source to show the code blocks as separate code blocks and give the option to copy code blocks via copy-code annotations.

@all-contributors please add @asteves for docs
Looks great, thank you Alex! =)


adding configs for PGN

Description
This adds the PGN (Public Goods Network) to the hardhat.config.ts and scaffold.config.ts.
Adds 2 custom chains because PGN is not built into wagmi/chains yet.
Additional Information

[x] I have read the contributing docs (if this is your first contribution)
[x] This is not a duplicate of any existing pull request

Your ENS/address: jaxcoder.eth

Tysm @codenamejason 🙌 really appreciate it!
Actually in the latest viem version PGN was added in its chains also added it in hardhat.config at #626 🙌


Add DPG: Project Connect (Issue #555)

created with https://github.com/ericherman/dpg-csv-to-json - some cleanup may be desired.
See: https://github.com/unicef/publicgoods-candidates/issues/555#issuecomment-882435168

Statbus initially submitted with several gaps in the DPG standard indicators which need to be addressed before we can proceed with the review:

[ ] Clear Ownership
[x] Platform Independence
[ ] Adherence to Standards & Best Practices
[ ] Adherence to Privacy and Applicable Laws
[ ] Do No Harm
[ ] Protection from Harassment
[x] Deployment countries

I have contacted the person who made the submission and will update once they come through.

Closing this PR, continuing conversation on #1273


/usr/bin/az extension add --upgrade --name ssh failed under wsl

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az extension add
Errors:
...

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az extension add --upgrade --name {}

Expected Behavior
Environment Summary
Windows-10-10.0.19041-SP0
Python 3.6.8
Installer:

azure-cli 2.20.0 *

Extensions:
hcs 0.1.0
ssh 0.1.5

Additional Context

extension

Cannot reproduce. It works on my wsl. What's your error message?


FormElement: What is the purpose of this component?

In the React version, it seems to do nothing but render its children so what's the point of having it?

This was closed during the form refactor.


Correct list and classes for numbers in Bootstrap4

Added classes to the config, removed the initialize function and kept support for sizes.

Sort() now fails.

Hi, thanks for your contribution. Unfortunately the v4 branch is currently out-of-date... I have made lots of change to the master branch that have not been merged into the v4 so I will probably restart the v4 from scratch when I have time.

Is the master compatible with v4? Give me a heads up when you start and and I'll help you with contributions to v4.

I don't think the master is compatible as it is with the v4.
I stopped working on the v4 because there were some flaws in the alpha (especially with the layout of horizontal forms... ). I think these issue have been corrected by now, so I will try to merge and update the v4 branch. I'll let you know when the merges are finished.
Thanks.


How to apply kover in multimodule project

How to apply kover to all modules in the project?
I have a project with lots of modules, some of them have android plugin and some of them are pure kotlin modules.
I'm trying to use subprojects{} in top-level build.gradle.kts file like this:
plugins {
    ...
    id("org.jetbrains.kotlinx.kover") version "0.7.4"
}

subprojects {
    apply(plugin = "org.jetbrains.kotlinx.kover")

    koverReport {
        defaults {
            html {
                filters {
                    excludes {
                        ...
                    }
                }
            }
        }
    }
}

And I'm always getting an error when running $ ./gradlew koverHtmlReport
* What went wrong:
Some problems were found with the configuration of task ':benchmark:koverHtmlReport' (type 'KoverHtmlTask').
  - In plugin 'org.jetbrains.kotlinx.kover' type 'kotlinx.kover.gradle.plugin.tasks.reports.KoverHtmlTask' property 'filters' doesn't have a configured value.

    Reason: This property isn't marked as optional and no value has been configured.

    Possible solutions:
      1. Assign a value to 'filters'.
      2. Mark property 'filters' as optional.

    For more information, please refer to https://docs.gradle.org/8.4/userguide/validation_problems.html#value_not_set in the Gradle documentation.

+ same output for title and reportDir variables
After figuring this out I want to merge all generated reports into a single file, is there a better way to do this instead of manually adding kover(project(":dep1")) for every single dependency in every module? 🤔

Hi @shanshin

in the end you would like to get one merged report on all modules

Exactly. I don't have enough knowledge of gradle api, but I guess something like might work
subprojects {
    rootProject.dependencies {
        kover(this@subprojects)
    }
}

@massivemadness, to generate single report for all modules it is necessary to call the command only for this module, in which all dependencies are declared - in your case, this is a top-level module: ./gradlew :koverHtmlReport.
It is also need to configure the filtering of reports only in the top-level module.
As a result, it should turn out something like this:
subprojects {
    apply(plugin = "org.jetbrains.kotlinx.kover")
    rootProject.dependencies.add("kover", this)
}

koverReport {
    defaults {
        filters {
            excludes {
                classes("foo.bar.*")
                // ...
            }
        }
    }
}

@shanshin Thanks for the example, but as I already mentioned I have both android modules and pure kotlin modules. Running $ ./gradlew :koverHtmlReport generates a report only for kotlin modules, so the report is not complete. Is it possible to include android modules in the same report?

Yes, you can also add to this report coverage from tests of one or more android build variants, see also the answer.

@shanshin Maybe I do something wrong, but I still see no reports from android modules. Is everything correct?
subprojects {
    apply(plugin = "org.jetbrains.kotlinx.kover")

    if (plugins.hasPlugin("com.android.library")) {
        koverReport {
            defaults {
                mergeWith("fdroidDebug") // I have F-Droid and Google Play flavors
            }
        }
    }
    rootProject.dependencies.add("kover", this)
}

// top-level build.gradle.kts report
koverReport {
    defaults {
        ...
    }
}

@massivemadness, it is necessary to specify in the root project what is specified in this message:
subprojects {
    apply(plugin = "org.jetbrains.kotlinx.kover")
    rootProject.dependencies.add("kover", this)
}

koverReport {
    defaults {
        mergeWith("fdroidDebug")

        filters {
            excludes {
                classes("foo.bar.*")
                // ...
            }
        }
    }
}

In this case, mergeWith("fdroidDebug") means the following: create a merged report with JVM targets and fdroidDebug Android build variant from the current project, and from projects specified in the kover dependency

@shanshin I tried this way, it throws an error because root project doesn't have android build variants
Caused by: kotlinx.kover.gradle.plugin.commons.KoverIllegalConfigException: Build variant 'fdroidDebug' not found in project ':' - impossible to merge default reports with its measurements.
Available variations: []
	at kotlinx.kover.gradle.plugin.appliers.ProjectApplier$onApply$listener$1.onFinalize(ProjectApplier.kt:105)
	at kotlinx.kover.gradle.plugin.locators.CompilationsListenerWrapper.finalize(CompilationsListeners.kt:111)
	at kotlinx.kover.gradle.plugin.locators.CompilationsListenerWrapper.finalizeIfNoKotlinPlugin(CompilationsListeners.kt:103)
	at kotlinx.kover.gradle.plugin.locators.NoKotlinPluginLocatorKt$initNoKotlinPluginLocator$1.execute(NoKotlinPluginLocator.kt:12)
	at kotlinx.kover.gradle.plugin.locators.NoKotlinPluginLocatorKt$initNoKotlinPluginLocator$1.execute(NoKotlinPluginLocator.kt:11)

@shanshin thank you so much! 🎉

For 0.7.6 I came up with a similar though a bit different solution:
import com.android.build.gradle.api.AndroidBasePlugin

subprojects {
  apply plugin: "org.jetbrains.kotlinx.kover"

  plugins.withType(AndroidBasePlugin) {
    configurations.implementation {
      dependencies.withType(ProjectDependency) {
        project.dependencies.kover dependencyProject
      }
    }
  }
}

It configures Kover for every Gradle module and makes them include coverage from all of their dependencies.

One thing to be considered in the solution above is that the project can have api dependencies.
`
subprojects {
apply plugin: "org.jetbrains.kotlinx.kover"
plugins.withType(AndroidBasePlugin) {
configurations.implementation {
dependencies.withType(ProjectDependency) {
project.dependencies.kover dependencyProject
}
}
configurations.api {
  dependencies.withType(ProjectDependency) {
    project.dependencies.kover dependencyProject
  }
}

}
}
`
cc @0neel


NPM Release: 2.0.0-b2

The git release 2.0.0-b2 should also be published on NPM.
Thanks!

This is released.


STITCH-2654: Swift performance testing harness

I left some of the logging in here in case I need to debug and because I assume I will have to make a few changes after you all look at it. For now, a few things to note

The networkMonitor and transport should be fully functional for both prod and local
Prod tests still need to have the Stitch Server running in the background. Although it doesn't do anything with it, it seems to randomly fail with no explanation when the stitch server is not running. I was not sure how important this is though.
We now have the ThrowingCallBackJoiner which on call to value() will throw if there was an error. This allows us to catch errors in the harness
Errors now update the test document to have a status of "failed" and adds a description of the failure.
I haven't seen them in a while, but there appears to be some flakey-ness in the setup/teardown logic of local tests where it occasionally fails. I haven't seen it in the last 20 or so runs, but I would appreciate it if you take special note of the setup/teardown logic as you go through this PR.

Made a bunch of changes and tested this out a lot. The only problem I have found is that when running tests against prod the instrumented network transport only works for the first test run, which is a problem that ill continue to look into


fix the mongodb install issues on 2.7.0

See also: https://github.com/unofficial-unifi/unifi-pfsense/issues/320#issuecomment-1646732257, but TL;DR:

pfSense 2.7.0 forked off from FreeBSD 14.0-pre at some time N
FreeBSD 14.0-pre switched to OpenSSL 3.0 in base at some time N+1
we pull from FreeBSD:14:x "latest" here
thus "latest" expects OpenSSL 3.0, but we (pfSense) have a base with OpenSSL 1.x

Thus, mongodb from FreeBSD:14:x errors out with missing libssl.so.30 linking errors.
https://github.com/pfsense/FreeBSD-src/commit/b077aed33b7b6aefca7b17ddb250cf521f938613 says that we're gonna get OpenSSL 3.0 eventually in pfSense, but for now, we can pull from FreeBSD:13:x if we see that bad combination of (abi, pfSense version).
Fixes #320

@tong2x as per your request :-)
tried to make it a bit less hacky than it was when i originally ran it :-P

Looks to me there is a bug on line 116 - dollar sign missing in front of FREEBSD_PACKAGE_URL, it should read:
base_url=${2:-$FREEBSD_PACKAGE_URL}
Without that dollar sign, e.g. the URL for png will be generated as:
FREEBSD_PACKAGE_URLAll/png-1.6.40.pkg
With the dollar sign it is generated as
https://pkg.freebsd.org/FreeBSD:14:amd64/latest/All/png-1.6.40.pkg
which is a lot better imho

Well, looks like the current version of this script is a bit buggy - it did not install mongodb42 so I copied/pasted some of the commands until I got it installed correctly (from the FreeBSD 13 repositories). Mongo seems to be running now but I'm still getting 404 when opening the web app - when I start unifi.sh I get:
<EMAIL_ADDRESS>Exception in thread "launcher" java.lang.NullPointerException: Web context failed to initialize
at java.base/java.util.Objects.requireNonNull(Objects.java:235)
at com.ubnt.net.C.ÖÒ0000(Unknown Source)
at com.ubnt.net.C.Òo0000(Unknown Source)
at com.ubnt.service.ooOO.øÓ0000(Unknown Source)
at com.ubnt.ace.Launcher.Ó00000(Unknown Source)
at com.ubnt.ace.Launcher.main(Unknown Source)

FREEBSD_PACKAGE_URL

whoops, thought i fixed it, i'll push something tonight to fix that

a bit buggy

hmm, do you know where it failed? i tried to de-hackify what i did on my machine, but i might've missed something

FREEBSD_PACKAGE_URL

whoops, thought i fixed it, i'll push something tonight to fix that

a bit buggy

hmm, do you know where it failed? i tried to de-hackify what i did on my machine, but i might've missed something

Sorry for asking what is probably a relatively newb question. How would I install the script in your branch on my pfsense box? Using a curl command or similar?

Well, looks like the current version of this script is a bit buggy - it did not install mongodb42 so I copied/pasted some of the commands until I got it installed correctly (from the FreeBSD 13 repositories). Mongo seems to be running now but I'm still getting 404 when opening the web app - when I start unifi.sh I get<EMAIL_ADDRESS>Exception in thread "launcher" java.lang.NullPointerException: Web context failed to initialize at java.base/java.util.Objects.requireNonNull(Objects.java:235) at com.ubnt.net.C.ÖÒ0000(Unknown Source) at com.ubnt.net.C.Òo0000(Unknown Source) at com.ubnt.service.ooOO.øÓ0000(Unknown Source) at com.ubnt.ace.Launcher.Ó00000(Unknown Source) at com.ubnt.ace.Launcher.main(Unknown Source)

Same here. When running the script from branch, I am getting to this point before the hang, and nothing works (remove the folder location and try again, double script run to combat timeout, nothing :(

fix for opnsense to use latest unifi 7.5.187
#326
please test on pfsense though pfsense has a different issue with ssl
just need tester maybe we could come up with alitle progress with each fix

Any advise for what the best way forward is with this? Scrap pfsense and go to opnsense? or wait for 2.7 to have the SSL stuff sorted and allow this to work again??

Maybe this is the real answer but how long might this take to make it into FreeBSD CURRENT that pfsense uses?
https://www.reddit.com/r/freebsd/comments/1788hs7/openssl_30_ported_securityopenssl/?%24deep_link=true&correlation_id=64da63fe-e3b4-4c79-a843-03ae6692c30e&post_fullname=t3_1788hs7&post_index=3&ref=email_digest&ref_campaign=email_digest&ref_source=email&utm_content=post_title&%243p=e_as&_branch_match_id=1207052423070174995&utm_medium=Email Amazon SES&_branch_referrer=H4sIAAAAAAAAA22Q22rEMAxEvyZ9y6WRyWYLy1Io%2FQ3jtZXE1DdsmbR%2FX6W77VNBguEMMxbeiFJ56fuMxljqVEqds%2BGjh3RtRgHpglKVJ5Yx29UG5WTN7rIdqQZem%2FGdZ9%2F37pHX0TPIvEtGvBXDipnHQIXl82met3JiFROGUpyEQaaYCY0sqGu29PVwjmrgdmEQkzxuauCNcsVmnHTMGZ0iG4O0hvkkjJpgwRbhJlqhT%2BdWzQLaARRO03nUMBy5FAvJpToXlMejDuTfRXfTBoOf7ACDjAsr9Mo6aeyKhe5QauWTsmv43y2xZo2%2FHsNKXuoYiP%2BA6c8zZMnhN%2Bgmbut7AQAA

I have verifed @DirectXMan12 idea to install the mongodb44 from FreeBSD:13:amd64 over the installed Unifi from beta, works on Pfsense 2.7.0.
However the script given, does not. It is pulling packagesite.pkg for FreeBSD:14:amd64 and checking for mongodb44 which does not exist there. It must first download https://pkg.freebsd.org/FreeBSD:13:amd64/latest/packagesite.pkg then extract it and search that packagesite.yaml for the package path.
These are the exact steps I took to do this manually, without the programmatic searching of packagesite.yaml:

Install Unifi 8.0.4 from PR #332

fetch -o - https://shorturl.at/pqsuG | sh -s

Disable unifi service to make changes:

service unifi.sh disable

Remove current FreeBSD:14 version of mongodb44:

/usr/sbin/pkg unlock mongodb44
/usr/sbin/pkg remove mongodb44

Install FreeBSD:13:amd64 mongodb44:

/usr/sbin/pkg add -f "http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/mongodb44-4.4.25.pkg"

Start service:

service unifi.sh enable
service unifi.sh start

Wait 30 seconds for the service to start and it should work. Because this is force installing a package from a previous OS version.. YMMV. Also, I have no idea how to script this.

I have verifed @DirectXMan12 idea to install the mongodb44 from FreeBSD:13:amd64 over the installed Unifi from beta, works on Pfsense 2.7.0.
However the script given, does not. It is pulling packagesite.pkg for FreeBSD:14:amd64 and checking for mongodb44 which does not exist there. It must first download https://pkg.freebsd.org/FreeBSD:13:amd64/latest/packagesite.pkg then extract it and search that packagesite.yaml for the package path.
These are the exact steps I took to do this manually, without the programmatic searching of packagesite.yaml:

Install Unifi 8.0.4 from PR beta UniFi Network Application 8.0.7 #332

fetch -o - https://shorturl.at/pqsuG | sh -s

Disable unifi service to make changes:

service unifi.sh disable

Remove current FreeBSD:14 version of mongodb44:

/usr/sbin/pkg unlock mongodb44
/usr/sbin/pkg remove mongodb44

Install FreeBSD:13:amd64 mongodb44:

/usr/sbin/pkg add -f "http://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/mongodb44-4.4.25.pkg"

Start service:

service unifi.sh enable
service unifi.sh start

Wait 30 seconds for the service to start and it should work. Because this is force installing a package from a previous OS version.. YMMV. Also, I have no idea how to script this.

Same here. I could not get it to install after upgrade Pfsense from 2.7.0 to 2.7.1 until I followed these steps.
Now it works.


Sql formatter in query logger is slow for large queries

Running a large insert query with logs level info takes around 15 seconds. The same query with log level set to warn runs in less than a second. From the perf report most of the time seems to be spent in sql formatter.
Sample repo  https://github.com/sidred/sqlx_test
Results:
run with log level warn
$ time RUST_LOG=warn ./target/release/sqlx_test
starting
done normal insert secs 0

real    0m0.194s
user    0m0.015s
sys     0m0.018s

run with log level info
$ time RUST_LOG=info ./target/release/sqlx_test

starting
done normal insert secs 0

real    0m15.811s
user    0m13.399s
sys     0m2.184s

This is probably a duplicate of #633.


Changes in tenant_name and email_domains

Tenant name should be set to default and become an optional parameter as most of the CPs now use this parameter as default;
Email domains are not necessary anymore and should be removed.

Fixed by #3


build errors

Hello,
I'd really like to try your asciidoctor bootstrap themes, but I'm experiencing some errors when I try to build everything. Hoping you can help. - Michael
./buildcss
creating css/bootstrap_default.css
/home/mike/.rvm/gems/ruby-2.3.0/gems/less-2.6.0/bin/lessc:83:in <top (required)>': invalid option: --global-var=bsw-root='https://raw.githubusercontent.com/thomaspark/bootswatch/gh-pages' (OptionParser::InvalidOption)         from /home/mike/.rvm/gems/ruby-2.3.0/bin/lessc:23:in load'
from /home/mike/.rvm/gems/ruby-2.3.0/bin/lessc:23:in <main>'         from /home/mike/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in eval'
from /home/mike/.rvm/gems/ruby-2.3.0/bin/ruby_executable_hooks:15:in `'
./buildcss: line 10: cleancss: command not found

Looks you are using the Ruby version of 'less' rather than the Node.js version. Seems they are not really compatible. You need to install:
npm install -g less
npm install -g request
npm install -g clean-css
Make sure that the node.js version of less is found first on your path or uninstall the corresponding Ruby gem. Also make sure you've got the 'Asciidoctor', 'tilt', and 'coderay' gems.
I just tried to build it in my environment and it works. However, it's been a while that I used this project and it might well be that there are problems because of changes to Bootstrap etc. Good luck!

Thank you for pointing me in the right direction. I was indeed using the Ruby version of less, etc. Also ran into a little snag where the build script could not find node.
/usr/bin/env: node: No such file or directory
After Googling the error I was able to resolve it by installing nodejs-legacy. Apparently on Debian, node is delivered as nodejs. The legacy version fixes that. So, everything looks to be working now. Table #2 looks like it has a small issue, but everything else looks fine. Thank you for your help.

Glad it works for you.


WIP Title will match an empty string #182

I think this what you wanted correct? 😄
Closes #182

I can add a unit test once my unit tests are working. Getting an error at the moment with all of them

@JasonEtco Mind taking a look? Thanks for your help on slack ❤


typo: Double word "shows"

@nschonni : Thanks for your contribution! The author, @mikejo5000, has been notified to review your proposed change.

#sign-off


Intermittent errors

Getting the following intermittent errors:
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
SKU Name: NVIDIA GEFORCE RTX 3080 - FR
SKU Status: PRODUCT_INVENTORY_OUT_OF_STOCK
Product Inventory: 7
Error attempting to access URL: https://in-and-ru-store-api.uk-e1.cloudhub.io/DR/get-inventory/fr_fr/5438795200?format=json&expand=availablequantity
Error getting SKU Inventory retrying...
Error attempting to access URL: https://in-and-ru-store-api.uk-e1.cloudhub.io/DR/products/fr_fr/EUR/5438795200
Error getting SKU Information retrying...
SKU Name: NVIDIA GEFORCE RTX 3080 - FR
SKU Status: PRODUCT_INVENTORY_OUT_OF_STOCK
Product Inventory: 7
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Inventory retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
Error attempting to access URL: https://in-and-ru-store-api.uk-e1.cloudhub.io/DR/products/fr_fr/EUR/5438795200
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
invalid character '<' looking for beginning of value
Error getting SKU Information retrying...
Error attempting to access URL: https://in-and-ru-store-api.uk-e1.cloudhub.io/DR/products/fr_fr/EUR/5438795200
Error getting SKU Information retrying...

After working for an hour or so I am also getting these issues more commonly now

I'm also getting this now, after a good hour or so of it working absolutely fine.
From the UK store.

Same here, it was working fine a few minutes ago

It looks like the products information is returning a gateway timeout – I'm wondering if this may be preventative measures being put in place to disable bots. Additionally to this, I've noticed that, in the UK, the product ID / SKU comes up as not found when attempting to add to cart, when previously it would simply say it was out of stock.

No longer seems to be working for me. Just "Error getting sku information retrying"

Yes, as @Creepymulder said, the query URL is now down altogether. Maybe we just broke it by flooding it with requests!

At first I thought I was ban or something, but I still can't reach this URL on a different network. You can even see the issue directly on their website where they have the "buy" button loading indefinitely for others cards.  I guess we just have to wait :]

Has anybody had any updates on this issue so far? I wonder if simply starting the process again might do something, I'll try myself soon but wondered if anyone else had already attempt it.

@cthuluke As far as I can tell their API is still broken, so there's no change there, including for existing, in-stock products.

@forestlovewood gotcha, in the case that there is a re-stock in nvidia stores 45 minutes from now, would their API being broken affect being able to manually see and add the item to cart, or will it make the item unpurchaseable by any means for as long as it's broken?

@cthuluke I wasn't able to add any products to the basket, so I think it wouldn't be possibly to purchase any.

Yeah, also returns 'product could not be found' errors for me. Does that mean they might have changed the ID of the product? My hope is that whilst we can't be alerted to them or add them to cart, neither can bots haha. I have that fear-of-missing-out.

@cthuluke I thought so, but checking their product listings it seems to still be the same.

Hey guys, just so I can do some testing, how does one find the product ID of an item? For example if I wanted to try adding an 2080 from the GB in my basket using this script for the sake of experimenting, how is that ID found?

@cthuluke https://api.digitalriver.com/v1/shoppers/me/products?apiKey=9485fa7b159e42edb08a83bde0d83dia&locale=en_gb&format=json&expand=product&fields=product.id,product.displayName,product.pricing&pageNumber=7

Is this broken now?

Mine seems to be running and giving me the product information for the 3080.
However whether that is false information based on an now defunct product ID, who knows!?

It's working for me, I updated it a bit to refresh every 2 seconds because it was a bit aggressive, the URL was showing an "Exceeding limit error" of the API, I prefer to bit a bit careful not to get ban.

I just get the Error getting SKU information retrying.

The errors are still intermittent but i used the call provided by @forestlovewood and adapted it for en-us, found the SKU for a 2060 FE, tested with that, I got a browser pop up with a 2060 in my cart and a text on my phone letting me know that it's in my cart ready to go. Put the SKU back to the 3080 and it's humming along.

Is this broken now?

Not as far as I know, I'm still running it fine in the US region.

@cthuluke I wasn't able to add any products to the basket, so I think it wouldn't be possibly to purchase any.
Edit: Loading product information returns a 503 or 504, while adding to the cart returns "Could not find a Product resource with an id of<PHONE_NUMBER>", at least for this product. Adding to the cart seems to use this process. This is United Kingdom specific as other regions have different product IDs.

Visit https://store.nvidia.com/store/nvidia/SessionToken?format=json&locale=en_us&apiKey=9485fa7b159e42edb08a83bde0d83dia which will return your current access_token.
Visit https://api.digitalriver.com/v1/shoppers/me/carts/active/line-items?format=json&method=post&productId=5438792800&quantity=1&token={the previous access_token}
Visit https://api.digitalriver.com/v1/shoppers/me/carts/active/web-checkout?productId=5438792800&token={the previous access_token}

It's possible they changed their productID on DigitalRiver, if you find the new one let me know or submit the change to the README.md please.

@ianmarmour I've searched DigitalRiver pretty thoroughly, I'm suspicious that they've actually disabled/deactivated the product. The product list that we've been using as a source is likely cached, but whenever I've tried any requests against it that wouldn't have been it says the product does not exist. This extends to searching for the product reference (900-1G133-2530-00), which is on the packaging and will not be changing – it doesn't show up when searched for in DigitalRiver.

Yeah the product reference isn't stored in DigitalRiver, last night I was able to query digital river similarly to you and there were 3 listings for the 3080 has the SKU stopped working since yesterday evening?

@ianmarmour The listings only seemed to stop working several hours ago, although it's unclear because the testing was getting more thorough at the same time.

just got back from work and it seems its been working while ive been gone. its working rn for me

^^^ Can you post your configuration to help folks out.

I still get this.
invalid character 'E' looking for beginning of value
Error getting SKU Information retrying...
invalid character 'E' looking for beginning of value
Error getting SKU Information retrying...

Looks like I missed a location for 500 handling, going to push a fix for this now and create a new release later this afternoon that should resolve this. (Unless you're not seeing any good responses this is just a temporary issue on the API side)

Please go grab the latest release, we stopped using the in-ru API in favor of calling digitalriver directly for everything, there's no longer stock information however the API is MUCH faster and more stable.


Multilang: add missing Chinese (Traditional) translations

Update missing translations

Just pushed some updates, can you rebase?

Thanks a lot!

@eFiniLan do you mind opening another PR to translate the updated strings? I just made it so when we alter a string you won't have to re-translate the whole paragraph again!


Add performance and stress tests as nightly rund.

A perf and stress framework was introduced recently. It is a bit of a shell to help find some known issues.
This is about completing that work, automating the tests.
Publish results, compare against shipping products.

this has been completed in internal repos


Unskip tests added in #245

Remove the skip on the test that failed in #245 because werkzeug 0.10 was not released yet.

the test_media_types_q case is also failing with the werkzeug update.

@jrandall  do you have any ideas why additional tests are failing after the werkzeug update? I have not had time to look into it yet and thought I would ask since you are already familiar with some of this.

I haven't looked yet but I'll check it out now.
On Wed, Feb 25, 2015 at 3:10 PM, Josh Friend<EMAIL_ADDRESS>wrote:

@jrandall https://github.com/jrandall do you have any ideas why
additional tests are failing after the werkzeug update? I have not had time
to look into it yet and thought I would ask since you are already familiar
with some of this.
—
Reply to this email directly or view it on GitHub
https://github.com/flask-restful/flask-restful/issues/392#issuecomment-75976427
.

Ok, yes I see the issue is that the test_media_types_q test case (which predates these changes) tests an invalid Accept header: 'Accept': 'application/json; q=1; application/xml; q=.5'
This is not a valid HTTP Accept header according to (rfc2616)[http://www.ietf.org/rfc/rfc2616.txt] because the two media-range [ accept-params ] entries need to be delimited by commas, not semicolons.
The ABNF for Accept (rfc2616 section 14.1) is:
Accept         = "Accept" ":"
                        #( media-range [ accept-params ] )

       media-range    = ( "*/*"
                        | ( type "/" "*" )
                        | ( type "/" subtype )
                        ) *( ";" parameter )
       accept-params  = ";" "q" "=" qvalue *( accept-extension )
       accept-extension = ";" token [ "=" ( token | quoted-string ) ]

Note that the #() syntax in ABNF means to separate the list by commas with optional whitespace.
Applying the following patch should fix it.
--- a/tests/test_api.py
+++ b/tests/test_api.py
@@ -519,7 +519,7 @@ class APITestCase(unittest.TestCase):
         api = flask_restful.Api(app)

         with app.test_request_context("/foo", headers={
-            'Accept': 'application/json; q=1; application/xml; q=.5'
+            'Accept': 'application/json; q=1, application/xml; q=.5'
         }):
             self.assertEquals(api.mediatypes(),
                               ['application/json', 'application/xml'])

Thanks for your help on this!


Configure the channel list/windows site

Version: 0.4.1-1
Installation method: got it from the Archlinux AUR :)
Are there any options to configure the channel list on the left?

Those are all the possible configs https://github.com/erroneousboat/slack-term/wiki#slack-term-config-file for the sidebar you can change it with   "sidebar_width"


restart_process only works for amd64 containers

Both tilt-restart-wrapper and entr are only compiled for amd64, so will result in exec errors if used for an ARM container (e.g. pushing to a k3s cluster on a Raspberry Pi).
We should either publish multi-arch images for tiltdev/restart-helper or update documentation to note that this is only supported for amd64 targets.

@milas and @nicks this can be closed now as it seems to be working now after @nicks https://github.com/tilt-dev/tilt-extensions/pull/282 has been merged? i am using arm64 images without any problem now.

@milas and @nicks this can be closed now as it seems to be working now after @nicks https://github.com/tilt-dev/tilt-extensions/pull/282 has been merged? i am using arm64 images without any problem now.

Glad to hear it! Thanks for the reminder 🙂


merge: stage to master

:tada: This PR is included in version 0.45.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


add support for .zip compressed images

Hi,
thank you for this awesome script!
I ran into a minor issue though, in my case the script auto-downloads a Home Assistant OS image with a .zip file extension which is currently not handled by your script as far as I can see.
Therefore it exits with an error.
I added a one-liner to handle this case and now it works flawlessly.
If you believe this is some kind of user error on my side, I'd be glad if you let me know!
Best regards

Oops, sorry I did not notice that there already are a couple of PR's related to this issue.