text:
Let x11docker set the best resolution for the container.

See the following screenshot, I want to know if x11docker will pick the best resolution of the container automatically:

Regards,
HZ

Will this option set a fixed size, as shown below:
$ x11docker|grep -- --size
     --size=WxH        Screen size of new X server (e.g. 800x600).

Just set one one that fits your needs.
The best size is a question of personal preference.
The Xephyr window will be resizeable, not fixed.

Is it possible to use a resolution larger than the display?  For example, if I want to test a game at 4k but only have a 1080p monitor?

I've answered here: https://github.com/mviereck/x11docker/issues/502

source: gharchive/issue

authors: hongyi-zhao mviereck tripzero

license: mit

license_type: permissive

license_source: bigquery


text:
remove code for HealthCheck as a monitor that should have been remove…

…d in a previous PR

Missed this code.. hope Im right this time ;)

source: gharchive/pull-request

repo: mvno/Okanshi


text:
Revert 204 endpoint changes

Reverts changes from https://github.com/mxenabled/openapi/pull/57

:shipit:

authors: brettmortensen cerinman

repo: mxenabled/openapi

license: MIT

license_source: github-api


text:
Error when a team is not found (Different Home and Away Odds Length)

Hey Mate, Love the code and would like to explain it for Betfair. I have found when one of the sites doesn't have the team odds then the length and index of the home and away odds table don't match there is an exception.
Traceback (most recent call last):
File "C:\Users\benwa\Documents\arbitrage-betting-bot\src\main.py", line 78, in
main()
File "C:\Users\benwa\Documents\arbitrage-betting-bot\src\main.py", line 75, in main
tabulate_data(team_dict)
File "C:\Users\benwa\Documents\arbitrage-betting-bot\src\main.py", line 44, in tabulate_data
opp = round((1/home_odds[i] + 1/away_odds[i]) * 100, 3)
~~~~~~~~~^^^
IndexError: list index out of range
This is link to this issue:
Running for Sportsbet
[24932:19388:0114/145142.559:ERROR:cert_verify_proc_builtin.cc(705)] CertVerifyProcBuiltin for cdn.outbound.io failed:
----- Certificate i=0 (CN=ssl765948.cloudflaressl.com) -----
ERROR: Time is after notAfter
[7196:10228:0114/145142.561:ERROR:ssl_client_socket_impl.cc(975)] handshake failed; returned -1, SSL error code 1, net_error -200

Hey Benjamen, thanks for letting me know about this and I'm glad that this can be of use to you!  I will add functionality for Betfair (+ other bookies) when I revisit this project in a little while. Regarding issues with index errors (should've used try catch blocks oops), it's usually being caused by websites displaying live odds which sometimes messes up the data tabulation. Are you running into this issue in the above scenario, or is it something completely separate?
WIth the second error message, looking like an SSL verification issue. That might be a byproduct of something wrong with scraping, I'm really not sure. Let me do some testing and see if I can recreate this behaviour. Thanks for giving me a headsup!

Correct about the Live Odds, i think as it's the NBA games are on right now. Awesome. Let me know if i can help with anything

If it's because of the live odds, I think I have a fix figured out. Shouldn't take me too long, thanks for the headsup.

No worries, Just to clarify I think SPORTSBET is the SSL issue causing the different the Home and Away Odds Lengths (so i have
commented out on my copy)  and then for POINTSBET i think is a live odd issue - see below (as this was not an issue before the game) :
Running for Pointsbet
Traceback (most recent call last):
File "C:\Users\benwa\Documents\arbitrage-betting-bot\src\main.py", line 81, in
main()
File "C:\Users\benwa\Documents\arbitrage-betting-bot\src\main.py", line 74, in main
redirector_function(driver, bookie_info, team_dict)
File "C:\Users\benwa\Documents\arbitrage-betting-bot\src\main.py", line 25, in redirector_function
find_pointsbet_odds(driver, team_dict, bookie_url)
File "C:\Users\benwa\Documents\arbitrage-betting-bot\src\find_odds.py", line 90, in find_pointsbet_odds
if team_dict[team_name][0] < betting_odds:
~~~~~~~~~^^^^^^^^^^^
KeyError: 'Orlando Magic'

Yep the tool should work fine before any games start (though betfair seems to have issues on occasion since sometimes they 'feature' games?). I know Sportsbet also offers live odds, so I'll look into a fix for both.

That's great thank you.


text:
Handling re-caching after new application version deployment?

I found myself deploying code to production today and not seeing any updates in the application, only after I deleted all cache in the website I was able to see my changes leading to my question. What is correct way to handle re-cache of the website when new feature is deployed to production?

Well the one thing you really want to uncache is the index.html file. Since it references the new files, once users get the new version of that they'll have the new version of the app.
Not sure if that answers the question? I guess an automatic setup would be nice but that strongly depends on how you deploy…

@mxstbr Sure thing, but I'm just thinking of how to actually achieve it, i.e. assume deployment to heroku for example, what can the steps / places be where I'd need to do un-caching? is it on the serverside or can I do it during build?

I ran into similar issues when using this boilerplate for an application served as static pages. The offline plugin made browsers run the scripts from the cached worker rather than grabbing a new one from the host (until I manually cleared them from the browser cache); even if each item in the build had a hashed name and the CDN was configured for a short cache period.

That should definitely not happen! @NekR any ideas?

Well, this question is raised each month or so. Here is the answer: https://github.com/NekR/offline-plugin/blob/master/docs/updates.md
If that doc doesn't help, please provide detailed steps about how you are trying to update website. All steps, e.g. what you do with build and what you do with browser.

I'm facing the same issue with my project. For some reason, index.html doesn't get updated. I always end up loading the old version of it, which points to a different main.<hash>.js than what have been generated during the latest build. I always have to do an Empty cache and hard reload on Chrome in order to get the correct version.

Again, this doesn't help without details. All what you describe is a
problem in general which could even not a problem, but just understanding.
Please if you post in this thread, confirm that you read mentioned doc and
steps described there didn't help you. Thanks.
On Aug 17, 2016 2:31 PM, "maheffa" notifications@github.com wrote:

I'm facing the same issue with my project. For some reason, index.html
doesn't get updated. I always end up loading the old version of it, which
points to a different main..js than what have been generated during
the latest build. I always have to do an Empty cache and hard reload on
Chrome in order to get the correct version.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mxstbr/react-boilerplate/issues/852#issuecomment-240385321,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABIlkQw_E39EKrZ_PhOZTFWDeqbnDoUMks5qgvD2gaJpZM4JhMuZ
.

@mxstbr

Well the one thing you really want to uncache is the index.html file. Since it references the new files, once users get the new version of that they'll have the new version of the app.

I don't think it's the issue. HTML files might be cached and it's totally fine.

@mxstbr should we close this?

Since you said this question is raised every month or so, would it make sense for there to be even just a small note in the documentation for react-boilerplate to seek out the documentation for offline-plugin?
While finding the library documentation is an obvious next-step for more experienced developers, it might reduce the redundant questions, if nothing else?

@elswenson it probably makes sense, but it's up to this' repo maintainers to add it or not. If there is a FAQ or Notes section somewhere here, when that would be perfect place for such a note.

Yeah sure, there is a FAQ! A PR adding this to the FAQ would be much appreciated :+1:

@mxstbr if I'll have time, too much to handle already 🙂

@mxstbr Well the one thing you really want to uncache is the index.html file. Since it references the new files, once users get the new version of that they'll have the new version of the app.

@NekR I don't think it's the issue. HTML files might be cached and it's totally fine.

@NekR if I'll have time, too much to handle already

@NekR Could you provide a rough outline of what you had in minder to add to the FAQ? Then others can polish it up and open a PR. - Thanks

@gihrig I meant something like this: "Your production site isn't working? You update the code and nothing changes? It drives you insane? Here is the answer -- https://github.com/NekR/offline-plugin/blob/master/docs/updates.md"

@NekR That's perfect, thanks!
@Vadorequest Would you like to open a PR with these changes to FAQ.md ?

@gihrig Done at https://github.com/mxstbr/react-boilerplate/pull/1081

FAQ updated.
Thanks @Vadorequest 🎉

authors: IljaDaderko NekR Vadorequest elswenson gihrig maheffa mxstbr

repo: mxstbr/react-boilerplate


text:
Update .travis.yml

Simplify and make travis go faster

Thanks!

authors: lowks my-flow

repo: my-flow/raftex


text:
@Intercepts PROCEDURE: throws ClientAbortException: java.io.IOException: Broken pipe

I just want to get the SQL-execute-time
MyBatis version
3.2.8
Database vendor and version
Oracle 12c
Test case or example project
Steps to reproduce
@Intercepts({
        @Signature(type = Executor.class, method = "query", args = {MappedStatement.class, Object.class, RowBounds.class, ResultHandler.class}),
        @Signature(type = Executor.class, method = "update", args = {MappedStatement.class, Object.class})
})
public class SqlInterceptor implements Interceptor {
	protected Logger logger = Logger.getLogger(SqlInterceptor.class);

    @Override
    public Object intercept(Invocation invocation) throws Throwable {
        long start = System.currentTimeMillis();
        Object result = invocation.proceed();
        long end = System.currentTimeMillis();
        long timing = end - start;
        logger.debug("sql-exe-time:[" + timing + "]ms");
        return result;
    }

    @Override
    public Object plugin(Object target) {
        if (target instanceof Executor) {
            return Plugin.wrap(target, this);
        }
        return target;
    }

    @Override
    public void setProperties(Properties properties) {
    }
  }

then call procedure in mybatis
{call PROCEDURE_NAME(?,?)}

Expected result
log> sql-exe-time[xxx]ms
Actual result
org.apache.catalina.connector.ClientAbortException: java.io.IOException: Broken pipe
	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:393)
	at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:426)
	at org.apache.catalina.connector.OutputBuffer.doFlush(OutputBuffer.java:342)
	at org.apache.catalina.connector.OutputBuffer.flush(OutputBuffer.java:317)
	at org.apache.catalina.connector.CoyoteOutputStream.flush(CoyoteOutputStream.java:110)
	at com.fasterxml.jackson.core.json.UTF8JsonGenerator.flush(UTF8JsonGenerator.java:1042)
	at com.fasterxml.jackson.databind.ObjectMapper.writeValue(ObjectMapper.java:2242)
	at org.springframework.http.converter.json.AbstractJackson2HttpMessageConverter.writeInternal(AbstractJackson2HttpMessageConverter.java:231)
	at org.springframework.http.converter.AbstractHttpMessageConverter.write(AbstractHttpMessageConverter.java:208)
	at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:186)
	at org.springframework.web.servlet.mvc.method.annotation.AbstractMessageConverterMethodProcessor.writeWithMessageConverters(AbstractMessageConverterMethodProcessor.java:125)
	at org.springframework.web.servlet.mvc.method.annotation.RequestResponseBodyMethodProcessor.handleReturnValue(RequestResponseBodyMethodProcessor.java:185)
	at org.springframework.web.method.support.HandlerMethodReturnValueHandlerComposite.handleReturnValue(HandlerMethodReturnValueHandlerComposite.java:71)
	at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:126)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:775)
	at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
	at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:858)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:843)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:85)
	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at com.alibaba.druid.support.http.WebStatFilter.doFilter(WebStatFilter.java:123)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:219)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
	at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1526)
	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1482)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:745)

Caused by: java.io.IOException: Broken pipe
	at sun.nio.ch.FileDispatcherImpl.write0(Native Method)
	at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:47)
	at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:93)
	at sun.nio.ch.IOUtil.write(IOUtil.java:65)
	at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:471)
	at org.apache.tomcat.util.net.NioChannel.write(NioChannel.java:127)
	at org.apache.tomcat.util.net.NioBlockingSelector.write(NioBlockingSelector.java:101)
	at org.apache.tomcat.util.net.NioSelectorPool.write(NioSelectorPool.java:172)
	at org.apache.coyote.http11.InternalNioOutputBuffer.writeToSocket(InternalNioOutputBuffer.java:139)
	at org.apache.coyote.http11.InternalNioOutputBuffer.addToBB(InternalNioOutputBuffer.java:197)
	at org.apache.coyote.http11.InternalNioOutputBuffer.access$000(InternalNioOutputBuffer.java:41)
	at org.apache.coyote.http11.InternalNioOutputBuffer$SocketOutputBuffer.doWrite(InternalNioOutputBuffer.java:320)
	at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutputFilter.java:93)
	at org.apache.coyote.http11.AbstractOutputBuffer.doWrite(AbstractOutputBuffer.java:256)
	at org.apache.coyote.Response.doWrite(Response.java:503)
	at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java:388)
	... 51 more

thank you :)

Hi @zhoufan879, Cloud you provide a repro project on GitHub ?

Hi @zhoufan879, I have one question. When you not apply the SqlInterceptor, is it work fine ?

Hi @kazuki43zoo  yes, when i not apply the SqlInterceptor,  it is work fine !

Hi @zhoufan879 , thanks for reply ! !
I need a repro project for investigating this issue.

@zhoufan879
And ...
Could you provide information of execution environments and versions (OS, Java, Application Server, etc...) ?

i get this question, the error is my env - sentos :)

thank you @kazuki43zoo

Handle like
catch (IOException e) {
if (!(StringUtils.containsIgnoreCase(ExceptionUtils.getRootCauseMessage(e), "Broken pipe"))) {
LOGGER.error("Your Error Message", e);
}
}


text:
one

two

Coverage decreased (-0.08%) to 87.253% when pulling fc184437b6bfc84638f094e65128add1d476c7a4 on Doc-Qu:master into 17ae4de75d3ba18b3938c9e833ede0c6ebdbb965 on mybatis:master.

Coverage decreased (-0.08%) to 87.253% when pulling fc184437b6bfc84638f094e65128add1d476c7a4 on Doc-Qu:master into 17ae4de75d3ba18b3938c9e833ede0c6ebdbb965 on mybatis:master.

authors: Doc-Qu coveralls


text:
Updating Airbus A350-1000 Sunrise

Seats ajusted to 238 as cited on https://www.qantas.com/au/en/about-us/our-company/fleet/new-fleet/project-sunrise.html#:~:text=Settle into our spacious%2C ergonomically,service%2C only 238 in total.
Fuel consumption changed to represent 75 % of Airbus A350-1000 according to https://safariindia.com/aviation-industry/qantas-new-a350-1000s-for-project-sunrise-will-have-40-percent-premium-seats-6595688
Discussions happened on Discord channel mfc-the-game, i've pointed out that It's still a pretty frange aircraft that cost 86 %(calculated with 238 pax) more than the regular version per pax. 25 % fuel economy (real) doesn't seems unbalanced.

Updated to New version.

Will do a holistic plane model review shortly. Feel free to open a general feedback thread. Probably biggest priority is to make the SSTs slightly less profitable but open to other tweaks too.

repo: myflyclub/airline


text:
Error 500 after upgrading to v3.0.0

Got a update in WordPress to upgrade (from 2.x) to 3.0.0, got error
7026#0: *382570 FastCGI sent in stderr: "PHP message: PHP Warning: require_once([..]/httpdocs/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-frontend-settings.php): failed to open stream: No such file or directory in [..]/httpdocs/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-frontend.php on line 66

PHP message: PHP Fatal error: require_once(): Failed opening required '[..]/httpdocs/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-frontend-settings.php' (include_path='.:/opt/plesk/php/7.2/share/pear') in [..]/httpdocs/wp-content/plugins/woocommerce-myparcel/includes/class-wcmp-frontend.php on line 66" while reading response header from upstream

Removed the plugin, tried installing it again, same error ..
Any help?

Downloaded the ZIP file from WordPress Plugins, it included every file, except the class-wcmp-frontend-settings.php
/includes/class-wcmp-admin.php
/includes/class-wcmp-api.php
/includes/class-wcmp-assets.php
/includes/class-wcmp-export.php
/includes/class-wcmp-frontend.php
/includes/class-wcmp-nlpostcode-fields.php
/includes/class-wcmp-rest.php
/includes/class-wcmp-settings-callbacks.php
/includes/class-wcmp-settings.php

Can you fix this @RichardPerdaan

Hi @nickurt,
Thank you for your massage.
This problem is fixed in version 3.0.1 of the MyParcel plugin.

authors: RichardPerdaan nickurt

repo: myparcelnl/woocommerce


text:
Show Feature list name or Raw file name in tab title

Ideally show that it's a feature table and then the name in a second line

Then we would need to change the label size also.
One thing would be to add a column header over the row types

Hello,
I agree that when you have several opened tabs, that might be easier to quickly find the one you want to see. However, I understand the problem with label size.
Maybe a tooltip when mouse-over?

How about this fix? #1053

good approach, but you still have to click on the table. two line header would be better imo

I dont really like it with a double line header. I think it will even further reduce the active working area... and its noisy because the strings are so long

Could be an option in the preferences though

you can make a new theme that has reduced tab height if it annoys you so much

:D I tried last time but you declined me

no you changed the pretty style and didnt make a new one

authors: SteffenHeu nic-Oban robinschmid


text:
onMouseUp event bug

Codepen: https://codepen.io/galabl/pen/qBKgLEG
Since onchange event is fired too often it's not really reliable for me to use it(it fires even if the value didn't change) I wanted to use the onMouseUp event but it doesn't fire every time.
For example, if you click and drag slider pointer, it can happen that the mouse pointer is not on top of the slider pointer sometimes, in that case, the mouse up event is not fired.
Could you please take a look at this.
Thanks.

The 'onchange' event should be fixed now in v4.0.25, It should only fire when value changes:
You can use it it with CDN:
https://cdn.jsdelivr.net/npm/toolcool-range-slider@4.0.25/dist/toolcool-range-slider.min.js
Codepen example:
https://codepen.io/mzusin/pen/qBJbYap

authors: galabl mzusin

repo: mzusin/toolcool-range-slider


text:
Usage

Hi,
Thank you for your component. I am trying to use it with my ESP32-CAM board.
I formatted the 8G micro-SD card using Fat32. I can get the picture of the camera, however the values of 'SD card used space', 'SD card free space', and 'SD card type' are 'unknown'. I am not sure what the issue is, might be a defective board or not.
Below is my yaml:
......

external_components:
  - source: github://n-serrette/esphome_sd_card

sd_mmc_card:
  id: esp_camera_sd_card
  mode_1bit: false
  clk_pin: GPIO14
  cmd_pin: GPIO15
  data0_pin: GPIO2
  data1_pin: GPIO4
  data2_pin: GPIO12
  data3_pin: GPIO13

esp32_camera:
  external_clock:
    pin: GPIO0
    frequency: 20MHz

  i2c_pins:
    sda: GPIO26
    scl: GPIO27
  data_pins: [GPIO5, GPIO18, GPIO19, GPIO21, GPIO36, GPIO39, GPIO34, GPIO35]
  vsync_pin: GPIO25
  href_pin: GPIO23
  pixel_clock_pin: GPIO22
  power_down_pin: GPIO32

sensor:
  - platform: wifi_signal
    name: '$hostname WiFi Signal'

  - platform: sd_mmc_card
    type: used_space
    name: "SD card used space"

  - platform: sd_mmc_card
    type: total_space
    name: "SD card total space"

text_sensor:
  - platform: sd_mmc_card
    sd_card_type:
      name: "SD card type"

The logs show that "Component sd_mmc_card is marked FAILED"
[15:19:39][C][sd_mmc_card:018]: SD MMC Component
[15:19:39][C][sd_mmc_card:019]: Mode 1 bit: 0
[15:19:39][C][sd_mmc_card:020]:   CLK Pin: GPIO14
[15:19:39][C][sd_mmc_card:021]:   CMD Pin: GPIO15
[15:19:39][C][sd_mmc_card:022]:   DATA0 Pin: GPIO2
[15:19:39][C][sd_mmc_card:024]:   DATA1 Pin: GPIO4
[15:19:39][C][sd_mmc_card:025]:   DATA2 Pin: GPIO12
[15:19:39][C][sd_mmc_card:026]:   DATA3 Pin: GPIO13
[15:19:39][C][sd_mmc_card:029]:   Used space 'SD card used space'
[15:19:39][C][sd_mmc_card:029]:     State Class: 'measurement'
[15:19:39][C][sd_mmc_card:029]:     Unit of Measurement: 'B'
[15:19:39][C][sd_mmc_card:029]:     Accuracy Decimals: 2
[15:19:39][C][sd_mmc_card:029]:     Icon: 'mdi:memory'
[15:19:39][C][sd_mmc_card:030]:   Total space 'SD card total space'
[15:19:39][C][sd_mmc_card:030]:     State Class: 'measurement'
[15:19:39][C][sd_mmc_card:030]:     Unit of Measurement: 'B'
[15:19:39][C][sd_mmc_card:030]:     Accuracy Decimals: 2
[15:19:39][C][sd_mmc_card:030]:     Icon: 'mdi:memory'
[15:19:39][C][sd_mmc_card:037]:   SD Card Type 'SD card type'
[15:19:39][E][component:082]:   Component sd_mmc_card is marked FAILED

Hi,
Thanks for your interest in this project.
After testing their is an issue with the component in 4 lane mode, I will look into it.
In the meantime, you can try the 1 bit mode wish seems to work as intended.

After some investigation it seems the issue come from the latest arduino framework version (>3.0.0), using  the version 2.0.17 solve the issue.
esp32:
  board: esp32dev
  framework:
    type: arduino
    version: 2.0.17

I will try to see what need to be done to migrate to the latest version of the arduino framework

After some investigation it seems the issue come from the latest arduino framework version (>3.0.0), using the version 2.0.17 solve the issue.
esp32:
  board: esp32dev
  framework:
    type: arduino
    version: 2.0.17

I will try to see what need to be done to migrate to the latest version of the arduino framework

Hi,
Thank you for your quick response.
It works after changing frame work to 2.0.17 manually. Now, I can get SD card information. I am going to try other functions.
Merry Holidays,

authors: holefrog n-serrette


text:
p2p: find mulitaddress based on a peer id

Very useful for dev experience. Want to enable this command:
iroh-ctl p2p dht find_peer PEERID

wait, isn't this just iroh p2p lookup? Can we close this?


text:
$feat : mint NFT for 0.01 ETH (goerli)

few

$feat #431

feat #431

$feat https://github.com/n1c01a5/my-first-app/issues/431

feat https://github.com/n1c01a5/my-first-app/issues/431

feat #307

$feat #307

feat #307

$feat https://github.com/n1c01a5/my-first-app/pull/307

I like pizza

I like pizza

license: ISC


text:
Origin: Legacy Of Nine Suns - Conquering System doesn't unlock Birch World

Requested by Ligraph on the steam workshop:
"I conquered an AI empire that started with Legacy of Nine Suns, but it didn't enable the Vast Expanses AP (gigstructures, for Birch World, I have the necessary tech). I'm fairly sure I remember it being enabled w/o discovering the core when I started with Nine Suns, is it not happening w/ conquest just an oversight?"
It could possibly be happening when entering the system for the first time.

Fixed with
8384f3b5887f66555a23b11e95a3bd099ae9cd08
and
989b8aaa997c071d685934891f4c0bb74e62fb6f


text:
Adds Zurb Foundation Menu Presenter

This commit adds a Zurb Foundation Framework Menu Presenter

Thank you! 👍

authors: kashifullahwebdeveloper nWidart

repo: nWidart/laravel-menus


text:
How to organise composer and configuration in modules

Just to start off, i think the package is excellent and is really helping me understand how to properly modularise my code in Laravel - great stuff!
I had a few questions with composer and the configuration of sub-modules and their dependency packages.
I'm using the module Media as an example to explain my problem.
(1) Composer
I have a module which uses some of it's own dependencies - I put them in the Module/Media/composer.json.  I then when building my project run it as follows - for example - spatie/laravel-medialibrary.  I am importing it in the Media/composer.json - I then run
cd Media
composer install
cd ..
composer install

I am then loading this, but a Trait then needs to be applied within the User model object which is in the root module - and it is erroring out as can't find the Spatie package above - does that mean I have to add the dependency in the parent as well as the Media package?  Is there anyway to force the root project to actually "import" the composer dependencies in the sub-modules to make life easier?  Is there something else I'm missing here?
(2) Configuration
As part of the Media sub-module I'm creating, it uses the spatie/laravel-medialibrary package which publishes a config file called media-library.php.  I have put this within the Media/Config/ folder to keep all the conifigurtion related to the Media library in one place.  Should this be how I specify it or should this be in the /rootproject/config directory?
I tried putting this in the Media/config directory then publishing this using
php artisan module:publish-config Media

but this exports the config for the Media module, and not the one exported from the external Spatie library
Am i doing something wrong here?
(3) Database Migrations
For the deployment process to a production environment, shoudl I be publishing the migrations from sub-modules to the root project or just running php artisan migrate to "in theory" run all migrations?
Any help here would be much appreciated.
Thanks in advance!
Moe

I'm having the same problem with loading dependencies from modules, on the module side it's working fine but it's not auto-discovering those dependencies even while manually registering those will give an error on the higher project level.
So what would be the best solution? I'll understand that laravel is having its own auto discovering process but if that's now conflicting what would be the best way to add dependencies for modules in the total project?

(1) Composer

You can extend User model from Main application in your's module and then implement necessary trait.

(2) Configuration

I use somethink like this in boot() method of module ServiceProvider:
public function publishConfig(): void
{
    $configPathTerminy = __DIR__ . '/../config/terminy.php';
    $configPathGeocoder = __DIR__ . '/../config/geocoder.php';

    if ($this->app->runningInConsole()) {
        $this->publishes([
            $configPathTerminy => config_path('terminy.php'),
        ], 'config');
    }

    $this->mergeConfigFrom($configPathTerminy, "terminy");
    $this->mergeConfigFrom($configPathGeocoder, "geocoder");
}

(3) Database Migrations

I define migrations in the ServiceProvider and then in Composer script of Main application:
"@php artisan vendor:publish --force --provider=\"Elceka\\Terminy\\TerminyServiceProvider\" --tag=migrations --tag=seeds --tag=assets --tag=config --ansi"

authors: elceka jaimyborgman moetanahy

repo: nWidart/laravel-modules


text:
Added is_flying Attribute to User Model

Based on feedback and conversations on discord. I added a isflying boolean.

@BossOfGames is this still active?

I would change this to use latest('updated_at'). In case there is a bugged/old PIREP.

Even with the change you suggest @nabeelio , there is still a risk of getting false positives. If there are broken pireps in the database, this will always return true because of the state check in where clause 😞
To avoid this maybe we can use the user's latest pirep only and return the result according to it's state. At least this will recude the risk to a single pirep being broken or not.
$pirep = Pirep::where('user_id' => $this->id)->latest('updated_at')->first();
return ($pirep->state === PirepState::IN_PROGRESS) ? true : false;

Similar logic can be implemented for aircraft too (maybe with some new enums defined, like BOOKED, BIDDED etc.)
And considering no replies since 5th March, I think OP does not follow or not interested in this change anymore.

authors: BossOfGames FatihKoz nabeelio

repo: nabeelio/phpvms


text:
forms and submissions tests

done

ready for review+merge

repo: nafundi/jubilant-garbanzo


text:
Plans to update for ChartJS 4.x?

Are there any plans to update so we don't keep seeing the warning in install that ChartJS 3.0 dependency is not found?
It works with 4.x as far as I can tell, and using --force on the install works, but it would make me feel more comfortable if this plugin was officially supporting 4.x. :)

Any updates on this?

Bumping this issue, I am using v4.2.1 of chart.js and cannot pass build process without using force, which isnt ok for production. Please provide timeline for this issue
"chart.js": "^4.2.1",
"chartjs-adapter-moment": "^1.0.1",
"chartjs-plugin-streaming": "^2.0.0",
"moment": "^2.29.4",

npm ERR! code ERESOLVE

npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: chartjs-plugin-streaming@2.0.0
npm ERR! Found: chart.js@4.2.1
npm ERR! node_modules/chart.js
npm ERR!   chart.js@"^4.2.1" from the root project
npm ERR!   peer chart.js@">=3.0.0" from chartjs-adapter-moment@1.0.1
npm ERR!   node_modules/chartjs-adapter-moment
npm ERR!     chartjs-adapter-moment@"^1.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer chart.js@"^3.0.0" from chartjs-plugin-streaming@2.0.0
npm ERR! node_modules/chartjs-plugin-streaming
npm ERR!   chartjs-plugin-streaming@"^2.0.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: chart.js@3.9.1
npm ERR! node_modules/chart.js
npm ERR!   peer chart.js@"^3.0.0" from chartjs-plugin-streaming@2.0.0
npm ERR!   node_modules/chartjs-plugin-streaming
npm ERR!     chartjs-plugin-streaming@"^2.0.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!

Same. would love to see this updated for 4.x. Thanks!

I am waiting for the next update of this package. It would be great to be able to use it in ChartJS 4.x environment. Thanks. :)

Is no one maintaining this repo any more? If anyone has a newer (and maintained) alternative, I'd be happy to switch.

Bump??

FYI: I found this forked repo for Chart.js V4.x , however I am unsure if it's legit or anything. Just wanted to let you guys know, will now try it myself.

Bump!

It would really be nice to have an update for this. I know it's on personal time!!!
Thank you1

thanks @MiriamJo, I've just successfully upgraded an Angular 17 project to use chart.js@4, switching over to @robloche/chartjs-plugin-streaming@3 at the same time.
I was about to check this one in "useful forks" when I saw your message, I appreciate you saving me a bit of a search. :)

authors: BryceSimtars MiriamJo andregreeff brettelliot godind oasjohn robotpilot

repo: nagix/chartjs-plugin-streaming


text:
Stack notifications in NotificationCenter

Hello, this is a lovely project.
I wonder if it would be possible to stack the Notifications in Notification Center (e.g. when you get a slack message)?
It would be nice to scroll through some of the stuff that I've listened to via the notification centre

Sorry it took so much time. I think that's a great idea, I'll look into it!

@Roobxyz please try current version. if there's any problems or improvements you'd like to have implemented, let me know.

Hey @nahive - just pulled 0.4.4 from brew but the notifications still disappear after a second or two

authors: Roobxyz nahive

repo: nahive/spotify-notify

license: unlicense


text:
Evaluate using Link-Time Optimization (LTO) and Profile-Guided Optimization (PGO) for the project

Hi!
I want to discuss several compiler optimizations that could be helpful for the project. Maybe you even already tested them and have some benchmark numbers to share publicly ;)
Did you test Link-Time Optimization (LTO) for Sqlean modules? If yes, do you have any numbers regarding performance and the resulting binary size? It would be nice to test since enabling LTO is not too time-consuming thing (usually, huh).
If we are talking about more advanced things, recently I started evaluating using Profile-Guided Optimization (PGO) for various applications and workloads (including databases like PostgreSQL, ClickHouse, SQLite, MySQL and many others) - all the results are available at https://github.com/zamazan4ik/awesome-pgo . For PGO and SQLite you check this forum thread. It would be interesting to test PGO not only for SQLite itself but for such modules too to gain some additional performance wins.
Post-Link Optimization (PLO) is similar to PGO technique but uses a slightly different approach. You can take a look at LLVM BOLT for more information. However, I recommend starting playing with PLO only after applying PGO - PGO is a much more stable and time-proven technology compared to PLO tools.
By the way, I see that for several files -O1 is used instead of -O2/-O3. Could you please elaborate a bit - why such a decision was made? I guess it's connected somehow to the constant-time calculations or other "fragile" (I mean "vulnerable to dangerous compiler optimizations") but it's just a guess. Maybe LTO wasn't enabled for the same reason...
Thank you.
P.S. Since Discussions are disabled for the repository, I created an issue instead. Please don't treat it like a bug or smth like that.

Hi Alexander! Thank you for your interest in Sqlean.
I haven't tried LTO, PGO or PLO.
O2/O3 causes test failures for some extensions, so I use O1 for them.

repo: nalgeon/sqlean


text:
Stopping Navigation based on logic within OnLeavingAsync

Describe the feature
I am trying to put a verification when the user is trying to leave a page with form data. Is there a way to put a verification  question and then cancel the navigation within the OnLeavingAsync implementation? Something in the lines of :
        if (!isLeaveAfterSaving)
        {
            await notificationService.ShowQuestion(
            "Go Back",
            "This will discard all the changes. Are you sure?",
            "Yes",
            "No",
            () => {},
            () => e.Cancel = true );
        }

When I am navigating away from the page, I can put this code within my own app logic but when the user taps the back button on the navigation bar, I am not sure how to stop them outside of hiding the button.

Does implementing the ILeavingGuard interface not help?

right, I misunderstood the ILeavingGuard completely. I thought it was for a completely different purpose (I don't know why). Thanks for the direction! Closing this issue.

@mcanyucel do you have any suggestions on how I could improve the documentation to make ILeavingGuard easier to understand?

Sometimes you want to protect a page from being popped from the navigation stack, for example when the user is editing a form. You can do that by implementing the ILeavingGuard interface which defines a ValueTask CanLeaveAsync() method from which you can eventually display a prompt to ask the user if they want to leave the page.

Actually this section explains it quite nicely, but a sample code will help much more. I think the reason I misunderstood was it is a single short paragraph, kind of between sections that explain different things, so people might skip it without understanding it. (well, that's what I did.)
Enhancing the section with a simple sample code will help, something in the lines of;
public class ViewModel :  ILeavingGuard
{
    public ValueTask<bool> CanLeaveAsync()
    {
        return await ConfirmUserLeave() // a method to verify the leave action
    }
}

Thanks for your suggestion @mcanyucel https://github.com/nalu-development/nalu/commit/cb3a7205f6ebe04148710d1e39c6f6030ed60f7a

authors: albyrock87 mcanyucel sumowesley

repo: nalu-development/nalu


text:
package request: libfreeimage3 and libfreeimage-dev

Used by ruby gem: https://github.com/seattlerb/image_science
"ImageScience is a clean and happy Ruby library that generates
thumbnails -- and kicks the living crap out of RMagick. Oh, and it
doesn't leak memory like a sieve. :)"

RE:
braxton [Wed 15th 5:10 AM (Aussie time)]
@jjkester `freeimage` should be available now. the gem will probably need some sort of config thing to tell it to find the header in `/data/include`
...
braxton
[5:12 AM]
oh, oops it was @unixman

I have just tried to add those packages, and had no success:
with boxfile.yml:
run.config:
  engine: ruby
  engine.config:
    runtime: ruby-1.9

  # Extra Packages (in addition to what the engine installs)
  extra_packages:
    - libfreeimage3
    - libfreeimage-dev

  # Build Triggers - Changes to these files automatically
  # trigger a new build the next time a build is required.
  build_triggers:
    - Gemfile
    - Gemfile.lock

  # Enable filesystem watcher
  fs_watch: true

data.db:
  image: nanobox/mysql:5.5

I get:
$ nanobox run
Preparing environment :

Building runtime :
  ✓ Starting docker container
  ! Preparing environment for build
    - Copying ssh keys into the build environment...
    - Setting up directories and permissions...
    - Cloning engine :
      Cloning into 'engine'...
      remote: Counting objects: 869, done.
      remote: Total 869 (delta 0), reused 0 (delta 0), pack-reused 869
      Receiving objects: 100% (869/869), 134.60 KiB | 99.00 KiB/s, done.
      Resolving deltas: 100% (416/416), done.
      Checking connectivity... done.

    - Cleaning up any previous builds...
    - Extracting home cache...
    - Extracting pkg cache...
    - Updating pkg database...
    - Installing user-requested packages :
      calculating dependencies... done.
      nothing to do.

    ! FAILED TO INSTALL PACKAGES !

    Exit
     1

    Command
     su - gonano -c "export PATH=\"/data/sbin:/data/bin:/opt/gonano/sbin:/opt/gonano/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\";       stdbuf -o0         siphon --prefix '  ' --           bash -c \"/data/bin/pkgin -y in libfreeimage3 libfreeimage-dev\"
     "

    Output
      calculating dependencies... done.
       nothing to do.

Error   : failed to execute hook (setup) on 77a9258e6430e672c6bb213fe348a21c2b0159e0882d464d3bcbe745b8585835: util:Exec:/opt/nanobox/hooks/setup: bad exit code(1):
Context : failed to build the code -> failed to run the (build)setup hook

$

Also tried imploding and rerunning without success:
$ nanobox implode
Imploding Nanobox :
  website (local) :
    Removing components :
      data.db :
        ✓ Destroying docker container
        ✓ Releasing IPs
    ✓ Releasing IPs
  ✓ website
  ✓ apps
  nanobox-ruby (local) :
    Removing components :
      data.db1 :
        ! Destroying docker container
        ✓ Releasing IPs
    ✓ Releasing IPs
  ✓ nanobox-ruby
  ✓ Removing custom docker network...
Root privileges are required to remove the server. Your system password may be requested...
[sudo] password for ianh:
  ✓ Purging configuration
$ nanobox run

CONFIGURE NANOBOX
---------------------------------------------------------------
Please answer the following questions so we can customize your
nanobox configuration. Feel free to update your config at any
time by running: 'nanobox configure'

(Learn more at : https://docs.nanobox.io/local-config/configure-nanobox/)

How would you like to run nanobox?
  a) Inside a lightweight VM
  b) Via Docker Native

  Note : Mac users, we strongly recommend choosing (a) until Docker Native
         resolves an issue causing slow speeds : http://bit.ly/2jYFfWQ

Answer: b

      **
   *********
***************   [√] Nanobox successfully Configured!
:: ********* ::   ------------------------------------------------------------
" ::: *** ::: "   Change these settings at any time via : 'nanobox configure'
  ""  :::  ""
    "" " ""
       "

It appears you are running Nanobox for the first time.
Login to your Nanobox account:
Nanobox Username: ian@heggie.biz
Nanobox Password:
! The username/password was incorrect, but we're continuing on.
  To reattempt authentication, run 'nanobox login'.

Root privileges are required to start the server. Your system password may be requested...
Starting Nanobox :
  ✓ Setting up custom docker network...
  ✓ Joining virtual network

Preparing environment :

--------------------------------------------------------------------------------
+ HEADS UP:
+ This is the first build for this project and will take longer than usual.
+ Future builds will pull from the cache and will be much faster.
--------------------------------------------------------------------------------

Building runtime :
  ✓ Starting docker container
  ! Preparing environment for build
    - Copying ssh keys into the build environment...
    - Setting up directories and permissions...
    - Cloning engine :
      Cloning into 'engine'...
      remote: Counting objects: 869, done.
      remote: Total 869 (delta 0), reused 0 (delta 0), pack-reused 869
      Receiving objects: 100% (869/869), 134.60 KiB | 123.00 KiB/s, done.
      Resolving deltas: 100% (416/416), done.
      Checking connectivity... done.

    - Cleaning up any previous builds...
    - Extracting home cache...
    - Extracting pkg cache...
    - Updating pkg database...
    - Installing user-requested packages :
      calculating dependencies... done.
      nothing to do.

    ! FAILED TO INSTALL PACKAGES !

    Exit
     1

    Command
     su - gonano -c "export PATH=\"/data/sbin:/data/bin:/opt/gonano/sbin:/opt/gonano/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin\";       stdbuf -o0         siphon --prefix '  ' --           bash -c \"/data/bin/pkgin -y in libfreeimage3 libfreeimage-dev\"
     "

    Output
      calculating dependencies... done.
       nothing to do.

Error   : failed to execute hook (setup) on 570dc5ca410ff7106c910a0d42de2c27661acfaf12d4d91f839472d472de5c31: util:Exec:/opt/nanobox/hooks/setup: bad exit code(1):
Context : failed to build the code -> failed to run the (build)setup hook

$

extra_packages are not packages from Ubuntu's apt repo. They are packages from pkgsrc, you can view available packages here: http://packages.nanobox.io/2017/11/base/index.html
There's a package for freeimage. The image_science gem should work if you put freeimage in the list of extra_packages instead of the Ubuntu package names.

authors: ianheggie notxarb

repo: nanobox-io/nanobox-pkgsrc-base


text:
Work CI-CD

Description

Update tools version and target framework.

Motivation and Context
How Has This Been Tested?

Screenshots
Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[ ] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[ ] My code follows the code style of this project (only if there are changes in source code).
[ ] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[ ] I have read the CONTRIBUTING document.
[ ] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[ ] I have added new tests to cover my changes.

@nfbot updatedependencies


text:
Support for Typescript typings

@nanovazquez I don't know how familiar you are with Typescript, but I opened a PR at DefinitelyTyped to have typings for yargs-interactive.  I need to update it now that options is choices.  But I'm thinking the interfaces should probably extend from inquirer at some point.  I'm just not sure what all is passed from yargs-interactive to inquirer here.  Any input on that PR would be helpful.

It's basically a giant repository of typings for projects that aren't written in Typescript or don't provide their own typings.  I had to create my own for https://github.com/Unibeautify/create-unibeautify-beautifier/blob/master/src/create-unibeautify-beautifier.ts so I had typings and didn't have to use require().
Since choices is in inquirer, the OptionData interface I have should probably extend inquirer's Question interface.  I'm not an expert on .d.ts files, but that's a the gist of it.

Closing this issues as the typings are already present in DefintelyTyped. Thanks @stevenzeck!

repo: nanovazquez/yargs-interactive


text:
Incompatible with PHPStorm

I haven't spent enough time on this to really give a very helpful description, but basically the problem is that when using ClipMenu I do not get what I expect when pasting into PHPStorm.  It seems PHPStorm is trying to be smart and have its own clipboard history.  This is most likely a PHPStorm issue only, but I would like to know how this application works when pasting a selected history item.  Does it move the selected entry into the system clipboard and then execute ⌘-V?
PHPStorm will only paste the last thing copied from within the editor until I simply switch away from and back to the editor.  After that, ClipMenu works as expected until I copy something from within the editor.

It works great! The bad thing is we lost a lot of preferences.

Hi @naotaka , thanks for this version. Like @senechaux I lost preferences and back history when testing this, which is a shame, but not too big of a problem.
However, in my case what it does is simply lets the JIDea clipboard manager take over. Which is not my intention.
I will go back to trying the JIdea workaround (see http://stackoverflow.com/questions/26611642/external-clipboard-manager-breaking-in-jidea/26611643#26611643 ) and see if that solves it.

@shirki This seems to work for me in PHPStorm 8.0.3 - and seems to be the most "correct" way to solve this...there should be a user setting in PHPStorm for "Use System Clipboard"
@naotaka if you agree, I would close this issue.  Thanks for the help.

Confirming that it fixed the issue for me too

authors: drobinson senechaux shirki tenitski

repo: naotaka/ClipMenu


text:
Different interpolation methods for 3D viewer

🚀 Feature
Just like for the 2d viewer it'd be nice to be able to choose interpolation methods for the 3d version

Hi @david-hoffman!
funny, @sofroniewn made this possible back in #841, and it is the default mode for "labels" layers, but it looks like it didn't get exposed as an option for images.  You can actually set image volumes to nearest neighbor interpolation, but it looks like we need to expose that option in the gui.  it's a bit circuitous, but here's a short-term workaround:
import napari
import numpy as np
viewer = napari.Viewer(ndisplay=3)
layer = viewer.add_image(np.random.rand(20,20,20))
# grab the vispy visual for the layer
visual = viewer.window.qt_viewer.layer_to_visual[layer]
# change the interpolation on the visual (only nearest & linear are valid)
visual.node.interpolation = 'nearest'

unfortunately, that changes back everytime you switch between 2D/3D, but we should be able add this relatively easily.

repo: napari/napari


text:
"point property changed" event

🚀 Feature
Currently, changing the properties of a point layer does not trigger any layer event. It would be nice if it triggered either a layer.events.data signal or a specific property signal.
Motivation
I'm currently working with a system that keeps data in a backend, and provides it to napari depending on how I want to display it. I want to be able to apply changes in napari, and automatically run some calculations on the data in my backend based on what was changed. Currently, I can do this with Points.data changes, but not with Points.properties.
Pitch
pl = Points([0,0], properties={'a': [1]})
pl.properties = {'a': 2}
# or
pl.properties['a'] = [2]
# `Points.events.data`, `Points.events.properties` or something else is fired

The second case probably requires to set up a special dict subclass... Which may be useful for other purposes anyways, since currently
pl.properties = {'a': [1,2,3,4,5]}

complains with:
ValueError: the number of properties must equal the number of points

while
pl.properties['a'] = [1,2,3,4,5]

does not.

Thanks, @brisvag ! As I mentioned in the zulip thread, I am open to adding a properties event. In short, we would have to add a properties event here and then call it at the end of the properties setter here.
We would probably want to do this for all layers with properties (e.g., Shapes, Vectors).
As you mentioned, catching when the user directly modifies the properties dictionary would require a custom class or some other magic. Given that, my first instinct is to hold off on that. Of course, I am open to discussing it if there is a strong nee!

The second case probably requires to set up a special dict subclass... Which may be useful for other purposes anyways, since currently

This would be analogous to our EventedList class #1444. Not sure we want to do that right away, but an interesting idea

This would be analogous to our EventedList class #1444. Not sure we want to do that right away, but an interesting idea

I agree.
I could make a quick PR to add the properties event to the relevant layers. I wouldn't hook it up to anything inside of napari, but I can see how it would be useful for folks developing things around napari. Perhaps we could sneak it into forthcoming the 0.4.1 release. Thoughts @sofroniewn ?

I could make a quick PR to add the properties event to the relevant layers. I wouldn't hook it up to anything inside of napari, but I can see how it would be useful for folks developing things around napari. Perhaps we could sneak it into forthcoming the 0.4.1 release. Thoughts @sofroniewn ?

Yeah that's fine, go for it. I'm happy to review/ merge. Something we want to do eventually.

I'm going to close this now that #1896 has merged. We can open up a new issue for evented dicts if we want to go down that path in the future. Thanks all!!

authors: brisvag kevinyamauchi sofroniewn


text:
Use evented dataclass for scalebar

Description
Continues from #1910 by using an eventdata class for our scalebar. #1910 should be reviewed first, as this PR contains changes from that one too.
Type of change

[x] Bug-fix (non-breaking change which fixes an issue)

Ok, this is ready to review. I've merged in the changes from #1910 and now you can see how beautifully simple this transition to evented dataclass is!!!


text:
[Maint] Try pyside6 6.8

References and relevant issues
Replaces https://github.com/napari/napari/pull/6936
Closes: https://github.com/napari/napari/issues/5657
Closes: https://github.com/napari/napari/issues/5644
Description
Try pyside6 >=6.8 to see if CI will work.

Alas, locally I still get seg faults in the vispy tests.
Current thread 0x00000001fea48c00 (most recent call first):
  File "/Users/piotrsobolewski/Dev/napari/napari/utils/_testsupport.py", line 329 in make_napari_viewer
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/fixtures.py", line 907 in _teardown_yield_fixture
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/fixtures.py", line 1021 in finish
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/runner.py", line 546 in teardown_exact
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/runner.py", line 189 in pytest_runtest_teardown
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/runner.py", line 242 in <lambda>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/runner.py", line 341 in from_call
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/runner.py", line 241 in call_and_report
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/runner.py", line 137 in runtestprotocol
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/runner.py", line 113 in pytest_runtest_protocol
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/main.py", line 362 in pytest_runtestloop
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/main.py", line 337 in _main
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/main.py", line 283 in wrap_session
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/main.py", line 330 in pytest_cmdline_main
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_callers.py", line 103 in _multicall
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_manager.py", line 120 in _hookexec
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/pluggy/_hooks.py", line 513 in __call__
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/config/__init__.py", line 175 in main
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/lib/python3.12/site-packages/_pytest/config/__init__.py", line 201 in console_main
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/napari-pyside6/bin/pytest", line 8 in <module>

This warning produces big noise in log:
   DeprecationWarning: Function: 'QColor.setNamedColor(const QString &name)' is marked as deprecated, please check the documentation for more information.

and lead to teardown errors

I rebased this PR on to current main locally (Mac M1 latest OS). All the tests passed locally with crashing.

authors: Czaki psobolewskiPhD willingc


text:
f sanitizer detect runtime error in cfe_msg_sechdr_time.c

Describe the bug
Running with f-sanitizer shows the following error:
/home/vboxuser/Desktop/cFS/cfe/modules/msg/fsw/src/cfe_msg_sechdr_time.c:95:42: runtime error: left shift of 144 by 24 places cannot be represented in type 'int'

To Reproduce
Add the following options:
add_compile_options(
-fsanitize=address
-fsanitize=undefined
-fsanitize-recover=all
-g
)
add_link_options(
-fsanitize=address
-fsanitize=undefined
-fsanitize-recover=all
)

make SIMULATION=native
make install
Run

Expected behavior
A clear and concise description of what you expected to happen.
Code snips
If applicable, add references to the software.
System observed on:

Hardware
OS: [e.g. Linux 4.4]
Versions [e.g. cFE 6.6, OSAL 4.2, PSP 1.3 for mcp750, any related apps]

Additional context
Add any other context about the problem here.
Reporter Info
Full name and company/organization if applicable
Anh Van, GSFC

@dmknutsen @dzbaker Can you add this to the discussion to see if this is something you want to fix?

repo: nasa/cFE


text:
Improve data subscriber logging

Checked for duplicates
Yes - I've already checked
Alternatives considered
Yes - and alternatives don't suffice
Related problems
No response
Describe the feature request
https://github.com/nasa/opera-sds-pcm/pull/58#issuecomment-1081343444

I noticed that most log message stored in _stderr.txt rather than _stdout.txt. The logging level was DEBUG, how can we change to lower logging level?

[x] Change default logging level to INFO
[x] Verify all relevant information is being logged on the INFO level
[x] Capture summary of query and download from DAAC at the end of processing (# of files returned by query,# of successful download, # of failed download, # of skipped download, etc)

@maseca I don't see a logging message for summary of query and download from DAAC at the end of processing. Can you check again?

repo: nasa/opera-sds-pcm


text:
DSWx-HLS Beta PGE Integration

This pull request makes the required changes to support integration of the DSWx-HLS PGE built with the "beta" delivery of the corresponding SAS. High level changes include:

Updates to terraform scripts to point at the "beta preview" build for the DSWx-HLS PGE for the main, dev, dev-e2e, dev-int and int profiles.
Updates to SDS config files to support runconfig format changes and creation of multiple output tif files by the PGE
Refactoring of the product2dataset and extractor modules to strip unneeded NISAR functionality, as well as support bundling of multiple tif output bands into a single SDS Dataset

@collinss-jpl Can we also have a simulated L3_DSWx_HLS PGE to produce multiple tif files?


text:
Poe script task uses global python path instead of the one in the virtual environment

pyenv global 3.12
python -V
# 3.12
cd my-project
pyenv local 3.10
poetry install --no-root
python -V
# 3.10

Then I have a simple python script to do the same
# version.py
import sys

def echo():
    print("Python version:", sys.version)

if __name__ == "__main__":
    echo()

Then in my tasks file I have
[tool.poe.tasks.version]
script = "version:echo"

Then when I test it
python version.py
# Python version: 3.10.14 ....

python -m version
# Python version: 3.10.14 ....

poe version
# Poe => version
# Python version: 3.12.4 ...

How do I get poe to use the version in my local virtual environment? Thanks

Hi @fritz-trawa, thanks for the question.
I need some more info to tell whether what you describe is expected behavior or not. If used with poetry then poe will by default use whatever python is referenced in the virtualenv managed by poetry, that is the env returned by poetry env info -p. Running poetry run python version.py should confirm whether poetry is using the expected python version for its virtualenv; could you try that please?
Another important question, is the version task defined in the main pyproject.toml file alongside poetry related config or is it imported from another file? If it's an import, does it start working if you move it to the pyproject.toml? If so then we have a bug.
This is because poe will only default to using the PoetryExecutor if it detects poetry related config, which should guarantee using the poetry virtualenv (if available).
Note that you can also configure poe to use a a specific virtualenv or to have no opinion about it.

authors: fritz-trawa nat-n

repo: nat-n/poethepoet


text:
Lab11

lab 11, all components working

accepted


text:
Avoid dictionary errors, augment search algorithm.

With these minor alterations I was able to use DotNetCorePlugins to get an MsBuild PowerShellTaskFactory working on .NET core.

I did some digging and I see 2 problems.

Yes, we need to probe appBase/runtimes. I'll take this part of the PR. Thanks!
The Microsoft.PowerShell.Native package includes symbols, so the generated .deps.json file includes an entry which it probably shouldn't. For this, I'm going to add a filter when parsing .deps.json to exclude .pdb.

          "runtimes/win-x64/native/PowerShell.Core.Instrumentation.dll": {
            "rid": "win-x64",
            "assetType": "native",
            "fileVersion": "10.0.10011.16384"
          },
          "runtimes/win-x64/native/pwrshplugin.dll": {
            "rid": "win-x64",
            "assetType": "native",
            "fileVersion": "10.0.10011.16384"
          },
          "runtimes/win-x64/native/pwrshplugin.pdb": {
            "rid": "win-x64",
            "assetType": "native",
            "fileVersion": "0.0.0.0"
          },

runtimes/win-x64/native/pwrshplugin.pdb isn't actually a native library, but the SDK doesn't know that when it generates deps.json. I'll update the library to filter out assets which are not actually native

Give this one a shot: https://www.nuget.org/packages/McMaster.NETCore.Plugins/0.1.1

I have tested 0.1.1 (although I built it from source rather than use the nuget package) and it seems to work fine with my PowerShellTaskFactory now.  Thanks Nate.

authors: BernMcCarty natemcmaster

repo: natemcmaster/DotNetCorePlugins


text:
Ep 3605 reset map state between app change

All boxes should be checked before the PR can be accepted. Exceptions can be made, but they need to be argumented and discussed with the reviewer

BUGFIX
Required

[x] Ran Unit Tests and they pass successfuly
[x] Ran the linter with yarn lint
[x] No TypeScript warnings are introduced

Not Needed

[ ] Translated all the user facing text (static & dynamic)
[ ] I have made corresponding changes to the documentation

References

Include any links supporting this change such as a:

GitHub Issue/PR number addressed or fixed
StackOverflow post
Support forum thread
Related pull requests/issues from other repos

If there are no references, simply delete this section.

By submitting a PR to this repository, you agree to the terms within the Code of Conduct. Please see the contributing guidelines for how to create and submit a high-quality PR for this repo.

fixed by https://github.com/natgeosociety/marapp-frontend/pull/419

fixed by https://github.com/natgeosociety/marapp-frontend/pull/419

repo: natgeosociety/marapp-frontend


text:
[FR] Make height set automatically to get a square card

Consider the code:
type: custom:map-card
entities:
  - entity: zone.home
card_size: 8.65

A value for card_size was defined to make the card looking square - like a stock map card:

On that picture:

ha-map card with a default card_size;
ha-map card with card_size: 8.65;
stock map card.

After resizing the window:

A height of ha-map card is ~452px and it seems to be constant:
https://github.com/nathan-gs/ha-map-card/blob/e72bfb131835983ed9c3ee5a637da8a70d29ebb8/src/configs/MapConfig.js#L122
Is it possible to provide smth like
card_size: auto

possible value (and may be even make it a default value) to set "height = width" to get a square card?
Ofc a "title is defined" case should be considered as well.

What if we set the default to 8,65?

)))) not sure but may be this coeff is client-dependent...

repo: nathan-gs/ha-map-card


text:
Disallow negative sizes

Sizes should be clamped at a small positive number.
http://scratch.mit.edu/users/nXIII/#comments-6199352

Quoting http://scratch.mit.edu/users/nXIII/#comments-6199352 for ease of reference:

I think I may have found a small Phosphorus difference from Scratch - try "change size by -10" on a sprite until it goes negative. Scratch stops when it disappears; phosphorus allows it to go negative and it starts getting bigger again (probably turned inside-out - since the example I'm using is just a little blob for a star in a space game, it's hard to tell what is happening exactly.)

Scratch bases the min/max size on the costume size.
		var origW:int = img.width;
		var origH:int = img.height;
		var minScale:Number = Math.min(1, Math.max(5 / origW, 5 / origH));
		var maxScale:Number = Math.min((1.5 * 480) / origW, (1.5 * 360) / origH);

Do we want to replicate this behaviour?

That's quite similar to keeping sprites on the stage so users don't lose their sprites in the editor. It's just an arbitrarily restriction. I don't think there is any reason to implement it as I haven't seen any broken projects because of it.

authors: nathan tjvr trumank

repo: nathan/phosphorus


text:
selecting/filtering on vector indices

Hi,
I don't know if there is a better place to have a conversation about using specter so I am posting here.
I need to select and transform my data by filtering on vector indices. I don't know if it is already supported with the current api. As I could not find out how to do it, I have added filterer-indexed which takes two parameters similar to map-indexed (ix and item), I can submit them as I patch if this is desired, though the implementation simply copies existing filterer and filter+ancestry.
I have tried a few approaches. I have gotten furthest by by using a 3 step process

transforming data (using transformed and/or view) into [index item] vectors
filtering appropriate items
transforming data back to original shape (loosing index / second)

but this does not work correctly for transforms mainly because the transform back doesn't get applied for non selected items. So if for example i wan't to  for example i want to up-case the second item in a vector ["a" "b" "c"] I get a result of [[0 "a"] "B" [2 "c"]]...

If you know the specific index you want to navigate to, you can just use keypath, like so:
(transform (keypath 1) #(.toUpperCase %) ["a" "b" "c"])

As for the more general case of navigating to some or all of the elements and being able to make use of the index for the rest of the manipulation, you'd need to implement a new selector to make that work right. Here's something i whipped up quickly which works:
(deftype AllIndexed [])

(extend-protocol StructurePath
  AllIndexed
  (select* [this structure next-fn]
    (mapcat next-fn (map-indexed vector structure)))
  (transform* [this structure next-fn]
    (->> structure
         (map-indexed vector)
         (map next-fn)
         (map last)
         doall
         )
    ))

(def ALL-INDEXED (->AllIndexed))

An example:
(transform [ALL-INDEXED (selected? FIRST even?) LAST] inc [0 1 2 3 4])
(1 1 3 3 5)

It needs a little bit more work to make sure it maintains the sequence type.

Ok. Thanks for the info...

authors: nathanmarz oborder

repo: nathanmarz/specter


text:
Incorrect ParallelIDAstar Result When C*<workDepth

The following program shows a case where C*=2, but PIDA* returns 12.
#include <cinttypes>
#include <iostream>
#include "MNPuzzle.h"
#include "ParallelIDAStar.h"

int main(int argc, char *argv[]) {
    MNPuzzle<4, 4> env;
    MNPuzzleState<4, 4> start;
    MNPuzzleState<4, 4> goal;
    env.ApplyAction(start, kRight);
    env.ApplyAction(start, kRight);
    std::cout << "Start:" << start << std::endl;
    std::cout << "Goal: " << goal << std::endl;
    ParallelIDAStar<MNPuzzle<4,4>, MNPuzzleState<4,4>, slideDir> ida;
    std::vector<slideDir> solution;
    ida.GetPath(&env, start, goal, solution);
    std::cout << "Optimal cost: " << env.GetPathLength(start, solution) << std::endl;
}

Gives the following output:
Op order: Right Left Down Up
Start:(4x4)1 2 0 3 4 5 6 7 8 9 10 11 12 13 14 15
Goal: (4x4)0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
66 pieces of work generated
Starting iteration with bound 2.000000; 56 expanded, 176 generated
Starting iteration with bound 4.000000; 56 expanded, 176 generated
Starting iteration with bound 6.000000; 56 expanded, 176 generated
Starting iteration with bound 8.000000; 56 expanded, 176 generated
Starting iteration with bound 10.000000; 61 expanded, 193 generated
Starting iteration with bound 12.000000; 101 expanded, 313 generated
Optimal cost: 12

This is likely because there is no goal check in GenerateWork() (or later in StartThreadedIteration()).

Since the generation is a limited DFS, even if there is a termination condition within there, it can prove problematic as it might be suboptimal. Instead I suggest thinking of a new way to generate work which generates the level in sequential manner until it hits some critical mass of work which can then be parallelized.


text:
Update preservica-client-fs2 to 0.0.60

About this PR
📦 Updates uk.gov.nationalarchives:preservica-client-fs2 from 0.0.58 to 0.0.60
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "uk.gov.nationalarchives", artifactId = "preservica-client-fs2" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "uk.gov.nationalarchives", artifactId = "preservica-client-fs2" }
}]

labels: library-update, early-semver-major, semver-spec-patch, commit-count:1

Superseded by #24.


text:
Update rds to 2.26.15 in scala-steward-dependencies

About this PR
📦 Updates software.amazon.awssdk:rds from 2.26.12 to 2.26.15
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "software.amazon.awssdk", artifactId = "rds" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "software.amazon.awssdk", artifactId = "rds" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Superseded by #1241.

repo: nationalarchives/tdr-consignment-export


text:
Audio Quality

Homework

[X] I took the time to write a good, descriptive issue title
[X] I read nativefier --help and API.md.
[X] I checked CATALOG.md for community suggestions & workarounds.
[X] I searched existing issues, open & closed. Yes, my question is new.
[X] I'm running the latest version.

Your question
Is it normal for electron apps to use some type of builtin audio? On Windows I do not get the high quality sound I would get from browser. I use Realtek Audio Console and Sonic Studio 3.  Both does detect YouTube app built with nativefier with regular volume mixer but the sound effects with SS3 and DTS with RAC do not work.
Steps to reproduce
No response
Debug info
No response
Nativefier version
50.0.1
Node.js version
18.12.1
npm version
8.19.2
OS
21H2 (OS Build 19044.1566)

I believe Electron should be leaving this up to the OS/Realtek to determine. I don't know why your app would be excluded from these. Are there any other apps that get excluded from these features? I'm wondering if Realtek just has a whitelist of apps it supports.

yes its weird that the sound effects part do not work for both Realtek Audio Console and Sonic Studio 3 but can only control the volume from them 🤷♂

authors: TheCleric trinib

repo: nativefier/nativefier


text:
Support Android 12

I can't get my app to work on Android 12. I have followed the questions online (unrelated to nativescript) but I get this error everytime I try and scan.
Error: java.lang.SecurityException: Need android.permission.BLUETOOTH_SCAN permission for AttributionSource { uid = 10642, packageName = com.my.app, attributionTag = null, token = android.os.BinderProxy@1ca5d6c, next = null }: GattService registerScanner

@JakeAi As explained here https://developer.android.com/guide/topics/connectivity/bluetooth/permissions you need to ask permission at runtime. The plugin wont handle the permission check. You can use @nativescript-community/perms

@farfromrefug is it as easy as ?
    await request('bluetooth');
    await request('bluetoothConnect');
    await request('bluetoothScan');

@JakeAi yes it is :D Dont forget to add the perms in your manifest

@farfromrefug might be a good idea to add it to the readme?

@JakeAi Yes you can create a PR it will be welcome. But if you do so please add a link to the android doc. I understand the need for this in the readme but i would really wish people first look at android doc to understand what they need to do

@JakeAi Yes you can create a PR it will be welcome. But if you do so please add a link to the android doc. I understand the need for this in the readme but i would really wish people first look at android doc to understand what they need to do

Well, I did read the doc. I had the manifest updated a while ago. The problem was manually requesting permissions at runtime.
There are a lot of plugins. That's all. With the plugin being called "perms" makes it a little hard to find as well lol.
https://plugins.nativescript.rocks/search/permissions

@JakeAi this is was not a critic for you or anyone else. I am just saying the first step should always be to read android/ios docs.
About the perms plugin. Indeed you are right it would be a good idea to mention it! it is used internally in this plugin.
There are 2 different plugins indeed, and i would personally avoid @master.technology/permissions. It is not open source, not free and not implemented in a true cross platform way

authors: JakeAi farfromrefug

repo: nativescript-community/ble


text:
Add reference to CNCF

https://www.cncf.io/blog/2018/03/15/cncf-to-host-nats/

Coverage decreased (-0.09%) to 92.143% when pulling 0d511fc7bc535b7f49a44df47ea96ac3e2f4d58d on caniszczyk:patch-1 into fbfa8772ca6d565b57693e64f880a0281d79eea0 on nats-io:master.

LGTM

authors: caniszczyk coveralls derekcollison

repo: nats-io/gnatsd


text:
Cannot save media directly in Camera Roll, it creates an album and puts media into that

Hi Yusuf,
Hope you are doing great! And thanks for your great work "NatCorder - Video Recording API", we purchased it!
On Android I am trying to save images and videos directly into Camera Roll, not under any album. So I wrote code as follows -
var payload = new SavePayload();
I did not set any album here, but it still creates album "Movies" and "Pictures" and puts the medias into those albums. How can I put media directly into Camera Roll, not under any album?
Thank you so much in advance!!

Hey @arif69eee , what device and OS version are you running on? If you're on Android, then this is the default behaviour from Android: https://github.com/natsuite/NatShare/blob/1.2.5/Android/NatShare/src/main/java/api/natsuite/natshare/SavePayload.java#L66-L75

Hi Yusuf,
Thanks for quick response!
I cannot not see the issue in my Android but the issue was seen in my client's phone, I don't know which version and model he is using.
But I could just solved it. The issue was, when I was setting no album, the NatShare was saving the medias outside of the DCIM folder of Android. So some android devices were not showing the medias in the gallery directly but under an album "Movies" or "Pictures". Now I just put an album name, so it creates that album under the DCIM folder and the gallery app is showing the media directly in the gallery as well as under the newly created album.
Thanks!

Hm that sounds good. I'm closing this issue.

Yes please. Thanks!

repo: natsuite/NatShare


text:
Limit specific system formatting options to selected system

Your idea:
Since hombrewery already let you check what system are we homebrewing for, would be nice to avoid having 5e graphics, css, fonts and formatting when selecting other system, I know the checkbox is just for indexing right now and 5e is the most used and no other system is really supported... but would be nice not needing to override everything when creating hombrew for something different from 5e.

Just my 2 cents.
Thx for the hard work.

Something like this has actually been on the site, hidden, for about a year. Just too many other requests and higher priority bugs to actually finish it off.
BUT, we have a PR right now that makes the final touches and will let you make custom themes and share them much more easily. Crossing fingers we can release it very soon....

It's also important to note that the System checkboxes were not used for theme keying and were instead a predecessor to the searchable tags.

It's also important to note that the System checkboxes were not used for theme keying and were instead a predecessor to the searchable tags.

yep, I'm a long time user of homebrewery and as I said:

I know the checkbox is just for indexing right now and 5e is the most used and no other system is really supported

In my opinion, it makes sense to have a "default style" applied based on the selected system, but that's just a suggestion.
Over the past few years, I've created many 5e brews, some of which are on DMsGuild with thousands of downloads, and I've never felt the need for such a feature. However, when I started making PF2 brews and checked the Pathfinder checkbox, I was disappointed to see the 5e styling everywhere.
Even a basic "blank/general style" would be helpful to reduce the initial work when starting with a different system.

With custom themes enabled, and the static blank theme too, i'd say this just comes down to: do we delete the system UI and leave it to tags? or not?
Here's a revised version of your comment:

I was thinking about this a few days ago, and I believe it depends on your future plans. Custom themes is great, but if the goal is to expand on it, the system UI could evolve into something that categorizes themes and brews.
In a hypothetical future where you have dozens of themes for different systems, this could help narrow down the themes to choose from. For example, if I only want to see themes for 5e, I could select 5e as my preferred system and browse the available themes. This might be even more useful when theme sharing is live, as not every user may give their theme a meaningful name.
Additionally, if a brew search feature is introduced, the system tag could be helpful for that as well.
However, if none of the above is planned, then I think the system tag could be removed.
What do you think?

Appending themes to systems is an interesting idea, but i don't think we need to be that restrictive.

Themes and System are different things. Though they often overlap, they don't map usefully.
AD&D 2e is a system,  Planescape is a theme, Dark Sun is a theme, AD&D 2e (vanilla) is a theme.
The tags UI was built to accomodate deprecating Systems UI, and is expandable as needed by users. The Systems UI is a static list of checkboxes.

do we delete the system UI and leave it to tags?

That was always the plan. The only thing holding that back is the lack of a deployed datalist UI to show tags are the way forward.

Additionally, if a brew search feature is introduced, the system tag could be helpful for that as well.

This should be largely resolved by the Vault features, presuming users label their brews usefully.

Additionally, if a brew search feature is introduced, the system tag could be helpful for that as well.

This should be largely resolved by the Vault features, presuming users label their brews usefully.

Yes, once Vault is up i will work on that feature, and should be somwehat simple

Themes and System are different things. Though they often overlap, they don't map usefully.
AD&D 2e is a system, Planescape is a theme, Dark Sun is a theme, AD&D 2e (vanilla) is a theme.

I agree with your point that themes and systems are distinct. However, this doesn't conflict with the idea that multiple themes can fit within a single system, and that the system tag could be a useful filter for finding the appropriate theme.
For example, if I’m looking for a theme for AD&D 2e, I could filter by the system tag “AD&D 2e” and get the following results:

AD&D 2e (vanilla)
Planescape
Dark Sun

This gives me three choices, allowing me to select the best theme for my AD&D 2e homebrew.
Of course, this approach would be more beneficial if we have a large number of themes available. I'm not trying to push anything, just sharing ideas for discussion.

A brew can have multiple tags, including being tagged by more than variation of a base system.
There is currently no AD&D system option. Each "system" option needs to be first added by the developers.
This is why we implemented tags, and especially the system: tag-prefix, to allow for multiple unforseen values.

authors: 5e-Cleric calculuschild dbolack-ab ericscheid misthero

repo: naturalcrit/homebrewery


text:
Lag when scrolling editor panel as of 3.16.0

Description
See
https://reddit.com/r/homebrewery/comments/1g3pxfb/lagging_code_panel_after_3160/
and
https://www.reddit.com/r/homebrewery/comments/1g3p1ku/input_lag_after_the_recent_update/

https://github.com/user-attachments/assets/fe6de5c7-33f0-425f-855d-24bc8145ce13
There are a number of issues here, all probably caused by excessive rerenders

I don't know if this is related, but i encounter a lot of slowness since the last update when scrolling code/view, even without syncing. I can link the brew

@lucastucious want you try this link with the latest update, pre-release, and see if it works better for you? https://homebrewery-pr-3829.herokuapp.com/
Copy and paste your brew in there. But note this is a temporary deployment so don’t expect any actual work to be saved, just for testing changes

It's extremely smooth. Same navigator, same computer, just a tab next to the official one. It's day & night.

Nice, that means the fix that we are trying are working.


text:
Custom Propery Keys Unknown Property

When I took Properties out of Realtek's MMDevice, i have number of PropertyStoreProperty that's PropertyKey is not in  NAudio/NAudio/CoreAudioApi/PropertyKeys.cs
For example PropertyKey.propertyId = 17 with formatId = 3ba0cd54-830f-4551-a6eb-f3eab68e3700.
It looks it's Realtek driver property for detecting headphones in joined device (State of device is always active regardless if laptop speaker is used or headphones are used).
Can you confirm this property is custom (non standard) or is there any list of properties that can be used here?

Unfortunately, there is no official list of these properties. When I come across one I've not seen before I just google it and see if I can find a name for it. So it's just trial and error and PropertyKeys is just the list of ones I've discovered so far.

If it can help, on my laptop {3BA0CD54-830F-4551-A6EB-F3EAB68E3700},6 seems to be whether the jack socket is "empty" or not.

authors: JedrzejMajko markheath mirh

repo: naudio/NAudio


text:
Bug when setting CACHEOPS_DEFAULTS timeout value to 0.

Environment

Python version: 3.8.8
Nautobot version: 1.0.0b1

Steps to Reproduce

Set CACHEOPS_DEFAULTS = {"timeout": 0} in your nautobot_config.py
Start your server and load a page
No profit. :(

Expected Behavior
Cache should be disabled.

Observed Behavior
500 error:
ResponseError: Error running script (call to f_f6b93ec749d56aefa37c49bbc5e7a6eedd0d4ec3): @user_script:15: ERR invalid expire time in setex

The correct solution to disabling the cache is actually setting CACHEOPS_ENABLED = False. This was overlooked during our fork and refactor process. The value inside of django-cacheops core defaults to True.

repo: nautobot/nautobot


text:
Remove django-rq

Closes: #2523
What's Changed

Remove django-rq dependency and all code making use of it or rq.
Remove sections of documentation that are no longer needed
Update sections of documentation that still need to mention it for historical and migration reasons.

TODO

[x] Explanation of Change(s)
[x] Added change log fragment(s) (for more information see the documentation)
n/a Attached Screenshots, Payload Example
[x] Unit, Integration Tests
[x] Documentation Updates (when adding/changing features)
n/a Example Plugin Updates (when adding/changing features)
n/a Outline Remaining Work, Constraints from Design

Is this the time to update the application stack diagram?

Is this the time to update the application stack diagram?

Definitely - good catch.

authors: glennmatthews itdependsnetworks


text:
🛑 BarefootEdu is down

In 782dc2e, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in dd8347f after 17 minutes.

repo: navadhiti/upptime


text:
🛑 BarefootEdu is down

In d94a81b, BarefootEdu (https://barefootedu.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BarefootEdu is back up in e029cd1 after 1 hour, 22 minutes.


text:
🛑 Harmony Bot Website is down

In 8557d25, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 43af8ca.


text:
🛑 Harmony Bot Website is down

In 22aea5d, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 7bfcfe2.


text:
🛑 Harmony Bot Website is down

In 036e173, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 338bd06.


text:
🛑 Harmony Bot Website is down

In 242a201, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 2393602.


text:
🛑 Harmony Bot Website is down

In 1c3774b, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in 8c11e7e.


text:
🛑 Harmony Bot Website is down

In 3807a04, Harmony Bot Website ($HARMONY_WEB) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Harmony Bot Website is back up in ae06e80.


text:
How to select the image triplets during traing?

Hi, i wonder to know how to select the image triples while training the net, i.e., the query image, a relevant element  and a non-relevant image? Randomly select from the dataset?
Thank you in advance!

Hi @jshuzi,
We follow the hard negative mining approach explained in our ECCV16 paper: https://arxiv.org/abs/1604.01325
Let me know if you have further questions about how to implement it.

authors: almazan jshuzi

repo: naver/deep-image-retrieval


text:
When modify maven.compiler.source to 1.8 we got issue in PerfTestServiceConfig.class

when you modify your pom of below part.
	<properties> 		<webappdir>${basedir}/src/main/webapp</webappdir> 		<deploy.dir>${basedir}/../../deploy</deploy.dir> 		<maven.compiler.source>1.8</maven.compiler.source> 		<maven.compiler.target>1.8</maven.compiler.target> 	</properties>
Then you will got error in org.ngrinder.perftest.service.PerfTestServiceConfig and it says:
"ClusteredPerfTestService.class and PerfTestService.class are not imcompitable".
mainly it caused by the compiler language "level 7" doesn't check inheritation properly.

oh .~~ it seems you had already changed code. sorry for this ticket. let's close it.

@molihan
Maven will be not used in the next version.

repo: naver/ngrinder


text:
#1511 extract commons-server module

#1511 extract commons-server module

ping @jaehong-kim

repo: naver/pinpoint


text:
계정관련 문의

계정관련해서 질문드립니다.
현재 yobi에서 사용자가 원하면 바로바로 가입이 되는 것으로 파악됩니다만.
혹시 관리자가 직접 사용자를 입력 및 가입하거나,
관리자가 가입된 사용자를 선택적으로 사용할 수 있도록 확인(컨펌)할 수 있는 기능이 있을까요?
폐쇄형 yobi가 가능한지 궁금합니다.

안녕하세요? 폐쇄형으로 운영 가능합니다.
사용중이신 application.conf 파일내에 아래 두 줄을 추가해 주시면 됩니다.
application.allowsAnonymousAccess=false
signup.require.confirm = true

윗 줄은 로그인하지 않은 사용자는 public 프로젝트 페이지에 접근을 하지못하도록 하는 옵션이며
아랫줄은 가입후 관리자가 확인해서 잠김을 해제하지 않으면 로그인이 되지 않게 막는 옵션입니다.
이하 관련설명
# Anonymous access
# ~~~~~~~~~~~~~~~~
# This site allows anonymous access. (default: true)
# If this is false, Yobi refuses anonymous access to any page except for the
# ones to be needed for login, login and creating accout.
# NOTE: Even if this is false, anyone can create a account freely. If you don't
# want to allow that, set signup.require.confirm to false.
application.allowsAnonymousAccess=true

# If "signup.require.confirm = true" has enabled in application.conf,
# the user in state of locked(or unconfirmed) cannot be logged in.
# and page will be redirected to login form with message "user.locked".
#
signup.require.confirm = true

친절하고 정확한 답변 감사합니다!
제가 원하던 딱 그 기능입니다!!
감사합니다!

authors: atoztester doortts

repo: naver/yobi


text:
Fjerne radioknappene med spørsmål om man har bankkonto.

Endret fra dette:

til dette:

Ja, dette ble jo mere brukervennlig helt klart. Jeg må bare fikse dette PDF'en også. 👍

Faktumet 'inntekt.bankinnskudd' settes altid til "true", for å være bakoverkompatibel med faktumemodellen.

authors: frederik-ronnevig thomasfl

repo: navikt/soknadsosialhjelp


text:
Vurderer flytte fra private til public repository

Hei!
Lurte på om det var noe spesiell grunn til at repoet er private og ikkje public ref:
https://github.com/navikt/offentlig
Viss det er ein god grunn til at det er lukket, gjerne oppgi dette i readme.md
Slik som note her: https://github.com/navikt/offentlig#kode-som-ikke-kan-åpnes

Åpnet.

authors: MikAoJk eirarset

repo: navikt/tilleggsstonader-slackbot


text:
Move clarity to inactive list

Their website says they are inactive.

Thank you! ✨

Thank you! ✨

authors: jacalata nayafia

repo: nayafia/microgrants


text:
after migrate return

2024_12_03_101410_create_oauth_personal_access_clients_table .......................................... 6.28ms FAIL
Illuminate\Database\QueryException
SQLSTATE[42S01]: Base table or view already exists: 1050 Table 'oauth_personal_access_clients' already exists (Connection: mysql, SQL: create table oauth_personal_access_clients (id bigint unsigned not null auto_increment primary key, client_id char(36) not null, created_at timestamp null, updated_at timestamp null) default character set utf8mb4 collate 'utf8mb4_unicode_ci')
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:813
809▕                     $this->getName(), $query, $this->prepareBindings($bindings), $e
810▕                 );
811▕             }
812▕
➜ 813▕             throw new QueryException(
814▕                 $this->getName(), $query, $this->prepareBindings($bindings), $e
815▕             );
816▕         }
817▕     }
  +9 vendor frames

10  database/migrations/2024_12_03_101410_create_oauth_personal_access_clients_table.php:14
Illuminate\Support\Facades\Facade::__callStatic()
+37 vendor frames
48  artisan:13
Illuminate\Foundation\Application::handleCommand()

Not a big deal.  Table already exists in your database. You may bypass the error by updating the migrations table or command. Hope you fixed the issue. Let me know if you need any help.


text:
Handle indented magics

Ready for review. This PR tries to handle the indented magics using ast.parse.
Before

After running tools like black with --nbqa-mutate option, the source will have the line magics indented properly.
After

Awesome!! I don't have time for a proper review now but I'll come back to this tomorrow - in the meantime, thank you so much!

repo: nbQA-dev/nbQA


text:
🛑 OECD is down

In 560ab1c, OECD (https://stats.oecd.org/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OECD is back up in f4802f1.

repo: nbbrd/sdmx-upptime


text:
🛑 ESTAT is down

In c4f28db, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 5222a84.


text:
🛑 OECD is down

In c4d444e, OECD (https://stats.oecd.org/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OECD is back up in 16c49e2.


text:
🛑 ISTAT is down

In 22ffdc1, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 5dc6bf2 after 41 minutes.


text:
🛑 NBB is down

In 422c290, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 925 ms

Resolved: NBB is back up in 22a83d3 after 4 minutes.


text:
🛑 ESTAT is down

In 871818d, ESTAT (http://ec.europa.eu/eurostat/SDMX/diss-web/rest/dataflow/ESTAT/all/latest/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in 618daa6.


text:
🛑 ISTAT is down

In 548ee33, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in bf5946a after 4 minutes.


text:
🛑 ISTAT is down

In 091bf0b, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 074f978 after 10 minutes.


text:
🛑 NBB is down

In 76296ed, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 555 ms

Resolved: NBB is back up in 17b2d2d after 8 minutes.


text:
🛑 ESTAT is down

In ac022ad, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in eca6942 after 6 minutes.


text:
🛑 NBB is down

In 2862824, NBB (https://stat.nbb.be/restsdmx/sdmx.ashx/GetDataStructure/ALL) was down:

HTTP code: 429
Response time: 680 ms

Resolved: NBB is back up in 3aeca51.


text:
🛑 ESTAT is down

In dcfb5e5, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in b300c4f after 15 minutes.


text:
🛑 ISTAT is down

In 4c270e4, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 61e8f18 after 6 minutes.


text:
🛑 ISTAT is down

In ce0a865, ISTAT (https://esploradati.istat.it/SDMXWS/rest/dataflow/all/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ISTAT is back up in 5a417ce after 29 minutes.


text:
🛑 ESTAT is down

In 0f95f0b, ESTAT (https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/dataflow/ESTAT/all/latest) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ESTAT is back up in a3c3716.


text:
[KK-DESIGN] 디자인 오류 수정

Description

화면 별로 통일되지 않은 부분 통일시키는 작업

Tasks

[x] 홈화면 타이틀 하얀색 고정
[x] 홈화면 즐겨찾기 cell의 선 겹치는 부분 수정
[x] 카테고리 화면 양 여백 맞추기
[ ] 카테고리 추가 화면 아이콘 여백 맞추기
[x] 카테고리, 검색, 설정 화면에서 topview 와의 간격 통일
[x] 텍스트필드 설정 통일
[ ] 동일한 alert 함수 사용

ETC
어플리케이션 안에서 사용하는 메세지 어투 등 통일화 작업 필요
(예, 수정했어요 vs 수정했습니다 같은)

동일한 alert 함수 사용

WebView 중에 텍스트 필드 사용하는 부분에서는 공통 함수 미사용
설정 화면에서 모든 데이터 지우기 부분도 작업중에 있어 수정하지 않음 -> 추후 수정할 필요성 있음

repo: nbcamp-archive/kkuk-ios