Semantic segmentation for binary masks (2 class: background/persono)

@Tramac @BorisTestov @prianchoI try to use the coco dataset and only include two classes person and background , when I train ,the errors are follows:
_File "train.py", line 203, in
trainer.train()
File "train.py", line 139, in train
loss = self.criterion(outputs, targets)
File "/home/data/anaconda3/envs/caffe2_py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/home/data/code/Fast-SCNN-pytorch/utils/loss.py", line 120, in forward
return super(MixSoftmaxCrossEntropyOHEMLoss, self).forward(*inputs)
File "/home/data/code/Fast-SCNN-pytorch/utils/loss.py", line 96, in forward
return self.criterion(predict, target)
File "/home/data/anaconda3/envs/caffe2_py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 493, in call
result = self.forward(*input, **kwargs)
File "/home/data/anaconda3/envs/caffe2_py36/lib/python3.6/site-packages/torch/nn/modules/loss.py", line 942, in forward
ignore_index=self.ignore_index, reduction=self.reduction)
File "/home/data/anaconda3/envs/caffe2_py36/lib/python3.6/site-packages/torch/nn/functional.py", line 2056, in cross_entropy
return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
File "/home/data/anaconda3/envs/caffe2_py36/lib/python3.6/site-packages/torch/nn/functional.py", line 1873, in nll_loss
ret = torch._C._nn.nll_loss2d(input, target, weight, Reduction.get_enum(reduction), ignore_index)
RuntimeError: weight tensor should be defined either for all or no classes at /pytorch/aten/src/THCUNN/generic/SpatialClassNLLCriterion.cu:27
Do you have any suggestion or solution?  I don't know how to slove it.

Please print the shape of outputs and target. And what's the classes value in your target?

torch.Size([6, 2, 512, 512]) torch.Size([6, 2, 512, 512])

I change 'self.criterion = MixSoftmaxCrossEntropyOHEMLoss(aux=args.aux, aux_weight=args.aux_weight, ignore_index=-1).to(args.device)'  into 'self.criterion = MixSoftmaxCrossEntropyLoss()'
it can work, why ?

OHEM loss is for cityscapes.

self.criterion = MixSoftmaxCrossEntropyLoss() just use default parameter, aux=True, aux_weight=0.2, ignore_label=-1，which are different in aux = False, aux_weight = 0.4.
when aux = True, it will use aux_loss , could  you give me more detailed analysis，thanks a lot

If you use deep supervision, please set aux=True.

yeah ，now my training is set aux=True ，I will observe the result, looks like the loss value don't drop.

Perhaps the format of the target is wrong, whose shape should be [6, 512, 512] with value 0 and 1.

the target shape  include the number of classes, because  I find the inital training's output is [12,19,512,512]

Target should be single channel.

yes, I change three channel into singel with the value 0 and 1

Does the training process converge?

No, the loss value 0.4 ~0.9 , I'm trying to modify the lr

Try to increase the learning rate.

@Tramac  If I choose 'self.criterion = MixSoftmaxCrossEntropyLoss( )'  , should I add ignore_index=-2 or other values than 0,1 ?

@feitiandemiaomi ，@Tramac
Hi,I meet the same problem,I want to train myself dataset which have binary masks.
Then I used self.criterion = MixSoftmaxCrossEntropyLoss( ) instead of self.criterion = MixSoftmaxCrossEntropyOHEMLoss.
And set aux=True. However,the shape of  outputs and target are torch.Size([4, 2, 768, 768]) torch.Size([768, 768]),is this normal?And how to set the ignore_index?Can you give some advice? Thank you!


Data inside dictionary gets manipulated

So i have this unicorn view:
class ProductView(UnicornView):
    reviews: QuerySet[Review] = None
    product: Type[Product] = None
    # review: Type[Review] = Review()
    # form_class = ReviewForm
    reviewing = False
    is_writing = False
    title = ""
    message = ""
    rate = int()
    form_errors = {}

    def mount(self):
        self.reviews = self.product.reviews.get_not_deleted_reviews().get_verified_reviews()\
            .values(
                "rate",
                "title",
                "created",
                "message",
            )

    def edit(self):
        self.reviewing = True

    def writing(self):
        self.is_writing = True

    def create_form(self):
        data = {
            "title": self.title,
            "message": self.message,
            "rate": self.rate,
            "product": self.product,
            "user": self.request.user
        }
        form = ReviewForm(data)
        if form.is_valid():
            form.save()
            self.form_errors = {}
            messages.success(self.request, _("Your comment submitted successfully and will be published once it gets verified"))
            self.is_writing = False
            self.reset()
        else:
            self.form_errors = {str(i.label):i.errors for i in form if i.errors}

    def submit(self):
        self.create_form()

and in my html:
{{form_errors}}
{% if form_errors %}

    {% trans 'Please fix the errors:' %}
    {% for field, error_list in form_errors.items %}

{{ field }}:

            {% for error in error_list %}

{{ error|escape }}

            {% endfor %}

    {% endfor %}

{% endif %}

and everything works fine  when i submit the form (i mean shows errors properly) :

and when i change the value inside one of my inputs the values of dictionary (which are list of strings) just gets removed but the keys remain:

Writing some TypedDict classes for form_errors and then defining the type should fix it.

Hmm, so I'm not sure I understand what exactly is happening here, but a few thoughts:
Use None for the initial value of form_errors or use mount to create a new dictionary of form_errors if needed. This will remove a mutable class attribute which you almost certainly aren't intending for.
Instead of:
class ProductView(UnicornView):
    ...
    form_errors = {}
    ...

class ProductView(UnicornView):
    ...
    form_errors = None

    def mount(self):
        self.form_errors = {}  # this is optional if you need it

You could also look into using the form_class in your view which should handle some of the form logic you are doing manually: https://www.django-unicorn.com/docs/validation/.
I'm going to close this for now, but let me know if you are still running into problems and can make a reproducible test case that I can I work on. Thanks!


CTRL-L mapping refreshing screen instead of moving right to vsplit

I use the brewed version of Vim (version 8.0.1300) on macOS Sierra.  I am using vim-tmux-navigator, with the "default" config from the README.md.
Just this week the CTRL-L key mapping started refreshed the screen instead of moving right in a vsplit in vim from Netrw only file system view.  It works from inside a file (i.e. after pressing enter from Netrw).
Any ideas on what this might be? Not sure what other information you need on my configurations or system, let me know.
Thank you.

Hmm, sounds like Ctrl-l is being passed through to the underlying app. In the shell this will clear the screen, while vim will handle it as a navigation command.
My guess is the vim detection is failing somehow. Can you try:

Exit all tmux sessions (run tmux list-sessions to confirm all closed), then start a new one to confirm that things are broken with your current config
Assuming no change after restarting tmux, paste your tmux conf here

There's definitely no additional detached open sessions (error connecting to /private/tmp/tmux-501/default (No such file or directory) after tmux list-sessions).  CTRL-L` refresh is definitely happening.
This is my config.  Please note, I've tried both binding options - the one from your README.md (L27-35) and the one uncommented below (L37-52).
# remap prefix to Control + a
set -g prefix C-a

# bind 'C-a C-a' to type 'C-a'
bind C-a send-prefix
unbind C-b

# Start window numbering at 1
set -g base-index 1

# Allow for faster key repetition
set -s escape-time 0

# Use vim keybindings in copy mode
setw -g mode-keys vi

# Setup 'v' to begin selection as in Vim
#bind-key -t vi-copy v begin-selection
#bind-key -t vi-copy y copy-pipe "reattach-to-user-namespace pbcopy"

# Update default binding of `Enter` to also use copy-pipe
#unbind -t vi-copy Enter
#bind-key -t vi-copy Enter copy-pipe "reattach-to-user-namespace pbcopy"

bind-key -T copy-mode-vi Enter send-keys -X copy-pipe "reattach-to-user-namespace pbcopy"

# Smart pane switching with awareness of Vim splits.
# See: https://github.com/christoomey/vim-tmux-navigator
#is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
#    | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
#bind-key -n C-h if-shell "$is_vim" "send-keys C-h"  "select-pane -L"
#bind-key -n C-j if-shell "$is_vim" "send-keys C-j"  "select-pane -D"
#bind-key -n C-k if-shell "$is_vim" "send-keys C-k"  "select-pane -U"
#bind-key -n C-l if-shell "$is_vim" "send-keys C-l"  "select-pane -R"
#bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"

# Smart pane switching with fzf (instead of above)
is_vim="ps -o state= -o comm= -t '#{pane_tty}' \
    | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?g?(view|n?vim?x?)(diff)?$'"
is_fzf="ps -o state= -o comm= -t '#{pane_tty}' \
    | grep -iqE '^[^TXZ ]+ +(\\S+\\/)?fzf$'"
bind -n C-h run "($is_vim && tmux send-keys C-h) || \
    tmux select-pane -L"
bind -n C-j run "($is_vim && tmux send-keys C-j)  || \
    ($is_fzf && tmux send-keys C-j) || \
    tmux select-pane -D"
bind -n C-k run "($is_vim && tmux send-keys C-k) || \
    ($is_fzf && tmux send-keys C-k)  || \
    tmux select-pane -U"
bind -n C-l run "($is_vim && tmux send-keys C-l) || \
    tmux select-pane -R"
bind-key -n C-\ if-shell "$is_vim" "send-keys C-\\" "select-pane -l"

# Fix macOS Sierra copy paste problem https://github.com/tmux/tmux/issues/543#issuecomment-248980734
set -g default-shell $SHELL
set -g default-command "reattach-to-user-namespace -l ${SHELL}"

######################
### DESIGN CHANGES ###
######################

# panes
set -g pane-border-fg black
set -g pane-active-border-fg brightred

## Status bar design
# status line
set -g status-justify left
set -g status-bg default
set -g status-fg colour12
set -g status-interval 2

# messaging
set -g message-fg black
set -g message-bg yellow
set -g message-command-fg blue
set -g message-command-bg black

#window mode
setw -g mode-bg colour6
setw -g mode-fg colour0

# window status
setw -g window-status-format " #F#I:#W#F "
setw -g window-status-current-format " #F#I:#W#F "
setw -g window-status-format "#[fg=magenta]#[bg=black] #I #[bg=cyan]#[fg=colour8] #W "
setw -g window-status-current-format "#[bg=brightmagenta]#[fg=colour8] #I #[fg=colour8]#[bg=colour14] #W "
setw -g window-status-current-bg colour0
setw -g window-status-current-fg colour11
setw -g window-status-current-attr dim
setw -g window-status-bg green
setw -g window-status-fg black
setw -g window-status-attr reverse

# Info on left (I don't have a session display for now)
set -g status-left ''

# loud or quiet?
set-option -g visual-activity off
set-option -g visual-bell off
set-option -g visual-silence off
set-window-option -g monitor-activity off
set-option -g bell-action none

set -g default-terminal "screen-256color"

# The modes {
setw -g clock-mode-colour colour135
setw -g mode-attr bold
setw -g mode-fg colour196
setw -g mode-bg colour238

# }
# The panes {

set -g pane-border-bg colour235
set -g pane-border-fg colour238
set -g pane-active-border-bg colour236
set -g pane-active-border-fg colour51

# }
# The statusbar {

set -g status-position bottom
set -g status-bg colour234
set -g status-fg colour137
set -g status-attr dim
set -g status-left ''
set -g status-right '#[fg=colour233,bg=colour241,bold] %d/%m #[fg=colour233,bg=colour245,bold] %H:%M:%S '
set -g status-right-length 50
set -g status-left-length 20

setw -g window-status-current-fg colour81
setw -g window-status-current-bg colour238
setw -g window-status-current-attr bold
setw -g window-status-current-format ' #I#[fg=colour250]:#[fg=colour255]#W#[fg=colour50]#F '

setw -g window-status-fg colour138
setw -g window-status-bg colour235
setw -g window-status-attr none
setw -g window-status-format ' #I#[fg=colour237]:#[fg=colour250]#W#[fg=colour244]#F '

setw -g window-status-bell-attr bold
setw -g window-status-bell-fg colour255
setw -g window-status-bell-bg colour1

# }
# The messages {

set -g message-attr bold
set -g message-fg colour232
set -g message-bg colour166

# }

Hmmm, I'm not seeing anything that looks off in the tmux conf.
To confirm, is it only C-l that behaves unexpectedly, or do others of the key bindings also behave oddly?
Also, can you confirm what the ps process list looks like for both a vim pane, and a non-vim pane? Steps to get that:

Use prefix-q to get the pane's ID
Get the pane's tty by running the following with the ID from above replaced tmux display-message -t <ID-HERE> -p '#{pane_tty}' | xargs ps -o state= -o comm= -t

Have you checked :verb map <c-l> ?
Maybe there is a buffer specific mapping?

@christoomey Yes, it is only CTRL-L that is behaving unexpectedly.
Response from your command in a tmux pane is:
Ss   -bash
S+   xargs
R+   ps

Response in a vim pane is:
Ss   -bash
S+   vim

@blueyed Response from :verb map <c-l> is:
n  <C-L>        @<Plug>NetrwRefresh
        Last set from /usr/local/Cellar/vim/8.0.1300/share/vim/vim80/autoload/netrw.vim
n  <C-L>       * :TmuxNavigateRight<CR>
        Last set from ~/dotfiles/vim/plugged/vim-tmux-navigator/plugin/tmux_navigator.vim

Might be netrw overwriting the mapping for that buffer then: it probably refreshes your dir listing.

Thanks @almccann, that's what I needed. I modified it a bit to not show the command in the status bar:
augroup netrw_mapping
  autocmd!
  autocmd filetype netrw call NetrwMapping()
augroup END

function! NetrwMapping()
  nnoremap <silent> <buffer> <c-l> :TmuxNavigateRight<CR>
endfunction

Any chance this could get merged into the plugin?

In my experience this is what happens with <Plug> mappings: even if you try to remap them manually, the <Plug> mapping will prevail.
The solution is to map the <Plug>NetrwRefresh command to something else, thus releasing <C-l> so that it can be used in manual keybindings. For instance, I've added to my .vimrc:
" Freed <C-l> in Netrw
nmap <leader><leader><leader><leader><leader><leader>l <Plug>NetrwRefresh

This binds <Plug>NetrwRefresh to a ridiculous key combination (I will never ever press <leader> so many times in a row), which is what I want because I have no use for this command so I don't intend to use it.
Now I can bind  <C-l> to whatever I need :)

I've solved this in .vim/after/ftplugin/netrw.vim with the following contents:
nnoremap <buffer> <C-l> :TmuxNavigateRight<cr>

fix for NeoVim in lua
place the following in: ~/.config/nvim/after/plugin/vim-tmux-navigator.lua
-- Create an autocommand group for netrw mappings
vim.api.nvim_create_augroup('netrw_mapping', { clear = true })

-- Define the NetrwMapping function
local function NetrwMapping()
    vim.keymap.set('n', '<c-l>', ':TmuxNavigateRight<CR>', {
        silent = true, buffer = true
    })
end

-- Set up the autocommand to call the NetrwMapping function when
-- the filetype is netrw
vim.api.nvim_create_autocmd('FileType', {
    group = 'netrw_mapping',
    pattern = 'netrw',
    callback = NetrwMapping
})

fix for NeoVim in lua
place the following remap in: ~/.config/nvim/after/ftplugin/netrw.lua
vim.keymap.set('n', '<c-l>', ':TmuxNavigateRight<CR>', {
    silent = true, buffer = true
})

Re: NeoVim solution @saifazmi
I could only get it to work properly by following your most recent dotfiles and replacing the : with <cmd>:
vim.keymap.set('n', '<c-l>', '<cmd>TmuxNavigateRight<CR>', { silent = true, buffer = true })

Just wanted to note that here in case it helps anyone else.

Hi, I like to navigate between Netrw and my code using <C-l> and <C-h>. However, when I switch to the Netrw right split, I can't return to the editor with <C-l> when using the default explore style. Additionally, when the explore style is set to tree (let g:netrw_liststyle=3), pressing <C-l> opens a new explorer window. I'm not sure why it behaves this way, but unbinding <C-l> seems to fix the issue.
Wouldn't it be better if the plugin unbound the keymap by default?
Here's the solution I've been using:
Vim
autocmd FileType netrw silent! unmap <buffer> <C-L>

Neovim
vim.api.nvim_create_autocmd("FileType", {
  pattern = "netrw",
  callback = function()
    vim.api.nvim_buf_del_keymap(0, 'n', '<C-L>')
  end,
})

I wrote PR #393 to pull a workaround directly into the plugin. You should be able to remove the autocommand workarounds from your vimrc/init.lua if you want.


Add repository info to package.json

Summary
This adds the repository property to the package.json.
One problem with having no repository property is, that tools like license crawlers cannot read the creator and add repository links.

See how the author is ??? and the View Repository button is not present?

Compatibility

OS
Implemented

iOS
✅

Android
✅

Checklist

[ ] I have tested this on a device and a simulator
[ ] I added the documentation in README.md
[ ] I mentioned this change in CHANGELOG.md
[ ] I updated the typed files (TS and Flow)
[ ] I added a sample use of the API in the example project (example/App.js)

@Esemesek I assume we don't want to change the package name, right?

Yup, the package name stays the same for now.


new flame graph for some benchmark

See https://github.com/jeff-regier/Celeste.jl/issues/548 for an updated version of the one light source benchmark. It is made on Haswell.


HHH-12855 - Add query plan compilation statistics

https://hibernate.atlassian.net/browse/HHH-12855

@sebersole If you have time, can you take a look on this issue? Thanks.

Oh and additional comment: we need to add them in the new documentation you recently added.

there's a merge conflict you should fix in the logger.


docs: Update openssl path

This path has changed again with Apple Silicon and ARM libraries: https://docs.brew.sh/Installation

Thanks!


doc: add width/height in hd44780 usage examples

so people don't have to look at the api docs for those 2 most commonly used params.

can hd44780 also be added to the github description for luma.lcd?


Add PCPartPicker to the list

PCPartPicker has literally no rules in regards to password complexity (as far as I can tell). Even creating/changing a password with a single character worked just fine.

I don't think I've seen one with a single character password. That's bad. Thanks for the contribution.


Server Rendering Checksum Error

When server-rendering we get a checksum error because DateInput is using isTouchDevice to set the readOnly attribute on the input. isTouchDevice is always rendering false on the server (since window isn't defined) regardless of whether the client device is actually a touchDevice. What's worse, this causes checksum errors even if the device is not a touch device anyway:
       Warning: React attempted to reuse markup in a container but the checksum was invalid. This generally means that you are using server rendering and the markup generated on the server was not what the client was expecting. React injected new markup to compensate which works but you have lost many of the benefits of server rendering. Instead, figure out why the markup being generated is different on the client or server:
        (client)  autocomplete="off" readonly="" aria-des
        (server)  autocomplete="off" aria-describedby=""

One way to fix this might be to move the device type check to run only after the component mounts and just use a constant value when on the server and on the initial render. Or, alternatively, you could allow the user to specify the value themselves if they so choose and thus figure out their own fix, such as guessing the device type on the server via the request's user agent header (similar to this discussion for media queries in react-responsive: https://github.com/contra/react-responsive/issues/43).

Indeed, moving the isTouchDevice check to componentDidMount is the proper solution here.

@ljharb Should I make a PR?

I'm about to put one up :-) thanks tho!

Fixed, will be in the next release.


Seemingly no way to get the response body on error

I need to get the body of the error when mp.addDJ fails, to parse the error message returned.
Example:
{
    "data": ["This request was understood but is forbidden."],
    "meta": {},
    "status": "noValidPlaylist",
    "time": 12.279033660888672
}

But there doesn't seem to be any way to get it through Promise.catch or the second Promise.then parameter. All I get is the native HTTP Error which isn't very useful.
Sorry if I missed a very obvious way of doing this.

Yeah this does need to be better. Right now you can access the response object from got on the response property:
mp.addDJ(xyz).catch((err) => {
  console.log(err.response.body)
})


Export feature generates sheets with all cells selected

It saves a click  if the process just goes to cell A1 after generating each sheet

Sorted


how to return only productlist(List products) rather than returning widget

Hi Ashish,
Thanks for sharing your work, backend structure is really great.
is there any way that i can return productlist(List products) without returning any widget?
every time I use BlocConsumer or Builder its asking for a Widget to return from dataWidget, how can i simply return the list
can u suggest me some modifications for it
        cubit: allProductsCubit,
        listener:
            (BuildContext context, ResultState<List<ProductModel>> state) {},
        builder: (BuildContext context, ResultState<List<ProductModel>> state) {
          return ResultStateBuilder(
            state: state,
            loadingWidget: (bool isReloading) {
              return Center(
                child: CommonAppLoader(),
              );
            },
            errorWidget: (String error) {
              return Container();
            },
            dataWidget: (List<ProductModel> value) {
              return dataWidget(value);          //only returns widget here
            },
          );
        },
      ),

I got that there is something I need to change at result_state, cannot understand what to change
Response would be much appreciated!

I got to know about that using
fetchProduct([String condition]) async {
  try {
    if (condition == null) {
      documents = await _firebaseRepo.getAllProducts();
    } else {
      documents = await _firebaseRepo.getAllProductsData(condition);
    }
    products = List<Product>.generate(
        documents.length, (index) => Product.fromJson(documents[index]));
    List.generate(products.length, (index) {
      print(products[index].name);
    });
    print(products.length);
    print(products);
    return products.toSet().toList();
  } catch (e) {
    return e.toString();
  }
}


Jan 2022 baseline perf report

Task Description
As we move to focus on performance as a feature we should have a proper baseline to compare and seek improvements from.

Testing three base interactions on main prior to any of the recent performance improvements to establish a baseline:

Select an element
Drag a selected element to update it's position
Change the layer order of a selected element

These tests are being performed on a fully specced out 2018 macbook pro on this sample story:
https://stories-new-wordpress-amp.pantheonsite.io/wp-admin/post.php?post=20239&action=edit#page=%2522593109cf-a227-4f95-af6b-f413e823064a%2522
The story should look like this and have 1 page that contains 50 shape elements (51 elements total including the background):

Drag a selected element to update it's position
Initiating the drag

React Specific
Total JS

Largest Commit: ~115ms
Rough total interaction time:  ~225ms

Ending the drag

React Specific
Total JS

Largest Commit: ~250ms
Rough total interaction time: ~690ms

Change the layer order of a selected element

React Specific
Total JS

Largest Commit: ~205ms
Rough total interaction time: ~455ms

We can add more baseline tests here as we establish them by checking out main at the hash 1d5c7228e and performing them on the test story mentioned above.


Fix for Settings screen margins

Description of Work
Fixes layout issues on Categories and Selection Mode.

I think we should fix timing and sensitivity too in this PR

test approved


Add support for more hostapd control interface commands

This PR introduces a couple of APIs controlling (and querying) hostapd. The use case I'm working on is fairly limited so far, so this only includes get_config, enable/disable, and set; the latter is implemented in terms of passing a String key/value pair.

This looks great - well done! Sorry I missed it on its way in previously. I only noticed it yesterday.

No worries :)


Code Server on Google's VM doesn't work with https enabled

I have set up code-server on Google Cloud's compute instance. When I run the code-server via http everything works just as fine. After I set up my https with the SSL certificates from certbot, I simply don't get any connection. The only thing I have done is that I set up my subdomain which is registered on namecheap to point to the ip of the VM on the google cloud. My main domain points to github, since I just have my blog there. The ceritificate on certbot is also configured using my subdomain. I am not sure why its failing to connect. Chrome complains that it could not connect and no error really. Here's the code for my code-server
sudo ./code-server --port 80 --cert /etc/letsencrypt/live/dev.datacurious.me/fullchain.pem --cert-key /etc/letsencrypt/live/dev.datacurious.me/privkey.pem
I would really appreciate if somebody could help with this. Thanks

I followed the guide available here and realized that when using port 80 the https doesn't work, and I am not sure if this is a bug or not. Link


Notes became misaligned when window size is changed

Windows 10 x64, 0ea558b x64
https://github.com/Encore-Developers/Encore-Raylib/assets/43602802/3f022168-45a2-45fd-bcf9-7f74b3f25d83

I have a pending commit on my system that should fix this issue, although itll probably take a bit for me to commit it as it needs some cleaning up.

Also fixed recently within the last 6 commits on Indev.


Hive 23301

UDF to map bits to privileges.

Marked as resolved in JIRA.  Please reopen if required.
https://issues.apache.org/jira/browse/HIVE-23301


Support for scope or class methods with with_associations?

It'd be wonderful if you could give with_associations one or both of these to filter the match. I looked at the code real quick and saw that it's specifically looking for associations, but maybe it could be expanded?

:+1:


[SPARK-36180][SQL] Store TIMESTAMP_NTZ into hive catalog as TIMESTAMP

What changes were proposed in this pull request?

This PR fix a issue that HMS can not recognize timestamp_ntz by mapping timestamp_ntz to timestamp of hive
Why are the changes needed?

The hive 2.3.9 does not have 2 timestamp or a type named timestamp_ntz.
FYI, In hive 3.0, the will be a timestamp with local timezone added.
Does this PR introduce any user-facing change?

no, timestamp_ntz is new and not public yet
How was this patch tested?

new test

Test build #141820 has started for PR 33572 at commit f2c16bf.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46333/

Test build #141820 has finished for PR 33572 at commit f2c16bf.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46333/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141820/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46333/

Test build #142308 has started for PR 33572 at commit 623dc46.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46816/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46816/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46816/

Test build #142308 has finished for PR 33572 at commit 623dc46.

This patch fails Spark unit tests.
This patch does not merge cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/142308/

Hi @beliefer, you can take over if you are interested

Hi @beliefer, you can take over if you are interested

OK. Thanks.


[doc-bug][table-fix]

table border fix

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

File
Status
Preview URL
Details

msteams-platform/get-started/glossary.md
:white_check_mark:Succeeded
View

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

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/get-started/glossary.md
95
21
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

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

File
Status
Preview URL
Details

msteams-platform/concepts/design/map-use-cases.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/planning-checklist.md
:white_check_mark:Succeeded
View

msteams-platform/get-started/glossary.md
:white_check_mark:Succeeded
View

msteams-platform/overview-explore.md
:white_check_mark:Succeeded
View

msteams-platform/overview-solution.md
:white_check_mark:Succeeded
View

msteams-platform/overview.md
:white_check_mark:Succeeded
View

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

Docs Build status updates of commit 5109fee:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

msteams-platform/concepts/design/map-use-cases.md
:white_check_mark:Succeeded
View

msteams-platform/concepts/design/planning-checklist.md
:white_check_mark:Succeeded
View

msteams-platform/get-started/glossary.md
:white_check_mark:Succeeded
View

msteams-platform/overview-explore.md
:white_check_mark:Succeeded
View

msteams-platform/overview-solution.md
:white_check_mark:Succeeded
View

msteams-platform/overview.md
:white_check_mark:Succeeded
View

msteams-platform/sbs-gs-csharp.yml
:white_check_mark:Succeeded
View

msteams-platform/sbs-gs-javascript.yml
:white_check_mark:Succeeded
View

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

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/map-use-cases.md
98
2
link
:white_check_mark:

msteams-platform/concepts/design/planning-checklist.md
89
11
link
:white_check_mark:

msteams-platform/get-started/glossary.md
95
21
link
:white_check_mark:

msteams-platform/overview-explore.md

link
:warning:

msteams-platform/overview-solution.md
97
3
link
:white_check_mark:

msteams-platform/overview.md
98
3
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/concepts/design/map-use-cases.md
98
2
link
:white_check_mark:

msteams-platform/concepts/design/planning-checklist.md
89
11
link
:white_check_mark:

msteams-platform/get-started/glossary.md
95
21
link
:white_check_mark:

msteams-platform/overview-explore.md
100
1
link
:white_check_mark:

msteams-platform/overview-solution.md
97
3
link
:white_check_mark:

msteams-platform/overview.md
98
3
link
:white_check_mark:

msteams-platform/sbs-gs-csharp.yml
95
21
link
:white_check_mark:

msteams-platform/sbs-gs-javascript.yml
93
83
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Stop branch indexing from Multi-Branch plugin sending a Slack message

Hi all
I'm using this plugin for multi branch support: https://wiki.jenkins-ci.org/display/JENKINS/Multi-Branch+Project+Plugin
As it stands, when the branch indexing runs it sends a message into Slack.  I just need it to send me messages about the actual builds that it creates.
Any ideas?

It appears that this is a multi-branch-project-plugin issue, not a slack plugin issue.


Making the bounding boxes thin red lines with no fill would also make it easier to see what's inside the box. This could be toggled, or maybe just become a default?

          Making the bounding boxes thin red lines with _no fill_ would also make it easier to see what's inside the box. This could be toggled, or maybe just become a default?

Originally posted by @simbamangu in https://github.com/WildMeOrg/scout/issues/109#issuecomment-2449343855
Based on outcomes from investigation in #109, this is an interim solution to allow a quick improvement before getting into a full solution

Still difficulty with visibilty in tight herds, so #109 is still on the docket eventually


Inbox onboarding feedback

I m confused during onboarding process how to set up an inbox. I figured it out in Settings

There should be an Add inbox button.
It is unclear how to add one. In an empty inbox there should be a button to configure it and add it to the flow

Settings should be called configure inboxes

Why is Integrations page there when adding an inbox. It is confusing to have all these channels. Our call to action should be Live chat, Email forwarding or SMS.

We should put the Integration that is not relevant hidden. or move them to a different section.

On empty inbox it should redirect to configuring the individual inbox page

Having the Inboxes Settings close on the sidebar when navigating to it seems weird. I feel like it should stay consistent and keep it opened.


Fix computation of offset in arm64 compiler

I have a wasm binary (9.3MB rust wasi debug build for reference) that works on amd64 but gives an error on compile on arm64
instantiating plugin: function[1915/3143] failed to compile: relative jump offset 102451936/4 must be within -33554432 and 33554431
While I'm not that familiar with what these lines are doing, based on the comments and error message string, the change seems like what's needed :yolo:
I could confirm this change allowed my wasm to compile, though I'm not sure how to write a unit test for this.

only nit if you want is that we don't tend to use sprintf in test expectations as that has a risk of copy/pasta which drifts in ways difficult to track down. string literals are easier to know will keep working.

oh my bad ... thank you for this @anuraaga !


Fix en strings.xml

Now en strings.xml is not good. I want to check to someone who can speak English well :wink:

@KeithYokoma Maybe we can just close the issue now or changing the milestone to 1.1.0? Let me know your idea.

DroidKaigi description seems not to be up-to-date. I will update it!

looks good to me!


[FEATURE REQUEST] Quality simulation for AudioLDM and maybe others

it is included in AudioLDM repo
maybe put it into utils tab
https://colab.research.google.com/github/olaviinha/NeuralTextToAudio/blob/main/AudioLDM_pub.ipynb

What does it do?

try it, it improves the audio quality a lot

Looks like it resamples to 44khz, which is higher than models usually output, and it tries to fix some of the imprecision, also looks like it applies stereo, which should sound better.
i can see why you want that, i'll add it to the utils soon.

this improves a quality a lot
def main(prompt):
    pipe = diffusers.AudioLDMPipeline.from_pretrained("cvssp/audioldm-s-full-v2", torch_dtype=torch.float16).to("cuda")

    audio = pipe(prompt, num_inference_steps=10, audio_length_in_s=a.duration).audios[0]
    audio_44khz = librosa.resample(audio, orig_sr=16000, target_sr=sample_rate)
    audio_enhanced = enhance_audio(audio_44khz)

    return audio_enhanced

def enhance_audio(a: numpy.ndarray):
    octave_up = librosa.effects.pitch_shift(a, sr=sample_rate, n_steps=12, res_type="soxr_vhq")
    return a + octave_up

I'll try it out, i'll most likely add it in utils though, not directly in audioldm here.

put it also into audioldm, it is a must have, otherwise the quality is not good

I'm not sure how that code would enhance the audio, instead, it will just give it a higher pitch it seems. I'll test a bit further

Maybe that's just something with trying to use it separately.

Oh yeah, it can definitely sound better, not always though.
Prompt: Chopping carrots on a wooden plank
seed:<PHONE_NUMBER>245668629
other options default.
https://github.com/gitmylo/audio-webui/assets/36931363/d8e684e1-0959-4c16-b650-0ea03e9f451d
https://github.com/gitmylo/audio-webui/assets/36931363/584c636d-2e26-4bc5-9c70-dbc06a772640

that sounds great, much more cleaner

great thanks!


Umbrella issue for listing AlphaWallet

[ ] #3661
[ ] #3426
[ ] #3419
[ ] #3247
[ ] #2947

Related issue on Android https://github.com/AlphaWallet/alpha-wallet-android/issues/2359


[wysiwyg] Automatically markdown

It would be nice if it was automatically edited as markdown instead of pressing snap when you type bot (wysiwyg)

We use webview and marked.js for markdown rendering, but this limits how often we can update the content. We might explore other options in the future.

Resolved in v2 branch.


RAC-4819 - convert decommission nodes script to FIT

Created fit version of decommission test

@hohene @johren @BrentHiggins

+1

Pushed up changes suggested by PR review

BUILD RackHD #375 : FAILURE

test this please


(false positive) NSFW Domains

Energized Protection - block ⚡

Let's make an annoyance free, better open internet, altogether!

Issue Submit Form

  Provide the following info properly, which will help us to resolve your issue quickly.

Issue(s):
Type x in between [ ] and make sure there isn't any space between brackets. Example; for Your Selected Issue(s), type like this - [x]
You can select more than one category of issues if you need to!

[x] Whitelist
[ ] Blacklist
[ ] App Broken
[ ] Website Broken
[ ] Request
[ ] Other Issue

Pack(s):
Write the name of the pack(s) you are using.

Pack(s) Name: ultimate

Extension(s):
Also name the extension(s) if you are using any. If you don't then leave it blank.

Extension(s) Name:

Domain(s):
If you are submitting this issue for whitelist/blacklist issue, send us the domain(s) for whitelisting/blacklisting here. Kindly use the Code Tag to prevent tracking.

Domain(s):

si6ling.incestflix.com
youporn.com
xnxx.com
theporndude.com

Your Config:
Just to ensure there is no issues or conflicts with other app/software/magisk module/extension/source list.
Make sure you are running Energized Protection Service only.

Client: blokada

Version:

Detail:
Write us a lil bit more about your issue or query. You can attach any screen shot or log of the issue or advert, this will help to highlight it.

 Ultimate is not a porn blocker list

Thank you for making Energized Protection great, with your kind help!
A project by Ador with ❤

you serious?


Disable CMake bootstrap by default

It sounds as if we shouldn't need this anymore.

@swift-ci please test

What is the intent of this pull? I added this bootstrap flag in #3000 three years ago, but it does nothing for the native CI when enabled. I checked the CI runs for this pull and it had no effect on linux or macOS (the Windows CI doesn't build SwiftPM or use the Python build scripts). There are three common scenarios when building SwiftPM:

Building a full native toolchain from source - this flag does nothing in that case, as shown on the CI.
Building SwiftPM alone with a prebuilt Swift toolchain that has a prebuilt SwiftPM - I showed how to do that with build-script in my original pull, and this change will get that working without the kind of additional patching shown there.
Cross-compiling a Swift toolchain by using a native Swift toolchain that has a native SwiftPM - this is the usecase I added this for, and I can remove the invocation of this flag that I added for non-Darwin cross-compilation now that it is enabled by default here.

If you want to enable 1. also, you will need some way for the bootstrap script to distinguish between the freshly-built trunk toolchain in /home/build-user/build/buildbot_incremental/toolchain-linux-x86_64/, which doesn't have SwiftPM, and the prebuilt 5.8.1 toolchain on the linux CI at /opt/swift/5.8.1/, which does. Currently, the bootstrap script isn't aware of and doesn't use the prebuilt 5.8.1 toolchain for the SwiftPM build at all, so simply changing this default does nothing on the CI.

Thanks, good catch. I had only verified that this does what I expected locally but not on CI. So seems like this isn't a sufficient change.

To answer your question about the intent, we'd like to remove the CMake portion of the build entirely at some point, I (mistakenly) thought this would be an easy way to preflight that idea in all workflows that use bootstrap.

Going to revert this since it is incomplete as-is.


run example files as part of tests

Codecov Report

Merging #61 (a917000) into master (4515045) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #61   +/-   ##
=======================================
  Coverage   89.69%   89.69%
=======================================
  Files          17       17
  Lines        2533     2533
=======================================
  Hits         2272     2272
  Misses        261      261

Impacted Files
Coverage Δ

src/named_systems2.jl
87.95% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Suggestion Feature for Issue#655

Implemented Suggestion plugin requested in issue #655 and created a test case for it. Fixes #655

I think this is good for #672 too/instead

I think this is good for #672 too/instead

Updated to only work in Suggestions channel, thanks!

I updated to make a new embed object every time, thanks!


F tensorflow/core/lib/monitoring/collection_registry.cc:77] Cannot register 2 metrics with the same name: /tensorflow/cc/saved_model/load_attempt_count

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
EulerOS 4.8.5-4
TensorFlow installed from (source or binary):
source
TensorFlow version:
1.10.0
Bazel version (if compiling from source):
0.15.0
GCC/Compiler version (if compiling from source):
4.9.4

Describe the problem
Dear TensorFlow contributors,
I am using java to execute tensorflow model in tomcat in Linux with libtensorflow_jni.so and libtensorflow.jar , I have put libtensorflow_framework.so in LD_LIBRARY_PATH,  when the program started, the error happened:
F tensorflow/core/lib/monitoring/collection_registry.cc:77] Cannot register 2 metrics with the same name: /tensorflow/cc/saved_model/load_attempt_count
Any other info / logs
I guess maybe there are sth repeated in libtensorflow_jni.so and libtensorflow_framework.so and cause 'register 2 metrics'?
I read https://github.com/tensorflow/tensorflow/issues/13522，but I donnot know how to remove tensorflow-c dependency？
need your help，thanks

or maybe I need to remove tensorflow_cc dependency?

I resolved it by building with "--config=monolithic", so it seems work OK now.

Closing this out since I understand it to be resolved, but please let me know if I'm mistaken.

yes, it has been resolved@jvishnuvardhan

I resolved it by building with "--config=monolithic", so it seems work OK now.

hello,  what did you rebuilding ?

I resolved it by building with "--config=monolithic", so it seems work OK now.

What all flags have you enabled for bazel build  apart from opt and monolithic
bazel build --config=opt //tensorflow/tools/pip_package:build_pip_package
I'm also facing the same issue..Can you please tell that sir


Jaguars acronym error week 1 2016

The game.home value is 'JAC' but the game.schedule['home'] is 'JAX' The acronym used for filtering plays must be 'JAC' to work but the filter used by game must be 'JAX'. Otherwise it returns Nonetype.
games=nflgame.games(2016, week=1, home='JAX',away='JAX')
for g in games:
   print(g.home,g.away)
   print(g.schedule)

(u'JAC', u'GB')
{u'week': 1, u'meridiem': u'PM', u'gamekey': u'56905', u'season_type': u'REG', u'away': u'GB', u'year': 2016, u'month': 9, u'eid': u'2016091103', u'time': u'1:00', u'home': u'JAX', u'wday': u'Sun', u'day': 11}

games=nflgame.games(2016, week=1, home='JAX',away='JAX')
plays = nflgame.combine_plays(games)
for play in plays.filter(team='JAC'):
    print(play)

(JAC, JAC 18, Q1, 1 and 10) (14:56) T.Yeldon up the middle to JAC 24 for 6 yards (J.Ryan).
(JAC, JAC 24, Q1, 2 and 4) (14:16) (Shotgun) T.Yeldon right guard to JAC 29 for 5 yards (B.Martinez).

Week 2 and onward 'JAX' must be used in the play filter and 'JAC' no longer works

You should add this to your nfldb:
insert into team values('JAX','Jacksonville', 'Jaguars');
insert into team values ('LAC', 'Los Angeles', 'Chargers');


Does not fail when output folder does not have write permission

I have executed the validator without specifying the -o, so as default uses the location of the input file, where I don't have write permissions. The program has not failed at any point.
jcoll@node-01:~$ ./vcf_validator_linux -i /data/my_vcf.vcf.gz
[info] Reading from input file...
[warning] Detected .gz compression
Lines read: 10000
Lines read: 20000
Lines read: 30000
....
....
Lines read: 130610000
Lines read: 130620000
Lines read: 130630000
[info] Summary report written to : /data/my_vcf.vcf.gz.errors_summary.1529575578873.txt
[info] According to the VCF specification, the input file is not valid
jcoll@node-01:~$ less /data/my_vcf.vcf.gz.errors_summary.1529575578873.txt
/data/my_vcf.vcf.gz.errors_summary.1529575578873.txt: No such file or directory

This is merged in develop, but we will close when it's in a release and the requestor confirms it's fixed.

I tested this with the latest release and it works as expected.
However, we can improve this message in the case of ODB report:

./vcf_validator_linux -i no_write_permissions/a.vcf  -r database
[error] The validation could not be completed: ODB report: Can't initialize database: 14: unable to open database file

should say the path of the "database file"


more generic implementation of array_of_doubles_sketch

array_tuple_sketch , union, intersection, a_not_b with parameterized array type and policy

Motivation:
I found that array_of_doubles_* was too rigid: doubles only, no way to change update policy and union policy, and no way to substitute our custom array with std::vector
In this implementation all array_of_doubles_* types are just aliases with default policy (if applicable) and array, but easy to have any type like std::vector or something.
I am not sure if the name array_tuple_* is the best. Suggestions are welcome.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

84 of 84 (100.0%)  changed or added relevant lines in 6 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.941%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
16072

Relevant Lines:
16244

💛  - Coveralls

Merge away!


Enum with only one element should be CHAR not VARCHAR

{
  "type": "object",
  "properties": {
    "event": {
      "enum": [ "TRUCK_DEPARTS" ]
    },

Currently generates:
    "event"              VARCHAR(13) NOT NULL,

It should generate:
    "event"              CHAR(13) NOT NULL,

Low priority edge-case, can wait till 0.2.0

Nothing sophisticated anyway.

Does closing it mean you did it in 0.1.0?

Sure.


Display leaderboard on https://muncompsci.ca/

Requires #6 & #7

API exists, this should be tracked and implemented on the CS society side if still desired


Enable caching of fonts?

Right now fonts such as Material CSS icon font are left out, even when directly included via webpack. Any ideas on how best to add the /dist/font/*.woff2 fonts to the cache?
This should probably be the default setting as fonts are often critical to the layout and relatively small.
Here's how I did it... not using chunks
    <%
    for (var asset of webpack.assets) {
      if (asset.name && asset.name.match(/\.(woff2)$/)) { %>
        <link rel="prefetch"
          href="<%= htmlWebpackPlugin.files.publicPath + asset.name %>"
          as="font"><%
      }
    }
    %>

Yes, It could be very usefull !

Another way is to move to PreloadWebpackPlugin #113


Wrong syntax highlighting when combining JSX and Flowtype syntax

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T17:15:57.756Z)
OS Version: Darwin x64 16.7.0
Extensions:

Steps to Reproduce:

Turn off "javascript.validate.enable" setting
Make a file with a following content:

/**
 * @flow
 */
import React, { Component } from 'react';

class Test extends Component {

  testMethod = (type: string) => {
    const a = ((type: any): string)
    console.log(a)
  }

  render() {
    return (

        <button type={'submit'}/>

Test

    );
  }
}

Reproduces without extensions: Yes

We don't ship with built-in support for flow syntax. Try installing an extension that adds flow grammar support: https://marketplace.visualstudio.com/search?term=flow&target=VSCode&category=All categories&sortBy=Relevance
Closing as extension candidate


Fix Rust PNG benchmark

The Rust PNG benchmark no longer compiles. This is similar to the issue that was fixed in pull request #68 for the Rust GIF benchmark. A new version of the png crate was published that broke clean builds. I've pinned the version to 0.17, which is the newest, and changed the code to use the new API.
NOTE: Parts of the png crate documentation hasn't been updated to correctly list the new transformation defaults. The documentation for the normalize_to_color8 method does say that the defaults changed from version 0.16 to 0.17.

And thanks for your amazing work on Wuffs! I really appreciate how it is advancing the field of memory safety and performance!


libcriterion: Add unit tests

As the criterion is now an isolated library, unit tests can written.
This patch covers the entire criterion library.
Signed-off-by: Jules Clero<EMAIL_ADDRESS>

Coverage increased (+0.47%) to 70.41% when pulling 055291f2aa5e99c96171e767630fef3737b6f499 on dawagner:criterion-unit-tests into ccf78da0e07cb6e05db79a75b45a5a09a96d2825 on 01org:next.


Hcap 392 extract report

output is on the console, not yet into CSV

Due to the urgency of this request and the likelihood the report will be generated a single time, we have chosen not to optimize for performance but rather implementation speed. If we need to continue running this report, we'll revisit how much logic is captured outside the query.


loader/svg: Fix finding css class name

Css class name starts with '.'.
Regardless of the previous parsing result,
if name contains '.', it is set to name from here.
related issue: https://github.com/thorvg/thorvg/issues/2096

what about line 557?

Oh my approach is wrong. thank you for check.

Regression tool found some differences in files that previously failed to properly convert - https://github.com/thorvg/thorvg/actions/runs/8463217912
Strange that comment about them was not added to comment section

The way style_name are parsed needs to be improved.


react-router-redux missing ./selectors

Version
5.0.0-alpha.7
(I couldn't get it working on codesandbox)
On our build jest is complaining it can't find module selectors.
  ● Test suite failed to run

    Cannot find module './selectors' from 'index.js'

      at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:179:17)
      at Object.<anonymous> (node_modules/react-router-redux/index.js:6:18)

Based on grepping i find:
node_modules/react-router-redux/index.js:var _selectors = require('./selectors');
but only the file exists:
node_modules/react-router-redux/es/selectors.js

I'm thinking https://github.com/ReactTraining/react-router/blob/master/packages/react-router-redux/package.json#L10 needs the files: {} block to include selectors.

Dupe of #5636


Add support for C# .Net 5.0 remote container

Right now, when we select the Remote-Containers: Add Development Container Configuration Files when we select C# (.Net core), we only have versions 3.1 (default) and 2.1, 5.0 is not available.
It would be nice to have C# .Net 5.0 remote container available.

Good news! This is already resolved and will be in the next release.  See https://github.com/microsoft/vscode-dev-containers/tree/master/containers/dotnet


(NOT AN ISSUE) Fixed many things...

Just got my laptop a week ago and have fixed a couple minor issues.
These include:
Trackpad and button smoothness
Micro SD card slot
Wacom pen with proper sleep wake
(This is all on macos sonoma)
Any way I could share the efi?
Hopefully become a contributor? 🤞

@NotMifa That's great to hear. Happy to have someone else contribute. I'm not a Github pro but I'll get you added sometime tomorrow.

Hey, just accepted the invitation, thanks once again..! Btw, what is the best (fastest) way I could contact you? Maybe talk about a new release, etc, etc

Sounds like you have an EFI update pretty much ready to go. Update the README with details of the changes and push it, or submit a pull request if you prefer. If you check the Releases you should be able to determine how they are labelled.
I guess you could create a new branch as well and push it to that, then I can test and merge it. I’m fine either way, just appreciate the help.
You can reach via email -<EMAIL_ADDRESS>


Translations keep getting lost

For some reason, starting recently, the translations keep disappearing and I'm left with the original text for everything. I tried to update the translations but it says "KCV was unable to download the translations." Also, the versions for the translation are at 0.0.0. I have tried rewriting the xml files with the text that's on the pages but it still does not work. I've tried going back a version and it was working fine until the third open of KCV that it did it again. Language is set to English by the way, and I disabled auto-updates for translations to see if that was the problem, but nothing.

Many thanks for reading https://github.com/Yuubari/KanColleViewer/blob/master/FAQ.md#i-pinned-kcv-to-my-taskbar-and-translations-arent-working and below before submitting this issue.


General improvements

This pull request:
Updates website Nuget packages to latest versions …
Updates website JS files to latest versions
Removes duplicate background tag from website CSS
adds a closing tag to website img attribute
moves js scripts to bottom of default.aspx body to improve performance
updates webconfig templates in azure prep for updated website nuget packages on the website

Hi @networkfusion, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

@networkfusion, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;

Thanks @networkfusion, I'll test and merge right away!


CHANGELOG update for v0.13

@homu r+

:pushpin: Commit 8d768d9 has been approved by kvark

:hourglass: Testing commit 8d768d9 with merge 4b9ae04...

:sunny: Test successful - status


Exception in thread in very simple program

From<EMAIL_ADDRESS>on 2012-12-09T08:52:36Z
Spyder Version:  2.1.11
Python Version:  2.7.3
Qt Version:      4.7.4, PySide 1.1.0 on Windows
What steps will reproduce the problem?

use the following piece of code:

def fib(x):
assert type(x) == int
if x < 1:
return 1
if (x <= 2) :
return x
return fib(x-1) + fib(x-2)

print(str(fib(10)))

Run

I expect to see just "89" as a result. However, I also see the following text
"Exception in thread Thread-1 (most likely raised during interpreter shutdown):"
Running the same script from the commandline (i.e. outside Spyder) does not raise this exception.
Strange thing is, when I use "print x" as the first line in the fib-function, no exception is raised. It seems similar to issue #1106 in the sense that there is a print-statement on the last line, but this was fixed and it also doesn't help if I use more statements after the last print.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1204

From<EMAIL_ADDRESS>on 2012-12-09T05:58:46Z
Additional info:
When calling fib(1) a few times I sometimes got no exception, and other times got:
>>> Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Python27\lib\threading.py", line 551, in __bootstrap_inner
self.run()
File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\introspection.py", line 65, in run
self.send_socket(shell_id, conn)
File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\introspection.py", line 49, in send_socket
shell.set_introspection_socket(sock)
File "C:\Python27\lib\site-packages\spyderlib\widgets\externalshell\pythonshell.py", line 246, in set_introspection_socket
'set_remote_view_settings()', settings=[settings])
File "C:\Python27\lib\site-packages\spyderlib\utils\bsdsocket.py", line 67, in communicate
return read_packet(sock)
File "C:\Python27\lib\site-packages\spyderlib\utils\bsdsocket.py", line 36, in read_packet
dlen, = struct.unpack("l", datalen)
error: unpack requires a string argument of length 4
After that, when it does finish, the following message is also output in stderr:
"'import sitecustomize' failed; use -v for traceback"


Operators are missing in the Operator Hub Marketplace

Hi,
it seems as if some operators are missing in the Operator Hub tab in the Web UI. Today we were searching for Elasticsearch, or logging... but didn't found anything.
We talked in Slack about that recently. But maybe its good to track it here.
Greetings,
Josef

Also I can't find an operator for logging.

@vrutkovs: This issue is for missing operators with label „custom“.

I'm having the same issue when wanting to install the Noobaa operator. Installing the operatorhub.io catalogsource in a namespace fixes the problem, but then an other problem arises:
The Noobaa operator also automatically installs the AWS S3 operator, which is available in the community-operator catalogsource and the operatorhub.io catalogsource, but in two different versions (1.0.0 and 1.01).
When leaving the installPlanApproval to automatic this leads to automatic consecutive updates (from 1.0.0 to 1.01 to 1.0.0...) which in turn always create new serviceaccounts and rolebindings (about 2000 per night). Disabling automatic updates leads still to installplans automatically getting created (about 4000 per night). Example installPlan:
apiVersion: operators.coreos.com/v1alpha1
kind: InstallPlan
metadata:
  creationTimestamp: "2020-04-17T09:10:33Z"
  generateName: install-
  generation: 1
  name: install-9grr7
  namespace: noobaa
  ownerReferences:
  - apiVersion: operators.coreos.com/v1alpha1
    blockOwnerDeletion: false
    controller: false
    kind: Subscription
    name: noobaa
    uid: fa1e86ee-a111-4a26-a61e-f503b793da08
  resourceVersion: "2546748"
  selfLink: /apis/operators.coreos.com/v1alpha1/namespaces/noobaa/installplans/install-9grr7
  uid: c3d69d61-1171-49a1-9653-8e4cefc92b50
spec:
  approval: Manual
  approved: false
  clusterServiceVersionNames:
  - awss3operator.v1.0.1
  - awss3operator.v1.0.0
  generation: 4287

Created a PR which adds a new "upstream-community-operators" which is supposed to be closer to what OperatorHub.io. This still doesn't have Noobah or Elasticsearch - not sure why these are not build and not available in any of the sources. That would be a question for OperatorHub.io folks - like @dmesser

but then an other problem arises

That's entirely different issue, report that in https://github.com/operator-framework/community-operators

@vrutkovs is this still an issue? Catalog content is fetched from external API endpoints outside of your OKD cluster. So the issue may be that your cluster does not have access to those. Can you list the instances of CatalogSource and their status on your cluster?
@lallinger-arbeit Noobaa isn't shipped as a standalone Operator on OKD/OCP, since it's part of OpenShift Container Storage offering there.

@dmesser I could live with that, if the other issue gets sorted out/if it's supported to install the operatorhub.io catalog in a single namespace. I don't wan't to use the OpenShift Container Storage operator.

Catalog content is fetched from external API endpoints outside of your OKD cluster

we're using "community" and "upstream-community" stream, and yet Elasticsearch (or Noobaa) are still no available in OKD's Operator Hub tab - but available on OperatorHub.io
Which other sources should we add to get all the upstream operators?

@vrutkovs have you tried adding the "custom" stream?

What's a "custom" stream?

I think the stream is called "custom", like the others are called "community" and "upstream-community"
See here in my noobaa namespace where i have installed the operatorhub.io catalogsource it states "custom"

@lallinger-arbeit it is not supported to install opertorhubio catalog on OKD because it contains content that may not work on OpenShift/OKD. OKDs community catalogs are supposed to be that. You are not seeing the Elastic Search Operator because it's part of the official Red Hat supported Operators on OCP. OKD being community may not include that.

@dmesser catalogsources comming with OKD 4 already have operators with a disclaimer saying they are not tested. So why shouldn't i be able to add other sources that are not tested?

@lallinger-arbeit You can do that of course, it's just not something you can raise issues for.

Maybe I am missing something.  Are the upstream-community-operators from openshift/installer#3487 supposed to be installed on OKD?  When (manually) adding the objects from the pull request, I get the following alert.
The cluster has custom OperatorSource/CatalogSourceConfig, which are deprecated from OCP 4.5. Upgrade to OCP 4.5 will not be possible unless those resources are removed

(which also uses OCP instead of OKD).

I am also hitting this problem when I try to install "cluster-logging" to a cluster with OKD 4.4-beta5 following the OKD documentation:
https://docs.okd.io/latest/logging/cluster-logging-deploying.html
I think I am not experienced and trained enough to understand all of what you write above.
I have already tried installing the necessary catalogsource(s) but that does not seem to be sufficient ...
Is there a way how I can still install cluster-logging on OKD?
And is that legal with OKD?

Hello,
I do not believe that #3487 was a good move, since upstream-community-operators are, by definition, operators made for "vanilla" kubernetes, thus are not made to run under OpenShift extra security constraints.
A good example of that is the rook-ceph operator as present on upstream-community-operators, it will absolutely not work on OpenShift4, I have made some PRs to the project to get it as close as possible to "community-operators" but it won't get there in a forseeable future.
As for custom operator sources, they are heavily tied to Quay.io. You are forced to use the Application Registry from Quay to be "future-proof" the format of packaging operators itself is not even rolled-out and already in way to be deprecated. The target is moving fast and documentation is scarce. The best way to get the operators you want into OKD is by asking the maintainers of the project to get it into community-operators, this was done by many of the Red Hat supported operators, like Strimzi and others, so there is a good chance they will do it. Note: both upstream-community-operators and community-operators are folders in the same github repository, you might need to explain to the maintainers of the operator what is the difference and why they should care about it.

upstream-community-operators are, by definition, operators made for "vanilla" kubernetes, thus are not made to run under OpenShift extra security constraints.

That sounds like bugs in respective operators. Default settings in OKD are not guaranteeing these would work, but merely provide access to those. Also, this setting can be easily reverted.

That sounds like bugs in respective operators. Default settings in OKD are not guaranteeing these would work, but merely provide access to those. Also, this setting can be easily reverted.

If I transpose what you are writing here to the Linux Kernel, I read it like this: "If the ubuntu kernel does not work on a RHEL installation, you should rise a bug in ubuntu because the bug is on their side. Both are using the same linux kernel so it should work".
The example I pointed before, rook-ceph, has sensible differencies between the vanilla kubernetes and openshift setups, due to some particular things OpenShift mandates, like some containers need to run privileged on OpenShift but not on kubernetes, things like that. This changes the CSV a bit between the two platforms, and thus we cannot run upstream-community-operator rook-ceph on OpenShift as-is.

Clarified that with Daniel - operators from "upstream-" are being copied to "community-operators" if these are known to work with OKD/OCP. So installer PR would revert this change.
This ticket got derailed pretty far from original issue - I suggest it should be closed and more specific issue be opened (in okd or operatorhub issue trackers if necessary). @jomeier wdyt?

@vrutkovs:
You are right. I'll close it. Thanks guys for clarifying that.


Update sample to get ready for RS4 changes - merge pre-RS4 fixes.

merge

Hi @NeoAdonis. Fixed the build errors in SLN file. With a couple of other fixes. Should build and load fine now.


Doesn't start

Describe the bug
I can't open pumpbot.py, it just gives me syntax error.
Expected behavior
Run the program
Screenshots
https://gyazo.com/53eb60846b5b1e5dfce84bb96a236587
Desktop (please complete the following information):

OS: Windows 10

Additional context
(Note, i have python installed in the right path, and i even added the pumpbot to c: tried everything and it doesn't work.)
Where am i supposed to put https://github.com/sammchardy/python-binance and what do i do with it? I am getting really frustrated with myself trying to find a fix haha, please help me out! Can't find anywhere what use that has and where to put that, i am really confused :)
Have the latest version of python aswell.
( Also tried opening the PumpBot.py by itself and it instantly closes)

https://gyazo.com/73a116001e0873827b7126c5022575d3
https://gyazo.com/193015be9529d15eabe137bd095774c6
https://gyazo.com/76f866a0f3bb336102705246d8804292
what am i doing wrong? and what am i supposed to do with the "Python binance" ? ( It's the one i put in the folder "lib")

Put it all in the same folder as i show in the screenshot above and this still comes up;
https://gyazo.com/f5eb738e2b4a27a1d88d75251cc6c0f4

And i understand this isn't a problem with your code itself i suppose but would be glad to get some help setting it up, because the errors i get makes no sense i made it all the right way and correctly, i'm just not sure what to do with the "python binance" and how to get the program running, without only getting syntax errors / , when opening the pumpbot code itself it just insta closes. Help appreciated, respect to y'all.
Best regards,

Solved it. Mybad!


Allow symlinked scripts in autostart

ISSUE TYPE

Feature request

SUMMARY
Allow scripts in devilbox/autostart to be symlinks to scripts elsewhere
Goal
To be able to version control autostart scripts, it is necessary to put a symlink to the script in the autostart directory, instead of the file proper. The file proper can then exist elsewhere and be version controlled.

Note that the path the symlink points to is inside a mounted volume, so I assume it is accessible at the time the autostart scripts run.

@HansCz good catch, I wasn't even aware that this did not work. Fix is on the way: https://github.com/devilbox/docker-php-fpm/pull/117

Excellent! :)


Google Cloud Messaging

We are all aware that GCM is deprecated but your doc is outdated. It still has GCM in the Manifest file for Android. Can you please update us on how to use the Firebase with the app for notifications

Hi lutakyn, you can check full docs here: https://github.com/Benjamin-Dobell/react-native-notifications/tree/android-overhaul

@huyvm that branch uses a really old version of the firebase dependency, is it the latest and greatest?

@FrankSalad It good work with this version. You can try with latest version.

Updated the docs. closing


Add check before assigning runners to the jobs present in queue

Can we run a script with a list of all the repositories and branches that can use the runner before assigning the runners to the job?
Is this feasible? If so where do I need to add the script in the https://github.com/actions-runner-controller/actions-runner-controller repository?

In a big organization, we have repositories where developers are also admins.  As a GitHub runner group admin, we want to control which branches could use a particular runner group. As GitHub didn’t provide that option, is it possible to implement a check (by an external script), to only allow a few branches to user runners from a runner group?

@swathida-byte Hey. I believe no. It isn't something that ARC can control. I'd guess you'd have some possibility if you file an issue against actions/runner or against GitHub Actions. Probably something like a "branch visibility" that is similar to "runner group visibility" feature present in today's GitHub Actions would do the job.


Store only latest vote per user on the same proposal

On Snapshot you can vote multiple time on a same proposal and only your latest vote count. On the hub we store all the votes on the db even if someone voted multiple time on the same proposal.
When we query for votes on the db we apply a condition to only retreive latest vote per unique voter, doing this query is intensive:
https://github.com/snapshot-labs/snapshot-hub/blob/master/src/graphql/operations/votes.ts#L45-48
There is also too little benefit to keep the previous votes. We should instead only keep on the db the latest vote per user and enforce it with the mysql schema, this would make the query much simpler and make it scale better.
The tricky part is that we should make sure we keep the vote with the highest timestamp, the hub could receive a first vote with a timestamp of 10 and a second vote with a timestamp of 9, in this case we should keep only the first vote. In the case if the timestamp are same we need a deterministic way of saying which one should we use and for this I suggest to use localCompare with the id of the vote.

When this came up some time ago, I also had the idea of some sort of "handshake" where the hub and the client "agree" on a timestamp beforehand. One downside would be an additional request and there was something else problematic with this but I don't remember. So at least for the record, this was what I had in mind.

Would replace this logic then:
https://github.com/snapshot-labs/snapshot-hub/blob/4bff607b7cbbb8f59ae0a547f897e0657bf5964a/src/ingestor/typedData/index.ts#L22-L33

@mktcode I'm not sure to understand how it help?

We talked about this yesterday but just for the record: This was just more a generalized idea to make the hub be in charge of setting message timestamps (and potentially other data) while still allowing the user to sign them.


error on Import yaml

Checking out your script
keep running into error on Import yaml
Any help would be appreciated?
Traceback (most recent call last):
  File "./namecheap-api-cli", line 6, in <module>
    import yaml
ImportError: No module named ‘yaml’

Local Enviroment:
macOS 10.12.2
Python 3.5.2
pyyaml-3.12
libyaml-0.1.7

@djdesign
I assume that one of the following things happened: either you have pyyaml installed as python 2.x module or default python executable points to version 2.x.
Could you please check it by executing following commands and posting here a result:
# To check which version is default one
/usr/bin/env python -V

# To check if module available at default path
find /usr/local/lib/python*/site-packages -type d -maxdepth 1 -iname *yaml*

Hey @agrrh,
After doing some digging that would explain it.
That my “assumption” led me to be installing those base packages they were not being installed into the correct library.
Checking showed I needed to use pip3.5 todo my install, figured out I was installing to the wrong python version. Thanks again!
#checking version
~/$ /usr/bin/env python -V
Python 3.5.2

#checking path
~/$ ls -la $(which python)
/usr/local/bin/python -> /usr/local/bin/python3.5

#checking if module exists
~/$ find /usr/local/lib/python*/site-packages -type d -maxdepth 1 -iname *yaml*
nothing found for wildcard “*yaml*”

# resolution install to correct pip version (my mistake)
~/$ pip3.5 install requests pyyaml

Why do we import yaml anyway, doesn't seem to be used?


cosmicScansID download bug

Source information
CosmicScans.id 1.4.35
Source language
indonesia
Steps to reproduce
download the newest chapter.
page not found after being download
Expected behavior
download the newest chapter and read it as usual..
Actual behavior
add the manhw to fav
download the newst page.
the download page can't be open and show page not found.
Mihon/Tachiyomi version
mihon 0.16.5
Android version
andorid 11
Other details
this is only for the recent chapter.. but if i download the oldest chapter it can be open after being download
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Please don't create duplicate Issue to bump up the old issue, you Aleardy make it before (#4865), If the old issue is no longer related, you can change it's contents, so do not create a new issue unless the old issue has been closed or locked, and don't forget to check the existing issues, who knows someone has already made one.

Duplicate of #4865
Add to the Other details or comment in the previous issue when you find entries/chapters with this issue


Daily and weekly backups running at the same time

After a little troubleshooting I found out why my daily and weekly backups were running at the same time. Apparently if you set a "day of month" and "day of week" it will execute the command when either condition was met.
I found this in the crontab man page:
Note: The day of a command's execution can be specified by two fields -- day of month, and day of week.  If both fields are restricted (ie, are not *), the command will be run when either field matches the current time.
For example, "30 4 1,15 * 5'' would cause a command to be run at 4:30 am on the 1st and 15th of each month, plus every Friday.

This issue looks like it could be closed :+1:


remove wrong loop in matchData

the matchData is called from loop in AuditLog

BTW if the improvements are too much we can merge the fix first and do them in a separate PR

Thanks @Violet-E !


Upstart script suggests using upstart when invalid command supplied

Description of problem:
The upstart script tells the user to use upstart, even if they are already using upstart, when they supply an invalid option, thus recommending they run the same exact command.
$ sudo service docker test
 * Docker is managed via upstart, try using service docker test

docker version:
Client version: 1.6.0
Client API version: 1.18
Go version (client): go1.4.2
Git commit (client): 4749651
OS/Arch (client): linux/amd64
Server version: 1.6.0
Server API version: 1.18
Go version (server): go1.4.2
Git commit (server): 4749651
OS/Arch (server): linux/amd64
docker info:
Containers: 112
Images: 87
Storage Driver: aufs
Root Dir: /var/lib/docker/aufs
Backing Filesystem: extfs
Dirs: 311
Dirperm1 Supported: false
Execution Driver: native-0.2
Kernel Version: 3.13.0-49-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 1
Total Memory: 992.5 MiB
Name: ip-10-0-1-68
ID: 3BYU:3IAM:IOM6:GG5L:2GKK:ODZR:C43U:NZ6W:LDA6:JB46:6HNF:NIWL
WARNING: No swap limit support
uname -a:
Linux ip-10-0-1-68 3.13.0-49-generic #83-Ubuntu SMP Fri Apr 10 20:11:33 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
Environment details (AWS, VirtualBox, physical, etc.):
AWS t2.micro running Ubuntu 14.04
How reproducible:
Consistent, always happens
Steps to Reproduce:

type an invalid upstart command (typo on purpose) ex: sudo service docker sotp

Actual Results:
Tells the user to do the same command essentially, also does this even if user is already using upstart
$ sudo service docker sotp
 * Docker is managed via upstart, try using service docker sotp

Expected Results:
Tell the user the command is not in the available options, nginx's upstart script does this:
$ sudo service nginx potato
Usage: nginx {start|stop|restart|reload|force-reload|status|configtest|rotate|upgrade}

Would be nice if Docker did this, ex:
$ sudo service docker sotp
Usage: Docker {start|stop|restart}

Additional info:
Relevant code: https://github.com/docker/docker/blob/c3ef6df9c354f2df9eea2f4fce53b27637453367/contrib/init/sysvinit-debian/docker#L43-L46

If others can confirm this I'd like to submit a fix :smile:


moved save_js code to separate function and added to embed_html

so that pylab.save and embed.embed_html work the same, with no code duplication

Coverage increased (+0.08%) to 65.99% when pulling 4cc5e33b916d93a2496db1b00d02840515a59b71 on chrisjsewell:master into 2ca69c2087824b934992144c53d7216a421c6fbf on maartenbreddels:master.

Coverage increased (+0.05%) to 65.965% when pulling f7dd229f2066172ba84dc206cdeba8d2c0800c0f on chrisjsewell:master into 2ca69c2087824b934992144c53d7216a421c6fbf on maartenbreddels:master.

Coverage increased (+0.05%) to 65.965% when pulling f7dd229f2066172ba84dc206cdeba8d2c0800c0f on chrisjsewell:master into 2ca69c2087824b934992144c53d7216a421c6fbf on maartenbreddels:master.

Coverage increased (+0.05%) to 65.965% when pulling aaff201e58ef91f0eeda6f3cd28b243b7e136ea0 on chrisjsewell:master into 2ca69c2087824b934992144c53d7216a421c6fbf on maartenbreddels:master.

Hi Chris, looks good, and indeed this should move up to ipywidgets (i hope to get rid of most of the code in embed.py).
For github workflow, try to merge in the master in your master after it's merged, and work with different branches for the PR's. That will get rid of the long history, but for now it's ok, i'll squash and merge.


TypeError on runtime

Keep getting this error with my sass
[12:31:44] 'sass' errored after 1.86 ms
[12:31:44] TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at module.exports (/Users/mberta/Desktop/DEV/Sky Child Care/2-marketingSite/skychildcare-com/node_modules/gulp-ruby-sass/index.js:65:15)
at Gulp. (/Users/mberta/Desktop/DEV/Sky Child Care/2-marketingSite/skychildcare-com/gulpfile.js:34:9)
at module.exports (/Users/mberta/Desktop/DEV/Sky Child Care/2-marketingSite/skychildcare-com/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/mberta/Desktop/DEV/Sky Child Care/2-marketingSite/skychildcare-com/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/mberta/Desktop/DEV/Sky Child Care/2-marketingSite/skychildcare-com/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/mberta/Desktop/DEV/Sky Child Care/2-marketingSite/skychildcare-com/node_modules/gulp/node_modules/orchestrator/index.js:134:8)
at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:20
All I have in my gulpfile.js for Sass is this:
// Styles Task
// Sass
gulp.task('sass' , function(){
return gulp.src('scss/**/*.scss')
.pipe(styles())
.pipe(gulp.dest('css'));
});

Check closed issues, read the updated documentation. Grs doesn't use
gulp.src anymore.
On Thursday, March 12, 2015, MARS<EMAIL_ADDRESS>wrote:

Keep getting this error with my sass
[12:31:44] 'sass' errored after 1.86 ms
[12:31:44] TypeError: Arguments to path.join must be strings
at path.js:360:15
at Array.filter (native)
at Object.exports.join (path.js:358:36)
at module.exports (/Users/mberta/Desktop/DEV/Sky Child
Care/2-marketingSite/skychildcare-com/node_modules/gulp-ruby-sass/index.js:65:15)
at Gulp. (/Users/mberta/Desktop/DEV/Sky Child
Care/2-marketingSite/skychildcare-com/gulpfile.js:34:9)
at module.exports (/Users/mberta/Desktop/DEV/Sky Child
Care/2-marketingSite/skychildcare-com/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:34:7)
at Gulp.Orchestrator._runTask (/Users/mberta/Desktop/DEV/Sky Child
Care/2-marketingSite/skychildcare-com/node_modules/gulp/node_modules/orchestrator/index.js:273:3)
at Gulp.Orchestrator._runStep (/Users/mberta/Desktop/DEV/Sky Child
Care/2-marketingSite/skychildcare-com/node_modules/gulp/node_modules/orchestrator/index.js:214:10)
at Gulp.Orchestrator.start (/Users/mberta/Desktop/DEV/Sky Child
Care/2-marketingSite/skychildcare-com/node_modules/gulp/node_modules/orchestrator/index.js:134:8)
at /usr/local/lib/node_modules/gulp/bin/gulp.js:129:20
All I have in my gulpfile.js for Sass is this:
// Styles Task
// Sass
gulp.task('sass' , function(){
return gulp.src('scss/**/*.scss')
.pipe(styles())
.pipe(gulp.dest('css'));
});
—
Reply to this email directly or view it on GitHub
https://github.com/sindresorhus/gulp-ruby-sass/issues/210.

--
Rob Wierzbowski
@robwierzbowski http://twitter.com/#!/robwierzbowski
http://github.com/robwierzbowski
http://robwierzbowski.com

ok it doesn't throw errors when I write the task like this:
// Styles Task
// Sass
gulp.task('sass' , function() {
return
$.rubySass('scss/**/*.scss')
.on('error' , function(err) {
console.log('Error! ' , err.message);
})
.pipe(prefix('last 2 versions'))
.pipe(rename('app.css'))
.pipe(gulp.dest('css/'));
});
But it doesn't compile my sass into it's main file either.
For example I have everything being imported into app.scss and my dest directory is 'css/'. So the expected behavior is an app.css file with all of my compiled css, but I don't get that, even though Sass starts and finishes now. Any ideas?
Thank you.

https://github.com/sindresorhus/gulp-ruby-sass/tree/rw/1.0#important
Grs doesn't support globs yet. It's all in the docs.

ok then I need to find out what globs are. Thanks.

No problem. Globs are strings like foo/**/bar with the stars and little regex like patterns in them.

Glob sources are implemented in this PR: https://github.com/sindresorhus/gulp-ruby-sass/pull/251, if you would like to test.


[Question] Why not publish it on crateio?

I usually use the Rust language as my primary programming language. Therefore, I prefer to install via cargo rather than the standalone installer.

Easy to install cargo install uv

Easy to managecargo uninstall uv

Would you please consider this?

I believe this is the same as https://github.com/astral-sh/uv/issues/6310.

@eth3lbert
Thank you for your quick reply.
I can't find this issue and it solves my question.
Thank you.


New Icons for headers: Snapshot, Focus, Timespan Builder, Story, Media Source, Topic, Settings

icons.zip

"Topic" icon
topic.zip

"Settings" icon
settings.zip

removemedia.zip
This one should be on a circle background like the other buttons, but with a bg color of warning red (#fc521f)


How to use fine tune model in text-generation-inference

Hi Team
I fine tune the llama 2 13b model and using merge_and_upload() functionality, I merge the model.
How I can use this merge model using text-generation-inference.
Following command given an error

Error

Is it a private model ?
You need to send the token  https://github.com/huggingface/text-generation-inference#using-a-private-or-gated-model
(Alos 0.8.2 is a bit old at this point, you may want to upgrade for newer models)

Local directories should be detected automatically.
Here the issue is in docker. Docker sees the location from it's local perspective.
volume=/datadrive/new_finetune/
model_id=/data/merged_model

Should work (or something along those lines). Check out https://docs.docker.com/storage/volumes/ to understand how it works.


Create TempleOS.ISO

About the PR
Media

[ ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog

:cl: Daemon

add: Added fun!
remove: Removed fun!

meds now

Open this immediately


Flashing issue Help : sudo PORT=/dev/ttyACM0 ./utils.sh flash

Hello
I was able to successfully erase flash the esp32-s3-box and when I run the commands below I get the following error
not sure what I am doing wrong.
sudo PORT=/dev/ttyACM0 ./utils.sh flash
Using venv for esptool
esptool esp32s3 -p /dev/ttyACM0 -b 2000000 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x10000 willow.bin 0x8000 partition_table/partition-table.bin 0x210000 srmodels/srmodels.bin 0x710000 ui.bin
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting...
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: f4:12:fa:d4:fe:a0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 2000000
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x001b0fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00210000 to 0x00680fff...
Flash will be erased from 0x00710000 to 0x0078ffff...
Compressed 22240 bytes to 13940...
Writing at 0x00000000... (100 %)Traceback (most recent call last):
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/init.py", line 1032, in _main
main()
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/init.py", line 832, in main
operation_func(esp, args)
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/cmds.py", line 586, in write_flash
esp.flash_defl_block(block, seq, timeout=timeout)
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/loader.py", line 131, in inner
return func(*args, **kwargs)
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/loader.py", line 1030, in flash_defl_block
self.check_command(
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/loader.py", line 435, in check_command
val, data = self.command(op, data, chk, timeout=timeout)
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/loader.py", line 404, in command
p = self.read()
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/loader.py", line 337, in read
return next(self._slip_reader)
StopIteration
A fatal error occurred: The chip stopped responding.

Could just be an intermittent error. Have you tried restart / reconnect / new cable etc.?

Hi
I am using Virtual Box on lunix and try every thing I still keep getting.
sudo PORT=/dev/ttyACM0 ./utils.sh flash
[sudo] password for tokennodes:
Using venv for esptool
esptool esp32s3 -p /dev/ttyACM0 -b 2000000 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x10000 willow.bin 0x8000 partition_table/partition-table.bin 0x210000 srmodels/srmodels.bin 0x710000 ui.bin
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting....
Chip is ESP32-S3 (revision v0.1)
Features: WiFi, BLE
Crystal is 40MHz
MAC: f4:12:fa:d4:fe:a0
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 2000000
Changed.
Configuring flash size...
Flash will be erased from 0x00000000 to 0x00005fff...
Flash will be erased from 0x00010000 to 0x001b0fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00210000 to 0x00680fff...
Flash will be erased from 0x00710000 to 0x0078ffff...
Compressed 22240 bytes to 13940...
Writing at 0x00000000... (100 %)
A fatal error occurred: Packet content transfer stopped (received 2 bytes)
Second attempt usually results in:
udo PORT=/dev/ttyACM0 ./utils.sh flash
Using venv for esptool
esptool esp32s3 -p /dev/ttyACM0 -b 2000000 --before default_reset --after hard_reset write_flash --flash_mode dio --flash_freq 80m --flash_size 16MB 0x0 bootloader/bootloader.bin 0x10000 willow.bin 0x8000 partition_table/partition-table.bin 0x210000 srmodels/srmodels.bin 0x710000 ui.bin
esptool.py v4.5.1
Serial port /dev/ttyACM0
Connecting...
Traceback (most recent call last):
File "/home/tokennodes/willow/venv/bin/esptool.py", line 34, in
esptool._main()
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/init.py", line 1032, in _main
main()
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/init.py", line 674, in main
esp = esp or get_default_connected_device(
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/init.py", line 921, in get_default_connected_device
_esp.connect(before, connect_attempts)
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/loader.py", line 640, in connect
last_error = self._connect_attempt(reset_strategy, mode)
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/loader.py", line 525, in _connect_attempt
reset_strategy()  # Reset the chip to bootloader (download mode)
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/reset.py", line 100, in call
self._setRTS(False)
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/esptool/reset.py", line 40, in _setRTS
self.port.setRTS(state)
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/serial/serialutil.py", line 600, in setRTS
self.rts = value
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/serial/serialutil.py", line 463, in rts
self._update_rts_state()
File "/home/tokennodes/willow/venv/lib/python3.8/site-packages/serial/serialposix.py", line 708, in _update_rts_state
fcntl.ioctl(self.fd, TIOCMBIC, TIOCM_RTS_str)
BrokenPipeError: [Errno 32] Broken pipe
I am got to try restarting the docker container.

Kinda looks like the serial connection is being broken during the command. Could be some weirdness with virtualbox?

Also before doing flash, did you do erase-flash? I would try that command again as well if a flash failed, as the device is likely in an inconsistent state.

Hi
The erase below worked:
sudo PORT=/dev/ttyACM0 ./utils.sh erase-flash
Its just when I try the flash.
Could pressing the mode button work?

Device screen will remain black until it boots since it has no OS to run. Console should show info when flashing though. I haven't really run into anything like this flashing two devices several times each, but I also am running the willow container on a docker server in proxmox with the USB port directly fed to the VM. Not familiar enough with Virtualbox to know what could be going on there :/

This are the main errors usually appears
A fatal error occurred: Packet content transfer stopped (received 1 bytes)
A fatal error occurred: The chip stopped responding.

Yeah I have never seen either of those errors before when flashing. It really seems like the connection is just dropped. Maybe you can try the esp online flash tool? I think there's been some topics in here that discuss using that instead of a VM or WSL. Or you could try it natively in a linux machine if you have one available to try and rule out Virtualbox causing some sort of issue. The 1.0 release for Willow will have their own online flash tool as part of installation removing most of these issues, where this kind of flashing would only be for developers working on the code. 😃

Hi
I am using flash_download_tool_3.9.5 to flash the original image. I will try different cables and a native lunix machine. I will look out for version 1.0

Closing as we now offer https://flash.heywillow.io/.


cssnano doesn't minify when called via esbuild-postcss

I'm encountering a very strange issue. Perhaps @ludofischer from the cssnano project might have an idea as well.
I'm calling esbuild like so:
esbuild.build({
  entryPoints: ['src/app.tsx', 'src/app.css'],
  bundle: true,
  plugins: [postcss()],
  outdir: 'dist',
})

And my postcss.config.cjs reads as follows:
module.exports = {
  map: false,
  plugins: {
    'postcss-import': {},
    "tailwindcss/nesting": {},
    tailwindcss: {},
    autoprefixer: {},
    cssnano: { preset: 'default', },
  },
}

When I run npx postcss src/app.css directly, it prints minified CSS.
But when I run the esbuild.build function above (rm -rf dist && node esbuild.config.js && cat dist/app.css), it doesn't minify.
I tried commenting out the cssnano: { preset: 'default', } line to see if it makes any difference, and it turns out that cssnano does do some things, like combine border-width and border-color into a single border property. It just doesn't minify.
If you want to try and reproduce it, my code for this is at https://github.com/joliss/calculator.
I'm very confused as to why this might be happening.

cssnano just runs a series of PostCSS plugins one after another so if some transformations happen and not other, it means only some PostCSS plugins run and not others (there is no single 'minification' step). As everything works as expected with the postcss command it might be esbuild-postcss is preventing cssnano from loading some PostCSS plugins, but I can't say much else as I am not familiar with esbuild plugins or how esbuild-postcss works.

Tested a bit, and it seems the minification is actually been done by nano plugins at https://github.com/karolis-sh/esbuild-postcss/blob/main/src/index.ts#L28. It's just that esbuild further analyses that CSS and restores all the newlines and stuff.
But esbuild can handle the actual file content minification itself - https://esbuild.github.io/api/#minify. I added a minify: true in your esbuild config, and it worked as expected.


Python 3 tracer

While the server requires gevent (and thus python 2), the tracer could be written to use python 3.

#29 addresses this


An issue in RMQTT v0.4.0

I have found an issue in RMQTT v0.4.0 allows attackers to cause a Denial of Service.
You can  refer to the following link: https://gist.github.com/pengwGit/d8410afeb0d5d11ab79f596a32178c2e
I suggest you find out the cause and fix it

Thank you for what you have done for RMQTT. I will try to reproduce this issue and fix it.

Sure, here is the translation:
I couldn't reproduce this issue; it's possible that my testing method is incorrect.
Could you please confirm your testing environment and methods again:

Is RMQTT being used in single-node or cluster mode?
Are packets 1 to 5 being sent over the same connection, or is a new connection created for each packet?
Do I need to hex decode the [Attack Vectors] packet data before using it for testing?

I deployed RMQTT and a fuzz testing tool FUME on the same node. These data packets sent by the same connection and does not need to be decoded.

I used FUME but still couldn't reproduce the agent crash issue. The logs contain numerous entries: 'V5(BadAuthenticationMethod), reason: extended Auth is not supported' because the MQTT::Auth message hasn't been implemented yet.
I made some optimizations regarding encoding and decoding for ntex and ntex-mqtt and built rmqtt:0.4.1-rc1. If it's convenient for you, could you please perform another test based on rmqtt:0.4.1-rc1? The Docker image is: rmqtt/rmqtt:0.4.1-rc1. Thank you.

Through extensive and prolonged testing, it was discovered that the rmqtt process is only killed by the operating system when memory is insufficient. This occurs because the fuzz testing tool repeatedly generates different client IDs, and in cases where there is an excessively long session expiration time.


This plugin does not work

I spent one week and did not manage to launch this plugin.
It is compiled and deployed onto the device, but it does not work. In debag mode, it returns the name of the file, but it does not exist on the device. All permissions are set correctly.
Xiaomi Redmi 5 Plus Android 7.1.

@OneMiay Have you tried copying it to another place? I had the same problem, but after copying it to my music folder it appeared.

That's interesting re: the file copying.  I've not had to do that, but maybe some devices behave differently.


Loading directly into a song from the Story Mode

What is your question?
how do i code that when you enter story mode it instantly loads the song
psych engine 0.7

nvm, i got it