fix #15 prevent from parsing inherited constructors

fix #15

@doyou89 here is the fix for bug #15  you mentioned (thanks!). Are you interested in reviewing the fix?

@lucsorel, thank you for your quick modification.
Now, there is no problem when I run on my code.


pull request for e2e test at 11/14/2016 13:15:10

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Make entryPoint required

Breaking Changes
provideEntryPoint is required
The optional provideEntryPoint method has become required on a number of constructors. A value will need to be provided to the following classes:

BaseContainerRuntimeFactory
RuntimeFactory
ContainerRuntime (constructor and loadRuntime)
FluidDataStoreRuntime

See testContainerRuntimeFactoryWithDefaultDataStore.ts for an example implemtation of provideEntryPoint for ContainerRuntime.
See pureDataObjectFactory.ts for an example implementation of provideEntryPoint for DataStoreRuntime.
Subsequently, various entryPoint and getEntryPoint() endpoints have become required. Please see containerRuntime.ts for example implementations of these APIs.
For more details, see Removing-IFluidRouter.md
ContainerRuntimeFactory constructors have changed
The following class constructors have been changed to allow for better flexible in arguments passed:

BaseContainerRuntimeFactory
ContainerRuntimeFactoryWithDefaultDataStore
RuntimeFactory

They now use a single object for constructor params. Example change to be made:
// Old
new BaseContainerRuntimeFactory(
	myRegistryEntries,
	myDependencyContainer,
	myRequestHandlers,
	myRuntimeOptions,
	myProvideEntryPoint,
);

// New
new BaseContainerRuntimeFactory({
	registryEntries: myRegistryEntries,
	dependencyContainer: myDependencyContainer,
	requestHandlers: myRequestHandlers,
	runtimeOptions: myRuntimeOptions,
	provideEntryPoint: myProvideEntryPoint,
});

initializeEntryPoint changed to provideEntryPoint
The naming of initializeEntryPoint has been changed to provideEntryPoint. Please change the property name in relevant calls to ContainerRuntime.loadRuntime(...).
AB#4992
Reviewer Guidance
Most of this PR is providing value for provideEntryPoint in tests. I'll point out that this is because provideEntryPoint is now required on the ContainerRuntimeFactoryWithDefaultDataStore class.
Alternatively, we could leave it as optional on that class and provide this getDefaultFluidObject method as the default.
Also looking for feedback on if the getEntryPoint() API should keep its return type as Promise<FluidObject | undefined> or if it's fine to remove the undefined portion.

@agarwal-navin / @markfields is Loop aware that this is coming in 7.0? I bet they'll want to address this with pre-bump work and could be a bit tricky.

@agarwal-navin / @markfields is Loop aware that this is coming in 7.0? I bet they'll want to address this with pre-bump work and could be a bit tricky.

@alexvy86 Loop is aware of this change coming and has already done the necessary pre-bump work


Added test case for testing syslog function of open bmc.

This change is

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.

a discussion (no related file):
I like your test suite.  I think you should add a reboot test to ensure the ip of the syslog stays intact
Does the code indicate if the syslog server is NOT a server?

Comments from Reviewable

@causten : I have made changes to use global variable and also added test case to syslog setting persistency. Please mark this as LGTM so that it can me merged.

Previously, rahulmah (Rahul Maheshwari) wrote…
> @causten : I have made changes to use global variable and also added test case to syslog setting persistency. Please mark this as LGTM so that it can me merged.

Review status: 0 of 5 files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

syslog code has been merged, this code can now be merged too

Reviewed 5 of 5 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Cost and Memory Analysis on CDC?

[Enter feedback here]
What are the impacts on the Cost and Memory when we apply CDC on SQL or Azure?

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

ID: 015ca28b-f0f3-c5b0-b2b6-b0a546fd4e17
Version Independent ID: 1d340e3e-6e9e-1463-e9be-16e7d5a8062a
Content: About Change Data Capture - SQL Server
Content Source: docs/relational-databases/track-changes/about-change-data-capture-sql-server.md
Product: sql
Technology: ****
GitHub Login: @rothja
Microsoft Alias: jroth

@nimai123 -- thank you for your question.  The cost and memory usage will depend on your workload and may need to be determined empirically.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

I am closing this issue now.  You are welcome to @ mention me for any followup.
We hope to hear from you again.


How to use nvidia-dali in mmdet?

Maybe I should define a new dataloader？

Not sure if it is simple to integrate DALI to mmdetection. Feel free to share your experience if you get it.

Maybe I should define a new dataloader？

Hi, if u successfully integrate DALI to mmdetection? It would be helpful.

Similarly. I also want to know how to introduce DALI

We will investigate DALI recently and evaluate its feasibility

We will investigate DALI recently and evaluate its feasibility

Hi, @jshilong @hellock
Is there progress in introducing DALI?

Hi, curious if there's any progress on this or other methods to improve dataloading speed?


Fix generic context coroutines after lazy stack allocation changes

Build with generic context coroutines running here. I'll update one of the pycicle builders to test this as well.

The fact that fcontext_context_impl is now a template class. Can I actually define the static member functions in the cpp file for a template class?

The fact that fcontext_context_impl is now a template class.

Ahh, sorry, I missed that.

Can I actually define the static member functions in the cpp file for a template class?

You could, but only if you know the types the template is going to be instantiated with.


Plotting discrete abstraction

Hi,
I am using the tulip abstraction functions on a 2D-hovercraft modeled as a double integrator. The state vector is [x; vx; y; vy]. I'm wondering if there's any way to modify the plot function so that it only plots the abstracted position regions? Since the abstraction plot function plots in 2D, it wouldn't accept discretized dynamics with more than 2 states because it can't pick out the specific position variables.
Thanks,
Apurva

@abadithela did you find a solution for this?
You can project the polytopes onto the subspace corresponding to position.


Multiple hosted BWAs in an ASP.NET Core app article

This will likely be for 24Q1.

multiple client projects? How does each client project get correctly associated with the corresponding server part?
Via the call to AddAdditionalAssemblies in each different call to MapRazorComponents for each app (each one hosted within their own virtual directory prefix).
When you publish, will the multiple client projects potentially have overlapping paths?
No, provided that you've set up their static web assets base paths correctly.

UPDATE
Looks like this is in design for .NET 9 ....

https://github.com/dotnet/aspnetcore/issues/52216
https://github.com/dotnet/aspnetcore/issues/46980

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

ID: 96763362-f8ba-0f11-0070-da8f9f533e21
Version Independent ID: 96763362-f8ba-0f11-0070-da8f9f533e21
Content: Multiple hosted ASP.NET Core Blazor WebAssembly apps
Content Source: aspnetcore/blazor/host-and-deploy/multiple-hosted-webassembly.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

This has been cut for .NET 9 and pushed out for consideration for .NET 10. Closing here for now.

Ouch.
For those of us on Net7.0 hosting multiple Blazor Wasm apps, does this mean our only options are to split out the Blazor apps to be standalone, or to wait ~2years for net 10?

Stand by @philip-reed ... I'll talk to the PU offline about this and get back to you.

The response thus far is Dan asking Javier if global interactive WASM rendering will support the approach ... and if so, asking Javier if he can knock up a sample app. As soon as Javier responds, I'll add a remark here. If Javier creates a sample, I'll post a link to it here and then arrange to get it into the Blazor samples repo quickly. I'll make a quick update to resurface the article (or add a new article) and cross-link the sample app. Later, I'll need to flesh the article out with content to cover the scenario.

I'm still waiting on this .........

Bueller? ... Bueller? .............. Bueller? - Economics Teacher (Ben Stein)
Ferris Bueller's Day Off ©1986 Paramount Pictures
Javier is super busy ... the whole lot of them is buried in work AFAICT ⛰⛏  ... I'll place a remark here (and hopefully a link to a sample app) as soon as I hear back.

No worries, thank you.

Hi @guardrex ,
I would like to know about when you have a sample app on NET 8, because I'm facing this trouble after upgrade NET8. Thank you!

@skillcrushbinguyen ... This has been cut for .NET 9 and moved to consideration for .NET 10 (November, 2025). See the PU issue for the discussion ...
https://github.com/dotnet/aspnetcore/issues/52216
You might be better off discussing it further with devs on a public forum ...

Stack Overflow (tag: blazor)
ASP.NET Core Slack Team
Blazor Gitter


InvocationTargetException when trying to run a job

Hi,
I'm trying to submit a job -
{"name":"test",
"config":{"name":"test",
"connector.class":"com.qubole.streamx.s3.S3SinkConnector",
"tasks.max":"1",
"flush.size":"100",
"s3.url":"s3a://test",
"wal.class":"com.qubole.streamx.s3.wal.DBWAL",
"hadoop.conf.dir":"/opt/hadoop/etc/hadoop/",
"topics":"test"}}

But I get a InvocationTargetException  and then the job is killed.
My core-site.xml is -

<configuration>
<property>
        <name>fs.AbstractFileSystem.s3.impl</name>
        <value>org.apache.hadoop.fs.s3a.S3A</value>
</property>
<property>
        <name>fs.s3a.impl</name>
        <value>org.apache.hadoop.fs.s3a.S3AFileSystem</value>
</property>
<property>
        <name>fs.s3a.access.key</name>
        <value>xxxx</value>
</property>
<property>
        <name>fs.s3a.secret.key</name>
        <value>xxxxx</value>
</property>
<property>
        <name>fs.s3a.endpoint</name>
        <value>s3.eu-central-1.amazonaws.com</value>
</property>
</configuration>

Hadoop fs -ls s3a://test works fine.
What am I doing wrong here?
Thanks.

Hi @AmitTwingo, you need to provide the following (you need a DB to store WAL file)
"db.connection.url":"jdbc:mysql://localhost:53152/streamx"
"db.user":"xxxx"
"db.password":xxxx"
Am working on a change to make DB WAL optional so that its easy to get started. I will add that soon

Hi @AmitTwingo, I have made DBWAL optional and also updated the getting started section with all details. Can you try again now.

Brilliant, I'll give it another try tomorrow. Thanks.

Hi @PraveenSeluka , I'm still getting errors. I've rebuilt everything to make sure.
Here is the full error I'm getting -
[2016-10-05 06:36:06,071] INFO Couldn't start HdfsSinkConnector: (io.confluent.connect.hdfs.HdfsSinkTask:72) org.apache.kafka.connect.errors.ConnectException: java.lang.reflect.InvocationTargetException         at io.confluent.connect.hdfs.storage.StorageFactory.createStorage(StorageFactory.java:40)         at io.confluent.connect.hdfs.DataWriter.<init>(DataWriter.java:171)         at io.confluent.connect.hdfs.HdfsSinkTask.start(HdfsSinkTask.java:64)         at org.apache.kafka.connect.runtime.WorkerSinkTask.initializeAndStart(WorkerSinkTask.java:207)         at org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:139)         at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:140)         at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:175)         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)         at java.util.concurrent.FutureTask.run(FutureTask.java:266)         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)         at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.reflect.InvocationTargetException         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)         at java.lang.reflect.Constructor.newInstance(Constructor.java:423)         at io.confluent.connect.hdfs.storage.StorageFactory.createStorage(StorageFactory.java:33)         ... 11 more Caused by: com.amazonaws.services.s3.model.AmazonS3Exception: Status Code: 400, AWS Service: Amazon S3, AWS Request ID: 6D7E03A3816B7A05, AWS Error Code: null, AWS Error Message: Bad Request, S3 Extended Request ID: LJUvlB/fInY3P9pw1dnpMAsKT6RluwL1gJmpeIXTqNGP0IRSluO0HgJkEvLEQLu+Rxj0Z5BWHDo=         at com.amazonaws.http.AmazonHttpClient.handleErrorResponse(AmazonHttpClient.java:798)         at com.amazonaws.http.AmazonHttpClient.executeHelper(AmazonHttpClient.java:421)         at com.amazonaws.http.AmazonHttpClient.execute(AmazonHttpClient.java:232)         at com.amazonaws.services.s3.AmazonS3Client.invoke(AmazonS3Client.java:3528)         at com.amazonaws.services.s3.AmazonS3Client.headBucket(AmazonS3Client.java:1031)         at com.amazonaws.services.s3.AmazonS3Client.doesBucketExist(AmazonS3Client.java:994)         at org.apache.hadoop.fs.s3a.S3AFileSystem.initialize(S3AFileSystem.java:154)         at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2596)         at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:91)         at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2630)         at org.apache.hadoop.fs.FileSystem$Cache.getUnique(FileSystem.java:2618)         at org.apache.hadoop.fs.FileSystem.newInstance(FileSystem.java:417)         at com.qubole.streamx.s3.S3Storage.<init>(S3Storage.java:49)
It seems like it's an error while connecting to s3a, despite me being able to do it outside of streamx.
Prehaps this is a region issue? or an AWS4-HMAC-SHA256 issue? My bucket is in europe, so it is forced.
I've added -Dcom.amazonaws.services.s3.enableV4 -Dcom.amazonaws.services.s3.enforceV4 to the hadoop executable manually, if I remove these parameters I'm getting the same error as streamx. (Although to be fair it's a very generic one..)
Prehaps this is the issue?

I found one solution for now.
I've upgraded the hadoop libraries to 2.7.3 and it seems to be working now.
Obviously haven't ran enough tests to be 100% sure but at least I can access eu-central-1.
I'm guessing hadoop 2.6.0 doesn't support the v4-only regions.

I just found from my team that using S3A will solve this issue even with hadoop 2.6. You can try that out.

I have been using S3A though - bucket link and settings

Did you have any other additional hadoop jars in classpath ? StreamX already includes all required dependencies, including hadoop.

Hi @AmitTwingo were you able to proceed on this ?

Hi, sorry for the radio silence.
I didn't have any additional hadoop jars in my classpath.
After using the 2.7 jars we have switched the bucket to the default zone which worked without a problem.


[GSSoC'23] Code Cracker Game Ready

PR Description 📜
Fixes #2725

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸
https://github.com/kunjgit/GameZone/assets/114330097/77bd8723-26e7-4567-a2af-ed5b282c2441

Thank you soo much for contributing to our repository 💗

Thank you @Avdhesh-Varshney ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@gurjeetsinghvirdee @kunjgit @Arun9739 sir, please review this pull request

Thank you  @Avdhesh-Varshney , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


convert from nuget handles relative paths in nuget.config wrong

Repro steps
We have a nuget solution with the following directory structure:
nuget.config
Other/
  - NugetCache/
      - (all our nugets)
Sources/
  - (a lot of project directories)
  - Solution.sln

The Nuget.config contains a relative path:
  <packageSources>
    <add key="LocalCache" value="Other\NugetCache" />

Actual behavior
It resolves the relative path from the solution:
The created paket.dependencies contains
source Other\NugetCache
Expected behavior
It should calculate the relative path from the nuget.config, NOT from the solution.
Nuget correctly resolves to the cache directory.
the paket.dependencies should contain
source ..\Other\NugetCache
Known workarounds
I can edit it manually, and the conversion is one time, so it's not that bad.

/cc @theimowski could you please take a look if you find some time. Thx


Output tripping markup validation error in spec-prod: CSS: “border-radius”: only “0” can be a “unit”

Seen in https://github.com/w3c/IndexedDB/actions/runs/7171892684/job/19527849573?pr=415 (and the PR itself wouldn't have caused this).
  Validating index.html...
  $ pnpm add vnu-jar
  + vnu-jar 23.4.11
  $ java -jar<EMAIL_ADDRESS>--also-check-css index.html
    "file:/home/runner/work/IndexedDB/IndexedDB.w3c/index.html":442.20-442.20: error: CSS: “border-radius”: only “0” can be a “unit”. You must put a unit after your number.
  ❌  Not so good... please fix the issues above.

bikeshed/bikeshed/dfnpanels/dfnpanels.css has:
border-radius: 3;

... which might be tripping this, not sure yet - my dev machine is offline at the moment so I can't minimize easily.

Processing IndexedDB TOT locally with a freshly updated Bikeshed:
~/spec/IndexedDB [main]$ cat -n index.html | egrep 'border-radius'
   445      border-radius: 3;
   529          border-radius: .25em;
   833  code.highlight { padding: .1em; border-radius: .3em; }
   834  pre.highlight, pre > code.highlight { display: block; padding: 1em; margin: .5em 0; overflow: auto; border-radius: 0; }

... which is close enough to the error line (442) and corresponds to that dfnpanels.css entry .

Change was introduced in https://github.com/speced/bikeshed/commit/1d552322ab1b8912d718d0dd60280334002293b3 which was between semver 3.14.5 and 4.0.0
FYI @dlaliberte and @tabatkins

Fixed in 4.0.1.


Creating variables in a while_loop

I understand why this fails given the way control inputs are inserted in non-Variable ops created in while loops, but maybe the limitations should be documented somewhere:
import tensorflow as tf
i = tf.constant(0)
def body(i):
  w = tf.Variable(tf.constant(1))
  return [i+w]
loop = tf.while_loop(lambda i: tf.less(i,5), body, [i])
s = tf.Session()
s.run(tf.global_variables_initializer())

InvalidArgumentError: The node 'while/w/Assign' has inputs from different frames. The input 'while/j' is in frame 'while/while/'. The input 'while/w' is in frame ''.

I'll try to improve this if I have spare cycles, but for now I'm gonna mark this contributions welcome. I imagine it should additionally be possible to improve the error message in this case.

I haven't seen any docs describing the word "frame" in this sense. It would help a lot to describe what frames are and how they get created.

Is there any real use case where defining variables inside while_loop would help?
Any plans of augmenting the functionality of while_loop? Are contributions welcomed here?

@jcaraban Ah, I actually meant to say "updated" (for instance an RNN cell state). I am not sure if variables can be created inside a while_loop, or whether there would be any use for it.

Note that there is also a bug with the name scope ("while/while/"), I guess because there might be some variable_scope/name_scope mixup. I see the same bug in the same situation (InvalidArgumentError: The node 'output/rec/orth_embed/b/Assign' has inputs from different frames. The input 'output/rec/orth_embed/Const' is in frame 'output/rec/while/output/rec/while/'. The input 'output/rec/orth_embed/b' is in frame ''.).
Is it possible to set the frame as a scope? Then the variable creation could look like this:
with tf.frame_scope(''):
  w = tf.Variable(tf.constant(1))

I don't see a reason why not to create the variables inside the loop. It can make some code easier (in my current case, I don't really see a good option to avoid that).
I guess the problem is only because of the Assign-Op and the Const-Op which are assigned to the while-frame?

I think #4478 is related (or even the same bug) (as well as #3114).

Note, for the given test-code in the initial post here, I get a slightly different error:
ValueError: Fetch argument <tf.Operation 'init' type=NoOp> cannot be interpreted as a Tensor. (Operation name: "init"
op: "NoOp"
input: "^while/Variable/Assign"
 is not an element of this graph.)

Actually, this will make it work:
    with tf.control_dependencies(None):
      w = tf.Variable(tf.constant(1))

It is always a good idea to use tf.get_variable. tf.Variable doesn't work well with control dependency and control flow (cond and while_loop).  For your example, I would do something like this:
def body(i):
  w = tf.get_variable("w", shape=(), dtype=tf.int32,
                      initializer=tf.ones_initializer())
  return i+w
loop = tf.while_loop(lambda i: i < 5, body, [0])
s = tf.Session()
s.run(tf.global_variables_initializer())

s.run(loop)

@yuanbyu wrote

It is always a good idea to use tf.get_variable. tf.Variable doesn't work well with control dependency and control flow (cond and while_loop).

This advice needs an update now that get_variable is gone in Tensorflow 2. Can we just use tf.Variable from within cond/while_loop? If not, what exactly makes it not "work well with control dependency and control flow", and how can we guard against this?
(Apologies for thread necromancy, but I think it's important to have this information on this thread for the sake of people coming from Google search results.)


Could NOT find gRPC (missing: GPR_LIBRARY GRPC_LIBRARY GRPC_GRPC++_REFLECTION_LIBRARY)

I compile in ubuntu environment according to the instructions of README, cmake. The following error appears, how can I solve it?
-- Boost version: 1.69.0 -- Found the following Boost libraries: --   system --   thread --   locale --   random --   chrono -- Could NOT find gRPC (missing: GPR_LIBRARY GRPC_LIBRARY GRPC_GRPC++_REFLECTION_LIBRARY) CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: GPR_LIBRARY     linked by target "etcd-cpp-api" in directory /root/etcd-cpp-apiv3/src GRPC_GRPC++_LIBRARY (ADVANCED)     linked by target "etcd-cpp-api" in directory /root/etcd-cpp-apiv3/src GRPC_LIBRARY (ADVANCED)     linked by target "etcd-cpp-api" in directory /root/etcd-cpp-apiv3/src

You need to install grpc first before building this library. Especially on ubuntu, you may install them with:
apt-get install libgrpc-dev \
                libgrpc++-dev \
                libprotobuf-dev \
                protobuf-compiler-grpc

Close as lack of response from the user. Feel free to reopen if you have encounter the problem again.

@sighingnow Thank you for answering my question, but I think this should be written in the README.


docs: update jest-enzyme section

since CRA now uses the latest version of Jest under the hood,
jest-enzyme v3.2.0 is now also working perfectly fine
I've made a PR to update their docs too
https://github.com/blainekasten/enzyme-matchers/pull/99
package.json

.test.js file

note: I intentionally make the test failed (string vs number)

Thanks.


The attribute names

The attributes of coming days are named by the day of the week (lördag, söndag, måndag). What is the easiest way to get information about the data for tomorrow in a automation?

Did you find an answer to this? Thinking about the same issue as you currently :)

Yeah, I created a template sensor for this, I will try to post it tonight.

Awesome! Please post when you can.

Hi @denko81, have you had a chance to look this up yet? Thanks!

An example to go from
{% for value in states.sensor.pollen_xyz_al.attributes -%} {% if loop.first -%} {{ state_attr('sensor.pollen_xyz_al', value) }} {%- endif %} {%- endfor %}

Completely noob but this seems to be a good option, just change the loop.index number.  1 = next day and so on.
{% for value in states.sensor.test.attributes -%} {% if loop.index == 1 -%} {{ state_attr('sensor.test', value) }}  {%- endif %}  {%- endfor %}


Support thread-loader

Hi, do you have any plan to support thread-loader? Currently it encountered error:
Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 0)
Cannot read property 'Symbol(astroturf seen modules)' of undefined

It would be nice to support thread-loader.
the _compilation, _compiler, and _module properties are deprecated in webpack 5... and not at all available in the thread-loader child process.
Looking at the loader, it looks like it just needs to find a new home for the seen map, as well as gain access to 'addFilefrom the plugin side... which just callsfs.addFile... this.fs` is available in the loader... if the plugin can augment the fs before loaders are called, then it could just be as simple as replacing the call with fs.addFile...

Eh, the fs on the loader context within the child process is just node's fs:
https://github.com/webpack-contrib/thread-loader/blob/master/src/worker.js#L124

@jquense With the inline-loader implementation, this seems like it could work with the thread-loader... :)
This line blows up on the thread-loader because module is undefined...
https://github.com/4Catalyzer/astroturf/blob/25a13acb7a84aa14e845c2c08dc25a920764bc3e/src/inline-loader.ts#L130


Documentation suggestion - Better links to examples

The nan project does not link to comprehensive examples.
I suggest including a link to these examples somewhere near the top: https://github.com/nodejs/node-addon-examples
Alternatively I suggest that the project itself contains more comprehensive examples that are self-contained and demonstrate the use of a variety of features.
I can help with putting together examples and documentation of them but I want to know if / how that would fit into this repo (or related ones).

The tests are rather comprehensive. https://github.com/nodejs/nan/tree/master/test/cpp

I am reading that:
A helper macro NAN_METHOD(methodname) exists, compatible with NAN v1 method declarations.

Is it generally best practise to use the helper macro? I have not seen the non-macro way of doing it in the examples or tests, so I am curious about if there are advantages to not using the macro and if it's worth having more fully-fledged examples of their usage.
Anyway, thanks for pointing me towards the tests. I've now got some code running, and have a better understanding of how I can use the new TypedArrayContents feature.

It's a matter of personal preference. I say they are equally good, but use the
macros because they involve less typing, and I know what they do. The reason
they are there today is more about legacy and they would not be added today if
they were not already present, but it is not like they are slated for removal
either. Those macros are there to stay.
On Friday 09 October 2015 04:52:24 metabench wrote:

I am reading that:
A helper macro NAN_METHOD(methodname) exists, compatible with NAN v1

method declarations.
Is it generally best practise to use the helper macro? I have not seen the
non-macro way of doing it in the examples or tests, so I am curious about
if there are advantages to not using the macro and if it's worth having
more fully-fledged examples of their usage.
Anyway, thanks for pointing me towards the tests. I've now got some code
running, and have a better understanding of how I can use the new
TypedArrayContents feature.

Reply to this email directly or view it on GitHub:
https://github.com/nodejs/nan/issues/487#issuecomment-146842056

I added links to both, the node-addon-examples and the C++ test suite to the README in 50e157d54b88bac850df0c955cf775c4e887465e and b19ed7b20fad1f173dc62dc83b96f9bda3819063. Closing.


When search \z or \Z with check "Use regular expressions" and check "Use escape chars" program Crash

Hi
When you search \z or \Z with check "Use regular expressions" and check "Use escape chars" program crash.
If you do not check "Use escape chars", everything is ok.
\z The match must occur at the end of the string.
\Z The match must occur at the end of the string or before \n at the end of the string.
This error is in the GUI and command line.

Hello @PiotrMP006 ,
I don't get this error but I do get some weird error when tried other scenario with Use escape chars,
We will look at it.
Best Regards,
Jonathan

When you search \z or \Z with check "Use regular expressions" and check "Use escape chars" program always crash.
\z The match must occur at the end of the string.
\Z The match must occur at the end of the string or before \n at the end of the string.


Restarting the app removes saved gRPC request bodies and breaks proto file link

Expected Behavior
After restarting the app I expect the gRPC requests I created before the restart to still be valid and working.
Specifically:

The request gRPC Method should be the same
The request's request body should be the same
The link to the proto file related to the request should still be valid

Actual Behavior
Requests have their gRPC Method reset to unselected. The request body is no longer visible because there is no gRPC method selected. It is not possible to re-select the method because it does not know what proto file the request relates to.
Selecting the same proto file does not work, presumably because the app thinks the file is the same as it was before. It does still highlight the correct file.
Only after selecting a different proto file, then selecting the desired file again, the method dropdown becomes active again. Selecting the same method as before then causes the request body to reappear as it was before, so the data is in the save file somewhere.
Reproduction Steps

Create 2 gRPC requests using the same method in the same proto file
Set the method in both requests to the same gRPC method from the proto
Fill in some (different) request body for both requests
Close the application
Reopen the application

Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
This is quite annoying and a blocker for using Insomnium for us.
It seems like the information is somehow there in the save file because the request body does reappear after selecting a method.
Also the correct proto file is still highlighted so presumably the proto link is also still there.
My guess would be this has something to do with the proto parsing and resolution of its imports (which are in a parent folder and require a specific proto base directory). This import resolution does seem to work while working in the same session, so not entirely sure this is the actual issue.
Insomnium Version
0.2.1-b
What operating system are you using?
Windows
Operating System Version
Win10
Installation method
downloaded exe from github releases
Last Known Working Insomnium version
No response

hey thanks for the reporting! I'll sort this out soon for the next release; (I'm not 100% sure if this is a relic from insomnia 2023.05.8 & I'll check the kong's branch to see if it is patched)


[CMAKE] disable cpack by default

Description
Added a new option that allows to enable/disable Cpack for SFML.
There should be an option to disable CPack, since it interferes with projects that use CPack and add SFML as a submodule (add_subdirrectory).
Tasks

[X] Tested on Linux
[x] Tested on Windows
[ ] Tested on macOS
[ ] Tested on iOS
[ ] Tested on Android

Can you be more specific in how it interferes with your CPack setup?

Cmake Warn message

CMake Warning at C:/Program Files/CMake/share/cmake-3.29/Modules/CPack.cmake:507 (message):
  CPack.cmake has already been included!!
Call Stack (most recent call first):
  D:/!AlexV/cpm-cache/sfml/82d37dc09cecdb2dafafc55bf7e9e6a572fa3a7d/SFML/CMakeLists.txt:486 (include)

CPack warning: both CPACK_COMPONENTS_ALL and CPACK_MONOLITHIC_INSTALL have been set.

This also overwrites the default name to SFML-3.0.0-MSVC-19.39.33523.0-Debug

SFMLBuildMaster: Build this please.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-4.8%) to 51.897%

Totals

Change from base Build<PHONE_NUMBER>:
-4.8%

Covered Lines:
10474

Relevant Lines:
19002

💛  - Coveralls

SFMLBuildMaster: Build this please.


Fix Inactivity SQL Tests

Describe your changes
This fix fixes the failure of SQL tests that take longer than 10 minutes.
Checklist

[x] Is it a bug fix
[ ] Is a typo/documentation fix
[ ] Is a feature enhancement
[ ] It is a refactor
[ ] Created tests that fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

I checked again, these values are already false. When we apply issue #2865, this issue is fixed. So there is no need for this pull request. We just need to implement #2865.


change model command to simulate and put commands in sim_reg

current implementation inconsistent with current architecture

replace command with simulate which calls the simulation layer
retrieve commands from simulation layers

commands have been in simulation registry for a while (sha xxx), not sure when
model now uses simulation reg to get commands since 337c9b567df67f27889c57f5da8d1593c1d03a8b and a871b933fbcbb7556b364889f723ef0d4ee9eea4
instead of changing command to simulate, added new class level attribute to declare the command layer, so commands could in the future come from any layer.


POC for worker based rendering

Pull Request
🤨 Rationale

👩💻 Implementation

🧪 Testing

✅ Checklist

[ ] I have updated the project documentation to reflect my changes or determined no changes are needed.

@munteannatan is this draft PR still valuable to keep around? I think the behavior covered has been merged, can we close this?


Brunch vs. Webpack

Description
This is not a bug, it's more of a rant from someone who has spent the last few days getting Webpack to work, and only through this experience that I have come to appreciate what Brunch is, and how good it is in comparison.
Re webpack, the configuration format alone is truly awful. Webpack is enormous, and it's got different ways of doing the same thing, strange string delimiters (and faux URL parameters), strange requirements about './' in front of filenames. Not only that, but Webpack's apparent strength, the size of it's community, is actually a substantial weakness as examples tutorials and even core docs are out-of-date. Even the main tutorial linked from the Webpack site is dangerously, frustratingly out-of-date in a few key areas. E.g. it doesn't give the right instructions to install babel.
My overall impression of Webpack is of a giant, opaque mess held together by duct tape and bubble-gum. Getting source maps to work with sass was the stuff of nightmares.
And did I mention that it's slow? It's hard to appreciate the truly epic slowness until you've really experienced it, and tried (in vain) to make it go away. Don't get me started on Webpack's twisted approach to improving performance! The 'devtool' settings alone are ridiculous.
The Silver Lining
That said, the silver lining is that, although Brunch has it's warts, and it's docs aren't perfect either, and there are plenty of out-of-date tutorials out there (please, someone go and be "tutorial police" because honestly a bad tutorial is almost always far worse than no tutorial, mainly because it better not to be led than to be led astray), is a far better piece of software in basically every respect. I truly don't understand why Webpack (let alone gulp or grunt) have bigger communities. I fear that it's just that they don't know about Brunch, or suffer from "JavaScript fatigue" and don't want to try something new.
But I'm telling you, I'm going to use Webpack reconfiguration as a threat ("if you don't get that code on time you're going to have to add image processing with file globs to our webpack build!") as punishment for my devs when they do something wrong.
Why isn't Brunch more popular?
So, I haven't been using Brunch for that long (a couple months) and don't know the community, but I really wonder why the community is so small. Could it be the name? JavaScript fatigue? Brunch suffers from bad tutorials as well (although not nearly as badly as Webpack), could that be it? Well, it's a fine thing and I hope it gets more popular soon.

Well Brunch didn't have NPM support until relatively recently. I think that's probably the number one thing holding it back since Webpack was sold to a lot of people as a way to use NPM packages for the front end.
For React users, Webpack also had Hot Module Replacement which was a huge boon and pushed a lot of new React users onto Webpack instead of considering anything else.
Brunch is also still having issues with NPM packages. Bringing in static files is not as straight-forward as I have written in another issue. NPM support is absolutely crucial IMO and I think that's the biggest thing holding it back.

The reason for small popularity is lack of marketing. Brunch is not getting mentioned by "big folks" even though it's been around since 2011 (Grunt appeared in Apr 2012).
We have been successfully using Brunch since that time in all sorts of production-grade applications.

Hot Module Replacement

We have this since this week.

There is one feature of Webpack, but I realize that it opens up a huge can of worms for Brunch, which is a) multiple entry-points, and b) intelligent bundling. The former is useful for site that are organized as a small collection of related SPAs. Regarding the latter, Webpack's "CommonsChunkPlugin" is quite remarkable in it's ability to automatically extract.
I have mixed feelings, however. I'd almost rather have independent Brunch builds for each SPA, and avoid that plugin because I think it's bad practice to have so many dependencies that you require that kind of automation. But in truth, I recognize that I'm only so far along my journey into JavaScript front-end engineering, and so my ability to forsee the future is rather limited! In particular, I'm concerned about the complexity of maintaining several build files, even if they are as nice as brunch's.
I would greatly appreciate any wisdom you can share on these topics.

@paulmillr to be completely fair, we're not at Hot Module Replacement just yet. What we do have is a (somewhat hacky?) way to make hot React reload nevertheless work https://github.com/brunch/brunch/issues/1097#issuecomment-196793713

Regarding multiple entry-points - Brunch doesn't deal with entry-points at all, so the same concept can still be accomplished with the joinTo config. Webpack demands buying into the webpack-flavored commonjs module style, whereas with Brunch you explicitly define which files you want bundled together and your app structure is up to you. Arguably what webpack is doing is more sophisticated, but there is some more flexibility allowed from Brunch's approach.

Just as an update, brunch is also doing entry points now (with some limitations, including several entry points not being able to write to the same file if code splitting).

Today is the first time I heard about Brunch. I just started using webpack a month ago and it's awesome. However, very difficult to configure and setup at first, even using repos. But once it's setup, its the bomb, primarily because of HOT MODULE REPLACEMENT aka "live reload" for HTML, JS, and SCSS/CSS/LESS.
What would bring Brunch into the frontline of the front end developer community is adding this feature, hot module replacement.
Without HMR, it will be very difficult to convince people already accustomed to it, to stop using it. How likely can this Brunch project gain hot module replacement?
Also, another big advantage of webpack is that is allows "lazy-loading" of all component files JS, and CSS, asynchronously.

@IAMtheIAM brunch does in fact provide live reloading — for stylesheets since long ago, for js — since recently http://brunch.io/docs/using-modules#hot-module-replacement http://brunch.io/docs/why-brunch#brunch-vs-webpack
Lazy loading is not supported, and I'm not sure if it will. A feature like this would complicate brunch code base and probably make it slower, and that's the trade off to be made. (https://github.com/brunch/brunch/issues/1341)

@javajosh why has this been hidden from the community? I happen to stumble upon this after a friend of mine as been convincing me to jump ship to elixir/phoenix from node. I think 2017 will be brunch's year :)
after finding brunch, my thoughts to grunt, browserify, gulp, webpack, and broccoli.js

Thanks Brunch team!

I start with browserify and gulp, then webpack and now discover brunch. It is awesome to use it out of the box with the skeleton. But, to configure it to what u like as the structure is not easy.

I was fighting with Webpack trying to get a React webapp going and went with Brunch. So much easier.
But yeah, I found a while back there is some project structure you need to adhere to as I found out in this issue: https://github.com/brunch/brunch/issues/1519

Is there css-loader implementation in Brunch? That's one of big achievements in Webpack, in which we can modulize css for components and minify css selectors in production.

@piglovesyou there was a css-brunch plugin, but now it's deprecated. Brunch handles css stylesheets out of the box.
Try postcss-brunch for css-modules.

@denysdovhan Thanks, I should have taken a look carefully at it. Great!

If it not support lazy loading I will not use it. Tools should be used to solve many problems in real project, I think brunch should have a philosophy behind it and keep improving it to solve the real problems, do not to compare it with other tools and tell people how brunch is different from Webpack etc. People will use it if it meet their needs and have some special merit.

We will have import() in 3.0.

I am deciding between brunch and webpack for a new project. I've used webpack a few times before, but it wasn't as flexible, simple or fast as I'd like. I see one major plus for brunch stated to be it's speed, but I can't find any benchmarks.
Why don't you highlight some benchmarks about how much faster brunch is?

I am coming at this from both angles.
I am working on a PHP project and using webpack to ease the compilation of my assets and I have recently started dabbling with a phoenix based app which introduced me to brunch.
Before I started configuring webpack, I had read a few pages which had warnings along the lines of "brace yourself" in regards to the quality of the webpack documentation.  I thought, "it can't be that bad"!  They were right :)
It took a while, but I finally configured webpack for my project and it has definitely eased my development headaches of resolving dependencies for boostrap and other libraries I am using.   But one thing I have noticed is that is can be slow to rebuild, but not always.  It depends on which file you edit (I am running in watch mode). If its a minor change to a js file, then it can be done in half a second.  If its a change to a SASS file to the top of your SASS tree, then it could be 5 seconds.  This might be a configuration issue on my behalf as a beginner... but I guess there is no way of telling.
Rememer... "brace yourself" for the webpack docs and also start here if you are reading any documentation.  It took me a while to figure out which official webpack documentation page I should be looking at.  Google search returns a few different pages and don't get distracted by what you think will be a helpful tutorial...   My recommendation would be to start here:
https://webpack.js.org/guides/getting-started/
With that said, my time spent developing with Phoenix and Elixir has been the most fun I have had in a long time and I plan on spending most of my free time there for now.   I was looking at swapping our brunch for webpack in my phoenix application, but I think I will hold off on that for now and just enjoy playing with phoenix.

@akvadrako

I see one major plus for brunch stated to be it's speed, but I can't find any benchmarks.

For my project, the same code base, brunch initial build take around 5s, and subsequent build take 400ms (0.4s). Webpack initial build take around 30s, and subsequent build take 2s. I am using babel with react.
I lost that speed now because currently i need to use webpack due to problem with postcss brunch and react-toolbox. Hopefully, when v3 is out, i will try to configure to brunch again.

Is lazy-loading and web-workers concept can be handled with bruch ?


URL specific unfurling for link preview

Currently we have hard coded a link preview for the dapp.
In the future when we have routes tied to users, we should have link previews that prerenders a users profile as it is displayed, with meta data that is specific to the user.
The link @oed provided that will help with this:
https://medium.com/bounties-network/how-to-get-server-side-rendering-benefits-unfurling-indexing-search-ability-without-building-cf09c53a408

@oznekenzo how much effort do you think this is? And would you know how to go about doing this?
It could be a cool feature to enable for when we release following in the dapp. I imaging users will tweet their profile URL and say "Follow me!" and it would be awesome if this tweet contained a preview of their specific profile, instead of our generic 3box.io landing page

@michaelsena  Having the meta data display as text in the link preview is pretty trivial using React Helmet, but getting a custom image to render (a screen shot taken for all profiles dynamically) is work in a few infrastructure layers and will require a paid service (https://prerender.io/pricing recommended above). I haven't done it but can do it, could be as little as 3 as much as 6 days, need to look into it a some more

We could also do something simple where if you link to a users profile you just get their profile picture as a preview.

Agreed with @oed, seems like the simplest option! 🥇

To recap, when a public profile URL is shared, we want to display:
Image: user's profile image
Title:
Description: 3Box Profile for 0x12345...

Have been reading through different implementations that deal with Facebook OG, Twitter, Slack etc.  React Helmet, which would have been the simplest solution, won't work even for just dynamic strings for Facebook OG, as it never runs JS when it scrapes.  Seems only solution is to inject server side logic that'll prepare the meta tags for the FB, TW, Slack etc bots for each profile

Closing because now duplicate: https://github.com/3box/3box-dapp/issues/424


the select feature from the OG engine

What feature do you want to get added on the base engine?

To test your sight, and reliability, please select the option of what should NOT be requested.
Proper credit that was forgotten

so fun fact: i actually considered adding something like this to the engine, however when i tried adding it the notes would all get quantized if i moved them at all
base game added them so i might be able to add it like that

I don't get it

the ability to select multiple notes at once instead of only 1

oh, that's already in 1.0


Add isin()

isin() method for series and dataframe.

Can you break this into two separate PRs?
One for isin, and the other for values / get_values. I'm not sure if we should put values and get_values there, because it might blow up memory. One way we can do this is for each function that requires collecting all the data to a single node, we require users to run toPandas explicitly, so they would know what they are doing and not shoot themselves in the foot.

I divided this PR into two.

@garawalid thanks for the PR. Would you mind resolving the conflicts?

@makimat - do you have a bot that goes around and add that visualization randomly?

@thunterdb I resolved the conflict.

@makimat - do you have a bot that goes around and add that visualization randomly?

It doesn't do it randomly - your repo looked interesting and I wanted to visualize this specific pull request so I asked our bot to do it. You can do it for any pr out there at https://softagram.com/pull-request-bot. Let me know what do you think about the visualization!

Thanks @makimat. The viz looks interesting. We might try this!

Also could you add docs at the corresponding places in docs/source/reference/frame.rst and docs/sources/references/series.rst?
Thanks!

@garawalid, mind updating please? Looks getting close.

Codecov Report

Merging #121 into master will increase coverage by 0.24%.
The diff coverage is 98.48%.

@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
+ Coverage   89.39%   89.64%   +0.24%
==========================================
  Files          31       31
  Lines        2650     2713      +63
==========================================
+ Hits         2369     2432      +63
  Misses        281      281

Impacted Files
Coverage Δ

databricks/koalas/missing/frame.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/missing/series.py
100% <ø> (ø)
:arrow_up:

databricks/koalas/series.py
90.61% <100%> (+0.35%)
:arrow_up:

databricks/koalas/tests/test_dataframe.py
100% <100%> (ø)
:arrow_up:

databricks/koalas/frame.py
88.2% <100%> (+0.6%)
:arrow_up:

databricks/koalas/typedef.py
71.34% <83.33%> (+1.53%)
:arrow_up:

databricks/koalas/__init__.py
88.88% <0%> (-3.71%)
:arrow_down:

Continue to review full report at Codecov.

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

@HyukjinKwon
I updated the PR.
@thunterdb
I created a list_sanitizer() to assure data sanitization in a given list.

cc @rxin

@garawalid, can you rebase this please? Let me take a final pass and merge

@HyukjinKwon
I updated the PR.

Merged - it had many review iterations. Let me make a followup to clean up.


[Do Not Merge] Test PR to test swift-driver API change backwards compatibility

Together with: apple/swift-driver#280
@swift-ci please smoke test


First time deploy - crd not cleaned-up

What I did
initial install (1):
"helm install submariner-latest/submariner-k8s-broker --name "submariner-k8s-broker" --namespace "submariner-k8s-broker"
than (2):
helm delete --purge submariner-k8s-broker
and again (3):
"helm install submariner-latest/submariner-k8s-broker --name "submariner-k8s-broker" --namespace "submariner-k8s-broker"
and got::
Error: customresourcedefinitions.apiextensions.k8s.io "clusters.submariner.io" already exists

You need to remove the created CRDs with kubectl delete crd clusters.submariner.io endpoints.submariner.io before reinstalling the  broker or pass the --set crd.create=false to helm installation command.

thanks for the report @eranra I'm not an expert in helm myself, do you know how to fix that?

@eranra we are focusing on providing an operator to deploy submariner, and in that case the CRD creation/deletion is handled by the operator lifecycle manager.


AL-327:

Updated to include new list of whitelisted domains + static/dynamic URIs per teams chat.
Wondering if it's worth changing the domain sections to include regex vs "direct match" going forward -- in order to be able to use wildcards/reduce volume.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@4ab064a). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #7   +/-   ##
=========================================
  Coverage          ?   61.95%
=========================================
  Files             ?      114
  Lines             ?     9395
  Branches          ?        0
=========================================
  Hits              ?     5821
  Misses            ?     3574
  Partials          ?        0

Continue to review full report at Codecov.

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


Implement service chat handler

r? @mmaxim @maxtaco
This could use some more tests, but I wanted to try to get it in so @songgao can use it for chat CLI.

Done with a first pass, had some questions...

Ok, good for now, 👍, but we please we must not allow this to go live without the crypto checks.

I'll do the crypto checks next

@keybase/react-hackers small protocol change here.  Can you fix flow?  Thanks.

@keybase/react-hackers nevermind.


Add time_format.cr

No message about announcing? Just kidding :laughing:

Happy to see it is now a part of Awesome Crystal list ❤ 💎
What's next?

announce it on Crystal ANN dev hub
share it on Reddit channel
say about it if you created something the community is looking for

Here is it  ;)


fixed!

Hey! Sorry the app gave you issues. Would you be open to commenting the fix you found so others can learn? Thanks!

Hi, no problem! I read in one of the comments that the bike probably needed a firmware update if the connection with SuperDuper and S73 was unresponsive. I did this through the official S73 app. Then, I turned the battery on and off, disconnected the S73 app, and reconnected with the SuperDuper app. After that, the app worked in connection with the bike. Super great and thanks for your response!

Perfect, thank you!


Per-feed reload interval

This is a suggestion to enable a running  newsboat process to periodically reload individual feeds at unique intervals. This feature will easily allow a user to reasonably guarantee not to miss feed items when a newsboat process is unattended for extended period of time, and free the user from having to remember when to reload feeds.
A possible implementation method would be to add an optional final field to entries in the urls file, which would be the reload-interval for that feed in integer minutes. Feeds without the field would be presumed not to automatically reload. newsboat would then maintain a countdown variable for each feed, which would initially be set to that feed's reload-interval or to zero. At minute intervals, each variable with a positive value would be decremented; when a variable decrements to zero, it's associated feed would be reloaded and the variable reset to its reload-interval. All variables would be reset whenever a reload-all event manually occurs.
My understanding from the documentation and from my usage is that newsboat currently has four feed reload options: From within newsboat one can manually reload either one feed or all feeds, and if no newsboat instance is active one may manually do the same from the command-line using the -x parameter (or optionally programmatically using a cron job or a sleep loop).
The current options don't support unattended operation internally. The reload-all options are bandwidth-wasteful for feeds known to be very rarely updated or with large content, and are inconsiderate to high-traffic sites that explicitly ask users not to ping them often (eg. slashdot.org).

Thanks for writing this up! That's a feature I consider to add eventually.

The current options don't support unattended operation internally.

Not true; there is auto-reload which essentially calls reload-all at period specified by reload-time. I think this also invalidates your two rationales, because auto-reload addresses both:

This feature will easily allow a user to reasonably guarantee not to miss feed items when a newsboat process is unattended for extended period of time, and free the user from having to remember when to reload feeds.

This isn't entirely true either:

The reload-all options are bandwidth-wasteful for feeds known to be very rarely updated or with large content

Newsboat supports caching (ETag and Last-Modified HTTP headers), and if the server supports it too (major ones do, admins can disable that though), the dialog between the two comes down to:

Hey server, got something new since 2020-04-22 00:00 UTC, or with ETag different from "abba"?
Nope.
Okay, thanks, bye.

Though I agree that no request is faster and less wasteful than some request.
This is mainly blocked on https://github.com/newsboat/newsboat/issues/83, which would let us add per-feed settings in a forward- and backward-compatible manner. Your suggested implementation doesn't cut it since Newsboat today allows tags to be anything — there is nothing we can use to distinguish a valid tag from a reload interval.
Also note that this setting doesn't make sense for remote APIs. For one, the API provider is fetching feeds for you, and might not even have an API to affect the interval. Second, the feed URLs are stored with the provider, so there is no line in the urls file under which one can add settings.
See also previous discussion at https://github.com/akrennmair/newsbeuter/issues/176.

On 2020-04-22 09:25, Alexander Batischev wrote:

Not true; there is [1]auto-reload which essentially calls reload-all at
period specified by [2]reload-time.

Thanks! Missed that, somehow. I've modified my config file to use that.

This is mainly blocked on [3]#83, which would let us add per-feed
settings in a forward- and backward-compatible manner.

There, I agree with those preferring YAML, FWIW.

Your suggested implementation doesn't cut it since Newsboat today
allows tags to be anything — there is nothing we can use to
distinguish a valid tag from a reload interval.

I can suggest two options:

Use a dedicated prefix character, similar to how the tilde character
"~" is currently parsed;

Only recognize the field if it is both the fourth field on the line
and an integer-only field. I understand that this would have the
consequence of requiring all the other field options to be used.

Also note that this setting doesn't make sense for remote APIs.

Agreed.
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

Use a dedicated prefix character, similar to how the tilde character "~" is currently parsed;

We can't, because we didn't reserve any. Our docs don't say "don't start your tags with those characters". So we have no characters to pick from: all of them can be already present in some user's URL file, and if we take this approach, that user will come to us grumpy because we broke his config. And that user will be right.

Only recognize the field if it is both the fourth field on the line and an integer-only field. I understand that this would have the consequence of requiring all the other field options to be used.

Same story: some user may already have three tags, with the final one looking like a number.
But thanks for taking the time to consider the options. Perhaps you'll come up with something more elegant than already suggested in #83.

On 2020-04-22 10:04, Alexander Batischev wrote:

1. Use a dedicated prefix character, similar to how the tilde
   character "~" is currently parsed;

We can't, because we didn't reserve any. Our docs don't say "don't
start your tags with those characters". So we have no characters to
pick from: all of them can be already present in some user's URL file,
and if we take this approach, that user will come to us grumpy because
we broke his config. And that user will be right.

Is that realistic, though, that a user will define a tag comprised of some
rarely-used prefix character followed by an integer? (eg. tags @60, ^60,
|60). There's always a point where the odds of a conflict become so
remote that it's reasonable to go ahead and benefit the 99.999...%
--
hkp://keys.gnupg.net
CA45 09B5 5351 7C11 A9D1  7286 0036 9E45 1595 8BC0

Not very realistic, but ideas in #83 avoid that problem altogether.


feat(icon): add esphome icon

Fixes #IssueNumber
Changes proposed:

[x] Add

@glmnet I'm not sure if this icon will work ok on dark themes as the borders won't be really visible. I think we should probably implement a dark/light version of this icon. WDYT?

Yes! Thanks for bringing up the suggestion, I wasn't aware this was possible.


Support focus events

Added support for focusin and focusout events.
I also gave a shot on updating the readme. Please check if it's alright :smile:

Everything looks good to me. Well done @octronic! :+1: There's just a couple of minor questions.

I updated the PR (removed console.log, renamed the event actions and added self and event as parameters)
But there may be one issue that propably should be looked into:
Everytime a date is picked on the datepicker the input field loses and gains focus. This means that all three actions (focus-out, 'changeDate, focus-in`) are triggered on every date selection. Depending on the actions that are defined this might not be the behaviour a user expects.
I'm not sure how to adress this, though (or if it should be adressed at all). The losing and gaining of focus seems to come from the bootstrap-datepicker itself.
What do you think?

@soulim would love this for our app if it can be moved forward?

@adam-knights will do everything in the next couple days :wink:

Please merge this one. :)

Thank you all for contribution! :heart:

Are there any work arounds for the issues that @octronic mentioned? I'm creating a inline editing component that when focused out the input is removed, but currently clicking on any date in the datepicker triggers the focus-out event and removes the calendar before anything can be updated.

Would using the hide-Event work for your use case?
It is triggered when the datepicker is visible and you click somewhere else and the datepicker is closed  (focusout is triggered in that case as well). But it doesn't trigger on date selection (unless the autoclose option is used of course)

@octronic in my tests, the hide event was triggered on date selection whether or not I was using autoclose. This caused my cancel event to trigger event when data was being submitted.
None the less, I wrote this work around and figured I'd post it here for future reference:
// components/autofocus-datepicker
import Ember from 'ember';
import BootstrapDatepicker from 'ember-cli-bootstrap-datepicker/components/bootstrap-datepicker';

export default BootstrapDatepicker.extend({
	clearBtn: true,
	todayBtn: 'linked',
	todayHighlight: true,
	becomeFocused: Ember.on('didInsertElement', function() {
		this.$().focus();
	}),
	boundClickOutHandler: Ember.computed(function() {
		return this.get('clickOutHandler').bind(this);
	}),
	clickOutHandler: function(event)  {
		var isOutside = Ember.$(event.target).closest('.datepicker').length === 0;

		if(isOutside) {
			Ember.run(() => {
				this.sendAction('clickOutside');
			});
		}
	},
	setupEventHandlers: Ember.on('didInsertElement', function() {
		Ember.$(document).on('click', this.get('boundClickOutHandler'));
	}),
	destroyEventHandlers: Ember.on('willDestroyElement', function() {
		Ember.$(document).off('click', this.get('boundClickOutHandler'));
	})
});

This adds an additional clickOutside event that can be hooked into.


swivel on the spot death

You can somehow die by steering your snake too quickly to make it swivel on the  spot
e.g, you're moving upwards  you hit → and then ↓  very quickly.
I guess the code should track the direction the snake is moving in, but only update this when the snake has started moving at least one square in that direction.

Great idea! I won't work on it anymore, but I'll keep it in mind for future projects. Thanks.


Add Xamarin.Mac via IOBluetooth bindings

Binding project is started but needs review/testing.

Hello, I'm also trying to write a binding for IOBluetooth in C#. If you want I can help or testing with code, but I not sure we can get results because it is very complex access to system dylib on macOS in C# and the documentation is very poor

I've been able to perform basic operations with the binding I've built so far. The code is checked in here and compiled on NuGet (https://www.nuget.org/packages/InTheHand.IOBluetooth/).
In order to call the API you have to add it and call
ObjCRuntime.Dlfcn.dlopen("/System.Library/Frameworks/IOBluetooth.framework/IOBluetooth", 0);
I'll need to replace this with a simpler centralised Init method or similar.
So far the basics of the IOBluetoothHostController (local radio device) and IOBluetoothDevice (including PairedDevices property) are working. The next steps are to work on inquiries and rfcomm connections. I've intentionally commented out a lot of the binding code and will add it in as each part is tested and tweaked.

I used the classic DLLimport always on  "/System.Library/Frameworks/IOBluetooth.framework/IOBluetooth", I worked a on it for short time but I can get the status of Bluetooth (present, on, off).
I am also trying to use the objc_msgSend system call with the selector, but I am finding difficult to understand how format the strings to pass to selector, I'm a beginner in macOS developing

I am working on implementing a application to use IOBluetooth.framework and IOBluetoothUI.framework, for selecting a device in xamarin. If you can want can help you. This is the first time i am doing binding so will struggle in start, but surely can learn fast and provide help.

Hi, So far I've generated the binding using ObjectiveSharpie and then began hand editing the resulting binding library to improve some elements like names and using Properties instead of get/set methods. You can see the current code here - https://github.com/inthehand/32feet/tree/master/InTheHand.Devices.Bluetooth/IOBluetooth
This should be a better approach than manually creating P/Invoke definitions for individual functions. I've also started a BluetoothUI library which has a device picker, pairing control and object exchange features. I'll publish a NuGet package for this one too shortly.


Add fadein

Solves #610 by adding a fade in effect

Looks great!
I wouldn't animate the thumbnails though as they already have a transition (elevation). The problem is that it's currently not visible because of the outline:

Can you remove the outline (and the fadeIn) from these?

@sebastianbenz

removed the fade in from the preview
removed the outline
merged the css class for animation

PTAL

Can you merge fadeIn into the show class? Or are we using show anywhere without fade?

We use it for the preview as well, so I can't merge those two.


Update index.html

Pull Request Type
What kind of change does this PR introduce?
[1 ] Solved an issue/task
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:
What is the current behavior?

Issue Number: [Insert Issue Number (if applicable)]
What is the new behavior?

Other information

Just as a reminder, bot will close this PR in two days if you don't respond to the review to get rid of any unnecessary pull requests hanging in the repo.

Closed due no response to the review.


Warning from log

Is there an existing issue for this?

[X] I have searched both the existing open issues & recently closed issues and did not find a duplicate of this issue.

I have read about the Fleet API and understand I may need to use it

[X] I understand issues relating to read only commands will be auto closed if not using the Fleet API.

Version of the Tesla component
3.21.0
Version of the Tesla car software
2024.8.9
Model
Model 3 Long Range
Current Behavior
Logger: homeassistant.components.sensor.recorder
Source: components/sensor/recorder.py:302
integration: Sensor (documentation, issues)
First occurred: 03:05:10 (1 occurrences)
Last logged: 03:05:10

Entity sensor.energy_added from integration tesla_custom has state class total_increasing, but its state is not strictly increasing. Triggered by state 9.57 (9.7) with last_updated set to 2024-05-21T01:00:47.462351+00:00. Please create a bug report at https://github.com/alandtse/tesla/issues

Expected Behavior
No error
Debug logs
See above

Anything else?
No response

Duplicate of https://github.com/alandtse/tesla/issues/748


Enable subdomains in local environment

Needs vagrant-hostmanager:
vagrant plugin install vagrant-hostmanager

Note the change in local.php.dist, i.e. change your local.php beforehand. Also, vagrant up/vagrant destroy asks for a password because vagrant has to edit the /etc/hosts file (resp. its Windows pendant). Afterwards, de.serlo.local resp. en.serlo.local (no port needed :+1:) lead to the german resp. english development environment!
@arekkas Can you test if this also works on Windows? If it does, I also update the README/athene2-guide to reflect this change (and the changes beforehand). This PR does not include the changes to Gruntfile, since I want to refactor this changes. If you can an error, just remove the webcomponents parts...

cool! I will!

it works!

Nice, I will add the documentation in the coming days.


Switch confirmation message does not display

Describe the bug
On switch from incorrect network via notification 'switch' prompt, confirmation notification message is not rendered correctly. possibly missing localization entry.
To Reproduce
Steps to reproduce the behavior:

Go to wallet.telos.net
Switch network to wrong network in MetaMask extension
See notification of incorrect network, click 'Switch'
See notification of correct network with message variable antelope.wallets.network_switch_success

Expected behavior
Confirmation message should display
Screenshots

Closing this as resolved and duplicate (see #514 )


Wrong guard for attribute.h

attribute.h uses ENTT_LIB_ATTRIBUTE_H rather than ENTT_CORE_ATTRIBUTE_H.
Thanks to @Kerndog73 for pointing this out. :+1:

Would if make sense for attribute.h to be moved into the config directory? Also, is there any reason for using .h instead of .hpp? It seems a little odd but I don't use these headers so I don't care!

I put it under core because in theory it's something that can be reused and has nothing to do with configuration in general (even though this is arguable).  I usually use .hpp when the file contains a fully defined class template or some function templates. It's more a matter of tastes here.


Output source locations in generated file

Current behavior
The generated code is a bit hard to map to the original view unless mapping with the sourcemap.
Expected behavior
The generated code should optionally include references to line+row in the original view to ease debugging of the generated code.

How should we include the references in the view file? By comments?

This is unfeasible since it is common that identifiers on the same row are mapped back to multiple different places. The source maps provice the mapping functionality for now.


Not able to get the attachment in the backend

Version
v4
Describe the bug
Hi Team,
I developed a bot that is currently deployed in MS Teams, For one use case I need to attach an attachment in it, I am able to attach the document using the "attach icon", But when I copy-paste the document directly into a chat, then I am not able to do Since in the backend I am not able to get any response.
In the backend we are getting the response in stepContext.context.activity.attachments when I attach a document through the attachment icon, But when I Copy and Paste it into the chat stepContext.context.activity.attachments are getting as null.

Closing in lieu of https://github.com/microsoft/botframework-sdk/issues/6560


Date range for pulling images.

For the search engine date calendar, I can only choose 1 date and it'll pull up what images are uploaded on the site that day.
Is it possible to pull image in a date range like for example 09/02/2019-09/07/2019 rather then picking 1 day at a time so that only images during those period would be pulled up?
If such feature already existed, sorry for the trouble.
PS: Is there like an instructions on how to use this software in detail like how do post filtering work, what does the tools do or etc. I try looking online how to use these but I have zero experience in programming or understanding what they do at all.
Also, thank you for adding sites like nhentai, pixiv, and stuff. The exhentai site came back but I can't seem to pull any images from it.

The UI indeed only allows to pick one date, but you can indeed search date ranges if you want, though it depends on whether the site you search supports it or not (but usually, if it supports one date it supports ranges also).
Grabber follows the Danbooru format for searches, blacklists and post-filtering:
https://danbooru.donmai.us/wiki_pages/43049
So if you want to search a date range, you should do something like date:2019-09-02..2019-09-07.

PS: Is there like an instructions on how to use this software in detail like how do post filtering work, what does the tools do or etc. I try looking online how to use these but I have zero experience in programming or understanding what they do at all.

Not really.
There is the docs, but they aren't very complete: https://bionus.github.io/imgbrd-grabber/docs/

Thank you!

I clarified all of this in the documentation:
https://bionus.github.io/imgbrd-grabber/docs/search.html
I'll close this issue since the question has been answered 😄


WBRTC and MEDIA stream

Hi
Than ks for making this project . i came here since the popular crosswalk  web view is depreciated witch had a plugin with cordova , i am trying to use WEB-RTC with media streaming and recording options  , does Android - smart web view support it ?

unfortunately. not yet.
but if you know someone who can lead us to in making a better platform, do let me know.


pkg_resources.DistributionNotFound: The 'websockets==7.*' distribution was not found and is required by uvicorn

Describe the bug
After a plain installation on mac, I get the following error log
Traceback (most recent call last):
  File "/Users/amustapha/ludwig/lib/python3.7/site-packages/setuptools-39.1.0-py3.7.egg/pkg_resources/__init__.py", line 574, in _build_master
  File "/Users/amustapha/ludwig/lib/python3.7/site-packages/setuptools-39.1.0-py3.7.egg/pkg_resources/__init__.py", line 892, in require
  File "/Users/amustapha/ludwig/lib/python3.7/site-packages/setuptools-39.1.0-py3.7.egg/pkg_resources/__init__.py", line 783, in resolve
pkg_resources.ContextualVersionConflict: (websockets 8.0.1 (/Users/amustapha/ludwig/lib/python3.7/site-packages/websockets-8.0.1-py3.7-macosx-10.14-x86_64.egg), Requirement.parse('websockets==7.*'), {'uvicorn'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/amustapha/ludwig/bin/ludwig", line 6, in <module>
    from pkg_resources import load_entry_point
  File "<frozen importlib._bootstrap>", line 983, in _find_and_load
  File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 668, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 638, in _load_backward_compatible
  File "/Users/amustapha/ludwig/lib/python3.7/site-packages/setuptools-39.1.0-py3.7.egg/pkg_resources/__init__.py", line 3086, in <module>
  File "/Users/amustapha/ludwig/lib/python3.7/site-packages/setuptools-39.1.0-py3.7.egg/pkg_resources/__init__.py", line 3070, in _call_aside
  File "/Users/amustapha/ludwig/lib/python3.7/site-packages/setuptools-39.1.0-py3.7.egg/pkg_resources/__init__.py", line 3099, in _initialize_master_working_set
  File "/Users/amustapha/ludwig/lib/python3.7/site-packages/setuptools-39.1.0-py3.7.egg/pkg_resources/__init__.py", line 576, in _build_master
  File "/Users/amustapha/ludwig/lib/python3.7/site-packages/setuptools-39.1.0-py3.7.egg/pkg_resources/__init__.py", line 589, in _build_from_requirements
  File "/Users/amustapha/ludwig/lib/python3.7/site-packages/setuptools-39.1.0-py3.7.egg/pkg_resources/__init__.py", line 778, in resolve
pkg_resources.DistributionNotFound: The 'websockets==7.*' distribution was not found and is required by uvicorn

To Reproduce
Steps to reproduce the behavior:

Fresh install on MacBook Pro
run ludwig -m ludwig.train --data_train_csv R_75.csv --mdf model_definition.yaml

Yaml file:
input_features:
    -
        name: epoch
        type: numerical
    -
        name: MACD
        type: numerical
    -
        name: MA13
        type: numerical
    -
        name: MA48
        type: numerical
    -
        name: upper_bb
        type: numerical
    -
        name: middle_bb
        type: numerical
    -
        name: lower_bb
        type: numerical
    -
        name: adx
        type: numerical

output_features:
    -
        name: max_profit
        type: numerical
    -
        name: change
        type: numerical
    -
        name: open
        type: numerical
    -
        name: high
        type: numerical
    -
        name: low
        type: numerical
    -
        name: close
        type: numerical

Data Sample
221665.808,1563718560,221694.8075,221346.889,221544.4531,,,,221666.28912379823,221346.889,221194.34597620173,,347.91849999999977,0.15705903202724839
221541.2492,1563718620,221679.6004,221513.7461,221613.3777,,,,221666.28912379823,221430.31754999998,221194.34597620173,,165.85430000000633,0.07484512180058477
221507.2274,1563718680,221614.2174,221366.2548,221544.8507,,,,221591.48272290383,221408.96329999997,221226.4438770961,,247.96259999999893,0.11195193267483222
221383.7589,1563718740,221671.9345,221362.6583,221486.2273,,,,221553.44167563826,221397.38705,221241.33242436172,,309.27619999999297,0.13961717889582956
221165.8399,1563718800,221577.6526,221079.5956,221394.3952,,,,221648.56342474447,221333.82876,221019.09409525554,,498.0570000000007,0.2250305409095979
221128.9268,1563718860,221303.3067,221052.455,221122.9666,,,,221650.28850010873,221286.93313333334,220923.57776655795,,250.85169999999925,0.11341626885833295
220993.0361,1563718920,221125.3651,220891.6857,221070.1616,,,,221676.88995580107,221230.46921428572,220784.04847277037,,233.67939999999362,0.10573320625394916
221029.796,1563718980,221170.4593,220973.5982,220973.5982,,,,221649.81645523163,221198.3603375,220746.90421976836,,196.86109999998007,0.089048397987337
221145.9914,1563719040,221212.5409,221025.146,221052.0686,-26.55076113800169,,,221616.91654588038,221179.1143,220741.3120541196,,187.39489999998477,0.08474849862461362
220991.8338,1563719100,221237.534,220991.8338,221162.0486,-23.60463708624593,,,221589.8087045741,221160.38624999998,220730.96379542587,,245.70020000002114,0.11111889797022255

Expected behavior
I expected to see it run
~Screenshots
If applicable, add screenshots to help explain your problem.~
Environment (please complete the following information):

OS: Mac
Version 10.14.6
Python version 3.7.2
Ludwig version 0.2

Additional context
Add any other context about the problem here.

This is peculiar, I run the same version of osx and python and I haven't encountered the error.
Will try to look into it even if reproducing may be complicated.
In the mean time you can try to update setuptools and pip. Also uvicorn is used only by the serve command, so you can get away uninstalling it if you don't plan to use the serve command.

Uninstalling uvicorn threw error that
pkg_resources.DistributionNotFound: The 'uvicorn' was not found and is required by ludwig

However updating setuptools==41.0.0 did the magic.
Thank you.


Add a test for supported types of SortMergeJoin in DataFusion

What is the problem the feature request solves?
From planga82's comment: https://github.com/apache/datafusion-comet/pull/355#issuecomment-2086056132

As an idea, I was thinking that we could put in tests to check the supported types in Datafusion, so that when we upgrade to a version of datafusion that supports these other types (like timestamp with timezone for example) we are aware that we should change the list of allowed types.

Describe the potential solution
No response
Additional context
No response

I'm working on it


 This is basically Tutorial 9, but it probably belongs outside of the main end-user-facing web page. http://www.legalese.io/tutorials.html#t9
to earn the Legalese Tech Contributor badge, the following badges are required:

Basic Javascript. the object model. basic data structures. lambda expressions.
Some exposure to XML / HTML. tags, attributes, and CDATA and how they fit together in a tree.
Basic understanding of internet protocols, particularly HTTP.
Basic Git.
Basic Editing. In an editor such as Emacs, Vim, or Atom.
PlainText. familiarity with md or org formats. emacs users see http://orgmode.org/, others learn md.
Tutorial 7-Dan Champion. has run tutorial up to http://www.legalese.io/tutorials.html#t7

to develop Legalese's tech infrastructure, a contributor should:

set up their dev version of the google apps infrastructure, so they can see the effect of editing the .js files without having to push to the live production site.
set up their dev version of the XML templates archive, which the google apps reads over HTTP, so they can see the effect of editing the .xml files without having to push to the live production site.

The above are the two main areas that are under construction.
There is one less active area:

(if they're hacking the XML2PDF pathway) set up InDesign locally, so they can see the effect of editing the .jsx and .indt files without having to push to the live production site, which at the moment is a mac mini in a closet somewhere. The current reference version is InDesign CC 2014 but if you can't get your hands on that for whatever reason, it's OK to just use the latest.

Write a developer guide that explains to someone how to set up their dev environment. Assume they have no special privileges in github besides a normal user account. Contributions are expected to arrive in the form of pull requests. After the contributor earns the Legalese Tech Contributor badge, the contributor may earn the Legalese Developer badge, and win commit privileges into the main repository.
The guide should mention how the Available Templates page of the Demo Master can be forked for local variation.
this relates to issue #7.

i put some really crude outline of documentation in https://github.com/legalese-io/legalese-google-app/blob/master/README.org


Call failed in vscode extension

Hi, I need to use some dynamic libraries I have already written for vscode extension, But he reported an error：
koffi requires Node >= 14.17.0 in the Node 14.x branch (N-API >= 8).
But I was able to run it under normal conditions, and node = 18.12,

I have the same question

I'll need more info to see this through.
I just made a basic Hello World extension, loaded koffi and it worked.
Can you show some code or a way to reproduce?

Hello, I have solved this problem. Because there is a node inside vscode, the third-party library we use is actually the node running in it, which has nothing to do with your local node environment. I was vscode 1.65 at that time, and the node in it is 14.x, so an error was reported. Thank you for your answer

Thanks :)


When no payment requests are assigned to a OTF staff member the summary card should not show the view label

When you click view it doesn't take you anywhere which is misleading for users.

Acceptance criteria was visible during test. Thank you!


Do items are retained for 93 or 90 days In SharePoint Online ?

Do items are retained for 93 or 90 days In SharePoint Online ?
this link shows 93 days but this article shows 90 days
https://support.office.com/en-us/article/restore-deleted-items-from-the-site-collection-recycle-bin-5fa924ee-16d7-487b-9a0a-021b9062d14b

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

ID: 4badd6ff-b44c-9df6-2d4e-b788cb37a5e1
Version Independent ID: 416f1753-cc58-ff8a-11b6-528ed962986e
Content: Office 365 Malware and Ransomware Protection
Content Source: Enterprise/office-365-malware-and-ransomware-protection.md
Service: o365-seccomp
GitHub Login: @robmazz
Microsoft Alias: robmazz

@OrawanO  Thank you for your feedback. We have made changes to the document to reflect it as 93 days. This can be tracked via PR# https://github.com/MicrosoftDocs/OfficeDocs-Enterprise/pull/905

Merged


cant download 4.53.2 with android studio

please, anyone who can use this release, confirm in what repository is published....
thanks

Hi Diego, is published here as it says on the readme:
repositories {
...
maven {
url 'https://artifacts.mercadolibre.com/repository/android-releases/'
}
}

thanks, works great


Add Docker Compose based Kyuubi Playground

Why are the changes needed?

Add Docker Compose-based Kyuubi Playground, w/ basic docs.

Only support Spark engine for now.

The images are not part of the official apache binary release, so we don't have license issue.

The images will be published to the docker hub under nekyuubi namespace, which is managed by one of the PPMC members, but not the whole PPMC.

The images support both x86 & arm platforms.

How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[x] Add screenshots for manual tests if appropriate

[ ] Run test locally before make a pull request

cc @Yikf, I have published the docker image to docker hub, would you like to test this PR if you have time?

Codecov Report

Merging #3473 (0325b64) into master (e87baa7) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3473      +/-   ##
============================================
- Coverage     51.32%   51.31%   -0.02%
  Complexity       13       13
============================================
  Files           481      481
  Lines         26734    26734
  Branches       3750     3750
============================================
- Hits          13722    13719       -3
  Misses        11667    11667
- Partials       1345     1348       +3

Impacted Files
Coverage Δ

...mon/src/main/scala/org/apache/kyuubi/Logging.scala
52.63% <0.00%> (-1.32%)
:arrow_down:

...a/org/apache/kyuubi/service/TFrontendService.scala
91.17% <0.00%> (-0.30%)
:arrow_down:

...in/scala/org/apache/kyuubi/config/KyuubiConf.scala
97.44% <0.00%> (-0.08%)
:arrow_down:

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

I think I misunderstand the "daemonic", you are talking about something like docker compose up -d, but I'm thinking about running the program inside the container as a daemon.
I will update the README to mention the former.

README has been updated as @Yikf suggested, I tested the playground on ARM Linux, and I'm going to merge this one and left other comments as follow-up.


What is the default verbosity?

It'd be good if you need to add the verbosity switch to know what the default level is so you can bump it up explicitly as needed. Happy to PR if someone tells me what it is. Will go digging if I have time.

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

ID: 0b256dc4-c4ad-c115-f4e2-40310bc3505a
Version Independent ID: 0b993779-65a2-6092-4047-2fc2ec16170b
Content: dotnet restore command - .NET Core CLI
Content Source: docs/core/tools/dotnet-restore.md
Product: dotnet-core
Technology: dotnet-cli
GitHub Login: @mairaw
Microsoft Alias: mairaw

Default verbosity is minimal.  A PR to add that would be welcome!


Update javascript-utilities.md

Description

...

Closes

Types of changes

[X] Documentation
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (anything that would change an existing functionality)
[ ] Maintenance (refactor, code cleaning, development tools...)

Checklist

[X] I have read and follow the CONTRIBUTING.md document.
[X] The pull request title and template are correctly filled.
[X] The pull request targets the right branch (develop or develop-v...).
[X] My commits are correctly titled and contain all relevant information.
[X] I have updated the documentation accordingly to my changes (if relevant).
[X] I have added tests to cover my changes (if relevant).

Duplicate of https://github.com/foundation/foundation-sites/pull/12088
Please do not open duplicate PRs, this means extra work for us.


First pass at specificity reduction

Sorry for the delays. This is an initial take on #1849. I'm testing at test/test-3.html and everything seems to work. Please review.

@albell I'll check it later today; have you checked #1860? Do you think it's something we can integrate parallel with your work given that it already does some of the tedious work in an automated way?

Ok, I deleted the selector in question. Please merge and I will make another pass. Also, the test directory has many files in it now. Can you advise on what is current, and/or things to look out for?

The test directory is using simple player; the only file that uses the full player is the alpha-2.html file. You can check whatever you need to check in that file


Propose to adopt Cocoapods spec.swift_version in podspec(s).

New Issue Checklist

[X] I have looked at the Documentation
[X] I have read the F.A.Q.
[X] I have filled out this issue template.

Issue Info

Info
Value

Platform
All

Platform Version
All

SnapKit Version
All

Integration Method
cocoapods

Issue
Because SnapKit's podspec file doesn't explicitly declare the Swift version it's compatible with, Cocoapods sets its Swift version as the same version as the main project.
So when SnapKit old version (< 4.0.0), which doesn't compile with Swift 4.X compiler, is a dependency of a Swift 4.X project, the project can't be compiled after pod install.
Why don't use SnapKit 4.0.0 in swift 4.X project?
For example: MyProject is a Swift 4.1 project, MyPrivateLib is a Swift 3.3 library. SnapKit 3.2.0 is a dependency of MyPrivateLib, and MyPrivateLib is a dependency of MyProject.
In this case, I have to use SnapKit 3.2.0 in my Swift 4.1 project.
Temporary Solutions
The common solution, for now, is either manually set Swift version in SnapKit target's build setting (this needs to be done every time after pod install) or use Cocoapods post-install script.
Ideal Solution / Proposal
By adopting spec.swift_version in SnapKit's podspec files, Cocoapods will automatically set correct Swift version for SnapKit's target, instead of using main project's Swift version.
spec.swift_version was released in Cocoapods 1.4.0:
People discussing mix-swfit-version issue: https://github.com/CocoaPods/CocoaPods/issues/6791
PR for spec.swift_version: https://github.com/CocoaPods/CocoaPods/issues/7134
Implementation of Proposal

Go back to every podspec file we have pushed to Cocoapods repo, and add the spec.swift_version spec according to the swift version every SnapKit version is compitable with.
Push every modified podspec file again to Cocoapods repo to update the existing podspec files.

This should be fixed going forward if / when #541 gets merged. Though we'll still have to go and update old versions.

Closing as issue is syntax error not a SnapKit issue


Format XML when opening CLOB/BLOB/XMLTYPE

I have not found this commented earlier but the functionality may be present and I'm bad at figuring out how to activate it.
When hitting Shift+Enter on a cell of type BLOB/CLOB/XMLTYPE, the content is opened in an editor with Binary/Text/(XML) tabulators.
For the Text/XML tabulators it would be very nice to have access to a "beautify/format" function if the content is an XML as they often are stored with no whitespace and/or linebreaks.

Good point

But we won't auto-format XML/JSON by default.
But I'll add standard Format command (CTRL+Shift+F) handler. It will format contents on request.


Regression tutorial might need more scaffolding

The tasks in the tutorial are appropriate for linear regression, but seem to assume a lot on the part of the participants. For example, even the first tasks just asks to develop 3 visualizations of the data to explain how things co-vary. Participants might need more scaffolding throughout to achieve the goals.

i guess i figured they would have a whole module on making graphs from the day before. i think my solutions demonstrate the upper end of the expectation. if someone made several scatter plots instead of the scatter matrix function, this wouldn't be incorrect. This would build on the end of the solutions from the data visualization module from the day before.

i think it was fine


NSwag studio emits ISO8601 date-time for format type = "Date"

Given a Parameter
{
"type": "string,
"format" : "date"
}
NSwag outputs the following Typescript.
"fileDate=" + encodeURIComponent(fileDate ? "" + fileDate.toJSON() : "") + "&"
The OpenAPI spec shows that the correct output should be of type ISO8601 full-date.

fileDate.toJSON() is a ISO8601 representation of the date, what else would you expect ?

@JeremyVignelles
fileDate.toJson() is a ISO8601 representation of a DateTime rather than an ISO8601 representation of full-Date.


Mint private components not possible with the CLI.

Is your feature request related to a problem? Please describe.
The current implementation of autonomy mint requires that the minted component, and its dependencies be published on the IPFS. This is enforced so that the command can perform the required dependency checks, which is a nice feature.
However, it could be the case that some author wants to register a component in the Autonolas Protocol without making it public on the remote IPFS registry. This case cannot be addressed by the current implementation of autonomy mint.
Describe the solution you'd like
Clarify if this issue will be considered or not (probably it is not worth the effort).
Describe alternatives you've considered
Package authors could use the Autonolas Protocol web app to mint components in this case, because the web app does not do any dependency check.

This is not an issue of the autonomy mint command group, this is by design of the Autonolas protocol that a component needs to be present on the IPFS registry.

I am unsure about this. In principle you can specify "anything" for the hash on the Autonolas protocol registry, it does not chech (it can't check) that it's actually published on the IPFS or not.


Scoring for "r" (untag 'unread) uses wrong entry

The scoring for key "r", which marks an article read, i.e. untags 'unread, is using the wrong entry, so is giving a negative score to the next item in the search.

I suspect by adding the advise :after the search has moved on to the next line. I will see if it makes sense to do this :before or perhaps advise a call within elfeed-search-untag-all instead. Might be tricky.

Changing this to :before worked better. I do wonder if you can select a few entries and then hit "r", and how it would work in that case.

Changing this to :before worked better. I do wonder if you can select a few entries and then hit "r", and how it would work in that case.

Oh, I should probably have a way to test this code!

Fixed in main


Added Arabic language

translated the application into Arabic.
added Arabic language to the drop-down list so users can choose it.
added Arabic language to locales.

hope this will help more people to use this application 😃

Thank you @kmoj86 for the work you put into this. A couple of questions:

Does everything generally work okay? From my understanding Arabic is a right-to-left language so I would have expected more work to be required to support such a language.
Is it okay if I squash this before merging? Just to reduce the amount of commits that will be merged for a cleaner history. Will still show as yourself being the author.

@ssddanbrown
hello dan,

yes, everything works ok. but it's not the ideal way to view the application in Arabic. for best results, the CSS and text editor need to be configured for RTL. CSS only needs to be mirrored for the most part, the text editor on the other hand has to be reconfigured to handle RTL languages (Froala's WYSIWYG editor as an example).
But nothing that renders the app unusable. I've already tested it and the found no issues with it.
That being said, this is a step forward in supporting Arabic language by translating the user interface, so anyone who doesn't speak a second language can use the application. and if one day a more experienced contributor comes to add RTL support for a better user experience, then the translation will already be here for them to use.
In short: yes, everything is mostly ok 😄

sure thing! you can squash this for a cleaner history.
this is my first pull request and I've been working on the translation on 2 different PCs, so sorry for the mess.

Thanks again for this, Will be in the next release. My notes on RTL support here: https://github.com/BookStackApp/BookStack/issues/939#issuecomment-423740828
Didn't squash the commits in the end (Didn't know how to git-squash properly with an active merge conflict :laughing: )

@ssddanbrown
Great! thanks for all your work!
I tried to add rtl support myself by adding directionality plugin for TinyMCE, but for some reason it just didn't work for me. so this is really great news!