text:
Refactor compiler error handling

Description
Change error handling to use Handler instead of the macro based CompileResult.
Fix #2734
Checklist

[x] I have linked to any relevant issues.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have updated the documentation where relevant (API docs, the reference, and the Sway book).
[x] I have added tests that prove my fix is effective or that my feature works.
[x] I have added (or requested a maintainer to add) the necessary Breaking* or New Feature labels where relevant.
[x] I have done my best to ensure that my PR adheres to the Fuel Labs Code Review Standards.
[x] I have requested a review from the relevant team or maintainers.

This is supposed to fix #2734, right?

I left several comments in the code and let me ask this one here. There is a new idiom with a mutable error_emitted variable. Could we somehow move this functionality into the handler? For instance, the user code calls a handler.reset_new_error_emitted() method and then checks handler.is_new_error_emitted() at the end, or something like this. I understand it might be a bit too late for this :)

Yeah I think that merits some factoring but I'm not really sure what would be a Rusty way of doing this. Perhaps some sort of collection guard would do the trick.
Creating a local handler, checking it for errors and appending it to the top level one would definitely work but it might be error prone. I think we can do it more clearly.
That said I think that's out of scope for this.
This and the unify refactoring should be their own PRs.

Does this also close #4818 ?

Does this also close #4818 ?

Actually it doesn't. This PR changes the way how errors are reported, and not how they are defined. All the redundant spans are still there in the error.rs and provided during the creation of errors. But #4818 is anyhow not that relevant at the moment because it heavily depends on the outcome of #21. Once #21 is done (I am just a few commits away from the PR :-)) we will decide how to proceed with the refactoring of errors which could actually render #4818 obsolete.
I'll comment this on #4818 as well and add the dependency to #21.

Wow, this was a humongous change! Honestly, I gave up somewhere in the middle. But I made sure to take a look at the interesting stuff :smile:
Most of the changes are straightforward, kicking out the CompileResult, and consistently passing the Handler down. It's great to see how simpler the code is now, how more expressive the error reporting is. No more need for manual work, creating the error and warning vectors internally and such. Great!
Exactly because of this fact, that we are getting a clean pattern for error reporting I see @anton-trunov's remarks as extremely important. It would be a pity to miss the opportunity to get a clean solution for these two additional use cases that have emerged during the refactoring.
error_emitted is an imperative juggling that definitely requires a clear support in the Handler no matter how we implement that support. Handler API should made it explicit and remove the possibility of unintentional misuse. E.g., something along the lines (I am sure we can think of better approaches but just to demonstrate the idea of gaining safety through the type system/language features/...):
... handler ... // Outer/Parent handler.
{
    let  handler = handler.scoped(); // Outer handler cannot be used any more.

   ... handler ... // Pass the scoped one down.

   if (handler.has_errors_in_scope()) {
      ...
   }
} // Scoped handler propagates the collect errors/warnings to the parent.

Same thing is with the TypeRecovery, as discussed in the code comment. It should be an explicitly supported pattern.
=> Err(handler.i_need_a_good_name_here())

And one last trivia. handler.has_error() and handler.has_warning() confuses the mathematician in me. It sounds like has exactly one error/warning :smile:
handler.has_error**s**() and handler.has_warning**s**() would be more appropriate IMO.
Long story short, my proposal;

[ ] Open a new issue for refactoring error_emitted.
[ ] Create explicit handling for TypeRecovery and similar cases as a part of this PR.
[ ] Humor me and rename the handler.has_error() and handler.has_warning() in this PR :smile:

I can gladly take over the last two points.

Alright, I'll merge this as is and create some issues for those remaining points:

refactoring error_emitted
finding a better facility for type system error recovery

I'll refactor the unifier and handler method names in a direct follow up.

For reference:

#4885
#4886

authors: IGI-111 andrewvious anton-trunov ironcev

repo: FuelLabs/sway


text:
[QUESTION] Reorganize way of how the engines category works?

The markdown snippet shown below is what I had in mind:

Engines

Friday Night Funkin' - The original open source game by The Funkin' Crew.

Base Game Modifications:

Psych Engine - A fork of base game which includes new quality-of-life changes, performance improvements, and Lua-based mod tools. Popular and well-documented.
Forever Engine - An archived rewrite of the game, originally written by Yoshubs. Includes performance reworks, HScript support, and more.

Forever Engine Feather - A fork of Forever Engine, that includes all of its features, a scripting system based on HScript, called SScript, reorganized codebase, an events system based off of Hypno's Lullaby v2 and fully softcoded weeks and characters.

etc...

Mobile Ports:

Funkin' Android - A fork of the game with controls and optimizations allowing it to be played on Android devices.
FunkiniOS - A port of FNF to iOS devices, requires sideloading (thank god for the EU regulations)

Game Ports:

PSXFunkin - A Playstation 1 de-make in C/C++
FNF LÖVE - A Lua recreation of FNF within the LÖVE2D engine.
FNF-Benjine - Funkin' but in Godot, made by BennyK and was used for Funkin' VR.

I thought it might be an unnecessary change, so that's why I opened this issue as a question.

I could do it too, it's not a big deal. But I thought it would be better to see if The Funkin Crew approves the change before actually doing something, kind of time saving for doing something else in the day (lol).

True true

this looks good amen

I ended up reorganizing the engine list myself. If you want to do any more cleanup feel free to make a new issue or a pull request.

I ended up reorganizing the engine list myself. If you want to do any more cleanup feel free to make a new issue or a pull request.

All right, will see 👍

to be honest i really like your version, so i'll just fix the contents thing being broken

source: gharchive/issue

authors: BombasticTom EliteMasterEric doggogit ninjamuffin99

repo: FunkinCrew/funkin-resources

license_type: permissive

license_source: github-api


text:
🛑 Bitwarden is down

In 1409487, Bitwarden (https://vault.fussel.tv) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bitwarden is back up in 6a5bcbf after 15 minutes.

repo: FusselTV/status

license: MIT


text:
Removing new_episodes on test_crossref_journalquality_fields_filtering

This flag was leading local pytest -n auto to remake the fixture a bunch, when we don't want that

Turns out this breaks the test

source: gharchive/pull-request

repo: Future-House/paper-qa


text:
Align Chrome/Safari sandbox support with BCD

https://github.com/mdn/browser-compat-data/pull/23858 uses both source archeology and previous testing of the relevant browser releases to arrive at Chrome 5 + Safari 5 + iOS 4.

Thanks!

authors: Fyrd foolip

repo: Fyrd/caniuse


text:
🛑 Species test search is down

In 5232b04, Species test search (https://especies.gbif.es/search?q=acacia) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Species test search is back up in 1d5441f after 1 hour, 7 minutes.

repo: GBIFes/status


text:
🛑 Portal de Datos de GBIF.es is down

In 66ca9cc, Portal de Datos de GBIF.es (https://datos.gbif.es) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Portal de Datos de GBIF.es is back up in e2eca50.


text:
🛑 LA demo is down

In 4dc095e, LA demo (https://demo.gbif.es) was down:

HTTP code: 0
Response time: 0 ms

Resolved: LA demo is back up in 16e221a.


text:
Menu icon not visible in dark mode

Menu icon is visible in light mode, but not in dark mode.

At line #101, replace  by  or

repo: GDGVIT/DSC-official-website


text:
Latest GEOS model version has gwd_import_rst

Proactive note to remember an issue needed to be addressed as we move the model version forward from the initial 5_27_1 version.
The latest version of the GEOSgcm.x model in the Git GEOSadas fixture (10.14.0+) requires a gwd_import_rst (of course this can be bootstrapped). This needs to be added to the AGCMrc.pm accordingly when the GEOSadas fixture is moved to newer model versions.

Is this mixing two things? What's mkiau got to do w/ gwd_import_rst ... and by the way: the latter is already in AGCrc.pm.
Can this issue be cleared?

authors: bena-nasa rtodling

repo: GEOS-ESM/GEOSadas


text:
Predict call execution time degrades linearly with additional calls

OS Platform and Distribution: Linux Ubuntu 17.04
TensorFlow installed from (source or binary): binary
Tensorflow version: tensorflow-gpu==1.4.0
GPflow version:  gpflow-1.0.0 (from github master source)
CUDNN installed: 6
GPU:  GeForce GTX 1080 Ti
Python Version: Python 3.5.3

Issue:
Repeated calls to .predict (either .predict_f or .predict_y) have degrading execution time when called successively. The initial call might take perhaps 10ms, but later calls might take as long as several seconds each. This poses a problem when many calls to *.predict are desired. I did not observe this behaviour in versions of gpflow prior to 1.0.0.  This occurs for at least the regression models (GPR, SGPR, SVGP), and possibly others.
import numpy as np
import matplotlib.pyplot as plt
import gpflow
import time

X = np.linspace(0,10, 100).reshape(-1,1)
y = np.sin(X) + np.random.normal(0, 0.25, size=100).reshape(-1,1)

k = gpflow.kernels.RBF(input_dim=1)
m = gpflow.models.gpr.GPR(X, y, kern=k)
m.compile()
gpflow.train.ScipyOptimizer().minimize(m)

print('Done optimize.')
predict_duration_log = []
for i in range(250):
    start = time.time()
    m.predict_y(X)
    end = time.time()
    predict_duration_log.append(end-start)

plt.plot(predict_duration_log)
plt.show()

I replicated your experiment and came to the same conclusion. The code was running on CPU.
GPflow 1.0

GPflow 0.5

@NMRobert @vdutor thank you for reporting and confirming.
@awav I'm away from my desk but is this possibly because the graph is growing each time we call predict?

That's very interesting, I hope it is not happening because of report_uninitialized_variables... In each run gpflow now check if variable needs re-initialization or not.

Bad news, I was right...

@alexggmatthews, @jameshensman and others :)
What I can do to fix it: turn off default initialization and checking by tf.report_unitialized_variables. But when you switch to another session, you will have to initialize the model explicitly. Any objections?

I found a way to slow down speed degradation w/o removing auto-initializing feature:

@awav Thanks for your work on this! I'm not sure I fully understand the consequences of removing auto-initialisation; I don't personally think it would be an issue (for me), but might be confusing and/or unexpected behaviour for some users. What would the code for this look like?

I think that small hurdles for users who want to manage thier own sessions is okay. If you know enough to use a session, you know enough to initialize the tf variables.

@NMRobert, When you switch from one session to another you will have to initialize parameters explicitly, for e.g.: model.initialize(another_session, force=[True|False]).

@awav: The slower degradation, is that still present for "normal" users? I think this is quite seriously bad behaviour. For example, in my training code (which I let run for days), I run the prediction code periodically to monitor performance. It would be really annoying for this to slow down.

I made short tests:
w/o checking if variable were initialized (sec):
In [10]: woi_pd.describe()
Out[10]:
count    50000.000000
mean         0.002592
std          0.003511
min          0.001846
25%          0.002330
50%          0.002432
75%          0.002665
max          0.388551

with checking if variables were initialized (sec):
In [11]: wi_pd.describe()
Out[11]:
count    50000.000000
mean         0.004250
std          0.003326
min          0.003169
25%          0.003954
50%          0.004069
75%          0.004368
max          0.405657
dtype: float64

Let's vote:

+1 leave auto-initializing as is
-1 we can live w/o initializing :)

+1

Hi Artem, these benchmark times are really small. I'm only interested in the relative performance degradation for predictions which take around 5 or more seconds. If this will be the absolute degradation then I'm happy with the auto initialise. In my vote I have assumed this is the case, so if not, let me know :)

@markvdw, it is not a degradation. I'm sorry for confusion - I edited an image above - my previous experiments were wrong. Here is new graphs:

So, there is only small overhead 2-3ms, which is constant.

Perfect, let's do auto init then! The only time when this would be a bad thing is if people call predict many times for small numbers of predictions. This isn't a good thing to do anyway, since we still recompute the Cholesky (annoyingly, there's still no good solution to this). I think there's no reason not to use auto-init.
Also, does this solution also fix the Iterator problem we spoke about?

I'm happy with the proposed solution that leaves auto-init intact.

Here is results w/o spikes, just for the record:
In [44]: woi_pd.describe(percentiles=[0.75,0.9,0.999])
Out[44]:
count    49995.000000
mean         0.002557
std          0.000407
min          0.001846
50%          0.002432
75%          0.002665
90%          0.003011
99.9%        0.005564
max          0.013085
dtype: float64

In [46]: wi_pd.describe(percentiles=[0.75,0.9,0.999])
Out[46]:
count    49995.000000
mean         0.004218
std          0.000633
min          0.003169
50%          0.004068
75%          0.004368
90%          0.004831
99.9%        0.008685
max          0.042645
dtype: float64

Resolved at #575

authors: NMRobert alexggmatthews awav jameshensman markvdw vdutor

repo: GPflow/GPflow

license_source: bigquery


text:
Deep copy & destructor of detectors

I noticed that during the changes from v3 to v4 I've changed all hit vectors to be vectors of pointers (TDetectorHit* to be exact) instead of hits. This enabled us to use the fHits vector (and the corresponding GetMultiplicity, GetHit, and GetHitVector functions) from TDetector in all daughter classes without having to re-implement those functions over and over again.
But this also means that we need to change our Copy functions for all detectors to make proper deep copies (copying the actual hits and not just the pointers to the hits). We also need to take care the we always free the memory of the hits when it's not needed anymore (this might be the cause of #1121).
Another, more elegant, way of dealing with this would be to change the vectors to be vectors of shared_ptrs. That way the memory would automatically be freed when the last pointer is deleted (whether because the object containing the vector gets destroyed or because the vector is cleared). The only disadvantages are that we need to use make_shared to create new hits (no big deal, that happens only inside grsisort), and any code using the hits would need to be changed to use shared_ptrs instead of normal pointers. We could make it so that GetHit still returns a normal pointer avoiding code changes for most user codes. User code using GetHitVector would definitely need to be changed.
I will test this with the Griffin class, and probably change all the code to shared_ptrs unless someone objects to this?

Actually the shared_ptrs create a whole bunch of issues when trying to create the hits. I made a new branch called shared_ptr_hits with those changes, but that version seg faults in the WriteAnalysisLoopClient.
For now I just implemented the proper deep copy and destruction of the hits for the affected classes (TDetector in GRSISort, and in GRSIData TGriffin, TLaBr, and TTigress).

repo: GRIFFINCollaboration/GRSISort


text:
🛑 beDID Proxy API is down

In ebc77ac, beDID Proxy API (https://proxy.beid.tech/api) was down:

HTTP code: 0
Response time: 0 ms

Resolved: beDID Proxy API is back up in e36ee20.

repo: GSoftbiz/upptime


text:
Program errors with laconic message

I'm running MetaMDBG and get the following output to stderr as the program errors:
Input: sample1/tmp//input.txt
Dir: sample1
Minimizer length: 13
Density: 0.005

Checking dependencies: bgzip (wfmash package) ok
Checking dependencies: samtools ok
Checking dependencies: wfmash ok
Checking dependencies: minimap2 ok

Converting reads to minimizers...
N50 read length: 8058
Min k: 4
Max k: 80

Multi-k pass: 4/80

ERROR (logs: sample1/tmp//logs.txt)

I've attached the logs.txt (but note I had to manually copy-paste it to get it out of our cluster, so some of the lines where it just says the number of reads processed is replaces with [etc])
The input is a 47 GB gzip compressed FASTQ file, and the program is run with 80 GB RAM.
It's possible this is an out of memory-error, so I've rerun it with 1500 GB RAM, however, in that case, the error message is less than perfect.
This is metaMDBG 0.3 running on Linux.
logs.txt

Yes it's probably an out of memory exception. I will try to improve the error messages.

authors: GaetanBenoitDev jakobnissen

repo: GaetanBenoitDev/metaMDBG


text:
Allow systems to check if an entity has a given component

Problem
Right now we need to OptRead and take it boolean value to know if a component is present.
That's disgusting.
Solution
We would add a system argument used to check whether a given entity has a component. Could also support other stuff such as testing whether a component was just added. E.g.:
void mySystem(ComponentChecker checker)
{
    if (checker.has<Position>(myEntity)) /* ... */
}

This came upon while discussing #389. We need to expose a method somewhere to convert entities from index to full Entity handles. Maybe both of these could be solved in one sweep? Both checking if components exist and getting the generation of an entity from its indices are operations which can safely be executed concurrently.

With the new queries this doesn't seem as important. I will remove this from the current milestone, but keep it here, as we might still find this useful.

repo: GameDevTecnico/cubos


text:
Optimization info for shared_ptr

Please note that shared_ptr will perform 2 allocs when rtti is disabled
This holds true for gcc<8 and clang <= 6.0

Thanks for the heads up, that sucks but hopefully they resolve it in clang soon and we move to newer compilers. Worst case scenario someone will need to enable rtti if it causes too many issues.

authors: BearishSun nemerle

repo: GameFoundry/bsf


text:
Fix an error in Win32GLSupport::selectPixelFormat

Just a missing { } that was causing spurious attribList.push_back(GL_TRUE); when WGL_EXT_framebuffer_sRGB was not present.

Surprised this didn't cause more issues. Merged.


text:
v0.8.1_30: Color is not changed according to the selected option

SEVERITY: Major
MODULE:  Line Chart
Platform:

Windows 7 / Chrome 45.0
Windows 7 / Firefox 42.0
MAC / Safari 8.0
iPad Air 2 iOS(8.3) / Safari 8.0
Nexus 9 (5.0.1) / Chrome 45.0
Nexus 5 (5.1.1) / Chrome 44.0

RELEASE: v0.8.1
STEPS TO REPRODUCE:

Navigate URL: http://static.gapminderdev.org/vizabi/release/v0.8.1/preview/linechart.html
Line chart page will be loaded
Click “Color”
Select any option
Note that there is no color change after selecting any other color options

ACTUAL RESULTS:
Color is not changed according to the selected option.
EXPECTED RESULTS:
Color should be changed according to the selected options
SCREENSHOT:

Retest Result: Fail
Platform: Windows 7 / Chrome 48.0
Testing Environment: http://static.gapminderdev.org/vizabi/release/v0.8.5/preview/linechart.html

fixed now

repo: Gapminder/vizabi


text:
手动扣了一些素材

1.不太知道需要的素材要求。所以我使用了512×1024并采取了相对居中的的方式用PS扣了几张。不知道行不行,图片放在了下方，素材来源是米游社的抽卡截图。本身就有点糊吧。所以效果可能不太好。没问题的话我就抽空看看那些缺的扣一下。
2.另外就是后续是否会有api文档吗？
3.是否有Docker之类的容器化的想法呢？
文件：素材.zip
图片：

也可以，那就根据传入的参数决定返回url还是base64好了。图片开一个定时器隔天清理就好了。

可行，不过大佬有想法做授权码的获取通道吗？因为我看到有鉴权的机制。比如web的获取申请？还是提供api从qqbot那边申请？昨天用了下感觉还是不错的。非常感谢大佬的付出，期待更完善的版本~

也可以，那就根据传入的参数决定返回url还是base64好了。图片开一个定时器隔天清理就好了。

可行，不过大佬有想法做授权码的获取通道吗？因为我看到有鉴权的机制。比如web的获取申请？还是提供api从qqbot那边申请？昨天用了下感觉还是不错的。非常感谢大佬的付出，期待更完善的版本~

emmmm，授权的话我本来是打算直接在数据表加授权码就算了的，一个授权码对应一个群。授权通道要做成什么样的你有什么想法吗

emmmm，授权的话我本来是打算直接在数据表加授权码就算了的，一个授权码对应一个群。授权通道要做成什么样的你有什么想法吗

这个也可以吧。自己用在数据库里写这个问题不大。我的想法大概是做成web界面之类的如何？我看到有自定义卡池的更换。感觉可以使用web界面更换卡池配置。保底次数等配置？ 然后将授权码的获取这个也加入web的配置里面？这样可能会直观一些。但是也会增加代码量和复杂程度吧。不过我感觉始终还是你那个“直接在数据表加”比较好。人工审核这样也比较符合吧。想了下用qqbot申请。可能会出现各种问题。所以还是觉得弄个web的前端界面提交数据库 (类似于后台系统) 或者 直接改数据库的方法可能会好点。

也行，先把主要功能做了，后面再用vue写一套前台好了

也行，先把主要功能做了，后面再用vue写一套前台好了

辛苦了，估计代码量不小，我不太了解.net。所以帮不上忙

authors: GardenHamster Mateoust

repo: GardenHamster/GenshinPray


text:
🛑 Mastodon is down

In 07f71bb, Mastodon ($MASTODON_URL) was down:

HTTP code: 500
Response time: 545 ms

Resolved: Mastodon is back up in f1731c4 after 3 minutes.

repo: GeekCornerGH/status-page


text:
Tabs overlap each other

react-native, react and native-base version
"react": "16.0.0-alpha.12",
"react-native": "0.46.4",
"native-base": "^2.3.1"

Expected behaviour
Tabs have perfect layout without overlaps.
Actual behaviour
Tabs overlap each other on about 0.5 of a pixel, but still visible.
Steps to reproduce (code snippet or screenshot)

Eject themes
in variables make tab background transparent

tabDefaultBg: 'transparent'

make tab heading partially transparent:

// TabHeading.js
const tabHeadingTheme = {
...
    '.scrollable': {
...
      backgroundColor: 'rgba(255, 255, 255, 0.8)'
    },
...
    }
  };

  return tabHeadingTheme;
};

put something distinctive under tab bar and make tab bar overlay it.
Switch between tabs: in some cases tabs overlap each other and you see this overlap.

Screenshot of emulator/device
See how between second and third tab there is some kind of border, that's the overlap. It appears and disappears between different tabs depending on which tab is selected.

Is the bug present in both ios and android or in any one of them?
I have checked only iOS
Any other additional info which would help us debug the issue quicker.
I noticed that it happens when positions of tabs are not integers.

Same in IOS.

Issue fixed in the latest release

@akhil-geekyants Could you please mention the version , it was fixed?

authors: Ruzen1 akhil-geekyants gosongs satori-ytolstoguzov

repo: GeekyAnts/NativeBase


text:
NativeBase on NPM comments out Spinner & ProgressBar

Seems to be commented out in the current master branch as well, but is pretty annoying if you are sharing a code base with multiple people and node_modules are not committed to git (which they shouldn't be).

We couldn't get the ProgressBarAndroid path to work. So had to comment it out. You can have a go at it  by uncommenting it but it'll error out in Android.

is it the same issue with the spinner?

Yes, Spinner component too. More details here https://facebook.github.io/react-native/docs/progressbarandroid.html

Spinner added in v0.5.0

I just pulled 0.5.0 into my repo to test out and I'm seeing the following for the spinnner

I'll investigate further and post most to see if I can fix it.

So i think the issue has to do with the ActivityIndicator. I'm currently on RN 0.27 but ActivityIndicator isn't introduced until 0.28. Probably need to make 0.28 a dependency/requirement for Nativebase 0.5

Works once upgraded to 0.30 React Native. Going to close this out


text:
Select ActionSheet within React-Navigation v6 modal is behind modal

Description
When using a modal screen in react-navigation v6, the select actionsheet on iOS is behind the modal page.
CodeSandbox/Snack link
https://snack.expo.dev/@keenan_nsg/native-base-select-actionsheet-behind-ios-modal
Steps to reproduce
See the attached snack
NativeBase Version
3.3.10
Platform

[ ] Android
[ ] CRA
[ ] Expo
[X] iOS
[ ] Next

Other Platform
No response
Additional Information
Note: The Expo snack only supports up to SDK 43 so there are some "older" react-navigation components used (as they are the ones recommended for the Expo SDK that the snack runs). Though, I did run the snack with the lates versions and the same issue still occurs. For posterity the newer versions are:
"react-native-screens": "~3.13.1",
"react-native-safe-area-context": "~4.2.4",

Hi,
Same problem
"native-base": "^3.4.1",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/drawer": "^6.4.1",
"@react-navigation/native": "^6.0.10",
"@react-navigation/native-stack": "^6.6.1",
"@react-navigation/stack": "^6.2.1",
"expo": "~44.0.4",
"react-native": "0.64.3",
.
.
.

@hawekotte @mcatal Thanks for reporting this. This is happening due to a conflicting overlay of Modal and Actionsheet. Hope to fix this in the coming release.

Is there a fix or workaround for this yet?

Is there any update on this yet?

Encountered the same issue, made my own Snack, only to realize I forgot to search for this problem and sure enough, this has already been reported. Does anyone know any workarounds?

Haha, don't use a modal! Had to redo part of my project... supposed to have been fixed already apparently, at least according to the above... although I am not sure what happens if you use a Native Base Actionsheet instead!  > Encountered the same issue, made my own Snack, only to realize I forgot to search for this problem and sure enough, this has already been reported. Does anyone know any workarounds?

having this problem trying to display a <Modal /> inside a modal screen ios

My workaround while waiting for the fix:

"native-base": "^3.4.13"
https://snack.expo.dev/ZeJ7_hzMU

  <Select
    {...yourProps}
    _actionSheet={{
      useRNModal: true,
    }}>

This saves my life
https://github.com/GeekyAnts/NativeBase/issues/4864#issuecomment-1240632661

_actionSheet={{
useRNModal: Platform.OS === 'ios',
}}>

Is there a fix or workaround for this yet?
Edit: Found a workaround straight after this. Use the native IOS ActionSheet for now.
https://reactnative.dev/docs/actionsheetios

what about android ?


text:
cant do update() to a model

whan i try to make for a model with chaching update i get that error:
Type error: Argument 2 passed to GeneaLabs\LaravelModelCaching\CacheTags::__construct() must be an instance of Illuminate\Database\Eloquent\Model, string given, called in
when i remove   use Cachable;
its work
how to fix that?
i use laravel 5.6

Thanks for reporting this. Can you please provide the eloquent query it is failing on?

i just try to update info inside an exist model with caching and its give me that error

I understand. The information will help me replicate the problem.

@Haizone Please help me help you and provide the eloquent query you are running. I have a test that uses update, and its passing, so I need to see what you are doing different. Thank you!

@mikebronner
hi
i have exist model with row in the db
i just try to change a filed in the model and use update() method to update in the db
and is didnt work i get that error:
"Type error: Argument 2 passed to GeneaLabs\LaravelModelCaching\CacheTags::__construct() must be an instance of Illuminate\Database\Eloquent\Model, string given, called in vendor\genealabs\laravel-model-caching\src\Traits\Caching.php on line 84"
id u whant u can give me your skype and i show u in live

@Haizone I need the code that contains the 1st->update().

@mikebronner
`$product= Product::get();
$newmodel = str_replace(strtolower($product->manufacturer->english_name), "", strtolower($product->model));
if((count(preg_split('/\s+/', $newmodel))) >= 3){
  $product->old_model = $product->model;
  $product->model = $newmodel;
  $product->update();
}

`

Hi @Haizone, thanks, that is the information I needed.
I would like to make one recommendation: the usage of update() in your code is not recommended. ->update() should be used with QueryBuilder chains, like described in the documentation here (https://laravel.com/docs/5.6/eloquent#updates), but not for model updates. instead simply use ->save().

I tried to replicate your issue, but was unable to. Can you also provide the last full stack trace from /storage/logs/laravel.log. I don't think the update query is causing the problem. The stack trace will tell us exactly what line in your code is causing the error. From there we will be able to see if there is a problem with the package.

The problem appears to be with your model. Are you using this on an Eloquent model? It is trying to create cache tags from an object called "Mi A1 64GB", which is interpreted as a String, and not as a model. From what I can see this is not an issue with this package. I would recommend following the stack trace and debugging your code step by step to see what is going on. If you can provide further evidence that this is a problem with this package, please re-open this issue and add the information. Sorry for the bad news, but good luck! (Unfortunately I am unable to help people one-on-one debugging their projects due to time-constraints. If you would like to hire me to implement the package, I am available to do so here: https://genealabs.17hats.com/p#/lcf/hrspbdcvncvnbdpkngrcrxnrwsbghcws)

authors: Haizone mikebronner

repo: GeneaLabs/laravel-model-caching

license: mit


text:
Router mismatch for different topics

Hello,
i dont know if ist a real bug but in my cas ist realy annoying.
I try to to implement three diferent topics with differnet routes
router.yml
eventri_event_push_sub:
    channel: notification/events/{event}
    handler:
        callback: 'eventri.subscribe.event.topic'

eventri_role_push_sub:
    channel: notification/roles/{role}
    handler:
        callback: 'eventri.subscribe.role.topic'

eventri_user_push_sub:
    channel: notification/users/{user}
    handler:
        callback: 'eventri.subscribe.user.topic'

but each time i try to connect to one route e.g. "eventri_role_push_sub" the first route "eventri_event_push_sub" matches.
This behavior also appears if i add the requirments to the parameter in the channel.
Thank you very much and greetings.

Hello,
I will dig into your issue and come back to you. Thanks for reporting it :)
Cheers

You can run composer update GeniusesOfSymfony/PubSubRouterBundle@0d6968c162e3350846c27a31f5cf5165df882a91 fixed it.

Great job, thank you very much :)

repo: GeniusesOfSymfony/WebSocketBundle


text:
Clear Periodic Timer after everyone unsubscribed

Fixes #474

It looks like there's a test failure with Gos\Bundle\WebSocketBundle\Tests\Server\App\Dispatcher\TopicDispatcherTest::testADispatchToAnUnregisteredPeriodicTopicTimerIsCompleted and it needing an update for this PR.
There is already a call to clear the timer here, after the Gos\Bundle\WebSocketBundle\Topic\TopicInterface::onUnSubscribe() method is called.  Is the added call to clear the topic before that method is called really needed?  That to me looks like it could have B/C impact as it changes the state of the event loop and the topic when the onUnSubscribe() method is called.

@mbabker I just learned that the real issue is that \count($topic) gives the wrong value, due to an ordering issue. When onUnsubscribe is called directly, then \count($topic) == 0, but when it is called indirectly through onClose, then \count($topic) == 1.
Old behavior:

onUnsubscribe: cleanTopic, onUnsubscribe
onClose: onUnsubscribe, onClose, cleanTopic

New behavior:

onUnsubscribe: cleanTopic, onUnsubscribe
onClose: cleanTopic, onUnsubscribe, onClose

authors: Androbin mbabker


text:
Row 274 structured comment name

Row 274 has this for the structured comment name:
History of kidney disorders; can include multiple disorders. The terms should be chosen from the DO (Human Disease Ontology) at http://www.disease-ontology.org, kidney disease (https://disease-ontology.org/?id=DOID:557).

fixed

authors: lschriml wdduncan

repo: GenomicsStandardsConsortium/mixs


text:
🛑 AI flowise is down

In 17bbe9d, AI flowise (https://aiflow.crushing.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: AI flowise is back up in 4e499b6 after 7 minutes.

repo: GentlemanHu/own-status


text:
Missing 12/31/2020 daily county2county file

https://github.com/GeoDS/COVID19USFlows/tree/master/daily_flows/county2county the 12/31/2020 file is missing

Thanks for reaching out! We have uploaded the county2county flows in 12/31/2020.
Feel free to use it!

Thanks for reaching out! We have uploaded the county2county flows in 12/31/2020.
Feel free to use it!


text:
Filter with relation

Do we support these kind of filters (from the specs):
"Example Request 2: http://example.org/v1.0/Observations?$filter=Datastream/id eq ‘1’ returns all Observations whose Datastream’s id is 1."
http://docs.opengeospatial.org/is/15-078r6/15-078r6.html

must be something like: http://example.org/v1.0/Observations?$filter=Datastream/@iot-id eq ‘1’

http://example.org/v1.0/Observations?$filter=Datastream/id eq ‘1’ should be supported by the system. Datastream/id is already extracted by godata as FilterTokenNav, based on this information a subquery needs to be generated. I will look into this

this is not working:
give things with location.name == "Somewhere1"
$ curl http://localhost:8080/v1.0/Things?$filter=Locations/name eq ‘Somewhere1’

{
   "error": {
      "status": "Internal Server Error",
      "code": 500,
      "message": [
         "No matching token for ‘Somewhere1’"
      ]
   }
}

Related entities in a odata query is not yet supported (Locations/name) you are also using strange quotation marks. ‘Somewhere1’ instead of 'Somewhere1'

Pushed changes to support filter on relation in https://github.com/gost/server/commit/870699b2dd4b05923891b14d2458a9d29a5a7689 example request above works but filter on relation needs some more work to support different scenarios, for instance http://localhost:8080/v1.0/Things?$expand=Locations&$filter=Locations/name eq 'test location 2' returns incorrect data.
http://localhost:8080/v1.0/Things?$filter=Locations/name eq 'Somewhere1'
{
   "value": []
}

http://localhost:8080/v1.0/Things?$filter=Locations/name eq 'test location 2'
{
   "value": [
      {
         "@iot.id": 505,
         "@iot.selfLink": "http://localhost:8080/v1.0/Things(505)",
         "name": "thing name 2",
         "description": "thing 2",
         "properties": {
            "reference": "second"
         },
         "Locations@iot.navigationLink": "http://localhost:8080/v1.0/Things(505)/Locations",
         "Datastreams@iot.navigationLink": "http://localhost:8080/v1.0/Things(505)/Datastreams",
         "HistoricalLocations@iot.navigationLink": "http://localhost:8080/v1.0/Things(505)/HistoricalLocations"
      }
   ]
}

authors: bertt tebben

repo: Geodan/gost


text:
new version

@josemazo @alasarr new version WIP (do not merge yet, we need to review config, version name, maybe a refactor, etc.).

We solve this issue here: https://github.com/GeographicaGS/Docker-PostGIS/issues/41

@josemazo Dockerfile upgraded to postGIS 2.4.4. Give a proper name to this version and you can merge this PR.
Proj.4 upgrade to version 5 will have to wait. We have first to do a better review of our Spanish Geodetic Patches repository.

repo: GeographicaGS/Docker-PostGIS


text:
Affichage cities/distrcits

J'ai chargé mes cities et districts, ils sont bien dans la BD, visible depuis monQGIS, et repertorier dans les fiches des objets. Par contre il n' s'affiche pas sur la carte. J'ai vidé mon cache et lancé un docker compose restart mais toujours rien. Une commande particulière à lancer ?

Hello, normalement non, pas de commande supplémentaire.
Est-ce que ce sont les raccourcis en haut de la carte pour aller sur la zone qui ne s'affichent pas, ou bien les couches de la carte ?

Les entités sur la carte uniquement :

@numahell je ne sais pas comment ni purquoi mais depuis ce matin l'affichage est ok, peut-être le fait d'avoir relancer docker compose down et docker compose up ???

authors: numahell thomaspnrhj

repo: Georiviere/Georiviere-admin


text:
Dummy handling for int64 gdb data is failing

In looking deeper into this there appear to be a number of problems handling dummies.  This will need some careful review and expansion of test cases.

Wrong repo - see gxpy#40

repo: GeosoftInc/gxapi


text:
Single col multi aggs

closes #37

F:\phobson\SOC_WQIP\python-propagator\propagator>nosetests --with-id --failed --with-coverage --cover-package=propagator

........................................................................................................................
..................................................................
Name                     Stmts   Miss  Cover   Missing
------------------------------------------------------
propagator.py                3      0   100%
propagator\analysis.py     153      0   100%
propagator\base_tbx.py      79      2    97%   186, 258
propagator\toolbox.py      185      3    98%   419-421
propagator\utils.py        262      7    97%   199-200, 689, 696, 1417, 1496-1497
propagator\validate.py      29      1    97%   142
------------------------------------------------------
TOTAL                      711     13    98%
----------------------------------------------------------------------
Ran 186 tests in 39.750s

OK

Verified applying multiple aggregation method on on wq score for both propagator and accumulator from GUI. Results verified with hand calculation. All looking good

authors: gcfang phobson

repo: Geosyntec/python-propagator


text:
Adds optional baseflowcol to HydroRecord and parse_storm_events

This commit allows the user to specify a (boolean) baseflowcol so that
the parse_storm_events function computes _wet only when baseflowcol
is False. This allows for the HydroRecord class to compute discrete
storm events even when the flow record has persistent flow.

Oops, forgot to update tests

Current coverage is 84.75% (diff: 87.50%)

Merging #109 into master will decrease coverage by 0.02%

@@             master       #109   diff @@
==========================================
  Files            12         12
  Lines          1860       1863     +3
  Methods           0          0
  Messages          0          0
  Branches        349        351     +2
==========================================
+ Hits           1577       1579     +2
  Misses          160        160
- Partials        123        124     +1

Powered by Codecov. Last update 7efeb2a...34ff948

@lucashtnguyen i got you, 🐶

@phobson 🎉

authors: codecov-io lucashtnguyen phobson

repo: Geosyntec/wqio


text:
Disable element key handler temporally

Hi,
I add a input tag to some of my paragraph with a specific attribute and with the added input I want to edit the value of that attribute.
But even when I am on the input, the parent paragraph still capture key events like backspace or enter.
Is there any way to disable the element key handler temporally?

Hi @Eeliya, my recommendation here would be to prevent keydown events propagating from your input to the contenteditable parent (e.g the paragraph). To do this you'll need to ensure that you bind event listeners to your input elements whenever they are created since the process of converting them to editable content will replace them they will loose any associated event listeners.
One approach you might consider (this code should be applied before setting up the editor):
// Listen for elements being mounted
ContentEdit.Root.get().bind('mount', function (element) {
    var i, inputs;

    // We're only interested in elements that support content
    if (element.content === undefined) {
        return;
    }

    // Search for inputs within the newely mounted element
    inputs = element.domElement().querySelectorAll('input');
    for (i = 0; i < inputs.length; i++) {
        // Prevent the propagation of the `keydown` event to the parent of the input
        inputs[i].addEventListener('keydown', function (ev) {
            ev.stopPropagation();
        });
    }
});

I hope that proves helpful - let me know how you get on.

Thanks for your solution. It worked! :)
I was trying to bind mount event after initialization, but that did not work. As you said it should be applied before setting up the editor.

One issue. This approach does not seem to work if I add input to a element on the fly.
For example I add a input tag to paragraph when it is selected and key event still traverse from input to the paragraph.
I solved this by adding the input into the ct-app like modals and dialog and set its position to the corresponding element position. it's a bit tricky but it works in my case.

Cool - glad you found a work around

authors: Eeliya anthonyjb

repo: GetmeUK/ContentTools


text:
Hi author, can you provide a direct copy of the Nuscene SOT dataset that has been processed?

Hi author, can you provide a direct copy of the Nuscene SOT dataset that has been processed(.dat file)? At the same time, I would like to ask you what configuration is required to run the Nuscene dataset, and how long will the experiment take to train from scratch. I would appreciate it if you could answer my question.

Apologies for the inconvenience caused. Due to limitations in cloud space, we are unable to provide the large .dat files. However, you can easily run the NuScenes experiments using the provided config files. Using Multiple GPUs (e.g. 8 3080TIs) and with --preloading flag on (make sure you have enough CPU memory) is recommended to do the training.   The training time for a NuScenes model will depend on various factors, including your machine specifications, the chosen model types, and whether the --preloading flag is enabled, etc.

I am very grateful for your reply. This is a very valuable advice.

authors: Ghostish suyzhi


text:
🛑 MCSkinHistory is down

In 02e6281, MCSkinHistory (https://mcskinhistory.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MCSkinHistory is back up in d9e2443 after 9 minutes.


text:
🛑 Gigadrive API v3 is down

In 46e8688, Gigadrive API v3 (https://old.gigadrivegroup.com/api/v3/user) was down:

HTTP code: 503
Response time: 169 ms

Resolved: Gigadrive API v3 is back up in f91f2b7 after 8 minutes.


text:
🛑 MCSkinHistory is down

In 9671cfc, MCSkinHistory (https://mcskinhistory.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: MCSkinHistory is back up in f646c8f after 37 minutes.


text:
TagBot trigger issue

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

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

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

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

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

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

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

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


text:
Change the toggle button

The current toggle button for bright does not look nice! try to change it

Hey! Can I do this?

assigned to @ishantsingla18

repo: GingerOwls/WebDev


text:
[Feature] Drop support for NULL as OUTPUT_MODE

As per the summary, support for this configuration is coming to an end.
Refer to the documentation for the required configuration changes.
Please note that Null will still be supported of course, it just needs to be configured differently.

Available in release 2023-02-11


text:
Change Favicon

Hey @Manvityagi , @abdus , @vaishali614   , I am Lavanya Narayanan, a GSSOC, 2021 participant. I want to make changes in favicon in the website. Can I work on this issue?

Sure.

, I am Shivansh Soni , a GSSOC, 2021 participant. I want to make changes in favicon in the website. Can I work on this issue?

@shivansh-soni07
Waiting for @lavanya243 to make a PR on this. If she doesn't make a PR by tomorrow night, I will assign it to you.


text:
Unexpected token {

Hello,
After upgrading to 0.0.23 this plugin fails with node 5.
It looks like this:
postcss-at-rules-variables/lib/index.js:35
		rule.each(({ prop, value }) => {
		           ^
SyntaxError: Unexpected token {

It seems babel configuration miss babel-plugin-transform-es2015-destructuring.
Maybe it works with latest node6 - I'm not sure.
Cheers

@plesiecki Hi, write you OS and full version node 5.
i have tests which passed on node 4,5,6.
maybe you need reinstall all node modules.

rm -rf node_modules && npm i didn't help. After further investigation I noticed that transpiled version of master (after npm run build) and installed module from npm registry are different.
// lib/index.js:35 built locally
rule.each(_ref => {
  let prop = _ref.prop;
  let value = _ref.value;

  propertys[prop] = value;
});

// lib/index.js:35 installed from npm registry
rule.each(({ prop, value }) => {
	propertys[prop] = value;
});

Your test are green because ava transpile your code for you

@plesiecki

After further investigation I noticed that transpiled version of master (after npm run build) and installed module from npm registry are different.

I transpiling and publish from node 6, this is a my stupid mistake.

Your test are green because ava transpile your code for you

You are absolutely right !
P.S Thank you for your feedback, it is very important to me and my product :)

@plesiecki fix and publish.

Let me know when you publish new version

@plesiecki now last version 0.0.24

authors: GitScrum plesiecki

repo: GitScrum/postcss-at-rules-variables


text:
🛑 hcr is down

In 3ed5e1b, hcr (hcr.co.uk) was down:

HTTP code: 403
Response time: 896 ms

Resolved: hcr is back up in add442b after .


text:
🛑 higou is down

In 0d5bb56, higou (higou.net) was down:

HTTP code: 0
Response time: 0 ms

Resolved: higou is back up in 3bb7ff2.


text:
🛑 orkut is down

In 0597e6a, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 63db2c9.


text:
🛑 orkut is down

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

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in a7a0ec3.


text:
🛑 orkut is down

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

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 1a1bc1b.


text:
🛑 orkut is down

In 6011a1d, orkut (orkut.com.br) was down:

HTTP code: 403
Response time: 112 ms

Resolved: orkut is back up in fe15056.


text:
🛑 orkut is down

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

HTTP code: 404
Response time: 209 ms

Resolved: orkut is back up in d2f042d.


text:
🛑 orkut is down

In 3cb9ef8, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in c9284db.


text:
🛑 orkut is down

In 633fbf6, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 25404d5.


text:
🛑 alkon is down

In 0ee5242, alkon (alkon.com.ar) was down:

HTTP code: 0
Response time: 0 ms

Resolved: alkon is back up in dd19a0b.


text:
🛑 penisdicke is down

In 106465f, penisdicke (penisdicke.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: penisdicke is back up in 96aeec1.


text:
🛑 ojolink is down

In 423e214, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 528f242.


text:
🛑 ojolink is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 1cd2601.


text:
🛑 penispedia is down

In a323707, penispedia (penispedia.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: penispedia is back up in bdbd4c9.


text:
🛑 hcr is down

In 96e04fb, hcr (hcr.co.uk) was down:

HTTP code: 401
Response time: 1096 ms

Resolved: hcr is back up in fd0f584.


text:
🛑 orkut is down

In 829a6da, orkut (orkut.com.br) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 83611c2.


text:
🛑 orkut is down

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

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in ac97f57.


text:
🛑 mynewsize is down

In 6dc0cb4, mynewsize (mynewsize.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mynewsize is back up in ff894cb.


text:
🛑 ojolink is down

In d31b918, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 404 ms

Resolved: Ojolink is back up in 94cf2ce.


text:
🛑 feest-start is down

In eff57f7, feest-start (feest-start.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: feest-start is back up in 8f7d491.


text:
🛑 ojolink is down

In 31eb061, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in dd81ffb.


text:
🛑 ojolink is down

In 672b592, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 424 ms

Resolved: Ojolink is back up in abde47e.


text:
🛑 ojolink is down

In f63754f, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 496 ms

Resolved: Ojolink is back up in 32e091e.


text:
🛑 ojolink is down

In 02d675c, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 470 ms

Resolved: Ojolink is back up in ea2613f.


text:
🛑 ojolink is down

In 734691e, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 360 ms

Resolved: Ojolink is back up in 6596aa3.


text:
🛑 orkut is down

In 579aa58, orkut (orkut.com.br) was down:

HTTP code: 429
Response time: 921 ms

Resolved: orkut is back up in cf68621.


text:
🛑 163 is down

In 556e222, 163 (163.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 163 is back up in 6ad1cca.


text:
🛑 ojolink is down

In 9ad474c, ojolink (ojolink.net) was down:

HTTP code: 403
Response time: 527 ms

Resolved: Ojolink is back up in 17478ba.


text:
🛑 Mangahype is down

In 028a2cf, Mangahype (https://www.mangahype.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Mangahype is back up in 83f5414.


text:
🛑 ojolink is down

In 0e7ee97, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 0779605.


text:
🛑 ojolink is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in db5833b.


text:
🛑 feest-start is down

In e84e837, feest-start (feest-start.nl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: feest-start is back up in 8bef71d.


text:
🛑 ojolink is down

In 28c3829, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in be83f76.


text:
🛑 ojolink is down

In 4f3b87f, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in a34a08b.


text:
🛑 ojolink is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 72f8dbd.


text:
🛑 ojolink is down

In 749764a, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 2d38f57 after 831 days, 14 hours, 20 minutes.


text:
🛑 ojolink is down

In 1e39e9a, ojolink (ojolink.fr) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 99a1b0d after 833 days, 1 hour, 41 minutes.


text:
🛑 carlinha is down

In 74195f3, carlinha (carlinha.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: carlinha is back up in b50d5a3 after 39 minutes.


text:
🛑 uzboys is down

In 55eadcb, uzboys (uzboys.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: uzboys is back up in f847ce7 after 38 minutes.


text:
🛑 uzboys is down

In 37098fc, uzboys (uzboys.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: uzboys is back up in e9cf7ab after 20 minutes.


text:
🛑 ojolink is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 7e8410f after 8 minutes.


text:
🛑 ojolink is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 1e03935 after 56 minutes.


text:
🛑 ojolink is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Ojolink is back up in 9e6fbdb after 8 minutes.


text:
🛑 orkut is down

In 418a787, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 6d0462e after 16 minutes.


text:
🛑 orkut is down

In 0775c45, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 4871fc7 after 11 minutes.


text:
🛑 orkut is down

In 8615ba3, orkut (orkut.co.in) was down:

HTTP code: 0
Response time: 0 ms

Resolved: orkut is back up in 1cde539 after 15 minutes.


text:
🛑 urbanlime is down

In 17e24ec, urbanlime (urbanlime.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: urbanlime is back up in 13150ad after 23 minutes.


text:
🛑 rapishare is down

In 97ca226, rapishare (rapishare.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: rapishare is back up in bc8319d after 56 minutes.


text: Images

repo: Gizra-Presentations/ama


text:
Update htmlunit to 2.58.0

Updates net.sourceforge.htmlunit:htmlunit from 2.46.0 to 2.58.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "net.sourceforge.htmlunit", artifactId = "htmlunit" } ]

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

Superseded by #185.


text:
Word by word audio (requires players) - more info needed

The word for word
Juz Amma data:
https://drive.google.com/file/d/0B0SVugw8Zsh7TW9uZGd2X3A3M3M/view?usp=sharing
Juz Amma Audio:
https://drive.google.com/folderview?id=0B0SVugw8Zsh7RG5tOUVqbFE0dHc&usp=sharing
To Do:

[ ] match audio to text (juz amma is done)
[x] split audio files
[ ] rename split audio files

Tool:

[ ] Tool to help match audio to text - (more info will be added)

How many surah, verses are missing?

@iBasit from surah 2 to 77, but I do have the audio files just need to link up the words.

@hqaweb brother can help yo link up other word by word audio files..

authors: Ashraf-Ali-aa iBasit

repo: GlobalQuran/mobile-app


text:
Hola Mundo

Ya use gitHub Copilot, muy buena herramienta, use la version para estudiantes.

🤗

repo: Globant-CodeFest/sorteo-app


text:
Diagonal Movement

Diagonal movement is faster than using the WASD keys for cardinal directions (up, down, left, right) .
If you move one unit to the right and one unit up in a single frame, the plane covers a greater distance diagonally compared to moving one unit solely along the X or Y axis, so maybe we can amend.
Pretty common issue in top-down games with lots of documentation to fix online. (Good first issue fix)

I've experimented with different ways to solve this issue, like cutting the movement speed in half while diagonal movement is being done, issues arise with either the generation or with the coordinates displayed, it also feels somewhat more natural for some reason when the plane moves diagonally in whole intervals. I'm open to PRs changing this.

Closing due to PR https://github.com/Glowstick0017/Little-Plane-Project/pull/40


text:
[WIP] Glowstone++ Refactor

Refactored some things, using new Java 8 features, and some other optimizations/improvements.
This is just to track changes and progress. The PR is not ready to pull.

Closing this as the scope of this is huge. I have separated it into the jdk8 branch and microredux branch.

repo: GlowstonePlusPlus/GlowstonePlusPlus


text:
Basic BIP86 support - taproot addresses

Basic BIP86 support
gun setup seed --address-kind (tr|wpkh)

Basic taproot descriptors work too
setup descriptor "tr(tprv8ZgxMBicQKsPd3EupYiPRhaMooHKUHJxNsTfYuScep13go8QFfHdtkG9nRkFGb7busX4isf6X9dURGCoKgitaApQ6MupRhZMcELAxTBRJgS)" --network testnet

I have not tried any complex descriptors yet (like on https://bitcoinops.org/en/preparing-for-taproot/#taproot-descriptors

could merge this onto master while we work on frost

Yeah we should either use latest release of BDK (not our branch) or wait for bdk_core to be useable in the next two weeks. Then re-integrate FROST there. My feeling is we should just use bdk_core here to kick the tires on it.

authors: LLFourn nickfarrow

repo: GoUpNumber/gun


text:
Disable two lint rules which are being removed.

Each of these are going to be removed soon.

avoid_null_checks_in_equality_operators
unsafe_html

Work towards https://github.com/dart-lang/linter/issues/5063 and https://github.com/dart-lang/linter/issues/5001

@Goddchen please review. This PR is blocking the removal of these lint rules in the Dart SDK, as dart-rfb is in Flutter's customer test registry.

Thank you for creating this PR!

authors: Goddchen srawlins

repo: Goddchen/dart-rfb


text:
License?

Is there a license on the code in this repository? If there is one, I didn't see it. I would suggest the MIT license.

I do not know anything about license. The code is not all mine.

Ok, so it's copyrighted by all the individuals who have contributed code. If you got the permission of each contributor, you could add a license and make this free and open source.

I'm not a lawyer and I might be wrong:
But TBH I think its safe to set the LICENSE to something like MIT.
If one contributor complains we can remove his work and reimplement it anytime + the contributor was in breach himself anyways as he worked atleast on code that was copyrighted to @Mgldvd

authors: Mayccoll agarrharr stablestud

repo: Gogh-Co/Gogh


text:
Постоянная анимация загрузки при просмотре блога пользователя

При просмотре списка постов пользователя (раздел "блог" профиля) и прокрутке до самого первого поста нету сообщения, что это первый пост и более ранних постов у пользователя нет. Вместо этого появляется значок подгрузки новых постов, хотя подгружать уже больше нечего. Значок висит бесконечно долго, вводя в заблуждение.

Не актуально, похоже Леша исправил.

repo: GolosChain/tolstoy


text:
Ошибки в отображении истории кураторских наград

На странице истории кураторских наград иногда происходит смещение списка. Две строки сливаются в одну. Баг?

тоже самое для авторских
фиксите авторские и кураторские вместе


text:
無法取得卡池歷史紀錄頁面網址，請確保您在遊戲內卡池開啟過歷史紀錄。

我明明都開過了卡池歷史紀錄，但為什麼還是讀取不到，還是要用瀏覽器開啟歷史記錄，是的話是怎麼開？教教我

您是怎麼開啟卡池歷史紀錄的？

就開祈願後點在左下角的歷史記錄

遊戲中開啟歷史紀錄後，再點擊軟體的更新資料看看，如還有錯誤上傳錯誤圖片到這裡。

我有時也會發生，過一段時間再開程式後就會叫我進遊戲開卡池紀錄，按重新加載後就會卡在初始化。
解決方法 : 得再進遊戲祈願池開歷史紀錄，但關遊戲後有機率再發生。

@leronube 原神啟動後會清除原本的資料，導致軟體無法取得資料，每次啟動遊戲必須都要再開啟卡池記錄才能讀到資料。

authors: GoneTone MHaoK1205 XMoiswnX leronube


text:
GooCreate Opensource?

Hi
Does GooCreate still exist?
If so, what are the plans with its' source code? As far as I understand, there is the engine here but not the editor.
Cheers
M

Goo Create is now Amazon Sumerian.
https://aws.amazon.com/sumerian/

Goo Create is now Amazon Sumerian. https://aws.amazon.com/sumerian/

And Amazon killed Sumerian. Bad ending for this project 😐.

authors: augus1990 malekcellier marcusstenbeck

repo: GooTechnologies/goojs


text:
[RN] Error: Uncaught TypeError: e is not a function

Precondition:
The "My profile" page is opened (editing avatar page)
The avatar is empty (placeholder-avatar is displayed)
Steps to reproduce:

Click the "Upload photo" button
Pay attention to the error in the console

Actual result: The error message is displayed on the console after clicking the "Upload" button
Expected result: The error message shouldn't be displayed on the console after clicking the "Upload" button

Checked on  native 1.3.1-1
LG V30+ // Android 8.0 // Google Chrome 86.0.4240.75
Desktop: Windows 10 // Google Chrome  86.0.4240.75

@WolfVV it's already hotfixed on react-native. Please re-deploy & re-check

@mauriguz In some comment i described the rules of useOnPress:

it should be used with native onPress event produced by the some bottom level RN component (Button, TouchableOpacity etc)
do not stack useOnPress. If some our custom button already have useOnPress, no not add useOnPress to components using this button
check if some callback prop provided an event. For example dialog actions aren't providing events so useOnPress isn't needed. just useCallback in that cases

Do you or  @MathiasMoralesDixtra have checked the whole project regarding correct useOnPress usage ?

I'm running a check for the whole project to make sure usage of useOnPress follows the rules of the hook

@mauriguz now works without error but the button isn't clickable inside the photo camera It means that the center of the icon isn't clickable. The upload window will be opened if the user clicks closer to the edge of the button
Video: https://www.screencast.com/t/P52HV8mryEzG
Checked on native 1.3.1-1
Desktop: Windows 10 // Google Chrome  86.0.4240.75

@WolfVV if there's a new issue then open a separate one. and close this one.
did you encounter this issue with other buttons also?

@sirpy ok I'll open another one
I didn't encounter like that but if I meet, I would add a comment to a new issue that I'm going to create

@mauriguz left a comment there #2653

authors: WolfVV mauriguz serdiukov-o-nordwhale sirpy

repo: GoodDollar/GoodDAPP


text:
Adding linting rule to not allow vars, adding linting to npm test

cc @paullewis

let thereBeAwesomeness = true;

authors: gauntface paullewis

repo: GoogleChrome/big-rig


text:
Session datavis

things to be conscious about with this component:

folks might not like or be aware of their high level session tally, and this tally could make them appear counter to their goals, aka no counting
avoid making 1 subject look better than another, no stack ranking or comparisons
should deduce for feature phones, but expand and consume more visual space on desktop

Ohhh I like this. Nice one!

whoever design this must not like CSS, it's last which means it's shite 😂

i remember surma mentioning somewhere that 11ty is prepared to make filtered views of the sessions? that mean we can have these labels/tags/whatevers be links?

authors: argyleink jakearchibald

repo: GoogleChrome/devsummit


text:
DeprecationWarning for OutgoingMessage.prototype._headers is deprecated on page.goto

Getting DeprecationWarning for OutgoingMessage.prototype._headers when I call page.goto:
await page.goto('http://localhost:8080', { waitUntil: 'networkidle0' })

Steps to reproduce
Tell us about your environment:

Puppeteer version: 1.17.0
Platform / OS version: macOS 10.14.5
Node.js version: 12.3.1

What steps will reproduce the problem?
The following code reproduces this error:
  const browser = await puppeteer.launch({
    headless: true,
    args: ['--no-sandbox', '--disable-setuid-sandbox']
  })

  const page = await browser.newPage()
  await page.goto('http://localhost:8080', { waitUntil: 'networkidle0' })

What is the expected result?
No deprecation warning.
What happens instead?
Get a deprecation warning

@rg-wood How do I reproduce this? Runs perfectly smooth for me.
Additionally: the DEP0066 is about accessing the outgoingMessage._headers private variable from node's HTTP module. We never do this in Puppeteer.

Apologies, looks like this was an issue with another piece of software:
https://github.com/indexzero/http-server/issues/537
Please close

authors: aslushnikov rg-wood rgladwell

repo: GoogleChrome/puppeteer


text:
Add a method to cache the URLs of all open clients

Library Affected:
sw-lib
Issue or Feature Request Description:
Add a method to cache the URLs of all open clients
This allows a dev to ensure a site can run offline after the first pageload without having to wait for a subsequent pageload.
Note: we'll probably want to make sure we use the includeUncontrolled option

I'm going to bump down this priority, since it's new functionality that would be nice to have, but not needed for parity with our legacy offerings.

Quick hack for how this might work. It would be code that run in the context of window, and could look like:
async function populateCache(cacheName) {
  const urls = performance.getEntriesByType('resource').map(resource => resource.name);
  const cache = await caches.open(cacheName);
  return Promise.all(urls.map(async url => {
    // Explicitly check to see if the URL is present in any cache, not just in cacheName.
    // Otherwise, we'd end up double-caching URLs that are managed via precaching.
    const alreadyCached = await caches.match(url);
    if (!alreadyCached) {
      try {
        await cache.add(url);
      } catch(error) {
        // Super-hacky.
        try {
          const response = await fetch(new Request(url, {mode: 'no-cors'}));
          await cache.put(url, response);
        } catch(anotherError) {
          console.info(anotherError);
        }
      }
    }
  }));
}

Problems with this strawman approach:

We should provide some way of filtering what gets cached via a whitelist, blacklist, or both.
Running this code unconditionally on every page load is a waste, so maybe we should take care of running it inside of a navigator.serviceWorker.oncontrollerchange event listener. But then we might run into issues if our code isn't loaded until after the service worker has been installed, and the controllerchange event has already been fired.
I don't think we can determine from the underlying Performance API whether a cross-origin resource was loaded with CORS or is opaque, so we might be stuck trying CORS first, and then falling back to no-cors if that fails. Using no-cors unconditionally is another option, but that would end up causing issues for resources that can't be used by the page when they're opaque, and it's also riskier, since you might end up caching error responses.

Related discussion in the service worker specification: https://github.com/w3c/ServiceWorker/issues/1282

This is now doable in v4 via a recipe that uses workbox-window. @philipwalton will be publishing a corresponding guide.

authors: jeffposnick philipwalton

repo: GoogleChrome/sw-helpers


text:
runtimeCaching not working?

Hello,
Sorry this probably is not a bug but my head is going to explode.
I have this app: https://edu.carre-project.eu/ and a service worker file in https://edu.carre-project.eu/service-worker.js generated by this conf :
{
  "staticFileGlobs": [
    "dist/public/app/*",
    "dist/public/manifest_icons/*",
    "dist/public/fonts/*",
    "dist/public/*"
  ],
  "stripPrefix": "dist/public/",
  "runtimeCaching": [{
    "urlPattern": "/^https:\/\/edu\\.carre-project\\.eu\/api\/",
    "handler": "networkFirst"
  }]
}

from the cli command : sw-precache --config=sw-precache-config.json
My main problem is that it doesnt cache the api...
I have also tried this regex /(.*)\/api\/(.*)/ and single request such as 'api/config.json' but again with no luck
Is there any obvious mistake in my conf?

I just gave it a try, and that generates toolbox.router.get(/^https://edu\.carre-project\.eu/api/, toolbox.networkFirst, {});, which is an invalid RegExp.
String escaping in JSON is coming into play here, and you need to actually escape all the '' characters in the string, so that they make it into the final RegExp. (You're only double-escaping some of them.)
Try "urlPattern": "/^https:\\/\\/edu\\.carre-project\\.eu\\/api\\//", which leads to toolbox.router.get(/^https:\/\/edu\.carre-project\.eu\/api\//, toolbox.networkFirst, {}); in the output.

authors: jeffposnick portokallidis

repo: GoogleChrome/sw-precache


text:
refactor(build): flatten output of workbox-build

Prior to creating a pull request, please follow all the steps in the contributing guide.
R: @jeffposnick @tropicadri
Fixes #issue number
Description of what's changed/fixed.
In the process of adding workbox-build doc generation to developer.chrome.com GoogleChrome/developer.chrome.com#1903 I realized that the transpiled code for the workbox-build library are put into a build directory instead of being top level. This is unlike a slew of the other libraries and causes the workbox docs on DCC to look like this...

The workbox-build library is referenced as workbox-build/build. This PR flattens the output of the workbox-build build to match the other libraries and make it play nice with the doc generation for DCC.

Thanks, @MichaelSolati!
There's unfortunately still some places in the codebase that still assume the /build/ path (as evidenced by this CI failure).
In the back of my head, I'm worried that there are developers out there who rely on specific pieces of workbox-build that are not technically part of the exported public interface, but which are accessible via direct package paths. This is a gray area when it comes to semver, but our general philosophy has been to defer these sorts of changes until the next major semver release comes around (unless there is an overwhelming argument in the other direction).
Can we sync up to see whether we could address this via changes to how d.c.c. ingests the TypeScript definitions?

authors: MichaelSolati jeffposnick

repo: GoogleChrome/workbox


text:
Fixing lossless slider for webP. Previously you couldn't select "9" :D

Fixing a little bug with the slider.

@surma losslessPresets contains 10 entries which map to our "effort" slider in lossless mode. Because 'quality' 90 appears twice, it was alway matching on the first, but never the second.

repo: GoogleChromeLabs/squoosh


text:
Remove unreachable return statement

The return {status: GenerateFragmentStatus.INVALID_SELECTION}; could never be reached.

@tfmar @SebLalancette Can you PTAL?


text:
[ERROR org.apache.spark.scheduler.AsyncEventQueue] On starting spark-shell in a cluster with custom 2.0-debian10 image

Starting a spark-shell results in ERROR org.apache.spark.scheduler.AsyncEventQueue: Listener AppStatusListener threw an exception java.lang.NumberFormatException: For input string: "null"
Summary of the steps (Check next section to find exact steps)

Built a custom image with DATAPROC_VERSION=2.0-debian10 equipped with GPU
Used this image to start a new cluster with GPU
SSH to the cluster and started spark-shell
Spark shell throws the ERROR org.apache.spark.scheduler.AsyncEventQueue. (Same error is also found on creating a spark session in a pyspark notebook)

Steps to reproduce the problem

Create a customization-script for the image Eg: gpu_dataproc_debian_empty.sh.  For simplicity, only add the following to this file

#!/bin/bash
echo hello

Create an image with DATAPROC_VERSION=2.0-debian10  and the above customization-script.

export CUSTOMIZATION_SCRIPT=/gpu_dataproc_debian_empty.sh
export ZONE=us-central1-a
export GCS_BUCKET=mybucket
export IMAGE_NAME=basic-debian-image
export DATAPROC_VERSION=2.0-debian10
export GPU_NAME=nvidia-tesla-t4
export GPU_COUNT=1

python3 generate_custom_image.py \
    --image-name $IMAGE_NAME \
    --dataproc-version $DATAPROC_VERSION \
    --customization-script $CUSTOMIZATION_SCRIPT \
    --no-smoke-test \
    --zone $ZONE \
    --gcs-bucket $GCS_BUCKET \
    --machine-type n1-standard-4 \
    --accelerator type=$GPU_NAME,count=$GPU_COUNT \
    --disk-size 100 \
    --subnetwork default

Start a Dataproc cluster with this image

export REGION=us-central1
export GCS_BUCKET=mybucket
export CLUSTER_NAME=basic-debian-cluster
export NUM_GPUS=1
export NUM_WORKERS=2

gcloud dataproc clusters create $CLUSTER_NAME  \
    --region=$REGION \
    --subnet=default \
    --image=basic-debian-image \
    --master-machine-type=n1-standard-16 \
    --num-workers=$NUM_WORKERS \
    --worker-accelerator=type=nvidia-tesla-t4,count=$NUM_GPUS \
    --worker-machine-type=n1-highmem-32\
    --num-worker-local-ssds=1 \
    --optional-components=JUPYTER,ZEPPELIN \
    --metadata=rapids-runtime=SPARK \
    --bucket=$GCS_BUCKET \
    --enable-component-gateway

SSH to the master and start the spark-shell

$ spark-shell
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
22/07/13 23:23:16 INFO org.apache.spark.SparkEnv: Registering MapOutputTracker
22/07/13 23:23:16 INFO org.apache.spark.SparkEnv: Registering BlockManagerMaster
22/07/13 23:23:16 INFO org.apache.spark.SparkEnv: Registering BlockManagerMasterHeartbeat
22/07/13 23:23:17 INFO org.apache.spark.SparkEnv: Registering OutputCommitCoordinator
22/07/13 23:23:26 ERROR org.apache.spark.scheduler.AsyncEventQueue: Listener AppStatusListener threw an exception
java.lang.NumberFormatException: For input string: "null"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Integer.parseInt(Integer.java:615)
	at scala.collection.immutable.StringLike.toInt(StringLike.scala:304)
	at scala.collection.immutable.StringLike.toInt$(StringLike.scala:304)
	at scala.collection.immutable.StringOps.toInt(StringOps.scala:33)
	at org.apache.spark.util.Utils$.parseHostPort(Utils.scala:1126)
	at org.apache.spark.status.ProcessSummaryWrapper.<init>(storeTypes.scala:527)
	at org.apache.spark.status.LiveMiscellaneousProcess.doUpdate(LiveEntity.scala:924)
	at org.apache.spark.status.LiveEntity.write(LiveEntity.scala:50)
	at org.apache.spark.status.AppStatusListener.update(AppStatusListener.scala:1215)
	at org.apache.spark.status.AppStatusListener.onMiscellaneousProcessAdded(AppStatusListener.scala:1429)
	at org.apache.spark.status.AppStatusListener.onOtherEvent(AppStatusListener.scala:113)
	at org.apache.spark.scheduler.SparkListenerBus.doPostEvent(SparkListenerBus.scala:100)
	at org.apache.spark.scheduler.SparkListenerBus.doPostEvent$(SparkListenerBus.scala:28)
	at org.apache.spark.scheduler.AsyncEventQueue.doPostEvent(AsyncEventQueue.scala:37)
	at org.apache.spark.scheduler.AsyncEventQueue.doPostEvent(AsyncEventQueue.scala:37)
	at org.apache.spark.util.ListenerBus.postToAll(ListenerBus.scala:117)
	at org.apache.spark.util.ListenerBus.postToAll$(ListenerBus.scala:101)
	at org.apache.spark.scheduler.AsyncEventQueue.super$postToAll(AsyncEventQueue.scala:105)
	at org.apache.spark.scheduler.AsyncEventQueue.$anonfun$dispatch$1(AsyncEventQueue.scala:105)
	at scala.runtime.java8.JFunction0$mcJ$sp.apply(JFunction0$mcJ$sp.java:23)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
	at org.apache.spark.scheduler.AsyncEventQueue.org$apache$spark$scheduler$AsyncEventQueue$$dispatch(AsyncEventQueue.scala:100)
	at org.apache.spark.scheduler.AsyncEventQueue$$anon$2.$anonfun$run$1(AsyncEventQueue.scala:96)
	at org.apache.spark.util.Utils$.tryOrStopSparkContext(Utils.scala:1404)
	at org.apache.spark.scheduler.AsyncEventQueue$$anon$2.run(AsyncEventQueue.scala:96)

EDIT1: The same behaviour/error is thrown when CPU cluster is used.

@medb @mengdong @sameerz  FYI

Steps to reproduce the problem with a CPU cluster

Create a customization-script for the image Eg: cpu_dataproc_debian_empty.sh. For simplicity, only add the following to this file

#!/bin/bash
echo hello

Create an image with DATAPROC_VERSION=2.0-debian10 and the above customization-script.

export CUSTOMIZATION_SCRIPT=cpu_dataproc_debian_empty.sh
export ZONE=us-central1-a
export GCS_BUCKET=mybucket
export IMAGE_NAME=basic-debian-cpu-image
export DATAPROC_VERSION=2.0-debian10

python3 generate_custom_image.py \
    --image-name $IMAGE_NAME \
    --dataproc-version $DATAPROC_VERSION \
    --customization-script $CUSTOMIZATION_SCRIPT \
    --no-smoke-test \
    --zone $ZONE \
    --gcs-bucket $GCS_BUCKET \
    --machine-type n1-standard-4 \
    --disk-size 100 \
    --subnetwork default

Start a Dataproc cluster with this image

export REGION=us-central1
export GCS_BUCKET=mybucket
export CLUSTER_NAME=basic-debian-cpu-cluster
export NUM_WORKERS=2

gcloud dataproc clusters create $CLUSTER_NAME  \
    --region=$REGION \
    --subnet=default \
    --image=basic-debian-cpu-image\
    --master-machine-type=n1-standard-16 \
    --num-workers=$NUM_WORKERS \
    --worker-machine-type=n1-highmem-32\
    --num-worker-local-ssds=1 \
    --optional-components=JUPYTER,ZEPPELIN \
    --bucket=$GCS_BUCKET \
    --enable-component-gateway

SSH to the master and start the spark-shell

$ spark-shell
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel).
22/07/13 23:23:16 INFO org.apache.spark.SparkEnv: Registering MapOutputTracker
22/07/13 23:23:16 INFO org.apache.spark.SparkEnv: Registering BlockManagerMaster
22/07/13 23:23:16 INFO org.apache.spark.SparkEnv: Registering BlockManagerMasterHeartbeat
22/07/13 23:23:17 INFO org.apache.spark.SparkEnv: Registering OutputCommitCoordinator
22/07/13 23:23:26 ERROR org.apache.spark.scheduler.AsyncEventQueue: Listener AppStatusListener threw an exception
java.lang.NumberFormatException: For input string: "null"
	at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
	at java.lang.Integer.parseInt(Integer.java:580)
	at java.lang.Integer.parseInt(Integer.java:615)
	at scala.collection.immutable.StringLike.toInt(StringLike.scala:304)
	at scala.collection.immutable.StringLike.toInt$(StringLike.scala:304)
	at scala.collection.immutable.StringOps.toInt(StringOps.scala:33)
	at org.apache.spark.util.Utils$.parseHostPort(Utils.scala:1126)
	at org.apache.spark.status.ProcessSummaryWrapper.<init>(storeTypes.scala:527)
	at org.apache.spark.status.LiveMiscellaneousProcess.doUpdate(LiveEntity.scala:924)
	at org.apache.spark.status.LiveEntity.write(LiveEntity.scala:50)
	at org.apache.spark.status.AppStatusListener.update(AppStatusListener.scala:1215)
	at org.apache.spark.status.AppStatusListener.onMiscellaneousProcessAdded(AppStatusListener.scala:1429)
	at org.apache.spark.status.AppStatusListener.onOtherEvent(AppStatusListener.scala:113)
	at org.apache.spark.scheduler.SparkListenerBus.doPostEvent(SparkListenerBus.scala:100)
	at org.apache.spark.scheduler.SparkListenerBus.doPostEvent$(SparkListenerBus.scala:28)
	at org.apache.spark.scheduler.AsyncEventQueue.doPostEvent(AsyncEventQueue.scala:37)
	at org.apache.spark.scheduler.AsyncEventQueue.doPostEvent(AsyncEventQueue.scala:37)
	at org.apache.spark.util.ListenerBus.postToAll(ListenerBus.scala:117)
	at org.apache.spark.util.ListenerBus.postToAll$(ListenerBus.scala:101)
	at org.apache.spark.scheduler.AsyncEventQueue.super$postToAll(AsyncEventQueue.scala:105)
	at org.apache.spark.scheduler.AsyncEventQueue.$anonfun$dispatch$1(AsyncEventQueue.scala:105)
	at scala.runtime.java8.JFunction0$mcJ$sp.apply(JFunction0$mcJ$sp.java:23)
	at scala.util.DynamicVariable.withValue(DynamicVariable.scala:62)
	at org.apache.spark.scheduler.AsyncEventQueue.org$apache$spark$scheduler$AsyncEventQueue$$dispatch(AsyncEventQueue.scala:100)
	at org.apache.spark.scheduler.AsyncEventQueue$$anon$2.$anonfun$run$1(AsyncEventQueue.scala:96)
	at org.apache.spark.util.Utils$.tryOrStopSparkContext(Utils.scala:1404)
	at org.apache.spark.scheduler.AsyncEventQueue$$anon$2.run(AsyncEventQueue.scala:96)

I could not reproduce the issue now, seems it is already fixed?

@jayadeep-jayaraman  is this issue already fixed? could you confirm?thx

authors: SurajAralihalli nvliyuan viadea


text:
H2O Sparkling Water initialization action

Adding an initialization action for installing H2O Sparkling Water ML libraries on Dataproc.

/gcbrun

Is there a need for this init action if H20 could be fairly easy installed with pip install?

Hi Igor,
I think its not just the pip install. We need to go in and change a few spark configs too. Like spark.dynamicAllocation.enabled and tune memory and cores etc.
I was following the guide from H2O and it didn't seemed as simple as pip install. Plus there were challenges using anaconda component from dataproc while following the guide.
http://docs.h2o.ai/sparkling-water/2.1/latest-table/doc/deployment/sw_google_cloud_dataproc.html
Cheers,
Yogesh

/gcbrun

/gcbrun

Presubmit failed

======================================================================
ERROR: test_h2o (fastunit.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_h2o
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/fastunit-0.0.1-py3.5.egg/fastunit/loader.py", line 153, in loadTestsFromName
    module = __import__(module_name)
  File "/init-actions/h2o/test_h2o.py", line 9, in <module>
    from integration_tests.dataproc_test_case import DataprocTestCase
  File "/init-actions/integration_tests/dataproc_test_case.py", line 13, in <module>
    from absl import flags
ImportError: No module named 'absl'

----------------------------------------------------------------------
Ran 1 test in 0.003s

FAILED (errors=1)

/gcbrun

/gcbrun

authors: functicons medb yogeshtewari


text:
Provide kuberay-tpu-webhook image in Europe to save on network egress?

My GKE cluster is in europe-west4-b. It'd be great to have an equivalent us-docker.pkg.dev/ai-on-gke/kuberay-tpu-webhook/kuberay-tpu-webhook image in Europe to reduce network egress costs. 🙏

Automatic builds for the Ray webhook are now getting pushed for Europe here: europe-docker.pkg.dev/ai-on-gke/kuberay-tpu-webhook/tpu-webhook. I've tagged the release with the latest changes v1.1.

authors: davidxia ryanaoleary

repo: GoogleCloudPlatform/ai-on-gke


text:
Infinite loop Vulnerability in commons-compress library version being used

The commons-compress library version that is being used (1.24.0) has a vulnerability as reported here: https://security.snyk.io/vuln/SNYK-JAVA-ORGAPACHECOMMONS-6254296
We want to use the https://github.com/google/libphonenumber library in our company but that has a transitive dependency on commons-compress, but due to the vulnerability we are not getting a go ahead from our infosec team. Would appreciate if the version of commons-compress is bumped up to 1.26.0

Checking

https://github.com/GoogleCloudPlatform/appengine-plugins/pull/1014 will address it. Currently blocked by a CI failure.

Thank you for looking into this on priority !

@suztomo Once this change is merged, we will need to uptake the new version of appengine-plugins in https://github.com/GoogleCloudPlatform/appengine-plugins/tree/main/app-maven-plugin and then use the new version of app-maven-plugin in https://github.com/google/libphonenumber

I've never used https://github.com/google/libphonenumber. Where do you see libphonenumber using appengine-plugins? It's very unlikely a Java library has dependency on an appengine plugin.

I've never used https://github.com/google/libphonenumber. Where do you see libphonenumber using appengine-plugins? It's very unlikely a Java library has dependency on an appengine plugin.

@suztomo It's a transitive dependency. libphonenumber has a dependency on app-maven-plugin which in turn has a dependency on appengine-plugins-core that is using the vulnerable version of commons-compress

I need to learn more. Where do you see the transitive dependency?
https://central.sonatype.com/artifact/com.googlecode.libphonenumber/libphonenumber => app-maven-plugin does not appear there.
The repository does not have "app-maven-plugin":
suztomo@suztomo2:~$ git clone https://github.com/google/libphonenumber
Cloning into 'libphonenumber'...
remote: Enumerating objects: 60426, done.
remote: Counting objects: 100% (1186/1186), done.
remote: Compressing objects: 100% (587/587), done.
remote: Total 60426 (delta 521), reused 1064 (delta 471), pack-reused 59240
Receiving objects: 100% (60426/60426), 226.39 MiB | 34.27 MiB/s, done.
Resolving deltas: 100% (34469/34469), done.
suztomo@suztomo2:~$ cd libphonenumber/
suztomo@suztomo2:~/libphonenumber$ grep -ir app-maven-plugin .
suztomo@suztomo2:~/libphonenumber$

Sorry, there was a typo
Check this in libphonenumber pom.xml
      <plugin>
        <groupId>com.google.cloud.tools</groupId>
        <artifactId>appengine-maven-plugin</artifactId>
        <version>2.4.4</version>
        <configuration>
        </configuration>
      </plugin>

Can you give me the URL of the file you're looking at?
https://central.sonatype.com/artifact/com.googlecode.libphonenumber/libphonenumber/overview does not have it.

@suztomo Here is the file: https://github.com/google/libphonenumber/blob/master/java/demo/pom.xml

Thank you. That’s a pom.xml for demonstration on how to use the libphonenumber. It’s irrelevant to the dependencies of libphonenumber.

Thank you. That’s a pom.xml for demonstration on how to use the libphonenumber. It’s irrelevant to the dependencies of libphonenumber.

Right, only the demo module has the dependency that leads to the vulnerable library down the dependency graph. We have added the following depedency in our project which pulls in the dependencies of the demo module as well.
        <dependency>
            <groupId>com.googlecode.libphonenumber</groupId>
            <artifactId>libphonenumber</artifactId>
            <version>8.13.32</version>
        </dependency>

That dependency declaration of <artifactId>libphonenumber</artifactId> does not pull the demo module. You can confirm that via “mvn dependency:tree” and https://central.sonatype.com/artifact/com.googlecode.libphonenumber/libphonenumber/overview .

That dependency declaration of <artifactId>libphonenumber</artifactId> does not pull the demo module. You can confirm that via “mvn dependency:tree” and https://central.sonatype.com/artifact/com.googlecode.libphonenumber/libphonenumber/overview .

This is great news, thank you !

authors: sandeshjkhoros suztomo

repo: GoogleCloudPlatform/appengine-plugins


text:
Don't run scripts when generating a package-lock.json

Currently the npm buildpack has logic to run npm install --package-lock-only --quiet in order to generate a package-lock.json file in projects that don't include one. This command will cause the NPM preinstall / postinstall lifecycle hooks to run, which has a couple problems:

the hooks will be run twice because we run a npm ci later in the build process
the hooks will not be use npx commands that rely on the automatic installation of dependencies (the package-lock-only flag).

There are two options to fix this:

don't run the lifecycle hooks when generating the package-lock: npm install --package-lock-only --quiet --ignore-scripts
skip the package-lock generation all together and use npm install to download dependencies

Do we need to generate a package-lock.json?

authors: briandealwis matthewrobertson

repo: GoogleCloudPlatform/buildpacks


text:
failed to build: (error ID: 14f2a5b3)

executing command "./gradlew clean assemble -x test --build-cache --quiet": fork/exec ./gradlew: permission denied

Hey @pattopilco can you please provide more details? This is not enough information for us to understand your issue (e.g. is this related to buildpacks or a project misconfiguration). The bug template was created to help us understand incoming issues so we can better serve the community.

sounds like you have included the gradle wrapper in the root of your project but the unix file permissions are too strict for the CNB user to execute it. You probably need to run something like chmod a+x ./gradlew

I think this might have been an issue with windows line endings which I fixed in this commit: https://github.com/GoogleCloudPlatform/buildpacks/commit/e48ab7dcd51a873ba11089e6f5f8c774163c99df

authors: jama22 matthewrobertson pattopilco


text:
Semicolon missing in documentation - CI/CD repositories

Hi, I just saw that there is a " missing in the docs. You can find it here:
https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/fast/stages/0-bootstrap#cicd-repositories:~:text=source %3D git%3A%3Ahttps%3A//source.developers.google.com/p/my-project/r/my-repository//%241%3Fref%3Dv1.0"
Instead of:
source = git::https://source.developers.google.com/p/my-project/r/my-repository//$1?ref=v1.0"
It should be:
source = "git::https://source.developers.google.com/p/my-project/r/my-repository//$1?ref=v1.0"
According to your docs we can just open issues for these small fixes instead of opening a PR.
Best

Thanks for flagging this, I just fixed it directly no need for a PR for typos!

authors: ludoo mvCap


text:
Implement support for structured stack traces

PTAL @matthewloring

Fixes #19

@matthewloring ready for another look.

LGTM.

authors: matthewloring ofrobots

repo: GoogleCloudPlatform/cloud-trace-nodejs


text:
Reenable testing against pypy3

A rebase of #428.

Looks like pypy3 is still failing. Any ideas?

Still investigating the error; it is due to the pypy3 virtualenv created with tox which somehow misses an env var. https://travis-ci.org/GoogleCloudPlatform/compute-image-packages/jobs/260053408#L520 errs with the requirements file not found.

Would it be useful to resolve the conflicts and then test with PyPy 6.0?

https://pypy.org/download.html

authors: cclauss illfelder rht


text:
Add publish files for Win8.1 and 10

Adds publish files for Windows 8.1 and 10 21h2.

/assign bkatyl

/assign EricEdens

/lgtm

/lgtm

authors: EricEdens jjerger zmarano

repo: GoogleCloudPlatform/compute-image-tools


text:
how thumbnail images

I see python, java lib support thumbnail images, how can I do that with node
Thanks

Can you point to the stuff in Python / Java that you're referring to?

There is python
https://cloud.google.com/appengine/docs/python/images/

OK Gotcha.
Unfortunately there currently isn't a Google Cloud API for image processing, so this library (which is just a client library that depends on the different cloud services) can't do anything about that :(
Closing out -- sorry to be the bearer of less-than-ideal news !

One more question please.
My node app host on App Engine, If I do thumb image manually by following
download file from Google cloud storage to my app server (host on App Engine)
then generate thumbs , finally upload them back to Google cloud storage

So question is, has any different between above flow and python lib support API for image processing ?

Hm, that might be a question better answered over on StackOverflow -- I think if I tackled it here it might get lost (and it's probably useful for others in the future).

@jgeewax
http://stackoverflow.com/questions/30839820/what-is-different-between-manually-process-image-vs-app-engine-api-support-lib.
need help

authors: jgeewax nvcken

repo: GoogleCloudPlatform/gcloud-node


text:
fix storage acl roles documentation

Using storage (the instance) instead of Storage the class in many places in storage documentation. Also sometimes a storage instance is instantiated in-line and that's a pattern I don't want to emerge, so I've split up:
gcloud.storage().bucket('my-bucket');

into
var storage = gcloud.storage();
storage.bucket('mybucket')

Also, sometimes gcloud.storage.bucket('my-bucket') was used, which is just wrong so I fixed that too.

Cool. Thanks!

authors: ryanseys stephenplusplus


text:
feat(storage): add set_metadata sample

Related to #1707

@tritone @tbpg PTAL.

repo: GoogleCloudPlatform/golang-samples


text:
Remove the agent log label.

This is a lot of extra space to store in logs and will be repalced with a header that does not affect log size.

Thanks Mike!

repo: GoogleCloudPlatform/google-cloud-dotnet


text:
Metadata emulator wait for change support

This also adds support for concurrent requests, which are necessary so one request can update data while another request is hanging waiting for changes.

(Python LGTM received offline from @alex-martelli)

(rebased)


text:
Update log4net docs

Add ASP.NET example
Update configuration options

I think the xml problem is fixed.
But now both appveyor and travis appear to have frozen :(

Nope, still "Tag name log4net_aspnet_template is not found" - do the docs build locally for you?

Meant to say a few days ago...
PTAL :)

LGTM. I'd forgotten the whole resource syntax :)

authors: chrisdunelm jskeet


text:
After upgrading to contrib.go.opencensus.io/exporter/stackdriver traces not shown anymore

Hello again!
Still fighting with stackdriver traces....
After upgrading the stackdriver client, as detailed in #978 , I don't see traces anymore...
Client
google-cloud-go Stackdriver trace client
Describe Your Environment
Google App Engine Flexible, serving golang gin-gonic rest api
Expected Behavior
View app traces in traces view
Actual Behavior
My traces spans are not shown.
I followed all steps specified here: https://cloud.google.com/trace/docs/setup/go
Then,
I initialize stackdriver trace:
package main

import (
        "cloud.google.com/go/logging"
        "context"
        "contrib.go.opencensus.io/exporter/stackdriver"
        "fmt"
        "go.opencensus.io/trace"
)

func main() {
        exporter, err := stackdriver.NewExporter(stackdriver.Options{ProjectID: "my-project", OnError: func(err error) {
                panic(err)
        }})
        if err != nil {
            panic(err)
        }
        defer exporter.Flush()
        trace.RegisterExporter(exporter)

        handler := http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
                _, span := trace.StartSpan(context.Background(), "dummy")
                defer span.End()
                fmt.Printf("Handling request")
        })

        http.Handle("/", handler)

}

My sample handle requests, but I cant see any trace information in https://console.cloud.google.com/traces/traces
I have stackdriver trace api enabled, billing enabled...
With the previous implementation, as specified in the issue #978 I saw the traces, but I had some lost information such as http method, and status code.. anyhow, that packages are deprecated:
"go.opencensus.io/trace"
"go.opencensus.io/exporter/stackdriver"
What am I missing?
Thank all of you for your work and help.
Best regards,
Matías.

Dismiss this! The issue was fixed with this configuration:
trace.ApplyConfig(trace.Config{DefaultSampler: trace.AlwaysSample()})
Here is the doc:

By default, traces will be sampled relatively rarely. To change the sampling frequency for your entire program, call ApplyConfig. Use a ProbabilitySampler to sample a subset of traces, or use AlwaysSample to collect a trace on every run:
trace.ApplyConfig(trace.Config{DefaultSampler: trace.AlwaysSample()})
Thanks,
Matías.

It's me again...
I was really happy when I saw a trace with all details! HTTP method, status code, and several others:

But it was a "rarely sampled span" :(
When I configured it to use sampler "AlwaysSample" or "ProbabilitySampler", the sampled data is much less than the previous one:

Is there any way to control wich data is sampled??? Is it really related to the Config.Sampler used?
I see one detail when the trace is "rarely sampled", it has a root span not created by me:

Best regards,
Matías.

@rakyll @ramonza Any idea where the loss of info is happening? I don't think it's any code in this repo.

In order to get HTTP request details, you need to use ochttp.Handler to wrap your handler. You will not get these details automatically on spans created directly through the trace.StartSpan function.

That was the issue!! Thank you @ramonza !
Regards,
Matías

authors: jba mblasi ramonza

repo: GoogleCloudPlatform/google-cloud-go


text:
Storage: possible data corruption if a HTTP/2 streaming error occurs while an object is changed

See the comment on https://code-review.googlesource.com/c/gocloud/+/25630

Copying the comment from the CL:

There looks like a bug here. The retry calls to reopen() don't include the generation number from the headers of the first response. If a new generation of the object is uploaded between the first call and the retry we'll end up concatenating data from two different generations. I haven't experienced this - I was looking at the code and noticed it.

Actually, if a specific generation number is set, a generation=N query parameter will be the URL of all requests, so that case is OK.
The problem is when you don't specify a generation number. Unfortunately, I don't think GCS returns a generation number in the response. But it does return an Etag header, and we should be able to use that in an If-Match header in subsequent requests.
Reference: https://cloud.google.com/storage/docs/xml-api/get-object-download.

The generation is returned in a header from GCS:
X-Goog-Generation:[123455]
X-Goog-Metageneration:[1]

https://cloud.google.com/storage/docs/xml-api/reference-headers#xgooggeneration

https://code-review.googlesource.com/c/gocloud/+/31950

authors: jadekler jba nomis52