Docker toolbox 1.12.6 parsing degradation

My config is work for 1.12.3. After upgrade to 1.12.6 i see:

volumes:
- ~/compose/:/connectors:ro

ERROR: for elastic  Cannot create container for service elastic: Invalid bind mount spec "C:\Users\andrew\compose:/config:ro": Invalid volume specification: 'C:\Users\andrew\compose:/config:ro'
ERROR: Encountered errors while bringing up the project.

Double slash:

$ ls ~/compose -la
total 889
...

volumes:
- /srv/docker/postgresql:/var/lib/postgresql

ERROR: for PostgreSQL  Cannot create container for service PostgreSQL: create \srv\docker\postgresql: "\srv\docker\postgresql" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed

$ docker-compose config
networks: {}
services:
PostgreSQL:
environment:
DB_EXTENSION: ''
DB_NAME: ''
DB_TEMPLATE: ''
DEBUG: 'false'
POSTGRES_PASSWORD: ''
POSTGRES_USER: postgres
REPLICATION_MODE: ''
REPLICATION_PASS: ''
REPLICATION_SSLMODE: ''
REPLICATION_USER: ''
image: postgres:9.6
network_mode: bridge
restart: unless-stopped
>     volumes:
- \srv\docker\postgresql:/var/lib/postgresql:rw
elastic:
environment:
ES_JAVA_OPTS: -Xms512m -Xmx512m
bootstrap.memory_lock: 'true'
image: elasticsearch:5.1.2
network_mode: bridge
ports:
- 9200:9200
restart: unless-stopped
volumes:
- C:\Users\andrew\compose:/config:ro
- C:\compose\Vending\volumes\elastic:/usr/share/elasticsearch/data:rw
fpm:
image: ...
links:
- PostgreSQL
- elastic
network_mode: bridge
restart: unless-stopped
volumes:
- C:\Users\andrew.ssh:/root/.ssh:ro
- C:\Users\andrew\compose\vending:/var/www:rw
kibana:
environment:
ELASTICSEARCH_PASSWORD: ''
ELASTICSEARCH_URL: http://elastic:9200
ELASTICSEARCH_USERNAME: ''
image: kibana:5.1.2
links:
- elastic
network_mode: bridge
ports:
- 5601:5601
restart: unless-stopped
logstash:
command: -f /connectors/simple-out.conf
image: logstash:5.1.2
links:
- PostgreSQL
- elastic
network_mode: bridge
restart: unless-stopped
volumes:
- C:\Users\andrew\compose:/connectors:rw
- C:\Users\andrew\compose:/connectors:ro
...
version: '2.1'
volumes: {}

COMPOSE_CONVERT_WINDOWS_PATHS=1 docker-compose up -d
is fixing this issue.
At old version i run "docker-compose up -d" without  COMPOSE_CONVERT_WINDOWS_PATHS=1

Hello @AndrewBryukhov I am not finding the PR atm but this is the expected behavior
https://docs.docker.com/compose/reference/envvars/#/composeconvertwindowspaths
He a PR that can help
https://github.com/docker/compose/pull/4026

Thanks @gianarb!
Yes, I don't think there's a bug here, but it is a change in behavior between docker-compose 1.9 and 1.10 (which changed the default, and added the COMPOSE_CONVERT_WINDOWS_PATHS environment variable).
I'm closing this issue, but feel free to comment after I closed. If you think additional changes are needed in docker-compose, it's best to open an issue in the docker-compose issue tracker (https://github.com/docker/compose/issues), so that the maintainers of docker-compose can have a look at it 👍


Create core functionalities for notification API

Create the Core API functionalities for Notification Service according to the data model.


code health - unit tests for lhash

[x] tests are added or updated

Provide some unit tests for the lhash functionality.  The first test covers the provided functionality.  The second test populates a lhash with a large number of values then depopulates them as an attempt to stress the data structure a little.

Oops, used the wrong malloc/free.  Will fix tomorrow.

malloc/free fixed.

We can control malloc retval; see crypto/mem.c

thank you for writing this!


Make annotations usable as meta annotations

It would be great if annotations such as @ExcludeBean would add @Target(ElementType.ANNOTATION_TYPE) to allow their usage as meta annotations.
This is a feature that JUnit-Jupiter offers for pretty much all their annotations and I find it really useful: https://junit.org/junit5/docs/current/user-guide/#writing-tests-meta-annotations
You wouldn't even have to change anything other than the annotation target, because you already use JUnit-Jupiters AnnotationSupport: https://github.com/weld/weld-testing/blob/61df95ce959c1cb0fea30681d75aabfc4b593f55/junit5/src/main/java/org/jboss/weld/junit5/auto/ClassScanning.java#L91-L93
Motivating Example
For example I have a test that uses @EnableAutoWeld and @ExtendWith(MockitoExtension.class) and to produce a mock in this test I have a field like this:
private @ExcludeBean @Produces @ApplicationScoped @Mock MyClass myMockedInstance;

If I could use @ExcludeBean as a meta-annotation, I would be able to define a custom annotation @CdiMock and reduce the field declaration to the following:
private @CdiMock MyClass myMockedInstance;

Now currently I can't quite achieve this, because @Mock has the same issue as @ExcludeBean, but I opened a ticket there as well: https://github.com/mockito/mockito/issues/3482
@Produces and @ApplicationScoped on the other hand can easily be added automatically for CdiMock fields by subclassing WeldJunit5AutoExtension and adding the following CDI extension in weldInit:
import static java.util.Objects.requireNonNull;
import java.lang.reflect.Field;
import java.lang.reflect.UndeclaredThrowableException;
import org.junit.jupiter.api.extension.TestInstances;
import org.junit.platform.commons.support.AnnotationSupport;
import jakarta.enterprise.context.ApplicationScoped;
import jakarta.enterprise.event.Observes;
import jakarta.enterprise.inject.spi.AfterBeanDiscovery;
import jakarta.enterprise.inject.spi.BeanManager;
import jakarta.enterprise.inject.spi.Extension;

public class CdiExtension implements Extension {
  private final TestInstances testInstances;

  public CdiExtension(TestInstances testInstances) {
    this.testInstances = requireNonNull(testInstances, "testInstances");
  }

  @SuppressWarnings("unused")
  private void afterBeanDiscovery(@Observes AfterBeanDiscovery event, BeanManager beanManager) {
    for (Object testInstance : testInstances.getAllInstances()) {
      for (Field field : AnnotationSupport.findAnnotatedFields(testInstance.getClass(), CdiMock.class)) {
        event.addBean() //
            .addType(field.getGenericType()) //
            .scope(ApplicationScoped.class) //
            .produceWith(it -> getFieldValue(testInstance, field));
      }
    }
  }

  private static Object getFieldValue(Object object, Field field) {
    boolean wasAccessible = field.canAccess(object);
    if (!wasAccessible) {
      field.setAccessible(true);
    }
    try {
      return field.get(object);
    } catch (IllegalAccessException ex) {
      throw new UndeclaredThrowableException(ex);
    } finally {
      if (!wasAccessible) {
        field.setAccessible(false);
      }
    }
  }
}

@Adrodoc55 could you please clarify your use case WRT my comment above?


Add text entry

Still to do:

Add string value for text result
Add int value for text status
Add oled stack rendering for text
Add text events
Create new ticket for making it look better


Use Preview○○ for BackLayerContent Preview

Kind (Required)

Improvement

Overview (Required)

I want to unify the naming convention for Preview method names.

Links

https://github.com/DroidKaigi/conference-app-2021/blob/8750f69558fb71383c958421236d71ffa05e27a5/uicomponent-compose/feed/src/main/java/io/github/droidkaigi/feeder/feed/BackLayerContent.kt#L73

🙋♂

Thanks! Assigned 👍


Empty consent message

Hello,
I'm implementing the choice mobile for iOS and I'm getting this error message:
ChoiceMobile.ChoiceMobileError.configError(message: "Unexpected config error")
I've added the pcode in my didFinishLaunchingWithOptions but nothing seems to work properly:
[[ChoiceCmp shared] startChoiceWithPcode:@"<pcode>" delegate:self];
Also, the message which is shown when the method [[ChoiceCmp shared] forceDisplayUI] is called, it's empty.

Any help is welcome!

I have facing same issue

Hello.  Sorry this wasn't made more clear, but the version posted here is still early beta.   We are actively working on this product and hope to have a GA in the next few weeks.  As such you may still find some bugs or missing features in this 0.0.6 release build.  Please keep an eye on this space for an update in the coming days/weeks.

I did want to mention one more thing.  In order for the CMP to work, you must have an account and registered Choice domain on Quantcast.com. https://www.quantcast.com/products/choice-consent-management-platform/
I will be sure to post documentation to this repo when we release the next version

This should be fixed now in v0.0.7.


error 404

I have authenticated with my own account and got access token but when trying to fetch own feed getting error 404
let engine = InstagramEngine.sharedEngine()
engine.getSelfFeedWithSuccess({ (media, paginationInfo) in
print(media)
}) { (error, index) in
print(error.localizedDescription)
print(index)
}
Error Domain=com.alamofire.error.serialization.response Code=-1011 "Request failed: not found (404)" UserInfo={NSUnderlyingError=0x7fdc4e9492d0 {Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable content-type: text/html" UserInfo={com.alamofire.serialization.response.error.response=<NSHTTPURLResponse: 0x7fdc4e96c430> { URL: https://api.instagram.com/v1/users/self/feed?access_token=1223104.0e2b18e.c27e846d46f047bc8f999220779010f4 } { status code: 404, headers {
"Cache-Control" = "private, no-cache, no-store, must-revalidate";
"Content-Language" = en;
"Content-Length" = 25232;
"Content-Type" = "text/html";
Date = "Sat, 25 Jun 2016 22:51:57 GMT";
Expires = "Sat, 01 Jan 2000 00:00:00 GMT";
Pragma = "no-cache";
"Set-Cookie" = "csrftoken=QizHjwXQn3YCvyIH0TCtT7SgMG9uEFbM; expires=Sat, 24-Jun-2017 22:51:57 GMT; Max-Age=31449600; Path=/";
Vary = "Cookie, Accept-Language";
"x-frame-options" = SAMEORIGIN;
} }, NSErrorFailingURLKey=https://api.instagram.com/v1/users/self/feed?access_token=122310...

Instagram deprecated the /self/feed endpoint.

@gugges what about instagram/tags/media/recent? is it deprecated as well?

I think get followers is deprecated as well, got the same error

The library has been updated to version 4.0 and the deprecated endpoints have been made unavailable.


[WinError 126] The specified module could not be found

Hello,
On of my colleagues tried to install tellurium on her windows machine using both the pip install, the conda installer, and the windows notebook installer, and kept getting the same error message:
Please advise,
Sincerely,
Jeremy Zucker and Pallavi Kolambkar.

I recommend using the windows installer, I’ve never had it fail. You can
still pip additional packages into this version by just typing pip install
xx at the spyder console.
The advantage of the windows installer is that creates a separate
distribution which doesn’t interfere with any existing installs you have.
Note the current version doesn’t have auto2000 installed. I hoping that
will come in October.
Herbert
On Wed, Sep 2, 2020 at 9:48 AM Jeremy Zucker<EMAIL_ADDRESS>wrote:

Hello,
On of my colleagues tried to install tellurium on her windows machine
using both the pip install, the conda installer, and the windows notebook
installer, and kept getting the same error message:
Please advise,
Sincerely,
Jeremy Zucker and Pallavi Kolambkar.
[image: Stacktrace]
https://user-images.githubusercontent.com/144210/92012313-22093380-ed01-11ea-9081-398e81094189.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sys-bio/tellurium/issues/473, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIBSDSEO6TPVX5QLMWS2ETSDZZNJANCNFSM4QTKK66Q
.

--
Herbert Sauro, Professor
University of Washington, Bioengineering
206-685-2119, www.sys-bio.org
<EMAIL_ADDRESS>Books: http://books.analogmachine.org/


Change capabilities order for Safari

Change the order of capabilities because Safari Tech Preview set the name twice.

Can you re-validate and update the specs. Or add a conditional in so we only invert the properties for safari
The latter is preferred because then we're only "mangling" the stuff for safari

You're still getting a bunch of failures. If you set the order alteration only for safari, you'll notice there are fewer test failures.
Also make sure you run bundle exec rake and validate all alterations to the spec.

 If you set the order alteration only for safari, you'll notice there are fewer test failures.
Also make sure you run bundle exec rake and validate all alterations to the spec.

Sorry, I just alter the comment yesterday, going to develop the logic for safari today

Done, all green now! @luke-hill take a look at the capabilities see if it's okay now.
Sorry, yesterday I just push the comments. It was not supposed to be reviewed.

ping @mrdaniellewis - More lovely safari logic - We need to define the browser name twice (A bit like our override we do in IE11)


Uncaught Exception: Attempting to call a function in a renderer window that has been closed or released. Function provid

An uncaught exception was reported.
Info:
OS: win32
Arch: ia32
GPMDP Version: 3.0.1
Time: Thu Mar 17 2016 23:33:47 GMT-0500 (Central Daylight Time)
Error:
Attempting to call a function in a renderer window that has been closed or released. Function provid
Error: Attempting to call a function in a renderer window that has been closed or released. Function provided here: Object.<anonymous> (C:\Users\richard\AppData\Local\GPMDP_3\app-3.0.1\resources\app\build\inject\GPMInject\interface\mouseButtonNavigation.js:8:8.
    at BrowserWindow.callIntoRenderer (C:\Users\richard\AppData\Local\GPMDP_3\app-3.0.1\resources\atom.asar\browser\lib\rpc-server.js:201:19)
    at emitTwo (events.js:92:20)
    at BrowserWindow.emit (events.js:172:7)

This issue was created automatically inside the uncaughtException handler

Closing this automatically reported issue as a duplicate of #470


compose: Fix quoting exception message in GroupPM

The handleMentionSubscribedCheck function in MentionWarnings used to
bail out correctly only when the narrow was a 1:1 PM thread. This showed
an exception message when using quotations in groupPMs. Changing
is1to1PmNarrow instances to isPmNarrow inside MentionWarnings fixes
this issue.
Fixes: zulip#4745

Thanks for doing this! This looks good to me. I'm a bit surprised that this is correct behaviour (the webapp doesn't show a warning when @-mentioning someone who isn't in the group PM you're composing to), but I just tired it out, and it seems that's what the webapp does, so I think we should merge this.
cc @gnprice or @chrisbobbe to take a second look here.

@gnprice @chrisbobbe waiting for your perusal.


@mzikherman - Add manual test for custom artwork image filenames

Closes #743
The idea is to add more descriptive filenames to encourage google to index images on the artwork pages 🙏

Filenames come from: https://docs.google.com/spreadsheets/d/1TtGEMZKEc2AjAj9JB-ri4b3WixYejgFkS9kCyDUAciE/edit#gid=0

Hello semaphore

Cool! Very slick 😎


Encoding error when transferring binary files (such as photos)

encoding error in binary data transfer (archives,photos, etc.)
in documentation
doc

'latin1' - A way of encoding the Buffer into a one-byte encoded string (as defined by the IANA in RFC1345, page 63, to be the Latin-1 supplement block and C0/C1 control codes).
'binary' - Alias for 'latin1'.

I propose to comment out the lines in the file
this.dataSocket.setEncoding(this.connection.transferType);

The encoding type is set by the FTP client using the TYPE command.
TYPE A will use ascii
TYPE L will use binary
To send binary data you must first send TYPE and then setup the connection PASV/PORT`

If you select "TYPE L" or "TYPE I", the data transfer does not become binary because the "setEncoding" method enables text mode of data transfer regardless of arguments. In addition, the argument "binary" is the same as "latin1", that is, the text

The encoding type is set by the FTP client using the TYPE command.
TYPE A will use ascii
TYPE L will use binary
To send binary data you must first send TYPE L and then setup the connection (PASV/PORT).

If you select "TYPE L" or "TYPE I", the data transfer does not become binary because the "setEncoding" method enables text mode of data transfer regardless of arguments. In addition, the argument "binary" is the same as "latin1", that is, the text

I’m following. The stream is a buffer until setEncoding is called.
So we only want to set the encoding if ascii is used.

Should be fixed in: https://github.com/trs/ftp-srv/pull/168


Added WOfS plotting function

This PR adds a function to plot WOfS DataArrays in a way that matches the Alchemist thumbnail output. I've also used the function in the existing WOfS bitmasking notebook to demo it.

This looks great! Just a few questions - these don't necessarily need to be fixed right now :)

As "WOfS" is soon to be an outdated name, should we replace that terminology with "WO"/"Water Observations" in this notebook? e.g. rename the function to something like plot_wo instead?
As it is currently, this function is for plotting the individual WO scenes themselves (i.e. what we used to call "WOFLs"). I can see people also wanting to plot the WO frequency maps with the official colour scheme... should we in the future somehow incorporate that functionality into this function, or have multiple funcs? For the second option, we might need to choose clear names for each so users know which one to use.
In the notebook, any reason for importing the func under a different name? wofs as plot_wofs? We might as well just choose a good name and use that directly

Done for 1 and 3; 2 I think makes sense but not for this PR. I've clarified the wording in the docstring to make it clear this is for bit flags.


mol.intor('int1e_rinv') Integral with single Gaussian BF

Hi,
Is it possible to perform an integral like: mol.intor('int1e_rinv'),
but for just a single Gaussian.
I tried doing this by making the mol have the first atom as the Ghost atom at R=0,0,0 with a single basis function of 1s Gaussian whose exponent=0 and contraction coefficient= 1.
Ex:
mol = gto.Mole()
     mol.atom = '''Ghost 0 0 0; '''
     mol.basis = {'Ghost': gto.basis.parse('''
     Ghost    S
          0.0              1.0
     ''')}

Then, after running mol.build(), the normalisation factor becomes 0, which I fix by doing
mol._libcint_ctr_coeff(0)[:]=1.0
The remaining atoms of the mol object contain the atoms I need as usual, with normal basis functions.
After doing, A = mol.intor('int1e_rinv'),
I was hoping to use the integrals in the first row (except the first element [0,0]), i.e. A[0,1:]
Does this approach make sense? I wasn't able to get the desired results, so I am hoping if someone could help me with this.

Hi again!

But is it possible to do what I asked above?
Sorry for bothering again.

mol = gto.Mole()
mol.atom = '''Ghost 0 0 0; '''
mol.basis = '''
Ghost    S
0.5              1.0
'''
ints = mol.intor('int1e_rinv')
norm = mol.gto_norm(l=0, expnt=0.5)

The integral "\int exp(- r^2) / |r| " = ints / norm**2


cargo run should be able to pass parameters to program

I'd like for cargo run to be able to pass parameters to the program being ran. This would be tremendously useful, especially for cli programs.
cargo run already runs the program, why not make this feature more powerful?
Thoughts?

Cargo already does this, try cargo run -- foo.

Awesome. Missed that in the help message. Closing this issue. Thanks


Validation of proxy calls fails - missing hmac query param

Issue summary
To make ajax calls between the store frontend and my backend, I am using a proxy app on a dev store.
As the calls are coming from the frontend, the validateAuthenticatedSession middleware can't be used.
In the docs, I read about the HMAC query parameter and how I should validate the call by validating the HMAC, so I tried to use the validateHmac method but it didn't work.
Upon looking at the query params from the request, I discovered there was no hmac query parameter (although validateHmac expects hmac).
From the proxy request, I receive the following req.query object:
{
shop: 'domain.myshopify.com',
  logged_in_customer_id: '',
  path_prefix: '/apps/my-app-proxy',
  timestamp: '1678975741',
  signature: 'some_signature_key'
}

I ran this line
const isValid = await shopify.api.utils.validateHmac(req.query);
and it throws an InvalidHmacError: Query does not contain an HMAC value.
I tried to replace the key name from signature to hmac
const params = {};
        for(const [key, value] of Object.entries(req.query)) {
            if(key !== 'signature') {
                params[key] = value;
            } else {
                params.hmac = value;
            }
        }
        const isValid = await shopify.api.utils.validateHmac(params);
        console.log('isValid: ', isValid); // isValue: false

But now isValid is false (it should be true because this is a real request).
Is this a bug or am I doing something wrong?

@shopify/shopify-api version: 6.2.0
Node version: 18.13.0
Operating system: MacOS

Expected behavior
The shopify.api.utils.validateHmac should work properly without any outside manipulation of the query object
Actual behavior
The method expects a non-existing query param (hmac) and fails to validate the signature param

As mentioned in the guide for validateHmac, "Shopify requests include an hmac query argument", that is, requests coming from Shopify will include a hmac query parameter.  Therefore, validateHmac is for validating requests from Shopify only.
Is there any reason why you can't use authenticatedFetch in your frontend (which will add a session token to your request) that would then allow the backend to use validateAuthenticatedSession middleware?

Thanks for the extra information @tamir-boaideas ... according to the handling proxy requests page, it would appear that the hmac is added to the forwarded request, but with the query parameter name signature, not hmac.
This does appear to be a bug ... thanks for bringing it to our attention.


lu file can't save when changing in dialog page.

Describe the bug
After create a interruptionSample, changed the getProfile dialog into luis recognizer, show error.

I change the lu as below, but it can't save in that panel. it can only save in lu page.
- my name is {personName:userName}
- {personName:userName}
- {age:userAge}
- I'm {age:userAge} years old

@ prebuilt  personName userName
@ prebuilt  age userAge

Version
master branch
Browser

[x] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

it's kind of known issue inline lu editor can't save with error. talked on #2141 #2267, and will be fixed in #2272


Linq query translator does not use the JsonPropertyName attributes

Describe the bug
While using LINQ to build query's for Cosmos DB the JsonPropertyName attributes are not respected.
To Reproduce
Say we have the following document
public class DeviceDocument
{
    [JsonPropertyName("deviceid")]
    public string? DeviceId { get; set; }

    [JsonPropertyName("id")]
    public string Id { get; set; } = Guid.NewGuid().ToString();
}

And the following contents in the container
{
    "id": "1",
    "deviceid": "MyDevice"
}

Next I want to run a query against cosmos with a filter on DeviceId.
var queryable = cosmosClient.GetDatabase("MyDatabase").GetContainer("MyContainer").GetItemLinqQueryable<DeviceDocument>();

var query = queryable.Where(x => x.DeviceId == "MyDevice");

var feedIterator = query.ToFeedIterator();

var items = new List<DeviceDocument>();

while (feedIterator.HasMoreResults)
{
    foreach (var item in await feedIterator.ReadNextAsync())
    {
        items.Add(item);
    }
}
return items;

Actual behavior
The generated query now becomes
SELECT VALUE root FROM root WHERE root["DeviceId"] = "MyDevice"

However since "DeviceId" does not match "deviceid" in the database the query does not return anything.
Expected behavior
That the query translator also checks for the JsonPropertyNameAttribute on a property and adjusts the query accordingly. So the query becomes
SELECT VALUE root FROM root WHERE root["deviceid"] = "MyDevice"

Environment summary
SDK Version: 3.38.1
OS Version: Windows 11, .net 8

While browsing the GetItemLinqQueryable() arguments, I noticed we can set the CosmosLinqSerializerOptions to use the CamelCase naming policy.
My suggestion would be to add a PropertyName naming policy, so the behavior can be selected.

There are two serializers

Type
Stage
Scenarios
Description

CosmosSerializer
GA
All except LINQ
Only for POCO type serialization and se-serialization

Preview: CosmosLinqSerializer
Preview
All including LINQ
Hints to LINQ about property name conversion

@the-programmer  Can you please test with the CosmosLinqSerializer which is currently in preview?

Hi @Maya-Painter. At the moment I didn't get it working but that could just be a skill issue.
First I created the SystemTextJsonSerializer from the example in the CosmosLinqSerializer documentation.
Next I updated the CosmosClient to become
var clientOptions = new CosmosClientOptions()
{
    Serializer = new SystemTextJsonSerializer(new JsonSerializerOptions()),
};

//Add the CosmosDB Client
var cosmosClient = new CosmosClient(connectionstring, clientOptions);

Finally I removed the CosmosLinqSerializerOptions in GetItemLinqQueryable.
However the query preview still used the property names instead of the attribute names.

Glad to hear it worked for you @the-programmer! We plan on making the LINQ custom serializer public on the next release and will update sample code and documentation to clarify how exactly this feature can be used. Unless you have any other concerns, I can close this issue.

Yes, the issue can be closed since it will be fixed in the next release.


Convert TransferProgress to data class

@JSunde  PTAL?

Codecov Report

Merging #1245 (8c5d18b) into master (aa49354) will increase coverage by 0.05%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1245      +/-   ##
============================================
+ Coverage     28.94%   29.00%   +0.05%
  Complexity      778      778
============================================
  Files           295      295
  Lines          7345     7331      -14
  Branches        389      389
============================================
  Hits           2126     2126
+ Misses         5120     5106      -14
  Partials         99       99

Impacted Files
Coverage Δ

...id/ground/persistence/remote/TransferProgress.java

...roid/ground/persistence/remote/TransferProgress.kt
0.00% <0.00%> (ø)

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


HOTFIX: In Connect test with auto topic creation disabled, ensure precreated topic is always used

@ijuma @hachikuji Could either of you take a quick look? I missed this in the review of the PR -- the default for VerifiableSource/Sink is the topic verifiable and we missed that the topic would be missing -- the internal topics were auto created, but the test had only pre-created the test topic.

Also kicked off a run of the tests here, though I've already verified locally that this fixes the failing tests.


[Bug]: The widget count mismatches with the toast message and the canvas while performing undo and redo

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
It is observed that the no of widgets counts mismatches with the toast message and the widgets in the canvas when performing undo and redo operation

Steps To Reproduce
1.Launch Appmsith app in release/Prod Environment
2.Drag and drop a container widget
3.Add two widgets inside container and add one outside container
4.Draw and select all the widgets in the canvas and group them as container
5. press cmd+z and read the toast message and press cmd+shift+z and read the toast message
Environment
Production
Version
Cloud

@marks0351 @jsartisan can you clarify the meaning of the message show in context to the situation. I am a little confused

Closing since I don't see this message anymore


Miller update

@gandrianov all scripts have been updated to take user inputs, additional python scripts have been added to help in calculations throughout the pipeline, and the README has been updated. Please review. Thanks!

@sven-miller could replace tif on png in Atom_list_Figure, please? 30 Mb is pretty huge

@gandrianov I swapped the tif for a png and updated the README. Thanks for the suggestion

@sven-miller I slightly updated the readme file. Now everything looks good


[REEF-812] Improve NetworkServiceTest

This PR addresses the following issues.

Replace many StringBuffer.append with one StringUtils.repeat
Move Connection.open calls to outside of loops

JIRA:
REEF-812
Pull Request:
This closes #

Hi, @dafrista . Could you review this, please? I'm not sure who is the best person to review this module.

Looks good, I'll merge

Thank you, @tcNickolas !


Feature/overlay tool

WIP

Resolve scoped package conflict
Add proper commit messages (squash?)
Unit tests?


Zend\Navigation\Page\Mvc - IsActive Function "improvement ?"

Hello
Right now to check if a Mvc Page is active you guys check if
$this->routeMatch->getMatchedRouteName() === $this->getRoute()

and  that the parameters match
 (count(array_intersect_assoc($reqParams, $pageParams)) == count($pageParams)

I was wondering if we could improve this behavior by checking first  if the Page route is actually contained in the Matched Route
Lets take an example:
Router conf:
'routes' => array(
            'production' => [
                'type' => 'segment',
                'may_terminate' => true,
                'options' => [
                    'route' => '/production',
                    'defaults' => array(
                        '__NAMESPACE__' => 'Production\Controller',
                        'controller' => 'Index',
                        'action' => 'index'
                    )
                ],
                'child_routes' => [
                    'project' => [
                        'type' => 'segment',
                        'options' => [
                            'route' => '/project[/:action[/:id]]',
                            'defaults' => array(
                                'controller' => 'Project',
                                'action' => 'index'
                            )
                        ],
                    ],

This assume that the child route project is under production
so route "production/project"  is a child of "production"
Navigation Conf:
 'navigation' => [
            'production' => [
                'id' => 'project',
                'label' => 'Production label',
                'route' => 'production'

The current isActive function does not work in this situation because the routes are different
The workaround it to create a child navigation  under "production" but i feel like it is overkill (as i dont want to display the child page in the navigation (so i use the param visible = 0 ))
My solution would be  to check that the page route is contained  in the Matched route
strpos($this->routeMatch->getMatchedRouteName(), $this->getRoute().'/') === 0

In my scenario It would check if "production/" is contained in the  "production/project" (at the beginning of the string)
And make the Page active
so if you are viewing the site via the "production/project" route it will make all navigation set up to use the route "production" active
Please let me know if that make sense or if I am missing something that would make this solution incorrect
Thank you

so if you are viewing the site via the "production/project" route it will make all navigation set up to use the route "production" active

This is your scenario! And all the others?

        FAQ

        Editions

        System Requirements

The current matched route name is "products/server/faq". Which list item should selected?
Also the breadcrumbs will not work.


[optimization] read underlyingContest earlier

Read currentContest into memory before this line so that you only have to read it once in this call
https://github.com/Hats-Protocol/jokerace-eligibility/blob/f7dc50a8988ac487172ea330ca4250c0a65f84e4/src/JokeraceEligibility.sol#L128

fixed in #11:
https://github.com/Hats-Protocol/jokerace-eligibility/blob/52c04111c2be0b90971393bdec3524d9d64ef3ac/src/JokeraceEligibility.sol#L124-L129

you can also use currentContest on line 132


build: add yml support for appManifest

fixes #195

Very belatedly: https://github.com/appc/spec/pull/121


Implemented a summary of change sets which get filtered out during update DAT-12068

This PR implements a summary reporting after an update runs which shows the change sets which were filtered out, as well as a list of the count of change sets run, previously run, and filtered out, both because of DBMS mismatches, and label/context mismatches.
The global option show-update-summary can be set to false to stop this summary from appearing.  The default value for the option is true

I added some functional questions, code in general is as I'd expect it to be.

@wwillard7800, hi -
I think we need a similar PR in liquibase/liquibase-pro to add the summary for the update-one-changeset command.


Support the new RPC calls around labels

Bitcoin Core v0.17 has introduced a new API for labels. It would be very useful to support these RPC calls in NBitcoin.

Would you give it a try? This does not seems difficult to add and the tests run on 0.17.

I don't think I'll be able to take this on...


Setting root

Hello !
Padrino is really great for building a small app!
Just finished my little app, but I don't find how to  set the root
'
get '/' do
render('pages/index')
end
'
If I do that, it renders my pages/index view but it don't render the controller & methode pages#index
What is the right fix to lunch my pages#index for the root url "/" ?

Obviously depends on your needs but the simplest way is just to repurpose the index as root with map:
MyApp.controllers :pages do
  get :index, :map => "/" do
     # ... my stuff here
  end
end

Thank you ! It works !


ghc: 8.8.2 -> 8.8.3

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ghc/versions.
meta.description for ghc is: "The Glasgow Haskell Compiler"
meta.homepage for ghc is: "http://haskell.org/ghc"
Updates performed:

Version update
Quoted meta.homepage for RFC 45

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 8.8.3 with grep in /nix/store/0a5ya4pba9avxl9rj2cp1rpxxc2lwfg6-ghc-8.8.3

directory tree listing: https://gist.github.com/6ca8ae10efed95439fc2e0c146f21dfa

du listing: https://gist.github.com/89ab8c52604eb8dd9226f0d55aee886f

Rebuild report (if merged into master) (click to expand)

17343 total rebuild path(s)
5862 package rebuild(s)
5859 x86_64-linux rebuild(s)
5806 i686-linux rebuild(s)
5678 x86_64-darwin rebuild(s)
0 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
AgdaSheaves
AgdaStdlib
TotalParserCombinators
agdaBase
agdaIowaStdlib
agdaPrelude
arion
bareos
bdsync
bench
biboumi
bitvector
bup
bustle
cabal-install
cachix
carp
categories
cedille
ceph
ceph-client
ceph-dev
client-ip-echo
cntk
coursera-dl
dhall
dhall-bash
dhall-json
discover
dl-poly-classic-mpi
elm2nix
ethash
ethminer
fffuu
freecad
futhark
fwupd
getdp
ghc
ghcid
git-ftp
gitAndTools.darcs-to-git
gitAndTools.darcsToGit
gitAndTools.git-annex
gitAndTools.git-annex-metadata-gui
gitAndTools.gitAnnex
globalarrays
gnome-firmware-updater
gnome3.gnome-boxes
gnome3.gnome-software

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0a5ya4pba9avxl9rj2cp1rpxxc2lwfg6-ghc-8.8.3 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ghc https://github.com/r-ryantm/nixpkgs/archive/2762f7efe9a2ec345fc31fdc20da3bfa53a5bdcd.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0a5ya4pba9avxl9rj2cp1rpxxc2lwfg6-ghc-8.8.3
ls -la /nix/store/0a5ya4pba9avxl9rj2cp1rpxxc2lwfg6-ghc-8.8.3/bin

cc @marcweber @kosmikus @peti for testing.

@ryantm, we already have ghc-8.8.3. I'm not sure why this PR keeps popping up? I think it's the third time I've seen this now. Is there maybe a configuration error somewhere?

@peti I talked to ryantm about this yesterday on Discord.
I think they've been doing some development on the r-ryantm bot recently and running it very frequently.  Every time they run it, it causes this PR to be submitted again.
The easiest way to stop this PR from being re-submitted multiple times is just to leave it open and don't close it.
So it is not a great solution, but it is all we can do for now.

I deployed @bhipple 's fix so closing now.


Fix bad request if there is no scope

I've found that if I don't specify a scope Strava gives me the following error:
{
  "message": "Bad Request",
  "errors": [
    {
      "resource": "Authorize",
      "field": "scope",
      "code": "invalid"
    }
  ]
}

This patch addresses this issue by adding the scope public as default.

Thanks!


cf target to accept --org-guid or --space-guid

What's the user value of this feature request?
As a cf user

in order to inspect a resource from its guid (e.g. an app or a service instance)
I need to target the associated space to be able to use usual CF CLI commands (such as cf service or cf app) by specifying the space guid such as cf t --space-guid GUID

Who is the functionality for?
For CF admins and CF developers automating using CF CLI and CF API through cf curl outputs which provides space_guid attached to most resources (app, service instance, route etc...)
How often will this functionality be used by the user?
Each time switching among space is required to inspect a resource from its guid (e.g. from audit events which only include guids)
Who else is affected by the change?

Does this feature cause a breaking change? Are other users affected by this change?

No breaking change
Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Currently, additional unnessary calls need to be made to inspect an object from its guid or space_url.
      cf curl ${space_url} | jq -r '.entity | [ .name, .organization_guid, .organization_url ] | @tsv' |
        while IFS=$'\t' read -r space_name organization_guid organization_url; do
          org_name=$(cf curl ${organization_url} | jq -r '.entity.name')
          #            echo "---------------------------------------------------------------------"
          #            echo "associated space:"
          #            echo "$ cf t -o $org_name -s $space_name"
          cf t -o $org_name -s $space_name >/dev/null

See https://github.com/orange-cloudfoundry/cf-cli-cmdb-scripts/blob/ec3aa283989e638bcc326b3532e04dd4c6f4f063/cf-cli-cmdb-functions.bash#L271-L326 for full example
Describe the solution you'd like
cf t --space-guid GUID
cf t --org-guid GUID
Describe alternatives you've considered

CF curl scripting (which waste API calls)
directly tweak $CF_HOME/.cf/config.json would be fragile and intrusive

 "OrganizationFields": {
    "GUID": "018ee7d1-c4d4-4975-84e9-f92610ef5306",
    "Name": "osb-cmdb-backend-services-org-client-0"
  },
[...]
  "SpaceFields": {
    "GUID": "",
    "Name": "",
    "AllowSSH": false
  },

Additional context
Add any other context or screenshots about the feature request here.

Thanks for the feature request @gberche-orange.
Would it not be more direct to capture details for a resource without retargeting?
You're probably already aware of this, but if you have the guid for the resource, you can cf curl /v3/RESOURCE/GUID to view details associated with out being in the same org/space (assuming you have the right access credentials to access information for that resource).
For example:
I have an app in org o / space s
My CLI is currently targeting org system
cf curl /v3/apps/$appguid
{
   "guid": "9c0d1de8-858d-4825-9f54-f789a3ce499f",
   "created_at": "2020-09-15T23:19:07Z",
   "updated_at": "2020-09-22T19:17:36Z",
   "name": "dora1",
   "state": "STARTED",
   "lifecycle": {
      "type": "buildpack",
      "data": {
         "buildpacks": [],
         "stack": "cflinuxfs3"
      }
   },
   "relationships": {
      "space": {
         "data": {
            "guid": "8fca272e-2381-4955-ab1b-e81910fef937"
         }
      }
   },
   "metadata": {
      "labels": {},
      "annotations": {}
   },
   "links": {
      "self": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f"
      },
      "environment_variables": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/environment_variables"
      },
      "space": {
         "href": "https://api.env.cli.fun/v3/spaces/8fca272e-2381-4955-ab1b-e81910fef937"
      },
      "processes": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/processes"
      },
      "packages": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/packages"
      },
      "current_droplet": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/droplets/current"
      },
      "droplets": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/droplets"
      },
      "tasks": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/tasks"
      },
      "start": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/actions/start",
         "method": "POST"
      },
      "stop": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/actions/stop",
         "method": "POST"
      },
      "revisions": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/revisions"
      },
      "deployed_revisions": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/revisions/deployed"
      },
      "features": {
         "href": "https://api.env.cli.fun/v3/apps/9c0d1de8-858d-4825-9f54-f789a3ce499f/features"
      }
   }
}

thanks @heyjcollins for considering this feature

Would it not be more direct to capture details for a resource without retargeting?

Unfortunately I do need to leverage the CF CLI native UX (e.g. cf service) which goes well beyond formatting the output of a single /v3/RESOURCE/GUID (see the last 4 relevant endpoint calls below)
CF_TRACE=true cf service my-service-instance | grep 'GET '
GET /v2/info HTTP/1.1
GET / HTTP/1.1
GET /login HTTP/1.1
GET /v2/spaces/15704fa0-7dc5-482e-8d03-0ffc034f8483/service_instances?q=name%3Asec-group-broker-filter-cf-smoketest-1599561485&return_user_provided_service_instances=true HTTP/1.1
GET /v2/config/feature_flags HTTP/1.1
GET /v2/service_instances/3fdcc497-6b26-442c-b4fe-2046de1d64d5/shared_to HTTP/1.1
GET /v2/service_plans/d92e72c3-b3c8-4d9d-920a-52c4e1b932e4 HTTP/1.1
GET /v2/services/457d323c-e3ad-4f41-9ca8-c22dd5cd6ffe HTTP/1.1
GET /v2/service_instances/3fdcc497-6b26-442c-b4fe-2046de1d64d5/service_bindings HTTP/1.1

$ cf -v
cf version 7.1.0+4c3168f9a.2020-09-09

Thank you for your submission. If you still run into this issue with the latest CLI v8,  please open a new ticket with the necessary information mentioned in our issue template.


Enhancement : Decouple the UI by using conditional rendering for each module

By refactor to make every single module distinct from the main UI. Provide an on/off switch in setting for each module.

[x] Refactor Calendar to add it in /components/modules/calendar
[x] Import the modules in the index.tsx file dependent on the user's settings
[x] Add a way to register a new module, possibly on the fly ? (Switching on the switch would add the component to the tree of active modules?)
[x] Add some sort of coherence between different modules. For example, a naming convention (CalendarCompoent -> CalendarModule)

Done with #2462671700fb6c35bc38800de303b0444af69bcc


[ feature ] option to only build depends

I have a dockerfile here where i'm building a project. Building the project itself is quite fast, but building the dependencies takes quite some time. It would be nice to be able to split the build step into two phases like build-depends and build. That way I could cache the results of build-depends then have a faster turn around time.
You can see an example of the same trick here for ruby. First they copy in the Gemfile so they can bundle install the dependencies as that takes some time. Then they copy the application which changes much more frequently.
Maybe this is a bit docker specific, but maybe it's a useful feature in other situations.

You can still decide on the name of the command: #90

Oh damn that was fast, thank you! ❤

This rules! Taking like 15 minutes off my builds :D


Handling colons in ipv6

Invalid address 1111: is flagged as valid by the ipv6 validator

Cases with leading colons are also not handled for cases as below:
":8888"
":<IP_ADDRESS>"
These are invalid ipv6 addresses but the validator on ipv6 returns True

PRs welcome


Device: Tuya - Temperature and humidity sensor (ZG-227Z)

Manufacturer
Tuya
Model
Temperature and humidity sensor (ZG-227Z)
Model ID
No response
HW Version
No response
Battery Type
AA
Battery Quantity
2

Additional notes: Device seems to be discovered, but shows CR2450 as the battery type - which it isn't in my case, so I hope the given info doesn't conflict with another Tuya device using that battery type.


Improve api resources

Now api node with request args 'path', it's stupid, for example:
get node descripthion use url: /api/pub/<uuid>/node?path=/home/data modify it to /api/pub/<uuid>/<path>

Plan to use /pub/<uuid>/node/<node_id> instead of /pub/<uuid>/node?path=xxx in api resource.


Sign In with Google Account Bug

Describe the bug
When clicking sign in with Google Account, the callback url goes to http://localhost:3000.
To Reproduce
Steps to reproduce the behavior:

Go to Register
Click on "authorize with Google"

The .env.local file will need to be updated for the release image on github.
The new URL for the live website will need to be added on the Google Auth console.


Use setuptools_scm for version number

setuptools_scm : the blessed (by pypa team) package to manage your versions by scm tags.
This is my by-far favorite means of managing project versioning, which in turn makes it dramatically easier to reliably release software.
Rather than having version numbers baked into source somewhere this module manages version numbers based on git tags.
Having the single-source-of-truth being the git tag means you can always find exactly which commit was released; I've notice the current briefcase 0.2.1 doesn't have a tag, meaning it's hard to know which commit here is actually on pypi.
setuptools_scm also generates .dev version numbers on demand if you build/install the package in between tags which gives a decent amount of information about where the source came from. This makes it easy to share beta builds etc.
In terms of making releasing easier:
I don't know if beekeeper allows storing private variables for a repo, nor whether you can run scripts/tasks only on tagged commits?
I ask this because with setuptools_scm in use on my other personal projects, hosted and ci'd with gitlab, releasing updates to packages is a one-step operation - make a git tag with the new version number.
gitlab ci goes and runs all my defined tests in a clean docker, then (if they passed) handles the deploy to pypi with the new version number (again, in a clean docker).
This guarantees the upload only happens if tests pass, and that it's a clean copy of the code being uploaded.
This way the update is all done in a couple of minutes without the possibility to forget a step.
See this CI script for an example: https://gitlab.com/alelec/structured_config/blob/master/.gitlab-ci.yml
There is only one real negative to this module: the package no longer works from a raw zip downloaded from github as the zip doesn't contain any information about the current version.
The alternatives are to either:

make and use a python sdist/bdist of the package
use pip install [-e] /path/to/clone/of/repo
do a pip install git+https://github.com/pybee/briefcase if you want to install directly from a github url

More info:
https://pypi.python.org/pypi/setuptools_scm

Oh, turns out that one caveat I mentioned is a problem for beekeeper... it appears to expect to work from a github zip :-(

I've not come across setuptools_scm before, and I like what I see... but the caveat seems like a pretty big one.
However, from a quick scan of the docs, it might be possible to work around this problem. If you set a SETUPTOOLS_SCM_PRETEND_VERSION environment variable, setuptools_scm will use it. If we inject a setuptools_scm-compatible version number into the build environment, we can have the version number and use Github source zips.

Could your build environment do a shallow git clone rather than downloading the zip?
I often find it incredibly useful to have git available in CI, on gitlab I regularly use the ci stages to do things like updating git submodules, creating tags, etc. And having the code in a git clone means you can check that the source files haven't been changed accidentally (git status) or automatically artifact just generated files.
Also, if you want to build sdist / bdist etc with include_package_data this will also fail without the git information to know which files are checked in.

FYI There's also a couple of alternate workarounds:
https://github.com/GreatFruitOmsk/setuptools_scm_about ( fallback to version in about.py )
https://github.com/Changaco/setuptools_scm_git_archive ( allows use of github zip on tag / release commits )

The 0.3 development version takes a different approach to handling versioning (using importlib.metadata). There might be a way to incorporate SCM data from setuptools_scm into the metadata that is published, but this patch will require a radical update to be applicable.


Possible to trigger validation externally?

In leu of the nested form possibility discussed in the other thread, I've taken a pretty massive form and broken up into a series of nested sub forms. Is it possible to call a validation method externally from the component form? Looking in the actionCreators it doesn't seem like this is possible and I can't quite figure out how to elegantly address this issue.

You could dispatch the necessary actions yourself a touch('formName', ...fields) (that would show any sync errors) and then a startAsyncValidation('formName') (optional, only if you're showing an indicator) and stopAsyncValidation('formName', errors) to set the errors in the forms.

Is it possible to validate by just passing in the form name?

Are you talking about sync or async?

Sync for now
On Sun, Oct 25, 2015 at 12:07 PM Erik Rasmussen<EMAIL_ADDRESS>wrote:

Are you talking about sync or async?
—
Reply to this email directly or view it on GitHub
https://github.com/erikras/redux-form/issues/165#issuecomment-150959517.

But if I have to rewrite the sync form to behave asyncronously I can do
that too, though this seems like a useful ask.
On Sun, Oct 25, 2015 at 12:37 PM Christopher Pappas <
<EMAIL_ADDRESS>wrote:

Sync for now
On Sun, Oct 25, 2015 at 12:07 PM Erik Rasmussen<EMAIL_ADDRESS>wrote:

Are you talking about sync or async?
—
Reply to this email directly or view it on GitHub
https://github.com/erikras/redux-form/issues/165#issuecomment-150959517
.

You may now submit your form (which will trigger validation) from outside your decorated component. v4.2.0

Awesome, again really excellent work :+1:

@erikras
could i trigger async validation externally ?
my code looks like this:
<Form
  onChange={ (values, dispatch, { asyncValidate }) => asyncValidate(values, dispatch) }
/>

the asyncValidate is working, but the error cannot be caught by form.
it shown: Uncaught (in promise)


Exception Calling SendRequest

When using New-ADIDNSNode -Node * -Tombstone -Verbose, I receive the error message:
'Exception calling sendRequest with (1) arguments. The object does not exist'
This is from a domain joined machine. Looking through the Powermad.ps1 file, this error message does not appear to be thrown directly from the script, but instead the SendMethod method called.

I'm guessing the zone isn't in the default DomainDNSZones location. You can try the other two locations (ForestDNSZone,System) by using the Partition parameter.
If that doesn't work, I would verify the correct distinguished name with ADSI Edit. All of the functions will take a full distinguished name.

I added a function named Get-ADIDNSZone that should help determine the correct partition to use.


Link to documentation on how to resolve a conflict

When I got this error (due to a broken package), it took me way too long to find the correct documentation.
I'm a big fan of error messages telling you what to do.
(I didn't mention the == operator directly in the error message on purpose, because fixing the version can cause a lot of fun ( MethodNotFoundException <3 ), and there should be at least a chance to warn the user.
What would you think about adding a big bold warning to http://fsprojects.github.io/Paket/nuget-dependencies.html#Use-exactly-this-version-constraint how it can cause all kinds of trouble? (Here be dragons ...)

💋


ELK Stack updated to 5.2, SearchGuard and Kibana plugins updated

Updated to latest versions of ELK and Searchguard.

Thanks @nixoz ! :+1:

@deviantony thanks for the merge ;) Cheers!


feat(imaging): add ability to search imaging requests

feat: filter and search field added
feat: added filter and search functionality

Fixes #2491.
Changes proposed in this pull request:

Using existing useSearch hook, added filtering and searching to imagings table view

Newly added dependencies with Bundlephobia links:*

None

Note: pull requests without proper descriptions may simply be closed without further discussion. We appreciate your contributions, but need to know what you are offering in clearly described format. Provide tests for all code that you add/modify. If you add/modify any components update the storybook. Thanks! (you can delete this text)

@blestab @jackcmeyer I finished added the tests for the filter and search components in the imaging search view. I used the ViewLabs.test.tsx
I noticed that in the LabsView tests, it checks that the search is called 1 time. But for my test it consitently calls the search function 2 times. I'm not sure if I implemented the search and filter incorrectly or if I set up the tests incorrectly. I would imagine the search is called once when the table is first populated with the default search/filter parameters. Then one more time when I add a filter/search parameter. Let me know what you think. Thank you very much! Happy Holidays 🎄 🥳

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: FanciestW:x: tehKapaYou have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.0 out of 2 committers have signed the CLA.:x: FanciestW:x: tehKapaYou have signed the CLA already but the status is still pending? Let us recheck it.


Add editorconfig

IntelliJ defaults to 4 space indentation, but respects this file. This practical little thingy allows me to not worry about it

Couldn't hurt.


useSnackbar is typed to returns an optional unnecessarily

The return type of the function obtained via the useSnackbar hook is explicitly typed to return ToastId | undefined. The undefined part is unnecessary because the internal function used, toast, from Chakra UI, always returns ToastId.
This erroneous type annotation makes Typescript complain if we want to cancel or update a snackbar as the methods require a ToastId.

Thanks @tmoran-stenoa, that is indeed incorrect. Will take this along in the v2 release.


Can not deploy Kubernetes Cluster on vSphere with admin user password containing char '$'

Not sure the other information that needs to be provided.  This is the error:
RUNTIME ERROR: Unrecognised conversion type: $

@ccit-spence  You can escape $ in the password using $$.
I faced this issue before and it works with escaping $ with $.


A sizeable plugin update

After a handful of messing around, I've succeeded in some key goals, and I think it's enough to improve the plugin enough

Update a bunch of things

Gradle 7.6 -> 8.9
Java 11 -> 17
Kotlin 1.8.0 -> 1.9.22
IntelliJ 2023.1 -> 2024.1 (Kotlin plugin reasons)
Gradle IntelliJ Plugin 1.13.2 -> IntelliJ Platform Plugin 2.0.1

Create a Full decompiler for Kotlin

The decompiler is a bit buggy as of now and has unexpected psi issues

Update language checking to match that of latest Vineflower versions
Presumably fix #21
Change version to Semver equivalent (remains at 1.1.0)

Can you explain what was causing the race condition so I can understand your changes?

I'm not fully confident on what caused the race condition exactly, but my best guess is that the read action to load a classfile was waiting on the main thread, itself waiting on the read action before passing control back to the decompiler. By using the queue system already present for cases in which read access was allowed, it seems to fix the deadlock.
The change to always using the queue was a hopeful guess that seems to work from my testing.


added virtualbox automation for win7 to run xds server

Hi Stef, I added some code to automate the usage of virtualbox as an xds indexing server. Quite fun and seems one step towards "online structure solution". Please consider merging it :)

Sounds interesting! Will have a look at it after Christmas :-)
Could you also add some documentation on how to set it up / use it here: https://github.com/stefsmeets/instamatic/tree/master/docs ?

Sure, I can have a try during the holidays.
But Merry Christmas!!


Update libbpf to v0.7.0

What type of PR is this?

/kind cleanup
What this PR does / why we need it:
Update libbpf to the latest release.
Which issue(s) this PR fixes:

None
Does this PR have test?
None

Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

Updated libbpf to v0.7.0

/test pull-security-profiles-operator-verify

/test pull-security-profiles-operator-test-e2e


Get the name/email of the person who created shared album

Is your feature request related to a problem? Please describe.
I have several shared albums and would like to get some basic info on the user who created them
Describe the solution you'd like
Return name/email of the user for each album in the report file maybe?
Describe alternatives you've considered
Looked through the issues here and didn't find anything.
Additional context

thank you for the info on PhotoInfo.owner. and please check if it's possible to get email. I think it's possible in other Apple tools - like Apple Notes.

I don't believe it's possible to get the owner email address. There's a ZGENERICALBUM.ZCLOUDOWNEREMAILKEY which appears to be a foreign key to another table but I cannot find a correlating table that would match this key. There's also a ZCLOUDOWNERHASHEDPERSONID which I'm guessing is a hashed GUID that allows Photos to lookup the person's info in iCloud.  You'll have to do with just the name.

got it, thank you!
and this one is not related https://github.com/RhetTbull/osxphotos/issues/1130?
SharedParticipant? It's also not possible to get email from there?

SharedParticipant? It's also not possible to get email from there?

I don't think this is going to be possible. I'm not 100% certain as to the use of this table yet but an entry does not exist for every user who shares photos nor is email available for every participant.
I do plan to add the name of the person who created the shared album (currently available only for the photos themselves) to the AlbumInfo class.

@RhetTbull slightly related question. is it possible somehow to add album id or even better iCloud album id using --keyword-template?
I think it's already possible to get uuid of the photo, but I cannot find how to do that for the album.

@podviaznikov this is not possible using the built in templates but it possible if you write a custom template function to use with the {function} template. See example function. You could access the PhotoInfo's album_info property which returns a list of AlbumInfo objects from which you could get the uuid. See the API docs.  You'd then use your function something like this:
--keyword-template {function:album_uuid.py::album_uuid}
Keep in mind that UUIDs are unique only to a given Photo library on a given computer. The same photo or album on a different device will have a different UUID so in that sense they have limited utility. For photos in an iCloud library, there's a cloud master GUID that's accessible via PhotoInfo.cloud_guid or {photo.cloud_guid} in the template system.


Add Google Cloud Storage support

Original version by Matt Wright.
Heavily modified (to use the gcloud driver) by Daniel Farina.
Errata: I am quite sure gs instance metadata is not working in this
patch.
Also, for whatever reason, I had a hard time getting blob
upload/download to work, so everything is done via signed URLs.

@mattupstate what do you think? Per the errata it could use some careful going over and testing. I do have integration tests so there's that...

And yeah, I'll probably break up the patch a bit, e.g. there was some refactoring to the blackbox system...but I wanted to flag your interest.

@RichardKnop  also relevant to your interests maybe.

Would be awesome if this could be merged ;-)

Does it work for anyone in the field though? I suppose I could "merge and see what happens".

I would like one field test at least, though, from someone invested in the feature and finding bugs.

fdr, can you outline what type of test you are envisioning?

Using it, more or less. Making sure it works, both on backup and restore. Fixing any big surprises.

I've done some preliminary tests with this branch and apart from the one pull request (https://github.com/fdr/wal-e/pull/2) against your branch haven't found any problems with the code.
I will still test all the commands and look at the documention. Hope this will help to get this PR merged. :)

On Wed, Feb 24, 2016 at 1:03 AM Samuel Kohonen<EMAIL_ADDRESS>wrote:

I've done some preliminary tests with this branch and apart from the one
pull request (fdr#2 https://github.com/fdr/wal-e/pull/2) against your
branch haven't found any problems with the code.
I will still test all the commands and look at the documention. Hope this
will help to get this PR merged. :)

That is very helpful :)
Most crucially, backup and restore must work.

Hey, continued testing this branch.
After a painful afternoon of debugging I came across this: https://developers.google.com/api-client-library/python/guide/thread_safety
Because of this the delete operations fail since two greenlets will try to use the same socket. I guess the most sane option is the write a wrapper around some thread-safe http client to expose a httplib2.Http interface and inject that into the storage.Client() when it's created.
Do you want me to have a look at adding something like that or you want to do it yourself?

On Fri, Mar 4, 2016 at 7:55 AM Samuel Kohonen<EMAIL_ADDRESS>wrote:

Hey, continued testing this branch.
After a painful afternoon of debugging I came across this:
https://developers.google.com/api-client-library/python/guide/thread_safety
Because of this the delete operations fail since two greenlets will try to
use the same socket. I guess the most sane option is the write a wrapper
around some thread-safe http client to expose a httplib2.Http interface
and inject that into the storage.Client() when it's created.
Do you want me to have a look at adding something like that or you want to
do it yourself?

Holy moly. Good find.
Also note that I am not using google api client, though I probably should
have tried...when I retrofitted it, I didn't find the the new new thing,
https://github.com/google/google-api-python-client.  Instead, I used
https://github.com/GoogleCloudPlatform/gcloud-python (for no reason other
than I did my best to pick it out of the conflicting documentation I read
about how to do these things at the time).

On Fri, Mar 4, 2016 at 7:55 AM Samuel Kohonen<EMAIL_ADDRESS>wrote:

Do you want me to have a look at adding something like that or you want to
do it yourself?

Please do feel encouraged to do what you think is necessary to bring the
patch up to bar.

Just to let you know that I haven't stopped.
I currently run a small database cluster in production that uses WAL-E and GCS. There are still a few quirks to fix and the whole thing needs a bit more testing. But all in all it's starting to look pretty good!

Cool! What did you end up doing about the whole thread safety issue?

Google's API allows you to pass in a new Http object as long as it has all the features of the httplib2 Http object. What I did was just encapsulate the original into a new object that links all method calls to a thread local version of Http.
I'll try to get the changes visible somewhere any day now.

I'm pending on this for my production setup, is the concurrency-fixed version of this available anywhere ?

Ok, the version I'm currently using myself that seems to do the job can be found here:
https://github.com/deverant/wal-e/tree/gcs_support
The branch is based directly on top of this pull request.

Been using this for several days now, can confirm everything works perfectly :)

@fdr, I've now been running this for a few weeks with daily successful restore tests. Should we proceed to wrap it up and get it to master?

That sounds good, can you submit the PR?

superseded by #237


Documentation: Example is not worked for my

Hi!
I experimented with the HTTP/REST-API of arangodb. For tests I used this docker container: https://registry.hub.docker.com/u/frodenas/arangodb/
When I did the command from the documentation (https://github.com/arangodb/arangodb/blob/devel/Documentation/Examples/RestDatabaseCreate.generated) to create a new database, I`ve got no answer from the server:. the comand come not back.  Is the documentation wrong? Or is the software broken?

Now I found a way, but it's different of the documentation:

curl -u arango:IFFr60y13oxMkdhc -X POST -d '{ "name": "networkcookbook", "users": [{  "username": "cookadmin", "passwd": "IFFr60y13oxMkdhc", "active": "true"}] }' http://fuerth.fritz.box:8529/_api/database
{"result":true,"error":false,"code":201}

And the next issue is:

curl -u arango:IFFr60y13oxMkdhc --dump - http://fuerth.fritz.box:8529/_api/database/networkcookbook
HTTP/1.1 400 Bad Request
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Content-Length: 71
{"error":true,"code":400,"errorNum":400,"errorMessage":"bad parameter"}

Other try:

curl -u arango:IFFr60y13oxMkdhc --dump - http://fuerth.fritz.box:8529/_api/databases/networkcookbook
HTTP/1.1 404 Not Found
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Content-Length: 103
{"error":true,"code":404,"errorNum":404,"errorMessage":"unknown path '_api/databases/networkcookbook'"}

Other try:

curl -u arango:IFFr60y13oxMkdhc --dump -d '{ "name":"networkcookbook"}' http://fuerth.fritz.box:8529/_api/database
curl: (6) Could not resolve host:  "name"
{"result":["_system","networkcookbook","newrestdb","restdb","testdb"],"error":false,"code":200}

How can I get more information about my new database? I can't fount this in the documentation?

As far as I know this container image has ArangoDB 2.2 and the published documentation is for V 2.5.
Am 12. April 2015 10:39:33 MESZ, schrieb Olaf Radicke<EMAIL_ADDRESS>
Hi!
I experimented with the HTTP/REST-API of arangodb. For tests i use this
docker container: https://registry.hub.docker.com/u/frodenas/arangodb/
If i do the command from the documentation
(https://github.com/arangodb/arangodb/blob/devel/Documentation/Examples/RestDatabaseCreate.generated)
to create a new database, i gen no answer from the server:. The comannd
cam not back.  Is the documentation wrong? Or ist the
software broken?

Reply to this email directly or view it on GitHub:
https://github.com/arangodb/arangodb/issues/1310

BTW there is 2.5 available as arangodb/arangodb.
If i do the command from the documentation (https://github.com/arangodb/arangodb/blob/devel/Documentation/Examples/RestDatabaseCreate.generated) to create a new database, i gen no answer from the server:. The comannd cam not back. It's hang up:
curl -v -u arango:IFFr60y13oxMkdhc -X POST --data-binary @- --dump - http://fuerth.fritz.box:8529/_api/database

"@-" means that you have to enter some more data because your are using a POST request. In the example the additional data is
shell> curl -X POST --data-binary @- --dump - http://localhost:8529/_api/database
{"name":"example"}

So you have to type in the curl command, press RETURN, type in the
{"name":"example"}

and press CONTROL-D (or CONTROL-Z on Windows).

It is version 2.2.4:

curl -u arango:IFFr60y13oxMkdhc --dump - http://fuerth.fritz.box:8529/_api/version
HTTP/1.1 200 OK
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Content-Length: 37
{"server":"arango","version":"2.2.4"}

in the documentation chaper "HTTP Interface for Databases" section "Address of a Database" it is written:

Actual URLs in the context of mydb could look like this:
http://localhost:8529/_db/mydb/_api/version

but it's wrong. For my it's the url http://localhost:8529/_api/version
I use the ebook form of the documentation and there has no version in the title. In the chapter "What's new?"  it's talk a bout 2.5. Okay but i can'd find note about  in (It is version 2.2.4:

curl -u arango:IFFr60y13oxMkdhc --dump - http://fuerth.fritz.box:8529/_api/version
HTTP/1.1 200 OK
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Content-Length: 37
{"server":"arango","version":"2.2.4"}

It is version 2.2.4:

curl -u arango:IFFr60y13oxMkdhc --dump - http://fuerth.fritz.box:8529/_api/version
HTTP/1.1 200 OK
Server: ArangoDB
Connection: Keep-Alive
Content-Type: application/json; charset=utf-8
Content-Length: 37
{"server":"arango","version":"2.2.4"}

in the documentation chaper "HTTP Interface for Databases" section "Address of a Database" it is written:

Actual URLs in the context of mydb could look like this:
http://localhost:8529/_db/mydb/_api/version

but it's wrong. For my it's the url http://localhost:8529/_api/version
I use the ebook form of the documentation and there has no version in the title. In the chapter "What's new?"  it's talk a bout 2.5. Okay but i can't find in the changelog  (https://github.com/arangodb/arangodb/blob/devel/CHANGELOG) a note about biger redesign of the HTTP-/REST-API. Is the docker container arangodb/arangodb recommended?

I am one of the developers of ArangoDB. We publish the docker container arangodb/arangodb ourselves (see download page) and we will always keep it updated with releases. In that sense we recommend it.
You are right, the online version of the manual should state the version it refers to. I will see to it that this is changed.

Now I have run the docker image arangodb/arangodb and here is my feedback:
1.) On site https://registry.hub.docker.com/u/arangodb/arangodb/ I miss a note about the password. No password is not the best option, I think. Remember the MongoDB-Disaster (http://www.heise.de/security/meldung/Studenten-entdecken-Tausende-offene-Firmen-Datenbanken-im-Internet-2545183.html). frodenas/arangodb can show you a better way, in my ace.
2.) On the docker site I can't found the Dockerfile or a link to the sources. So I can't modify the Dockerfile for my use case.
3.) Now I have checked my bash script once more, but the commands in the documentation are not running also.
here is my code:

#!/bin/bash
PASSWORD="IFFr60y13oxMkdhc"
DBUSER="arango"
DBSERVER="http://fuerth.fritz.box:8529"
DATABASE="networkcookbook"
curl -v -u ${DBUSER}:${PASSWORD} -X POST --data-binary @- --dump - ${DBSERVER}/_api/database;
{"name":"${DATABASE}"};

The script is topping and the prompt don´t come back.

2.) The link to the dockerfile has been added to the README:
https://registry.hub.docker.com/u/arangodb/arangodb/

added a frobnas like passwd generator

normally the documentation contains a "HERE" but this seems to missing. @13abylon can you check why there are no "HERE" markers on for example

https://docs.arangodb.com/HttpDocument/WorkingWithDocuments.html

1 & 2 are available in the alpha version of 2.6

@13abylon any progress on that matter?

I use the ebook form of the documentation and there has no version in the title.

I noticed this too a few times when I used the epub on smartphone or eBook reader. It would be better if the title was ArangoDB Manual vX.X, and the version and build date should be mentioned on the first page.

Same issue with vibed.org when I am trying to get info about DB:
import vibe.d;
import vibe.core.log;
import vibe.http.client;
import vibe.stream.operations;
void main()
{
requestHTTP("http://<IP_ADDRESS>:8529/",
//requestHTTP("http://ya.ru",
(scope req) {
req.method = HTTPMethod.POST;
//req.writeJsonBody(["name": "My Name"]);
},
(scope res) {
logInfo("Response: %s", res.bodyReader.readAllUTF8());
}
);
Response: {"error":true,"code":400,"errorNum":400,"errorMessage":"bad parameter"}

Could anybody help me? http://stackoverflow.com/questions/31775804/cant-do-test-query-to-arangodb-with-curl
look like curl command hang up

Question by @bubnenkoff is answered on StackOverflow

So, the answer on stackoverflow show me, that the documentation can be better.
The way over EOF (https://github.com/arangodb/arangodb/commit/8c65abd0c0bf4cf925b0d836f9589f61713990d8#diff-70c548d5ceda2672058536b377c9320d) okay for my.
The way with echo and pip is not nice.
But using flag --data-binary and the kickout of '-@' is the best readability way, i think.

I still have problems...
Can I do query like:
db._query({ "collection": "cars", "skip": 0, "limit" : 1 }) ? Is it's right syntax?
for me work only query in style:
db._query("FOR i IN cars RETURN i.name")

_query() has one mandatory argument: the AQL-query string. It has a second optional argument vector: the options.

@bubnenkoff: you are confusing /_api/simple/all of the HTTP interface with db._query() of the JS interface.
{"collection": "cars", "skip": 0, "limit": 1} is the JSON payload required for a HTTP PUT for the URL http://host:port/_db/database-name/_api/simple/all:
echo {"collection": "cars", "skip": 0, "limit": 1} | curl -X PUT --data-binary @- http://localhost:8529/_db/test/_api/simple/all

To do the same with db._query(), you would use AQL and bind parameters:
db._query("FOR doc IN @@collection LIMIT 1 RETURN doc", {"@collection": "cars"})

BTW: Don't confuse db._query() and /_api/query/, the latter parses an AQL query and returns an AST, whereas the former returns a query cursor to retrieve documents.


masterlibterm-readline-gnu-pe.tar.gz: Cannot open: No such file or directory

I am on Debian 9, run
sudo bash -c "$(wget --no-check-certificate -qO - https://raw.githubusercontent.com/arakasi72/rtinst/master/rtsetup)"
then
rtinst -d -l -t -m -u USER -p PASSWD1 -w PASSWD2
But some errors occur:

Configuring rtorrent
RuTorrent: OK
Installing Rutorrent (masterlibterm-readline-gnu-pe)
tar (child): masterlibterm-readline-gnu-pe.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
tar (child): masterlibterm-readline-gnu-pe.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
mv: missing destination file operand after 'rutorrent'
Try 'mv --help' for more information.
rm: cannot remove 'masterlibterm-readline-gnu-pe.tar.gz': No such file or directory

Do not know why. Need I upload some more details?

Can you try running without the -m option, see how that works

Ok found the problem here, not sure when or how that bug got in there, but in latest version rtinst 1.8.1 it has been fixed


Add Ratio Finder gearbox builder calc

Deploy preview for recalc ready!
✅ Preview
https://recalc-6wh0edi09-tervay.vercel.app
Built with commit 51f5b7d403bf38c7875b435e0310e8350e058d9f.
This pull request is being automatically deployed with vercel-action


Create auxiliary database functions

Provide full set of functions to work with database (get and set values)

6 storypoints


Textblob not finding the downloaded corpora

python -m textblob.download_corpora
Although I download the corpora as said in the error message it still does not work.
I ain't sure is it because of the NLTK library or not because I've installed that too.

I found upgrading from NLTK 3.8.1 to 3.9.1 broke my project. I now get errors asking me to:

python -m textblob.download_corpora

Previously you could download textblob corpora on one account and it could be found by another account. This is no longer the case.
Moving back to NLTK 3.8.1 fixed it. I can reproduce the issue by upgrading to 3.9.1 again.

The problem is due the version moving back to the NLTK 3.8.1 can help to rectify the error

To follow up on this, I fixed it by specifying the NLTK data path and telling NLTK where to look like this:
def download_nltk_resources(self):
    """
    Downloads required NLTK resources if not already present.
    """
    import nltk
    import os

    # Use the environment variable or fall back to default
    nltk_data_path = os.getenv('NLTK_DATA', '/usr/local/share/nltk_data')

    # Ensure the directory exists
    os.makedirs(nltk_data_path, exist_ok=True)

    # Add our path to NLTK's data path
    nltk.data.path.insert(0, nltk_data_path)

    print(f"Using NLTK data path: {nltk_data_path}")

    required_resources = {
        'averaged_perceptron_tagger': ('taggers', 'averaged_perceptron_tagger'),
        'averaged_perceptron_tagger_eng': ('taggers', 'averaged_perceptron_tagger_eng'),
        'punkt': ('tokenizers', 'punkt'),
        'punkt_tab': ('tokenizers/punkt_tab', 'english'),
        'movie_reviews': ('corpora', 'movie_reviews'),
        'brown': ('corpora', 'brown'),
        'conll2000': ('corpora', 'conll2000'),
        'wordnet': ('corpora', 'wordnet')
    }

    # Download and verify all resources
    for resource, (folder, name) in required_resources.items():
        try:
            nltk.data.find(f'{folder}/{name}')
        except LookupError:
            print(f"Downloading {resource}...")
            nltk.download(resource, download_dir=nltk_data_path, quiet=True)

with NLTK_DATA specified as an environment variable.
Then do something like this:
try:
    # Download resources only once at the start
    if not hasattr(TextParser, '_resources_checked'):
        self.download_nltk_resources()
        TextParser._resources_checked = True

How to solve this issue?

Moving back to NLTK 3.8.1 fixed it. I can reproduce the issue by upgrading to 3.9.1 again.
By downgrading the NLTK you can solve the issue.

Moving back to NLTK 3.8.1 fixed it. I can reproduce the issue by upgrading to 3.9.1 again.
By downgrading the NLTK you can solve the issue.

Just be aware NLTK <3.9 contains a critical security vulnerability so you're better off specifying the data path like I suggested rather than using an older insecure version.

Can you tell the solution in detail ??


Contributing to Jamstack-CMS

Opening this issue to see how others like myself can get involved with helping to further develop this. Happy to also help with anything like contributing documentation as well.

I am also interested in getting involved. I can't wait to actually get it working so I can start playing with the UI. 👍

I'm interested in getting involved. I really like the project 💯

would love to help. Let me know how i can help

@dabit3 How would I get started in contributing to this project? I would love to have the opportunity to help develop a JAMstack CMS that is as promising as this one is. I'm always looking out for a CMS that will allow comments, analytics, and still allow custom features. This seems to be a Wordpress for static sites, which seems awesome.
Thanks in advance!
Jarod Peachey


adding -Wshadow for GCC

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
For changelog. Remove if this is non-significant change.
Category (leave one):

Build/Testing/Packaging Improvement

Short description (up to few sentences):
Adding -Wshadow switch to the GCC
Detailed description (optional):
Adding -Wshadow switch to the GCC and making all necessary changes to make it compile

@alexey-milovidov what are CMake flags to use for unbudled build like in the CI, I will check unbundled and the GCC 9 problems
In addition, how to run clang based builds? is there any flags to apply or just set compiler as clang for the build?

After you click at build check:
https://clickhouse-builds.s3.yandex.net/6325/4044612832715f4761ee2d3ab82e23e03abec6bb/report.html
you can find build logs for every compiler, for example:
https://clickhouse-builds.s3.yandex.net/6325/4044612832715f4761ee2d3ab82e23e03abec6bb/build_log_480503911_1564946647.txt
and you can find cmake command there:
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DSANITIZE= -DENABLE_EMBEDDED_COMPILER=1 -DENABLE_TESTS=0 -DENABLE_UTILS=0 -DCMAKE_CXX_COMPILER=/usr/bin/g\+\+-9 -DCMAKE_C_COMPILER=/usr/bin/gcc-9 -GNinja -DENABLE_TESTS=0 -DENABLE_UTILS=0 -DCMAKE_CXX_COMPILER=/usr/bin/g\+\+-9 -DCMAKE_C_COMPILER=/usr/bin/gcc-9 -GNinja

it's a bit overloaded (by debhelper tools).

what are CMake flags to use for unbudled build

CMAKE_FLAGS="$CMAKE_FLAGS -DUNBUNDLED=1 -DENABLE_MYSQL=0 -DENABLE_POCO_ODBC=0 -DENABLE_ODBC=0"

In addition, how to run clang based builds? is there any flags to apply or just set compiler as clang for the build?

Just setting compiler as clang will work (BTW, I use clang for development most of the time), but for exact CMake flags, you can check build logs.

@alexey-milovidov just ran the following line

cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DSANITIZE= -DENABLE_EMBEDDED_COMPILER=1 -DENABLE_TESTS=0 -DENABLE_UTILS=0 -DCMAKE_CXX_COMPILER=/usr/bin/g++-9 -DCMAKE_C_COMPILER=/usr/bin/gcc-9 -GNinja -DENABLE_TESTS=0 -DENABLE_UTILS=0 -DCMAKE_CXX_COMPILER=/usr/bin/g++-9 -DCMAKE_C_COMPILER=/usr/bin/gcc-9 -GNinja

taken from the build log
It completed successfully, despite it should fail here

../libs/libloggers/loggers/../loggers/ExtendedLogChannel.h:16:61: error: declaration of 'base' shadows a member of 'DB::ExtendedLogMessage' [-Werror=shadow]

Any idea what I'm doing wrong? cmake line copied from build log, and the build command invoked is simply ninja

Probably because -Werror and extra warnings are enabled only for the code inside dbms?

You tell me :) I have no idea. If it is enabled inside some project by means of cmake it supposed to fail in the same fashion on my and your build machine, right?

BTW, with CLang I get following

error: cannot cast private base class 'std::__detail::__variant::_Variant_storage<false, std::unique_ptr<DB::SortedLookupVector<DB::AsofRowRefs::Entry, unsigned int>, std::default_delete<DB::SortedLookupVector<DB::AsofRowRefs::Entry, unsigned int> > >, std::unique_ptr<DB::SortedLookupVector<DB::AsofRowRefs::Entry, unsigned long>, std::default_delete<DB::SortedLookupVector<DB::AsofRowRefs::Entry, unsigned long> > >, std::unique_ptr<DB::SortedLookupVector<DB::AsofRowRefs::Entry, float>, std::default_delete<DB::SortedLookupVector<DB::AsofRowRefs::Entry, float> > >, std::unique_ptr<DB::SortedLookupVector<DB::AsofRowRefs::Entry, double>, std::default_delete<DB::SortedLookupVector<DB::AsofRowRefs::Entry, double> > > >' to 'std::variant<std::unique_ptr<DB::SortedLookupVector<DB::AsofRowRefs::Entry, unsigned int>, std::default_delete<DB::SortedLookupVector<DB::AsofRowRefs::Entry, unsigned int> > >, std::unique_ptr<DB::SortedLookupVector<DB::AsofRowRefs::Entry, unsigned long>, std::default_delete<DB::SortedLookupVector<DB::AsofRowRefs::Entry, unsigned long> > >, std::unique_ptr<DB::SortedLookupVector<DB::AsofRowRefs::Entry, float>, std::default_delete<DB::SortedLookupVector<DB::AsofRowRefs::Entry, float> > >, std::unique_ptr<DB::SortedLookupVector<DB::AsofRowRefs::Entry, double>, std::default_delete<DB::SortedLookupVector<DB::AsofRowRefs::Entry, double> > > >'
return static_cast<variant<_Types...>&>(__rhs);

You tell me :) I have no idea. If it is enabled inside some project by means of cmake it supposed to fail in the same fashion on my and your build machine, right?

Yes. Maybe the difference is in compiler version?

dunno, but.
after minor changes and push of commit, GCC magically passed build
for clang header issue with inheritance access level, looks like it is GCC bug, I've just changed the access level and looks like it is working. now rebasing on master and will push shortly

@alexey-milovidov it looks better now
could you please check the performance test and let me know if failures related to my changes. If yes I think I will need some guidance from you

No, it isn't related.

Everything is fine!

Everything is fine!

How about adding more GCC flags? I would like to add more warning flags for more strict conformance
Do you mind?

We need to add as many warnings as possible.

We need to add as many warnings as possible.

Here you go https://github.com/yandex/ClickHouse/pull/6448


spiral matrix added

added spiral matrix to coding problems
unsure how you'd want to do this, but for this problem, a picture may be helpful to visualize the traversal

unsure how you'd want to do this, but for this problem, a picture may be helpful to visualize the traversal

Is there a public image on the Internet that demonstrates this? Maybe we can provide the link in the solution?


Uncaught TypeError: Arguments to path.join must be strings

[Enter steps to reproduce below:]

...
...

Atom Version: 0.175.0
System: Mac OS X 10.9.5
Thrown From: linter package, v0.9.0
Stack Trace
Uncaught TypeError: Arguments to path.join must be strings
At path.js:390

TypeError: Arguments to path.join must be strings
  at Object.exports.join (path.js:390:15)
  at LinterJshint.Linter.getNodeExecutablePath (/Users/amey_sakhadeo/.atom/packages/linter/lib/linter.coffee:104:10)
  at LinterJshint.Linter.getCmdAndArgs (/Users/amey_sakhadeo/.atom/packages/linter/lib/linter.coffee:80:25)
  at LinterJshint.Linter.lintFile (/Users/amey_sakhadeo/.atom/packages/linter/lib/linter.coffee:112:24)
  at /Users/amey_sakhadeo/.atom/packages/linter/lib/linter-view.coffee:138:18
  at Array.forEach (native)
  at /Users/amey_sakhadeo/.atom/packages/linter/lib/linter-view.coffee:137:18
  at Object.oncomplete (fs.js:93:15)

Commands

Config
{
  "core": {
    "themes": [
      "atom-light-ui",
      "fizzy"
    ]
  },
  "linter": {
    "lintOnChange": false,
    "showErrorInline": true,
    "statusBar": "Show error if the cursor is in range"
  }
}

Installed Packages
# User
file-icons, v1.4.3
fizzy, v0.15.0
linter, v0.9.0
linter-clang, v2.9.0
linter-flake8, v1.2.0
linter-jscs, v1.4.9
linter-jshint, v0.1.0
linter-pep8, v0.1.0

# Dev
No dev packages

/cc @atom/core

Dupe of #329. This is fixed, please upgrade your linter package.


Remove-Item: Passing a number of certificates via Cert: provider and removing with -Force parameter removes only one item.

Steps to reproduce
ls 'Cert:\LocalMachine\SMS\' | remove-item -WhatIf -force

Expected behavior
Removes all certificates in Cert:\LocalMachine\SMS\

Actual behavior
Removes only one certificate. Same issue also found in PS v5.1
Issue does not happen if -Force is not used.

Environment data

Name                           Value
----                           -----
PSVersion                      7.1.3
PSEdition                      Core
GitCommitId                    7.1.3
OS                             Microsoft Windows 10.0.17134
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

The -WhatIf is to avoid accidents if somebody copies the script without checking.


Colon gets removed from URLs

Entering https://google.com will try to redirect to https//google.com

Fixed in 2a19138d84edbc960388d54d08da6d442dd490dc


Add Sustained Psychic Power tracking to designate the minimum Warp Charge on an Actor

Describe the bug
the purge in character sheet(under power) does not work as desired.
it purges everything(no input for sustain) also cannot tell it how much i want to purge.
Version Numbers
FOUNDRY-12,331 and MODULE VERSIONS-2.0.1

Where in the rules are these mechanics?

Where in the rules are these mechanics? Are you referring to this?

yea thats about it, if you could add an input field for "maintain" that would be nice.
also it is my interpretation that the psyker can choose how much they want to purge instead of doing everything, thus affecting how often peril of the warp happens.


NextJS Example Outdated

NextJS has supported CSS out of the box without the @next/css extension.
https://github.com/vercel/next.js/tree/canary/examples/with-astroturf
This example needs to be updated. It says its backward compatible but apparently it only allows global css imports in the _app.js file.

I'm not the author of that example so not really sure how it should be updated

I see, sorry about that. But how would you add it without the @next/css plugin?
Is astroturf importing css in the background that is causing the global css warning/error in nextjs?

I'm not sure what Next is calling "global css" here, but my guess is that it means that the css doesn't have the .module.css extension, You can configure the extension that astroturf extracts to via options on the loader.

const nextConfig = {
  webpack: (config) => {
    config.module.rules.push({
      test: /\.js$/,
      use: [
        {
          loader: 'astroturf/loader',
          options: {
            extension: '.module.css'
          }
        }
      ]
    });

    return config;
  }
};

This works.

TBF the abstraction is all Next's and Webpack's not react

Ah, true, you're correct.
Out of topic but just wanna point out that with Vue, we don't have to worry about which CSS library to use since no-runtime CSS is first class citizen as it should be. Where as with React, either you write JS styles or styled-components (which is a massive 15KB gzip runtime) or astroturf.

Svelte as well includes a styling solution, but those frameworks have a different scope than React has. React is only trying to be (more or less) a view layer, not an application framework. The more apples to apples comparison is Vue to Next. As an FYI Next does include it's own styling solution styled-jsx but I don't think it's very good.
I do wish astroturf was easier to setup on Next, and we are working on that for v1!


'main': Directly count spaces to skip, don't leverage proc_buf length

Main highlighter run on itself, on the optimized version:

optimized (8 runs, 3 last noted):
1.1201650000
1.1074430000
1.1263810000

unoptimized (8 runs, 3 last noted):
1.5746400000
1.5115250000
1.5155440000

Average difference: 0.415907

Sorry about the massive red stop sign graphics here, I didn't know github would render a "Changes requested" review this way.


Error: “Service not found: plus v1”

Steps to reproduce

Upgrade to version 5.0.2;
Follow the normal upgrade process;
Click on Run > notifStart;

Expected behavior
The script should start correctly
Current behavior
I'm receiving an error “Service not found: plus v1”
Context

Version of the script: 5.0.2
I used old versions, so Google Plus was active in the past (however it's now deprecated)

Possible solution

Modifying the manifest file (View > Show manifest file) in order to display appsscript.json
Remove the lines below:
{     "userSymbol": "Plus",     "serviceId": "plus",     "version": "v1"   }
This seemingly works for me, I can now launch the script without error. I'll wait for my next notification to show up in my inbox to make sure it is actually working.
Similar case (for another script) here
I also went into the Google Cloud Platform, and disabled the Google Plus API from the project (it was still there and enabled), although I'm not sure whether this is necessary to resolve the issue.
I'm not sure whether this is happening to everyone, I'm assuming only to those who used old versions of the GoogleContactsEventsNotifier from the past.

Thank you @GioBonvi for this neat little script, which is compensating for a lack of birthday notifications in Google Calendar. :)

Thank you for bringing this up: I'll leave it open in case it happens to anyone else, since it never happened to me personally durign any test.

I have this too

I also went into the Google Cloud Platform, and disabled the Google Plus API from the project (it was still there and enabled), although I'm not sure whether this is necessary to resolve the issue.

This solved it for me, it was the only thing I did.

Modifying the manifest file (View > Show manifest file) in order to display appsscript.json
Remove the lines below:
{ "userSymbol": "Plus", "serviceId": "plus", "version": "v1" }

Same issue. The above fixed it.

So it seems that:

the fix for this is to use the latest source once all Plus code/config is removed

...and a workaround for people who can't/don't-want-to update their version yet is to:

remove the "userSymbol" line from the manifest as described by @AnthonyRobles & verified by @philliid

...and that in both cases it is necessary to:

ensure the Google Plus API is disabled in project-settings - as described by @AnthonyRobles & verified by @sikaiser.

Have I parsed that correctly? If so, perhaps the project has reached the point where it needs an FAQ (or at least a "gotchas") page in the docs/ dir, or it could start as a list at the end of the install-and-setup page. I guess documenting the above (if correct) would be enough to "resolve" this issue?


Support Cosmos partial update

Support Cosmos DB partial document update
I suggest supporting both strings and SDK-provided enumerations for the values of operations' op (eg {"op": "set", ...} and {"op": azure.cosmos.PartialUpdateOperation.set, ...})

Hi! Thanks for flagging this. This is on our roadmap. Happy to provide updates on this whenever you want to check in the future.

@gahl-levy  has there been any progress on this / when can we expect this feature to be ready?

Hi @angusrw. This feature is on our roadmap, but we don't have an ETA just yet unfortunately.

Does this feature have a timeline yet?

@clrogers2 - this is currently planned in the ongoing semester, and is scheduled to be done by March 2023.

Is this still planned for March '23?  My team has plans to update our product with this functionality as soon as available.

Is there any update on when this will be finished/live?

Is there any update on this feature?

This feature is still in our roadmap and we are targeting for July'23

Version 4.4.0b1 is out and addresses this, thank you! https://pypi.org/project/azure-cosmos/4.4.0b1/


Put all the sequence .geojson files in one place

Nesting them under sequenceN folders is unnecessarily complex.

lets actually do this
  .streetcar/geojson/n.geojson
  .streetcar/sequence/n


chore: remove unsafe from rawfd

since wayland-rs use borrowedfd, so here do not need unsafe anymore

This fix bad file description, seems I cannot convert owned fd to raw fd


restarting for beginners

@StephanEggermont you are aware that this is an obsolete project ... GsDevKit_home is the current project to use for running GemStone ... I suppose I should add something to the readme to make it a bit clearer --- there are existing users that may still be using this ...

Hmm, no. I'd welcome a change to the readme. I probably got here from an obsolete link then...

I appreciate your updates so please keep them coming :) ... I've updated the readme with a prominent notice to use GsDevKit_home