pjit handling of static_argnames is broken when using "dynamic" python strings.

Description
See this colab to quickly repro and understand the bug (use the kernel with a recent jax version):
https://colab.research.google.com/drive/1YG0Cjis_1BxZCdaU59UpawvT6j2X35iU
TL;DR when using non-statically specified argument names in static_argnames jax compiler crashes with a cryptic error. When using "static" strings to specify argnames, things work as expected.
This points into the direction of buggy c++ caching layer that may be using argname string addresses instead of string values.
A possibly relevant commit:
https://github.com/jax-ml/jax/commit/763952a607038ffc65b7112f87b834341f67279c
System info (python version, jaxlib version, accelerator, etc.)
>>> import jax; jax.print_environment_info()
jax:    0.4.34
jaxlib: 0.4.34
numpy:  1.24.3
python: 3.10.11 | packaged by conda-forge | (main, May 10 2023, 18:58:44) [GCC 11.3.0]
jax.devices (1 total, 1 local): [CpuDevice(id=0)]
process_count: 1
platform: uname_result(system='Linux', node='etar-b', release='6.1.0-25-cloud-amd64', version='#1 SMP PREEMPT_DYNAMIC Debian 6.1.106-3 (2024-08-26)', machine='x86_64')

But also easily reproducible using colab.

Sorry about that!
The repro:
https://colab.research.google.com/drive/1YG0Cjis_1BxZCdaU59UpawvT6j2X35iU

I ran your repro, seems to be working fine for me.
In [5]: jax.jit(do_nothing, static_argnames=[argname])(foobar=2)
SUCCESS
An NVIDIA GPU may be present on this machine, but a CUDA-enabled jaxlib is not installed. Falling back to cpu.

In [6]: argname = str(json.loads(json.dumps(argname)))

In [7]: argname
Out[7]: 'foobar'

In [8]: jax.jit(do_nothing, static_argnames=[argname])(foobar=2)

Note that on the second run, nothing will print since you are hitting a cache. But there is no crash.

Actually, I can repro with jax nightly:
In [4]: def do_nothing(foobar: int):
   ...:     print("SUCCESS")
   ...:
   ...: argname = "foobar"

In [5]: argname = str(json.loads(json.dumps(argname)))

In [6]: assert argname == "foobar"
   ...: assert type(argname) is type("foobar")

In [7]: jax.jit(do_nothing, static_argnames=[argname])(foobar=2)
---------------------------------------------------------------------------
StopIteration                             Traceback (most recent call last)
File ~/venv/lib/python3.11/site-packages/jax/_src/api_util.py:287, in _argnums_partial(dyn_argnums, fixed_args, *dyn_args, **kwargs)
    286 fixed_args_ = iter(fixed_args)
--> 287 args = [next(fixed_args_).val if x is sentinel else x for x in args]
    288 assert next(fixed_args_, sentinel) is sentinel

File ~/venv/lib/python3.11/site-packages/jax/_src/api_util.py:287, in <listcomp>(.0)
    286 fixed_args_ = iter(fixed_args)
--> 287 args = [next(fixed_args_).val if x is sentinel else x for x in args]
    288 assert next(fixed_args_, sentinel) is sentinel

StopIteration:

The above exception was the direct cause of the following exception:

RuntimeError                              Traceback (most recent call last)
Cell In[7], line 1
----> 1 jax.jit(do_nothing, static_argnames=[argname])(foobar=2)

    [... skipping hidden 9 frame]

File ~/venv/lib/python3.11/site-packages/jax/_src/linear_util.py:186, in WrappedFun.call_wrapped(self, *args, **kwargs)
    184 for (gen, gen_static_args), out_store in zip(self.transforms, self.stores):
    185   gen = gen(*(gen_static_args + tuple(args)), **kwargs)
--> 186   args, kwargs = next(gen)
    187   stack.append((gen, out_store))
    188 gen = gen_static_args = out_store = None

RuntimeError: generator raised StopIteration

This is the unfiltered stack trace:
File ~/venv/lib/python3.11/site-packages/jax/_src/pjit.py:640, in _infer_params_impl(***failed resolving arguments***)
    634 in_shardings_flat, in_layouts_flat = _process_in_axis_resources(
    635     in_shardings_treedef, in_shardings_leaves,
    636     ji.in_layouts_treedef, ji.in_layouts_leaves,
    637     in_avals, in_tree, dbg, device_or_backend_set, have_kwargs)
    639 attr_token = _attr_token(flat_fun, in_type)
--> 640 jaxpr, consts, out_avals, attrs_tracked = _create_pjit_jaxpr(
    641     flat_fun, in_type, attr_token, dbg,
    642     HashableFunction(res_paths, closure=()),
    643     IgnoreKey(ji.inline))
    644 _attr_update(flat_fun, in_type, attr_token, attrs_tracked)
    646 out_shardings_flat, out_layouts_flat = _check_and_canonicalize_out_shardings(
    647     out_shardings_treedef, out_shardings_leaves, ji.out_layouts_treedef,
    648     ji.out_layouts_leaves, HashableFunction(out_tree, closure=()),
    649     tuple(out_avals), jaxpr.jaxpr.debug_info, device_or_backend_set)

File ~/venv/lib/python3.11/site-packages/jax/_src/linear_util.py:345, in cache.<locals>.memoized_fun(fun, *args)
    343   fun.populate_stores(stores)
    344 else:
--> 345   ans = call(fun, *args)
    346   if explain and config.explain_cache_misses.value:
    347     explain(fun.f, cache is new_cache, cache, key)

File ~/venv/lib/python3.11/site-packages/jax/_src/pjit.py:1289, in _create_pjit_jaxpr(***failed resolving arguments***)
   1287     attrs_tracked = []
   1288   else:
-> 1289     jaxpr, global_out_avals, consts, attrs_tracked = pe.trace_to_jaxpr_dynamic(
   1290         fun, in_type, debug_info=pe_debug)
   1291     # assert attr_data is sentinel or attr_data matches attrs_tracked
   1292
   1293 # TODO(dougalm,mattjj): enable debug info with attrs_tracked
   1294 if not config.dynamic_shapes.value and not attrs_tracked:

File ~/venv/lib/python3.11/site-packages/jax/_src/profiler.py:333, in annotate_function.<locals>.wrapper(*args, **kwargs)
    330 @wraps(func)
    331 def wrapper(*args, **kwargs):
    332   with TraceAnnotation(name, **decorator_kwargs):
--> 333     return func(*args, **kwargs)
    334   return wrapper

File ~/venv/lib/python3.11/site-packages/jax/_src/interpreters/partial_eval.py:2166, in trace_to_jaxpr_dynamic(fun, in_avals, debug_info, keep_inputs)
   2164 in_tracers = [t for t, keep in zip(in_tracers, keep_inputs) if keep]
   2165 with core.set_current_trace(trace):
-> 2166   ans = fun.call_wrapped(*in_tracers)
   2168 out_tracers = map(trace.to_jaxpr_tracer, ans)
   2169 jaxpr, consts, attrs_tracked = frame.to_jaxpr(trace, out_tracers)

File ~/venv/lib/python3.11/site-packages/jax/_src/linear_util.py:186, in WrappedFun.call_wrapped(self, *args, **kwargs)
    184 for (gen, gen_static_args), out_store in zip(self.transforms, self.stores):
    185   gen = gen(*(gen_static_args + tuple(args)), **kwargs)
--> 186   args, kwargs = next(gen)
    187   stack.append((gen, out_store))
    188 gen = gen_static_args = out_store = None

RuntimeError: generator raised StopIteration


Add RHEL 9 support.

RHEL 8.6 test failed is caused by bz#2033688.
RHEL 9.0 test failed is caused by issue#2181


Feature Request: ExpandEnv

Background
To use gobackup with Kubernetes or other tools, we need to pass credentials dynamically via environment variable.
Currently, the yaml config file is kind of static. We could leverage os.ExpandEnv to enable the support for environment variable.

Looks like that this app supports ExpandEnv because of https://github.com/spf13/viper

Hi @imWildCat . I have the same issue.
Did you figure out if this was possible out of the box thanks to viper ?

@bligneri sorry, it has been too long and I forgot how I ended up with this issue.
(hello from Canada as well!)


Add comment for #4494

Assertions must be switched off to have reproducible builds, see #4494.

coverage: 100.0%. remained the same
when pulling aa6cf73f3d16689186ab0cc1e5df5c92410421fd on documentation-for-4494
into 060414037ef9de7499b5fad96ce0ba36a2bd166e on develop.


Create panko.txt fixed

Panevezys college. Lithuania.

@dpaipelis Pull request merged. Thank you!


Vulnerability roundup 93: libraw-0.20.0: 1 advisory [5.5]

search, files

[ ] CVE-2020-24890 CVSSv3=5.5 (nixos-20.09, nixos-unstable)

Scanned versions: nixos-20.09: ad3a5d5092e; nixos-unstable: 84d74ae9c9c.

Time to cherry-pick

merged.


Use setup.cfg with adding python_requires

This PR to use setup.cfg instead of setup.py also adding python_requires, describing explicit supported version for Python

Hmm, we hit  TypeError: Cannot interpret '<attribute 'dtype' of 'numpy.generic' objects>' as a data type error. Maybe numpy 1.2.0 release affects it.

Thanks, applied feedbacks on 865e9df


Update configure-updates.md

fix link

Docs Build status updates of commit 2301387:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/configure-updates.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


issues creating accounts and signing up

Hello,
I really think this project is amazing and can wait to use it. I have created a fork of this project and deployed it via Vercel but I am unable to sign up or log in. Could you point me in the right direction? I have also made an account on the site you are hosting but I am also unable to sign in there after creating an account and when I choose to reset my password I receive a 404 error.
Thanks in advance,

Hi,
Thank you for your interest. This app uses PocketBase as the backend for database storage and user authentication. If you want to deploy a copy, it is not enough to only deploy the website on Vercel. You also need to deploy your own PocketBase service on some server, and configure your backend server address through the environment variable in your Vercel dashbord (Note the process.env.NEXT_PUBLIC_POCKETBASE variable in the code. This variable will be replaced by your configured value during build).
Note how PocketBase JDK is used throughout the code to communicate with the backend and perform CRUD operations. Your deployed app will not run correctly, unless you use the exact same database schema. However, exposing the entire database schema to the public would psot security risks, so I decide not to do so.
I would not suggest replicating the app. Rather, I hope people could see how Next.js 13 and PocketBase can work together and how to integrate OpenAI's API in Next.js, take inspirations from there and build their own apps.


Missing messages on batch retry

On a specific failure scenario, MT is delivering duplicated (concurrent) messages to consumers and failing to retry others.
I saw the problem on a resource constrained installation of RabbitMQ where it sometimes responds with timeouts to publication requests (during outbox flushing):
System.TimeoutException: The operation has timed out.
   at RabbitMQ.Util.BlockingCell`1.WaitForValue(TimeSpan timeout)
   at RabbitMQ.Client.Impl.SimpleBlockingRpcContinuation.GetReply(TimeSpan timeout)
   at RabbitMQ.Client.Impl.ModelBase.ModelRpc(MethodBase method, ContentHeaderBase header, Byte[] body)
   at RabbitMQ.Client.Framing.Impl.Model._Private_ExchangeDeclare(String exchange, String type, Boolean passive, Boolean durable, Boolean autoDelete, Boolean internal, Boolean nowait, IDictionary`2 arguments)
   at RabbitMQ.Client.Impl.ModelBase.ExchangeDeclare(String exchange, String type, Boolean durable, Boolean autoDelete, IDictionary`2 arguments)
   at MassTransit.Util.ChannelExecutor.<>c__DisplayClass11_0.<Run>g__RunMethod|0()
   at MassTransit.Util.ChannelExecutor.SynchronousFuture`1.Run()
--- End of stack trace from previous location where exception was thrown ---
   at MassTransit.Util.ChannelExecutor.Run[T](Func`1 method, CancellationToken cancellationToken)
   at MassTransit.RabbitMqTransport.Pipeline.ConfigureTopologyFilter`1.ConfigureTopology(ModelContext context)
   at MassTransit.RabbitMqTransport.Pipeline.ConfigureTopologyFilter`1.<>c__DisplayClass3_0.<<GreenPipes-IFilter<MassTransit-RabbitMqTransport-ModelContext>-Send>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at GreenPipes.PipeExtensions.OneTimeSetup[T](PipeContext context, Func`2 setupMethod, PayloadFactory`1 payloadFactory)
   at GreenPipes.Agents.PipeContextSupervisor`1.GreenPipes.IPipeContextSource<TContext>.Send(IPipe`1 pipe, CancellationToken cancellationToken)
   at GreenPipes.Agents.PipeContextSupervisor`1.GreenPipes.IPipeContextSource<TContext>.Send(IPipe`1 pipe, CancellationToken cancellationToken)
   at GreenPipes.Agents.PipeContextSupervisor`1.GreenPipes.IPipeContextSource<TContext>.Send(IPipe`1 pipe, CancellationToken cancellationToken)
   at MassTransit.Util.PendingTaskCollection.Completed(CancellationToken cancellationToken)
   at MassTransit.Context.InMemoryOutboxConsumeContext.ExecutePendingActions(Boolean concurrentMessageDelivery)
   at MassTransit.Pipeline.Filters.InMemoryOutboxFilter`2.Send(TContext context, IPipe`1 next)
   at MassTransit.Pipeline.Filters.InMemoryOutboxFilter`2.Send(TContext context, IPipe`1 next)
   at RADventure.Extensions.MassTransit.ExceptionHandling.ExceptionHandlingFilter`1.Send(ConsumeContext`1 context, IPipe`1 next)
   at RADventure.Extensions.MassTransit.ExceptionHandling.ExceptionHandlingFilter`1.Send(ConsumeContext`1 context, IPipe`1 next)
   at GreenPipes.Filters.RetryFilter`1.GreenPipes.IFilter<TContext>.Send(TContext context, IPipe`1 next)

I was able to reproduce the issue by adding a custom action to the in-memory outbox that instead of sending messages out, throws a dummy exception:
System.Exception: Simulating broker timeout
   at MassTransitTest.DoWorkConsumer.<>c.<<Consume>b__4_1>d.MoveNext() in /media/gs/DATA/Dev/github/MassTransitBatchTest/MassTransitTest/Program.cs:line 204
--- End of stack trace from previous location where exception was thrown ---
   at MassTransit.Context.InMemoryOutboxConsumeContext.ExecutePendingActions(Boolean concurrentMessageDelivery)
   at MassTransit.Pipeline.Filters.InMemoryOutboxFilter`2.Send(TContext context, IPipe`1 next)
   at MassTransit.Pipeline.Filters.InMemoryOutboxFilter`2.Send(TContext context, IPipe`1 next)
   at GreenPipes.Filters.RetryFilter`1.GreenPipes.IFilter<TContext>.Send(TContext context, IPipe`1 next)

The strange sympthoms I see are:

When facing this timeout scenario, MT generates a new batch with BatchCompletionMode == Forced, but the messages contained in it are not the ones corresponding to the previously failed batch, instead they are a completely different set of messages that were or will be eventually delivered in their normal way (Time or Size), so we receive duplicated messages (some times concurrently) in this case, which are unrelated to the failed batch.

After that, a batch of 1 message (the one that gave the failing batch its id), with completion mode Size, is delivered, but the rest of the messages in the original failed batch are never redelivered

The main problem with this issue is that it takes away the guarantees we have against the infrastructure.
I'm providing a reproduction at https://github.com/gschuager/MassTransitBatchTest/blob/master/MassTransitTest/Program.cs but keep in mind that the issue seems to be time dependant, so it may need some adjustments to show the problem.

I'm fairly certain that you are going to get non-deterministic results when UseMessageRetry is configured, since that is a per-message retry and has no concept of batch. You may have to switch to UseRetry, but the InMemoryOutbox also has a similar concern, since it is also per-message, and not batch aware. I'd have to look further, but you may need to do something else to get retry for the same batch.

I still have a number of concepts on my personal backlog for batch, particularly the ability to Complete/Fault individual messages.

Hi @phatboyg, I just tested your recent changes in the test application and I can confirm that they are working as expected.
Thank you very much!


Display the command name and aliases in the command's help.

Again, it's not my fault... you do really need this much code just to override a small aspect of Symfony's behaviour.


fix: filter out unpublished pages from the router endpoint

Hmm. Interesting take on the matter.
I like your idea of consistency. Though on the other hand it would make sense to me that an 'unpublished' page would not be accessible on my website, and thus not returned from the router.

Well you are still able to set the publicationState=live in the query in the fetch that your website is making.
For example if you are fetching a post content type by it's id, then you would probably also set publicationState=live when you fetch it. And I think some users may find it confusing if they don't get draft entries from url alias, but they do get the draft from other content types.
I do agree that it is more intuitive that draft entries are not fetched by default, but this is not the case for Strapi. So again I would argue that consistency is more important than what individual plugin maintainers want.

Allright. Fair point. Let's keep it this way.


I don't see any BCH support

Is this API doesn't support BCH flow??
When i create tBTC wallet it also appears in tBCH wallet??
Then why i am not able to see the wallet balance of tBCH???

Bitcoin Cash testnet is a different test network. testnet-seed-abc.bitcoinforks.org provides Bitcoin Cash testnet seeds, for example.
In order to receive tBCH, navigate to a tBCH faucet and provide your tBCH address. A faucet such as https://testnet.manu.backend.hamburg/bitcoin-cash-faucet should work.

We support it via our SDK & developer dashboard too. Use 'BCC' for 'tBCC' for main & testnet.

When i create tBTC wallet it also appears in tBCH wallet??

bitcoin cash and it's testnet forked off from bitcoins main & test network.. technically your wallet is valid on both networks and if it existed before the fork even has coin in it, so the wallet is listed on both networks


Added plug-in info

We're going to move themes to plug-ins, so adding this file so that it'll be ready.

@manton I need to learn more about plugins!


Get-PnPTenantSite -Filter "Template -ne 'GROUP#0'"

Is your feature request related to a problem? Please describe.
yes, i need to retreive all sites that do not belong to modern sites (excluding template GROUP#0 is the closest i've found)
Describe the solution you'd like
have the template property usable
Describe alternatives you've considered
using SPO or deprecated PNP.

As such this is not really an issue but more a question .Please post these in the discussion section of this repository.
But to get you up and running
$templates = @("GROUP#0","SITEPAGEPUBLISHING#0","APPCATALOG#0","TEAMCHANNEL#0","SRCHCEN#0")
Get-PnPTenantSite | ?{!$templates.Contains($_.Template)}

You might have to adjust the templates list more in your case. The list of templates that designates a modern site or a site you cannot upgrade (yet) can change anytime, so there is no 'easy' way to retrieve these sites.

As such this is not really an issue but more a question .Please post these in the discussion section of this repository.
But to get you up and running
$templates = @("GROUP#0","SITEPAGEPUBLISHING#0","APPCATALOG#0","TEAMCHANNEL#0","SRCHCEN#0")
Get-PnPTenantSite | ?{!$templates.Contains($_.Template)}

You might have to adjust the templates list more in your case. The list of templates that designates a modern site or a site you cannot upgrade (yet) can change anytime, so there is no 'easy' way to retrieve these sites.


Skylar-Alerts

There are now some errors at the end of the cypress tests that are related to logging back into Admin?

There are now some errors at the end of the cypress tests that are related to logging back into Admin?

Nevermind, I think this has fixed itself!


Efficient development and deployment of Hydra projects using Vagrant

Abstract: In this presentation, we will present a software development and deployment process that we have developed at Virginia Tech. We have used this procedure to develop several Hydra projects for University Libraries services at Virginia Tech and have also used it to conduct interviews for Ruby and Rails developers. We implemented a central vagrant box to facilitate the development and deployment processes. Using this vagrant box gives us many benefits: 1. Code immediately. Our software engineers can focus on coding without worrying about software installation. 2. Unified development environment. All developers do their work in the same, consistent development environment. 3. Development of multiple projects simultaneously. Developers can work on multiple projects in parallel, switching between project environments in just a few minutes. 4. Minimal differences between development environments and production environment. After we finish implementation, we can quickly deploy our applications into a cloud environment (e.g. AWS and OpenStack) that is highly consistent with our development environments. We will present and demonstrate our hands-on experience on how we use a single vagrant box with different GitHub repositories to develop multiple Hydra applications in detail, including Sufia, GeoBlacklight, Fedora, Solr, Vagrant, AWS, and OpenStack.
Presenter: Yinlin Chen
Presentation
Beginner. Developers, managers, sysops

Breakout?

8/18: I confirm that I will give a presentation in this session. I (Yinlin Chen) will be the presenter. I am happy that my session will be recorded and linked later from the Hydra wiki.


Correct #11 by reseting the hci device during initialization

This PR corrects #11 which is a simple fix for stubborn Linux HCI devices, by simply reseting them during the ble initialization process.

This fixes the issue for me as well!
Thank you very much @roylee17 and @deadprogram for fixing this problem.


"Found invalid data while decoding" KaGuYa Message.Dat

Sorry in advance if this is a complete noob problem, honestly I can barely even work the Command Prompt. I want to extract the script for Mainichi Ga M!" by Atelier Kaguya HonkyTonk Pumpkin (vndb.org/v1178) but I've been met with the same error everytime; "Found invalid data while decoding". I tried a couple of other games by the same developer that I had installed on my PC and got the same error twice before another one worked. This made me think the error might not be on my complete lack of computer literacy and that there might be a problem with the message.dat file, so I reinstalled the game on a separate drive but still got the same error.
I've attached  a screenshot of my command prompt, I'm not sure how to upload a .dat file but I can provide it if needed. Any help would be greatly appreciated, thanks in advance.

batch.zip
Drag a zip file to comment box to attach it and here's the batch command files.
 I guess since the game was too old, the script format was old too. That explains why vntextpatch failed to extract it.

I tested the six Kaguya games I had again and found the first three, published between 2008 - 2012 returned the invalid data error, while the latter three, published between 2013 - 2014 worked perfectly. I included another screenshot of my command prompt and a zip files with all six game's message.dat file.
Thanks again for all the help.

Kaguya Message.Dat files.zip

https://github.com/arcusmaximus/VNTranslationTools/issues/59#issuecomment-1175859834
Like I said, those games are too old. Vntextpatch only newer version of Kaguya engine

Ah okay then. Is there any chance support could be added in a future release? No worry either way, thanks again.


Trouble with runtime-only vue version

It falls because you use string template in component.

+1
cant compile with laravel-mix  in production mode (Uglifyjs throws error)
dev version works fine

Fixed in 0.5.0


Where do you use confidence_threshold when test?

It is one of the best RefineDet project implement in pytoch ! Thank you so much!
But when I evaluate the model , I can not find that confidence_threshold and top_k are used in somewhere , and I can not measure the model in different threshold and top_k value.
How to fix them ?
How dose the code calculate the map when you does`t use the confidence_threshold and top_k ?

you can see here https://github.com/luuuyi/RefineDet.PyTorch/blob/0e4b24ce07245fcb8c48292326a731729cc5746a/layers/functions/detection.py#L7-L22

@RichardHWD


Set up configuration settings for PPP-RTK receiver and sets up json output from send data to sfy

Overview: This update adds all configuration settings to the PPP-RTK receiver and also sets up the json document that will send data to the sfy from the receiver. The data sent to the SFY includes: Time (UTC), time accuracy (ns), lat, lon, height above mean sea level (geoid, WGS84 in mm), horizontal accuracy (mm), vertical accuracy (mm), carrier solution, and gps fix type.
Next Steps:

adjust the navigation solution frequency to 20 Hz, it is currently set to 1 Hz for easy testing
need to set up another json document to output the correction data, it might be useful to have later on as well in case there is an issue with integrating it realtime

Other Notes:

the SPARTN keys file is ignored in the repository, so the decryption keys are not available to the public

Great!
If we should send both types of messages we should:

tag the message with a JSON field e.g. 'type': 'pos'.
always send a pos paired with correction message to keep things predictable and easy (or handle sporadic correction messages on the sfy side)

Also unsure what we have bandwidth for, but I think we should have plenty still.
Merging!


Check for Palindromes - Last example default test is wrong.

Issue Description
It says "palindrome("0_0 (: /-\ :) 0-0") should return true." it returns false as the underscores are different "_-" and the underscore is not removed by "/\W/g"
Browser Information

Chrome 48.0.2564.116

Hey @hpsauceman! Please read the instructions carefully. If you need help, go to our main room or help room. GitHub is for issues only.

Thanks for answering.
Yes I think there is an issue. (I could be wrong as I'm obviously learning - but people skilled at JS won't be doing the lesson to report it). Can you just quickly check the lesson?
I think the test (testing if a string is a palindrome) is supposed to say:
0_0 (: /-\ :) 0_0
or
0-0 (: /-\ :) 0-0
not
0_0 (: /-\ :) 0-0 (this has a small error and is not a palindrome but is supposed to test to true)

It is a palindrome. You need to remove all non-alphanumeric characters. So, the string you are checking will be 0000

Ok, weirdly mine comes back '0_000' (all the other tests with
non-alphanumeric characters work perfectly).
I'm using /\W/g which I thought would work fine. I guess I'm just not doing
it right yet?
On 24 February 2016 at 11:15, Akira Laine<EMAIL_ADDRESS>wrote:

It is a palindrome. You need to remove all non-alphanumeric characters.
So, the string you are checking will be 0000
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7218#issuecomment-188198205
.

"_"(underscore) is in \w, so it can be removed by "/\W/g"

The reason is "_"(underscore) is in \w, so it can't be removed by "/\W/g"

Ok, thanks.
On 24 February 2016 at 11:42, dengshilong<EMAIL_ADDRESS>wrote:

The reason is "_"(underscore) is in \w, so it can't be removed by "/\W/g"
—
Reply to this email directly or view it on GitHub
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/7218#issuecomment-188214409
.


BiblioSpec: tweaks to Shimadzu .mlb reader. Wasn't filtering for MS2 …

…only. Also, we now accept adducts "other(+)" and "other(-)" as meaning "[M+]" and "[M-]" respectively.

You're correct, the input file has other problems as well, which I'm discussing with them. But the change to filter out MS1 is still important, so that's what I'd like the blessing on. Thanks! Good point about referencing the support request, too.


[Bug]  弹窗组件会先展示一个滚动条,然后又消失,样式和文案会在1s内抖动

📦 Deployment Method
Vercel
📌 Version

💻 Operating System
macOS
📌 System Version

🌐 Browser
Chrome
📌 Browser Version
Newest version on Sep 08, 2024
🐛 Bug Description
https://github.com/user-attachments/assets/278444bf-06b8-4b78-9fdd-dff503d8adc8
📷 Recurrence Steps
No response
🚦 Expected Behavior
No response
📝 Additional Information
No response

@DDMeaqua 去掉第一个disabled item 就行了


CurveCWSFourier Class for CWS bounded coil optimization

This PR enables SIMSOPT to create coil curves on a specified coil winding surface. For this purpose, the following changes are implemented.

New class CurveCWSFourier allows the creation of a coil curve given the dofs of a surface.
CurveCWS inherits from the Curve class.
Allows the optimization of curves bounded to the CWS without changing the winding surface.

Need to add unit tests.
(João Biu, student of Rogério Jorge)

@lankef Frank, tagging you here in case you haven't seen this pull request and its helpful for you

Thank you, I didn't notice. I'll check if it solves the gradient issue. There doesn't seem to be any change to the flux objective's implementation though?
Frank

From: Alan Kaptanoglu @.>
Sent: Friday, June 14, 2024 14:44
To: hiddenSymmetries/simsopt @.>
Cc: Frank Fu @.>; Mention @.>
Subject: Re: [hiddenSymmetries/simsopt] CurveCWSFourier Class for CWS bounded coil optimization (PR #420)
@lankefhttps://github.com/lankef Frank, tagging you here in case you haven't seen this pull request and its helpful for you
—
Reply to this email directly, view it on GitHubhttps://github.com/hiddenSymmetries/simsopt/pull/420#issuecomment-2168572978, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADDUGMR73V2UC4SUKJVX7ULZHM2X3AVCNFSM6AAAAABI3EVBYKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRYGU3TEOJXHA.
You are receiving this because you were mentioned.Message ID: @.***>


update version to Angular 5

I used the version 0.7.6 with angular 5. only the version in the package.json should be updated.

It would be awesome if this PR could be merged...

@cstefanache @mounirrquiba Please check if it is possible for you guys to expedite this.

Is this project still maintained? Is anyone wanting to fork, build and deploy the latest changes to a new NPM package? I'm sure there are a lot of people keen to upgrade to NG5.

@cstefanache Are you still maintaining this project? Otherwise I'm willing to take over.

Could you please merge this pr, we really need this update

@jenshelderweirdt I emailed @cstefanache and he's unable to maintain the project anymore but is happy to assign someone else admin. I'll put your name forward.


"Error: seems like cookie tossing is happening" when running velocity mirror

Getting this error in console if running velocity package is installed:
Error: seems like cookie tossing is happening. visit here: http://git.io/q4IRHQ
at Object.FastRender._securityCheck (http://localhost:5000/packages/meteorhacks_fast-render.js?c3b3876229835bfaa2e6490812827ff3b22c2ee2:226:13)
at Object.FastRender.init (http://localhost:5000/packages/meteorhacks_fast-render.js?c3b3876229835bfaa2e6490812827ff3b22c2ee2:172:14)
at http://localhost:5000/packages/meteorhacks_fast-render.js?c3b3876229835bfaa2e6490812827ff3b22c2ee2:455:16
at runStartupCallbacks (http://localhost:5000/packages/meteor.js?81e2f06cff198adaa81b3bc09fc4f3728b7370ec:784:22)
at HTMLDocument.ready (http://localhost:5000/packages/meteor.js?81e2f06cff198adaa81b3bc09fc4f3728b7370ec:786:3)
I suggest FastRender considers velocity-mirror running on port 5000 as a possibly evil app.

This also affects the loginToken from being sent with the initial payload, preventing FastRender's automatic login feature.

FastRender uses cookies. So, it can use only one app at a time for a domain. So, that's this errors.
(Actually, it's a security measure)
I'm quite not sure about how velocity works, may be you can run it on a different domain like <IP_ADDRESS> or some custom domain?

Actually it doesn't seem to be happening for me anymore. I don't know that I changed anything other than restarted Meteor, and FastRender is working as expected. Still throwing the cookie tossing error for the test mirrors, but the loginToken is being sent properly for the main instance now. I'll try to update if it happens again.


Add button to duplicate attachment node

Adds a button which duplicates an attachment node (including children).

Before
After

That was easier than I thought it would be. Thanks :)


Scatter points size not changed when zooming in/out

@maxwelltsai  already put this issue on the Vispy Google Group (see the link below) but the reply seems not so helpful.
https://groups.google.com/forum/#!topic/vispy/qHSE-_iOzqI
Maybe it's how the Markers visual works. I will put it here for future enhancement if needed.

This could be an optional feature but the current defaults seem sensible.


feat(DIA-785): fuse signup and login flows into a single user experience

This PR resolves DIA-785
Description
This PR adds the new authentication flow behind a feature flag. The goal of this PR is to get the basic functionality in for the flow. Polishing each flow will happen in subsequent PRs.

Flow
Video

Sign-up
https://github.com/user-attachments/assets/85cf41fe-3b5a-4662-a70c-f8b42f3ff715

Login (with OTP)
https://github.com/user-attachments/assets/30ea073e-7d4f-4e0c-96c3-abb7880e023b

Forgot Password
https://github.com/user-attachments/assets/a5981f4e-adbf-45e2-ba77-ed5ab9c90200

Social Sign-up (with Google)
https://github.com/user-attachments/assets/e2fdbf86-7af5-4ff7-9e16-e82206a4d725

PR Checklist

[ ] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[ ] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[ ] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Warnings

:warning:

❌ An error occurred while validating your changelog, please make sure you provided a valid changelog.

  Generated by :no_entry_sign: dangerJS against e3d6cb2e0a2395a83408fed2d438f1ad606ddcad

If the tests pass, I'd like to merge the overall changes so that I can continue working on each auth flow in its own PR. I have not yet written tests for this code or tested it extensively in Android, but I think that is OK because the only production code that this PR impacts is the Onboarding component, which checks for a feature flag to enable this flow.


frontend error 502 after a while and I have to reboot manually

The frontend is always going down after a while and I get 502 from nginx, the backend works fine.

Any logs? That would help figure the issue

<IP_ADDRESS> - - [08/Mar/2022:21:25:12 +0000] "GET / HTTP/1.0" 502 559 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36" "-"
<IP_ADDRESS> - - [08/Mar/2022:21:25:12 +0000] "GET /favicon.ico HTTP/1.0" 502 559 "https://tube.wiredentrypoint.xyz/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36" "-"

I was trying to figure this out and I also have this log that I messed the last time:
2022/07/07 20:38:16 [error] 33#33: *41122 connect() failed (111: Connection refused) while connecting to upstream, client: <IP_ADDRESS>, server: tube.wiredentrypoint.xyz, request: "GET /favicon.ico HTTP/1.0", upstream: "http://<IP_ADDRESS>:80/favicon.ico", host: "tube.wiredentrypoint.xyz", referrer: "https://tube.wiredentrypoint.xyz/"

Is it maybe some conflict with the ports?

Update, it seems to crash when an update is released

Haven't had this issue for a while, seems like #29 fixed it, I'll open it again if it happens again.


Fix numpy float/int error when using CameraAndroid.decode_frame

the call to np.reshape with (h + h/2, ...) could lead to reshaping with a float. This is fixed by using h + h//2 instead
Closes #8752

Maintainer merge checklist

[x] Title is descriptive/clear for inclusion in release notes.
[x] Applied a Component: xxx label.
[ ] Applied the api-deprecation or api-break label.
[ ] Applied the release-highlight label to be highlighted in release notes.
[x] Added to the milestone version it was merged into.
[ ] Unittests are included in PR.
[ ] Properly documented, including versionadded, versionchanged as needed.

I'd also like to backport this to 2., if you still do releases, as we are using the latest stable Kivyv version (and therefore not 3.)

I'd also like to backport this to 2., if you still do releases, as we are using the latest stable Kivyv version (and therefore not 3.). The code for decode_frame is the same as on the latest 2.* version.
I cherry-picked my commit to https://github.com/audioseek/kivy/tree/2.3.0-8754-fix, which is based on 9ef2180

ATM we do not have another 2.x.x release scheduled, but we may be forced to make one if the 3.x.x is not ready before the end of the year, so stay tuned.


[Feature]: Qwen2.5 bitsandbytes support

🚀 The feature, motivation and pitch
Description:
Qwen2.5 (32B) is a state-of-the-art model, especially interesting in 4-bit precision (bitsandbytes).

I tried integrating it, but the model did not work as expected. the model output is just "!!!!!"
I created a Colab showing Qwen2.5 works in the transformers library but fails in vllm after my modification.
in this notebook i show how the model is working using hugginface, and how after adding bitsandbytes support the output is gibberish
i tried to add this lines, under Qwen2ForCausalLM class:

    bitsandbytes_stacked_params_mapping = {
        # shard_name, weight_name, index
        "q_proj": ("qkv_proj", 0),
        "k_proj": ("qkv_proj", 1),
        "v_proj": ("qkv_proj", 2),
        "gate_proj": ("gate_up_proj", 0),
        "up_proj": ("gate_up_proj", 1),
    }

There is similar PR just merge where adding bitsandbytes to Gemma2

bad output example

Prompt: 'The future of AI is', Generated text: '!!!!!!!!!!!!!!!!'

Alternatives
No response
Additional context
No response
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

cc @chenqianfzh  could you plz look at this issue,thanks

😃 Hi, I create a similar PR to support Qwen2.5 and get correct results with the following scripts. Hope this PR helps.
from vllm.entrypoints.llm import LLM, SamplingParams
import torch

bnb_model="local_ckpt/Qwen2.5-0.5B-Instruct-bnb-4bit" # not support bnb
llm = LLM(model=bnb_model,
        #   dtype=torch.bfloat16,
          trust_remote_code=True,
          quantization="bitsandbytes",
          load_format="bitsandbytes",
          enforce_eager=True,
          max_model_len=1024)

prompts = [
    "Hello, my name is",
    "The president of the United States is",
    "The capital of France is",
    "The future of AI is",
]
sampling_params = SamplingParams(temperature=0.8, top_p=0.95)
outputs = llm.generate(prompts, sampling_params)

# Print the outputs.
for output in outputs:
    prompt = output.prompt
    generated_text = output.outputs[0].text
    print(f"Prompt: {prompt!r}, Generated text: {generated_text!r}")

And the corresponding outputs:
Prompt: 'Hello, my name is', Generated text: ' Kiki, and I am a healthy, 44-year-old woman.'
Prompt: 'The president of the United States is', Generated text: ' 2 seconds behind a new construction project and is 200 meters away'
Prompt: 'The capital of France is', Generated text: ' ____.\nA. Paris\nB. Brussels\nC. Nice\nD.'
Prompt: 'The future of AI is', Generated text: ' about the seamless integration of AI with various industries, including but not limited to healthcare'

May I ask what version of the model are you using in this example? is it the Unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit ? I am trying to run inference on the Unsloth/Qwen2.5-7B-bnb-4bit model using your example
But Im getting the error: [rank0]: AttributeError: Model Qwen2ForCausalLM does not support BitsAndBytes quantization yet.
btw ive tried running inference on the models--unsloth--Llama-3.2-1B-Instruct and It works without any issues so Im assuming the issue may be specific to unsloths qwen 2.5 model library.

May I ask what version of the model are you using in this example? is it the Unsloth/Qwen2.5-0.5B-Instruct-bnb-4bit ? I am trying to run inference on the Unsloth/Qwen2.5-7B-bnb-4bit model using your example
But Im getting the error: [rank0]: AttributeError: Model Qwen2ForCausalLM does not support BitsAndBytes quantization yet.
btw ive tried running inference on the models--unsloth--Llama-3.2-1B-Instruct and It works without any issues so Im assuming the issue may be specific to unsloths qwen 2.5 model library.

Hi, updating the vllm version may work, because llama3 bnb is supported before Aug, but Qwen2.5 bnb support is added recently.

@blueyo0 is right. The bnb support of qwen2 was added recently.

hi, could you also add support of BNB quantization for phi series, such as microsoft/Phi-3.5-mini-instruct  ?

sure，I will take a look at Phi 3


New-project templates

An idea that came up (again) during last-week meetings: create project with templates. Options:

Blank => no dataset
Image to Zarr => 2 DS: Input images [type image], output [type zarr]
Multiplexing => image to Zarr
Zarr to Zarr

This requires:

https://github.com/fractal-analytics-platform/fractal-server/issues/674

Currently, 2 & 3 would be the same, right? Both come with 2 datasets, but option 3 will expect multiple resources.
And the workflows will be different, but I think workflow templates should be a separate part


How do I set up to view the status of a monitored website without logging in and opening this app?

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
How do I set up to view the status of a monitored website without logging in and opening this app?
📝 Error Message(s) or Log
NO
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
debian 5.10.218-1
🌐 Browser
128.0.2739.67
🖥 Deployment Environment
How do I set up to view the status of a monitored website without logging in and opening this app?

You could create a status page for the monitors you want to display publicly


Make API of op::lincomb not require collecting first

see #116

So I tried to do this just now. The problem I ran into is that you can't really take an IntoIterator<Item=impl Borrow<Something>> and then map Something to a property of it (which we need to do here to get the backend scalar/point). We could take an Iterator and map it but not an IntoIterator since we can't borrow from each iteration. Making it take plain Iterator would solve the issue @sanket1729  was having but seems like it would make the API more clunky where you want to pass in a vector without calling into_iter yourself.
Opting to leave it like it is now until we think of some way of doing both.


Not working with Schibsted-account

Hello!
Was really excited to find this tool!
It seems however that the authentication part is no longer working after they are enforcing Schibsted-accounts for Podme?
Would be great if you make a fix for that (or clarify in the readme how to use the tool with it)

Ensure you are using the latest version, then try again :)

I just followed the documenation in https://github.com/mathiazom/pasjonsfrukt  - readme.md
"pip install pasjonsfrukt" should give me the latest version right?

"pip install pasjonsfrukt" should give me the latest version right?

Yes, but try pip install pasjonsfrukt==0.2.4 just to make sure.
And perhaps delete ~/.config/podme_api if it exists..


[iOS] Request technology sometimes fails to start.

Hi! First, thank you for this package 🙏
Onto the issue, i am trying to implement a functionality by which trying to access an NFC tag will happen within a set timeout, and, in case it fails for some reason before the timeout has finished, it will retry to access the NFC tag. In this implementation, the following steps are taken, after starting the process using start:

Request technology;
Perform operations;
In case any of the previous fails, invalidate with error, otherwise invalidate normally;
In case it was invalidated with error and timeout has not expired, request technology again and restart cycle.

The problem i'm finding is that, after the first time, sometimes requesting technology will never bring up the native NFC modal, effectively not starting the NFC process. This can happen after one retry, or ten retries, even twenty or more, and i'm not able to predict what might be causing it to suddenly not start. Since the timeout eventually ends, i have to exit this process and i'm left with a technology request that never resolved or rejected.
What happens then, is that any attempt to request technology would error out with "Duplicated registration", even if subsequent invalidateSession or invalidateSessionWithError calls fulfilled successfully, and, i assume, cleaning up the very sessions that would afterwards cause the "Duplicated registration" error.
From debugging inside the package, the only thing that i can figure out is that for some reason, the failing requestTechnology would reach the end of its process, but tagReaderSessionDidBecomeActive is never fired.
What i'm trying to understand is that perhaps there is some asynchronous process that i'm not currently successfully awaiting, because otherwise i'm not sure what can be causing this. I suspect that it might be a race condition, but my unfamiliarity with native code might make me unaware of something else that might be causing this.
I'll continue investigating this issue and will report any advances, but i'm blocked on this bug and it's hard to understand if this is a problem with my implementation or with the package itself, so any help is welcome!
Some additional info:

package version: 3.7.0
device: iPhone X
iOS version: 14.6

@whitedogg13 any idea on what could be happening here? 🙏🏻

Some more information on this. It seems i'm more frequently able to replicate this behaviour the quicker i am between retries, that is, it seems like the shorter the time between a session is closed (i.e., the SessionClosed event is fired) and a new session is requested through requestTechnology, the more frequently this behaviour happens.
Also, this only seems to happen when the use cancels the NFC process through the  Cancel button on the native pop-up. In instances where my own application invokes invalidateSessionWithError, and the native pop-up has an additional state where it shows the error message with an error icon, i cannot replicate this behaviour at all. This leads me to think that the error state of the native pop-up is critical in some way, perhaps by blocking user interaction for some time as some behind-the-scenes things are finishing up, time that does not exist when the user presses the Cancel button since in that instance the pop-up disappears almost instantly and the SessionClosed event is fired also almost immediately after.
I'm still unsure whether this is due to Apple's implementation of the NFC SDK or not. Any help is appreciated.

Some more information on this. It seems i'm more frequently able to replicate this behaviour the quicker i am between retries, that is, it seems like the shorter the time between a session is closed (i.e., the SessionClosed event is fired) and a new session is requested through requestTechnology, the more frequently this behaviour happens.

@whitedogg13 I've put together a repro, in isolation from the app we're working on, to demonstrate the issue @threequartersjohn described above. Check out the implementation we've done in the home screen.
Down below you'll find two videos. When the session is not active, the scan button becomes green. Otherwise, it becomes red. When it becomes blue it means we're pressing on it.
The first video shows the failure scenario where the native NFC scan prompt no longer appears when we call requestTechnology for the 2nd time after pressing on the cancel button before on the 1st time. Note that we always wait for the session closed event before making a new call to requestTechnology. However, on the 2nd time, the tagReaderSessionHasBecomeActive callback is never called.
The second video shows the success scenario where a safety timeout starts once the session closed event is fired. This safety timeout ensures the session remains "active" in the app layer for some more time by preventing the user from triggering another scan too early, i.e., before the session has truly stabilised.
https://user-images.githubusercontent.com/2727522/129477289-7be677be-8646-43cf-b188-72f84362af59.MP4
https://user-images.githubusercontent.com/2727522/129477280-c96c3587-b993-4620-b86b-499c3210a1af.MP4

Also, I did run a search in the Developer Forum to look for existing questions about this particular issue. I've only found one thread so far more or less related, but it does not exactly related to the behavior we're experiencing here.

https://developer.apple.com/forums/thread/675452

It's been a while but I'm facing this exact issue. Calling await NfcManager.requestTechnology() right after a session was invalidated with a UserCancel Error starts a new NFCTagReaderSession but the delegate methods are never called which results in the requestTechnology call being stuck.
@acostalima @threequartersjohn Did you ever find any solution to this or is this just a limitation we have to live with?

Hi @mTRx0! This was a long time ago and we're no longer working on this so forgive me if i'm not technical or specific enough. We eventually designed the interaction around this limitation. Our solution was to prevent requesting NFC a given time after we closed the session, e.g.:

Request NFC;
Request session closure:
Block requests  for X seconds (we manually tested values until we found what was best for us);
App can request NFC again.

Unfortunately this has a UX cost that is very hard to ignore, so there is also that. At the time we found that other apps with NFC for iOS were also using this strategy. We never really found the root cause of this, though it would be interesting to check if something is different with newer iOS versions.

Hey @threequartersjohn, thank you for taking the time to explain your solution!
As far as I understand this seems to either be a bug in CoreNFC or an intentional delay then. I guess we'll have to do the same and design our UX around it.

Below is one additional approach that may help some people. When the user attempts to retry and the resource is not available yet we can invalidate that attempt:
const requestTagTechnology = useCallback(async () => {
  try {
    await NfcManager.requestTechnology(SupportedTechs);
  } catch (e) {
    const errorMessage = e instanceof Error ? e.message : String(e);
    if (errorMessage.includes('Duplicated registration')) {
        // Failure due to calling requestTechnology too quickly after a previous call
        // ignore user request
      console.warn('NFC requestTechnology called too quickly after the previous call.');
    } else {
      // Log or report other errors
      console.error('NFC requestTechnology error:', errorMessage);
      throw e;
    }
  }
}, []);


[Question] Does this be designed to use together with godot-dictionary-inspector?

https://github.com/don-tnowe/godot-dictionary-inspector
are they compatible with each other?

Well, Inspector Extender's tables don't allow editing of nested Dictionary and Array properties, and dictionaries don't allow attributes on specific properties so Dictionary Inspector doesn't need to handle them.
What are the interactions you are looking for?


Crash on Win7 within 60 s of startup when a python file is opened

Description
Atom v 1.15.0 crashes on Win7 within 60 s of opening a python file, with and without --safe, with and without --clear-window-state, with and without removing all user settings in %USERPROFILE%\.atom. See the listing from the cmd session below.
Steps to Reproduce

Open atom
Open an editor window with a python file (if it isn't open already)
Do any action in the editors or menus or just wave the mouse around
Atom crashes within a short time, typically < 60 s

Expected behavior: No crash.

Actual behavior: Crash
Reproduces how often: 100 % (I have tried more than 20 times and it has crashed every time)
Versions
C:\Users\josteinf>atom --version

Atom    : 1.15.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

C:\Users\josteinf>apm --version
apm  1.15.3
npm  3.10.5
node 4.4.5 x64
python 3.4.4
git 1.9.5.msysgit.0
visual studio 2010

Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\josteinf>atom --safe

C:\Users\josteinf>atom --safe -f

[6456:0323/100818:WARNING:archive.cc(144)] Opening file:\C:\Users\josteinf\AppDa
ta\Local\atom\app-1.15.0\resources\app.asar: FILE_ERROR_FAILED
[9496:0323/100820:INFO:CONSOLE(126)] "Enabled theme 'atom-material-ui' is not in
stalled.", source: C:\Users\josteinf\AppData\Local\atom\app-1.15.0\resources\app
.asar\src\theme-manager.js (126)
[9496:0323/100820:INFO:CONSOLE(126)] "Enabled theme 'atom-material-syntax-dark'
is not installed.", source: C:\Users\josteinf\AppData\Local\atom\app-1.15.0\reso
urces\app.asar\src\theme-manager.js (126)
[9496:0323/100821:INFO:CONSOLE(46)] "spell-check:en-gb", source: C:\Users\jostei
nf\AppData\Local\atom\app-1.15.0\resources\app.asar\src\task.js (46)

C:\Users\josteinf>atom --safe -f

[7804:0323/100920:WARNING:archive.cc(144)] Opening file:\C:\Users\josteinf\AppDa
ta\Local\atom\app-1.15.0\resources\app.asar: FILE_ERROR_FAILED
[8944:0323/100921:INFO:CONSOLE(126)] "Enabled theme 'atom-material-ui' is not in
stalled.", source: C:\Users\josteinf\AppData\Local\atom\app-1.15.0\resources\app
.asar\src\theme-manager.js (126)
[8944:0323/100921:INFO:CONSOLE(126)] "Enabled theme 'atom-material-syntax-dark'
is not installed.", source: C:\Users\josteinf\AppData\Local\atom\app-1.15.0\reso
urces\app.asar\src\theme-manager.js (126)
[8944:0323/100921:INFO:CONSOLE(46)] "spell-check:en-gb", source: C:\Users\jostei
nf\AppData\Local\atom\app-1.15.0\resources\app.asar\src\task.js (46)

C:\Users\josteinf>atom --safe -f

[2388:0323/101001:WARNING:archive.cc(144)] Opening file:\C:\Users\josteinf\AppDa
ta\Local\atom\app-1.15.0\resources\app.asar: FILE_ERROR_FAILED
[8316:0323/101002:INFO:CONSOLE(126)] "Enabled theme 'atom-material-ui' is not in
stalled.", source: C:\Users\josteinf\AppData\Local\atom\app-1.15.0\resources\app
.asar\src\theme-manager.js (126)
[8316:0323/101002:INFO:CONSOLE(126)] "Enabled theme 'atom-material-syntax-dark'
is not installed.", source: C:\Users\josteinf\AppData\Local\atom\app-1.15.0\reso
urces\app.asar\src\theme-manager.js (126)
[8316:0323/101003:INFO:CONSOLE(46)] "spell-check:en-gb", source: C:\Users\jostei
nf\AppData\Local\atom\app-1.15.0\resources\app.asar\src\task.js (46)

C:\Users\josteinf>atom --version

Atom    : 1.15.0
Electron: 1.3.13
Chrome  : 52.0.2743.82
Node    : 6.5.0

C:\Users\josteinf>apm --version
apm  1.15.3
npm  3.10.5
node 4.4.5 x64
python 3.4.4
git 1.9.5.msysgit.0
visual studio 2010

C:\Users\josteinf>atom --clear-window-state

C:\Users\josteinf>atom --clear-window-state --safe -f

[4272:0323/103141:WARNING:archive.cc(144)] Opening file:\C:\Users\josteinf\AppDa
ta\Local\atom\app-1.15.0\resources\app.asar: FILE_ERROR_FAILED
[3196:0323/103142:INFO:CONSOLE(126)] "Enabled theme 'atom-material-ui' is not in
stalled.", source: C:\Users\josteinf\AppData\Local\atom\app-1.15.0\resources\app
.asar\src\theme-manager.js (126)
[3196:0323/103142:INFO:CONSOLE(126)] "Enabled theme 'atom-material-syntax-dark'
is not installed.", source: C:\Users\josteinf\AppData\Local\atom\app-1.15.0\reso
urces\app.asar\src\theme-manager.js (126)

C:\Users\josteinf>rename %USERPROFILE%\.atom .atom-backup

C:\Users\josteinf>atom --clear-window-state --safe -f

[9196:0323/103524:INFO:CONSOLE(46)] "spell-check:en-gb", source: C:\Users\jostei
nf\AppData\Local\atom\app-1.15.0\resources\app.asar\src\task.js (46)

C:\Users\josteinf>

### Prerequisites

* [X] Put an X between the brackets on this line if you have done all of the following:
    * Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
    * Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
    * Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
    * Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
    * Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

I have stored one of the crash dump files. Let me know if you need it. If so, please give me some hints on where to upload it (github does not seem to allow uploading files to issues).

I have tried v1.16.0-beta0, and it has not crashed in the last hour.

It looks from your logs that Atom didn't finish its installation correctly, as C:\Users\josteinf\AppDa ta\Local\atom\app-1.15.0\resources\app.asar is a critical file.  Can you go to the resources directory and confirm if it exists or not, and then also whether it exists in the 1.16.0-beta0\resources directory?

The folder C:\Users\josteinf\AppDa ta\Local\atom\app-1.15.0 is missing altogether (but I have a folder for 1.16.0-beta0). I have not touched this folder manually. Is it possible that it was removed during the install of the beta version?
In the directory tree for the beta version, the app.asar file is present.

Is it possible that it was removed during the install of the beta version?

Yes https://github.com/atom/atom/issues/9247#issuecomment-256399747

Thanks for both replies. I'll try to reinstall the stable version later today, and hopefully the problem does not reappear.

I have reinstalled 1.15.0, and unfortunately, the problem is back:
C:\Users\josteinf>atom -f

[7484:0323/154058:WARNING:archive.cc(144)] Opening file:\C:\Users\josteinf\AppDa
ta\Local\atom\app-1.15.0\resources\app.asar: FILE_ERROR_FAILED
[9948:0323/154058:INFO:CONSOLE(17)] "linter-matlab loaded.", source: C:\Users\jo
steinf\.atom\packages\linter-matlab\lib\linter-matlab.coffee (17)
[9948:0323/154059:INFO:CONSOLE(113)] "/deep/ combinator is deprecated. See https
://www.chromestatus.com/features/6750456638341120 for more details.", source: C:
\Users\josteinf\AppData\Local\atom\app-1.15.0\resources\app.asar\src\pane-elemen
t.js (113)
[9948:0323/154101:INFO:CONSOLE(93)] "checking latest backup...", source: C:\User
s\josteinf\.atom\packages\sync-settings\lib\sync-settings.coffee (93)
[9948:0323/154101:INFO:CONSOLE(382)] "Creating GitHubApi client with token = <redacted>", source: C:\Users\josteinf\.atom\packages
\sync-settings\lib\sync-settings.coffee (382)
[9948:0323/154102:INFO:CONSOLE(46)] "spell-check:en-gb", source: C:\Users\jostei
nf\AppData\Local\atom\app-1.15.0\resources\app.asar\src\task.js (46)
[9948:0323/154102:INFO:CONSOLE(118)] "latest backup version 8534f1ddcb12f234390a
1a0e4783222239244c97", source: C:\Users\josteinf\.atom\packages\sync-settings\li
b\sync-settings.coffee (118)
[9948:0323/154124:INFO:CONSOLE(221)] "Uncaught (in promise) Error: Fetching outd
ated packages and themes failed.", source: C:\Users\josteinf\AppData\Local\atom\
app-1.15.0\resources\app.asar\node_modules\settings-view\lib\package-manager.js
(221)

C:\Users\josteinf>

Atom crashes quickly, as before.
The file app.asar is present in C:\Users\josteinf\AppData\Local\atom\app-1.15.0\resources.

Hmm.  Does this only happen with Python files?  If so, what if you change the language (Ctrl+Shift+L) to something like Plain Text?  Then does it crash?
@damieng would you be interested in taking a look at the crash dump?

Sorry, no. Since first reporting the issue, I have observed it also without python files being opened. However, I am not sure if I have had it crash without having some form of editor window open. I am not sure if that is relevant.

@50Wliu I've never had much luck decyphering the crash dumps.

The same issue is now happening also with 1.16.0-beta0.

I'm also getting this issue on a freshly installed Atom 1.16.0 x64, running on Windows 7 64 bit. Sad to say, this is not giving me a very good first impression of Atom...

I decided to uninstall Atom and try to install the 32-bit version instead (Atom 1.16 ia32). So far, I have not experienced any crashes with it, unlike the 64-bit version which always crashed less than a minute after loading. This could be a workable workaround for now.

My experience with the 32-bit version is identical to that of @erlendviggen

Mine is also crashing every minute or so, running Windows 10 (atom v1.18.0 x64). It seems to happen when I have a large project open with lots of files under version control, FWIW.

Can you try disabling the github package?


Remove RSS icon from the header.

This PR address issue - #723.
I have removed the icon and its logic from the header component for now.
I have not yet removed functions/api/share/[[user_id]].ts logic which is used to generate the RSS feed. Please let me know if you want this to be removed.

Thank you.

Apologies, I have added the files back and removed the function used to generate the feed. Please let me know if this works. Thank you.

Thanks for all the work on this, @KrinsKumar!


How does Flogo Rules compared to Drools

What is your question?
Hello!
We are evaluating tech stack for rules and processing of events. One strong candidate is Drools, but we prefer to have something written in Golang. And this is how we found Flogo. 😊
But from documentation https://www.flogo.io/ , we have several high level questions:

In the website, it's mentioned that flogo rules support Forward chaining for Inferencing, what about backward chaining?
Is there any performance benchmark for our reference? i.e. we want to roughly understand if Flogo can scale to handle big amount of events, or it's mostly only suitable for "edge application".

Thank you in advance!

At this point we support forward chaining only.
We don't have any publicly available benchmark numbers. But Flogo rules should be able to scale. What kind of volume are you looking at?

Try it out. If you have any queries let us know.

Hi, @vpatil-tibco !

May I know if there is any plan to implement backward-chaining?
We are looking at somewhere around the magnitude of 50k rps

Sure, we will run performance test definitely.

backward-chaining is something we will be looking at in future, but its not in the immediate plans.

Please run your tests and share your findings.


Feature/config file

This implements caching the credentials locally in a config file. The file
format is JSON and can be configured with an environment variable. Also, a new
subcommand 'store' is implemented to allows storing the credentials. Of course,
if this makes it in, documentation should be added and an additional warning
should be included that the user is storing his/her credentials in PLAINTEXT on
the local filesystem.
I wrote this because I became really annoyed with having to type my username
and password over and over and over again. The timeout of the token is simply
too short. In an ideal world, cctrl would authenticate against stored ssh keys,
the way you do it with git when you push the deployment with bare git -- but
that needs to be done on the remote side.

Hi @esc and all cctrl user arounf, we are preparing a release that comes with authentication via SSH Public Key. It's already on master branch, not available on pip yet, though. We also introduce a user configuration file (~/.cloudControl/user.cfg) that stores login information like email, public key path or authentication method (ssh or password auth). We never store the password on this file.
Given this fact, we'd like to close this pull request, as this proposal got already obsolete. Comments are still welcome anyway. Thanks for your contribution!


Update using.md

Explain addition of your password to the Bitbucket-provided origin URL to eliminate password prompts every time a '$ git push' is performed.

Is it possible to set up an ssh key in Bitbucket like it is in github for passwordless pushes?

https://confluence.atlassian.com/bitbucket/add-an-ssh-key-to-an-account-302811853.html has some info on how to set up ssh keys with BitBucket. Hope it helps!

Thanks, Oskar.  I assume that the ssh key is preferred, so as not to expose my Bitbucket password out onto the internet?
This is my first PR; what do I do next?  Close my PR, evaluate the information in the link and create a new PR with that info, if it seems appropriate to add to the documentation?  Thank you!

You can leave the PR open and just update your branch with improved text
(probably recommending ssh keys, but mentioning that you can also do
passwords if you want), and it will automatically update the PR with your
changes.
-Scott
On Mon, Mar 7, 2016 at 11:36 AM, Mike Stebbins<EMAIL_ADDRESS>wrote:

Thanks, Oskar. I assume that the ssh key is preferred, so as not to expose
my Bitbucket password out onto the internet?
This is my first PR; what do I do next? Close my PR, evaluate the
information in the link and create a new PR with that info, if it seems
appropriate to add to the documentation? Thank you!
—
Reply to this email directly or view it on GitHub
https://github.com/openaps/docs/pull/95#issuecomment-193415011.

Sounds good.  I'll try to take a look tonight and update the PR.  Thanks!


”Sadu” is listed in the drop-down menu

Description:
"Sadu" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Sadu" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Sadu, SIBIU (Sadu)".


Error while fleshing a new app using create-react-native-app

It fails to finish install due to this error below. What could be wrong? It's coming from ngrok

@dikaiosune  Please could you advise on what to do here? Thanks

Are you on a reliable internet connection? My guess is that the tarball failed to download on your connection.

Alright. Let me retry it on a better connection. Thanks

It worked @dikaiosune . Thanks


x/text: Title() behaves differently than strings.Title()

What version of Go are you using (go version)?

$ go version
go version go1.18 darwin/arm64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="arm64"
GOBIN=""
GOCACHE="/Users/xiehang/Library/Caches/go-build"
GOENV="/Users/xiehang/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="arm64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/xiehang/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/xiehang/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/opt/homebrew/Cellar/go/1.18/libexec"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/homebrew/Cellar/go/1.18/libexec/pkg/tool/darwin_arm64"
GOVCS=""
GOVERSION="go1.18"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/xiehang/dev/parquet-tools/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/vj/wtn1vqpj12g4k75p7snx28d80000gn/T/go-build3311008797=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

https://go.dev/play/p/qGo_iTp7AQ7
What did you expect to see?
cases.Title() behaves the same as strings.Title(), I believe this is what https://github.com/golang/go/issues/48367 tells (explicitly)
What did you see instead?
cases.Title() changes the first character to uppercase, and change rest of the string lowercase
strings.Title() changes the first character to uppercase, leave rest of the string untouched.

Surprisingly, in the same minutes you, @hangxie and I discovered the same problems: https://github.com/golang/go/issues/48367#issuecomment-1079506378.

I'm not sure there is anything to do here.  Evidently we were mistaken in thinking that cases.Title was a drop-in replacement for strings.Title.  Sorry about that.  But changing cases.Title would lead to compatibility concerns.  And the deprecation notice for strings.Title doesn't actually refer to cases.Title.
I'm open to suggestions.

cases.Title does work as a substitute for strings.Title as long as you pass in the cases.NoLower option to the Caser.
The corrected version of the example should be
https://go.dev/play/p/uzYSvdtKNRy
package main

import (
	"fmt"
	"strings"

	"golang.org/x/text/cases"
	"golang.org/x/text/language"
)

func main() {
	orig := "thisIsCool"
	c := cases.Title(language.Und, cases.NoLower).String(orig)
	s := strings.Title(orig)
	fmt.Printf("orig: %s\ncases: %s\nstrings: %s\n", orig, c, s)
}

which outputs
orig: thisIsCool
cases: ThisIsCool
strings: ThisIsCool

cases.Title does work as a substitute for strings.Title as long as you pass in the cases.NoLower option to the Caser.

Perfect, thank you!


[dns-server] handle multiple questions

This commit enhances the DNS-SD server to handle multiple questions.
Specifically for DNS service resolving query with SRV+TXT questions, this commit would reply with SRV+TXT+AAAA RRs, so that the service instance can be fully resolved with one query.

[x] Add tests to verify that DNS-SD client service browsing and resolving works. @abtink

More implementation details

This commit  enhances NameCompressInfo so that question names can be compressed together with RR names.

Full compression is limited to only one instance / service / host name.

For any RR type in the question, this commit will exclude it in additional RRs. For example, if the query contains a AAAA question, the response won't include  any additional AAAA RR, but will only have AAAA answer(s). The purpose is to avoid duplicate RRs in answer section and additional section.

Depends on #6183 to fix a POSIX console bug.

This PR failed in posix-cli checks.
> 2: dns browse _ipps._tcp.default.service.arpa. fd00:db8:0:0:553a:d5e3:bcb2:f71f 53

<t.service.arpa. fd00:db8:0:0:553a:d5e3:bcb2:f71f 53
> DNS browse response for _ipps._tcp.default.service.arpa.
ins2
    Port:22222, Priority:2, Weight:2, TTL:7175
    Host:host2.default.service.arpa.
    HostAddress:fd00:db8:0:0:9982:902c:fc44:10cd TTL:7175
    TXT-Data:(len:1) [00] TTL:7175
ins1
    Port:11111, Priority:1, Weight:1, TTL:7170
    Host:host1.default.service.arpa.
    HostAddress:fd00:db8:0:0:bd9a:6033:459f:704 TTL:7170
    TXT-Data:(len:1) [00] TTL:7170
Done

Seems the POSIX CLI was unable to echo the command (i.e. dns browse _ipps._tcp.default.service.arpa. fd00:db8:0:0:553a:d5e3:bcb2:f71f 53) correctly because the command was executed successfully with correct output. I tend to believe this is not an issue of this PR, but an issue of the POSIX CONSOLE CLI.
Do you have any clue on this? @bukepo

@jwhui
All checks are passed expect codecov.
I think it is impossible that this PR decreased overall codecov by 2.26% because the code addition is small and the diff coverage should be very high (> 90%).


shapes with numbers activated do not send to lichess

I noticed that if you have the numbers activated, lichess does not record the shapes in the studies

Ooff. I think I've spent so much on that simple feature. Thanks for the report. Fixed in v2.1.53.


Final updates to STIX 2.0 release

Codecov Report

Merging #219 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master    #219   +/-   ##
======================================
  Coverage    99.5%   99.5%
======================================
  Files          62      62
  Lines        6613    6613
======================================
  Hits         6580    6580
  Misses         33      33

Impacted Files
Coverage Δ

stix2/version.py
100% <100%> (ø)
:arrow_up:

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 3542604...f85f4e5. Read the comment docs.


Make gce_image_import_export_tests a module

My PR is also failing on this:
Running tests on cli_tools
build .: cannot find module for path .
cli_tools test returned 1.


updateChatMessage hook callback throws an error when no flags are provided

When no flags are provided on message update,
https://github.com/WBHarry/pf2e-bestiary-tracking/blob/2db882306d2b10d0ba6adbab9f0ee22ac91c2b51/BestiaryTracking.js#L18671
errors.
Suggest replacing with
const appliedDamage = flags?.["pf2e-toolbelt"]?.targetHelper?.applied;

Was pretty sure flags was always provided as an object, wether empty or not.
I guess that might not always be true then

Added in this as a safety bit of code in v 1.1.28


Authentication

As stated in the Home Assistant discussion, there's a lot of hit and miss with the authentication. Putting it here so you can track the issue :P

Yeah, I need to look into this.

Submitted a PR to fix one issue with authentication (out of date url being used)

Thanks @Pow377. Hopefulyl this was the cause of the authentication issues. Lets see if anyone else adds a comment

Unmaintained issue board, I'm clearing out my raised but unfixed/untouched issues. Someone else is free to raise this issue again but as their own, if the issue still persists.


DetrBetterTransformer added, problem with position_embedding_type=sine

What does this PR do?
It implements BetterTransformer for DETR
Problem
Raises ValueError: Positional embedding type sine not supported for `BetterTransformer` integration at conversion step. BetterTransformer doesn't support sine positional embeddings.

@younesbelkada any idea on how to start solving this? I can give it a try

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

Hi @mszsorondo
Thanks for your contribution!
You can modify the condition here: https://github.com/huggingface/optimum/blob/2911a91e6d6212a8c6757999e5723747c4d7590f/optimum/bettertransformer/models/base.py#L80 and make it pass for Detr


Add polars compatibility

Hey there,
I've just finished adding support to convert and format to polars.DataFrame. This was in response to the open issue about integrating Polars #3334. Datasets can be switched to Polars format via Dataset.set_format("polars"). I've also included to_polars and from_polars. All polars functions are checked via config.POLARS_AVAILABLE.
A few notes:
This only supports DataFrames and not LazyFrames. This probably could be integrated fairly easily via is_lazy args in set_format, and to_polars.
Let me know your feedbacks.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Hi @lhoestq, thanks for pointing out the missing to_polars method.
I see your point about table.py so I removed them.
I also added tests in test_arrow_dataset.py, test_dataset_dict.py, and test_formatting.py. Let me know if I am missing any.

duckdb index files were deleted yesterday in dataset_with_script@ref/convert/parquet so I changed the hash to reflect the new SHA.

I'm so excited I tweeted about it: https://x.com/qlhoest/status/1766135995513082086?s=20 I hope it's fine !

Thanks @lhoestq for the support and totally fine with the share! Happy to see people excited for this 😃


Typo "Azure blob"→"Azure Blob"

https://docs.microsoft.com/en-us/azure/developer/terraform/store-state-in-azure-storage?tabs=azure-cli
https://github.com/MicrosoftDocs/azure-dev-docs/blob/main/articles/terraform/store-state-in-azure-storage.md
#PingMSFTDocs

@hyoshioka0128 Thanks for the feedback. However, the article is correct. "Blob" is only capitalized when talking about the service or brand; not an instance or the general concept.


Fix for subaru 0.6.5 dashcam mode

Feature
This pull request fixes dashcam only mode for supported Subaru models in 0.6.5
Description
sets enableCamera = True in interface.py since Eyesight is not disconnected and LKAS can messages are always present in fingerprint
Testing
Tested with martinl subaru-giraffe-devel branch and Subaru XV 2018, pressing ACC set button engages openpilot now, like in previous versions

superseeded by #849, which fixes the linter


(epub-test-fail: mol-tts_multi)

The mol-tts_multi test fails at

the extract on the next page is read aloud by the Reading System using Text-to-Speech

No read aloud happens (I cannot activate readaloud)
SMIL code
 <par id="first">
  <text src="../mobydick.xhtml#first"/>
 </par>

 <par id="second">
  <text src="../mobydick.xhtml#second"/>
 </par>

 <par id="third">
  <text src="../mobydick.xhtml#third"/>
 </par>

 <par id="fourth">
  <text src="../mobydick.xhtml#fourth"/>
 </par>

test removed


History will now show the current chat

Description
added an autosave when a new LLM response completes and the history page will update automatically. solves #2796.
Testing
tested locally on vscode

I've been exploring how to ensure fullscreen mode opens on the current chat. This seems tricky but one approach is to load the current session whenever a chat window gets rendered. If this approach is sound, this would be a good pre-req PR.

Description
added an autosave when a new LLM response completes and the history page will update automatically. solves #2796.
Testing
tested locally on vscode


是否提供清除suggest_freq结果的函数?

在自己的代码中用suggest_freq(word)操作确保特殊词不被拆分, 但同时代码其他部分引用的外部模块也同时引用了jieba, suggest_freq(word)的操作会影响外部模块分词操作(并不是希望看到的). 对此是否提供清除suggest_freq的操作?

import importlib
importlib.reload(jieba) is okey...

by using importlib.reload method, you may encounter this scenario in iPython/jupyter:
Building prefix dict from the default dictionary ...
Building prefix dict from the default dictionary ...
Building prefix dict from the default dictionary ...
Building prefix dict from the default dictionary ...
Loading model from cache /tmp/jieba.cache
Loading model from cache /tmp/jieba.cache
Loading model from cache /tmp/jieba.cache
Loading model from cache /tmp/jieba.cache
Dumping model to file cache /tmp/jieba.cache
Dumping model to file cache /tmp/jieba.cache
Dumping model to file cache /tmp/jieba.cache
Dumping model to file cache /tmp/jieba.cache
...
Loading model cost 2.636 seconds.
Loading model cost 2.636 seconds.
Loading model cost 2.636 seconds.
Loading model cost 2.636 seconds.
Prefix dict has been built succesfully.
Prefix dict has been built succesfully.
Prefix dict has been built succesfully.
Prefix dict has been built succesfully.

Once more you reload jieba module, there is one more line output in each section when jieba.dt.initialize() is implemented.
I'm not sure if there's any influence to other codes.

jieba.dt.initialize()  doesn't work for me...

jieba.dt.initialize()  doesn't work for me...

you should use a new jieba.Tokenizer instance for the case in this issue


Bump version to 3.0-SNAPSHOT.

There's various caching issues that gradle isn't picking up for some reason, and I do believe we did decide to bump the snapshot version to 3.0-SNAPSHOT with the Java 8 update.

First off, this wouldn't be done in a PR and secondly...I'm awaiting the merge of blood's branch.

and this https://github.com/SpongePowered/SpongeAPI/pull/860


Add another is missing

When I use a filer version > 9.8 the "Add another ..." link below my model admin inline disappears.

My requirements file contains the following dependencies:
django==1.5.12
South==1.0.2
psycopg2==2.6.1
Fabric==1.8.0
dreipol-django-fagungis==0.0.21
django-jenkins==0.14.1
pylint==1.0.0
pep8==1.4.6
Sphinx==1.2b3
django-apptemplates==0.0.1
django-suit==0.2.13
Pillow==2.8.2
django-cms==2.4.3
django-filer==0.9.5
django-reversion==1.7.1
django-compressor==1.3
django-sortedm2m==0.6.0
django-autoslug==1.7.2
djorm-ext-pgarray==0.6
django-model-utils==1.4.0
cmsplugin-filer==0.9.9
django-suit-ckeditor==0.0.2
Django-Select2==4.2.2
django-email-obfuscator==0.1.1
easy_thumbnails==1.4
django-lockdown==1.0
With both kind of versions I get a JavaScript error but not the same one. With version <=0.9.8 I get the error:
Uncaught TypeError: $(...).on is not a function
With version >0.9.8 the following error appears:
Uncaught type property can't be changed
My eventual goal is to use version 0.9.11. Using a lower version is an option since then I have other issues.
I'd be glad if someone could help me.

this should be fixed in latest develop. Please re-open if you still experience this issue.


Implement "insertion point" API for react-shadow

Adds an "insertion point" API similar to Griffel's API.
Here we use a special sentinel ExtendedCSSStyleSheet in the adoptedStyleSheets array and look it up prior to setting the stylesheets.
~Additionally, a constant for whether adoptedStyleSheets is mutable is added so we can conditionally update the array. This improves Safari support. See this PR for more details.~
Resolves #59

As we discussed in offline, let's introduce a factory to create root, i.e.:
const root = createRoot({ sheetInsertionPoint: sheet })

@layershifter Made this update.

@layershifter I think I've addressed the changes we discussed. Can you remove your hold on the PR so it can be merged?

@layershifter I think I've addressed the changes we discussed. Can you remove your hold on the PR so it can be merged?

@spmonahan I have already approved the PR previous week 🐱

@microsoft/fluentui-react-build can you please check the PR? 🙏


interface ArrayLike is missing from latest version of core-js.d.ts

Somehow, interface ArrayLike has gone missing from core-js.d.ts.
It was in earlier version, but after upgrading to the latest, I had to add it by hand from an old version.
To reproduce, open core-js.ts in Visual Studio 15, and it will show numerous errors from the missing interface.

I have faced with this issue too.

IIRC, the definition has been added to lib.d.ts in TS1.6 so it would conflict.
Currently the best way is to reproduce the definition in your own code and when you upgrade, the compiler will remind you to remove it.

OK, I understand now.


Add subject names and corresponding  picture

Include all the subjects for both electrical and electronics semesters

I am Interested !

@SayantanMaiti go for it 😁
Attach screenshots of the changes you made

added subjects
designed the buttons
added margin-left to h2 tag

can I work on this repo and is its pr adding to hacktoberfest 2020 as am a newbie in this fest

Hey @prachi0513 , good to know that you are interested and yes this PR will be added to hacktoberfest 2020.
Here already @SayantanMaiti has added the name of the subjects. If you want to contribute in this repo you can add picture for each and every subject and style them accordingly.
Please attach the screenshot of the changes you made.
Happy Coding 😀

okie sure : ) i'll do this .

Is there something I can help with if @prachi0513 has not finished yet?

Hey @prachi0513  are you on it?

Hello! Can I contribute to this repo please?  :)

Hey @saumyasingh203, go for it . The name of the subjects are added choose corresponding picture and give it a card look. Don't forget to share the screenshot while you create PR.
Happy Coding 😀

@Aniket762  okay, on it :)

The subjects haven't been added in the main repository it seems

Also, where do I have to choose the pictures from?

@saumyasingh203 on you

The subjects haven't been added in the main repository it seems

Yes I know . These are the subjects select corresponding picture give it a card look. And then I will merge

@Aniket762
How does it look?

Hey @saumyasingh203 looks great 🤩 it will be great if you can add box shadow for every card and create a PR. Did you do it for electronics sem as well?

Okay I will add shadows too💯
For electronics, not yet, shall I add the subjects by myself in electronics or do you have a list ?

Or do I have to copy the same list as of now?

I have added the same set of subjects for both currently

@SayantanMaiti please add the subjects for electronics sem

@saumyasingh203 great work 😍

@Aniket762
How does it look?

Hey @saumyasingh203 can you create a PR with the changes you made! I will add the subjects for electronics sem. Thanks for contributing

electronic subjects added

@Aniket762
I have to change the names of the subjects right?

@Aniket762
I have to change the names of the subjects right?

You need to add. In 1st semester the students are divided into two halves electrical and electronics. And correspondingly have certain subjects associated. The way you added cover photos for electrical sem subjects in a similar way add for electronics sem.
I hope it's clear  😄

Yes it's clear!  I'm on it  👍

I have added accordingly in electronics!
:)


Page upadted

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Exchange-Deployments-2013/configure-office-365-groups-with-on-premises-exchange-hybrid-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Deployments-2013/create-a-cloud-based-archive-for-an-on-premises-primary-mailbox-in-an-exchange-hybrid-deployment-exchange-online-help.md
:white_check_mark:Succeeded
View

Exchange-Deployments-2013/how-and-when-to-decommission-your-on-premises-exchange-servers-in-a-hybrid-deployment-exchange-2013-help.md
:white_check_mark:Succeeded
View

Exchange-Deployments-2013/performance-factors-and-best-practices-for-hybrid-migrations-exchange-2013-help.md
:white_check_mark:Succeeded
View

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.


Pass this.props.className to className?

Great component!
It doesn't seem to work with styled-components, however...
All that is needed to make react-image-lightbox lightbox compatible with styled-components is for react-image-lightbox to pass this.props.className to className (see this, this and this).
Is this a tweak that could be added?

+1


fix: issues48  setHtml table error

解决合并单元格，setHTML回填，td中style="display:none"被编辑器丢掉的问题，已补充单测

Summary by CodeRabbit

New Features

Enhanced HTML parsing for table cells, introducing a hidden property to manage cell visibility more effectively.

Bug Fixes

Improved handling of cell display logic, ensuring accurate representation of hidden or visible states in table rendering.

Documentation

Updated relevant documentation to reflect changes in cell configuration and visibility handling.

已 check 测试，今晚合并，周末发版 😀


feat: 🎸 cancel ci runs that are currently running on push

See docs here: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#concurrency
Prevents multiple runs of a branch running at the same time

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Hi maniator@, in the description of the PR, would you be able to provide the following details to provide more context?

What is the problem (What was the previous behavior without this change)?
What does this change do (What is the expected/changed behavior)?
What is the gain from this change?

I believe the purpose of this PR is to tag pending/running workflows by their branch, and whenever a contributor triggers another workflow in the same branch, the currently running and pending workflows are cancelled, and the newly triggered workflow will run instead. Is this correct?
Thank you, and we greatly appreciate your contributions!

Hi maniator@, in the description of the PR, would you be able to provide the following details to provide more context?
1. What is the problem (What was the previous behavior without this change)?

2. What does this change do (What is the expected/changed behavior)?

3. What is the gain from this change?

I believe the purpose of this PR is to tag pending/running workflows by their branch, and whenever a contributor triggers another workflow in the same branch, the currently running and pending workflows are cancelled, and the newly triggered workflow will run instead. Is this correct?

Yup that is the idea 💡

Thank you, and we greatly appreciate your contributions!

Hi maniator@, when I am trying to test out the change on my fork, I am facing an error: https://github.com/adebayor123/aws-rum-web/actions/runs/2308985289.
Pulling your repository and even manual edit leads to the same result.

Hi maniator@, when I am trying to test out the change on my fork, I am facing an error: https://github.com/adebayor123/aws-rum-web/actions/runs/2308985289.
Pulling your repository and even manual edit leads to the same result.

Weird
I followed some docs.
I will look in my fork

@adebayor123 Fixed it!
Here is a cancelled workflow due to new changes (on my fork): https://github.com/maniator/aws-rum-web/actions/runs/2319984558
And here is the one that superseded it: https://github.com/maniator/aws-rum-web/actions/runs/2319987514

can see example on this main fork here
Cancelled action: https://github.com/aws-observability/aws-rum-web/actions/runs/2320049866
New action: https://github.com/aws-observability/aws-rum-web/actions/runs/2320060455

The change works now! :-)


Provide docs for the rest of Python spec

[x] 2.1.3. Comments
[x] 2.1.5. Explicit line joining
[x] 2.1.6. Implicit line joining
[x] 2.1.8. Indentation
[x] 2.1.9. Whitespace between tokens
[x] 4. Execution model
[x] 6.1 Arithmetic conversion (add links to EO blocking issues)
[x] 6.14 lambdas
[x] 6.15-17
[x] print

Done


Fix bug with target idenfication

A bug was found while investigating the reason why targets with low signal to noise ratios were not been properly fitted.

Pull Request Test Coverage Report for Build 413

10 of 10 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.05%) to 55.565%

Files with Coverage Reduction
New Missed Lines
%

goodman_pipeline/core/tests/test_check_version.py
2
80.95%

Totals

Change from base Build 412:
0.05%

Covered Lines:
2197

Relevant Lines:
3608

💛  - Coveralls

Pull Request Test Coverage Report for Build 413

10 of 10 (100.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.05%) to 55.565%

Files with Coverage Reduction
New Missed Lines
%

goodman_pipeline/core/tests/test_check_version.py
2
80.95%

Totals

Change from base Build 412:
0.05%

Covered Lines:
2197

Relevant Lines:
3608

💛  - Coveralls


Rename AdapitveDialogBot => AdaptiveDialogManager

Description
AdaptiveDialogBot is not a great name and should simply layer in the DI and capture the opinion for how to initialize the existing DialogManager class.
Specific Changes

DialogManager should implement IBot interface
AdaptiveDialogBot renamed to AdaptiveDialogManager
AdaptiveDialogManager is adaptive opinionated version of DialogManager which uses DI to get resources
No perf regressions (BotStateSet)
No duplicated code (uses base class implementation which is shipping and debugged)
Root dialogs collection still there (for legacy dialog registration)
Naming aligned,
DialogManager =>  AdaptiveDialogManager => ConfigurationAdaptiveDialogManager

Testing

unit tests verified to still pass.  Fix variation in exeception that was introduced as difference from DialogManaager behavior.

public class AdaptiveDialogBotTests

This should be renamed as well

Refers to: tests/Microsoft.Bot.Builder.Dialogs.Adaptive.Tests/AdaptiveDialogBotTests.cs:21 in f11d588. [](commit_id = f11d5885ba11f82591a96d3c8071a21d6f4d2e9c, deletion_comment = False)


Upgrade dependencies to solve security alerts

Closing this draft due to inactivity, feel free to re-open it @ldeflandre whenever you are ready!


TiFlash data inconsistency caused by ALTER TABLE ... EXCHANGE PARTITION

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)

This bug is introduced by "refactoring the DDL framework" https://github.com/pingcap/tiflash/issues/7630 that use TableID mapping instead of creating TiFlash storage instances all the time.
It's slightly different from https://github.com/pingcap/tiflash/issues/8372.
The issue in #8372 is the partition table has been synced to tiflash, but the non-partition table is not synced to tiflash, then execute ALTER TABLE ... EXCHANGE PARTITION immediately.
This case is

The partition table table has been synced to tiflash's table id mapping
The non-partition table has been created and synced to tiflash's table id mapping
But no tiflash replica is added for partition table and non-partition table at this timepoint
Execute ALTER TABLE ... EXCHANGE PARTITION on tidb
Add tiflash replica for the partition table before tiflash's regular schema sync task is run.

This bug would result in the data on the partition is lost but not tiflash queries failed/crash. But when testing, I found the root cause may result in crashes under some cases too.
test case:
# disable schema sync service
>> DBGInvoke __enable_schema_sync_service('false')
>> DBGInvoke __refresh_schemas()
# cleanup
mysql> drop table if exists test.e;
mysql> drop table if exists test.e2;
mysql> drop table if exists test_new.e2;
mysql> drop database if exists test_new;

# case 11, create non-partition table and execute exchagne partition immediately
mysql> create table test.e(id INT NOT NULL,fname VARCHAR(30),lname VARCHAR(30)) PARTITION BY RANGE (id) ( PARTITION p0 VALUES LESS THAN (50),PARTITION p1 VALUES LESS THAN (100),PARTITION p2 VALUES LESS THAN (150), PARTITION p3 VALUES LESS THAN (MAXVALUE));
mysql> insert into test.e values (1, 'a', 'b'),(108, 'a', 'b');
# sync the partition table to tiflash
>> DBGInvoke __refresh_schemas()

mysql> create table test.e2(id int not null,fname varchar(30),lname varchar(30));
# sync the non-partition table to tiflash   <--- required on the master branch
>> DBGInvoke __refresh_schemas()
mysql> insert into test.e2 values (2, 'a', 'b');
mysql> set @@tidb_enable_exchange_partition=1; alter table test.e exchange partition p0 with table test.e2

mysql> alter table test.e set tiflash replica 1;
mysql> alter table test.e2 set tiflash replica 1;
func> wait_table test e e2
>> DBGInvoke __refresh_schemas()
mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.e order by id;
+-----+-------+-------+
| id  | fname | lname |
+-----+-------+-------+
|   2 | a     | b     |
| 108 | a     | b     |
+-----+-------+-------+
mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.e2 order by id;
+-----+-------+-------+
| id  | fname | lname |
+-----+-------+-------+
|   1 | a     | b     |
+-----+-------+-------+

# ensure the swap out table is not mark as tombstone
>> DBGInvoke __enable_schema_sync_service('true')
>> DBGInvoke __gc_schemas(18446744073709551615)
>> DBGInvoke __enable_schema_sync_service('false')
mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.e order by id;
+-----+-------+-------+
| id  | fname | lname |
+-----+-------+-------+
|   2 | a     | b     |
| 108 | a     | b     |
+-----+-------+-------+
mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.e2 order by id;
+-----+-------+-------+
| id  | fname | lname |
+-----+-------+-------+
|   1 | a     | b     |
+-----+-------+-------+

2. What did you expect to see? (Required)
mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.e2 order by id;
+-----+-------+-------+
| id  | fname | lname |
+-----+-------+-------+
|   1 | a     | b     |
+-----+-------+-------+

3. What did you see instead (Required)
mysql> set session tidb_isolation_read_engines='tiflash'; select * from test.e2 order by id;
# return nothing

4. What is your TiFlash version? (Required)
master, 7.5

Details Description:

Create a partition table, logical_table_id=100, partition p0 physical_table_id=101
The partition table id mapping is synced to TiFlash
physical_table_id=101 belongs to logical_table_id=100
logical_table_id=100 belongs to database_id=2
A non-partition table (table_id=222) is created, the table id mapping is synced to TiFlash
table_id=222 belongs to database_id=2
Execute exchange partition immediately, exchange non-partition table_id=222 with physical_table_id=101 (but tiflash does not sync the exchange in time)
Add tiflash replica for both partition table and non-partition table
When tiflash try to decode snapshot for physical_table_id=101, it will fetch the table info of logical_table_id=100
Found that physical_table_id=101 is not belongs to logical_table_id=100 in the latest partition list, the code below will ignore the exception and continue
https://github.com/pingcap/tiflash/blob/5ba01c04abc057f376eb71c8598cab65bc711460/dbms/src/TiDB/Schema/SchemaBuilder.cpp#L1227-L1242
tiflash treat physical_table_id=101 as dropped and ignore decoding the snapshot of it
tiflash sync the exchange DDL and update its table id mapping
tiflash replica become available, but we can not get the data on physical_table_id=101 from tiflash

The main problem is when we want to create a Storage instance

TiDBSchemaSyncer::syncTableSchema first check whether we can find the TableID mapping in memory
If we can find the TableID mapping, then SchemaBuilder::applyTable will fetch the table info from TiKV and try to create the table

https://github.com/pingcap/tiflash/blob/5ba01c04abc057f376eb71c8598cab65bc711460/dbms/src/TiDB/Schema/TiDBSchemaSyncer.cpp#L174-L215
https://github.com/pingcap/tiflash/blob/5ba01c04abc057f376eb71c8598cab65bc711460/dbms/src/TiDB/Schema/SchemaBuilder.cpp#L1203-L1213
However, even if we can find the TableID from the TableID mapping, we can not ensure its freshness. There could be some DDLs has changed the TableID mapping when we really want to create a Storage instance, this could lead to incorrect TableInfo fetched from TiKV. For example:

Rename table to a new database
ALTER TABLE ... EXCHANGE PARTITION that will make a partition to be a non-partition table
alter table ... partition by? (not verified yet)


convert filter.js to typescript

Merge #28189 (the first four commits) first. The last three commits of this PR are the ones relevant to filter.js
This will help with https://github.com/zulip/zulip/pull/26803 and having typescript support for search pills.

@andersk , ready for your review. There are four lines missing codecov that I added for typing-reasons, and I'm curious if you have any advice for them. Thanks!

@andersk passing CI!