text:
Enhance error message when user runs from a non-component directory

What type of PR is this:
/kind bug

What does this PR do / why we need it:
Enhance error message when user runs from a non-component directory
Which issue(s) this PR fixes:

Fixes #5987
PR acceptance criteria:

[ ] Unit test

[ ] Integration test

[ ] Documentation

How to test changes / Special notes to the reviewer:

Run odo delete component or any other command from an empty directory.

The error message is long and could use an improvement, so I am looking for suggestions.

/lgtm

/override OpenShift Integration tests/OpenShift Integration tests
Reason: prow job passed.

/override ci/prow/v4.10-integration-e2e

authors: dharmit valaparthvi


text:
Fix ODF installation

Type of change
Note: Fill x in []

[x] bug
[ ] enhancement
[ ] documentation
[ ] dependencies

Description

Fix ODF installation:

Add sleep 30 sec between each ODF yaml for avoiding ODF installation failure
odf_disk_count: display -1 when 0,1 for avoiding conflict with 0/1 status code
Remove unused/ duplicated method: _install_and_wait_for_resource [duplicated: __install_and_wait_for_resource_with_retry]

For security reasons, all pull requests need to be approved first before running any automated CI

@RobertKrawitz, PerfCi is down due to this issue.
It is working for me when run it manually locally.
I will merge this PR and verify that issue will fix, if not I will revert that change.

source: gharchive/pull-request

repo: redhat-performance/benchmark-runner

license_type: permissive

license_source: github-api


text:
StackOverflowError if redis document has an indexed Set field

Hi
Using Spring boot 2.7.6 and redis-om-spring 0.6.3
I have a data model with a field of type Set of Integer
If I annotate my data model with @Document and that field with @Indexed, then I get java.lang.StackOverflowError at application startup and the application fails to start
at com.redis.om.spring.RediSearchIndexer.getNestedField(RediSearchIndexer.java:430)
at com.redis.om.spring.RediSearchIndexer.getNestedField(RediSearchIndexer.java:473)

@praks84 can you post a the full stack trace and the java file for the model and repo. Thanks!

source: gharchive/issue

repo: redis/redis-om-spring

license: MIT


text:
Unexpected exception while processing command

I got this problem when I trying to locking an object. Here is the problem:

org.redisson.client.RedisException: Unexpected exception while processing command
at org.redisson.command.CommandAsyncService.convertException(CommandAsyncService.java:325)
at org.redisson.command.CommandAsyncService.get(CommandAsyncService.java:168)
at org.redisson.RedissonObject.get(RedissonObject.java:72)
at org.redisson.RedissonLock.tryAcquire(RedissonLock.java:145)
at org.redisson.RedissonLock.lockInterruptibly(RedissonLock.java:114)
at org.redisson.RedissonLock.lockInterruptibly(RedissonLock.java:108)
at org.redisson.RedissonLock.lock(RedissonLock.java:90)
at com.hoaiduy.hello.service.WalletService.transferMoney(WalletService.java:72)
at com.hoaiduy.hello.service.WalletService$$FastClassBySpringCGLIB$$93c88aa5.invoke()
at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:738)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:673)
at com.hoaiduy.hello.service.WalletService$$EnhancerBySpringCGLIB$$6cba96ac.transferMoney()
at com.hoaiduy.hello.controller.WalletController.createTransaction(WalletController.java:37)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205)
at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:133)
at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:97)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandlerMethod(RequestMappingHandlerAdapter.java:827)
at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:738)
at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:967)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:901)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:970)
at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:872)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:661)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:846)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:742)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:108)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:81)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:197)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:478)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:80)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)
at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:799)
at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)
at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:868)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1457)
at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)
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.lang.IllegalStateException: Can't decode replay: HTTP/1.1 400
Transfer-Encoding: chunked
Date: Thu, 19 Oct 2017 10:15:31 GMT
Connection: close

And my code
redisson = (Redisson) Redisson.create();
Wallet wallet = walletRepository.findOne(senderId);
RLock lockSender = redisson.getLock(String.valueOf(wallet));
lockSender.lock();
try {
Amount amountIn = new Amount();
amountIn.setTransaction(transaction);
amountIn.setWallet(wallet);
amountIn.setAmount(amount);
amountIn.setState("RESERVED");
amountRepository.save(amountIn);
}finally {
lockSender.unlock();
}
what I'm missing?

According to stacktrace this is the problem:
Caused by: java.lang.IllegalStateException: Can't decode replay: HTTP/1.1 400

I found it, my problem was I can't connect to Redis server. The problem has been solved.

authors: hoaiduyit mrniko

repo: redisson/redisson


text:
why the ansy method can not ensure insert data crectly

Expected behavior
inert data fast and crect
Actual behavior
can not ensure insert data crectly
Steps to reproduce or test case
Redis version
v5.0.5 docker
Redisson version
v3.5.4
Redisson configuration
I used geospatial method(redisson.getGeo and geo.addAsync) to write data with a data size of 50 million, but found that redisson could not guarantee that all data were written every time.
// the config setting
static {
config = new Config();
config.useSingleServer().setAddress("redis://192.168.3.91:6379").
setTimeout(20000).
setRetryAttempts(10);
redisson = Redisson.create(config);
}
for (int j = 0; j < gpsdata.length; j++) {
geoentrys[j] = new GeoEntry(gpsdata[j].getX(), gpsdata[j].getY(), gpsdata[j].getId());
}
result.add(geo.addAsync(geoentrys));
}
// then check the Thread method if it was finished
for (int i = 0; i < result.size(); i++) {
if (result.get(i).isSuccess()) {
Thread.sleep(100);
count++;
} else {
i--;
}
// finally closed the redisson
System.out.println("completed:"+count);
redisson.shutdown();
//In debug mode, I found the futureTask: some compled normally , completed exceptionly, and some unfinished
Meanwhile, I also conducted experiments in the multi-node redis environment, and redisson could not guarantee that all data were written.However, it's only when I'm using the geo. Add () method and I'm writing multiple threads based on Thread class that I can make sure that all the data is written properly.

Meanwhile, I also conducted experiments in the multi-node redis environment, and redisson could not guarantee that all data were written.However, it's only when I'm using the geo. Add () method and I'm writing multiple threads based on Thread class that I can make sure that all the data is written properly.

You need to wait for sync with result.get(i).sync() method

You need to wait for sync with result.get(i).sync() method
As you suggested, this error occurred while checking to see if it was complete.
for (int i = 0; i < result.size(); i++) {
result.get(i).sync();
if (result.get(i).isSuccess()) {
count++;
}
}
//erro
org.redisson.client.RedisTimeoutException: Unable to send command: (GEOADD) with params: [Ljava.lang.Object;@4fd1f9c0 after 10 retry attempts.

@fbin87
unable to reproduce the issue with the current Redisson.

@fbin87
unable to reproduce the issue with the current Redisson.

@mrniko  thank you, official documentation needs to explain examples of how asynchronous methods can be used safely.This problem occurs when large amounts of data are written asynchronously.The data amount is 20 million track data.

Use RBatch object to make mass insertion. Overwise if you execute 20 million async requests at the same time you'll always get errors Unable to send command.


text:
Intermittent + Unable to send command! Node source: NodeSource [slot=15623, addr=null, redisClient=null, redirect=null, entry=null], connection: RedisConnection@1179865693

Expected behavior
Actual behavior
Steps to reproduce or test case
Redis version 6.X
Redisson version 2.15.2
Redisson configuration
clusterServersConfig:
idleConnectionTimeout: 10000
connectTimeout: 10000
timeout: 3000
retryAttempts: 3
retryInterval: 1500
failedSlaveReconnectionInterval: 3000
failedSlaveCheckInterval: 60000
password: null
subscriptionsPerConnection: 5
clientName: null
loadBalancer: !<org.redisson.connection.balancer.RoundRobinLoadBalancer> {}
subscriptionConnectionMinimumIdleSize: 1
subscriptionConnectionPoolSize: 50
slaveConnectionMinimumIdleSize: 24
slaveConnectionPoolSize: 64
masterConnectionMinimumIdleSize: 24
masterConnectionPoolSize: 64
readMode: "SLAVE"
subscriptionMode: "SLAVE"
nodeAddresses:
- "Redis address"
scanInterval: 1000
pingConnectionInterval: 30000
keepAlive: false
tcpNoDelay: true
threads: 16
nettyThreads: 32
#codec: !<org.redisson.codec.Kryo5Codec> {}
transportMode: "NIO"

Sorry, 2.15.2 version isn't supported. Unable to reproduce it with the latest version


text:
autosave: comments should be saved by thread-id

Having a comment autosaved an then clicking in another commentbox will populate the new commentbox with text from another thread otherwise. This behaviour is prone to error.

Let me merge this with my previous issue #1068 -
While autosave is very useful and works pretty much as advertised, the comment handling is a bit weak. I think we need to not only save them by thread-id, but also load them during page load/update so that the correct comment box is opened.
As an additional feature (lower priority) put a timestamp on saved comments (and maybe posts also) where they will expire after 48 hours. I've been known to leave a page as a means of deciding not to post the comment I've spent the last 30 minutes working on. It's one click instead of click to focus, ctrl-a, ctrl-x. I'll need to adjust that behaviour but we probably don't want unfinished and abandoned comments piling up in localstorage

I believe I have it all working except for expiration.

authors: git-marijus zotlabs

repo: redmatrix/hubzilla

license: mit

license_source: bigquery


text:
Content moves out of view when collapsing a long item

From @pafcu on January 7, 2015 15:13
After collapsing a long item it is sometimes necessary to manually scroll up so that you can continue reading whatever is after the now collapsed item.
This can probably be solved by taking the callback example code at http://jedfoster.com/Readmore.js/, but only scrolling up if the item is actually out of view (can be done e.g. with the code found at http://stackoverflow.com/a/488073).
It's a question of ~10-15 lines of code in total, most of which is given. You basically have to come up with one "if(...)" clause, and copy-paste the given code in the correct place (in the collapseHeight function in view/js/main.js).
Copied from original issue: friendica/red#828

@pafcu This issue is closed because Redmatrix evolved into Hubzilla. When this is still an issue in the most recent version of Hubzilla, please recreate this issue over there. We're sorry for any inconvenience this will maybe give you.

repo: redmatrix/redmatrix


text:
Products, Bundles, Pricelists to support sale prices

Currently there's no way to offer a discounted price on the products, bundles and pricelists. Need to add this support.

Won't fix. It's already possible with the Coupon module. However, we need to add a column that mark the coupon as "Automatically apply". Will open another ticket for this.

repo: redooor/redminportal


text:
Expose font names from std_truetype::FontInfo

I'd like to be able to read the font names from the Font, currently info is private and prevents external crates from accessing the font names.
I'll open a PR (#87) that returns FontInfo#get_font_name_strings() shortly; hope you don't mind :slightly_smiling_face:

This can be closed now if I understand correctly, please reopen otherwise.

Yay a release! :tada: (was waiting on that)

repo: redox-os/rusttype


text:
Replays of the new season Deep Freeze all cause the same error

I've tried multiple match replay folders as well as match replay files and all of them cause 'FTL error="dissect: received an invalid length of bytes"'.
The match replays I am talking about were generated by the game with the new Deep Freeze patch installed.
I am using the r6-dissect.exe from the most recent Windows release.

maybe something happened since the test server, i will check soon

@hanslhansl hey, i cannot replicate this issue. could you send a replay file and tell me what mode the replay is from (quick play, vs ai, etc)

@redraskal here is a standard match replay file with the same error.
Analyzing Match-2023-12-07_20-35-16-59...
1:30PM INF Reading round 1/7...
1:30PM FTL error="dissect: received an invalid length of bytes"

Match-2023-12-07_20-35-16-59-R01.zip

still broken in some cases lol, will fix soon

Issue has been fixed this bug report can be closed.

authors: Annabxlla f870103 hanslhansl redraskal


text:
[Refactor] DownloadComplete now uses helper functions

I know that long-term, we want to rework our version detection and versioning scheme. This is a good step towards that goal. Now, the version detection functionality is isolated to its own helper function.

LGTM.

authors: NarryG scowalt

repo: redscientistlabs/RTC-Launcher


text:
check for undefined action.payload - REHYDRATE

With the possibility to integrate redux-offline middleware in the app middleware chain we have to check if the action.payload is undefined.

Thanks for the PR. I hadn't thought of how moving the offline middleware about might make integration more difficult. Although I would rather throw an error or otherwise warn the user if something was misconfigured instead of quietly setting a default value for the payload.
That being said, I don't see how moving the offline middleware could effect the particular problem you mention. Redux Persist, which is responsible for emitting the REHYDRATE event, is set up in the store enhancer. While the code to process this event is in the reducer enhancer. The middleware is not involved.
Could you provide some code demonstrating your problem? If you don't have an existing repo, there is an example in this repo you can use as a base, or you can fork this code for in browser editing.

Maybe you are right and its not a problem of the published middleware. I should have mentioned that iam using redux-persist v5, so I set the redux-offline config.persist = undefined. I dont know how it works in redux-persist v4 but in v5 the PERSIST action can dispatch rehydrate with an undefined payload, e.g. first start of the app. Here is my setup

Thanks for the code, I was able to reproduce the error. It does seem to be a problem introduced by Redux Persist v5.
Please remove the last two commits. We do not check /lib in on purpose. This is where we put the transpiled code, but as it is dependent on /src and the babel configuration, there is no reason to include it here. If you need it yourself you can always just build it with npm run build.
Also we do not put IDE specific files in gitignore. I would suggest using a global gitignore.

Know that, was just the fastest way to distribute the package with my team. I removed the commits. Thanks for your time.

authors: dbadeveloping wacii

repo: redux-offline-team/redux-offline


text:
Can not cancel take effect after race

Steps to reproduce
Description of the bug/issue
Can not cancel take effect:
TypeError: currCb.cancel is not a function
    at Function.cb.cancel (./node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:1262:14)
    at ./node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:715:30
    at Array.forEach (<anonymous>)
    at Function.cb.cancel (./node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:714:12)
    at chCbAtKey (./node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:699:12)
    at currCb (./node_modules/@redux-saga/core/dist/redux-saga-core.dev.cjs.js:1249:7)

Steps to reproduce the bug/issue

const { runSaga } = require('redux-saga'); // version 1.0.2
const { race, take, delay } = require('redux-saga/effects');

runSaga(
    {
        channel: {
            take() {
                // silent channel
            }
        },
        dispatch() {},
        getState() {}
    },
    function*() {
        yield race({
            t: take('*'),
            d: delay(1000)
        });
    }
);

I try read the redux-saga and debug this issue.
I think error in this file (line 104):
https://github.com/redux-saga/redux-saga/blob/6667d125b9cbc2c65d1c685468c1b2fe1bbdecd1/packages/core/src/internal/effectRunnerMap.js#L85-L106
There are no takeCb.cancel implementation.

Ok, i got it. I should define cancel method on callback parameter in take function.
Another way - use stdChannel() and send message to this channel.

repo: redux-saga/redux-saga


text:
Add types to help write typesafe connected React components

This is related to my question on https://github.com/redux-zero/redux-zero/issues/147. The types defined in /types/Actions allow you to easily write typesafe React components, where TypeScript knows about all the available actions that have been connected to your component, and their state bound parameter types. I've been using this on a project of mine, so figured I'd share it here to see if anybody else would find it useful.
It was a bit tricky because of how bindActions lobs off your first argument (state) from each of your actions. The magic to get that to work is in the FuncTypeWithoutFirstArg type, which takes a generic function T and returns a function type with the first argument omitted.
Here's an example of how to use it:
import { BoundActions } from "redux-zero/types/Actions";

interface State {
  loading: boolean;
}

const actions = (store, ownProps) => ({
  setLoading: (state, loading: boolean) => ({ loading })
});

interface StoreProps {
  loading: boolean;
}

type Props = StoreProps & BoundActions<State, typeof actions>

class Component = (props: Props) => (

 props.setLoading(!props.loading)}>Stuff

);

const mapToProps = (state: State): StoreProps => ({ loading: state.loading });

const ConnectedComponent = connect(
  mapToProps,
  actions
)(Component);

const App = () => (
  <Provider store={store}>
    <ConnectedComponent value={10} />
  </Provider>
);

This is nice because TypeScript can now safely typecheck the actions we have on our props. So if our component did props.blah the compiler would complain. And if we did props.setLoading(123) it would also complain, because our setLoading action expects a boolean.
I had to upgrade Prettier, because the older version was choking on the conditional type in FuncTypeWithoutFirstArg. The newest version ending up modifying a whole bunch of stuff, so I just bumped it up to the earliest version that worked, which prevented it from making too many changes (since I figured making extensive Prettier modifications is sort of beyond the scope of this PR).
Thanks!

That is absolute 🏅

authors: matheusml naiyt

repo: redux-zero/redux-zero


text:
Docs: Redux [FAQ: Organizing State] remove You Might Not Need Redux

Because this was written at 2016, the content seems like counter part for over engineering with verbosity Boilerplate.
But we are living post Redux-Toolkit,「You Might Not Need Redux」is not tell us the Author's original meant by context lost.

You might not need this blog post.
Thanks!

I... actually would prefer to leave that link in, tbh.
I know it's old, but Dan did write it, and the arguments he made about "tradeoffs" and the use cases he described are still meaningful.

@markerikson Yeah, I know that feeling. I thought it was great post at the 2017.

I know it's old, but Dan did write it, and the arguments he made about "tradeoffs" and the use cases he described are still meaningful.

I agree with you the post fundamental still correct think.
But why we could have such as opinion? Because we are veteran of Redux(actually your level is god of Redux) so,
I think this is because we can extract and evaluate the essential purpose of this article, taking into account the differences between then and now.
But it's not friendly for new leaner.
original Tradeoff

authors: markerikson ryota-murakami timdorr

repo: reduxjs/redux


text:
Support “For you” in infinite-scroll

Please ensure:

[X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
[X] The bug happens after clearing extension cache. The "Clear cache" button below can also be found at the bottom of the options page.

Example URLs
https://github.com/
Extension version
22.5.22
Browser(s) used
Chrome
Description

Go to the "Following" tab on your GitHub dashboard
Reload
Notice that the infinite scroll is working here
Go to the "For You" tab on your GitHub dashboard
Note that the infinite scroll isn't working here
Reload
Note that the infinite scroll is working now (sometimes it doesn't work for infinite scroll either)

Include in this issue:

[ ] Screenshots/video/gif demonstrating the bug, if it’s visual
[ ] Console errors, if any

Almost opened a new issue for this. Despite still marked as Beta, this is announced almost 5 months ago, I think it's fine to support it. Even if things break, it's just the feed won't load automatically.

repo: refined-github/refined-github


text:
Many features don't reset across different repositories

Description
With the recent deployment of Turbo on GitHub, more ajax navigation are enabled that used to be impossible. One of them is navigate from one repo to another repo (usually through notifications  or profiles), which used to require a full load of the page.
Whether you like it or not is another topic, but for many Refined GitHub features, it poses a serious issue: we used to implicitly rely on a full load to reset their states across different repos, but that is not the case anymore. This results in them still using old states on a new repository and malfunctioning.
How to replicate the issue
Example: latest-tag-button appears on a different repo with no tag
https://user-images.githubusercontent.com/44045911/178644560-e1741b0c-3a5a-49a6-8fdd-f28d27966852.mov
Example: highlight-non-default-base-branch mistakenly use previous repo's default branch
https://user-images.githubusercontent.com/44045911/178644565-c2f9c002-929e-4353-9f73-83e8388c8833.mov
Extension version
22.7.11
Browser(s) used
Chrome

Maybe we can mem them based on repo? Example for latest-tag-button:
+ import mem from 'mem';

- const getRepoPublishState = cache.function(async (): Promise<RepoPublishState> => {
+ const getRepoPublishState = mem(cache.function(async (repo: string): Promise<RepoPublishState> => {
...snip...
- cacheKey: () => 'tag-ahead-by:' + getRepo()!.nameWithOwner,
+ cacheKey: () => 'tag-ahead-by:' + repo,
...snip...
+ const repo = getRepo()!.nameWithOwner;
- const {latestTag, aheadBy} = await getRepoPublishState();
+ const {latestTag, aheadBy} = await getRepoPublishState(repo);

Oof, that explains why I saw the wrong “latest tag” a few times.
This issue also affects API calls that use an empty repository() because they’re all locally memoized and I don’t think their key ever depends on the current repo.
But I don’t think the code you mentioned is affected, right? If cacheKey dynamically calls getRepo() then it will always get the latest/correct key. The problem is where we don’t use such dynamic key

Repro:

Open https://github.com/refined-github/sandbox/pulls (it uses a non-standard default branch name)
Open the notifications
Open any other repo
Visit the Pull requests page on that repo
See highlight-non-default-base-branch showing main even if it's the default for the current repo

I'm leaving this issue open just in case you still find broken features. I only addressed 2 very common scenarios (repository() and getDefaultBranch)
This issue would probably cover most of the rest of the issues:

https://github.com/fregante/webext-storage-cache/issues/34

And this could be nice, but I'm not sure I'll finish it:

#5839

Thanks for the fix 🥳
it was very annoying

authors: fregante kidonng methbkts


text:
show-names is broken on github enterprise 3.11.13

Description
I am on a private GitHub Enterprise version 3.11.13 and the show-names features is replacing the names with undefined.
I get the following trace in console:
refined-github.js:3397 Uncaught (in promise) Error: GraphQL:
Could not resolve to a User with the login of 'undefined'.
    at Object.v4uncached (refined-github.js:3397:60)
    at async show_names_updateLink (refined-github.js:6239:21)

I couldn't find the graphql query for this feature in the network tab, only the defaultBranchRef and total count of releases appeared there.
How to replicate the issue + URL
An equivalent URL on public github where the bug does not appear https://github.com/NuschtOS/nixos-modules/pull/76
Extension version
24.8.13
Browser(s) used
Google Chrome 127.0.6533.120
Token ⚠

[X] I set a token in the options page. I understand that some features require a token to work.

I'd accept a quick PR that detects undefined and throws an error instead so I can merge it in the next release this week.

@SuperSandro2000 can you investigate further? How can this be happening? We have a couple of places where undefined would fail before DOM replacement happens.

We're exclusively selecting a elements, so textContent cannot be undefined there, it has to be a string, even if empty.
https://github.com/refined-github/refined-github/blob/6e167b9d881bd05db8cb92a5e140144cda7fd873/source/features/show-names.tsx#L80
Right before this replacement happens, we call a function that exclusively works on strings:
https://github.com/refined-github/refined-github/blob/6e167b9d881bd05db8cb92a5e140144cda7fd873/source/features/show-names.tsx#L47

So it seems to me that this is somehow getting an 'undefined' string. Given the timing, this is very likely a consequence of:

https://github.com/refined-github/refined-github/pull/7666

Derp 🤦🏼 I totally forgot that I have a similar addon installed for our internal GitHub which provides a similar feature but translates our internal IDs to readable github names. When I disabled that addon the bug goes away. The feature in Refined GitHub works as expected but only shows the internal user IDs which is not that helpful 😅
Big Sorry!

Thanks for updating us 😅 🙏


text:
feat(proxy): add support for host level proxy

Fixes issue
fixes #628
Describe the change
Add proxy support on host level to allow user specify a different proxy for different hosts.
How to verify it
Open ~/.regctl/config.json and find proper host to add "proxy": "socks5://host:port" to make it work. Please make sure to replace socks5://host:port as your real proxy server.
Changelog text

Add host level proxy support #628

Please verify and check that the pull request fulfills the following requirements

[X] Tests have been added or not applicable
[ ] Documentation has been added, updated, or not applicable
[X] Changes have been rebased to main
[X] Multiple commits to the same code have been squashed

@sudo-bmitch Hi, Brandon, could you please to review this PR again? I think this feature can improve user experience for setting proxy for each registry(at least doesn't need global environment again).

It's in the queue to look at, but there are several others ahead of it right now.

authors: cloorc sudo-bmitch

repo: regclient/regclient


text:
🛑 BINUS Mobile (Server 1) is down

In 935b124, BINUS Mobile (Server 1) (https://mobileapi.apps.binus.edu) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BINUS Mobile (Server 1) is back up in 3ebe11a.


text:
🛑 BINUS ISRA API Server 1 is down

In 5745de0, BINUS ISRA API Server 1 (https://qmc.apps.binus.ac.id/api/v1/loadSetting) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BINUS ISRA API Server 1 is back up in b62b9d4.


text:
Get GCB to use a limited, read-only service account when previewing PRs

I don't think that's possible but I'm checking with GCP: https://console.cloud.google.com/support/cases/detail/26077434?project=relaycorp-cloud-gateway

GCP confirmed this in unsupported so they've created this internal issue to track my request: https://issuetracker.google.com/issues/175097630

No longer using GCB! 🎉

repo: relaycorp/cloud-gateway


text:
Any reason to query cursor in AddTodoMutation?

https://github.com/relayjs/relay-examples/blob/0f6344fd8477db51c4aaad0b78e98f31a2c51da1/todo/js/mutations/AddTodoMutation.js#L24
Is this required for new edge or can be ignored?
Does the backend even need to generate a cursor field?

@kassens Please. I have the same question.

I might be wrong, but I believe we ask for the cursor for pagination. If we want to use the new element as the ancjhor for pagination, we'd need it's cursor. E.g. (first: 10, after: <cursor>)

authors: jstejada steida vafada

repo: relayjs/relay-examples


text:
Mir-bridge-ready-service with standard-srv-library

this adds a service to the mir bridge, which signals whether the mir bridge is ready (subscribed to all necessary topics = operational).
Using only standard srv message (from std_srvs.srv import Trigger)

Ready for merge


text:
Doesn't work with <<fork>> option

example: https://mermaid-js.github.io/mermaid/#/stateDiagram?id=forks
workaround: replaced < with <

ran into a similar issue using <path> to designate a cli parameter in a sequence diagram.
Thanks for the workaround :)
Debugging
as for my experience with the bug, I found that the generated index.html and <svg> element contained the following code:
<text x="279" y="346" text-anchor="middle" dominant-baseline="middle" alignment-baseline="middle" class="messageText" dy="1em" style="font-family: "trebuchet ms", verdana, arial, sans-serif; font-size: 16px; font-weight: 400;">
    <path></path>
</text>

The tags are being escaped eventually, so tag closing is happening during page generation, and elsewhere (say, during rendering time in the browser.)
Additionally, when multiple were used, the associated closing tags were shoved into the last  element that existed with an unclosed tag. Not sure how it chooses which <text> element to add the closing tags to, but they all seemed to go to a single place.

authors: DanielFallon majcn

repo: remcohaszing/gatsby-remark-mermaid

license: ISC


text:
bug in dispersal-connect-matrix

there is some unknown issue that generates an unknwon issue

turns out this was not an issue at all, the original dispersal function was the buggy one. This is being addressed in #5


text:
Realm is not creating table for the class

I wrote this class:
@AutoValue
public abstract class Invoice implements Parcelable, AvModel<$RealmInvoice> {

    @Nullable
    public abstract Integer something();

    @AutoValue.Builder
    abstract static public class Builder {
        public abstract Invoice build();
        public abstract Builder something(Integer something);
    }
}

I am trying to use it, but when I try to read/write from Realm, I get this exception:
io.realm.exceptions.RealmException: class com.my.package.model.$RealmInvoice is not part of the schema for this Realm.
                                                            at io.realm.internal.RealmProxyMediator.getMissingProxyClassException(RealmProxyMediator.java:241)
                                                            at io.realm.DefaultRealmModuleMediator.getTableName(DefaultRealmModuleMediator.java:228)
                                                            at io.realm.RealmSchema.getTable(RealmSchema.java:296)
                                                            at io.realm.RealmSchema.getSchemaForClass(RealmSchema.java:316)
                                                            at io.realm.RealmQuery.<init>(RealmQuery.java:138)
...

I noticed from the gradle output that Realm is processing other of my classes but none of those generated by this Autovalue extension:
19:11:52.610 [ERROR] [system.err] Note: Processing class OtherModel
19:11:52.612 [ERROR] [system.err] Note: Creating DefaultRealmModule

So, $RealmInvoice seem to be ignored by the Realm plugin.Therefore the DefaultRealmModuleMediator.java does not contain the class $RealmInvoice and that is why I am getting the exception.
Any ideas of what could be going on? Maybe when the Realm task is running before that class is generated? If so, any ideas of how to work around it?
Thanks!

Ok. I think I fixed it by reordering the plugins in my build.gradle. It looks like the android-apt plugin must come before Realm plugin (not after):
apply plugin: 'com.neenbedankt.android-apt' // must be applied before 'realm-android'
apply plugin: 'realm-android'

I am attaching a sample project with the issue. The problem occurs only when there are others RealmObject subclasses in the project besides the ones generated by auto-value-realm processors.
RealmExample.zip


text:
Allow floating point numbers when scaling process size.

Fixes https://github.com/remind101/empire/issues/653
This allows you to provide floating point numbers for the memory portion of a process size when scaling:
$ emp scale web=1:256:0.5gb -a acme-inc
Scaled acme-inc to web=1:1X.
$ emp scale web=1:256:0.9gb -a acme-inc
Scaled acme-inc to web=1:256:921.60mb.
$ emp scale web=1:256:0.95gb -a acme-inc
Scaled acme-inc to web=1:256:972.80mb.

:+1:

authors: ejholmes phobologic


text:
Homepage optimizations

Small changes:

Add container class to cards for better responsiveness
Pull down and host jpgs
Crop images to be the same ratio

Ran lighthouse (desktop, before changes) and it wasn't terrible:

My changes target this issue:

@sethdavis512 I didn't get a chance to leave this comment before you merged, but we could probably reduce the size/quality of the hero.jpg file.  As a background image with color overlay and content floating above, it probably doesn't need to be full jpg quality at 451k.
I created https://github.com/remix-austin/remixaustin-com/pull/38 with a compressed jpg which is about 1/3 of the size 🙂

Yes! Nicely done

repo: remix-austin/remixaustin-com


text:
[Bug]: useSubmit hook does not post to the route action function

Which Remix packages are impacted?

[ ] remix (Remix core)
[ ] create-remix
[ ] @remix-run/architect
[ ] @remix-run/cloudflare-workers
[ ] @remix-run/dev
[ ] @remix-run/express
[ ] @remix-run/netlify
[ ] @remix-run/node
[X] @remix-run/react
[ ] @remix-run/serve
[ ] @remix-run/server-runtime
[ ] @remix-run/vercel

What version of Remix are you using?
1.0.6
Steps to Reproduce
Clone and run this repo: https://github.com/sbernheim4/remix-bug-demo.
The submit function returned by useSubmit does not hit the route's action function.
Expected Behavior
The action function should be invoked on the post request that the submit function initiates.
Actual Behavior
An error is thrown:
Uncaught (in promise) Error: Route "root" does not have an action, but you are trying to submit to it. To fix this, please add an `action` function to the route

I believe this comes from this line.
I believe this line should instead be something like
  matches = [matches[matches.length - 1]]

but that doesn't solve everything. This only causes another issue (which I don't yet understand) when the final fetch function is made and the remix server returns a 500 error.

Closing this out. Issue was the folder/file structure where I had
app/
  routes/
    my-route/
      index.tsx

when I should have had
app/
  routes/
      my-route.tsx

repo: remix-run/remix


text:
fix(docs): fix post page link href in admin page for blog tutorial

In admin page, link href for post pages should be /posts/${post.slug} rather than post.slug

@kentcdodds Thanks for the reply. However, because of "Nested Routing", without the full URL, the link would be treated as /admin/posts/${post.slug}, which I believe is not implement.

Gotcha! Thanks for this!

@kentcdodds @Hopsken it seems this error was reintroduced again, since switching to the indie stack?
I just followed the blog tutorial and the posts inside the admin link to: "http://localhost:3000/posts/admin/my-first-post", which should be "http://localhost:3000/posts/my-first-post"

authors: Hopsken dylancom kentcdodds


text:
3 code quality

Added pylint and flake8. Instructions on how to run both linters can be found in the README.md.
Custom checkers for pylint were also added based on common ML smells.

Readme instructions worked :),
Got different final result to previously however (6.79/10), (all issues due to make_dataset.py), so I assume everything will work great in final run :)

authors: SDuveen flaviogheri


text:
亲，装上之后 android还是会有白屏，怎么办，你是我的希望啊，困恼好久了

当我看到有人写这个功能的时候  我那个激动啊 终于有人跟我一样在乎这一秒的白屏了

这个应该是解决不了的 见 https://github.com/cnsnake11/blog/blob/master/ReactNative开发指导/ReactNative安卓首屏白屏优化.md

repo: remobile/react-native-splashscreen


text:
Add 'varnum' to proc contents statements in SAS script

Change any use of PROC CONTENTS as follows.
Current:

proc contents data=slice_grids;
run;

New:

proc contents data=slice_grids varnum;
run;

This orders the SAS output by variable position instead of alphabetically (by variable name). This is my preferred style.

@mrueschman is this only for slice_grids, or is for the other proc contents as well?

For both 'slice' and 'slice_grids'.

authors: mrueschman remomueller

repo: remomueller/slice


text:
pycarwings3~=0.7.1 not found on HASS 2024.8.0

System Health details
System Information

version
core-2024.8.0

installation_type
Home Assistant OS

dev
false

hassio
true

docker
true

user
root

virtualenv
false

python_version
3.12.4

os_name
Linux

os_version
6.6.31-haos-raspi

arch
aarch64

timezone
Europe/Amsterdam

config_dir
/config

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
5000

Installed Version
1.34.0

Stage
running

Available Repositories
1387

Downloaded Repositories
8

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Home Assistant Supervisor

host_os
Home Assistant OS 12.4

update_channel
stable

supervisor_version
supervisor-2024.08.0

agent_version
1.6.0

docker_version
26.1.4

disk_total
439.4 GB

disk_used
266.1 GB

healthy
true

supported
true

host_connectivity
true

supervisor_connectivity
true

ntp_synchronized
true

virtualization

board
rpi4-64

supervisor_api
ok

version_api
ok

installed_addons
Mosquitto broker (6.4.1), File editor (5.8.0), ESPHome (2024.7.3), NGINX Home Assistant SSL proxy (3.9.0), Let's Encrypt (5.0.26), Home Assistant Google Drive Backup (0.112.1), SQLite Web (4.2.0), InfluxDB (5.0.0), Samba share (12.3.2), Terminal & SSH (9.14.0)

Dashboards

dashboards
3

resources
1

views
5

mode
storage

Recorder

oldest_recorder_run
April 11, 2024 at 20:39

current_recorder_run
August 8, 2024 at 03:43

estimated_db_size
9907.01 MiB

database_engine
sqlite

database_version
3.45.3

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of any previous issues..

Describe the issue
After updating to HASS 2024.8.0
Using version e33c46b
Logger: homeassistant.setup
Source: setup.py:269
First occurred: 03:43:58 (1 occurrences)
Last logged: 03:43:58

Setup failed for custom integration 'nissan_carwings': Requirements for nissan_carwings not found: ['pycarwings3~=0.7.1'].

Reproduction steps

Update to HASS 2024.8.0
View error in notification

Debug logs
On request.

Diagnostics dump
Is not there.

There is an issue in pycarwings 0.7.1 with the aiohttp version being incompatible with the version used by the current HASS. I am about to solve this issue in pycarwings3 and I am looking forward to provide a fix soon..

@calamarain a simple HASS restart should fix it! I was able to fix the issue in carwings3, a restart should pick the current patch level release (0.7.2) from PyPI.

I don't know how you did it, but it is fixed now after a restart.
I've restarted earlier today, it didn't solve the problem then.
Thanks for the response!

authors: calamarain remuslazar

repo: remuslazar/homeassistant-carwings


text:
Parou de Funcionar?

Não funciona com Mercado Pago, Sicoobi, Credicard, Picpay entre outros? Terá atualização?

Funcionando normalmente, live demo disponivel em https://dinheiro.tech/qr-code-pix
Verifique as regras de formatação das chaves no arquivo exemplo.php


text:
Bump strapi-* 3.4.5 -> 3.6.2

update strapi + plugins to 3.6.2 per strapi current release
correct node/npm engines in package.json per strapi 3.6.2 standard
correct to include i18n in package.json per strapi 3.6.2 standard
update render.yaml to use node 14 per strapi current guide

please delete.

Hi @jonathanstanley, as far as I know it's not possible to delete closed PRs without involving GitHub support. Would you like us to open a support ticket with GitHub?

authors: davidmauskop jonathanstanley

repo: render-examples/strapi-sqlite


text:
Instructions to install latest release on Linux

At this moment, the recommended installation is only for MacOS with Homebrew.
Alternative installation from source requires GO.
Installing homebrew on a linux just to install this package is overkill
It would help if installation instructions similar to Homebrew would be available for Linux (Alpine Linux), to use CLI in GitLab pipelines/ Github Actions.
Or if there would be an installation script, such as one of:

dotenvx: https://dotenvx.sh
nvm: https://github.com/nvm-sh/nvm

This works on Alpine Linux:
echo "Installing Render CLI"
wget https://github.com/render-oss/cli/releases/download/v0.8.6/cli_0.8.6_linux_amd64.zip
unzip cli_0.8.6_linux_amd64.zip -d render-cli
chmod +x render-cli/cli_v0.8.6
alias render="render-cli/cli_v0.8.6"

We added an install script to get the latest version. Could you try running this?
curl -fsSL https://raw.githubusercontent.com/render-oss/cli/refs/heads/main/bin/install.sh | sh

I can confirm, that above install script works in node:18.18.2-alpine docker image

authors: jakemalachowski piotr-cz

repo: render-oss/cli


text:
Updated to config options.

Increased the default width, height, nameLength, and indiactorSize. The default was a bit small and if someone wants them smaller they can always change the settings. I also add an option to use the spells icon texture instead of the indicator dot.

That's a quite a size difference (10px). What UI scale and resolution are you using?

1920x1080 and default UI scale. We could drop it down a bit but I would suggest at least 3px larger. For the new spell icon settings the default size needs to increase at least a little bit because they are to hard to see at 7px and at 10px they take up too much space in the frame.

Closing because I reverted the changes.

authors: Grimsbain renstrom

repo: renstrom/NeavUI


text:
incompatibility with axiom

reporting it here cuz symbol-chat-1.21-1.2.3.jar in error
lemme know if it's an axiom problem and I need to report this to axiom devs
Versions
Fabric loader 0.15.11
Minecraft 1.21
Axiom 3.1.0
Symbol Chat 1.2.3
How to reproduce

Install axiom and symbol chat
Open game, open a world and just open chat
Game crashes

Error from logs
[17:26:21] [Render thread/ERROR]:
 Unreported exception thrown!
java.lang.IndexOutOfBoundsException: Index 0 out of bounds for length 0
	at java.base/jdk.internal.util.Preconditions.outOfBounds(Unknown Source) ~[?:?]
	at java.base/jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Unknown Source) ~[?:?]
	at java.base/jdk.internal.util.Preconditions.checkIndex(Unknown Source) ~[?:?]
	at java.base/java.util.Objects.checkIndex(Unknown Source) ~[?:?]
	at java.base/java.util.ArrayList.get(Unknown Source) ~[?:?]
	at net.replaceitem.symbolchat.gui.SymbolSelectionPanel.getSymbolTab(SymbolSelectionPanel.java:65) ~[symbol-chat-1.21-1.2.3.jar:?]
	at net.replaceitem.symbolchat.gui.SymbolSelectionPanel.getCurrentTab(SymbolSelectionPanel.java:69) ~[symbol-chat-1.21-1.2.3.jar:?]
	at net.replaceitem.symbolchat.gui.SymbolSelectionPanel.<init>(SymbolSelectionPanel.java:51) ~[symbol-chat-1.21-1.2.3.jar:?]
	at net.minecraft.class_408.addSymbolChatComponents(class_408.java:1068) ~[client-intermediary.jar:?]
	at net.minecraft.class_408.handler$djo01b$symbol-chat$onInit(class_408.java:535) ~[client-intermediary.jar:?]
	at net.minecraft.class_408.method_25426(class_408.java:61) ~[client-intermediary.jar:?]
	at net.minecraft.class_437.method_25423(class_437.java:309) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1507(class_310.java:1143) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_29041(class_310.java:1100) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1508(class_310.java:2088) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1574(class_310.java:1938) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1523(class_310.java:1246) ~[client-intermediary.jar:?]
	at net.minecraft.class_310.method_1514(class_310.java:882) [client-intermediary.jar:?]
	at net.minecraft.client.main.Main.main(Main.java:256) [client-intermediary.jar:?]
	at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:470) [fabric-loader-0.15.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74) [fabric-loader-0.15.11.jar:?]
	at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23) [fabric-loader-0.15.11.

Do you have any resourcepacks or mods that could mess with resourcepacks? It seems like the mod could not load any tabs from the resources, which shouldn't happen in the default configuration

authors: envizar replaceitem

repo: replaceitem/symbol-chat


text:
Allow Non-breaking Spaces

Why
If the value string had non-breaking spaces ('\u00A0'), the indentation would not work.
What changed
A non-breaking space character is treated same as the space character
Test plan
Test cases can be added which have non-breaking spaces as well as ordinary spaces in the input

sounds reasonable cc @Monkatraz can you tal?

Also needed the same fix. Can we merge this @sergeichestakov @Monkatraz ?

I'm in favor, think this change looks good, but unfortunately I left the org and no longer have write access to merge so will leave it up to @Monkatraz cc also @masad-frost

Thanks! Yeah we'll merge and mint a new release soon.

Published 6.5.3

authors: Monkatraz MrRobz masad-frost sergeichestakov tariq-dt

repo: replit/codemirror-indentation-markers


text:
Global delete

Global delete does not work in editors that implement codemirror-vim. This is reproducible in editors that include it, using this demo and this demo.
In all cases, global search returns the expected result, but when a delete command is added, it fails.
Steps to reproduce
Using vim-mode for editing, in a file containing a list of completed tasks (markdown syntax)
- [x] Task

execute :g/^-\s\[x\]/d
Expected result
Matching lines are deleted
Actual result
:43d not an editor command (line number changes based on file, result does not).

None of the tests I'd posted show this as working. I still get the same "not and editor command" when I try to add the delete onto my global command.
I tested this with using the "Run on Replit" link right from the npmjs page.

Sorry for the confusion. The issue was closed because the pull request was merged, but the fix was not published to npm. It will be included in the next version that should be published soon.

hey @x1101 just published the above commit in 6.0.5. Please give that a try and let us know if it's still not working!

I am unsure if the various demos have been updated, but as of today (2/10/23)

This one still gives the same error
This one seems to be working

That leads me to believe that the issue has been fixed, and now I'm just waiting for downstream apps to pull changes.
Thank you for addressing this!

Adding a follow up that the specific application I had issues with has now successfully integrated this change, and works as expected.
Thank you for addressing this, it simplifies several workflows for me!

authors: nightwing sergeichestakov x1101

repo: replit/codemirror-vim


text:
Added some improvements to the README

fix typo
clarify path
updating ALLOWED_HOSTS

😃🙏 Cheers @mkuzak ! Great additions. Did you get everything to work ok then?

yes, got docker running on my machine after some fight :)

authors: annakrystalli mkuzak


text:
_send_warning always raises in strict mode

_send_warning sounds innocuous enough that we've used it in some places that maybe shouldn't be fatal for users running in strict mode.
We should rename this in a way that makes it clear that this is the behavior and consider adding a less fatal way of notifying users in cases that really should only ever be warnings.

Note, this is the cause of a reported error where AnyValue raises a TypeError if passed a None value.

I agree with the rename, but I would expect strict to always mean "throw instead of warn"

I agree with the rename, but I would expect strict to always mean "throw instead of warn"

Right now this applies only to python warnings.  For example, this code in the batcher produces a warning from rust.
https://github.com/rerun-io/rerun/blob/main/crates/re_log_types/src/data_table_batcher.rs#L228
Should this raise an exception instead?

Interesting -- I'm still not fully convinced that all warnings should be panics/exceptions in strict mode, though I agree many of them probably should be.
Still, my preferred interpretation of strict mode is something along the lines of "exceptions for warnings about something that happen as a direct function of user input and for which user could practically change their code to avoid."  Panicking or throwing exceptions for warnings that happen in circumstances that are outside the control of the user, such as data being dropped because a network connection went down, still seems like a bad experience.
Either way, the helper function was renamed in https://github.com/rerun-io/rerun/issues/3716 and I don't have a concrete warning I want to make non-exceptional at the moment, so I'm going to close for now.

Very true, connection errors and other things outside the users control should not be affected by strict mode.
(The Rust strict mode is only for tests. All errors are already returned using Result, always)

authors: emilk jleibs

repo: rerun-io/rerun


text:
Unexpected time columns in a range query

Setup
Consider a range query with Position2D as PoV on this data:
def specimen_archetype_with_latest_at_semantics():
    """Archetype across spread over a multi-row chunk and two single-row chunks, with latest-at semantics."""
    rr.send_columns(
        "/archetype_chunk_with_latest_at_semantics",
        frame_times(range(10)),
        [
            rrc.Position2DBatch([(i, i) for i in range(10)]),
            rrc.ClassIdBatch(range(10)),
        ],
    )

    set_frame_time(0)
    rr.log_components("/archetype_chunk_with_latest_at_semantics", [rr.Points2D.indicator()])

    set_frame_time(5)
    rr.log_components("/archetype_chunk_with_latest_at_semantics", [rrc.RadiusBatch(2)])

(from https://github.com/rerun-io/rerun/pull/7469)

Expected
Given that the POV is only logged on the frame timeline, I'd expect only that timeline to be present in the query schema.
Actual
Both log_tick and log_time are in the schema.

Yeah, this is not longer relevant with the new view content/PoV definition.


text:
Unfreezing weights during training

Hi, thanks for your work,
Can you explain why do you have a training procedure with a gradual weights unfreezing? Why do you never train the first layer? What was the motivation?
Thanks,

Hi, @JudasDie @Sy-Zhang @zhangliliang @HYPJUDY @ZhichengHuang can you please clarify the weight unfreezing procedure?
Thanks

Hi, @JudasDie @Sy-Zhang @zhangliliang @HYPJUDY @ZhichengHuang can you please clarify the weight unfreezing procedure?
Thanks

Hi, sorry for my late replay. 1) Gradual weights unfreezing is faster than unfixing all layers at the beginning of training. 2) Of course you could train the first layer. However, in my experience, it doesn't bring more gains.

@JudasDie Is it possible then to change the number of epochs or the number of steps or the learning rate, such that the same result is achieved faster?

@JudasDie

authors: ISosnovik JudasDie ferumchrome

repo: researchmm/SiamDW


text:
Deep-Link to suggested connection does not load remote atom data

Required for linking from notifications and emails:
Linking into https://satvm05.researchstudio.at/owner/#!/post/?postUri=[posturi]&viewConnUri=[connuri] yields this:

Additional bug here: clicking x for close does not work when getting to this view with the 'deep link'

clicking the x induces a browser.back, which is somewhat alright but i would like to get rid of that overlay view anyway so i might just do that when handling these bugs, just have to think about a somewhat "smart" solution

authors: fkleedorfer quasarchimaere

repo: researchstudio-sat/webofneeds


text:
lazy-load dependencies that are not used in the browser

This allows excluding these heavy dependencies (like stream and zlib) from the browser builds.
Also removed bluebird from the dependencies and kept it in devDeps only. This module like others now expects the Promise and fetch to be available globally. It was already mentioned in docs but the module was still pulling bluebird in which again may increase tte bundle size.

Oops, my change re Bluebird will break this module because it uses Promise.try.

Hmm, I'm thinking if I should make this work with standard promises/a+ (not hard at all, but only makes sense if we apply it to every module in the chain, which is definitely doable), or just make everybody use the same version ob bluebird and bundle it with the browser SDK.
Actually the current size of the SDK is already acceptable (72K minified and gzipped).

Well you know I'd choose to bundle bluebird! :P  It removes the need to polyfill and adds a lot of niceties (and performance, at least for now), and is essentially free for any uses within nodejs since we use it pretty much everywhere

Yeah, I don't care about node.js, it's only the browser bundle size I'm worried about. OK I will return it for now.

I know you don't, but I do :P

So merging now with lazy-loading but without removing the bluebird.

authors: Page- emirotin

repo: resin-io-modules/resin-request


text:
Always use the /host_run dbus socket

@petrosagg

SGTM

authors: pcarranzav petrosagg

repo: resin-io/resin-wifi-connect


text:
Ability to add extra env variables

This adds the ability to add extra env variables to the pod

Thanks, looks good. I'll tag a new helm chart a bit later so it'll be available for everyone.

authors: hansaya ressu

repo: ressu/kube-plex


text:
java.lang.AbstractMethodError for Rest assured version 4.3.2

I am getting following error is this bug with latest version of rest assured

Rest assured version 4.3.2
groovy version 3.0.6

Exception occurred on line 56: io.restassured.internal.RequestSpecificationImpl.invokeMethod(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object; Caused by: java.lang.AbstractMethodError: io.restassured.internal.RequestSpecificationImpl.invokeMethod(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;

For the above issue I am not using spring, its simple java test.

I fixed it by add this version into pom.xml file
<rest-assured.version>4.3.2</rest-assured.version>
<groovy.version>3.0.6</groovy.version>

repo: rest-assured/rest-assured


text:
Rest Assured does not set content length for file upload with Content-Type=application/octet-stream;

I am using Rest Assured for the first time and find it quite powerful.
I am testing one of my REST service that accepts Content-Type=application/octet-stream; and requires Content-Length header. However I can't achieve this. The test cases fails if I explicity set the header as .header("Content-Length", fileSize)
Error:

Caused by: org.apache.http.ProtocolException: Content-Length header already present
at org.apache.http.protocol.RequestContent.process(RequestContent.java:97)

If I don't set the content length my REST service complaints. I enabled log().all() and found that the content length is not set if I use body(inputstream) or body(file).
Here is the log

Request method:	POST
Request URI:	https://localhost:8777/services/files
Proxy:
Request params:
Query params:
Form params:
Path params:
Headers:		x-mc-service-name=rewards
x-file-name=TestFile.txt
x-file-size=10992108
x-checksum=fa6915b728bc93dd72a679a189bd3b51
Accept=/
Content-Type=application/octet-stream; charset=ISO-8859-1
Cookies:
Multiparts:
Body:
C:\Users\vb\AppData\Local\Temp\junit8893347449009337662\tmp\TestMultiLarge5MB.txt

I zeroed down the problem to this:
https://github.com/rest-assured/rest-assured/blob/315d610697404209538aeb2e0f09a21ee9726006/rest-assured/src/main/java/io/restassured/internal/http/EncoderRegistry.java#L112
I am wondering why do we set content length -1 when we already know that source of content is file and can determine size of it. Any suggestions?

That sounds reasonable since we know that it's a file. Not sure why it's set to -1. Perhaps you could provide a pull request?

I will create PR soon - just tied up at work.

@vjykumar Was the PR created? What is the current status of it?

I am having the same problem when I am doing a put to upload a file to Amazon S3 bucket. It needs the Content-Lenght as a header, but I can't see it being set. I have tried what amoltambe87, but that does not seem to do anything for me.
Here is what my call looks like
ValidatableResponse response = given()     .header("Content-MD5", image.getMd5String64Base())     .header("Content-Type", image.getMimeType())     .contentType(image.getMimeType())     .contentType("multipart/" + image.mimeType)     .header("host", "UNSIGNED-PAYLOAD")     .header("charset", "UTF-8")     .header("Connection", "keep-alive")     .header("Cache-Control", "no-cache")     .multiPart(image.fileName, image.fileName, image.imageBytes, image.mimeType)     .log().all()    .when()     .put(url)    .then()     .log().body();
Any tips of how to get the Content-Length to work? Thanks!

authors: iuandrei johanhaleby nrstaber vjykumar


text:
Remove duplicate require

Net http already requires 'uri' internally. No need to duplicate it.

Thanks, but it's still a best practice to be explicit with require rather than assuming other libraries will take care of dependencies.

authors: ab pawurb

repo: rest-client/rest-client


text:
Allow limiting outgoing bandwith for backup

Currently when using a remote backend (e.g. sftp) restic saves data with the maximum bandwidth available. Add an option like --bwlimit (like rsync) which limits the outgoing bandwidth.

This would be neat. Examples of nice/ionice/namespaces configurations in Linux would also be neat, even if those are external mechanisms.

#483 lists an example for using ionice and nice with restic.

Whoops, wrong button.

I'm testing out the new backblaze b2 support (uploading 4300 files, 28GiB). You did such a good job on this one it's forced me to look up this issue. restic is crushing my 15Mbps upload so hard I can't do anything else :laughing:

For b2, you can limit the number of parallel connections with -o b2.connections=2 (by default it's 5).

@wpbrown you probably can use trickle if you are on linux.

@sfrique No, you can't use trickle (with the restic's standalone binary). From the trickle man page:

Furthermore, trickle will not work with statically linked executables...

@cgonzalez you are right. I just remember I've use trickle before. My bad!

Ah, this was added in #1336 already, restic now supports --limit-upload and --limit-download. I'm closing this issue.

authors: cfcs cgonzalez fd0 sfrique wpbrown

repo: restic/restic


text:
fs: Handle absolute pathname for --stdin-filename

What is the purpose of this change? What does it change?

Return valid directory info from Lstat() for parent directories of the specified filename. Previously only "/" and "." were valid directories.
Also set directory mode as this is checked by archiver.
Was the change discussed in an issue or in the forum before?

Closes #2063
Checklist

[x] I have read the Contribution Guidelines
[x] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Just checking in (since you haven't checked the last box): is this PR ready for review? Are you done? Or do you need help with anything?

Thanks for the check-in, yes this is ready for review. If this approach looks good, I believe it does handle absolute pathnames. The only question I had was should relative directory paths be allowed for --stdin-filename?
With this fix, a relative directory will still fail because the snapshot path is always pre-pended with "/" and so will always be absolute. But I think supplying a relative path in this context doesn't make sense, so giving an error for a relative directory would seem correct. But good to get other thoughts on that?

                                                                                Why not just expand the relative path name so the corresponding absolute one, and use that? Then it's supported and is up to the user to decide how they want to specify the path, and it's in line with how you specify paths in other parts of restic.

Why not just expand the relative path name so the corresponding absolute one, and use that?

I don't think that's a good idea, then the path in the snapshot depends on the current directory, which may be surprising. I'd just take the path as an absolute path, and be done with it:

/foo/bar becomes /foo/bar
foo/bar becomes /foo/bar
./foo becomes /foo
../../foo/bar becomes /foo/bar

And so on. That's (IMHO) the least surprising thing we can do.

Whoopsi, that was the wrong button :)

Thanks for the feedback, that sound good, will make those changes.
On the relative path, yes treating it as an absolute path looks like a clean solution and that works, thanks.
One minor point on the suggested change, I believe path.Join() already calls Clean() so don't think it needs to be called on the joined path.

Thanks for all the help on this.
And of course, thanks for restic, great backup solution!

authors: fd0 garrmcnu rawtaz


text:
Error in v3 test: Errorf format %q has arg out of wrong type

v3.0.5 on Go 1.12.5 Fedora Rawhide x86_64:
Testing    in: /builddir/build/BUILD/rethinkdb-go-3.0.5/_build/src
         PATH: /builddir/build/BUILD/rethinkdb-go-3.0.5/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin
       GOPATH: /builddir/build/BUILD/rethinkdb-go-3.0.5/_build:/usr/share/gocode
  GO111MODULE: off
      command: go test -buildmode pie -compiler gc -ldflags "-X gopkg.in/gorethink/gorethink.v3/version=3.0.5 -extldflags '-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '"
      testing: gopkg.in/gorethink/gorethink.v3
gopkg.in/gorethink/gorethink.v3/encoding
# gopkg.in/gorethink/gorethink.v3/encoding
./decoder_test.go:435:3: Errorf format %q has arg out of wrong type *gopkg.in/gorethink/gorethink.v3/encoding.UnmarshalerPointer
FAIL    gopkg.in/gorethink/gorethink.v3/encoding [build failed]

Probably affects master to since that code hasn't change since 3.0.5

It's golang changed behaviour. In go1.8 (latest go for gorethink.v3) it wasn't an error.
I recommend to update to v5, it has some major bug fixes.

Sadly github.com/theupdateframework/notary is still using v3 in their latest release.

It was already fixed in develop branch. I believe soon it will be merged to master, but it can be v6.

authors: CMogilko eclipseo

repo: rethinkdb/rethinkdb-go


text:
WIP Avoid ObjectRef overhead for effectively final case vars

Given
class C {
    lazy val s: reflect.internal.SymbolTable = ???
    import s._
    def test(t: Tree) = {
        t match {
            case ap @ Apply(sel @ Select(_, _), _) if (ap, sel).hashCode > 0 =>
                1
            case ap @ Apply(sel @ Select(_, _), _) if (ap, sel).hashCode == 0 =>
                () => ap
        }
    }
}

$ scalac  -Xprint:jvm sandbox/test.scala  2>&1 | tee /tmp/old && qscalac  -Xprint:jvm sandbox/test.scala  2>&1 | tee /tmp/new && diff -U1000 /tmp/{old,new}

--- /tmp/old    2019-08-27 10:47:15.000000000 +1000
+++ /tmp/new    2019-08-27 10:47:18.000000000 +1000
@@ -1,80 +1,80 @@
 [[syntax trees at end of                       jvm]] // test.scala
 package <empty> {
   class C extends Object {
     final <synthetic> lazy private[this] var s: scala.reflect.internal.SymbolTable = _;
     @volatile private[this] var bitmap$0: Boolean = _;
     private def s$lzycompute(): scala.reflect.internal.SymbolTable = {
       C.this.synchronized(if (C.this.bitmap$0.unary_!())
         {
           C.this.s = (scala.Predef.???(): scala.reflect.internal.SymbolTable);
           C.this.bitmap$0 = true
         });
       C.this.s
     };
-    <stable> <accessor> lazy def s(): scala.reflect.internal.SymbolTable = (if (C.this.bitmap$0.unary_!())
+    <stable> <accessor> lazy def s(): scala.reflect.internal.SymbolTable = if (C.this.bitmap$0.unary_!())
       C.this.s$lzycompute()
     else
-      C.this.s: scala.reflect.internal.SymbolTable);
+      C.this.s;
     def test(t: reflect.internal.Trees$Tree): Object = {
       <synthetic> var rc13: Boolean = false;
-      <synthetic> var x2: runtime.ObjectRef = scala.runtime.ObjectRef.create((null: reflect.internal.Trees$Apply));
+      <synthetic> <stable> var x2: reflect.internal.Trees$Apply = (null: reflect.internal.Trees$Apply);
       {
         case <synthetic> val x1: reflect.internal.Trees$Tree = t;
         case15(){
           if (x1.$isInstanceOf[reflect.internal.Trees$Apply]())
             {
               rc13 = true;
-              x2.elem = (x1.$asInstanceOf[reflect.internal.Trees$Apply](): reflect.internal.Trees$Apply);
+              x2 = (x1.$asInstanceOf[reflect.internal.Trees$Apply](): reflect.internal.Trees$Apply);
               {
-                val sel: reflect.internal.Trees$Tree = x2.elem.$asInstanceOf[reflect.internal.Trees$Apply]().fun();
+                val sel: reflect.internal.Trees$Tree = x2.fun();
                 if (sel.$isInstanceOf[reflect.internal.Trees$Select]())
                   {
                     <synthetic> val x4: reflect.internal.Trees$Select = (sel.$asInstanceOf[reflect.internal.Trees$Select](): reflect.internal.Trees$Select);
-                    if (new Tuple2(x2.elem.$asInstanceOf[reflect.internal.Trees$Apply](), x4).hashCode().>(0))
+                    if (new Tuple2(x2, x4).hashCode().>(0))
                       matchEnd14(scala.Int.box(1))
                     else
                       case16()
                   }
                 else
                   case16()
               }
             }
           else
             case16()
         };
         case16(){
           if (rc13)
             {
-              val sel: reflect.internal.Trees$Tree = x2.elem.$asInstanceOf[reflect.internal.Trees$Apply]().fun();
+              val sel: reflect.internal.Trees$Tree = x2.fun();
               if (sel.$isInstanceOf[reflect.internal.Trees$Select]())
                 {
                   <synthetic> val x9: reflect.internal.Trees$Select = (sel.$asInstanceOf[reflect.internal.Trees$Select](): reflect.internal.Trees$Select);
-                  if (new Tuple2(x2.elem.$asInstanceOf[reflect.internal.Trees$Apply](), x9).hashCode().==(0))
+                  if (new Tuple2(x2, x9).hashCode().==(0))
                     matchEnd14({
                       $anonfun(x2)
                     })
                   else
                     case17()
                 }
               else
                 case17()
             }
           else
             case17()
         };
         case17(){
           matchEnd14(throw new MatchError(x1))
         };
         matchEnd14(x: Object){
           x
         }
       }
     };
-    final <static> <artifact> def $anonfun$test$1(x2$1: runtime.ObjectRef): reflect.internal.Trees$Apply = x2$1.elem.$asInstanceOf[reflect.internal.Trees$Apply]();
+    final <static> <artifact> def $anonfun$test$1(x2$1: reflect.internal.Trees$Apply): reflect.internal.Trees$Apply = x2$1;
     def <init>(): C = {
       C.super.<init>();
       ()
     }
   }
 }

Upstream: https://github.com/scala/scala/pull/8375

repo: retronym/scala


text:
Add scraperwiki notifier

In order for the "status" of the ScraperWiki boxes to be active, we need to add something like this to when the script ends:
import scraperwiki

try:
  # Script runs.
  scraperwiki.status('ok')

except Exception as e:
  # Script fails.
  scraperwiki.status('error', e)

That helps determine the status of boxes / scripts.

gotcha.... thanks! btw, do you know what error SW throws? It's better to catch a specific exception.

I am not sure. However, that try: should catch errors within your scripts. Depending on the error, you may decide how to handle it instead of using the generic except Exception as e. The second parameter in `status('error', e)' should be the message of a particular error. That message is useful for sending in an email or displaying in the ScraperWiki dashboard.

authors: luiscape reubano

repo: reubano/hdxscraper-unhabitat


text:
Support Ecto 3.0

The latest Ecto update splits the repository apart, so to support both versions, we need to add both :ecto and :ecto_sql as optional dependencies.

@bryanjos I realize there are still some additional changes that need made here, but this made be held up until the next ecto release: https://github.com/elixir-ecto/ecto/pull/2798

@mcrumm sorry for the delay and thanks! I'll take a look today to get this up to ecto 3.0

Thanks again for the PR! I updated the lib to use ecto 3.0 and updated it to 1.0!

Sorry for leaving this hanging, and thanks for the update!

authors: bryanjos mcrumm


text:
Add Update/Removal placeholder sections to Readme

Added some placeholders for updating/removing the toolchain.
Maybe updating is taken care of by esy?

I'm going to streamline the README in a little bit (and perhaps move some sections to the Wiki), so I'll hold off on this for now. Thank you for submitting the PR, though, @rogererens !

authors: bryphe rogererens

repo: revery-ui/revery


text:
[feat] ga event list

埋在哪兒
哪些 event 要打 log

#50

repo: revtel/gatsby-starter


text:
How to escape encoding html tags

Hi,
I am having Object data which value contains
. When I invoke the template I got encoded characters. Is there a possibility to keep
?
                var template = Handlebars.Compile(text);
                var data = new {
                    Signature =  "Some text
 some text"
                };

                string result = template(data);

As a result i get this <br />. I would like to get

Use the triple-stash syntax:
{{{signature}}#

That solved it. Thanks.

authors: rexm zoranpro


text:
Running tests behat under 5.3

For now we use php -S. Need to use a real apache for 5.3...

Do we still care?

well, if we want to continue to support 5.3 it would be great to run tests over this version.
And I don't see any good reason to stop supporting 5.3

I have one: php 5.3 is officially deprecated in fact. As php 7 is coming looks like it should be a better option to have php 5.4 as a minimum requirement.

+1 for @tyx, 5.3 is still used (the most used) and there is no reason to stop supporting 5.3.
We don't use traits, yields, etc... And keeping array ATM is not a problem to me.

behat still support >=5.3.3...
Let's talk about real numbers:
http://w3techs.com/technologies/details/pl-php/5/all
Still 38% of php 5.x market share yup... but it's a global market share number for php 5.x releases.
How many people really using behat for bdd tests still use php 5.3 nowaday?

This is not the question. Why should we drop support ? Using [] instead of array() ?
If our code conception makes us use >5.3  functionnality, why not. It's not the case ATM.

Dropping 5.3 support is just a question of energy. Here we should need to upgrade our .travis.yml to use apache or nginx with a vhost.
So ok why not but if we do that I think it's a good thing to create a milestone with other things that php -S don't support no? (I thinkg about the HTTP LINK method ATM).

:+1:

php 5.3 will be remove from requirements in #52

and php 5.3 is deprecated BTW

authors: shouze stephpy tyx

repo: rezzza/rest-api-behat-extension


text:
Line spacing in longtable environment

The setspace package prevents settings for line spacing getting effective in floating environments like table for instance. This is desired behavior. But in contrast to that in longtable environments line spacing is applied. Therefore tables created with tabular in a table environment look different than tables created with longtable.
Is this intended as well?

setspace is even older than longtable (I think) so asking what was originally intended is hard to answer.
However the feature request seems reasonable modulo the usual concerns about compatibility effects on existing documents, I'll see what I can do. @FrankMittelbach  any thoughts?

It is certainly odd this way but what setspace prevents is linespacing in floats so a tabular set without a surrounding float environment would get  linespaced. So the question is what are longtables: considered to be like floats or like \begin{center}\begin{tabular}... or if both when to apply line spacing and when not (when they have no "caption"?)
So it isn't really a clear cut answr in my opinion what would be the correct design.
And by the way, unconditionally suppressing linespacing in floats seems to me also not absolutely the right thing to do, in theory it should probably configurable too
\usepackage[floats,text,footnotes]{setspace}

with "text" being the default. This way one could even do longtable and leav it to the user if that should be linespaced or not

authors: FrankMittelbach davidcarlisle gruberchr

repo: rf-latex/setspace


text:
hao to configure celery mult in django-supervisor

for exzample : the celery mult is:
celery multi start 4 -c 10 -A digger -Q analyse_report_queue -P eventlet -l info --pidfile="/tmp/celery/analyse_report_%n.pid" --logfile="var/log/celery/analyse_report_%n.log"
how to make the above celery mult command in the django supervisord.conf?

Thanks for reaching out. Unfortunately I am no longer actively maintaining this project, so I'm going to move it into archive mode:
https://rfk.id.au/blog/entry/archiving-open-source-projects/

authors: rfk zhangjianpinghik

repo: rfk/django-supervisor


text:
Client crash

Hi! A player on my server crashes everytime they go near a sunken city from L_Ender's Cataclysm mod. I checked their logs and it said something about the map and XaeroPlus. I suggested that they turn it off and it worked, they were able to rejoin after they turned off XaeroPlus. Is it the mods conflicting with each other or something else?
hs_err_pid1350.log

try updating XaeroPlus to the latest version (2.22.3)

Just updated the modpack yesterday, it is on the last version

can you get the player who is crashing to upload their their latest.log of the game session where it is crashing

the log can be uploaded here https://mclo.gs/ and you can paste the link to this issue

https://mclo.gs/PsamH5I

that's the same hs_err_pid file
i need the log file: .minecraft/logs/latest.log

oh, sorry, my bad
here it is https://mclo.gs/brfH5Wq

Can you get the user to try this build: https://nightly.link/rfresh2/XaeroPlus/actions/runs/10651897021/XaeroPlus-2.23%2Bforge-1.20.1-WM1.39.0-MM24.3.0.zip
(its a convenience link to this github action run's artifacts so they don't need a github account)

that seems to work
we tried to reproduce the crash but got nothing

awesome, thanks
as some explanation: Java on ARM CPU's like the Mac M1 has a few issues in how it translates java -> native ARM code
its not the first time i've seen similar issues or had to work around them in weird ways by avoiding certain code sections
anyway, i'm planning on publishing 2.23 within the next day or so

2.23 is released and published now


text:
Site support : www.playhd.video

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2016.08.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2016.08.01

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

verbose log
$ youtube-dl -v http://www.playhd.video/video/59/around-venezia
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.playhd.video/video/59/around-venezia']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.01
[debug] Python version 2.7.12 - Linux-4.4.0-31-generic-x86_64-with-Ubuntu-16.04-xenial
[debug] exe versions: none
[debug] Proxy map: {}
[generic] around-venezia: Requesting header
WARNING: Falling back on generic information extractor.
[generic] around-venezia: Downloading webpage
[generic] around-venezia: Extracting information
[debug] Invoking downloader on u'http://www.playhd.video/media/videos/hd/59.mp4'
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 422, in main
    _real_main(argv)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 412, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1775, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 693, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 739, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1421, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1683, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1625, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 350, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/http.py", line 58, in real_download
    data = self.ydl.urlopen(request)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 1985, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 467, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/lib/python2.7/urllib2.py", line 467, in error
    result = self._call_chain(*args)
  File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
    result = func(*args)
  File "/usr/lib/python2.7/urllib2.py", line 654, in http_error_302
    return self.parent.open(new, timeout=req.timeout)
  File "/usr/lib/python2.7/urllib2.py", line 435, in open
    response = meth(req, response)
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/utils.py", line 893, in http_response
    uncompressed = io.BytesIO(gz.read())
  File "/usr/lib/python2.7/gzip.py", line 261, in read
    self._read(readsize)
  File "/usr/lib/python2.7/gzip.py", line 332, in _read
    self._read_eof()
  File "/usr/lib/python2.7/gzip.py", line 351, in _read_eof
    isize = read32(self.fileobj)  # may exceed 2GB
  File "/usr/lib/python2.7/gzip.py", line 25, in read32
    return struct.unpack("<I", input.read(4))[0]
struct.error: unpack requires a string argument of length 4

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: http://www.playhd.video/video/61
Single Video: http://www.playhd.video/embed.php?vid=61
Playlist: http://www.playhd.video/videos?c=18

Description of your issue, suggested solution and other information
Related issue: https://github.com/rg3/youtube-dl/issues/2807 As stated in that issue comments this video is not too large and I am not using proxy.

Login or account credentials are not needed.
They are using referrer header

below command is working
curl -H "Referer: http://www.playhd.video/embed.php?vid=61" -H "Cookie: AVS=a4b7713d52ae7d43c60d6c6d3e85578c" -H "Range: bytes=0-"  http://www.playhd.video/media/videos/hd/61.mp4 > 61.mp4

OR
curl -H "Referer: http://www.playhd.video/embed.php?vid=61" http://www.playhd.video/media/videos/hd/61.mp4 > 61.mp4

Solved by using --add-header in youtube-dl

youtube-dl -v http://www.playhd.video/video/59/around-venezia --add-header Referer:http://www.playhd.video/video/59/around-venezia

license: Unlicense


text:
List from youtube site can't be downloaded

Hi !
I am trying to download whole list of youtube, but it doesn't work (anymore). When I start, I see that job was forked and after first it's stopped and is waiting...
youtube-dl --ignore-errors --playlist-start 1 --playlist-end 50 --yes-playlist --verbose  https://www.youtube.com/watch?v=ZN10WGBoJ2Y&list=PL58tmngiSlqq1U3laPLLCAac09g53D3gr
[1] 30815
andy@tardis:~/Videos/Simona_Weiss$ [debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'--ignore-errors', u'--playlist-start', u'1', u'--playlist-end', u'50', u'--yes-playlist', u'--verbose', u'https://www.youtube.com/watch?v=ZN10WGBoJ2Y']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.12.18
[debug] Python version 2.7.9 - Linux-3.19.0-41-generic-x86_64-with-Ubuntu-15.04-vivid
[debug] exe versions: avconv 11.2-6, avprobe 11.2-6, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] ZN10WGBoJ2Y: Downloading webpage
[youtube] ZN10WGBoJ2Y: Downloading video info webpage
[youtube] ZN10WGBoJ2Y: Extracting video information
[youtube] ZN10WGBoJ2Y: Downloading DASH manifest
[youtube] ZN10WGBoJ2Y: Downloading DASH manifest
[download] Simona Weiss - Ena želja-ZN10WGBoJ2Y.mp4 has already been downloaded and merged
And here it waits and waits.... In old times I could see more titles downloading... I added all additional parameters because it was said so by some other issues (I started without any on start)...

https://github.com/rg3/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command

authors: andyrozman dstftw


text:
Simplify access to multiple audio channels on pluzz

Hello
I might be missing something, but I can't find a straightforward way to get the OST version of a video on pluzz.fr, which of course defaults to the French version.
I'm using the latest youtube-dl version packaged for Debian.
$ youtube-dl --version
2015.11.27.1
$ youtube-dl -U
It looks like you installed youtube-dl with a package manager, pip, setup.py or a tarball. Please use that to update.

Here's the verbose output when I try to obtain the video:
$ youtube-dl -vF http://pluzz.francetv.fr/videos/trapped_saison1_ep1_,135088810.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-vF', u'http://pluzz.francetv.fr/videos/trapped_saison1_ep1_,135088810.html']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.11.27.1
[debug] Python version 2.7.9 - Linux-2.6.32-042stab111.12-x86_64-with-debian-8.3
[debug] exe versions: avconv 11.4-6, avprobe 11.4-6, ffmpeg 0.8.17-6, rtmpdump 2.4
[debug] Proxy map: {}
[pluzz.francetv.fr] trapped_saison1_ep1_,135088810: Downloading webpage
[pluzz.francetv.fr] 135088810: Downloading video JSON
[pluzz.francetv.fr] 135088810: Downloading geo restriction info
[pluzz.francetv.fr] 135088810: Downloading m3u8 information
[pluzz.francetv.fr] 135088810: Downloading m3u8 information
[info] Available formats for 135088810:
format code                            extension  resolution note
hls_v5_os-meta                         mp4        multiple   Quality selection URL
m3u8-download-meta                     mp4        multiple   Quality selection URL
hls_v5_os-Version Multilingue (AD/VO)  mp4        256x144     180k , avc1,  mp4a
m3u8-download-180                      mp4        256x144     180k , avc1,  mp4a
hls_v5_os-189-0                        mp4        unknown     189k , mp4a
hls_v5_os-189-1                        mp4        unknown     189k , mp4a
hls_v5_os-303                          mp4        320x180     303k , avc1,  mp4a
m3u8-download-303                      mp4        320x180     303k , avc1,  mp4a
hls_v5_os-575                          mp4        512x288     575k , avc1,  mp4a
m3u8-download-575                      mp4        512x288     575k , avc1,  mp4a
hls_v5_os-831                          mp4        704x396     831k , avc1,  mp4a
m3u8-download-831                      mp4        704x396     831k , avc1,  mp4a
hls_v5_os-1466                         mp4        1024x576   1466k , avc1,  mp4a (best)

As you can see from the previous output, it seems there's something about choosing another language than French, but definitely not for the best video quality setting.
Subs are there, no problem with that:
$ youtube-dl --list-subs http://pluzz.francetv.fr/videos/trapped_saison1_ep1_,135088810.html
[pluzz.francetv.fr] trapped_saison1_ep1_,135088810: Downloading webpage
[pluzz.francetv.fr] 135088810: Downloading video JSON
[pluzz.francetv.fr] 135088810: Downloading geo restriction info
[pluzz.francetv.fr] 135088810: Downloading m3u8 information
[pluzz.francetv.fr] 135088810: Downloading m3u8 information
Available subtitles for 135088810:
Language formats
fr       vtt, ttml, smi

The OST is definitely available when streaming (click on the headphones icon in the Flash player to select it, as it is not the default). I have a limited knowledge of how all this works together, but would definitely like to learn how to analyze this, so please do not hesitate if you need technical inputs from me.
The bottom line is that I'd like to understand whether it is a limitation of youtube-dl or if a user action is expected because the software can't be aware that multiple audio possibilities are available. If I have to do something, what path should I have followed to get what I want? The default video that gets downloaded only has the French track. I hope there won't be any geo-related issues.
Thanks for your help

Being an occasional user of youtube-dl didn't help me, but I finally understood how I should have proceeded. This is actually a basic situation of downloading a video stream, an audio stream, then merging them together.
youtube-dl -f hls_v5_os-189-0+hls_v5_os-1466 --all-subs http://pluzz.francetv.fr/videos/trapped_saison1_ep1_,135088810.html was what I was looking for.
I guess rather than indicating an unknown resolution for an audio stream, something saying "this is pure audio" would have definitely put me on the right track.
I didn't check how youtube-dl gathers all the information displayed with -F but I saw my browser accessing this manifest. The label fields are great hints for selecting the audio, so if this is somewhat standard, it would help having these displayed in -F.


text:
[WIP] Ifaces

@alexzorin what do you think about this?

I'm going to go ahead and close all PRs that have been open for more than 6 months, including this one. If it needs reopened feel free to do so or open a new PR. Thanks for the patch and the time you spent on this originally.

authors: rgbkrk vtolstov

repo: rgbkrk/libvirt-go


text:
Fix yq script for setting the security context in the vectordb-minio …

Fixes #69

@pdettori So you apply the security context at the container level and not the Pod right? No other change?
(sorry, I prefer to check if I read it right :smile:)

@guimou correct. One yq command is used to set the security context at the container level. I found that an additional yq command is needed to unset the default security context at the pod level because runAsUser and runAsGroup are set to default values outside OpenShift ranges.

@pdettori Thanks a lot for your PR!

authors: guimou pdettori

repo: rh-aiservices-bu/llm-on-openshift


text:
Add extra gpu operator

Description
The goal of this PR is to add the deployment of the GPU operators in the Spokes clusters.
Fixes # (issue)
Type of change
Please select the appropriate options:

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

Testing
Deploy the spokes pipelines and see that the GPU operator is deployed in the spokes clusters.

[ ] Test A
[ ] Test B

Test Configuration:

Versions:
Hardware:

Checklist

[ ] I have performed a self-review of my own code
[ ] If a change is adding a feature, it should require a change to the README.md and the review should catch this.
[ ] If the change is a fix, it should have an issue. The review should make sure the comments state the issue (not just the number) and it should use the keywords that will close the issue on merge.
[ ] A change should not be merged unless it passes CI or there is a comment/update saying what testing was passed.
[ ] PRs should not be merged unless positively reviewed.

Please @danielchg  if you are working on the conflicts change it to draft until finished

:tada: This PR is included in version 1.1.13 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

authors: alknopfler danielchg iranzo


text:
Where do I find more model JSON files so I can change the dialect to en-gb?

Cheers :)

Ah found it no worries sorry to bother you:
https://huggingface.co/rhasspy/piper-voices/blob/v1.0.0/en/en_GB/alan/medium/en_GB-alan-medium.onnx.json

repo: rhasspy/piper-sample-generator


text:
ForgeModLoader crash [Server build]

ForgeModLoader 1.18.2-40.1.0
ServerSyncForgeLoader: 2.1.0
ClientSide:

I placed this mod in the mods folder.
GameLauncher crashed

ServerSide:

I placed this mod in the mods folder.
Server crashed

ServerLog:
debug.log
latest.log
serversync-SERVER.log
ClientLog:
latest.log
serversync-CLIENT.log

Looks like forge changed the mod loading rules again, will need an update to work on 1.18

I will most likely eventually get to updating this for 1.17-current, I have very little time at the moment to re-learn all the forge setup needed though, it is unfortunately not the simplest devkit to work with.

I am not sure.
But maybe this can help you.
Semantic - 2.0
Semantic Versioning Specification
And here is what most people use to setup multiversions and more.
pahimar
Equivalent-Exchange-3
I hope this can help you, to build a automation.

Have you got read the latest comment?

I've made it for 1.18.2: #11
I hope this is fine and runs stable

ok. I'll testing it at the weekend. Maybe you can do it for 1.19 too.
Have you got paypal?

I don't think any further changes to the code are necessary for this, but unfortunately I can't test this myself for 1.19 at the moment. I first created a pre-release in my fork so you can test it.
https://github.com/Ramb0N05/serversync-forge-loader/releases/tag/1.19.2-3.0.0-dev

ERROR by 1.19.2-3.0.0-dev
[11:25:19] [Server thread/ERROR] [se.fo.lo.ServerSyncLoader/]: Failed to find ServerSync, have you added it to your minecraft folder?
Maybe I didn't understand, how to install this mod.
I putted the mod into the mods folder. Right?
But I don't know, why I must install the ServerSync mod, too.

I think you can do it simplier.

An server and client side mod in the mods folder will syncronized by login to any server.
The mod is creating a server mod folder e.g. - .minecraft/mods/server_name
saving the server mod list in the config file eg. - .minecraft/config/serversync_forge_loader.toml
an client side massage "Please restart your launcher to enable all updates"

Or I didn't understand how to install you plugin.

The forge loader is only a loader for serversync via forge, you need serversync as that is the actual software that does anything.

ok

authors: ErythroCraft Ramb0N05 rheimus

repo: rheimus/serversync-forge-loader


text:
🛑 BOS2 is down

In 45fe7bc, BOS2 ($URL_BOS2) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BOS2 is back up in 4e47401 after 15 minutes.

repo: rholak/upptime