text:
chore: beautify the http response

Which issue does this PR close?
Closes #130
Rationale for this change
Use json to format http return results to increase readability.

What changes are included in this PR?

Use json to format http return results.

Are there any user-facing changes?
Beautify the http response

How does this change test
Manual testing.

Codecov Report

Merging #133 (c01f908) into main (423ca15) will decrease coverage by 0.72%.
The diff coverage is 37.58%.

:exclamation: Current head c01f908 differs from pull request most recent head 83197da. Consider uploading reports for the commit 83197da to get more accurate results

@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
- Coverage   39.80%   39.07%   -0.73%
==========================================
  Files          29       33       +4
  Lines        3432     4217     +785
==========================================
+ Hits         1366     1648     +282
- Misses       1882     2317     +435
- Partials      184      252      +68

Impacted Files
Coverage Δ

server/cluster/cluster.go
0.00% <0.00%> (ø)

server/cluster/manager.go
0.00% <0.00%> (ø)

server/cluster/table_manager.go
0.00% <0.00%> (ø)

server/cluster/topology_manager.go
0.00% <0.00%> (ø)

server/cluster/types.go
0.00% <0.00%> (ø)

server/coordinator/procedure/factory.go
0.00% <0.00%> (ø)

server/coordinator/procedure/manager_impl.go
0.00% <0.00%> (ø)

server/coordinator/procedure/scatter.go
65.00% <20.00%> (-1.92%)
:arrow_down:

server/coordinator/procedure/util.go
38.88% <40.00%> (+0.17%)
:arrow_up:

...er/coordinator/procedure/create_partition_table.go
40.50% <40.50%> (ø)

... and 12 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

repo: CeresDB/ceresmeta


text:
Cartographic Polygon editing crash - fabric only

Start USD Composer (I used 2023.2.1) - build from commit d1b7ebcbdcd0020fca64eb21cc8a19ed3abe6a9d
Enable fabric
Add a Cartographic Polygon via the quick add menu
Select it
Click Edit Control Vertices
Click on the default ground plane to place a first point
OV should briefly hang then crash

Note: Does not crash when fabric disabled
cc @corybarr

This doesn't seem to happen for regular BasisCurves.
Maybe a reason for CesiumCartographicPolygon to have a rel to a BasisCurves prim instead of being a subclass.

Actually, it seems like both BasicCurvers or CesiumCartographicPolygon are working in USD Composer 2023.2.2.
Still might be worth considering the rel approach if that improves the workflow or fixes other bugs.
CC https://github.com/CesiumGS/cesium-omniverse/pull/630 and https://github.com/CesiumGS/cesium-omniverse/issues/636

This doesn't seem to happen for regular BasisCurves.
Maybe a reason for CesiumCartographicPolygon to have a rel to a BasisCurves prim instead of being a subclass.

Moving to a rel would also let us query any prim that has a points attr. I can image some hypothetical dataviz workflows where creating a BasisCurves would be more work than needed. User wouldn't even necessarily have to even know about a BasisCurves.

Editing with Fabric enabled in 2023.2.2 does crash

@corybarr @lilleyse I can confirm that the original repro steps from this issue no longer cause a crash in 2023.2.2 with latest main 57fdeeebf7c47ed08282d981056be98eb72c49cb

However, if I run the repro steps, save a USDA, and re-open the usda, I do get a crash
So it seems the issue is currently related to editing CesiumCartographicPolygons that have been loaded from a USDA, vs being freshly created.

That's puzzling. It's strong evidence that we won't be able to fix the issue in our codebase, but let me see if I can did up any more precise info in some tests.

I tested this with the absolute minimal inheritance example:
class CesiumBasisCurvesChildPrim "CesiumBasisCurvesChildPrim" (
    doc = """Test prim for inheritance crashes"""
    inherits = </BasisCurves>
    customData = {
        string className = "BasisCurvesChild"
    }
) {
}

With a raw BasisCurves I was able to create this with FSD enabled:

With a BasisCurvesChild it crashed. Aside from executing the prim's Define via our UI, the example bypasses our codebase. I think we should provide this minimal example to NVIDIA so they can reproduce.

In the meantime, let's fall back to a rel. Agreed? @lilleyse @r-veenstra

A rel that points to a BasisCurve with a GlobeAnchor added, yes?

@r-veenstra Exactly

@corybarr makes sense.  It should also resolve https://github.com/CesiumGS/cesium-omniverse/issues/636

source: gharchive/issue

authors: corybarr lilleyse r-veenstra

repo: CesiumGS/cesium-omniverse

license_type: permissive

license_source: github-api


text:
Support for i3dm and Instanced 3D Models

hello, there is any plans to support instanced models in unity ?

Yes, we plan to support i3dm, which will first require adding it to cesium-native:
https://github.com/CesiumGS/cesium-native/issues/458
We don't have a timeframe for it currently, though.

Hi There! i've seen that cesium-native now supports i3dm! what would it take to add support in cesium-unity?

what would it take to add support in cesium-unity?

I can't give you an exact time frame, but it's coming. You'll likely see i3dm metadata in Unreal first, and then i3dm in Unity after that.
As always, if you're familiar with instanced rendering in Unity and not too scared-away by the C# / C++ conglomeration that is Cesium for Unity, we welcome a pull request that adds it! It's probably not too difficult by using the Unreal implementation as a reference.

authors: Amit-Yosef YerichoDev kring

repo: CesiumGS/cesium-unity


text:
CesiumSunSky gets misplaced on non-long/lat origin placement type

When the CesiumGeoreference origin placement type changes from longitude/latitude/height to others like True Origin or Bounding Volume Center, the CesiumSunSky becomes misplaced:

CesiumSunSky no longer aligned after changing the origin placement from Longitude/Latitude/Height to True Origin
It seems that the Unreal SunSky actor assumes that the actor's location is on the Earth's surface, on the edge of the atmosphere "sphere". So if the SunSky actor is placed elsewhere, e.g. at the Earth's center, the atmosphere gets offset from where it should be.
This leads to a follow-up question: how useful is the Bounding Volume Center placement method? For the true origin, we could figure out how to shift the SunSky by the radius of the Earth to get it aligned again. But for something like Bounding Volume Center, the georeference origin will be shifted asynchronously after adding any new tileset with a bounding volume, and any non-georeferenced Unreal Actor would be affected. It seems un-friendly to shift the georeference origin so unexpectedly. Perhaps one way to mitigate this is to call a SetNewWorldOrigin whenever the georeference origin changes, so that actor coordinates would update automatically. I'm not sure if this would work in-editor though.

how useful is the Bounding Volume Center placement method?

Probably not that useful anymore. In the very early days, it was useful to be able to add an Actor for, say, Melbourne, set the georeference to be centered at the bounding volume center, and immediately find yourself looking at Melbourne without needing to go look up its Longitude and Latitude.
But today, people are pretty likely to have CWT enabled, too, which breaks that workflow. And we can achieve the same result with a nearly-as-good workflow: double-click Melbourne, then select the Georeference and click "Place Georeference Origin Here". So I think we can deprecate this option.
The "True Origin" option deserves some consideration as well. The only time it's really useful is when you have a non-georeferenced model that you want to place like a normal UE Actor. And doing so requires a separate Georeference in the level. Maybe a better way to think about this is:

A level has exactly one Georeference. Maybe it could even be moved to World Settings instead of being a separate Actor.
A Tileset Actor has a boolean property that optionally marks it ungeoreferenced. Which just means that the Tileset's origin is placed at the Actor's Location and it is rotated only by the Actor's Rotation.

I just found this @javagl  - haven't had a chance to test it quite yet, but changing this setting in CesiumSunSky's SkyAtmosphere component would probably resolve the atmosphere placement (at least for True Origin mode)

Just a short note: I tried that out a few days ago, and with PlanetCenterAtComponentTransform, it appears to be visually correct.
A relevant point may be that when this is changed to something that involves the component transform, then ... well, the component transform has to be taken into account for some computations, and it's hard to figure out where and how exactly. May a user reasonably want to change that? If so, how should the transforms from the GeoRef be stirred in there? (Browsing into the UE code did not lead anywhere...)

authors: javagl kring xuelongmu

repo: CesiumGS/cesium-unreal


text:
npm install error

cesium1.75

You'll need to git clone this repo if you want to set up from source. Otherwise you can download a release zip from here: https://github.com/CesiumGS/cesium/releases
See also the Cesium quickstart guide: https://cesium.com/docs/tutorials/quick-start/.
For general questions please use the Cesium community forum: https://community.cesium.com/

authors: OmarShehata yeshihua

repo: CesiumGS/cesium

license_source: bigquery


text:
Intelligent subheading management

The tool copies the .md file verbatim. Could it be more intelligent about the number of hashes (#) before subheadings? The image below shows many ## headings, but there should be ### subheadings for items under the main ticket title.

Fixed in: https://github.com/ChainAccelOrg/trello_to_audit_report/pull/10

authors: PatrickAlphaC alexroan

license: MIT


text:
Performance issue with stablelib

Description

The js version of chacha20poly1305 takes significant time in lodestar

Need to find a different implementation:

Try to find a wasm implementation
Or find a native implementation and do async call there
1008_feat2_1.2.0_rc.0.cpuprofile.zip

This is from v1.2.0-rc.0 goerli lg1k, it shows how chacha20Poly1305Decrypt() could cause I/O lag issue

At 531044 ms

At 531153 ms

At 531207 ms

although each call takes only ~6ms, it's significant compared to others

1019_feat2_lg1k_1.2.0_rc.0.cpuprofile.zip

repo: ChainSafe/lodestar


text:
Detect unknown clients

Describe the bug
This is from a goerli v1.3.0 node and I think it also happens in unstable:
Jan-18 00:32:54.803[network]         ^[[34mdebug^[[39m: Req  request sent method=status, encoding=ssz_snappy, client=undefined, peer=16...BBbrtn, requestId=23586

The client is logged as undefined a lot of times
grep -e "client=undefined" -rn beacon-2023-01-18.log | wc -l
49774

maybe a client changed its identity?
Expected behavior

Investigate which client that we can't detect
If there are a lot of them, log as Unknown

should be resolved with https://github.com/ChainSafe/lodestar/pull/5069

authors: tuyennhv wemeetagain


text:
remove IInitOptions

removing IInitOptions since we don't need templateConfigFile anymore
will close #1251 in the process

closing in favor of #1357

source: gharchive/pull-request


text:
Set lodestar-params as const

Motivation
Current approach to customize lodestar-params requires them to be let. This is not great since those are supposed to be constants, so creates confusion an allows dangerous mutations.
Description
Provide a different mechanism to customize the preset on start-up that allows params to be all constants.
// Demostrates how to properly change the Lodestar preset safely

// 1. Import from @chainsafe/lodestar-params/setPreset only
import {setActivePreset, PresetName} from "@chainsafe/lodestar-params/setPreset";
setActivePreset(PresetName.minimal);

// 2. Import from any other @chainsafe/lodestar-params paths
import {expect} from "chai";
import {SLOTS_PER_EPOCH} from "@chainsafe/lodestar-params";

expect(SLOTS_PER_EPOCH).to.equal(8, "SLOTS_PER_EPOCH should have minimal preset value");
expect(process.env.LODESTAR_PRESET).to.equal(undefined, "LODESTAR_PRESET ENV must not be set");

However if you try to set the active preset after it have been initialized it will throw an error:
// Demostrates how NOT to change the Lodestar preset

// 1. Import from not only @chainsafe/lodestar-params/setPreset will trigger an error
import {SLOTS_PER_EPOCH} from "@chainsafe/lodestar-params";
import {setActivePreset, PresetName} from "@chainsafe/lodestar-params/setPreset";
// This line should throw
setActivePreset(PresetName.minimal);

lion@lion-gram:~/Code/eth2.0/lodestar/packages/params$ ../../node_modules/.bin/ts-node test/e2e/changePresetError.ts

/home/lion/Code/eth2.0/lodestar/packages/params/src/setPreset.ts:25
    throw Error(`Lodestar preset is already frozen. You must call setActivePreset() at the top of your application entry point.
          ^
Error: Lodestar preset is already frozen. You must call setActivePreset() at the top of your
application entry point, before importing @chainsafe/lodestar-params, or any library that may import it.

// index.ts
import {setActivePreset, PresetName} from "@chainsafe/lodestar-params/preset"
setActivePreset(PresetName.minimal)
// Now you can safely import from other paths and consume params
import {SLOTS_PER_EPOCH} from "@chainsafe/lodestar-params"
console.log({SLOTS_PER_EPOCH})

    at Object.setActivePreset (/home/lion/Code/eth2.0/lodestar/packages/params/src/setPreset.ts:25:11)
    at Object.<anonymous> (/home/lion/Code/eth2.0/lodestar/packages/params/test/e2e/changePresetError.ts:8:1)
    at Module._compile (internal/modules/cjs/loader.js:1072:14)
    at Module.m._compile (/home/lion/Code/eth2.0/lodestar/node_modules/ts-node/src/index.ts:1056:23)
    at Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
    at Object.require.extensions.<computed> [as .ts] (/home/lion/Code/eth2.0/lodestar/node_modules/ts-node/src/index.ts:1059:12)
    at Module.load (internal/modules/cjs/loader.js:937:32)
    at Function.Module._load (internal/modules/cjs/loader.js:778:12)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
    at main (/home/lion/Code/eth2.0/lodestar/node_modules/ts-node/src/bin.ts:198:14)

I've added a test running those two scripts directly with a child process to demonstrate that it works
Extra

Export all constants in the root index.ts file so importing them does not require going through commonjs compiled star import shenanigans

The params readme may need to be updated

What is "commonjs compiled star import shenanigans"?

What is "commonjs compiled star import shenanigans"?

Take a look at the compiled /lib files of a TS file that does export *
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
    if (k2 === undefined) k2 = k;
    o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
    for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__exportStar(require("./chainConfig"), exports);
__exportStar(require("./forkConfig"), exports);
__exportStar(require("./beaconConfig"), exports);
//# sourceMappingURL=index.js.map

authors: dapplion wemeetagain


text:
[FEATURE] Add escape/unescape string

Description
Adds 2 snippets for escaping/unescapring strings for usage with HTML.
What does your PR belong to?

[ ] Website
[x] Snippets
[ ] General / Things regarding the repository (like CI Integration)

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (non-breaking improvement of a snippet)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have checked that the changes are working properly
[x] I have checked that there isn't any PR doing the same
[x] I have read the CONTRIBUTING document.

@Chalarangelo According to my common understanding of escaping strings, it would be more like this https://www.freeformatter.com/javascript-escape.html

@Pl4gue me and @atomiks are already working on improving the snippets (that includes naming, too). There are also a few more changes being made, do not merge yet.
On the regex part, not all of these special characters need to be escaped for HTML as far as we know.


text:
Rob: Watch cialisoverthecounter-fast.com

Rob requests the watch of the watch_keyword cialisoverthecounter-fast\.com. See the Metasmoke search here and the Stack Exchange search here.

cialisoverthecounter-fast\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

https://stackoverflow.com/a/50000318/563532

!!/approve

authors: SmokeDetector metasmoke rjrudman surajrao

repo: Charcoal-SE/SmokeDetector


text:
Run commands asynchronously

Run each command on its own thread instead of blocking the chat watcher thread. This way, commands that freeze/deadlock won't render Smokey unresponsive. If a command runs for more than 60 seconds without completing, a warning message is printed.
Also adds a !!/traceback/!!/backtrace command which prints a traceback for a given thread ID; intended to ease debugging of deadlocks.

I think the backtrack command should be privileged, plus, have you tested this?

@Daniil-M-beep I have tested it.
Making the backtrace command privileged would be easy enough, but why? There's not really a way to cause harm with it as it just retrieves debugging information; and similar commands like threads and errorlogs aren't privileged.

@NobodyNada Judging by the CI test, not sure you have.

@Daniil-M-beep @user12986714 is right, I most definitely tested but I forgot to update the unit tests. I'll push those as soon as I'm done banging my head against a wall at Python's mocking system...

Phew. Tests are fixed and flake is happy.

What about we just add a kill-thread so we can stop jobs without rebooting the whole thing?

@user12986714 In general, it's not a good idea to kill a thread, since it would interrupt whatever code is running without giving it a chance to clean up. It could even cause problems with in the Python interpreter itself -- some Googling says that it's possible to completely deadlock all threads by killing a thread which holds the global interpreter lock. There's really no drawbacks to doing a reboot (we even have logic to catch up on missed post IDs), so I believe it's best not to implement a !!/kill-thread.

authors: Daniil-M-beep NobodyNada user12986714


text:
Victor VosMottor: Watch tolyattinec.ru

Victor VosMottor requests the watch of the watch_keyword tolyattinec\.ru. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

tolyattinec\.ru has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cigien in Charcoal HQ

authors: SmokeDetector metasmoke


text:
Dragonrage: Watch china-handbag-factory.com

Dragonrage requests the watch of the watch_keyword china-handbag-factory\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

china-handbag-factory\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
Nick: Watch masterdistributors.ca

Nick requests the watch of the watch_keyword masterdistributors\.ca. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

masterdistributors\.ca has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by cocomac in Charcoal HQ


text:
Nick: Watch QQALIENPOKER

Nick requests the watch of the watch_keyword QQALIENPOKER. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

QQALIENPOKER has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


text:
Time to deletion graphs lack units

This graph on metasmoke displays a value.
For clarity, could units be added?
I'd probably suggest one of the following:

List the value in seconds
Do seconds/minutes/hours

The first is probably easier to do though.

For the record, the unit stored in the database is seconds.

authors: CoconutMacaroon tripleee

repo: Charcoal-SE/metasmoke


text:
added heroku deploy button

Added app.json and heroku deploy button for one-click-deployment to Heroku

Looks like @mcmillan was faster (#17). Closing in favor of that PR.

Gah :( sorry!

authors: mcmillan piquadrat

repo: CharlieHess/slack-poker-bot

license: mit


text:
Ruff top-level linter settings are deprecated in favour of lint section

Remove the following warnings:

warning: The top-level linter settings are deprecated in favour of their counterparts in the lint section. Please update the following options in pyproject.toml:

'dummy-variable-rgx' -> 'lint.dummy-variable-rgx'
'fixable' -> 'lint.fixable'
'ignore' -> 'lint.ignore'
'select' -> 'lint.select'
'unfixable' -> 'lint.unfixable'
'mccabe' -> 'lint.mccabe'

Please have a human being review the proposed changes instead of a bot.

@brucearctor

Let's get a human do code review instead of a machine.

@cclauss -- Thank you, I applied this in https://github.com/astral-sh/ruff-action.

authors: cclauss charliermarsh

repo: ChartBoost/ruff-action


text:
Post a md file and an image file for "AI、Bot、WeChaty相关思考"

Fixes # .
Make sure these boxes are checked before creating your pull request -- thank you!

[x] Add Blog Header, including title, author, date.
e.g.

---
 layout: post
 title: "'Score Your Face Photo' a ML&Wechaty practice"
 date: 2017-09-18 09:00 +0800
 author: huyingxi
 ---

 > Author: [@huyingxi](https://github.com/huyingxi/wechaty_selfie) enjoying ML&Wechaty at BUPT

[x] Keep all filenames & url as lowercase, and use - to connect words instead of space. e.g. 2017-10-06-wechat-pc-impactor instead of 2017-10-06-WeChat PC Impactor,
[x] Embed the photo & video before publishing, save all external file to the blog /download/2018 directory.
[x] Add <!--more--> section to just show the abstract in blog homepage.

See more

Thanks for your new pull request and your blog! @lirobin1998
@zixia How do you think about this blog, I think this blog is ready to post.

repo: Chatie/blog


text:
Add more examples to most used CI/CD Build Servers

Is your feature request related to a problem? Please describe.
As an user I want to see examples for most common CI/CD Build Servers, using their convention, so I can quickly & smoothly integrate KICS on any CI/CD Pipeline.
Describe the solution you'd like
Beside the already existent examples, I would like to see examples for the following too:

Jenkins
Jenkins Pipelines
Bamboo
Team City
AWS CodeBuild
Travis CI
Circle CI

On this examples, I would like to see the use of their own YML structure, Default Environment Variables similar to issue #2962
and README file with all the details about which steps are required to follow to successfully integrate, like "Where can we define the environment variables in AWS CodeBuild ?"
This should be also available on public documentation https://docs.kics.io/1.2.4/ in the Integration section.
Thanks !

@miguelfreitas93 FYI, we're already working on the Jenkins pipeline and Circle CI Orb. You're welcome to contribute with examples from the other platforms. Thank you for your feedback.

We have merged https://github.com/Checkmarx/kics/pull/3038 adding documentation and examples for Jenkins pipelines.

We have merged https://github.com/Checkmarx/kics/pull/3086 adding documentation and examples for CircleCI

Adding TeamCity example https://github.com/Checkmarx/kics/pull/4259

Hi, @miguelfreitas93 🙂
Thank you so much for reaching us! KICS will document all of your integration suggestions very soon.
Jenkins, Team City, Travis CI, and Circle CI are already documented. Regarding Bamboo and AWS CodeBuild, the documentation was added in the respective PR's, #4791 and #4790.

repo: Checkmarx/kics


text:
feat(query): Added SQL Database Server Firewall Allows All IPS query for ARM

Signed-off-by: João Reigota joao.reigota@checkmarx.com
Proposed Changes

Added SQL Database Server Firewall Allows All IPS query for ARM

SQL Database Server Firewall endIpAddress should not be '255.255.255.255' when startIpAddress is '0.0.0.0' since this allows all IPS
I submit this contribution under the Apache-2.0 license.

LGTM


text:
i18n and Chinese translation stubs

This is the promised PR mentioned in #14 focusing on adding Chinese translation stubs to the codebase. Code style followed Official Docusaurus i18n Tutorial
With this PR, nothing changed in the English version, but allow us to continue to develop the Chinese version (Other languages would also benefit from this)
We plan to raise another PR for the Chinese translation files after this PR merged.
Don't hesitate to let us know if any issues need to be addressed.

Closing due to inactivity.

authors: Rigidity wizicer

repo: Chia-Network/chia-docs


text:
Simplify generated LINQ expressions

Is your feature request related to a problem?
Yes. I'll explain below.
Let's say I have the following object:
public class Book
{
    public Guid Id { get; set; }
    public string Content { get; set; }
    public bool IsPopular { get; set; }
    public int Rating { get; set; }
}

And that I want to execute the following query:
{
  books (where: {rating: {gt: 50}}) {
    id
    content
    isPopular
    rating
  }
}

HotChocolate will generate a LINQ expression for that where clause to apply to the IQueryable for my data source that looks something like:
where([x] != null AndAlso [x].Rating > 50)
as opposed to the more simplified:
where([x].Rating > 50)
Also, let's say I want to sort by executing the following query:
{
  books (order: {rating: ASC}) {
    id
    content
    isPopular
    rating
  }
}

HotChocolate will generate a LINQ expression for that order clause to apply to the IQueryable for my data source that looks something like:
orderby IFF([x] == null, 0, [x].Rating) asc
as opposed to the more simplified:
orderby ([x].Rating) asc
The problem with these generated expressions is that some LINQ providers like the one from MartenDb (https://martendb.io/) would understand the more simplified form of the expressions above, but not the ones that are currently generated.
The solution you'd like
The solution to this problem would be to generate more simplified LINQ expressions, so that it's possible to integrate HotChocolate with more data sources.
Product
Hot Chocolate

Cool. A new driver would be very helpful to resolve this. However, in the meantime, I actually know how to simplify the expressions, but am not sure where exactly in the framework I can hook in and add some custom logic to do that. For instance, once an orderby expression is generated, is there a place where I can hook in, get the generated expression and simplify it before it is actually applied to the IQueryable?

This is where the standard handler for the filter expressions are registered:
https://github.com/ChilliCream/hotchocolate/blob/main/src/HotChocolate/Data/src/Data/Filters/Expressions/Extensions/FilterConventionDescriptorQueryableExtensions.cs
Each operation has its own handler like the following:
https://github.com/ChilliCream/hotchocolate/blob/main/src/HotChocolate/Data/src/Data/Filters/Expressions/Handlers/Boolean/QueryableBooleanEqualsHandler.cs
At the moment the handler use a helper class to build the expression.
So you would need to create a separate set of handler, you could copy the handlers. that we got and then modify them to your needs.
the create a new registration method called AddMartenFieldHandlers and at the end of it you will have essentially a new driver :)
You want to do a PR? We would create a new library for Marten and you could put all of this in there?

You can also do all of this in your project if you do not want to do a PR ... the HotChocolate.Data is very modular.

I'll take a look. How about for sorting?

same thing. here is where we register:
https://github.com/ChilliCream/hotchocolate/blob/main/src/HotChocolate/Data/src/Data/Sorting/Expressions/Extensions/SortConventionDescriptorQueryableExtensions.cs
and here is one of the handlers:
https://github.com/ChilliCream/hotchocolate/blob/main/src/HotChocolate/Data/src/Data/Sorting/Expressions/Handlers/QueryableAscendingSortOperationHandler.cs

Cool. I'll take a look and implement the driver for Marten.

If you get stack give a ping to @PascalSenn on slack.

I implemented the driver, and added extension methods that's analogous to the ones defined in https://github.com/ChilliCream/hotchocolate/blob/main/src/HotChocolate/Data/src/Data/Filters/Expressions/Extensions/FilterConventionDescriptorQueryableExtensions.cs and https://github.com/ChilliCream/hotchocolate/blob/main/src/HotChocolate/Data/src/Data/Sorting/Expressions/Extensions/SortConventionDescriptorQueryableExtensions.cs such as AddMartenFieldHandlers and UseMartenQueryableProvider. Then I try to configure on startup like so:
builder.Services
    .AddGraphQLServer()
    .AddType<BookType>()
    .AddQueryType<Query>()
    .AddSorting(c => c.UseMartenQueryableProvider())
    .AddFiltering(c => c.UseMartenQueryableProvider());

But that does not work. I don't think that's due to of an issue in my driver because if I try to explicitly configure with the defaults like so:
builder.Services
    .AddGraphQLServer()
    .AddType<BookType>()
    .AddQueryType<Query>()
    .AddSorting(c => c.UseQueryableProvider())
    .AddFiltering(c => c.UseQueryableProvider());

That also does not work, which leads me to believe that maybe that's not where I should be hooking in the driver. Where should I do that?

Never mind. Figured things out. Everything is working like a charm. I'll contribute the code soon so others can benefit.

Awesome!

authors: jabellard michaelstaib

repo: ChilliCream/hotchocolate


text:
Taskbar flickering [TaskbarX]

On Build v14 and v15 i had massive flickering (Normal Taskbar <-> Blur Effect) when running with following Parameters "-taskbarstyle=2 -looprefreshrate=1000 -fixtoolbarsontraychange=1 " on a 3 Monitor Setup.

Hmm, can you see if it's restarting multiple times using Taskmanager?

Sure thing. Wait i cant XD Forgot to say that it only happens if no application is opened!

What i can tell is that an old Version of TaskbarX works just fine under the same conditions. I think my current is V12 or v13

Okey. I did a lot of Testing:

Version 14 and 15 always flicker if Taskbar Style != Default and not Window is active/on the tray
No Combination of Configurations can prevent the flickering
The Update interval has an impact on the time until the first flickering occures after the last window was closed. (Not on the ones that follow cause the process indeed restarts all the time and loses configuration in that process vgl. Process Hacker Log)

Process Hacker Log.txt
I really hope this will help you to fix the issue cause i really really like this project. Keep up the good work :-)

Thanks for the details 😁👍. I will look into it.
In v14 the application restarts when any error occurred v13 and lower will just continue running.
I'll let you know if i think i got a fix 😉

Allright!
Your log file explained what i predicted was happening. It was indeed constantly restarting.
That pointed me to the right block of code :).
When i closed all icons from my taskbar as you said i was able to reproduce the issue.
So v16 should fix the issue ;)


text:
Updated adilio command

Updated adilio bot command to use the other emote.

If you take out line 27 it should solve the issue where you're blocked from sending other commands... I can't suggest it because you didn't change it.

If you take out line 27 it should solve the issue where you're blocked from sending other commands... I can't suggest it because you didn't change it.

I've got an idea of how to handle this sort of thing so I'll get in a PR to fix that later today. In the mean time I'll get your fix added and merge this PR

authors: ChrisLGardner adilio corbob

repo: ChrisLGardner/go-discord-bot


text:
FIle organizer script

Pull Request
Title
FIle organizer script for basic organizing on a directory
Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

A bit too obscure and there are better GUI tools for this.

authors: ChrisTitusTech guruswarupa

repo: ChrisTitusTech/linutil


text:
Remove Auto-Generated WinUtil file from script, and fix it to work with gitignore.

As mentioned in the stream, it would be nice to have the autogenerated script to work with the gitignore. The file was added to the repo before the gitignore, so it would still work. This should allow it to be ignored.

Can't actually merge this, but I get what you are saying. I'll merge this today.

authors: ChrisTitusTech CoryBorek

repo: ChrisTitusTech/winutil


text:
Not available using vs-code server

Not available to install via marketplace from vs-code server.
I'm using docker (linuxserver/code-server)
Manual installing vsix works without issue.

Can you show me what you're doing and whether you're getting any error message?

No error message, just says not listed.
https://user-images.githubusercontent.com/89784/215291023-12c961f1-0d84-45ff-9855-a32f83d2f34c.mp4
The docker compose file used:
version: "2.1"
services:
  code-server:
    image: lscr.io/linuxserver/code-server:latest
    container_name: code-server
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/London
      - DEFAULT_WORKSPACE=/config/workspace #optional
    volumes:
      - ./vscode/config:/config
    ports:
      - 8443:8443
    restart: unless-stopped

authors: ChristianLempa SaltireSoul

repo: ChristianLempa/vscode-thedigitallife


text:
Can't copy images to OCI repo

Trying to implement the  demo - the helmper configuration implies insecure and plain http - it might be me doing something wrong.

I launch zot using podman

podman run -d -p 5000:5000 ghcr.io/project-zot/zot-linux-amd64:lates

Then create the basic configuration and execute helmper

k8s_version: 1.31.1
import:
  enabled: true
charts:
- name: prometheus
  version: 25.8.0
  valuesFilePath: /workspace/in/values/prometheus/values.yaml # (Optional)
  repo:
    name: prometheus-community
    url: https://prometheus-community.github.io/helm-charts/
registries:
- name: registry
  url: oci://0.0.0.0:5000
  insecure: true
  plainHTTP: true

it results in the following which complains in about http response to https client - "https://0.0.0.0:5000...." why is it trying https?
{"time":"2024-11-19T16:18:17.962085672Z","level":"ERROR","msg":"internal: error importing chart to registry: helm: error pushing chart kube-state-metrics to registry oci://0.0.0.0:5000 :: error pushing chart: failed to do request: Head \"https://0.0.0.0:5000/v2/charts/kube-state-metrics/blobs/sha256:98fd639856e028124519658403fcc7f4dd5cd5ca7ea874263e21a32c85c1425d\": http: server gave HTTP response to HTTPS client"}

I am also facing same issue. Here i have created issue
https://github.com/ChristofferNissen/helmper/issues/144

repo: ChristofferNissen/helmper


text:
Update specs2-core, specs2-scalacheck to 4.10.5

Updates

org.specs2:specs2-core
org.specs2:specs2-scalacheck

from 4.10.3 to 4.10.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2" } ]

labels: test-library-update, semver-patch

Superseded by #160.

Superseded by #160.

repo: ChristopherDavenport/agitation


text:
Initial CNSGA pop size is wrong in working example

I ran a real test case of the latest Xopt using the dev setup.  The example is a dcgun tracked with GPT, optimizing the emittance out of the gun vs. the bunch charge.  Generally, it looks like the example ran successfully in parallel at NERSC:

Investigating the population stats, I see that the first population has the wrong size (121 instead of 120):

I've attached the full working example.
dcgun_distgen.zip

I restarted the optimization from the last pop file in the attached working example, and the initial pop size is incorrect on restart:

Is it possible to reproduce this error in a minimal example?

Here is recreation of the problem in a simpler working example:
mwe_tnk_with_subprocess.zip

mwe_tnk_with_subprocess.zip
The initial pop size looks off.  The problem still optimizes...

authors: ColwynGulliford roussel-ryan

repo: ChristopherMayes/Xopt


text:
Dependency Issue : org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.3.31}

After adding  'com.github.Chrisvin:EasyReveal:1.0' dependency i'm getting this error.
ERROR: Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve org.jetbrains.kotlin:kotlin-stdlib:{strictly 1.3.31}.
ERROR: Unable to resolve dependency for ':app@debugAndroidTest/compileClasspath': Could not resolve org.jetbrains.kotlin:kotlin-stdlib:1.3.50.

You can temporarily resolve this error by adding the following in your project build.gradle
repositories {
        ...
        maven { url 'https://dl.bintray.com/kotlin/kotlin-eap' }
    }

Take a look at the demo project build.gradle for reference.
I didn't notice that I was using a early-access-preview version of kotlin, I'll mark this as a bug since a stable library shouldn't be using EAP dependencies.
Kindly refrain using this in production code until this issue is resolved (probably within 24 hours), thanks for the patience. :)

Thanks... After adding EAP dependencies Now its working fine.

Turns out that the actual issue was the dokka plugin. It used to resolve it's dependency from the project build.gradle (which explains why it was temporarily fixed by adding the EAP maven repo).
This has now been fixed with release 1.2

Feel free to reopen if the problem persists or reappears.

repo: Chrisvin/EasyReveal


text:
[Code Highlight] Add csharp language support

I followed the guide https://theme-ui.com/packages/prism, did the shadow components.js but it did not work.
Please correct me if I'm wrong!

I tried various options, first of all, I tried to do this:
Create the components.js file here (in the existing gatsby-plugin-theme-ui folder)
src/gatsby-plugin-theme-ui/components.js
And import there import 'prismjs/components/prism-r'
But nothing came of this (I tried adding prism.r.js to different places), then I tried different other options. But, I'm afraid this is not something that can be implemented "out of the box", I think that in order to implement this, we need to add new Chronoblog functionality.
But I'm not so sure! Perhaps there is a way about which I do not know.

Thanks for your efforts. I'm new to gatsby, I'll try to find another way!

we only need do shadow gatsby-plugin-theme-ui/components.js like this

Then update styles.code at gatsby-plugin-theme-ui/index.js like this

I think we should add this way to readme file

Great job 👍! Yes, it is definitely worth adding to the readme. I think it will be better if you do it (since this is your contribution).
I already added information about Prism in the readme, I think it should be posted somewhere here: https://github.com/Chronoblog/gatsby-theme-chronoblog#adding-support-for-additional-programming-languages
Only, I think it will be better if instead of screenshots, you place the code there.

repo: Chronoblog/gatsby-theme-chronoblog


text:
Can you make ssd with mobilenet backbone?

Dear ChunML,
I tested your code ssd-tf2. I look good job.
But, i need deploy on Coral TPU with small memory. So, i want decrease size model. Can you add option SSD with MOBILENET backbone?
Thank  you!

Have you converted the model to int8 tflite and used the tpu compiler?

Hi, I am trying to convert the trained model to tensorflow lite to use it in a Google TPU Coral board but when I try to save the model (first step to convert it to TF lite) it fails saying lists into tensors

@javimg140 the trouble I am seeing with converting this to TPU is the model is defined as a subclass. I am working on defining it as a functional model. Still working on that. Don't know if it'll work yet.

@sterlingrpi thanks, I am also checking if it is possible to save it meanwhile (according to tensorflow you can save subclassed models) and if not I will also try to create a functional model based on this.

@javimg140 I got the model defined using functional API and it converts to tflite int8 and TPU. Now my problem is training on my own data doesn't yield good results. I'm going to try with the VOC dataset

@javimg140 I got the model defined using functional API and it converts to tflite int8 and TPU. Now my problem is training on my own data doesn't yield good results. I'm going to try with the VOC dataset

@sterlingrpi that is awesome, could you let me check how you did it? Do you have the code in your github?

@javimg140 https://github.com/sterlingrpi/ssd_tflite_tpu

@sterlingrpi about the problem with the training that you said, did you modify the number of classes to study? Because in your code you wrote 21 but i saw you only wrote 6 kinds of birds. I am trying with my own dataset and it works fine (I have only done a simple test so I cant be sure yet)

@sterlingrpi about the problem with the training that you said, did you modify the number of classes to study? Because in your code you wrote 21 but i saw you only wrote 6 kinds of birds. I am trying with my own dataset and it works fine (I have only done a simple test so I cant be sure yet)

I agree, if change number of class to 21. It works fine.

@javimg140 and @sarattha are you saying that after correcting the number of classes the functional api model trained and works successfully (i.e. detects objects reliable)?
And you used my code? https://github.com/sterlingrpi/ssd_tflite_tpu
What dataset were you using?

authors: javimg140 khiemauto sarattha sterlingrpi


text:
这行代码会导致切换回本月的时候，直接选中本月的第一天。而不是当天

https://github.com/CiroLee/vue-materials/blob/084e4198c9e512d61328f631522771d93ee77a0c/src/components/calendar/index.vue#L85

这段代码是防止切换时跳月的现象(如8月31日切到九月，会直接跳到10月，因为9月没有31日，Date会自动寻找下一个符合条件的月份，所以这里需要指定一个都有的日期， 如1日)。
切换本月要显示当天，加一个条件判断即可，已修复。

authors: CiroLee RyanPan-SW

repo: CiroLee/vue-materials


text:
Feature/collectd addon

[x] Installs cleanly on a fresh build of most recent master branch
[ ] Upgrades cleanly from the most recent release
[x] Updates documentation relevant to the changes
[ ] Rebases cleanly onto the latest master

Testing in progress, I just wanted to get this out here so we can have a discussion: this PR removes logstash's collectd forwarding behavior. Motivation is on 05c49f1. Does anyone have feedback of a better way to do this?

Unfortunately, this fails with our Zookeeper checks (which check for /etc/collectd.d/zookeeper.conf).

Looks good otherwise, the addon playbook installs correctly and all services remain healthy. We'll just have to remove that distributive check, which will be part of the distributive refactor that's on its way.

@siddharthist is there a way we could remove that check now? Or move it to the collectd checks right away?

It is installed via the monolithic distributive-rpm. If you merge my PRs on mantl-packaging, I can put the new distributive PR in right away, we can merge that and then this.
Or, we could remove distributive.yml from the zookeeper role altogether in the meantime.

Rebased onto latest master

This will be unblocked by #1268, which doesn't check for /etc/collectd.d/zookeeper.conf.

now that #1268 is in, we can probably get this merged as soon as the merge conflicts are resolved

Great, I’ll work on that today!

this passes most checks but fails on DO for some reason, for different failure scenarios. Weird.

rebased

@BrianHicks We've seen the most recent DO failure in CI builds before, is that what you were referring to? Is this ready to merge after we fix those variables that @ryane pointed out?

@BrianHicks are the mesos_agent_present mesos_master_present variables being used anywhere?

$ ag mesos_agent_present
roles/collectd/tasks/mesos-agent.yml
5:  register: mesos_agent_present

$ ag mesos_master_present
roles/collectd/tasks/mesos-master.yml
5:  register: mesos_master_present

so... no? Do you reckon they ought to be removed?

I kinda think so. they don't break anything but just so there is no confusion...

I changed that, squashed the commit, and rebased. If tests pass, I'll merge.

Well, they all failed, but not for related reasons.

tested successfully on gce

authors: BrianHicks ryane siddharthist

repo: CiscoCloud/mantl


text:
Integrate with SMSTrace/CMTrace

Any chance you could prefix the warnings and errors in your logs with WARNING and ERROR? I use SMSTrace/CMTrace to view logs and they highlight WARNING in yellow and ERROR in red. Makes combing through logs way faster. Otherwise, this is pretty slick.

CMTrace: https://docs.microsoft.com/en-us/mem/configmgr/core/support/cmtrace
OneTrace: https://docs.microsoft.com/en-us/mem/configmgr/core/support/support-center-onetrace
SMSTrace: https://docs.microsoft.com/en-us/previous-versions/system-center/configuration-manager-2003/cc180193(v=technet.10)

Implemented in v1.0.99.0

repo: CitiesSkylinesMods/AutoRepair


text:
New Scraper: Forest Park Urban Redevelopment Authority

Create a new scraper for Forest Park Urban Redevelopment Authority
Website: https://www.forestparkga.gov/meetings
Jurisdiction: Forest Park
Classification: Development
The purpose of the Urban Redevelopment Authority is to revitalize and redevelop blighted areas within a city or county. The City of Forest Park Urban Redevelopment Authority focuses on promoting the development of trade, commerce, industry, and employment opportunity at the Gillem Logistics Center.

scrapable

looks like this is the same url as #28 -- i'm planning to refactor the code there.

authors: jpt-c rhetr

repo: City-Bureau/city-scrapers-atl


text:
cchhs fails with airtable pipeline

2017-10-05 21:54:01 [scrapy.core.scraper] ERROR: Error processing {'description': 'http://www.cookcountyhhs.org/wp-content/uploads/2017/08/08-17-17-Managed-Care-Agenda.pdf', 'classification': 'Not classified', 'start_time': '2017-08-17T10:30:00-05:00', 'location': {'url': '', 'name': '1900 W. Polk, Second Floor Conference Room, Chicago, Illinois', 'coordinates': None}, '_type': 'event', 'name': 'Managed Care Committee Meetings', 'end_time': 'See description', 'all_day': False, 'status': 'passed', 'id': 'ManagedCareCommitteeMeetings2017-08-17T10:30:00-05:00'}
Traceback (most recent call last):
  File "/Users/DE-Admin/.virtualenvs/documenters-aggregator/lib/python3.6/site-packages/twisted/internet/defer.py", line 653, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/Users/DE-Admin/Code/documenters-aggregator/documenters_aggregator/pipelines.py", line 64, in process_item
    new_item['end_time_formatted'] = self._transform_date(new_item['end_time'])
  File "/Users/DE-Admin/Code/documenters-aggregator/documenters_aggregator/pipelines.py", line 95, in _transform_date
    dt = dateutil.parser.parse(timestring)
  File "/Users/DE-Admin/.virtualenvs/documenters-aggregator/lib/python3.6/site-packages/dateutil/parser.py", line 1182, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/Users/DE-Admin/.virtualenvs/documenters-aggregator/lib/python3.6/site-packages/dateutil/parser.py", line 559, in parse
    raise ValueError("Unknown string format")

I can fix this and put the dates for all the scrapers in the same format. There are 2 formats right now.

dates in this format with the number of hours offset from utc at the end: 2017-01-01T12:00:00-05:00
dates in utc (2017-01-01T07:00:00Z) with an extra field timezone="America/Chicago"

@eads is there a preference for which one?

@eads , do you have a preference for 1 vs 2 here?

#1 sounds good!

authors: eads r-wei

repo: City-Bureau/documenters-aggregator


text:
[Snyk] Upgrade sass from 1.58.0 to 1.69.5

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade sass from 1.58.0 to 1.69.5.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 33 versions ahead of your current version.
The recommended version was released 21 days ago, on 2023-10-26.

Release notes

Package name: sass

1.69.5 - 2023-10-26To install Sass 1.69.5, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
JS API

Compatibility with Node.js 21.0.0.

See the full changelog for changes in earlier releases.

1.69.4 - 2023-10-17To install Sass 1.69.4, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes

No user-visible changes.

See the full changelog for changes in earlier releases.

1.69.3 - 2023-10-12To install Sass 1.69.3, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
Embedded Sass

Fix TypeScript type locations in package.json.

See the full changelog for changes in earlier releases.

1.69.2 - 2023-10-10To install Sass 1.69.2, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
JS API

Fix a bug where Sass crashed when running in the browser if there was a global variable named process.

See the full changelog for changes in earlier releases.

1.69.1 - 2023-10-09To install Sass 1.69.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes

No user-visible changes.

See the full changelog for changes in earlier releases.

1.69.0 - 2023-10-05

1.68.0 - 2023-09-21

1.67.0 - 2023-09-14

1.66.1 - 2023-08-18

1.66.0 - 2023-08-17

1.65.1 - 2023-08-09

1.65.0 - 2023-08-09

1.64.2 - 2023-07-31

1.64.1 - 2023-07-22

1.64.0 - 2023-07-20

1.63.6 - 2023-06-21

1.63.5 - 2023-06-21

1.63.4 - 2023-06-14

1.63.3 - 2023-06-09

1.63.2 - 2023-06-08

1.63.1 - 2023-06-08

1.63.0 - 2023-06-07

1.62.1 - 2023-04-25

1.62.0 - 2023-04-11

1.61.0 - 2023-04-06

1.60.0 - 2023-03-23

1.59.3 - 2023-03-14

1.59.2 - 2023-03-11

1.59.1 - 2023-03-10

1.59.0 - 2023-03-10

1.58.3 - 2023-02-18

1.58.2 - 2023-02-17

1.58.1 - 2023-02-14

1.58.0 - 2023-02-01

    from sass GitHub release notes

Commit messages

Package name: sass

89dac15 Add compatibility with Node.js 21.0.0 (#2128)
69d0f07 Bump lints from 2.1.1 to 3.0.0 (#2126)
ac25a70 Bump dartdoc from 6.3.0 to 7.0.0 (#2118)
f40c1fc Cut a release (#2120)
44dceea Update pubspec and changelog for sass/embedded-host-node#257 (#2116)
c62fe6a Fix crash in browser when running alongside NextJS (#2114)
887c511 Cut another release (#2111)
8e6a26c Cut a release (#2107)
ce545c2 Implement first class mixins (#2073)
310904e Fix a race condition preventing embedded compiler to shutdown after a protocol error (#2106)
16b8512 Switch to the GitHub-hosted MacOS ARM64 runner (#2103)
4255930 Update the version of Sass used by the website on release (#2102)
507e439 Bump actions/checkout from 3 to 4 (#2088)
f66cb47 Bump docker/setup-qemu-action from 2 to 3 (#2089)
ff56fc5 Implement support for the relative color syntax of CSS Color 5 (#2098)
00823e0 Rephrase errors for numbers that must be unitless or % (#2101)
23f0143 Forbid LLM contributions (#2100)
9177f14 Update protocol-version during embedded-host-node release (#2097)
0b6a103 Deprecate Deprecation.calcInterp (#2096)
81c0be6 Avoid useless allocations for interpolations without maps (#2095)
de618fa Fix an error during embedded compiler shutdown (#2092)
873e91e Cut a release (#2090)
13c9fb3 Expose the containing URL to importers under some circumstances (#2083)
69f1847 CI: Configure dependabot to update GitHub Actions, too (#2087)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

This issue was already fixed in https://github.com/City-of-Helsinki/drupal-helfi-kasvatus-koulutus/pull/498/files#diff-c52fb613f03eafa4c91a9778760933a707cc663de1e8830bdf5e003da102738a

authors: anmipa khalima


text:
Package version bumps 01-14-2022

Description :sparkles:
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #632 (b71efa8) into develop (dc4efbb) will decrease coverage by 30.94%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           develop     #632       +/-   ##
============================================
- Coverage    61.58%   30.64%   -30.95%
============================================
  Files          543      245      -298
  Lines        14100     4412     -9688
  Branches      1401      791      -610
============================================
- Hits          8684     1352     -7332
+ Misses        5144     2850     -2294
+ Partials       272      210       -62

Impacted Files
Coverage Δ

frontend/tet/admin/src/pages/404.tsx

...t/applicant/src/hooks/useCreateApplicationQuery.ts

backend/benefit/helsinkibenefit/tests/conftest.py

...s/applications/forms/application/Application.sc.ts

backend/benefit/companies/apps.py

...nd/benefit/applications/migrations/0001_initial.py

...d/benefit/applicant/src/backend-api/backend-api.ts

...ations/forms/application/step1/utils/validation.ts

backend/shared/shared/oidc/tests/conftest.py

backend/shared/shared/audit_log/tests/conftest.py

... and 288 more

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 dc4efbb...b71efa8. Read the comment docs.

authors: codecov-commenter nenonja

repo: City-of-Helsinki/yjdh


text:
April feedback tweaks

a variety of jira feedback tweaks, after maddy's vacation.
Description

undo legend hide with sidebar
alignment/padding tweaks to sidebar changes
Hide top map element on Report view
show pagination buttons in report-type tab elements
move new callout button to it's own row
only show Day-Picker when there is > 1 day to show
disable map popups above zoom 12

may conflict some of Omar's upcoming work disabling report buttons. 😟


text:
⚠ Bofrost.de has degraded performance

In d712358, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2049 ms

Resolved: Bofrost.de performance has improved in 1c550eb.

repo: Ckal/Uptime


text:
⚠ Bofrost.lu has degraded performance

In 717cc68, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 900 ms

Resolved: Bofrost.lu performance has improved in 7f3f8df.


text:
⚠ Bofrost.be has degraded performance

In be1c1bd, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1673 ms

Resolved: Bofrost.be performance has improved in 58bd661.


text:
⚠ Bofrost.be has degraded performance

In 39e3cd2, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1438 ms

Resolved: Bofrost.be performance has improved in 9aab460.


text:
⚠ Bofrost.at has degraded performance

In 06a01e2, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1491 ms

Resolved: Bofrost.at performance has improved in 08d55aa.


text:
⚠ Bofrost.de has degraded performance

In c3407c5, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 776 ms

Resolved: Bofrost.de performance has improved in 7ec4f2c after 6 minutes.


text:
⚠ Bofrost.de has degraded performance

In 97e8d44, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 809 ms

Resolved: Bofrost.de performance has improved in 8d5b1a6 after 6 minutes.


text:
⚠ Bofrost.fr has degraded performance

In 1ca99c4, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1038 ms

Resolved: Bofrost.fr performance has improved in e6c0afe after 10 minutes.


text:
⚠ Bofrost.at has degraded performance

In 9110274, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2485 ms

Resolved: Bofrost.at performance has improved in 78b39c8 after 18 minutes.


text:
⚠ Bofrost.be has degraded performance

In 4108437, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1666 ms

Resolved: Bofrost.be performance has improved in a2b1ae8 after 9 minutes.


text:
⚠ Bofrost.be has degraded performance

In 8386bed, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 915 ms

Resolved: Bofrost.be performance has improved in 15ff5ad after 6 minutes.


text:
⚠ Bofrost.lu has degraded performance

In e4c8591, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1222 ms

Resolved: Bofrost.lu performance has improved in c71c099 after 27 minutes.


text:
⚠ Bofrost.fr has degraded performance

In 4522491, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1460 ms

Resolved: Bofrost.fr performance has improved in d4257f1 after 7 minutes.


text:
⚠ Bofrost.at has degraded performance

In 37d4ae4, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 991 ms

Resolved: Bofrost.at performance has improved in 80ea476 after 1 minute.


text:
⚠ Bofrost.lu has degraded performance

In 7425b13, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1397 ms

Resolved: Bofrost.lu performance has improved in 5c92938 after 6 minutes.


text:
⚠ Bofrost.at has degraded performance

In e1eebea, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1877 ms

Resolved: Bofrost.at performance has improved in 5007833.


text:
⚠ Bofrost.es has degraded performance

In 242b2c7, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1557 ms

Resolved: Bofrost.es performance has improved in 9aeabf7 after 8 minutes.


text:
⚠ Bofrost.lu has degraded performance

In e768e69, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1043 ms

Resolved: Bofrost.lu performance has improved in d367827 after 10 minutes.


text:
⚠ Bofrost.at has degraded performance

In 0ca97b1, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1614 ms

Resolved: Bofrost.at performance has improved in 2b91385 after 6 minutes.


text:
⚠ Bofrost.nl has degraded performance

In 5c6576f, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 1508 ms

Resolved: Bofrost.nl performance has improved in 04d5ae4 after 8 minutes.


text:
⚠ Bofrost.es has degraded performance

In e930518, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1641 ms

Resolved: Bofrost.es performance has improved in 73acff3 after 10 minutes.


text:
⚠ Bofrost.de has degraded performance

In ebfe484, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 909 ms

Resolved: Bofrost.de performance has improved in cce08dd.


text:
⚠ Bofrost.at has degraded performance

In 1822c06, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1695 ms

Resolved: Bofrost.at performance has improved in 5559453.


text:
⚠ Bofrost.at has degraded performance

In f1777e3, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 995 ms

Resolved: Bofrost.at performance has improved in 38106b9.


text:
⚠ Bofrost.de has degraded performance

In 0c061f3, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 833 ms

Resolved: Bofrost.de performance has improved in 7664525.


text:
⚠ Bofrost.be has degraded performance

In 401da41, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 3347 ms

Resolved: Bofrost.be performance has improved in 1fbcfc3.


text:
Submit only to one file in submit_here

With this PR there should be several enhancements

Only 1 place to commit domain submit_here/category.txt
New scripts that can help contributing

toolbox/ad_hosts.sh is to add new "ordinary" porno domains
toolbox/del_hosts.sh is to wipe out a domain from any records
toolbox/build.sh Existing new build script
travis/run_on_pull_requests Will test any new submissions to submit_here/hosts.txt, this script will later test the other files in submit_here/ as well

Todo:

[x] Create README.md in submit_here and toolbox
[x] Create build script
[x] Create .travis.yml
[x] Copy travis/run_on_pull_requests from https://github.com/Import-External-Sources/pornhosts/blob/master/travis/run_on_pull_requests
[ ] Verify this PR doesn't delete things we like to keep
[ ] Verify this PR doesn't delete any domains
[ ] Verify this PR doesn't re-add any domains
[x] Merge hosts file into the new submit_here
[ ] Set the generatehost script to copy download_here/0.0.0.0/hosts => 0.0.0.0/hosts and the same for 127.0.0.1

Why this new approach?
Since @pyfunceble still have it's trouble finishing a complete build, this should be separated into two phases

Submiitting and hosting
Testing for any dead hosts

Closes https://github.com/Clefspeare13/pornhosts/issues/60

Hey @Clefspeare13 Any comments would be appreciated


text:
Ip 847 allow csv with delimiters

Overview:
We want to support CSV files for our COPY commands, specifically because we need to ingest data which was UPLOADed, and that command only supports CSV
Testing:
Tested locally, having trouble testing that the JSON stuff still works however
Roll Out:
Simple rollout as it's idempotent

LGTM
Context: chatted with Schimmy offline, we decided that DELIMITER AS '|' ESCAPE REMOVEQUOTES would be sufficient to adequately encode our data.
As a result, UNLOAD will need DELIMITER AS '|' ESCAPE ADDQUOTES

authors: evaninja schimmy


text:
DONOTMERGE: use batchcli instead of gearcmd

JIRA:
https://clever.atlassian.net/browse/INFRA-2217
Overview:
Testing:
Roll Out:

[ ] Remember to deploy both s3-to-redshift and s3-to-redshift-fast

closing in favor of #95


text:
Update circe-core, circe-generic, ... to 0.14.9

About this PR
📦 Updates

io.circe:circe-core
io.circe:circe-generic
io.circe:circe-parser

from 0.14.6 to 0.14.9
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.circe" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.circe" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #638.


text:
fix simulation length

Purpose
The downstream coupler test is meant to run for only two timesteps, but I had accidentally copied the tiny AMIP config without changing t_end. It is fixed here

duplicate of https://github.com/CliMA/ClimaCoupler.jl/pull/1039


text:
Update the ozark test

Is your feature request related to a problem? Please describe.
Need to bring the Ozark test up to date with main, which now includes an updated version of the plant hydraulics. This will allow us to test the coupled plant hydraulics and soil models
Describe the solution you'd like
The solution

will have SI units consistent with the rest of the model (m3 of H2O instead of moles, fluxes in m/s-1, etc.)
it will allow for the user to set the number of stem and leaf compartments
will include forcing data from Fluxnet site instead of from Natan's run
will include parameters which are currently being used in the PlantHydraulics module (vg consistent wth soil model instead of modified logistic)

Describe alternatives you've considered

using a different site (other than Ozark) which has soil and vegetation data for one tree

Additional context
NA

yes, complete!


text:
fix DiffEqBase and OrdinaryDiffEq to be the same as in ClimaCore tests

@sajjadazimi - could you check if this will for for you?
I basically fixed those two packages to be whatever is fixed in ClimaCore.jl. I think that for some reason over there we have to be using some old pinned version

bors r+

authors: sajjadazimi trontrytel


text:
compute_units_consumed field is currently populating as zero

SELECT MAX(block_timestamp) FROM solana.transactions WHERE compute_units_consumed!=0

2024-05-20 10:19:42.000000

Looks like this field has been zero since May 20th.

Same thing with amount field in post_token_balances and pretoken_balances  amounts for  solana.transactions, amount is always zero...

@jeffling any ideas here?

Hey, thanks for reporting, looking into this

This is fixed for all new data. Will look into backfilling

This is fixed for all new data. Will look into backfilling

@jeffling thanks

authors: AlphonsG gingerwizard jeffling mmcgee-jump

repo: ClickHouse/CryptoHouse


text:
Return actual driver's version

The PR making returning the actual driver version.
As currently request for version receives response 0.0

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

Thanks for your contribution. This has been addressed in #747 along with other issues.

Property Name
Value

getDriverName
ClickHouse JDBC Driver

getDatabaseProductName
ClickHouse

getDatabaseProductVersion
21.10.2.15

getDriverVersion
clickhouse-jdbc 0.3.2-SNAPSHOT (revision: 675d382)

getJDBCMajorVersion
4

getJDBCMinorVersion
2

getDriverMajorVersion
0

getDriverMinorVersion
3

authors: CLAassistant snuyanzin zhicwu

repo: ClickHouse/clickhouse-jdbc


text:
fix: SYSTEM SYNC REPLICA for on_cluster_clause

Summary
Fix bug SYSTEM SYNC REPLICA
docs:
https://clickhouse.com/docs/en/sql-reference/statements/system#sync-replica

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

authors: CLAassistant Schum-io

repo: ClickHouse/dbt-clickhouse


text:
404 on npm

Has this project moved? I get a 404 on npm: https://www.npmjs.com/search?q=dayspan-vuetify

Greetings!
I just published the current version to NPM (0.0.1) - but as noted in the
README - I will be making some (potentially) breaking changes over the
next week.
Thank you for your interest!
If you find any bugs or missing features, please let me know through GitHub!
Thanks
On Jul 18, 2018 8:34 PM, "CJ" notifications@github.com wrote:
Has this project moved? I get a 404 on npm: https://www.npmjs.com/search?
q=dayspan-vuetify
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ClickerMonkey/dayspan-vuetify/issues/17, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAZtcW2QE_GX7T4rDShP8eKZ5fADsyWbks5uH9QZgaJpZM4VVknd
.

authors: ClickerMonkey cjtc

repo: ClickerMonkey/dayspan-vuetify


text:
⚠ Ian Slack has degraded performance

In 3786f54, Ian Slack (https://ianslack.com.au) experienced degraded performance:

HTTP code: 200
Response time: 19292 ms

Resolved: Ian Slack performance has improved in bda27f1 after 11 minutes.

repo: Clicki-Digital/uptime


text:
Design clear caching protocol

This should be implemented in the docs/examples as a proposed API.
The cache protocol must clearly define:

possible types of cache configurations
how these configurations are specified (config file, python, CLI)
what is cached on write for each cache configuration
what is cached on read for each cache configuration
any modifications that can be made to the defaults using method flags/CLI args

In addition, it should clearly articulate how users are expected to interact with the cache in each of our main uses cases (big servers, e.g. Sacagawea, and personal/OSDC machines) including cache management.

I'm going to brainstorm ideas here:
https://docs.google.com/document/d/13Q9UB8oOrgHo0Tr8CQFt5vJ5VdbEoSoL9TTePeD6eYA/edit?usp=sharing

@jgerardsimcock how do you feel about the proposal in the google doc? should this get closed and move to developing tests?

The api design in cache_policies is, I think, good.
As for work on this issue, there is some work in cache_by_default that may be informative, but this branch should by and large be discarded. All of the work is geared toward the previous system. Most of these changes should be done through an overhaul of data_file, whereby caching is done in data_file based on the value of a cache_policy parameter (string or object? not sure) that is passed into file operation calls. This will make this module much more clear and testable.

repo: ClimateImpactLab/DataFS


text:
look into optimizing with numba

particularly jit, and http://numba.pydata.org/numba-doc/dev/user/jitclass.html
eventually, might be able to do some gpu optimization.

what kind of optimisation are we looking here?
If its wrt speed of model training then I  guess we cant do much as most of important scikit API's either are wrapper around C library's like LIBLINEAR , LIBSVM etc which will again be compiled code.
On the other hand if my understanding is correct critical time consuming submodules with in  fully pythonic code are written in C/C++ and compiled using Cython(pyrex) which doesn't make it eligible for jit compilation.
But yea internal calculation/numpy operations can be optimised using numba.

If its wrt speed of model training then I  guess we cant do much as most of important scikit API's either are wrapper around C library's like LIBLINEAR , LIBSVM etc which will again be compiled code.
On the other hand if my understanding is correct critical time consuming submodules with in  fully pythonic code are written in C/C++ and compiled using Cython(pyrex) which doesn't make it eligible for jit compilation.

But yea numpy array/data frame looping operations etc can be very optimised for speed.


text:
アクション機能の実装

ClipMenuにあるようなアクション機能を実装する予定はあるのでしょうか。
ClipMenuでは"プレーンテキストとしてペースト"や"Capitalize"を便利に使っているので、Clipyでも実装されると嬉しいのですが。

js拡張は機能として非常に重くなってしまうため直近の実装としては考えておりません。
ただし、"プレーンテキストでのペースト"等使用頻度が高いものに関してはjs拡張としてではなく、アプリのデフォルト実装として考えています。
現状AppStoreへのリリースや設定画面のリプレイスが終わるまで手をつけられませんが、将来的には拡張していくつもりではありますので長い目で見ていただければと思います。

ありがとうございます。
"プレーンテキストでのペースト"のアクションは非常に便利なので、楽しみに待ちたいと思います。

私もできればアクション機能欲しいです…:raised_hands:
ClipMenu では引用符（>）を行頭に付加するスクリプトを作成して、コマンドキーを押しながらペーストすると引用符付きでペーストできるように設定して重宝してます。

+1

authors: Econa77 Hitonami abouthiroppy rinopo

repo: Clipy/Clipy


text:
Image doesn't come up in the history

Image doesn't come up in the clipy history. I tried image copy on preview and browsers.
Does anyone know the same issue?
I'm using clipy v1.2.1 on Macbook Air M1, 2020.
Thanks in advance!

I just noticed this issue today as well.  Not sure which Monterrey update broke it, but Clipy was successfully showing images in history up until some point.  In my history, clip #95 last shows an image in history, so it looks like it might be some time since this worked properly

A self update.
I got the m1 native binary in the fork below and found it SOLVED the issue!!
https://github.com/ian4hu/Clipy/releases/tag/1.2.12
I couldn't find a mention about the issue on image in the above fork, but it works.
For now, just let me share the fact it saved me :-)

Still the same issue

You can use this fork https://github.com/ian4hu/Clipy which does not have the issue.


text:
Added basic CSS grid (Bootstrap)

@spyshiv @RishabhJain2018 Please review.

@spyshiv can you check why travis is getting failed?

@aka-jain It was a timeout issue. It needed restart.

LGTM. Merging this PR.

authors: aka-jain spyshiv

repo: Cloud-CV/EvalAI-ngx


text:
Fixed Edit Profile UI in Dark Mode

Description

Fixed Edit Profile Text Field in Dark Mode

Issue Ticket Number
Fixes #353

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[x] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes needed to the documentation

Congrats @chibuh 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.

@Debajyoti14 https://www.clueless.tech/profile/admin/104098876825535381336


text:
Create a dropdown v3

One need to make this component using HTML and Tailwind CSS. I would suggest to use Tailwind Playgrounds to make things faster and quicker.
Here is a reference to the component.

After building the component please raise a PR with a screenshot of the component and add the component in path of the file.
If you need to use any icon please use it from Hero Icons
Good luck.

Assign this to me @rahulkarda

Assign this to me @rahulkarda

I've already created a PR

authors: rahulkarda yes-im-harsh

repo: Clueless-Community/web-ui-kit


text:
Pretty-print does better with conveying field value structure

Fixes #245.

Thanks @itamarst

All the tests pass locally
I like the new multiline format

 9c360485-253b-4dc9-b9f0-c3167f89d79f -> /2/2/2/2/2/2/2/2/2/4/2/2/2/2
 2015-11-30 22:47:04.887236Z
-  action_type: fsm:transition
-  action_status: succeeded
-  _HOSTNAME: 119.9.108.114
-  _SYSTEMD_UNIT: flocker-container-agent
-  fsm_next_state: <ConvergenceLoopStates=SLEEPING>
-  fsm_output: [u'<ConvergenceLoopOutputs=STORE_INFO>', u'<ConvergenceLoopOutputs=UPDATE_MAYBE_WAKEUP>']
+  action_type: 'fsm:transition'
+  action_status: 'succeeded'
+  _HOSTNAME: '119.9.108.114'
+  _SYSTEMD_UNIT: 'flocker-container-agent'
+  fsm_next_state: '<ConvergenceLoopStates=SLEEPING>'
+  fsm_output: ['<ConvergenceLoopOutputs=STORE_INFO>',
+            |  '<ConvergenceLoopOutputs=UPDATE_MAYBE_WAKEUP>']

I noted that eliot-prettyprint breaks when there are non-eliot lines in the input.

4b7139d8-1ebc-4a07-a804-63fe0a536fee -> /1
2015-11-30 22:47:03.082205Z
  message_type: 'twisted:log'
  _HOSTNAME: '119.9.108.173'
  _SYSTEMD_UNIT: 'flocker-docker-plugin'
  error: False
  message: 'Stopping factory <twisted.web.client._HTTP11ClientFactory instance at 0x7f1b8da41518>'

Traceback (most recent call last):
  File "/home/richard/.virtualenvs/eliot-245/bin/eliot-prettyprint", line 9, in <module>
    load_entry_point('eliot==0.10.1+11.g61a813a', 'console_scripts', 'eliot-prettyprint')()
  File "/home/richard/projects/HybridLogic/eliot/eliot/prettyprint.py", line 99, in _main
    result = pretty_format(message) + "\n"
  File "/home/richard/projects/HybridLogic/eliot/eliot/prettyprint.py", line 67, in pretty_format
    level = "/" + "/".join(map(unicode, message[TASK_LEVEL_FIELD]))
KeyError: u'task_level'

It choked on a Docker log line.
It'd be nice if it printed the failed lines to stderr.
Or if it skipped over non-eliot lines.
Please merge unless you want to make the imp change and want another review of that.

authors: itamarst wallrj

repo: ClusterHQ/eliot


text:
Lumberjack logs from 3rd party framework not showing up

I'm sorry to create an issue to ask a question that will most likely result in a confirmation that I overlooked a basic thing.
I have a framework that I built myself that now uses CocoaLumberjack to log its output. It works fine from within the framework itself (there's a command-line usage example that adds the TTY and ASL loggers.
However, when trying to integrate with my app (which I'm also writing), I get my app's Lumberjack logs but I don't get any of the logs written by the framework. My initialization of the logger is done during the awakeFromNib and before any logs are written by the framework code. The debug/release config shouldn't be an issue I think since I pretty much hardcoded static const int ddLogLevel = LOG_LEVEL_VERBOSE; in the framework for now.
For reference, my logger initialization in my app looks something like this:
    [DDLog addLogger:[DDASLLogger sharedInstance] withLogLevel:LOG_LEVEL_VERBOSE];
    [DDLog addLogger:[DDTTYLogger sharedInstance] withLogLevel:LOG_LEVEL_VERBOSE];

    DDLogFileManagerDefault *logFileManager =
            [[DDLogFileManagerDefault alloc] initWithLogsDirectory:[self pathForFilename:@"Logs"]];
    DDFileLogger *fileLogger = [[DDFileLogger alloc] initWithLogFileManager:logFileManager];
    fileLogger.rollingFrequency = 60 * 60 * 24;
    fileLogger.maximumFileSize = 3000000;
    fileLogger.logFileManager.maximumNumberOfLogFiles = 7;

    [DDLog addLogger:fileLogger withLogLevel:LOG_LEVEL_VERBOSE];

Note that this is my first experience with Cocoa/objective-C and it's been years since I've dealt with pre-processors. I think I looked at the basics but I must have missed something.
Any ideas?

I think this issue is becoming more and more important as we make new releases and 3rd party frameworks keep requiring certain Lumberjack versions which conflict among them.
We really need a façade and fallback to NSLog when the user chooses not to use a logging framework.
Should we pay some attention to https://github.com/SLF4C/SLF4C/issues/1?

I'm working on apps that incorporate a number of internal frameworks, and managing logging levels separately for each individual framework is becoming a greater and greater challenge. It seems like a logging façade is the way forward.
In fact, there seems to be an SLF4Swift that can use CocoaLumberjack as a back-end, but I'm still primarily working in Objective-C.
What needs to be done to move SLF4C forward?

I think it was already working. What is needed is some more testing and then the hardest part, make frameworks adopt it.

Great! Is there an example or a demo of it being integrated somewhere?

I think it is yet to be done and added to the repository ;)

Not sure what to do here. @rivera-ernesto any ideas what actions to take?

authors: alexandre-normand bpoplauschi rivera-ernesto weissazool

repo: CocoaLumberjack/CocoaLumberjack


text:
Miscellaneous project setup

\c @kylef

LGTM

We suspect the lack of 459ba6d is responsible for https://github.com/CocoaPods/Rainforest/issues/53.

This'll make it into the next series of releases.

Thank you!!

authors: arifken mr-fixit neonichu segiddins

repo: CocoaPods/cocoapods-deintegrate


text:
added Karmayogi Competency Passbook project

Project
Karmayogi-Competency Passbook for Officials
Changes
added Karmayogi Competency Passbook project

Add bullet point in contact info

authors: Apoorvgarg-creator Sumitmaithani


text:
Module not found: Error: Cannot resolve module 'pace'

Bug when I use it with webpack. Could you fix here https://www.npmjs.com/package/pace-progress ?

+1
I'm running into this issue as well.  Both import pace from 'pace-progress'; and require('pace-progress'); cause the build to fail.

Have you guys find a solution for this?

+1

+1
same for me:
Can't resolve 'pace'

:+1:

I managed to get around this by running npm install pace -S
ie. installing pace explicitly into the root of the node_modules folder

+1
The workaround proposed by @Jbarget works for me also. But I prefer a solution from the module authors

of course, at the moment if you use my workaround you'll have 2 copies of pace installed on the project which is unnecessary (one in the root and the other nested within pace-progress. hoping it will only be temporary

@Jbarget Yeah, I also hope it will be temporary. By the way, isn't there a way to make 'pace' resolve to the  nested pace module? Like using Webpack's alias or something like that.

good point! im working on other functionality at the moment but will definitely revisit this

@Jbarget I will also give it a look when I had a little more time

The problem is that the AMD define in pace.js is incorrect:
define(['pace'], function() {
  return Pace;
});

(This defines a pace as a dependency, and pace on npm is an unrelated CLI progress bar package that this project doesn't depend on.)
Correct define would be this (naming the module in the define call should be avoided):
define(function() {
  return Pace;
});

To get around this until it's fixed, just disable amd for pace-progress:
{         test: require.resolve("pace-progress"),         loader: "imports?define=>false"       }
this requires the imports loader for webpack:
npm install imports-loader --save-dev
After that, you can just import it as usual:
import Pace from 'pace-progress';

Sorry for not being involved in the discussion, but I just got this error today and it seems an easy enough fix

update pace.coffee
npm install && grunt
git push

Hopefully I've not missed anything, sorry if I did, I'd love to know what so I don't make the mistake again.
Anyone using https://github.com/bigcommerce/stencil, I'll be pushing a patch to that too

bump please

I am still getting the issue in stencil

Stencil has updated. Hubspot AFAIK has done nothing so you'll have to manually patch hubspot pace from my repo ATM

@yfilali
this configuration is not valid for webpack 2.0. If you use 2.0, pls write full loader name like this:
{
    test: require.resolve("pace-progress"),
    loader: "imports-loader?define=>false"
 }

A quick fix is to fulfil it temporarily with:
npm install --save-dev github:HubSpot/pace#v1.0.2

anyone managed to get this working in webpack 2?
my code;
require('pace-progress');
      {
        test: require.resolve("pace-progress"),
        loader: "imports-loader?define=>false"
      }

with webpack2 just need
resolve: {
  alias: {
    pace: 'pace-progress'
  }
}

Unfortunately this is still an issue, but @yozman fix works in webpack 3 as well. Is there a bigger fork we can point to, or can we discuss a 'pace' organization and get a few people on board ?

No hero willing to save the world here !
:(

In my symfony webpack i use:
require('imports-loader?define=>false?pace-js');

Incredible that this hasn't been solved yet. It's just a one liner and would resolve so much pain!
If I remove the module name as @yfilali states. The problem is fixed! So please just replace:
define(['pace'], function() {
  return Pace;
});

with
define(function() {
  return Pace;
});

and the world is a happier place :)

thanks for publishing this as pace-js-amd-fix npm module

thankyou @chebaby for the fix 👍 it worked for my situation (kotlin and webpack)

Thanks for all the hints, guys!
I finally fixed it for symfony webpack encore with your help:
// fix pace js import     .addLoader({         use: 'imports-loader?define=>false',         test: require.resolve('pace-js')     })

I don't see this problem with webpack 5, maybe this issue can be closed?

This workaround works for me :

add imports-loader : yarn add -D imports-loader (not easy to guess ^^)
add this in webpack.config.js :

// fix pace-js import
    .addLoader({
        test: require.resolve('pace-js'),
        use: [{
            loader: 'imports-loader',
            options: {
                additionalCode: 'var define = false;'
            }
        }]
    })

run yarn build

@glen-84 webpack encore is always on webpack 4 :S

https://github.com/symfony/webpack-encore/issues/880

authors: CoolGoose Jbarget Lewiscowles1986 Splintex abarke amandeepsinghvirdi andresmatasuarez arnoldrch barbuslex bonesoul broadcoder don-bluelinegrid fson genarorg glen-84 h0ward iShawnWang jklimke raphaelsoul robert-cronin voipme2 yfilali ymatuhin yozman

repo: CodeByZach/pace


text:
Apply GUI design to the empty case

Merged

repo: CodeChain-io/codechain-wallet


text:
✨ Source Control Navigator: Changes Tab

This was completed with #1471. Closing.

repo: CodeEditApp/CodeEdit


text:
✨ Snippets

Describe the solution you'd like
Do we want to add something like the Snippets action from Xcode where users can save snippets of their code and use it later or in the future.
Additional context

Absolutely! Here are a few considerations...

We need to figure out how we will create and store user defined snippets.
Extensions will also be able to add snippets.
Users should also be able to type a string of characters in the editor and auto suggest should suggest the associated snippet.
When pressing tab it is inserted with the first wildcard highlighted if applicable.
Snippets should also be aware of the file it is in so it can be auto-populated.

We can use a local database maybe or something similar.
When highlighting the code we can right click to add to snippets

I might suggest storing them in a JSON file like VS Code, https://code.visualstudio.com/docs/editor/userdefinedsnippets. The same code can then also be used by snippet extensions written by developers and shared on the "marketplace".
It's important that these files can be easily backed up automatically by CodeEdit or that they are in a straightforward location so that they can easily be added to other computers and shared.

@jasonplatts that is a good resource! We might be able to find code that will help us to parse the json and process the variables specified in that documentation link.

Lots of good stuff there to help with the extensions API too @austincondiff. If we can keep the process of extension development similar, we should be able to port a lot over and encourage devs to contribute.

@jasonplatts We should at some point react out to extension developers of other platforms and see if they can A) help us with the extension API, and B) help us write extensions.

I'm currently working on the design of it.

For sure! I've reached out to some already and I have a few others in mind too. If anyone is able to themselves contribute or knows of anyone else who might be interested, please spread the word! This issue, https://github.com/CodeEditApp/CodeEdit/issues/76, provides a general overview.

We can have a basis of it already by select code in the editor and then saving it. Will most like push it once we have a custom editor

I'm currently working on the design of it.

Thanks for your contributions and hard work! I am also trying to get into the details of the API. It's work in progress, but please feel free to add to the list that is started here, https://github.com/CodeEditApp/CodeEdit/issues/76.

@jasonplatts Why don't we save the basic information of the snippets in the json like name, description, method, platform and completion then the code we add it to it's respective file so if the code is java it would be snippet_name.java and then add the path of the file in the json?

I was thinking more along the lines of using the same setup as VS Code, where we store all of the snippet code in JSON format. We could have a global JSON file that stores snippets that should appear for all languages and then separate language-specific JSON files, such as javascript.json, php.json, etc. This way there would be no need to link to other files from a JSON. CodeEdit would only need to read all JSON files from a directory and load those that are necessary.
There would be a couple of benefits. First, we only have to worry about reading in JSON files rather than different language specific files. Second, we could then offer consistent snippet syntax, VS Code Snippet Syntax, regardless of the language. This includes tabstops, placeholders, for example. Third, this makes it easier for developers to import their existing VS Code snippets. It would even be possible to offer an import VS Code Snippets option.
Thoughts?

We could do that yes, but we also have to be aware of the size of json because it could end up causing performance issues for users that save a lot of snippets.

I agree. That is definitely a valid concern.

Closed in favor of #1623

authors: austincondiff jasonplatts nanashili


text:
🛑 sensors.AFRICA - API is down

In 1fc8fbd, sensors.AFRICA - API (https://api.sensors.africa/docs) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sensors.AFRICA - API is back up in 42b1310 after 30 minutes.

repo: CodeForAfrica/upptime


text:
Search location validation

did NOT include the full street address....only City,ST and Zipcode....

New PR being created to resolve merge conflicts

authors: Agentkma dhof

repo: CodeForBoulder/Kalicos


text:
Add API Implementation

Merges into #1.
Description
This PR does the following:

Implements CodeMC/API for the Bot

Performs a RegEx grouping expression on the GitHub repository link, to be used to determine if a project is freestyle, and used as parameters for username and jobName
Creates a Nexus Repository (/repository/username), Jenkins User (/job/username), and Jenkins Job (/job/username/job/jobName) automatically
Generates an arbitrary Nexus Password that is 24 characters long (see generator.kt for more details)
Performed Asynchronously with Kotlin Coroutines & Kotlin Serialization for better performance

Updates the requirements in config.json

A new jenkins and nexus section is now required to be inputted. Similar to #4, specify the host URLs, with admin login details that the bot should use.
A new role list called services is available. This includes direct interaction with the current services via API. The sample includes the Moderator and Administrator roles.
See config.json.sample for more information.

Adds a remove Slash Command

A /remove slash command that inputs a required user parameter and an optional username parameter. The username will default to the Discord Nickname if not provided.
The required roles are the services list mentioned earlier.

Removes the project-url parameter in the Accept command, calculated according to the config.json instead
Updates Gradle to the latest version, which is 8.9.
Adds more missing directories to .gitignore.

API Implementation
The implementation details of the API are on the repository, which performs tests against Jenkins and Nexus containers with similar configuration, and collects code coverage. Thus, specific API changes must be made to the repository, which will then be updated here.

Updates the implementation from CodeMC/API. Unit tests pass.
I will make a separate PR implementing a CmdRemove that goes into #1 separately.

GitHub is weird.

Added recommended changes to the /codemc command. Includes #7, #8, and #9.
The implementation for #8 includes using Kotlin Coroutines for validating all the registered Jenkins users, aiming to help speed up validation and API creation. A quick look at the public API endpoint shows ~101 authors, so this will be useful.

Added a /codemc changepassword subcommand, along with /codemc unlink and a few other utilities.

That should be all of them. I also upgraded Gradle to the most recent version.

Tested everything on a Bot with a Docker Setup.
A few notes:

There were a few bugs in the API regarding bot-specific actions, like the validate command where it could create inconsistencies between Jenkins and Nexus passwords.
Added more logging for future debugging and just general information.
submit now denies users that apply with the same name.

It also appears JDA makes fields required by default, meaning optionality must be explicit.

There were a few bugs regarding typos in configuration paths, along with a small bug for lacksRole in ButtonListener.
The Deny button has a literal "Reason not Provided" as a reason, since making it null replaces it with the Jenkins URL for success
The remove command uses the database to remove the author role from the discord user, removing it as a parameter.
I removed a lot of suspend modifiers in the API, which allows for better interoperability with Java. I also noticed a lack of faster runtime for having coroutines in the validate command where it validates all Jenkins users, so I also removed it there.
I fixed the dependencies issue by adding all of the necessary dependencies, along with the CodeMC API itself.

repo: CodeMC/Bot


text:
How can I run my test scripts for multiple browsers without running script for multiple times?

What are you trying to achieve?
What do you get instead?

Provide console output if related. Use --verbose mode for more details.

# paste output here

Provide test source code if related

// paste test

Details

CodeceptJS version:
NodeJS Version:
Operating System:
Protractor || WebDriverIO || Nightmare version (if related)
Configuration file:

# paste suite config here

is this relevant to https://github.com/Codeception/CodeceptJS/issues/464 ?

yes

Maybe this new feature will work for you? http://codecept.io/advanced/#multiple-execution

thanx for this great new feature, Michael !
next challange: adding CrossBrowserTesting.com - configuration to your config file;
how do I send my tests through CBT on different CBT-configurations at the same time
(multiple execution via CBT) in the same config as my local multiple execution-configfile.
so my challenge in short:
1 config file, in which I can choose to do a local multiple execution or a CBT multiple execution.

Can someone please provide a working example for this multiple browser implementation? I tried but its not working properly. Some simple example with config pls.

@joelgrimberg looks like you just need to use this documentation https://help.crossbrowsertesting.com/selenium-testing/frameworks/webdriver-io/
Or you want to run the same tests on different platforms? If yes, please create new issue about this, will think, what can be done for this.
Closing this issue, to run  multiple browsers  use http://codecept.io/advanced/#multiple-execution

authors: APshenkin DavertMik PoojaMittal27 imvetri joelgrimberg shrikanthkm07

repo: Codeception/CodeceptJS