double "textDocument/documentHighlight" request

Every time I click on a word "textDocument/documentHighlight" is sent twice:
LSP:  --> textDocument/documentHighlight
LSP:      [{'kind': 2, 'range': {'start': {'line': 1, 'character': 4}, 'end': {'line': 1, 'character': 13}}}]
LSP:  --> textDocument/documentHighlight
LSP:      [{'kind': 2, 'range': {'start': {'line': 1, 'character': 4}, 'end': {'line': 1, 'character': 13}}}]

is this a bug or it's deliberate ?

another thing is that often time, the request is not sent at all, I need to close and reopen the file in order for highlighting to work.

I fixed the behaviour, for some reason the view event listener received two identical selection changed events.
As for the 2nd problem, what language server are you using and can you share a log with a repro (possible the highlight handler crashes?)

I don't think it has something to do with the language server, the problem is with all LS:
There's nothing useful in the log, it doesn't work the first time( doesn't send textDocument/documentHighlight), I close and reopen the file and the request is sent when i click on a word, I can't understand why it does this ?

I noticed that if you click on words too many times (nagging) while the client is starting the LS, highlighting won't work (requests won't be sent) for that file until you close and reopen the file but works fine for other files, can you try and confirm ?

Is this before or after https://github.com/tomv564/LSP/commit/5cc11e8a721a6608d40d642462e241ca98188f34?

that's before, I'm not using the master's version.

I tried here what you describe but I cannot reproduce it. I am using the clangd language server. So, I start up ST and then click on an identifier a few times while LSP is starting up and after that clangd starts up. I get document document highlights.

I suppose that was fixed with  5cc11e8, i will try the master's version and see if it persists.

I cloned the repo to my packages dir and satisfied dependencies but the plugin is not working:
Traceback (most recent call last):
  File "C:\Program Files\Sublime Text 3\sublime_plugin.py", line 116, in reload_plugin
    m = importlib.import_module(modulename)
  File "./python3.3/importlib/__init__.py", line 90, in import_module
  File "<frozen importlib._bootstrap>", line 1584, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1565, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1532, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 584, in _check_name_wrapper
  File "<frozen importlib._bootstrap>", line 1022, in load_module
  File "<frozen importlib._bootstrap>", line 1003, in load_module
  File "<frozen importlib._bootstrap>", line 560, in module_for_loader_wrapper
  File "<frozen importlib._bootstrap>", line 868, in _load_module
  File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed
  File "C:\Users\User\AppData\Roaming\Sublime Text 3\Packages\LSP\boot.py", line 19, in <module>
    from .plugin.rename import *
  File "C:\Users\User\AppData\Roaming\Sublime Text 3\Packages\LSP\plugin\rename.py", line 1, in <module>
    from .core.clients import LspTextCommand
ImportError: cannot import name LspTextCommand

and indeed .core.clients doesn't have a LspTextCommand, is it working for you ?

Working fine for me. Are you sure you cloned it into your Packages directory?

apparently @tomv564 made breaking change in .plugin.rename without realizing it, try pulling the latest changes, It probably will give the same error, anyway I reverted the change (from .core.clients import LspTextCommand => from .core.registry import client_for_view, LspTextCommand) and now it's working, but not the highlighting, unfortunately the bug persists for me, Anyway it's not that annoying, i can live with it :smiley: .

I think this can be closed.

Thanks for the reminder!


⚠ Carbubu has degraded performance

In b8789da, Carbubu (https://carbubu.fr) experienced degraded performance:

HTTP code: 200
Response time: 4265 ms

Resolved: Carbubu performance has improved in 660e31a after 6 minutes.


Need help with font creation methods? XUnity.AutoTranslator

in addition to creating font TMP . Can you guide how to create other fonts? . Example default plugin font of Unity and CCFont.

The only two types of fonts used by the plugin are:

OS installed fonts (Unity default)
TextMesh Pro fonts (Which requires a special asset)

So I am not sure what you mean with default plugin font of Unity or CCFont.

The only two types of fonts used by the plugin are:

OS installed fonts (Unity default)
TextMesh Pro fonts (Which requires a special asset)

So I am not sure what you mean with default plugin font of Unity or CCFont.

Can you show me how to make OS installed fonts (Unity default)?

It's simply fonts that has been installed in your operating system.  For windows under C:\Windows\Fonts. I am not sure which limits there exists to which format Unity supports. But these are the fonts that you should be able to use with the OverrideFont option.
If you specify a font in that option that is not installed, all available fonts will be printed out into the console/log in order to help you choose one that is available and works.

It's simply fonts that has been installed in your operating system. For windows they are located in C:\Windows\Fonts. I am not sure which limits there exists to which font formats Unity supports. But these are the fonts that you should be able to use with the OverrideFont option.
If you specify a font in that option that is not installed, all available fonts will be printed out into the console/log in order to help you choose one that is available and works.

sorry. I still don't understand what you mean. You can guide step by step. As you have guided TMP font with pictures for me ?
Thank you very much

You simply drag a font that you downloaded anywhere online into your C:\Windows\Fonts or right click on it to install it.
Once installed you should be allowed to specify it as a font in the OverrideFont option. If you specify an incorrect name you will get a list printed out to the console of the installed OS fonts that the plugin recognizes.

You simply drag a font that you downloaded anywhere online into your C:\Windows\Fonts or right click on it to install it.
Once installed you should be allowed to specify it as a font in the OverrideFont option. If you specify an incorrect name you will get a list printed out to the console of the installed OS fonts that the plugin recognizes.

thank you


[Spark] Define and use DeltaTableV2.startTransaction helper method

Which Delta project/connector is this regarding?

[x] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[ ] Other (fill in here)

Description
As part of making Delta more catalog-aware (see https://github.com/delta-io/delta/issues/2052), we need to solve two basic problems:

When code calls the TableIdentifier overload of DeltaLog.forTable, the catalog lookup is performed internally and immediately discarded after extracting the table's storage location from it. If the caller needed the catalog info, they are out of luck. Caller can avoid the problem by creating a DeltaTableV2 instead, which already provides both DeltaLog and CatalogTable. To support this use case, we define new helper methods that make this easy to do (especially for unit tests).
Even if we have a DeltaTableV2, there's no convenient way to start a transaction from it, in order to pass along the catalog info. To make it easy for callers to do the right thing, we define new helper methods for starting transactions directly from the DeltaTableV2 itself. When transactions eventually become aware of catalog info, these new helper methods will make a narrow waist that can be enhanced to pass along their catalog info.

How was this patch tested?
Existing unit tests (most changes are anyway in test code).
Does this PR introduce any user-facing changes?
Internal APIs only.

LGTM!


Fixes bug in generic login for clients

Apologies if I am fixing code that you did not intend to release yet; I am writing an application using this library and noticed the client login method does not take effect (requests to Vault are denied).

Nope, that was a good catch! I've been working on implementing OAuth login support which is fairly complicated since I'm having to recreate the way the Vault client does it. I'll finish my changes and then merge this in.


feat: submit descendants when running submit

Not feasible; if a descendant has been merged, the new submit will error, which is quite annoying.

Untrue! Seems this was because it did not call the .sync() method correctly.


get runtime db dialect type

TL;DR: how do I get SQL dialect in my migrations, so that I can adapt queries accordingly?

Hi folks!
First of all, thank you for the awesome Kysely lib. It's a pleasure to work with.
I'm using Kysely in an app that has to work against both MySQL and Postgres.
Consider the following migration that adds an index:
// 012_add_index.ts

import { Kysely } from 'kysely';

export async function up(db: Kysely<any>): Promise<void> {
  await db.schema
    .createIndex('idx__projects__projects_token')
    .on('projects')
    .columns(['projects_token'])
    .execute();
}

export async function down(db: Kysely<any>): Promise<void> {
  await db.schema.dropIndex('idx__projects__projects_token').execute();
}

Now the down function will work in postgres but will throw in MySQL.
MySQL requires the following:
export async function down(db: Kysely<any>): Promise<void> {
  await db.schema
    .dropIndex('idx__projects__projects_token')
    .on('projects')
    .execute();
}

How do I check in migration which dialect db uses to adapt accordingly? Any workarounds?
Thanks,
Andrey

Hey 👋
You can't, by design.
Use an environment variable.

You can then use $call as follows:
await db.schema
  .dropIndex('idx__projects__projects_token')
  .$call((ib) => isMySQL(db) ? ib.on('projects') : ib)
  .execute()

https://kyse.link/YvYol

Awesome, thank you for the recommendations!


ADBDEV-5142: Port the solution for handling outer join distribution

See #888

Failed job Regression tests with Postgres 7: https://gitlab.adsw.io/arenadata/github_mirroring/gpdb/-/jobs/1206085


Weird memory usage of random-find benchmark

The maxrss results of the random-find has some anomalous spikes for unknown reasons:

From IRC:
<squeek502> andrewrk, is it expected that the deflate improvements would lead to a speedup in a lot of the benchmarks (zig-fmt, ast-check-os, etc)?
<andrewrk> mmm I don't think so. there are no dependencies on std lib deflate in the compiler
<squeek502> strange, there's a big spike down at exactly that PR being merged for a lot of benchmarks
<andrewrk> is it around jan 25? that also happens to be the end of the backfill script, so perhaps there was some kind of externality accidentally leaking into the measurements?
<squeek502> ah yeah it is, that makes more sense
<andrewrk> it's most noticeable on Max RSS of random-find
<andrewrk> I have no idea what is happening in this graph
<andrewrk> but the big dip is the end of the backfill script
<andrewrk> ummmm maybe it's the hash table of the records.csv file in the backfill script itself, and we're unintentionally including the parent process memory in the measurement
<andrewrk> so as it goes backwards over time, more measurements collected, more hash table memory
<squeek502> ah that would be interesting, wouldn't explain the CPU instruction count/wall clock/etc dropping though
<andrewrk> agreed, but at least it shows you where the script stopped running
<squeek502> zig-fmt benchmark is the most noticeable for the instruction count/wall clock
<andrewrk> hmm maybe are we accidentally using the (more recent) zig exe that is running the backfill script, instead of using the freshly built zig exe from the relevant commit

I've tried testing the theory that the memory usage of the backfill script itself is being included and I ultimately don't think that's what's happening.
To test this, I added:
    // allocate 100MiB to attempt to skew the results to check if the backfill process is included
    const dummy = try arena.alloc(u8, 100 * 1024 * 1024);
    _ = dummy;

to backfill.zig and then ran the benchmarks once with collect-measurements.zig and then once with backfill.zig for the same commit (e498fb155051f548071da1a13098b8793f527275). Here's the maxrss of random-find for each:

collect-measurements
backfill

2408
2404

Interestingly, values ~2400 were only gotten by any gotta-go-fast benchmarking during the original runs, and it seems like somehow all results since then (most done by the backfill script AFAIK) seem to be getting larger and larger (for no discernible reason, as the benchmark and the hash map implementation haven't changed much in that time). Also, if you look at the graph, there are actually quite a few of these mini-spikes which are also presumably in line with where the backfill script was run previously.
So, no clue what's going on here still, but hopefully I've narrowed it down slightly. Will probably try running the backfill script locally with just random-find next, and seeing if I can reproduce the increasing maxrss results.

Can't seem to reproduce it when just running random-find:

maxrss
timestamp
benchmark_name
commit_hash
commit_timestamp
zig_version

2408
1654218527
random-find
288e89b606b46328a5ab358b2eef2c5dc277bc8f
1654127128
0.10.0-dev.2472+288e89b60

2408
1654218803
random-find
a4cdb49a58f62776b73ad873b25243e65ac29266
1654124353
0.10.0-dev.2471+a4cdb49a5

2404
1654219072
random-find
b82cccc9e9b2230097f81fecec12ac0fdae97518
1654123401
0.10.0-dev.2464+b82cccc9e

2408
1654219344
random-find
b095aa6986badc3b8c2255ad2c824ca4ea9959d9
1654117558
0.10.0-dev.2463+b095aa698

2408
1654219617
random-find
de14fba2478019ba6070407502b422d349ebf754
1654109580
0.10.0-dev.2462+de14fba24

2408
1654219893
random-find
69323fc1432146bf166175060dea9d0248dbeba4
1654107559
0.10.0-dev.2461+69323fc14

2404
1654220171
random-find
cbb806da6e0b8f2f4d0d12ca57618c291acfa0c0
1654062999
0.10.0-dev.2460+cbb806da6

maxrss is consistent across commits for me locally. Will try running the full set of benchmarks to see if somehow memory usage is leaking across different benchmarks or something.

To test this, I added:

Note that you need to poke every page (i.e. memset all the bytes) otherwise it won't count towards the RSS.

Note that you need to poke every page (i.e. memset all the bytes) otherwise it won't count towards the RSS.

Changed the added code to:
    // allocate 100MiB to attempt to skew the results to check if the backfill process is included
    var dummy = try arena.alloc(u8, 100 * 1024 * 1024);
    std.mem.set(u8, dummy, 1);
    std.debug.print("last byte is {}\n", .{dummy[dummy.len - 1]});

and verified that the last byte is 1 was printed.
Still got the same result: 2404 maxrss for find-random when using the backfill script.

Ok, finally got something. I downloaded the records.csv from ziglang.org/perf, deleted the entries for e498fb155051f548071da1a13098b8793f527275 and then ran:
$ZIG run collect-measurements.zig -- records-upstream.csv $ZIG $COMMIT_SHA1 $COMMIT_TIMESTAMP

for e498fb155051f548071da1a13098b8793f527275 and random-find had a reported maxrss of 11272
So, it's the collect-measurements.zig memory usage that's being included, and it's increasing based on the size of the csv file.

This seems to be the relevant note from getrusage(2):

Resource usage metrics are preserved across an execve(2).

I've been trying to measure the max_rss of some very small, hand-crafted assembly programs, and ran into the same issue with getrusage(2)!
Although what I've been doing is unrelated here, this might be a good read for you: https://jkz.wtf/random-linux-oddity-1-ru_maxrss since it mentions parts of the linux source where the metrics are maintained.


added missing import

The code demo in the README invokes the Tube class but doesn't show where it came from. Haven't tried it, but pretty sure that demo code would throw a RuntimeError. If Tube actually doesn't need to be imported to be used (i.e. the demonstration is correct), it might be worth commenting how that works.

Yeah, I forgot to add it when I copied the code from may test case.


Not supported by mobile browsers?

I put the example html into my server, on the pc chrome it could be loaded and run successfully, but on the mobile browser like safari or chrome, it can't be loaded, just black

Over at https://github.com/htv04/htv04.github.io/ we are working on fixing it. Works on all browsers so far except for audio

I wrote a website, which can be well displayed on my mobile phone.
yikm.net

I can load ROMs successfully, it's a problem on the path of my ROM file


Likes counter

Feature request-
Like the comments counter, add a likes counter to each post
Describe how this feature will be useful to our readers.
Improves user experience and motivates bloggers to post more.

Note:

Do mention if your are working under GSSoC'21.
If you want to work on an issue, you should check if it has already been assigned to anyone. If the issue is free you can comment /assign to get the issue assigned to you.
If you are raising a new issue and want to work on it then also you should comment /assign under the issue to get it auto assigned.
Please refrain from adding labels to your issue/pull-request on your own. It is the job of the Project Admin and the Mentors to review your issue/pull-request and add labels accordingly.
According to the level of the issue, respective time will be allotted under which the task needs to be completed/resolved by the assigned person. If the issue is not resolved within the given time, it will be assigned to the next person. In case of any discrepancies, the decision of the maintainer will be final.

level - 0: 2 days
level - 1: 3 days
level - 2: 4 days
level - 3: 5 days

/assign

Should I also show number of likes here :

near the number of comments

Should I also show number of likes here :

near the number of comments

Yes


Introspection for existing Prisma 1 databases

This is a tracking issue for supporting introspection against database from existing Prisma 1 projects.
We could even think about having a dedicated CLI command since this feature will mostly be used during upgrade processes, so we might consider adding something like a prisma2 upgrade that picks up an existing prisma.yml and performs the introspection automatically.

Right now it looks like we will focus on introspecting Prisma1 databases directly from SQL, so no prisma.yml support or similar will be provided. But we have to test this and make sure our Introspection actually like P1 SQL databases.

Next step: @divyenduz creates a DB server with all the P1 schemas we have.

We have the required server/infra to test any Prisma 1 schemas easily now. Please contact me internally to find out how that can be done :)

@janpio what is the action item on this one? We already have all the P1 schemas that I am aware of in our system. IMO this can be closed.

Action Item: Test 1-x Prisma 1 schemas and see if everything is introspected correctly.

@janpio Is there any further action item on this one?

It depends on what we want to offer as an upgrade path. Yesterday @janpio had the idea of an upgrade flow where we first use additional information from the Prisma 1 datamodel that doesn't manifest in the database schema (e.g. @default values or  @updatedAt) and add it to the DB schema so that it can be picked up by Prisma 2 introspection.
It's of course a capacity question but I'd be very much in favor of providing an upgrade path that is able to factor in information from the Prisma 1 datamodel (however that's done in the end), otherwise upgrading will probably become a huge pain for existing Prisma 1 users.

This is being discussed off GitHub now. We will come up with a plan here soon.

Another thing to consider is that currently join tables are show when introspecting a P1 database. I don't know if this is also the case with P2 but it would be nice if they were abstracted away again :)

This should not be the case any more @williamluke4 with the current alpha - can you try and confirm that ?

I can confirm that it no longer shows join tables

Closing this in favor of https://github.com/prisma/prisma/issues/1937
Please subscribe to #1937 to stay up to date on P1 -> P2 upgrade scenarios.


Reduced space betwen search and services

Please assign issue #884, "Reduced Space Between Search and Services," to me. I am well-versed in HTML, CSS, and JavaScript and have a proven track record of resolving similar design and layout issues. With my attention to detail and prior experience, I am confident in delivering a timely and effective solution. Thank you for considering my request.

Hey  i want to work on this issue

Dear @codervivek5 ,
I kindly request your approval for Pull Request #889, titled "Reduced Space Between Search and Services." This change aims to enhance the user experience in 'VizyBag' by reducing excess spacing. The code is thoroughly tested, and your approval to merge it would greatly benefit the project. Your consideration is much appreciated.
Thank you.
Best regards,
Abhishek Sahay


proxy: add SIGTERM and SIGQUIT handlers

When the proxy is run in a Docker container, it runs as PID 1, with
no default signal handlers setup. In order to react to signals from
Kubernetes about shutting down, we need to set up explicit handlers.
This adds handlers for SIGTERM and SIGQUIT in unix environments.
Closes #549

It was my suggestion to support SIGQUIT and, now that i actually look up what i was thinking, i'm entirely wrong. Sorry about that.
I meant SIGINT -- i'm not sure that it's necessary to explicitly handle SIGINT, but it would be congruous with other conduit components.
#; doe ~/b/conduit  (master ✔)
:; rg SIGTERM
web/main.go
53:	signal.Notify(stop, os.Interrupt, syscall.SIGTERM)

controller/cmd/public-api/main.go
39:	signal.Notify(stop, os.Interrupt, syscall.SIGTERM)

controller/cmd/destination/main.go
36:	signal.Notify(stop, os.Interrupt, syscall.SIGTERM)

controller/cmd/tap/main.go
36:	signal.Notify(stop, os.Interrupt, syscall.SIGTERM)

controller/cmd/proxy-api/main.go
36:	signal.Notify(stop, os.Interrupt, syscall.SIGTERM)

controller/cmd/telemetry/main.go
37:	signal.Notify(stop, os.Interrupt, syscall.SIGTERM)

Sorry for leading you astray, @seanmonstar

I approved this without realizing we'd removed #430 from the 0.4.0 milestone. I think this is fine to land in 0.4.0 early, especially because the existing behavior is really annoying, but I doubt we should ship this in 0.4.0 because it breaks rolling deployments. I'll comment in #430 to the same effect.

I doubt we should ship this in 0.4.0 because it breaks rolling deployments.

It does? But, if as you said, the user has configured the pods such that we aren't PID 1, then this behavior happens anyways, right?
When Kubernetes signals to terminate, does it already remove all inbound routing to the container? If not, then those incoming requests will just be dropped once the SIGKILL is sent...

@briansmith Does this break rolling deployments worse than today? I'd be surprised if it does (since we're not draining requests today). If anything, it should help the rollout go more quickly.

Updated with windows support.

since we're not draining requests today

My understanding is that we receive SIGTERM, ignore it, and keep processing requests like normal. Eventually Kubernetes will send us less and less traffic (assuming Kuberentes updates the EndPoints API results right away to indicate the pods aren't available any more) and so we'd at least drain the request queue to some extent during the time we're waiting.

This adds handlers for SIGTERM and SIGQUIT in unix environments.

Please update the commit message when merging to reference SIGINT and remove the qualification "in unix enviornments."

OK, so is it preferable to make this configurable on, or just merge?

I think it's fine to merge it as-is. I've added #430 to the 0.4.0 milestone so that we can separately resolve if and how much we want to address it before the release.


How can i upload to  uploads

i am trying to upload photo to upload file but i am not abling to do this
here is my uploading code
######### start upload photo############
   public $upload_foler ='banner';

    public function upload($model,$attribute){
        $photo  = UploadedFile::getInstance($model, $attribute);
          $path = $this->getUploadPath();
        if ($this->validate() && $photo !== null) {
            $fileName = md5($photo->baseName.time()) . '.' . $photo->extension;
            //$fileName = $photo->baseName . '.' . $photo->extension;
            if($photo->saveAs($path.$fileName)){
              return $fileName;
            }
        }
        return $model->isNewRecord ? false : $model->getOldAttribute($attribute);
    }

    public function getUploadPath(){
        return Yii::getAlias(''@uploads').'/'.$this->upload_foler.'/';
    }

    public function getUploadUrl(){
        return Yii::getAlias('@uploads').'/'.$this->upload_foler.'/';
    }

    public function getPhotoViewer(){
      return empty($this->photo) ? Yii::getAlias('@uploads').'/img/none.png' : $this->getUploadUrl().$this->photo;
    }
    ###### finish upload photo ######

so what my alias must be from which i can upload my photo?

Im not sure but would want you to check
public function getUploadPath(){
return Yii::getAlias(''@uploads').'/'.$this->upload_foler.'/';
}
You got double quote before @uploads
I changed it to
public function getUploadPath(){
return Yii::getAlias('@uploads').'/'.$this->upload_foler.'/';
}
And it worked for me.


Tray icon looks blurry and menu is not styled on some platforms / DEs

Aknowledgements

[X] I have checked that there's no other issue describing the same or
similar problem that I currently have, regardless if it has been
closed or open.

[X] I can confirm that this is not an issue with the Discord website,
but it is a problem specific to the WebCord itself.

[X] I have tried running the build from the master branch and it does
not have any fixes implemented according to my issue.

[ ] My issue describes one of the unstable and/or not fully implemented
features.

[ ] I have found a workaround to mitigate or temporarily fix this issue
(please write it in Additional context section).

Operating System / Platform
🐧 Linux
Operating system architecture
x64 (64-bit Intel/AMD)
Electron version
19.0.6
Application version
v3.3.0
Bug description
The Tray Icon looks pretty Bad under KDE:

The Left One is Discord and the right one is Webcord
Also the Tray Menu for the App looks bad, this is Discord:

and This is Webcord

Additional context
System Info
OS: Fedora 36
DE: KDE 5.94
QT-Version: QT 5.15.3
Graphic-Platform: Wayland

Are you using Flatpaks? If so, that might be because of sandboxing that Flatpaks applies, probably making WebCord not using the system GTK theme (Electron apps currently don't use QT AFAIK). Also in case of Flatpak packaging, you should know that Flathub repository is maintained by the community, not by me. See #116.
If you're using Flatpaks, I would advise you to try RPM in order to confirm if that will help with styling the menu.

As of the blurry icon, it could be because of the file format I use (PNG) and depending on how tray icons resized, their quality might be different on different distributions / desktop enviroments and platforms (it doesn't look well on Windows as well). And to compare it with Discord's icon, it greatly differs with the size of the icon (64x64 pixels on WebCord vs 24x24 pixels on Discord), which seems to confirm that using the smaller icon size could give the better results in your case. However, I want to keep the tray icon size as large as possible in order to make it look great even on screens with higher pixels density (HiDPI). That's why I think of using the format like ICO in order to pack different icon sizes inside the same file, possibly making it look better  when downscaled on some distributions / desktop enviroments.

switching to rpm fixed it :+1:

switching to rpm fixed it 👍

I guess the icon is no longer blurry as well... Is that right?
In that case, maybe open a new issue on the Flathub repository?

Yea, fixed Both, I will open a Issue on the Flathub repo later on


touch devices fires sorting twice

Tested on iPad. Events are stored in array and looped through when fired. That caused that sorting is fired twice. Changing following worked for me: sortable.js line 15
clickEvents = ['touchstart']; // instead of pushing event to array

I can confirm this issue both on iOS and Android devices. Seems like a critical issue that should be fixed? I hacked it like this:
$('.sortable-container th').on('touchstart', function(e){
  e.preventDefault();
});

Confirming that the problem still exists as of 9/7/2017. @hynekk and @mjau-mjau's solutions solved the issue for me.

This problem is caused by having both touchstart and click as event triggers. Rather than preventDefault, comment out the code that adds touchstart or the click.
What's needed is when a touchstart is detected, click should be removed as an event trigger. Touchstart is more reliable on phones and tablets; and touchstart is faster (on touch) while click is on release.


Saving image as png using imwrite

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D435i

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
Win10

Kernel Version (Linux Only)
(e.g. 4.14.13)

Platform
PC.

SDK Version
{ legacy / 2.. }

Language
{opencv }

Segment
{Robot/Smartphone/VR/AR/others }

Issue Description
<Describe your issue / question / feature request / etc..>
I am trying to save image streams and IMU using callback function.
I am using threads with a blocking queue to save data without any loss.
So when push data into queue there is a lock and pop from queue there is a lock too.
Interestingly, some of color images I got look like

Some of them is good but I got weird images(above case there is unsynched area at the line) such like that when I saved data while moving.
Is there any suggestion?
p.s. In the recorded Ros bag using viewer, there are no results like that.

I haven't worked with the IMU and not sure what language you are working in, but #4934 has code to save the color frames as .png, depth as matrices, and to not have frame drops.

You can save depth frames as 16-bit png. Here is C++ code:
std::vector<int> compression_params;
compression_params.push_back(CV_IMWRITE_PNG_COMPRESSION);
compression_params.push_back(0); // lossless, the number is 0-9, the most data will be lost at 9 (lightest), none at 0 (heaviest)

std::string dateTime;
timeStamp(dateTime, "");

cv::imwrite(dateTime + ".png", image_full, compression_params); // save filename as date
cv::Mat image_full_saved = cv::imread("fileName.png", CV_LOAD_IMAGE_ANYDEPTH);

Hi @hojunson Do you have further question on this?

No. Closing is fine Thanks.
2019년 10월 28일 (월) 오후 11:19, RealSense Customer Support <
<EMAIL_ADDRESS>작성:

Hi @hojunson https://github.com/hojunson Do you have further question
on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/4982?email_source=notifications&email_token=AFY4LCJYMLH23FFI4TSN44TQQ6TU3A5CNFSM4I5WLUEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECPDEYQ#issuecomment-547238498,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFY4LCMD6JZ533LNGD2NNLLQQ6TU3ANCNFSM4I5WLUEA
.


Loader does not work with IE11

I'm having trouble getting the loader to work with IE11,

ERROR TypeError: Unable to get property 'get' of undefined or null reference

Stepping through it reveals that this.http is undefined here:
TranslateHttpLoader.prototype.getTranslation = function (lang) {
    return this.http.get("" + this.prefix + lang + this.suffix)
        .map(function (res) { return res.json(); });
};

The same code works fine for half my team, suggesting that it's a race condition. I suspect that it's related to https://github.com/angular/angular/issues/15501 (which I found after reading through this issue), but I'm not sure.

It seems to work OK if I build in prod mode, ng serve --prod or ng build --prod. I suspect this is related to JIT v. AOT

I managed to resolve this by including the es6 function polyfill:
import 'core-js/es6/function';

The polyfill turned out to be unrelated. This seems to be a race condition. My team ended up moving our translateService.setDefaultLang(...) call into a resolver of our eldest component, which makes that code run late enough. It's not a "fix", but it helped me get past this issue.
path: '', component: AppContainerComponent, resolve: [TranslateResolverService], children: [ ...

export class TranslateResolverService implements Resolve<any> {
  resolve(): Observable<any> {
  this.translateService.addLangs(["en", "es"]);
  this.translateService.setDefaultLang('en');

@adamdport can you elaborate a little more on your fix? I'm trying to match it but when i pull in the translateService to the routes resolver i can't get it to work with this and it doesn't bring in it's functions

In the resolver service,
import {TranslateService} from "@ngx-translate/core";
...
constructor(private translateService: TranslateService ...){ ... }
...
resolve(): Observable<any> {
  let translateObservable: Observable<any>;

  this.translateService.addLangs(["en", "es"]);
  this.translateService.setDefaultLang('en');
  translateObservable = this.translateService.use(browserLang.match(/en|es/) ? browserLang : 'en');
  this.ourCustomLoaderService.loadJsonFile('/assets/i18n/en.json').subscribe((jsonProperties) => {
    this.translateService.setTranslation("en", jsonProperties, true);
  });

Hope that helps, it's been awhile.


develop -> master after 2.13.6 release

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

retest this, please


proposal: crypto/tls: allow registration of additional key exchanges

The driver behind this proposal is the flurry of activity relating to post-quantum cryptography. NIST published its round 2 candidates, bringing the field down to a manageable size. Early adopters are implementing these promising candidates and even using them in production (typically in "hybrid mode" with a classical algorithm).
Allowing users to define their own TLS ciphersuites would help in this effort. Currently, forking crypto/tls would be required to register additional suites.
In terms of changes, I would propose making the keyAgreement interface public and offering a function  to insert additional entries into the cipherSuites variable (as a bare minimum). I'd be happy to provide some more detailed design suggestions, if there's any appetite for this idea.

There is no chance of doing this for TLS 1.2, because everything is way too interconnected. Adding a new key exchange method is likely to touch too much of the code. In TLS 1.3, maybe?
I'm assuming this is about key exchanges and not cipher suites, since the latter in TLS 1.3 are just stuff like "AES and SHA-2", which is not what the PQC proposals are focusing on.
I might be convinced by showing how a small, useful API would look like, but I can't think of one myself. It should come with examples of how it can be used to implement multiple unsupported key exchanges, because I do not want to have to add a new one in 6 months.

Yes, this is mostly about registering new key exchange algorithms. Although one still needs to declare ciphersuites that use those algorithms.
I will whip up a prototype fork of crypto/tls with a minimal set of changes, so we can review the design.

It should come with examples of how it can be used to implement multiple unsupported key exchanges, because I do not want to have to add a new one in 6 months.

I'm hopeful on this front. Projects such as liboqs (and their openssl fork) have made minor changes that subsequently support any PQ KEM. I will attempt to demonstrate my proposed changes allow the 'dropping in' of Go variants of these KEMs, were they to exist.

In TLS 1.3, the cipher suites are not bound to the key exchanges. That's why I would want this to focus on TLS 1.3, if it gets done.
Rather than a fully implemented fork, please start by proposing an API (with docs) here, like https://github.com/golang/go/issues/30325#issuecomment-483863377. It keeps the discussion in one place, it's easier to review, it focuses on the important part and saves you work in the first iterations.

@FiloSottile  How about an interface to represent a key exchange mechanism for a private named group:
// A KeyExchangeHandler implements a TLS 1.3 key exchange mechanism.
type KeyExchangeHandler interface {

	// GenerateClientKeyShare initiates the key exchange and returns the client key
	// share. The returned context will be passed to ProcessServerKeyShare,
	// allowing the client to retain state (such as ephemeral keys) during the exchange.
	GenerateClientKeyShare() ([]byte, ClientKeyExchangeContext, error)

	// ProcessClientKeyShare is called by the server to process the share from
	// the client. It generates (or deduces) the TLS secret and returns this, along with
	// its own share, which is sent to the client.
	ProcessClientKeyShare(clientKeyShare []byte) (secret, serverKeyShare []byte, err error)

	// ProcessServerKeyShare uses the server key share and the previously generated
	// context to deduce the TLS secret, which is returned.
	ProcessServerKeyShare(serverKeyShare []byte, ctx ClientKeyExchangeContext) ([]byte, error)
}

Implementations could be provided as a new field of tls.Config. Here we take a mapping from private CurveIDs to KeyExchangeHandlers.
type Config struct {
	 // ...

	// KeyExchangeHandlers provide TLS 1.3 key exchange implementations
	// for private named groups. The CurveIDs must be from the ecdhe_private_use range
	// (see RFC 8446 section 4.2.7). To enable these private groups, include their
	// CurveID in the CurvePreferences field.
	KeyExchangeHandlers map[CurveID]KeyExchangeHandler
}

This interface is broad enough to allow the sort of KEMs being defined by the NIST competition to easily plug in. For instance, here's the blueprint for implementing a KEM:

GenerateClientKeyShare (called at the client) would call the KEM key generation  function, returning the public key as the key share result and storing the secret key in the context.
ProcessClientKeyShare (called at the server) would called the KEM encapsulation function (which generates a random secret and encapsulate this using the client's public key).
ProcessServerKeyShare (called at the client) would decapsulate the encrypted secret, using the secret key stored in the context.

This approach would also allow for hybrid schemes:

GenerateClientKeyShare could generate ECDHE parameters and concatenate these with the post-quantum public key.
ProcessClientKeyShare would also generate ECDHE parameters and return these, along with the encapsulated post-quantum secret.
ProcessServerKeyShare would derive the EC key along with decapulating the post-quantum secret. How these two values are combined to create the overall secret is for the implementer to decide.

If we can agree on a suitable public API, then I can post further on how the innards of the package might need to change to support it.

Hi @FiloSottile - any thoughts on the design proposed above?

I've continued work on this, current implementation: https://github.com/thales-e-security/go/tree/go1.12.5_private_key_exchanges. As the name implies, this is forked from the go.1.12.5 tag.
Changes vs 1.12.5: https://github.com/golang/go/compare/go1.12.5...thales-e-security:go1.12.5_private_key_exchanges.
Versus the original design discussed above, there are minor changes. Most notable is the removal of the ClientShareContext type. Since the context would need to be stored within the handshake structs, it made more sense to just store the key exchange itself. The name of the interface and fields also changes a little.

While I absolutely see the value of experimenting with post-quantum key exchanges, I think such experimentation belongs in forks, and doesn't need to be first-class supported in the standard library. The proposed API surface would not be trivial, and exposes inner workings that the average application does not need to access.
As time goes on we might even directly implement some hybrids, but that can be an implementation detail hidden away from the public API.

Based on the discussion above and the lack of activity, this seems like a likely decline.

No change in consensus, so declining.


Feature/amp 276 UI performance improvement

Maybe we should add some loading state to show that something happens?)


Indicate width and height params are being passed to onContentSizeChange.

I had to do a little trial and error to find this out. Would be helpful to have it in the docs.
I'm not sure if there's a standard wording or format you prefer for indicating handler function params.

By analyzing the blame information on this pull request, we identified @janicduplessis and @nicklockwood to be potential reviewers.

@joshuapinter updated the pull request.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Folding comment space

This is not an issue, but a feature request.  Currently, when the comments are hidden, the space they occupied remains.  I'd love it if that blank space was folded and then the spot was just identified with a 1 or 2 character mark, like ** or --.
Or another option could be, rather than hiding, just fold the comments.  Then all multi-line comment blocks and successive single line comments could be folded and unfolded at once.

Thanks @mark1502 for this suggestion. I was looking for this feature as well, and I support this request fully.
Here are some additions/clarifications:

In the version I'm currently using (v1.6.0), the lines are already folded when they start with the "\" comment tags.
However, if there are some spaces before the "\" tags (such as when comments are inline with some code), then the lines are not folded. The comments are hidden, the the blank lines remain.
It would be nice if these lines were folded too.

This would be nice to have. To actually hide the space below hidden comments as well. Currently, my code has a lot of empty space and it's hard to read

Here is my sample code and regex I use to hide it

I came here just to comment this issue. Sorry if someone commented exactly what I'm about to say, but English is not my first language and I might not have understood it correctly. I think the appropiate behaviour to implement this should be:
> Multiline comment or multiple one line comments together are found
Is there text before the comment's beginning in the first line?
└ Yes - collapse comment to the first line
└ No - Is there a line before the first line?
---└ Yes - collapse comment to the line previous to the first one
---└ No - collapse comment to the first line
Java example:

Extended

1 /* comment that cannot be
2 collapsed to the line 0 */
3 public class Example { /* Multiline
4 comment */
5     public static void main(String args[]){
6        // Multiple single
7        // line comments
8         System.out.println("Hello world!")
9     }
10 }

Hidden (current behaviour)

1
2
3 public class Example {
4
5     public static void main(String args[]){
6
7
8         System.out.println("Hello world!")
9     }
10 }

Collapsed

1 ···
3 public class Example { ···
5     public static void main(String args[]){ ···
8         System.out.println("Hello world!")
9     }
10 }


browser dataset ribosome profiling

User survey

integrate ribosome profiling data from Mata
potential uORFs detected/confirmed by mass-spec in ncRNAs)

A couple of people also independently requested ribo-seq tracks in column BQ (rows 236 and 631)

see https://github.com/pombase/website/issues/1441


Change interpreter to SOML

At first, i would like to say that this extension is awesome! Great job here!
I am opening this issue more as a suggestion than as a issue. I have found another interpreter on NPM, that i think could be added as a dependency on the package.json file, making the library work out of the box whitout depending on the interpreter being installed or not on the user's machine.
This is the link to the library:
https://www.npmjs.com/package/@sosml/interpreter
Is that a good suggestion? It would make the extension bigger, but would also make installation easier. There is a tradeoff here.
I have not tested the library, but i really think it could work.
If you think that it doesn't make sense for the extension, feel free to close this issue, but if you think that it is a good idea, let me know please, and i can contribute with that implementation

Hi @RanderGabriel, thank you so much.
About your suggestion, currently it there already exists an extension that uses the SOSML. See here.
But I'm thinking a way to install the interpreter at the same time to the extension. I also have felt the same think about the necessity to install the interpreter separately. Thank you so much again!


Does not build - implicit SWANK dependency

I get a failure today with this message:
READ error during COMPILE-FILE: Package SWANK does not exist

https://github.com/BradWBeer/CLinch/blob/master/clinch.lisp#L53 refers to swank, but swank isn't in the :depends-on list of the system.

More context here: http://report.quicklisp.org/2015-04-27/failure-report/clinch.html#clinch

I removed the offending function. I don't think clinch should rely on
swank. Thanks for for your patience.
On 04/28/2015 07:24 AM, Zach Beane wrote:

More context here:
http://report.quicklisp.org/2015-04-27/failure-report/clinch.html#clinch
—
Reply to this email directly or view it on GitHub
https://github.com/BradWBeer/CLinch/issues/45#issuecomment-97025800.

No problem. Just one more thing...
; caught WARNING:
;   Duplicate definition for MASS-SET-CYLINDER-TOTAL found in  one file.
;   See also:
;     The ANSI Standard, Section <IP_ADDRESS>

That's from clode/bindings.lisp.

I'll fix it as soon as I get home.
On Apr 28, 2015 8:40 AM, "Zach Beane"<EMAIL_ADDRESS>wrote:

That's from clode/bindings.lisp.
—
Reply to this email directly or view it on GitHub
https://github.com/BradWBeer/CLinch/issues/45#issuecomment-97048212.

Fixed.
On 04/28/2015 08:39 AM, Zach Beane wrote:

No problem. Just one more thing...
|; caught WARNING:
;   Duplicate definition for MASS-SET-CYLINDER-TOTAL found in  one file.
;   See also:
;     The ANSI Standard, Section <IP_ADDRESS>
|
—
Reply to this email directly or view it on GitHub
https://github.com/BradWBeer/CLinch/issues/45#issuecomment-97048158.

Had the same problem with dBodySetLinearVel and dCreateCylinder.

Doh! Well, I fixed them too.
On 04/28/2015 09:48 PM, Zach Beane wrote:

Had the same problem with dBodySetLinearVel and dCreateCylinder.
—
Reply to this email directly or view it on GitHub
https://github.com/BradWBeer/CLinch/issues/45#issuecomment-97281953.


Develop a Business App Using SAP Business Application Studio

Tutorial URL: https://developers.sap.com/tutorials/appstudio-cap-app.html
Step 1: Create new CAP project
The text was changed from "New project from template" to "Create project from template". Also the Screenshot needs to be changed:

Also the template name was changed from "CAP Project" to "@sap/cap":

HI,
I will update the Welcome page screenshot, but the project is still called CAP Project.
Can you tell me which landscape you are using?

Thank you for your feedback. We haven't heard from you in a while, so we are closing the issue.
If you still have questions, feel free to reopen the issue.

The Screenshot wasn't changed yet. And as you see in the screenshot the template name is "@sap/cap Project"

Hi @Paolaufer,
now I know how to get the template that is named "CAP Project", I have to install the generator @sap/generator-cap-project:

The screenshot I've posted initially is from a freshly started dev space.
Best regards
Gregor


Vendor data present in the most recent release

Hey there,
My name is Maciej Mensfeld and I run security & quality assessment for OSS libraries using WhiteSource https://Diffend.io.
While reviewing the changes for this lib, I noticed, that the vendor directory is being included.
Is this needed? It wasn't there previously. Usually, it's added by mistake and causes:
a) confusion
b) problems when tracking changes
c) extensive library size
0.2.0 is now 38 times bigger than 0.1.3
A lot of Ruby code seems to be committed: in vendor/bundle/ruby/3.0.0/
ref: https://rubygems.org/gems/rails_mini_profiler
If the presence of vendor data is valid I would love the reasoning. Thanks!

Wow that was quick!

Thanks for raising this issue!
Definitely not intended. Do you have a hint why including vendor in the spec files like so would result in a bundle folder being included there as well? Not really sure where that would be coming from :sweat_smile:
spec.files = Dir['{app,config,db,lib,public,vendor}/**/*', 'MIT-LICENSE', 'Rakefile', 'README.md']

In any case, I'll publish a new release ASAP :)

Do you have a hint why including vendor in the spec files like so would result in a bundle folder being included there as well?

No idea ;) I look for anomalies and do my best to report them to the maintainers but the reasons, why things happen, are harder for be to figure out. I can look into that tomorrow if you need help though.


[BUG] Generated code produces code with error "Expected an identifier" in v2.13.1, was OK in v2.12.2.

Describe the bug
Got following error message on generated code:
[SEVERE] json_serializable on lib/services/api/generated/m_office_bing_locations_query_api.swagger.dart:

line 412, column 62 of .: Expected an identifier.
    ╷
412 │ final  Map<String, dynamic>  $params = <String, dynamic>{'id$': id$, 'assetId': assetId, 'loggedTime': loggedTime, 'limit': limit, };
    │                                                              ^
    ╵

To Reproduce
Swagger used in this code generation:
m_office_bing_locations_query_api.swagger.txt
Expected behavior
I want the code generation to produce flawless code as it did in v2.12.2.
Swagger specification link
Link to swagger/OpenApi documentation
Library version used:
v2.13.1
Additional context
Add any other context about the problem here.

Pinning version to v2.12.2 until fixed (or explained)!

Hi @RoarGronmo , thanks for raising. Will take a look at it this week

@RoarGronmo  fixed, published 2.13.2 :)

Sorry, but I checked again, and this time I got this error:
[SEVERE] json_serializable on lib/services/api/generated/m_office_bing_locations_query_api.swagger.dart:

UnimplementedError: (InvalidTypeImpl) InvalidType

It seems that it "skips" the generation or storing of the corresponding "g" file.
As you see in the picture below, the m_office_bing_locations_query_api.swagger.dart is missing its m_office_bing_locations_query_api.swagger.g.dart counterpart.

tried resetting flutter by flutter clean and resyncing afterwards, but it didn`t sort out...
reverting to v2.12.2 until resolved or explained.

@RoarGronmo fixed. Will publish new version soon


Signup with google

Implementa o registro via google api

I've prepared a stage to preview changes. Open stage or view logs.


Remove s390x, powerpc64le from RELEASE_PLATFORMS

Things have changed with release-2.0. In particular,

Release automation only creates amd64 binaries for darwin, linux, and windows.
Continuous integration no longer runs on powerpc64le or s390x
Given we’re not producing release artifacts for those two platforms and we are not performing automated tests in CI for them, we can remove the references from the build process.

If we get to the point where we want to/need to release or test on these platforms again, this will force us to re-evaluate the required changes at that time. This is a good thing as it will prevent us from carrying baggage that we don’t understand.

do you want to keep the ppc64 build tags still?

do you want to keep the ppc64 build tags still?

No. Just removed them.


iOS 14 - Days are shifted by one day

(Required) Version Number: 8.0.3
Description
Days in iOS 14 are shifted by one day. I am the only one facing this issue?
Steps To Reproduce

Expected Behavior
Today is (29th of September) is Tuesday but the iOS 14 shows it as Wednesday.
Additional Context
Everything is OK for iOS 13

What do you have set as the first day of the week?  is it monday?

It was the default value. After I set it to .monday it was ok


doom install fails with an unexpected error

What did you expect to happen?
clone ... into ~/emacs.d
call ~/.emacs.d/bin/doom install
What actually happened?
tom1 ~ $ ls -al $DOOMDIR
insgesamt 16
drwxr-xr-x  2 tom1 gtom  4096 16. Feb 19:16 .
drwxrwxr-x 66 tom1 gtom 12288 16. Feb 19:16 ..
tom1 ~ $
tom1 ~ $ emacs --version
GNU Emacs 28.0.91
Copyright (C) 2022 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.

tom1 ~ $ which emacs
/data/EMACS28/bin/emacs

tom1 ~ $
tom1 ~ $ ~/.emacs.d/bin/doom install
> Installing straight...
  > Cloning use-package...
x There was an unexpected error
  Message: Symbol's value as variable is void
  Error: (void-variable )
  Backtrace:
    (eval-buffer #<buffer  *load*-287303> nil "/data/EMACS28/share/emacs/28.0....
    (load-with-code-conversion "/data/EMACS28/share/emacs/28.0.91/lisp/emacs-l...
    (require comp nil t)
    (eval-buffer #<buffer  *load*-127900> nil "/home/tom1/.emacs.d/core/cli/pa...
    (load-with-code-conversion "/home/tom1/.emacs.d/core/cli/packages.el" "/ho...
    (load "/home/tom1/.emacs.d/core/cli/packages" nil nomessage)
    (let (file-name-handler-alist) (load (expand-file-name "cli/packages" "/ho...
    (condition-case e (let (file-name-handler-alist) (load (expand-file-name "...
    (eval-buffer #<buffer  *load*-95984> nil "/home/tom1/.emacs.d/core/core-cl...
    (load-with-code-conversion "/home/tom1/.emacs.d/core/core-cli.el" "/home/t...
! Extended backtrace logged to .emacs.d/.local/doom.error.log
x There was an unexpected error
  Message: Error in Doom Emacs core
  Error: (doom-error "cli/packages.el" (no-catch exit 255))
  Backtrace:
    (signal doom-error ("cli/packages.el" (no-catch exit 255)))
    (let* ((source (file-name-sans-extension target)) (err (cond ((not (featur...
    (doom--handle-load-error (no-catch exit 255) "/home/tom1/.emacs.d/core/cli...
    (condition-case e (let (file-name-handler-alist) (load (expand-file-name "...
    (eval-buffer #<buffer  *load*-95984> nil "/home/tom1/.emacs.d/core/core-cl...
    (load-with-code-conversion "/home/tom1/.emacs.d/core/core-cli.el" "/home/t...
    (require core-cli)
    (eval-buffer #<buffer  *load*> nil "/home/tom1/.emacs.d/bin/doom" nil t)
    (load-with-code-conversion "/home/tom1/.emacs.d/bin/doom" "/home/tom1/.ema...
    (load "/home/tom1/.emacs.d/bin/doom" nil t t)
! Extended backtrace logged to .emacs.d/.local/doom.error.log
No catch for tag: exit, 255

contend of  .local/doom.error.log:
$ cat .emacs.d/.local/doom.error.log
# -*- lisp-interaction -*-
# vim: set ft=lisp:

(doom-error "cli/packages.el")

(signal doom-error ("cli/packages.el" (no-catch exit 255)))

(let* ((source (file-name-sans-extension target)) (err (cond ((not (featurep 'core)) (cons 'error (file-name-directory path))) ((file-in-directory-p source doom-core-dir) (cons 'doom-error doom-core-dir)) ((file-in-directory-p source doom-private-dir) (cons 'doom-private-error doom-private-dir)) ((cons 'doom-module-error doom-emacs-dir))))) (signal (car err) (list (file-relative-name (concat source ".el") (cdr err)) e)))

(doom--handle-load-error (no-catch exit 255) "/home/tom1/.emacs.d/core/cli/packages" "/home/tom1/.emacs.d/core")

(condition-case e (let (file-name-handler-alist) (load (expand-file-name "cli/packages" "/home/tom1/.emacs.d/core") nil 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "cli/packages" "/home/tom1/.emacs.d/core") "/home/tom1/.emacs.d/core")))

(eval-buffer #<buffer  *load*-95984> nil "/home/tom1/.emacs.d/core/core-cli.el" nil t)

(load-with-code-conversion "/home/tom1/.emacs.d/core/core-cli.el" "/home/tom1/.emacs.d/core/core-cli.el" nil t)

(require core-cli)

(eval-buffer #<buffer  *load*> nil "/home/tom1/.emacs.d/bin/doom" nil t)

(load-with-code-conversion "/home/tom1/.emacs.d/bin/doom" "/home/tom1/.emacs.d/bin/doom" nil t)

(load "/home/tom1/.emacs.d/bin/doom" nil t t)

(command-line-1 ("-scriptload" "/home/tom1/.emacs.d/bin/doom" "--" "install"))

(command-line)

(normal-top-level)

sorry there is no "doctor" or "info" possible
Describe your attempts to resolve the issue
No response
Steps to reproduce
simply try to install doom a la manual
System Information
not callable because doom doesn't install
System is an uptodate archlinux, + self compiled emacs 28  with --prefix=/data/EMACS28

I cannot reproduce this. It seems like an issue with the Emacs installation. Try to install it as is, without your custom --prefix. Then delete ~/.emacs.d, reclone it, and run doom install again.

with a fresh compiled emacs 28 in standard location ... same result
om1 ~ $ git clone https://github.com/hlissner/doom-emacs  ~/.emacs.d
Klone nach '/home/tom1/.emacs.d'...
remote: Enumerating objects: 109840, done.
remote: Counting objects: 100% (2851/2851), done.
remote: Compressing objects: 100% (522/522), done.
remote: Total 109840 (delta 2440), reused 2397 (delta 2329), pack-reused 106989
Empfange Objekte: 100% (109840/109840), 26.23 MiB | 960.00 KiB/s, fertig.
Löse Unterschiede auf: 100% (77438/77438), fertig.
tom1 ~ $ which emacs
/usr/local/bin/emacs
tom1 ~ $ emacs --version
GNU Emacs 28.0.91
Copyright (C) 2022 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
tom1 ~ $ cd .emacs.d
tom1 ~/.emacs.d $
tom1 ~/.emacs.d $ ./bin/doom install
> Installing straight...
  > Cloning use-package...
x There was an unexpected error
  Message: Symbol's value as variable is void
  Error: (void-variable )
  Backtrace:
    (eval-buffer #<buffer  *load*-299172> nil "/usr/local/share/emacs/28.0.91/...
    (load-with-code-conversion "/usr/local/share/emacs/28.0.91/lisp/emacs-lisp...
    (require comp nil t)
    (eval-buffer #<buffer  *load*-49106> nil "/home/tom1/.emacs.d/core/cli/pac...
    (load-with-code-conversion "/home/tom1/.emacs.d/core/cli/packages.el" "/ho...
    (load "/home/tom1/.emacs.d/core/cli/packages" nil nomessage)
    (let (file-name-handler-alist) (load (expand-file-name "cli/packages" "/ho...
    (condition-case e (let (file-name-handler-alist) (load (expand-file-name "...
    (eval-buffer #<buffer  *load*-35028> nil "/home/tom1/.emacs.d/core/core-cl...
    (load-with-code-conversion "/home/tom1/.emacs.d/core/core-cli.el" "/home/t...
! Extended backtrace logged to .local/doom.error.log
x There was an unexpected error
  Message: Error in Doom Emacs core
  Error: (doom-error "cli/packages.el" (no-catch exit 255))
  Backtrace:
    (signal doom-error ("cli/packages.el" (no-catch exit 255)))
    (let* ((source (file-name-sans-extension target)) (err (cond ((not (featur...
    (doom--handle-load-error (no-catch exit 255) "/home/tom1/.emacs.d/core/cli...
    (condition-case e (let (file-name-handler-alist) (load (expand-file-name "...
    (eval-buffer #<buffer  *load*-35028> nil "/home/tom1/.emacs.d/core/core-cl...
    (load-with-code-conversion "/home/tom1/.emacs.d/core/core-cli.el" "/home/t...
    (require core-cli)
    (eval-buffer #<buffer  *load*> nil "/home/tom1/.emacs.d/bin/doom" nil t)
    (load-with-code-conversion "/home/tom1/.emacs.d/bin/doom" "/home/tom1/.ema...
    (load "/home/tom1/.emacs.d/bin/doom" nil t t)
! Extended backtrace logged to .local/doom.error.log
No catch for tag: exit, 255
tom1 ~/.emacs.d $ cat .local/doom.error.log
# -*- lisp-interaction -*-
# vim: set ft=lisp:

(doom-error "cli/packages.el")

(signal doom-error ("cli/packages.el" (no-catch exit 255)))

(let* ((source (file-name-sans-extension target)) (err (cond ((not (featurep 'core)) (cons 'error (file-name-directory path))) ((file-in-directory-p source doom-core-dir) (cons 'doom-error doom-core-dir)) ((file-in-directory-p source doom-private-dir) (cons 'doom-private-error doom-private-dir)) ((cons 'doom-module-error doom-emacs-dir))))) (signal (car err) (list (file-relative-name (concat source ".el") (cdr err)) e)))

(doom--handle-load-error (no-catch exit 255) "/home/tom1/.emacs.d/core/cli/packages" "/home/tom1/.emacs.d/core")

(condition-case e (let (file-name-handler-alist) (load (expand-file-name "cli/packages" "/home/tom1/.emacs.d/core") nil 'nomessage)) ((debug doom-error) (signal (car e) (cdr e))) ((debug error) (doom--handle-load-error e (expand-file-name "cli/packages" "/home/tom1/.emacs.d/core") "/home/tom1/.emacs.d/core")))

(eval-buffer #<buffer  *load*-35028> nil "/home/tom1/.emacs.d/core/core-cli.el" nil t)

(load-with-code-conversion "/home/tom1/.emacs.d/core/core-cli.el" "/home/tom1/.emacs.d/core/core-cli.el" nil t)

(require core-cli)

(eval-buffer #<buffer  *load*> nil "/home/tom1/.emacs.d/bin/doom" nil t)

(load-with-code-conversion "/home/tom1/.emacs.d/bin/doom" "/home/tom1/.emacs.d/bin/doom" nil t)

(load "/home/tom1/.emacs.d/bin/doom" nil t t)

(command-line-1 ("-scriptload" "./bin/doom" "--" "install"))

(command-line)

(normal-top-level)

Are tar and gzip installed on your system?

tom1 ~/.emacs.d $ which tar
/bin/tar
tom1 ~/.emacs.d $ which gzip
/bin/gzip
tom1 ~/.emacs.d $ tar --version
tar (GNU tar) 1.34
Copyright © 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Geschrieben von John Gilmore und Jay Fenlason.
tom1 ~/.emacs.d $ gzip --version
gzip 1.11
Copyright (C) 2018 Free Software Foundation, Inc.
Copyright (C) 1993 Jean-loup Gailly.
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <https://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.

Written by Jean-loup Gailly.

backtrace from $ emacs --debug
tom1 ~ $ cat backtrace.emacs
Debugger entered--Lisp error: (file-missing "Cannot open load file" "Datei oder Verzeichnis nicht gefunden" "/home/tom1/.emacs.d/.local/autoloads.28.0.91")
  load("/home/tom1/.emacs.d/.local/autoloads.28.0.91" nil nomessage)
  (condition-case e (load (string-remove-suffix ".el" doom-autoloads-file) nil 'nomessage) ((debug file-missing) (if (locate-file doom-autoloads-file load-path) (signal 'doom-autoload-error e) (signal 'doom-error (list "Doom is in an incomplete state" "run 'doom sync' on the command line to repair it")))))
  (progn (setq doom-init-p t) (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing Doom" 0 5 (face font-lock-comment-face)))))) (let ((--dolist-tail-- '(exec-path load-path))) (while --dolist-tail-- (let ((var (car --dolist-tail--))) (set-default var (get var 'initial-value)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (condition-case e (load (string-remove-suffix ".el" doom-autoloads-file) nil 'nomessage) ((debug file-missing) (if (locate-file doom-autoloads-file load-path) (signal 'doom-autoload-error e) (signal 'doom-error (list "Doom is in an incomplete state" "run 'doom sync' on the command line to repair it"))))) (if doom-debug-p (doom-debug-mode 1)) (if (and (or (display-graphic-p) (daemonp)) doom-env-file) (progn (progn (set-default 'process-environment (get 'process-environment 'initial-value))) (doom-load-envvars-file doom-env-file 'noerror))) (require 'core-modules) (autoload 'doom-initialize-packages "core-packages") (eval-after-load 'package #'(lambda nil (require 'core-packages))) (eval-after-load 'straight #'(lambda nil (doom-initialize-packages))) (if noninteractive nil (add-hook 'after-change-major-mode-hook #'doom-run-local-var-hooks-maybe-h 100) (add-hook 'hack-local-variables-hook #'doom-run-local-var-hooks-h) (add-hook 'emacs-startup-hook #'doom-load-packages-incrementally-h) (add-hook 'window-setup-hook #'doom-display-benchmark-h) (doom-run-hook-on 'doom-first-buffer-hook '(find-file-hook doom-switch-buffer-hook)) (doom-run-hook-on 'doom-first-file-hook '(find-file-hook dired-initial-position-hook)) (doom-run-hook-on 'doom-first-input-hook '(pre-command-hook)) (add-hook 'doom-first-buffer-hook #'gcmh-mode)))
  (if (or force-p (not doom-init-p)) (progn (setq doom-init-p t) (if doom-debug-p (progn (let ((inhibit-message (active-minibuffer-window))) (message #("DOOM Initializing Doom" 0 5 (face font-lock-comment-face)))))) (let ((--dolist-tail-- '(exec-path load-path))) (while --dolist-tail-- (let ((var (car --dolist-tail--))) (set-default var (get var 'initial-value)) (setq --dolist-tail-- (cdr --dolist-tail--))))) (condition-case e (load (string-remove-suffix ".el" doom-autoloads-file) nil 'nomessage) ((debug file-missing) (if (locate-file doom-autoloads-file load-path) (signal 'doom-autoload-error e) (signal 'doom-error (list "Doom is in an incomplete state" "run 'doom sync' on the command line to repair it"))))) (if doom-debug-p (doom-debug-mode 1)) (if (and (or (display-graphic-p) (daemonp)) doom-env-file) (progn (progn (set-default 'process-environment (get 'process-environment 'initial-value))) (doom-load-envvars-file doom-env-file 'noerror))) (require 'core-modules) (autoload 'doom-initialize-packages "core-packages") (eval-after-load 'package #'(lambda nil (require 'core-packages))) (eval-after-load 'straight #'(lambda nil (doom-initialize-packages))) (if noninteractive nil (add-hook 'after-change-major-mode-hook #'doom-run-local-var-hooks-maybe-h 100) (add-hook 'hack-local-variables-hook #'doom-run-local-var-hooks-h) (add-hook 'emacs-startup-hook #'doom-load-packages-incrementally-h) (add-hook 'window-setup-hook #'doom-display-benchmark-h) (doom-run-hook-on 'doom-first-buffer-hook '(find-file-hook doom-switch-buffer-hook)) (doom-run-hook-on 'doom-first-file-hook '(find-file-hook dired-initial-position-hook)) (doom-run-hook-on 'doom-first-input-hook '(pre-command-hook)) (add-hook 'doom-first-buffer-hook #'gcmh-mode))))
  doom-initialize()
  eval-buffer(#<buffer  *load*> nil "/home/tom1/.emacs.d/init.el" nil t)  ; Reading at buffer position 2221
  load-with-code-conversion("/home/tom1/.emacs.d/init.el" "/home/tom1/.emacs.d/init.el" t t)
  load("/home/tom1/.emacs.d/init" noerror nomessage)
  #f(compiled-function (filename-function &optional alternate-filename-function load-defaults) "Load a user init-file.\nFILENAME-FUNCTION is called with no arguments and should return\nthe name of the init-file to load.  If this file cannot be\nloaded, and ALTERNATE-FILENAME-FUNCTION is non-nil, then it is\ncalled with no arguments and should return the name of an\nalternate init-file to load.  If LOAD-DEFAULTS is non-nil, then\nload default.el after the init-file, unless `inhibit-default-init'\nis non-nil.\n\nThis function sets `user-init-file' to the name of the loaded\ninit-file, or to a default value if loading is not possible." #<bytecode -0x1b68e15ad9d4c342>)(#f(compiled-function () #<bytecode 0x10bcd0baabc4b91d>) #f(compiled-function () #<bytecode -0x1f3c686ddc0cdc35>) t)
  apply(#f(compiled-function (filename-function &optional alternate-filename-function load-defaults) "Load a user init-file.\nFILENAME-FUNCTION is called with no arguments and should return\nthe name of the init-file to load.  If this file cannot be\nloaded, and ALTERNATE-FILENAME-FUNCTION is non-nil, then it is\ncalled with no arguments and should return the name of an\nalternate init-file to load.  If LOAD-DEFAULTS is non-nil, then\nload default.el after the init-file, unless `inhibit-default-init'\nis non-nil.\n\nThis function sets `user-init-file' to the name of the loaded\ninit-file, or to a default value if loading is not possible." #<bytecode -0x1b68e15ad9d4c342>) (#f(compiled-function () #<bytecode 0x10bcd0baabc4b91d>) #f(compiled-function () #<bytecode -0x1f3c686ddc0cdc35>) t))
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0x10bcd0baabc4b91d>) #f(compiled-function () #<bytecode -0x1f3c686ddc0cdc35>) t)
  command-line()
  normal-top-level()

file-missing "Cannot open load file" "Datei oder Verzeichnis nicht gefunden" "/home/tom1/.emacs.d/.local/autoloads.28.0.91"

This happens because doom install didn't complete. Try doom sync. Will likely end up the same though.

tom1 ~/.emacs.d $ which tar
/bin/tar
tom1 ~/.emacs.d $ which gzip
/bin/gzip

Can you repro this if you install the package via pacman (emacs) or the AUR (emacs-git), rather than compiled yourself?

I assume emacs28 has to be configured with "--with-native-compilation" which i supressed because of library version conflicts esp. libgccjit 11.2.0-2 few days ago. Reinstalled now the libgccjit, compiled emacs as mentioned above installed emacs in a nonstandard location as before and the doom install is currently working...
Thanks for your patience Hendrik, i think the issue can be closed

Please don't close this without adding appropriate notes in the documentation. Nothing in this issue's solution is "obvious" to anyone. I would love to use doom emacs but I keep into this issue and I don't quite know the config options that my Emacs need to built with for Doom to work.


Sharing custom image

I have come across a little pickle. Everything works fine and dandy. However, a client wants a gallery and share the specific image what is currently open in lightbox. That open image should be also the image what appears on the share link. I have been searching for a solution to no avail. Is there a solution I have missed or something? Basically, I need to pass the image parameter somehow.

Hi, only PinIt has the option to specify an image that should be shared (for PinIt the image is the content).
Facebook, Twitter, Linkedin, Googleplus etc. do not take an image as argument but they fetch the image themselves: first they trying to use the og:image metatag and if that is not found they will try the first available image with minimum size requirements.
So if you want to share a specific image on your page then you should have a og:image metatag for that image on your page.
generating metatags is not part of this script.

@Ruud68, thanks for the great answer!

It seems possible to share specific image on your site to social medias by using jssocials.
I've tried to upload images to a specific folder into the site (cpanel) and changed its permission to 755.
By using jssocials, specify the url to the image, eg: www.test.com/testfolder/test.jpg
with this, able to share the image on facebook as a link.


False positive in "The opening parenthesis ( on line {n} is not closed."

$ cat /tmp/ohh.py
(
    for i in 1, 2, 3:
        if i > a:
            a = i
)

gives me:
$ python -m friendly /tmp/ohh.py

╭─────────────────────────────────────────────────────────────────────────────────────────────────── Traceback ───────────────────────────────────────────────────────────────────────────────────────────────────╮
│ Traceback (most recent call last):                                                                                │
│   File "/tmp/ohh.py", line 2                                                                                │
│     for i in 1, 2, 3:                                                                                │
│     ^                                                                                │
│ SyntaxError: invalid syntax                                                                                │
│                                                                                │
│ A SyntaxError occurs when Python cannot understand your code.                                                                                │
│                                                                                │
│ Python could not understand the code in the file '/tmp/ohh.py' at the location indicated by ^.                                                                                │
│                                                                                │
│        1: (                                                                                │
│     -->2:     for i in 1, 2, 3:                                                                                │
│               ^                                                                                │
│        3:         if i > a:                                                                                │
│        4:             a = i                                                                                │
│        5: )                                                                                │
│                                                                                │
│ The opening parenthesis ( on line 1 is not closed.                                                                                │
│                                                                                │
│ 1: (                                                                                │
│    ^                                                                                │
│                                                                                │
│ If this is incorrect, please report this case.                                                                                │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

The issue is more like "You can't use a Python instruction inside a Python expression, here you tried to use a for instruction inside parenthesis, where you can only have expressions. Maybe you wanted a list-comprehension?", but I bet this is particularly non-trivial to match though...

Here is what I could have, with similar wording for list/(dict or set) comprehension based on the unclosed bracket.
> python -m friendly_traceback ignore.py

Traceback (most recent call last):
  File "ignore.py", line 2
    for i in 1, 2, 3:
    ^
SyntaxError: invalid syntax

    A `SyntaxError` occurs when Python cannot understand your code.

    Python could not understand the code in the file
    'ignore.py'
    at the location indicated by ^.

       1: (
    -->2:     for i in 1, 2, 3:
              ^
       3:         if i > a:
       4:             a = i
       5: )

    The opening parenthesis `(` on line 1 is not closed.

        1: (
           ^

    Perhaps you wrote a `for` loop beginning a code block
    intended to be part of a generator expression.
    You cannot have separate code blocks inside generator expressions.

    If this is incorrect, please report this case.

What do you think?

Version committed:
> python -m friendly_traceback ignore.py

Traceback (most recent call last):
  File "ignore.py", line 2
    for i in 1, 2, 3:
    ^
SyntaxError: invalid syntax

    A `SyntaxError` occurs when Python cannot understand your code.

    Python could not understand the code in the file
    'ignore.py'
    at the location indicated by ^.

       1: (
    -->2:     for i in 1, 2, 3:
              ^
       3:         if i > a:
       4:             a = i
       5: )

    Perhaps you wrote a statement beginning a code block
    intended to be part of a generator expression.
    You cannot have separate code blocks inside generator expressions.

    If this explanation is incorrect, please report this case.

Yes I like it that way, thanks!


Fix Gossipsub seenTTL value

PR Description
Gossipsub seenTTL should be 550 heartbeat intervals not 550ms.  Works out to more like 6.4 minutes which will remove a lot more duplicates from having to be processed.
Documentation

[x] I thought about documentation and added the documentation label to this PR if updates are required.

Also will reduce the size of IWANT messages and resulting IHAVE verifications which might (likely) account for even more of the load
From gossipsub spec:

On receiving an IHAVE(ids) message, the router will check its seen cache. If the IHAVE message contains message IDs that have not been seen, the router will request them with an IWANT message.

For reference, how other clients configure this value:
Prysm:
https://github.com/prysmaticlabs/prysm/blob/56fd535dd53ae005d689c6d23b9c508b30919750/beacon-chain/p2p/pubsub.go#L123
https://github.com/libp2p/go-libp2p-pubsub/blob/89f61abf299aeb209e3293034da7a0b7b318f404/pubsub.go#L258
Lighthouse:
https://github.com/sigp/lighthouse/blob/46a06069c605842111d68b85b3e9aeea1974e202/beacon_node/eth2_libp2p/src/config.rs#L146

Nimbus apparently only sets it to only 2 minutes. Not as small as half a second, but not spec either.
See:
Init: https://github.com/status-im/nim-libp2p/blob/a9948b0b05334cbd9ee6376ff72112e0099797d2/libp2p/protocols/pubsub/gossipsub.nim#L1328
Inner init: https://github.com/status-im/nim-libp2p/blob/a9948b0b05334cbd9ee6376ff72112e0099797d2/libp2p/protocols/pubsub/floodsub.nim#L189
CC @zah


add noremap=true

some people will remap ':' to ';' and vice verse (or other similar bindings), in such case runnable would not be able to run.

Thanks for the PR!


Self-nomination as content subteam contributor

In keeping with the Paketo Buildpacks Governance document, I am self-nominating as a contributor to the content subteam.
I will be working with @fg-j as part of the website redesign initiative and have, in the past, contributed documentation updates.

I approve this nomination! @kvedurmu or @ForestEckhardt , can I get a +1?

@fg-j I believe @kvedurmu is an emeritus maintainer so you are good to move on.

@andymoe has been added to the Content Contributor team and has those permissions. This can be closed.


#13931: Implement index fill

Ticket
Link to Github Issue: https://github.com/tenstorrent/tt-metal/issues/13931
Problem description
tt-metal currently does not support the exact version of index fill operation in pytorch
What's changed
I implemented index fill operation to support exactly like pytorch. (Having input_tensor, index_tensor, dim, value).
Added tests to cover cases:

All dimension will be tested to fill
Int and float will be tested accordingly with bfloat16, float32, int32 data type
Shapes of both multiple and not multiple of 32

Checklist

[x] Post commit CI passes
[x] Blackhole Post commit (if applicable) - NA
[x] Model regression CI testing passes (if applicable) - NA
[x] Device performance regression CI testing passes (if applicable) - NA
[x] New/Existing tests provide coverage for changes

@yugi957 can you have a look at this. I think you were looking at Fill. Might not be exactly the same but can be useful.

Are there any other changes that I need to make before merging? @TT-BrianLiu

@yugi957 FYI


Link is not opening

Describe the bug
This domain is available for sale!

Hey @Ernest2026 ! thanks for the alert.
We've changed the link in the repo to the corresponding host.


Create inverted index for primary search in Theme Drawer

Create an inverted index of the default styles.
Allow search to pull from it similar to how CSS variables work.
Build a drop down (autocomplete type functionality) that shows those results by option and how many.
User clicks a result to scroll to the correct location in the options list.

Not sure I'm going to implement this. I like the way it works now. Still leaving it open to see if anyone else wants it.


Strange problem with firefox

Hi,
if I use chrome to get/remove a token everything works as expected.

I subscribe
If I check the instance infos using iid.googleapis.com/iid/info/ i get the expected results
If send a message it is correctly delivered
After unsubscribing if I check again the instance info i correctly get "No information found about this instance id"
5)If send a message I correctly get "NotRegistered" failur error.

But doing the same with firefox give me a strange behavior...

The same as chrome
The same as chrome
The same as chrome
I'm NOT getting the expected "No information found about this instance id" but I'm getting "{"attestStatus":"UNKNOWN","application":"webpush","scope":"","authorizedEntity":"xxxxxxxxxx","platform":"ANDROID"}". This is exactly the same I get when the device is subscribed. And why android?
The same as chrome.
Why I'm not getting "No information found about this instance id" at point 4?

@Ciao121 can you please provide more info on "if I check again the instance info i correctly get" - what exactly are you doing to get "instance info"?

@gauntface I'm doing a request to https://iid.googleapis.com/iid/info/IID_TOKEN as I found here: https://developers.google.com/instance-id/reference/server

Something similar is happening also sending a message.
If I have two browser (chrome and Firefox) that revoked the permission to send a message, when I try to send a message I get failure (on both).
But if I use "dry_run":true (to just test without sending) when I try the revoked chrome token as receiver I get "failure" and "NotRegistered". But if I try the revoked firefox token as receiver I get "success".

Something similar is happening also sending a message with dry_run.
If I have two browser (chrome and Firefox) that revoked the permission to send a message, when I try to send a message I get failure (on both).
But if I use "dry_run":true (to just test without sending) when I try the revoked chrome token as receiver I get "failure" and "NotRegistered". But if I try the revoked firefox token as receiver I get "success".

This is likely due to Chrome using Firebase as the browser push service, where as Firefox uses Mozilla Auto-push.
This means that when you are using FCM to send to a Firefox browser - FCM can determine if everything "should work" vs "not work" but without actually attempting to send a push message, it won't know if there is an issue (i.e. the push subscription is no longer valid) until it actually attempts to send a message and Mozilla Autopush responds with an error.
This is likely the reason for both these differences.

Very clear! Thank you!

I think FCM should explicitly say that the answer is "could or should work"... also if "could or should work" means nothing :)
Or, better, when a dry_run request is receivd ask the Mozilla autopush if the client is subscribed and return a precise answer.

Sorry: What about this portion of the question?

I'm NOT getting the expected "No information found about this instance id" but I'm getting {"attestStatus":"UNKNOWN","application":"webpush","scope":"","authorizedEntity":"xxxxxxxxxx","platform":"ANDROID"}. This is exactly the same I get when the device is subscribed. And why android?

Why is the device token registered using Firefox being set as android as opposed to webpush? This has implications, because if I send a message configured with multiple platform fields (e.g., webpush, android, apns all in a single message), Firefox receives the Android data payload, whereby I'm expecting the WebPush payload. @samtstern


ooniprobe-cli: 3.16.3 -> 3.16.4

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/ooni/probe-cli/releases.
meta.description for ooniprobe-cli is: "The Open Observatory of Network Interference command line network probe"
meta.homepage for ooniprobe-cli is: "https://ooni.org/install/cli"
meta.changelog for ooniprobe-cli is: ""
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.16.4 with grep in /nix/store/sssais5lqbgnqk4ikwrk89qfdlxgafdd-ooniprobe-cli-3.16.4
found 3.16.4 in filename of file in /nix/store/sssais5lqbgnqk4ikwrk89qfdlxgafdd-ooniprobe-cli-3.16.4

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

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
ooniprobe-cli

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/sssais5lqbgnqk4ikwrk89qfdlxgafdd-ooniprobe-cli-3.16.4 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/sssais5lqbgnqk4ikwrk89qfdlxgafdd-ooniprobe-cli-3.16.4
ls -la /nix/store/sssais5lqbgnqk4ikwrk89qfdlxgafdd-ooniprobe-cli-3.16.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

ooniprobe-cli

Maintainer pings
cc @dotlambda for testing.

Would be nice to have a NixOS module to automate probing.


Protect master branch

As it turns out, the master branch of this repository is not protected, and should probably be.
This issue tracks the addition of branch protections for master.

Done. Rules match Duffle.


fix: Treats mcc and mnc as text instead of numbers

Description
The network slice creation modal use to consider MCC's and MNC's starting with zero's as invalid. This PR fixes this problem by considering those entries as text instead of numbers.
Fixes #196
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code.
[ ] I have made corresponding changes to the documentation.
[ ] I have added tests that validate the behaviour of the software.
[ ] I validated that new and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

i don't see any validation about the characters that can be used over the mcc and mnc. What happens if we make mcc=abc ?

Agreed, fixed


Add Conan badge

Yoga is available on Conan, please add the badge to the readme:
[![Conan Center](https://img.shields.io/conan/v/yoga)](https://conan.io/center/recipes/yoga)

I could see how this would be useful for users of Yoga who get it from e.g. Conan or vcpkg.
The downside is that, since we don’t interface with the mirrors ourselves, we wouldn’t directly be able to help someone who might come to this repo if package needs update.
I think we could document these, but with something to distinguish from services we directly publish to.


Add elevator

Will add a robot elevator subsystem and commands and would be more organized then the draft.
Edit: Grammar mistakes.

@guy-av pls review


build: use gcc for zoneinfo

Otherwise FreeBSD's cc (clang 16 for example) might
issue warnings for non-ANSI prototypes.

This is a quick fix for #5

Wouldn't it be better to declare the functions at the top of the file or in a header?
That way, it'll build with whatever compiler.

I'm going to close this PR, as commit d8533040deeb6f149527042206c3ae7e9db3e19e enables changing the host compiler with the HOST_CC make variable.
I will keep issue #5 open so we can track that the zoneinfo executables can be built with clang16.


Python 3.9 regression

Hello. Python 3.9 regression (probably) in speedtest-cli utility.

bug report
backtrace

Some assumption that this comes from xml.etree.ElementTree https://bugs.python.org/issue36543.

This seems to have been fixed in https://github.com/sivel/speedtest-cli/commit/81bba6070c9069f8770212f119232d0622ddb111


Almost never receiving answers through RF after "acks"

So when I'm sending a command to RFDATA through RF, I always receive the ack (sometimes several times, as I'm in range of multiple TX Igates) but most of the time I don't get the actual answer. They are correctly sent to APRS-IS (as can be seen on aprs.fi) but they are not gated to RF somehow.
One hypothesis might be that if the ack and the actual answer are sent simultaneously, the ack gets gated through RF as it comes first, but the answer is skipped as the Igate is already busy transmitting the ack.

Hey! Sorry I missed this - I've been busy with work and not had chance to keep an eye on things. I'll take a look!

Hmm - interesting. I've actually seen this happen too, and I wonder if your hypothesis is right. One of the reasons RFDATA doesn't listen for acks back is because the packet sending is pretty much just fire-and-forget, but I've had vague plans for a while to move this off to a queue that handles them a bit better, and I'm wondering if as part of that I can delay sending packets for a short while.


Rolling back doesn't reset hasManyFragments fields with Ember Data Beta 12

Hello, it looks like properties within hasManyFragments objects aren't being reset during a rollback. We are using ember data beta 12 so this may be the cause of the problem.
The project's tests pass with beta 7 but when I update to beta 12 there are several test failures which seem related to the issue.
It's possible this is caused by breaking changes in Beta 12 related to observing the model's data property described here.
Here's a link to a JSbin showing the problem.

I read on this PR that the fix for this will only support ED 1.14(.1) . Any updates on the timing of this fix?

I am currently in the process of publishing a fix, hold tight.

v0.2.4 is now compatible with ED >= v.1.0.0-beta.14, thanks @igorT.

thank you!


feat: Support for getLayout in generated _app.tsx

Is your feature request related to a problem? Please describe.
Hi Yall. I've been trying to implement layouts on my T3 app and I've run into some issues integrating it with the way next recommends in their documentation.
https://nextjs.org/docs/basic-features/layouts
I've tried integrating this with my app, and while I can get it working in isolation, the particularities of the custom types involved gets very complex very quickly, and generally falls apart when I try and reintegrate trpc and nextauth as set up in ct3a.
Overall this is a fairly painful and frustrating experience for less experienced typescript developers that requires understanding what the types are doing here to solve.
Describe the solution you'd like to see
I'd propose that the generated _app.tsx file in ct3a supports exported pages including a getLayout function, and wraps the component in the layout per the Next.JS docs.
Describe alternate solutions
We could wait for app router to be fully supported which has a much more powerful and sane layout system. Julius recommended this approach in another issue.
I would argue that if someone who knows what they're doing could take a look at this, it could be a quick job, and would save newer developers a lot of pain. Maybe someone knows better than me that app router is coming soon so it's not worth it, but the linked issue is more than 6 months ago and I see a few recent bumps asking for a solution.

type NextPageWithLayout = NextPage & {
  getLayout?: (page: React.ReactElement) => React.ReactNode;
};

type AppPropsWithLayout = AppType & {
  Component: NextPageWithLayout;
  pageProps: { session: Session | null };
};

const MyApp = ({
  Component,
  pageProps: { session, ...pageProps }
}: AppPropsWithLayout) => {
  const getLayout = Component.getLayout ?? (page => page);

....

Rykuno's code looks about right. We have this in some of tRPC's examples but I don't think we're really using them post-setup 😓

Closing this as we're getting closer to the app dir option and I don't think we want to make this change for pages


Typo in Powershell script name

In the section titled "Configure certificates for use with the NPS extension by using a PowerShell script", the powershell script mentioned in step 3 is written as .\AzureMfsNpsExtnConfigSetup.ps1. Should be .\AzureMfaNpsExtnConfigSetup.ps1.

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

ID: bf322e2b-b09c-2a09-2b0d-27de43075953
Version Independent ID: c82153d8-7449-09e7-bd8f-328eb9fd8d74
Content: Integrate VPN with Azure MFA by using the Network Policy Server extension - Azure Active Directory
Content Source: articles/active-directory/authentication/howto-mfa-nps-extension-vpn.md
Service: active-directory
Sub-service: authentication
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@ianc911
Thanks for your feedback! We will investigate and update as appropriate.

@ianc911 thanks for catching this! I have made a pull request here: https://github.com/MicrosoftDocs/azure-docs-pr/pull/73549
In the future feel free to make your own pull request when you find these sorts of small fixes.

Thanks. Not sure how to make a pull req. Your link gets a 404…
From: Marilee Turscak - MSFT<EMAIL_ADDRESS>Sent: Wednesday, April 17, 2019 10:21 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Ian Campbell<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Typo in Powershell script name (#29590)
@ianc911https://github.com/ianc911 thanks for catching this! I have made a pull request here: MicrosoftDocs/azure-docs-pr#73549https://github.com/MicrosoftDocs/azure-docs-pr/pull/73549
In the future feel free to make your own pull request when you find these sorts of small fixes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/29590#issuecomment-484183355, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AmLsOEcgtlUSr5dICFyZiVLLxIiwZbRjks5vh1f9gaJpZM4c1h3Y.


Running rust_analyzer lsp in single file mode

Hi! Thanks for this plugin!
Not really an issue but I don't know where else to ask.
rust_analyzer needs a rust-project.json file at the root of the project to launch in non cargo mode.
How do you achieve that ?
Zak

All of the solutions are stored in :lua print(vim.fn.stdpath("data") .. "/leetcode")

I simply $ cargo init in the path mentioned. I now have lsp working fine. Thanks.

how did you configured after running cargo init?


IPC agent refactor and make daemon optional

The goal of this refactor is to be the groundwork for several improvements on DX we are planning to do. Mainly, I want to make the use of the daemon optional, divide into different packages the agent, and move all ipc-specific types that currently live in the ipc-actors into the agent's repo so all IPC-specific things live in the same repo. I was considering renaming the repo from ipc-agent to directly ipc`and include the following crates (this is a first draft):

ipc_sdk: All IPC-specific types, utils, and common assets
ipc_provider: Analogous to the eth providers out there but for IPC.
ipc_cli: What we call now when we do ipc-agent <cmd>, but instead of interacting through the daemon as we currently do, it leverages an instance of an ipc_provider for this.
ipc_daemon: Exposes the optional RPC-API (that some applications may require) and spans background processes (like checkpoint submissions or other background processes we may need. This logic will be significantly simplified after the new cross-net primitives are implemented).

First iteration merged in https://github.com/consensus-shipyard/ipc-agent/pull/300. Several sub-issues came out after this iteration.

Update: In the end the agent hasn't been made optional but completely removed.


Update ctr.md

Replaced old promo with new expert insights promo
Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @negarzipan,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX


Run clang-format against cpp

Reference Issue

#4143
What does this implement/fix? Explain your changes.
Almost all files are prettified.
Any other comments?

Thanks @e-kwsm


Fix selected text format

Description (required)
if select element does not have title attribute
selectedTextFormat option will never be restored.
Issues
fix issue  #22
fix issue  #112

Please don't commit compiled files.  Can you resubmit this without the compiled files?

done

@bercut497 so I added a select that does what you posted as an issue in #112 that commit is: 7f28ef0.
You can run that example by pulling the latest master, cd into the example directory, run npm install and then npm start.  That html will be served at localhost:8080.
It will be the last select on the page titled Add option after init Ajax-Bootstrap-Select.
I ran your code on that example and it doesn't seem to fix it.  I'm still seeing emptyTitle even though its setup like you example in #112.  Any idea why? Based off of what you said, this PR should fix it, but not seeing it fixed.

my bad.
i test not all.
it happen when flag preserveSelected is true and option add after init
search string === '' and cache[''] === []
may be it can help : try to update cache for queryString key on refresh. (get new option array from $element and put into cache ) need test. you can get some regression.

i will amend this mistake in commit.

@bercut497 just updated the example script one more time to match the conditions correctly and this does indeed seem to fix the problem.

Did a quick change locally and then merged and squashed this locally.  It didn't get picked up by github, but it is merged.

@bercut497 merge commit: e5f075f5ce517f10fc15ea794a6951657ad7094e