Intermittent corruption on boot

I've just build one of these any using the latest firmware 1.6
On first bootup there was no splash screen and it booted straight into the Apple ][ prompt.
And the next bootup though, and now seems to happen 50% of the time I get booted into the splash screen (Which is perfect) and after  a few seconds I get a screen full of corrupted characters.
Any idea what is causing this?
Running on a Apple IIe with the original RBP Pico.
Apple IIe passes all diagnostics, no memory issues. I have been using it with a different RBP Pico VGA adapter without issues.
Are there any other details I can provide which can help solve this?

The splash screen should not become visible when the Apple II boots normally. It should display the Apple II prompt immediately.
The splash screen remains visible, at least for a few seconds, when the no normal Apple II boot sequence is detected - to help with diagnosing the issue.
While the splash screen/diagnostics are visible:

You should see the "BUS CYCLES" counting (1 million cycles per second). If that is not the case, then you have a hardware issue with the Phi0 connection. The PICO is unable to see the rising/falling edge of Phi0.

You should also see the current value of the address bus (updated several times per second). In your photo it shows "FFFF", which is concerning. Might be an issue with the address bus connection - or just a result of the PICO not detecting any bus cycle (due to an issue with Phi0), so the address bus isn't even read/updated.

In any case looks like a hardware issue with the slot/bus connection. Or an issue with your bus transceivers, which make the connection between the PICO and the 6502 bus.

Thanks for the info.
I've cleaned the connections  and also tried a different bus.
The bus cycles is counting.
There are 2 issues on the address bus, it's either stuck at FFFF or it's changing, or it just boots fine. About 1/3.
I'll change out the bus transceivers and see if it makes any difference.  (Or maybe build another device as it might be quicker)

Make sure to use proper 74lv245 devices (3.3V). I have seen reports of people claiming they have received fake ICs, maybe relabeled LS245s, from dodgy sources.

I've re-ordered NXP 74LV245 chips from the official distributor so hoping it fixes it. The previous batch were from eBay so maybe dodgy.

Chips replaced and it's made a improvement. Still getting the corrupted screen but it's a lot less now. Maybe about 1 in 10 startups is corrupted.
Happy to live with this and close the issue as it's working 90% of the time.

Just to correct myself, since I wrote "LV245" above: the correct part for the transceiver buffers is "LVC245", as given in the schematics, which is a much faster variant. The A2DVI firmware relies on the fast device, since it needs to switch very fast between the three buffers to access two address bus + data bus bytes. The LVC245 guarantees response times below 20ns. Other devices, such as LV245 are much slower, and would not guarantee this timing, according to the data sheets. And HC245s would be even slower. So using the correct part for A2DVI boards does matter, as the firmware actually relies on the fast timing when switching the buffers.


Eq 566 landing page

What is the context of this PR?
Add a list to the schema to allow for configuration of per schema survey provision requirements.
How to review
Modify the content of one of the surveys "information_to_provide" variable and note the change on the landing page.

[ ] Do all commits have sensible commit messages?
[ ] Is all new code unit tested?
[ ] Are there integration tests if needed?
[ ] Is there sufficient logging?
[ ] Is there documentation or is the code self-describing?

Who worked on the PR
@iwootten

Not sure we have the extra merge, rebase has got upset somehow.

Current coverage is 78.45% (diff: 90.90%)

Merging #430 into master will increase coverage by 0.03%

@@             master       #430   diff @@
==========================================
  Files           131        131
  Lines          4844       4851     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3799       3806     +7
  Misses         1045       1045
  Partials          0          0

Powered by Codecov. Last update 5843c98...d384f9c

Current coverage is 78.45% (diff: 90.90%)

Merging #430 into master will increase coverage by 0.03%

@@             master       #430   diff @@
==========================================
  Files           131        131
  Lines          4844       4851     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           3799       3806     +7
  Misses         1045       1045
  Partials          0          0

Powered by Codecov. Last update 5843c98...3f54557

👍 LGTM


Get per-key purging built-in to Radiant::Cache

It would be great to be able to purge single URLs from the Radiant/Rack::Cache.
See my approach and Jim's comment here: http://blog.springenwerk.com/2010/01/invalidate-single-urls-in.html

+1


AttributeError: 'CockroachDBDialect' object has no attribute '_is_v2plus'

I am using alembic to upgrade. the code path works w/ postgresql+psycopg2, but not w/ cockroachdb.
cockroachdb://USER:PASS@cockroachdb-public.cockroachdb:26257/applications

is my connection uri
$ python3 -m alembic.config upgrade head
Traceback (most recent call last):
  File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/alembic/config.py", line 544, in <module>
    main()
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/alembic/config.py", line 540, in main
    CommandLine(prog=prog).main(argv=argv)
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/alembic/config.py", line 534, in main
    self.run_cmd(cfg, options)
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/alembic/config.py", line 514, in run_cmd
    **dict((k, getattr(options, k, None)) for k in kwarg)
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/alembic/command.py", line 276, in upgrade
    script.run_env()
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/alembic/script/base.py", line 475, in run_env
    util.load_python_file(self.dir, "env.py")
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/alembic/util/pyfiles.py", line 90, in load_python_file
    module = load_module_py(module_id, path)
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/alembic/util/compat.py", line 177, in load_module_py
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 728, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "alembic/env.py", line 94, in <module>
    if not db.dialect.has_table(db, 'install_locks'):
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/cockroachdb/sqlalchemy/dialect.py", line 143, in has_table
    return any(t == table for t in self.get_table_names(conn, schema=schema))
  File "/home/don/src-ag/platform/applications/.env/py37/lib/python3.7/site-packages/cockroachdb/sqlalchemy/dialect.py", line 132, in get_table_names
    if not self._is_v2plus:
AttributeError: 'CockroachDBDialect' object has no attribute '_is_v2plus'

is the trace
This is w/ cockroachdb v19.1.1

In my application, the dialect.has_table() was called before connect. We need an explicit connect() once (to get initialize() called)
    db = create_engine(dbstr)
   ## Add this line db.connect()

    if not db.dialect.has_table(db, 'install_locks'):

You need to call connect() first (as you already mentioned). An Engine can't be used to directly communicate with the database, although it provides proxy methods (e.g. execute()) which might be useful when you don't explicitly need a connection. See the official documentation for a more in depth explanation.
As far as I can see this is not a driver bug.

it is a delta from the behaviour w/ postgresql or sqlite, but i guess you are right.


fix: put failed transaction in correct queue after recovering unresponsive controller

fixes: https://github.com/zwave-js/node-zwave-js/issues/6506

@zwave-js-bot automerge

Any ideal when this fix will be released?  I've removed the battery from the stated device, but I guess there are other devices that are causing my system to lock up.

https://zwave-js.github.io/which-version/
It is released everywhere, except the Z-Wave JS UI Home Assistant addon, which has some troubles updating due to Node.js being broken with ARMv7 atm.


Adding peripheral handle to the filex::FX_MEDIA class

Is your feature request related to a problem? Please describe.
When working with Filex and making custom driver, for instance, SD card using SPI, I need to extern the hspiX from the main.c to implement the driver. This approach ends up forcing me to have only one instance of this custom driver.
Describe the solution you'd like
By having the handle inside the FX_MEDIA class preferably as a (void *) type, I would be able to typecast it into my desired peripheral Handle, be it SDMMC, SPI, I2C or anything else and have multiple instances of the same driver to define different devices all connect via the same custom peripheral.
Describe alternatives you've considered
Alternatively expanding the available base options would be great. But the work involved might be non-trivial as opposed to the above change
Additional context
Add any other context or screenshots about the feature request here.

I am not one of the contributors to this repo, but I have dealt with a similar situation, would like to share my solution (in case it helps).
I dealt with it by creating a custom struct for that driver (which you can obviously apply to multiple drivers), which contains a pointer to the handle, along with a variety of other characteristics of the media. Another parameter might be an enum that described what type of peripheral you're using.
I then pass a pointer to this struct into the fx_media_open, via the "VOID *driver_info_ptr" variable, which ends up as the "VOID *fx_media_driver_info;" parameter of the "FX_MEDIA" struct. You can then read the various parameters of your struct to determine how the driver should act.


Customize/specify font used on generated splash screen

Hi there,
Nice lib. Is it possible somehow to change the font used on the splash screen that's generated?
Would be a nice addition so that the splash matches whatever font the PWA uses.

It could be possible but I'm not really sure where to put the "configuration".I'd be open to suggestions.

We're thinking about providing this through CSS variables that we find on the <link rel="manifest" /> HTML element itself (which can be styled even though this otherwise makes no sense). We could also maybe support customizing the generated colors.
We'd use CSS variables rather than just say, reading font, because otherwise we'll use the user-agent font or anything set on html { ... }. And these are supported from Safari on iOS 9.3 on onwards (which is supported by iOS devices from iPhone 4s+).
Would that work for you?

Yep, that would work!

A friendly reminder :)

I'll take a look in the next day or so.
On Wed, 15 Apr 2020 at 23:37, Lipis<EMAIL_ADDRESS>wrote:

A friendly reminder :)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChromeLabs/pwacompat/issues/25#issuecomment-614045237,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA5DED5TI7LPK3PBYOQ4GDRMWZ7XANCNFSM4HELFOMQ
.

I'm not really sure where to put the "configuration".

Maybe the whole thing could be remodeled as a custom element?
<pwa-compat foo="bar"></pwa-compat>

I think the zero config model for most people is the best. And it's a
singleton anyway.
On Wed, 15 Apr 2020, 23:58 Thomas Steiner<EMAIL_ADDRESS>wrote:

I'm not really sure where to put the "configuration".
Maybe the whole thing could be remodeled as a custom element?

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/GoogleChromeLabs/pwacompat/issues/25#issuecomment-614056846,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA5DEDZQGFPQWPLBDARW2DRMW4P3ANCNFSM4HELFOMQ
.

This is fixed by the v2.0.11 release. You can specify --pwacompat-splash-font: 24px Verdana to customize the font, see the readme for some more info.

Thanks @samthor!


No module named 'code.env'

When we run python code/tools/train_on_atari.py exp/atari_local.yml， we get the following error：
Traceback (most recent call last):
File "code/tools/train_on_atari.py", line 25, in
from code.env import EnvConfig
ModuleNotFoundError: No module named 'code.env'
We searched the folder code and did not find the file env. Maybe, the file env is forgotten to put into the folder code.

When we run python code/tools/train_on_atari.py exp/atari_local.yml， we get the following error： Traceback (most recent call last): File "code/tools/train_on_atari.py", line 25, in from code.env import EnvConfig ModuleNotFoundError: No module named 'code.env'
We searched the folder code and did not find the file env. Maybe, the file env is forgotten to put into the folder code.

Hi there, sorry for the inconvenience. We've checked with the file list and found some code files were ignored following the git ignore rules. Now we've updated the repository and hope you can find it helpful.
Thank you for your report.

Thank you， I have run python code/tools/train_on_atari.py exp/atari_local.yml successfully.


FoodData error.

So I was creating a couple of commands that go kind of together. One is for healing people and the other one is for feeding people.
These two commands have the exact same code except one uses HealthData and the other one uses FoodData instead.
The healing command works fine. The feeding one does feed and does it correctly but it gives an error.
Code:
Healing command: http://pastebin.com/dnSu11q7
Feeding command: http://pastebin.com/TPND3GLb
Stacktrace returned by /feed: http://pastebin.com/9JmKEUGU

I see what's happening, the method setFoodSaturationLevel is client side only,
    @SideOnly(Side.CLIENT)
    public void setFoodSaturationLevel(float foodSaturationLevelIn)


Renamed inconsistent identifiers

I used an automatic tool which suggests useful renaming operations based on the frequency such names appear in the code-base. For example, "count" appears more frequently than "helperCount" in the context in which "helperCount" is used, so I renamed it. I did not modify functional parts of the code, I just applied such renamings.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Simone Scalabrino seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you for PR, could you please sign  the CLA first?

I signed the CLA with this github account. Is it OK?
Il 22 mar 2017 1:45 PM, "Xiaolong Hong"<EMAIL_ADDRESS>ha
scritto:
Thank you for PR, could you please sign the CLA first?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alibaba/vlayout/pull/28#issuecomment-288387252, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AG1Jj5Zu5BvKemiee7MGIFxagvzVDQj3ks5roRfUgaJpZM4MlGFa
.

It's ok. Do not worry about that. It is just a procedure.


Resizing fs with Cloud-init layout plugin

Is your feature request related to a problem? Please describe.
The layout plugin correctly resizes partition, but it doesn't resize the fs https://github.com/mudler/yip/blob/d7c41b44b3460c63349972949b48e9b8ab31bb33/pkg/plugins/layout.go#L73
Describe the solution you'd like
To also resize the partition
Describe alternatives you've considered
Calling resizefs manually
Additional context

Blocked until a new yip is released and we can depend on it.


Add option to drop touch events when backlight is off

This adds functionality to optionally ignore touch events when the screen backlight is off and send an MQTT message to the topic hasp/[node]/eventwhilescreenoff.
This will allow HA to control the backlight on a schedule, and when off, temporarily turn back on when the user touches the screen. This could also be used for a child lock.

Thanks for the code!  I've made some minor changes in how this works, including a change in the MQTT messaging to better align with the existing namespace.  If you're planning on developing blueprints around this, take note as I don't want to be screwing this up for you :D
Here's what I've done for the MQTT messages when a button is pressed then released when your option is enabled and backlight is off:
hasp/plate01/state/json {"event_type":"button_press_disabled","event":"p[1].b[1]","value":"ON"}
hasp/plate01/state/json {"event_type":"button_release_disabled","event":"p[1].b[1]","value":"ON"}

So, we continue to report what has happened, but changed the event_type so that existing blueprints won't be triggered.  Also, these messages are only sent on the JSON topic so as not to trigger automations that are listening to the non-JSON namespace.

Sounds good!


copy, not symlink, local files

What I Did
Instead of using gogetter for local files (which results in symlinks) recursively copy the directory. This fixes #843
How I Did it
How to verify it
Integration tests, including ones using local files, continue to pass.
ship init /path/to/yaml/files works.
Description for the Changelog
Local upstreams are now copied instead of symlinked.
Picture of a Boat (not required but encouraged)

👍 nice. There are some other weird things that happen with symlinks. In general we could probably stand to revisit how we can better support them at a project level, but for now I'm all for this.


Import exported Honeybadger object

Hi,
We use this plugin for our Ember app. I'd like to import the Honeybadger object so that JSHint (and my overbearing boss 😉 ) don't complain about the unknown object. I've tried a few variations of import Honeybadger from "xxx"; but haven't found one that works yet.
Is there a recommended way to import the Honeybadger object?
Thanks!

This goes in your .jshintrc file:
{
  "predef": [
    "Honeybadger"
  ]
}

Thanks for the suggestion, Trevor.
I've been using /*global Honeybadger*/ at the top of the source file for now which I think is roughly equivalent to what you've suggested (except that yours covers all project files). My understanding is that it's still superior to import if possible. Happy to be corrected, though.