Entire file showing as changed before accepting xcode license

Type: Bug

After updating xcode versions
Open VS Code and view the diff for a file that has a single line change

bug
The entire file shows as changed. There are no errors or warnings
The root cause seems to be that I had not yet accepted the xcode license aggreement. Doing something else git related in VS Code triggered a popup, but simply viewing the file didn't seem to trigger the popup
This screenshot shows the diff and the popup that eventually showed up

VS Code version: Code - Insiders 1.83.0-insider (Universal) (7c7f7eee860e299499a3bd2915ad716f09f2d6a6, 2023-09-19T09:00:31.000Z)
OS version: Darwin x64 22.6.0
Modes:

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
6, 6, 6

Memory (System)
32.00GB (0.02GB free)

Process Argv
--crash-reporter-id 48781ca2-1705-4f64-9bab-325055aab55d

Screen Reader
no

VM
0%

This sounds like a git issue, not a diff editor issue.
The only case where the diff editor shows everything as changed is when diff computation times out.

I was unable to repro this one. @mjbvz, if you still have a repro please let me know. Thanks!


My Thoughts on Harpoon

When i started creating harpoon, i didn't know what I wanted.
I thought,

i want to control terminal sessions in neovim
i want a fast way to go to a file i have been using
a simple way to move file ordering
send commands to terminal sessions

After 2 years of using harpoon i realized the terminal stuff, i think was a mistake.
More so, the tmux + harpoon stuff feels like a mistake now.
If you are wondering why i haven't been merging much of ANYTHING here is because i am worried.  this project slowly got out of my control and lost its focus.

I am REALLY trying to keep harpoon light.  its so easy to let everyone's ideas come in and take the project in so many directions that it sucks.  Part of me wants to rethink harpoon from the ground up, part of me wants to create a wholly new version that emits events and allows more the "plugin" style.  I don't know what to do, and appreciate any thoughts :)
PS, it sucks maintaining open source

I use harpoon to create "temporary marks".  There are other plugins like grapple.nvim that offer a similar solution, but nothing I have found is as easy and "trigger finger friendly" as harpoon.  I use a to add marks and l to open harpoon selection.  I think this is the core of harpoon and tasks, terminals, etc should be handled by other plugins or extensions of harpoon.
I know other people have different use cases and I want the plugin to function as I use it, but that's all I use harpoon for.

I never liked (and used) the terminal/tmux integration.
I mark files with gh, open the harpoon UI with gH . I move to the nth file with ngh (n is a number here).
The function is
            local function toggle_move()
                if (vim.v.count > 0) then
                    return '<cmd>lua require("harpoon.ui").nav_file(vim.v.count) <CR>'
                else
                    require('harpoon.mark').toggle_file()
                end
            end

There are 2 options I see:

Create a whole new repo (like the creator of lightspeed.nvim did with leap.nvim
Create a new branch rewrite in this repo. Rewrite the plugin there. As soon as you are finished, publish it in branch v1.  Remove all references to the old master branch in the README, make the users use the v1 branch. Keep developing in rewrite, merge it regularly in v1 (if breaking changes, create v2). At one point, when you feel save, merge rewrite into master.

Most of the ideas are stolen from:
https://phaazon.net/blog/neovim-plugins-stability

I use it to mark up to 5 files and then navigate to those 5 files, occasionally reorder them. Thats it. That's what you initially presented and it works great.
Everything else seems like a scope creep.

I use harpoon to create "temporary marks". There are other plugins like grapple.nvim that offer a similar solution, but nothing I have found is as easy and "trigger finger friendly" as harpoon. I use a to add marks and l to open harpoon selection. I think this is the core of harpoon and tasks, terminals, etc should be handled by other plugins or extensions of harpoon. I know other people have different use cases and I want the plugin to function as I use it, but that's all I use harpoon for.

@catgoose Out of genuine curiosity, what is it about grapple.nvim that creates more friction than harpoon? I say this because - reading the comments here - these are the exact reasons I originally wrote Grapple. That is, to create a plugin that strips away all the "extra" features and focuses solely on the concept of file tagging / marking.
Harpoon is an amazing plugin and some of its features are unparalleled. I'm truly excited to see how a rewrite would turn out. However, I think understanding where Grapple is missing the mark (pun intended) can help a ton in deciding what the next steps for harpoon could be.

More so, the tmux + harpoon stuff feels like a mistake now.
If you are wondering why i haven't been merging much of ANYTHING here is because i am worried. this project slowly got out of my control and lost its focus.

It feels like in this case, Harpoon is pretty feature complete. Maybe transition ownership to someone that has interest in this version of the plugin and then create a new plugin, as you say, from the ground up. I don't think open-source needs to be a long term commitment in cases like this, if the project is good enough to be used as intended or if there are others available to maintain.
Sounds like a pretty great idea, and I'd bet you'll feel motivated creating something new as you're thinking about it already. Use the drive!
(I have this exact same feeling with my open-source app, so I'm in the same boat)

If you need a new name for a new similar project @ThePrimeagen, as a zelda fan, I personally think hookshot.nvim would be a rad name

I use it to mark up to 5 files and then navigate to those 5 files, occasionally reorder them. Thats it. That's what you initially presented and it works great.
Everything else seems like a scope creep.

Facts 🔝

Sounds like converting to a plugin system is the way to go.
Strip harpoon down to it's core, then let everything else be added\removed via plugins. That lets everyone make harpoon do what they want for their specific use case. There might be a small hiccup during the cutover from current way to using plugins but that really sounds like the best way.
This allows you to manage the core of Harpoon and let you focus on what you think is important and what Harpoon should be, and everything else can be farmed out to plugin maintainers.
How hard would it be to convert Harpoon into using plugins? Seems to me this would make a fantastic YouTube series 🙂

Not sure, why you are not doing the obvious: Make it a low-level lib, which transparently provides all errors to the user.
If you want to provide a way for the user to control all buffers + allow attaching metadata, then you could use https://github.com/matu3ba/libbuf.nvim.
Unfortunately, harpoon works good enough for my use cases and using lua for DOD feels not very satisfying to me (plus lua is slow for hashing unless using luajit), so I never finished this one.
Feel free to steal the code, but be warned that I have not finished the storing to disk and loading. And the harpoon part.

@ThePrimeagen Hello there. I'm not a user of Harpoon (yet?) so take this with a healthy dose of skepticism: but it I feel like it's not super clear from either of the READMEs (for v1 and v2) what Harpoon is. Maybe it would help focus people's efforts if your vision was more clearly asserted in the README?
The V2 has this description of problems and solutions:

⇁ The Problems

You're working on a codebase. medium, large, tiny, whatever. You find yourself frequenting a small set of files and you are tired of using a fuzzy finder, :bnext & :bprev are getting too repetitive, alternate file doesn't quite cut it, etc etc.
You want to execute some project specific commands, have any number of persistent terminals that can be easily navigated to, send commands to other tmux windows, or dream up your own custom action and execute with a single key

⇁ The Solutions

Specify either by altering a ui or by adding via hot key files
Unlimited lists and items within the lists

Those do sound like problems I have, but everything (the problems, the solutions, the connection between them) is a bit abstract. Maybe I just need to play around with it to get it?
I feel like a screen recording or two of using it to solve the concrete problem instances you use it for would be very helpful.

@masaeedu as part of harpoon 2 rewrite, I'll be doing more documentation

A recipe book that people could contribute to would be great. I like that
about heirline.
On Mon, Dec 18, 2023 at 7:46 PM ThePrimeagen @.***>
wrote:

@masaeedu https://github.com/masaeedu as part of harpoon 2 rewrite,
I'll be doing more documentation
—
Reply to this email directly, view it on GitHub
https://github.com/ThePrimeagen/harpoon/issues/255#issuecomment-1861969014,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFAJNGBUSN2U6EYXY6DA753YKDWYNAVCNFSM6AAAAAAVDIIGYWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRRHE3DSMBRGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Tableview doesn't show

Hi,
I integrated your project and I can't seem to get it to work.
My tableview doesn't show up. I created only a textfield in my storyboard
and i'm getting response from my google places api but the tableview just doesn't show up.
You have any idea if you have to do something special that isn't included in your project to get it to work?
Thanks in advance!

Hi,
First, make sure you set your textfield's class as AutocompleteTextfield, then make sure assign whatever the google places api response to autoCompleteStrings.

That's exactly what I did but it still doesn't want to show it, so weird ...
Is it because I have another label right underneath it? I did exactly what it says

I could help you point the problem if you will let me see how exactly you implemented it? could you show me the code?

So i have 4 textfields in a viewcontroller and one of them has a custom class: autocomplete.
This is my viewcontroller:
class AddEventViewController: UIViewController, UITextFieldDelegate, AutocompleteTextFieldDelegate, NSURLConnectionDataDelegate  {
var popDatePicker : PopDatePicker?

@IBOutlet weak var txtTitle: UITextField!
@IBOutlet weak var txtDate: UITextField!
@IBOutlet weak var txtLocation: AutocompleteTextfield!
@IBOutlet weak var txtDetails: UITextField!

private var responseData:NSMutableData?
private var connection:NSURLConnection?

private let googleMapsKey = "blablabla"
private let baseURLString = "https://maps.googleapis.com/maps/api/place/autocomplete/json"

override func viewDidLoad() {
    super.viewDidLoad()

    popDatePicker = PopDatePicker(forTextField: txtDate)
    txtDate.delegate = self
    txtLocation.delegate = self

    configureView()

    // Do any additional setup after loading the view.
}

override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
}

func resign() {

    txtDate.resignFirstResponder()
    txtTitle.resignFirstResponder()
    txtLocation.resignFirstResponder()
    txtDetails.resignFirstResponder()
}

func textFieldShouldBeginEditing(textField: UITextField) -> Bool {

    if (textField === txtDate) {
        resign()
        let formatter = NSDateFormatter()
        formatter.dateStyle = .MediumStyle
        formatter.timeStyle = .NoStyle
        let initDate = formatter.dateFromString(txtDate.text)

        popDatePicker!.pick(self, initDate:initDate, dataChanged: { (newDate : NSDate, forTextField : UITextField) -> () in

            // here we don't use self (no retain cycle)
            forTextField.text = newDate.ToDateAndTimeString()

        })
        return false
    }else {
        return true
    }
}

private func configureView(){
    txtLocation.autoCompleteDelegate = self
    txtLocation.autoCompleteTextColor = UIColor.lightGrayColor()
    txtLocation.autoCompleteTextFont = UIFont(name: "HelveticaNeue-Light", size: 12.0)
    txtLocation.autoCompleteCellHeight = 35.0
    txtLocation.maximumAutoCompleteCount = 3
    txtLocation.hideWhenSelected = false
    txtLocation.hideWhenEmpty = false
    txtLocation.enableAttributedText = false
    var attributes = Dictionary<String,AnyObject>()
    attributes[NSForegroundColorAttributeName] = UIColor.blackColor()
    attributes[NSFontAttributeName] = UIFont(name: "HelveticaNeue-Bold", size: 12.0)
    txtLocation.autoCompleteAttributes = attributes
}

//MARK: AutocompleteTextFieldDelegate

func autoCompleteTextFieldDidChange(text: String) {
    if !text.isEmpty{
        if connection != nil{
            connection!.cancel()
            connection = nil
        }
        let urlString = "\(baseURLString)?key=\(googleMapsKey)&input=\(text)"
        let url = NSURL(string: urlString.stringByAddingPercentEscapesUsingEncoding(NSASCIIStringEncoding)!)
        if url != nil{
            let urlRequest = NSURLRequest(URL: url!)
            connection = NSURLConnection(request: urlRequest, delegate: self)
        }
    }
}

func didSelectAutocompleteText(text: String, indexPath: NSIndexPath) {
    println("You selected: \(text)")
    Location.geocodeAddressString(text, completion: { (placemark, error) -> Void in
        if placemark != nil{
            let coordinate = placemark!.location.coordinate
        }
    })
}

//MARK: NSURLConnectionDelegate
func connection(connection: NSURLConnection, didReceiveResponse response: NSURLResponse) {
    responseData = NSMutableData()
}

func connection(connection: NSURLConnection, didReceiveData data: NSData) {
    responseData = NSMutableData(data: data)
}

func connectionDidFinishLoading(connection: NSURLConnection) {
    if responseData != nil{
        var error:NSError?
        if let result = NSJSONSerialization.JSONObjectWithData(responseData!, options: nil, error: &error) as? NSDictionary{
            let status = result["status"] as? String
                        println(result)
            if status == "OK"{
                if let predictions = result["predictions"] as? NSArray{
                    var locations = [String]()
                    for dict in predictions as [NSDictionary]{
                        locations.append(dict["description"] as String)
                    }
                    self.txtLocation.autoCompleteStrings = locations
                }
            }
        }
    }
}

func connection(connection: NSURLConnection, didFailWithError error: NSError) {
    println("Error: \(error.localizedDescription)")
}

}

Everything works, except the tableview doesn't get shown.

It looks like you are doing it right and as what you have said, you are receiving response from google places api? From that it should work just fine. Could you send me your sample project? I want to see it along with your storyboard.
Thanks.

It's a really big project to upload but I created another one and then it does get shown but at the bottom off the view. So I think that in my original project I can't see the tableview because that subview has the wrong. Have can you make sure that the tableview gets right underneath it, because in that other project it's about 150px underneath the textfield and I have no clue why.

Hi,
The tableview will always position itself right underneath the autocomplete textfield. Please double check your view heirarchy on your other project.


Feature/add test artifact merge

includes a simple test for the javascript function artifactmerge
any comments/requests welcome!

Thank you, looks great!
"generated" folder is missing for new clones/pulls. I will fix that after the merge.


feat:extended adapter interface with interactive transactions (VAX-561)

Extended the adapter interface with interactive transactions such that queries within an interactive transaction can depend on the output of previous queries.

c1fa8ae resolves VAX-564


Volume no longer device-specific

Normally, macOS remembers an output device's volume such that one can set the volume to 0, plug in headphones and set it to any value, and after removing them, expect it to be 0 again (without manually changing the output device in System Preferences, since headphones just replace the internal speakers)—which indeed was the case before version 2.1, but now it just has one global value.

+1 to this.  Can be a huge issue in office setting where I normally keep my speaker volume at 0 to prevent any music playing, but keep my heaphone volume up.

Looking forward to the new version!

Hey everyone. Excuse me for the lack of updates. I have been really busy on the new version of eqMac. I am happy to announce an open beta release.
You can download it here: https://eqmac.app
There are a lot of known bugs that I could not fix just yet:

Driver not installing from the first try. Sometimes need to restart eqMac a couple times.
Complex Device switching logic is not perfect (for example when switching off the device that's currently playing, plugging in new device etc.)
UI takes long to load (a lot can be done to improve that)
UI dimensions are not synching properly
There's a noticeable audio delay in the playback, so not suitable for video yet (I know where the problem lies just haven't had the time to fix yet)
Sometimes the playback doesn't start, in that case please try to switch the output to the device you want and eqMac should try and build the audio pipeline again.

So as you can see there's still some work to be done but at least it's a completely modern tech stack that I am fully willing to work on: 100% Swift, User Space driver and a Web UI, instead of C++, Kernel Drivers. As I said, should work on Catalina and should not have any pesky ear drum blasting volume bugs (at least I didn't come across any).
I'm open to feedback and issue reports here: https://github.com/bitgapp/eqmac
That repo will become the main repo for eqMac and this repo will be archived eventually.
And yes it's called just eqMac, not eqMac3 :) And it will stay that way forever.

Hey everyone 👋
I will be open sourcing the new version of eqMac, therefore, I am closing this issue and repository as I will be transfering nodeful/eqMac2 repo to bitgapp/eqMac
Please bear with me for the next couple of days as I setup that new repo. The eqMac2 code will be living in the old-eqMac2 branch if anyone is interested in referencing it for whatever reason.
Please try out the new version and report bugs to the new repo.
Thanks for using eqMac.

closing in favour of #248


Remove --process-dependency-links section

This option has been removed from pip and it is no longer required by matrix-python-sdk after https://github.com/matrix-org/matrix-python-sdk/commit/b3346dbfce5079a6977c4c3aedc438f21114f8c9

cherry-picked to master


VRVU-41: remove vaccine from registration

https://sd-vxnaid.atlassian.net/browse/VRVU-41

I am commenting some lines because they might be usefull later. If not i will remove them during code refactor later.


macOS menus are very not-native Pt. 2: menu order is non-standard

The jarring screenshot here https://github.com/napari/napari/issues/5079#issuecomment-1247007865 reminded me of a long standing issue I have with napari, which I know I've mentioned somewhere but can't find.
On macOS the menus in the menu bar for napari are:
Apple - napari - File - View - Window - Plugins - Help

This is really strange and non-native. It's jarring. Yes, one get's used to it, but then when I don't use napari for a bit and relaunch it it's there again. I can't unsee it. Plus making things native does ease a barrier to entry & increases comfort.
First—and most importantly—the mandatory Edit menu is missing, see: #5080 (per https://github.com/napari/napari/issues/5080#issuecomment-1249970063 splitting this into two Issues)
Second, the menu bar menu order is wrong. To be native, it should be:
Apple - napari - File - Edit - View - Plugins - Window - Help
Basically, the pattern is Apple - File - Edit - View - ... - Window - Help
where ... is everything your application does. See twitter:

Now the contents of View and Window are also mixed up (Window should have for example Maximize), but it's less jarring. That said it would be nice if Full Screen (called Maximize on macOS and in the Window menu) used the native keyboard shortcut command-M, I hit this all the time and am sad each time. See: https://github.com/napari/napari/issues/5092
To Reproduce
Steps to reproduce the behavior:

open napari on macOS
open any macOS app
compare the menus

Expected behavior
napari should look and feel like a native macOS app.
The order of the menus should also be the native order, with Window and Help last.
Environment
macOS 12.5.1 arm64

How will fixing this impact preparing documentation and tutorials? As it may introduce inconsistency between OS.

Looking at the code, I think the menu order is hard-coded the same for all OS.
So the question is does Windows or Linux have a native order that is preserved, like macOS?
If so, then we have a bind. If not, then I'd move Window over to be "correct" on macOS.
For Docs and Tutorials, screenshots with the full menu bar would need to be updated, but I believe they are always rebuilt when a new release is made? So that should be automatic? I doubt any refer to the order of the menus in text, but i've not checked.


Support input method and text input

This change introduces basic but useful support for zwp-text-input-v3 and zwp-input-method-v2 protocols.
The compositor becomes a relay between the input method program and the user-facing text input application, passing messages between them, and gracefully handling connections and disconnections.
The text-input protocol is implemented fully. The basic and least controversial pieces to make input-method functionality complete are implemented as well. Remaining are the grab and popup functionality. What's currently implemented is enough to support virtual keyboards, but probably not enough for e.g. CJK input methods.
The structure doing most of the work is the rootston/text_input.h::roots_input_method_relay. One is attached to each seat, and each manages multiple text-input connections and zero or one input-method connections.
Testing possible using virtboard's input_method branch (at scaling factor x1) and gtk-3.24.
To test with system-wide GTK:
$WLROOTS/rootston/rootston &
$VIRTBOARD/virtboard &
yad --entry &

With locally-installed GTK, the yad line can look like this:
LD_LIBRAY_PATH=$GTK/lib yad --entry

or, in the unlikely case of issues:
GDK_BACKEND=wayland GTK_IM_MODULE=wayland GTK_IM_MODULE_FILE=$GTK/lib/gtk-3.0/3.0.0/immodules.cache yad --entry

Script for easier testing:
#!/bin/bash
set -e
PREFIX=`pwd`/local
BASE=`pwd`
export PATH=$PREFIX/bin/:$PATH
export PKG_CONFIG_PATH=$PREFIX/share/pkgconfig/:$PREFIX/lib/pkgconfig/

sudo apt-get -y update
sudo apt-get -y install wget git yad build-essential

# wayland 1.16 not in Debian
sudo apt-get -y install libffi-dev libxml2-dev automake libexpat1-dev
wget https://wayland.freedesktop.org/releases/wayland-1.16.0.tar.xz
tar -xf wayland-1.16.0.tar.xz
cd wayland-1.16.0
aclocal
automake
./configure --disable-documentation --prefix=$PREFIX
make -j4
make install

cd $BASE

# build virtboard
sudo apt-get -y install debhelper meson pkg-config libpixman-1-dev libpng-dev libxcb1-dev libxcb-xkb-dev libxkbcommon-dev libcairo2-dev libwayland-dev wayland-protocols
git clone https://source.puri.sm/Librem5/virtboard.git -b input_method
export LC_ALL=C.UTF-8
meson virtboard virtboard_build
ninja -C virtboard_build

# build rootston
sudo apt-get -y install debhelper libcap-dev libdrm-dev libegl1-mesa-dev libgbm-dev libgles2-mesa-dev libinput-dev libpixman-1-dev libsystemd-dev libwayland-dev libxcb1-dev libxcb-composite0-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-render0-dev libxcb-xfixes0-dev libxkbcommon-dev meson pkg-config wayland-protocols build-essential
git clone https://github.com/dcz-purism/wlroots.git -b input
meson wlroots wlroots_build
ninja -C wlroots_build

# build GTK
sudo apt-get -y install gtk-doc-tools gobject-introspection libatk1.0-dev libgirepository1.0-dev libepoxy-dev libpango1.0-dev libgdk-pixbuf2.0-dev
git clone --depth 1 https://gitlab.gnome.org/GNOME/gtk.git -b gtk-3-24
cd gtk
./autogen.sh --disable-x11-backend --enable-wayland-backend --disable-documentation --prefix=$PREFIX
make -j4
make install

exit 0

# run a demo - better play with all the programs yourself

cd $BASE
./wlroots_build/rootston/rootston &
./virtboard_build/virtboard &
yad &
LD_LIBRARY_PATH=$PREFIX/lib yad --entry &

[2018-08-31 07:17] dcz-purism<EMAIL_ADDRESS>
Script for easier testing:
[...]

I tested the basic virtual keyboard functionality using the instructions
you provided and can confirm that it works!
It would definitely be good to be able to do some testing with more
complex input methods, i. e. ones that show word suggestions
for example. Is the plan to add something like that to
wlroots/examples/input-method.c?

That's a very timely bump, I'm working on addressing these issues ATM. I should have a new update out within a couple of days.

Nice.

The general issues should be taken care of, examples work in progress.

Update: the input-metod example is working nice now.

Pushed new update - the text input example is much nicer now. I didn't know how to make text display on an OpenGLES surface easily, so skipped that part in favor of console output.

[2018-09-28 18:59] dcz-purism<EMAIL_ADDRESS>
Update: the input-metod example is working nice now.

Thanks for the update!
I ran input-method with rootston and then tried to run yad to test some
input. I used the following command to start yad:
WAYLAND_DEBUG=1 GDK_BACKEND=wayland GTK_IM_MODULE=wayland yad --entry
I got the following output from input-method and then yad crashed with
a segmentation fault:
Timer armed
Handle serial 1
Now active
Surrounding text:
Cursor after 0:
Update 0
Timer armed
Handle serial 2
Update 1
Handle serial 3
Update 2
Handle serial 4
Update 2
Handle serial 5
Update 2
Handle serial 6
Surrounding text: Commit
Cursor after 8: Commit
Update 2
Timer armed
Handle serial 7
Update 3
Handle serial 8
Update 3
Handle serial 9
Surrounding text: Commit__CommitNoPreed
Cursor after 23: Commit__CommitNoPreed
Update 3
Handle serial 10
Now inactive
Update 4
Is this expected? Is there another way to test it?
I am running gtk3 3.24 which I think should support the necessary version
of the Wayland text-input protocol.

Does virtboard support both of these protocols yet?

[2018-09-30 09:34] dcz-purism<EMAIL_ADDRESS>
Pushed new update - the text input example is much nicer now. I didn't
know how to make text display on an OpenGLES surface easily, so
skipped that part in favor of console output.

A few month ago I struggled with the same issue. I copied a lot of
code from some other repo and got some text to show using wl_shm and
cairo. It's not OpenGLES and it's very crappy but it shows (still
static) text :P if you want to have a look, you can find it here:
https://github.com/Shugyousha/wlroots/commits/cairowayland
I ran the new text-input together with the new input-method and there
were no crashes. Since I cannot find a way to get my keyboard input to
show I assume that it's working as expected.

I'm in favor of just using the console and skipping text. The only way to do text in GLES is with an external text rendering dependency like pango/harfbuzz.

Well, I imagine your eventual plan is to provide an OSK which uses text-input to provide suggestions and so on.

Yes, that's our long term goal. Virtboard is just a stopgap measure.
Btw, the master branch has all necessary changes now: https://source.puri.sm/Librem5/virtboard/

[2018-09-30 10:26] dcz-purism<EMAIL_ADDRESS>
@Shugyousha GTK will crash on delete_surrounding_text, you need to use
the git version of the 3.24 immodule (sorry for not mentioning).

No problem. That's what I tried first but I couldn't compile it because it
insists on an older version of automake than Arch currently provides... I
may give it another shake later.

[2018-09-30 09:57] Drew DeVault<EMAIL_ADDRESS>
I'm in favor of just using the console and skipping text. The only way
to do text in GLES is with an external text rendering dependency like
pango/harfbuzz.

Yes, I think that makes sense. Testing/demonstrating the
input-method/text-input interactions should be well possible with just
printing to stdout.

Another bump - I removed some duplicated/convoluted state and am sending enter/leave events when the input method connects/disconnects.
I think this is close to the final state now (modulo unimplemented pieces).

The most recent push solves the last issue and only the last issue: https://gitlab.gnome.org/GNOME/gtk/merge_requests/369

The current status:

text-input (text consumer) is covered 100%, although there's no one to consume cursor rectangle
input-method (text producer) is missing some pieces, but covers 100% of the core, that is, it supports everything that an input method needs to communicate with an application to the fullest extent

The missing pieces are:

a keyboard grab interface for input methods (need to be reworked in zwp-input-method-v2 proposal)
floating pop-ups

The missing features are relevant for CJK languages, but the done ones are useful for Latin input methods. I would appreciate if this branch got merged separately, and then I could work on CJK without worrying about rebasing heaps of code :)

This looks pretty good. I'd like to see the minor comments addressed and get a second opinion, then I'm in favor of merge.

I addressed the issues and updated the input-method protocol to the new patch version to get rid of many mistakes in description texts. This implied one code change: preedit_string calls became set_preedit_string.

Fixed usage strings.

Did the build actually take place? There's not much in the logs...

Restarted the build, seems to work better: https://builds.sr.ht/~emersion/job/8183

Bump

Well, I like it. Thanks!

Thank you!

@Edootjuh I can't reproduce this, how are you compiling it?

@SirCmpwn thanks for fixing this up so quickly.

@dcz-purism I pushed a fix


Fix: Instructions for promoting and demoting users

This PR

[x] updates instructions for promoting and demoting users

Follows #819.

Thank you, @BackEndTea!


Add abbility to insert inline formulas

Great extension!
It's really will help me to create my lecture notes.
I think it is better sometimes to insert inline fromulas. I want to see some settings to do this. Or... separate commands for inline formula and for multiline formula

Great Idea! I have approved the PR and will do new release tonight


block submission failed with: invalid

hi, I am running some other pools for coins, and haven't seen this issue. I am testing running a DGB-Sha256 pool. I got some blocks, and received the following error:
submission failed with: invalid
please help
thanks
[2020-05-10 04:47:50.9361] [I] [dgb1] Detected new block 10805565 [POLL]
[2020-05-10 04:47:50.9361] [I] [dgb1] Broadcasting job
[2020-05-10 04:47:51.0433] [I] [dgb1] [0HLVKE7CBKGV8] Share accepted: D=31437.32
[2020-05-10 04:47:51.2092] [I] [dgb1] [0HLVKE7CBKGVB] Share accepted: D=52005.232
[2020-05-10 04:47:51.7166] [I] [dgb1] Submitting block 10805565 [0000000000000528137d8d06115ad99d75d31db4206e2f012b719806edff8bb9]
[2020-05-10 04:47:51.7166] [W] [dgb1] Block 10805565 submission failed with: invalid
[2020-05-10 04:47:51.7166] [I] [dgb1] [0HLVKE7CBKGVB] Share accepted: D=52005.232

Hello , did you fixed this
i am getting similar error  but instead of invalid its False
Block 12202056 submission failed with: False


Support Git Bash

Environment data

VS Code version: 1.54.3
Extension version (available under the Extensions sidebar): v2021.3.680753044
OS and version: Windows 10 20H2
Python version (& distribution if applicable, e.g. Anaconda): 3.9.2
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A
Relevant/affected Python packages and their versions: N/A
Relevant/affected Python-related VS Code extensions and their versions: N/A
Value of the python.languageServer setting: Pylance

[NOTE: If you suspect that your issue is related to the Microsoft Python Language Server (python.languageServer: 'Microsoft'), please download our new language server Pylance from the VS Code marketplace to see if that fixes your issue]
Expected behaviour
Python extension will prompt to install something like "autopep8". Press install and it will be installed via the shell.
Actual behaviour
Shell will respond that the program does not exist. This is because it's using Windows paths "C:\Users..." instead of the shells type "C:/Users/...".
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

Use Windows
Use Git Bash as the main shell (or something similar)
Install Python extensions
Prompted to install things like autopep8
Press install

Logs

Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)

XXX

@karthiknadig I think we should change all paths to be /
That'll work across all platforms, and an easy fix.
that's what it used to be, no idea why it was changed, we (Jupyter) too have had a few issues and had to ensure the paths were fixed in some cases (sometimes it was wrong or we had used \\ when we shouldn't have.

@DonJayamanne We can't straightforward covert from \ to / on all platforms. Since \ is a valid character for names on linux. Secondly, this can cause issues with Windows device paths start with \\?\ or \\.\ This might work fine in most cases but can lead to strange problems that are hard to diagnose. These are special cases so not sure how often users run into these.
The next question is should we do this to binary paths only or to the arguments as well. If we do this to arguments what happens if the application expected the \ to be a particular way.
Last thing is should we even be doing this (as is should this be handled by VS Code), in cases where we can send text to terminal from extension we will be able to control this. But what about runInTerminal request, how would that know what to send back. We ran into issues with this in the debugger before.
I am not saying we should not do this. There are ways this can break subtly, and I feel this problem exists for all extensions that have to in some way work with the terminal. So I would prefer a unified solution.

Is it not possible to determine the path that it uses based on shell, not platform? Like how Git Bash wants / not \.

@willparsons It is definitely possible, that is what is done internally with how runInTerminal is handled. It is just not exposed to the extensions yet. See https://github.com/microsoft/vscode/issues/108550.

Ah and no update since November :(

. These are special cases so not sure how often users run into these.

That would explain why it has been changed. Thanks for explanation.

@karthiknadig Any update on this or workaround? Currently forced to use cmd to avoid it

Sorry, we are blocked on that API from VS Code. Addressing this issue essentially means providing full support for git bash, which is a large work item. So this will take some time before it is addresses. For now the alternatives are to use cmd or work from WSL.

@karthiknadig No worries, I'll get back on WSL then. <3

Looks like this is fixed now? Since the latest VSCode update they changed the terminal property and it seems that the python extension is switching to PowerShell automatically.

I don't get the same path problem with Git Bash, but I do have issues launching a script with the run or debug function. It appears there is an interprocess communication issue where characters are dropped between the Git Bash and VS Code. It works sometimes, but other times you can look at the command VS Code is trying to paste into the terminal and find mangled/missing characters.
In addition - likely due to the same problem - VS Code sometimes creates a new "Python" terminal to run a script or "Python Debug" terminal even though one already exists. This is also intermittent, so likely due to VS Code not getting the name of the terminal sent correctly/completely all the time.
See https://github.com/microsoft/vscode-python/issues/19696 for more details. This issue looks like it would need to be resolved for official support in VS Code to work.

Closing as original user has a workaround with Powershell and upstream VSCode issue for API https://github.com/microsoft/vscode/issues/108550 was closed as out of scope.


It doesn't generate svg sprite

I use next plugin's injections in my webpack.config
in rules:
{ 	test: /\.svg$/, 	use: [ 		{ 			loader: SvgStorePlugin.loader, 			options: { 				name: 'sprite.svg', 			}, 		}, 	], },
in plugins:
new SvgStorePlugin({}),
So, when I run project, I haven't got any sprite.svg file. By the way, urls in css correctly replaces with sprite.svg#id=.....
Where is the problem?

Sorry for the delay. It seems correct to me but if you still didn't manage to make it work could you try to change your loader config to:
{
  loader: SvgStorePlugin.loader,
  options: { name: 'sprite.svg' },
  test: /\.svg$/,
}

The plugin depends on how the loader is configured so it could be that something is not working as expected when using use. Let me know if this makes a difference.

@bensampaio So, I did like you said and now I'm getting this instead of css rule:
 background: url(a2214b59b6a08d7bedadaac7928d7f90.svg) no-repeat
But inside this svg there is a code listed bellow

var publicPath = __webpack_public_path__;
                    var symbolUrl = 'sprite.svg#icon-logo_ru-9e720';
                    var viewUrl = 'sprite.svg#view-icon-logo_ru-9e720';

                        var addCacheBust = typeof document !== 'undefined' && document.readyState === 'complete';

                        if (addCacheBust) {
                            symbolUrl = 'sprite.svg?icon-logo_ru-9e720#icon-logo_ru-9e720';
                            viewUrl = 'sprite.svg?icon-logo_ru-9e720#view-icon-logo_ru-9e720';
                        }

                    module.exports = {
                        symbol: publicPath + symbolUrl,
                        view: publicPath + viewUrl,
                        viewBox: '0 0 277.3 35',
                        title: '',
                        toString: function () {
                            return JSON.stringify(this.view);
                        }
                    };

Of couse, no svg rendered as background.
so, tell me, please, How to fix it now?

I can't find the output file of svg sprite from the publicPath, here is my webpack.config.js:
rules: [ {
    test: /\.svg$/,
    loader: SvgStorePlugin.loader,
    options: {
      name: 'sprite-[hash:6].svg',
      iconName: '[name]',
      publicPath: '../images/'
    }
  }
],
plugins: [
    new SvgStorePlugin()
]

here is the output css content:
background: url(../images/sprite-2a219b.svg#view-myIconName);

any idea to fix it?

@yisenliu the iconName option must always set the [hash] since otherwise icon names can't be guaranteed to be unique.
Why do you want to remove view-? Without it your icons won't work in CSS.

@GrushinEgor I'm sorry for not coming back to you. Did you manage to fix the problem in the meantime? If not can you post your complete webpack config and describe the current behavior and your expected behavior?

@yisenliu the iconName option must always set the [hash] since otherwise icon names can't be guaranteed to be unique.
Why do you want to remove view-? Without it your icons won't work in CSS.

Thanks for replying.
iconName: '[name]',

I'm sure each file is unique by adding 'include' option for files like this:
include: 'assets/svg/'

But even after changing to [hash], there is still no output file.
As for removing 'view-' is just for clean codes.

@yisenliu does it work if you remove the publicPath option?
If not, maybe there is a problem with one of your SVGs but no error is thrown. I suggest you try with less SVGs or SVGs from the example  project in this repo to see if that makes a difference. Make sure your SVGs always have a viewBox.

Yes. If I remove the publicPath, the svg sprite  with my svg files will be outputed.
But I need the sprite to be in the images folder.
I've tried to keep my publicPath and use your svgs from the example project, there is still nothing outputed.

@yisenliu I get the issue now. I think you want to use the name option and not the publicPath option. The publicPath is only meant for when your sprite is on a CDN. Can you try this and let me know if it works?

@bensampaio I tried your config, but it's not working.
It just changes url path url("../images/sprite-73b268.svg#view-fb") in the css file as well as the option publicPath:'../images/' and still get the error message:
GET http://localhost:8080/images/sprite-73b268.svg 404 (Not Found)

@yisenliu can you share your full config? I think the problem is in the ../. I am not sure if this is a common practice but I would expect your webpack configuration to be set in such a way that you would be able to set this loader like this:
rules: [ {
    test: /\.svg$/,
    loader: SvgStorePlugin.loader,
    options: {
      name: 'images/sprite-[hash:6].svg',
      iconName: '[name]',
    }
  }
],
plugins: [
    new SvgStorePlugin()
]

What is the folder structure you want to achieve?

@bensampaio Thanks for replying. Here is my test repo.
https://github.com/yisenliu/webpack-test
The ideal public folder structure should be like this:
/dist
    /css/index.css
    /images/sprite.svg
    /js/index.bundle.js
    /index.html

@yisenliu I suggest you change this:
      {
        test: /\.svg$/,
        include: resolve('./src/assets/sprite/'),
        loader: SvgStorePlugin.loader,
        options: {
          name: 'sprite.svg',
          iconName: '[name]-[hash:6]',
          publicPath: '../images/',
          svgoOptions: {
            plugins: [
              {
                convertColors: { shorthex: false }
              }
            ]
          }
        }
      },

to this
      {
        test: /\.svg$/,
        include: resolve('./src/assets/sprite/'),
        loader: SvgStorePlugin.loader,
        options: {
          name: 'images/sprite.svg',
          iconName: '[name]-[hash:6]',
          svgoOptions: {
            plugins: [
              { collapseGroups: true },
              { convertPathData: true },
              { convertStyleToAttrs: true },
              { convertTransform: true },
              { removeDesc: true },
              { removeViewBox: false },
              { removeDimensions: true },
              { convertColors: { shorthex: false }},
            ]
          }
        }
      },

I appended the default SVGO options to your config since these are not optional for this loader / plugin to work. Maybe I should mention this in the README but first I want to see if it will work for you.

@bensampaio Yes, it did work for me. But if I have many sub websites under the same domain(e.g. http://www.xxx.com/ site1 /index.html, http://www.xxx.com/ site2 /index.html), the sprite won't be found because of  the absolute path in the css file.
background: url(/images/sprite.svg#view-fb-ac9ff5)
https://github.com/yisenliu/webpack-test/blob/master/dist/css/index.css

No, but you can set the publicPath to http://www.xxx.com/.

@bensampaio I got it. Thank you so much.

Happy to hear. I'll close this issue then since your issue is fixed and the original author is not replying.


Select Dropdown ignoring alwaysPreventMouseWheel

Having an issue with a select dropdown ignoring alwaysPreventMouseWheel and wrapNative is false. No matter what I do, I cannot get the dropdown to allow me to scroll the inner content.
Here is a plunkr with the issue: https://plnkr.co/edit/lXSnYS1YlhBJeQCvi77z?p=preview

Hey, @danbopes !
Try to add some CSS styles like following:
	vertical-align: top;
	display: inline-block;
	overflow: auto;
	width: 100%;
}```

Some styles are required for correct functionality that's why we have ```css/theme-minimal``` folder in this repo.

And ```alwaysPreventMouseWheel``` option is available only for ```Scrollable``` module, which might be used by the ```Select``` module when it's available. This options is always set to ```true``` in select module - just like native select dropdowns doesn't allow page scroll when scrolling over them.

Yeah, I was trying to add overflow: auto to '.jcf-select-drop-content'.


botan2: add aarch64-linux to platforms

Motivation for this change
I added the aarch64-linux platform for the botan2 package, as I need it and it compiles and seems to work perfectly.
Maybe we should open the paclage for even more platforms. I cannot tell because I don't know the original reason for allowing only so few platforms and if it still applies.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Thanks aswell.

Thanks aswell.


Not convergence at WFLW dataset

Hi, thanks for your excellent work. When I  tried to train from pretrained imagenet model on WFLW, it's wired that the loss is convergence at about 0.0011 no matter how I change the lr or the optimizer.BTW,the nme on test set is about 0.20.
All my configuration is just the config file you provided. Do you have any idea about this?

@PlumedSerpent Have you solved this problem, I have almost same problem like yours.The nme on test set is about 0.12.

@flynnamy Still no. I turned into 300W dataset, and it worked very well. Maybe I'll try again on WFLW later. Waiting for the author's reply.

@PlumedSerpent I  get 008 and 010 from 1 to about 0.5 when training, but author get 0.125 on first epoch.How about you when you training?Any suggestion?

@flynnamy Latest progress--just change the flip option into false, I can get 5.x NME( which means 0.05x), but still, there is a gap away from the SOTA or value in the paper.

@PlumedSerpent @flynnamy  Code of previous versions is stable and accurate. You can use this one to obtain the SOTA

Hi, our code has been updated, and you can try it on WFLW dataset now.

Now it seems right.I am trying to train.

Thanks @yangyangkiki @wondervictor

I have the similar problem on 300W dataset when using pretrained weights, for which the NME is around 1. I just can't figure it out.

@flynnamy Still no. I turned into 300W dataset, and it worked very well. Maybe I'll try again on WFLW later. Waiting for the author's reply.

How is your result on 300W? did you utilize a pretrained model？ My result is bad

@flynnamy Still no. I turned into 300W dataset, and it worked very well. Maybe I'll try again on WFLW later. Waiting for the author's reply.

How is your result on 300W? did you utilize a pretrained model？ My result is bad

My result is very close to the paper on 300W, no matter whether I use pretrained model. In detail ,I got 3.34 NME.

Have you notice that the "nms" here means "normalized by ocular distance" ,rather than "normalized by pupil distance"? is this a good result?
On 9/8/2019<EMAIL_ADDRESS>wrote：
@flynnamy Still no. I turned into 300W dataset, and it worked very well. Maybe I'll try again on WFLW later. Waiting for the author's reply.
How is your result on 300W? did you utilize a pretrained model？ My result is bad
My result is very close to the paper on 300W, no matter whether I use pretrained model. In detail ,I got 3.34 NME.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Have you notice that the "nms" here means "normalized by ocular distance" ,rather than "normalized by pupil distance"? is this a good result? On 9/8/2019<EMAIL_ADDRESS>wrote： @flynnamy Still no. I turned into 300W dataset, and it worked very well. Maybe I'll try again on WFLW later. Waiting for the author's reply. How is your result on 300W? did you utilize a pretrained model？ My result is bad My result is very close to the paper on 300W, no matter whether I use pretrained model. In detail ,I got 3.34 NME. — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.

Is your 3.34 NME means "normalized by ocular distance", or  "normalized by pupil-distance"? I got the result similar to 3.34， but it is normalized by ocular distance. with pupil-distance, the NME is about 0.0489.

@zhao181  I believe it's a good result,cuz the SOTA before this work is 3.49(also normalized in ocular),which is showed in the paper " Look at Boundary".

In the wingloss paper, the pupil-normalized nms is about 4.04. The "look at boundary" paper uses pupil-normalized nms. I think the hrnet is too complex to get well finetuned

@zhao181 I believe it's a good result,cuz the SOTA before this work is 3.49(also normalized in ocular),which is showed in the paper " Look at Boundary".

In the wingloss paper, the pupil-normalized nms is about 4.04. The "look at boundary" paper uses pupil-normalized nms. I think the hrnet is too complex to get well finetuned

@zhao181 I believe it's a good result,cuz the SOTA before this work is 3.49(also normalized in ocular),which is showed in the paper " Look at Boundary".

Thanks. I see it.

Now it seems right.I am trying to train.

How can we understand the post-processing part in the decode_preds function？
pose-processing
for n in range(coords.size(0)):
for p in range(coords.size(1)):
hm = output[n][p]
px = int(math.floor(coords[n][p][0]))
py = int(math.floor(coords[n][p][1]))
if (px > 1) and (px < res[0]) and (py > 1) and (py < res[1]):
diff = torch.Tensor([hm[py - 1][px] - hm[py - 1][px - 2], hm[py][px - 1]-hm[py - 2][px - 1]])
coords[n][p] += diff.sign() * .25
coords += 0.5
preds = coords.clone()

Hi, thanks for your excellent work. When I tried to train from pretrained imagenet model on WFLW, ,the nme on test set is about 1.X. and the train loss always 0.0017.
All my configuration is just the config file you provided. Do you have any idea about this?

Hi, thanks for your excellent work. When I tried to train from pretrained imagenet model on WFLW, ,the nme on test set is about 1.X. and the train loss always 0.0017.
All my configuration is just the config file you provided. Do you have any idea about this?

Hi, you can try our latest code. we fixed the bug before. Also you can check the code of flip transformation operation.


📦 Add changelog via Action

Have a look at integrating the following to generate a release and changelog:

https://github.com/actions/create-release
https://github.com/marketplace/actions/generate-changelog-action

Resolved by https://github.com/project-calavera/project-calavera/pull/308


What the performance of serve_data.py utul?

I have a poor scaling results for even two workers using Horovod on my environment, want to locate the reason. Hence the question: what are the typical (on your environment)  results of running
./serve-data.py --data ~/data/imagenet/ --batch 32 --benchmark ?

That depends on many factors. I typically see 3k ~ 5k total images per sec.

What do u mean by "workers"?

Two workers = 2 GPU running using Horovod approach.(Resnet-Horovod benchmark). Or two towers as names in log file.

For now, closing the issue. With serve_data.py performance all seems clear. Regarding poor distributed mode performance - will continue looking into the issue...


fix - getModel refers to wrong class from Brevo SDK.

Hi @juanparati ,
First of all, thanks for writing this little great package to do the heavy lifting connects to SendInBlue (Brevo). While working on this I figured it out the getModel gives 500 error (Class "Brevo\Client\Api\UpdateContact" not found as an example).
I checked the code and it seems like getModel refers to the wrong place.
Can you please check the Pull Request and let me know if it's good to merge.
Kind regards,

@huy-tran : Thank you for the contribution. This bug was introduced in the last big refactoring after moving from the old Sendinblue API. I will have to write some unit test in order to avoid this issue in future.

Hi @juanparati ,
Thanks for merging ^^. Is there anyway for you to do the same on version 10? I am using Laravel 10 for this project still.
Kind regards,

Hi @juanparati ,
Thanks for merging ^^. Is there anyway for you to do the same on version 10? I am using Laravel 10 for this project still.
Kind regards,

Fixed for version 10 as well.


Send an email the first time a sync isn't working anymore

(because the password is still encrypted, e.g.)

Can this be closed with 0bb50b2d14a258607e54aebed823734ee1941456 ?
Or should we also send an email when NO_PASSWORD is set?

Yeah, I was merely thinking about sending an email when there's no password set. Also, when the user sets the password by hand, they shouldn't have to do the manual fetch at all, in my opinion.

I agree for the auto fetch

[x] Send email to q user when no password is set ( #420)
[x]  Fetch accounts and operations on access password update ( #420 )
[ ] Client counter part (getting fetches accounts and operations)


Implement X Signature according to the docs

https://www.billplz.com/api#x_signature

Hi @gastonelhordoy, can you please add basic usage example in the README for the verifySignature?
Thanks


Not able to call greetings service

I followed your video and created same. But unable to call GET service, its giving 403. I debug token is verified and user also But still not working as expected
@RestController
@RequestMapping(path = "/api/v1/greetings")
public class Greetings {
@GetMapping
public ResponseEntity<String> sayHello(){
	return ResponseEntity.ok("Hello from our API");
}

@GetMapping(path = "/say-good-bye")
public ResponseEntity<String> sayGoodBye(){
	return ResponseEntity.ok("Good bye and see u later!!");
}

}

I got it solved. below line was missing in SecurityConfig class
authorizeHttpRequests(authHttpReq -> authHttpReq.anyRequest().authenticated())
Complete method:
@Bean
public SecurityFilterChain securityFilterChain(HttpSecurity http)throws Exception{
http
.csrf(csrf -> csrf.disable())
.authorizeHttpRequests(authHttpReq -> authHttpReq.requestMatchers("/api/v1/auth/**").permitAll())
.authorizeHttpRequests(authHttpReq -> authHttpReq.anyRequest().authenticated())
.sessionManagement(sess -> sess.sessionCreationPolicy(SessionCreationPolicy.STATELESS))
.authenticationProvider(authenticationProvider)
.addFilterBefore(jwtAuthFilter, UsernamePasswordAuthenticationFilter.class)
;
return http.build();
}


✨ Add structured meta data

Add METADATA.yaml to working group repository in order to provide the following data for #1699 in a structured way:

Group Name
Short Description
Facilitator
Members
Communication Channels

/cc @pbakaus

@googlebot I fixed it.

What is the status here @pbakaus ? :)

not sure! Paging @sebastianbenz

but more generally: What do you need from me? a LGTM?

@pbakaus merging the PR would be splendid.

sadly I cannot, because I don't have write access. @dvoytenko?

Merged! Thanks!


Close a code block

@yoichinak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@yoichinak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@yoichinak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@yoichinak : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@yoichinak : Thanks for your contribution! The author(s) have been notified to review your proposed change.


CP013: Make affinity properties hints

Summary

Updates the wording for bulk_execution_affinity properties to make them hints rather than guarantees.
Minor editorial fixes to the wording.

Todo

This pull request removes wording that describes guarantees about consistency between invocations of bulk_execute, a further property needs to be introduced to reintroduce this functionality.

I'm sorry that I didn't get to this in a reasonable amount of time to discuss it before the mailing, but one thing that  came out of the Cologne discussion was the recommendation that this be worded in terms of assigning work to execution agents rather than agents to resources.  It cuts the amount of new terminology the paper requires, and given a way to have the executor bind the agents (or at least a sensible executor) takes care of the distribution as well, while still giving some freedom to things that don't work that way. That discussion also recommended a new paper to discuss iteration-binning for the algorithms, as you kinda need both for either to be all that effective.  Clearly not for this mailing, but should I put up some issues for these items?


The big picture

I have been struggling to understand the big picture. I read everything and tried few of those examples but still unable to connect the dots. So first I need to be sure that my current understanding is right: Recording (and replaying) happens at the client and not at the server (server being jsonplaceholder.typicode.com in given examples). Is that the right understanding? And that would also implicitly mean that all that code is written to run on the client.

Recording (and replaying) happens at the client and not at the server (server being jsonplaceholder.typicode.com in given examples)

Polly sits in between your application and the requests your application makes.  It does this by intercepting calls to globalThis.fetch and globalThis.XMLHttpRequest for Polly's browser implementation.  For the node implementation, we internally use nock to deal with intercepting network interactions in Node.
Polly has its own persistence "server" which the mock clients interact with when recording and replaying.  Polly is typically only used for writing tests which you don't want to hit an actual API and local development (stubbing future API endpoints, avoiding expensive API calls, and/or offline development).

Thanks jasonmit. So if I have a nodejs express server with a GET route ready to serve requests to any client, can I add pollyjs code there (only) to record the incoming requests and outgoing responses? Or will I need to run some pollyjs code on the client as well?

Recording (and replaying) happens at the client and not at the server (server being jsonplaceholder.typicode.com in given examples)

Polly sits in between your application and the requests your application makes. It does this by intercepting calls to globalThis.fetch and globalThis.XMLHttpRequest for Polly's browser implementation. For the node implementation, we internally use nock to deal with intercepting network interactions in Node.
Polly has its own persistence "server" which the mock clients interact with when recording and replaying. Polly is typically only used for writing tests which you don't want to hit an actual API and local development (stubbing future API endpoints, avoiding expensive API calls, and/or offline development).

Thanks jasonmit. So if I have a nodejs express server with a GET route ready to serve requests to any client, can I add pollyjs code there (only) to record the incoming requests and outgoing responses? Or will I need to run some pollyjs code on the client as well?

can I add pollyjs code there (only) to record the incoming requests and outgoing responses

I believe so.  Hard to say for certain without understanding the complete use-case.


[YUNIKORN-1124] Avoid passing empty nodeAttributes in UpdateNode request

What is this PR for?
Core initialise nodeAttributes map and set the default partition when shim is not passing nodeAttributes as part of UpdateRequest (for delete, restore & decommissioning actions).
What type of PR is it?

[ ] - Improvement

Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/YUNIKORN-1124
How should this be tested?
Screenshots (if appropriate)
Questions:

[ ] - The licenses files need update.
[ ] - There is breaking changes for older versions.
[ ] - It needs documentation.

Notes:

Leaving "yunikorn.apache.org/nodeType" change as is for now. @craigcondit can comment on this.
I think we should handle "Ready" attribute also as any other node attributes. Managing each attribute in a separate place doesn't seem to be clean and organised, may didn't get our attention at times. Yes, it may change during UpdateNode as well but still we should handle it in initializeAttribute, GetAttribute methods using appropriate locks like how listeners are being handled.

@manirajv06 can you log jiras as follow up for the issues described under point 2?


How can I use TorchCRF with huggingface transformers?

When I try to implement this package on top of a bert model, I got an 'IndexError' due to padding token id.I think this is caused by subtokens in an entity that have -100 value by default. Should I eliminate subtokens for crf layer, If so how can I do it?

Is this code helpful for your question?
This library is inspired by the pytorch-crf used here.
If that doesn't work, could you show me your code?

I think that their implementation may be wrong. Because I see that they are not filtering subtokens. This can mislead crf layer. Btw, crf layer can see every possibility of transitions and this is against its core idea. I will create another issue where you pointed out the code.
Thanks for your answer.


Introduce a separate resourceName property for KubeVirt device plugin names

fixes #5
- What I did

Introduced a resourceName property populated by the previous description function
Transformed the description property to a human-readable PCI device description (lspci-like)
Exposed PCI device class ID as a property, too

- How I did it

Renaming the description function
Imitating the pci_lookup_name function (pciutils) to generate similar description strings

- How to verify it
Unit tests are updated.

blocked by #4
We need to merge that first.


feat: return SecurityProfiles for API GET /api/configmanager/enum/ (securityprofile)

As requested by DSC UI.
Closes #464

PR is ready to be tested and merged

@BastianWel, do you first want to test this branch or can we merge it? @tmberthold

@juliapampus I have tested it, can be merged.


add get-environment-variable

Description
Part 0 of https://github.com/inmanta/inmanta-core/issues/8303 as suggested in this comment
Order of merging:

This PR
Sphinx PR using this added env variable: https://github.com/inmanta/inmanta-sphinx/pull/79
Core DOC PR : https://github.com/inmanta/inmanta-core/pull/8474

Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[ ] Attached issue to pull request
[ ] Changelog entry
[ ] Type annotations are present
[ ] Code is clear and sufficiently documented
[ ] No (preventable) type errors (check using make mypy or make mypy-diff)
[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Correct, in line with design
[ ] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )
[ ] If this PR fixes a race condition in the test suite, also push the fix to the relevant stable branche(s) (see test-fixes for more info)

Processing this pull request

Merged into branches master in 6c1357c62a5c71a0e8893d532ecd7edad819caf9

Processing #8478.


Clarification for why this is better than other options

It should be made more clear in the docs as to why this is better compared to other solutions.

What are the downsides to Templates and Thomas Franks implementation?
In what way does this tackle these downsides?

I gave this explanation on the Reddit post:

The use of recurring templates work wonderfully for things like daily journaling. But as soon as you want to have a variable property (such as a due date that is not '@today') they become limited in their use unless you transform that property to a formula (which might not fit well with the other items in that database). Additionally, mixing your recurring templates with your regular templates becomes cluttered since the recurring templates should be a set-once-and-forget kind of thing but now you still have to scroll through them to find that regular template you were looking for.


camelcase problem

Bug Report
Hi guys,
I have here one table which is created with camelcase naming :-1: and I want work with using doctrine. But there is problem with where condition. Query looking fine before execute (probably).
In another tables isn't camelcase naming, I don't want setup naming strategy for whole project, globally.
Entity:
<?php

namespace App\Entity\PPPayment;

use Doctrine\ORM\Mapping as ORM;

/**
 * @ORM\Table(name="customers")
 * @ORM\Entity(repositoryClass="App\Repository\Payment\CustomersRepository")
 */
class Customers
{
    /**
     * @ORM\Id()
     * @ORM\GeneratedValue()
     * @ORM\Column(type="integer")
     */
    private $id;

    /**
     * @ORM\Column(name="phoneNumber", type="text")
     */
    private $phoneNumber;

    /**
     * @ORM\Column(type="integer")
     */
    private $ico;

    /**
     * @ORM\Column(type="text")
     */
    private $email;

    /**
     * @ORM\Column(name="bankAccountNumber", type="text")
     */
    private $bankAccountNumber;

    /**
     * @ORM\Column(name="bankAccountCode", type="text")
     */
    private $bankAccountCode;

    /**
     * @ORM\Column(name="addressStreet", type="text")
     */
    private $addressStreet;

    /**
     * @ORM\Column(name="addressNumber", type="text")
     */
    private $addressNumber;

    /**
     * @ORM\Column(name="addressCity", type="text")
     */
    private $addressCity;

    /**
     * @ORM\Column(name="addressPSC", type="text")
     */
    private $addressPSC;

    /**
     * @ORM\Column(type="text")
     */
    private $name;

    /**
     * @ORM\Column(name="dateRegistered", type="datetime_immutable")
     */
    private $dateRegistered;

    /**
     * @ORM\Column(name="identificationConfirmed", type="boolean")
     */
    private $identificationConfirmed;

    public function getId()
    {
        return $this->id;
    }

    public function getPhoneNumber(): ?string
    {
        return $this->phoneNumber;
    }

    public function setPhoneNumber(string $phoneNumber): self
    {
        $this->phoneNumber = $phoneNumber;

        return $this;
    }

    public function getIco(): ?int
    {
        return $this->ico;
    }

    public function setIco(int $ico): self
    {
        $this->ico = $ico;

        return $this;
    }

    public function getEmail(): ?string
    {
        return $this->email;
    }

    public function setEmail(string $email): self
    {
        $this->email = $email;

        return $this;
    }

    public function getBankAccountNumber(): ?string
    {
        return $this->bankAccountNumber;
    }

    public function setBankAccountNumber(string $bankAccountNumber): self
    {
        $this->bankAccountNumber = $bankAccountNumber;

        return $this;
    }

    public function getBankAccountCode(): ?string
    {
        return $this->bankAccountCode;
    }

    public function setBankAccountCode(string $bankAccountCode): self
    {
        $this->bankAccountCode = $bankAccountCode;

        return $this;
    }

    public function getAddressStreet(): ?string
    {
        return $this->addressStreet;
    }

    public function setAddressStreet(string $addressStreet): self
    {
        $this->addressStreet = $addressStreet;

        return $this;
    }

    public function getAddressNumber(): ?string
    {
        return $this->addressNumber;
    }

    public function setAddressNumber(string $addressNumber): self
    {
        $this->addressNumber = $addressNumber;

        return $this;
    }

    public function getAddressCity(): ?string
    {
        return $this->addressCity;
    }

    public function setAddressCity(string $addressCity): self
    {
        $this->addressCity = $addressCity;

        return $this;
    }

    public function getAddressPSC(): ?string
    {
        return $this->addressPSC;
    }

    public function setAddressPSC(string $addressPSC): self
    {
        $this->addressPSC = $addressPSC;

        return $this;
    }

    public function getName(): ?string
    {
        return $this->name;
    }

    public function setName(string $name): self
    {
        $this->name = $name;

        return $this;
    }

    public function getDateRegistered(): ?\DateTimeImmutable
    {
        return $this->dateRegistered;
    }

    public function setDateRegistered(\DateTimeImmutable $dateRegistered): self
    {
        $this->dateRegistered = $dateRegistered;

        return $this;
    }

    public function getIdentificationConfirmed(): ?bool
    {
        return $this->identificationConfirmed;
    }

    public function setIdentificationConfirmed(bool $identificationConfirmed): self
    {
        $this->identificationConfirmed = $identificationConfirmed;

        return $this;
    }
}

Query:
$customers = $em->getRepository(Customers::class);
$customers->findOneBy(['phoneNumber' => 123456]);

Error response:
  An exception occurred while executing 'SELECT c0_.id AS id_0, c0_.phoneNumber AS phonenumber_1, c0_.ico AS ico_2, c0_.email A
  S email_3, c0_.bankAccountNumber AS bankaccountnumber_4, c0_.bankAccountCode AS bankaccountcode_5, c0_.addressStreet AS addre
  ssstreet_6, c0_.addressNumber AS addressnumber_7, c0_.addressCity AS addresscity_8, c0_.addressPSC AS addresspsc_9, c0_.name
  AS name_10, c0_.dateRegistered AS dateregistered_11, c0_.identificationConfirmed AS identificationconfirmed_12 FROM customers
   c0_ WHERE c0_.phoneNumber = ?' with params ["123456"]:

  SQLSTATE[42703]: Undefined column: 7 ERROR:  column c0_.phonenumber does not exist
  LINE 1: SELECT c0_.id AS id_0, c0_.phoneNumber AS phonenumber_1, c0_...
                                 ^
  HINT:  Perhaps you meant to reference the column "c0_.phoneNumber".

Current behavior

postgresql
symfony 4

doctrine/annotations                v1.6.0             Docblock Annotations Parser
doctrine/cache                      v1.7.1             Caching library offering an object-oriented API for many cache backends
doctrine/collections                v1.5.0             Collections Abstraction library
doctrine/common                     v2.8.1             Common Library for Doctrine projects
doctrine/dbal                       v2.7.1             Database Abstraction Layer
doctrine/doctrine-bundle            1.9.1              Symfony DoctrineBundle
doctrine/doctrine-cache-bundle      1.3.3              Symfony Bundle for Doctrine Cache
doctrine/doctrine-migrations-bundle v1.3.1             Symfony DoctrineMigrationsBundle
doctrine/inflector                  v1.3.0             Common String Manipulations with regard to casing and singular/plura...
doctrine/instantiator               1.1.0              A small, lightweight utility to instantiate objects in PHP without i...
doctrine/lexer                      v1.0.1             Base library for a lexer that can be used in Top-Down, Recursive Des...
doctrine/migrations                 v1.7.2             Database Schema migrations using Doctrine DBAL
doctrine/orm                        v2.6.1             Object-Relational-Mapper for PHP
symfony/doctrine-bridge             v4.0.11            Symfony Doctrine Bridge

Expected behavior
Use camelcase format as I defined in entity and in where condition.

I found some temporary solution about that: https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/basic-mapping.html#quoting-reserved-words but it's not right solution, these columns aren't reserved words.

Doctrine 2.x doesn't quote table names by default, but Doctrine 3.x does. When creating tables/fields in postgresql, unquoted identifiers are automatically folded to lowercase. This is effectively solved in Doctrine 3 where this does not happen, since everything is quoted

Thank you for reply


Bump to rusttls 0.18.0

cc @skade @dignifiedquire -- anything additional that should be done to test this?

@dignifiedquire I don't have publish access on Crates.io -- could you run one? Thanks!

@yoshuawuyts you got an invite.

@skade thanks; published!


remove .npmignore

allow npm to ignore everything in .gitignore
fixes #681

⚠ This issue has been locked due to age. If you have encountered a recent
problem that seems to be covered by this issue, please open a new issue.
Please include a minimal reproducible example
when opening a new issue.


frequently panic in Msg.Pack method

I'm using the latest code from the repository, the code snippet:
func exchange(server string, c *dns.Client, r *dns.Msg, resp chan *dns.Msg) {
	if rs, _, err := c.Exchange(r, server); err == nil {
		resp <- rs
	} else {
		resp <- nil
		common.Errorf("query dns %s from %s failed, %+v\n", r.Question[0].Name, server, err)
	}
}
...
		if m, err := rs.Pack(); err == nil {
			w.Write(m)
		}

But Pack() method crashes frequently.
goroutine 22 [running]:
panic(0xa36ec0, 0xc082002090)
        X:/go/src/runtime/panic.go:464 +0x3f4
github.com/miekg/dns.(*Msg).Len(0xc0822d02d0, 0xc082a975a0)
        X:/Shareware/yiili/src/github.com/miekg/dns/msg.go:1738 +0x24a
github.com/miekg/dns.(*Msg).PackBuffer(0xc0822d02d0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        X:/Shareware/yiili/src/github.com/miekg/dns/msg.go:1575 +0x3cb
github.com/miekg/dns.(*Msg).Pack(0xc0822d02d0, 0x0, 0x0, 0x0, 0x0, 0x0)
        X:/Shareware/yiili/src/github.com/miekg/dns/msg.go:1507 +0x5a

Can you print the packet before you pack? The above stack trace doesn't exactly point out something obvious...

I think you might have a nil in m.Answer. How is the m in question constructed and manipulated?

@andrewtj I think so. But I thought rs is returned by dns.Client.Exchange method, it should be packed without panic.

It should. Can you do as @miekg suggested and print rs? log.Printf("struct:\n%V\nmsg:\n%s", rs, rs) immediately after Exchange and immediately before Pack might show the anomaly.

I have some code to filter out nil answers:
		for i := len(rs.Answer) - 1; i >= 0; i-- {
			if rs.Answer[i] == nil {
				common.Warningf("found nil answer in %s's result: %V, %s", r.Question[0].Name, rs, rs)
				rs.Answer = append(rs.Answer[:i], rs.Answer[i+1:]...)
			}
		}

And got some logs:
18:54:34.450 W ▶ found nil answer in local.'s result: &{{%!V(uint16=39035) %!V(bool=true) %!V(int=0) %!V(bool=false) %!V(bool=false) %!V(bool=true) %!V(bool=true) %!V(bool=false) %!V(bool=false) %!V(bool=false) %!V(int=0)} %!V(bool=false) [{%!V(string=local.) %!V(uint16=6) %!V(uint16=1)}] [<nil>] [] []}, ;; opcode: QUERY, status: NOERROR, id: 39035
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;local. IN       SOA

;; ANSWER SECTION:
18:54:34.456 W ▶ found nil answer in local.'s result: &{{%!V(uint16=34953) %!V(bool=true) %!V(int=0) %!V(bool=false) %!V(bool=false) %!V(bool=true) %!V(bool=true) %!V(bool=false) %!V(bool=false) %!V(bool=false) %!V(int=0)} %!V(bool=false) [{%!V(string=local.) %!V(uint16=6) %!V(uint16=1)}] [<nil>] [] []}, ;; opcode: QUERY, status: NOERROR, id: 34953
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;local. IN       SOA

;; ANSWER SECTION:

If it's so localised, are you able to capture an incoming packet that you
believe triggers this. Something is adding an empty answer and I find it
hard to believe it is Exchange.
On 8 May 2016 12:05 p.m., "Fan Yang"<EMAIL_ADDRESS>wrote:

I have some code to filter out nil answers:
    for i := len(rs.Answer) - 1; i >= 0; i-- {
        if rs.Answer[i] == nil {
            common.Warningf("found nil answer in %s's result: %V, %s", r.Question[0].Name, rs, rs)
            rs.Answer = append(rs.Answer[:i], rs.Answer[i+1:]...)
        }
    }

And got some logs:
18:54:34.450 W ▶ found nil answer in local.'s result: &{{%!V(uint16=39035) %!V(bool=true) %!V(int=0) %!V(bool=false) %!V(bool=false) %!V(bool=true) %!V(bool=true) %!V(bool=false) %!V(bool=false) %!V(bool=false) %!V(int=0)} %!V(bool=false) [{%!V(string=local.) %!V(uint16=6) %!V(uint16=1)}] [] [] []}, ;; opcode: QUERY, status: NOERROR, id: 39035
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;local. IN       SOA
;; ANSWER SECTION:
18:54:34.456 W ▶ found nil answer in local.'s result: &{{%!V(uint16=34953) %!V(bool=true) %!V(int=0) %!V(bool=false) %!V(bool=false) %!V(bool=true) %!V(bool=true) %!V(bool=false) %!V(bool=false) %!V(bool=false) %!V(int=0)} %!V(bool=false) [{%!V(string=local.) %!V(uint16=6) %!V(uint16=1)}] [] [] []}, ;; opcode: QUERY, status: NOERROR, id: 34953
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; QUESTION SECTION:
;local. IN       SOA
;; ANSWER SECTION:
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/miekg/dns/issues/354#issuecomment-217709725

@missdeer are those log entries immediately after calling Exchange? If so can you instrument Conn.ReadMsg() to dump the messages byte slice so we can take a look at it?

@missdeer got an update for us?

it's not easy for me to capture the raw data when the issue happens, so i check the nil answer in my application


Speed improvements

This PR implements two major improvements in speed.
Training
In order to gather data for training, initially features were generated using the entire picture and then annotated pixels were extracted from this large stack of filtered images. This is wasting both processing time and memory as most data are not used. In this PR, we first detect annotated regions, define bounding boxes around these regions and then process only this set of bounding boxes.
Prediction
In a similar way for training, we need to create features for all pixels in the image. This means that we end up with stacks of tens or hundreds of filtered images. For very large images, this can go beyond space in RAM and be extremely slow. At prediction time we however don't need to process all pixels at the same time, and can proceed on image tiles. Once an image tile has been processed, the attached stack of filtered images can be discarded and we only keep the segmentation. Therefore here we only need to fit a single tile of filtered images. Additionally, stacks can be processed in parallel. The only complication is to avoid creating artefacts at tile boundaries. As we use convolutional filters that have boundary effects, we create overlapping tiles and only keep the region that is not affected at the edges (except for the true edges of course). An additional checkbox is added to the interface to enable tiling.

Codecov Report
Attention: Patch coverage is 21.73913% with 72 lines in your changes are missing coverage. Please review.

Project coverage is 66.44%. Comparing base (22a7d38) to head (6bd4f5e).

Files
Patch %
Lines

src/napari_convpaint/conv_paint_utils.py
11.68%
68 Missing :warning:

src/napari_convpaint/conv_paint.py
73.33%
4 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
- Coverage   69.79%   66.44%   -3.35%
==========================================
  Files           9        9
  Lines        1301     1383      +82
==========================================
+ Hits          908      919      +11
- Misses        393      464      +71

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


TakeLsbTooSmall in x86-64 sleigh.

Table {
      location: File(
          FileSpan {
              start: FileLocation {
                  file: "/Applications/ghidra/Ghidra/Processors/x86/data/languages/ia.sinc",
                  line: 3225,
                  column: 0,
              },
              end_line: 3225,
              end_column: 1,
          },
      ),
      error: Execution(
          VarSize(
              AssignmentSides {
                  left: Value(
                      64,
                  ),
                  right: Value(
                      32,
                  ),
                  location: File(
                      FileSpan {
                          start: FileLocation {
                              file: "/Applications/ghidra/Ghidra/Processors/x86/data/languages/ia.sinc",
                              line: 1611,
                              column: 4,
                          },
                          end_line: 1611,
                          end_column: 5,
                      },
                  ),
                  backtrace: "sleigh-rs/src/semantic/inner/execution/assignment.rs:196",
              },
          ),
      ),
  }

When processing x86-64 sleigh, I am encountering a TakeLsbTooSmall error.
I think this is because pcRelSimm32 can be both 32 and 64 in size.  the problematic lines:
https://github.com/NationalSecurityAgency/ghidra/blob/master/Ghidra/Processors/x86/data/languages/ia.sinc#L1017-L1019
I am not sure what the best approach to resolve this is, otherwise I would include a pull request to fix it.  I haven't had a chance to track down how the parser in ghidra handles this case.
If you have any recommendations for how this should be resolved, I can take a stab at fixing it.

Yes, that happen because the default sleigh implementation is very liberal with the field sizes, in this case the size is 0, like commented here.
I already solved this implementing a few hack, although I dislike how they are implemented, I think ghidra don't give me many options.
Thanks you for reporting, let me know if you are still having this problem.

Awesome, these fixes seem to resolve all the parsing of the x86-64 sleigh I was having.


Preferences: "Default Emulator" with support for command line prompts

The built-in emulator works in a pinch, but it is pretty rudimentary in terms of features. eg: No debugging or save-states, Super Game Boy support only simulates the bare minimum of visual features.
I would prefer if "Run" opened my emulator of choice for me, as set in Preferences as my "Default Emulator" - importantly, with support for command line options when I need them. In my case, I use BSNES so that I can properly test my project's Super Game Boy features. I'd need to be able to set up my emulator with something like:
bsnes.exe "Super Game Boy 2 (Japan).sfc" "$PATH$"
Where $PATH$ is the complete "drive:\folder path\filename.gb" location for the temp-generated rom.

Great idea

I like that idea.


Angular standalone sample

question: with v3 of msal-angular, shouldn't the public client be explicitly initialised (with await client.initialize();). I don't see that in the example added it, but without the explicit initialization we see in the console these errors:
BrowserAuthError: native_broker_called_before_initialize: You must call and await the initialize function before attempting to call any other MSAL API when native brokering is enabled

question: with v3 of msal-angular, shouldn't the public client be explicitly initialised (with await client.initialize();).

@schmkr great question. initialize() is called by handleRedirectObservable, so as long as the handleRedirectObservable is correctly subscribed to (as in this sample) or bootstrapped with the MsalRedirectComponent (other msal-angular samples), the public client should be initialized and the error you quoted should not appear. Please see the source code for handleRedirectObservable here.
If you are still seeing that error, please try subscribing to handleRedirectObservable as shown in this sample app and open an issue if you are still seeing that error.


Explain "smart root" (settings windows) in readme.md

‘smart root’ MCTS option doesn’t seem to be explained

source

Will remove smart rooot it for now from the Settings dialog. (Actually a leftover from initial versions).
We might come back to that later as a separate issue, but low prio.


m3u8 videos not playing in Chrome

Description
.m3u8 videos not playing in Chrome. Add fallback video element with mp4.
Severity
High

Pull request #38

Forgot to address post page (r/subreddit/00000)

Pull request #41


disable HTTPRoute indexer when CRDs not present

mgr.GetFieldIndexer().IndexField() returns error when HTTPRoute CRD not present, hence the operator dies when the GatewayAPI CRDS not installed in the cluster.
While this is reasonable, it is causing failure on OLM catalog release tests. This should not be backported to main.

Upgrade tested and works


Using FCA on batch of Residuals.

Hello @TArdelean,
The current code works fine for residuals of shape (1, 512, 64, 64). How can we apply fca on batch of residuals of shape (batch, 512, 64, 64)? What changes and where I need to do inorder to use it in batches?
Thanks.

Hi @rishabh-akridata,
The current implementation of FCA only supports a batch size of one. Because of the high memory consumption at large resolution, one can usually process only one image at a time anyway. To process a larger batch you can use a for loop, or try vmap (https://pytorch.org/docs/stable/generated/torch.vmap.html) to apply FCA in a vectorized fashion.


moved langDetect profiles to resources

Solved Issue#7: Moved language profiles to the resources so that they may be read from the jar file. Consequently, also removed the language detection parameter from the startCrawl command. Added a new constructor to the TargetStorage class.

Closes #7


hack,test: Remove the test-run-all-install-tests test flag in favor of t.short

This flag was added to help differentiate between the number of MeteringConfig test installations we spun up during a dev PR vs. during a nightly periodic. In the case of the former, we only want to run a subset of all available tests, and those tests were gated using the value of this field. That said, this field is redundant as we already specify a t.short value in the hack/e2e.sh script and we can conditionally skip tests using the value of the testing.Short() expression.

/retest

/retest

Manually adding the valid-bz label as this only affects our CI and nothing user-facing.


Exclude vendor folder from yuidoc

Please check your yuidoc.json to change which files are included and excluded in the documentation generation process.


Possible term merge  mitotic spindle assembly checkpoint override/cut

mitotic spindle assembly checkpoint override
A cellular process phenotype in which a mitotic cell cycle arrest that normally occurs in response to mitotic cell cycle spindle assembly checkpoint signaling does not occur. As a result, the septation initiation network (SIN) signaling pathway is activated despite activation of the mitotic spindle assembly checkpoint (SAC). Normally, under conditions that activate the SAC, SIN activation is inhibited and the cell cycle arrests in anaphase. In this phenotype, premature SIN activation leads to premature cytokinesis and the formation of cut cells.
I don't think there is any difference between this term and "cut"
This is what cut is essentially. Usually a problem that isn't fixed, or can't be fixed.
"mitotic spindle assembly checkpoint override" would be a related synonym.
The spindle checkpoint  eventually 'expires' and  cytokinesis occurs.
So I think the terms should probably merge (related synonym)
@JackyVH  what do you think?

background in #2133 (in case Jacky hasn't seen it)

background in #2133 (in case Jacky hasn't seen it)


ative run-ios

Is this a bug report?
(write your answer here)

Have you read the Bugs section of the Contributing to React Native Guide?
(Write your answer here.)

Environment

react-native -v:
node -v:
npm -v:
yarn --version (if you use Yarn):

Then, specify:

Target Platform (e.g. iOS, Android):
Development Operating System (e.g. macOS Sierra, Windows 10):
Build tools (Xcode or Android Studio version, iOS or Android SDK version, if relevant):

Steps to Reproduce

(Write your steps here:)

Expected Behavior

(Write what you thought would happen.)
Actual Behavior

(Write what happened. Add screenshots!)
Reproducible Demo

(Paste the link to an example project and exact instructions to reproduce the issue.)

@facebook-github-bot close


Skip a tab content

Hi,
I was wondering what's the best way to skip a tab and jump directly to a specific tab of your choice.
My use case is the following:
we have 4 tab contents, you make a payment on tab 2 which gets validated before you can go to tab 3. However in the case of the form right now, you're able to press on the tabs and go back to them. If you go back to tab 2, it will always try to validate and send to tab 3, is there any way to send it to tab 4 from tab 2?
Thanks,

There is an internal method for such situations
https://jsfiddle.net/bt5dhqtf/448/
changeTab (oldIndex, newIndex)

Usage:
<form-wizard ref="wizard">
</form-wizard>

this.$refs.wizard.changeTab(0,3)


Fix Tab layout issue on Artifact node side panel

JIRA: RHOAIENG-11567
Description

Add a style to prevent tabs from shrinking.

How Has This Been Tested?

Create a run using the metrics pipeline
Click on the artifact nodes
Make sure the tabs are not hidden anymore when you click on the Visualization tab

Test Impact

N/A, a small UX fix.
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

Tested locally
The arttifact tab doesnt shrink/tabs are not hidden, when clicking on visualization tab
/lgtm

/retest


reader will core dump

Describe the bug
the reader core dump because the RowsetReaderContext is invalid.
the length of RowsetReaderContext.is_upper_keys_included and RowsetReaderContext.upper_bound_keys are not equal

This problem is caused by the temp variable is destructed, but AlphaRowsetReader use the pointer of temp variable, which will access invalid memory

Fixed by #858


Cannot upload pdf files

Failed to upload. Unexpected token 'A', "An error o"... is not valid JSON

me too

this might be happened because of vercel's limitation


can't access code-server on AWS

Hi, I'm unable to access my code-server on AWS; opened http port on the VM and in AWS security rule, I'm struggling to troubleshoot this one, the code-server and coder-redirecter are running, can you give me some tips here?

Same problem here

here as well, any solution on this? Sometimes it works, sometimes fails

Hi - sorry for the late response, I have not been active on this project.
Unfortunately, we cannot guarantee reliability with our --link service anymore. I have added a note to our VM guide to specify this. For now, we'd recommend using our guide to configure Caddy/LetsEncrypt on code-server: https://coder.com/docs/code-server/latest/guide#using-lets-encrypt-with-caddy


Activate mouse controls by default

As I am used to powerpoint and other presentation software where the mouse is the typical instrument to control the slides I would like to see mouse controls activated by default. In fact I had to read the Readme because I wasn't able to switch slides and that seems to be not very intuitive.
I know that using the arrow keys would collide with the input methods of the game you can play inside the slide about the demos (maybe switch to wasd here?). So maybe using n and p is not that bad.
My suggestion would be to at least activate the emulate_touch_from_mouse setting that mouse users are able to swipe with the mouse. Another possibility would be to implement mouse click actions (lmb next slide and rmb previous slide) but I'm not sure how this would affect actions like opening a website link with a click.

There are buttons on the side of the slides now, they show on hover. You can add that no pb if you want, just gotta use unhandled_input instead of _input on the slides node


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.17 to before v5.15",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=c46234ebb4d1eee5e09819f49169e51cfc6eb909",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=da353fac65fede6b8b4cfe207f0d9408e3121105"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "c46234ebb4d1eee5e09819f49169e51cfc6eb909",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "da353fac65fede6b8b4cfe207f0d9408e3121105",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "net/tls: Fix flipped sign in tls_err_abort() calls\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.15 by commit da353fac65fede6b8b4cfe207f0d9408e3121105, it was introduced in version v4.17 by commit c46234ebb4d1eee5e09819f49169e51cfc6eb909. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002189


Refactor and DRYer code

Implemented the Suggested changes

[x] Removed Start Scheduler Button
[x] Refactored code using already available ConfirmModal
[x] Removed CSS files, not needed

Future Goals

[ ]  Make it localized

hey @theborakompanioni now this PR will block my workflow. Please review it as soon as you get time.

@theborakompanioni all the changes that we talked about are done, please review this PR if you get time. Thanks!


inconsistency between dates extracted by duckling directly vs the post processed rasa nlu entities

Rasa NLU version: 0.14
Issue:
Looks like there's some inconsistency between dates/intervals extracted directly by duckling and then how rasa_nlu turns that into extracted entities.
For "How many products do I have between 1/1/2017 to 31/1/2017", the returned result contains one date. And, if I enter the following query "How many products do I have between 1-1-2017 and 31-1-2017", the returned results contain "from" and "to" values but both of them are the same ('2017-01-01T02:00:00.000-08:00') which is incorrect.

Hi @Greg3108,
Does duckling pick up on these entities at all?

I am facing the same issue. Duckling picks the first date only. Here is part of the output JSON of my bot:
 "project": "current",   "entities": [     {       "extractor": "ner_duckling_http",       "confidence": 1.0,       "end": 34,       "text": "1/1/2017",       "value": "2017-01-01T00:00:00.000-08:00",       "entity": "time",       "start": 26,       "additional_info": {         "grain": "day",         "values": [           {             "type": "value",             "grain": "day",             "value": "2017-01-01T00:00:00.000-08:00"           }         ],         "value": "2017-01-01T00:00:00.000-08:00",         "type": "value"       }     },     {       "extractor": "ner_duckling_http",       "confidence": 1.0,       "end": 47,       "text": "1/2017",       "value": "2017-01-01T00:00:00.000-08:00",       "entity": "time",       "start": 41,       "additional_info": {         "grain": "day",         "values": [           {             "type": "value",             "grain": "day",             "value": "2017-01-01T00:00:00.000-08:00"           }         ],         "value": "2017-01-01T00:00:00.000-08:00",         "type": "value"       }     }   ],
Here is the YML file configurations:
`language: "en"
pipeline:

name: "nlp_spacy"
name: "tokenizer_spacy"
name: "intent_featurizer_count_vectors"
name: "intent_entity_featurizer_regex"
name: "intent_classifier_tensorflow_embedding"
name: "ner_crf"
name: "ner_duckling_http"
url: "http://<IP_ADDRESS>:8000"
dimensions: ["time"]`

Similar issue here:

Solution:
Duckling gives the outer bounds for interval extraction. You can subtract the grain value from the bound. For example, from custom action you can do (to-grain)


Re: DXVK How to use

Hi.
in the instruction in the "How to use" section of the front page, it says here:
WINEPREFIX=/path/to/wineprefix
cp x64/*.dll $WINEPREFIX/drive_c/windows/system32
cp x32/*.dll $WINEPREFIX/drive_c/windows/syswow64
winecfg

Please correct me if I'm wrong but isn't it the x64/*.dll to be copied in syswow64?

Hello!
It isn't very intuitive I know but this is actually just a quirk of how Windows separates 64 & 32bit system files on 64bit systems. So it is correct that system32 is 64bit and syswow64 is 32bit.
https://www.ibm.com/support/pages/why-do-64-bit-dlls-go-system32-and-32-bit-dlls-syswow64-64-bit-windows

thank you again @Blisto91


How to disable that the player has, for example, an illegal name

How to disable that the player has, for example, an illegal name

it's a setting in the config.yml. username.filter-special-chars. also username.min-length and username.max-length