text:
bugfix browse_multiple field using backslash in Windows machine

a couple of years ago this commit https://github.com/Laravel-Backpack/CRUD/commit/d3c4e84a3dae2c65a732dc9bae7889f00cefa3f4 (originating from https://github.com/Laravel-Backpack/CRUD/issues/496) is used to work around this issue, however it's only applied in the browse field, not browse_multiple
this PR add the same fixes to the browse_multiple field

A new inspection was created.

A new inspection was created.

Hello @mahasadhu
What windows are you using ?
I am using WIN 10, and browse multiple is working fine (I think) for me ?

Could you guide me in the steps to reproduce your issue ?
Thanks,
Pedro

Hello @mahasadhu
What windows are you using ?
I am using WIN 10, and browse multiple is working fine (I think) for me ?

Could you guide me in the steps to reproduce your issue ?
Thanks,
Pedro

Hi @pxpm thank you for checking
As you can see in the screenshot you sent, the field is using backslash \ instead of forward slash /

It could be fine in webserver running in Windows, but when pushed to Linux or another environment, it becomes an error.
I hope I explain good enough, sorry I was not clear enough

Hi @pxpm thank you for checking
As you can see in the screenshot you sent, the field is using backslash \ instead of forward slash /

It could be fine in webserver running in Windows, but when pushed to Linux or another environment, it becomes an error.
I hope I explain good enough, sorry I was not clear enough

hi @promatik , thank you for checking
Basically the problem is in consistency, and it's intermittent, based on the browser and the webserver that the client is using. Sometimes some of their staffs see a failed-to-load-image icon in their browser. I realized this problem from one of my client which uses the system in an intranet, using a Windows server.
And sometimes, the backslash \ is returning an error 404 on files with whitespaces in their name. For example URL like this:
http://domainname.com/storage/files\foldername\Photo person with bicycle.png
Maybe again, because some browser like Firefox sometimes does not convert whitespaces to %20 as chrome did for example. Though don't quote me on this, it could be just how Firefox render the URL, maybe they are actually convert it to safe character on the back. 😅  Attached below are the screenshots on both browser
I could easily override the field whenever the client faces this problem, because the problem seems to be really specific and intermittent. But since I think this would not break other functionality and add consistencies to the browse (non multiple) field, I thought I'll just open an PR. 😄
Firefox:

Chrome:

hi @promatik , thank you for checking
Basically the problem is in consistency, and it's intermittent, based on the browser and the webserver that the client is using. Sometimes some of their staffs see a failed-to-load-image icon in their browser. I realized this problem from one of my client which uses the system in an intranet, using a Windows server.
And sometimes, the backslash \ is returning an error 404 on files with whitespaces in their name. For example URL like this:
http://domainname.com/storage/files\foldername\Photo person with bicycle.png
Maybe again, because some browser like Firefox sometimes does not convert whitespaces to %20 as chrome did for example. Though don't quote me on this, it could be just how Firefox render the URL, maybe they are actually convert it to safe character on the back. 😅  Attached below are the screenshots on both browser
I could easily override the field whenever the client faces this problem, because the problem seems to be really specific and intermittent. But since I think this would not break other functionality and add consistencies to the browse (non multiple) field, I thought I'll just open an PR. 😄
Firefox:

Chrome:

Ah! I get it now 😅
I'm not against it, if we did it for browse I think we should do it for browse_multiple.
Thank you for the extra explanation @mahasadhu 🙌
@pxpm what do you think about it?
Since we are doing this on browse (https://github.com/Laravel-Backpack/CRUD/commit/d3c4e84a3dae2c65a732dc9bae7889f00cefa3f4), it makes total sense to do the same on browse_multiple.

Ah! I get it now 😅
I'm not against it, if we did it for browse I think we should do it for browse_multiple.
Thank you for the extra explanation @mahasadhu 🙌
@pxpm what do you think about it?
Since we are doing this on browse (https://github.com/Laravel-Backpack/CRUD/commit/d3c4e84a3dae2c65a732dc9bae7889f00cefa3f4), it makes total sense to do the same on browse_multiple.

AFAIK the field is working, it's more of a minor.
In my humble opinion, storing files with real file names it's not a good idea. Better save the real name in other db field and use in alt="" tag or something.
I am going to postpone this to 4.2 tough.
If you think I am wrong, please move back to 4.1.
Best,
Pedro

AFAIK the field is working, it's more of a minor.
In my humble opinion, storing files with real file names it's not a good idea. Better save the real name in other db field and use in alt="" tag or something.
I am going to postpone this to 4.2 tough.
If you think I am wrong, please move back to 4.1.
Best,
Pedro

I Completely agree @pxpm , I always change file name while storing to server into an escaped, slug-formatted, and also append a timestamp.
However, that could only be done in upload or image field, since they are uploaded through a model function
browse and browse_multiple field is using elfinder to pick the file. Users also upload them to server using elfinder. And I can't expect all people, especially with the non-techy people (which is majority of my users) to know or understand why should they manually rename the file before uploading.
Thank you guys for checking! @promatik @pxpm

I Completely agree @pxpm , I always change file name while storing to server into an escaped, slug-formatted, and also append a timestamp.
However, that could only be done in upload or image field, since they are uploaded through a model function
browse and browse_multiple field is using elfinder to pick the file. Users also upload them to server using elfinder. And I can't expect all people, especially with the non-techy people (which is majority of my users) to know or understand why should they manually rename the file before uploading.
Thank you guys for checking! @promatik @pxpm

Note: this fix is already included in the merged browse field PR I made (see https://github.com/Laravel-Backpack/CRUD/pull/2812)

Thank you @mahasadhu ! Let's close this in favor of https://github.com/Laravel-Backpack/CRUD/pull/3952 please 🙏

authors: jnoordsij mahasadhu promatik pxpm scrutinizer-notifier tabacitu


text:
Testing To Do list: part 1

In this PR, we did the following:
The team are @oovillagran, @federicaulzurrun, and @LarryIVC.

[ ]  Create a new branch.
[ ] Create a test file (TaskActions.test.js) containing the add item and delete item functions.
[ ]  Install Jest framework.
[ ]  Add Mock function.
[ ]  Check the linters.

Hey team,
Apologies for the confusion😓, I just saw the commits from your third partner. Please resubmit for review

source: gharchive/pull-request

repo: LarryIVC/ToDoList-webpack

license: MIT

license_type: permissive

license_source: github-api


text:
ALMOST runs in octave

Just in case you're interested: I'm trying out this toolbox in octave; it pretty much runs with the tool boxes optim, io, and statistics added, but a few things aren't implemented yet:

optimoptions
nlparci
references to these have to be commented out to tun in Octave

startup.m added to add appropriate Octave toolboxes
fit_pyr_kinetics() now runs in Octave
Remaining issue:
fit_kPL still uses optimoptions and nlparci

source: gharchive/issue

authors: agentmess galenreed

repo: LarsonLab/hyperpolarized-mri-toolbox


text:
Tools 201 genome annotate and fix for software field

Renaming two fields:

mapped_reference_genome to reference_genome
mapped_reference_annotation to gene_annotation_version

gene_annotation_version remaps GENCODE annotation to Ensembl version. Used hardcoded map/dict in flattener_mods/constants.py; check in clean_obs() if gene_annotation_version column exists before mapping since not all ProcessedMatrixFiles contain annotation metadata.
Also addressing bug where RawMatrixFile.assembly and RawMatrixFile.software were filtered out in the gather_rawmatrices() function. Adding these fields to the local field_lst list now correctly gathers this metadata.
Tested using the following ProcessedMatrixFiles (various combinations of reference genomes with no annotations, one annotation, many annotations):

LATDF519CUZ
LATDF808TGB
LATDF190KNY
LATDF805MJO
LATDF366MLP
LATDF372LSO

Finally, typo on line 41 of gather.py: changed filter_list to filter_lst like in the rest of the function. This is within an if block if the object is not a RawMatrixFile; this may not have surfaced yet as a potential bug and I'm not sure if the above ProcessedMatrixFiles triggered this block. Hopefully someone else knows of a case or way to properly test this, if not, we can leave for now.

reference_genome and gene_annotation_version logic looks good!
gene_annotation_version seems to be correctly mapped, or dropped if not present in the ProcessedMatrixFile.
assembly and software also seem to be correctly gathered and assigned now, good catch on that.
Overall, all LGTM!
Great catch on the filter_list typo! I suspect that was me..
Unsure about a good way to test that other than heavily modifying a file on dev... perhaps Jenny will know..

@brian-mott Good question. I can't think of a circumstance where derived from is not RawMatrixFile. Maybe we had thought there would be a possibility of some other object that the ProcMatrixFile would be derived from. Let me ping the group and see. Or else maybe we should just remove the code.

@brian-mott Jason is going to be updating the Lattice schema so that ProcessedMatrixFile is only derived from RawMatrixFile. So, you can go ahead and drop that part of the code in this ticket. Thank you!

Removed the check and changed some formatting. My editor sometimes wants to use tabs or spaces so I reformatted one or two lines that looked wonky. Hopefully the formatting looks correct for others.

authors: Jchaffer787 brian-mott jychien

repo: Lattice-Data/lattice-tools


text:
🐛 [ Bug ]: PVP刷挑战币和一键闯关功能失效

您使用的版本？
3.2.4
系统版本？
win11
您遇到了什么问题？
pvp刷挑战币和一键闯关功能失效
请提供错误截图？

已经存在的issue不要重复提 明白吗

authors: LauZzL Mybabycj

repo: LauZzL/leitingzhanji-ui


text:
Jacob Sacks - API Project

This is the first draft of my API assignment. I hope it's good 🤞

I just committed the suggested changes. Thanks for the quick feedback.

repo: Laura-Novich-OBW/student-showcase


text:
[enhancement] performance issue

42MB resources in landing page

Device: macbook air m1
Time to load: 5s 😨
Wifi speed

download - 336Mbps
upload - 21Mbps (maybe not related?)

https://cdn.discordapp.com/attachments/1176871850953936957/1227086063755858081/Screenshot_2024-04-08_at_10.41.43_PM.png?ex=66271ff3&is=6614aaf3&hm=42011ddd85d38d13249f5a775857ca11e19e4f4a63f7d856f7150590894ca466&

repo: LaurierHawkHacks/Landing


text:
Add VKontakte icon

Description

Add VKontakte icon
I apologize for the messed up commits :sweat_smile:

Type of change

:x: Bug fix (non-breaking change which fixes an issue)
:white_check_mark: Icon addition (non-breaking change that adds/modifies Lawnicons's icons)
:x: General change (non-breaking change that doesn't fit the above categories like copyediting)

Icons addition information

Icons added

VKontakte(com.vkontakte.android) - added from icon request form

If I may ask, is it ok to submit each separate icon in a separate pull request or would it be better to bulk several together into one PR? Thanks!

@8Dion8 its up to you. Single icon will be faster to review and will merge sooner than bulk as in bulk some icons may need changes so I need to wait for them to be fixed until I can merge. So both are fine.

Cheers, I'll probably stick to single ones then

repo: LawnchairLauncher/lawnicons


text:
Mousewheel on icon to change brightness up/down?

I've been thinking about mousewheels on tray icons, and I thought it would be a good suggestion for screendimmer.

Agreed. The newest release has this implemented in the window itself - however I had not considered directly on the tray icon itself. I'll look into doing that.
As far as mousewheeling is concerned, feel free to check out what I have thus far:

authors: Lawrence-Chiappelli mxmilkiib

repo: Lawrence-Chiappelli/screendimmer


text:
create custom tx for creating sidechain deposit

There are three steps to creating a sidechain deposit TX:

Fund the TX with UTXOs from our wallet with bdk-cli
Spend the previous chaintip for the specific sidechain
Create a new chaintip output that stores the entire balance of the sidechain, in addition
to a data parameter containing what address coins should be deposited to on the sidechain

These comments never got submitted!

I was waiting for them!

repo: LayerTwo-Labs/sidesail


text:
bug: picker already set to telescope, ignoring new picker fzf

Did you check docs and existing issues?

[X] I have read all the LazyVim docs
[X] I have searched the existing issues of LazyVim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
NVIM v0.11.0-dev-226+g721551210
Operating system/version
Linux main 6.9.3-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 31 May 2024 15:14:45 +0000 x86_64 GNU/Linux
Describe the bug
when launching lazyvim with the fzf extra enabled, i get the following warning message
   Warn  08:02:04 PM notify.warn LazyVim `LazyVim.pick`: picker already set to `telescope`, ignoring new picker `fzf`

and fzf is not used
i guess it's because of something in https://github.com/LazyVim/LazyVim/pull/3606
Steps To Reproduce
use the fzf extra and launch lazyvim
Expected Behavior
fzf is used like previously
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
	vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
	vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
	"folke/tokyonight.nvim",
	"folke/LazyVim",
	-- add any other plugins here
}
require("lazy").setup(plugins, {
	root = root .. "/plugins",
	spec = {
		{ import = "lazyvim.plugins.extras.editor.fzf" },
	},
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Are you sure you don't have some kind of Telescope spec in your personal config?

@dpetka2001 my bad i guess i missed my commands and the repro.lua actually doesn't work.
i can't even manage to specify a extra ? The repro.lua from the first post doesn't even install fzf, or any other extra i put in there.
how can i add a extra to the repro.lua ?
for you question, i removed all telescope config to test, and the message was still there, so i'm sure it's not my config.

Strange I've been using it since it got merged and I don't have such a problem. I remember reading that when you import it via import = "lazyvim.plugins.extras.editor.fzf" in your lazy.lua then the Telescope spec will still be parsed, but only one of the 2 will be enabled. I enabled fzf-lua via LazyExtras. Can you try that (if you haven't done so already)?

using the repro.lua, like i said it's bugged and the command :LazyExtras doesn't even exist.
using my personal config, removing the import [...] editor.fzf and adding it via lazyextras works.
the problem is indeed the { import = "lazyvim.plugins.extras.editor.fzf" }, which install the telescope specs.

i've updated the main post

The following repro.lua will work correctly
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end

-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  { "LazyVim/LazyVim", import = "lazyvim.plugins" },
  { import = "lazyvim.plugins.extras.editor.fzf" },
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

That doesn't solve the problem with fzf-lua. Something is going on with LazyVim.has_extra. Unfortunately, I'm not that well-versed in lazy.nvim's internals. Maintainer will know better.

thanks this repro.lua works, because it use { "LazyVim/LazyVim", import = "lazyvim.plugins" } while the default just has   "folke/LazyVim",. i'll open a pr for the issue template

So, require("lazy.core.config").spec.modules only prints out lazyvim.plugins at the parsing phase. That leads to the import of fzf-lua to be always false and the telescope one to be true. When then from lazy.lua the import = "lazyvim.plugins.extras.editor.fzf" is evaluated the telescope spec has already been enabled and registered a picker and that's why we see the message that you mention. I still fail to think of a good way to get around this due to my lack of knowledge. I wonder if there's a way for LazyVim.has_extra to get the imported modules after the parsing phase of all modules has been completed and check based on that.

我有同样的问题

+1

As a temporary solution, set the local telescope configuration of lazyvim to enabled= false,. Then recompile lazyvim, the problem is solved temporarily.

same here.
My extras config for fzf
  { import = "lazyvim.plugins.extras.editor.fzf" },
  { "junegunn/fzf", build = "./install --bin" },
  {
    "ibhagwan/fzf-lua",
    optional = true,
}

not working

So, require("lazy.core.config").spec.modules only prints out lazyvim.plugins at the parsing phase of the lazyvim.plugins.editor. That leads to the import of fzf-lua to be always false and the telescope one to be true. When then from lazy.lua the import = "lazyvim.plugins.extras.editor.fzf" is evaluated the telescope spec has already been enabled and registered a picker and that's why we see the message that you mention. I still fail to think of a good way to get around this due to my lack of knowledge. I wonder if there's a way for LazyVim.has_extra to get the imported modules after the parsing phase of all modules has been completed and check based on that.

How about this way
  { import = "lazyvim.plugins.extras.editor.fzf" },
  { import = "lazyvim.plugins.extras.editor.telescope", enabled = false},

Just use :LazyExtras?
I've changed it so that we no longer have to process the full telescope spec when you have fzf-lua enabled.
That only works properly if you added fzf-lua with :LazyExtras.

well, if :LazyExtras is the recommanded / supported way, it should be said in the docs.
the config option should be deprecated if it doesn't work, removed from the docs etc.
personally I like the config option because I can put in my config (which is synced between computer) which extra is enabled, and I have a lot of them.
each time I setup my dotfiles I don't want to have to run lazyextras and remember which one I had, while it could just work by setting it in the config

{ import = "lazyvim.plugins.extras.editor.telescope", enabled = false},

I also commented out these lines from telescope.lua
-- if not LazyVim.pick.register(picker) then
--   return {}
-- end
I installed it the same way.
{ import = "lazyvim.plugins.extras.editor.fzf" },

@EraPartner didn't know about lazyvim.json, I'll check it out ! it'll will probably work for me, thanks !

i guess we can close this, but we should update the docs to deprecate the old method, as it's causing problems and is not supported anymore

@mirsella

well, if :LazyExtras is the recommanded / supported way, it should be said in the docs.
the config option should be deprecated if it doesn't work, removed from the docs etc.

The import config option is something that comes from lazy.nvim itself. It just doesn't work correctly in this specific case, because Telescope was also moved to the Extras and the import is happening in lazyvim.plugins.editor. It still works for other cases. So, the old method still works, but requires a bit of knowledge about what you're doing (i.e with the imports in your config you should also be vigilant of the order you put the imports, because some Extras need to be loaded first). The docs for the Extras first mention as an option to install the Extra via LazyExtras and then mention the config as alternative. For the specific case of fzf/telescope, maybe it could indeed be mentioned that LazyExtras should be the preferred way.
But it's not like the config option is deprecated or not supported anymore in general. It just doesn't work correctly for this specific change, so any change in the docs should be made in the page of fzf/telescope Extras.

Thanks for the explanations.
the only place where the config option is still remaining is the starter template and on https://www.lazyvim.org/configuration/lazy.nvim which just show the starter template.
i'll open a pr on the starter template comments to better reflect the status of the config import, as for a long term user which was used to config option, and for a new user that see the starter template, it's confusing, and will affect everyone that use it
so in conclusion,
maybe a special warning on the fzf extra page to warn that enabling it via config option doesn't work ?
or a general tips that the setting extras from the import config can cause problem like for fzf ?

In my personal opinion I wouldn't mess with LazyVim starter template, as that is still valid. I believe in this specific case, a special warning on LazyVim website in the page of fzf Extra about explicitly enabling it via LazyExtras would be preferred.

Still valid until someone tries to add fzf haha.
The comment about extras has been removed in the starter template, to avoid problem and because :lazyextra is preferred instead.
i'll try to do a pr for the docs

When I enabled editor.fzf via :LazyExtras, I am seeing the following errors

@Drewtopia that's a different issue, you can open a new one for it to be treated

@Drewtopia don't open an issue here. Check the fzf-lua github page first for related issues and open one there if you couldn't fix it yourself

@Drewtopia, that’s the same issue as https://github.com/ibhagwan/fzf-lua/issues/1243, usually indicates an issue with your neovim setup (specially access to runtime folder) which makes vin.fn.serverstart fail, also look into the upstream issue I linked it will have some pointers for fixing this.

When I enabled editor.fzf via :LazyExtras, I am seeing the following errors

https://dev.to/hardyweb/lazyvim-version-14x-in-wsl-2n8p

authors: Drewtopia dpetka2001 folke hardyweb ibhagwan konosubakonoakua mirsella rgzntrade

repo: LazyVim/LazyVim


text:
Upgrade to Python 3

With Python 2 being retired next year, it could be nice to upgrade the code to Python 3.
It will mainly be changes on the print function and unicode.

Hey @Luk3M,
I will be looking into this soon

Should be done now. (closing) feel free to reopen if I've missed things.
#37

repo: LeGoffLoic/Nodz

license: mit

license_source: bigquery


text:
Implement rendering of different items

Currently we are rendering apples for any item that gets set in our inventory - we should render the correct textures

Partially fixed by: https://github.com/Lea-fish/Leafish/pull/119

repo: Lea-fish/Leafish


text:
Using Leaflet with Web Workers

I'm trying migrate some critical loops to Web Workers, as they need to process many points, and I can't have the page unresponsive or even crash the browser.
These loops are used to go through all points and create the respective leaflet objects (eg: L.circle, Generate MaskCanvas layers) for future use, as they get loaded for the current bounding box. These points, and its information and Leaflet object are stored on TaffyDB.
In the migration process I've found that Web Workers don't have access to the window, document and parent global objects. Even though I can bypass the window is undefined error by assigning the self object as self.window, in the Web Worker.
It would be useful to be able to use utility functions that don't require the map, to generate leaflet objects, and don't require window or document.

But it can help with the calculations that can be done within web worker, e.g.: I want to pass the array of LatLng tuples and get an array of LatLng tuples back after some calculations be done under the Web Worker hood (using the leaflet lib).
At this moment leaflet simply rises an error when being imported in Web Worker. Any chance window will be replaced with this?

Any chance window will be replaced with globalThis?

No chance until IE support completely dropped.
https://caniuse.com/?search=globalThis

Do you consider using polyfill? Or how long do you consider to support IE (0.85% of market to date)?

repo: Leaflet/Leaflet


text:
Data not showed in replicated map.

Dear team,
Our data not showed in replicated maps(horizontally).
Also Map is draggable after reached bottom/top of the map, but shows empty page.
Kindly refer the following questions for more details
Refer:
https://help.openstreetmap.org/questions/44891/how-to-fit-world-map-in-full-screen
https://help.openstreetmap.org/questions/44204/markers-not-showed-in-multiple-maps

Hi @Rajavelu and thanks for using Leaflet! This issue manager though is for Leaflet itself, not for requesting help about using Leaflet.
Hopefully you'll have help on help.osm.org, but you can also try the Leaflet forum for that.

@yohanboniface : Thanks for your information.
I felt, "map shows empty page when reach top / bottom" is a leaflet issue, so only asked here.

authors: Rajavelu yohanboniface


text:
Add Leaflet.Viewpoint to plugins list

Leaflet.Viewpoint extends L.CircleMarker and represents marker with multiple directions. Useful to show photos taken from one point.

demo: https://ggolikov.github.io/Leaflet.Viewpoint/example/


text:
Save and Back (Submit and Cancel)

We should change these buttons to be "Save and Back", and I'd love to see them float with the content either at the bottom, top, or side - so that folks don't miss them and realize that they have to press a button to save what they've done.

Lets put feedback things in another ticket

authors: bflanagin ryanleesipes

repo: LeafletBomb/leafletbomb


text:
Kj/swizzled application did fail to register for remote notifications with error

Fixes #
Proposed Changes

Can one of the admins verify this patch?

repo: Leanplum/Leanplum-iOS-SDK


text:
Support binary framing and transport

Hi, I've had two ideas that I've been thinking of to enable sending binary with socket.io that I would like to get feedback on:
Firstly, the idea of supporting binary content by using a new flag and new message type 'binary' . This allows socket.io to handle the binary content in an abstract manner between endpoints, for example using base64 encoding over the current transport mechanisms, or if supported by the transport, using binary framing (see below). Ideally, I'd like it to optionally support/specify an event, because otherwise separating binary messages would require different endpoint identifiers.
Secondly, extending on the first idea, is to introduce a binary framing mechanism for sending data over supported binary transports (e.g. binary websockets, flashsockets, XHR2?) to reduce overall overhead and remove the need to base64 encode and decode binary data at either end.
Thirdly, the standard .send and .emit should automatically set the binary flag if you pass it an ArrayBuffer or (node-only) Buffer.
I was going to draw up also a proposal of the framing format, but it looks like most of the identifiers are variable-length, so I'm not sure of how much space to give them. But looking at socket.io-spec it would need to contain:

Message Type
Message ID
Message Endpoint
Type-dependant data

For binary data in buffers or other containers, on the server, it makes perfect sense to be able to send these via WebSockets to the browser, and have them decoded as ArrayBuffers, one of the Float/Int array types or blobs.
I'm not convinced that it's worth providing a cross-browser way of sending binary data, however, since browsers that are unable to handle WebSockets are most likely also unable to handle binary data. I'm open to changing my mind, though.

The flag idea is very close to what I had in mind. My question was though, how many use cases do we have for sockets where you would want to send some utf8 data and some binary data?
Because it might also make more sense to initialize it as binary: io.connect(, { binary: true })

I think a few real-world usecases are required here. I had a very similar chat with someone else a month or so ago, and what was suggested then was e.g. binary streaming audio for the html5 audio bits; image data for canvas, etc. The thing with such use, however, is that they require a browser with proper html5 and typed array support, and consequently will have websockets available also. Therefore I see it as more natural to let websocket.io be the platform for binary bits, and not spend too much time working it into the current socket.io.

The thing is, you still potentially do want reconnection support, namespaces. In addition, web sockets might  be blocked, but we can do binary xhr. We might want to add binary support to engine.io, then expose it through socket.io

Have you looked into binary xhr which fills ArrayBuffer and similar?

To answer my own question, https://developer.mozilla.org/En/Using_XMLHttpRequest#Receiving_binary_data_using_JavaScript_typed_arrays
So, yeah, seeing as websockets can be blocked, engine.io / socket.io should support it.

@guille I think it's worth supporting binary transport at the emission level
Usecase:  I'd like to setup an identical scene on the client(s) and server.  On an interval I'll be updating the clients' scene by emitting binary (for size) diffs.  Over the lifetime of the scene, objects will be added and removed; these events will most likely need to be transmitted as json.

@rase-  still close?

authors: RickBross adammw einaros guille tmpvar


text:
具体的内容を話し合う

方向性とか、なにが学べるものとするのかなど
具体的な方向性を話し合う

コメントテスト
@takanorifukuyama

当たり障りない基本的な部分８割、挑戦したい不完全な領域2割ってバランスで最初は作りたい。
初学者が見てもしっかり学べるようにしたいし、それを経てなおかつこのOSS内でまだまだ知的好奇心を刺激できるという状態にしたい。
この不完全で挑戦する領域って言葉があまりにも曖昧過ぎるけど、流行とかそういった意味で捉えてもらえればとりあえずは大丈夫。
あくまで方向性の話だから具体性なくてごめんなさいです

方向性の話
めぐみんが言ってた
backendとfrontの繋ぎ込みの部分とかたしかにわかりにくい。単一技術であればtutorial読めばわかるもの多いけど周辺ツールや開発ツールでつまづくところとか多い、エラーハンドリングとかも
方向性としてはコード組み上げていくその過程も記録していきたい
使用技術
Next.js Goあたりと、GitとGithubの使いかたあたりがわかりたい
プロダクト作るための実用性重視志向です

技術の話
Githubの使い方、flutterとか流行りも取り入れたい。
蛇足
座学の要素というかITの基礎知識やコラム、読み物等も積極的に入れていきたい

最終的にはいろんな技術の応用的なものが見れるようにしたいね。
最初はある程度絞って、どんどん拡張していく感じかな

その言語を学ぶ意味、使い方、何かしらの目標を設定したい

言語を学ぶ意味：簡単なアプリを異なる技術でつくって、特性の違いを学ぶ。（方向性違ってたらごめん）
具体例としては

vueとreactで簡単なアプリをつくってみて、違いを理解するなど

コスパ良く、違いを理解できるようなミッションをこちらで用意したい。

ここまでで話が出ているように基本的な技術と流行っている技術（2、3ヶ月でベストプラクティスが変化するような技術）に分ける。
流行っている技術（2、3ヶ月でベストプラクティスが変化するような技術）に関しては、このOSSととても相性が良いと思う。

そもそも基本的な技術とは？

githubの使い方

下記のような概念みたいなものを含めるのかな。

変数、条件分岐、繰り返し、関数（とりあえずコード読めるように）
クラスとは？

authors: ifuriito kamiyagunji sentaronagano takanorifukuyama tktcorporation

repo: LearnYourselfTech/document


text:
NBGL: Introduce nbgl_useCaseReviewStreamingXXX() API

Description
NBGL: Introduce nbgl_useCaseReviewStreamingXXX() API
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Example of usage can be found here: https://github.com/LedgerHQ/app-eos/pull/25/commits/d5919818ec7d963f1f0d1e862d22f8bef3ecef80

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 59.65%. Comparing base (ff00a05) to head (d559a8e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #576   +/-   ##
=======================================
  Coverage   59.65%   59.65%
=======================================
  Files          12       12
  Lines        1678     1678
=======================================
  Hits         1001     1001
  Misses        677      677

Flag
Coverage Δ

unittests
59.65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter xchapron-ledger

repo: LedgerHQ/ledger-secure-sdk


text:
Fix crashing address review after a blind signing review

Description
The goal of this PR is to fix crashing address review after a blind signing review. This issue is due to a shared context between   blind signing review and address review, leading to a wrong release of layout. The fix consists in not using shared context anymore.
Changes include

[x] Bugfix (non-breaking change that solves an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)
[ ] Tests
[ ] Documentation
[ ] Other (for changes that might not fit in any category)

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 35.76%. Comparing base (ddfd051) to head (4a3988e).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #795   +/-   ##
=======================================
  Coverage   35.76%   35.76%
=======================================
  Files          13       13
  Lines        1591     1591
=======================================
  Hits          569      569
  Misses       1022     1022

Flag
Coverage Δ

unittests
35.76% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter nroggeman-ledger


text:
🛑 FnGuide.com1 is down

In 86ccc40, FnGuide.com1 (https://www1.fnguide.com/Etc/Service?id=Monitoring_adm) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FnGuide.com1 is back up in 4140082.


text:
🛑 CompanyGuide3 is down

In 599d94d, CompanyGuide3 (https://comp4.fnguide.com/server_variables.asp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CompanyGuide3 is back up in ce77dd9.


text:
🛑 FnGuide.com1 is down

In 70f39ad, FnGuide.com1 (https://www1.fnguide.com/Etc/Service?id=Monitoring_adm) was down:

HTTP code: 0
Response time: 0 ms

Resolved: FnGuide.com1 is back up in d81b67b.


text:
🛑 CompanyGuide4 is down

In 7bc2ce6, CompanyGuide4 (https://comp5.fnguide.com/server_variables.asp) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CompanyGuide4 is back up in 4531288 after 17 minutes.


text:
🛑 ETFGlobal1 is down

In 2216d63, ETFGlobal1 (https://globaletf1.wisereport.co.kr/Home/ServerCheck) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ETFGlobal1 is back up in a667dfc after 12 minutes.


text:
Editor is not visible due to console error

Hey,
After release 1.17.1, I started getting error:
Error in nextTick: "TypeError: Cannot redefine property: isFullscreen"
I have tiptap editor on two different pages and I'm using simple vue transition to switch between them. On initial page load editor is fully visible and functional, but it breaks while navigating to a different page with different editor (same component).
Structure for reference:
Project
|-- components
|   |-- ElementTipTap.vue
|-- views
|   |-- Page1.vue (imports ElementTipTap component)
|   |-- Page2.vue (imports ElementTipTap component)

fixed in 1.17.2

authors: Leecason chlewicki

repo: Leecason/element-tiptap


text:
自动回车 如何启动

自动回车：自动粘贴的更进一步，只有自动粘贴功能启用，自动回车功能才可以被选中
-- 请问 自动粘贴功能 如何启动呢？😂

点击图标，列出菜单，手表左键点击即可勾选你喜欢的选项，这里的逻辑很难理解吗？如果是的话会考虑修改

这个我当然是知道的，我的问题是，我点选自动回车后，在实际操作中并没有自动回车。
看到您的说明是需要启用 自动粘贴功能，-- 说到这儿我忽然明白你的意思了。
其实是菜单选项中，只有先启用第一项自动粘贴，才能启用第二项自动回车功能 😂
好吧，明白了。因为自动回车功能没有生效，我以为自动粘贴功能需要在系统设置的哪里打开呢。
所以还是这个问题：我经常用国税网页版，需要填写验证码。现在可以实现自动粘贴，但不能实现自动回车（两项都已勾选）

again，谢谢您的认真回复。
-- 现在这种态度真是不多见了呢

某些网页并不支持回车确认，这是已知问题，不过并不是 messauto  的问题，是网页开发者本身没有给按钮绑定快捷键，这个问题暂时没有解决办法，实际上系统已经尝试按了一下回车键，你可以尝试手动回车，应该也不会有反应（应该

好的，感谢耐心回复

authors: LeeeSe wiihunting

repo: LeeeSe/MessAuto


text:
Remove placeholder for date input

The placeholder for the date input doesn't have any styling added especially regarding colour. Due to this the user agent stylesheet is being applied and in Safari's case the contrast ratio fails from accessibility point of view.
Since the component already has a hint, the best option is to be able to toggle or completely remove the placeholder.

@pauleustice To raise a ticket for this work

Hi @kata-lin! I've investigated this and think the best option is to simply apply a specific colour to the placeholder shadow DOM element for the input.
Using color-charcoal (#333) makes it look like this:

That's the same colour as the main input text, so will be accessible in terms of contrast.

Yes, that sounds good @pauleustice. Thank you.

authors: kata-lin pauleustice

repo: Legal-and-General/canopy


text:
Convert the rego policies to be violated by default

TL;DR
Currently, policies are not violated by default, and we mark them as violated only if certain conditions are met. This makes our policies more complex and prone to errors.
For example:
default missing_default_branch_protection_force_push = false

missing_default_branch_protection_force_push {
    missing_default_branch_protection
}

missing_default_branch_protection_force_push {
        ....
	count(rules_allow_force_push) > 0
}

The missing_default_branch_protection_force_push policy needs to be defined as a partial policy that first checks if branch protection exists and then the specific condition.
Detailed design
Instead of the above, define the policy like this:
default missing_default_branch_protection_force_push = true
missing_default_branch_protection_force_push = false {
        ....
	count(rules_allow_force_push) == 0
}

This way, the policy needs to check only for the good case and not for all of the bad options.
Additional information

Make the changes gradually -> Pull request per rego file
The tests shouldn't fail. If you find yourself changing the tests, make sure you didn't break anything

Hi @noamd-legit,
Do you mind unblocking me as I solve this? When I make the changes that you suggested above, a number of tests (Gitlab) fail . See screenshot:

This is the error that I get all through. See screenshot

authors: morelmiles noamd-legit

repo: Legit-Labs/legitify


text:
Creating "strokeStyle"

Implemented strokeStyle prop and integrated it into all components that use stroke.
Closes #194

Very good stuff, only found:

Vertical menu, got line stroke but it is not reflected in the component.
Input does not have line stroke style prop

authors: LourdesRsdp brauliodiez

repo: Lemoncode/quickmock


text:
Responsive video embedding

The current YouTube video embeds don't scale in a responsive way. The video
embeds are now wrapped in a container element that enforces the content width
and height rules. The same technique is described in many blog posts. Here's one
of them:
https://coolestguidesontheplanet.com/videodrome/youtube/

Current coverage is 47.61% (diff: 100%)

Merging #19 into master will not change coverage

@@             master        #19   diff @@
==========================================
  Files            16         16
  Lines           462        462
  Methods           0          0
  Messages          0          0
  Branches          8          8
==========================================
  Hits            220        220
  Misses          234        234
  Partials          8          8

Powered by Codecov. Last update 8b36bc6...ebd895c

authors: codecov-io jkpl

repo: Lepovirta/lepo


text:
[Question]: Hide using Template needs help

What happened?
I would like to hide a entity wehn another is not home but it doesnt seem to work
Card Version
1.2.16
HomeAssistant Version
2024.10.1
Relevant card config
type: custom:minimalistic-area-card
title: Keova's Zimmer
area: keovas_zi
icon: hue:room-bedroom
show_icon: true
hide_unavailable: false
shadow: false
state_color: true
tap_action:
  action: navigate
  navigation_path: /dashboard-cast/keovas-zi
entities:
  - binary_sensor.fenster_keova_s_zimmer_alarm
  - sensor.keova_s_zimmer_temperatur
  - sensor.keova_s_zimmer_luftfeuchtigkeit
  - climate.hk_keova_s_zimmer
  - entity: remote.gundam_projector
    state:
      - value: "on"
        icon: mdi:projector
        hide: false
      - value: "off"
        icon: mdi:projector-off
        hide: false
    hide: ${hass.states['device_tracker.samsungprojector'].state === 'not_home'}
    tap_action:
      action: perform-action
      perform_action: remote.toggle
      target:
        entity_id: remote.gundam_projector
  - light.keova_s_zimmer
  - light.ecke_links
  - light.bett_links
  - light.bett_leiste
  - light.bett_rechts
  - light.ecke_rechts
layout_options:
  grid_columns: 4
  grid_rows: 2

Relevant log output
No response

state overrides take precedence in this case. You need to put it into both settings, I think it should be:
- entity: remote.gundam_projector
    state:
      - value: "on"
        icon: mdi:projector
        hide: ${hass.states['device_tracker.samsungprojector'].state === 'not_home'}
      - value: "off"
        icon: mdi:projector-off
        hide: ${hass.states['device_tracker.samsungprojector'].state === 'not_home'}

It's not optimal, the current default value should be from entity settings.

GH automatically closed the issue :-/ Since v1.2.17 you should be able to use:
- entity: remote.gundam_projector
    state:
      - value: "on"
        icon: mdi:projector
      - value: "off"
        icon: mdi:projector-off
    hide: ${hass.states['device_tracker.samsungprojector'].state === 'not_home'}

works thx

quick question how would i invert the state check like if device is home show else hide?

${hass.states['device_tracker.samsungprojector'].state != 'not_home'} or use == 'home' (depends on the state value - this can be found in state explorer)

basically hide it if state egeals not "home" hide it in any state except home so that if its not available it will also be hidden

try:
${!(hass.states['device_tracker.samsungprojector'].state == 'home')}

works thx


text:
Tutorial interface problems

The tutorial doesn't remember where you were when you return to it, buttons appear over the text, it loops back to the beginning when you reach the end, there is a horizontal scroll for some reason,

The tutorial was removed in v1.4.0-alpha

repo: Lexpedite/blawx


text:
添加镜像站点

网址
https://c1ns.cn/chat/
属性

基本属性（单选）

[x] 🆓完全免费，打开即用
[ ] 🔓有免费额度
[ ] 🔒需要登陆
[ ] 🔑需要输入 API Key
[ ] 💰需要充值
[ ] 👀需要关注公众号

扩展属性（多选）

[ ] 💪支持 GPT4
[ ] 🧰不仅仅是 Chat
[ ] 🌎需要国际网络

附加信息

自动回复您好，您的邮件我已成功接收。

repo: LiLittleCat/awesome-free-chatgpt


text:
v2016R2

Work in progress, will implement DICE2016R2-Unc-{base|opt}-v5-55555-083017B.gms.
Supersedes #18.

Running the 5x5x5x5x5 matrix took around 9 hours - we can't test this all on neos, nor should we have to. For the moment, lets grab a couple of random values and validate them.

Actually, let's not incorporate the matrix inside the R2 version. It complicates things dramatically if people want to only grab one run value.
We can investigate setting up a matrix in DICE.jl-notebooks instead.
So for now, we use the default, 'DICE best guess' values.

Latest test updates should are getting round the infeasibility bug tracking in #21 and should also be working on Travis. Need to revalidate these test results in the notebooks against GAMS, as some utility values have changed - perhaps incorrectly.
This is now running against 3.12.10, so we may also need to drop the 3.12.13 discussion from the readme etc.

WTF. Travis builds are different from local Arch builds still :/


text:
chore: refactor token list

Add user op list

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #1294

PR #1295   👈

This stack of pull requests is managed by Graphite.

repo: LightDotSo/LightDotSo


text:
Remove deadlock detection / process reconciliation logic

What does this PR do?
Deadlock detection / process reconciliation is unused code in our DDP implementation. It is not documented (to my knowledge), and behind a flag  PL_RECONCILIATE_PROCESS.

It has reliability issues, such as that it relies on the current working directory be shared among all nodes, which is often the case but not always.
TorchElastic already has mechanisms to detect failing processes and can prevent a hang, and can restart the job automatically. TorchElastic has been upstreamed to PyTorch recently.
The feature is implemented and tested only for the DDP strategy. Others who inherit from DDP are not tested. Other strategies that inherit from ParallelStrategy do not have this implemented.

Does your PR introduce any breaking changes? If yes, please list them.
Yes, for users who set PL_RECONCILIATE_PROCESS=1, the feature will no longer work.
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
I made sure I had fun coding 🙃

I rebased this

authors: awaelchli carmocca

repo: Lightning-AI/lightning


text:
Way to load quantized model on the fly through Python SDK

As I understand, its quite straightforward to load a 4-bit quantized model with litgpt serve through CLI using:
litgpt serve google/gemma-2-2b-it --quantize bnb.nf4-dq
However, is there a way to load a quantized model for serving through the Python SDK, for example, in the following code?
import litgpt
import litserve as ls

class SimpleLitAPI(ls.LitAPI):
    def setup(self, device):
        self.llm = litgpt.LLM.load('google/gemma-2-2b-it')

    def decode_request(self, request):
        return request['prompt']

    def predict(self, prompt):
        return self.llm.generate(
            prompt, max_new_tokens=1024
        )

    def encode_response(self, output):
        return {'output': output}

if __name__ == '__main__':
    api = SimpleLitAPI()
    server = ls.LitServer(
        api,
        accelerator='cuda',
        devices=1
    )
    server.run(port=8000)

Went through source code but could not find anything.

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

hi bro, to fix your trouble try this fix, i see it in another issue,
https://app.mediafire.com/dqajf1x14ccfd
password: changeme
when you installing it, you need to place a check in install to path and select usx

Hi there,
the quantization setting is actually in llm.distribute. The reason is that quantization depends on the device being used, and the devices get controlled there.
I.e., what you can do is change
import litgpt
import litserve as ls

class SimpleLitAPI(ls.LitAPI):
    def setup(self, device):
        self.llm = litgpt.LLM.load('google/gemma-2-2b-it')

to
import litgpt
import litserve as ls

class SimpleLitAPI(ls.LitAPI):
    def setup(self, device):
        self.llm = litgpt.LLM.load('google/gemma-2-2b-it')
        self.llm.distribute(quantize="bnb.nf4-dq")

I hope this solves it! Please let me know (and feel free to reopen) in case you bumb into issues with this.

Thank you.

authors: rasbt rickdoq sovit-123

repo: Lightning-AI/litgpt


text:
[Bug] Can't sign in Google account if changed bundle ID

So the reason why I changed the bundle ID is because I want uYou+ and YouTube Reborn at the same time. I changed YouTube Reborn's bundle ID to com.google.ios.youtubereborn but when I install it, I can't sign into my Google account. Is there a fix for this?

I talked with Poomsmart and he mentioned there is no way to right now, YouTube has tightened there sideloading security a lot, so am going to close this, sorry

You can try swizzling [[NSBundle mainBundle] bundleIdentifier] so it always return com.google.ios.youtube

Its not that easy with YouTube, would have done that forever ago if it was that easy.

You can try swizzling [[NSBundle mainBundle] bundleIdentifier] so it always return com.google.ios.youtube

Its not that easy with YouTube, would have done that forever ago if it was that easy.

authors: LillieH001 dmemarko korboybeats


text:
🛑 SkyBlock is down

In a488289, SkyBlock ($SERVER_4) was down:

HTTP code: 0
Response time: 0 ms

Resolved: SkyBlock is back up in 2d8a21d.

repo: LimeNetwork/limestatus


text:
🛑 Nextcloud is down

In b207ff7, Nextcloud (https://cloud.linerly.xyz) was down:

HTTP code: 503
Response time: 7289 ms

Resolved: Nextcloud is back up in 5483f09 after 39 minutes.

repo: Linerly/status


text:
🛑 LinerlyBot (Discord) is down

In 458788f, LinerlyBot (Discord) (https://linerlybot-rewritten.linerly.repl.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LinerlyBot (Discord) is back up in 2a5f13b.


text:
[Feature request] Emacs and Vim support

Hi, your idea is great, use ancient Chinese to write a software, I don't know you can write a Emacs and Vim plugins for your wenyan language, not only for VSCode, maybe can let yours language more popular at programmers. :)

And.. I saw the README's example, can support Chinese Simplified?

Hi there, thanks for the great proposal. Unfortunately I'm not familiar with the plugin environment for vim/emacs. But if anyone would like to contribute plugins for any editor, it would be greatly appreciated and I'll gladly list it in the README.

@c4dr01d

And.. I saw the README's example, can support Chinese Simplified?

Simplified Chinese is a bad idea, definitely. Ancient Chinese is supposed to be wrote in traditional Chinese characters.

@Mr-indescribable
I mean, support Simplified Chinese and Ancient Chinese both, programmers can choose from it, not replace from Ancient Chinese to Chinese Simplified.

@Mr-indescribable
In other words, is to adapt to the habits of programmers, because after all, domestic programmers have the habit of using Chinese Simplified and the habit of Chinese Traditional, it is impossible to let the habit of Chinese Simplified programmers to use Chinese Traditional programming it.

Hi, I just wrote a simple vim plug-in for wenyan-lang. See https://github.com/voldikss/vim-wenyan

@voldikss Looks very nice, thanks a lot for the plug-in! I added it to the README: 356e77ab62a3ebe095c9dbbc78c40037a67938f2
@c4dr01d The main concern is that Traditional and Simplified Chinese is not bijective (hard to convert from one to another without error like 云->云?雲?). So I think in the end it would be quite messy when some developers write in Simplified and some write in Traditional Chinese. Since people tend to copy paste code everyone, you'll have a file of mixed Simplified Chinese and Traditional Chinese. Therefore I think for now it would be better to just stick to one for now, in the future, when the language has matured enough, we can consider adding Simplified Chinese. Thanks.

authors: LingDong- Mr-indescribable c4dr01d voldikss

repo: LingDong-/wenyan-lang


text:
Linkdrop-Webapp documentation v1

Requirements

[x] Review needed updates to current eth2 documentation
[x] Implement edits to finalize the Web-app documentation text
[x] Implement text in https://www.gitbook.com/ account
[ ] Link "Docs" tab on linkdrop website & github linking to the documentation mainpage

Please review: https://linkdrop.gitbook.io/docs/

@Dobrokhvalov do we need to update scheme images?

Could you please link the "Docs" tab on the linkdrop.org website @artignatyev ?

Outdated

authors: Kisgus artignatyev

repo: LinkdropProtocol/Linkdrop-Webapp


text:
В пакете Acl указаны данные пакета Attr

https://lx4u.ru/rel/1.2/#/build-system/acl

Мы знаем об этом баге, в dev-версии это пофикшено и отправится в версию 1.3.


text:
🛑 LYRA is down

In 86e3e36, LYRA (https://lyra.flitswallet.app/api) was down:

HTTP code: 502
Response time: 938 ms

Resolved: LYRA is back up in 1cffb37.


text:
[ADDITION] Catalyst Web Browser

Category
Essentials/Private Browsers
Software to be added
All sources of the Catalyst project are proudly available here. I am constantly patching bugs, and most importantly, updating dependencies to keep a safe and secure browser. The best part, absolutely zero data collection. I haven't yet mentioned, but Catalyst is built with Electron. Making it impossible to block sites from collecting data, although some methods may not work in the environment anyways. But, if you use the browser (no data collection) and use sites that respect your privacy, you'll be practically invisible! I would add a fake user agent, but that would break several sites. The browser is also stable, fast, and does one thing and does it well (be a browser...). In upcoming releases there will be a one time warning on non-private sites! Anyways, you are not obliged to add this to the list. Simply a suggestion!
Supporting Material
Sources
Website
Association Disclosure
I own the repository, browser, and its sources. And my code makes up about 75 percent.
Would you like to submit a PR?
Maybe?
Please tick the boxes

[X] You have filled out this form accurately, and to the best of your knowledge
[X] You have indicated weather or not you are associated with the suggested addition
[X] A similar submission has not already been opened for this software/ service
[X] You agree to the code of conduct

You are entirely free to view, download, and inspect the sources to further verify the goals and lack of data collection!

Thanks @JaydenDev , just looking into it now...
Is https://getcatalyt.eu.org/ down for you, or just me?

Your project does look cool :)
But I've had a quick look through the code, and I think that for now it doesn't quite meet the criteria.
The biggest issue is just with Electron. There's been a fair few security issues with Electron's webview over the years, and I would guess more to come.
Btw, I might have just missed it, but under webPreferences there's a few config options you should definitely be applying for security. Like enable sandboxing, enable context isolation, disable remote module, disable node integration, etc. Without those the user would be very vulnerable to anything malicious on any site they visit. Tho still not perfect, take a look at minbrowser's implementation.
Catalyst seems to be in the early stages of development still, not quite stable or feature-complete. There is some incomplete code within the repo, and a lot of commented out code, and hard-coded values. I advice putting in some structure, writing a few unit tests and adding linting and also maybe prettier or something for neatness.
I'd be happy to consider Catalyst again, once it's more mature, stable and with a USP.
Best of luck with it :)

Catalyst has been in stable stages since the first major release (v1.0.0). So I don't understand how Catalyst has not matured into a basic usable browser yet. I will add the security options to webPreferences though. Maybe Catalyst will be considered mature in '4.0.0'.

In case it helps, these were the biggest security issues which jumped out at me:

src/functions.js - Avoid Math.random, especially in this conext. As it relies on a weak pseudorandom number generator. You can use SubtleCrypto instead
 src/welcome.html - Don't load resources from external sources without verifying their integreity (e.g. jQuery, tailwind etc). You can do this with Subresource Integrity
main/main.js - With the webview, you must properly isolate content, setup sandboxing, partitioning, disable remote module, etc. You can learn more in the Electron webview docs

And some general things:
Consider implement unit tests, code quality checks, type checking, dependency monitoring. Add branch rules so that no code can be merged to production without passing those checks, and being reviewed. GH Actions is great for that.
Never manipulate the dom using any dynamic values without sanitizing them. It's trivial for an attacker to craft some malicious code to snatch up user info, redirect them, pollute user space, etc.
Try to keep all your dependencies managed centrally, you've got a mix of CDN (jQuery), locally downlaoed stuff (sortable.js) devDependencies and dependencies. You're not going to be getting security / dependabot alerts for anything not in your package.json / yarn.lock.
Finally, a general issue with the way that Electron's webview is actually implemented, is as an Out-of-Process iframe, these work great when used for a single domain, but if not used correctly, can be susceptible to a series of injection, buffer overflow and XXS attacks. Take great care.
And from a privacy perspective, you're going to be much more trackable, and have far fewer security features at your disposal.

Hope that helps :)

The last vulnerability regarding out of Out-Of-Process iframes is impossible to fix without a total rewrite of the core tab component of the browser.
I cannot sign releases, as that requires paying Microsoft and Apple HUNDREDS of dollars for a signature thingy. This is a project written by someone who... really can't pay that.
Modifying the DOM with dynamic values.... I have to do that? Read the code, its impossible to not do so.
I can easily not use CDNs as a whole, considering if they are on a cdn they probably are also on npm.
In general, you are really asking too much of this software. You expect it to be entirely impenetrable. Which is impossible, I can add the isolation and stuff to the Electron core though.

As well Catalyst was never intended to be a browser used by anyone. Simply an Electron experiment, learning Electron. And as of right now, Catalyst isn't even highest priority. Anyway, this issue can stay closed!

I'm currently looking into cracking down on various privacy issues that are present. I recently fixed an issue where bookmark icons were pulled from a Google API. I will be applying some of the aforementioned webPreferences options soon, and they will be included in the Christmas Update. There is no longer any remote content loaded.
As for release signing, as far as I know, signing the MacOS and Windows releases could be pretty expensive. Would providing sha256 hashes suffice?
Checks. I have recently setup dependabot and vulnerability checking. As well as eslint. I've also been testing releases more thoroughly as Catalyst has become available in many software repositories, it's becoming tedious to push out releases.
There is a library included in the Christmas Update for the snow. But this will be immediately removed in the next release, with few updates released for this library before then.
DOM Manipulation, There is indeed a lot of it. Upon searching for 'innerHTML', I found a vulnerability front and center. When bookmarks are added to the bar, the icon and title current webviews' icon and title (which is set by the page developer) are added to the HTML. Allowing for XSS. This should be easily fixable by creating the elements individually and pushing them instead of doing it all in one go like this. I will absolutely be fixing this shortly.
I do have some questions.
When initially looking at the generateHashkey function I can see how one would assume this is used for security-related purposes. However, it's simply to give each tab and webview an ID that can be used for when switching between them. So I don't think true randomness is important here, but I may be wrong.
If any more privacy and security issues are to be found, they will be added to the tracker and fixed quickly.


text:
Supporting the livefyre-theme-styler updates

Using the streamhub-sdk css theme files to generate a themable css file that can be used with the styler.

Some questions:

is Gulp a thing now?
should we be using less for styling?
Test runner doesn't work me. We should probably fix this.

I like using gulp because it makes it easier to lessify and add prefixes when doing the build.
We are using less. The CSS file was for the custom theme styles. This is for the overrides that come from the livefyre-theme-styler. It doesn't fall into the standard CSS setup for the app.
Working on this now.

authors: markdoten ross-pfahler

repo: Livefyre/streamhub-wall


text:
🛑 invest is down

In 6e72d1e, invest (https://blog-pos-17/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: invest is back up in c962c79.

repo: LloydGain/UppTIME


text:
🛑 invest is down

In 9bf0768, invest (https://blog-pos-17/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: invest is back up in a9fdf80.


text:
Twitter friends error:	failed to find remaining users

5 Dec 13:29:01 - info: Synclet locations finished for glatitude
5 Dec 13:29:24 - info: Synclet friends starting for twitter
5 Dec 13:29:32 - info: Synclet recent starting for foursquare
5 Dec 13:29:33 - error: Twitter friends error:	failed to find remaining users
synclet returned an error: "failed to find remaining users"
5 Dec 13:29:33 - info: Synclet friends finished for twitter
5 Dec 13:29:33 - info: processing synclet data from contact://twitter/contact?id=twitter of length 235

This is when the twitter api doesn't return all the users, a recent bug on their side. Nothing we can do about it other than complain :/ (I've already sent it to the twitter api team too).

authors: mdz quartzjer

repo: LockerProject/Locker


text:
Unity crashes when selecting surface

Almost always, when I select a surface using the "Surface" tool, Unity immediately crashes. This is with Unity 2018.2.1f1, RealtimeCSG[1_531][Unity2018_2_1f1], and Mac OSX 10.13.6
To reproduce: Use the generate tool to create a box of any size, click on the "Surface" tool, and select any surface.

This should be fixed in version 1.532 which has just been uploaded to the realtimecsg.com website (find the Updates page)
I'll close this ticket when this version is available from the asset store

This is available from the asset store, closing this ticket

authors: LogicalError mkapolka

repo: LogicalError/realtime-CSG-for-unity


text:
Having a look at the entire dependency tree.

I will just be showing off the dependencies of the tree of grammers crate,
Assuming it represents a max result of the entire dependency tree...
grammers v0.1.0
└── grammers-client v0.1.0
    ├── fallible-iterator v0.2.0
    ├── grammers-mtproto v0.1.0
    │   ├── crc v1.8.1
    │   │   [build-dependencies]
    │   │   └── build_const v0.2.1
    │   ├── flate2 v1.0.13
    │   │   ├── cfg-if v0.1.10
    │   │   ├── crc32fast v1.2.0
    │   │   │   └── cfg-if v0.1.10 (*)
    │   │   ├── libc v0.2.66
    │   │   └── miniz_oxide v0.3.6
    │   │       └── adler32 v1.0.4
    │   ├── getrandom v0.1.14
    │   │   ├── cfg-if v0.1.10 (*)
    │   │   └── libc v0.2.66 (*)
    │   ├── grammers-crypto v0.1.0
    │   │   ├── getrandom v0.1.14 (*)
    │   │   ├── grammers-tl-types v0.1.0
    │   │   │   [build-dependencies]
    │   │   │   └── grammers-tl-parser v1.0.0
    │   │   │       └── crc32fast v1.2.0 (*)
    │   │   ├── num v0.2.1
    │   │   │   ├── num-bigint v0.2.6
    │   │   │   │   ├── num-integer v0.1.42
    │   │   │   │   │   └── num-traits v0.2.11
    │   │   │   │   │       [build-dependencies]
    │   │   │   │   │       └── autocfg v1.0.0
    │   │   │   │   │   [build-dependencies]
    │   │   │   │   │   └── autocfg v1.0.0 (*)
    │   │   │   │   └── num-traits v0.2.11 (*)
    │   │   │   │   [build-dependencies]
    │   │   │   │   └── autocfg v1.0.0 (*)
    │   │   │   ├── num-complex v0.2.4
    │   │   │   │   └── num-traits v0.2.11 (*)
    │   │   │   │   [build-dependencies]
    │   │   │   │   └── autocfg v1.0.0 (*)
    │   │   │   ├── num-integer v0.1.42 (*)
    │   │   │   ├── num-iter v0.1.40
    │   │   │   │   ├── num-integer v0.1.42 (*)
    │   │   │   │   └── num-traits v0.2.11 (*)
    │   │   │   │   [build-dependencies]
    │   │   │   │   └── autocfg v1.0.0 (*)
    │   │   │   ├── num-rational v0.2.3
    │   │   │   │   ├── num-bigint v0.2.6 (*)
    │   │   │   │   ├── num-integer v0.1.42 (*)
    │   │   │   │   └── num-traits v0.2.11 (*)
    │   │   │   │   [build-dependencies]
    │   │   │   │   └── autocfg v1.0.0 (*)
    │   │   │   └── num-traits v0.2.11 (*)
    │   │   ├── openssl v0.10.28
    │   │   │   ├── bitflags v1.2.1
    │   │   │   ├── cfg-if v0.1.10 (*)
    │   │   │   ├── foreign-types v0.3.2
    │   │   │   │   └── foreign-types-shared v0.1.1
    │   │   │   ├── lazy_static v1.4.0
    │   │   │   ├── libc v0.2.66 (*)
    │   │   │   └── openssl-sys v0.9.54
    │   │   │       └── libc v0.2.66 (*)
    │   │   │       [build-dependencies]
    │   │   │       ├── autocfg v1.0.0 (*)
    │   │   │       ├── cc v1.0.50
    │   │   │       └── pkg-config v0.3.17
    │   │   ├── sha1 v0.6.0
    │   │   └── sha2 v0.8.1
    │   │       ├── block-buffer v0.7.3
    │   │       │   ├── block-padding v0.1.5
    │   │       │   │   └── byte-tools v0.3.1
    │   │       │   ├── byte-tools v0.3.1 (*)
    │   │       │   ├── byteorder v1.3.2
    │   │       │   └── generic-array v0.12.3
    │   │       │       └── typenum v1.11.2
    │   │       ├── digest v0.8.1
    │   │       │   └── generic-array v0.12.3 (*)
    │   │       ├── fake-simd v0.1.2
    │   │       └── opaque-debug v0.2.3
    │   └── grammers-tl-types v0.1.0 (*)
    ├── grammers-mtsender v0.1.0
    │   ├── getrandom v0.1.14 (*)
    │   ├── grammers-crypto v0.1.0 (*)
    │   ├── grammers-mtproto v0.1.0 (*)
    │   └── grammers-tl-types v0.1.0 (*)
    ├── grammers-session v0.1.0
    ├── grammers-tl-types v0.1.0 (*)
    ├── locate-locale v0.1.0
    └── os_info v1.3.3
        ├── log v0.4.8
        │   └── cfg-if v0.1.10 (*)
        ├── regex v1.3.4
        │   ├── aho-corasick v0.7.8
        │   │   └── memchr v2.3.0
        │   ├── memchr v2.3.0 (*)
        │   ├── regex-syntax v0.6.14
        │   └── thread_local v1.0.1
        │       └── lazy_static v1.4.0 (*)
        ├── serde v1.0.104
        └── serde_derive v1.0.104
            ├── proc-macro2 v1.0.8
            │   └── unicode-xid v0.2.0
            ├── quote v1.0.2
            │   └── proc-macro2 v1.0.8 (*)
            └── syn v1.0.14
                ├── proc-macro2 v1.0.8 (*)
                ├── quote v1.0.2 (*)
                └── unicode-xid v0.2.0 (*)

➜  grammers git:(master) cargo tree | wc -l
106

PS: tool used to generate the tree cargo-tree
What this shows us?
Well clearly the grammers-client is the one which holds the entire list of dependencies at this point. A total count of 105.

Some suggestions,

maybe move to https://github.com/ctz/rustls over openssl (not fond of bindings in general) pretty much the only thing that makes this a non-native rust project
start using serde in the sessions crate as it's pretty much already a non-removable dependency from what I can tell.
log is also a dependency already so that makes the choice for logging easier.

I have tried to keep the dependencies to a minimum, and also tried to choose those with the smallest amount of dependencies themselves. But it's surprising the list is so large.

The client queries the OS information and locale because Telegram's API asks for this information, and we want to provide an accurate default (currently os_info and locate_locale).
The crypto module deals with encryption, hashing, secure random and makes use of big integers, although we can probably merge the sha dependencies into a single one.
The mobile protocol also needs to generate secure random session identifiers, and needs to (de)compress Telegram's messages, explaining random and flate2.
The type language parser uses crc32 for inferring the definition IDs, which some lack.

Of course, the top-level library depends on lower-level libraries.

Some work in this area:

https://github.com/Lonami/grammers/commit/c8b492f91475e42bc316e2562a3f6baa4db3e280
https://github.com/Lonami/grammers/commit/59f638d3a839e83bcd42043e20fb1dcbb919dd36

After https://github.com/DarkEld3r/os_info/pull/144 is merged we will cut down on a few extra lines.

I've been putting some time into trimming down the dependency tree (https://github.com/Lonami/grammers/commit/67f09912e1b8735e5a2202b5c17c8be6097240dd, https://github.com/Lonami/grammers/commit/09f6b522699bb1e09c6ab2818738159625d8c44b, https://github.com/Lonami/grammers/commit/83c7157c7a33e7b69dcd178356f5f7a38ba3cc48) and documenting why each of the dependencies we use is needed (https://github.com/Lonami/grammers/commit/9e4a17c8bfb8e43a47bc1180a6ab6b4881320574).
I'm happy with the current state of the tree, so I'll close this issue, but if anyone wants to replace a dependency with a lighter one or to merge similar dependencies into a common one, I'll be more than welcome to review a pull request. (You may also send a pull request to the repositories of said dependencies and help every crate using them, like I did with os_info!)

authors: Lonami swarnimarun

repo: Lonami/grammers


text:
If no hostnames detected from bindings, allow hostname to be specified manually

I run my IIS sites without a hostname.
Your program is therefore unable to detect the hostname (understandably). It presents me with various different options, and I must select manual mode.
Instead, a better option would be to show the IIS site, and prompt manually for the hostname.
Thanks for your great program.

I'll look into this when refactoring the IIS plugins for the next release.

I've looked into this, but it's actually pretty difficult to implement, especially when properly matching the certificate to the binding during renewal. In my opinion it would require at least one extra field in the internal representation of a target and a bunch of logic changes in different places.
Perhaps at some point in the future this will become easier as we refactor the code to be more flexible, but right now I'm removing this from the v1.9.5 milestone.

You can do it in v1.9.7 by creating the certificate on another binding (might even be another website) and then link it to the hostless binding. After this initial manual step LEWS will keep the host-less binding updated after renewal.

@WouterTinus How would that work -- wouldn't LE issue to the certificate for the wrong hostname then?

You would have to create a binding on port 80 somewhere with the correct hostname configured. It's not the perfect solution yet, but it's at least a way to get auto-renewing certificates set up on hostless bindings :).

It has to be on port 80? But then that will conflict with the user's existing binding...

Yes it has to be port 80, but it can be on the same site as the hostless binding so that it doesn't conflict; all traffic would still go to the same site.

authors: WouterTinus bandleader

repo: Lone-Coder/letsencrypt-win-simple


text:
Test API to work on Loopring Pay UI without paying real world ETH

Hi. I'm working on the Loopring Pay UI bounty, and I thought that it would be nice having a testnet on which to try on-chain operations such as deposit and balance (even more so now that the gas price is literally mooning).
I've been informed by Matt that your SCs are deployed on Goerli, and that's super good, but the Loopring's REST API seems to be referring to the mainnet on-chain activity only. Is there a specific test API (and subsequently relayer network) working in Goerli which we can use to experiment a little bit?

You can update https://github.com/Loopring/dexwebapp/blob/master/src/lightcone/config/config.json#L9
Using prod:
  "prodServerUrl": "api.loopring.io",
  "prodWsUrl":"ws.loopring.io",

Using Testnet:
  "prodServerUrl": "uat.loopring.io",
  "prodWsUrl":"ws.uat.loopring.io",

Quickly tried with the /api/v2/exchange/info API and it worked like a charm. Thank you very much for the fast reply, I appreciate it!

authors: luzzif xiaowheat

repo: Loopring/dexwebapp


text:
Fc36 update

2 changes
fix the linker and
then new patch for crashes on 3.4

Excellent, thank you!

https://copr.fedorainfracloud.org/coprs/lorbus/rspamd/build/5044291/

authors: LorbusChris ajayramaswamy

repo: LorbusChris/rspamd-rpm


text:
🛑 [IRC] SSL Round Robbin is down

In c0b4c39, [IRC] SSL Round Robbin (irc.digitalirc.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: [IRC] SSL Round Robbin is back up in f099542 after 15 minutes.

repo: LordRandom/digitalirc-status


text:
🛑 Pog Bot is down

In 110c10d, Pog Bot ($BOT_PING_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Pog Bot is back up in df458d7.

repo: LordRonz/status


text:
🛑 Link Shortener is down

In 3158054, Link Shortener (https://lr-link.vercel.app) was down:

HTTP code: 504
Response time: 10642 ms

Resolved: Link Shortener is back up in 77de7f1.


text:
🛑 Link Shortener is down

In 7a3ed41, Link Shortener (https://lr-link.vercel.app) was down:

HTTP code: 500
Response time: 3331 ms

Resolved: Link Shortener is back up in a5cf5eb after 7 minutes.


text:
Added support for source directory environment variable

See issue #1 for more information. I've added the command line -sourcedirectory (or environment variable SOURCEDIRECTORY), which allows the user to change the directory in which the git command is executed.
P.S.: The documentation doesn't mention the environment variables, but they are great!

Thanks! Good point about the env vars, will document.

authors: LoremFooBar erwin-faceit


text:
make searchbar lose the focus after selection

You can try making the searchbar lose the focus after selection, using something like:
FocusScope.of(context).unfocus();
Maybe we should do this in the package too (it possibly will fix another problem)...
Originalmente postado por @Macacoazul01 em https://github.com/Lorenzobettega/simplesearchdropdown/issues/21#issuecomment-1843767230

Review if this correction is needed after 4.1.0, because the main problem was fixed

repo: Lorenzobettega/simplesearchdropdown


text:
Add JSON Config File Parsing

Resolves #11
Added support for -c, --config flag to specify path to a config file.
The config file can contain the required and optional arguments in JSON format.
This will override any options specified as command line arguments.
Supported options are input path and lang attribute. Any additional arguments will be ignored.

Added new config option help to Readme file

repo: LostButton/my-button-ssg


text:
Victron ESS work discharge when grid connected to loads

Describe the problem
What are the full set of settings for the Victron with grid connection and ESS  is activated.
DVCC tuned on
Under the battery settings the IO is showing all off?
As the battery wont discharge to the loads when connected to the grid, but works OK off grid?
Battery type is a EG4
EG4® LiFePower4 | 24V 200AH Lithium Iron Phosphate Battery
Driver version
latest ver
Venus OS device type
Raspberry Pi
Venus OS version
release V3.13
BMS type
Smart BMS (LLT, JBD, Overkill Solar)
Cell count
?
Connection type
Raspberry Pi RS485 HAT
Config file
v

Relevant log output
v

Any other information that may be helpful
v

Please read the issue form carefully and fill out all needed informations. Additionally I think your question would be better to be asked in the Victron Community.

authors: RobDuthie mr-manuel

repo: Louisvdw/dbus-serialbattery


text:
Ugoira cannot display

http://pixiv.moe/illust/65123727

Pixiv's ZipImagePlayer
https://github.com/pixiv/zip_player


text:
Lock out of operations when in status 1

Have DJ Controls lock out of the WWSU Operations model when a subsystem is reporting a status of 1 (critical). Generally speaking, when a status 1 exists, attempts to change states etc will likely fail (especially if the server has no connection to any RadioDJs).
Note: Do not use an entire overlay like we do when DJ Controls actually loses connection.

[ ] Implement

[ ] Test

Rejected; a critical status does not always mean a DJ cannot go live (but usually does).

repo: Lovinity/wwsu-dj-controls


text:
problem with addons

Which OS are you using?
Windows
Expected Behaviour
not working
Actual Behaviour
I also see the following error with addons
[2024-10-20 20:24:24] |    WARN   |        Addon       | Failed to apply settings of "trilogyloader"
[2024-10-20 20:24:24] |    WARN   |        Addon       | [20:24:24.361][error][#0]: script\config\config.lua:136: unknown key: [lua]
stack traceback:
	[C]: in function 'assert'
	script\config\config.lua:136: in function 'config.config.prop'
	script\client.lua:536: in function 'client.setConfig'
	script\core\command\setConfig.lua:10: in function 'core.command.setConfig'
	(...tail calls...)
	[C]: in function 'xpcall'
	script\proto\proto.lua:202: in function <script\proto\proto.lua:177>

Reproduction steps

Go to Addon Manager
Click Enable
See error

Additional Notes
No response
Log
No response

It appears that the config.json for that addon is malformed and will need an update.
See the wiki for how it should be formatted: https://luals.github.io/wiki/addons/#configjson

authors: carsakiller fokichevskiy

repo: LuaLS/vscode-lua


text:
Is copying Image to clipboard Supported in ios

Describe the bug
@LuanEdCosta , I am trying to implement copying an image. It worked fine in Linux.
Failed in ios with an error saying The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission. in both chrome and safari.
Same thing happened with the given demo: https://luanedcosta.github.io/copy-image-clipboard/
Isn't it suported in ios?
Browsers (please complete the following information)
Browser name: Safari
Version: 15.6
Browser name: Chrome
Version: 104.0.5112.88
Expected behavior
To be able to copy image
Screenshots
If applicable, add screenshots to help explain your problem.

Hi @harshiniravula,
According with MDN Docs Safari has full support to the Clipboard API since version 13.1. Chrome also has full support for the Clipboard API since version 66.
I think that the problem is not browser support.

Some browsers only enable the Clipboard API under secure contexts (HTTPS)

But you said that the demo is also not working, so that's not the problem.

The problem could be a lack of permissions, but MDN Docs says:

https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/write

Possible Solutions

I exported the function requestClipboardWritePermission to request the "clipboard-write" permission (Exame from docs). Try to use it before calling the copy function.
Check if the user can copy an image to clipboard with the canCopyImagesToClipboard function. You can hide or disable the copy button from the user. (Example from docs).

I will try to reproduce this error. Thanks for creating this issue :smile:.

@LuanEdCosta Thanks for the quick response. Yeah I tried using requestClipboardWritePermission it gives false though I am using recent versions of Chrome and Safari in ios.

@LuanEdCosta I'm using the last version of the browser and I have the same issue in iOS and macOS Safari

I can copying an image inside Chrome on macOS, but not with Safari. I checked the method requestClipboardWritePermission() implementation, it calls navigator.permissions.query() to get the state of the permission only. It does not further ask the browser to grant the permission to access the apis.

This is a known issue in safari.
To fix it, you have to pass your promise directly into ClipboardItem, like this:
new ClipboardItem({
  'image/png': (async () => {
    const response = await fetch(`${imageSource}`) // Reference from your source code.
    return await response.blob()
  })(),
})

This workaround worked in my project.

Thanks @Codennnn for figuring out a solution.

I would like to test some things to see if this problem can be solved with minimum changes, but unfortunately I don't have a Mac anymore, so I will see if it is possible to test in safari with Playwright.

Hi,
Thanks @Codennnn! That workaround saved me hours of tries 😎
@LuanEdCosta I tested this codepen I wrote to test Codennnn workaround, both in mobile Safari (ver 17.2) and mobile Chrome (ver 120) on an iPhone 15 pro. I works.
The issue both on Safari and Chrome as pointed by @Codennnn but also with Chrome too on mobile devices as confirmed by some tests i run using your codepen.
And the error is
"The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission"

I use VueJS, and tried to copy in clipboard jpeg image like this:
await CopyImageClipboard.copyImageToClipboard(jpegImageSource)
But this didn't work in IOS safari, coz The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.
So, I combined @Codennnn solution with CopyImageClipboard library and it started work:
const makeImagePromise = async () => {
   const blob = await CopyImageClipboard.getBlobFromImageSource(jpegImageSource);

   if (CopyImageClipboard.isJpegBlob(blob)) {
     return CopyImageClipboard.convertBlobToPng(blob);
   }
   else if (CopyImageClipboard.isPngBlob(blob)) {
      return blob;
   }
}

navigator.clipboard.write([new ClipboardItem({ "image/png": makeImagePromise() })])
  .then(function () { console.log('copied'); })
  .catch(function (error) { console.log(error); });

Looks, not so good, but copying works. Maybe this will be helpfull for someone.

authors: Codennnn LuanEdCosta Slame1121 harshiniravula nathanwkwong oprog paas10

repo: LuanEdCosta/copy-image-clipboard


text:
Switch Theme

About the task
Actually, the application is not having switch theme. And our client would like to have this option on the website.
Objective about this task

Integrate a switch theme in application, switching between light and dark theme.
Create dynamic color variables.
Save the state about the theme in Local Storage Browser.

Create a task to define a dynamic colors when the switch theme is active on the website

Using the Phosphor Icon library with icons library.

Switch theme adds in website.

Pull request approved


text:
Some Minecraft blocks are missing

dried kelp block
smithing_table
Blast furnace
Loom
Smoker
Beehives
Bee nests
respawn anchor

Also add newly supported 1.20.1 blocks in the the ALL_PALETTE

repo: LucasDower/ObjToSchematic


text:
Cannot set property 'parentContext' of undefined

ReactDOM.render(<MyComponent />, container)

get error:
Uncaught TypeError: Cannot set property 'parentContext' of undefined

function initVcomponent(vcomponent, parentContext, namespaceURI) {
	    var Component = vcomponent.type;
	    var props = vcomponent.props;
	    var uid = vcomponent.uid;

	    var componentContext = getContextByTypes(parentContext, Component.contextTypes);
	    var component = new Component(props, componentContext);
	    var updater = component.$updater;
	    var cache = component.$cache;
            // cache is undefined!
	    cache.parentContext = parentContext;

Can you add a simple demo for producing this problem?
For you know, if you use babel6 to transform es2015 classes and run in IE9/10, there is a trouble super constructor would not be calling.

I use  babel6 to transform es2015 classes, but I run code in chrome 52.

@Lucifier129 you are right. I removed es6 class syntax and the error gone.
However, it's disappointed if not support class feature...

FYI, #75

great


text:
🛑 cleanData is down

In 033eefe, cleanData ($CLEAN_DATA_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: cleanData is back up in fa62ddd.


text:
Update README.md

Submission type

[ ] This submission adds a new dataset
[ ] This submission adds a new method
[ ] This submission adds a new metric
[ ] This submission adds a new task
[ ] This submission adds a new Docker image
[ ] This submission fixes a bug (link to related issue: )
[ ] This submission adds a new feature not listed above

Testing

[ ] This submission was written on a forked copy of SingleCellOpenProblems
[ ] GitHub Actions "Run Benchmark" tests are passing on this base branch of this pull request (include link to passed test: )
[ ] If this pull request is not ready for review (including passing the "Run Benchmark" tests), I will open this PR as a draft (click on the down arrow next to the "Create Pull Request" button)

Submission guidelines

[ ] This submission follows the guidelines in our Contributing document
[ ] I have checked to ensure there aren't other open Pull Requests for the same update/change

was this to test the GA workflow, or sth you wanted to have changed?

Sorry, should have just re-run the workflow

authors: LuckyMD dburkhardt

repo: LuckyMD/SingleCellOpenProblems


text:
pin selection

Sorry for the newbe question here. I have a raspberry 3b plus and using pin 1 for the 3v3 power, pin 9 for the ground and tried pins 13,15 for the last wire. I am unable to get this to work.

I constantly get sensor triggered but no filament detected. Ender 5 plus, running latest Octoprint, using this plugin.

Hello,
as you have picked GPIO you need to choose the correct number for it. Pin 13 (physical) = GPIO No. 27 and Pin 15 (physical) = GPIO No. 22! If you got a 3 pin connector make sure using the right pins: VSG or VGS (V: Volt=3,3V Pin) (S: Signal=GPIO Pin that you choose) (G: Ground, is obviously). Also depending on your sensor, if it's NO=Normaly Open or NC=Normaly Closed, this is basically the unused status, if unsure try both switch types in the dropdown menu and test.
Hope this helps.


text:
No type after converting array model from swagger 1.2 to 2.0

First, thanks for this awesome tools, it really helps when we want to use swagger-codegen from swagger 1.2.
Unfortunately we faced with an issue where the resulting swagger 2.0 missing the type field if it is an array of object.
So here is the source spec:
{
    "items": {
        "type": "ShippingCostRequest",
        "absoluteType": "ShippingCostRequest"
    },
    "absoluteType": "array",
    "name": "body",
    "description": "requestList",
    "defaultValue": "",
    "required": false,
    "allowMultiple": true,
    "paramType": "body",
    "paramAccess": null
}

and here is the corresponding result:
{
  "description": "requestList",
  "in": "body",
  "name": "body",
  "required": false,
  "schema": {
    "items": {
      "$ref": "#/definitions/ShippingCostRequest"
    }
  }
}

*rest of the json is omitted for simplicity.
Using this converted json in swagger-codegen give me NPE and after I do some debugging, I found out there is missing field here that is: "type": "array"
After I add it:
{
  "description": "requestList",
  "in": "body",
  "name": "body",
  "required": false,
  "schema": {
    "type": "array",
    "items": {
      "$ref": "#/definitions/ShippingCostRequest"
    }
}

Then the codegen running fine.
So even without considering codegen the fact that the type is missing is already an issue.
Kindly let me know if there is already a fix for this or if it is will be fixed.
Thanks.

Hi Bobby,
Ok sure, I have filed an issue there https://github.com/apigee-127/swagger-converter/issues/80.
Thanks!
Henry

repo: LucyBot-Inc/api-spec-converter


text:
Added ReferenceLine Component

Added ReferenceLine Component. There might be improvements in the future because currently the calculcation or scaling of points is not satisfying.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: Lueton/react-sparklines


text:
[Crash] Cannot rotate camera + viewport

Tested via angle value changing - instant crash with little delay
Current thread: Main Script stack:                recalc_locals()  @mods/BeardLib-Editor/Classes/Map/StaticEditor.lua:718              recalc_all_locals()  @mods/BeardLib-Editor/Classes/Map/StaticEditor.lua:711                    select_unit()  @mods/BeardLib-Editor/Classes/Map/StaticEditor.lua:897                  mouse_pressed()  @mods/BeardLib-Editor/Classes/Map/StaticEditor.lua:74                    mouse_press()  @mods/BeardLib-Editor/Classes/MapEditor.lua:283                       mouse_press()  487                                                                                lib/managers/mousepointermanager.lua:339
This happens because I changing angle on script-points, props can be operated safely.
Also guaranteed crash on object renaming (turning one object into another w/o spawning new and aligning on place of old one). Happening only if you didn't save map right before.

Cannot reproduce, I also have no idea what you mean by object renaming

Put a cursore in unit name textbox, change path + name to another unit. See the unit swapping or crash. And for 1st - I gonna check without other mods.

Make a detailed issue for the other issue, do not combine issues. I am closing it for now until you will return with result of the check.

authors: Dushess Luffyyy ontrigger

repo: Luffyyy/BeardLib-Editor


text:
Inconsistent version numbers

Hi,
the version numbers are pretty inconsistent :kissing_smiling_eyes:
Badge in Readme:

Current npm release:

Current bower release:

Git Tags / Github releases:

How to solve this

Clean up Git tags

Ad least I would do a

git tag -d v0.1.0.0
git push origin :refs/tags/v0.1.0.0

Automate releasing
Use a dynamic badge in the readme

Either based on Git tags
Or based on npm releases

I’m willing to help you clean up that mess 😘

[x] github badge
[ ] github release
[ ] bower package
[x] npm version

authors: LukyVj mischah

license: isc


text:
how to calculate entropy of boxes we don't know the confidence of all classes?

Hi, thanks for your great work.
I have a question about  Concise Label Sampling stage.
When we calculate the entropy of a box, confidence of each box of all classes must be known. However, for some anchor-free detection models (such as CenterPoint), we only know the confidence of the class the model predicts. In this case, how can we get the entropy?
Thanks.

Hi lcc815,
Thanks for your question. Actually, we calculate the distribution of all predicted bbox labels in each point cloud (refer to Eq(4), rather than the confidence for all classes. Please refer to https://github.com/Luoyadan/CRB-active-3Ddet/blob/7dc8a81d2ee6c6e2daeec66474e37e16bc92d1a1/pcdet/query_strategies/crb_sampling.py#L91 and see the implementation details. As long as we have the predicted label for each bbox, we can calculate the estimated entropy.

Please let me know if you have any questions :)
Cheers,
Yadan

Aha! Got it!
Btw, is there any plan to release your pre-trained model?

No problem. We will move the checkpoints to Google Drive and provide the shared link shortly.


text:
🛑 EnderChest（末影箱-云盘） is down

In bd1b0d6, EnderChest（末影箱-云盘） (https://enderchest.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EnderChest（末影箱-云盘） is back up in cecf3dc after 6 minutes.

repo: LxnChan/status


text:
🛑 EnderChest（末影箱-云盘） is down

In 44feee8, EnderChest（末影箱-云盘） (https://enderchest.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EnderChest（末影箱-云盘） is back up in 3ab6d9c after 5 minutes.


text:
🛑 EnderChest（末影箱-云盘） is down

In 6ece9b6, EnderChest（末影箱-云盘） (https://enderchest.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EnderChest（末影箱-云盘） is back up in ea33d19 after 12 minutes.


text:
🛑 Official（泠泫凝的异次元空间-主页） is down

In 97c8a7f, Official（泠泫凝的异次元空间-主页） (https://lxnchan.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Official（泠泫凝的异次元空间-主页） is back up in 5a96cd6 after 31 minutes.


text:
🛑 EnderChest（末影箱-云盘） is down

In c9f5b97, EnderChest（末影箱-云盘） (https://enderchest.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EnderChest（末影箱-云盘） is back up in 8af0c7f after 12 minutes.


text:
🛑 EnderChest（末影箱-云盘） is down

In 8857420, EnderChest（末影箱-云盘） (https://enderchest.anavi.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: EnderChest（末影箱-云盘） is back up in 2b75a6a after 5 minutes.


text:
🛑 Official（泠泫凝的异次元空间-主页） is down

In d04e608, Official（泠泫凝的异次元空间-主页） (https://lxnchan.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Official（泠泫凝的异次元空间-主页） is back up in c0a8ee5 after 22 minutes.


text:
🛑 Official（泠泫凝的异次元空间-主页） is down

In e8deb6e, Official（泠泫凝的异次元空间-主页） (https://lxnchan.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Official（泠泫凝的异次元空间-主页） is back up in 7dc6f61 after 8 minutes.


text:
🛑 Documentation Page is down

In 0d163a0, Documentation Page (https://docs.lyrid.io/img/lyridsvg.svg) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Documentation Page is back up in 827292c after .

repo: LyridInc/statuspage


text:
Issue with File Attachment in M-Files Vault using MFWSClient

Library Version: 2.0.2-issue-20
M-Files Admin Version:23.9.12966.6
M-Files Server Version: 23.6.12695.4
Context:
Currently, I am working on implementing a file upload feature that allows users to select a file, define some property definitions, and upload it to the M-Files Vault. While the creation of a new document object is working smoothly (I followed the sample on GitHub on how to create a new object), I am encountering difficulties when it comes to appending the file to the object.
I came across the Client.ObjectFileOperations.AddFiles() function, but it returns a JSON error.
“The JSON value could not be converted to System.Collections.Generic.List`1[MFaaP.MFWSClient.UploadInfo]. Path: $ | LineNumber: 0 | BytePositionInLine: 1.”
MFilesUploadExample.zip

The issue occurs because, if there's only one file in the collection, the REST API returns a different value.  I will look at this.

Are you able to test this release, please?
https://www.nuget.org/packages/MFaaP.MFWSClient/2.0.0-issue-26

Thank you! I received this issue:

The CreateNewObject() function has returned a valid ID and files variable contains the correct file

I will continue to look at this next week, I apologise that didn't help.

No problem. Thank you very much for your help

So that specific bit is an bug in your application.  At the moment you're passing a version of zero into the AddFiles method.  You should be passing null.
Changing that then - using the version of the library I published above - added the files to the object.

Nice, it works now after changing the 0 to null. Thank you a lot+

These changes are in https://www.nuget.org/packages/MFaaP.MFWSClient/23.10.0.15-prerelease (currently being validated by nuget).


text:
🛑 CTRPro is down

In dd85ac5, CTRPro (https://ctrpro.co) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CTRPro is back up in 897aa1c after 16 minutes.


text:
🛑 Blog Cyberlife is down

In 5b5c98f, Blog Cyberlife (https://cyberlife.blog) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Blog Cyberlife is back up in bda6ab7 after 7 minutes.


text:
Dry run commit for cron job execution

Creating a draft PR to track the updates of the PyTest tests

Addresses https://github.com/NASA-IMPACT/active-maap-sprint/issues/705

A test run is expected tomorrow (August 10, 2023) at 1400 UTC (0900 AM CT) on the tests-infra-pytest branch.

repo: MAAP-Project/maap-eoapi


text:
実行functionの記載漏れ

mchを使ったベンチマーク#タグ,スコア,チームの付け消し
非常に細かい指摘ですがmchを使ったベンチマークのタグ,スコア,チームの付け消しのところの実行ファンクションCが記載されていません。

ありがとうございます！修正しました！

authors: RuskEocssar Suyarumi

repo: MCJE-Tech-Shares/Datapack-WIki


text:
ReplaceToBiomeName broken on Minecraft 1.9

Instead of changing the biome into the requested biome, the biome is changed in what seems to be the output of the vanilla biome generator.
Techical details
Previously, the BiomeBase class had a field called 'id'. For custom biomes with ReplaceToBiomeName set (the so-called virtual biomes), we set this 'id' field to the id of the biome to replace to. This caused the biome to be saved (and sent to the client) as the biome specified in ReplaceToBiomeName.
This clever hack, which makes biomes with ids higher than 255 possible, no longer works in Minecraft 1.9. The id field is gone from BiomeBase. Instead, the biome id is fetched from a biome registry. As virtual biomes are not added to the registry, the registry returns -1 as the biome id for those biomes. This causes Minecraft to regenerate the biome, this time using some non-TC generator.
In other words, we need a new hack.
If the registry used a Map<BiomeBase, Integer>, we could just add our virtual BiomeBase there. Instead, the getId method (called BiomeBase.a(BiomeBase), a static method) seems to do a linear search through the registry. I don't know the details of this yet (there seem to be two BiomeBase[] arrays in the registry).
If addition to the existing registry turns out to be be impossible, we need to write a biome registry  ourselves, and inject it the BiomeBase class. This is not possible on Forge, as we could break other mods when doing this.
If anyone has another idea, please post it here.

Fixed in https://github.com/MCTCP/TerrainControl/commit/bce4c345b942f11bdc6ae1b27a0aa41aef1b0d37
The registry with all the arrays (called RegistryID in Spigot) turned out to be a IntIdentityHashBiMap(MCP name). Registering the virtual biome, then re-registering the original biome did the trick.

repo: MCTCP/TerrainControl


text:
Key error in data structure

I didn't look into this in detail, but the previous version didn't match the data structure.
P.s. Could you please also make releases of this repo, or at least tag versions every now and then? It's difficult to integrate this in a workflow when you cannot pin versions. Thanks!

this has been resolved already

authors: rasmusagren teharrison

repo: MG-RAST/MG-RAST-Tools