Sponsor Landing Page: Design Comp

Wireframes: #3

Hey Fella's, Here's the results of my work so far.  It was a refreshing design project. Taking away the nav menu and focusing on a one pager was nice.  I had fun.  Let me know what you think so far. I've created two header variations to house the logo. Not sure which is strongest at this point.
I can make tweaks  and should be able to turn them around in a day.

@jhoguet @benglass  Just realized I didn't mention you guys when I uploaded these earlier today.  Not sure if you were notified or not.

I was notified but mentions are even better.
I love it, here are some thoughts for us to explore.

The white background with the logo on a blue background bar feels off... what if the white background and the blue bar became one (a white bar). And on scroll it is basically fixed at the top (still full width / centered)

To what degree is Queen City a thing? Do people empathize with it? Does it already have a sense of pride that we can take advantage of? I may be out of touch because to me it is more distracting that  "Burlington".

Fostering a vibrant tech community in Burlington by making meetups easier

How are we going to scale who we are? Can you show what it would look like with 3 more meetups?

The at a glance boxes (interaction design / @benglass ). Minor, but I am imagining the at a glance is default blue, but if you hover over the other boxes it shifts the blue to the hovered box.

The design by ThinkUp should be a link (either to a site or email). You should also add Made with ♥ by Ben. Which should also be a link.

copy editing (probably not worth touching til we nail down the design)

(we have a lot of caps where maybe we shouldn't) eg. Look at caps in Sharing Knowledge levels up Local Tech Talent compared to the following bullet. I say we generally aim to capitalize first words and proper nouns (unique identity). I work with a lot of people that find this really distracting. If the intent is emphasis lets rely on another cue that will in effect translate to <strong> like bold, small-all caps, etc.

excellent work @AndrewSepic

Hey @jhoguet Thanks for your sharp feedback. It's a pleasure to work with you!  Really.   Here's a revised version of the web design.
In response..

Yeah, it did feel a bit funny, but without a Nav bar, the usual logo on a white header area seemed just too strange for me, so I tried a few more experimental things.  Here's the traditional look, and I feel it works good enough.
I really can't speak to 'Queen City', I don't live in Burlington, but I have heard it referred to such and was wondering about the history of that.  I think that could decided upon with some further feedback.
I had definitely thought a bit about how this would scale and while I've got the ideas for the CSS upstairs, you did make me realize it would also need to be responsive.  I'll work up something in Codepen and see if I can get a working model, otherwise I'm happy to look at changing this.
I made the 'At a Glance' box slightly different based on the wireframe @benglass provided.  My intention was to not have any hover effects (as nothing is really interactive) but simply use the color of that box to highlight the higher than average importance of that area.
Totally, I would assume Ben would add in his credit in development.  Jon, you went up on my 'cool score' with the heart shape.  I tried my best to make a heart shape, but until I get to use HTML (or a full keyboard with numeric keypad) I'll have to use the word 'love'.
Yes, this is always a grey area with me and as I work very rarely with others, my implementation is rather spotty in how I decide what gets capitalized (playing with emphasis).  I can see a developer's mind could find this very distracting :-)

@AndrewSepic @jhoguet
This looks great! Clean and modern and very easy to digest. Here are some of my thoughts (at least one of which jon already mentioned)

Is the treatment of Who We Are going to provide challenging if the number of groups expands? Andrew you said you'd look into this Im not sure how we'd achieve this in a responsive way via CSS but I'm not really a css guru.
Content Note: "Makes Burlington More Attractive" perhaps be more specific "to translants" or something
Agreed on Burlington vs. Queen City, new comp has a typo though it says "in the Burlington"
This might just be my opinion but the main tagline Fostering a Vibrant... the white text on the photo I find slightly difficult to read even with the drop shadow.. maybe hardening the drop shadow? Seems better in the new comp with the darker image
Again, completely opinion-based but I would perhaps harden the drop shadow behind the > bullets. I like the clean vector lines throughout and this is the one area that I feel like doesnt fit with that.

Loving this!
Is it worth getting together one night this week to get this the last mile. It seems like we could have hours of back and forth, or in one hour together this could be ready for handoff to Ben.
I'd be up for meeting somewhere, to include food, or we could do a hangout. We could meet at my house if you want an excuse to chill at the beach for a sunset.
You guys let me know what works best for you.

Im willing but my thurs/fri nights are booked this week.

I could do Wednesday.

@benglass   Thanks for your feedback too.  My replies follow

Is the treatment of Who We Are going to provide challenging if the number of groups expands? Andrew you said you'd look into this Im not sure how we'd achieve this in a responsive way via CSS but I'm not really a css guru.
I'm not a guru either, but I was aware that it could be done and I didn't want pull the 'designer' move and stick with tough implementation job.  I've spent a bit of time on the SASS for this and here's my working models.

Single row model Could accept max of 5 meetups
Double row model (6 meetups and more)

This might just be my opinion but the main tagline Fostering a Vibrant... the white text on the photo I find slightly difficult to read even with the drop shadow.. maybe hardening the drop shadow? Seems better in the new comp with the darker image
I can see what you mean.  I think it's good enough contrast between the background/title, but hardening up the drop shadows could increase it's visibility.  This is easiest using CSS as Photoshop doesn't allow for hard shadows.

Again, completely opinion-based but I would perhaps harden the drop shadow behind the > bullets. I like the clean vector lines throughout and this is the one area that I feel like doesnt fit with that.
I agree with you here. And again think this can be attained easiest with CSS.

Tonight at 6 works for me. Does it still work for both of you?
Do you want to meet at Dealer.com?
My place in colchester ?
Somewhere else?

I'm still good.  I'm flexible as to where we meet as well. I'll likely be downtown this afternoon for a cafe work shift, so Dealer is fine but Colchester is beautiful... so let's see what works best for Ben.

I have my dog with me today so it would have to be somewhere dog friendly.
We can meet here at VDW just down the street from dealer (7 kilburn street,
citizen cider building) if that works for you guys.
On Wed, May 25, 2016 at 9:46 AM, Andrew<EMAIL_ADDRESS>wrote:

I'm still good. I'm flexible as to where we meet as well. I'll likely be
downtown this afternoon for a cafe work shift, so Dealer is fine but
Colchester is beautiful... so let's see what works best for Ben.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/burlingtoncode/burlingtoncode.org/issues/4#issuecomment-221580724

Works for me - see you guys at 6 at VDW
On Wed, May 25, 2016 at 11:07 AM Ben Glassman<EMAIL_ADDRESS>wrote:

I have my dog with me today so it would have to be somewhere dog friendly.
We can meet here at VDW just down the street from dealer (7 kilburn street,
citizen cider building) if that works for you guys.
On Wed, May 25, 2016 at 9:46 AM, Andrew<EMAIL_ADDRESS>wrote:

I'm still good. I'm flexible as to where we meet as well. I'll likely be
downtown this afternoon for a cafe work shift, so Dealer is fine but
Colchester is beautiful... so let's see what works best for Ben.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
<
https://github.com/burlingtoncode/burlingtoncode.org/issues/4#issuecomment-221580724

—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/burlingtoncode/burlingtoncode.org/issues/4#issuecomment-221605661

Meeting Notes 5/25

[ ] John - Stickers
[ ] John - GA
[ ] John - Donate page url with campaign for sponsorship drive
[ ] John - Determine if we are just linking off site to donate or embedding into iframe
[ ] Andrew - Add Psd to repo
[ ] Andrew - Add SVG of logo to repo
[ ] Ben - Post style guide example for Andrew
[ ] Ben - Fake out the mobile views once the desktop is done
[ ] Design - Bump "sharing knowledge" font size a little
[ ] Responsive - Make sure that red button logo and tagline at least are in the folder on phone portrait
[ ] Andrew - Post style guide in repo
[ ] Ben - dev in a non gh-pages branch
[ ] Ben - put up a basic splash page
[ ] Andrew - Investigate pixel offset lineup with tree chart

Fixed up & Schnazzy - http://codepen.io/AndrewSepic/pen/pbzzXG?editors=1100
If you are really careful, you might be able to find a 1px discrepancy at a very particular screen size.  but other than that.  I think it's #slick.

@AndrewSepic Awesome! Im not seeing any of the discrepancies I was seeing before, although in Chrome I am seeing a 1px gap below the blue vertical line leading from Who We Are to the horizontal line. See screenshot: https://i.imgur.com/OHhCSdu.png
It looks like changing the top: 38px to top: 39px on line 23 of the css fixes it on my screen but i think the issue is probably relying on exact pixel values for a height that is related to typography? It looks like explicitly setting the line height to something like 1em for the h2 line height and 0.5em for the border and using 1.5em for the top fixes the issue perhaps in a way that would work without needing specific pixel values? Example: http://codepen.io/anon/pen/GqgbMr?editors=1100
Here is a screenshot of one of the 'style guide' pages we have done on a recent project. Generally these contain any basic typography styles plus any unique UI components to the project such as buttons, dialog boxes, etc. and serve as a living component library for the project. These are delivered as PSD files but one of the first things our devs do is to create an HTML page containing these elements and style them up. This screenshot is actually of a styled page not the PSD document https://i.imgur.com/Ku7k4pt.png

@benglass I don't see the 1px gap on my system (Yosemite & The latest Chrome), but I think you are likely right about px values vs rem/em.  I've tried to keep them distinct, but I'll leave it to you to make any mods you feel is best practice as you implement it.
I've uploaded the the style guide to the 'Design Assets' folder as well as pngs for the sponsor logos.  Let me know if anything else is missing. I believe you should be good to roll.

@benglass I added GA to the coming soon page, feel free to port that into your html when you're ready.
https://github.com/burlingtoncode/burlingtoncode.org/commit/281c25c6cb0dd03663b48c413cf054fbac266171

I think we should hold off on stickers... we made a promise to the user groups that we wouldn't try and compete with their own branding. I think a time will come but I don't think now is the time.

re: embedded... I proved that we can embed the donor box form...you can see it here (https://burlingtoncode.org/)
There isn't an obvious hook to know when the donation is complete (from what I can tell) making the value of embedding less valuable from my point of view.
For now lets stay the course of navigating to donor box (not embedded) and we can always make it better through embedding later.

re: what donor box url to we navigate to, lets send them to https://donorbox.org/burlington-code-2016
I had intended to create a dedicated campaign for better tracking but right now I don't think that is worth it.

@AndrewSepic I'm going to take a crack at html-ing up your most recent design in this thread, aiming for a first draft by the end of next week.
Two questions: Do you mind if I omit the drop shadow on the "Fostering a vibrant..." text?

The "who we are" graphic:  It doesn't feel like there's any room to grow there.  Would you mind if I did more of a 2x2 grid layout of the group names?  I don't need a mockup, but of course it would be handy..

Hey @zevav Nice to see there's some movement on this project.

Yes, no problem about removing the drop shadow on the Hero message text.

The who we are graphic is actually a bit of dynamic HTML/SASS that has plenty of room to grow. I posted the markup for this to be implemented above in a code pen snippet on May 20th. Posting here again.. http://codepen.io/AndrewSepic/pen/pbzzXG?editors=1100  It's responsive and pretty darn accurate in all the browsers I have tested it in.

@AndrewSepic cool, thanks.  I tried the codepen, and uncommenting Burlington Meteor makes it look a lot like it's the child of Burlington Python.  Sorry to push back, but is there another option?  A borderless grid of circles, for example.

@zevav That's because you need to change the one variable listed at the top of the SASS file which sets column width. I didn't think this was too much hassle.  This could be dynamically determined with JS, but I didn't take that step.
I can't visualize your 'borderless grid of circles' completely, but I'm guessing they would not have the tree diagram connecting lines?

hm, i tried setting $col to 20%, but then this happens. (Chrome for Mac)

@AndrewSepic oops, hadn't changed the Meteor div to .last, which fixes the first alignment problem, but "who we are" is still misaligned once there's five divs inside of .colwrap.

@AndrewSepic i should really read all your code before writing anything, sorry:  I see .secondrow now... trying it.

@AndrewSepic ok, i got a little further with it.  Am I doing this wrong?  Still having trouble when I add groups. http://codepen.io/zevav/pen/ozyAAE
The connecting light blue line is thinner for the second row, and the "who we are" stem is misaligned.

I guess my concern is that this "who we are" isn't easy to maintain, and it seems to only be partially responsive.

Hey @zevav I understand the confusion.  There was a few tweaks needed for two levels and I had completed them in another pen and had a few versions kicking around as I refined things.  I changed two lines in the CSS in the version you forked and you have this working version now http://codepen.io/AndrewSepic/pen/JRBvqa  Second row has the same width lead-in lines and they all line up nicely on small screens. You can't control the lead-in lines of the items to match the stem of the 'Who We Are' title, they are completely independent.
All said and done,  if you want simpler solution without the unique design aspect, then it's your call. If you throw together some markup I can do a bit of pretty CSS if you'd like.

@AndrewSepic the SVG isn't displaying quite right:  opening it in Chrome or Mac Preview, the words are skewed toward the left a bit and the closing curly brace is cut off.  Can you confirm this, and possibly provide a revised SVG?

@AndrewSepic never mind!  false alarm, hadn't installed the font.

@AndrewSepic never mind!  false alarm, hadn't installed the font.

@zevav Awesome.  Looking forward to seeing it come alive.

update: I'm on vacation, and am aiming to have something by next Fri (11/4/16).

👍


align inbuilt web server port with Jekyll ? i.e. 4000

Jekyll's association with github seems to make it very popular.  It uses port 4000 for its inbuilt web server.  It might be useful to align with this.  8080 seems like convention used for proxies.  4000 is intuitive as  "half-of" a web server.

good suggestion

I can do this if I can get write access to the repo.


Flexible roles

As is:
Only two roles are available for auth middleware: admin and others
To be:
Any role, provided as a string is available for auth middleware. Roles must be kept in repository

Resolved


Gantt plugin does not show board

I'm a new user and am having the same issues. I've been making example tasks within a project as the admin user and haven't been able to see anything on the Gantt tab. Tasks are properly shown/listed in the other tabs. The only other plug-ins installed are as follows:

GitHub Authentication
GitHub Webhook
Slack
Gantt

I've tried restarting the service as well as cleaning the database out (factory reset) but still I see nothing under the Gantt tab for example projects. I have tried downgrading the gantt plugin twice (1.0.3 and 1.0.4) as well as tried logging in as different users all with project manager status and have not been able to see the board. I'm wondering if there is an issue related to my configuration but seeing as all other features work, I don't believe that is the case.
Configuration
Plugin version: 1.0.5
Kanboard version: 1.2.13
Database type and version: SQLITE
PHP version: 7.2
OS: Ubuntu 18.04
Browser: Firefox 72

Hi, I have the same issue but without any other plugin installed, only the Gantt one.
Any ideas?

Hi I just installed the gantt plug-in and nothing showed up.
Could someone point me where I can find a fix for this?
Thanks
Mack

Hello,
I just installed gantt plugin from the plugin manager. Restarted service. The Gantt button is working fine but no taks are shown. I tried with different users/roles, different web browsers, different  languages, and timezones.
Gantt is the only pluggin I have installed (v 1.0.6).
I already checked #11, #21, #3454, #1532 but none ot them share my problem.
Any ideas?
Thanks!

I have the same issue with Kanboard 1.2.5 + Gantt 1.06
Just can't see any task under Gantt tab. Tried Chrome and Firefox.


there are two “left_ankle”

https://github.com/eherr/motion_preprocessing_tool/blob/772e793d129c0a160546755fc328611f9ab61b99/motion_analysis/gui/dialogs/skeleton_editor_dialog.py#L72
Seemingly it doesn't matter~

Thanks for reporting that. I fixed it in a new commit. Yes this list only affected the labels for a combobox in the GUI.


Errro - No such field 'toJson'

Trying out the toJson support as described - https://jactl.io/language-guide#json-support
java -cp jactl-repl-1.2.0.jar io.jactl.repl.Repl

> class Address { String street; String suburb; String state }
> class Employee { String name; int employeeId; Address homeAddress }
> def jim = new Employee('Jim Henderson', 1234, [street:'123 High St', suburb:'Downtown', state:'South Australia'])
> [name:'Jim Henderson', employeeId:1234, homeAddress:[street:'123 High St', suburb:'Downtown', state:'South Australia']]
[name:'Jim Henderson', employeeId:1234, homeAddress:[street:'123 High St', suburb:'Downtown', state:'South Australia']]
> jim.toJson()
No such field 'toJson' for type io.jactl.pkg.Employee @ line 1, column 5
jim.toJson()
    ^

Hi,
The GitHub documentation is always based on the latest version (not sure if
it is possible to have different versions of the online documentation) and
the toJson() function did not exist in version 1.2.0.
If you build the latest version of the code the function will work or wait
until version 1.3 is released in a few days time.
Cheers,
James
On Sun, Oct 8, 2023, 5:56 AM Varghese Cottagiri @.***>
wrote:

Trying out the toJson support as described -
https://jactl.io/language-guide#json-support
java -cp jactl-repl-1.2.0.jar io.jactl.repl.Repl

class Address { String street; String suburb; String state }
class Employee { String name; int employeeId; Address homeAddress }
def jim = new Employee('Jim Henderson', 1234, [street:'123 High St', suburb:'Downtown', state:'South Australia'])
[name:'Jim Henderson', employeeId:1234, homeAddress:[street:'123 High St', suburb:'Downtown', state:'South Australia']]
[name:'Jim Henderson', employeeId:1234, homeAddress:[street:'123 High St', suburb:'Downtown', state:'South Australia']]
jim.toJson()
No such field 'toJson' for type io.jactl.pkg.Employee @ line 1, column 5
jim.toJson()
^

—
Reply to this email directly, view it on GitHub
https://github.com/jaccomoc/jactl/issues/29, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVJ54C46KRVIFY6NAYHHBY3X6IP5PAVCNFSM6AAAAAA5XMNNAWVHI2DSMVQWIX3LMV43ASLTON2WKOZRHEZTCNRSHAZTQMQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Update slicer to 4.6.2,561385

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Thank you for the contribution. It was merged directly as d6da1a7be2ca37a53950ac7904ffb66b7facffef. Your contribution is still credited to you.


Refactor sci-o, tdp-finder and ccim models

Story
As a user and a developer I want all the mdoels to conform to best practises so they are as easy as possible to understand and use as templates.
Rationale
We have a set of best practises for model development but not all our models conform to them because they were created before our standards were specified.
Implementation details
Refactor each model, ensure all unit tests pass, check models run as expected from impls.
Priority
2/5
Scope
Will touch models in if-models repository and their README files
Size
2 days
What does "done" look like?
Model code refactored to conform to best practises
Unit tests pass with 100% coverage
READMEs consistent with current implementation
Does this require updaes to documentation or other materials??
Yes, model READMEs might need updating
What testing is required?
All unit tests passing with 100% coverage
Is this a known/expected update?
Expected - discussed among core devs at sprint planning

Closing as compelte


How do we pass payload to reducer?

Hello, first want to thanks so much for this lib! - faster and easier way do to stuff as we have it in Redux and Redux Toolkit.
Do we pass payload as the same way we do in React/Redux, where each reducer have state and action?
export const {
  actions: CounterActions,
  selectors: CounterSelectors,
  ...CounterFeature
} = createSlice({
  name: "authReducer",
  initialState,
  reducers: {
    login: (state, action) => {
      const user = new User(
        action.email,
        action.userId,
        action.token,
        action.expirationDate
      );

      state.authError = null;
      state.user = user;
      state.loading = false;
    },
    logout: (state) => {
      state.user = null;
    },
  },
});
``

Thank you for the kind words. The action should contain the payload but you need to annotate the action type explicitly with PayloadAction<TheTypeGoesHere> then you'd be able to access it in the reducer.
interface User {
    firstName: string;
    lastName: string;
}

export const {...} = createSlice({
    name: 'authReducer',
    initialState,
    reducers: {
        login: (state, action: PayloadAction<User>) {
             // action.firstName, action.lastName etc...
        }
    }
})

Thanks so much for the info, I will re-work some stuff this week, and I hope everything goes well.


Can we have the hotspot districts highlighted and have district time series

Based on the Home Ministry there are some inclusion and exclusion criteria which would help us to mark the hotspot districts with the available data. But we'd need district-wise timeseries to generate those values.
https://economictimes.indiatimes.com/news/politics-and-nation/govts-plan-to-contain-local-outbreak-is-yielding-results-lav-agarwal/articleshow/75159535.cms

I agree, the criteria is simple enough that the hotspots can be added based on the data automatically. We only need to compare the new reported cases in a district against the state's reports and/or calculate the doubling rate. To exclude,we need to check if no case has been reported in the last 28 days. All these data points are already available from the APIs
Although the data released by the govt could be different and would need to be checked manually.
Maybe we could have a graph with the option of changing which source to look at.
Your views? @sudevschiz @jeremyphilemon @shuklaayush

Are these classification points announced by the government, I'm unable to view the source at https://economictimes.indiatimes.com/news/politics-and-nation/govts-plan-to-contain-local-outbreak-is-yielding-results-lav-agarwal/articleshow/75159535.cms

I too am unable to find the source of those rules provided by economic times but I did find sort of guidelines released by govt to identify hotspots.
I suspect locking down a district is more nuanced than 4 simple rules. For example, if the number of cases rise from 1 to 2 (doubled in 4 days), is that still a hotspot?
We probably won't be able to identify all the rules that go into listing a district as a hotspot, but the list is of hotspots is available and can be updated by volunteers.
The rules would probably be helpful to make an educated guess whether the hotspot status should be added or removed based on data that this site currently uses.

Fixed via #1712


[PE-D][Tester B] Edit function does not work as specified in the UG

In the UG, the edit command is said to allow the editing of categories. However, when running the command, it throws an error message.

Steps to reproduce:

Ensure list is populated with at least 1 person that is a participant.
Run edit 1 c/staff
Error message shows

Labels: severity.Low type.FunctionalityBug
original: KohGuanZeh/ped#7

descriptive title: ✔
enough details: ✔
severity/type labels chosen are not too far off: ✔
non-confrontational tone: ✔
points out a potentially problematic behavior (or a good way to improve the product): ✔
Good report

Fixed this issue by updating ug.


HOPS-58-fix fix incorrectly modified audit event log

HOPS-58 introduced an audit event logging bug.

Can one of the admins verify this patch?


Decide on which file extensions to use

Related to #12 and #13.
We need to decide on a file extension for the source files that better matches the name of the compiler.

We will use "fc" as file extension.


Portainer logs "No change detected" every minute

Description
I'm using external endpoints via JSON. Every minute the portainer container logs (from logfile, not docker logs)
{"log":"2017/05/04 15:01:48 Endpoint synchronization job started.\n","stream":"stderr","time":"2017-05-04T15:01:48.000684593Z"}
{"log":"2017/05/04 15:01:48 No change detected for a stored endpoint. [name: XXX1] [url: tcp://XXX1:2376]\n","stream":"stderr","time":"2017-05-04T15:01:48.000778208Z"}
{"log":"2017/05/04 15:01:48 No change detected for a stored endpoint. [name: XXX2] [url: tcp://XXX2:2376]\n","stream":"stderr","time":"2017-05-04T15:01:48.000784618Z"}
{"log":"2017/05/04 15:01:48 No change detected for a stored endpoint. [name: XXX3] [url: tcp://XXX3:2376]\n","stream":"stderr","time":"2017-05-04T15:01:48.000806837Z"}
I would assume that this is not an error, but still it's logged as one. This shouldn't be the case.
Steps to reproduce the issue:

Use portainer with external endpoints
Check logs

Technical details:

Portainer version: 1.12.4
Portainer Docker image tag (latest/arm/windows...): 1.12.4
Target Docker version (the host/cluster you manage): 17.04.0-ce
Platform (windows/linux): Linux

docker-compose.yml:
version: '2'
services:
  portainer:
    container_name: portainer
    command: "--external-endpoints /endpoints.json"
    restart: always
    image: portainer/portainer:1.12.4
    ports:
      - "9000:9000"
    environment:
      http_proxy: "http://proxy.mycompany.com:3128"
      no_proxy: ".mycompany.com"
    volumes:
      - /var/local/portainer/data:/data
      - /var/local/portainer/endpoints.json:/endpoints.json
      - /var/local/portainer/certs:/certs
      - /var/run/docker.sock:/var/run/docker.sock

Yeah same here
Maybe this log should be print only if error occured, or in debug mode

Agree, the output is quite verbose. We need to change this, probably only log when a change is detected.


Simple menu is not animated correctly

When the user clicks on a ListPreference with the menu mode set to simple menu, it shows with an alpha animation which differs from the framework animation (kind of zoom/scale).

Hello,
This is intended behavior.

How PopupWindow behaves on different platforms
On Android 6 I've observed that the popup fades in AND expands from the anchor view. Android N will even allow to customize this "epicenter". This would be the optimal behavior.
Android 5.x uses just fade in/out animation with no scaling or translation.
Android 4 expands either from top or bottom of anchor view. This is unwanted behavior since the menu is optimally presented with the selected item over the anchor view. The popup window is never exclusively above or under the anchor view which means the default animation looks out of place and quite frankly ugly.
In version 0.5.11 I had to do some pretty ugly computing to achieve next to perfect positioning so the concept of above or below is thrown out of the window and cannot be relied upon anyway.
I just tried these private Android animations with promising names
    <item name="android:windowEnterAnimation">@*android:anim/grow_fade_in_center</item>
    <item name="android:windowExitAnimation">@*android:anim/shrink_fade_out_center</item>

but the opening animaation played twice because of the aforementioned custom positioning (to satisfy curiosity on Android 5 it produced straight up mess).
If this really bugs you my suggestion is replacing the default animation everywhere since we're already going for that Material Design.

How PopupWIndow works
If you don't specify animation resource on a popup window it will use one of these (this is used by Android 4):
<style name="Animation.DropDownDown">
    <item name="windowEnterAnimation">@anim/grow_fade_in</item>
    <item name="windowExitAnimation">@anim/shrink_fade_out</item>
</style>

<style name="Animation.DropDownUp">
    <item name="windowEnterAnimation">@anim/grow_fade_in_from_bottom</item>
    <item name="windowExitAnimation">@anim/shrink_fade_out_from_bottom</item>
</style>

Since Android 5.x this one is specified as the default:
<style name="Animation.Material.Popup">
    <item name="windowEnterAnimation">@anim/popup_enter_material</item>
    <item name="windowExitAnimation">@anim/popup_exit_material</item>
</style>

That's just fade in, fade out. Android 6 added epicenter. Android N made it customizable.

Hi again, this is mended in v0.6.2. It fades and grows/shrinks on Android 2 and 4 and just fades on Android 5 and 6 so it's consistent with AOSP. It may not however be consistent with e.g. custom Samsung firmware on Android 2/4 so if you need to change this behavior, override
<style name="Animation.Asp.Popup" parent="..."> ... </style>


SDAP-212 Update EDGE to Python 3.7

Bulk result of running Python's 2to3-3.7 tooling on the codebase.
This issue addresses https://issues.apache.org/jira/browse/SDAP-212

Also, it occurred to me that the build system for EDGE doesn't make much sense...
I'm thinking about removing the  pom.xml and then just moving everything under main to the top level.
Everything under site can be moved to a wiki.
Any thoughts?

The suggested changes make sense. Thanks Lewis.

Also, it occurred to me that the build system for EDGE doesn't make much sense...
I'm thinking about removing the pom.xml and then just moving everything under main to the top level.
Everything under site can be moved to a wiki.
Any thoughts?

@lewismc I think you're probably right. I'd move this discussion over to the mailing list or open a new JIRA for it as I think input from Nga would be appreciated (I'm not sure if anything under site is relevant anymore).

@ntquach @fgreg thanks for input. The new ticket for the directory structure is created as https://issues.apache.org/jira/browse/SDAP-214


feat: support governance tx history

Close: #1550

Summary by CodeRabbit
Release Notes

New Features

Introduced a "Governance" tab in the transaction history for better navigation.
Enhanced transaction detail view to display additional information such as vote types, conviction, and delegatee details.

Improvements

Improved layout and scrolling capabilities for transaction details.
Updated rendering logic to include governance transaction data, enhancing user experience during data fetching.

Bug Fixes

Simplified success status message rendering in transaction history.

Documentation

Added new utility functions for fetching governance history with robust error handling.

These changes aim to provide users with a more comprehensive and user-friendly experience when managing and viewing transaction histories.

Fixed


Need a comparison with other C JSON libraries

There are several C libraries for JSON parsing which are relatively or very popular, even here on GitHub (e.g. json-c, cJSON, oj). It would help if you could post a comparison of the foci, strengths and weaknesses of these other libraries vis-a-vis jansson. It could be a Wiki page or a README section.

While I'm also interested for that - @eyalroz I wonder: Have you checked in the referenced projects about such feature-comparison and/or created the same issue there? Did you create a detailed comparison yourself?
My personal comparison list so far:

cJSON: single-file implementation (.c and .h) - can be very easily integrated by just compiling into the module you want it to
json-c: available in many package managers, which has its own benefit (if you depend on software the user must install manually that's often a downside)
jannson - don't know yet, just starting to read the docs
oj - did not heard about that before, a short check shows it target is Ruby, while the others target "C", so I would not take oj into the comparision


new request: add picture from clipboard

Hello,
Thank you for developing this app. It is really useful.
If you do not mind, I raise a request to add new feature.
Could you please, add a possibility to copy a picture to a docx document from clipboard?
Paste from paperclip module like:
doc.add_picture(paperclip.paste(),width=doc.shared.Cm(10), height=doc.shared.Cm(15))
I really appreciate your solution/development.
Thank you,
Lac

A feature like this would not be appropriate to python-docx. The reason being it would represent an integration with the operating system (OS X, Linux, Windows), which is more appropriate for the application developer to make decisions about. If there is a suitable Python clipboard library available I'm sure you can readily integrate the two.


Fixed issue#52

Pull Request Checklist
Before submitting a pull request, please make sure that your changes meet the following criteria:

[Done] Ensure that your code adheres to our coding conventions and is properly formatted.
[Done] Test your changes extensively to ensure that they do not introduce any new bugs.
[Done] Confirm that you agree to the code of conduct.

Related Issues
If this pull request is related to any issues, please list them here.
Closes #52
Screenshots
If your changes include any visual elements, please provide screenshots or other visual aids to help reviewers understand your changes.
Additional Notes
If there is anything else you would like to note about your changes or the review process, please add it here.

Hello @ArshM17 , Thanks for the PR.
A couple of things,

PR should have some meaningful title
Instead of putting 'donein the checklist, you can mark' x' as done. Example[x] Point1`

Okay, got it, will keep that in mind. I'm a beginner actually and this is the first time I encountered a pull request with a template. The changes made are correct though right? Or am I missing something?

No worries @ArshM17.

@all-contributors please add @ArshM17 for Code


Add option to consolidate cpu counters for smaller screens

Close pull request so that I can add documentation to the manpage and re-request.


fix preview window bug post-activity destruction

renderdoccmd is separate from its main activity during replay : if the nativewindow is backgrounded, the activity can be stopped (and we'll receive a APP_CMD_DESTROY in
void handle_cmd(android_app *app, int32_t cmd)
)
although renderdoccmd still runs and gives all the replay data to the PC.
When that happens, DisplayRemoteServerPreview cannot read from android_state->window as android_state is undefined post-CMD_DESTROY. Reading from it, and calling then ANativeWindow_GetWidth() results in a SIGBUS

Yeah here main is only the activity's main, not the process-main (renderdoccmd is still very alive and replaying the capture, although its window is now backgrounded so the activity died).


Add the Security Policy

Purpose
This is to add the new updated security policy as per the latest WSO2 requirements.
Fixes https://github.com/ballerina-platform/ballerina-dev-website/issues/133
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #20539 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20539   +/-   ##
=======================================
  Coverage   15.21%   15.21%
=======================================
  Files          50       50
  Lines        1341     1341
  Branches      208      208
=======================================
  Hits          204      204
  Misses       1121     1121
  Partials       16       16

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc16acf...7d289e7. Read the comment docs.

@praneesha : Please refer the suggestions in [1], incoroporate necessary fixes for this file also.
[1] https://github.com/ballerina-platform/ballerina-dev-website/pull/177


Dataset changes but line chart not rerender reflect to new dataset change?

I give more informations

version 1.4.18
I use dataset for secondary lines
Furthernore, if I want to visible/invisible lines in chart. I modify a line dataset with startIndex and endIndex 0. After changing dataset, chart doesn’t rerender for new change

Hi @dumihi313 👋
Instead of updating the dataSet with startIndex and endIndex 0, you can delete the set from the dataSet using splice or slice.

If I replace the old dataset with a new dataset ( splice/slice), after that can chart rerender?
Now i force chart line rerender by update “key” prop of chart

Yes @dumihi313
Replacing with a new dataSet rerenders the chart

Sorry, Replacing with a new dataSet does not make chart rerender correctly to display new changes from a dataset. Could you review this even I use updated key prop to make chart rerender ?

https://github.com/user-attachments/assets/59778f82-7ec1-4124-9357-c5d5f58aa15e
I tried to remove one dataset first, then without updating key prop (force rerender), the chart rerendered but rerendered incorrectly with a lost last line and wrong color attributes for each line.
To hide a line, you can try updating the color of the line to transparent and you can hide its data points by setting hideDataPoints: true or setting dataPointsColor: 'transparent' in that set.
Let me know if it doesn't help.

https://github.com/user-attachments/assets/d838e69d-4d9e-4a26-a276-f7cff683d193
Yes, it is worked without set key prop (force rerender)
useEffect(() => {
if (
isHideMaxTemp === true &&
renderFilterChartState !== RenderFilterChartState.HIDE_MAX_TEMP
) {
const clone = dataSet ? dataSet?.map(a => Object.assign({}, a)) : []
if (clone.length > 0) {
clone[0].hideDataPoints = true //do filter to hide
clone[0].color = 'transparent'//do filter to hide
      setDataSet(clone)
      setRenderFilterChartState(RenderFilterChartState.HIDE_MAX_TEMP)
    }
  } else if (isHideMaxTemp === false) {
    const savedResult = savedDataSet.current?.map(a => Object.assign({}, a)) // saved Dataset with non filter
    setDataSet(savedResult)// restore dataset

    setRenderFilterChartState(RenderFilterChartState.SHOW_MAX_TEMP)
  }
}, [isHideMaxTemp])


Sundry improvements to permissions docs

Issue #, if available:
Description of changes:
Fixes a handful of typos and one role mis-assignment in the govc script.
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherry-pick release-0.12


Add conformance tests for etags in Bulk operations

Fixes #2841 by expanding the conformance tests:

Adds conformance tests for etags in BulkSet and BulkDelete operations
Expands tests for etags and Bulk* operations
Changes state store conformance tests to require all components to have Get, Set, Delete, BulkGet, BulkSet, BulkDelete. Before components had to opt into those conformance tests, but since all components MUST implement those methods, it made no sense to do that and it added risks that some components were missing tests (it was happening)
Standardize how BulkGet works across components. Before, most state stores returned missing keys in the BulkGet response with empty values, but some omitted the keys that didn't exist. This has been standardized to always return all requested keys, with those that don't exist having empty values, so it's consistent across components and with the Get() method. Conformance tests have been updated to enforce this behavior.

In the process, a bunch of bugs have been fixed to ensure components pass the conformance tests.

/ok-to-test

/ok-to-test

/ok-to-test

Ready for review now

/ok-to-test

/ok-to-test


Add tags in advanced_dhcp_server role

Hello,
Please add this tags in advanced_dhcp_server role.
These tags are useful for running playbooks.
Thank you.

Dear @hmeAtos
Thank you for this PR.


DAV Institute of Engineering & Technology added

University official website: http://www.davietjal.org/
IT related course:

http://www.davietjal.org/departments/ug/information-technology/
http://www.davietjal.org/departments/post-graduate-departments/cse-m-tech/
http://www.davietjal.org/departments/post-graduate-departments/master-of-computer-applications/

University recognizes the domain: http://www.davietjal.org/

@AvinashJaura Pull request merged. Thank you!


How to import parity scale codec

I've imported
use parity_scale_codec::{Encode, Decode};

and still
#[derive(Encode, Decode, Default, PartialEq, Eq)]

gives me the following errors
cannot find derive macro `Encode` in this scope

cannot find derive macro `Decode` in this scope

here's my Cargo.toml
[package]
authors = ['Substrate DevHub <https://github.com/substrate-developer-hub>']
description = 'FRAME pallet template'
edition = '2018'
homepage = 'https://substrate.io'
license = 'Unlicense'
name = 'pallet-template'
repository = 'https://github.com/substrate-developer-hub/substrate-node-template/'
version = '2.0.0-rc2'

[dependencies.codec]
default-features = false
features = ['derive']
package = 'parity-scale-codec'
version = '1.3.0'

[dependencies.frame-support]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'v2.0.0-rc2'
version = '2.0.0-rc2'

[dependencies.parity-scale-codec]
default-features = false
git = 'https://github.com/paritytech/parity-scale-codec.git'
version = '1.3.0'

[dependencies.frame-system]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'v2.0.0-rc2'
version = '2.0.0-rc2'

[dev-dependencies.sp-core]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'v2.0.0-rc2'
version = '2.0.0-rc2'

[dev-dependencies.sp-io]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'v2.0.0-rc2'
version = '2.0.0-rc2'

[dev-dependencies.sp-runtime]
default-features = false
git = 'https://github.com/paritytech/substrate.git'
tag = 'v2.0.0-rc2'
version = '2.0.0-rc2'

[dependencies.sp-std]
git = 'https://github.com/paritytech/substrate.git'
default-features = false
tag = 'v2.0.0-rc2'

[features]
default = ['std']
std = [
    'codec/std',
    'frame-support/std',
    'frame-system/std',
    'parity-scale-codec/std',
    'sp-std/std'
]

you need to include the feature derive:
[dependencies.parity-scale-codec]
default-features = false
git = 'https://github.com/paritytech/parity-scale-codec.git'
features = ["derive"]
version = '1.3.0'


Distribute binary builds

It would be nice to distribute binary builds (wheels) on common platforms, to shorten pip install time. This requires a bdist_wheel step.
According to http://python-packaging-user-guide.readthedocs.org/en/latest/distributing/#wheels platform specific wheels are only supported on OSX and Windows, not Linux.

Or even better, conda packages :)


Commerical Nuitka

I looked at the commerical website, which showcase the features and the pricing.
It seems that the normal commerical version without commercial extra support cost 250€/year.
This is a bit expencive for just 1 year if you look at free obfuscators like pyarmor (which are probably not as good as nuitka)
I'm unsure if you pay access for 1 year and after that year has passed you lose access or if you technically buy lifetime access but new versions & support stops after that 1 year.
Would be nice if anyone can answer the question stated above as soon as possible!
Regards,
FuckingToasters.

You loose access to the updates after one year, e.g. a Python 3.11 support wouldn't be there. Nuitka is not a code obfuscucator, but a compiler, so the comparison to pyarmor is moot. Hiding your code is different from not shipping your code.
If 250/yr is expensive, you probably need to consider if you have anything of value to protect.


fix(curriculum): Font Awesome icons wording update

Checklist:

[x] I have read and followed the contribution guidelines.
[x] I have read and followed the how to open a pull request guide.
[x] My pull request targets the main branch of freeCodeCamp.
[x] I have tested these changes either locally on my machine, or GitPod.

Closes #50471

Screenshots

Before:

After:

Congrats on your first pull request (PR)! 🎉
Thank you for your contribution to the page! 👍
We are happy to accept these changes and look forward to future contributions. 📝

So happy to contribute 🥳
Looking forward to an exciting year of code 🥳🥰🤩


configure: error: cannot run C compiled programs.

I have installed all the dependencies ，when I executed the "./build-infer.sh"，it infos the error：
checking whether we are cross compiling... configure: error: in /Users/tingxuanqhm/libtool/infer': configure: error: cannot run C compiled programs. If you meant to cross compile, use --host'.
See `config.log' for more details

I have resolved the problem.Close the issue.

@qiuhm  How to resolve this?

It seemed I missed xcode-select --install


Better Name

SQLite Browser is taken.
Alternatives:

SQlite Browser.Net
SQLIte Dev Tools
In App Data base browser
SQLite Tools for Xamarin
In App Dev Tools
.Net SQlite Tools
Sqlite Tool .Net

SQLite App Dev Tools

I've chosen SQLiteAppTools and I hope to not rename everything again


Wrapping lines in the middle of text inserts /// in the wrong place.

If you hit Enter while in the middle of a sentence, it injects the '///' in the wrong place.

Using version 0.0.11

This bug was reproduced by following settings.

.vscode/setting.json

{
    "docomment.activateOnEnter": false,
    "editor.insertSpaces": false,
    "editor.tabSize": 4,
    "editor.detectIndentation": true
}


Sqlite linking errors with Akavache and SQLCipher

I posted on Stack Overflow about the errors I am receiving linking iOS with SQLCipher and Akavache.
If you could kindly explain how to bridge the gap between Akavache and SQLCipher I would appreciate it very much.  You spoke about needing an implementation of Batteries_V2.Init() which talks to the SQLCipher encrypted database.  Could you give me a little more insight into how this is done?
Also, as a bonus, why is the linking only an issue on iOS?  Android didn't seem to care.

Android uses dynamic linking, whereas iOS linking is static.  Until iOS 8, iOS did not support any dynamic linking for app libraries. Nowadays they do, but I don't think it's common.
Anyway...
You already had sqlcipher in your app. Where did you get it? From Zetetic?

Yes.  I got it directly from the Zetetic, I was using it to secure our azure mobile app SQLite database.  We added Akavache to the mix and the problems began.

Okay. What we need to create is a bundle that connects sqlitepcl.raw to the official sqlcipher builds from zetetic.  I can do this, but I need some details such as the name of the native library. Can you describe what the package from zetetic is like, perhaps send me a list of its contents? If it's easier, I can contact them directly.

Everything sits under a root SqlCipher folder.  Below are the contents.  Anything else?

android

SQLite.Net.Platform.SQLCipher.XamarinAndroid.dll

ios

SQLite.Net.Platform.SQLCipher.XamarinIOS.dll

ios unified

SQLite.Net.Platform.SQLCipher.XamarinIOS.Unified.dll

Ah, yes, of course.  That's what it would look like.  :-)
I'm may just have to contact Zetetic.  What I need is the names and eventual locations of the native libraries, which are embedded inside those assemblies, using a Xamarin-specific mechanism.  It's all weird.
I could probably figure out more if you post or send me the verbose output from an iOS build.  And a recursive directory listing of the build output directory of your android app.

I'll collect that information for you in the morning (its almost midnight here).  Thanks for the quick replies, and for looking into this.

I'm may just have to contact Zetetic. What I need is the names and eventual locations of the native libraries, which are embedded inside those assemblies, using a Xamarin-specific mechanism. It's all weird.

Both SQLite.Net.Platform.SQLCipher.XamarinIOS.dll and SQLite.Net.Platform.SQLCipher.XamarinIOS.Unified.dll use __Internal as the DllImport name, whilst SQLite.Net.Platform.SQLCipher.XamarinAndroid.dll uses sqlcipher.

@ericsink I've got logs ready to ship to you that I'd rather not make public.  What is the best way to provide you this information?

My email is<EMAIL_ADDRESS>

@developernotes Thanks for the info.  I think I'll just implement a wrapper which simply uses those names and see if it works.  :-)

@ericsink
No problem, glad to help out. Please let us know you're results!

I am preparing a new release, and I am wondering if I should include the work we've done on this issue.
In a nutshell, I have implemented a new "bundle", which doesn't actually contain any sqlite3 or sqlcipher builds, but rather, it references (what it assumes to be) the official sqlcipher builds from Zetetic.
I haven't done any actual testing of this bundle.  @RLittlesII Have you been able to verify that it seems to work for you?  I thought I remember you saying yes, but I can't find that note, so perhaps I mis-remembered.
@developernotes The base name of this package is currently bundle_zetetic".  I wish I could use the bundle_sqlciphername, but that would break compatibility.  So I need a different name, one which matches the intended purpose of this package, which is to reference the official sqlcipher builds from Zetetic.  Anyway, is the currentbundle_zetetic` base name okay with you guys?  Or would you like to suggest another name?

@ericsink You're correct.  I verified that the bundle doesn't break anything without Akavache included.  I am going to attempt to verify this evening that adding Akavache to iOS with the bundle_zetetic doesn't break and let you know.

More than just avoiding the symptoms you original encountered, I'm hoping you can verify that SQLitePCL.raw with bundle_zetetic is in fact talking to the Zetetic SQLCipher library in your app.

Pardon my ignorance.  How would I verify that exactly?  My thought would be there should be a connection made to the SQLCipher database in the output logs that I can verify?

One way is to execute the sqlite_version() function and compare the results.  If you execute this SQLite function through SQLitePCL.raw and through (some other mechanism you are probably already using), and if they match, then it is probable they are talking to the same instance of the native SQLite library.
For the SQLite side, the code would look something like this:
using System;
using SQLitePCL;
using SQLitePCL.Ugly;
...
        using (var db = ugly.open(":memory:"))
        {
            var s = db.query_scalar<string>("SELECT sqlite_version()");
            Console.WriteLine("{0}", s);
        }

Which I copied-and-pasted from another app, and I just noticed this this code would require you to temporarily add the package SQLitePCLRaw.ugly, but you get the general idea.

Hi @ericsink, @RLittlesII,

Anyway, is the current bundle_zetetic base name okay with you guys?

That works for us!

var s = db.query_scalar<string>("SELECT sqlite_version()");

You might consider executing something like the following instead:
var s = db.query_scalar<string>("PRAGMA cipher_version;");
The PRAGMA cipher_version; command will return the SQLCipher library version which differs from the value returned via sqlite_version(). PRAGMA cipher_version will only be available within SQLCipher-based implementations, whereas sqlite_version() will exist within both SQLite, and SQLCipher.

@developernotes I will give these a try, and let you know my findings.  Thanks!

@ericsink @developernotes
The following lines of code produced the below output.

Code

var cipherVersion = this.connection.ExecuteScalar<string>("PRAGMA cipher_version;");
Debug.WriteLine("SQL Cipher Version: {0}", cipherVersion);

Output
SQL Cipher Version: 3.4.1

If that API is going through SQLitePCL.raw, then that's good.  I can't tell from the context what API you are calling.

It uses SQLiteConnection from SQLite.NET.  The included packages are SQLitePCLRaw.core and SQLitePCLRaw.bundle_e_sqlite3, both version 1.1.7.  So my assumption is it is going through SQLitePCLRaw at the lowest level.
I tried to go down to the platform level as I instantiate the new SQLiteConnection(new SQLitePlatformIOS(SQL_CIPHER_KEY), fileName,true), but it crashed my application.
So the prior code is done in my PCL directly after the connection is returned.
Thoughts?

Sounds like it's working.  Thanks.

Thank You for all the help!

bundle_zetetic is part of version 1.1.8, which has been pushed to nuget.org.  This bundle has had only minimal testing, but I will be looking to address any problems quickly.


Check changelog up to date

(This PR includes commits that are part of #24 - please don't review those here, and don't merge this until that is merged.)
Add some checks that CHANGELOG has lines matching the current package version from Cargo.toml.

LGTM.  Thanks!

@kw217 - any objection to me just merging this?

D'oh, sorry - merging now.


Cover unit test for use case SignOutUseCase.kt

Currently there is no testing for use case. It would be nice if we can set up one and cover them

I did some in app/src/test/java/com/hieuwu/groceriesstore/domain/usecases/impl/GetProfileUseCaseImplTest.kt, you can start writing test following the convention.


Importing InVals do not show up in cases

Hi,
I'm trying to run an analysis on a set of input and output data (.csv-files). I'm probably overlooking something, but when I try to do a multi_plot the InVar somehow have no distribution. When checking the cases, I found that they had no InVars and only OutVars.
How do I properly load InVars if I don't want to run an actual simulation? I'm working in Jupyter Notebook, see snippet below.
I've attached the csv files I use:
test_invars.csv
test_outvars.csv
import monaco as mc

def template_preprocess(case):

    # This is where I think I'm doing something wrong

    variables = {
        'In1' : case.invals['Var1'].val,
        'In2' : case.invals['Var2'].val,
        'In3' : case.invals['Var3'].val,
        'In4' : case.invals['Var4'].val,
        'In5' : case.invals['Var5'].val,
        'In6' : case.invals['Var6'].val,
        'In7' : case.invals['Var7'].val,
        'In8' : case.invals['Var8'].val,
        'In9' : case.invals['Var9'].val,
        'In10' : case.invals['Var10'].val,
        'In11' : case.invals['Var11'].val,
        'In12' : case.invals['Var12'].val,
        'In13' : case.invals['Var13'].val,
        'In14' : case.invals['Var14'].val,
        'In15' : case.invals['Var15'].val,
        'In16' : case.invals['Var16'].val,
        'In17' : case.invals['Var17'].val,
        'In18' : case.invals['Var18'].val,
        'In19' : case.invals['Var19'].val,
        'In20' : case.invals['Var20'].val,
        'In21' : case.invals['Var21'].val,
        'In22' : case.invals['Var22'].val,
        'In23' : case.invals['Var23'].val,
        'In24' : case.invals['Var24'].val
    }

    return variables

def template_run(variables):

    # We do nothing with the input so we just return the variables

    return variables

def template_postprocess(case, variables):

    # Don't actually have any output so simply add OutVals only

    case.addOutVal(name='Out1', val=case.outvals['Out1'].val)
    case.addOutVal(name='Out2', val=case.outvals['Out2'].val)
    case.addOutVal(name='Out3', val=case.outvals['Out3'].val)

fcns = {'preprocess' : template_preprocess,
        'run'        : template_run,
        'postprocess': template_postprocess}

ndraws = 128
sim = mc.Sim(name='Test', ndraws=ndraws, fcns=fcns,
             firstcaseismedian=False,
             singlethreaded=True,
             savecasedata=False, savesimdata=False,
             verbose=True, debug=False)

sim.importInVars("test_invars.csv")
sim.importOutVars("test_outvars.csv")

plot_invar = sim.invars['Var18']
plot_outvar = sim.outvars['Out1']
fig, axs = mc.multi_plot([plot_invar, plot_outvar], rug_plot=True, cov_plot=True)

The plot I get is below. The invars exist because they can be plotted.

Thanks for reporting @MariovdBerg! I can confirm this was a bug, and I just published a hotfix release to fix it. If you do a pip install -U monaco to update to v0.11.7, this should be working now.

Please note that there will be no analytical distribution plotted with it, since it was imported from file. You could probably add that in by modifying var.dist and var.distkwargs parameters directly if you wanted to, but I haven't tested that workflow.

Please note that there will be no analytical input distribution plotted with it, since it was imported from file. You could probably add that in by modifying var.dist and var.distkwargs parameters directly if you wanted to, but I haven't tested that workflow.

Plots are working! Thank you for the quick hotfix. I have no need for a distribution plot :) but I might try it anyway.


MINOR: CI: added doctest

Describe your changes:
Fixes

I worked on ... because ...

Type of change:

[ ] Bug fix
[ ] Improvement
[ ] New feature
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

What would be the benefit (vs using unit test)

@TeddyCr doctest execution in CI

The examples in the docs are tested so you get 2:1 documentation and testing. Its very useful for util functions with very defined scopes.

Widely used in python ecosystem (for example pandas)

@sushi30 adding an example to the doc is a good use case. I think we should keep 1 testing strategy though so we can easily align as a team.
cc @pmbrull if you have any thoughts.

+1 on keeping it simple. Agree that we have room for improvement on the docstrings, but we should make it simpler for us to write the tests. Having too many options at this point will add too much noise both for us and the community


Add model Phi3-Vision

Phi3 Vision weights are opensourced in hugging face
https://huggingface.co/microsoft/Phi-3-vision-128k-instruct
Hoping to see it in ollama models.

Thanks @rick-github merging with https://github.com/ollama/ollama/issues/6449


The setting of the system font in WeChat is too large, resulting in disordered screenshot layout

[ ] You are using the latest version
[ ] You are testing using the non-minified version of html2canvas and checked any potential issues reported in the console

Bug reports:
Some users have set a large font in WeChat and used our gadget in the WeChat built-in browser. When the version of html2canvas is v1.0.0-alpha.12, it is just a typographical mess; when the version of html2canvas is In 1.0.0-rc.5, the information is severely lost. Don't know how to solve it, can you help me? Thank you!
有用户在微信中设置了大号的字体，并在微信内置浏览器中使用了我们的小工具，当html2canvas的版本是v1.0.0-alpha.12时仅仅是文字排版错乱；当html2canvas的版本是1.0.0-rc.5 版本时，信息丢失严重。不知道怎么解决，你能帮助我吗？谢谢！
images:

Specifications:

html2canvas version tested with:1.0.0-rc.5
Browser & version:WeChat
Operating system:Android

你有解决吗，我现在别的浏览器也遇到这个问题

我也遇到了这个场景


HTML content using ajax

Hello! First post here, I was reading the docs at http://iamceege.github.io/tooltipster/ and tried the plugin in my project loading the content using ajax. But the returned content is a HTML and the tooltip is showing the code not the html rendered.
origin.tooltipster('content', data).data('ajax', 'cached');

Should I set some option to render the html content in the tooltip?
Thanks!

Hello @cassianotartari ,
I have faced same issue. In my case I'm storing the html structure in an variable & that varaiable I'm passing to the content. When I console I'm able to see the structure, but I doesn't show the data within it.

1st screenshot where I want so show the data on hover :

2nd screenshot is regarding the console in which I have given HTML structure :

Tooltip code :


Add readTimeout To Subscribe

To allow setting the deadline for each ReadMessage of the websocket, I have added a readTimeout time.Duration variable to the function Subscribe. If readTimeout is 0, the socket will not timeout.
There are other options, like having the variable in the WebSocketService struct and have a SetTimeout function. There is also the possibility of having two Subscribe function, one with timeout, other without.

The only concern is that it will break backward compatibility, but I don't think polluting the interface with an additional method is a good idea, so it's probably OK. @prdn any thoughts?

I'm in favour of adding a SetReadTimeout(t time.Duration) method.

@knarz while I have no problem either way, just some considerations.
Similar interfaces implement SetReadDeadline (t time.Time), not setting the timeout and not taking a time.Duration but a time.Time. Also, the readTimeout in this case applies only to the public websocket and not to the private one, so the function should be SetPublicReadTimeout, otherwise it would trick people into believing the timeout applies to all the reads.
But as I said, I have no problem either way, the three ways work for me.

putting into the 'review/qa' pipeline for now.  seems there's some questions from the community regarding the pr, but also there's conflicts.  will work with bitfinex with questions and merging.
thank you.


Loosen peer dependency on react-intl to allow using v6

Prevents a warning when upgrading to TypeScript v5.

Only breaking change is related to Vue, so I think we're fine:

@formatjs/cli: we push @vue/compiler-core out to peerDependencies so if u use vue u should pull this in manuallywip on packaging cli.

https://github.com/formatjs/formatjs/blob/main/packages/react-intl/CHANGELOG.md#breaking-changes


Test Cabinet api

Test BE

[x] parent of #1862 Sign Up Step 1 test cases, test cases
[x] parent of #1798 Sign In with Email test cases
[x] parent of #1944 Sign In with DS - test cases
[x] parent of #1898 Update MPI test cases
[x] parent of #1918 Get personal info test cases
[x] parent of #1917 Get personal details test_cases
[x] parent of #1892 Search Clinic/Doctor test cases
[x] parent of #1909 Create declaration requests test cases
[x] parent of #1925 Terminate declaration test cases
[ ] parent of #1920 Get declaration details test cases
[x] parent of #1919 Get declarations list test cases
[x] parent of #2347 Approve declaration request online test cases
[ ] parent of #2358 Get Declaration Requests list via Cabinet
[ ] parent of #2359 Get Declaration Requests Details via Cabinet

Test FE

[ ] parent of #3 Sign Up Step 1 test cases, test cases
[ ] parent of #4 Sign In with Email - test cases
[x] parent of #5 Sign In with DS test cases
[ ] parent of #6 Cabinet Sign In FE
[ ] parent of #7 Search Clinic/Doctor test cases
[ ] parent of #8 Update MPI test cases
[ ] parent of #8 Get personal details test_cases
[ ] parent of #10 Cabinet Home Page
[ ] parent of #11 Create declaration requests test cases
[ ] parent of #13 Terminate declaration test cases
[ ] parent of #12 Get declarations list test cases
[ ] parent of #9 View/Update 2FA via Cabinet
[ ] Reset psw through Cabinet parent of #2362
[ ] Change 2FA via Cabinet parent of #1926

[ ] Reset psw through Cabinet #2362
[ ] Change 2FA via Cabinet #1926

[ ] Changes on Sign-up


Bump go-sqlite3 version in go.mod

This change bumps go-sqlite3 version in go.mod. Note that go-sqlite3 is actually at v1 version, the v2 is an accident as written in README.

Latest stable version is v1.14 or later, not v2.
NOTE: The increase to v2 was an accident. There were no major changes or
features.

This change fixes https://github.com/mattn/go-sqlite3/issues/822
As a side effect, we also upgrade gin-contrib/sessions to the latest commit for https://github.com/gin-contrib/sessions/pull/187 There were no major changes since v0.0.5 release aside from minor dependency version bumps.
https://github.com/gin-contrib/sessions/compare/v0.0.5...189b96f7cac25c37d61aa8b4aa95e79864dd78da

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@LordRalex, gentle ping, can you take a look at this please?

Not sure why the bumps for sqlite are needed? That error seems just like a dev warning, and doesn't affect anything in production?
Not sure why also for go-session a bump is needed.

Not sure why the bumps for sqlite are needed? […], and doesn't affect anything in production?

SQLite3 version currently used in PufferPanel is severely outdated, and https://github.com/mattn/go-sqlite3 documentation explicitly states that v2 tags are an accident and shouldn’t be used.
Theoretically, it shouldn’t affect anything in production, but that’s assuming that SQLite3 usage in PufferPanel is not susceptible to issues solved in newer SQLite3 releases. It’s possible to skim through changes in newer versions and assess whether fixed issues/bugs/vulnerabilities are relevant to PufferPanel, but given that SQLite3 releases are backwards (and usually forward) compatible, I don’t think it’s worth sticking to the old version.

That error seems just like a dev warning, […]

While it technically is a false positive from C compiler, go build fails without workaround mentioned in https://github.com/mattn/go-sqlite3/issues/822#issuecomment-653815573.

Not sure why also for go-session a bump is needed.

The bump for https://github.com/gin-contrib/sessions is necessary since the latest tagged release depends on go-sqlite3 v2 tag. This was fixed in https://github.com/gin-contrib/sessions/commit/9d780ae7d70a350e0be1c2312065b99ea933bdb2. Unfortunately, there are not tags with this commit. However, there are no changes since the tagged release aside from minor dependency version bumps from dependabot, see https://github.com/gin-contrib/sessions/compare/v0.0.5...189b96f7cac25c37d61aa8b4aa95e79864dd78da, so the bump should be safe.

That error seems just like a dev warning, […]

While it technically is a false positive from C compiler, go build fails (and the error cause is not obvious) without workaround mentioned in mattn/go-sqlite3#822 (comment).

 If go build is failing, it is failing for a different reason.
Our entire build pipeline uses go build, and it never has failed because of that issue.
That said, I don't want to just update one dep really, and v3 is where I'd prefer such a large dep upgrade.


it‘s no effect

befor use this plugin

after

the .jpg file didn't compressed at all.

this is my  config

Also, only png and webp are currently supported for lossy compression


Add a Korean l10n owner to OWNERS_ALIASES

This PR updates OWNERS_ALIASES
to add @ysyukr to sig-docs-ko-owners. (Korean l10n team owner)
@ysyukr is qulified to be an approver according to the following requirements
Reviewer of the codebase for at least 3 months: 4 Jan, 2020
Primary reviewer for at least 10 substantial PRs to the codebase
is:pr assignee:ysyukr
Reviewed or merged at least 30 PRs to the codebase
is:pr assignee:ysyukr
is:merged author:ysyukr
Nominated by a subproject owner
/cc @kubernetes/sig-docs-ko-owners
/assign @zacharysarah @jimangel
Thank you !!

/cc @kubernetes/sig-docs-ko-owners

/cc @kubernetes/sig-docs-ko-owners

Welcome with open arms! He has been doing all the hard work and has done it steadily.

/lgtm
/approve


export in source is missing

What needs to be documented?
export/release/windows/bin etc.

did you check for any errors in your console?

What needs to be documented?
export/release/windows/bin etc.

When you download the source code, there's no export folder. You have to compile the engine yourself for it to show.

yeah, that’s probably what you did


'OSError : Out of pty devices' on Centos 7.5 for non-root users

When running as non root user on centos 7.5, pipenv shell returns an OS Error: Out of pty devices
There are 4096 pty available on the machine and only 22 are used.
A strace shows a permission error on /dev/ptmx but the file exist and has +rw rights for the group of the user making the call.  And every thing works well when pipenv shell is run as root.
$ python -m pipenv.help.
https://gist.github.com/maliky/01249e028943a350512d70d697038017

Expected result
The shell in the virtual env for a non root user.
Actual result
the console's trace after pipenv shell
https://gist.github.com/maliky/f17c7e73d96cccbb90d9efac15c0957f
the excerpt of strace showing the permission error
https://gist.github.com/maliky/2a15911790e5642688f0345eb8e28506
dev/ptmx", O_RDWR)               = -1 EACCES (Permission denied)
open("/dev/ptyp0", O_RDWR)              = -1 ENOENT (No such file or directory)
open("/dev/ptmx", O_RDWR) = -1 EACCES (Permission denied)

The full strace pipenv shell.
https://gist.github.com/maliky/ae17fc015913907e37ce058ae27d569a
Steps to replicate
I'm running centos 7.5

create a normal user

then log in his account
#su -l user

install pipenv for the user
$ pip3 install pipenv

create a virutal env with pipenv
$ pipenv --three

try to open the shell in the virtual env
$ pipenv shell

Based on this blog post I found when googling this error you need to add a user to the tty group if you want to jump from a root shell to that users shell and then fork a subshell. I think this is probably a RHEL/CentOS/SELinux feature but I haven’t tested it anywhere so it could just be universally true. I wouldn’t generally recommend logging in as root in the first place, you won’t encounter this if you login as the target user to start with. su is not perfect and it is usually recommended to do things with sudo

found when googling this error

Lucky you, and me.  :)
Your google search history, language and localization, probably made it easier for you to find the pertinent link.   I googled this before, read some stackexchange threads, let time pass (a few months), did some search in my os manual, asked my host.  I even remember thinking of doing what this blog recommend without doing it because I wanted to read about it first.  Thanks to you I did it today and my issue is cleared.
As for logging as root in the first place you are right.   Merci !


Resync 20230324

Resync to commit f303398b77c767ef1c6fab56ded0858a5dedbdd2 (so older than the resync date) to consume u/s bump to k8s 1.25 and u/s fixes.
We can't however consume yet the jump to NRT API v1alpha2, so this is  the latest we can jump atm.

/hold

/hold
smoke tests passed, and this is a low-risk update anyway

/cherry-pick release-4.12

/cherry-pick release-4.13


chore: remove ana bits from existing non-ana volumes

chore: remove "ANA bits" from the current volume
A non-ANA volume is only meant to have one active nexus target at a time.
ANA adds a lot more complexity than than just a vector of nexuses, so it's better
to completely ignore multi volume nexuses for now and add it back later as a new
type of volume.
This way we can also make sure that we don't break non-ANA volumes when we start
adding ANA volumes..
--
chore: update the deployer docs and add block devices
Updates the readme.md to match the latest.
Add new option to add a host block device to the mayastor containers.

bors merge

bors merge


MindSpore: version r1.1 support

In the update of version r1.1 just released by MindSpore, due to the unification of operator prototypes of the cloud-end and mobile-end(mslite), the scehma of mslite has been greatly modified, making r1.1  and r1.0 not compatible. At present, the main users of mslite are our internal developers, and there are fewer external users. We have assessed that the impact of version incompatibility is relatively small. We hope to temporarily remove support for mslite and we will re-add support for the new version of mslite at about the end of the month. What do you think?

Option 1) Fix the problem and stop breaking users
Option 2) Deprecated mslite and use another format instead

For the option 2:
Could the standard format be our unification of operator prototypes of the cloud-end and mobile-end(mslite)?  Can we remove mslite support and re-add it after completing this format?

Option 1) Fix the problem and stop breaking users
Option 2) Deprecated mslite and use a standard format instead

For the option 2:
Could the standard format be our unification of operator prototypes of the cloud-end and mobile-end(mslite)? Can we remove mslite support and re-add it after completing this format?

Option 2) is to adopt an existing format instead of inventing another one that is not much different from all the other ones that exist already.

Option 2) is to adopt an existing format instead of inventing yet another one that is not much different from all the other ones that already exist.

Because of the international political influence, it is not appropriate for Huawei to use another standard format. We have to use our own format. However，we had not designed it properly at the beginning, so there was a compatible problem. Since the  number of users is small, and the impact is not great. We hope the original version can be discarded, and we will support a new version.

Option 1) Fix the problem and stop breaking users
Option 2) Deprecated mslite and use a standard format instead

Or could you offer another option?

control_flow_ut_while_0122.ms.zip

Duplicate of #600


fix: add cors to content-api, force trigger api test failure

Related issue: #610
DON'T MERGE - debugging api-test failure
Context: Looks like its a general permissions failure when anything modifies content-api tests.
main_nonapprover_test.py:315: AssertionError
=========================== short test summary info ============================
FAILED main_approver_test.py::test_list_with_authentication - assert 403 == 200
FAILED main_approver_test.py::test_lifecycle - assert 403 == 201
FAILED main_approver_test.py::test_donation - assert 403 == 201
FAILED main_nonapprover_test.py::test_list_subresources_with_authentication
FAILED main_nonapprover_test.py::test_insert_with_authentication - assert 403...
FAILED main_nonapprover_test.py::test_donation - assert 403 == 201

Closing, resolving with https://github.com/GoogleCloudPlatform/emblem/pull/665


Feature request: get gallery of Mapillary images that view an object

Description
If I select an object and want more context about it, I'd like to see a button in the side menu that allows me to say "show on Mapillary" or similar.
Then load on the map only Mapillary images that have a camera angle viewing the current object (I can help with the camera angle math). This would typically be restricted to a small radius like 20 meters.
Then I would be able to use these to check more context like color, number of levels etc.

I think this one is largely completed in 2.4 actually, @cbeddow.
In this screen capture, I've clicked on a manhole and the highlighted (yellow) image pins all show that detection.
Clicking to the other highlighted pins continue to show the same detection highlighted.
https://github.com/user-attachments/assets/9fa615f5-d664-4417-87d6-31fb4e9ca699


[BUG] Error when creating a docker image

Hi!
Debian 12
docker build -t pdfbook-renamer .

[stage-1 3/6] RUN pip install pypdf:
2.042 error: externally-managed-environment
2.042
2.042 × This environment is externally managed
2.042 ╰─>
2.042     The system-wide python installation should be maintained using the system
2.042     package manager (apk) only.
2.042
2.042     If the package in question is not packaged already (and hence installable via
2.042     "apk add py3-somepackage"), please consider installing it inside a virtual
2.042     environment, e.g.:
2.042
2.042     python3 -m venv /path/to/venv
2.042     . /path/to/venv/bin/activate
2.042     pip install mypackage
2.042
2.042     To exit the virtual environment, run:
2.042
2.042     deactivate
2.042
2.042     The virtual environment is not deleted, and can be re-entered by re-sourcing
2.042     the activate file.
2.042
2.042     To automatically manage virtual environments, consider using pipx (from the
2.042     pipx package).
2.042
2.042 note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
2.042 hint: See PEP 668 for the detailed specification.

dockerfile:15
13 |     FROM alpine:latest
14 |     RUN apk add --no-cache python3 py3-pip
15 | >>> RUN pip install pypdf
16 |
17 |     COPY --from=build-stage ./app/pdfbook-renamer /app/
ERROR: failed to solve: process "/bin/sh -c pip install pypdf" did not complete successfully: exit code: 1

Hello.
This error fixed in commit 64c3d02733aac36e5a7f09ffd1366ac37a7fe620


[Do not merge] Demo for Crust's xstorage usage

This is a demo PR for using crust's xstorage pallet. xstorage is a helper pallet to send cross-chain storage orders to crust network.
There are two key steps in this pallet:

Withdraw fee token.
Send XCM.Transact message including storage order extrinsic through XCMP.

xstorage pallet is not the only option. You can implement your own transact sender, such as moonbeam or just pallet-xcm.

Hey @mmyyrroonn thanks for this. This is probably something we will have to test on Arctic first, which is the right place to integrate new features.
Also, would like to learn more about Crust network.

Hey @mmyyrroonn thanks for this. This is probably something we will have to test on Arctic first, which is the right place to integrate new features.
Also, would like to learn more about Crust network.

Hi, I modified the content. But it's not working right now. As we discussed in TG, please add the left part. If you have any questions about the pallet, I'm willing to help. 😄


Intellisense not triggering after some emmet modifiers

I am trying to implement emmet functionality inside typescript template literals yet after certain emmet modifiers like +, * or > followed by anything Intellisense returns no suggestions it doesn't show whatever the server returns. Before i thought the issue is related to the typescript template server, hence the issue here  #44994, yet i have managed to encounter the same behavior regardless.
I have put together an extension that echoes whatever line the cursor is on so you can reproduce the behavior explained above with this code...
template() {
	return html`
		i am cool

		div*50
		div+li
		div>li
	`
}

notice how ctrl+space will trigger completion in case of first line, while not triggering if the cursor is placed at the end or after any of the modifiers. This affects enabling proper emmet completions in extensions.
Picture:

I believe your completion needs to include the range of the entire abbreviation, either:
range: new vscode.Range(position.line, position.character - line.trim().length, position.line, position.character)

or by using the textEdit property on CompletionItem. Otherwise it will be filtered out in many cases for not matching the current word

@mjbvz Well, This actually works, thanks so much for you attention. However, i have 1 more question please. in the same code i provided above why doesn't provideCompletionItems get called every keypress instead every 2 key presses ?, is there an explanation for that ?
You can replicate that by typing any text and watch the completion list updating every 2 key presses.

provideCompletionItems doesn't get triggered at all with numbers after the modifier.

If you want completions to be triggered after numbers, you need to add the numbers as trigger characters when registering the completion provider

@ramya-rao-a What about provideCompletionItems getting called every two key presses, is there an explanation for that ?

That is because you are returning an array of CompletionItems instead of a CompletionList.
See https://code.visualstudio.com/docs/extensionAPI/vscode-api#CompletionItemProvider
When you return an array of CompletionItems or a CompletionList with isIncomplete set to false, then VS Code doesnt call your completion provider for every keystroke. VS Code will only call your completion provider once it has filtered out the results you sent previously.
If you return a CompletionList with isIncomplete set to true, then VS Code will call your completion provider for every keystroke

@pushqrdx I am closing this issue as your concerns have been addressed


Redirects: Support mailto URLs

Description
Currently, redirects only support URLs of type http, https and local routes.
I propose adding support to those of type mailto as well.
Discussion about the topic started on https://github.com/vikejs/vike/discussions/1244.
Motivation

mailto URLs are the next more common type of emails. Some people might want to setup a certain route to a mailto.
For example, in order to be easily contactable, I might setup a route in my personal website called /mail-me and having it redirect to my current email, as opposed to giving my email to a person (which might be a complex email prone to error when typing) I can simply give an easy to memorize link
On top of that, mailto urls also support a bunch of parameters such as setting the default body and subject — which might be useful for certain use-cases, such as job applications, etc.

PR welcome.

Also:

Because I can think of some other types of url that might have some usecases, ipfs://, magnet: (torrents also have a lot of legitimate usecases such as distribution of Linux isos and other heavy files), etc.

Hey @brillout I actually wouldn't mind working in this myself sometime. Any hints before I dive in? What would you say is the main challenge for this?

The static redirections are resolved here. I believe parseUrl() needs a new option { allowAnyProtocol?: true }. On a high-level it's straightforward, but it's a little bit of work to set and pass the option around in a sensible way.

Sounds good. Just need a way to be able to test it out in a simple project, how do you normally do it? I was going to link it locally but my project uses yarn so it's incompatible. Should I just create a pnpm project to test it or is there something like it builtin?

See CONTRIBUTING.md

Could you elaborate more on how you would want it to be done? Should I add an allowAnyProtocol setting to Vike's config or can the protocol restriction be removed?

Figuring it out is half the fun 🙂

May I work on it?😀

Hello Yusaku, yes 💯

May I work on it?😀

Of course, in the meantime I moved on into other things, but will still also appreciate the feature


browsersync inside homestead custom domain instead of localhost:3000

Description:
I am trying to setup browsersync to work with a custom domain in my homestead setup.  with default browsersync settings, my site is launched at localhost:3000.  However, I would like it to launch at local.testsite.com. To do that I have changed my mix settings to the following.
mix.js('resources/assets/js/app.js', 'public/js')
	 .sass('resources/assets/sass/app.scss', 'public/css')
	 .sourceMaps()
	 .browserSync({
			proxy: 'local.testsite.com',
			host: 'local.testsite.com',
			open: 'external',
		});

[Browsersync] Proxying: http://local.testsite.com
[Browsersync] Access URLs:
 ---------------------------------------------
       Local: http://localhost:3000
    External: http://llocal.testsite.com:3000
 ---------------------------------------------
          UI: http://localhost:3001
 UI External: http://local.testsite.com:3001

This launches local.testsite.com:3000 with a connection refused error, site cannot be reached.  If I remove the port from the end of the url the site does load it just doesn't auto refresh with browser sync.
How do I get my local test domain working without the port at the end as well as get browsersync working on it?

Interesting: External: http://llocal.testsite.com:3000 <- llocal.

@tpraxl sorry that was a mistype by me when I copy and pasted.  it correctly does
External: http://local.testsite.com:3000 however I would like it to be
External: http://local.testsite.com

I think in this case, you have the following option, but I doubt it is worth the hassle:
You would need to configure homestead to serve your app on a port different than :80. Then you would need to configure browserSync to proxy your app on that port and to make the proxied version available on :80.
Are there important reasons for serving the browserSync version on :80?
There are of course other options that may include executing browsersync on your host while homestead is available on another domain or port or using docker. But all options require more or less complex setups. AFAIK (i might be wrong).

Okay, I think I'm understanding. I'm actually not apposed to using the site at http://local.testsite.com:3000 it simply just doesn't work.  To test I removed the :3000 from the url and the site does work there, it simply just doesn't sync any changes.  I can refresh and the changes work fine though.
The goal is to be able to use browsersync  with the local domain instead of localhost:3000, with either the port at the end or without the port at the end.

Maybe homestead doesn't expose :3000 by default. I'm not sure as I stopped using homestead in favor of docker. See your VM Settings (Virtual Box should work well).

I am facing the same issue. I get browser sync to connect but it doesn't sync/refresh any of the changes that I have made.

@tpraxl if you used Docker Compose, can you share how you are able to configure hot module reloading to work? Currently using docker my commands npm run dev, and npm run production do work, I am having trouble getting npm run hot to work.

+1

+1

+1

+1

+1

Hello, I solved this by using the subdomain values as url parameters because I was using them for internal actions.
Correct url:
//app1.localsite.dev/1234
Url for browsersync:
//localhost:3000/app1/localsite.dev/1234
The order of the parameters should follow that of the controller:
public function __invoke ($ subdomain, $ domain, $ id) { ...
Browsersync will work correctly.

Hello, I solved this by using the subdomain values as url parameters because I was using them for internal actions.
Correct url:
//app1.localsite.dev/1234
Url for browsersync:
//localhost:3000/app1/localsite.dev/1234
The order of the parameters should follow that of the controller:
public function __invoke ($ subdomain, $ domain, $ id) { ...
Browsersync will work correctly.

Would it be possible to provide a sample of the webpack.mix.js or at least the following:
.browserSync({
			proxy: 'local.testsite.com',
			host: 'local.testsite.com',
			open: 'external',
		});

@nirpan, my webpack does not have any significant changes...
mix.browserSync('app1.localsite.dev');


Runtime Issue - process has died pid 14258, exit code -11

I have followed the article to clone the git in the source folder of the catkin_workspace. The catkin_make command works perfectly fine for me. The issue creeps up when running following command:
roslaunch darknet_ros darknet_ros.launch
ideally, in my other computers the node starts and works fine. But in the computer in question, I get the following output with error message highlighted.
... logging to /home/autodriveii/.ros/log/b300032c-b9b1-11ec-bce6-ed685309a8b3/roslaunch-autodriveii-X299X-AORUS-MASTER-14221.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
started roslaunch server http://localhost:41077/
PARAMETERS

/darknet_ros/actions/camera_reading/name: /darknet_ros/chec...
/darknet_ros/config_path: /home/autodriveii...
/darknet_ros/image_view/enable_console_output: True
/darknet_ros/image_view/enable_opencv: True
/darknet_ros/image_view/wait_key_delay: 1
/darknet_ros/publishers/bounding_boxes/latch: False
/darknet_ros/publishers/bounding_boxes/queue_size: 1
/darknet_ros/publishers/bounding_boxes/topic: /darknet_ros/boun...
/darknet_ros/publishers/detection_image/latch: True
/darknet_ros/publishers/detection_image/queue_size: 1
/darknet_ros/publishers/detection_image/topic: /darknet_ros/dete...
/darknet_ros/publishers/object_detector/latch: False
/darknet_ros/publishers/object_detector/queue_size: 1
/darknet_ros/publishers/object_detector/topic: /darknet_ros/foun...
/darknet_ros/subscribers/camera_reading/queue_size: 1
/darknet_ros/subscribers/camera_reading/topic: /image_publisher_...
/darknet_ros/weights_path: /home/autodriveii...
/darknet_ros/yolo_model/config_file/name: yolov2-tiny.cfg
/darknet_ros/yolo_model/detection_classes/names: ['person', 'bicyc...
/darknet_ros/yolo_model/threshold/value: 0.3
/darknet_ros/yolo_model/weight_file/name: yolov2-tiny.weights
/rosdistro: noetic
/rosversion: 1.15.14

NODES
/
darknet_ros (darknet_ros/darknet_ros)
ROS_MASTER_URI=http://localhost:11311
process[darknet_ros-1]: started with pid [14258]
[ INFO] [1649693884.787531592]: [YoloObjectDetector] Node started.
[ INFO] [1649693884.791937168]: [YoloObjectDetector] Xserver is running.
[ INFO] [1649693884.793009708]: [YoloObjectDetector] init().
YOLO
layer     filters    size              input                output
0 conv     16  3 x 3 / 1   416 x 416 x   3   ->   416 x 416 x  16  0.150 BFLOPs
1 max          2 x 2 / 2   416 x 416 x  16   ->   208 x 208 x  16
2 conv     32  3 x 3 / 1   208 x 208 x  16   ->   208 x 208 x  32  0.399 BFLOPs
3 max          2 x 2 / 2   208 x 208 x  32   ->   104 x 104 x  32
4 conv     64  3 x 3 / 1   104 x 104 x  32   ->   104 x 104 x  64  0.399 BFLOPs
5 max          2 x 2 / 2   104 x 104 x  64   ->    52 x  52 x  64
6 conv    128  3 x 3 / 1    52 x  52 x  64   ->    52 x  52 x 128  0.399 BFLOPs
7 max          2 x 2 / 2    52 x  52 x 128   ->    26 x  26 x 128
8 conv    256  3 x 3 / 1    26 x  26 x 128   ->    26 x  26 x 256  0.399 BFLOPs
9 max          2 x 2 / 2    26 x  26 x 256   ->    13 x  13 x 256
10 conv    512  3 x 3 / 1    13 x  13 x 256   ->    13 x  13 x 512  0.399 BFLOPs
11 max          2 x 2 / 1    13 x  13 x 512   ->    13 x  13 x 512
12 conv   1024  3 x 3 / 1    13 x  13 x 512   ->    13 x  13 x1024  1.595 BFLOPs
13 conv    512  3 x 3 / 1    13 x  13 x1024   ->    13 x  13 x 512  1.595 BFLOPs
14 conv    425  1 x 1 / 1    13 x  13 x 512   ->    13 x  13 x 425  0.074 BFLOPs
15 detection
mask_scale: Using default '1.000000'
Loading weights from /home/autodriveii/catkin_ws/src/darknet_ros/darknet_ros/yolo_network_config/weights/yolov2-tiny.weights...Done!
Waiting for image.
_[darknet_ros-1] process has died [pid 14258, exit code -11, cmd /home/autodriveii/catkin_ws/devel/lib/darknet_ros/darknet_ros camera/rgb/image_raw:=/image_publisher_1649693822022886118/image_raw __name:=darknet_ros __log:=/home/autodriveii/.ros/log/b300032c-b9b1-11ec-bce6-ed685309a8b3/darknet_ros-1.log].
log file: /home/autodriveii/.ros/log/b300032c-b9b1-11ec-bce6-ed685309a8b3/darknet_ros-1.log_*
all processes on machine have died, roslaunch will exit
shutting down processing monitor...
... shutting down processing monitor complete
done
System:

OS: Ubuntu 20.04
ROS version: Noetic
GPU when relevant: No GPU

What am I missing here? How can I diagnose the problem?

Hi, I have the exact same issue for both darknet.launch and yolo_v3.launch
System:

OS: Ubuntu 20.04
ROS version: Noetic
GPU when relevant: No GPU

Thank you for the help.

Try to delete Boost.

Try to delete Boost.

Hi, thank you for your reply.
But, on my side, it does not work...

Try to delete Boost.

Hi, thank you for your reply. But, on my side, it does not work...

That's kind of bad. Today I reinstalled my Ubuntu and ROS, but failed to test Darknet_ROS using the USB_CAM package and my laptop camera. I thrashed about all day, but nothing came of it. Then I succeeded in my classmate's computer. But he doesn't install the Boost dependency as instructed. I deleted Boost and it worked. Our ubuntu versions are all Ubuntu18.04. Were you successful in printing camera data topics?

Yes, my topics are good. I will try an other way. Thanks again.

Yes, my topics are good. I will try an other way. Thanks again.

Yes, my topics are good. I will try an other way. Thanks again.

Wish you succes.

have you success?

have you success?

Yes, you can try. Or you can learn about this library: https://github.com/osrf/tensorflow_object_detector

这是来自QQ邮箱的假期自动回复邮件。zzu水下空中机器人实验室电控组已经收到了你的提交。

I have resolved my issue.
I changed the enable_opencv: true to enable_opencv: false in the ros.yaml configuration file.
Hope it help.

Try to use darkner_ros_gdb.launch to find what error is. If the information is shown like in   #247. Then, this problem may be caused by the conflict or incompatibility of boost version. You can try to delete boost, catkin_make your project again, and run launch file.
BTW: check the file path of boost and remove them. The version of my installed boost is 1.81
deleting boost command:
sudo rm -f /usr/local/lib/libboost* sudo rm -rf /usr/local/include/boost sudo rm -rf /usr/local/lib/cmake/*-1.81.0*

Hello,
It worked for me when i changed
from enable_opencv: true
to enable_opencv: false
in  darknet_ros/darknet_ros/config/ros.yaml file.


[ImageResizer] HEIC format

Description of the new feature / enhancement
Is it possible to add support for HEIC format considering that is Apple format? or even ability to convert from heic to jpg.
Scenario when this would be used?
I get a lot of heic images, so it will help if I can resize them to smaller size.
Supporting information
No response

Duplicate of #1934

Thanks for your suggestion! This issue is a duplicate.
I'm linking this issue to #1934 to centralize the discussion thread, please go to that thread for discussion.
Thanks for your help to make PowerToys a better piece of software!


Avoid incorrect narrowings using const variables from binding elemens with literal initializers

spotted this while investigating why https://github.com/microsoft/TypeScript/pull/55193 fixed https://github.com/microsoft/TypeScript/issues/56341

@jakebailey Is this ready to merge for 5.4?

Yeah though I should run
@typescript-bot test top200
@typescript-bot user test this
@typescript-bot run dt
@typescript-bot perf test this


Add precompile()

Fixes https://github.com/JuliaStats/DataFrames.jl/issues/996.
Cc: @vtjnash @nalimilan

Coverage remained the same at 74.522% when pulling c1e18f53fcdfcc6eb1f4f7486a0ef96f9e54d9fa on kms/precompile into 9bdf13bb8b0baaea779941ddc719ac5eef1dcff0 on master.

Thanks. Failure on AppVeyor happened before this PR, so let's say it's OK. Could you tag a new release and publish it?


Implement Decorators

This is for #72, but I guess this implementation may be more a like a hack, because Instead of generating Go code, I triggered AST to add more nodes while walking through.

Confirmed simple decorators working, not sure there is some complex use cases.
This is only for function decorators, class decorators not yet supported.
(I don't get this syntax for class working yet. C = decorator(C))

% make run
def bold(fn):
    def wrapped():
        return "" + fn() + ""
    return wrapped

def italic(fn):
    def wrapped():
        return "" + fn() + ""
    return wrapped

@bold
@italic
def hello():
    return "hello world"

print hello()

hello world

import contextlib

@contextlib.contextmanager
def tag(name):
    print "<%s>" % name
    yield
    print "</%s>" % name

with tag("h1"):
  print "foo"

foo

Sorry for late update, updated those.


Refactor leave session

Description
The main purpose of this pull request is to enhance the process of leaving a live session.
Test Plan
N/A
Motivation and Context
The general functionality of the app needs to be improved to be leaner and more performant overall. By refactoring not only the LeaveSession async thunk, but as well as the containers where the thunk is used, the process of leaving a live session can be improved upon.
How Has This Been Tested?
I've manually tested the performance of the app by going through the containers in question and seeing how the new implementation is performing.
Types of Changes

Documentation
Bug fix
[x] New feature
Breaking change

Checklist

[x] My code follows the code style of this project

 Leave session thunk