macro for manual batch refresh

Adds macro for manual refreshing a batch of blocks.

need a profile named manual_fix
pass variables to the macro via the command line

dbt run -s tag:s3_manual --vars '{"range_start": 82700000, "range_end": 82750000, "front_buffer": 1, "end_buffer": 1}' -t manual_fix_dev

front_buffer and end_buffer default to 1 and it is unlikely this will need to be any different

important: in production, add the s3_curated tag to refresh the transactions in those downstream models, as well.

For testing - add a profile config, refresh the range from 82,750,000 to 82,800,000 and can check that these errors disappear
select
    _partition_by_block_number,
    count(1)
from near_dev.silver.streamline_receipts_final
where tx_hash is null
and _partition_by_block_number between 82750000 and 82800000
group by 1
order by 1;

select
    _partition_by_block_number,
    count(1)
from near_dev.silver.streamline_transactions_final
where tx_status is null and _partition_by_block_number between 82750000 and 82800000
group by 1
order by 1;


Version 2021.6.0 breaks graphql preview

Is there an existing issue for this?

[X] I have searched the issue tracker for a bug that matches the one I want to file, without success.

Insomnia Version
2021.6.0
What operating system are you using?
macOS
Operating System Version
macOS Big Sur 11.6
Installation method
download
Last Known Working Insomnia version
2021.5.x
Expected Behavior
The "Preview" should show a pretty printed view of the JSON response when Accept-Encoding is set to gzip
Actual Behavior
The "Preview" shows the same as the "Source" view
Reproduction Steps
Execute a graphql query with a Header of Accept-Encoding gzip.
With the response view set to "Preview" it should show a pretty printed response, but it shows the "source" view
If you uncheck the Accept-Encoding gzip Header, the preview works correctly
Unchecking the Accept-Encoding gzip Header causes the Schema refresh to fail for large schemas.
With this issue I have to keep toggling the Header to get the behavior I need.
Additional Information
No response

I can reproduce
const compression = require('compression');
const express = require('express');
const app = express();
app.use(compression());
app.get('/', (_, res) => {
  res.send(JSON.stringify({ test: true }));
});
app.listen(3000, () => {
  console.log('listening on port 3k');
});

2021.5.3
2021.6.0

upon further investigation, this is solved by https://github.com/Kong/insomnia/pull/4171 to the best of my knowledge.
GraphQL and gzip is incidental to the situation, in the end, the cause is the same.  Still, I'd like to have more testing in this area in the future, but that PR does introduce testing that would have prevented the bug in this issue from occurring, so at least it's a start.

@dimitropoulos one difference is that the GraphQL server is going to send back an application/gzip response even though the compressed data is always JSON.
If I could specify that the schema is fetched with application/gzip as an Accept-Encoding but use Accept application/json in the request, then this would as well.


Connector not detected in confluent Docker image

Kafka Connect Version: 5.5.2
Docker Image: confluentinc/cp-kafka-connect:5.5.2
Aiven Connector Version: 0.6.1

Although the connector plugin is loaded, according to the logs, it doesn't come up in the list of available plugins at [api]/connector-plugins.
To verify that the configuration works, I've added a second plugin (debezium) which is loaded correctly and it shows up in the list of available connectors.
Logs excerpt:
[2020-12-22 13:23:05,015] INFO Scanning for plugin classes. This might take a moment ... (org.apache.kafka.connect.cli.ConnectDistributed)
[2020-12-22 13:23:05,042] INFO Loading plugin from: /connectors/aiven-kafka-connect-gcs-0.6.1 (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,128] INFO Registered loader: PluginClassLoader{pluginLocation=file:/connectors/aiven-kafka-connect-gcs-0.6.1/} (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,128] INFO Added plugin 'org.apache.kafka.connect.connector.policy.AllConnectorClientConfigOverridePolicy' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,128] INFO Added plugin 'org.apache.kafka.connect.connector.policy.PrincipalConnectorClientConfigOverridePolicy' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,128] INFO Added plugin 'org.apache.kafka.connect.connector.policy.NoneConnectorClientConfigOverridePolicy' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,129] INFO Loading plugin from: /connectors/debezium-connector-postgres (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,371] INFO Registered loader: PluginClassLoader{pluginLocation=file:/connectors/debezium-connector-postgres/} (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,371] INFO Added plugin 'io.debezium.connector.postgresql.PostgresConnector' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,371] INFO Added plugin 'io.debezium.converters.ByteBufferConverter' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,371] INFO Added plugin 'io.debezium.converters.CloudEventsConverter' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,371] INFO Added plugin 'io.debezium.transforms.ExtractNewRecordState' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,371] INFO Added plugin 'io.debezium.transforms.outbox.EventRouter' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:06,371] INFO Added plugin 'io.debezium.transforms.ByLogicalTableRouter' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:10,969] INFO Registered loader: sun.misc.Launcher$AppClassLoader@18b4aac2 (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)
[2020-12-22 13:23:10,970] INFO Added plugin 'org.apache.kafka.connect.tools.MockConnector' (org.apache.kafka.connect.runtime.isolation.DelegatingClassLoader)

I suspect the issue lies in the Java version, as the Confluent docker image uses:
openjdk version "1.8.0_222"
OpenJDK Runtime Environment (Zulu <IP_ADDRESS>-CA-linux64) (build 1.8.0_222-b10)
OpenJDK 64-Bit Server VM (Zulu <IP_ADDRESS>-CA-linux64) (build 25.222-b10, mixed mode)

~The connector works in standalone mode though, within the same image.~
EDIT: The connector we tried in standalone mode was 0.4.0, which also shows up in the connectors list. The Java 11 version seems to be the issue.

Hi,
Sorry for the late reply. Indeed, the connector targets Java 11.
I'm closing the issue, please feel free to re-open if we can provide more information.


The app crashes importing with cocoapods and "use_frameworks!"

Podfile example
platform :ios, '7.0'
use_frameworks!
pod 'LumberjackConsole', :configurations => ['Debug']

Crash report
*** Terminating app due to uncaught exception 'NSInvalidArgumentException',
 reason: 'Could not find a storyboard named 'LumberjackConsole' in bundle NSBundle ...

Its happening to me Could not find a storyboard named 'LumberjackConsole' in bundle NSBundle

This happens because the podspec still points to the version 2.4.3.
@rivera-ernesto can you please push a new version?
In the mean time you can use
pod 'LumberjackConsole', :git => 'git@github.com:serluca/LumberjackConsole.git' (tested)
or
pod 'LumberjackConsole', :git => 'git@github.com:PTEz/LumberjackConsole.git', :branch => 'master' (didn't test) to fix this problem

Sure, I will take a look as soon as I can. Thanks for the suggested fixes too.

Hi Eneresto,
How are you?  I'm learning to be patient these days.
Is there something I can help with?
JP

I haven't used use_frameworks! with there libraries yet.
It would help to add that to the demo app's Podfile and try to fix the errors.

It pains me to say this - but I'm afraid without the use_frameworks! compatibility - I can't recommend the team use this codebase. Found this (crude) alternative - https://github.com/burczyk/UIForLumberjack

Fixed since 3.0.0.

thank you.


Fix path of script element of package.json

You can omit the ./node_modules/.bin/ in package.json.
Fixed the path of index.coffee.

Thanks, but I would rather leave this as is. Not everyone installs these tools globally, and this project may require a different version of e.g. Mocha than other projects installed on your laptop.

@kevinburkeshyp
You seem to be misunderstanding.
In package.json, since PATH is passed to ./node_modules/.bin/, mocha installed in ./node_modules/ will be used.
% cat package.json
{
  "devDependencies": {
    "mocha": "^4.0.1"
  },
  "scripts": {
      "which-mocha": "which mocha"
  }
}

% npm run which-mocha

> @ which-mocha /home/vagrant/work/1205
> which mocha

/home/vagrant/work/1205/node_modules/.bin/mocha


Simple example of using StateMonad.

I was learning how to use ExtLib Monads and adopted this trivial example from Haskell tutorial.
It might useful to other users learning how to use ExtLib.

Thanks, this is great.
Just a note, you can decide if you want to update the example or not. In the past, we have found directly using monads can be a bit difficult to debug when you make small mistakes because type class inference can be pretty bad when things go wrong. A way to solve this problem is to parameterize the function by the monad and then apply it. Something like:
Section with_monad.
  Variable m : Type -> Type.
  Context {Monad_m : Monad m} {MonadState_m : MonadState nat m}.

  Definition get_times_2' : m nat :=
     x <- get ;; ret (2 * x).
End with_monad.
Definition get_times_2 := get_times_2 := @get_times_2' (state nate) _ _.

In addition to getting more sensible error messages, another benefit is that when you use monad transformers you can leave the order of the transformers unspecified until later (and possibly even use the same function with monads composed in different orders). This is similar to the way the Haskell MTL library works.

Thanks for the suggestion. Let me rework the example tomorrow.

I tried to rework my example to use your approach, but could not make it work. I will appreciate if you can show me how to do this based on the example. I want to learn this technique.

I'm not certain how to edit your file, but it is almost there. The main thing is that when you are in the section, you can not run the computation (because the monad is opaque). So you end up with something like this:
Section StateGame.

  Import MonadNotation.
  Local Open Scope Z_scope.
  Local Open Scope char_scope.
  Local Open Scope monad_scope.

  Definition GameValue : Type := Z.
  Definition GameState : Type := (prod bool Z).

  Variable m : Type -> Type.
  Context {Monad_m: Monad m}.
  Context {State_m: MonadState GameState m}.

  Fixpoint playGame (s: string) {struct s}: m GameValue :=
    match s with
    |  EmptyString =>
       v <- get ;;
         let '(on, score) := v in ret score
    |  String x xs =>
       v <- get ;;
         let '(on, score) := v in
         match x, on with
         | "a", true =>  put (on, score + 1)
         | "b", true => put (on, score - 1)
         | "c", _ =>   put (negb on, score)
         |  _, _  =>    put (on, score)
         end ;; playGame xs
    end.

  Definition startState: GameState := (false, 0).

End StateGame.

Definition main : GameValue :=
  (@evalState GameState GameValue (playGame (state GameState) "abcaaacbbcabbab") startState).

Compute main.

Thanks! I've updated the example in the pull request.
I must admit I am still not crystal clear on details on how exactly 'm', 'Monad_m', 'State_m' and 'state' interact. Perhaps this example could be a good starting point for #5 ...


Makefile: also consider -O, -Og and -Os when stripping flags

gcc also supports -O, -Og and -Os as optimization flags.
They may be given on the make command-line by users.
For the calculation of LAPACK_NOOPT, all such flags should be considered.
Signed-off-by: Thomas De Schampheleire<EMAIL_ADDRESS>[Retrieved from: https://git.buildroot.net/buildroot/tree/package/openblas/0003-Makefile-also-consider-Os-when-determining-LAPACK_NO.patch]
Signed-off-by: Fabrice Fontaine<EMAIL_ADDRESS>

Thanks. Looking into the significance of this variable for Reference-LAPACK, it turns out it is used for only a handful of sources that were probably miscompiled at some time in the past - but only in the (older) gmake Makefiles, not in the CMAKE environment that seems to be their preferred build method nowadays. Probably worth discussing there...


[INFRA-1858] gpg command fail if not execute with --no-tty

The docker image generated by Dockerfile-slim doesn't build anymore and complains about
Step 18/38 : RUN curl -fsSL https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-$(dpkg --print-architecture) -o /sbin/tini   && curl -fsSL https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-$(dpkg --print-architecture).asc -o /sbin/tini.asc   && gpg --import ${JENKINS_HOME}/tini_pub.gpg   && gpg --verify /sbin/tini.asc   && rm -rf /sbin/tini.asc /root/.gnupg   && chmod +x /sbin/tini
 ---> Running in 384c1eda9c37
gpg: directory '/root/.gnupg' created
gpg: keybox '/root/.gnupg/pubring.kbx' created
gpg: cannot open '/dev/tty': No such device or address
The command '/bin/sh -c curl -fsSL https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-$(dpkg --print-architecture) -o /sbin/tini   && curl -fsSL https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static-$(dpkg --print-architecture).asc -o /sbin/tini.asc   && gpg --import ${JENKINS_HOME}/tini_pub.gpg   && gpg --verify /sbin/tini.asc   && rm -rf /sbin/tini.asc /root/.gnupg   && chmod +x /sbin/tini' returned a non-zero code: 2
[Pipeline] }
[Pipeline] // withCredentials
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] }
[Pipeline] // timeout
[Pipeline] End of Pipeline
ERROR: script returned exit code 2
Finished: FAILURE

I just enabled the feature to require branch to be up-to-date for merging.

I think this is why the change that made the master start failing, when the PR was green.

@batmat not sure I follow, the --import has been there for 9 months. Something must have changed in the parent image

@carlossg it did - that’s a regression in gnupg - see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=913614


[Fix] Check contents of LEGO Set 42100 Bags 3D1, 3E, 3E1, 3E2, 3F

📑 Description

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed

ℹ Additional Information

@alv67 FYI: I have also verified contents of Bag Set #4 inside this PR. Please double check


Initial Build

@jnederlo forked the repo and will begin working on some customization and pull accordingly. I'll also leave some comments on additional customization.
I'm the meantime, I can work on customizing for NHL Fanduel rules as well as MLB.
Looking forward to working with you on this project

@jnederlo definitely having issues installing CPLEX, have the academic license, but can't seem to call the API or do a pip install.
Any advice?

Here's how you install the python API https://www.ibm.com/support/knowledgecenter/SSSA5P_12.7.1/ilog.odms.cplex.help/CPLEX/GettingStarted/topics/set_up/Python_setup.html
In short: Find where you installed cplex - on my mac it's in:
/Applications/CPLEX_Studio_Community128
then run:
`python setup.py install'
this will install it in you python packages directory, so make sure it goes to the right python packages. For example, I use python3 so I run
'python3 setup.py install'
When I put this on my server and in my python virtual env I had to specify the location of my virtual env python packages like so
'python3 setup.py install --home yourvirtualenvpythonpackageshome/cplex'
Note I also had to go into the above home location (i.e. my virtual env python packages directory and move the cplex folder back a few directories because it was something like 'cplex/ibm/cplex'. So I moved the 2nd cplex to the root of the virtual env packages. Anyways, you probably won't have to do that.
Once you are able to run the setup script then you just follow the instructions and it should be good to go.

@asardinha I made the nhl optimizer with inheritance so now it is easy to add the Fanduel options. If you want to, go ahead and add in Fanduel. You can just make a new module called fanduel.py and make it more or less identical to draftkings.py. The only functions you will need to create will be the formulation (i.e. "type_1()" in DK) and fill_lineups(). Those are the functions you made changes to in your pull request to, so it should be pretty smooth to get it done.

@asardinha I went ahead and added fanduel for NHL. I also fixed the constraint so that no more than 4 players are included on 1 team.

@jnederlo I was able to take some sabersim projections and backtest, using them, you can do pretty well if you are playing around with the stacking types.
As for next steps, is there anything you'd like to see or anything I can help with, before we move on? Right now, I'm reading through the PuLP documentation to see how/if it is possible to add in exposures to the .csv and limit player frequency. I've also experimented with using standard deviation to randomize the projection.
Either way, thanks for taking care of the FanDuel problem. Again, please let me know how I can help/contribute in any way.

@asardinha We could discuss different ways to test models. I've done a lot of back testing myself with my own projections and they do well, but I'm curious on what approach you are using to test your results?
Just off the top of my head, in regards to adding player exposures, I think you would add constraints much the same way the overlap constraint is being added. You could check every previous lineup for a certain player (or all players), and make sure that the sum of their inclusions is less than some number (i.e. a number of 50 out of 150 lineups would put a max of 33% inclusion). Conversely, to make sure a player is included in at least some number of lineups, you would do something like add a new decision variable corresponding to whether that player is included in a lineup. You would check all previous lineups like we do in the overlap constraint, and would keep having the requirement of including that player in a lineup so long as the number of previous lineups that player is included in is less than some constant. This would guarantee to include that player in your first n lineups and then may or may not included him in the rest (you could also remove him or change the constraint so that he isn't included in any more lineups).
Regarding the next steps, I would like to add in other sports. Probably basketball and baseball next. Baseball will be very easy, but basketball is proving to be a bit of a challenge as they can be in multiple positions.

@jnederlo As for how I backtest, I feel it might be a little primitive, but typically play around with the line stacking conditions and create 4/3/1 and 3/3/2 stacks. Depending on the size of the slate, I typically remove those on the fourth line and without a powerplay designation, to ensure I can use as much salary as I can (especially on very small slates 2-3). Right now, I've been messing around with randomizing projections based on a player's standard deviation of points for the year (not so good results as of late). Sometimes, with NHL being so volatile, it's pretty much a dice roll. I typically keep the overlap at 4, so that I can maximize the variance in lines. Backtesting is using FantasyCruncher Rewind over and over and over again to see if I can find any edge based on the slate, but again...variance. I hope this helps, I wouldn't be surprised, if I am doing things the hard way...haha.
I would be interested in seeing how you produce your projections, and how those work and how you can produce "accurate projections."
As for next steps, I would be curious to see if we can set exposures, or play around with min and max deviation. I quite haven't figured out how to use this as an advantage, but look at is as a means for generating some consistency in a volatile sport.
Also-In doing some extra digging, it looks like we may want to look into adding the Numpy module to the MLB model, so that we can create a circular array for batting order (1:9, 9,1,2,3...ect.)
Either way, please let me know how I can assist.

Hi @jnederlo  -  I'm having trouble with the initial build for CPLEX on my Mac.  I seem to successfully install CPLEX via "python3 setup.py install" within my /Applications/CPLEX_Studio_Community128/python directory.  However, when I then navigate to /Users/stevepowers/Desktop/dfs_optimizers-master and attempt "python3 run_example.py", I get:  "PulpSolverError("CPLEX_PY: Not Available")."
It would seem that I need to fix my "yourvirtualenvpythonpackageshome/cplex" directory, but I'm not sure what I'm supposed to do here.  Have been Googling boards without success - hope to be in touch.
SP

Any progress on the NBA model?  I'm also having a hard time wrapping my head around how to model since the correlations between teammates vary across players, positions, etc.
@asardinha are you finding that an overlap of 4 reduces the variance of performance of the lineups even at small slates?

I built the nba model but don't have it in production form, and won't have time to add it in for a while. Perhaps in December I can get it up.

Able to install CPLEX but having difficulty running the example afterwards: getting an errorModuleNotFoundError: No module named 'nhl.fanduel' . Any advice?, very new to Python but fascinated with your work.

I was able to install CPLEX but when I try to run_examply.py I get ModuleNotFoundError: No module named 'nhl.fanduel'. I am new to Python, can you please assist?

@value-x I can't give you any help without some more information. Can you provide the error you are getting?

Traceback (most recent call last):
File "", line 1, in
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile
pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/mac/PycharmProjects/tensorenv/venv/run_example.py", line 3, in
from nhl.fanduel import Fanduel as NHLFanduel
File "/Applications/PyCharm.app/Contents/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
module = self._system_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'nhl.fanduel'

I also need to know what you are trying to run. There is no information here that I can use to diagnose what's going on in your system. I suspect that you are trying to run the program from the wrong location.

Have you finished the nba model if so can you share it pls?

Interesting problem that I just ran into today. Been using the builder with great success for a few weeks, but found that it refused to build lineups for slates with >16 teams (more than 8 games). I worry that this may be a problem come the NFL season, when the player pool is that much bigger. Is there something I'm doing wrong?


[Event Request] codeunit 7321 "Create Inventory Put-away" - OnBeforeCommit

Hi, would it be possible to get an event OnBeforeCommit codeunit 7321 "Create Inventory Put-away", like this :
        if AutoCreation and not LineCreated then begin
            WhseActivHeader."No." := '';
            WhseActivHeader.Insert(true);
            UpdateWhseActivHeader(WhseRequest);
            NextLineNo := 10000;
            OnBeforeCommit(NewWhseActivLine, WhseActivHeader);
            Commit();

    [IntegrationEvent(false, false)]
    local procedure OnBeforeCommit(var NewWhseActivLine: record "Warehouse Activity Line";var WhseActivHeader:record "Warehouse Activity Header")
    begin
    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Comparison operations

Comparison operations
Conceptual overview
Provides operations for <, <=, =>, > for
in Standard:

two LittleEndian registers with X on target
two LittleEndian registers with arbitrary action on target
a LittleEndian register and a constant with X on target
a LittleEndian register and a constant with arbitrary action on target

in Numerics:

two FixedPoint registers with X on target
two FixedPoint registers with arbitrary action on target
a FixedPoint register and a constant (with X on target)

Current status
Comparison operations are not readily available for all 4 cases and no specializations with constants exists. The constant variants are optimized and do not lead to additional qubit overhead.
User feedback
Useful for resource estimation.
Proposal
We describe all operations for the case LessThan (<), but analogously operations are introduced for LessThanOrEqual (<=), GreaterThanOrEqual (>=), and GreaterThan (>)
New and modified functions, operations, and UDTs
namespace Microsoft.Quantum.Arithmetic {

/// # Summary
/// Performs less-than comparison of two quantum registers.
///
/// # Description
/// Inverts classical state of output qubit `output` if and only if input register `x`
/// is less than input register `y`.
///
/// # Input
/// ## x
/// Quantum register.
/// ## y
/// Quantum register.
/// ## target
/// Target qubit for comparison result.
operation CompareLessThan(x : LittleEndian, y : LittleEndian, target : Qubit) : Unit is Adj+Ctl { ... }

/// # Summary
/// Conditional action based on less-than comparison of two quantum registers.
///
/// # Description
/// Applies `action` to `output` if and only if input register `x` is less than input register `y`.
///
/// # Input
/// ## action
/// Action to be applied to `target`
/// ## x
/// Quantum register.
/// ## y
/// Quantum register.
/// ## target
/// Target input for `action`.
operation ApplyControlledOnLessThan<'T>(action : 'T => Unit is Adj + Ctl, x : LittleEndian, y : LittleEndian, target : 'T) : Unit is Adj + Ctl { ... }

/// # Summary
/// Performs less-than comparison of a quantum register with a constant.
///
/// # Description
/// Inverts classical state of output qubit `output` if and only if input register `x`
/// is less than constant `c`.
///
/// # Input
/// ## c
/// Constant value.
/// ## x
/// Quantum register.
/// ## target
/// Target qubit for comparison result.
operation CompareLessThanConstant(c : BigInt, x : LittleEndian, target : Qubit) : Unit is Adj + Ctl { ... }

/// # Summary
/// Conditional action based on less-than comparison of two quantum registers.
///
/// # Description
/// Applies `action` to `output` if and only if input register `x` is less than constant `c`.
///
/// # Input
/// ## action
/// Action to be applied to `target`
/// ## c
/// Constant value.
/// ## x
/// Quantum register.
/// ## target
/// Target input for `action`.
operation ApplyControlledOnLessThanConstant<'T>(action : 'T => Unit is Adj + Ctl, c : BigInt, x : LittleEndian, target: 'T) { ... }

/// # Summary
/// Performs less-than comparison of two quantum registers in fixed-point representation.
///
/// # Description
/// Inverts classical state of output qubit `output` if and only if input register `x`
/// is less than to input register `y`.
///
/// # Input
/// ## x
/// Quantum register.
/// ## y
/// Quantum register.
/// ## target
/// Target qubit for comparison result.
operation CompareLessThanFxP(fp1 : FixedPoint, fp2 : FixedPoint, target : Qubit) : Unit is Adj + Ctl { ... }

/// # Summary
/// Conditional action based on less-than comparison of two quantum registers in fixed-point representation.
///
/// # Description
/// Applies `action` to `output` if and only if input register `x` is less than input register `y`.
///
/// # Input
/// ## action
/// Action to be applied to `target`
/// ## x
/// Quantum register.
/// ## y
/// Quantum register.
/// ## target
/// Target input for `action`.
operation ApplyControlledOnLessThanFxP<'T>(action : 'T => Unit is Adj + Ctl, fp1 : FixedPoint, fp2 : FixedPoint, target : 'T) : Unit is Adj + Ctl { ... }

/// # Summary
/// Performs less-than comparison of a quantum fixed-point register with a constant.
///
/// # Description
/// Inverts classical state of output qubit `output` if and only if input register `x`
/// is less than to constant `c`.
///
/// # Input
/// ## c
/// Constant value.
/// ## x
/// Quantum register.
/// ## target
/// Target qubit for comparison result.
operation CompareLessThanConstantFxP(c : Double, x : FixedPoint, target : Qubit) : Unit is Adj + Ctl { ... }

}

Yes, we can add them. They might not be as optimized as the ones for LittleEndian though.

Comment from @cgranade during June 2022 API review

Does the action input to ApplyControlledOnLessThanFxP need to be adjointable? Should there be a separate Adj variant? We may also want to describe quickly how this proposal works with the outstanding proposal for numerics refactoring all-up (https://github.com/microsoft/QuantumLibraries/issues/337).

The operation action must at least have Ctl as a requirement to the implementation of ApplyControlledOnLessThanFxP. It is possible to have action not be adjointable, however, I think that this is a very uncommon case. Adding variants for the two different cases (adjointable vs. non-adjointable) would make the more common case a special case in the operation name (A suffix vs. no suffix). I think this is different to more general building blocks such as ApplyToEach or SinglyControlled that are used equally likely with different variants.
I added a reference to  https://github.com/microsoft/QuantumLibraries/issues/337. That issue suggests a lot of changes, both new operations and new data types. Similarly, https://github.com/microsoft/QuantumLibraries/issues/423 is a superset of this issue, with more arithmetic operations. It's difficult to address such large issues, so that's why I started with this one aiming to first improve consistency in the arithmetic APIs, and then tackle https://github.com/microsoft/QuantumLibraries/issues/337 for UDTs when all the operations are in place.


Custom client setup (e.g. for shortcuts, mermaid) fail when not on demo:dev

Describe the bug
Custom setup/ that run on the client are not run. (But they are run in demo:dev).
Looks somewhat (as it works in demo:dev) similar to the issue that was fixed by https://github.com/slidevjs/slidev/commit/596f2ce8b52788752112649ad3cfc3ee12af3936 by @antfu
To Reproduce

Create a presentation, tested with the latest 0.36.4, and add a setup/shortcuts.ts.
It is ignored.
The same added to "demo:dev" works.

Digging a little it seems that here https://github.com/slidevjs/slidev/blob/a067890aae4b1c77f351b84706a7bc223b46c7c5/packages/slidev/node/plugins/setupClient.ts#L27 , the path has a ?v=41b2b615 suffix when run from a presentation and no suffix when run in "demo:dev".
NB: I tried to remove the suffix in the setupClient.ts and it then works, but I'm wondering if there are other places than would need fixing?

remove the suffix in the setupClient.ts

Sounds like a good solution. PR welcome


Reproduce a specific slideshow template using touying

Hello,
I would like to reproduce the presentation template used to create this slideshow: Erler_slides_MICourse_2018.
In short, I would like to structure the presentation using the headings in Typst, with the first level (=) for parts, the second level (==) for sections, and the third level (===) for subsections. Additionally, I would like an outline to be displayed at the beginning of each part. Finally, the header of each slide should contain the (numbered) title of the current section and subsection (and possibly the title of the part as well).
I tried to create this template myself by following the tutorial available on the Touying website, but I believe it's still a bit too complex for me...
Thank you very much!

Currently touying does not support subsubsection, so this template is currently difficult to implement. I'll figure it out in a later version.

Thank you very much for the "config-common(slide-level: x)" parameter. This addition allows for building a theme with a structure that follows the one I described earlier. To achieve this, I try to look at how available themes are constructed. However, not all themes respond the same way to this option, and I find it quite difficult to determine which themes support or do not support having a slide-level at 1, 2, or 3. Would it be possible to add this information to the documentation of each available template?
Furthermore, it would be very useful to have variables and functions that allow displaying all or part of the table of contents at various points in the presentation. Beamer, for instance, allows controlling whether to display all sections, all sections while highlighting the current section, or only the current section (hiding the others), and similarly for subsections and sub-subsections, with a very concise syntax (a use case here: https://tex.stackexchange.com/questions/193975/highlight-only-current-subsection-hide-subsections-of-other-sections). I think the 'custom-progressive-outline' function currently doesn't allows this for now. Do you plan to add this type of functionality in the future?
Once again, thank you for this template!


fix: local path warning only if path isn't found

Description
The exists signature catch the error so we need an additional check to prevent warning even if path is found

What is the purpose of this pull request?

[X] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


add python 3.6 trove classifier to setup.py

Codecov Report

Merging #480 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master   #480   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          14     14
  Lines        3189   3189
  Branches      229    229
=====================================
  Hits         3189   3189

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b33925e...575952c. Read the comment docs.

Closing as this will be addressed in https://github.com/crsmithdev/arrow/pull/472/files.  (But thanks for the PR, @AlJohri!)


how to get a youtube video including its tracklist ?

Is this supported? I checked the --help command and could not find anything about this.

How to save a youtube video including its tracklist?

Related: https://github.com/ytdl-org/youtube-dl/issues/6480


exemples on readme inaccurate.

These are the solutions i got to get the attributes set correctly!
Amazing plugin BTW, i'll keep using it since it's way better then Toasts!
And FYI, to get the icons flag set right, go to : ".\platforms\android\src\F0\res\drawable\IconsNamesHere"
feedback.show({
icon: "successicon",     //    'success' or 'Success' aren't working, just use that one...
onTap: () => {
feedback.hide();   //  don't use 'this.feedback.hide()'
}
});
Thank you so much for doing this Eddy!

Thanks. I am not sure which example you refer to though.
Are you using TypeScript?

Hi Eddy, I'm using native JavaScript..
By exemples i meant the few ones from the readme.
This feedback plugin is AWESOME Eddy !!
Thank you soooo much!!
Le 23 mai 2017 16:32, "Eddy Verbruggen"<EMAIL_ADDRESS>a écrit :

Thanks. I am not sure which example you refer to though.
Are you using TypeScript?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EddyVerbruggen/nativescript-feedback/issues/5#issuecomment-303417218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABa1xhNZDineApX0D5BH-yDQFir2kSiGks5r8u4BgaJpZM4NjB9i
.

PS would be Amazing to have a 'picture' attribute which could receive any
'~/pic.png/' uri...
Le 23 mai 2017 16:32, "Eddy Verbruggen"<EMAIL_ADDRESS>a écrit :

Thanks. I am not sure which example you refer to though.
Are you using TypeScript?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/EddyVerbruggen/nativescript-feedback/issues/5#issuecomment-303417218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABa1xhNZDineApX0D5BH-yDQFir2kSiGks5r8u4BgaJpZM4NjB9i
.


Vuejs $event target return undefined and the wrong html node

Version
2.5.13
Reproduction link
https://gist.github.com/YounesKeraressi/0ad9cb960f34861b59995995d41d6e5c
Steps to reproduce
try to figured out the problem in the $event.target , i think it lag
What is expected?
return the id on the clicked element form $event.target , is there a way to use Vuejs function's inside javascript onclick not v-on:click event like this , onclick="VueFn(this.id);" // wanted to receive the current clicked id without the $event, its says that VueFn not define. thx in advance
What is actually happening?
it works but when i click faster it return empty id and the wrong tag

when i click on tabs slowly it works just fine but when i click little bit faster in the app.vue at line 39 is returning an empty id and the line 40 it excepted to return the a element but it return the i tag

Hi, thanks for your interest but Github issues are for bug reports and feature requests only. You can ask questions on the forum, the Discord server, gitter or StackOverflow.

BTW, you can just write @click="swap". Vue will pass the $event for you

@posva  thx for y response , but if $event.target.id not returning clicked id every time when i clicking fast on the tabs , so if this is not a bug what we'll call it then? like the $event.target not event catch the target node in a giving time, anyway thx for your answer i ll try another way to do it

Keep in mind $event is just a native event, so the problem you're having is probably not related to Vue here

@posva  thx , yeah got ya but when i used onclick="console.log(this.id)"  not "v-on:click" it work even with fast clicks but when using $event.target.id or $event.toElement or $event.srcElement  its not working most of the times when i fast click its looks like the DOM didn't existed in the mean time,  its probably Vuejs's doing inner stuffs then couldn't catch the id $event.target ,hope y got this, so yeah thx for your time


Setup env and run it

It seems that it lacks setup automatically mechanism, at least for python

It use pipenv to  organize packages

https://stackoverflow.com/questions/38217545/what-is-the-difference-between-pyenv-virtualenv-anaconda
Edit: It's worth mentioning pip here as well, as conda and pip have similarities and differences that are relevant to this topic.
pip: the Python Package Manager.
You might think of pip as the python equivalent of the ruby gem command
pip is not included with python by default.
You may install Python using homebrew, which will install pip automatically: brew install python
The final version of OSX did not include pip by default. To add pip to your mac system's version of python, you can sudo easy_install pip
You can find and publish python packages using PyPI: The Python Package Index
The requirements.txt file is comparable to the ruby gemfile
To create a requirements text file, pip freeze > requirements.txt
Note, at this point, we have python installed on our system, and we have created a requirements.txt file that outlines all of the python packages that have been installed on your system.

pyenv: Python Version Manager
From the docs: pyenv lets you easily switch between multiple versions of Python. It's simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well. This project was forked from rbenv and ruby-build, and modified for Python.
Many folks hesitate to use python3.
If you need to use different versions of python, pyenv lets you manage this easily.

virtualenv: Python Environment Manager.
From the docs: The basic problem being addressed is one of dependencies and versions, and indirectly permissions. Imagine you have an application that needs version 1 of LibFoo, but another application requires version 2. How can you use both these applications? If you install everything into /usr/lib/python2.7/site-packages (or whatever your platform’s standard location is), it’s easy to end up in a situation where you unintentionally upgrade an application that shouldn’t be upgraded.
To create a virtualenv, simply invoke virtualenv ENV, where ENV is is a directory to place the new virtual environment.
To initialize the virtualenv, you need to source ENV/bin/activate. To stop using, simply call deactivate.
Once you activate the virtualenv, you might install all of a workspace's package requirements by running pip install -r against the project's requirements.txt file.

Anaconda: Package Manager + Environment Manager + Additional Scientific Libraries.
From the docs: Anaconda 4.2.0 includes an easy installation of Python (2.7.12, 3.4.5, and/or 3.5.2) and updates of over 100 pre-built and tested scientific and analytic Python packages that include NumPy, Pandas, SciPy, Matplotlib, and IPython, with over 620 more packages available via a simple conda install <packagename>
As a web developer, I haven't used Anaconda. It's ~3GB including all the packages.
There is a slimmed down miniconda version, which seems like it could be a more simple option than using pip + virtualenv, although I don't have experience using it personally.
While conda allows you to install packages, these packages are separate than PyPI packages, so you may still need to use pip additionally depending on the types of packages you need to install.

See also:
conda vs pip vs virtualenv (section in documentation from anaconda)
the difference between pip and conda (stackoverflow)
the relationship between virtualenv and pyenv (stackoverflow)

Pipenv is a better tool or organize packages. Now, there is still some improvement to do in publishing package
https://realpython.com/pipenv-guide/

It use travis to build CI workflow
http://www.ruanyifeng.com/blog/2017/12/travis_ci_tutorial.html

After upgrade node to 10, it work now


no-indented-block (E112) rule is not needed because it's already covered by syntax-error (E999)

for item in items:
pass

main.py:2:1: E112 Expected an indented block
main.py:2:1: E999 SyntaxError: Expected 'Indent', but got 'pass'

since E112 is a nursery rule i think it should just be removed, especially since there are false positives (eg. #6930)

I think I'm okay with this because, while rare, it can also catch cases that aren't syntax errors, like:
def print_list(my_list):
# Some comment
    print('Nope')

i know black covers that case, looks like ruff format does too https://play.ruff.rs/36beb564-71e4-4e1e-a402-e67569688a97?secondary=Format


Add an endpoint for decryption

Add a '/decrypt' endpoint to the app, in order to allow decryption of encrypted payloads.

Good stuff.


idf.py: command not found (IDFGH-5791)

----------------------------- Delete below -----------------------------
----------------------------- Delete above -----------------------------
Environment

Development Kit:      [安信可ESP32-Audio-Kit音频开发板]
Module or chip used:  [ESP32-A1S]
IDF version (run git describe --tags to find it):esp-idf-v4.3
Build System:         [CMake|idf.py]
Compiler version (xtensa-esp32-elf-gcc --version: command not found)
Operating System:     [Ubuntu 20.04]
Using an IDE?: [Yes (eclipse 2020-12)]
Power Supply:         [USB]

Problem Description
//The board I tried was a demo board for Audio AI based on ESP32-A1S, since I found the software env was difficult to be setup, so I decided to try a lower step first - esp-idf, then step up to esp-adf.
I installed esp-idf as it was told here(https://docs.espressif.com/projects/esp-idf/en/latest/esp32/get-started/index.html#get-started-get-prerequisites), but there were to many
"Failed to clone  Retry scheduled
fatal:unable to access
gnutls_handshake() failed:", even when I tried in a some internet free time(half past 7 AM), so I thought to try eclipse with esp-idf Plugin.
I installed esp-idf plug-in and tools in eclipse,and tried the example "hellow_world", the button "Build the configurations of selected projects" was disable, while the button "Build All" was OK, I clicked "Build All" no error prompted, and I click "Run", it prompted "Serial port not found", so I think I should use "idf.py menuconfig", but when I typed "idf.py menuconfig" into terminal, it prompted "idf.py: command not found", although I could see "idf.py" in my "tools" directory and I have added both IED_PATH and idf.py PATH into .profile as it was told here(https://docs.espressif.com/projects/esp-idf/en/release-v3.3/get-started-cmake/add-idf_path-to-profile.html) , I verified it by "echo $PATH".
Then I tried "cmake", while when I typed "cmake menuconfig", it was prompted:"The source directory "/home/mq/menuconfig" does not exist."
Expected Behavior
I expect the menuconfig interface would shown, and I could config the serial port "ttyUSB0".
Actual Behavior
when typed"idf.py menuconfig", it was prompted:
"idf.py: command not found"
when typed "cmake menuconfig", it was prompted:
"The source directory "/home/mq/menuconfig" does not exist."
""
Steps to reproduce

step1
...

// If possible, attach a picture of your setup/wiring here.
x-special/nautilus-clipboard
copy
file:///home/mq/Pictures/Screenshot%20from%202021-09-01%2007-29-40.png
the screenshot is also here - https://ibb.co/wYNkgtW
Code to reproduce this issue
// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{

}

// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

[ ] sdkconfig file (attach the sdkconfig file from your project folder)
[ ] elf file in the build folder (note this may contain all the code details and symbols of your project.)
[ ] coredump (This provides stacks of tasks.)

Hi @mianqi2016.
First of all, you are browsing the documentation for the master (v4.4) branch. This is the right page for your version:
https://docs.espressif.com/projects/esp-idf/en/release-v4.3/esp32/get-started/index.html#step-1-install-prerequisites
(different versions of ESP-IDF could have very different prerequisites)
Please don't update your PATH. The documentation page is for old version of ESP-IDF (v3.3). The . export.sh command outlined in the getting started guide should set your PATH. This way it won't be permanent and your global PATH won't be affected.
After you completed the steps of the getting started guide and run . export.sh, you should be able to run for example idf.py --version.
If you completed that successfully, you can move to the Eclipse setup guide: https://github.com/espressif/idf-eclipse-plugin#installing-esp-idf and use the "To configure an existing ESP-IDF" step from the guide.

I tried this:https://docs.espressif.com/projects/esp-idf/en/release-v4.3/esp32/get-started/index.html#step-1-install-prerequisites
it was  failed, how can I install it in eclipse, I found use eclipse plugin more realistic。
https://ibb.co/yPh2NYG
https://ibb.co/Mgqrz2d

Those messages are because of poor Internet connection. You can either retry many times or can download a ZIP-ed environment from the https://github.com/espressif/esp-idf/releases page, for example
https://github.com/espressif/esp-idf/releases/download/v4.3/esp-idf-v4.3.zip.

I saw lots of "Retry scheduled", will they be retried by the software automatically in the background, or should I manually retry by "git clone ..." again and again?

I saw lots of "Retry scheduled", will they be retried by the software automatically in the background,

No, it won't be.

or should I manually retry by "git clone ..." again and again?

I'm not sure if that would ever be successful. I would suggest to download the ZIP or contact the company directly for an alternative way of getting ESP-IDF.

I am facing similar problem on windows 11. When I try to run the example advanced_https_ota idf.py command is not found.  On another hand idf.py runs properly when I use the blink example. I tried to run the export.bat file to set the env variables automatically but without any effect. Any tip @dobairoland ?

Before every idf.py menuconfig try run:
cd ~/esp/esp-idf
./install.sh

More infos here.


chore(CategoryTheory/Galois): split out definition from Full file

Reorganizes the Full file to collect definition and boilerplate code about functorToAction in separate file.

bors r+


fix #228:Reduction in Toolbar Text size on orientation changes

Please make sure these boxes are checked before submitting your pull request - thanks!
Fixes #228

[x] Apply the AndroidStyle.xml style template to your code in Android Studio.

[x] Run the unit tests with ./gradlew check to make sure you didn't break anything

[x] If you have multiple commits please combine them into one commit by squashing them.

@therajanmaurya  Please review


Update pfps.css

Also works without https://discord.com

~Also works without https://discord.com~

It doesn't work without https://discord.com if you're using BetterDiscord.


Boolean values should evaluate truthy statements

Currently if you have a Boolean value in libgit2 you have to send a value of either 1 or 0 which is very awkward in JavaScript. It should determine the truthy-ness of the value passed in and then coerce that into a 1 or 0 which is then sent into libgit2.

Seems like a natural fit for convert-to-v8-value or whatever it's called.

Yeah a bit further digging yields 2 components to a solution.
Both require knowing if a function argument or a struct property is a boolean-integer (a 0/1 value).

In generate/partials/convert-from-v8.cc if the argument is an int-bool, we can just convert it to a boolean using either ToBoolean() (returns a v8 bool type) or ->booleanValue() (returns an actual C++ bool).

In generate/partials/field_accessors.cc, there are a few options.
2. If we want to convert the value permanantly (so if you get it back out of the object, you see the updated value), we can just do that inside the setter in the same way described for function arguments. So the following would hold up.
var opts = new nodegit.CloneOptions();
opts.ignoreCertErrors = {}; // or true or "radishes" or 1
opts.ignoreCertErrors == 1 // would be true

2. If we want to handle maintaining the value the user set (which is how I'm inclined to go), we need to set the actual property (eg git_clone_options' ignore_cert_errors) to the converted value, and maintain a separate client value that can be retrieved.
  ```js
  var opts = new nodegit.CloneOptions();
  opts.ignoreCertErrors = "radishes"; // or true or someObject or 1
  opts.ignoreCertErrors == "radishes"; // (or whatever was passed in) would be true.
  ```
  and in the native side

   ```c++
  myoptionsobject->ignore_cert_errors == 1; // true
  myoptionsobject->ignore_cert_errors_client.getStringValue() == "radishes"// or whatever the syntax is
  ```
2. We could also just make it show boolean values (so convert it to true/false instead of 0/1), but that feels only a little better than just leaving it, in some ways worse, and definitely no better than the first option.

I'm rooting for the option of maintaining 2 values, even though its a bit more complicated, because it feels more like what a user would expect.


Reveal Not Working

Hi All:
I'm encountering some significant Reveal issues with dozens of bids.  Here is what I've done:

Submitted bid (for example, "cathaypacific."

Transaction hash showing successful bid is here: https://etherscan.io/tx/0x60f0aaf81745a5a3273f571e86bccacbc17a64bdd7534f0452f1d03bb89e62cb.  The amount I bid, including anonymous amount, is correct.

I downloaded the .JSON file with the bid.  I can see the name of the bid in the file, and I can re-upload that bid into the browser.  Browser messages "X number of bids successfully imported."

Still, while using the Registrar DAPP, no Reveal option is presented.  I have confirmed that I am logged into Metamask and that the account I used to bid is correct.

This is happening with multiple bids placed yesterday.  Also, the DAPP itself is incredibly slow and buggy today.  I'm using Metamask through Google Chrome under Mac OS.  Any suggestions?  Thanks in advance.

Can you confirm the hash of the name you're bidding on in that example transaction, and when the reveal period started?

If you mean the transaction hash of the bid for cathaypacific, it's here: 0x60f0aaf81745a5a3273f571e86bccacbc17a64bdd7534f0452f1d03bb89e62cb
Reveal period start was 2017-05-11 17:03
Here's another example:
Name = smarkets
Bid URL: https://etherscan.io/tx/0xf093b52406eccee3286db0fae92cb7db00608e6b92735885e5cd7337c7811c04
Bid hash: 0xf093b52406eccee3286db0fae92cb7db00608e6b92735885e5cd7337c7811c04
Reveal Period Commenced: 2017-05-11 17:03
I have the bid confirm in a .JSON file.  I can successfully import that file.  Still, no opportunity to Reveal is presented.
I have been downloading after each successful bid.  The download file invariably does not include every name that I have bid on.  It usually takes 10 minutes or so after a successful bid for a name to appear.  It also appears that older names are being eliminated.  If you open many of the .JSON downloads, you can usually find a file with the bid name.  But, even uploading this file with a successful import confirmation isn't working at the moment.
Thanks for the help.

Or, do you need what appears to be the name hash from the .JSON file?

Can you please open the developer console for the ens app in mist and paste the following info:
MyBids.findOne({name:'cathaypacific'});

And tell me what you see? If your bid is saved, then it should be there. If not, you can see all your bids by looking at
MyBids.find().fetch();

Worst case scenario, you should be able to use MEW to reveal it..

I'm working from a Chrome browser using Metamask.  I've got the Dev console open in Chrome.  There is a section in console titled "update Reveal Names" and neither of these are there.  But, I'm not a Dev so I'm probably not looking in the correct place.
Is it possible to Reveal Names in MEW by simply uploading the pertinent .JSON file I downloaded in Chrome?  Thanks again for the help.

I ran into this issue as well on Mist, Mac Sierra.  Reveal bid button never showed, but the dapp showed the second highest bid amount as my bid amount which led me to believe that maybe the Dapp auto-revealed for me.
This DAPP needs a complete re-write of the GUI. It was impossible to determine if the app wasn't functioning correctly or if I was missing a step. It's also impossible to determine where my active bids are supposed to show up, or how to check on an active bid, so I have no feedback or indication if I successfully placed a bid or where to check on it.
The steps of the process should all be visible but grayed out rather than disappearing. For a new user it's confusing as to what's supposed to happen next.
Pretty frustrating, burned 0.5 ether because of this bug and the bad UI on the dapp.
The DAPP also freezes for 3-5 minutes while loading/syncing the first time. Probably because it's fetching the KNOWNS AUCTIONS STARTED RECENTLY and LAST CHANCE TO BID! lists. These should be lazy-loaded or on separate screens so the initial app doesn't freeze. I'm not up to speed on DAPP gui design constraints, but I would assume there's a technique to run the GUI asynchronously from the ether network updates.

I would suggest that anyone bidding in ENS move away from the DAPP/Metamask and over to MyEtherWallet.  There are some serious issues with bidding using Chrome/Metamask.  Bids get confirmed.  You get a confirming transaction hash.  You can go to Etherscan and see that the bid went through.  Funds were deducted from your wallet.  But, the bid doesn't get stored in the browser or in the downloaded .JSON file.  When you go to Reveal, the browser does not have the necessary data to prompt the Reveal option.  Your bid then expires and your funds are burned.
The two issues I've seen are: (a) some confirmed bids never populate in the browser or the download file, and (b) some bids show up but only after significant (> 1 day) delay.  Downloading your bids is not foolproof.  It does help, because you can occasionally find confirmed bids in an earlier .JSON file even if they disappear in a subsequent .JSON bid download file.
The speed issues are another reason to go to MEW.

Also, switching between http and https helps when a bid is missing.  But, again, that also is not foolproof.  Some confirmed bids do not show up regardless of whether you use http or https.

Switching to https resolved my similar issue of bids dropping out of Chrome/Metamask.

This is brutal, may have just lost a significant bit of ether due to this, bid went through but doesn't show up in metamask, and it froze before I got the chance to download the backup JSON file. Is there any way to reveal without the "secret" portion. It is clear the transaction came from my metamask wallet on etherscan, and I can prove access to that wallet.

No, there is no way to reveal without the secret.
If your bid does not show up in metamask or etherscan, however, it was never successfully sent.

Hmmmm, My transaction shows up in metamask in the sense that the Ether left  my wallet, it also shows up in etherscan. When I say that it does not show up in metamask I mean that if i type in the name again it doesn't say, you have bid xxx amount, it just gives me the option to bid again.

Same here. OSX El Capitan. SSD + 32 GB RAM, super sluggish yesterday and same problems as OP.
backed-up everything, deleted Mist and support files, re-installed.  imported jsons after merging,  working fine now,  except for the fact that owned domains to be finalized are disappearing from the side bar. Domains cannot be finalized when typed in, mist refuses address lookup, type in a different domain and the retype the domain to be finalized works... strange....

Hello, I use MEW to reveal my bid. How can I see that I successfully revealed it? All fields are green but that's all I can see right now.

Forget Mist on OSX  El-Capitan, after 2 days of errors I gave up.  Metamask works like a charm.

"If your bid does not show up in metamask or etherscan, however, it was never successfully sent."
This is technically true.  But, I think the issue is: Bid shows up in Etherscan but the registrar DAPP does not cache the name.  It also does not always download names you've successfully bid on.  So, when you got to Reveal, you are unable to do so and funds get burned.  I have many examples, including Etherscan links, .JSON download files after every bid, where this very thing happened to me.

Hello I have created a backup file of my bid and have it now in the reveal phase uploaded via the parity browser. But I get displayed "No bids found on file". I also tryed it with with chrome + Metamask, same result. What am I doing wrong?

(https://etherscan.io/tx/0x79105ee7d2022de03de8ec7fe20ab24af40691eff2d1c851fa1b80c449e36ef8)
I have not bid on "lanwanprofessional.eth". I have bid on "commercial.eth". But also when I try to reveal the bid for "lanwanprofessional.eth" it shows me "No bids found on file". I dont know whats going on here?!?
There is another bid on business.eth i made. But here (https://etherscan.io/tx/0xe8cf21203e74e884c3ead40ce83f1092cf66210c9e373e41db7a65f5c71ee597)
it shows me "alymaamh.eth"

Hey Laramie43ip and others:
If you have the backup JSON, you can do the reveal using MEW. Fill out the fields manually, but instead of writing your three words, use the hexSecret value from your JSON file.

Sorry if this fix has been posted, if you cant reveal i tried resetting the Metamask Sever by changing it to test server then back to the main server, seemed to fix the problems .
Cheers

Hi,
Can someone help me.  I wasnt able to reveal my bid on ENS and now the ether is locked up to another address.  What can I do?  Its a significant amount of ether. :(

If the reveal period is already over, there is nothing you can do.

I believe the ether is returned at the end of the 2 years... right?
On Sat, May 27, 2017 at 2:37 PM Nick Johnson<EMAIL_ADDRESS>wrote:

If the reveal period is already over, there is nothing you can do.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-304477975,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMh3Kn5FlyLxx7Msp_7uwSOAHJcSYWytks5r-JepgaJpZM4NZnkV
.

No; 19 days after the bid was placed, it can be invalidated by anyone.

Nick, how can I do this?
Dara
On May 28, 2017, at 12:03 PM, Nick Johnson <notifications<EMAIL_ADDRESS>wrote:
No; 19 days after the bid was placed, it can be invalidated by anyone.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-304527052, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbqYzZN-7yOAPSa_mWg_ZSYjALR56cyoks5r-ajTgaJpZM4NZnkV.

Nick,
I have my bid amount ,  my masked bid amount plus my 3 words.  I have 51 Eth sitting there.  I could  not get a reveal to work.   Is there a link I can go to and input my info?  What is MEW?  Sorry for all the questions but I'm only a passionate investor in Ethereum.  I am not a coder/programmer. I've been involved since the beginning.  I went through The DAO hack and still am a die hard believer in Eth and the Blockchain.   I just need a little guidance here please.
Dara
On May 28, 2017, at 12:03 PM, Nick Johnson <notifications<EMAIL_ADDRESS>wrote:
No; 19 days after the bid was placed, it can be invalidated by anyone.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-304527052, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbqYzZN-7yOAPSa_mWg_ZSYjALR56cyoks5r-ajTgaJpZM4NZnkV.

Is the reveal period already over? If it is, you did not reveal, and you were not the only bidder, your bid is lost - the most you can recover is 0.5%, by revealing late.

Yes, Nick. The reveal ended literally as I was trying to reveal.  I wasn't able too.  It's so weird. I have successfully revealed other bids.  This one just wouldn't work.  I came to github immediately for help.
Can you walk me through the process to reveal the .5? It was 51 Eth unfortunately.  I'm so heartbroken over this.  I am immensely grateful for any help.
Dara
On May 30, 2017, at 8:52 AM, Nick Johnson <notifications<EMAIL_ADDRESS>wrote:
Is the reveal period already over? If it is, you did not reveal, and you were not the only bidder, your bid is lost - the most you can recover is 0.5%, by revealing late.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-304884871, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbqYzW2YwdkxU_7UF-4HHnrL4iebhy2eks5r_B8dgaJpZM4NZnkV.

Nick, can you guide me through the .5 recover?
Please and thank you in advance.
Dara
On May 30, 2017, at 8:52 AM, Nick Johnson <notifications<EMAIL_ADDRESS>wrote:
Is the reveal period already over? If it is, you did not reveal, and you were not the only bidder, your bid is lost - the most you can recover is 0.5%, by revealing late.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-304884871, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbqYzW2YwdkxU_7UF-4HHnrL4iebhy2eks5r_B8dgaJpZM4NZnkV.

Laramie43ip commented 27 days ago
Also, switching between http and https helps when a bid is missing. But, again, that also is not foolproof. Some confirmed bids do not show up regardless of whether you use http or https.

How do you switch from https to http?

I have the exact same problem - the reveal button won't show for a bid i made, which i have it in JSTOR and i have 30 hours to solve it, can anyone help please!

I've got a similar issue.
It's not recognizing me as a bidder for a term.  I found the Json file with the name, but it's missing this part:
"PendingBids":[{"date":XXXXXXXXXXXXX,"mastersalt":"El Iniahi Neumud
So it's not recognizing the Json

Have these issues been corrected? I just placed two bids and while preemptively searching for how to reveal bids I came across this. Looking at my various backup files, everything appears to be in place. I even see "pending bids" (which I assume are bids that have not yet been confirmed) moving into "mybids" (which I assume are bigs that have been confirmed) ...  Is there anything I can do now to ensure my backup file has all the required data?

My reveal fase ends in 6hours, I am using Metamask, apparently the page is working well I can push the reveal button confirm everything but it looks like the transaction does not go trough and I find the following message at etherscan "Sorry, we are Unable to locate the Transaction entry."
https://etherscan.io/tx/0x1033da7fe9206c9a86b601f877bbeb19bb0869b62803bfa8666d118028e7c076
If someone could help me I would appreciate.

@alevasa I had a similar problem and think it has to do w/network congestion. Something you could try is to reveal your bid again and set Gwei to 50 or 51. That seems to help cut through the congestion. You can see how to set Gwei in Metamask here.

tks for the tip I did two things, changed network and changed back to
Ethereum Main Net and increased gas price to 51 and it worked :-)
2017-06-22 14:04 GMT-03:00 Chris Remus<EMAIL_ADDRESS>
@alevasa https://github.com/alevasa I had a similar problem and think
it has to do w/network congestion. Something you could try is to reveal
your bid again and set Gwei to 50 or 51. That seems to help cut through the
congestion. You can see how to set Gwei in Metamask here.
https://steemit.com/ethereum/@tomshwom/ethereum-gas-how-it-works
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-310442064,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcPlWJDavj3qqcCwaSNEZ0VT3IOkVXr5ks5sGp63gaJpZM4NZnkV
.

@alevasa Glad to hear it :)

Hello! Can someone help? I have a ENS bid that I cannot reveal. If I try I get an error code "bad information". I have the amount, the secret.
I have tried it manually and also trough myetherwallet.

Try to logout from Ethereum Net and loging again.
Worked for me
Em sáb, 24 de jun de 2017 às 08:14, jjgruen<EMAIL_ADDRESS>escreveu:

Hello! Can someone help? I have a ENS bid that I cannot reveal. If I try I
get an error code "bad information". I have the amount, the secret.
I have tried it manually and also trough myetherwallet.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-310832563,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcPlWOV9HKnKxeTGCyD5srmz1BnZNcx5ks5sHO-ZgaJpZM4NZnkV
.

So far I've lost at least 3eth because I couldn't Reveal my bid. I tried for over 2 days. Tried every solution I read and nothing worked.  Im running OSX 10 and using the Ethereum MIST browser.  Very very frustrating to simply burn away money.

On many of the ones I lost my money on this is what i see in dev tools
revealed
:
true
revealing
:
false
apparently this means it didnt get revealed because it has burned my money on all of them.  Now up to 5 ETH lost.

Haven't used Mist but had the same experiences with MetaMask.  I believe
this was due to memory leaks, using Metamask in a Chrome browser running OS
X.
Switched to MyEtherWallet several months back and those problems
disappeared.  The one problem that occasionally occurs: If you bid on an
auction, sometimes it doesn't "launch."  This happens rarely but it does
happen.  Always save your reveal hash so you can "prove" that you bid, even
if you can't prove what name you bid on.  The solution that I've found to
this is either: (a) wait for someone else to initiate an auction on that
same name, then you'll be able to reveal your bid (even if it's more than 3
days old when the reveal period starts); or (b) relaunch the auction
yourself for .01 Eth, then reveal your original bid and the "relaunch" bid
of .01.  Both always have worked.  This has happened on at least a dozen
occasions and I've always been able to reveal even the bid that didn't
launch the auction.
Wish I could help with the burned Eth.  Unfortunately, I'm in the same boat
for the Eth that was burned until I transitioned away from Metamask.
On Sat, Jul 1, 2017 at 12:07 PM, rondior<EMAIL_ADDRESS>wrote:

On many of the ones I lost my money on this is what i see in dev tools
revealed
:
true
revealing
:
false
apparently this means it didnt get revealed because it has burned my money
on all of them. Now up to 5 ETH lost.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-312450176,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYFS_F8H2mrBEtrZy-SAmoZVcSUA5grbks5sJpjigaJpZM4NZnkV
.

Guys- can I get my burned Eth back?  Someone said challenge it?  Can someone elaborate. 50eth gone. Please help.  It's been over a month now. Reveal wouldn't work.
Dara K. Hudson
ÜberMed, Inc.
dara<EMAIL_ADDRESS>Cell-630-631-6043
Chicago
On Jul 1, 2017, at 7:02 PM, Laramie43ip <notifications<EMAIL_ADDRESS>wrote:
Haven't used Mist but had the same experiences with MetaMask. I believe
this was due to memory leaks, using Metamask in a Chrome browser running OS
X.
Switched to MyEtherWallet several months back and those problems
disappeared. The one problem that occasionally occurs: If you bid on an
auction, sometimes it doesn't "launch." This happens rarely but it does
happen. Always save your reveal hash so you can "prove" that you bid, even
if you can't prove what name you bid on. The solution that I've found to
this is either: (a) wait for someone else to initiate an auction on that
same name, then you'll be able to reveal your bid (even if it's more than 3
days old when the reveal period starts); or (b) relaunch the auction
yourself for .01 Eth, then reveal your original bid and the "relaunch" bid
of .01. Both always have worked. This has happened on at least a dozen
occasions and I've always been able to reveal even the bid that didn't
launch the auction.
Wish I could help with the burned Eth. Unfortunately, I'm in the same boat
for the Eth that was burned until I transitioned away from Metamask.
On Sat, Jul 1, 2017 at 12:07 PM, rondior <notifications<EMAIL_ADDRESS>wrote:

On many of the ones I lost my money on this is what i see in dev tools
revealed
:
true
revealing
:
false
apparently this means it didnt get revealed because it has burned my money
on all of them. Now up to 5 ETH lost.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-312450176,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYFS_F8H2mrBEtrZy-SAmoZVcSUA5grbks5sJpjigaJpZM4NZnkV
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ethereum/ens-registrar-dapp/issues/128#issuecomment-312462209, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AbqYzRzXRbcFadbjc6VawJE2C64bT27nks5sJt4FgaJpZM4NZnkV.


Add mechanism to block on a job until it is done

The common idiom is to refresh a job as it cycles from pending to running to done.
The Job#wait_until_done! convenience method implements this logic.
[closed #228]

It will be so great to finally have this. Thank you.


Updating broker/Interoperator docker image versions

Updating SF broker docker image version : 0.7.0
Updating SF interoperator docker image version : 0.7.0
Updating Helm Chart version : 0.7.0

Pull Request Test Coverage Report for Build 3809

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.053%

Totals

Change from base Build 3805:
0.0%

Covered Lines:
9175

Relevant Lines:
9944

💛  - Coveralls

Validation on k8s cluster: n-2 is succeeded.

Validation on k8s cluster: n-1 is succeeded.

Validation on k8s cluster: n is succeeded.


Remove coverage badge from README

Since we don't currently have any tests for this repo, coverage will always show "unknown".  I propose we remove the Coveralls badge all together.

I agree.


Auto-sizing form label doesn't align correctly with custom form controls

Since the custom select has a width: 100% here the custom select goes to a new line when there is a label:

I've added a sr-only class to the label on #26615 to fix the docs.
If an author wants to use a label with a custom element they can use the form-inline class on the form element and it'll work just fine, but not with Auto-sizing.

Yeah, we could override this to width: auto I think?

I think I'm going to close this as a won't fix? Only viable option I see here is to customize the .col-auto with some utilities (e.g., d-flex and margins).


[Bug]: Realtime socket never reconnects due to deadlock

General Info

[X] I checked for similar bug report
[X] I am using the latest version
[X] I checked the troubleshooting page for similar problems
[X] I enabled logging and checked the logs

Version(s)
2.1.5+
Target(s)
Test on Android
What happened? (include your code)
Starting in 2.1.5, the realtime socket fails to retry connecting after a disconnect. I believe this is caused by a deadlock with the mutex added in https://github.com/supabase-community/supabase-kt/pull/483. When an error occurs RealtimeImpl.connect() invokes itself recursively (here) but it does not release the mutex here and so the recursive call suspends forever.
 Calls to Realtime.connect() suspend forever.

Relevant log output (optional)
2024-03-07 13:26:11.282 29152-29725 Realtime                com.example                     E  Error while listening for messages. Trying again in 7s
                                                                                java.net.SocketException: Software caused connection abort
                                                                                at java.net.SocketInputStream.socketRead0(Native Method)
                                                                                at java.net.SocketInputStream.socketRead(SocketInputStream.java:118)
                                                                                at java.net.SocketInputStream.read(SocketInputStream.java:173)
                                                                                at java.net.SocketInputStream.read(SocketInputStream.java:143)
                                                                                at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readFromSocket(ConscryptEngineSocket.java:945)
                                                                                at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.processDataFromSocket(ConscryptEngineSocket.java:909)
                                                                                at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.readUntilDataAvailable(ConscryptEngineSocket.java:824)
                                                                                at com.android.org.conscrypt.ConscryptEngineSocket$SSLInputStream.read(ConscryptEngineSocket.java:797)
                                                                                at okio.InputStreamSource.read(JvmOkio.kt:93)
                                                                                at okio.AsyncTimeout$source$1.read(AsyncTimeout.kt:153)
                                                                                at okio.RealBufferedSource.request(RealBufferedSource.kt:209)
                                                                                at okio.RealBufferedSource.require(RealBufferedSource.kt:202)
                                                                                at okio.RealBufferedSource.readByte(RealBufferedSource.kt:212)
                                                                                at okhttp3.internal.ws.WebSocketReader.readHeader(WebSocketReader.kt:119)
                                                                                at okhttp3.internal.ws.WebSocketReader.processNextFrame(WebSocketReader.kt:102)
                                                                                at okhttp3.internal.ws.RealWebSocket.loopReader(RealWebSocket.kt:293)
                                                                                at okhttp3.internal.ws.RealWebSocket$connect$1.onResponse(RealWebSocket.kt:195)
                                                                                at okhttp3.internal.connection.RealCall$AsyncCall.run(RealCall.kt:519)
                                                                                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
                                                                                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
                                                                                at java.lang.Thread.run(Thread.java:1012)
2024-03-07 13:26:11.283 29152-29724 Realtime                com.example                     D  Closing websocket connection
2024-03-07 13:26:18.286 29152-29746 Realtime                com.example                     D  Reconnecting...
2024-03-07 13:26:18.365 29152-29523 Realtime                com.example                     E  Error while trying to connect to realtime websocket. Trying again in 7s
                                                                                URL: wss://exampleurl.supabase.co/realtime/v1/websocket?apikey=someKey&vsn=1.0.0
2024-03-07 13:26:18.366 29152-29523 Realtime                com.example                     D  Closing websocket connection

No further logs from Realtime occur and there are no further attempts to reconnect.

Thanks for reporting this, publishing a fix!

@jmacindoe Released 2.2.1, let me know if there are still any issues!


[Bug]: CDAT Migration error: RuntimeError: Could not determine Z bounds in dataset.

What happened?
I'm testing a run script for EAMXX decadal run:
Compare to the run with main branch (viewer), the CDAT migration branch (viewer) failed to generate sets that require vertical remapping, with following error:
2024-10-03 13:50:25,512 [INFO]: meridional_mean_2d_driver.py(run_diag:60) >> Variable: U
2024-10-03 13:50:26,555 [ERROR]: core_parameter.py(_run_diag:343) >> Error in e3sm_diags.driver.meridional_mean_2d_driver
Traceback (most recent call last):
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/xcdat/regridder/xgcm.py", line 233, in _get_grid_positions
    bounds_z = self._input_grid.bounds.get_bounds("Z")
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/xcdat/bounds.py", line 247, in get_bounds
    raise KeyError(
KeyError: "No bounds data variables were found for the 'Z' axis. Make sure the dataset has bound data vars and their names match the 'bounds' attributes found on their related time coordinate variables. Alternatively, you can add bounds with `ds.bounds.add_missing_bounds()` or `ds.bounds.add_bounds()`."

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/e3sm_diags/parameter/core_parameter.py", line 340, in _run_diag
    single_result = module.run_diag(self)
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/e3sm_diags/driver/meridional_mean_2d_driver.py", line 87, in run_diag
    _run_diags_3d(parameter, ds_test, ds_ref, season, var_key, ref_name)
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/e3sm_diags/driver/meridional_mean_2d_driver.py", line 102, in _run_diags_3d
    ds_t_plevs = regrid_z_axis_to_plevs(ds_test, var_key, plevs)
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/e3sm_diags/driver/utils/regrid.py", line 526, in regrid_z_axis_to_plevs
    ds_plevs = _hybrid_to_plevs(ds, var_key, plevs)
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/e3sm_diags/driver/utils/regrid.py", line 586, in _hybrid_to_plevs
    result = ds.regridder.vertical(
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/xcdat/regridder/accessor.py", line 400, in vertical
    output_ds = regridder.vertical(data_var, self._ds)
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/xcdat/regridder/xgcm.py", line 155, in vertical
    grid_coords = self._get_grid_positions()
  File "/global/cfs/cdirs/e3sm/zhang40/conda_envs/e3sm_diags_dev_654_zonal_mean_xy/lib/python3.10/site-packages/xcdat/regridder/xgcm.py", line 235, in _get_grid_positions
    raise RuntimeError("Could not determine `Z` bounds in dataset.")
RuntimeError: Could not determine `Z` bounds in dataset.

What did you expect to happen? Are there are possible answers you came across?
No response
Minimal Complete Verifiable Example (MVCE)
Command line:
python run_script.py -d U.cfg

# run_script.py

import os
from e3sm_diags.parameter.core_parameter import CoreParameter
from e3sm_diags.run import runner

param = CoreParameter()

#param.reference_data_path = '/global/cfs/cdirs/e3sm/diagnostics/observations/Atm/climatology'
#param.test_data_path = '/global/cfs/cdirs/e3sm/zhang40/e3sm_diags_for_EAMxx/data/Cess'
param.reference_data_path = '/global/cfs/cdirs/e3sm/diagnostics/observations/Atm/climatology'
param.test_data_path = '/global/cfs/cdirs/e3sm/chengzhu/eamxx/post/data/rgr'
param.test_name = 'eamxx_decadal'
param.seasons = ["ANN"]
#param.save_netcdf = True

prefix = '/global/cfs/cdirs/e3sm/www/zhang40/tests/eamxx'
param.results_dir = os.path.join(prefix, 'eamxx_decadal_edv3')

runner.sets_to_run = ["zonal_mean_2d"]

runner.run_diags([param])

configuration file, U.cfg:
[#]
sets = ["zonal_mean_2d"]
case_id = "MERRA2"
variables = ["U"]
ref_name = "MERRA2"
reference_name = "MERRA2 Reanalysis"
seasons = ["ANN"]
test_colormap = "PiYG_r"
reference_colormap = "PiYG_r"
contour_levels = [-40,-30,-25,-20,-15,-10,-5,-2.5,2.5,5,10,15,20,25,30,40]
diff_levels = [-7,-6,-5,-4,-3,-2,-1,1,2,3,4,5,6,7]

### Relevant log output

_No response_

### Anything else we need to know?

_No response_

### Environment

latest cdat-migration branch

Related input file: '/global/cfs/cdirs/e3sm/chengzhu/eamxx/post/data/rgr/eamxx_decadal_ANN_199601_199612_climo.nc'
A few things I found:

The input file is missing Z bounds.

I think the CDAT codebase automatically generates bounds.
Solution: Update _open_climo_dataset()  to add bounds for "Z" axis (lev)

The input file is missing CF attributes for the Z axis (lev).

xCDAT can't map to Z axis bounds ("lev_bnds") for "lev" because "lev" does not have the required CF attributes.
Opened an issue on xCDAT repo: https://github.com/xCDAT/xcdat/issues/707
I think CDAT can map to lev without CF attributes.

We can either 1) wait for xCDAT to have a new release with a fix for 707 or 2) add temporary code in e3sm_diags to make sure the input dataset object's Z axis has CF attributes to retrieve bounds.

Closed by #865


(fix) case sensitive parameters in policies

Overview/Summary
Replace this with a brief description of what this Pull Request fixes, changes, etc.
This PR fixes/adds/changes/removes
As discussed in issue #185, the parameter names are case sensitive for terraform, and it would be great if the policies would be consistent in the casing of the parameter names.
Breaking Changes
No breaking changes.
As part of this Pull Request I have

[X] Read the Contribution Guide and ensured this PR is compliant with the guide
[X] Checked for duplicate Pull Requests
[X] Associated it with relevant GitHub Issues or ADO Work Items (Internal Only)
[X] Ensured my code/branch is up-to-date with the latest changes in the main branch
[X] Ensured PR tests are passing
[X] Updated relevant and associated documentation (e.g. Contribution Guide, Docs etc.)

LGTM


add docker-compose for dev

Add docker-compose file for testing changes locally.
Instructions:

Install docker and docker-compose
Run docker-compose up -d
Open browser to http://localhost:4000

Added this so I could easily test my changes live before opening a PR


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 174 ms

Resolved: ClamAV performance has improved in c3f8dcc after 5 minutes.


Added Firefox version 81.0.1

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

Microsoft Reviewers: Open in CodeFlow

I accidentally used the wrong branch, let me redo this.


x:Static with "Path"

Hi, not sure if this is intended or a limitation of not being able to give a path to an x:Static statement?
Here an example what I try to use:
<DataTriggerBehavior Binding="{Binding Action}"
                     ComparisonCondition="Equal"
                     Value="{x:Static local:ProfileActionPageViewModel.ProfileAction.Delete}">
    <ChangePropertyAction TargetObject="{Binding $parent[TextBlock]}"
                          PropertyName="Text"
                          Value="Deleting a profile..." />
</DataTriggerBehavior>

Since local:ProfileActionPageViewModel.ProfileAction.Delete does not work, I only got it working when I moved the enum definition out of the class scope into the namespace scope and reference it like so local:ProfileAction.Delete.
Is this a limitation of x:Static or is this a bug (not yet implemented feature)?
Or am I doing anything wrong?
PS: produced error:
ProfileActionPage.xaml(46,93,46,93): Avalonia error XAMLIL: Unable to resolve ProfileAction.Create as static field, property, constant or enum value Zeile 46, Position 93.

This PR should solve it
https://github.com/kekekeks/XamlX/pull/54
But from what I remember there was some blocker with it...

Ah "nested" was the word that I was looking for in order to check for already opened issues but it didn't wanted to come into my mind :)
On my Xamarin project I used the notation with the plus sign local:ProfileActionPageViewModel+ProfileAction.Delete which would also solve my issue when this support gets integrated. So, I do not need an support for any "Path" like it is available for Bindings. Therefore we can close this issue here and I will follow the mentioned PR. Thanks


Select on marked date

Hello @SpongeBobSun
It seems that I cant make selection on marked date, can you give me solution?

Oh, you can mark selection for that,
public void onDateClick(View view, DateData date) {
Log.i("MARKED DATE", date.getDayString() + "-" + date.getMonthString() + "-" + date.getYear() + "");
//mark the date
calendarView.markDate(date);
}

@htooaunghlaing Thanks.
@talazoft Close this issue for now. Any further questions please re-open it.


Does not work in Windows Phone 8.1 Internet Explorer

The plugin does not work at all on Nokia Lumia 520 WP 8.1 Internet Explorer.

Any update about this?

There comes a patch about MS touch devices, d6bd30f2daf677d1d56541df784654e47ab86087.
Will close for a while, but feel free to reopen.


Consistent use of the informal speech for german

The german response messages were a mixture of formal (Sie) and informal (du). I changed everything to be consistently using the informal language. At least for me, Alexa was always talking to me in the informal way.

Thanks! LGTM.


ldns: 1.7.0 -> 1.7.1

Motivation for this change
https://www.nlnetlabs.nl/news/2019/Jul/26/ldns-1.7.1-released/

examples no longer can be configured separately,
so build everything we want in a single go
and sort into the appropriate outputs after.
libtool file doesn't seem to reference openssl at all
so nothing to patch up there as we did previously.

Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

(reviewers requested per github suggestion, FWIW and thank you :))

@GrahamcOfBorg build dnscrypt-proxy strongswan tlspool freeswitch


Can't set parameter 'pageNumber'?

Can someone check this issue?

Who can help me? Thanks.

@sytana,
Check this explanation: https://github.com/superRaytin/paginationjs/issues/44#issuecomment-359229843

@sytana in this case, you can call container.pagination('go', 21) in callback function


Handle Copy for http context

recommended from here: https://github.com/getumbrel/umbrel-apps/pull/785#issuecomment-1741693788

Many other features only work with TLS so no real reason to support this. Closing


Added code for Jump Sort

Added code for Jump Sort  and updated all readme files
thanks for the help :)

Try to add new issue and assign yourself
then make PR
and after successful merge close the issue by giving reference

Try to add new issue and assign yourself then make PR and after successful merge close the issue by giving reference

Try This one
If you want to learn about issues and its discussion


Evaluation Procedure

Thanks a lot for the great codes!
I have a question related to the evaluation procedure reported in Appendix D.3 section of the paper (https://openreview.net/pdf?id=iX1RjVQODj).

To fully replicate this evaluation procedure, what command(s) should I use?
Thanks again!

This is handled automatically by our plotting script by setting the window size to 8. This does the following:

For each seed, compute the moving average success rate.
Average the moving average success rates across all seeds
Return the maximum of this over the training run.


Fix containsExactly not working properly with maps not using equals to compare keys

Check List:

Fixes #2165
Unit tests : YES
Javadoc with a code example (on API only) : NA
PR meets the [contributing guidelines](https://github.com/assertj/assertj-core/blob/main/CONTRIBUTING.md : Check

Let me know if there is anything I missed.
I created tests that run on all case insensitive maps, but didn't add ones for normal ones. I wasn't sure if the existing test suite is already sufficient. I can still add that of course.

I created tests that run on all case insensitive maps, but didn't add ones for normal ones. I wasn't sure if the existing test suite is already sufficient. I can still add that of course.

I think the existing tests are not providing the needed coverage, especially for unmodifiable implementations.
The best would be having two parameterized tests like in Maps_assertContainsOnlyKeys_Test, so should_pass:
https://github.com/assertj/assertj-core/blob/8fa801095be09d75155bb6f159fb33f621512dcf/src/test/java/org/assertj/core/internal/maps/Maps_assertContainsOnlyKeys_Test.java#L86-L96
and should_fail:
https://github.com/assertj/assertj-core/blob/8fa801095be09d75155bb6f159fb33f621512dcf/src/test/java/org/assertj/core/internal/maps/Maps_assertContainsOnlyKeys_Test.java#L130-L144

I added the tests and fixed some errors that came from them :slightly_smiling_face:

closing as it is addressed by https://github.com/assertj/assertj-core/pull/2623 which keeps @wouterpolet as the author.


AutoScaling listAutoScalingGroups and setDesiredCapacity

Codecov Report

Merging #3 (3901951) into master (c2b99ca) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   97.40%   97.46%   +0.05%
==========================================
  Files          58       61       +3
  Lines        1274     1304      +30
==========================================
+ Hits         1241     1271      +30
  Misses         33       33

Impacted Files
Coverage Δ

AutoScaling.js
100.00% <100.00%> (ø)

EC2.js
100.00% <100.00%> (ø)

.../AWSAutoScalingDescribeAutoScalingGroupsFilters.js
100.00% <100.00%> (ø)

internal/AWSEC2DescribeInstancesFilters.js
100.00% <100.00%> (ø)

internal/toArray.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c2b99ca...3901951. Read the comment docs.