The termguicolors option must be set

Hi there,
I love the theme, but can't seem to get it to work. I'm not sure what the problem is, I've tried following articles and suggestions from various sources. The issue is when I start vim, it prints out  the following and the colour scheme does not change:
The termguicolors option must be set
Press ENTER or type command to continue

I'm using iTerm2 build 3.3.9 and vim version 8.1.1312. My iTerm report terminal type is set to xterm-256color. My OS is macOS Catalina 10.15.3.
My .vimrc: https://github.com/macguirerintoul/dotfiles/blob/master/.vimrc
" Plug setup
call plug#begin()
Plug 'sheerun/vim-polyglot'
Plug '/usr/local/opt/fzf'
Plug 'junegunn/fzf.vim'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
Plug 'preservim/nerdtree'
Plug 'jiangmiao/auto-pairs'
Plug 'dense-analysis/ale'
Plug 'bluz71/vim-nightfly-guicolors'
call plug#end()

" syntax enable
set background=dark

" set Vim-specific sequences for RGB colors
set termguicolors
let &t_8f = "\[38;2;%lu;%lu;%lum"
let &t_8b = "\[48;2;%lu;%lu;%lum"

colorscheme nightfly

" Configure NERDTree
let NERDTreeShowHidden=1

" Configure ALE
let g:ale_fixers = {'javascript': ['eslint'], 'scss': ['stylelint']}
let g:ale_fix_on_save = 1
let g:ale_lint_on_text_changed = 'never'
let g:ale_lint_on_insert_leave = 0

" Ctrl + n toggles NERDTree
map <C-n> :NERDTreeToggle<CR>
" Ctrl + p opens fzf in git files mode
map <C-p> :GFiles<CR>
set tabstop=2 " set display width of tab
set softtabstop=1
set cursorline
set wildmenu
set showmatch
" turn hybrid line numbers on
:set number relativenumber
:set nu rnu

Any suggestions?

Add "set termguicolors" in your vimrc file.

Hi @bluz71, it's there on line 17. Directly under " set Vim-specific sequences for RGB colors

Sorry I did not see termguicolors in the middle of your vimrc. My bad
Let me stew on this.

Please move:
set termguicolors

to the very top of your .vimrc file and try again. It needs to be set before you load the nightfly plugin.
Let me know if that fixes it or not.

Unfortunately that did not fix it.

Ok, drastic action needed. Please cut your ~/.vimrc back to this minimal configuration:
set termguicolors

call plug#begin()
Plug 'bluz71/vim-nightfly-guicolors'
call plug#end()

colorscheme nightfly

Does that work?

Unfortunately not 😕 I still get the following message:
The termguicolors option must be set
Press ENTER or type command to continue

Something very strange is happening. I don't understand why the error message is being emitted. I am testing with 8.2 in iTerm 3.3.9 on Catalina and nightfly works just fine.
What happens with this ~/.vimrc configuration:
set termguicolors

if !has("gui_running") && !exists('&termguicolors')
    echomsg "A modern version of Vim with termguicolors is required"
    finish
elseif !has("gui_running") && !&termguicolors
    echomsg "The termguicolors option must be set"
    finish
endif

Also, what happens if you use Neovim instead of Vim?
For seamless Neovim usage with your existing Vim setup please create the file ~/.config/nvim/init.vim with the content:
set runtimepath^=~/.vim runtimepath+=~/.vim/after
let &packpath = &runtimepath
source ~/.vimrc

Lastly, please test with a version of Vim 8.2 instead of 8.1.1312.

Hmm. So using Vim 8.1.1312 (default I had on my Mac) and the latest .vimrc you provided, it still prints The termguicolors option must be set. However, I ran brew install vim and upgraded to 8.2.0400 and my original .vimrc works beautifully. Thanks for all your help!

Strange one. It seems like your Vim 8.1.1312 may have been slightly broken?
Anyway, problem solved, and that's always a good thing.
Stay safe.

fwiw, a similar thing happened to me, with vim 8.0 on macos, termguicolors was definitely working but not with your plugin and it gave that error message (it actually gave the message twice every time).  i reinstalled vim via homebrew and now it works, with no further changes to my .vimrc.  thanks for the colorscheme, it's lovely!

I just test the macOS Big Sur native version of Vim ......AND it is super weird.
It claims to be Vim 8.2 but the termguicolors option appears to be a non-operation. I tried the nord theme and it is broken with the macOS Vim.
If I use Homebrew Vim or standard Neovim everything just works.
I think Apple stripped out termguicolors back-end, or some such. Whatever happened, it is definitely broken with respect to termguicolors.
With that knowledge, I have updated the startup error for the nightfly theme to:
The termguicolors option must be set.
Be aware macOS default Vim is broken, use Homebrew Vim instead.

Thanks for letting me know, this little update should help future macOS users of this theme.
Cheers.


Vet clinic database: create animals table

Hi there 👋,
In this particular project, I:

Use this template to generate my repo.

Create a database named vet_clinic.

Create a table named animals with the following columns:

id: integer
name: string
date_of_birth: date
escape_attempts: integer
neutered: boolean
weight_kg: decimal

Copy the SQL I used in the previous point into the schema.sql file in the generated repository.

Insert the following data:

Animal: His name is Agumon. He was born on Feb 3rd, 2020, and currently weighs 10.23kg. He was neutered and he has never tried to escape.
Animal: Her name is Gabumon. She was born on Nov 15th, 2018, and currently weighs 8kg. She is neutered and she has tried to escape 2 times.
Animal: His name is Pikachu. He was born on Jan 7th, 2021, and currently weighs 15.04kg. He was not neutered and he has tried to escape once.
Animal: Her name is Devimon. She was born on May 12th, 2017, and currently weighs 11kg. She is neutered and she has tried to escape 5 times.

Copy the SQL I used in the previous point into the data.sql file in the generated repository.

Write queries for the following quests:

Find all animals whose name ends in "mon".

List the name of all animals born between 2016 and 2019.

List the name of all neutered animals with less than 3 escape attempts.

List the date of birth of all animals named either "Agumon" or "Pikachu".

List name and escape attempts of animals that weigh more than 10.5kg

Find all animals that are neutered.

Find all animals not named Gabumon.

Find all animals with a weight between 10.4kg and 17.3kg (including the animals with weights that equals precisely 10.4kg or 17.3kg)

Copy the SQL I used in the previous point into the queries.sql file in the generated repository.

Thank you @sja-thedude,


add keep smpp session support

I have added feature to keep smpp session. I tested on the real system with Mavenir's smsc.
usage:
Properties properties = new Properties();
properties.setProperty("ogham.sms.smpp.host", "host");
properties.setProperty("ogham.sms.smpp.port", 1234);
properties.setProperty("ogham.sms.smpp.system-id", "system-id");
properties.setProperty("ogham.sms.smpp.password", "password");
properties.setProperty("ogham.sms.from", "44333333333");

MessagingService service = MessagingBuilder.standard()
                .sms()
                    .sender(CloudhopperBuilder.class)
                        .environment()
                            .properties(properties)
                            .and()
                        .keepSession(true)
                        .and()
                    .and()
                .build();

Thank you for your contribution.
I need to take some time to review your code.
Could you use the same indentation (tabs) and comment formatting as the rest of the project ?

Hello, I read your PR and I think we can achieve the same purpose without a new client and handler implementations. In order to ensure that, could you tell me the tests you have done with Mavenir's smsc ?

Your PR has been used to handle several session strategies.
The branch features/smpp/keep-alive contains the code to maintain a session opened. You can try it if you want. It will soon be merged in develop branch.
Thank you very much for your contribution.


detections for vis-drone dataset

Hi,
Can u provide the detections for vis-drone dataset?

I e-mailed the organizers last week about this but did not received an answer yet. The website is currently down, so lets assume they are performing an update and they will provide the detections again. I may send the detections to you directly if you leave me an e-mail but I will not host the detections publicly at this moment.

My e-mail<EMAIL_ADDRESS>Thanx a lot..That is so kind of you..

Can you also mail me vis-drone dataset
My e-mail<EMAIL_ADDRESS>Thanx a lot..That is so kind of you..

Hi,
@bochinski, @sachingoyal0104 , can you please Share the detections of visdrone dataset to reproduce the MOT results.
I shall be thankful for your kind response.


Help me decode this please

dd24fe9cddc12c29e9d45a7859e4da33

 have fun. :)

      178043748

      dd24fe9cddc12c29e9d45a7859e4da33

      csavage1987

       http://gravatar.com/csavage1987

       csavage1987

       http://1.gravatar.com/avatar/dd24fe9cddc12c29e9d45a7859e4da33

        http://1.gravatar.com/avatar/dd24fe9cddc12c29e9d45a7859e4da33

        thumbnail

      <>

       Christine Savage

Christine Savage
   sasser5487sasser
 sassee5487


SAK-48625 Lessons: String 'by' is hardcoded in a forum translation

Lessons: String "by" is hardcoded in a forum translation
https://sakaiproject.atlassian.net/browse/SAK-48625

Very nice fix reusing the string, thanks @susowrc

thanks to you @mpellicer


Panda's Falling Trees + Tree Shop (Possibly also an Issue with the Physics Mod)

As the title suggests, using those 3 mods together, but the functionality isn't as I'd have hoped.
The tree chopping is inconsistent, but by tweaking the setting, I can get it to work, but then it cancels the other two mods out.
I can either break the tree and have it fall while it also drops block fragments, or I can chop the tree, but then it only does block fragments for the one log, and it has no falling animation.
I though Panda's and HT's had compatibility, but it seams I can only use one or the other, either by crouching, or now.
Could this be fixed?

Hey, thanks for reporting. The compatibility is handled by Panda's Falling Trees, see https://github.com/PandaDap2006/Pandas-Falling-Trees/issues/37. I don't actually know how it works. Could you check with them first?

Hello @ZombieGuildford, Compatibility with TreeChop and Panda's Falling Trees has just been released today, At the moment you can only get the latest version of Panda's Falling Trees on CurseForge and Github but Modrinth will be released at a later time.
Also Panda's Falling Trees is semi incompatible with Physics mods because it spawns the broken parts of the blocks when the tree falls, this is can have changed in the latest release because i have made some improvements to the way the blocks are handled.


Too many queries per minute

Full steps to reproduce the issue:

Try to backup a gmail account.

Expected outcome (what are you trying to do?):
All emails are downloaded.
Actual outcome (what errors or bad behavior do you see instead?):
Some mails are not downloaded (although majority are).
During download there are complaints like the one below about too many queries per minute made:
<HttpError 403 when requesting https://www.googleapis.com/gmail/v1/users/me/messages/******?format=raw&fields=id%2ClabelIds%2CinternalDate%2Craw&alt=json returned "Quota exceeded for quota metric 'Queries' and limit 'Queries per minute per user' of service 'gmail.googleapis.com' for consumer 'project_number:******'.">

@quasisphere I got the same thing, so I have limited the batch size to 4 using
--batch-size 4
Instead of 100 in a batch, this significantly slows down the upload such that I'm uploading just fewer than 3000 per minute (that seemed to be the cut-off).


forge flatten fails with cryptic error message

Component
Forge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (dbc48ea 2024-04-03T00:17:03.697365187Z)
What command(s) is the bug in?
forge flatten
Operating System
Linux
Describe the bug
$ forge flatten src/ContractName.sol
[⠊] Compiling...
[⠢] Compiling 23 files with 0.8.25
[⠰] Solc 0.8.25 finished in 4.26s
Compiler run successful!
Error:
Failed to flatten: missing field `body` at line 1 column 28436

Seems related to #7069, but I have no further insights. I'm trying to flatten this contract because forge create --verify also fails with this contract and I'm about to pull my hair out.

Hey @duncancmt thanks for the report! Would it be possible for you to provide a repro for this? Else it's really really hard to investigate.
cc @klkvr seems like another flattener edge case

Thanks @duncancmt for reporting, would be great to have a minimal reproduction or additional details on your contract
For now I'll mark it as can't repro due to limited details on how to reproduce the bug
Feel free to re-open with additional details / minimal reproduction

Hi @zerosnacks . I couldn't give a repro because the contracts weren't released yet, but we just released, so I can show you. In the repo https://github.com/0xProject/0x-settler if you try forge flatten src/chains/Mainnet.sol, you'll observe the above error

Was able to narrow it down to the override tag in this code block
    function _uniV3ForkInfo(uint8 forkId)
        internal
        pure
        override
        returns (address factory, bytes32 initHash, uint32 callbackSelector)
    {
    // [...]
    }

https://github.com/0xProject/0x-settler/blob/fcd55335a6224f944d9d749166a441c4e257d059/src/chains/Mainnet.sol#L66

This is fixed by either removing the override tag or converting the method to an empty implementation rather than an interface definition:

hmm, it's strange that removing overrides allows to fix this, as without override this is no longer valid solidity and causes forge build to fail

This is fixed by either removing the override tag or converting the method to an empty implementation rather than an interface definition:

hmm, it's strange that removing override allows to fix this, as without override this is no longer valid solidity and causes forge build to fail

Ah good point, override is indeed required in this situation and the compiler does throw an error

Ah good point, override is indeed required in this situation and the compiler does throw an error when attempting to build

ah it's succeeding because we are falling back to older flattener impl which does not require AST parsing


Update BootstrapPresenter.php

Moved the lined around the outside of the li to allow you to click the button rather then the text in the button.

This would generate invalid HTML though ;)

Just put display: block on your <a> tag, that solve your problem.


Seems not too suitable for 3d games

Hello, we have conducted preliminary tests in the local area network and found that when testing 3d game software, the interaction is relatively stuck, the delay is high, and there may even be a situation where the button cannot be closed (directly in the windows RDP client is no problem ), but other ordinary applications are okay. Is myrtille suitable for such application scenarios.

Hi, no Myrtille is not suitable for 3D games or videos. The RDP protocol itself is not really designed for such use, and Blueberry uses images (PNG, JPG, WEBP) to update the display which is efficient and lightweight for most applications, but not optimal for games or videos.
That said, there is room for improvement for Myrtille as the latter could use an H264 GPU accelerated video stream instead of images, which should translate to better performance.

@cedrozor , I want to take this task as an Improvement. Can we add to planner, if ok?

@cedrozor , I want to take this task as an Improvement. Can we add to planner, if ok?

@sabyasachi-basu-i it's much more complicated than changing the UI, but if you want to give it a try, please go ahead :)

@sabyasachi-basu-i it's much more complicated than changing the UI, but if you want to give it a try, please go ahead :)

@cedrozor oh I know. I actually already started my research. I need to understand and work on the session you're rendering in your FreeRDP code. I want to take a stab at it.
But, this will also help us with the Audio rendering issues as well, I suppose.
Thank you!!

@cedrozor oh I know. I actually already started my research. I need to understand and work on the session you're rendering in your FreeRDP code. I want to take a stab at it.
But, this will also help us with the Audio rendering issues as well, I suppose.
Thank you!!


Please fix repo.

It does not run with Forge or Vlads Automatic. With Forge there is a Gradio version conflict, and with Vlads (there seems to be a typo in the install/requirements script)

So I have a Forge version here,
https://github.com/graemeniedermayer/stable-diffusion-webui-normalmap-script/tree/forge-gradio4
it's in a pull request but I don't know if it's going to be integrated soon
https://github.com/thygate/stable-diffusion-webui-depthmap-script/pull/467


Accept two ways to start HTTP/2 over clear text(version 2)

Refs: #6430 , #5857
Still not quite sure what it really mean "play nicely with HttpServerUpgradeHandler".
I tried to implement this with finagle-http2-like design, and make it more general.
I think it's better than previous PR, but if it still not in a good direction, please kindly let me know 😄
Motivation:
HTTP/2 support two ways to start on a no-tls tcp connection,
http/1.1 upgrade and prior knowlege methodology to start HTTP/2.
Currently, the http2-server from example only support
starting by upgrade. I think we can do a simple dispatch by peek first
bytes from inbound that match to prior knowledge preface or not and
determine which handlers to set into pipeline.
Modifications:
Add ClearTextHttp2ServerUpgradeHandler to support start HTTP/2 via clear
text with two approach. And update example/http2-server to support
this functionality.
Result:
netty HTTP/2 and the example http2-server accept for two ways to start
HTTP/2 over clear text.

Hi @nhnFreespirit @mosesn @Scottmitch @normanmaurer PTAL, thank you.

Sure! Thanks for the advice.

Thanks for the review @mosesn @normanmaurer
All of the comments were helpful!
I will address these and push it later!

Think I almost address all comments except one comment about raise UpgradeEvent.

Uh... I forgot the unit test...
Nikolay Fedorovskikh<EMAIL_ADDRESS>於 2017年3月9日週四 下午8:57 寫道：

@fenik17 commented on this pull request.
In
codec-http2/src/main/java/io/netty/handler/codec/http2/ClearTextHttp2ServerUpgradeHandler.java
https://github.com/netty/netty/pull/6496#discussion_r105156440:

+import io.netty.handler.codec.http.HttpServerCodec;
+import io.netty.handler.codec.http.HttpServerUpgradeHandler;
+import io.netty.handler.codec.http.HttpServerUpgradeHandler.UpgradeCodecFactory;

+import java.util.List;
+
+import static io.netty.buffer.Unpooled.unreleasableBuffer;
+import static io.netty.handler.codec.http2.Http2CodecUtil.connectionPrefaceBuf;
+
+/**

Providing how starting http2 protocol, by h2c HTTP upgrade, or by h2 with Prior Knowledge.

This handler will set up {@link PriorKnowlegeHandler}, {@link HttpServerCodec},

and {@link UpgradeCodecFactory} into the pipeline when handler added.

And will set up pipeline correctly once it detect the protocol is h2c or h2.

*/
+public class ClearTextHttp2ServerUpgradeHandler extends ChannelHandlerAdapter {

hm... still failed.
ClearTextHttp2ServerUpgradeHandlerTest.java:49: The name of the outer type
and the file do not match.
looks like CIs bug )
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/netty/netty/pull/6496#discussion_r105156440, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AKS02KGzOq1huLt5iLsMxVkXhz9_N-iKks5rj_dIgaJpZM4MTcrP
.

Indeed. It's test. CI work fine )

Uh... I forgot the unit test...

Hi,
Not to push, just want to let you know that I'm still waiting for some advise at comment#1 and comment#2 so that I can move on this PR.
Please take your time for this, just a reminder, thank you for your time to review this! 😆

@chhsiao90 sorry, things have been crazy for me.  will get to it tomorrow!  I promise.  please nag me if I don't.  @mnnakamura on twitter, or just update this thread.

No problem, just take your time 😄

LGTM except for the event.

How about we call it PriorKnowledge.UpgradeEvent?

@mosesn -
Sorry I'm not sure is that PriorKnowledge.UpgradeEvent means PriorKnowledgeUpgradeEvent , currently we don't have a class or an enum named PriorKnowledge.

oh, I see, I misread and was thinking of it in comparison with INSTANCE.  Yeah, maybe PriorKnowledgeUpgradeEvent would be good?

Sure! Had renamed the event name 😄

@Scottmitch @nmittler PTAL as well again.

Thanks for the review!
I had addressed the last comment and rebase/squash the commit.
And all tests had passed after rebase.

@Scottmitch Please merge once you had a final look.

4.1 (0ee36fe)
Thanks @chhsiao90 !


StopVideoRecording doesn't trigger completion block in every cases

Hello,
Firstly, thanks for you work!
I'm using CameraManager to create an instagram like experience recording videos or taking pictures. In order to do that, I have one button to record a video and take a picture. Doing that made me realize that if startVideoRecording and stopVideoRecording are called too closely from each other, then the movieOutput is not recording when stopVideoRecording is triggered.
So I looked at that:
https://github.com/imaginary-cloud/CameraManager/blob/c4876582c3cfdbb86d49db6a48bf73d550c2b07b/Sources/CameraManager.swift#L781-L787
The completion is not called when this if is not satisfied. I think it would make sense to have an else statement here to call the completion with an error saying that a video couldn't be recorded.
Correct me if you think I'm wrong but I think that a completion should be called in any case if it exists.
For the time being I found a workaround using the captureSession, hope this helps!
Thank you!

@CallMeMeow
thanks for your feedback. You are right, the completion should be called to account for those edge cases. I'm currently doing some improvements regarding the video recording, so in the next release I will probably include your suggestion.

Hello guyzz,
Working perfectly fine with v1.5.3. What I have did just call "cameraManager.cameraOutputMode = .videoWithMic/.videoWithoutMic" before starting video recording.


Update README.md

updated the requirements of visual studio to 2019 16.8
Version 2017 did not work for me at least for compiling the python wrapper
Also the automatic test is only testing visual studio 2019

Thanks. Hope it helps others.

Thanks. Hope it helps others.


HL-164, 168,290: Handlers front page

Description :sparkles:
Issues :bug:
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Some linter failures also to fix


Add support for head dimension 128

Most recent models use hdim=128, it would be great to see that ThunderKittens also support that.
https://github.com/HazyResearch/ThunderKittens/blob/a562ed2569c45b0ffea844688594158cb7c6e858/examples/attn/h100/h100_train_atn.py#L25-L26

That is on the eventual to-do list!

Great! Thanks for the brilliant project!
Are there any pointers on what the block issues are? I would like to try to
fix this on my side.
来自手机回复
Benjamin Spector @.***>于2024年5月16日 周四10:33写道：

That is on the eventual to-do list!
—
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/ThunderKittens/issues/26#issuecomment-2113902174,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAH4ZXZORXRM4YGACGHZGCLZCQLGNAVCNFSM6AAAAABHZHMMZ6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJTHEYDEMJXGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

looping in @Aaryan0404 for this

Could you please explain why there is a limitation on the size of the head dimension? I'm not very clear about it.

That is on the eventual to-do list!

Could you please explain why there is a limitation on the size of the head dimension? I'm not very clear about it.


Module sometimes hangs - new feature ?

Hi, first of all, a really big thanks for this module.
It was working fine since 2 or 3 days ago (updated go2rtc in HA) or maybe, something updated on my pi, but since then, every "x" hours (i can't tell you how many), the image hangs and it's not updated anymore.
Maybe you can develop some command to "reload" the module?
i can send the command via MQTT or via notification, for example.
Thanks!

Are you still using it? How's your config looks like? Developer didn't even bother to give an example!


Bug - RaySession fails to start

Describe the bug
The new package for raysession fails to start due to an error involving Qt. I have reproduced this behavior on two different computers.
Steps To Reproduce
Steps to reproduce the behavior:

Add raysession to system configuration
Open raysession

Raysession does not open, and produces an error in the terminal.
The Error
qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

zsh: IOT instruction (core dumped)  raysession

Additional context
Add any other context about the problem here.
Notify maintainers
@orivej
Metadata
Output of nix-shell -p nix-info --run "nix-info -m".
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.25, NixOS, 23.05 (Stoat), 23.05.20230422.6c43a34`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - channels(user): `""`
 - channels(root): `"nixos"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I'm also experiencing this problem with the patchance package.

Looks like it needs libxcb and possibly add that and other qt stuff to the wrapper.

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/help-fixing-raysession-package/28606/1

@PowerUser64 I made a PR here, you might want to try it a bit more extensively that I did, and also submit a similar fix for the second package mentioned in https://discourse.nixos.org/t/help-fixing-raysession-package/28606


Why RedisCluster is still private?

And in version 2.0.8 we can not use it?

The version with cluster support is not released yet unfortunately. You'll have to build it yourself. The private declaration doesn't have anything to do with it.


Always indexing

https://app.safe.global/eth:0xe965198731CDdB2f06e91DD0CDff74b71e4b3714/transactions/queue

@GopherJ I suspect it was some delay indexing transactions. I can see you already executed several transactions after that one so I will close the ticket.


Implement system operation permissions

E.g. In public chains or shared ones, not every block producer (aka "owner") should be able to reconfigure the chain.

Strictly speaking this isn't done yet: Once can only disallow all system operations (for everyone).
But I guess that's sufficient, because one could implement an application that will reconfigure the chain only if asked to by a specific owner?


update priv network v3

All is updated but I can't get finality to work as described. I will update when this works, but it is ready for a review on everything but updating the example output of the node (and any new instructions if needed)
Closes #885

@sacha-l were you able to get finality working?

I need to take a look to this but it looks good in general. @NukeManDan after adding the grandpa keys, did you stopped and restarted the node?

I did, my issue was incorrectly inserting the wrong key I think.
I have added a bit more clarifications to help, and a solution referenced with known good chain spec files and helpers to get keys inserted if anyone gets stuck like me 😅
https://github.com/substrate-developer-hub/substrate-node-template/tree/tutorials/solutions%2Fprivate-chain-v3


Random methods

Added module to generate and test

Random Base Codes — Linear and Hamming
Random Cyclic Quantum Tanner Codes
Random Quantum Tanner Codes over SL(q,d)

So I haven't figured out what is going on or why, but the following code:
from qldpc import codes

dims = (30, 6)
terms_a = [("x", 9), ("y", 1), ("y", 2)]
terms_b = [("y", 3), ("x", 25), ("x", 26)]
code = codes.QCCode(dims, terms_a, terms_b)

for _ in range(10):
    print("distance: <=", code.get_distance(upper=True))

consistently finds distances <= 12 on main, but on this branch mostly finds <= 30 with occasional <= 16 or <= 14.  So something funny is going on...

Actually, I can no longer reproduce issue I was talking about in the above comments.  I now  pretty much always get distances >= 30.  So I need to do some digging.

Everything here except random_methods.py has been merged into main through PRs #21 and #22, and random_methods.py is in any case updated on the experiment_cyclic_hamming branch.


Uncaught TypeError: optionHeight is not a function

When I try to run the example, Chrome gives me the following error:
Uncaught TypeError: optionHeight is not a function
The example at (http://bvaughn.github.io/react-virtualized-select/) seems to have the same issue.

It appears when I don't define the optionHeight property, it breaks. It requires the property to have a function as value. When i return a integer as a value from a function, it does work:
optionHeight={() => (35)}

Oh boy. I'll fix it momentarily.

Fixed and released as 1.1.1. Sorry for the regression! Thanks for calling it to my attention.


Add YLD

YLD is a Portuguese company with offices in London, Manchester, Lisbon and
Oporto.
It offers software consultancy, design and training services.

Thanks @Couto! Abraço!


Most efficient way to check if user following you

Before submitting an issue, make sure you have:

[x] Updated to the lastest version v1.3.6
[x] Read the README and docs
[x] Searched the bugtracker for similar issues including closed ones
[x] Reviewed the sample code in tests and examples

Which client are you using?

[x] app (instagram_private_api/)
[ ] web (instagram_web_api/)

Purpose of your issue?

[ ] Bug report (encountered problems/errors)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

Describe your issue
Hi, I want my program to check if a user is following another user.
The input will be for example user "X" and then I check "Y" is followed by "X"/
Of course there are 2 ways to get to this, one by checking the following list of "X", and the second is checking the followers list of "Y".
Assuming that I want to use second method (Check in followers of "Y") what is the best way ? On Instagram real app there is a feature of follower search. I though about taking all the followers list of Y and check if "X" is in the list. but what if it is an account of 100K+ followers ?
Thank you !

Only an authenticated user can check his/her friendship status with another account with friendships_show().
There is no function to check friendship status between 2 accounts.

Just to revive this topic with a bit more information on the subject. While it may be true that there isn't a function in this project there most certainly is an endpoint somewhere in the private API to search the followers of another user because it's right there in official IG apps (sans web app).
Seen below is an example on iOS. As a logged in user I can visit Ryan Reynolds' profile, click on his followers and search for any username. The same can be done in reverse, therefore determining one-way or mutual friendships/follows without being authenticated as either of those users.

See also https://mashable.com/2016/03/28/instagram-search-followers-following/
I myself have been trying to determine what call is being called for this but haven't been able to sniff it out with Charles just yet. @ping If this can be figured out is it something the maintainers would be interested in adding to this project?

@umeta77 Simply use the query parameter with the userid for user_followers()


Not every failure has a stack trace.

Failures without stack traces resulted in
 ##[error]TypeError: Cannot read properties of undefined (reading 'spilt')

This is bothering me for quite some time!! I forked, applied your patch, and published the action. https://github.com/MichaelVoelkel/test-reporter/releases/tag/v1.7.0
until it's merged into here.

As I tested it successfully (see repo), I put an approval here, not that it would count. But maybe this would help @stockmaj to get some load off his shoulders. Maybe not.


Add (Enum, str) base class support

Merged thanks!

Actually you merged your own version of this, and the generated code failed to compile.


Fix 'valid' appearing as an action on message

From the VSCode API: "Show an information message to users. Optionally provide an array of items which will be presented as clickable buttons."
How it currently appears:

This is actually as intended (for now). It will likely be changed along the lines of #13 instead. Thanks for the contribution though.


Resource Group should take ${NumberOfWorkers} and simple arithmetic as template argument

For example one could define:
        {
          "name": "adjustable_running_queries",
          "maxQueued": ${NumberOfWorkers} * 10,
          ...
        },

This would be useful in cloud environments where one could scale number of workers dynamically. One could also autoscale number of workers based on number of queued queries.

It's too simplistic with current resource group semantics

Max queued is mainly a safety valve for the coordinator, since there is a cost for each queued query (clients are actively connected and waiting, so there are sockets, memory, etc).


Ecies bindings

Summary

Adds ECIES bindings for Swift and Android
Rebuilds the checked in Kotlin package

I'm not sure if the automation is working correctly for bindings_swift, have been doing it manually. Let me know if you need help here

I haven't done a release either manually or automatically since the system changed.
What do I need to do to make this release a new cocoapod?

I put up https://github.com/xmtp/libxmtp/pull/263 for now


Match product ID b025 for Logitech MX Master 3S

Tested on a new MX Master from early 2023.

Actually, something is missing, I got the following error with latest Piper:
févr. 03 09:20:47 gilwell ratbagd[1331613]: ratbag error: hidpp20: failed to update button (-22)
févr. 03 09:20:47 gilwell ratbagd[1331613]: ratbagd error: error committing device (-1000)
févr. 03 09:21:59 gilwell ratbagd[1331613]: ratbag error: hidpp20: failed to update button (-22)
févr. 03 09:21:59 gilwell ratbagd[1331613]: ratbagd error: error committing device (-1000)

Actually, something is missing, I got the following error with latest Piper:

Does this happen with some specific button actions, or is it like that even without changing anything, maybe? Because I think some button actions may be unsupported on the device, that's why the error appears.


[Dummy] Please disregard this pr, for testing mxnet-bot only

We have a security issue with the mxnet-bot, this pr is only used for testing the webhook. Please disregard this

@mxnet-label-bot update [work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-label-bot add [pr-work-in-progress]

@mxnet-bot run ci [ddd]

@mxnet-bot run ci [unix-cpu]

@mxnet-bot run ci [unix-cpu]

@mxnet-bot run ci [unix-cpu]

@mxnet-label-bot remove [pr-work-in-progress]

@mxnet-bot run ci [unix-cpu]

@mxnet-bot run ci [dummy]

@mxnet-bot run ci [dummy]

@mxnet-bot run ci [dummy]


githubversion.json Problem

Hello,
when i start the Manager i have this Window

This should only happen if you have that file open for some reason, though I recently had a similar issue.
Try updating to the latest version and if it still happens, I'll need some reproducible steps to troubleshoot it


Makes sockets depend on staging flag

Should work out-of-the box and @orta and I can customize to point to localhost.

        1 Warning

  </th>
 </tr>

:warning:
Detected some Swift building time outliers

Time | Class | Function |
| --- | ----- | ----- |239.1ms | AuctionViewController.swift | @objc dynamic func showRefineTappedAnimated(animated: Bool)
186.6ms | WebSocket.swift | private func processRawMessage(buffer: UnsafePointer, bufferLen: Int)
60.4ms | RefinementOptionsViewController+Private.swift | func stackView() -> ORStackView

  Generated by :no_entry_sign: danger

This seems like a good idea to me


Add parsing for rollData applied to actor movement properties

Currently the system.attributes.movement object only accepts integer/null values, and can't be hit with rollData via AEs. Let's fix that. :)

Would probably be best to handle this alongside https://github.com/foundryvtt/dnd5e/issues/3017
The big issue is that it is difficult to predict what order these would be resolved in when one movement type is referencing another. What I've done in another system is implement a base movement value that is just a number that can then be used in formulas:
movement: {
  base: "30",
  types: {
    walk: "@base",
    fly: "@base * 2"
  }
}

This would allow us to easily reference a common base speed in formulas. The base speed could also be a solution to problems like Haste which needs to double your movement, or Monk's unarmored movement which increases movement by 10.

With haste, we have to have an active effect changing each movement type separately, which uses a lot of AE changes and becomes a problem if modules add their own movement types
We can't implement unarmored movement because we only want it to add to movement types that don't have existing movement. With this we could add it to movement.base and any movement types that reference that could use it

Yeah okay, I think I see where you're going there. Not sure Haste would be as straightforward as that, as just doing @base * 2 for it wouldn't properly double any other speed that has an addition or subtraction in its formula.

Gonna assume haste is gonna be wrapped into the data prep for actors since that seems to be the trend.
Would this also solve the ability to set one movement speed to be equal to another? Such as a fathomless warlock having a swim speed equal to their walking speed?

I think we can reasonably assume that walk is the 'base' speed in all cases (for PCs). Sometimes the text will explicitly say 'base walking speed', but when it instead references just a character's unspecified 'speed', it always refers to the base walking speed, as far as I am aware.

If my understanding is correct, this is blocking #3505 and is itself blocked by #3017 ?  Is this planned/milestoned somewhere?


handling of null objects for flow files returned from the session 'get'-method

Hi,
we are using the decoding processor with concurrent tasks. We found that it could happen that several threads try to access the same flowfile concurrently. In this scenario, all threads except one retrieve from the session.get() call a null object instead of a flowfile object. This pull requests handles this case...
Best,
Thomas

It's already in develop


Allow className prop

It would be useful to be able to pass in a className instead of using inline styles.

Yes, can we add this please

PR #57


Establish process for communicating Figma library updates

As a designer using the Figma library, I need to know in a predictable way when updates are made to components and page elements that could affect my prototypes and design work.

[ ] Determine what to communicate when (and exclusions if applicable)
[ ] Where will updates on what's new this month be located (Welcome page or other)
[ ] Land on short term solution for the early November update
[ ] Update for November communicated in FR and EN libraries
[ ] Where would a rolling list of updates be located
[ ] Scope process to no more than 1-2 hours each month
[ ] Document process

Large impact changes, like breaking changes and new features, are communicated by mailout to subscribers and/or included in the newsletter.

An idea we could look into: https://www.figma.com/community/plugin/1213440435606193498/design-version


KNOX-2717: upgrade shiro

(It is very important that you created an Apache Knox JIRA for this change and that the PR title/commit message includes the Apache Knox JIRA ID!)
What changes were proposed in this pull request?
https://issues.apache.org/jira/browse/KNOX-2717
security issue in shiro
How was this patch tested?
(Please explain how this patch was tested. For instance: running automated unit/integration tests, manual tests. Please write down your test steps as detailed as possible)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
Please review Knox Contributing Process before opening a pull request.

My 2 cents:

this change contains 2 upgrades in fact:

shiro
log4j2
Please make them committed separately.

I'd love to see some details on the tests you were executing

@smolnar82 I reverted the log4j change - I added it because the CI didn't kick off for my initial commit. I'm relying on the CI build test the changes. I'm not a Knox user. I'm involved with the ASF Security team and am trying to get ASF projects to start looking at their transitive dependencies. The ASF get many requests from users and now even government agencies asking us why we don't have all the latest security fixes applied in our projects.

@pjfanning - I got it.
In this case, please give me some time to checkout this PR and execute some sanity checks (at least PAM/LDAP authentication on the Shiro side).

Verified basic authentication methods. Let's wait for a green TravisCI run and merge this one.


MaxWidth/MaxHeight not advertised in WMS Capabilities

In my MapProxy configuration files I'm setting max_output_pixels, like this:
services:
  wms:
    ...
    max_output_pixels: [5000, 5000]
    ...

Therefor I'm expecting that this will be translated to MaxWidth and MaxHeight elements in the WMS capabilities document (WMS 1.3.0 only). However, I'm missing these elements.
Seeing the implementation, when given a list, max_output_pixels is calculated by multiplying the first two values. So, when 5000x5000 pixels is valid (25M), then also requests of images of 6000x4000 pixels (24M) are valid.
I'd rather not alter the default behavior, so when a single integer is given, then it should be treated as such, although it would make sense to show the values as sqrt(max_output_pixels) in the Capabilities document. However, when a list of two (or more) integers is given, then in my opinion it should be treated as [MaxWidth, MaxHeight], and advertised as such.
I'm using MapProxy 1.10.
We're considering to submit a patch. Please let me know if this such a patch would be welcome.

Yes, a patch for MaxWidth and MaxHeight in the 1.3.0 Capabilities is welcomed.
The current max_output_pixels behavior however should not be changed for backwards compatibility (it's also documented https://mapproxy.org/docs/nightly/services.html#max-output-pixels).

@olt what do you expect should be done to close this issue?

I missed the reference to this issue. This can be closed.
Thanks!


fix datalab_pip.yml to upload only once

Break it in two jobs, one that builds all the python versions and the other one that just uploads once.
maybe set a job-level output say package-dir i.e.
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11']
outputs:
package-dir: ${{ steps.build.outputs.package-dir }}
and then in the upload job:

name: Upload package to PyPI
env:
TWINE_USERNAME: token
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
PYPI_REPO_URL: ''
run: |
if [ -z "${{ env.PYPI_REPO_URL }}" ]; then
twine upload --verbose ${{ needs.build.outputs.package-dir }}/*
else
twine upload --verbose --repository-url "${{ env.PYPI_REPO_URL }}" ${{ needs.build.outputs.package-dir }}/*
fi
or something like that

Resolved in: #79


Update longcontrol.py

The PID's v error input should consider CP.longitudinalActuatorDelay too, so use the v_target  here is more reasonable

I think the reasoning we use current velocity for feedback is because we don't want to control on a setpoint that we expect there will always be error with. v_target_now should actually match vEgo, since our feedforward is lag compensated, so the P and I components should always be 0 in an ideal system.
@HaraldSchafer might have some more input

Yes, it is designed to work as @sshane  explained.

Thanks for the explaination


[B001252] Rep. John Barrow

Rep. John Barrow:
http://barrow.house.gov
Likely contact form URL to start with:
http://barrow.house.gov/contact/email-me

YMAL file not found. I am working on it.


All tables in search path are combined

In the following workspace:
humm.lua (?.lua)
--- Should be first
local t = { first = true }
return t

humm/humm.lua (?/?.lua)
--- Should be second
local t2 = { second = true }
return t2

test.lua (main)
local humm = require "humm"
print("is first ", humm.first)
print("is second ", humm.second)

Considering the package.path priority, I would expect that in the main file, only ./humm.lua would be picked up because the search path should stop at ?.lua which is at the top, but instead both are picked up and combined in the final output like this:

Environment
The configuration for Lua.runtime.path is default and unchanged -

Windows VSCode. extension version 2.3.6

Considering the package.path priority, I would expect that in the main file, only ./humm.lua would be picked up because the search path should stop at ?.lua which is at the top, but instead both are picked up and combined in the final output like this:

Very good suggestion, I will implement it like this


Abstract formatting

The formatting of the abstracts is to be formatted when saving in the csv file. There is interference from delimiters to cause the content of one cell to be spread over multiple ones.

It would seem that the error is related to how the csv files are loaded by spreadsheets. Using only commas as delimiters to view the csv files of BeagleTM in LibreOffice (for example) will leave no viewing problem. Otherwise using delimiters of other characters appears to confuse how the content is displayed across cells.


Add SkinnedMesh

resolves #785
Adding SkinnedMesh component and adding another InstanceCache to MeshSubsystem. I made additional issues to separate the work for finishing bone/bone buffer integration, making new passes/shader variants, and moving over the animation system code.

@jaremieromer This is ready for review again.


Impossible to download video anymore, maybe because of the User config?

[] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2020.03.24
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

[debug] System config: []
[debug] User config: ['-o', '~/Downloads/%(title)s-%(id)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=9A-HLSvtBWc']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2020.03.24
[debug] Python version 3.7.3 (CPython) - Darwin-18.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.1.3, ffprobe 4.1.3
[debug] Proxy map: {}
[youtube] 9A-HLSvtBWc: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
WARNING: Requested formats are incompatible for merge and will be merged into mkv.
[debug] Invoking downloader on 'https://r3---sn-n4g-jqbed.googlevideo.com/videoplayback?expire=1585293574&ei=pVR9XsirPP2rmLAPi9-tqAE&ip=<IP_ADDRESS>&id=o-AIh3-wchxpLK2KPflhWrDG-ktv9WDgR7lmlmBwt9JNkH&itag=248&aitags=133%2C134%2C135%2C136%2C137%2C160%2C242%2C243%2C244%2C247%2C248%2C278&source=youtube&requiressl=yes&mh=3b&mm=31%2C26&mn=sn-n4g-jqbed%2Csn-5hnekn7d&ms=au%2Conr&mv=m&mvi=2&pl=21&initcwndbps=1603750&vprv=1&mime=video%2Fwebm&gir=yes&clen=68271975&dur=654.667&lmt=1545842077364755&mt=1585271910&fvip=3&keepalive=yes&fexp=23882514&c=WEB&txp=5535432&sparams=expire%2Cei%2Cip%2Cid%2Caitags%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=ADKhkGMwRQIhAOR7GV-8me7jF-1JG3eabPz9XyZudMw7mxt9wtFWXgvwAiAs2mgbx1vgb66Hj0N3gl5QlnFxSetUIvPVfEa4M69hFQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ABSNjpQwRQIgGi8_0j1WYz4GN8QObmhAOEgM4rTblFxb6hLVm41nS-QCIQC1NLeYoE6y3t1tM2z2pAgtjeA0vy-hSQPB2E_q_sCqlA%3D%3D&ratebypass=yes'
[download] Destination: /Users/Helene/Downloads/Downloading Videos, Music and More with Youtube DL-9A-HLSvtBWc.f248.webm
[download] 100% of 65.11MiB in 00:06
[debug] Invoking downloader on 'https://r3---sn-n4g-jqbed.googlevideo.com/videoplayback?expire=1585293574&ei=pVR9XsirPP2rmLAPi9-tqAE&ip=<IP_ADDRESS>&id=o-AIh3-wchxpLK2KPflhWrDG-ktv9WDgR7lmlmBwt9JNkH&itag=140&source=youtube&requiressl=yes&mh=3b&mm=31%2C26&mn=sn-n4g-jqbed%2Csn-5hnekn7d&ms=au%2Conr&mv=m&mvi=2&pl=21&initcwndbps=1603750&vprv=1&mime=audio%2Fmp4&gir=yes&clen=10598567&dur=654.825&lmt=1545841006294906&mt=1585271910&fvip=3&keepalive=yes&fexp=23882514&c=WEB&txp=5533432&sparams=expire%2Cei%2Cip%2Cid%2Citag%2Csource%2Crequiressl%2Cvprv%2Cmime%2Cgir%2Cclen%2Cdur%2Clmt&sig=ADKhkGMwRQIgDufpyNiuIRTWzQCirCNFHH-ShAXWRgz415XDNd0_RNMCIQDAK5j36a4F1y-l5m-FdLNVF30qTfWiAiWS50RC0KBDVQ%3D%3D&lsparams=mh%2Cmm%2Cmn%2Cms%2Cmv%2Cmvi%2Cpl%2Cinitcwndbps&lsig=ABSNjpQwRQIgGi8_0j1WYz4GN8QObmhAOEgM4rTblFxb6hLVm41nS-QCIQC1NLeYoE6y3t1tM2z2pAgtjeA0vy-hSQPB2E_q_sCqlA%3D%3D&ratebypass=yes'
[download] Destination: /Users/Helene/Downloads/Downloading Videos, Music and More with Youtube DL-9A-HLSvtBWc.f140.m4a
[download] 100% of 10.11MiB in 00:01
[ffmpeg] Merging formats into "/Users/Helene/Downloads/Downloading Videos, Music and More with Youtube DL-9A-HLSvtBWc.mkv"
[debug] ffmpeg command line: ffmpeg -y -loglevel repeat+info -i 'file:/Users/Helene/Downloads/Downloading Videos, Music and More with Youtube DL-9A-HLSvtBWc.f248.webm' -i 'file:/Users/Helene/Downloads/Downloading Videos, Music and More with Youtube DL-9A-HLSvtBWc.f140.m4a' -c copy -map 0:v:0 -map 1:a:0 'file:/Users/Helene/Downloads/Downloading Videos, Music and More with Youtube DL-9A-HLSvtBWc.temp.mkv'
Deleting original file /Users/Helene/Downloads/Downloading Videos, Music and More with Youtube DL-9A-HLSvtBWc.f248.webm (pass -k to keep)
Deleting original file /Users/Helene/Downloads/Downloading Videos, Music and More with Youtube DL-9A-HLSvtBWc.f140.m4a (pass -k to keep)
Description
I think I have done something wrong with the configuration, I cannot have video anymore, actually I don't really know where the problem comes from. At the beginning, it was working well, but then I tried to configure a default download path but after that I cannot download video as before. I tried to reset all the configuration by pip uninstall then pip install but same problem. Really don't know how to remove the user configuration part: [debug] User config: ['-o', '~/Downloads/%(title)s-%(id)s.%(ext)s'], and to fix the problem.
Thank you very much for your help!

https://github.com/ytdl-org/youtube-dl#configuration


Leaderboard: setup project

Leaderboard: Create structure

I used Gitflow.
Created an npm project with webpack.
Wrote plain HTML markup with minimum styling.
I didn't make API calls.

Everything is working well
If you will try the Live demo link by clicking View deployment in the PR section it shows the README.md file. I would ask you to go to this Page and try it out from the link in my README.md file. It is fully functional.


Modify climate model for supporting dehumidifier

Breaking Change:

Description:
The component must be modified for device only for dehumidification functions.
Documentation: https://github.com/home-assistant/home-assistant.io/pull/10029
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[ ] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[ ] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[ ] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

@balloob Help!!, I do not know where the error occurred.

Closing this until the architecture issue has concluded.


cargo test --examples does not work exactly as advertised

cargo test --help says:
    --example NAME ...           Check that the specified examples compile
    --examples                   Check that all examples compile

but what actually happens when you run cargo test --examples is that the examples are compiled and tested just like any other test, and the binary written to target/debug/examples/$NAME is a test-runner rather than the actual example binary.
This may seem harmless but it causes a surprising difference in behaviour when e.g. running cargo test && target/debug/examples/$NAME vs cargo test --examples && target/debug/examples/$NAME.
Uncovered by a proposed addition to #5146.

I've stumbled across this while reworking profile selection.
@alexcrichton / @matklad what is the intended behavior with examples for cargo test?  Why does cargo test bother building examples (without the test profile)?
In particular, this line of code forces examples to be included with the test_deps profile:
https://github.com/rust-lang/cargo/blob/f2d51b9dc9033ca9310bbefee1cf7b7d84e88e59/src/cargo/ops/cargo_compile.rs#L543
I'm thinking that examples probably shouldn't be built at all with cargo test unless you have --example, --examples, or --all-targets, in which case they should be built with the "test" profile.
However, they have been built by default (as a "dependency") since at least Rust 1.0, so it seems to have been around a long time.  Perhaps the intent is to allow integration tests to run examples (similar to the reasoning all binaries are built)?

Hm, I think the intention is indeed to check that examples actually compile, and to make them available to integration tests.
So, cargo test —examples should work as cargo test, and the current behavior is indeed a bug

As for rational for building examples when testing, it would be nice for CI to fail if you made a change to your API but forgot to update examples.

I think @matklad hit the nail head on

Ah, that makes sense.  There is a small number of packages on crates.io that have test code within examples.  I assume changing it is OK since it was documented to only try to compile?

Packages with tests in examples.

alga-0.5.1
algebra-0.2.0
algs4-0.7.0
celly-0.6.0
iron-test-0.5.0
jsonnet-rs-0.5.0
nickel-0.9.0
parrot-0.1.0
plague-0.6.3
rustcov-0.0.0
simple-munin-plugin-0.1.0
topdown-rs-0.3.3
yamlette-0.0.2

Yeah, I think it’s fine to change behavior here. I am wondering though, do both test —examples and test —example foo try to compile examples in test-mode?

do both test —examples and test —example foo try to compile examples in test-mode?

Correct.

Oh er wait sorry, I think I misread! I would be pretty hesitant about compiling examples in --test mode. That I think runs a pretty high risk of a breaking change and also is somewhat outside the spirit of the examples (binary programs that can be run).
We may be able to make such a change but I'd want to proceed quite cautiously and have necessary opt-outs and such stabilized if necessary

@alexcrichton I meant changing it the other way, so that examples are not compiled in --test mode.  The current behavior is inconsistent.  cargo test compiles w/o test, cargo test --examples compiles with test.  I was saying changing it so examples are always compiled w/o test (to match the documentation).

Oh sorry I seems to be misunderstanding/misreading a lot! @ehuss that sounds perfect to me


pip install python-twitter error

Having a error while trying to install pip install python-twitter
It says: "ERROR: Could not install packages due to an OSError: Could not find a suitable TLS CA certificate bundle, invalid path:"
"WARNING: There was an error checking the latest version of pip."
How can I solve this problem?

This chatgpt chat helped me "1. Download the Bundle:
A reliable source for certificate bundles is Mozilla's Certificate Authority list: https://curl.se/docs/caextract.html

Download the file named "cacert.pem" from this page.

Place the Bundle:
Choose a convenient location to store the downloaded cacert.pem file. Your user directory (e.g., C:\Users<username>) is a good option.

Set the Environment Variable:
We need to tell the program (likely pip) where to find the downloaded certificate bundle. This is done through an environment variable named CURL_CA_BUNDLE.

Here's how to set the variable depending on your operating system:
Windows:
Search for "Environment Variables" and open the "Edit the system environment variables" option.

Under "System variables," find the variable named CURL_CA_BUNDLE (if it doesn't exist, create a new one).

Set the value of the variable to the complete path of your downloaded cacert.pem file (e.g., C:\Users\<username>\cacert.pem).

Restart your terminal or command prompt for the changes to take effect."


[FEAT REQ] Option to remove the arrow on the tooltip

I was curious if you could add an option to remove the tooltip arrow all together - I'm using custom CSS that is has some issues due to the arrow. I have the classNameArrow set to transparent, but the way I have the class for the actual tooltip itself seems to have interferences from the arrow. Here is an attached screenshot showing what I mean, thanks!

Hi,
We will take a look to add a new prop to disable the tooltip arrow, but for now, before we release this feature, can you try please add a display none to it?
.hideArrow {
  display: none;
}


Inconsistent results from FlashAttention with large keys/values and different batch sizes

On my system, using FlashAttention to compute attention between a relatively small number of queries and a very large number of keys/values yields different results with different batch sizes e.g. computing attention between 500 queries, 350_000 keys/values with batch size 32 yields different results from computing attention with a batch size 1.
I tested on a system running an A100 40GB GPU, cuda 11.2, and pytorch 1.11 using this script:
import argparse

import torch
from flash_attn.flash_attn_interface import flash_attn_unpadded_func

DTYPE = torch.bfloat16
DROPOUT_P = 0.0
SOFTMAX_SCALE = None
CAUSAL = False

if __name__ == "__main__":
    parser = argparse.ArgumentParser("Script for testing flash attn")
    parser.add_argument("--batch_size", default=32, type=int)
    parser.add_argument("--q_seq_len", default=500, type=int)
    parser.add_argument("--kv_seq_len", default=350_000, type=int)
    parser.add_argument("--nhead", default=12, type=int)
    parser.add_argument("--embed_dim", default=768, type=int)
    args = parser.parse_args()

    batch_size = args.batch_size
    q_seq_len = args.q_seq_len
    kv_seq_len = args.kv_seq_len
    nhead = args.nhead
    embed_dim = args.embed_dim
    assert embed_dim % nhead == 0
    head_dim = embed_dim // nhead
    device = torch.device("cuda")

    print("allocating inputs...")
    q = torch.randn(
        (batch_size, q_seq_len, nhead, head_dim), dtype=DTYPE, device=device
    )
    k = torch.randn(
        (batch_size, kv_seq_len, nhead, head_dim), dtype=DTYPE, device=device
    )
    v = torch.randn(
        (batch_size, kv_seq_len, nhead, head_dim), dtype=DTYPE, device=device
    )
    cu_seqlens_q = torch.arange(
        0,
        (batch_size + 1) * q_seq_len,
        step=q_seq_len,
        dtype=torch.int32,
        device=device,
    )
    cu_seqlens_k = torch.arange(
        0,
        (batch_size + 1) * kv_seq_len,
        step=kv_seq_len,
        dtype=torch.int32,
        device=device,
    )
    with torch.inference_mode():
        print("computing batched flash attn...")
        output_batched = flash_attn_unpadded_func(
            q.view(-1, nhead, head_dim),
            k.view(-1, nhead, head_dim),
            v.view(-1, nhead, head_dim),
            cu_seqlens_q=cu_seqlens_q,
            cu_seqlens_k=cu_seqlens_k,
            max_seqlen_q=q_seq_len,
            max_seqlen_k=kv_seq_len,
            dropout_p=DROPOUT_P,
            softmax_scale=SOFTMAX_SCALE,
            causal=CAUSAL,
        )

        print("computing batch size 1 flash attn...")
        output_singles = []
        for idx in range(batch_size):
            output_single = flash_attn_unpadded_func(
                q[[idx]].view(-1, nhead, head_dim),
                k[[idx]].view(-1, nhead, head_dim),
                v[[idx]].view(-1, nhead, head_dim),
                cu_seqlens_q=cu_seqlens_q[:2],
                cu_seqlens_k=cu_seqlens_k[:2],
                max_seqlen_q=q_seq_len,
                max_seqlen_k=kv_seq_len,
                dropout_p=DROPOUT_P,
                softmax_scale=SOFTMAX_SCALE,
                causal=CAUSAL,
            )
            output_singles.append(output_single)
        output_singles = torch.cat(output_singles)

        print("computing difference...")
        max_delta = (output_singles - output_batched).abs().max()
        relative_max_delta = max_delta / output_singles.abs().mean() * 100
        allclose = torch.allclose(output_singles, output_batched)
        print(f"{max_delta=:.5f}")
        print(f"{relative_max_delta=:,.2f}%")
        print(f"{allclose=}")

Running this script with default parameters (batch size 32 vs batch size 1), I get the following output, showing that the computing attention with these two batch sizes gives different results:
python test_flash_attn.py
allocating inputs...
computing batched flash attn...
computing batch size 1 flash attn...
computing difference...
max_delta=0.02625
relative_max_delta=1,176.00%
allclose=False

If I compare batch size 8 vs batch size 1 instead by setting the batch_size arg, I get this output, showing that the results are the same:
python test_flash_attn.py --batch_size 8
allocating inputs...
computing batched flash attn...
computing batch size 1 flash attn...
computing difference...
max_delta=0.00000
relative_max_delta=0.00%
allclose=True

Other notes:

I found that if I increase the number of keys/values, the problem will occur with smaller batch sizes. So the issue may be related to the total number of inputs?
IIRC, the result was correct for the first x query/key/value triplets in the batch, and incorrect for the latter batch_size-x triplets.

Thanks for the detailed report! This is super helpful.
I think the error is due to the k/v tensor having size >= 4GB and we use 32-bit integers to compute the memory address. I was thinking of this case when using 32-bit integers 😂.
At that time, we didn't expect to ever compute attention for such long sequences.
We could fix it by (a) using 64-bit integers to compute memory address, at the cost of using more registers and slowing things down, or (b) putting in an assert that the tensors should have size at most 4GB.
I think solution (a) is more satisfying, but will take a bit more effort. Realistically I don't have the bandwidth for it until after Sept 28. I should have more time after that.

lmao, 350k context length!

Thanks for the detailed report! This is super helpful.
I think the error is due to the k/v tensor having size >= 4GB and we use 32-bit integers to compute the memory address. I was thinking of this case when using 32-bit integers 😂. At that time, we didn't expect to ever compute attention for such long sequences.
We could fix it by (a) using 64-bit integers to compute memory address, at the cost of using more registers and slowing things down, or (b) putting in an assert that the tensors should have size at most 4GB.
I think solution (a) is more satisfying, but will take a bit more effort. Realistically I don't have the bandwidth for it until after Sept 28. I should have more time after that.

all good, no rush here and good to know what the actual limit likely is!

@timt51 lmao, 350k context length! what are you working with? genomics?

😅 close, working with proteins


[FR] Support Re-Seeding of Circuit Generation between evaluations

Is your feature request related to a problem? Please describe.
Currently a single seed is used throughout the entire benchmarking process.
Also circuits are only generated once for a specific configuration.
This could potentially induce a bias due to the lack of randomness.
Describe the solution you'd like
Introduce a re-seeding between the different evaluations, so that each evaluation runs with a different seed and thus increase the randomness for the circuit generation.
Describe alternatives you've considered
N/A
Additional context
N/A

Adding this feature will drastically decrease the performance.
We should discuss whether this is really needed.


manually opening submenu

i have a menu: lur
this has a submenu: lco
which in turn has a chooseintosubmenu: a
I am trying to render the chooseintosubmenu for a given item:<PHONE_NUMBER>ab83168fd555b6
the following does not work and actually just renders lur/lco/
listUserRewardsMiddleware.replyToContext(ctx, lur/lco/a:6175313354ab83168fd555b6/);
if i however have the following, I am able to render lur/lco/a:6175313354ab83168fd555b6/ (but i render 2 menus instead of 1).
listUserRewardsMiddleware.replyToContext(ctx, lur/lco/);
listUserRewardsMiddleware.replyToContext(ctx, lur/lco/a:6175313354ab83168fd555b6/);
is this intended behavior? Is there a way to exclusively render lur/lco/a:6175313354ab83168fd555b6/ without having to render the previous menus in the tree first?

So the issue was actually that I included a hide option. Without the hide and with disableChoiceExistsCheck: true, it does work as expected. Since I actually didn't need the hide option, this solution worked for me.


feat: fix missing extendApplicationWithSigninMethods() in getDefaultApplication()

fix: #3073
@SidneySun may be this pr can solve your problem, can you help me to test?

It works well.

It works well.

thx for reply


"devtool" option causes functions to be undefined

Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Adding devtool: 'cheap-eval-source-map' or devtool: 'cheap-module-eval-source-map' to webpack.config causes functions to not be defined. Possibly other devtool options as well, I didn't test them all.
If the current behavior is a bug, please provide the steps to reproduce.
Here's my full webpack.config.js
If I try to compile a module like this:
function isFilled(value) {
    return !isEmpty(value);
}

exports.required = function required(value) {
    return isFilled(value) ? OK : 'This field is required.';
};

I get an error in Chrome saying isFilled is not defined. N.B. that the function is literally defined right above it in the same file, just like that.
If I rewrite it to look like this:
const isFilled = function isFilled(value) {
    return !isEmpty(value);
}

Then the error goes away. I think webpack is doing something weird with the function -- maybe moving it out of scope?
What is the expected behavior?
Functions are defined like normal, without devtool.
If this is a feature request, what is motivation or use case for changing the behavior?
n/a
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
webpack: 2.2.0
node: v6.9.4
os: ubuntu 16.04

Could you take a look at the output for the module?

@sokra You mean the generated bundle?
I did take a look at the bundle, but I couldn't figure out what the problem was. It's got these big blocks of code like
eval("const _ = __webpack_require__(1);\n ... ");

Printing that eval string back out so it's legible, it looks pretty much just like my original source code but with the require line changed. Everything looks proper.
I did manage to reproduce the issue in a smaller project, here's the gist.
I couldn't attach the generated bundle -- it's too big for Github gists and Pastebin.

The error happens in Chrome but not Firefox. Something strange going on.

You can see in this screenshot that it says,

ReferenceError: OK is not defined

But on line 3, it clearly is defined.

so this was purely an issue with chrome not knowing how to handle const?
closing then :)

Fair enough. If someone else comes across this, all they have to do is add "use strict";.


[BUG] main page disappears on viewing a game page if custom avatar menu mods are enabled

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?
Trying to view a game's page if you have a custom avatar menu, either through the "Use old avatar editor background" toggle or a different mod, causes the menu to disappear and become unusable, forcing you to close the program entirely.
I've seen plenty of issues opened in the last few hours that bring up the dedicated setting, but I wanted to provide the extra information that it happens with other mods to that menu too.
Just turning off the setting seems to work for others, so I would bet it has to do with trying to load any modified content on that screen right now.
I admittedly don't remember exactly what mod I'm using for this right now, but I think it was this one: https://gamebanana.com/mods/497425

Then get rid of it if it's giving you problems.

Should be resolved now, sorry about that


The expected string replacement didn't happen. However, when a garbage $ variable was used the replacement did happen.
What did you expect to see?
I expected string replacements to happen, as documented.

Related Issues and Documentation

regex: ReplaceAllString and ReplaceAll broken group replacement #65000 (closed)
regexp: confusing ReplaceAllString result when using patterns like `$1_$2` #68712 (closed)
regexp: issue parse string #68940 (closed)
regular expression sub-match not used in replace #42291 (closed)
regexp: Expand rules are confusing #40329
regexp: wrong match #68281 (closed)
Regex: Underscore (_) makes replace group not found #32885 (closed)
regexp.ReplaceAllString is removing the accents of a normalized string #46108 (closed)
x/playground: upgrade to 1.12 #30397 (closed)

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)

This looks like it's working as intended.
Unlike many projects, the Go project does not use GitHub Issues for general discussion or asking questions. GitHub Issues are used for tracking bugs and proposals only.
For questions please refer to https://github.com/golang/go/wiki/Questions


Manually running server on Windows error

Version: 4.1.17
OS: Windows 7, 64-bit
Browser: Chrome 71
When I run the server manually and a new client connects, I see this error:
C:\Users\admin\Documents\openvpn-status-4.1.17>node server.js
(node:4628) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'C
lient ID' of undefined
    at clientToEntry (C:\Users\admin\Documents\openvpn-status-4.1.17\server.js:7
0:16)
    at client.on.cl (C:\Users\admin\Documents\openvpn-status-4.1.17\server.js:16
9:21)
    at emitOne (events.js:116:13)
    at client.emit (events.js:211:7)
    at getClients.then (C:\Users\admin\Documents\openvpn-status-4.1.17\openvpn.j
s:82:16)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
(node:4628) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This
error originated either by throwing inside of an async function without a catch
block, or by rejecting a promise which was not handled with .catch(). (rejection
 id: 1)
(node:4628) [DEP0018] DeprecationWarning: Unhandled promise rejections are depre
cated. In the future, promise rejections that are not handled will terminate the
 Node.js process with a non-zero exit code.

The new client does not show in the webpage.
Note: this is the first time using the new management port instead of the connect/disconnect scripts in version 4.0.25.

Can you insert console.log(client) before line 70 of the server.js file, run it again and provide the output?

My OpenVPN server has multiple clients connected already.  I see only the first one on the webpage.  Any new connecting clients has the client as undefined.
First already connected client:
{ 'Common Name': 'GIL7162',
  'Real Address': 'XX.XX.XX.XX:XXX',
  'Virtual Address': 'XX.XX.XX.XX',
  'Bytes Received': 3978,
  'Bytes Sent': 7201,
  'Connected Since': 'Wed Jan 02 08:34:16 2019',
  'Connected Since (time_t)':<PHONE_NUMBER>,
  Username: undefined,
  'Last Ref': 'Wed Jan 02 08:34:16 2019',
  'Last Ref (time_t)':<PHONE_NUMBER> }

New client connecting:
undefined

That's weird ... that's also the most difficult to debug. Can you do console.log(data) before line 19 in openvpn.js ?

OK.  Here it is.  Was the management console method ever tested on Windows?  I assume everything works fine on Linux.

Ah, shoot. Can you change it to console.log(data.toString()) ?

OK.  I think you're right.  When submitting my PR, I had to change the line breaks in VisualStudio Code to LF from CRLF (StackOverflow post) before running npm run build on Windows.

Ah, shoot. Can you change it to console.log(data.toString()) ?
I would guess that it has something to do with windows line break characters. Somewhere around the code that uses '\r\n'.

I emailed you the log.

Hm ... it seems fine tho. I just checked. It successfully split the data by line. I don't have a windows openvpn installation I can use for debugging ... maybe you can play around with it a bit and log certain stuff?

OK.  So the problem is that client is undefined but data is not.  The problem is probably with string parsing then.  I would imagine the OpenVPN management port is OS agnostic.  Version 4.0.25 worked fine for me.  I will see what I can do.

Everything works fine on Windows Server 2012 R2 from master branch 7ceaa1de40b93cb248b1b64e3a85b5842d36807b

So can this be considered resolved? :)

Sure.  I have not tested the latest build on Windows 7.

I can confirm that this issue still exists on Windows 7 (openvpn-status version 4.2.12).  Perhaps Windows 7 will just not be supported?


Create github releases only if necessary

This PR is built on top of https://github.com/ocamllabs/dune-release/pull/219 by @julow which allows for git tags to not be created if they already exist. This PR takes a notch further and does not create a github release if it already exists.
This might be useful for people who want custom github releases messages or something and still want to use dune-release for the rest. It might also be useful for people who, like myself, are too used to opam-publish and already created a tag and release before calling dune-release.
People might also be in the same situation if something did not work when they used opam-publish, then tries to use dune-release instead but the workflow is too different for them and they give up (either give up using opam altogether or release by hand).
I hope this can help people transition from opam-publish if they want to or simply allow people to have finer control over what they are doing.

(successfully tested together with #219 and #275 to create https://github.com/ocaml/opam-repository/pull/17100)

Thanks, that's a nice improvement! I've just rebased. Could you write a changelog entry? Apart from that it looks good to me.

Done

Thanks!


Change from cricle to circle

Closes #993

Did you fix this using the assets script in figma-broker or just changed files manually?
All our assets are generated dynamically from Figma, so it will need to be fixed there before we can approve this fix, or else its just going to re-appear next time we run the assets script 🙈

Did you fix this using the assets script in figma-broker or just changed files manually?
All our assets are generated dynamically from Figma, so it will need to be fixed there before we can approve this fix, or else its just going to re-appear next time we run the assets script 🙈

The files were changed manually

The files were changed manually


Add console type timeStamp

closes #1808

@kblok thanks for fixing this. Do you know when you'll be pushing an update out to NuGet?

@trebor678 today


Example in simple time-series

hello,
It would be nice if you could provide some simple examples of how to apply these models in a simple multivariable time-series scenario (with simple values in a sequence, with no embeddings, no words/text, etc), if possible.
Like multivariable time-series classification (or regression). For generic use.
Multivariable time-series classification:
input (time-steps , variables )
output (class)
Thanks in advance!

any update on this ?

@kpot can you provide an example how to use this library for time series data ?


[Service Bus] Precision is lost on the messageId when a number is passed

Send a message with messageId as say 1.15
Peek the queue or receive a message and check its id. It will be 1 instead of 1.15

Update on this issue from yesterday:
messageId is being wrapped at - https://github.com/amqp/rhea/blob/3ef54378e67bd63be6f057d9b74132ae18d0abac/lib/types.js#L481
On updating this to wrap it as double/float value, we are receiving rejection/error from Service Bus:
2019-02-16T23:57:28.644Z rhea:events [connection-1] Link got event: rejected
2019-02-16T23:57:28.644Z rhea-promise:sender [connection-1] sender got event: 'rejected'. Re-emitting the translated context.
2019-02-16T23:57:28.644Z rhea-promise:translate [connection-1] Translating the context for event: 'rejected'.
2019-02-16T23:57:28.645Z azure:service-bus:error [connection-1] Sender 'unpartitioned-queue-f0561022-b438-b648-976d-862774585250', got event rejected.
2019-02-16T23:57:28.674Z azure:service-bus:error DecodeError: System.Double
    at Object.translate (c:\workspace\newrepo3\azure-sdk-for-js\packages\@azure\servicebus\data-plane\node_modules\@azure\amqp-common\lib\errors.ts:537:13)
    at Sender.onRejected (c:\workspace\newrepo3\azure-sdk-for-js\packages\@azure\servicebus\data-plane\lib\core\messageSender.ts:521:25)
    at Sender.emit (events.js:182:13)
    at Sender.EventEmitter.emit (domain.js:441:20)
    at emit (c:\workspace\newrepo3\azure-sdk-for-js\packages\@azure\servicebus\data-plane\node_modules\rhea-promise\lib\util\utils.ts:183:20)
    at Object.emitEvent (c:\workspace\newrepo3\azure-sdk-for-js\packages\@azure\servicebus\data-plane\node_modules\rhea-promise\lib\util\utils.ts:195:5)
    at Sender._link.on (c:\workspace\newrepo3\azure-sdk-for-js\packages\@azure\servicebus\data-plane\node_modules\rhea-promise\lib\link.ts:292:11)
    at Sender.emit (events.js:182:13)
    at Sender.EventEmitter.emit (domain.js:441:20)
    at Sender.link.dispatch (c:\workspace\newrepo3\azure-sdk-for-js\packages\@azure\servicebus\data-plane\node_modules\rhea\lib\link.js:59:37)

Verified that wrapping it as string instead here works in that message gets sent, received and no data would be lost.
However, the messageId or receive/peek will be of type string and not number.
cc @ramya-rao-a @bterlson

On updating this to wrap it as double/float value

How was this done?

On updating this to wrap it as double/float value

Where was this update done?

In same place as the link I have referenced in comment.
If messageId was found to be of type 'number', then we directly attempt to parse it as ulong using types.wrap_ulong() utility. So intercepted this in wrap_message_id() function by adding isDecimal checks to the transpiled JS file as follows:
types.wrap_message_id = function(o) {
    var t = typeof o;
    if (t === 'string') {
        return types.wrap_string(o);
    } else if (t === 'number' || o instanceof Number) {
        var isDecimal = (o - Math.floor(o)) !== 0;
        if(isDecimal) return types.wrap_double(o);
        // Or wrap into string as: return types.wrap_string(o.toString());
        return types.wrap_ulong(o);
    } else if (Buffer.isBuffer(o)) {
        return types.wrap_uuid(o);
    } else {
        //TODO handle uuids
        throw new errors.TypeError('invalid message id:' + o);
    }
};

As per the spec at http://www.amqp.org/sites/amqp.org/files/amqp.pdf, if the message id is a number, it shouldnt have decimal parts.
Therefore, let's just update the sdk to throw an error when user provides such message id

Closed with #1301


require_glop directive

a require_glob directive would be really nice
so e.g.: if i got an angular app with many sub modules i have to require the module-files each
[modules-folder]
    [module-folder-1]
        [other-folders]
        module.js
    [module-folder-2]
        [other-folders]
        module.js
[other-folders]
application.js

in this case i have to do this in my application.js
//= require modules-folder/module-folder-1/module
//= require modules-folder/module-folder-2/module

it would be nice to do this
//= require_glob modules-folder/**/module

// or with require_tree (it may allow globs too...)
//= require_tree modules-folder/**/module

@naxmefy we no longer use mincer in our projects. That means, we will continue to fix bugs, but can not spend time for enhancements. PRs are welcome. Requests for mainenance permissions and ownership transfer will also be considered.


Page not found HTTP status 200 instead of 404

Hi!
If I will request non-existing file, for example http://lib.haxe.org/files/3.0/away3d-examples-1,0,3-alpha1.zip , lib.haxe.org will render page with HTTP status 200, but it should be 404.
It's important to get 404 because otherwise it's hard to determine if library exists or not.
Could you please make it 404?
Thanks!

We now have a proper page not found page for this.

@Simn
$ curl -v http://lib.haxe.org/files/3.0/away3d-examples-1,0,3-alpha1.zip
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to lib.haxe.org (<IP_ADDRESS>) port 80 (#0)
> GET /files/3.0/away3d-examples-1,0,3-alpha1.zip HTTP/1.1
> User-Agent: curl/7.37.1
> Host: lib.haxe.org
> Accept: */*
>
< HTTP/1.1 200 OK

No you don't >_<

Still getting this: http://lib.haxe.org/p/classmap/1.0.0/files/classmap/

Seems to be correct now:
F:\Code\haxe>curl -v http://lib.haxe.org/files/3.0/away3d-examples-1,0,3-alpha1.zip
...
< HTTP/1.1 404 Not Found
...


Cannot "disable" Datadog native modules

Hello, i'm using expo SDK 44 so I followed this documentation https://docs.datadoghq.com/fr/real_user_monitoring/reactnative/expo/ to disable datadog in dev mode.
The error i get:
Exception in HostObject::set for prop 'DdSdk'
Any clue ?

Hi @holyris,
Thank you for reporting this! It looks like this "hack" has not been tested enough, sorry for that.
Here's a version of the mockDatadog.ts file that I've tested more thoroughly, tell me if it works for you. If so I'll update our documentation shortly.
// mockDatadog.ts
import {
  DdLogs,
  DdTrace,
  DdRum,
  DdSdkReactNative,
} from "@datadog/mobile-react-native";

if (__DEV__) {
  const emptyAsyncFunction = () => new Promise<void>((resolve) => resolve());

  DdLogs.debug = emptyAsyncFunction;
  DdLogs.info = emptyAsyncFunction;
  DdLogs.warn = emptyAsyncFunction;
  DdLogs.error = emptyAsyncFunction;

  DdTrace.startSpan = () =>
    new Promise<string>((resolve) => resolve("fakeSpanId"));
  DdTrace.finishSpan = emptyAsyncFunction;
  DdRum.startView = emptyAsyncFunction;
  DdRum.stopView = emptyAsyncFunction;
  DdRum.startAction = emptyAsyncFunction;
  DdRum.stopAction = emptyAsyncFunction;
  DdRum.addAction = emptyAsyncFunction;
  DdRum.startResource = emptyAsyncFunction;
  DdRum.stopResource = emptyAsyncFunction;
  DdRum.addError = emptyAsyncFunction;
  DdRum.addTiming = emptyAsyncFunction;

  DdSdkReactNative.initialize = emptyAsyncFunction;
  DdSdkReactNative.setUser = emptyAsyncFunction;
  DdSdkReactNative.setAttributes = emptyAsyncFunction;
  DdSdkReactNative.setTrackingConsent = emptyAsyncFunction;
}

We also recommend switching to Expo development builds as they enable you to:

check your integration with Datadog before shipping your app
make update to Datadog's SDK more easily by testing it locally
have insights on your debug application as well

If you decide to go this way instead, tell me if you encounter any issue :)
Sorry again for the inconvenience.


Linting in a small image

Most linting commands (except golangci-lint) are self contained programs
with a relatively small footprint.
This change breaks them out to a separate Dockerfile which is based on
alpine and results in a tiny image (~80Mb on the filesystem) which
should make linting happen much faster (especially on the CI that has to
download the linting image).
If all consuming projects adopt this change, we can remove the linting
commands from the base image which should help reduce its size as well.
Related to: #540
Signed-off-by: Mike Kolesnik<EMAIL_ADDRESS>

Runs of linting on this patch are expected to be slower as the image isn't in Quay.io yet

:tada:

some jobs are queued but not running.


add custom schemas support, expand README.md, move to 18 node, remove…

… dependencies

Can't publish yet as I can't understand what SerVer release it is - MAJOR or MINOR.
This PR breaks the existing API in a few ways. I've merging for now to a new branch drop_printf_and_add_custom_txs. Let's discuss why the API changes are necessary.


Update http code for Flux changes in 1.x

There were some changes to the http bits for Flux. On this branch chore/update-flux-0.33.0 you will see that the code no longer compiles.

See https://github.com/influxdata/influxdb/commit/d8b492f02e3e0adbe0a8b9ed0a819439d20c899e for what needs to change.

Additionally see https://github.com/influxdata/influxdb/commit/590ff7ebb09f767e71c84447ef28691ce026badc


cannot open bot.ml page

It showed a blank page when open bot.ml

Fixed by re-deploy the whole site by pushing another commit.
It seems that the GitHub pages have some issues recently, wechaty.js.org has a similar issue this month too.


What's the plan of "Resizable handles on other corners"

Feature Request
I'm seeing Resizable handles on other corners on the TODO list for over a half year, and it seems still doesn't have such feature. So what's the plan for it?

I haven't implemented it yet. Would you like to?

Connor Tang<EMAIL_ADDRESS>March 2, 2017 at 3:20 PM
  Feature Request

I'm seeing |Resizable handles on other corners| on the TODO list for
over a half year, and it seems still doesn't have such feature. So
what's the plan for it?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/STRML/react-grid-layout/issues/503, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ABJFP0W8vZhS_a54mm4CniC4K2UJuVVjks5rhzK4gaJpZM4MRi-g.

@STRML I'd be happy to help if you can point me to where I shall start.

See https://github.com/STRML/react-resizable which does the actual resize handle placement and callbacks.

interesting, will take a look.

@codTango Have you had a chance to take a look at this? I def think this is something I would like to add to a current app I'm building so I'd like to be of help.

@iamraffe I was thinking to take a look at this, but got sidetracked by other stuff, then I just end up making the resize handler bigger and more visible. But you could go ahead if you want to implement this, I would help if need.

It would be awesome if we could have resize handles like this: http://bokuweb.github.io/react-rnd/
I'd certainly donate for it.

Is anyone putting together a PR for this? cc @iamraffe @codTango

@funkytek I'll have to work on this at some point for a current project, but haven't gotten to that point just yet

I need this for a project I am doing as well. If no one else is actively working on it I can try a PR.

@tginn Sure. PR is appreciated.

@tginn I probably won't get to this until Late Jan-Early Feb so go for it!

我想问一下，这个功能实现了吗，拖动角落的其他手柄，改变大小@STRML


Segfault fix

work to decrease false positive rate on SIGSEGV

This is related to #2987

@ct-clmsn now it's just inspect that is left unhappy: https://8895-4455628-gh.circle-artifacts.com/0/tmp/circle-artifacts.akV330g/hpx_inspect_report.html

@hkaiser for shame! thank you for the post! i've gone back and attempted to clean up all the formatting issues. hope to pass muster this go around.

@ct-clmsn Thanks, looks good!

@msimberg Thanks, I hope this works and minimizes the false positive rate to something more reasonable. Are there other things that I should do for the pycicle-Build pycicle-Test failures?

@ct-clmsn I think those can be ignored for now as they are unrelated to your work and will be fixed independently.


Importing azuread.Application produces an invalid resource

What happened?
Importing a resource of type azuread.Application produces an invalid resource:
  azuread:index:Application (pulumi-deployments-oidc):
    warning: One or more imported inputs failed to validate. This is almost certainly a bug in the `azuread` provider. The import will still proceed, but you will need to edit the generated code after copying it into your program.
    warning: azuread:index/application:Application resource 'pulumi-deployments-oidc' has a problem: Conflicting configuration arguments: "feature_tags": conflicts with tags. Examine values at 'pulumi-deployments-oidc.featureTags'.
    warning: azuread:index/application:Application resource 'pulumi-deployments-oidc' has a problem: Conflicting configuration arguments: "tags": conflicts with feature_tags. Examine values at 'pulumi-deployments-oidc.tags'.

Here's the code that was generated:
const pulumi_deployments_oidc = new azuread.Application("pulumi-deployments-oidc", {
  displayName: "pulumi-deployments-oidc",
  featureTags: [{}],
  // ...
  tags: [
    "webApp",
    "apiConsumer",
  ],
  // ...
}, {
  protect: true,
});

This line needs to be removed and the resource will be valid:
  featureTags: [{}],

Example
n/a
Output of pulumi about
CLI
Version      3.89.0
Go Version   go1.21.3
Go Compiler  gc

Plugins
NAME     VERSION
azuread  5.42.0
nodejs   unknown

Host
OS       darwin
Version  14.0
Arch     arm64

This project is written in nodejs: executable='/Users/jkodroff/.nvm/versions/node/v20.8.0/bin/node' version='v20.8.0'

Current Stack: jkodrofftest/test-import/dev

TYPE                                                                                URN
pulumi:pulumi:Stack                                                                          urn:pulumi:dev::test-import::pulumi:pulumi:Stack::test-import-dev
pulumi:providers:azuread                                                                     urn:pulumi:dev::test-import::pulumi:providers:azuread::default_5_42_0
azuread:index/application:Application                                                        urn:pulumi:dev::test-import::azuread:index/application:Application::pulumi-deployments-oidc
azuread:index/applicationFederatedIdentityCredential:ApplicationFederatedIdentityCredential  urn:pulumi:dev::test-import::azuread:index/applicationFederatedIdentityCredential:ApplicationFederatedIdentityCredential::test

Found no pending operations associated with dev

Backend
Name           pulumi.com
URL            https://app.pulumi.com/jkodroff
User           jkodroff
Organizations  jkodroff, oracle-workshop, jkodrofftest, aws-partnership, zephyr, demo, pulumi
Token type     personal

Dependencies:
NAME             VERSION
@pulumi/azuread  5.42.0
@pulumi/pulumi   3.89.0
@types/node      16.18.59

Pulumi locates its logs in /var/folders/5m/4n1x3f8151s35wc80w06z5k80000gn/T/ by default

Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Given this:
import * as azuread from "@pulumi/azuread";

// Create an Azure AD Application
const adApp = new azuread.Application("myAzureAdApp", {
    displayName: "My AzureAD Application",
    signInAudience: "AzureADMyOrg",
    web: {
        redirectUris: ["https://localhost:3000/"],
        logoutUrl: "https://localhost:3000/logout",
    },
    tags: [
        "webApp",
        "apiConsumer",
    ],
});

// Export the application ID
export const applicationId = adApp.id;

And then this:
pulumi up
pulumi import azuread:index/application:Application example2 /applications/$(pulumi stack output applicationId) .

Getting this import now ("@pulumi/azuread": "5.51.0"):
import * as pulumi from "@pulumi/pulumi";
import * as azuread from "@pulumi/azuread";

const example3 = new azuread.Application("example3", {
    displayName: "My AzureAD Application",
    featureTags: [{
        customSingleSignOn: false,
        enterprise: false,
        gallery: false,
        hide: false,
    }],
    web: {
        logoutUrl: "https://localhost:3000/logout",
        redirectUris: ["https://localhost:3000/"],
    },
}, {
    protect: true,
});

The presense of both tags and feature_tags got deconflicted but unfortunately it picked to retain feature_tags only, which is unfortunate.
{
  "method": "/pulumirpc.ResourceProvider/Read",
  "request": {
    "id": "/applications/6906a7f0-39e0-47fb-97ab-607e0f59fd0a",
    "urn": "urn:pulumi:dev2::azuread-506::azuread:index/application:Application::example4",
    "properties": {}
  },
  "response": {
    "id": "/applications/6906a7f0-39e0-47fb-97ab-607e0f59fd0a",
    "properties": {
      "__meta": "{\"e2bfb730-ecaa-11e6-8f88-34363bc7c4c0\":{\"create\":600000000000,\"delete\":300000000000,\"read\":300000000000,\"update\":600000000000},\"schema_version\":\"2\"}",
      "api": {
        "knownClientApplications": [],
        "mappedClaimsEnabled": false,
        "oauth2PermissionScopes": [],
        "requestedAccessTokenVersion": 1
      },
      "appRoleIds": {},
      "appRoles": [],
      "applicationId": "e532e916-e660-42f8-a403-95aa65cad725",
      "clientId": "e532e916-e660-42f8-a403-95aa65cad725",
      "description": "",
      "deviceOnlyAuthEnabled": false,
      "disabledByMicrosoft": "<nil>",
      "displayName": "My AzureAD Application",
      "fallbackPublicClientEnabled": false,
      "featureTags": [
        {
          "customSingleSignOn": false,
          "enterprise": false,
          "gallery": false,
          "hide": false
        }
      ],
      "groupMembershipClaims": [],
      "id": "/applications/6906a7f0-39e0-47fb-97ab-607e0f59fd0a",
      "identifierUris": [],
      "logoImage": "",
      "logoUrl": "",
      "marketingUrl": "",
      "notes": "",
      "oauth2PermissionScopeIds": {},
      "oauth2PostResponseRequired": false,
      "objectId": "6906a7f0-39e0-47fb-97ab-607e0f59fd0a",
      "optionalClaims": {
        "accessTokens": [],
        "idTokens": [],
        "saml2Tokens": []
      },
      "owners": [],
      "preventDuplicateNames": false,
      "privacyStatementUrl": "",
      "publicClient": {
        "redirectUris": []
      },
      "publisherDomain": "pulumi.onmicrosoft.com",
      "requiredResourceAccesses": [],
      "serviceManagementReference": "",
      "signInAudience": "AzureADMyOrg",
      "singlePageApplication": {
        "redirectUris": []
      },
      "supportUrl": "",
      "tags": [
        "webApp",
        "apiConsumer"
      ],
      "templateId": "",
      "termsOfServiceUrl": "",
      "web": {
        "homepageUrl": "",
        "implicitGrant": {
          "accessTokenIssuanceEnabled": false,
          "idTokenIssuanceEnabled": false
        },
        "logoutUrl": "https://localhost:3000/logout",
        "redirectUris": [
          "https://localhost:3000/"
        ]
      }
    },
    "inputs": {
      "__defaults": [],
      "displayName": "My AzureAD Application",
      "featureTags": [
        {
          "__defaults": [],
          "customSingleSignOn": false,
          "enterprise": false,
          "gallery": false,
          "hide": false
        }
      ],
      "web": {
        "__defaults": [],
        "logoutUrl": "https://localhost:3000/logout",
        "redirectUris": [
          "https://localhost:3000/"
        ]
      }
    }
  },
  "metadata": {
    "kind": "resource",
    "mode": "client",
    "name": "azuread"
  }
}

This is because Pulumi has to guess from the Read response whether featureTags and tags are inputs or outputs and it looks like it guesses incorrectly in this case. Is this acceptable to close @jkodroff or we need to figure out how to make it prefer tags?

I'll err on the side of closing but please reopen if it does not solve your problem.


feat: add deploys info card to home

🔥 Summary

Add deploys info card to home page
Temp info until deploys endpoint is updated

We'll actually probably want to close this PR for now. I got some info from the sidecar team that they will be doing some overhaul to the deploys endpoint and this won't be relevant for a while.


Fix broken link to examples on quickstart docs

Issue
Link from Quickstart to Examples was broken

Solution
Update markdown link path and text.

Already fixed in og-develop branch. thanks!


added necessary dependencies for CentOS / RHEL install. …

Split out OS installations to separate includes
Added some missing dependencies for vanilla CentOS7 install

I just realized that you have your own requirements for these.