feat(jit): implement a JIT with llvm and inkwell

Currently the interpreter is very slow, to the point of it being really bad for anything that isn't simple. Computing fib(25) (with the recursive approach) takes ~52.5ms with node.js but in the koan interpreter it takes ~188.2ms. Hopefully a bytecode VM will make it a bit faster, or at least make optimizing easier.
TODO List:

[ ] Implement resizable arrays

https://llvm.org/docs/LangRef.html#array-type
https://mapping-high-level-constructs-to-llvm-ir.readthedocs.io/en/latest/

[ ] Implement variables

Figure out final semantics of how values will work, refcounting? a full tracing gc? simply leak the memory? (probably not)

[ ] Implement if/else
[ ] Implement function definitions
[ ] Implement logical and + or
[ ] Implement tolerant comparison

Pivoting from VM to llvm JIT because I think it's feasible and we'd get all the llvm optimizations "for free"

update: it was very much not "for free"

I think it's best to try and switch to cranelift (or power through LLVM and then also have a cranelift, somewhat like rust), it seems to be easier to use and significantly faster. This comes at the cost of lower quality generated machine code but I think this is an acceptable trade-off.

Cranelift TODO list:

[ ] if/else
[ ] function definitions
[ ] function calls
[ ] variable definitions

[ ] Scoping (requires some kind of static analysis as cranelift requires them to be declared up front)

[ ] blocks
[ ] arrays
[ ] strings
[ ] presumably a rudimentary type system


Disable Panic Sequence (backspace+escape+enter)?

I'm am creating a kiosk application and this has helped me out immensely so far in remapping certain pesky chrome shortcuts which don't want to be disabled.
I don't want my users to be able to break out of the set environment whatsoever besides pressing a predefined key sequence for developers only. Is there a way to disable able to panic sequence or map it to something else?
This would help avoid users being able to break the remapping software and then perform shortcuts which would give them access to the OS.

Thanks this is exactly what I was looking for! I understand this sort of defeats the purpose of the panic sequence, but I feel for my specific use case this will work.


[FEATURE REQUEST] Reset Indicator

When a user clicks on the reset button on the checklist detail page the website just resets. And since the page animation doesn't activated it looks like a bug, so maybe we should make page it to have it's main page animation activated when the checklist is resetted.

Agree! Any volunteers or any disagree? @alpcanaydin @hsnaydd

I totally agree. We can add this feature.

This issue is solved at #135


Add duty cycles to dashboard

Will show you the percentage of time that you were heating or cooling. Good for making sure you're not driving your compressor too hard.
If you zoom the graph, it'll re-compute the duties for the window selected.
See lower right corner:

 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.

Neat!

Thanks again for submitting this PR -- My JavaScript is really lacking, unfortunately, and this is an interesting feature to implement (especially given that it can be done entirely client-side). At some point I'll need to figure out a way to manage the volume of information displayed on the device dashboards - but that's a project for another day.


⚠ ClamAV has degraded performance

In b456109, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 93 ms

Resolved: ClamAV performance has improved in 8591e41.


Use a block strategy for the file logger

What have you changed? (mandatory)
Fixes #3695 .
What are the type of the changes? (mandatory)

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
CI
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
No
Refer to a related PR or issue link (optional)
Fixes #3695 .
Benchmark result if necessary (optional)
N/A
Add a few positive/negative examples (optional)
N/A

test raftstore_cases::test_conf_change::test_server_split_brain ... thread 'raftstore_cases::test_conf_change::test_server_split_brain' panicked at 'region Some(id: 1 region_epoch {conf_ver: 7 version: 1} peers {id: 1 store_id: 1} peers {id: 3 store_id: 3} peers {id: 4 store_id: 4} peers {id: 5 store_id: 5} peers {id: 6 store_id: 6}) has peer id: 3 store_id: 3', components/test_raftstore/src/pd.rs:750:9
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
stack backtrace:
   0: std::sys::unix::backtrace::tracing::imp::unwind_backtrace
             at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
   1: std::sys_common::backtrace::print
             at libstd/sys_common/backtrace.rs:71
             at libstd/sys_common/backtrace.rs:59
   2: std::panicking::default_hook::{{closure}}
             at libstd/panicking.rs:211
   3: std::panicking::default_hook
             at libstd/panicking.rs:227
   4: std::panicking::rust_panic_with_hook
             at libstd/panicking.rs:475
   5: std::panicking::continue_panic_fmt
             at libstd/panicking.rs:390
   6: std::panicking::begin_panic_fmt
             at libstd/panicking.rs:345
   7: test_raftstore::pd::TestPdClient::must_none_peer
             at components/test_raftstore/src/pd.rs:750
   8: test_raftstore::pd::TestPdClient::must_remove_peer
             at components/test_raftstore/src/pd.rs:806
   9: integrations::raftstore_cases::test_conf_change::test_split_brain
             at tests/raftstore_cases/test_conf_change.rs:466
  10: integrations::raftstore_cases::test_conf_change::test_server_split_brain
             at tests/raftstore_cases/test_conf_change.rs:514
  11: integrations::__test::TESTS::{{closure}}
             at tests/raftstore_cases/test_conf_change.rs:511
  12: core::ops::function::FnOnce::call_once
             at /checkout/src/libcore/ops/function.rs:223
  13: <F as alloc::boxed::FnBox<A>>::call_box
             at libtest/lib.rs:1454
             at /checkout/src/libcore/ops/function.rs:223
             at /checkout/src/liballoc/boxed.rs:640
  14: __rust_maybe_catch_panic
             at libpanic_unwind/lib.rs:106
FAILED

https://github.com/tikv/tikv/issues/2917
@zhangjinpeng1987 Please fix this problem ASAP. It happens too often.

Why block is better than drop? I think block means the slog-async will block other threads (e.g. raftstore) if they print too many logs?

@hicqu Because we are a distributed database that provides strong, safe operation. It is irresponsible to drop logs in this context.
 This PR also expands the channel size to fit the console logger so we don;'t encounter this as often.

@Hoverbear I think the root of the problem is we print too many useless logs (e.g. CompactLog) instead of the style we use slog-async. So how about keep it, but reduce useless logs?

I agree with @Hoverbear, drop strategy is not helpfull for diagnosis. Cleaning up useless logs is another task.

@hicqu I support that change, but it's a very different PR. Maybe you can open an issue ?

@Connor1996 Can you approve the PR?


sqlalchemy.dialects.postgresql.JSON columns have incorrect types?

mypy seems to think that the type of data in this column is "Union[Dict[str, Any], List[Any]]" which seems reasonable.
However, the returned data actually seems to be of type str

@davidgu did I get it right that you refer to runtime value of the column? If so, could you provide a minimal reproducible example?
Is it before or after the changes to the column get committed/flushed? It could be that you accidentally pass it the data in a form of string, i.e. json.dumps. In that case, SQLAlchemy won't attempt to convert your JSON to a dict before the flush happens.

@killthekitten This is after the changes to the column are committed. The reason for this bug is that I am storing a plain string in the column, which is valid JSON. (You can check on https://jsonlint.com/)
The typing stubs do not account for this possibility. A more accurate type would be something like "Union[Dict[str, Any], List[Any], str]"

@davidgu thanks for clarifying, makes sense now 👍 This change might also need to take in account a JSON null value, i.e. https://github.com/sqlalchemy/sqlalchemy/issues/3159, and/or JSON.none_as_null

@killthekitten can we add a bug label to this issue? I don't seem to have the permissions to do that

@davidgu me neither, for this we would need some help from maintainers.


use this script

any interest in usign this script for stop/start?
http://tsaith.github.io/blog/2015/03/30/installing-sidekiq-and-redis-on-ubuntu/

Hello, Thank you for the recommendation. That is an init script that needs to be run by update-rc.d.  This playbook uses upstart to manage Sidekiq. We found through trial and error that upstart makes managing services more seamless and pleasant than update-rc.d.


Just pulling down the new strings as separate PR

What
Troubleshooting build by separating parts of bigger PR

closing this as cory just wanted to test via CI


Add frozendict as a requirement to setup.py

Fixes #17
Originally raised by @oarriaga, this PR adds frozendict as a requirement to the setup.py file. This package is needed as frozendict is used in example hamiltonian_graph_network.py viz.
https://github.com/deepmind/jraph/blob/175ea2893cf90201536bd07264caaf6f3fad45ee/jraph/examples/hamiltonian_graph_network.py#L57

@jg8610 request for review.


Grandpa demon fakerate bug

The beautiful effects on the level page don't show up if I make retray grandpa demon. And they don't disappear if I rerate tidal wave to easy.

I will close this issue when I figure out a way to fix this.

EffectsManager.h might have what you want
I found this line of code. It's also a resource, but from last time I used it, I feel like there's more than just that sprite:
CCSprite::createWithSpriteFrameName("GrD_demon4_infinity.png"_spr);

Fixed in v1.4.0


Add editor bind, add global timeout for spec

Pull Request Test Coverage Report for Build 102

20 of 21 (95.24%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 82.129%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/editor/editor.component.js
12
13
92.31%

Totals

Change from base Build 101:
0.05%

Covered Lines:
2561

Relevant Lines:
2924

💛  - Coveralls


datastore: embedded struct value, PLS not respected

When a ptr-to-struct type implements a PLS, but the struct value is embedded in a parent struct (not pointer), the PLS implementation is not respected.
Eg.
type A struct {
	I int
}

func (a *A) Load([]Property) error {
	// ...
}

func (a *A) Save() ([]Property, error) {
	// ...
}

type Parent struct {
	A A
}

Original report: https://github.com/GoogleCloudPlatform/google-cloud-go/issues/546#issuecomment-285506960

Thanks!

👍


Crash inside ComputeLdftnReverseLookupLookup

See https://github.com/dotnet/corert/issues/2490 or @shrah for repro

@fadimounir Could you please take a look?


First Use of PowerToys not working

Win10 Pro OS:
Ok I'm no rocket scientist but I installed the new "PowerToys.msi" file and when I opened the program from the taskbar icon using "Settings" the box opens up to a blank screen.  I have only 3 options to choose from the taskbar icon..."Settings, About and Exit".
Rebooted thinking that would help...NOT
Removed and re-installed...NOT
Stumped on why it does not work...
I know it's a beta but I was hoping for a  bit more...

Same boat.

Same here.

Hi @rkent57, @tjdraper, @Syuein
thanks for reporting the issue, I will follow-up here https://github.com/microsoft/PowerToys/issues/243 since it seems the same problem.
Thank you.

Ditto

Closing this issue as duplicate of #243


svelte: error: "Function called outside component initialization"

@urql/svelte: 0.2.0
Steps to reproduce

go to REPL: https://codesandbox.io/s/urql-svelte-error-function-called-outside-component-initialization-jyqoy?file=/App.svelte

the error appears in all its magnificence:

"Function called outside component initialization"

Expected behavior
I need to assign todos store after the sleep() function:
onMount(async () => {
  await sleep(2000);
  todos = query({ query: TODOS_QUERY });
});

Actual behavior
It works if you use the "classic":
$: todos = query({ query: TODOS_QUERY });

You can’t call a store creator outside the component; internally it uses things like getConrext so that won’t work :)
Especially with the delay it won’t be called with the right timing; I’m not sure what you’re trying to achieve but maybe you’ll want to look at using the client’s methods directly

Was spinning my wheels on this for a while as well. Turns out the suggestion here of moving svelte to devDependencies needed to be done for @urql/svelte as well??? That change got me up and running at least. Hopefully no unintended consequences.

Was spinning my wheels on this for a while as well. Turns out the suggestion here of moving svelte to devDependencies needed to be done for @urql/svelte as well??? That change got me up and running at least. Hopefully no unintended consequences.


feature request

hello! this is an awesome extension and i would like to request/add a new feature:

basically, you get to see the previous execution details along with the current one.
this is useful for me because i would like to see the previous execution time so that i know roughly when the new runs will end.
if this is a good idea, ill try to implement it and make a PR.
lmkwyt 😁

3.1.0rc1 was recently release and includes this. I expect a final version to land in the next few weeks. See #72 for a screencast.

looks amazing! thanks for the time!


how do you deal with multidimensional problems?

Hi there,
just wanted to ask how you interpolate a 3D problem, for example, in the Quadratic BSpline case. Do you take the tensor product of the univariate Spline basis functions in each dimension? I couldn't find it in the code. I'd like to talk about this package in a class I'm teaching, so I need to know a bit more.
thanks!

Yes, that is the basic idea. The introductory sections of this paper (referenced in the document under doc/latex in this repo) are a good read.
It's also instructive to look at the output of the following code for various dimensions:
using Interpolations, Base.Cartesian
macroexpand(Interpolations.index_gen(typeof(BSpline(Quadratic(Flat()))), 1))

Try that, then change the dimension to 2 and 3 etc to see how the actual interpolation is implemented. You'll get an expression consisting of variables on the form cx_d, where x indicates a step along the current dimension d (e.g. m for -1, p for +1), as well as indexing expressions into itp.coefs, which is the data to be interpolated (with the pre-filter described in the paper applied already).

Excellent, I see. So you place the data on the vertices of the hypercube to
compute the coefficients, and then in get_index[x] you compute some form
of linear combination of basis functions, depending on the segment that x
comes to lie in?
It is dawning on me that I did hardcode all of this in ApproXD.jl. :-/
On 30 November 2015 at 11:58, Tomas Lycken<EMAIL_ADDRESS>wrote:

Yes, that is the basic idea. The introductory sections of this paper
http://bigwww.epfl.ch/publications/thevenaz0002.pdf (referenced in the
document under doc/latex in this repo) are a good read.
It's also instructive to look at the output of the following code for
various dimensions:
using Interpolations, Base.Cartesian
macroexpand(Interpolations.index_gen(typeof(BSpline(Quadratic(Flat()))), 1))
Try that, then change the dimension to 2 and 3 etc to see how the actual
interpolation is implemented. You'll get an expression consisting of
variables on the form cx_d, where x indicates a step along the current
dimension d (e.g. m for -1, p for +1), as well as indexing expressions
into itp.coefs, which is the data to be interpolated (with the pre-filter
described in the paper applied already).
—
Reply to this email directly or view it on GitHub
https://github.com/tlycken/Interpolations.jl/issues/91#issuecomment-160597942
.

Yes, exactly.
And it's not too late to make ApproXD.jl use Interpolations.jl instead ;)


How can I specify the charset in a partial view?

I'm using the Spanish Accent Marks in a partial view and it's doesn't render correctly.
For example: (á ,é,í,ó,ú)
Iniciar sesión

Iniciar sesión

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

ID: d670c64c-4030-312c-4355-ee518a23a56a
Version Independent ID: c20d4db8-d403-9218-c39d-47e56c34e767
Content: Partial views in ASP.NET Core
Content Source: aspnetcore/mvc/views/partial.md
Product: aspnet-core
GitHub Login: @ardalis
Microsoft Alias: riande

The problem was the encoding of the file.
What is the default encoding in Visual Studio 2018 15.8.2 and VSTS ?


UDP forwarded traffic gets lost occassionally

The problem is quite similar to #11998 however in this environment its a Radius service which has its own IP address. The problem starts to occur and only for select random source hosts sending UDP traffic  (to port 1812) and at random times. Weeks can go by without the issue.
TCPDump shows the traffic being received and forwarded but no responses are sent for certain hosts.
The service continues to run fine and and respond to other hosts using the same port and IP address.
This happens on Docker v1.4.1 and v1.3 running on a  physical CentOS7.0.1406 (Linux AUTH-1 3.10.0-123.20.1.el7.x86_64 #1 SMP Thu Jan 29 18:05:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux)
# docker info
Containers: 22
Images: 185
Storage Driver: devicemapper
 Pool Name: docker-253:1-68123918-pool
 Pool Blocksize: 65.54 kB
 Data file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
 Data Space Used: 18.38 GB
 Data Space Total: 107.4 GB
 Metadata Space Used: 17.76 MB
 Metadata Space Total: 2.147 GB
 Library Version: 1.02.82-git (2013-10-04)
Execution Driver: native-0.2
Kernel Version: 3.10.0-123.20.1.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 12
Total Memory: 31.22 GiB
Name: AUTH-1
ID: N67L:3XDP:5BPC:TXKK:XOKL:FEDK:AEJW:BQWV:HTHZ:VA7J:4N2G:FUZR

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

May be similar to https://github.com/docker/docker/issues/8357 as well? I wonder if you are still able to reproduce this on the current version (1.6.2 at the time of writing)
This might be a hard one to track though, because it's not consistently failing :(
/cc @mavenugo @mrjana for networking.

I'm running a Consul cluster inside docker containers (progrium/consul) and nodes keep losing connection to each other randomly. I suspect it is caused by docker dropping UDP packets but I'll monitor the network packages a bit more closely and see if I can report anything useful back here.
I'll also try upgrading docker.

@thaJeztah yeah similar to that but not as easy to replicate as that example. I did up date to 1.6.0 and still had the same result. I was a bit pressured for time so had to make a plan without docker to restore service.
However I did try do some trouble shooting with inside the container. Netstat (netstat -u) showed the Receive Queue values increasing with each udp packet received. netstat -su shows that there was a ton of receive errors and the value was just climbing. I figured then about adjusting some sysctls on the host however adjusting any of those udp related controls had no affect on the container. So the symptoms do lend itself to some buffer that is possibly not been cleaned up?
Just for some further information the container is CentOS 6.6 and the host is CentOS7.

@wagonza thanks for testing. There a a lot of changes coming in the 1.7 release (option to disable the userland proxy, integration of libnetwork). I'm no huge network expert here and, apart from being aware that there are some issues around UDP traffic getting lost, don't know if the coming release has improvements in that area.
It's currently quite hectic with preparations of the 1.7 release, but I'll ping the "network" maintainers to have a look here as well, if they have time (feel free to ping me if this issue stalls :));
@mrjana @mavenugo perhaps you can have a look if improvements were made here, or are planned?

Closing since this looks like a dup of #11998, even though it's a different service.
Thanks!


Fix internalFrontend service selector labels

What was changed
The frontend-internal service will point to the corresponding internal-frontend pods
Why?
When the internalFrontend is enabled its corresponding service points to the frontend pods instead of the internal-Frontend pods.
Checklist
Tested locally

 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.

 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.

Thank you very much for your contribution!


Chart with empty label fails

Airflow allows you to create a chart with an empty label. If you then go and view the chart, you get a NoneType failure.

@criccomini please create jira if required


IntentsTestRule for the Service

Hello, is there any way to test Service using IntentsTestRule from espresso-intents?
I see, that it accepts only classes which extend Activity
Thanks

Unfortunately there is no way we can intercept an Intent in a Service. We
are continuously with the platform team to improve testabilit, however
stubbing Intents in a Service does not work at this point.
On Tue, 20 Dec 2016 at 00:22 Alexander Garmash<EMAIL_ADDRESS>wrote:

Hello, is there any way to test Service using IntentsTestRule from
espresso-intents?
I see, that it accepts only classes which extend Activity
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/googlesamples/android-testing/issues/124, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AM7lSXYFow37VS1G56mlyoclINYm-aAPks5rJ5BAgaJpZM4LRkzv
.

--
Stephan Linzner  |  Software Engineer in Tools and Infrastructure  |
<EMAIL_ADDRESS>http://google.com/  |  Google Inc.


[Feature]: Add version command for CLI

Is your feature request related to a problem? Please describe.
In most CLI tools, we can show the version of it by xxx version (xxx -v), like kubectl, helm, and so on
 helm version
version.BuildInfo{Version:"v3.6.3", GitCommit:"d506314abfb5d21419df8c7e7e68012379db2354", GitTreeState:"dirty", GoVersion:"go1.16.5"}

When the tool has the version, the user can report bugs more conveniently for the specific version.
Describe the solution you'd like.
The most common way is by using -ldflags to inject the info to the variable when building with Makefile
refer:
https://web3.coach/golang-include-last-git-commit-in-your-go-program-version
Here is a backup tool repo for a nebula graph database: https://github.com/vesoft-inc/nebula-br
Describe an alternate solution.
No response
Anything else? (Additional Context)
No response

added in #52


feat(post): implement post viewer feature

this PR resolves #7

:tada: This PR is included in version 1.0.0-dev.1 :tada:
The release is available on:

GitHub release
v1.0.0-dev.1

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

v1.0.0
GitHub release
v1.0.0

Your semantic-release bot :package::rocket:


Add a tailwind option in the export modal

Show instructions for importing the theme_cjs file and extending the theme in the tailwind config.

Hey @alexdanilowicz, I have given a merge request for this issue: 121


Create scan objects required for MX scans

Use the Eiger, Zebra, and vector objects to create scan objects to be used for all of the scans. As a model, see what was done at SRX: https://github.com/NSLS-II-SRX/profile_collection/pull/19/files#diff-77d94ee914eb0b6376f37d001d0a3e3004df812efe8be83cdc234f26c713a6ecR509
Initially do the standard scan (this will incidentally cover the vector scan, but with no motion of the translation axes during the experiment). Vector object, zebra object, and eiger object will be combined as used in the LSDC currently.

[ ] Incorporate vector, zebra, and eiger objects
[ ] Develop stage, unstage, complete, collect functions necessary for a flyer
[ ] Test to ensure the correct scan is being performed with all 3 components
[ ] Test to ensure correct and expected metadata is being extracted from components

Future work will develop the raster scan as a stepped vector scan.

sequence of settings in LSDC right now:

daq_lib.collect_detector_seq_hw

det_lib.detector_setImagesPerfile
governor DA
vectorExpose, 1
vectorBufferTime, 3 or 1000
detector_set_exposure_time
detector_set_period
vector block

vectorNumFrames
vectorStartOmega
vectorEndOmega
vectorframeExtraTime
vectorHold, 0
zebraDaqPrep block

zebraReset, 1
sleep(2sec)
zebraTtlSel, 31
zebraM1SetPosProc, 1
(M2,3 also)
zebraArmTrigSource, 1

sleep(1sec)
zebraGateStart
if imgWidth != 0

zebraGateWidth
zebraGateStep

zebraGateNumGates, 1
zebraPulseStart, 0
zebraPulseWidth
zebraPulseStep
zebraPulseDelay
zebraPulseMax
detector_set_num_triggers, 1
detector_set_trigger_mode, 2
detector_set_trigger_exposure
detectorArm() block

detector_save_files()
detector_set_username
detector_set_groupname
detector_set_fileperms(420)
detector_set_exposure_time
detector_set_period
detector_set_numimages
detector_set_filepath
detector_set_fileprefix
detector_set_filenumber
detector_set_fileheader - should go into a block here
detector_start
detector_waitArmed()

check governor DA
vectorGo, 1
wait for go
vectorWait
zebraWait
if lastOnSample(), changeState - governor SA_nowait
detector_stop_acquire
detector_wait
vectorBufferTime, 3


ARROW-6214: [R] Add R sanitizer docker image

The PR creates a docker image to replicate R sanitizer errors. One can iterate with arrow local sources without installing CRAN arrow package.
A real undefined behaviour was fixed in array_to_vector.cpp. The other errors were false positives (to best of my knowledge).

@jeroen, @romainfrancois

I think this fixes one issue, but there may be more.
I've been exploring using the pyarrow manylinux wheel (or something similar) as a source of C++ binaries for the R package. After some trial-and-error, I got the package to build successfully, but then it core dumped when running the test suite, very similar to the situation we observed on the CRAN macOS server that led to this JIRA.
I pulled this change to array_to_vector.cpp onto the arrow fork/branch I was using and ran the build again, and it core-dumped again... but differently! This makes me suspect that there's another problem left to sanitize.
I'll investigate more on my side and see if I can identify where this is failing. Could be unrelated, of course.

This feels like an out of memory issue (both happen in allocation path + non determinism).

If you have a local mac, you can try to reproduce with ulimit, e.g.
(ulimit -m $((1024 * 1024 * 256)); R < testthat.R)

You might have to find the right ulimit flag (-m, -v)

The failures were on xenial ubuntu, not macOS. I was able to use the wheel as a binary source on macOS just fine.
I ran the tests with more verbosity and incrementally skipped the ones that triggered a core dump. It turned out that the specific exception was somewhat random even when the same test was failing, either bad_alloc or length_error, so the fix I pulled in from this branch might not have made the difference I thought before.
I eventually got the build to pass once I skipped enough tests: https://github.com/nealrichardson/arrow/compare/<IP_ADDRESS>-rpkg...nealrichardson:wheel-debug
All of the failures were tests that were trying to do something (mostly, and perhaps only, cast()) that was expected to fail and then assert the error message. For some reason this passes on most platforms and C++ build setups, but is failing on Travis on xenial using the pyarrow manylinux2010 wheel as the source for C++ binaries.
I don't know that I can debug this further, but maybe this information is useful to you/others who are more fluent in C++.

After some spelunking, we've come to suspect a mismatch between the (old) compiler used in manylinux2010 and the one used here in xenial. François added some gdb debugging, and we saw that the problem was coming from the exception handler inside Rcpp::stop: https://travis-ci.org/nealrichardson/sandbox/builds/586674948#L1546. https://stackoverflow.com/questions/56494095/rcppstop-crashes-r-under-g suggests that compiler version mismatch could be to blame.
Anyway, this turns out to be irrelevant for the current pull request.

@ursabot crossbow submit docker-r

@ursabot crossbow submit docker-r-sanitizer

This is now passing travis' lint: https://travis-ci.org/fsaintjacques/arrow/builds/587033835?utm_medium=notification&utm_source=email


Missing chart url in docs

Hi @davhdavh. Thanks for trying to improve our documentation!
The documentation for adding the opencost-helm-chart repository lives at the root of this project. In the future, we may have multiple helm charts produced by this repository and I believe we would like to leave instructions on how to add the repo in one spot.
Going to close this one.

FYI, it took me 1h to find the answer to this, because it isnt just easily googleable, and if you dont document it in the readme, the docs on artifacthub.io will just leave anyone to wonder where the chart rep is...
It is also very much against the standard to charts available on artifacthub.io that all document what the chart url is


[Feature] Support custom http headers for websocket connections

Motivation
Authentication: Custom headers can include authentication tokens (e.g., JWTs, API keys) that are necessary to authenticate users or devices before establishing a connection.
Custom Protocols: In some use cases, clients and servers might follow proprietary or custom protocols that require specific headers to establish a connection or negotiate terms (for example vmware cloud director requires to set header Sec-WebSocket-Protocol to mqtt to establish a WebSocket connection).

This is a good suggestion. We will consider whether we can support it. Thank you!

Updated on https://github.com/emqx/MQTTX/releases/tag/v1.11.0
However, it should be noted that we can only support it in CLI. Use mqttx sub -t test -wh "hello: test" -wh "auth: token" -l ws -p 8083.
Due to browser security restrictions, we cannot implement this function for Desktop and Web.


Consider switching default CNI to Calico

hi ,
so we have begun using k3s in production. We have had intermittent issues with flannel - especially with spot instances coming up and going down. we have also seen this issue - https://github.com/coreos/flannel/issues/1245
What is most worrying is that flannel seems to be effectively unmaintained. There also seems to be compatibility issues with k8s 1.17.2
Calico is one of the only plugins supported by AWS ( https://docs.aws.amazon.com/eks/latest/userguide/alternate-cni-plugins.html) , AKS ( https://docs.microsoft.com/en-us/azure/aks/use-network-policies#network-policy-options-in-aks ) and GKE ( https://cloud.google.com/kubernetes-engine/docs/concepts/network-overview )
Calico is also part of CNCF - https://landscape.cncf.io/selected=project-calico with an Apache 2.0 license.
Wanted to open a placeholder issue for any consideration to choose calico as default

calico can advertise BGP routes and thereby effectively implement bare metal external lbs without the need for metalLB, iirc.

Wireguard support for Calico was announced four days before this was opened — positive. But if other CNIs may already be swapped in what's the advantage of changing the default when it would take away time from adding support other CNIs such as Cilium? I see 21 thumbs up for the default adjustment but no attention from maintainers on this issue—which seems a bit strange. Are 90% of users switching the default? Or is this more of a nice-to-have consideration issue?

Related docs:
https://rancher.com/docs/k3s/latest/en/installation/network-options/
https://rancher.com/blog/2019/2019-03-21-comparing-kubernetes-cni-providers-flannel-calico-canal-and-weave/
https://k3d.io/usage/guides/calico/
https://docs.projectcalico.org/getting-started/kubernetes/k3s/

Wireguard support for Calico was announced four days before this was opened — positive. But if other CNIs can already be swapped in what's the advantage of changing the default when it would take away time from adding support other CNIs such as Cilium? I see 21 thumbs up for the default adjustment but no attention from maintainers on this issue—which seems a bit strange. Are 90% of users switching the default? Or is this more of a nice-to-have consideration issue?
See also:

https://rancher.com/blog/2019/2019-03-21-comparing-kubernetes-cni-providers-flannel-calico-canal-and-weave/
https://k3d.io/usage/guides/calico/
https://docs.projectcalico.org/getting-started/kubernetes/k3s/

Calico can now announce service lb ip addresses to BGP.  Wireguard support is stable. https://docs.projectcalico.org/archive/v3.18/networking/advertise-service-ips#advertise-service-load-balancer-ip-addresses

It would be a really great user experience if we could at least choose Calico as the CNI as part of the k3s bootstrapping/installation instead of needing to install it out-of-band.
Do any of the k3s maintainers have insights if this is even a possibility in the future, or should we continue to workarounds like we do today?

We don't currently provide 'alternatives' for any of K3s' opinionated defaults. At some point we may wholesale change out components, but we don't currently have that on the roadmap.

activity

activity

activity

At this point we do not plan to change the default CNI any time soon.  You should be able to disable flannel and use other CNIs, but k3s by design is opinionated. I'm going to close this out for now.


Releases/v1.4.0

Improvements

Merge mux-kt-utils with the core library (#68)

Maintenance Chores

Updated to our new Buildkite integration

Co-authored-by: Emily Dixon<EMAIL_ADDRESS>Co-authored-by: GitHub<EMAIL_ADDRESS>

This was already fully-reviewed, since it only contains 1 PR. I'm just going to merge this.


Extension for Windows

I came across this extension after researching degraded file access performance of one of my projects. It turns out, it was impacted by the tremendous performance cost of open_basedir. Is there any chance this can be compiled and offered for PHP running on windows? I use the binaries from windows.php.net.

Try compiling on Travis CI https://travis-ci.community/t/where-to-contribute-php-support-for-windows/304/2
and upload it to an S3 bucket https://docs.travis-ci.com/user/uploading-artifacts/

@Whissi How can I get this compiled for PHP 7.3,7.4,8.0,8.1 and 8.2? I am willing to pay for this.


Updated grammar

Thanks so much! I am not native speaker so document correction is greatly appreciated.

No problem.  I appreciate that you already had good documentation!


*server.js added compatibility with cloud9 (c9.io) environment

this little change make the project compatibile with c9 environment so anybody can quickly test and play with this project. You dont need any setup in your pc/mac/.. just open browser go to c9.io create account, create workspace with this git repo, and you are done. You have running game :) (I will use this in teaching kids to program)

@luckylooke I just noticed this PR... My notifications were off.
That's really great. Thanks!
Showing students how to change the behavior of the game by changing the values in config.js could be fun.


[Emmet] Include should be more like DocumentSelector

Currently, the Emmet extension has a setting called emmet.includeLanguages which just targets language IDs to map to the Emmet-capable language ID. I think it would be very useful if instead it was more like DocumentSelector, which also allows DocumentFilter instead of just language ID.

In what scenario would this be useful?

The use case I was considering is for the language CFML, which I use. Even though .cfm and .cfc files utilize the same language, they have different purposes. I find it more of an annoyance to have Emmet enabled for .cfc files (basically class files) and would prefer that it only be for .cfm files (view templates). The ability to use the pattern in DocumentFilter would be able to accomplish this while still allowing language ID to be used.
More generally, there are probably many use cases that I cannot think of and are not relevant or known to me that brought about the decision to use the current form of DocumentSelector for registering providers that would be just as applicable.

Supporting the complete DocumentFilter in the emmet.includeLanguages setting gets complicated. Instead, supporting just the pattern part of the DocumentFilter should be doable.
So in your case, that would look like
"emmet.includeLanguages": {
    "*.cfm": "html"
}

PRs are welcome.
All references to the getMappingForIncludedLanguages method will need to be updated.
On a side note,
I was looking at https://marketplace.visualstudio.com/items?itemName=KamasamaK.vscode-cfml and found a setting cfml.emmet.enable. What does this do and how does it tie to the emmet.includeLanguages setting?

I realize supporting the complete DocumentFilter in the emmet.includeLanguages would not work since the key is the issue and keys cannot be complex types, but I was trying to make the request irrespective of implementation details and figured someone would come up with a clever solution. I would be hesitant to overload the key in the way suggested if * and . are legal characters in a language ID.
The setting cfml.emmet.enable, which is disabled by default, adds "cfml": "html" to the user's emmet.includeLanguages setting. It was just something I wanted to see if I could do as I was implementing the extension to help the user get up-and-running quicker, but I will probably remove that setting eventually and just add instructions instead since it is not difficult to add yourself and I would rather minimize setting things for other extensions.

I would be hesitant to overload the key in the way suggested if * and . are legal characters in a language ID

They are indeed legal characters. But that need not stop us from supporting GlobPattern as the key in emmet.includeLanguages.
If current file matches both a language id and a glob pattern, the mapping for the glob pattern can win. Thoughts?

I've glanced at the extension source you linked and have a decent understanding of these parts of the API, so correct me if I'm mistaken, but I'm not sure how the "current file" would be taken into consideration unless it re-registers the CompletionProvider in an event like onDidChangeActiveTextEditor. Registration looks to currently only be done on extension activation and onDidChangeConfiguration.
I would say checking vscode.languages.getLanguages() should be sufficient at the time of registration to determine whether it be interpreted as a language ID or GlobPattern. The only issue there being if they install/enable an extension after startup. I don't have a strong opinion on which should be prioritized in the case of a conflict, but I would lean to language ID.

good point on the fact that current file doesnt help with completion provider registration.

The only issue there being if they install/enable an extension after that activation that contributes a new language

Installing a new extension requires reload of VS Code window which activates the emmet extension from scratch ending up registering the completion providers again. So we are good there

@ramya-rao-a I haven't had time to really look at this, but if I do get around to it would you still be willing to accept this as a PR? It doesn't seem too difficult at first glance.


[BUG] Groupby ags output columns (even if they are counts) as Tags.CATEGORICAL

Describe the bug
The output of the Categorify operator is tagged as Tags.CATEGORICAL even if those might just be counts.

Steps/Code to reproduce bug
Here is a full reproducer:
df = cudf.DataFrame(data={'id': [0, 0, 1, 2], 'cat': list(range(4)), 'val': [10, 20, 20, 30]})

ds = nvt.Dataset(df)

cat = ['cat'] >> nvt.ops.Categorify()
groupby_features = cat + ['id', 'val'] >> nvt.ops.Groupby(
    groupby_cols=['id'],
    aggs={
        'cat': ['list', 'count'],
        'val': ['list']
    }
)

wf = nvt.Workflow(groupby_features)
ds_transformed = wf.fit_transform(ds)

Expected behavior
count columns are not tagged as Tags.CATEGORICAL
Environment details (please complete the following information):
current main

If I understand the example, the behavior of Categorify doesn't seem to be the issue. If the workflow stopped after the Categorify, categorical would be the correct label (since the output of Categorify is always categorical by definition.)
But since the workflow continues after that, the subsequent operators need to adjust the schemas of the columns they operate on in order to reflect the transforms they implement. It looks like Groupby isn't correctly applying Tags.CONTINUOUS when the aggregation is a count.

@jperez999, could you point someone who isn't you (@radekosmulski, @oliverholworthy, @nv-alaiacano, or @edknv maybe, if they're willing) at how to fix this in the Groupby op?

@karlhigley @radekosmulski tagging count column as Continuous might be problematic as well.. Since an integer value (count is an int), can be seen as a categorical value for a user. It does not have to be continuous. Therefore, I'd say we should not tag count agg neither as continuous nor as categorical from Groupby op.
If a count column normalized afterwards, then it will take continuous tag, if it is gonna be bucketed or hashed via categorify op then it can take categorical tag.

I think you're right about how things should ultimately be tagged, but I want to re-iterate that it's each op's responsibility to apply the appropriate tags based only on the transformation that op applies (not future or previous ops, who can take care of that for themselves.)
If the result of a count aggregation is continuous, then Groupby should tag it as such. If subsequent operations like Normalize or hashing/bucketing operations change whether it's continuous, categorical, or an embedding, then those ops should apply whatever tag becomes appropriate after their transformations.
We don't want to be guessing what ops a user might apply subsequently in order to apply tags; we should just apply the currently correct tags and rely on subsequent ops to change them as needed.

@karlhigley I agree. What I wanted to say should  count be considered continuous or categorical? I say it could be both :)

I don't know either 😄


License Advisor page with wizard and filters

This page is aimed to help beginner developers choose the most suitable open source license for their projects. It offers a guided wizard to narrow down options based on specific requirements and preferences, and also allows users to filter licenses by various criteria like permissions, conditions, and limitations. This helps ensure that developers select a license that aligns with how they want their project to be used and shared.
It uses the /licenses page as a base, just with a full list of licenses and additional JS functionality to filter the list.

See it in action at https://tgrrrr.github.io/choosealicense.com/advisor/
Interesting idea. Some quick reactions:

I'd just call it a wizard, skip "advisor"
The wizard questions would require a lot of work to be completely accurate
The warranty/liability limitation questions seem silly to even ask

I'm not completely sold on a wizard, but the ability to filter is nice, brought up before eg in #637


After 1.1.2 style is broken

#52 broke the style of an internal app. the grid no longer consider the total height and width of all items as a container 🥹 @cuire   Is it possible to rollback? or any other way to add those styles on client side?
I think the deletion of this is what causes the style bug now.
$: if ($gridSettings.itemSize) containerWidth = _cols * ($gridSettings.itemSize.width + gap + 1);
$: if ($gridSettings.itemSize) containerHeight = _rows * ($gridSettings.itemSize.height + gap + 1);

REPL working on 1.1.1 https://svelte.dev/repl/09ea1a4b3f964f209d22c9ebe6d3b82c?version=4.2.1 (not working correctly with 1.1.2 / 1.1.3)

I know how to fix that, wait for PR

Fixed in 1.1.4. Thanks for reporting the issue 💖


Duplicate column name 'usergroupid'

on a CentOS 7 machine :
Software Versions :
cacti-1.1.36-1.el7.noarch
php-7.2.3-2.el7.remi.x86_64
composer-1.6.3-1.el7.noarch
nodejs-6.12.3-1.el7.x86_64
MariaDB-server-10.1.31-1.el7.centos.x86_64
plugin installed with git clone  in /usr/share/cacti/plugins/weathermap (last commit : 376bee569862a1455dbb94b11d57f22e3bd586b4 )
bower install && composer update with no errors
going to /cacti/plugins.php and choosing the install link gives this error in apache logs :
[Fri Mar 02 14:20:43.694968 2018] [php7:error] [pid 25691] [client <IP_ADDRESS>:51983] PHP Fatal error:  Uncaught PDOException: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'usergroupid' in /usr/share/cacti/plugins/weathermap/lib/Weathermap/Integrations/MapManager.php:788\nStack trace:\n#0 /usr/share/cacti/plugins/weathermap/lib/Weathermap/Integrations/MapManager.php(788): PDO->query('ALTER TABLE wea...')\n#1 /usr/share/cacti/plugins/weathermap/lib/Weathermap/Integrations/Cacti/cacti10-plugin-hooks.php(15): Weathermap\\Integrations\\MapManager->initializeDatabase()\n#2 /usr/share/cacti/plugins/weathermap/setup10.php(58): weathermap_setup_table()\n#3 /usr/share/cacti/lib/plugins.php(530): plugin_weathermap_install()\n#4 /usr/share/cacti/plugins.php(74): api_plugin_install('weathermap')\n#5 {main}\n  thrown in /usr/share/cacti/plugins/weathermap/lib/Weathermap/Integrations/MapManager.php on line 788, referer: http://cactihp/cacti/plugins.php

Thanks! I think this one is sorted now (worked on my test 1.1.29 install, at least)

confirmed.


Move Pin InfoWindow position to another location

I want to be able move info window around the pin icon.
FEATURE REQUEST / SUGGESTION
Please implement something like margin or etc if it is possible.
If pin is heading down (rotation is set to 180 I think) info window overflows the pin.
DETAILS

// usage of your requested feature to use

PLATFORMS
which platform do you want?

[x] Android
[x] iOS
[ ] UWP

I found InfoWindowAnchor property in Google Maps API.

[Android] - Marker  |  Google APIs for Android  |  Google Developers
[iOS] - GMSMarker Class Reference  |  Google Maps SDK for iOS  |  Google Developers

Probably we can offset to infoWindow's anchor by this property.

Thanks @deextercz ,
I added cosmetic improvements for sample ( https://github.com/amay077/Xamarin.Forms.GoogleMaps/commit/dd0709c1789d042288741602b3e138088623b9a4 , https://github.com/amay077/Xamarin.Forms.GoogleMaps/commit/3bca539e458c86cea300e0507bddfca86fd31d38 ) .

I released v1.8.0 that contained it.


not work

hi
many thanks for your tutorial
but despite I follow the tutorial but at the end I encounter to this error:

Task :compileJava
C:\firefox_Driver\msgraph-training-java-master\demo\graphtutorial\src\main\java\graphtutorial\Authentication.java:38: error: ca
nnot find symbol
Set scopeSet = Set.of(scopes);
^
symbol:   method of(String[])
location: interface Set
1 error

Task :compileJava FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileJava'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan
to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 13s
1 actionable task: 1 executed
I would be pleased if you can help me!
I'm new to java and ms graph and I just need to upload an excel file to one drive programmatically using java.
many thanks in advance!

Set.of was added in Java 9, so you may be using an older version. The tutorial was written with Java 14.

Set.of was added in Java 9, so you may be using an older version. The tutorial was written with [Java 14](https://cr.openjdk.java.net/~iris/se/14/build/latest/t

Set.of was added in Java 9, so you may be using an older version. The tutorial was written with Java 14.

thank you so much
I update the jdk to 14 and your sample code work well.
but what should I do for uploading a file on my one drive?
in fact, I want to upload (update) a file (excel file) on my onedrive programmatically every 10 minutes.
for more details, this file is embedded on my website and I want the data of this excel file be updated automatically.
I have written java program that update the file automatically (by getting new data from a site). but how can I upload the new file on my onedrive?
would you please help me?
many tanks in advance for your help.

https://docs.microsoft.com/graph/sdks/large-file-upload?view=graph-rest-1.0&tabs=java does exactly that.

dear jasonjoh
thank you very much for your guide and help...
after a day working on it, I can now upload the file using java...
I don't know how to thank you for your kind help...
now I have another question.
with your sample code each time I run the application, I should sign in microsoft... Is it possible to store my user and password in the app to avoid manual sign in?
thanks a lot.

Storing username/password is a bad practice. You should look at token cache customization to implement secure storage for your tokens.


Fix import to support empty companies Array.

Closes #199

Thanks! 👍

Released as v0.2.35. 💎

@eugeneius thanks!


Terminal can not be opened at deepin 15.4.1

Env:
deepin 15.4.1
sublime text 3
Terminal-setting:
{
"terminal": "deepin-terminal"
}
Right click “Open terminal here...” or press “ctrl+shift+t/ctrl+shift+alt+t” button still unable to run terminal, Try restarting the application and system。
Use the "Ctrl + `" button to open the controller view, no mistake.
Open the "sublime-text-3/packages/Termical/Terminal.py" file, add the "print" method to the 170 row of the file, then run "open terminal here...", print "args", "cmd" and "env" value.
args: ['deepin-terminal']
cmd: /home/jianglin-wu/.config/sublime-text-3/Packages/Terminal
env:
{
"GDMSESSION": "deepin",
"GPG_AGENT_INFO": "/run/user/1000/gnupg/S.gpg-agent:0:1",
"XDG_SEAT_PATH": "/org/freedesktop/DisplayManager/Seat0",
"XDG_SESSION_PATH": "/org/freedesktop/DisplayManager/Session0",
"XDG_SESSION_TYPE": "x11",
"SHLVL": "1",
"NODE_PATH": "/home/jianglin-wu/nodejs:/home/jianglin-wu/nodejs/lib/node_modules",
"LD_PRELOAD": "/opt/sublime_text_3/libsublime-imfix.so",
"QT4_IM_MODULE": "fcitx",
"GIO_LAUNCHED_DESKTOP_FILE_PID": "1251",
"USER": "jianglin-wu",
"PATH": "/home/jianglin-wu/nodejs/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games",
"PWD": "/home/jianglin-wu",
"XDG_RUNTIME_DIR": "/run/user/1000",
"XDG_SESSION_DESKTOP": "deepin",
"XDG_CURRENT_DESKTOP": "Deepin",
"CLUTTER_IM_MODULE": "xim",
"DISPLAY": ":0",
"GIO_LAUNCHED_DESKTOP_FILE": "/usr/share/applications/sublime-text-dev.desktop",
"XMODIFIERS": "@im=fcitx",
"QT_ACCESSIBILITY": "1",
"_": "/opt/sublime_text_3/sublime_text",
"SHELL": "/bin/bash",
"GNOME_DESKTOP_SESSION_ID": "this-is-deprecated",
"XDG_SESSION_ID": "2",
"DBUS_SESSION_BUS_ADDRESS": "unix:abstract=/tmp/dbus-qgnQb9IxIp,guid=f2eaa435c61ce4cb25fe308d5a252088",
"LANGUAGE": "zh_CN",
"HOME": "/home/jianglin-wu",
"XDG_GREETER_DATA_DIR": "/var/lib/lightdm/data/jianglin-wu",
"QT_LINUX_ACCESSIBILITY_ALWAYS_ON": "1",
"SSH_AGENT_PID": "720",
"QT_IM_MODULE": "fcitx",
"LOGNAME": "jianglin-wu",
"XAUTHORITY": "/home/jianglin-wu/.Xauthority",
"LANG": "zh_CN.UTF-8",
"XDG_SEAT": "seat0",
"SSH_AUTH_SOCK": "/tmp/ssh-LxqeyPAYzUis/agent.638",
"_JAVA_OPTIONS": " -Dawt.useSystemAAFontSettings=gasp",
"XDG_VTNR": "7",
"DESKTOP_SESSION": "deepin",
"GTK_IM_MODULE": "fcitx"
}
The application has never been wrongly reported, nor can it run.

The plugin runs without error information, executes "subprocess.Popen (args, cwd=cwd, env=env)" and does not open the terminal window.

Hmm, so normally if the terminal can't be found, then we get a pop-up like this:

Since you're not receiving that, it sounds like the executable is being found but not doing anything. What happens when you try to run deepin-terminal from another terminal (e.g. gnome-terminal)?

I can successfully open a new terminal window by entering "deepin-terminal" or "xterm" on the command line. But the use of sublime terminal plugins to open "deepin-terminal" and "xterm" has not been a success.
I run on another computer, and it doesn't appear window either. I run "gnome-terminal", which prompts me to "Terminal: The terminal gnome-terminal was not found". Does this plug-in support the Deepin system?

Hmm, very strange. Maybe there's an environment variable set in Sublime Text which is causing this strange behavior (e.g. DISPLAY)?
I'd suggest opening a Python shell inside of xterm, dumping env, and diff-ing that with Sublime Text 3's output
We should support Deepin or any system for that matter as we run Popen which runs an executable against the kernel like any other process

The following is my solution:

Install xterm terminal

$ sudo apt-get install xterm

Change Terminal.sublime-setting configuration to  "terminal": "xterm"

{
  "terminal": "xterm"
}

Edit  /etc/X11/app-defaults/XTerm file, Beautify terminal styles.

xterm.locale:true
xterm.utf8: true
xterm*utf8Title:true
xterm*fontMenu*fontdefault*Label:Default
xterm*faceName:Consolas:antialias=true:pixelsize=15
xterm*faceNameDoublesize:WenQuanYi Micro Hei Mono:pixelsize=15:antialias=true
xterm*xftAntialias:true
xterm*cjkWidth:false
xterm*background:black
xterm*foreground:green
xterm*color0: #000000
xterm*color1: #CC0000
xterm*color2: #4E9A06
xterm*color3: #C4A000
xterm*color4: #3465A4
xterm*color5: #75507B
xterm*color6: #06989A
xterm*color7: #D3D7CF
xterm*color8: #555753
xterm*color9: #EF2929
xterm*color10: #8AE234
xterm*color11: #FCE94F
xterm*color12: #729FCF
xterm*color13: #AD7FA8
xterm*color14: #34E2E2
xterm*color15: #EEEEEC

!xterm*eightBitInput:false
!xterm*altSendsEscape:true

Perfect solution ^_^

Glad to hear this was resolved =) Closing issue


Switch proxy and revisit on error?

Hi I got a use-case, when my proxy-ip got banned because of a big number of req/hour..
I want to remove 1 banned proxy-ip and set a new one... how can I do it with colly?

You have to do it yourself to count these failures.

colly's design is not like scrapy,  not good
scrapy is  very easy to handle everythings

I also want to know how to achieve this function.

I also want to know how to achieve this function.


unmix loading problem

I sincerely appreciate the author's selfless sharing. During my attempts, I encountered an error with the unmix download and load node, indicating that the correct download address and save path may not have been referenced. Could you please advise me on how to resolve the issue? I sincerely appreciate your assistance!

hey no prob
you can download the models manually from here

and place them under models/openunmix as follows

But each version contains drums\bass\vocals\other4.pth. Not an overall “umxl.pth” as shown in your screenshot. I would appreciate any further clarification.


Use GlobalTransform

Use GlobalTransform instead of Transform to place colliders correctly and added a test for it. I also had to add GlobalTransform to all examples.

Thank you for this PR! The transform writeback formulae is slightly incorrect (the translation part should take the parent’s rotation into account). In addition, I see that instead of querying the parent’s global transform, you recover it from the child global transform and transform. While this is a good idea to avoid a query, it will break the transform change detection we do in apply_rigid_body_user_changes.
I have a fix ready for these, it it appears that I don’t have the access right to push to your branch. Could you please enable edits from maintainers?

@sebcrozet for unknown reason I don't see such button:

Maybe you can just create another PR based on my?

@Shatur That’s weird… Ok, I created a new PR: #178 Closing this one.


SMP

This is not yet ready for prime time, but we can start integrating.
The integration point is OtrSm.  An instance of this should be passed in to SessionImpl.setTlvHandler().  Also, instead of implementing the OtrEngineHost interface, the host should implement OtrSmEngineHost.
Things you can help me with:

Figure out if this is the best API
Integrate into the Gibberbot UI: implement asking the secret in OtrSmEngineHost.askSecret() and initiate SMP with OtrSm.initRespondSmp().
I didn't check interoperability with libotr yet

Figure out if this is the best API

Do you see this API as being a part of OTR4J, or a package within Orbot? Are we committing upstream?

Integrate into the Gibberbot UI: implement asking the secret in OtrSmEngineHost.askSecret() and initiate SMP with OtrSm.initRespondSmp().

No problem. I am done with the Tor SSL crisis for a bit, so happy to get back to Gibberbot.

I didn't check interoperability with libotr yet

Yes. I wonder how SMP even works between Jitsi, Pidgin and Adium. Testing is good. We have some new interns starting to help us with this!

On 15/02/12 21:15, n8fr8 wrote:

Figure out if this is the best API

Do you see this API as being a part of OTR4J, or a package within Orbot? Are we committing upstream?

This should be committed upstream to OTR4J (but I don't want to block on
that).

Integrate into the Gibberbot UI: implement asking the secret in OtrSmEngineHost.askSecret() and initiate SMP with OtrSm.initRespondSmp().

No problem. I am done with the Tor SSL crisis for a bit, so happy to get back to Gibberbot.

I didn't check interoperability with libotr yet

Yes. I wonder how SMP even works between Jitsi, Pidgin and Adium. Testing is good. We have some new interns starting to help us with this!

Cool!

Reply to this email directly or view it on GitHub:
https://github.com/guardianproject/Gibberbot/pull/110#issuecomment-3995227

This is great, eager to test it!  I'm working on some changes to otr4j
also, but to allow key importing/exporting, so it might make sense to
put these changes together for the testing.
.hc
On 02/16/2012 12:10 AM, Dev Random wrote:

This is not yet ready for prime time, but we can start integrating.
The integration point is OtrSm.  An instance of this should be passed in to SessionImpl.setTlvHandler().  Also, instead of implementing the OtrEngineHost interface, the host should implement OtrSmEngineHost.
Things you can help me with:

Figure out if this is the best API
Integrate into the Gibberbot UI: implement asking the secret in OtrSmEngineHost.askSecret() and initiate SMP with OtrSm.initRespondSmp().
I didn't check interoperability with libotr yet

You can merge this Pull Request by running:
git pull https://github.com/devrandom/Gibberbot smp
Or you can view, comment on it, or merge it online at:
https://github.com/guardianproject/Gibberbot/pull/110
-- Commit Summary --

Port SMP from javaotr to otr4j
SMP integration

-- File Changes --
A robo-tests/src/net/java/otr4j/crypto/SMTest.java (62)
A robo-tests/src/net/java/otr4j/session/OtrSmTest.java (187)
M src/net/java/otr4j/crypto/OtrCryptoEngine.java (3)
M src/net/java/otr4j/crypto/OtrCryptoEngineImpl.java (8)
A src/net/java/otr4j/crypto/OtrTlvHandler.java (11)
A src/net/java/otr4j/crypto/SM.java (675)
A src/net/java/otr4j/crypto/Util.java (104)
M src/net/java/otr4j/session/AuthContextImpl.java (2)
A src/net/java/otr4j/session/OtrSm.java (272)
M src/net/java/otr4j/session/Session.java (1)
M src/net/java/otr4j/session/SessionImpl.java (42)
A src/net/java/otr4j/session/TLV.java (42)
-- Patch Links --
https://github.com/guardianproject/Gibberbot/pull/110.patch
https://github.com/guardianproject/Gibberbot/pull/110.diff

Reply to this email directly or view it on GitHub:
https://github.com/guardianproject/Gibberbot/pull/110

I just pushed (-f) a fix for interoperability with libotr2.
This is ready for integration with Gibberbot and submission upstream to otr4j.

testing this work out now... so just to be clear, the only UI work done is in the SampleApp, so we will need to create a new option for verification where we have show/scan fingerprint now?

That's correct.  You can use SampleApp for reference on how to hook up the button (and resulting dialog box).

Okay, making good progress in a local branch on this. I understand the init and response, but at one point or which interface method do I get notified that the SMP process was successful? I don't see that in the sample or OtrSmEngineHost.

Grep for verificationStatusChanged in the sample app.  It's on the key manager, which may be hooked already to adjust the verification status on disk and in the UI.


Enable deneb ref tests + merkle proof ref test support

related to #7654
Documentation

[ ] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[ ] I thought about adding a changelog entry, and added one if I deemed necessary.

New ref test support looks good.

just for reference:


Faster gitignore style pattern matching

Current pkg uses regexps, not a big deal for most projects but node_modules typically has an easy 10k files. On my machine the current regexp based stuff is ~22k ops/s, not super quick, likely easy to notice on large projects.

new one is ~1.8M ops/s but no **, will add that later


Clairly Resourcequota limit for PriorityClass

According to the priorityClass design document, improve the priorityClass that can be configured by users through Resourcequota.
Reference proposal doc: https://github.com/kubernetes/community/blob/master/contributors/design-proposals/scheduling/pod-priority-resourcequota.md#sample-user-story-1
/kind feature
/language en

Done. Please review again.
@ydFu

@ydFu The approve tag is the reviewer permission and can only use lgtm.

/lgtm

/assign @tengqm

/sig scheduling
I'd like to get technical review on these changes.

(@ydFu - are you providing LGTM on behalf of SIG Scheduling?)

(@ydFu - are you providing LGTM on behalf of SIG Scheduling?)

@sftim
Thank you for your question.
I would also like to have more experienced reviewers and approvers provide more professional advice on this PR.
As you said, you will conduct a technical review.
We work together to make the kubernetes/website more perfect.

@tengqm Done.

/retitle Clarify ResourceQuota limit for PriorityClass


vkDestroyDevice & vkDestroyInstance fail at dll unloading

Not sure if this is something that can be fixed in volk.
What I'm trying to do is something like:
MyContext::~MyContext()
{
	vkDestroyDevice(m_device, nullptr);
	vkDestroyInstance(m_instance, nullptr);
}
static MyContext s_context;

I expected that the destructor of s_context would be called at process exit time, so that I can do some clean up there. This works fine when the code is built into an exe file.
However, when I use the code above in a dll module, sometimes the vkDestroyxx commands will fail, which I guess is because vulkan-1.dll is unloaded earlier than my dll.
Is there anything I can do to fix this?
Thanks.

Sorry, seems I made a mistake, because vkDestroyDevice & vkDestroyInstance seem to be the only 2 vk functions that don't work. Changing title. Now it looks more likely there's something wrong in my own code.

Can you confirm that the issue is actually the DLL unloading? You should be able to see the DLL unload events in the debugger output. In general I'd expect vulkan-1.dll to not unload up until the process terminates (because volk doesn't have a deinitialization procedure, it never frees the library handle).
I've never used Vulkan function from DLL loader though, there might be restrictions that the system imposes in terms of functions that are valid to call...

Yes, you are right, vulkan-1.dll is not unloaded. The issue is that when unloading my own dll, vkDestroyDevice & vkDestroyInstance fails during destructing a static object (in my own dll).
The other vkDestroyxx functions work at the same moment, such as vkDestroyBuffer, vkFreeMemory. Seems that the functions pointers vkDestroyDevice, vkDestroyInstance  are valid too. As you said, maybe I just should not call these 2 functions at that time. While I'm still debugging it, we may close this if you would like. Thanks.

Closing. Not a volk issue.


"Create workflow..." fails with "Cannot read properties of undefined (reading 'fsPath')" error

Describe the Bug with repro steps

Go to Azure extension
Select "Azure LogicApps" button from the workspace accordion/section
"Create Workflow..."

The following error occurs ...

What type of Logic App Is this happening in?
Standard (VSCode)
Are you using new designer or old designer
New Designer
Did you refer to the TSG before filing this issue? https://aka.ms/lauxtsg
Yes
Workflow JSON
{
    "definition": {
        "$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
        "actions": {
            "Call_a_local_function_in_this_logic_app": {
                "type": "InvokeFunction",
                "inputs": {
                    "functionName": "MyFunctionRenamed",
                    "parameters": {
                        "zipCode": 85396,
                        "temperatureScale": "Celsius"
                    }
                },
                "runAfter": {}
            },
            "Response": {
                "type": "Response",
                "kind": "http",
                "inputs": {
                    "statusCode": 200,
                    "body": "@body('Call_a_local_function_in_this_logic_app')"
                },
                "runAfter": {
                    "Call_a_local_function_in_this_logic_app": [
                        "Succeeded"
                    ]
                }
            }
        },
        "triggers": {
            "When_a_HTTP_request_is_received": {
                "type": "Request",
                "kind": "Http"
            }
        },
        "contentVersion": "<IP_ADDRESS>",
        "outputs": {}
    },
    "kind": "Stateful"
}

Screenshots or Videos
As already shown in the steps to recreate.  Unfortunately, I have no more information than that.
I do also have this issue (which I thought may be related) ...

and after finding an associated issue (https://github.com/microsoft/vscode-azurefunctions/issues/3773) that was resolved, unfortunately, my workspace only has a single .csproj file and the context of that issue isn't exactly the same.
Browser
Chrome
Additional context
No response
AB#25875619

I am seeing this behaviour and it started immediately after updating the VS Code  LAS extension to 2.81.5

immediately after the reload in the image, I could not create a workflow and got this error.
When I reverted to v2.72.2 I could create workflows again

@CharlesWarwick thanks for the heads up ...!  Very helpful.

HI all, thanks for raising this issue. I will take a look at this and come up with a fix

Ok I have created this PR https://github.com/Azure/LogicAppsUX/pull/3779 to fix this bug. We will include the fix in the release of the extension


NIMBUS::103 fix to address state being reset using valuesconditional

Description
Param state was being reset when the dataType is String[] as there was code that was assuming that state is always string.
Overview of Changes
Changed the logic to run for only string datatypes as for array list we might have to run through the scenarios and see If we want to do the same as well. If so, will create a separate feature and PR for it.
Type of Change

[ ] Bug fix

Test Details
added test case t12_arrayState in the ValuesConditionalStateEventHandlerIntegTest class to depict this scenario.

You did it @sandeepmantha!
Thank you for signing the Anthem Opensource Software CLA.


Usage of !important values prevents custom styling.

I'm trying to size the height of the select to fit the rest of my form fields, but because of this !important I'm unable to override the style without adding an !important myself.  I'm wondering if these !important flags were just used as quick fixes to get the styling correct?  Was there another reason to use them?
I'd like to help clean up the CSS so they important values not necessary, but I don't want to do so if there was a special reason they were used.

Hi @vproman,
The !importants are used to override other !importants items that might (and usually) arise in other CSS libraries.
Feel free to clean up the CSS (and do test combining them with other CSS libs). A Pull Request then would be very appreciated.


Add static_string_body

This one is pretty obvious.

This could also be done now with basic_dynamic_body<static_buffer_n<N>> where N is the size

We have enough bodies.


[SP-4693] - Backport of PDI-17623 - PGBulkLoader fail to load data du…

…e to encoding issue (7.1 Suite)
@LeonardoCoelho71950 @smmribeiro

Build Completed
:fire: This pull request has some issues. It would be preferable to fix them in order for it to be just perfect. See below for more details. Some links are also available below for further assistance in addressing those issues.
Build Commands
ant -Dtestreports.dir=bin/reports/unit-test -f engine/build.xml clean-all resolve jacoco && ant -f engine/build.xml checkstyle publish-local

Cleanup Commands
rm -r ~/.ivy2/local || echo no publish local to remove

Changed files
  engine/src/org/pentaho/di/trans/steps/pgbulkloader/PGBulkLoader.java
  engine/test-src/org/pentaho/di/trans/steps/pgbulkloader/PGBulkLoaderTest.java

Unit Test Coverage
These statistics help you identify how your changes have affected the coverage of the following files. If a file is not in this list, then its coverage was not affected by your changes. To get some help interpreting these metrics, please refer to Jacoco's documentation.

:warning: Coverage Changes (click to expand)
org.pentaho.di.job.entries.evalfilesmetrics.JobEntryEvalFilesMetrics

Branch Change: -0.4% :small_red_triangle_down:
Complexity Change: -0.5% :small_red_triangle_down:
Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.job.entries.evaluatetablecontent.JobEntryEvalTableContent

Branch Change: -1% :small_red_triangle_down:
Complexity Change: -1% :small_red_triangle_down:
Instruction Change: -0.2% :small_red_triangle_down:

org.pentaho.di.trans.steps.datagrid.DataGridMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.pgbulkloader.PGBulkLoader

Branch Change: -0.8% :small_red_triangle_down:
Complexity Change: -1.3% :small_red_triangle_down:
Instruction Change: -1.6% :small_red_triangle_down:
Line Change: -0.5% :small_red_triangle_down:
Method Change: -4.5% :small_red_triangle_down:

org.pentaho.di.trans.steps.singlethreader.SingleThreaderMeta

Instruction Change: -0.1% :small_red_triangle_down:

org.pentaho.di.trans.steps.tableoutput.TableOutputMeta

Branch Change: -0.9% :small_red_triangle_down:
Complexity Change: -0.8% :small_red_triangle_down:


Main component is rendered every time again on Android when app change focus

When I create a new project with just a component like a Switch in the screen, and minimize app and open again, the state of the Switch is reseted. It occur with any component, the Switch is just a example. It seems like the main component is rendered every time again.
But, if I kill the app and try to do the same, the problem don't occur.
Before killing the app:

After killing the app:

React Native version:
    OS: macOS 10.15.1
    CPU: (12) x64 Intel(R) Core(TM) i7-8850H CPU @ 2.60GHz
    Memory: 5.58 GB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.0.1 - ~/.nvm/versions/node/v13.0.1/bin/node
    Yarn: 1.19.1 - /usr/local/bin/yarn
    npm: 6.12.0 - ~/.nvm/versions/node/v13.0.1/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      API Levels: 28, 29
      Build Tools: 28.0.3, 29.0.2
      System Images: android-29 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>77832
    Xcode: 11.2/11B52 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.9.0 => 16.9.0
    react-native: 0.61.4 => 0.61.4
  npmGlobalPackages:
    react-native-cli: 2.0.1

Steps To Reproduce
import React, {useState} from 'react';
import {View, Text, Switch} from 'react-native';

const componentStyle = {
  flex: 1,
  alignItems: 'center',
  justifyContent: 'center',
};

const HomeScreen = props => {
  const [checked, setChecked] = useState(false);

  return (
    <View style={componentStyle}>
      <Text>First Screen</Text>
      <Switch title="Switch" onValueChange={setChecked} value={checked} />
    </View>
  );
};

export default HomeScreen;

Describe what you expected to happen:

I think is is related: https://github.com/facebook/react-native/issues/18051

This is related too: https://stackoverflow.com/questions/48987915/react-native-creates-multiple-rootview-on-android and as this comment  adding android:launchMode="singleTop" in AndroidManifest.xml (activity section) solve the problem.
I don't know if it need a further investigation to update react-native code or documentation update, so I'll keep it open.


Enable metadata loading from images

Context

The goal of this PR is to allow the MetadataProvider to read the metadata of dicom images directly without making an extra WADO-RS Metadata request to the PACS.
Internaly it uses dataSetCacheManager of dicomImageLoader to access the DICOM dataset. Then dcmjs parse the dataset and add the metadata to the MetadataStore.
This PR allow the DicomJSON source to provide only the image UID + instance number without the need of putting all the image metadata into the final .json.
You can enable or disable this behavior with the variable fullmetadataset in the JSON datasource.
Changes & Results

Testing

This can be tested using a regular JSON DataSource where only SeriesInstanceUID, StudyInstanceUID, SOPClassUID and InstanceNumber must be present.
Checklist
PR

[x] My Pull Request title is descriptive, accurate and follows the
semantic-release format and guidelines.

Code

[x] My code has been well-documented (function documentation, inline comments,
etc.)

Public Documentation Updates

[] The documentation page has been updated as necessary for any public API
additions or removals.

Tested Environment

[x] OS: Windows 10
[x] Browser: Chrome  121.0.6167.161

This is a new version of PR https://github.com/OHIF/Viewers/pull/3573. Sorry for the long delay. I tried to take your comments into consideration but not sure if this was exactly what you suggested.

Sure. This can be tested using the following JSON datasource :
LIDC-IDRI-0002.json
and using URL: http://localhost:3000/viewer/dicomjson?url=http://localhost:3000/LIDC-IDRI-0002.json
I started from this JSON file : https://ohif-dicom-json-example.s3.amazonaws.com/LIDC-IDRI-0001.json
and just removed all images metadata which are not usually present in a DICOM KOS.

In fact, in our project, we are working in an XDS like environment. A central registry gathers pointers (DICOM KOS) to DICOM images which are stored in different PACS. When the user wants to view the images, the first step is to retrieve the DICOM KOS and then to open OHIF. From the DICOM KOS, it's quite easy to generate the OHIF JSON datasource, except for the images metadata (rows, columns,…), which are not usually present in a KOS. This is why we submitted this PR, to be able to open OHIF with a reduced JSON datasource, and without too many changes in OHIF code.
Opening OHIF from a manifest containing only paths to DICOM images would require much more changes in OHIF in my opinion and I'm not sure we would have the bandwidth to do so. If you think this is less complex that I think, could you please provide some guidance, and we can try to have a look

Ok good to know, then I'll review this

Any feedbacks/reviews on this PR ?

This was on my radar, i will get to it this week, sorry for the delay

Question about getting the viewer to load purely based on an array of DICOM URLs like @sedghi mentioned https://storage.googleapis.com/idc-volview-pilot/idc-test.json
Couldn't it be piped down using a similar code to the local mode (https://viewer.ohif.org/local), but instead of drag and drop, just load the files from a JSON file and pass them to the FileLoaderService?
@sedghi, if you provide some guidance, we could definitely attempt a PR that would implement this.

@kayone and @sebastian
Here is what I think is a good way to implement it. I think we cannot and should not support the flat URLs since it will take a lot of time to load the whole thing to extract the metadata. So a middle ground would be like this:
{
  "studies": [
    {
      "series": [
        // series 1
        {
          "instances": [
            {
              "url": "dicomweb:https://ohif-dicom-json-example.s3.amazon/1-001.dcm"
            },
            {
              "url": "dicomweb:https://ohif-dicom-json-example.s3.amazon/1-002.dcm"
            },
            {
              "url": "dicomweb:https://ohif-dicom-json-example.s3.amazon/1-003.dcm"
            },
          ]
        },
        // series 2
        {
          "instances": [
            {
              "url": "dicomweb:https://ohif-dicom-json-example.s3.amazon/1-001.dcm"
            },
            {
              "url": "dicomweb:https://ohif-dicom-json-example.s3.amazon/1-002.dcm"
            },
            {
              "url": "dicomweb:https://ohif-dicom-json-example.s3.amazon/1-003.dcm"
            },
          ]
        }
      ],
    }
  ]
}

The series are already grouped, which makes sense since on servers, the DICOMs for a series are typically stored in a folder.
Then there's the issue of sorting. If the instances inside the folder are sorted (by imagePositionPatient), we're good, and we can render one URL from each series to obtain the common metadata, and the rest should work out of the box (we can assume defaults for the imagePositionPatient and cornerstone would just render them properly and since they are already ordered then we just put them one after another)
However, if they are not properly sorted, we need to load all instances of a series to render them in order based on imagePositionPatient, which takes more time. Unfortunately, there's no better alternative.
I hope this explanation makes sense for you to proceed. Since it's not a priority for us at the moment, let me know if you have any questions, and feel free to message me on Slack so I can assist you with this new feature.


Update description of comma ide from the /whatever/ page

https://raku.org/whatever/
current text is

CommaIDE: designed specifically for Raku. Community edition available for free, additional features and more regular updates through paid Supporter Program.

@ab5tract  - if you can provide the updated text, I can get it submitted.

Cheers! Let's get it migrated into the Raku org before we do anything here.
And before we migrate, the plan is to polish off some remaining deprecated / obsolete API usage.

@ab5tract you should be able to move the repo into the raku org now.

I guess it's a question of whether to move it prior to "full stabilization".
There are still some internals that need to be migrated and such.
So I had a thought to wait until those were fixed. But perhaps it's already Good Enough...

Well, I have no particular opinion about this.  Whatever makes you most comfortable.


SQLSaturday RVA

Title: SQLSaturday RVA
Date: October 22, 2022
Location: ECPI University, 11104 W Broad St, Glen Allen, VA 23060
Organizers: Richmond SQL Server Users Group - Wayne Sheffield, Az Arunachalam, Jamie Wick
Contact Email<EMAIL_ADDRESS>Event Capacity: 250
Description: SQL Saturday RVA (Richmond, Virginia) is a free one-day training event for IT professionals and students interested in the Microsoft data platform (SQL Server Databases, Business Intelligence, Data Analytics, and more).
Additional Details: TBA

Main things needed to get live:

cfs link (use sessionize)
sponsorship plan (feel free to steal from other events. I'll submit an SOW to MS for you

Other items

Registration can wait,  but EventBrite makes this easier.
if you want each organizer listed separately, give me a contact point. (twitter, blog, email, etc.)
precons? Might suggest you skip, or use a local person.

email other questions or post here.

event complete


Check width/alignment of buttons and result labels

fixed https://github.com/dhowe/ChinaEye/commit/756fddc5f0a11294b00c476c5d11fe3655aadd6a


Error about lanch and accelerate

Hi @twinkle0331 , I read your paper with great interest, and I would like to keep up with your work and use it. But when use accelerate launch instead of python -m torch.distributed.launch, it will be error with ''exp_avg.mul_(beta1).add_(1.0 - beta1, grad) RuntimeError: The size of tensor a (109484548) must match the size of tensor b (768) at non-singleton dimension 1".
I have a feeling its the accelerate library and when I go to T5 with this method it gets other errors, what's even stranger is that after prepare the optimizer parameter becomes empty.

I haven't tried it with distributed training, the error may be brought by the accelerate library. Maybe you could print the tensor shape with or without "accelerate launch" and find the differences. For T5, you can try the normal training pipeline first(e.g. without distributed training and simple fine-tuning) and then modify the code with our codes. The core operation is how to perturb the gradient and update the parameters, those operations may be slightly different under different library.

That's true, that's why I gave up using the accelerate library and rewrote the code, thanks for the reply, I'll try to do more experiments and compare!

Run with "python -m torch.distributed.launch" seems to work fine. Previous issue only show error when saving the model to directory.

yes! I use it, it is okay. Just 'accelerate launch' is not fine.


Israeli–Palestinian conflict

I see from the README.md that this is the place to talk about the Israeli–Palestinian conflict. I always wanted to do that in the GraphiQL repository! Let's educate ourselves in that matter then.
May I open a new issue for each one of the thousands of terror attacks that murdered ten-thousands of civilians in the name of the "Free Palestine" phrase?
This is an example to how one can try to free Palestine

The GraphQL technical steering committee is working on a policy to guide the use of political speech from the voice of a GraphQL project. The original author chose to revert the original change via #1879 until we complete that policy. This should resolve this issue, so I am closing it.
As a reminder, all discussion within GraphQL projects must adhere to our Code of Conduct.


enable EPEL only on RHEL and CentOS

Fedora has ansible_os_family==RedHat, but it does not use EPEL.

Right. We only test on CentOS currently. Should add Fedora as well.


Need a guidance to migrate mysql databases (ccdb, uaadb, diego, etc) hosted by CF VMs to Azure Database for MySQL

bc7f6f1c02e32d171cf64baabeba268f32b63966


Model.dirty is false even though the Model has a dirty ModelPropertyCollection

At the moment Model.dirty is a simple boolean property on the Model object.
I can see two natural ways of addressing this issue: Either we can treat Model.dirty as private and add a method such as Model.isDirty() which checks both this.dirty and any ModelPropertyCollections on the object, or change Model.dirty into a dynamic getter.
I'm not sure what the best solution is. Making Model.dirty a dynamic getter is in line with how we do other getters on models at the moment. However, having an explicit method like Model.isDirty() is probably easier to reason about for new developers than a magic property.

This is currently resolved by checking the model itself plus the children individually. Which is not really the cleanest way of doing things.
https://github.com/dhis2/d2/blob/feature-collection-props/src/model/ModelBase.js#L28
I think if we go for the Model.isDirty() solution that check could be in there. However there still should be a way to set the dirty state. I'm not sure if we should hide that property totally or allow it to be set directly (also externally)


Format times in inspect command with a template as RFC3339Nano

In 1.6.2 we were decoding inspect API response into interface{}.
time.Time fields were JSON encoded as RFC3339Nano in the response
and when decoded into interface{} they were just strings so the inspect
template treated them as just strings.
From 1.7 we are decoding into types.ContainerJSON and when the template
gets executed it now gets a time.Time and it's formatted as
2015-07-22 05:02:38.091530369 +0000 UTC.
This patch brings back the old behavior by typing time.Time fields
as string so they gets formatted as they were encoded in JSON - RCF3339Nano.
The structs in api/types are just view layer so I think there's no point in typing
time.Time instead of plain formatted strings with api's view value.
The ones I fixed here seems to be the only left from engine removal because
types.Info was correctly refactored to have the SystemTime field as a string
formatted in RFC3339Nano https://github.com/docker/docker/blob/master/daemon/info.go#L71
Fix #14947
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

ping @calavera @icecrime I've added this to 1.8.0 just in case it's confirmed

LGTM

LGTM. Windows failure completely unrelated.

cherry-picked into the release branch.


Add Carbon.fyi - most popular Ethereum emissions calculator, can now analyze Gnosis safes! 🎉

Name/Description
https://carbon.fyi
Type
New Addition
Compatible Networks

Mainnet

Code for review
Private on Gitlab. Please send contact details for a Gitlab account (DM me on discord - brendan#0535 or support@offsetra.com), and I can invite. The Gnosis app is a static-export (ipfs compatible) of the main carbon.fyi app, with an extra Gnosis button.
IPFS hash/App URL
https://gnosis.carbon.fyi/
Note: this pinata host has a request limit, which can block assets/stylesheets, so you may need to refresh so the assets are cached. Hopefully this is not a problem on your IPFS host.
Desired date
ASAP

@mikheevm thanks for taking a look. Yes you've run into the issue I mentioned in the PR description:

Note: this IPFS host (Pinata) has a request limit, which can block assets/stylesheets, so you may need to refresh so the assets are cached. Hopefully this is not a problem on your IPFS host.

As for your question about why I did a second deployment... the SafeApp docs say I need to host on IPFS. Obviously I'd prefer to use my existing deployment. Can we just link to the carbon.fyi domain? I wish I knew that 6 months ago.

@mikheevm thanks for taking a look. Yes you've run into the issue I mentioned in the PR description:

Note: this IPFS host (Pinata) has a request limit, which can block assets/stylesheets, so you may need to refresh so the assets are cached. Hopefully this is not a problem on your IPFS host.

As for your question about why I did a second deployment... the SafeApp docs say I need to host on IPFS. Obviously I'd prefer to use my existing deployment. Can we just link to the carbon.fyi domain? I wish I knew that 6 months ago.

Yup, sorry, the docs are a little dated. You can host it on your domain.


Display company data in frontend

@CodiumAI-Agent /review

PR Review

 ⏱ Estimated effort to review [1-5]
3, because the PR involves changes across both the server and client side, including API endpoints, data schema modifications, and new frontend components. Understanding the full impact requires a good grasp of the full stack.

 🧪 Relevant tests
No

 🔍 Possible issues

Possible Bug: The change in CompanySchema.js from an array of projects to single string fields may not support the original intent of allowing multiple projects per company.

Data Structure Change: The modification in CompanySchema.js could lead to data inconsistency for existing records in the database that were structured with the previous schema.
 🔒 Security concerns
No

 Code feedback:
relevant fileServer/models/CompanySchema.js
suggestion

Consider reverting Projects back to an array or use a more complex object to support multiple projects. This change ensures the schema can handle multiple projects per company, which seems to be the initial design. [important]

relevant lineProjects: {
relevant fileServer/app.js
suggestion

Ensure error handling in app.post("/companyregister", ...) includes specific HTTP status codes for different types of errors (e.g., validation errors vs server errors) to improve API usability and debugging. [medium]

relevant lineconsole.error('Company registration failed:', err);
relevant fileClient/Client/src/App.jsx
suggestion

For better user experience, consider implementing lazy loading for routes in App.jsx using React.Suspense and React.lazy. This will improve the initial load time of your application. [medium]

relevant lineimport CompanyRegistration from './components/CompanyProfile';
relevant fileClient/Client/src/components/CompanyProfile.jsx
suggestion

Implement form validation in CompanyRegistration to ensure that user inputs meet certain criteria before submission. This can prevent sending invalid data to the server. [important]

relevant lineconst handleSubmit = async e => {

 ✨ Review tool usage guide:
Overview:
The review tool scans the PR code changes, and generates a PR review which includes several types of feedbacks, such as possible PR issues, security threats and relevant test in the PR. More feedbacks can be added by configuring the tool.
The tool can be triggered automatically every time a new PR is opened, or can be invoked manually by commenting on any PR.

When commenting, to edit configurations related to the review tool (pr_reviewer section), use the following template:

/review --pr_reviewer.some_config1=... --pr_reviewer.some_config2=...

With a configuration file, use the following template:

[pr_reviewer]
some_config1=...
some_config2=...

See the review usage page for a comprehensive guide on using this tool.


Homepage: Removed Deprecated Stacks From The Most Popular Section

Signed-off-by: Bazif Khan<EMAIL_ADDRESS>
[x] commit message follows commit guidelines.
[x] website builds and runs in production - for information on how to test locally go here.

fixes: #570

I've pulled down the changes and tested and this looks good!

However as I'm not familiar with react (?), I'll let someone else comment on the code changes :)


Update CAP sets

Update sets for CAP Pokemon to better reflect viable / common sets in the Gen 7 CAP metagame
Fix some data errors
Add sets for Tomohawk and Kerfluffle

I believe this interferes with @Honko s auto set grabbing script

Nah, updates for CAPmons are fine. My script doesn't try to update their sets, so this block at the end never gets touched.

Thanks 👍


Hi All. Can some help me how to set this up on a shared hosting?

Good day to all :)
Can someone help me how to setup this on a shared hosting (GoDaddy)? Given that I can't use the port 6001 because I am only on a shared hosting (limited ports to use).
Any help or ideas is welcome and much appreciated!
Thanks!

You can user proxypass for nginx
https://stackoverflow.com/questions/39310308/how-to-use-laravel-echo-on-production-server-with-https/43047046#43047046
I am sure that apache has something similar

Hi @catalinux
Thanks for the idea. I'll try this one.


Electron redirect URI scheme best practices - http(s) vs custom protocol

Core Library
MSAL Node (@azure/msal-node)
Core Library Version
general question
Wrapper Library
MSAL Angular (@azure/msal-angular)
Wrapper Library Version
general question
Public or Confidential Client?
Public
Description
We have two samples for using msal-node with Electron apps:

https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-node-samples/ElectronTestApp
https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-node-samples/ElectronSystemBrowserTestApp

First one warns as not following best practices because it doesn't use system browser. This is clear.
What is main point is the fact this sample uses custom redirect URI scheme (https://github.com/AzureAD/microsoft-authentication-library-for-js/tree/dev/samples/msal-node-samples/ElectronTestApp#custom-file-protocols-and-redirect-uris):

To demonstrate best security practices, this Electron sample application makes use of a custom file protocol instead of a regular web (https://) redirect URI in order to handle the redirection step of the authorization flow, as suggested in the OAuth2.0 specification for Native Apps.

The reason this applies to Electron applications (such as this one) is that, although Electron uses Chromium to support browser-based JavaScript, it also has access to operating system resources, which makes it a Public Client Native Application under OAuth 2.0 and requires extra security considerations.

Ok, from this I would assume the best practice is to use custom URI scheme instead of http(s).
Now, we go to the second sample using system browser (which is also a best practice) and as we can see it doesn't use custom URI scheme for handling interactive flows (it does for deep-linking, but interactive flow uses http(s) scheme via built-in LoopbackClient).
So the question is - what is the actual best practice for handling interactive flows in Electron (desktop in general?) apps in context of redirect URI?
Should we use custom URI scheme instead of http(s) wherever possible? - if so, sample using system browser should be updated to reflect that or at least explain why it uses http(s) scheme.
MSAL Configuration
No response
Relevant Code Snippets
No response
Identity Provider
None
Source
External (Customer)

@kamilzzz  great catch. The best practice is to use a custom URI schema for electron apps. We will update the other sample to reflect this, but also welcome community contributions if you'd like to make this change yourself.


Updated and rewrited Russian translation

Updated and rewrited Russian translation
Updated sources to latest version (from English tutorial)
Comments not translated yet

Wow, very nice. I just found out that one of my students speaks Russian and he verified that your translation is very good. Thank you. I'm on the road this week, so I will merge it this weekend or beginning next week.

Thanks :)
Now I again verify text, and translate comments in source code. I hope finish to the end of the week

OK, done.
Thanks for such a nice tutorial. Hello from Moldova. Enjoy your holidays. Creative success.

The updated Russian translation is now live. Thanks again for your work.


⚠ AGEG website (prod) has degraded performance

In 2140800, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 5006 ms

Resolved: AGEG website (prod) performance has improved in c1bc686.


How to extracting multiple similar markdown files and then displaying those markdown files ?

How to extracting multiple similar markdown files and then displaying those markdown files?
we are usually extracting multiple similar markdown files like this:

and if I want to use these markdown files in somewhere, I will reference them like this:
xxxxxx...
{{ xxx.md }}
xxxxxx....

so i wanna ask for how to do this in nextra ?

https://the-guild.dev/blog/nextra-2#markdown-import


Upgrade CodeQL v3.23.2 -> v3.24.5

This PR contains the following updates:

Package
Type
Update
Change

github/codeql-action
action
minor
v3.23.2 -> v3.24.5

Release Notes

github/codeql-action (github/codeql-action)
v3.24.5
Compare Source
v3.24.4
Compare Source
v3.24.3
Compare Source
v3.24.2
Compare Source
v3.24.1
Compare Source
v3.24.0
Compare Source

[ ] If you want to rebase/retry this PR, check this box

Suggested commit message:
Upgrade CodeQL v3.23.2 -> v3.24.5

See:
- https://github.com/github/codeql-action/blob/main/CHANGELOG.md
- https://github.com/github/codeql-action/compare/v3.23.2...v3.24.5


Use lower case filename at #include for MinGW

Windows is case insensitive so "Windows.h" and "windows.h" are both OK, but MinGW on Linux is case sensitive. This PR replaces "Windows.h", "ShlObj.h" and "ShObjIdl.h" with lower case versions. I checked MinGW can compile replaced version.

@samhocevar Please take a look

I can confirm this is necessary on case-sensitive filesystems.

Merged! Many thanks, and sorry for the delay.


Add --remove-signatures to (skopeo copy)

This exposes https://github.com/containers/image/pull/68, and is necessary to allow copying signed images into destinations which don't support signatures.
(We could instead silently drop signatures when copying into such destinations, I think that is worse. atomic pull can easily hard-code skopeo copy --remove-signatures docker://$source docker-daemon:$destination when we know that docker-daemon: doesn’t support signatures; after we add such support, we would drop the option from atomic.)

lgtm