Empty loot stops the bot

Expected Behavior
Walks to a PokeStop,
empty loot,
continue to the next stop or catch nearby pokemon
Actual Behavior
Every time it encounters empty loot, the script stops..
[2016-07-25 23:23:57] [#] Finished walking
[2016-07-25 23:23:57] [#] Arrived at Pokestop
[2016-07-25 23:24:00] [#] Now at Pokestop: Union Square - Spinning...
[2016-07-25 23:24:03] [+] Loot:
[2016-07-25 23:24:03] [#] Nothing found.
Traceback (most recent call last):
File "pokecli.py", line 220, in
main()
File "pokecli.py", line 211, in main
bot.take_step()
File "C:\Users\kevin\PokemonGo-Bot\pokemongo_bot_init_.py", line 36, in take_step
self.stepper.take_step()
File "C:\Users\kevin\PokemonGo-Bot\pokemongo_bot\stepper.py", line 62, in take_step
self._work_at_position(position[0], position[1], position[2], True)
File "C:\Users\kevin\PokemonGo-Bot\pokemongo_bot\stepper.py", line 139, in work_at_position
self.bot.work_on_cell(cell, position, pokemon_only)
File "C:\Users\kevin\PokemonGo-Bot\pokemongo_bot_init.py", line 96, in work_on_cell
hack_chain = worker.work()
File "C:\Users\kevin\PokemonGo-Bot\pokemongo_bot\cell_workers\seen_fort_worker.py", line 110, in work
raise RuntimeError(message)
RuntimeError: Stopped at Pokestop and did not find experience, items or information about the stop cooldown. You are probably softbanned. Try to play on your phone, if pokemons always ran away and you find nothing in PokeStops you are indeed softbanned. Please try again in a few hours.
Steps to Reproduce
Since the location is usually unchanged.
run the script to loot nearby PokeStop and rerun the script within 5 mins.
Loot empty PokeStop will cause this problem.
(the account was not soft banned.)
Other Information
OS: Win 10

I also noticed that yesterday, solution for now was to put my python inside a bat script with a loop.

Is not a bug. You are softban. Too many teleports.

I don't think it's a softban. It's always the same pokestop, and if you restart the script it works again.

It's not a soft banned because I have the same problem and when I retry it's OK...
I don't have exactly, when the system doesn't know the Pokestop I crash :
[2016-07-26 16:20:49] [#] Arrived at Pokestop
[2016-07-26 16:20:52] [#] Now at Pokestop: Unknown - Spinning...
Traceback (most recent call last):
File "pokecliSM.py", line 220, in
main()
File "pokecliSM.py", line 211, in main
bot.take_step()
File "/Users/Mathieu/Documents/Pokemon/PokemonGo-Bot/pokemongo_bot/init.py", line 36, in take_step
self.stepper.take_step()
File "/Users/Mathieu/Documents/Pokemon/PokemonGo-Bot/pokemongo_bot/stepper.py", line 62, in take_step
self._work_at_position(position[0], position[1], position[2], True)
File "/Users/Mathieu/Documents/Pokemon/PokemonGo-Bot/pokemongo_bot/stepper.py", line 139, in _work_at_position
self.bot.work_on_cell(cell, position, pokemon_only)
File "/Users/Mathieu/Documents/Pokemon/PokemonGo-Bot/pokemongo_bot/init.py", line 96, in work_on_cell
hack_chain = worker.work()
File "/Users/Mathieu/Documents/Pokemon/PokemonGo-Bot/pokemongo_bot/cell_workers/seen_fort_worker.py", line 51, in work
if spin_details['result'] == 1:
KeyError: 'result'

Same here
[2016-07-26 11:44:50] [#] Found fort 975805c30dc6403ab07856c607e9e9a9.12 at distance 0.16km
[2016-07-26 11:44:50] [#] Need to move closer to Pokestop
[2016-07-26 11:44:50] [#] Walking from (34.0106044, -118.4989964) to (34.009034, -118.497669) for approx. 52.00 seconds
[2016-07-26 11:47:03] [#] Finished walking
[2016-07-26 11:47:03] [#] Arrived at Pokestop
[2016-07-26 11:47:05] [#] Now at Pokestop: Unknown - Spinning...
Traceback (most recent call last):
  File "pokecli.py", line 222, in <module>
    main()
  File "pokecli.py", line 213, in main
    bot.take_step()
  File "/Users/ayozebarrera/Proyectos/PokemonGo-Bot/pokemongo_bot/__init__.py", line 37, in take_step
    self.stepper.take_step()
  File "/Users/ayozebarrera/Proyectos/PokemonGo-Bot/pokemongo_bot/stepper.py", line 62, in take_step
    self._work_at_position(position[0], position[1], position[2], True)
  File "/Users/ayozebarrera/Proyectos/PokemonGo-Bot/pokemongo_bot/stepper.py", line 139, in _work_at_position
    self.bot.work_on_cell(cell, position, pokemon_only)
  File "/Users/ayozebarrera/Proyectos/PokemonGo-Bot/pokemongo_bot/__init__.py", line 98, in work_on_cell
    hack_chain = worker.work()
  File "/Users/ayozebarrera/Proyectos/PokemonGo-Bot/pokemongo_bot/cell_workers/seen_fort_worker.py", line 51, in work
    if spin_details['result'] == 1:
KeyError: 'result'

OS: OSX
Commit: a011bfef24e927c292fa9a9889408f5fc3a93d48

@rguedes it is not a softban since I can still go to other pokestop and catch pokemons.
If I start the script at the same location, it always happen on exactly same PokeStop.

Same here, it happens at the same pokestop, not with others. I printed spin_details: It's empty in this case. OS: OSX, Commit: 3aca6d798f8a3e173dce0beb7b13c9505cc5b251

Please upgrade to latest dev branch by using this command:
git reset --hard
git pull -f

Then you need to upgrade your deps, you can do so by running this command:
pip install --upgrade -r requirements.txt
If the problem persists ==> open a new issue. Locking this.
/closed


CPU usage and settings overwrite problems when auto upload is enabled.

🐛 Describe the bug
When auto upload is enabled, if you enable and disable Touchbar setting few times without restarting, whole thing goes crazy. CPU usage spikes and I even lost all settings once.
🌴 Visual Studio Code Version : 1.27.2
🌴 Code Settings Sync Version : 1.6.9
🌴 Operating System : macos 10.12.6 sierra
🌴 Occurs On: Upload
🌴 Proxy Enabled: No
🌴 Gist Id: Private
📰 To Reproduce
Steps to reproduce the behavior:

Enable Auto upload
Open settings, New GUI, not the JSON
Search for "touchbar"
click the checkbox, enable disable doesn't matter
It will ask to restart, click cancel.
Repeat 4. and 5. few times, you'll see all hell breaks loose.

💪 Expected behavior
CPU shouldn't spike, It probably shouldn't try to upload the setting, unless I click restart. and it tries to overwrite the settings somehow and lost everything once. IT shouldn't do that either.
📺 Console Error Log
N/A
📺  Additional context
I bit more context here
https://github.com/Microsoft/vscode/issues/58671

Duplicate of #538

#396


🐛 encoding errors

This PR stops trying to display binary file content, there are too many control codes that can mess with a terminal TUI app to make this worth it.
Closes https://github.com/juftin/browsr/issues/12

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


App crashes when opened offline

Describe the bug
App crashes when installing for the first time while offline.
To Reproduce
Steps to reproduce the behavior:

Disable internet/mobile network on the phone
Uninstall the app if already installed
Install the app
Home screen (timetable) with empty list will be displayed
The app crashes after a few seconds

Expected behavior
Should only display the network error SnackBar.

Sounds important functionality to add! Thank you for raising the issue!

I'll try this issue 🙋♂

Oh, I have no idea how to fix it! Thanks


[Question] Push Notification

It is possible to make title and message in notification in 2 or 3 lines?
I should display a long message in notification, for what it shown.

Your problem is fixed with #116, you can use big text for notification;


Addresses #1

I just realized how old this repo is...oh well :P

Oh yeah, it is. But I still appreciate your contribution 👍😄


Update package.json to include the repository

Hi there!
This change adds the repository property to your package.json file(s). Having this available provides a number of benefits to security tooling. For example, it allows for greater trust by checking for signed commits, contributors to a release and validating history with the project. It also allows for comparison between the source code and the published artifact in order to detect attacks on authors during the publication process.
We validate that we're making a PR against the correct repository by comparing the metadata for the published artifact on npmjs.com against the metadata in the package.json file in the repository.
This change is provided by a team at Microsoft -- we're happy to answer any questions you may have. (Members of this team include @s-tuli, @iarna, @v-rr, @v-jiepeng, @v-zhzhou and @v-gjy). If you would prefer that we not make these sorts of PRs to projects you maintain, please just say. If you'd like to learn more about what we're doing here, we've prepared a document talking about both this project and some of our other activities around supply chain security here: microsoft/Secure-Supply-Chain
This PR provides repository metadata for the following packages:

docz
docz-core
docz-rollup
docz-utils
gatsby-theme-docz
rehype-docz
remark-docz
docz-example-basic
babel-plugin-export-metadata
eslint-config-docz-js
eslint-config-docz-ts
load-cfg
react-docgen-actual-name-handler

I see the purpose @v-zhzhou, thank you for bringing this up, we appreciate it!


update tool versions and fix test batch

Current dependencies on/for this PR:

main

PR #24   👈

This comment was auto-generated by Graphite.

Codecov Report

Merging #24 (9fd2e04) into main (31ad0da) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 9fd2e04 differs from pull request most recent head a145d79. Consider uploading reports for the commit a145d79 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff            @@
##              main       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines           16        16
=========================================
  Hits            16        16


update caravel constraints to limit false path for mprj_io

The following false path statement needs to be modified to limit it to the path from the pad to housekeeping (and not the user project wrapper).
set_false_path -from [get_ports mprj_io[*]]
example
set_false_path -from [get_ports mprj_io[*]] -to ...

updated the constraints sdc to add false paths from the pads to housekeeping pins except for housekeeping/mgmt_gpio_in[4] (SCK) and housekeeping/mgmt_gpio_in[2] (SDI)
example:
set_false_path -from [get_ports mprj_io[0]] -through [get_pins housekeeping/mgmt_gpio_in[0]]
set_false_path -from [get_ports mprj_io[*]] -through [get_pins housekeeping/mgmt_gpio_out[*]]
set_false_path -from [get_ports mprj_io[*]] -through [get_pins housekeeping/mgmt_gpio_oeb[*]]

This was edited again later in the design to add/eliminate specific MPRJ paths to the false set.

commit https://github.com/efabless/caravel/pull/250/commits/dfdfea37780edbc8b6de0575caaf43387ac23902


No function to close the connection

Currently there is no function to close the connection with postgres.
Have tried to access the Session object and close it, but didn't work.

Propose adding
vx.disconnect()

and
with vecs.Client(...) as vx:
   ...

for manual and auto-closing options.
Should also add a note in the docs to use the connection pooler connection string rather than direct connection when hosting with supabase


Replace deprecated ExpectedException.none() with Assert.assertThrow

Hi! Is this for every test? I'd like to work on this if you'd assign me to it. Thanks!

Thank you!
I did a quick search and I've found 6 tests:
hibernate-reactive-core/src/test/java/org/hibernate/reactive/IdentityGeneratorTypeForCockroachDBTest.java
hibernate-reactive-core/src/test/java/org/hibernate/reactive/ReactiveMultitenantNoResolverTest.java
hibernate-reactive-core/src/test/java/org/hibernate/reactive/configuration/ReactiveConnectionPoolTest.java
hibernate-reactive-core/src/test/java/org/hibernate/reactive/configuration/JdbcUrlParserTest.java
hibernate-reactive-core/src/test/java/org/hibernate/reactive/DefaultPortTest.java
hibernate-reactive-core/src/test/java/org/hibernate/reactive/ReactiveStatelessProxyUpdateTest.java

It might be more.
Please, make sure to use this code template: https://github.com/hibernate/hibernate-ide-codestyles
The one for Hibernate ORM.
Thanks again

@DavideD I'm having trouble setting up the development environment, is there a guide on this?

We don't have a guide because we haven't had many contributors and it should be possible to import the project without any particular configuration.
I cannot help you  if you don't give some more details: which IDE are you using and what's the issue?

it should be possible to import the project without any particular configuration.

Maybe I'm a bit optimistic about  this. We use Intellij IDEA and it should work in it as long as you import it as a Gradle project.
Not sure about other IDE.

I'm using IntelliJ as well, I was having trouble runnings the tests. Do I
have to install every type of database?
On Wed, Nov 10, 2021, 00:12 DavideD @.***> wrote:

it should be possible to import the project without any particular
configuration.
Maybe I'm a bit optimistic about this. We use Intellij IDEA and it should
work in it as long as you import it as a Gradle project.
Not sure about other IDE.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/hibernate/hibernate-reactive/issues/1058#issuecomment-964356967,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO3JOGJ57H5VKVBEYYFOBB3ULFI6LANCNFSM5HSVPACA
.

I'm using Java 1.8, Gradle 6.9.1, and Docker 20.10.10

By default, it won't start the containers automatically.
You need to set a system property: docker=true
Or you can change the value in this file: https://github.com/hibernate/hibernate-reactive/blob/main/gradle.properties#L25
I've just created an issue to use docker as the default approach: https://github.com/hibernate/hibernate-reactive/issues/1060
Anyway, all the descriptions about starting containers for testing and how to run the tests for each database are in the readme: https://github.com/hibernate/hibernate-reactive#running-tests
Also here you will find the instruction to start the containers using podman/docker (if you want to start the manually): https://github.com/hibernate/hibernate-reactive/blob/main/podman.md
Replace podman with docker (or sudo docker) and it should work

Thanks! It works now, it was my docker that had problems.

Thanks! It works now, it was my docker that had problems.

Great!
That's not unusual and actually why we haven't enabled it as the default profile so far.

@Davide took a crack at this one:  1058 if you wanna have a look tomorrow

Nice.
Now that I look at the changes I'm thinking that maybe we could make the method more generic.
Something like:
	@Test
	public void testWithSessionThrowsExceptionWithoutTenant(TestContext context) {
		test( context, assertThrown( HibernateException.class, getSessionFactory().withSession( this::selectCurrentDB ) )
				.thenAccept( exception -> Assertions.assertThat( exception.getMessage() ).contains( "no tenant identifier" ) ) );
	}

	/**
	 * Assert that the expected exception type is thrown.
	 * If the thrown exception is a {@link CompletionException}, then the cause will be tested.
	 *
	 * @return a {@link CompletionStage} with the expected exception thrown by the stage we were testing.
	 */
	private <T extends Throwable> CompletionStage<T> assertThrown(Class<T> expectedException, CompletionStage<?> stage) {
		return stage
				// Depending on the use case, the real exception could be wrapped in a CompletionException
				.handle( (v, e) -> e instanceof CompletionException ? e.getCause() : e )
				.thenApply( e -> {
					Assertions.assertThat( e ).isInstanceOf( expectedException );
					return (T) e;
				} );
	}

Because it returns the exception after having asserted the type, it's possible to add specific assertions for each test.
WDYT?

It looks pretty clean ... but I don't know if it's generic enough?
Would you want to elevate this method to a generic test class?
That specific class has Mutiny test cases as well as cases with withTransaction, withStatelessTransaction.
Couldn't quite figure out a Mutiny version of it because handle() & thenApply() won't work?
Suggestions?

Would you want to elevate this method to a generic test class?

Sure, that was just a copy and paste of an experiment I made. The idea  is that it will replace the methods you have now in the class you've added (it should also be static).

I haven't tested, but for Mutiny it should be something like:
	static <U extends Throwable> Uni<U> assertThrown(Class<U> expectedException, Uni<?> uni) {
		return uni.onItemOrFailure().transform( ( s, e )  -> {
			Assertions.assertThat( e ).isInstanceOf( expectedException );
			return (U) e;
		});
	}

Merged


How to use habitat-lab with HSSD-hab dataset?

Habitat-Lab and Habitat-Sim versions
Habitat-Lab: v0.2.5
Habitat-Sim: v0.2.5
❓ Questions and Help
Hi, I am trying to run some object-nav episodes with hssd-hab and ai2thor scenes, but it seems that the rendered images (from observation['image']) are not working well. It seems that it only loads the geometries without textures, could you please give me some suggestions, thank you very much.

Hey @wzcai99, we've made significant improvements in rendering over the last few months. If you are using stable orv0.2.5 tags, then you are not getting the best experience. I suggest trying with habitat-sim main or nightly conda build instead.

@aclegg3 Following your suggestion, I got much better rendered images like this.

But it still seems not as realistic as the teasor video in https://github.com/3dlg-hcvc/hssd, is it a trade-off between the render quality and the simulation efficiency or am I doing something wrong in the configuration?

Hey @wzcai99,
You shouldn't expect to match the fidelity from the video in simulation. A couple of reasons:

that video is using a raw un-compressed version of the assets found here.
the video was rendered offline with Blender at a speed which would not support inner-loop RL learning compute constraints.

The hssd-hab version uses compressed assets and a very efficient rendering pipeline to produce images at rates acceptable for onilne ML applications and takes some hits on optics to achieve that.
It does look like you could turn on HBAO to get shadows on top of the quality you are showing in the images here, however.

@aclegg3 Thank you, I got it.


Add welsh button options for welsh pages

This commit gives the option to the publisher to decide to add the welsh text
to the buttons on start page/simple smart answers buttons.
This doesn't solve the existing welsh pages where the buttons have been set in English.

On Publisher app, the radio button to select the button has a english value of "Start now", that's why it's showing in english instead of welsh.
There's a tab for metadata, where people have set the language to be "cy", I would expect this to use the welsh settings.
The frontend application only checks if the text is present in the details hash, if it isn't then there's a default based on the locale?
As seen here: https://github.com/alphagov/frontend/blob/d1788be0587b32781dfd42fa50281c6f422d66cd/app/presenters/transaction_presenter.rb#L45

The workflow on Publisher is to create an artefact first, this takes information such as the language of the artefact, when the language is set to welsh the radio button values should be added in welsh, this is currently not happening.
I suspect this will also need a migration to fix existing pages as all the existing welsh pages will have english buttons.
I'm trying to work on a fix for future pages.

Although this value is set, so there's no fallback into the locales.
https://govuk.zendesk.com/agent/tickets/2430403
Actions before merging

[ ] is the welsh wording correct?

How it looks now

It seems as though this should not be an option for a publisher to select but something happens automatically based on locale?

@andrewgarner @fofr @nickcolley I'm on 2nd line, this probably should go to the product team to find a more robust solution. From what I've seen this app has no locales set in place.
It probably should be best to only show the welsh options if the document is welsh, is can be done by invoking @resource.artefact.language as it has been setup before this page shows up.

This should help:

https://github.com/alphagov/frontend/blob/master/config/locales/en.yml
https://github.com/alphagov/frontend/blob/master/config/locales/cy.yml

@nickcolley I've seen that, unfortunately there's no "Sign in" in welsh

@Davidslv We can add "Mewngofnodi"? https://translate.google.com/#auto/en/Mewngofnodi

@Davidslv are you happy to close this?  @leenagupte and @emmabeynon are picking it up

We've got a fix in here: https://github.com/alphagov/publisher/pull/646

The fix in https://github.com/alphagov/frontend/pull/1296 has been deployed to Production, so I'm closing this PR.
Cheers!


Analyze frameworks supporting PWA

Overview
As a technical lead, I should analyze and choose suitable framework for creating PWA

PWA prototype
The prototype will include but is not limited to following features:

Support for video chat room
Support for localization
Support for Biometric Authentication

Application stack and Libraries

The app FE build on the React JS Framework using create-react-app in a Github environment https://reactjs.org
The current build is using React-Bootstrap (based on Bootstrap) as a UI library https://react-bootstrap.github.io/getting-started/introduction/ and react-suite ttps://rsuitejs.com
The app styling documents are primary written in Sass
The app is component based

Client/Server & Data support

Id assignment gets handled by UUID https://www.npmjs.com/package/uuid
Cross-origin request handling implementation will be handled by Cors package https://www.npmjs.com/package/cors
API calls and data fetching can be achieved with a combination of Axios or fetch()

Helpful links for React development
https://reactjs.org
https://www.reactjstutorials.com/

These are good investigation and analysis, it is possible to go ahead and implement a PWA basing upon such materials.
I would just like to add a few minor things:

Since NextJs is a great framework which provides useful tools for developing React application, it's beneficial to leverage.
When it comes to component library, react-bootstrap and rsuitejs are popular and they both provides almost common components needed. I personally like material design, https://mui.com/ is such a big player. Even there is a limitation, the community version provides components for almost use cases.
Typescript is the most preferred language/sub-type for a lot of projects and teams because it provides excellent tooling. However, the complexity it brings is a concern. I experimented several problems of conflict typescript version, javascript module from various libraries used in consumed project. So I prefer pure JSX which natively supports by React itself.
Regarding to styling, I find CSS Module and Styled Component (Emotion ) are more interesting.

First of all thanks Thang for the valuable input.

I definitely agree we can investigate these options in particular NextJs.
Indeed Material design is a good and well-documented UI library but I found it has its drawbacks when creating a custom UI that stands out due to mainly overhead in code and customizability imo. I would suggest we continue using the mentioned UI libraries at least for the prototype phase.
I think for this phase we can use JSX since Typescript might be resource intensive atm. TS is a win when it comes to development and type checking in larger apps. The downsides might be that not every company we want to target has Typescript developers available.
Good point, Let's incorporate this library. I also feel that after the prototype is done the implementation methods can be totally up to the development team )

I also think the use of NextJs falls in line with my original idea to use a PERN stack if possible. I think code splitting/serving and SEO could be the most usable features from this Library. Additionally, I recommend code splitting to be done during the optimization of the bundle.js

I see no problem using Next.js, as it can ease up React development and give us some necessary features out of the box
MUI seems like a better option for prototyping, as it offers a lot of components we can use out of the box. I would suggest trying it out, and if we notice any serious issue that could hinder future development, revert to bootstrap/rsuitejs
Typescript is a must, as with all IPS projects. There shouldnt be any performance impact, as code is transpiled to Javascript anyways
We could try Emotion for CSS. Again, if it becomes cumbersome to use, we should revert to Sass/Less

Hi @linhnk-ips
Please create feature branch from https://github.com/ips-ag/demo-progressive-web-app and commit your code there.
C/c @uveta to decide how to move Linh's deployed sample https://ips-pwa.vercel.app/


FPDF-Merge Error: Fast Web View mode is not supported

FPDF-Merge Error: Fast Web View mode is not supported
I am getting the above error please suggest

Hi @pnilaveni !
I was struggling with the same issue today. Try using pdftk as suggested in the readme. It got me past the error.
pdftk sample.pdf output sample_fixed.pdf


[feat] support for other aliases in package command

Related to https://github.com/sveltejs/kit/issues/1950
This PR includes support for other aliases besides $lib for the package command. It reads the alias information from kit object in svelte.config.js.
I'm not sure this is the correct approach, open to suggestions and improvements.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[X] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[X] This message body should clearly illustrate what problems it solves.
[X] Ideally, include a test that fails without this PR but passes with it.

Tests

[X] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Awesome! Thanks for this 👌🏼


Robbie branch3

implemented loadLast feature (by clicking get existing) & wrote   tests for  save & load

Looks Good to me!


Map with progress bar

I mostly use Map for various purposes.
As described in the documentation, visulation of progress bar seems to support foldxl.
It would be great if such visualisation is also possible when using e.g. Map.

This already works:
using Logging: global_logger # part of base
using TerminalLoggers: TerminalLogger # The logger that displays the progress log https://c42f.github.io/TerminalLoggers.jl/stable/
using Transducers: Map, withprogress

# set TerminalLogger as your global logger:
global_logger(TerminalLogger())

# your transducer pipeline
data = 1:100
data |> withprogress |>  Map() do x;  sleep(0.01); x end|> collect

This already works:
using Logging: global_logger # part of base
using TerminalLoggers: TerminalLogger # The logger that displays the progress log https://c42f.github.io/TerminalLoggers.jl/stable/
using Transducers: Map, withprogress

# set TerminalLogger as your global logger:
global_logger(TerminalLogger())

# your transducer pipeline
data = 1:100
data |> withprogress |>  Map() do x;  sleep(0.01); x end |> collect

Output:
foldl 100%|█████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| Time: 0:00:02

Thank you @lassepe !
I'm not familiar with loggers, so I wonder if the lines related to logging are mandatory in your example.

@lassepe
If you don't mind, can you explain the mechanism of displaying progress by global_logger(TerminalLogger()) in your example?

Logging is documented in the julia docs. This section explains in greater detail how custom loggers, such as TerminalLogger hook into this machinery.


RichTextLabel meta_hover_start and meta_hover_end don’t work along the margins.

Godot version:

ef05306ca250cc29346e89aedd3e327860f56502
OS/device including version:

Win10 64bit
Issue description:

@willnationsdev Found this feature https://github.com/godotengine/godot/pull/12984, and it is exactly what I need, but I am having issues with it not signaling when the hover exits from the edges when the text is right along a margin.

Steps to reproduce:

Create a RichTextLabel with a URL BBCode tag around text that is along an edge or corner.
Connect meta_hover_start and meta_hover_end signals.
Move control away from the corner of the window.
Run the project and move cursor in and out of the URL tagged text along an edge.

Minimal reproduction project:

3.1 RichTextLabel Meta Hover Issue.zip

workaround is connecting a mouse_exited signal. but yeah. it's technically a bug within rtl

@girng Yeah, luckily that can be done.  Also need to connect a mouse_enter, and use a flag to track the last meta signals.  The state is frozen where it last was when going in or out.
My use case is for creating a tooltip inside of RTLs.


Getting the diff to a reference (HEAD)

Hello again! I am trying to get a diff to the HEAD reference.
However, repo.diff(...) only accepts trees as arguments.
Is this possible with libgit2dart? Thanks!
PS.: It would be very cool to get be able to contact you over gitter for example - or other platforms for small things like this, maybe you could create a room for libgit2dart?

Hey there! What are you trying to get the diff of? With repo.diff() You can compare index and workdir, index and tree, tree and workdir, tree and tree. And each class (Index, Tree, Blob) also have separate diff methods.
And i'm not really big on social media, but you can contact me at<EMAIL_ADDRESS>for small things.

And i'd recommend looking at tests, since it's usually the best place to get the idea of how api works.


release 0.1.4 - multiprocessing

i don't like this multiprocessing,  the subprocess can not auto start and must to disable before_start and after_start.
maybe  we could took some idea from https://github.com/KeepSafe/aiohttp/blob/master/aiohttp/worker.py

@notedit At first I didn't understand what you meant, because I forgot to set those back.  https://github.com/channelcat/sanic/pull/79 should allow them for multiprocessing.


Minor: fix link

Fixes a link that had accidental double parentheses.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot


Update subpackage versions to 7.0.0

I'll probably automate this eventually, but the release process for the subpackages is pretty simple since they're locked to the version of the web app. There's a more detailed version in packages/README.md in this repo, but for now, I'm just updating these version numbers, and then once this is merged, I'll tag the commit for future reference.
Also, for my own future reference, the published packages are available here:

https://www.npmjs.com/package/@mattermost/client
https://www.npmjs.com/package/@mattermost/types

Ticket Link
https://mattermost.atlassian.net/browse/MM-44326
Release Note
NONE

Also, since this is a fairly simple change, I'll probably skip this PR in the future and just push the commit/tags to the release branch directly, assuming that's still possible with however we have the release branches configured here.

Also, since this is a fairly simple change, I'll probably skip this PR in the future and just push the commit/tags to the release branch directly, assuming that's still possible with however we have the release branches configured here.

Thanks alot @hmhealey for keeping us in the look, in future yes skipping may be useful if those are applied to the master branch as well.

/cherry-pick master

Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
From github.com:mattermost/mattermost-webapp
   a8ed51a92..b9a40ca83  MM-44159-v2              -> upstream/MM-44159-v2
   678b78d15..e3489b44c  MM-45056                 -> upstream/MM-45056
   3ebcc246f..00a9cfadf  master                   -> upstream/master
   6b5b37d93..97625bacd  release-7.0              -> upstream/release-7.0
   e076d363f..aee304ee7  release-7.1              -> upstream/release-7.1
 * [new tag]<EMAIL_ADDRESS>-><EMAIL_ADDRESS> * [new tag]<EMAIL_ADDRESS>-><EMAIL_ADDRESS>Fetching origin
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-mattermost-webapp-#10600-upstream-master-1656528012
Switched to a new branch 'automated-cherry-pick-of-mattermost-webapp-#10600-upstream-master-1656528012'
Branch 'automated-cherry-pick-of-mattermost-webapp-#10600-upstream-master-1656528012' set up to track remote branch 'master' from 'upstream'.

+++ About to attempt cherry pick of PR #10600 with merge commit 97625bacd44535cefb465e2117e72b4e5b055e7d.

error: could not apply 97625bacd... Update subpackage versions to 7.0.0 (#10600)
hint: after resolving the conflicts, mark the corrected paths
hint: with 'git add <paths>' or 'git rm <paths>'
hint: and commit the result with 'git commit'

+++ Conflicts detected:

UU package-lock.json
Aborting.

+++ Aborting in-progress git cherry-pick.

+++ Returning you to the master branch and cleaning up.


User no longer has to update spreadsheet timezone

Suggest not initializing TIMEZONE in the global context using SpreadsheetApp. Calling script services that require auth during script initialization can cause some issues (e.g. interferes with onOpen executing for other users if they haven't previously authorized the script.)
Either lazy init or just inline the call to SpreadsheetApp.


Update SinLab Logo URI

Please note: This repository is being rebuilt to accept the new volume of token additions and modifications. PR merges will be delayed.

I agree to not ping anybody on Discord/Twitter/email about this pull request. Instead I will inquire by posting a new comment in the pull request if needed.

PRs are reviewed in bulk and and can take up to two weeks to be merged.
This repository is managed using an auto merge action. Please ensure your PR has no deleted lines, and it will be merged.
Please provide the following information for your token.
Please include change to the src/tokens/solana.tokenlist.json file in the PR.
DON'T modify any other token on the list.
At minimum each entry should have

Token Address:
Token Name:
Token Symbol:
Logo: (logo should be uploaded under assets/mainnet//*.<png/svg>)
Link to the official homepage of token:
Coingecko ID if available (https://www.coingecko.com/api/documentations/v3#/coins/get_coins__id_):

Auto merge requirements
Your pull request will be automatically merged if the following conditions are met:

Your pull request only adds new tokens to the list. Any modification to existing
tokens will require manual review to prevent unwanted modifications.

Your pull request does not touch unrelated code. In particular, reformatting changes to unrelated
code will cause the auto merge to reject your PR.

Any asset files added correspond to the token address you are adding. Asset files
must be PNG, JPG or SVG files.

Your change is valid JSON and conforms to the schema. If your change failed validation,
read the error message carefully and update your PR accordingly.

No other tokens shares the same name, symbol or address.

For example, this change would be rejected due to unrelated changes:

The bot runs every 60 minutes and bulk-merges all open pull requests to prevent conflicts.
This means that you need to wait up to 60 minutes for your pull request to be merged or reprocessed.

I am attempting to update the logo URI for SinLab Token, I have changed the URI to the updated URI as the last URI came bak as broken and does not link to SinLabs Logo

original logo URI: https://github.com/solana-labs/token-list/blob/dc50676181e27aa94f193221b470ac6ab73deaea/assets/mainnet/1C2EYVrwmoXAGbiKirFFBeDFDYUBHPhDeg9trhibTND/logo.png
updated URI: https://raw.githubusercontent.com/RandomHorizon/sinlablogo/main/logo.png
Mainnet asset-Logo.png is correct


init() got an unexpected keyword argument 'tensor_type'

Hello. Thanks for sharing code.
I followed readme but this error occured.
File "/opt/share-vol/ochiroo/QG-Net/OpenNMT-py/onmt/io/IO.py", line 101, in get_fields
postprocessing=make_src, sequential=False)
TypeError: init() got an unexpected keyword argument 'tensor_type'
How can i fix this?

thanks for trying out the code. this sounds to me like a version problem on top of my head; can you share the versions of the required packages you used? i.e., python version, openNMT version etc? thanks!

close due to inactivity


Fold headers don't render ligatures at end of line

VSCode Version: 1.18.0
OS Version: Arch Linux (latest)

Steps to Reproduce:

Use a font with ligatures (like Fira Code) and enable ligatures in settings
Construct a foldable block of code (like a function) with a sequence of characters that make a ligature (such as "->") at the end of the first line
Fold the block and observe the ligature at the end unrendering

Reproduces without extensions: Yes

I can't repro, can you include a text snippet?

@roblourens sure:
def func(): // blah ->
    stuff()
    things()
    something()
    anything()

Clicking the minus to the left of the first line causes the "->" ligature to unrender for me.

I can repro with that one, thanks.

Already fixed via 2217a39b3ee4c1ebf0516a5f52d5561a6825778c


Batch size is determined by calculation of predecessor algorithm

As a Pipeline Builder I want that the HKube will enable to define in run time the number of batch algorithm instances based on calculation of predecessor algorithm (e.g. splitting big file into few smaller files).

TID-12

the test can be found in
https://github.com/kube-HPC/hkube/issues/34


UTF8-BOM encoded content throws an error when executed through powershell

The attached script throws the below error:
Write-Host : The term 'Write-Host' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and
try again.
At line:1 char:1
+ Write-Host "1st line."
+ ~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Write-Host:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

unicode.txt

This is because the script is UTF8-BOM and powershell does not support the raw BOM being passed in to the stdin; it appears to treat the BOM as real characters and as such is then unable to find the first command.


Compatibility fixes and error event

Added:

Error event
Src fallback for error'd images
Check for undefined on entry.isIntersecting (See note 3: https://caniuse.com/#search=intersectionobserver)

Changed:

Default placeholder to empty gif data uri. Fixing multiple potential issues with //:0 (see: https://stackoverflow.com/questions/5775469/whats-the-valid-way-to-include-an-image-with-no-src)
Some refactoring, mostly applying an early out pattern for readability

Hi Guys when are you pulling in this request ...


(supposedly) safe regex from owasp fails?

this regex comes from owasp's validation regexp repository
> var safe = require('safe-regex')
undefined
> safe('^\d{5}(-\d{4})?$')
false

i don't understand the math behind this module so i can't say for sure what's going on. is this a false positive or should i ping owasp to update their site?

This module ensures that the star height is 1, which should all be guaranteed to be safe. There are safe regexes with greater star height, but I don't know how to reliably determine which are safe and which are unsafe.

ok thanks!


refactored cd tutorials

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[ ] Issue
[ ] Feature
[x] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

@schoudhury looks really good. I like the model, really condense down and helps user on the journey.
I do want to condense the CI one down a little more to follow this: https://github.com/ravilach/developer-hub/pull/1.
IMO this is fine to merge.

CC @wei-harness we can implement small landing pages such as : https://642b71d7f8883329cd63ce5e--harness-developer.netlify.app/tutorials/deploy-services/kubernetes/


feat: Login page changes made

I have changed the login page background colour in both light and dark modes and also provided for margin form top.

@narayan954 I am encountering this error while pushing
Could you please help?

@narayan954 I am encountering this error while pushing
Could you please help?

as you read in the error, you need to pull first before pushing :) ... so try git pull command first then you can git push.... It's also written in the terminal

@narayan954 I am encountering this error while pushing
Could you please help?

as you read in the error hint, you need to pull first before pushing :) ... so try git pull command first then you can git push.... It's also written in the terminal as hint

This error while pushing was never encountered before

@narayan954 I am encountering this error while pushing
Could you please help?

as you read in the error hint, you need to pull first before pushing :) ... so try git pull command first then you can git push.... It's also written in the terminal as hint

This error while pushing was never encountered before

you're updating wrong branch perhaps, you're working on other branch... try git pull only else git pull origin branch name

@narayan954 I am encountering this error while pushing
Could you please help?

as you read in the error hint, you need to pull first before pushing :) ... so try git pull command first then you can git push.... It's also written in the terminal as hint

This error while pushing was never encountered before

it's because, I've pushed a change in your branch and your current local is behind the remote. You need to sync with your remote first :)

@narayan954 I am encountering this error while pushing
Could you please help?

as you read in the error hint, you need to pull first before pushing :) ... so try git pull command first then you can git push.... It's also written in the terminal as hint

This error while pushing was never encountered before

it's because, I've pushed a change in your branch and your current local is behind the remote. You need to sync with your remote first :)

So sorry for the inconvinience but I have even pulled and merged but still it is showing the same error

@narayan954 I am encountering this error while pushing
Could you please help?

as you read in the error hint, you need to pull first before pushing :) ... so try git pull command first then you can git push.... It's also written in the terminal as hint

This error while pushing was never encountered before

it's because, I've pushed a change in your branch and your current local is behind the remote. You need to sync with your remote first :)

So sorry for the inconvinience but I have even pulled and merged but still it is showing the same error

it's alright, try each of these command I am telling below:
git pull it pulls to the current branch by default, so it might work for you, if it doesn't, try
git pull origin log , this will pull from origin to your log branch, if that shows error try git pull origin/log log.
As a final resort, do git push -f this will ignore all warnings and push

If none of those work, let me know, I'll revert the commits I made, and then you'll be able to work normally :)

If none of those work, let me know, I'll revert the commits I made, and then you'll be able to work normally :)
Ps: But no, you should know how to fix this error, contact in discord if the issue persists

Could you check if the changes are made

If none of those work, let me know, I'll revert the commits I made, and then you'll be able to work normally :)
Ps: But no, you should know how to fix this error, contact in discord if the issue persists

Could you check if the changes are made

yes, your commits are reflected now!

But your changes are lost, perhaps you deleted the changes?

only one line looks changed now :/

I have made my final commits. Hope this time the changes are being reflected

I have made my final commits. Hope this time the changes are being reflected

awesome, they look great!

thanks for your contribution! and do mention your issue, so I can add relevant labels

Closing #984

And thankyou so much for providing the guidance and  help on the spot :)

Label please?

Label please?

right I forgot, sorry


FFMpeg override

On Raspberry Pi, FFMPEG can provide hardware acceleration through the use of --enable-omx and --enable-omx-rpi compile-time switches.
It would make sense for meta-raspberrypi to override the recipe in oe-core to add these compile-time switches to FFMPEG.

It’s better to write bbappends to express these
In this layer itself and apply the package config using ‘rpi’ overrides

I subscribe to what @kraj said. I'm also OK with adding them in the BSP layer as long as you feel like pushing and testing a PR.

I have a working bbappend for this, however it breaks because for some reason the openmax libraries are in /usr/lib/ rather than the expected /opt/vc/lib/ - any clue why this might be?

thats normal for this libs to be in /usr/lib so make it look into standard paths.

But it's not normal for raspberry pi - userland libraries are expected to be under /opt/vc/lib, and I believe it's hardcoded in ffmpeg!

Yep... https://gyazo.com/74b7141b4d088c6ee0b4c136d3f1fc27

Right you need to patch ffmpeg

But every single other OS which implements the raspberry pi userland puts these libraries in /opt/vc/lib. And actually,  having these libraries in /usr/lib breaks the omx samples too.

@TomMettam Any updates on this?

@agherzan I recommend we close this due to lack of follow-up.


Unable to see multiple plan outputs

Describe the bug
If i have multiple plan outputs it doesn't show in the tab. It says nothing. If i only have 1 workspace output it works as designed.
To Reproduce
Have multiple tasks that produce a 'publishPlanResult' with different names and no output will be shown.
Expected behavior
Some sort of dropdown all collection of all changes under the Plan Output Tab
Screenshots

Is empty when using things like:
  - ${{ each tfWorkspaceName in parameters.workspaceList }}:
    - task: TerraformCLI@0
      displayName: "Terraform Plan"
      allowTelemetryCollection: false
      inputs:
        backendType: 'azurerm'
        command: 'plan'
        environmentServiceNameAzureRM: $(subscriptionName)
        publishPlanResults: ${{ tfWorkspaceName }}
      env:
        TF_WORKSPACE: ${{ tfWorkspaceName }}

Pipeline Logs
No output no logs :)
Agent Configuration
Latest configs used, latest az cli etc. Default :)
Additional context
Might be that this just is not supported, or there needs to be a way to get the terraform output in seperate pages somehow?

to solve this I think you need to give each plan a unique name.   Can you tack on -<some_random_var> to the end of the plan name.  I am assuming the tfWorkspaceName is unique in this case?  So this should work as you have it?  hmm...

Could you solve the issue? If yes, how did you configure the task?
@jmyers82: -<some_random_var> is not known to tf.

@raman-nbg, i have yet find the time since i am in the middle of another rewrite. But what he means is to add something random to the plan in the pipeline. Presume he means below as example.
- task: TerraformCLI@0
  displayName: "Terraform Plan" <- unique name
  inputs:
    provider: 'azurerm'
    command: 'plan'
    workingDirectory: '../terraform' # by default we are in the /s folder.
    environmentServiceNameAzureRM: '${{ parameters.environment.resourceGroupName }}'

This will be resolved with #339


Test-PodeTaskCompleted always returns false?

I am running an async task from one endpoint and getting the status using another endpoint which uses the task name. I want to return the results from the async task when it's finished but Test-PodeTaskCompleted always seems to return false,even when the asynce task scriptblock is finished?

This is similar to an issue just raised (#1249), the underlying cause is that Get-PodeTask returns the base task definition created by Add-PodeTask, and not a processing task object like Invoke-PodeTask returns.
(linked to #1037)

In 2.11.0 they'll be a new Get-PodeTaskProcess (via #1393) which will enable the retrieving of Task processes which can be used by Test-PodeTaskCompleted.


Panel toggle also toggles file tree view.

This looks like it is going to be a great package that will cover many tree views in a very adaptable way. Happy to use it and help you debug (at least in Latex, Markdown).
One issue for now is that if I use the Navigation pane: toggle
then it toggles the file tree view on and off as well, which is a bit undesirable. Would probably be better to have the pane to the right and in its own split not shared with the file tree.
If this is going to be useful beyond the heading tree viewers that already exist for Latex, Markdown and others you are going to need to allow easy user customization of the Regex (for example I might use non-standard redrafted names for LaTex headers, or want to show various other markups within the text in the structure. I might not want to show structured headers at all, and to use it as a flexible bookmarking system, or to show TODO flags.

hi @aubreyz,
I am proud that you are using this package :)
in the package settings, you can select a default side for the navigation pane -- left or right. I was thinking about the problem of the hiding tree-view, but so far I have no idea how to solve it (except for changing the position of pane to the right). I will consider to change default side to the right.
in .tex files, the special markup can be used as <text.1>%$%<text.2>, <text.1>%$$%<text.2> etc. Few days ago i have changed that \part{<text>} is equal to level 4, so \part{<text>} is equal to %$$$$% <text> so it partially resolve your issue. i have introduce also a toc name to appear instead of section text, if exists e.g. \section[title]{title is too long to show in toc} show as title toc.
in the near future I will introduce an option to set a custom name for chapter commands and options for automatic name extraction based on parentheses of type {<text>}. that should satisfy your requests.
best regards

offtop @aubreyz
you can also look at my another package bib-finder. it does a good job of supplementing the search for citation items.
https://github.com/bacadra/atom-bib-finder

custom commands for latex are introduced in v0.2.18. please see this functionality and write if you like it :)
best regards, sb

This sounds great. Am away from my computer for the next 2 weeks and will certainly get back to this then.


UX / UI  Institution Location- Student Application SUMMARY Page

As an Institution user I want to see a summary of student applications so that I can confirm enrollment and perform other administrative tasks (withdrawals and scholastic standing)
Additional details:
Students who are no longer active are not shown in the system
Name change: Applications vs Students?
Acceptance Criteria

[x] See a summary of all students with active (study period) applications at the location
[x] Display: Name, Program, Application number, Period (Start/End), Status
[x] Confirm fields with Confluence

Figma Link:


Uncaught SyntaxError: Unexpected token S in JSON at position 0

[Enter steps to reproduce:]

...
...

Atom: 1.23.3 x64
Electron: 1.6.15
OS: Mac OS X 10.13.2
Thrown From: atom-latex package 0.8.4
Stack Trace
Uncaught SyntaxError: Unexpected token S in JSON at position 0
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html:1

SyntaxError: Unexpected token S in JSON at position 0
    at JSON.parse (<anonymous>)
    at Viewer.module.exports.Viewer.wsHandler (/packages/atom-latex/lib/viewer.coffee:18:17)
    at /packages/atom-latex/lib/server.coffee:23:47)
    at emitOne (events.js:96:13)
    at WebSocket.emit (events.js:188:7)
    at Receiver._receiver.onmessage (/packages/atom-latex/node_modules/ws/lib/WebSocket.js:141:47)
    at Receiver.dataMessage (/packages/atom-latex/node_modules/ws/lib/Receiver.js:389:14)
    at Receiver.getData (/packages/atom-latex/node_modules/ws/lib/Receiver.js:330:12)
    at Receiver.startLoop (/packages/atom-latex/node_modules/ws/lib/Receiver.js:165:16)
    at Receiver.add (/packages/atom-latex/node_modules/ws/lib/Receiver.js:139:10)
    at Socket._ultron.on (/packages/atom-latex/node_modules/ws/lib/WebSocket.js:138:22)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at TCP.onread (net.js:551:20)

Commands
  6x -0:56.3.0 core:move-right (input.hidden-input)
     -0:55.2.0 core:move-down (input.hidden-input)
     -0:54.7.0 core:move-up (input.hidden-input)
 17x -0:54.3.0 core:move-right (input.hidden-input)
     -0:51.8.0 core:backspace (input.hidden-input)
 74x -0:51.3.0 core:move-right (input.hidden-input)
     -0:43.8.0 core:backspace (input.hidden-input)
  7x -0:42.9.0 core:move-right (input.hidden-input)
     -0:40.7.0 core:move-down (input.hidden-input)
 11x -0:40.4.0 core:move-right (input.hidden-input)
     -0:32.8.0 core:backspace (input.hidden-input)
 25x -0:31.9.0 core:move-right (input.hidden-input)
     -0:28.1.0 core:backspace (input.hidden-input)
     -0:27.6.0 editor:move-to-end-of-screen-line (input.hidden-input)
     -0:26.8.0 core:backspace (input.hidden-input)
     -0:26.2.0 core:save (input.hidden-input)

Non-Core Packages
atom-clock 0.1.16
atom-html-preview 0.2.5
atom-latex 0.8.4
auto-detect-indentation 1.3.0
autocomplete-bibtex 1.2.0
busy-signal 1.4.3
city-lights-syntax 1.1.6
city-lights-ui 1.3.1
custom-folds 1.9.5
file-icons 2.1.16
fizzy 0.21.0
fizzy-syntax-theme 0.9.0
flatwhite-syntax 0.8.1
fonts 3.0.3
highlight-selected 0.13.1
indent-detective 0.2.0
ink 0.8.2
intentions 1.1.5
julia-client 0.6.8
language-julia 0.15.0
language-latex 1.1.1
latex 0.49.0
latex-completions 0.3.3
latextools 0.8.5
linter 2.2.0
linter-ui-default 1.6.10
minimap 4.29.7
minimap-highlight-selected 4.6.1
monokai-slate 0.6.0
pdf-view 0.65.0
script 3.17.3
split-diff 1.5.2
teletype 0.7.0
tool-bar 1.1.4
uber-juno 0.1.2
wordcount 2.10.4

Any information on how to reproduce this error?

Sorry, for not providing more information. It is reproducible. Every time I compile a latex document (via atom-latex using command-s) will lead to this error.

Since I can't debug - could I request you to?

Open your Atom-LaTeX code ( Settings -> Packages -> Atom LaTeX -> Settings -> View Code)
Add  console.log(msg)  right before the data = JSON.parse msg line in viewer.coffee
Restart Atom (ctrlshiftf5)
Open the debug console (ctrlshifti)

let me know what msg looks like?

View -> Developer -> Toggle Developer Tools

Is this what you are looking for? Thanks!
No deserializer found for http://<IP_ADDRESS>:57248/viewer.html?file=preview.pdf
deserialize @ :21133
:121025 IntersectionObserver.observe(target): target element is not a descendant of root.
TreeView @ :121025
latextools.coffee [sm]:304 requiring if needed: snippet-manager
snippet-manager.coffee [sm]:10 Created SnippetManager
snippet-manager.coffee [sm]:13 Set snippet service
snippet-manager.coffee [sm]:14 Object
index.html:1 WebSocket connection to 'wss://ws-mt1.pusher.com/app/f119821248b7429bece3?protocol=7&client=js&version=4.2.2&flash=false' failed: WebSocket is closed before the connection is established.
/Users/mcchung/.atom/packages/teletype/lib/teletype-package.js:42 teletype: Using pusher key: f119821248b7429bece3
/Users/mcchung/.atom/packages/teletype/lib/teletype-package.js:43 teletype: Using base URL: https://api.teletype.atom.io
:1037 EACCES: permission denied, symlink '/Applications/Atom.app/Contents/Resources/app/atom.sh' -> '/usr/local/bin/atom'
(anonymous) @ :1037
:1042 EACCES: permission denied, symlink '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm' -> '/usr/local/bin/apm'
(anonymous) @ :1042
viewer.coffee [sm]:128 The provided value 'moz-chunked-arraybuffer' is not a valid enum value of type XMLHttpRequestResponseType.
viewer.coffee [sm]:18 {"type":"open","path":"preview.pdf"}
viewer.coffee [sm]:18 {"type":"loaded"}
viewer.coffee [sm]:128 PDF 7e8a4a715c47881fc3ae1b1300ec601d [1.5 pdfTeX-1.40.18 / LaTeX with Beamer class] (PDF.js: 1.9.426 [WebGL])
2viewer.coffee [sm]:128 [.Offscreen-For-WebGL-0x7fefa9841000]GL ERROR :GL_INVALID_OPERATION : glUniform4fv: wrong uniform function for type
viewer.coffee [sm]:128 [.Offscreen-For-WebGL-0x7fefa891e600]GL ERROR :GL_INVALID_OPERATION : glUniform4fv: wrong uniform function for type
viewer.coffee [sm]:128 [.Offscreen-For-WebGL-0x7fefa896ae00]GL ERROR :GL_INVALID_OPERATION : glUniform4fv: wrong uniform function for type
viewer.coffee [sm]:128 [.Offscreen-For-WebGL-0x7fefa90f0200]GL ERROR :GL_INVALID_OPERATION : glUniform4fv: wrong uniform function for type
2viewer.coffee [sm]:128 [.Offscreen-For-WebGL-0x7fefa90c6800]GL ERROR :GL_INVALID_OPERATION : glUniform4fv: wrong uniform function for type
viewer.coffee [sm]:128 [.Offscreen-For-WebGL-0x7fefa80d1e00]GL ERROR :GL_INVALID_OPERATION : glUniform4fv: wrong uniform function for type
viewer.coffee [sm]:128 [.Offscreen-For-WebGL-0x7fefa90e2400]GL ERROR :GL_INVALID_OPERATION : glUniform4fv: wrong uniform function for type
viewer.coffee [sm]:128 [.Offscreen-For-WebGL-0x7fefa992dc00]GL ERROR :GL_INVALID_OPERATION : glUniform4fv: wrong uniform function for type
viewer.coffee [sm]:128 [.Offscreen-For-WebGL-0x7fefa818e800]GL ERROR :GL_INVALID_OPERATION : glUniform4fv: wrong uniform function for type

Interesting - would you be able to share the (minimal) source files that leads to this error?

Weird, while trying to set up a minimal example with reproducible error, I now cannot reproduce the error at all.

On Feb 12, 2018, at 9:36 AM, Ash<EMAIL_ADDRESS>wrote:
Interesting - would you be able to share the (minimal) source files that leads to this error?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/James-Yu/Atom-LaTeX/issues/139#issuecomment-364940731, or mute the thread https://github.com/notifications/unsubscribe-auth/ARFV0j-I-EJbRue9-86I8D_QmpE7ilanks5tUEx-gaJpZM4SA4mz.

This is with WebGL enabled or disabled?

How do I find that out? I essentially didn’t make any “conscious” changes. Thanks for the help.

On Feb 13, 2018, at 4:41 AM, Ash<EMAIL_ADDRESS>wrote:
This is with WebGL enabled or disabled?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/James-Yu/Atom-LaTeX/issues/139#issuecomment-365208191, or mute the thread https://github.com/notifications/unsubscribe-auth/ARFV0tBt8vJYAuWUf22GUbj_w2DYeGBAks5tUVjSgaJpZM4SA4mz.

Then it's enabled - you can counter check by looking at the developer console - you should see a line like PDF 7e8a4a715c47881fc3ae1b1300ec601d [1.5 pdfTeX-1.40.18 / LaTeX with Beamer class] (PDF.js: 1.9.426 [WebGL])
I could imagine that the document you were compiling had some figures that WebGL had issues rendering - leading to this error. But we can't confirm this without a MWE :-(

PDF 9c79d33407a45216c8831d52182e14de [1.5 pdfTeX-1.40.18 / LaTeX with Beamer class] (PDF.js: 1.9.426 [WebGL])
Interesting… I am not aware that I changed any involved figure.  I will post if I see this error occurring again. Thanks a lot…

On Feb 13, 2018, at 4:46 AM, Ash<EMAIL_ADDRESS>wrote:
Then it's enabled - you can counter check by looking at the developer console - you should see a line like PDF 7e8a4a715c47881fc3ae1b1300ec601d [1.5 pdfTeX-1.40.18 / LaTeX with Beamer class] (PDF.js: 1.9.426 [WebGL])
I could imagine that the document you were compiling had some figures that WebGL had issues rendering - leading to this error. But we can't confirm this without a MWE :-(
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/James-Yu/Atom-LaTeX/issues/139#issuecomment-365209587, or mute the thread https://github.com/notifications/unsubscribe-auth/ARFV0sar9-b8K_ShfWYsClyui8J5lM--ks5tUVoAgaJpZM4SA4mz.

Okay, now I can reproduce the error! Just the simple document below will produce the error.:
\documentclass[12pt]{article}
\begin{document} Test \end{document}
However, it starts with synchronizing back from the pdf (in the atom-pdf viewer) to the latex file. It first throws back the error below followed by the described error. I hope that helps to pinpoint the error.
[Enter steps to reproduce:]

...
...

Atom: 1.23.3 x64
Electron: 1.6.15
OS: Mac OS X 10.13.2
Thrown From: atom-latex package 0.8.4
Stack Trace
Uncaught SyntaxError: Unexpected token  in JSON at position 0
At file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.html:1

SyntaxError: Unexpected token  in JSON at position 0
    at JSON.parse (<anonymous>)
    at Viewer.module.exports.Viewer.wsHandler (/packages/atom-latex/lib/viewer.coffee:19:17)
    at /packages/atom-latex/lib/server.coffee:23:47)
    at emitOne (events.js:96:13)
    at WebSocket.emit (events.js:188:7)
    at Receiver._receiver.onmessage (/packages/atom-latex/node_modules/ws/lib/WebSocket.js:141:47)
    at Receiver.dataMessage (/packages/atom-latex/node_modules/ws/lib/Receiver.js:389:14)
    at Receiver.getData (/packages/atom-latex/node_modules/ws/lib/Receiver.js:330:12)
    at Receiver.startLoop (/packages/atom-latex/node_modules/ws/lib/Receiver.js:165:16)
    at Receiver.add (/packages/atom-latex/node_modules/ws/lib/Receiver.js:139:10)
    at Socket._ultron.on (/packages/atom-latex/node_modules/ws/lib/WebSocket.js:138:22)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at TCP.onread (net.js:551:20)

Commands
  2x -4:09.0 core:save (input.hidden-input)
  9x -2:13 core:backspace (input.hidden-input)
     -1:57 editor:select-to-first-character-of-line (input.hidden-input)
  2x -1:56.6.0 core:backspace (input.hidden-input)
     -1:55.7.0 core:save (input.hidden-input)
     -1:46.2.0 editor:move-to-first-character-of-line (input.hidden-input)
  2x -1:45.8.0 core:backspace (input.hidden-input)
     -1:44.5.0 core:move-down (input.hidden-input)
     -1:44.1.0 editor:move-to-first-character-of-line (input.hidden-input)
     -1:43.8.0 core:backspace (input.hidden-input)
  5x -1:42 core:move-left (input.hidden-input)
     -1:40.3.0 core:move-up (input.hidden-input)
     -1:35.8.0 core:copy (input.hidden-input)

Non-Core Packages
atom-clock 0.1.16
atom-html-preview 0.2.5
atom-latex 0.8.4
auto-detect-indentation 1.3.0
autocomplete-bibtex 1.2.0
busy-signal 1.4.3
city-lights-syntax 1.1.6
city-lights-ui 1.3.1
custom-folds 1.9.5
file-icons 2.1.16
fizzy 0.21.0
fizzy-syntax-theme 0.9.0
flatwhite-syntax 0.8.1
fonts 3.0.3
highlight-selected 0.13.1
indent-detective 0.2.0
ink 0.8.2
intentions 1.1.5
julia-client 0.6.8
language-julia 0.15.0
language-latex 1.1.1
latex 0.49.0
latex-completions 0.3.3
latextools 0.8.5
linter 2.2.0
linter-ui-default 1.6.10
minimap 4.29.7
minimap-highlight-selected 4.6.1
monokai-slate 0.6.0
pdf-view 0.65.0
script 3.17.3
split-diff 1.5.2
teletype 0.7.0
tool-bar 1.1.6
uber-juno 0.1.2
wordcount 2.10.4

What exactly do you mean by 'However, it starts with synchronizing back from the pdf (in the atom-pdf viewer) to the latex file.'?
Also, can you post whats on the debug console when this happens? (you should still have the console.log msg line right? :-)

The console log message, which I receive when I try to sync from the pdf to the latex document (by this I mean double click on the pdf document to find the corresponding text position in the latex document. I think this uses \usepackage(pdfsync}) is below. After this happens, any time compiling will lead to the described error. Thanks.
Uncaught TypeError: Cannot read property 'file' of undefined
at Manager.module.exports.Manager.findMainSelfMagic (/Users/mcchung/.atom/packages/atom-latex/lib/manager.coffee:111:5)
at Manager.module.exports.Manager.findMainSequence (/Users/mcchung/.atom/packages/atom-latex/lib/manager.coffee:88:21)
at Manager.module.exports.Manager.findMain (/Users/mcchung/.atom/packages/atom-latex/lib/manager.coffee:54:15)
at Manager.module.exports.Manager.findPDF (/Users/mcchung/.atom/packages/atom-latex/lib/manager.coffee:145:10)
at Locator.module.exports.Locator.locate (/Users/mcchung/.atom/packages/atom-latex/lib/locator.coffee:54:31)
at Viewer.module.exports.Viewer.wsHandler (/Users/mcchung/.atom/packages/atom-latex/lib/viewer.coffee:48:37)
at WebSocket. (/Users/mcchung/.atom/packages/atom-latex/lib/server.coffee:23:47)
at emitOne (events.js:96:13)
at WebSocket.emit (events.js:188:7)
at Receiver._receiver.onmessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:141:47)
at Receiver.dataMessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:389:14)
at Receiver.getData (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:330:12)
at Receiver.startLoop (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:165:16)
at Receiver.add (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:139:10)
at Socket._ultron.on (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:138:22)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at readableAddChunk (_stream_readable.js:176:18)
at Socket.Readable.push (_stream_readable.js:134:10)
at TCP.onread (net.js:551:20)

Hmm, any reason you don't use SyncTeX? AFAIK, pdfsync is an obsolete package.

I use synctex and abandoned pdfsync, however, the error persists.

@matthiaschung Lets try and fix this once in for all ;-)
I. Repeat steps from previous comment if not already there:
1a. Open your Atom-LaTeX code ( Settings -> Packages -> Atom LaTeX -> Settings -> View Code)
2a. Add  console.log(msg)  right before the data = JSON.parse msg line in viewer.coffee
3a. Restart Atom (ctrlshiftf5)
4a. Open the debug console (ctrlshifti)
II. Copy paste from the debug console the message you see! (not the stack trace as in the comments above)
III. Try running the synctex command from the console to rule out errors from there.
`
III. Provide me a small MWE if possible that causes this message?

Okay, I followed the instruction to the best of my knowledge.
Below the log I see. I ran pdflatex with synctex from the terminal and that works fine. Atom does generate the pdf file but throws back the error.
This is what I see after starting:
:21133 No deserializer found for http://<IP_ADDRESS>:54423/viewer.html?file=preview.pdf
deserialize @ :21133
:121025 IntersectionObserver.observe(target): target element is not a descendant of root.
TreeView @ :121025
:1037 EACCES: permission denied, symlink '/Applications/Atom.app/Contents/Resources/app/atom.sh' -> '/usr/local/bin/atom'
(anonymous) @ :1037
:1042 EACCES: permission denied, symlink '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm' -> '/usr/local/bin/apm’
This is the output of the errors:
manager.coffee [sm]:111 Uncaught TypeError: Cannot read property 'file' of undefined
at Manager.module.exports.Manager.findMainSelfMagic (manager.coffee [sm]:70)
at Manager.module.exports.Manager.findMainSequence (manager.coffee [sm]:54)
at Manager.module.exports.Manager.findMain (manager.coffee [sm]:30)
at Manager.module.exports.Manager.findPDF (manager.coffee [sm]:90)
at Locator.module.exports.Locator.locate (locator.coffee [sm]:40)
at Viewer.module.exports.Viewer.wsHandler (viewer.coffee [sm]:17)
at WebSocket. (server.coffee [sm]:12)
at emitOne (events.js:96)
at WebSocket.emit (events.js:188)
at Receiver._receiver.onmessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:141)
at Receiver.dataMessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:389)
at Receiver.getData (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:330)
at Receiver.startLoop (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:165)
at Receiver.add (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:139)
at Socket._ultron.on (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:138)
at emitOne (events.js:96)
at Socket.emit (events.js:188)
at readableAddChunk (_stream_readable.js:176)
at Socket.Readable.push (_stream_readable.js:134)
at TCP.onread (net.js:551)
module.exports.Manager.findMainSelfMagic @ manager.coffee [sm]:111
module.exports.Manager.findMainSequence @ manager.coffee [sm]:88
module.exports.Manager.findMain @ manager.coffee [sm]:54
module.exports.Manager.findPDF @ manager.coffee [sm]:145
module.exports.Locator.locate @ locator.coffee [sm]:54
module.exports.Viewer.wsHandler @ viewer.coffee [sm]:30
(anonymous) @ server.coffee [sm]:23
emitOne @ events.js:96
emit @ events.js:188
_receiver.onmessage @ /Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:141
dataMessage @ /Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:389
getData @ /Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:330
startLoop @ /Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:165
add @ /Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:139
_ultron.on @ /Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:138
emitOne @ events.js:96
emit @ events.js:188
readableAddChunk @ _stream_readable.js:176
Readable.push @ _stream_readable.js:134
onread @ net.js:551
viewer.coffee [sm]:18 ��hi��K����J
����J���K����Կ
ųDK��K��YY��XX��XQ��^\��Q_��_G��[\��[��QQ��^4����
VM2230:1 Uncaught SyntaxError: Unexpected token � in JSON at position 0
at JSON.parse ()
at Viewer.module.exports.Viewer.wsHandler (viewer.coffee [sm]:9)
at WebSocket. (server.coffee [sm]:12)
at emitOne (events.js:96)
at WebSocket.emit (events.js:188)
at Receiver._receiver.onmessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:141)
at Receiver.dataMessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:389)
at Receiver.getData (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:330)
at Receiver.startLoop (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:165)
at Receiver.add (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:139)
at Socket._ultron.on (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:138)
at emitOne (events.js:96)
at Socket.emit (events.js:188)
at readableAddChunk (_stream_readable.js:176)
at Socket.Readable.push (_stream_readable.js:134)
at TCP.onread (net.js:551)
I hope that helps.

On Feb 19, 2018, at 3:07 PM, Ash<EMAIL_ADDRESS>wrote:
@matthiaschung https://github.com/matthiaschung Lets try and fix this once in for all ;-)
I. Repeat steps from previous comment if not already there:
1a. Open your Atom-LaTeX code ( Settings -> Packages -> Atom LaTeX -> Settings -> View Code)
2a. Add console.log(msg) right before the data = JSON.parse msg line in viewer.coffee https://github.com/James-Yu/Atom-LaTeX/blob/master/lib/viewer.coffee#L18
3a. Restart Atom (ctrlshiftf5)
4a. Open the debug console (ctrlshifti)
II. Copy paste from the debug console the message you see! (not the stack trace as in the comments above)
III. Try running the synctex command from the console to rule out errors from there.
`
III. Provide me a small MWE if possible that causes this message?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/James-Yu/Atom-LaTeX/issues/139#issuecomment-366791568, or mute the thread https://github.com/notifications/unsubscribe-auth/ARFV0mLFrqRo9FCwy0dKVHSgorcJl2_qks5tWdSWgaJpZM4SA4mz.

Hmm, the can't file find of errors can be negated for now by launching the 'Build Latex' while activating the editor - i.e  placing your cursor in the editor. (The proper fix is scheduled for the next update)
I am still missing the msg i.e actual JSON that is being attempted to parse and is failing from the debug console, can you try building the document with the cursor in the the document? and then report back? :-)

Thanks. Here is the JSON error:
Uncaught SyntaxError: Unexpected token � in JSON at position 0
at JSON.parse ()
at Viewer.module.exports.Viewer.wsHandler (viewer.coffee [sm]:9)
at WebSocket. (server.coffee [sm]:12)
at emitOne (events.js:96)
at WebSocket.emit (events.js:188)
at Receiver._receiver.onmessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:141)
at Receiver.dataMessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:389)
at Receiver.getData (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:330)
at Receiver.startLoop (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:165)
at Receiver.add (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:139)
at Socket._ultron.on (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:138)
at emitOne (events.js:96)
at Socket.emit (events.js:188)
at readableAddChunk (_stream_readable.js:176)
at Socket.Readable.push (_stream_readable.js:134)
at TCP.onread (net.js:551)

On Feb 19, 2018, at 5:01 PM, Ash<EMAIL_ADDRESS>wrote:
Hmm, the can't file find of errors can be negated for now by launching the 'Build Latex' while activating the editor - i.e placing your cursor in the editor. (The proper fix is scheduled for the next update)
I am still missing the msg i.e actual JSON that is being attempted to parse and is failing from the debug console, can you try building the document with the cursor in the the document? and then report back? :-)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/James-Yu/Atom-LaTeX/issues/139#issuecomment-366812910, or mute the thread https://github.com/notifications/unsubscribe-auth/ARFV0s9-RjKp8mCmOM4ujmFuHxYYG0Smks5tWe8-gaJpZM4SA4mz.

Hi, what you have posted is the stack trace again, it would be nice to get the actual string that isn't being able to be parsed. This will be available from the debug console (https://github.com/James-Yu/Atom-LaTeX/issues/139#issuecomment-366791568)
Please copy paste the output from the debug console after you get the error - unfortunately, the stack trace dones't really help in this case.

Hi Ash, I followed the instruction from above. Maybe I misunderstand a step but this is what I see after starting atom:
:21133 No deserializer found for http://<IP_ADDRESS>:49175/viewer.html?file=preview.pdf
deserialize @ :21133
:1037 EACCES: permission denied, symlink '/Applications/Atom.app/Contents/Resources/app/atom.sh' -> '/usr/local/bin/atom'
(anonymous) @ :1037
:1042 EACCES: permission denied, symlink '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/.bin/apm' -> '/usr/local/bin/apm'
(anonymous) @ :1042
If I double click to sync, i get the following log error:
Uncaught TypeError: Cannot read property 'file' of undefined
at Manager.module.exports.Manager.findMainSelfMagic (manager.coffee [sm]:70)
at Manager.module.exports.Manager.findMainSequence (manager.coffee [sm]:54)
at Manager.module.exports.Manager.findMain (manager.coffee [sm]:30)
at Manager.module.exports.Manager.findPDF (manager.coffee [sm]:90)
at Locator.module.exports.Locator.locate (locator.coffee [sm]:40)
at Viewer.module.exports.Viewer.wsHandler (viewer.coffee [sm]:17)
at WebSocket. (server.coffee [sm]:12)
at emitOne (events.js:96)
at WebSocket.emit (events.js:188)
at Receiver._receiver.onmessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:141)
at Receiver.dataMessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:389)
at Receiver.getData (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:330)
at Receiver.startLoop (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:165)
at Receiver.add (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:139)
at Socket._ultron.on (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:138)
at emitOne (events.js:96)
at Socket.emit (events.js:188)
at readableAddChunk (_stream_readable.js:176)
at Socket.Readable.push (_stream_readable.js:134)
at TCP.onread (net.js:551)
If I then compile again, I get that error log:
Uncaught SyntaxError: Unexpected token Ǉ in JSON at position 0
at JSON.parse ()
at Viewer.module.exports.Viewer.wsHandler (viewer.coffee [sm]:9)
at WebSocket. (server.coffee [sm]:12)
at emitOne (events.js:96)
at WebSocket.emit (events.js:188)
at Receiver._receiver.onmessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:141)
at Receiver.dataMessage (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:389)
at Receiver.getData (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:330)
at Receiver.startLoop (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:165)
at Receiver.add (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/Receiver.js:139)
at Socket._ultron.on (/Users/mcchung/.atom/packages/atom-latex/node_modules/ws/lib/WebSocket.js:138)
at emitOne (events.js:96)
at Socket.emit (events.js:188)
at readableAddChunk (_stream_readable.js:176)
at Socket.Readable.push (_stream_readable.js:134)
at TCP.onread (net.js:551)
Thanks

Ah, maybe I wasn't clear enough :-)
I am also having a bit of trouble understanding how you "If I double click to sync". As far as I know, the command is ctrl/cmd+click in the PDF preview to get from PDF --> TeX
For the first error (Uncaught TypeError: Cannot read property 'file' of undefined) that you get, like I said, the fix will land in the next update, until then, please ensure that your text editor is active i.e click on the tab with the <filename.tex>  to activate it before using the menu to build.
Now for the main issue of Uncaught SyntaxError: Unexpected token Ǉ in JSON at position 0

Open up the dev console
Activate your <filename.tex> editor tab
Trigger the JSON error!
Head back to the dev console, there should now be output printed from the console.log(msg) that you added to viewer.coffee before the actual error.
For example - mine looks something like this

Good luck! :-)

Closing given the silence, feel free to comment if you are still having issues!


Complex get parsing

I have an endpoint
/search?name={config_name}&data.{key}={value}
Here data is a json object with multiple key value pairs.
I want to use add_argument to parse data.{key}. Is it possible via regex in parser.add_argument.
Or is there any other work around for this.

This is not supported, you'll have to look elsewhere for something to parse that, or write it yourself.


Coinjoin : input rejected

I was experimenting with Coinjoin feature.
Few of the UTXO's were mixed and moved to post mix. But rest are stuck in pre-mix and getting "Input rejected" error.

How to resolve this?

I have had a few inputs rejected also.  All have now had at least 1 mix but the mixing seems to have stalled, been running for days now.   Log below for info.
Thanks
sparrow log.txt

This is generally caused by connection problems. For example, if the computer Sparrow is running on is configured to sleep automatically, then the Whirlpool client will "disappear" to the server after it has registered an input for mixing. If the client does this several times, it may get temporarily banned. Make sure the computer is configured to not sleep, or use the Amphetamine app (for example).
It's clear from the log file in the second comment that there were connection problems involved (e.g. see No such host is known - this indicates DNS was down at that moment, so probably no connection to the internet at that moment.
Banned UTXOs (the tooltip will improve in the next release) are generally unbanned after about 12 hours. You can also email<EMAIL_ADDRESS>

Closing this off.


Clear filter not working properly

Steps to reproduce:

Use filter on column First name and select only Aaron

Use filter on column Last name and select only Baacecyyun

Clear filter on column First name

Filter on Last name should remain the same (only Baacecyyun) and we should get one record in table but we get randomly selected object in Last name column filter

This behavior is due to the fact that the filters act on the view of the "datagrid" (the rows displayed) and not on the entire collection (source items).
The "LastName" filter acts against the list of rows displayed after the "FirstName" filter is applied.
So when you release the "First Name" filter, all the filtered lines are visible again because they are unfiltered, only the lines filtered by the last filter are.

The "testing" branch works exactly like excel, you can use it instead of the current version.
best regards


Clang warnings

Clang whines about passing -rdynamic for building objects. A lot:
[CC] threading/Thread
[CC] threading/native/ThreadUnix
[CC] math
[CC] threading/native/ThreadWin32
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
8 warnings generated.
[CC] native/win32/errors
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] threading/native/MutexUnix
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] threading/native/MutexWin32
[CC] threading/native/ThreadLocalUnix
[CC] threading/native/ThreadLocalWin32
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7clang-3.7: warning: argument unused during compilation: '-rdynamic'
: warning: argument unused during compilation: '-rdynamic'
[CC] structs/Stack
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] structs/LinkedList
[CC] os/Terminal
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] os/native/TerminalUnix
[CC] os/unistd
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] os/FileDescriptor
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] os/native/TerminalWin32
[CC] lang/Backtrace
[CC] os/Env
[CC] os/Dynlib
[CC] os/ShellUtils
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] io/File
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] io/FileReader
[CC] io/Reader
[CC] io/FileWriter
[CC] io/Writer
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7clang-3.7: warning: argument unused during compilation: '-rdynamic'
: warning: argument unused during compilation: '-rdynamic'
[CC] os/Pipe
[CC] os/native/PipeUnix
[CC] os/native/PipeWin32
[CC] io/BufferWriter
[CC] io/BufferReader
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] io/native/FileWin32
[CC] io/native/FileUnix
[CC] text/StringTokenizer
[CC] io/StringReader
[CC] lang/internals/mangling
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] os/Process
[CC] os/native/ProcessUnix
clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: warning: argument unused during compilation: '-rdynamic'
[CC] os/wait
[CC] os/native/ProcessWin32
[CC] text/Shlex
clang-3.7clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: : warningwarning: argument unused during compilation: '-rdynamic'
: argument unused during compilation: '-rdynamic'

Also, I keep getting this warning for various files:
[CC] text/Shlex
clang-3.7clang-3.7: warning: argument unused during compilation: '-rdynamic'
clang-3.7: : warningwarning: argument unused during compilation: '-rdynamic'
: argument unused during compilation: '-rdynamic'
/media/ryan/stuff/rock/sdk/os/Process.ooc:41:40: warning: indirection of
      non-volatile null pointer will be deleted, not trap [-Wnull-dereference]
  ...arg = _lang_array__Array_get(args, i, lang_String__String*);
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.libs/ooc/sdk/Array.h:21:5: note: expanded from macro '_lang_array__Array_get'
    *((type*) NULL) : \
    ^~~~~~~~~~~~~~~
/media/ryan/stuff/rock/sdk/os/Process.ooc:41:40: note: consider using
      __builtin_trap() or qualifying pointer with 'volatile'
.libs/ooc/sdk/Array.h:21:5: note: expanded from macro '_lang_array__Array_get'
    *((type*) NULL) : \
    ^
1 warning generated.

This is all while building Sam.

About null-dereference, see this issue:
https://github.com/fasterthanlime/rock/issues/732
this pr fix the rdynamic problem
https://github.com/fasterthanlime/rock/pull/847
you can find more details here:
https://github.com/zhaihj/rock/commit/2e167a2fb0f8f988b18094ec9c07dfe90f99cd84

For the null-deref issue, can't Rock just automatically pass -Wno-null-dereference?
Clang will also be silent about unused arguments if passed -Qunused-arguments.

If you are really nervous about null-dereference warnings, you can disable it by changing
    *((type*) NULL) : \

to something like
    ((type*) array.data)[0] : \

in sdk/lang/Array.h. Currently it is the only source of null-dereference.
I'm wondering if disabling warnings is really a good solution, because rock may fail to detect some common errors, while clang or gcc work well. Less warnings means less chances to find the source of those weird bugs.

Well, #847 has been merged, and the other ones were closed in https://github.com/fasterthanlime/rock/commit/11eb3e268f17c014f86992b5968b45aa2c6fef5a, so I think this can be closed.


Flood fill

📥 Pull Request
Description
This pull request implements the Flood Fill Algorithm, an essential algorithm used to fill a connected region in a grid or image with a new color. The algorithm begins at a specific pixel and changes the color of all connected pixels that share the same original color. The Flood Fill is implemented using Depth-First Search (DFS) to ensure all adjacent pixels are explored efficiently.
Fixes # 265
Type of change

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

Checklist:

[ x] My code follows the style guidelines of this project
[x ] I have performed a self-review of my code
[ x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Can u assign the labels
Can u review the pr pls

@monishkumardvs, please sync your fork with the latest changes from the main repository. I've resolved the backtracking-questions.md error at line 56.
Here's what you need to do:

Fetch the latest updates from the main repository:git fetch upstream
git merge upstream/main

Push the merged changes to your fork:git push origin your-branch

After syncing, resolve any remaining issues.

Please don't hesitate to let me know if you encounter any problems.

ok i will complete that task
Can u assign labels for task #231 as it is completed and merged but didnt get the labels


display of § number in cross reference in Siksa Kandang Karesian

Dear @ajaniak !
@aditiagunawan and I are wondering why this code
<app><lem wit="#B">dəi</lem><rdg wit="#A #EdASD">ta dəI</rdg><note>Since <foreign>aya dəi</foreign> occurs without <foreign>ta</foreign> in <ptr target="#skk_21.02"/><!-- 21.2--> and <ptr target="#skk_21.03"/><!--21.3-->, I adopt the same structure here from <ptr target="#B"/>.</note></app>
twice yields §7 in display, and not the desired numbers 21.2 and 21.3.

The references for the link are both correct. However, the structure in the different editions are too different that's why the label isn't the right one...I will see if i can find a stable solution

I have found a solution

not sure how stable it will be though

looks good. shall we close this issue for now and see if other irregularities emerge?
@aditiagunawan — please remember to encode all text-internal cross-references in your three editions with the <ptr> method. For references between the three texts that you are editing, you can use the <ref> method. See EGC 7.4.2.

good for me


Suggestions to improve Lazynvim experience:

When we use VeryLazy it's should add event = 'BufReadPost' to the config table.
return {
  'mfussenegger/nvim-dap',
  event = 'VeryLazy',
  dependencies = {
    {
      'Weissle/persistent-breakpoints.nvim',
      event = 'BufReadPost',
      config = function()
        require('persistent-breakpoints').setup({ load_breakpoints_event = { 'BufReadPost' } })
      end,
    },
  },
}

Maybe, it should be mention in README file, and try to not repeat the keyword BufReadPost two times.

nvim-dap doesn't depend on this plugin but this plugin depends on nvim-dap.
Thus, nvim-dap should be ready before this plugin begins to load the breakpoints.
Compared to the event = BufReadPost, load_breakpoints_event = {'BufReadPost'} is much more important.
What happened if we don't set event = 'BufReadPost' for this plugin?

Yeah, it's a wrong habit of mine. I make related plugins dependencies to avoid repeating the main plugin for each one. If we use my previous snippet without event = 'BufReadPost', we should reload the buffer again with :e.

Yeah, it's a wrong habit of mine. I make related plugins dependencies to avoid repeating the main plugin for each one. If we use my previous snippet without event = 'BufReadPost', we should reload the buffer again with :e.


[FLINK-22304][table] Refactor some interfaces for TVF based window to…

… improve the extendability

What is the purpose of the change
Refactor some interfaces for tvf based window to make it more extendable.
Brief change log

Refactor WindowBuffer#Factory so that the creation of records combiner can be delegated to it.
Rename some interfaces/classes to make them more clear and easier to understand.
make BytesMap#getEntryIterator copy-aware.

Verifying this change
This change is already covered by existing tests, such as WindowAggregateITCase, WindowRankITCase.
Does this pull request potentially affect one of the following parts:

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

Documentation

Does this pull request introduce a new feature? no

Some tests are failed, please have a check @cshuo .

Some tests are failed, please have a check @cshuo .

The failed test is python docs, which is already fixed. I will rebase and trigger test again.


Support for ROMs whose size isn't a multiple of 1024 bytes

This new code generates identical UF2 files as the original code for ROMs whose size is a multiple of 1024 bytes.
It allows the size of the last chunk in the unique_chunks to be less than 1024.
It generates additional UF2 blocks for the "240p test suite" ROM but unfortunately this ROM still doesn't work.

Just for reference. Here is the simplified implementation in Go that avoids the intermediate flattening.


Fix formatting of json import

Change representation of import data
Serializing the row results in a json array string being stored. What we want is a hash. ActiveRecord handles this automatically when you pass a ruby hash to a json or jsonb attribute.
Data from this hash can be accessed like school.gias_data['URN'].

The checks failed twice (we retry builded once).


Styling

Supersedes #802, based on JupyterLab 0.7.0.
This adds accordion styling and tweaks a few other settings on top of the #802.

@SylvainCorlay - do you want to take a look at this and merge if it looks good, and we can iterate from here? @gnestor - feel free to take a look too!

@jasongrout thanks this is great.  - and thanks for following the pattern of the earlier commits.

Tested everything. Merging and opening other PRs to iterate.

Cool, thanks!

In which timezone do you live?

Apparently I'm in Europe these days :)

I finally got my jupyterlab_widgets working again and the widgets are all working properly and the styling looks great!


Michelle Ayers

This is so much reading for one person I get lost I need help and I am not a webmaster I don't even understand none of this but I love all the designs and colors can't y'all hack my phone for me and help fix it please

My dad was the computer man if he was alive he would know exactly what to do

I wish I could have done this with him


Errors creating slave

Hi,
I am seeing the errors after following the tutorial:
Provisioned slave Kubernetes Pod Template failed to launch
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default.svc.cluster.local/api/v1/namespaces/jenkins/pods. Message: Forbidden!Configured service account doesn't have access. Service account may have been revoked..
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:310)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:261)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:232)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:207)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:547)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:243)
	at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback.call(KubernetesCloud.java:426)
	at org.csanchez.jenkins.plugins.kubernetes.KubernetesCloud$ProvisioningCallback.call(KubernetesCloud.java:406)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

Any insight into what my issue could be? Or has anyone else run into this?
Thanks,
Braden

Hey @bbassingthwaite-va,
Do you see a service account in the namespace you are using to deploy the Jenkins agents?
You can run: kubectl get serviceaccount
Is this on GKE or elsewhere?

@viglesiasce I did have a service account.
Sorry I should have updated the issue, I did find what the issue was.
We have a resource quota set on our namespace, which wasn't allowing the job node to be created.  I am thinking it is because the job node isn't being created with specific resource limits/requests being set.

Good to hear @bbassingthwaite-va. Thanks for reporting back.


Favicon with white background

Using Firefox 108.0.1 on Arch Linux, the website's favicon shows up in the bookmark with a white background.

Hmm.. seems related: https://bugzilla.mozilla.org/show_bug.cgi?id=1701939
But I guess, I'll try .ico instead of .svg 🤔

Changed to new design, used .ico format.
Closing this.


Modify local Makefile to rely on Sysbox's one for kernel-headers operations

The goal here is to centralize the sysbox's building logic associated to kernel-headers identification in a unique location. The ideal location for this logic is the top-most Makefile (at Sysbox's super-project level).
Signed-off-by: Rodny Molina<EMAIL_ADDRESS>

Which scenario are you thinking about that requires an independent kernel-headers-identification logic?