mongo-connector stuck in "Logging to mongo-connector.log."

I'm new to Mongo-connector and Solr, I followed the steps provided : https://github.com/mongodb-labs/mongo-connector/wiki/Getting-Started , however in the terminal I only get one line: "Logging to mongo-connector.log." and it gets stuck in there.
Any idea why that happens and how to fix that please ?
Thank you

I am also facing this issue.

You can enable the log level to 3 or verbose, then it will tell you more detail.

how can I do that please ?
I went to the file containing mongo-connector ( c:\Python27\Scripts) and it contains a new TIMESTAMP file named oplog which has only one entry : ["myrs",<PHONE_NUMBER>740940801] , myrs is the name of my replicaSet in MongoDB, so does that give an idea where things went wrong ?

This issue is too generic to be addressed; we'll need to create new issues to address specific problems. The message "Logging to mongo-connector.log" means messages of any significance will be sent to the file called "mongo-connector.log". This is completely normal behavior. If you believe you are having an issue, please create a new issue and make sure to include the contents of this file, which will have more details on what is going wrong.
As @hungvotrung noted above, you can increase the verbosity of the log file like this: https://github.com/mongodb-labs/mongo-connector/wiki/Configuration-Options#verbosity

If I may, the problem is that it doesn't display anything in the command line other than "Logging to mongo-connector.log" however  the file called "mongo-connector.log" is empty and it doesn't change even after several minutes of execution.
I suppose this can be qualified as an issue (there are others facing the same problem as well) knowing that I followed all the steps provided in your documentation, but I can't provide further details since the log file is empty which is an abnormal behaviour.
Is there a solution please ?

Same issue I faced. Nothing in mongo-connector.log file.

I am facing the same issue. My mongo-connector version is 2.5.1. The operating system I am using is Ubuntu-16. I have started the mongo server in replica-set mode with the command sudo mongod --replSet myDevReplSet.
$ mongo-connector --version
mongo-connector version: 2.5.1

I have tried the following ways to increase the verbosity of log, but none of them worked. In my case too mongo-connector hung without any indication in error log.
$ mongo-connector --verbose 3 --unique-key=id -n solr_test.films -m localhost:27017 -t http://localhost:8983/solr/films -d solr_doc_manager
Traceback (most recent call last):
  File "/usr/local/bin/mongo-connector", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/util.py", line 104, in wrapped
    func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/connector.py", line 1275, in main
    conf.parse_args()
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/config.py", line 106, in parse_args
    + ', '.join(args))
mongo_connector.errors.InvalidConfiguration: The following command line arguments are not recognized: 3

$ mongo-connector -v 3 --unique-key=id -n solr_test.films -m localhost:27017 -t http://localhost:8983/solr/films -d solr_doc_manager
Traceback (most recent call last):
  File "/usr/local/bin/mongo-connector", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/util.py", line 104, in wrapped
    func(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/connector.py", line 1275, in main
    conf.parse_args()
  File "/usr/local/lib/python2.7/dist-packages/mongo_connector/config.py", line 106, in parse_args
    + ', '.join(args))
mongo_connector.errors.InvalidConfiguration: The following command line arguments are not recognized: 3

$ mongo-connector --verbose=3 --unique-key=id -n solr_test.films -m localhost:27017 -t http://localhost:8983/solr/films -d solr_doc_manager
Usage: mongo-connector [options]

mongo-connector: error: --verbose option does not take a value

$ mongo-connector -v=3 --unique-key=id -n solr_test.films -m localhost:27017 -t http://localhost:8983/solr/films -d solr_doc_manager
Usage: mongo-connector [options]

mongo-connector: error: no such option: -=

It stucks here without pushing/syncing any data to solr
$ mongo-connector --verbose --unique-key=id -n solr_test.films -m localhost:27017 -t http://localhost:8983/solr/films -d solr_doc_manager
Logging to /home/eddie7/mongo-connector.log.

Here is the log from mongo-connector.log
2018-03-15 17:19:20,607 [ALWAYS] mongo_connector.connector:51 - Starting mongo-connector version: 2.5.1
2018-03-15 17:19:20,607 [ALWAYS] mongo_connector.connector:51 - Python version: 2.7.12 (default, Nov 20 2017, 18:23:56)
[GCC 5.4.0 20160609]
2018-03-15 17:19:20,607 [ALWAYS] mongo_connector.connector:51 - Platform: Linux-4.4.0-116-generic-x86_64-with-Ubuntu-16.04-xenial
2018-03-15 17:19:20,607 [ALWAYS] mongo_connector.connector:51 - pymongo version: 3.3.0
2018-03-15 17:19:20,610 [ALWAYS] mongo_connector.connector:51 - Source MongoDB version: 3.2.18
2018-03-15 17:19:20,611 [ALWAYS] mongo_connector.connector:51 - Target DocManager: mongo_connector.doc_managers.solr_doc_manager version: 0.1.0
2018-03-15 17:19:20,616 [INFO] mongo_connector.oplog_manager:120 - OplogThread: Initializing oplog thread
2018-03-15 17:19:20,617 [INFO] mongo_connector.connector:390 - MongoConnector: Starting connection thread MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True, replicaset=u'myDevReplSet')
2018-03-15 17:19:20,618 [DEBUG] mongo_connector.oplog_manager:194 - OplogThread: Run thread started
2018-03-15 17:19:20,618 [DEBUG] mongo_connector.oplog_manager:196 - OplogThread: Getting cursor
2018-03-15 17:19:20,618 [DEBUG] mongo_connector.oplog_manager:830 - OplogThread: reading last checkpoint as Timestamp(1521109253, 1)
2018-03-15 17:19:20,619 [DEBUG] mongo_connector.oplog_manager:704 - OplogThread: Oldest oplog entry has timestamp Timestamp(1520932472, 1).
2018-03-15 17:19:20,620 [DEBUG] mongo_connector.oplog_manager:217 - OplogThread: about to process new oplog entries
2018-03-15 17:19:20,620 [DEBUG] mongo_connector.oplog_manager:219 - OplogThread: Cursor is still alive and thread is still running.
2018-03-15 17:19:21,620 [DEBUG] mongo_connector.oplog_manager:219 - OplogThread: Cursor is still alive and thread is still running.

Here is a strace  log if that can be helpful.
ps -aux | grep mongo-connector
userx    9351  0.0  0.0  54108  8744 pts/28   S+   17:23   0:00 vim mongo-connector.log
userx   10824  4.7  0.1<PHONE_NUMBER>6 pts/19   Sl+  17:31   0:00 /usr/bin/python /usr/local/bin/mongo-connector --verbose --unique-key=id -n solr_test.films -m localhost:27017 -t http://localhost:8983/solr/films -d solr_doc_manager
userx   10904  0.0  0.0  14228   932 pts/30   S+   17:31   0:00 grep --color=auto mongo-connector

$ sudo strace -p 10824
[sudo] password for eddie7:
strace: Process 10824 attached
select(0, NULL, NULL, NULL, {2, 839525}) = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)
select(0, NULL, NULL, NULL, {3, 0})     = 0 (Timeout)


maven plugin

plugin to generate classes post compile and stuff them in target jar

Must also make sure that this integrates well with Quarkus.


Remove unused variables and imports

Remove unused variables and imports with the help of autoflake augmented with some manual changes and deletions. Everything seems to work with this.

@lucassz This looks good. Thanks for taking care of this. Is it ready to be merged?

@hdoupe I think so, yes.

Thanks for the contribution @lucassz


logger: Fix possible panic after completion

After completing check:data, the Progress field for the current status
may be nil, so the old code could panic.

If Heimdall is stuck, please click the following link: https://heimdall-public.cbhq.net/v1/pull_request/stuck?pr_number=146&repository=coinbase/rosetta-cli


Implement dropout functionality for Wormhole using hardware PRNG

We need to implement the dropout functionality for wormhole in llk and make sure the hardware PRNG is used.
The function should drop or zero out some elements from a tile depending on a argument denoting the probability of doing so and for the rest of the elements we should scale them by a scale factor.
A proper initialization of the seed for the PRNG is also needed and may need to be placed somewhere other than the init function for the dropout to save cycles.
A deterministic test case is hard to make since each lane in each sfpu will be generating its own independent PRNGs and it will be hard to match them with a golden, so at least a test case that checks if the percentage of biases/elements dropped matches the provided probability or not, should be provided.

Merged the PR (containing test cases for repeatability with same seed and uniqueness with different seeds.


Compile fails with clang++ MacOSX at isnan() macro check

In math.h, isnan() is defined as macro, but probably including boost header files undefine it and define std::isnan instead. The current code uses std::isnan only if __cplusplus >= 201103L, but boost header may define std::isnan (and undef isnan), despite __cplusplus < 201103L (i.e., c++98 mode). Using -std=c++11 flag can avoid this problem, but this option cannot be used with boost::thread (ver 1_57), which fails with error message saying cannot find type_trait header file. (newer version of boost possibly resolved this problem but I havnt't checked yet)

The problem was fixed by changing the source file using isnan(), by using the ifdef macros.


Show errors for resending and revoking invitations inside confirmation modals

At present, errors when resending or revoking invitations are shown with

.

Current (screenshot)

![image](https://github.com/user-attachments/assets/f5a1d488-27e3-4d28-a04d-ee08548e6a98)

Instead, we should show these errors inside the modal (leaving the modal open), as we do for errors when moving messages, etc. We should also update the error text:

Resending: "Error: Could not resend invitation."
Revoking: "Error: Could not revoke invitation."

Confirmation modals (screenshots)

Related issues:

#31289
#31282

CZO thread

@zulipbot claim


Change Gateway ID in Device Details to Gateway list (selectable)

Discussed in https://github.com/CGI-FR/IoT-Hub-Portal/discussions/1150

Originally posted by awesome-ideas[bot] September  1, 2022
When specifying the Gateway identifier for a LoRaWAN device, it could be better to have an auto-complete select box that will help the user to better change this value.

The Gateway ID is the device id that is running the LoRaWAN Network server module.

Gateway ID should visible in device create view


Baseline article template - byline text should have smaller highlight color container

The smaller text should have less space around it with the black highlight color. Maybe only 10 px padding. It looks funny right now...

/to @spacedino  to spec

10 px padding


RuntimeError: Cannot clone object LassoCV(...), as the constructor either does not set or modifies parameter precompute

When setting n_jobs=-1 on MultiOutputRegressor
from sklearn.multioutput import MultiOutputRegressor
from celer import LassoCV
m=MultiOutputRegressor(LassoCV(fit_intercept=False,cv=10,tol=0.1),n_jobs=-1)
m.fit(X,y)

Results in:

[/usr/local/lib/python3.10/dist-packages/joblib/parallel.py](https://3h911umxekx-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240709-060151_RC00_650580690#) in _return_or_raise(self)
    761         try:
    762             if self.status == TASK_ERROR:
--> 763                 raise self._result
    764             return self._result
    765         finally:

RuntimeError: Cannot clone object LassoCV(cv=10, fit_intercept=False, tol=0.1), as the constructor either does not set or modifies parameter precompute

I have attempted to explicitly set precompute but this doesn't help. It works as expected when n_jobs=1 on MultiOutputRegressor.

Thanks for raising this @chrism2671, it should be fixed by #295 that I'll merge as soon as the CI is green.
If you use celer in research work, we kindly ask that you cite our papers (see the README) ; if it's in an industrial context, we'd love to hear more about your usecase. You can also have a look at our skglm package that implements many more models and penalties, in particular non convex ones that have better sparsifying properties.

Wow, that was fast! And here I was struggling to install the deps to do it myself! Thank you so much! :D

@chrism2671 this would really help us:

If you use celer in research work, we kindly ask that you cite our papers (see the README) ; if it's in an industrial context, we'd love to hear more about your usecase. You can also have a look at our skglm package that implements many more models and penalties, in particular non convex ones that have better sparsifying properties.

I'm attempting to reimplement this paper:
https://www.researchgate.net/publication/314533287_Sparse_Signals_in_the_Cross-Section_of_Returns
On my significantly reduced dataset (1 year of data, 100 columns), this takes my laptop approximately 2-3 days using sklearn, and seems to be about 10 hours using Celer. The paper using R/glmnet, and thanks a supercomputer center in its notes.
I've worked hard to try to accelerate this (even writing my own lasso in KDB/q), and experimenting with Cuda Rapids, but Celer is the fastest by far. In my case, because of the MultiOutputRegressor, I'm doing many millions of small regressions. I do wonder if Python's inefficient multiprocessing is part of the bottleneck.

How many rows do you have in your dataset ?
For such "large n_samples, small n_features" datasets, you should have a look at our GramCD solver in skglm which is super fast : https://github.com/scikit-learn-contrib/skglm/issues/229

It's the other way unfortunately, (n_samples=30, n_features=300)


Fix container build with styleguide

@ionphractal FYI this fixes the container build

seems to be an issue with my setup... will check again


Improvment: Link up to 3 receiver per arduino

Hi,
First thanks for sharing this, it is really great.
Why didn't you link more receiver per Arduino? I think you can put up to 3 per arduino.
Was it because the loop will take more than 1ms?
If not, it might be an improvment that allow to have cheaper kit for 3 drones (which is great for friend racing!)
Thanks!

Because of modular design.
Suggested improvement is out of scope of this project.


SqlAzureDacpacDeployment: can't control exported bacpac location

Question, Bug, or Feature?
Type: Bug
Enter Task Name: SqlAzureDacpacDeployment
https://github.com/microsoft/azure-pipelines-tasks/tree/master/Tasks/SqlAzureDacpacDeploymentV1
Environment

Server - Azure Pipelines or TFS on-premises? Azure Pipelines

Agent - Hosted or Private: N/A, both

Issue Description
When using the export deploymentAction, there's no way to control where the output file goes. It always goes to GeneratedOutputFiles\myDatabase.bacpac inside the source tree.
I tried supplying /TargetFile: but that resulted in a duplicate argument error:
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\Microsoft\SQLDB\DAC\150\SqlPackage.exe" /Action:Export /TargetFile:"C:\agent\_work\3\s\GeneratedOutputFiles\myDatabase.bacpac" /SourceServerName:"myDatabase.database.windows.net" /SourceDatabaseName:"myDatabase" /SourceUser:"myDatabase" /SourcePassword:"********" /p:AllowIncompatiblePlatform=true /TargetFile:C:\agent\_work\_temp\\prod_backup.bacpac

I also tried using the dacpacFile or bacpacFile inputs, but that didn't change behavior either, and didn't result in errors - the most logical choice would probably be bacpacFile for the export deploymentAction.
The only workaround is to live with the default path and use the SqlDeploymentOutputFile output variable to determine where it lives and delete it afterward. Unfortunately, this makes it impossible to do cleanup at the beginning of a pipeline.

@kevin-david
Yes, currently only default path is supported. I have marked it as an enhancement.


Added scenarios and step definitions for the feature file

AS-2552
Added Scenarios and step definitions to the feature file.

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

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

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

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

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

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


GUI Runner - VCL

DUnitX lacks a GUI runner like DUnit's. I plan on working on this next (VCL Only).

Can be closed, right?

I certainly think TestInsight fits the bill :)

Yes, closing. I was actually working on the same sort of thing as test insight but stephan beat me to it, I use testinsight all the time now, certainly fits the bill.

Really cool.
I think it's good add a link to the project (I had to go to google).
TestInsight - unit testing like a pro

Better add a comment with link to https://bitbucket.org/sglienke/testinsight/wiki/Home into the wizard generated projects...


Update email template

@christopheschwyzer please review
I will then extend from this template in sk.

ah function.mailButton - cool.
It's a bit weird that styles are defined inside the function. Maybe we should extract all button styles from form.less into a button.less and than require this file. Than again - quite different requirements for mail...
There is also quite some duplication of styles in mailHtml and layout.less - not sure it's easy to extract.
Otherwise lgtm.

I agree the duplication between web and email styles is not so nice. But oftentimes there's very special behaviour in old email clients, and the styles (and markup) need to be adjusted (for example some clients don't have max-width).
If we wanted to combine the definition of web and email styles I think we would need a CSS inliner tool, which would be whole different story. I don't think it's worth doing that.
I've moved the button definition to a "helper" smarty template (instead of a function). Also I've moved the base row layout for the email into the template.
What do you think?
It looks good on all clients now: https://litmus.com/pub/6b1284f
Waiting for Windows Phone to be available on Litmus again..

Small detail: How about adding text-decoration: none !important; in button.tpl to prevent hover effect?! - or even do it globally for all <a>?

Works good, please double check!

lgtm!


GameObject LocalState

We need access to a GameObject's LocalState.
The LocalState is the current state of the object, which takes into account instances, as well as transformed npcs (e.g. an npc modified during a quest).
Specifically, I would like to make an Abyss plugin that requires the local state of the obstacles (although the Abyss itself is not a per-player instance, the obstacles are).
Related:
#1755
#1572

This has been accessible since before this issue was created.


Update installation method of probe-rs

The cargo command no longer works as of 0.24: https://github.com/probe-rs/probe-rs/releases/tag/v0.24.0 This changes it to the installation method featured on the probe.rs site.

thanks!


fix format typos

Codecov Report

Merging #53 (b7a4796) into master (86650ac) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##           master      #53   +/-   ##
=======================================
  Coverage   32.06%   32.06%
=======================================
  Files          67       67
  Lines        4170     4170
=======================================
  Hits         1337     1337
  Misses       2833     2833

Impacted Files
Coverage Δ

lona/server.py
20.77% <0.00%> (ø)

lona/view_runtime.py
16.92% <0.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 86650ac...b7a4796. Read the comment docs.

Ack! Thanks! :)


App is logging line changes that did not occur

Trips like the following one are appearing in the server logs:

This is obviously incorrect. The app is logging a line change to the pt-ml-azul line, only to proceed to other pt-ml-verde stations. The pt-ml-bc (Baixa-Chiado) station appears to trigger the bug quite easily.
Fortunately, it should be possible to correct the logs relatively easily on the server side, by making a program that analyses trips one by one and removes invalid line changes.

This problem was identified as only occurring on trips submitted by a very old app version (from May). The code has been completely overhauled since then.


Avoid DeprecationWarning of scipy

After<EMAIL_ADDRESS>the scipy.sparse.csr namespace is deprecated. So category_encoders asserts the DeprecationWarning when it depends scipy:^1.8.0;
$ python -Wd
Python 3.10.4 (main, Apr  6 2022, 00:48:19) [GCC 7.3.1 20180712 (Red Hat 7.3.1-13)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import category_encoders
(omitted)/python3.10/site-packages/category_encoders/utils.py:5: DeprecationWarning: Please use `csr_matrix` from the `scipy.sparse` namespace, the `scipy.sparse.csr` namespace is deprecated.
  from scipy.sparse.csr import csr_matrix
>>> category_encoders.__version__
'2.4.0'
>>> import scipy
>>> scipy.__version__
'1.8.0'

We need to use csr_matrix from the scipy.sparse namespace. This namespace exists at least<EMAIL_ADDRESS>until now (docs)
Proposed Changes

To avoid the DeprecationWarning, we import csr_matrix from the scipy.sparse instead of the scipy.sparse.csr which is deprecated.

※ This is my first pull request, so I apologize if there are any problems. I would appreciate it if you could check it.

Thanks for your contribution. LGTM & merging


Turn node/rel property key maps into simple Scala maps

Provide extra functionality with extension methods
Also add a test for Schema JSON serialisation/deserialisation

cya map.map.map :wave:


need a way to run workflow for a given history locally

make it possible to debug in IDE (to step through) for a given history.
would be great if we could run a saved history from a file (with json formatted history), so people can change history to test different kind of scenario.
this will make it possible to unit test the replay part of the code

One option is to use worker query per https://github.com/uber/cadence/issues/390

yay, already an open issue!
this would be super useful for us, both for offline validation of changes (make sure we don't introduce breaking changes before we deploy) and for inspecting historical workflows in bulk (since we could just write a query handler for what we want to know, and run queries on a ton of old workflows).  count me in as a +1 for this feature.

https://github.com/uber-go/cadence-client/pull/441
The only missing feature is an ability to replay from a history downloaded from UI or CLI.


Investigate why sccache is not working in the workflow

Per #127 we discovered that sccache is actually not caching anything on the CI, so we removed it again.
But in theory, we should be able to replace cargo-cache with sccache if it actually worked.

Marking as wontfix to wait until after Bevy Jam 5.


add delay suggestion in WriteCommand()

Hi,
With Atmega16, If debugPrint is false, I need to add a delay(10), otherwise sending will be successful but the other side will not receive it.
void SX126x::WriteCommand(uint8_t cmd, uint8_t* data, uint8_t numBytes, bool waitForBusy) {
  // ensure BUSY is low (state meachine ready)
  WaitForIdle();

  // start transfer
  digitalWrite(SX126x_SPI_SELECT, LOW);
  SPI.beginTransaction(SPISettings(2000000, MSBFIRST, SPI_MODE0));

  // send command byte
  if(debugPrint) {
    Serial.print("WriteCommand:  CMD=0x");
    Serial.print(cmd, HEX);
    Serial.print(" ");
    Serial.print(" DataOut: ");
  }
**delay(10)**
  SPI.transfer(cmd);

do you know why?

I guess it needs some gap between SPI command. That's why when you set debugPrint to true, it needs to spend sometimes to serial.print so it works fine. I look at RadioLib code, there're mostly delay(1) between command.

Atmega328 works without Delay.
It seems to be an issue only for Atmega16.

Have you confirmed with the receiver side? On my Atmega16(debugPrint=false), it's sent successfully but receiver doesn't receive the data.

Atmega328 can send and receive correctly without delay.

I use Atmega16 at one side and ESP8266 on the other end. Ok, I will update further if I have more info on this issue.


Add firebase for conversion tracking

Remove all files in ios/Pods/ and force use of pod install in postinstall script instead
Add react-native-firebase dependency
Add events for new wallet creation and ShapeShift transactions
Add dummy Firebase config files
Create new deploy.js script to build, sign, and deploy to hockey app.

Deploy.js was required due to Firebase required config files with API keys that need to be copied into appropriate directories upon build. This script is a fork and modification of buildbot.js from airbitz-buildserver

Whoohoo. after 3 days working on this, I finally have a successful Travis build, Kombucha build, and local dev build. Can someone please prioritize getting this PR merged?

This seems to already be merged and doesn't have conflicts. Maybe a github bug


Hours of Service Regulations

I am interested in implementing Hours of Service Regulations, which limit the hours a driver can operate a truck as constraints in my optimization:
https://www.fmcsa.dot.gov/regulations/hours-service/summary-hours-service-regulations
I do not think this is covered in the examples, but it seems like a problem many people will have with vehicle routing. Has anyone implemented this or does anyone have ideas how one would go about it?
Thanks.

Hi Ben, these are typically called time windows. We've got an example here:
https://developers.google.com/optimization/routing/tsp/vehicle_routing_time_windows
If there's anything we can do to make the documentation clearer, let us
know!
Jon
On Tue, Oct 10, 2017 at 4:43 PM, Ben Dichter<EMAIL_ADDRESS>wrote:

I am interested in implementing Hours of Service Regulations, which limit
the hours a driver can operate a truck as constraints in my optimization:
https://www.fmcsa.dot.gov/regulations/hours-service/summary-hours-service-
regulations
I do not think this is covered in the examples, but it seems like a
problem many people will have with vehicle routing. Has anyone implemented
this or does anyone have ideas how one would go about it?
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/500, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIoiWx5foW3Qqbh8gZCrcf5u8IKNq6MJks5sq9b0gaJpZM4P0i_5
.

Hi Jon,
Thanks for the help. I think these time windows are referring to constraints on shipments i.e. when they need to be delivered.
The constraints I am looking for are on the vehicles. I want to say something like "this vehicle must take a break after driving 11 hours". I think I found a lead here, however there are two issues I still can't figure out. The first is how I set up the proper relation between constraints. This example enforces that two breaks are at least 1 hour apart, but I want one that is at most 11 hours apart. The second issue is that I have written the rest of this in python, and I am not sure how to port this over. Specifically, I am looking for operations_research::Solver::STARTS_AFTER_END (or another condition if it handles my needs).

I figured it out. In python it's a method of InvervalVar

Would you please tell how did you implement it? I am not finding a method named  InvervalVar under ortools.constraint_solver import pywrapcp or in pywrapcp.RoutingModel and I am not sure how I can add that as a constraint.

It is a method of pywrapcp.Solver
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le mar. 5 févr. 2019 à 13:39, Abhi001vj<EMAIL_ADDRESS>a écrit :

Would you please tell how did you implement it? I am not finding a method
named InvervalVar under ortools.constraint_solver import pywrapcp or in
pywrapcp.RoutingModel and I am not sure how I can add that as a constraint.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/500#issuecomment-460623325,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKj17T5iE1qk5bW-7INIZNTuSsZtvQHXks5vKXuCgaJpZM4P0i_5
.


HLS fMP4

With HLS supporting mp4 fragments instead of ts since sometime last year, do you have any plans to make it possible to write HLS and DASH manifests that reference the same segment chunks?

Currently it's really easy to cut TS fragments from TS input. But since DASH needs mp4 anyway, probably at some point it will make sense to write only mp4. Now there's much other work to do on the module until that.

You might want to keep an eye on the CMAF (ISO/IEC CD 23000-19) spec. That's where this supposed unification of DASH / HLS fragment formats is taking place.
I haven't really been able to determine if it is intended to replace DASH & HLS, or if it is supposed to be an abstraction that is meant to ensure interoperability.

Thanks @ReubenM.

BTW, HLS is now defined in RFC8216 and has a chapter about fMP4.

ok

I think that creating an nginx-cmaf-module would be a killer. Are you interested in it?


False positives in Style/StringReplacement

I noticed that if the pattern and replacement are both Strings, and the pattern is multiple characters, but the replacement is a single character, you still get:
Use 'tr' instead of 'gsub'
So for example:
[1] pry(main)> 'abcdef'.gsub('cde', '!')
=> "ab!f"
[2] pry(main)> 'abcdef'.tr('cde', '!')
=> "ab!!!f"

As you can see, the result is different, so rubocop should not be complaining about this.

@mneumark, what version of RuboCop are you using? I ran your example against master and no offense was produced.
# test.rb
'abcdef'.gsub('cde', '!')

$ b rubocop --only Performance/StringReplacement --cache false test.rb
Inspecting 1 file
.

1 file inspected, no offenses detected

Okay, I thought I was accurately replicating the situation but apparently not. I am using 0.34.2.
Here is a sample of the actual code:
'foobarbaz'.gsub("\xe2\x80\x93", '-')

I have verified that this is a bug. I can reproduce this on my system. I am going to have to do some digging to figure out the best way to fix this. Even though the string appears to have more than one character, it is part of a unicode sequence to produce a single character. Ruby reports this as a string of length one.

I was working on a fix for this, but after playing around with the functionality of gsub, tr, and delete using unicode patterns and replacement, I no longer believe this is a bug. All of the methods treat unicode as a single character when matching and replacing.
pry(main)> "xe2\xe2\x80\x93".gsub("\xe2\x80\x93", '(')
=> "xe2("
pry(main)> "xe2\xe2\x80\x93".tr("\xe2\x80\x93", '(')
=> "xe2("
pry(main)> "!!".gsub("!", "\xe2\x80\x93")
=> "––"
pry(main)> "!!".tr("!", "\xe2\x80\x93")
=> "––"

Looks like this can be closed.


Upgrading to 1.4.0 Error

1.4.0 Upgrade fails with this error in the logs
`Collecting django-pipeline==1.6.8 (from -r /home/zulip/deployments/2016-09-03-13-13-17/requirements/common.txt (line 143))
Downloading django-pipeline-1.6.8.tar.gz (52kB)
Collecting apns-2.0.1 from<EMAIL_ADDRESS>(from -r /home/zulip/deployments/2016-09-03-13-13-17/requirements/common.txt (line 146))
Cloning https://github.com/sharmaeklavya2/PyAPNs.git (to remove-simplejson) to /tmp/pip-build-ao65bx0y/apns-2.0.1
Running setup.py (path:/tmp/pip-build-ao65bx0y/apns-2.0.1/setup.py) egg_info for package apns-2.0.1 produced metadata for project name apns. Fix your #egg=apns-2.0.1 fragments.
Collecting cchardet==1.0.0 (from -r /home/zulip/deployments/2016-09-03-13-13-17/requirements/emailmirror.txt (line 2))
Downloading cchardet-1.0.0.tar.gz (609kB)
Collecting cssselect==0.9.2 (from -r /home/zulip/deployments/2016-09-03-13-13-17/requirements/emailmirror.txt (line 3))
Downloading cssselect-0.9.2.tar.gz
Collecting lxml==3.6.1 (from -r /home/zulip/deployments/2016-09-03-13-13-17/requirements/emailmirror.txt (line 4))
Downloading lxml-3.6.1.tar.gz (3.7MB)
Collecting regex==2016.7.21 (from -r /home/zulip/deployments/2016-09-03-13-13-17/requirements/emailmirror.txt (line 5))
Downloading regex-2016.07.21.tar.gz (598kB)
Collecting polib==1.0.7 (from -r /home/zulip/deployments/2016-09-03-13-13-17/requirements/common.txt (line 155))
Downloading polib-1.0.7.tar.gz (156kB)
Collecting pydns==2.3.6 (from -r /home/zulip/deployments/2016-09-03-13-13-17/requirements/py2_common.txt (line 4))
Downloading pydns-2.3.6.tar.gz
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-ao65bx0y/pydns/setup.py", line 12, in
import DNS
File "/tmp/pip-build-ao65bx0y/pydns/DNS/init.py", line 14, in
import Type,Opcode,Status,Class
ImportError: No module named 'Type'
----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-ao65bx0y/pydns/
Traceback (most recent call last):
File "/home/zulip/deployments/2016-09-03-13-13-17/scripts/lib/create-production-venv", line 22, in
cached_venv_path = setup_virtualenv(args.target, os.path.join(ZULIP_PATH, "requirements", "py2_prod.txt"))
File "/home/zulip/deployments/2016-09-03-13-13-17/scripts/lib/setup_venv.py", line 70, in setup_virtualenv
do_setup_virtualenv(cached_venv_path, requirements_file, virtualenv_args or [])
File "/home/zulip/deployments/2016-09-03-13-13-17/scripts/lib/setup_venv.py", line 97, in do_setup_virtualenv
run(["pip", "install", "--no-deps", "--requirement", requirements_file])
File "/home/zulip/deployments/2016-09-03-13-13-17/scripts/lib/zulip_tools.py", line 93, in run
raise subprocess.CalledProcessError(rc, args) # type: ignore # https://github.com/python/typeshed/pull/329
subprocess.CalledProcessError: Command '['pip', 'install', '--no-deps', '--requirement', '/home/zulip/deployments/2016-09-03-13-13-17/requirements/py2_prod.txt']' returned non-zero exit status 1
Traceback (most recent call last):
File "/home/zulip/deployments/2016-09-03-13-13-17/scripts/lib/upgrade-zulip-stage-2", line 46, in
os.path.join(deploy_path, "zulip-venv")])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/zulip/deployments/2016-09-03-13-13-17/scripts/lib/create-production-venv', '/home/zulip/deployments/2016-09-03-13-13-17/zulip-venv']' returned non-zero exit status 1
Traceback (most recent call last):
File "/home/zulip/deployments/current/scripts/lib/upgrade-zulip", line 53, in
subprocess.check_call([os.path.abspath("./scripts/lib/upgrade-zulip-stage-2"), deploy_path])
File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/home/zulip/deployments/2016-09-03-13-13-17/scripts/lib/upgrade-zulip-stage-2', '/home/zulip/deployments/2016-09-03-13-13-17']' returned non-zero exit status 1
`

#1731 #1746 are relevant as well

Ok, solution was to upgrade my Virtualenv, I just assumed that was done as part of the upgrade, finally figured it out this morning ..
sudo pip install --upgrade virtualenv
Installs work ok, but I am still faced with an issue where I can log in and see the main page, but no messages load .. I suspect this may be something to do with the letsencrypt. ssl certificate I installed (which is really cool)

so, after reboot, I had to do ..
sudo apt-get purge rabbitmq-server
sudo apt-get install rabbitmq-server
sudo supervisorctl restart all
to get a log in .. I see the main screen but I get no messages just the spinning wheel, so teh json is not being returned
my hosts is ..
<IP_ADDRESS>	localhost server-sinigang
`
The following lines are desirable for IPv6 capable hosts
::1     localhost ip6-localhost ip6-loopback
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
/etc/hostname contains
server-sinigang

here is the log
2016-09-03 22:13:16,763 ERROR    Internal Server Error: /json/messages
Traceback (most recent call last):
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/django/core/handlers/base.py", line 223, in get_response
response = middleware_method(request, response)
File "/home/zulip/deployments/2016-09-04-08-51-51/zerver/middleware.py", line 278, in process_response
error_content=content, error_content_iter=content_iter)
File "/home/zulip/deployments/2016-09-04-08-51-51/zerver/middleware.py", line 208, in write_log_line
queue_json_publish("slow_queries", "%s (%s)" % (logger_line, email), lambda e: None)
File "/home/zulip/deployments/2016-09-04-08-51-51/zerver/lib/queue.py", line 310, in queue_json_publish
get_queue_client().json_publish(queue_name, event)
File "/home/zulip/deployments/2016-09-04-08-51-51/zerver/lib/queue.py", line 288, in get_queue_client
queue_client = SimpleQueueClient()
File "/home/zulip/deployments/2016-09-04-08-51-51/zerver/lib/queue.py", line 33, in init
self._connect()
File "/home/zulip/deployments/2016-09-04-08-51-51/zerver/lib/queue.py", line 38, in _connect
self.connection = pika.BlockingConnection(self._get_parameters())
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 339, in init
self._process_io_for_connection_setup()
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 374, in _process_io_for_connection_setup
self._open_error_result.is_ready)
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/blocking_connection.py", line 410, in _flush_output
self._impl.ioloop.poll()
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/select_connection.py", line 602, in poll
self._process_fd_events(fd_event_map, write_only)
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/select_connection.py", line 443, in _process_fd_events
handler(fileno, events, write_only=write_only)
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/base_connection.py", line 364, in _handle_events
self._handle_read()
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/base_connection.py", line 407, in _handle_read
return self._handle_error(error)
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/base_connection.py", line 338, in _handle_error
self._handle_disconnect()
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/base_connection.py", line 288, in _handle_disconnect
self._adapter_disconnect()
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/select_connection.py", line 95, in _adapter_disconnect
super(SelectConnection, self)._adapter_disconnect()
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/base_connection.py", line 154, in _adapter_disconnect
self._check_state_on_disconnect()
File "/home/zulip/deployments/2016-09-04-08-51-51/zulip-venv/lib/python2.7/site-packages/pika/adapters/base_connection.py", line 173, in _check_state_on_disconnect
raise exceptions.ProbableAuthenticationError
ProbableAuthenticationError
2016-09-03 22:13:17,158 WARNING  Caught exception 'Client was disconnected at a connection stage indicating a probable authentication error' in ExceptionFreeTornadoConnection when calling _adapter_disconnect, ignoring
2016-09-03 22:13:17,159 WARNING  TornadoQueueClient lost connection to RabbitMQ, reconnecting...

sudo supervisorctl status
process-fts-updates                                             RUNNING   pid 11952, uptime 0:04:54
zulip-django                                                    RUNNING   pid 11950, uptime 0:04:54
zulip-senders:zulip-events-message_sender-0                     STARTING
zulip-senders:zulip-events-message_sender-1                     STARTING
zulip-senders:zulip-events-message_sender-2                     STARTING
zulip-senders:zulip-events-message_sender-3                     STARTING
zulip-senders:zulip-events-message_sender-4                     RUNNING   pid 29916, uptime 0:00:02
zulip-tornado                                                   RUNNING   pid 11951, uptime 0:04:54
zulip-workers:zulip-deliver-enqueued-emails                     RUNNING   pid 11959, uptime 0:04:54
zulip-workers:zulip-events-confirmation-emails                  STARTING
zulip-workers:zulip-events-digest_emails                        RUNNING   pid 29933, uptime 0:00:01
zulip-workers:zulip-events-email_mirror                         RUNNING   pid 29932, uptime 0:00:01
zulip-workers:zulip-events-error_reports                        STARTING
zulip-workers:zulip-events-feedback_messages                    STARTING
zulip-workers:zulip-events-missedmessage_mobile_notifications   STARTING
zulip-workers:zulip-events-missedmessage_reminders              RUNNING   pid 29942, uptime 0:00:01
zulip-workers:zulip-events-signups                              STARTING
zulip-workers:zulip-events-slowqueries                          STARTING
zulip-workers:zulip-events-user-activity                        STARTING
zulip-workers:zulip-events-user-activity-interval               STARTING
zulip-workers:zulip-events-user-presence                        STARTING

Ok, I also needed this ..
./home/zulip/deployments/current/scripts/setup/configure-rabitmq
sudo supervisorctl restart all

works now .. lets see how long rabbitmq behaves

The RabbitMQ issue was addressed by #2376.


Better documentation for agg.single_value

Description
Right now agg.single_value is documented here and says:

Perform a single value aggregation of the input measure.

Could we give more precision? It seems it looks for all values across the scope and if all the ones defined have the same value, it returns that value, otherwise it returns null (i.e. when there exist at least two different defined values).
Could you add an example in the tutorial? I had to look at https://github.com/activeviam/atoti/blob/f333a60d8630d4e361d98ceb1690d6c4ae8efb49/python/atoti/tests/test_measures.py#L155-L158 to understand how it works and what it does.

Hello Julien,
Thanks for reporting the missing documentation. I have added a doc and example, it will be available is 0.3.2


[Update] refactor index_from_coordinate

Changes:

change return type of index_from_coordinate to tuple
(u32, u32, bool, bool) (the lock flags were previously converted into &str first)

We will merge the PRs we receive.
We will release it as soon as possible after we have confirmed that it works.


Feature: Static filter control

Sometimes users want filtering without faceting. A good example would be the language facet for the channel9 demo

Rather than searching over multiple languages, the user wants to specify a single language to limit results to (and also always limit other facets to as well). This might make sense as a drop down similar to @m-gagne 's implementation of the orderby control. Depending on the behavior of this control, it might require changes in the search store to introduce a new facet type. We may need to modify the way clearAllFacets behaves as well. This control could probably take in a list of options, but we could probably try to list the options automatically based on the result of a facet query. Static options would probably be fine to start. This may just end up being a different way of rendering a checkbox facet with slightly different clearAll behavior.

I think this would be a solid control to have, primarily because as you said there are many times where they want just a single option like in the real-estate I can see where a dropdown would be helpful for say property type (house vs apartment) instead of a checkbox list.
The idea of having dynamic population is interesting, essentially running a * search and caching the facets on load... this could help solve some other UX issues as well as allow for better "first page load" experience, but I think that should be separated as another issue/enhancement. The store could be updated with a cached set of initial results for UI population.


updated to Swift 5

All tests passed without issues
This is for the issue https://github.com/matthewpalmer/Locksmith/issues/205

check this out
https://github.com/stephanheilner/Locksmith


Crash after JIT engine could not resolve the following symbols: ___emutls_get_address

This crash happens when trying to start any test program that contains at least one thread local variable.
The cause of this is that when recompiling the bitcode, all TLS accesses are converted to using TLS emulation. I don't have much knowledge of this area but from what I have managed to find online, this behavior of the JIT engine should be similar to using the -femulated-tls flag with clang. Forcing TLS emulation off is possible by modifying the calls to the EngineBuilder in InstrumentedCompilationTask.cpp, but that seems to make the recompilation crash instead.
Minimal example test subject which shows the problem
int main(int argc, char **argv) {
  thread_local static int c = 0;
  return c;
}

Example run
❯ mull-cxx --debug --test-framework=CustomTest --sandbox=None ./build/HelloWorldTests
[debug] Diagnostics: Debug Mode enabled. Debug-level messages will be printed.
[info] Extracting bitcode from executable (threads: 1)
       [################################] 1/1. Finished in 2ms
[info] Loading bitcode files (threads: 1)
       [################################] 1/1. Finished in 12ms
[info] Compiling instrumented code (threads: 1)
       [################################] 1/1. Finished in 11ms
[info] Loading dynamic libraries (threads: 1)
       [################################] 1/1. Finished in 1ms
[info] Searching tests (threads: 1)
       [################################] 1/1. Finished in 0ms
[info] Preparing original test run (threads: 1)
[warning] JIT engine could not resolve the following symbols:
___emutls_get_address

       [################################] 1/1. Finished in 0ms
[info] Running original tests (threads: 1)
[1]    43292 segmentation fault  mull-cxx --debug --test-framework=CustomTest --sandbox=None

Running with sandbox enabled just shows that the test subject has crashed:
[warning] Original test failed
test: main
status: Crashed
stdout: ''
stderr: ''

Platform
OS: MacOS 10.15.6 build 19G73
LLVM: clang+llvm-9.0.0-x86_64-darwin-apple from llvm.org  (git://github.com/llvm/llvm-project.git 0399d5a9682b3cef71c653373e38890c63c4c365), Target: x86_64-apple-darwin19.6.0
Analysis
The function ___emutls_get_address is part of compiler-rt builtins and can be found in emutls.c.o in lib/clang/9.0.0/lib/darwin/libclang_rt.osx.a (or equivalent), so I tried injecting emutls.c.o it via the precompiledObjects argument to mull::Program, which makes the symbol resolve properly, but it crashes at run time instead. I will spare the steps leading to this but some debugging sessions later and we now know that the emutls.c.o object was compiled for the small or medium code model and it depends on pthread symbols (pthread_once etc) which are dynamically loaded out of range from the emutls code which uses call rel32 for calling the pthread functions which causes the call offset to become truncated so it jumps to an unmapped address instead (-> segfault). The pthread functions and everything dynamically loaded seems to live at 0x7fffxxxxxxxx when running on my machine, while the test subject and the precompiledObjects objects seem to become loaded at 0x1xxxxxxxx. Recompiling emutls.c from compiler-rt using -mcmodel=large and loading that object via precompiledObjects allows the emutls code to call pthread functions without crashing. I did try compiling emutls.c with only -fPIC but that did not seem to be enough to be enough to fix the jumps.
It seems like everything loaded by llvm::sys::DynamicLibrary::LoadLibraryPermanently() called from Driver.cpp gets loaded at fixed addresses around 0x7fffxxxxxxxx, while the test subject and other manually loaded objects become loaded at random offsets (via ASLR, this randomization is disabled when running with a debugger) to addresses starting with 0x1xxxxxxxx.
Potential workaround or solution
The most straightforward and easy solution IMO is to build the emutls.c file using -mcmodel=large as part of mull-cxx and include those when loading the test subject, but this might be considered a bit of a hack. Another option would be to try to get the original test subject built with emulated tls, but I have not yet had any success with this.

I figured out an easier solution to the missing symbol is to build a shared library from only emutls.c (normal shared library flags, only -fPIC, no -mcmodel) and pushing that library onto the end of the dynamic library list in mull-cxx.cpp. That solves the missing symbol issue.
I will post a PR draft when I have cleaned it up a little.

@gebart thanks a lot for the great report! The PR would be highly appreciated!
Sorry for the delays in communication: busy days :)

It would be useful to have some sort of behavior similar to the dynamic linker environment variable LD_PRELOAD on Linux ld.so. That would make it easier to inject these kinds of "fixup" libraries without having to recompile mull-cxx.

I meet this problem too.
My binary (build by llvm-8 itself) was builded with several third-party static libraries(e.g rpc service framework) which were complied by gcc. So when i try to run mull-cxx , all cases were crashed after warning message "JIT engine could not resolve the following symbols:".
I guess this because the third-party static libraries were not complied by clang with flag "-fembed-bitcode". But i could not replace them with shared library because i could not get the source code. any advise ?
llvm:  clang+llvm-8.0.0-x86_64-linux-sles11.3
mull:  build from master
system:  linux
error message :
[debug] Diagnostics: Debug Mode enabled. Debug-level messages will be printed.
[info] Extracting bitcode from executable (threads: 1)
[################################] 1/1. Finished in 1450ms
[info] Loading bitcode files (threads: 8)
[################################] 119/119. Finished in 9430ms
[info] Compiling instrumented code (threads: 8)
[################################] 119/119. Finished in 11ms
[info] Loading dynamic libraries (threads: 1)
[################################] 1/1. Finished in 2ms
[info] Searching tests (threads: 1)
[################################] 1/1. Finished in 3ms
[info] Preparing original test run (threads: 1)
[warning] JIT engine could not resolve the following symbols:
_ZN16pk_obj_factory_t11create_uintEj
_ZN8TPLBuild4InitEPv
ZN13trans_coder_t4initEPKcS1
_ZNK3taf7TC_Http7getHostEv
_Z20ApiRouteResultUpdateR13QOSREQUESTtagiiRSsP7timeval
_ZTIN3taf11ApplicationE
ZNK3taf9TC_Config3getERKSsS2
_ZN6DCache14DCacheClient_RC1Ev
_ZN6DCache14DCacheClient_R9initProxyEN3taf10TC_AutoPtrINS_10ProxyProxyEEE
_ZN3taf9TC_ConfigC1Ev
_ZN3taf9TC_Config9parseFileERKSs
_ZN3taf7ServantC2Ev
......
......
......
_ZN3taf15TC_HttpResponse5resetEv
_ZN3taf14TC_ThreadMutexC1Ev
_ZN3taf10RollWriteTC1Ev
   [################################] 1/1. Finished in 24626ms

[info] Running original tests (threads: 8)
[warning] Original test failed
test: copygbkTest.test_copygbk
status: Crashed
stdout: ''
stderr: ''
   [####----------------------------] 1/8

[warning] Original test failed
test: charUtilTest.test_utf82gbk
status: Crashed
stdout: ''
stderr: ''
   [########------------------------] 2/8

[warning] Original test failed
test: threadDataTest.test_threadData
status: Crashed
stdout: ''
stderr: ''
   [############--------------------] 3/8

[warning] Original test failed
test: realtimeConfTest.test_realtimeconfInit
status: Crashed
stdout: ''
stderr: ''
   [################----------------] 4/8

[warning] Original test failed
test: threadDataTest.test_ShineiAddrChange
status: Crashed
stdout: ''
stderr: ''
   [####################------------] 5/8

[warning] Original test failed
test: threadDataTest.test_GeoConvert
status: Crashed
stdout: ''
stderr: ''
   [########################--------] 6/8

[warning] Original test failed
test: cb2mslogTest.test_getcb2mslog
status: Crashed
stdout: ''
stderr: ''
   [############################----] 7/8

[warning] Original test failed
test: voicedingdangTest.test_navParams
status: Crashed
stdout: ''
stderr: ''
   [################################] 8/8. Finished in 168388ms

[info] No mutants found. Mutation score: infinitely high
[info] Total execution time: 204850ms

Hi @tttteabag, your issue is slightly different.

I guess this because the third-party static libraries were not complied by clang with flag "-fembed-bitcode". But i could not replace them with shared library because i could not get the source code. any advise ?

Yes, you get it right: the JIT engine needs all the symbols in order to run the tests.
There is some machinery inside of Mull and the corresponding JIT engine which may make it work, but it's tricky and I cannot guarantee that it will work. This machinery is not exposed in the current version of the driver (mull-cxx), but I'll add it and ping you when it's done.

Hi @tttteabag, your issue is slightly different.

I guess this because the third-party static libraries were not complied by clang with flag "-fembed-bitcode". But i could not replace them with shared library because i could not get the source code. any advise ?

Yes, you get it right: the JIT engine needs all the symbols in order to run the tests.
There is some machinery inside of Mull and the corresponding JIT engine which may make it work, but it's tricky and I cannot guarantee that it will work. This machinery is not exposed in the current version of the driver (mull-cxx), but I'll add it and ping you when it's done.

@AlexDenisov got it, thx!  I am expecting to hear good news.

The main reason for the crash is a missing implementation in the JIT engine. Since the JIT is gone, this should not be an issue anymore.
@tttteabag @gebart please give a try to the new release (0.9.0) and feel free to open new issues for any other problems you hit.


16000+ files?

Are you for real?!

What you mean by ?

I mean a simple tool like that has over 16000 files. WTF?

Actually i m experimenting server sync &  this is all about ..yes there many things are which i m not using. This is web app too and if you want only desktop app then i m sure you need not more than 30 files. After all its mine. Do whatever you want mold it as like

Just make it very light.


WIFI connects only when Heat pump switched off

First of all - Yeah, it works - Thanks a lot for this great development.
Only a minor issue: Wifi connects only when the heat pump is switched off and I start the m5StickC with the internal accumulator. Then it connects quickly to my Wifi and I can start the heat pump.
Basically Wifi works fine, even in cellar where Wifi is weak. Only problem, once it loses connection it does not reconnect as long as heat pump is on.
m5StickC  is power supplied from the heat pump.
Of course I could place a repeater to increase Wifi strength but I do not know if this solves the basic probloem of not connecting to my Wifi while heat pump is on.
Any solution recommended?
And just a question about security: In the definition file I have to write the Wifi password and MQTT password in clear text. Any possibility to handle this safer?
Thank you for hints.
Andi

Hi @AjubaGit, welcome.
Have a look at the wifi rssi value reported in the sensor values. Less than -70 (eg -80) is very weak. You can also increase the FREQUENCY here so you have less traffic, less opportunity to disconnect.
It's common that when the signal is weak, the heat pump operation creates noise and weakens the signal too much to establish proper connection.
What you could do is increase the distance from the heat pump with longer cable (a cat5 network cable should be good for that), hence increasing the distance from the noise (and closer to the wifi AP at the same time if possible)
Regarding security the credentials in the setup.h, it stays where you put them, in a file on your drive... If this is a concern for you, just empty it when you're done flashing, and clear your compiled code.

Hi Raomin
Thank you for the quick and professional support. I have set a repeater close to the heat pump and now it connects without issues. Wifi is now at -43.
Thank you not only for the great project but also for the detailed fool proof documentation which encouraged me to start.
Enjoy your beers.
Andi

I have the same issue, except my M5StickC only connects when i disconnect it from the Heatpump. I assume the HP connection somewhat interferes with the sticks built in antenna. Thoughts?


conductor: refactor and implement full node sync from sequencer

Summary
This patch adds sync functionality to conductor. On every startup conductor will get all blocks up to the latest height from sequencer and forward them to the executor before submitting blocks it got from its subscription.
Background
Because conductor is thought of as stateless sidecar to a rollup node there needs to be a mechanism to bring the rollup node to the latest state. This patch adds that functionality by fetching all sequencer blocks up to the latest sequencer height for the target chain ID and replaying ("executing") them against the rollup node.
Because the prior implementation of conductor was strictly sequential (blocking the async loop) this patch required a refactor of conductor into fully async components.
Changes

Replace all http clients by websocket clients.
Add an object pool of websocket clients with a managing task that restarts the websocket connection on failure.
Remove the Driver type.
Simplify Executor by not being generic over some client
Introduce the data_availability::Reader and sequencer::Reader types that are independently reading off celestia and sequencer, respectively
Refactor data_availability::Reader from a for-loop blocking the actor's event loop into a chain of futures that are driven by its event loop
Perform sequencer namespace data verification in one step:

the block verifier need not get a validator set for each rollup blob retrieved from celestia; it is enough to run its inclusion proof + data against the root in the sequencer data.
since the sequencer namespace data is verified and rollup processing does not continue without it this is enough

Add sync functionality to sequencer::Reader: fetch all sequencer blocks between a configured initial height and the latest height and submit them to the rollup node for execution before submitting newer blocks.
Refactor the Conductor entry point to track its constituent tasks in a JoinMap.

Testing
These tests have to be tested by running conductor in devnet. Conductor does not currently have black box tests. These must be added in a follow PR.
The executor mock tests have been uncommented because executor should not be generic. These too will be replaced by blackbox tests.
Breaking Changelist

the ASTRIA_CONDUCTOR_TENDERMINT_URL has been removed. All communication with cometbft/sequencer happens over the URL configured in ASTRIA_CONDUCTOR_SEQUENCER_URL.
no other breaking changes should be observable.

Related Issues
closes #439
closes #451
closes #452

Update: I have significantly simplified sequencer::Reader by moving the sync process into its own future.


Added timeSheetEntry and time-off APIs

The calendar app is being updated and I also added documentation on how to setup the mock servers, but it uses internal links for the mock servers. This mock server is similar to the one used in the calendar app, so I added the TimeSheetEntry and time-off APIs.

I changed the documentation a bit

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


Make the writing to log synchronous.

This prevent log files to be clipped in case of errors.

OCD run https://ocd.appscale.com:8080/job/Daily Build/336/


Multi-document yaml outputs

This way we can have a multi-document yaml file (see this for more info).
As an example, consider this jsonnet:
{
  'foo': [
    {'a': 1}, {'a': 2}, {'a': 3}
  ]
}

Previously the output (when type=yaml) would be:
- a: 1
- a: 2
- a: 3

With this change, it's:
a: 1
---
a: 2
---
a: 3

Just to validate, this is to generate k8s manifests in one file?
It would be awesome if you could add 1-2 sentences in the readme about this functionality so that users are more aware? :)

@uberspot Any manifest, really. My use case was for generating a kops manifest. Anyway, I'll add it to the readme :+1:

You can add to Readme anywhere you see fit, we can review later. Can you add a test?

Sure. Btw, I just realized the reveal command also needs to be changed
On Thu, Jul 4, 2019, 10:26 AM Adrian Chifor<EMAIL_ADDRESS>wrote:

You can add to Readme anywhere you see fit, we can review later. Can you
add a test?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deepmind/kapitan/pull/308?email_source=notifications&email_token=AAKU2FQOWL6EJOXOLIPPL63P5YCCFA5CNFSM4HXDOB4KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZHRZLY#issuecomment-508501167,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAKU2FWQGS57YZLRPOJLLY3P5YCCFANCNFSM4HXDOB4A
.


[WIP] Containers Dashboard: Support hourly and realtime trends

In case that there are no daily trends yet, we would like to display hourly trends instead.
Currently added support only in the Network Utilization card, still need to add support in the rest of the dashboard cards.

@miq-bot add_label enhancement, providers/containers, ui, wip

@simon3z @zeari @yaacov Please review

In case that there are no daily trends yet, we would like to display hourly trends instead.

@zakiva we wanted also to display realtime in case hourly are not available. Is that possible?

@zakiva we wanted also to display realtime in case hourly are not available. Is that possible?

Yes, I have added support for displaying "realtime" data as well.
I was not sure what is the preferred time interval here, so I currently set it to "last 60 minutes", but it can be changed of course.

@zakiva what is missing to remove all the "wip"s?

@zakiva what is missing to remove all the "wip"s?

Still need to add this support in the other dashboard cards (unless you prefer to add it in separated PRs?) and handle the tests, will do it next week. Meanwhile, it will be nice to have @zeari and @yaacov review the current changes.

LGTM 👍
p.s.
You can make a helper function like the daily_provider_metrics and remove the AbsSize rubocop error.

Moved to https://github.com/ManageIQ/manageiq-ui-classic/pull/33, closing.


New: Add rule to check stylesheet limits

Pull request checklist
Make sure you:

[x] Signed the Contributor License Agreement
[x] Followed the commit message guidelines

For non-trivial changes, please make sure you also:

[x] Added/Updated related documentation.
[x] Added/Updated related tests.

Short description of the change(s)

Fix #570 by adding checks for known stylesheet limits in IE9 (4095 rules, 31 stylesheets, and 4 nested imports) as well as the larger limits in IE10+ (65534 rules and 4095 stylesheets).
Currently nested import checks only trigger in the chrome connector due to a jsdom bug which ignores import rules. I disabled related tests for jsdom and left a comment so we can re-enable once the jsdom bug is fixed. All other checks trigger in both connectors.

@antross Did you have the time to look into what limitations other browsers have?

@molant I'll fix the linting errors, but is there a way to have yarn run the linter in watch mode to catch these issues earlier next time? I was running yarn watch while developing the rule.
@alrra I ran a few searches looking for limits in other browsers, but nothing as well documented popped up. There was one post referencing a limit to the length of an individual CSS selector in Chrome, but with disagreement as to the actual limit (https://stackoverflow.com/questions/20828995/how-long-can-a-css-selector-be). I can build a test page to run cross-browser if we'd like to explore this a bit further.

is there a way to have yarn run the linter in watch mode to catch these issues earlier next time?

What I usually do is have 2 terminals with yarn watch:ts and yarn watch:test but that doesn't cover the linting part. We could add a yarn watch:test-all or something similar that runs the tests and linting although I'm not sure the output would be very legible (but we can try).

I can build a test page to run cross-browser if we'd like to explore this a bit further.

I think it would be great to digg a bit into it, but don't waste to much time.
Also, are there any file size limitations?

Also, are there any file size limitations?

@alrra I thought I ran across mention of some in older versions of Chrome, but can't seem to find the reference again at the moment. Would you like to include the IE limits in this PR or leave it as a separate task?

FYI: due to some performance limitations in JSDOM's handling of large numbers of stylesheets, I'm going to update this PR to focus on just the IE9 limits and leave out the IE10+ limits for now.

@antross The rule is now published!.


[FLINK-25217][table-planner] Replace TableConfig with PlannerConfig in FlinkContext

What is the purpose of the change
Replace TableConfig with PlannerConfig in FlinkContext so that all consumers
get the merged config (executor config + table config) instead of just
the table config.
Brief change log

Replace TableConfig with PlannerConfig in FlinkContext
Try to use PlannerMocks and JsonSerdeTestUtil to avoid boilerplate code to instantiate PlannerContext for test purposes.

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

This work has been superseded by:

https://github.com/apache/flink/pull/18980
https://github.com/apache/flink/pull/19045
https://github.com/apache/flink/pull/19147
https://github.com/apache/flink/pull/19187


feat(10): Support case-sensitive controls

Context
keycode is case-insensitive; users should be able to specify case-sensitive commands. Luckily, KeyboardEvent.key stores a human-friendly string of the pressed key, taking e.shiftKey into account.
Objective

Migrate from keycode to KeyboardEvent.key

References

Issue: https://github.com/ScottyFillups/key-controller/issues/10
MDN docs: https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent/key
Helpful keycode site: http://keycode.info/

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix code coverage report.

Codecov Report

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

@@          Coverage Diff          @@
##           master     #5   +/-   ##
=====================================
  Coverage       0%     0%
=====================================
  Files          70     70
  Lines        1010   1010
  Branches      121    121
=====================================
  Misses       1010   1010

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 fa04a95...aebc40d. Read the comment docs.


Define Tier 2 features

Determine a list of functions and functionality for "Tier 2"

https://github.com/idcrook/BiftVector/wiki/Tier_2_Features


bugfix allways request with get method

in original implantation always request with get method and ignore "request.method"

Thanks!


Same icon

The icon in this repo is same as the icon of decoration-nvim repo.

I can't find the repository. Can you link it to me?


[MLIR][XLA] Fix ops erase bug in DeadTempBufferRemoval

This is a PR from JIZHI, the AI platform in Tencent.
@sherhut @River707
I think it will break the DAG struct that recursiveErase called directly when function.walk
The operation which needs erasing should be put in a vector when function.walk firstly and erased after function.walk

below is a real example

*** IR Dump Before xla::mlir_gpu::{anonymous}::DeadTempBufferRemoval ***
func @fusion.96(%arg0: memref<33708x1024xf32>, %arg1: memref<33708x1024xf32>) {
%c0 = constant 0 : index
%c1 = constant 1 : index
%cst = constant 3.125000e-02 : f32
%c33708 = constant 33708 : index
%c1024 = constant 1024 : index
%0 = alloc() {temp = true} : memref<33708x1024xf32>
%1 = alloc() {temp = true} : memref
store %cst, %1[] : memref
loop.for %arg2 = %c0 to %c33708 step %c1 {
loop.for %arg3 = %c0 to %c1024 step %c1 {
%2 = subview %arg0[%arg2, %arg3] [] [] : memref<33708x1024xf32> to memref<1x1xf32, affine_map<(d0, d1)[s0] -> (d0 * 1024 + s0 + d1)>>
%3 = subview %0[%arg2, %arg3] [] [] : memref<33708x1024xf32> to memref<1x1xf32, affine_map<(d0, d1)[s0] -> (d0 * 1024 + s0 + d1)>>
%4 = subview %arg1[%arg2, %arg3] [] [] : memref<33708x1024xf32> to memref<1x1xf32, affine_map<(d0, d1)[s0] -> (d0 * 1024 + s0 + d1)>>
%5 = load %3[%c0, %c0] : memref<1x1xf32, affine_map<(d0, d1)[s0] -> (d0 * 1024 + s0 + d1)>>
%cst_0 = constant 3.125000e-02 : f32
%6 = load %1[] : memref
store %cst_0, %3[%c0, %c0] : memref<1x1xf32, affine_map<(d0, d1)[s0] -> (d0 * 1024 + s0 + d1)>>
%7 = load %2[%c0, %c0] : memref<1x1xf32, affine_map<(d0, d1)[s0] -> (d0 * 1024 + s0 + d1)>>
%8 = load %4[%c0, %c0] : memref<1x1xf32, affine_map<(d0, d1)[s0] -> (d0 * 1024 + s0 + d1)>>
%9 = mulf %7, %cst_0 : f32
store %9, %4[%c0, %c0] : memref<1x1xf32, affine_map<(d0, d1)[s0] -> (d0 * 1024 + s0 + d1)>>
}
}
dealloc %1 : memref
dealloc %0 : memref<33708x1024xf32>
return
}

Fatal Python error: Segmentation fault

Another question, how to add UT for the passes?

Thanks for the example. It has a store directly after the alloc, which makes this fail. Thanks for catching this.

Another question, how to add UT for the passes?

Currently these cannot be tested, as they are not visible at all. They all have TODOs to turn them into real implementations as opposed to the prototype state they are currently in. A first step would be to move them into a separate file, adding a PassRegistration so that they become visible and then link them into a mlir-opt like tool. Unfortunately, none of this currently exists. We do not even have a directory structure for it. Let me see whether we can quickly add this.
In the meantime, this should still land.


cross-build for arm64

I'm here from https://github.com/docker/cli/issues/327#issuecomment-362732718 and https://dockercommunity.slack.com/archives/C2293P89Y/p1517612020000352
I'm interested in what it would take to also cross-build for arm64. You mention in the build.sh script that there's a dependency on images that have "docker base images to the new ones that include elm for amd64 and arm32v7".  Are there any other components that you'd expect to need? (something about qemu)
I have a native arm64 system that I can push a build from and I'm interested in this as one way to addresss a more general build pattern.
The end goal is to test scaling on the Packet Type 2A (96-core arm64 Cavium ThunderX) system - with 96 cores it should have some interesting properties.

Cross-building for arm64 (is that aarch64 then?) in general would require two things:

a docker image with linux for arm64 and /usr/bin/qemu-aarch64-static for x86 - I'll call these "qemu-arm64-images" from now on
binfmt_misc set up to handle arm64 binaries with qemu-aarch64-static. You can use this docker image for that.
This blog post should help you:
https://blog.hypriot.com/post/setup-simple-ci-pipeline-for-arm-images/
And here's something similar:
http://www.ecliptik.com/Cross-Building-and-Running-Multi-Arch-Docker-Images/

For cross-building kube-alive (which would be awesome), some more things are needed:

An "qemu-arm64-image" with Go and GOPATH set to /go (you can probably base this off of arm64v8/golang (I'm really confused by aarch64 vs. arm64)
An "qemu-arm64-image" with nginx and Elm installed. This one is tricky, since you'll need to build the Elm binaries yourself. Luckily, I described how to do this on Raspberry Pi here. Should be very similar on arm64. And you can use the official nginx image as a base I guess. Just copy over qemu-aarch64-static and elm-make  built for arm64.
Tweak build.sh to add the new arch and use the appropriate base images.

This should get you going. To actually deploy, I'd first replace the original images with your own image in the Kubernetes manifests in the deploy/ folder. You can even use a local registry for this then, which should be handy.
Good look! And let me know when you run into problems, I'll try my best to help you out.

Yeah, arm64 = aarch64. You should see some Makefiles and build scripts I have modified to have:
ifeq ($(ARCH),aarch64)
        ARCH=arm64
endif
ifeq ($(ARCH),x86_64)
        ARCH=amd64
endif

Oh well.

Cross-building for arm64 ...

I have been going through that process slowly for Project Calico. Question I have is why you need qemu and binfmt if you are doing purely go binaries? I can run GOARCH=aarch64 go build . on an amd64 machine without needing qemu. What do I gain by running it in qemu?

@deitch Indeed I could use multi-stage Dockerfiles and cross-build Go binaries in the first stage and copy them to the actual target-platform in the second stage. That's a good idea, I think I'll change the build process to that in the future. (I just recently learned about multi-stage docker builds)
@vielmetti Did you make progress regarding cross-compilation for arm64? Since I like the idea of @deitch , I might not cross-build using qemu in the future and hence will not have the need to cross-build for arm64 to make kube-alive run on arm64. (However, I will still need amd64 hardware to build a few base containers that include things like docker and kubectl for my newer experiments that I'm currently implementing).

@daniel-kun I have been using exactly that to help bootstrap calico into the arm64 world. If you look at these three PRs, it should give an idea:

https://github.com/projectcalico/bird/pull/52
https://github.com/projectcalico/go-build/pull/26
https://github.com/projectcalico/felix/pull/1703

@daniel-kun - I have been working with @deitch on this and he knows a bit more than I know.  If you have experiments that you'd like to do that would have use for fast arm64 hardware, the Works on Arm cluster might very well be the place to do that testing. Drop me a note and I can walk you through getting acces.

@vielmetti Thanks for the offer. I will finish the current experiment that I'm working on (rolling updates) and will get back to you.
In the meantime, did you get kube-alive cross-build for arm64?
I've recently pushed large changes to the build infrastructure, so if you have changes lying around, its likely that they will be in conflict on the next pull.

@vielmetti @deitch I just pushed a fourth experiment (rolling updates without interruptions) yesterday. I will take on a UI refresh based on material next, and could at the same time have a look at cross-building to arm64. If you could send me the steps to get access to the arm64 hardware via e-mail or Twitter DM, that would be great!

@daniel-kun hop on the Packet community slack, and message us. I can run a thing or two for you, but the real man for getting access is Ed. Hop over to https://slack.packet.net.
Ed is @ed.packet and I am @deitcher

Fixed with f992fdb3896d4d7ad15db60e617f30fd95474d0b - thanks to packet.net for sponsoring the required hardware!


Parse of alphabetical list failed

Not sure whether it's worth fixing this one.
https://gitlab.staging.haskell.org/ghc/ghc/issues/13615#note_285809
https://ghc.haskell.org/trac/ghc/ticket/13615#comment:12

The parser currently only supports *-delimited bullet lists; we could add numbered and lettered lists, and render both as numbered lists (since Markdown only supports numbered lists AFAIK), but it would involve adding more stuff to the parser.
Unless more cases of numbered / lettered lists arise, I'd say we put this one on the "fix manually" list.

OK, so adding numbered lists turned out to be straightforward; I had to fix the list parser anyway, so I included numbered lists.
Not sure if we should cater for letter lists and other styles as well though.

Alright, I think this is as good as this will get. Let's close this.


Make documentLoader required

https://github.com/transmute-industries/jsonld-document-loader
^ any time a document loader is used, it should be explicitly required, and some reasonable defaults should be recommended.

Added the possibility to pass a custom document loader: https://github.com/gjgd/jsonld-checker/pull/33

still prefer to never use a "defaultDocumentLoader"... consider adding a warning when the default one is used.


feat(ingestion/kafka)-Add support for ingesting schemas from schema registry

Checklist

[ ] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[ ] Links to related issues (if applicable)
[ ] Tests for the changes have been added/updated (if applicable)
[ ] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[ ] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Attaching sample UI screenshots.

@treff7es please review.  Thanks.


Shape preset XOR custom shaping

Unify the two shape customization toggles and only show the preset selector when custom shaping is not enabled. Thus, the shape preset, if visible, will always correspond to the actual shape of the part (whereas before, it was reset to the first option on load).
This is more semantically correct, as the PAW should reflect the current state of the part.
When custom shaping is enabled, the shape will be reset to the one specified in the config of the part, instead of preserving the currently applied preset. This is jarring, but the alternative would render the default shape entirely inaccessible, which would be a breaking change for parts not set up to use presets. (Note that the current behavior here is not coherent either.)
Also fix jumbled fairing side PAW item ordering (#38) by moving shape sliders to a separate group.

Cherry-picked the changes [since I broke things / caused some conflicts] and committed in https://github.com/KSP-RO/ProceduralFairings/commit/3e5a1f33de83ead2f6cc5dbfb2f861c41ef34d02
Thanks much!


About tokenizer

Hi, have you ever tried to use cl100k_base instead of gpt-2 vocab since you use tiktoken?
I think cl100k_base can handle consecutive whitespaces. Or what's your concern?

We were uncertain about the training recipe if we use cl100k_base, since we only tried GPT-2 tokenizer previously. We know that cl100k_base already takes care of the whitespaces. We may try the new tokenizer later.

Hi, have you ever tried to use cl100k_base instead of gpt-2 vocab since you use tiktoken? I think cl100k_base can handle consecutive whitespaces. Or what's your concern?


Lucas gandel fix itk array.set data call bump itk version

Improvement of #688 by bumping ITK version to the new version used in Slicer.

:+1:  Thanks!

@thewtex Does the docker image need to be updated to use the most recent version of Slicer (and therefore a recent version of ITK)?

@fbudin69500 Yes, I will create a patch...

@fbudin69500 pull request in #696

After re-pushing the updated Docker image and rebuilding on CircleCI, the check now passes. :8ball:


Fake user entity API

I need an API that returns a fake user entity that contains a name, email, phone and password

Can you assign this to me ?

Assign this to me, i've done the PR https://github.com/iphadey/api-hug/pull/9

thanks!


coomer and kemono (video)

Source name
coomer and kemono (video)
Source link
https://coomer.party/artists and https://kemono.party/artists
Source language
All
Other details
Source name
coomer and kemono
Source link
https://coomer.party/artists and https://kemono.party/artists
Language
All
Other details
Nsfw +18
These sources are found in the manga sources, but they are not found in the anime sources, although these sources contain videos
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a title with source name.
[X] I have checked that the extension does not already exist on the website extensions list or the app.
[X] I have checked that the extension does not already exist by searching the GitHub repository and verified it does not appear in the code base.
[X] I will fill out all of the requested information in this form.

As we were hit with a dmca takedown notice, we will not accept new source requests, unless they're for self-hosted stuff.


Add missing require statements

I needed to add these in order to be able to navigate to /manuals/new in
development.
They've been needed since 30a72a16dadde70c86a669ae23f715f20554b7fd.
Prior to that commit, constructing a RepositoryRegistry (which happens
indirectly in ManualsController#index) would result in a
DocumentFactoryRegistry being created which in turn would result in
the necessary builders and validators being required.
As of this commit I appear to be able to do everything through the user
interface as expected.
A longer term fix might be to autoload/require the builders and
validators as suggested in issue #907.

Thanks @floehopper!


 I've spent a couple of hours dealing with link issues and other stupidities, and nothing seems to do it. If anyone has experience with code coverage and Clang, please feel free to help.

This would be addressed by #218, but as explained there, code coverage does not seem to be very helpful for a library like Hana. Hence, I'll close this as wontfix.


Wrong typing for readRawBody

readRawBody is meant to return a Buffer when encoding is set to false, but it always returns Promise<string | Buffer | undefined>. The reason is that Encoding extends false always returns false.  The function likely needs a generic type parameter. Also, looking at the source code, the function seems to always return a Promise, and never returns a Buffer when encoding is set.
https://github.com/unjs/h3/blob/f78778c37c88b6ea23a63b8e49c5c1d8469487e9/src/utils/body.ts#L18
The following type declaration should be correct
declare function readRawBody<E extends Encoding | false = 'utf-8'>(event: H3Event, encoding?: E): E extends false ? Promise<Buffer> : Promise<string | undefined>;

/cc @danielroe


Add Chatterino API Privacy Policy and Terms of Service

Add privacy policy and terms of service
stop gitignore from ignoring everything in the cmd/api directory

Pull request checklist:

[x] CHANGELOG.md was updated, if applicable

Description

@Felanbird Could you do an English check on the text?

pretty links can be found here:
https://pajbot.com/static/chatterino-api-tos.html
https://pajbot.com/static/chatterino-api-pp.html

these is probably better, it seems to be common to see both this and these terms of service...


Release notes link for v0.5.0 is broken

The link to release notes in the v0.5.0 release on this repository is broken: https://github.com/astral-sh/ruff-pre-commit/releases/tag/v0.5.0. It's not the case of the previous releases.
It looks like the upstream repository has dropped the leading "v" in the release/tag names: https://github.com/astral-sh/ruff/releases.
I don't know if this repository is supposed to follow suit in order to match, or if the missing "v" on the Ruff repository is a one-off mistake.

Thanks. I updated the release notes but we also have to update the CI action to create the correct changelog entry for upcoming releases:
https://github.com/astral-sh/ruff-pre-commit/blob/1dc9eb131c2ea4816c708e4d85820d2cc8542683/.github/workflows/main.yml#L58-L61

I've made a PR now to fix that, #92.

Thanks!


Missing Formatter features for "Crunched"

When I compile my scss with scssphp its 5KB greater than with https://sass-lang.com/
I found this difference for setFormatter('Leafo\ScssPhp\Formatter\Crunched'):
scssphp write
.class > h1
and sass write
.class>h1
without spaces between selectors https://www.w3.org/TR/CSS2/selector.html#child-selectors
Thats for all selectors; Descendant selectors, Child selectors or Adjacent sibling selectors
Maybe that should include in this formatter? Compiled with scssphp-0.7.5

Fix proposal in #689
Not the best fix ever but efficient


Close content gap for enabled mapping parameter

Description
Closes content gap for mapping parameters
Issues Resolved
#7115
Version
Frontend features
If you're submitting documentation for an OpenSearch Dashboards feature, add a video that shows how a user will interact with the UI step by step. A voiceover is optional.
Checklist

[X] By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and subject to the Developers Certificate of Origin.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@dhwanilpatel @bharath-techie @mgodwan We're trying to closing content gaps foe the enabled mapping parameter. Will one of you provide technical review of the content and example? Thank you.

@vagimeli Just one minor change. Thanks!

@natebower Thanks Nate!

@vagimeli Just one minor change. Thanks!

@natebower Thanks Nate!

@natebower Will you approve for merging? I'm unable to approve because I opened the PR. Thank you :)


modified 'synchronizeLayoutWithChildren' method to convert all uses o…

modified 'synchronizeLayoutWithChildren' method to convert all uses of child.key value to int

Thanks!


[MRG] LSLClient

Got the urge to resurrect https://github.com/mne-tools/mne-python/pull/4110 and maybe complete it. The aim of the PR is to create a realtime client for LSL that fits the way MNE handles Client objects. It also creates the basis for BaseClient class that will (in subsequent PRs) clean up the realtime module and make it easier to develop and use

This pull request introduces 2 alerts when merging f4d6d3a3499495fc21ab94abd020a1cc2d2b397a into 56909cdbf35511d9837a5999ce1ffe2f47eee7bb - view on LGTM.com
new alerts:

1 for Except block handles 'BaseException'
1 for Unused import

Comment posted by LGTM.com

This pull request introduces 1 alert when merging 562c932d8f376bcc1f1d3e396c207eb5b164ad05 into 56909cdbf35511d9837a5999ce1ffe2f47eee7bb - view on LGTM.com
new alerts:

1 for Unused local variable

Comment posted by LGTM.com

This pull request introduces 1 alert when merging<PHONE_NUMBER>f1751d5e1a73eba8d5d8f24c88f631 into 56909cdbf35511d9837a5999ce1ffe2f47eee7bb - view on LGTM.com
new alerts:

1 for Unused import

Comment posted by LGTM.com

lol @ commit 0263807

Very cool to have this functionality!

This pull request introduces 1 alert when merging 78a72f40be018b3f017485727c8022fc80017982 into 027f82d79b8055bad5c997829d409035de348fe8 - view on LGTM.com
new alerts:

1 for Unused import

Comment posted by LGTM.com

@teonbrooks do you think we could make FieldTripClient use _BaseClient ? It would help iron out potential issues / shortcomings and inconsistencies

also don't forget to update whats_new.rst

@teonbrooks sounds exciting! I hope we can get it merged soon

@teonbrooks the CI is not happy!

anyone with any idea why one of the travis builds is just becoming unresponsive? it's the one with py3.6 as req. am i doing something wrong with specifying the test build environment?

The file mne/realtime/tests/_start_fake_lsl_stream.py has a while loop, it looks suspiciously like something that could make things get stuck during test collection if pytest tries to import mne/realtime/tests/_start_fake_lsl_stream.py. I'd put all that stuff in a function.

so what I noticed it rewriting this tests several times is that the errorring is happening because of the incoming network notification Mac produce when I am launching the mock lsl stream. when running the scripts, the kernel doesn't get permission and then the client connection  fails. I'm able to run the server when it is in interactive python, but not as a script

Maybe you explicitly need to make a thread, or run a subprocess? Have you looked at how we do it in other real-time tests?

cool, travis is passing. codecov went down but not because of files in this PR

PR looks quite clean @teonbrooks ! However, I still have two remaining concerns:

Do you plan on adding _BaseClient support to FieldTripClient in a follow-up PR? If not, it appears to me that the segregation into two classes is unnecessary.
Is there a way we could add an example? Not super important, but would be nice

* Do you plan on adding _BaseClient support to FieldTripClient in a follow-up PR? If not, it appears to me that the segregation into two classes is unnecessary.

The plan is to do so. I didn't want to get bogged down in knowing what broke what.

* Is there a way we could add an example? Not super important, but would be nice

Just added an example. Feel free to try it out

Indeed CircleCI, which is 3.7, confirms they have a packaging problem;
https://circleci.com/gh/mne-tools/mne-python/12197?utm_campaign=workflow-failed&utm_medium=email&utm_source=notification
@teonbrooks do you work with the PyLSL folks at all? Can you look into it? It is listed as supposedly compatible here:
https://pypi.org/project/pylsl/

Actually looks like it's a known issue:
https://github.com/labstreaminglayer/liblsl-Python/issues/6
I'll comment it out in requirements.txt for now

Thanks @teonbrooks

Is there an example where people can see how this LSL client works (ideally including online visualization of the incoming data)?

@cbrnr, yes, it's part of #6141. @jasmainak didn't like the explicit call to generate a mock lsl stream ;). I didn't want a patched solution, so I made a proper mock stream class. I ran into a problem working with the RtEpochs class. I might need to split that investigation from the pending PR and tackle that next week at the sprint

It's possible that the realtime code could use some fixes / cleanup, this would be great for the sprint

It's possible that the realtime code could use some fixes / cleanup, this would be great for the sprint

my thoughts exactly. I opened an issue (#6157) and tacked it on to the Project board.

I think it would be cool to emulate one of the FieldTrip examples with pylsl. So we can show the evoked update as the data comes in.

Also, if we could have the realtime examples run in CircleCI that would be great. So that I don't have to run it on my computer every time.

In theory we should be able to unify the structure for running a fake server from Travis / unit-tests for use by plot_realtime_* functions. But please make sure these run as quickly as possible (definitely < 1 min, preferably in seconds). We might want for example a FakeServer(..., time_dilation=1) parameter that we can set to time_dilation=10 in the example so that 30 sec of data get fed to the client in 3 sec.

yes agreed. In the fieldtrip buffer, you can have a speedup factor so that it runs very fast.

FYI, I finally got around to updating the CI scripts so Appveyor automatically builds and distributes pylsl for all major platforms. There's a new version now on pypi. Please let me know if you encounter any problems.


Hard Coded folder access

https://github.com/WayScience/pyroptosis_signature/blob/e9537650b0e39a9b9c19df2a47ba3db3eb2f177c/utils/loaddata_utils.py#L102
Could we please make this a dynamic option? I named my folder differently.

@MikeLippincott
I agree this is too hard-coded. I have assigned this to myself so I can make this change in the next PR, thank you for bringing it up.


fix: unit 1 notebook cover link :pencil:

Thanks I'm testing the preview and then I merge it 🤗

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.