Home Blog Page 4

How can I make recordsdata my iOS app writes to iCloud accessible to different apps like Finder in MacOS or the iCloud app in Home windows?


In attempting so as to add iCloud Drive entry to an present app, my app has efficiently written recordsdata operating on one iPhone after which learn these file into one other iPhone, proving that the recordsdata are certainly present in iCloud. However none of those recordsdata seem in Finder operating on my Mac Mini or within the iCloud part of the Recordsdata app on both iPhone. The recordsdata written appear to be non-public to only my app. All units and computer systems are logged in to the identical Apple ID in iCloud. The identical construct of my app was operating in each iPhones. The URL my app makes use of for iCloud consists of the “Paperwork” listing:

NSFileManager *fman = [NSFileManager defaultManager];
NSURL *urlDrive = [fman URLForUbiquityContainerIdentifier: nil];
NSURL *urlDocs = [urlDrive URLByAppendingPathComponent:@"Documents"];
NSURL *urlFile = [urlDocs URLByAppendingPathComponent: txtfname()];

the place the Ubiquitous Container is outlined within the data.plist file as:

NSUbiquitousContainers

  iCloud.com.{my area}.{my app}
  
    NSUbiquitousContainerIsDocumentScopePublic 
    NSUbiquitousContainerSupportedFolderLevels
    Any
    NSUbiquitousContainerName
      {my app}
  

UIFileSharingEnabled 

Even though my app can write from one iPhone and browse from one other iPhone, I can’t get the recordsdata, and even the listing for {my app} to seem in some other file explorer like Finder or the Recordsdata app on the telephones.

I anticipated the customers of my app to have the ability to entry the recordsdata they write from my app on a desktop laptop and do no matter they need with them, like share them with others. I didn’t use a File Coordinator as a result of the use case for my app doesn’t want it. I checked all of the return codes to verify no API was failing within the studying or the writing. One unusual factor is that when utilizing an iPhone 7 operating iOS 15.8.4 and an iPhone 13 operating iOS 18.3.2, writes from the iPhone 7 have been accessible to my app operating on the iPhone 13, however recordsdata written by the iPhone 13 weren’t accessible to the iPhone 7. Tried reads mentioned the file didn’t exist – even after ready for hours for iCloud synchronization to happen. Each telephones have been linked to the Web the entire time. I additionally bumped up the app model bundle identify at any time when I made a change to the plist file.

Interview with Yuki Mitsufuji: Enhancing AI picture era



Yuki Mitsufuji is a Lead Analysis Scientist at Sony AI. Yuki and his crew introduced two papers on the latest Convention on Neural Data Processing Programs (NeurIPS 2024). These works deal with totally different facets of picture era and are entitled: GenWarp: Single Picture to Novel Views with Semantic-Preserving Generative Warping and PaGoDA: Progressive Rising of a One-Step Generator from a Low-Decision Diffusion Instructor . We caught up with Yuki to search out out extra about this analysis.

There are two items of analysis we’d prefer to ask you about right this moment. Might we begin with the GenWarp paper? Might you define the issue that you simply have been targeted on on this work?

The issue we aimed to unravel known as single-shot novel view synthesis, which is the place you have got one picture and need to create one other picture of the identical scene from a special digital camera angle. There was plenty of work on this area, however a significant problem stays: when an picture angle modifications considerably, the picture high quality degrades considerably. We needed to have the ability to generate a brand new picture primarily based on a single given picture, in addition to enhance the standard, even in very difficult angle change settings.

How did you go about fixing this downside – what was your methodology?

The prevailing works on this area are likely to reap the benefits of monocular depth estimation, which implies solely a single picture is used to estimate depth. This depth data permits us to vary the angle and alter the picture based on that angle – we name it “warp.” In fact, there will likely be some occluded components within the picture, and there will likely be data lacking from the unique picture on the best way to create the picture from a unique approach. Subsequently, there may be at all times a second section the place one other module can interpolate the occluded area. Due to these two phases, within the present work on this space, geometrical errors launched in warping can’t be compensated for within the interpolation section.

We resolve this downside by fusing every part collectively. We don’t go for a two-phase method, however do it unexpectedly in a single diffusion mannequin. To protect the semantic which means of the picture, we created one other neural community that may extract the semantic data from a given picture in addition to monocular depth data. We inject it utilizing a cross-attention mechanism, into the primary base diffusion mannequin. For the reason that warping and interpolation have been achieved in a single mannequin, and the occluded half could be reconstructed very nicely along with the semantic data injected from exterior, we noticed the general high quality improved. We noticed enhancements in picture high quality each subjectively and objectively, utilizing metrics resembling FID and PSNR.

Can individuals see among the photos created utilizing GenWarp?

Sure, we even have a demo, which consists of two components. One exhibits the unique picture and the opposite exhibits the warped photos from totally different angles.

Shifting on to the PaGoDA paper, right here you have been addressing the excessive computational value of diffusion fashions? How did you go about addressing that downside?

Diffusion fashions are highly regarded, but it surely’s well-known that they’re very pricey for coaching and inference. We tackle this situation by proposing PaGoDA, our mannequin which addresses each coaching effectivity and inference effectivity.

It’s straightforward to speak about inference effectivity, which immediately connects to the pace of era. Diffusion often takes plenty of iterative steps in the direction of the ultimate generated output – our aim was to skip these steps in order that we might rapidly generate a picture in only one step. Individuals name it “one-step era” or “one-step diffusion.” It doesn’t at all times must be one step; it may very well be two or three steps, for instance, “few-step diffusion”. Mainly, the goal is to unravel the bottleneck of diffusion, which is a time-consuming, multi-step iterative era technique.

In diffusion fashions, producing an output is usually a sluggish course of, requiring many iterative steps to supply the ultimate end result. A key development in advancing these fashions is coaching a “pupil mannequin” that distills information from a pre-trained diffusion mannequin. This enables for quicker era—generally producing a picture in only one step. These are sometimes called distilled diffusion fashions. Distillation signifies that, given a instructor (a diffusion mannequin), we use this data to coach one other one-step environment friendly mannequin. We name it distillation as a result of we will distill the data from the unique mannequin, which has huge information about producing good photos.

Nevertheless, each traditional diffusion fashions and their distilled counterparts are often tied to a hard and fast picture decision. Which means if we would like a higher-resolution distilled diffusion mannequin able to one-step era, we would wish to retrain the diffusion mannequin after which distill it once more on the desired decision.

This makes the complete pipeline of coaching and era fairly tedious. Every time a better decision is required, we’ve got to retrain the diffusion mannequin from scratch and undergo the distillation course of once more, including vital complexity and time to the workflow.

The distinctiveness of PaGoDA is that we practice throughout totally different decision fashions in a single system, which permits it to realize one-step era, making the workflow way more environment friendly.

For instance, if we need to distill a mannequin for photos of 128×128, we will do this. But when we need to do it for one more scale, 256×256 let’s say, then we must always have the instructor practice on 256×256. If we need to lengthen it much more for larger resolutions, then we have to do that a number of occasions. This may be very pricey, so to keep away from this, we use the concept of progressive rising coaching, which has already been studied within the space of generative adversarial networks (GANs), however not a lot within the diffusion area. The thought is, given the instructor diffusion mannequin skilled on 64×64, we will distill data and practice a one-step mannequin for any decision. For a lot of decision circumstances we will get a state-of-the-art efficiency utilizing PaGoDA.

Might you give a tough thought of the distinction in computational value between your technique and normal diffusion fashions. What sort of saving do you make?

The thought may be very easy – we simply skip the iterative steps. It’s extremely depending on the diffusion mannequin you employ, however a typical normal diffusion mannequin previously traditionally used about 1000 steps. And now, trendy, well-optimized diffusion fashions require 79 steps. With our mannequin that goes down to 1 step, we’re it about 80 occasions quicker, in concept. In fact, all of it depends upon the way you implement the system, and if there’s a parallelization mechanism on chips, individuals can exploit it.

Is there the rest you want to add about both of the tasks?

Finally, we need to obtain real-time era, and never simply have this era be restricted to pictures. Actual-time sound era is an space that we’re .

Additionally, as you may see within the animation demo of GenWarp, the pictures change quickly, making it seem like an animation. Nevertheless, the demo was created with many photos generated with pricey diffusion fashions offline. If we might obtain high-speed era, let’s say with PaGoDA, then theoretically, we might create photos from any angle on the fly.

Discover out extra:

About Yuki Mitsufuji

Yuki Mitsufuji is a Lead Analysis Scientist at Sony AI. Along with his position at Sony AI, he’s a Distinguished Engineer for Sony Group Company and the Head of Artistic AI Lab for Sony R&D. Yuki holds a PhD in Data Science & Know-how from the College of Tokyo. His groundbreaking work has made him a pioneer in foundational music and sound work, resembling sound separation and different generative fashions that may be utilized to music, sound, and different modalities.




AIhub
is a non-profit devoted to connecting the AI group to the general public by offering free, high-quality data in AI.


AIhub
is a non-profit devoted to connecting the AI group to the general public by offering free, high-quality data in AI.

Server receives IP from DHCP-server however can’t ping gateway


Abstract:
When connecting a HP Proliant Microserver gen8 server operating a recent set up of Linux Mint 22.1, utilizing a ethernet cable beforehand utilized by a HP laptop computer with confirmed web connectivity, it will get a brand new IP utilizing DHCP however is unable to ping gateway or entry the web.

Connection data:

IP Tackle 192.168.150.50
Broadcast Tackle 192.168.150.255
Subnet masks 255.255.255.0
Default Route 192.168.150.1
Main DNS 192.168.150.1

IP tackle is certain in router DHCP server (Mikrotik):
enter image description here

I can ping myself however not gateway:

ping 127.0.0.1 ✅
ping 192.168.150.50 ✅
ping 192.168.150.1 (vacation spot host unreachable)🔴

Command ip -a

eno2:  mtu 1500 qdisc mq state UP group default qlen 1000
hyperlink/ether 94:18:82:38:dc:11 brd ff:ff:ff:ff:ff:ff
altname enp3s0f1
inet 192.168.150.50/24 brd 192.168.150.255 scope international dynamic noprefixroute eno2
valid_lft 169893sec preferred_lft 169893sec
inet6 fe80:8ca6:e580:9fb9:3f36/64 scope hyperlink noprefixroute
valid_lft ceaselessly preferred_lft ceaselessly

Command ip r

default by way of 192.168.150.1 dev eno2 proto dhcp src 192.168.150.50 metric 20100
192.168.150.0/24 dev eno2 proto kernel hyperlink src 192.168.150.50 metric 100

Command route -n

Vacation spot Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.150.1 0.0.0.0 UG 20100 0 0 eno2
192.168.150.0 0.0.0.0 255.255.255.255 U 100 0 0 eno2

Command arp -a

_gateway (192.168.150.1) at <**incomplete**> on eno2 🔴

Command sudo arping 192.168.150.1

ARPING 192.168.150.1
Timeout
Timeout
...

Command sudo tcpdump -i eno2 arp or icmp

Request who-has _gateway inform , size 28
Reply _gateway is-at 74:4d:28:a0:7a:a7 (oui Unknown), size 42

So plainly the server receives data from the DHCP-server, however simply ignores it, since arp a


I’ve no extra concepts to attempt to get my server related.
The server and community is my personal community at house. I attempted to ping the hp-server from the router(gateway) and that failed as properly.
I don’t perceive how DHCP can work however not not ping. I’m a programmer so please excuse me if I missed to incorporate essential data.

Sufferers Say Wholesome Intestine Micro organism Relieved Their Continual Ache in a Puzzling Illness


Think about waking up day-after-day after a full evening’s sleep feeling fully fatigued. Each muscle hurts. However you don’t have a fever or an an infection. After years of analysis, docs can’t let you know why the ache retains rising. Painkillers provide little assist. Finally, you possibly can now not stroll—and nonetheless, there’s no rationalization.

That’s the story of Rina Inexperienced who has fibromyalgia, a mysterious situation that impacts roughly 4 % of the inhabitants, principally ladies. Its signs are different. Most individuals expertise power debilitating ache, fatigue, sleep disruptions, and mind fog. Over time, almost half develop melancholy. The ache could be so extreme that, like Inexperienced, they will now not stroll or participate in each day actions.

In contrast to a paper minimize or scraped knee, fibromyalgia isn’t linked to apparent injury to tissues or organs. The situation was as soon as believed to be simply in sufferers’ heads. Newer research, nevertheless, have discovered indicators of dysfunctional nerve connections and irritation all through the nervous system in folks with the illness. Their immune methods are out of whack, and so are their intestine microbiomes—the collections of micro organism dwelling in our digestive methods.

A brand new research in Neuron now means that the intestine microbiome could also be key to treating the illness. In a small scientific trial, 14 ladies with extreme fibromyalgia took tablets containing wholesome, dwelling intestine micro organism from donors. Inside a month, almost all reported decreased ache. Inexperienced, now 38 years outdated, was in a position to go away her wheelchair and take brief walks.

The outcomes are the most recent to focus on a connection between intestine micro organism and the mind. Tinkering with this connection—by way of probiotics, for instance—could provide a technique to sort out power ache with out straight accessing the mind utilizing opioids or different painkillers.

A Microbe Universe

We’re extra microbe than human. A current estimate suggests we supply 3 times extra bacterial cells than human ones. They’re not simply alongside for the experience. Over the previous decade, scientists have linked numerous well being outcomes to the combination of microbes within the intestine.

Some are tied to the mind. Referred to as the gut-brain axis, scientists have proven that intestine bugs can affect nervousness, melancholy, and reminiscence relying on which chemical compounds they launch. These may diffuse into the blood or zap nerves and ship alerts to the mind.

Older research discovered folks with melancholy or different mind problems have altered intestine microbiomes. As a result of microbes stay synergistically with us, they pump out totally different chemical compounds—a few of which influence the mind, relying on their kind and abundance. Some researchers are searching down these chemical compounds as they relate to psychological well being or antibiotic-resistant intestine issues. Others are taking an easier strategy: Changing “harmful” micro organism with useful bugs from wholesome donors by way of a process referred to as fecal microbiota transplant.

The technique has been used to deal with irritable bowel syndrome, antibiotic-resistant infections, and ache associated to chemotherapy. Extra trials are testing if it could actually enhance most cancers immunotherapies.

In 2019, research writer Amir Minerbi, director of the Ache Drugs Institute on the Rambam Well being Campus in Israel, and colleagues discovered that the intestine microbiome shifted in ladies with fibromyalgia. Evaluating the microbiomes of 77 ladies with the situation to 79 with out, they used AI to focus on signatures associated to the dysfunction.

This led the workforce to surprise: Do altered microbiomes set off power ache?

Mediator of Ache

Within the new research, the workforce first transplanted intestine micro organism from ladies with or with out fibromyalgia into mice. The animals had their microbiomes worn out, permitting the brand new arrivals to settle.

In only a month, these receiving microbes from donors with fibromyalgia started experiencing related signs. They had been extra delicate to ache from strain, chilly, and warmth. The mice additionally appeared to really feel ache with out stimulation. However their well being was principally intact in any other case.

The image modified at 4 months. The animals started displaying indicators of melancholy much like their donors. Their nerve alerts additionally modified over time, pumping out extreme neuroactive chemical compounds that amp up knowledge transmission—which might contribute to elevated sensitivity to ache—and their immune methods shifted in direction of a extra inflammatory response.

These signs had been treatable with a two-step program. First, the workforce dosed the mice with antibiotics to wipe out “dangerous” intestine bugs. Subsequent, they transplanted microbes from wholesome donors into their guts. The handled mice had been perkier, with almost regular sensitivity to ache.

Inspired by the outcomes, the workforce recruited 14 roughly middle-aged ladies with extreme fibromyalgia. Regardless of taking no less than two painkillers and present process way of life tutoring, all members nonetheless struggled with excruciating ache and each day fatigue.

After purging intestine micro organism with antibiotics, every participant obtained 5 microbiome transplants from wholesome donors, as soon as each two weeks, within the type of a tablet.

The brand new bugs took maintain inside their guts roughly a month after the primary therapy. One week after the final therapy, 12 folks reported much less ache related to chilly or warmth. They felt much less anxious or depressed, and most had been lastly in a position to get a very good evening’s sleep.

“These findings are actually spectacular,” Andreas Goebel on the College of Liverpool, who was not concerned within the work, informed Nature.

Subsequent Steps

Although promising, the research has its limits.

For one, it’s open-labeled, which means each researchers and sufferers knew they had been getting the therapy. Which means placebo results may very well be a consider why they felt much less ache. The research additionally solely included ladies and feminine mice. The explanation for this, defined the workforce, is that fibromyalgia predominately impacts ladies. However the outcomes pave the way in which for the strategy to be studied in a bigger, extra various group of individuals.

The workforce is planning a randomized managed scientific trial—the gold customary—in roughly 80 folks. They’re additionally hoping to pin down particular bacterial species and environmental components concerned in ache, resembling stress, infections, and different illnesses. They usually’re investigating a number of molecules and signaling patterns found within the research that differ in folks with fibromyalgia.

For now, we will say “altered intestine microbiota has a job in fibromyalgia ache, highlighting it as a promising goal for therapeutic interventions,” wrote the workforce.

Mind-computer interface permits paralyzed customers to customise their sense of contact – NanoApps Medical – Official web site


College of Pittsburgh Faculty of Drugs scientists are one step nearer to creating a brain-computer interface, or BCI, that permits individuals with tetraplegia to revive their misplaced sense of contact.

Whereas exploring a digitally represented object by means of their artificially created sense of contact, customers described the nice and cozy fur of a purring cat, the sleek inflexible floor of a door key and the cool roundness of an apple. This analysis, a collaboration between Pitt and the College of Chicago, is printed in Nature Communications.

In distinction to earlier experiments the place synthetic contact usually felt like vague buzzing or tingling and didn’t fluctuate from object to object, scientists gave BCI customers management over the main points of {the electrical} stimulation that creates tactile sensations, quite than making these choices themselves. This key innovation allowed contributors to recreate a way of contact that felt intuitive to them.

“Contact is a vital a part of nonverbal social communication; it’s a sensation that’s private and that carries a variety of which means,” stated lead writer Ceci Verbaarschot, Ph.D., assistant professor of neurological surgical procedure and  on the College of Texas-Southwestern and a former postdoctoral fellow at Pitt Rehab Neural Engineering Labs.

“Designing their very own sensations permits BCI customers to make interactions with objects really feel extra real looking and significant, which will get us nearer to making a neuroprosthetic that feels nice and intuitive to make use of.”

 is a system that converts  into alerts that might substitute, restore or enhance physique capabilities which might be sometimes managed by the mind, comparable to muscle motion. A BCI will also be used to restore broken suggestions from the physique and restore misplaced sensations by straight stimulating the mind.

Over the past decade of analysis, Pitt scientists helped a paralyzed man to expertise the feeling of contact by means of a mind-controlled robotic arm and confirmed that this synthetic sense of contact made transferring the  extra environment friendly.

Nonetheless, these tactile sensations have been imperfect and stayed comparable between objects that had completely different texture or temperature: shaking somebody’s hand felt the identical as lifting a stable, laborious rock.

Now, researchers are nearer to their aim of making an intuitive sense of contact.

Within the new examine, BCI customers have been capable of design distinct tactile experiences for various objects displayed on a pc display screen, and will guess the thing simply by sensation alone, although imperfectly.

Looking for the right contact resembled a recreation of “cold and hot” in a darkish room of infinite . Scientists requested examine contributors, all of whom misplaced sensation of their fingers due to a spinal twine harm, to discover a mixture of stimulation parameters that felt like petting a cat or touching an apple, key, towel or toast—whereas exploring an object offered to them digitally.

All three examine contributors described objects in wealthy and vivid phrases that made logical sense however have been additionally distinctive and subjective: to 1 participant, a cat felt heat and “tappy;” to a different—easy and silky.

When the picture was taken away and contributors needed to depend on stimulation alone, they have been capable of accurately establish one among 5 objects 35% of the time: higher than probability however removed from good.

“We designed this examine to shoot for the moon and made it into orbit,” stated senior writer of the examine Robert Gaunt, Ph.D., affiliate professor of bodily medication and rehabilitation at Pitt.

“Members had a very laborious process of distinguishing between objects by tactile sensation alone they usually have been fairly profitable at it. Even after they made errors, these errors have been predictable: it’s more durable to inform aside a cat and a towel since each are smooth, however they have been much less prone to confuse a cat for a key.”

The examine represents an essential step towards invoking correct sensation of contact on an individual’s paralyzed hand and creating a man-made limb that seamlessly integrates into an individual’s distinctive sensory world.

Extra info: Conveying tactile object traits by means of custom-made intracortical microstimulation of the human somatosensory cortex, Nature Communications (2025). DOI: 10.1038/s41467-025-58616-6