text:
Image rotation issue on iOS

I am finding that on iOS in Safari the image returned by Croppie is rotated by 90 degrees (and sometimes partially cut off). This only seems to happen with photos that are taken on the spot (images from the media library are fine).

See: http://foliotek.github.io/Croppie/#enableExif
and https://github.com/Foliotek/Croppie/issues?utf8=✓&q=is%3Aissue exif

Hi Dustin,
I was able to fix this issue by enabling exif as you mentioned in the previous comment. However, if I enable Exif, the images are not displayed on some iPad versions (mostly in versions 8.*). This is happening also in the demo you guys have here: http://foliotek.github.io/Croppie/
Is this a know issue?

Not that I'm aware of.  What do you mean the images aren't displaying? They don't display in the cropper?  Or when you're trying to get a result?

Thanks for your quick answer. The images are not being displayed in the cropper.

Nope - not aware of that issue at all.  There have been several safari issues popup because of how safari deals with canvas, but I don't have an iPad to test on.
Can you hook up remote debugging and see if you're getting a console error?

We are also having this issue on iPhone where the image gets rotated, in the viewport, after it gets uploaded. Appears to only happen when taking a vertical picture and using the camera. Media Library images are the correct orientation.
I've enabled Exif, but it is still occurring. Is there more code that needs to be added other than just setting enableExif: true? I have the exif.js loaded in before croppie.js.

I'm also seeing the rotated image post-crop on iOS. enableExif is set to true, exif.js is loaded, still odd rotation.

@technifreak do you know a solution for this problem? I have enabled ExIf but when a photo is taken using the camera of an iPhone, the image is not displayed instead, a white background.

We ended up having to include a rotation button, as it didn't work any other way, in the time we needed to have it done by. Not sure about the white background issue. Our images would turn sideways.

@technifreak I also had the image rotation issue but it was fixed by adding ExIf only for android devices. Not sure why isn't working for ios devices. :(

@uslperera I fixed the white background issue by reducing the images size. Some apple devices can't process large images because of the their resources. A canvas issue.

@fabrizziosalazar Thanks for the reply. Btw what's the canvas size you have used?

Fixed it
https://github.com/Foliotek/Croppie/issues/46

Can we reopen this issue?  iOS is still displaying the image in a 90 deg rotation

If anyone is looking for a solution, I found a workaround. It's using the exif.js to get the orientation tag value and then it sets that into the croppie Bind.
image.onload = function() {
// Validate Size
if(image.width < "760" || image.height < "500") {
	alert("Your image is a little small. Try a larger image for better quality.");
}

EXIF.getData(image, function() {
	var orientation = EXIF.getTag(this, "Orientation");

	$uploadCrop.croppie('bind', {
		url: e.target.result,
		orientation:orientation
	});

});
};

@technifreak I also had the image rotation issue but it was fixed by adding ExIf only for android devices. Not sure why isn't working for ios devices.

I am also facing same rotation issue with iPhone where image rotation is not working! Did you find any solution?

@technifreak, @thedustinsmith I have found the problem that is the cause that when an image is rotated it is saved with a transparent area.
To reproduce ir just rotate an landscape image in a squared viewport, and call to result. Don't drag the image with the mouse or you will loose the error.
The problem is inside _rotate function due you exchange self._originalImageWidth with self._originalImageHeight after calling _updateZomLimits and this must be done before.
UpdateZoomLimits triggers update event and if you call to result() inside the event listener the getCanvas will get incorrect image dimensions and the fixing of boundaries that is done inside this function is the cause of this final transparent area.
This is the fix:
    function _rotate(deg) {
        if (!this.options.useCanvas || !this.options.enableOrientation) {
            throw 'Croppie: Cannot rotate without enableOrientation && EXIF.js included';
        }

        var self = this,
            canvas = self.elements.canvas;

        self.data.orientation = getExifOffset(self.data.orientation, deg);
        drawCanvas(canvas, self.elements.img, self.data.orientation);
        _updateCenterPoint.call(self, true);

        // Reverses image dimensions if the degrees of rotation is not divisible by 180.
        if ((Math.abs(deg) / 90) % 2 === 1) {
            let oldHeight = self._originalImageHeight;
            let oldWidth = self._originalImageWidth;
            self._originalImageWidth = oldHeight;
            self._originalImageHeight = oldWidth;
        }
        _updateZoomLimits.call(self);
    }

As a contribution, just to maintain the center of the image when rotating, do the following changes:
_rotate function with the previous bug fixed and passing the rotating degrees to _updateCenterPoint:
    function _rotate(deg) {
        if (!this.options.useCanvas || !this.options.enableOrientation) {
            throw 'Croppie: Cannot rotate without enableOrientation && EXIF.js included';
        }

        var self = this,
            canvas = self.elements.canvas;

        var scale = self._currentZoom,
            pc = new TransformOrigin(self.elements.preview);

        self.data.orientation = getExifOffset(self.data.orientation, deg);
        drawCanvas(canvas, self.elements.img, self.data.orientation);
        _updateCenterPoint.call(self, deg % 360);

        // Reverses image dimensions if the degrees of rotation is not divisible by 180.
        if ((Math.abs(deg) / 90) % 2 === 1) {
            let oldHeight = self._originalImageHeight;
            let oldWidth = self._originalImageWidth;
            self._originalImageWidth = oldHeight;
            self._originalImageHeight = oldWidth;
        }
        _updateZoomLimits.call(self);
    }

and the modified updateCenterPoint:
    function _updateCenterPoint(rotate) {
        var self = this,
            scale = self._currentZoom,
            data = self.elements.preview.getBoundingClientRect(),
            vpData = self.elements.viewport.getBoundingClientRect(),
            transform = Transform.parse(self.elements.preview.style[CSS_TRANSFORM]),
            pc = new TransformOrigin(self.elements.preview),
            top = (vpData.top - data.top) + (vpData.height / 2),
            left = (vpData.left - data.left) + (vpData.width / 2),
            center = {},
            adj = {};

        if (rotate) {
            var cx = pc.x;
            var cy = pc.y;
            var aux;

            switch (rotate) {
                case 90: // Left 90
                case -270:
                    aux = cx;
                    cx = cy;
                    cy = data.height / scale - aux;
                    break;

                case -90: // Right 90
                case 270:
                    aux = cy;
                    cy = cx;
                    cx = data.width / scale - aux;
                    break;

                case 180:
                case -180:
                    cx = data.width / scale - cx;
                    cy = data.height / scale - cy;
                    break;

            }

            center.x = cx;
            center.y = cy;
            transform.x = vpData.width/2 - cx;
            transform.y = vpData.height/2 -cy;
        }
        else {
            center.y = top / scale;
            center.x = left / scale;

            adj.y = (center.y - pc.y) * (1 - scale);
            adj.x = (center.x - pc.x) * (1 - scale);

            transform.x -= adj.x;
            transform.y -= adj.y;
        }

        var newCss = {};
        newCss[CSS_TRANS_ORG] = center.x + 'px ' + center.y + 'px';
        newCss[CSS_TRANSFORM] = transform.toString();
        css(self.elements.preview, newCss);
    }

Hope these changes will be useful for you all

authors: Chugga Ron1722 fabrizziosalazar fjalcaraz oninross stolinski technifreak thedustinsmith uslperera


text:
Also work with keyboard nav

In VSCode most commands can be invoked with autocomplete at the Ctrl-Shift-P prompt.
When you select "Browse with Git Extensions" here, however, you get an error:
Command 'Browse with Git Extensions' resulted in an error (Cannot read property 'fsPath' of undefined)

That error makes sense since the extension opens Git Extensions based on the current file or folder that you right-click. TBH, I never thought of that one.
That said, how would you have the command to work (both in a folder and in a workspace)?

I would assume the most sensible thing would be to have the command look at the active window, to figure out the path of the file open there...?

How about the following?

For a folder: open the folder's git repo
For a workspace: have the user choose what folder's git repo to open

I feel its useful to have it open the repository of the current file. I typically use ctrl+shift+p all the time. I believe I'm not the only one

I feel its useful to have it open the repository of the current file. I typically use ctrl+shift+p all the time. I believe I'm not the only one

I use ctrl+shit+p all the time as well, but would you use it to "Browser with GitExt"?

source: gharchive/issue

authors: Carl-Hugo TaoK akshaykiran

repo: ForEvolve/git-extensions-for-vs-code

license: MIT

license_type: permissive

license_source: github-api


text:
Roster aplhabetical sorting

https://github.com/ForNeVeR/kaiwa/issues/39
если сможешь смержить - последний коммит используй. хипстерхаб не умеет в пулреквесты из compare view. так бы сделал из https://github.com/ForNeVeR/kaiwa/compare/e3480c4...2189a5a

You also seems to be fixed #17, thank you.

@vitalyster, @oxpa, @hi-q, here we have the PR that will disable the status sort and enable only alphabet sort.
What would you say? Should I approve it or not? In #39 you expressed different opinions on that: @oxpa wanted alphabet sort only while @hi-q wanted to leave an optional status sort.
Personally I would prefer status filter (there are no issue for that currently) and only an alphabet sort, so I give voice to merge that.

@ForNeVeR +1

Merged: f3ecf49068adf853c5827f103349bbcaf2ba98a1.

source: gharchive/pull-request

authors: ForNeVeR unam3 vitalyster

repo: ForNeVeR/kaiwa

license: mit

license_source: bigquery


text:
styles not loading

Hi ! I'm trying to use craco-antd with CRA 2.0. The styles for the components are not loading.
package.json
"dependencies": {
    "@craco/craco": "^3.2.3",
    "antd": "3.11.6",
    "craco-antd": "^1.9.3",
    "react": "^16.7.0",
    "react-dom": "^16.7.0",
    "react-scripts": "2.1.1"
  },
  "scripts": {
    "start": "craco start",
    "build": "craco build",
    "test": "craco test",
    "eject": "react-scripts eject"
  },
  "eslintConfig": {
    "extends": "react-app"
  },

craco.config.js
const CracoAntDesignPlugin = require("craco-antd");

module.exports = {
  plugins: [{
      plugin: CracoAntDesignPlugin,
      options: {
        customizeTheme: {
          "@primary-color": "#1DA57A",
          "@link-color": "#1DA57A"
        }
      }
    }]
};

Hello, react-scripts recently released a new version that breaks this plugin (2.1.2), so please check your package-lock.json or yarn.lock and make sure the version is set to 2.1.1.
Otherwise we have 100% test coverage, and all the tests are passing with @craco/craco version 3.2.3 and react-scripts version 2.1.1. I've also been using it in my own CRA app with no problems.
Please provide some more details so that I can investigate the issue. I currently don't have enough information to reproduce the problem.

I've just updated my own app to the same versions in your package.json, and everything is working great for me.
One thing that might help is setting up the webpack-bundle-analyzer plugin, and then opening the web UI to see the bundle: https://github.com/FormAPI/craco-antd#large-bundle-size-from-ant-design-icons
Here's what my bundle looks like:

(You can see the .less files at the bottom.)

Hi Nathan, thanks for the quick followup.
It was the package-lock.json that was causing the issue. Deleted it and ran npm install and it is working now.
Thanks again 👍

authors: Joel-Raju ndbroadbent

repo: FormAPI/craco-antd


text:
Goto User-Defined Time Index

Provide the ability to find a specific time in the graphs.

This work is completed.

repo: FormidableLabs/nodejs-dashboard


text:
Functional lib for styles

I am thinking of creating a functional library all around styles. Currently browser have very bad and inconsistent API for doing all this, we could combine our efforts efforts.
If you are interested, lets discuss it on gitter and/or this issue. I would like to hear about your use cases.

Sounds cool, thanks for the heads up! Will definitely read through that issue.

authors: alexlande kof

repo: FormidableLabs/radium


text:
Improve error messages

Currently when developing and something is wrong in a component i get the following error:
bundle.js:8859 Warning: React.createElement: type should not be null, undefined, boolean, or number. It should be a string (for DOM elements) or a ReactClass (for composite components). Check the render method of `AppContainer`.

bundle.js:8400 Uncaught Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: object. Check the render method of `AppContainer`.

It's incredibly hard to find the actual error which usually is something simple. It would speed up development a lot if it was possible to make the error messages more explicit.

After a brief investigation I've come to the conclusion that it's the hot reloading causing it. Reverting that commit brings back normal error messages.

hmm, I wonder if we can catch and fix that

Not sure how. I'm no expert in webpack and hot reloading I'm afraid

I'll look into it

Closing, as this is react reporting unrelated to this library

authors: davidnaas kenwheeler

repo: FormidableLabs/react-music


text:
VictoryScatter data-events onPress broken after scroll in chart

I have a chart that looks like this:

Pressing the scatter points moves the "tooltip" to this point and displays the new data. Worked before but now that I added VictoryZoomContainer and start scrolling, it's not working anymore - at least not after scrolling. First clicks after init still work.
Code
<VictoryChart
  height={390}
  minDomain={{ x: start, y: min }}
  maxDomain={{ x: end, y: max }}
  scale={{ x: 'time', y: 'linear' }}
  padding={{ top: 80, bottom: 60, left: 50, right: 14 }}
  containerComponent={
    <VictoryZoomContainer
      allowZoom={false}
      zoomDimension="x"
      zoomDomain={{ x: [zoomStart, zoomEnd], y: [min, max] }}
    />
  }
>
  <Defs>
    // ...
  </Defs>
  <VictoryAxis
    orientation="top"
    tickValues={ticks}
    style={{
      // ...
    }}
  />
  <VictoryAxis
    dependentAxis
    label={unit}
    orientation="left"
    axisLabelComponent={<VictoryLabel dy={148} />}
    style={{
      // ...
    }}
  />
  <VictoryArea
    data={data}
    x={d => d.date}
    y={d => d.value}
    interpolation="monotoneX"
    style={{
      // ...
    }}
  />
  <VictoryScatter
    name="dots"
    data={data}
    x={d => d.date}
    y={d => d.value}
    style={{
      // ...
    }}
    events={[
      {
        target: 'data',
        eventHandlers: {
          onPress: this.onPress,
        },
      },
    ]}
  />
</VictoryChart>

Not using react-native seems to work: https://codesandbox.io/s/6jk3l3n9xk

Maybe is related to add scroll.
My events don't get fired either, and my Charts are inside a <FlatList>

I tried to plot just a chart and in my case still isn't working. Maybe not related to Scroll.

authors: pkyeck witalobenicio

repo: FormidableLabs/victory-native


text:
Нагрузка на процессор

Я столкнулся с проблемой: 100-процентная нагрузка на процессор.
Что я сделал, чтобы получить эту проблему: переключил трек, иногда само по себе (редко появляется).
Вот скриншот с логами скрипта/проблемой:
Не успел заскринить, проц на сотку нагружен, даже диспетчер зависает, а когда отвисает, ничего уже нету, консоль пустая. Попробую поймать момент, залью в комменты.
Один из процессов, который нагружает:

OS: Windows 11 Pro (чистая, не сборка).
Слушаю музыку через браузер/приложение «Я.Музыка»: новое приложение Яндекс Музыки.

Как указано здесь, данный процесс отвечает за передачу медиа в Windows.Media.Control API. Остается под вопросом, как нагрузка на этот процесс связана со скриптом, поскольку это может делать и приложение Яндекс.Музыки.

при смене песен идет нагрузка на вот эти штучки

В прошлой версии потребление в районе 10 процентов, а еще в более прошлых - 2-3 процента.

тоже поднимал подобную проблему, но отмечусь и здесь, так как если проблема раньше появлялась редко но метко, то сейчас каждый день приходится при нагрузке процессора выключать rpc, как бы этого ни хотелось делать =(

Как указано здесь, данный процесс отвечает за передачу медиа в Windows.Media.Control API. Остается под вопросом, как нагрузка на этот процесс связана со скриптом, поскольку это может делать и приложение Яндекс.Музыки.

Почему тогда когда не запущен rpc этот процесс молчит, не нагружает, сколько не смотрел. Даже на 2-ой монитор выводил диспетчер, ни разу он так не нагружал ЦП

Как указано здесь, данный процесс отвечает за передачу медиа в Windows.Media.Control API. Остается под вопросом, как нагрузка на этот процесс связана со скриптом, поскольку это может делать и приложение Яндекс.Музыки.

Почему тогда когда не запущен rpc этот процесс молчит, не нагружает, сколько не смотрел. Даже на 2-ой монитор выводил диспетчер, ни разу он так не нагружал ЦП

Потому-что RPC общается для получения данных с этой службой.

В релизе 2.3 я провел максимальную оптимизацию и перешел на новую библиотеку для взаимодействия с Windows.Media.Control. Буду рад, если оставите свои отзывы о новой версии здесь.

authors: FozerG SPIDEGames hikimeru saintedlittle toshundris1

repo: FozerG/WinYandexMusicRPC


text:
wrapped_mono does not run on windows: mscorlib.dll is not a valid CLI image

wrapped_mono does not work on windows: either can't find mscorlib.dll or when it is present can't load it. Solutions: either figure out why mscorlib.dll can't be loaded and fix it, or use systems copy of mscorlib.dll(unadvised, since  specific version may not be present on all systems).

Fixed with ad52d5f, problems with mscorlib.dll seem to be related to linking mono statically. This fix led to other problems: folder in which mscorlb.dll msu be located is outside the crate. Fixing this issue would probably require changing location mscorlib.dll is looked for(maybe using runtime::set_dirs function, but calling it automatically before jit::init would either force mscorlib to be at a set location, or use of systems version of the library, which may not be compatible)


text:
Agregar algoritmos de ordenamiento de listas

Is your feature request related to a problem? Please describe.
No, pero sería muy buena idea, para fines didácticos, agregar nuevo código al proyecto.
Describe the solution you'd like
Agregar el algoritmo de bubble-sort al código ya existente
Additional context
Seguir trabajando en python.

A mí no me gusta tanto el algoritmo de bubble-sort. Me gusta más el de insertion-sort.
¿Te gusta si lo hacemos así?

Sí, me parece utilizar insertion-sort. :)

authors: Francisco-Galindo PacoPacoGalindo


text:
vue-resize-sensor breaks Draggable for PDF

You use Vue Resize Sensor to watch for sizing. This is generated all the time, and there is no prop to disable it. I want draggable PDFs via HTML5, but it won't work since vue-resize-sensor makes absolute positioned elements, and dragging a small element will drag large child position:absolute elements.
Issue on vue-resize-sensor: https://github.com/FranckFreiburger/vue-resize-sensor/issues/8
Fiddle: https://jsfiddle.net/FoomFries/typnxbv6/4/

Maybe I can use resize-observer-polyfill instead

authors: FranckFreiburger icithis

repo: FranckFreiburger/vue-pdf


text:
code returns values greater than 5 but test doesn't pass

Challenge Waypoint: Filter Arrays with filter has an issue.
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var oldArray = [1,2,3,4,5,6,7,8,9,10];

// Only change code below this line.

var newArray = oldArray.filter(function(val){
  return val > 5;

});

// Only change code above this line.

(function() { return newArray; })();

@caseyjohnston thanks for posting this issue!
I thinks you misunderstood how filter works.

Any array element for which the callback returns true will be kept and elements that return false will be filtered out.

To remove all elements that are greater than 5 you should keep all elements that are less or equal to 5 so your condition is val <= 5 and not val > 5.
If you have problems with your code, please, post a message in our Gitter chat room first, thanks.

Please review the Guidelines for Contributing, thank you!.

@bugron I don't think this is correct. Filter does not alter the contents of the original array. How then, can we obtain an array with only elements greater than 5, when our end result in using val <= 5 gives us two arrays with the following contents:
oldArray: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
newArray: [1, 2, 3, 4, 5]
I don't know if the behavior of filter changed since the definition of this Waypoint, but if you run the code in your developer tools, you'll see that these are the results, and they do not meet the requirements of the test, so I think the test is wrong.

@bugron Never mind. I see that I am misunderstanding the instructions. I didn't understand it as asking us to get only the values less than or equal to 5, which is what happens if you filter out all values greater than 5...duh.

authors: bugron caseyjohnston warren2k

repo: FreeCodeCamp/FreeCodeCamp


text:
Change "Greater Than Equal To" to "Greater Than or Equal To"

I hope this isn't too nit picky, but the Comparison with the Greater Than Equal To Operator and Comparison with the Less Than Equal To Operator challenges should change their text from

"____ than equal to"

to

"____ that or equal to"

where "___" is "greater" or "less."
The Comparison with the Less Than Equal To Operator challenge already uses this expression in the editor but not in the description itself.

Also, the MDN JavaScript reference page adds the "or" to describe these symbols.

Sure.
I see a PR is already open for this.

authors: SaintPeter erictleung


text:
[beta] Two scroll bars on a map page

I'm not sure if it's a bug or a new feature, but do we actually need two scroll bars?

Pros

people without browser scroll bar will see that there is something more on the page (fixes well-known UX issue called "scroll stoppers")

Cons

weird UI
doesn't allow to use mouse scrolling on 70% of the page space (poor UX)

If the new small scroll bar is a feature, then we can at least get rid of the big browser scroll bar on the right side for better UI.

Map is probably the most used feature, and IMHO we should leave the behaviour that is on the main site one scroll bar (on the extreme right).

Just to mention on smaller viewports (or any size window for that matter) this will give ample area for a user to scroll, vs the one with two scrolls.

I was about to report this :smile:
Yeah, nested scrollbar is a strict no-no in web design

What is the state of this issue.. should we remove the scrollbar on the middle and enable scrollbar on the right...

Is this issue solved ? Atleast I don't see the double scrollbar on Firefox 48.0 (Ubuntu)

Seems like solved.

authors: SamAI-Software alayek codetweetie raisedadead sachinmour


text:
Fix tests for strict inequality operator challenge

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm run test-challenges. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace 9427 with an issue no): Closes #9427

Description

Added tests to allow switch of operands on either side of the !== operator

:sparkles: :sparkles: LGTM. :sparkles: :sparkles:
Thanks.


text:
Don't show values below certain threshold

As values below a certain threshold are not reliable anymore, depending on the privacy budget, they should not be published for usability reasons.
see section "removing unreliable metrics" for reference: https://arxiv.org/pdf/2004.04145.pdf

solution:

show margin of error for tables, linecharts and barcharts
gray out values of maps


text:
访问不了实际图片和内容

picacomic.com在中国大陆被墙，无法访问
所以大部分资源都看不了，
能不能像pixivnow一样用cf worker做个反代，如果可以的话，能不能顺便写一下cf worker反代的代码

`addEventListener('fetch', event => {
event.respondWith(handleRequest(event.request))
})
async function handleRequest(request) {
const url = new URL(request.url);
// 新增：检查用户是否直接访问代理地址
if (url.pathname === '/' || url.pathname === '/proxy/') {
return createLandingPage();
}
const actualUrlStr = url.pathname.replace("/proxy/","") + url.search + url.hash
const actualUrl = new URL(actualUrlStr)
const modifiedRequest = new Request(actualUrl, {
headers: request.headers,
method: request.method,
body: request.body,
redirect: 'follow'
});
const response = await fetch(modifiedRequest);
const modifiedResponse = new Response(response.body, response);
// 添加允许跨域访问的响应头
modifiedResponse.headers.set('Access-Control-Allow-Origin', '*');
return modifiedResponse;
}
// 新增：创建引导页面
function createLandingPage() {
const html = `

代理服务器

输入您想访问的网址

访问

  `;
return new Response(html, {
headers: { 'Content-Type': 'text/html' }
});
}`

cf worker代码在这里
https://github.com/Hanze-C/Proxy-Cf
在CF部署完后修改以下文件
api/utils.ts
Line 39-47
if (typeof val === 'string') {
if (val.startsWith('https://')) {
obj[key] = val
.replace('storage1.picacomic.com', 'proxy.your-domain.com/proxy/https://s3.picacomic.com')
.replace('storage-b.picacomic.com', 'proxy.your-domain.com/proxy/https://s3.picacomic.com')
.replace('img.picacomic.com', 'proxy.your-domain.com/proxy/https://s3.picacomic.com')
.replace('www.picacomic.com', 'pica-pica.wikawika.xyz')
}
}
将proxy.your-domain.com替换为你的域名

谢谢

cf worker代码在这里 https://github.com/Hanze-C/Proxy-Cf

在CF部署完后修改以下文件
api/utils.ts (Line 38-47)
// String
if (typeof val === 'string') {
  if (val.startsWith('https://')) {
    obj[key] = val
      .replace('storage1.picacomic.com', 'proxy.your-domain.com/proxy/s3.picacomic.com')
      .replace('storage-b.picacomic.com', 'proxy.your-domain.com/proxy/s3.picacomic.com')
      .replace('img.picacomic.com', 'proxy.your-domain.com/proxy/s3.picacomic.com')
      .replace('www.picacomic.com', 'pica-pica.wikawika.xyz')
  }
}

将proxy.your-domain.com替换为你的域名

谢谢，我去试试看

repo: FreeNowOrg/PicaComicNow


text:
Launching the second RAIL application closes the session of the first and restarts the first app inside the session of the second app

When you run RAIL application and then launch another the first one's session closes. Then it reopens with the second application.
Steps to reproduce the behavior:

Launch a RAIL app
Launch a second RAIL application

Expected behavior:
The second application launches without interferring with the first one.
Actual behavior:
The first app closes. Then launches again alongside with the second one in its RDP session. The state of the first application is the same as befor the launch of the second one.
Video demonstration:
https://github.com/user-attachments/assets/9dd9b7a3-1250-4d15-aec8-a931acbd569e
Logs from the First Application upon Launching the Second Application:
[12:40:32:783] [79817:38412700] [INFO][com.freerdp.core] - [rdp_print_errinfo]: ERRINFO_RPC_INITIATED_DISCONNECT (0x00000001):The disconnection was initiated by an administrative tool on the server in another session.
[12:40:32:783] [79817:38412700] [ERROR][com.freerdp.core] - [rdp_set_error_info]: ERRINFO_RPC_INITIATED_DISCONNECT [0x00010001]
[12:40:32:783] [79817:38412700] [DEBUG][com.freerdp.core.rdp] - [rdp_read_header][0x394e384c8000]: DisconnectProviderUltimatum: reason: 1
[12:40:32:784] [79817:38412700] [DEBUG][com.freerdp.core.rdp] - [rdp_finalize_reset_flags][0x394e384c8000]: [CONNECTION_STATE_ACTIVE] reset finalize_sc_pdus
[12:40:32:784] [79817:38412700] [DEBUG][com.freerdp.core.rdp] - [rdp_client_transition_to_state][0x394e384c8000]: CONNECTION_STATE_ACTIVE --> CONNECTION_STATE_INITIAL
[12:40:32:797] [79817:39933100] [WARN][com.freerdp.channels.drdynvc.client] - [check_open_close_receive]: {Microsoft::Windows::RDS::Geometry::v08.01:10} OnOpen=0x0, OnClose=0x820ecf990

In the Windows logs I discover these events:

And there were also many events about closing channels.
I tested this behavior with the Windows RDP client, and there is no issue: the first application remains unaffected when the second is launched, and no events appear in the logs during the launch of the second application.
Command lines used:
xfreerdp3 /v:198.19.0.191 /u:user /p: /cert:ignore /app:"||Microsoft Word"

xfreerdp3 /v:198.19.0.191 /u:user /p: /cert:ignore /app:"||Microsoft Excel"

duplicates https://github.com/FreeRDP/FreeRDP/issues/498

authors: Voxnod akallabeth

repo: FreeRDP/FreeRDP


text:
Android Error : Failed to create h264 codec context

Describe the bug

I have built the binary .so files required for Android following the steps given in the readme.
I am using the .so files with the modified version of FreeRDP(an older version) android app for obvious reasons.
I have updated the LibFreeRDP.java with recent changes.
while the app runs successfully on Android version 11 and above (Checked versions Android 6, 11, 13), I notice it gives following error when I try connect to a remote desktop on Android 6.

GetProcAddress: could not find procedure AMediaCodec_setParameters: undefined symbol: AMediaCodec_setParameters Error resolving function AMediaCodec_setParameters f Failed to create h264 codec context
To Reproduce
Steps to reproduce the behavior:

Open the Connection Information
Enter connection details (IP address, username, password)
Disconnected, Reconnecting.
See error log
GetProcAddress: could not find procedure AMediaCodec_setParameters: undefined symbol: AMediaCodec_setParameters Error resolving function AMediaCodec_setParameters f Failed to create h264 codec context

Expected behavior
Should connect to remote desktop on Android 6 just like how it does for Android 11 and above.
Screenshots
If applicable, add screenshots to help explain your problem.
Application details

FreeRDP version 2.11.2 (Android)
Windows Server - Windows 10

Environment (please complete the following information):

OS: Android
Version/Distribution: Android 6
Architecture: ARM

Additional context
Application is based on older version of freeRDP android app, not sure which version it is based on.

I am using the .so files with the modified version of FreeRDP(an older version) android app for obvious reasons.
which reasons are these? (not that obvious ;))

GetProcAddress: could not find procedure AMediaCodec_setParameters: undefined symbol: AMediaCodec_setParameters Error resolving function AMediaCodec_setParameters f Failed to create h264 codec context
so you run on an outdated android version (below the minimum API for mediacodec it is compiled for) and expect the API of the newer one to be there? good luck with that assumption ;)

I´d add -DWITH_MEDIACODEC=OFF (disables hardware H264 support) and fixes your issue

authors: akallabeth codebreaker


text:
Fixes for the SDL3 client

This PR fixes some build issues with last SDL3. The main contribution is fixing the clipboard with things I've managed to push to SDL.

@freerdp-bot test

authors: akallabeth hardening


text:
Fixed SetLastError test.

WLog initialisation checks environment variables, which may not exist
and therefore set an error. So initialise it before doing tests.

@freerdp-bot test

authors: akallabeth mfleisz


text:
xrdp error: undefined symbol: freerdp_get_version

[root@ceitos .libs]# xrdp -nodaemon
mod_init:
xrdp: symbol lookup error: /usr/local/lib/xrdp/libxrdpfreerdp1.so: undefined symbol: freerdp_get_version
[root@ceitos .libs]# ldd libxrdpfreerdp1.so
linux-gate.so.1 =>  (0x00a14000)
libcommon.so.0 => /root/FreeRDP-xrdp-968a293/common/.libs/libcommon.so.0 (0x0021c000)
libc.so.6 => /lib/libc.so.6 (0x0088b000)
.........
[root@ceitos .libs]# nm libxrdpfreerdp1.so | grep U
U bitmap_decompress
U freerdp_check_fds
U freerdp_connect
U freerdp_context_free
U freerdp_context_new
U freerdp_free
U freerdp_get_fds
U freerdp_get_version
U freerdp_new
U g_atoi
U g_free
U g_malloc
U g_memcpy
U g_memset
U g_snprintf
U g_strcmp
U g_strdup
U g_strncpy
U g_writeln
U xfree

Are you using the release FreeRDP 1.0.0 or 1.0.1?
Do an ldd on /usr/local/lib/xrdp/libxrdpfreerdp1.so and see if it's linking to another libxrdpfreerdp1.so.

I have the same issue. Compiled FreeRDP and Xrdp from the default branch.
libxrdpfreerdp1.so: undefined symbol
[hendrik@Hendrik-Linux xrdp]$ ldd libxrdpfreerdp1.so
linux-gate.so.1 =>  (0x00911000)
libcommon.so.0 => /usr/local/lib/xrdp/libcommon.so.0 (0x005ba000)
libcrypto.so.10 => /lib/libcrypto.so.10 (0x00b62000)
libssl.so.10 => /usr/lib/libssl.so.10 (0x0096e000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00eb7000)
libc.so.6 => /lib/libc.so.6 (0x00110000)
libdl.so.2 => /lib/libdl.so.2 (0x00df6000)
libz.so.1 => /lib/libz.so.1 (0x00948000)
libgssapi_krb5.so.2 => /lib/libgssapi_krb5.so.2 (0x002bc000)
libkrb5.so.3 => /lib/libkrb5.so.3 (0x002fd000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00891000)
libk5crypto.so.3 => /lib/libk5crypto.so.3 (0x0054b000)
libresolv.so.2 => /lib/libresolv.so.2 (0x00d5b000)
/lib/ld-linux.so.2 (0x44a5f000)
libkrb5support.so.0 => /lib/libkrb5support.so.0 (0x003d7000)
libkeyutils.so.1 => /lib/libkeyutils.so.1 (0x00f36000)
libselinux.so.1 => /lib/libselinux.so.1 (0x003e2000)

authors: cuzz hendrikdemolder jsorg71

repo: FreeRDP/xrdp


text:
Add to statistics on searches

In comparison with statistics on  FC1
The number of searches could not be performed because the server was busy, resulting in the Server is busy message - not available on FC2 - (low priority)
E1 U1 S3 C?7: P12

@Captainkirkdawson is this stat still needed?

The reports provide this information. Suggest it be closed

I agree, Kirk

authors: Captainkirkdawson PatReynolds

repo: FreeUKGen/FreeCENMigration


text:
Requirements for Incorporation Statistics

There is a need to establish the management and research requirements for incorporation information
There currently are none. Is there a requirement for any? Incorporation is the action of adding the records from a csv file processed by CSV Proc into the search records database. Is there a need for keeping any specific statistics on this? Or will these be incorporated into the Statistic reports for CEN #735. It also relates to the Database Coverage (Records) #749
E0 U6 S8 C6:P20

Not part of #749 as the Records page is about current status, not historical data (doesn't matter when a record was added to the database, all that matters is that it is there.
#735 needs review and stories adding.
For this story - incorporation - decisions need to be made about

periodicitity - do we want to know the figures for a day, a week, a month, a quarter, a year?
detail - do we want to know figures by civil parish, by sub district, by district, by county, by country, by total?

No additional requirements for reserchers / social media from https://docs.google.com/document/d/1LD9zyYV1en5uzx0zP2_QSnMtSEuH3Vz_IQWWqvMEytU/edit?usp=sharing


text:
🛑 Piska Sekretariat-DJPb is down

In 9886e62, Piska Sekretariat-DJPb (http://piska.setditjen-djpb.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Piska Sekretariat-DJPb is back up in 3ea167a.

repo: FrideyAlpha/uptime-setditjen


text:
🛑 API (AppWrite) Sekretariat-DJPb is down

In 0fc42b0, API (AppWrite) Sekretariat-DJPb (https://appwrite.setditjen-djpb.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: API (AppWrite) Sekretariat-DJPb is back up in 7921e6c.


text:
🛑 Sakura Sekretariat-DJPb is down

In a43d735, Sakura Sekretariat-DJPb (http://sakura.setditjen-djpb.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sakura Sekretariat-DJPb is back up in 7e1acfb.


text:
🛑 Foto Services Sekretariat-DJPb is down

In 1e47fcf, Foto Services Sekretariat-DJPb (https://foto.setditjen-djpb.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Foto Services Sekretariat-DJPb is back up in 490325d.


text:
PhpUnitTestCaseStaticMethodCallsFixer - add option to remove method call and use import function

Add call type "none". This type removes call type before function and import function in use block.

Hi and thanks for the suggestion!
While interesting to see the asserts can be used as functions directly. As we strive to support CS styles commonly used and those of bigger communities I do wonder how often this is used. Maybe this is better suited as a 3rd party option.

authors: Etherlord SpacePossum

repo: FriendsOfPHP/PHP-CS-Fixer


text:
Anleitung verbessern?

Frage in die Runde: Wird deutlich, worum es geht? Ist alles verständlich? Fehlen Informationen?
Ich habe das Gefühl, ganz oben in der README sollte eine kurze Erklärung angebracht werden, welche Absichten das Projekt mit REDAXO hat. Also keine allgemeine Docker-Info, sondern konkret auf REDAXO bezogen:

Bereitstellung einer Entwicklungsumgebung (Apache, PHP, MySQL)
Automatische Installation eines frischen REDAXOs
Automatische Installation verschiedener Demos (z. B. Basis, Community)

Und vielleicht wird nicht ganz deutlich, dass alle wichtigen Daten auf dem lokalen System verbleiben und nicht etwa in irgendwelche obskuren Container wandern. Dass also die Container nur temporär aufgezogene Umgebungen sind, die auf die lokalen Daten zugreifen, und dass man diese Container beliebig anpassen oder wieder wegschmeißen kann, ohne dass etwas verloren geht.
Außerdem: Vielleicht wird auch nicht deutlich, dass Docker keine Änderungen am REDAXO vornimmt, sondern dass man es quasi beliebig mit ins Projekt stecken und auch wieder rausnehmen kann? Es ist nur ein ergänzendes Feature in einem REDAXO-Projekt und enthält eigentlich nur Konfigurationsdateien. Die Magic kommt von der Docker-App auf dem System der Benutzer_innen und dem Docker-Hub, das die Images liefert.
Falls jemand was dazu sagen möchte, immer gerne! Ich kann noch nicht so richtig überblicken, ob das Projekt allgemein verständlich ist.

Habe eben eine Einleitung ergänzt und hoffe, es ist alles wichtige drin.
Falls jemand Anmerkungen hat, immer gerne!

repo: FriendsOfREDAXO/redaxo-mit-docker


text:
Fix box-emotion.tpl to support multiple resolutions for retina in srcset

This should fix #81

Thanks

authors: flattermann shyim

repo: FriendsOfShopware/FroshWebP


text:
Auth using Directus SSO + Astro SSG

Implement auth using Directus SSO. Only enabling Google auth for now

merging now to publish the privacy and terms page for the google verification


text:
CP-13759: Undirected self-edges iterated twice

From unknown CodePlex user on Saturday, 01 August 2009 09:01:07
Good point. Adjacent edges should not enumerate self-edges twice.

Form unknown CodePlex user on Saturday, 01 August 2009 09:51:45
should be fixed now.

Form unknown CodePlex user on Wednesday, 26 August 2009 00:16:48

repo: FubarDevelopment/QuickGraph

license: MS-PL


text:
feat: add L1 indexer to fetch contract logs for the bridge

Add L1 indexer, it'll sync contract events logs from a given start block number.
After that, it'll keep watching the blockchain for new logs and blocks.
New env vars have been added to the graphql:

FUEL_CHAIN_NAME (example fuelBeta5)
ETH_CHAIN_NAME (example sepolia)
ETH_ALCHEMY_ID (your alchemy key)
ETH_INFURA_ID (your infura key – used as fallback to alchemy)
ETH_INITIAL_BLOCK (block number that got our contracts)

📷  Indexer demo

pnpm sync:bridge

💾  API demo

Query
Result

Closing this as it has become too outdated.
We can reopen it later if still relevant.

repo: FuelLabs/fuel-explorer


text:
Vec and heap type support

Description
Currently, the SDK only supports static-sized arrays in the format [T; n] where T is the type and n is the length.
Soon, Sway will release Vec, a growable/mutable/dynamic vector. We need to support this on the SDK side.
Blockers

[x] https://github.com/FuelLabs/sway/pull/1118: Full Vec support in Sway
[x] https://github.com/FuelLabs/sway/issues/1994: An output-related work that needs to be done in the compiler, i.e., converting the heap data into stack data and returning it in a retd
[x] https://github.com/FuelLabs/sway/issues/1993: Additional type-related data in the JSON ABI needs to be outputted by the compiler (the T in Vec<T> needs to be resolved and present in the ABI)
[x] https://github.com/FuelLabs/sway/issues/2386
[x] https://github.com/FuelLabs/fuels-rs/pull/587
[x] https://github.com/FuelLabs/sway/issues/2900
[x] https://github.com/FuelLabs/fuels-rs/issues/600

Design
Vec is implemented in Sway with a struct like this:
struct RawVec<T> {
    ptr: u64,
    cap: u64,
}

pub struct Vec<T> {
    buf: RawVec<T>,
    len: u64,
}

Once a Sway user imports it into their contract, Vec<T> and RawVec<T> will be exposed in the JSON ABI as regular structs. This will be abigen!'d on the SDK side, turning these two Sway structs into equivalent Rust structs.
Passing data in and out using Vec will be the most challenging part.
Passing in a Vec<T> to a contract call in Rust-land means we have to encode the length len, the pointer ptr, and the capacity cap. But where is the ptr pointing to? It will point to where the data lives inside the script_data, where we'll have to encode the actual content of the Vec<T>. This should suffice and, in Sway-land, a user should be able to access the contents of the Vec<T> param in their contract method.
Taking the returned data, in Rust-land, from a contract call that returns a Vec<T> means this, which should be simpler than the encoding part.
Once the SDK is unblocked by the compiler, the SDK needs to encode the vector data into script_data and point to it using the Vec's ptr.
Update August 16th, 2022
We've decided to support only Vec as inputs for now. Once that's done, Vec as output will be effectively a log of its data in the Receipts.

Reopening to use this as a tracker for the vec output support (https://github.com/FuelLabs/fuels-rs/issues/602).

Support for Vec was added in #848, support for bytes was added in #868.
Support for those types as script returns will be tracked in #866.

authors: adlerjohn digorithm iqdecay

repo: FuelLabs/fuels-rs


text:
feat!: implement pagination for Account methods

Close: https://github.com/FuelLabs/fuels-ts/issues/302

✨ A PR has been created under the rc-2408 tag on fuels-wallet repo.
https://github.com/FuelLabs/fuels-wallet/pull/1383

authors: Torres-ssf fuel-service-user

repo: FuelLabs/fuels-ts


text:
feat: move console.debug to console.log in docs

Closes #547

I can not link issues, but this is related to #547

closes #547

@tomiiide I can not merge.. so if you d do the honor

@luizstacio need some eyes here this PR is approved but not able to be merged apparently because needs vercel
CI step completed... I tried to authorize but it's not moving anywhere

repo: FuelLabs/fuels-wallet


text:
Incorrect DCA warning for unused struct when it's not used in an expression

Example:
contract;

struct S {
    x: u64,
}

abi MyContract {
    fn get(s: S) -> S;
}

impl MyContract for Contract {
    fn get(s: S) -> S {
        s
    }
}

S is not used here in an expression but the type is technically used. The above is valid code and should not emit an warning. We currently get the following:
2 |
3 | / struct S {
4 | |     x: u64,
5 | | }
  | |_- This struct is never instantiated.
6 |
7 |   abi MyContract {
  |

And the return type too?  Do we link type declarations or only expressions?  I can't remember.

authors: mohammadfawaz otrho

repo: FuelLabs/sway


text:
Handle leading newlines and whitespaces before pre-module comments

closes #2875.
closes #2868.

Thanks for handling this @kayagokalp should I go ahead and close my PR that's trying to address this #2805 ?

@eureka-cpu, hmm not sure about that but if you think this solves everything that PR is aiming maybe we can close and if it turns out there are some more cases needed to be handled we can re-open 🤔

Trying to understand this solution a bit more before I give the tick, but was the issue with this block that unintentionally formatted/hid newline characters before the pre-module comments?

So https://github.com/FuelLabs/sway/pull/2844 introduced that code block to take into account preceding newlines before module statement. Since the solution from #2844 does not solve it for all cases and it is a little bit complicated to iterate on, this PR replaces it with a different approach.
The desired behavior of the formatter would be removing those extra newlines at the beginning of the file before placing any pre-module comments. So rather than trying to count the preceding newlines and doing complicated shifting operations necessary for removing preceding newlines before any pre-module comments and correctly placing other comments (for solving #2868 it took me several hours to come-up with that shifting logic and I suspect that there were still some edge cases that does not working with that approach). I handled them before doing anything else and removed them directly from the source code as they would be removed at the end so that we do not require to calculate offset and shift other comments accordingly etc.
cc @bingcicle

I see, makes sense - thanks for the explanation!

authors: bingcicle eureka-cpu kayagokalp


text:
Revert "Merge pull request #20 from Fullscreen/revert-19-fold" (WIP, no merge)

This reverts commit a95a25988dc6ee3aa49e6051e65a509f2d9f721b, reversing
changes made to 71cad2b4d5dd1274b24c4e04cfd96aadd18f94f4.

Coverage decreased (-1.2%) to 98.837% when pulling 86cf0873521f7f236a794622a98e2fffa6ddbe90 on bruce-fs:revert-2 into a95a25988dc6ee3aa49e6051e65a509f2d9f721b on Fullscreen:master.

Coverage decreased (-1.2%) to 98.837% when pulling 51d619b07aad34ca294a252726b12e503958124a on bruce-fs:revert-2 into a95a25988dc6ee3aa49e6051e65a509f2d9f721b on Fullscreen:master.

Need to push upstream

Coverage decreased (-22.09%) to 77.907% when pulling 51d619b07aad34ca294a252726b12e503958124a on bruce-fs:revert-2 into a95a25988dc6ee3aa49e6051e65a509f2d9f721b on Fullscreen:master.

authors: bruce-fs coveralls


text:
🛑 fuseschool is down

In 20c121a, fuseschool (https://fuseschool.fuseuniversal.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: fuseschool is back up in 1340c7e.

repo: Fuseit/fuse-upptime


text:
Testing different ML libraries

Testing different machine learning libraries for identify which one is best suited for the project

Completed. Moving forward with custom forecasting methodology.

authors: arya-hemanshu sassalley


text:
Firefox 41 fires copy/cut/paste for empty selection

after Ctrl+C/Ctrl+X/Ctrl+V or after document.execCommand('copy')/...

Doesn't seem to work for me...do you have a test case?

https://jsfiddle.net/pq6hx0qj/2/

https://jsfiddle.net/pq6hx0qj/4/

@Yaffle Okay, cool, thanks. That doesn't seem to cover paste though, correct?

@fbender , well, yes, Firefox does not fire "paste", Chrome does...

@Yaffle I think you mentioned the wrong user, just FYI.
Further FYI: https://hacks.mozilla.org/2015/09/flash-free-clipboard-for-the-web/ and zeroclipboard/zeroclipboard#171

@fbender , sorry, the list of suggestions sorts names strangely...
Thanks for the links, I have been reading them already...

Okay, I've added some new notes to clarify. Getting kinda noisy now but I guess that's better than incorrect data. Thanks for reporting!

@Fyrd , thanks! I am relying on Ctrl+C for empty selection in my webapp, so I hope other browsers fix this.

authors: Fyrd Yaffle fbender

repo: Fyrd/caniuse


text:
Fixes mypy=0.991

Closes https://github.com/G-Research/armada/issues/1872
General fixes so that mypy works. This PR will not however put it back into the CI

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8f576b6). Click here to learn what that means.
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #1886   +/-   ##
=========================================
  Coverage          ?   45.04%
=========================================
  Files             ?      187
  Lines             ?    26847
  Branches          ?        0
=========================================
  Hits              ?    12093
  Misses            ?    13891
  Partials          ?      863

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

repo: G-Research/armada


text:
CVC number field missing in PaymentJS webhook response

Hey,
I can't see CVC field in PaymentJS Webhook response
{
  "authCode": "ABCABC",
  "card": {
    "bin": "424242",
    "brand": "visa",
    "exp": {
      "month": "02",
      "year": "2022"
    },
    "last4": "4242",
    "name": "Blah Blah",
    "token": "123123123123",
    "masked": "XXXXXXXXXXXX4242",
    "address1": "Apartment 123",
    "address2": "123 Main Street",
    "city": "New York",
    "region": "NY",
    "country": "US",
    "postalCode": "11375",
    "company": "My Company"
  },
  "gatewayRefId": "123123123123",
  "error": false,
  "zeroDollarAuth": {
    "cvv2": "MATCHED",
    "avs": "Y"
  }
}

How can i get CVC number?
Regards,
Kashif

We arent allowed to return that field

authors: brandon-garcia kashifgrocerkey

repo: GBSEcom/paymentjs-integration-nodejs


text:
add methods count website

Added methods count website
Improved formatting

Great (Y)

@rathodchintan review and merge it!

Method count site -> Very much important.

authors: PSanni PareshMayani rathodchintan

repo: GDGAhmedabad/Learning-Resources


text:
Add needed flag for icx builds

Testing with Intel Fortran Classic 2021.10 found that we need a new flag -Wno-implicit-int when using icx because the Intel oneAPI 2023.2 module at NCCS uses icx as the C compiler.

Note: I know I should probably break this out into a IntelLLVM_C.cmake file but, well, our paucity of C code sort of makes it just easier to do this. If we ever get more C and C++ code, I'll be better.


text:
Add CONTRIBUTING and CODE_OF_CONDUCT

This PR adds two new files to the GEOSctm repo. Essentially, there have been talks with NASA lawyers in the background about how to handle contributions from external (non-GMAO) developers to GEOS code (@tclune can explain better than I). As such, we are adding in a CONTRIBUTING.md file explaining the process.
I've also added in a CODE_OF_CONDUCT that @tclune and I have put in a few of the other GEOS-ESM repos and I'm using this opportunity to do so for the rest.

"Some checks haven't completed yet",  @mathomp4 why is the automated checking still "in progress"?

"Some checks haven't completed yet", @mathomp4 why is the automated checking still "in progress"?

Huh. Looks like CircleCI got a bit confused. It was acting weirdly yesterday. Luckily, this PR doesn't require any build testing as I'm just adding documents.
Weird.

repo: GEOS-ESM/GEOSctm


text:
Resolving merge conflicts

Resolving merge conflicts

This is required to end

repo: GH-Jorge/skills-resolve-merge-conflicts


text:
Task01 Лопатин Алексей HSE

Локальный вывод

$ ./aplusb
Using device: Apple M1 Pro
Data generated for n=100000000!
Kernel average time: 0.00721617+-0.000148848 s
GFlops: 13.8578
VRAM bandwidth: 154.873 GB/s
Result data transfer time: 0.0122145+-0.000437166 s
VRAM -> RAM bandwidth: 30.4989 GB/s

Вывод Github CI

Using device: AMD EPYC 7763 64-Core Processor
Data generated for n=100000000!
Log:
Compilation started
Compilation done
Linking started
Linking done
Device build started
Device build done
Kernel  was successfully vectorized (8)
Done.
Kernel average time: 0.0332217+-0.000368574 s
GFlops: 3.01008
VRAM bandwidth: 33.6402 GB/s
Result data transfer time: 0.0184298+-0.000133974 s
VRAM -> RAM bandwidth: 20.2134 GB/s

Все хорошо, задача зачтена, 5/5 баллов :+1:


text:
CLI analysis csv header doesn't match values for HLSL/CL

"SGPR_SPILLS" and  "VGPR_SPILLS" are alway get added to the CSV header even though the values aren't when analyzing HLSL shaders/CL programs.

Hi kstuedem,
Thank you for reporting this issue. We will look into this.

Hi kstuedem,
We will not remove any columns from the CSV file, since we would like to allow users to have a single parser for all RGA modes. We will make sure that all modes report the same set of attributes, and, if any attribute is irrelevant, we will place N/A values rather than leaving empty cells to signal this.
Thanks again for reporting this issue.

Hi kstuedem,
With RGA 2.0.1, which was released today, we aligned all modes to report the same set of attributes.

authors: AmitBM kstuedem

repo: GPUOpen-Tools/RGA


text:
New Directory Format

These scripts should be updated to at least work with the new GetEnergy function, and maybe a GetTime function. Addback updates are also a question. This will likely be the last thing that gets fixed in this update.

No one should work on this right now. Vinzenz and I have had some discussion and we have some ideas about the best way to set things up. They involve having new directories.
examples  where examples are put and compiled for people to see. These would be put into git ignore, so people can't accidentally contribute to them
utils where major utilities are put that everyone might want to use but aren't really dependent on any particular analysis (Root2Rad or offsetfix for example).
online a collection of online scripts that we use that may not be perfect, but are good to keep around for online diagnostics. People shouldn't try to base their analyses off of these scripts
analysis an empty directory that is .gitignored, shipped with a makefile that knows to compile any .cxx and not compile .C files that it sees in this directory. This is the home for where people should write their own personal analysis scripts.
Does anyone have any comments or suggestions?

:+1:

quick suggestion.
online -> scripts
analysis -> myanalysis
reason:   the code still has the capability (thought pretty hidden right now) to connect to a Midas Experiment and pull events from the system buffer.  Adding some frame work to allow us to safetly interact with this part of the code again would allow for real online analysis.  Hence, a directory named online may cause some confusion down the line depending on what paths we take.
analysis - Since this are going to be user only codes I think we should stick with the root given example of making the default use the name my in front.  At least to me, this makes it clear that it is not "framework supported".
Otherwise, I think this is a great idea.  I was starting to think things where getting pretty cluttered.  It may also be a good idea to bring back the sandbox directory where we stash useful bits of code or ideas that are not completely flushed out.

Sounds good. I think the sandbox directory is a good place for people to put code that they might need a bit of help with as well.

On Jun 6, 2015, at 3:05 PM, pcbend notifications@github.com wrote:
quick suggestion.
online -> scripts
analysis -> myanalysis
reason: the code still has the capability (thought pretty hidden right now) to connect to a Midas Experiment and pull events from the system buffer. Adding some frame work to allow us to safetly interact with this part of the code again would allow for real online analysis. Hence, a directory named online may cause some confusion down the line depending on what paths we take.
analysis - Since this are going to be user only codes I think we should stick with the root given example of making the default use the name my in front. At least to me, this makes it clear that it is not "framework supported".
Otherwise, I think this is a great idea. I was starting to think things where getting pretty cluttered. It may also be a good idea to bring back the sandbox directory where we stash useful bits of code or ideas that are not completely flushed out.
—
Reply to this email directly or view it on GitHub.

I am going to also put a makefile into users and start a couple of user based classes. For example, I am going to create a TUserSortInfo class which inherits from TGRSISortInfo. This will be a skeleton class that inherits form the GRSI version. This will all be linked in using a libTGRSIUser.so library. Is TUser a reasonable prefix for the naming of these types of classes?

@r3dunlop, this has been completed, yes?

yup, just haven’t organized the files within. Might be a slow process that just sorts itself out.

On Oct 14, 2015, at 11:56 AM, SmithJK notifications@github.com wrote:
@r3dunlop https://github.com/r3dunlop, this has been completed, yes?
—
Reply to this email directly or view it on GitHub https://github.com/GRIFFINCollaboration/GRSISort/issues/319#issuecomment-148097217.

authors: SmithJK pcbend r3dunlop

repo: GRIFFINCollaboration/GRSISort


text:
Learn csv-w schema structure

Learn more on context
why some schema is not having this
why in Ruby implementation 2 types of schema classes are returned as schema (CSV::Schema and Csvw::TableGroup)

more information here https://www.w3.org/TR/2015/REC-tabular-metadata-20151217/
Time box- half day?

TODO: @robons to signpost to some examples of the CSV-W schemas we're using.

TODO: @robons to signpost to some examples of the CSV-W schemas we're using.

authors: josepajay robons

repo: GSS-Cogs/csv-validation


text:
Added Project prepAI

Filename Format: Name - Project - Date
email: nirajprmr1608@gmail.com
username: @NIRAJ1608
Registered for Hack Web3
Added Screenshot of Registration

@Snehsk can you merge my pr


text:
🛑 beCOOKIES GCP is down

In 0e1e234, beCOOKIES GCP (https://prod.becookies.tech) was down:

HTTP code: 0
Response time: 0 ms

Resolved: beCOOKIES GCP is back up in 2203e14 after 6 minutes.

repo: GSoftbiz/upptime


text:
Shared arguments across subcommands

Is something like this possible, with shared arguments across subcommands?

@GregorySchwartz: Not easily with the current API.  I think what this package would be missing is something like the :. type from the postgresql-simple package with an instance of the form:
instance (ParseRecord a, ParseRecord b) => ParseRecord (a :. b)

… because if you had that then you could do something like:
data UniqueOptions = SumPayments { user :: Text } | ListUsersSeen | SumQueries

data SharedOptions = SharedOptions{ start :: Text, end :: Text }

main :: IO ()
main = do
    (uniqueOptions :. sharedOptions) <- getRecord "Example"

    …

I haven't thought through all of the details for that, though


text:
Add ability to capture (Exit Code, stdout, stderr)

Add two new public functions: procStrictWithErr and shellStrictWithErr.
Implement them in terms of a new private function, systemStrictWithErr.
Fix #139

I added a couple new functions which seem to be in line with the consensus in #139, as far as I can tell. I did it in terms of a new function, systemStrictWithErr, which is very similar to systemStrict--it just captures stderr as well. These two functions have a lot of code in common, so if you want me to factor this common code into a third function, let me know.

Great job!  Thank you so much for contributing this :)


text:
1.16.2/indrev-1.5.1-BETA Modular Workbench progression inaccurate

The progression bar in the modular workbench isn't accurate to the percentage of the progression.

I'll look into it and try to fix for the next update, thanks for the report! Also, weird note, those texts are meant to be very colorful... Don't know why it's all white there.

Could there be another mod interfering?

I just probably made a mistake somewhere

Let me know if I can help testing.  I'm currently hosting an experimental 1.16.2 dedicated server for this purpose.

Oh, good to know, this will be helpful to test the next update since it adds a bunch of things (and probably 2x bugs) if the server is still up by then!

It will be!  I'm also open for more players.  We're currently with 5 people, so it's hard to get everything tested.  Though I'm sure the flood of new releases will slow done in a while.  Right now AE2 and its mod interactions are the big thing to test.

This should be fixed as of 1.6.0-BETA which you can download https://www.curseforge.com/minecraft/mc-mods/industrial-revolution/files/3043918. Thanks for the report!

authors: GabrielOlvH Katorone

repo: GabrielOlvH/Industrial-Revolution


text:
mago3d 홈페이지 구글 어날리틱스 적용

gogle analytics 인가? 적용해 주세요.

완료 했음


text:
Add /vehicle version, and more...

Added a few things...
~Also, the command /vehicle version still needs a translation, however, I'd noticed it's done with the plugin API so I decided to leave you to do it 😄.~
Btw... preparing for 2.2.1?

Did some work on the translations

repo: GamerJoep/MinetopiaVehicles


text:
Owen/cleanup refactor

closes #504 and closes #506
Overview
A quick summary of what this PR is meant to do.
Discussion
Any additional context that you think is important for reviewers or future users/contributors looking at this PR.
Testing
How did you test this? If a reviewer pulled this branch down and wanted to kick the tires, how would they do so?
Documentation
Does this PR update any docs pages? Should it?

📚 Documentation preview 📚: https://garden-ai--508.org.readthedocs.build/en/508/

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 0.58366% with 511 lines in your changes missing coverage. Please review.

Project coverage is 0.13%. Comparing base (6236bd9) to head (db7ba36).

Files
Patch %
Lines

garden_ai/schemas/datacite.py
0.00%
90 Missing :warning:

garden_ai/client.py
0.00%
65 Missing :warning:

garden_ai/schemas/entrypoint.py
0.00%
62 Missing :warning:

garden_ai/app/entrypoint.py
0.00%
58 Missing :warning:

garden_ai/backend_client.py
0.00%
46 Missing :warning:

garden_ai/app/garden.py
0.00%
40 Missing :warning:

garden_ai/gardens.py
0.00%
34 Missing :warning:

garden_ai/schemas/garden.py
0.00%
31 Missing :warning:

garden_ai/entrypoints.py
0.00%
29 Missing :warning:

garden_ai/schemas/schema_utils.py
0.00%
17 Missing :warning:

... and 8 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

:exclamation:  There is a different number of reports uploaded between BASE (6236bd9) and HEAD (db7ba36). Click for more details.
HEAD has 2 uploads less than BASE

Flag
BASE (6236bd9)
HEAD (db7ba36)

4
2

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #508       +/-   ##
==========================================
- Coverage   66.48%   0.13%   -66.36%
==========================================
  Files          53      35       -18
  Lines        3575    2240     -1335
==========================================
- Hits         2377       3     -2374
- Misses       1198    2237     +1039

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

:red_square: :red_square: :red_square: THAT DIFF :red_square: :red_square: :red_square:

authors: OwenPriceSkelly codecov-commenter hholb

repo: Garden-AI/garden


text:
Unit test generated by RoostGPT

Please pull these awesome changes in!
Test Name         - ApplicationTest-Golang-2
AI Type           - Open AI
AI Model          - gpt-4o
Test Type         - Unit test
Use Type          - cli
Language          - go
Test Framework    - Gotest
Functions to test - FindByID

results looks good by gpt-4o,
just scenarios generated have test code in response as well.


text:
Add machinable experiments

Adds an alternative, more high-level interface for running the simulator using machinable

[x] complete replication of running the microcircuit model
[x] fix issue of auto-merging the H5 file for the simulator
[x] enable input generation from MiV-OS spike train
[x] add slurm default resources and example
[x] add example to documentation

I'll start reviewing this

Cool, thanks! Just finished the docs, so it's ready for review now.

Good point, adjusting the directories is supported but I agree that it would be better to just remove the defaults from the package source and instead let the user provide them. Otherwise, it's hard to know and control what files are being used. I don't remember, does the click CLI rely on the included files by default? If not, I guess I can just remove them in this PR. Alternatively, we can merge this and then I can delete the files for both machinable and the click-CLI in a follow up.

The CLI does not rely on the included files, but it does not yet have an option to specify a mechanisms directory. So I think you can go ahead and remove the files in this PR and merge, and I will separately check for any issues with finding and compiling mechanisms.

It all looks good to me. Sorry for the delay, I had some issues building the documentation. It was an issue with my local machine.

authors: frthjf iraikov skim0119

repo: GazzolaLab/MiV-Simulator


text:
dont focus if will cause a jump

fix annoying #107

I tested and confirm this fixes jumps when linking to anchors and reloading the page.

Thanks for the fix 🙇  @tanhauhau

authors: elfgoh serverwentdown tanhauhau


text:
Optimisation of the Edit mode of a page

[ ] We need when adding or editing a section have instead of the popup a side bar displayed on the left of the site
The size of the site is reduced
This will allow when you are doing changes to see the changes directly on the site
[ ] Allow the user to resize the width of the side bar and then consequently the one of the site

Acceptance testing

[ ] Instead of the popup to edit a section we should have a side bar on the left of the site
[ ] The sidebar edition must work exactly as the popup, the only difference is that you see the changes directly on the site
[ ] The user must be able to resize the width of the sidebar and consequently the one of the site

Feedbacks demo:

[ ] For the width of the edit part, let's have as minimum the one of the button like below

[ ] Remove the submit data button as the changes reflect directly on the page and it is no more needed
[ ] Near the name of the section that is edited, add the Anchor icon but smaller than the one showing for the section and when clicking in it it will scroll till the section in question
[ ] You need to adapt the  media navigator or make it show above when opened as now it is very complicated to use it

Remove the submit data button as the changes reflect directly on the page and it is no more needed

This is not possible without multiple code rewrites as it is a breaking change update even though the section is updated but the submit is needed to reflect these updates in the options, some changes could be taken into consideration without submitting data but not all of them

@jfayad all good now, I let you just check the comment above of hussein about the Submit button before closing the issue

Remove the submit data button as the changes reflect directly on the page and it is no more needed

This is not possible without multiple code rewrites as it is a breaking change update even though the section is updated but the submit is needed to reflect these updates in the options, some changes could be taken into consideration without submitting data but not all of them

got you, is it possible then to show a popup to the editor who made changes but did not submit (and pressed the X to close the edit form instead) ? The popup will warn the user that his changes will be lost and if wants to proceed, we revert his changes in that particular section ?
if clicking the submit button is mandatory (and not pressing it could cause random errors), then not pressing it should put back the section's content to what it was

@jfayad Catching changes inside a complex array of objects and different types is doable but not easy and may not work at some points. Can we instead warn the user each time He wants to close the edit mode section ?

@mahfouzhseineweev you don't need to catch any changes... you just need to keep a copy of the settings and if the X is pressed, then you restore these...

All good now, when I edit a section but I press X, the change is not reflected on the section, if I press Submit data , the change is taken into consideration

authors: akramsarkis jfayad mahfouzhseineweev

repo: Geeks-Solutions/nuxt-sections


text:
NativeBase components does not work with Animated API anymore

Issue Description
Since 2.15.0 and above, NativeBase components cannot be animated with the react-native Animated API anymore.
Expected behaviour
Animations created by the Animated API should work as normal.
Actual behaviour
Animation never starts. No visual effect occurs.
Steps to reproduce
Consider the following example:
import React, { useEffect, useRef } from 'react';
import { Animated, Text } from 'react-native';
import { Text } from "native-base";
const AnimatedText = Animated.createAnimatedComponent(Text);

const App = () => {
  const fadeAnim = useRef(new Animated.Value(0)).current;

  useEffect(() => {
    Animated.timing(fadeAnim, {
      toValue: 1,
      duration: 5000,
      useNativeDriver: false,
    }).start();
  }, []);

  return (
    <AnimatedText style={{
      marginTop: 100,
      opacity: fadeAnim,
    }}
    >
      Test
    </AnimatedText>
  );
};

export default App;

The text should fade in, but it does not on >= 2.15.0.
The last working version is 2.13.15.
Is the bug present in both iOS and Android or in any one of them?
The issue is present in iOS, Android and web builds.
Any other additional info which would help us debug the issue quicker.
I made some research and tracked down this commit as the one causing the regression: cd6dd9ce541b6e34178270c91613de108bb0a66e

You need to import the Text component from just one lib

@henrineken My bad, the example code had an error. The issue is still real though.

What happens if it's wrapped in a <Animated.View> instead?

authors: davwheat henrineken hsjoberg

repo: GeekyAnts/NativeBase


text:
Toast on web can be out of view

Description
Toast on web is showing at the top/bottom of the page - can be out of view and have to scroll all the way up/down, it would be nice if it can be constrained to the top/bottom within the view.
The todo-list example in the docs has this problem too. If you add enough todos, the toast will be out of view and you'll need to scroll to see it.
Problem Statement
Toast is a very commonly used component, the problem described can happen easily even with given example in the docs.
Proposed Solution or API
N/A
Alternatives
No response
Additional Information
No response

Hi @xinyumz, Thanks for reporting the issue. we will have a look.

I did figure out a way to fix it. For the web version, define the dimensions to window size:
import { Dimensions, Platform } from "react-native";
import { NativeBaseProvider, ScrollView, ... } from "native-base";

//inside the component, define dimensions
const windowWidth = Dimensions.get("window").width;
const windowHeight = Dimensions.get("window").height;

//set height and width, for example:
<NativeBaseProvider>
   <ScrollView
       h={Platform.OS === "web" ? webHeight : undefined}
       w={Platform.OS === "web" ? webWidth : undefined}
     >
         ...
   </ScrollView>
</NativeBaseProvider>

This way, adding toasts, modals and etc, will be confined to the screen instead of being placed on top of the entire component.
I'm also open to any better ways to do this!

Hi @xinyumz, Thanks for sharing your solution. We will try to fix our toast component.

This issue has been fixed in v3.4.8.


text:
Native Base Roadmap

Description
Understanding that all efforts are on gluestack now, I would like to ask about the roadmap for Native Base, to get clear our roadmap using it.
Problem Statement
Considering that gluestack is the future, is scheduled any update or something for Native Base?
For example, is known the "In React 18, SSRProvider is not necessary and is a noop..." warning with React Native 72. And is possible that in future there will be another like that.
Proposed Solution or API
Knowing the roadmap for Native Base and for gluestack will help us with our roadmap.
Thanks in advance.
Alternatives
No response
Additional Information
No response

That would be very helpful, up !

It is estimated that Native Base will no longer be maintained gradually, and will turn to gluestack-ui wholeheartedly.

authors: Jarvie789 bennyszantar nicolascavallin


text:
Control default depth of categorical tree specification, and "more choices" option

Right now when one selects a categorical tree input for a form element, the whole hierarchy is shown from the ontology.  It would be good to add depth controls to selectively show depth of a tree, say down 3 or four levels, and allow a "more choices" option to carry the user deeper in the hierarchy.  The more choices option can either consult the remainder of the tree stored locally, or do a real-time fetch of subsequent depth of choices from live ontology lookup sources.
As well, ideally disable "more choices" if there aren't any for a given item.  Requires marking (on a cached basis) which items have no subordinates.

This is implemented now with a depth:X parameter which cuts the displayed branch to that depth.

Note: above feature, and following lookup feature need to be documented.
A curator can specify a URI for a given term and lookup will be dynamically performed - using OLS - to get underlying terms. E.g.
lookup:http://purl.obolibrary.org/obo/GAZ_00000448

repo: GenEpiO/geem


text:
Include help text on form

Shows help text
FileUpload::make('File')
    ->help('invoice / payroll slip')

@mikebronner Is there anything else I can do to help get this merged?

Thank you 🙏🏻

repo: GeneaLabs/nova-file-upload-field


text:
Push socklist detection through to main by cherry-picking commits

As per https://en.wikipedia.org/wiki/Template_talk:SPI_report#Proposed_change_to_sock_list the socklist template is going to be used in Twinkle. The patch is at https://github.com/wikimedia-gadgets/twinkle/pull/1509 and has been merged into source. All that is from it being used on enwiki is a deployment. Because of this, and because there is discussion about changing the preload form to use socklist soon, the changes to support the socklist in -dev should be merged into main soon so that those using the main version of spihelper do have their version break.
This pull request has cherry-picked the relevant commits from the develop branch so that only the socklist detection code is a part of this pull request. I have tested the code currently in Dreamy-Jazz/main (which contains the cherry-picked commits) to ensure the socklist code works with the older version of spihelper and my testing brought no errors.

The failing check is due to code already in the main version of spihelper and is a complaint about an unused variable.

repo: GeneralNotability/spihelper


text:
Closed loop kinematics

Does the solver support close loop mechanisms like parallel linkage or 2dof coupled driving mechanism? It seems like it doesn't? As I use my own xml with close loop mechanisms, the loop was broken into a series connections.

Linked to issue #22

authors: bdelhaisse weizhuowang

repo: Genesis-Embodied-AI/Genesis


text:
add mixins for structs

This is the alternative PR to #118
It gets around the difficulty that eval in macrtos always avaluate in the context of the module where the macro is defined.
Therefore I chose to supply a function that registers the macro @mixin in the required context.
Whoever has a better idea is welcome to comment.

Thanks @hhaensel I am on mobile right now. Will test this tomorrow morning 😊

authors: AbhimanyuAryan hhaensel


text:
RE/flex scanner generator keeps infinitely allocating memory.

Hi. I use the following lexer definition:

%top {
    #include <replxx.hxx>
}

%o lex=process fast params="replxx::Replxx::colors_t & c" nodefault

%{
static void fill(replxx::Replxx::colors_t & c, unsigned start, unsigned count, replxx::Replxx::Color color) {
    for (unsigned i = start; i < start + count; i++)
        c.at(i) = color;
}
%}

%class {
    unsigned int pos;
}

%init {
    pos = 0;
}

%x SHORT_STRING_Q SHORT_STRING_A

%%

"..."|[;=\[\]><]|([\~<>=]=)|".."|[\+\-\*\/\%\#\^\(\)\[\]\{\}]   {
    fill(c, pos, size(), replxx::Replxx::Color::MAGENTA); pos += size();
}

and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while    {
    fill(c, pos, size(), replxx::Replxx::Color::BLUE); pos += size();
}

\"  {
    fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); push_state(SHORT_STRING_Q);
}

'  {
    fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); push_state(SHORT_STRING_A);
}

<SHORT_STRING_Q>    {
  \"          { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); pop_state(); }
  \\[abfnrtv] { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
  \\\n        { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
  \\\"        { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
  \\'         { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
  \\.         { fill(c, pos, size(), replxx::Replxx::Color::RED); pos += size(); }
  .           { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
}

<SHORT_STRING_A>    {
  '           { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); pop_state(); }
  \\[abfnrtv] { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
  \\\n        { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
  \\\"        { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
  \\'         { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
  \\.         { fill(c, pos, size(), replxx::Replxx::Color::RED); pos += size(); }
  .           { fill(c, pos, size(), replxx::Replxx::Color::GREEN); pos += size(); }
}

.|\n    {
    pos += size();
}

%%

void highlight_lua(const std::string & str, replxx::Replxx::colors_t & c) {
    try {
        Lexer highlight; highlight.process(str, c);
    } catch(std::exception const& e) {
        std::cerr << "Exception thrown." << e.what() << std::endl;
    }
}

Trying to build it using vendor/RE-flex/bin/reflex src/highlighter.rfx -o src/highlighter.cpp makes the tool allocate a lot of memory very slowly (I killed it at around 2GiB) until, according to my tests, it OOMs. Breaking in the debugger while the process is allocating memory yields the following backtrace:
(gdb) bt
#0  0x00007ffff7d410a2 in std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long, unsigned long, char const*, unsigned long)
    () from /lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x00005555555614b2 in Reflex::get_code[abi:cxx11](unsigned long&) ()
#2  0x0000555555574ce8 in Reflex::parse_section_2() ()
#3  0x00005555555767ee in Reflex::parse() ()
#4  0x000055555555cbf1 in Reflex::main(int, char**) ()
#5  0x000055555555ccd0 in main ()

NB: When single quotes are escaped properly (e.g. \\\' instead of \\'), RE/flex scanner generator behaves as expected.

repo: Genivia/RE-flex


text:
🛑 Yandex.Cloud Status is down

In f73690a, Yandex.Cloud Status (https://status.cloud.yandex.ru) was down:

HTTP code: 403
Response time: 711 ms

Resolved: Yandex.Cloud Status is back up in 4f8ca2b.

repo: GennadySpb/upptime-yandex-cloud


text:
New term keywords strategy

come up with a strategy for maintaining term/slot keywords in a way that is

unbaised
sustainable
automated

get rid of 'host.'

keywords are useful for assessing consistency in terms: do all terms that have the time or date keyword use the same range?

repo: GenomicsStandardsConsortium/mixs


text:
🛑 WWWW xyz is down

In f307aab, WWWW xyz (https://www.crushing.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: WWWW xyz is back up in 8d78c58.

repo: GentlemanHu/own-status


text:
Screen not showing properly on portrait

Environment

OS: Windows 10 Pro
scrcpy version: 1.18
installation method: Windows Release
device model: Samsung Galaxy Tab E (SM-T113NU)
Android version: LineageOS 14.1

The screen is glitched, like if it is sliced on stretched diagonal bars. And, when i try to click, it says that the touch event was ignored cuz it was generated for a "different device size". But in landscape it displays properly and i can click.
portrait:
INFO: Renderer: direct3d
INFO: Initial texture: 600x1024
INFO: New texture: 608x1024
[server] WARN: Ignore touch event, it was generated for a different device size
[server] WARN: Ignore touch event, it was generated for a different device size

landscape:
INFO: New texture: 1024x600

Scrcpy request to encode the device screen at its native size 600x1024, and the encoder produces a frame at a different size:
INFO: Initial texture: 600x1024
INFO: New texture: 608x1024

The device encoder seems to expect a number of rows multiple of 16 (whereas the device size is not even a multiple of 16).
You could probably reduce the size a bit so that the height is 592x1008 (scrcpy -m 1008).
Or maybe try another encoder: https://github.com/Genymobile/scrcpy#encoder

the scrcpy -m 1008 worked, thank you!

repo: Genymobile/scrcpy


text:
update brew command

brew cask was deprecated according to this comment. Should be brew install.

Thank you.
I have several questions because I don't use macOS/homebrew:
Is --cask necessary, like here: 192fbd8450058deb5e70aa1b9bfec3637b5c5e72 (#2004)
What is the latest openjdk version available? For consistency, could it be changed from 8 to 11?
(see f8524a2be738e6471ed2e48265f2663d8c21c0be and 7b51a0313ed9423f9252108fa573af68c11e6a2c)

Isn't --cask necessary?

No, for now there is no --cask option anymore.

What is the latest openjdk version available?

For now, the latest openjdk is version 16. However we can use openjdk version 8 LTS or version 11 LTS.

I rebased/squashed.
Is this commit ok for you d50c678a5f9174b6ba99b27bed8faa789ed5e070?
I also added 2812de8a9a0f20fa17126924407ecb6f613ac7e4 after your commit, is it ok?
(They are not merged yet, I'll merge after your confirmation.)

Yes. It's ok for me.

Thank you. Merged into master.


text:
🛑 CASTER NTRIP IGM-ESPOCH (Backup) is down

In b0ea601, CASTER NTRIP IGM-ESPOCH (Backup) (http://regme-ip.espoch.edu.ec:2101) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CASTER NTRIP IGM-ESPOCH (Backup) is back up in d957bf6.

repo: GeoportalIGM-ec/NTRIP-monitor


text:
Folium map

Proposed changes
Instead of having one classified map and one rgb map side-by-side, overlay them in folium.
The rgb is still not displaying correctly.
Checklist (replace [ ] with [x] to check off)

[ ] Notebook created using the DEA-notebooks template
[ ] Remove any unused Python packages from Load packages
[ ] Remove any unused/empty code cells
[ ] Remove any guidance cells (e.g. General advice)
[ ] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[ ] Include relevant tags in the final notebook cell (refer to the DEA Tags Index, and re-use tags if possible)
[ ] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated
[ ] Test notebook on both the NCI and DEA Sandbox (flag if not working as part of PR and ask for help to solve if needed)
[ ] If applicable, update the Notebook currently compatible with the NCI|DEA Sandbox environment only line below the notebook title to reflect the environments the notebook is compatible with

Currently the folium map designed to replace the two image plot is currently displaying in solid black and white over the basemap. The goal is to have a single colour for the value 1 and transparency for the value 0.

Currently the folium map designed to replace the two image plot is currently displaying in solid black and white over the basemap. The goal is to have a single colour for the value 1 and transparency for the value 0.

authors: Gabzgit s-m-t-c

repo: GeoscienceAustralia/dea-notebooks


text:
Mod interferes other MOD GUI's

After opening a window GUI from RPG mod, the MaxRate  not working properly until game reset. Please, check the window generate process, because, without your mod, RateCalculator works fine.

I Agree, this is an issue, unknown if other mods are also causing it as well, but this exact one also has an issue with Rate Calculator.

I'll check it out! Ty for posting this!

Almost 1 year later - it's fixed in 1.0.16.

authors: Gerkiz SniperKittensdad TheoMarque

repo: Gerkiz/RPG

license: Unlicense


text:
Обновлена версия пакета php-smpp

Обновил пакет для протокола smpp v3.4

провёл пару тестов:

в панели смс отправляется без ошибок на мой номер
при входе в личный кабинет смс отправляется сразу
токен для восстановления пароля приходит без ошибок

repo: Ghiya/apix


text:
Contact and footer branch

My partner and I, have worked togother.

I improved the design
I put a valid destination for the form.

repo: GhostEsso/Portofolio-setup


text:
Selection isn't rendered after changing dimension

Reproduction steps:

Make a selection in a dimension
~Make a new dimension via /script run custom_dimension('error', 123)~
~Get there with /execute in error run tp @p 0 100 0~
Go to another dimension
Make a new selection
Observer the bug (or not observe it)

Will look into it hopefully soon.

Adding to this: making a selection in one dimension and then changing dimension and making a new one, the old one is neither deleted nor active. When going back to the first dimension, the markers are there, but the selection does nothing.

Actaullay, the issue is wider: the selection has absolutely no clue about dimension. Since it stores its coordinates as triplets (and not the marker entity), making a selection in one dimension, changing dimension, and the executing a command will affect the coordiantes of the selection, but in the new dimension. To repoduce:
-Make a selection in OW
-Go to the nether
-Run /se move ~ ~ ~
A random portion of the nether will be moved to the player.

authors: Firigion altrisi


text:
doesn't handle 'heredoc' style strings

doesn't handle termination of heredoc comments correctly

According to the documentation, the terminating marker cannot be indented.
https://www.terraform.io/docs/configuration/syntax.html

Going to go ahead and close this.

it was working ok. wouldnt it just put an extra line with an indent into your string?

authors: GiantToast MattFenner

repo: GiantToast/language-terraform


text:
🛑 MCSkinHistory is down

In 9e4ebb3, MCSkinHistory (https://mcskinhistory.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MCSkinHistory is back up in 6b5062a after 8 minutes.


text:
This is awesome, any chance we could get a 2019 update?

Please and thank you

Thanks, any specific things you'd like to see in a 2019 update?

authors: GillesVermeulen alshdavid

repo: GillesVermeulen/virtualKeyboardDetector


text:
Added JS

This pull request finishes the script file and updates the JS Notes.

FinallyyyyyyYYYYYYYYY


text:
Password for MPD

I can't see in the docs how you set passwords and their permissions for MPD itself

There is no support for that, but it seems reasonable to add. I thought nobody was interested on these features, I guess I was wrong.

Hello, can you try one of these images?
For example giof71/mpd-alsa:feature-f284b01-bullseye-0.23.12
For reference, have a look at this branch, the changes are in the README.
Specifically, you should be able to set:
DEFAULT_PERMISSIONS
LOCAL_PERMISSION
HOST_PERMISSIONS (and HOST_PERMISSIONS_1, HOST_PERMISSIONS_2, and so on)
PASSWORD (and PASSWORD_1, PASSWORD_2, and so on)
Please let me know if this works for you and/or if something is missing.

This has been released and is available from version 2023-05-20 an on.
Please reopen if something is wrong and/or missing.


text:
Introduce new config file format

Description
This PR introduces a new format for ggshield configuration file, opening the way to new tools.
What has been done

Add support for versionized file formats
Move secret-specific configuration keys to a SecretConfig class

TODO

[ ] Document the new format in the README
[ ] Finish some remaining bits of configuration changes

Codecov Report

Merging #247 (f0afd66) into iac (6eeab52) will increase coverage by 0.26%.
The diff coverage is 98.66%.

@@            Coverage Diff             @@
##              iac     #247      +/-   ##
==========================================
+ Coverage   93.75%   94.02%   +0.26%
==========================================
  Files          66       66
  Lines        2561     2592      +31
==========================================
+ Hits         2401     2437      +36
+ Misses        160      155       -5

Flag
Coverage Δ

unittests
94.02% <98.66%> (+0.26%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

ggshield/cmd/secret/scan/archive.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/ci.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/docker.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/dockerarchive.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/path.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/precommit.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/prepush.py
100.00% <ø> (ø)

ggshield/cmd/secret/scan/pypi.py
94.59% <ø> (ø)

ggshield/cmd/secret/scan/range.py
100.00% <ø> (ø)

ggshield/scan/repo.py
100.00% <ø> (ø)

... and 9 more

Continue to review full report at Codecov.

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

authors: agateau-gg codecov-commenter

repo: GitGuardian/ggshield


text:
Add info as a possible value for Severity

This had been forgotten in the original implementation. See corresponding MR in ggshield to use this version of py-gitguardian until a new version is released.
This PR solves #120

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

Project coverage is 94.53%. Comparing base (215f529) to head (fda11c7).
Report is 7 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #121      +/-   ##
==========================================
+ Coverage   94.45%   94.53%   +0.07%
==========================================
  Files           6        6
  Lines         830      841      +11
==========================================
+ Hits          784      795      +11
  Misses         46       46

Flag
Coverage Δ

unittests
94.53% <100.00%> (+0.07%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Thanks @agateau-gg, FYI, the fix in ggshield is on its way. Will keep you updated.

authors: codecov-commenter pierrelalanne

repo: GitGuardian/py-gitguardian


text:
“New features” banner in inbox

I’ve got some ideas on a design for this, I’ll spec it out later. Basic idea is a banner in feed that says there are new features. Show a button that says “View” and show notes in a modal. Another X button to dismiss.
I want to call out important features between app updates that might be easy to miss (eg notifications).
Sent with GitHawk

Yeah this seems nice. Love how Workflow did (does?) this
Sent with GitHawk

@BasThomas got any screenshots? I haven’t seen there’s!
I love Things 3s “new today” banner. Really little and you can tap to expand or dismiss. I’ll try to nab a shot.
Sent with GitHawk

Well they have it on the site: https://workflow.is/whatsnew, seems like they removed it from the app
Sent with GitHawk

But is was basically a modal (a la big contextmenu) with the changelog as far as I can remember
Sent with GitHawk

This is iA Writer’s
Sent with GitHawk

authors: BasThomas rnystrom

repo: GitHawkApp/GitHawk


text:
Fix Grammar issue on CONTRIBUTING

It should be present tense and since 'PR' on it's own is pretty ambigious.
I've made it to 'your PR' referring to opening your new Pull Request for
the upstream repository.

👍

authors: tianp yukiisbored

repo: GitIndonesia/awesome-indonesia-repo


text:
How to query complex list

With firestore how can query a collection to find if a property( list of objects) has one where a property matches a given string?

The library supports all queries documented in here, with the same kind of restrictions. Syntax is a bit different to make it more kotlin like. From your description it's not entirely clear what you'd want to query, but generally its:
val collectionReference: CollectionReference = // Get a reference to your collection
collectionReference.where {
    NAME_OF_PROPERTY equalTo DESIRED_VALUE
}.get()

repo: GitLiveApp/firebase-kotlin-sdk


text:
bot doesn't respond

Sending sticker to bot currently does not give anything back.

https is needed which is a restriction by telegram. also you have to set the webhook first.
See @getStickerId_bot it's working.
Maybe check out telegram bot api for troubleshooting.

sorry, I don't really know what you mean.
This is how the bot looks like for me. It's clearly not responding.

ok, sorry, it's some other bot with a very similar name.

authors: RichStone sanvero

repo: GittiHab/Get-Sticker-ID-Bot


text:
🛑 porsche is down

In 12d638a, porsche (porsche.com) was down:

HTTP code: 404
Response time: 493 ms

Resolved: porsche is back up in 8076c5d after 2 hours, 37 minutes.


text:
🛑 rapishare is down

In ce6a085, rapishare (rapishare.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rapishare is back up in 83170cf after 17 minutes.


text:
🛑 rapishare is down

In fa039f7, rapishare (rapishare.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rapishare is back up in 4e33162 after 17 minutes.


text:
🛑 hcr is down

In bb0049a, hcr (hcr.co.uk) was down:

HTTP code: 403
Response time: 781 ms

Resolved: hcr is back up in 9a82b06 after .


text:
🛑 orkut is down

In 93786e8, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in fc5e225.


text:
🛑 orkut is down

In 57798e5, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in a12a331.


text:
🛑 orkut is down

In 26aa0db, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 5e5f1f2.


text:
🛑 orkut is down

In b8794c7, orkut (orkut.com.br) was down:

HTTP code: 404
Response time: 122 ms

Resolved: orkut is back up in 621e2b0.


text:
🛑 orkut is down

In ecb6bde, orkut (orkut.com.br) was down:

HTTP code: 404
Response time: 132 ms

Resolved: orkut is back up in 4812786.


text:
🛑 orkut is down

In 0016d93, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in cf8d205.


text:
🛑 orkut is down

In 47c5527, orkut (orkut.com.br) was down:

HTTP code: 403
Response time: 229 ms

Resolved: orkut is back up in f55381a.


text:
🛑 harlotwear is down

In 5324e6c, harlotwear (harlotwear.com) was down:

HTTP code: 502
Response time: 559 ms

Resolved: harlotwear is back up in d233edd.


text:
🛑 ojolink is down

In 8ef75c9, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in e5b5c5e.


text:
🛑 ojolink is down

In 7f8dfbf, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in aaf2137.


text:
🛑 ojolink is down

In 6bfb58e, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in c1f9751.


text:
🛑 da100 is down

In fa04cf2, da100 (da100.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: da100 is back up in fc5196d.


text:
🛑 hcr is down

In 7bb122a, hcr (hcr.co.uk) was down:

HTTP code: 401
Response time: 650 ms

Resolved: hcr is back up in 68dd042.


text:
🛑 wvtaxsales is down

In e385f90, wvtaxsales (wvtaxsales.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: wvtaxsales is back up in 2f24731.


text:
🛑 metroflog is down

In 192b742, metroflog (metroflog.com) was down:

HTTP code: 404
Response time: 1691 ms

Resolved: metroflog is back up in c1cb135.


text:
🛑 ojolink is down

In 5e42bc0, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 450 ms

Resolved: Ojolink is back up in 9758781.


text:
🛑 orkut is down

In 5418a22, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 713 ms

Resolved: orkut is back up in 46461cf.


text:
🛑 orkut is down

In e8e5336, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 735 ms

Resolved: orkut is back up in f2f52d3.


text:
🛑 orkut is down

In 6d3a2ae, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 728 ms

Resolved: orkut is back up in af636ef.


text:
🛑 inkcityusa is down

In 8e756e6, inkcityusa (inkcityusa.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: inkcityusa is back up in f284fa7.


text:
🛑 ojolink is down

In 4dc17c0, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 516 ms

Resolved: Ojolink is back up in d1a9bc2.


text:
🛑 mynewsize is down

In 45f322c, mynewsize (mynewsize.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mynewsize is back up in 60854d7.


text:
🛑 ojolink is down

In 3941e67, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 475 ms

Resolved: Ojolink is back up in 9eb4455.


text:
🛑 orkut is down

In 36d8546, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 654 ms

Resolved: orkut is back up in 2d4a5f6.


text:
🛑 ojolink is down

In 14e30fc, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 9844c64.


text:
🛑 ojolink is down

In 60f17da, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in af064ce.


text:
🛑 ojolink is down

In db7e62e, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in b15d645.