ApplyPass -> ApplyPasses; Refactored infer pass;

Some refactors.
Question for @tqchen :
I have codes like following:
net = mx.symbol.Variable('data')
net = mx.symbol.FullyConnected(net, name='fc1', num_hidden=40)

executor = net.simple_bind(mx.cpu(0), 'write', data=some_data_shape)
# ... copy data to the "data" placeholder
outputs = executor.forward()
executor.backward(outputs[0])

This is a symbol without a loss function, so I just put the output of the symbol as the output grad. When I run the InferShapePass, the output grad has NO shape. How can I easily fix that?

please fix https://travis-ci.org/dmlc/nnvm/jobs/159126401


Update module logrus to v1.7.0 to fix sync.Pool seg fault issue

Issue: PELEDGE19-3771 - edge-proxy has encountered segmentation fault during runtime due to third party package logrus used in remotedialer. Similar issue could be found here: https://github.com/golang/go/issues/24640. While the issue happens within golang runtime and the problem has been unresolved even for the latest go release.
Potential solution: updating module logrus to v1.7.0 as it introduces a customized buffer pool API instead of using sync pool from native go lib. Details for the v1.7.0 release could be found here
Changes:

Update logrus version to v1.7.0

Step to repro the same results:
$ go get<EMAIL_ADDRESS>$ go mod vendor


edited the cardDetails.json by adding my details

It's  a great opportunity to be part of the community
Edited the cardDetails.json by adding my details

What is the reason behind adding 19 files and changing almost 5,000 lines of code?


feat: warn on unknown schema types

#30 When an unknown schema type is encountered as an incoming reference, warn the user and prompt to unset the reference

Just realizing that incoming references isn't the only way that folks might use this plugin, so I can remove the action button


[Calcite optimzer] support opertor of scan,  filter,  project of One QueryBlock #4223

Proposed changes
the predicate of filter operator only support BinaryPredicate and CompoundPredicate.
for example: set enable_calcite = true; select i from t where j > 1 and (k <= 2 or i = 5)
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[] Documentation Update (if none of the other choices apply)
[] Code refactor (Modify the code structure, format the code, etc...)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have create an issue on #ISSUE, and have described the bug/feature there in detail
[] Compiling and unit tests pass locally with my changes
[] I have added tests that prove my fix is effective or that my feature works
[] If this change need a document change, I have updated the document
[] Any dependent changes have been merged

Further comments
this is the first commit of calcite optimzier

Hi @wutiangan
I think support calcite in Doris is a long-time and very hard work, it will last for a long time.

Without more detail design, I don't know what's the CL is doing.

Hi @imay @wutiangan , I think we can open a branch for this feature, so that we can still do the review without invading the trunk code.

Hi @imay @wutiangan , I think we can open a branch for this feature, so that we can still do the review without invading the trunk code.

It looks good to me.


App keeps toggling between Home and Notifications and then crashes

Summary:
App keeps toggling between Home and Notifications and then crashes when notifications is visited through the bell icon.
Steps to reproduce:

Use the bell icon on the top-right of Home to go to Notifications.
Press back, Home will open.
Press back again, it will go to Notifications.
This will repeat.
Doing this many times crashes the app.

Instead, the app should have closed on pressing back when on the Home screen.
System logs for the crash:
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.SharedPreferences fr.free.nrw.commons.contributions.MainActivity.getSharedPreferences(java.lang.String, int)' on a null object reference
        at fr.free.nrw.commons.notification.UnreadNotificationsCheckAsync.onPostExecute(UnreadNotificationsCheckAsync.java:51)
        at fr.free.nrw.commons.notification.UnreadNotificationsCheckAsync.onPostExecute(UnreadNotificationsCheckAsync.java:18)
        at android.os.AsyncTask.finish(AsyncTask.java:667)
        at android.os.AsyncTask.-wrap1(AsyncTask.java)
        at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:684)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:163)
        at android.app.ActivityThread.main(ActivityThread.java:6205)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:904)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:794)

Device and Android version:
Android 7.1.2 (API 25)
Commons app version:
2.9.0
Branch: master
Build: betaDebug
GIF:

Would you like to work on the issue?
Yes

Duplicate of #2044 which has fix ready in #2102


Some APKs get stuck while using android-unpinner

hey :), i'm creating this issue here because on the mitmproxy/android-unpinner repo the issues tab is disabled.
Problem Description
Some android apks get stuck when starting (after injecting Frida gadget). The app in particular I'm testing is built using .NET Xamarin. I tried regular MITM without the pinner, but the app refused to make any http requests.
Steps to reproduce the behavior:

Have a buggy/unsupported(?) apk
Run android-unpinner all -f -v -l /path/to/the/app.apk
Unpinner gets stuck after Inject Frida gadget...

System Information
Mitmproxy: 10.3.1 binary
Python:    3.12.3
OpenSSL:   OpenSSL 3.2.2 4 Jun 2024
Platform:  Windows-10-10.0.19045-SP0
(Installed via scoop)
Package ID: br.com.henkoti.empresa1.smpay
Phone: Xiaomi Redmi 10 (selene; android 13; miui global 14.0.2)
Debug (-vv) information:
debug.log, 113KB

https://github.com/mitmproxy/android-unpinner/discussions/15#discussion-5362424


Execution failed for task ':react-native-twilio-phone:compileDebugKotlin'.

Execution failed for task ':react-native-twilio-phone:compileDebugKotlin'.

same issue!!!!!!!!!!!1

same issue !!!!!!!!!!!!!!

i have found the solution .
make kotlin_version = '1.6.0' in build gradle to kotlinVersion = '1.6.0'


Set the slice expiry date and quota freely in Slice

As an EdgeNet user, I want to set the expiry date and quota of slices independently.
Currently, we provide pre-defined slice profiles to determine the expiry date and the quota of slices. The renewal process also depends on these pre-defined profiles.
Acceptance Criteria

Pre-defined profiles should be gone.
A resource quota assigned to slice must be directly put in the spec.
Expiry date needs to move from status to spec.
Renewal procedure should be removed since users can renew their slices by manipulating the spec.
It requires transforming the code to be more declarative.

Development Tasks
Backend:

[ ] Update the CRD
[ ] Move expiry date from status to spec
[ ] Develop resource quota allocation by the spec
[ ] Remove the pre-defined profiles
[ ] Remove the renewal procedure
[ ] Code error handling
[ ] Prepare relevant unit tests

I am closing this issue as the slice feature is replaced by subnamespace.


Custom data download tool UI.- Error Message- "there is no data available After selecting reporting time period filter

Annual and Ozone season emissions are not working in the custom data download tool UI. it says there is no data available once you enter a date in the time period filter
This is also happening for all emissions data types.
Steps to recreate:
on CAMPD production site

Select Data Type  - Emission
Select Sub data type - Ozon Season Emissions
Select Aggregation - Any (State, National, Unit, Facility)
Click Apply
Type in  Time Period
Click apply filter and observe error message "there is no data available After selecting reporting time period filter" display.

Please see screenshotsPrivate Zenhub Image
Private Zenhub Image

Issue found:
the night jobs took longer than usual and overlapped so the shh tunnel got closed by one job which then caused the other job to abort.
Since the job was aborted, there was no email notification.

This issue has been resolved by re running the overnight job that was aborted.
Private Zenhub Image

clsoing this ticket as the issue has been resolved.


[changes] Add Meta{}

This should allow adding metadata like current user etc into operations and also remove the need for an Op interface.

The current setup of carrying metadata with operations makes it a bit hard to pass the "current user" (or similar info) along with a change to some low level function (such as a text edit buffer which needs to render "collaborative cursors").
This is a simple approach trading  off type safety (the Data is typeless) for ease of use (don't have to thread  through context  that comes with each change).  That said, the ApplyTo method implicitly loses the metadata (by calling Apply() with the inner change) without  providing the Value access to the metadata.  A simple workaround is to convert changes.Meta{x, changeSet{...}} into changes.ChangeSet{changes.Meta{..}, ....} but this seems extreme.  Mulling this over.


Windows 11 address bar

First of all: Very grateful this is even an option at this point! But I was wondering if there was any chance of making the address bar height lower? I used the basic theme on Windows 11 for better comparison between the themes. If there isn't a way I understand, with the way microsoft is changing things, but was also curious if there was a way?

Did you install Visual Studio Redistributable and ClassicSearch Hook DLLs?

yea

I don't think it is possible, unfortunately

well thank you for trying, anyway! Still grateful this was even a possibility!


Fixes to wrap Variables option for draft call

Conditional variables are now wrapped as <if .../>
List variables are now wrapped as ```<list.../> ... ```

Coverage remained the same at 96.236% when pulling 9db5c7864a53350fc64b417869a6b2f9529e8e62 on jeromesimeon:js-fix-if-variables into 1020d127ef9ef20d010a3f040de5a8c405a47f6e on accordproject:master.


IO error reading multiple Feather files in R

I have 18,500 Feather files (all with the same columns and column types) which I want to read in. So I do this:
library(feather)
library(purrr)
library(dplyr)

paths <- Sys.glob("/media/lmullen/data/chronicling-america/out/*.feather")

read_df <- failwith(NA, function(x) {
  message(x)
  read_feather(x)
})

raw_l <- paths %>% map(read_df)
names(raw_l) <- paths

When I run that code, some number of the Feather files (it varies from about 150 to 1500) fail to load with this error.
/media/lmullen/data/chronicling-america/out/sn85042907-1919.feather
Error : IO error: Unable to open file

There is nothing actually wrong with those Feather files though. I can read_feather(path_to_problem_file) and get back a data frame as expected. I can also get the paths which failed to load, then run map(paths_that_didnt_load, read_feather) and load all of them fine.
My only suspicion is that Feather is too fast---that it reads the files so quickly that the disk can't get to the next file in time. FWIW, the files that don't load in the batch tend to come in sequence. The files are stored on a RAID 10 array, so it's not as fast as an SSD, but it's fast.
When I put a Sys.sleep(1) call in between loading each file, that cuts down on the number of errors.
I can't think of a good way to provide a reproducible example, but happy to do so if you can give instructions.
> sessionInfo()
R version 3.3.0 (2016-05-03)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 16.04 LTS

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=en_US.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] readr_0.2.2   purrr_0.2.1   feather_0.0.1 dplyr_0.4.3

loaded via a namespace (and not attached):
 [1] pryr_0.1.2       lazyeval_0.1.10  magrittr_1.5     R6_2.1.2         assertthat_0.1   parallel_3.3.0   DBI_0.4-1
 [8] tools_3.3.0      tibble_1.0       Rcpp_0.12.5      stringi_1.1.1    codetools_0.2-14 stringr_1.0.0

Can you try calling gc() every (say) thousand runs?
maybe_gc <- local({
  i <- 1
  function(every = 1000) {
    if (i %% every == 0) {
      message("GC")
      gc()
    }
    i <<- i + 1
  }
})

I added a call to maybe_gc() in my function read_df() from above, and it loaded all the Feather files without an error.

@krlmlr any thoughts on how we could solve this problem? This is the downside of the lazy approach - if you are reading too many files, I'm assuming the OS runs out of file locks.

I guess we need close.feather() and call it from read_feather(). That's the one downside of the feather class -- PR coming soon.

@lmullen: This should be fixed now, could you please confirm?

After reinstalling Feather from master, I re-ran my original code above. The first time I got one feather file that failed to load. Every other time I've run it all the files loaded correctly. I can't reproduce that first error,  so I think it is fixed.
Thanks!

Is it possible this same problem could happen in Python, with pandas' read_feather? I'm encountering a similar error in similar circumstances (loading tens of thousands of feather files).

Could you report the issue either on pandas's issue tracker or the JIRA for Apache Arrow? Thanks


unable to run

Getting the following error
File "/usr/local/bin/videodigest", line 57
return sum(map(lambda (start, end): end-start, regions))
^
SyntaxError: invalid syntax

That is because the ability to unpack tuple parameters was removed in Python 3. stackoverflow
change it to     return sum(map(lambda region: region[1]-region[0], regions)).


Refactor Authorization In The Backend

Refactor the authorization to a policy-based authorization. This is done to provide a clear separation of concerns between authorization logic and business logic.
[Story Points: 3]
[Priority: Medium]
[Risk: Medium]

https://github.com/JamesPartsafas/ConcordiaCurriculumManager/assets/76979568/83f0cbd9-2c02-4d69-9bd2-b6821f5bf688

https://github.com/JamesPartsafas/ConcordiaCurriculumManager/assets/76979568/83f0cbd9-2c02-4d69-9bd2-b6821f5bf688


header/timeout has none or little sense

"timeout": {
                    "description": "The network timeout used in the generator, in fractional seconds",
                    "type": "number"
                }

what does this actually mean? Unless UDP, there are various timeouts that can be used and they usually differ, e.g. handshake timeout, IO timeout, idle timeout....
I suggest to either remove this, or to improve this to accomodate various timeout information.

I think the most important timeout is the user timeout - i.e. the amount of time since the client starts processing a query, until the time it receives the answer.
But I agree other timeouts might be useful as well. DNS Shotgun also uses:

handshake_timeout:  the amount of time after which an attempt to finish a handshake is abandoned
idle_timeout: the amount of time for which the established connection remains open even if there are no queries sent (applies to stateful protocols)

Please note that the handshake/idle timeout are parameters which might differ for each DNS Metrics object. For example, one subid sender might use idle_timeout of 0 to simulate clients which aggressively close connections as soon as they get an answer, while other subid sender could use a value like 10 to simulate more well-behaved clients.
Putting these into a header might be too limiting. Perhaps the header could contain definitions of various timeout configurations which could then be referenced in the DNS Metrics object?

In practice, any way we measure any kind of latency, we can equivalently impose timeouts (i.e. ceiling of latency after which there will be any kind of failure).
What i think we could do, is to remove this header/timeout for now, first design a robust system of measured latencies, and only after that, think of a system for declaring timeouts. Anyone better idea?

Generally I agree but I don't have a good idea how to express it without endless repetition.
My view: The "timeout" value is mostly used for interpreting the data. If I have data like this:

requests sent - 1000
latency histogram

under 50 ms = 990 responses
under 100 ms = 9 responses
one value is unaccounted for, and the timeout value set to 1000 tells me that it was either packet drop or a response slower than 1000 time units

Timeouts are can of worms because it's also debatable when you start the timer etc. E.g. if load simulator like Shotgun generates "traffic like from real users" it probably wants to measure end-to-end latency for individual queries, i.e. start the timer when "user wanted to send the query" and stop it only after receiving a response. In this case the latency/timeout would include potential TCP/TLS/DoH session setup etc.
Another tool might want to measure DNS request/response latency and exclude connection setup from that. :exploding_head:


There seems to be a bug when the data exceeds 3 billion

When training about >3 billion rows (limited by int32?)
If so, how should this problem be avoided?

You are right, there is an ongoing work on this problem: #4809.
Duplicate of #4804.

@li26338710 in the future, please don't edit posts here to remove all of your original comments or the title.
I just restored the title and content of this issue. It's important that we be able to look back at these issues and understand what the conversation was about. With the title changed to [closed] duplicate and all of the issue body removed, it's hard to understand what was asked and how @StrikerRUS 's response was related to it.


Add ability to inspect/read data on a secondary instance

Pre-failover, for read-only workloads, etc.
(from HackMD list)

Current thought is that applications would have some form of init container to ensure pre-flight data check sanity. Closing this as currently we do not need to provide additional functionality for the same.


Test License

Unclear if license setup is working properly.  The whole model of how its parameterized might need reworked.

Fixed thanks to @drumcircle


Exposing the current ensembl release version

Hey all,
Thought this would be a nice feature as the release is required for any SQL queries when selecting a database - but is not easily accessible (and slow to parse from the SQL)
However if this already exists would love to be pointed to it!

nevermind - found it here: https://rest.ensembl.org/documentation/info/data


Doesn't work with windows

See https://github.com/fdopen/opam-repository-mingw/commit/857a012189c005ac2c0aef4c96f64abf990a12ab

The definition of size_t is come from zlib. We can put an other branch if defined(WIN32) and include the window definition of size_t however, I'm not sure about that and I need a window super developer (@dra27 or @nojb) to have a advise on the best way to have the window support.

Typically one can use the type SIZE_T on Windows instead (defined in BaseTsd.h).

See #8 but I need to put some tests on window and unix.


Add debug assert when diffIdentifier is used more than once in array

From #810
Add another debug assert to check that object diffIdentifiers only appear once in arrays as they are updated.
Warning should make it clear which object + identifier is duped. Something like:
NSCountedSet *identifierCounts = [[NSCountedSet alloc] initWithArray:[objects valueForKeyPath:@"diffIdentifier"]];
for (id<IGListDiffable> object in objects) {
  IGAssert([identifierCounts countForObject:[object diffIdentifier]] == 1, @"Diff identifier %@ for object %@ occurs more than once. Identifiers must be unique!", [object diffIdentifier], object);
}

Let me try to reproduce this problem and I will make a PR for this

@rnystrom Will valueForKeyPath really work? Won't that force the users to extend NSObject in swift?


Autogluon Dev Tutorial for Tabular + Text Model 5 multimodal embedding not used

https://auto.gluon.ai/dev/tutorials/tabular_prediction/tabular-multimodal-text-others.html#model-5-multimodal-embedding-tabularpredictor
In Model 5, it seems that the multimodal embedding is not used and the original train_df fed into the TextPrediction is the input to the TabularPrediction, and thus there is no performance improvement observed.

Thanks for the report! This has been fixed as the tutorial has been reworked: https://auto.gluon.ai/dev/tutorials/tabular_prediction/tabular-multimodal-text-others.html#


[Termino] Add shutdown and restart if they exist

The old way actually didn't readd shutdown or restart :)

Made the requested changes :)


Add a gotcha about sylk errors in excel import

There is another gotcha that I have encountered myself when working with Excel.
See https://answers.microsoft.com/en-us/msoffice/forum/all/sylk-error-when-opening-csv-files-in-excel/3764f46e-52de-49f2-a77a-21ab9cf84f75
I have updated the documentation for future reference.

Thanks for the contribution!


Implement TryFrom for DataAvailabilityMode enum in order to be able t…

…o convert a StarkFelt into an enum variant.

This change is

Codecov Report

Merging #852 (e222d60) into main (98014a8) will decrease coverage by 0.12%.
Report is 1 commits behind head on main.
The diff coverage is 0.00%.

:exclamation: Current head e222d60 differs from pull request most recent head 0a02cfd. Consider uploading reports for the commit 0a02cfd to get more accurate results

@@            Coverage Diff             @@
##             main     #852      +/-   ##
==========================================
- Coverage   69.45%   69.34%   -0.12%
==========================================
  Files          41       41
  Lines        5536     5545       +9
  Branches     5536     5545       +9
==========================================
  Hits         3845     3845
- Misses       1324     1333       +9
  Partials      367      367

Files Changed
Coverage Δ

crates/blockifier/src/state/state_api.rs
36.84% <0.00%> (-33.16%)
:arrow_down:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Updated account deletion link for Mozilla/Firefox accounts.

What do you see once you click that link? Do the notes still apply to that new URL?

What do you see once you click that link? Do the notes still apply to that new URL?

When you access the link, you are taken to the settings page of your account, you will be asked to re-enter your password and confirm the deletion of the account. The account is immediately deleted after the confirmation.

Thank you for your contribution!


Can't find Shipping folder

Hello, I am trying to install your plugin but cannot seem to find the shipping folder you mention in the installation instructions. It is not in the folder I downloaded for your plugin, the UE4 project, or UE4 installation folders. Where can I find the shipping folder?

Did you download from the Releases page?
https://github.com/AaronShea/BLUI/releases
The zip folder will contain
Windows Shipping
Mac Shipping
Linux Shipping

Yes, I downloaded the zip. Perhaps I am missing something?

The zip and release zip are different
You need the release zip, click "releases" from the main page and download BLUI.2.5.Release.OSX.Beta.zip

Got it working! Thanks for the help and speedy responses!


Updated Tab Order article in accordance with VS2017

Option moved from "Format > Tab Order" to "View > Tab Order".
"Ctrl-D" shortcut no longer used by default.
CTRL and double-click behavior is no longer in effect.

@SupSuper,
Thanks for having already signed the Contribution License Agreement. Your agreement has not been validated yet. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


New region struct for Blit

We need a new BlitRegion struct that can allow for horizontal/vertical mirroring, and also removes the depth parameter to avoid the implication that you can blit from/to multiple depth slices simultaneously.

Resolved by #207


Bitstamp trading

Changing currencyPair to XRP still results in returning balance and candles for BTC.
From config.js
exchange: 'bitstamp',
currencyPair: {pair: 'XRPUSD', asset: 'XRP', currency: 'USD'}
BTC appears to be hardcoded in bitstamp.js:
cb(null, {currencyAvailable:result.usd_available, assetAvailable:result.btc_available, fee:result.fee});

This right, back when I created this bot bitstamp only had 1 pair to trade probably, I welcome a pull request to fix bitstamp trading for other currency pairs.


Rely on the new modules loading logic instead of a custom hook

Hi!
This PR includes the spec for import reflection aligned to what I believe is the shared vision we built during the last few months.
PREVIEW HERE

import module mod from "x" and await import("x", { module: true }) give you a Module object as defined in Layer 0 of the compartments proposal (spec, explainer).

the logic for static imports is in all the changes to the ECMAScript Language: Scripts and Modules section;
the logic for dynamic imports is in step 6 of EvaluateImportCall (to parse the "options" object) and step 4 of ContinueDynamicImport (to return the Module object).

import(mod), where mod instanceof Module, links and evaluates the module. This behavior is identically defined in Layer 0 of compartments and in the Module Blocks proposal, but this duplication is necessary to make each proposal usable on its own.

this is specified in step 8 of EvaluateImportCall.

Module.prototype.source gives you "the source object of the module instance". This proposal doesn't define what it is, it only define that it is an object or null. The compartments proposal (layer 0 and layer 2) better define what is is, but tl;dr it's morally a context-free unlinked representation of the module. This proposal needs it so that import module x from "x.wasm"; x.source can give access to the raw WebAssembly.Module object.

Also, this PR is written on top of https://github.com/tc39/ecma262/pull/2905. The ecma262-biblio.json file you see is to ensure proper linking of all the new AOs to that PR, until it's merged.
cc @littledan, @kriskowal and @caridy, who work on other pieces of this modules improvements effort.

Does your OP encapsulate the entirety of the proposal? Meaning, there's no other semantics than what you've described?

Yes. Or at least, it encapsulates the entirety of one of the possible versions of this proposal: the one which leaves less customizations to the host.

An essential aspect of this proposal will be the Wasm+HTML integration specification, where the .source of a Wasm module is the WebAssembly.Module. I suspect that we could do this without requiring the other compartments proposals to complete, just by saying it is undefined for JS modules for now, and returns that particular object for WebAssembly.

Right now this PR makes it null for JS modules, and mentions WebAssembly.Module in the note of https://nicolo-ribaudo.github.io/proposal-import-reflection/#sec-module.prototype.source.

Thanks for the review @guybedford! I reverted the normative changes and now I believe that this PR is purely editorial.
I ignored one of your suggestions: instead of tracking the reflection in an _importReflection_: null | ~module~ variable, I used a boolean. This is because an enum doesn't fit well with the concepts from the hooks refactoring and the other proposals: either you want to execute a module or you want to have it not executed.

With these changes, the proposal works without almost any changes to host specs :)
We just need to rename [[WebAssemblyModule]] to [[ModuleSourceObject]] in https://webassembly.github.io/esm-integration/js-api/index.html#esm-integration.

@guybedford I just realized that how we store the two type of imports and how we iterate over them is observable, because both modules evaluation order and modules loading order is observable (loading order is currently only observable by SharedWorkers and Node.js loaders API, but with compartments it would also be observable within ECMA-262).
Consider this example:
import module A from "A";
import module B from "B";
import "C";
import "A";
import "D";

With the spec text that I wrote, the loading order is CADB and the execution order is CAD.
I think that the execution order is fine, but the loading order maybe should be ABCD? Wdyt?

With the spec text that I wrote, the loading order is CADB and the execution order is CAD.
I think that the execution order is fine, but the loading order maybe should be ABCD? Wdyt?

I think it should be the one that matches the developer's intuitions, which in this case is ABCD, by just looking at the code.

It doesn't make a huge difference to users since loads are parallel, but at least from a host consistency perspective, iterating the operations on the imports in pre-order continues to make sense. I think my suggested changes would do that as well?

I updated the PR to load dependencies in the correct order.
@guybedford and I discussed about adding a note to discourage hosts from pre-loading dependencies in the HostLoadImportedModule hook, since it's also called for import reflections that don't need their dependencies to be loaded. Does this looks good, added as a fourth bullet point to https://ci.tc39.es/preview/tc39/ecma262/sha/24196c3212c3c4ac421e0cf9b002e58fb1445f6d/#sec-HostLoadImportedModule?

The host environment should not attempt loading the dependencies of the loaded Module Record.

  <emu-note>
    When using `import module x from "x"`, the dependencies of `"x"` are not immediately needed and may never be needed. If the dependencies of an imported module need to be loaded, it will be done through further calls to HostLoadImportedModule.
  </emu-note>


Namespace UnityEngine.XR.WSA.WebCam is no longer valid in newer versions of Unity

Hi there,
WebCam is now under UnityEngine.Windows.WebCam (tested under 2019.2.8f1). Consider updating.

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

ID: 2dd07cb8-0169-9eeb-706a-890cd0418d0e
Version Independent ID: 46b95d28-2e43-1c9d-a338-495210bd9f91
Content: Locatable camera in Unity - Mixed Reality
Content Source: mixed-reality-docs/locatable-camera-in-unity.md
Product: mixed-reality
Technology: mr-dev
GitHub Login: @wguyman
Microsoft Alias: wguyman

Hey, I have the same problem. Are these docs still maintained?

https://docs.unity3d.com/ScriptReference/Windows.WebCam.WebCam.html
this seems to be the new namespace of the class
captureObject.StartPhotoModeAsync(c, OnPhotoModeStarted); // false has to be removed to match definition


Always properly release CaptureEventProducer::shutdown_requested_mutex_

The mutex wasn't released when acquired after the timeout (that is, when
shutdown_requested_ had not become true).
This is now in line with the same code around thirty lines below.
Bug: http://b/197310492
Test: Run unit tests. Capture OrbitTest with manual instrumentation (which uses
CaptureEventProducer).

I had forgotten to remove the TODO, done now.


fix the ORF start codons label for RNA sequence

@tnrich this is to change the label text for RNA.

Looks good thanks @sunm19810-pki !

Released in v0.3.21


fix: note about docker compose POC

fix: change the text
Description
Note in documentation about new POC of docker-compose deployment
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Refactor/improvement

How Has This Been Tested?
Checklist

[x] My commit message is conventional
[x] I have run pre-commit on all files before creating the PR
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have checked my code and corrected any misspellings

:tada: This PR is included in version 1.10.0-beta.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[AutoPR advisor/resource-manager] [Advisor] Add OperationalExcellence category to enum list.

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/7495

(message created by the CI based on PR content)

This PR has been merged into https://github.com/Azure/azure-sdk-for-python/pull/7889


Installation error: Super expression must be either null or a function not undefined

Hi guys,
Getting this issue when trying to import Toolbar:
super expression must be either null or a function not undefined
Doing it this way:
import { Toolbar } from 'react-native-material-ui'; in my component.
Any ideas?

What version of react and react-native do you have?

I run React 15.1  and RN 0.27.2

There could be problem with PureComponent which was added in React 15.3.0. Could you try it with that version of react?

Ok! Trying 15.3, get back to you with results.

And also, there were a couple of changes in React Native (current version is 0.39), so you could have problem with flex layout.

Do you support 0.27?

Yep, 15.3 did solve the error but that requires me to update RN to > 0.30. Do you by any chance support earlier versions of RN?

I think it's not possible to support it. There were some breaking changes with layout in React Native. Is there any problem to upgrade to RN 0.39?


Add all public servers

Since the querying of the public servers takes a while, when they time out and such, I put the query in a separate CI,
this makes testing much easier. This creates a TSV that is then used by extract_galaxy_tools.py to add availability on all servers.

Still needs to be merged with: https://github.com/galaxyproject/galaxy_tool_metadata_extractor/pull/112

can we merge it @bebatut ?


[DO NOT MERGE] Dangling references cleaner

There are 114 changed/added files. That seems excessive (though struggling to review properly on iPad because of that).
Instead of checking in an entire persisted state folder (eg including brooklyn-server/launcher/src/test/resources/orphaned-locations-test-data/data-without-orphaned-locations/catalog/org.apache.brooklyn.entity.cm.ansible.AnsibleEntity_0.10.0-SNAPSHOT), I'd recommend we have far more focused test cases with just a minimal file. Or even construct the persisted state on the fly.

@iyovcheva I've created https://github.com/iyovcheva/brooklyn-server/pull/1 to show how we can write unit tests for this.
The absolute must is that we "do no harm". We must never delete a location that is referenced by anything else. These tests show that we are deleting referenced locations.

Merging now. I'll address my most recent comments in a new PR later this evening.


Implement Directive::PermutationSort in Brillig

Problem
We're wanting to remove directives but the PermutationSort directive has no Brillig implementation which prevents us from doing so.
Happy Case
Directive::PermutationSort should be reimplemented in brillig so that we can remove this directive.
Alternatives Considered
Rather than having a handwritten Brillig implementation this could potentially be done as an unconstrained function in Noir (or at least components could be generated from Noir and connected by hand).
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

This directive has been removed so this is no longer necessary.


Found two segfaults with afl-fuzz

These two inputs both cause segfaults:
a=]

[[a]]
[a.a]

Let me know if you can't reproduce, need more debugging information, want me to re-fuzz, or whatever :)

Thanks for the report, I have pushed a fix for this bug.


Update mining_enroll.md

Per today's community call and announcement.

@hstove for your review. Think we keep the meaningful parts of app mining docs and remove the super specific sections on things like enrollment.


about the eval results

Thanks for sharing the excellent work! I have a question about the results.
In your paper, for Satnerf, the results of 068 is 1.275 on MAE.
In your code, using the provided pretrained model, I got 1.377 on MAE.
I followed the commands in readme.md and got this results.
Is there something I've missed?

Hello @WBS-123,
Thank you for your comment.
I've rerun things quickly using the readme commands.
The MAE that I obtain on area 068 with the Sat-NeRF pretrained model is 1.2756 m.
Assuming that the correct model was selected, it is possible that dsmr or gdal or some other library misbehaved on your conda environment and the alignment with respect to the lidar DSM was less acurate.
In any case, your error does not seem to be caused by the code or the pretrained model.


Wordpress shows status 502 after add proxy-companion container

Hi, I'm new to docker and try using docker.
I made some docker composes and they completely worked with nginx-proxy (port:80).
So, as the next step, I try to use SSL with Let's encrypt and use docker-letsencrypt-nginx-proxy-companion.
I renewed docker composes. Other web pages with nginx container worked correctly as I expected.
But only wordpress compose became not working and status 502. docker logs blog-wordpress shows a lot of ...
Warning: mysqli::mysqli(): (HY000/1130): Host 'blog-wordpress.blog_internal_net' is not allowed to connect to this My
SQL server in - on line 19

MySQL Connection Error: (1130) Host 'blog-wordpress.blog_internal_net' is not allowed to connect to this MySQL server

I didn't meet that error before adding proxy-companion. I assumed that ssl or network have bad effects but I haven't found any good clue.
This is the docker-compose.yml for wordpress. Currently I just modified last 4 rows of environment in service 'wordpress'. These rows work on other web page containers.
version: '2'

services:
  db:
    image: mysql:5.7
    container_name: blog-db
    volumes_from:
      # /var/lib/mysql
      - stowage
    restart: always
    environment:
      - MYSQL_ROOT_PASSWORD=wordpress
      - MYSQL_DATABASE=wordpress
      - MYSQL_USER=wordpress
      - MYSQL_PASSWORD=wordpress
    networks:
      - internal_net

  wordpress:
    depends_on:
      - db
    image: wordpress:latest
    container_name: blog-wordpress
    links:
      - db
    ports:
      - "80"
      - "443"
    restart: always
    environment:
      - WORDPRESS_DB_HOST=db:3306
      - WORDPRESS_DB_PASSWORD=wordpress
      - VIRTUAL_HOST=blog.example.net
      - VIRTUAL_NETWORK=base_net
      - VIRTUAL_PORT=80
      - LETSENCRYPT_HOST=blog.example.net
      -<EMAIL_ADDRESS>    networks:
      - base_net
      - internal_net
    volumes_from:
      # /var/www/html
      - stowage

  stowage:
    container_name: blog-stowage
    image: busybox
    restart: always
    stdin_open: true
    tty: true
    command: /bin/sh
    networks:
      - internal_net
    volumes:
      - internal_data:/var/lib/mysql
      - internal_data:/var/www/html

networks:
  internal_net:
  base_net:
    external: true

volumes:
  internal_data: {}

Once I added port 3306 in service 'db', adding or removing "VIRTUAL_NETWORK", but not working.
Thank you.

It looks like, you forgot to define WORDPRESS_DB_USER=wordpress for the wordpress container.

I defined WORDPRESS_DB_USER=wordpress in environment of wordpress container, then docker-compose down and up. But it's still not working and docker logs blog-wordpress showing same error... :mask:
Official Quickstart works without WORDPRESS_DB_USER env.

I made some docker composes and they completely worked with nginx-proxy (port:80).

So, as the next step, I try to use SSL with Let's encrypt and use docker-letsencrypt-nginx-proxy-companion.

Pardon if you know this already, but it isn't clear from your post if you realize that this companion requires nginx-proxy and doesn't include or replace it. Therefore it doesn't make sense to show us a compose file where wordpress is listening on ports 80, 443, etc. You still need nginx-proxy.

The nginx-proxy container is running and works well on other web page containers from nginx image.
By the way, this is the docker-compose.yml form nginx-proxy and proxy-companion.
# sudo mkdir /opt/masuqat -p
# curl https://raw.githubusercontent.com/jwilder/nginx-proxy/master/nginx.tmpl | sudo tee /opt/masuqat/nginx.tmpl
#
# path to certs -> /opt/masuqat/certs
# path to nginx.tmpl -> /opt/masuqat/nginx.tmpl

version: '2'

services:
  proxy:
    container_name: proxy
    image: jwilder/nginx-proxy
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - /opt/masuqat/certs:/etc/nginx/certs:ro
      - /etc/nginx/vhost.d
      - /usr/share/nginx/html
      - /var/run/docker.sock:/tmp/docker.sock:ro
    restart: always
    networks:
      - net

  cert:
    container_name: proxy_cert
    image: jrcs/letsencrypt-nginx-proxy-companion
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock:ro
      - /opt/masuqat/certs:/etc/nginx/certs:rw
    volumes_from:
      - proxy
    environment:
      - NGINX_DOCKER_GEN_CONTAINER=proxy_gen

networks:
net:

and the piece of the docker-compose.yml for other wep page containers, which run well.
version: '2'

services:
  primary:
    image: nginx
    container_name: primary
    environment:
      - VIRTUAL_HOST=example.net
      - VIRTUAL_NETWORK=base_net
      - VIRTUAL_PORT=80
      - LETSENCRYPT_HOST=example.net
      -<EMAIL_ADDRESS>    restart: always
    ports:
      - "80"
      - "443"
    networks:
      - base_net

  secondary:
    image: nginx
    container_name: secondary
    environment:
      - VIRTUAL_HOST=second.example.net
      - VIRTUAL_NETWORK=base_net
      - VIRTUAL_PORT=80
      - LETSENCRYPT_HOST=second.example.net
      -<EMAIL_ADDRESS>    restart: always
    ports:
      - "80"
      - "443"
    networks:
      - base_net
# and more...

I fixed to NGINX_DOCKER_GEN_CONTAINER=proxy and run, then removed NGINX_DOCKER_GEN_CONTAINER and run, but caused nothing, to be sure.

Have you fixed your problem ?

Not yet.
This problem caused on my hobby project and I decided to setup WordPress without Docker temporarily.
And I've been working hard on my task from school, ever since I laid aside this issue.
I think it's okay to close this issue if no one got the same problem. I'm sorry for no responding for a long time 😟


Can see preferences windows in my app, and trying example with electron 29.2 same issue

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Machine (please complete the following information):

OS: [e.g. Windows 10]
Electron version: [e.g. 13.1.5]
electron-preferences version: [e.g. 2.x.x]

Additional context
Add any other context we should know

OK. ==> I need to set
    "webPreferences": {
        "sandbox": false,
    }

And in README there is a typo: browserWindowOpts ==> browserWindowOverrides


Not clear how to build this repo - master and gh-pages versions of repo_metadata out of sync

As I understand it, the master branch for this repo contains all the source required to generate the working image.  However the working catalog of tutorials is served up from the gh-pages branch (particularly by the en/repo_metadata.json file).
At the moment, the content of repo_metadata.json in the master and gh-pages branches has diverged.  We could merge any changes from gh-pages back into master and use a build process to regenerate consistent source, but it's not clear how to do that.  Suggest that we update this repo to say how to build it (at least) so it's clear how gh-pages updates should be made.

I have submitted a pull request to master branch which brings repo_metadata in sync with the latest updates to the gh-pages branch.


Allow providing Arrow schema when scanning Parquet files

Is your feature request related to a problem or challenge?
When scanning Parquet files, we'd often like to provide an expected schema, since:

The Parquet files might not all have an identical physical schema, but we may know the unified schema up front, such as when we are using a table format like Delta Lake.
A given Parquet type can map to many different Arrow types. For example, when possible it would be nice to read a string column as a DictionaryArray, especially if the data is already dictionary-encoded.

Describe the solution you'd like
It would be nice to be able to provide an Arrow schema in ParquetScanOptions, and then the scan would try in order:

Read the Parquet data directly into the output type
Read the Parquet data into a supported Arrow type then cast
Return an error stating which types can't be mapped

This probably would require some changes upstream in the parquet crate, but for at least some of the functionality datafusion seems like the right place. LMK if you think differently.
Describe alternatives you've considered
Right now our current issue is that our expected schema (from the Delta Lake log) doesn't match the physical schema (at least when written by Spark). So as a workaround we are looking at the metadata of one of the Parquet files. This will partially solve the issue, but will likely fail for tables where Spark wasn't the only engine to write to the table.
Additional context
Here's a simple example where PyArrow's scanner works but Datafusions doesn't seem to:
import pyarrow as pa
import pyarrow.parquet as pq

tab1 = pa.table({"a": pa.array([1, 2, 3, 4, 5], type=pa.int32())})
tab2 = pa.table({"a": pa.array([6, 7, 8, 9, 10], type=pa.int64())})

file1 = 'table/1.parquet'
file2 = 'table/2.parquet'

pq.write_table(tab1, file1)
pq.write_table(tab2, file2)

import pyarrow.dataset as ds

ds.dataset("table", format="parquet").to_table()

pyarrow.Table
a: int32
----
a: [[1,2,3,4,5],[6,7,8,9,10]]

from datafusion import SessionContext

# Create a DataFusion context
ctx = SessionContext()

# Register table with context
ctx.register_parquet('numbers', 'table')

Exception: DataFusion error: ArrowError(SchemaError("Fail to merge schema field 'a' because the from data_type = Int64 does not equal Int32"))

This should be fixed now by #10515.  You can now override the schema used in the file scanner.


python3Packages.mip: fix cffi version

Description of changes

Although the mip wheel builds, the derivation does not succeed as the version of cffi has changed.
Successfully built mip-1.15.0-py3-none-any.whl
Finished creating a wheel...
Finished executing pypaBuildPhase
@nix { "action": "setPhase", "phase": "pythonRuntimeDepsCheckHook" }
Running phase: pythonRuntimeDepsCheckHook
Executing pythonRuntimeDepsCheck
Checking runtime dependencies for mip-1.15.0-py3-none-any.whl
  - cffi==1.15.* not satisfied by version 1.16.0

Although I didn't run the tests (they take a very long time), the package seems to work.
Note that cffi>=1.15 is the version constraint on current master.
@nessdoor
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 286980 run on x86_64-linux 1

4 packages built:

python311Packages.mip
python311Packages.mip.dist
python312Packages.mip
python312Packages.mip.dist

fixes https://hydra.nixos.org/build/254927191 and https://hydra.nixos.org/build/254885985


SAK-49636 announcementswc Add sorting options

https://sakaiproject.atlassian.net/browse/SAK-49636

@jesusmmp Thanks for the review :)


Beam sync explainer infographic

Anyone want to make a nice explainer infographic for beam sync?

Jasons post has one<EMAIL_ADDRESS>

Jasons post has one

I'm aware.  I'm looking for someone who can take that and add some designer polish

Haha, yeah. I am happy that I was able to put something together. But I would love someone to make a graphic that looks professional.


Singer

The server that replaces dbman.pyw. This has not been tested yet.
The server implements all four commands from dbman, although the today_info had been patched a little. There were also two new commands, flush_notice and quit_spirit. See readme.md for more information.
We have combined the watchdog and server into one process using multithreading programming. The main problem now is that our spiritd hasn't been tested on a production environment, so we cannot assert its reliability.
Future plans include full screen media to poster casts, picture customization and stuff like that.
Also, we will consider whether we need to fine-grain control whether the watchdog is running or not. This will all depend on our actual needs in the production environment.

After yesterday's development, the config validation issue should have been resolved. The problem with this PR is that the code wasn't tested in a production environment. Nevertheless, we are quite confident that it is of mergable quality.
This will close #6.


Wordpress Plugin

Hi, just an fyi for anyone looking to use this on their wordpress site.
https://wordpress.org/plugins/echo1-consulting-inital-js-avatar/

This look so good. Great work


Remove hardcoded timeout limits from moderation modules

Some modules have hardcoded limits for the timeout length. They are not consistent also, some of them start at 3 or 30 and max out at 300 or 3600.
Point commands also have some hardcoded limits on price.

Could you create new issues on a per module basis?
For example "change limits of raffle module from 3000 to 50000" or whatever - that let's people bite off each issue one at a time.
Thank you!

I think i'll just make pull requests for each module myself since it seems that I only need to edit 1 line.

This one's already done isn't it?

This one's already done isn't it?

yes


Send random preset questions to users

Frontend: https://github.com/coronasafe/ayushma_fe/pull/100

Hey @Ashesh3, did you make migrations after removing the size from the preset_questions field?

@Ashesh3 Also thanks for making this PR. I didn't see bodhi's review on my PR 😅

Hey @Ashesh3, did you make migrations after removing the size from the preset_questions field?

Nope, made them now. Thanks for the heads up 😅


ng update v10 fails with Invalid JSON character: "\" at 3:71.

🐞 Bug report
Command (mark with an x)

[x] new
[ ] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[x] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
ng update # to version 10.0.0
❯ Add "Solution Style" TypeScript configuration file support.
  This improves developer experience using editors powered by TypeScript’s language server.
  Read more about this here: https://v10.angular.io/guide/migration-solution-style-tsconfig
✖ Migration failed: Invalid JSON character: "\\" at 3:71.
  See "/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/ng-1w8vHv/angular-errors.log" for further details.

I updated a simple repository without problems, This is in a more complex repository
 Yes, the previous version in which this bug was not present was: ....
n/a
Description
 A clear and concise description of the problem...

trying to upgrade from cli version 9.1.7 to 10.0.0
fails when converting tsconfig.json
searched in repository for \ - but only found one in tslint.json - removing the option did not fix the issue
after that no *.json contained "\" or even "" (running on Mac)
after the issue, the repository needed to be rolled back

🔬 Minimal Reproduction

Was not able to replicate the issue outside this (private) repository.
🔥 Exception or Error

❯ Add "Solution Style" TypeScript configuration file support.
  This improves developer experience using editors powered by TypeScript’s language server.
  Read more about this here: https://v10.angular.io/guide/migration-solution-style-tsconfig
✖ Migration failed: Invalid JSON character: "\\" at 3:71.
  See "/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/ng-1w8vHv/angular-errors.log" for further details.

[error] Error: Invalid JSON character: "\\" at 3:71.
    at _readString (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/@angular-devkit/core/src/json/parser.js:306:19)
    at _readValue (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/@angular-devkit/core/src/json/parser.js:648:22)
    at _readProperty (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/@angular-devkit/core/src/json/parser.js:492:19)
    at _readObject (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/@angular-devkit/core/src/json/parser.js:525:30)
    at _readValue (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/@angular-devkit/core/src/json/parser.js:675:22)
    at Object.parseJsonAst (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/@angular-devkit/core/src/json/parser.js:722:17)
    at visitExtendedJsonFiles (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/@schematics/angular/migrations/update-10/solution-style-tsconfig.js:30:32)
    at visitExtendedJsonFiles.next ()
    at /private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/@schematics/angular/migrations/update-10/solution-style-tsconfig.js:56:45
    at MergeMapSubscriber.project (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/@angular-devkit/schematics/src/rules/call.js:75:24)
    at MergeMapSubscriber._tryNext (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/rxjs/internal/operators/mergeMap.js:69:27)
    at MergeMapSubscriber._next (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/rxjs/internal/operators/mergeMap.js:59:18)
    at MergeMapSubscriber.Subscriber.next (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/rxjs/internal/Subscriber.js:66:18)
    at Observable._subscribe (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/rxjs/internal/util/subscribeToArray.js:5:20)
    at Observable._trySubscribe (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/rxjs/internal/Observable.js:44:25)
    at Observable.subscribe (/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/angular-cli-packages-5CGffu/node_modules/rxjs/internal/Observable.js:30:22)

🌍 Your Environment
(before)

Your global Angular CLI version (10.0.0) is greater than your local
version (9.1.9). The local Angular CLI version is used.

Mac - latest versions

In the next patch version of the CLI, we’ll be emitting the path of the offending path. See: https://github.com/angular/angular-cli/issues/18038
Please reopen the issue, if the problem persists after the next patch release which sound happen in the coming days.
Thanks

after availability of 10.0.1
the error message was:
❯ Add "Solution Style" TypeScript configuration file support.
  This improves developer experience using editors powered by TypeScript’s language server.
  Read more about this here: https://v10.angular.io/guide/migration-solution-style-tsconfig
✖ Migration failed: Invalid JSON AST Object (release.json)
  See "/private/var/folders/1l/9rd7xh7j3pj6078gw3ptvq_h0000gn/T/ng-lSOtJT/angular-errors.log" for further details.

Good point is that it points to the offending file (release.json), which we generate/use for release notes.
After deleting the file, the migration worked fine.


Horizontal/Vertical flip aka Mirroring

Hi,
It will be fine to have a "flip" (vertical & horizontal) feature (Flipping is a mirroring feature).
Like this :
https://langfordmath.com/ECEMath/Geometry/ReflectTriangle.jpg
I know you have "arranging" but it is not enough.
Thx

Arrange->Direction?


Steps to reproduce:

Install the extension through the Firebase console
Create a document in the generate collection with the prompt variable set to a prompt
The result will have the status object with state = ERRORED and the following error value: "7 PERMISSION_DENIED: Generative Language API has not been used in project<PHONE_NUMBER>70 before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/generativelanguage.googleapis.com/overview?project=projectId then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."

Attempts to Solve

Going to the suggested link to enable the API. Result: The API fails to load (see screenshot)

Installing the API via the Firebase Node.js CLI using the command
firebase ext:install googlecloud/firestore-palm-gen-text --project=projectId
Results in the following error:

i  extensions: ensuring required API firebaseextensions.googleapis.com is enabled...
✔  extensions: required API firebaseextensions.googleapis.com is enabled

Error: Unable to find published extension 'googlecloud/firestore-palm-gen-text'. Run firebase ext:install -i to select from the list of all available published extensions.

Expected result
The extension uses the prompt value to generate text within the generate document.
Actual result
Error related to permission denied / no access to the API.

Hey @huangjeff5 Yep I did that yesterday. I've never experienced a rollout like this with Firebase Extensions (where the Extension is available but the API it hits isn't yet) so I wasn't expecting to run into this issue.

Gotcha, so just to double check, you received confirmation that you have been given access?

No, I haven't yet. FWIW we're also part of the Google for Startups program. If you can help out, our waitlist is under<EMAIL_ADDRESS>(I'll come back and redact this later). But I just wanted to let y'all know that this is happening because it was part of the big AI announcement yesterday, so I'm assuming lots of devs like me will be trying to use this these new PaLM extensions.

Gotcha, thanks for the callout, maybe we should update the top line of our docs. Could you check if you've been approved now?

Got it. Thanks @huangjeff5!


Remove repetitive vsphere reconciler tests

Issue #, if available:
Description of changes:
We now test these cases in vsphere/reconciler/reconciler_test.go.
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

What are the rest of the tests testing? The ones we are keeping in this file

We currently ignore self-managed clusters in the new controller, so we have one test for that.
We are also testing the reconcileDelete() logic in this file. This happens in cluster_controller.go, outside of provider-specific reconcilers

What are the rest of the tests testing? The ones we are keeping in this file

We currently ignore self-managed clusters in the new controller, so we have one test for that. We are also testing the reconcileDelete() logic in this file. This happens in cluster_controller.go, outside of provider-specific reconcilers

Sounds good! could we move to controllers_test package?

/test eks-anywhere-presubmit


A11y feature request: strong focus style to help keyboard users navigate

While the default focus ring isn't ideal (and can get lost on some backgrounds) the subtly of the current focus style can be difficult for keyboard users to spot when tabbing through.
Judging by the comments on this article [ https://www.paciellogroup.com/blog/2012/04/how-to-remove-css-outlines-in-an-accessible-manner/ ] it seems to be a complicated business getting it right for keyboard and mouse users.

@elrat thanks for the suggestion! I've added an outline for the focus state to make it more obvious.


Stop multicasting periodic by default

Plus minor cleanup. Close #251

In the process of doing this, I noticed that fromEvent for the DOM event case also is multicasted by default.  That was probably done to avoid registering multiple actual dom event handlers, but I doubt that matters in practice.  For consistency, having a strict default of not multicasting is probably better.

Also @most/dom-event is not multicast by default.


Reorder sheet (list and properties) columns

Sometimes, due to the context os the data, it makes sense to have some columns "near" others.
When creating a new column, it currently appears at the end of the sheet.
It would be desireable to be able to reorder the columns in sheets, lists and properties.
At the moment, the only way I can reorder the columns is by opening the file as a text file and editing it.

Great idea! I don't currently have a good solution in place for being able to right click a column, but I think once I figure out how I can do that I could provide a context menu that allows you to move them around.

+1 this. Even if you just have an option in the edit field screen where you can select from a drop-down to move the field before X field or to the end.

Or in the 'Edit Sheet' page a list where you can rearrange them.


There's something wrong with powerTip in Fencer.html.

The smartPlacement script  of powerTip in "Fencer.html" doesn't work correctly.
In "fencer.html",the placement of powertip is always  "s" (always below the skill box).

Thanks for reporting the bug!
I confirmed the bug and started to investigate the cause.
If you find a new problem or cause, I would be grateful if you could share it. 🙂


About the license for this model

Thank you for sharing your great code. :smiley_cat:
What is the license for this model? I'd like to cite it to the repository I'm working on if possible, but I want to post the license correctly.
https://github.com/PINTO0309/PINTO_model_zoo
Thank you.

I have created the MIT License of LFT repository, you can refer to LICENSE

I have created the MIT License of LFT repository, you can refer to LICENSE

Thank you!

Thank you!


Dropdown menu with all shortcuts

The icon support on the desktop is limited to 27 icons, as far as I can remember.
I was thinking, something like a dropdown menu from the top panel, with all the shortcuts - and the ones that the desktop could not display. From there it could be be easy and fast to start up a program, without looking for the icon

Good idea - I will examine possible solutions for this.
Until I find the time to implement something, you can turn of the display of link locations in the settings to make icon captions more compact, thus allowing for more icons on scren.
The desktop is not limited to 27 icons per se, but using the default layout and spacing of icons, that is what will fit visually on the screen without icons overlapping.


Cannot use more than one instances at a time

So when I now use the createDevice more than one at a time...
So what my app does is scan my network, get all ip and mac addresses of all devices, then does mac look ups to know what device is what, then confirms that by connecting to them. (I have many smart devices and building a central script to control them all)
The problem is is that I have 2 lifx lights (and will be getting more). So it calls one after the other (as it discovers the IP / Mac / Company) so therefore, crashes because there is already an instance confirming the first one.
The solution I have seen for this before is using a different output port for each connection. Not sure if that would work for this.
I can rejig my app to discover using the other way of discovering and only caring of the first lifx device for now (but will return an incomplete list this way), however, a flag to know if there is already an instance, or maybe use a random open out port will work?
Sorry for the long post.

I tried the createDevice() method for 2 LIFX bulbs as follows:
const Lifx = require('node-lifx-lan');

let dev1 = null;
let dev2 = null;

Lifx.createDevice({
  mac: 'D0:73:D5:25:36:B0',
  ip: '<IP_ADDRESS>'
}).then((dev) => {
  dev1 = dev;
  return Lifx.createDevice({
    mac: 'D0:73:D5:25:A7:28',
    ip: '<IP_ADDRESS>'
  });
}).then((dev) => {
  dev2 = dev;
  // Turn on the 1st bulb
  return dev1.turnOn({
    color: { css: 'red' }
  });
}).then(() => {
  // Turn on the 2nd bulb
  return dev2.turnOn({
    color: { css: 'yellow' }
  });
}).then(() => {
  console.log('Done!');
}).catch((error) => {
  console.error(error);
});

The code above works well. Is the code showing what you want to do?

I am using feathersJS, so they aren't in the same chain. That is the problem. I found a workaround that was easy enough without sacrificing anything major.
For chaining it works great.
Feel free to close this if you don't intend on adding something for multi-threads.

Thank you for letting me know your situation. That's good.


tag counting fails

tag counting fails. just one member with tag, but says 5. two members, says six.

I could reproduce the problem with a local backup of staging.100ey.es. Unforunately I'm not able to find the actual cause of the problem. I assume we're running into a bug of the gem itself: https://github.com/forem/forem/issues/6586
Other people had the idea to re-calculate the counts manually, but the suggested code changes ..nothing. The counts are still incorrect: https://github.com/mbleigh/acts-as-taggable-on/issues/949

@roschaefer As far as I can see, the taggings_counts are correct. However, they do not only include Contributors, but also Requests with a certain tag.
For example, if you run the following query on the staging database …
select * from taggings where tag_id = 11;

… you get the following result.
 id  | tag_id | taggable_type | taggable_id | tagger_type | tagger_id | context |         created_at
-----+--------+---------------+-------------+-------------+-----------+---------+----------------------------
  28 |     11 | Contributor   |           6 |             |           | tags    | 2021-01-07 13:59:22.628989
  29 |     11 | Request       |           6 |             |           | tags    | 2021-01-07 13:59:54.237366
  46 |     11 | Request       |          18 |             |           | tags    | 2021-03-01 12:33:54.026946
  57 |     11 | Request       |          24 |             |           | tags    | 2021-03-23 22:08:57.333441
  58 |     11 | Request       |          25 |             |           | tags    | 2021-03-23 22:10:27.269779
  60 |     11 | Request       |          26 |             |           | tags    | 2021-03-23 22:41:02.416333
  61 |     11 | Request       |          27 |             |           | tags    | 2021-03-23 22:45:53.208447
  62 |     11 | Request       |          28 |             |           | tags    | 2021-03-23 22:51:32.192318
  65 |     11 | Request       |          30 |             |           | tags    | 2021-05-09 08:32:59.190836
  84 |     11 | Request       |          39 |             |           | tags    | 2021-08-23 18:59:52.77142
  90 |     11 | Request       |          42 |             |           | tags    | 2021-08-26 23:40:49.821262
  91 |     11 | Request       |          43 |             |           | tags    | 2021-08-26 23:41:58.004085
  96 |     11 | Request       |          47 |             |           | tags    | 2021-09-06 16:35:27.09382
 100 |     11 | Request       |          48 |             |           | tags    | 2021-09-06 16:36:58.970456
 109 |     11 | Request       |          52 |             |           | tags    | 2021-09-07 11:53:02.585565
 113 |     11 | Request       |          53 |             |           | tags    | 2021-09-07 12:26:29.475607
 120 |     11 | Contributor   |          22 |             |           | tags    | 2021-09-18 09:18:48.059825
(17 rows)

I also checked if the precalculated taggings_count value on the tags table is correct:
select tag_id, count, taggings_count
  from (select tag_id, count(*) from taggings group by tag_id) as taggings_counts
  join tags on taggings_counts.tag_id = tags.id

As you can see, the value of the taggings_count table equals the value of the dynamically calculated count column:
 tag_id | count | taggings_count
--------+-------+----------------
     14 |     2 |              2
     17 |     3 |              3
      5 |     1 |              1
     19 |     3 |              3
     22 |     1 |              1
      8 |     3 |              3
      9 |     3 |              3
      7 |     8 |              8
     13 |     1 |              1
      6 |    11 |             11
     10 |     3 |              3
     29 |     4 |              4
     30 |     3 |              3
     15 |     1 |              1
     21 |     2 |              2
     16 |     1 |              1
      4 |     2 |              2
     23 |     1 |              1
     26 |     4 |              4
     24 |     1 |              1
     25 |     1 |              1
     28 |     6 |              6
     11 |    17 |             17
     18 |    14 |             14
     27 |     4 |              4
(25 rows)


Update intro.ipynb to use 2.5 syntax

dspy.OpenAI -> dspy.LM

Hi @rsyi ,
Currently, the intro.ipynb notebook has cached runs with the pre-dspy.2.5 LM configuration for gpt-3.5-turbo, and modifying that will break the notebook's caches. We may have plans to update the cache in future versions to support the v2.5 dspy.LM configuration (but will defer to @okhat on this), but I believe we can close this PR for now.


8272 added the username and icon url in the add and edit pages of outgoing webhook.

Summary
Adds the username and profile picture url options in the outgoing webhook.
Has some test's snapshots updated

Ticket Link
https://github.com/mattermost/mattermost-server/issues/8272
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] Ran make check-style to check for style errors (required for all pull requests)
[x] Ran make test to ensure unit and component tests passed
[x] Added or updated unit tests (required for all new features)
[x] Has server changes (please link)
[x] Has redux changes (please link)
[x] Has UI changes
[x] Includes text changes and localization file (.../i18n/en.json) updates
[x] Touches critical sections of the codebase (auth, posting, etc.)

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

Spinmint test server created at: http://i-0e566c7fd2bac4e6b.test.spinmint.com
Test Admin Account: Username: sysadmin | Password: sysadmin
Test User Account: Username: user-1 | Password: user-1
Instance ID: i-0e566c7fd2bac4e6b

Thanks for your work on this @pradeepmurugesan!  The UI looks great - Working on getting our test environment set up so I can verify it works as expected.

@pradeepmurugesan I tried to setup an outgoing webhook from the test server above (http://i-0e566c7fd2bac4e6b.test.spinmint.com).  Setting up is all good.  However, after inspecting the payload being received by the external server, I'm not getting the overridden username and icon_url.  The username I'm getting is the user_name who initiated the post (with trigger).  No icon_url in the payload.
Could you please try the test server and see if it works for you?  Thanks!

@saturninoabril the response sent by the external server is not overridden. If that payload doesn't contain username or icon_url , then we will override it when creating the post*.
*If you have configured the the username and icon_url while setting up and enabled the override option in system console.

Thanks @lieut-data.
I thought both the outgoing webhook and its response are overriden (as the title implied by the server PR https://github.com/mattermost/mattermost-server/pull/9141).

Ah, yes, that title was a bit misleading. I suspect there's not a lot of use sending the default icon/username to the outgoing webhook as such -- and I don't think slash commands work that way -- so I suspect the ticket was just a bit ambiguous. @wiersgallak, can you confirm the intent?

@pradeepmurugesan I'm a bit confused with the server code:
if a.Config().ServiceSettings.EnablePostUsernameOverride && hook.Username != "" && webhookResp.Username == "" {
    webhookResp.Username = hook.Username
}

I guess eve if EnablePostUsernameOverride is true and hook.Username is set, we'll only override the username if the response from external server don't have the username set.  Which make me think that we cannot totally override the username even if we set it up in our Mattermost server.
I may be totally wrong.  Could you please clarify if that's correct?

From review of the Jira ticket:
When set, this integration should use the given username and icon for posting, unless:

The config settings "EnablePostUsernameOverride" and "EnablePostIconOverride" are changed to false
The webhook payload specifies a different username or icon

Cool, looks good to me.
@wiersgallak I tested this out using my simple server setup, and it works as expected.

This is awesome, thanks @pradeepmurugesan!

Great!  As long as it works as expected it is good from my side as well.  Thanks @pradeepmurugesan and team for reviewing!

Spinmint test server destroyed

Oh sorry for not merging this as soon as possible.


Icon request: Sentry

URL of the site: https://sentry.io/
Logo resources for the icon: https://sentry.io/branding/

Would be nice to have both light and dark versions

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/SVG/Sentry.svg

Would be nice to have both light and dark versions

Sorry, we don't do variations by request.
❓ How to add icon(s) to Aegis?


migrate to cloud flare

Deploys to fluvio.io, www.fluvio.io or fluvio-website-preview.pages.dev on push to master.
We should be able to stop using the stable branch because each PR is supposed to get their own preview links, which will be nice.


Be kind and warn users if they are running gradle on higher or lower versions of java than it is known to

I was playing around with jbang.dev and Java 14 for a few hours and everything was fine and dandy.
Then wanted to do a fix in jbang and what been working great before was now failing with:
Could not initialize class org.codehaus.groovy.runtime.InvokerHelper

I've also seen other funky errors with mile long stacktraces when on Java 15.
But this night at 2 am I then spent another hour trying to figure out why things failed.
Turns out it was due to me moving to Java 14 (yes, I should get more recent gradle) but similar issue occurred with Java 15.
Suggesting is to early on print a "Warning: You are running with Java 15, it might work - but Gradle only been tested and verified with Java 8 to 14." or something similar.
I hope its feasible to do as very first thing in the java main before any groovy etc. gets activated.

Something to introduce in https://github.com/gradle/gradle/blob/master/subprojects/bootstrap/src/main/java/org/gradle/launcher/GradleMain.java#L26, probably.
We should be careful, though, because there are many reasons why Gradle could fail starting. In the past we even had the problem that the versioning scheme of Java changed, so our parser failed. Which means that we wouldn't be able to tell you "you are using Java 2021.4". So probably need to add a safety net in case we can't even parse the version number.

i believe java's versioning scheme is now standardized thus it should be less likely to happen but for sure add guards :)

reverting title update as i realize gradle already errors if running on <1.8, suggestion is now to add  warning when java version is higher than tested - maybe check something similar to  @incubating from https://github.com/gradle/gradle/blob/master/subprojects/base-services/src/main/java/org/gradle/api/JavaVersion.java#L69-L85

Note that it's not just Oracle JDK versions: we had some "interesting" cases with Zulu, IBM and Graal versions...

i'm sure there are edge cases - but gradle already refuses to start on <1.8 and prints a error then exits, thus printing a warning if version > (version actually tested against) should not hurt - only be helpful.


Usage of pickle5 instead of the standard pickle module

I'm having trouble using mle-hyperopt with python 3.11, as i cannot install pickle5, which is a requirement (see error below).
pickle5 backports the protocol introduced in PEP 574 to python versions 3.7 and below, so its not needed for newer versions. Maybe the support for it could be dropped?
$ python --version
Python 3.11.3
$ pip install pickle5
Collecting pickle5
  Using cached pickle5-0.0.11.tar.gz (132 kB)
  Preparing metadata (setup.py) ... done
Building wheels for collected packages: pickle5
  Building wheel for pickle5 (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [96 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-311
      creating build/lib.linux-x86_64-cpython-311/pickle5
      copying pickle5/pickletools.py -> build/lib.linux-x86_64-cpython-311/pickle5
      copying pickle5/pickle.py -> build/lib.linux-x86_64-cpython-311/pickle5
      copying pickle5/__init__.py -> build/lib.linux-x86_64-cpython-311/pickle5
      creating build/lib.linux-x86_64-cpython-311/pickle5/test
      copying pickle5/test/test_pickle.py -> build/lib.linux-x86_64-cpython-311/pickle5/test
      copying pickle5/test/__init__.py -> build/lib.linux-x86_64-cpython-311/pickle5/test
      copying pickle5/test/test_picklebuffer.py -> build/lib.linux-x86_64-cpython-311/pickle5/test
      copying pickle5/test/pickletester.py -> build/lib.linux-x86_64-cpython-311/pickle5/test
      running build_ext
      building 'pickle5._pickle' extension
      creating build/temp.linux-x86_64-cpython-311
      creating build/temp.linux-x86_64-cpython-311/pickle5
      gcc -pthread -B /home/.../compiler_compat -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /home/.../include -fPIC -O2 -isystem /home/.../include -fPIC -I/home/.../include/python3.11 -c pickle5/_pickle.c -o build/temp.linux-x86_64-cpython-311/pickle5/_pickle.o -std=c99
      pickle5/_pickle.c: In function ‘Pdata_New’:
      pickle5/_pickle.c:464:19: error: lvalue required as left operand of assignment
        464 |     Py_SIZE(self) = 0;
            |                   ^
      pickle5/_pickle.c: In function ‘Pdata_clear’:
      pickle5/_pickle.c:491:19: error: lvalue required as left operand of assignment
        491 |     Py_SIZE(self) = clearto;
            |                   ^
      pickle5/_pickle.c: In function ‘Pdata_pop’:
      pickle5/_pickle.c:542:23: error: lvalue required as decrement operand
        542 |     return self->data[--Py_SIZE(self)];
            |                       ^~
      pickle5/_pickle.c: In function ‘Pdata_push’:
      pickle5/_pickle.c:552:29: error: lvalue required as increment operand
        552 |     self->data[Py_SIZE(self)++] = obj;
            |                             ^~
      pickle5/_pickle.c: In function ‘Pdata_poptuple’:
      pickle5/_pickle.c:582:19: error: lvalue required as left operand of assignment
        582 |     Py_SIZE(self) = start;
            |                   ^
      pickle5/_pickle.c: In function ‘Pdata_poplist’:
      pickle5/_pickle.c:599:19: error: lvalue required as left operand of assignment
        599 |     Py_SIZE(self) = start;
            |                   ^
      pickle5/_pickle.c: In function ‘_Unpickler_ReadFromFile’:
      pickle5/_pickle.c:1285:16: warning: implicit declaration of function ‘_PyObject_CallNoArg’; did you mean ‘PyObject_CallNoArgs’? [-Wimplicit-function-declaration]
       1285 |         data = _PyObject_CallNoArg(self->readline);
            |                ^~~~~~~~~~~~~~~~~~~
            |                PyObject_CallNoArgs
      pickle5/_pickle.c:1285:14: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
       1285 |         data = _PyObject_CallNoArg(self->readline);
            |              ^
      pickle5/_pickle.c: In function ‘whichmodule’:
      pickle5/_pickle.c:1937:15: warning: implicit declaration of function ‘_PySys_GetObjectId’; did you mean ‘PySys_GetObject’? [-Wimplicit-function-declaration]
       1937 |     modules = _PySys_GetObjectId(&PyId_modules);
            |               ^~~~~~~~~~~~~~~~~~
            |               PySys_GetObject
      pickle5/_pickle.c:1937:13: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
       1937 |     modules = _PySys_GetObjectId(&PyId_modules);
            |             ^
      pickle5/_pickle.c: In function ‘save_float’:
      pickle5/_pickle.c:2255:13: warning: implicit declaration of function ‘_PyFloat_Pack8’; did you mean ‘PyFloat_Pack8’? [-Wimplicit-function-declaration]
       2255 |         if (_PyFloat_Pack8(x, (unsigned char *)&pdata[1], 0) < 0)
            |             ^~~~~~~~~~~~~~
            |             PyFloat_Pack8
      pickle5/_pickle.c: In function ‘save’:
      pickle5/_pickle.c:4452:30: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
       4452 |                 reduce_value = _PyObject_CallNoArg(reduce_func);
            |                              ^
      pickle5/_pickle.c: In function ‘load_binfloat’:
      pickle5/_pickle.c:5428:9: warning: implicit declaration of function ‘_PyFloat_Unpack8’; did you mean ‘PyFloat_Unpack8’? [-Wimplicit-function-declaration]
       5428 |     x = _PyFloat_Unpack8((unsigned char *)s, 0);
            |         ^~~~~~~~~~~~~~~~
            |         PyFloat_Unpack8
      pickle5/_pickle.c: In function ‘load_pop’:
      pickle5/_pickle.c:6178:30: error: lvalue required as left operand of assignment
       6178 |         Py_SIZE(self->stack) = len;
            |                              ^
      pickle5/_pickle.c: In function ‘do_append’:
      pickle5/_pickle.c:6535:42: error: lvalue required as left operand of assignment
       6535 |                     Py_SIZE(self->stack) = x;
            |                                          ^
      pickle5/_pickle.c:6541:34: error: lvalue required as left operand of assignment
       6541 |             Py_SIZE(self->stack) = x;
            |                                  ^
      pickle5/_pickle.c: In function ‘load_additems’:
      pickle5/_pickle.c:6663:38: error: lvalue required as left operand of assignment
       6663 |                 Py_SIZE(self->stack) = mark;
            |                                      ^
      pickle5/_pickle.c:6668:30: error: lvalue required as left operand of assignment
       6668 |         Py_SIZE(self->stack) = mark;
            |                              ^
      pickle5/_pickle.c: In function ‘Pdata_pop’:
      pickle5/_pickle.c:543:1: warning: control reaches end of non-void function [-Wreturn-type]
        543 | }
            | ^
      error: command '/usr/bin/gcc' failed with exit code 1
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pickle5
  Running setup.py clean for pickle5
Failed to build pickle5
Installing collected packages: pickle5
  Running setup.py install for pickle5 ... error

Just fixed the install requirement to only apply if python < 3.8 in c77205e. Thank you for raising this @keraJLi.


DECISIONS. Help. Before Theraptrix takes over the world.

I'm using the following code for parsing but I get 6 extra characters in my 'control' sample than in my 'theraptrix' sample. So while I'm able to get the error rate for the theraptrix sample (by comparing to the reference), I'm not able to compare the control sample to the reference correctly. Any idea why this might happen? The output file I generate (commented) shows an extra >c1 at the start of the parsed control sample.
with open("control.fa") as infile, open("output_ctrl.txt", 'w') as outfile:
for line in infile:
if line.startswith(">"): continue
#outfile.write(line.strip())
ctrl += line.strip()

All three of the fasta files are formatted the same, so if you can parse one you should be able to parse them all. Can you post your full script as a file attachment?

Sorry it's taken me so long to reply. Been swamped with work.
I'm replying to the email. Hope this works.
I tried a couple of different things but couldn't get it to work.
Everything is in the attached .py file.
On Fri, Jun 1, 2018 at 11:22 AM, Jessime Kirk<EMAIL_ADDRESS>wrote:

All three of the fasta files are formatted the same, so if you can parse
one you should be able to parse them all. Can you post your full script as
a file attachment?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sksuzuki/How-to-Learn-to-Code-2018/issues/19#issuecomment-393914421,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ac9DROk9eI60tTABAmy5_YluvE7BbQjSks5t4Vw3gaJpZM4UWEN5
.

`
`

I don't know how to attach this file. When I try, I get a message that it can't attach the file type. What file type should I be looking to attach?


Tooltips as popups

The tooltip information (start and end time...) should just be visible if the user clicks on an edge connecting two factories.

I made the lines a bit ticker, now it must be easier to hover on them and see the popup.

It looks good in my opinion. This is resolved, unless Niklas objects.


KeyError('isAdContainer') when downloading by tag

Prerequisites

[x] Did you read FAQ section in readme.md?
[x] Did you test with the latest releases or commit ?
[x] Did you search for existing issues in Issues?

Description
Always get KeyError('isAdContainer') when trying to download by tag.
I had tried some tags and all of them have this problem.
Steps to Reproduce

3(download by tags)
use Partial Match
search type a-all
get the Error

Expected behavior: [What you expected to happen]
Start download
Actual behavior: [What actually happened]
Got an Error and stopped.
Versions
v20201130
logs:
2020-12-07 11:20:37,299 - PixivUtil20201130 - INFO - Premium User: False.
2020-12-07 11:20:37,299 - PixivUtil20201130 - INFO - Locale =
2020-12-07 11:20:38,305 - PixivUtil20201130 - INFO - Tags mode (3).
2020-12-07 11:20:51,635 - PixivUtil20201130 - INFO - Searching for: (Hypnosis) Hypnosis
2020-12-07 11:20:51,638 - PixivUtil20201130 - INFO - Looping... for https://www.pixiv.net/ajax/search/artworks/Hypnosis?word=Hypnosis&s_mode=s_tag&type=all&order=date_d
2020-12-07 11:20:52,005 - PixivUtil20201130 - DEBUG - Sanitized Filename: Dump for SearchTags Hypnosis.html
2020-12-07 11:20:52,067 - PixivUtil20201130 - ERROR - Error at process_tags() at page 1: (<class 'KeyError'>, KeyError('isAdContainer'), <traceback object at 0x03CA4248>)
2020-12-07 11:20:52,068 - PixivUtil20201130 - ERROR - Traceback (most recent call last):
  File "PixivTagsHandler.pyc", line 70, in process_tags
  File "PixivBrowserFactory.pyc", line 796, in getSearchTagPage
  File "PixivTags.pyc", line 56, in parseTags
KeyError: 'isAdContainer'

2020-12-07 11:20:52,070 - PixivUtil20201130 - ERROR - Unknown Error: (<class 'KeyError'>, KeyError('isAdContainer'), <traceback object at 0x03CA42E8>)
2020-12-07 11:20:52,071 - PixivUtil20201130 - ERROR - Traceback (most recent call last):
  File "PixivUtil2.py", line 1325, in main
  File "PixivUtil2.py", line 1026, in main_loop
  File "PixivUtil2.py", line 374, in menu_download_by_tags
  File "PixivTagsHandler.pyc", line 70, in process_tags
  File "PixivBrowserFactory.pyc", line 796, in getSearchTagPage
  File "PixivTags.pyc", line 56, in parseTags
KeyError: 'isAdContainer'

I had this issue a few days ago, and it went away 6 hours later. Now I'm having it again.

Confirmed, I had the same error trying to download by tags

Same; I'm using batch job option 3, which I believe is the download by tags equivalent.

can you upload the json file from https://www.pixiv.net/ajax/search/artworks/Hypnosis?word=Hypnosis&s_mode=s_tag&type=all&order=date_d ?

I can't drag json file here directly so I package it as zip file.
Hypnosis.zip

try https://github.com/Nandaka/PixivUtil2/releases/tag/v20201207-beta1

Works fine at v20201207-beta1
Thank you.


MB-14313 rename to clarify observed date

Jira ticket for this change
Summary
This work was prompted by a bug fix for downloading evaluation reports. I updated the value of observed delivery date to be specific for the type of date we're recording so that we can differentiate between the two on the initial page, as well as observed dates that are recorded under violation KPI data.
Setup to Run Your Code

[ ]  pull down the branch, re-run migrations and re-generate test data, startup client
make server_run
make db_dev_fresh
make db_dev_e2e_populate
make office_client_run

Additional steps

Login as a QAE user
Navigate to the reports page of any move and create a new shipment report or else use an existing one (EVLRPT). Note that it must be a shipment report type for you to be able to see the date options
Select Evaluation Type: physical and entire an evaluation time in the dropdown
Select Evaluation Location: Destination

[ ] Observed Delivery Date field displays and is optional

Fill out Observed Delivery Date and the rest of the form (violations: no)
Select review and submit

[ ] Observed Delivery Date shows on the preview form

Save the form, and click View Report from the main evaluation reports page

[ ] Observed Delivery Date shows on the form view

Download the submitted form

[ ] Download completes successfully and Observed Delivery Date shows on the download

Do the same as above except on step 4 select Evaluation Location: Origin, and fill out and verify Observed pickup date instead of Delivery Date
Finally test this out without another type of report or one without a physical evaluation location and everything should continue to work.

Frontend

[ ] User facing changes have been reviewed by design.
[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output

Backend

[ ] Code follows the guidelines for Logging
[ ] The requirements listed in Querying the Database Safely have been satisfied.

Database
Any new migrations/schema changes:

[ ] Follows our guidelines for Zero-Downtime Deploys
[ ] Have been communicated to #g-database

Messages

:book:
:link: MB-14313

  Generated by :no_entry_sign: dangerJS against d3e0a28c3408f04bb415457a780335a0db5688a3


Paste shortcut not working in "Create link" popup

To reproduce:

Copy a URL into clipboard
Select an element in your drawing and press Cmd+K
Press Cmd+V to paste clipboard contents. Nothing happens.
Right click and choose "Paste" and it works.

On macOS, VS Code 1.73.1, Excalidraw plugin 3.3.3

Thanks for creating the issue, I'll take a look. It's reminiscent of https://github.com/excalidraw/excalidraw-vscode/issues/41


[Doc] Update documentation for using Ratify on AWS

What would you like to be added?
The Ratify on AWS documentation page should be updated to give instructions on using Ratify with notation and also reference existing documentation for IAM Roles for Service Accounts (IRSA).
Anything else you would like to add?
I would also like to add a new sample policy (under library) that matches the notation verification behavior of "at least one signature passed verification".
Are you willing to submit PRs to contribute to this feature?

[X] Yes, I am willing to implement it.

@byronchien Thank you. Will you submit a PR to update this doc? https://github.com/deislabs/ratify/blob/main/docs/examples/ratify-on-aws.md


Lazy Loading is not working

Lazy loading is not working.
I made a codesandbox to show on https://codesandbox.io/s/react-dfp-lazy-loading-pmk2q.

@marcosvlehmkuhl v0.17.3 has been published to the npm registry.
thank you!


revert "align lensPath with lensIndex by supporting negative indeces'

This PR removes support of negative indices in functions: lensIndex, prop, path, paths, pathEq, pathOr, propEq, propIs, propOr.
The first PR in which this logic was added: https://github.com/ramda/ramda/pull/2670
API inconsistency that was reported as an bug: https://github.com/ramda/ramda/issues/2974
An example that shows why this logic is not compatible with the rest of the functions in Ramda (and JS itself):
const ar = ['a', 'b']
const idxOfC = findIndex(equals('c'))(ar)
console.log( prop(idxOfC, ar) ) // => 'b'

Ave Ramda
Interest: @2beaucoup @CrossEye @Bradcomp @Andrey-Bazhanov

I'm wondering about slice too.  While I'd hate to lose that -- I use the vanilla equivalent all the time -- it might be time to simply gain this consistency across the board.  There may be others too; I'll try to look this evening.

@CrossEye I don't understand. R.slice is basically the same as Array.slice...
var slice = _curry3(_checkForMethod('slice', function slice(fromIndex, toIndex, list) {
  return Array.prototype.slice.call(list, fromIndex, toIndex);
}));

So in this case, removing the negative indices handler will be additional logic...
Another question: Is there a plan/calendar for release Ramda 1.0?

@ku8ar:

So in this case, removing the negative indices handler will be additional logic...

Yes it would.  But it might be nice to be able to answer the question, "Which Ramda functions allow for negative indices?" with "None of them."

Another question: Is there a plan/calendar for release Ramda 1.0?

It's always, some day.  But we never seem to get to it.  If you are interested in chipping in to make that happen, please let us know.