Add Mass Dry Run in BGE

Critical Changes
Changes
Issues Closed
New Metadata
Deleted Metadata

**lurch: attach W-029279

Tracking W-029279


Wc2 day4

End of Day 4 - WC2

Enable visual notification of Navigator/Driver with colours to define active mobsters for each role

Looks like you're failing the CI build. Are all the tests passing locally?

Merged it all and fixed one issue with a test not passing.


fix: buildWhere to support filtering enums

Currently enums are handled like ids - this should fix it.

approve!

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Chars tip

Would it be possible to add which char is it at the end of the line, like this?

Added.

Fav!


I imagine you are using personal computer to run the notebook? because it works perfect on colab. Are you using tf 2.0 ?


fix: pass through base_err on empty contract logic errors [APE-985]

What I did
base error was missing on txn failed
looking at this in a debug perspective for some solidity crap
How I did it

How to verify it

Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

basely much adding since review and i just got done doing some testing to make sure dev message still work, just in case.


Overlay text in the console

Hello,
As you can see on the attached photo, if I enter for example: nano my_doc.php, the file is displayed but the old text of the console remains behind and it is unreadable. I use Windows 10.

Thanks

I have something similar when I want to use a command line from the history, if I go "too far" (only two or three command before is enough) the commands are mixing and it's difficult to read it.
For example:
[celmonat@hpc2 ~]$  ls $HOME/Wls $HOME/WheatOMICS/testhicProOutputs/rawdata_splited/


[Suggestion]: Adding a list of sites using Swiper

I have searched for a little bit for the same issues, no success.
The library of the real sites using your technology might be a good inspiration for those who want to start using it.

👍

Good

:metal:

Issue is closed because of outdated/irrelevant/not actual/needed more information/inactivity.
If this issue is still actual and reproducible for latest version of Swiper, please create new issue and fill the issue template correctly:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with issue


how to remove space after insert?

this plugin is great, but i dont want a space after insert, how to disable it?

For others who will find this issue, space can be removed with a suffix setting (more info https://github.com/ichord/At.js/wiki/Base-Document#settings )

how to use suffix? @antongorodezkiy

This is the useful solution https://github.com/ichord/At.js/issues/294


mitmproxy sysinfo: show git tag/ref/commit

It would be nice if mitmproxy --sysinfo would also display the current git tag/ref/commit when running from source. Currently only 0.19 is displayed, which makes it a bit undeterministic what code is actually running. We can probably reuse some code from rtool here.

👍
On that note, have we considered merging --sysinfo into --version ?

On that note, have we considered merging --sysinfo into --version ?

doit


Get 1 event

Implementing subscription merging, delaying and caching gives us an amazing abstraction that can be used from the components without extra logic for managing data: getting one event. After implementing the other features this function is trivial to implement and joy to work with.

The more I'm thinking about implementing this function, the more questions pop up for the right semantic.
The right way to look at kind 0 / 3 events is one that has one value that can be updated, which is represented as a reader store with always the newest value (and starting with undefined), and there's no new function that can help in that Svelte reader store abstraction.
Probably what can be safely added to the API is a getEventById(id: string, delayms?: number, options?:{noCache: boolean})


Popover css

I can't seem to find the Popover css anywhere in this repo, although the Popover.js is present.  I had to copy the css from Twitter Bootstrap to my local css to get Popover to work when using calcite-maps-bootstrap.  Is this intended, or am I missing something?

You need to uncomment the popover.js in the bootstrap build and run grunt.
https://github.com/Esri/calcite-maps/blob/master/lib/sass/bootstrap-components.scss


Roadmap: Other Bindings?

Is there any issue to track the Other Bindings roadmap entry?
If not, maybe this one could be used for those of us that wish to subscribe to any updates.
Various discussions/issues regarding bindings, loading alternative runtimes with sidecars, migrating from electron/node, etc:

Question about whether tauri will support webserver
Bun?
Electron to tauri system
how to use a JavaScript module built for node.js
Node to Deno rust .js
QuickJS instead of Deno for app backend!
Node server doesn't starts on it's own
Rebuilding an Electron Desktop app with Tauri
Executing python scripts using Tauri
Question about whether tauri will support webserver
[feat] Electron to Tauri
[bug] Sidecar example fails to produce working Appimage
How to run nodejs server in build mode ?
Headless Tauri
[bug] Can't run Tauri on a different thread
How to implement another Backend Service (like C#/ .NET)

duplicate of https://github.com/tauri-apps/tauri/issues/4670

Agreed, this one is more generic


Update Anthony Albence

His term has an expiration date of 6/20/2023 but all indications are that he's still in office. Going to bump this to the end of the year and will amend if necessary.

@NewAgeAirbender If you have a moment, we've got a broken delivery pipeline to Delaware. I really appreciate it, thank you!


Hide Shorts button

It would be great if there was an option to block the Shorts button in the sidebar. Those short videos are super easy to keep on watching and watching. Thanks!

100% This.

Please!


defaultmode and "type="module"". How to?

Maybe this is broken:
defaultmode: Optional. specify a value to use in the script type attribute. If no mode is specified, the type attribute is omitted. Externals can optionally override this per file.

I cannot make it work. How to?
What I need is for esm bundles:
<script type="module" src="/index.js"></script>

It appears that this feature has not been implemented.
Instead it always uses type="text/javascript".
https://github.com/haifeng2013/rollup-plugin-bundle-html/blob/9500c68cf2462e0af9c0e65d05cd5fb5552c65e5/src/index.js#L109


fix: updates dependencies

What
fix: updates dependencies
 @commitlint/cli                  ~15.0.0  →  ~17.3.0
 @commitlint/config-conventional  ~15.0.0  →  ~17.3.0
 @semantic-release/changelog       ~6.0.1  →   ~6.0.2
 @semantic-release/exec            ~6.0.2  →   ~6.0.3
 @semantic-release/github          ~8.0.2  →   ~8.0.7
 @semantic-release/npm             ~8.0.3  →   ~9.0.1
 ava                              ~3.15.0  →   ~5.1.0
 c8                               ~7.10.0  →  ~7.12.0
 chalk                             ~5.0.0  →   ~5.1.2
 commitizen                        ~4.2.4  →   ~4.2.5
 eslint                            ~8.3.0  →  ~8.29.0
 husky                             ~7.0.4  →   ~8.0.2
 puppeteer                        ~12.0.1  →  ~19.3.0
 update-notifier                   ~5.1.0  →   ~6.0.2
 yargs                            ~17.3.0  →  ~17.6.2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add crystal_on_steroids

Hi, I'd like to add my project to the list.
Best regards.

I tend to dislike "stdlib extension" projects because they tend to consist of either ideas which should be PRed into the stdlib, or which are not in the stdlib for good reason. That being said, I won't pretend that our opinion isn't sometimes wrong, so i'll give this project a solid meh.

@RX14 I understand what you're saying, in fact I indeed have received the same critique before, however, Active Support exists for a reason, and it's useful to a lot of people, so, this might not look useful to you, but I'm sure it will be for a lot of others.
Regarding Array#split, I just fixed it to replicate it to what Active Support does, it uses a dup version of self. https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/array/grouping.rb#L94

@werner Active Support lives mostly in terms of Rails (and maybe some other web frameworks). I don't think it is widely used by plain ruby apps/libs. crystal_on_steroids doesn't have such a framework, so for me it looks like a powerpack, which is not seems to be popular.
Nevertheless, I still think crystal_on_steroids is a good addition to the list even if it is not globally used. It has small examples how to implement those methods and maybe will prevent someone to create another extension.
@RX14 what is your position, merge/reject or what?

Do we want this to be a list of acceptable libraries or a list of awesome libraries? This library is acceptable. But its not awesome. It just had a bit too little benefit, a lot of non-typesafe (ruby) design, and likely bad performance.
I vote no but there's a lot of libraries already on the list i'd vote no for. So me voting no raises that problem too.

@veelenga Yeah, you're right!, I think it looks like more to powerpack than Active Support, I just wanted to have some cool methods that are included in Rails too.
@RX14 I have no problem with this PR being rejected if it's not an awesome shard, however I'm really concern about the bad performance claim, could you please tell me why you think that? and what methods are non-typesafe?, I'm willing to do the necessary refactoring.

@werner Here's a list of nitpicks:

The Array.define_order macro defines a method which uses @buffer and checks @size automatically? Why? Why not just have:def second
  self[1]
end

# etc...

it'll just be inlined to get the same code as before and is much cleaner. A macro here is probably worse than just copy and paste too, but that's just my opinion.
Array#rest has incorrect semantics: [1, 1, 1].rest == [] of Int32 when it should be [1, 1]. This is because of the silly way you've implemented it:
Array#rest creates 3 array when it should only create 1: it first calls dup which allocates, then it creates an array with just the first element in, then it calls - to get the (incorrect) result. The correct naive implementation is:def rest
  result = Array(T).new(size - 1)
  1.upto(size - 1) do |i|
    result[i - 1] = self[i]
  end
  result
end

but an even faster way (because Array(T).new(size, &block) can elide some bounds checks and we use unsafe_at) isdef rest
  Array(T).new(size - 1) { |i| unsafe_at(size + 1) }
end

except for the fact that we already have a fantastically optimized implementation of Array#[](start, count) which makes the fastest and simplest method just:def rest
  self[1, size - 2]
end

Array#split is alright, I got confused and thought it could return a tuple (it can't, the number of result values can be more than 2). You could probably get it a lot faster by using the same Array#[](start, count) method and not using dup and mutating the array (shift is not cheap! it has to move every element in the array). Methods in Array/Indexable/Enumberable rarely call dup because it's very often not the fastest way to implement things.
Enumerable#many?'s implementation is a little weird, involving modifying count inside an any? block. I suggest you simply use each and return true if count > 1 with a false as the default case.
Enumerable#many? (without a block) won't count falsey elements. Which is fine, it's just not what the documentation says. If the doc was correct, the method implementation would just be size > 1.
Why does pluck use item[]? with multiple keys but item[] when using a single key? It should either return nil when the key doesn't exist, or not. I suggest defining pluck and pluck?.
Why does compact use select with !value.nil? and compact! use reject! with value.nil?? It makes no difference but it makes no sense either.
A lot of doc comments still have rubyisms like @return.
Nil#includes? is just there to avoid the type system. nil.includes? is a type error in crystal, and monkeypatching it not to be here is just avoiding handling nil properly.
String#blank? was added to crystal 11 months ago and should be removed because the stdlib has an optimized implementation.
String#remove? isn't tested with multiple patterns. And I can see why, the spec would fail as far as I can see.
String#truncate should use named args instead of an options hash. Yet more evidence there were blindly copy-pasted from activesupport.
String#truncate doesn't need to return dup because strings are immutable so you can simply return self. Luckilly String#dup is just self anyway.
In truncate_words Regex === sep is a rubyism, use is_a? which actually performs type restrictions.
squish could be rewritten using a string builder and String#each_char and Char#whitespace? and be faster,
prev_day should really be self.at_beginning_of_day - 1.day, and ditto for next_day.
today? can be implemented by:now = Time.now
now.at_beginning_of_day <= self <= now.at_end_of_day

@RX14 thanks, I appreciate the suggestions and I'll make the needed fixes.
@veelenga I suggest a rejection of this PR until I make the fixes suggested by @RX14, I'd do it myself but I don't know how.


Relative start/end date

Is there a way to reference a date that is not just relative to the current day? For example, picking the first  and last day of the week.

I would also like to see this.  I want to track totals for the current week and display in my dashboard.
startDate: -1w
endDate: 0d
Gives past 7 days, while
startDate: 0w
endDate: 0d
Gives the "No valid Y value found in notes".  Would be nice if 0w as a startDate would mean the start of the week.


[FLINK-35435] Add timeout Configuration to Async Sink

What is the purpose of the change
Implementation of FLIP-451 introducing Timeout Configuration to Async Sink.
Brief change log

Add ResultHandler class to be used by Sink implementers
Add AsyncSinkWriterResultHandler implementation that supports timeout
Add requestTimeoutMs and failOnTimeout configuration to AsyncSinkWriterConfiguration and to AsyncSinkWriterConfigurationBuilder
Add default values to requestTimeoutMs and failOnTimeout as suggested in FLIP-451
Add needed unit tests and refactored existing tests

Verifying this change
This change added tests and can be verified as follows:

Added unit tests
Performed Sanity testing and benchmarks on Kinesis Implementation as described in the Ticket.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): yes
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? yes
If yes, how is the feature documented? JavaDocs + Follow Up Ticket

@dannycranmer thanks for the review,  Could you have another pass?
The CI is failing due to a bug in Architecture tests FLINK-35454,
Could you take a look at this PR and we can rebase this one after.

@flinkbot run azure

@flinkbot run azure


New feature: Read header only

As mentioned in #20, I'm working on an ImageIO plugin for JPEG XL using your decoder. For this to work reasonably, I need a way to read the header (ImageHeader) without also decoding the entire image.
I've added a method to JXLCodestreamDecoder, like this:
    public ImageHeader readHeader() throws IOException {
        if (imageHeader == null) {
            if (atEnd()) {
                return null;
            }

            bitreader.showBits(16); // force the level to be populated
            int level = demuxer.getLevel();

            imageHeader = ImageHeader.read(new Loggers(options, new PrintWriter(new OutputStreamWriter(System.err, StandardCharsets.UTF_8))), bitreader, level);
        }

        return imageHeader;
    }

(I also made some minor tweaks to initialize canvas in the decode method to avoid NPE).
This kind of works, but in some cases it seems to create what I believe is alignment issues in the codestream when I later invoke decode(). Causing exceptions like:
For samples/ants.jxl as an example:
com.traneptora.jxlatte.io.InvalidBitstreamException: Invalid Level 1 Prefix codes
	at com.traneptora.jxlatte.entropy.PrefixSymbolDistribution.populateComplexPrefix(PrefixSymbolDistribution.java:97)
	at com.traneptora.jxlatte.entropy.PrefixSymbolDistribution.<init>(PrefixSymbolDistribution.java:194)
	at com.traneptora.jxlatte.entropy.EntropyStream.<init>(EntropyStream.java:147)
	at com.traneptora.jxlatte.entropy.EntropyStream.<init>(EntropyStream.java:101)
	at com.traneptora.jxlatte.frame.Frame.readTOC(Frame.java:155)
	at com.traneptora.jxlatte.JXLCodestreamDecoder.decode(JXLCodestreamDecoder.java:754)
	at com.traneptora.jxlatte.JXLCodestreamDecoder.decode(JXLCodestreamDecoder.java:686)
	at com.traneptora.jxlatte.JXLDecoder.decode(JXLDecoder.java:41)

I can work around this, by repositioning the stream and creating a new decoder for reading the image after reading the header. But it would be nice to have a method that could read the header without other side effects. My plan was to create a PR with the above code, but it's no good until we can fix the alignment issues.

I'm not going to give you a programming lesson on how to debug your own code

You can save the programming lessons for someone who needs that... 😉
But some friendly advice on how to implement reading the header only in your code would be appreciated.


WEBAPP-53: Find better solution for breadcrumbs

removed name of top page from breadcrumbs and added a title instead
changed size of breadcrumbs

For the future: You can remove the newline for commit messages. If they are short they should be only one line.

I think this should also have a back button for mobile devices, right?

Regarding: https://github.com/Integreat/integreat-webapp/pull/33#issuecomment-338482701
I kind of like the implementation Steff made, so we still have all layers of the menu visible, but have the title of the current site stand out more, since it now has a large heading and is outside of the breadcrumbs.
Also we usually only have 3 layers, like Augsburg > Welcome > Arrival Information. Then the Breadcrumb reads Augsburg > Welcome and below that, the title says Arrival Information.
I like this more, than just having a back-arrow saying sth like < Welcome, because - again - if you're visiting from google and get directly directed ( 😮 ) to Arrival Information, then the visitor can't even immediately see that he's been directed to the Augsburg instance, because the back-arrow only reads Welcome.
Things like that prohibit me from thinking we should just copy the native app, because experience can be different (same with branding integreat logo).

@Schedulaar
The problem is that we have very, very long titles for pages. It maybe looks strange if we have a breadcrumb over multiple lines. So for this case a back button would probably look better

This is the worst case: https://www.browserstack.com/download?url=https://www.browserstack.com/issue-tracker/c27e9247a22dbbf516c32d0d7a20ba2bc65bf13d/realdroid_Samsung_Galaxy_S8.jpg


Update queuemetrics_de_DE.md

For testing how this is working, I did some changes (correction) Please get in touch if I did a mistake

Hello there,
that's not correct.
If you have a piece like:
# 🔴 clage_agent_session_overview -> Agent Session Overview
➡ clage_agent_session_overview=

You need to change it like this:
# 🔴 clage_agent_session_overview -> Agent Session Overview
➡ clage_agent_session_overview=Übersicht Agentensitzung

The title is only meant to show you what it would look like in English.


Is it possible / (slash) to be delimiter of emails?

For example: mark@google.com/david<EMAIL_ADDRESS>

You can use delimiter prop in 1.0.5 Thank you

Thanks for the fast response, but is it possible for the delimiter to be an array of strings so the user has multiple options?
@thomasJang

delimiter={["/", ",", ";"]}

That was my mistake it works as expected 😄  you are a lifesaver! Thank you very much ❤
So the others don't make the same mistake 😄

This is the right way delimiter={[/, ,, ;]}


Compiling errors since lib update (from 4.0.2 to 6.7.0)

Bug Information
Version Number of Plugin: 6.7.0 and all versions in between 4.* and 6.7.0
Device Tested On: MacOS
Simulator Tested On: None
Version of VS: 17.4.3 (Build 21)
Version of Xamarin: <IP_ADDRESS>5
Versions of other things you are using:
Steps to reproduce the Behavior
Not sure. I updated this library because Google Play Store gave me an error.

Expected Behavior
Build.
Actual Behavior
Failing to build.
https://gist.github.com/gorbat-o/6ea23b43fd64762b057e6c04f923e041
Code snippet
None needed.
Screenshot
None needed.

Did you change your compilation settings to compile against the latest version of Android

AndroidManifest.xml

Android Project Configuration in Build -> General

Test.zip
i was able to reproduce this issue here

Test.zip i was able to reproduce this issue here

Xamarin.Android.Google.BillingClient version 5.1.0 in Plugin.InAppBilling causes an error.
Please use Xamarin.Android.Google.BillingClient version 4.0.0.

I just tested and it still doesn't compile but I am guessing it's a different issue.
https://gist.github.com/gorbat-o/3d62b6bbf51955f9be2a83a47de371e9

I just tested and it still doesn't compile but I am guessing it's a different issue.
https://gist.github.com/gorbat-o/3d62b6bbf51955f9be2a83a47de371e9

There is a problem with FirebaseDatabase.net in nuget you are using.

I currently target version 4.0.0 of the google play billing, so that should be brought in automatically.
Keep it simple.. if you only have these nugets
  <ItemGroup>
    <PackageReference Include="Xamarin.Forms" Version="<IP_ADDRESS>5" />
    <PackageReference Include="Xamarin.Essentials" Version="1.7.4" />
    <PackageReference Include="Plugin.InAppBilling" Version="6.7.0" />
  </ItemGroup>

works fine.
There is probably some conflict in your dependencies as you have a lot of libraries there. Seems like the firebase ones have some issue.. I removed everything except for
  <ItemGroup>
    <PackageReference Include="Xamarin.Forms" Version="<IP_ADDRESS>5" />
    <PackageReference Include="Xamarin.Essentials" Version="1.7.4" />
    <PackageReference Include="FirebaseDatabase.net" Version="4.1.0" />
    <PackageReference Include="FirebaseStorage.net" Version="1.0.3" />
    <PackageReference Include="LiteDB" Version="5.0.15" />
  </ItemGroup>

This wont compile either, so nothing to do with my library

Thank you for the help! the compiler is showing unrelated errors :/


Add starfleet imlementation on ot-node

This PR is obsolete and will be replaced with https://github.com/OriginTrail/ot-node/pull/1595


Make improvements to webhook template data

Actually include WebHook headers in the webhook
Add name to user event data
Add a liquid filter that allows grabbing a random string

Coverage remained the same at 88.246% when pulling 3a5bd439101d576b6cd68d552f5527eee9630f03 on feature/webhook-improvements into 286df821c41241b7147f5c5ef45e114d63b1996e on main.


Mentionin you error

After #8201 i check mentionin you group on try.gitea.io. but response 500 status code
When i check same repo on local there is no error, works well :thinking:

Can you give us the URL? Perhaps an admin can check the logs

Here's a link.
https://try.gitea.io/issues?type=mentioned&repo=0&sort=&state=open
I've just registered a new test user (no activity) and the server error shows up immediately.

The error is not showing on my dev server, neither with an old user or a new one.

@lunny is it possible to get the log from try.gitea.io?

@guillep2k It seems try.gitea.io's log is misconfiguration.  I cannot find error stack information.

i created a user on gitea.com and there is no any error with that

@jaqra gitea.com hasn't been updated to a recent version since there are serval bugs. But I tested it locally and I cannot reproduce this.

ahh sorryy

@jaqra @guillep2k could you confirm your local instance could reproduce this?

@lunny No, I couldn't reproduce it locally. So far the only place the problem showed up is on try.gitea.io.

@lunny no. with sqlite db

In my case I use PostgreSQL

@jaqra with the help from @techknowlogick this is an excerpt of the log from the server with the error:
https://gist.github.com/techknowlogick/39b137e092c80c04212ff3c398ed4d86
SELECT count(*) FROM `issue`
INNER JOIN issue_user ON issue.id = issue_user.issue_id and issue_user.is_mentioned = ?
WHERE issue.is_pull=? AND (is_closed = ?) AND (issue_user.uid = ?)

{true, false, false, 4940}

routers/user/home.go:352:Issues() [E] GetUserIssueStats: ambiguous column name: is_closed

It looks like try.gitea.io has some extra columns in the database (in particular issue_user seems to have a is_closed column). It might be a leftover from some old migration.
@lunny  is there anything that can be done about it?

OK. The problem is we should use issue.is_closed but not is_closed on models/issue.go:1673.
case FilterModeCreate:
		stats.OpenCount, err = x.Where(cond).And("is_closed = ?", false).
			And("poster_id = ?", opts.UserID).
			Count(new(Issue))
		if err != nil {
			return nil, err
		}
		stats.ClosedCount, err = x.Where(cond).And("is_closed = ?", true).
			And("poster_id = ?", opts.UserID).
			Count(new(Issue))
		if err != nil {
			return nil, err
		}

@lunny I've thought the same thing, but I can't explain why the error happens. There should be no two is_closed columns in that query.
It's not bad to patch those queries, though.

I'll make a PR for that.

When you have a join, some database ask you indicate which database's columns on the SQL even there is no conflict column names I guess.

And I think add a test for metion mode on func TestGetUserIssueStats(t *testing.T) will be better.

@lunny try.gitea.io is still failing. I'd wait until it gets this commit?

@lunny try.gitea.io is still failing. I'd wait until it gets this commit?

FIXED!!! 😄


Fix subdomain fetching for subdomainless urls fixes #6710

This fixes #6710. @javisantana CR this, please.

:es:
could you do the PR to 3.12.X so I tag it?

Done: CartoDB/cartodb#6717

@gfiorav , @javisantana , another CR, please. Organization signup wasn't working for subdomainless urls (#6724). I've also added it to 3.12.X branch PR (CartoDB/cartodb#6717).

Ok, :+1: !


Better contrast on elevation profile

The actual contrast leads to several situations where I don't see at all the profile (depending on the inclination of the screen obviously). I tried some colors and #c2c2c2 seems pretty close to the #e8e8e8 used in the steelblue theme of Leaflet.Elevation, but contrasted enough comparing to the background to almost eliminate this problem (at least with my screen, eyes and tries).

Thanks for the feedback, I have changed that in commit a72675cbc0262dc7e1b98133794b66fd04a3f0ea.


RBAC: proposal implement RBAC group cache

What do you want to improve?
Implement RBAC groups cache.
What is the current behavior?
Implement RBAC group cache. We retrieve list all RBAC groups per each request.
What is the new behavior?
We can cache list groups to improve performance. We can also make enabling this cache configurable.

It would be nice also to have REST method to reset cache, just in case.


Slave

Added "title" field for all McUser - default is blank, also allows for Dr., Mr., Mrs., and Ms. through a dropdown.
Title viewable only in the profile view (see changes to see how I added the title with the user.get_full_name_with_maiden() function)
Added Export to excel functionality with a new row for Titles - tested it and it works.

Changed it to merge into develop instead of master.


fix(hierarchical-repulsion-solver): remove assignment to const

I have no idea why it was assigned in the first place. The new value was not used for anything at all.
Closes #555.

The distance is assigned and never used again. Unless I missed something in which case I'd like to know about it.


Use newer deps for GHC 8 compatibility

Fixes #612
@ilovezfs can you please check if this builds on Homebrew with GHC 8?

@begriffs Getting closer, but it's still necessary to have the "allow-newer: base,transformers" unless you patch parsers and jwt, or wai-cors (with the commit that removes the parsers dependency, so no need to patch parsers) and jwt. Here's what's needed doing wai-cors and jwt:
    cabal_sandbox do
      buildpath.install resource("wai-cors-remove-parsers-dep")
      system "cabal", "get", "wai-cors"
      system "/usr/bin/patch", "-p1", "-d", "wai-cors-0.2.4",
        "-i", buildpath/"3f90298038ca391351f4c2d243db3114842f4bf3.patch"
      cabal_sandbox_add_source "wai-cors-0.2.4"

      system "cabal", "get", "jwt"
      inreplace "jwt-0.7.1/jwt.cabal",
        "build-depends:       base >= 4.6 && < 4.9",
        "build-depends:       base >= 4.6 && < 5"
      cabal_sandbox_add_source "jwt-0.7.1"

      install_cabal_package :using => ["happy"]

The relevant commits are
https://github.com/larskuhtz/wai-cors/commit/3f90298038ca391351f4c2d243db3114842f4bf3
and
https://bitbucket.org/ssaasen/haskell-jwt/commits/2c48f81ed5d53af4d5d3ecf49f6e45adae61b348?at=master

@begriffs FYI https://github.com/Homebrew/homebrew-core/pull/1587

@ilovezfs this branch now builds locally for me with GHC 8.0.1. It's having trouble on CI though building helper tools.
I'm curious about your initial motivation to make this build on GHC 8. Is it required nowadays in order to release postgrest on Homebrew? I'd like to make a new release and I'm wondering if this PR will need to be merged before that can happen.

Yes, as I mentioned here https://github.com/begriffs/postgrest/issues/612#issue-157042696, we typically only support the latest version of GHC. So before upgrading GHC in homebrew/core I went through and made sure each formula either built out of the box with GHC 8 or could be patched to do so. Right now the only exception that has been made is for Idris: https://github.com/Homebrew/homebrew-core/commit/a93d454017c2d04236ce52d06613fa85c19198b0
Am I reading that correctly that hackage-security is the one that's breaking first?

That's right. Hackage-security is not technically required for postgrest itself but for cabal-install which I install on CI to check that regular (non-Stack) cabal can find a build plan for the program.

I just tried building hackage-security here and it built fine in a cabal sandbox, so I think it's a conflict in that stack configuration.

==> cabal sandbox init
Config file path source is default config file.
Config file
/private/tmp/hackage-security-20160605-96479-17byccf/hackage-security-<IP_ADDRESS>/.cabal/config
not found.
Writing default configuration to
/private/tmp/hackage-security-20160605-96479-17byccf/hackage-security-<IP_ADDRESS>/.cabal/config
Writing a default package environment file to
/private/tmp/hackage-security-20160605-96479-17byccf/hackage-security-<IP_ADDRESS>/cabal.sandbox.config
Creating a new sandbox at
/private/tmp/hackage-security-20160605-96479-17byccf/hackage-security-<IP_ADDRESS>/.cabal-sandbox
==> cabal update
Downloading the latest package list from hackage.haskell.org
==> cabal install --jobs=64 --max-backjumps=100000 --only-dependencies
clang: warning: -Wl,-headerpad_max_install_names: 'linker' input unused
clang: warning: argument unused during compilation: '-L/usr/local/lib'
clang: warning: argument unused during compilation: '-L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries'
Resolving dependencies...
Notice: installing into a sandbox located at
/private/tmp/hackage-security-20160605-96479-17byccf/hackage-security-<IP_ADDRESS>/.cabal-sandbox
Downloading base16-bytestring-<IP_ADDRESS>...
Downloading base64-bytestring-<IP_ADDRESS>...
Downloading cryptohash-sha256-<IP_ADDRESS>...
Configuring base16-bytestring-<IP_ADDRESS>...
Configuring base64-bytestring-<IP_ADDRESS>...
Downloading ed25519-<IP_ADDRESS>...
Configuring cryptohash-sha256-<IP_ADDRESS>...
Downloading mtl-2.2.1...
Downloading network-<IP_ADDRESS>...
Configuring ed25519-<IP_ADDRESS>...
Configuring mtl-2.2.1...
Downloading tar-<IP_ADDRESS>...
Downloading text-<IP_ADDRESS>...
Configuring network-<IP_ADDRESS>...
Downloading zlib-<IP_ADDRESS>...
Configuring tar-<IP_ADDRESS>...
Building base16-bytestring-<IP_ADDRESS>...
Building base64-bytestring-<IP_ADDRESS>...
Configuring text-<IP_ADDRESS>...
Configuring zlib-<IP_ADDRESS>...
Building cryptohash-sha256-<IP_ADDRESS>...
Building ed25519-<IP_ADDRESS>...
Building mtl-2.2.1...
Building tar-<IP_ADDRESS>...
Building text-<IP_ADDRESS>...
Building zlib-<IP_ADDRESS>...
Installed base16-bytestring-<IP_ADDRESS>
Installed cryptohash-sha256-<IP_ADDRESS>
Installed base64-bytestring-<IP_ADDRESS>
Installed mtl-2.2.1
Installed ed25519-<IP_ADDRESS>
Building network-<IP_ADDRESS>...
Installed zlib-<IP_ADDRESS>
Installed tar-<IP_ADDRESS>
Installed network-<IP_ADDRESS>
Installed text-<IP_ADDRESS>
Downloading parsec-3.1.11...
Configuring parsec-3.1.11...
Building parsec-3.1.11...
Installed parsec-3.1.11
Downloading network-uri-<IP_ADDRESS>...
Configuring network-uri-<IP_ADDRESS>...
Building network-uri-<IP_ADDRESS>...
Installed network-uri-<IP_ADDRESS>
==> cabal install --jobs=64 --max-backjumps=100000 --prefix=/usr/local/Cellar/hackage-security/<IP_ADDRESS>
clang: warning: -Wl,-headerpad_max_install_names: 'linker' input unused
clang: warning: argument unused during compilation: '-L/usr/local/lib'
clang: warning: argument unused during compilation: '-L/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries'
Resolving dependencies...
Notice: installing into a sandbox located at
/private/tmp/hackage-security-20160605-96479-17byccf/hackage-security-<IP_ADDRESS>/.cabal-sandbox
Configuring hackage-security-<IP_ADDRESS>...
Building hackage-security-<IP_ADDRESS>...
Installed hackage-security-<IP_ADDRESS>
Error: Empty installation

For what it's worth, this is how we build cabal-install:
class CabalInstall < Formula
  desc "Command-line interface for Cabal and Hackage"
  homepage "https://www.haskell.org/cabal/"
  url "https://hackage.haskell.org/package/cabal-install-<IP_ADDRESS>/cabal-install-<IP_ADDRESS>.tar.gz"
  sha256 "d840ecfd0a95a96e956b57fb2f3e9c81d9fc160e1fd0ea350b0d37d169d9e87e"
  revision 1

  bottle do
    cellar :any_skip_relocation
    sha256 "8a7c7e1b9603df8770455d9cda8b98018591e8218971a2a73928aba122586ba7" => :el_capitan
    sha256 "5eec25c84652f5516e369f338945ea5a7807ae509680a752bf39c0c379374b40" => :yosemite
    sha256 "065cd05eeb2f0b5a1cde05c12dd3835af5bca08f5dea0beef6b63fcaeb330cce" => :mavericks
  end

  depends_on "ghc"

  fails_with :clang if MacOS.version <= :lion # Same as ghc.rb

  # disables haddock for hackage-security
  patch :p2 do
    url "https://github.com/haskell/cabal/commit/9441fe.patch"
    sha256 "5506d46507f38c72270efc4bb301a85799a7710804e033eaef7434668a012c5e"
  end

  def install
    system "sh", "bootstrap.sh", "--sandbox"
    bin.install ".cabal-sandbox/bin/cabal"
    bash_completion.install "bash-completion/cabal"
  end

  test do
    system "#{bin}/cabal", "--config-file=#{testpath}/config", "info", "cabal"
  end
end

Yeah, I'm not seeing any issue building those packages: https://gist.github.com/ilovezfs/427f6855c459a026404a8a1115589103
I'll see if I can reproduce the issue with stack.

Yeah, no problem building it with stack either: https://gist.github.com/ilovezfs/770826a53bfd5fd1e4e20601671d2908
But that's with
iMac-TMP:~ joe$ stack --version
Version 1.1.2 x86_64 hpack-0.14.0
So I bet you're right that it's just the older version of stack acting up.

OK it builds with newer binutils. It was just ld freaking out.
Everything looks good except this check: stack exec --no-ghc-package-path -- cabal install --only-d --dry-run. This is because I've given Stack a hint of which commit to use when building wai-cors, but cabal sees only what's on hackage. Once wai-cors bumps its version and updates hackage then this should pass. Hope that happens soon.

You could patch wai-cors for that as I'm already doing: https://github.com/Homebrew/homebrew-core/blob/master/Formula/postgrest.rb#L52-L57

If @larskuhtz can bump the version of wai-cors in the next few days then I'd rather wait for that instead of doing the patching which seems like added complexity. It's good to know how to do it though, thanks for showing me.

Oh, almost forgot about that. I am going to release a new version of wai-Cors today. Thanks for reminding me.

On Jun 6, 2016, at 10:19 AM, Joe Nelson<EMAIL_ADDRESS>wrote:
If @larskuhtz can bump the version of wai-cors in the next few days then I'd rather wait for that instead of doing the patching which seems like added complexity. It's good to know how to do it though, thanks for showing me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@larskuhtz I see you updated your repo and tagged the new version -- thanks! Could you push the new version to hackage too please?

Version 0.2.5 of wai-cors is now on hackage. Building the test-suite (with --enable-tests) may required passing --allow-newer=transformers, due to an upper bound on simple-sendfile.

On Jun 6, 2016, at 10:59 PM, Joe Nelson<EMAIL_ADDRESS>wrote:
@larskuhtz https://github.com/larskuhtz I see you updated your repo and tagged the new version -- thanks! Could you push the new version to hackage too please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/begriffs/postgrest/pull/619#issuecomment-224186539, or mute the thread https://github.com/notifications/unsubscribe/ABTm0itqSXO6qVAleoq_CnIGOEO2liN_ks5qJQi0gaJpZM4IqDBf.

Nice. Also looks like https://hackage.haskell.org/package/jwt pushed 0.7.2, so no need to patch that either.
@larskuhtz have you pestered simple-sendfile upstream about this yet?

no, since only the test-suites of wai-cors depend on it.

On Jun 6, 2016, at 11:46 PM, ilovezfs<EMAIL_ADDRESS>wrote:
Nice. Also looks like https://hackage.haskell.org/package/jwt https://hackage.haskell.org/package/jwt pushed 0.7.2, so no need to patch that either.
@larskuhtz https://github.com/larskuhtz have you pestered simple-sendfile upstream about this yet?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/begriffs/postgrest/pull/619#issuecomment-224194467, or mute the thread https://github.com/notifications/unsubscribe/ABTm0j6Qtn8XaWzoVuB5hozDIRqMcnAfks5qJRPBgaJpZM4IqDBf.

@begriffs I'm pretty that if you re-trigger CI, it will pass now :)

@begriffs FYI https://github.com/Homebrew/homebrew-core/pull/1776/files
Passes with flying colors :)

Woo hoo :green_apple:

Nice! Now that we know it builds with GHC 8 I'm going to tell Stack to use an LTS release again. The newest one is LTS-6.2 which is GHC 7.10.3, so I'll use that. Regular cabal builds like homebrew does will not be affected and can use GHC 8 if they want.

Hurray https://github.com/Homebrew/homebrew-core/pull/1892


Decoder AMP training loss blow up

Just pin my training issue:
when set amp = True, the decoder's loss(unet1 & unet2) blowed up to 1K+. [loss <0.01 when amp declined]
Just curious, does the half-precision training mode harm the DDPM training?

as a ref: https://wandb.ai/hcaoaf/dalle2-decoder/runs/3sb0pumh?workspace=user-hcaoaf

Config
Unets:
  Unet1:
    dim: 128
    image_embed_dim: 512
    text_embed_dim: 512
    cond_dim: 128
    channels: 3
    dim_mults: [1, 2, 3, 4]
    cond_on_text_encodings: True

  Unet2:
    dim: 64
    image_embed_dim: 512
    text_embed_dim: 512
    cond_dim: 128
    channels: 3
    dim_mults: [1, 2, 3, 4]
    cond_on_text_encodings: False

Decoder:
  image_sizes: [64, 256]
  timesteps: 1000
  image_cond_drop_prob: 0.1
  text_cond_drop_prob: 0.5
  condition_on_text_encodings: True
  # loss
  loss_type: 'l2'
  learned_variance: True
  # diff
  beta_schedule: 'cosine'
  predict_x_start: False
  predict_x_start_for_latent_diffusion: False # not to latent now
  lowres_downsample_first: True
  # blur
  blur_sigma: 0.1
  blur_kernel_size: 3
  clip_denoised: True
  clip_x_start: True

yea, i have some ideas about how to fix this (it could be the cross attention conditioning blocks)
may get to this next week, if i do not end up accepting a job offer that came my way (my open sourcing may come to an end, as the company is not favorable on it)

@CiaoHe how does it look without AMP? i also built in an unconditional feature for the decoder, so one can train it without cross attention conditioning

@CiaoHe i added an extra stability measure for the cross attention block - will get around to training the decoder next week (if i don't end up accepting this job offer that came my way :laughing: )

@CiaoHe also realized the default learning rate i had (3e-4) is a bit too high compared to Ho's original ddpm (2e-5)

worse comes to worse, i can bring in the cosine sim attention from SwinV2 for the cross attention blocks, if we diagnose that to be the issue

@CiaoHe how does it look without AMP? i also built in an unconditional feature for the decoder, so one can train it without cross attention conditioning (im guessing it is probably the attention blocks blowing up, so i added some additional normalization that should help)

here's w/o AMP.

@CiaoHe how high is your batch size? i just added built-in gradient accumulation, so you can try for higher batch sizes without OOM

@lucidrains  wow cool built-in grad-accum support.
Now, everything works fine (max-batch-size:32, total-batch-size:265, amp:True)

@CiaoHe hurray 🎊 🎉

I missed some msgs you replied in the github box. It will be a massive loss if u end up open source work.(ಥ_ಥ) But anyway hope you get a excellent experience!
获取Outlook for Androidhttps://aka.ms/AAb9ysg

From: Phil Wang @.>
Sent: Sunday, May 15, 2022 12:35:47 PM
To: lucidrains/DALLE2-pytorch @.>
Cc: He Cao @.>; Mention @.>
Subject: Re: [lucidrains/DALLE2-pytorch] Decoder AMP training loss blow up (Issue #97)
@CiaoHehttps://github.com/CiaoHe hurray 🎊 🎉
—
Reply to this email directly, view it on GitHubhttps://github.com/lucidrains/DALLE2-pytorch/issues/97#issuecomment-1126857560, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJJ3OE6FACGJRG7MS3NUQETVKB5KHANCNFSM5V54FYFA.
You are receiving this because you were mentioned.Message ID: @.***>


[CRITICAL] AttributeError: importlib.metadata.PackageMetadata.json does not exist in Python < 3.10

Package version: 2024.1.3
The importlib.metadata.PackageMetadata.json attribute, used in licensecheck.packageinfo._pkgMetadataGet does not exist in Python < 3.10 (whereas 3.9 and 3.8 are declared as supported versions).

Hey thanks for this. I'll revert asap once I'm back at my pc. Probably within the next couple of weeks

Fixed in #75 . Thanks again for reporting this!
Tested with py 3.11 and 3.8 - noticed another lower priority bugs too. Apologies for letting this slip through in the first place, I think I should investigate a testing pipeline as whilst I always run pytest locally, I havent got into the swing of running tox!

Just a follow-up so this sort of thing can be caught in future!


Fix deprecated function

use get instead of trans, which is deprecated in Laravel 6 (see https://laravel.com/docs/6.0/upgrade#trans-and-trans-choice
get was already available in Laravel 5, so it will work, too.

Ok, done.

@felixkiss the current release 3.3.0 is not working with Laravel 6:
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover

   BadMethodCallException  : Method Illuminate\Translation\Translator::trans does not exist.

  at /var/www/html/vendor/laravel/framework/src/Illuminate/Support/Traits/Macroable.php:104
    100|      */
    101|     public function __call($method, $parameters)
    102|     {
    103|         if (! static::hasMacro($method)) {
  > 104|             throw new BadMethodCallException(sprintf(
    105|                 'Method %s::%s does not exist.', static::class, $method
    106|             ));
    107|         }
    108|

  Exception trace:

  1   Illuminate\Translation\Translator::__call("trans")
      /var/www/html/vendor/felixkiss/uniquewith-validator/src/Felixkiss/UniqueWithValidator/ServiceProvider.php:19

  2   Felixkiss\UniqueWithValidator\ServiceProvider::boot()
      /var/www/html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:32

  Please use the argument -v to see more details.
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1

This pull request solves it and it would be great, if you can create a new release.
I don't want to rush, but maybe others have the same problem.
Thx

Thanks! Released as 3.3.1

Perfect!!! Thx


Update -dump--create-dump-file-.md

Updating the description of the "/f" flag for usermode dumps, which has not been supported for quite some time.

@TimMisiak - yes, looks like that "full" user mode dumps were removed a while back. Thanks for seeing this issue, and preparing a PR to fix the docs!


Partial upsert doesn't support new columns in the schema

We noticed that when a partial upsert enabled table is reloaded with a new column in the schema, the upsert behavior is not honored for the new column. This can be reproduced deterministically and the likely cause is described below:
We keep a list of columns which need to be updated in PartialUpsertHandler.
  // _column2Mergers maintains the mapping of merge strategies per columns.
  private final Map<String, PartialUpsertMerger> _column2Mergers = new HashMap<>();

This is initialized during RealtimeTableDataManager#doInit. However, it is not updated when we reload the table. This leads to the realtime engine not being aware of the new column. Hence, it will not handle upsert for this column. This new column will look the same as if the table didn't not have upserts.
Thus, as of today, any new column will be ignored in partial upsert. We need to be enhance partial upsert to handle new columns in the schema.
cc: @KKcorps @Jackie-Jiang

Related fix: #9777


Update for etcd v3

Add all the new config options for v3
Remove the checksums for old v2 versions
Default to 3.2.6
Add support for Amazon Linux
Fix Chef 14 deprecation warnings
Remove the execute service resource. Chef isn't an init system
Use the systemd_unit provider to manage the systemd_unit as it does validation and reloads automatically
Fix busted templates in the sys-v and upstart resources
Fix missing spec dir that failed delivery local mode
Use the default client / peer ports throughout

This should be ready today. Needs a tiny bit more love in the readme and tests and it's ready


Should we need to config the thread?How to improve it?

We have a  ubuntu server, 2 core, 2g memory.
I added a netty handler as the healthcheck handler  which just return the httpcode 200.
normally,  the new handler  can return the response in 10ms, even shorter.
but when the cpu bigger than 80%, the healthcheck is getting very slow, even longger 5 seconds.
I think the server shuld be slow only when the cpu  bigger than 160% at least.
should I adjust the thread config? how to do it?
Thank you very much!

I think the server shuld be slow only when the cpu bigger than 160% at least.

Have you seen how is GC works in these moment? I think the cause is in not enough memory

I have check it again.
My server have  2core cpu. 2g  memory,   jvm =1.3g
When I start 100 thread to send 1500 request to the netty sever.
the cpu only around 100%, memory around 30%. the health check handler is very slow.

How many GC major collections do you have in this moment?


Fixes #18: Change docker inspect query to use json formatting.

Using json formatting returns the value of .State.FinishedAt to the expected format.

+1


Improve and fix the carousal banner on the main page.

Hello contributers, I have noticed that the carousal banner is too large and covering the whole screen for certain devices, Can someone fix it to look amazing and responsive in all devices?

Yes I can do this, you may assign this to me....

Are you talking about this issue.......


[🐞]Building Prisma with Vercel-Edge generates compile errors

Which component is affected?
Qwik Runtime
Describe the bug
I created the starter app and added two integrations: Prisma and Vercel-Edge. Here is the sequence:

added Prisma integration, generated the Prisma client, and ran the sample - everything worked fine, locally.
added Vercel-Edige integration and ran 'pnpm run build'. Build FAILS with this error:

.prisma/client/index-browser" is imported by ".prisma/client/index-browser?commonjs-external", but could not be resolved – treating it as an external dependency.
error during build:
TypeError [PLUGIN_ERROR]: Invalid module ".prisma/client/index-browser" is not a valid package name imported from<EMAIL_ADDRESS>at new NodeError (node:internal/errors:399:5)
at parsePackageName (node:internal/modules/esm/resolve:817:11)
at packageResolve (node:internal/modules/esm/resolve:840:5)
at moduleResolve (node:internal/modules/esm/resolve:938:20)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36)
I've had this same problem with using npm (in another sample) and pnpm.
Reproduction
https://stackblitz.com/edit/qwik-starter-eyehgf?file=package.json
Steps to reproduce

added the starter package with 'npm create qwik-latest'.   => runs fine locally
added Prisma integration, generated the Prisma client, and ran the sample  => runs fine locally, able to use Prisma to add a user..
added Vercel-Edige integration and ran 'pnpm run build'. Build FAILS with this error:

.prisma/client/index-browser" is imported by ".prisma/client/index-browser?commonjs-external", but could not be resolved – treating it as an external dependency.
error during build:
TypeError [PLUGIN_ERROR]: Invalid module ".prisma/client/index-browser" is not a valid package name imported from<EMAIL_ADDRESS>at new NodeError (node:internal/errors:399:5)
at parsePackageName (node:internal/modules/esm/resolve:817:11)
at packageResolve (node:internal/modules/esm/resolve:840:5)
at moduleResolve (node:internal/modules/esm/resolve:938:20)
at defaultResolve (node:internal/modules/esm/resolve:1153:11)
at nextResolve (node:internal/modules/esm/loader:163:28)
at ESMLoader.resolve (node:internal/modules/esm/loader:838:30)
at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18)
at ModuleWrap. (node:internal/modules/esm/module_job:77:40)
at link (node:internal/modules/esm/module_job:76:36)
I've had this same problem with using npm (in another sample) and pnpm.
System Info
Mac OS Ventura
Chrome browser
VS Code

Additional Information
Note: this is not really Qwik runtime - but I could not figure out what category the issue falls in.

Prisma is well known for not working well in edge, unfortunately, not the best choice to deploy in edge

But going to look into the error

https://www.prisma.io/blog/database-access-on-the-edge-8F0t1s1BqOJE

thanks - I know about the cautions with Prisma and the edge and will likely abandon it - just thought you should know about this problem.
BTW: the same problem occurs with the CloudFlare Pages adapter.
I forgot to note this nuance. Build works with the dependency but as soon as you add a call (let prisma = new PrismaClient()) the compile error surfaces.

I have the same problem with the Netlify adapter.
Error:
7:18:32 PM: ".prisma/client/index-browser" is imported by ".prisma/client/index-browser?commonjs-external", but could not be resolved – treating it as an external dependency.
7:18:32 PM: error during build:
7:18:32 PM: TypeError [PLUGIN_ERROR]: Invalid module ".prisma/client/index-browser" is not a valid package name imported from<EMAIL_ADDRESS>7:18:32 PM:     at new NodeError (node:internal/errors:399:5)
7:18:32 PM:     at parsePackageName (node:internal/modules/esm/resolve:722:11)
7:18:32 PM:     at packageResolve (node:internal/modules/esm/resolve:745:5)
7:18:32 PM:     at moduleResolve (node:internal/modules/esm/resolve:843:20)
7:18:32 PM:     at defaultResolve (node:internal/modules/esm/resolve:1058:11)
7:18:32 PM:     at nextResolve (node:internal/modules/esm/loader:163:28)
7:18:32 PM:     at ESMLoader.resolve (node:internal/modules/esm/loader:835:30)
7:18:32 PM:     at ESMLoader.getModuleJob (node:internal/modules/esm/loader:416:18)
7:18:32 PM:     at ModuleWrap. (node:internal/modules/esm/module_job:76:40)
7:18:32 PM:     at link (node:internal/modules/esm/module_job:75:36)

Same error on deno adapter as well

Adding this to my vite.config.ts seems to fix it for me:
resolve: {
  alias: {
    ".prisma/client/index-browser": "./node_modules/.prisma/client/index-browser.js"
  }
},

Adding this to my vite.config.ts seems to fix it for me:
resolve: {
  alias: {
    ".prisma/client/index-browser": "./node_modules/.prisma/client/index-browser.js"
  }
},

This configuration solves the build error, but prisma isn't working as expected at runtime.

It does seem to work fine, although I haven't tested it thoroughly.
However, I do get an error when deploying to Vercel, Netlify or Cloudflare Pages (looks like PrismaClient runs from the browser for some reason), see this comment. Not sure if it has to do with this fix

@ruheni can you help us with this issue pls?

Adding this to my vite.config.ts seems to fix it for me:
resolve: {
  alias: {
    ".prisma/client/index-browser": "./node_modules/.prisma/client/index-browser.js"
  }
},

This fixes only the app build, but when deploying the Vercel app it crashes again.

Prisma has a well known issue with edge function. There is an issue in their repository
https://github.com/prisma/prisma/issues/18763
Let's monitoring it.

Which component is affected?
Qwik Runtime
Describe the bug
I created the starter app and added two integrations: Prisma and Vercel-Edge. Here is the sequence:

added Prisma integration, generated the Prisma client, and ran the sample - everything worked fine, locally.
added Vercel-Edige integration and ran 'pnpm run build'. Build FAILS with this error:

.prisma/client/index-browser" is imported by ".prisma/client/index-browser?commonjs-external", but could not be resolved – treating it as an external dependency. error during build: TypeError [PLUGIN_ERROR]: Invalid module ".prisma/client/index-browser" is not a valid package name imported from<EMAIL_ADDRESS>at new NodeError (node:internal/errors:399:5) at parsePackageName (node:internal/modules/esm/resolve:817:11) at packageResolve (node:internal/modules/esm/resolve:840:5) at moduleResolve (node:internal/modules/esm/resolve:938:20) at defaultResolve (node:internal/modules/esm/resolve:1153:11) at nextResolve (node:internal/modules/esm/loader:163:28) at ESMLoader.resolve (node:internal/modules/esm/loader:838:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18) at ModuleWrap. (node:internal/modules/esm/module_job:77:40) at link (node:internal/modules/esm/module_job:76:36)
I've had this same problem with using npm (in another sample) and pnpm.
Reproduction
https://stackblitz.com/edit/qwik-starter-eyehgf?file=package.json
Steps to reproduce

added the starter package with 'npm create qwik-latest'.   => runs fine locally
added Prisma integration, generated the Prisma client, and ran the sample  => runs fine locally, able to use Prisma to add a user..
added Vercel-Edige integration and ran 'pnpm run build'. Build FAILS with this error:

.prisma/client/index-browser" is imported by ".prisma/client/index-browser?commonjs-external", but could not be resolved – treating it as an external dependency. error during build: TypeError [PLUGIN_ERROR]: Invalid module ".prisma/client/index-browser" is not a valid package name imported from<EMAIL_ADDRESS>at new NodeError (node:internal/errors:399:5) at parsePackageName (node:internal/modules/esm/resolve:817:11) at packageResolve (node:internal/modules/esm/resolve:840:5) at moduleResolve (node:internal/modules/esm/resolve:938:20) at defaultResolve (node:internal/modules/esm/resolve:1153:11) at nextResolve (node:internal/modules/esm/loader:163:28) at ESMLoader.resolve (node:internal/modules/esm/loader:838:30) at ESMLoader.getModuleJob (node:internal/modules/esm/loader:424:18) at ModuleWrap. (node:internal/modules/esm/module_job:77:40) at link (node:internal/modules/esm/module_job:76:36)
I've had this same problem with using npm (in another sample) and pnpm.
System Info
Mac OS Ventura
Chrome browser
VS Code

Additional Information
Note: this is not really Qwik runtime - but I could not figure out what category the issue falls in.

I found a workaround and that is to deploy qwik with express on Vercel, without the Vercel-Edge adapter.

Could you try that and let us know if that works for you? See:
          I found out that this could be solved with 2 aliases, see my repro here: https://github.com/Jolg42/prisma-repro-21094

This is what worked for me:
https://github.com/Jolg42/prisma-repro-21094/blob/main/adapters/vercel-edge/vite.config.ts
import { vercelEdgeAdapter } from<EMAIL_ADDRESS>import { extendConfig } from<EMAIL_ADDRESS>import baseConfig from "../../vite.config";

export default extendConfig(baseConfig, () => {
  return {
    build: {
      ssr: true,
      rollupOptions: {
        input: ["src/entry.vercel-edge.tsx", "@qwik-city-plan"],
      },
      outDir: ".vercel/output/functions/_qwik-city.func",
    },
    plugins: [vercelEdgeAdapter()],
    resolve: {
      alias: {
        ".prisma/client/default": "./node_modules/.prisma/client/default.js",
        "./query_engine_bg.wasm?module": "./node_modules/.prisma/client/query_engine_bg.wasm?init",
      },
    },
  };
});

I found out about this in Vite's docs here https://vitejs.dev/guide/features#webassembly

Pre-compiled .wasm files can be imported with ?init.

Originally posted by @Jolg42 in https://github.com/prisma/prisma/issues/21094#issuecomment-2142474474

@Jolg42 I personally get a new error when doing this workaround:
ReferenceError: __dirname is not defined in ES module scope,
Seems because  __dirname is a CommonJS variable that is not available in ES module scope.

@PerfectedApp Did you try the reproduction repo I shared in my previous comment?
I guess that if you try that code it works?
It would be interesting if you could share and identify what is different in your config.

I found a solution for my end, but it seems it does need to be patched on Qwik City.
the opts["qwikCityPlanModulePath'}
needs to have added to it:
import { fileURLToPath } from 'url';
import { dirname } from 'path';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
And for resolve, as I'm using Turso sqlite:
resolve: {
alias: {
".prisma/client/default": "./node_modules/.prisma/client/index.js",

qwikCityPlanModulePath

me too both netlify and vercel


More Kyber AVX2-serialization documentation.

Can you rebase this onto #296 to avoid conflicts?

Done.


Integrate Piston Sandbox API

What Functionality Are You Suggesting?
https://github.com/dthree/node-piston
The Piston API allows us to run code in a sandboxed environment. I suggest adding a command
/run py
print("Hello World");

Which would return
Codeblock Result (ran in 2ms)
Hello World

Why Will This Benefit The Community?
It would allow members to run small codesnippets, instead of making a repl.
It would also allow members to test out certain snippets for quirks
/run js
[] == []

Codeblock Result (ran in 5ms)
false

Another solution could be implementing it into a modal

Closing due to lack of approval.


Stuck at step 5 of Getting Started of SharePoint Starter Kit v3

Please note that issues that do not follow this template will automatically be rejected.
Use the following form to submit ask a question related to this repo. If you have an issue related to the SharePoint Framework or its documentation, please submit the issue at https://github.com/SharePoint/sp-dev-docs/issues/new. This will help us respond to your issue faster.

Thank you for asking a question. We appreciate your feedback - to help the team to understand your needs, please complete the below template to ensure we have the necessary details to assist you.

Category

[x] I've connected to PnPOnline for our tenant but the next step says "Change to the provisioning folder found in this solution's root" which I have no idea how to do.  All Pre-reqs are done in SharePoint Admin Site as well.  I'm also confused as to why it's adding the webparts into a demoportal, demohr and demomarketing sites.

I literally just want to use the one "People Directory" webpart.  Is there an easier way to add this?  I added the Learning Center much more easily.  Can I just install the 1 webpart on its own?
Question

Provide as many details as possible to help the community answer your question.
(DELETE THIS PARAGRAPH AFTER READING)

Guidelines for issue creator (DELETE AFTER READING)

All questions are welcome, please let us know what's on your mind.
Remember that this repository is maintained by community members who volunteer their time to help. Be courteous and patient.
If you have technical questions about the framework, we’ll be monitoring #spfx, #spfx-webparts, and #spfx-tooling on (SharePoint StackExchange)> [http://sharepoint.stackexchange.com/]. You can also alternatively submit your question to (SharePoint Developer group)> [https://techcommunity.microsoft.com/t5/sharepoint-developer/bd-p/SharePointDev] in the Microsoft Tech Community.
Remember to include sufficient details and context.
If you have multiple suggestions or bugs please submit them in separate bugs so we can track resolution.
(DELETE THIS SECTION AFTER READING)

Thanks for your contribution! Sharing is caring.

Fantastic.  I've now installed and can add it as a webpart, however, it's including users I've never seen before (disabled accounts), service and admin accounts as well as sorting by last name.  Is it customizable to say only include active accounts, and change the sort?  Most Employees don't know user's last names so would always have to use the sort versus just finding their first name.
When you have a lot of staff turnover showing inactive accounts is a long, long list.

I found an old issue (https://github.com/pnp/sp-starter-kit/issues/246) about inactive accounts. The accounts showing in this webpart cannot be found in the search of Delve (as an example) so not sure what accounts this webpart is pulling.  These users are also set to Hide=Yes for the Global Address Book so shouldn't display anywhere.

I gave up and just created a new app in PowerApps which I have more control over.


Cleanup after devirtualization:

After we have a devirtualization opt run, we cleanup any retains/releases that are now dead.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci please benchmark

@swift-ci please benchmark.

@bro4all Did you push cmake-build-debug folder by mistake or is it intentionally?

@swift-ci please benchmark.

Performance (x86_64): -O

Regression
OLD
NEW
DELTA
RATIO

DropWhileArrayLazy
31
49
+58.1%
0.63x

DropWhileAnyCollectionLazy
38
45
+18.4%
0.84x (?)

PrefixSequenceLazy
23
26
+13.0%
0.88x (?)

PrefixSequence
23
26
+13.0%
0.88x (?)

Improvement
OLD
NEW
DELTA
RATIO

DropFirstSequence
29
24
-17.2%
1.21x (?)

DropFirstSequenceLazy
29
24
-17.2%
1.21x

DropWhileAnySeqCRangeIterLazy
45
38
-15.6%
1.18x (?)

DropWhileAnySeqCntRangeLazy
45
38
-15.6%
1.18x (?)

DropWhileCountableRangeLazy
49
44
-10.2%
1.11x (?)

Diffing.Similar
375
350
-6.7%
1.07x (?)

Code size: -O
Performance (x86_64): -Osize

Regression
OLD
NEW
DELTA
RATIO

DropFirstArrayLazy
13
26
+100.0%
0.50x

FlattenListLoop
961
1603
+66.8%
0.60x (?)

DropWhileAnySeqCntRange
99
139
+40.4%
0.71x (?)

DropWhileSequenceLazy
53
62
+17.0%
0.85x (?)

DropWhileAnySeqCRangeIter
112
130
+16.1%
0.86x (?)

DropWhileArrayLazy
44
49
+11.4%
0.90x (?)

Improvement
OLD
NEW
DELTA
RATIO

DropWhileArray
32
28
-12.5%
1.14x (?)

FlattenListFlatMap
4292
4007
-6.6%
1.07x (?)

Code size: -Osize
Performance (x86_64): -Onone
Code size: -swiftlibs

How to read the data
The tables contain differences in performance which are larger than 8% and
differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the
regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false
alarms. Unexpected regressions which are marked with '(?)' are probably noise.
If you see regressions which you cannot explain you can try to run the
benchmarks again. If regressions still show up, please consult with the
performance team (@eeckstein).

Hardware Overview
  Model Name: Mac mini
  Model Identifier: Macmini8,1
  Processor Name: 6-Core Intel Core i7
  Processor Speed: 3.2 GHz
  Number of Processors: 1
  Total Number of Cores: 6
  L2 Cache (per Core): 256 KB
  L3 Cache: 12 MB
  Memory: 32 GB

I was hoping there'd be more improvement here. I expected it to be similar to this benchmark: https://github.com/apple/swift/pull/31408#issuecomment-703129854 but it seems like this functionality may have been added elsewhere.
(Or maybe something weird with libswift?)


add support for external hostname options to be an array

working on https://github.com/ssb-js/multiserver/issues/62
This PR includes updates to the net and ws plugins to allow an array of external hostnames to be included in a scope. Some tweaks to the compose.js file to support it are included as well.

I read the changes, overall looks good I think. Just had a minor comment.
It would be really good if we can get CI working again. It's quite annoying not knowing if things passes or not. I'll have a look at that later today. It's unrelated to this PR as they were failing before.

Closing and opening to see if we can get some automated tests on this

This is fantastic. Thank you so much for taking on this tasks.

appreciate you walking me through it @arj03 :-)


RecyclerView jumps when adding items on the top

I have an autoloading (from top) list of items. When user scroll to top of the list - new items are added to the top.
I need to preserve the scroll position. The desired behaviour is to keep all the items as they are and add more items to top.
NOW when adding items to top - the list jumps a little up - thus placing the first item to the very top (not under header as it was).
Could you please fix this asap.
P.S. Thank you for the great library, works great.

I can take a look if you fork the repo and modify the sample to reproduce
the issue that you're describing.
On Mon, Oct 26, 2015, 6:08 AM Ermat Alymbaev<EMAIL_ADDRESS>wrote:

I have an autoloading (from top) list of items. When user scroll to top of
the list - new items are added to the top.
I need to preserve the scroll position. The desired behaviour is to keep
all the items as they are and add more items to top.
NOW when adding items to top - the list jumps a little up - thus placing
the first item to the very top (not under header as it was).
Could you please fix this asap.
P.S. Thank you for the great library, works great.
—
Reply to this email directly or view it on GitHub
https://github.com/timehop/sticky-headers-recyclerview/issues/93.

I have reproduced the issue in your sample project:
https://github.com/ealymbaev/sticky-headers-recyclerview/commit/b10c2134f63c18bcde075581663802af200ee755
The list now initially loads at the bottom. You need to scroll to the very top and wait for 3 seconds (I have used postDelayed). After that you will see that the list jumps up, instead of adding new items behind the sticky header.

@jacobtabak Could you please review this issue?

Yep, traveling this week though, I'll try to find time soon.
On Sun, Nov 1, 2015, 3:44 AM Ermat Alymbaev<EMAIL_ADDRESS>wrote:

@jacobtabak https://github.com/jacobtabak Could you please review this
issue?
—
Reply to this email directly or view it on GitHub
https://github.com/timehop/sticky-headers-recyclerview/issues/93#issuecomment-152812749
.

@ealymbaev sorry for the delay - is this still an issue for you?

@jacobtabak Yes, the issue is still the same. It would be great if you could resolve it asap.

@ealymbaev It seems to work as expected for me with the following additions. Note that item animators aren't really supported in this lib (#5)
recyclerView.setItemAnimator(null);
layoutManager.setStackFromEnd(true);

@jacobtabak Thank you very much. This really solves the issue.Indeed I had set all item animation durations to 0, instead of removing the item animator itself. My bad.

No problem, really sorry it took so long for me to look at it! It makes it
really easy when you fork the sample and reproduce the issue.
On Fri, Nov 13, 2015, 12:05 AM Ermat Alymbaev<EMAIL_ADDRESS>wrote:

Closed #93
https://github.com/timehop/sticky-headers-recyclerview/issues/93.
—
Reply to this email directly or view it on GitHub
https://github.com/timehop/sticky-headers-recyclerview/issues/93#event-463273614
.


bump nix to 0.28.0

Close #556

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

Project coverage is 81.8%. Comparing base (01460ef) to head (6c2df13).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #628   +/-   ##
=======================================
  Coverage    81.8%    81.8%
=======================================
  Files         851      851
  Lines      230238   230238
=======================================
+ Hits       188511   188517    +6
+ Misses      41727    41721    -6


Leading and trailing whitespace trimmed when generating DDL

System information:

Linux Mint 19.3 (Ubuntu 18.04.1)
DBeaver 6.3.4 and 6.3.5

Connection specification:

Microsoft SQL Server 2014
MS SQL Server / SQL Server (Old driver, jTDS)

Describe the problem you're observing:
When generating DDL, some leading and trailing whitepsace is being trimmed. When generating DDL for multiple objects at once, this leads to the generated DDL separating each object with a single blank line. In contrast, DBeaver version 6.3.3 preserved such whitespace, so the generated DDL had more obvious breaks between objects.
(This is important for us because we're exporting everything at once, then using a script to work around #5693 and break the big script into one script per object. Without the larger breaks between objects, the script can't reliably tell which object a leading or trailing comment belongs to.)
Steps to reproduce, if exist:

Create two or more views and add five or so blank lines at the start of each.
Select all the views in the Database Navigator.
Right-click and choose "Generate SQL → DDL".

In version 6.3.3, the blank lines are preserved. Starting with 6.3.4, they are trimmed and condensed into single blank lines.

thanks for the bug report

I think we'll keep trim. Because sometimes DDL contains a lot of leading/trailing whitespaces, especially when it is auto-generated by database engine (e.g. in Oracle).
For better readability I'll add comments before every object DDL + extra line feed

verified


escape the underscore

Otherwise weird things happen, and the underscore doesn't render like it should.

Whoops, thanks!


Error message in step 3 with Rook operator helm chart

Expected behavior
Ship continues to step 3
Actual behavior
Error message displayed:
execute render step: execute plan: execute templating: copy state value to tmp directory .ship/tmp/chartrendered: merge helm values: unmarshal base values: yaml: line 7: found character that cannot start any token

Information

Ship version:

"version": "0.41.0",
"git": "14db0e3",

Docker version: 18.06.2-ce
Command line run: ship init https://github.com/rook/rook/tree/v1.0.0/cluster/charts/rook-ceph

Steps to reproduce the behavior

Ship init  (Cloning and renaming of values.yaml.tmpl because of #930):

$ git clone https://github.com/rook/rook.git
$ mv rook/cluster/charts/rook-ceph/values.yaml.tmpl rook/cluster/charts/rook-ceph/values.yaml
$ ship init rook/cluster/charts/rook-ceph

open Browser
Step 2 (values): Change image -> tag to e.g. master
Step 3: Error message is displayed (see above)

@Timoses it looks like that values.yaml.tmpl might not quite be valid YAML just yet, we might need to run it through whatever preproccessor fills in those %%VERSION%% placeholders, before running ship. (Even though you've modified the values, we still store the original values for diffing, and those have to be valid yaml).
I think the best bet would be to just remove that %%VERSION%% from the values file before running ship init. You can leave it as a placeholder, or set it to the value you need.
As mentioned in #930 there are unfortunately a few manual steps here to get the Helm Chart to a valid state.

@Timoses another workaround is to fetch the released chart from the rook charts repo:
helm repo add rook-release https://charts.rook.io/release
helm fetch --untar rook-release/rook-ceph
ship init ./rook-ceph

Thanks for the info!
I'm closing this issue as the error message stated where the error appeared in a reasonable manner.


Add support for variations in author name (aliases)

Hi there,
I'm not sure this is a feature request as much as a general question...
I've upgraded to v4.9 and have played around with the new code (all smooth). But I have a question. I used to highlight my own name in the publications by simply using
author:
   - **G Baio**
   - A Colleague
   - N Surname

Now, it seems like the mark up with ** doesn't work anymore. I can have this to nearly work by doing
author:
   - admin
   - A Colleague

which would write my full name in bold, so something like

Gianluca Baio, A Colleague.

Is there a way to have only for the publications pages this formatted as

G Baio, A Colleague

(so only my first name initial --- not the full first name)?
Thank you!
Gianluca

Academic currently treats author names consistently throughout. Perhaps displaying names inconsistently across a site might not be best for user experience?
You can attempt to workaround the single name superuser highlighting if you wish by creating a user profile for each name variation of the superuser and adding superuser: true to the front matter of the new alias profile(s). The system is only designed to have one superuser, so there might be undesired effects.
Feel free to contribute an alias system if you wish.

Thank you @gcushen. I see your point --- it just feels a bit weird to use my full name, when the rest of the citations/publication list has the co-authors with only Initial/full Surname... I think the easiest way is to just post-process the public folder to modify the text to what I want (which I have done).
I'll see if I can come up with a better solution in terms of aliases and will come back to you if I do!
Thanks
Gianluca

In case it helps anyone else... Here's a solution that, I think, works OK. If you modify the page_metadata_authors.html file as
{{/* Display author list. */}}

{{- $taxonomy := "authors" }}
{{ with .Param $taxonomy }}
  {{ $link_authors := site.Params.link_authors | default true }}
  {{ range $index, $name_raw := . }}
    {{- $profile_page := site.GetPage (printf "/%s/%s" $taxonomy .) -}}
    {{- $name := $profile_page.Title | default $name_raw -}}

    {{- $name2 := replace $name " " "-" -}}
    {{- $first_name := split $name2 "-" | first 1  -}}
    {{- $surname := split $name2 "-" | last 1  -}}

    {{- if gt $index 0 }}, {{ end -}}

      {{- if and $profile_page $link_authors -}}

        {{- range first 1 $first_name -}}{{- substr . 0 1 }} {{ end -}}
        {{- range first 1 $surname -}}{{- .}}{{end}}
      {{- else -}}
        {{$name}}
      {{- end -}}

    {{- if isset $.Params "author_notes" -}}
      {{- with (index $.Params.author_notes $index) -}}
        (?)
      {{- end -}}
    {{- end -}}
  {{- end -}}
{{- end -}}

and of course place it under the layouts/partials/ then the output in the publications is formatted as G Baio instead of Gianluca Baio.
This may be very hacky as I am most certainly not the best Hugo programmer --- but it seems to do the job...
HTH


Resolves TF-479 (Unexpected tensor printing)

Updated ShapedArray.swift file.
This resolved TF-479 (Unexpected tensor printing).
Following is the result after the update :
2> import TensorFlow
3> let z: Tensor = [[[1,  2], [ 4,  5]], [[7,  8], [10, 11]]]
z: TensorFlow.Tensor =
[[[ 1.0,  2.0],
[ 4.0,  5.0]],
[[ 7.0,  8.0],
[10.0, 11.0]]]
4> print(z)
[[[ 1.0,  2.0],
[ 4.0,  5.0]],
[[ 7.0,  8.0],
[10.0, 11.0]]]

Closing due to intended behavior. Thanks @ksasi!


LiveReload doesn't happen on Firefox

... and instead logs this error message in the console:
The connection to ws://devd.io:8000/.devd.livereload was interrupted while the page was loading.

I did start a simple devd -ol ., using devd 0.2, from a folder hosting some static pages, and modified the css background to red. Expected result: background turns red. Actual: nothing, except the error message in the log.
May be related to this stackoverflow post and bugzilla#712329?

Hey. I've just committed a partial fix for this. Livereload of CSS now works in Firefox, but due to the bug you linked we can't silence the websocket error on console. It's a shame, but there you have it. I'll think about the best way to tackle this - it may be that moving to long-polling instead of websockets is the way to go.

Fantastic, thanks for the fast fix and the 0.3 release :+1: ! I confirm it now works both for html and css, and I confirm the error message mentioned in #24 still shows up, but I can live with that :) . Thanks again!


Issues/cat fixes

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs-conceptual/azurermps-6.8.1/azureps-vm-tutorial.yml
:white_check_mark:Succeeded
View (azurermps-6.8.1)

docs-conceptual/azurermps-6.8.1/context-persistence.md
:white_check_mark:Succeeded
View (azurermps-6.8.1)

docs-conceptual/azurermps-6.8.1/migration-guide.6.0.0.md
:white_check_mark:Succeeded
View (azurermps-6.8.1)

docs-conceptual/azurermps-6.8.1/release-notes-azureps.md
:white_check_mark:Succeeded
View (azurermps-6.8.1)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

#sign-off


Optimize node dispatching

We could try to reduce the number of .match() calls we are making by giving Rules to register certain types of nodes. This will eliminate the top level assert isinstance(node, <node type>) check from their side and made our refactor loop faster.

Now thinking about it, it doesn't seem to yield much in terms of performance since isinstance check is done no matter what :/ I'll re-open this if I can find a better way to solve this problem.


Trying to add to Ecency Vision

Trying to add to project results in an error.  After adding the module via yarn, I am told I don't have loaders I need from only including a symbol from the library.  Additionally I see these errors outputted on to the terminal:
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/filter.d.ts(10,15):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/filter.d.ts(10,26):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip21.d.ts(10,65):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip21.d.ts(14,19):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip21.d.ts(16,12):
TS2693: 'string' only refers to a type, but is being used as a value here.
ERROR in /home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip21.d.ts(18,20):
TS2339: Property 'DecodeResult' does not exist on type 'typeof import("/home/leprechaun/Source/ecency-vision-development/node_modules/nostr-tools/lib/nip19")'.

I found this happens for only including a line with nostr-tools. Maybe it is a typescript issue?


Consider adding KPConv (new state of art)?

🚀 Feature
New point conv layer from facebook research outperforming previous stat-of-arts on common datasets.
The paper is here. Code Link.
It would be great if KPConv could be included in this repo.

Thanks for sharing. I will try to add it ASAP.

is there any update on this?

Sadly no :(

Any updates?
Here is an implementation
https://github.com/nicolas-chaulet/deeppointcloud-benchmarks/tree/master/src/modules/KPConv

@tchaton, would you mind contributing your implementation?


WIP: Documentation Milestone

Description
Fixes #34
Type of change

[X] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[X] Documentation update

Hello @HarshCasper! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file metacall_jupyter/kernel.py:

Line 56:80: E501 line too long (81 > 79 characters)
Line 78:80: E501 line too long (92 > 79 characters)
Line 107:80: E501 line too long (88 > 79 characters)
Line 142:80: E501 line too long (92 > 79 characters)
Line 149:80: E501 line too long (98 > 79 characters)
Line 180:80: E501 line too long (98 > 79 characters)
Line 198:80: E501 line too long (95 > 79 characters)
Line 259:80: E501 line too long (109 > 79 characters)
Line 283:80: E501 line too long (98 > 79 characters)
Line 300:80: E501 line too long (100 > 79 characters)
Line 326:80: E501 line too long (97 > 79 characters)
Line 345:80: E501 line too long (115 > 79 characters)


WIP: MVP implementations & wiring

Currently a large WIP that needs a good amount of work.  Putting up as a draft so that we can start playing with builds.
As things start going slowly, I'll begin breaking the PR into chunks to have them added in.
Additionally, each "shared" view will need to have an explanation as to what purpose it serves, how to use it, and images showing what to expect it to look like.
I'll open up an issue in the morning where issues with the PR can be discussed.
Shared utility and layout views are being placed in the Blish_HUD.Common.UI namespace.

that was an accident


Label markup does not respect disabled_color alpha

from kivy.app import App
from kivy.lang import Builder

kv = """
<Lab@Label>:
    size_hint_y: None
    height: dp(200)
    font_size: dp(100)
    text: 'DIRTY MARKUP'
    color: 0.4, 0.4, 0.45, 1
    disabled_color: self.color
    disabled: True

BoxLayout:
    orientation: 'vertical'
    Lab:
        markup: True
    Lab:
"""

class TestApp(App):
    def build(self):
        return Builder.load_string(kv)

if __name__ == '__main__':
    TestApp().run()

I wanna try fixing this! Any pointers on where to start looking @dessant ?

I think here https://github.com/kivy/kivy/blob/ab3c3fe52ce353d77e803f68b116c982f59aeef9/kivy/data/style.kv#L6.

I also had to fix it in order to answer your question. :stuck_out_tongue_closed_eyes:
https://github.com/kivy/kivy/commit/1d783c9c93e5083ca4aa9bc2e3b3e5f78639e0cd

Lol :stuck_out_tongue_closed_eyes:

@udiboy1209 it turns out that's not the right fix, and the issue also affects the color when the label is not disabled. If you're still into it, here is the new issue with an example to play with: https://github.com/kivy/kivy/issues/3959.


v-snip should not remove non-text content on CSS type

I wanted to make something like the above (this is with manually modified HTML). It appears that this is due to this line, which seems like it is only needed for the JS method, and can probably be removed here?

Thanks for posting the issue @carbotaniuman ! It actually cannot be removed here for one reason: The method is meant to be reactive and you are able to switch between methods freely. If you are switching from JS to CSS, the text in the HTML element needs to be restored fully as the JS method could have manipulated it. Would using JS method for this element solve the issue for you?

The JS element also.cuts off the image (the Japan flag there was manually added), so it wouldn't work for me. I'm not too familiar with how Vue directives and reactivity works, but would saving innerHtml be an option?

@carbotaniuman the solution for your case might be what you see in the demo with floated + js options checked https://ajobi.github.io/vue-snip/. If you follow the HTML structure in the demo, you should be able to achieve your desired result. Let me know how it went 👍


low training speed on S3DIS?

every epoch took about 6000 s , somgthing wrong?

how to predict single *.nii file if the  model trianing ends?

Hey @tangze5258. Sorry for the late reply. You can use the following mednextv1_predict instead of nnUNet_predict as in the example here for inference on single files.
I have never trained on S3DIS but the training speeds depend heavily on the CPU, type of storage the training data is on (HDD, SSD etc) and the GPU used. If you could tell me about your configuration, I could confirm whether this indeed is the issue.


[ArPow Tarball] Disable intermediate package unpack during inner build

When building a tarball using ArPow, the intermediate packages don't need to be unpacked in the inner build.  The inner build should be using the global package cache that has been built up from previous repo builds.

Completed with https://github.com/dotnet/installer/pull/10961


ReportOptions bug in develop. PR for v0.8.x?

Hi,

As documented here, we have a critical requirement for ReportOptions, however we are unable to use v1.0.dev15 in the develop branch.

We are currently using v0.8.3 and I'm afraid a lot of functionality would also break if we move to v1.0.dev15. We would also like to move to SP-API and refactor as necessary at that point.

For now we have made this work in v0.8.3 by going into site-packages and essentially modifying the code to the following, based on @GriceTurrble's PR #180 :

def request_report(self, report_type, start_date=None, end_date=None, marketplaceids=(), report_options=None):
    #report_options = report_options or {}
    data = dict(Action='RequestReport',
                ReportType=report_type,
                StartDate=start_date,
                EndDate=end_date,
                ReportOptions=report_options)
    data.update(utils.enumerate_param('MarketplaceIdList.Id.', marketplaceids))
    return self.make_request(data)

We are calling this using the following:
requestid = reports_api.request_report(report_type="_GET_MERCHANT_LISTINGS_ALL_DATA_", report_options='custom=true')

This works and is useful for us in the 0.8.x master branch and we are able to get the data required. It's not a great way to do this right now as we are modifying the package itself, and is difficult to redo each time we build our docker containers.

Could you help us with getting this on the master branch containing the 0.8.x version? We are happy to raise a PR as well.

Correcting issue for 1.0dev in PR #247.
0.8 version has no report_options available, and adding them would technically be a bump to a 0.9. Are you prevented from upgrading into the 1.0dev branch currently?

Yeah we were hoping to jump straight to SP-API, moving to 1.0 from 0.8.x would mean refactoring in quite a few places..


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/89537

Triggering TagBot for merged registry pull request
This extra notification is being sent because I expected a tag to exist by now, but it doesn't.
You may want to check your TagBot configuration to ensure that it's running, and if it is, check the logs to make sure that there are no errors.


Make thin-edge.io capable for running on low-footprint Linux distros

It would be cool to have thin-edge.io running on thin linux distros like alpine, debian-slim, etc. Current limitations are the systemd dependency as well as apt dependency. Thin linux OS are often not based on systemd and use alternative package managers like apk or even no one. Also the installation on plc systems is not easy due to these issues.
As an improvement and to get rid at least of the apt dependency, an installation script installing all needed (sub)dependencies for tedge and moquitto would be helpful.

This is covered by the new installation script and packages.
Check out the new install guide


Export/import playlist support

erela.js don't have function for export playlist into then load it when needed.

That's a very simple thing to implement, just look what values you need for Player and save to your preferred database

i think i just need the url, but im not sure will it have a performance issue when user load a big playlist (500-1k songs maybe)

i think i just need the url, but im not sure will it have a performance issue when user load a big playlist (500-1k songs maybe)

It's still fine, I've tested a spotify playlist quite 5k+ tracks, yeah, it will took a while to load, it depends on your lavalink how much it can load and ratelimit also.

okay thank you very much


incus: 6.5.0 -> 6.6.0

https://github.com/lxc/incus/releases/tag/v6.6.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

       > (finished: must succeed: incus admin init --minimal, in 1.97 seconds)
       > subtest: Container image can be imported
       > machine: must succeed: incus image import /nix/store/9740vmwys36c9i9nw1sk9qv24gzw0l0c-tarball/tarball/nixos-system-x86_64-linux.tar.xz /nix/store/9xnkfwani933jgjyfrf9gicp0715jzjs-nixos-lxc-image-x86_64-linux/nixos-lxc-image-x86_64-linux.squashfs --alias nixos
       > machine # Error: read unix @->/var/lib/incus/unix.socket: i/o timeout
       >
       > Test "Container image can be imported" failed with error: "command `incus image import /nix/store/9740vmwys36c9i9nw1sk9qv24gzw0l0c-tarball/tarball/nixos-system-x86_64-linux.tar.xz /nix/store/9xnkfwani933jgjyfrf9gicp0715jzjs-nixos-lxc-image-x86_64-linux/nixos-lxc-image-x86_64-linux.squashfs --alias nixos` failed (exit code 1)"
       > cleanup
       > kill machine (pid 10)
       > qemu-kvm: terminating on signal 15 from pid 7 (/nix/store/h3i0acpmr8mrjx07519xxmidv8mpax4y-python3-3.12.5/bin/python3.12)
       > (finished: cleanup, in 11.55 seconds)
       > kill vlan (pid 8)
       For full logs, run 'nix log /nix/store/ba50k8wjalh771747lnhbf6z8x334bna-vm-test-run-container-legacy-init.drv'.

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 346210

x86_64-linux

:white_check_mark: 2 packages built:

incus
incus.agent_loader

x86
/nix/store/1g43pqcjbpy08qnvqwcglp6lvjsycd27-vm-test-run-container-legacy-init
/nix/store/pgv8kcblq4cwhig4av5fga983zfxqznl-vm-test-run-container-systemd-init
/nix/store/y0kypvwh6jpfrsfch83svr9wb9rzm110-vm-test-run-incusd-options
/nix/store/dkrkqwkq771zwl29c1m99qx9y82w2hm3-vm-test-run-lxd-to-incus
/nix/store/cmp8cklg39qpsipzx9kp62k2ar3fch58-vm-test-run-incus-openvswitch
/nix/store/dh6rpnl8kdfch4zpz35hlfblmcaam8hm-vm-test-run-incus-socket-activated
/nix/store/law4h9imhg85z4sz6vx3dmvizqp6f2ww-vm-test-run-incus-storage
/nix/store/v3074lpjcc7k5a7dvrw74ald3fpccv1m-vm-test-run-incus-ui
/nix/store/nn5anbqy04vwaz77jxv9vgw4if3ngi8j-vm-test-run-incus-virtual-machine
aarch64
/nix/store/82j8zga99hk0wv3qy40nakvh9h9kdx1g-vm-test-run-container-legacy-init
/nix/store/04185yga2zrfrg0kbq3v986r70fh3fx6-vm-test-run-container-systemd-init
/nix/store/mh1m6h2fj8nkshfs6r8ins7l660ya2bv-vm-test-run-incusd-options
/nix/store/1w0yqla342bcpzd2mqhpliq16sri7jag-vm-test-run-lxd-to-incus
/nix/store/y01z0fa9ydgb0n01f50v9p2a3akgiilw-vm-test-run-incus-openvswitch
/nix/store/k18wvyf8x8rkrf3q5aiyvn3v4z5a58gw-vm-test-run-incus-socket-activated
/nix/store/6i72csyvnmzvjqc4qrfn42p6mkdgpjsc-vm-test-run-incus-storage
/nix/store/6890bd8bpvl8rwnwp77r0h116ywwnnd6-vm-test-run-incus-ui

The tests are much more important than a review of downstream packages :)


Update Ruby dependencies

This fixes a security vulnerability reported by GitHub's automatic detection tool.

This is the sort of thing you can just merge if tested


Consider empty strings in Param() as "not found"

I'm not totally sure about this, but @budparr has a theme where he in front matter (for archetype reasons) have:
- featured_image: ""

And when doing
{{ .Param "featured_image" }}

You will not get the desired effect of getting the image defined in site config. May be something to think about, but we should maybe fix archetypes to allow comments. Keep this as a reminder for a while ...

My initial reaction is to leave Param the way it is now.
What's the expected behavior in Bud's case?  Why can't we use {{ with .Param "featured_image" }}?

What's the expected behavior in Bud's case?

I was under the impression that it's sort of the equivalent of the following from the docs:
{{ .Params.featured_image | default .Site.Params.featured_image }}

@rdwatters is correct; his construction would work with less confusion in this case, but then again, having empty params scattered around seems like a messy ... mess, too, so.

It's true that the default only works when the field is gone completely, but it's inevitable that those empty params are going to be there when using an archetype.

but it's inevitable that those empty params are going to be there when using an archetype.

It's not inevitable. You could just ... delete it, but I get your point.
@fj may have some weight on this, as he reworked these methods some time ago.

Not to be argumentative, but the way I set up my sites (and the way I think others will be too in many cases) is to set up archetypes to be clues to an editor like forestry.io as to what fields to show in their interface. So, having those "fields" there, empty or no, is important. Every page needs to have a consistent set of fields whether or not any given field is being used.

So, having those "fields" there, empty or no, is important. Every page needs to have a consistent set of fields whether or not any given field is being used.

Agreed. I find I always put the empty string for the value since the generator, if my memory serves, will otherwise put a nil value.

A cleaner solution may be to not put empty strings into the params map when we read the front matter.

How crazy does it sound to beef up the default function instead since it's a more intuitive syntax and also used in other templating languages?
For example, allowing just a default declaration (i.e., without a passed value) to point to the respective  .Params in config?

{{ .Params.featured_image | default .Site.Params.featured_image }} should work as expected when defined but empty.  @budparr, is this your use case?
@bep, if we don't put the keys in the map, will .Params.featured_image give an index error?
Having empty strings in the Params map is fine with me.  Can we detect the difference between key:  and key: "" (nil vs "").  If I put key: "" in my front matter, I would expect to find it in the Params map as an empty string.

@moorereason Yes. I just tested that and it works.

@bep, I think we can close this issue.  The solution is to use
featured_image:

instead of
featured_image: ""

In that case, the {{ .Params.featured_image | default .Site.Params.featured_image }} construct works as expected.

In that case, the {{ .Params.featured_image | default .Site.Params.featured_image }} construct works as expected.

Not sure how that applies to this particular issue?

I would like to close this issue. The .Param method on .Page was designed to return the value associated with a given key, regardless of whether the value is truthy or falsy.
To ignore falsy values, use this construct instead:
{{ or .Params.foo site.Params.foo }}

I recently updated https://gohugo.io/functions/param/, including the example above.

I would like to close this issue. The .Param method on .Page was designed to return the value associated with a given key, regardless of whether the value is truthy or falsy.

No, the .Param was designed to return the value in Page front matter for a given key if set, else fall back to the site.Params value.

I'm not sure where  the disagreement is. Please let me know if the updated documentation is incorrect:
< https://gohugo.io/functions/param/>